@docx-editor.dev/core 2.1.0 → 2.1.1
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/{chunk-CZFUMACF.cjs → chunk-F2VQQW5R.cjs} +3 -3
- package/dist/{chunk-WOGYVM3W.js → chunk-RKNH4ZFT.js} +3 -3
- package/dist/editor.cjs +1 -1
- package/dist/editor.d.cts +2 -2
- package/dist/editor.d.ts +2 -2
- package/dist/editor.js +1 -1
- package/dist/{index-BjZelfWL.d.cts → index-DQhDm4o0.d.cts} +6 -2
- package/dist/{index-DP1yJJ3R.d.ts → index-DTbKoFJL.d.ts} +6 -2
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +2 -2
package/dist/editor.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var chunkCZFUMACF_cjs=require('./chunk-CZFUMACF.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');var chunkBZK64YU3_cjs=require('./chunk-BZK64YU3.cjs');require('./chunk-HBL3NNH5.cjs');var chunk7VQ7YLW3_cjs=require('./chunk-7VQ7YLW3.cjs');Object.defineProperty(exports,"BROWSER_AUTOMATION_CAPABILITIES",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.Da}});Object.defineProperty(exports,"CHROME_GROUPS",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.sa}});Object.defineProperty(exports,"CHROME_MENUS",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.wa}});Object.defineProperty(exports,"CHROME_UNAVAILABLE_KEY",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.za}});Object.defineProperty(exports,"DEFAULT_TABLE_CHROME_DRAFT",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.W}});Object.defineProperty(exports,"EMU_PER_POINT",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.O}});Object.defineProperty(exports,"IMAGE_OVERLAY_NUDGE_PT",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.M}});Object.defineProperty(exports,"IMAGE_OVERLAY_NUDGE_SHIFT_PT",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.N}});Object.defineProperty(exports,"MAX_RESOLVER_FAMILIES",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.d}});Object.defineProperty(exports,"PX_PER_CM",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.k}});Object.defineProperty(exports,"PX_PER_INCH",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.j}});Object.defineProperty(exports,"SNAP_TWIPS_CM",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.q}});Object.defineProperty(exports,"SNAP_TWIPS_INCH",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.p}});Object.defineProperty(exports,"TABLE_BORDER_STYLE_OPTIONS",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.aa}});Object.defineProperty(exports,"TABLE_BORDER_TARGET_OPTIONS",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.$}});Object.defineProperty(exports,"TABLE_BORDER_WIDTH_OPTIONS",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.ba}});Object.defineProperty(exports,"TABLE_CHROME_SLOT_IDS",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.X}});Object.defineProperty(exports,"TWIPS_PER_CM",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.o}});Object.defineProperty(exports,"TWIPS_PER_INCH",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.n}});Object.defineProperty(exports,"WORD_DEFAULT_FONT",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.e}});Object.defineProperty(exports,"applyTableChromePick",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.ca}});Object.defineProperty(exports,"applyThemeShade",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.w}});Object.defineProperty(exports,"applyThemeTint",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.v}});Object.defineProperty(exports,"blankDocumentBytes",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.g}});Object.defineProperty(exports,"canExecuteImageCommand",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.K}});Object.defineProperty(exports,"captureImageMutationPreconditions",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.J}});Object.defineProperty(exports,"chromeControlCount",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.ya}});Object.defineProperty(exports,"chromeMenuSlots",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.xa}});Object.defineProperty(exports,"chromeProbeForSlot",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.ga}});Object.defineProperty(exports,"chromeSlotId",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.ta}});Object.defineProperty(exports,"commandForSlot",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.ha}});Object.defineProperty(exports,"commandForSlotValue",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.ja}});Object.defineProperty(exports,"commandForTableChromeSlotValue",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.ia}});Object.defineProperty(exports,"composeFontConfiguration",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.f}});Object.defineProperty(exports,"computeImageResizeResult",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.Ka}});Object.defineProperty(exports,"computeMovedImagePosition",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.T}});Object.defineProperty(exports,"computeResizedImageExtentEmu",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.S}});Object.defineProperty(exports,"createBrowserAutomationHost",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.Ea}});Object.defineProperty(exports,"createDocxEditor",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.Ca}});Object.defineProperty(exports,"createFontSource",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.i}});Object.defineProperty(exports,"createImageOverlayScrollPort",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.La}});Object.defineProperty(exports,"createLayoutShaping",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.b}});Object.defineProperty(exports,"cropPercentFromCropPermille",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.G}});Object.defineProperty(exports,"cropPercentFromPermille",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.E}});Object.defineProperty(exports,"cropPercentFromSourceCrop",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.B}});Object.defineProperty(exports,"cropPermilleFromCropPercent",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.F}});Object.defineProperty(exports,"cropPermilleFromPercent",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.D}});Object.defineProperty(exports,"cssPixelsToLayoutPoints",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.Ha}});Object.defineProperty(exports,"defaultChromeGroups",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.ua}});Object.defineProperty(exports,"defaultTableLabel",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.Y}});Object.defineProperty(exports,"disposeLayoutShaping",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.c}});Object.defineProperty(exports,"dragIndent",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.t}});Object.defineProperty(exports,"emuToOverlayPoints",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.R}});Object.defineProperty(exports,"executeImageCommand",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.L}});Object.defineProperty(exports,"finalizeImageOverlayInteraction",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.Ma}});Object.defineProperty(exports,"formattingBarChromeGroups",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.va}});Object.defineProperty(exports,"generateRulerTicks",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.l}});Object.defineProperty(exports,"handlePosition",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.r}});Object.defineProperty(exports,"isStaleImageInteractionCommit",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.U}});Object.defineProperty(exports,"isTableChromeSlot",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.Z}});Object.defineProperty(exports,"layoutPointsToCssPixels",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.Ga}});Object.defineProperty(exports,"loadFonts",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.h}});Object.defineProperty(exports,"lowerColorValueForBorder",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.y}});Object.defineProperty(exports,"lowerColorValueForFill",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.z}});Object.defineProperty(exports,"mountPaginatedSurface",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.Ba}});Object.defineProperty(exports,"overlayFrameToSheetCssPixels",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.Ia}});Object.defineProperty(exports,"pointsToEmu",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.Q}});Object.defineProperty(exports,"probeTableChromeCommand",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.da}});Object.defineProperty(exports,"resizePreservesAspect",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.Ja}});Object.defineProperty(exports,"resolveColorValueToCss",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.A}});Object.defineProperty(exports,"resolveThemeColorHex",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.x}});Object.defineProperty(exports,"rulerPageBox",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.m}});Object.defineProperty(exports,"runSave",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.pa}});Object.defineProperty(exports,"runTableChromeCommand",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.na}});Object.defineProperty(exports,"runTableCommand",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.ra}});Object.defineProperty(exports,"runToolbarCommand",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.oa}});Object.defineProperty(exports,"selectedDrawingOverlayTargetOf",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.P}});Object.defineProperty(exports,"selectedImageStateOf",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.I}});Object.defineProperty(exports,"snapTwips",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.s}});Object.defineProperty(exports,"sourceCropFromCropPercent",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.C}});Object.defineProperty(exports,"surfaceExtent",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.Aa}});Object.defineProperty(exports,"surfacePaintScale",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.Fa}});Object.defineProperty(exports,"tableChromeIconPaths",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.fa}});Object.defineProperty(exports,"tableChromeLabelKeyForTarget",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.ea}});Object.defineProperty(exports,"tableChromeToolbarState",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.ka}});Object.defineProperty(exports,"tableChromeVisible",{enumerable:true,get:function(){return chunkCZFUMACF_cjs._}});Object.defineProperty(exports,"tableCommandState",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.V}});Object.defineProperty(exports,"tableCommandToolbarState",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.qa}});Object.defineProperty(exports,"toEditorFontError",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.a}});Object.defineProperty(exports,"toolbarCommandState",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.la}});Object.defineProperty(exports,"toolbarCommandStates",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.ma}});Object.defineProperty(exports,"validateImageCropPercent",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.H}});Object.defineProperty(exports,"validateThemeModifier",{enumerable:true,get:function(){return chunkCZFUMACF_cjs.u}});Object.defineProperty(exports,"DEFAULT_IMAGE_RESOURCE_LIMITS",{enumerable:true,get:function(){return chunkBZK64YU3_cjs.D}});Object.defineProperty(exports,"DRAWING_REL_FROM_H",{enumerable:true,get:function(){return chunkBZK64YU3_cjs.lf}});Object.defineProperty(exports,"DRAWING_REL_FROM_V",{enumerable:true,get:function(){return chunkBZK64YU3_cjs.mf}});Object.defineProperty(exports,"IMAGE_WRAP_TARGETS",{enumerable:true,get:function(){return chunkBZK64YU3_cjs.Wa}});Object.defineProperty(exports,"positionInputFromPropertiesCommand",{enumerable:true,get:function(){return chunkBZK64YU3_cjs.of}});Object.defineProperty(exports,"propertiesCommandHasPositionFields",{enumerable:true,get:function(){return chunkBZK64YU3_cjs.nf}});Object.defineProperty(exports,"resolveImageResourceLimits",{enumerable:true,get:function(){return chunkBZK64YU3_cjs.E}});Object.defineProperty(exports,"resolveSvgIntrinsicSize",{enumerable:true,get:function(){return chunkBZK64YU3_cjs.mb}});Object.defineProperty(exports,"sniffImageMime",{enumerable:true,get:function(){return chunkBZK64YU3_cjs.ib}});Object.defineProperty(exports,"validateDrawingPositionInput",{enumerable:true,get:function(){return chunkBZK64YU3_cjs.kf}});Object.defineProperty(exports,"validateRasterHeader",{enumerable:true,get:function(){return chunkBZK64YU3_cjs.nb}});Object.defineProperty(exports,"validateSetImagePositionCommand",{enumerable:true,get:function(){return chunkBZK64YU3_cjs.pf}});Object.defineProperty(exports,"resolveEditorModules",{enumerable:true,get:function(){return chunk7VQ7YLW3_cjs.a}});
|
|
1
|
+
'use strict';var chunkF2VQQW5R_cjs=require('./chunk-F2VQQW5R.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');var chunkBZK64YU3_cjs=require('./chunk-BZK64YU3.cjs');require('./chunk-HBL3NNH5.cjs');var chunk7VQ7YLW3_cjs=require('./chunk-7VQ7YLW3.cjs');Object.defineProperty(exports,"BROWSER_AUTOMATION_CAPABILITIES",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.Da}});Object.defineProperty(exports,"CHROME_GROUPS",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.sa}});Object.defineProperty(exports,"CHROME_MENUS",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.wa}});Object.defineProperty(exports,"CHROME_UNAVAILABLE_KEY",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.za}});Object.defineProperty(exports,"DEFAULT_TABLE_CHROME_DRAFT",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.W}});Object.defineProperty(exports,"EMU_PER_POINT",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.O}});Object.defineProperty(exports,"IMAGE_OVERLAY_NUDGE_PT",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.M}});Object.defineProperty(exports,"IMAGE_OVERLAY_NUDGE_SHIFT_PT",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.N}});Object.defineProperty(exports,"MAX_RESOLVER_FAMILIES",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.d}});Object.defineProperty(exports,"PX_PER_CM",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.k}});Object.defineProperty(exports,"PX_PER_INCH",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.j}});Object.defineProperty(exports,"SNAP_TWIPS_CM",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.q}});Object.defineProperty(exports,"SNAP_TWIPS_INCH",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.p}});Object.defineProperty(exports,"TABLE_BORDER_STYLE_OPTIONS",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.aa}});Object.defineProperty(exports,"TABLE_BORDER_TARGET_OPTIONS",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.$}});Object.defineProperty(exports,"TABLE_BORDER_WIDTH_OPTIONS",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.ba}});Object.defineProperty(exports,"TABLE_CHROME_SLOT_IDS",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.X}});Object.defineProperty(exports,"TWIPS_PER_CM",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.o}});Object.defineProperty(exports,"TWIPS_PER_INCH",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.n}});Object.defineProperty(exports,"WORD_DEFAULT_FONT",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.e}});Object.defineProperty(exports,"applyTableChromePick",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.ca}});Object.defineProperty(exports,"applyThemeShade",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.w}});Object.defineProperty(exports,"applyThemeTint",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.v}});Object.defineProperty(exports,"blankDocumentBytes",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.g}});Object.defineProperty(exports,"canExecuteImageCommand",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.K}});Object.defineProperty(exports,"captureImageMutationPreconditions",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.J}});Object.defineProperty(exports,"chromeControlCount",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.ya}});Object.defineProperty(exports,"chromeMenuSlots",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.xa}});Object.defineProperty(exports,"chromeProbeForSlot",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.ga}});Object.defineProperty(exports,"chromeSlotId",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.ta}});Object.defineProperty(exports,"commandForSlot",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.ha}});Object.defineProperty(exports,"commandForSlotValue",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.ja}});Object.defineProperty(exports,"commandForTableChromeSlotValue",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.ia}});Object.defineProperty(exports,"composeFontConfiguration",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.f}});Object.defineProperty(exports,"computeImageResizeResult",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.Ka}});Object.defineProperty(exports,"computeMovedImagePosition",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.T}});Object.defineProperty(exports,"computeResizedImageExtentEmu",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.S}});Object.defineProperty(exports,"createBrowserAutomationHost",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.Ea}});Object.defineProperty(exports,"createDocxEditor",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.Ca}});Object.defineProperty(exports,"createFontSource",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.i}});Object.defineProperty(exports,"createImageOverlayScrollPort",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.La}});Object.defineProperty(exports,"createLayoutShaping",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.b}});Object.defineProperty(exports,"cropPercentFromCropPermille",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.G}});Object.defineProperty(exports,"cropPercentFromPermille",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.E}});Object.defineProperty(exports,"cropPercentFromSourceCrop",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.B}});Object.defineProperty(exports,"cropPermilleFromCropPercent",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.F}});Object.defineProperty(exports,"cropPermilleFromPercent",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.D}});Object.defineProperty(exports,"cssPixelsToLayoutPoints",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.Ha}});Object.defineProperty(exports,"defaultChromeGroups",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.ua}});Object.defineProperty(exports,"defaultTableLabel",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.Y}});Object.defineProperty(exports,"disposeLayoutShaping",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.c}});Object.defineProperty(exports,"dragIndent",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.t}});Object.defineProperty(exports,"emuToOverlayPoints",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.R}});Object.defineProperty(exports,"executeImageCommand",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.L}});Object.defineProperty(exports,"finalizeImageOverlayInteraction",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.Ma}});Object.defineProperty(exports,"formattingBarChromeGroups",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.va}});Object.defineProperty(exports,"generateRulerTicks",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.l}});Object.defineProperty(exports,"handlePosition",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.r}});Object.defineProperty(exports,"isStaleImageInteractionCommit",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.U}});Object.defineProperty(exports,"isTableChromeSlot",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.Z}});Object.defineProperty(exports,"layoutPointsToCssPixels",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.Ga}});Object.defineProperty(exports,"loadFonts",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.h}});Object.defineProperty(exports,"lowerColorValueForBorder",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.y}});Object.defineProperty(exports,"lowerColorValueForFill",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.z}});Object.defineProperty(exports,"mountPaginatedSurface",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.Ba}});Object.defineProperty(exports,"overlayFrameToSheetCssPixels",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.Ia}});Object.defineProperty(exports,"pointsToEmu",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.Q}});Object.defineProperty(exports,"probeTableChromeCommand",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.da}});Object.defineProperty(exports,"resizePreservesAspect",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.Ja}});Object.defineProperty(exports,"resolveColorValueToCss",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.A}});Object.defineProperty(exports,"resolveThemeColorHex",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.x}});Object.defineProperty(exports,"rulerPageBox",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.m}});Object.defineProperty(exports,"runSave",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.pa}});Object.defineProperty(exports,"runTableChromeCommand",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.na}});Object.defineProperty(exports,"runTableCommand",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.ra}});Object.defineProperty(exports,"runToolbarCommand",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.oa}});Object.defineProperty(exports,"selectedDrawingOverlayTargetOf",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.P}});Object.defineProperty(exports,"selectedImageStateOf",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.I}});Object.defineProperty(exports,"snapTwips",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.s}});Object.defineProperty(exports,"sourceCropFromCropPercent",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.C}});Object.defineProperty(exports,"surfaceExtent",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.Aa}});Object.defineProperty(exports,"surfacePaintScale",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.Fa}});Object.defineProperty(exports,"tableChromeIconPaths",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.fa}});Object.defineProperty(exports,"tableChromeLabelKeyForTarget",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.ea}});Object.defineProperty(exports,"tableChromeToolbarState",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.ka}});Object.defineProperty(exports,"tableChromeVisible",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs._}});Object.defineProperty(exports,"tableCommandState",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.V}});Object.defineProperty(exports,"tableCommandToolbarState",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.qa}});Object.defineProperty(exports,"toEditorFontError",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.a}});Object.defineProperty(exports,"toolbarCommandState",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.la}});Object.defineProperty(exports,"toolbarCommandStates",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.ma}});Object.defineProperty(exports,"validateImageCropPercent",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.H}});Object.defineProperty(exports,"validateThemeModifier",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.u}});Object.defineProperty(exports,"DEFAULT_IMAGE_RESOURCE_LIMITS",{enumerable:true,get:function(){return chunkBZK64YU3_cjs.D}});Object.defineProperty(exports,"DRAWING_REL_FROM_H",{enumerable:true,get:function(){return chunkBZK64YU3_cjs.lf}});Object.defineProperty(exports,"DRAWING_REL_FROM_V",{enumerable:true,get:function(){return chunkBZK64YU3_cjs.mf}});Object.defineProperty(exports,"IMAGE_WRAP_TARGETS",{enumerable:true,get:function(){return chunkBZK64YU3_cjs.Wa}});Object.defineProperty(exports,"positionInputFromPropertiesCommand",{enumerable:true,get:function(){return chunkBZK64YU3_cjs.of}});Object.defineProperty(exports,"propertiesCommandHasPositionFields",{enumerable:true,get:function(){return chunkBZK64YU3_cjs.nf}});Object.defineProperty(exports,"resolveImageResourceLimits",{enumerable:true,get:function(){return chunkBZK64YU3_cjs.E}});Object.defineProperty(exports,"resolveSvgIntrinsicSize",{enumerable:true,get:function(){return chunkBZK64YU3_cjs.mb}});Object.defineProperty(exports,"sniffImageMime",{enumerable:true,get:function(){return chunkBZK64YU3_cjs.ib}});Object.defineProperty(exports,"validateDrawingPositionInput",{enumerable:true,get:function(){return chunkBZK64YU3_cjs.kf}});Object.defineProperty(exports,"validateRasterHeader",{enumerable:true,get:function(){return chunkBZK64YU3_cjs.nb}});Object.defineProperty(exports,"validateSetImagePositionCommand",{enumerable:true,get:function(){return chunkBZK64YU3_cjs.pf}});Object.defineProperty(exports,"resolveEditorModules",{enumerable:true,get:function(){return chunk7VQ7YLW3_cjs.a}});
|
package/dist/editor.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { F as FontConfiguration, E as EditorFontError, a as EditorCommand, C as CanResult } from './editor-B93PggnR.cjs';
|
|
2
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-B93PggnR.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-DQhDm4o0.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-DQhDm4o0.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';
|
package/dist/editor.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { F as FontConfiguration, E as EditorFontError, a as EditorCommand, C as CanResult } from './editor-CFsSrxGR.js';
|
|
2
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-CFsSrxGR.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-DTbKoFJL.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-DTbKoFJL.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';
|
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-RKNH4ZFT.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';
|
|
@@ -1698,9 +1698,13 @@ interface PaginatedSurfacePerf {
|
|
|
1698
1698
|
interface RevealOptions {
|
|
1699
1699
|
/**
|
|
1700
1700
|
* `'start'` puts the target near the top (a heading the user jumped to), `'center'`
|
|
1701
|
-
* centres it, `'nearest'` scrolls only when it is out of view
|
|
1701
|
+
* centres it, `'nearest'` scrolls only when it is out of view — and only far enough to
|
|
1702
|
+
* clear the edge, which parks the target flush against it. `'centerIfNeeded'` is the one
|
|
1703
|
+
* a jump-to-next-thing control wants: silent while the target is already on screen, and
|
|
1704
|
+
* centred when it has to move, so the reader lands looking AT the thing rather than at
|
|
1705
|
+
* the bottom line of the window. Default `'start'`.
|
|
1702
1706
|
*/
|
|
1703
|
-
readonly block?: 'start' | 'center' | 'nearest';
|
|
1707
|
+
readonly block?: 'start' | 'center' | 'centerIfNeeded' | 'nearest';
|
|
1704
1708
|
/** Padding above the target, in CSS pixels. Default 24. */
|
|
1705
1709
|
readonly offsetPx?: number;
|
|
1706
1710
|
readonly behavior?: ScrollBehavior;
|
|
@@ -1698,9 +1698,13 @@ interface PaginatedSurfacePerf {
|
|
|
1698
1698
|
interface RevealOptions {
|
|
1699
1699
|
/**
|
|
1700
1700
|
* `'start'` puts the target near the top (a heading the user jumped to), `'center'`
|
|
1701
|
-
* centres it, `'nearest'` scrolls only when it is out of view
|
|
1701
|
+
* centres it, `'nearest'` scrolls only when it is out of view — and only far enough to
|
|
1702
|
+
* clear the edge, which parks the target flush against it. `'centerIfNeeded'` is the one
|
|
1703
|
+
* a jump-to-next-thing control wants: silent while the target is already on screen, and
|
|
1704
|
+
* centred when it has to move, so the reader lands looking AT the thing rather than at
|
|
1705
|
+
* the bottom line of the window. Default `'start'`.
|
|
1702
1706
|
*/
|
|
1703
|
-
readonly block?: 'start' | 'center' | 'nearest';
|
|
1707
|
+
readonly block?: 'start' | 'center' | 'centerIfNeeded' | 'nearest';
|
|
1704
1708
|
/** Padding above the target, in CSS pixels. Default 24. */
|
|
1705
1709
|
readonly offsetPx?: number;
|
|
1706
1710
|
readonly behavior?: ScrollBehavior;
|
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkF2VQQW5R_cjs=require('./chunk-F2VQQW5R.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 chunkF2VQQW5R_cjs.sa}});Object.defineProperty(exports,"CHROME_MENUS",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.wa}});Object.defineProperty(exports,"WORD_DEFAULT_FONT",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.e}});Object.defineProperty(exports,"blankDocumentBytes",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.g}});Object.defineProperty(exports,"chromeMenuSlots",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.xa}});Object.defineProperty(exports,"commandForSlot",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.ha}});Object.defineProperty(exports,"commandForSlotValue",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.ja}});Object.defineProperty(exports,"composeFontConfiguration",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.f}});Object.defineProperty(exports,"createDocxEditor",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.Ca}});Object.defineProperty(exports,"createFontSource",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.i}});Object.defineProperty(exports,"loadFonts",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.h}});Object.defineProperty(exports,"runToolbarCommand",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.oa}});Object.defineProperty(exports,"toolbarCommandState",{enumerable:true,get:function(){return chunkF2VQQW5R_cjs.la}});
|
package/dist/index.d.cts
CHANGED
|
@@ -4,7 +4,7 @@ export { I as ImageResourceState, P as PreservedImageMime, R as RenderableImageM
|
|
|
4
4
|
export { R as RevisionDisplayMode } from './revision-projection-72ZApe-g.cjs';
|
|
5
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-D64Wu236.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-DQhDm4o0.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';
|
package/dist/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ export { I as ImageResourceState, P as PreservedImageMime, R as RenderableImageM
|
|
|
4
4
|
export { R as RevisionDisplayMode } from './revision-projection-DHAkcD_L.js';
|
|
5
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-nsLXC9jf.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-DTbKoFJL.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';
|
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-RKNH4ZFT.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@docx-editor.dev/core",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.1",
|
|
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.1",
|
|
89
89
|
"bidi-js": "1.0.3",
|
|
90
90
|
"emf-converter": "2.0.2",
|
|
91
91
|
"fast-xml-parser": "^5.10.1",
|