/**-----------------------------------------------------------------------------------------
* Copyright © 2026 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
import * as i0 from '@angular/core';
import { NgZone, AfterViewInit, EventEmitter, ElementRef, ViewContainerRef, ChangeDetectorRef, Renderer2, Injector, SimpleChanges, OnDestroy, TemplateRef } from '@angular/core';
import { ControlValueAccessor } from '@angular/forms';
import { Subject, BehaviorSubject, Subscription } from 'rxjs';
import * as i44 from '@progress/kendo-angular-toolbar';
import { ToolBarComponent, ToolBarButtonComponent, ToolBarToolComponent } from '@progress/kendo-angular-toolbar';
import { DialogService } from '@progress/kendo-angular-dialog';
import { Plugin, Schema, EditorView, EditorState } from '@progress/kendo-editor-common';
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';
import { LicenseMessage } from '@progress/kendo-licensing';
import { LocalizationService, MessageService, ComponentMessages } from '@progress/kendo-angular-l10n';
import { PaletteSettings, ColorPickerView, ActiveColorClickEvent } from '@progress/kendo-angular-inputs';
import { SVGIcon } from '@progress/kendo-svg-icons';
import { ItemDisabledFn, DropDownListComponent } from '@progress/kendo-angular-dropdowns';
import { PopupRef, PopupService } from '@progress/kendo-angular-popup';
/**
* @hidden
*/
type Direction = 'rtl' | 'ltr';
/**
* @hidden
*/
type EditorInternalCommand = 'print';
/**
* Lists the command names accepted by the `exec` method.
*/
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';
/**
* Lists the dialog commands accepted by the `openDialog` method.
*
* Supported dialog commands:
* - `createLink`
* - `viewSource`
* - `insertFile`
* - `insertImage`
* - `tableWizard`
*
* @example
* ```typescript
* // Open a `createLink` dialog.
* editor.openDialog('createLink');
*
* // Open a `viewSource` dialog.
* editor.openDialog('viewSource');
* ```
*/
type DialogCommand = 'createLink' | 'insertFile' | 'insertImage' | 'viewSource';
/**
* Represents the configuration options for Paste Cleanup ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/paste-cleanup)).
*
* @example
* ```typescript
* const settings: PasteCleanupSettings = {
* convertMsLists: true,
* removeHtmlComments: true,
* stripTags: ['span'],
* removeAttributes: ['lang'],
* removeMsClasses: true,
* removeMsStyles: true,
* removeInvalidHTML: true
* };
* ```
*/
interface PasteCleanupSettings {
/**
* Converts MS Word lists to HTML lists when set to `true`.
*/
convertMsLists?: boolean;
/**
* Removes HTML comments when set to `true`.
*
* For example, `
content
` becomes ` content
`.
*/
removeHtmlComments?: boolean;
/**
* Removes the specified tags from the HTML.
*
* For example, with `stripTags: ['span']`, `content
` becomes `content
`.
*/
stripTags?: string[];
/**
* Removes the specified DOM attributes from the HTML.
* Set to `'all'` to remove every attribute.
* Set to an array to remove specific attributes.
*
* For example, with `removeAttributes: ['lang']`, `content
` becomes `content
`.
*/
removeAttributes?: string[] | 'all';
/**
* Removes class attributes starting with 'Mso' when set to `true`.
*
* For example, `pasted from MS Word
` becomes `pasted from MS Word
`.
*/
removeMsClasses?: boolean;
/**
* Removes style attributes starting with 'Mso' when set to `true`.
*
* For example, `content
` becomes `content
`.
*/
removeMsStyles?: boolean;
/**
* Removes invalid HTML when set to `true`.
*
* For example, `content ,
` becomes `content
`.
*/
removeInvalidHTML?: boolean;
}
/**
* Represents the callback used by the
* [`plugins`](https://www.telerik.com/kendo-angular-ui/components/editor/api/editorcomponent#plugins) property.
*
* @example
* ```typescript
* pluginsCallback(defaultPlugins: Plugin[]): Plugin[] {
* const myPlugin = new Plugin({/ custom plugin code /});
* return [...defaultPlugins, myPlugin];
* }
* ```
*/
type PluginsFn = (args: Plugin[]) => Plugin[];
/**
* Represents the options for applying a command to the "word" at the cursor position.
* 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)).
*
* @example
* ```typescript
* const options: ApplyToWordOptions = {
* before: /\s/,
* after: /\s/
* };
* ```
*/
interface ApplyToWordOptions {
/**
* Defines the regular expression for the start boundary of the word before the cursor.
*/
before: RegExp;
/**
* Defines the regular expression for the end boundary of the word after the cursor.
*/
after: RegExp;
}
/**
* @hidden
*/
declare class ProviderService {
editor: EditorComponent;
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵprov: i0.ɵɵInjectableDeclaration;
}
/**
* Represents the size restrictions for the resizable Editor ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/resizing#resizing-the-editor)).
*
* @example
* ```typescript
* const options: EditorResizableOptions = {
* minWidth: 200,
* minHeight: 100,
* maxWidth: 800,
* maxHeight: 600
* };
* ```
*/
interface EditorResizableOptions {
/**
* Sets the minimum width of the resizable Editor in pixels.
*/
minWidth?: number;
/**
* Sets the minimum height of the resizable Editor in pixels.
*/
minHeight?: number;
/**
* Sets the maximum width of the resizable Editor in pixels.
*/
maxWidth?: number;
/**
* Sets the maximum height of the resizable Editor in pixels.
*/
maxHeight?: number;
}
/**
* @hidden
*/
declare class EditorToolsService {
zone: NgZone;
needsCheck: Subject;
constructor(zone: NgZone);
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵprov: i0.ɵɵInjectableDeclaration;
}
/**
* @hidden
*/
declare abstract class PreventableEvent {
private prevented;
/**
* Prevents the default action for a specified event.
* In this way, the source component suppresses the built-in behavior that follows the event.
*/
preventDefault(): void;
/**
* If the event is prevented by any of its subscribers, returns `true`.
*
* @returns `true` if the default action was prevented. Otherwise, returns `false`.
*/
isDefaultPrevented(): boolean;
}
/**
* Fires when the Editor [`paste`](https://www.telerik.com/kendo-angular-ui/components/editor/api/editorcomponent#paste) event occurs.
*/
declare class EditorPasteEvent extends PreventableEvent {
/**
* Contains the HTML content cleaned according to the [`PasteCleanupSettings`](https://www.telerik.com/kendo-angular-ui/components/editor/paste-cleanup).
*/
cleanedHtml: string;
/**
* Contains the raw pasted content.
*/
originalHtml: string;
/**
* Contains the original DOM event.
*/
originalEvent: ClipboardEvent;
/**
* Constructs the event arguments for the `paste` event.
* @hidden
*/
constructor(cleanedHtml: string, originalHtml: string, originalEvent: ClipboardEvent);
}
/**
* 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)).
*
* @example
* ```typescript
* const cssSettings: EditorCssSettings = {
* content: '.k-editor { color: red; }',
* path: '/styles/editor.css',
* keepBuiltInCss: false
* };
* ```
*/
interface EditorCssSettings {
/**
* Sets the CSS rules to apply.
*/
content?: string;
/**
* Sets the path to an external style sheet.
*/
path?: string;
/**
* Determines if custom styles override or extend built-in styles.
*/
keepBuiltInCss?: boolean;
}
/**
* Represents the [Kendo UI Editor component for Angular](https://www.telerik.com/kendo-angular-ui/components/editor).
*
* Use the Editor to create and edit rich text content in your Angular applications.
*
* @example
* ```html
*
* ```
* @remarks
* Supported children components are: {@link CustomMessagesComponent}, {@link ToolBarComponent}.
*/
declare class EditorComponent implements AfterViewInit, ControlValueAccessor {
private dialogService;
private localization;
private cdr;
ngZone: NgZone;
private element;
private providerService;
private toolsService;
private renderer;
private injector;
/**
* Sets the value of the Editor ([see example](https://www.telerik.com/kendo-angular-ui/components/editor)).
* Use this property to update the Editor content programmatically.
*/
set value(value: string);
get value(): string;
/**
* 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).
*/
set disabled(value: boolean);
get disabled(): boolean;
/**
* Sets the read-only state of the component.
*
* When `true`, users cannot edit the content.
* @default false
*/
set readonly(value: boolean);
get readonly(): boolean;
/**
* If set to `false`, the Editor runs in non-encapsulated style mode.
* The Editor content inherits styles from the page.
* @default true
*/
set iframe(value: boolean);
get iframe(): boolean;
/**
* Applies custom CSS styles to the Editor in iframe mode.
* Use this property to provide additional CSS for the Editor content.
*/
set iframeCss(settings: EditorCssSettings);
get iframeCss(): EditorCssSettings;
/**
* When set to `true` or an `ApplyToWordOptions` object, emphasis or inline style commands apply to the whole word at the cursor.
* @default false
*/
set applyToWord(value: boolean | ApplyToWordOptions);
get applyToWord(): boolean | ApplyToWordOptions;
/**
* Provides a custom schema for the Editor ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/prosemirror-schema)).
*/
set schema(value: Schema);
get schema(): Schema;
/**
* Defines a function to customize the plugins used by the Editor.
* 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)).
*/
set plugins(fn: PluginsFn);
get plugins(): PluginsFn;
/**
* Sets the hint text displayed when the Editor is empty.
* Use this property to provide guidance to users.
*/
set placeholder(value: string);
get placeholder(): string;
/**
* Controls whitespace handling in the Editor content.
* Set to `true` to preserve whitespace and normalize newlines to spaces.
* Set to `'full'` to preserve all whitespace.
* @default false
*/
set preserveWhitespace(value: boolean | 'full');
get preserveWhitespace(): boolean | 'full';
/**
* 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)).
* Use this property to remove unwanted HTML, styles, or attributes from pasted content.
*/
set pasteCleanupSettings(value: PasteCleanupSettings);
get pasteCleanupSettings(): PasteCleanupSettings;
/**
* Determines whether the Editor can be resized ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/resizing#resizing-the-editor)).
* Set to `true` or provide an object with resizing options.
* @default false
*/
set resizable(value: boolean | EditorResizableOptions);
get resizable(): boolean | EditorResizableOptions;
/**
* Fires when the Editor value changes due to user interaction.
* This event does not fire when the value changes programmatically through `ngModel` or form bindings
* ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/events)).
*/
valueChange: EventEmitter;
/**
* Fires when the Editor content area receives focus ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/events)).
*/
onFocus: EventEmitter;
/**
* Fires when the user paste content into the Editor ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/events)).
* This event is preventable. If you cancel it, the Editor content does not change.
*/
paste: EventEmitter;
/**
* Fires when the Editor content area is blurred ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/events)).
*/
onBlur: EventEmitter;
hostClass: boolean;
get resizableClass(): boolean;
get isDisabled(): boolean;
get isReadonly(): boolean;
get dir(): Direction;
get ariaDisabled(): boolean;
get minWidth(): string;
get maxWidth(): string;
get minHeight(): string;
get maxHeight(): string;
/**
* @hidden
*/
stateChange: BehaviorSubject;
/**
* @hidden
*/
showLicenseWatermark: boolean;
/**
* @hidden
*/
licenseMessage?: LicenseMessage;
get toolbar(): ToolBarComponent;
/**
* @hidden
*/
messageFor(key: string): string;
get toolbarElement(): ElementRef;
/**
* Returns the ProseMirror [EditorView](https://prosemirror.net/docs/ref/#view.EditorView) object.
* Use this property to access the underlying `EditorView` instance.
*/
get view(): EditorView;
/**
* Returns the text currently selected in the Editor ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/selection#retrieve-the-selected-text)).
*/
get selectionText(): string;
/**
* @hidden
*/
valueModified: Subject;
userToolBarComponent: ToolBarComponent;
userToolBarElement: ElementRef;
dialogContainer: ViewContainerRef;
container: ViewContainerRef;
set direction(value: Direction);
get direction(): Direction;
viewMountElement: HTMLElement;
/**
* @hidden
*/
focusChangedProgrammatically: boolean;
/**
* @hidden
*/
shouldEmitFocus: boolean;
/**
* @hidden
*/
focusableId: string;
private defaultToolbar;
private defaultToolbarComponent;
private readonly _value;
private readonly _disabled;
private readonly _readonly;
private readonly _iframe;
private readonly _iframeCss;
private readonly _applyToWord;
private readonly _schema;
private readonly _plugins;
private readonly _placeholder;
private readonly _preserveWhitespace;
private readonly _pasteCleanupSettings;
private readonly _resizable;
private readonly _direction;
private subs;
private _view;
private _styleObserver;
private trOnChange;
private htmlOnChange;
private inForm;
private _pasteEvent;
private afterViewInit;
private contentAreaLoaded;
constructor(dialogService: DialogService, localization: LocalizationService, cdr: ChangeDetectorRef, ngZone: NgZone, element: ElementRef, providerService: ProviderService, toolsService: EditorToolsService, renderer: Renderer2, injector: Injector);
ngOnInit(): void;
ngAfterViewInit(): void;
ngOnChanges(changes: SimpleChanges): void;
/**
* @hidden
*/
setDisabledState(isDisabled: boolean): void;
/**
* @hidden
*/
iframeOnLoad(): void;
/**
* Executes a command on the currently selected text
* ([more information and example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#associating-toolbar-tools-with-editor-commands)).
*
* @param {EditorCommand} commandName - The command that will be executed.
* @param {any} attr - Optional parameters for the command.
*/
exec(commandName: EditorCommand, attr?: any): void;
/**
* Opens a dialog.
* @param {DialogCommand} dialogName - The name of the dialog that will open.
*/
openDialog(dialogName: DialogCommand): void;
/**
* Manually focus the Editor.
*/
focus(): void;
/**
* Manually blur the Editor.
*/
blur(): void;
/**
* @hidden
*/
getSource(): string;
ngOnDestroy(): void;
/**
* @hidden
*/
writeValue(value: any): void;
/**
* @hidden
*/
registerOnChange(fn: Function): void;
/**
* @hidden
*/
registerOnTouched(fn: Function): void;
/**
* @hidden
* Used by the TextBoxContainer to determine if the component is empty.
*/
isEmpty(): boolean;
private initialize;
private dispatchTransaction;
private transformPastedContent;
private transformPastedHTML;
private transformPastedText;
private changeValue;
private onChangeCallback;
private normalizeSize;
private normalizeProperties;
private onTouchedCallback;
private onPaste;
private dispatchPasteEvent;
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵcmp: i0.ɵɵComponentDeclaration;
}
/**
* @hidden
*/
declare abstract class EditorCommandBaseDirective {
protected command: DialogCommand | EditorCommand | EditorInternalCommand;
protected button: ToolBarButtonComponent;
protected localization: LocalizationService;
protected toolsService: EditorToolsService;
protected cdr: ChangeDetectorRef;
protected injector: Injector;
protected subs: Subscription;
protected editor: EditorComponent;
constructor(command: DialogCommand | EditorCommand | EditorInternalCommand, button: ToolBarButtonComponent, localization: LocalizationService, providerService: ProviderService, toolsService: EditorToolsService, cdr: ChangeDetectorRef, injector: Injector);
ngOnInit(): void;
ngOnDestroy(): void;
protected clickHandler(): void;
protected pointerdownHandler(_event: PointerEvent): void;
protected onStateChange(_toolBarState: any): void;
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵdir: i0.ɵɵDirectiveDeclaration;
}
/**
* @hidden
*/
declare abstract class EditorCommandButton extends EditorCommandBaseDirective {
protected command: EditorCommand | EditorInternalCommand;
protected button: ToolBarButtonComponent;
protected localization: LocalizationService;
protected providerService: ProviderService;
protected toolsService: EditorToolsService;
protected cdr: ChangeDetectorRef;
protected injector: Injector;
constructor(command: EditorCommand | EditorInternalCommand, button: ToolBarButtonComponent, localization: LocalizationService, providerService: ProviderService, toolsService: EditorToolsService, cdr: ChangeDetectorRef, injector: Injector);
protected clickHandler(): void;
protected pointerdownHandler(e?: PointerEvent): void;
protected onStateChange(toolBarState?: any): void;
}
/**
* @hidden
*/
declare class EditorLocalizationService extends LocalizationService {
constructor(prefix: string, messageService: MessageService, _rtl: boolean);
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵprov: i0.ɵɵInjectableDeclaration;
}
/**
* Use this directive to turn a ToolBarButtonComponent into an Editor **AlignLeft** tool
* ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#built-in-tools)).
* The directive sets the SVG icon and `click` event handlers for the button.
* It also updates the `selected` state of the button based on the cursor position in the editing area.
*
* @example
* ```html
*
* ```
* @remarks
* Applied to: {@link ToolBarButtonComponent}
*/
declare class EditorAlignLeftButtonDirective extends EditorCommandButton {
constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService, cdr: ChangeDetectorRef, injector: Injector);
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵdir: i0.ɵɵDirectiveDeclaration;
}
/**
* Use this directive to turn a ToolBarButtonComponent into an Editor **AlignCenter** tool
* ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#built-in-tools)).
* The directive sets the SVG icon and `click` event handlers for the button.
* It also updates the `selected` state of the button based on the cursor position in the editing area.
*
* @example
* ```html
*
* ```
* @remarks
* Applied to: {@link ToolBarButtonComponent}
*/
declare class EditorAlignCenterButtonDirective extends EditorCommandButton {
constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService, cdr: ChangeDetectorRef, injector: Injector);
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵdir: i0.ɵɵDirectiveDeclaration;
}
/**
* Use this directive to turn a ToolBarButtonComponent into an Editor **AlignRight** tool
* ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#built-in-tools)).
* The directive sets the SVG icon and `click` event handlers for the button.
* It also updates the `selected` state of the button based on the cursor position in the editing area.
*
* @example
* ```html
*
* ```
* @remarks
* Applied to: {@link ToolBarButtonComponent}
*/
declare class EditorAlignRightButtonDirective extends EditorCommandButton {
constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService, cdr: ChangeDetectorRef, injector: Injector);
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵdir: i0.ɵɵDirectiveDeclaration;
}
/**
* Use this directive to turn a ToolBarButtonComponent into an Editor **AlignJustify** tool
* ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#built-in-tools)).
* The directive sets the SVG icon and `click` event handlers for the button.
* It also updates the `selected` state of the button based on the cursor position in the editing area.
*
* @example
* ```html
*
* ```
* @remarks
* Applied to: {@link ToolBarButtonComponent}
*/
declare class EditorAlignJustifyButtonDirective extends EditorCommandButton {
constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService, cdr: ChangeDetectorRef, injector: Injector);
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵdir: i0.ɵɵDirectiveDeclaration;
}
/**
* @hidden
*/
declare abstract class EditorCommandDialog extends EditorCommandBaseDirective {
protected dialog: DialogCommand;
protected button: ToolBarButtonComponent;
protected localization: LocalizationService;
protected providerService: ProviderService;
protected toolsService: EditorToolsService;
protected cdr: ChangeDetectorRef;
protected injector: Injector;
constructor(dialog: DialogCommand, button: ToolBarButtonComponent, localization: LocalizationService, providerService: ProviderService, toolsService: EditorToolsService, cdr: ChangeDetectorRef, injector: Injector);
protected clickHandler(): void;
protected onStateChange(toolBarState?: any): void;
}
/**
* Configures a ToolBarButtonComponent as an Editor **Insert File** tool ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#built-in-tools)).
* The directive sets the SVG icon and `click` event handlers for the button.
*
* @example
* ```html
*
* ```
* @remarks
* Applied to: {@link ToolBarButtonComponent}
*/
declare class EditorInsertFileButtonDirective extends EditorCommandDialog {
constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService, cdr: ChangeDetectorRef, injector: Injector);
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵdir: i0.ɵɵDirectiveDeclaration;
}
/**
* Configures a ToolBarButtonComponent as an Editor **Redo** tool
* ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#built-in-tools)).
* Sets the SVG icon and `click` event handlers of the button.
* Updates the `disabled` state of the button based on the cursor position in the editing area.
*
* @example
* ```html
*
* ```
* @remarks
* Applied to: {@link ToolBarButtonComponent}
*/
declare class EditorRedoButtonDirective extends EditorCommandButton {
constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService, cdr: ChangeDetectorRef, injector: Injector);
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵdir: i0.ɵɵDirectiveDeclaration;
}
/**
* Configures a ToolBarButtonComponent as an Editor **Undo** tool
* ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#built-in-tools)).
* Sets the SVG icon and `click` event handlers of the button.
* Updates the `disabled` state of the button based on the cursor position in the editing area.
*
* @example
* ```html
*
* ```
* @remarks
* Applied to: {@link ToolBarButtonComponent}
*/
declare class EditorUndoButtonDirective extends EditorCommandButton {
constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService, cdr: ChangeDetectorRef, injector: Injector);
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵdir: i0.ɵɵDirectiveDeclaration;
}
/**
* Configures a `ToolBarButtonComponent` as an Editor **InsertImage** tool
* ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#built-in-tools)).
* Sets the SVG icon and `click` event handlers of the button.
*
* @example
* ```html
*
* ```
* @remarks
* Applied to: {@link ToolBarButtonComponent}
*/
declare class EditorInsertImageButtonDirective extends EditorCommandDialog {
constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService, cdr: ChangeDetectorRef, injector: Injector);
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵdir: i0.ɵɵDirectiveDeclaration;
}
/**
* Configures a ToolBarButtonComponent as an Editor **Indent** tool ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#built-in-tools)).
* The directive sets the SVG icon and `click` event handlers for the button.
* The directive also updates the `disabled` state of the button based on the cursor position in the editing area.
*
* @example
* ```html
*
* ```
* @remarks
* Applied to: {@link ToolBarButtonComponent}
*/
declare class EditorIndentButtonDirective extends EditorCommandButton {
constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService, cdr: ChangeDetectorRef, injector: Injector);
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵdir: i0.ɵɵDirectiveDeclaration;
}
/**
* Configures a ToolBarButtonComponent as an Editor **Outdent** tool ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#built-in-tools)).
* The directive sets the SVG icon and `click` event handlers for the button.
* The directive also updates the `disabled` state of the button based on the cursor position in the editing area.
*
* @example
* ```html
*
* ```
* @remarks
* Applied to: {@link ToolBarButtonComponent}
*/
declare class EditorOutdentButtonDirective extends EditorCommandButton {
constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService, cdr: ChangeDetectorRef, injector: Injector);
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵdir: i0.ɵɵDirectiveDeclaration;
}
/**
* Configures a ToolBarButtonComponent as an Editor **CreateLink** tool ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#built-in-tools)).
* The directive sets the SVG icon and `click` event handlers for the button.
* The directive also updates the `disabled` state of the button based on the cursor position in the editing area.
*
* @example
* ```html
*
* ```
* @remarks
* Applied to: {@link ToolBarButtonComponent}
*/
declare class EditorCreateLinkButtonDirective extends EditorCommandDialog {
constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService, cdr: ChangeDetectorRef, injector: Injector);
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵdir: i0.ɵɵDirectiveDeclaration;
}
/**
* Configures a ToolBarButtonComponent as an Editor **Unlink** tool ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#built-in-tools)).
* The directive sets the SVG icon and `click` event handlers for the button.
* The directive also updates the `disabled` state of the button based on the cursor position in the editing area.
*
* @example
* ```html
*
* ```
* @remarks
* Applied to: {@link ToolBarButtonComponent}
*/
declare class EditorUnlinkButtonDirective extends EditorCommandButton {
constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService, cdr: ChangeDetectorRef, injector: Injector);
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵdir: i0.ɵɵDirectiveDeclaration;
}
/**
* Configures a ToolBarButtonComponent as an Editor **InsertOrderedList** tool ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#built-in-tools)).
* The directive sets the SVG icon and `click` event handlers for the button.
* The directive also updates the `selected` state of the button based on the cursor position in the editing area.
*
* @example
* ```html
*
* ```
* @remarks
* Applied to: {@link ToolBarButtonComponent}
*/
declare class EditorInsertOrderedListButtonDirective extends EditorCommandButton {
constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService, cdr: ChangeDetectorRef, injector: Injector);
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵdir: i0.ɵɵDirectiveDeclaration;
}
/**
* Configures a ToolBarButtonComponent as an Editor **InsertUnorderedList** tool
* ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#built-in-tools)).
* This directive sets the SVG icon and `click` event handlers for the button.
* It also updates the `selected` state of the button based on the cursor position in the editing area.
*
* @example
* ```html
*
* ```
* @remarks
* Applied to: {@link ToolBarButtonComponent}
*/
declare class EditorInsertUnorderedListButtonDirective extends EditorCommandButton {
constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService, cdr: ChangeDetectorRef, injector: Injector);
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵdir: i0.ɵɵDirectiveDeclaration;
}
/**
* Configures a ToolBarButtonComponent as an Editor **ViewSource** tool
* ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#built-in-tools)).
* The directive sets the SVG icon and `click` event handlers for the button.
*
* @example
* ```html
*
* ```
* @remarks
* Applied to: {@link ToolBarButtonComponent}
*/
declare class EditorViewSourceButtonDirective extends EditorCommandDialog {
constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService, cdr: ChangeDetectorRef, injector: Injector);
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵdir: i0.ɵɵDirectiveDeclaration;
}
/**
* Configures a ToolBarButtonComponent as an Editor **Bold** tool
* ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#built-in-tools)).
* This directive sets the SVG icon and `click` event handlers for the button.
* The directive also updates the `selected` state of the button based on the cursor position in the editing area.
*
* @example
* ```html
*
* ```
* @remarks
* Applied to: {@link ToolBarButtonComponent}
*/
declare class EditorBoldButtonDirective extends EditorCommandButton {
constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService, cdr: ChangeDetectorRef, injector: Injector);
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵdir: i0.ɵɵDirectiveDeclaration;
}
/**
* Configures a ToolBarButtonComponent as an Editor **Italic** tool
* ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#built-in-tools)).
* This directive sets the SVG icon and `click` event handlers for the button.
* The directive also updates the `selected` state of the button based on the cursor position in the editing area.
*
* @example
* ```html
*
* ```
* @remarks
* Applied to: {@link ToolBarButtonComponent}
*/
declare class EditorItalicButtonDirective extends EditorCommandButton {
constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService, cdr: ChangeDetectorRef, injector: Injector);
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵdir: i0.ɵɵDirectiveDeclaration;
}
/**
* Configures a ToolBarButtonComponent as an Editor **Underline** tool
* ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#built-in-tools)).
* This directive sets the SVG icon and `click` event handlers for the button.
* The directive also updates the `selected` state of the button based on the cursor position in the editing area.
*
* @example
* ```html
*
* ```
* @remarks
* Applied to: {@link ToolBarButtonComponent}
*/
declare class EditorUnderlineButtonDirective extends EditorCommandButton {
constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService, cdr: ChangeDetectorRef, injector: Injector);
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵdir: i0.ɵɵDirectiveDeclaration;
}
/**
* Configures a ToolBarButtonComponent as an Editor **Strikethrough** tool
* ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#built-in-tools)).
* This directive sets the SVG icon and `click` event handlers for the button.
* The directive also updates the `selected` state of the button based on the cursor position in the editing area.
*
* @example
* ```html
*
* ```
* @remarks
* Applied to: {@link ToolBarButtonComponent}
*/
declare class EditorStrikethroughButtonDirective extends EditorCommandButton {
constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService, cdr: ChangeDetectorRef, injector: Injector);
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵdir: i0.ɵɵDirectiveDeclaration;
}
/**
* Configures a ToolBarButtonComponent as an Editor **Subscript** tool
* ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#built-in-tools)).
* This directive sets the SVG icon and `click` event handlers for the button.
* The directive also updates the `selected` state of the button based on the cursor position in the editing area.
*
* @example
* ```html
*
* ```
* @remarks
* Applied to: {@link ToolBarButtonComponent}
*/
declare class EditorSubscriptButtonDirective extends EditorCommandButton {
constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService, cdr: ChangeDetectorRef, injector: Injector);
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵdir: i0.ɵɵDirectiveDeclaration;
}
/**
* Configures a ToolBarButtonComponent as an Editor **Superscript** tool
* ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#built-in-tools)).
* This directive sets the SVG icon and `click` event handlers for the button.
* The directive also updates the `selected` state of the button based on the cursor position in the editing area.
*
* @example
* ```html
*
* ```
* @remarks
* Applied to: {@link ToolBarButtonComponent}
*/
declare class EditorSuperscriptButtonDirective extends EditorCommandButton {
constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService, cdr: ChangeDetectorRef, injector: Injector);
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵdir: i0.ɵɵDirectiveDeclaration;
}
/**
* Configures a ColorPickerComponent as a ToolBar tool.
* Use this component to associate a `kendo-toolbar-colorpicker` with an Editor command that changes the foreground or background color of the text.
* Use the `kendoEditorForeColor` or `kendoEditorBackColor` directive ([more information](https://www.telerik.com/kendo-angular-ui/components/editor/tools#colorpickers)).
*
* @example
* ```html
*
* ```
*/
declare class EditorColorPickerComponent extends ToolBarToolComponent {
private localization;
private dialogService;
private injector;
private renderer;
/**
* Specifies the tab index of the component.
*
* @default -1
*/
set tabindex(value: number);
get tabindex(): number;
/**
* Specifies the initial value of the color picker.
*/
set value(value: string);
get value(): string;
/**
* Specifies the Kendo UI font icon that the component uses.
*/
set icon(value: string);
get icon(): string;
/**
* Defines an SVGIcon to render within the ColorPicker button.
* The input can take either an existing Kendo SVG icon or a custom one.
*/
set svgIcon(value: SVGIcon);
get svgIcon(): SVGIcon;
/**
* Overrides the default color palette settings.
*/
set paletteSettings(value: PaletteSettings);
get paletteSettings(): PaletteSettings;
/**
* Specifies the color-related command that the component executes.
*/
set editorCommand(value: 'foreColor' | 'backColor');
get editorCommand(): 'foreColor' | 'backColor';
/**
* Specifies if the component is disabled.
*
* @default false
*/
set disabled(value: boolean);
get disabled(): boolean;
/**
* Specifies whether the ColorPicker renders a gradient, palette, or both in its popup.
*
* @default ['palette']
*/
set views(value: ColorPickerView[]);
get views(): ColorPickerView[];
/**
* @hidden
*
* For backward compatibility with configurations using the deprecated "view" input.
*/
set view(view: ColorPickerView);
get view(): ColorPickerView;
/**
* @hidden
*/
get title(): string;
element: ElementRef;
private colorPicker;
private colorPickerButton;
private readonly _tabindex;
private readonly _value;
private readonly _icon;
private readonly _svgIcon;
private readonly _paletteSettings;
private readonly _editorCommand;
private readonly _disabled;
private readonly _views;
private subs;
private editor;
private activeView;
constructor(localization: EditorLocalizationService, dialogService: DialogService, injector: Injector, providerService: ProviderService, renderer: Renderer2);
ngOnInit(): void;
ngOnDestroy(): void;
/**
* @hidden
*/
handleValueChange(color: string): void;
/**
* @hidden
*/
handleActiveColorClick(event: ActiveColorClickEvent): void;
/**
* @hidden
*/
onClose(): void;
/**
* @hidden
*/
handleClearButtonClick(): void;
/**
* @hidden
*/
onActiveViewChange(view: string | ColorPickerView): void;
/**
* @hidden
*/
get outerWidth(): number;
/**
* @hidden
*/
openDialog(): void;
/**
* @hidden
*/
canFocus(): boolean;
/**
* @hidden
*/
focus(): void;
/**
* @hidden
*/
handleKey(): boolean;
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵcmp: i0.ɵɵComponentDeclaration;
}
/**
* 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)).
*
* @example
* ```html
*
* ```
* @remarks
* Applied to: {@link EditorColorPickerComponent}
*/
declare class EditorForeColorDirective {
private colorPicker;
constructor(colorPicker: EditorColorPickerComponent);
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵdir: i0.ɵɵDirectiveDeclaration;
}
/**
* 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)).
*
* @example
* ```html
*
*
*
*
*
* ```
* @remarks
* Applied to: {@link EditorColorPickerComponent}
*/
declare class EditorBackColorDirective {
private colorPicker;
constructor(colorPicker: EditorColorPickerComponent);
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵdir: i0.ɵɵDirectiveDeclaration;
}
/**
* A directive that configures a ToolBarButtonComponent as an Editor **Clean Formatting** tool.
* The directive sets the SVG icon and `click` event handlers for the button.
* ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#built-in-tools))
*
* @example
* ```html
*
* ```
* @remarks
* Applied to: {@link ToolBarButtonComponent}
*/
declare class EditorCleanFormattingButtonDirective extends EditorCommandButton {
constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService, cdr: ChangeDetectorRef, injector: Injector);
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵdir: i0.ɵɵDirectiveDeclaration;
}
/**
* Configures a ToolBarButtonComponent as an Editor **AddColumnBefore** tool
* ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#built-in-tools)).
* The directive sets the SVG icon and `click` event handlers for the button.
* The directive also updates the `disabled` state of the button based on the cursor position in the editing area.
*
* @example
* ```html
*
* ```
* @remarks
* Applied to: {@link ToolBarButtonComponent}
*/
declare class EditorAddColumnBeforeButtonDirective extends EditorCommandButton {
constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService, cdr: ChangeDetectorRef, injector: Injector);
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵdir: i0.ɵɵDirectiveDeclaration;
}
/**
* Configures a ToolBarButtonComponent as an Editor **AddColumnAfter** tool
* ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#built-in-tools)).
* The directive sets the SVG icon and `click` event handlers for the button.
* The directive also updates the `disabled` state of the button based on the cursor position in the editing area.
*
* @example
* ```html
*
* ```
* @remarks
* Applied to: {@link ToolBarButtonComponent}
*/
declare class EditorAddColumnAfterButtonDirective extends EditorCommandButton {
constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService, cdr: ChangeDetectorRef, injector: Injector);
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵdir: i0.ɵɵDirectiveDeclaration;
}
/**
* Configures a ToolBarButtonComponent as an Editor **AddRowBefore** tool
* ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#built-in-tools)).
* The directive sets the SVG icon and `click` event handlers for the button.
* The directive also updates the `disabled` state of the button based on the cursor position in the editing area.
*
* @example
* ```html
*
* ```
* @remarks
* Applied to: {@link ToolBarButtonComponent}
*/
declare class EditorAddRowBeforeButtonDirective extends EditorCommandButton {
constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService, cdr: ChangeDetectorRef, injector: Injector);
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵdir: i0.ɵɵDirectiveDeclaration;
}
/**
* Configures a ToolBarButtonComponent as an Editor **AddRowAfter** tool
* ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#built-in-tools)).
* The directive sets the SVG icon and `click` event handlers for the button.
* The directive also updates the `disabled` state of the button based on the cursor position in the editing area.
*
* @example
* ```html
*
* ```
* @remarks
* Applied to: {@link ToolBarButtonComponent}
*/
declare class EditorAddRowAfterButtonDirective extends EditorCommandButton {
constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService, cdr: ChangeDetectorRef, injector: Injector);
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵdir: i0.ɵɵDirectiveDeclaration;
}
/**
* Configures a ToolBarButtonComponent as an Editor **DeleteColumn** tool
* ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#built-in-tools)).
* The directive sets the SVG icon and `click` event handlers for the button.
* The directive also updates the `disabled` state of the button based on the cursor position in the editing area.
*
* @example
* ```html
*
* ```
* @remarks
* Applied to: {@link ToolBarButtonComponent}
*/
declare class EditorDeleteColumnButtonDirective extends EditorCommandButton {
constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService, cdr: ChangeDetectorRef, injector: Injector);
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵdir: i0.ɵɵDirectiveDeclaration;
}
/**
* Configures a ToolBarButtonComponent as an Editor **DeleteRow** tool
* ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#built-in-tools)).
* The directive sets the SVG icon and `click` event handlers for the button.
* The directive also updates the `disabled` state of the button based on the cursor position in the editing area.
*
* @example
* ```html
*
* ```
* @remarks
* Applied to: {@link ToolBarButtonComponent}
*/
declare class EditorDeleteRowButtonDirective extends EditorCommandButton {
constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService, cdr: ChangeDetectorRef, injector: Injector);
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵdir: i0.ɵɵDirectiveDeclaration;
}
/**
* Configures a ToolBarButtonComponent as an Editor **DeleteTable** tool
* ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#built-in-tools)).
* The directive sets the SVG icon and `click` event handlers for the button.
* The directive also updates the `disabled` state of the button based on the cursor position in the editing area.
*
* @example
* ```html
*
* ```
* @remarks
* Applied to: {@link ToolBarButtonComponent}
*/
declare class EditorDeleteTableButtonDirective extends EditorCommandButton {
constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService, cdr: ChangeDetectorRef, injector: Injector);
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵdir: i0.ɵɵDirectiveDeclaration;
}
/**
* @hidden
*/
declare class MessagesDirective extends ComponentMessages {
/**
* The title of the tool that aligns text in the center.
*/
set alignCenter(value: string);
get alignCenter(): string;
/**
* The title of the tool that justifies text both left and right.
*/
set alignJustify(value: string);
get alignJustify(): string;
/**
* The title of the tool that aligns text on the left.
*/
set alignLeft(value: string);
get alignLeft(): string;
/**
* The title of the tool that aligns text on the right.
*/
set alignRight(value: string);
get alignRight(): string;
/**
* The title of the tool that changes the text background color.
*/
set backColor(value: string);
get backColor(): string;
/**
* The title of the tool that wraps an element in a blockquote.
*/
set blockquote(value: string);
get blockquote(): string;
/**
* The title of the tool that makes text bold.
*/
set bold(value: string);
get bold(): string;
/**
* The title of the Clean Formatting tool.
*/
set cleanFormatting(value: string);
get cleanFormatting(): string;
/**
* The title of the tool that creates hyperlinks.
*/
set createLink(value: string);
get createLink(): string;
/**
* The title of the tool that changes the text font.
*/
set fontFamily(value: string);
get fontFamily(): string;
/**
* The title of the tool that changes the text size.
*/
set fontSize(value: string);
get fontSize(): string;
/**
* The title of the tool that changes the text color.
*/
set foreColor(value: string);
get foreColor(): string;
/**
* The title of the tool that lets users choose block formats.
*/
set format(value: string);
get format(): string;
/**
* The title of the tool that indents the content.
*/
set indent(value: string);
get indent(): string;
/**
* The title of the tool that inserts links to files.
*/
set insertFile(value: string);
get insertFile(): string;
/**
* The title of the tool that inserts images.
*/
set insertImage(value: string);
get insertImage(): string;
/**
* The title of the tool that inserts an ordered list.
*/
set insertOrderedList(value: string);
get insertOrderedList(): string;
/**
* The title of the tool that inserts an unordered list.
*/
set insertUnorderedList(value: string);
get insertUnorderedList(): string;
/**
* The title of the tool that makes text italicized.
*/
set italic(value: string);
get italic(): string;
/**
* The title of the tool that outdents the content.
*/
set outdent(value: string);
get outdent(): string;
/**
* The title of the print tool.
*/
set print(value: string);
get print(): string;
/**
* The title of the tool that redos the last action.
*/
set redo(value: string);
get redo(): string;
/**
* The title of the tool that selects all content.
*/
set selectAll(value: string);
get selectAll(): string;
/**
* The title of the tool that strikes through text.
*/
set strikethrough(value: string);
get strikethrough(): string;
/**
* The title of the tool that makes text subscript.
*/
set subscript(value: string);
get subscript(): string;
/**
* The title of the tool that makes text superscript.
*/
set superscript(value: string);
get superscript(): string;
/**
* The title of the tool that underlines text.
*/
set underline(value: string);
get underline(): string;
/**
* The title of the tool that undos the last action.
*/
set undo(value: string);
get undo(): string;
/**
* The title of the tool that removes hyperlinks.
*/
set unlink(value: string);
get unlink(): string;
/**
* The title of the tool that shows the editor value as HTML.
*/
set viewSource(value: string);
get viewSource(): string;
/**
* The title of the tool that inserts table.
*/
set insertTable(value: string);
get insertTable(): string;
/**
* The caption for the hint in the insert table tool.
*
* The message consists of several parts - the amount of rows, the amount of columns, an `x` separator, and a localizable string.
* To allow for reordering its parts, the `insertTableHint` input accepts a string with placeholders for the selected rows, selected columns
* and the separator. The `[[rows]]` and `[[columns]]` placeholders will be replaced internally with the respective actual values. The `[[x]]` placeholder
* shows a separator only when rows and columns are selected.
*/
set insertTableHint(value: string);
get insertTableHint(): string;
/**
* The title of the tool that adds new column before currently selected column.
*/
set addColumnBefore(value: string);
get addColumnBefore(): string;
/**
* The title of the tool that adds new column after currently selected column.
*/
set addColumnAfter(value: string);
get addColumnAfter(): string;
/**
* The title of the tool that adds new row before currently selected row.
*/
set addRowBefore(value: string);
get addRowBefore(): string;
/**
* The title of the tool that adds new row after currently selected row.
*/
set addRowAfter(value: string);
get addRowAfter(): string;
/**
* The title of the tool that deletes a table column.
*/
set deleteColumn(value: string);
get deleteColumn(): string;
/**
* The title of the tool that deletes a table row.
*/
set deleteRow(value: string);
get deleteRow(): string;
/**
* The title of the tool that deletes a table.
*/
set deleteTable(value: string);
get deleteTable(): string;
/**
* The title of the tool that merges the currently selected cells.
*/
set mergeCells(value: string);
get mergeCells(): string;
/**
* The title of the tool that splits the currently selected cell.
*/
set splitCell(value: string);
get splitCell(): string;
/**
* The label of the **Apply** button in all Editor dialogs.
*/
set dialogApply(value: string);
get dialogApply(): string;
/**
* The label of the **Cancel** button in all editor dialogs.
*/
set dialogCancel(value: string);
get dialogCancel(): string;
/**
* The label of the **Insert** button in all editor dialogs.
*/
set dialogInsert(value: string);
get dialogInsert(): string;
/**
* The label of the **Update** button in all editor dialogs.
*/
set dialogUpdate(value: string);
get dialogUpdate(): string;
/**
* The caption for the file text in the insertFile dialog.
*/
set fileText(value: string);
get fileText(): string;
/**
* The caption for the file Title in the insertFile dialog.
*/
set fileTitle(value: string);
get fileTitle(): string;
/**
* The caption for the file URL in the insertFile dialog.
*/
set fileWebAddress(value: string);
get fileWebAddress(): string;
/**
* The caption for the image alternate text in the insertImage dialog.
*/
set imageAltText(value: string);
get imageAltText(): string;
/**
* The caption for the image height in the insertImage dialog.
*/
set imageHeight(value: string);
get imageHeight(): string;
/**
* The caption for the image URL in the insertImage dialog.
*/
set imageWebAddress(value: string);
get imageWebAddress(): string;
/**
* The caption for the image width in the insertImage dialog.
*/
set imageWidth(value: string);
get imageWidth(): string;
/**
* The caption for the checkbox for opening the link in a new window in the createLink dialog.
*/
set linkOpenInNewWindow(value: string);
get linkOpenInNewWindow(): string;
/**
* The caption for the link text in the createLink dialog.
*/
set linkText(value: string);
get linkText(): string;
/**
* The caption for the link title in the createLink dialog.
*/
set linkTitle(value: string);
get linkTitle(): string;
/**
* The caption for the URL in the createLink dialog.
*/
set linkWebAddress(value: string);
get linkWebAddress(): string;
/**
* The accessible label for the editor content area.
*/
set contentAreaAriaLabel(value: string);
get contentAreaAriaLabel(): string;
private readonly _alignCenter;
private readonly _alignJustify;
private readonly _alignLeft;
private readonly _alignRight;
private readonly _backColor;
private readonly _blockquote;
private readonly _bold;
private readonly _cleanFormatting;
private readonly _createLink;
private readonly _fontFamily;
private readonly _fontSize;
private readonly _foreColor;
private readonly _format;
private readonly _indent;
private readonly _insertFile;
private readonly _insertImage;
private readonly _insertOrderedList;
private readonly _insertUnorderedList;
private readonly _italic;
private readonly _outdent;
private readonly _print;
private readonly _redo;
private readonly _selectAll;
private readonly _strikethrough;
private readonly _subscript;
private readonly _superscript;
private readonly _underline;
private readonly _undo;
private readonly _unlink;
private readonly _viewSource;
private readonly _insertTable;
private readonly _insertTableHint;
private readonly _addColumnBefore;
private readonly _addColumnAfter;
private readonly _addRowBefore;
private readonly _addRowAfter;
private readonly _deleteColumn;
private readonly _deleteRow;
private readonly _deleteTable;
private readonly _mergeCells;
private readonly _splitCell;
private readonly _dialogApply;
private readonly _dialogCancel;
private readonly _dialogInsert;
private readonly _dialogUpdate;
private readonly _fileText;
private readonly _fileTitle;
private readonly _fileWebAddress;
private readonly _imageAltText;
private readonly _imageHeight;
private readonly _imageWebAddress;
private readonly _imageWidth;
private readonly _linkOpenInNewWindow;
private readonly _linkText;
private readonly _linkTitle;
private readonly _linkWebAddress;
private readonly _contentAreaAriaLabel;
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵdir: i0.ɵɵDirectiveDeclaration;
}
/**
* Use this component to override the default component messages
* ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/globalization#custom-messages)).
* @example
* ```html
*
*
*
*
* ```
*/
declare class CustomMessagesComponent extends MessagesDirective {
protected service: LocalizationService;
constructor(service: LocalizationService);
protected get override(): boolean;
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵdir: i0.ɵɵDirectiveDeclaration;
}
/**
* Configures a ToolBarButtonComponent as an Editor **Print** tool
* ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#built-in-tools)).
* This directive sets the SVG icon and `click` event handlers for the button.
*
* The Editor Print tool works only in the default [`iframe`](https://www.telerik.com/kendo-angular-ui/components/editor/api/editorcomponent#iframe) mode.
*
* @example
* ```html
*
* ```
* @remarks
* Applied to: {@link ToolBarButtonComponent}
*/
declare class EditorPrintDirective extends EditorCommandButton {
constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService, cdr: ChangeDetectorRef, injector: Injector);
ngAfterViewInit(): void;
protected clickHandler(): void;
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵdir: i0.ɵɵDirectiveDeclaration;
}
/**
* Configures a ToolBarButtonComponent as an Editor **SelectAll** tool
* ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#built-in-tools)).
* This directive sets the SVG icon and `click` event handlers for the button.
*
* @example
* ```html
*
* ```
* @remarks
* Applied to: {@link ToolBarButtonComponent}
*/
declare class EditorSelectAllButtonDirective extends EditorCommandButton {
constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService, cdr: ChangeDetectorRef, injector: Injector);
protected clickHandler(): void;
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵdir: i0.ɵɵDirectiveDeclaration;
}
/**
* Configures a ToolBarButtonComponent as an Editor **Blockquote** tool ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#built-in-tools)).
* The directive predefines the SVG icon and `click` event handlers of the button.
*
* @example
* ```html
*
* ```
* @remarks
* Applied to: {@link ToolBarButtonComponent}
*/
declare class EditorBlockquoteDirective extends EditorCommandButton {
constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService, cdr: ChangeDetectorRef, injector: Injector);
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵdir: i0.ɵɵDirectiveDeclaration;
}
/**
* Represents a single item in the font size DropDownList.
*
* @example
* ```typescript
* const fontSizeItem: FontSizeItem = {
* size: 14,
* text: '14px'
* };
* ```
*/
interface FontSizeItem {
/**
* Sets the value of the [`font-size`](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size) CSS property.
*/
size: number | string;
/**
* Sets the display text for the font size in the DropDownList.
*/
text: string;
}
/**
* @hidden
*/
declare class FontSizeDropDownListComponent {
set data(value: FontSizeItem[]);
get data(): FontSizeItem[];
set value(v: string);
get value(): string;
set defaultItem(value: FontSizeItem);
get defaultItem(): FontSizeItem;
set itemDisabled(value: ItemDisabledFn);
get itemDisabled(): ItemDisabledFn;
set title(value: string);
get title(): string;
set disabled(value: boolean);
get disabled(): boolean;
set tabindex(value: number);
get tabindex(): number;
valueChange: EventEmitter;
element: ElementRef;
dropDownList: DropDownListComponent;
private readonly _data;
private readonly _value;
private readonly _defaultItem;
private readonly _itemDisabled;
private readonly _title;
private readonly _disabled;
private readonly _tabindex;
onValueChange(size: string): void;
focus(): void;
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵcmp: i0.ɵɵComponentDeclaration;
}
/**
* Configures a DropDownListComponent as an Editor tool ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#built-in-tools)).
* Use this component to associate a `kendo-dropdownlist` with an Editor command that changes the font size of a content block.
* 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))
*
* @example
* ```html
*
*
*
*
*
* ```
*/
declare class EditorFontSizeComponent extends ToolBarToolComponent {
private dialogService;
private localization;
private toolsService;
private renderer;
set value(v: string);
get value(): string;
set disabled(v: boolean);
get disabled(): boolean;
set tabindex(v: number);
get tabindex(): number;
/**
* Overrides the default font size list.
* Treat numeric values as pixels.
*/
set data(sizes: FontSizeItem[]);
get data(): FontSizeItem[];
/**
* Fires when the user updates the value of the drop-down list.
*/
valueChange: EventEmitter;
element: ElementRef;
fontSizeDropDownList: FontSizeDropDownListComponent;
fontSizeButton: ElementRef;
/**
* @hidden
*/
set defaultItem(v: FontSizeItem);
get defaultItem(): FontSizeItem;
fontSizeSVGIcon: SVGIcon;
/**
* @hidden
*/
set itemDisabled(v: ItemDisabledFn);
get itemDisabled(): ItemDisabledFn;
private readonly _value;
private readonly _disabled;
private readonly _tabindex;
private readonly _defaultItem;
private readonly _itemDisabled;
private subs;
private editor;
private readonly _data;
constructor(dialogService: DialogService, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService, renderer: Renderer2);
ngOnInit(): void;
/**
* @hidden
*/
onValueChange(ev: string): void;
ngOnDestroy(): void;
get outerWidth(): number;
get title(): string;
/**
* @hidden
*/
openDialog(): void;
/**
* @hidden
*/
canFocus(): boolean;
/**
* @hidden
*/
focus(): void;
/**
* @hidden
*/
handleKey(): boolean;
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵcmp: i0.ɵɵComponentDeclaration;
}
/**
* Represents a single font in the font family DropDownList.
*
* @example
* ```typescript
* const fontItem: FontFamilyItem = {
* fontName: 'Arial, Helvetica, sans-serif',
* text: 'Arial'
* };
* ```
*/
interface FontFamilyItem {
/**
* Sets the value of the [`font-family`](https://developer.mozilla.org/en-US/docs/Web/CSS/font-family) CSS property.
*/
fontName: string;
/**
* Sets the display text for the font in the DropDownList.
*/
text: string;
}
/**
* @hidden
*/
declare class FontFamilyDropDownListComponent {
set data(value: FontFamilyItem[]);
get data(): FontFamilyItem[];
set value(v: string);
get value(): string;
set defaultItem(value: FontFamilyItem);
get defaultItem(): FontFamilyItem;
set itemDisabled(value: ItemDisabledFn);
get itemDisabled(): ItemDisabledFn;
set title(value: string);
get title(): string;
set disabled(value: boolean);
get disabled(): boolean;
set tabindex(value: number);
get tabindex(): number;
valueChange: EventEmitter;
element: ElementRef;
dropDownList: DropDownListComponent;
private readonly _data;
private readonly _value;
private readonly _defaultItem;
private readonly _itemDisabled;
private readonly _title;
private readonly _disabled;
private readonly _tabindex;
onValueChange(tag: string): void;
focus(): void;
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵcmp: i0.ɵɵComponentDeclaration;
}
/**
* Configures a DropDownListComponent as an Editor tool ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#built-in-tools)).
* Use this component to associate a kendo-toolbar-dropdownlist with an Editor command that changes the font family of a content block.
* 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)).
*
* @example
* ```html
*
*
*
*
*
* ```
*/
declare class EditorFontFamilyComponent extends ToolBarToolComponent {
private dialogService;
private localization;
private toolsService;
private renderer;
set value(v: string);
get value(): string;
set disabled(v: boolean);
get disabled(): boolean;
set tabindex(v: number);
get tabindex(): number;
/**
* Overrides the default font list.
*/
set data(fonts: FontFamilyItem[]);
get data(): FontFamilyItem[];
/**
* Fires when the user updates the value of the drop-down list.
*/
valueChange: EventEmitter;
element: ElementRef;
fontFamilyDropDownList: FontFamilyDropDownListComponent;
fontFamilyButton: ElementRef;
/**
* @hidden
*/
set defaultItem(v: FontFamilyItem);
get defaultItem(): FontFamilyItem;
/**
* @hidden
*/
set itemDisabled(v: (itemArgs: {
dataItem: any;
index: number;
}) => boolean);
get itemDisabled(): (itemArgs: {
dataItem: any;
index: number;
}) => boolean;
fontFamilySVGIcon: SVGIcon;
private readonly _value;
private readonly _disabled;
private readonly _tabindex;
private readonly _defaultItem;
private readonly _itemDisabled;
private subs;
private editor;
private readonly _data;
constructor(dialogService: DialogService, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService, renderer: Renderer2);
ngOnInit(): void;
/**
* @hidden
*/
onValueChange(ev: string): void;
ngOnDestroy(): void;
get outerWidth(): number;
get title(): string;
/**
* @hidden
*/
openDialog(): void;
/**
* @hidden
*/
canFocus(): boolean;
/**
* @hidden
*/
focus(): void;
/**
* @hidden
*/
handleKey(): boolean;
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵcmp: i0.ɵɵComponentDeclaration;
}
/**
* Represents a single item in the formatting DropDownList.
*
* @example
* ```typescript
* const formatItem: FormatItem = {
* tag: 'h1',
* text: 'Heading 1'
* };
* ```
*/
interface FormatItem {
/**
* Sets the tag to apply.
*/
tag: 'p' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
/**
* Sets the display text for the tag in the DropDownList.
*/
text: string;
}
/**
* @hidden
*/
declare class FormatDropDownListComponent {
set data(value: FormatItem[]);
get data(): FormatItem[];
set value(v: string);
get value(): string;
set defaultItem(value: FormatItem);
get defaultItem(): FormatItem;
set itemDisabled(value: ItemDisabledFn);
get itemDisabled(): ItemDisabledFn;
set title(value: string);
get title(): string;
set disabled(value: boolean);
get disabled(): boolean;
set tabindex(value: number);
get tabindex(): number;
valueChange: EventEmitter;
element: ElementRef;
dropDownList: DropDownListComponent;
private readonly _data;
private readonly _value;
private readonly _defaultItem;
private readonly _itemDisabled;
private readonly _title;
private readonly _disabled;
private readonly _tabindex;
onValueChange(tag: string): void;
focus(): void;
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵcmp: i0.ɵɵComponentDeclaration;
}
/**
* Configures a DropDownListComponent as an Editor tool
* ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#built-in-tools)).
* Associates a `kendo-dropdownlist` with an Editor command that changes the format of a content block.
* Automatically sets the options and values of the DropDownList ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#dropdownlists)).
*
* @example
* ```html
*
*
*
*
*
* ```
*/
declare class EditorFormatComponent extends ToolBarToolComponent {
private dialogService;
private localization;
private toolsService;
private renderer;
set value(v: string);
get value(): string;
set defaultItem(v: FormatItem);
get defaultItem(): FormatItem;
set itemDisabled(v: ItemDisabledFn);
get itemDisabled(): ItemDisabledFn;
set disabled(v: boolean);
get disabled(): boolean;
set tabindex(v: number);
get tabindex(): number;
/**
* Sets the format items list. Use this property to override the default list.
*/
set data(formatItems: FormatItem[]);
get data(): FormatItem[];
/**
* Emits when the value of the DropDownList changes.
*/
valueChange: EventEmitter;
formatDropDownList: FormatDropDownListComponent;
formatButton: ElementRef;
private readonly _value;
private readonly _defaultItem;
private readonly _itemDisabled;
private readonly _disabled;
private readonly _tabindex;
private subs;
private readonly _data;
applyFormatSVGIcon: SVGIcon;
private editor;
constructor(dialogService: DialogService, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService, renderer: Renderer2);
ngOnInit(): void;
/**
* @hidden
*/
onValueChange(ev: string): void;
ngOnDestroy(): void;
get outerWidth(): number;
get title(): string;
/**
* @hidden
*/
openDialog(): void;
/**
* @hidden
*/
canFocus(): boolean;
/**
* @hidden
*/
focus(): void;
/**
* @hidden
*/
handleKey(): boolean;
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵcmp: i0.ɵɵComponentDeclaration;
}
/**
* @hidden
*/
interface TableData {
rows: number;
cols: number;
}
/**
* Represents toolbar component which allows creating and insertig a table in the Editor's content.
*
* Use this toolbar component to let users create and insert a table in the Editor's content.
*
* @example
* ```html
*
*
*
*
*
* ```
*/
declare class EditorInsertTableButtonComponent extends ToolBarToolComponent implements OnDestroy {
private localization;
private popupService;
private dialogService;
private renderer;
element: ElementRef;
overflowElement: ElementRef;
popupGridTemplate: TemplateRef;
/**
* @hidden
*/
set popupRef(value: PopupRef);
get popupRef(): PopupRef;
/**
* @hidden
*/
set disabled(v: boolean);
get disabled(): boolean;
addTableSVGIcon: SVGIcon;
private readonly _disabled;
private readonly _popupRef;
private open;
private buttonBlurred;
private cellClicked;
private subs;
private editor;
constructor(localization: EditorLocalizationService, popupService: PopupService, dialogService: DialogService, providerService: ProviderService, renderer: Renderer2);
ngOnDestroy(): void;
get outerWidth(): number;
get title(): string;
/**
* @hidden
*/
toggle(open?: boolean): void;
/**
* @hidden
*/
openDialog(): void;
/**
* @hidden
*/
onBlur(): void;
/**
* @hidden
*/
onCellClick(args: TableData): void;
/**
* @hidden
*/
canFocus(): boolean;
/**
* @hidden
*/
focus(): void;
/**
* @hidden
*/
handleKey(ev: any): boolean;
private createPopup;
private destroyPopup;
private getButton;
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵcmp: i0.ɵɵComponentDeclaration;
}
/**
* @hidden
*
* Configures an existing ToolBarButtonComponent as an Editor **MergeCells** tool
* ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#built-in-tools)).
* The directive predefines the `icon` and `click` event handlers of the button.
* It also updates the `disabled` state of the button based on the cursor position in the editing area.
*
* @example
* ```html
*
* ```
* @remarks
* Applied to: {@link ToolBarButtonComponent}
*/
declare class EditorMergeCellsButtonDirective extends EditorCommandButton {
constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService, cdr: ChangeDetectorRef, injector: Injector);
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵdir: i0.ɵɵDirectiveDeclaration;
}
/**
* @hidden
*
* Configures an existing ToolBarButtonComponent as an Editor SplitCell tool
* ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#built-in-tools)).
* The directive predefines the `icon` and `click` event handlers of the button.
* It also updates the `disabled` state of the button based on the cursor position in the editing area.
*
* @example
* ```html
*
* ```
* @remarks
* Applied to: {@link ToolBarButtonComponent}
*/
declare class EditorSplitCellButtonDirective extends EditorCommandButton {
constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService, cdr: ChangeDetectorRef, injector: Injector);
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵdir: i0.ɵɵDirectiveDeclaration;
}
/**
* Represents the [`NgModule`](link:site.data.urls.angular['ngmoduleapi']) for the Editor component.
* Use this module to import the Editor and its related directives and services into your NgModule-based Angular application.
*
* @example
* ```ts
* import { NgModule } from '@angular/core';
* import { EditorModule } from '@progress/kendo-angular-editor';
* import { BrowserModule } from "@angular/platform-browser";
* import { AppComponent } from './app.component';
*
* @NgModule({
* declarations: [AppComponent],
* imports: [BrowserModule, EditorModule],
* bootstrap: [AppComponent]
* })
* export class AppModule {}
* ```
*/
declare class EditorModule {
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵmod: i0.ɵɵNgModuleDeclaration;
static ɵinj: i0.ɵɵInjectorDeclaration;
}
/**
* @hidden
*/
declare const schema: Schema;
/**
* Extracts the text from the current editor state's selection ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/plugins#popup-tools)).
*
* @example
* ```ts
* import { getSelectionText } from '@progress/kendo-angular-editor';
*
* export class AppComponent {
* @ViewChild('editor') public editor;
* public onClick() {
* const selection = getSelectionText(this.editor.view.state);
* }
* }
* ```
* @param state The current `EditorState`.
* @returns The selected text.
*/
declare const getSelectionText: (state: EditorState) => string;
/**
* @hidden
*/
declare class PopupTableGridComponent {
private localization;
cellClick: EventEmitter;
tableWizardClick: EventEmitter;
tableWizardIcon: SVGIcon;
private readonly _state;
private rows;
private cols;
constructor(localization: EditorLocalizationService);
get message(): string;
get cells(): any[];
selected(index: number): boolean;
setState(index: number): void;
resetState(): void;
insertTable(): void;
openTableWizard(): void;
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵcmp: i0.ɵɵComponentDeclaration;
}
/**
* @hidden
*/
declare class LocalizedMessagesDirective extends MessagesDirective {
protected service: LocalizationService;
constructor(service: LocalizationService);
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵdir: i0.ɵɵDirectiveDeclaration;
}
/**
* @hidden
*/
declare class DropDownToolDirective {
private hostEl;
private zone;
private get hostElement();
constructor(hostEl: ElementRef, zone: NgZone);
ngAfterViewInit(): void;
ngOnDestroy(): void;
private preventDefault;
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵdir: i0.ɵɵDirectiveDeclaration;
}
/**
* Utility array that contains all `Editor` related components and directives.
*/
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];
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 };
export type { ApplyToWordOptions, DialogCommand, EditorCommand, EditorCssSettings, EditorResizableOptions, FontFamilyItem, FontSizeItem, FormatItem, PasteCleanupSettings, PluginsFn };