@progress/kendo-angular-editor 24.2.2 → 25.0.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 (100) hide show
  1. package/fesm2022/progress-kendo-angular-editor.mjs +192 -192
  2. package/index.d.ts +2173 -67
  3. package/package-metadata.mjs +2 -2
  4. package/package.json +20 -20
  5. package/schematics/ngAdd/index.js +4 -4
  6. package/common/active-marks.d.ts +0 -12
  7. package/common/apply-to-word-options.d.ts +0 -26
  8. package/common/commands.d.ts +0 -41
  9. package/common/css-settings.interface.d.ts +0 -30
  10. package/common/direction.d.ts +0 -8
  11. package/common/error-messages.d.ts +0 -8
  12. package/common/font-family-item.interface.d.ts +0 -25
  13. package/common/font-size-item.interface.d.ts +0 -25
  14. package/common/format-item.interface.d.ts +0 -25
  15. package/common/image-data.interface.d.ts +0 -13
  16. package/common/link-data.interface.d.ts +0 -13
  17. package/common/paste-cleanup-settings.d.ts +0 -64
  18. package/common/plugins-function.d.ts +0 -18
  19. package/common/predicate.d.ts +0 -9
  20. package/common/provider.service.d.ts +0 -14
  21. package/common/resizable-options.interface.d.ts +0 -35
  22. package/common/styles.d.ts +0 -16
  23. package/common/table-data.interface.d.ts +0 -11
  24. package/config/command-icons.d.ts +0 -13
  25. package/config/commands.d.ts +0 -9
  26. package/config/indent-rules.d.ts +0 -33
  27. package/config/schema.d.ts +0 -13
  28. package/config/semantic-nodes.d.ts +0 -12
  29. package/config/table-commands.d.ts +0 -10
  30. package/config/utils.d.ts +0 -73
  31. package/dialogs/colorpicker-dialog.component.d.ts +0 -36
  32. package/dialogs/file-link-dialog.component.d.ts +0 -33
  33. package/dialogs/font-family-dialog.component.d.ts +0 -31
  34. package/dialogs/font-size-dialog.component.d.ts +0 -31
  35. package/dialogs/format-dialog.component.d.ts +0 -31
  36. package/dialogs/image-dialog.component.d.ts +0 -40
  37. package/dialogs/insert-table-dialog.component.d.ts +0 -24
  38. package/dialogs/source-dialog.component.d.ts +0 -27
  39. package/directives.d.ts +0 -51
  40. package/editor-toolbar-state.d.ts +0 -20
  41. package/editor.component.d.ts +0 -277
  42. package/editor.module.d.ts +0 -73
  43. package/localization/custom-messages.component.d.ts +0 -27
  44. package/localization/editor-localization.service.d.ts +0 -14
  45. package/localization/localized-messages.directive.d.ts +0 -16
  46. package/localization/messages.d.ts +0 -242
  47. package/package-metadata.d.ts +0 -9
  48. package/preventable-events/paste-event.d.ts +0 -27
  49. package/preventable-events/preventable-event.d.ts +0 -21
  50. package/tools/alignment/editor-align-center-button.directive.d.ts +0 -28
  51. package/tools/alignment/editor-align-justify-button.directive.d.ts +0 -28
  52. package/tools/alignment/editor-align-left-button.directive.d.ts +0 -28
  53. package/tools/alignment/editor-align-right-button.directive.d.ts +0 -28
  54. package/tools/blockquote/editor-blockquote-button.directive.d.ts +0 -26
  55. package/tools/colorpicker/editor-back-color.directive.d.ts +0 -26
  56. package/tools/colorpicker/editor-colorpicker.component.d.ts +0 -129
  57. package/tools/colorpicker/editor-fore-color.directive.d.ts +0 -22
  58. package/tools/editor-clean-formatting-button.directive.d.ts +0 -27
  59. package/tools/fontfamily/editor-fontfamily-dropdownlist.component.d.ts +0 -27
  60. package/tools/fontfamily/editor-fontfamily.component.d.ts +0 -91
  61. package/tools/fontsize/editor-fontsize-dropdownlist.component.d.ts +0 -27
  62. package/tools/fontsize/editor-fontsize.component.d.ts +0 -91
  63. package/tools/format/editor-format-dropdownlist.component.d.ts +0 -27
  64. package/tools/format/editor-format.component.d.ts +0 -83
  65. package/tools/history/editor-redo-button.directive.d.ts +0 -28
  66. package/tools/history/editor-undo-button.directive.d.ts +0 -28
  67. package/tools/image/editor-insert-image-button.directive.d.ts +0 -27
  68. package/tools/indentation/editor-indent-button.directive.d.ts +0 -27
  69. package/tools/indentation/editor-outdent-button.directive.d.ts +0 -27
  70. package/tools/link/editor-create-link-button.directive.d.ts +0 -27
  71. package/tools/link/editor-insert-file-button.directive.d.ts +0 -26
  72. package/tools/link/editor-unlink-button.directive.d.ts +0 -27
  73. package/tools/list/editor-insert-ordered-list-button.directive.d.ts +0 -27
  74. package/tools/list/editor-insert-unordered-list-button.directive.d.ts +0 -28
  75. package/tools/print/editor-print-button.directive.d.ts +0 -31
  76. package/tools/select-all/select-all-button.directive.d.ts +0 -28
  77. package/tools/shared/dropdown-tool.directive.d.ts +0 -20
  78. package/tools/shared/editor-command-base.d.ts +0 -31
  79. package/tools/shared/editor-command-button.d.ts +0 -24
  80. package/tools/shared/editor-command-dialog.d.ts +0 -23
  81. package/tools/source/editor-view-source-button.directive.d.ts +0 -27
  82. package/tools/tables/editor-add-column-after-button.directive.d.ts +0 -28
  83. package/tools/tables/editor-add-column-before-button.directive.d.ts +0 -28
  84. package/tools/tables/editor-add-row-after-button.directive.d.ts +0 -28
  85. package/tools/tables/editor-add-row-before-button.directive.d.ts +0 -28
  86. package/tools/tables/editor-delete-column-button.directive.d.ts +0 -28
  87. package/tools/tables/editor-delete-row-button.directive.d.ts +0 -28
  88. package/tools/tables/editor-delete-table-button.directive.d.ts +0 -28
  89. package/tools/tables/editor-insert-table-button.component.d.ts +0 -87
  90. package/tools/tables/editor-merge-cells-button.directive.d.ts +0 -30
  91. package/tools/tables/editor-split-cell-button.directive.d.ts +0 -30
  92. package/tools/tables/popup-table-grid.component.d.ts +0 -31
  93. package/tools/tools.service.d.ts +0 -17
  94. package/tools/typographical-emphasis/editor-bold-button.directive.d.ts +0 -28
  95. package/tools/typographical-emphasis/editor-italic-button.directive.d.ts +0 -28
  96. package/tools/typographical-emphasis/editor-strikethrough-button.directive.d.ts +0 -28
  97. package/tools/typographical-emphasis/editor-subscript-button.directive.d.ts +0 -28
  98. package/tools/typographical-emphasis/editor-superscript-button.directive.d.ts +0 -28
  99. package/tools/typographical-emphasis/editor-underline-button.directive.d.ts +0 -28
  100. package/util.d.ts +0 -96
package/index.d.ts CHANGED
@@ -2,70 +2,2176 @@
2
2
  * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
