@progress/kendo-angular-editor 17.0.0-develop.21 → 17.0.0-develop.22

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 (124) hide show
  1. package/common/commands.d.ts +5 -5
  2. package/common/direction.d.ts +1 -1
  3. package/common/plugins-function.d.ts +1 -1
  4. package/common/predicate.d.ts +1 -1
  5. package/config/utils.d.ts +2 -2
  6. package/dialogs/colorpicker-dialog.component.d.ts +1 -1
  7. package/dialogs/file-link-dialog.component.d.ts +1 -1
  8. package/dialogs/font-family-dialog.component.d.ts +1 -1
  9. package/dialogs/font-size-dialog.component.d.ts +1 -1
  10. package/dialogs/format-dialog.component.d.ts +1 -1
  11. package/dialogs/image-dialog.component.d.ts +1 -1
  12. package/dialogs/insert-table-dialog.component.d.ts +1 -1
  13. package/dialogs/source-dialog.component.d.ts +1 -1
  14. package/editor.component.d.ts +1 -1
  15. package/{esm2020 → esm2022}/common/provider.service.mjs +4 -3
  16. package/{esm2020 → esm2022}/dialogs/colorpicker-dialog.component.mjs +16 -4
  17. package/{esm2020 → esm2022}/dialogs/file-link-dialog.component.mjs +14 -9
  18. package/{esm2020 → esm2022}/dialogs/font-family-dialog.component.mjs +12 -5
  19. package/{esm2020 → esm2022}/dialogs/font-size-dialog.component.mjs +12 -5
  20. package/{esm2020 → esm2022}/dialogs/format-dialog.component.mjs +12 -5
  21. package/{esm2020 → esm2022}/dialogs/image-dialog.component.mjs +28 -20
  22. package/{esm2020 → esm2022}/dialogs/insert-table-dialog.component.mjs +7 -4
  23. package/{esm2020 → esm2022}/dialogs/source-dialog.component.mjs +9 -5
  24. package/{esm2020 → esm2022}/editor.component.mjs +218 -179
  25. package/{esm2020 → esm2022}/editor.module.mjs +4 -4
  26. package/{esm2020 → esm2022}/localization/custom-messages.component.mjs +9 -8
  27. package/{esm2020 → esm2022}/localization/editor-localization.service.mjs +3 -3
  28. package/{esm2020 → esm2022}/localization/localized-messages.directive.mjs +7 -6
  29. package/esm2022/localization/messages.mjs +364 -0
  30. package/{esm2020 → esm2022}/package-metadata.mjs +2 -2
  31. package/{esm2020 → esm2022}/preventable-events/paste-event.mjs +12 -0
  32. package/{esm2020 → esm2022}/preventable-events/preventable-event.mjs +1 -3
  33. package/{esm2020 → esm2022}/tools/alignment/editor-align-center-button.directive.mjs +3 -3
  34. package/{esm2020 → esm2022}/tools/alignment/editor-align-justify-button.directive.mjs +3 -3
  35. package/{esm2020 → esm2022}/tools/alignment/editor-align-left-button.directive.mjs +3 -3
  36. package/{esm2020 → esm2022}/tools/alignment/editor-align-right-button.directive.mjs +3 -3
  37. package/{esm2020 → esm2022}/tools/blockquote/editor-blockquote-button.directive.mjs +3 -3
  38. package/{esm2020 → esm2022}/tools/colorpicker/editor-back-color.directive.mjs +4 -3
  39. package/{esm2020 → esm2022}/tools/colorpicker/editor-colorpicker.component.mjs +59 -33
  40. package/{esm2020 → esm2022}/tools/colorpicker/editor-fore-color.directive.mjs +4 -3
  41. package/{esm2020 → esm2022}/tools/editor-clean-formatting-button.directive.mjs +3 -3
  42. package/{esm2020 → esm2022}/tools/fontfamily/editor-fontfamily-dropdownlist.component.mjs +14 -7
  43. package/{esm2020 → esm2022}/tools/fontfamily/editor-fontfamily.component.mjs +53 -41
  44. package/{esm2020 → esm2022}/tools/fontsize/editor-fontsize-dropdownlist.component.mjs +14 -7
  45. package/{esm2020 → esm2022}/tools/fontsize/editor-fontsize.component.mjs +48 -36
  46. package/{esm2020 → esm2022}/tools/format/editor-format-dropdownlist.component.mjs +14 -7
  47. package/{esm2020 → esm2022}/tools/format/editor-format.component.mjs +41 -36
  48. package/{esm2020 → esm2022}/tools/history/editor-redo-button.directive.mjs +3 -3
  49. package/{esm2020 → esm2022}/tools/history/editor-undo-button.directive.mjs +3 -3
  50. package/{esm2020 → esm2022}/tools/image/editor-insert-image-button.directive.mjs +3 -3
  51. package/{esm2020 → esm2022}/tools/indentation/editor-indent-button.directive.mjs +3 -3
  52. package/{esm2020 → esm2022}/tools/indentation/editor-outdent-button.directive.mjs +3 -3
  53. package/{esm2020 → esm2022}/tools/link/editor-create-link-button.directive.mjs +3 -3
  54. package/{esm2020 → esm2022}/tools/link/editor-insert-file-button.directive.mjs +3 -3
  55. package/{esm2020 → esm2022}/tools/link/editor-unlink-button.directive.mjs +3 -3
  56. package/{esm2020 → esm2022}/tools/list/editor-insert-ordered-list-button.directive.mjs +3 -3
  57. package/{esm2020 → esm2022}/tools/list/editor-insert-unordered-list-button.directive.mjs +3 -3
  58. package/{esm2020 → esm2022}/tools/print/editor-print-button.directive.mjs +3 -3
  59. package/{esm2020 → esm2022}/tools/select-all/select-all-button.directive.mjs +3 -3
  60. package/{esm2020 → esm2022}/tools/shared/dropdown-tool.directive.mjs +11 -9
  61. package/{esm2020 → esm2022}/tools/shared/editor-command-base.mjs +9 -3
  62. package/{esm2020 → esm2022}/tools/shared/editor-command-button.mjs +5 -0
  63. package/{esm2020 → esm2022}/tools/shared/editor-command-dialog.mjs +5 -0
  64. package/{esm2020 → esm2022}/tools/source/editor-view-source-button.directive.mjs +3 -3
  65. package/{esm2020 → esm2022}/tools/tables/editor-add-column-after-button.directive.mjs +3 -3
  66. package/{esm2020 → esm2022}/tools/tables/editor-add-column-before-button.directive.mjs +3 -3
  67. package/{esm2020 → esm2022}/tools/tables/editor-add-row-after-button.directive.mjs +3 -3
  68. package/{esm2020 → esm2022}/tools/tables/editor-add-row-before-button.directive.mjs +3 -3
  69. package/{esm2020 → esm2022}/tools/tables/editor-delete-column-button.directive.mjs +3 -3
  70. package/{esm2020 → esm2022}/tools/tables/editor-delete-row-button.directive.mjs +3 -3
  71. package/{esm2020 → esm2022}/tools/tables/editor-delete-table-button.directive.mjs +3 -3
  72. package/{esm2020 → esm2022}/tools/tables/editor-insert-table-button.component.mjs +26 -15
  73. package/{esm2020 → esm2022}/tools/tables/editor-merge-cells-button.directive.mjs +3 -3
  74. package/{esm2020 → esm2022}/tools/tables/editor-split-cell-button.directive.mjs +3 -3
  75. package/{esm2020 → esm2022}/tools/tables/popup-table-grid.component.mjs +11 -10
  76. package/{esm2020 → esm2022}/tools/tools.service.mjs +5 -4
  77. package/{esm2020 → esm2022}/tools/typographical-emphasis/editor-bold-button.directive.mjs +3 -3
  78. package/{esm2020 → esm2022}/tools/typographical-emphasis/editor-italic-button.directive.mjs +3 -3
  79. package/{esm2020 → esm2022}/tools/typographical-emphasis/editor-strikethrough-button.directive.mjs +3 -3
  80. package/{esm2020 → esm2022}/tools/typographical-emphasis/editor-subscript-button.directive.mjs +3 -3
  81. package/{esm2020 → esm2022}/tools/typographical-emphasis/editor-superscript-button.directive.mjs +3 -3
  82. package/{esm2020 → esm2022}/tools/typographical-emphasis/editor-underline-button.directive.mjs +3 -3
  83. package/{fesm2020 → fesm2022}/progress-kendo-angular-editor.mjs +1027 -581
  84. package/localization/messages.d.ts +1 -1
  85. package/package.json +23 -29
  86. package/schematics/ngAdd/index.js +4 -4
  87. package/tools/colorpicker/editor-colorpicker.component.d.ts +2 -4
  88. package/tools/fontfamily/editor-fontfamily-dropdownlist.component.d.ts +1 -1
  89. package/tools/fontfamily/editor-fontfamily.component.d.ts +2 -4
  90. package/tools/fontsize/editor-fontsize-dropdownlist.component.d.ts +1 -1
  91. package/tools/fontsize/editor-fontsize.component.d.ts +2 -4
  92. package/tools/format/editor-format-dropdownlist.component.d.ts +1 -1
  93. package/tools/format/editor-format.component.d.ts +2 -4
  94. package/tools/tables/editor-insert-table-button.component.d.ts +0 -2
  95. package/esm2020/localization/messages.mjs +0 -132
  96. package/fesm2015/progress-kendo-angular-editor.mjs +0 -6406
  97. /package/{esm2020 → esm2022}/common/active-marks.mjs +0 -0
  98. /package/{esm2020 → esm2022}/common/apply-to-word-options.mjs +0 -0
  99. /package/{esm2020 → esm2022}/common/commands.mjs +0 -0
  100. /package/{esm2020 → esm2022}/common/css-settings.interface.mjs +0 -0
  101. /package/{esm2020 → esm2022}/common/direction.mjs +0 -0
  102. /package/{esm2020 → esm2022}/common/error-messages.mjs +0 -0
  103. /package/{esm2020 → esm2022}/common/font-family-item.interface.mjs +0 -0
  104. /package/{esm2020 → esm2022}/common/font-size-item.interface.mjs +0 -0
  105. /package/{esm2020 → esm2022}/common/format-item.interface.mjs +0 -0
  106. /package/{esm2020 → esm2022}/common/image-data.interface.mjs +0 -0
  107. /package/{esm2020 → esm2022}/common/link-data.interface.mjs +0 -0
  108. /package/{esm2020 → esm2022}/common/paste-cleanup-settings.mjs +0 -0
  109. /package/{esm2020 → esm2022}/common/plugins-function.mjs +0 -0
  110. /package/{esm2020 → esm2022}/common/predicate.mjs +0 -0
  111. /package/{esm2020 → esm2022}/common/resizable-options.interface.mjs +0 -0
  112. /package/{esm2020 → esm2022}/common/styles.mjs +0 -0
  113. /package/{esm2020 → esm2022}/common/table-data.interface.mjs +0 -0
  114. /package/{esm2020 → esm2022}/config/command-icons.mjs +0 -0
  115. /package/{esm2020 → esm2022}/config/commands.mjs +0 -0
  116. /package/{esm2020 → esm2022}/config/schema.mjs +0 -0
  117. /package/{esm2020 → esm2022}/config/semantic-nodes.mjs +0 -0
  118. /package/{esm2020 → esm2022}/config/table-commands.mjs +0 -0
  119. /package/{esm2020 → esm2022}/config/utils.mjs +0 -0
  120. /package/{esm2020 → esm2022}/directives.mjs +0 -0
  121. /package/{esm2020 → esm2022}/editor-toolbar-state.mjs +0 -0
  122. /package/{esm2020 → esm2022}/index.mjs +0 -0
  123. /package/{esm2020 → esm2022}/progress-kendo-angular-editor.mjs +0 -0
  124. /package/{esm2020 → esm2022}/util.mjs +0 -0
@@ -14,7 +14,7 @@ import { ToolBarToolComponent, ToolBarComponent, ToolBarButtonGroupComponent, To
14
14
  import * as i1$1 from '@progress/kendo-angular-dialog';
15
15
  import { DialogContentBase, DialogTitleBarComponent, DialogActionsComponent, DialogContainerService, DialogService, WindowService, WindowContainerService } from '@progress/kendo-angular-dialog';
16
16
  import { isDocumentAvailable, guid, shouldShowValidationUI, hasObservers, KendoInput, WatermarkOverlayComponent, isPresent as isPresent$1, Keys, ResizeBatchService } from '@progress/kendo-angular-common';
17
- 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';
17
+ 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, TextSelection, parseContent, Plugin, PluginKey, history, keymap, buildListKeymap, buildKeymap, baseKeymap, gapCursor, imageResizing, tableResizing, tableEditing, caretColor, cspFix, placeholder, EditorState, EditorView, pasteCleanup, AllSelection } from '@progress/kendo-editor-common';
18
18
  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
19
  import { validatePackage } from '@progress/kendo-licensing';
20
20
  import * as i1 from '@progress/kendo-angular-l10n';
@@ -35,8 +35,8 @@ const packageMetadata = {
35
35
  name: '@progress/kendo-angular-editor',
36
36
  productName: 'Kendo UI for Angular',
37
37
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
38
- publishDate: 1729874507,
39
- version: '17.0.0-develop.21',
38
+ publishDate: 1730103804,
39
+ version: '17.0.0-develop.22',
40
40
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
41
41
  };
42
42
 
@@ -653,10 +653,10 @@ class EditorLocalizationService extends LocalizationService {
653
653
  constructor(prefix, messageService, _rtl) {
654
654
  super(prefix, messageService, _rtl);
655
655
  }
656
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorLocalizationService, deps: [{ token: L10N_PREFIX }, { token: i1.MessageService, optional: true }, { token: RTL, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
657
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorLocalizationService });
656
658
  }
