@windoc/react 0.3.24 → 0.3.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +13 -1
- package/dist/index.d.ts +13 -1
- package/dist/index.js +336 -251
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +299 -217
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/styles/editor.css +11 -0
package/dist/index.d.mts
CHANGED
|
@@ -71,6 +71,12 @@ type EditorInstance = {
|
|
|
71
71
|
executeSearchNavigatePre: () => void;
|
|
72
72
|
executeSearchNavigateNext: () => void;
|
|
73
73
|
executePrint: () => void;
|
|
74
|
+
executeExportDocx: (options?: {
|
|
75
|
+
fileName?: string;
|
|
76
|
+
}) => Promise<void>;
|
|
77
|
+
executeExportPdf: (options?: {
|
|
78
|
+
fileName?: string;
|
|
79
|
+
}) => Promise<void>;
|
|
74
80
|
executePageMode: (mode: string) => void;
|
|
75
81
|
executeColumnCount: (count: number) => void;
|
|
76
82
|
executeColumnBreak: () => void;
|
|
@@ -389,6 +395,12 @@ declare function TableCellBorderColorTool(): react_jsx_runtime.JSX.Element;
|
|
|
389
395
|
|
|
390
396
|
declare function ImageTool(): react_jsx_runtime.JSX.Element;
|
|
391
397
|
|
|
398
|
+
declare function ExportTool(): react_jsx_runtime.JSX.Element;
|
|
399
|
+
|
|
400
|
+
declare function ExportPdfTool(): react_jsx_runtime.JSX.Element;
|
|
401
|
+
|
|
402
|
+
declare function ExportDocxTool(): react_jsx_runtime.JSX.Element;
|
|
403
|
+
|
|
392
404
|
declare function ColumnTool(): react_jsx_runtime.JSX.Element;
|
|
393
405
|
|
|
394
406
|
declare function SeparatorTool(): react_jsx_runtime.JSX.Element;
|
|
@@ -423,4 +435,4 @@ declare function EditorOptionTool(): react_jsx_runtime.JSX.Element;
|
|
|
423
435
|
|
|
424
436
|
declare function WatermarkFooterTool(): react_jsx_runtime.JSX.Element;
|
|
425
437
|
|
|
426
|
-
export { BoldTool, CatalogToggleTool, CenterAlignTool, ColorTool, ColumnTool, Editor, EditorFooter, type EditorInstance, EditorModeTool, EditorOptionTool, EditorProvider, EditorToolbar, FontSizeTool, FontTool, FooterProvider, FooterStatus, FullscreenTool, HighlightTool, type ICatalogItem, type IComment, ImageTool, ItalicTool, JustifyTool, LeftAlignTool, LineHeightTool, ListTool, PageBreakTool, PageModeTool, PageScaleAddTool, PageScaleMinusTool, PageScalePercentageTool, PaperDirectionTool, PaperMarginTool, PaperSizeTool, type RangeStylePayload, RedoTool, RightAlignTool, SeparatorTool, StrikeoutTool, TableCellBgColorTool, TableCellBorderColorTool, TableTool, TitleTool, UnderlineTool, UndoTool, WatermarkFooterTool, InsertElementTool as WatermarkTool, useEditor, useFooter };
|
|
438
|
+
export { BoldTool, CatalogToggleTool, CenterAlignTool, ColorTool, ColumnTool, Editor, EditorFooter, type EditorInstance, EditorModeTool, EditorOptionTool, EditorProvider, EditorToolbar, ExportDocxTool, ExportPdfTool, ExportTool, FontSizeTool, FontTool, FooterProvider, FooterStatus, FullscreenTool, HighlightTool, type ICatalogItem, type IComment, ImageTool, ItalicTool, JustifyTool, LeftAlignTool, LineHeightTool, ListTool, PageBreakTool, PageModeTool, PageScaleAddTool, PageScaleMinusTool, PageScalePercentageTool, PaperDirectionTool, PaperMarginTool, PaperSizeTool, type RangeStylePayload, RedoTool, RightAlignTool, SeparatorTool, StrikeoutTool, TableCellBgColorTool, TableCellBorderColorTool, TableTool, TitleTool, UnderlineTool, UndoTool, WatermarkFooterTool, InsertElementTool as WatermarkTool, useEditor, useFooter };
|
package/dist/index.d.ts
CHANGED
|
@@ -71,6 +71,12 @@ type EditorInstance = {
|
|
|
71
71
|
executeSearchNavigatePre: () => void;
|
|
72
72
|
executeSearchNavigateNext: () => void;
|
|
73
73
|
executePrint: () => void;
|
|
74
|
+
executeExportDocx: (options?: {
|
|
75
|
+
fileName?: string;
|
|
76
|
+
}) => Promise<void>;
|
|
77
|
+
executeExportPdf: (options?: {
|
|
78
|
+
fileName?: string;
|
|
79
|
+
}) => Promise<void>;
|
|
74
80
|
executePageMode: (mode: string) => void;
|
|
75
81
|
executeColumnCount: (count: number) => void;
|
|
76
82
|
executeColumnBreak: () => void;
|
|
@@ -389,6 +395,12 @@ declare function TableCellBorderColorTool(): react_jsx_runtime.JSX.Element;
|
|
|
389
395
|
|
|
390
396
|
declare function ImageTool(): react_jsx_runtime.JSX.Element;
|
|
391
397
|
|
|
398
|
+
declare function ExportTool(): react_jsx_runtime.JSX.Element;
|
|
399
|
+
|
|
400
|
+
declare function ExportPdfTool(): react_jsx_runtime.JSX.Element;
|
|
401
|
+
|
|
402
|
+
declare function ExportDocxTool(): react_jsx_runtime.JSX.Element;
|
|
403
|
+
|
|
392
404
|
declare function ColumnTool(): react_jsx_runtime.JSX.Element;
|
|
393
405
|
|
|
394
406
|
declare function SeparatorTool(): react_jsx_runtime.JSX.Element;
|
|
@@ -423,4 +435,4 @@ declare function EditorOptionTool(): react_jsx_runtime.JSX.Element;
|
|
|
423
435
|
|
|
424
436
|
declare function WatermarkFooterTool(): react_jsx_runtime.JSX.Element;
|
|
425
437
|
|
|
426
|
-
export { BoldTool, CatalogToggleTool, CenterAlignTool, ColorTool, ColumnTool, Editor, EditorFooter, type EditorInstance, EditorModeTool, EditorOptionTool, EditorProvider, EditorToolbar, FontSizeTool, FontTool, FooterProvider, FooterStatus, FullscreenTool, HighlightTool, type ICatalogItem, type IComment, ImageTool, ItalicTool, JustifyTool, LeftAlignTool, LineHeightTool, ListTool, PageBreakTool, PageModeTool, PageScaleAddTool, PageScaleMinusTool, PageScalePercentageTool, PaperDirectionTool, PaperMarginTool, PaperSizeTool, type RangeStylePayload, RedoTool, RightAlignTool, SeparatorTool, StrikeoutTool, TableCellBgColorTool, TableCellBorderColorTool, TableTool, TitleTool, UnderlineTool, UndoTool, WatermarkFooterTool, InsertElementTool as WatermarkTool, useEditor, useFooter };
|
|
438
|
+
export { BoldTool, CatalogToggleTool, CenterAlignTool, ColorTool, ColumnTool, Editor, EditorFooter, type EditorInstance, EditorModeTool, EditorOptionTool, EditorProvider, EditorToolbar, ExportDocxTool, ExportPdfTool, ExportTool, FontSizeTool, FontTool, FooterProvider, FooterStatus, FullscreenTool, HighlightTool, type ICatalogItem, type IComment, ImageTool, ItalicTool, JustifyTool, LeftAlignTool, LineHeightTool, ListTool, PageBreakTool, PageModeTool, PageScaleAddTool, PageScaleMinusTool, PageScalePercentageTool, PaperDirectionTool, PaperMarginTool, PaperSizeTool, type RangeStylePayload, RedoTool, RightAlignTool, SeparatorTool, StrikeoutTool, TableCellBgColorTool, TableCellBorderColorTool, TableTool, TitleTool, UnderlineTool, UndoTool, WatermarkFooterTool, InsertElementTool as WatermarkTool, useEditor, useFooter };
|