@eigenpal/docx-js-editor 0.0.21 → 0.0.23
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 +3 -1
- package/dist/{ClipboardManager-B1jZrC6h.d.cts → ClipboardManager-Bbo5MM_U.d.cts} +1 -1
- package/dist/{ClipboardManager-jqJVxB6g.d.ts → ClipboardManager-CR843H7H.d.ts} +1 -1
- package/dist/{DocumentAgent-CrbsDniO.d.ts → DocumentAgent-cHf96hwL.d.cts} +4 -2
- package/dist/{DocumentAgent-CnJ9AEl_.d.cts → DocumentAgent-lHtXgMFN.d.ts} +4 -2
- package/dist/PageSetupDialog-RLMYJ3BA.cjs +1 -0
- package/dist/PageSetupDialog-ZZTFPZKJ.js +1 -0
- package/dist/{agentApi-DfsWRyrP.d.cts → agentApi-DmDuQm0e.d.cts} +2 -0
- package/dist/{agentApi-DfsWRyrP.d.ts → agentApi-DmDuQm0e.d.ts} +2 -0
- package/dist/chunk-2JOQ7WKO.js +258 -0
- package/dist/{chunk-HT2Z33YM.cjs → chunk-3C2VHZX6.cjs} +4 -4
- package/dist/chunk-3X3LTNK4.js +26 -0
- package/dist/chunk-4VUZBV2S.js +1 -0
- package/dist/{chunk-TAF6KYDM.cjs → chunk-5ILXHRJS.cjs} +2 -2
- package/dist/{chunk-7KJ3YVDQ.js → chunk-6TUCNECX.js} +2 -2
- package/dist/chunk-C6ELWJWO.js +3 -0
- package/dist/chunk-I5YZ4MRV.cjs +3 -0
- package/dist/chunk-IA4LPH2A.cjs +1 -0
- package/dist/chunk-JIKVCUR6.js +9 -0
- package/dist/chunk-KL2RYY6G.cjs +9 -0
- package/dist/chunk-KR32M3S4.cjs +1 -0
- package/dist/chunk-PGEORVCG.js +59 -0
- package/dist/chunk-PIVLDW7B.cjs +26 -0
- package/dist/chunk-PUVSVHHB.cjs +59 -0
- package/dist/{chunk-32HMU2UV.js → chunk-R56SLH64.js} +1 -1
- package/dist/chunk-RHLMVYVZ.cjs +258 -0
- package/dist/chunk-SE5EN2QL.js +1 -0
- package/dist/{clipboard-DkfAv07F.d.cts → clipboard-Bj2X5pLO.d.cts} +1 -1
- package/dist/{clipboard-BE8E-szx.d.ts → clipboard-DriRE6eS.d.ts} +1 -1
- package/dist/{colorResolver-CYttioMe.d.ts → colorResolver-BTTqW66Q.d.ts} +4 -3
- package/dist/{colorResolver-Dr8kQZAQ.d.cts → colorResolver-yl7Xh_Qg.d.cts} +4 -3
- package/dist/core-plugins-reexport.cjs +1 -1
- package/dist/core-plugins-reexport.d.cts +4 -4
- package/dist/core-plugins-reexport.d.ts +4 -4
- package/dist/core-plugins-reexport.js +1 -1
- package/dist/core-reexport.cjs +1 -1
- package/dist/core-reexport.d.cts +10 -10
- package/dist/core-reexport.d.ts +10 -10
- package/dist/core-reexport.js +1 -1
- package/dist/{fontLoader-BsqQnB4v.d.ts → fontLoader-DQJOS1sb.d.ts} +1 -1
- package/dist/{fontLoader-DECXIoMr.d.cts → fontLoader-Daq8y8C2.d.cts} +1 -1
- package/dist/headless-reexport.cjs +2 -2
- package/dist/headless-reexport.d.cts +7 -7
- package/dist/headless-reexport.d.ts +7 -7
- package/dist/headless-reexport.js +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.d.cts +11 -11
- package/dist/index.d.ts +11 -11
- package/dist/index.js +1 -1
- package/dist/mcp-reexport.cjs +3 -3
- package/dist/mcp-reexport.d.cts +2 -2
- package/dist/mcp-reexport.d.ts +2 -2
- package/dist/mcp-reexport.js +3 -3
- package/dist/{react-CAlVCYa4.d.cts → react-BYRZYSPG.d.cts} +20 -7
- package/dist/{react-C6bgHDFl.d.ts → react-Bj9uDtjg.d.ts} +20 -7
- package/dist/react.cjs +1 -1
- package/dist/react.d.cts +5 -5
- package/dist/react.d.ts +5 -5
- package/dist/react.js +1 -1
- package/dist/{registry-gRbkCooh.d.ts → registry-C2DPl-QW.d.ts} +1 -1
- package/dist/{registry-BU-FbHh-.d.cts → registry-CXGC344v.d.cts} +1 -1
- package/dist/styles.css +1 -1
- package/dist/{types-7wjInVMW.d.ts → types-BpokDLqL.d.ts} +1 -1
- package/dist/{types-DEEpBL9H.d.cts → types-COQvtZji.d.cts} +1 -1
- package/dist/ui.cjs +1 -1
- package/dist/ui.d.cts +9 -5
- package/dist/ui.d.ts +9 -5
- package/dist/ui.js +1 -1
- package/dist/{variableDetector-BXJaTkiB.d.ts → variableDetector-BYzE_RXw.d.ts} +1 -1
- package/dist/{variableDetector-B4oQJa2e.d.cts → variableDetector-C8ST_dnq.d.cts} +1 -1
- package/package.json +3 -2
- package/dist/chunk-2Y6FLZ5Q.js +0 -3
- package/dist/chunk-6NDMKJIE.js +0 -9
- package/dist/chunk-6NYA53QC.cjs +0 -258
- package/dist/chunk-EH3NY2DQ.cjs +0 -26
- package/dist/chunk-FXJAIFPR.js +0 -59
- package/dist/chunk-GICVJSFJ.cjs +0 -9
- package/dist/chunk-JRRTZZ72.cjs +0 -1
- package/dist/chunk-P3AEZKQO.cjs +0 -3
- package/dist/chunk-Q7YYC75E.js +0 -258
- package/dist/chunk-UTWPV2I4.js +0 -26
- package/dist/chunk-Y6QBJGMO.cjs +0 -59
- package/dist/chunk-ZTVQA46Q.js +0 -1
|
@@ -4,10 +4,10 @@ import * as prosemirror_view from 'prosemirror-view';
|
|
|
4
4
|
import { EditorView } from 'prosemirror-view';
|
|
5
5
|
import * as prosemirror_state from 'prosemirror-state';
|
|
6
6
|
import { EditorState, Transaction } from 'prosemirror-state';
|
|
7
|
-
import { T as TextFormatting, w as ParagraphFormatting, D as Document, X as Theme, e as Table } from './agentApi-
|
|
8
|
-
import { P as PageIndicatorPosition, e as PageNavigatorPosition, c as PageIndicatorVariant, g as PageNavigatorVariant, m as PrintOptions, o as TableContext, T as TableAction, j as ParsedClipboardContent } from './clipboard-
|
|
9
|
-
import { g as DocxInput, D as DocumentAgent } from './DocumentAgent-
|
|
10
|
-
import { g as EditorPluginCore, k as PluginPanelProps, R as RenderedDomContext, f as EditorHandle, h as ErrorNotification, m as SavedDocumentData, d as AutoSaveStatus, e as ClipboardSelection } from './ClipboardManager-
|
|
7
|
+
import { T as TextFormatting, w as ParagraphFormatting, D as Document, X as Theme, e as Table } from './agentApi-DmDuQm0e.cjs';
|
|
8
|
+
import { P as PageIndicatorPosition, e as PageNavigatorPosition, c as PageIndicatorVariant, g as PageNavigatorVariant, m as PrintOptions, o as TableContext, T as TableAction, j as ParsedClipboardContent } from './clipboard-Bj2X5pLO.cjs';
|
|
9
|
+
import { g as DocxInput, D as DocumentAgent } from './DocumentAgent-cHf96hwL.cjs';
|
|
10
|
+
import { g as EditorPluginCore, k as PluginPanelProps, R as RenderedDomContext, f as EditorHandle, h as ErrorNotification, m as SavedDocumentData, d as AutoSaveStatus, e as ClipboardSelection } from './ClipboardManager-Bbo5MM_U.cjs';
|
|
11
11
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
12
12
|
|
|
13
13
|
/**
|
|
@@ -112,10 +112,18 @@ type ImageFragment = FragmentBase & {
|
|
|
112
112
|
/** Z-index for layering. */
|
|
113
113
|
zIndex?: number;
|
|
114
114
|
};
|
|
115
|
+
/**
|
|
116
|
+
* A text box fragment positioned on a page.
|
|
117
|
+
*/
|
|
118
|
+
type TextBoxFragment = FragmentBase & {
|
|
119
|
+
kind: 'textBox';
|
|
120
|
+
/** Height of the text box. */
|
|
121
|
+
height: number;
|
|
122
|
+
};
|
|
115
123
|
/**
|
|
116
124
|
* Union of all fragment types.
|
|
117
125
|
*/
|
|
118
|
-
type Fragment = ParagraphFragment | TableFragment | ImageFragment;
|
|
126
|
+
type Fragment = ParagraphFragment | TableFragment | ImageFragment | TextBoxFragment;
|
|
119
127
|
/**
|
|
120
128
|
* Page margin configuration.
|
|
121
129
|
*/
|
|
@@ -381,6 +389,10 @@ interface DocxEditorProps {
|
|
|
381
389
|
onCut?: () => void;
|
|
382
390
|
/** Callback when content is pasted */
|
|
383
391
|
onPaste?: () => void;
|
|
392
|
+
/** Editor mode: 'editing' (direct edits), 'suggesting' (track changes), or 'viewing' (read-only). Default: 'editing' */
|
|
393
|
+
mode?: EditorMode;
|
|
394
|
+
/** Callback when the editing mode changes */
|
|
395
|
+
onModeChange?: (mode: EditorMode) => void;
|
|
384
396
|
/**
|
|
385
397
|
* Callback when rendered DOM context is ready (for plugin overlays).
|
|
386
398
|
* Used by PluginHost to get access to the rendered page DOM for positioning.
|
|
@@ -423,6 +435,7 @@ interface DocxEditorRef {
|
|
|
423
435
|
/** Print the document directly */
|
|
424
436
|
print: () => void;
|
|
425
437
|
}
|
|
438
|
+
type EditorMode = 'editing' | 'suggesting' | 'viewing';
|
|
426
439
|
/**
|
|
427
440
|
* DocxEditor - Complete DOCX editor component
|
|
428
441
|
*/
|
|
@@ -1014,7 +1027,7 @@ interface UseClipboardReturn {
|
|
|
1014
1027
|
}
|
|
1015
1028
|
declare function useClipboard(options?: UseClipboardOptions): UseClipboardReturn;
|
|
1016
1029
|
|
|
1017
|
-
declare const PLUGIN_HOST_STYLES = "\n.plugin-host {\n display: flex;\n width: 100%;\n height: 100%;\n overflow: visible;\n position: relative;\n}\n\n.plugin-host-editor {\n flex: 1;\n display: flex;\n flex-direction: column;\n min-width: 0;\n overflow: visible;\n}\n\n\n.plugin-panels-left,\n.plugin-panels-right {\n display: flex;\n flex-direction: column;\n flex-shrink: 0;\n background: #f8f9fa;\n border-color: #e9ecef;\n}\n\n.plugin-panels-left {\n border-right: 1px solid #e9ecef;\n}\n\n.plugin-panels-right {\n border-left: 1px solid #e9ecef;\n}\n\n.plugin-panels-bottom {\n border-top: 1px solid #e9ecef;\n background: #f8f9fa;\n}\n\n.plugin-panel {\n position: relative;\n display: flex;\n flex-direction: column;\n overflow: hidden;\n transition: width 0.2s ease, height 0.2s ease;\n}\n\n.plugin-panel.collapsed {\n overflow: visible;\n}\n\n.plugin-panel-toggle {\n display: flex;\n align-items: center;\n gap: 4px;\n padding: 6px 8px;\n background: transparent;\n border: none;\n cursor: pointer;\n font-size: 12px;\n color: #6c757d;\n white-space: nowrap;\n}\n\n.plugin-panel.collapsed .plugin-panel-toggle {\n writing-mode: vertical-rl;\n text-orientation: mixed;\n flex-direction: column;\n height: 100%;\n padding: 8px 6px;\n}\n\n.plugin-panel-toggle:hover {\n background: #e9ecef;\n color: #495057;\n}\n\n.plugin-panel-toggle-icon {\n font-weight: bold;\n font-size: 14px;\n}\n\n.plugin-panel.collapsed .plugin-panel-toggle-icon {\n transform: rotate(90deg);\n}\n\n.plugin-panel-toggle-label {\n font-weight: 500;\n}\n\n.plugin-panel-content {\n flex: 1;\n overflow: auto;\n}\n\n/* Right panel rendered inside viewport - scrolls with content */\n.plugin-panel-in-viewport {\n position: absolute;\n top: 0;\n /* Position is set dynamically via inline styles based on page edge */\n width: 220px;\n pointer-events: auto;\n z-index: 10;\n overflow: visible;\n}\n\n.plugin-panel-in-viewport.collapsed {\n width: 32px;\n}\n\n.plugin-panel-in-viewport .plugin-panel-toggle {\n position: sticky;\n top: 0;\n background: rgba(255, 255, 255, 0.95);\n border-radius: 4px;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);\n}\n\n.plugin-panel-in-viewport-content {\n overflow: visible;\n position: relative;\n}\n\n/* Plugin overlay container for rendering highlights/decorations */\n.plugin-overlays-container {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n pointer-events: none;\n overflow: visible;\n z-index: 5;\n}\n\n.plugin-overlay {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n pointer-events: none;\n}\n\n
|
|
1030
|
+
declare const PLUGIN_HOST_STYLES = "\n.plugin-host {\n display: flex;\n width: 100%;\n height: 100%;\n overflow: visible;\n position: relative;\n}\n\n.plugin-host-editor {\n flex: 1;\n display: flex;\n flex-direction: column;\n min-width: 0;\n overflow: visible;\n}\n\n\n.plugin-panels-left,\n.plugin-panels-right {\n display: flex;\n flex-direction: column;\n flex-shrink: 0;\n background: #f8f9fa;\n border-color: #e9ecef;\n}\n\n.plugin-panels-left {\n border-right: 1px solid #e9ecef;\n}\n\n.plugin-panels-right {\n border-left: 1px solid #e9ecef;\n}\n\n.plugin-panels-bottom {\n border-top: 1px solid #e9ecef;\n background: #f8f9fa;\n}\n\n.plugin-panel {\n position: relative;\n display: flex;\n flex-direction: column;\n overflow: hidden;\n transition: width 0.2s ease, height 0.2s ease;\n}\n\n.plugin-panel.collapsed {\n overflow: visible;\n}\n\n.plugin-panel-toggle {\n display: flex;\n align-items: center;\n gap: 4px;\n padding: 6px 8px;\n background: transparent;\n border: none;\n cursor: pointer;\n font-size: 12px;\n color: #6c757d;\n white-space: nowrap;\n}\n\n.plugin-panel.collapsed .plugin-panel-toggle {\n writing-mode: vertical-rl;\n text-orientation: mixed;\n flex-direction: column;\n height: 100%;\n padding: 8px 6px;\n}\n\n.plugin-panel-toggle:hover {\n background: #e9ecef;\n color: #495057;\n}\n\n.plugin-panel-toggle-icon {\n font-weight: bold;\n font-size: 14px;\n}\n\n.plugin-panel.collapsed .plugin-panel-toggle-icon {\n transform: rotate(90deg);\n}\n\n.plugin-panel-toggle-label {\n font-weight: 500;\n}\n\n.plugin-panel-content {\n flex: 1;\n overflow: auto;\n}\n\n/* Right panel rendered inside viewport - scrolls with content */\n.plugin-panel-in-viewport {\n position: absolute;\n top: 0;\n /* Position is set dynamically via inline styles based on page edge */\n width: 220px;\n pointer-events: auto;\n z-index: 10;\n overflow: visible;\n}\n\n.plugin-panel-in-viewport.collapsed {\n width: 32px;\n}\n\n.plugin-panel-in-viewport .plugin-panel-toggle {\n position: sticky;\n top: 0;\n background: rgba(255, 255, 255, 0.95);\n border-radius: 4px;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);\n}\n\n.plugin-panel-in-viewport-content {\n overflow: visible;\n position: relative;\n}\n\n/* Plugin overlay container for rendering highlights/decorations */\n.plugin-overlays-container {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n pointer-events: none;\n overflow: visible;\n z-index: 5;\n}\n\n.plugin-overlay {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n pointer-events: none;\n}\n\n/* Individual overlay children manage their own pointer-events.\n Do NOT set pointer-events: auto here \u2014 it overrides overlay containers\n that need pointer-events: none to let clicks pass through to the editor. */\n";
|
|
1018
1031
|
/**
|
|
1019
1032
|
* PluginHost Component
|
|
1020
1033
|
*
|
|
@@ -1026,4 +1039,4 @@ declare const PLUGIN_HOST_STYLES = "\n.plugin-host {\n display: flex;\n width:
|
|
|
1026
1039
|
*/
|
|
1027
1040
|
declare const PluginHost: React$1.ForwardRefExoticComponent<PluginHostProps & React$1.RefAttributes<PluginHostRef>>;
|
|
1028
1041
|
|
|
1029
|
-
export {
|
|
1042
|
+
export { getSelectionBoundingRect as $, type UseSelectionHighlightReturn as A, type UseTableSelectionOptions as B, type UseTableSelectionReturn as C, DEFAULT_SELECTION_STYLE as D, type EditorMode as E, type UseWheelZoomOptions as F, type UseWheelZoomReturn as G, HIGH_CONTRAST_SELECTION_STYLE as H, areSelectionStylesInjected as I, clampZoom as J, clearSelection as K, createSelectionChangeHandler as L, findNearestZoomPreset as M, formatZoom as N, generateOverlayElements as O, PLUGIN_HOST_STYLES as P, generateSelectionCSS as Q, type ReactEditorPlugin as R, SELECTION_CSS_VARS as S, type TableSelectionState as T, UnsupportedFeatureWarning as U, getHighlightRectStyle as V, getMergedSelectionRects as W, getNextZoomPreset as X, getPreviousZoomPreset as Y, ZOOM_PRESETS as Z, getSelectedText as _, DocxEditor as a, getSelectionRects as a0, getUserFriendlyMessage as a1, getZoomPresets as a2, hasActiveSelection as a3, highlightTextRange as a4, injectSelectionStyles as a5, isParseError as a6, isSelectionBackwards as a7, isSelectionWithin as a8, isZoomPreset as a9, mergeAdjacentRects as aa, normalizeSelectionDirection as ab, parseZoom as ac, removeSelectionStyles as ad, renderAsync as ae, selectRange as af, useAutoSave as ag, useClipboard as ah, useErrorNotifications as ai, useSelectionHighlight as aj, useTableSelection as ak, useWheelZoom as al, type DocxEditorHandle as b, type DocxEditorProps as c, type DocxEditorRef as d, type EditorPlugin as e, ErrorBoundary as f, type ErrorBoundaryProps as g, type ErrorContextValue as h, ErrorProvider as i, type HighlightRect as j, ParseErrorDisplay as k, type ParseErrorDisplayProps as l, type PluginContext as m, PluginHost as n, type PluginHostProps as o, type PluginHostRef as p, type RenderAsyncOptions as q, type SelectionHighlightConfig as r, type SelectionOverlayProps as s, type SelectionRange as t, type UnsupportedFeatureWarningProps as u, type UseAutoSaveOptions as v, type UseAutoSaveReturn as w, type UseClipboardOptions as x, type UseClipboardReturn as y, type UseSelectionHighlightOptions as z };
|
|
@@ -4,10 +4,10 @@ import * as prosemirror_view from 'prosemirror-view';
|
|
|
4
4
|
import { EditorView } from 'prosemirror-view';
|
|
5
5
|
import * as prosemirror_state from 'prosemirror-state';
|
|
6
6
|
import { EditorState, Transaction } from 'prosemirror-state';
|
|
7
|
-
import { T as TextFormatting, w as ParagraphFormatting, D as Document, X as Theme, e as Table } from './agentApi-
|
|
8
|
-
import { P as PageIndicatorPosition, e as PageNavigatorPosition, c as PageIndicatorVariant, g as PageNavigatorVariant, m as PrintOptions, o as TableContext, T as TableAction, j as ParsedClipboardContent } from './clipboard-
|
|
9
|
-
import { g as DocxInput, D as DocumentAgent } from './DocumentAgent-
|
|
10
|
-
import { g as EditorPluginCore, k as PluginPanelProps, R as RenderedDomContext, f as EditorHandle, h as ErrorNotification, m as SavedDocumentData, d as AutoSaveStatus, e as ClipboardSelection } from './ClipboardManager-
|
|
7
|
+
import { T as TextFormatting, w as ParagraphFormatting, D as Document, X as Theme, e as Table } from './agentApi-DmDuQm0e.js';
|
|
8
|
+
import { P as PageIndicatorPosition, e as PageNavigatorPosition, c as PageIndicatorVariant, g as PageNavigatorVariant, m as PrintOptions, o as TableContext, T as TableAction, j as ParsedClipboardContent } from './clipboard-DriRE6eS.js';
|
|
9
|
+
import { g as DocxInput, D as DocumentAgent } from './DocumentAgent-lHtXgMFN.js';
|
|
10
|
+
import { g as EditorPluginCore, k as PluginPanelProps, R as RenderedDomContext, f as EditorHandle, h as ErrorNotification, m as SavedDocumentData, d as AutoSaveStatus, e as ClipboardSelection } from './ClipboardManager-CR843H7H.js';
|
|
11
11
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
12
12
|
|
|
13
13
|
/**
|
|
@@ -112,10 +112,18 @@ type ImageFragment = FragmentBase & {
|
|
|
112
112
|
/** Z-index for layering. */
|
|
113
113
|
zIndex?: number;
|
|
114
114
|
};
|
|
115
|
+
/**
|
|
116
|
+
* A text box fragment positioned on a page.
|
|
117
|
+
*/
|
|
118
|
+
type TextBoxFragment = FragmentBase & {
|
|
119
|
+
kind: 'textBox';
|
|
120
|
+
/** Height of the text box. */
|
|
121
|
+
height: number;
|
|
122
|
+
};
|
|
115
123
|
/**
|
|
116
124
|
* Union of all fragment types.
|
|
117
125
|
*/
|
|
118
|
-
type Fragment = ParagraphFragment | TableFragment | ImageFragment;
|
|
126
|
+
type Fragment = ParagraphFragment | TableFragment | ImageFragment | TextBoxFragment;
|
|
119
127
|
/**
|
|
120
128
|
* Page margin configuration.
|
|
121
129
|
*/
|
|
@@ -381,6 +389,10 @@ interface DocxEditorProps {
|
|
|
381
389
|
onCut?: () => void;
|
|
382
390
|
/** Callback when content is pasted */
|
|
383
391
|
onPaste?: () => void;
|
|
392
|
+
/** Editor mode: 'editing' (direct edits), 'suggesting' (track changes), or 'viewing' (read-only). Default: 'editing' */
|
|
393
|
+
mode?: EditorMode;
|
|
394
|
+
/** Callback when the editing mode changes */
|
|
395
|
+
onModeChange?: (mode: EditorMode) => void;
|
|
384
396
|
/**
|
|
385
397
|
* Callback when rendered DOM context is ready (for plugin overlays).
|
|
386
398
|
* Used by PluginHost to get access to the rendered page DOM for positioning.
|
|
@@ -423,6 +435,7 @@ interface DocxEditorRef {
|
|
|
423
435
|
/** Print the document directly */
|
|
424
436
|
print: () => void;
|
|
425
437
|
}
|
|
438
|
+
type EditorMode = 'editing' | 'suggesting' | 'viewing';
|
|
426
439
|
/**
|
|
427
440
|
* DocxEditor - Complete DOCX editor component
|
|
428
441
|
*/
|
|
@@ -1014,7 +1027,7 @@ interface UseClipboardReturn {
|
|
|
1014
1027
|
}
|
|
1015
1028
|
declare function useClipboard(options?: UseClipboardOptions): UseClipboardReturn;
|
|
1016
1029
|
|
|
1017
|
-
declare const PLUGIN_HOST_STYLES = "\n.plugin-host {\n display: flex;\n width: 100%;\n height: 100%;\n overflow: visible;\n position: relative;\n}\n\n.plugin-host-editor {\n flex: 1;\n display: flex;\n flex-direction: column;\n min-width: 0;\n overflow: visible;\n}\n\n\n.plugin-panels-left,\n.plugin-panels-right {\n display: flex;\n flex-direction: column;\n flex-shrink: 0;\n background: #f8f9fa;\n border-color: #e9ecef;\n}\n\n.plugin-panels-left {\n border-right: 1px solid #e9ecef;\n}\n\n.plugin-panels-right {\n border-left: 1px solid #e9ecef;\n}\n\n.plugin-panels-bottom {\n border-top: 1px solid #e9ecef;\n background: #f8f9fa;\n}\n\n.plugin-panel {\n position: relative;\n display: flex;\n flex-direction: column;\n overflow: hidden;\n transition: width 0.2s ease, height 0.2s ease;\n}\n\n.plugin-panel.collapsed {\n overflow: visible;\n}\n\n.plugin-panel-toggle {\n display: flex;\n align-items: center;\n gap: 4px;\n padding: 6px 8px;\n background: transparent;\n border: none;\n cursor: pointer;\n font-size: 12px;\n color: #6c757d;\n white-space: nowrap;\n}\n\n.plugin-panel.collapsed .plugin-panel-toggle {\n writing-mode: vertical-rl;\n text-orientation: mixed;\n flex-direction: column;\n height: 100%;\n padding: 8px 6px;\n}\n\n.plugin-panel-toggle:hover {\n background: #e9ecef;\n color: #495057;\n}\n\n.plugin-panel-toggle-icon {\n font-weight: bold;\n font-size: 14px;\n}\n\n.plugin-panel.collapsed .plugin-panel-toggle-icon {\n transform: rotate(90deg);\n}\n\n.plugin-panel-toggle-label {\n font-weight: 500;\n}\n\n.plugin-panel-content {\n flex: 1;\n overflow: auto;\n}\n\n/* Right panel rendered inside viewport - scrolls with content */\n.plugin-panel-in-viewport {\n position: absolute;\n top: 0;\n /* Position is set dynamically via inline styles based on page edge */\n width: 220px;\n pointer-events: auto;\n z-index: 10;\n overflow: visible;\n}\n\n.plugin-panel-in-viewport.collapsed {\n width: 32px;\n}\n\n.plugin-panel-in-viewport .plugin-panel-toggle {\n position: sticky;\n top: 0;\n background: rgba(255, 255, 255, 0.95);\n border-radius: 4px;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);\n}\n\n.plugin-panel-in-viewport-content {\n overflow: visible;\n position: relative;\n}\n\n/* Plugin overlay container for rendering highlights/decorations */\n.plugin-overlays-container {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n pointer-events: none;\n overflow: visible;\n z-index: 5;\n}\n\n.plugin-overlay {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n pointer-events: none;\n}\n\n
|
|
1030
|
+
declare const PLUGIN_HOST_STYLES = "\n.plugin-host {\n display: flex;\n width: 100%;\n height: 100%;\n overflow: visible;\n position: relative;\n}\n\n.plugin-host-editor {\n flex: 1;\n display: flex;\n flex-direction: column;\n min-width: 0;\n overflow: visible;\n}\n\n\n.plugin-panels-left,\n.plugin-panels-right {\n display: flex;\n flex-direction: column;\n flex-shrink: 0;\n background: #f8f9fa;\n border-color: #e9ecef;\n}\n\n.plugin-panels-left {\n border-right: 1px solid #e9ecef;\n}\n\n.plugin-panels-right {\n border-left: 1px solid #e9ecef;\n}\n\n.plugin-panels-bottom {\n border-top: 1px solid #e9ecef;\n background: #f8f9fa;\n}\n\n.plugin-panel {\n position: relative;\n display: flex;\n flex-direction: column;\n overflow: hidden;\n transition: width 0.2s ease, height 0.2s ease;\n}\n\n.plugin-panel.collapsed {\n overflow: visible;\n}\n\n.plugin-panel-toggle {\n display: flex;\n align-items: center;\n gap: 4px;\n padding: 6px 8px;\n background: transparent;\n border: none;\n cursor: pointer;\n font-size: 12px;\n color: #6c757d;\n white-space: nowrap;\n}\n\n.plugin-panel.collapsed .plugin-panel-toggle {\n writing-mode: vertical-rl;\n text-orientation: mixed;\n flex-direction: column;\n height: 100%;\n padding: 8px 6px;\n}\n\n.plugin-panel-toggle:hover {\n background: #e9ecef;\n color: #495057;\n}\n\n.plugin-panel-toggle-icon {\n font-weight: bold;\n font-size: 14px;\n}\n\n.plugin-panel.collapsed .plugin-panel-toggle-icon {\n transform: rotate(90deg);\n}\n\n.plugin-panel-toggle-label {\n font-weight: 500;\n}\n\n.plugin-panel-content {\n flex: 1;\n overflow: auto;\n}\n\n/* Right panel rendered inside viewport - scrolls with content */\n.plugin-panel-in-viewport {\n position: absolute;\n top: 0;\n /* Position is set dynamically via inline styles based on page edge */\n width: 220px;\n pointer-events: auto;\n z-index: 10;\n overflow: visible;\n}\n\n.plugin-panel-in-viewport.collapsed {\n width: 32px;\n}\n\n.plugin-panel-in-viewport .plugin-panel-toggle {\n position: sticky;\n top: 0;\n background: rgba(255, 255, 255, 0.95);\n border-radius: 4px;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);\n}\n\n.plugin-panel-in-viewport-content {\n overflow: visible;\n position: relative;\n}\n\n/* Plugin overlay container for rendering highlights/decorations */\n.plugin-overlays-container {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n pointer-events: none;\n overflow: visible;\n z-index: 5;\n}\n\n.plugin-overlay {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n pointer-events: none;\n}\n\n/* Individual overlay children manage their own pointer-events.\n Do NOT set pointer-events: auto here \u2014 it overrides overlay containers\n that need pointer-events: none to let clicks pass through to the editor. */\n";
|
|
1018
1031
|
/**
|
|
1019
1032
|
* PluginHost Component
|
|
1020
1033
|
*
|
|
@@ -1026,4 +1039,4 @@ declare const PLUGIN_HOST_STYLES = "\n.plugin-host {\n display: flex;\n width:
|
|
|
1026
1039
|
*/
|
|
1027
1040
|
declare const PluginHost: React$1.ForwardRefExoticComponent<PluginHostProps & React$1.RefAttributes<PluginHostRef>>;
|
|
1028
1041
|
|
|
1029
|
-
export {
|
|
1042
|
+
export { getSelectionBoundingRect as $, type UseSelectionHighlightReturn as A, type UseTableSelectionOptions as B, type UseTableSelectionReturn as C, DEFAULT_SELECTION_STYLE as D, type EditorMode as E, type UseWheelZoomOptions as F, type UseWheelZoomReturn as G, HIGH_CONTRAST_SELECTION_STYLE as H, areSelectionStylesInjected as I, clampZoom as J, clearSelection as K, createSelectionChangeHandler as L, findNearestZoomPreset as M, formatZoom as N, generateOverlayElements as O, PLUGIN_HOST_STYLES as P, generateSelectionCSS as Q, type ReactEditorPlugin as R, SELECTION_CSS_VARS as S, type TableSelectionState as T, UnsupportedFeatureWarning as U, getHighlightRectStyle as V, getMergedSelectionRects as W, getNextZoomPreset as X, getPreviousZoomPreset as Y, ZOOM_PRESETS as Z, getSelectedText as _, DocxEditor as a, getSelectionRects as a0, getUserFriendlyMessage as a1, getZoomPresets as a2, hasActiveSelection as a3, highlightTextRange as a4, injectSelectionStyles as a5, isParseError as a6, isSelectionBackwards as a7, isSelectionWithin as a8, isZoomPreset as a9, mergeAdjacentRects as aa, normalizeSelectionDirection as ab, parseZoom as ac, removeSelectionStyles as ad, renderAsync as ae, selectRange as af, useAutoSave as ag, useClipboard as ah, useErrorNotifications as ai, useSelectionHighlight as aj, useTableSelection as ak, useWheelZoom as al, type DocxEditorHandle as b, type DocxEditorProps as c, type DocxEditorRef as d, type EditorPlugin as e, ErrorBoundary as f, type ErrorBoundaryProps as g, type ErrorContextValue as h, ErrorProvider as i, type HighlightRect as j, ParseErrorDisplay as k, type ParseErrorDisplayProps as l, type PluginContext as m, PluginHost as n, type PluginHostProps as o, type PluginHostRef as p, type RenderAsyncOptions as q, type SelectionHighlightConfig as r, type SelectionOverlayProps as s, type SelectionRange as t, type UnsupportedFeatureWarningProps as u, type UseAutoSaveOptions as v, type UseAutoSaveReturn as w, type UseClipboardOptions as x, type UseClipboardReturn as y, type UseSelectionHighlightOptions as z };
|
package/dist/react.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkRHLMVYVZ_cjs=require('./chunk-RHLMVYVZ.cjs');require('./chunk-4CUGBNL2.cjs'),require('./chunk-I5YZ4MRV.cjs'),require('./chunk-VTAS7VZ6.cjs'),require('./chunk-XS2AQFMF.cjs');var chunk2VHQ7YOQ_cjs=require('./chunk-2VHQ7YOQ.cjs');require('./chunk-KL2RYY6G.cjs'),require('./chunk-IA4LPH2A.cjs'),require('./chunk-5ILXHRJS.cjs'),require('./chunk-B7TICMXD.cjs'),require('./chunk-PUVSVHHB.cjs'),require('./chunk-P7ZF45KZ.cjs');var chunkPIVLDW7B_cjs=require('./chunk-PIVLDW7B.cjs');require('./chunk-YS7FDEZ4.cjs'),require('./chunk-KR32M3S4.cjs'),require('./chunk-XQNCLN4T.cjs'),require('./chunk-PCJ5ACUV.cjs');Object.defineProperty(exports,"DocxEditor",{enumerable:true,get:function(){return chunkRHLMVYVZ_cjs.i}});Object.defineProperty(exports,"ErrorBoundary",{enumerable:true,get:function(){return chunkRHLMVYVZ_cjs.c}});Object.defineProperty(exports,"ErrorProvider",{enumerable:true,get:function(){return chunkRHLMVYVZ_cjs.b}});Object.defineProperty(exports,"PLUGIN_HOST_STYLES",{enumerable:true,get:function(){return chunkRHLMVYVZ_cjs.T}});Object.defineProperty(exports,"ParseErrorDisplay",{enumerable:true,get:function(){return chunkRHLMVYVZ_cjs.d}});Object.defineProperty(exports,"PluginHost",{enumerable:true,get:function(){return chunkRHLMVYVZ_cjs.U}});Object.defineProperty(exports,"UnsupportedFeatureWarning",{enumerable:true,get:function(){return chunkRHLMVYVZ_cjs.e}});Object.defineProperty(exports,"ZOOM_PRESETS",{enumerable:true,get:function(){return chunkRHLMVYVZ_cjs.l}});Object.defineProperty(exports,"clampZoom",{enumerable:true,get:function(){return chunkRHLMVYVZ_cjs.u}});Object.defineProperty(exports,"findNearestZoomPreset",{enumerable:true,get:function(){return chunkRHLMVYVZ_cjs.o}});Object.defineProperty(exports,"formatZoom",{enumerable:true,get:function(){return chunkRHLMVYVZ_cjs.r}});Object.defineProperty(exports,"generateOverlayElements",{enumerable:true,get:function(){return chunkRHLMVYVZ_cjs.R}});Object.defineProperty(exports,"getNextZoomPreset",{enumerable:true,get:function(){return chunkRHLMVYVZ_cjs.p}});Object.defineProperty(exports,"getPreviousZoomPreset",{enumerable:true,get:function(){return chunkRHLMVYVZ_cjs.q}});Object.defineProperty(exports,"getUserFriendlyMessage",{enumerable:true,get:function(){return chunkRHLMVYVZ_cjs.g}});Object.defineProperty(exports,"getZoomPresets",{enumerable:true,get:function(){return chunkRHLMVYVZ_cjs.n}});Object.defineProperty(exports,"isParseError",{enumerable:true,get:function(){return chunkRHLMVYVZ_cjs.f}});Object.defineProperty(exports,"isZoomPreset",{enumerable:true,get:function(){return chunkRHLMVYVZ_cjs.t}});Object.defineProperty(exports,"parseZoom",{enumerable:true,get:function(){return chunkRHLMVYVZ_cjs.s}});Object.defineProperty(exports,"renderAsync",{enumerable:true,get:function(){return chunkRHLMVYVZ_cjs.j}});Object.defineProperty(exports,"useAutoSave",{enumerable:true,get:function(){return chunkRHLMVYVZ_cjs.k}});Object.defineProperty(exports,"useClipboard",{enumerable:true,get:function(){return chunkRHLMVYVZ_cjs.S}});Object.defineProperty(exports,"useErrorNotifications",{enumerable:true,get:function(){return chunkRHLMVYVZ_cjs.a}});Object.defineProperty(exports,"useSelectionHighlight",{enumerable:true,get:function(){return chunkRHLMVYVZ_cjs.Q}});Object.defineProperty(exports,"useTableSelection",{enumerable:true,get:function(){return chunkRHLMVYVZ_cjs.h}});Object.defineProperty(exports,"useWheelZoom",{enumerable:true,get:function(){return chunkRHLMVYVZ_cjs.m}});Object.defineProperty(exports,"TABLE_DATA_ATTRIBUTES",{enumerable:true,get:function(){return chunk2VHQ7YOQ_cjs.x}});Object.defineProperty(exports,"createSelectionFromDOM",{enumerable:true,get:function(){return chunk2VHQ7YOQ_cjs.F}});Object.defineProperty(exports,"formatLastSaveTime",{enumerable:true,get:function(){return chunk2VHQ7YOQ_cjs.s}});Object.defineProperty(exports,"formatStorageSize",{enumerable:true,get:function(){return chunk2VHQ7YOQ_cjs.v}});Object.defineProperty(exports,"getAutoSaveStatusLabel",{enumerable:true,get:function(){return chunk2VHQ7YOQ_cjs.t}});Object.defineProperty(exports,"getAutoSaveStorageSize",{enumerable:true,get:function(){return chunk2VHQ7YOQ_cjs.u}});Object.defineProperty(exports,"getSelectionRuns",{enumerable:true,get:function(){return chunk2VHQ7YOQ_cjs.E}});Object.defineProperty(exports,"isAutoSaveSupported",{enumerable:true,get:function(){return chunk2VHQ7YOQ_cjs.w}});Object.defineProperty(exports,"toArrayBuffer",{enumerable:true,get:function(){return chunkPIVLDW7B_cjs.m}});
|
package/dist/react.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { a as DocxEditor, b as DocxEditorHandle, c as DocxEditorProps, d as DocxEditorRef,
|
|
2
|
-
export { g as DocxInput, t as toArrayBuffer } from './DocumentAgent-
|
|
3
|
-
export { d as AutoSaveStatus, e as ClipboardSelection, h as ErrorNotification, i as ErrorSeverity, j as PanelConfig, k as PluginPanelProps, m as SavedDocumentData, T as TABLE_DATA_ATTRIBUTES, p as createSelectionFromDOM, t as formatLastSaveTime, u as formatStorageSize, v as getAutoSaveStatusLabel, w as getAutoSaveStorageSize, x as getSelectionRuns, z as isAutoSaveSupported } from './ClipboardManager-
|
|
1
|
+
export { a as DocxEditor, b as DocxEditorHandle, c as DocxEditorProps, d as DocxEditorRef, e as EditorPlugin, f as ErrorBoundary, g as ErrorBoundaryProps, h as ErrorContextValue, i as ErrorProvider, P as PLUGIN_HOST_STYLES, k as ParseErrorDisplay, l as ParseErrorDisplayProps, m as PluginContext, n as PluginHost, o as PluginHostProps, p as PluginHostRef, q as RenderAsyncOptions, s as SelectionOverlayProps, T as TableSelectionState, U as UnsupportedFeatureWarning, u as UnsupportedFeatureWarningProps, v as UseAutoSaveOptions, w as UseAutoSaveReturn, x as UseClipboardOptions, y as UseClipboardReturn, z as UseSelectionHighlightOptions, A as UseSelectionHighlightReturn, B as UseTableSelectionOptions, C as UseTableSelectionReturn, F as UseWheelZoomOptions, G as UseWheelZoomReturn, Z as ZOOM_PRESETS, J as clampZoom, M as findNearestZoomPreset, N as formatZoom, O as generateOverlayElements, X as getNextZoomPreset, Y as getPreviousZoomPreset, a1 as getUserFriendlyMessage, a2 as getZoomPresets, a6 as isParseError, a9 as isZoomPreset, ac as parseZoom, ae as renderAsync, ag as useAutoSave, ah as useClipboard, ai as useErrorNotifications, aj as useSelectionHighlight, ak as useTableSelection, al as useWheelZoom } from './react-BYRZYSPG.cjs';
|
|
2
|
+
export { g as DocxInput, t as toArrayBuffer } from './DocumentAgent-cHf96hwL.cjs';
|
|
3
|
+
export { d as AutoSaveStatus, e as ClipboardSelection, h as ErrorNotification, i as ErrorSeverity, j as PanelConfig, k as PluginPanelProps, m as SavedDocumentData, T as TABLE_DATA_ATTRIBUTES, p as createSelectionFromDOM, t as formatLastSaveTime, u as formatStorageSize, v as getAutoSaveStatusLabel, w as getAutoSaveStorageSize, x as getSelectionRuns, z as isAutoSaveSupported } from './ClipboardManager-Bbo5MM_U.cjs';
|
|
4
4
|
import 'react';
|
|
5
5
|
import 'prosemirror-view';
|
|
6
6
|
import 'prosemirror-state';
|
|
7
|
-
import './agentApi-
|
|
8
|
-
import './clipboard-
|
|
7
|
+
import './agentApi-DmDuQm0e.cjs';
|
|
8
|
+
import './clipboard-Bj2X5pLO.cjs';
|
|
9
9
|
import 'react/jsx-runtime';
|
|
10
10
|
import 'prosemirror-model';
|
package/dist/react.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { a as DocxEditor, b as DocxEditorHandle, c as DocxEditorProps, d as DocxEditorRef,
|
|
2
|
-
export { g as DocxInput, t as toArrayBuffer } from './DocumentAgent-
|
|
3
|
-
export { d as AutoSaveStatus, e as ClipboardSelection, h as ErrorNotification, i as ErrorSeverity, j as PanelConfig, k as PluginPanelProps, m as SavedDocumentData, T as TABLE_DATA_ATTRIBUTES, p as createSelectionFromDOM, t as formatLastSaveTime, u as formatStorageSize, v as getAutoSaveStatusLabel, w as getAutoSaveStorageSize, x as getSelectionRuns, z as isAutoSaveSupported } from './ClipboardManager-
|
|
1
|
+
export { a as DocxEditor, b as DocxEditorHandle, c as DocxEditorProps, d as DocxEditorRef, e as EditorPlugin, f as ErrorBoundary, g as ErrorBoundaryProps, h as ErrorContextValue, i as ErrorProvider, P as PLUGIN_HOST_STYLES, k as ParseErrorDisplay, l as ParseErrorDisplayProps, m as PluginContext, n as PluginHost, o as PluginHostProps, p as PluginHostRef, q as RenderAsyncOptions, s as SelectionOverlayProps, T as TableSelectionState, U as UnsupportedFeatureWarning, u as UnsupportedFeatureWarningProps, v as UseAutoSaveOptions, w as UseAutoSaveReturn, x as UseClipboardOptions, y as UseClipboardReturn, z as UseSelectionHighlightOptions, A as UseSelectionHighlightReturn, B as UseTableSelectionOptions, C as UseTableSelectionReturn, F as UseWheelZoomOptions, G as UseWheelZoomReturn, Z as ZOOM_PRESETS, J as clampZoom, M as findNearestZoomPreset, N as formatZoom, O as generateOverlayElements, X as getNextZoomPreset, Y as getPreviousZoomPreset, a1 as getUserFriendlyMessage, a2 as getZoomPresets, a6 as isParseError, a9 as isZoomPreset, ac as parseZoom, ae as renderAsync, ag as useAutoSave, ah as useClipboard, ai as useErrorNotifications, aj as useSelectionHighlight, ak as useTableSelection, al as useWheelZoom } from './react-Bj9uDtjg.js';
|
|
2
|
+
export { g as DocxInput, t as toArrayBuffer } from './DocumentAgent-lHtXgMFN.js';
|
|
3
|
+
export { d as AutoSaveStatus, e as ClipboardSelection, h as ErrorNotification, i as ErrorSeverity, j as PanelConfig, k as PluginPanelProps, m as SavedDocumentData, T as TABLE_DATA_ATTRIBUTES, p as createSelectionFromDOM, t as formatLastSaveTime, u as formatStorageSize, v as getAutoSaveStatusLabel, w as getAutoSaveStorageSize, x as getSelectionRuns, z as isAutoSaveSupported } from './ClipboardManager-CR843H7H.js';
|
|
4
4
|
import 'react';
|
|
5
5
|
import 'prosemirror-view';
|
|
6
6
|
import 'prosemirror-state';
|
|
7
|
-
import './agentApi-
|
|
8
|
-
import './clipboard-
|
|
7
|
+
import './agentApi-DmDuQm0e.js';
|
|
8
|
+
import './clipboard-DriRE6eS.js';
|
|
9
9
|
import 'react/jsx-runtime';
|
|
10
10
|
import 'prosemirror-model';
|
package/dist/react.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{i as DocxEditor,c as ErrorBoundary,b as ErrorProvider,T as PLUGIN_HOST_STYLES,d as ParseErrorDisplay,U as PluginHost,e as UnsupportedFeatureWarning,l as ZOOM_PRESETS,u as clampZoom,o as findNearestZoomPreset,r as formatZoom,R as generateOverlayElements,p as getNextZoomPreset,q as getPreviousZoomPreset,g as getUserFriendlyMessage,n as getZoomPresets,f as isParseError,t as isZoomPreset,s as parseZoom,j as renderAsync,k as useAutoSave,S as useClipboard,a as useErrorNotifications,Q as useSelectionHighlight,h as useTableSelection,m as useWheelZoom}from'./chunk-
|
|
1
|
+
export{i as DocxEditor,c as ErrorBoundary,b as ErrorProvider,T as PLUGIN_HOST_STYLES,d as ParseErrorDisplay,U as PluginHost,e as UnsupportedFeatureWarning,l as ZOOM_PRESETS,u as clampZoom,o as findNearestZoomPreset,r as formatZoom,R as generateOverlayElements,p as getNextZoomPreset,q as getPreviousZoomPreset,g as getUserFriendlyMessage,n as getZoomPresets,f as isParseError,t as isZoomPreset,s as parseZoom,j as renderAsync,k as useAutoSave,S as useClipboard,a as useErrorNotifications,Q as useSelectionHighlight,h as useTableSelection,m as useWheelZoom}from'./chunk-2JOQ7WKO.js';import'./chunk-5GFXHUMP.js';import'./chunk-C6ELWJWO.js';import'./chunk-CTYOM6BE.js';import'./chunk-PJVI53AH.js';export{x as TABLE_DATA_ATTRIBUTES,F as createSelectionFromDOM,s as formatLastSaveTime,v as formatStorageSize,t as getAutoSaveStatusLabel,u as getAutoSaveStorageSize,E as getSelectionRuns,w as isAutoSaveSupported}from'./chunk-FVUGBRDD.js';import'./chunk-JIKVCUR6.js';import'./chunk-4VUZBV2S.js';import'./chunk-6TUCNECX.js';import'./chunk-CLDB6TL7.js';import'./chunk-PGEORVCG.js';import'./chunk-AARNCPWR.js';export{m as toArrayBuffer}from'./chunk-3X3LTNK4.js';import'./chunk-BUEMG4NW.js';import'./chunk-SE5EN2QL.js';import'./chunk-USRMBYI6.js';import'./chunk-H5NTJZO4.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as CorePlugin, P as PluginOptions, a as PluginRegistrationResult, b as CommandHandler, M as McpToolDefinition, c as PluginEventListener } from './types-
|
|
1
|
+
import { C as CorePlugin, P as PluginOptions, a as PluginRegistrationResult, b as CommandHandler, M as McpToolDefinition, c as PluginEventListener } from './types-BpokDLqL.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Plugin Registry
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as CorePlugin, P as PluginOptions, a as PluginRegistrationResult, b as CommandHandler, M as McpToolDefinition, c as PluginEventListener } from './types-
|
|
1
|
+
import { C as CorePlugin, P as PluginOptions, a as PluginRegistrationResult, b as CommandHandler, M as McpToolDefinition, c as PluginEventListener } from './types-COQvtZji.cjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Plugin Registry
|
package/dist/styles.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.ep-root .\!visible{visibility:visible!important}.ep-root .visible{visibility:visible}.ep-root .collapse{visibility:collapse}.ep-root .static{position:static}.ep-root .fixed{position:fixed}.ep-root .absolute{position:absolute}.ep-root .relative{position:relative}.ep-root .sticky{position:sticky}.ep-root .right-2{right:.5rem}.ep-root .top-0{top:0}.ep-root .z-50{z-index:50}.ep-root .-mx-1{margin-left:-.25rem;margin-right:-.25rem}.ep-root .mx-1\.5{margin-left:.375rem;margin-right:.375rem}.ep-root .my-1{margin-top:.25rem;margin-bottom:.25rem}.ep-root .-ml-1{margin-left:-.25rem}.ep-root .block{display:block}.ep-root .inline-block{display:inline-block}.ep-root .inline{display:inline}.ep-root .flex{display:flex}.ep-root .inline-flex{display:inline-flex}.ep-root .\!table{display:table!important}.ep-root .table{display:table}.ep-root .grid{display:grid}.ep-root .inline-grid{display:inline-grid}.ep-root .contents{display:contents}.ep-root .hidden{display:none}.ep-root .h-10{height:2.5rem}.ep-root .h-11{height:2.75rem}.ep-root .h-3\.5{height:.875rem}.ep-root .h-4{height:1rem}.ep-root .h-5{height:1.25rem}.ep-root .h-6{height:1.5rem}.ep-root .h-7{height:1.75rem}.ep-root .h-8{height:2rem}.ep-root .h-9{height:2.25rem}.ep-root .h-\[var\(--radix-select-trigger-height\)\]{height:var(--radix-select-trigger-height)}.ep-root .h-px{height:1px}.ep-root .max-h-72{max-height:18rem}.ep-root .max-h-\[300px\]{max-height:300px}.ep-root .max-h-\[400px\]{max-height:400px}.ep-root .min-h-\[44px\]{min-height:44px}.ep-root .w-10{width:2.5rem}.ep-root .w-3\.5{width:.875rem}.ep-root .w-4{width:1rem}.ep-root .w-5{width:1.25rem}.ep-root .w-7{width:1.75rem}.ep-root .w-8{width:2rem}.ep-root .w-9{width:2.25rem}.ep-root .w-full{width:100%}.ep-root .w-px{width:1px}.ep-root .min-w-\[260px\]{min-width:260px}.ep-root .min-w-\[55px\]{min-width:55px}.ep-root .min-w-\[70px\]{min-width:70px}.ep-root .min-w-\[8rem\]{min-width:8rem}.ep-root .min-w-\[var\(--radix-select-trigger-width\)\]{min-width:var(--radix-select-trigger-width)}.ep-root .flex-shrink{flex-shrink:1}.ep-root .flex-shrink-0{flex-shrink:0}.ep-root .shrink{flex-shrink:1}.ep-root .shrink-0{flex-shrink:0}.ep-root .transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.ep-root .cursor-not-allowed{cursor:not-allowed}.ep-root .cursor-pointer{cursor:pointer}.ep-root .select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.ep-root .select-all{-webkit-user-select:all;-moz-user-select:all;user-select:all}.ep-root .resize{resize:both}.ep-root .flex-col{flex-direction:column}.ep-root .flex-wrap{flex-wrap:wrap}.ep-root .items-center{align-items:center}.ep-root .justify-center{justify-content:center}.ep-root .justify-between{justify-content:space-between}.ep-root .gap-0{gap:0}.ep-root .gap-0\.5{gap:.125rem}.ep-root .gap-1{gap:.25rem}.ep-root .overflow-hidden{overflow:hidden}.ep-root .overflow-x-auto{overflow-x:auto}.ep-root .truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ep-root .whitespace-nowrap{white-space:nowrap}.ep-root .rounded{border-radius:.25rem}.ep-root .rounded-lg{border-radius:var(--radius)}.ep-root .rounded-md{border-radius:calc(var(--radius) - 2px)}.ep-root .rounded-none{border-radius:0}.ep-root .rounded-l-none{border-top-left-radius:0;border-bottom-left-radius:0}.ep-root .rounded-r-none{border-top-right-radius:0;border-bottom-right-radius:0}.ep-root .\!border{border-width:1px!important}.ep-root .border{border-width:1px}.ep-root .border-b{border-bottom-width:1px}.ep-root .border-r{border-right-width:1px}.ep-root .border-input{border-color:hsl(var(--input))}.ep-root .border-slate-100{--tw-border-opacity:1;border-color:rgb(241 245 249/var(--tw-border-opacity,1))}.ep-root .border-slate-200{--tw-border-opacity:1;border-color:rgb(226 232 240/var(--tw-border-opacity,1))}.ep-root .border-slate-200\/50{border-color:rgba(226,232,240,.5)}.ep-root .border-slate-300{--tw-border-opacity:1;border-color:rgb(203 213 225/var(--tw-border-opacity,1))}.ep-root .bg-background{background-color:hsl(var(--background))}.ep-root .bg-destructive{background-color:hsl(var(--destructive))}.ep-root .bg-doc-bg{background-color:var(--doc-bg)}.ep-root .bg-primary{background-color:hsl(var(--primary))}.ep-root .bg-secondary{background-color:hsl(var(--secondary))}.ep-root .bg-slate-100{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity,1))}.ep-root .bg-slate-200{--tw-bg-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity,1))}.ep-root .bg-slate-900{--tw-bg-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity,1))}.ep-root .bg-transparent{background-color:transparent}.ep-root .bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.ep-root .p-1{padding:.25rem}.ep-root .px-1{padding-left:.25rem;padding-right:.25rem}.ep-root .px-2{padding-left:.5rem;padding-right:.5rem}.ep-root .px-3{padding-left:.75rem;padding-right:.75rem}.ep-root .px-4{padding-left:1rem;padding-right:1rem}.ep-root .px-5{padding-left:1.25rem;padding-right:1.25rem}.ep-root .px-8{padding-left:2rem;padding-right:2rem}.ep-root .py-1{padding-top:.25rem;padding-bottom:.25rem}.ep-root .py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.ep-root .py-2{padding-top:.5rem;padding-bottom:.5rem}.ep-root .py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.ep-root .text-left{text-align:left}.ep-root .text-center{text-align:center}.ep-root .text-sm{font-size:.875rem;line-height:1.25rem}.ep-root .text-xs{font-size:.75rem;line-height:1rem}.ep-root .font-medium{font-weight:500}.ep-root .uppercase{text-transform:uppercase}.ep-root .lowercase{text-transform:lowercase}.ep-root .capitalize{text-transform:capitalize}.ep-root .italic{font-style:italic}.ep-root .ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.ep-root .text-destructive-foreground{color:hsl(var(--destructive-foreground))}.ep-root .text-primary{color:hsl(var(--primary))}.ep-root .text-primary-foreground{color:hsl(var(--primary-foreground))}.ep-root .text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity,1))}.ep-root .text-secondary-foreground{color:hsl(var(--secondary-foreground))}.ep-root .text-slate-400{--tw-text-opacity:1;color:rgb(148 163 184/var(--tw-text-opacity,1))}.ep-root .text-slate-500{--tw-text-opacity:1;color:rgb(100 116 139/var(--tw-text-opacity,1))}.ep-root .text-slate-700{--tw-text-opacity:1;color:rgb(51 65 85/var(--tw-text-opacity,1))}.ep-root .text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.ep-root .underline{text-decoration-line:underline}.ep-root .line-through{text-decoration-line:line-through}.ep-root .underline-offset-4{text-underline-offset:4px}.ep-root .opacity-30{opacity:.3}.ep-root .opacity-50{opacity:.5}.ep-root .shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)}.ep-root .shadow-lg,.ep-root .shadow-sm{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.ep-root .shadow-sm{--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color)}.ep-root .outline-none{outline:2px solid transparent;outline-offset:2px}.ep-root .\!outline{outline-style:solid!important}.ep-root .outline{outline-style:solid}.ep-root .ring-offset-background{--tw-ring-offset-color:hsl(var(--background))}.ep-root .blur{--tw-blur:blur(8px)}.ep-root .blur,.ep-root .filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.ep-root .transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ep-root .transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ep-root .duration-150{transition-duration:.15s}.ep-root .ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ep-root .ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}@keyframes enter{0%{opacity:var(--tw-enter-opacity,1);transform:translate3d(var(--tw-enter-translate-x,0),var(--tw-enter-translate-y,0),0) scale3d(var(--tw-enter-scale,1),var(--tw-enter-scale,1),var(--tw-enter-scale,1)) rotate(var(--tw-enter-rotate,0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity,1);transform:translate3d(var(--tw-exit-translate-x,0),var(--tw-exit-translate-y,0),0) scale3d(var(--tw-exit-scale,1),var(--tw-exit-scale,1),var(--tw-exit-scale,1)) rotate(var(--tw-exit-rotate,0))}}.ep-root .zoom-in{--tw-enter-scale:0}.ep-root .zoom-out{--tw-exit-scale:0}.ep-root .duration-150{animation-duration:.15s}.ep-root .ease-in-out{animation-timing-function:cubic-bezier(.4,0,.2,1)}.ep-root .ease-out{animation-timing-function:cubic-bezier(0,0,.2,1)}.ep-root .running{animation-play-state:running}.ep-root{--background:0 0% 100%;--foreground:222.2 84% 4.9%;--card:0 0% 100%;--card-foreground:222.2 84% 4.9%;--popover:0 0% 100%;--popover-foreground:222.2 84% 4.9%;--primary:221.2 83.2% 53.3%;--primary-foreground:210 40% 98%;--secondary:210 40% 96.1%;--secondary-foreground:222.2 47.4% 11.2%;--muted:210 40% 96.1%;--muted-foreground:215.4 16.3% 46.9%;--accent:210 40% 96.1%;--accent-foreground:222.2 47.4% 11.2%;--destructive:0 84.2% 60.2%;--destructive-foreground:210 40% 98%;--border:214.3 31.8% 91.4%;--input:214.3 31.8% 91.4%;--ring:221.2 83.2% 53.3%;--radius:0.5rem;--doc-bg:#f8f9fa;--doc-primary:#1a73e8;--doc-primary-hover:#1557b0;--doc-primary-light:#e8f0fe;--doc-text:#202124;--doc-text-muted:#5f6368;--doc-text-subtle:#9aa0a6;--doc-text-placeholder:#999;--doc-border:#e0e0e0;--doc-border-light:#dadce0;--doc-border-dark:#d0d0d0;--doc-border-input:#ccc;--doc-bg-subtle:#f5f5f5;--doc-bg-hover:#f1f3f4;--doc-bg-input:#f8f9fa;--doc-error:#c5221f;--doc-error-bg:#fce8e6;--doc-success:#34a853;--doc-success-bg:#e8f5e9;--doc-warning:#f9a825;--doc-warning-bg:#fff8e1;--doc-link:#0563c1}[contenteditable=true]{caret-color:#000;outline:none;caret-shape:bar}.docx-run-editable[contenteditable=true]{caret-color:#000;min-height:1em;display:inline}.docx-paragraph-empty [contenteditable=true]{min-height:1em;min-width:1px;display:inline-block}.docx-paragraph-editable{cursor:text}.docx-run-editable[contenteditable=true]:focus{outline:none}.docx-paragraph-editable:focus-within{outline:none}.docx-run ::selection,.docx-run-editable ::selection,.docx-run-editable::selection,.docx-run::selection,[contenteditable=true] ::selection,[contenteditable=true]::selection{background-color:rgba(26,115,232,.3)!important;color:inherit!important}.docx-run ::-moz-selection,.docx-run-editable ::-moz-selection,.docx-run-editable::-moz-selection,.docx-run::-moz-selection,[contenteditable=true] ::-moz-selection,[contenteditable=true]::-moz-selection{background-color:rgba(26,115,232,.3)!important;color:inherit!important}.docx-paragraph ::selection,.docx-paragraph-editable ::selection,.docx-paragraph-editable::selection,.docx-paragraph::selection{background-color:rgba(26,115,232,.3)!important;color:inherit!important}.docx-paragraph ::-moz-selection,.docx-paragraph-editable ::-moz-selection,.docx-paragraph-editable::-moz-selection,.docx-paragraph::-moz-selection{background-color:rgba(26,115,232,.3)!important;color:inherit!important}.docx-hyperlink ::selection,.docx-hyperlink::selection{background-color:rgba(26,115,232,.3)!important;color:inherit!important}.docx-hyperlink ::-moz-selection,.docx-hyperlink::-moz-selection{background-color:rgba(26,115,232,.3)!important;color:inherit!important}.docx-run-highlighted ::selection,.docx-run-highlighted::selection{background-color:rgba(26,115,232,.5)!important;color:inherit!important}.docx-run-highlighted ::-moz-selection,.docx-run-highlighted::-moz-selection{background-color:rgba(26,115,232,.5)!important;color:inherit!important}.docx-run-dark-bg ::selection,.docx-run-dark-bg::selection{background-color:rgba(100,181,246,.5)!important;color:inherit!important}.docx-run-dark-bg ::-moz-selection,.docx-run-dark-bg::-moz-selection{background-color:rgba(100,181,246,.5)!important;color:inherit!important}.docx-run-bold ::selection,.docx-run-bold::selection{background-color:rgba(26,115,232,.3)!important;color:inherit!important}.docx-run-bold ::-moz-selection,.docx-run-bold::-moz-selection{background-color:rgba(26,115,232,.3)!important;color:inherit!important}.docx-run-italic ::selection,.docx-run-italic::selection{background-color:rgba(26,115,232,.3)!important;color:inherit!important}.docx-run-italic ::-moz-selection,.docx-run-italic::-moz-selection{background-color:rgba(26,115,232,.3)!important;color:inherit!important}.docx-find-highlight{background-color:rgba(255,235,59,.5)!important;border-radius:2px}.docx-find-highlight-current{background-color:rgba(255,152,0,.6)!important;border-radius:2px;outline:2px solid rgba(255,152,0,.8)}.docx-ai-selection-preview{background-color:rgba(156,39,176,.2);border-bottom:2px dashed rgba(156,39,176,.6)}.docx-selection-overlay-container{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;z-index:1;overflow:hidden}.docx-selection-overlay-rect{position:absolute;background-color:rgba(66,133,244,.25);pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.docx-run-highlighted[contenteditable=true]{caret-color:#333}.docx-run-dark-bg[contenteditable=true]{caret-color:#fff}.docx-editor{cursor:default}.docx-editor-page{cursor:text}.docx-bookmark-end,.docx-bookmark-start,.docx-drawing-placeholder,.docx-field,.docx-list-marker,.docx-shape-placeholder{cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none}.docx-run-has-variable [contenteditable=false]{cursor:default;-webkit-user-select:all;-moz-user-select:all;user-select:all}.layout-table-cell-selected{position:relative;outline:2px solid rgba(66,133,244,.6);outline-offset:-2px}.layout-table-cell-selected:after{content:"";position:absolute;inset:0;background-color:rgba(66,133,244,.15);pointer-events:none}.layout-table-resize-handle{background-color:transparent;transition:background-color .15s}.layout-table-resize-handle.dragging,.layout-table-resize-handle:hover{background-color:rgba(66,133,244,.6)}.layout-table-edge-handle-bottom,.layout-table-row-resize-handle{background-color:transparent;transition:background-color .15s}.layout-table-edge-handle-bottom.dragging,.layout-table-edge-handle-bottom:hover,.layout-table-row-resize-handle.dragging,.layout-table-row-resize-handle:hover{background-color:rgba(66,133,244,.6)}.layout-table-edge-handle-right{background-color:transparent;transition:background-color .15s}.layout-table-edge-handle-right.dragging,.layout-table-edge-handle-right:hover{background-color:rgba(66,133,244,.6)}.paged-editor--readonly .layout-table-edge-handle-bottom,.paged-editor--readonly .layout-table-edge-handle-right,.paged-editor--readonly .layout-table-resize-handle,.paged-editor--readonly .layout-table-row-resize-handle{display:none!important}.paged-editor--readonly .layout-page-footer,.paged-editor--readonly .layout-page-header{cursor:default;pointer-events:none}.paged-editor--readonly .layout-page-content{cursor:default}.docx-outline-heading-btn:hover{background-color:#f1f3f4}@media (max-width:1280px){.docx-outline-nav{display:none!important}}.layout-page-content{cursor:text}.layout-page-footer,.layout-page-header{cursor:pointer;transition:background-color .15s ease}.layout-page-footer:hover,.layout-page-header:hover{background-color:rgba(37,99,235,.06)}.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;padding:0;min-height:1em;white-space:pre-wrap;word-wrap:break-word;line-height:normal}.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-footer .layout-page-footer>*,.paged-editor--editing-header .layout-page-header>*{visibility:hidden}.paged-editor--hf-editing .layout-page-footer:hover,.paged-editor--hf-editing .layout-page-header:hover{background-color:transparent}.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}.ep-root .last\:border-r-0:last-child{border-right-width:0}.ep-root .hover\:border-slate-300:hover{--tw-border-opacity:1;border-color:rgb(203 213 225/var(--tw-border-opacity,1))}.ep-root .hover\:bg-accent:hover{background-color:hsl(var(--accent))}.ep-root .hover\:bg-destructive\/90:hover{background-color:hsl(var(--destructive)/.9)}.ep-root .hover\:bg-primary\/90:hover{background-color:hsl(var(--primary)/.9)}.ep-root .hover\:bg-secondary\/80:hover{background-color:hsl(var(--secondary)/.8)}.ep-root .hover\:bg-slate-100:hover{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity,1))}.ep-root .hover\:bg-slate-100\/80:hover{background-color:rgba(241,245,249,.8)}.ep-root .hover\:bg-slate-50:hover{--tw-bg-opacity:1;background-color:rgb(248 250 252/var(--tw-bg-opacity,1))}.ep-root .hover\:bg-slate-800:hover{--tw-bg-opacity:1;background-color:rgb(30 41 59/var(--tw-bg-opacity,1))}.ep-root .hover\:text-accent-foreground:hover{color:hsl(var(--accent-foreground))}.ep-root .hover\:text-slate-900:hover{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity,1))}.ep-root .hover\:text-white:hover{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.ep-root .hover\:underline:hover{text-decoration-line:underline}.ep-root .focus\:bg-slate-100:focus{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity,1))}.ep-root .focus\:bg-slate-100\/80:focus{background-color:rgba(241,245,249,.8)}.ep-root .focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.ep-root .focus\:ring-1:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.ep-root .focus\:ring-slate-400:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(148 163 184/var(--tw-ring-opacity,1))}.ep-root .focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.ep-root .focus-visible\:ring-2:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.ep-root .focus-visible\:ring-ring:focus-visible{--tw-ring-color:hsl(var(--ring))}.ep-root .focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px}.ep-root .disabled\:pointer-events-none:disabled{pointer-events:none}.ep-root .disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.ep-root .disabled\:opacity-50:disabled{opacity:.5}.ep-root .data-\[disabled\]\:pointer-events-none[data-disabled]{pointer-events:none}.ep-root .data-\[side\=bottom\]\:translate-y-1[data-side=bottom]{--tw-translate-y:0.25rem}.ep-root .data-\[side\=bottom\]\:translate-y-1[data-side=bottom],.ep-root .data-\[side\=top\]\:-translate-y-1[data-side=top]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.ep-root .data-\[side\=top\]\:-translate-y-1[data-side=top]{--tw-translate-y:-0.25rem}.ep-root .data-\[disabled\]\:opacity-50[data-disabled]{opacity:.5}.ep-root .data-\[state\=open\]\:animate-in[data-state=open]{animation-name:enter;animation-duration:.15s;--tw-enter-opacity:initial;--tw-enter-scale:initial;--tw-enter-rotate:initial;--tw-enter-translate-x:initial;--tw-enter-translate-y:initial}.ep-root .data-\[state\=closed\]\:animate-out[data-state=closed]{animation-name:exit;animation-duration:.15s;--tw-exit-opacity:initial;--tw-exit-scale:initial;--tw-exit-rotate:initial;--tw-exit-translate-x:initial;--tw-exit-translate-y:initial}.ep-root .data-\[state\=closed\]\:fade-out-0[data-state=closed]{--tw-exit-opacity:0}.ep-root .data-\[state\=open\]\:fade-in-0[data-state=open]{--tw-enter-opacity:0}.ep-root .data-\[state\=closed\]\:zoom-out-95[data-state=closed]{--tw-exit-scale:.95}.ep-root .data-\[state\=open\]\:zoom-in-95[data-state=open]{--tw-enter-scale:.95}.ep-root .data-\[side\=bottom\]\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y:-0.5rem}.ep-root .data-\[side\=top\]\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y:0.5rem}.ep-root :is(.\[\&\>span\]\:truncate>span){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
|
|
1
|
+
.ep-root .\!visible{visibility:visible!important}.ep-root .visible{visibility:visible}.ep-root .collapse{visibility:collapse}.ep-root .static{position:static}.ep-root .fixed{position:fixed}.ep-root .absolute{position:absolute}.ep-root .relative{position:relative}.ep-root .sticky{position:sticky}.ep-root .right-2{right:.5rem}.ep-root .top-0{top:0}.ep-root .z-50{z-index:50}.ep-root .-mx-1{margin-left:-.25rem;margin-right:-.25rem}.ep-root .mx-1\.5{margin-left:.375rem;margin-right:.375rem}.ep-root .my-1{margin-top:.25rem;margin-bottom:.25rem}.ep-root .-ml-1{margin-left:-.25rem}.ep-root .block{display:block}.ep-root .inline-block{display:inline-block}.ep-root .inline{display:inline}.ep-root .flex{display:flex}.ep-root .inline-flex{display:inline-flex}.ep-root .\!table{display:table!important}.ep-root .table{display:table}.ep-root .grid{display:grid}.ep-root .inline-grid{display:inline-grid}.ep-root .contents{display:contents}.ep-root .hidden{display:none}.ep-root .h-10{height:2.5rem}.ep-root .h-11{height:2.75rem}.ep-root .h-3\.5{height:.875rem}.ep-root .h-4{height:1rem}.ep-root .h-5{height:1.25rem}.ep-root .h-6{height:1.5rem}.ep-root .h-7{height:1.75rem}.ep-root .h-8{height:2rem}.ep-root .h-9{height:2.25rem}.ep-root .h-\[var\(--radix-select-trigger-height\)\]{height:var(--radix-select-trigger-height)}.ep-root .h-px{height:1px}.ep-root .max-h-72{max-height:18rem}.ep-root .max-h-\[300px\]{max-height:300px}.ep-root .max-h-\[400px\]{max-height:400px}.ep-root .min-h-\[36px\]{min-height:36px}.ep-root .w-10{width:2.5rem}.ep-root .w-3\.5{width:.875rem}.ep-root .w-4{width:1rem}.ep-root .w-5{width:1.25rem}.ep-root .w-7{width:1.75rem}.ep-root .w-9{width:2.25rem}.ep-root .w-full{width:100%}.ep-root .w-px{width:1px}.ep-root .min-w-\[260px\]{min-width:260px}.ep-root .min-w-\[55px\]{min-width:55px}.ep-root .min-w-\[70px\]{min-width:70px}.ep-root .min-w-\[8rem\]{min-width:8rem}.ep-root .min-w-\[var\(--radix-select-trigger-width\)\]{min-width:var(--radix-select-trigger-width)}.ep-root .flex-shrink{flex-shrink:1}.ep-root .flex-shrink-0{flex-shrink:0}.ep-root .shrink{flex-shrink:1}.ep-root .shrink-0{flex-shrink:0}.ep-root .transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.ep-root .cursor-not-allowed{cursor:not-allowed}.ep-root .cursor-pointer{cursor:pointer}.ep-root .select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.ep-root .select-all{-webkit-user-select:all;-moz-user-select:all;user-select:all}.ep-root .resize{resize:both}.ep-root .flex-col{flex-direction:column}.ep-root .flex-wrap{flex-wrap:wrap}.ep-root .items-center{align-items:center}.ep-root .justify-center{justify-content:center}.ep-root .justify-between{justify-content:space-between}.ep-root .gap-0{gap:0}.ep-root .gap-0\.5{gap:.125rem}.ep-root .gap-1{gap:.25rem}.ep-root .gap-px{gap:1px}.ep-root .overflow-hidden{overflow:hidden}.ep-root .overflow-x-auto{overflow-x:auto}.ep-root .truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ep-root .whitespace-nowrap{white-space:nowrap}.ep-root .rounded{border-radius:.25rem}.ep-root .rounded-lg{border-radius:var(--radius)}.ep-root .rounded-md{border-radius:calc(var(--radius) - 2px)}.ep-root .rounded-none{border-radius:0}.ep-root .rounded-l-none{border-top-left-radius:0;border-bottom-left-radius:0}.ep-root .rounded-r-none{border-top-right-radius:0;border-bottom-right-radius:0}.ep-root .\!border{border-width:1px!important}.ep-root .border{border-width:1px}.ep-root .border-b{border-bottom-width:1px}.ep-root .border-r{border-right-width:1px}.ep-root .border-input{border-color:hsl(var(--input))}.ep-root .border-slate-100{--tw-border-opacity:1;border-color:rgb(241 245 249/var(--tw-border-opacity,1))}.ep-root .border-slate-200{--tw-border-opacity:1;border-color:rgb(226 232 240/var(--tw-border-opacity,1))}.ep-root .border-slate-200\/50{border-color:rgba(226,232,240,.5)}.ep-root .border-slate-300{--tw-border-opacity:1;border-color:rgb(203 213 225/var(--tw-border-opacity,1))}.ep-root .bg-background{background-color:hsl(var(--background))}.ep-root .bg-destructive{background-color:hsl(var(--destructive))}.ep-root .bg-doc-bg{background-color:var(--doc-bg)}.ep-root .bg-primary{background-color:hsl(var(--primary))}.ep-root .bg-secondary{background-color:hsl(var(--secondary))}.ep-root .bg-slate-100{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity,1))}.ep-root .bg-slate-200{--tw-bg-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity,1))}.ep-root .bg-slate-900{--tw-bg-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity,1))}.ep-root .bg-transparent{background-color:transparent}.ep-root .bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.ep-root .p-1{padding:.25rem}.ep-root .px-1{padding-left:.25rem;padding-right:.25rem}.ep-root .px-1\.5{padding-left:.375rem;padding-right:.375rem}.ep-root .px-2{padding-left:.5rem;padding-right:.5rem}.ep-root .px-3{padding-left:.75rem;padding-right:.75rem}.ep-root .px-4{padding-left:1rem;padding-right:1rem}.ep-root .px-5{padding-left:1.25rem;padding-right:1.25rem}.ep-root .px-8{padding-left:2rem;padding-right:2rem}.ep-root .py-1{padding-top:.25rem;padding-bottom:.25rem}.ep-root .py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.ep-root .py-2{padding-top:.5rem;padding-bottom:.5rem}.ep-root .py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.ep-root .text-left{text-align:left}.ep-root .text-center{text-align:center}.ep-root .text-sm{font-size:.875rem;line-height:1.25rem}.ep-root .text-xs{font-size:.75rem;line-height:1rem}.ep-root .font-medium{font-weight:500}.ep-root .uppercase{text-transform:uppercase}.ep-root .lowercase{text-transform:lowercase}.ep-root .capitalize{text-transform:capitalize}.ep-root .italic{font-style:italic}.ep-root .ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.ep-root .text-destructive-foreground{color:hsl(var(--destructive-foreground))}.ep-root .text-primary{color:hsl(var(--primary))}.ep-root .text-primary-foreground{color:hsl(var(--primary-foreground))}.ep-root .text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity,1))}.ep-root .text-secondary-foreground{color:hsl(var(--secondary-foreground))}.ep-root .text-slate-400{--tw-text-opacity:1;color:rgb(148 163 184/var(--tw-text-opacity,1))}.ep-root .text-slate-500{--tw-text-opacity:1;color:rgb(100 116 139/var(--tw-text-opacity,1))}.ep-root .text-slate-700{--tw-text-opacity:1;color:rgb(51 65 85/var(--tw-text-opacity,1))}.ep-root .text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.ep-root .underline{text-decoration-line:underline}.ep-root .line-through{text-decoration-line:line-through}.ep-root .underline-offset-4{text-underline-offset:4px}.ep-root .opacity-30{opacity:.3}.ep-root .opacity-50{opacity:.5}.ep-root .shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)}.ep-root .shadow-lg,.ep-root .shadow-sm{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.ep-root .shadow-sm{--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color)}.ep-root .outline-none{outline:2px solid transparent;outline-offset:2px}.ep-root .\!outline{outline-style:solid!important}.ep-root .outline{outline-style:solid}.ep-root .ring-offset-background{--tw-ring-offset-color:hsl(var(--background))}.ep-root .blur{--tw-blur:blur(8px)}.ep-root .blur,.ep-root .filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.ep-root .transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ep-root .transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ep-root .duration-150{transition-duration:.15s}.ep-root .ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ep-root .ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}@keyframes enter{0%{opacity:var(--tw-enter-opacity,1);transform:translate3d(var(--tw-enter-translate-x,0),var(--tw-enter-translate-y,0),0) scale3d(var(--tw-enter-scale,1),var(--tw-enter-scale,1),var(--tw-enter-scale,1)) rotate(var(--tw-enter-rotate,0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity,1);transform:translate3d(var(--tw-exit-translate-x,0),var(--tw-exit-translate-y,0),0) scale3d(var(--tw-exit-scale,1),var(--tw-exit-scale,1),var(--tw-exit-scale,1)) rotate(var(--tw-exit-rotate,0))}}.ep-root .zoom-in{--tw-enter-scale:0}.ep-root .zoom-out{--tw-exit-scale:0}.ep-root .duration-150{animation-duration:.15s}.ep-root .ease-in-out{animation-timing-function:cubic-bezier(.4,0,.2,1)}.ep-root .ease-out{animation-timing-function:cubic-bezier(0,0,.2,1)}.ep-root .running{animation-play-state:running}.ep-root{--background:0 0% 100%;--foreground:222.2 84% 4.9%;--card:0 0% 100%;--card-foreground:222.2 84% 4.9%;--popover:0 0% 100%;--popover-foreground:222.2 84% 4.9%;--primary:221.2 83.2% 53.3%;--primary-foreground:210 40% 98%;--secondary:210 40% 96.1%;--secondary-foreground:222.2 47.4% 11.2%;--muted:210 40% 96.1%;--muted-foreground:215.4 16.3% 46.9%;--accent:210 40% 96.1%;--accent-foreground:222.2 47.4% 11.2%;--destructive:0 84.2% 60.2%;--destructive-foreground:210 40% 98%;--border:214.3 31.8% 91.4%;--input:214.3 31.8% 91.4%;--ring:221.2 83.2% 53.3%;--radius:0.5rem;--doc-bg:#f8f9fa;--doc-primary:#1a73e8;--doc-primary-hover:#1557b0;--doc-primary-light:#e8f0fe;--doc-text:#202124;--doc-text-muted:#5f6368;--doc-text-subtle:#9aa0a6;--doc-text-placeholder:#999;--doc-border:#e0e0e0;--doc-border-light:#dadce0;--doc-border-dark:#d0d0d0;--doc-border-input:#ccc;--doc-bg-subtle:#f5f5f5;--doc-bg-hover:#f1f3f4;--doc-bg-input:#f8f9fa;--doc-error:#c5221f;--doc-error-bg:#fce8e6;--doc-success:#34a853;--doc-success-bg:#e8f5e9;--doc-warning:#f9a825;--doc-warning-bg:#fff8e1;--doc-link:#0563c1}[contenteditable=true]{caret-color:#000;outline:none;caret-shape:bar}.docx-run-editable[contenteditable=true]{caret-color:#000;min-height:1em;display:inline}.docx-paragraph-empty [contenteditable=true]{min-height:1em;min-width:1px;display:inline-block}.docx-paragraph-editable{cursor:text}.docx-run-editable[contenteditable=true]:focus{outline:none}.docx-paragraph-editable:focus-within{outline:none}.docx-run ::selection,.docx-run-editable ::selection,.docx-run-editable::selection,.docx-run::selection,[contenteditable=true] ::selection,[contenteditable=true]::selection{background-color:rgba(26,115,232,.3)!important;color:inherit!important}.docx-run ::-moz-selection,.docx-run-editable ::-moz-selection,.docx-run-editable::-moz-selection,.docx-run::-moz-selection,[contenteditable=true] ::-moz-selection,[contenteditable=true]::-moz-selection{background-color:rgba(26,115,232,.3)!important;color:inherit!important}.docx-paragraph ::selection,.docx-paragraph-editable ::selection,.docx-paragraph-editable::selection,.docx-paragraph::selection{background-color:rgba(26,115,232,.3)!important;color:inherit!important}.docx-paragraph ::-moz-selection,.docx-paragraph-editable ::-moz-selection,.docx-paragraph-editable::-moz-selection,.docx-paragraph::-moz-selection{background-color:rgba(26,115,232,.3)!important;color:inherit!important}.docx-hyperlink ::selection,.docx-hyperlink::selection{background-color:rgba(26,115,232,.3)!important;color:inherit!important}.docx-hyperlink ::-moz-selection,.docx-hyperlink::-moz-selection{background-color:rgba(26,115,232,.3)!important;color:inherit!important}.docx-run-highlighted ::selection,.docx-run-highlighted::selection{background-color:rgba(26,115,232,.5)!important;color:inherit!important}.docx-run-highlighted ::-moz-selection,.docx-run-highlighted::-moz-selection{background-color:rgba(26,115,232,.5)!important;color:inherit!important}.docx-run-dark-bg ::selection,.docx-run-dark-bg::selection{background-color:rgba(100,181,246,.5)!important;color:inherit!important}.docx-run-dark-bg ::-moz-selection,.docx-run-dark-bg::-moz-selection{background-color:rgba(100,181,246,.5)!important;color:inherit!important}.docx-run-bold ::selection,.docx-run-bold::selection{background-color:rgba(26,115,232,.3)!important;color:inherit!important}.docx-run-bold ::-moz-selection,.docx-run-bold::-moz-selection{background-color:rgba(26,115,232,.3)!important;color:inherit!important}.docx-run-italic ::selection,.docx-run-italic::selection{background-color:rgba(26,115,232,.3)!important;color:inherit!important}.docx-run-italic ::-moz-selection,.docx-run-italic::-moz-selection{background-color:rgba(26,115,232,.3)!important;color:inherit!important}.docx-find-highlight{background-color:rgba(255,235,59,.5)!important;border-radius:2px}.docx-find-highlight-current{background-color:rgba(255,152,0,.6)!important;border-radius:2px;outline:2px solid rgba(255,152,0,.8)}.docx-ai-selection-preview{background-color:rgba(156,39,176,.2);border-bottom:2px dashed rgba(156,39,176,.6)}.docx-selection-overlay-container{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;z-index:1;overflow:hidden}.docx-selection-overlay-rect{position:absolute;background-color:rgba(66,133,244,.25);pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.docx-run-highlighted[contenteditable=true]{caret-color:#333}.docx-run-dark-bg[contenteditable=true]{caret-color:#fff}.docx-editor{cursor:default}.docx-editor-page{cursor:text}.docx-bookmark-end,.docx-bookmark-start,.docx-drawing-placeholder,.docx-field,.docx-list-marker,.docx-shape-placeholder{cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none}.docx-run-has-variable [contenteditable=false]{cursor:default;-webkit-user-select:all;-moz-user-select:all;user-select:all}.layout-table-cell-selected{position:relative;outline:2px solid rgba(66,133,244,.6);outline-offset:-2px}.layout-table-cell-selected:after{content:"";position:absolute;inset:0;background-color:rgba(66,133,244,.15);pointer-events:none}.layout-table-resize-handle{background-color:transparent;transition:background-color .15s}.layout-table-resize-handle.dragging,.layout-table-resize-handle:hover{background-color:rgba(66,133,244,.6)}.layout-table-edge-handle-bottom,.layout-table-row-resize-handle{background-color:transparent;transition:background-color .15s}.layout-table-edge-handle-bottom.dragging,.layout-table-edge-handle-bottom:hover,.layout-table-row-resize-handle.dragging,.layout-table-row-resize-handle:hover{background-color:rgba(66,133,244,.6)}.layout-table-edge-handle-right{background-color:transparent;transition:background-color .15s}.layout-table-edge-handle-right.dragging,.layout-table-edge-handle-right:hover{background-color:rgba(66,133,244,.6)}.paged-editor--readonly .layout-table-edge-handle-bottom,.paged-editor--readonly .layout-table-edge-handle-right,.paged-editor--readonly .layout-table-resize-handle,.paged-editor--readonly .layout-table-row-resize-handle{display:none!important}.paged-editor--readonly .layout-page-footer,.paged-editor--readonly .layout-page-header{cursor:default;pointer-events:none}.paged-editor--readonly .layout-page-content{cursor:default}.docx-outline-heading-btn:hover{background-color:#f1f3f4}@media (max-width:1280px){.docx-outline-nav{display:none!important}}.layout-page-content{cursor:text}.layout-page-footer,.layout-page-header{cursor:pointer;transition:background-color .15s ease}.layout-page-footer:hover,.layout-page-header:hover{background-color:rgba(37,99,235,.06)}.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;padding:0;min-height:1em;white-space:pre-wrap;word-wrap:break-word;line-height:normal}.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-footer .layout-page-footer>*,.paged-editor--editing-header .layout-page-header>*{visibility:hidden}.paged-editor--hf-editing .layout-page-footer:hover,.paged-editor--hf-editing .layout-page-header:hover{background-color:transparent}.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}.ep-hyperlink-popup__icon-btn:hover{background:#f1f3f4}.ep-root .first\:pl-0:first-child{padding-left:0}.ep-root .last\:border-r-0:last-child{border-right-width:0}.ep-root .hover\:border-slate-300:hover{--tw-border-opacity:1;border-color:rgb(203 213 225/var(--tw-border-opacity,1))}.ep-root .hover\:bg-accent:hover{background-color:hsl(var(--accent))}.ep-root .hover\:bg-destructive\/90:hover{background-color:hsl(var(--destructive)/.9)}.ep-root .hover\:bg-primary\/90:hover{background-color:hsl(var(--primary)/.9)}.ep-root .hover\:bg-secondary\/80:hover{background-color:hsl(var(--secondary)/.8)}.ep-root .hover\:bg-slate-100:hover{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity,1))}.ep-root .hover\:bg-slate-100\/80:hover{background-color:rgba(241,245,249,.8)}.ep-root .hover\:bg-slate-50:hover{--tw-bg-opacity:1;background-color:rgb(248 250 252/var(--tw-bg-opacity,1))}.ep-root .hover\:bg-slate-800:hover{--tw-bg-opacity:1;background-color:rgb(30 41 59/var(--tw-bg-opacity,1))}.ep-root .hover\:text-accent-foreground:hover{color:hsl(var(--accent-foreground))}.ep-root .hover\:text-slate-900:hover{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity,1))}.ep-root .hover\:text-white:hover{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.ep-root .hover\:underline:hover{text-decoration-line:underline}.ep-root .focus\:bg-slate-100:focus{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity,1))}.ep-root .focus\:bg-slate-100\/80:focus{background-color:rgba(241,245,249,.8)}.ep-root .focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.ep-root .focus\:ring-1:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.ep-root .focus\:ring-slate-400:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(148 163 184/var(--tw-ring-opacity,1))}.ep-root .focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.ep-root .focus-visible\:ring-2:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.ep-root .focus-visible\:ring-ring:focus-visible{--tw-ring-color:hsl(var(--ring))}.ep-root .focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px}.ep-root .disabled\:pointer-events-none:disabled{pointer-events:none}.ep-root .disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.ep-root .disabled\:opacity-50:disabled{opacity:.5}.ep-root .data-\[disabled\]\:pointer-events-none[data-disabled]{pointer-events:none}.ep-root .data-\[side\=bottom\]\:translate-y-1[data-side=bottom]{--tw-translate-y:0.25rem}.ep-root .data-\[side\=bottom\]\:translate-y-1[data-side=bottom],.ep-root .data-\[side\=top\]\:-translate-y-1[data-side=top]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.ep-root .data-\[side\=top\]\:-translate-y-1[data-side=top]{--tw-translate-y:-0.25rem}.ep-root .data-\[disabled\]\:opacity-50[data-disabled]{opacity:.5}.ep-root .data-\[state\=open\]\:animate-in[data-state=open]{animation-name:enter;animation-duration:.15s;--tw-enter-opacity:initial;--tw-enter-scale:initial;--tw-enter-rotate:initial;--tw-enter-translate-x:initial;--tw-enter-translate-y:initial}.ep-root .data-\[state\=closed\]\:animate-out[data-state=closed]{animation-name:exit;animation-duration:.15s;--tw-exit-opacity:initial;--tw-exit-scale:initial;--tw-exit-rotate:initial;--tw-exit-translate-x:initial;--tw-exit-translate-y:initial}.ep-root .data-\[state\=closed\]\:fade-out-0[data-state=closed]{--tw-exit-opacity:0}.ep-root .data-\[state\=open\]\:fade-in-0[data-state=open]{--tw-enter-opacity:0}.ep-root .data-\[state\=closed\]\:zoom-out-95[data-state=closed]{--tw-exit-scale:.95}.ep-root .data-\[state\=open\]\:zoom-in-95[data-state=open]{--tw-enter-scale:.95}.ep-root .data-\[side\=bottom\]\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y:-0.5rem}.ep-root .data-\[side\=top\]\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y:0.5rem}.ep-root :is(.\[\&\>span\]\:truncate>span){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
|
package/dist/ui.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var chunkHT2Z33YM_cjs=require('./chunk-HT2Z33YM.cjs'),chunkP3AEZKQO_cjs=require('./chunk-P3AEZKQO.cjs'),chunkVTAS7VZ6_cjs=require('./chunk-VTAS7VZ6.cjs'),chunkXS2AQFMF_cjs=require('./chunk-XS2AQFMF.cjs');require('./chunk-NVAQQYBJ.cjs'),require('./chunk-JRRTZZ72.cjs'),require('./chunk-PCJ5ACUV.cjs');Object.defineProperty(exports,"ColorPicker",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs.q}});Object.defineProperty(exports,"ContextMenu",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs.a}});Object.defineProperty(exports,"InsertImageDialog",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs.$}});Object.defineProperty(exports,"InsertSymbolDialog",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs.ja}});Object.defineProperty(exports,"InsertTableDialog",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs.U}});Object.defineProperty(exports,"KeyboardShortcutsDialog",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs.wa}});Object.defineProperty(exports,"LoadingIndicator",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs.H}});Object.defineProperty(exports,"PasteSpecialDialog",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs.qa}});Object.defineProperty(exports,"PrintButton",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs.r}});Object.defineProperty(exports,"PrintStyles",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs.s}});Object.defineProperty(exports,"ResponsePreview",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs.g}});Object.defineProperty(exports,"ResponsiveToolbar",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs.P}});Object.defineProperty(exports,"ResponsiveToolbarGroup",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs.Q}});Object.defineProperty(exports,"SYMBOL_CATEGORIES",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs.ia}});Object.defineProperty(exports,"TableInsertButtons",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs.A}});Object.defineProperty(exports,"TableMergeButton",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs.z}});Object.defineProperty(exports,"TextContextMenu",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs.k}});Object.defineProperty(exports,"UnsavedIndicator",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs.B}});Object.defineProperty(exports,"calculateFitDimensions",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs.ea}});Object.defineProperty(exports,"clampTableConfig",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs.Y}});Object.defineProperty(exports,"createChangeTracker",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs.G}});Object.defineProperty(exports,"createDefaultTableConfig",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs.W}});Object.defineProperty(exports,"createErrorResponse",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs.j}});Object.defineProperty(exports,"createMockResponse",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs.i}});Object.defineProperty(exports,"createToolbarItem",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs.R}});Object.defineProperty(exports,"createToolbarItems",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs.S}});Object.defineProperty(exports,"dataUrlToBlob",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs.fa}});Object.defineProperty(exports,"delay",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs.N}});Object.defineProperty(exports,"formatFileSize",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs.ha}});Object.defineProperty(exports,"formatPrintPageRange",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs.x}});Object.defineProperty(exports,"formatShortcutKeys",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs.Da}});Object.defineProperty(exports,"formatTableDimensions",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs.Z}});Object.defineProperty(exports,"getActionShortcut",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs.c}});Object.defineProperty(exports,"getAllActions",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs.f}});Object.defineProperty(exports,"getAllCategories",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs.Ca}});Object.defineProperty(exports,"getAllIndicatorPositions",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs.F}});Object.defineProperty(exports,"getAllIndicatorVariants",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs.E}});Object.defineProperty(exports,"getAllLoadingSizes",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs.M}});Object.defineProperty(exports,"getAllLoadingVariants",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs.L}});Object.defineProperty(exports,"getAllPasteOptions",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs.ta}});Object.defineProperty(exports,"getCategoryLabel",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs.Ba}});Object.defineProperty(exports,"getCommonShortcuts",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs.Aa}});Object.defineProperty(exports,"getDefaultActions",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs.e}});Object.defineProperty(exports,"getDefaultPasteOption",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs.ua}});Object.defineProperty(exports,"getDefaultPrintOptions",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs.v}});Object.defineProperty(exports,"getDefaultShortcuts",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs.ya}});Object.defineProperty(exports,"getDefaultTextContextMenuItems",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs.o}});Object.defineProperty(exports,"getImageAcceptString",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs.da}});Object.defineProperty(exports,"getImageDimensions",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs.ga}});Object.defineProperty(exports,"getLoadingVariantLabel",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs.K}});Object.defineProperty(exports,"getPasteOption",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs.sa}});Object.defineProperty(exports,"getRecommendedPriority",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs.T}});Object.defineProperty(exports,"getShortcutsByCategory",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs.za}});Object.defineProperty(exports,"getSupportedImageExtensions",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs.ca}});Object.defineProperty(exports,"getSymbolCategories",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs.la}});Object.defineProperty(exports,"getSymbolUnicodeInfo",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs.na}});Object.defineProperty(exports,"getSymbolsByCategory",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs.ma}});Object.defineProperty(exports,"getTablePresets",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs._}});Object.defineProperty(exports,"getTextActionLabel",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs.m}});Object.defineProperty(exports,"getTextActionShortcut",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs.n}});Object.defineProperty(exports,"getVariantLabel",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs.D}});Object.defineProperty(exports,"isActionAvailable",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs.d}});Object.defineProperty(exports,"isPasteSpecialShortcut",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs.va}});Object.defineProperty(exports,"isPrintSupported",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs.y}});Object.defineProperty(exports,"isTextActionAvailable",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs.p}});Object.defineProperty(exports,"isValidImageFile",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs.ba}});Object.defineProperty(exports,"isValidTableConfig",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs.X}});Object.defineProperty(exports,"openPrintWindow",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs.u}});Object.defineProperty(exports,"parsePageRange",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs.w}});Object.defineProperty(exports,"searchSymbols",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs.oa}});Object.defineProperty(exports,"symbolFromCodePoint",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs.pa}});Object.defineProperty(exports,"triggerPrint",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs.t}});Object.defineProperty(exports,"useContextMenu",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs.b}});Object.defineProperty(exports,"useInsertImageDialog",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs.aa}});Object.defineProperty(exports,"useInsertSymbolDialog",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs.ka}});Object.defineProperty(exports,"useInsertTableDialog",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs.V}});Object.defineProperty(exports,"useKeyboardShortcutsDialog",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs.xa}});Object.defineProperty(exports,"useLoading",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs.I}});Object.defineProperty(exports,"useLoadingOperations",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs.J}});Object.defineProperty(exports,"usePasteSpecial",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs.ra}});Object.defineProperty(exports,"useResponsePreview",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs.h}});Object.defineProperty(exports,"useResponsiveToolbar",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs.O}});Object.defineProperty(exports,"useTextContextMenu",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs.l}});Object.defineProperty(exports,"useUnsavedChanges",{enumerable:true,get:function(){return chunkHT2Z33YM_cjs.C}});Object.defineProperty(exports,"AdvancedColorPicker",{enumerable:true,get:function(){return chunkP3AEZKQO_cjs.h}});Object.defineProperty(exports,"AlignmentButtons",{enumerable:true,get:function(){return chunkP3AEZKQO_cjs.j}});Object.defineProperty(exports,"FontPicker",{enumerable:true,get:function(){return chunkP3AEZKQO_cjs.b}});Object.defineProperty(exports,"FontSizePicker",{enumerable:true,get:function(){return chunkP3AEZKQO_cjs.g}});Object.defineProperty(exports,"HorizontalRuler",{enumerable:true,get:function(){return chunkP3AEZKQO_cjs.O}});Object.defineProperty(exports,"LineSpacingPicker",{enumerable:true,get:function(){return chunkP3AEZKQO_cjs.m}});Object.defineProperty(exports,"ListButtons",{enumerable:true,get:function(){return chunkP3AEZKQO_cjs.k}});Object.defineProperty(exports,"PageNavigator",{enumerable:true,get:function(){return chunkP3AEZKQO_cjs.H}});Object.defineProperty(exports,"PageNumberIndicator",{enumerable:true,get:function(){return chunkP3AEZKQO_cjs.z}});Object.defineProperty(exports,"StylePicker",{enumerable:true,get:function(){return chunkP3AEZKQO_cjs.n}});Object.defineProperty(exports,"TableBorderColorPicker",{enumerable:true,get:function(){return chunkP3AEZKQO_cjs.q}});Object.defineProperty(exports,"TableBorderPicker",{enumerable:true,get:function(){return chunkP3AEZKQO_cjs.p}});Object.defineProperty(exports,"TableBorderWidthPicker",{enumerable:true,get:function(){return chunkP3AEZKQO_cjs.r}});Object.defineProperty(exports,"TableCellFillPicker",{enumerable:true,get:function(){return chunkP3AEZKQO_cjs.s}});Object.defineProperty(exports,"TableMoreDropdown",{enumerable:true,get:function(){return chunkP3AEZKQO_cjs.t}});Object.defineProperty(exports,"TableToolbar",{enumerable:true,get:function(){return chunkP3AEZKQO_cjs.T}});Object.defineProperty(exports,"Toolbar",{enumerable:true,get:function(){return chunkP3AEZKQO_cjs.y}});Object.defineProperty(exports,"ToolbarButton",{enumerable:true,get:function(){return chunkP3AEZKQO_cjs.v}});Object.defineProperty(exports,"ToolbarGroup",{enumerable:true,get:function(){return chunkP3AEZKQO_cjs.w}});Object.defineProperty(exports,"ToolbarSeparator",{enumerable:true,get:function(){return chunkP3AEZKQO_cjs.x}});Object.defineProperty(exports,"ZoomControl",{enumerable:true,get:function(){return chunkP3AEZKQO_cjs.o}});Object.defineProperty(exports,"addColumn",{enumerable:true,get:function(){return chunkP3AEZKQO_cjs.Z}});Object.defineProperty(exports,"addRow",{enumerable:true,get:function(){return chunkP3AEZKQO_cjs.X}});Object.defineProperty(exports,"calculateProgress",{enumerable:true,get:function(){return chunkP3AEZKQO_cjs.N}});Object.defineProperty(exports,"calculateScrollToPage",{enumerable:true,get:function(){return chunkP3AEZKQO_cjs.G}});Object.defineProperty(exports,"calculateVisiblePage",{enumerable:true,get:function(){return chunkP3AEZKQO_cjs.F}});Object.defineProperty(exports,"clampPageNumber",{enumerable:true,get:function(){return chunkP3AEZKQO_cjs.K}});Object.defineProperty(exports,"createDefaultListState",{enumerable:true,get:function(){return chunkP3AEZKQO_cjs.l}});Object.defineProperty(exports,"createPageFormat",{enumerable:true,get:function(){return chunkP3AEZKQO_cjs.B}});Object.defineProperty(exports,"createTableContext",{enumerable:true,get:function(){return chunkP3AEZKQO_cjs.U}});Object.defineProperty(exports,"deleteColumn",{enumerable:true,get:function(){return chunkP3AEZKQO_cjs._}});Object.defineProperty(exports,"deleteRow",{enumerable:true,get:function(){return chunkP3AEZKQO_cjs.Y}});Object.defineProperty(exports,"formatPageOrdinal",{enumerable:true,get:function(){return chunkP3AEZKQO_cjs.A}});Object.defineProperty(exports,"formatPageRange",{enumerable:true,get:function(){return chunkP3AEZKQO_cjs.M}});Object.defineProperty(exports,"getCellAt",{enumerable:true,get:function(){return chunkP3AEZKQO_cjs.W}});Object.defineProperty(exports,"getColumnCount",{enumerable:true,get:function(){return chunkP3AEZKQO_cjs.V}});Object.defineProperty(exports,"getMarginInUnits",{enumerable:true,get:function(){return chunkP3AEZKQO_cjs.R}});Object.defineProperty(exports,"getNavigationShortcuts",{enumerable:true,get:function(){return chunkP3AEZKQO_cjs.L}});Object.defineProperty(exports,"getPageProgress",{enumerable:true,get:function(){return chunkP3AEZKQO_cjs.C}});Object.defineProperty(exports,"getRulerDimensions",{enumerable:true,get:function(){return chunkP3AEZKQO_cjs.Q}});Object.defineProperty(exports,"isFirstPage",{enumerable:true,get:function(){return chunkP3AEZKQO_cjs.D}});Object.defineProperty(exports,"isLastPage",{enumerable:true,get:function(){return chunkP3AEZKQO_cjs.E}});Object.defineProperty(exports,"isValidPageNumber",{enumerable:true,get:function(){return chunkP3AEZKQO_cjs.J}});Object.defineProperty(exports,"mergeCells",{enumerable:true,get:function(){return chunkP3AEZKQO_cjs.$}});Object.defineProperty(exports,"parseMarginFromUnits",{enumerable:true,get:function(){return chunkP3AEZKQO_cjs.S}});Object.defineProperty(exports,"parsePageInput",{enumerable:true,get:function(){return chunkP3AEZKQO_cjs.I}});Object.defineProperty(exports,"positionToMargin",{enumerable:true,get:function(){return chunkP3AEZKQO_cjs.P}});Object.defineProperty(exports,"splitCell",{enumerable:true,get:function(){return chunkP3AEZKQO_cjs.aa}});Object.defineProperty(exports,"FindReplaceDialog",{enumerable:true,get:function(){return chunkVTAS7VZ6_cjs.n}});Object.defineProperty(exports,"createDefaultFindOptions",{enumerable:true,get:function(){return chunkVTAS7VZ6_cjs.a}});Object.defineProperty(exports,"createSearchPattern",{enumerable:true,get:function(){return chunkVTAS7VZ6_cjs.c}});Object.defineProperty(exports,"escapeRegexString",{enumerable:true,get:function(){return chunkVTAS7VZ6_cjs.b}});Object.defineProperty(exports,"findAllMatches",{enumerable:true,get:function(){return chunkVTAS7VZ6_cjs.d}});Object.defineProperty(exports,"findInDocument",{enumerable:true,get:function(){return chunkVTAS7VZ6_cjs.j}});Object.defineProperty(exports,"findInParagraph",{enumerable:true,get:function(){return chunkVTAS7VZ6_cjs.k}});Object.defineProperty(exports,"getDefaultHighlightOptions",{enumerable:true,get:function(){return chunkVTAS7VZ6_cjs.i}});Object.defineProperty(exports,"getMatchCountText",{enumerable:true,get:function(){return chunkVTAS7VZ6_cjs.g}});Object.defineProperty(exports,"isEmptySearch",{enumerable:true,get:function(){return chunkVTAS7VZ6_cjs.h}});Object.defineProperty(exports,"replaceAllInContent",{enumerable:true,get:function(){return chunkVTAS7VZ6_cjs.e}});Object.defineProperty(exports,"replaceFirstInContent",{enumerable:true,get:function(){return chunkVTAS7VZ6_cjs.f}});Object.defineProperty(exports,"scrollToMatch",{enumerable:true,get:function(){return chunkVTAS7VZ6_cjs.l}});Object.defineProperty(exports,"useFindReplace",{enumerable:true,get:function(){return chunkVTAS7VZ6_cjs.m}});Object.defineProperty(exports,"HyperlinkDialog",{enumerable:true,get:function(){return chunkXS2AQFMF_cjs.d}});Object.defineProperty(exports,"useHyperlinkDialog",{enumerable:true,get:function(){return chunkXS2AQFMF_cjs.m}});
|
|
1
|
+
'use strict';var chunk3C2VHZX6_cjs=require('./chunk-3C2VHZX6.cjs'),chunkI5YZ4MRV_cjs=require('./chunk-I5YZ4MRV.cjs'),chunkVTAS7VZ6_cjs=require('./chunk-VTAS7VZ6.cjs'),chunkXS2AQFMF_cjs=require('./chunk-XS2AQFMF.cjs');require('./chunk-NVAQQYBJ.cjs'),require('./chunk-IA4LPH2A.cjs'),require('./chunk-KR32M3S4.cjs'),require('./chunk-PCJ5ACUV.cjs');Object.defineProperty(exports,"ColorPicker",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs.q}});Object.defineProperty(exports,"ContextMenu",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs.a}});Object.defineProperty(exports,"InsertImageDialog",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs.$}});Object.defineProperty(exports,"InsertSymbolDialog",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs.ja}});Object.defineProperty(exports,"InsertTableDialog",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs.U}});Object.defineProperty(exports,"KeyboardShortcutsDialog",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs.wa}});Object.defineProperty(exports,"LoadingIndicator",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs.H}});Object.defineProperty(exports,"PasteSpecialDialog",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs.qa}});Object.defineProperty(exports,"PrintButton",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs.r}});Object.defineProperty(exports,"PrintStyles",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs.s}});Object.defineProperty(exports,"ResponsePreview",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs.g}});Object.defineProperty(exports,"ResponsiveToolbar",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs.P}});Object.defineProperty(exports,"ResponsiveToolbarGroup",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs.Q}});Object.defineProperty(exports,"SYMBOL_CATEGORIES",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs.ia}});Object.defineProperty(exports,"TableInsertButtons",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs.A}});Object.defineProperty(exports,"TableMergeButton",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs.z}});Object.defineProperty(exports,"TextContextMenu",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs.k}});Object.defineProperty(exports,"UnsavedIndicator",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs.B}});Object.defineProperty(exports,"calculateFitDimensions",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs.ea}});Object.defineProperty(exports,"clampTableConfig",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs.Y}});Object.defineProperty(exports,"createChangeTracker",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs.G}});Object.defineProperty(exports,"createDefaultTableConfig",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs.W}});Object.defineProperty(exports,"createErrorResponse",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs.j}});Object.defineProperty(exports,"createMockResponse",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs.i}});Object.defineProperty(exports,"createToolbarItem",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs.R}});Object.defineProperty(exports,"createToolbarItems",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs.S}});Object.defineProperty(exports,"dataUrlToBlob",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs.fa}});Object.defineProperty(exports,"delay",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs.N}});Object.defineProperty(exports,"formatFileSize",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs.ha}});Object.defineProperty(exports,"formatPrintPageRange",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs.x}});Object.defineProperty(exports,"formatShortcutKeys",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs.Da}});Object.defineProperty(exports,"formatTableDimensions",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs.Z}});Object.defineProperty(exports,"getActionShortcut",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs.c}});Object.defineProperty(exports,"getAllActions",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs.f}});Object.defineProperty(exports,"getAllCategories",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs.Ca}});Object.defineProperty(exports,"getAllIndicatorPositions",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs.F}});Object.defineProperty(exports,"getAllIndicatorVariants",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs.E}});Object.defineProperty(exports,"getAllLoadingSizes",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs.M}});Object.defineProperty(exports,"getAllLoadingVariants",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs.L}});Object.defineProperty(exports,"getAllPasteOptions",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs.ta}});Object.defineProperty(exports,"getCategoryLabel",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs.Ba}});Object.defineProperty(exports,"getCommonShortcuts",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs.Aa}});Object.defineProperty(exports,"getDefaultActions",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs.e}});Object.defineProperty(exports,"getDefaultPasteOption",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs.ua}});Object.defineProperty(exports,"getDefaultPrintOptions",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs.v}});Object.defineProperty(exports,"getDefaultShortcuts",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs.ya}});Object.defineProperty(exports,"getDefaultTextContextMenuItems",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs.o}});Object.defineProperty(exports,"getImageAcceptString",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs.da}});Object.defineProperty(exports,"getImageDimensions",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs.ga}});Object.defineProperty(exports,"getLoadingVariantLabel",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs.K}});Object.defineProperty(exports,"getPasteOption",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs.sa}});Object.defineProperty(exports,"getRecommendedPriority",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs.T}});Object.defineProperty(exports,"getShortcutsByCategory",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs.za}});Object.defineProperty(exports,"getSupportedImageExtensions",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs.ca}});Object.defineProperty(exports,"getSymbolCategories",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs.la}});Object.defineProperty(exports,"getSymbolUnicodeInfo",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs.na}});Object.defineProperty(exports,"getSymbolsByCategory",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs.ma}});Object.defineProperty(exports,"getTablePresets",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs._}});Object.defineProperty(exports,"getTextActionLabel",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs.m}});Object.defineProperty(exports,"getTextActionShortcut",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs.n}});Object.defineProperty(exports,"getVariantLabel",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs.D}});Object.defineProperty(exports,"isActionAvailable",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs.d}});Object.defineProperty(exports,"isPasteSpecialShortcut",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs.va}});Object.defineProperty(exports,"isPrintSupported",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs.y}});Object.defineProperty(exports,"isTextActionAvailable",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs.p}});Object.defineProperty(exports,"isValidImageFile",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs.ba}});Object.defineProperty(exports,"isValidTableConfig",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs.X}});Object.defineProperty(exports,"openPrintWindow",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs.u}});Object.defineProperty(exports,"parsePageRange",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs.w}});Object.defineProperty(exports,"searchSymbols",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs.oa}});Object.defineProperty(exports,"symbolFromCodePoint",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs.pa}});Object.defineProperty(exports,"triggerPrint",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs.t}});Object.defineProperty(exports,"useContextMenu",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs.b}});Object.defineProperty(exports,"useInsertImageDialog",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs.aa}});Object.defineProperty(exports,"useInsertSymbolDialog",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs.ka}});Object.defineProperty(exports,"useInsertTableDialog",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs.V}});Object.defineProperty(exports,"useKeyboardShortcutsDialog",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs.xa}});Object.defineProperty(exports,"useLoading",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs.I}});Object.defineProperty(exports,"useLoadingOperations",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs.J}});Object.defineProperty(exports,"usePasteSpecial",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs.ra}});Object.defineProperty(exports,"useResponsePreview",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs.h}});Object.defineProperty(exports,"useResponsiveToolbar",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs.O}});Object.defineProperty(exports,"useTextContextMenu",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs.l}});Object.defineProperty(exports,"useUnsavedChanges",{enumerable:true,get:function(){return chunk3C2VHZX6_cjs.C}});Object.defineProperty(exports,"AdvancedColorPicker",{enumerable:true,get:function(){return chunkI5YZ4MRV_cjs.h}});Object.defineProperty(exports,"AlignmentButtons",{enumerable:true,get:function(){return chunkI5YZ4MRV_cjs.j}});Object.defineProperty(exports,"FontPicker",{enumerable:true,get:function(){return chunkI5YZ4MRV_cjs.b}});Object.defineProperty(exports,"FontSizePicker",{enumerable:true,get:function(){return chunkI5YZ4MRV_cjs.g}});Object.defineProperty(exports,"HorizontalRuler",{enumerable:true,get:function(){return chunkI5YZ4MRV_cjs.O}});Object.defineProperty(exports,"LineSpacingPicker",{enumerable:true,get:function(){return chunkI5YZ4MRV_cjs.m}});Object.defineProperty(exports,"ListButtons",{enumerable:true,get:function(){return chunkI5YZ4MRV_cjs.k}});Object.defineProperty(exports,"PageNavigator",{enumerable:true,get:function(){return chunkI5YZ4MRV_cjs.H}});Object.defineProperty(exports,"PageNumberIndicator",{enumerable:true,get:function(){return chunkI5YZ4MRV_cjs.z}});Object.defineProperty(exports,"StylePicker",{enumerable:true,get:function(){return chunkI5YZ4MRV_cjs.n}});Object.defineProperty(exports,"TableBorderColorPicker",{enumerable:true,get:function(){return chunkI5YZ4MRV_cjs.q}});Object.defineProperty(exports,"TableBorderPicker",{enumerable:true,get:function(){return chunkI5YZ4MRV_cjs.p}});Object.defineProperty(exports,"TableBorderWidthPicker",{enumerable:true,get:function(){return chunkI5YZ4MRV_cjs.r}});Object.defineProperty(exports,"TableCellFillPicker",{enumerable:true,get:function(){return chunkI5YZ4MRV_cjs.s}});Object.defineProperty(exports,"TableMoreDropdown",{enumerable:true,get:function(){return chunkI5YZ4MRV_cjs.t}});Object.defineProperty(exports,"TableToolbar",{enumerable:true,get:function(){return chunkI5YZ4MRV_cjs.T}});Object.defineProperty(exports,"Toolbar",{enumerable:true,get:function(){return chunkI5YZ4MRV_cjs.y}});Object.defineProperty(exports,"ToolbarButton",{enumerable:true,get:function(){return chunkI5YZ4MRV_cjs.v}});Object.defineProperty(exports,"ToolbarGroup",{enumerable:true,get:function(){return chunkI5YZ4MRV_cjs.w}});Object.defineProperty(exports,"ToolbarSeparator",{enumerable:true,get:function(){return chunkI5YZ4MRV_cjs.x}});Object.defineProperty(exports,"ZoomControl",{enumerable:true,get:function(){return chunkI5YZ4MRV_cjs.o}});Object.defineProperty(exports,"addColumn",{enumerable:true,get:function(){return chunkI5YZ4MRV_cjs.Z}});Object.defineProperty(exports,"addRow",{enumerable:true,get:function(){return chunkI5YZ4MRV_cjs.X}});Object.defineProperty(exports,"calculateProgress",{enumerable:true,get:function(){return chunkI5YZ4MRV_cjs.N}});Object.defineProperty(exports,"calculateScrollToPage",{enumerable:true,get:function(){return chunkI5YZ4MRV_cjs.G}});Object.defineProperty(exports,"calculateVisiblePage",{enumerable:true,get:function(){return chunkI5YZ4MRV_cjs.F}});Object.defineProperty(exports,"clampPageNumber",{enumerable:true,get:function(){return chunkI5YZ4MRV_cjs.K}});Object.defineProperty(exports,"createDefaultListState",{enumerable:true,get:function(){return chunkI5YZ4MRV_cjs.l}});Object.defineProperty(exports,"createPageFormat",{enumerable:true,get:function(){return chunkI5YZ4MRV_cjs.B}});Object.defineProperty(exports,"createTableContext",{enumerable:true,get:function(){return chunkI5YZ4MRV_cjs.U}});Object.defineProperty(exports,"deleteColumn",{enumerable:true,get:function(){return chunkI5YZ4MRV_cjs._}});Object.defineProperty(exports,"deleteRow",{enumerable:true,get:function(){return chunkI5YZ4MRV_cjs.Y}});Object.defineProperty(exports,"formatPageOrdinal",{enumerable:true,get:function(){return chunkI5YZ4MRV_cjs.A}});Object.defineProperty(exports,"formatPageRange",{enumerable:true,get:function(){return chunkI5YZ4MRV_cjs.M}});Object.defineProperty(exports,"getCellAt",{enumerable:true,get:function(){return chunkI5YZ4MRV_cjs.W}});Object.defineProperty(exports,"getColumnCount",{enumerable:true,get:function(){return chunkI5YZ4MRV_cjs.V}});Object.defineProperty(exports,"getMarginInUnits",{enumerable:true,get:function(){return chunkI5YZ4MRV_cjs.R}});Object.defineProperty(exports,"getNavigationShortcuts",{enumerable:true,get:function(){return chunkI5YZ4MRV_cjs.L}});Object.defineProperty(exports,"getPageProgress",{enumerable:true,get:function(){return chunkI5YZ4MRV_cjs.C}});Object.defineProperty(exports,"getRulerDimensions",{enumerable:true,get:function(){return chunkI5YZ4MRV_cjs.Q}});Object.defineProperty(exports,"isFirstPage",{enumerable:true,get:function(){return chunkI5YZ4MRV_cjs.D}});Object.defineProperty(exports,"isLastPage",{enumerable:true,get:function(){return chunkI5YZ4MRV_cjs.E}});Object.defineProperty(exports,"isValidPageNumber",{enumerable:true,get:function(){return chunkI5YZ4MRV_cjs.J}});Object.defineProperty(exports,"mergeCells",{enumerable:true,get:function(){return chunkI5YZ4MRV_cjs.$}});Object.defineProperty(exports,"parseMarginFromUnits",{enumerable:true,get:function(){return chunkI5YZ4MRV_cjs.S}});Object.defineProperty(exports,"parsePageInput",{enumerable:true,get:function(){return chunkI5YZ4MRV_cjs.I}});Object.defineProperty(exports,"positionToMargin",{enumerable:true,get:function(){return chunkI5YZ4MRV_cjs.P}});Object.defineProperty(exports,"splitCell",{enumerable:true,get:function(){return chunkI5YZ4MRV_cjs.aa}});Object.defineProperty(exports,"FindReplaceDialog",{enumerable:true,get:function(){return chunkVTAS7VZ6_cjs.n}});Object.defineProperty(exports,"createDefaultFindOptions",{enumerable:true,get:function(){return chunkVTAS7VZ6_cjs.a}});Object.defineProperty(exports,"createSearchPattern",{enumerable:true,get:function(){return chunkVTAS7VZ6_cjs.c}});Object.defineProperty(exports,"escapeRegexString",{enumerable:true,get:function(){return chunkVTAS7VZ6_cjs.b}});Object.defineProperty(exports,"findAllMatches",{enumerable:true,get:function(){return chunkVTAS7VZ6_cjs.d}});Object.defineProperty(exports,"findInDocument",{enumerable:true,get:function(){return chunkVTAS7VZ6_cjs.j}});Object.defineProperty(exports,"findInParagraph",{enumerable:true,get:function(){return chunkVTAS7VZ6_cjs.k}});Object.defineProperty(exports,"getDefaultHighlightOptions",{enumerable:true,get:function(){return chunkVTAS7VZ6_cjs.i}});Object.defineProperty(exports,"getMatchCountText",{enumerable:true,get:function(){return chunkVTAS7VZ6_cjs.g}});Object.defineProperty(exports,"isEmptySearch",{enumerable:true,get:function(){return chunkVTAS7VZ6_cjs.h}});Object.defineProperty(exports,"replaceAllInContent",{enumerable:true,get:function(){return chunkVTAS7VZ6_cjs.e}});Object.defineProperty(exports,"replaceFirstInContent",{enumerable:true,get:function(){return chunkVTAS7VZ6_cjs.f}});Object.defineProperty(exports,"scrollToMatch",{enumerable:true,get:function(){return chunkVTAS7VZ6_cjs.l}});Object.defineProperty(exports,"useFindReplace",{enumerable:true,get:function(){return chunkVTAS7VZ6_cjs.m}});Object.defineProperty(exports,"HyperlinkDialog",{enumerable:true,get:function(){return chunkXS2AQFMF_cjs.d}});Object.defineProperty(exports,"useHyperlinkDialog",{enumerable:true,get:function(){return chunkXS2AQFMF_cjs.m}});
|
package/dist/ui.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import React__default, { CSSProperties, ReactNode } from 'react';
|
|
3
|
-
import { ag as ParagraphAlignment, ae as ColorValue, K as Style, X as Theme, G as SelectionContext, f as AIAction, i as AgentResponse, ah as StyleType, C as SectionProperties, ai as TabStop, D as Document } from './agentApi-
|
|
4
|
-
import { T as TableAction, j as ParsedClipboardContent } from './clipboard-
|
|
5
|
-
export { P as PageIndicatorPosition, c as PageIndicatorVariant, d as PageNavigator, e as PageNavigatorPosition, f as PageNavigatorProps, g as PageNavigatorVariant, h as PageNumberIndicator, i as PageNumberIndicatorProps, k as PrintButton, l as PrintButtonProps, m as PrintOptions, n as PrintStyles, o as TableContext, p as TableSelection, q as TableToolbar, r as TableToolbarProps, s as addColumn, t as addRow, u as calculateProgress, v as calculateScrollToPage, w as calculateVisiblePage, x as clampPageNumber, D as createPageFormat, E as createTableContext, F as deleteColumn, G as deleteRow, H as formatPageOrdinal, J as formatPageRange, K as formatPrintPageRange, L as getCellAt, M as getColumnCount, N as getDefaultPrintOptions, O as getNavigationShortcuts, Q as getPageProgress, V as isFirstPage, W as isLastPage, X as isPrintSupported, Y as isValidPageNumber, _ as mergeCells, $ as openPrintWindow, a2 as parsePageInput, a3 as parsePageRange, a6 as splitCell, a7 as triggerPrint } from './clipboard-
|
|
3
|
+
import { ag as ParagraphAlignment, ae as ColorValue, K as Style, X as Theme, G as SelectionContext, f as AIAction, i as AgentResponse, ah as StyleType, C as SectionProperties, ai as TabStop, D as Document } from './agentApi-DmDuQm0e.cjs';
|
|
4
|
+
import { T as TableAction, j as ParsedClipboardContent } from './clipboard-Bj2X5pLO.cjs';
|
|
5
|
+
export { P as PageIndicatorPosition, c as PageIndicatorVariant, d as PageNavigator, e as PageNavigatorPosition, f as PageNavigatorProps, g as PageNavigatorVariant, h as PageNumberIndicator, i as PageNumberIndicatorProps, k as PrintButton, l as PrintButtonProps, m as PrintOptions, n as PrintStyles, o as TableContext, p as TableSelection, q as TableToolbar, r as TableToolbarProps, s as addColumn, t as addRow, u as calculateProgress, v as calculateScrollToPage, w as calculateVisiblePage, x as clampPageNumber, D as createPageFormat, E as createTableContext, F as deleteColumn, G as deleteRow, H as formatPageOrdinal, J as formatPageRange, K as formatPrintPageRange, L as getCellAt, M as getColumnCount, N as getDefaultPrintOptions, O as getNavigationShortcuts, Q as getPageProgress, V as isFirstPage, W as isLastPage, X as isPrintSupported, Y as isValidPageNumber, _ as mergeCells, $ as openPrintWindow, a2 as parsePageInput, a3 as parsePageRange, a6 as splitCell, a7 as triggerPrint } from './clipboard-Bj2X5pLO.cjs';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* List type
|
|
@@ -91,11 +91,13 @@ interface SelectionFormatting {
|
|
|
91
91
|
styleId?: string;
|
|
92
92
|
/** Paragraph left indentation in twips */
|
|
93
93
|
indentLeft?: number;
|
|
94
|
+
/** Whether the paragraph is RTL (bidi) */
|
|
95
|
+
bidi?: boolean;
|
|
94
96
|
}
|
|
95
97
|
/**
|
|
96
98
|
* Formatting action types
|
|
97
99
|
*/
|
|
98
|
-
type FormattingAction = 'bold' | 'italic' | 'underline' | 'strikethrough' | 'superscript' | 'subscript' | 'clearFormatting' | 'bulletList' | 'numberedList' | 'indent' | 'outdent' | 'insertLink' | {
|
|
100
|
+
type FormattingAction = 'bold' | 'italic' | 'underline' | 'strikethrough' | 'superscript' | 'subscript' | 'clearFormatting' | 'bulletList' | 'numberedList' | 'indent' | 'outdent' | 'insertLink' | 'setRtl' | 'setLtr' | {
|
|
99
101
|
type: 'fontFamily';
|
|
100
102
|
value: string;
|
|
101
103
|
} | {
|
|
@@ -209,6 +211,8 @@ interface ToolbarProps {
|
|
|
209
211
|
onImageTransform?: (action: 'rotateCW' | 'rotateCCW' | 'flipH' | 'flipV') => void;
|
|
210
212
|
/** Callback to open image properties dialog (alt text + border) */
|
|
211
213
|
onOpenImageProperties?: () => void;
|
|
214
|
+
/** Callback to open page setup dialog */
|
|
215
|
+
onPageSetup?: () => void;
|
|
212
216
|
/** Table context when cursor is in a table */
|
|
213
217
|
tableContext?: {
|
|
214
218
|
isInTable: boolean;
|
|
@@ -267,7 +271,7 @@ declare function ToolbarSeparator(): react_jsx_runtime.JSX.Element;
|
|
|
267
271
|
/**
|
|
268
272
|
* Formatting toolbar with all controls
|
|
269
273
|
*/
|
|
270
|
-
declare function Toolbar({ currentFormatting, onFormat, onUndo, onRedo, canUndo, canRedo, disabled, className, style, enableShortcuts, editorRef, children, showFontPicker, showFontSizePicker, showTextColorPicker, showHighlightColorPicker, showAlignmentButtons, showListButtons, showLineSpacingPicker, showStylePicker, documentStyles, theme, onPrint, showPrintButton, showZoomControl, zoom, onZoomChange, onRefocusEditor, onInsertTable, showTableInsert, onInsertImage, onInsertPageBreak, onInsertTOC, imageContext, onImageWrapType, onImageTransform, onOpenImageProperties, tableContext, onTableAction, }: ToolbarProps): react_jsx_runtime.JSX.Element;
|
|
274
|
+
declare function Toolbar({ currentFormatting, onFormat, onUndo, onRedo, canUndo, canRedo, disabled, className, style, enableShortcuts, editorRef, children, showFontPicker, showFontSizePicker, showTextColorPicker, showHighlightColorPicker, showAlignmentButtons, showListButtons, showLineSpacingPicker, showStylePicker, documentStyles, theme, onPrint, showPrintButton, showZoomControl, zoom, onZoomChange, onRefocusEditor, onInsertTable, showTableInsert, onInsertImage, onInsertPageBreak, onInsertTOC, imageContext, onImageWrapType, onImageTransform, onOpenImageProperties, onPageSetup, tableContext, onTableAction, }: ToolbarProps): react_jsx_runtime.JSX.Element;
|
|
271
275
|
|
|
272
276
|
/**
|
|
273
277
|
* Context Menu Component
|
package/dist/ui.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import React__default, { CSSProperties, ReactNode } from 'react';
|
|
3
|
-
import { ag as ParagraphAlignment, ae as ColorValue, K as Style, X as Theme, G as SelectionContext, f as AIAction, i as AgentResponse, ah as StyleType, C as SectionProperties, ai as TabStop, D as Document } from './agentApi-
|
|
4
|
-
import { T as TableAction, j as ParsedClipboardContent } from './clipboard-
|
|
5
|
-
export { P as PageIndicatorPosition, c as PageIndicatorVariant, d as PageNavigator, e as PageNavigatorPosition, f as PageNavigatorProps, g as PageNavigatorVariant, h as PageNumberIndicator, i as PageNumberIndicatorProps, k as PrintButton, l as PrintButtonProps, m as PrintOptions, n as PrintStyles, o as TableContext, p as TableSelection, q as TableToolbar, r as TableToolbarProps, s as addColumn, t as addRow, u as calculateProgress, v as calculateScrollToPage, w as calculateVisiblePage, x as clampPageNumber, D as createPageFormat, E as createTableContext, F as deleteColumn, G as deleteRow, H as formatPageOrdinal, J as formatPageRange, K as formatPrintPageRange, L as getCellAt, M as getColumnCount, N as getDefaultPrintOptions, O as getNavigationShortcuts, Q as getPageProgress, V as isFirstPage, W as isLastPage, X as isPrintSupported, Y as isValidPageNumber, _ as mergeCells, $ as openPrintWindow, a2 as parsePageInput, a3 as parsePageRange, a6 as splitCell, a7 as triggerPrint } from './clipboard-
|
|
3
|
+
import { ag as ParagraphAlignment, ae as ColorValue, K as Style, X as Theme, G as SelectionContext, f as AIAction, i as AgentResponse, ah as StyleType, C as SectionProperties, ai as TabStop, D as Document } from './agentApi-DmDuQm0e.js';
|
|
4
|
+
import { T as TableAction, j as ParsedClipboardContent } from './clipboard-DriRE6eS.js';
|
|
5
|
+
export { P as PageIndicatorPosition, c as PageIndicatorVariant, d as PageNavigator, e as PageNavigatorPosition, f as PageNavigatorProps, g as PageNavigatorVariant, h as PageNumberIndicator, i as PageNumberIndicatorProps, k as PrintButton, l as PrintButtonProps, m as PrintOptions, n as PrintStyles, o as TableContext, p as TableSelection, q as TableToolbar, r as TableToolbarProps, s as addColumn, t as addRow, u as calculateProgress, v as calculateScrollToPage, w as calculateVisiblePage, x as clampPageNumber, D as createPageFormat, E as createTableContext, F as deleteColumn, G as deleteRow, H as formatPageOrdinal, J as formatPageRange, K as formatPrintPageRange, L as getCellAt, M as getColumnCount, N as getDefaultPrintOptions, O as getNavigationShortcuts, Q as getPageProgress, V as isFirstPage, W as isLastPage, X as isPrintSupported, Y as isValidPageNumber, _ as mergeCells, $ as openPrintWindow, a2 as parsePageInput, a3 as parsePageRange, a6 as splitCell, a7 as triggerPrint } from './clipboard-DriRE6eS.js';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* List type
|
|
@@ -91,11 +91,13 @@ interface SelectionFormatting {
|
|
|
91
91
|
styleId?: string;
|
|
92
92
|
/** Paragraph left indentation in twips */
|
|
93
93
|
indentLeft?: number;
|
|
94
|
+
/** Whether the paragraph is RTL (bidi) */
|
|
95
|
+
bidi?: boolean;
|
|
94
96
|
}
|
|
95
97
|
/**
|
|
96
98
|
* Formatting action types
|
|
97
99
|
*/
|
|
98
|
-
type FormattingAction = 'bold' | 'italic' | 'underline' | 'strikethrough' | 'superscript' | 'subscript' | 'clearFormatting' | 'bulletList' | 'numberedList' | 'indent' | 'outdent' | 'insertLink' | {
|
|
100
|
+
type FormattingAction = 'bold' | 'italic' | 'underline' | 'strikethrough' | 'superscript' | 'subscript' | 'clearFormatting' | 'bulletList' | 'numberedList' | 'indent' | 'outdent' | 'insertLink' | 'setRtl' | 'setLtr' | {
|
|
99
101
|
type: 'fontFamily';
|
|
100
102
|
value: string;
|
|
101
103
|
} | {
|
|
@@ -209,6 +211,8 @@ interface ToolbarProps {
|
|
|
209
211
|
onImageTransform?: (action: 'rotateCW' | 'rotateCCW' | 'flipH' | 'flipV') => void;
|
|
210
212
|
/** Callback to open image properties dialog (alt text + border) */
|
|
211
213
|
onOpenImageProperties?: () => void;
|
|
214
|
+
/** Callback to open page setup dialog */
|
|
215
|
+
onPageSetup?: () => void;
|
|
212
216
|
/** Table context when cursor is in a table */
|
|
213
217
|
tableContext?: {
|
|
214
218
|
isInTable: boolean;
|
|
@@ -267,7 +271,7 @@ declare function ToolbarSeparator(): react_jsx_runtime.JSX.Element;
|
|
|
267
271
|
/**
|
|
268
272
|
* Formatting toolbar with all controls
|
|
269
273
|
*/
|
|
270
|
-
declare function Toolbar({ currentFormatting, onFormat, onUndo, onRedo, canUndo, canRedo, disabled, className, style, enableShortcuts, editorRef, children, showFontPicker, showFontSizePicker, showTextColorPicker, showHighlightColorPicker, showAlignmentButtons, showListButtons, showLineSpacingPicker, showStylePicker, documentStyles, theme, onPrint, showPrintButton, showZoomControl, zoom, onZoomChange, onRefocusEditor, onInsertTable, showTableInsert, onInsertImage, onInsertPageBreak, onInsertTOC, imageContext, onImageWrapType, onImageTransform, onOpenImageProperties, tableContext, onTableAction, }: ToolbarProps): react_jsx_runtime.JSX.Element;
|
|
274
|
+
declare function Toolbar({ currentFormatting, onFormat, onUndo, onRedo, canUndo, canRedo, disabled, className, style, enableShortcuts, editorRef, children, showFontPicker, showFontSizePicker, showTextColorPicker, showHighlightColorPicker, showAlignmentButtons, showListButtons, showLineSpacingPicker, showStylePicker, documentStyles, theme, onPrint, showPrintButton, showZoomControl, zoom, onZoomChange, onRefocusEditor, onInsertTable, showTableInsert, onInsertImage, onInsertPageBreak, onInsertTOC, imageContext, onImageWrapType, onImageTransform, onOpenImageProperties, onPageSetup, tableContext, onTableAction, }: ToolbarProps): react_jsx_runtime.JSX.Element;
|
|
271
275
|
|
|
272
276
|
/**
|
|
273
277
|
* Context Menu Component
|