@progress/kendo-angular-editor 16.0.0-develop.2 → 16.0.0-develop.5

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 (130) hide show
  1. package/dialogs/colorpicker-dialog.component.d.ts +1 -1
  2. package/dialogs/file-link-dialog.component.d.ts +1 -1
  3. package/dialogs/font-family-dialog.component.d.ts +1 -1
  4. package/dialogs/font-size-dialog.component.d.ts +1 -1
  5. package/dialogs/format-dialog.component.d.ts +1 -1
  6. package/dialogs/image-dialog.component.d.ts +1 -1
  7. package/dialogs/insert-table-dialog.component.d.ts +1 -1
  8. package/dialogs/source-dialog.component.d.ts +1 -1
  9. package/editor.component.d.ts +1 -1
  10. package/esm2020/common/provider.service.mjs +3 -3
  11. package/esm2020/dialogs/colorpicker-dialog.component.mjs +6 -6
  12. package/esm2020/dialogs/file-link-dialog.component.mjs +8 -8
  13. package/esm2020/dialogs/font-family-dialog.component.mjs +6 -6
  14. package/esm2020/dialogs/font-size-dialog.component.mjs +6 -6
  15. package/esm2020/dialogs/format-dialog.component.mjs +6 -6
  16. package/esm2020/dialogs/image-dialog.component.mjs +8 -8
  17. package/esm2020/dialogs/insert-table-dialog.component.mjs +6 -6
  18. package/esm2020/dialogs/source-dialog.component.mjs +6 -6
  19. package/esm2020/editor.component.mjs +22 -23
  20. package/esm2020/editor.module.mjs +20 -22
  21. package/esm2020/index.mjs +1 -0
  22. package/esm2020/localization/custom-messages.component.mjs +3 -3
  23. package/esm2020/localization/editor-localization.service.mjs +3 -3
  24. package/esm2020/localization/localized-messages.directive.mjs +3 -3
  25. package/esm2020/localization/messages.mjs +3 -3
  26. package/esm2020/package-metadata.mjs +2 -2
  27. package/esm2020/tools/alignment/editor-align-center-button.directive.mjs +3 -3
  28. package/esm2020/tools/alignment/editor-align-justify-button.directive.mjs +3 -3
  29. package/esm2020/tools/alignment/editor-align-left-button.directive.mjs +3 -3
  30. package/esm2020/tools/alignment/editor-align-right-button.directive.mjs +3 -3
  31. package/esm2020/tools/blockquote/editor-blockquote-button.directive.mjs +3 -3
  32. package/esm2020/tools/colorpicker/editor-back-color.directive.mjs +3 -3
  33. package/esm2020/tools/colorpicker/editor-colorpicker.component.mjs +7 -7
  34. package/esm2020/tools/colorpicker/editor-fore-color.directive.mjs +3 -3
  35. package/esm2020/tools/editor-clean-formatting-button.directive.mjs +3 -3
  36. package/esm2020/tools/fontfamily/editor-fontfamily-dropdownlist.component.mjs +7 -7
  37. package/esm2020/tools/fontfamily/editor-fontfamily.component.mjs +6 -6
  38. package/esm2020/tools/fontsize/editor-fontsize-dropdownlist.component.mjs +4 -4
  39. package/esm2020/tools/fontsize/editor-fontsize.component.mjs +6 -6
  40. package/esm2020/tools/format/editor-format-dropdownlist.component.mjs +7 -7
  41. package/esm2020/tools/format/editor-format.component.mjs +6 -6
  42. package/esm2020/tools/history/editor-redo-button.directive.mjs +3 -3
  43. package/esm2020/tools/history/editor-undo-button.directive.mjs +3 -3
  44. package/esm2020/tools/image/editor-insert-image-button.directive.mjs +3 -3
  45. package/esm2020/tools/indentation/editor-indent-button.directive.mjs +3 -3
  46. package/esm2020/tools/indentation/editor-outdent-button.directive.mjs +3 -3
  47. package/esm2020/tools/link/editor-create-link-button.directive.mjs +3 -3
  48. package/esm2020/tools/link/editor-insert-file-button.directive.mjs +3 -3
  49. package/esm2020/tools/link/editor-unlink-button.directive.mjs +3 -3
  50. package/esm2020/tools/list/editor-insert-ordered-list-button.directive.mjs +3 -3
  51. package/esm2020/tools/list/editor-insert-unordered-list-button.directive.mjs +3 -3
  52. package/esm2020/tools/print/editor-print-button.directive.mjs +3 -3
  53. package/esm2020/tools/select-all/select-all-button.directive.mjs +3 -3
  54. package/esm2020/tools/shared/dropdown-tool.directive.mjs +3 -3
  55. package/esm2020/tools/shared/editor-command-base.mjs +3 -3
  56. package/esm2020/tools/source/editor-view-source-button.directive.mjs +3 -3
  57. package/esm2020/tools/tables/editor-add-column-after-button.directive.mjs +3 -3
  58. package/esm2020/tools/tables/editor-add-column-before-button.directive.mjs +3 -3
  59. package/esm2020/tools/tables/editor-add-row-after-button.directive.mjs +3 -3
  60. package/esm2020/tools/tables/editor-add-row-before-button.directive.mjs +3 -3
  61. package/esm2020/tools/tables/editor-delete-column-button.directive.mjs +3 -3
  62. package/esm2020/tools/tables/editor-delete-row-button.directive.mjs +3 -3
  63. package/esm2020/tools/tables/editor-delete-table-button.directive.mjs +3 -3
  64. package/esm2020/tools/tables/editor-insert-table-button.component.mjs +8 -8
  65. package/esm2020/tools/tables/editor-merge-cells-button.directive.mjs +3 -3
  66. package/esm2020/tools/tables/editor-split-cell-button.directive.mjs +3 -3
  67. package/esm2020/tools/tables/popup-table-grid.component.mjs +4 -4
  68. package/esm2020/tools/tools.service.mjs +3 -3
  69. package/esm2020/tools/typographical-emphasis/editor-bold-button.directive.mjs +3 -3
  70. package/esm2020/tools/typographical-emphasis/editor-italic-button.directive.mjs +3 -3
  71. package/esm2020/tools/typographical-emphasis/editor-strikethrough-button.directive.mjs +3 -3
  72. package/esm2020/tools/typographical-emphasis/editor-subscript-button.directive.mjs +3 -3
  73. package/esm2020/tools/typographical-emphasis/editor-superscript-button.directive.mjs +3 -3
  74. package/esm2020/tools/typographical-emphasis/editor-underline-button.directive.mjs +3 -3
  75. package/fesm2015/progress-kendo-angular-editor.mjs +1175 -1177
  76. package/fesm2020/progress-kendo-angular-editor.mjs +1035 -1037
  77. package/index.d.ts +1 -0
  78. package/localization/custom-messages.component.d.ts +1 -1
  79. package/localization/localized-messages.directive.d.ts +1 -1
  80. package/localization/messages.d.ts +1 -1
  81. package/package.json +21 -21
  82. package/schematics/ngAdd/index.js +3 -3
  83. package/tools/alignment/editor-align-center-button.directive.d.ts +1 -1
  84. package/tools/alignment/editor-align-justify-button.directive.d.ts +1 -1
  85. package/tools/alignment/editor-align-left-button.directive.d.ts +1 -1
  86. package/tools/alignment/editor-align-right-button.directive.d.ts +1 -1
  87. package/tools/blockquote/editor-blockquote-button.directive.d.ts +1 -1
  88. package/tools/colorpicker/editor-back-color.directive.d.ts +1 -1
  89. package/tools/colorpicker/editor-colorpicker.component.d.ts +1 -1
  90. package/tools/colorpicker/editor-fore-color.directive.d.ts +1 -1
  91. package/tools/editor-clean-formatting-button.directive.d.ts +1 -1
  92. package/tools/fontfamily/editor-fontfamily-dropdownlist.component.d.ts +1 -1
  93. package/tools/fontfamily/editor-fontfamily.component.d.ts +1 -1
  94. package/tools/fontsize/editor-fontsize-dropdownlist.component.d.ts +1 -1
  95. package/tools/fontsize/editor-fontsize.component.d.ts +1 -1
  96. package/tools/format/editor-format-dropdownlist.component.d.ts +1 -1
  97. package/tools/format/editor-format.component.d.ts +1 -1
  98. package/tools/history/editor-redo-button.directive.d.ts +1 -1
  99. package/tools/history/editor-undo-button.directive.d.ts +1 -1
  100. package/tools/image/editor-insert-image-button.directive.d.ts +1 -1
  101. package/tools/indentation/editor-indent-button.directive.d.ts +1 -1
  102. package/tools/indentation/editor-outdent-button.directive.d.ts +1 -1
  103. package/tools/link/editor-create-link-button.directive.d.ts +1 -1
  104. package/tools/link/editor-insert-file-button.directive.d.ts +1 -1
  105. package/tools/link/editor-unlink-button.directive.d.ts +1 -1
  106. package/tools/list/editor-insert-ordered-list-button.directive.d.ts +1 -1
  107. package/tools/list/editor-insert-unordered-list-button.directive.d.ts +1 -1
  108. package/tools/print/editor-print-button.directive.d.ts +1 -1
  109. package/tools/select-all/select-all-button.directive.d.ts +1 -1
  110. package/tools/shared/dropdown-tool.directive.d.ts +1 -1
  111. package/tools/shared/editor-command-base.d.ts +1 -1
  112. package/tools/source/editor-view-source-button.directive.d.ts +1 -1
  113. package/tools/tables/editor-add-column-after-button.directive.d.ts +1 -1
  114. package/tools/tables/editor-add-column-before-button.directive.d.ts +1 -1
  115. package/tools/tables/editor-add-row-after-button.directive.d.ts +1 -1
  116. package/tools/tables/editor-add-row-before-button.directive.d.ts +1 -1
  117. package/tools/tables/editor-delete-column-button.directive.d.ts +1 -1
  118. package/tools/tables/editor-delete-row-button.directive.d.ts +1 -1
  119. package/tools/tables/editor-delete-table-button.directive.d.ts +1 -1
  120. package/tools/tables/editor-insert-table-button.component.d.ts +1 -1
  121. package/tools/tables/editor-merge-cells-button.directive.d.ts +1 -1
  122. package/tools/tables/editor-split-cell-button.directive.d.ts +1 -1
  123. package/tools/tables/popup-table-grid.component.d.ts +1 -1
  124. package/tools/typographical-emphasis/editor-bold-button.directive.d.ts +1 -1
  125. package/tools/typographical-emphasis/editor-italic-button.directive.d.ts +1 -1
  126. package/tools/typographical-emphasis/editor-strikethrough-button.directive.d.ts +1 -1
  127. package/tools/typographical-emphasis/editor-subscript-button.directive.d.ts +1 -1
  128. package/tools/typographical-emphasis/editor-superscript-button.directive.d.ts +1 -1
  129. package/tools/typographical-emphasis/editor-underline-button.directive.d.ts +1 -1
  130. package/progress-kendo-angular-editor.d.ts +0 -9
@@ -3,14 +3,14 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import * as i0 from '@angular/core';
6
- import { Injectable, Inject, Optional, Component, Input, ViewChild, Directive, EventEmitter, Output, forwardRef, ElementRef, InjectionToken, isDevMode, ViewContainerRef, HostBinding, ContentChild, NgModule } from '@angular/core';
7
- import * as i6 from '@angular/forms';
6
+ import { Injectable, Inject, Optional, Component, Input, ViewChild, InjectionToken, Directive, forwardRef, EventEmitter, Output, ElementRef, isDevMode, ViewContainerRef, HostBinding, ContentChild, NgModule } from '@angular/core';
7
+ import * as i4 from '@angular/forms';
8
8
  import { FormControl, Validators, FormGroup, NG_VALUE_ACCESSOR, FormsModule, ReactiveFormsModule } from '@angular/forms';
9
9
  import { Subject, BehaviorSubject, zip, fromEvent, interval } from 'rxjs';
10
10
  import { take, map, filter as filter$1, concatMap, takeUntil } from 'rxjs/operators';
11
- import * as i1$3 from '@progress/kendo-angular-toolbar';
11
+ import * as i1$2 from '@progress/kendo-angular-toolbar';
12
12
  import { ToolBarToolComponent, ToolBarComponent, ToolBarModule } from '@progress/kendo-angular-toolbar';
13
- import * as i7 from '@progress/kendo-angular-common';
13
+ import * as i7$1 from '@progress/kendo-angular-common';
14
14
  import { isDocumentAvailable, guid, shouldShowValidationUI, hasObservers, KendoInput, Keys, WatermarkModule } from '@progress/kendo-angular-common';
15
15
  import { marks as marks$1, nodes as nodes$1, Schema, createTable, insertNode, alignBlocks, alignRemoveRules, expandToWordWrap, toggleInlineFormat, bold, cleanFormatting, applyLink, applyInlineStyle, insertText, italic, strikethrough, subscript, superscript, underline, removeLink, link, selectAll, isAligned, alignCenterRules, alignJustifyRules, alignLeftRules, alignRightRules, formatBlockElements, getHtml, indent, insertImage, toggleOrderedList, toggleUnorderedList, outdent, redo, setHtml, undo, blockquote, addColumnBefore, addColumnAfter, addRowBefore, addRowAfter, deleteRow, deleteColumn, mergeCells, splitCell, deleteTable, hasMark, activeNode, canIndentAsListItem, canBeIndented, indentRules, hasNode, canOutdentAsListItem, outdentRules, isIndented, getActiveMarks, expandSelection, getSelectionText as getSelectionText$1, getNodeFromSelection, getMark, removeComments, sanitize, removeAttribute, sanitizeStyleAttr, sanitizeClassAttr, pasteCleanup, parseContent, AllSelection, TextSelection, Plugin, PluginKey, history, keymap, buildListKeymap, buildKeymap, baseKeymap, gapCursor, imageResizing, tableResizing, tableEditing, caretColor, cspFix, placeholder, EditorState, EditorView } from '@progress/kendo-editor-common';
16
16
  export { Decoration, DecorationSet, EditorState, EditorView, InputRule, Mark, MarkType, Node, NodeType, Plugin, PluginKey, Schema, Transaction, baseKeymap, dropCursor, gapCursor, history, inputRules, keymap, tableNodes, textblockTypeInputRule, wrappingInputRule } from '@progress/kendo-editor-common';
@@ -19,20 +19,20 @@ import * as i1$1 from '@progress/kendo-angular-dialog';
19
19
  import { DialogContentBase, DialogModule } from '@progress/kendo-angular-dialog';
20
20
  import * as i1 from '@progress/kendo-angular-l10n';
21
21
  import { LocalizationService, L10N_PREFIX, RTL, ComponentMessages } from '@progress/kendo-angular-l10n';
22
- import * as i3 from '@progress/kendo-angular-inputs';
23
- import { ColorPickerComponent, ColorPickerModule, NumericTextBoxModule, CheckBoxModule, TextBoxModule, TextAreaModule, FormFieldModule } from '@progress/kendo-angular-inputs';
24
- import * as i4 from '@progress/kendo-angular-buttons';
22
+ import * as i3 from '@progress/kendo-angular-buttons';
25
23
  import { ButtonModule } from '@progress/kendo-angular-buttons';
26
- import * as i4$1 from '@progress/kendo-angular-label';
24
+ import * as i6 from '@progress/kendo-angular-inputs';
25
+ import { ColorPickerComponent, ColorPickerModule, NumericTextBoxModule, CheckBoxModule, TextBoxModule, TextAreaModule, FormFieldModule } from '@progress/kendo-angular-inputs';
26
+ import * as i7 from '@progress/kendo-angular-label';
27
27
  import { LabelModule } from '@progress/kendo-angular-label';
28
- import * as i3$1 from '@angular/common';
28
+ import * as i5 from '@angular/common';
29
29
  import { CommonModule } from '@angular/common';
30
- import * as i1$2 from '@progress/kendo-angular-dropdowns';
30
+ import { alignCenterIcon, alignJustifyIcon, alignLeftIcon, alignRightIcon, dropletIcon, rightDoubleQuotesIcon, boldIcon, clearCssIcon, linkIcon, foregroundColorIcon, indentIcon, fileAddIcon, fileImageIcon, listOrderedIcon, listUnorderedIcon, italicIcon, outdentIcon, printIcon, redoIcon, selectAllIcon, strikethroughIcon, subscriptIcon, supscriptIcon, underlineIcon, undoIcon, unlinkIcon, codeSnippetIcon, tableAddIcon, tableColumnInsertLeftIcon, tableColumnInsertRightIcon, tableRowInsertAboveIcon, tableRowInsertBelowIcon, tableRowDeleteIcon, tableColumnDeleteIcon, cellsMergeIcon, cellSplitHorizontallyIcon, tableDeleteIcon, applyFormatIcon, tableWizardIcon, fontSizeIcon, fontFamilyIcon } from '@progress/kendo-svg-icons';
31
+ import * as i2 from '@progress/kendo-angular-dropdowns';
31
32
  import { DropDownListComponent, DropDownsModule } from '@progress/kendo-angular-dropdowns';
32
- import { applyFormatIcon, alignCenterIcon, alignJustifyIcon, alignLeftIcon, alignRightIcon, dropletIcon, rightDoubleQuotesIcon, boldIcon, clearCssIcon, linkIcon, foregroundColorIcon, indentIcon, fileAddIcon, fileImageIcon, listOrderedIcon, listUnorderedIcon, italicIcon, outdentIcon, printIcon, redoIcon, selectAllIcon, strikethroughIcon, subscriptIcon, supscriptIcon, underlineIcon, undoIcon, unlinkIcon, codeSnippetIcon, tableAddIcon, tableColumnInsertLeftIcon, tableColumnInsertRightIcon, tableRowInsertAboveIcon, tableRowInsertBelowIcon, tableRowDeleteIcon, tableColumnDeleteIcon, cellsMergeIcon, cellSplitHorizontallyIcon, tableDeleteIcon, tableWizardIcon, fontSizeIcon, fontFamilyIcon } from '@progress/kendo-svg-icons';
33
33
  import * as i6$1 from '@progress/kendo-angular-icons';
34
34
  import { IconsModule } from '@progress/kendo-angular-icons';
35
- import * as i2 from '@progress/kendo-angular-popup';
35
+ import * as i2$1 from '@progress/kendo-angular-popup';
36
36
 
37
37
  /**
38
38
  * @hidden
@@ -41,8 +41,8 @@ const packageMetadata = {
41
41
  name: '@progress/kendo-angular-editor',
42
42
  productName: 'Kendo UI for Angular',
43
43
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
44
- publishDate: 1714067587,
45
- version: '16.0.0-develop.2',
44
+ publishDate: 1714130104,
45
+ version: '16.0.0-develop.5',
46
46
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
47
47
  };
48
48
 
@@ -654,9 +654,9 @@ class EditorLocalizationService extends LocalizationService {
654
654
  super(prefix, messageService, _rtl);
655
655
  }
656
656
  }
657
- EditorLocalizationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorLocalizationService, deps: [{ token: L10N_PREFIX }, { token: i1.MessageService, optional: true }, { token: RTL, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
658
- EditorLocalizationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorLocalizationService });
659
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorLocalizationService, decorators: [{
657
+ EditorLocalizationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorLocalizationService, deps: [{ token: L10N_PREFIX }, { token: i1.MessageService, optional: true }, { token: RTL, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
658
+ EditorLocalizationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorLocalizationService });
659
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorLocalizationService, decorators: [{
660
660
  type: Injectable
661
661
  }], ctorParameters: function () {
662
662
  return [{ type: undefined, decorators: [{
@@ -712,8 +712,8 @@ class SourceDialogComponent extends DialogContentBase {
712
712
  .replace(/\n$/, '');
713
713
  }
714
714
  }
715
- SourceDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: SourceDialogComponent, deps: [{ token: i1$1.DialogRef }, { token: EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
716
- SourceDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: SourceDialogComponent, selector: "ng-component", inputs: { editor: "editor" }, viewQueries: [{ propertyName: "textarea", first: true, predicate: ["textarea"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `
715
+ SourceDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: SourceDialogComponent, deps: [{ token: i1$1.DialogRef }, { token: EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
716
+ SourceDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: SourceDialogComponent, selector: "ng-component", inputs: { editor: "editor" }, viewQueries: [{ propertyName: "textarea", first: true, predicate: ["textarea"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `
717
717
  <kendo-dialog-titlebar (close)="onCancelAction()">
718
718
  {{ textFor('viewSource') }}
719
719
  </kendo-dialog-titlebar>
@@ -736,8 +736,8 @@ SourceDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
736
736
  (click)="onCancelAction()"
737
737
  >{{ textFor('dialogCancel') }}</button>
738
738
  </kendo-dialog-actions>
739
- `, isInline: true, components: [{ type: i1$1.DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { type: i3.TextAreaComponent, selector: "kendo-textarea", inputs: ["focusableId", "flow", "inputAttributes", "adornmentsOrientation", "rows", "cols", "maxlength", "tabindex", "tabIndex", "resizable", "size", "rounded", "fillMode", "showPrefixSeparator", "showSuffixSeparator"], outputs: ["focus", "blur", "valueChange"], exportAs: ["kendoTextArea"] }, { type: i1$1.DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { type: i4.ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
740
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: SourceDialogComponent, decorators: [{
739
+ `, isInline: true, dependencies: [{ kind: "component", type: i3.ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: i1$1.DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { kind: "component", type: i1$1.DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { kind: "component", type: i6.TextAreaComponent, selector: "kendo-textarea", inputs: ["focusableId", "flow", "inputAttributes", "adornmentsOrientation", "rows", "cols", "maxlength", "tabindex", "tabIndex", "resizable", "size", "rounded", "fillMode", "showPrefixSeparator", "showSuffixSeparator"], outputs: ["focus", "blur", "valueChange"], exportAs: ["kendoTextArea"] }] });
740
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: SourceDialogComponent, decorators: [{
741
741
  type: Component,
742
742
  args: [{
743
743
  template: `
@@ -842,8 +842,8 @@ class ImageDialogComponent extends DialogContentBase {
842
842
  return Number.isNaN(parseInt(value, 10)) || parseInt(value, 10) <= 0 ? '' : safeString(parseInt(value, 10));
843
843
  }
844
844
  }
845
- ImageDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ImageDialogComponent, deps: [{ token: i1$1.DialogRef }, { token: EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
846
- ImageDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: ImageDialogComponent, selector: "ng-component", inputs: { editor: "editor" }, viewQueries: [{ propertyName: "srcInput", first: true, predicate: ["srcInput"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
845
+ ImageDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ImageDialogComponent, deps: [{ token: i1$1.DialogRef }, { token: EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
846
+ ImageDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: ImageDialogComponent, selector: "ng-component", inputs: { editor: "editor" }, viewQueries: [{ propertyName: "srcInput", first: true, predicate: ["srcInput"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
847
847
  <kendo-dialog-titlebar (close)="onCancelAction()">
848
848
  {{ textFor('insertImage') }}
849
849
  </kendo-dialog-titlebar>
@@ -905,8 +905,8 @@ ImageDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
905
905
  (click)="onCancelAction()"
906
906
  >{{ textFor('dialogCancel') }}</button>
907
907
  </kendo-dialog-actions>
908
- `, isInline: true, components: [{ type: i1$1.DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { type: i3.FormFieldComponent, selector: "kendo-formfield", inputs: ["showHints", "orientation", "showErrors"] }, { type: i4$1.LabelComponent, selector: "kendo-label", inputs: ["text", "for", "optional", "labelCssStyle", "labelCssClass"], exportAs: ["kendoLabel"] }, { type: i3.TextBoxComponent, selector: "kendo-textbox", inputs: ["focusableId", "title", "type", "disabled", "readonly", "tabindex", "value", "selectOnFocus", "showSuccessIcon", "showErrorIcon", "clearButton", "successIcon", "successSvgIcon", "errorIcon", "errorSvgIcon", "clearButtonIcon", "clearButtonSvgIcon", "size", "rounded", "fillMode", "tabIndex", "placeholder", "maxlength", "inputAttributes"], outputs: ["valueChange", "inputFocus", "inputBlur", "focus", "blur"], exportAs: ["kendoTextBox"] }, { type: i1$1.DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { type: i4.ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }], directives: [{ type: i6.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i6.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }] });
909
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ImageDialogComponent, decorators: [{
908
+ `, isInline: true, dependencies: [{ kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i3.ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: i1$1.DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { kind: "component", type: i1$1.DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { kind: "component", type: i6.TextBoxComponent, selector: "kendo-textbox", inputs: ["focusableId", "title", "type", "disabled", "readonly", "tabindex", "value", "selectOnFocus", "showSuccessIcon", "showErrorIcon", "clearButton", "successIcon", "successSvgIcon", "errorIcon", "errorSvgIcon", "clearButtonIcon", "clearButtonSvgIcon", "size", "rounded", "fillMode", "tabIndex", "placeholder", "maxlength", "inputAttributes"], outputs: ["valueChange", "inputFocus", "inputBlur", "focus", "blur"], exportAs: ["kendoTextBox"] }, { kind: "component", type: i6.FormFieldComponent, selector: "kendo-formfield", inputs: ["showHints", "orientation", "showErrors"] }, { kind: "component", type: i7.LabelComponent, selector: "kendo-label", inputs: ["text", "for", "optional", "labelCssStyle", "labelCssClass"], exportAs: ["kendoLabel"] }] });
909
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ImageDialogComponent, decorators: [{
910
910
  type: Component,
911
911
  args: [{
912
912
  template: `
@@ -1068,8 +1068,8 @@ class FileLinkDialogComponent extends DialogContentBase {
1068
1068
  return linkData;
1069
1069
  }
1070
1070
  }
1071
- FileLinkDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FileLinkDialogComponent, deps: [{ token: i1$1.DialogRef }, { token: EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
1072
- FileLinkDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: FileLinkDialogComponent, selector: "ng-component", inputs: { editor: "editor", command: "command" }, viewQueries: [{ propertyName: "hrefInput", first: true, predicate: ["hrefInput"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
1071
+ FileLinkDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: FileLinkDialogComponent, deps: [{ token: i1$1.DialogRef }, { token: EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
1072
+ FileLinkDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: FileLinkDialogComponent, selector: "ng-component", inputs: { editor: "editor", command: "command" }, viewQueries: [{ propertyName: "hrefInput", first: true, predicate: ["hrefInput"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
1073
1073
  <kendo-dialog-titlebar (close)="onCancelAction()">
1074
1074
  {{ titleText }}
1075
1075
  </kendo-dialog-titlebar>
@@ -1135,8 +1135,8 @@ FileLinkDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
1135
1135
  (click)="onCancelAction()"
1136
1136
  >{{ textFor('dialogCancel') }}</button>
1137
1137
  </kendo-dialog-actions>
1138
- `, isInline: true, components: [{ type: i1$1.DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { type: i3.FormFieldComponent, selector: "kendo-formfield", inputs: ["showHints", "orientation", "showErrors"] }, { type: i4$1.LabelComponent, selector: "kendo-label", inputs: ["text", "for", "optional", "labelCssStyle", "labelCssClass"], exportAs: ["kendoLabel"] }, { type: i3.TextBoxComponent, selector: "kendo-textbox", inputs: ["focusableId", "title", "type", "disabled", "readonly", "tabindex", "value", "selectOnFocus", "showSuccessIcon", "showErrorIcon", "clearButton", "successIcon", "successSvgIcon", "errorIcon", "errorSvgIcon", "clearButtonIcon", "clearButtonSvgIcon", "size", "rounded", "fillMode", "tabIndex", "placeholder", "maxlength", "inputAttributes"], outputs: ["valueChange", "inputFocus", "inputBlur", "focus", "blur"], exportAs: ["kendoTextBox"] }, { type: i1$1.DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { type: i4.ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }], directives: [{ type: i6.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i6.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i6.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i6.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i6.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { type: i3$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i6.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { type: i3.CheckBoxDirective, selector: "input[kendoCheckBox]", inputs: ["size", "rounded"] }, { type: i4$1.LabelDirective, selector: "label[for]", inputs: ["for", "labelClass"] }] });
1139
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FileLinkDialogComponent, decorators: [{
1138
+ `, isInline: true, dependencies: [{ kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i4.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i4.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i4.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i3.ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: i1$1.DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { kind: "component", type: i1$1.DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { kind: "directive", type: i6.CheckBoxDirective, selector: "input[kendoCheckBox]", inputs: ["size", "rounded"] }, { kind: "component", type: i6.TextBoxComponent, selector: "kendo-textbox", inputs: ["focusableId", "title", "type", "disabled", "readonly", "tabindex", "value", "selectOnFocus", "showSuccessIcon", "showErrorIcon", "clearButton", "successIcon", "successSvgIcon", "errorIcon", "errorSvgIcon", "clearButtonIcon", "clearButtonSvgIcon", "size", "rounded", "fillMode", "tabIndex", "placeholder", "maxlength", "inputAttributes"], outputs: ["valueChange", "inputFocus", "inputBlur", "focus", "blur"], exportAs: ["kendoTextBox"] }, { kind: "component", type: i6.FormFieldComponent, selector: "kendo-formfield", inputs: ["showHints", "orientation", "showErrors"] }, { kind: "directive", type: i7.LabelDirective, selector: "label[for]", inputs: ["for", "labelClass"] }, { kind: "component", type: i7.LabelComponent, selector: "kendo-label", inputs: ["text", "for", "optional", "labelCssStyle", "labelCssClass"], exportAs: ["kendoLabel"] }] });
1139
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: FileLinkDialogComponent, decorators: [{
1140
1140
  type: Component,
1141
1141
  args: [{
1142
1142
  template: `
@@ -1537,9 +1537,9 @@ const EditorErrorMessages = {
1537
1537
  */