- export { EditorComponent } from './editor.component';
6
- export { EditorModule } from './editor.module';
7
- export { schema } from './config/schema';
8
- export { Schema } from '@progress/kendo-editor-common';
9
- export { EditorState, Plugin, PluginKey, Transaction, EditorView, Decoration, DecorationSet, NodeType, Node, MarkType, Mark, InputRule, inputRules, wrappingInputRule, textblockTypeInputRule, keymap, baseKeymap, history, dropCursor, gapCursor, tableNodes, NodeSpec, MarkSpec, TextSelection, NodeSelection, CellSelection, AllSelection, flattenNestedSpans } from '@progress/kendo-editor-common';
10
- export { getSelectionText } from './util';
11
- export { PluginsFn } from './common/plugins-function';
12
- export { ApplyToWordOptions } from './common/apply-to-word-options';
13
- export { EditorResizableOptions } from './common/resizable-options.interface';
14
- export { FontSizeItem } from './common/font-size-item.interface';
15
- export { FontFamilyItem } from './common/font-family-item.interface';
16
- export { EditorPasteEvent } from './preventable-events/paste-event';
17
- export { PasteCleanupSettings } from './common/paste-cleanup-settings';
18
- export { EditorCommand, DialogCommand } from './common/commands';
19
- export { FormatItem } from './common/format-item.interface';
20
- export { PopupTableGridComponent } from './tools/tables/popup-table-grid.component';
21
- export { FormatDropDownListComponent } from './tools/format/editor-format-dropdownlist.component';
22
- export { FontFamilyDropDownListComponent } from './tools/fontfamily/editor-fontfamily-dropdownlist.component';
23
- export { FontSizeDropDownListComponent } from './tools/fontsize/editor-fontsize-dropdownlist.component';
24
- export { EditorFormatComponent } from './tools/format/editor-format.component';
25
- export { EditorFontSizeComponent } from './tools/fontsize/editor-fontsize.component';
26
- export { EditorFontFamilyComponent } from './tools/fontfamily/editor-fontfamily.component';
27
- export { EditorColorPickerComponent } from './tools/colorpicker/editor-colorpicker.component';
28
- export { EditorInsertTableButtonComponent } from './tools/tables/editor-insert-table-button.component';
29
- export { EditorAlignLeftButtonDirective } from './tools/alignment/editor-align-left-button.directive';
30
- export { EditorAlignCenterButtonDirective } from './tools/alignment/editor-align-center-button.directive';
31
- export { EditorAlignRightButtonDirective } from './tools/alignment/editor-align-right-button.directive';
32
- export { EditorAlignJustifyButtonDirective } from './tools/alignment/editor-align-justify-button.directive';
33
- export { EditorRedoButtonDirective } from './tools/history/editor-redo-button.directive';
34
- export { EditorUndoButtonDirective } from './tools/history/editor-undo-button.directive';
35
- export { EditorInsertImageButtonDirective } from './tools/image/editor-insert-image-button.directive';
36
- export { EditorIndentButtonDirective } from './tools/indentation/editor-indent-button.directive';
37
- export { EditorOutdentButtonDirective } from './tools/indentation/editor-outdent-button.directive';
38
- export { EditorCreateLinkButtonDirective } from './tools/link/editor-create-link-button.directive';
39
- export { EditorUnlinkButtonDirective } from './tools/link/editor-unlink-button.directive';
40
- export { EditorInsertOrderedListButtonDirective } from './tools/list/editor-insert-ordered-list-button.directive';
41
- export { EditorInsertUnorderedListButtonDirective } from './tools/list/editor-insert-unordered-list-button.directive';
42
- export { EditorViewSourceButtonDirective } from './tools/source/editor-view-source-button.directive';
43
- export { EditorBoldButtonDirective } from './tools/typographical-emphasis/editor-bold-button.directive';
44
- export { EditorItalicButtonDirective } from './tools/typographical-emphasis/editor-italic-button.directive';
45
- export { EditorUnderlineButtonDirective } from './tools/typographical-emphasis/editor-underline-button.directive';
46
- export { EditorStrikethroughButtonDirective } from './tools/typographical-emphasis/editor-strikethrough-button.directive';
47
- export { EditorSubscriptButtonDirective } from './tools/typographical-emphasis/editor-subscript-button.directive';
48
- export { EditorSuperscriptButtonDirective } from './tools/typographical-emphasis/editor-superscript-button.directive';
49
- export { EditorInsertFileButtonDirective } from './tools/link/editor-insert-file-button.directive';
50
- export { EditorForeColorDirective } from './tools/colorpicker/editor-fore-color.directive';
51
- export { EditorBackColorDirective } from './tools/colorpicker/editor-back-color.directive';
52
- export { EditorCleanFormattingButtonDirective } from './tools/editor-clean-formatting-button.directive';
53
- export { EditorAddColumnBeforeButtonDirective } from './tools/tables/editor-add-column-before-button.directive';
54
- export { EditorAddColumnAfterButtonDirective } from './tools/tables/editor-add-column-after-button.directive';
55
- export { EditorAddRowBeforeButtonDirective } from './tools/tables/editor-add-row-before-button.directive';
56
- export { EditorAddRowAfterButtonDirective } from './tools/tables/editor-add-row-after-button.directive';
57
- export { EditorDeleteColumnButtonDirective } from './tools/tables/editor-delete-column-button.directive';
58
- export { EditorDeleteRowButtonDirective } from './tools/tables/editor-delete-row-button.directive';
59
- export { EditorDeleteTableButtonDirective } from './tools/tables/editor-delete-table-button.directive';
60
- export { EditorMergeCellsButtonDirective } from './tools/tables/editor-merge-cells-button.directive';
61
- export { EditorSplitCellButtonDirective } from './tools/tables/editor-split-cell-button.directive';
62
- export { CustomMessagesComponent } from './localization/custom-messages.component';
63
- export { LocalizedMessagesDirective } from './localization/localized-messages.directive';
64
- export { DropDownToolDirective } from './tools/shared/dropdown-tool.directive';
65
- export { EditorBlockquoteDirective } from './tools/blockquote/editor-blockquote-button.directive';
66
- export { EditorPrintDirective } from './tools/print/editor-print-button.directive';
67
- export { EditorSelectAllButtonDirective } from './tools/select-all/select-all-button.directive';
68
- export { PreventableEvent } from './preventable-events/preventable-event';
69
- export { EditorCssSettings } from './common/css-settings.interface';
70
- export { EditorLocalizationService } from './localization/editor-localization.service';
71
- export * from './directives';
5
+ import * as i0 from '@angular/core';
6
+ import { NgZone, AfterViewInit, EventEmitter, ElementRef, ViewContainerRef, ChangeDetectorRef, Renderer2, SimpleChanges, OnDestroy, TemplateRef } from '@angular/core';
7
+ import { ControlValueAccessor } from '@angular/forms';
8
+ import { Subject, BehaviorSubject, Subscription } from 'rxjs';
9
+ import * as i44 from '@progress/kendo-angular-toolbar';
10
+ import { ToolBarComponent, ToolBarButtonComponent, ToolBarToolComponent } from '@progress/kendo-angular-toolbar';
11
+ import { DialogService } from '@progress/kendo-angular-dialog';
12
+ import { Plugin, Schema, EditorView, EditorState } from '@progress/kendo-editor-common';
13
+ export { AllSelection, CellSelection, Decoration, DecorationSet, EditorState, EditorView, InputRule, Mark, MarkSpec, MarkType, Node, NodeSelection, NodeSpec, NodeType, Plugin, PluginKey, Schema, TextSelection, Transaction, baseKeymap, dropCursor, flattenNestedSpans, gapCursor, history, inputRules, keymap, tableNodes, textblockTypeInputRule, wrappingInputRule } from '@progress/kendo-editor-common';
14
+ import { LicenseMessage } from '@progress/kendo-licensing';
15
+ import { LocalizationService, MessageService, ComponentMessages } from '@progress/kendo-angular-l10n';
16
+ import { PaletteSettings, ColorPickerView, ActiveColorClickEvent } from '@progress/kendo-angular-inputs';
17
+ import { SVGIcon } from '@progress/kendo-svg-icons';
18
+ import { ItemDisabledFn, DropDownListComponent } from '@progress/kendo-angular-dropdowns';
19
+ import { PopupRef, PopupService } from '@progress/kendo-angular-popup';
20
+
21
+ /**
22
+ * @hidden
23
+ */
24
+ type Direction = 'rtl' | 'ltr';
25
+
26
+ /**
27
+ * @hidden
28
+ */
29
+ type EditorInternalCommand = 'print';
30
+ /**
31
+ * Lists the command names accepted by the `exec` method.
32
+ */
33
+ type EditorCommand = 'bold' | 'italic' | 'underline' | 'strikethrough' | 'createLink' | 'unlink' | 'insertFile' | 'insertImage' | 'insertOrderedList' | 'insertUnorderedList' | 'insertText' | 'indent' | 'outdent' | 'alignLeft' | 'alignCenter' | 'alignRight' | 'alignJustify' | 'format' | 'fontFamily' | 'fontSize' | 'cleanFormat' | 'setHTML' | 'undo' | 'redo' | 'subscript' | 'superscript' | 'cleanFormatting' | 'foreColor' | 'backColor' | 'insertTable' | 'addColumnBefore' | 'addColumnAfter' | 'addRowBefore' | 'addRowAfter' | 'deleteRow' | 'deleteColumn' | 'mergeCells' | 'splitCell' | 'deleteTable' | 'selectAll' | 'blockquote';
34
+ /**
35
+ * Lists the dialog commands accepted by the `openDialog` method.
36
+ *
37
+ * Supported dialog commands:
38
+ * - `createLink`
39
+ * - `viewSource`
40
+ * - `insertFile`
41
+ * - `insertImage`
42
+ * - `tableWizard`
43
+ *
44
+ * @example
45
+ * ```typescript
46
+ * // Open a `createLink` dialog.
47
+ * editor.openDialog('createLink');
48
+ *
49
+ * // Open a `viewSource` dialog.
50
+ * editor.openDialog('viewSource');
51
+ * ```
52
+ */
53
+ type DialogCommand = 'createLink' | 'insertFile' | 'insertImage' | 'viewSource';
54
+
55
+ /**
56
+ * Represents the configuration options for Paste Cleanup ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/paste-cleanup)).
57
+ *
58
+ * @example
59
+ * ```typescript
60
+ * const settings: PasteCleanupSettings = {
61
+ * convertMsLists: true,
62
+ * removeHtmlComments: true,
63
+ * stripTags: ['span'],
64
+ * removeAttributes: ['lang'],
65
+ * removeMsClasses: true,
66
+ * removeMsStyles: true,
67
+ * removeInvalidHTML: true
68
+ * };
69
+ * ```
70
+ */
71
+ interface PasteCleanupSettings {
72
+ /**
73
+ * Converts MS Word lists to HTML lists when set to `true`.
74
+ */
75
+ convertMsLists?: boolean;
76
+ /**
77
+ * Removes HTML comments when set to `true`.
78
+ *
79
+ * For example, `<!-- comment --> <p> content </p>` becomes `<p> content </p>`.
80
+ */
81
+ removeHtmlComments?: boolean;
82
+ /**
83
+ * Removes the specified tags from the HTML.
84
+ *
85
+ * For example, with `stripTags: ['span']`, `<p><span lang=EN-US>content</span></p>` becomes `<p>content</p>`.
86
+ */
87
+ stripTags?: string[];
88
+ /**
89
+ * Removes the specified DOM attributes from the HTML.
90
+ * Set to `'all'` to remove every attribute.
91
+ * Set to an array to remove specific attributes.
92
+ *
93
+ * For example, with `removeAttributes: ['lang']`, `<p><span lang=EN-US>content</span></p>` becomes `<p><span>content</span></p>`.
94
+ */
95
+ removeAttributes?: string[] | 'all';
96
+ /**
97
+ * Removes class attributes starting with 'Mso' when set to `true`.
98
+ *
99
+ * For example, `<p class="MsoNormal">pasted from MS Word</p>` becomes `<p>pasted from MS Word</p>`.
100
+ */
101
+ removeMsClasses?: boolean;
102
+ /**
103
+ * Removes style attributes starting with 'Mso' when set to `true`.
104
+ *
105
+ * For example, `<p><span style="color:#7C7C7C; mso-themecolor:accent3; mso-themeshade:191;">content</span></p>` becomes `<p><span style="color: #7C7C7C; background: silver;">content</span></p>`.
106
+ */
107
+ removeMsStyles?: boolean;
108
+ /**
109
+ * Removes invalid HTML when set to `true`.
110
+ *
111
+ * For example, `<p>content <o:p>, <w:sdtPr></p>` becomes `<p>content </p>`.
112
+ */
113
+ removeInvalidHTML?: boolean;
114
+ }
115
+
116
+ /**
117
+ * Represents the callback used by the
118
+ * [`plugins`](https://www.telerik.com/kendo-angular-ui/components/editor/api/editorcomponent#plugins) property.
119
+ *
120
+ * @example
121
+ * ```typescript
122
+ * pluginsCallback(defaultPlugins: Plugin[]): Plugin[] {
123
+ * const myPlugin = new Plugin({/ custom plugin code /});
124
+ * return [...defaultPlugins, myPlugin];
125
+ * }
126
+ * ```
127
+ */
128
+ type PluginsFn = (args: Plugin[]) => Plugin[];
129
+
130
+ /**
131
+ * Represents the options for applying a command to the "word" at the cursor position.
132
+ * Use the `before` and `after` regular expressions to define what counts as a word boundary ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#customizing-word-delimiters)).
133
+ *
134
+ * @example
135
+ * ```typescript
136
+ * const options: ApplyToWordOptions = {
137
+ * before: /\s/,
138
+ * after: /\s/
139
+ * };
140
+ * ```
141
+ */
142
+ interface ApplyToWordOptions {
143
+ /**
144
+ * Defines the regular expression for the start boundary of the word before the cursor.
145
+ */
146
+ before: RegExp;
147
+ /**
148
+ * Defines the regular expression for the end boundary of the word after the cursor.
149
+ */
150
+ after: RegExp;
151
+ }
152
+
153
+ /**
154
+ * @hidden
155
+ */
156
+ declare class ProviderService {
157
+ editor: EditorComponent;
158
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProviderService, never>;
159
+ static ɵprov: i0.ɵɵInjectableDeclaration<ProviderService>;
160
+ }
161
+
162
+ /**
163
+ * Represents the size restrictions for the resizable Editor ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/resizing#resizing-the-editor)).
164
+ *
165
+ * @example
166
+ * ```typescript
167
+ * const options: EditorResizableOptions = {
168
+ * minWidth: 200,
169
+ * minHeight: 100,
170
+ * maxWidth: 800,
171
+ * maxHeight: 600
172
+ * };
173
+ * ```
174
+ */
175
+ interface EditorResizableOptions {
176
+ /**
177
+ * Sets the minimum width of the resizable Editor in pixels.
178
+ */
179
+ minWidth?: number;
180
+ /**
181
+ * Sets the minimum height of the resizable Editor in pixels.
182
+ */
183
+ minHeight?: number;
184
+ /**
185
+ * Sets the maximum width of the resizable Editor in pixels.
186
+ */
187
+ maxWidth?: number;
188
+ /**
189
+ * Sets the maximum height of the resizable Editor in pixels.
190
+ */
191
+ maxHeight?: number;
192
+ }
193
+
194
+ /**
195
+ * @hidden
196
+ */
197
+ declare class EditorToolsService {
198
+ zone: NgZone;
199
+ needsCheck: Subject<any>;
200
+ constructor(zone: NgZone);
201
+ static ɵfac: i0.ɵɵFactoryDeclaration<EditorToolsService, never>;
202
+ static ɵprov: i0.ɵɵInjectableDeclaration<EditorToolsService>;
203
+ }
204
+
205
+ /**
206
+ * @hidden
207
+ */
208
+ declare abstract class PreventableEvent {
209
+ private prevented;
210
+ /**
211
+ * Prevents the default action for a specified event.
212
+ * In this way, the source component suppresses the built-in behavior that follows the event.
213
+ */
214
+ preventDefault(): void;
215
+ /**
216
+ * If the event is prevented by any of its subscribers, returns `true`.
217
+ *
218
+ * @returns `true` if the default action was prevented. Otherwise, returns `false`.
219
+ */
220
+ isDefaultPrevented(): boolean;
221
+ }
222
+
223
+ /**
224
+ * Fires when the Editor [`paste`](https://www.telerik.com/kendo-angular-ui/components/editor/api/editorcomponent#paste) event occurs.
225
+ */
226
+ declare class EditorPasteEvent extends PreventableEvent {
227
+ /**
228
+ * Contains the HTML content cleaned according to the [`PasteCleanupSettings`](https://www.telerik.com/kendo-angular-ui/components/editor/paste-cleanup).
229
+ */
230
+ cleanedHtml: string;
231
+ /**
232
+ * Contains the raw pasted content.
233
+ */
234
+ originalHtml: string;
235
+ /**
236
+ * Contains the original DOM event.
237
+ */
238
+ originalEvent: ClipboardEvent;
239
+ /**
240
+ * Constructs the event arguments for the `paste` event.
241
+ * @hidden
242
+ */
243
+ constructor(cleanedHtml: string, originalHtml: string, originalEvent: ClipboardEvent);
244
+ }
245
+
246
+ /**
247
+ * Represents the settings for applying custom CSS styles to the Editor in iframe mode ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/styling#encapsulated-mode)).
248
+ *
249
+ * @example
250
+ * ```typescript
251
+ * const cssSettings: EditorCssSettings = {
252
+ * content: '.k-editor { color: red; }',
253
+ * path: '/styles/editor.css',
254
+ * keepBuiltInCss: false
255
+ * };
256
+ * ```
257
+ */
258
+ interface EditorCssSettings {
259
+ /**
260
+ * Sets the CSS rules to apply.
261
+ */
262
+ content?: string;
263
+ /**
264
+ * Sets the path to an external style sheet.
265
+ */
266
+ path?: string;
267
+ /**
268
+ * Determines if custom styles override or extend built-in styles.
269
+ */
270
+ keepBuiltInCss?: boolean;
271
+ }
272
+
273
+ /**
274
+ * Represents the [Kendo UI Editor component for Angular](https://www.telerik.com/kendo-angular-ui/components/editor).
275
+ *
276
+ * Use the Editor to create and edit rich text content in your Angular applications.
277
+ *
278
+ * @example
279
+ * ```html
280
+ * <kendo-editor [(value)]="editorValue"></kendo-editor>
281
+ * ```
282
+ * @remarks
283
+ * Supported children components are: {@link CustomMessagesComponent}, {@link ToolBarComponent}.
284
+ */
285
+ declare class EditorComponent implements AfterViewInit, ControlValueAccessor {
286
+ private dialogService;
287
+ private localization;
288
+ private cdr;
289
+ ngZone: NgZone;
290
+ private element;
291
+ private providerService;
292
+ private toolsService;
293
+ private renderer;
294
+ /**
295
+ * Sets the value of the Editor ([see example](https://www.telerik.com/kendo-angular-ui/components/editor)).
296
+ * Use this property to update the Editor content programmatically.
297
+ */
298
+ set value(value: string);
299
+ get value(): string;
300
+ /**
301
+ * Sets the disabled state of the component. To disable the Editor in reactive forms, see [Forms Support](https://www.telerik.com/kendo-angular-ui/components/editor/forms#managing-the-editor-disabled-state-in-reactive-forms).
302
+ */
303
+ set disabled(value: boolean);
304
+ get disabled(): boolean;
305
+ /**
306
+ * Sets the read-only state of the component.
307
+ *
308
+ * When `true`, users cannot edit the content.
309
+ * @default false
310
+ */
311
+ set readonly(value: boolean);
312
+ get readonly(): boolean;
313
+ /**
314
+ * If set to `false`, the Editor runs in non-encapsulated style mode.
315
+ * The Editor content inherits styles from the page.
316
+ * @default true
317
+ */
318
+ iframe: boolean;
319
+ /**
320
+ * Applies custom CSS styles to the Editor in iframe mode.
321
+ * Use this property to provide additional CSS for the Editor content.
322
+ */
323
+ set iframeCss(settings: EditorCssSettings);
324
+ get iframeCss(): EditorCssSettings;
325
+ /**
326
+ * When set to `true` or an `ApplyToWordOptions` object, emphasis or inline style commands apply to the whole word at the cursor.
327
+ * @default false
328
+ */
329
+ applyToWord: boolean | ApplyToWordOptions;
330
+ /**
331
+ * Provides a custom schema for the Editor ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/prosemirror-schema)).
332
+ */
333
+ set schema(value: Schema);
334
+ get schema(): Schema;
335
+ /**
336
+ * Defines a function to customize the plugins used by the Editor.
337
+ * The function receives the default plugins and returns the plugins to use ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/prosemirror-plugins)).
338
+ */
339
+ set plugins(fn: PluginsFn);
340
+ get plugins(): PluginsFn;
341
+ /**
342
+ * Sets the hint text displayed when the Editor is empty.
343
+ * Use this property to provide guidance to users.
344
+ */
345
+ set placeholder(value: string);
346
+ get placeholder(): string;
347
+ /**
348
+ * Controls whitespace handling in the Editor content.
349
+ * Set to `true` to preserve whitespace and normalize newlines to spaces.
350
+ * Set to `'full'` to preserve all whitespace.
351
+ * @default false
352
+ */
353
+ preserveWhitespace: boolean | 'full';
354
+ /**
355
+ * Configures how pasted content is cleaned before it is added to the Editor ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/paste-cleanup)).
356
+ * Use this property to remove unwanted HTML, styles, or attributes from pasted content.
357
+ */
358
+ pasteCleanupSettings: PasteCleanupSettings;
359
+ /**
360
+ * Determines whether the Editor can be resized ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/resizing#resizing-the-editor)).
361
+ * Set to `true` or provide an object with resizing options.
362
+ * @default false
363
+ */
364
+ resizable: boolean | EditorResizableOptions;
365
+ /**
366
+ * Fires when the Editor value changes due to user interaction.
367
+ * This event does not fire when the value changes programmatically through `ngModel` or form bindings
368
+ * ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/events)).
369
+ */
370
+ valueChange: EventEmitter<string>;
371
+ /**
372
+ * Fires when the Editor content area receives focus ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/events)).
373
+ */
374
+ onFocus: EventEmitter<undefined>;
375
+ /**
376
+ * Fires when the user paste content into the Editor ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/events)).
377
+ * This event is preventable. If you cancel it, the Editor content does not change.
378
+ */
379
+ paste: EventEmitter<EditorPasteEvent>;
380
+ /**
381
+ * Fires when the Editor content area is blurred ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/events)).
382
+ */
383
+ onBlur: EventEmitter<undefined>;
384
+ hostClass: boolean;
385
+ get resizableClass(): boolean;
386
+ get isDisabled(): boolean;
387
+ get isReadonly(): boolean;
388
+ get dir(): Direction;
389
+ get ariaDisabled(): boolean;
390
+ get minWidth(): string;
391
+ get maxWidth(): string;
392
+ get minHeight(): string;
393
+ get maxHeight(): string;
394
+ /**
395
+ * @hidden
396
+ */
397
+ stateChange: BehaviorSubject<any>;
398
+ /**
399
+ * @hidden
400
+ */
401
+ showLicenseWatermark: boolean;
402
+ /**
403
+ * @hidden
404
+ */
405
+ licenseMessage?: LicenseMessage;
406
+ get toolbar(): ToolBarComponent;
407
+ get toolbarElement(): ElementRef;
408
+ /**
409
+ * Returns the ProseMirror [EditorView](https://prosemirror.net/docs/ref/#view.EditorView) object.
410
+ * Use this property to access the underlying `EditorView` instance.
411
+ */
412
+ get view(): EditorView;
413
+ /**
414
+ * Returns the text currently selected in the Editor ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/selection#retrieve-the-selected-text)).
415
+ */
416
+ get selectionText(): string;
417
+ /**
418
+ * @hidden
419
+ */
420
+ valueModified: Subject<any>;
421
+ userToolBarComponent: ToolBarComponent;
422
+ userToolBarElement: ElementRef;
423
+ dialogContainer: ViewContainerRef;
424
+ container: ViewContainerRef;
425
+ direction: Direction;
426
+ viewMountElement: HTMLElement;
427
+ /**
428
+ * @hidden
429
+ */
430
+ focusChangedProgrammatically: boolean;
431
+ /**
432
+ * @hidden
433
+ */
434
+ shouldEmitFocus: boolean;
435
+ /**
436
+ * @hidden
437
+ */
438
+ focusableId: string;
439
+ private defaultToolbar;
440
+ private defaultToolbarComponent;
441
+ private subs;
442
+ private _view;
443
+ private _value;
444
+ private _disabled;
445
+ private _readonly;
446
+ private _schema;
447
+ private _plugins;
448
+ private _placeholder;
449
+ private _styleObserver;
450
+ private trOnChange;
451
+ private htmlOnChange;
452
+ private inForm;
453
+ private _pasteEvent;
454
+ private _iframeCss;
455
+ private afterViewInit;
456
+ private contentAreaLoaded;
457
+ constructor(dialogService: DialogService, localization: LocalizationService, cdr: ChangeDetectorRef, ngZone: NgZone, element: ElementRef, providerService: ProviderService, toolsService: EditorToolsService, renderer: Renderer2);
458
+ ngOnInit(): void;
459
+ ngAfterViewInit(): void;
460
+ ngOnChanges(changes: SimpleChanges): void;
461
+ /**
462
+ * @hidden
463
+ */
464
+ setDisabledState(isDisabled: boolean): void;
465
+ /**
466
+ * @hidden
467
+ */
468
+ iframeOnLoad(): void;
469
+ /**
470
+ * Executes a command on the currently selected text
471
+ * ([more information and example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#associating-toolbar-tools-with-editor-commands)).
472
+ *
473
+ * @param {EditorCommand} commandName - The command that will be executed.
474
+ * @param {any} attr - Optional parameters for the command.
475
+ */
476
+ exec(commandName: EditorCommand, attr?: any): void;
477
+ /**
478
+ * Opens a dialog.
479
+ * @param {DialogCommand} dialogName - The name of the dialog that will open.
480
+ */
481
+ openDialog(dialogName: DialogCommand): void;
482
+ /**
483
+ * Manually focus the Editor.
484
+ */
485
+ focus(): void;
486
+ /**
487
+ * Manually blur the Editor.
488
+ */
489
+ blur(): void;
490
+ /**
491
+ * @hidden
492
+ */
493
+ getSource(): string;
494
+ ngOnDestroy(): void;
495
+ /**
496
+ * @hidden
497
+ */
498
+ writeValue(value: any): void;
499
+ /**
500
+ * @hidden
501
+ */
502
+ registerOnChange(fn: Function): void;
503
+ /**
504
+ * @hidden
505
+ */
506
+ registerOnTouched(fn: Function): void;
507
+ /**
508
+ * @hidden
509
+ * Used by the TextBoxContainer to determine if the component is empty.
510
+ */
511
+ isEmpty(): boolean;
512
+ private initialize;
513
+ private dispatchTransaction;
514
+ private transformPastedContent;
515
+ private transformPastedHTML;
516
+ private transformPastedText;
517
+ private changeValue;
518
+ private onChangeCallback;
519
+ private normalizeSize;
520
+ private normalizeProperties;
521
+ private onTouchedCallback;
522
+ private onPaste;
523
+ private dispatchPasteEvent;
524
+ static ɵfac: i0.ɵɵFactoryDeclaration<EditorComponent, never>;
525
+ static ɵcmp: i0.ɵɵComponentDeclaration<EditorComponent, "kendo-editor", never, { "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "iframe": { "alias": "iframe"; "required": false; }; "iframeCss": { "alias": "iframeCss"; "required": false; }; "applyToWord": { "alias": "applyToWord"; "required": false; }; "schema": { "alias": "schema"; "required": false; }; "plugins": { "alias": "plugins"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "preserveWhitespace": { "alias": "preserveWhitespace"; "required": false; }; "pasteCleanupSettings": { "alias": "pasteCleanupSettings"; "required": false; }; "resizable": { "alias": "resizable"; "required": false; }; }, { "valueChange": "valueChange"; "onFocus": "focus"; "paste": "paste"; "onBlur": "blur"; }, ["userToolBarComponent", "userToolBarElement"], ["kendo-toolbar"], true, never>;
526
+ }
527
+
528
+ /**
529
+ * @hidden
530
+ */
531
+ declare abstract class EditorCommandBaseDirective {
532
+ protected command: DialogCommand | EditorCommand | EditorInternalCommand;
533
+ protected button: ToolBarButtonComponent;
534
+ protected localization: LocalizationService;
535
+ protected toolsService: EditorToolsService;
536
+ protected subs: Subscription;
537
+ protected editor: EditorComponent;
538
+ constructor(command: DialogCommand | EditorCommand | EditorInternalCommand, button: ToolBarButtonComponent, localization: LocalizationService, providerService: ProviderService, toolsService: EditorToolsService);
539
+ ngOnInit(): void;
540
+ ngOnDestroy(): void;
541
+ protected clickHandler(): void;
542
+ protected pointerdownHandler(_event: PointerEvent): void;
543
+ protected onStateChange(_toolBarState: any): void;
544
+ static ɵfac: i0.ɵɵFactoryDeclaration<EditorCommandBaseDirective, never>;
545
+ static ɵdir: i0.ɵɵDirectiveDeclaration<EditorCommandBaseDirective, "[kendoEditorCommandBase]", never, {}, {}, never, never, true, never>;
546
+ }
547
+
548
+ /**
549
+ * @hidden
550
+ */
551
+ declare abstract class EditorCommandButton extends EditorCommandBaseDirective {
552
+ protected command: EditorCommand | EditorInternalCommand;
553
+ protected button: ToolBarButtonComponent;
554
+ protected localization: LocalizationService;
555
+ protected providerService: ProviderService;
556
+ protected toolsService: EditorToolsService;
557
+ constructor(command: EditorCommand | EditorInternalCommand, button: ToolBarButtonComponent, localization: LocalizationService, providerService: ProviderService, toolsService: EditorToolsService);
558
+ protected clickHandler(): void;
559
+ protected pointerdownHandler(e?: PointerEvent): void;
560
+ protected onStateChange(toolBarState?: any): void;
561
+ }
562
+
563
+ /**
564
+ * @hidden
565
+ */
566
+ declare class EditorLocalizationService extends LocalizationService {
567
+ constructor(prefix: string, messageService: MessageService, _rtl: boolean);
568
+ static ɵfac: i0.ɵɵFactoryDeclaration<EditorLocalizationService, [null, { optional: true; }, { optional: true; }]>;
569
+ static ɵprov: i0.ɵɵInjectableDeclaration<EditorLocalizationService>;
570
+ }
571
+
572
+ /**
573
+ * Use this directive to turn a ToolBarButtonComponent into an Editor **AlignLeft** tool
574
+ * ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#built-in-tools)).
575
+ * The directive sets the SVG icon and `click` event handlers for the button.
576
+ * It also updates the `selected` state of the button based on the cursor position in the editing area.
577
+ *
578
+ * @example
579
+ * ```html
580
+ * <kendo-toolbar-button kendoEditorAlignLeftButton></kendo-toolbar-button>
581
+ * ```
582
+ * @remarks
583
+ * Applied to: {@link ToolBarButtonComponent}
584
+ */
585
+ declare class EditorAlignLeftButtonDirective extends EditorCommandButton {
586
+ constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService);
587
+ static ɵfac: i0.ɵɵFactoryDeclaration<EditorAlignLeftButtonDirective, never>;
588
+ static ɵdir: i0.ɵɵDirectiveDeclaration<EditorAlignLeftButtonDirective, "kendo-toolbar-button[kendoEditorAlignLeftButton]", never, {}, {}, never, never, true, never>;
589
+ }
590
+
591
+ /**
592
+ * Use this directive to turn a ToolBarButtonComponent into an Editor **AlignCenter** tool
593
+ * ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#built-in-tools)).
594
+ * The directive sets the SVG icon and `click` event handlers for the button.
595
+ * It also updates the `selected` state of the button based on the cursor position in the editing area.
596
+ *
597
+ * @example
598
+ * ```html
599
+ * <kendo-toolbar-button kendoEditorAlignCenterButton></kendo-toolbar-button>
600
+ * ```
601
+ * @remarks
602
+ * Applied to: {@link ToolBarButtonComponent}
603
+ */
604
+ declare class EditorAlignCenterButtonDirective extends EditorCommandButton {
605
+ constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService);
606
+ static ɵfac: i0.ɵɵFactoryDeclaration<EditorAlignCenterButtonDirective, never>;
607
+ static ɵdir: i0.ɵɵDirectiveDeclaration<EditorAlignCenterButtonDirective, "kendo-toolbar-button[kendoEditorAlignCenterButton]", never, {}, {}, never, never, true, never>;
608
+ }
609
+
610
+ /**
611
+ * Use this directive to turn a ToolBarButtonComponent into an Editor **AlignRight** tool
612
+ * ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#built-in-tools)).
613
+ * The directive sets the SVG icon and `click` event handlers for the button.
614
+ * It also updates the `selected` state of the button based on the cursor position in the editing area.
615
+ *
616
+ * @example
617
+ * ```html
618
+ * <kendo-toolbar-button kendoEditorAlignRightButton></kendo-toolbar-button>
619
+ * ```
620
+ * @remarks
621
+ * Applied to: {@link ToolBarButtonComponent}
622
+ */
623
+ declare class EditorAlignRightButtonDirective extends EditorCommandButton {
624
+ constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService);
625
+ static ɵfac: i0.ɵɵFactoryDeclaration<EditorAlignRightButtonDirective, never>;
626
+ static ɵdir: i0.ɵɵDirectiveDeclaration<EditorAlignRightButtonDirective, "kendo-toolbar-button[kendoEditorAlignRightButton]", never, {}, {}, never, never, true, never>;
627
+ }
628
+
629
+ /**
630
+ * Use this directive to turn a ToolBarButtonComponent into an Editor **AlignJustify** tool
631
+ * ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#built-in-tools)).
632
+ * The directive sets the SVG icon and `click` event handlers for the button.
633
+ * It also updates the `selected` state of the button based on the cursor position in the editing area.
634
+ *
635
+ * @example
636
+ * ```html
637
+ * <kendo-toolbar-button kendoEditorAlignJustifyButton></kendo-toolbar-button>
638
+ * ```
639
+ * @remarks
640
+ * Applied to: {@link ToolBarButtonComponent}
641
+ */
642
+ declare class EditorAlignJustifyButtonDirective extends EditorCommandButton {
643
+ constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService);
644
+ static ɵfac: i0.ɵɵFactoryDeclaration<EditorAlignJustifyButtonDirective, never>;
645
+ static ɵdir: i0.ɵɵDirectiveDeclaration<EditorAlignJustifyButtonDirective, "kendo-toolbar-button[kendoEditorAlignJustifyButton]", never, {}, {}, never, never, true, never>;
646
+ }
647
+
648
+ /**
649
+ * @hidden
650
+ */
651
+ declare abstract class EditorCommandDialog extends EditorCommandBaseDirective {
652
+ protected dialog: DialogCommand;
653
+ protected button: ToolBarButtonComponent;
654
+ protected localization: LocalizationService;
655
+ protected providerService: ProviderService;
656
+ protected toolsService: EditorToolsService;
657
+ constructor(dialog: DialogCommand, button: ToolBarButtonComponent, localization: LocalizationService, providerService: ProviderService, toolsService: EditorToolsService);
658
+ protected clickHandler(): void;
659
+ protected onStateChange(toolBarState?: any): void;
660
+ }
661
+
662
+ /**
663
+ * Configures a ToolBarButtonComponent as an Editor **Insert File** tool ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#built-in-tools)).
664
+ * The directive sets the SVG icon and `click` event handlers for the button.
665
+ *
666
+ * @example
667
+ * ```html
668
+ * <kendo-toolbar-button kendoEditorInsertFileButton></kendo-toolbar-button>
669
+ * ```
670
+ * @remarks
671
+ * Applied to: {@link ToolBarButtonComponent}
672
+ */
673
+ declare class EditorInsertFileButtonDirective extends EditorCommandDialog {
674
+ constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService);
675
+ static ɵfac: i0.ɵɵFactoryDeclaration<EditorInsertFileButtonDirective, never>;
676
+ static ɵdir: i0.ɵɵDirectiveDeclaration<EditorInsertFileButtonDirective, "kendo-toolbar-button[kendoEditorInsertFileButton]", never, {}, {}, never, never, true, never>;
677
+ }
678
+
679
+ /**
680
+ * Configures a ToolBarButtonComponent as an Editor **Redo** tool
681
+ * ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#built-in-tools)).
682
+ * Sets the SVG icon and `click` event handlers of the button.
683
+ * Updates the `disabled` state of the button based on the cursor position in the editing area.
684
+ *
685
+ * @example
686
+ * ```html
687
+ * <kendo-toolbar-button kendoEditorRedoButton></kendo-toolbar-button>
688
+ * ```
689
+ * @remarks
690
+ * Applied to: {@link ToolBarButtonComponent}
691
+ */
692
+ declare class EditorRedoButtonDirective extends EditorCommandButton {
693
+ constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService);
694
+ static ɵfac: i0.ɵɵFactoryDeclaration<EditorRedoButtonDirective, never>;
695
+ static ɵdir: i0.ɵɵDirectiveDeclaration<EditorRedoButtonDirective, "kendo-toolbar-button[kendoEditorRedoButton]", never, {}, {}, never, never, true, never>;
696
+ }
697
+
698
+ /**
699
+ * Configures a ToolBarButtonComponent as an Editor **Undo** tool
700
+ * ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#built-in-tools)).
701
+ * Sets the SVG icon and `click` event handlers of the button.
702
+ * Updates the `disabled` state of the button based on the cursor position in the editing area.
703
+ *
704
+ * @example
705
+ * ```html
706
+ * <kendo-toolbar-button kendoEditorUndoButton></kendo-toolbar-button>
707
+ * ```
708
+ * @remarks
709
+ * Applied to: {@link ToolBarButtonComponent}
710
+ */
711
+ declare class EditorUndoButtonDirective extends EditorCommandButton {
712
+ constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService);
713
+ static ɵfac: i0.ɵɵFactoryDeclaration<EditorUndoButtonDirective, never>;
714
+ static ɵdir: i0.ɵɵDirectiveDeclaration<EditorUndoButtonDirective, "kendo-toolbar-button[kendoEditorUndoButton]", never, {}, {}, never, never, true, never>;
715
+ }
716
+
717
+ /**
718
+ * Configures a `ToolBarButtonComponent` as an Editor **InsertImage** tool
719
+ * ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#built-in-tools)).
720
+ * Sets the SVG icon and `click` event handlers of the button.
721
+ *
722
+ * @example
723
+ * ```html
724
+ * <kendo-toolbar-button kendoEditorInsertImageButton></kendo-toolbar-button>
725
+ * ```
726
+ * @remarks
727
+ * Applied to: {@link ToolBarButtonComponent}
728
+ */
729
+ declare class EditorInsertImageButtonDirective extends EditorCommandDialog {
730
+ constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService);
731
+ static ɵfac: i0.ɵɵFactoryDeclaration<EditorInsertImageButtonDirective, never>;
732
+ static ɵdir: i0.ɵɵDirectiveDeclaration<EditorInsertImageButtonDirective, "kendo-toolbar-button[kendoEditorInsertImageButton]", never, {}, {}, never, never, true, never>;
733
+ }
734
+
735
+ /**
736
+ * Configures a ToolBarButtonComponent as an Editor **Indent** tool ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#built-in-tools)).
737
+ * The directive sets the SVG icon and `click` event handlers for the button.
738
+ * The directive also updates the `disabled` state of the button based on the cursor position in the editing area.
739
+ *
740
+ * @example
741
+ * ```html
742
+ * <kendo-toolbar-button kendoEditorIndentButton></kendo-toolbar-button>
743
+ * ```
744
+ * @remarks
745
+ * Applied to: {@link ToolBarButtonComponent}
746
+ */
747
+ declare class EditorIndentButtonDirective extends EditorCommandButton {
748
+ constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService);
749
+ static ɵfac: i0.ɵɵFactoryDeclaration<EditorIndentButtonDirective, never>;
750
+ static ɵdir: i0.ɵɵDirectiveDeclaration<EditorIndentButtonDirective, "kendo-toolbar-button[kendoEditorIndentButton]", never, {}, {}, never, never, true, never>;
751
+ }
752
+
753
+ /**
754
+ * Configures a ToolBarButtonComponent as an Editor **Outdent** tool ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#built-in-tools)).
755
+ * The directive sets the SVG icon and `click` event handlers for the button.
756
+ * The directive also updates the `disabled` state of the button based on the cursor position in the editing area.
757
+ *
758
+ * @example
759
+ * ```html
760
+ * <kendo-toolbar-button kendoEditorOutdentButton></kendo-toolbar-button>
761
+ * ```
762
+ * @remarks
763
+ * Applied to: {@link ToolBarButtonComponent}
764
+ */
765
+ declare class EditorOutdentButtonDirective extends EditorCommandButton {
766
+ constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService);
767
+ static ɵfac: i0.ɵɵFactoryDeclaration<EditorOutdentButtonDirective, never>;
768
+ static ɵdir: i0.ɵɵDirectiveDeclaration<EditorOutdentButtonDirective, "kendo-toolbar-button[kendoEditorOutdentButton]", never, {}, {}, never, never, true, never>;
769
+ }
770
+
771
+ /**
772
+ * Configures a ToolBarButtonComponent as an Editor **CreateLink** tool ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#built-in-tools)).
773
+ * The directive sets the SVG icon and `click` event handlers for the button.
774
+ * The directive also updates the `disabled` state of the button based on the cursor position in the editing area.
775
+ *
776
+ * @example
777
+ * ```html
778
+ * <kendo-toolbar-button kendoEditorCreateLinkButton></kendo-toolbar-button>
779
+ * ```
780
+ * @remarks
781
+ * Applied to: {@link ToolBarButtonComponent}
782
+ */
783
+ declare class EditorCreateLinkButtonDirective extends EditorCommandDialog {
784
+ constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService);
785
+ static ɵfac: i0.ɵɵFactoryDeclaration<EditorCreateLinkButtonDirective, never>;
786
+ static ɵdir: i0.ɵɵDirectiveDeclaration<EditorCreateLinkButtonDirective, "kendo-toolbar-button[kendoEditorCreateLinkButton]", never, {}, {}, never, never, true, never>;
787
+ }
788
+
789
+ /**
790
+ * Configures a ToolBarButtonComponent as an Editor **Unlink** tool ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#built-in-tools)).
791
+ * The directive sets the SVG icon and `click` event handlers for the button.
792
+ * The directive also updates the `disabled` state of the button based on the cursor position in the editing area.
793
+ *
794
+ * @example
795
+ * ```html
796
+ * <kendo-toolbar-button kendoEditorUnlinkButton></kendo-toolbar-button>
797
+ * ```
798
+ * @remarks
799
+ * Applied to: {@link ToolBarButtonComponent}
800
+ */
801
+ declare class EditorUnlinkButtonDirective extends EditorCommandButton {
802
+ constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService);
803
+ static ɵfac: i0.ɵɵFactoryDeclaration<EditorUnlinkButtonDirective, never>;
804
+ static ɵdir: i0.ɵɵDirectiveDeclaration<EditorUnlinkButtonDirective, "kendo-toolbar-button[kendoEditorUnlinkButton]", never, {}, {}, never, never, true, never>;
805
+ }
806
+
807
+ /**
808
+ * Configures a ToolBarButtonComponent as an Editor **InsertOrderedList** tool ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#built-in-tools)).
809
+ * The directive sets the SVG icon and `click` event handlers for the button.
810
+ * The directive also updates the `selected` state of the button based on the cursor position in the editing area.
811
+ *
812
+ * @example
813
+ * ```html
814
+ * <kendo-toolbar-button kendoEditorInsertOrderedListButton></kendo-toolbar-button>
815
+ * ```
816
+ * @remarks
817
+ * Applied to: {@link ToolBarButtonComponent}
818
+ */
819
+ declare class EditorInsertOrderedListButtonDirective extends EditorCommandButton {
820
+ constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService);
821
+ static ɵfac: i0.ɵɵFactoryDeclaration<EditorInsertOrderedListButtonDirective, never>;
822
+ static ɵdir: i0.ɵɵDirectiveDeclaration<EditorInsertOrderedListButtonDirective, "kendo-toolbar-button[kendoEditorInsertOrderedListButton]", never, {}, {}, never, never, true, never>;
823
+ }
824
+
825
+ /**
826
+ * Configures a ToolBarButtonComponent as an Editor **InsertUnorderedList** tool
827
+ * ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#built-in-tools)).
828
+ * This directive sets the SVG icon and `click` event handlers for the button.
829
+ * It also updates the `selected` state of the button based on the cursor position in the editing area.
830
+ *
831
+ * @example
832
+ * ```html
833
+ * <kendo-toolbar-button kendoEditorInsertUnorderedListButton></kendo-toolbar-button>
834
+ * ```
835
+ * @remarks
836
+ * Applied to: {@link ToolBarButtonComponent}
837
+ */
838
+ declare class EditorInsertUnorderedListButtonDirective extends EditorCommandButton {
839
+ constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService);
840
+ static ɵfac: i0.ɵɵFactoryDeclaration<EditorInsertUnorderedListButtonDirective, never>;
841
+ static ɵdir: i0.ɵɵDirectiveDeclaration<EditorInsertUnorderedListButtonDirective, "kendo-toolbar-button[kendoEditorInsertUnorderedListButton]", never, {}, {}, never, never, true, never>;
842
+ }
843
+
844
+ /**
845
+ * Configures a ToolBarButtonComponent as an Editor **ViewSource** tool
846
+ * ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#built-in-tools)).
847
+ * The directive sets the SVG icon and `click` event handlers for the button.
848
+ *
849
+ * @example
850
+ * ```html
851
+ * <kendo-toolbar-button kendoEditorViewSourceButton></kendo-toolbar-button>
852
+ * ```
853
+ * @remarks
854
+ * Applied to: {@link ToolBarButtonComponent}
855
+ */
856
+ declare class EditorViewSourceButtonDirective extends EditorCommandDialog {
857
+ constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService);
858
+ static ɵfac: i0.ɵɵFactoryDeclaration<EditorViewSourceButtonDirective, never>;
859
+ static ɵdir: i0.ɵɵDirectiveDeclaration<EditorViewSourceButtonDirective, "kendo-toolbar-button[kendoEditorViewSourceButton]", never, {}, {}, never, never, true, never>;
860
+ }
861
+
862
+ /**
863
+ * Configures a ToolBarButtonComponent as an Editor **Bold** tool
864
+ * ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#built-in-tools)).
865
+ * This directive sets the SVG icon and `click` event handlers for the button.
866
+ * The directive also updates the `selected` state of the button based on the cursor position in the editing area.
867
+ *
868
+ * @example
869
+ * ```html
870
+ * <kendo-toolbar-button kendoEditorBoldButton></kendo-toolbar-button>
871
+ * ```
872
+ * @remarks
873
+ * Applied to: {@link ToolBarButtonComponent}
874
+ */
875
+ declare class EditorBoldButtonDirective extends EditorCommandButton {
876
+ constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService);
877
+ static ɵfac: i0.ɵɵFactoryDeclaration<EditorBoldButtonDirective, never>;
878
+ static ɵdir: i0.ɵɵDirectiveDeclaration<EditorBoldButtonDirective, "kendo-toolbar-button[kendoEditorBoldButton]", never, {}, {}, never, never, true, never>;
879
+ }
880
+
881
+ /**
882
+ * Configures a ToolBarButtonComponent as an Editor **Italic** tool
883
+ * ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#built-in-tools)).
884
+ * This directive sets the SVG icon and `click` event handlers for the button.
885
+ * The directive also updates the `selected` state of the button based on the cursor position in the editing area.
886
+ *
887
+ * @example
888
+ * ```html
889
+ * <kendo-toolbar-button kendoEditorItalicButton></kendo-toolbar-button>
890
+ * ```
891
+ * @remarks
892
+ * Applied to: {@link ToolBarButtonComponent}
893
+ */
894
+ declare class EditorItalicButtonDirective extends EditorCommandButton {
895
+ constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService);
896
+ static ɵfac: i0.ɵɵFactoryDeclaration<EditorItalicButtonDirective, never>;
897
+ static ɵdir: i0.ɵɵDirectiveDeclaration<EditorItalicButtonDirective, "kendo-toolbar-button[kendoEditorItalicButton]", never, {}, {}, never, never, true, never>;
898
+ }
899
+
900
+ /**
901
+ * Configures a ToolBarButtonComponent as an Editor **Underline** tool
902
+ * ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#built-in-tools)).
903
+ * This directive sets the SVG icon and `click` event handlers for the button.
904
+ * The directive also updates the `selected` state of the button based on the cursor position in the editing area.
905
+ *
906
+ * @example
907
+ * ```html
908
+ * <kendo-toolbar-button kendoEditorUnderlineButton></kendo-toolbar-button>
909
+ * ```
910
+ * @remarks
911
+ * Applied to: {@link ToolBarButtonComponent}
912
+ */
913
+ declare class EditorUnderlineButtonDirective extends EditorCommandButton {
914
+ constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService);
915
+ static ɵfac: i0.ɵɵFactoryDeclaration<EditorUnderlineButtonDirective, never>;
916
+ static ɵdir: i0.ɵɵDirectiveDeclaration<EditorUnderlineButtonDirective, "kendo-toolbar-button[kendoEditorUnderlineButton]", never, {}, {}, never, never, true, never>;
917
+ }
918
+
919
+ /**
920
+ * Configures a ToolBarButtonComponent as an Editor **Strikethrough** tool
921
+ * ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#built-in-tools)).
922
+ * This directive sets the SVG icon and `click` event handlers for the button.
923
+ * The directive also updates the `selected` state of the button based on the cursor position in the editing area.
924
+ *
925
+ * @example
926
+ * ```html
927
+ * <kendo-toolbar-button kendoEditorStrikethroughButton></kendo-toolbar-button>
928
+ * ```
929
+ * @remarks
930
+ * Applied to: {@link ToolBarButtonComponent}
931
+ */
932
+ declare class EditorStrikethroughButtonDirective extends EditorCommandButton {
933
+ constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService);
934
+ static ɵfac: i0.ɵɵFactoryDeclaration<EditorStrikethroughButtonDirective, never>;
935
+ static ɵdir: i0.ɵɵDirectiveDeclaration<EditorStrikethroughButtonDirective, "kendo-toolbar-button[kendoEditorStrikethroughButton]", never, {}, {}, never, never, true, never>;
936
+ }
937
+
938
+ /**
939
+ * Configures a ToolBarButtonComponent as an Editor **Subscript** tool
940
+ * ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#built-in-tools)).
941
+ * This directive sets the SVG icon and `click` event handlers for the button.
942
+ * The directive also updates the `selected` state of the button based on the cursor position in the editing area.
943
+ *
944
+ * @example
945
+ * ```html
946
+ * <kendo-toolbar-button kendoEditorSubscriptButton></kendo-toolbar-button>
947
+ * ```
948
+ * @remarks
949
+ * Applied to: {@link ToolBarButtonComponent}
950
+ */
951
+ declare class EditorSubscriptButtonDirective extends EditorCommandButton {
952
+ constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService);
953
+ static ɵfac: i0.ɵɵFactoryDeclaration<EditorSubscriptButtonDirective, never>;
954
+ static ɵdir: i0.ɵɵDirectiveDeclaration<EditorSubscriptButtonDirective, "kendo-toolbar-button[kendoEditorSubscriptButton]", never, {}, {}, never, never, true, never>;
955
+ }
956
+
957
+ /**
958
+ * Configures a ToolBarButtonComponent as an Editor **Superscript** tool
959
+ * ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#built-in-tools)).
960
+ * This directive sets the SVG icon and `click` event handlers for the button.
961
+ * The directive also updates the `selected` state of the button based on the cursor position in the editing area.
962
+ *
963
+ * @example
964
+ * ```html
965
+ * <kendo-toolbar-button kendoEditorSuperscriptButton></kendo-toolbar-button>
966
+ * ```
967
+ * @remarks
968
+ * Applied to: {@link ToolBarButtonComponent}
969
+ */
970
+ declare class EditorSuperscriptButtonDirective extends EditorCommandButton {
971
+ constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService);
972
+ static ɵfac: i0.ɵɵFactoryDeclaration<EditorSuperscriptButtonDirective, never>;
973
+ static ɵdir: i0.ɵɵDirectiveDeclaration<EditorSuperscriptButtonDirective, "kendo-toolbar-button[kendoEditorSuperscriptButton]", never, {}, {}, never, never, true, never>;
974
+ }
975
+
976
+ /**
977
+ * Configures a ColorPickerComponent as a ToolBar tool.
978
+ * Use this component to associate a `kendo-toolbar-colorpicker` with an Editor command that changes the foreground or background color of the text.
979
+ * Use the `kendoEditorForeColor` or `kendoEditorBackColor` directive ([more information](https://www.telerik.com/kendo-angular-ui/components/editor/tools#colorpickers)).
980
+ *
981
+ * @example
982
+ * ```html
983
+ * <kendo-toolbar-colorpicker kendoEditorForeColor></kendo-toolbar-colorpicker>
984
+ * ```
985
+ */
986
+ declare class EditorColorPickerComponent extends ToolBarToolComponent {
987
+ private localization;
988
+ private dialogService;
989
+ private ngZone;
990
+ private renderer;
991
+ /**
992
+ * Specifies the tab index of the component.
993
+ *
994
+ * @default -1
995
+ */
996
+ tabindex: number;
997
+ /**
998
+ * Specifies the initial value of the color picker.
999
+ */
1000
+ value: string;
1001
+ /**
1002
+ * Specifies the Kendo UI font icon that the component uses.
1003
+ */
1004
+ icon: string;
1005
+ /**
1006
+ * Defines an SVGIcon to render within the ColorPicker button.
1007
+ * The input can take either an existing Kendo SVG icon or a custom one.
1008
+ */
1009
+ svgIcon: SVGIcon;
1010
+ /**
1011
+ * Overrides the default color palette settings.
1012
+ */
1013
+ paletteSettings: PaletteSettings;
1014
+ /**
1015
+ * Specifies the color-related command that the component executes.
1016
+ */
1017
+ editorCommand: 'foreColor' | 'backColor';
1018
+ /**
1019
+ * Specifies if the component is disabled.
1020
+ *
1021
+ * @default false
1022
+ */
1023
+ disabled: boolean;
1024
+ /**
1025
+ * Specifies whether the ColorPicker renders a gradient, palette, or both in its popup.
1026
+ *
1027
+ * @default ['palette']
1028
+ */
1029
+ views: ColorPickerView[];
1030
+ /**
1031
+ * @hidden
1032
+ *
1033
+ * For backward compatibility with configurations using the deprecated "view" input.
1034
+ */
1035
+ set view(view: ColorPickerView);
1036
+ get view(): ColorPickerView;
1037
+ /**
1038
+ * @hidden
1039
+ */
1040
+ get title(): string;
1041
+ element: ElementRef;
1042
+ private colorPicker;
1043
+ private colorPickerButton;
1044
+ private subs;
1045
+ private editor;
1046
+ private activeView;
1047
+ constructor(localization: EditorLocalizationService, dialogService: DialogService, ngZone: NgZone, providerService: ProviderService, renderer: Renderer2);
1048
+ ngOnInit(): void;
1049
+ ngOnDestroy(): void;
1050
+ /**
1051
+ * @hidden
1052
+ */
1053
+ handleValueChange(color: string): void;
1054
+ /**
1055
+ * @hidden
1056
+ */
1057
+ handleActiveColorClick(event: ActiveColorClickEvent): void;
1058
+ /**
1059
+ * @hidden
1060
+ */
1061
+ onClose(): void;
1062
+ /**
1063
+ * @hidden
1064
+ */
1065
+ handleClearButtonClick(): void;
1066
+ /**
1067
+ * @hidden
1068
+ */
1069
+ onActiveViewChange(view: string | ColorPickerView): void;
1070
+ /**
1071
+ * @hidden
1072
+ */
1073
+ get outerWidth(): number;
1074
+ /**
1075
+ * @hidden
1076
+ */
1077
+ openDialog(): void;
1078
+ /**
1079
+ * @hidden
1080
+ */
1081
+ canFocus(): boolean;
1082
+ /**
1083
+ * @hidden
1084
+ */
1085
+ focus(): void;
1086
+ /**
1087
+ * @hidden
1088
+ */
1089
+ handleKey(): boolean;
1090
+ static ɵfac: i0.ɵɵFactoryDeclaration<EditorColorPickerComponent, never>;
1091
+ static ɵcmp: i0.ɵɵComponentDeclaration<EditorColorPickerComponent, "kendo-toolbar-colorpicker", never, { "value": { "alias": "value"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "svgIcon": { "alias": "svgIcon"; "required": false; }; "paletteSettings": { "alias": "paletteSettings"; "required": false; }; "editorCommand": { "alias": "editorCommand"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "views": { "alias": "views"; "required": false; }; "view": { "alias": "view"; "required": false; }; }, {}, never, never, true, never>;
1092
+ }
1093
+
1094
+ /**
1095
+ * Configures an EditorColorPickerComponent for manipulating the foreground color of the text ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#built-in-tools)).
1096
+ *
1097
+ * @example
1098
+ * ```html
1099
+ * <kendo-toolbar-colorpicker kendoEditorForeColor></kendo-toolbar-colorpicker>
1100
+ * ```
1101
+ * @remarks
1102
+ * Applied to: {@link EditorColorPickerComponent}
1103
+ */
1104
+ declare class EditorForeColorDirective {
1105
+ private colorPicker;
1106
+ constructor(colorPicker: EditorColorPickerComponent);
1107
+ static ɵfac: i0.ɵɵFactoryDeclaration<EditorForeColorDirective, never>;
1108
+ static ɵdir: i0.ɵɵDirectiveDeclaration<EditorForeColorDirective, "[kendoEditorForeColor]", never, {}, {}, never, never, true, never>;
1109
+ }
1110
+
1111
+ /**
1112
+ * Configures an EditorColorPickerComponent for manipulating the background color of the text ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#built-in-tools)).
1113
+ *
1114
+ * @example
1115
+ * ```html
1116
+ * <kendo-editor>
1117
+ * <kendo-toolbar>
1118
+ * <kendo-toolbar-colorpicker kendoEditorBackColor view="gradient"></kendo-toolbar-colorpicker>
1119
+ * </kendo-toolbar>
1120
+ * </kendo-editor>
1121
+ * ```
1122
+ * @remarks
1123
+ * Applied to: {@link EditorColorPickerComponent}
1124
+ */
1125
+ declare class EditorBackColorDirective {
1126
+ private colorPicker;
1127
+ constructor(colorPicker: EditorColorPickerComponent);
1128
+ static ɵfac: i0.ɵɵFactoryDeclaration<EditorBackColorDirective, never>;
1129
+ static ɵdir: i0.ɵɵDirectiveDeclaration<EditorBackColorDirective, "[kendoEditorBackColor]", never, {}, {}, never, never, true, never>;
1130
+ }
1131
+
1132
+ /**
1133
+ * A directive that configures a ToolBarButtonComponent as an Editor **Clean Formatting** tool.
1134
+ * The directive sets the SVG icon and `click` event handlers for the button.
1135
+ * ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#built-in-tools))
1136
+ *
1137
+ * @example
1138
+ * ```html
1139
+ * <kendo-toolbar-button kendoEditorCleanFormattingButton></kendo-toolbar-button>
1140
+ * ```
1141
+ * @remarks
1142
+ * Applied to: {@link ToolBarButtonComponent}
1143
+ */
1144
+ declare class EditorCleanFormattingButtonDirective extends EditorCommandButton {
1145
+ constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService);
1146
+ static ɵfac: i0.ɵɵFactoryDeclaration<EditorCleanFormattingButtonDirective, never>;
1147
+ static ɵdir: i0.ɵɵDirectiveDeclaration<EditorCleanFormattingButtonDirective, "kendo-toolbar-button[kendoEditorCleanFormattingButton]", never, {}, {}, never, never, true, never>;
1148
+ }
1149
+
1150
+ /**
1151
+ * Configures a ToolBarButtonComponent as an Editor **AddColumnBefore** tool
1152
+ * ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#built-in-tools)).
1153
+ * The directive sets the SVG icon and `click` event handlers for the button.
1154
+ * The directive also updates the `disabled` state of the button based on the cursor position in the editing area.
1155
+ *
1156
+ * @example
1157
+ * ```html
1158
+ * <kendo-toolbar-button kendoEditorAddColumnBeforeButton></kendo-toolbar-button>
1159
+ * ```
1160
+ * @remarks
1161
+ * Applied to: {@link ToolBarButtonComponent}
1162
+ */
1163
+ declare class EditorAddColumnBeforeButtonDirective extends EditorCommandButton {
1164
+ constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService);
1165
+ static ɵfac: i0.ɵɵFactoryDeclaration<EditorAddColumnBeforeButtonDirective, never>;
1166
+ static ɵdir: i0.ɵɵDirectiveDeclaration<EditorAddColumnBeforeButtonDirective, "kendo-toolbar-button[kendoEditorAddColumnBeforeButton]", never, {}, {}, never, never, true, never>;
1167
+ }
1168
+
1169
+ /**
1170
+ * Configures a ToolBarButtonComponent as an Editor **AddColumnAfter** tool
1171
+ * ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#built-in-tools)).
1172
+ * The directive sets the SVG icon and `click` event handlers for the button.
1173
+ * The directive also updates the `disabled` state of the button based on the cursor position in the editing area.
1174
+ *
1175
+ * @example
1176
+ * ```html
1177
+ * <kendo-toolbar-button kendoEditorAddColumnAfterButton></kendo-toolbar-button>
1178
+ * ```
1179
+ * @remarks
1180
+ * Applied to: {@link ToolBarButtonComponent}
1181
+ */
1182
+ declare class EditorAddColumnAfterButtonDirective extends EditorCommandButton {
1183
+ constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService);
1184
+ static ɵfac: i0.ɵɵFactoryDeclaration<EditorAddColumnAfterButtonDirective, never>;
1185
+ static ɵdir: i0.ɵɵDirectiveDeclaration<EditorAddColumnAfterButtonDirective, "kendo-toolbar-button[kendoEditorAddColumnAfterButton]", never, {}, {}, never, never, true, never>;
1186
+ }
1187
+
1188
+ /**
1189
+ * Configures a ToolBarButtonComponent as an Editor **AddRowBefore** tool
1190
+ * ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#built-in-tools)).
1191
+ * The directive sets the SVG icon and `click` event handlers for the button.
1192
+ * The directive also updates the `disabled` state of the button based on the cursor position in the editing area.
1193
+ *
1194
+ * @example
1195
+ * ```html
1196
+ * <kendo-toolbar-button kendoEditorAddRowBeforeButton></kendo-toolbar-button>
1197
+ * ```
1198
+ * @remarks
1199
+ * Applied to: {@link ToolBarButtonComponent}
1200
+ */
1201
+ declare class EditorAddRowBeforeButtonDirective extends EditorCommandButton {
1202
+ constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService);
1203
+ static ɵfac: i0.ɵɵFactoryDeclaration<EditorAddRowBeforeButtonDirective, never>;
1204
+ static ɵdir: i0.ɵɵDirectiveDeclaration<EditorAddRowBeforeButtonDirective, "kendo-toolbar-button[kendoEditorAddRowBeforeButton]", never, {}, {}, never, never, true, never>;
1205
+ }
1206
+
1207
+ /**
1208
+ * Configures a ToolBarButtonComponent as an Editor **AddRowAfter** tool
1209
+ * ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#built-in-tools)).
1210
+ * The directive sets the SVG icon and `click` event handlers for the button.
1211
+ * The directive also updates the `disabled` state of the button based on the cursor position in the editing area.
1212
+ *
1213
+ * @example
1214
+ * ```html
1215
+ * <kendo-toolbar-button kendoEditorAddRowAfterButton></kendo-toolbar-button>
1216
+ * ```
1217
+ * @remarks
1218
+ * Applied to: {@link ToolBarButtonComponent}
1219
+ */
1220
+ declare class EditorAddRowAfterButtonDirective extends EditorCommandButton {
1221
+ constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService);
1222
+ static ɵfac: i0.ɵɵFactoryDeclaration<EditorAddRowAfterButtonDirective, never>;
1223
+ static ɵdir: i0.ɵɵDirectiveDeclaration<EditorAddRowAfterButtonDirective, "kendo-toolbar-button[kendoEditorAddRowAfterButton]", never, {}, {}, never, never, true, never>;
1224
+ }
1225
+
1226
+ /**
1227
+ * Configures a ToolBarButtonComponent as an Editor **DeleteColumn** tool
1228
+ * ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#built-in-tools)).
1229
+ * The directive sets the SVG icon and `click` event handlers for the button.
1230
+ * The directive also updates the `disabled` state of the button based on the cursor position in the editing area.
1231
+ *
1232
+ * @example
1233
+ * ```html
1234
+ * <kendo-toolbar-button kendoEditorDeleteColumnButton></kendo-toolbar-button>
1235
+ * ```
1236
+ * @remarks
1237
+ * Applied to: {@link ToolBarButtonComponent}
1238
+ */
1239
+ declare class EditorDeleteColumnButtonDirective extends EditorCommandButton {
1240
+ constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService);
1241
+ static ɵfac: i0.ɵɵFactoryDeclaration<EditorDeleteColumnButtonDirective, never>;
1242
+ static ɵdir: i0.ɵɵDirectiveDeclaration<EditorDeleteColumnButtonDirective, "kendo-toolbar-button[kendoEditorDeleteColumnButton]", never, {}, {}, never, never, true, never>;
1243
+ }
1244
+
1245
+ /**
1246
+ * Configures a ToolBarButtonComponent as an Editor **DeleteRow** tool
1247
+ * ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#built-in-tools)).
1248
+ * The directive sets the SVG icon and `click` event handlers for the button.
1249
+ * The directive also updates the `disabled` state of the button based on the cursor position in the editing area.
1250
+ *
1251
+ * @example
1252
+ * ```html
1253
+ * <kendo-toolbar-button kendoEditorDeleteRowButton></kendo-toolbar-button>
1254
+ * ```
1255
+ * @remarks
1256
+ * Applied to: {@link ToolBarButtonComponent}
1257
+ */
1258
+ declare class EditorDeleteRowButtonDirective extends EditorCommandButton {
1259
+ constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService);
1260
+ static ɵfac: i0.ɵɵFactoryDeclaration<EditorDeleteRowButtonDirective, never>;
1261
+ static ɵdir: i0.ɵɵDirectiveDeclaration<EditorDeleteRowButtonDirective, "kendo-toolbar-button[kendoEditorDeleteRowButton]", never, {}, {}, never, never, true, never>;
1262
+ }
1263
+
1264
+ /**
1265
+ * Configures a ToolBarButtonComponent as an Editor **DeleteTable** tool
1266
+ * ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#built-in-tools)).
1267
+ * The directive sets the SVG icon and `click` event handlers for the button.
1268
+ * The directive also updates the `disabled` state of the button based on the cursor position in the editing area.
1269
+ *
1270
+ * @example
1271
+ * ```html
1272
+ * <kendo-toolbar-button kendoEditorDeleteTableButton></kendo-toolbar-button>
1273
+ * ```
1274
+ * @remarks
1275
+ * Applied to: {@link ToolBarButtonComponent}
1276
+ */
1277
+ declare class EditorDeleteTableButtonDirective extends EditorCommandButton {
1278
+ constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService);
1279
+ static ɵfac: i0.ɵɵFactoryDeclaration<EditorDeleteTableButtonDirective, never>;
1280
+ static ɵdir: i0.ɵɵDirectiveDeclaration<EditorDeleteTableButtonDirective, "kendo-toolbar-button[kendoEditorDeleteTableButton]", never, {}, {}, never, never, true, never>;
1281
+ }
1282
+
1283
+ /**
1284
+ * @hidden
1285
+ */
1286
+ declare class MessagesDirective extends ComponentMessages {
1287
+ /**
1288
+ * The title of the tool that aligns text in the center.
1289
+ */
1290
+ alignCenter: string;
1291
+ /**
1292
+ * The title of the tool that justifies text both left and right.
1293
+ */
1294
+ alignJustify: string;
1295
+ /**
1296
+ * The title of the tool that aligns text on the left.
1297
+ */
1298
+ alignLeft: string;
1299
+ /**
1300
+ * The title of the tool that aligns text on the right.
1301
+ */
1302
+ alignRight: string;
1303
+ /**
1304
+ * The title of the tool that changes the text background color.
1305
+ */
1306
+ backColor: string;
1307
+ /**
1308
+ * The title of the tool that wraps an element in a blockquote.
1309
+ */
1310
+ blockquote: string;
1311
+ /**
1312
+ * The title of the tool that makes text bold.
1313
+ */
1314
+ bold: string;
1315
+ /**
1316
+ * The title of the Clean Formatting tool.
1317
+ */
1318
+ cleanFormatting: string;
1319
+ /**
1320
+ * The title of the tool that creates hyperlinks.
1321
+ */
1322
+ createLink: string;
1323
+ /**
1324
+ * The title of the tool that changes the text font.
1325
+ */
1326
+ fontFamily: string;
1327
+ /**
1328
+ * The title of the tool that changes the text size.
1329
+ */
1330
+ fontSize: string;
1331
+ /**
1332
+ * The title of the tool that changes the text color.
1333
+ */
1334
+ foreColor: string;
1335
+ /**
1336
+ * The title of the tool that lets users choose block formats.
1337
+ */
1338
+ format: string;
1339
+ /**
1340
+ * The title of the tool that indents the content.
1341
+ */
1342
+ indent: string;
1343
+ /**
1344
+ * The title of the tool that inserts links to files.
1345
+ */
1346
+ insertFile: string;
1347
+ /**
1348
+ * The title of the tool that inserts images.
1349
+ */
1350
+ insertImage: string;
1351
+ /**
1352
+ * The title of the tool that inserts an ordered list.
1353
+ */
1354
+ insertOrderedList: string;
1355
+ /**
1356
+ * The title of the tool that inserts an unordered list.
1357
+ */
1358
+ insertUnorderedList: string;
1359
+ /**
1360
+ * The title of the tool that makes text italicized.
1361
+ */
1362
+ italic: string;
1363
+ /**
1364
+ * The title of the tool that outdents the content.
1365
+ */
1366
+ outdent: string;
1367
+ /**
1368
+ * The title of the print tool.
1369
+ */
1370
+ print: string;
1371
+ /**
1372
+ * The title of the tool that redos the last action.
1373
+ */
1374
+ redo: string;
1375
+ /**
1376
+ * The title of the tool that selects all content.
1377
+ */
1378
+ selectAll: string;
1379
+ /**
1380
+ * The title of the tool that strikes through text.
1381
+ */
1382
+ strikethrough: string;
1383
+ /**
1384
+ * The title of the tool that makes text subscript.
1385
+ */
1386
+ subscript: string;
1387
+ /**
1388
+ * The title of the tool that makes text superscript.
1389
+ */
1390
+ superscript: string;
1391
+ /**
1392
+ * The title of the tool that underlines text.
1393
+ */
1394
+ underline: string;
1395
+ /**
1396
+ * The title of the tool that undos the last action.
1397
+ */
1398
+ undo: string;
1399
+ /**
1400
+ * The title of the tool that removes hyperlinks.
1401
+ */
1402
+ unlink: string;
1403
+ /**
1404
+ * The title of the tool that shows the editor value as HTML.
1405
+ */
1406
+ viewSource: string;
1407
+ /**
1408
+ * The title of the tool that inserts table.
1409
+ */
1410
+ insertTable: string;
1411
+ /**
1412
+ * The caption for the hint in the insert table tool.
1413
+ *
1414
+ * The message consists of several parts - the amount of rows, the amount of columns, an `x` separator, and a localizable string.
1415
+ * To allow for reordering its parts, the `insertTableHint` input accepts a string with placeholders for the selected rows, selected columns
1416
+ * and the separator. The `{rows}` and `{columns}` placeholders will be replaced internally with the respective actual values. The `{x}` placeholder
1417
+ * shows a separator only when rows and columns are selected.
1418
+ */
1419
+ insertTableHint: string;
1420
+ /**
1421
+ * The title of the tool that adds new column before currently selected column.
1422
+ */
1423
+ addColumnBefore: string;
1424
+ /**
1425
+ * The title of the tool that adds new column after currently selected column.
1426
+ */
1427
+ addColumnAfter: string;
1428
+ /**
1429
+ * The title of the tool that adds new row before currently selected row.
1430
+ */
1431
+ addRowBefore: string;
1432
+ /**
1433
+ * The title of the tool that adds new row after currently selected row.
1434
+ */
1435
+ addRowAfter: string;
1436
+ /**
1437
+ * The title of the tool that deletes a table column.
1438
+ */
1439
+ deleteColumn: string;
1440
+ /**
1441
+ * The title of the tool that deletes a table row.
1442
+ */
1443
+ deleteRow: string;
1444
+ /**
1445
+ * The title of the tool that deletes a table.
1446
+ */
1447
+ deleteTable: string;
1448
+ /**
1449
+ * The title of the tool that merges the currently selected cells.
1450
+ */
1451
+ mergeCells: string;
1452
+ /**
1453
+ * The title of the tool that splits the currently selected cell.
1454
+ */
1455
+ splitCell: string;
1456
+ /**
1457
+ * The label of the **Apply** button in all Editor dialogs.
1458
+ */
1459
+ dialogApply: string;
1460
+ /**
1461
+ * The label of the **Cancel** button in all editor dialogs.
1462
+ */
1463
+ dialogCancel: string;
1464
+ /**
1465
+ * The label of the **Insert** button in all editor dialogs.
1466
+ */
1467
+ dialogInsert: string;
1468
+ /**
1469
+ * The label of the **Update** button in all editor dialogs.
1470
+ */
1471
+ dialogUpdate: string;
1472
+ /**
1473
+ * The caption for the file text in the insertFile dialog.
1474
+ */
1475
+ fileText: string;
1476
+ /**
1477
+ * The caption for the file Title in the insertFile dialog.
1478
+ */
1479
+ fileTitle: string;
1480
+ /**
1481
+ * The caption for the file URL in the insertFile dialog.
1482
+ */
1483
+ fileWebAddress: string;
1484
+ /**
1485
+ * The caption for the image alternate text in the insertImage dialog.
1486
+ */
1487
+ imageAltText: string;
1488
+ /**
1489
+ * The caption for the image height in the insertImage dialog.
1490
+ */
1491
+ imageHeight: string;
1492
+ /**
1493
+ * The caption for the image URL in the insertImage dialog.
1494
+ */
1495
+ imageWebAddress: string;
1496
+ /**
1497
+ * The caption for the image width in the insertImage dialog.
1498
+ */
1499
+ imageWidth: string;
1500
+ /**
1501
+ * The caption for the checkbox for opening the link in a new window in the createLink dialog.
1502
+ */
1503
+ linkOpenInNewWindow: string;
1504
+ /**
1505
+ * The caption for the link text in the createLink dialog.
1506
+ */
1507
+ linkText: string;
1508
+ /**
1509
+ * The caption for the link title in the createLink dialog.
1510
+ */
1511
+ linkTitle: string;
1512
+ /**
1513
+ * The caption for the URL in the createLink dialog.
1514
+ */
1515
+ linkWebAddress: string;
1516
+ static ɵfac: i0.ɵɵFactoryDeclaration<MessagesDirective, never>;
1517
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MessagesDirective, "[kendoEditorMessages]", never, { "alignCenter": { "alias": "alignCenter"; "required": false; }; "alignJustify": { "alias": "alignJustify"; "required": false; }; "alignLeft": { "alias": "alignLeft"; "required": false; }; "alignRight": { "alias": "alignRight"; "required": false; }; "backColor": { "alias": "backColor"; "required": false; }; "blockquote": { "alias": "blockquote"; "required": false; }; "bold": { "alias": "bold"; "required": false; }; "cleanFormatting": { "alias": "cleanFormatting"; "required": false; }; "createLink": { "alias": "createLink"; "required": false; }; "fontFamily": { "alias": "fontFamily"; "required": false; }; "fontSize": { "alias": "fontSize"; "required": false; }; "foreColor": { "alias": "foreColor"; "required": false; }; "format": { "alias": "format"; "required": false; }; "indent": { "alias": "indent"; "required": false; }; "insertFile": { "alias": "insertFile"; "required": false; }; "insertImage": { "alias": "insertImage"; "required": false; }; "insertOrderedList": { "alias": "insertOrderedList"; "required": false; }; "insertUnorderedList": { "alias": "insertUnorderedList"; "required": false; }; "italic": { "alias": "italic"; "required": false; }; "outdent": { "alias": "outdent"; "required": false; }; "print": { "alias": "print"; "required": false; }; "redo": { "alias": "redo"; "required": false; }; "selectAll": { "alias": "selectAll"; "required": false; }; "strikethrough": { "alias": "strikethrough"; "required": false; }; "subscript": { "alias": "subscript"; "required": false; }; "superscript": { "alias": "superscript"; "required": false; }; "underline": { "alias": "underline"; "required": false; }; "undo": { "alias": "undo"; "required": false; }; "unlink": { "alias": "unlink"; "required": false; }; "viewSource": { "alias": "viewSource"; "required": false; }; "insertTable": { "alias": "insertTable"; "required": false; }; "insertTableHint": { "alias": "insertTableHint"; "required": false; }; "addColumnBefore": { "alias": "addColumnBefore"; "required": false; }; "addColumnAfter": { "alias": "addColumnAfter"; "required": false; }; "addRowBefore": { "alias": "addRowBefore"; "required": false; }; "addRowAfter": { "alias": "addRowAfter"; "required": false; }; "deleteColumn": { "alias": "deleteColumn"; "required": false; }; "deleteRow": { "alias": "deleteRow"; "required": false; }; "deleteTable": { "alias": "deleteTable"; "required": false; }; "mergeCells": { "alias": "mergeCells"; "required": false; }; "splitCell": { "alias": "splitCell"; "required": false; }; "dialogApply": { "alias": "dialogApply"; "required": false; }; "dialogCancel": { "alias": "dialogCancel"; "required": false; }; "dialogInsert": { "alias": "dialogInsert"; "required": false; }; "dialogUpdate": { "alias": "dialogUpdate"; "required": false; }; "fileText": { "alias": "fileText"; "required": false; }; "fileTitle": { "alias": "fileTitle"; "required": false; }; "fileWebAddress": { "alias": "fileWebAddress"; "required": false; }; "imageAltText": { "alias": "imageAltText"; "required": false; }; "imageHeight": { "alias": "imageHeight"; "required": false; }; "imageWebAddress": { "alias": "imageWebAddress"; "required": false; }; "imageWidth": { "alias": "imageWidth"; "required": false; }; "linkOpenInNewWindow": { "alias": "linkOpenInNewWindow"; "required": false; }; "linkText": { "alias": "linkText"; "required": false; }; "linkTitle": { "alias": "linkTitle"; "required": false; }; "linkWebAddress": { "alias": "linkWebAddress"; "required": false; }; }, {}, never, never, true, never>;
1518
+ }
1519
+
1520
+ /**
1521
+ * Use this component to override the default component messages
1522
+ * ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/globalization#custom-messages)).
1523
+ * @example
1524
+ * ```html
1525
+ * <kendo-editor>
1526
+ * <kendo-editor-messages
1527
+ * bold="Custom Bold"
1528
+ * italic="Custom Italic">
1529
+ * </kendo-editor-messages>
1530
+ * </kendo-editor>
1531
+ * ```
1532
+ */
1533
+ declare class CustomMessagesComponent extends MessagesDirective {
1534
+ protected service: LocalizationService;
1535
+ constructor(service: LocalizationService);
1536
+ protected get override(): boolean;
1537
+ static ɵfac: i0.ɵɵFactoryDeclaration<CustomMessagesComponent, never>;
1538
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CustomMessagesComponent, "kendo-editor-messages", never, {}, {}, never, never, true, never>;
1539
+ }
1540
+
1541
+ /**
1542
+ * Configures a ToolBarButtonComponent as an Editor **Print** tool
1543
+ * ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#built-in-tools)).
1544
+ * This directive sets the SVG icon and `click` event handlers for the button.
1545
+ *
1546
+ * The Editor Print tool works only in the default [`iframe`](https://www.telerik.com/kendo-angular-ui/components/editor/api/editorcomponent#iframe) mode.
1547
+ *
1548
+ * @example
1549
+ * ```html
1550
+ * <kendo-toolbar-button kendoEditorPrintButton></kendo-toolbar-button>
1551
+ * ```
1552
+ * @remarks
1553
+ * Applied to: {@link ToolBarButtonComponent}
1554
+ */
1555
+ declare class EditorPrintDirective extends EditorCommandButton {
1556
+ constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService);
1557
+ ngAfterViewInit(): void;
1558
+ protected clickHandler(): void;
1559
+ static ɵfac: i0.ɵɵFactoryDeclaration<EditorPrintDirective, never>;
1560
+ static ɵdir: i0.ɵɵDirectiveDeclaration<EditorPrintDirective, "kendo-toolbar-button[kendoEditorPrintButton]", never, {}, {}, never, never, true, never>;
1561
+ }
1562
+
1563
+ /**
1564
+ * Configures a ToolBarButtonComponent as an Editor **SelectAll** tool
1565
+ * ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#built-in-tools)).
1566
+ * This directive sets the SVG icon and `click` event handlers for the button.
1567
+ *
1568
+ * @example
1569
+ * ```html
1570
+ * <kendo-toolbar-button kendoEditorSelectAllButton></kendo-toolbar-button>
1571
+ * ```
1572
+ * @remarks
1573
+ * Applied to: {@link ToolBarButtonComponent}
1574
+ */
1575
+ declare class EditorSelectAllButtonDirective extends EditorCommandButton {
1576
+ constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService);
1577
+ protected clickHandler(): void;
1578
+ static ɵfac: i0.ɵɵFactoryDeclaration<EditorSelectAllButtonDirective, never>;
1579
+ static ɵdir: i0.ɵɵDirectiveDeclaration<EditorSelectAllButtonDirective, "kendo-toolbar-button[kendoEditorSelectAllButton]", never, {}, {}, never, never, true, never>;
1580
+ }
1581
+
1582
+ /**
1583
+ * Configures a ToolBarButtonComponent as an Editor **Blockquote** tool ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#built-in-tools)).
1584
+ * The directive predefines the SVG icon and `click` event handlers of the button.
1585
+ *
1586
+ * @example
1587
+ * ```html
1588
+ * <kendo-toolbar-button kendoEditorBlockquoteButton></kendo-toolbar-button>
1589
+ * ```
1590
+ * @remarks
1591
+ * Applied to: {@link ToolBarButtonComponent}
1592
+ */
1593
+ declare class EditorBlockquoteDirective extends EditorCommandButton {
1594
+ constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService);
1595
+ static ɵfac: i0.ɵɵFactoryDeclaration<EditorBlockquoteDirective, never>;
1596
+ static ɵdir: i0.ɵɵDirectiveDeclaration<EditorBlockquoteDirective, "kendo-toolbar-button[kendoEditorBlockquoteButton]", never, {}, {}, never, never, true, never>;
1597
+ }
1598
+
1599
+ /**
1600
+ * Represents a single item in the font size DropDownList.
1601
+ *
1602
+ * @example
1603
+ * ```typescript
1604
+ * const fontSizeItem: FontSizeItem = {
1605
+ * size: 14,
1606
+ * text: '14px'
1607
+ * };
1608
+ * ```
1609
+ */
1610
+ interface FontSizeItem {
1611
+ /**
1612
+ * Sets the value of the [`font-size`](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size) CSS property.
1613
+ */
1614
+ size: number | string;
1615
+ /**
1616
+ * Sets the display text for the font size in the DropDownList.
1617
+ */
1618
+ text: string;
1619
+ }
1620
+
1621
+ /**
1622
+ * @hidden
1623
+ */
1624
+ declare class FontSizeDropDownListComponent {
1625
+ data: FontSizeItem[];
1626
+ value: string;
1627
+ defaultItem: FontSizeItem;
1628
+ itemDisabled: ItemDisabledFn;
1629
+ title: string;
1630
+ disabled: boolean;
1631
+ tabindex: number;
1632
+ valueChange: EventEmitter<string>;
1633
+ element: ElementRef;
1634
+ dropDownList: DropDownListComponent;
1635
+ onValueChange(size: string): void;
1636
+ focus(): void;
1637
+ static ɵfac: i0.ɵɵFactoryDeclaration<FontSizeDropDownListComponent, never>;
1638
+ static ɵcmp: i0.ɵɵComponentDeclaration<FontSizeDropDownListComponent, "kendo-editor-fontsize-dropdownlist", never, { "data": { "alias": "data"; "required": false; }; "value": { "alias": "value"; "required": false; }; "defaultItem": { "alias": "defaultItem"; "required": false; }; "itemDisabled": { "alias": "itemDisabled"; "required": false; }; "title": { "alias": "title"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
1639
+ }
1640
+
1641
+ /**
1642
+ * Configures a DropDownListComponent as an Editor tool ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#built-in-tools)).
1643
+ * Use this component to associate a `kendo-dropdownlist` with an Editor command that changes the font size of a content block.
1644
+ * The component automatically sets the options and values of the drop-down list.
1645
+ * ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#dropdownlists))
1646
+ *
1647
+ * @example
1648
+ * ```html
1649
+ * <kendo-editor>
1650
+ * <kendo-toolbar>
1651
+ * <kendo-toolbar-dropdownlist kendoEditorFontSize></kendo-toolbar-dropdownlist>
1652
+ * </kendo-toolbar>
1653
+ * </kendo-editor>
1654
+ * ```
1655
+ */
1656
+ declare class EditorFontSizeComponent extends ToolBarToolComponent {
1657
+ private dialogService;
1658
+ private localization;
1659
+ private toolsService;
1660
+ private renderer;
1661
+ value: string;
1662
+ disabled: boolean;
1663
+ tabindex: number;
1664
+ /**
1665
+ * Overrides the default font size list.
1666
+ * Treat numeric values as pixels.
1667
+ */
1668
+ set data(sizes: FontSizeItem[]);
1669
+ get data(): FontSizeItem[];
1670
+ /**
1671
+ * Fires when the user updates the value of the drop-down list.
1672
+ */
1673
+ valueChange: EventEmitter<FontSizeItem>;
1674
+ element: ElementRef;
1675
+ fontSizeDropDownList: FontSizeDropDownListComponent;
1676
+ fontSizeButton: ElementRef;
1677
+ /**
1678
+ * @hidden
1679
+ */
1680
+ defaultItem: FontSizeItem;
1681
+ fontSizeSVGIcon: SVGIcon;
1682
+ /**
1683
+ * @hidden
1684
+ */
1685
+ itemDisabled: ItemDisabledFn;
1686
+ private subs;
1687
+ private editor;
1688
+ private _data;
1689
+ constructor(dialogService: DialogService, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService, renderer: Renderer2);
1690
+ ngOnInit(): void;
1691
+ /**
1692
+ * @hidden
1693
+ */
1694
+ onValueChange(ev: string): void;
1695
+ ngOnDestroy(): void;
1696
+ get outerWidth(): number;
1697
+ get title(): string;
1698
+ /**
1699
+ * @hidden
1700
+ */
1701
+ openDialog(): void;
1702
+ /**
1703
+ * @hidden
1704
+ */
1705
+ canFocus(): boolean;
1706
+ /**
1707
+ * @hidden
1708
+ */
1709
+ focus(): void;
1710
+ /**
1711
+ * @hidden
1712
+ */
1713
+ handleKey(): boolean;
1714
+ static ɵfac: i0.ɵɵFactoryDeclaration<EditorFontSizeComponent, never>;
1715
+ static ɵcmp: i0.ɵɵComponentDeclaration<EditorFontSizeComponent, "kendo-toolbar-dropdownlist[kendoEditorFontSize]", never, { "data": { "alias": "data"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
1716
+ }
1717
+
1718
+ /**
1719
+ * Represents a single font in the font family DropDownList.
1720
+ *
1721
+ * @example
1722
+ * ```typescript
1723
+ * const fontItem: FontFamilyItem = {
1724
+ * fontName: 'Arial, Helvetica, sans-serif',
1725
+ * text: 'Arial'
1726
+ * };
1727
+ * ```
1728
+ */
1729
+ interface FontFamilyItem {
1730
+ /**
1731
+ * Sets the value of the [`font-family`](https://developer.mozilla.org/en-US/docs/Web/CSS/font-family) CSS property.
1732
+ */
1733
+ fontName: string;
1734
+ /**
1735
+ * Sets the display text for the font in the DropDownList.
1736
+ */
1737
+ text: string;
1738
+ }
1739
+
1740
+ /**
1741
+ * @hidden
1742
+ */
1743
+ declare class FontFamilyDropDownListComponent {
1744
+ data: FontFamilyItem[];
1745
+ value: string;
1746
+ defaultItem: FontFamilyItem;
1747
+ itemDisabled: ItemDisabledFn;
1748
+ title: string;
1749
+ disabled: boolean;
1750
+ tabindex: number;
1751
+ valueChange: EventEmitter<string>;
1752
+ element: ElementRef;
1753
+ dropDownList: DropDownListComponent;
1754
+ onValueChange(tag: string): void;
1755
+ focus(): void;
1756
+ static ɵfac: i0.ɵɵFactoryDeclaration<FontFamilyDropDownListComponent, never>;
1757
+ static ɵcmp: i0.ɵɵComponentDeclaration<FontFamilyDropDownListComponent, "kendo-editor-fontfamily-dropdownlist", never, { "data": { "alias": "data"; "required": false; }; "value": { "alias": "value"; "required": false; }; "defaultItem": { "alias": "defaultItem"; "required": false; }; "itemDisabled": { "alias": "itemDisabled"; "required": false; }; "title": { "alias": "title"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
1758
+ }
1759
+
1760
+ /**
1761
+ * Configures a DropDownListComponent as an Editor tool ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#built-in-tools)).
1762
+ * Use this component to associate a kendo-toolbar-dropdownlist with an Editor command that changes the font family of a content block.
1763
+ * The component automatically sets the options and values of the drop-down list ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#dropdownlists)).
1764
+ *
1765
+ * @example
1766
+ * ```html
1767
+ * <kendo-editor>
1768
+ * <kendo-toolbar>
1769
+ * <kendo-toolbar-dropdownlist kendoEditorFontFamily></kendo-toolbar-dropdownlist>
1770
+ * </kendo-toolbar>
1771
+ * </kendo-editor>
1772
+ * ```
1773
+ */
1774
+ declare class EditorFontFamilyComponent extends ToolBarToolComponent {
1775
+ private dialogService;
1776
+ private localization;
1777
+ private toolsService;
1778
+ private renderer;
1779
+ value: string;
1780
+ disabled: boolean;
1781
+ tabindex: number;
1782
+ /**
1783
+ * Overrides the default font list.
1784
+ */
1785
+ set data(fonts: FontFamilyItem[]);
1786
+ get data(): FontFamilyItem[];
1787
+ /**
1788
+ * Fires when the user updates the value of the drop-down list.
1789
+ */
1790
+ valueChange: EventEmitter<FontFamilyItem>;
1791
+ element: ElementRef;
1792
+ fontFamilyDropDownList: FontFamilyDropDownListComponent;
1793
+ fontFamilyButton: ElementRef;
1794
+ /**
1795
+ * @hidden
1796
+ */
1797
+ defaultItem: FontFamilyItem;
1798
+ /**
1799
+ * @hidden
1800
+ */
1801
+ itemDisabled: (itemArgs: {
1802
+ dataItem: any;
1803
+ index: number;
1804
+ }) => boolean;
1805
+ fontFamilySVGIcon: SVGIcon;
1806
+ private subs;
1807
+ private editor;
1808
+ private _data;
1809
+ constructor(dialogService: DialogService, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService, renderer: Renderer2);
1810
+ ngOnInit(): void;
1811
+ /**
1812
+ * @hidden
1813
+ */
1814
+ onValueChange(ev: string): void;
1815
+ ngOnDestroy(): void;
1816
+ get outerWidth(): number;
1817
+ get title(): string;
1818
+ /**
1819
+ * @hidden
1820
+ */
1821
+ openDialog(): void;
1822
+ /**
1823
+ * @hidden
1824
+ */
1825
+ canFocus(): boolean;
1826
+ /**
1827
+ * @hidden
1828
+ */
1829
+ focus(): void;
1830
+ /**
1831
+ * @hidden
1832
+ */
1833
+ handleKey(): boolean;
1834
+ static ɵfac: i0.ɵɵFactoryDeclaration<EditorFontFamilyComponent, never>;
1835
+ static ɵcmp: i0.ɵɵComponentDeclaration<EditorFontFamilyComponent, "kendo-toolbar-dropdownlist[kendoEditorFontFamily]", never, { "data": { "alias": "data"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
1836
+ }
1837
+
1838
+ /**
1839
+ * Represents a single item in the formatting DropDownList.
1840
+ *
1841
+ * @example
1842
+ * ```typescript
1843
+ * const formatItem: FormatItem = {
1844
+ * tag: 'h1',
1845
+ * text: 'Heading 1'
1846
+ * };
1847
+ * ```
1848
+ */
1849
+ interface FormatItem {
1850
+ /**
1851
+ * Sets the tag to apply.
1852
+ */
1853
+ tag: 'p' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
1854
+ /**
1855
+ * Sets the display text for the tag in the DropDownList.
1856
+ */
1857
+ text: string;
1858
+ }
1859
+
1860
+ /**
1861
+ * @hidden
1862
+ */
1863
+ declare class FormatDropDownListComponent {
1864
+ data: FormatItem[];
1865
+ value: string;
1866
+ defaultItem: FormatItem;
1867
+ itemDisabled: ItemDisabledFn;
1868
+ title: string;
1869
+ disabled: boolean;
1870
+ tabindex: number;
1871
+ valueChange: EventEmitter<string>;
1872
+ element: ElementRef;
1873
+ dropDownList: DropDownListComponent;
1874
+ onValueChange(tag: string): void;
1875
+ focus(): void;
1876
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormatDropDownListComponent, never>;
1877
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormatDropDownListComponent, "kendo-editor-format-dropdownlist", never, { "data": { "alias": "data"; "required": false; }; "value": { "alias": "value"; "required": false; }; "defaultItem": { "alias": "defaultItem"; "required": false; }; "itemDisabled": { "alias": "itemDisabled"; "required": false; }; "title": { "alias": "title"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
1878
+ }
1879
+
1880
+ /**
1881
+ * Configures a DropDownListComponent as an Editor tool
1882
+ * ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#built-in-tools)).
1883
+ * Associates a `kendo-dropdownlist` with an Editor command that changes the format of a content block.
1884
+ * Automatically sets the options and values of the DropDownList ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#dropdownlists)).
1885
+ *
1886
+ * @example
1887
+ * ```html
1888
+ * <kendo-editor>
1889
+ * <kendo-toolbar>
1890
+ * <kendo-toolbar-dropdownlist kendoEditorFormat></kendo-toolbar-dropdownlist>
1891
+ * </kendo-toolbar>
1892
+ * </kendo-editor>
1893
+ * ```
1894
+ */
1895
+ declare class EditorFormatComponent extends ToolBarToolComponent {
1896
+ private dialogService;
1897
+ private localization;
1898
+ private toolsService;
1899
+ private renderer;
1900
+ value: string;
1901
+ defaultItem: FormatItem;
1902
+ itemDisabled: ItemDisabledFn;
1903
+ disabled: boolean;
1904
+ tabindex: number;
1905
+ /**
1906
+ * Sets the format items list. Use this property to override the default list.
1907
+ */
1908
+ set data(formatItems: FormatItem[]);
1909
+ get data(): FormatItem[];
1910
+ /**
1911
+ * Emits when the value of the DropDownList changes.
1912
+ */
1913
+ valueChange: EventEmitter<FormatItem>;
1914
+ formatDropDownList: FormatDropDownListComponent;
1915
+ formatButton: ElementRef;
1916
+ private subs;
1917
+ private _data;
1918
+ applyFormatSVGIcon: SVGIcon;
1919
+ private editor;
1920
+ constructor(dialogService: DialogService, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService, renderer: Renderer2);
1921
+ ngOnInit(): void;
1922
+ /**
1923
+ * @hidden
1924
+ */
1925
+ onValueChange(ev: string): void;
1926
+ ngOnDestroy(): void;
1927
+ get outerWidth(): number;
1928
+ get title(): string;
1929
+ /**
1930
+ * @hidden
1931
+ */
1932
+ openDialog(): void;
1933
+ /**
1934
+ * @hidden
1935
+ */
1936
+ canFocus(): boolean;
1937
+ /**
1938
+ * @hidden
1939
+ */
1940
+ focus(): void;
1941
+ /**
1942
+ * @hidden
1943
+ */
1944
+ handleKey(): boolean;
1945
+ static ɵfac: i0.ɵɵFactoryDeclaration<EditorFormatComponent, never>;
1946
+ static ɵcmp: i0.ɵɵComponentDeclaration<EditorFormatComponent, "kendo-toolbar-dropdownlist[kendoEditorFormat]", never, { "data": { "alias": "data"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
1947
+ }
1948
+
1949
+ /**
1950
+ * @hidden
1951
+ */
1952
+ interface TableData {
1953
+ rows: number;
1954
+ cols: number;
1955
+ }
1956
+
1957
+ /**
1958
+ * Represents toolbar component which allows creating and insertig a table in the Editor's content.
1959
+ *
1960
+ * Use this toolbar component to let users create and insert a table in the Editor's content.
1961
+ *
1962
+ * @example
1963
+ * ```html
1964
+ * <kendo-editor>
1965
+ * <kendo-toolbar>
1966
+ * <kendo-editor-insert-table-button></kendo-editor-insert-table-button>
1967
+ * </kendo-toolbar>
1968
+ * </kendo-editor>
1969
+ * ```
1970
+ */
1971
+ declare class EditorInsertTableButtonComponent extends ToolBarToolComponent implements OnDestroy {
1972
+ private localization;
1973
+ private popupService;
1974
+ private dialogService;
1975
+ private renderer;
1976
+ element: ElementRef;
1977
+ overflowElement: ElementRef;
1978
+ popupGridTemplate: TemplateRef<any>;
1979
+ /**
1980
+ * @hidden
1981
+ */
1982
+ popupRef: PopupRef;
1983
+ /**
1984
+ * @hidden
1985
+ */
1986
+ disabled: boolean;
1987
+ addTableSVGIcon: SVGIcon;
1988
+ private open;
1989
+ private buttonBlurred;
1990
+ private cellClicked;
1991
+ private subs;
1992
+ private editor;
1993
+ constructor(localization: EditorLocalizationService, popupService: PopupService, dialogService: DialogService, providerService: ProviderService, renderer: Renderer2);
1994
+ ngOnDestroy(): void;
1995
+ get outerWidth(): number;
1996
+ get title(): string;
1997
+ /**
1998
+ * @hidden
1999
+ */
2000
+ toggle(open?: boolean): void;
2001
+ /**
2002
+ * @hidden
2003
+ */
2004
+ openDialog(): void;
2005
+ /**
2006
+ * @hidden
2007
+ */
2008
+ onBlur(): void;
2009
+ /**
2010
+ * @hidden
2011
+ */
2012
+ onCellClick(args: TableData): void;
2013
+ /**
2014
+ * @hidden
2015
+ */
2016
+ canFocus(): boolean;
2017
+ /**
2018
+ * @hidden
2019
+ */
2020
+ focus(): void;
2021
+ /**
2022
+ * @hidden
2023
+ */
2024
+ handleKey(ev: any): boolean;
2025
+ private createPopup;
2026
+ private destroyPopup;
2027
+ private getButton;
2028
+ static ɵfac: i0.ɵɵFactoryDeclaration<EditorInsertTableButtonComponent, never>;
2029
+ static ɵcmp: i0.ɵɵComponentDeclaration<EditorInsertTableButtonComponent, "kendo-editor-insert-table-button", never, {}, {}, never, never, true, never>;
2030
+ }
2031
+
2032
+ /**
2033
+ * @hidden
2034
+ *
2035
+ * Configures an existing ToolBarButtonComponent as an Editor **MergeCells** tool
2036
+ * ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#built-in-tools)).
2037
+ * The directive predefines the `icon` and `click` event handlers of the button.
2038
+ * It also updates the `disabled` state of the button based on the cursor position in the editing area.
2039
+ *
2040
+ * @example
2041
+ * ```html
2042
+ * <kendo-toolbar-button kendoEditorMergeCellsButton></kendo-toolbar-button>
2043
+ * ```
2044
+ * @remarks
2045
+ * Applied to: {@link ToolBarButtonComponent}
2046
+ */
2047
+ declare class EditorMergeCellsButtonDirective extends EditorCommandButton {
2048
+ constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService);
2049
+ static ɵfac: i0.ɵɵFactoryDeclaration<EditorMergeCellsButtonDirective, never>;
2050
+ static ɵdir: i0.ɵɵDirectiveDeclaration<EditorMergeCellsButtonDirective, "kendo-toolbar-button[kendoEditorMergeCellsButton]", never, {}, {}, never, never, true, never>;
2051
+ }
2052
+
2053
+ /**
2054
+ * @hidden
2055
+ *
2056
+ * Configures an existing ToolBarButtonComponent as an Editor SplitCell tool
2057
+ * ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#built-in-tools)).
2058
+ * The directive predefines the `icon` and `click` event handlers of the button.
2059
+ * It also updates the `disabled` state of the button based on the cursor position in the editing area.
2060
+ *
2061
+ * @example
2062
+ * ```html
2063
+ * <kendo-toolbar-button kendoEditorSplitCellButton></kendo-toolbar-button>
2064
+ * ```
2065
+ * @remarks
2066
+ * Applied to: {@link ToolBarButtonComponent}
2067
+ */
2068
+ declare class EditorSplitCellButtonDirective extends EditorCommandButton {
2069
+ constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService);
2070
+ static ɵfac: i0.ɵɵFactoryDeclaration<EditorSplitCellButtonDirective, never>;
2071
+ static ɵdir: i0.ɵɵDirectiveDeclaration<EditorSplitCellButtonDirective, "kendo-toolbar-button[kendoEditorSplitCellButton]", never, {}, {}, never, never, true, never>;
2072
+ }
2073
+
2074
+ /**
2075
+ * Represents the [`NgModule`](link:site.data.urls.angular['ngmoduleapi']) for the Editor component.
2076
+ * Use this module to import the Editor and its related directives and services into your NgModule-based Angular application.
2077
+ *
2078
+ * @example
2079
+ * ```ts
2080
+ * import { NgModule } from '@angular/core';
2081
+ * import { EditorModule } from '@progress/kendo-angular-editor';
2082
+ * import { BrowserModule } from "@angular/platform-browser";
2083
+ * import { AppComponent } from './app.component';
2084
+ *
2085
+ * @NgModule({
2086
+ * declarations: [AppComponent],
2087
+ * imports: [BrowserModule, EditorModule],
2088
+ * bootstrap: [AppComponent]
2089
+ * })
2090
+ * export class AppModule {}
2091
+ * ```
2092
+ */
2093
+ declare class EditorModule {
2094
+ static ɵfac: i0.ɵɵFactoryDeclaration<EditorModule, never>;
2095
+ static ɵmod: i0.ɵɵNgModuleDeclaration<EditorModule, never, [typeof EditorComponent, typeof EditorAlignLeftButtonDirective, typeof EditorAlignCenterButtonDirective, typeof EditorAlignRightButtonDirective, typeof EditorAlignJustifyButtonDirective, typeof EditorInsertFileButtonDirective, typeof EditorRedoButtonDirective, typeof EditorUndoButtonDirective, typeof EditorInsertImageButtonDirective, typeof EditorIndentButtonDirective, typeof EditorOutdentButtonDirective, typeof EditorCreateLinkButtonDirective, typeof EditorUnlinkButtonDirective, typeof EditorInsertOrderedListButtonDirective, typeof EditorInsertUnorderedListButtonDirective, typeof EditorViewSourceButtonDirective, typeof EditorBoldButtonDirective, typeof EditorItalicButtonDirective, typeof EditorUnderlineButtonDirective, typeof EditorStrikethroughButtonDirective, typeof EditorSubscriptButtonDirective, typeof EditorSuperscriptButtonDirective, typeof EditorForeColorDirective, typeof EditorBackColorDirective, typeof EditorCleanFormattingButtonDirective, typeof EditorAddColumnBeforeButtonDirective, typeof EditorAddColumnAfterButtonDirective, typeof EditorAddRowBeforeButtonDirective, typeof EditorAddRowAfterButtonDirective, typeof EditorDeleteColumnButtonDirective, typeof EditorDeleteRowButtonDirective, typeof EditorDeleteTableButtonDirective, typeof CustomMessagesComponent, typeof EditorPrintDirective, typeof EditorSelectAllButtonDirective, typeof EditorBlockquoteDirective, typeof EditorFontSizeComponent, typeof EditorFontFamilyComponent, typeof EditorFormatComponent, typeof EditorColorPickerComponent, typeof EditorInsertTableButtonComponent, typeof EditorMergeCellsButtonDirective, typeof EditorSplitCellButtonDirective, typeof i44.ToolBarComponent, typeof i44.ToolbarCustomMessagesComponent, typeof i44.ToolBarButtonComponent, typeof i44.ToolBarButtonGroupComponent, typeof i44.ToolBarDropDownButtonComponent, typeof i44.ToolBarSeparatorComponent, typeof i44.ToolBarSpacerComponent, typeof i44.ToolBarSplitButtonComponent, typeof i44.ToolBarToolComponent], [typeof EditorComponent, typeof EditorAlignLeftButtonDirective, typeof EditorAlignCenterButtonDirective, typeof EditorAlignRightButtonDirective, typeof EditorAlignJustifyButtonDirective, typeof EditorInsertFileButtonDirective, typeof EditorRedoButtonDirective, typeof EditorUndoButtonDirective, typeof EditorInsertImageButtonDirective, typeof EditorIndentButtonDirective, typeof EditorOutdentButtonDirective, typeof EditorCreateLinkButtonDirective, typeof EditorUnlinkButtonDirective, typeof EditorInsertOrderedListButtonDirective, typeof EditorInsertUnorderedListButtonDirective, typeof EditorViewSourceButtonDirective, typeof EditorBoldButtonDirective, typeof EditorItalicButtonDirective, typeof EditorUnderlineButtonDirective, typeof EditorStrikethroughButtonDirective, typeof EditorSubscriptButtonDirective, typeof EditorSuperscriptButtonDirective, typeof EditorForeColorDirective, typeof EditorBackColorDirective, typeof EditorCleanFormattingButtonDirective, typeof EditorAddColumnBeforeButtonDirective, typeof EditorAddColumnAfterButtonDirective, typeof EditorAddRowBeforeButtonDirective, typeof EditorAddRowAfterButtonDirective, typeof EditorDeleteColumnButtonDirective, typeof EditorDeleteRowButtonDirective, typeof EditorDeleteTableButtonDirective, typeof CustomMessagesComponent, typeof EditorPrintDirective, typeof EditorSelectAllButtonDirective, typeof EditorBlockquoteDirective, typeof EditorFontSizeComponent, typeof EditorFontFamilyComponent, typeof EditorFormatComponent, typeof EditorColorPickerComponent, typeof EditorInsertTableButtonComponent, typeof EditorMergeCellsButtonDirective, typeof EditorSplitCellButtonDirective, typeof i44.ToolBarComponent, typeof i44.ToolbarCustomMessagesComponent, typeof i44.ToolBarButtonComponent, typeof i44.ToolBarButtonGroupComponent, typeof i44.ToolBarDropDownButtonComponent, typeof i44.ToolBarSeparatorComponent, typeof i44.ToolBarSpacerComponent, typeof i44.ToolBarSplitButtonComponent, typeof i44.ToolBarToolComponent]>;
2096
+ static ɵinj: i0.ɵɵInjectorDeclaration<EditorModule>;
2097
+ }
2098
+
2099
+ /**
2100
+ * @hidden
2101
+ */
2102
+ declare const schema: Schema<string, string>;
2103
+
2104
+ /**
2105
+ * Extracts the text from the current editor state's selection ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/plugins#popup-tools)).
2106
+ *
2107
+ * @example
2108
+ * ```ts
2109
+ * import { getSelectionText } from '@progress/kendo-angular-editor';
2110
+ *
2111
+ * export class AppComponent {
2112
+ * @ViewChild('editor') public editor;
2113
+ * public onClick() {
2114
+ * const selection = getSelectionText(this.editor.view.state);
2115
+ * }
2116
+ * }
2117
+ * ```
2118
+ * @param state The current `EditorState`.
2119
+ * @returns The selected text.
2120
+ */
2121
+ declare const getSelectionText: (state: EditorState) => string;
2122
+
2123
+ /**
2124
+ * @hidden
2125
+ */
2126
+ declare class PopupTableGridComponent {
2127
+ private localization;
2128
+ cellClick: EventEmitter<TableData>;
2129
+ tableWizardClick: EventEmitter<any>;
2130
+ tableWizardIcon: SVGIcon;
2131
+ private state;
2132
+ private rows;
2133
+ private cols;
2134
+ constructor(localization: EditorLocalizationService);
2135
+ get message(): string;
2136
+ get cells(): any[];
2137
+ selected(index: number): boolean;
2138
+ setState(index: number): void;
2139
+ resetState(): void;
2140
+ insertTable(): void;
2141
+ openTableWizard(): void;
2142
+ static ɵfac: i0.ɵɵFactoryDeclaration<PopupTableGridComponent, never>;
2143
+ static ɵcmp: i0.ɵɵComponentDeclaration<PopupTableGridComponent, "kendo-popup-table-grid", never, {}, { "cellClick": "cellClick"; "tableWizardClick": "tableWizardClick"; }, never, never, true, never>;
2144
+ }
2145
+
2146
+ /**
2147
+ * @hidden
2148
+ */
2149
+ declare class LocalizedMessagesDirective extends MessagesDirective {
2150
+ protected service: LocalizationService;
2151
+ constructor(service: LocalizationService);
2152
+ static ɵfac: i0.ɵɵFactoryDeclaration<LocalizedMessagesDirective, never>;
2153
+ static ɵdir: i0.ɵɵDirectiveDeclaration<LocalizedMessagesDirective, "[kendoEditorLocalizedMessages]", never, {}, {}, never, never, true, never>;
2154
+ }
2155
+
2156
+ /**
2157
+ * @hidden
2158
+ */
2159
+ declare class DropDownToolDirective {
2160
+ private hostEl;
2161
+ private zone;
2162
+ private get hostElement();
2163
+ constructor(hostEl: ElementRef, zone: NgZone);
2164
+ ngAfterViewInit(): void;
2165
+ ngOnDestroy(): void;
2166
+ private preventDefault;
2167
+ static ɵfac: i0.ɵɵFactoryDeclaration<DropDownToolDirective, never>;
2168
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DropDownToolDirective, "[kendoEditorDropDownTool]", never, {}, {}, never, never, true, never>;
2169
+ }
2170
+
2171
+ /**
2172
+ * Utility array that contains all `Editor` related components and directives.
2173
+ */
2174
+ declare const KENDO_EDITOR: readonly [typeof EditorComponent, typeof EditorAlignLeftButtonDirective, typeof EditorAlignCenterButtonDirective, typeof EditorAlignRightButtonDirective, typeof EditorAlignJustifyButtonDirective, typeof EditorInsertFileButtonDirective, typeof EditorRedoButtonDirective, typeof EditorUndoButtonDirective, typeof EditorInsertImageButtonDirective, typeof EditorIndentButtonDirective, typeof EditorOutdentButtonDirective, typeof EditorCreateLinkButtonDirective, typeof EditorUnlinkButtonDirective, typeof EditorInsertOrderedListButtonDirective, typeof EditorInsertUnorderedListButtonDirective, typeof EditorViewSourceButtonDirective, typeof EditorBoldButtonDirective, typeof EditorItalicButtonDirective, typeof EditorUnderlineButtonDirective, typeof EditorStrikethroughButtonDirective, typeof EditorSubscriptButtonDirective, typeof EditorSuperscriptButtonDirective, typeof EditorForeColorDirective, typeof EditorBackColorDirective, typeof EditorCleanFormattingButtonDirective, typeof EditorAddColumnBeforeButtonDirective, typeof EditorAddColumnAfterButtonDirective, typeof EditorAddRowBeforeButtonDirective, typeof EditorAddRowAfterButtonDirective, typeof EditorDeleteColumnButtonDirective, typeof EditorDeleteRowButtonDirective, typeof EditorDeleteTableButtonDirective, typeof CustomMessagesComponent, typeof EditorPrintDirective, typeof EditorSelectAllButtonDirective, typeof EditorBlockquoteDirective, typeof EditorFontSizeComponent, typeof EditorFontFamilyComponent, typeof EditorFormatComponent, typeof EditorColorPickerComponent, typeof EditorInsertTableButtonComponent, typeof EditorMergeCellsButtonDirective, typeof EditorSplitCellButtonDirective];
2175
+
2176
+ export { CustomMessagesComponent, DropDownToolDirective, EditorAddColumnAfterButtonDirective, EditorAddColumnBeforeButtonDirective, EditorAddRowAfterButtonDirective, EditorAddRowBeforeButtonDirective, EditorAlignCenterButtonDirective, EditorAlignJustifyButtonDirective, EditorAlignLeftButtonDirective, EditorAlignRightButtonDirective, EditorBackColorDirective, EditorBlockquoteDirective, EditorBoldButtonDirective, EditorCleanFormattingButtonDirective, EditorColorPickerComponent, EditorComponent, EditorCreateLinkButtonDirective, EditorDeleteColumnButtonDirective, EditorDeleteRowButtonDirective, EditorDeleteTableButtonDirective, EditorFontFamilyComponent, EditorFontSizeComponent, EditorForeColorDirective, EditorFormatComponent, EditorIndentButtonDirective, EditorInsertFileButtonDirective, EditorInsertImageButtonDirective, EditorInsertOrderedListButtonDirective, EditorInsertTableButtonComponent, EditorInsertUnorderedListButtonDirective, EditorItalicButtonDirective, EditorLocalizationService, EditorMergeCellsButtonDirective, EditorModule, EditorOutdentButtonDirective, EditorPasteEvent, EditorPrintDirective, EditorRedoButtonDirective, EditorSelectAllButtonDirective, EditorSplitCellButtonDirective, EditorStrikethroughButtonDirective, EditorSubscriptButtonDirective, EditorSuperscriptButtonDirective, EditorUnderlineButtonDirective, EditorUndoButtonDirective, EditorUnlinkButtonDirective, EditorViewSourceButtonDirective, FontFamilyDropDownListComponent, FontSizeDropDownListComponent, FormatDropDownListComponent, KENDO_EDITOR, LocalizedMessagesDirective, PopupTableGridComponent, PreventableEvent, getSelectionText, schema };
2177
+ export type { ApplyToWordOptions, DialogCommand, EditorCommand, EditorCssSettings, EditorResizableOptions, FontFamilyItem, FontSizeItem, FormatItem, PasteCleanupSettings, PluginsFn };