@progress/kendo-react-editor 5.4.0-dev.202205200719 → 5.4.0-dev.202206061009

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