@progress/kendo-react-editor 13.3.0-develop.9 → 13.4.0-develop.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (76) hide show
  1. package/Editor.d.ts +125 -0
  2. package/Editor.js +1 -1
  3. package/Editor.mjs +77 -77
  4. package/EditorProps.d.ts +406 -0
  5. package/config/defaultStyles.d.ts +19 -0
  6. package/config/pasteSettings.d.ts +13 -0
  7. package/config/schema.d.ts +8 -0
  8. package/config/shortcuts.d.ts +31 -0
  9. package/config/shortcuts.mjs +7 -7
  10. package/config/toolsSettings.d.ts +496 -0
  11. package/dialogs/EditorDialogProps.d.ts +33 -0
  12. package/dialogs/FindReplace.d.ts +79 -0
  13. package/dialogs/FindReplace.mjs +3 -3
  14. package/dialogs/index.d.ts +56 -0
  15. package/dialogs/insertImage.d.ts +35 -0
  16. package/dialogs/insertImage.mjs +3 -3
  17. package/dialogs/insertLink.d.ts +33 -0
  18. package/dialogs/insertLink.mjs +3 -3
  19. package/dialogs/viewHtml.d.ts +32 -0
  20. package/dialogs/viewHtml.mjs +3 -3
  21. package/dist/cdn/js/kendo-react-editor.js +1 -1
  22. package/index.d.mts +176 -3134
  23. package/index.d.ts +176 -3134
  24. package/index.mjs +139 -139
  25. package/messages/index.d.ts +359 -0
  26. package/package-metadata.d.ts +12 -0
  27. package/package-metadata.js +1 -1
  28. package/package-metadata.mjs +10 -16
  29. package/package.json +12 -12
  30. package/tools/ToolProps.d.ts +41 -0
  31. package/tools/align.d.ts +14 -0
  32. package/tools/applyColor.d.ts +19 -0
  33. package/tools/cleanFormatting.d.ts +23 -0
  34. package/tools/findReplace.d.ts +36 -0
  35. package/tools/findReplace.mjs +3 -3
  36. package/tools/fontStyle.d.ts +35 -0
  37. package/tools/fontStyle.mjs +3 -3
  38. package/tools/formatBlock.d.ts +25 -0
  39. package/tools/formatBlock.mjs +3 -3
  40. package/tools/history.d.ts +33 -0
  41. package/tools/indent.d.ts +24 -0
  42. package/tools/index.d.ts +717 -0
  43. package/tools/index.mjs +1 -1
  44. package/tools/inlineFormat.d.ts +54 -0
  45. package/tools/inlineFormat.mjs +3 -3
  46. package/tools/insertImage.d.ts +20 -0
  47. package/tools/insertLink.d.ts +31 -0
  48. package/tools/insertTable/index.d.ts +10 -0
  49. package/tools/insertTable/popup.d.ts +100 -0
  50. package/tools/insertTable/popupGrid.d.ts +38 -0
  51. package/tools/insertTable/tool.d.ts +31 -0
  52. package/tools/lists-styled.d.ts +12 -0
  53. package/tools/lists.d.ts +34 -0
  54. package/tools/outdent.d.ts +24 -0
  55. package/tools/pdf.d.ts +32 -0
  56. package/tools/print.d.ts +23 -0
  57. package/tools/proseMirrorTool.d.ts +19 -0
  58. package/tools/selectAll.d.ts +23 -0
  59. package/tools/table-wizard/cellPropsUtils.d.ts +43 -0
  60. package/tools/table-wizard/cellPropsUtils.mjs +5 -5
  61. package/tools/table-wizard/tableCellProperties.d.ts +27 -0
  62. package/tools/table-wizard/tableProperties.d.ts +18 -0
  63. package/tools/table-wizard/tableProperties.mjs +13 -13
  64. package/tools/table-wizard/tablePropsUtils.d.ts +59 -0
  65. package/tools/table-wizard/tablePropsUtils.mjs +9 -9
  66. package/tools/table-wizard/utils.d.ts +46 -0
  67. package/tools/tableEdit.d.ts +105 -0
  68. package/tools/tableEdit.mjs +3 -3
  69. package/tools/unlink.d.ts +24 -0
  70. package/tools/utils.d.ts +57 -0
  71. package/tools/utils.mjs +1 -1
  72. package/tools/viewHtml.d.ts +31 -0
  73. package/utils/browser-detection.d.ts +11 -0
  74. package/utils/controlled-value.d.ts +12 -0
  75. package/utils/index.d.ts +370 -0
  76. package/utils/props-key.d.ts +12 -0
