@zeke-02/docx-editor 0.0.34 → 0.5.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/README.md +34 -29
- package/dist/{ClipboardManager-C1l58nzE.d.ts → ClipboardManager-CVKX0v9q.d.ts} +1 -1
- package/dist/{ClipboardManager-Cjb_v74d.d.mts → ClipboardManager-V3aaMnWE.d.mts} +1 -1
- package/dist/{DocumentAgent-E8OX_8j0.d.mts → DocumentAgent-BWflKHpH.d.mts} +1 -1
- package/dist/{DocumentAgent-iedmc_8s.d.ts → DocumentAgent-DsdXtetF.d.ts} +1 -1
- package/dist/{FindReplaceDialog-YW3R4FHM.mjs → FindReplaceDialog-L3YF5HIS.mjs} +1 -1
- package/dist/FindReplaceDialog-SEBWC5P7.js +1 -0
- package/dist/{FootnotePropertiesDialog-LNFJXQUG.mjs → FootnotePropertiesDialog-TNVJJCY6.mjs} +1 -1
- package/dist/{FootnotePropertiesDialog-7QX54WQT.js → FootnotePropertiesDialog-XQ7NIFIU.js} +1 -1
- package/dist/{HyperlinkDialog-HNYTXDCB.mjs → HyperlinkDialog-FR4IZZ7E.mjs} +1 -1
- package/dist/HyperlinkDialog-WEK6JSAC.js +1 -0
- package/dist/{ImagePositionDialog-M65BYQQE.js → ImagePositionDialog-2YXRAGZS.js} +1 -1
- package/dist/{ImagePositionDialog-B4RLP2W5.mjs → ImagePositionDialog-JSZSIKF5.mjs} +1 -1
- package/dist/ImagePropertiesDialog-527MFLQO.mjs +1 -0
- package/dist/{ImagePropertiesDialog-O4WQSF5M.js → ImagePropertiesDialog-HG4K3IE7.js} +1 -1
- package/dist/PageSetupDialog-GALVJMUB.js +1 -0
- package/dist/PageSetupDialog-TGQIAMI7.mjs +1 -0
- package/dist/SplitCellDialog-JIAC3RYV.js +1 -0
- package/dist/SplitCellDialog-NP3JJYHD.mjs +1 -0
- package/dist/{TablePropertiesDialog-WOZ4ES3H.js → TablePropertiesDialog-T7D4HSVP.js} +1 -1
- package/dist/TablePropertiesDialog-TIK4AA5M.mjs +1 -0
- package/dist/{clipboard-BWhM0CRj.d.mts → TableToolbar-DUgmob2I.d.ts} +227 -135
- package/dist/{clipboard-BvkuNZub.d.ts → TableToolbar-YL74HNS1.d.mts} +227 -135
- package/dist/{agentApi-mv532p8I.d.mts → agentApi-DLt94vXk.d.mts} +83 -5
- package/dist/{agentApi-mv532p8I.d.ts → agentApi-DLt94vXk.d.ts} +83 -5
- package/dist/chunk-23SXXIZS.js +111 -0
- package/dist/chunk-3F52AP2Q.js +1 -0
- package/dist/chunk-42O5GXM5.mjs +82 -0
- package/dist/chunk-54ULJEHM.mjs +1 -0
- package/dist/chunk-5XK326FI.mjs +1 -0
- package/dist/chunk-76IYR7C7.mjs +1 -0
- package/dist/chunk-7BG7QY7I.js +182 -0
- package/dist/chunk-AGRIVA4G.js +1 -0
- package/dist/chunk-BTCQ2QI3.mjs +3 -0
- package/dist/chunk-BXRC4U3X.mjs +2 -0
- package/dist/chunk-CPAYKE6X.mjs +1 -0
- package/dist/chunk-DACWLFKI.mjs +1 -0
- package/dist/{chunk-377ZVTSE.js → chunk-EHFEG3TX.js} +1 -1
- package/dist/chunk-EPBFWE36.js +2 -0
- package/dist/chunk-FXES3YDB.js +82 -0
- package/dist/chunk-HI66BSGS.mjs +9 -0
- package/dist/chunk-INTPVEO6.mjs +9 -0
- package/dist/chunk-IOAGVW6Q.mjs +2 -0
- package/dist/chunk-JCEWC5QL.mjs +4 -0
- package/dist/chunk-JTIUFACT.js +1 -0
- package/dist/chunk-KUTCCI4X.mjs +182 -0
- package/dist/{chunk-KCOGY3V2.js → chunk-LUF7PWIC.js} +4 -4
- package/dist/chunk-LVGJKS7Y.mjs +24 -0
- package/dist/chunk-MGEN6GOE.mjs +2 -0
- package/dist/chunk-MOE2ZGUE.js +18 -0
- package/dist/chunk-MWLHJWB6.js +9 -0
- package/dist/chunk-OFYVDN3U.mjs +2 -0
- package/dist/chunk-P4VSHBGZ.js +2 -0
- package/dist/chunk-P5FQHIES.mjs +1 -0
- package/dist/chunk-PBC7XAYZ.js +3 -0
- package/dist/chunk-PEMB6SZT.js +2 -0
- package/dist/chunk-PKEOQIQO.mjs +2 -0
- package/dist/chunk-PQMSZTBB.js +9 -0
- package/dist/chunk-Q7UDQXAF.js +1 -0
- package/dist/chunk-QGTAIC5E.js +1 -0
- package/dist/chunk-R3QMYPL5.mjs +59 -0
- package/dist/chunk-RBUTXXQJ.mjs +18 -0
- package/dist/chunk-RRWYZ2TS.mjs +111 -0
- package/dist/{chunk-AU5NVRHP.js → chunk-SFUM35DH.js} +2 -2
- package/dist/chunk-SNLC6EK2.js +1 -0
- package/dist/chunk-TMTLIGLZ.js +59 -0
- package/dist/{chunk-RTFUE3KK.mjs → chunk-TSE2PWFX.mjs} +3 -3
- package/dist/chunk-UWYD42WV.js +4 -0
- package/dist/chunk-UXVACQCY.mjs +1 -0
- package/dist/{chunk-Z26WOH6R.mjs → chunk-W4EIKDM6.mjs} +2 -2
- package/dist/chunk-WNS2RBQD.js +2 -0
- package/dist/chunk-YC5KZSYD.js +24 -0
- package/dist/chunk-Z3KMSHUP.js +1 -0
- package/dist/core-plugins-reexport.d.mts +4 -4
- package/dist/core-plugins-reexport.d.ts +4 -4
- package/dist/core-plugins-reexport.js +1 -1
- package/dist/core-plugins-reexport.mjs +1 -1
- package/dist/core-reexport.d.mts +47 -16
- package/dist/core-reexport.d.ts +47 -16
- package/dist/core-reexport.js +1 -1
- package/dist/core-reexport.mjs +1 -1
- package/dist/{colorResolver-C5fQ4fxP.d.mts → documentSerializer-DtS_-oGA.d.mts} +378 -376
- package/dist/{colorResolver-Bp9flT3l.d.ts → documentSerializer-Wj1p2ASa.d.ts} +378 -376
- package/dist/executor-C3VXF7QA.mjs +1 -0
- package/dist/executor-GDBV3AGV.js +1 -0
- package/dist/headless-reexport.d.mts +14 -12
- package/dist/headless-reexport.d.ts +14 -12
- package/dist/headless-reexport.js +1 -4
- package/dist/headless-reexport.mjs +1 -4
- package/dist/index.css +1 -1
- package/dist/index.d.mts +284 -172
- package/dist/index.d.ts +284 -172
- package/dist/index.js +17 -9
- package/dist/index.mjs +17 -9
- package/dist/{fontLoader-0G00frKD.d.mts → insertOperations-BTH1Asas.d.mts} +86 -86
- package/dist/{fontLoader-DPdt4JvW.d.ts → insertOperations-CbUnXAXH.d.ts} +86 -86
- package/dist/layout-bridge-EA4DJ227.js +1 -0
- package/dist/layout-bridge-XDPSO6GO.mjs +1 -0
- package/dist/mcp-reexport.d.mts +2 -2
- package/dist/mcp-reexport.d.ts +2 -2
- package/dist/mcp-reexport.js +8 -8
- package/dist/mcp-reexport.mjs +7 -7
- package/dist/processTemplate-MJ2PCSO5.js +1 -0
- package/dist/{processTemplate-LRHXOWMZ.mjs → processTemplate-W2C5PXZB.mjs} +1 -1
- package/dist/{react-8budV7xv.d.mts → react-B0W16SV6.d.ts} +401 -166
- package/dist/{react-D6tMLo0R.d.ts → react-D0Pn1nww.d.mts} +401 -166
- package/dist/react.css +1 -1
- package/dist/react.d.mts +5 -5
- package/dist/react.d.ts +5 -5
- package/dist/react.js +1 -1
- package/dist/react.mjs +1 -1
- package/dist/{registry-BWGKcKc1.d.ts → registry-CH9V-IX0.d.ts} +1 -1
- package/dist/{registry-8XOdjHGC.d.mts → registry-CWBKYlNW.d.mts} +1 -1
- package/dist/styles.css +1 -1
- package/dist/{types-DIBvJ7AJ.d.mts → types-UDsUq8D3.d.mts} +1 -1
- package/dist/{types-CfAiObQo.d.ts → types-jbivc9Lj.d.ts} +1 -1
- package/dist/ui.d.mts +33 -83
- package/dist/ui.d.ts +33 -83
- package/dist/ui.js +1 -1
- package/dist/ui.mjs +1 -1
- package/dist/{variableDetector-DNO18eZ1.d.mts → variableDetector-CdQ7ZTzA.d.mts} +1 -1
- package/dist/{variableDetector-BIJFVpkl.d.ts → variableDetector-DsRV3A9z.d.ts} +1 -1
- package/i18n/de.json +49 -2
- package/i18n/en.json +55 -8
- package/i18n/he.json +792 -0
- package/i18n/pl.json +49 -2
- package/i18n/pt-BR.json +792 -0
- package/i18n/tr.json +792 -0
- package/i18n/zh-CN.json +792 -0
- package/package.json +17 -5
- package/dist/FindReplaceDialog-KNJETYJX.js +0 -1
- package/dist/HyperlinkDialog-GBAYMTUE.js +0 -1
- package/dist/ImagePropertiesDialog-JOGW3WDU.mjs +0 -1
- package/dist/PageSetupDialog-2GIBTKMJ.js +0 -1
- package/dist/PageSetupDialog-Q7SHEZIJ.mjs +0 -1
- package/dist/TablePropertiesDialog-LMXWX3FI.mjs +0 -1
- package/dist/chunk-2HDYCD2Q.mjs +0 -1
- package/dist/chunk-37SLIJPH.mjs +0 -58
- package/dist/chunk-3OKYQQQ5.js +0 -111
- package/dist/chunk-4VUZBV2S.js +0 -1
- package/dist/chunk-7MGFEP2R.mjs +0 -26
- package/dist/chunk-7QTNB64A.mjs +0 -9
- package/dist/chunk-AARNCPWR.js +0 -1
- package/dist/chunk-DC65PJYE.js +0 -4
- package/dist/chunk-DLNS7XC2.js +0 -261
- package/dist/chunk-DLVLK5FT.mjs +0 -24
- package/dist/chunk-EV3CM6TU.js +0 -1
- package/dist/chunk-FVUGBRDD.js +0 -1
- package/dist/chunk-FW5LYOOZ.mjs +0 -111
- package/dist/chunk-GZOCOWWB.mjs +0 -2
- package/dist/chunk-KUL2SDYC.js +0 -26
- package/dist/chunk-LYBG4YI7.mjs +0 -1
- package/dist/chunk-M5F4SK3W.mjs +0 -1
- package/dist/chunk-P7WEP4JU.js +0 -9
- package/dist/chunk-PB7VMDDP.js +0 -24
- package/dist/chunk-QAZ4233N.mjs +0 -1
- package/dist/chunk-QSUPYUOP.js +0 -2
- package/dist/chunk-QTSXJRP6.mjs +0 -1
- package/dist/chunk-SE5EN2QL.js +0 -1
- package/dist/chunk-X5A54T6S.mjs +0 -4
- package/dist/chunk-YKBSKEBS.mjs +0 -2
- package/dist/chunk-Z7ZLARCQ.mjs +0 -261
- package/dist/chunk-ZJNGMDRE.js +0 -58
- package/dist/executor-L2MVKMXO.js +0 -1
- package/dist/executor-XKBCCVNY.mjs +0 -1
- package/dist/processTemplate-5ZST2Q5L.js +0 -1
- package/dist/selectionRects-DEX5THEG.js +0 -1
- package/dist/selectionRects-SQTAHMCH.mjs +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';function t(){return Math.floor(Math.random()*4294967296).toString(16).toUpperCase().padStart(8,"0")}exports.a=t;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { C as CorePlugin } from './types-
|
|
2
|
-
export { b as CommandHandler, d as CommandResult, E as ExtractCommand, J as JsonSchema, L as LoadedDocument, e as McpSession, f as McpToolAnnotations, g as McpToolContent, h as McpToolContext, M as McpToolDefinition, n as McpToolExample, i as McpToolHandler, j as McpToolResult, k as PluginCommand, b as PluginCommandHandler, l as PluginEvent, c as PluginEventListener, P as PluginOptions, a as PluginRegistrationResult, M as ToolDefinition, i as ToolHandler, j as ToolResult, T as TypedCommandHandler, Z as ZodSchemaLike, m as isZodSchema } from './types-
|
|
3
|
-
export { P as PluginRegistry, c as createPluginRegistrar, p as pluginRegistry, r as registerPlugins } from './registry-
|
|
4
|
-
import './agentApi-
|
|
1
|
+
import { C as CorePlugin } from './types-UDsUq8D3.mjs';
|
|
2
|
+
export { b as CommandHandler, d as CommandResult, E as ExtractCommand, J as JsonSchema, L as LoadedDocument, e as McpSession, f as McpToolAnnotations, g as McpToolContent, h as McpToolContext, M as McpToolDefinition, n as McpToolExample, i as McpToolHandler, j as McpToolResult, k as PluginCommand, b as PluginCommandHandler, l as PluginEvent, c as PluginEventListener, P as PluginOptions, a as PluginRegistrationResult, M as ToolDefinition, i as ToolHandler, j as ToolResult, T as TypedCommandHandler, Z as ZodSchemaLike, m as isZodSchema } from './types-UDsUq8D3.mjs';
|
|
3
|
+
export { P as PluginRegistry, c as createPluginRegistrar, p as pluginRegistry, r as registerPlugins } from './registry-CWBKYlNW.mjs';
|
|
4
|
+
import './agentApi-DLt94vXk.mjs';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Docxtemplater Plugin
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { C as CorePlugin } from './types-
|
|
2
|
-
export { b as CommandHandler, d as CommandResult, E as ExtractCommand, J as JsonSchema, L as LoadedDocument, e as McpSession, f as McpToolAnnotations, g as McpToolContent, h as McpToolContext, M as McpToolDefinition, n as McpToolExample, i as McpToolHandler, j as McpToolResult, k as PluginCommand, b as PluginCommandHandler, l as PluginEvent, c as PluginEventListener, P as PluginOptions, a as PluginRegistrationResult, M as ToolDefinition, i as ToolHandler, j as ToolResult, T as TypedCommandHandler, Z as ZodSchemaLike, m as isZodSchema } from './types-
|
|
3
|
-
export { P as PluginRegistry, c as createPluginRegistrar, p as pluginRegistry, r as registerPlugins } from './registry-
|
|
4
|
-
import './agentApi-
|
|
1
|
+
import { C as CorePlugin } from './types-jbivc9Lj.js';
|
|
2
|
+
export { b as CommandHandler, d as CommandResult, E as ExtractCommand, J as JsonSchema, L as LoadedDocument, e as McpSession, f as McpToolAnnotations, g as McpToolContent, h as McpToolContext, M as McpToolDefinition, n as McpToolExample, i as McpToolHandler, j as McpToolResult, k as PluginCommand, b as PluginCommandHandler, l as PluginEvent, c as PluginEventListener, P as PluginOptions, a as PluginRegistrationResult, M as ToolDefinition, i as ToolHandler, j as ToolResult, T as TypedCommandHandler, Z as ZodSchemaLike, m as isZodSchema } from './types-jbivc9Lj.js';
|
|
3
|
+
export { P as PluginRegistry, c as createPluginRegistrar, p as pluginRegistry, r as registerPlugins } from './registry-CH9V-IX0.js';
|
|
4
|
+
import './agentApi-DLt94vXk.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Docxtemplater Plugin
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkLUF7PWIC_js=require('./chunk-LUF7PWIC.js');require('./chunk-P4VSHBGZ.js'),require('./chunk-IFPN3NT3.js');var chunkBUEMG4NW_js=require('./chunk-BUEMG4NW.js');require('./chunk-MOE2ZGUE.js'),require('./chunk-MWLHJWB6.js'),require('./chunk-Q7UDQXAF.js'),require('./chunk-YC5KZSYD.js'),require('./chunk-H5NTJZO4.js');Object.defineProperty(exports,"docxtemplaterPlugin",{enumerable:true,get:function(){return chunkLUF7PWIC_js.o}});Object.defineProperty(exports,"isZodSchema",{enumerable:true,get:function(){return chunkLUF7PWIC_js.n}});Object.defineProperty(exports,"PluginRegistry",{enumerable:true,get:function(){return chunkBUEMG4NW_js.a}});Object.defineProperty(exports,"createPluginRegistrar",{enumerable:true,get:function(){return chunkBUEMG4NW_js.d}});Object.defineProperty(exports,"pluginRegistry",{enumerable:true,get:function(){return chunkBUEMG4NW_js.b}});Object.defineProperty(exports,"registerPlugins",{enumerable:true,get:function(){return chunkBUEMG4NW_js.c}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{o as docxtemplaterPlugin,n as isZodSchema}from'./chunk-
|
|
1
|
+
export{o as docxtemplaterPlugin,n as isZodSchema}from'./chunk-TSE2PWFX.mjs';import'./chunk-IOAGVW6Q.mjs';import'./chunk-WOHFANC5.mjs';export{a as PluginRegistry,d as createPluginRegistrar,b as pluginRegistry,c as registerPlugins}from'./chunk-W53SI3XW.mjs';import'./chunk-RBUTXXQJ.mjs';import'./chunk-INTPVEO6.mjs';import'./chunk-54ULJEHM.mjs';import'./chunk-LVGJKS7Y.mjs';import'./chunk-TAUMSKRE.mjs';
|
package/dist/core-reexport.d.mts
CHANGED
|
@@ -1,17 +1,42 @@
|
|
|
1
|
-
import { D as Document } from './agentApi-
|
|
2
|
-
export { f as AIAction, g as AIActionRequest, A as AgentCommand, h as AgentContext, i as AgentResponse, j as ApplyStyleCommand, l as BlockContent, ad as BookmarkEnd, ae as BookmarkStart, p as DeleteTextCommand, d as DocumentBody, r as DocxPackage, E as Endnote, af as Field, ag as FooterReference, F as Footnote, t as FormatTextCommand, ah as HeaderFooter, ai as HeaderReference, H as Hyperlink, I as Image, u as InsertHyperlinkCommand, v as InsertImageCommand, w as InsertTableCommand, x as InsertTextCommand, L as ListLevel, N as NumberingDefinitions, a as Paragraph, J as ParagraphContext, K as ParagraphFormatting, P as Position, R as Range, Q as Relationship, S as ReplaceTextCommand, b as Run, c as RunContent, V as SectionProperties, W as SelectionContext, X as SetVariableCommand, aj as Shape, Y as Style, Z as StyleDefinitions, $ as SuggestedAction, e as Table, a0 as TableCell, a1 as TableRow, ak as TextBox, a2 as TextContent, T as TextFormatting, a3 as Theme, al as ThemeColorScheme, am as ThemeFont, an as ThemeFontScheme } from './agentApi-
|
|
3
|
-
export { A as AgentContextOptions, C as CreateEmptyDocumentOptions, E as ExtendedSelectionContext, P as ProcessTemplateOptions, a as ProcessTemplateResult, b as SelectionContextOptions, a0 as ThemeMatrixCell, c as blendColors, d as buildExtendedSelectionContext, e as buildSelectionContext, g as colorsEqual, h as createDocumentWithText, i as createEmptyDocument, j as createRgbColor, l as createThemeColor, m as darkenColor, n as emuToPixels, o as emuToTwips, a1 as ensureHexPrefix, p as executeCommand, q as executeCommands, r as formatPx, a2 as generateThemeTintShadeMatrix, s as getAgentContext, t as getContrastingColor, u as getDocumentSummary, x as getTemplateTags, a3 as getThemeTintShadeHex, y as halfPointsToPixels, z as isBlack, B as isWhite, D as lightenColor, G as parseColorString, H as parseDocx, I as pixelsToEmu, J as pixelsToTwips, K as pointsToPixels, M as processTemplate, O as processTemplateAsBlob, Q as processTemplateDetailed, R as resolveColor, U as resolveHighlightColor, a4 as resolveHighlightToCss, V as resolveShadingColor, W as serializeDocumentBody, X as serializeDocx, Y as serializeSectionProperties, Z as twipsToEmu, _ as twipsToPixels, $ as validateTemplate } from './
|
|
4
|
-
import { S as Subscribable, E as ErrorManagerSnapshot, P as PluginLifecycleSnapshot, a as PluginLifecycleConfig } from './ClipboardManager-
|
|
5
|
-
export { A as AutoSaveManager, b as AutoSaveManagerOptions, c as AutoSaveSnapshot, d as AutoSaveStatus, C as CellCoordinates, e as ClipboardSelection, f as EditorHandle, g as EditorPluginCore, h as ErrorNotification, i as ErrorSeverity, j as PanelConfig, k as PluginPanelProps, l as PositionCoordinates, R as RenderedDomContext, m as SavedDocumentData, T as TABLE_DATA_ATTRIBUTES, n as TableSelectionManager, o as TableSelectionSnapshot, p as createSelectionFromDOM, q as deleteTableFromDocument, r as extractFormattingFromElement, s as findTableFromClick, t as formatLastSaveTime, u as formatStorageSize, v as getAutoSaveStatusLabel, w as getAutoSaveStorageSize, x as getSelectionRuns, y as getTableFromDocument, z as isAutoSaveSupported, B as rgbToHex, D as updateTableInDocument } from './ClipboardManager-
|
|
6
|
-
export { C as CorePlugin, e as McpSession, M as McpToolDefinition, i as McpToolHandler, j as McpToolResult } from './types-
|
|
7
|
-
export { D as DocumentAgent, g as DocxInput, d as attemptSelectiveSave, t as toArrayBuffer } from './DocumentAgent-
|
|
8
|
-
export { I as InsertPosition, c as canRenderFont, a as countPageBreaks, b as createColumnBreak, d as createHorizontalRule, e as createLineBreak, f as createPageBreak, g as createPageBreakParagraph, h as createPageBreakRun, i as findPageBreaks, j as getLoadedFonts, k as hasPageBreakBefore, l as insertHorizontalRule, m as insertPageBreak, n as isBreakContent, o as isColumnBreak, p as isFontLoaded, q as isFontsLoading, r as isLineBreak, s as isPageBreak, t as loadFont, u as loadFontFromBuffer, v as loadFonts, w as onFontsLoaded, x as preloadCommonFonts, y as removePageBreak } from './
|
|
1
|
+
import { D as Document } from './agentApi-DLt94vXk.mjs';
|
|
2
|
+
export { f as AIAction, g as AIActionRequest, A as AgentCommand, h as AgentContext, i as AgentResponse, j as ApplyStyleCommand, l as BlockContent, ad as BookmarkEnd, ae as BookmarkStart, p as DeleteTextCommand, d as DocumentBody, r as DocxPackage, E as Endnote, af as Field, ag as FooterReference, F as Footnote, t as FormatTextCommand, ah as HeaderFooter, ai as HeaderReference, H as Hyperlink, I as Image, u as InsertHyperlinkCommand, v as InsertImageCommand, w as InsertTableCommand, x as InsertTextCommand, L as ListLevel, N as NumberingDefinitions, a as Paragraph, J as ParagraphContext, K as ParagraphFormatting, P as Position, R as Range, Q as Relationship, S as ReplaceTextCommand, b as Run, c as RunContent, V as SectionProperties, W as SelectionContext, X as SetVariableCommand, aj as Shape, Y as Style, Z as StyleDefinitions, $ as SuggestedAction, e as Table, a0 as TableCell, a1 as TableRow, ak as TextBox, a2 as TextContent, T as TextFormatting, a3 as Theme, al as ThemeColorScheme, am as ThemeFont, an as ThemeFontScheme } from './agentApi-DLt94vXk.mjs';
|
|
3
|
+
export { A as AgentContextOptions, C as CreateEmptyDocumentOptions, E as ExtendedSelectionContext, P as ProcessTemplateOptions, a as ProcessTemplateResult, b as SelectionContextOptions, a0 as ThemeMatrixCell, c as blendColors, d as buildExtendedSelectionContext, e as buildSelectionContext, g as colorsEqual, h as createDocumentWithText, i as createEmptyDocument, j as createRgbColor, l as createThemeColor, m as darkenColor, n as emuToPixels, o as emuToTwips, a1 as ensureHexPrefix, p as executeCommand, q as executeCommands, r as formatPx, a2 as generateThemeTintShadeMatrix, s as getAgentContext, t as getContrastingColor, u as getDocumentSummary, x as getTemplateTags, a3 as getThemeTintShadeHex, y as halfPointsToPixels, z as isBlack, B as isWhite, D as lightenColor, G as parseColorString, H as parseDocx, I as pixelsToEmu, J as pixelsToTwips, K as pointsToPixels, M as processTemplate, O as processTemplateAsBlob, Q as processTemplateDetailed, R as resolveColor, U as resolveHighlightColor, a4 as resolveHighlightToCss, V as resolveShadingColor, W as serializeDocumentBody, X as serializeDocx, Y as serializeSectionProperties, Z as twipsToEmu, _ as twipsToPixels, $ as validateTemplate } from './documentSerializer-DtS_-oGA.mjs';
|
|
4
|
+
import { S as Subscribable, E as ErrorManagerSnapshot, P as PluginLifecycleSnapshot, a as PluginLifecycleConfig } from './ClipboardManager-V3aaMnWE.mjs';
|
|
5
|
+
export { A as AutoSaveManager, b as AutoSaveManagerOptions, c as AutoSaveSnapshot, d as AutoSaveStatus, C as CellCoordinates, e as ClipboardSelection, f as EditorHandle, g as EditorPluginCore, h as ErrorNotification, i as ErrorSeverity, j as PanelConfig, k as PluginPanelProps, l as PositionCoordinates, R as RenderedDomContext, m as SavedDocumentData, T as TABLE_DATA_ATTRIBUTES, n as TableSelectionManager, o as TableSelectionSnapshot, p as createSelectionFromDOM, q as deleteTableFromDocument, r as extractFormattingFromElement, s as findTableFromClick, t as formatLastSaveTime, u as formatStorageSize, v as getAutoSaveStatusLabel, w as getAutoSaveStorageSize, x as getSelectionRuns, y as getTableFromDocument, z as isAutoSaveSupported, B as rgbToHex, D as updateTableInDocument } from './ClipboardManager-V3aaMnWE.mjs';
|
|
6
|
+
export { C as CorePlugin, e as McpSession, M as McpToolDefinition, i as McpToolHandler, j as McpToolResult } from './types-UDsUq8D3.mjs';
|
|
7
|
+
export { D as DocumentAgent, g as DocxInput, d as attemptSelectiveSave, t as toArrayBuffer } from './DocumentAgent-BWflKHpH.mjs';
|
|
8
|
+
export { I as InsertPosition, c as canRenderFont, a as countPageBreaks, b as createColumnBreak, d as createHorizontalRule, e as createLineBreak, f as createPageBreak, g as createPageBreakParagraph, h as createPageBreakRun, i as findPageBreaks, j as getLoadedFonts, k as hasPageBreakBefore, l as insertHorizontalRule, m as insertPageBreak, n as isBreakContent, o as isColumnBreak, p as isFontLoaded, q as isFontsLoading, r as isLineBreak, s as isPageBreak, t as loadFont, u as loadFontFromBuffer, v as loadFonts, w as onFontsLoaded, x as preloadCommonFonts, y as removePageBreak } from './insertOperations-BTH1Asas.mjs';
|
|
9
9
|
import { EditorView } from 'prosemirror-view';
|
|
10
|
-
export { P as PluginRegistry, p as pluginRegistry, r as registerPlugins } from './registry-
|
|
11
|
-
export { V as VariableDetectionResult, a as VariableOccurrence, b as buildPatchedDocumentXml, c as createDocx, d as detectVariables, e as detectVariablesDetailed, f as detectVariablesInBody, g as detectVariablesInParagraph, h as documentHasVariables, i as extractVariablesFromText, j as formatVariable, k as hasTemplateVariables, l as isValidVariableName, p as parseVariable, r as removeVariables, m as repackDocx, n as replaceVariables, s as sanitizeVariableName, u as updateMultipleFiles, v as validatePatchSafety } from './variableDetector-
|
|
10
|
+
export { P as PluginRegistry, p as pluginRegistry, r as registerPlugins } from './registry-CWBKYlNW.mjs';
|
|
11
|
+
export { V as VariableDetectionResult, a as VariableOccurrence, b as buildPatchedDocumentXml, c as createDocx, d as detectVariables, e as detectVariablesDetailed, f as detectVariablesInBody, g as detectVariablesInParagraph, h as documentHasVariables, i as extractVariablesFromText, j as formatVariable, k as hasTemplateVariables, l as isValidVariableName, p as parseVariable, r as removeVariables, m as repackDocx, n as replaceVariables, s as sanitizeVariableName, u as updateMultipleFiles, v as validatePatchSafety } from './variableDetector-CdQ7ZTzA.mjs';
|
|
12
12
|
export { docxtemplaterPlugin } from './core-plugins-reexport.mjs';
|
|
13
|
+
import { Node } from 'prosemirror-model';
|
|
13
14
|
import 'prosemirror-state';
|
|
14
|
-
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* ProseMirror position immediately before the first textblock whose `paraId`
|
|
18
|
+
* attribute equals `paraId` (Word `w14:paraId` / OOXML paragraph id).
|
|
19
|
+
*
|
|
20
|
+
* Match is strict string equality on `node.attrs.paraId`.
|
|
21
|
+
*/
|
|
22
|
+
declare function findStartPosForParaId(doc: Node, paraId: string): number | null;
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* ProseMirror position range for the paragraph (or any textblock) whose
|
|
26
|
+
* `paraId` attribute equals `paraId`. Returns the inclusive `from` and
|
|
27
|
+
* exclusive `to` positions, plus the node, so callers can both target
|
|
28
|
+
* the paragraph (e.g. addMark over its text range) and inspect it.
|
|
29
|
+
*
|
|
30
|
+
* `from` is the position immediately before the textblock; `to` is
|
|
31
|
+
* `from + node.nodeSize`. The text content lives at `[from + 1, to - 1]`.
|
|
32
|
+
*
|
|
33
|
+
* Returns null if no textblock with that paraId exists.
|
|
34
|
+
*/
|
|
35
|
+
declare function findParagraphByParaId(doc: Node, paraId: string): {
|
|
36
|
+
node: Node;
|
|
37
|
+
from: number;
|
|
38
|
+
to: number;
|
|
39
|
+
} | null;
|
|
15
40
|
|
|
16
41
|
/**
|
|
17
42
|
* ErrorManager
|
|
@@ -294,16 +319,22 @@ declare class EditorCoordinator extends Subscribable<EditorCoordinatorSnapshot>
|
|
|
294
319
|
}
|
|
295
320
|
|
|
296
321
|
/**
|
|
297
|
-
* @eigenpal/docx-
|
|
322
|
+
* @eigenpal/docx-core (default entry point)
|
|
323
|
+
*
|
|
324
|
+
* Fat barrel that re-exports the parser, serializer, agent, plugin
|
|
325
|
+
* registry, and the most-used types. No React/DOM imports.
|
|
298
326
|
*
|
|
299
|
-
*
|
|
300
|
-
*
|
|
327
|
+
* **When to import from `.` vs `./headless`:** identical for Node.js
|
|
328
|
+
* use; `.` is the convenient aggregate, `./headless` is its mirror with
|
|
329
|
+
* a slightly different name suffix. Adapter authors who only need a
|
|
330
|
+
* specific slice should prefer the smaller subpaths (`./docx`, `./agent`,
|
|
331
|
+
* `./prosemirror`, `./layout-*`, `./utils`) — they tree-shake better.
|
|
301
332
|
*
|
|
302
333
|
* @example
|
|
303
334
|
* ```ts
|
|
304
|
-
* import { parseDocx, serializeDocx, resolveColor } from '@eigenpal/docx-
|
|
335
|
+
* import { parseDocx, serializeDocx, resolveColor } from '@eigenpal/docx-core';
|
|
305
336
|
* ```
|
|
306
337
|
*/
|
|
307
338
|
declare const VERSION = "0.0.2";
|
|
308
339
|
|
|
309
|
-
export { type CaretPosition, type ColumnResizeState, Document, EditorCoordinator, type EditorCoordinatorOptions, type EditorCoordinatorSnapshot, type EditorLoadingState, ErrorManager, ErrorManagerSnapshot, type ImageSelectionInfo, LayoutCoordinator, type LayoutCoordinatorSnapshot, PluginLifecycleConfig, PluginLifecycleManager, PluginLifecycleSnapshot, type SelectionRect, Subscribable, VERSION, injectStyles };
|
|
340
|
+
export { type CaretPosition, type ColumnResizeState, Document, EditorCoordinator, type EditorCoordinatorOptions, type EditorCoordinatorSnapshot, type EditorLoadingState, ErrorManager, ErrorManagerSnapshot, type ImageSelectionInfo, LayoutCoordinator, type LayoutCoordinatorSnapshot, PluginLifecycleConfig, PluginLifecycleManager, PluginLifecycleSnapshot, type SelectionRect, Subscribable, VERSION, findParagraphByParaId, findStartPosForParaId, injectStyles };
|
package/dist/core-reexport.d.ts
CHANGED
|
@@ -1,17 +1,42 @@
|
|
|
1
|
-
import { D as Document } from './agentApi-
|
|
2
|
-
export { f as AIAction, g as AIActionRequest, A as AgentCommand, h as AgentContext, i as AgentResponse, j as ApplyStyleCommand, l as BlockContent, ad as BookmarkEnd, ae as BookmarkStart, p as DeleteTextCommand, d as DocumentBody, r as DocxPackage, E as Endnote, af as Field, ag as FooterReference, F as Footnote, t as FormatTextCommand, ah as HeaderFooter, ai as HeaderReference, H as Hyperlink, I as Image, u as InsertHyperlinkCommand, v as InsertImageCommand, w as InsertTableCommand, x as InsertTextCommand, L as ListLevel, N as NumberingDefinitions, a as Paragraph, J as ParagraphContext, K as ParagraphFormatting, P as Position, R as Range, Q as Relationship, S as ReplaceTextCommand, b as Run, c as RunContent, V as SectionProperties, W as SelectionContext, X as SetVariableCommand, aj as Shape, Y as Style, Z as StyleDefinitions, $ as SuggestedAction, e as Table, a0 as TableCell, a1 as TableRow, ak as TextBox, a2 as TextContent, T as TextFormatting, a3 as Theme, al as ThemeColorScheme, am as ThemeFont, an as ThemeFontScheme } from './agentApi-
|
|
3
|
-
export { A as AgentContextOptions, C as CreateEmptyDocumentOptions, E as ExtendedSelectionContext, P as ProcessTemplateOptions, a as ProcessTemplateResult, b as SelectionContextOptions, a0 as ThemeMatrixCell, c as blendColors, d as buildExtendedSelectionContext, e as buildSelectionContext, g as colorsEqual, h as createDocumentWithText, i as createEmptyDocument, j as createRgbColor, l as createThemeColor, m as darkenColor, n as emuToPixels, o as emuToTwips, a1 as ensureHexPrefix, p as executeCommand, q as executeCommands, r as formatPx, a2 as generateThemeTintShadeMatrix, s as getAgentContext, t as getContrastingColor, u as getDocumentSummary, x as getTemplateTags, a3 as getThemeTintShadeHex, y as halfPointsToPixels, z as isBlack, B as isWhite, D as lightenColor, G as parseColorString, H as parseDocx, I as pixelsToEmu, J as pixelsToTwips, K as pointsToPixels, M as processTemplate, O as processTemplateAsBlob, Q as processTemplateDetailed, R as resolveColor, U as resolveHighlightColor, a4 as resolveHighlightToCss, V as resolveShadingColor, W as serializeDocumentBody, X as serializeDocx, Y as serializeSectionProperties, Z as twipsToEmu, _ as twipsToPixels, $ as validateTemplate } from './
|
|
4
|
-
import { S as Subscribable, E as ErrorManagerSnapshot, P as PluginLifecycleSnapshot, a as PluginLifecycleConfig } from './ClipboardManager-
|
|
5
|
-
export { A as AutoSaveManager, b as AutoSaveManagerOptions, c as AutoSaveSnapshot, d as AutoSaveStatus, C as CellCoordinates, e as ClipboardSelection, f as EditorHandle, g as EditorPluginCore, h as ErrorNotification, i as ErrorSeverity, j as PanelConfig, k as PluginPanelProps, l as PositionCoordinates, R as RenderedDomContext, m as SavedDocumentData, T as TABLE_DATA_ATTRIBUTES, n as TableSelectionManager, o as TableSelectionSnapshot, p as createSelectionFromDOM, q as deleteTableFromDocument, r as extractFormattingFromElement, s as findTableFromClick, t as formatLastSaveTime, u as formatStorageSize, v as getAutoSaveStatusLabel, w as getAutoSaveStorageSize, x as getSelectionRuns, y as getTableFromDocument, z as isAutoSaveSupported, B as rgbToHex, D as updateTableInDocument } from './ClipboardManager-
|
|
6
|
-
export { C as CorePlugin, e as McpSession, M as McpToolDefinition, i as McpToolHandler, j as McpToolResult } from './types-
|
|
7
|
-
export { D as DocumentAgent, g as DocxInput, d as attemptSelectiveSave, t as toArrayBuffer } from './DocumentAgent-
|
|
8
|
-
export { I as InsertPosition, c as canRenderFont, a as countPageBreaks, b as createColumnBreak, d as createHorizontalRule, e as createLineBreak, f as createPageBreak, g as createPageBreakParagraph, h as createPageBreakRun, i as findPageBreaks, j as getLoadedFonts, k as hasPageBreakBefore, l as insertHorizontalRule, m as insertPageBreak, n as isBreakContent, o as isColumnBreak, p as isFontLoaded, q as isFontsLoading, r as isLineBreak, s as isPageBreak, t as loadFont, u as loadFontFromBuffer, v as loadFonts, w as onFontsLoaded, x as preloadCommonFonts, y as removePageBreak } from './
|
|
1
|
+
import { D as Document } from './agentApi-DLt94vXk.js';
|
|
2
|
+
export { f as AIAction, g as AIActionRequest, A as AgentCommand, h as AgentContext, i as AgentResponse, j as ApplyStyleCommand, l as BlockContent, ad as BookmarkEnd, ae as BookmarkStart, p as DeleteTextCommand, d as DocumentBody, r as DocxPackage, E as Endnote, af as Field, ag as FooterReference, F as Footnote, t as FormatTextCommand, ah as HeaderFooter, ai as HeaderReference, H as Hyperlink, I as Image, u as InsertHyperlinkCommand, v as InsertImageCommand, w as InsertTableCommand, x as InsertTextCommand, L as ListLevel, N as NumberingDefinitions, a as Paragraph, J as ParagraphContext, K as ParagraphFormatting, P as Position, R as Range, Q as Relationship, S as ReplaceTextCommand, b as Run, c as RunContent, V as SectionProperties, W as SelectionContext, X as SetVariableCommand, aj as Shape, Y as Style, Z as StyleDefinitions, $ as SuggestedAction, e as Table, a0 as TableCell, a1 as TableRow, ak as TextBox, a2 as TextContent, T as TextFormatting, a3 as Theme, al as ThemeColorScheme, am as ThemeFont, an as ThemeFontScheme } from './agentApi-DLt94vXk.js';
|
|
3
|
+
export { A as AgentContextOptions, C as CreateEmptyDocumentOptions, E as ExtendedSelectionContext, P as ProcessTemplateOptions, a as ProcessTemplateResult, b as SelectionContextOptions, a0 as ThemeMatrixCell, c as blendColors, d as buildExtendedSelectionContext, e as buildSelectionContext, g as colorsEqual, h as createDocumentWithText, i as createEmptyDocument, j as createRgbColor, l as createThemeColor, m as darkenColor, n as emuToPixels, o as emuToTwips, a1 as ensureHexPrefix, p as executeCommand, q as executeCommands, r as formatPx, a2 as generateThemeTintShadeMatrix, s as getAgentContext, t as getContrastingColor, u as getDocumentSummary, x as getTemplateTags, a3 as getThemeTintShadeHex, y as halfPointsToPixels, z as isBlack, B as isWhite, D as lightenColor, G as parseColorString, H as parseDocx, I as pixelsToEmu, J as pixelsToTwips, K as pointsToPixels, M as processTemplate, O as processTemplateAsBlob, Q as processTemplateDetailed, R as resolveColor, U as resolveHighlightColor, a4 as resolveHighlightToCss, V as resolveShadingColor, W as serializeDocumentBody, X as serializeDocx, Y as serializeSectionProperties, Z as twipsToEmu, _ as twipsToPixels, $ as validateTemplate } from './documentSerializer-Wj1p2ASa.js';
|
|
4
|
+
import { S as Subscribable, E as ErrorManagerSnapshot, P as PluginLifecycleSnapshot, a as PluginLifecycleConfig } from './ClipboardManager-CVKX0v9q.js';
|
|
5
|
+
export { A as AutoSaveManager, b as AutoSaveManagerOptions, c as AutoSaveSnapshot, d as AutoSaveStatus, C as CellCoordinates, e as ClipboardSelection, f as EditorHandle, g as EditorPluginCore, h as ErrorNotification, i as ErrorSeverity, j as PanelConfig, k as PluginPanelProps, l as PositionCoordinates, R as RenderedDomContext, m as SavedDocumentData, T as TABLE_DATA_ATTRIBUTES, n as TableSelectionManager, o as TableSelectionSnapshot, p as createSelectionFromDOM, q as deleteTableFromDocument, r as extractFormattingFromElement, s as findTableFromClick, t as formatLastSaveTime, u as formatStorageSize, v as getAutoSaveStatusLabel, w as getAutoSaveStorageSize, x as getSelectionRuns, y as getTableFromDocument, z as isAutoSaveSupported, B as rgbToHex, D as updateTableInDocument } from './ClipboardManager-CVKX0v9q.js';
|
|
6
|
+
export { C as CorePlugin, e as McpSession, M as McpToolDefinition, i as McpToolHandler, j as McpToolResult } from './types-jbivc9Lj.js';
|
|
7
|
+
export { D as DocumentAgent, g as DocxInput, d as attemptSelectiveSave, t as toArrayBuffer } from './DocumentAgent-DsdXtetF.js';
|
|
8
|
+
export { I as InsertPosition, c as canRenderFont, a as countPageBreaks, b as createColumnBreak, d as createHorizontalRule, e as createLineBreak, f as createPageBreak, g as createPageBreakParagraph, h as createPageBreakRun, i as findPageBreaks, j as getLoadedFonts, k as hasPageBreakBefore, l as insertHorizontalRule, m as insertPageBreak, n as isBreakContent, o as isColumnBreak, p as isFontLoaded, q as isFontsLoading, r as isLineBreak, s as isPageBreak, t as loadFont, u as loadFontFromBuffer, v as loadFonts, w as onFontsLoaded, x as preloadCommonFonts, y as removePageBreak } from './insertOperations-CbUnXAXH.js';
|
|
9
9
|
import { EditorView } from 'prosemirror-view';
|
|
10
|
-
export { P as PluginRegistry, p as pluginRegistry, r as registerPlugins } from './registry-
|
|
11
|
-
export { V as VariableDetectionResult, a as VariableOccurrence, b as buildPatchedDocumentXml, c as createDocx, d as detectVariables, e as detectVariablesDetailed, f as detectVariablesInBody, g as detectVariablesInParagraph, h as documentHasVariables, i as extractVariablesFromText, j as formatVariable, k as hasTemplateVariables, l as isValidVariableName, p as parseVariable, r as removeVariables, m as repackDocx, n as replaceVariables, s as sanitizeVariableName, u as updateMultipleFiles, v as validatePatchSafety } from './variableDetector-
|
|
10
|
+
export { P as PluginRegistry, p as pluginRegistry, r as registerPlugins } from './registry-CH9V-IX0.js';
|
|
11
|
+
export { V as VariableDetectionResult, a as VariableOccurrence, b as buildPatchedDocumentXml, c as createDocx, d as detectVariables, e as detectVariablesDetailed, f as detectVariablesInBody, g as detectVariablesInParagraph, h as documentHasVariables, i as extractVariablesFromText, j as formatVariable, k as hasTemplateVariables, l as isValidVariableName, p as parseVariable, r as removeVariables, m as repackDocx, n as replaceVariables, s as sanitizeVariableName, u as updateMultipleFiles, v as validatePatchSafety } from './variableDetector-DsRV3A9z.js';
|
|
12
12
|
export { docxtemplaterPlugin } from './core-plugins-reexport.js';
|
|
13
|
+
import { Node } from 'prosemirror-model';
|
|
13
14
|
import 'prosemirror-state';
|
|
14
|
-
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* ProseMirror position immediately before the first textblock whose `paraId`
|
|
18
|
+
* attribute equals `paraId` (Word `w14:paraId` / OOXML paragraph id).
|
|
19
|
+
*
|
|
20
|
+
* Match is strict string equality on `node.attrs.paraId`.
|
|
21
|
+
*/
|
|
22
|
+
declare function findStartPosForParaId(doc: Node, paraId: string): number | null;
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* ProseMirror position range for the paragraph (or any textblock) whose
|
|
26
|
+
* `paraId` attribute equals `paraId`. Returns the inclusive `from` and
|
|
27
|
+
* exclusive `to` positions, plus the node, so callers can both target
|
|
28
|
+
* the paragraph (e.g. addMark over its text range) and inspect it.
|
|
29
|
+
*
|
|
30
|
+
* `from` is the position immediately before the textblock; `to` is
|
|
31
|
+
* `from + node.nodeSize`. The text content lives at `[from + 1, to - 1]`.
|
|
32
|
+
*
|
|
33
|
+
* Returns null if no textblock with that paraId exists.
|
|
34
|
+
*/
|
|
35
|
+
declare function findParagraphByParaId(doc: Node, paraId: string): {
|
|
36
|
+
node: Node;
|
|
37
|
+
from: number;
|
|
38
|
+
to: number;
|
|
39
|
+
} | null;
|
|
15
40
|
|
|
16
41
|
/**
|
|
17
42
|
* ErrorManager
|
|
@@ -294,16 +319,22 @@ declare class EditorCoordinator extends Subscribable<EditorCoordinatorSnapshot>
|
|
|
294
319
|
}
|
|
295
320
|
|
|
296
321
|
/**
|
|
297
|
-
* @eigenpal/docx-
|
|
322
|
+
* @eigenpal/docx-core (default entry point)
|
|
323
|
+
*
|
|
324
|
+
* Fat barrel that re-exports the parser, serializer, agent, plugin
|
|
325
|
+
* registry, and the most-used types. No React/DOM imports.
|
|
298
326
|
*
|
|
299
|
-
*
|
|
300
|
-
*
|
|
327
|
+
* **When to import from `.` vs `./headless`:** identical for Node.js
|
|
328
|
+
* use; `.` is the convenient aggregate, `./headless` is its mirror with
|
|
329
|
+
* a slightly different name suffix. Adapter authors who only need a
|
|
330
|
+
* specific slice should prefer the smaller subpaths (`./docx`, `./agent`,
|
|
331
|
+
* `./prosemirror`, `./layout-*`, `./utils`) — they tree-shake better.
|
|
301
332
|
*
|
|
302
333
|
* @example
|
|
303
334
|
* ```ts
|
|
304
|
-
* import { parseDocx, serializeDocx, resolveColor } from '@eigenpal/docx-
|
|
335
|
+
* import { parseDocx, serializeDocx, resolveColor } from '@eigenpal/docx-core';
|
|
305
336
|
* ```
|
|
306
337
|
*/
|
|
307
338
|
declare const VERSION = "0.0.2";
|
|
308
339
|
|
|
309
|
-
export { type CaretPosition, type ColumnResizeState, Document, EditorCoordinator, type EditorCoordinatorOptions, type EditorCoordinatorSnapshot, type EditorLoadingState, ErrorManager, ErrorManagerSnapshot, type ImageSelectionInfo, LayoutCoordinator, type LayoutCoordinatorSnapshot, PluginLifecycleConfig, PluginLifecycleManager, PluginLifecycleSnapshot, type SelectionRect, Subscribable, VERSION, injectStyles };
|
|
340
|
+
export { type CaretPosition, type ColumnResizeState, Document, EditorCoordinator, type EditorCoordinatorOptions, type EditorCoordinatorSnapshot, type EditorLoadingState, ErrorManager, ErrorManagerSnapshot, type ImageSelectionInfo, LayoutCoordinator, type LayoutCoordinatorSnapshot, PluginLifecycleConfig, PluginLifecycleManager, PluginLifecycleSnapshot, type SelectionRect, Subscribable, VERSION, findParagraphByParaId, findStartPosForParaId, injectStyles };
|
package/dist/core-reexport.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var chunkFVUGBRDD_js=require('./chunk-FVUGBRDD.js'),chunkP7WEP4JU_js=require('./chunk-P7WEP4JU.js'),chunk4VUZBV2S_js=require('./chunk-4VUZBV2S.js'),chunkKCOGY3V2_js=require('./chunk-KCOGY3V2.js'),chunkPB7VMDDP_js=require('./chunk-PB7VMDDP.js'),chunkZJNGMDRE_js=require('./chunk-ZJNGMDRE.js'),chunkAARNCPWR_js=require('./chunk-AARNCPWR.js'),chunkKUL2SDYC_js=require('./chunk-KUL2SDYC.js'),chunkBUEMG4NW_js=require('./chunk-BUEMG4NW.js'),chunkSE5EN2QL_js=require('./chunk-SE5EN2QL.js');require('./chunk-IFPN3NT3.js'),require('./chunk-H5NTJZO4.js');Object.defineProperty(exports,"AutoSaveManager",{enumerable:true,get:function(){return chunkFVUGBRDD_js.r}});Object.defineProperty(exports,"EditorCoordinator",{enumerable:true,get:function(){return chunkFVUGBRDD_js.L}});Object.defineProperty(exports,"ErrorManager",{enumerable:true,get:function(){return chunkFVUGBRDD_js.H}});Object.defineProperty(exports,"LayoutCoordinator",{enumerable:true,get:function(){return chunkFVUGBRDD_js.K}});Object.defineProperty(exports,"PluginLifecycleManager",{enumerable:true,get:function(){return chunkFVUGBRDD_js.J}});Object.defineProperty(exports,"Subscribable",{enumerable:true,get:function(){return chunkFVUGBRDD_js.q}});Object.defineProperty(exports,"TABLE_DATA_ATTRIBUTES",{enumerable:true,get:function(){return chunkFVUGBRDD_js.x}});Object.defineProperty(exports,"TableSelectionManager",{enumerable:true,get:function(){return chunkFVUGBRDD_js.C}});Object.defineProperty(exports,"VERSION",{enumerable:true,get:function(){return chunkFVUGBRDD_js.M}});Object.defineProperty(exports,"countPageBreaks",{enumerable:true,get:function(){return chunkFVUGBRDD_js.n}});Object.defineProperty(exports,"createColumnBreak",{enumerable:true,get:function(){return chunkFVUGBRDD_js.b}});Object.defineProperty(exports,"createHorizontalRule",{enumerable:true,get:function(){return chunkFVUGBRDD_js.g}});Object.defineProperty(exports,"createLineBreak",{enumerable:true,get:function(){return chunkFVUGBRDD_js.c}});Object.defineProperty(exports,"createPageBreak",{enumerable:true,get:function(){return chunkFVUGBRDD_js.a}});Object.defineProperty(exports,"createPageBreakParagraph",{enumerable:true,get:function(){return chunkFVUGBRDD_js.e}});Object.defineProperty(exports,"createPageBreakRun",{enumerable:true,get:function(){return chunkFVUGBRDD_js.d}});Object.defineProperty(exports,"createSelectionFromDOM",{enumerable:true,get:function(){return chunkFVUGBRDD_js.F}});Object.defineProperty(exports,"deleteTableFromDocument",{enumerable:true,get:function(){return chunkFVUGBRDD_js.B}});Object.defineProperty(exports,"extractFormattingFromElement",{enumerable:true,get:function(){return chunkFVUGBRDD_js.D}});Object.defineProperty(exports,"findPageBreaks",{enumerable:true,get:function(){return chunkFVUGBRDD_js.o}});Object.defineProperty(exports,"findTableFromClick",{enumerable:true,get:function(){return chunkFVUGBRDD_js.y}});Object.defineProperty(exports,"formatLastSaveTime",{enumerable:true,get:function(){return chunkFVUGBRDD_js.s}});Object.defineProperty(exports,"formatStorageSize",{enumerable:true,get:function(){return chunkFVUGBRDD_js.v}});Object.defineProperty(exports,"getAutoSaveStatusLabel",{enumerable:true,get:function(){return chunkFVUGBRDD_js.t}});Object.defineProperty(exports,"getAutoSaveStorageSize",{enumerable:true,get:function(){return chunkFVUGBRDD_js.u}});Object.defineProperty(exports,"getSelectionRuns",{enumerable:true,get:function(){return chunkFVUGBRDD_js.E}});Object.defineProperty(exports,"getTableFromDocument",{enumerable:true,get:function(){return chunkFVUGBRDD_js.z}});Object.defineProperty(exports,"hasPageBreakBefore",{enumerable:true,get:function(){return chunkFVUGBRDD_js.m}});Object.defineProperty(exports,"injectStyles",{enumerable:true,get:function(){return chunkFVUGBRDD_js.I}});Object.defineProperty(exports,"insertHorizontalRule",{enumerable:true,get:function(){return chunkFVUGBRDD_js.h}});Object.defineProperty(exports,"insertPageBreak",{enumerable:true,get:function(){return chunkFVUGBRDD_js.f}});Object.defineProperty(exports,"isAutoSaveSupported",{enumerable:true,get:function(){return chunkFVUGBRDD_js.w}});Object.defineProperty(exports,"isBreakContent",{enumerable:true,get:function(){return chunkFVUGBRDD_js.l}});Object.defineProperty(exports,"isColumnBreak",{enumerable:true,get:function(){return chunkFVUGBRDD_js.j}});Object.defineProperty(exports,"isLineBreak",{enumerable:true,get:function(){return chunkFVUGBRDD_js.k}});Object.defineProperty(exports,"isPageBreak",{enumerable:true,get:function(){return chunkFVUGBRDD_js.i}});Object.defineProperty(exports,"removePageBreak",{enumerable:true,get:function(){return chunkFVUGBRDD_js.p}});Object.defineProperty(exports,"rgbToHex",{enumerable:true,get:function(){return chunkFVUGBRDD_js.G}});Object.defineProperty(exports,"updateTableInDocument",{enumerable:true,get:function(){return chunkFVUGBRDD_js.A}});Object.defineProperty(exports,"DocumentAgent",{enumerable:true,get:function(){return chunkP7WEP4JU_js.f}});Object.defineProperty(exports,"attemptSelectiveSave",{enumerable:true,get:function(){return chunkP7WEP4JU_js.c}});Object.defineProperty(exports,"buildExtendedSelectionContext",{enumerable:true,get:function(){return chunkP7WEP4JU_js.m}});Object.defineProperty(exports,"buildPatchedDocumentXml",{enumerable:true,get:function(){return chunkP7WEP4JU_js.b}});Object.defineProperty(exports,"buildSelectionContext",{enumerable:true,get:function(){return chunkP7WEP4JU_js.l}});Object.defineProperty(exports,"createDocumentWithText",{enumerable:true,get:function(){return chunkP7WEP4JU_js.e}});Object.defineProperty(exports,"createEmptyDocument",{enumerable:true,get:function(){return chunkP7WEP4JU_js.d}});Object.defineProperty(exports,"getAgentContext",{enumerable:true,get:function(){return chunkP7WEP4JU_js.i}});Object.defineProperty(exports,"getDocumentSummary",{enumerable:true,get:function(){return chunkP7WEP4JU_js.k}});Object.defineProperty(exports,"validatePatchSafety",{enumerable:true,get:function(){return chunkP7WEP4JU_js.a}});Object.defineProperty(exports,"blendColors",{enumerable:true,get:function(){return chunk4VUZBV2S_js.l}});Object.defineProperty(exports,"colorsEqual",{enumerable:true,get:function(){return chunk4VUZBV2S_js.q}});Object.defineProperty(exports,"createRgbColor",{enumerable:true,get:function(){return chunk4VUZBV2S_js.i}});Object.defineProperty(exports,"createThemeColor",{enumerable:true,get:function(){return chunk4VUZBV2S_js.h}});Object.defineProperty(exports,"darkenColor",{enumerable:true,get:function(){return chunk4VUZBV2S_js.j}});Object.defineProperty(exports,"ensureHexPrefix",{enumerable:true,get:function(){return chunk4VUZBV2S_js.m}});Object.defineProperty(exports,"generateThemeTintShadeMatrix",{enumerable:true,get:function(){return chunk4VUZBV2S_js.p}});Object.defineProperty(exports,"getContrastingColor",{enumerable:true,get:function(){return chunk4VUZBV2S_js.f}});Object.defineProperty(exports,"getThemeTintShadeHex",{enumerable:true,get:function(){return chunk4VUZBV2S_js.o}});Object.defineProperty(exports,"isBlack",{enumerable:true,get:function(){return chunk4VUZBV2S_js.d}});Object.defineProperty(exports,"isWhite",{enumerable:true,get:function(){return chunk4VUZBV2S_js.e}});Object.defineProperty(exports,"lightenColor",{enumerable:true,get:function(){return chunk4VUZBV2S_js.k}});Object.defineProperty(exports,"parseColorString",{enumerable:true,get:function(){return chunk4VUZBV2S_js.g}});Object.defineProperty(exports,"resolveColor",{enumerable:true,get:function(){return chunk4VUZBV2S_js.a}});Object.defineProperty(exports,"resolveHighlightColor",{enumerable:true,get:function(){return chunk4VUZBV2S_js.b}});Object.defineProperty(exports,"resolveHighlightToCss",{enumerable:true,get:function(){return chunk4VUZBV2S_js.n}});Object.defineProperty(exports,"resolveShadingColor",{enumerable:true,get:function(){return chunk4VUZBV2S_js.c}});Object.defineProperty(exports,"detectVariables",{enumerable:true,get:function(){return chunkKCOGY3V2_js.a}});Object.defineProperty(exports,"detectVariablesDetailed",{enumerable:true,get:function(){return chunkKCOGY3V2_js.b}});Object.defineProperty(exports,"detectVariablesInBody",{enumerable:true,get:function(){return chunkKCOGY3V2_js.c}});Object.defineProperty(exports,"detectVariablesInParagraph",{enumerable:true,get:function(){return chunkKCOGY3V2_js.d}});Object.defineProperty(exports,"documentHasVariables",{enumerable:true,get:function(){return chunkKCOGY3V2_js.m}});Object.defineProperty(exports,"docxtemplaterPlugin",{enumerable:true,get:function(){return chunkKCOGY3V2_js.o}});Object.defineProperty(exports,"extractVariablesFromText",{enumerable:true,get:function(){return chunkKCOGY3V2_js.e}});Object.defineProperty(exports,"formatVariable",{enumerable:true,get:function(){return chunkKCOGY3V2_js.i}});Object.defineProperty(exports,"hasTemplateVariables",{enumerable:true,get:function(){return chunkKCOGY3V2_js.f}});Object.defineProperty(exports,"isValidVariableName",{enumerable:true,get:function(){return chunkKCOGY3V2_js.g}});Object.defineProperty(exports,"parseVariable",{enumerable:true,get:function(){return chunkKCOGY3V2_js.j}});Object.defineProperty(exports,"removeVariables",{enumerable:true,get:function(){return chunkKCOGY3V2_js.l}});Object.defineProperty(exports,"replaceVariables",{enumerable:true,get:function(){return chunkKCOGY3V2_js.k}});Object.defineProperty(exports,"sanitizeVariableName",{enumerable:true,get:function(){return chunkKCOGY3V2_js.h}});Object.defineProperty(exports,"getTemplateTags",{enumerable:true,get:function(){return chunkPB7VMDDP_js.e}});Object.defineProperty(exports,"processTemplate",{enumerable:true,get:function(){return chunkPB7VMDDP_js.a}});Object.defineProperty(exports,"processTemplateAsBlob",{enumerable:true,get:function(){return chunkPB7VMDDP_js.c}});Object.defineProperty(exports,"processTemplateDetailed",{enumerable:true,get:function(){return chunkPB7VMDDP_js.b}});Object.defineProperty(exports,"validateTemplate",{enumerable:true,get:function(){return chunkPB7VMDDP_js.f}});Object.defineProperty(exports,"createDocx",{enumerable:true,get:function(){return chunkZJNGMDRE_js.r}});Object.defineProperty(exports,"repackDocx",{enumerable:true,get:function(){return chunkZJNGMDRE_js.i}});Object.defineProperty(exports,"serializeDocumentBody",{enumerable:true,get:function(){return chunkZJNGMDRE_js.b}});Object.defineProperty(exports,"serializeDocx",{enumerable:true,get:function(){return chunkZJNGMDRE_js.c}});Object.defineProperty(exports,"serializeSectionProperties",{enumerable:true,get:function(){return chunkZJNGMDRE_js.a}});Object.defineProperty(exports,"updateMultipleFiles",{enumerable:true,get:function(){return chunkZJNGMDRE_js.n}});Object.defineProperty(exports,"executeCommand",{enumerable:true,get:function(){return chunkAARNCPWR_js.a}});Object.defineProperty(exports,"executeCommands",{enumerable:true,get:function(){return chunkAARNCPWR_js.b}});Object.defineProperty(exports,"canRenderFont",{enumerable:true,get:function(){return chunkKUL2SDYC_js.i}});Object.defineProperty(exports,"getLoadedFonts",{enumerable:true,get:function(){return chunkKUL2SDYC_js.g}});Object.defineProperty(exports,"isFontLoaded",{enumerable:true,get:function(){return chunkKUL2SDYC_js.e}});Object.defineProperty(exports,"isFontsLoading",{enumerable:true,get:function(){return chunkKUL2SDYC_js.f}});Object.defineProperty(exports,"loadFont",{enumerable:true,get:function(){return chunkKUL2SDYC_js.c}});Object.defineProperty(exports,"loadFontFromBuffer",{enumerable:true,get:function(){return chunkKUL2SDYC_js.j}});Object.defineProperty(exports,"loadFonts",{enumerable:true,get:function(){return chunkKUL2SDYC_js.d}});Object.defineProperty(exports,"onFontsLoaded",{enumerable:true,get:function(){return chunkKUL2SDYC_js.h}});Object.defineProperty(exports,"parseDocx",{enumerable:true,get:function(){return chunkKUL2SDYC_js.n}});Object.defineProperty(exports,"preloadCommonFonts",{enumerable:true,get:function(){return chunkKUL2SDYC_js.k}});Object.defineProperty(exports,"toArrayBuffer",{enumerable:true,get:function(){return chunkKUL2SDYC_js.m}});Object.defineProperty(exports,"PluginRegistry",{enumerable:true,get:function(){return chunkBUEMG4NW_js.a}});Object.defineProperty(exports,"pluginRegistry",{enumerable:true,get:function(){return chunkBUEMG4NW_js.b}});Object.defineProperty(exports,"registerPlugins",{enumerable:true,get:function(){return chunkBUEMG4NW_js.c}});Object.defineProperty(exports,"emuToPixels",{enumerable:true,get:function(){return chunkSE5EN2QL_js.c}});Object.defineProperty(exports,"emuToTwips",{enumerable:true,get:function(){return chunkSE5EN2QL_js.e}});Object.defineProperty(exports,"formatPx",{enumerable:true,get:function(){return chunkSE5EN2QL_js.k}});Object.defineProperty(exports,"halfPointsToPixels",{enumerable:true,get:function(){return chunkSE5EN2QL_js.h}});Object.defineProperty(exports,"pixelsToEmu",{enumerable:true,get:function(){return chunkSE5EN2QL_js.d}});Object.defineProperty(exports,"pixelsToTwips",{enumerable:true,get:function(){return chunkSE5EN2QL_js.b}});Object.defineProperty(exports,"pointsToPixels",{enumerable:true,get:function(){return chunkSE5EN2QL_js.g}});Object.defineProperty(exports,"twipsToEmu",{enumerable:true,get:function(){return chunkSE5EN2QL_js.f}});Object.defineProperty(exports,"twipsToPixels",{enumerable:true,get:function(){return chunkSE5EN2QL_js.a}});
|
|
1
|
+
'use strict';var chunkJTIUFACT_js=require('./chunk-JTIUFACT.js'),chunkAGRIVA4G_js=require('./chunk-AGRIVA4G.js'),chunkPQMSZTBB_js=require('./chunk-PQMSZTBB.js'),chunk3F52AP2Q_js=require('./chunk-3F52AP2Q.js'),chunkSNLC6EK2_js=require('./chunk-SNLC6EK2.js'),chunkLUF7PWIC_js=require('./chunk-LUF7PWIC.js'),chunkTMTLIGLZ_js=require('./chunk-TMTLIGLZ.js'),chunkQGTAIC5E_js=require('./chunk-QGTAIC5E.js');require('./chunk-Z3KMSHUP.js');var chunkP4VSHBGZ_js=require('./chunk-P4VSHBGZ.js');require('./chunk-IFPN3NT3.js');var chunkBUEMG4NW_js=require('./chunk-BUEMG4NW.js');require('./chunk-MOE2ZGUE.js');var chunkMWLHJWB6_js=require('./chunk-MWLHJWB6.js'),chunkQ7UDQXAF_js=require('./chunk-Q7UDQXAF.js'),chunkYC5KZSYD_js=require('./chunk-YC5KZSYD.js');require('./chunk-H5NTJZO4.js');Object.defineProperty(exports,"AutoSaveManager",{enumerable:true,get:function(){return chunkJTIUFACT_js.d}});Object.defineProperty(exports,"EditorCoordinator",{enumerable:true,get:function(){return chunkJTIUFACT_js.x}});Object.defineProperty(exports,"ErrorManager",{enumerable:true,get:function(){return chunkJTIUFACT_js.t}});Object.defineProperty(exports,"LayoutCoordinator",{enumerable:true,get:function(){return chunkJTIUFACT_js.w}});Object.defineProperty(exports,"PluginLifecycleManager",{enumerable:true,get:function(){return chunkJTIUFACT_js.v}});Object.defineProperty(exports,"Subscribable",{enumerable:true,get:function(){return chunkJTIUFACT_js.c}});Object.defineProperty(exports,"TABLE_DATA_ATTRIBUTES",{enumerable:true,get:function(){return chunkJTIUFACT_js.j}});Object.defineProperty(exports,"TableSelectionManager",{enumerable:true,get:function(){return chunkJTIUFACT_js.o}});Object.defineProperty(exports,"VERSION",{enumerable:true,get:function(){return chunkJTIUFACT_js.y}});Object.defineProperty(exports,"createSelectionFromDOM",{enumerable:true,get:function(){return chunkJTIUFACT_js.r}});Object.defineProperty(exports,"deleteTableFromDocument",{enumerable:true,get:function(){return chunkJTIUFACT_js.n}});Object.defineProperty(exports,"extractFormattingFromElement",{enumerable:true,get:function(){return chunkJTIUFACT_js.p}});Object.defineProperty(exports,"findParagraphByParaId",{enumerable:true,get:function(){return chunkJTIUFACT_js.b}});Object.defineProperty(exports,"findStartPosForParaId",{enumerable:true,get:function(){return chunkJTIUFACT_js.a}});Object.defineProperty(exports,"findTableFromClick",{enumerable:true,get:function(){return chunkJTIUFACT_js.k}});Object.defineProperty(exports,"formatLastSaveTime",{enumerable:true,get:function(){return chunkJTIUFACT_js.e}});Object.defineProperty(exports,"formatStorageSize",{enumerable:true,get:function(){return chunkJTIUFACT_js.h}});Object.defineProperty(exports,"getAutoSaveStatusLabel",{enumerable:true,get:function(){return chunkJTIUFACT_js.f}});Object.defineProperty(exports,"getAutoSaveStorageSize",{enumerable:true,get:function(){return chunkJTIUFACT_js.g}});Object.defineProperty(exports,"getSelectionRuns",{enumerable:true,get:function(){return chunkJTIUFACT_js.q}});Object.defineProperty(exports,"getTableFromDocument",{enumerable:true,get:function(){return chunkJTIUFACT_js.l}});Object.defineProperty(exports,"injectStyles",{enumerable:true,get:function(){return chunkJTIUFACT_js.u}});Object.defineProperty(exports,"isAutoSaveSupported",{enumerable:true,get:function(){return chunkJTIUFACT_js.i}});Object.defineProperty(exports,"rgbToHex",{enumerable:true,get:function(){return chunkJTIUFACT_js.s}});Object.defineProperty(exports,"updateTableInDocument",{enumerable:true,get:function(){return chunkJTIUFACT_js.m}});Object.defineProperty(exports,"countPageBreaks",{enumerable:true,get:function(){return chunkAGRIVA4G_js.n}});Object.defineProperty(exports,"createColumnBreak",{enumerable:true,get:function(){return chunkAGRIVA4G_js.b}});Object.defineProperty(exports,"createHorizontalRule",{enumerable:true,get:function(){return chunkAGRIVA4G_js.g}});Object.defineProperty(exports,"createLineBreak",{enumerable:true,get:function(){return chunkAGRIVA4G_js.c}});Object.defineProperty(exports,"createPageBreak",{enumerable:true,get:function(){return chunkAGRIVA4G_js.a}});Object.defineProperty(exports,"createPageBreakParagraph",{enumerable:true,get:function(){return chunkAGRIVA4G_js.e}});Object.defineProperty(exports,"createPageBreakRun",{enumerable:true,get:function(){return chunkAGRIVA4G_js.d}});Object.defineProperty(exports,"findPageBreaks",{enumerable:true,get:function(){return chunkAGRIVA4G_js.o}});Object.defineProperty(exports,"hasPageBreakBefore",{enumerable:true,get:function(){return chunkAGRIVA4G_js.m}});Object.defineProperty(exports,"insertHorizontalRule",{enumerable:true,get:function(){return chunkAGRIVA4G_js.h}});Object.defineProperty(exports,"insertPageBreak",{enumerable:true,get:function(){return chunkAGRIVA4G_js.f}});Object.defineProperty(exports,"isBreakContent",{enumerable:true,get:function(){return chunkAGRIVA4G_js.l}});Object.defineProperty(exports,"isColumnBreak",{enumerable:true,get:function(){return chunkAGRIVA4G_js.j}});Object.defineProperty(exports,"isLineBreak",{enumerable:true,get:function(){return chunkAGRIVA4G_js.k}});Object.defineProperty(exports,"isPageBreak",{enumerable:true,get:function(){return chunkAGRIVA4G_js.i}});Object.defineProperty(exports,"removePageBreak",{enumerable:true,get:function(){return chunkAGRIVA4G_js.p}});Object.defineProperty(exports,"DocumentAgent",{enumerable:true,get:function(){return chunkPQMSZTBB_js.d}});Object.defineProperty(exports,"attemptSelectiveSave",{enumerable:true,get:function(){return chunkPQMSZTBB_js.c}});Object.defineProperty(exports,"buildExtendedSelectionContext",{enumerable:true,get:function(){return chunkPQMSZTBB_js.k}});Object.defineProperty(exports,"buildPatchedDocumentXml",{enumerable:true,get:function(){return chunkPQMSZTBB_js.b}});Object.defineProperty(exports,"buildSelectionContext",{enumerable:true,get:function(){return chunkPQMSZTBB_js.j}});Object.defineProperty(exports,"getAgentContext",{enumerable:true,get:function(){return chunkPQMSZTBB_js.g}});Object.defineProperty(exports,"getDocumentSummary",{enumerable:true,get:function(){return chunkPQMSZTBB_js.i}});Object.defineProperty(exports,"validatePatchSafety",{enumerable:true,get:function(){return chunkPQMSZTBB_js.a}});Object.defineProperty(exports,"createDocumentWithText",{enumerable:true,get:function(){return chunk3F52AP2Q_js.b}});Object.defineProperty(exports,"createEmptyDocument",{enumerable:true,get:function(){return chunk3F52AP2Q_js.a}});Object.defineProperty(exports,"blendColors",{enumerable:true,get:function(){return chunkSNLC6EK2_js.m}});Object.defineProperty(exports,"colorsEqual",{enumerable:true,get:function(){return chunkSNLC6EK2_js.r}});Object.defineProperty(exports,"createRgbColor",{enumerable:true,get:function(){return chunkSNLC6EK2_js.j}});Object.defineProperty(exports,"createThemeColor",{enumerable:true,get:function(){return chunkSNLC6EK2_js.i}});Object.defineProperty(exports,"darkenColor",{enumerable:true,get:function(){return chunkSNLC6EK2_js.k}});Object.defineProperty(exports,"ensureHexPrefix",{enumerable:true,get:function(){return chunkSNLC6EK2_js.n}});Object.defineProperty(exports,"generateThemeTintShadeMatrix",{enumerable:true,get:function(){return chunkSNLC6EK2_js.q}});Object.defineProperty(exports,"getContrastingColor",{enumerable:true,get:function(){return chunkSNLC6EK2_js.g}});Object.defineProperty(exports,"getThemeTintShadeHex",{enumerable:true,get:function(){return chunkSNLC6EK2_js.p}});Object.defineProperty(exports,"isBlack",{enumerable:true,get:function(){return chunkSNLC6EK2_js.e}});Object.defineProperty(exports,"isWhite",{enumerable:true,get:function(){return chunkSNLC6EK2_js.f}});Object.defineProperty(exports,"lightenColor",{enumerable:true,get:function(){return chunkSNLC6EK2_js.l}});Object.defineProperty(exports,"parseColorString",{enumerable:true,get:function(){return chunkSNLC6EK2_js.h}});Object.defineProperty(exports,"resolveColor",{enumerable:true,get:function(){return chunkSNLC6EK2_js.a}});Object.defineProperty(exports,"resolveHighlightColor",{enumerable:true,get:function(){return chunkSNLC6EK2_js.c}});Object.defineProperty(exports,"resolveHighlightToCss",{enumerable:true,get:function(){return chunkSNLC6EK2_js.o}});Object.defineProperty(exports,"resolveShadingColor",{enumerable:true,get:function(){return chunkSNLC6EK2_js.d}});Object.defineProperty(exports,"detectVariables",{enumerable:true,get:function(){return chunkLUF7PWIC_js.a}});Object.defineProperty(exports,"detectVariablesDetailed",{enumerable:true,get:function(){return chunkLUF7PWIC_js.b}});Object.defineProperty(exports,"detectVariablesInBody",{enumerable:true,get:function(){return chunkLUF7PWIC_js.c}});Object.defineProperty(exports,"detectVariablesInParagraph",{enumerable:true,get:function(){return chunkLUF7PWIC_js.d}});Object.defineProperty(exports,"documentHasVariables",{enumerable:true,get:function(){return chunkLUF7PWIC_js.m}});Object.defineProperty(exports,"docxtemplaterPlugin",{enumerable:true,get:function(){return chunkLUF7PWIC_js.o}});Object.defineProperty(exports,"extractVariablesFromText",{enumerable:true,get:function(){return chunkLUF7PWIC_js.e}});Object.defineProperty(exports,"formatVariable",{enumerable:true,get:function(){return chunkLUF7PWIC_js.i}});Object.defineProperty(exports,"hasTemplateVariables",{enumerable:true,get:function(){return chunkLUF7PWIC_js.f}});Object.defineProperty(exports,"isValidVariableName",{enumerable:true,get:function(){return chunkLUF7PWIC_js.g}});Object.defineProperty(exports,"parseVariable",{enumerable:true,get:function(){return chunkLUF7PWIC_js.j}});Object.defineProperty(exports,"removeVariables",{enumerable:true,get:function(){return chunkLUF7PWIC_js.l}});Object.defineProperty(exports,"replaceVariables",{enumerable:true,get:function(){return chunkLUF7PWIC_js.k}});Object.defineProperty(exports,"sanitizeVariableName",{enumerable:true,get:function(){return chunkLUF7PWIC_js.h}});Object.defineProperty(exports,"createDocx",{enumerable:true,get:function(){return chunkTMTLIGLZ_js.r}});Object.defineProperty(exports,"repackDocx",{enumerable:true,get:function(){return chunkTMTLIGLZ_js.i}});Object.defineProperty(exports,"serializeDocumentBody",{enumerable:true,get:function(){return chunkTMTLIGLZ_js.b}});Object.defineProperty(exports,"serializeDocx",{enumerable:true,get:function(){return chunkTMTLIGLZ_js.c}});Object.defineProperty(exports,"serializeSectionProperties",{enumerable:true,get:function(){return chunkTMTLIGLZ_js.a}});Object.defineProperty(exports,"updateMultipleFiles",{enumerable:true,get:function(){return chunkTMTLIGLZ_js.n}});Object.defineProperty(exports,"executeCommand",{enumerable:true,get:function(){return chunkQGTAIC5E_js.a}});Object.defineProperty(exports,"executeCommands",{enumerable:true,get:function(){return chunkQGTAIC5E_js.b}});Object.defineProperty(exports,"parseDocx",{enumerable:true,get:function(){return chunkP4VSHBGZ_js.a}});Object.defineProperty(exports,"PluginRegistry",{enumerable:true,get:function(){return chunkBUEMG4NW_js.a}});Object.defineProperty(exports,"pluginRegistry",{enumerable:true,get:function(){return chunkBUEMG4NW_js.b}});Object.defineProperty(exports,"registerPlugins",{enumerable:true,get:function(){return chunkBUEMG4NW_js.c}});Object.defineProperty(exports,"canRenderFont",{enumerable:true,get:function(){return chunkMWLHJWB6_js.h}});Object.defineProperty(exports,"getLoadedFonts",{enumerable:true,get:function(){return chunkMWLHJWB6_js.f}});Object.defineProperty(exports,"isFontLoaded",{enumerable:true,get:function(){return chunkMWLHJWB6_js.d}});Object.defineProperty(exports,"isFontsLoading",{enumerable:true,get:function(){return chunkMWLHJWB6_js.e}});Object.defineProperty(exports,"loadFont",{enumerable:true,get:function(){return chunkMWLHJWB6_js.b}});Object.defineProperty(exports,"loadFontFromBuffer",{enumerable:true,get:function(){return chunkMWLHJWB6_js.i}});Object.defineProperty(exports,"loadFonts",{enumerable:true,get:function(){return chunkMWLHJWB6_js.c}});Object.defineProperty(exports,"onFontsLoaded",{enumerable:true,get:function(){return chunkMWLHJWB6_js.g}});Object.defineProperty(exports,"preloadCommonFonts",{enumerable:true,get:function(){return chunkMWLHJWB6_js.k}});Object.defineProperty(exports,"toArrayBuffer",{enumerable:true,get:function(){return chunkMWLHJWB6_js.a}});Object.defineProperty(exports,"emuToPixels",{enumerable:true,get:function(){return chunkQ7UDQXAF_js.c}});Object.defineProperty(exports,"emuToTwips",{enumerable:true,get:function(){return chunkQ7UDQXAF_js.e}});Object.defineProperty(exports,"formatPx",{enumerable:true,get:function(){return chunkQ7UDQXAF_js.k}});Object.defineProperty(exports,"halfPointsToPixels",{enumerable:true,get:function(){return chunkQ7UDQXAF_js.h}});Object.defineProperty(exports,"pixelsToEmu",{enumerable:true,get:function(){return chunkQ7UDQXAF_js.d}});Object.defineProperty(exports,"pixelsToTwips",{enumerable:true,get:function(){return chunkQ7UDQXAF_js.b}});Object.defineProperty(exports,"pointsToPixels",{enumerable:true,get:function(){return chunkQ7UDQXAF_js.g}});Object.defineProperty(exports,"twipsToEmu",{enumerable:true,get:function(){return chunkQ7UDQXAF_js.f}});Object.defineProperty(exports,"twipsToPixels",{enumerable:true,get:function(){return chunkQ7UDQXAF_js.a}});Object.defineProperty(exports,"getTemplateTags",{enumerable:true,get:function(){return chunkYC5KZSYD_js.e}});Object.defineProperty(exports,"processTemplate",{enumerable:true,get:function(){return chunkYC5KZSYD_js.a}});Object.defineProperty(exports,"processTemplateAsBlob",{enumerable:true,get:function(){return chunkYC5KZSYD_js.c}});Object.defineProperty(exports,"processTemplateDetailed",{enumerable:true,get:function(){return chunkYC5KZSYD_js.b}});Object.defineProperty(exports,"validateTemplate",{enumerable:true,get:function(){return chunkYC5KZSYD_js.f}});
|
package/dist/core-reexport.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{d as AutoSaveManager,x as EditorCoordinator,t as ErrorManager,w as LayoutCoordinator,v as PluginLifecycleManager,c as Subscribable,j as TABLE_DATA_ATTRIBUTES,o as TableSelectionManager,y as VERSION,r as createSelectionFromDOM,n as deleteTableFromDocument,p as extractFormattingFromElement,b as findParagraphByParaId,a as findStartPosForParaId,k as findTableFromClick,e as formatLastSaveTime,h as formatStorageSize,f as getAutoSaveStatusLabel,g as getAutoSaveStorageSize,q as getSelectionRuns,l as getTableFromDocument,u as injectStyles,i as isAutoSaveSupported,s as rgbToHex,m as updateTableInDocument}from'./chunk-DACWLFKI.mjs';export{n as countPageBreaks,b as createColumnBreak,g as createHorizontalRule,c as createLineBreak,a as createPageBreak,e as createPageBreakParagraph,d as createPageBreakRun,o as findPageBreaks,m as hasPageBreakBefore,h as insertHorizontalRule,f as insertPageBreak,l as isBreakContent,j as isColumnBreak,k as isLineBreak,i as isPageBreak,p as removePageBreak}from'./chunk-P5FQHIES.mjs';export{d as DocumentAgent,c as attemptSelectiveSave,k as buildExtendedSelectionContext,b as buildPatchedDocumentXml,j as buildSelectionContext,g as getAgentContext,i as getDocumentSummary,a as validatePatchSafety}from'./chunk-HI66BSGS.mjs';export{b as createDocumentWithText,a as createEmptyDocument}from'./chunk-UXVACQCY.mjs';export{m as blendColors,r as colorsEqual,j as createRgbColor,i as createThemeColor,k as darkenColor,n as ensureHexPrefix,q as generateThemeTintShadeMatrix,g as getContrastingColor,p as getThemeTintShadeHex,e as isBlack,f as isWhite,l as lightenColor,h as parseColorString,a as resolveColor,c as resolveHighlightColor,o as resolveHighlightToCss,d as resolveShadingColor}from'./chunk-CPAYKE6X.mjs';export{a as detectVariables,b as detectVariablesDetailed,c as detectVariablesInBody,d as detectVariablesInParagraph,m as documentHasVariables,o as docxtemplaterPlugin,e as extractVariablesFromText,i as formatVariable,f as hasTemplateVariables,g as isValidVariableName,j as parseVariable,l as removeVariables,k as replaceVariables,h as sanitizeVariableName}from'./chunk-TSE2PWFX.mjs';export{r as createDocx,i as repackDocx,b as serializeDocumentBody,c as serializeDocx,a as serializeSectionProperties,n as updateMultipleFiles}from'./chunk-R3QMYPL5.mjs';export{a as executeCommand,b as executeCommands}from'./chunk-5XK326FI.mjs';import'./chunk-76IYR7C7.mjs';export{a as parseDocx}from'./chunk-IOAGVW6Q.mjs';import'./chunk-WOHFANC5.mjs';export{a as PluginRegistry,b as pluginRegistry,c as registerPlugins}from'./chunk-W53SI3XW.mjs';import'./chunk-RBUTXXQJ.mjs';export{h as canRenderFont,f as getLoadedFonts,d as isFontLoaded,e as isFontsLoading,b as loadFont,i as loadFontFromBuffer,c as loadFonts,g as onFontsLoaded,k as preloadCommonFonts,a as toArrayBuffer}from'./chunk-INTPVEO6.mjs';export{c as emuToPixels,e as emuToTwips,k as formatPx,h as halfPointsToPixels,d as pixelsToEmu,b as pixelsToTwips,g as pointsToPixels,f as twipsToEmu,a as twipsToPixels}from'./chunk-54ULJEHM.mjs';export{e as getTemplateTags,a as processTemplate,c as processTemplateAsBlob,b as processTemplateDetailed,f as validateTemplate}from'./chunk-LVGJKS7Y.mjs';import'./chunk-TAUMSKRE.mjs';
|