1538
1538
  class ProviderService {
1539
1539
  }
1540
- ProviderService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ProviderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1541
- ProviderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ProviderService });
1542
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ProviderService, decorators: [{
1540
+ ProviderService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ProviderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1541
+ ProviderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ProviderService });
1542
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ProviderService, decorators: [{
1543
1543
  type: Injectable
1544
1544
  }] });
1545
1545
 
@@ -1552,9 +1552,9 @@ class EditorToolsService {
1552
1552
  this.needsCheck = new Subject();
1553
1553
  }
1554
1554
  }
1555
- EditorToolsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorToolsService, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
1556
- EditorToolsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorToolsService });
1557
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorToolsService, decorators: [{
1555
+ EditorToolsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorToolsService, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
1556
+ EditorToolsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorToolsService });
1557
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorToolsService, decorators: [{
1558
1558
  type: Injectable
1559
1559
  }], ctorParameters: function () { return [{ type: i0.NgZone }]; } });
1560
1560
 
@@ -1601,1197 +1601,1197 @@ class EditorPasteEvent extends PreventableEvent {
1601
1601
  /**
1602
1602
  * @hidden
1603
1603
  */
1604
- class DropDownToolDirective {
1605
- constructor(hostEl, zone) {
1606
- this.hostEl = hostEl;
1607
- this.zone = zone;
1608
- this.preventDefault = (event) => {
1609
- event.preventDefault();
1610
- };
1611
- }
1612
- get hostElement() {
1613
- return this.hostEl.nativeElement;
1614
- }
1615
- ngAfterViewInit() {
1616
- this.zone.runOutsideAngular(() => {
1617
- this.hostElement.addEventListener('pointerdown', this.preventDefault);
1604
+ const commandIcons = {
1605
+ alignCenter: 'align-center',
1606
+ alignJustify: 'align-justify',
1607
+ alignLeft: 'align-left',
1608
+ alignRight: 'align-right',
1609
+ backColor: 'droplet',
1610
+ blockquote: 'blockquote',
1611
+ bold: 'bold',
1612
+ cleanFormatting: 'clear-css',
1613
+ createLink: 'link',
1614
+ foreColor: 'foreground-color',
1615
+ indent: 'indent',
1616
+ insertFile: 'file-add',
1617
+ insertImage: 'image',
1618
+ insertOrderedList: 'list-ordered',
1619
+ insertUnorderedList: 'list-unordered',
1620
+ italic: 'italic',
1621
+ outdent: 'outdent',
1622
+ print: 'print',
1623
+ redo: 'redo',
1624
+ selectAll: 'select-all',
1625
+ strikethrough: 'strikethrough',
1626
+ subscript: 'subscript',
1627
+ superscript: 'supscript',
1628
+ underline: 'underline',
1629
+ undo: 'undo',
1630
+ unlink: 'unlink',
1631
+ viewSource: 'code',
1632
+ //table
1633
+ insertTable: 'table-add',
1634
+ addColumnBefore: 'table-column-insert-left',
1635
+ addColumnAfter: 'table-column-insert-right',
1636
+ addRowBefore: 'table-row-insert-above',
1637
+ addRowAfter: 'table-row-insert-below',
1638
+ deleteRow: 'table-row-delete',
1639
+ deleteColumn: 'table-column-delete',
1640
+ mergeCells: 'cells-merge',
1641
+ splitCell: 'cell-split-horizontally',
1642
+ deleteTable: 'table-delete'
1643
+ // tableWizard: 'table-wizard'
1644
+ };
1645
+ /**
1646
+ * @hidden
1647
+ */
1648
+ const commandSVGIcons = {
1649
+ alignCenter: alignCenterIcon,
1650
+ alignJustify: alignJustifyIcon,
1651
+ alignLeft: alignLeftIcon,
1652
+ alignRight: alignRightIcon,
1653
+ backColor: dropletIcon,
1654
+ blockquote: rightDoubleQuotesIcon,
1655
+ bold: boldIcon,
1656
+ cleanFormatting: clearCssIcon,
1657
+ createLink: linkIcon,
1658
+ foreColor: foregroundColorIcon,
1659
+ indent: indentIcon,
1660
+ insertFile: fileAddIcon,
1661
+ insertImage: fileImageIcon,
1662
+ insertOrderedList: listOrderedIcon,
1663
+ insertUnorderedList: listUnorderedIcon,
1664
+ italic: italicIcon,
1665
+ outdent: outdentIcon,
1666
+ print: printIcon,
1667
+ redo: redoIcon,
1668
+ selectAll: selectAllIcon,
1669
+ strikethrough: strikethroughIcon,
1670
+ subscript: subscriptIcon,
1671
+ superscript: supscriptIcon,
1672
+ underline: underlineIcon,
1673
+ undo: undoIcon,
1674
+ unlink: unlinkIcon,
1675
+ viewSource: codeSnippetIcon,
1676
+ //table
1677
+ insertTable: tableAddIcon,
1678
+ addColumnBefore: tableColumnInsertLeftIcon,
1679
+ addColumnAfter: tableColumnInsertRightIcon,
1680
+ addRowBefore: tableRowInsertAboveIcon,
1681
+ addRowAfter: tableRowInsertBelowIcon,
1682
+ deleteRow: tableRowDeleteIcon,
1683
+ deleteColumn: tableColumnDeleteIcon,
1684
+ mergeCells: cellsMergeIcon,
1685
+ splitCell: cellSplitHorizontallyIcon,
1686
+ deleteTable: tableDeleteIcon
1687
+ // tableWizard: 'table-wizard'
1688
+ };
1689
+
1690
+ const MY_TOKEN = new InjectionToken('COMMAND_TOKEN');
1691
+ /**
1692
+ * @hidden
1693
+ */
1694
+ class EditorCommandBaseDirective {
1695
+ constructor(command, button, localization, providerService, toolsService) {
1696
+ this.command = command;
1697
+ this.button = button;
1698
+ this.localization = localization;
1699
+ this.toolsService = toolsService;
1700
+ this.editor = providerService.editor;
1701
+ this.toolsService.zone.runOutsideAngular(() => {
1702
+ setTimeout(() => {
1703
+ const text = this.localization.get(this.command);
1704
+ if (text) {
1705
+ this.button.showText = 'overflow';
1706
+ this.button.showIcon = 'both';
1707
+ this.button.text = text;
1708
+ }
1709
+ if (!this.button.toolbarOptions.icon) {
1710
+ this.button.icon = commandIcons[this.command];
1711
+ }
1712
+ if (!this.button.toolbarOptions.svgIcon) {
1713
+ this.button.svgIcon = commandSVGIcons[this.command];
1714
+ }
1715
+ this.button.title = text;
1716
+ this.toolsService.zone.run(() => {
1717
+ this.toolsService.needsCheck.next();
1718
+ });
1719
+ });
1618
1720
  });
1619
1721
  }
1722
+ ngOnInit() {
1723
+ this.subs = this.editor.stateChange.subscribe(this.onStateChange.bind(this));
1724
+ this.subs.add(this.button.click.subscribe((this.clickHandler.bind(this))));
1725
+ this.subs.add(this.button.pointerdown.subscribe((this.pointerdownHandler.bind(this))));
1726
+ }
1620
1727
  ngOnDestroy() {
1621
- this.hostElement.removeEventListener('pointerdown', this.preventDefault);
1728
+ if (this.subs) {
1729
+ this.subs.unsubscribe();
1730
+ }
1622
1731
  }
1732
+ clickHandler() { }
1733
+ pointerdownHandler(_event) { }
1734
+ onStateChange(_toolBarState) { }
1623
1735
  }
1624
- DropDownToolDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DropDownToolDirective, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
1625
- DropDownToolDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: DropDownToolDirective, selector: "[kendoEditorDropDownTool]", ngImport: i0 });
1626
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DropDownToolDirective, decorators: [{
1736
+ EditorCommandBaseDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorCommandBaseDirective, deps: [{ token: MY_TOKEN }, { token: i1$2.ToolBarButtonComponent }, { token: i1.LocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
1737
+ EditorCommandBaseDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: EditorCommandBaseDirective, selector: "[kendoEditorCommandBase]", ngImport: i0 });
1738
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorCommandBaseDirective, decorators: [{
1627
1739
  type: Directive,
1628
- args: [{ selector: '[kendoEditorDropDownTool]' }]
1629
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }]; } });
1740
+ args: [{
1741
+ selector: '[kendoEditorCommandBase]'
1742
+ }]
1743
+ }], ctorParameters: function () {
1744
+ return [{ type: undefined, decorators: [{
1745
+ type: Inject,
1746
+ args: [MY_TOKEN]
1747
+ }] }, { type: i1$2.ToolBarButtonComponent }, { type: i1.LocalizationService }, { type: ProviderService }, { type: EditorToolsService }];
1748
+ } });
1630
1749
 
1631
1750
  /**
1632
1751
  * @hidden
1633
1752
  */