@@ -0,0 +1,717 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { EditorToolsSettings } from '../config/toolsSettings.js';
9
+ import { InsertTableToolNS, InsertTablePopupNS } from './insertTable/index.js';
10
+ import { FontStyleToolNS } from './fontStyle.js';
11
+ import { ApplyColorToolProps } from './applyColor.js';
12
+ import { FormatBlockToolNS } from './formatBlock.js';
13
+ import { HistoryToolNS } from './history.js';
14
+ import { IndentToolNS } from './indent.js';
15
+ import { InlineFormatToolNS } from './inlineFormat.js';
16
+ import { LinkToolNS } from './insertLink.js';
17
+ import { ListToolNS } from './lists.js';
18
+ import { ToolProps, BasicToolProps, ToolWithDialogRenderProp } from './ToolProps.js';
19
+ import { TableEditNS } from './tableEdit.js';
20
+ import { UnlinkToolNS } from './unlink.js';
21
+ import { ViewHtmlToolNS } from './viewHtml.js';
22
+ import { PrintProps as PrintToolProps } from './print.js';
23
+ import { PdfProps as PdfToolProps } from './pdf.js';
24
+ import { SelectAllToolProps } from './selectAll.js';
25
+ import { CleanFormattingToolProps } from './cleanFormatting.js';
26
+ import { FindAndReplace as FindAndReplaceTool, FindAndReplaceProps as FindAndReplaceToolProps } from './findReplace.js';
27
+ import { ButtonProps } from '@progress/kendo-react-buttons';
28
+ import { TableCellPropertiesProps as TableCellPropertiesToolProps } from './table-wizard/tableCellProperties.js';
29
+ import { TablePropertiesProps as TablePropertiesToolProps } from './table-wizard/tableProperties.js';
30
+ import * as React from 'react';
31
+ /**
32
+ * Represents a wrapping namespace for the tool components, props, and functions of the Editor.
33
+ */
34
+ export declare namespace EditorTools {
35
+ /**
36
+ * The props for the Align tool component of the Editor.
37
+ */
38
+ export interface AlignToolProps extends ToolProps {
39
+ }
40
+ /**
41
+ * The props for the AlignLeft tool component of the Editor.
42
+ */
43
+ export interface AlignLeftProps extends AlignToolProps {
44
+ }
45
+ /**
46
+ * The props for the AlignRight tool component of the Editor.
47
+ */
48
+ export interface AlignRightProps extends AlignToolProps {
49
+ }
50
+ /**
51
+ * The props for the AlignCenter tool component of the Editor.
52
+ */
53
+ export interface AlignCenterProps extends AlignToolProps {
54
+ }
55
+ /**
56
+ * The props for the AlignJustify tool component of the Editor.
57
+ */
58
+ export interface AlignJustifyProps extends AlignToolProps {
59
+ }
60
+ /**
61
+ * Creates the Align tool component of the Editor.
62
+ *
63
+ * @param {AlignSettings} settings
64
+ * @returns {React.ComponentClass<AlignToolProps>} - Editor's Align tool component.
65
+ */
66
+ export function createAlignTool(settings: EditorToolsSettings.AlignSettings): React.ComponentClass<AlignToolProps, React.ComponentState>;
67
+ const AlignLeft_base: React.ComponentClass<AlignToolProps, any>;
68
+ /**
69
+ * The AlignLeft tool component.
70
+ */
71
+ export class AlignLeft extends AlignLeft_base {
72
+ }
73
+ const AlignRight_base: React.ComponentClass<AlignToolProps, any>;
74
+ /**
75
+ * The AlignRight tool component.
76
+ */
77
+ export class AlignRight extends AlignRight_base {
78
+ }
79
+ const AlignCenter_base: React.ComponentClass<AlignToolProps, any>;
80
+ /**
81
+ * The AlignCenter tool component.
82
+ */
83
+ export class AlignCenter extends AlignCenter_base {
84
+ }
85
+ const AlignJustify_base: React.ComponentClass<AlignToolProps, any>;
86
+ /**
87
+ * The AlignJustify tool component.
88
+ */
89
+ export class AlignJustify extends AlignJustify_base {
90
+ }
91
+ /**
92
+ * The props for the InsertTable tool component of the Editor.
93
+ */
94
+ export interface InsertTableProps extends InsertTableToolNS.InsertTableProps {
95
+ }
96
+ /**
97
+ * Creates the InsertTable tool component of the Editor.
98
+ *
99
+ * @param {InsertTableSettings} - The settings of the InsertTable tool.
100
+ * @returns {React.ComponentClass<InsertTableProps>} - The InsertTable tool component of the Editor.
101
+ */
102
+ export function createInsertTableTool(settings: EditorToolsSettings.InsertTableSettings): React.ComponentClass<InsertTableProps>;
103
+ const InsertTable_base: React.ComponentClass<InsertTableProps, any>;
104
+ /**
105
+ * The InsertTable tool component.
106
+ */
107
+ export class InsertTable extends InsertTable_base {
108
+ }
109
+ /**
110
+ * The props of the `InsertTablePopup` component.
111
+ */
112
+ export interface InsertTablePopupProps extends InsertTablePopupNS.InsertTablePopupProps {
113
+ }
114
+ /**
115
+ * The `InsertTablePopup` component.
116
+ */
117
+ export class InsertTablePopup extends InsertTablePopupNS.InsertTablePopup {
118
+ }
119
+ /**
120
+ * The props for the DropDownList tool component for inline styling of the Editor.
121
+ */
122
+ export interface DropDownListToolProps extends FontStyleToolNS.DropDownListToolProps {
123
+ }
124
+ /**
125
+ * The props for the FontSize tool component of the Editor.
126
+ */
127
+ export interface FontSizeProps extends FontStyleToolNS.DropDownListToolProps {
128
+ }
129
+ /**
130
+ * The props for the FontName tool component of the Editor.
131
+ */
132
+ export interface FontNameProps extends FontStyleToolNS.DropDownListToolProps {
133
+ }
134
+ /**
135
+ * Creates the DropDownList tool component of the Editor which applies inline styles to inline HTML elements.
136
+ *
137
+ * @param {StyleDropDownListSettings} settings
138
+ * @returns {React.ComponentClass<DropDownListToolProps>} - The DropDownList tool component of the Editor.
139
+ */
140
+ export function createStyleDropDownList(settings: EditorToolsSettings.StyleDropDownListSettings): React.ComponentClass<DropDownListToolProps, React.ComponentState>;
141
+ const FontSize_base: React.ComponentClass<DropDownListToolProps, any>;
142
+ /**
143
+ * The FontSize tool component.
144
+ */
145
+ export class FontSize extends FontSize_base {
146
+ }
147
+ const FontName_base: React.ComponentClass<DropDownListToolProps, any>;
148
+ /**
149
+ * The FontName tool component.
150
+ */
151
+ export class FontName extends FontName_base {
152
+ }
153
+ /**
154
+ * The props for the ForeColor tool component of the Editor.
155
+ */
156
+ export interface ForeColorProps extends ApplyColorToolProps {
157
+ }
158
+ /**
159
+ * The props for the BackColor tool component of the Editor.
160
+ */
161
+ export interface BackColorProps extends ApplyColorToolProps {
162
+ }
163
+ /**
164
+ * The ForeColor tool component.
165
+ */
166
+ export const ForeColor: React.FunctionComponent<ForeColorProps>;
167
+ /**
168
+ * The BackColor tool component.
169
+ */
170
+ export const BackColor: React.FunctionComponent<BackColorProps>;
171
+ /**
172
+ * The props for the FormatBlock tool component of the Editor.
173
+ */
174
+ export interface FormatBlockProps extends FormatBlockToolNS.FormatBlockProps {
175
+ }
176
+ /**
177
+ * Creates the FormatBlock tool component of the Editor.
178
+ *
179
+ * @param {FormatBlockDropDownListSettings} settings
180
+ * @returns {React.ComponentClass<FormatBlockProps>} - The FormatBlock tool component of the Editor.
181
+ */
182
+ export function createFormatBlockDropDownList(settings: EditorToolsSettings.FormatBlockDropDownListSettings): React.ComponentClass<FormatBlockProps, React.ComponentState>;
183
+ const FormatBlock_base: React.ComponentClass<FormatBlockProps, any>;
184
+ /**
185
+ * The FormatBlock tool component.
186
+ */
187
+ export class FormatBlock extends FormatBlock_base {
188
+ }
189
+ /**
190
+ * The props for the Undo tool component of the Editor.
191
+ */
192
+ export interface UndoProps extends HistoryToolNS.UndoProps {
193
+ }
194
+ /**
195
+ * The props for the Redo tool component of the Editor.
196
+ */
197
+ export interface RedoProps extends HistoryToolNS.RedoProps {
198
+ }
199
+ /**
200
+ * Creates the Undo tool component of the Editor.
201
+ *
202
+ * @param {ToolSettings} settings
203
+ * @returns {React.ComponentClass<UndoProps>} - The Undo tool component of the Editor.
204
+ */
205
+ export function createUndoTool(settings: EditorToolsSettings.ToolSettings): React.ComponentClass<ToolProps, React.ComponentState>;
206
+ /**
207
+ * Creates the Redo tool component of the Editor.
208
+ *
209
+ * @param {ToolSettings} settings
210
+ * @returns {React.ComponentClass<RedoProps>} - The Redo tool component of the Editor.
211
+ */
212
+ export function createRedoTool(settings: EditorToolsSettings.ToolSettings): React.ComponentClass<ToolProps, React.ComponentState>;
213
+ const Undo_base: React.ComponentClass<ToolProps, any>;
214
+ /**
215
+ * The Undo tool component of the Editor.
216
+ */
217
+ export class Undo extends Undo_base {
218
+ }
219
+ const Redo_base: React.ComponentClass<ToolProps, any>;
220
+ /**
221
+ * The Redo tool component of the Editor.
222
+ */
223
+ export class Redo extends Redo_base {
224
+ }
225
+ /**
226
+ * The props for the Indent tool component of the Editor.
227
+ */
228
+ export interface IndentProps extends IndentToolNS.IndentProps {
229
+ }
230
+ /**
231
+ * Creates the Indent tool component of the Editor.
232
+ *
233
+ * @param {IndentationSettings} settings
234
+ * @returns {React.ComponentClass<IndentProps>} - The Indent tool component of the Editor.
235
+ */
236
+ export function createIndentTool(settings: EditorToolsSettings.IndentationSettings): React.ComponentClass<IndentProps, React.ComponentState>;
237
+ const Indent_base: React.ComponentClass<IndentProps, any>;
238
+ /**
239
+ * The Indent tool component.
240
+ */
241
+ export class Indent extends Indent_base {
242
+ }
243
+ /**
244
+ * The props for the InlineFormat tool component of the Editor.
245
+ */
246
+ export interface InlineFormatToolProps extends InlineFormatToolNS.InlineFormatToolProps {
247
+ }
248
+ /**
249
+ * The props for the Bold tool component of the Editor.
250
+ */
251
+ export interface BoldProps extends InlineFormatToolNS.BoldProps {
252
+ }
253
+ /**
254
+ * The props for the Italic tool component of the Editor.
255
+ */
256
+ export interface ItalicProps extends InlineFormatToolNS.ItalicProps {
257
+ }
258
+ /**
259
+ * The props for the Underline tool component of the Editor.
260
+ */
261
+ export interface UnderlineProps extends InlineFormatToolNS.UnderlineProps {
262
+ }
263
+ /**
264
+ * The props for the Strikethrough tool component of the Editor.
265
+ */
266
+ export interface StrikethroughProps extends InlineFormatToolNS.StrikethroughProps {
267
+ }
268
+ /**
269
+ * The props for the Subscript tool component of the Editor.
270
+ */
271
+ export interface SubscriptProps extends InlineFormatToolNS.SubscriptProps {
272
+ }
273
+ /**
274
+ * The props for the Superscript tool component of the Editor.
275
+ */
276
+ export interface SuperscriptProps extends InlineFormatToolNS.SuperscriptProps {
277
+ }
278
+ /**
279
+ * Creates the InlineFormat tool component of the Editor.
280
+ *
281
+ * @param {InlineFormatSettings} settings
282
+ * @returns {React.ComponentClass<InlineFormatToolProps>} - Editor's InlineFormat tool component.
283
+ */
284
+ export function createInlineFormatTool(settings: EditorToolsSettings.InlineFormatSettings): React.ComponentClass<InlineFormatToolProps, React.ComponentState>;
285
+ const Bold_base: React.ComponentClass<InlineFormatToolProps, any>;
286
+ /**
287
+ * The Bold tool component.
288
+ */
289
+ export class Bold extends Bold_base {
290
+ }
291
+ const Italic_base: React.ComponentClass<InlineFormatToolProps, any>;
292
+ /**
293
+ * The Italic tool component.
294
+ */
295
+ export class Italic extends Italic_base {
296
+ }
297
+ const Underline_base: React.ComponentClass<InlineFormatToolProps, any>;
298
+ /**
299
+ * The Underline tool component.
300
+ */
301
+ export class Underline extends Underline_base {
302
+ }
303
+ const Strikethrough_base: React.ComponentClass<InlineFormatToolProps, any>;
304
+ /**
305
+ * The Strikethrough tool component.
306
+ */
307
+ export class Strikethrough extends Strikethrough_base {
308
+ }
309
+ const Subscript_base: React.ComponentClass<InlineFormatToolProps, any>;
310
+ /**
311
+ * The Subscript tool component.
312
+ */
313
+ export class Subscript extends Subscript_base {
314
+ }
315
+ const Superscript_base: React.ComponentClass<InlineFormatToolProps, any>;
316
+ /**
317
+ * The Superscript tool component.
318
+ */
319
+ export class Superscript extends Superscript_base {
320
+ }
321
+ /**
322
+ * The props for the InsertImage tool component of the Editor.
323
+ */
324
+ export interface InsertImageProps extends BasicToolProps, ToolWithDialogRenderProp, ButtonProps {
325
+ }
326
+ /**
327
+ * Creates the InsertImage tool component of the Editor.
328
+ *
329
+ * @param {ImageSettings} settings
330
+ * @returns {React.ComponentClass<InsertImageProps>} - The InsertImage tool component of the Editor.
331
+ */
332
+ export function createInsertImageTool(settings: EditorToolsSettings.ImageSettings): React.ComponentClass<InsertImageProps>;
333
+ const InsertImage_base: React.ComponentClass<InsertImageProps, any>;
334
+ /**
335
+ * The InsertImage tool component.
336
+ */
337
+ export class InsertImage extends InsertImage_base {
338
+ }
339
+ /**
340
+ * The props for the Link tool component of the Editor.
341
+ */
342
+ export interface LinkProps extends LinkToolNS.LinkProps {
343
+ }
344
+ /**
345
+ * Creates the Link tool component of the Editor.
346
+ *
347
+ * @param {LinkSettings} settings
348
+ * @returns {React.ComponentClass<LinkProps>} - The Link tool component of the Editor.
349
+ */
350
+ export function createLinkTool(settings: EditorToolsSettings.LinkSettings): React.ComponentClass<LinkProps>;
351
+ const Link_base: React.ComponentClass<LinkProps, any>;
352
+ /**
353
+ * The Link tool component.
354
+ */
355
+ export class Link extends Link_base {
356
+ }
357
+ const InsertFile_base: React.ComponentClass<LinkProps, any>;
358
+ /**
359
+ * The InsertFile tool component.
360
+ */
361
+ export class InsertFile extends InsertFile_base {
362
+ }
363
+ /**
364
+ * The base interface of `OrderedListProps` and `UnorderedListProps`.
365
+ */
366
+ export interface ListToolProps extends ListToolNS.ListToolProps {
367
+ }
368
+ /**
369
+ * The props for the OrderedList tool component of the Editor.
370
+ */
371
+ export interface OrderedListProps extends ListToolNS.OrderedListProps {
372
+ }
373
+ /**
374
+ * The props for the UnorderedList tool component of the Editor.
375
+ */
376
+ export interface UnorderedListProps extends ListToolNS.UnorderedListProps {
377
+ }
378
+ /**
379
+ * Creates the List tool component of the Editor.
380
+ *
381
+ * @param {ToolSettings} settings
382
+ * @returns {React.ComponentClass<ListToolProps>} - The List tool component of the Editor.
383
+ */
384
+ export function createListTool(settings: EditorToolsSettings.ListSettings): React.ComponentClass<ListToolProps, React.ComponentState>;
385
+ const OrderedList_base: React.ComponentClass<ListToolProps, any>;
386
+ /**
387
+ * The basic OrderedList tool component. Will render a button which applies `<ol>` HTML element.
388
+ */
389
+ export class OrderedList extends OrderedList_base {
390
+ }
391
+ const UnorderedList_base: React.ComponentClass<ListToolProps, any>;
392
+ /**
393
+ * The basic UnorderedList tool component. Will render a button which applies `<ul>` HTML element.
394
+ */
395
+ export class UnorderedList extends UnorderedList_base {
396
+ }
397
+ /**
398
+ * The BulletedList tool component.
399
+ * Will render a SplitButton which applies `<ol>` HTML element with predefined styles - disc and square.
400
+ */
401
+ export const BulletedList: (props: any) => React.JSX.Element;
402
+ /**
403
+ * The NumberedList tool component.
404
+ * Will render a SplitButton which applies `<ul>` HTML element with predefined styles - upper-roman, lower-roman, upper-latin and lower-latin.
405
+ */
406
+ export const NumberedList: (props: any) => React.JSX.Element;
407
+ /**
408
+ * The TableCellProperties tool component.
409
+ */
410
+ export const TableCellProperties: React.FunctionComponent<TableCellPropertiesToolProps>;
411
+ /**
412
+ * The props for the TableCellProperties tool component of the Editor.
413
+ */
414
+ export interface TableCellPropertiesProps extends TableCellPropertiesToolProps {
415
+ }
416
+ /**
417
+ * The TableProperties tool component.
418
+ */
419
+ export const TableProperties: React.FunctionComponent<TablePropertiesToolProps>;
420
+ /**
421
+ * The props for the TableProperties tool component of the Editor.
422
+ */
423
+ export interface TablePropertiesProps extends TablePropertiesToolProps {
424
+ }
425
+ /**
426
+ * The props for the Outdent tool component of the Editor.
427
+ */
428
+ export interface OutdentProps extends IndentToolNS.IndentProps {
429
+ }
430
+ /**
431
+ * Creates the Outdent tool component of the Editor.
432
+ *
433
+ * @param {IndentationSettings} settings
434
+ * @returns {React.ComponentClass<OutdentProps>} - The Outdent tool component of the Editor.
435
+ */
436
+ export function createOutdentTool(settings: EditorToolsSettings.IndentationSettings): React.ComponentClass<OutdentProps, React.ComponentState>;
437
+ const Outdent_base: React.ComponentClass<OutdentProps, any>;
438
+ /**
439
+ * The Outdent tool component.
440
+ */
441
+ export class Outdent extends Outdent_base {
442
+ }
443
+ /**
444
+ * The props for the Print tool component of the Editor.
445
+ */
446
+ export interface PrintProps extends PrintToolProps {
447
+ }
448
+ /**
449
+ * The Print tool component.
450
+ * Designed to work only if Editor's defaultEditMode prop is set to 'iframe'.
451
+ */
452
+ export const Print: React.FunctionComponent<PrintProps>;
453
+ /**
454
+ * The props for the Export to PDF tool component of the Editor.
455
+ */
456
+ export interface PdfProps extends PdfToolProps {
457
+ }
458
+ /**
459
+ * The Export to PDF tool component.
460
+ *
461
+ * To modify the default PDF export options, see the following example:
462
+ *
463
+ * @example
464
+ * ```jsx-no-run
465
+ * import { Editor, EditorTools } from '@progress/kendo-react-editor';
466
+ * const { Bold, Italic, Pdf } = EditorTools;
467
+ *
468
+ * const PdfTool = (props: EditorTools.PdfProps) => (
469
+ * <Pdf
470
+ * {...props}
471
+ * // https://www.telerik.com/kendo-react-ui/components/pdfprocessing/api/PDFExportProps/
472
+ * savePdfOptions={{
473
+ * fileName: 'editor-export.pdf',
474
+ * paperSize: 'A5',
475
+ * margin: '1cm'
476
+ * }}
477
+ * />
478
+ * );
479
+ *
480
+ * const App = () => (
481
+ * <Editor
482
+ * tools={[[ Bold, Italic, PdfTool ]]}
483
+ * contentStyle={{ height: 100 }}
484
+ * defaultContent="<p>text</p>"
485
+ * />
486
+ * );
487
+ * ```
488
+ */
489
+ export const Pdf: React.FunctionComponent<PdfProps>;
490
+ /**
491
+ * The props for the SelectAll tool component of the Editor.
492
+ */
493
+ export interface SelectAllProps extends SelectAllToolProps {
494
+ }
495
+ /**
496
+ * The SelectAll tool component.
497
+ */
498
+ export const SelectAll: React.FunctionComponent<SelectAllProps>;
499
+ /**
500
+ * The props for the CleanFormatting tool component of the Editor.
501
+ */
502
+ export interface CleanFormattingProps extends CleanFormattingToolProps {
503
+ }
504
+ /**
505
+ * The CleanFormatting tool component.
506
+ */
507
+ export const CleanFormatting: React.FunctionComponent<CleanFormattingProps>;
508
+ /**
509
+ * The props for the AddRowBefore tool component of the Editor.
510
+ */
511
+ export interface AddRowBeforeProps extends TableEditNS.AddRowBeforeProps {
512
+ }
513
+ /**
514
+ * The props for the AddRowAfter tool component of the Editor.
515
+ */
516
+ export interface AddRowAfterProps extends TableEditNS.AddRowAfterProps {
517
+ }
518
+ /**
519
+ * The props for the AddColumnBefore tool component of the Editor.
520
+ */
521
+ export interface AddColumnBeforeProps extends TableEditNS.AddColumnBeforeProps {
522
+ }
523
+ /**
524
+ * The props for the AddColumnAfter tool component of the Editor.
525
+ */
526
+ export interface AddColumnAfterProps extends TableEditNS.AddColumnAfterProps {
527
+ }
528
+ /**
529
+ * The props for the DeleteRow tool component of the Editor.
530
+ */
531
+ export interface DeleteRowProps extends TableEditNS.DeleteRowProps {
532
+ }
533
+ /**
534
+ * The props for the DeleteColumn tool component of the Editor.
535
+ */
536
+ export interface DeleteColumnProps extends TableEditNS.DeleteColumnProps {
537
+ }
538
+ /**
539
+ * The props for the DeleteTable tool component of the Editor.
540
+ */
541
+ export interface DeleteTableProps extends TableEditNS.DeleteTableProps {
542
+ }
543
+ /**
544
+ * The props for the MergeCells tool component of the Editor.
545
+ */
546
+ export interface MergeCellsProps extends TableEditNS.MergeCellsProps {
547
+ }
548
+ /**
549
+ * The props for the SplitCell tool component of the Editor.
550
+ */
551
+ export interface SplitCellProps extends TableEditNS.SplitCellProps {
552
+ }
553
+ /**
554
+ * Creates the AddRowBefore tool component of the Editor.
555
+ *
556
+ * @param {ToolSettings} - The settings of the AddRowBefore tool.
557
+ * @returns {React.ComponentClass<AddRowBeforeProps>} - The AddRowBefore tool component of the Editor.
558
+ */
559
+ export function createAddRowBeforeTool(settings: EditorToolsSettings.ToolSettings): React.ComponentClass<ToolProps, React.ComponentState>;
560
+ /**
561
+ * Creates the AddRowAfter tool component of the Editor.
562
+ *
563
+ * @param {ToolSettings} - The settings of the AddRowAfter tool.
564
+ * @returns {React.ComponentClass<AddRowAfterProps>} - The AddRowAfter tool component of the Editor.
565
+ */
566
+ export function createAddRowAfterTool(settings: EditorToolsSettings.ToolSettings): React.ComponentClass<ToolProps, React.ComponentState>;
567
+ /**
568
+ * Creates the AddColumnBefore tool component of the Editor.
569
+ *
570
+ * @param {ToolSettings} - The settings of the AddColumnBefore tool.
571
+ * @returns {React.ComponentClass<AddColumnBeforeProps>} - The AddColumnBefore tool component of the Editor.
572
+ */
573
+ export function createAddColumnBeforeTool(settings: EditorToolsSettings.ToolSettings): React.ComponentClass<ToolProps, React.ComponentState>;
574
+ /**
575
+ * Creates the AddColumnAfter tool component of the Editor.
576
+ *
577
+ * @param {ToolSettings} - The settings of the AddColumnAfter tool.
578
+ * @returns {React.ComponentClass<AddColumnAfterProps>} - The AddColumnAfter tool component of the Editor.
579
+ */
580
+ export function createAddColumnAfterTool(settings: EditorToolsSettings.ToolSettings): React.ComponentClass<ToolProps, React.ComponentState>;
581
+ /**
582
+ * Creates the DeleteRow tool component of the Editor.
583
+ *
584
+ * @param {ToolSettings} - The settings of the DeleteRow tool.
585
+ * @returns {React.ComponentClass<DeleteRowProps>} - The DeleteRow tool component of the Editor.
586
+ */
587
+ export function createDeleteRowTool(settings: EditorToolsSettings.ToolSettings): React.ComponentClass<ToolProps, React.ComponentState>;
588
+ /**
589
+ * Creates the DeleteColumn tool component of the Editor.
590
+ *
591
+ * @param {ToolSettings} - The settings of the DeleteColumn tool.
592
+ * @returns {React.ComponentClass<DeleteColumnProps>} - The DeleteColumn tool component of the Editor.
593
+ */
594
+ export function createDeleteColumnTool(settings: EditorToolsSettings.ToolSettings): React.ComponentClass<ToolProps, React.ComponentState>;
595
+ /**
596
+ * Creates the DeleteTable tool component of the Editor.
597
+ *
598
+ * @param {ToolSettings} - The settings of the DeleteTable tool.
599
+ * @returns {React.ComponentClass<DeleteTableProps>} - The DeleteTable tool component of the Editor.
600
+ */
601
+ export function createDeleteTableTool(settings: EditorToolsSettings.ToolSettings): React.ComponentClass<ToolProps, React.ComponentState>;
602
+ /**
603
+ * Creates the MergeCells tool component of the Editor.
604
+ *
605
+ * @param {ToolSettings} - The settings of the MergeCells tool
606
+ * @returns {React.ComponentClass<MergeCellsProps>} - The MergeCells tool component of the Editor.
607
+ */
608
+ export function createMergeCellsTool(settings: EditorToolsSettings.ToolSettings): React.ComponentClass<ToolProps, React.ComponentState>;
609
+ /**
610
+ * Creates the SplitCell tool component of the Editor.
611
+ *
612
+ * @param {ToolSettings} - The settings of the SplitCell tool.
613
+ * @returns {React.ComponentClass<SplitCellProps>} - The SplitCell tool component of the Editor.
614
+ */
615
+ export function createSplitCellTool(settings: EditorToolsSettings.ToolSettings): React.ComponentClass<ToolProps, React.ComponentState>;
616
+ const AddRowBefore_base: React.ComponentClass<ToolProps, any>;
617
+ /**
618
+ * The AddRowBefore tool component.
619
+ */
620
+ export class AddRowBefore extends AddRowBefore_base {
621
+ }
622
+ const AddRowAfter_base: React.ComponentClass<ToolProps, any>;
623
+ /**
624
+ * The AddRowAfter tool component.
625
+ */
626
+ export class AddRowAfter extends AddRowAfter_base {
627
+ }
628
+ const AddColumnBefore_base: React.ComponentClass<ToolProps, any>;
629
+ /**
630
+ * The AddColumnBefore tool component.
631
+ */
632
+ export class AddColumnBefore extends AddColumnBefore_base {
633
+ }
634
+ const AddColumnAfter_base: React.ComponentClass<ToolProps, any>;
635
+ /**
636
+ * The AddColumnAfter tool component.
637
+ */
638
+ export class AddColumnAfter extends AddColumnAfter_base {
639
+ }
640
+ const DeleteRow_base: React.ComponentClass<ToolProps, any>;
641
+ /**
642
+ * The DeleteRow tool component.
643
+ */
644
+ export class DeleteRow extends DeleteRow_base {
645
+ }
646
+ const DeleteColumn_base: React.ComponentClass<ToolProps, any>;
647
+ /**
648
+ * The DeleteColumn tool component.
649
+ */
650
+ export class DeleteColumn extends DeleteColumn_base {
651
+ }
652
+ const DeleteTable_base: React.ComponentClass<ToolProps, any>;
653
+ /**
654
+ * The DeleteTable tool component.
655
+ */
656
+ export class DeleteTable extends DeleteTable_base {
657
+ }
658
+ const MergeCells_base: React.ComponentClass<ToolProps, any>;
659
+ /**
660
+ * The MergeCells tool component.
661
+ */
662
+ export class MergeCells extends MergeCells_base {
663
+ }
664
+ const SplitCell_base: React.ComponentClass<ToolProps, any>;
665
+ /**
666
+ * The SplitCell tool component.
667
+ */
668
+ export class SplitCell extends SplitCell_base {
669
+ }
670
+ /**
671
+ * The props for the Unlink tool component of the Editor.
672
+ */
673
+ export interface UnlinkProps extends UnlinkToolNS.UnlinkProps {
674
+ }
675
+ /**
676
+ * Creates the Unlink tool component of the Editor.
677
+ *
678
+ * @param {UnlinkSettings} settings
679
+ * @returns {React.ComponentClass<UnlinkProps>} - The Unlink tool component of the Editor.
680
+ */
681
+ export function createUnlinkTool(settings: EditorToolsSettings.UnlinkSettings): React.ComponentClass<UnlinkProps, React.ComponentState>;
682
+ const Unlink_base: React.ComponentClass<UnlinkProps, any>;
683
+ /**
684
+ * The Unlink tool component.
685
+ */
686
+ export class Unlink extends Unlink_base {
687
+ }
688
+ /**
689
+ * The props for the ViewHtml tool component of the Editor.
690
+ */
691
+ export interface ViewHtmlProps extends ViewHtmlToolNS.ViewHtmlProps {
692
+ }
693
+ /**
694
+ * Creates the ViewHtml tool component of the Editor.
695
+ *
696
+ * @param {ViewHtmlSettings} settings
697
+ * @returns {React.ComponentClass<ViewHtmlProps>} - The ViewHtml tool component of the Editor.
698
+ */
699
+ export function createViewHtmlTool(settings: EditorToolsSettings.ViewHtmlSettings): React.ComponentClass<ViewHtmlProps>;
700
+ const ViewHtml_base: React.ComponentClass<ViewHtmlProps, any>;
701
+ /**
702
+ * The ViewHtml tool component.
703
+ */
704
+ export class ViewHtml extends ViewHtml_base {
705
+ }
706
+ /**
707
+ * The FindAndReplace tool component.
708
+ */
709
+ export class FindAndReplace extends FindAndReplaceTool {
710
+ }
711
+ /**
712
+ * The props for the FindAndReplace tool component of the Editor.
713
+ */
714
+ export interface FindAndReplaceProps extends FindAndReplaceToolProps {
715
+ }
716
+ export {};
717
+ }