@eigenpal/docx-js-editor 0.0.6 → 0.0.8
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 +26 -2
- package/dist/{chunk-FXILBPZI.cjs → chunk-7O7MPYI7.cjs} +6 -6
- package/dist/chunk-AZFSFU4G.js +58 -0
- package/dist/{chunk-AOL255XD.js → chunk-B2GPMRIP.js} +2 -2
- package/dist/chunk-CEBRVCHO.js +11 -0
- package/dist/chunk-CWWSDDRF.cjs +11 -0
- package/dist/{chunk-D2GERZ7M.cjs → chunk-EKU3VR4Y.cjs} +2 -2
- package/dist/chunk-NZ7XUW4I.cjs +1 -0
- package/dist/{chunk-H2UMX5CK.js → chunk-VMT4DN2Q.js} +6 -6
- package/dist/chunk-W2TDS3UO.js +1 -0
- package/dist/chunk-WWGV3HB2.cjs +58 -0
- package/dist/{colorResolver-DrNkos_H.d.ts → colorResolver-CTmPdBGz.d.cts} +27 -7
- package/dist/{colorResolver-WsUxFs5p.d.cts → colorResolver-DGxlMbv2.d.ts} +27 -7
- package/dist/core-plugins.cjs +1 -1
- package/dist/core-plugins.d.cts +3 -3
- package/dist/core-plugins.d.ts +3 -3
- package/dist/core-plugins.js +1 -1
- package/dist/headless.cjs +2 -2
- package/dist/headless.d.cts +4 -4
- package/dist/headless.d.ts +4 -4
- package/dist/headless.js +1 -1
- package/dist/index.cjs +26 -27
- package/dist/index.css +1 -1
- package/dist/index.d.cts +118 -109
- package/dist/index.d.ts +118 -109
- package/dist/index.js +26 -27
- package/dist/mcp-cli.js +21 -20
- package/dist/mcp.cjs +3 -3
- package/dist/mcp.d.cts +1 -1
- package/dist/mcp.d.ts +1 -1
- package/dist/mcp.js +2 -2
- package/dist/{registry-BWDZlJx6.d.cts → registry-C73dM_1E.d.cts} +1 -1
- package/dist/{registry-DifIQR1O.d.ts → registry-Djkwny4j.d.ts} +1 -1
- package/dist/selectionRects-5TGQE33Q.cjs +1 -0
- package/dist/selectionRects-JSPKYXPU.js +1 -0
- package/dist/styles.css +1 -1
- package/dist/{types-XVRXTi4o.d.ts → types-Do_Q8vaT.d.cts} +5 -1
- package/dist/{types-XVRXTi4o.d.cts → types-Do_Q8vaT.d.ts} +5 -1
- package/package.json +10 -5
- package/dist/chunk-2CFVFSUH.js +0 -57
- package/dist/chunk-BBGDBZJY.cjs +0 -1
- package/dist/chunk-DQHQWQHL.cjs +0 -11
- package/dist/chunk-HGOIKOKZ.js +0 -1
- package/dist/chunk-I2C6ENCR.js +0 -11
- package/dist/chunk-TL3YTVN2.cjs +0 -57
- package/dist/selectionRects-M7QY6HKR.cjs +0 -1
- package/dist/selectionRects-O6YQMMCP.js +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -4,13 +4,13 @@ import * as prosemirror_view from 'prosemirror-view';
|
|
|
4
4
|
import { EditorView, DecorationSet } from 'prosemirror-view';
|
|
5
5
|
import * as prosemirror_state from 'prosemirror-state';
|
|
6
6
|
import { Plugin, EditorState, Transaction, PluginKey } from 'prosemirror-state';
|
|
7
|
-
import { T as TextFormatting, U as ParagraphFormatting, h as Document, ab as Theme, f as Table, a8 as TableCell, an as ParagraphAlignment, a4 as Style, a2 as SelectionContext, A as AIAction, l as AgentResponse, ao as StyleType, a1 as SectionProperties, ap as TabStop, aq as TabStopAlignment, ar as
|
|
8
|
-
export { i as AIActionRequest, j as AgentCommand, k as AgentContext, m as ApplyStyleCommand, B as BlockContent,
|
|
9
|
-
import { D as DocumentAgent } from './colorResolver-
|
|
10
|
-
export { A as AgentContextOptions, C as CreateEmptyDocumentOptions, E as ExtendedSelectionContext, P as ProcessTemplateOptions, e as ProcessTemplateResult, f as SelectionContextOptions, g as blendColors, h as buildExtendedSelectionContext, i as buildSelectionContext, k as colorsEqual, n as createDocumentWithText, o as createEmptyDocument, p as createRgbColor, r as createThemeColor, s as darkenColor, t as emuToPixels, u as emuToTwips, v as executeCommand, w as executeCommands, x as formatPx, y as getAgentContext, z as getContrastingColor, B as getDocumentSummary, J as getTemplateTags, K as halfPointsToPixels, L as isBlack, M as isWhite, N as lightenColor, O as parseColorString, Q as parseDocx, R as pixelsToEmu, U as pixelsToTwips, V as pointsToPixels, X as processTemplate, Z as processTemplateAsBlob, _ as processTemplateDetailed, $ as resolveColor, a0 as resolveHighlightColor, a1 as resolveShadingColor, a2 as serializeDocumentBody, a3 as serializeDocx, a4 as serializeSectionProperties, a5 as twipsToEmu, a6 as twipsToPixels, a7 as validateTemplate } from './colorResolver-
|
|
7
|
+
import { T as TextFormatting, U as ParagraphFormatting, h as Document, ab as Theme, f as Table, a8 as TableCell, an as ParagraphAlignment, a4 as Style, a2 as SelectionContext, A as AIAction, l as AgentResponse, ao as StyleType, a1 as SectionProperties, ap as TabStop, aq as TabStopAlignment, ar as ShadingProperties, R as Run, e as Paragraph, as as BreakContent, $ as RunContent } from './types-Do_Q8vaT.js';
|
|
8
|
+
export { i as AIActionRequest, j as AgentCommand, k as AgentContext, m as ApplyStyleCommand, B as BlockContent, at as BookmarkEnd, au as BookmarkStart, C as CorePlugin, q as DeleteTextCommand, D as DocumentBody, r as DocxPackage, E as Endnote, av as Field, aw as FooterReference, F as Footnote, t as FormatTextCommand, ax as HeaderFooter, ay as HeaderReference, H as Hyperlink, I as Image, u as InsertHyperlinkCommand, v as InsertImageCommand, w as InsertTableCommand, x as InsertTextCommand, L as ListLevel, d as McpSession, M as McpToolDefinition, N as McpToolHandler, O as McpToolResult, Q as NumberingDefinitions, S as ParagraphContext, g as Position, Y as Range, Z as Relationship, _ as ReplaceTextCommand, a3 as SetVariableCommand, az as Shape, a5 as StyleDefinitions, a7 as SuggestedAction, a9 as TableRow, aA as TextBox, aa as TextContent, aB as ThemeColorScheme, aC as ThemeFont, aD as ThemeFontScheme } from './types-Do_Q8vaT.js';
|
|
9
|
+
import { a8 as DocxInput, D as DocumentAgent } from './colorResolver-DGxlMbv2.js';
|
|
10
|
+
export { A as AgentContextOptions, C as CreateEmptyDocumentOptions, E as ExtendedSelectionContext, P as ProcessTemplateOptions, e as ProcessTemplateResult, f as SelectionContextOptions, g as blendColors, h as buildExtendedSelectionContext, i as buildSelectionContext, k as colorsEqual, n as createDocumentWithText, o as createEmptyDocument, p as createRgbColor, r as createThemeColor, s as darkenColor, t as emuToPixels, u as emuToTwips, v as executeCommand, w as executeCommands, x as formatPx, y as getAgentContext, z as getContrastingColor, B as getDocumentSummary, J as getTemplateTags, K as halfPointsToPixels, L as isBlack, M as isWhite, N as lightenColor, O as parseColorString, Q as parseDocx, R as pixelsToEmu, U as pixelsToTwips, V as pointsToPixels, X as processTemplate, Z as processTemplateAsBlob, _ as processTemplateDetailed, $ as resolveColor, a0 as resolveHighlightColor, a1 as resolveShadingColor, a2 as serializeDocumentBody, a3 as serializeDocx, a4 as serializeSectionProperties, a9 as toArrayBuffer, a5 as twipsToEmu, a6 as twipsToPixels, a7 as validateTemplate } from './colorResolver-DGxlMbv2.js';
|
|
11
11
|
import { Node as Node$1 } from 'prosemirror-model';
|
|
12
12
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
13
|
-
export { P as PluginRegistry, p as pluginRegistry, r as registerPlugins } from './registry-
|
|
13
|
+
export { P as PluginRegistry, p as pluginRegistry, r as registerPlugins } from './registry-Djkwny4j.js';
|
|
14
14
|
export { docxtemplaterPlugin } from './core-plugins.js';
|
|
15
15
|
|
|
16
16
|
/**
|
|
@@ -339,6 +339,8 @@ type TableFragment = FragmentBase & {
|
|
|
339
339
|
toRow: number;
|
|
340
340
|
/** Height of this fragment. */
|
|
341
341
|
height: number;
|
|
342
|
+
/** True if this is a floating table. */
|
|
343
|
+
isFloating?: boolean;
|
|
342
344
|
/** True if this continues from a previous page. */
|
|
343
345
|
continuesFromPrev?: boolean;
|
|
344
346
|
/** True if this continues onto the next page. */
|
|
@@ -698,8 +700,8 @@ interface PagedEditorRef {
|
|
|
698
700
|
* DocxEditor props
|
|
699
701
|
*/
|
|
700
702
|
interface DocxEditorProps {
|
|
701
|
-
/** Document
|
|
702
|
-
documentBuffer?:
|
|
703
|
+
/** Document data — ArrayBuffer, Uint8Array, Blob, or File */
|
|
704
|
+
documentBuffer?: DocxInput | null;
|
|
703
705
|
/** Pre-parsed document (alternative to documentBuffer) */
|
|
704
706
|
document?: Document | null;
|
|
705
707
|
/** Callback when document is saved */
|
|
@@ -815,6 +817,56 @@ interface DocxEditorRef {
|
|
|
815
817
|
*/
|
|
816
818
|
declare const DocxEditor: React$1.ForwardRefExoticComponent<DocxEditorProps & React$1.RefAttributes<DocxEditorRef>>;
|
|
817
819
|
|
|
820
|
+
/**
|
|
821
|
+
* Simple imperative API for rendering a DOCX editor into a DOM element.
|
|
822
|
+
*
|
|
823
|
+
* Usage:
|
|
824
|
+
* ```ts
|
|
825
|
+
* import { renderAsync } from '@eigenpal/docx-js-editor';
|
|
826
|
+
*
|
|
827
|
+
* const editor = await renderAsync(docxBlob, document.getElementById('container'), {
|
|
828
|
+
* readOnly: false,
|
|
829
|
+
* showToolbar: true,
|
|
830
|
+
* });
|
|
831
|
+
*
|
|
832
|
+
* // Save the edited document
|
|
833
|
+
* const buffer = await editor.save();
|
|
834
|
+
*
|
|
835
|
+
* // Clean up
|
|
836
|
+
* editor.destroy();
|
|
837
|
+
* ```
|
|
838
|
+
*/
|
|
839
|
+
|
|
840
|
+
/**
|
|
841
|
+
* Options for {@link renderAsync}. A subset of DocxEditorProps minus
|
|
842
|
+
* `documentBuffer` / `document` (passed as the first argument instead).
|
|
843
|
+
*/
|
|
844
|
+
type RenderAsyncOptions = Omit<DocxEditorProps, 'documentBuffer' | 'document'>;
|
|
845
|
+
/**
|
|
846
|
+
* Handle returned by {@link renderAsync} for interacting with the editor.
|
|
847
|
+
*/
|
|
848
|
+
interface DocxEditorHandle {
|
|
849
|
+
/** Save the document and return the DOCX as an ArrayBuffer. */
|
|
850
|
+
save: () => Promise<ArrayBuffer | null>;
|
|
851
|
+
/** Get the current parsed document model. */
|
|
852
|
+
getDocument: () => Document | null;
|
|
853
|
+
/** Focus the editor. */
|
|
854
|
+
focus: () => void;
|
|
855
|
+
/** Set zoom level (1.0 = 100%). */
|
|
856
|
+
setZoom: (zoom: number) => void;
|
|
857
|
+
/** Unmount the editor and clean up. */
|
|
858
|
+
destroy: () => void;
|
|
859
|
+
}
|
|
860
|
+
/**
|
|
861
|
+
* Render a DOCX editor into a container element.
|
|
862
|
+
*
|
|
863
|
+
* @param input - DOCX data as ArrayBuffer, Uint8Array, Blob, or File
|
|
864
|
+
* @param container - DOM element to render into
|
|
865
|
+
* @param options - Editor configuration (toolbar, readOnly, callbacks, etc.)
|
|
866
|
+
* @returns A handle with save / destroy / getDocument methods
|
|
867
|
+
*/
|
|
868
|
+
declare function renderAsync(input: DocxInput, container: HTMLElement, options?: RenderAsyncOptions): Promise<DocxEditorHandle>;
|
|
869
|
+
|
|
818
870
|
/**
|
|
819
871
|
* Google Fonts Loader
|
|
820
872
|
*
|
|
@@ -978,6 +1030,9 @@ type TableAction = 'addRowAbove' | 'addRowBelow' | 'addColumnLeft' | 'addColumnR
|
|
|
978
1030
|
} | {
|
|
979
1031
|
type: 'borderColor';
|
|
980
1032
|
color: string;
|
|
1033
|
+
} | {
|
|
1034
|
+
type: 'borderWidth';
|
|
1035
|
+
size: number;
|
|
981
1036
|
} | {
|
|
982
1037
|
type: 'cellBorder';
|
|
983
1038
|
side: 'top' | 'bottom' | 'left' | 'right' | 'all';
|
|
@@ -1828,7 +1883,7 @@ interface LineSpacingPickerProps {
|
|
|
1828
1883
|
className?: string;
|
|
1829
1884
|
width?: number | string;
|
|
1830
1885
|
}
|
|
1831
|
-
declare function LineSpacingPicker({ value, onChange, options, disabled, className,
|
|
1886
|
+
declare function LineSpacingPicker({ value, onChange, options, disabled, className, }: LineSpacingPickerProps): react_jsx_runtime.JSX.Element;
|
|
1832
1887
|
|
|
1833
1888
|
/**
|
|
1834
1889
|
* Color option for the color grid
|
|
@@ -1902,13 +1957,9 @@ interface StylePickerProps {
|
|
|
1902
1957
|
theme?: Theme | null;
|
|
1903
1958
|
disabled?: boolean;
|
|
1904
1959
|
className?: string;
|
|
1905
|
-
placeholder?: string;
|
|
1906
1960
|
width?: number | string;
|
|
1907
|
-
showPreview?: boolean;
|
|
1908
|
-
styleTypes?: StyleType[];
|
|
1909
|
-
quickFormatOnly?: boolean;
|
|
1910
1961
|
}
|
|
1911
|
-
declare function StylePicker({ value, onChange, styles, disabled, className,
|
|
1962
|
+
declare function StylePicker({ value, onChange, styles, disabled, className, width, }: StylePickerProps): react_jsx_runtime.JSX.Element;
|
|
1912
1963
|
|
|
1913
1964
|
/**
|
|
1914
1965
|
* Props for the AlignmentButtons component
|
|
@@ -1930,9 +1981,9 @@ interface AlignmentButtonsProps {
|
|
|
1930
1981
|
compact?: boolean;
|
|
1931
1982
|
}
|
|
1932
1983
|
/**
|
|
1933
|
-
* Alignment
|
|
1984
|
+
* Alignment dropdown component — single button with popover panel
|
|
1934
1985
|
*/
|
|
1935
|
-
declare function AlignmentButtons({ value, onChange, disabled,
|
|
1986
|
+
declare function AlignmentButtons({ value, onChange, disabled, }: AlignmentButtonsProps): react_jsx_runtime.JSX.Element;
|
|
1936
1987
|
|
|
1937
1988
|
/**
|
|
1938
1989
|
* HorizontalRuler Component
|
|
@@ -2006,103 +2057,61 @@ declare function getMarginInUnits(marginTwips: number, unit: 'inch' | 'cm'): str
|
|
|
2006
2057
|
*/
|
|
2007
2058
|
declare function parseMarginFromUnits(value: string, unit: 'inch' | 'cm'): number | null;
|
|
2008
2059
|
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
* - Border color
|
|
2015
|
-
* - Border width
|
|
2016
|
-
* - Which borders to apply (all, top, bottom, left, right, inside, outside)
|
|
2017
|
-
*/
|
|
2060
|
+
interface TableBorderPickerProps {
|
|
2061
|
+
onAction: (action: TableAction) => void;
|
|
2062
|
+
disabled?: boolean;
|
|
2063
|
+
}
|
|
2064
|
+
declare function TableBorderPicker({ onAction, disabled }: TableBorderPickerProps): react_jsx_runtime.JSX.Element;
|
|
2018
2065
|
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
type BorderStyleType = 'none' | 'single' | 'double' | 'dotted' | 'dashed' | 'dashSmallGap' | 'dotDash' | 'dotDotDash' | 'triple' | 'thick' | 'thickThinSmallGap' | 'thinThickSmallGap';
|
|
2023
|
-
/**
|
|
2024
|
-
* Border position options
|
|
2025
|
-
*/
|
|
2026
|
-
type BorderPosition = 'all' | 'outside' | 'inside' | 'top' | 'bottom' | 'left' | 'right' | 'insideHorizontal' | 'insideVertical' | 'none';
|
|
2027
|
-
/**
|
|
2028
|
-
* Border configuration
|
|
2029
|
-
*/
|
|
2030
|
-
interface BorderConfig {
|
|
2031
|
-
style: BorderStyleType;
|
|
2032
|
-
color: string;
|
|
2033
|
-
width: number;
|
|
2066
|
+
interface TableBorderColorPickerProps {
|
|
2067
|
+
onAction: (action: TableAction) => void;
|
|
2068
|
+
disabled?: boolean;
|
|
2034
2069
|
}
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
/** Current border configuration */
|
|
2040
|
-
currentBorder?: BorderConfig;
|
|
2041
|
-
/** Callback when border is applied */
|
|
2042
|
-
onApply?: (position: BorderPosition, config: BorderConfig) => void;
|
|
2043
|
-
/** Whether the picker is disabled */
|
|
2070
|
+
declare function TableBorderColorPicker({ onAction, disabled, }: TableBorderColorPickerProps): react_jsx_runtime.JSX.Element;
|
|
2071
|
+
|
|
2072
|
+
interface TableBorderWidthPickerProps {
|
|
2073
|
+
onAction: (action: TableAction) => void;
|
|
2044
2074
|
disabled?: boolean;
|
|
2045
|
-
/** Additional CSS class */
|
|
2046
|
-
className?: string;
|
|
2047
|
-
/** Additional inline styles */
|
|
2048
|
-
style?: CSSProperties;
|
|
2049
|
-
/** Compact mode */
|
|
2050
|
-
compact?: boolean;
|
|
2051
2075
|
}
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
}
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
}
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
* Create BorderConfig from BorderSpec
|
|
2092
|
-
*/
|
|
2093
|
-
declare function createBorderConfig(spec: BorderSpec | undefined): BorderConfig;
|
|
2094
|
-
/**
|
|
2095
|
-
* Get border position label
|
|
2096
|
-
*/
|
|
2097
|
-
declare function getBorderPositionLabel(position: BorderPosition): string;
|
|
2098
|
-
/**
|
|
2099
|
-
* Get available border styles
|
|
2100
|
-
*/
|
|
2101
|
-
declare function getAvailableBorderStyles(): typeof BORDER_STYLES;
|
|
2102
|
-
/**
|
|
2103
|
-
* Get available border widths
|
|
2104
|
-
*/
|
|
2105
|
-
declare function getAvailableBorderWidths(): typeof BORDER_WIDTHS;
|
|
2076
|
+
declare function TableBorderWidthPicker({ onAction, disabled, }: TableBorderWidthPickerProps): react_jsx_runtime.JSX.Element;
|
|
2077
|
+
|
|
2078
|
+
interface TableCellFillPickerProps {
|
|
2079
|
+
onAction: (action: TableAction) => void;
|
|
2080
|
+
disabled?: boolean;
|
|
2081
|
+
}
|
|
2082
|
+
declare function TableCellFillPicker({ onAction, disabled }: TableCellFillPickerProps): react_jsx_runtime.JSX.Element;
|
|
2083
|
+
|
|
2084
|
+
interface TableMergeButtonProps {
|
|
2085
|
+
onAction: (action: TableAction) => void;
|
|
2086
|
+
disabled?: boolean;
|
|
2087
|
+
canMerge?: boolean;
|
|
2088
|
+
canSplit?: boolean;
|
|
2089
|
+
}
|
|
2090
|
+
declare function TableMergeButton({ onAction, disabled, canMerge, canSplit, }: TableMergeButtonProps): react_jsx_runtime.JSX.Element;
|
|
2091
|
+
|
|
2092
|
+
interface TableInsertButtonsProps {
|
|
2093
|
+
onAction: (action: TableAction) => void;
|
|
2094
|
+
disabled?: boolean;
|
|
2095
|
+
}
|
|
2096
|
+
declare function TableInsertButtons({ onAction, disabled }: TableInsertButtonsProps): react_jsx_runtime.JSX.Element;
|
|
2097
|
+
|
|
2098
|
+
interface TableMoreDropdownProps {
|
|
2099
|
+
onAction: (action: TableAction) => void;
|
|
2100
|
+
disabled?: boolean;
|
|
2101
|
+
tableContext?: {
|
|
2102
|
+
isInTable: boolean;
|
|
2103
|
+
rowCount?: number;
|
|
2104
|
+
columnCount?: number;
|
|
2105
|
+
canSplitCell?: boolean;
|
|
2106
|
+
hasMultiCellSelection?: boolean;
|
|
2107
|
+
table?: {
|
|
2108
|
+
attrs?: {
|
|
2109
|
+
justification?: string;
|
|
2110
|
+
};
|
|
2111
|
+
};
|
|
2112
|
+
} | null;
|
|
2113
|
+
}
|
|
2114
|
+
declare function TableMoreDropdown({ onAction, disabled, tableContext, }: TableMoreDropdownProps): react_jsx_runtime.JSX.Element;
|
|
2106
2115
|
|
|
2107
2116
|
/**
|
|
2108
2117
|
* CellBackgroundPicker Component
|
|
@@ -4553,4 +4562,4 @@ declare const templatePlugin: EditorPlugin<TemplatePluginState>;
|
|
|
4553
4562
|
*/
|
|
4554
4563
|
declare const VERSION = "0.0.2";
|
|
4555
4564
|
|
|
4556
|
-
export { AIAction, ANNOTATION_PANEL_STYLES, AgentResponse, AlignmentButtons, type AlignmentButtonsProps, AnnotationPanel, type AutoSaveStatus,
|
|
4565
|
+
export { AIAction, ANNOTATION_PANEL_STYLES, AgentResponse, AlignmentButtons, type AlignmentButtonsProps, AnnotationPanel, type AutoSaveStatus, CLIPBOARD_TYPES, CellBackgroundPicker, type CellBackgroundPickerProps, type CellColorOption, type ClipboardContent, type ClipboardOptions, type ClipboardSelection, type ColorOption, ColorPicker, type ColorPickerProps, ContextMenu, type ContextMenuProps, DEFAULT_CELL_COLORS, DEFAULT_SELECTION_STYLE, type KeyboardShortcut$1 as DialogKeyboardShortcut, Document, DocumentAgent, DocxEditor, type DocxEditorHandle, type DocxEditorProps, type DocxEditorRef, DocxInput, type EditorPlugin, ErrorBoundary, type ErrorBoundaryProps, type ErrorContextValue, type ErrorNotification, ErrorProvider, type ErrorSeverity, type FindMatch, type FindOptions, FindReplaceDialog, type FindReplaceDialogProps, type FindReplaceOptions, type FindReplaceState, type FindResult, type FontOption, FontPicker, type FontPickerProps, FontSizePicker, type FontSizePickerProps, HIGH_CONTRAST_SELECTION_STYLE, type HighlightOptions, type HighlightRect, HorizontalRuler, type HorizontalRulerProps, type HyperlinkData, HyperlinkDialog, type HyperlinkDialogProps, INTERNAL_CLIPBOARD_TYPE, type ImageData, type IndicatorPosition, type IndicatorVariant, InsertImageDialog, type InsertImageDialogProps, type InsertPosition, InsertSymbolDialog, type InsertSymbolDialogProps, InsertTableDialog, type InsertTableDialogProps, type KeyboardShortcut, KeyboardShortcutsDialog, type KeyboardShortcutsDialogProps, type LineSpacingOption, LineSpacingPicker, type LineSpacingPickerProps, ListButtons, type ListButtonsProps, type ListState, LoadingIndicator, type LoadingIndicatorProps, type LoadingOperation, type LoadingSize, type LoadingVariant, NAVIGATION_SHORTCUTS, type NavigationAction, type NavigationDirection, type NavigationUnit, PLUGIN_HOST_STYLES, type PageIndicatorPosition, type PageIndicatorVariant, PageNavigator, type PageNavigatorPosition, type PageNavigatorProps, type PageNavigatorVariant, PageNumberIndicator, type PageNumberIndicatorProps, type PanelConfig, Paragraph, ParagraphFormatting, ParseErrorDisplay, type ParseErrorDisplayProps, type ParsedClipboardContent, type PasteOption, PasteSpecialDialog, type PasteSpecialDialogProps, type PluginContext, PluginHost, type PluginHostProps, type PluginHostRef, type PluginPanelProps, PrintButton, type PrintButtonProps, type PrintOptions, PrintStyles, type RenderAsyncOptions, ResponsePreview, type ResponsePreviewProps, type ResponsePreviewState, ResponsiveToolbar, ToolbarGroup as ResponsiveToolbarGroup, type ToolbarGroupProps as ResponsiveToolbarGroupProps, type ResponsiveToolbarProps, Run, RunContent, SELECTION_CSS_VARS, SYMBOL_CATEGORIES, type SavedDocumentData, SectionProperties, SelectionContext, type SelectionHighlightConfig, type SelectionOverlayProps, type SelectionRange, type ShortcutCategory, Style, type StyleOption, StylePicker, type StylePickerProps, type SymbolCategory, TABLE_DATA_ATTRIBUTES, TEMPLATE_DECORATION_STYLES, Table, type TableAction, TableBorderColorPicker, type TableBorderColorPickerProps, TableBorderPicker, type TableBorderPickerProps, TableBorderWidthPicker, type TableBorderWidthPickerProps, TableCell, TableCellFillPicker, type TableCellFillPickerProps, type TableConfig, type TableContext, TableInsertButtons, type TableInsertButtonsProps, TableMergeButton, type TableMergeButtonProps, TableMoreDropdown, type TableMoreDropdownProps, type TableSelection, type TableSelectionState, TableToolbar, type TableToolbarProps, type TagType, type TemplateTag, type TextContextAction, TextContextMenu, type TextContextMenuItem, type TextContextMenuProps, TextFormatting, Theme, Toolbar, ToolbarButton, ToolbarGroup$1 as ToolbarGroup, type ToolbarItem, type ToolbarItemPriority, type ToolbarProps, ToolbarSeparator, UnsavedIndicator, type UnsavedIndicatorProps, UnsupportedFeatureWarning, type UnsupportedFeatureWarningProps, type UseAutoSaveOptions, type UseAutoSaveReturn, type UseClipboardOptions, type UseClipboardReturn, type UseFindReplaceReturn, type UseKeyboardShortcutsDialogOptions, type UseKeyboardShortcutsDialogReturn, type UseLoadingOptions, type UseLoadingReturn, type UsePasteSpecialOptions, type UsePasteSpecialReturn, type UseResponsiveToolbarOptions, type UseResponsiveToolbarReturn, type UseSelectionHighlightOptions, type UseSelectionHighlightReturn, type UseTableSelectionOptions, type UseTableSelectionReturn, type UseTextContextMenuOptions, type UseTextContextMenuReturn, type UseUnsavedChangesOptions, type UseUnsavedChangesReturn, type UseWheelZoomOptions, type UseWheelZoomReturn, VERSION, VariablePanel, type VariablePanelProps, type WordSelectionResult, ZOOM_PRESETS, ZoomControl, type ZoomControlProps, addColumn, addRow, areSelectionStylesInjected, calculateFitDimensions, calculateProgress, calculateScrollToPage, calculateVisiblePage, canRenderFont, clampPageNumber, clampTableConfig, clampZoom, cleanWordHtml, clearSelection, copyParagraphs, copyRuns, countPageBreaks, createCellColorOption, createChangeTracker, createClipboardHandlers, createColumnBreak, createDefaultFindOptions, createDefaultListState, createDefaultTableConfig, createDoubleClickWordSelector, createErrorResponse, createHorizontalRule, createLineBreak, createMockResponse, createPageBreak, createPageBreakParagraph, createPageBreakRun, createPageFormat, createSearchPattern, createSelectionChangeHandler, createSelectionFromDOM, createShadingFromColor, createTableContext, createPlugin as createTemplatePlugin, createTemplatePlugin as createTemplateProseMirrorPlugin, createToolbarItem, createToolbarItems, createTripleClickParagraphSelector, dataUrlToBlob, DocxEditor as default, delay, deleteColumn, deleteRow, describeShortcut, escapeRegexString, expandSelectionToWord, expandSelectionToWordBoundaries, extendSelectionTo, findAllMatches, findInDocument, findInParagraph, findNearestZoomPreset, findNextWordStart, findPageBreaks, findPreviousWordStart, findVisualLineEnd, findVisualLineStart, findWordAt, findWordBoundaries, findWordEnd, findWordStart, formatFileSize, formatLastSaveTime, formatPageOrdinal, formatPageRange$1 as formatPageRange, formatPageRange as formatPrintPageRange, formatShortcutKeys, formatStorageSize, formatTableDimensions, formatZoom, generateOverlayElements, generateSelectionCSS, getActionShortcut, getAllActions, getAllCategories, getAllPositions as getAllIndicatorPositions, getAllVariants as getAllIndicatorVariants, getAllLoadingSizes, getAllLoadingVariants, getAllPasteOptions, getAutoSaveStatusLabel, getAutoSaveStorageSize, getCategoryLabel, getCellAt, getCellColorName, getColorFromShading, getColumnCount, getCommonShortcuts, getContrastingTextColor, getDefaultActions, getDefaultCellColors, getDefaultHighlightOptions, getDefaultPasteOption, getDefaultPrintOptions, getDefaultShortcuts, getDefaultTextContextMenuItems, getHighlightRectStyle, getImageAcceptString, getImageDimensions, getLoadedFonts, getLoadingVariantLabel, getMarginInUnits, getMatchCountText, getMergedSelectionRects, getNavigationShortcutDescriptions, getNavigationShortcuts, getNextZoomPreset, getPageProgress, getPasteOption, getPreviousZoomPreset, getRecommendedPriority, getRulerDimensions, getSelectedText, getSelectionBoundingRect, getSelectionInfo, getSelectionRects, getSelectionRuns, getShortcutsByCategory, getSupportedImageExtensions, getSymbolCategories, getSymbolInfo as getSymbolUnicodeInfo, getSymbolsByCategory, getTablePresets, getTemplateTags as getTemplatePluginTags, getTextActionLabel, getTextActionShortcut, getUserFriendlyMessage, getVariantLabel, getWordAt, getWordAtCursor, getZoomPresets, handleClickForMultiClick, handleNavigationKey, handlePasteEvent, hasActiveSelection, hasPageBreakBefore, highlightTextRange, htmlToRuns, injectSelectionStyles, insertHorizontalRule, insertPageBreak, isActionAvailable, isAutoSaveSupported, isBreakContent, isColumnBreak, isDefaultCellColor, isEditorHtml, isEmptySearch, isFirstPage, isFontLoaded, isLoading as isFontsLoading, isLastPage, isLineBreak, isNavigationKey, isPageBreak, isParseError, isPasteSpecialShortcut, isPrintSupported, isPunctuation, isSelectionBackwards, isSelectionWithin, isTextActionAvailable, isValidImageFile, isValidPageNumber, isValidTableConfig, isWhitespace$1 as isWhitespace, isWhitespace as isWhitespaceChar, isWordCharacter as isWordChar, isWordCharacter$1 as isWordCharacter, isWordHtml, isZoomPreset, loadFont, loadFontFromBuffer, loadFonts, matchesShortcut, mergeAdjacentRects, mergeCells, moveByWord, moveToLineEdge, normalizeSelectionDirection, onFontsLoaded, openPrintWindow, paragraphsToClipboardContent, parseClipboardHtml, parseMarginFromUnits, parseNavigationAction, parsePageInput, parsePageRange, parseZoom, positionToMargin, preloadCommonFonts, readFromClipboard, removePageBreak, removeSelectionStyles, renderAsync, replaceAllInContent, replaceFirstInContent, runsToClipboardContent, scrollToMatch, searchSymbols, selectParagraphAtCursor, selectRange, selectWordAtCursor, selectWordInTextNode, setHoveredElement, setSelectedElement, setSelectionPosition, splitCell, symbolFromCodePoint, templatePlugin, templatePluginKey, triggerPrint, useAutoSave, useClipboard, useContextMenu, useErrorNotifications, useFindReplace, useHyperlinkDialog, useInsertImageDialog, useInsertSymbolDialog, useInsertTableDialog, useKeyboardShortcutsDialog, useLoading, useLoadingOperations, usePasteSpecial, useResponsePreview, useResponsiveToolbar, useSelectionHighlight, useTableSelection, useTextContextMenu, useUnsavedChanges, useWheelZoom, writeToClipboard };
|