1634
- class FormatDropDownListComponent {
1635
- constructor() {
1636
- this.valueChange = new EventEmitter();
1753
+ class EditorCommandButton extends EditorCommandBaseDirective {
1754
+ constructor(command, button, localization, providerService, toolsService) {
1755
+ super(command, button, localization, providerService, toolsService);
1756
+ this.command = command;
1757
+ this.button = button;
1758
+ this.localization = localization;
1759
+ this.providerService = providerService;
1760
+ this.toolsService = toolsService;
1637
1761
  }
1638
- onValueChange(tag) {
1639
- this.valueChange.emit(tag);
1762
+ clickHandler() {
1763
+ this.editor.exec(this.command, this.editor.applyToWord);
1764
+ this.editor.focus();
1640
1765
  }
1641
- focus() {
1642
- this.dropDownList.focus();
1766
+ pointerdownHandler(e) {
1767
+ e.preventDefault();
1768
+ }
1769
+ onStateChange(toolBarState) {
1770
+ this.providerService.editor.ngZone.onStable.pipe(take(1)).subscribe(() => {
1771
+ this.button.selected = toolBarState[this.command].selected;
1772
+ this.button.disabled = toolBarState[this.command].disabled;
1773
+ });
1643
1774
  }
1644
1775
  }
1645
- FormatDropDownListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FormatDropDownListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1646
- FormatDropDownListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: FormatDropDownListComponent, selector: "kendo-editor-format-dropdownlist", inputs: { data: "data", value: "value", defaultItem: "defaultItem", itemDisabled: "itemDisabled", title: "title", disabled: "disabled", tabindex: "tabindex" }, outputs: { valueChange: "valueChange" }, viewQueries: [{ propertyName: "element", first: true, predicate: ["element"], descendants: true, static: true }, { propertyName: "dropDownList", first: true, predicate: ["element"], descendants: true, read: DropDownListComponent, static: true }], ngImport: i0, template: `
1647
- <kendo-dropdownlist
1648
- #element
1649
- kendoEditorDropDownTool
1650
- [defaultItem]="defaultItem"
1651
- [textField]="'text'"
1652
- [valueField]="'tag'"
1653
- [data]="data"
1654
- [(value)]="value"
1655
- [valuePrimitive]="true"
1656
- [itemDisabled]="itemDisabled"
1657
- [attr.title]="title"
1658
- [disabled]="disabled"
1659
- [tabindex]="tabindex"
1660
- (valueChange)="onValueChange($event)"
1661
- [style.width.em]="13"
1662
- >
1663
- <ng-template kendoDropDownListItemTemplate let-dataItem>
1664
- <ng-container [ngSwitch]="dataItem.tag">
1665
- <span *ngSwitchCase="'h1'" [style]="'display: block; font-size: 2em; margin-left: 0; font-weight: bold;'">
1666
- {{ dataItem.text }}
1667
- </span>
1668
-
1669
- <span *ngSwitchCase="'h2'" [style]="'display: block; font-size: 1.5em; margin-left: 0; font-weight: bold;'">
1670
- {{ dataItem.text }}
1671
- </span>
1672
-
1673
- <span *ngSwitchCase="'h3'" [style]="'display: block; font-size: 1.17em; margin-left: 0; font-weight: bold;'">
1674
- {{ dataItem.text }}
1675
- </span>
1676
1776
 
1677
- <span *ngSwitchCase="'h4'" [style]="'display: block; font-size: 1em; margin-left: 0; font-weight: bold;'">
1678
- {{ dataItem.text }}
1679
- </span>
1777
+ /**
1778
+ * A directive which configures an existing `ToolBarButtonComponent` as an Editor **AlignLeft** tool
1779
+ * ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
1780
+ * The directive will predefine the SVG icon and `click` event handlers of the button.
1781
+ * In addition, the directive updates the `selected` state of the button according to the cursor position in the editing area.
1782
+ *
1783
+ * @example
1784
+ * ```html
1785
+ * <kendo-toolbar-button kendoEditorAlignLeftButton></kendo-toolbar-button>
1786
+ * ```
1787
+ */
1788
+ class EditorAlignLeftButtonDirective extends EditorCommandButton {
1789
+ constructor(button, localization, providerService, toolsService) {
1790
+ super('alignLeft', button, localization, providerService, toolsService);
1791
+ }
1792
+ }
1793
+ EditorAlignLeftButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorAlignLeftButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
1794
+ EditorAlignLeftButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: EditorAlignLeftButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignLeftButton]", usesInheritance: true, ngImport: i0 });
1795
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorAlignLeftButtonDirective, decorators: [{
1796
+ type: Directive,
1797
+ args: [{
1798
+ selector: 'kendo-toolbar-button[kendoEditorAlignLeftButton]'
1799
+ }]
1800
+ }], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
1680
1801
 
1681
- <span *ngSwitchCase="'h5'" [style]="'display: block; font-size: .83em; margin-left: 0; font-weight: bold;'">
1682
- {{ dataItem.text }}
1683
- </span>
1802
+ /**
1803
+ * A directive which configures an existing `ToolBarButtonComponent` as an Editor **AlignCenter** tool
1804
+ * ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
1805
+ * The directive will predefine the SVG icon and `click` event handlers of the button.
1806
+ * In addition, the directive updates the `selected` state of the button according to the cursor position in the editing area.
1807
+ *
1808
+ * @example
1809
+ * ```html
1810
+ * <kendo-toolbar-button kendoEditorAlignCenterButton></kendo-toolbar-button>
1811
+ * ```
1812
+ */
1813
+ class EditorAlignCenterButtonDirective extends EditorCommandButton {
1814
+ constructor(button, localization, providerService, toolsService) {
1815
+ super('alignCenter', button, localization, providerService, toolsService);
1816
+ }
1817
+ }
1818
+ EditorAlignCenterButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorAlignCenterButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
1819
+ EditorAlignCenterButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: EditorAlignCenterButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignCenterButton]", usesInheritance: true, ngImport: i0 });
1820
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorAlignCenterButtonDirective, decorators: [{
1821
+ type: Directive,
1822
+ args: [{
1823
+ selector: 'kendo-toolbar-button[kendoEditorAlignCenterButton]'
1824
+ }]
1825
+ }], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
1684
1826
 
1685
- <span *ngSwitchCase="'h6'" [style]="'display: block; font-size: .67em; margin-left: 0; font-weight: bold;'">
1686
- {{ dataItem.text }}
1687
- </span>
1688
-
1689
- <span *ngSwitchCase="'p'" [style]="'display: block; margin-left: 0;'">
1690
- {{ dataItem.text }}
1691
- </span>
1692
-
1693
- <span *ngSwitchDefault>{{ dataItem.text }}</span>
1694
- </ng-container>
1695
- </ng-template>
1696
- </kendo-dropdownlist>
1697
- `, isInline: true, components: [{ type: i1$2.DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["customIconClass", "showStickyHeader", "icon", "svgIcon", "loading", "data", "value", "textField", "valueField", "adaptiveMode", "title", "subtitle", "popupSettings", "listHeight", "defaultItem", "disabled", "itemDisabled", "readonly", "filterable", "virtual", "ignoreCase", "delay", "valuePrimitive", "tabindex", "tabIndex", "size", "rounded", "fillMode", "leftRightArrowsNavigation", "id"], outputs: ["valueChange", "filterChange", "selectionChange", "open", "opened", "close", "closed", "focus", "blur"], exportAs: ["kendoDropDownList"] }], directives: [{ type: DropDownToolDirective, selector: "[kendoEditorDropDownTool]" }, { type: i1$2.ItemTemplateDirective, selector: "[kendoDropDownListItemTemplate],[kendoComboBoxItemTemplate],[kendoAutoCompleteItemTemplate],[kendoMultiSelectItemTemplate]" }, { type: i3$1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i3$1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i3$1.NgSwitchDefault, selector: "[ngSwitchDefault]" }] });
1698
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FormatDropDownListComponent, decorators: [{
1699
- type: Component,
1827
+ /**
1828
+ * A directive which configures an existing `ToolBarButtonComponent` as an Editor **AlignRight** tool
1829
+ * ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
1830
+ * The directive will predefine the SVG icon and `click` event handlers of the button.
1831
+ * In addition, the directive updates the `selected` state of the button according to the cursor position in the editing area.
1832
+ *
1833
+ * @example
1834
+ * ```html
1835
+ * <kendo-toolbar-button kendoEditorAlignRightButton></kendo-toolbar-button>
1836
+ * ```
1837
+ */
1838
+ class EditorAlignRightButtonDirective extends EditorCommandButton {
1839
+ constructor(button, localization, providerService, toolsService) {
1840
+ super('alignRight', button, localization, providerService, toolsService);
1841
+ }
1842
+ }
1843
+ EditorAlignRightButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorAlignRightButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
1844
+ EditorAlignRightButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: EditorAlignRightButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignRightButton]", usesInheritance: true, ngImport: i0 });
1845
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorAlignRightButtonDirective, decorators: [{
1846
+ type: Directive,
1700
1847
  args: [{
1701
- selector: 'kendo-editor-format-dropdownlist',
1702
- template: `
1703
- <kendo-dropdownlist
1704
- #element
1705
- kendoEditorDropDownTool
1706
- [defaultItem]="defaultItem"
1707
- [textField]="'text'"
1708
- [valueField]="'tag'"
1709
- [data]="data"
1710
- [(value)]="value"
1711
- [valuePrimitive]="true"
1712
- [itemDisabled]="itemDisabled"
1713
- [attr.title]="title"
1714
- [disabled]="disabled"
1715
- [tabindex]="tabindex"
1716
- (valueChange)="onValueChange($event)"
1717
- [style.width.em]="13"
1718
- >
1719
- <ng-template kendoDropDownListItemTemplate let-dataItem>
1720
- <ng-container [ngSwitch]="dataItem.tag">
1721
- <span *ngSwitchCase="'h1'" [style]="'display: block; font-size: 2em; margin-left: 0; font-weight: bold;'">
1722
- {{ dataItem.text }}
1723
- </span>
1724
-
1725
- <span *ngSwitchCase="'h2'" [style]="'display: block; font-size: 1.5em; margin-left: 0; font-weight: bold;'">
1726
- {{ dataItem.text }}
1727
- </span>
1728
-
1729
- <span *ngSwitchCase="'h3'" [style]="'display: block; font-size: 1.17em; margin-left: 0; font-weight: bold;'">
1730
- {{ dataItem.text }}
1731
- </span>
1732
-
1733
- <span *ngSwitchCase="'h4'" [style]="'display: block; font-size: 1em; margin-left: 0; font-weight: bold;'">
1734
- {{ dataItem.text }}
1735
- </span>
1736
-
1737
- <span *ngSwitchCase="'h5'" [style]="'display: block; font-size: .83em; margin-left: 0; font-weight: bold;'">
1738
- {{ dataItem.text }}
1739
- </span>
1740
-
1741
- <span *ngSwitchCase="'h6'" [style]="'display: block; font-size: .67em; margin-left: 0; font-weight: bold;'">
1742
- {{ dataItem.text }}
1743
- </span>
1744
-
1745
- <span *ngSwitchCase="'p'" [style]="'display: block; margin-left: 0;'">
1746
- {{ dataItem.text }}
1747
- </span>
1848
+ selector: 'kendo-toolbar-button[kendoEditorAlignRightButton]'
1849
+ }]
1850
+ }], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
1748
1851
 
1749
- <span *ngSwitchDefault>{{ dataItem.text }}</span>
1750
- </ng-container>
1751
- </ng-template>
1752
- </kendo-dropdownlist>
1753
- `
1852
+ /**
1853
+ * A directive which configures an existing `ToolBarButtonComponent` as an Editor **AlignJustify** tool
1854
+ * ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
1855
+ * The directive will predefine the SVG icon and `click` event handlers of the button.
1856
+ * In addition, the directive updates the `selected` state of the button according to the cursor position in the editing area.
1857
+ *
1858
+ * @example
1859
+ * ```html
1860
+ * <kendo-toolbar-button kendoEditorAlignJustifyButton></kendo-toolbar-button>
1861
+ * ```
1862
+ */
1863
+ class EditorAlignJustifyButtonDirective extends EditorCommandButton {
1864
+ constructor(button, localization, providerService, toolsService) {
1865
+ super('alignJustify', button, localization, providerService, toolsService);
1866
+ }
1867
+ }
1868
+ EditorAlignJustifyButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorAlignJustifyButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
1869
+ EditorAlignJustifyButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: EditorAlignJustifyButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignJustifyButton]", usesInheritance: true, ngImport: i0 });
1870
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorAlignJustifyButtonDirective, decorators: [{
1871
+ type: Directive,
1872
+ args: [{
1873
+ selector: 'kendo-toolbar-button[kendoEditorAlignJustifyButton]'
1754
1874
  }]
1755
- }], propDecorators: { data: [{
1756
- type: Input
1757
- }], value: [{
1758
- type: Input
1759
- }], defaultItem: [{
1760
- type: Input
1761
- }], itemDisabled: [{
1762
- type: Input
1763
- }], title: [{
1764
- type: Input
1765
- }], disabled: [{
1766
- type: Input
1767
- }], tabindex: [{
1768
- type: Input
1769
- }], valueChange: [{
1770
- type: Output
1771
- }], element: [{
1772
- type: ViewChild,
1773
- args: ['element', { static: true }]
1774
- }], dropDownList: [{
1775
- type: ViewChild,
1776
- args: ['element', { read: DropDownListComponent, static: true }]
1777
- }] } });
1875
+ }], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
1778
1876
 
1779
1877
  /**
1780
1878
  * @hidden
1781
1879
  */
1782
- class FormatDialogComponent extends DialogContentBase {
1783
- constructor(dialog, localization) {
1784
- super(dialog);
1880
+ class EditorCommandDialog extends EditorCommandBaseDirective {
1881
+ constructor(dialog, button, localization, providerService, toolsService) {
1882
+ super(dialog, button, localization, providerService, toolsService);
1785
1883
  this.dialog = dialog;
1884
+ this.button = button;
1786
1885
  this.localization = localization;
1787
- this.data = [];
1788
- }
1789
- ngAfterViewInit() {
1790
- Promise.resolve(null).then(() => {
1791
- this.formatDropDownList.dropDownList.focus();
1792
- });
1793
- }
1794
- onCancelAction() {
1795
- this.dialog.close();
1886
+ this.providerService = providerService;
1887
+ this.toolsService = toolsService;
1796
1888
  }
1797
- onConfirmAction() {
1798
- if (this.value) {
1799
- this.editor.exec('format', { tag: this.value });
1800
- }
1801
- this.dialog.close();
1889
+ clickHandler() {
1890
+ this.editor.openDialog(this.dialog);
1802
1891
  }
1803
- setData(args) {
1804
- this.editor = args.editor;
1805
- this.data = args.data;
1806
- this.defaultItem = args.defaultItem;
1807
- this.value = args.value;
1808
- this.itemDisabled = args.itemDisabled;
1892
+ onStateChange(toolBarState) {
1893
+ this.providerService.editor.ngZone.onStable.pipe(take(1)).subscribe(() => {
1894
+ this.button.selected = toolBarState[this.command].selected;
1895
+ this.button.disabled = toolBarState[this.command].disabled;
1896
+ });
1809
1897
  }
1810
- textFor(key) {
1811
- return this.localization.get(key);
1898
+ }
1899
+
1900
+ /**
1901
+ * A directive which configures an existing `ToolBarButtonComponent` as an Editor **InsertImage** tool
1902
+ * ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
1903
+ * The directive will predefine the SVG icon and `click` event handlers of the button.
1904
+ *
1905
+ * @example
1906
+ * ```html
1907
+ * <kendo-toolbar-button kendoEditorInsertImageButton></kendo-toolbar-button>
1908
+ * ```
1909
+ */
1910
+ class EditorInsertImageButtonDirective extends EditorCommandDialog {
1911
+ constructor(button, localization, providerService, toolsService) {
1912
+ super('insertImage', button, localization, providerService, toolsService);
1812
1913
  }
1813
1914
  }
1814
- FormatDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FormatDialogComponent, deps: [{ token: i1$1.DialogRef }, { token: EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
1815
- FormatDialogComponentcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: FormatDialogComponent, selector: "ng-component", inputs: { editor: "editor" }, viewQueries: [{ propertyName: "formatDropDownList", first: true, predicate: ["formatDropDownList"], descendants: true, read: FormatDropDownListComponent, static: true }], usesInheritance: true, ngImport: i0, template: `
1816
- <kendo-dialog-titlebar (close)="onCancelAction()">
1817
- {{ textFor('format') }}
1818
- </kendo-dialog-titlebar>
1819
- <div [style.text-align]="'center'">
1820
- <kendo-editor-format-dropdownlist
1821
- #formatDropDownList
1822
- [defaultItem]="defaultItem"
1823
- [data]="data"
1824
- [(value)]="value"
1825
- [itemDisabled]="itemDisabled"
1826
- >
1827
- </kendo-editor-format-dropdownlist>
1828
- </div>
1829
- <kendo-dialog-actions layout="start">
1830
- <button
1831
- kendoButton
1832
- [primary]="true"
1833
- (click)="onConfirmAction()"
1834
- >{{ textFor('dialogApply') }}</button>
1835
- <button
1836
- kendoButton
1837
- (click)="onCancelAction()"
1838
- >{{ textFor('dialogCancel') }}</button>
1839
- </kendo-dialog-actions>
1840
- `, isInline: true, components: [{ type: i1$1.DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { type: FormatDropDownListComponent, selector: "kendo-editor-format-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }, { type: i1$1.DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { type: i4.ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
1841
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FormatDialogComponent, decorators: [{
1842
- type: Component,
1915
+ EditorInsertImageButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorInsertImageButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
1916
+ EditorInsertImageButtonDirectivedir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: EditorInsertImageButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertImageButton]", usesInheritance: true, ngImport: i0 });
1917
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorInsertImageButtonDirective, decorators: [{
1918
+ type: Directive,
1843
1919
  args: [{
1844
- template: `
1845
- <kendo-dialog-titlebar (close)="onCancelAction()">
1846
- {{ textFor('format') }}
1847
- </kendo-dialog-titlebar>
1848
- <div [style.text-align]="'center'">
1849
- <kendo-editor-format-dropdownlist
1850
- #formatDropDownList
1851
- [defaultItem]="defaultItem"
1852
- [data]="data"
1853
- [(value)]="value"
1854
- [itemDisabled]="itemDisabled"
1855
- >
1856
- </kendo-editor-format-dropdownlist>
1857
- </div>
1858
- <kendo-dialog-actions layout="start">
1859
- <button
1860
- kendoButton
1861
- [primary]="true"
1862
- (click)="onConfirmAction()"
1863
- >{{ textFor('dialogApply') }}</button>
1864
- <button
1865
- kendoButton
1866
- (click)="onCancelAction()"
1867
- >{{ textFor('dialogCancel') }}</button>
1868
- </kendo-dialog-actions>
1869
- `
1920
+ selector: 'kendo-toolbar-button[kendoEditorInsertImageButton]'
1870
1921
  }]
1871
- }], ctorParameters: function () { return [{ type: i1$1.DialogRef }, { type: EditorLocalizationService }]; }, propDecorators: { editor: [{
1872
- type: Input
1873
- }], formatDropDownList: [{
1874
- type: ViewChild,
1875
- args: ['formatDropDownList', { read: FormatDropDownListComponent, static: true }]
1876
- }] } });
1922
+ }], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
1877
1923
 
1878
1924
  /**
1879
- * A component which configures an existing `DropDownListComponent` as an Editor tool
1925
+ * A directive which configures an existing `ToolBarButtonComponent` as an Editor **Indent** tool
1880
1926
  * ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
1881
- * The component associates a `kendo-dropdownlist` with an Editor command that changes the format of a content block and
1882
- * automatically defines the options of the drop-down list and sets its values ([see example]({% slug toolbartools_editor %}#toc-dropdownlists)).
1927
+ * The directive will predefine the SVG icon and `click` event handlers of the button.
1928
+ * In addition, the directive updates the `disabled` state of the button according to the cursor position in the editing area.
1883
1929
  *
1884
1930
  * @example
1885
- * ```ts-no-run
1886
- * <kendo-toolbar-dropdownlist kendoEditorFormat></kendo-toolbar-dropdownlist>
1931
+ * ```html
1932
+ * <kendo-toolbar-button kendoEditorIndentButton></kendo-toolbar-button>
1887
1933
  * ```
1888
1934
  */
1889
- class EditorFormatComponent extends ToolBarToolComponent {
1890
- constructor(dialogService, localization, providerService, toolsService, renderer) {
1891
- super();
1892
- this.dialogService = dialogService;
1893
- this.localization = localization;
1894
- this.toolsService = toolsService;
1895
- this.renderer = renderer;
1896
- this.disabled = false;
1897
- this.tabindex = -1;
1898
- /**
1899
- * Fires when the user updates the value of the drop-down list.
1900
- */
1901
- this.valueChange = new EventEmitter();
1902
- this._data = [
1903
- { text: 'Paragraph', tag: 'p' },
1904
- { text: 'Heading 1', tag: 'h1' },
1905
- { text: 'Heading 2', tag: 'h2' },
1906
- { text: 'Heading 3', tag: 'h3' },
1907
- { text: 'Heading 4', tag: 'h4' },
1908
- { text: 'Heading 5', tag: 'h5' },
1909
- { text: 'Heading 6', tag: 'h6' }
1910
- ];
1911
- this.applyFormatSVGIcon = applyFormatIcon;
1912
- this.editor = providerService.editor;
1913
- }
1914
- /**
1915
- * Overrides the default format items list.
1916
- */
1917
- set data(formatItems) {
1918
- this._data = formatItems || this._data;
1919
- }
1920
- get data() {
1921
- return this._data;
1922
- }
1923
- ngOnInit() {
1924
- this.itemDisabled = (itemArgs) => {
1925
- if (!this.overflows && this.formatDropDownList && !this.formatDropDownList.dropDownList.isOpen) {
1926
- return true; //disable all items in order to prevent navigation when DDL is closed
1927
- }
1928
- else {
1929
- return itemArgs.dataItem.tag === null;
1930
- }
1931
- };
1932
- setTimeout(() => {
1933
- this.defaultItem = { text: this.title, tag: null };
1934
- this.toolsService.needsCheck.next();
1935
- });
1936
- this.subs = this.editor.stateChange.subscribe(({ format }) => {
1937
- const index = this.data.findIndex(item => item.tag === format.selected.tag);
1938
- this.value = index !== -1 ? format.selected.tag : null;
1939
- this.disabled = format.disabled;
1940
- });
1941
- }
1942
- /**
1943
- * @hidden
1944
- */
1945
- onValueChange(ev) {
1946
- if (isPresent(ev)) {
1947
- this.editor.exec('format', { tag: ev });
1948
- this.editor.view.focus();
1949
- this.valueChange.emit(this.data.find(d => d.tag === ev));
1950
- }
1951
- }
1952
- ngOnDestroy() {
1953
- if (this.subs) {
1954
- this.subs.unsubscribe();
1955
- }
1956
- }
1957
- get outerWidth() {
1958
- const element = this.formatDropDownList.element;
1959
- if (element) {
1960
- return outerWidth(element.nativeElement);
1961
- }
1962
- }
1963
- get title() {
1964
- return this.localization.get('format');
1965
- }
1966
- /**
1967
- * @hidden
1968
- */
1969
- openDialog() {
1970
- const dialogSettings = {
1971
- appendTo: this.editor.dialogContainer,
1972
- content: FormatDialogComponent,
1973
- width: 400
1974
- };
1975
- this.editor.toolbar.toggle(false);
1976
- const dialogContent = this.dialogService.open(dialogSettings).content.instance;
1977
- this.renderer.addClass(dialogContent.dialog.dialog.instance.wrapper.nativeElement.querySelector('.k-window'), 'k-editor-window');
1978
- dialogContent.setData({
1979
- editor: this.editor,
1980
- data: this.data,
1981
- defaultItem: this.defaultItem,
1982
- value: this.value,
1983
- itemDisabled: this.itemDisabled
1984
- });
1985
- }
1986
- /**
1987
- * @hidden
1988
- */
1989
- canFocus() {
1990
- return !this.disabled;
1991
- }
1992
- /**
1993
- * @hidden
1994
- */
1995
- focus() {
1996
- this.tabindex = 0;
1997
- if (this.overflows) {
1998
- this.formatButton.nativeElement.focus();
1999
- }
2000
- else {
2001
- this.formatDropDownList.focus();
2002
- }
2003
- }
2004
- /**
2005
- * @hidden
2006
- */
2007
- handleKey() {
2008
- this.tabindex = -1;
2009
- return false;
2010
- }
2011
- }
2012
- EditorFormatComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorFormatComponent, deps: [{ token: i1$1.DialogService }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
2013
- EditorFormatComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: EditorFormatComponent, selector: "kendo-toolbar-dropdownlist[kendoEditorFormat]", inputs: { data: "data" }, outputs: { valueChange: "valueChange" }, providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => EditorFormatComponent) }], viewQueries: [{ propertyName: "toolbarTemplate", first: true, predicate: ["toolbarTemplate"], descendants: true, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }, { propertyName: "formatDropDownList", first: true, predicate: ["formatDropDownList"], descendants: true }, { propertyName: "formatButton", first: true, predicate: ["formatButton"], descendants: true, read: ElementRef }], usesInheritance: true, ngImport: i0, template: `
2014
- <ng-template #toolbarTemplate>
2015
- <kendo-editor-format-dropdownlist
2016
- #formatDropDownList
2017
- [defaultItem]="defaultItem"
2018
- [data]="data"
2019
- [(value)]="value"
2020
- [itemDisabled]="itemDisabled"
2021
- [title]="title"
2022
- [disabled]="disabled"
2023
- [tabindex]="tabindex"
2024
- (valueChange)="onValueChange($event)"
2025
- >
2026
- </kendo-editor-format-dropdownlist>
2027
- </ng-template>
2028
- <ng-template #popupTemplate>
2029
- <div #formatButton
2030
- role="menuitem"
2031
- class="k-item k-menu-item"
2032
- [class.k-disabled]="disabled"
2033
- [tabindex]="tabindex"
2034
- (click)="openDialog()">
2035
- <span
2036
- class="k-link k-menu-link">
2037
- <kendo-icon-wrapper name="apply-format" [svgIcon]="applyFormatSVGIcon"></kendo-icon-wrapper>
2038
- <span *ngIf="title" class="k-menu-link-text">{{title}}</span>
2039
- </span>
2040
- </div>
2041
- </ng-template>
2042
- `, isInline: true, components: [{ type: FormatDropDownListComponent, selector: "kendo-editor-format-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }, { type: i6$1.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: i3$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
2043
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorFormatComponent, decorators: [{
2044
- type: Component,
2045
- args: [{
2046
- providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => EditorFormatComponent) }],
2047
- selector: 'kendo-toolbar-dropdownlist[kendoEditorFormat]',
2048
- template: `
2049
- <ng-template #toolbarTemplate>
2050
- <kendo-editor-format-dropdownlist
2051
- #formatDropDownList
2052
- [defaultItem]="defaultItem"
2053
- [data]="data"
2054
- [(value)]="value"
2055
- [itemDisabled]="itemDisabled"
2056
- [title]="title"
2057
- [disabled]="disabled"
2058
- [tabindex]="tabindex"
2059
- (valueChange)="onValueChange($event)"
2060
- >
2061
- </kendo-editor-format-dropdownlist>
2062
- </ng-template>
2063
- <ng-template #popupTemplate>
2064
- <div #formatButton
2065
- role="menuitem"
2066
- class="k-item k-menu-item"
2067
- [class.k-disabled]="disabled"
2068
- [tabindex]="tabindex"
2069
- (click)="openDialog()">
2070
- <span
2071
- class="k-link k-menu-link">
2072
- <kendo-icon-wrapper name="apply-format" [svgIcon]="applyFormatSVGIcon"></kendo-icon-wrapper>
2073
- <span *ngIf="title" class="k-menu-link-text">{{title}}</span>
2074
- </span>
2075
- </div>
2076
- </ng-template>
2077
- `
2078
- }]
2079
- }], ctorParameters: function () { return [{ type: i1$1.DialogService }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }, { type: i0.Renderer2 }]; }, propDecorators: { data: [{
2080
- type: Input
2081
- }], valueChange: [{
2082
- type: Output
2083
- }], toolbarTemplate: [{
2084
- type: ViewChild,
2085
- args: ['toolbarTemplate', { static: true }]
2086
- }], popupTemplate: [{
2087
- type: ViewChild,
2088
- args: ['popupTemplate', { static: true }]
2089
- }], formatDropDownList: [{
2090
- type: ViewChild,
2091
- args: ['formatDropDownList']
2092
- }], formatButton: [{
2093
- type: ViewChild,
2094
- args: ['formatButton', { read: ElementRef }]
2095
- }] } });
2096
-
2097
- /**
2098
- * @hidden
2099
- */
2100
- class MessagesDirective extends ComponentMessages {
2101
- }
2102
- MessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: MessagesDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
2103
- MessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: MessagesDirective, selector: "[kendoEditorMessages]", inputs: { alignCenter: "alignCenter", alignJustify: "alignJustify", alignLeft: "alignLeft", alignRight: "alignRight", backColor: "backColor", blockquote: "blockquote", bold: "bold", cleanFormatting: "cleanFormatting", createLink: "createLink", fontFamily: "fontFamily", fontSize: "fontSize", foreColor: "foreColor", format: "format", indent: "indent", insertFile: "insertFile", insertImage: "insertImage", insertOrderedList: "insertOrderedList", insertUnorderedList: "insertUnorderedList", italic: "italic", outdent: "outdent", print: "print", redo: "redo", selectAll: "selectAll", strikethrough: "strikethrough", subscript: "subscript", superscript: "superscript", underline: "underline", undo: "undo", unlink: "unlink", viewSource: "viewSource", insertTable: "insertTable", insertTableHint: "insertTableHint", addColumnBefore: "addColumnBefore", addColumnAfter: "addColumnAfter", addRowBefore: "addRowBefore", addRowAfter: "addRowAfter", deleteColumn: "deleteColumn", deleteRow: "deleteRow", deleteTable: "deleteTable", mergeCells: "mergeCells", splitCell: "splitCell", dialogApply: "dialogApply", dialogCancel: "dialogCancel", dialogInsert: "dialogInsert", dialogUpdate: "dialogUpdate", fileText: "fileText", fileTitle: "fileTitle", fileWebAddress: "fileWebAddress", imageAltText: "imageAltText", imageHeight: "imageHeight", imageWebAddress: "imageWebAddress", imageWidth: "imageWidth", linkOpenInNewWindow: "linkOpenInNewWindow", linkText: "linkText", linkTitle: "linkTitle", linkWebAddress: "linkWebAddress" }, usesInheritance: true, ngImport: i0 });
2104
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: MessagesDirective, decorators: [{
2105
- type: Directive,
2106
- args: [{
2107
- selector: '[kendoEditorMessages]'
2108
- }]
2109
- }], propDecorators: { alignCenter: [{
2110
- type: Input
2111
- }], alignJustify: [{
2112
- type: Input
2113
- }], alignLeft: [{
2114
- type: Input
2115
- }], alignRight: [{
2116
- type: Input
2117
- }], backColor: [{
2118
- type: Input
2119
- }], blockquote: [{
2120
- type: Input
2121
- }], bold: [{
2122
- type: Input
2123
- }], cleanFormatting: [{
2124
- type: Input
2125
- }], createLink: [{
2126
- type: Input
2127
- }], fontFamily: [{
2128
- type: Input
2129
- }], fontSize: [{
2130
- type: Input
2131
- }], foreColor: [{
2132
- type: Input
2133
- }], format: [{
2134
- type: Input
2135
- }], indent: [{
2136
- type: Input
2137
- }], insertFile: [{
2138
- type: Input
2139
- }], insertImage: [{
2140
- type: Input
2141
- }], insertOrderedList: [{
2142
- type: Input
2143
- }], insertUnorderedList: [{
2144
- type: Input
2145
- }], italic: [{
2146
- type: Input
2147
- }], outdent: [{
2148
- type: Input
2149
- }], print: [{
2150
- type: Input
2151
- }], redo: [{
2152
- type: Input
2153
- }], selectAll: [{
2154
- type: Input
2155
- }], strikethrough: [{
2156
- type: Input
2157
- }], subscript: [{
2158
- type: Input
2159
- }], superscript: [{
2160
- type: Input
2161
- }], underline: [{
2162
- type: Input
2163
- }], undo: [{
2164
- type: Input
2165
- }], unlink: [{
2166
- type: Input
2167
- }], viewSource: [{
2168
- type: Input
2169
- }], insertTable: [{
2170
- type: Input
2171
- }], insertTableHint: [{
2172
- type: Input
2173
- }], addColumnBefore: [{
2174
- type: Input
2175
- }], addColumnAfter: [{
2176
- type: Input
2177
- }], addRowBefore: [{
2178
- type: Input
2179
- }], addRowAfter: [{
2180
- type: Input
2181
- }], deleteColumn: [{
2182
- type: Input
2183
- }], deleteRow: [{
2184
- type: Input
2185
- }], deleteTable: [{
2186
- type: Input
2187
- }], mergeCells: [{
2188
- type: Input
2189
- }], splitCell: [{
2190
- type: Input
2191
- }], dialogApply: [{
2192
- type: Input
2193
- }], dialogCancel: [{
2194
- type: Input
2195
- }], dialogInsert: [{
2196
- type: Input
2197
- }], dialogUpdate: [{
2198
- type: Input
2199
- }], fileText: [{
2200
- type: Input
2201
- }], fileTitle: [{
2202
- type: Input
2203
- }], fileWebAddress: [{
2204
- type: Input
2205
- }], imageAltText: [{
2206
- type: Input
2207
- }], imageHeight: [{
2208
- type: Input
2209
- }], imageWebAddress: [{
2210
- type: Input
2211
- }], imageWidth: [{
2212
- type: Input
2213
- }], linkOpenInNewWindow: [{
2214
- type: Input
2215
- }], linkText: [{
2216
- type: Input
2217
- }], linkTitle: [{
2218
- type: Input
2219
- }], linkWebAddress: [{
2220
- type: Input
2221
- }] } });
2222
-
2223
- /**
2224
- * @hidden
2225
- */
2226
- class LocalizedMessagesDirective extends MessagesDirective {
2227
- constructor(service) {
2228
- super();
2229
- this.service = service;
2230
- }
2231
- }
2232
- LocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
2233
- LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: LocalizedMessagesDirective, selector: "[kendoEditorLocalizedMessages]", providers: [{
2234
- provide: MessagesDirective,
2235
- useExisting: forwardRef(() => LocalizedMessagesDirective)
2236
- }], usesInheritance: true, ngImport: i0 });
2237
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: LocalizedMessagesDirective, decorators: [{
2238
- type: Directive,
2239
- args: [{
2240
- providers: [{
2241
- provide: MessagesDirective,
2242
- useExisting: forwardRef(() => LocalizedMessagesDirective)
2243
- }],
2244
- selector: '[kendoEditorLocalizedMessages]'
2245
- }]
2246
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
2247
-
2248
- /**
2249
- * @hidden
2250
- */
2251
- const commandIcons = {
2252
- alignCenter: 'align-center',
2253
- alignJustify: 'align-justify',
2254
- alignLeft: 'align-left',
2255
- alignRight: 'align-right',
2256
- backColor: 'droplet',
2257
- blockquote: 'blockquote',
2258
- bold: 'bold',
2259
- cleanFormatting: 'clear-css',
2260
- createLink: 'link',
2261
- foreColor: 'foreground-color',
2262
- indent: 'indent',
2263
- insertFile: 'file-add',
2264
- insertImage: 'image',
2265
- insertOrderedList: 'list-ordered',
2266
- insertUnorderedList: 'list-unordered',
2267
- italic: 'italic',
2268
- outdent: 'outdent',
2269
- print: 'print',
2270
- redo: 'redo',
2271
- selectAll: 'select-all',
2272
- strikethrough: 'strikethrough',
2273
- subscript: 'subscript',
2274
- superscript: 'supscript',
2275
- underline: 'underline',
2276
- undo: 'undo',
2277
- unlink: 'unlink',
2278
- viewSource: 'code',
2279
- //table
2280
- insertTable: 'table-add',
2281
- addColumnBefore: 'table-column-insert-left',
2282
- addColumnAfter: 'table-column-insert-right',
2283
- addRowBefore: 'table-row-insert-above',
2284
- addRowAfter: 'table-row-insert-below',
2285
- deleteRow: 'table-row-delete',
2286
- deleteColumn: 'table-column-delete',
2287
- mergeCells: 'cells-merge',
2288
- splitCell: 'cell-split-horizontally',
2289
- deleteTable: 'table-delete'
2290
- // tableWizard: 'table-wizard'
2291
- };
2292
- /**
2293
- * @hidden
2294
- */
2295
- const commandSVGIcons = {
2296
- alignCenter: alignCenterIcon,
2297
- alignJustify: alignJustifyIcon,
2298
- alignLeft: alignLeftIcon,
2299
- alignRight: alignRightIcon,
2300
- backColor: dropletIcon,
2301
- blockquote: rightDoubleQuotesIcon,
2302
- bold: boldIcon,
2303
- cleanFormatting: clearCssIcon,
2304
- createLink: linkIcon,
2305
- foreColor: foregroundColorIcon,
2306
- indent: indentIcon,
2307
- insertFile: fileAddIcon,
2308
- insertImage: fileImageIcon,
2309
- insertOrderedList: listOrderedIcon,
2310
- insertUnorderedList: listUnorderedIcon,
2311
- italic: italicIcon,
2312
- outdent: outdentIcon,
2313
- print: printIcon,
2314
- redo: redoIcon,
2315
- selectAll: selectAllIcon,
2316
- strikethrough: strikethroughIcon,
2317
- subscript: subscriptIcon,
2318
- superscript: supscriptIcon,
2319
- underline: underlineIcon,
2320
- undo: undoIcon,
2321
- unlink: unlinkIcon,
2322
- viewSource: codeSnippetIcon,
2323
- //table
2324
- insertTable: tableAddIcon,
2325
- addColumnBefore: tableColumnInsertLeftIcon,
2326
- addColumnAfter: tableColumnInsertRightIcon,
2327
- addRowBefore: tableRowInsertAboveIcon,
2328
- addRowAfter: tableRowInsertBelowIcon,
2329
- deleteRow: tableRowDeleteIcon,
2330
- deleteColumn: tableColumnDeleteIcon,
2331
- mergeCells: cellsMergeIcon,
2332
- splitCell: cellSplitHorizontallyIcon,
2333
- deleteTable: tableDeleteIcon
2334
- // tableWizard: 'table-wizard'
2335
- };
2336
-
2337
- const MY_TOKEN = new InjectionToken('COMMAND_TOKEN');
2338
- /**
2339
- * @hidden
2340
- */
2341
- class EditorCommandBaseDirective {
2342
- constructor(command, button, localization, providerService, toolsService) {
2343
- this.command = command;
2344
- this.button = button;
2345
- this.localization = localization;
2346
- this.toolsService = toolsService;
2347
- this.editor = providerService.editor;
2348
- this.toolsService.zone.runOutsideAngular(() => {
2349
- setTimeout(() => {
2350
- const text = this.localization.get(this.command);
2351
- if (text) {
2352
- this.button.showText = 'overflow';
2353
- this.button.showIcon = 'both';
2354
- this.button.text = text;
2355
- }
2356
- if (!this.button.toolbarOptions.icon) {
2357
- this.button.icon = commandIcons[this.command];
2358
- }
2359
- if (!this.button.toolbarOptions.svgIcon) {
2360
- this.button.svgIcon = commandSVGIcons[this.command];
2361
- }
2362
- this.button.title = text;
2363
- this.toolsService.zone.run(() => {
2364
- this.toolsService.needsCheck.next();
2365
- });
2366
- });
2367
- });
2368
- }
2369
- ngOnInit() {
2370
- this.subs = this.editor.stateChange.subscribe(this.onStateChange.bind(this));
2371
- this.subs.add(this.button.click.subscribe((this.clickHandler.bind(this))));
2372
- this.subs.add(this.button.pointerdown.subscribe((this.pointerdownHandler.bind(this))));
2373
- }
2374
- ngOnDestroy() {
2375
- if (this.subs) {
2376
- this.subs.unsubscribe();
2377
- }
2378
- }
2379
- clickHandler() { }
2380
- pointerdownHandler(_event) { }
2381
- onStateChange(_toolBarState) { }
2382
- }
2383
- EditorCommandBaseDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorCommandBaseDirective, deps: [{ token: MY_TOKEN }, { token: i1$3.ToolBarButtonComponent }, { token: i1.LocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
2384
- EditorCommandBaseDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: EditorCommandBaseDirective, selector: "[kendoEditorCommandBase]", ngImport: i0 });
2385
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorCommandBaseDirective, decorators: [{
2386
- type: Directive,
2387
- args: [{
2388
- selector: '[kendoEditorCommandBase]'
2389
- }]
2390
- }], ctorParameters: function () {
2391
- return [{ type: undefined, decorators: [{
2392
- type: Inject,
2393
- args: [MY_TOKEN]
2394
- }] }, { type: i1$3.ToolBarButtonComponent }, { type: i1.LocalizationService }, { type: ProviderService }, { type: EditorToolsService }];
2395
- } });
2396
-
2397
- /**
2398
- * @hidden
2399
- */
2400
- class EditorCommandButton extends EditorCommandBaseDirective {
2401
- constructor(command, button, localization, providerService, toolsService) {
2402
- super(command, button, localization, providerService, toolsService);
2403
- this.command = command;
2404
- this.button = button;
2405
- this.localization = localization;
2406
- this.providerService = providerService;
2407
- this.toolsService = toolsService;
2408
- }
2409
- clickHandler() {
2410
- this.editor.exec(this.command, this.editor.applyToWord);
2411
- this.editor.focus();
2412
- }
2413
- pointerdownHandler(e) {
2414
- e.preventDefault();
2415
- }
2416
- onStateChange(toolBarState) {
2417
- this.providerService.editor.ngZone.onStable.pipe(take(1)).subscribe(() => {
2418
- this.button.selected = toolBarState[this.command].selected;
2419
- this.button.disabled = toolBarState[this.command].disabled;
2420
- });
2421
- }
2422
- }
2423
-
2424
- /**
2425
- * A directive which configures an existing `ToolBarButtonComponent` as an Editor **Bold** tool
2426
- * ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
2427
- * The directive will predefine the SVG icon and `click` event handlers of the button.
2428
- * In addition, the directive updates the `selected` state of the button according to the cursor position in the editing area.
2429
- *
2430
- * @example
2431
- * ```html
2432
- * <kendo-toolbar-button kendoEditorBoldButton></kendo-toolbar-button>
2433
- * ```
2434
- */
2435
- class EditorBoldButtonDirective extends EditorCommandButton {
1935
+ class EditorIndentButtonDirective extends EditorCommandButton {
2436
1936
  constructor(button, localization, providerService, toolsService) {
2437
- super('bold', button, localization, providerService, toolsService);
1937
+ super('indent', button, localization, providerService, toolsService);
2438
1938
  }
2439
1939
  }
2440
- EditorBoldButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorBoldButtonDirective, deps: [{ token: i1$3.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
2441
- EditorBoldButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: EditorBoldButtonDirective, selector: "kendo-toolbar-button[kendoEditorBoldButton]", usesInheritance: true, ngImport: i0 });
2442
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorBoldButtonDirective, decorators: [{
1940
+ EditorIndentButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorIndentButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
1941
+ EditorIndentButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: EditorIndentButtonDirective, selector: "kendo-toolbar-button[kendoEditorIndentButton]", usesInheritance: true, ngImport: i0 });
1942
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorIndentButtonDirective, decorators: [{
2443
1943
  type: Directive,
2444
1944
  args: [{
2445
- selector: 'kendo-toolbar-button[kendoEditorBoldButton]'
1945
+ selector: 'kendo-toolbar-button[kendoEditorIndentButton]'
2446
1946
  }]
2447
- }], ctorParameters: function () { return [{ type: i1$3.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
1947
+ }], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
2448
1948
 
2449
1949
  /**
2450
- * A directive which configures an existing `ToolBarButtonComponent` as an Editor **Italic** tool
1950
+ * A directive which configures an existing `ToolBarButtonComponent` as an Editor **Outdent** tool
2451
1951
  * ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
2452
1952
  * The directive will predefine the SVG icon and `click` event handlers of the button.
2453
- * In addition, the directive updates the `selected` state of the button according to the cursor position in the editing area.
1953
+ * In addition, the directive updates the `disabled` state of the button according to the cursor position in the editing area.
2454
1954
  *
2455
1955
  * @example
2456
1956
  * ```html
2457
- * <kendo-toolbar-button kendoEditorItalicButton></kendo-toolbar-button>
1957
+ * <kendo-toolbar-button kendoEditorOutdentButton></kendo-toolbar-button>
2458
1958
  * ```
2459
1959
  */
2460
- class EditorItalicButtonDirective extends EditorCommandButton {
1960
+ class EditorOutdentButtonDirective extends EditorCommandButton {
2461
1961
  constructor(button, localization, providerService, toolsService) {
2462
- super('italic', button, localization, providerService, toolsService);
1962
+ super('outdent', button, localization, providerService, toolsService);
2463
1963
  }
2464
1964
  }
2465
- EditorItalicButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorItalicButtonDirective, deps: [{ token: i1$3.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
2466
- EditorItalicButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: EditorItalicButtonDirective, selector: "kendo-toolbar-button[kendoEditorItalicButton]", usesInheritance: true, ngImport: i0 });
2467
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorItalicButtonDirective, decorators: [{
1965
+ EditorOutdentButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorOutdentButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
1966
+ EditorOutdentButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: EditorOutdentButtonDirective, selector: "kendo-toolbar-button[kendoEditorOutdentButton]", usesInheritance: true, ngImport: i0 });
1967
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorOutdentButtonDirective, decorators: [{
2468
1968
  type: Directive,
2469
1969
  args: [{
2470
- selector: 'kendo-toolbar-button[kendoEditorItalicButton]'
1970
+ selector: 'kendo-toolbar-button[kendoEditorOutdentButton]'
2471
1971
  }]
2472
- }], ctorParameters: function () { return [{ type: i1$3.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
1972
+ }], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
2473
1973
 
2474
1974
  /**
2475
- * A directive which configures an existing `ToolBarButtonComponent` as an Editor **Underline** tool
1975
+ * A directive which configures an existing `ToolBarButtonComponent` as an Editor **CreateLink** tool
2476
1976
  * ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
2477
1977
  * The directive will predefine the SVG icon and `click` event handlers of the button.
2478
- * In addition, the directive updates the `selected` state of the button according to the cursor position in the editing area.
1978
+ * In addition, the directive updates the `disabled` state of the button according to the cursor position in the editing area.
2479
1979
  *
2480
1980
  * @example
2481
1981
  * ```html
2482
- * <kendo-toolbar-button kendoEditorUnderlineButton></kendo-toolbar-button>
1982
+ * <kendo-toolbar-button kendoEditorCreateLinkButton></kendo-toolbar-button>
2483
1983
  * ```
2484
1984
  */
2485
- class EditorUnderlineButtonDirective extends EditorCommandButton {
1985
+ class EditorCreateLinkButtonDirective extends EditorCommandDialog {
2486
1986
  constructor(button, localization, providerService, toolsService) {
2487
- super('underline', button, localization, providerService, toolsService);
1987
+ super('createLink', button, localization, providerService, toolsService);
2488
1988
  }
2489
1989
  }
2490
- EditorUnderlineButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorUnderlineButtonDirective, deps: [{ token: i1$3.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
2491
- EditorUnderlineButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: EditorUnderlineButtonDirective, selector: "kendo-toolbar-button[kendoEditorUnderlineButton]", usesInheritance: true, ngImport: i0 });
2492
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorUnderlineButtonDirective, decorators: [{
1990
+ EditorCreateLinkButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorCreateLinkButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
1991
+ EditorCreateLinkButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: EditorCreateLinkButtonDirective, selector: "kendo-toolbar-button[kendoEditorCreateLinkButton]", usesInheritance: true, ngImport: i0 });
1992
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorCreateLinkButtonDirective, decorators: [{
2493
1993
  type: Directive,
2494
1994
  args: [{
2495
- selector: 'kendo-toolbar-button[kendoEditorUnderlineButton]'
1995
+ selector: 'kendo-toolbar-button[kendoEditorCreateLinkButton]'
2496
1996
  }]
2497
- }], ctorParameters: function () { return [{ type: i1$3.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
1997
+ }], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
2498
1998
 
2499
1999
  /**
2500
- * A directive which configures an existing `ToolBarButtonComponent` as an Editor **AlignLeft** tool
2000
+ * A directive which configures an existing `ToolBarButtonComponent` as an Editor **Unlink** tool
2501
2001
  * ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
2502
2002
  * The directive will predefine the SVG icon and `click` event handlers of the button.
2503
- * In addition, the directive updates the `selected` state of the button according to the cursor position in the editing area.
2003
+ * In addition, the directive updates the `disabled` state of the button according to the cursor position in the editing area.
2504
2004
  *
2505
2005
  * @example
2506
2006
  * ```html
2507
- * <kendo-toolbar-button kendoEditorAlignLeftButton></kendo-toolbar-button>
2007
+ * <kendo-toolbar-button kendoEditorUnlinkButton></kendo-toolbar-button>
2508
2008
  * ```
2509
2009
  */
2510
- class EditorAlignLeftButtonDirective extends EditorCommandButton {
2010
+ class EditorUnlinkButtonDirective extends EditorCommandButton {
2511
2011
  constructor(button, localization, providerService, toolsService) {
2512
- super('alignLeft', button, localization, providerService, toolsService);
2012
+ super('unlink', button, localization, providerService, toolsService);
2513
2013
  }
2514
2014
  }
2515
- EditorAlignLeftButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorAlignLeftButtonDirective, deps: [{ token: i1$3.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
2516
- EditorAlignLeftButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: EditorAlignLeftButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignLeftButton]", usesInheritance: true, ngImport: i0 });
2517
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorAlignLeftButtonDirective, decorators: [{
2015
+ EditorUnlinkButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorUnlinkButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
2016
+ EditorUnlinkButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: EditorUnlinkButtonDirective, selector: "kendo-toolbar-button[kendoEditorUnlinkButton]", usesInheritance: true, ngImport: i0 });
2017
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorUnlinkButtonDirective, decorators: [{
2518
2018
  type: Directive,
2519
2019
  args: [{
2520
- selector: 'kendo-toolbar-button[kendoEditorAlignLeftButton]'
2020
+ selector: 'kendo-toolbar-button[kendoEditorUnlinkButton]'
2521
2021
  }]
2522
- }], ctorParameters: function () { return [{ type: i1$3.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
2022
+ }], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
2523
2023
 
2524
2024
  /**
2525
- * A directive which configures an existing `ToolBarButtonComponent` as an Editor **AlignCenter** tool
2025
+ * A directive which configures an existing `ToolBarButtonComponent` as an Editor **InsertOrderedList** tool
2526
2026
  * ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
2527
2027
  * The directive will predefine the SVG icon and `click` event handlers of the button.
2528
2028
  * In addition, the directive updates the `selected` state of the button according to the cursor position in the editing area.
2529
2029
  *
2530
2030
  * @example
2531
2031
  * ```html
2532
- * <kendo-toolbar-button kendoEditorAlignCenterButton></kendo-toolbar-button>
2032
+ * <kendo-toolbar-button kendoEditorInsertOrderedListButton></kendo-toolbar-button>
2533
2033
  * ```
2534
2034
  */
2535
- class EditorAlignCenterButtonDirective extends EditorCommandButton {
2035
+ class EditorInsertOrderedListButtonDirective extends EditorCommandButton {
2536
2036
  constructor(button, localization, providerService, toolsService) {
2537
- super('alignCenter', button, localization, providerService, toolsService);
2037
+ super('insertOrderedList', button, localization, providerService, toolsService);
2538
2038
  }
2539
2039
  }
2540
- EditorAlignCenterButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorAlignCenterButtonDirective, deps: [{ token: i1$3.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
2541
- EditorAlignCenterButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: EditorAlignCenterButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignCenterButton]", usesInheritance: true, ngImport: i0 });
2542
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorAlignCenterButtonDirective, decorators: [{
2040
+ EditorInsertOrderedListButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorInsertOrderedListButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
2041
+ EditorInsertOrderedListButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: EditorInsertOrderedListButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertOrderedListButton]", usesInheritance: true, ngImport: i0 });
2042
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorInsertOrderedListButtonDirective, decorators: [{
2543
2043
  type: Directive,
2544
2044
  args: [{
2545
- selector: 'kendo-toolbar-button[kendoEditorAlignCenterButton]'
2045
+ selector: 'kendo-toolbar-button[kendoEditorInsertOrderedListButton]'
2546
2046
  }]
2547
- }], ctorParameters: function () { return [{ type: i1$3.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
2047
+ }], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
2548
2048
 
2549
2049
  /**
2550
- * A directive which configures an existing `ToolBarButtonComponent` as an Editor **AlignRight** tool
2050
+ * A directive which configures an existing `ToolBarButtonComponent` as an Editor **InsertUnorderedList** tool
2551
2051
  * ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
2552
2052
  * The directive will predefine the SVG icon and `click` event handlers of the button.
2553
2053
  * In addition, the directive updates the `selected` state of the button according to the cursor position in the editing area.
2554
2054
  *
2555
2055
  * @example
2556
2056
  * ```html
2557
- * <kendo-toolbar-button kendoEditorAlignRightButton></kendo-toolbar-button>
2057
+ * <kendo-toolbar-button kendoEditorInsertUnorderedListButton></kendo-toolbar-button>
2558
2058
  * ```
2559
2059
  */
2560
- class EditorAlignRightButtonDirective extends EditorCommandButton {
2060
+ class EditorInsertUnorderedListButtonDirective extends EditorCommandButton {
2561
2061
  constructor(button, localization, providerService, toolsService) {
2562
- super('alignRight', button, localization, providerService, toolsService);
2062
+ super('insertUnorderedList', button, localization, providerService, toolsService);
2563
2063
  }
2564
2064
  }
2565
- EditorAlignRightButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorAlignRightButtonDirective, deps: [{ token: i1$3.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
2566
- EditorAlignRightButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: EditorAlignRightButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignRightButton]", usesInheritance: true, ngImport: i0 });
2567
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorAlignRightButtonDirective, decorators: [{
2065
+ EditorInsertUnorderedListButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorInsertUnorderedListButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
2066
+ EditorInsertUnorderedListButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: EditorInsertUnorderedListButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertUnorderedListButton]", usesInheritance: true, ngImport: i0 });
2067
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorInsertUnorderedListButtonDirective, decorators: [{
2568
2068
  type: Directive,
2569
2069
  args: [{
2570
- selector: 'kendo-toolbar-button[kendoEditorAlignRightButton]'
2070
+ selector: 'kendo-toolbar-button[kendoEditorInsertUnorderedListButton]'
2571
2071
  }]
2572
- }], ctorParameters: function () { return [{ type: i1$3.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
2072
+ }], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
2573
2073
 
2574
2074
  /**
2575
- * A directive which configures an existing `ToolBarButtonComponent` as an Editor **AlignJustify** tool
2075
+ * A directive which configures an existing `ToolBarButtonComponent` as an Editor **Bold** tool
2576
2076
  * ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
2577
2077
  * The directive will predefine the SVG icon and `click` event handlers of the button.
2578
2078
  * In addition, the directive updates the `selected` state of the button according to the cursor position in the editing area.
2579
2079
  *
2580
2080
  * @example
2581
2081
  * ```html
2582
- * <kendo-toolbar-button kendoEditorAlignJustifyButton></kendo-toolbar-button>
2082
+ * <kendo-toolbar-button kendoEditorBoldButton></kendo-toolbar-button>
2583
2083
  * ```
2584
2084
  */
2585
- class EditorAlignJustifyButtonDirective extends EditorCommandButton {
2085
+ class EditorBoldButtonDirective extends EditorCommandButton {
2586
2086
  constructor(button, localization, providerService, toolsService) {
2587
- super('alignJustify', button, localization, providerService, toolsService);
2087
+ super('bold', button, localization, providerService, toolsService);
2588
2088
  }
2589
2089
  }
2590
- EditorAlignJustifyButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorAlignJustifyButtonDirective, deps: [{ token: i1$3.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
2591
- EditorAlignJustifyButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: EditorAlignJustifyButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignJustifyButton]", usesInheritance: true, ngImport: i0 });
2592
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorAlignJustifyButtonDirective, decorators: [{
2090
+ EditorBoldButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorBoldButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
2091
+ EditorBoldButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: EditorBoldButtonDirective, selector: "kendo-toolbar-button[kendoEditorBoldButton]", usesInheritance: true, ngImport: i0 });
2092
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorBoldButtonDirective, decorators: [{
2593
2093
  type: Directive,
2594
2094
  args: [{
2595
- selector: 'kendo-toolbar-button[kendoEditorAlignJustifyButton]'
2095
+ selector: 'kendo-toolbar-button[kendoEditorBoldButton]'
2596
2096
  }]
2597
- }], ctorParameters: function () { return [{ type: i1$3.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
2097
+ }], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
2598
2098
 
2599
2099
  /**
2600
- * A directive which configures an existing `ToolBarButtonComponent` as an Editor **InsertUnorderedList** tool
2100
+ * A directive which configures an existing `ToolBarButtonComponent` as an Editor **Italic** tool
2601
2101
  * ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
2602
2102
  * The directive will predefine the SVG icon and `click` event handlers of the button.
2603
2103
  * In addition, the directive updates the `selected` state of the button according to the cursor position in the editing area.
2604
2104
  *
2605
2105
  * @example
2606
2106
  * ```html
2607
- * <kendo-toolbar-button kendoEditorInsertUnorderedListButton></kendo-toolbar-button>
2107
+ * <kendo-toolbar-button kendoEditorItalicButton></kendo-toolbar-button>
2608
2108
  * ```
2609
2109
  */
2610
- class EditorInsertUnorderedListButtonDirective extends EditorCommandButton {
2110
+ class EditorItalicButtonDirective extends EditorCommandButton {
2611
2111
  constructor(button, localization, providerService, toolsService) {
2612
- super('insertUnorderedList', button, localization, providerService, toolsService);
2112
+ super('italic', button, localization, providerService, toolsService);
2613
2113
  }
2614
2114
  }
2615
- EditorInsertUnorderedListButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorInsertUnorderedListButtonDirective, deps: [{ token: i1$3.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
2616
- EditorInsertUnorderedListButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: EditorInsertUnorderedListButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertUnorderedListButton]", usesInheritance: true, ngImport: i0 });
2617
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorInsertUnorderedListButtonDirective, decorators: [{
2115
+ EditorItalicButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorItalicButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
2116
+ EditorItalicButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: EditorItalicButtonDirective, selector: "kendo-toolbar-button[kendoEditorItalicButton]", usesInheritance: true, ngImport: i0 });
2117
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorItalicButtonDirective, decorators: [{
2618
2118
  type: Directive,
2619
2119
  args: [{
2620
- selector: 'kendo-toolbar-button[kendoEditorInsertUnorderedListButton]'
2120
+ selector: 'kendo-toolbar-button[kendoEditorItalicButton]'
2621
2121
  }]
2622
- }], ctorParameters: function () { return [{ type: i1$3.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
2122
+ }], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
2623
2123
 
2624
2124
  /**
2625
- * A directive which configures an existing `ToolBarButtonComponent` as an Editor **InsertOrderedList** tool
2125
+ * A directive which configures an existing `ToolBarButtonComponent` as an Editor **Underline** tool
2626
2126
  * ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
2627
2127
  * The directive will predefine the SVG icon and `click` event handlers of the button.
2628
2128
  * In addition, the directive updates the `selected` state of the button according to the cursor position in the editing area.
2629
2129
  *
2630
2130
  * @example
2631
2131
  * ```html
2632
- * <kendo-toolbar-button kendoEditorInsertOrderedListButton></kendo-toolbar-button>
2132
+ * <kendo-toolbar-button kendoEditorUnderlineButton></kendo-toolbar-button>
2633
2133
  * ```
2634
2134
  */
2635
- class EditorInsertOrderedListButtonDirective extends EditorCommandButton {
2135
+ class EditorUnderlineButtonDirective extends EditorCommandButton {
2636
2136
  constructor(button, localization, providerService, toolsService) {
2637
- super('insertOrderedList', button, localization, providerService, toolsService);
2137
+ super('underline', button, localization, providerService, toolsService);
2638
2138
  }
2639
2139
  }
2640
- EditorInsertOrderedListButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorInsertOrderedListButtonDirective, deps: [{ token: i1$3.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
2641
- EditorInsertOrderedListButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: EditorInsertOrderedListButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertOrderedListButton]", usesInheritance: true, ngImport: i0 });
2642
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorInsertOrderedListButtonDirective, decorators: [{
2140
+ EditorUnderlineButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorUnderlineButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
2141
+ EditorUnderlineButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: EditorUnderlineButtonDirective, selector: "kendo-toolbar-button[kendoEditorUnderlineButton]", usesInheritance: true, ngImport: i0 });
2142
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorUnderlineButtonDirective, decorators: [{
2643
2143
  type: Directive,
2644
2144
  args: [{
2645
- selector: 'kendo-toolbar-button[kendoEditorInsertOrderedListButton]'
2145
+ selector: 'kendo-toolbar-button[kendoEditorUnderlineButton]'
2646
2146
  }]
2647
- }], ctorParameters: function () { return [{ type: i1$3.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
2147
+ }], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
2648
2148
 
2649
2149
  /**
2650
- * A directive which configures an existing `ToolBarButtonComponent` as an Editor **Indent** tool
2651
- * ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
2652
- * The directive will predefine the SVG icon and `click` event handlers of the button.
2653
- * In addition, the directive updates the `disabled` state of the button according to the cursor position in the editing area.
2654
- *
2655
- * @example
2656
- * ```html
2657
- * <kendo-toolbar-button kendoEditorIndentButton></kendo-toolbar-button>
2658
- * ```
2150
+ * @hidden
2659
2151
  */
2660
- class EditorIndentButtonDirective extends EditorCommandButton {
2661
- constructor(button, localization, providerService, toolsService) {
2662
- super('indent', button, localization, providerService, toolsService);
2152
+ class MessagesDirective extends ComponentMessages {
2153
+ }
2154
+ MessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: MessagesDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
2155
+ MessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: MessagesDirective, selector: "[kendoEditorMessages]", inputs: { alignCenter: "alignCenter", alignJustify: "alignJustify", alignLeft: "alignLeft", alignRight: "alignRight", backColor: "backColor", blockquote: "blockquote", bold: "bold", cleanFormatting: "cleanFormatting", createLink: "createLink", fontFamily: "fontFamily", fontSize: "fontSize", foreColor: "foreColor", format: "format", indent: "indent", insertFile: "insertFile", insertImage: "insertImage", insertOrderedList: "insertOrderedList", insertUnorderedList: "insertUnorderedList", italic: "italic", outdent: "outdent", print: "print", redo: "redo", selectAll: "selectAll", strikethrough: "strikethrough", subscript: "subscript", superscript: "superscript", underline: "underline", undo: "undo", unlink: "unlink", viewSource: "viewSource", insertTable: "insertTable", insertTableHint: "insertTableHint", addColumnBefore: "addColumnBefore", addColumnAfter: "addColumnAfter", addRowBefore: "addRowBefore", addRowAfter: "addRowAfter", deleteColumn: "deleteColumn", deleteRow: "deleteRow", deleteTable: "deleteTable", mergeCells: "mergeCells", splitCell: "splitCell", dialogApply: "dialogApply", dialogCancel: "dialogCancel", dialogInsert: "dialogInsert", dialogUpdate: "dialogUpdate", fileText: "fileText", fileTitle: "fileTitle", fileWebAddress: "fileWebAddress", imageAltText: "imageAltText", imageHeight: "imageHeight", imageWebAddress: "imageWebAddress", imageWidth: "imageWidth", linkOpenInNewWindow: "linkOpenInNewWindow", linkText: "linkText", linkTitle: "linkTitle", linkWebAddress: "linkWebAddress" }, usesInheritance: true, ngImport: i0 });
2156
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: MessagesDirective, decorators: [{
2157
+ type: Directive,
2158
+ args: [{
2159
+ selector: '[kendoEditorMessages]'
2160
+ }]
2161
+ }], propDecorators: { alignCenter: [{
2162
+ type: Input
2163
+ }], alignJustify: [{
2164
+ type: Input
2165
+ }], alignLeft: [{
2166
+ type: Input
2167
+ }], alignRight: [{
2168
+ type: Input
2169
+ }], backColor: [{
2170
+ type: Input
2171
+ }], blockquote: [{
2172
+ type: Input
2173
+ }], bold: [{
2174
+ type: Input
2175
+ }], cleanFormatting: [{
2176
+ type: Input
2177
+ }], createLink: [{
2178
+ type: Input
2179
+ }], fontFamily: [{
2180
+ type: Input
2181
+ }], fontSize: [{
2182
+ type: Input
2183
+ }], foreColor: [{
2184
+ type: Input
2185
+ }], format: [{
2186
+ type: Input
2187
+ }], indent: [{
2188
+ type: Input
2189
+ }], insertFile: [{
2190
+ type: Input
2191
+ }], insertImage: [{
2192
+ type: Input
2193
+ }], insertOrderedList: [{
2194
+ type: Input
2195
+ }], insertUnorderedList: [{
2196
+ type: Input
2197
+ }], italic: [{
2198
+ type: Input
2199
+ }], outdent: [{
2200
+ type: Input
2201
+ }], print: [{
2202
+ type: Input
2203
+ }], redo: [{
2204
+ type: Input
2205
+ }], selectAll: [{
2206
+ type: Input
2207
+ }], strikethrough: [{
2208
+ type: Input
2209
+ }], subscript: [{
2210
+ type: Input
2211
+ }], superscript: [{
2212
+ type: Input
2213
+ }], underline: [{
2214
+ type: Input
2215
+ }], undo: [{
2216
+ type: Input
2217
+ }], unlink: [{
2218
+ type: Input
2219
+ }], viewSource: [{
2220
+ type: Input
2221
+ }], insertTable: [{
2222
+ type: Input
2223
+ }], insertTableHint: [{
2224
+ type: Input
2225
+ }], addColumnBefore: [{
2226
+ type: Input
2227
+ }], addColumnAfter: [{
2228
+ type: Input
2229
+ }], addRowBefore: [{
2230
+ type: Input
2231
+ }], addRowAfter: [{
2232
+ type: Input
2233
+ }], deleteColumn: [{
2234
+ type: Input
2235
+ }], deleteRow: [{
2236
+ type: Input
2237
+ }], deleteTable: [{
2238
+ type: Input
2239
+ }], mergeCells: [{
2240
+ type: Input
2241
+ }], splitCell: [{
2242
+ type: Input
2243
+ }], dialogApply: [{
2244
+ type: Input
2245
+ }], dialogCancel: [{
2246
+ type: Input
2247
+ }], dialogInsert: [{
2248
+ type: Input
2249
+ }], dialogUpdate: [{
2250
+ type: Input
2251
+ }], fileText: [{
2252
+ type: Input
2253
+ }], fileTitle: [{
2254
+ type: Input
2255
+ }], fileWebAddress: [{
2256
+ type: Input
2257
+ }], imageAltText: [{
2258
+ type: Input
2259
+ }], imageHeight: [{
2260
+ type: Input
2261
+ }], imageWebAddress: [{
2262
+ type: Input
2263
+ }], imageWidth: [{
2264
+ type: Input
2265
+ }], linkOpenInNewWindow: [{
2266
+ type: Input
2267
+ }], linkText: [{
2268
+ type: Input
2269
+ }], linkTitle: [{
2270
+ type: Input
2271
+ }], linkWebAddress: [{
2272
+ type: Input
2273
+ }] } });
2274
+
2275
+ /**
2276
+ * @hidden
2277
+ */
2278
+ class LocalizedMessagesDirective extends MessagesDirective {
2279
+ constructor(service) {
2280
+ super();
2281
+ this.service = service;
2663
2282
  }
2664
2283
  }
2665
- EditorIndentButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorIndentButtonDirective, deps: [{ token: i1$3.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
2666
- EditorIndentButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: EditorIndentButtonDirective, selector: "kendo-toolbar-button[kendoEditorIndentButton]", usesInheritance: true, ngImport: i0 });
2667
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorIndentButtonDirective, decorators: [{
2284
+ LocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
2285
+ LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: LocalizedMessagesDirective, selector: "[kendoEditorLocalizedMessages]", providers: [{
2286
+ provide: MessagesDirective,
2287
+ useExisting: forwardRef(() => LocalizedMessagesDirective)
2288
+ }], usesInheritance: true, ngImport: i0 });
2289
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: LocalizedMessagesDirective, decorators: [{
2668
2290
  type: Directive,
2669
2291
  args: [{
2670
- selector: 'kendo-toolbar-button[kendoEditorIndentButton]'
2292
+ providers: [{
2293
+ provide: MessagesDirective,
2294
+ useExisting: forwardRef(() => LocalizedMessagesDirective)
2295
+ }],
2296
+ selector: '[kendoEditorLocalizedMessages]'
2671
2297
  }]
2672
- }], ctorParameters: function () { return [{ type: i1$3.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
2298
+ }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
2299
+
2300
+ /**
2301
+ * @hidden
2302
+ */
2303
+ class DropDownToolDirective {
2304
+ constructor(hostEl, zone) {
2305
+ this.hostEl = hostEl;
2306
+ this.zone = zone;
2307
+ this.preventDefault = (event) => {
2308
+ event.preventDefault();
2309
+ };
2310
+ }
2311
+ get hostElement() {
2312
+ return this.hostEl.nativeElement;
2313
+ }
2314
+ ngAfterViewInit() {
2315
+ this.zone.runOutsideAngular(() => {
2316
+ this.hostElement.addEventListener('pointerdown', this.preventDefault);
2317
+ });
2318
+ }
2319
+ ngOnDestroy() {
2320
+ this.hostElement.removeEventListener('pointerdown', this.preventDefault);
2321
+ }
2322
+ }
2323
+ DropDownToolDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: DropDownToolDirective, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
2324
+ DropDownToolDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: DropDownToolDirective, selector: "[kendoEditorDropDownTool]", ngImport: i0 });
2325
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: DropDownToolDirective, decorators: [{
2326
+ type: Directive,
2327
+ args: [{ selector: '[kendoEditorDropDownTool]' }]
2328
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }]; } });
2673
2329
 
2674
2330
  /**
2675
- * A directive which configures an existing `ToolBarButtonComponent` as an Editor **Outdent** tool
2676
- * ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
2677
- * The directive will predefine the SVG icon and `click` event handlers of the button.
2678
- * In addition, the directive updates the `disabled` state of the button according to the cursor position in the editing area.
2679
- *
2680
- * @example
2681
- * ```html
2682
- * <kendo-toolbar-button kendoEditorOutdentButton></kendo-toolbar-button>
2683
- * ```
2331
+ * @hidden
2684
2332
  */
2685
- class EditorOutdentButtonDirective extends EditorCommandButton {
2686
- constructor(button, localization, providerService, toolsService) {
2687
- super('outdent', button, localization, providerService, toolsService);
2333
+ class FormatDropDownListComponent {
2334
+ constructor() {
2335
+ this.valueChange = new EventEmitter();
2336
+ }
2337
+ onValueChange(tag) {
2338
+ this.valueChange.emit(tag);
2339
+ }
2340
+ focus() {
2341
+ this.dropDownList.focus();
2688
2342
  }
2689
2343
  }
2690
- EditorOutdentButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorOutdentButtonDirective, deps: [{ token: i1$3.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
2691
- EditorOutdentButtonDirectivedir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: EditorOutdentButtonDirective, selector: "kendo-toolbar-button[kendoEditorOutdentButton]", usesInheritance: true, ngImport: i0 });
2692
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorOutdentButtonDirective, decorators: [{
2693
- type: Directive,
2344
+ FormatDropDownListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: FormatDropDownListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
2345
+ FormatDropDownListComponentcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: FormatDropDownListComponent, selector: "kendo-editor-format-dropdownlist", inputs: { data: "data", value: "value", defaultItem: "defaultItem", itemDisabled: "itemDisabled", title: "title", disabled: "disabled", tabindex: "tabindex" }, outputs: { valueChange: "valueChange" }, viewQueries: [{ propertyName: "element", first: true, predicate: ["element"], descendants: true, static: true }, { propertyName: "dropDownList", first: true, predicate: ["element"], descendants: true, read: DropDownListComponent, static: true }], ngImport: i0, template: `
2346
+ <kendo-dropdownlist
2347
+ #element
2348
+ kendoEditorDropDownTool
2349
+ [defaultItem]="defaultItem"
2350
+ [textField]="'text'"
2351
+ [valueField]="'tag'"
2352
+ [data]="data"
2353
+ [(value)]="value"
2354
+ [valuePrimitive]="true"
2355
+ [itemDisabled]="itemDisabled"
2356
+ [attr.title]="title"
2357
+ [disabled]="disabled"
2358
+ [tabindex]="tabindex"
2359
+ (valueChange)="onValueChange($event)"
2360
+ [style.width.em]="13"
2361
+ >
2362
+ <ng-template kendoDropDownListItemTemplate let-dataItem>
2363
+ <ng-container [ngSwitch]="dataItem.tag">
2364
+ <span *ngSwitchCase="'h1'" [style]="'display: block; font-size: 2em; margin-left: 0; font-weight: bold;'">
2365
+ {{ dataItem.text }}
2366
+ </span>
2367
+
2368
+ <span *ngSwitchCase="'h2'" [style]="'display: block; font-size: 1.5em; margin-left: 0; font-weight: bold;'">
2369
+ {{ dataItem.text }}
2370
+ </span>
2371
+
2372
+ <span *ngSwitchCase="'h3'" [style]="'display: block; font-size: 1.17em; margin-left: 0; font-weight: bold;'">
2373
+ {{ dataItem.text }}
2374
+ </span>
2375
+
2376
+ <span *ngSwitchCase="'h4'" [style]="'display: block; font-size: 1em; margin-left: 0; font-weight: bold;'">
2377
+ {{ dataItem.text }}
2378
+ </span>
2379
+
2380
+ <span *ngSwitchCase="'h5'" [style]="'display: block; font-size: .83em; margin-left: 0; font-weight: bold;'">
2381
+ {{ dataItem.text }}
2382
+ </span>
2383
+
2384
+ <span *ngSwitchCase="'h6'" [style]="'display: block; font-size: .67em; margin-left: 0; font-weight: bold;'">
2385
+ {{ dataItem.text }}
2386
+ </span>
2387
+
2388
+ <span *ngSwitchCase="'p'" [style]="'display: block; margin-left: 0;'">
2389
+ {{ dataItem.text }}
2390
+ </span>
2391
+
2392
+ <span *ngSwitchDefault>{{ dataItem.text }}</span>
2393
+ </ng-container>
2394
+ </ng-template>
2395
+ </kendo-dropdownlist>
2396
+ `, isInline: true, dependencies: [{ kind: "directive", type: i5.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i5.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i5.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "directive", type: i2.ItemTemplateDirective, selector: "[kendoDropDownListItemTemplate],[kendoComboBoxItemTemplate],[kendoAutoCompleteItemTemplate],[kendoMultiSelectItemTemplate]" }, { kind: "component", type: i2.DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["customIconClass", "showStickyHeader", "icon", "svgIcon", "loading", "data", "value", "textField", "valueField", "adaptiveMode", "title", "subtitle", "popupSettings", "listHeight", "defaultItem", "disabled", "itemDisabled", "readonly", "filterable", "virtual", "ignoreCase", "delay", "valuePrimitive", "tabindex", "tabIndex", "size", "rounded", "fillMode", "leftRightArrowsNavigation", "id"], outputs: ["valueChange", "filterChange", "selectionChange", "open", "opened", "close", "closed", "focus", "blur"], exportAs: ["kendoDropDownList"] }, { kind: "directive", type: DropDownToolDirective, selector: "[kendoEditorDropDownTool]" }] });
2397
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: FormatDropDownListComponent, decorators: [{
2398
+ type: Component,
2694
2399
  args: [{
2695
- selector: 'kendo-toolbar-button[kendoEditorOutdentButton]'
2400
+ selector: 'kendo-editor-format-dropdownlist',
2401
+ template: `
2402
+ <kendo-dropdownlist
2403
+ #element
2404
+ kendoEditorDropDownTool
2405
+ [defaultItem]="defaultItem"
2406
+ [textField]="'text'"
2407
+ [valueField]="'tag'"
2408
+ [data]="data"
2409
+ [(value)]="value"
2410
+ [valuePrimitive]="true"
2411
+ [itemDisabled]="itemDisabled"
2412
+ [attr.title]="title"
2413
+ [disabled]="disabled"
2414
+ [tabindex]="tabindex"
2415
+ (valueChange)="onValueChange($event)"
2416
+ [style.width.em]="13"
2417
+ >
2418
+ <ng-template kendoDropDownListItemTemplate let-dataItem>
2419
+ <ng-container [ngSwitch]="dataItem.tag">
2420
+ <span *ngSwitchCase="'h1'" [style]="'display: block; font-size: 2em; margin-left: 0; font-weight: bold;'">
2421
+ {{ dataItem.text }}
2422
+ </span>
2423
+
2424
+ <span *ngSwitchCase="'h2'" [style]="'display: block; font-size: 1.5em; margin-left: 0; font-weight: bold;'">
2425
+ {{ dataItem.text }}
2426
+ </span>
2427
+
2428
+ <span *ngSwitchCase="'h3'" [style]="'display: block; font-size: 1.17em; margin-left: 0; font-weight: bold;'">
2429
+ {{ dataItem.text }}
2430
+ </span>
2431
+
2432
+ <span *ngSwitchCase="'h4'" [style]="'display: block; font-size: 1em; margin-left: 0; font-weight: bold;'">
2433
+ {{ dataItem.text }}
2434
+ </span>
2435
+
2436
+ <span *ngSwitchCase="'h5'" [style]="'display: block; font-size: .83em; margin-left: 0; font-weight: bold;'">
2437
+ {{ dataItem.text }}
2438
+ </span>
2439
+
2440
+ <span *ngSwitchCase="'h6'" [style]="'display: block; font-size: .67em; margin-left: 0; font-weight: bold;'">
2441
+ {{ dataItem.text }}
2442
+ </span>
2443
+
2444
+ <span *ngSwitchCase="'p'" [style]="'display: block; margin-left: 0;'">
2445
+ {{ dataItem.text }}
2446
+ </span>
2447
+
2448
+ <span *ngSwitchDefault>{{ dataItem.text }}</span>
2449
+ </ng-container>
2450
+ </ng-template>
2451
+ </kendo-dropdownlist>
2452
+ `
2696
2453
  }]
2697
- }], ctorParameters: function () { return [{ type: i1$3.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
2454
+ }], propDecorators: { data: [{
2455
+ type: Input
2456
+ }], value: [{
2457
+ type: Input
2458
+ }], defaultItem: [{
2459
+ type: Input
2460
+ }], itemDisabled: [{
2461
+ type: Input
2462
+ }], title: [{
2463
+ type: Input
2464
+ }], disabled: [{
2465
+ type: Input
2466
+ }], tabindex: [{
2467
+ type: Input
2468
+ }], valueChange: [{
2469
+ type: Output
2470
+ }], element: [{
2471
+ type: ViewChild,
2472
+ args: ['element', { static: true }]
2473
+ }], dropDownList: [{
2474
+ type: ViewChild,
2475
+ args: ['element', { read: DropDownListComponent, static: true }]
2476
+ }] } });
2698
2477
 
2699
2478
  /**
2700
2479
  * @hidden
2701
2480
  */
2702
- class EditorCommandDialog extends EditorCommandBaseDirective {
2703
- constructor(dialog, button, localization, providerService, toolsService) {
2704
- super(dialog, button, localization, providerService, toolsService);
2481
+ class FormatDialogComponent extends DialogContentBase {
2482
+ constructor(dialog, localization) {
2483
+ super(dialog);
2705
2484
  this.dialog = dialog;
2706
- this.button = button;
2707
2485
  this.localization = localization;
2708
- this.providerService = providerService;
2709
- this.toolsService = toolsService;
2710
- }
2711
- clickHandler() {
2712
- this.editor.openDialog(this.dialog);
2486
+ this.data = [];
2713
2487
  }
2714
- onStateChange(toolBarState) {
2715
- this.providerService.editor.ngZone.onStable.pipe(take(1)).subscribe(() => {
2716
- this.button.selected = toolBarState[this.command].selected;
2717
- this.button.disabled = toolBarState[this.command].disabled;
2488
+ ngAfterViewInit() {
2489
+ Promise.resolve(null).then(() => {
2490
+ this.formatDropDownList.dropDownList.focus();
2718
2491
  });
2719
2492
  }
2720
- }
2721
-
2722
- /**
2723
- * A directive which configures an existing `ToolBarButtonComponent` as an Editor **CreateLink** tool
2724
- * ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
2725
- * The directive will predefine the SVG icon and `click` event handlers of the button.
2726
- * In addition, the directive updates the `disabled` state of the button according to the cursor position in the editing area.
2727
- *
2728
- * @example
2729
- * ```html
2730
- * <kendo-toolbar-button kendoEditorCreateLinkButton></kendo-toolbar-button>
2731
- * ```
2732
- */
2733
- class EditorCreateLinkButtonDirective extends EditorCommandDialog {
2734
- constructor(button, localization, providerService, toolsService) {
2735
- super('createLink', button, localization, providerService, toolsService);
2493
+ onCancelAction() {
2494
+ this.dialog.close();
2495
+ }
2496
+ onConfirmAction() {
2497
+ if (this.value) {
2498
+ this.editor.exec('format', { tag: this.value });
2499
+ }
2500
+ this.dialog.close();
2501
+ }
2502
+ setData(args) {
2503
+ this.editor = args.editor;
2504
+ this.data = args.data;
2505
+ this.defaultItem = args.defaultItem;
2506
+ this.value = args.value;
2507
+ this.itemDisabled = args.itemDisabled;
2508
+ }
2509
+ textFor(key) {
2510
+ return this.localization.get(key);
2736
2511
  }
2737
2512
  }
2738
- EditorCreateLinkButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorCreateLinkButtonDirective, deps: [{ token: i1$3.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
2739
- EditorCreateLinkButtonDirectivedir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: EditorCreateLinkButtonDirective, selector: "kendo-toolbar-button[kendoEditorCreateLinkButton]", usesInheritance: true, ngImport: i0 });
2740
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorCreateLinkButtonDirective, decorators: [{
2741
- type: Directive,
2513
+ FormatDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: FormatDialogComponent, deps: [{ token: i1$1.DialogRef }, { token: EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
2514
+ FormatDialogComponentcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: FormatDialogComponent, selector: "ng-component", inputs: { editor: "editor" }, viewQueries: [{ propertyName: "formatDropDownList", first: true, predicate: ["formatDropDownList"], descendants: true, read: FormatDropDownListComponent, static: true }], usesInheritance: true, ngImport: i0, template: `
2515
+ <kendo-dialog-titlebar (close)="onCancelAction()">
2516
+ {{ textFor('format') }}
2517
+ </kendo-dialog-titlebar>
2518
+ <div [style.text-align]="'center'">
2519
+ <kendo-editor-format-dropdownlist
2520
+ #formatDropDownList
2521
+ [defaultItem]="defaultItem"
2522
+ [data]="data"
2523
+ [(value)]="value"
2524
+ [itemDisabled]="itemDisabled"
2525
+ >
2526
+ </kendo-editor-format-dropdownlist>
2527
+ </div>
2528
+ <kendo-dialog-actions layout="start">
2529
+ <button
2530
+ kendoButton
2531
+ [primary]="true"
2532
+ (click)="onConfirmAction()"
2533
+ >{{ textFor('dialogApply') }}</button>
2534
+ <button
2535
+ kendoButton
2536
+ (click)="onCancelAction()"
2537
+ >{{ textFor('dialogCancel') }}</button>
2538
+ </kendo-dialog-actions>
2539
+ `, isInline: true, dependencies: [{ kind: "component", type: i3.ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: i1$1.DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { kind: "component", type: i1$1.DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { kind: "component", type: FormatDropDownListComponent, selector: "kendo-editor-format-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }] });
2540
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: FormatDialogComponent, decorators: [{
2541
+ type: Component,
2742
2542
  args: [{
2743
- selector: 'kendo-toolbar-button[kendoEditorCreateLinkButton]'
2543
+ template: `
2544
+ <kendo-dialog-titlebar (close)="onCancelAction()">
2545
+ {{ textFor('format') }}
2546
+ </kendo-dialog-titlebar>
2547
+ <div [style.text-align]="'center'">
2548
+ <kendo-editor-format-dropdownlist
2549
+ #formatDropDownList
2550
+ [defaultItem]="defaultItem"
2551
+ [data]="data"
2552
+ [(value)]="value"
2553
+ [itemDisabled]="itemDisabled"
2554
+ >
2555
+ </kendo-editor-format-dropdownlist>
2556
+ </div>
2557
+ <kendo-dialog-actions layout="start">
2558
+ <button
2559
+ kendoButton
2560
+ [primary]="true"
2561
+ (click)="onConfirmAction()"
2562
+ >{{ textFor('dialogApply') }}</button>
2563
+ <button
2564
+ kendoButton
2565
+ (click)="onCancelAction()"
2566
+ >{{ textFor('dialogCancel') }}</button>
2567
+ </kendo-dialog-actions>
2568
+ `
2744
2569
  }]
2745
- }], ctorParameters: function () { return [{ type: i1$3.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
2570
+ }], ctorParameters: function () { return [{ type: i1$1.DialogRef }, { type: EditorLocalizationService }]; }, propDecorators: { editor: [{
2571
+ type: Input
2572
+ }], formatDropDownList: [{
2573
+ type: ViewChild,
2574
+ args: ['formatDropDownList', { read: FormatDropDownListComponent, static: true }]
2575
+ }] } });
2746
2576
 
2747
2577
  /**
2748
- * A directive which configures an existing `ToolBarButtonComponent` as an Editor **Unlink** tool
2578
+ * A component which configures an existing `DropDownListComponent` as an Editor tool
2749
2579
  * ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
2750
- * The directive will predefine the SVG icon and `click` event handlers of the button.
2751
- * In addition, the directive updates the `disabled` state of the button according to the cursor position in the editing area.
2580
+ * The component associates a `kendo-dropdownlist` with an Editor command that changes the format of a content block and
2581
+ * automatically defines the options of the drop-down list and sets its values ([see example]({% slug toolbartools_editor %}#toc-dropdownlists)).
2752
2582
  *
2753
2583
  * @example
2754
- * ```html
2755
- * <kendo-toolbar-button kendoEditorUnlinkButton></kendo-toolbar-button>
2584
+ * ```ts-no-run
2585
+ * <kendo-toolbar-dropdownlist kendoEditorFormat></kendo-toolbar-dropdownlist>
2756
2586
  * ```
2757
2587
  */
2758
- class EditorUnlinkButtonDirective extends EditorCommandButton {
2759
- constructor(button, localization, providerService, toolsService) {
2760
- super('unlink', button, localization, providerService, toolsService);
2588
+ class EditorFormatComponent extends ToolBarToolComponent {
2589
+ constructor(dialogService, localization, providerService, toolsService, renderer) {
2590
+ super();
2591
+ this.dialogService = dialogService;
2592
+ this.localization = localization;
2593
+ this.toolsService = toolsService;
2594
+ this.renderer = renderer;
2595
+ this.disabled = false;
2596
+ this.tabindex = -1;
2597
+ /**
2598
+ * Fires when the user updates the value of the drop-down list.
2599
+ */
2600
+ this.valueChange = new EventEmitter();
2601
+ this._data = [
2602
+ { text: 'Paragraph', tag: 'p' },
2603
+ { text: 'Heading 1', tag: 'h1' },
2604
+ { text: 'Heading 2', tag: 'h2' },
2605
+ { text: 'Heading 3', tag: 'h3' },
2606
+ { text: 'Heading 4', tag: 'h4' },
2607
+ { text: 'Heading 5', tag: 'h5' },
2608
+ { text: 'Heading 6', tag: 'h6' }
2609
+ ];
2610
+ this.applyFormatSVGIcon = applyFormatIcon;
2611
+ this.editor = providerService.editor;
2761
2612
  }
2762
- }
2763
- EditorUnlinkButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorUnlinkButtonDirective, deps: [{ token: i1$3.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
2764
- EditorUnlinkButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: EditorUnlinkButtonDirective, selector: "kendo-toolbar-button[kendoEditorUnlinkButton]", usesInheritance: true, ngImport: i0 });
2765
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorUnlinkButtonDirective, decorators: [{
2766
- type: Directive,
2767
- args: [{
2768
- selector: 'kendo-toolbar-button[kendoEditorUnlinkButton]'
2769
- }]
2770
- }], ctorParameters: function () { return [{ type: i1$3.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
2771
-
2772
- /**
2773
- * A directive which configures an existing `ToolBarButtonComponent` as an Editor **InsertImage** tool
2774
- * ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
2775
- * The directive will predefine the SVG icon and `click` event handlers of the button.
2776
- *
2777
- * @example
2778
- * ```html
2779
- * <kendo-toolbar-button kendoEditorInsertImageButton></kendo-toolbar-button>
2780
- * ```
2781
- */
2782
- class EditorInsertImageButtonDirective extends EditorCommandDialog {
2783
- constructor(button, localization, providerService, toolsService) {
2784
- super('insertImage', button, localization, providerService, toolsService);
2613
+ /**
2614
+ * Overrides the default format items list.
2615
+ */
2616
+ set data(formatItems) {
2617
+ this._data = formatItems || this._data;
2618
+ }
2619
+ get data() {
2620
+ return this._data;
2621
+ }
2622
+ ngOnInit() {
2623
+ this.itemDisabled = (itemArgs) => {
2624
+ if (!this.overflows && this.formatDropDownList && !this.formatDropDownList.dropDownList.isOpen) {
2625
+ return true; //disable all items in order to prevent navigation when DDL is closed
2626
+ }
2627
+ else {
2628
+ return itemArgs.dataItem.tag === null;
2629
+ }
2630
+ };
2631
+ setTimeout(() => {
2632
+ this.defaultItem = { text: this.title, tag: null };
2633
+ this.toolsService.needsCheck.next();
2634
+ });
2635
+ this.subs = this.editor.stateChange.subscribe(({ format }) => {
2636
+ const index = this.data.findIndex(item => item.tag === format.selected.tag);
2637
+ this.value = index !== -1 ? format.selected.tag : null;
2638
+ this.disabled = format.disabled;
2639
+ });
2640
+ }
2641
+ /**
2642
+ * @hidden
2643
+ */
2644
+ onValueChange(ev) {
2645
+ if (isPresent(ev)) {
2646
+ this.editor.exec('format', { tag: ev });
2647
+ this.editor.view.focus();
2648
+ this.valueChange.emit(this.data.find(d => d.tag === ev));
2649
+ }
2650
+ }
2651
+ ngOnDestroy() {
2652
+ if (this.subs) {
2653
+ this.subs.unsubscribe();
2654
+ }
2655
+ }
2656
+ get outerWidth() {
2657
+ const element = this.formatDropDownList.element;
2658
+ if (element) {
2659
+ return outerWidth(element.nativeElement);
2660
+ }
2661
+ }
2662
+ get title() {
2663
+ return this.localization.get('format');
2664
+ }
2665
+ /**
2666
+ * @hidden
2667
+ */
2668
+ openDialog() {
2669
+ const dialogSettings = {
2670
+ appendTo: this.editor.dialogContainer,
2671
+ content: FormatDialogComponent,
2672
+ width: 400
2673
+ };
2674
+ this.editor.toolbar.toggle(false);
2675
+ const dialogContent = this.dialogService.open(dialogSettings).content.instance;
2676
+ this.renderer.addClass(dialogContent.dialog.dialog.instance.wrapper.nativeElement.querySelector('.k-window'), 'k-editor-window');
2677
+ dialogContent.setData({
2678
+ editor: this.editor,
2679
+ data: this.data,
2680
+ defaultItem: this.defaultItem,
2681
+ value: this.value,
2682
+ itemDisabled: this.itemDisabled
2683
+ });
2684
+ }
2685
+ /**
2686
+ * @hidden
2687
+ */
2688
+ canFocus() {
2689
+ return !this.disabled;
2690
+ }
2691
+ /**
2692
+ * @hidden
2693
+ */
2694
+ focus() {
2695
+ this.tabindex = 0;
2696
+ if (this.overflows) {
2697
+ this.formatButton.nativeElement.focus();
2698
+ }
2699
+ else {
2700
+ this.formatDropDownList.focus();
2701
+ }
2702
+ }
2703
+ /**
2704
+ * @hidden
2705
+ */
2706
+ handleKey() {
2707
+ this.tabindex = -1;
2708
+ return false;
2785
2709
  }
2786
2710
  }
2787
- EditorInsertImageButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorInsertImageButtonDirective, deps: [{ token: i1$3.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
2788
- EditorInsertImageButtonDirectivedir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: EditorInsertImageButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertImageButton]", usesInheritance: true, ngImport: i0 });
2789
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorInsertImageButtonDirective, decorators: [{
2790
- type: Directive,
2711
+ EditorFormatComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorFormatComponent, deps: [{ token: i1$1.DialogService }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
2712
+ EditorFormatComponentcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: EditorFormatComponent, selector: "kendo-toolbar-dropdownlist[kendoEditorFormat]", inputs: { data: "data" }, outputs: { valueChange: "valueChange" }, providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => EditorFormatComponent) }], viewQueries: [{ propertyName: "toolbarTemplate", first: true, predicate: ["toolbarTemplate"], descendants: true, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }, { propertyName: "formatDropDownList", first: true, predicate: ["formatDropDownList"], descendants: true }, { propertyName: "formatButton", first: true, predicate: ["formatButton"], descendants: true, read: ElementRef }], usesInheritance: true, ngImport: i0, template: `
2713
+ <ng-template #toolbarTemplate>
2714
+ <kendo-editor-format-dropdownlist
2715
+ #formatDropDownList
2716
+ [defaultItem]="defaultItem"
2717
+ [data]="data"
2718
+ [(value)]="value"
2719
+ [itemDisabled]="itemDisabled"
2720
+ [title]="title"
2721
+ [disabled]="disabled"
2722
+ [tabindex]="tabindex"
2723
+ (valueChange)="onValueChange($event)"
2724
+ >
2725
+ </kendo-editor-format-dropdownlist>
2726
+ </ng-template>
2727
+ <ng-template #popupTemplate>
2728
+ <div #formatButton
2729
+ role="menuitem"
2730
+ class="k-item k-menu-item"
2731
+ [class.k-disabled]="disabled"
2732
+ [tabindex]="tabindex"
2733
+ (click)="openDialog()">
2734
+ <span
2735
+ class="k-link k-menu-link">
2736
+ <kendo-icon-wrapper name="apply-format" [svgIcon]="applyFormatSVGIcon"></kendo-icon-wrapper>
2737
+ <span *ngIf="title" class="k-menu-link-text">{{title}}</span>
2738
+ </span>
2739
+ </div>
2740
+ </ng-template>
2741
+ `, isInline: true, dependencies: [{ kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i6$1.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "component", type: FormatDropDownListComponent, selector: "kendo-editor-format-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }] });
2742
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorFormatComponent, decorators: [{
2743
+ type: Component,
2791
2744
  args: [{
2792
- selector: 'kendo-toolbar-button[kendoEditorInsertImageButton]'
2745
+ providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => EditorFormatComponent) }],
2746
+ selector: 'kendo-toolbar-dropdownlist[kendoEditorFormat]',
2747
+ template: `
2748
+ <ng-template #toolbarTemplate>
2749
+ <kendo-editor-format-dropdownlist
2750
+ #formatDropDownList
2751
+ [defaultItem]="defaultItem"
2752
+ [data]="data"
2753
+ [(value)]="value"
2754
+ [itemDisabled]="itemDisabled"
2755
+ [title]="title"
2756
+ [disabled]="disabled"
2757
+ [tabindex]="tabindex"
2758
+ (valueChange)="onValueChange($event)"
2759
+ >
2760
+ </kendo-editor-format-dropdownlist>
2761
+ </ng-template>
2762
+ <ng-template #popupTemplate>
2763
+ <div #formatButton
2764
+ role="menuitem"
2765
+ class="k-item k-menu-item"
2766
+ [class.k-disabled]="disabled"
2767
+ [tabindex]="tabindex"
2768
+ (click)="openDialog()">
2769
+ <span
2770
+ class="k-link k-menu-link">
2771
+ <kendo-icon-wrapper name="apply-format" [svgIcon]="applyFormatSVGIcon"></kendo-icon-wrapper>
2772
+ <span *ngIf="title" class="k-menu-link-text">{{title}}</span>
2773
+ </span>
2774
+ </div>
2775
+ </ng-template>
2776
+ `
2793
2777
  }]
2794
- }], ctorParameters: function () { return [{ type: i1$3.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
2778
+ }], ctorParameters: function () { return [{ type: i1$1.DialogService }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }, { type: i0.Renderer2 }]; }, propDecorators: { data: [{
2779
+ type: Input
2780
+ }], valueChange: [{
2781
+ type: Output
2782
+ }], toolbarTemplate: [{
2783
+ type: ViewChild,
2784
+ args: ['toolbarTemplate', { static: true }]
2785
+ }], popupTemplate: [{
2786
+ type: ViewChild,
2787
+ args: ['popupTemplate', { static: true }]
2788
+ }], formatDropDownList: [{
2789
+ type: ViewChild,
2790
+ args: ['formatDropDownList']
2791
+ }], formatButton: [{
2792
+ type: ViewChild,
2793
+ args: ['formatButton', { read: ElementRef }]
2794
+ }] } });
2795
2795
 
2796
2796
  const EMPTY_PARAGRAPH = '<p></p>';
2797
2797
  const defaultPasteCleanupSettings = {
@@ -3541,10 +3541,9 @@ class EditorComponent {
3541
3541
  }
3542
3542
  return cleanContent;
3543
3543
  }
3544
- ;
3545
3544
  }
3546
- EditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorComponent, deps: [{ token: i1$1.DialogService }, { token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i0.ElementRef }, { token: ProviderService }, { token: EditorToolsService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
3547
- EditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: EditorComponent, selector: "kendo-editor", inputs: { value: "value", disabled: "disabled", readonly: "readonly", iframe: "iframe", iframeCss: "iframeCss", applyToWord: "applyToWord", schema: "schema", plugins: "plugins", placeholder: "placeholder", preserveWhitespace: "preserveWhitespace", pasteCleanupSettings: "pasteCleanupSettings", resizable: "resizable" }, outputs: { valueChange: "valueChange", onFocus: "focus", paste: "paste", onBlur: "blur" }, host: { properties: { "class.k-editor": "this.hostClass", "class.k-editor-resizable": "this.resizableClass", "class.k-disabled": "this.isDisabled", "class.k-readonly": "this.isReadonly", "class.k-ie": "this.isIE", "attr.dir": "this.dir", "attr.ariaDisabled": "this.ariaDisabled", "style.minWidth": "this.minWidth", "style.maxWidth": "this.maxWidth", "style.minHeight": "this.minHeight", "style.maxHeight": "this.maxHeight" } }, providers: [
3545
+ EditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorComponent, deps: [{ token: i1$1.DialogService }, { token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i0.ElementRef }, { token: ProviderService }, { token: EditorToolsService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
3546
+ EditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: EditorComponent, selector: "kendo-editor", inputs: { value: "value", disabled: "disabled", readonly: "readonly", iframe: "iframe", iframeCss: "iframeCss", applyToWord: "applyToWord", schema: "schema", plugins: "plugins", placeholder: "placeholder", preserveWhitespace: "preserveWhitespace", pasteCleanupSettings: "pasteCleanupSettings", resizable: "resizable" }, outputs: { valueChange: "valueChange", onFocus: "focus", paste: "paste", onBlur: "blur" }, host: { properties: { "class.k-editor": "this.hostClass", "class.k-editor-resizable": "this.resizableClass", "class.k-disabled": "this.isDisabled", "class.k-readonly": "this.isReadonly", "class.k-ie": "this.isIE", "attr.dir": "this.dir", "attr.ariaDisabled": "this.ariaDisabled", "style.minWidth": "this.minWidth", "style.maxWidth": "this.maxWidth", "style.minHeight": "this.minHeight", "style.maxHeight": "this.maxHeight" } }, providers: [
3548
3547
  EditorLocalizationService,
3549
3548
  ProviderService,
3550
3549
  EditorToolsService,
@@ -3724,8 +3723,8 @@ EditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
3724
3723
  <ng-container #dialogsContainer></ng-container>
3725
3724
 
3726
3725
  <div kendoWatermarkOverlay *ngIf="showLicenseWatermark"></div>
3727
- `, isInline: true, components: [{ type: i1$3.ToolBarComponent, selector: "kendo-toolbar", inputs: ["overflow", "resizable", "popupSettings", "tabindex", "size", "tabIndex"], outputs: ["open", "close"], exportAs: ["kendoToolBar"] }, { type: i1$3.ToolBarButtonGroupComponent, selector: "kendo-toolbar-buttongroup", inputs: ["disabled", "selection", "width", "look"], exportAs: ["kendoToolBarButtonGroup"] }, { type: i1$3.ToolBarButtonComponent, selector: "kendo-toolbar-button", inputs: ["showText", "showIcon", "text", "style", "className", "title", "disabled", "toggleable", "look", "togglable", "selected", "fillMode", "themeColor", "icon", "iconClass", "svgIcon", "imageUrl"], outputs: ["click", "pointerdown", "selectedChange"], exportAs: ["kendoToolBarButton"] }, { type: EditorFormatComponent, selector: "kendo-toolbar-dropdownlist[kendoEditorFormat]", inputs: ["data"], outputs: ["valueChange"] }, { type: i7.WatermarkOverlayComponent, selector: "div[kendoWatermarkOverlay]" }], directives: [{ type: LocalizedMessagesDirective, selector: "[kendoEditorLocalizedMessages]" }, { type: i3$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: EditorBoldButtonDirective, selector: "kendo-toolbar-button[kendoEditorBoldButton]" }, { type: EditorItalicButtonDirective, selector: "kendo-toolbar-button[kendoEditorItalicButton]" }, { type: EditorUnderlineButtonDirective, selector: "kendo-toolbar-button[kendoEditorUnderlineButton]" }, { type: EditorAlignLeftButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignLeftButton]" }, { type: EditorAlignCenterButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignCenterButton]" }, { type: EditorAlignRightButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignRightButton]" }, { type: EditorAlignJustifyButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignJustifyButton]" }, { type: EditorInsertUnorderedListButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertUnorderedListButton]" }, { type: EditorInsertOrderedListButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertOrderedListButton]" }, { type: EditorIndentButtonDirective, selector: "kendo-toolbar-button[kendoEditorIndentButton]" }, { type: EditorOutdentButtonDirective, selector: "kendo-toolbar-button[kendoEditorOutdentButton]" }, { type: EditorCreateLinkButtonDirective, selector: "kendo-toolbar-button[kendoEditorCreateLinkButton]" }, { type: EditorUnlinkButtonDirective, selector: "kendo-toolbar-button[kendoEditorUnlinkButton]" }, { type: EditorInsertImageButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertImageButton]" }] });
3728
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorComponent, decorators: [{
3726
+ `, isInline: true, dependencies: [{ kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i1$2.ToolBarComponent, selector: "kendo-toolbar", inputs: ["overflow", "resizable", "popupSettings", "tabindex", "size", "tabIndex"], outputs: ["open", "close"], exportAs: ["kendoToolBar"] }, { kind: "component", type: i1$2.ToolBarButtonComponent, selector: "kendo-toolbar-button", inputs: ["showText", "showIcon", "text", "style", "className", "title", "disabled", "toggleable", "look", "togglable", "selected", "fillMode", "themeColor", "icon", "iconClass", "svgIcon", "imageUrl"], outputs: ["click", "pointerdown", "selectedChange"], exportAs: ["kendoToolBarButton"] }, { kind: "component", type: i1$2.ToolBarButtonGroupComponent, selector: "kendo-toolbar-buttongroup", inputs: ["disabled", "selection", "width", "look"], exportAs: ["kendoToolBarButtonGroup"] }, { kind: "component", type: i7$1.WatermarkOverlayComponent, selector: "div[kendoWatermarkOverlay]" }, { kind: "directive", type: EditorAlignLeftButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignLeftButton]" }, { kind: "directive", type: EditorAlignCenterButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignCenterButton]" }, { kind: "directive", type: EditorAlignRightButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignRightButton]" }, { kind: "directive", type: EditorAlignJustifyButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignJustifyButton]" }, { kind: "directive", type: EditorInsertImageButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertImageButton]" }, { kind: "directive", type: EditorIndentButtonDirective, selector: "kendo-toolbar-button[kendoEditorIndentButton]" }, { kind: "directive", type: EditorOutdentButtonDirective, selector: "kendo-toolbar-button[kendoEditorOutdentButton]" }, { kind: "directive", type: EditorCreateLinkButtonDirective, selector: "kendo-toolbar-button[kendoEditorCreateLinkButton]" }, { kind: "directive", type: EditorUnlinkButtonDirective, selector: "kendo-toolbar-button[kendoEditorUnlinkButton]" }, { kind: "directive", type: EditorInsertOrderedListButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertOrderedListButton]" }, { kind: "directive", type: EditorInsertUnorderedListButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertUnorderedListButton]" }, { kind: "directive", type: EditorBoldButtonDirective, selector: "kendo-toolbar-button[kendoEditorBoldButton]" }, { kind: "directive", type: EditorItalicButtonDirective, selector: "kendo-toolbar-button[kendoEditorItalicButton]" }, { kind: "directive", type: EditorUnderlineButtonDirective, selector: "kendo-toolbar-button[kendoEditorUnderlineButton]" }, { kind: "directive", type: LocalizedMessagesDirective, selector: "[kendoEditorLocalizedMessages]" }, { kind: "component", type: EditorFormatComponent, selector: "kendo-toolbar-dropdownlist[kendoEditorFormat]", inputs: ["data"], outputs: ["valueChange"] }] });
3727
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorComponent, decorators: [{
3729
3728
  type: Component,
3730
3729
  args: [{
3731
3730
  selector: 'kendo-editor',
@@ -4044,8 +4043,8 @@ class ColorPickerDialogComponent extends DialogContentBase {
4044
4043
  return this.localization.get(key);
4045
4044
  }
4046
4045
  }
4047
- ColorPickerDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ColorPickerDialogComponent, deps: [{ token: i1$1.DialogRef }, { token: EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
4048
- ColorPickerDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: ColorPickerDialogComponent, selector: "ng-component", inputs: { editor: "editor" }, viewQueries: [{ propertyName: "colorPicker", first: true, predicate: ["colorpicker"], descendants: true, read: ColorPickerComponent, static: true }], usesInheritance: true, ngImport: i0, template: `
4046
+ ColorPickerDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ColorPickerDialogComponent, deps: [{ token: i1$1.DialogRef }, { token: EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
4047
+ ColorPickerDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: ColorPickerDialogComponent, selector: "ng-component", inputs: { editor: "editor" }, viewQueries: [{ propertyName: "colorPicker", first: true, predicate: ["colorpicker"], descendants: true, read: ColorPickerComponent, static: true }], usesInheritance: true, ngImport: i0, template: `
4049
4048
  <kendo-dialog-titlebar (close)="onCancelAction()">
4050
4049
  {{ textFor(editorCommand) }}
4051
4050
  </kendo-dialog-titlebar>
@@ -4075,8 +4074,8 @@ ColorPickerDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
4075
4074
  (click)="onCancelAction()"
4076
4075
  >{{ textFor('dialogCancel') }}</button>
4077
4076
  </kendo-dialog-actions>
4078
- `, isInline: true, components: [{ type: i1$1.DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { type: i3.ColorPickerComponent, selector: "kendo-colorpicker", inputs: ["views", "view", "activeView", "readonly", "disabled", "format", "value", "popupSettings", "paletteSettings", "gradientSettings", "icon", "iconClass", "svgIcon", "clearButton", "tabindex", "preview", "actionsLayout", "size", "rounded", "fillMode"], outputs: ["valueChange", "open", "close", "focus", "blur", "cancel", "activeColorClick", "clearButtonClick", "activeViewChange"], exportAs: ["kendoColorPicker"] }, { type: i1$1.DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { type: i4.ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
4079
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ColorPickerDialogComponent, decorators: [{
4077
+ `, isInline: true, dependencies: [{ kind: "component", type: i3.ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: i6.ColorPickerComponent, selector: "kendo-colorpicker", inputs: ["views", "view", "activeView", "readonly", "disabled", "format", "value", "popupSettings", "paletteSettings", "gradientSettings", "icon", "iconClass", "svgIcon", "clearButton", "tabindex", "preview", "actionsLayout", "size", "rounded", "fillMode"], outputs: ["valueChange", "open", "close", "focus", "blur", "cancel", "activeColorClick", "clearButtonClick", "activeViewChange"], exportAs: ["kendoColorPicker"] }, { kind: "component", type: i1$1.DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { kind: "component", type: i1$1.DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }] });
4078
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ColorPickerDialogComponent, decorators: [{
4080
4079
  type: Component,
4081
4080
  args: [{
4082
4081
  template: `
@@ -4132,8 +4131,8 @@ class FontFamilyDropDownListComponent {
4132
4131
  this.dropDownList.focus();
4133
4132
  }
4134
4133
  }
4135
- FontFamilyDropDownListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FontFamilyDropDownListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
4136
- FontFamilyDropDownListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: FontFamilyDropDownListComponent, selector: "kendo-editor-fontfamily-dropdownlist", inputs: { data: "data", value: "value", defaultItem: "defaultItem", itemDisabled: "itemDisabled", title: "title", disabled: "disabled", tabindex: "tabindex" }, outputs: { valueChange: "valueChange" }, viewQueries: [{ propertyName: "element", first: true, predicate: ["element"], descendants: true, static: true }, { propertyName: "dropDownList", first: true, predicate: ["element"], descendants: true, read: DropDownListComponent, static: true }], ngImport: i0, template: `
4134
+ FontFamilyDropDownListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: FontFamilyDropDownListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
4135
+ FontFamilyDropDownListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: FontFamilyDropDownListComponent, selector: "kendo-editor-fontfamily-dropdownlist", inputs: { data: "data", value: "value", defaultItem: "defaultItem", itemDisabled: "itemDisabled", title: "title", disabled: "disabled", tabindex: "tabindex" }, outputs: { valueChange: "valueChange" }, viewQueries: [{ propertyName: "element", first: true, predicate: ["element"], descendants: true, static: true }, { propertyName: "dropDownList", first: true, predicate: ["element"], descendants: true, read: DropDownListComponent, static: true }], ngImport: i0, template: `
4137
4136
  <kendo-dropdownlist
4138
4137
  #element
4139
4138
  kendoEditorDropDownTool
@@ -4156,8 +4155,8 @@ FontFamilyDropDownListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion:
4156
4155
  </span>
4157
4156
  </ng-template>
4158
4157
  </kendo-dropdownlist>
4159
- `, isInline: true, components: [{ type: i1$2.DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["customIconClass", "showStickyHeader", "icon", "svgIcon", "loading", "data", "value", "textField", "valueField", "adaptiveMode", "title", "subtitle", "popupSettings", "listHeight", "defaultItem", "disabled", "itemDisabled", "readonly", "filterable", "virtual", "ignoreCase", "delay", "valuePrimitive", "tabindex", "tabIndex", "size", "rounded", "fillMode", "leftRightArrowsNavigation", "id"], outputs: ["valueChange", "filterChange", "selectionChange", "open", "opened", "close", "closed", "focus", "blur"], exportAs: ["kendoDropDownList"] }], directives: [{ type: DropDownToolDirective, selector: "[kendoEditorDropDownTool]" }, { type: i1$2.ItemTemplateDirective, selector: "[kendoDropDownListItemTemplate],[kendoComboBoxItemTemplate],[kendoAutoCompleteItemTemplate],[kendoMultiSelectItemTemplate]" }, { type: i3$1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
4160
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FontFamilyDropDownListComponent, decorators: [{
4158
+ `, isInline: true, dependencies: [{ kind: "directive", type: i5.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i2.ItemTemplateDirective, selector: "[kendoDropDownListItemTemplate],[kendoComboBoxItemTemplate],[kendoAutoCompleteItemTemplate],[kendoMultiSelectItemTemplate]" }, { kind: "component", type: i2.DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["customIconClass", "showStickyHeader", "icon", "svgIcon", "loading", "data", "value", "textField", "valueField", "adaptiveMode", "title", "subtitle", "popupSettings", "listHeight", "defaultItem", "disabled", "itemDisabled", "readonly", "filterable", "virtual", "ignoreCase", "delay", "valuePrimitive", "tabindex", "tabIndex", "size", "rounded", "fillMode", "leftRightArrowsNavigation", "id"], outputs: ["valueChange", "filterChange", "selectionChange", "open", "opened", "close", "closed", "focus", "blur"], exportAs: ["kendoDropDownList"] }, { kind: "directive", type: DropDownToolDirective, selector: "[kendoEditorDropDownTool]" }] });
4159
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: FontFamilyDropDownListComponent, decorators: [{
4161
4160
  type: Component,
4162
4161
  args: [{
4163
4162
  selector: 'kendo-editor-fontfamily-dropdownlist',
@@ -4245,8 +4244,8 @@ class FontFamilyDialogComponent extends DialogContentBase {
4245
4244
  return this.localization.get(key);
4246
4245
  }
4247
4246
  }
4248
- FontFamilyDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FontFamilyDialogComponent, deps: [{ token: i1$1.DialogRef }, { token: EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
4249
- FontFamilyDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: FontFamilyDialogComponent, selector: "ng-component", inputs: { editor: "editor" }, viewQueries: [{ propertyName: "fontFamilyDropDownList", first: true, predicate: ["fontFamilyDropDownList"], descendants: true, read: FontFamilyDropDownListComponent, static: true }], usesInheritance: true, ngImport: i0, template: `
4247
+ FontFamilyDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: FontFamilyDialogComponent, deps: [{ token: i1$1.DialogRef }, { token: EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
4248
+ FontFamilyDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: FontFamilyDialogComponent, selector: "ng-component", inputs: { editor: "editor" }, viewQueries: [{ propertyName: "fontFamilyDropDownList", first: true, predicate: ["fontFamilyDropDownList"], descendants: true, read: FontFamilyDropDownListComponent, static: true }], usesInheritance: true, ngImport: i0, template: `
4250
4249
  <kendo-dialog-titlebar (close)="onCancelAction()">
4251
4250
  {{ textFor('fontFamily') }}
4252
4251
  </kendo-dialog-titlebar>
@@ -4271,8 +4270,8 @@ FontFamilyDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
4271
4270
  (click)="onCancelAction()"
4272
4271
  >{{ textFor('dialogCancel') }}</button>
4273
4272
  </kendo-dialog-actions>
4274
- `, isInline: true, components: [{ type: i1$1.DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { type: FontFamilyDropDownListComponent, selector: "kendo-editor-fontfamily-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }, { type: i1$1.DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { type: i4.ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
4275
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FontFamilyDialogComponent, decorators: [{
4273
+ `, isInline: true, dependencies: [{ kind: "component", type: i3.ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: i1$1.DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { kind: "component", type: i1$1.DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { kind: "component", type: FontFamilyDropDownListComponent, selector: "kendo-editor-fontfamily-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }] });
4274
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: FontFamilyDialogComponent, decorators: [{
4276
4275
  type: Component,
4277
4276
  args: [{
4278
4277
  template: `
@@ -4358,8 +4357,8 @@ class PopupTableGridComponent {
4358
4357
  this.tableWizardClick.emit();
4359
4358
  }
4360
4359
  }
4361
- PopupTableGridComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: PopupTableGridComponent, deps: [{ token: EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
4362
- PopupTableGridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: PopupTableGridComponent, selector: "kendo-popup-table-grid", outputs: { cellClick: "cellClick", tableWizardClick: "tableWizardClick" }, ngImport: i0, template: `
4360
+ PopupTableGridComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: PopupTableGridComponent, deps: [{ token: EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
4361
+ PopupTableGridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: PopupTableGridComponent, selector: "kendo-popup-table-grid", outputs: { cellClick: "cellClick", tableWizardClick: "tableWizardClick" }, ngImport: i0, template: `
4363
4362
  <div [style.border-color]="'inherit'" (mouseleave)="resetState()" (click)="insertTable()">
4364
4363
  <span *ngFor="let i of cells"
4365
4364
  class="k-ct-cell"
@@ -4374,8 +4373,8 @@ PopupTableGridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
4374
4373
  <button type="button" kendoButton class="k-tool" [icon]="'table-wizard'" [svgIcon]="tableWizardIcon" (click)="openTableWizard()" title="Table Wizard">Table Wizard</button>
4375
4374
  </div>
4376
4375
  -->
4377
- `, isInline: true, directives: [{ type: i3$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
4378
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: PopupTableGridComponent, decorators: [{
4376
+ `, isInline: true, dependencies: [{ kind: "directive", type: i5.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
4377
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: PopupTableGridComponent, decorators: [{
4379
4378
  type: Component,
4380
4379
  args: [{
4381
4380
  selector: 'kendo-popup-table-grid',
@@ -4427,8 +4426,8 @@ class InsertTableDialogComponent extends DialogContentBase {
4427
4426
  return this.localization.get(key);
4428
4427
  }
4429
4428
  }
4430
- InsertTableDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: InsertTableDialogComponent, deps: [{ token: i1$1.DialogRef }, { token: EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
4431
- InsertTableDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: InsertTableDialogComponent, selector: "ng-component", inputs: { editor: "editor" }, usesInheritance: true, ngImport: i0, template: `
4429
+ InsertTableDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: InsertTableDialogComponent, deps: [{ token: i1$1.DialogRef }, { token: EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
4430
+ InsertTableDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: InsertTableDialogComponent, selector: "ng-component", inputs: { editor: "editor" }, usesInheritance: true, ngImport: i0, template: `
4432
4431
  <kendo-dialog-titlebar (close)="onCancelAction()">
4433
4432
  {{ textFor('insertTable') }}
4434
4433
  </kendo-dialog-titlebar>
@@ -4441,8 +4440,8 @@ InsertTableDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
4441
4440
  (click)="onCancelAction()"
4442
4441
  >{{ textFor('dialogCancel') }}</button>
4443
4442
  </kendo-dialog-actions>
4444
- `, isInline: true, components: [{ type: i1$1.DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { type: PopupTableGridComponent, selector: "kendo-popup-table-grid", outputs: ["cellClick", "tableWizardClick"] }, { type: i1$1.DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { type: i4.ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
4445
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: InsertTableDialogComponent, decorators: [{
4443
+ `, isInline: true, dependencies: [{ kind: "component", type: i3.ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: i1$1.DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { kind: "component", type: i1$1.DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { kind: "component", type: PopupTableGridComponent, selector: "kendo-popup-table-grid", outputs: ["cellClick", "tableWizardClick"] }] });
4444
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: InsertTableDialogComponent, decorators: [{
4446
4445
  type: Component,
4447
4446
  args: [{
4448
4447
  template: `
@@ -4478,8 +4477,8 @@ class FontSizeDropDownListComponent {
4478
4477
  this.dropDownList.focus();
4479
4478
  }
4480
4479
  }
4481
- FontSizeDropDownListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FontSizeDropDownListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
4482
- FontSizeDropDownListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: FontSizeDropDownListComponent, selector: "kendo-editor-fontsize-dropdownlist", inputs: { data: "data", value: "value", defaultItem: "defaultItem", itemDisabled: "itemDisabled", title: "title", disabled: "disabled", tabindex: "tabindex" }, outputs: { valueChange: "valueChange" }, viewQueries: [{ propertyName: "element", first: true, predicate: ["element"], descendants: true, static: true }, { propertyName: "dropDownList", first: true, predicate: ["element"], descendants: true, read: DropDownListComponent, static: true }], ngImport: i0, template: `
4480
+ FontSizeDropDownListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: FontSizeDropDownListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
4481
+ FontSizeDropDownListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: FontSizeDropDownListComponent, selector: "kendo-editor-fontsize-dropdownlist", inputs: { data: "data", value: "value", defaultItem: "defaultItem", itemDisabled: "itemDisabled", title: "title", disabled: "disabled", tabindex: "tabindex" }, outputs: { valueChange: "valueChange" }, viewQueries: [{ propertyName: "element", first: true, predicate: ["element"], descendants: true, static: true }, { propertyName: "dropDownList", first: true, predicate: ["element"], descendants: true, read: DropDownListComponent, static: true }], ngImport: i0, template: `
4483
4482
  <kendo-dropdownlist
4484
4483
  #element
4485
4484
  kendoEditorDropDownTool
@@ -4497,8 +4496,8 @@ FontSizeDropDownListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "1
4497
4496
  [style.width.em]="13"
4498
4497
  >
4499
4498
  </kendo-dropdownlist>
4500
- `, isInline: true, components: [{ type: i1$2.DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["customIconClass", "showStickyHeader", "icon", "svgIcon", "loading", "data", "value", "textField", "valueField", "adaptiveMode", "title", "subtitle", "popupSettings", "listHeight", "defaultItem", "disabled", "itemDisabled", "readonly", "filterable", "virtual", "ignoreCase", "delay", "valuePrimitive", "tabindex", "tabIndex", "size", "rounded", "fillMode", "leftRightArrowsNavigation", "id"], outputs: ["valueChange", "filterChange", "selectionChange", "open", "opened", "close", "closed", "focus", "blur"], exportAs: ["kendoDropDownList"] }], directives: [{ type: DropDownToolDirective, selector: "[kendoEditorDropDownTool]" }] });
4501
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FontSizeDropDownListComponent, decorators: [{
4499
+ `, isInline: true, dependencies: [{ kind: "component", type: i2.DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["customIconClass", "showStickyHeader", "icon", "svgIcon", "loading", "data", "value", "textField", "valueField", "adaptiveMode", "title", "subtitle", "popupSettings", "listHeight", "defaultItem", "disabled", "itemDisabled", "readonly", "filterable", "virtual", "ignoreCase", "delay", "valuePrimitive", "tabindex", "tabIndex", "size", "rounded", "fillMode", "leftRightArrowsNavigation", "id"], outputs: ["valueChange", "filterChange", "selectionChange", "open", "opened", "close", "closed", "focus", "blur"], exportAs: ["kendoDropDownList"] }, { kind: "directive", type: DropDownToolDirective, selector: "[kendoEditorDropDownTool]" }] });
4500
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: FontSizeDropDownListComponent, decorators: [{
4502
4501
  type: Component,
4503
4502
  args: [{
4504
4503
  selector: 'kendo-editor-fontsize-dropdownlist',
@@ -4581,8 +4580,8 @@ class FontSizeDialogComponent extends DialogContentBase {
4581
4580
  return this.localization.get(key);
4582
4581
  }
4583
4582
  }
4584
- FontSizeDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FontSizeDialogComponent, deps: [{ token: i1$1.DialogRef }, { token: EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
4585
- FontSizeDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: FontSizeDialogComponent, selector: "ng-component", inputs: { editor: "editor" }, viewQueries: [{ propertyName: "fontSizeDropDownList", first: true, predicate: ["fontSizeDropDownList"], descendants: true, read: FontSizeDropDownListComponent, static: true }], usesInheritance: true, ngImport: i0, template: `
4583
+ FontSizeDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: FontSizeDialogComponent, deps: [{ token: i1$1.DialogRef }, { token: EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
4584
+ FontSizeDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: FontSizeDialogComponent, selector: "ng-component", inputs: { editor: "editor" }, viewQueries: [{ propertyName: "fontSizeDropDownList", first: true, predicate: ["fontSizeDropDownList"], descendants: true, read: FontSizeDropDownListComponent, static: true }], usesInheritance: true, ngImport: i0, template: `
4586
4585
  <kendo-dialog-titlebar (close)="onCancelAction()">
4587
4586
  {{ textFor('fontSize') }}
4588
4587
  </kendo-dialog-titlebar>
@@ -4607,8 +4606,8 @@ FontSizeDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
4607
4606
  (click)="onCancelAction()"
4608
4607
  >{{ textFor('dialogCancel') }}</button>
4609
4608
  </kendo-dialog-actions>
4610
- `, isInline: true, components: [{ type: i1$1.DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { type: FontSizeDropDownListComponent, selector: "kendo-editor-fontsize-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }, { type: i1$1.DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { type: i4.ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
4611
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FontSizeDialogComponent, decorators: [{
4609
+ `, isInline: true, dependencies: [{ kind: "component", type: i3.ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: i1$1.DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { kind: "component", type: i1$1.DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { kind: "component", type: FontSizeDropDownListComponent, selector: "kendo-editor-fontsize-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }] });
4610
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: FontSizeDialogComponent, decorators: [{
4612
4611
  type: Component,
4613
4612
  args: [{
4614
4613
  template: `
@@ -4789,8 +4788,8 @@ class EditorFontSizeComponent extends ToolBarToolComponent {
4789
4788
  return false;
4790
4789
  }
4791
4790
  }
4792
- EditorFontSizeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorFontSizeComponent, deps: [{ token: i1$1.DialogService }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
4793
- EditorFontSizeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: EditorFontSizeComponent, selector: "kendo-toolbar-dropdownlist[kendoEditorFontSize]", inputs: { data: "data" }, outputs: { valueChange: "valueChange" }, providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => EditorFontSizeComponent) }], viewQueries: [{ propertyName: "toolbarTemplate", first: true, predicate: ["toolbarTemplate"], descendants: true, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }, { propertyName: "element", first: true, predicate: ["element"], descendants: true }, { propertyName: "fontSizeDropDownList", first: true, predicate: ["element"], descendants: true, read: FontSizeDropDownListComponent }, { propertyName: "fontSizeButton", first: true, predicate: ["fontSizeButton"], descendants: true, read: ElementRef }], usesInheritance: true, ngImport: i0, template: `
4791
+ EditorFontSizeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorFontSizeComponent, deps: [{ token: i1$1.DialogService }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
4792
+ EditorFontSizeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: EditorFontSizeComponent, selector: "kendo-toolbar-dropdownlist[kendoEditorFontSize]", inputs: { data: "data" }, outputs: { valueChange: "valueChange" }, providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => EditorFontSizeComponent) }], viewQueries: [{ propertyName: "toolbarTemplate", first: true, predicate: ["toolbarTemplate"], descendants: true, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }, { propertyName: "element", first: true, predicate: ["element"], descendants: true }, { propertyName: "fontSizeDropDownList", first: true, predicate: ["element"], descendants: true, read: FontSizeDropDownListComponent }, { propertyName: "fontSizeButton", first: true, predicate: ["fontSizeButton"], descendants: true, read: ElementRef }], usesInheritance: true, ngImport: i0, template: `
4794
4793
  <ng-template #toolbarTemplate>
4795
4794
  <kendo-editor-fontsize-dropdownlist
4796
4795
  #element
@@ -4820,8 +4819,8 @@ EditorFontSizeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
4820
4819
  </span>
4821
4820
  </div>
4822
4821
  </ng-template>
4823
- `, isInline: true, components: [{ type: FontSizeDropDownListComponent, selector: "kendo-editor-fontsize-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }, { type: i6$1.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: i3$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
4824
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorFontSizeComponent, decorators: [{
4822
+ `, isInline: true, dependencies: [{ kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i6$1.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "component", type: FontSizeDropDownListComponent, selector: "kendo-editor-fontsize-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }] });
4823
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorFontSizeComponent, decorators: [{
4825
4824
  type: Component,
4826
4825
  args: [{
4827
4826
  providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => EditorFontSizeComponent) }],
@@ -5017,8 +5016,8 @@ class EditorFontFamilyComponent extends ToolBarToolComponent {
5017
5016
  return false;
5018
5017
  }
5019
5018
  }
5020
- EditorFontFamilyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorFontFamilyComponent, deps: [{ token: i1$1.DialogService }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
5021
- EditorFontFamilyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: EditorFontFamilyComponent, selector: "kendo-toolbar-dropdownlist[kendoEditorFontFamily]", inputs: { data: "data" }, outputs: { valueChange: "valueChange" }, providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => EditorFontFamilyComponent) }], viewQueries: [{ propertyName: "toolbarTemplate", first: true, predicate: ["toolbarTemplate"], descendants: true, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }, { propertyName: "element", first: true, predicate: ["element"], descendants: true }, { propertyName: "fontFamilyDropDownList", first: true, predicate: ["element"], descendants: true, read: FontFamilyDropDownListComponent }, { propertyName: "fontFamilyButton", first: true, predicate: ["fontFamilyButton"], descendants: true, read: ElementRef }], usesInheritance: true, ngImport: i0, template: `
5019
+ EditorFontFamilyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorFontFamilyComponent, deps: [{ token: i1$1.DialogService }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
5020
+ EditorFontFamilyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: EditorFontFamilyComponent, selector: "kendo-toolbar-dropdownlist[kendoEditorFontFamily]", inputs: { data: "data" }, outputs: { valueChange: "valueChange" }, providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => EditorFontFamilyComponent) }], viewQueries: [{ propertyName: "toolbarTemplate", first: true, predicate: ["toolbarTemplate"], descendants: true, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }, { propertyName: "element", first: true, predicate: ["element"], descendants: true }, { propertyName: "fontFamilyDropDownList", first: true, predicate: ["element"], descendants: true, read: FontFamilyDropDownListComponent }, { propertyName: "fontFamilyButton", first: true, predicate: ["fontFamilyButton"], descendants: true, read: ElementRef }], usesInheritance: true, ngImport: i0, template: `
5022
5021
  <ng-template #toolbarTemplate>
5023
5022
  <kendo-editor-fontfamily-dropdownlist
5024
5023
  #element
@@ -5048,8 +5047,8 @@ EditorFontFamilyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
5048
5047
  </span>
5049
5048
  </div>
5050
5049
  </ng-template>
5051
- `, isInline: true, components: [{ type: FontFamilyDropDownListComponent, selector: "kendo-editor-fontfamily-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }, { type: i6$1.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: i3$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
5052
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorFontFamilyComponent, decorators: [{
5050
+ `, isInline: true, dependencies: [{ kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i6$1.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "component", type: FontFamilyDropDownListComponent, selector: "kendo-editor-fontfamily-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }] });
5051
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorFontFamilyComponent, decorators: [{
5053
5052
  type: Component,
5054
5053
  args: [{
5055
5054
  providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => EditorFontFamilyComponent) }],
@@ -5108,6 +5107,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
5108
5107
  }] } });
5109
5108
 
5110
5109
  /* eslint-disable @typescript-eslint/no-explicit-any */
5110
+ // eslint-disable no-forward-ref
5111
5111
  /**
5112
5112
  * A component which configures an existing ColorPickerComponent as a ToolBar tool.
5113
5113
  * To associate a `kendo-toolbar-colorpicker` with an Editor command that changes the
@@ -5270,8 +5270,8 @@ class EditorColorPickerComponent extends ToolBarToolComponent {
5270
5270
  return false;
5271
5271
  }
5272
5272
  }
5273
- EditorColorPickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorColorPickerComponent, deps: [{ token: EditorLocalizationService }, { token: i1$1.DialogService }, { token: i0.NgZone }, { token: ProviderService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
5274
- EditorColorPickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: EditorColorPickerComponent, selector: "kendo-toolbar-colorpicker", inputs: { value: "value", icon: "icon", svgIcon: "svgIcon", paletteSettings: "paletteSettings", editorCommand: "editorCommand", disabled: "disabled", views: "views", view: "view" }, providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => EditorColorPickerComponent) }], viewQueries: [{ propertyName: "toolbarTemplate", first: true, predicate: ["toolbarTemplate"], descendants: true, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }, { propertyName: "element", first: true, predicate: ["colorpicker"], descendants: true, read: ElementRef }, { propertyName: "colorPicker", first: true, predicate: ["colorpicker"], descendants: true, read: ColorPickerComponent }, { propertyName: "colorPickerButton", first: true, predicate: ["colorPickerButton"], descendants: true, read: ElementRef }], usesInheritance: true, ngImport: i0, template: `
5273
+ EditorColorPickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorColorPickerComponent, deps: [{ token: EditorLocalizationService }, { token: i1$1.DialogService }, { token: i0.NgZone }, { token: ProviderService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
5274
+ EditorColorPickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: EditorColorPickerComponent, selector: "kendo-toolbar-colorpicker", inputs: { value: "value", icon: "icon", svgIcon: "svgIcon", paletteSettings: "paletteSettings", editorCommand: "editorCommand", disabled: "disabled", views: "views", view: "view" }, providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => EditorColorPickerComponent) }], viewQueries: [{ propertyName: "toolbarTemplate", first: true, predicate: ["toolbarTemplate"], descendants: true, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }, { propertyName: "element", first: true, predicate: ["colorpicker"], descendants: true, read: ElementRef }, { propertyName: "colorPicker", first: true, predicate: ["colorpicker"], descendants: true, read: ColorPickerComponent }, { propertyName: "colorPickerButton", first: true, predicate: ["colorPickerButton"], descendants: true, read: ElementRef }], usesInheritance: true, ngImport: i0, template: `
5275
5275
  <ng-template #toolbarTemplate>
5276
5276
  <kendo-colorpicker
5277
5277
  #colorpicker
@@ -5312,8 +5312,8 @@ EditorColorPickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
5312
5312
  </span>
5313
5313
  </div>
5314
5314
  </ng-template>
5315
- `, isInline: true, components: [{ type: i3.ColorPickerComponent, selector: "kendo-colorpicker", inputs: ["views", "view", "activeView", "readonly", "disabled", "format", "value", "popupSettings", "paletteSettings", "gradientSettings", "icon", "iconClass", "svgIcon", "clearButton", "tabindex", "preview", "actionsLayout", "size", "rounded", "fillMode"], outputs: ["valueChange", "open", "close", "focus", "blur", "cancel", "activeColorClick", "clearButtonClick", "activeViewChange"], exportAs: ["kendoColorPicker"] }, { type: i6$1.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: i3$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
5316
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorColorPickerComponent, decorators: [{
5315
+ `, isInline: true, dependencies: [{ kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i6.ColorPickerComponent, selector: "kendo-colorpicker", inputs: ["views", "view", "activeView", "readonly", "disabled", "format", "value", "popupSettings", "paletteSettings", "gradientSettings", "icon", "iconClass", "svgIcon", "clearButton", "tabindex", "preview", "actionsLayout", "size", "rounded", "fillMode"], outputs: ["valueChange", "open", "close", "focus", "blur", "cancel", "activeColorClick", "clearButtonClick", "activeViewChange"], exportAs: ["kendoColorPicker"] }, { kind: "component", type: i6$1.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }] });
5316
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorColorPickerComponent, decorators: [{
5317
5317
  type: Component,
5318
5318
  args: [{
5319
5319
  providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => EditorColorPickerComponent) }],
@@ -5536,8 +5536,8 @@ class EditorInsertTableButtonComponent extends ToolBarToolComponent {
5536
5536
  return (this.overflows ? this.overflowElement : this.element).nativeElement;
5537
5537
  }
5538
5538
  }
5539
- EditorInsertTableButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorInsertTableButtonComponent, deps: [{ token: EditorLocalizationService }, { token: i2.PopupService }, { token: i1$1.DialogService }, { token: ProviderService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
5540
- EditorInsertTableButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: EditorInsertTableButtonComponent, selector: "kendo-editor-insert-table-button", providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => EditorInsertTableButtonComponent) }], viewQueries: [{ propertyName: "toolbarTemplate", first: true, predicate: ["toolbarTemplate"], descendants: true, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true }, { propertyName: "element", first: true, predicate: ["element"], descendants: true, read: ElementRef }, { propertyName: "overflowElement", first: true, predicate: ["overflowElement"], descendants: true, read: ElementRef }, { propertyName: "popupGridTemplate", first: true, predicate: ["popupGridTemplate"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `
5539
+ EditorInsertTableButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorInsertTableButtonComponent, deps: [{ token: EditorLocalizationService }, { token: i2$1.PopupService }, { token: i1$1.DialogService }, { token: ProviderService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
5540
+ EditorInsertTableButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: EditorInsertTableButtonComponent, selector: "kendo-editor-insert-table-button", providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => EditorInsertTableButtonComponent) }], viewQueries: [{ propertyName: "toolbarTemplate", first: true, predicate: ["toolbarTemplate"], descendants: true, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true }, { propertyName: "element", first: true, predicate: ["element"], descendants: true, read: ElementRef }, { propertyName: "overflowElement", first: true, predicate: ["overflowElement"], descendants: true, read: ElementRef }, { propertyName: "popupGridTemplate", first: true, predicate: ["popupGridTemplate"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `
5541
5541
  <ng-template #toolbarTemplate>
5542
5542
  <button
5543
5543
  type="button"
@@ -5569,8 +5569,8 @@ EditorInsertTableButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion:
5569
5569
  <ng-template #popupGridTemplate>
5570
5570
  <kendo-popup-table-grid (cellClick)="onCellClick($event)" (tableWizardClick)="onTableWizardClick()"></kendo-popup-table-grid>
5571
5571
  </ng-template>
5572
- `, isInline: true, components: [{ type: i4.ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { type: i6$1.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { type: PopupTableGridComponent, selector: "kendo-popup-table-grid", outputs: ["cellClick", "tableWizardClick"] }], directives: [{ type: i3$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
5573
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorInsertTableButtonComponent, decorators: [{
5572
+ `, isInline: true, dependencies: [{ kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3.ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: i6$1.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "component", type: PopupTableGridComponent, selector: "kendo-popup-table-grid", outputs: ["cellClick", "tableWizardClick"] }] });
5573
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorInsertTableButtonComponent, decorators: [{
5574
5574
  type: Component,
5575
5575
  args: [{
5576
5576
  providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => EditorInsertTableButtonComponent) }],
@@ -5609,7 +5609,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
5609
5609
  </ng-template>
5610
5610
  `
5611
5611
  }]
5612
- }], ctorParameters: function () { return [{ type: EditorLocalizationService }, { type: i2.PopupService }, { type: i1$1.DialogService }, { type: ProviderService }, { type: i0.Renderer2 }]; }, propDecorators: { toolbarTemplate: [{
5612
+ }], ctorParameters: function () { return [{ type: EditorLocalizationService }, { type: i2$1.PopupService }, { type: i1$1.DialogService }, { type: ProviderService }, { type: i0.Renderer2 }]; }, propDecorators: { toolbarTemplate: [{
5613
5613
  type: ViewChild,
5614
5614
  args: ['toolbarTemplate', { static: true }]
5615
5615
  }], popupTemplate: [{
@@ -5641,14 +5641,14 @@ class EditorBlockquoteDirective extends EditorCommandButton {
5641
5641
  super('blockquote', button, localization, providerService, toolsService);
5642
5642
  }
5643
5643
  }
5644
- EditorBlockquoteDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorBlockquoteDirective, deps: [{ token: i1$3.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
5645
- EditorBlockquoteDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: EditorBlockquoteDirective, selector: "kendo-toolbar-button[kendoEditorBlockquoteButton]", usesInheritance: true, ngImport: i0 });
5646
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorBlockquoteDirective, decorators: [{
5644
+ EditorBlockquoteDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorBlockquoteDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
5645
+ EditorBlockquoteDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: EditorBlockquoteDirective, selector: "kendo-toolbar-button[kendoEditorBlockquoteButton]", usesInheritance: true, ngImport: i0 });
5646
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorBlockquoteDirective, decorators: [{
5647
5647
  type: Directive,
5648
5648
  args: [{
5649
5649
  selector: 'kendo-toolbar-button[kendoEditorBlockquoteButton]'
5650
5650
  }]
5651
- }], ctorParameters: function () { return [{ type: i1$3.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
5651
+ }], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
5652
5652
 
5653
5653
  /**
5654
5654
  * A directive which configures an existing `ToolBarButtonComponent` as an Editor **Redo** tool
@@ -5666,14 +5666,14 @@ class EditorRedoButtonDirective extends EditorCommandButton {
5666
5666
  super('redo', button, localization, providerService, toolsService);
5667
5667
  }
5668
5668
  }
5669
- EditorRedoButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorRedoButtonDirective, deps: [{ token: i1$3.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
5670
- EditorRedoButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: EditorRedoButtonDirective, selector: "kendo-toolbar-button[kendoEditorRedoButton]", usesInheritance: true, ngImport: i0 });
5671
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorRedoButtonDirective, decorators: [{
5669
+ EditorRedoButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorRedoButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
5670
+ EditorRedoButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: EditorRedoButtonDirective, selector: "kendo-toolbar-button[kendoEditorRedoButton]", usesInheritance: true, ngImport: i0 });
5671
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorRedoButtonDirective, decorators: [{
5672
5672
  type: Directive,
5673
5673
  args: [{
5674
5674
  selector: 'kendo-toolbar-button[kendoEditorRedoButton]'
5675
5675
  }]
5676
- }], ctorParameters: function () { return [{ type: i1$3.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
5676
+ }], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
5677
5677
 
5678
5678
  /**
5679
5679
  * A directive which configures an existing `ToolBarButtonComponent` as an Editor **Undo** tool
@@ -5691,14 +5691,14 @@ class EditorUndoButtonDirective extends EditorCommandButton {
5691
5691
  super('undo', button, localization, providerService, toolsService);
5692
5692
  }
5693
5693
  }
5694
- EditorUndoButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorUndoButtonDirective, deps: [{ token: i1$3.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
5695
- EditorUndoButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: EditorUndoButtonDirective, selector: "kendo-toolbar-button[kendoEditorUndoButton]", usesInheritance: true, ngImport: i0 });
5696
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorUndoButtonDirective, decorators: [{
5694
+ EditorUndoButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorUndoButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
5695
+ EditorUndoButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: EditorUndoButtonDirective, selector: "kendo-toolbar-button[kendoEditorUndoButton]", usesInheritance: true, ngImport: i0 });
5696
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorUndoButtonDirective, decorators: [{
5697
5697
  type: Directive,
5698
5698
  args: [{
5699
5699
  selector: 'kendo-toolbar-button[kendoEditorUndoButton]'
5700
5700
  }]
5701
- }], ctorParameters: function () { return [{ type: i1$3.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
5701
+ }], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
5702
5702
 
5703
5703
  /**
5704
5704
  * A directive which configures an existing `ToolBarButtonComponent` as an Editor **ViewSource** tool
@@ -5715,14 +5715,14 @@ class EditorViewSourceButtonDirective extends EditorCommandDialog {
5715
5715
  super('viewSource', button, localization, providerService, toolsService);
5716
5716
  }
5717
5717
  }
5718
- EditorViewSourceButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorViewSourceButtonDirective, deps: [{ token: i1$3.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
5719
- EditorViewSourceButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: EditorViewSourceButtonDirective, selector: "kendo-toolbar-button[kendoEditorViewSourceButton]", usesInheritance: true, ngImport: i0 });
5720
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorViewSourceButtonDirective, decorators: [{
5718
+ EditorViewSourceButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorViewSourceButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
5719
+ EditorViewSourceButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: EditorViewSourceButtonDirective, selector: "kendo-toolbar-button[kendoEditorViewSourceButton]", usesInheritance: true, ngImport: i0 });
5720
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorViewSourceButtonDirective, decorators: [{
5721
5721
  type: Directive,
5722
5722
  args: [{
5723
5723
  selector: 'kendo-toolbar-button[kendoEditorViewSourceButton]'
5724
5724
  }]
5725
- }], ctorParameters: function () { return [{ type: i1$3.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
5725
+ }], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
5726
5726
 
5727
5727
  /**
5728
5728
  * A directive which configures an existing `ToolBarButtonComponent` as an Editor **Strikethrough** tool
@@ -5740,14 +5740,14 @@ class EditorStrikethroughButtonDirective extends EditorCommandButton {
5740
5740
  super('strikethrough', button, localization, providerService, toolsService);
5741
5741
  }
5742
5742
  }
5743
- EditorStrikethroughButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorStrikethroughButtonDirective, deps: [{ token: i1$3.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
5744
- EditorStrikethroughButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: EditorStrikethroughButtonDirective, selector: "kendo-toolbar-button[kendoEditorStrikethroughButton]", usesInheritance: true, ngImport: i0 });
5745
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorStrikethroughButtonDirective, decorators: [{
5743
+ EditorStrikethroughButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorStrikethroughButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
5744
+ EditorStrikethroughButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: EditorStrikethroughButtonDirective, selector: "kendo-toolbar-button[kendoEditorStrikethroughButton]", usesInheritance: true, ngImport: i0 });
5745
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorStrikethroughButtonDirective, decorators: [{
5746
5746
  type: Directive,
5747
5747
  args: [{
5748
5748
  selector: 'kendo-toolbar-button[kendoEditorStrikethroughButton]'
5749
5749
  }]
5750
- }], ctorParameters: function () { return [{ type: i1$3.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
5750
+ }], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
5751
5751
 
5752
5752
  /**
5753
5753
  * A directive which configures an existing `ToolBarButtonComponent` as an Editor **Subscript** tool
@@ -5765,14 +5765,14 @@ class EditorSubscriptButtonDirective extends EditorCommandButton {
5765
5765
  super('subscript', button, localization, providerService, toolsService);
5766
5766
  }
5767
5767
  }
5768
- EditorSubscriptButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorSubscriptButtonDirective, deps: [{ token: i1$3.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
5769
- EditorSubscriptButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: EditorSubscriptButtonDirective, selector: "kendo-toolbar-button[kendoEditorSubscriptButton]", usesInheritance: true, ngImport: i0 });
5770
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorSubscriptButtonDirective, decorators: [{
5768
+ EditorSubscriptButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorSubscriptButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
5769
+ EditorSubscriptButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: EditorSubscriptButtonDirective, selector: "kendo-toolbar-button[kendoEditorSubscriptButton]", usesInheritance: true, ngImport: i0 });
5770
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorSubscriptButtonDirective, decorators: [{
5771
5771
  type: Directive,
5772
5772
  args: [{
5773
5773
  selector: 'kendo-toolbar-button[kendoEditorSubscriptButton]'
5774
5774
  }]
5775
- }], ctorParameters: function () { return [{ type: i1$3.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
5775
+ }], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
5776
5776
 
5777
5777
  /**
5778
5778
  * A directive which configures an existing `ToolBarButtonComponent` as an Editor **Superscript** tool
@@ -5790,14 +5790,14 @@ class EditorSuperscriptButtonDirective extends EditorCommandButton {
5790
5790
  super('superscript', button, localization, providerService, toolsService);
5791
5791
  }
5792
5792
  }
5793
- EditorSuperscriptButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorSuperscriptButtonDirective, deps: [{ token: i1$3.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
5794
- EditorSuperscriptButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: EditorSuperscriptButtonDirective, selector: "kendo-toolbar-button[kendoEditorSuperscriptButton]", usesInheritance: true, ngImport: i0 });
5795
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorSuperscriptButtonDirective, decorators: [{
5793
+ EditorSuperscriptButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorSuperscriptButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
5794
+ EditorSuperscriptButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: EditorSuperscriptButtonDirective, selector: "kendo-toolbar-button[kendoEditorSuperscriptButton]", usesInheritance: true, ngImport: i0 });
5795
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorSuperscriptButtonDirective, decorators: [{
5796
5796
  type: Directive,
5797
5797
  args: [{
5798
5798
  selector: 'kendo-toolbar-button[kendoEditorSuperscriptButton]'
5799
5799
  }]
5800
- }], ctorParameters: function () { return [{ type: i1$3.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
5800
+ }], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
5801
5801
 
5802
5802
  /**
5803
5803
  * A directive which configures an existing `ToolBarButtonComponent` as an Editor **Insert File** tool
@@ -5814,14 +5814,14 @@ class EditorInsertFileButtonDirective extends EditorCommandDialog {
5814
5814
  super('insertFile', button, localization, providerService, toolsService);
5815
5815
  }
5816
5816
  }
5817
- EditorInsertFileButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorInsertFileButtonDirective, deps: [{ token: i1$3.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
5818
- EditorInsertFileButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: EditorInsertFileButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertFileButton]", usesInheritance: true, ngImport: i0 });
5819
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorInsertFileButtonDirective, decorators: [{
5817
+ EditorInsertFileButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorInsertFileButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
5818
+ EditorInsertFileButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: EditorInsertFileButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertFileButton]", usesInheritance: true, ngImport: i0 });
5819
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorInsertFileButtonDirective, decorators: [{
5820
5820
  type: Directive,
5821
5821
  args: [{
5822
5822
  selector: 'kendo-toolbar-button[kendoEditorInsertFileButton]'
5823
5823
  }]
5824
- }], ctorParameters: function () { return [{ type: i1$3.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
5824
+ }], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
5825
5825
 
5826
5826
  /**
5827
5827
  * A directive which configures an `EditorColorPickerComponent`
@@ -5840,9 +5840,9 @@ class EditorForeColorDirective {
5840
5840
  this.colorPicker.editorCommand = 'foreColor';
5841
5841
  }
5842
5842
  }
5843
- EditorForeColorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorForeColorDirective, deps: [{ token: EditorColorPickerComponent }], target: i0.ɵɵFactoryTarget.Directive });
5844
- EditorForeColorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: EditorForeColorDirective, selector: "[kendoEditorForeColor]", ngImport: i0 });
5845
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorForeColorDirective, decorators: [{
5843
+ EditorForeColorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorForeColorDirective, deps: [{ token: EditorColorPickerComponent }], target: i0.ɵɵFactoryTarget.Directive });
5844
+ EditorForeColorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: EditorForeColorDirective, selector: "[kendoEditorForeColor]", ngImport: i0 });
5845
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorForeColorDirective, decorators: [{
5846
5846
  type: Directive,
5847
5847
  args: [{
5848
5848
  selector: '[kendoEditorForeColor]'
@@ -5866,9 +5866,9 @@ class EditorBackColorDirective {
5866
5866
  this.colorPicker.editorCommand = 'backColor';
5867
5867
  }
5868
5868
  }
5869
- EditorBackColorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorBackColorDirective, deps: [{ token: EditorColorPickerComponent }], target: i0.ɵɵFactoryTarget.Directive });
5870
- EditorBackColorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: EditorBackColorDirective, selector: "[kendoEditorBackColor]", ngImport: i0 });
5871
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorBackColorDirective, decorators: [{
5869
+ EditorBackColorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorBackColorDirective, deps: [{ token: EditorColorPickerComponent }], target: i0.ɵɵFactoryTarget.Directive });
5870
+ EditorBackColorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: EditorBackColorDirective, selector: "[kendoEditorBackColor]", ngImport: i0 });
5871
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorBackColorDirective, decorators: [{
5872
5872
  type: Directive,
5873
5873
  args: [{
5874
5874
  selector: '[kendoEditorBackColor]'
@@ -5890,14 +5890,14 @@ class EditorCleanFormattingButtonDirective extends EditorCommandButton {
5890
5890
  super('cleanFormatting', button, localization, providerService, toolsService);
5891
5891
  }
5892
5892
  }
5893
- EditorCleanFormattingButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorCleanFormattingButtonDirective, deps: [{ token: i1$3.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
5894
- EditorCleanFormattingButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: EditorCleanFormattingButtonDirective, selector: "kendo-toolbar-button[kendoEditorCleanFormattingButton]", usesInheritance: true, ngImport: i0 });
5895
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorCleanFormattingButtonDirective, decorators: [{
5893
+ EditorCleanFormattingButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorCleanFormattingButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
5894
+ EditorCleanFormattingButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: EditorCleanFormattingButtonDirective, selector: "kendo-toolbar-button[kendoEditorCleanFormattingButton]", usesInheritance: true, ngImport: i0 });
5895
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorCleanFormattingButtonDirective, decorators: [{
5896
5896
  type: Directive,
5897
5897
  args: [{
5898
5898
  selector: 'kendo-toolbar-button[kendoEditorCleanFormattingButton]'
5899
5899
  }]
5900
- }], ctorParameters: function () { return [{ type: i1$3.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
5900
+ }], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
5901
5901
 
5902
5902
  /**
5903
5903
  * A directive which configures an existing `ToolBarButtonComponent` as an Editor **AddColumnBefore** tool
@@ -5915,14 +5915,14 @@ class EditorAddColumnBeforeButtonDirective extends EditorCommandButton {
5915
5915
  super('addColumnBefore', button, localization, providerService, toolsService);
5916
5916
  }
5917
5917
  }
5918
- EditorAddColumnBeforeButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorAddColumnBeforeButtonDirective, deps: [{ token: i1$3.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
5919
- EditorAddColumnBeforeButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: EditorAddColumnBeforeButtonDirective, selector: "kendo-toolbar-button[kendoEditorAddColumnBeforeButton]", usesInheritance: true, ngImport: i0 });
5920
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorAddColumnBeforeButtonDirective, decorators: [{
5918
+ EditorAddColumnBeforeButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorAddColumnBeforeButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
5919
+ EditorAddColumnBeforeButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: EditorAddColumnBeforeButtonDirective, selector: "kendo-toolbar-button[kendoEditorAddColumnBeforeButton]", usesInheritance: true, ngImport: i0 });
5920
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorAddColumnBeforeButtonDirective, decorators: [{
5921
5921
  type: Directive,
5922
5922
  args: [{
5923
5923
  selector: 'kendo-toolbar-button[kendoEditorAddColumnBeforeButton]'
5924
5924
  }]
5925
- }], ctorParameters: function () { return [{ type: i1$3.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
5925
+ }], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
5926
5926
 
5927
5927
  /**
5928
5928
  * A directive which configures an existing `ToolBarButtonComponent` as an Editor **AddColumnAfter** tool
@@ -5940,14 +5940,14 @@ class EditorAddColumnAfterButtonDirective extends EditorCommandButton {
5940
5940
  super('addColumnAfter', button, localization, providerService, toolsService);
5941
5941
  }
5942
5942
  }
5943
- EditorAddColumnAfterButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorAddColumnAfterButtonDirective, deps: [{ token: i1$3.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
5944
- EditorAddColumnAfterButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: EditorAddColumnAfterButtonDirective, selector: "kendo-toolbar-button[kendoEditorAddColumnAfterButton]", usesInheritance: true, ngImport: i0 });
5945
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorAddColumnAfterButtonDirective, decorators: [{
5943
+ EditorAddColumnAfterButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorAddColumnAfterButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
5944
+ EditorAddColumnAfterButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: EditorAddColumnAfterButtonDirective, selector: "kendo-toolbar-button[kendoEditorAddColumnAfterButton]", usesInheritance: true, ngImport: i0 });
5945
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorAddColumnAfterButtonDirective, decorators: [{
5946
5946
  type: Directive,
5947
5947
  args: [{
5948
5948
  selector: 'kendo-toolbar-button[kendoEditorAddColumnAfterButton]'
5949
5949
  }]
5950
- }], ctorParameters: function () { return [{ type: i1$3.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
5950
+ }], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
5951
5951
 
5952
5952
  /**
5953
5953
  * A directive which configures an existing `ToolBarButtonComponent` as an Editor **AddRowBefore** tool
@@ -5965,14 +5965,14 @@ class EditorAddRowBeforeButtonDirective extends EditorCommandButton {
5965
5965
  super('addRowBefore', button, localization, providerService, toolsService);
5966
5966
  }
5967
5967
  }
5968
- EditorAddRowBeforeButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorAddRowBeforeButtonDirective, deps: [{ token: i1$3.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
5969
- EditorAddRowBeforeButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: EditorAddRowBeforeButtonDirective, selector: "kendo-toolbar-button[kendoEditorAddRowBeforeButton]", usesInheritance: true, ngImport: i0 });
5970
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorAddRowBeforeButtonDirective, decorators: [{
5968
+ EditorAddRowBeforeButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorAddRowBeforeButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
5969
+ EditorAddRowBeforeButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: EditorAddRowBeforeButtonDirective, selector: "kendo-toolbar-button[kendoEditorAddRowBeforeButton]", usesInheritance: true, ngImport: i0 });
5970
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorAddRowBeforeButtonDirective, decorators: [{
5971
5971
  type: Directive,
5972
5972
  args: [{
5973
5973
  selector: 'kendo-toolbar-button[kendoEditorAddRowBeforeButton]'
5974
5974
  }]
5975
- }], ctorParameters: function () { return [{ type: i1$3.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
5975
+ }], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
5976
5976
 
5977
5977
  /**
5978
5978
  * A directive which configures an existing `ToolBarButtonComponent` as an Editor **AddRowAfter** tool
@@ -5990,14 +5990,14 @@ class EditorAddRowAfterButtonDirective extends EditorCommandButton {
5990
5990
  super('addRowAfter', button, localization, providerService, toolsService);
5991
5991
  }
5992
5992
  }
5993
- EditorAddRowAfterButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorAddRowAfterButtonDirective, deps: [{ token: i1$3.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
5994
- EditorAddRowAfterButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: EditorAddRowAfterButtonDirective, selector: "kendo-toolbar-button[kendoEditorAddRowAfterButton]", usesInheritance: true, ngImport: i0 });
5995
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorAddRowAfterButtonDirective, decorators: [{
5993
+ EditorAddRowAfterButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorAddRowAfterButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
5994
+ EditorAddRowAfterButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: EditorAddRowAfterButtonDirective, selector: "kendo-toolbar-button[kendoEditorAddRowAfterButton]", usesInheritance: true, ngImport: i0 });
5995
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorAddRowAfterButtonDirective, decorators: [{
5996
5996
  type: Directive,
5997
5997
  args: [{
5998
5998
  selector: 'kendo-toolbar-button[kendoEditorAddRowAfterButton]'
5999
5999
  }]
6000
- }], ctorParameters: function () { return [{ type: i1$3.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
6000
+ }], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
6001
6001
 
6002
6002
  /**
6003
6003
  * A directive which configures an existing `ToolBarButtonComponent` as an Editor **DeleteColumn** tool
@@ -6015,14 +6015,14 @@ class EditorDeleteColumnButtonDirective extends EditorCommandButton {
6015
6015
  super('deleteColumn', button, localization, providerService, toolsService);
6016
6016
  }
6017
6017
  }
6018
- EditorDeleteColumnButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorDeleteColumnButtonDirective, deps: [{ token: i1$3.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
6019
- EditorDeleteColumnButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: EditorDeleteColumnButtonDirective, selector: "kendo-toolbar-button[kendoEditorDeleteColumnButton]", usesInheritance: true, ngImport: i0 });
6020
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorDeleteColumnButtonDirective, decorators: [{
6018
+ EditorDeleteColumnButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorDeleteColumnButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
6019
+ EditorDeleteColumnButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: EditorDeleteColumnButtonDirective, selector: "kendo-toolbar-button[kendoEditorDeleteColumnButton]", usesInheritance: true, ngImport: i0 });
6020
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorDeleteColumnButtonDirective, decorators: [{
6021
6021
  type: Directive,
6022
6022
  args: [{
6023
6023
  selector: 'kendo-toolbar-button[kendoEditorDeleteColumnButton]'
6024
6024
  }]
6025
- }], ctorParameters: function () { return [{ type: i1$3.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
6025
+ }], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
6026
6026
 
6027
6027
  /**
6028
6028
  * A directive which configures an existing `ToolBarButtonComponent` as an Editor **DeleteRow** tool
@@ -6040,14 +6040,14 @@ class EditorDeleteRowButtonDirective extends EditorCommandButton {
6040
6040
  super('deleteRow', button, localization, providerService, toolsService);
6041
6041
  }
6042
6042
  }
6043
- EditorDeleteRowButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorDeleteRowButtonDirective, deps: [{ token: i1$3.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
6044
- EditorDeleteRowButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: EditorDeleteRowButtonDirective, selector: "kendo-toolbar-button[kendoEditorDeleteRowButton]", usesInheritance: true, ngImport: i0 });
6045
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorDeleteRowButtonDirective, decorators: [{
6043
+ EditorDeleteRowButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorDeleteRowButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
6044
+ EditorDeleteRowButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: EditorDeleteRowButtonDirective, selector: "kendo-toolbar-button[kendoEditorDeleteRowButton]", usesInheritance: true, ngImport: i0 });
6045
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorDeleteRowButtonDirective, decorators: [{
6046
6046
  type: Directive,
6047
6047
  args: [{
6048
6048
  selector: 'kendo-toolbar-button[kendoEditorDeleteRowButton]'
6049
6049
  }]
6050
- }], ctorParameters: function () { return [{ type: i1$3.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
6050
+ }], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
6051
6051
 
6052
6052
  /**
6053
6053
  * A directive which configures an existing `ToolBarButtonComponent` as an Editor **DeleteTable** tool
@@ -6065,14 +6065,14 @@ class EditorDeleteTableButtonDirective extends EditorCommandButton {
6065
6065
  super('deleteTable', button, localization, providerService, toolsService);
6066
6066
  }
6067
6067
  }
6068
- EditorDeleteTableButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorDeleteTableButtonDirective, deps: [{ token: i1$3.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
6069
- EditorDeleteTableButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: EditorDeleteTableButtonDirective, selector: "kendo-toolbar-button[kendoEditorDeleteTableButton]", usesInheritance: true, ngImport: i0 });
6070
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorDeleteTableButtonDirective, decorators: [{
6068
+ EditorDeleteTableButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorDeleteTableButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
6069
+ EditorDeleteTableButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: EditorDeleteTableButtonDirective, selector: "kendo-toolbar-button[kendoEditorDeleteTableButton]", usesInheritance: true, ngImport: i0 });
6070
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorDeleteTableButtonDirective, decorators: [{
6071
6071
  type: Directive,
6072
6072
  args: [{
6073
6073
  selector: 'kendo-toolbar-button[kendoEditorDeleteTableButton]'
6074
6074
  }]
6075
- }], ctorParameters: function () { return [{ type: i1$3.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
6075
+ }], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
6076
6076
 
6077
6077
  /**
6078
6078
  * @hidden
@@ -6092,14 +6092,14 @@ class EditorMergeCellsButtonDirective extends EditorCommandButton {
6092
6092
  super('mergeCells', button, localization, providerService, toolsService);
6093
6093
  }
6094
6094
  }
6095
- EditorMergeCellsButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorMergeCellsButtonDirective, deps: [{ token: i1$3.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
6096
- EditorMergeCellsButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: EditorMergeCellsButtonDirective, selector: "kendo-toolbar-button[kendoEditorMergeCellsButton]", usesInheritance: true, ngImport: i0 });
6097
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorMergeCellsButtonDirective, decorators: [{
6095
+ EditorMergeCellsButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorMergeCellsButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
6096
+ EditorMergeCellsButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: EditorMergeCellsButtonDirective, selector: "kendo-toolbar-button[kendoEditorMergeCellsButton]", usesInheritance: true, ngImport: i0 });
6097
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorMergeCellsButtonDirective, decorators: [{
6098
6098
  type: Directive,
6099
6099
  args: [{
6100
6100
  selector: 'kendo-toolbar-button[kendoEditorMergeCellsButton]'
6101
6101
  }]
6102
- }], ctorParameters: function () { return [{ type: i1$3.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
6102
+ }], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
6103
6103
 
6104
6104
  /**
6105
6105
  * @hidden
@@ -6119,14 +6119,14 @@ class EditorSplitCellButtonDirective extends EditorCommandButton {
6119
6119
  super('splitCell', button, localization, providerService, toolsService);
6120
6120
  }
6121
6121
  }
6122
- EditorSplitCellButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorSplitCellButtonDirective, deps: [{ token: i1$3.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
6123
- EditorSplitCellButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: EditorSplitCellButtonDirective, selector: "kendo-toolbar-button[kendoEditorSplitCellButton]", usesInheritance: true, ngImport: i0 });
6124
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorSplitCellButtonDirective, decorators: [{
6122
+ EditorSplitCellButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorSplitCellButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
6123
+ EditorSplitCellButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: EditorSplitCellButtonDirective, selector: "kendo-toolbar-button[kendoEditorSplitCellButton]", usesInheritance: true, ngImport: i0 });
6124
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorSplitCellButtonDirective, decorators: [{
6125
6125
  type: Directive,
6126
6126
  args: [{
6127
6127
  selector: 'kendo-toolbar-button[kendoEditorSplitCellButton]'
6128
6128
  }]
6129
- }], ctorParameters: function () { return [{ type: i1$3.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
6129
+ }], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
6130
6130
 
6131
6131
  /**
6132
6132
  * Custom component messages override default component messages
@@ -6141,14 +6141,14 @@ class CustomMessagesComponent extends MessagesDirective {
6141
6141
  return true;
6142
6142
  }
6143
6143
  }
6144
- CustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: CustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
6145
- CustomMessagesComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: CustomMessagesComponent, selector: "kendo-editor-messages", providers: [
6144
+ CustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: CustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
6145
+ CustomMessagesComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: CustomMessagesComponent, selector: "kendo-editor-messages", providers: [
6146
6146
  {
6147
6147
  provide: MessagesDirective,
6148
6148
  useExisting: forwardRef(() => CustomMessagesComponent)
6149
6149
  }
6150
6150
  ], usesInheritance: true, ngImport: i0 });
6151
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: CustomMessagesComponent, decorators: [{
6151
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: CustomMessagesComponent, decorators: [{
6152
6152
  type: Directive,
6153
6153
  args: [{
6154
6154
  providers: [
@@ -6197,14 +6197,14 @@ class EditorPrintDirective extends EditorCommandButton {
6197
6197
  }
6198
6198
  }
6199
6199
  }
6200
- EditorPrintDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorPrintDirective, deps: [{ token: i1$3.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
6201
- EditorPrintDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: EditorPrintDirective, selector: "kendo-toolbar-button[kendoEditorPrintButton]", usesInheritance: true, ngImport: i0 });
6202
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorPrintDirective, decorators: [{
6200
+ EditorPrintDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorPrintDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
6201
+ EditorPrintDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: EditorPrintDirective, selector: "kendo-toolbar-button[kendoEditorPrintButton]", usesInheritance: true, ngImport: i0 });
6202
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorPrintDirective, decorators: [{
6203
6203
  type: Directive,
6204
6204
  args: [{
6205
6205
  selector: 'kendo-toolbar-button[kendoEditorPrintButton]'
6206
6206
  }]
6207
- }], ctorParameters: function () { return [{ type: i1$3.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
6207
+ }], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
6208
6208
 
6209
6209
  /**
6210
6210
  * A directive which configures an existing `ToolBarButtonComponent` as an Editor **SelectAll** tool
@@ -6225,14 +6225,14 @@ class EditorSelectAllButtonDirective extends EditorCommandButton {
6225
6225
  super.clickHandler();
6226
6226
  }
6227
6227
  }
6228
- EditorSelectAllButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorSelectAllButtonDirective, deps: [{ token: i1$3.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
6229
- EditorSelectAllButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: EditorSelectAllButtonDirective, selector: "kendo-toolbar-button[kendoEditorSelectAllButton]", usesInheritance: true, ngImport: i0 });
6230
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorSelectAllButtonDirective, decorators: [{
6228
+ EditorSelectAllButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorSelectAllButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
6229
+ EditorSelectAllButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: EditorSelectAllButtonDirective, selector: "kendo-toolbar-button[kendoEditorSelectAllButton]", usesInheritance: true, ngImport: i0 });
6230
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorSelectAllButtonDirective, decorators: [{
6231
6231
  type: Directive,
6232
6232
  args: [{
6233
6233
  selector: 'kendo-toolbar-button[kendoEditorSelectAllButton]'
6234
6234
  }]
6235
- }], ctorParameters: function () { return [{ type: i1$3.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
6235
+ }], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
6236
6236
 
6237
6237
  const COMPONENT_DIRECTIVES = [
6238
6238
  //alignment
@@ -6341,8 +6341,8 @@ const INTERNAL_COMPONENTS = [
6341
6341
  */
6342
6342
  class EditorModule {
6343
6343
  }
6344
- EditorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
6345
- EditorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorModule, declarations: [EditorComponent,
6344
+ EditorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
6345
+ EditorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.4", ngImport: i0, type: EditorModule, declarations: [EditorComponent,
6346
6346
  //alignment
6347
6347
  EditorAlignLeftButtonDirective,
6348
6348
  EditorAlignCenterButtonDirective,
@@ -6504,29 +6504,27 @@ EditorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
6504
6504
  FormatDropDownListComponent,
6505
6505
  FontFamilyDropDownListComponent,
6506
6506
  FontSizeDropDownListComponent] });
6507
- EditorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorModule, imports: [[
6508
- CommonModule,
6509
- FormsModule,
6510
- ReactiveFormsModule,
6511
- //Kendo UI Angular Modules
6512
- ButtonModule,
6513
- ColorPickerModule,
6514
- DialogModule,
6515
- DropDownsModule,
6516
- NumericTextBoxModule,
6517
- CheckBoxModule,
6518
- IconsModule,
6519
- ToolBarModule,
6520
- TextBoxModule,
6521
- TextAreaModule,
6522
- FormFieldModule,
6523
- LabelModule,
6524
- WatermarkModule
6525
- ], ToolBarModule,
6507
+ EditorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorModule, imports: [CommonModule,
6508
+ FormsModule,
6509
+ ReactiveFormsModule,
6510
+ //Kendo UI Angular Modules
6511
+ ButtonModule,
6512
+ ColorPickerModule,
6513
+ DialogModule,
6514
+ DropDownsModule,
6515
+ NumericTextBoxModule,
6516
+ CheckBoxModule,
6517
+ IconsModule,
6518
+ ToolBarModule,
6519
+ TextBoxModule,
6520
+ TextAreaModule,
6521
+ FormFieldModule,
6522
+ LabelModule,
6523
+ WatermarkModule, ToolBarModule,
6526
6524
  ButtonModule,
6527
6525
  FormsModule,
6528
6526
  ReactiveFormsModule] });
6529
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorModule, decorators: [{
6527
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorModule, decorators: [{
6530
6528
  type: NgModule,
6531
6529
  args: [{
6532
6530
  declarations: [
@@ -6576,5 +6574,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
6576
6574
  * Generated bundle index. Do not edit.
6577
6575
  */
6578
6576
 
6579
- 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, EditorMergeCellsButtonDirective, EditorModule, EditorOutdentButtonDirective, EditorPasteEvent, EditorPrintDirective, EditorRedoButtonDirective, EditorSelectAllButtonDirective, EditorSplitCellButtonDirective, EditorStrikethroughButtonDirective, EditorSubscriptButtonDirective, EditorSuperscriptButtonDirective, EditorUnderlineButtonDirective, EditorUndoButtonDirective, EditorUnlinkButtonDirective, EditorViewSourceButtonDirective, FontFamilyDropDownListComponent, FontSizeDropDownListComponent, FormatDropDownListComponent, LocalizedMessagesDirective, PopupTableGridComponent, PreventableEvent, getSelectionText, schema };
6577
+ 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, LocalizedMessagesDirective, PopupTableGridComponent, PreventableEvent, getSelectionText, schema };
6580
6578