@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
|
+
export{a as executeCommand,b as executeCommands}from'./chunk-5XK326FI.mjs';import'./chunk-W53SI3XW.mjs';import'./chunk-54ULJEHM.mjs';import'./chunk-TAUMSKRE.mjs';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';var chunkQGTAIC5E_js=require('./chunk-QGTAIC5E.js');require('./chunk-BUEMG4NW.js'),require('./chunk-Q7UDQXAF.js'),require('./chunk-H5NTJZO4.js');Object.defineProperty(exports,"executeCommand",{enumerable:true,get:function(){return chunkQGTAIC5E_js.a}});Object.defineProperty(exports,"executeCommands",{enumerable:true,get:function(){return chunkQGTAIC5E_js.b}});
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { d as DocumentBody, a as Paragraph, T as TextFormatting, H as Hyperlink, b as Run, e as Table, P as Position } from './agentApi-
|
|
2
|
-
export { f as AIAction, g as AIActionRequest, A as AgentCommand, h as AgentContext, i as AgentResponse, j as ApplyStyleCommand, k as ApplyVariablesCommand, l as BlockContent, C as Comment, m as CommentRangeEnd, n as CommentRangeStart, o as DEFAULT_AI_ACTIONS, p as DeleteTextCommand, q as Deletion, D as Document, r as DocxPackage, E as Endnote, F as Footnote, s as FormatParagraphCommand, t as FormatTextCommand, I as Image, u as InsertHyperlinkCommand, v as InsertImageCommand, w as InsertTableCommand, x as InsertTextCommand, y as Insertion, L as ListLevel, M as MoveFrom, z as MoveTo, N as NumberingDefinitions, G as ParagraphContent, J as ParagraphContext, K as ParagraphFormatting, O as ParagraphOutline, R as Range, Q as Relationship, S as ReplaceTextCommand, c as RunContent, U as SectionInfo, V as SectionProperties, W as SelectionContext, X as SetVariableCommand, Y as Style, Z as StyleDefinitions, _ as StyleInfo, $ as SuggestedAction, a0 as TableCell, a1 as TableRow, a2 as TextContent, a3 as Theme, a4 as TrackedChangeInfo, a5 as TrackedRunChange, a6 as comparePositions, a7 as createCollapsedRange, a8 as createCommand, a9 as createRange, aa as getActionDescription, ab as getActionLabel, ac as isPositionInRange } from './agentApi-
|
|
3
|
-
export { A as AgentContextOptions, S as ContextSelectionOptions, C as CreateEmptyDocumentOptions, E as ExtendedSelectionContext, F as FormattingSummary, P as ProcessTemplateOptions, a as ProcessTemplateResult, b as SelectionContextOptions, T as TemplateError, c as blendColors, d as buildExtendedSelectionContext, e as buildSelectionContext, f as buildSelectionContextFromContext, g as colorsEqual, h as createDocumentWithText, i as createEmptyDocument, j as createRgbColor, k as createTemplateProcessor, l as createThemeColor, m as darkenColor, n as emuToPixels, o as emuToTwips, p as executeCommand, q as executeCommands, r as formatPx, s as getAgentContext, t as getContrastingColor, u as getDocumentSummary, v as getMissingVariables, w as getSelectionFormattingSummary, x as getTemplateTags, 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, L as previewTemplate, M as processTemplate, N as processTemplateAdvanced, O as processTemplateAsBlob, Q as processTemplateDetailed, R as resolveColor, U as resolveHighlightColor, V as resolveShadingColor, W as serializeDocumentBody, X as serializeDocx, Y as serializeSectionProperties, Z as twipsToEmu, _ as twipsToPixels, $ as validateTemplate } from './
|
|
4
|
-
export { b as CommandHandler, d as CommandResult, C as CorePlugin, J as JsonSchema, L as LoadedDocument, e as McpSession, f as McpToolAnnotations, g as McpToolContent, h as McpToolContext, M as McpToolDefinition, i as McpToolHandler, j as McpToolResult, C as Plugin, 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, Z as ZodSchemaLike, m as isZodSchema } from './types-
|
|
5
|
-
export { D as DocumentAgent, F as FormattedTextSegment, I as InsertHyperlinkOptions, a as InsertImageOptions, b as InsertTableOptions, c as InsertTextOptions, d as attemptSelectiveSave, e as createAgent, f as createAgentFromDocument } from './DocumentAgent-
|
|
6
|
-
export { P as PluginRegistry, c as createPluginRegistrar, p as pluginRegistry, r as registerPlugins } from './registry-
|
|
7
|
-
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-
|
|
1
|
+
import { d as DocumentBody, a as Paragraph, T as TextFormatting, H as Hyperlink, b as Run, e as Table, P as Position } from './agentApi-DLt94vXk.mjs';
|
|
2
|
+
export { f as AIAction, g as AIActionRequest, A as AgentCommand, h as AgentContext, i as AgentResponse, j as ApplyStyleCommand, k as ApplyVariablesCommand, l as BlockContent, C as Comment, m as CommentRangeEnd, n as CommentRangeStart, o as DEFAULT_AI_ACTIONS, p as DeleteTextCommand, q as Deletion, D as Document, r as DocxPackage, E as Endnote, F as Footnote, s as FormatParagraphCommand, t as FormatTextCommand, I as Image, u as InsertHyperlinkCommand, v as InsertImageCommand, w as InsertTableCommand, x as InsertTextCommand, y as Insertion, L as ListLevel, M as MoveFrom, z as MoveTo, N as NumberingDefinitions, G as ParagraphContent, J as ParagraphContext, K as ParagraphFormatting, O as ParagraphOutline, R as Range, Q as Relationship, S as ReplaceTextCommand, c as RunContent, U as SectionInfo, V as SectionProperties, W as SelectionContext, X as SetVariableCommand, Y as Style, Z as StyleDefinitions, _ as StyleInfo, $ as SuggestedAction, a0 as TableCell, a1 as TableRow, a2 as TextContent, a3 as Theme, a4 as TrackedChangeInfo, a5 as TrackedRunChange, a6 as comparePositions, a7 as createCollapsedRange, a8 as createCommand, a9 as createRange, aa as getActionDescription, ab as getActionLabel, ac as isPositionInRange } from './agentApi-DLt94vXk.mjs';
|
|
3
|
+
export { A as AgentContextOptions, S as ContextSelectionOptions, C as CreateEmptyDocumentOptions, E as ExtendedSelectionContext, F as FormattingSummary, P as ProcessTemplateOptions, a as ProcessTemplateResult, b as SelectionContextOptions, T as TemplateError, c as blendColors, d as buildExtendedSelectionContext, e as buildSelectionContext, f as buildSelectionContextFromContext, g as colorsEqual, h as createDocumentWithText, i as createEmptyDocument, j as createRgbColor, k as createTemplateProcessor, l as createThemeColor, m as darkenColor, n as emuToPixels, o as emuToTwips, p as executeCommand, q as executeCommands, r as formatPx, s as getAgentContext, t as getContrastingColor, u as getDocumentSummary, v as getMissingVariables, w as getSelectionFormattingSummary, x as getTemplateTags, 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, L as previewTemplate, M as processTemplate, N as processTemplateAdvanced, O as processTemplateAsBlob, Q as processTemplateDetailed, R as resolveColor, U as resolveHighlightColor, 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
|
+
export { b as CommandHandler, d as CommandResult, C as CorePlugin, J as JsonSchema, L as LoadedDocument, e as McpSession, f as McpToolAnnotations, g as McpToolContent, h as McpToolContext, M as McpToolDefinition, i as McpToolHandler, j as McpToolResult, C as Plugin, 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, Z as ZodSchemaLike, m as isZodSchema } from './types-UDsUq8D3.mjs';
|
|
5
|
+
export { D as DocumentAgent, F as FormattedTextSegment, I as InsertHyperlinkOptions, a as InsertImageOptions, b as InsertTableOptions, c as InsertTextOptions, d as attemptSelectiveSave, e as createAgent, f as createAgentFromDocument } from './DocumentAgent-BWflKHpH.mjs';
|
|
6
|
+
export { P as PluginRegistry, c as createPluginRegistrar, p as pluginRegistry, r as registerPlugins } from './registry-CWBKYlNW.mjs';
|
|
7
|
+
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';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Shared Text Utilities for Agent Module
|
|
@@ -153,15 +153,17 @@ declare function getParagraphAtIndex(body: DocumentBody, index: number): Paragra
|
|
|
153
153
|
declare function getBlockIndexForParagraph(body: DocumentBody, paragraphIndex: number): number;
|
|
154
154
|
|
|
155
155
|
/**
|
|
156
|
-
*
|
|
156
|
+
* @eigenpal/docx-core/headless
|
|
157
157
|
*
|
|
158
|
-
*
|
|
159
|
-
*
|
|
158
|
+
* Headless aggregate for Node.js scripts, CLI tools, and server-side
|
|
159
|
+
* processing. Same surface as the default `.` entry, named to make the
|
|
160
|
+
* "no DOM" intent explicit. Prefer the smaller subpaths (`./docx`,
|
|
161
|
+
* `./agent`, `./utils`, etc.) for new code — they tree-shake better.
|
|
160
162
|
*
|
|
161
163
|
* @example
|
|
162
164
|
* ```ts
|
|
163
|
-
* import { DocumentAgent, parseDocx, pluginRegistry } from '@eigenpal/docx-
|
|
164
|
-
* import { docxtemplaterPlugin } from '@eigenpal/docx-
|
|
165
|
+
* import { DocumentAgent, parseDocx, pluginRegistry } from '@eigenpal/docx-core/headless';
|
|
166
|
+
* import { docxtemplaterPlugin } from '@eigenpal/docx-core/core-plugins';
|
|
165
167
|
*
|
|
166
168
|
* // Register plugins
|
|
167
169
|
* pluginRegistry.register(docxtemplaterPlugin);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { d as DocumentBody, a as Paragraph, T as TextFormatting, H as Hyperlink, b as Run, e as Table, P as Position } from './agentApi-
|
|
2
|
-
export { f as AIAction, g as AIActionRequest, A as AgentCommand, h as AgentContext, i as AgentResponse, j as ApplyStyleCommand, k as ApplyVariablesCommand, l as BlockContent, C as Comment, m as CommentRangeEnd, n as CommentRangeStart, o as DEFAULT_AI_ACTIONS, p as DeleteTextCommand, q as Deletion, D as Document, r as DocxPackage, E as Endnote, F as Footnote, s as FormatParagraphCommand, t as FormatTextCommand, I as Image, u as InsertHyperlinkCommand, v as InsertImageCommand, w as InsertTableCommand, x as InsertTextCommand, y as Insertion, L as ListLevel, M as MoveFrom, z as MoveTo, N as NumberingDefinitions, G as ParagraphContent, J as ParagraphContext, K as ParagraphFormatting, O as ParagraphOutline, R as Range, Q as Relationship, S as ReplaceTextCommand, c as RunContent, U as SectionInfo, V as SectionProperties, W as SelectionContext, X as SetVariableCommand, Y as Style, Z as StyleDefinitions, _ as StyleInfo, $ as SuggestedAction, a0 as TableCell, a1 as TableRow, a2 as TextContent, a3 as Theme, a4 as TrackedChangeInfo, a5 as TrackedRunChange, a6 as comparePositions, a7 as createCollapsedRange, a8 as createCommand, a9 as createRange, aa as getActionDescription, ab as getActionLabel, ac as isPositionInRange } from './agentApi-
|
|
3
|
-
export { A as AgentContextOptions, S as ContextSelectionOptions, C as CreateEmptyDocumentOptions, E as ExtendedSelectionContext, F as FormattingSummary, P as ProcessTemplateOptions, a as ProcessTemplateResult, b as SelectionContextOptions, T as TemplateError, c as blendColors, d as buildExtendedSelectionContext, e as buildSelectionContext, f as buildSelectionContextFromContext, g as colorsEqual, h as createDocumentWithText, i as createEmptyDocument, j as createRgbColor, k as createTemplateProcessor, l as createThemeColor, m as darkenColor, n as emuToPixels, o as emuToTwips, p as executeCommand, q as executeCommands, r as formatPx, s as getAgentContext, t as getContrastingColor, u as getDocumentSummary, v as getMissingVariables, w as getSelectionFormattingSummary, x as getTemplateTags, 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, L as previewTemplate, M as processTemplate, N as processTemplateAdvanced, O as processTemplateAsBlob, Q as processTemplateDetailed, R as resolveColor, U as resolveHighlightColor, V as resolveShadingColor, W as serializeDocumentBody, X as serializeDocx, Y as serializeSectionProperties, Z as twipsToEmu, _ as twipsToPixels, $ as validateTemplate } from './
|
|
4
|
-
export { b as CommandHandler, d as CommandResult, C as CorePlugin, J as JsonSchema, L as LoadedDocument, e as McpSession, f as McpToolAnnotations, g as McpToolContent, h as McpToolContext, M as McpToolDefinition, i as McpToolHandler, j as McpToolResult, C as Plugin, 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, Z as ZodSchemaLike, m as isZodSchema } from './types-
|
|
5
|
-
export { D as DocumentAgent, F as FormattedTextSegment, I as InsertHyperlinkOptions, a as InsertImageOptions, b as InsertTableOptions, c as InsertTextOptions, d as attemptSelectiveSave, e as createAgent, f as createAgentFromDocument } from './DocumentAgent-
|
|
6
|
-
export { P as PluginRegistry, c as createPluginRegistrar, p as pluginRegistry, r as registerPlugins } from './registry-
|
|
7
|
-
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-
|
|
1
|
+
import { d as DocumentBody, a as Paragraph, T as TextFormatting, H as Hyperlink, b as Run, e as Table, P as Position } from './agentApi-DLt94vXk.js';
|
|
2
|
+
export { f as AIAction, g as AIActionRequest, A as AgentCommand, h as AgentContext, i as AgentResponse, j as ApplyStyleCommand, k as ApplyVariablesCommand, l as BlockContent, C as Comment, m as CommentRangeEnd, n as CommentRangeStart, o as DEFAULT_AI_ACTIONS, p as DeleteTextCommand, q as Deletion, D as Document, r as DocxPackage, E as Endnote, F as Footnote, s as FormatParagraphCommand, t as FormatTextCommand, I as Image, u as InsertHyperlinkCommand, v as InsertImageCommand, w as InsertTableCommand, x as InsertTextCommand, y as Insertion, L as ListLevel, M as MoveFrom, z as MoveTo, N as NumberingDefinitions, G as ParagraphContent, J as ParagraphContext, K as ParagraphFormatting, O as ParagraphOutline, R as Range, Q as Relationship, S as ReplaceTextCommand, c as RunContent, U as SectionInfo, V as SectionProperties, W as SelectionContext, X as SetVariableCommand, Y as Style, Z as StyleDefinitions, _ as StyleInfo, $ as SuggestedAction, a0 as TableCell, a1 as TableRow, a2 as TextContent, a3 as Theme, a4 as TrackedChangeInfo, a5 as TrackedRunChange, a6 as comparePositions, a7 as createCollapsedRange, a8 as createCommand, a9 as createRange, aa as getActionDescription, ab as getActionLabel, ac as isPositionInRange } from './agentApi-DLt94vXk.js';
|
|
3
|
+
export { A as AgentContextOptions, S as ContextSelectionOptions, C as CreateEmptyDocumentOptions, E as ExtendedSelectionContext, F as FormattingSummary, P as ProcessTemplateOptions, a as ProcessTemplateResult, b as SelectionContextOptions, T as TemplateError, c as blendColors, d as buildExtendedSelectionContext, e as buildSelectionContext, f as buildSelectionContextFromContext, g as colorsEqual, h as createDocumentWithText, i as createEmptyDocument, j as createRgbColor, k as createTemplateProcessor, l as createThemeColor, m as darkenColor, n as emuToPixels, o as emuToTwips, p as executeCommand, q as executeCommands, r as formatPx, s as getAgentContext, t as getContrastingColor, u as getDocumentSummary, v as getMissingVariables, w as getSelectionFormattingSummary, x as getTemplateTags, 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, L as previewTemplate, M as processTemplate, N as processTemplateAdvanced, O as processTemplateAsBlob, Q as processTemplateDetailed, R as resolveColor, U as resolveHighlightColor, V as resolveShadingColor, W as serializeDocumentBody, X as serializeDocx, Y as serializeSectionProperties, Z as twipsToEmu, _ as twipsToPixels, $ as validateTemplate } from './documentSerializer-Wj1p2ASa.js';
|
|
4
|
+
export { b as CommandHandler, d as CommandResult, C as CorePlugin, J as JsonSchema, L as LoadedDocument, e as McpSession, f as McpToolAnnotations, g as McpToolContent, h as McpToolContext, M as McpToolDefinition, i as McpToolHandler, j as McpToolResult, C as Plugin, 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, Z as ZodSchemaLike, m as isZodSchema } from './types-jbivc9Lj.js';
|
|
5
|
+
export { D as DocumentAgent, F as FormattedTextSegment, I as InsertHyperlinkOptions, a as InsertImageOptions, b as InsertTableOptions, c as InsertTextOptions, d as attemptSelectiveSave, e as createAgent, f as createAgentFromDocument } from './DocumentAgent-DsdXtetF.js';
|
|
6
|
+
export { P as PluginRegistry, c as createPluginRegistrar, p as pluginRegistry, r as registerPlugins } from './registry-CH9V-IX0.js';
|
|
7
|
+
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';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Shared Text Utilities for Agent Module
|
|
@@ -153,15 +153,17 @@ declare function getParagraphAtIndex(body: DocumentBody, index: number): Paragra
|
|
|
153
153
|
declare function getBlockIndexForParagraph(body: DocumentBody, paragraphIndex: number): number;
|
|
154
154
|
|
|
155
155
|
/**
|
|
156
|
-
*
|
|
156
|
+
* @eigenpal/docx-core/headless
|
|
157
157
|
*
|
|
158
|
-
*
|
|
159
|
-
*
|
|
158
|
+
* Headless aggregate for Node.js scripts, CLI tools, and server-side
|
|
159
|
+
* processing. Same surface as the default `.` entry, named to make the
|
|
160
|
+
* "no DOM" intent explicit. Prefer the smaller subpaths (`./docx`,
|
|
161
|
+
* `./agent`, `./utils`, etc.) for new code — they tree-shake better.
|
|
160
162
|
*
|
|
161
163
|
* @example
|
|
162
164
|
* ```ts
|
|
163
|
-
* import { DocumentAgent, parseDocx, pluginRegistry } from '@eigenpal/docx-
|
|
164
|
-
* import { docxtemplaterPlugin } from '@eigenpal/docx-
|
|
165
|
+
* import { DocumentAgent, parseDocx, pluginRegistry } from '@eigenpal/docx-core/headless';
|
|
166
|
+
* import { docxtemplaterPlugin } from '@eigenpal/docx-core/core-plugins';
|
|
165
167
|
*
|
|
166
168
|
* // Register plugins
|
|
167
169
|
* pluginRegistry.register(docxtemplaterPlugin);
|
|
@@ -1,4 +1 @@
|
|
|
1
|
-
'use strict';var chunkQVPR2W5S_js=require('./chunk-QVPR2W5S.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');function l(n){let e=[];for(let t of n.content)t.type==="run"?e.push(c(t)):t.type==="hyperlink"&&e.push(g(t));return e.join("")}function c(n){return n.content.filter(e=>e.type==="text").map(e=>e.text).join("")}function g(n){let e=[];for(let t of n.children)t.type==="run"&&e.push(c(t));return e.join("")}function f(n){let e=[];for(let t of n.rows)for(let o of t.cells)for(let r of o.content)r.type==="paragraph"&&e.push(l(r));return e.join(" ")}function Ne(n){let e=[];for(let t of n.content)t.type==="paragraph"?e.push(l(t)):t.type==="table"&&e.push(f(t));return e.join(`
|
|
2
|
-
`)}function m(n){return n.split(/\s+/).filter(t=>t.length>0).length}function qe(n,e=true){return e?n.length:n.replace(/\s/g,"").length}function Ze(n){let e=0;for(let t of n.content)t.type==="paragraph"?e+=m(l(t)):t.type==="table"&&(e+=_e(t));return e}function _e(n){let e=0;for(let t of n.rows)for(let o of t.cells)for(let r of o.content)r.type==="paragraph"&&(e+=m(l(r)));return e}function Je(n){let e=0;for(let t of n.content)t.type==="paragraph"?e+=l(t).length:t.type==="table"&&(e+=Ue(t));return e}function Ue(n){let e=0;for(let t of n.rows)for(let o of t.cells)for(let r of o.content)r.type==="paragraph"&&(e+=l(r).length);return e}function Xe(n,e,t){let o=[],r=0,i=n[e.paragraphIndex];if(i){let s=l(i).slice(0,e.offset);o.unshift(s),r+=s.length;}for(let p=e.paragraphIndex-1;p>=0&&r<t;p--){let s=n[p];if(!s)continue;let u=l(s);o.unshift(u),r+=u.length;}let a=o.join(`
|
|
3
|
-
`);return a.length>t?"..."+a.slice(-t):a}function Ge(n,e,t){let o=[],r=0,i=n[e.paragraphIndex];if(i){let s=l(i).slice(e.offset);o.push(s),r+=s.length;}for(let p=e.paragraphIndex+1;p<n.length&&r<t;p++){let s=n[p];if(!s)continue;let u=l(s);o.push(u),r+=u.length;}let a=o.join(`
|
|
4
|
-
`);return a.length>t?a.slice(0,t)+"...":a}function Ke(n,e){let t=0;for(let o of n.content)if(o.type==="run"){let r=c(o),i=t+r.length;if(e>=t&&e<i)return o.formatting||{};t=i;}else if(o.type==="hyperlink"){let r=g(o),i=t+r.length;if(e>=t&&e<i){for(let a of o.children)if(a.type==="run")return a.formatting||{}}t=i;}return {}}function Qe(n,e){let t=0;for(let o of n.content)if(o.type==="run"){let r=c(o);t+=r.length;}else if(o.type==="hyperlink"){let r=g(o),i=t,a=t+r.length;if(e>=i&&e<a)return true;t=a;}return false}function Ye(n,e){let t=0;for(let o of n.content)if(o.type==="run"){let r=c(o);t+=r.length;}else if(o.type==="hyperlink"){let r=g(o),i=t,a=t+r.length;if(e>=i&&e<a)return o;t=a;}}function $e(n){return n?n.toLowerCase().includes("heading"):false}function et(n){if(!n)return;let e=n.match(/heading\s*(\d)/i);if(e)return parseInt(e[1],10)}function tt(n){for(let e of n.content)if(e.type==="paragraph"){for(let t of e.content)if(t.type==="run"){for(let o of t.content)if(o.type==="drawing")return true}}return false}function nt(n){for(let e of n.content)if(e.type==="paragraph"){for(let t of e.content)if(t.type==="hyperlink")return true}return false}function ot(n){return n.content.some(e=>e.type==="table")}function x(n){return n.content.filter(e=>e.type==="paragraph")}function rt(n,e){return x(n)[e]}function at(n,e){let t=0;for(let o=0;o<n.content.length;o++)if(n.content[o].type==="paragraph"){if(t===e)return o;t++;}return -1}var st="0.0.2";Object.defineProperty(exports,"DEFAULT_AI_ACTIONS",{enumerable:true,get:function(){return chunkQVPR2W5S_js.g}});Object.defineProperty(exports,"comparePositions",{enumerable:true,get:function(){return chunkQVPR2W5S_js.d}});Object.defineProperty(exports,"createCollapsedRange",{enumerable:true,get:function(){return chunkQVPR2W5S_js.a}});Object.defineProperty(exports,"createCommand",{enumerable:true,get:function(){return chunkQVPR2W5S_js.h}});Object.defineProperty(exports,"createRange",{enumerable:true,get:function(){return chunkQVPR2W5S_js.b}});Object.defineProperty(exports,"getActionDescription",{enumerable:true,get:function(){return chunkQVPR2W5S_js.f}});Object.defineProperty(exports,"getActionLabel",{enumerable:true,get:function(){return chunkQVPR2W5S_js.e}});Object.defineProperty(exports,"isPositionInRange",{enumerable:true,get:function(){return chunkQVPR2W5S_js.c}});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,"buildSelectionContextFromContext",{enumerable:true,get:function(){return chunkP7WEP4JU_js.j}});Object.defineProperty(exports,"createAgent",{enumerable:true,get:function(){return chunkP7WEP4JU_js.g}});Object.defineProperty(exports,"createAgentFromDocument",{enumerable:true,get:function(){return chunkP7WEP4JU_js.h}});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,"getSelectionFormattingSummary",{enumerable:true,get:function(){return chunkP7WEP4JU_js.n}});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,"getContrastingColor",{enumerable:true,get:function(){return chunk4VUZBV2S_js.f}});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,"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,"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,"isZodSchema",{enumerable:true,get:function(){return chunkKCOGY3V2_js.n}});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,"createTemplateProcessor",{enumerable:true,get:function(){return chunkPB7VMDDP_js.j}});Object.defineProperty(exports,"getMissingVariables",{enumerable:true,get:function(){return chunkPB7VMDDP_js.g}});Object.defineProperty(exports,"getTemplateTags",{enumerable:true,get:function(){return chunkPB7VMDDP_js.e}});Object.defineProperty(exports,"previewTemplate",{enumerable:true,get:function(){return chunkPB7VMDDP_js.h}});Object.defineProperty(exports,"processTemplate",{enumerable:true,get:function(){return chunkPB7VMDDP_js.a}});Object.defineProperty(exports,"processTemplateAdvanced",{enumerable:true,get:function(){return chunkPB7VMDDP_js.i}});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,"parseDocx",{enumerable:true,get:function(){return chunkKUL2SDYC_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}});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}});exports.VERSION=st;exports.countCharacters=qe;exports.countWords=m;exports.getBlockIndexForParagraph=at;exports.getBodyCharacterCount=Je;exports.getBodyText=Ne;exports.getBodyWordCount=Ze;exports.getFormattingAtPosition=Ke;exports.getHyperlinkAtPosition=Ye;exports.getHyperlinkText=g;exports.getParagraphAtIndex=rt;exports.getParagraphText=l;exports.getParagraphs=x;exports.getRunText=c;exports.getTableText=f;exports.getTextAfter=Ge;exports.getTextBefore=Xe;exports.hasHyperlinks=nt;exports.hasImages=tt;exports.hasTables=ot;exports.isHeadingStyle=$e;exports.isPositionInHyperlink=Qe;exports.parseHeadingLevel=et;
|
|
1
|
+
'use strict';var chunkUWYD42WV_js=require('./chunk-UWYD42WV.js'),chunkQVPR2W5S_js=require('./chunk-QVPR2W5S.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'),require('./chunk-MWLHJWB6.js');var chunkQ7UDQXAF_js=require('./chunk-Q7UDQXAF.js'),chunkYC5KZSYD_js=require('./chunk-YC5KZSYD.js');require('./chunk-H5NTJZO4.js');var je="0.0.2";Object.defineProperty(exports,"countCharacters",{enumerable:true,get:function(){return chunkUWYD42WV_js.g}});Object.defineProperty(exports,"countWords",{enumerable:true,get:function(){return chunkUWYD42WV_js.f}});Object.defineProperty(exports,"getBlockIndexForParagraph",{enumerable:true,get:function(){return chunkUWYD42WV_js.v}});Object.defineProperty(exports,"getBodyCharacterCount",{enumerable:true,get:function(){return chunkUWYD42WV_js.i}});Object.defineProperty(exports,"getBodyText",{enumerable:true,get:function(){return chunkUWYD42WV_js.e}});Object.defineProperty(exports,"getBodyWordCount",{enumerable:true,get:function(){return chunkUWYD42WV_js.h}});Object.defineProperty(exports,"getFormattingAtPosition",{enumerable:true,get:function(){return chunkUWYD42WV_js.l}});Object.defineProperty(exports,"getHyperlinkAtPosition",{enumerable:true,get:function(){return chunkUWYD42WV_js.n}});Object.defineProperty(exports,"getHyperlinkText",{enumerable:true,get:function(){return chunkUWYD42WV_js.c}});Object.defineProperty(exports,"getParagraphAtIndex",{enumerable:true,get:function(){return chunkUWYD42WV_js.u}});Object.defineProperty(exports,"getParagraphText",{enumerable:true,get:function(){return chunkUWYD42WV_js.a}});Object.defineProperty(exports,"getParagraphs",{enumerable:true,get:function(){return chunkUWYD42WV_js.t}});Object.defineProperty(exports,"getRunText",{enumerable:true,get:function(){return chunkUWYD42WV_js.b}});Object.defineProperty(exports,"getTableText",{enumerable:true,get:function(){return chunkUWYD42WV_js.d}});Object.defineProperty(exports,"getTextAfter",{enumerable:true,get:function(){return chunkUWYD42WV_js.k}});Object.defineProperty(exports,"getTextBefore",{enumerable:true,get:function(){return chunkUWYD42WV_js.j}});Object.defineProperty(exports,"hasHyperlinks",{enumerable:true,get:function(){return chunkUWYD42WV_js.r}});Object.defineProperty(exports,"hasImages",{enumerable:true,get:function(){return chunkUWYD42WV_js.q}});Object.defineProperty(exports,"hasTables",{enumerable:true,get:function(){return chunkUWYD42WV_js.s}});Object.defineProperty(exports,"isHeadingStyle",{enumerable:true,get:function(){return chunkUWYD42WV_js.o}});Object.defineProperty(exports,"isPositionInHyperlink",{enumerable:true,get:function(){return chunkUWYD42WV_js.m}});Object.defineProperty(exports,"parseHeadingLevel",{enumerable:true,get:function(){return chunkUWYD42WV_js.p}});Object.defineProperty(exports,"DEFAULT_AI_ACTIONS",{enumerable:true,get:function(){return chunkQVPR2W5S_js.g}});Object.defineProperty(exports,"comparePositions",{enumerable:true,get:function(){return chunkQVPR2W5S_js.d}});Object.defineProperty(exports,"createCollapsedRange",{enumerable:true,get:function(){return chunkQVPR2W5S_js.a}});Object.defineProperty(exports,"createCommand",{enumerable:true,get:function(){return chunkQVPR2W5S_js.h}});Object.defineProperty(exports,"createRange",{enumerable:true,get:function(){return chunkQVPR2W5S_js.b}});Object.defineProperty(exports,"getActionDescription",{enumerable:true,get:function(){return chunkQVPR2W5S_js.f}});Object.defineProperty(exports,"getActionLabel",{enumerable:true,get:function(){return chunkQVPR2W5S_js.e}});Object.defineProperty(exports,"isPositionInRange",{enumerable:true,get:function(){return chunkQVPR2W5S_js.c}});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,"buildSelectionContextFromContext",{enumerable:true,get:function(){return chunkPQMSZTBB_js.h}});Object.defineProperty(exports,"createAgent",{enumerable:true,get:function(){return chunkPQMSZTBB_js.e}});Object.defineProperty(exports,"createAgentFromDocument",{enumerable:true,get:function(){return chunkPQMSZTBB_js.f}});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,"getSelectionFormattingSummary",{enumerable:true,get:function(){return chunkPQMSZTBB_js.l}});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,"getContrastingColor",{enumerable:true,get:function(){return chunkSNLC6EK2_js.g}});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,"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,"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,"isZodSchema",{enumerable:true,get:function(){return chunkLUF7PWIC_js.n}});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,"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}});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,"createTemplateProcessor",{enumerable:true,get:function(){return chunkYC5KZSYD_js.j}});Object.defineProperty(exports,"getMissingVariables",{enumerable:true,get:function(){return chunkYC5KZSYD_js.g}});Object.defineProperty(exports,"getTemplateTags",{enumerable:true,get:function(){return chunkYC5KZSYD_js.e}});Object.defineProperty(exports,"previewTemplate",{enumerable:true,get:function(){return chunkYC5KZSYD_js.h}});Object.defineProperty(exports,"processTemplate",{enumerable:true,get:function(){return chunkYC5KZSYD_js.a}});Object.defineProperty(exports,"processTemplateAdvanced",{enumerable:true,get:function(){return chunkYC5KZSYD_js.i}});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}});exports.VERSION=je;
|
|
@@ -1,4 +1 @@
|
|
|
1
|
-
export{g as DEFAULT_AI_ACTIONS,d as comparePositions,a as createCollapsedRange,h as createCommand,b as createRange,f as getActionDescription,e as getActionLabel,c as isPositionInRange}from'./chunk-6WPRCJ5A.mjs';export{
|
|
2
|
-
`)}function m(n){return n.split(/\s+/).filter(t=>t.length>0).length}function qe(n,e=true){return e?n.length:n.replace(/\s/g,"").length}function Ze(n){let e=0;for(let t of n.content)t.type==="paragraph"?e+=m(l(t)):t.type==="table"&&(e+=_e(t));return e}function _e(n){let e=0;for(let t of n.rows)for(let o of t.cells)for(let r of o.content)r.type==="paragraph"&&(e+=m(l(r)));return e}function Je(n){let e=0;for(let t of n.content)t.type==="paragraph"?e+=l(t).length:t.type==="table"&&(e+=Ue(t));return e}function Ue(n){let e=0;for(let t of n.rows)for(let o of t.cells)for(let r of o.content)r.type==="paragraph"&&(e+=l(r).length);return e}function Xe(n,e,t){let o=[],r=0,i=n[e.paragraphIndex];if(i){let s=l(i).slice(0,e.offset);o.unshift(s),r+=s.length;}for(let p=e.paragraphIndex-1;p>=0&&r<t;p--){let s=n[p];if(!s)continue;let u=l(s);o.unshift(u),r+=u.length;}let a=o.join(`
|
|
3
|
-
`);return a.length>t?"..."+a.slice(-t):a}function Ge(n,e,t){let o=[],r=0,i=n[e.paragraphIndex];if(i){let s=l(i).slice(e.offset);o.push(s),r+=s.length;}for(let p=e.paragraphIndex+1;p<n.length&&r<t;p++){let s=n[p];if(!s)continue;let u=l(s);o.push(u),r+=u.length;}let a=o.join(`
|
|
4
|
-
`);return a.length>t?a.slice(0,t)+"...":a}function Ke(n,e){let t=0;for(let o of n.content)if(o.type==="run"){let r=c(o),i=t+r.length;if(e>=t&&e<i)return o.formatting||{};t=i;}else if(o.type==="hyperlink"){let r=g(o),i=t+r.length;if(e>=t&&e<i){for(let a of o.children)if(a.type==="run")return a.formatting||{}}t=i;}return {}}function Qe(n,e){let t=0;for(let o of n.content)if(o.type==="run"){let r=c(o);t+=r.length;}else if(o.type==="hyperlink"){let r=g(o),i=t,a=t+r.length;if(e>=i&&e<a)return true;t=a;}return false}function Ye(n,e){let t=0;for(let o of n.content)if(o.type==="run"){let r=c(o);t+=r.length;}else if(o.type==="hyperlink"){let r=g(o),i=t,a=t+r.length;if(e>=i&&e<a)return o;t=a;}}function $e(n){return n?n.toLowerCase().includes("heading"):false}function et(n){if(!n)return;let e=n.match(/heading\s*(\d)/i);if(e)return parseInt(e[1],10)}function tt(n){for(let e of n.content)if(e.type==="paragraph"){for(let t of e.content)if(t.type==="run"){for(let o of t.content)if(o.type==="drawing")return true}}return false}function nt(n){for(let e of n.content)if(e.type==="paragraph"){for(let t of e.content)if(t.type==="hyperlink")return true}return false}function ot(n){return n.content.some(e=>e.type==="table")}function x(n){return n.content.filter(e=>e.type==="paragraph")}function rt(n,e){return x(n)[e]}function at(n,e){let t=0;for(let o=0;o<n.content.length;o++)if(n.content[o].type==="paragraph"){if(t===e)return o;t++;}return -1}var st="0.0.2";export{st as VERSION,qe as countCharacters,m as countWords,at as getBlockIndexForParagraph,Je as getBodyCharacterCount,Ne as getBodyText,Ze as getBodyWordCount,Ke as getFormattingAtPosition,Ye as getHyperlinkAtPosition,g as getHyperlinkText,rt as getParagraphAtIndex,l as getParagraphText,x as getParagraphs,c as getRunText,f as getTableText,Ge as getTextAfter,Xe as getTextBefore,nt as hasHyperlinks,tt as hasImages,ot as hasTables,$e as isHeadingStyle,Qe as isPositionInHyperlink,et as parseHeadingLevel};
|
|
1
|
+
export{g as countCharacters,f as countWords,v as getBlockIndexForParagraph,i as getBodyCharacterCount,e as getBodyText,h as getBodyWordCount,l as getFormattingAtPosition,n as getHyperlinkAtPosition,c as getHyperlinkText,u as getParagraphAtIndex,a as getParagraphText,t as getParagraphs,b as getRunText,d as getTableText,k as getTextAfter,j as getTextBefore,r as hasHyperlinks,q as hasImages,s as hasTables,o as isHeadingStyle,m as isPositionInHyperlink,p as parseHeadingLevel}from'./chunk-JCEWC5QL.mjs';export{g as DEFAULT_AI_ACTIONS,d as comparePositions,a as createCollapsedRange,h as createCommand,b as createRange,f as getActionDescription,e as getActionLabel,c as isPositionInRange}from'./chunk-6WPRCJ5A.mjs';export{d as DocumentAgent,c as attemptSelectiveSave,k as buildExtendedSelectionContext,b as buildPatchedDocumentXml,j as buildSelectionContext,h as buildSelectionContextFromContext,e as createAgent,f as createAgentFromDocument,g as getAgentContext,i as getDocumentSummary,l as getSelectionFormattingSummary,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,g as getContrastingColor,e as isBlack,f as isWhite,l as lightenColor,h as parseColorString,a as resolveColor,c as resolveHighlightColor,d as resolveShadingColor}from'./chunk-CPAYKE6X.mjs';export{a as detectVariables,b as detectVariablesDetailed,c as detectVariablesInBody,d as detectVariablesInParagraph,m as documentHasVariables,e as extractVariablesFromText,i as formatVariable,f as hasTemplateVariables,g as isValidVariableName,n as isZodSchema,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,d as createPluginRegistrar,b as pluginRegistry,c as registerPlugins}from'./chunk-W53SI3XW.mjs';import'./chunk-RBUTXXQJ.mjs';import'./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{j as createTemplateProcessor,g as getMissingVariables,e as getTemplateTags,h as previewTemplate,a as processTemplate,i as processTemplateAdvanced,c as processTemplateAsBlob,b as processTemplateDetailed,f as validateTemplate}from'./chunk-LVGJKS7Y.mjs';import'./chunk-TAUMSKRE.mjs';var je="0.0.2";export{je as VERSION};
|
package/dist/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.prosemirror-editor-wrapper{min-height:100%}.prosemirror-editor{width:var(--page-width, 8.5in)}.prosemirror-editor .ProseMirror{background:#fff;box-shadow:0 2px 8px #00000026;width:var(--page-width, 8.5in);min-height:var(--page-height, 11in);padding-top:var(--margin-top, 72px);padding-bottom:var(--margin-bottom, 72px);padding-left:var(--margin-left, 72px);padding-right:var(--margin-right, 72px);outline:none;font-family:Calibri,Arial,sans-serif;font-size:11pt;color:#000;white-space:pre-wrap;word-wrap:break-word;-o-tab-size:48;tab-size:48;-moz-tab-size:48;box-sizing:border-box;position:relative}.prosemirror-editor .ProseMirror .docx-page-break{display:block;position:relative;height:40px;margin:0 calc(-1 * var(--margin-left, 72px));margin-right:calc(-1 * var(--margin-right, 72px));background:var(--doc-bg);border:none;pointer-events:none}.prosemirror-editor .ProseMirror .docx-page-break:before{content:"";position:absolute;bottom:0;left:0;right:0;height:8px;background:linear-gradient(to bottom,transparent,rgba(0,0,0,.08))}.prosemirror-editor .ProseMirror .docx-page-break:after{content:"";position:absolute;top:0;left:0;right:0;height:8px;background:linear-gradient(to top,transparent,rgba(0,0,0,.08))}.prosemirror-editor .ProseMirror [data-page-break-before=true]{-moz-column-break-before:page;break-before:page}.prosemirror-editor .ProseMirror .docx-page-break-line{display:block;position:relative;height:1px;margin:20px calc(-1 * var(--margin-left, 72px));margin-right:calc(-1 * var(--margin-right, 72px));border-top:1px dashed var(--doc-border)}.prosemirror-editor .ProseMirror .docx-page-break-line:before{content:"Page Break";position:absolute;top:-10px;left:50%;transform:translate(-50%);background:var(--doc-bg);padding:0 8px;font-size:10px;color:var(--doc-text-muted);white-space:nowrap}.prosemirror-editor .ProseMirror:focus{outline:none}.prosemirror-editor .ProseMirror p{display:block;margin:0;padding:0;min-height:1em;white-space:pre-wrap;word-wrap:break-word;line-height:normal}.prosemirror-editor .ProseMirror p:empty:before{content:"\a0"}.prosemirror-editor .ProseMirror span{display:inline;white-space:pre-wrap}.prosemirror-editor .ProseMirror .docx-list-bullet,.prosemirror-editor .ProseMirror .docx-list-numbered{position:relative;padding-left:48px}.prosemirror-editor .ProseMirror [data-list-marker]:before{content:attr(data-list-marker);position:absolute;left:0;width:44px;text-align:right;white-space:nowrap}.prosemirror-editor .ProseMirror .docx-list-bullet:not([data-list-marker]):before{content:"\2022";position:absolute;left:0;width:44px;text-align:right}.prosemirror-editor .ProseMirror .docx-list-numbered:not([data-list-marker]){counter-increment:list-counter}.prosemirror-editor .ProseMirror .docx-list-decimal:not([data-list-marker]):before{content:counter(list-counter) ".";position:absolute;left:0;width:44px;text-align:right}.prosemirror-editor .ProseMirror .docx-list-lower-roman:not([data-list-marker]):before{content:counter(list-counter,lower-roman) ".";position:absolute;left:0;width:44px;text-align:right}.prosemirror-editor .ProseMirror .docx-list-upper-roman:not([data-list-marker]):before{content:counter(list-counter,upper-roman) ".";position:absolute;left:0;width:44px;text-align:right}.prosemirror-editor .ProseMirror .docx-list-lower-alpha:not([data-list-marker]):before{content:counter(list-counter,lower-alpha) ".";position:absolute;left:0;width:44px;text-align:right}.prosemirror-editor .ProseMirror .docx-list-upper-alpha:not([data-list-marker]):before{content:counter(list-counter,upper-alpha) ".";position:absolute;left:0;width:44px;text-align:right}.prosemirror-editor .ProseMirror .docx-list-level-0:not([data-list-marker]):first-of-type{counter-reset:list-counter}.prosemirror-editor .ProseMirror .docx-list-level-1{margin-left:.5in}.prosemirror-editor .ProseMirror .docx-list-level-2{margin-left:1in}.prosemirror-editor .ProseMirror .docx-list-level-3{margin-left:1.5in}.prosemirror-editor .ProseMirror .docx-list-level-4{margin-left:2in}.prosemirror-editor .ProseMirror .docx-list-level-5{margin-left:2.5in}.prosemirror-editor .ProseMirror .docx-list-level-6{margin-left:3in}.prosemirror-editor .ProseMirror .docx-list-level-7{margin-left:3.5in}.prosemirror-editor .ProseMirror .docx-list-level-8{margin-left:4in}.prosemirror-editor .ProseMirror ::-moz-selection{background:#4285f44d}.prosemirror-editor .ProseMirror ::selection{background:#4285f44d}.prosemirror-editor[data-placeholder]:before{content:attr(data-placeholder);color:#aaa;position:absolute;pointer-events:none}.prosemirror-editor .ProseMirror img.docx-image{display:inline;max-width:100%;-o-object-fit:contain;object-fit:contain;vertical-align:baseline;outline:none}.prosemirror-editor .ProseMirror img.docx-image-float-left{clear:left}.prosemirror-editor .ProseMirror img.docx-image-float-right{clear:right}.prosemirror-editor .ProseMirror img.docx-image-block{clear:both}.prosemirror-editor .ProseMirror p:has(>img.docx-image-block:only-child){text-indent:0!important;text-align:center}.prosemirror-editor .ProseMirror p:has(img.docx-image-float):after{content:"";display:table;clear:both}.prosemirror-editor .ProseMirror img.docx-image.ProseMirror-selectednode{outline:2px solid var(--doc-primary, #4285f4);outline-offset:2px;cursor:grab}.prosemirror-editor .ProseMirror.pm-image-dragging img.docx-image.ProseMirror-selectednode{opacity:.4;outline:2px dashed var(--doc-primary, #4285f4);cursor:grabbing}.prosemirror-editor .ProseMirror img:not(.docx-image){max-width:100%;height:auto}.prosemirror-editor .ProseMirror .docx-shape{display:inline-block;vertical-align:middle;line-height:0;cursor:pointer}.prosemirror-editor .ProseMirror .docx-shape.ProseMirror-selectednode{outline:2px solid var(--doc-primary, #4285f4);outline-offset:2px}.prosemirror-editor .ProseMirror .docx-textbox{border-radius:2px;margin:4px 0;cursor:text}.prosemirror-editor .ProseMirror .docx-textbox.ProseMirror-selectednode{outline:2px solid var(--doc-primary, #4285f4);outline-offset:2px}.prosemirror-editor .ProseMirror a{color:var(--doc-link);text-decoration:underline}.prosemirror-editor .ProseMirror a:hover{color:var(--doc-primary-hover)}.prosemirror-editor .ProseMirror .docx-footnote-ref,.prosemirror-editor .ProseMirror .docx-endnote-ref{color:var(--doc-link, #0066cc);cursor:pointer;vertical-align:super;font-size:smaller}.prosemirror-editor .ProseMirror .docx-footnote-ref:hover,.prosemirror-editor .ProseMirror .docx-endnote-ref:hover{text-decoration:underline}.prosemirror-editor .ProseMirror hr{border:none;border-top:1px solid #000;margin:12pt 0;height:0}.prosemirror-editor .ProseMirror table.docx-table{border-collapse:collapse;margin:12pt 0;max-width:100%}.prosemirror-editor .ProseMirror td.docx-table-cell,.prosemirror-editor .ProseMirror th.docx-table-header{padding:4px 8px;vertical-align:top;min-width:30px}.prosemirror-editor .ProseMirror th.docx-table-header{font-weight:700;text-align:left}.prosemirror-editor .ProseMirror td p,.prosemirror-editor .ProseMirror th p{margin:0;padding:0;min-height:auto}.prosemirror-editor .ProseMirror td p:first-child,.prosemirror-editor .ProseMirror th p:first-child{margin-top:0}.prosemirror-editor .ProseMirror td p:last-child,.prosemirror-editor .ProseMirror th p:last-child{margin-bottom:0}.prosemirror-editor .ProseMirror .activeCell{outline:2px solid rgba(66,133,244,.5);outline-offset:-2px}.prosemirror-editor .ProseMirror .selectedCell{background-color:#4285f426}.prosemirror-editor .ProseMirror .selectedCell:after{content:"";position:absolute;inset:0;background:#4285f41a;pointer-events:none}.prosemirror-editor .ProseMirror table table{margin:4px 0}.prosemirror-editor .ProseMirror .column-resize-handle{position:absolute;right:-2px;top:0;bottom:0;width:4px;background-color:#4285f480;cursor:col-resize;z-index:20}.prosemirror-editor .ProseMirror td.docx-table-cell,.prosemirror-editor .ProseMirror th.docx-table-header{position:relative}.prosemirror-editor .ProseMirror.resize-cursor{cursor:col-resize}.prosemirror-editor .ProseMirror table:not(:hover) .column-resize-handle{background-color:transparent}.prosemirror-editor .ProseMirror table:hover .column-resize-handle{background-color:#4285f44d}.prosemirror-editor .ProseMirror .column-resize-handle:hover{background-color:#4285f4b3}.prosemirror-editor .ProseMirror span.docx-tab{display:inline-block;min-width:48px;white-space:pre;background:transparent}.prosemirror-editor .ProseMirror span.docx-tab[data-leader=dot]:before{content:"...........";position:absolute;color:inherit;white-space:nowrap;overflow:hidden}.prosemirror-editor .ProseMirror span.docx-tab[data-leader=hyphen]:before{content:"-----------";position:absolute;color:inherit;white-space:nowrap;overflow:hidden}.prosemirror-editor .ProseMirror span.docx-tab[data-leader=underscore]:before{content:"___________";position:absolute;color:inherit;white-space:nowrap;overflow:hidden}.prosemirror-editor .ProseMirror .docx-run-all-caps{text-transform:uppercase}.prosemirror-editor .ProseMirror .docx-run-small-caps{font-variant:small-caps}.docx-section-break{position:relative}.docx-section-break:after{content:"Section Break (" attr(data-section-break) ")";display:block;text-align:center;font-size:9px;color:var(--doc-text-muted, #9ca3af);border-top:1px dashed var(--doc-border, #d1d5db);margin-top:4px;padding-top:2px;pointer-events:none}.prosemirror-editor .ProseMirror .pm-drop-indicator{position:absolute;width:2px;background:var(--doc-primary, #4285f4);pointer-events:none;z-index:50}.prosemirror-editor .ProseMirror .ProseMirror-dropcursor{z-index:50}.layout-page-content{cursor:text}.layout-page-header,.layout-page-footer{cursor:pointer;transition:background-color .15s ease}.layout-page-header:hover,.layout-page-footer:hover{background-color:#2563eb0f}.layout-page-header:empty:hover:after{content:"Double-click to add header";display:block;text-align:center;color:#9ca3af;font-size:11px;padding:4px 0}.layout-page-footer:empty:hover:after{content:"Double-click to add footer";display:block;text-align:center;color:#9ca3af;font-size:11px;padding:4px 0}.hf-editor-pm .ProseMirror{outline:none;min-height:40px;padding:4px}.hf-editor-pm .ProseMirror:focus{outline:none}.hf-editor-pm .ProseMirror p{display:block;margin:0!important;padding:0;min-height:1em;white-space:pre-wrap;word-wrap:break-word;line-height:normal!important}.paged-editor--hf-editing .layout-page-content{opacity:.4;pointer-events:none;transition:opacity .15s ease}.paged-editor--editing-header .layout-page-header{border-bottom:1px dotted #4285f4}.paged-editor--editing-footer .layout-page-footer{border-top:1px dotted #4285f4}.paged-editor--editing-header .layout-page-header>*{visibility:hidden}.paged-editor--editing-footer .layout-page-footer>*{visibility:hidden}.paged-editor--hf-editing .layout-page-header:hover,.paged-editor--hf-editing .layout-page-footer:hover{background-color:transparent}
|
|
1
|
+
.prosemirror-editor-wrapper{min-height:100%}.prosemirror-editor{width:var(--page-width, 8.5in)}.prosemirror-editor .ProseMirror{background:#fff;box-shadow:0 2px 8px #00000026;width:var(--page-width, 8.5in);min-height:var(--page-height, 11in);padding-top:var(--margin-top, 72px);padding-bottom:var(--margin-bottom, 72px);padding-left:var(--margin-left, 72px);padding-right:var(--margin-right, 72px);outline:none;font-family:Calibri,Arial,sans-serif;font-size:11pt;color:#000;white-space:pre-wrap;word-wrap:break-word;-o-tab-size:48;tab-size:48;-moz-tab-size:48;box-sizing:border-box;position:relative}.prosemirror-editor .ProseMirror .docx-page-break{display:block;position:relative;height:40px;margin:0 calc(-1 * var(--margin-left, 72px));margin-right:calc(-1 * var(--margin-right, 72px));background:var(--doc-bg);border:none;pointer-events:none}.prosemirror-editor .ProseMirror .docx-page-break:before{content:"";position:absolute;bottom:0;left:0;right:0;height:8px;background:linear-gradient(to bottom,transparent,rgba(0,0,0,.08))}.prosemirror-editor .ProseMirror .docx-page-break:after{content:"";position:absolute;top:0;left:0;right:0;height:8px;background:linear-gradient(to top,transparent,rgba(0,0,0,.08))}.prosemirror-editor .ProseMirror [data-page-break-before=true]{-moz-column-break-before:page;break-before:page}.prosemirror-editor .ProseMirror .docx-page-break-line{display:block;position:relative;height:1px;margin:20px calc(-1 * var(--margin-left, 72px));margin-right:calc(-1 * var(--margin-right, 72px));border-top:1px dashed var(--doc-border)}.prosemirror-editor .ProseMirror .docx-page-break-line:before{content:"Page Break";position:absolute;top:-10px;left:50%;transform:translate(-50%);background:var(--doc-bg);padding:0 8px;font-size:10px;color:var(--doc-text-muted);white-space:nowrap}.prosemirror-editor .ProseMirror:focus{outline:none}.prosemirror-editor .ProseMirror p{display:block;margin:0;padding:0;min-height:1em;white-space:pre-wrap;word-wrap:break-word;line-height:normal}.prosemirror-editor .ProseMirror p:empty:before{content:"\a0"}.prosemirror-editor .ProseMirror span{display:inline;white-space:pre-wrap}.prosemirror-editor .ProseMirror .docx-list-bullet,.prosemirror-editor .ProseMirror .docx-list-numbered{position:relative;padding-left:48px}.prosemirror-editor .ProseMirror [data-list-marker]:before{content:attr(data-list-marker);position:absolute;left:0;width:44px;text-align:right;white-space:nowrap}.prosemirror-editor .ProseMirror .docx-list-bullet:not([data-list-marker]):before{content:"\2022";position:absolute;left:0;width:44px;text-align:right}.prosemirror-editor .ProseMirror .docx-list-numbered:not([data-list-marker]){counter-increment:list-counter}.prosemirror-editor .ProseMirror .docx-list-decimal:not([data-list-marker]):before{content:counter(list-counter) ".";position:absolute;left:0;width:44px;text-align:right}.prosemirror-editor .ProseMirror .docx-list-lower-roman:not([data-list-marker]):before{content:counter(list-counter,lower-roman) ".";position:absolute;left:0;width:44px;text-align:right}.prosemirror-editor .ProseMirror .docx-list-upper-roman:not([data-list-marker]):before{content:counter(list-counter,upper-roman) ".";position:absolute;left:0;width:44px;text-align:right}.prosemirror-editor .ProseMirror .docx-list-lower-alpha:not([data-list-marker]):before{content:counter(list-counter,lower-alpha) ".";position:absolute;left:0;width:44px;text-align:right}.prosemirror-editor .ProseMirror .docx-list-upper-alpha:not([data-list-marker]):before{content:counter(list-counter,upper-alpha) ".";position:absolute;left:0;width:44px;text-align:right}.prosemirror-editor .ProseMirror .docx-list-level-0:not([data-list-marker]):first-of-type{counter-reset:list-counter}.prosemirror-editor .ProseMirror .docx-list-level-1{margin-left:.5in}.prosemirror-editor .ProseMirror .docx-list-level-2{margin-left:1in}.prosemirror-editor .ProseMirror .docx-list-level-3{margin-left:1.5in}.prosemirror-editor .ProseMirror .docx-list-level-4{margin-left:2in}.prosemirror-editor .ProseMirror .docx-list-level-5{margin-left:2.5in}.prosemirror-editor .ProseMirror .docx-list-level-6{margin-left:3in}.prosemirror-editor .ProseMirror .docx-list-level-7{margin-left:3.5in}.prosemirror-editor .ProseMirror .docx-list-level-8{margin-left:4in}.prosemirror-editor .ProseMirror ::-moz-selection{background:#4285f44d}.prosemirror-editor .ProseMirror ::selection{background:#4285f44d}.prosemirror-editor[data-placeholder]:before{content:attr(data-placeholder);color:#aaa;position:absolute;pointer-events:none}.prosemirror-editor .ProseMirror img.docx-image{display:inline;max-width:100%;-o-object-fit:contain;object-fit:contain;vertical-align:baseline;outline:none}.prosemirror-editor .ProseMirror img.docx-image-float-left{clear:left}.prosemirror-editor .ProseMirror img.docx-image-float-right{clear:right}.prosemirror-editor .ProseMirror img.docx-image-block{clear:both}.prosemirror-editor .ProseMirror p:has(>img.docx-image-block:only-child){text-indent:0!important;text-align:center}.prosemirror-editor .ProseMirror p:has(img.docx-image-float):after{content:"";display:table;clear:both}.prosemirror-editor .ProseMirror img.docx-image.ProseMirror-selectednode{outline:2px solid var(--doc-primary, #4285f4);outline-offset:2px;cursor:grab}.prosemirror-editor .ProseMirror.pm-image-dragging img.docx-image.ProseMirror-selectednode{opacity:.4;outline:2px dashed var(--doc-primary, #4285f4);cursor:grabbing}.prosemirror-editor .ProseMirror img:not(.docx-image){max-width:100%;height:auto}.prosemirror-editor .ProseMirror .docx-shape{display:inline-block;vertical-align:middle;line-height:0;cursor:pointer}.prosemirror-editor .ProseMirror .docx-shape.ProseMirror-selectednode{outline:2px solid var(--doc-primary, #4285f4);outline-offset:2px}.prosemirror-editor .ProseMirror .docx-textbox{border-radius:2px;margin:4px 0;cursor:text}.prosemirror-editor .ProseMirror .docx-textbox.ProseMirror-selectednode{outline:2px solid var(--doc-primary, #4285f4);outline-offset:2px}.prosemirror-editor .ProseMirror a{color:var(--doc-link);text-decoration:underline}.prosemirror-editor .ProseMirror a:hover{color:var(--doc-primary-hover)}.prosemirror-editor .ProseMirror .docx-footnote-ref,.prosemirror-editor .ProseMirror .docx-endnote-ref{color:var(--doc-link, #0066cc);cursor:pointer;vertical-align:super;font-size:smaller}.prosemirror-editor .ProseMirror .docx-footnote-ref:hover,.prosemirror-editor .ProseMirror .docx-endnote-ref:hover{text-decoration:underline}.prosemirror-editor .ProseMirror hr{border:none;border-top:1px solid #000;margin:12pt 0;height:0}.prosemirror-editor .ProseMirror table.docx-table{border-collapse:collapse;margin:12pt 0;max-width:100%}.prosemirror-editor .ProseMirror td.docx-table-cell,.prosemirror-editor .ProseMirror th.docx-table-header{padding:4px 8px;vertical-align:top;min-width:30px}.prosemirror-editor .ProseMirror th.docx-table-header{font-weight:inherit;text-align:inherit}.prosemirror-editor .ProseMirror td p,.prosemirror-editor .ProseMirror th p{margin:0;padding:0;min-height:auto}.prosemirror-editor .ProseMirror td p:first-child,.prosemirror-editor .ProseMirror th p:first-child{margin-top:0}.prosemirror-editor .ProseMirror td p:last-child,.prosemirror-editor .ProseMirror th p:last-child{margin-bottom:0}.prosemirror-editor .ProseMirror .activeCell{outline:2px solid rgba(66,133,244,.5);outline-offset:-2px}.prosemirror-editor .ProseMirror .selectedCell{background-color:#4285f426}.prosemirror-editor .ProseMirror .selectedCell:after{content:"";position:absolute;inset:0;background:#4285f41a;pointer-events:none}.prosemirror-editor .ProseMirror table table{margin:4px 0}.prosemirror-editor .ProseMirror .column-resize-handle{position:absolute;right:-2px;top:0;bottom:0;width:4px;background-color:#4285f480;cursor:col-resize;z-index:20}.prosemirror-editor .ProseMirror td.docx-table-cell,.prosemirror-editor .ProseMirror th.docx-table-header{position:relative}.prosemirror-editor .ProseMirror.resize-cursor{cursor:col-resize}.prosemirror-editor .ProseMirror table:not(:hover) .column-resize-handle{background-color:transparent}.prosemirror-editor .ProseMirror table:hover .column-resize-handle{background-color:#4285f44d}.prosemirror-editor .ProseMirror .column-resize-handle:hover{background-color:#4285f4b3}.prosemirror-editor .ProseMirror span.docx-tab{display:inline-block;min-width:48px;white-space:pre;background:transparent}.prosemirror-editor .ProseMirror span.docx-tab[data-leader=dot]:before{content:"...........";position:absolute;color:inherit;white-space:nowrap;overflow:hidden}.prosemirror-editor .ProseMirror span.docx-tab[data-leader=hyphen]:before{content:"-----------";position:absolute;color:inherit;white-space:nowrap;overflow:hidden}.prosemirror-editor .ProseMirror span.docx-tab[data-leader=underscore]:before{content:"___________";position:absolute;color:inherit;white-space:nowrap;overflow:hidden}.prosemirror-editor .ProseMirror .docx-run-all-caps{text-transform:uppercase}.prosemirror-editor .ProseMirror .docx-run-small-caps{font-variant:small-caps}.docx-section-break{position:relative}.docx-section-break:after{content:"Section Break (" attr(data-section-break) ")";display:block;text-align:center;font-size:9px;color:var(--doc-text-muted, #9ca3af);border-top:1px dashed var(--doc-border, #d1d5db);margin-top:4px;padding-top:2px;pointer-events:none}.prosemirror-editor .ProseMirror .pm-drop-indicator{position:absolute;width:2px;background:var(--doc-primary, #4285f4);pointer-events:none;z-index:50}.prosemirror-editor .ProseMirror .ProseMirror-dropcursor{z-index:50}.layout-page-content{cursor:text}.layout-page-header,.layout-page-footer{cursor:pointer;transition:background-color .15s ease}.layout-page-header:hover,.layout-page-footer:hover{background-color:#2563eb0f}.layout-page-header:empty:hover:after{content:"Double-click to add header";display:block;text-align:center;color:#9ca3af;font-size:11px;padding:4px 0}.layout-page-footer:empty:hover:after{content:"Double-click to add footer";display:block;text-align:center;color:#9ca3af;font-size:11px;padding:4px 0}.hf-editor-pm.prosemirror-editor{width:100%;max-width:100%}.hf-editor-pm .ProseMirror{outline:none;min-height:40px;padding:0}.hf-editor-pm.prosemirror-editor .ProseMirror{width:100%;max-width:100%;min-height:40px;padding:0;background:transparent;box-shadow:none}.hf-editor-pm .ProseMirror:focus{outline:none}.hf-editor-pm .ProseMirror p{display:block;margin:0!important;padding-top:var(--docx-space-before, 0);padding-bottom:var(--docx-space-after, 0);padding-left:0;padding-right:0;min-height:1em;white-space:pre-wrap;word-wrap:break-word;line-height:normal!important}.hf-editor-pm .ProseMirror td p,.hf-editor-pm .ProseMirror th p{margin:0!important;padding-top:var(--docx-space-before, 0);padding-bottom:var(--docx-space-after, 0);padding-left:0;padding-right:0;min-height:auto;line-height:normal!important}.hf-editor-pm .ProseMirror .tableWrapper{overflow:visible}.hf-editor-pm .ProseMirror table{border-collapse:collapse!important;border-spacing:0!important;table-layout:fixed!important;margin:0}.hf-editor-pm .ProseMirror td.docx-table-cell,.hf-editor-pm .ProseMirror th.docx-table-header{box-sizing:border-box!important}.hf-editor-pm .ProseMirror td p:has(img),.hf-editor-pm .ProseMirror th p:has(img),.hf-editor-pm .ProseMirror td p:has(span),.hf-editor-pm .ProseMirror th p:has(span){font-size:0!important;line-height:0!important}.hf-editor-pm .ProseMirror td p span:not(:has(>span)),.hf-editor-pm .ProseMirror th p span:not(:has(>span)){position:relative;top:.4em}.paged-editor--hf-editing .layout-page-content{opacity:.4;pointer-events:none;transition:opacity .15s ease}.paged-editor--editing-header .layout-page-header{border-bottom:1px dotted #4285f4}.paged-editor--editing-footer .layout-page-footer{border-top:1px dotted #4285f4}.paged-editor--editing-header .layout-page-header>*{visibility:hidden}.paged-editor--editing-footer .layout-page-footer>*{visibility:hidden}.paged-editor--hf-editing .layout-page-header:hover,.paged-editor--hf-editing .layout-page-footer:hover{background-color:transparent}
|