657
- EditorLocalizationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", 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.2.10", ngImport: i0, type: EditorLocalizationService });
659
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorLocalizationService, decorators: [{
659
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorLocalizationService, decorators: [{
660
660
  type: Injectable
661
661
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
662
662
  type: Inject,
@@ -674,11 +674,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
674
674
  * @hidden
675
675
  */
676
676
  class SourceDialogComponent extends DialogContentBase {
677
+ dialog;
678
+ localization;
679
+ editor;
680
+ textarea;
681
+ data = '';
677
682
  constructor(dialog, localization) {
678
683
  super(dialog);
679
684
  this.dialog = dialog;
680
685
  this.localization = localization;
681
- this.data = '';
682
686
  }
683
687
  onCancelAction() {
684
688
  this.dialog.close();
@@ -704,9 +708,8 @@ class SourceDialogComponent extends DialogContentBase {
704
708
  .replace(/<br \/>/gi, '<br />\n')
705
709
  .replace(/\n$/, '');
706
710
  }
707
- }
708
- SourceDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SourceDialogComponent, deps: [{ token: i1$1.DialogRef }, { token: EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
709
- SourceDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: SourceDialogComponent, isStandalone: true, selector: "ng-component", inputs: { editor: "editor" }, viewQueries: [{ propertyName: "textarea", first: true, predicate: ["textarea"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `
711
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SourceDialogComponent, deps: [{ token: i1$1.DialogRef }, { token: EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
712
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SourceDialogComponent, isStandalone: true, selector: "ng-component", inputs: { editor: "editor" }, viewQueries: [{ propertyName: "textarea", first: true, predicate: ["textarea"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `
710
713
  <kendo-dialog-titlebar (close)="onCancelAction()">
711
714
  {{ textFor('viewSource') }}
712
715
  </kendo-dialog-titlebar>
@@ -730,7 +733,8 @@ SourceDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
730
733
  >{{ textFor('dialogCancel') }}</button>
731
734
  </kendo-dialog-actions>
732
735
  `, isInline: true, dependencies: [{ kind: "component", type: DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { kind: "component", type: 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"] }, { kind: "component", type: DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
733
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SourceDialogComponent, decorators: [{
736
+ }
737
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SourceDialogComponent, decorators: [{
734
738
  type: Component,
735
739
  args: [{
736
740
  template: `
@@ -771,26 +775,34 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
771
775
  * @hidden
772
776
  */
773
777
  class ImageDialogComponent extends DialogContentBase {
778
+ dialog;
779
+ localization;
780
+ editor;
781
+ srcInput;
782
+ src = new FormControl('', Validators.required);
783
+ alt = new FormControl('');
784
+ width = new FormControl('', Validators.min(1));
785
+ height = new FormControl('', Validators.min(1));
786
+ data = {
787
+ alt: '',
788
+ height: '',
789
+ src: '',
790
+ width: ''
791
+ };
792
+ imageData = new FormGroup({
793
+ alt: this.alt,
794
+ height: this.height,
795
+ src: this.src,
796
+ width: this.width
797
+ });
798
+ srcInputId;
799
+ altTextInputId;
800
+ widthInputId;
801
+ heightInputId;
774
802
  constructor(dialog, localization) {
775
803
  super(dialog);
776
804
  this.dialog = dialog;
777
805
  this.localization = localization;
778
- this.src = new FormControl('', Validators.required);
779
- this.alt = new FormControl('');
780
- this.width = new FormControl('', Validators.min(1));
781
- this.height = new FormControl('', Validators.min(1));
782
- this.data = {
783
- alt: '',
784
- height: '',
785
- src: '',
786
- width: ''
787
- };
788
- this.imageData = new FormGroup({
789
- alt: this.alt,
790
- height: this.height,
791
- src: this.src,
792
- width: this.width
793
- });
794
806
  }
795
807
  ngOnInit() {
796
808
  this.srcInputId = `k-${guid()}`;
@@ -831,9 +843,8 @@ class ImageDialogComponent extends DialogContentBase {
831
843
  normalizeDimension(value) {
832
844
  return Number.isNaN(parseInt(value, 10)) || parseInt(value, 10) <= 0 ? '' : safeString(parseInt(value, 10));
833
845
  }
834
- }
835
- ImageDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ImageDialogComponent, deps: [{ token: i1$1.DialogRef }, { token: EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
836
- ImageDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ImageDialogComponent, isStandalone: true, selector: "ng-component", inputs: { editor: "editor" }, viewQueries: [{ propertyName: "srcInput", first: true, predicate: ["srcInput"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
846
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ImageDialogComponent, deps: [{ token: i1$1.DialogRef }, { token: EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
847
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ImageDialogComponent, isStandalone: true, selector: "ng-component", inputs: { editor: "editor" }, viewQueries: [{ propertyName: "srcInput", first: true, predicate: ["srcInput"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
837
848
  <kendo-dialog-titlebar (close)="onCancelAction()">
838
849
  {{ textFor('insertImage') }}
839
850
  </kendo-dialog-titlebar>
@@ -896,7 +907,8 @@ ImageDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", v
896
907
  >{{ textFor('dialogCancel') }}</button>
897
908
  </kendo-dialog-actions>
898
909
  `, isInline: true, dependencies: [{ kind: "component", type: DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { kind: "component", type: FormFieldComponent, selector: "kendo-formfield", inputs: ["showHints", "orientation", "showErrors"] }, { kind: "component", type: LabelComponent, selector: "kendo-label", inputs: ["text", "for", "optional", "labelCssStyle", "labelCssClass"], exportAs: ["kendoLabel"] }, { kind: "component", type: 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: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
899
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ImageDialogComponent, decorators: [{
910
+ }
911
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ImageDialogComponent, decorators: [{
900
912
  type: Component,
901
913
  args: [{
902
914
  template: `
@@ -976,15 +988,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
976
988
  * @hidden
977
989
  */
978
990
  class FileLinkDialogComponent extends DialogContentBase {
991
+ dialog;
992
+ localization;
993
+ editor;
994
+ command;
995
+ hrefInput;
996
+ linkForm = new FormGroup({
997
+ 'href': new FormControl('', Validators.required),
998
+ 'text': new FormControl({ value: '', disabled: true }, Validators.required),
999
+ 'title': new FormControl('')
1000
+ });
979
1001
  constructor(dialog, localization) {
980
1002
  super(dialog);
981
1003
  this.dialog = dialog;
982
1004
  this.localization = localization;
983
- this.linkForm = new FormGroup({
984
- 'href': new FormControl('', Validators.required),
985
- 'text': new FormControl({ value: '', disabled: true }, Validators.required),
986
- 'title': new FormControl('')
987
- });
988
1005
  }
989
1006
  onCancelAction() {
990
1007
  this.dialog.close();
@@ -1054,9 +1071,8 @@ class FileLinkDialogComponent extends DialogContentBase {
1054
1071
  }
1055
1072
  return linkData;
1056
1073
  }
1057
- }
1058
- FileLinkDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FileLinkDialogComponent, deps: [{ token: i1$1.DialogRef }, { token: EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
1059
- FileLinkDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: FileLinkDialogComponent, isStandalone: true, selector: "ng-component", inputs: { editor: "editor", command: "command" }, viewQueries: [{ propertyName: "hrefInput", first: true, predicate: ["hrefInput"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
1074
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FileLinkDialogComponent, deps: [{ token: i1$1.DialogRef }, { token: EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
1075
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: FileLinkDialogComponent, isStandalone: true, selector: "ng-component", inputs: { editor: "editor", command: "command" }, viewQueries: [{ propertyName: "hrefInput", first: true, predicate: ["hrefInput"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
1060
1076
  <kendo-dialog-titlebar (close)="onCancelAction()">
1061
1077
  {{ titleText }}
1062
1078
  </kendo-dialog-titlebar>
@@ -1123,7 +1139,8 @@ FileLinkDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
1123
1139
  >{{ textFor('dialogCancel') }}</button>
1124
1140
  </kendo-dialog-actions>
1125
1141
  `, isInline: true, dependencies: [{ kind: "component", type: DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i3.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i3.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i3.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i3.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: FormFieldComponent, selector: "kendo-formfield", inputs: ["showHints", "orientation", "showErrors"] }, { kind: "component", type: LabelComponent, selector: "kendo-label", inputs: ["text", "for", "optional", "labelCssStyle", "labelCssClass"], exportAs: ["kendoLabel"] }, { kind: "component", type: 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: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: CheckBoxDirective, selector: "input[kendoCheckBox]", inputs: ["size", "rounded"] }, { kind: "directive", type: LabelDirective, selector: "label[for]", inputs: ["for", "labelClass"] }, { kind: "component", type: DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
1126
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FileLinkDialogComponent, decorators: [{
1142
+ }
1143
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FileLinkDialogComponent, decorators: [{
1127
1144
  type: Component,
1128
1145
  args: [{
1129
1146
  template: `
@@ -1525,10 +1542,11 @@ const EditorErrorMessages = {
1525
1542
  * @hidden
1526
1543
  */
1527
1544
  class ProviderService {
1545
+ editor;
1546
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ProviderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1547
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ProviderService });
1528
1548
  }
1529
- ProviderService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ProviderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1530
- ProviderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ProviderService });
1531
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ProviderService, decorators: [{
1549
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ProviderService, decorators: [{
1532
1550
  type: Injectable
1533
1551
  }] });
1534
1552
 
@@ -1536,14 +1554,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
1536
1554
  * @hidden
1537
1555
  */
1538
1556
  class EditorToolsService {
1557
+ zone;
1558
+ needsCheck = new Subject();
1539
1559
  constructor(zone) {
1540
1560
  this.zone = zone;
1541
- this.needsCheck = new Subject();
1542
1561
  }
1562
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorToolsService, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
1563
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorToolsService });
1543
1564
  }
1544
- EditorToolsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorToolsService, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
1545
- EditorToolsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorToolsService });
1546
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorToolsService, decorators: [{
1565
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorToolsService, decorators: [{
1547
1566
  type: Injectable
1548
1567
  }], ctorParameters: function () { return [{ type: i0.NgZone }]; } });
1549
1568
 
@@ -1551,9 +1570,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
1551
1570
  * @hidden
1552
1571
  */
1553
1572
  class PreventableEvent {
1554
- constructor() {
1555
- this.prevented = false;
1556
- }
1573
+ prevented = false;
1557
1574
  /**
1558
1575
  * Prevents the default action for a specified event.
1559
1576
  * In this way, the source component suppresses the built-in behavior that follows the event.
@@ -1575,6 +1592,18 @@ class PreventableEvent {
1575
1592
  * The Editor [`paste`]({% slug api_editor_editorcomponent %}#toc-paste) event.
1576
1593
  */
1577
1594
  class EditorPasteEvent extends PreventableEvent {
1595
+ /**
1596
+ * The HTML content cleaned in accordance with the [`PasteCleanupSettings`]({% slug paste_cleanup %}).
1597
+ */
1598
+ cleanedHtml;
1599
+ /**
1600
+ * The raw pasted content.
1601
+ */
1602
+ originalHtml;
1603
+ /**
1604
+ * The original DOM event.
1605
+ */
1606
+ originalEvent;
1578
1607
  /**
1579
1608
  * Constructs the event arguments for the `paste` event.
1580
1609
  * @hidden
@@ -1681,6 +1710,12 @@ const MY_TOKEN = new InjectionToken('COMMAND_TOKEN');
1681
1710
  * @hidden
1682
1711
  */
1683
1712
  class EditorCommandBaseDirective {
1713
+ command;
1714
+ button;
1715
+ localization;
1716
+ toolsService;
1717
+ subs;
1718
+ editor;
1684
1719
  constructor(command, button, localization, providerService, toolsService) {
1685
1720
  this.command = command;
1686
1721
  this.button = button;
@@ -1721,10 +1756,10 @@ class EditorCommandBaseDirective {
1721
1756
  clickHandler() { }
1722
1757
  pointerdownHandler(_event) { }
1723
1758
  onStateChange(_toolBarState) { }
1759
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorCommandBaseDirective, deps: [{ token: MY_TOKEN }, { token: i1$2.ToolBarButtonComponent }, { token: i1.LocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
1760
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditorCommandBaseDirective, selector: "[kendoEditorCommandBase]", ngImport: i0 });
1724
1761
  }
1725
- EditorCommandBaseDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorCommandBaseDirective, deps: [{ token: MY_TOKEN }, { token: i1$2.ToolBarButtonComponent }, { token: i1.LocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
1726
- EditorCommandBaseDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditorCommandBaseDirective, selector: "[kendoEditorCommandBase]", ngImport: i0 });
1727
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorCommandBaseDirective, decorators: [{
1762
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorCommandBaseDirective, decorators: [{
1728
1763
  type: Directive,
1729
1764
  args: [{
1730
1765
  selector: '[kendoEditorCommandBase]'
@@ -1738,6 +1773,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
1738
1773
  * @hidden
1739
1774
  */
1740
1775
  class EditorCommandDialog extends EditorCommandBaseDirective {
1776
+ dialog;
1777
+ button;
1778
+ localization;
1779
+ providerService;
1780
+ toolsService;
1741
1781
  constructor(dialog, button, localization, providerService, toolsService) {
1742
1782
  super(dialog, button, localization, providerService, toolsService);
1743
1783
  this.dialog = dialog;
@@ -1771,10 +1811,10 @@ class EditorInsertImageButtonDirective extends EditorCommandDialog {
1771
1811
  constructor(button, localization, providerService, toolsService) {
1772
1812
  super('insertImage', button, localization, providerService, toolsService);
1773
1813
  }
1814
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorInsertImageButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
1815
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditorInsertImageButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorInsertImageButton]", usesInheritance: true, ngImport: i0 });
1774
1816
  }
1775
- EditorInsertImageButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorInsertImageButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
1776
- EditorInsertImageButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditorInsertImageButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorInsertImageButton]", usesInheritance: true, ngImport: i0 });
1777
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorInsertImageButtonDirective, decorators: [{
1817
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorInsertImageButtonDirective, decorators: [{
1778
1818
  type: Directive,
1779
1819
  args: [{
1780
1820
  selector: 'kendo-toolbar-button[kendoEditorInsertImageButton]',
@@ -1786,6 +1826,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
1786
1826
  * @hidden
1787
1827
  */
1788
1828
  class EditorCommandButton extends EditorCommandBaseDirective {
1829
+ command;
1830
+ button;
1831
+ localization;
1832
+ providerService;
1833
+ toolsService;
1789
1834
  constructor(command, button, localization, providerService, toolsService) {
1790
1835
  super(command, button, localization, providerService, toolsService);
1791
1836
  this.command = command;
@@ -1824,10 +1869,10 @@ class EditorUnlinkButtonDirective extends EditorCommandButton {
1824
1869
  constructor(button, localization, providerService, toolsService) {
1825
1870
  super('unlink', button, localization, providerService, toolsService);
1826
1871
  }
1872
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorUnlinkButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
1873
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditorUnlinkButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorUnlinkButton]", usesInheritance: true, ngImport: i0 });
1827
1874
  }
1828
- EditorUnlinkButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorUnlinkButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
1829
- EditorUnlinkButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditorUnlinkButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorUnlinkButton]", usesInheritance: true, ngImport: i0 });
1830
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorUnlinkButtonDirective, decorators: [{
1875
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorUnlinkButtonDirective, decorators: [{
1831
1876
  type: Directive,
1832
1877
  args: [{
1833
1878
  selector: 'kendo-toolbar-button[kendoEditorUnlinkButton]',
@@ -1850,10 +1895,10 @@ class EditorCreateLinkButtonDirective extends EditorCommandDialog {
1850
1895
  constructor(button, localization, providerService, toolsService) {
1851
1896
  super('createLink', button, localization, providerService, toolsService);
1852
1897
  }
1898
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorCreateLinkButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
1899
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditorCreateLinkButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorCreateLinkButton]", usesInheritance: true, ngImport: i0 });
1853
1900
  }
1854
- EditorCreateLinkButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorCreateLinkButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
1855
- EditorCreateLinkButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditorCreateLinkButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorCreateLinkButton]", usesInheritance: true, ngImport: i0 });
1856
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorCreateLinkButtonDirective, decorators: [{
1901
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorCreateLinkButtonDirective, decorators: [{
1857
1902
  type: Directive,
1858
1903
  args: [{
1859
1904
  selector: 'kendo-toolbar-button[kendoEditorCreateLinkButton]',
@@ -1876,10 +1921,10 @@ class EditorOutdentButtonDirective extends EditorCommandButton {
1876
1921
  constructor(button, localization, providerService, toolsService) {
1877
1922
  super('outdent', button, localization, providerService, toolsService);
1878
1923
  }
1924
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorOutdentButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
1925
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditorOutdentButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorOutdentButton]", usesInheritance: true, ngImport: i0 });
1879
1926
  }
1880
- EditorOutdentButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorOutdentButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
1881
- EditorOutdentButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditorOutdentButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorOutdentButton]", usesInheritance: true, ngImport: i0 });
1882
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorOutdentButtonDirective, decorators: [{
1927
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorOutdentButtonDirective, decorators: [{
1883
1928
  type: Directive,
1884
1929
  args: [{
1885
1930
  selector: 'kendo-toolbar-button[kendoEditorOutdentButton]',
@@ -1902,10 +1947,10 @@ class EditorIndentButtonDirective extends EditorCommandButton {
1902
1947
  constructor(button, localization, providerService, toolsService) {
1903
1948
  super('indent', button, localization, providerService, toolsService);
1904
1949
  }
1950
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorIndentButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
1951
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditorIndentButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorIndentButton]", usesInheritance: true, ngImport: i0 });
1905
1952
  }
1906
- EditorIndentButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorIndentButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
1907
- EditorIndentButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditorIndentButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorIndentButton]", usesInheritance: true, ngImport: i0 });
1908
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorIndentButtonDirective, decorators: [{
1953
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorIndentButtonDirective, decorators: [{
1909
1954
  type: Directive,
1910
1955
  args: [{
1911
1956
  selector: 'kendo-toolbar-button[kendoEditorIndentButton]',
@@ -1928,10 +1973,10 @@ class EditorInsertOrderedListButtonDirective extends EditorCommandButton {
1928
1973
  constructor(button, localization, providerService, toolsService) {
1929
1974
  super('insertOrderedList', button, localization, providerService, toolsService);
1930
1975
  }
1976
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorInsertOrderedListButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
1977
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditorInsertOrderedListButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorInsertOrderedListButton]", usesInheritance: true, ngImport: i0 });
1931
1978
  }
1932
- EditorInsertOrderedListButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorInsertOrderedListButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
1933
- EditorInsertOrderedListButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditorInsertOrderedListButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorInsertOrderedListButton]", usesInheritance: true, ngImport: i0 });
1934
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorInsertOrderedListButtonDirective, decorators: [{
1979
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorInsertOrderedListButtonDirective, decorators: [{
1935
1980
  type: Directive,
1936
1981
  args: [{
1937
1982
  selector: 'kendo-toolbar-button[kendoEditorInsertOrderedListButton]',
@@ -1954,10 +1999,10 @@ class EditorInsertUnorderedListButtonDirective extends EditorCommandButton {
1954
1999
  constructor(button, localization, providerService, toolsService) {
1955
2000
  super('insertUnorderedList', button, localization, providerService, toolsService);
1956
2001
  }
2002
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorInsertUnorderedListButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
2003
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditorInsertUnorderedListButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorInsertUnorderedListButton]", usesInheritance: true, ngImport: i0 });
1957
2004
  }
1958
- EditorInsertUnorderedListButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorInsertUnorderedListButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
1959
- EditorInsertUnorderedListButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditorInsertUnorderedListButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorInsertUnorderedListButton]", usesInheritance: true, ngImport: i0 });
1960
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorInsertUnorderedListButtonDirective, decorators: [{
2005
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorInsertUnorderedListButtonDirective, decorators: [{
1961
2006
  type: Directive,
1962
2007
  args: [{
1963
2008
  selector: 'kendo-toolbar-button[kendoEditorInsertUnorderedListButton]',
@@ -1980,10 +2025,10 @@ class EditorAlignJustifyButtonDirective extends EditorCommandButton {
1980
2025
  constructor(button, localization, providerService, toolsService) {
1981
2026
  super('alignJustify', button, localization, providerService, toolsService);
1982
2027
  }
2028
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorAlignJustifyButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
2029
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditorAlignJustifyButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorAlignJustifyButton]", usesInheritance: true, ngImport: i0 });
1983
2030
  }
1984
- EditorAlignJustifyButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorAlignJustifyButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
1985
- EditorAlignJustifyButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditorAlignJustifyButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorAlignJustifyButton]", usesInheritance: true, ngImport: i0 });
1986
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorAlignJustifyButtonDirective, decorators: [{
2031
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorAlignJustifyButtonDirective, decorators: [{
1987
2032
  type: Directive,
1988
2033
  args: [{
1989
2034
  selector: 'kendo-toolbar-button[kendoEditorAlignJustifyButton]',
@@ -2006,10 +2051,10 @@ class EditorAlignRightButtonDirective extends EditorCommandButton {
2006
2051
  constructor(button, localization, providerService, toolsService) {
2007
2052
  super('alignRight', button, localization, providerService, toolsService);
2008
2053
  }
2054
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorAlignRightButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
2055
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditorAlignRightButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorAlignRightButton]", usesInheritance: true, ngImport: i0 });
2009
2056
  }
2010
- EditorAlignRightButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorAlignRightButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
2011
- EditorAlignRightButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditorAlignRightButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorAlignRightButton]", usesInheritance: true, ngImport: i0 });
2012
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorAlignRightButtonDirective, decorators: [{
2057
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorAlignRightButtonDirective, decorators: [{
2013
2058
  type: Directive,
2014
2059
  args: [{
2015
2060
  selector: 'kendo-toolbar-button[kendoEditorAlignRightButton]',
@@ -2032,10 +2077,10 @@ class EditorAlignCenterButtonDirective extends EditorCommandButton {
2032
2077
  constructor(button, localization, providerService, toolsService) {
2033
2078
  super('alignCenter', button, localization, providerService, toolsService);
2034
2079
  }
2080
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorAlignCenterButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
2081
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditorAlignCenterButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorAlignCenterButton]", usesInheritance: true, ngImport: i0 });
2035
2082
  }
2036
- EditorAlignCenterButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorAlignCenterButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
2037
- EditorAlignCenterButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditorAlignCenterButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorAlignCenterButton]", usesInheritance: true, ngImport: i0 });
2038
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorAlignCenterButtonDirective, decorators: [{
2083
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorAlignCenterButtonDirective, decorators: [{
2039
2084
  type: Directive,
2040
2085
  args: [{
2041
2086
  selector: 'kendo-toolbar-button[kendoEditorAlignCenterButton]',
@@ -2058,10 +2103,10 @@ class EditorAlignLeftButtonDirective extends EditorCommandButton {
2058
2103
  constructor(button, localization, providerService, toolsService) {
2059
2104
  super('alignLeft', button, localization, providerService, toolsService);
2060
2105
  }
2106
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorAlignLeftButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
2107
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditorAlignLeftButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorAlignLeftButton]", usesInheritance: true, ngImport: i0 });
2061
2108
  }
2062
- EditorAlignLeftButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorAlignLeftButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
2063
- EditorAlignLeftButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditorAlignLeftButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorAlignLeftButton]", usesInheritance: true, ngImport: i0 });
2064
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorAlignLeftButtonDirective, decorators: [{
2109
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorAlignLeftButtonDirective, decorators: [{
2065
2110
  type: Directive,
2066
2111
  args: [{
2067
2112
  selector: 'kendo-toolbar-button[kendoEditorAlignLeftButton]',
@@ -2073,15 +2118,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
2073
2118
  * @hidden
2074
2119
  */
2075
2120
  class DropDownToolDirective {
2121
+ hostEl;
2122
+ zone;
2123
+ get hostElement() {
2124
+ return this.hostEl.nativeElement;
2125
+ }
2076
2126
  constructor(hostEl, zone) {
2077
2127
  this.hostEl = hostEl;
2078
2128
  this.zone = zone;
2079
- this.preventDefault = (event) => {
2080
- event.preventDefault();
2081
- };
2082
- }
2083
- get hostElement() {
2084
- return this.hostEl.nativeElement;
2085
2129
  }
2086
2130
  ngAfterViewInit() {
2087
2131
  this.zone.runOutsideAngular(() => {
@@ -2091,10 +2135,13 @@ class DropDownToolDirective {
2091
2135
  ngOnDestroy() {
2092
2136
  this.hostElement.removeEventListener('pointerdown', this.preventDefault);
2093
2137
  }
2138
+ preventDefault = (event) => {
2139
+ event.preventDefault();
2140
+ };
2141
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DropDownToolDirective, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
2142
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: DropDownToolDirective, isStandalone: true, selector: "[kendoEditorDropDownTool]", ngImport: i0 });
2094
2143
  }
2095
- DropDownToolDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DropDownToolDirective, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
2096
- DropDownToolDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DropDownToolDirective, isStandalone: true, selector: "[kendoEditorDropDownTool]", ngImport: i0 });
2097
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DropDownToolDirective, decorators: [{
2144
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DropDownToolDirective, decorators: [{
2098
2145
  type: Directive,
2099
2146
  args: [{
2100
2147
  selector: '[kendoEditorDropDownTool]',
@@ -2106,18 +2153,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
2106
2153
  * @hidden
2107
2154
  */
2108
2155
  class FormatDropDownListComponent {
2109
- constructor() {
2110
- this.valueChange = new EventEmitter();
2111
- }
2156
+ data;
2157
+ value;
2158
+ defaultItem;
2159
+ itemDisabled;
2160
+ title;
2161
+ disabled;
2162
+ tabindex;
2163
+ valueChange = new EventEmitter();
2164
+ element;
2165
+ dropDownList;
2112
2166
  onValueChange(tag) {
2113
2167
  this.valueChange.emit(tag);
2114
2168
  }
2115
2169
  focus() {
2116
2170
  this.dropDownList.focus();
2117
2171
  }
2118
- }
2119
- FormatDropDownListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FormatDropDownListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
2120
- FormatDropDownListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: FormatDropDownListComponent, isStandalone: true, 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: `
2172
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FormatDropDownListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
2173
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: FormatDropDownListComponent, isStandalone: true, 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: `
2121
2174
  <kendo-dropdownlist
2122
2175
  #element
2123
2176
  kendoEditorDropDownTool
@@ -2169,7 +2222,8 @@ FormatDropDownListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.
2169
2222
  </ng-template>
2170
2223
  </kendo-dropdownlist>
2171
2224
  `, isInline: true, dependencies: [{ kind: "component", type: 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]" }, { kind: "directive", type: ItemTemplateDirective, selector: "[kendoDropDownListItemTemplate],[kendoComboBoxItemTemplate],[kendoAutoCompleteItemTemplate],[kendoMultiSelectItemTemplate]" }, { kind: "directive", type: NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: NgSwitchDefault, selector: "[ngSwitchDefault]" }] });
2172
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FormatDropDownListComponent, decorators: [{
2225
+ }
2226
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FormatDropDownListComponent, decorators: [{
2173
2227
  type: Component,
2174
2228
  args: [{
2175
2229
  selector: 'kendo-editor-format-dropdownlist',
@@ -2256,11 +2310,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
2256
2310
  * @hidden
2257
2311
  */
2258
2312
  class FormatDialogComponent extends DialogContentBase {
2313
+ dialog;
2314
+ localization;
2315
+ editor;
2316
+ formatDropDownList;
2317
+ data = [];
2318
+ defaultItem;
2319
+ value;
2320
+ itemDisabled;
2259
2321
  constructor(dialog, localization) {
2260
2322
  super(dialog);
2261
2323
  this.dialog = dialog;
2262
2324
  this.localization = localization;
2263
- this.data = [];
2264
2325
  }
2265
2326
  onCancelAction() {
2266
2327
  this.dialog.close();
@@ -2281,9 +2342,8 @@ class FormatDialogComponent extends DialogContentBase {
2281
2342
  textFor(key) {
2282
2343
  return this.localization.get(key);
2283
2344
  }
2284
- }
2285
- FormatDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FormatDialogComponent, deps: [{ token: i1$1.DialogRef }, { token: EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
2286
- FormatDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: FormatDialogComponent, isStandalone: true, selector: "ng-component", inputs: { editor: "editor" }, viewQueries: [{ propertyName: "formatDropDownList", first: true, predicate: ["formatDropDownList"], descendants: true, read: FormatDropDownListComponent, static: true }], usesInheritance: true, ngImport: i0, template: `
2345
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FormatDialogComponent, deps: [{ token: i1$1.DialogRef }, { token: EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
2346
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: FormatDialogComponent, isStandalone: true, selector: "ng-component", inputs: { editor: "editor" }, viewQueries: [{ propertyName: "formatDropDownList", first: true, predicate: ["formatDropDownList"], descendants: true, read: FormatDropDownListComponent, static: true }], usesInheritance: true, ngImport: i0, template: `
2287
2347
  <kendo-dialog-titlebar (close)="onCancelAction()">
2288
2348
  {{ textFor('format') }}
2289
2349
  </kendo-dialog-titlebar>
@@ -2309,7 +2369,8 @@ FormatDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
2309
2369
  >{{ textFor('dialogCancel') }}</button>
2310
2370
  </kendo-dialog-actions>
2311
2371
  `, isInline: true, dependencies: [{ kind: "component", type: DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { kind: "component", type: FormatDropDownListComponent, selector: "kendo-editor-format-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }, { kind: "component", type: DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
2312
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FormatDialogComponent, decorators: [{
2372
+ }
2373
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FormatDialogComponent, decorators: [{
2313
2374
  type: Component,
2314
2375
  args: [{
2315
2376
  template: `
@@ -2360,31 +2421,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
2360
2421
  * ```
2361
2422
  */
2362
2423
  class EditorFormatComponent extends ToolBarToolComponent {
2363
- constructor(dialogService, localization, providerService, toolsService, renderer) {
2364
- super();
2365
- this.dialogService = dialogService;
2366
- this.localization = localization;
2367
- this.toolsService = toolsService;
2368
- this.renderer = renderer;
2369
- this.disabled = false;
2370
- this.tabindex = -1;
2371
- /**
2372
- * Fires when the user updates the value of the drop-down list.
2373
- */
2374
- this.valueChange = new EventEmitter();
2375
- this._data = [
2376
- { text: 'Paragraph', tag: 'p' },
2377
- { text: 'Heading 1', tag: 'h1' },
2378
- { text: 'Heading 2', tag: 'h2' },
2379
- { text: 'Heading 3', tag: 'h3' },
2380
- { text: 'Heading 4', tag: 'h4' },
2381
- { text: 'Heading 5', tag: 'h5' },
2382
- { text: 'Heading 6', tag: 'h6' }
2383
- ];
2384
- this.applyFormatSVGIcon = applyFormatIcon;
2385
- this.editor = providerService.editor;
2386
- this.isBuiltInTool = true;
2387
- }
2424
+ dialogService;
2425
+ localization;
2426
+ toolsService;
2427
+ renderer;
2428
+ value;
2429
+ defaultItem;
2430
+ itemDisabled;
2431
+ disabled = false;
2432
+ tabindex = -1;
2388
2433
  /**
2389
2434
  * Overrides the default format items list.
2390
2435
  */
@@ -2394,6 +2439,33 @@ class EditorFormatComponent extends ToolBarToolComponent {
2394
2439
  get data() {
2395
2440
  return this._data;
2396
2441
  }
2442
+ /**
2443
+ * Fires when the user updates the value of the drop-down list.
2444
+ */
2445
+ valueChange = new EventEmitter();
2446
+ formatDropDownList;
2447
+ formatButton;
2448
+ subs;
2449
+ _data = [
2450
+ { text: 'Paragraph', tag: 'p' },
2451
+ { text: 'Heading 1', tag: 'h1' },
2452
+ { text: 'Heading 2', tag: 'h2' },
2453
+ { text: 'Heading 3', tag: 'h3' },
2454
+ { text: 'Heading 4', tag: 'h4' },
2455
+ { text: 'Heading 5', tag: 'h5' },
2456
+ { text: 'Heading 6', tag: 'h6' }
2457
+ ];
2458
+ applyFormatSVGIcon = applyFormatIcon;
2459
+ editor;
2460
+ constructor(dialogService, localization, providerService, toolsService, renderer) {
2461
+ super();
2462
+ this.dialogService = dialogService;
2463
+ this.localization = localization;
2464
+ this.toolsService = toolsService;
2465
+ this.renderer = renderer;
2466
+ this.editor = providerService.editor;
2467
+ this.isBuiltInTool = true;
2468
+ }
2397
2469
  ngOnInit() {
2398
2470
  this.itemDisabled = (itemArgs) => {
2399
2471
  if (!this.overflows && this.formatDropDownList && !this.formatDropDownList.dropDownList.isOpen) {
@@ -2483,9 +2555,8 @@ class EditorFormatComponent extends ToolBarToolComponent {
2483
2555
  this.tabindex = -1;
2484
2556
  return false;
2485
2557
  }
2486
- }
2487
- EditorFormatComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorFormatComponent, deps: [{ token: i1$1.DialogService }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
2488
- EditorFormatComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: EditorFormatComponent, isStandalone: true, 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: `
2558
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorFormatComponent, deps: [{ token: i1$1.DialogService }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
2559
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: EditorFormatComponent, isStandalone: true, selector: "kendo-toolbar-dropdownlist[kendoEditorFormat]", inputs: { data: "data" }, outputs: { valueChange: "valueChange" }, providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => EditorFormatComponent) }], viewQueries: [{ propertyName: "formatDropDownList", first: true, predicate: ["formatDropDownList"], descendants: true }, { propertyName: "formatButton", first: true, predicate: ["formatButton"], descendants: true, read: ElementRef }], usesInheritance: true, ngImport: i0, template: `
2489
2560
  <ng-template #toolbarTemplate>
2490
2561
  <kendo-editor-format-dropdownlist
2491
2562
  #formatDropDownList
@@ -2515,7 +2586,8 @@ EditorFormatComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
2515
2586
  </div>
2516
2587
  </ng-template>
2517
2588
  `, isInline: true, dependencies: [{ kind: "component", type: FormatDropDownListComponent, selector: "kendo-editor-format-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
2518
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorFormatComponent, decorators: [{
2589
+ }
2590
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorFormatComponent, decorators: [{
2519
2591
  type: Component,
2520
2592
  args: [{
2521
2593
  providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => EditorFormatComponent) }],
@@ -2557,12 +2629,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
2557
2629
  type: Input
2558
2630
  }], valueChange: [{
2559
2631
  type: Output
2560
- }], toolbarTemplate: [{
2561
- type: ViewChild,
2562
- args: ['toolbarTemplate', { static: true }]
2563
- }], popupTemplate: [{
2564
- type: ViewChild,
2565
- args: ['popupTemplate', { static: true }]
2566
2632
  }], formatDropDownList: [{
2567
2633
  type: ViewChild,
2568
2634
  args: ['formatDropDownList']
@@ -2586,10 +2652,10 @@ class EditorUnderlineButtonDirective extends EditorCommandButton {
2586
2652
  constructor(button, localization, providerService, toolsService) {
2587
2653
  super('underline', button, localization, providerService, toolsService);
2588
2654
  }
2655
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorUnderlineButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
2656
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditorUnderlineButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorUnderlineButton]", usesInheritance: true, ngImport: i0 });
2589
2657
  }
2590
- EditorUnderlineButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorUnderlineButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
2591
- EditorUnderlineButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditorUnderlineButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorUnderlineButton]", usesInheritance: true, ngImport: i0 });
2592
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorUnderlineButtonDirective, decorators: [{
2658
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorUnderlineButtonDirective, decorators: [{
2593
2659
  type: Directive,
2594
2660
  args: [{
2595
2661
  selector: 'kendo-toolbar-button[kendoEditorUnderlineButton]',
@@ -2612,10 +2678,10 @@ class EditorItalicButtonDirective extends EditorCommandButton {
2612
2678
  constructor(button, localization, providerService, toolsService) {
2613
2679
  super('italic', button, localization, providerService, toolsService);
2614
2680
  }
2681
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorItalicButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
2682
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditorItalicButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorItalicButton]", usesInheritance: true, ngImport: i0 });
2615
2683
  }
2616
- EditorItalicButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorItalicButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
2617
- EditorItalicButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditorItalicButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorItalicButton]", usesInheritance: true, ngImport: i0 });
2618
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorItalicButtonDirective, decorators: [{
2684
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorItalicButtonDirective, decorators: [{
2619
2685
  type: Directive,
2620
2686
  args: [{
2621
2687
  selector: 'kendo-toolbar-button[kendoEditorItalicButton]',
@@ -2638,10 +2704,10 @@ class EditorBoldButtonDirective extends EditorCommandButton {
2638
2704
  constructor(button, localization, providerService, toolsService) {
2639
2705
  super('bold', button, localization, providerService, toolsService);
2640
2706
  }
2707
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorBoldButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
2708
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditorBoldButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorBoldButton]", usesInheritance: true, ngImport: i0 });
2641
2709
  }
2642
- EditorBoldButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorBoldButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
2643
- EditorBoldButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditorBoldButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorBoldButton]", usesInheritance: true, ngImport: i0 });
2644
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorBoldButtonDirective, decorators: [{
2710
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorBoldButtonDirective, decorators: [{
2645
2711
  type: Directive,
2646
2712
  args: [{
2647
2713
  selector: 'kendo-toolbar-button[kendoEditorBoldButton]',
@@ -2653,10 +2719,242 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
2653
2719
  * @hidden
2654
2720
  */
2655
2721
  class MessagesDirective extends ComponentMessages {
2722
+ /* Section of Tools Messages */
2723
+ /**
2724
+ * The title of the tool that aligns text in the center.
2725
+ */
2726
+ alignCenter;
2727
+ /**
2728
+ * The title of the tool that justifies text both left and right.
2729
+ */
2730
+ alignJustify;
2731
+ /**
2732
+ * The title of the tool that aligns text on the left.
2733
+ */
2734
+ alignLeft;
2735
+ /**
2736
+ * The title of the tool that aligns text on the right.
2737
+ */
2738
+ alignRight;
2739
+ /**
2740
+ * The title of the tool that changes the text background color.
2741
+ */
2742
+ backColor;
2743
+ /**
2744
+ * The title of the tool that wraps an element in a blockquote.
2745
+ */
2746
+ blockquote;
2747
+ /**
2748
+ * The title of the tool that makes text bold.
2749
+ */
2750
+ bold;
2751
+ /**
2752
+ * The title of the Clean Formatting tool.
2753
+ */
2754
+ cleanFormatting;
2755
+ /**
2756
+ * The title of the tool that creates hyperlinks.
2757
+ */
2758
+ createLink;
2759
+ /**
2760
+ * The title of the tool that changes the text font.
2761
+ */
2762
+ fontFamily;
2763
+ /**
2764
+ * The title of the tool that changes the text size.
2765
+ */
2766
+ fontSize;
2767
+ /**
2768
+ * The title of the tool that changes the text color.
2769
+ */
2770
+ foreColor;
2771
+ /**
2772
+ * The title of the tool that lets users choose block formats.
2773
+ */
2774
+ format;
2775
+ /**
2776
+ * The title of the tool that indents the content.
2777
+ */
2778
+ indent;
2779
+ /**
2780
+ * The title of the tool that inserts links to files.
2781
+ */
2782
+ insertFile;
2783
+ /**
2784
+ * The title of the tool that inserts images.
2785
+ */
2786
+ insertImage;
2787
+ /**
2788
+ * The title of the tool that inserts an ordered list.
2789
+ */
2790
+ insertOrderedList;
2791
+ /**
2792
+ * The title of the tool that inserts an unordered list.
2793
+ */
2794
+ insertUnorderedList;
2795
+ /**
2796
+ * The title of the tool that makes text italicized.
2797
+ */
2798
+ italic;
2799
+ /**
2800
+ * The title of the tool that outdents the content.
2801
+ */
2802
+ outdent;
2803
+ /**
2804
+ * The title of the print tool.
2805
+ */
2806
+ print;
2807
+ /**
2808
+ * The title of the tool that redos the last action.
2809
+ */
2810
+ redo;
2811
+ /**
2812
+ * The title of the tool that selects all content.
2813
+ */
2814
+ selectAll;
2815
+ /**
2816
+ * The title of the tool that strikes through text.
2817
+ */
2818
+ strikethrough;
2819
+ /**
2820
+ * The title of the tool that makes text subscript.
2821
+ */
2822
+ subscript;
2823
+ /**
2824
+ * The title of the tool that makes text superscript.
2825
+ */
2826
+ superscript;
2827
+ /**
2828
+ * The title of the tool that underlines text.
2829
+ */
2830
+ underline;
2831
+ /**
2832
+ * The title of the tool that undos the last action.
2833
+ */
2834
+ undo;
2835
+ /**
2836
+ * The title of the tool that removes hyperlinks.
2837
+ */
2838
+ unlink;
2839
+ /**
2840
+ * The title of the tool that shows the editor value as HTML.
2841
+ */
2842
+ viewSource;
2843
+ /**
2844
+ * The title of the tool that inserts table.
2845
+ */
2846
+ insertTable;
2847
+ /**
2848
+ * The caption for the hint in the insert table tool.
2849
+ *
2850
+ * The message consists of several parts - the amount of rows, the amount of columns, an `x` separator, and a localizable string.
2851
+ * To allow for reordering its parts, the `insertTableHint` input accepts a string with placeholders for the selected rows, selected columns
2852
+ * and the separator. The `{rows}` and `{columns}` placeholders will be replaced internally with the respective actual values. The `{x}` placeholder
2853
+ * shows a separator only when rows and columns are selected.
2854
+ */
2855
+ insertTableHint;
2856
+ /**
2857
+ * The title of the tool that adds new column before currently selected column.
2858
+ */
2859
+ addColumnBefore;
2860
+ /**
2861
+ * The title of the tool that adds new column after currently selected column.
2862
+ */
2863
+ addColumnAfter;
2864
+ /**
2865
+ * The title of the tool that adds new row before currently selected row.
2866
+ */
2867
+ addRowBefore;
2868
+ /**
2869
+ * The title of the tool that adds new row after currently selected row.
2870
+ */
2871
+ addRowAfter;
2872
+ /**
2873
+ * The title of the tool that deletes a table column.
2874
+ */
2875
+ deleteColumn;
2876
+ /**
2877
+ * The title of the tool that deletes a table row.
2878
+ */
2879
+ deleteRow;
2880
+ /**
2881
+ * The title of the tool that deletes a table.
2882
+ */
2883
+ deleteTable;
2884
+ /**
2885
+ * The title of the tool that merges the currently selected cells.
2886
+ */
2887
+ mergeCells;
2888
+ /**
2889
+ * The title of the tool that splits the currently selected cell.
2890
+ */
2891
+ splitCell;
2892
+ /* End of Tools Messages Section */
2893
+ /* Section of Dialog Messages */
2894
+ /**
2895
+ * The label of the **Apply** button in all Editor dialogs.
2896
+ */
2897
+ dialogApply;
2898
+ /**
2899
+ * The label of the **Cancel** button in all editor dialogs.
2900
+ */
2901
+ dialogCancel;
2902
+ /**
2903
+ * The label of the **Insert** button in all editor dialogs.
2904
+ */
2905
+ dialogInsert;
2906
+ /**
2907
+ * The label of the **Update** button in all editor dialogs.
2908
+ */
2909
+ dialogUpdate;
2910
+ /**
2911
+ * The caption for the file text in the insertFile dialog.
2912
+ */
2913
+ fileText;
2914
+ /**
2915
+ * The caption for the file Title in the insertFile dialog.
2916
+ */
2917
+ fileTitle;
2918
+ /**
2919
+ * The caption for the file URL in the insertFile dialog.
2920
+ */
2921
+ fileWebAddress;
2922
+ /**
2923
+ * The caption for the image alternate text in the insertImage dialog.
2924
+ */
2925
+ imageAltText;
2926
+ /**
2927
+ * The caption for the image height in the insertImage dialog.
2928
+ */
2929
+ imageHeight;
2930
+ /**
2931
+ * The caption for the image URL in the insertImage dialog.
2932
+ */
2933
+ imageWebAddress;
2934
+ /**
2935
+ * The caption for the image width in the insertImage dialog.
2936
+ */
2937
+ imageWidth;
2938
+ /**
2939
+ * The caption for the checkbox for opening the link in a new window in the createLink dialog.
2940
+ */
2941
+ linkOpenInNewWindow;
2942
+ /**
2943
+ * The caption for the link text in the createLink dialog.
2944
+ */
2945
+ linkText;
2946
+ /**
2947
+ * The caption for the link title in the createLink dialog.
2948
+ */
2949
+ linkTitle;
2950
+ /**
2951
+ * The caption for the URL in the createLink dialog.
2952
+ */
2953
+ linkWebAddress;
2954
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MessagesDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
2955
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.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 });
2656
2956
  }
2657
- MessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MessagesDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
2658
- MessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", 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 });
2659
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MessagesDirective, decorators: [{
2957
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MessagesDirective, decorators: [{
2660
2958
  type: Directive,
2661
2959
  args: [{
2662
2960
  selector: '[kendoEditorMessages]'
@@ -2779,17 +3077,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
2779
3077
  * @hidden
2780
3078
  */
2781
3079
  class LocalizedMessagesDirective extends MessagesDirective {
3080
+ service;
2782
3081
  constructor(service) {
2783
3082
  super();
2784
3083
  this.service = service;
2785
3084
  }
3085
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
3086
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: LocalizedMessagesDirective, isStandalone: true, selector: "[kendoEditorLocalizedMessages]", providers: [{
3087
+ provide: MessagesDirective,
3088
+ useExisting: forwardRef(() => LocalizedMessagesDirective)
3089
+ }], usesInheritance: true, ngImport: i0 });
2786
3090
  }
2787
- LocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
2788
- LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedMessagesDirective, isStandalone: true, selector: "[kendoEditorLocalizedMessages]", providers: [{
2789
- provide: MessagesDirective,
2790
- useExisting: forwardRef(() => LocalizedMessagesDirective)
2791
- }], usesInheritance: true, ngImport: i0 });
2792
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalizedMessagesDirective, decorators: [{
3091
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LocalizedMessagesDirective, decorators: [{
2793
3092
  type: Directive,
2794
3093
  args: [{
2795
3094
  providers: [{
@@ -2827,160 +3126,14 @@ const getPasteCleanupAttributes = (config) => {
2827
3126
  * Represents the [Kendo UI Editor component for Angular]({% slug overview_editor %}).
2828
3127
  */
2829
3128
  class EditorComponent {
2830
- constructor(dialogService, localization, cdr, ngZone, element, providerService, toolsService, renderer) {
2831
- this.dialogService = dialogService;
2832
- this.localization = localization;
2833
- this.cdr = cdr;
2834
- this.ngZone = ngZone;
2835
- this.element = element;
2836
- this.providerService = providerService;
2837
- this.toolsService = toolsService;
2838
- this.renderer = renderer;
2839
- /**
2840
- * If set to `false`, the Editor will run in style non-encapsulated mode. This means
2841
- * that the styles of the page will be persisted in the Editor and its content will be affected by them.
2842
- * @default true
2843
- */
2844
- this.iframe = true;
2845
- /**
2846
- * If set to `true` or `ApplyToWordOptions` object, commands that apply emphasis or inline styles will be applied to the whole word the cursor is in.
2847
- * @default false
2848
- */
2849
- this.applyToWord = false;
2850
- /**
2851
- * By default, whitespace is collapsed as per HTML's rules.
2852
- * Set to `true` to preserve whitespace, but normalize newlines to spaces.
2853
- * Set to `'full'` to preserve whitespace entirely. In this case the default ProseMirror behavior is to parse white space into nodes.
2854
- *
2855
- * @default false
2856
- */
2857
- this.preserveWhitespace = false;
2858
- /**
2859
- * Determines whether the Editor can be resized ([see example](slug:resizing_editor#toc-resizing-the-editor)).
2860
- * @default false
2861
- */
2862
- this.resizable = false;
2863
- /**
2864
- * Fires each time the value of the Editor is changed upon user interaction&mdash;
2865
- * for example, when the value is updated through typing in the content area or using some of the Editor tools ([see example](slug:events_editor)).
2866
- * When the value of the Editor is programmatically changed through its API (`ngModel`) or form binding (`formControl`),
2867
- * the `valueChange` event is not triggered because it might cause a mix-up with the
2868
- * built-in `valueChange` mechanisms of the `ngModel` or `formControl` bindings.
2869
- */
2870
- this.valueChange = new EventEmitter();
2871
- /**
2872
- * Fires when the content area of the Editor is focused ([see example](slug:events_editor)).
2873
- */
2874
- this.onFocus = new EventEmitter();
2875
- /**
2876
- * Fires when the user performs paste in the content area of the Editor ([see example](slug:events_editor)).
2877
- * The event is preventable. If you cancel it, the Editor content will not change.
2878
- */
2879
- this.paste = new EventEmitter();
2880
- /**
2881
- * Fires when the content area of the Editor is blurred ([see example](slug:events_editor)).
2882
- */
2883
- this.onBlur = new EventEmitter();
2884
- this.hostClass = true;
2885
- /**
2886
- * @hidden
2887
- */
2888
- this.stateChange = new BehaviorSubject(initialToolBarState);
2889
- /**
2890
- * @hidden
2891
- */
2892
- this.showLicenseWatermark = false;
2893
- /**
2894
- * @hidden
2895
- */
2896
- this.valueModified = new Subject();
2897
- /**
2898
- * @hidden
2899
- */
2900
- this.focusableId = `k-editor-${guid()}`;
2901
- this._readonly = false;
2902
- this._placeholder = '';
2903
- this.inForm = false;
2904
- this._iframeCss = { keepBuiltInCss: true };
2905
- this.afterViewInit = new Subject();
2906
- this.contentAreaLoaded = new Subject();
2907
- this.dispatchTransaction = (tr) => {
2908
- const docChanged = tr.docChanged;
2909
- if (this.disabled || (this.readonly && docChanged)) {
2910
- return;
2911
- }
2912
- if (docChanged) {
2913
- const doc = tr.doc;
2914
- const html = getHtml({ doc });
2915
- this.trOnChange = tr;
2916
- this.htmlOnChange = html;
2917
- this.ngZone.run(() => {
2918
- this.valueModified.next(html === EMPTY_PARAGRAPH ? '' : html);
2919
- });
2920
- }
2921
- if (!docChanged || this.inForm) {
2922
- this.view.updateState(this.view.state.apply(tr));
2923
- this.trOnChange = null;
2924
- }
2925
- };
2926
- this.transformPastedContent = (dirtyHtml, plainText) => {
2927
- if (plainText) {
2928
- return this.dispatchPasteEvent(dirtyHtml, dirtyHtml);
2929
- }
2930
- const pasteCleanupSettings = { ...defaultPasteCleanupSettings, ...this.pasteCleanupSettings };
2931
- const html = pipe(removeInvalidHTMLIf(pasteCleanupSettings.removeInvalidHTML), removeCommentsIf(pasteCleanupSettings.removeHtmlComments))(dirtyHtml);
2932
- const clean = pasteCleanup(html, {
2933
- convertMsLists: pasteCleanupSettings.convertMsLists,
2934
- stripTags: pasteCleanupSettings.stripTags.join('|'),
2935
- attributes: getPasteCleanupAttributes(pasteCleanupSettings)
2936
- });
2937
- return this.dispatchPasteEvent(dirtyHtml, clean);
2938
- };
2939
- this.transformPastedHTML = (html) => this.transformPastedContent(html);
2940
- this.transformPastedText = (html) => this.transformPastedContent(html, true);
2941
- this.changeValue = (value) => {
2942
- const prev = this._value;
2943
- this._value = value;
2944
- if (!this._view) {
2945
- return;
2946
- }
2947
- if (this.htmlOnChange === value && this.trOnChange) {
2948
- this.view.updateState(this.view.state.apply(this.trOnChange));
2949
- }
2950
- else {
2951
- const newValue = (prev || '') !== (value || '');
2952
- const formReset = (this.inForm && !value);
2953
- if (newValue || formReset) {
2954
- const iframeContentWindowNotPresent = this.iframe && !this.container.element.nativeElement.contentWindow;
2955
- if (iframeContentWindowNotPresent) {
2956
- return;
2957
- }
2958
- const state = this.view.state;
2959
- const nextDoc = parseContent(value || '', state.schema, { preserveWhitespace: this.preserveWhitespace });
2960
- const tr = state.tr
2961
- .setSelection(new AllSelection(state.doc))
2962
- .replaceSelectionWith(nextDoc);
2963
- this.view.updateState(state.apply(tr));
2964
- }
2965
- }
2966
- this.trOnChange = null;
2967
- this.htmlOnChange = null;
2968
- };
2969
- this.onChangeCallback = (value) => {
2970
- this.changeValue(value);
2971
- };
2972
- this.onTouchedCallback = (_) => { };
2973
- this.onPaste = (_view, nativeEvent) => {
2974
- this._pasteEvent = nativeEvent;
2975
- return false;
2976
- };
2977
- const isValid = validatePackage(packageMetadata);
2978
- this.showLicenseWatermark = shouldShowValidationUI(isValid);
2979
- this.providerService.editor = this;
2980
- this.direction = localization.rtl ? 'rtl' : 'ltr';
2981
- // https://stackoverflow.com/questions/56572483/chrome-is-synchronously-handling-iframe-loading-whereas-firefox-handles-it-asyn
2982
- this.subs = zip(this.afterViewInit.asObservable(), this.contentAreaLoaded.asObservable()).subscribe(() => this.initialize());
2983
- }
3129
+ dialogService;
3130
+ localization;
3131
+ cdr;
3132
+ ngZone;
3133
+ element;
3134
+ providerService;
3135
+ toolsService;
3136
+ renderer;
2984
3137
  /**
2985
3138
  * Sets the value of the Editor ([see example](slug:overview_editor)).
2986
3139
  */
@@ -3061,6 +3214,12 @@ class EditorComponent {
3061
3214
  get readonly() {
3062
3215
  return this._readonly;
3063
3216
  }
3217
+ /**
3218
+ * If set to `false`, the Editor will run in style non-encapsulated mode. This means
3219
+ * that the styles of the page will be persisted in the Editor and its content will be affected by them.
3220
+ * @default true
3221
+ */
3222
+ iframe = true;
3064
3223
  /**
3065
3224
  * Allows applying custom CSS styles to the Editor in iframe mode.
3066
3225
  */
@@ -3070,6 +3229,11 @@ class EditorComponent {
3070
3229
  get iframeCss() {
3071
3230
  return this._iframeCss;
3072
3231
  }
3232
+ /**
3233
+ * If set to `true` or `ApplyToWordOptions` object, commands that apply emphasis or inline styles will be applied to the whole word the cursor is in.
3234
+ * @default false
3235
+ */
3236
+ applyToWord = false;
3073
3237
  /**
3074
3238
  * Allows providing a custom schema. ([see example]({% slug schema_editor %}))
3075
3239
  */
@@ -3118,6 +3282,45 @@ class EditorComponent {
3118
3282
  get placeholder() {
3119
3283
  return this._placeholder;
3120
3284
  }
3285
+ /**
3286
+ * By default, whitespace is collapsed as per HTML's rules.
3287
+ * Set to `true` to preserve whitespace, but normalize newlines to spaces.
3288
+ * Set to `'full'` to preserve whitespace entirely. In this case the default ProseMirror behavior is to parse white space into nodes.
3289
+ *
3290
+ * @default false
3291
+ */
3292
+ preserveWhitespace = false;
3293
+ /**
3294
+ * Configures how pasted content is modified before it is added to the Editor ([see example]({% slug paste_cleanup %})).
3295
+ */
3296
+ pasteCleanupSettings;
3297
+ /**
3298
+ * Determines whether the Editor can be resized ([see example](slug:resizing_editor#toc-resizing-the-editor)).
3299
+ * @default false
3300
+ */
3301
+ resizable = false;
3302
+ /**
3303
+ * Fires each time the value of the Editor is changed upon user interaction&mdash;
3304
+ * for example, when the value is updated through typing in the content area or using some of the Editor tools ([see example](slug:events_editor)).
3305
+ * When the value of the Editor is programmatically changed through its API (`ngModel`) or form binding (`formControl`),
3306
+ * the `valueChange` event is not triggered because it might cause a mix-up with the
3307
+ * built-in `valueChange` mechanisms of the `ngModel` or `formControl` bindings.
3308
+ */
3309
+ valueChange = new EventEmitter();
3310
+ /**
3311
+ * Fires when the content area of the Editor is focused ([see example](slug:events_editor)).
3312
+ */
3313
+ onFocus = new EventEmitter();
3314
+ /**
3315
+ * Fires when the user performs paste in the content area of the Editor ([see example](slug:events_editor)).
3316
+ * The event is preventable. If you cancel it, the Editor content will not change.
3317
+ */
3318
+ paste = new EventEmitter();
3319
+ /**
3320
+ * Fires when the content area of the Editor is blurred ([see example](slug:events_editor)).
3321
+ */
3322
+ onBlur = new EventEmitter();
3323
+ hostClass = true;
3121
3324
  get resizableClass() {
3122
3325
  return !!this.resizable;
3123
3326
  }
@@ -3152,6 +3355,14 @@ class EditorComponent {
3152
3355
  const resizableOptions = this.resizable;
3153
3356
  return resizableOptions.maxHeight ? resizableOptions.maxHeight + 'px' : undefined;
3154
3357
  }
3358
+ /**
3359
+ * @hidden
3360
+ */
3361
+ stateChange = new BehaviorSubject(initialToolBarState);
3362
+ /**
3363
+ * @hidden
3364
+ */
3365
+ showLicenseWatermark = false;
3155
3366
  get toolbar() {
3156
3367
  return this.defaultToolbarComponent || this.userToolBarComponent;
3157
3368
  }
@@ -3171,6 +3382,63 @@ class EditorComponent {
3171
3382
  get selectionText() {
3172
3383
  return this._view && this._view.state ? getSelectionText$1(this._view.state) : '';
3173
3384
  }
3385
+ /**
3386
+ * @hidden
3387
+ */
3388
+ valueModified = new Subject();
3389
+ userToolBarComponent;
3390
+ userToolBarElement;
3391
+ dialogContainer;
3392
+ // Use `ViewContainerRef` instead of `ElementRef` because the dialog expects `ViewContainerRef`.
3393
+ container;
3394
+ direction;
3395
+ viewMountElement;
3396
+ /**
3397
+ * @hidden
3398
+ */
3399
+ focusChangedProgrammatically;
3400
+ /**
3401
+ * @hidden
3402
+ */
3403
+ shouldEmitFocus;
3404
+ /**
3405
+ * @hidden
3406
+ */
3407
+ focusableId = `k-editor-${guid()}`;
3408
+ defaultToolbar;
3409
+ defaultToolbarComponent;
3410
+ subs;
3411
+ _view;
3412
+ _value;
3413
+ _disabled;
3414
+ _readonly = false;
3415
+ _schema;
3416
+ _plugins;
3417
+ _placeholder = '';
3418
+ _styleObserver;
3419
+ trOnChange;
3420
+ htmlOnChange;
3421
+ inForm = false;
3422
+ _pasteEvent;
3423
+ _iframeCss = { keepBuiltInCss: true };
3424
+ afterViewInit = new Subject();
3425
+ contentAreaLoaded = new Subject();
3426
+ constructor(dialogService, localization, cdr, ngZone, element, providerService, toolsService, renderer) {
3427
+ this.dialogService = dialogService;
3428
+ this.localization = localization;
3429
+ this.cdr = cdr;
3430
+ this.ngZone = ngZone;
3431
+ this.element = element;
3432
+ this.providerService = providerService;
3433
+ this.toolsService = toolsService;
3434
+ this.renderer = renderer;
3435
+ const isValid = validatePackage(packageMetadata);
3436
+ this.showLicenseWatermark = shouldShowValidationUI(isValid);
3437
+ this.providerService.editor = this;
3438
+ this.direction = localization.rtl ? 'rtl' : 'ltr';
3439
+ // https://stackoverflow.com/questions/56572483/chrome-is-synchronously-handling-iframe-loading-whereas-firefox-handles-it-asyn
3440
+ this.subs = zip(this.afterViewInit.asObservable(), this.contentAreaLoaded.asObservable()).subscribe(() => this.initialize());
3441
+ }
3174
3442
  ngOnInit() {
3175
3443
  this.subs.add(this.localization.changes.subscribe(({ rtl }) => {
3176
3444
  this.direction = rtl ? 'rtl' : 'ltr';
@@ -3502,6 +3770,71 @@ class EditorComponent {
3502
3770
  .pipe(filter$1((event) => !this.viewMountElement.contains(event.relatedTarget)))
3503
3771
  .subscribe(() => this.onTouchedCallback()));
3504
3772
  }
3773
+ dispatchTransaction = (tr) => {
3774
+ const docChanged = tr.docChanged;
3775
+ if (this.disabled || (this.readonly && docChanged)) {
3776
+ return;
3777
+ }
3778
+ if (docChanged) {
3779
+ const doc = tr.doc;
3780
+ const html = getHtml({ doc });
3781
+ this.trOnChange = tr;
3782
+ this.htmlOnChange = html;
3783
+ this.ngZone.run(() => {
3784
+ this.valueModified.next(html === EMPTY_PARAGRAPH ? '' : html);
3785
+ });
3786
+ }
3787
+ if (!docChanged || this.inForm) {
3788
+ this.view.updateState(this.view.state.apply(tr));
3789
+ this.trOnChange = null;
3790
+ }
3791
+ };
3792
+ transformPastedContent = (dirtyHtml, plainText) => {
3793
+ if (plainText) {
3794
+ return this.dispatchPasteEvent(dirtyHtml, dirtyHtml);
3795
+ }
3796
+ const pasteCleanupSettings = { ...defaultPasteCleanupSettings, ...this.pasteCleanupSettings };
3797
+ const html = pipe(removeInvalidHTMLIf(pasteCleanupSettings.removeInvalidHTML), removeCommentsIf(pasteCleanupSettings.removeHtmlComments))(dirtyHtml);
3798
+ const clean = pasteCleanup(html, {
3799
+ convertMsLists: pasteCleanupSettings.convertMsLists,
3800
+ stripTags: pasteCleanupSettings.stripTags.join('|'),
3801
+ attributes: getPasteCleanupAttributes(pasteCleanupSettings)
3802
+ });
3803
+ return this.dispatchPasteEvent(dirtyHtml, clean);
3804
+ };
3805
+ transformPastedHTML = (html) => this.transformPastedContent(html);
3806
+ transformPastedText = (html) => this.transformPastedContent(html, true);
3807
+ changeValue = (value) => {
3808
+ const prev = this._value;
3809
+ this._value = value;
3810
+ if (!this._view) {
3811
+ return;
3812
+ }
3813
+ if (this.htmlOnChange === value && this.trOnChange) {
3814
+ this.view.updateState(this.view.state.apply(this.trOnChange));
3815
+ }
3816
+ else {
3817
+ const newValue = (prev || '') !== (value || '');
3818
+ const formReset = (this.inForm && !value);
3819
+ if (newValue || formReset) {
3820
+ const iframeContentWindowNotPresent = this.iframe && !this.container.element.nativeElement.contentWindow;
3821
+ if (iframeContentWindowNotPresent) {
3822
+ return;
3823
+ }
3824
+ const state = this.view.state;
3825
+ const nextDoc = parseContent(value || '', state.schema, { preserveWhitespace: this.preserveWhitespace });
3826
+ const tr = state.tr
3827
+ .setSelection(new AllSelection(state.doc))
3828
+ .replaceSelectionWith(nextDoc);
3829
+ this.view.updateState(state.apply(tr));
3830
+ }
3831
+ }
3832
+ this.trOnChange = null;
3833
+ this.htmlOnChange = null;
3834
+ };
3835
+ onChangeCallback = (value) => {
3836
+ this.changeValue(value);
3837
+ };
3505
3838
  normalizeSize() {
3506
3839
  if (typeof this.resizable === 'object' && !this._styleObserver) {
3507
3840
  const element = this.element.nativeElement;
@@ -3543,6 +3876,11 @@ class EditorComponent {
3543
3876
  }
3544
3877
  });
3545
3878
  }
3879
+ onTouchedCallback = (_) => { };
3880
+ onPaste = (_view, nativeEvent) => {
3881
+ this._pasteEvent = nativeEvent;
3882
+ return false;
3883
+ };
3546
3884
  dispatchPasteEvent(originalContent, cleanContent) {
3547
3885
  if (hasObservers(this.paste)) {
3548
3886
  if (!this.iframe) {
@@ -3554,30 +3892,29 @@ class EditorComponent {
3554
3892
  }
3555
3893
  return cleanContent;
3556
3894
  }
3557
- }
3558
- EditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", 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 });
3559
- EditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: EditorComponent, isStandalone: true, 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: [
3560
- EditorLocalizationService,
3561
- ProviderService,
3562
- EditorToolsService,
3563
- {
3564
- provide: LocalizationService,
3565
- useExisting: EditorLocalizationService
3566
- },
3567
- {
3568
- provide: L10N_PREFIX,
3569
- useValue: 'kendo.editor'
3570
- },
3571
- {
3572
- provide: NG_VALUE_ACCESSOR,
3573
- useExisting: forwardRef(() => EditorComponent),
3574
- multi: true
3575
- },
3576
- {
3577
- provide: KendoInput,
3578
- useExisting: forwardRef(() => EditorComponent)
3579
- }
3580
- ], queries: [{ propertyName: "userToolBarComponent", first: true, predicate: ToolBarComponent, descendants: true }, { propertyName: "userToolBarElement", first: true, predicate: ToolBarComponent, descendants: true, read: ElementRef }], viewQueries: [{ propertyName: "dialogContainer", first: true, predicate: ["dialogsContainer"], descendants: true, read: ViewContainerRef }, { propertyName: "container", first: true, predicate: ["content"], descendants: true, read: ViewContainerRef }, { propertyName: "defaultToolbar", first: true, predicate: ["defaultToolbar"], descendants: true, read: ElementRef }, { propertyName: "defaultToolbarComponent", first: true, predicate: ["defaultToolbar"], descendants: true, read: ToolBarComponent }], usesOnChanges: true, ngImport: i0, template: `
3895
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.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 });
3896
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: EditorComponent, isStandalone: true, 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: [
3897
+ EditorLocalizationService,
3898
+ ProviderService,
3899
+ EditorToolsService,
3900
+ {
3901
+ provide: LocalizationService,
3902
+ useExisting: EditorLocalizationService
3903
+ },
3904
+ {
3905
+ provide: L10N_PREFIX,
3906
+ useValue: 'kendo.editor'
3907
+ },
3908
+ {
3909
+ provide: NG_VALUE_ACCESSOR,
3910
+ useExisting: forwardRef(() => EditorComponent),
3911
+ multi: true
3912
+ },
3913
+ {
3914
+ provide: KendoInput,
3915
+ useExisting: forwardRef(() => EditorComponent)
3916
+ }
3917
+ ], queries: [{ propertyName: "userToolBarComponent", first: true, predicate: ToolBarComponent, descendants: true }, { propertyName: "userToolBarElement", first: true, predicate: ToolBarComponent, descendants: true, read: ElementRef }], viewQueries: [{ propertyName: "dialogContainer", first: true, predicate: ["dialogsContainer"], descendants: true, read: ViewContainerRef }, { propertyName: "container", first: true, predicate: ["content"], descendants: true, read: ViewContainerRef }, { propertyName: "defaultToolbar", first: true, predicate: ["defaultToolbar"], descendants: true, read: ElementRef }, { propertyName: "defaultToolbarComponent", first: true, predicate: ["defaultToolbar"], descendants: true, read: ToolBarComponent }], usesOnChanges: true, ngImport: i0, template: `
3581
3918
  <ng-container
3582
3919
  kendoEditorLocalizedMessages
3583
3920
  i18n-alignCenter="kendo.editor.alignCenter|The title of the tool that aligns text in the center."
@@ -3737,7 +4074,8 @@ EditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versio
3737
4074
 
3738
4075
  <div kendoWatermarkOverlay *ngIf="showLicenseWatermark"></div>
3739
4076
  `, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective, selector: "[kendoEditorLocalizedMessages]" }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ToolBarComponent, selector: "kendo-toolbar", inputs: ["overflow", "resizable", "popupSettings", "fillMode", "tabindex", "size", "tabIndex"], outputs: ["open", "close"], exportAs: ["kendoToolBar"] }, { kind: "component", type: ToolBarButtonGroupComponent, selector: "kendo-toolbar-buttongroup", inputs: ["disabled", "fillMode", "selection", "width", "look"], exportAs: ["kendoToolBarButtonGroup"] }, { kind: "component", type: 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: "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: "component", type: EditorFormatComponent, selector: "kendo-toolbar-dropdownlist[kendoEditorFormat]", inputs: ["data"], outputs: ["valueChange"] }, { 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: EditorInsertUnorderedListButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertUnorderedListButton]" }, { kind: "directive", type: EditorInsertOrderedListButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertOrderedListButton]" }, { 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: EditorInsertImageButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertImageButton]" }, { kind: "component", type: WatermarkOverlayComponent, selector: "div[kendoWatermarkOverlay]" }] });
3740
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorComponent, decorators: [{
4077
+ }
4078
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorComponent, decorators: [{
3741
4079
  type: Component,
3742
4080
  args: [{
3743
4081
  selector: 'kendo-editor',
@@ -4018,6 +4356,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
4018
4356
  * @hidden
4019
4357
  */
4020
4358
  class ColorPickerDialogComponent extends DialogContentBase {
4359
+ dialog;
4360
+ localization;
4361
+ editor;
4362
+ colorPicker;
4363
+ value;
4364
+ title;
4365
+ editorCommand;
4366
+ paletteSettings;
4367
+ icon;
4368
+ svgIcon;
4369
+ view;
4370
+ views;
4021
4371
  constructor(dialog, localization) {
4022
4372
  super(dialog);
4023
4373
  this.dialog = dialog;
@@ -4052,9 +4402,8 @@ class ColorPickerDialogComponent extends DialogContentBase {
4052
4402
  textFor(key) {
4053
4403
  return this.localization.get(key);
4054
4404
  }
4055
- }
4056
- ColorPickerDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ColorPickerDialogComponent, deps: [{ token: i1$1.DialogRef }, { token: EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
4057
- ColorPickerDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ColorPickerDialogComponent, isStandalone: true, selector: "ng-component", inputs: { editor: "editor" }, viewQueries: [{ propertyName: "colorPicker", first: true, predicate: ["colorpicker"], descendants: true, read: ColorPickerComponent, static: true }], usesInheritance: true, ngImport: i0, template: `
4405
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ColorPickerDialogComponent, deps: [{ token: i1$1.DialogRef }, { token: EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
4406
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ColorPickerDialogComponent, isStandalone: true, selector: "ng-component", inputs: { editor: "editor" }, viewQueries: [{ propertyName: "colorPicker", first: true, predicate: ["colorpicker"], descendants: true, read: ColorPickerComponent, static: true }], usesInheritance: true, ngImport: i0, template: `
4058
4407
  <kendo-dialog-titlebar (close)="onCancelAction()">
4059
4408
  {{ textFor(editorCommand) }}
4060
4409
  </kendo-dialog-titlebar>
@@ -4085,7 +4434,8 @@ ColorPickerDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0
4085
4434
  >{{ textFor('dialogCancel') }}</button>
4086
4435
  </kendo-dialog-actions>
4087
4436
  `, isInline: true, dependencies: [{ kind: "component", type: DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { kind: "component", type: 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: DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
4088
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ColorPickerDialogComponent, decorators: [{
4437
+ }
4438
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ColorPickerDialogComponent, decorators: [{
4089
4439
  type: Component,
4090
4440
  args: [{
4091
4441
  template: `
@@ -4133,18 +4483,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
4133
4483
  * @hidden
4134
4484
  */
4135
4485
  class FontFamilyDropDownListComponent {
4136
- constructor() {
4137
- this.valueChange = new EventEmitter();
4138
- }
4486
+ data;
4487
+ value;
4488
+ defaultItem;
4489
+ itemDisabled;
4490
+ title;
4491
+ disabled;
4492
+ tabindex;
4493
+ valueChange = new EventEmitter();
4494
+ element;
4495
+ dropDownList;
4139
4496
  onValueChange(tag) {
4140
4497
  this.valueChange.emit(tag);
4141
4498
  }
4142
4499
  focus() {
4143
4500
  this.dropDownList.focus();
4144
4501
  }
4145
- }
4146
- FontFamilyDropDownListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FontFamilyDropDownListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
4147
- FontFamilyDropDownListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: FontFamilyDropDownListComponent, isStandalone: true, 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: `
4502
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FontFamilyDropDownListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
4503
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: FontFamilyDropDownListComponent, isStandalone: true, 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: `
4148
4504
  <kendo-dropdownlist
4149
4505
  #element
4150
4506
  kendoEditorDropDownTool
@@ -4168,7 +4524,8 @@ FontFamilyDropDownListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion:
4168
4524
  </ng-template>
4169
4525
  </kendo-dropdownlist>
4170
4526
  `, isInline: true, dependencies: [{ kind: "component", type: 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]" }, { kind: "directive", type: ItemTemplateDirective, selector: "[kendoDropDownListItemTemplate],[kendoComboBoxItemTemplate],[kendoAutoCompleteItemTemplate],[kendoMultiSelectItemTemplate]" }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
4171
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FontFamilyDropDownListComponent, decorators: [{
4527
+ }
4528
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FontFamilyDropDownListComponent, decorators: [{
4172
4529
  type: Component,
4173
4530
  args: [{
4174
4531
  selector: 'kendo-editor-fontfamily-dropdownlist',
@@ -4227,11 +4584,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
4227
4584
  * @hidden
4228
4585
  */
4229
4586
  class FontFamilyDialogComponent extends DialogContentBase {
4587
+ dialog;
4588
+ localization;
4589
+ editor;
4590
+ fontFamilyDropDownList;
4591
+ data = [];
4592
+ defaultItem;
4593
+ value;
4594
+ itemDisabled;
4230
4595
  constructor(dialog, localization) {
4231
4596
  super(dialog);
4232
4597
  this.dialog = dialog;
4233
4598
  this.localization = localization;
4234
- this.data = [];
4235
4599
  }
4236
4600
  onCancelAction() {
4237
4601
  this.dialog.close();
@@ -4252,9 +4616,8 @@ class FontFamilyDialogComponent extends DialogContentBase {
4252
4616
  textFor(key) {
4253
4617
  return this.localization.get(key);
4254
4618
  }
4255
- }
4256
- FontFamilyDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FontFamilyDialogComponent, deps: [{ token: i1$1.DialogRef }, { token: EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
4257
- FontFamilyDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: FontFamilyDialogComponent, isStandalone: true, selector: "ng-component", inputs: { editor: "editor" }, viewQueries: [{ propertyName: "fontFamilyDropDownList", first: true, predicate: ["fontFamilyDropDownList"], descendants: true, read: FontFamilyDropDownListComponent, static: true }], usesInheritance: true, ngImport: i0, template: `
4619
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FontFamilyDialogComponent, deps: [{ token: i1$1.DialogRef }, { token: EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
4620
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: FontFamilyDialogComponent, isStandalone: true, selector: "ng-component", inputs: { editor: "editor" }, viewQueries: [{ propertyName: "fontFamilyDropDownList", first: true, predicate: ["fontFamilyDropDownList"], descendants: true, read: FontFamilyDropDownListComponent, static: true }], usesInheritance: true, ngImport: i0, template: `
4258
4621
  <kendo-dialog-titlebar (close)="onCancelAction()">
4259
4622
  {{ textFor('fontFamily') }}
4260
4623
  </kendo-dialog-titlebar>
@@ -4280,7 +4643,8 @@ FontFamilyDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.
4280
4643
  >{{ textFor('dialogCancel') }}</button>
4281
4644
  </kendo-dialog-actions>
4282
4645
  `, isInline: true, dependencies: [{ kind: "component", type: DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { kind: "component", type: FontFamilyDropDownListComponent, selector: "kendo-editor-fontfamily-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }, { kind: "component", type: DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
4283
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FontFamilyDialogComponent, decorators: [{
4646
+ }
4647
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FontFamilyDialogComponent, decorators: [{
4284
4648
  type: Component,
4285
4649
  args: [{
4286
4650
  template: `
@@ -4323,14 +4687,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
4323
4687
  * @hidden
4324
4688
  */
4325
4689
  class PopupTableGridComponent {
4690
+ localization;
4691
+ cellClick = new EventEmitter();
4692
+ tableWizardClick = new EventEmitter();
4693
+ tableWizardIcon = tableWizardIcon;
4694
+ state = { rows: -1, cols: -1 };
4695
+ rows = 6;
4696
+ cols = 8;
4326
4697
  constructor(localization) {
4327
4698
  this.localization = localization;
4328
- this.cellClick = new EventEmitter();
4329
- this.tableWizardClick = new EventEmitter();
4330
- this.tableWizardIcon = tableWizardIcon;
4331
- this.state = { rows: -1, cols: -1 };
4332
- this.rows = 6;
4333
- this.cols = 8;
4334
4699
  }
4335
4700
  get message() {
4336
4701
  const { rows, cols } = this.state;
@@ -4367,9 +4732,8 @@ class PopupTableGridComponent {
4367
4732
  openTableWizard() {
4368
4733
  this.tableWizardClick.emit();
4369
4734
  }
4370
- }
4371
- PopupTableGridComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PopupTableGridComponent, deps: [{ token: EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
4372
- PopupTableGridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PopupTableGridComponent, isStandalone: true, selector: "kendo-popup-table-grid", outputs: { cellClick: "cellClick", tableWizardClick: "tableWizardClick" }, ngImport: i0, template: `
4735
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PopupTableGridComponent, deps: [{ token: EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
4736
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: PopupTableGridComponent, isStandalone: true, selector: "kendo-popup-table-grid", outputs: { cellClick: "cellClick", tableWizardClick: "tableWizardClick" }, ngImport: i0, template: `
4373
4737
  <div
4374
4738
  [style.border-color]="'inherit'"
4375
4739
  class="k-ct-popup"
@@ -4389,7 +4753,8 @@ PopupTableGridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
4389
4753
  </div>
4390
4754
  -->
4391
4755
  `, isInline: true, dependencies: [{ kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
4392
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PopupTableGridComponent, decorators: [{
4756
+ }
4757
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PopupTableGridComponent, decorators: [{
4393
4758
  type: Component,
4394
4759
  args: [{
4395
4760
  selector: 'kendo-popup-table-grid',
@@ -4426,6 +4791,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
4426
4791
  * @hidden
4427
4792
  */
4428
4793
  class InsertTableDialogComponent extends DialogContentBase {
4794
+ dialog;
4795
+ localization;
4796
+ editor;
4429
4797
  constructor(dialog, localization) {
4430
4798
  super(dialog);
4431
4799
  this.dialog = dialog;
@@ -4446,9 +4814,8 @@ class InsertTableDialogComponent extends DialogContentBase {
4446
4814
  textFor(key) {
4447
4815
  return this.localization.get(key);
4448
4816
  }
4449
- }
4450
- InsertTableDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: InsertTableDialogComponent, deps: [{ token: i1$1.DialogRef }, { token: EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
4451
- InsertTableDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: InsertTableDialogComponent, isStandalone: true, selector: "ng-component", inputs: { editor: "editor" }, usesInheritance: true, ngImport: i0, template: `
4817
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: InsertTableDialogComponent, deps: [{ token: i1$1.DialogRef }, { token: EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
4818
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: InsertTableDialogComponent, isStandalone: true, selector: "ng-component", inputs: { editor: "editor" }, usesInheritance: true, ngImport: i0, template: `
4452
4819
  <kendo-dialog-titlebar (close)="onCancelAction()">
4453
4820
  {{ textFor('insertTable') }}
4454
4821
  </kendo-dialog-titlebar>
@@ -4462,7 +4829,8 @@ InsertTableDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0
4462
4829
  >{{ textFor('dialogCancel') }}</button>
4463
4830
  </kendo-dialog-actions>
4464
4831
  `, isInline: true, dependencies: [{ kind: "component", type: DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { kind: "component", type: PopupTableGridComponent, selector: "kendo-popup-table-grid", outputs: ["cellClick", "tableWizardClick"] }, { kind: "component", type: DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
4465
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: InsertTableDialogComponent, decorators: [{
4832
+ }
4833
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: InsertTableDialogComponent, decorators: [{
4466
4834
  type: Component,
4467
4835
  args: [{
4468
4836
  template: `
@@ -4490,18 +4858,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
4490
4858
  * @hidden
4491
4859
  */
4492
4860
  class FontSizeDropDownListComponent {
4493
- constructor() {
4494
- this.valueChange = new EventEmitter();
4495
- }
4861
+ data;
4862
+ value;
4863
+ defaultItem;
4864
+ itemDisabled;
4865
+ title;
4866
+ disabled;
4867
+ tabindex;
4868
+ valueChange = new EventEmitter();
4869
+ element;
4870
+ dropDownList;
4496
4871
  onValueChange(size) {
4497
4872
  this.valueChange.emit(size);
4498
4873
  }
4499
4874
  focus() {
4500
4875
  this.dropDownList.focus();
4501
4876
  }
4502
- }
4503
- FontSizeDropDownListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FontSizeDropDownListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
4504
- FontSizeDropDownListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: FontSizeDropDownListComponent, isStandalone: true, 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: `
4877
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FontSizeDropDownListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
4878
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: FontSizeDropDownListComponent, isStandalone: true, 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: `
4505
4879
  <kendo-dropdownlist
4506
4880
  #element
4507
4881
  kendoEditorDropDownTool
@@ -4520,7 +4894,8 @@ FontSizeDropDownListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "1
4520
4894
  >
4521
4895
  </kendo-dropdownlist>
4522
4896
  `, isInline: true, dependencies: [{ kind: "component", type: 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]" }] });
4523
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FontSizeDropDownListComponent, decorators: [{
4897
+ }
4898
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FontSizeDropDownListComponent, decorators: [{
4524
4899
  type: Component,
4525
4900
  args: [{
4526
4901
  selector: 'kendo-editor-fontsize-dropdownlist',
@@ -4574,11 +4949,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
4574
4949
  * @hidden
4575
4950
  */
4576
4951
  class FontSizeDialogComponent extends DialogContentBase {
4952
+ dialog;
4953
+ localization;
4954
+ editor;
4955
+ fontSizeDropDownList;
4956
+ data = [];
4957
+ defaultItem;
4958
+ value;
4959
+ itemDisabled;
4577
4960
  constructor(dialog, localization) {
4578
4961
  super(dialog);
4579
4962
  this.dialog = dialog;
4580
4963
  this.localization = localization;
4581
- this.data = [];
4582
4964
  }
4583
4965
  onCancelAction() {
4584
4966
  this.dialog.close();
@@ -4599,9 +4981,8 @@ class FontSizeDialogComponent extends DialogContentBase {
4599
4981
  textFor(key) {
4600
4982
  return this.localization.get(key);
4601
4983
  }
4602
- }
4603
- FontSizeDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FontSizeDialogComponent, deps: [{ token: i1$1.DialogRef }, { token: EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
4604
- FontSizeDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: FontSizeDialogComponent, isStandalone: true, selector: "ng-component", inputs: { editor: "editor" }, viewQueries: [{ propertyName: "fontSizeDropDownList", first: true, predicate: ["fontSizeDropDownList"], descendants: true, read: FontSizeDropDownListComponent, static: true }], usesInheritance: true, ngImport: i0, template: `
4984
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FontSizeDialogComponent, deps: [{ token: i1$1.DialogRef }, { token: EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
4985
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: FontSizeDialogComponent, isStandalone: true, selector: "ng-component", inputs: { editor: "editor" }, viewQueries: [{ propertyName: "fontSizeDropDownList", first: true, predicate: ["fontSizeDropDownList"], descendants: true, read: FontSizeDropDownListComponent, static: true }], usesInheritance: true, ngImport: i0, template: `
4605
4986
  <kendo-dialog-titlebar (close)="onCancelAction()">
4606
4987
  {{ textFor('fontSize') }}
4607
4988
  </kendo-dialog-titlebar>
@@ -4627,7 +5008,8 @@ FontSizeDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
4627
5008
  >{{ textFor('dialogCancel') }}</button>
4628
5009
  </kendo-dialog-actions>
4629
5010
  `, isInline: true, dependencies: [{ kind: "component", type: DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { kind: "component", type: FontSizeDropDownListComponent, selector: "kendo-editor-fontsize-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }, { kind: "component", type: DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
4630
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FontSizeDialogComponent, decorators: [{
5011
+ }
5012
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FontSizeDialogComponent, decorators: [{
4631
5013
  type: Component,
4632
5014
  args: [{
4633
5015
  template: `
@@ -4678,31 +5060,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
4678
5060
  * ```
4679
5061
  */
4680
5062
  class EditorFontSizeComponent extends ToolBarToolComponent {
4681
- constructor(dialogService, localization, providerService, toolsService, renderer) {
4682
- super();
4683
- this.dialogService = dialogService;
4684
- this.localization = localization;
4685
- this.toolsService = toolsService;
4686
- this.renderer = renderer;
4687
- this.disabled = false;
4688
- this.tabindex = -1;
4689
- /**
4690
- * Fires when the user updates the value of the drop-down list.
4691
- */
4692
- this.valueChange = new EventEmitter();
4693
- this.fontSizeSVGIcon = fontSizeIcon;
4694
- this._data = [
4695
- { text: '8px', size: '8px' },
4696
- { text: '10px', size: '10px' },
4697
- { text: '12px', size: '12px' },
4698
- { text: '14px', size: '14px' },
4699
- { text: '18px', size: '18px' },
4700
- { text: '24px', size: '24px' },
4701
- { text: '36px', size: '36px' }
4702
- ];
4703
- this.editor = providerService.editor;
4704
- this.isBuiltInTool = true;
4705
- }
5063
+ dialogService;
5064
+ localization;
5065
+ toolsService;
5066
+ renderer;
5067
+ value;
5068
+ disabled = false;
5069
+ tabindex = -1;
4706
5070
  /**
4707
5071
  * Overrides the default font size list.
4708
5072
  * Numeric values are treated as pixels.
@@ -4722,6 +5086,42 @@ class EditorFontSizeComponent extends ToolBarToolComponent {
4722
5086
  get data() {
4723
5087
  return this._data;
4724
5088
  }
5089
+ /**
5090
+ * Fires when the user updates the value of the drop-down list.
5091
+ */
5092
+ valueChange = new EventEmitter();
5093
+ element;
5094
+ fontSizeDropDownList;
5095
+ fontSizeButton;
5096
+ /**
5097
+ * @hidden
5098
+ */
5099
+ defaultItem;
5100
+ fontSizeSVGIcon = fontSizeIcon;
5101
+ /**
5102
+ * @hidden
5103
+ */
5104
+ itemDisabled;
5105
+ subs;
5106
+ editor;
5107
+ _data = [
5108
+ { text: '8px', size: '8px' },
5109
+ { text: '10px', size: '10px' },
5110
+ { text: '12px', size: '12px' },
5111
+ { text: '14px', size: '14px' },
5112
+ { text: '18px', size: '18px' },
5113
+ { text: '24px', size: '24px' },
5114
+ { text: '36px', size: '36px' }
5115
+ ];
5116
+ constructor(dialogService, localization, providerService, toolsService, renderer) {
5117
+ super();
5118
+ this.dialogService = dialogService;
5119
+ this.localization = localization;
5120
+ this.toolsService = toolsService;
5121
+ this.renderer = renderer;
5122
+ this.editor = providerService.editor;
5123
+ this.isBuiltInTool = true;
5124
+ }
4725
5125
  ngOnInit() {
4726
5126
  this.itemDisabled = itemArgs => {
4727
5127
  if (!this.overflows && this.fontSizeDropDownList && !this.fontSizeDropDownList.dropDownList.isOpen) {
@@ -4811,9 +5211,8 @@ class EditorFontSizeComponent extends ToolBarToolComponent {
4811
5211
  this.tabindex = -1;
4812
5212
  return false;
4813
5213
  }
4814
- }
4815
- EditorFontSizeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorFontSizeComponent, deps: [{ token: i1$1.DialogService }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
4816
- EditorFontSizeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: EditorFontSizeComponent, isStandalone: true, 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: `
5214
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorFontSizeComponent, deps: [{ token: i1$1.DialogService }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
5215
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: EditorFontSizeComponent, isStandalone: true, selector: "kendo-toolbar-dropdownlist[kendoEditorFontSize]", inputs: { data: "data" }, outputs: { valueChange: "valueChange" }, providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => EditorFontSizeComponent) }], viewQueries: [{ 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: `
4817
5216
  <ng-template #toolbarTemplate>
4818
5217
  <kendo-editor-fontsize-dropdownlist
4819
5218
  #element
@@ -4844,7 +5243,8 @@ EditorFontSizeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
4844
5243
  </div>
4845
5244
  </ng-template>
4846
5245
  `, isInline: true, dependencies: [{ kind: "component", type: FontSizeDropDownListComponent, selector: "kendo-editor-fontsize-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
4847
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorFontSizeComponent, decorators: [{
5246
+ }
5247
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorFontSizeComponent, decorators: [{
4848
5248
  type: Component,
4849
5249
  args: [{
4850
5250
  providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => EditorFontSizeComponent) }],
@@ -4887,12 +5287,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
4887
5287
  type: Input
4888
5288
  }], valueChange: [{
4889
5289
  type: Output
4890
- }], toolbarTemplate: [{
4891
- type: ViewChild,
4892
- args: ['toolbarTemplate', { static: true }]
4893
- }], popupTemplate: [{
4894
- type: ViewChild,
4895
- args: ['popupTemplate', { static: true }]
4896
5290
  }], element: [{
4897
5291
  type: ViewChild,
4898
5292
  args: ['element']
@@ -4917,36 +5311,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
4917
5311
  * ```
4918
5312
  */
4919
5313
  class EditorFontFamilyComponent extends ToolBarToolComponent {
4920
- constructor(dialogService, localization, providerService, toolsService, renderer) {
4921
- super();
4922
- this.dialogService = dialogService;
4923
- this.localization = localization;
4924
- this.toolsService = toolsService;
4925
- this.renderer = renderer;
4926
- this.disabled = false;
4927
- this.tabindex = -1;
4928
- /**
4929
- * Fires when the user updates the value of the drop-down list.
4930
- */
4931
- this.valueChange = new EventEmitter();
4932
- this.fontFamilySVGIcon = fontFamilyIcon;
4933
- this._data = [
4934
- { text: 'Arial', fontName: 'Arial,"Helvetica Neue",Helvetica,sans-serif' },
4935
- { text: 'Courier New', fontName: '"Courier New",Courier,"Lucida Sans Typewriter","Lucida Typewriter",monospace' },
4936
- { text: 'Georgia', fontName: 'Georgia,Times,"Times New Roman",serif' },
4937
- {
4938
- fontName: 'Impact,Haettenschweiler,"Franklin Gothic Bold",Charcoal,"Helvetica Inserat","Bitstream Vera Sans Bold","Arial Black","sans serif"',
4939
- text: 'Impact'
4940
- },
4941
- { text: 'Lucida Console', fontName: '"Lucida Console","Lucida Sans Typewriter",monaco,"Bitstream Vera Sans Mono",monospace' },
4942
- { text: 'Tahoma', fontName: 'Tahoma,Verdana,Segoe,sans-serif' },
4943
- { text: 'Times New Roman', fontName: 'TimesNewRoman,"Times New Roman",Times,Baskerville,Georgia,serif' },
4944
- { text: 'Trebuchet MS', fontName: '"Trebuchet MS","Lucida Grande","Lucida Sans Unicode","Lucida Sans",Tahoma,sans-serif' },
4945
- { text: 'Verdana', fontName: 'Verdana,Geneva,sans-serif' }
4946
- ];
4947
- this.editor = providerService.editor;
4948
- this.isBuiltInTool = true;
4949
- }
5314
+ dialogService;
5315
+ localization;
5316
+ toolsService;
5317
+ renderer;
5318
+ value;
5319
+ disabled = false;
5320
+ tabindex = -1;
4950
5321
  /**
4951
5322
  * Overrides the default font list.
4952
5323
  */
@@ -4956,6 +5327,47 @@ class EditorFontFamilyComponent extends ToolBarToolComponent {
4956
5327
  get data() {
4957
5328
  return this._data;
4958
5329
  }
5330
+ /**
5331
+ * Fires when the user updates the value of the drop-down list.
5332
+ */
5333
+ valueChange = new EventEmitter();
5334
+ element;
5335
+ fontFamilyDropDownList;
5336
+ fontFamilyButton;
5337
+ /**
5338
+ * @hidden
5339
+ */
5340
+ defaultItem;
5341
+ /**
5342
+ * @hidden
5343
+ */
5344
+ itemDisabled;
5345
+ fontFamilySVGIcon = fontFamilyIcon;
5346
+ subs;
5347
+ editor;
5348
+ _data = [
5349
+ { text: 'Arial', fontName: 'Arial,"Helvetica Neue",Helvetica,sans-serif' },
5350
+ { text: 'Courier New', fontName: '"Courier New",Courier,"Lucida Sans Typewriter","Lucida Typewriter",monospace' },
5351
+ { text: 'Georgia', fontName: 'Georgia,Times,"Times New Roman",serif' },
5352
+ {
5353
+ fontName: 'Impact,Haettenschweiler,"Franklin Gothic Bold",Charcoal,"Helvetica Inserat","Bitstream Vera Sans Bold","Arial Black","sans serif"',
5354
+ text: 'Impact'
5355
+ },
5356
+ { text: 'Lucida Console', fontName: '"Lucida Console","Lucida Sans Typewriter",monaco,"Bitstream Vera Sans Mono",monospace' },
5357
+ { text: 'Tahoma', fontName: 'Tahoma,Verdana,Segoe,sans-serif' },
5358
+ { text: 'Times New Roman', fontName: 'TimesNewRoman,"Times New Roman",Times,Baskerville,Georgia,serif' },
5359
+ { text: 'Trebuchet MS', fontName: '"Trebuchet MS","Lucida Grande","Lucida Sans Unicode","Lucida Sans",Tahoma,sans-serif' },
5360
+ { text: 'Verdana', fontName: 'Verdana,Geneva,sans-serif' }
5361
+ ];
5362
+ constructor(dialogService, localization, providerService, toolsService, renderer) {
5363
+ super();
5364
+ this.dialogService = dialogService;
5365
+ this.localization = localization;
5366
+ this.toolsService = toolsService;
5367
+ this.renderer = renderer;
5368
+ this.editor = providerService.editor;
5369
+ this.isBuiltInTool = true;
5370
+ }
4959
5371
  ngOnInit() {
4960
5372
  this.itemDisabled = (itemArgs) => {
4961
5373
  if (!this.overflows && this.fontFamilyDropDownList && !this.fontFamilyDropDownList.dropDownList.isOpen) {
@@ -5043,9 +5455,8 @@ class EditorFontFamilyComponent extends ToolBarToolComponent {
5043
5455
  this.tabindex = -1;
5044
5456
  return false;
5045
5457
  }
5046
- }
5047
- EditorFontFamilyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorFontFamilyComponent, deps: [{ token: i1$1.DialogService }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
5048
- EditorFontFamilyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: EditorFontFamilyComponent, isStandalone: true, 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: `
5458
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorFontFamilyComponent, deps: [{ token: i1$1.DialogService }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
5459
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: EditorFontFamilyComponent, isStandalone: true, selector: "kendo-toolbar-dropdownlist[kendoEditorFontFamily]", inputs: { data: "data" }, outputs: { valueChange: "valueChange" }, providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => EditorFontFamilyComponent) }], viewQueries: [{ 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: `
5049
5460
  <ng-template #toolbarTemplate>
5050
5461
  <kendo-editor-fontfamily-dropdownlist
5051
5462
  #element
@@ -5076,7 +5487,8 @@ EditorFontFamilyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.
5076
5487
  </div>
5077
5488
  </ng-template>
5078
5489
  `, isInline: true, dependencies: [{ kind: "component", type: FontFamilyDropDownListComponent, selector: "kendo-editor-fontfamily-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
5079
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorFontFamilyComponent, decorators: [{
5490
+ }
5491
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorFontFamilyComponent, decorators: [{
5080
5492
  type: Component,
5081
5493
  args: [{
5082
5494
  providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => EditorFontFamilyComponent) }],
@@ -5119,12 +5531,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
5119
5531
  type: Input
5120
5532
  }], valueChange: [{
5121
5533
  type: Output
5122
- }], toolbarTemplate: [{
5123
- type: ViewChild,
5124
- args: ['toolbarTemplate', { static: true }]
5125
- }], popupTemplate: [{
5126
- type: ViewChild,
5127
- args: ['popupTemplate', { static: true }]
5128
5534
  }], element: [{
5129
5535
  type: ViewChild,
5130
5536
  args: ['element']
@@ -5144,28 +5550,44 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
5144
5550
  * foreground or the background color of the text, use the `kendoEditorForeColor` or `kendoEditorBackColor` directivе ([more information]({% slug toolbartools_editor %}#toc-colorpickers)).
5145
5551
  */
5146
5552
  class EditorColorPickerComponent extends ToolBarToolComponent {
5147
- constructor(localization, dialogService, ngZone, providerService, renderer) {
5148
- super();
5149
- this.localization = localization;
5150
- this.dialogService = dialogService;
5151
- this.ngZone = ngZone;
5152
- this.renderer = renderer;
5153
- this.tabindex = -1;
5154
- /**
5155
- * Specifies if the component should be disabled.
5156
- *
5157
- * @default false
5158
- */
5159
- this.disabled = false;
5160
- /**
5161
- * Specifies whether the ColorPicker will render a gradient, palette, or both in its popup.
5162
- *
5163
- * @default ['palette']
5164
- */
5165
- this.views = ['palette'];
5166
- this.editor = providerService.editor;
5167
- this.isBuiltInTool = true;
5168
- }
5553
+ localization;
5554
+ dialogService;
5555
+ ngZone;
5556
+ renderer;
5557
+ tabindex = -1;
5558
+ /**
5559
+ * Specifies the initial value of the color picker.
5560
+ */
5561
+ value;
5562
+ /**
5563
+ * Specifies the Kendo UI font icon that will be used.
5564
+ */
5565
+ icon;
5566
+ /**
5567
+ * Defines an SVGIcon to be rendered within the ColorPicker button.
5568
+ * The input can take either an [existing Kendo SVG icon](slug:svgicon_list) or a custom one.
5569
+ */
5570
+ svgIcon;
5571
+ /**
5572
+ * Overrides the default [color palette settings]({% slug api_inputs_palettesettings %}).
5573
+ */
5574
+ paletteSettings;
5575
+ /**
5576
+ * Specifies the color-related command that will be executed.
5577
+ */
5578
+ editorCommand;
5579
+ /**
5580
+ * Specifies if the component should be disabled.
5581
+ *
5582
+ * @default false
5583
+ */
5584
+ disabled = false;
5585
+ /**
5586
+ * Specifies whether the ColorPicker will render a gradient, palette, or both in its popup.
5587
+ *
5588
+ * @default ['palette']
5589
+ */
5590
+ views = ['palette'];
5169
5591
  /**
5170
5592
  * @hidden
5171
5593
  *
@@ -5183,6 +5605,22 @@ class EditorColorPickerComponent extends ToolBarToolComponent {
5183
5605
  get title() {
5184
5606
  return this.localization.get(this.editorCommand);
5185
5607
  }
5608
+ element;
5609
+ colorPicker;
5610
+ colorPickerButton;
5611
+ subs;
5612
+ valueCache;
5613
+ editor;
5614
+ activeView;
5615
+ constructor(localization, dialogService, ngZone, providerService, renderer) {
5616
+ super();
5617
+ this.localization = localization;
5618
+ this.dialogService = dialogService;
5619
+ this.ngZone = ngZone;
5620
+ this.renderer = renderer;
5621
+ this.editor = providerService.editor;
5622
+ this.isBuiltInTool = true;
5623
+ }
5186
5624
  ngOnInit() {
5187
5625
  this.subs = this.editor.stateChange.subscribe(({ style }) => {
5188
5626
  this.disabled = style.disabled;
@@ -5300,9 +5738,8 @@ class EditorColorPickerComponent extends ToolBarToolComponent {
5300
5738
  this.tabindex = -1;
5301
5739
  return false;
5302
5740
  }
5303
- }
5304
- EditorColorPickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorColorPickerComponent, deps: [{ token: EditorLocalizationService }, { token: i1$1.DialogService }, { token: i0.NgZone }, { token: ProviderService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
5305
- EditorColorPickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: EditorColorPickerComponent, isStandalone: true, 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: `
5741
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorColorPickerComponent, deps: [{ token: EditorLocalizationService }, { token: i1$1.DialogService }, { token: i0.NgZone }, { token: ProviderService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
5742
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: EditorColorPickerComponent, isStandalone: true, 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: "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: `
5306
5743
  <ng-template #toolbarTemplate>
5307
5744
  <kendo-colorpicker
5308
5745
  #colorpicker
@@ -5344,7 +5781,8 @@ EditorColorPickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0
5344
5781
  </div>
5345
5782
  </ng-template>
5346
5783
  `, isInline: true, dependencies: [{ kind: "component", type: 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: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }] });
5347
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorColorPickerComponent, decorators: [{
5784
+ }
5785
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorColorPickerComponent, decorators: [{
5348
5786
  type: Component,
5349
5787
  args: [{
5350
5788
  providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => EditorColorPickerComponent) }],
@@ -5410,12 +5848,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
5410
5848
  type: Input
5411
5849
  }], view: [{
5412
5850
  type: Input
5413
- }], toolbarTemplate: [{
5414
- type: ViewChild,
5415
- args: ['toolbarTemplate', { static: true }]
5416
- }], popupTemplate: [{
5417
- type: ViewChild,
5418
- args: ['popupTemplate', { static: true }]
5419
5851
  }], element: [{
5420
5852
  type: ViewChild,
5421
5853
  args: ['colorpicker', { read: ElementRef }]
@@ -5438,16 +5870,33 @@ const popupWrapperHeight = '164px'; // Set to '192px' when TableWizard button is
5438
5870
  * ```
5439
5871
  */
5440
5872
  class EditorInsertTableButtonComponent extends ToolBarToolComponent {
5873
+ localization;
5874
+ popupService;
5875
+ dialogService;
5876
+ renderer;
5877
+ element;
5878
+ overflowElement;
5879
+ popupGridTemplate;
5880
+ /**
5881
+ * @hidden
5882
+ */
5883
+ popupRef;
5884
+ /**
5885
+ * @hidden
5886
+ */
5887
+ disabled;
5888
+ addTableSVGIcon = tableAddIcon;
5889
+ open = false;
5890
+ buttonBlurred = new EventEmitter();
5891
+ cellClicked = new EventEmitter();
5892
+ subs;
5893
+ editor;
5441
5894
  constructor(localization, popupService, dialogService, providerService, renderer) {
5442
5895
  super();
5443
5896
  this.localization = localization;
5444
5897
  this.popupService = popupService;
5445
5898
  this.dialogService = dialogService;
5446
5899
  this.renderer = renderer;
5447
- this.addTableSVGIcon = tableAddIcon;
5448
- this.open = false;
5449
- this.buttonBlurred = new EventEmitter();
5450
- this.cellClicked = new EventEmitter();
5451
5900
  this.editor = providerService.editor;
5452
5901
  this.subs = this.editor.stateChange.subscribe(({ insertTable }) => {
5453
5902
  this.disabled = insertTable.disabled;
@@ -5572,9 +6021,8 @@ class EditorInsertTableButtonComponent extends ToolBarToolComponent {
5572
6021
  getButton() {
5573
6022
  return (this.overflows ? this.overflowElement : this.element)?.nativeElement;
5574
6023
  }
5575
- }
5576
- EditorInsertTableButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorInsertTableButtonComponent, deps: [{ token: EditorLocalizationService }, { token: i2.PopupService }, { token: i1$1.DialogService }, { token: ProviderService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
5577
- EditorInsertTableButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: EditorInsertTableButtonComponent, isStandalone: true, 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: `
6024
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorInsertTableButtonComponent, deps: [{ token: EditorLocalizationService }, { token: i2.PopupService }, { token: i1$1.DialogService }, { token: ProviderService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
6025
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: EditorInsertTableButtonComponent, isStandalone: true, selector: "kendo-editor-insert-table-button", providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => EditorInsertTableButtonComponent) }], viewQueries: [{ 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: `
5578
6026
  <ng-template #toolbarTemplate>
5579
6027
  <button
5580
6028
  type="button"
@@ -5608,7 +6056,8 @@ EditorInsertTableButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion:
5608
6056
  <kendo-popup-table-grid (cellClick)="onCellClick($event)" (tableWizardClick)="onTableWizardClick()"></kendo-popup-table-grid>
5609
6057
  </ng-template>
5610
6058
  `, isInline: true, dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: PopupTableGridComponent, selector: "kendo-popup-table-grid", outputs: ["cellClick", "tableWizardClick"] }] });
5611
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorInsertTableButtonComponent, decorators: [{
6059
+ }
6060
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorInsertTableButtonComponent, decorators: [{
5612
6061
  type: Component,
5613
6062
  args: [{
5614
6063
  providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => EditorInsertTableButtonComponent) }],
@@ -5650,13 +6099,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
5650
6099
  standalone: true,
5651
6100
  imports: [ButtonComponent, IconWrapperComponent, NgIf, PopupTableGridComponent]
5652
6101
  }]
5653
- }], ctorParameters: function () { return [{ type: EditorLocalizationService }, { type: i2.PopupService }, { type: i1$1.DialogService }, { type: ProviderService }, { type: i0.Renderer2 }]; }, propDecorators: { toolbarTemplate: [{
5654
- type: ViewChild,
5655
- args: ['toolbarTemplate', { static: true }]
5656
- }], popupTemplate: [{
5657
- type: ViewChild,
5658
- args: ['popupTemplate']
5659
- }], element: [{
6102
+ }], ctorParameters: function () { return [{ type: EditorLocalizationService }, { type: i2.PopupService }, { type: i1$1.DialogService }, { type: ProviderService }, { type: i0.Renderer2 }]; }, propDecorators: { element: [{
5660
6103
  type: ViewChild,
5661
6104
  args: ['element', { read: ElementRef }]
5662
6105
  }], overflowElement: [{
@@ -5681,10 +6124,10 @@ class EditorBlockquoteDirective extends EditorCommandButton {
5681
6124
  constructor(button, localization, providerService, toolsService) {
5682
6125
  super('blockquote', button, localization, providerService, toolsService);
5683
6126
  }
6127
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorBlockquoteDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
6128
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditorBlockquoteDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorBlockquoteButton]", usesInheritance: true, ngImport: i0 });
5684
6129
  }
5685
- EditorBlockquoteDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorBlockquoteDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
5686
- EditorBlockquoteDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditorBlockquoteDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorBlockquoteButton]", usesInheritance: true, ngImport: i0 });
5687
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorBlockquoteDirective, decorators: [{
6130
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorBlockquoteDirective, decorators: [{
5688
6131
  type: Directive,
5689
6132
  args: [{
5690
6133
  selector: 'kendo-toolbar-button[kendoEditorBlockquoteButton]',
@@ -5707,10 +6150,10 @@ class EditorRedoButtonDirective extends EditorCommandButton {
5707
6150
  constructor(button, localization, providerService, toolsService) {
5708
6151
  super('redo', button, localization, providerService, toolsService);
5709
6152
  }
6153
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorRedoButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
6154
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditorRedoButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorRedoButton]", usesInheritance: true, ngImport: i0 });
5710
6155
  }
5711
- EditorRedoButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorRedoButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
5712
- EditorRedoButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditorRedoButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorRedoButton]", usesInheritance: true, ngImport: i0 });
5713
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorRedoButtonDirective, decorators: [{
6156
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorRedoButtonDirective, decorators: [{
5714
6157
  type: Directive,
5715
6158
  args: [{
5716
6159
  selector: 'kendo-toolbar-button[kendoEditorRedoButton]',
@@ -5733,10 +6176,10 @@ class EditorUndoButtonDirective extends EditorCommandButton {
5733
6176
  constructor(button, localization, providerService, toolsService) {
5734
6177
  super('undo', button, localization, providerService, toolsService);
5735
6178
  }
6179
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorUndoButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
6180
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditorUndoButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorUndoButton]", usesInheritance: true, ngImport: i0 });
5736
6181
  }
5737
- EditorUndoButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorUndoButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
5738
- EditorUndoButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditorUndoButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorUndoButton]", usesInheritance: true, ngImport: i0 });
5739
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorUndoButtonDirective, decorators: [{
6182
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorUndoButtonDirective, decorators: [{
5740
6183
  type: Directive,
5741
6184
  args: [{
5742
6185
  selector: 'kendo-toolbar-button[kendoEditorUndoButton]',
@@ -5758,10 +6201,10 @@ class EditorViewSourceButtonDirective extends EditorCommandDialog {
5758
6201
  constructor(button, localization, providerService, toolsService) {
5759
6202
  super('viewSource', button, localization, providerService, toolsService);
5760
6203
  }
6204
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorViewSourceButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
6205
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditorViewSourceButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorViewSourceButton]", usesInheritance: true, ngImport: i0 });
5761
6206
  }
5762
- EditorViewSourceButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorViewSourceButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
5763
- EditorViewSourceButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditorViewSourceButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorViewSourceButton]", usesInheritance: true, ngImport: i0 });
5764
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorViewSourceButtonDirective, decorators: [{
6207
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorViewSourceButtonDirective, decorators: [{
5765
6208
  type: Directive,
5766
6209
  args: [{
5767
6210
  selector: 'kendo-toolbar-button[kendoEditorViewSourceButton]',
@@ -5784,10 +6227,10 @@ class EditorStrikethroughButtonDirective extends EditorCommandButton {
5784
6227
  constructor(button, localization, providerService, toolsService) {
5785
6228
  super('strikethrough', button, localization, providerService, toolsService);
5786
6229
  }
6230
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorStrikethroughButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
6231
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditorStrikethroughButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorStrikethroughButton]", usesInheritance: true, ngImport: i0 });
5787
6232
  }
5788
- EditorStrikethroughButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorStrikethroughButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
5789
- EditorStrikethroughButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditorStrikethroughButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorStrikethroughButton]", usesInheritance: true, ngImport: i0 });
5790
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorStrikethroughButtonDirective, decorators: [{
6233
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorStrikethroughButtonDirective, decorators: [{
5791
6234
  type: Directive,
5792
6235
  args: [{
5793
6236
  selector: 'kendo-toolbar-button[kendoEditorStrikethroughButton]',
@@ -5810,10 +6253,10 @@ class EditorSubscriptButtonDirective extends EditorCommandButton {
5810
6253
  constructor(button, localization, providerService, toolsService) {
5811
6254
  super('subscript', button, localization, providerService, toolsService);
5812
6255
  }
6256
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorSubscriptButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
6257
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditorSubscriptButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorSubscriptButton]", usesInheritance: true, ngImport: i0 });
5813
6258
  }
5814
- EditorSubscriptButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorSubscriptButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
5815
- EditorSubscriptButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditorSubscriptButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorSubscriptButton]", usesInheritance: true, ngImport: i0 });
5816
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorSubscriptButtonDirective, decorators: [{
6259
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorSubscriptButtonDirective, decorators: [{
5817
6260
  type: Directive,
5818
6261
  args: [{
5819
6262
  selector: 'kendo-toolbar-button[kendoEditorSubscriptButton]',
@@ -5836,10 +6279,10 @@ class EditorSuperscriptButtonDirective extends EditorCommandButton {
5836
6279
  constructor(button, localization, providerService, toolsService) {
5837
6280
  super('superscript', button, localization, providerService, toolsService);
5838
6281
  }
6282
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorSuperscriptButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
6283
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditorSuperscriptButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorSuperscriptButton]", usesInheritance: true, ngImport: i0 });
5839
6284
  }
5840
- EditorSuperscriptButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorSuperscriptButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
5841
- EditorSuperscriptButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditorSuperscriptButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorSuperscriptButton]", usesInheritance: true, ngImport: i0 });
5842
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorSuperscriptButtonDirective, decorators: [{
6285
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorSuperscriptButtonDirective, decorators: [{
5843
6286
  type: Directive,
5844
6287
  args: [{
5845
6288
  selector: 'kendo-toolbar-button[kendoEditorSuperscriptButton]',
@@ -5861,10 +6304,10 @@ class EditorInsertFileButtonDirective extends EditorCommandDialog {
5861
6304
  constructor(button, localization, providerService, toolsService) {
5862
6305
  super('insertFile', button, localization, providerService, toolsService);
5863
6306
  }
6307
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorInsertFileButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
6308
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditorInsertFileButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorInsertFileButton]", usesInheritance: true, ngImport: i0 });
5864
6309
  }
5865
- EditorInsertFileButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorInsertFileButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
5866
- EditorInsertFileButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditorInsertFileButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorInsertFileButton]", usesInheritance: true, ngImport: i0 });
5867
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorInsertFileButtonDirective, decorators: [{
6310
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorInsertFileButtonDirective, decorators: [{
5868
6311
  type: Directive,
5869
6312
  args: [{
5870
6313
  selector: 'kendo-toolbar-button[kendoEditorInsertFileButton]',
@@ -5882,16 +6325,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
5882
6325
  * ```
5883
6326
  */
5884
6327
  class EditorForeColorDirective {
6328
+ colorPicker;
5885
6329
  constructor(colorPicker) {
5886
6330
  this.colorPicker = colorPicker;
5887
6331
  this.colorPicker.icon = commandIcons.foreColor;
5888
6332
  this.colorPicker.svgIcon = commandSVGIcons.foreColor;
5889
6333
  this.colorPicker.editorCommand = 'foreColor';
5890
6334
  }
6335
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorForeColorDirective, deps: [{ token: EditorColorPickerComponent }], target: i0.ɵɵFactoryTarget.Directive });
6336
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditorForeColorDirective, isStandalone: true, selector: "[kendoEditorForeColor]", ngImport: i0 });
5891
6337
  }
5892
- EditorForeColorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorForeColorDirective, deps: [{ token: EditorColorPickerComponent }], target: i0.ɵɵFactoryTarget.Directive });
5893
- EditorForeColorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditorForeColorDirective, isStandalone: true, selector: "[kendoEditorForeColor]", ngImport: i0 });
5894
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorForeColorDirective, decorators: [{
6338
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorForeColorDirective, decorators: [{
5895
6339
  type: Directive,
5896
6340
  args: [{
5897
6341
  selector: '[kendoEditorForeColor]',
@@ -5909,16 +6353,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
5909
6353
  * ```
5910
6354
  */
5911
6355
  class EditorBackColorDirective {
6356
+ colorPicker;
5912
6357
  constructor(colorPicker) {
5913
6358
  this.colorPicker = colorPicker;
5914
6359
  this.colorPicker.icon = commandIcons.backColor;
5915
6360
  this.colorPicker.svgIcon = commandSVGIcons.backColor;
5916
6361
  this.colorPicker.editorCommand = 'backColor';
5917
6362
  }
6363
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorBackColorDirective, deps: [{ token: EditorColorPickerComponent }], target: i0.ɵɵFactoryTarget.Directive });
6364
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditorBackColorDirective, isStandalone: true, selector: "[kendoEditorBackColor]", ngImport: i0 });
5918
6365
  }
5919
- EditorBackColorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorBackColorDirective, deps: [{ token: EditorColorPickerComponent }], target: i0.ɵɵFactoryTarget.Directive });
5920
- EditorBackColorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditorBackColorDirective, isStandalone: true, selector: "[kendoEditorBackColor]", ngImport: i0 });
5921
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorBackColorDirective, decorators: [{
6366
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorBackColorDirective, decorators: [{
5922
6367
  type: Directive,
5923
6368
  args: [{
5924
6369
  selector: '[kendoEditorBackColor]',
@@ -5940,10 +6385,10 @@ class EditorCleanFormattingButtonDirective extends EditorCommandButton {
5940
6385
  constructor(button, localization, providerService, toolsService) {
5941
6386
  super('cleanFormatting', button, localization, providerService, toolsService);
5942
6387
  }
6388
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorCleanFormattingButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
6389
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditorCleanFormattingButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorCleanFormattingButton]", usesInheritance: true, ngImport: i0 });
5943
6390
  }
5944
- EditorCleanFormattingButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorCleanFormattingButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
5945
- EditorCleanFormattingButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditorCleanFormattingButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorCleanFormattingButton]", usesInheritance: true, ngImport: i0 });
5946
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorCleanFormattingButtonDirective, decorators: [{
6391
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorCleanFormattingButtonDirective, decorators: [{
5947
6392
  type: Directive,
5948
6393
  args: [{
5949
6394
  selector: 'kendo-toolbar-button[kendoEditorCleanFormattingButton]',
@@ -5966,10 +6411,10 @@ class EditorAddColumnBeforeButtonDirective extends EditorCommandButton {
5966
6411
  constructor(button, localization, providerService, toolsService) {
5967
6412
  super('addColumnBefore', button, localization, providerService, toolsService);
5968
6413
  }
6414
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorAddColumnBeforeButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
6415
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditorAddColumnBeforeButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorAddColumnBeforeButton]", usesInheritance: true, ngImport: i0 });
5969
6416
  }
5970
- EditorAddColumnBeforeButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorAddColumnBeforeButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
5971
- EditorAddColumnBeforeButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditorAddColumnBeforeButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorAddColumnBeforeButton]", usesInheritance: true, ngImport: i0 });
5972
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorAddColumnBeforeButtonDirective, decorators: [{
6417
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorAddColumnBeforeButtonDirective, decorators: [{
5973
6418
  type: Directive,
5974
6419
  args: [{
5975
6420
  selector: 'kendo-toolbar-button[kendoEditorAddColumnBeforeButton]',
@@ -5992,10 +6437,10 @@ class EditorAddColumnAfterButtonDirective extends EditorCommandButton {
5992
6437
  constructor(button, localization, providerService, toolsService) {
5993
6438
  super('addColumnAfter', button, localization, providerService, toolsService);
5994
6439
  }
6440
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorAddColumnAfterButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
6441
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditorAddColumnAfterButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorAddColumnAfterButton]", usesInheritance: true, ngImport: i0 });
5995
6442
  }
5996
- EditorAddColumnAfterButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorAddColumnAfterButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
5997
- EditorAddColumnAfterButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditorAddColumnAfterButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorAddColumnAfterButton]", usesInheritance: true, ngImport: i0 });
5998
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorAddColumnAfterButtonDirective, decorators: [{
6443
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorAddColumnAfterButtonDirective, decorators: [{
5999
6444
  type: Directive,
6000
6445
  args: [{
6001
6446
  selector: 'kendo-toolbar-button[kendoEditorAddColumnAfterButton]',
@@ -6018,10 +6463,10 @@ class EditorAddRowBeforeButtonDirective extends EditorCommandButton {
6018
6463
  constructor(button, localization, providerService, toolsService) {
6019
6464
  super('addRowBefore', button, localization, providerService, toolsService);
6020
6465
  }
6466
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorAddRowBeforeButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
6467
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditorAddRowBeforeButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorAddRowBeforeButton]", usesInheritance: true, ngImport: i0 });
6021
6468
  }
6022
- EditorAddRowBeforeButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorAddRowBeforeButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
6023
- EditorAddRowBeforeButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditorAddRowBeforeButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorAddRowBeforeButton]", usesInheritance: true, ngImport: i0 });
6024
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorAddRowBeforeButtonDirective, decorators: [{
6469
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorAddRowBeforeButtonDirective, decorators: [{
6025
6470
  type: Directive,
6026
6471
  args: [{
6027
6472
  selector: 'kendo-toolbar-button[kendoEditorAddRowBeforeButton]',
@@ -6044,10 +6489,10 @@ class EditorAddRowAfterButtonDirective extends EditorCommandButton {
6044
6489
  constructor(button, localization, providerService, toolsService) {
6045
6490
  super('addRowAfter', button, localization, providerService, toolsService);
6046
6491
  }
6492
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorAddRowAfterButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
6493
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditorAddRowAfterButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorAddRowAfterButton]", usesInheritance: true, ngImport: i0 });
6047
6494
  }
6048
- EditorAddRowAfterButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorAddRowAfterButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
6049
- EditorAddRowAfterButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditorAddRowAfterButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorAddRowAfterButton]", usesInheritance: true, ngImport: i0 });
6050
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorAddRowAfterButtonDirective, decorators: [{
6495
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorAddRowAfterButtonDirective, decorators: [{
6051
6496
  type: Directive,
6052
6497
  args: [{
6053
6498
  selector: 'kendo-toolbar-button[kendoEditorAddRowAfterButton]',
@@ -6070,10 +6515,10 @@ class EditorDeleteColumnButtonDirective extends EditorCommandButton {
6070
6515
  constructor(button, localization, providerService, toolsService) {
6071
6516
  super('deleteColumn', button, localization, providerService, toolsService);
6072
6517
  }
6518
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorDeleteColumnButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
6519
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditorDeleteColumnButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorDeleteColumnButton]", usesInheritance: true, ngImport: i0 });
6073
6520
  }
6074
- EditorDeleteColumnButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorDeleteColumnButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
6075
- EditorDeleteColumnButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditorDeleteColumnButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorDeleteColumnButton]", usesInheritance: true, ngImport: i0 });
6076
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorDeleteColumnButtonDirective, decorators: [{
6521
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorDeleteColumnButtonDirective, decorators: [{
6077
6522
  type: Directive,
6078
6523
  args: [{
6079
6524
  selector: 'kendo-toolbar-button[kendoEditorDeleteColumnButton]',
@@ -6096,10 +6541,10 @@ class EditorDeleteRowButtonDirective extends EditorCommandButton {
6096
6541
  constructor(button, localization, providerService, toolsService) {
6097
6542
  super('deleteRow', button, localization, providerService, toolsService);
6098
6543
  }
6544
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorDeleteRowButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
6545
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditorDeleteRowButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorDeleteRowButton]", usesInheritance: true, ngImport: i0 });
6099
6546
  }
6100
- EditorDeleteRowButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorDeleteRowButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
6101
- EditorDeleteRowButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditorDeleteRowButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorDeleteRowButton]", usesInheritance: true, ngImport: i0 });
6102
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorDeleteRowButtonDirective, decorators: [{
6547
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorDeleteRowButtonDirective, decorators: [{
6103
6548
  type: Directive,
6104
6549
  args: [{
6105
6550
  selector: 'kendo-toolbar-button[kendoEditorDeleteRowButton]',
@@ -6122,10 +6567,10 @@ class EditorDeleteTableButtonDirective extends EditorCommandButton {
6122
6567
  constructor(button, localization, providerService, toolsService) {
6123
6568
  super('deleteTable', button, localization, providerService, toolsService);
6124
6569
  }
6570
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorDeleteTableButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
6571
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditorDeleteTableButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorDeleteTableButton]", usesInheritance: true, ngImport: i0 });
6125
6572
  }
6126
- EditorDeleteTableButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorDeleteTableButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
6127
- EditorDeleteTableButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditorDeleteTableButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorDeleteTableButton]", usesInheritance: true, ngImport: i0 });
6128
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorDeleteTableButtonDirective, decorators: [{
6573
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorDeleteTableButtonDirective, decorators: [{
6129
6574
  type: Directive,
6130
6575
  args: [{
6131
6576
  selector: 'kendo-toolbar-button[kendoEditorDeleteTableButton]',
@@ -6138,6 +6583,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
6138
6583
  * ([see example]({% slug globalization_editor %}#toc-custom-messages)).
6139
6584
  */
6140
6585
  class CustomMessagesComponent extends MessagesDirective {
6586
+ service;
6141
6587
  constructor(service) {
6142
6588
  super();
6143
6589
  this.service = service;
@@ -6145,15 +6591,15 @@ class CustomMessagesComponent extends MessagesDirective {
6145
6591
  get override() {
6146
6592
  return true;
6147
6593
  }
6594
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
6595
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: CustomMessagesComponent, isStandalone: true, selector: "kendo-editor-messages", providers: [
6596
+ {
6597
+ provide: MessagesDirective,
6598
+ useExisting: forwardRef(() => CustomMessagesComponent)
6599
+ }
6600
+ ], usesInheritance: true, ngImport: i0 });
6148
6601
  }
6149
- CustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
6150
- CustomMessagesComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: CustomMessagesComponent, isStandalone: true, selector: "kendo-editor-messages", providers: [
6151
- {
6152
- provide: MessagesDirective,
6153
- useExisting: forwardRef(() => CustomMessagesComponent)
6154
- }
6155
- ], usesInheritance: true, ngImport: i0 });
6156
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CustomMessagesComponent, decorators: [{
6602
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CustomMessagesComponent, decorators: [{
6157
6603
  type: Directive,
6158
6604
  args: [{
6159
6605
  providers: [
@@ -6202,10 +6648,10 @@ class EditorPrintDirective extends EditorCommandButton {
6202
6648
  }
6203
6649
  }
6204
6650
  }
6651
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorPrintDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
6652
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditorPrintDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorPrintButton]", usesInheritance: true, ngImport: i0 });
6205
6653
  }
6206
- EditorPrintDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorPrintDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
6207
- EditorPrintDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditorPrintDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorPrintButton]", usesInheritance: true, ngImport: i0 });
6208
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorPrintDirective, decorators: [{
6654
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorPrintDirective, decorators: [{
6209
6655
  type: Directive,
6210
6656
  args: [{
6211
6657
  selector: 'kendo-toolbar-button[kendoEditorPrintButton]',
@@ -6231,10 +6677,10 @@ class EditorSelectAllButtonDirective extends EditorCommandButton {
6231
6677
  this.editor.shouldEmitFocus = true;
6232
6678
  super.clickHandler();
6233
6679
  }
6680
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorSelectAllButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
6681
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditorSelectAllButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorSelectAllButton]", usesInheritance: true, ngImport: i0 });
6234
6682
  }
6235
- EditorSelectAllButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorSelectAllButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
6236
- EditorSelectAllButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditorSelectAllButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorSelectAllButton]", usesInheritance: true, ngImport: i0 });
6237
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorSelectAllButtonDirective, decorators: [{
6683
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorSelectAllButtonDirective, decorators: [{
6238
6684
  type: Directive,
6239
6685
  args: [{
6240
6686
  selector: 'kendo-toolbar-button[kendoEditorSelectAllButton]',
@@ -6259,10 +6705,10 @@ class EditorSplitCellButtonDirective extends EditorCommandButton {
6259
6705
  constructor(button, localization, providerService, toolsService) {
6260
6706
  super('splitCell', button, localization, providerService, toolsService);
6261
6707
  }
6708
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorSplitCellButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
6709
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditorSplitCellButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorSplitCellButton]", usesInheritance: true, ngImport: i0 });
6262
6710
  }
6263
- EditorSplitCellButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorSplitCellButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
6264
- EditorSplitCellButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditorSplitCellButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorSplitCellButton]", usesInheritance: true, ngImport: i0 });
6265
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorSplitCellButtonDirective, decorators: [{
6711
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorSplitCellButtonDirective, decorators: [{
6266
6712
  type: Directive,
6267
6713
  args: [{
6268
6714
  selector: 'kendo-toolbar-button[kendoEditorSplitCellButton]',
@@ -6287,10 +6733,10 @@ class EditorMergeCellsButtonDirective extends EditorCommandButton {
6287
6733
  constructor(button, localization, providerService, toolsService) {
6288
6734
  super('mergeCells', button, localization, providerService, toolsService);
6289
6735
  }
6736
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorMergeCellsButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
6737
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditorMergeCellsButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorMergeCellsButton]", usesInheritance: true, ngImport: i0 });
6290
6738
  }
6291
- EditorMergeCellsButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorMergeCellsButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
6292
- EditorMergeCellsButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditorMergeCellsButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorMergeCellsButton]", usesInheritance: true, ngImport: i0 });
6293
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorMergeCellsButtonDirective, decorators: [{
6739
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorMergeCellsButtonDirective, decorators: [{
6294
6740
  type: Directive,
6295
6741
  args: [{
6296
6742
  selector: 'kendo-toolbar-button[kendoEditorMergeCellsButton]',
@@ -6382,11 +6828,11 @@ const TOOLBAR_DIALOGS = [
6382
6828
  * ```
6383
6829
  */
6384
6830
  class EditorModule {
6831
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
6832
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: EditorModule, imports: [EditorComponent, EditorAlignLeftButtonDirective, EditorAlignCenterButtonDirective, EditorAlignRightButtonDirective, EditorAlignJustifyButtonDirective, EditorInsertFileButtonDirective, EditorRedoButtonDirective, EditorUndoButtonDirective, EditorInsertImageButtonDirective, EditorIndentButtonDirective, EditorOutdentButtonDirective, EditorCreateLinkButtonDirective, EditorUnlinkButtonDirective, EditorInsertOrderedListButtonDirective, EditorInsertUnorderedListButtonDirective, EditorViewSourceButtonDirective, EditorBoldButtonDirective, EditorItalicButtonDirective, EditorUnderlineButtonDirective, EditorStrikethroughButtonDirective, EditorSubscriptButtonDirective, EditorSuperscriptButtonDirective, EditorForeColorDirective, EditorBackColorDirective, EditorCleanFormattingButtonDirective, EditorAddColumnBeforeButtonDirective, EditorAddColumnAfterButtonDirective, EditorAddRowBeforeButtonDirective, EditorAddRowAfterButtonDirective, EditorDeleteColumnButtonDirective, EditorDeleteRowButtonDirective, EditorDeleteTableButtonDirective, CustomMessagesComponent, EditorPrintDirective, EditorSelectAllButtonDirective, EditorBlockquoteDirective, EditorFontSizeComponent, EditorFontFamilyComponent, EditorFormatComponent, EditorColorPickerComponent, EditorInsertTableButtonComponent, EditorMergeCellsButtonDirective, EditorSplitCellButtonDirective], exports: [EditorComponent, EditorAlignLeftButtonDirective, EditorAlignCenterButtonDirective, EditorAlignRightButtonDirective, EditorAlignJustifyButtonDirective, EditorInsertFileButtonDirective, EditorRedoButtonDirective, EditorUndoButtonDirective, EditorInsertImageButtonDirective, EditorIndentButtonDirective, EditorOutdentButtonDirective, EditorCreateLinkButtonDirective, EditorUnlinkButtonDirective, EditorInsertOrderedListButtonDirective, EditorInsertUnorderedListButtonDirective, EditorViewSourceButtonDirective, EditorBoldButtonDirective, EditorItalicButtonDirective, EditorUnderlineButtonDirective, EditorStrikethroughButtonDirective, EditorSubscriptButtonDirective, EditorSuperscriptButtonDirective, EditorForeColorDirective, EditorBackColorDirective, EditorCleanFormattingButtonDirective, EditorAddColumnBeforeButtonDirective, EditorAddColumnAfterButtonDirective, EditorAddRowBeforeButtonDirective, EditorAddRowAfterButtonDirective, EditorDeleteColumnButtonDirective, EditorDeleteRowButtonDirective, EditorDeleteTableButtonDirective, CustomMessagesComponent, EditorPrintDirective, EditorSelectAllButtonDirective, EditorBlockquoteDirective, EditorFontSizeComponent, EditorFontFamilyComponent, EditorFormatComponent, EditorColorPickerComponent, EditorInsertTableButtonComponent, EditorMergeCellsButtonDirective, EditorSplitCellButtonDirective, FormsModule, ReactiveFormsModule, ToolBarModule] });
6833
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorModule, providers: [IconsService, PopupService, ResizeBatchService, DialogContainerService, DialogService, WindowService, WindowContainerService], imports: [EditorComponent, EditorFontSizeComponent, EditorFontFamilyComponent, EditorFormatComponent, EditorColorPickerComponent, EditorInsertTableButtonComponent, FormsModule, ReactiveFormsModule, ToolBarModule] });
6385
6834
  }
6386
- EditorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
6387
- EditorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: EditorModule, imports: [EditorComponent, EditorAlignLeftButtonDirective, EditorAlignCenterButtonDirective, EditorAlignRightButtonDirective, EditorAlignJustifyButtonDirective, EditorInsertFileButtonDirective, EditorRedoButtonDirective, EditorUndoButtonDirective, EditorInsertImageButtonDirective, EditorIndentButtonDirective, EditorOutdentButtonDirective, EditorCreateLinkButtonDirective, EditorUnlinkButtonDirective, EditorInsertOrderedListButtonDirective, EditorInsertUnorderedListButtonDirective, EditorViewSourceButtonDirective, EditorBoldButtonDirective, EditorItalicButtonDirective, EditorUnderlineButtonDirective, EditorStrikethroughButtonDirective, EditorSubscriptButtonDirective, EditorSuperscriptButtonDirective, EditorForeColorDirective, EditorBackColorDirective, EditorCleanFormattingButtonDirective, EditorAddColumnBeforeButtonDirective, EditorAddColumnAfterButtonDirective, EditorAddRowBeforeButtonDirective, EditorAddRowAfterButtonDirective, EditorDeleteColumnButtonDirective, EditorDeleteRowButtonDirective, EditorDeleteTableButtonDirective, CustomMessagesComponent, EditorPrintDirective, EditorSelectAllButtonDirective, EditorBlockquoteDirective, EditorFontSizeComponent, EditorFontFamilyComponent, EditorFormatComponent, EditorColorPickerComponent, EditorInsertTableButtonComponent, EditorMergeCellsButtonDirective, EditorSplitCellButtonDirective], exports: [EditorComponent, EditorAlignLeftButtonDirective, EditorAlignCenterButtonDirective, EditorAlignRightButtonDirective, EditorAlignJustifyButtonDirective, EditorInsertFileButtonDirective, EditorRedoButtonDirective, EditorUndoButtonDirective, EditorInsertImageButtonDirective, EditorIndentButtonDirective, EditorOutdentButtonDirective, EditorCreateLinkButtonDirective, EditorUnlinkButtonDirective, EditorInsertOrderedListButtonDirective, EditorInsertUnorderedListButtonDirective, EditorViewSourceButtonDirective, EditorBoldButtonDirective, EditorItalicButtonDirective, EditorUnderlineButtonDirective, EditorStrikethroughButtonDirective, EditorSubscriptButtonDirective, EditorSuperscriptButtonDirective, EditorForeColorDirective, EditorBackColorDirective, EditorCleanFormattingButtonDirective, EditorAddColumnBeforeButtonDirective, EditorAddColumnAfterButtonDirective, EditorAddRowBeforeButtonDirective, EditorAddRowAfterButtonDirective, EditorDeleteColumnButtonDirective, EditorDeleteRowButtonDirective, EditorDeleteTableButtonDirective, CustomMessagesComponent, EditorPrintDirective, EditorSelectAllButtonDirective, EditorBlockquoteDirective, EditorFontSizeComponent, EditorFontFamilyComponent, EditorFormatComponent, EditorColorPickerComponent, EditorInsertTableButtonComponent, EditorMergeCellsButtonDirective, EditorSplitCellButtonDirective, FormsModule, ReactiveFormsModule, ToolBarModule] });
6388
- EditorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorModule, providers: [IconsService, PopupService, ResizeBatchService, DialogContainerService, DialogService, WindowService, WindowContainerService], imports: [EditorComponent, EditorFontSizeComponent, EditorFontFamilyComponent, EditorFormatComponent, EditorColorPickerComponent, EditorInsertTableButtonComponent, FormsModule, ReactiveFormsModule, ToolBarModule] });
6389
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorModule, decorators: [{
6835
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorModule, decorators: [{
6390
6836
  type: NgModule,
6391
6837
  args: [{
6392
6838
  exports: [...KENDO_EDITOR, FormsModule, ReactiveFormsModule, ToolBarModule],