@progress/kendo-angular-editor 11.0.0-develop.99 → 11.0.0

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 (43) hide show
  1. package/NOTICE.txt +17 -17
  2. package/config/command-icons.d.ts +4 -0
  3. package/dialogs/colorpicker-dialog.component.d.ts +2 -0
  4. package/dialogs/file-link-dialog.component.d.ts +2 -2
  5. package/dialogs/image-dialog.component.d.ts +2 -2
  6. package/dialogs/source-dialog.component.d.ts +2 -2
  7. package/editor.component.d.ts +3 -2
  8. package/editor.module.d.ts +4 -2
  9. package/esm2020/config/command-icons.mjs +45 -0
  10. package/esm2020/dialogs/colorpicker-dialog.component.mjs +29 -34
  11. package/esm2020/dialogs/file-link-dialog.component.mjs +79 -77
  12. package/esm2020/dialogs/font-family-dialog.component.mjs +20 -28
  13. package/esm2020/dialogs/font-size-dialog.component.mjs +20 -28
  14. package/esm2020/dialogs/format-dialog.component.mjs +20 -28
  15. package/esm2020/dialogs/image-dialog.component.mjs +74 -63
  16. package/esm2020/dialogs/insert-table-dialog.component.mjs +6 -14
  17. package/esm2020/dialogs/source-dialog.component.mjs +9 -7
  18. package/esm2020/editor.component.mjs +31 -10
  19. package/esm2020/editor.module.mjs +15 -4
  20. package/esm2020/package-metadata.mjs +2 -2
  21. package/esm2020/tools/colorpicker/editor-back-color.directive.mjs +2 -1
  22. package/esm2020/tools/colorpicker/editor-colorpicker.component.mjs +53 -37
  23. package/esm2020/tools/colorpicker/editor-fore-color.directive.mjs +2 -1
  24. package/esm2020/tools/fontfamily/editor-fontfamily.component.mjs +36 -31
  25. package/esm2020/tools/fontsize/editor-fontsize.component.mjs +35 -31
  26. package/esm2020/tools/format/editor-format.component.mjs +35 -33
  27. package/esm2020/tools/shared/editor-command-base.mjs +20 -13
  28. package/esm2020/tools/shared/editor-command-button.mjs +10 -2
  29. package/esm2020/tools/shared/editor-command-dialog.mjs +10 -2
  30. package/esm2020/tools/tables/editor-insert-table-button.component.mjs +36 -23
  31. package/esm2020/tools/tables/popup-table-grid.component.mjs +4 -2
  32. package/esm2020/tools/tools.service.mjs +5 -4
  33. package/fesm2015/progress-kendo-angular-editor.mjs +571 -464
  34. package/fesm2020/progress-kendo-angular-editor.mjs +570 -464
  35. package/package.json +16 -15
  36. package/schematics/ngAdd/index.js +5 -3
  37. package/tools/colorpicker/editor-colorpicker.component.d.ts +10 -3
  38. package/tools/fontfamily/editor-fontfamily.component.d.ts +5 -2
  39. package/tools/fontsize/editor-fontsize.component.d.ts +5 -2
  40. package/tools/format/editor-format.component.d.ts +5 -2
  41. package/tools/tables/editor-insert-table-button.component.d.ts +5 -2
  42. package/tools/tables/popup-table-grid.component.d.ts +2 -0
  43. package/tools/tools.service.d.ts +3 -0
@@ -3,8 +3,8 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import * as i0 from '@angular/core';
6
- import { Injectable, Inject, Optional, Component, Input, ViewChild, ElementRef, Directive, EventEmitter, Output, forwardRef, InjectionToken, isDevMode, ViewContainerRef, HostBinding, ContentChild, NgModule } from '@angular/core';
7
- import * as i4$1 from '@angular/forms';
6
+ import { Injectable, Inject, Optional, Component, Input, ViewChild, Directive, EventEmitter, Output, forwardRef, ElementRef, InjectionToken, isDevMode, ViewContainerRef, HostBinding, ContentChild, NgModule } from '@angular/core';
7
+ import * as i6 from '@angular/forms';
8
8
  import { FormControl, Validators, FormGroup, NG_VALUE_ACCESSOR, FormsModule, ReactiveFormsModule } from '@angular/forms';
9
9
  import { Subject, BehaviorSubject, zip, fromEvent, interval } from 'rxjs';
10
10
  import { take, map, filter as filter$1, concatMap, takeUntil } from 'rxjs/operators';
@@ -16,16 +16,21 @@ import { isDocumentAvailable, guid, hasObservers, KendoInput, Keys } from '@prog
16
16
  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, placeholder, EditorState, EditorView } from '@progress/kendo-editor-common';
17
17
  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';
18
18
  import { validatePackage } from '@progress/kendo-licensing';
19
+ import * as i4 from '@progress/kendo-angular-inputs';
20
+ import { ColorPickerComponent, ColorPickerModule, NumericTextBoxModule, CheckBoxModule, TextBoxModule, TextAreaModule } from '@progress/kendo-angular-inputs';
19
21
  import * as i1 from '@progress/kendo-angular-l10n';
20
22
  import { LocalizationService, L10N_PREFIX, RTL, ComponentMessages } from '@progress/kendo-angular-l10n';
21
- import * as i4 from '@progress/kendo-angular-buttons';
23
+ import * as i4$1 from '@progress/kendo-angular-buttons';
22
24
  import { ButtonModule } from '@progress/kendo-angular-buttons';
23
- import * as i3 from '@angular/common';
25
+ import * as i3 from '@progress/kendo-angular-label';
26
+ import { LabelModule } from '@progress/kendo-angular-label';
27
+ import * as i3$1 from '@angular/common';
24
28
  import { CommonModule } from '@angular/common';
25
- import * as i6 from '@progress/kendo-angular-inputs';
26
- import { ColorPickerComponent, ColorPickerModule, NumericTextBoxModule, CheckBoxModule, TextBoxModule } from '@progress/kendo-angular-inputs';
27
29
  import * as i1$2 from '@progress/kendo-angular-dropdowns';
28
30
  import { DropDownListComponent, DropDownsModule } from '@progress/kendo-angular-dropdowns';
31
+ import { applyFormatIcon, alignCenterIcon, alignJustifyIcon, alignLeftIcon, alignRightIcon, dropletIcon, rightDoubleQuotesIcon, boldIcon, clearCssIcon, linkIcon, foregroundColorIcon, indentIcon, fileAddIcon, fileImageIcon, listOrderedIcon, listUnorderedIcon, italicIcon, outdentIcon, printIcon, redoIcon, selectAllIcon, strikethroughIcon, subscriptIcon, supscriptIcon, underlineIcon, undoIcon, unlinkIcon, codeSnippetIcon, tableAddIcon, tableColumnInsertLeftIcon, tableColumnInsertRightIcon, tableRowInsertAboveIcon, tableRowInsertBelowIcon, tableRowDeleteIcon, tableColumnDeleteIcon, cellsMergeIcon, cellSplitHorizontallyIcon, tableDeleteIcon, tableWizardIcon, fontSizeIcon, fontFamilyIcon } from '@progress/kendo-svg-icons';
32
+ import * as i6$1 from '@progress/kendo-angular-icons';
33
+ import { IconsModule } from '@progress/kendo-angular-icons';
29
34
  import * as i2 from '@progress/kendo-angular-popup';
30
35
 
31
36
  /**
@@ -35,8 +40,8 @@ const packageMetadata = {
35
40
  name: '@progress/kendo-angular-editor',
36
41
  productName: 'Kendo UI for Angular',
37
42
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
38
- publishDate: 1673467013,
39
- version: '',
43
+ publishDate: 1674032463,
44
+ version: '11.0.0',
40
45
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
41
46
  };
42
47
 
@@ -664,7 +669,7 @@ class SourceDialogComponent extends DialogContentBase {
664
669
  }
665
670
  ngAfterViewInit() {
666
671
  Promise.resolve(null).then(() => {
667
- this.textarea.nativeElement.focus();
672
+ this.textarea.focus();
668
673
  });
669
674
  }
670
675
  onCancelAction() {
@@ -676,7 +681,7 @@ class SourceDialogComponent extends DialogContentBase {
676
681
  this.editor.view.focus();
677
682
  }
678
683
  getData() {
679
- return this.textarea.nativeElement.value;
684
+ return this.textarea.value;
680
685
  }
681
686
  setData() {
682
687
  this.data = this.indent(this.editor.getSource());
@@ -697,12 +702,12 @@ SourceDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
697
702
  <kendo-dialog-titlebar (close)="onCancelAction()">
698
703
  {{ textFor('viewSource') }}
699
704
  </kendo-dialog-titlebar>
700
- <textarea [value]="data" #textarea class="k-textarea k-editor-textarea" [style.height.%]="100"></textarea>
705
+ <kendo-textarea [value]="data" #textarea [style.height.%]="100"></kendo-textarea>
701
706
  <kendo-dialog-actions>
702
707
  <button kendoButton (click)="onCancelAction()">{{ textFor('dialogCancel') }}</button>
703
708
  <button kendoButton (click)="onConfirmAction()" [primary]="true">{{ textFor('dialogUpdate') }}</button>
704
709
  </kendo-dialog-actions>
705
- `, isInline: true, components: [{ type: i1$1.DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { type: i1$1.DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { type: i4.Button, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
710
+ `, isInline: true, components: [{ type: i1$1.DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { type: i4.TextAreaComponent, selector: "kendo-textarea", inputs: ["focusableId", "flow", "rows", "cols", "maxlength", "tabindex", "tabIndex", "resizable", "size", "rounded", "fillMode"], outputs: ["focus", "blur", "valueChange"], exportAs: ["kendoTextArea"] }, { type: i1$1.DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { type: i4$1.Button, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
706
711
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SourceDialogComponent, decorators: [{
707
712
  type: Component,
708
713
  args: [{
@@ -710,7 +715,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
710
715
  <kendo-dialog-titlebar (close)="onCancelAction()">
711
716
  {{ textFor('viewSource') }}
712
717
  </kendo-dialog-titlebar>
713
- <textarea [value]="data" #textarea class="k-textarea k-editor-textarea" [style.height.%]="100"></textarea>
718
+ <kendo-textarea [value]="data" #textarea [style.height.%]="100"></kendo-textarea>
714
719
  <kendo-dialog-actions>
715
720
  <button kendoButton (click)="onCancelAction()">{{ textFor('dialogCancel') }}</button>
716
721
  <button kendoButton (click)="onConfirmAction()" [primary]="true">{{ textFor('dialogUpdate') }}</button>
@@ -757,7 +762,7 @@ class ImageDialogComponent extends DialogContentBase {
757
762
  }
758
763
  ngAfterViewInit() {
759
764
  Promise.resolve(null).then(() => {
760
- this.srcInput.nativeElement.focus();
765
+ this.srcInput.focus();
761
766
  });
762
767
  }
763
768
  onCancelAction() {
@@ -795,46 +800,50 @@ class ImageDialogComponent extends DialogContentBase {
795
800
  }
796
801
  }
797
802
  ImageDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ImageDialogComponent, deps: [{ token: i1$1.DialogRef }, { token: EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
798
- ImageDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ImageDialogComponent, selector: "ng-component", inputs: { editor: "editor" }, viewQueries: [{ propertyName: "srcInput", first: true, predicate: ["srcInput"], descendants: true, read: ElementRef, static: true }], usesInheritance: true, ngImport: i0, template: `
803
+ ImageDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ImageDialogComponent, selector: "ng-component", inputs: { editor: "editor" }, viewQueries: [{ propertyName: "srcInput", first: true, predicate: ["srcInput"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
799
804
  <kendo-dialog-titlebar (close)="onCancelAction()">
800
805
  {{ textFor('insertImage') }}
801
806
  </kendo-dialog-titlebar>
802
- <div class="k-editor-dialog">
803
- <div class="k-editor-dialog k-popup-edit-form k-window-content k-content">
804
- <div class="k-edit-form-container k-window-content">
805
- <div class="k-edit-label">
806
- <label [for]="srcInputId">{{ textFor('imageWebAddress') }}</label>
807
- </div>
808
- <div class="k-edit-field">
809
- <input [id]="srcInputId" #srcInput [formControl]="src" type="text" class="k-textbox k-input k-rounded-md" />
810
- </div>
811
- <div class="k-edit-label">
812
- <label [for]="altTextInputId">{{ textFor('imageAltText') }}</label>
813
- </div>
814
- <div class="k-edit-field">
815
- <input [id]="altTextInputId" [formControl]="alt" type="text" class="k-textbox k-input k-rounded-md" />
816
- </div>
817
- <div class="k-edit-label">
818
- <label [for]="widthInputId">{{ textFor('imageWidth') }}</label>
819
- </div>
820
- <div class="k-edit-field">
821
- <input [id]="widthInputId" [formControl]="width" type="text" class="k-textbox k-input k-rounded-md" />
822
- </div>
823
- <div class="k-edit-label">
824
- <label [for]="heightInputId">{{ textFor('imageHeight') }}</label>
825
- </div>
826
- <div class="k-edit-field">
827
- <input [id]="heightInputId" [formControl]="height" type="text" class="k-textbox k-input k-rounded-md" />
828
- </div>
807
+ <div class="k-form k-form-md k-form-horizontal">
808
+ <div class="k-form-field">
809
+ <div class="k-form-label">
810
+ <kendo-label [for]="srcInput" [text]="textFor('imageWebAddress')"></kendo-label>
811
+ </div>
812
+ <div class="k-form-field-wrap">
813
+ <kendo-textbox #srcInput [formControl]="src"></kendo-textbox>
814
+ </div>
815
+ </div>
816
+ <div class="k-form-field">
817
+ <div class="k-form-label">
818
+ <kendo-label [for]="altTextInput" [text]="textFor('imageAltText')"></kendo-label>
819
+ </div>
820
+ <div class="k-form-field-wrap">
821
+ <kendo-textbox #altTextInput [formControl]="alt"></kendo-textbox>
822
+ </div>
823
+ </div>
824
+ <div class="k-form-field">
825
+ <div class="k-form-label">
826
+ <kendo-label [for]="widthInput" [text]="textFor('imageWidth')"></kendo-label>
827
+ </div>
828
+ <div class="k-form-field-wrap">
829
+ <kendo-textbox #widthInput [formControl]="width"></kendo-textbox>
830
+ </div>
831
+ </div>
832
+ <div class="k-form-field">
833
+ <div class="k-form-label">
834
+ <kendo-label [for]="heightInput" [text]="textFor('imageHeight')"></kendo-label>
835
+ </div>
836
+ <div class="k-form-field-wrap">
837
+ <kendo-textbox #heightInput [formControl]="height"></kendo-textbox>
829
838
  </div>
830
839
  </div>
831
840
  </div>
832
- <kendo-dialog-actions>
841
+ <kendo-dialog-actions class="k-actions-end k-actions-horizontal k-window-actions" [layout]="'normal'">
833
842
  <button kendoButton (click)="onCancelAction()">{{ textFor('dialogCancel') }}</button>
834
843
  <button kendoButton [disabled]="imageData.invalid"
835
844
  (click)="onConfirmAction()" [primary]="true">{{ textFor('dialogInsert') }}</button>
836
845
  </kendo-dialog-actions>
837
- `, isInline: true, components: [{ type: i1$1.DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { type: i1$1.DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { type: i4.Button, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }], directives: [{ type: i4$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i4$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i4$1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }] });
846
+ `, isInline: true, components: [{ type: i1$1.DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { type: i3.LabelComponent, selector: "kendo-label", inputs: ["text", "for", "optional"], exportAs: ["kendoLabel"] }, { type: i4.TextBoxComponent, selector: "kendo-textbox", inputs: ["focusableId", "title", "disabled", "readonly", "tabindex", "value", "selectOnFocus", "showSuccessIcon", "showErrorIcon", "clearButton", "successIcon", "errorIcon", "clearButtonIcon", "size", "rounded", "fillMode", "tabIndex", "placeholder", "maxlength"], outputs: ["valueChange", "inputFocus", "inputBlur", "focus", "blur"], exportAs: ["kendoTextBox"] }, { type: i1$1.DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { type: i4$1.Button, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }], directives: [{ type: i6.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i6.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }] });
838
847
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ImageDialogComponent, decorators: [{
839
848
  type: Component,
840
849
  args: [{
@@ -842,37 +851,41 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
842
851
  <kendo-dialog-titlebar (close)="onCancelAction()">
843
852
  {{ textFor('insertImage') }}
844
853
  </kendo-dialog-titlebar>
845
- <div class="k-editor-dialog">
846
- <div class="k-editor-dialog k-popup-edit-form k-window-content k-content">
847
- <div class="k-edit-form-container k-window-content">
848
- <div class="k-edit-label">
849
- <label [for]="srcInputId">{{ textFor('imageWebAddress') }}</label>
850
- </div>
851
- <div class="k-edit-field">
852
- <input [id]="srcInputId" #srcInput [formControl]="src" type="text" class="k-textbox k-input k-rounded-md" />
853
- </div>
854
- <div class="k-edit-label">
855
- <label [for]="altTextInputId">{{ textFor('imageAltText') }}</label>
856
- </div>
857
- <div class="k-edit-field">
858
- <input [id]="altTextInputId" [formControl]="alt" type="text" class="k-textbox k-input k-rounded-md" />
859
- </div>
860
- <div class="k-edit-label">
861
- <label [for]="widthInputId">{{ textFor('imageWidth') }}</label>
862
- </div>
863
- <div class="k-edit-field">
864
- <input [id]="widthInputId" [formControl]="width" type="text" class="k-textbox k-input k-rounded-md" />
865
- </div>
866
- <div class="k-edit-label">
867
- <label [for]="heightInputId">{{ textFor('imageHeight') }}</label>
868
- </div>
869
- <div class="k-edit-field">
870
- <input [id]="heightInputId" [formControl]="height" type="text" class="k-textbox k-input k-rounded-md" />
871
- </div>
854
+ <div class="k-form k-form-md k-form-horizontal">
855
+ <div class="k-form-field">
856
+ <div class="k-form-label">
857
+ <kendo-label [for]="srcInput" [text]="textFor('imageWebAddress')"></kendo-label>
858
+ </div>
859
+ <div class="k-form-field-wrap">
860
+ <kendo-textbox #srcInput [formControl]="src"></kendo-textbox>
861
+ </div>
862
+ </div>
863
+ <div class="k-form-field">
864
+ <div class="k-form-label">
865
+ <kendo-label [for]="altTextInput" [text]="textFor('imageAltText')"></kendo-label>
866
+ </div>
867
+ <div class="k-form-field-wrap">
868
+ <kendo-textbox #altTextInput [formControl]="alt"></kendo-textbox>
869
+ </div>
870
+ </div>
871
+ <div class="k-form-field">
872
+ <div class="k-form-label">
873
+ <kendo-label [for]="widthInput" [text]="textFor('imageWidth')"></kendo-label>
874
+ </div>
875
+ <div class="k-form-field-wrap">
876
+ <kendo-textbox #widthInput [formControl]="width"></kendo-textbox>
877
+ </div>
878
+ </div>
879
+ <div class="k-form-field">
880
+ <div class="k-form-label">
881
+ <kendo-label [for]="heightInput" [text]="textFor('imageHeight')"></kendo-label>
882
+ </div>
883
+ <div class="k-form-field-wrap">
884
+ <kendo-textbox #heightInput [formControl]="height"></kendo-textbox>
872
885
  </div>
873
886
  </div>
874
887
  </div>
875
- <kendo-dialog-actions>
888
+ <kendo-dialog-actions class="k-actions-end k-actions-horizontal k-window-actions" [layout]="'normal'">
876
889
  <button kendoButton (click)="onCancelAction()">{{ textFor('dialogCancel') }}</button>
877
890
  <button kendoButton [disabled]="imageData.invalid"
878
891
  (click)="onConfirmAction()" [primary]="true">{{ textFor('dialogInsert') }}</button>
@@ -883,7 +896,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
883
896
  type: Input
884
897
  }], srcInput: [{
885
898
  type: ViewChild,
886
- args: ['srcInput', { read: ElementRef, static: true }]
899
+ args: ['srcInput']
887
900
  }] } });
888
901
 
889
902
  /**
@@ -902,7 +915,7 @@ class FileLinkDialogComponent extends DialogContentBase {
902
915
  }
903
916
  ngAfterViewInit() {
904
917
  Promise.resolve(null).then(() => {
905
- this.hrefInput.nativeElement.focus();
918
+ this.hrefInput.focus();
906
919
  });
907
920
  }
908
921
  onCancelAction() {
@@ -975,52 +988,52 @@ class FileLinkDialogComponent extends DialogContentBase {
975
988
  }
976
989
  }
977
990
  FileLinkDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FileLinkDialogComponent, deps: [{ token: i1$1.DialogRef }, { token: EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
978
- FileLinkDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: FileLinkDialogComponent, selector: "ng-component", inputs: { editor: "editor", command: "command" }, viewQueries: [{ propertyName: "hrefInput", first: true, predicate: ["hrefInput"], descendants: true, read: ElementRef, static: true }], usesInheritance: true, ngImport: i0, template: `
991
+ FileLinkDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: FileLinkDialogComponent, selector: "ng-component", inputs: { editor: "editor", command: "command" }, viewQueries: [{ propertyName: "hrefInput", first: true, predicate: ["hrefInput"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
979
992
  <kendo-dialog-titlebar (close)="onCancelAction()">
980
993
  {{ titleText }}
981
994
  </kendo-dialog-titlebar>
982
- <div class="k-editor-dialog">
983
- <div class="k-editor-dialog k-popup-edit-form k-window-content k-content">
984
- <div class="k-edit-form-container k-window-content">
985
- <form novalidate [formGroup]="linkForm">
986
- <div class="k-edit-label">
987
- <label (click)="hrefInput.focus()">{{ textForWithPrefix('WebAddress') }}</label>
988
- </div>
989
- <div class="k-edit-field">
990
- <input #hrefInput formControlName="href" type="text" class="k-textbox k-input k-rounded-md" />
991
- </div>
992
-
993
- <div class="k-edit-label">
994
- <label (click)="textInput.focus()">{{ textForWithPrefix('Text') }}</label>
995
- </div>
996
- <div class="k-edit-field">
997
- <input #textInput formControlName="text" type="text" class="k-textbox k-input k-rounded-md" />
998
- </div>
999
-
1000
- <div class="k-edit-label">
1001
- <label (click)="titleInput.focus()">{{ textForWithPrefix('Title') }}</label>
1002
- </div>
1003
- <div class="k-edit-field">
1004
- <input #titleInput formControlName="title" type="text" class="k-textbox k-input k-rounded-md" />
1005
- </div>
1006
- <ng-container *ngIf="command === 'createLink'">
1007
- <div class="k-edit-label"></div>
1008
- <div class="k-edit-field">
1009
- <input type="checkbox" id="k-target-blank" kendoCheckBox formControlName="target" />
1010
- <label class="k-checkbox-label" for="k-target-blank">{{ textForWithPrefix('OpenInNewWindow') }}</label>
1011
- </div>
1012
- </ng-container>
1013
- </form>
995
+ <form class="k-form k-form-md k-form-horizontal" novalidate [formGroup]="linkForm">
996
+ <div class="k-form-field">
997
+ <div class="k-form-label">
998
+ <kendo-label [for]="hrefInput" [text]="textForWithPrefix('WebAddress')"></kendo-label>
999
+ </div>
1000
+ <div class="k-form-field-wrap">
1001
+ <kendo-textbox #hrefInput formControlName="href"></kendo-textbox>
1014
1002
  </div>
1015
1003
  </div>
1016
- </div>
1017
- <kendo-dialog-actions>
1004
+ <div class="k-form-field">
1005
+ <div class="k-form-label">
1006
+ <kendo-label [for]="textInput" [text]="textForWithPrefix('Text')"></kendo-label>
1007
+ </div>
1008
+ <div class="k-form-field-wrap">
1009
+ <kendo-textbox #textInput formControlName="text"></kendo-textbox>
1010
+ </div>
1011
+ </div>
1012
+ <div class="k-form-field">
1013
+ <div class="k-form-label">
1014
+ <kendo-label [for]="titleInput" [text]="textForWithPrefix('Title')"></kendo-label>
1015
+ </div>
1016
+ <div class="k-form-field-wrap">
1017
+ <kendo-textbox #titleInput formControlName="title"></kendo-textbox>
1018
+ </div>
1019
+ </div>
1020
+ <ng-container *ngIf="command === 'createLink'">
1021
+ <div class="k-form-field">
1022
+ <div class="k-form-label"></div>
1023
+ <div class="k-form-field-wrap">
1024
+ <input type="checkbox" id="k-target-blank" kendoCheckBox formControlName="target" />
1025
+ <label class="k-checkbox-label" for="k-target-blank" [style.display]="'inline'">{{ textForWithPrefix('OpenInNewWindow') }}</label>
1026
+ </div>
1027
+ </div>
1028
+ </ng-container>
1029
+ </form>
1030
+ <kendo-dialog-actions class="k-actions-end k-actions-horizontal k-window-actions" [layout]="'normal'">
1018
1031
  <button kendoButton (click)="onCancelAction()">{{ textFor('dialogCancel') }}</button>
1019
1032
  <button kendoButton [disabled]="linkForm.invalid" (click)="onConfirmAction()" [primary]="true">
1020
1033
  {{ textFor('dialogInsert') }}
1021
1034
  </button>
1022
1035
  </kendo-dialog-actions>
1023
- `, isInline: true, components: [{ type: i1$1.DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { type: i1$1.DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { type: i4.Button, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }], directives: [{ type: i4$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i4$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i4$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i4$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i4$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i4$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4$1.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { type: i6.CheckBoxDirective, selector: "input[kendoCheckBox]", inputs: ["size", "rounded"] }] });
1036
+ `, isInline: true, components: [{ type: i1$1.DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { type: i3.LabelComponent, selector: "kendo-label", inputs: ["text", "for", "optional"], exportAs: ["kendoLabel"] }, { type: i4.TextBoxComponent, selector: "kendo-textbox", inputs: ["focusableId", "title", "disabled", "readonly", "tabindex", "value", "selectOnFocus", "showSuccessIcon", "showErrorIcon", "clearButton", "successIcon", "errorIcon", "clearButtonIcon", "size", "rounded", "fillMode", "tabIndex", "placeholder", "maxlength"], outputs: ["valueChange", "inputFocus", "inputBlur", "focus", "blur"], exportAs: ["kendoTextBox"] }, { type: i1$1.DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { type: i4$1.Button, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }], directives: [{ type: i6.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i6.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i6.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i6.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i6.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { type: i3$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i6.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { type: i4.CheckBoxDirective, selector: "input[kendoCheckBox]", inputs: ["size", "rounded"] }, { type: i3.LabelDirective, selector: "label[for]", inputs: ["for"] }] });
1024
1037
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FileLinkDialogComponent, decorators: [{
1025
1038
  type: Component,
1026
1039
  args: [{
@@ -1028,42 +1041,42 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
1028
1041
  <kendo-dialog-titlebar (close)="onCancelAction()">
1029
1042
  {{ titleText }}
1030
1043
  </kendo-dialog-titlebar>
1031
- <div class="k-editor-dialog">
1032
- <div class="k-editor-dialog k-popup-edit-form k-window-content k-content">
1033
- <div class="k-edit-form-container k-window-content">
1034
- <form novalidate [formGroup]="linkForm">
1035
- <div class="k-edit-label">
1036
- <label (click)="hrefInput.focus()">{{ textForWithPrefix('WebAddress') }}</label>
1037
- </div>
1038
- <div class="k-edit-field">
1039
- <input #hrefInput formControlName="href" type="text" class="k-textbox k-input k-rounded-md" />
1040
- </div>
1041
-
1042
- <div class="k-edit-label">
1043
- <label (click)="textInput.focus()">{{ textForWithPrefix('Text') }}</label>
1044
- </div>
1045
- <div class="k-edit-field">
1046
- <input #textInput formControlName="text" type="text" class="k-textbox k-input k-rounded-md" />
1047
- </div>
1048
-
1049
- <div class="k-edit-label">
1050
- <label (click)="titleInput.focus()">{{ textForWithPrefix('Title') }}</label>
1051
- </div>
1052
- <div class="k-edit-field">
1053
- <input #titleInput formControlName="title" type="text" class="k-textbox k-input k-rounded-md" />
1054
- </div>
1055
- <ng-container *ngIf="command === 'createLink'">
1056
- <div class="k-edit-label"></div>
1057
- <div class="k-edit-field">
1058
- <input type="checkbox" id="k-target-blank" kendoCheckBox formControlName="target" />
1059
- <label class="k-checkbox-label" for="k-target-blank">{{ textForWithPrefix('OpenInNewWindow') }}</label>
1060
- </div>
1061
- </ng-container>
1062
- </form>
1044
+ <form class="k-form k-form-md k-form-horizontal" novalidate [formGroup]="linkForm">
1045
+ <div class="k-form-field">
1046
+ <div class="k-form-label">
1047
+ <kendo-label [for]="hrefInput" [text]="textForWithPrefix('WebAddress')"></kendo-label>
1048
+ </div>
1049
+ <div class="k-form-field-wrap">
1050
+ <kendo-textbox #hrefInput formControlName="href"></kendo-textbox>
1063
1051
  </div>
1064
1052
  </div>
1065
- </div>
1066
- <kendo-dialog-actions>
1053
+ <div class="k-form-field">
1054
+ <div class="k-form-label">
1055
+ <kendo-label [for]="textInput" [text]="textForWithPrefix('Text')"></kendo-label>
1056
+ </div>
1057
+ <div class="k-form-field-wrap">
1058
+ <kendo-textbox #textInput formControlName="text"></kendo-textbox>
1059
+ </div>
1060
+ </div>
1061
+ <div class="k-form-field">
1062
+ <div class="k-form-label">
1063
+ <kendo-label [for]="titleInput" [text]="textForWithPrefix('Title')"></kendo-label>
1064
+ </div>
1065
+ <div class="k-form-field-wrap">
1066
+ <kendo-textbox #titleInput formControlName="title"></kendo-textbox>
1067
+ </div>
1068
+ </div>
1069
+ <ng-container *ngIf="command === 'createLink'">
1070
+ <div class="k-form-field">
1071
+ <div class="k-form-label"></div>
1072
+ <div class="k-form-field-wrap">
1073
+ <input type="checkbox" id="k-target-blank" kendoCheckBox formControlName="target" />
1074
+ <label class="k-checkbox-label" for="k-target-blank" [style.display]="'inline'">{{ textForWithPrefix('OpenInNewWindow') }}</label>
1075
+ </div>
1076
+ </div>
1077
+ </ng-container>
1078
+ </form>
1079
+ <kendo-dialog-actions class="k-actions-end k-actions-horizontal k-window-actions" [layout]="'normal'">
1067
1080
  <button kendoButton (click)="onCancelAction()">{{ textFor('dialogCancel') }}</button>
1068
1081
  <button kendoButton [disabled]="linkForm.invalid" (click)="onConfirmAction()" [primary]="true">
1069
1082
  {{ textFor('dialogInsert') }}
@@ -1077,7 +1090,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
1077
1090
  type: Input
1078
1091
  }], hrefInput: [{
1079
1092
  type: ViewChild,
1080
- args: ['hrefInput', { read: ElementRef, static: true }]
1093
+ args: ['hrefInput']
1081
1094
  }] } });
1082
1095
 
1083
1096
  /**
@@ -1411,15 +1424,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
1411
1424
  * @hidden
1412
1425
  */
1413
1426
  class EditorToolsService {
1414
- constructor() {
1427
+ constructor(zone) {
1428
+ this.zone = zone;
1415
1429
  this.needsCheck = new Subject();
1416
1430
  }
1417
1431
  }
1418
- EditorToolsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorToolsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1432
+ EditorToolsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorToolsService, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
1419
1433
  EditorToolsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorToolsService });
1420
1434
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorToolsService, decorators: [{
1421
1435
  type: Injectable
1422
- }] });
1436
+ }], ctorParameters: function () { return [{ type: i0.NgZone }]; } });
1423
1437
 
1424
1438
  /**
1425
1439
  * @hidden
@@ -1557,7 +1571,7 @@ FormatDropDownListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.
1557
1571
  </ng-container>
1558
1572
  </ng-template>
1559
1573
  </kendo-dropdownlist>
1560
- `, isInline: true, components: [{ type: i1$2.DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["iconClass", "loading", "data", "value", "textField", "valueField", "popupSettings", "listHeight", "defaultItem", "disabled", "itemDisabled", "readonly", "filterable", "virtual", "ignoreCase", "delay", "valuePrimitive", "tabindex", "tabIndex", "size", "rounded", "fillMode", "id"], outputs: ["valueChange", "filterChange", "selectionChange", "open", "opened", "close", "closed", "focus", "blur"], exportAs: ["kendoDropDownList"] }], directives: [{ type: DropDownToolDirective, selector: "[kendoEditorDropDownTool]" }, { type: i1$2.ItemTemplateDirective, selector: "[kendoDropDownListItemTemplate],[kendoComboBoxItemTemplate],[kendoAutoCompleteItemTemplate],[kendoMultiSelectItemTemplate]" }, { type: i3.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i3.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i3.NgSwitchDefault, selector: "[ngSwitchDefault]" }] });
1574
+ `, isInline: true, components: [{ type: i1$2.DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["iconClass", "loading", "data", "value", "textField", "valueField", "popupSettings", "listHeight", "defaultItem", "disabled", "itemDisabled", "readonly", "filterable", "virtual", "ignoreCase", "delay", "valuePrimitive", "tabindex", "tabIndex", "size", "rounded", "fillMode", "id"], outputs: ["valueChange", "filterChange", "selectionChange", "open", "opened", "close", "closed", "focus", "blur"], exportAs: ["kendoDropDownList"] }], directives: [{ type: DropDownToolDirective, selector: "[kendoEditorDropDownTool]" }, { type: i1$2.ItemTemplateDirective, selector: "[kendoDropDownListItemTemplate],[kendoComboBoxItemTemplate],[kendoAutoCompleteItemTemplate],[kendoMultiSelectItemTemplate]" }, { type: i3$1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i3$1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i3$1.NgSwitchDefault, selector: "[ngSwitchDefault]" }] });
1561
1575
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormatDropDownListComponent, decorators: [{
1562
1576
  type: Component,
1563
1577
  args: [{
@@ -1679,26 +1693,22 @@ FormatDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
1679
1693
  <kendo-dialog-titlebar (close)="onCancelAction()">
1680
1694
  {{ textFor('format') }}
1681
1695
  </kendo-dialog-titlebar>
1682
- <div class="k-editor-dialog">
1683
- <div class="k-editor-dialog k-popup-edit-form k-window-content k-content">
1684
- <div class="k-edit-form-container k-window-content" [style.text-align]="'center'">
1685
- <kendo-editor-format-dropdownlist
1686
- #formatDropDownList
1687
- [defaultItem]="defaultItem"
1688
- [data]="data"
1689
- [(value)]="value"
1690
- [itemDisabled]="itemDisabled"
1691
- >
1692
- </kendo-editor-format-dropdownlist>
1693
- </div>
1694
- </div>
1696
+ <div [style.text-align]="'center'">
1697
+ <kendo-editor-format-dropdownlist
1698
+ #formatDropDownList
1699
+ [defaultItem]="defaultItem"
1700
+ [data]="data"
1701
+ [(value)]="value"
1702
+ [itemDisabled]="itemDisabled"
1703
+ >
1704
+ </kendo-editor-format-dropdownlist>
1695
1705
  </div>
1696
- <kendo-dialog-actions>
1706
+ <kendo-dialog-actions class="k-actions-end k-actions-horizontal k-window-actions" [layout]="'normal'">
1697
1707
  <button kendoButton (click)="onCancelAction()">{{ textFor('dialogCancel') }}</button>
1698
1708
  <button kendoButton
1699
1709
  (click)="onConfirmAction()" [primary]="true">{{ textFor('dialogApply') }}</button>
1700
1710
  </kendo-dialog-actions>
1701
- `, isInline: true, components: [{ type: i1$1.DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { type: FormatDropDownListComponent, selector: "kendo-editor-format-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }, { type: i1$1.DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { type: i4.Button, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
1711
+ `, isInline: true, components: [{ type: i1$1.DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { type: FormatDropDownListComponent, selector: "kendo-editor-format-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }, { type: i1$1.DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { type: i4$1.Button, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
1702
1712
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormatDialogComponent, decorators: [{
1703
1713
  type: Component,
1704
1714
  args: [{
@@ -1706,21 +1716,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
1706
1716
  <kendo-dialog-titlebar (close)="onCancelAction()">
1707
1717
  {{ textFor('format') }}
1708
1718
  </kendo-dialog-titlebar>
1709
- <div class="k-editor-dialog">
1710
- <div class="k-editor-dialog k-popup-edit-form k-window-content k-content">
1711
- <div class="k-edit-form-container k-window-content" [style.text-align]="'center'">
1712
- <kendo-editor-format-dropdownlist
1713
- #formatDropDownList
1714
- [defaultItem]="defaultItem"
1715
- [data]="data"
1716
- [(value)]="value"
1717
- [itemDisabled]="itemDisabled"
1718
- >
1719
- </kendo-editor-format-dropdownlist>
1720
- </div>
1721
- </div>
1719
+ <div [style.text-align]="'center'">
1720
+ <kendo-editor-format-dropdownlist
1721
+ #formatDropDownList
1722
+ [defaultItem]="defaultItem"
1723
+ [data]="data"
1724
+ [(value)]="value"
1725
+ [itemDisabled]="itemDisabled"
1726
+ >
1727
+ </kendo-editor-format-dropdownlist>
1722
1728
  </div>
1723
- <kendo-dialog-actions>
1729
+ <kendo-dialog-actions class="k-actions-end k-actions-horizontal k-window-actions" [layout]="'normal'">
1724
1730
  <button kendoButton (click)="onCancelAction()">{{ textFor('dialogCancel') }}</button>
1725
1731
  <button kendoButton
1726
1732
  (click)="onConfirmAction()" [primary]="true">{{ textFor('dialogApply') }}</button>
@@ -1746,11 +1752,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
1746
1752
  * ```
1747
1753
  */
1748
1754
  class EditorFormatComponent extends ToolBarToolComponent {
1749
- constructor(dialogService, localization, providerService, toolsService) {
1755
+ constructor(dialogService, localization, providerService, toolsService, renderer) {
1750
1756
  super();
1751
1757
  this.dialogService = dialogService;
1752
1758
  this.localization = localization;
1753
1759
  this.toolsService = toolsService;
1760
+ this.renderer = renderer;
1754
1761
  this.disabled = false;
1755
1762
  this.tabindex = -1;
1756
1763
  /**
@@ -1766,6 +1773,7 @@ class EditorFormatComponent extends ToolBarToolComponent {
1766
1773
  { text: 'Heading 5', tag: 'h5' },
1767
1774
  { text: 'Heading 6', tag: 'h6' }
1768
1775
  ];
1776
+ this.applyFormatSVGIcon = applyFormatIcon;
1769
1777
  this.editor = providerService.editor;
1770
1778
  }
1771
1779
  /**
@@ -1826,10 +1834,12 @@ class EditorFormatComponent extends ToolBarToolComponent {
1826
1834
  openDialog() {
1827
1835
  const dialogSettings = {
1828
1836
  appendTo: this.editor.dialogContainer,
1829
- content: FormatDialogComponent
1837
+ content: FormatDialogComponent,
1838
+ width: 400
1830
1839
  };
1831
1840
  this.editor.toolbar.toggle(false);
1832
1841
  const dialogContent = this.dialogService.open(dialogSettings).content.instance;
1842
+ this.renderer.addClass(dialogContent.dialog.dialog.instance.wrapper.nativeElement.querySelector('.k-window'), 'k-editor-window');
1833
1843
  dialogContent.setData({
1834
1844
  editor: this.editor,
1835
1845
  data: this.data,
@@ -1864,7 +1874,7 @@ class EditorFormatComponent extends ToolBarToolComponent {
1864
1874
  return false;
1865
1875
  }
1866
1876
  }
1867
- EditorFormatComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorFormatComponent, deps: [{ token: i1$1.DialogService }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Component });
1877
+ EditorFormatComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorFormatComponent, deps: [{ token: i1$1.DialogService }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
1868
1878
  EditorFormatComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: EditorFormatComponent, selector: "kendo-toolbar-dropdownlist[kendoEditorFormat]", inputs: { data: "data" }, outputs: { valueChange: "valueChange" }, providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => EditorFormatComponent) }], viewQueries: [{ propertyName: "toolbarTemplate", first: true, predicate: ["toolbarTemplate"], descendants: true, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }, { propertyName: "formatDropDownList", first: true, predicate: ["formatDropDownList"], descendants: true }, { propertyName: "formatButton", first: true, predicate: ["formatButton"], descendants: true, read: ElementRef }], usesInheritance: true, ngImport: i0, template: `
1869
1879
  <ng-template #toolbarTemplate>
1870
1880
  <kendo-editor-format-dropdownlist
@@ -1881,22 +1891,20 @@ EditorFormatComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
1881
1891
  </kendo-editor-format-dropdownlist>
1882
1892
  </ng-template>
1883
1893
  <ng-template #popupTemplate>
1884
- <button
1885
- #formatButton
1886
- [tabindex]="tabindex"
1887
- type="button"
1888
- kendoButton
1889
- class="k-overflow-button"
1890
- [icon]="'apply-format'"
1891
- [attr.title]="title"
1892
- [disabled]="disabled"
1894
+ <div #formatButton
1895
+ role="menuitem"
1896
+ class="k-item k-menu-item"
1897
+ [class.k-disabled]="disabled"
1893
1898
  [tabindex]="tabindex"
1894
- (click)="openDialog()"
1895
- >
1896
- {{ title }}
1897
- </button>
1899
+ (click)="openDialog()">
1900
+ <span
1901
+ class="k-link k-menu-link">
1902
+ <kendo-icon-wrapper name="apply-format" [svgIcon]="applyFormatSVGIcon"></kendo-icon-wrapper>
1903
+ <span *ngIf="title" class="k-menu-link-text">{{title}}</span>
1904
+ </span>
1905
+ </div>
1898
1906
  </ng-template>
1899
- `, isInline: true, components: [{ type: FormatDropDownListComponent, selector: "kendo-editor-format-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }, { type: i4.Button, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
1907
+ `, isInline: true, components: [{ type: FormatDropDownListComponent, selector: "kendo-editor-format-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }, { type: i6$1.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: i3$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
1900
1908
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorFormatComponent, decorators: [{
1901
1909
  type: Component,
1902
1910
  args: [{
@@ -1918,24 +1926,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
1918
1926
  </kendo-editor-format-dropdownlist>
1919
1927
  </ng-template>
1920
1928
  <ng-template #popupTemplate>
1921
- <button
1922
- #formatButton
1923
- [tabindex]="tabindex"
1924
- type="button"
1925
- kendoButton
1926
- class="k-overflow-button"
1927
- [icon]="'apply-format'"
1928
- [attr.title]="title"
1929
- [disabled]="disabled"
1929
+ <div #formatButton
1930
+ role="menuitem"
1931
+ class="k-item k-menu-item"
1932
+ [class.k-disabled]="disabled"
1930
1933
  [tabindex]="tabindex"
1931
- (click)="openDialog()"
1932
- >
1933
- {{ title }}
1934
- </button>
1934
+ (click)="openDialog()">
1935
+ <span
1936
+ class="k-link k-menu-link">
1937
+ <kendo-icon-wrapper name="apply-format" [svgIcon]="applyFormatSVGIcon"></kendo-icon-wrapper>
1938
+ <span *ngIf="title" class="k-menu-link-text">{{title}}</span>
1939
+ </span>
1940
+ </div>
1935
1941
  </ng-template>
1936
1942
  `
1937
1943
  }]
1938
- }], ctorParameters: function () { return [{ type: i1$1.DialogService }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; }, propDecorators: { data: [{
1944
+ }], ctorParameters: function () { return [{ type: i1$1.DialogService }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }, { type: i0.Renderer2 }]; }, propDecorators: { data: [{
1939
1945
  type: Input
1940
1946
  }], valueChange: [{
1941
1947
  type: Output
@@ -2146,6 +2152,50 @@ const commandIcons = {
2146
2152
  deleteTable: 'table-delete'
2147
2153
  // tableWizard: 'table-wizard'
2148
2154
  };
2155
+ /**
2156
+ * @hidden
2157
+ */
2158
+ const commandSVGIcons = {
2159
+ alignCenter: alignCenterIcon,
2160
+ alignJustify: alignJustifyIcon,
2161
+ alignLeft: alignLeftIcon,
2162
+ alignRight: alignRightIcon,
2163
+ backColor: dropletIcon,
2164
+ blockquote: rightDoubleQuotesIcon,
2165
+ bold: boldIcon,
2166
+ cleanFormatting: clearCssIcon,
2167
+ createLink: linkIcon,
2168
+ foreColor: foregroundColorIcon,
2169
+ indent: indentIcon,
2170
+ insertFile: fileAddIcon,
2171
+ insertImage: fileImageIcon,
2172
+ insertOrderedList: listOrderedIcon,
2173
+ insertUnorderedList: listUnorderedIcon,
2174
+ italic: italicIcon,
2175
+ outdent: outdentIcon,
2176
+ print: printIcon,
2177
+ redo: redoIcon,
2178
+ selectAll: selectAllIcon,
2179
+ strikethrough: strikethroughIcon,
2180
+ subscript: subscriptIcon,
2181
+ superscript: supscriptIcon,
2182
+ underline: underlineIcon,
2183
+ undo: undoIcon,
2184
+ unlink: unlinkIcon,
2185
+ viewSource: codeSnippetIcon,
2186
+ //table
2187
+ insertTable: tableAddIcon,
2188
+ addColumnBefore: tableColumnInsertLeftIcon,
2189
+ addColumnAfter: tableColumnInsertRightIcon,
2190
+ addRowBefore: tableRowInsertAboveIcon,
2191
+ addRowAfter: tableRowInsertBelowIcon,
2192
+ deleteRow: tableRowDeleteIcon,
2193
+ deleteColumn: tableColumnDeleteIcon,
2194
+ mergeCells: cellsMergeIcon,
2195
+ splitCell: cellSplitHorizontallyIcon,
2196
+ deleteTable: tableDeleteIcon
2197
+ // tableWizard: 'table-wizard'
2198
+ };
2149
2199
 
2150
2200
  const MY_TOKEN = new InjectionToken('COMMAND_TOKEN');
2151
2201
  /**
@@ -2158,18 +2208,25 @@ class EditorCommandBaseDirective {
2158
2208
  this.localization = localization;
2159
2209
  this.toolsService = toolsService;
2160
2210
  this.editor = providerService.editor;
2161
- setTimeout(() => {
2162
- const text = this.localization.get(this.command);
2163
- if (text) {
2164
- this.button.showText = 'overflow';
2165
- this.button.showIcon = 'both';
2166
- this.button.text = text;
2167
- }
2168
- if (!this.button.toolbarOptions.icon) {
2169
- this.button.icon = commandIcons[this.command];
2170
- }
2171
- this.button.title = text;
2172
- this.toolsService.needsCheck.next();
2211
+ this.toolsService.zone.runOutsideAngular(() => {
2212
+ setTimeout(() => {
2213
+ const text = this.localization.get(this.command);
2214
+ if (text) {
2215
+ this.button.showText = 'overflow';
2216
+ this.button.showIcon = 'both';
2217
+ this.button.text = text;
2218
+ }
2219
+ if (!this.button.toolbarOptions.icon) {
2220
+ this.button.icon = commandIcons[this.command];
2221
+ }
2222
+ if (!this.button.toolbarOptions.svgIcon) {
2223
+ this.button.svgIcon = commandSVGIcons[this.command];
2224
+ }
2225
+ this.button.title = text;
2226
+ this.toolsService.zone.run(() => {
2227
+ this.toolsService.needsCheck.next();
2228
+ });
2229
+ });
2173
2230
  });
2174
2231
  }
2175
2232
  ngOnInit() {
@@ -2218,8 +2275,16 @@ class EditorCommandButton extends EditorCommandBaseDirective {
2218
2275
  e.preventDefault();
2219
2276
  }
2220
2277
  onStateChange(toolBarState) {
2221
- this.button.selected = toolBarState[this.command].selected;
2222
- this.button.disabled = toolBarState[this.command].disabled;
2278
+ if (this.button.overflows) {
2279
+ setTimeout(() => {
2280
+ this.button.selected = toolBarState[this.command].selected;
2281
+ this.button.disabled = toolBarState[this.command].disabled;
2282
+ });
2283
+ }
2284
+ else {
2285
+ this.button.selected = toolBarState[this.command].selected;
2286
+ this.button.disabled = toolBarState[this.command].disabled;
2287
+ }
2223
2288
  }
2224
2289
  }
2225
2290
 
@@ -2590,8 +2655,16 @@ class EditorCommandDialog extends EditorCommandBaseDirective {
2590
2655
  this.editor.openDialog(this.dialog);
2591
2656
  }
2592
2657
  onStateChange(toolBarState) {
2593
- this.button.selected = toolBarState[this.command].selected;
2594
- this.button.disabled = toolBarState[this.command].disabled;
2658
+ if (this.button.overflows) {
2659
+ setTimeout(() => {
2660
+ this.button.selected = toolBarState[this.command].selected;
2661
+ this.button.disabled = toolBarState[this.command].disabled;
2662
+ });
2663
+ }
2664
+ else {
2665
+ this.button.selected = toolBarState[this.command].selected;
2666
+ this.button.disabled = toolBarState[this.command].disabled;
2667
+ }
2595
2668
  }
2596
2669
  }
2597
2670
 
@@ -2716,7 +2789,7 @@ const getPasteCleanupAttributes = (config) => {
2716
2789
  * Represents the [Kendo UI Editor component for Angular]({% slug overview_editor %}).
2717
2790
  */
2718
2791
  class EditorComponent {
2719
- constructor(dialogService, localization, cdr, ngZone, element, providerService, toolsService) {
2792
+ constructor(dialogService, localization, cdr, ngZone, element, providerService, toolsService, renderer) {
2720
2793
  this.dialogService = dialogService;
2721
2794
  this.localization = localization;
2722
2795
  this.cdr = cdr;
@@ -2724,6 +2797,7 @@ class EditorComponent {
2724
2797
  this.element = element;
2725
2798
  this.providerService = providerService;
2726
2799
  this.toolsService = toolsService;
2800
+ this.renderer = renderer;
2727
2801
  /**
2728
2802
  * If set to `false`, the Editor will run in style non-encapsulated mode. This means
2729
2803
  * that the styles of the page will be persisted in the Editor and its content will be affected by them.
@@ -3067,6 +3141,10 @@ class EditorComponent {
3067
3141
  if (this.resizable) {
3068
3142
  this.normalizeSize();
3069
3143
  }
3144
+ if (this.userToolBarComponent) {
3145
+ this.renderer.addClass(this.userToolBarComponent.element.nativeElement, 'k-editor-toolbar');
3146
+ }
3147
+ this.toolbar.onResize();
3070
3148
  }
3071
3149
  ngOnChanges(changes) {
3072
3150
  if (changes['value'] && this.view) {
@@ -3181,13 +3259,16 @@ class EditorComponent {
3181
3259
  openDialog(dialogName) {
3182
3260
  const editorDialogs = {
3183
3261
  createLink: {
3184
- content: FileLinkDialogComponent
3262
+ content: FileLinkDialogComponent,
3263
+ width: 400
3185
3264
  },
3186
3265
  insertFile: {
3187
- content: FileLinkDialogComponent
3266
+ content: FileLinkDialogComponent,
3267
+ width: 400
3188
3268
  },
3189
3269
  insertImage: {
3190
- content: ImageDialogComponent
3270
+ content: ImageDialogComponent,
3271
+ width: 400
3191
3272
  },
3192
3273
  viewSource: {
3193
3274
  content: SourceDialogComponent,
@@ -3201,6 +3282,7 @@ class EditorComponent {
3201
3282
  const dialog = Object.assign({ appendTo: this.dialogContainer }, editorDialogs[dialogName]);
3202
3283
  this.toolbar.toggle(false);
3203
3284
  const dialogContent = this.dialogService.open(dialog).content.instance;
3285
+ this.renderer.addClass(dialogContent.dialog.dialog.instance.wrapper.nativeElement.querySelector('.k-window'), 'k-editor-window');
3204
3286
  if (dialogName === 'createLink' || dialogName === 'insertFile') {
3205
3287
  dialogContent.command = dialogName;
3206
3288
  }
@@ -3468,7 +3550,7 @@ class EditorComponent {
3468
3550
  }
3469
3551
  ;
3470
3552
  }
3471
- EditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", 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 }], target: i0.ɵɵFactoryTarget.Component });
3553
+ EditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", 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 });
3472
3554
  EditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: EditorComponent, selector: "kendo-editor", inputs: { value: "value", disabled: "disabled", readonly: "readonly", iframe: "iframe", iframeCss: "iframeCss", applyToWord: "applyToWord", schema: "schema", plugins: "plugins", placeholder: "placeholder", preserveWhitespace: "preserveWhitespace", pasteCleanupSettings: "pasteCleanupSettings", resizable: "resizable" }, outputs: { valueChange: "valueChange", onFocus: "focus", paste: "paste", onBlur: "blur" }, host: { properties: { "class.k-editor": "this.hostClass", "class.k-editor-resizable": "this.resizableClass", "class.k-disabled": "this.isDisabled", "class.k-readonly": "this.isReadonly", "class.k-ie": "this.isIE", "attr.dir": "this.dir", "attr.ariaDisabled": "this.ariaDisabled", "style.minWidth": "this.minWidth", "style.maxWidth": "this.maxWidth", "style.minHeight": "this.minHeight", "style.maxHeight": "this.maxHeight" } }, providers: [
3473
3555
  EditorLocalizationService,
3474
3556
  ProviderService,
@@ -3606,7 +3688,13 @@ EditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
3606
3688
  >
3607
3689
  </ng-container>
3608
3690
  <ng-content select="kendo-toolbar"></ng-content>
3609
- <kendo-toolbar [overflow]="true" [tabindex]="readonly ? -1 : 0" *ngIf="!userToolBarElement" #defaultToolbar>
3691
+ <kendo-toolbar
3692
+ #defaultToolbar
3693
+ *ngIf="!userToolBarElement"
3694
+ class="k-editor-toolbar"
3695
+ [overflow]="true"
3696
+ [tabindex]="readonly ? -1 : 0"
3697
+ >
3610
3698
  <kendo-toolbar-buttongroup>
3611
3699
  <kendo-toolbar-button kendoEditorBoldButton></kendo-toolbar-button>
3612
3700
  <kendo-toolbar-button kendoEditorItalicButton></kendo-toolbar-button>
@@ -3639,7 +3727,7 @@ EditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
3639
3727
  </div>
3640
3728
 
3641
3729
  <ng-container #dialogsContainer></ng-container>
3642
- `, isInline: true, components: [{ type: i1$3.ToolBarComponent, selector: "kendo-toolbar", inputs: ["overflow", "resizable", "popupSettings", "tabindex", "tabIndex"], outputs: ["open", "close"], exportAs: ["kendoToolBar"] }, { type: i1$3.ToolBarButtonGroupComponent, selector: "kendo-toolbar-buttongroup", inputs: ["disabled", "selection", "width", "look"], exportAs: ["kendoToolBarButtonGroup"] }, { type: i1$3.ToolBarButtonComponent, selector: "kendo-toolbar-button", inputs: ["showText", "showIcon", "text", "style", "className", "title", "disabled", "toggleable", "look", "togglable", "selected", "fillMode", "themeColor", "icon", "iconClass", "imageUrl"], outputs: ["click", "pointerdown", "selectedChange"], exportAs: ["kendoToolBarButton"] }, { type: EditorFormatComponent, selector: "kendo-toolbar-dropdownlist[kendoEditorFormat]", inputs: ["data"], outputs: ["valueChange"] }], directives: [{ type: LocalizedMessagesDirective, selector: "[kendoEditorLocalizedMessages]" }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: EditorBoldButtonDirective, selector: "kendo-toolbar-button[kendoEditorBoldButton]" }, { type: EditorItalicButtonDirective, selector: "kendo-toolbar-button[kendoEditorItalicButton]" }, { type: EditorUnderlineButtonDirective, selector: "kendo-toolbar-button[kendoEditorUnderlineButton]" }, { type: EditorAlignLeftButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignLeftButton]" }, { type: EditorAlignCenterButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignCenterButton]" }, { type: EditorAlignRightButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignRightButton]" }, { type: EditorAlignJustifyButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignJustifyButton]" }, { type: EditorInsertUnorderedListButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertUnorderedListButton]" }, { type: EditorInsertOrderedListButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertOrderedListButton]" }, { type: EditorIndentButtonDirective, selector: "kendo-toolbar-button[kendoEditorIndentButton]" }, { type: EditorOutdentButtonDirective, selector: "kendo-toolbar-button[kendoEditorOutdentButton]" }, { type: EditorCreateLinkButtonDirective, selector: "kendo-toolbar-button[kendoEditorCreateLinkButton]" }, { type: EditorUnlinkButtonDirective, selector: "kendo-toolbar-button[kendoEditorUnlinkButton]" }, { type: EditorInsertImageButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertImageButton]" }] });
3730
+ `, isInline: true, components: [{ type: i1$3.ToolBarComponent, selector: "kendo-toolbar", inputs: ["overflow", "resizable", "popupSettings", "tabindex", "size", "tabIndex"], outputs: ["open", "close"], exportAs: ["kendoToolBar"] }, { type: i1$3.ToolBarButtonGroupComponent, selector: "kendo-toolbar-buttongroup", inputs: ["disabled", "selection", "width", "look"], exportAs: ["kendoToolBarButtonGroup"] }, { type: i1$3.ToolBarButtonComponent, selector: "kendo-toolbar-button", inputs: ["showText", "showIcon", "text", "style", "className", "title", "disabled", "toggleable", "look", "togglable", "selected", "fillMode", "themeColor", "icon", "iconClass", "svgIcon", "imageUrl"], outputs: ["click", "pointerdown", "selectedChange"], exportAs: ["kendoToolBarButton"] }, { type: EditorFormatComponent, selector: "kendo-toolbar-dropdownlist[kendoEditorFormat]", inputs: ["data"], outputs: ["valueChange"] }], directives: [{ type: LocalizedMessagesDirective, selector: "[kendoEditorLocalizedMessages]" }, { type: i3$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: EditorBoldButtonDirective, selector: "kendo-toolbar-button[kendoEditorBoldButton]" }, { type: EditorItalicButtonDirective, selector: "kendo-toolbar-button[kendoEditorItalicButton]" }, { type: EditorUnderlineButtonDirective, selector: "kendo-toolbar-button[kendoEditorUnderlineButton]" }, { type: EditorAlignLeftButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignLeftButton]" }, { type: EditorAlignCenterButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignCenterButton]" }, { type: EditorAlignRightButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignRightButton]" }, { type: EditorAlignJustifyButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignJustifyButton]" }, { type: EditorInsertUnorderedListButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertUnorderedListButton]" }, { type: EditorInsertOrderedListButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertOrderedListButton]" }, { type: EditorIndentButtonDirective, selector: "kendo-toolbar-button[kendoEditorIndentButton]" }, { type: EditorOutdentButtonDirective, selector: "kendo-toolbar-button[kendoEditorOutdentButton]" }, { type: EditorCreateLinkButtonDirective, selector: "kendo-toolbar-button[kendoEditorCreateLinkButton]" }, { type: EditorUnlinkButtonDirective, selector: "kendo-toolbar-button[kendoEditorUnlinkButton]" }, { type: EditorInsertImageButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertImageButton]" }] });
3643
3731
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorComponent, decorators: [{
3644
3732
  type: Component,
3645
3733
  args: [{
@@ -3782,7 +3870,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
3782
3870
  >
3783
3871
  </ng-container>
3784
3872
  <ng-content select="kendo-toolbar"></ng-content>
3785
- <kendo-toolbar [overflow]="true" [tabindex]="readonly ? -1 : 0" *ngIf="!userToolBarElement" #defaultToolbar>
3873
+ <kendo-toolbar
3874
+ #defaultToolbar
3875
+ *ngIf="!userToolBarElement"
3876
+ class="k-editor-toolbar"
3877
+ [overflow]="true"
3878
+ [tabindex]="readonly ? -1 : 0"
3879
+ >
3786
3880
  <kendo-toolbar-buttongroup>
3787
3881
  <kendo-toolbar-button kendoEditorBoldButton></kendo-toolbar-button>
3788
3882
  <kendo-toolbar-button kendoEditorItalicButton></kendo-toolbar-button>
@@ -3817,7 +3911,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
3817
3911
  <ng-container #dialogsContainer></ng-container>
3818
3912
  `
3819
3913
  }]
3820
- }], ctorParameters: function () { return [{ type: i1$1.DialogService }, { type: i1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i0.ElementRef }, { type: ProviderService }, { type: EditorToolsService }]; }, propDecorators: { value: [{
3914
+ }], ctorParameters: function () { return [{ type: i1$1.DialogService }, { type: i1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i0.ElementRef }, { type: ProviderService }, { type: EditorToolsService }, { type: i0.Renderer2 }]; }, propDecorators: { value: [{
3821
3915
  type: Input
3822
3916
  }], disabled: [{
3823
3917
  type: Input
@@ -3935,6 +4029,7 @@ class ColorPickerDialogComponent extends DialogContentBase {
3935
4029
  setData(args) {
3936
4030
  this.editor = args.editor;
3937
4031
  this.value = args.value;
4032
+ this.svgIcon = args.svgIcon;
3938
4033
  this.editorCommand = args.editorCommand;
3939
4034
  this.paletteSettings = args.paletteSettings;
3940
4035
  this.icon = args.icon;
@@ -3949,29 +4044,26 @@ ColorPickerDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
3949
4044
  <kendo-dialog-titlebar (close)="onCancelAction()">
3950
4045
  {{ textFor(editorCommand) }}
3951
4046
  </kendo-dialog-titlebar>
3952
- <div class="k-editor-dialog">
3953
- <div class="k-editor-dialog k-popup-edit-form k-window-content k-content">
3954
- <div class="k-edit-form-container k-window-content" [style.text-align]="'center'">
3955
- <kendo-colorpicker
3956
- #colorpicker
3957
- [views]="views"
3958
- [format]="'hex'"
3959
- [attr.title]="title"
3960
- [icon]="icon"
3961
- [(value)]="value"
3962
- [paletteSettings]="paletteSettings"
3963
- (activeColorClick)="handleActiveColorClick($event)"
3964
- >
3965
- </kendo-colorpicker>
3966
- </div>
3967
- </div>
4047
+ <div [style.text-align]="'center'">
4048
+ <kendo-colorpicker
4049
+ #colorpicker
4050
+ [views]="views"
4051
+ [format]="'hex'"
4052
+ [attr.title]="title"
4053
+ [icon]="icon"
4054
+ [svgIcon]="svgIcon"
4055
+ [(value)]="value"
4056
+ [paletteSettings]="paletteSettings"
4057
+ (activeColorClick)="handleActiveColorClick($event)"
4058
+ >
4059
+ </kendo-colorpicker>
3968
4060
  </div>
3969
- <kendo-dialog-actions>
4061
+ <kendo-dialog-actions class="k-actions-end k-actions-horizontal k-window-actions" [layout]="'normal'">
3970
4062
  <button kendoButton (click)="onCancelAction()">{{ textFor('dialogCancel') }}</button>
3971
4063
  <button kendoButton
3972
4064
  (click)="onConfirmAction()" [primary]="true">{{ textFor('dialogApply') }}</button>
3973
4065
  </kendo-dialog-actions>
3974
- `, isInline: true, components: [{ type: i1$1.DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { type: i6.ColorPickerComponent, selector: "kendo-colorpicker", inputs: ["views", "view", "activeView", "readonly", "disabled", "format", "value", "popupSettings", "paletteSettings", "gradientSettings", "icon", "iconClass", "svgIcon", "clearButton", "tabindex", "preview", "actionsLayout", "size", "rounded", "fillMode"], outputs: ["valueChange", "open", "close", "focus", "blur", "cancel", "activeColorClick", "activeViewChange"], exportAs: ["kendoColorPicker"] }, { type: i1$1.DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { type: i4.Button, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
4066
+ `, isInline: true, components: [{ type: i1$1.DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { type: i4.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", "activeViewChange"], exportAs: ["kendoColorPicker"] }, { type: i1$1.DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { type: i4$1.Button, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
3975
4067
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColorPickerDialogComponent, decorators: [{
3976
4068
  type: Component,
3977
4069
  args: [{
@@ -3979,24 +4071,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
3979
4071
  <kendo-dialog-titlebar (close)="onCancelAction()">
3980
4072
  {{ textFor(editorCommand) }}
3981
4073
  </kendo-dialog-titlebar>
3982
- <div class="k-editor-dialog">
3983
- <div class="k-editor-dialog k-popup-edit-form k-window-content k-content">
3984
- <div class="k-edit-form-container k-window-content" [style.text-align]="'center'">
3985
- <kendo-colorpicker
3986
- #colorpicker
3987
- [views]="views"
3988
- [format]="'hex'"
3989
- [attr.title]="title"
3990
- [icon]="icon"
3991
- [(value)]="value"
3992
- [paletteSettings]="paletteSettings"
3993
- (activeColorClick)="handleActiveColorClick($event)"
3994
- >
3995
- </kendo-colorpicker>
3996
- </div>
3997
- </div>
4074
+ <div [style.text-align]="'center'">
4075
+ <kendo-colorpicker
4076
+ #colorpicker
4077
+ [views]="views"
4078
+ [format]="'hex'"
4079
+ [attr.title]="title"
4080
+ [icon]="icon"
4081
+ [svgIcon]="svgIcon"
4082
+ [(value)]="value"
4083
+ [paletteSettings]="paletteSettings"
4084
+ (activeColorClick)="handleActiveColorClick($event)"
4085
+ >
4086
+ </kendo-colorpicker>
3998
4087
  </div>
3999
- <kendo-dialog-actions>
4088
+ <kendo-dialog-actions class="k-actions-end k-actions-horizontal k-window-actions" [layout]="'normal'">
4000
4089
  <button kendoButton (click)="onCancelAction()">{{ textFor('dialogCancel') }}</button>
4001
4090
  <button kendoButton
4002
4091
  (click)="onConfirmAction()" [primary]="true">{{ textFor('dialogApply') }}</button>
@@ -4048,7 +4137,7 @@ FontFamilyDropDownListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion:
4048
4137
  </span>
4049
4138
  </ng-template>
4050
4139
  </kendo-dropdownlist>
4051
- `, isInline: true, components: [{ type: i1$2.DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["iconClass", "loading", "data", "value", "textField", "valueField", "popupSettings", "listHeight", "defaultItem", "disabled", "itemDisabled", "readonly", "filterable", "virtual", "ignoreCase", "delay", "valuePrimitive", "tabindex", "tabIndex", "size", "rounded", "fillMode", "id"], outputs: ["valueChange", "filterChange", "selectionChange", "open", "opened", "close", "closed", "focus", "blur"], exportAs: ["kendoDropDownList"] }], directives: [{ type: DropDownToolDirective, selector: "[kendoEditorDropDownTool]" }, { type: i1$2.ItemTemplateDirective, selector: "[kendoDropDownListItemTemplate],[kendoComboBoxItemTemplate],[kendoAutoCompleteItemTemplate],[kendoMultiSelectItemTemplate]" }, { type: i3.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
4140
+ `, isInline: true, components: [{ type: i1$2.DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["iconClass", "loading", "data", "value", "textField", "valueField", "popupSettings", "listHeight", "defaultItem", "disabled", "itemDisabled", "readonly", "filterable", "virtual", "ignoreCase", "delay", "valuePrimitive", "tabindex", "tabIndex", "size", "rounded", "fillMode", "id"], outputs: ["valueChange", "filterChange", "selectionChange", "open", "opened", "close", "closed", "focus", "blur"], exportAs: ["kendoDropDownList"] }], directives: [{ type: DropDownToolDirective, selector: "[kendoEditorDropDownTool]" }, { type: i1$2.ItemTemplateDirective, selector: "[kendoDropDownListItemTemplate],[kendoComboBoxItemTemplate],[kendoAutoCompleteItemTemplate],[kendoMultiSelectItemTemplate]" }, { type: i3$1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
4052
4141
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FontFamilyDropDownListComponent, decorators: [{
4053
4142
  type: Component,
4054
4143
  args: [{
@@ -4142,26 +4231,22 @@ FontFamilyDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
4142
4231
  <kendo-dialog-titlebar (close)="onCancelAction()">
4143
4232
  {{ textFor('fontFamily') }}
4144
4233
  </kendo-dialog-titlebar>
4145
- <div class="k-editor-dialog">
4146
- <div class="k-editor-dialog k-popup-edit-form k-window-content k-content">
4147
- <div class="k-edit-form-container k-window-content" [style.text-align]="'center'">
4148
- <kendo-editor-fontfamily-dropdownlist
4149
- #fontFamilyDropDownList
4150
- [defaultItem]="defaultItem"
4151
- [data]="data"
4152
- [(value)]="value"
4153
- [itemDisabled]="itemDisabled"
4154
- >
4155
- </kendo-editor-fontfamily-dropdownlist>
4156
- </div>
4157
- </div>
4234
+ <div [style.text-align]="'center'">
4235
+ <kendo-editor-fontfamily-dropdownlist
4236
+ #fontFamilyDropDownList
4237
+ [defaultItem]="defaultItem"
4238
+ [data]="data"
4239
+ [(value)]="value"
4240
+ [itemDisabled]="itemDisabled"
4241
+ >
4242
+ </kendo-editor-fontfamily-dropdownlist>
4158
4243
  </div>
4159
- <kendo-dialog-actions>
4244
+ <kendo-dialog-actions class="k-actions-end k-actions-horizontal k-window-actions" [layout]="'normal'">
4160
4245
  <button kendoButton (click)="onCancelAction()">{{ textFor('dialogCancel') }}</button>
4161
4246
  <button kendoButton
4162
4247
  (click)="onConfirmAction()" [primary]="true">{{ textFor('dialogApply') }}</button>
4163
4248
  </kendo-dialog-actions>
4164
- `, isInline: true, components: [{ type: i1$1.DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { type: FontFamilyDropDownListComponent, selector: "kendo-editor-fontfamily-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }, { type: i1$1.DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { type: i4.Button, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
4249
+ `, isInline: true, components: [{ type: i1$1.DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { type: FontFamilyDropDownListComponent, selector: "kendo-editor-fontfamily-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }, { type: i1$1.DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { type: i4$1.Button, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
4165
4250
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FontFamilyDialogComponent, decorators: [{
4166
4251
  type: Component,
4167
4252
  args: [{
@@ -4169,21 +4254,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
4169
4254
  <kendo-dialog-titlebar (close)="onCancelAction()">
4170
4255
  {{ textFor('fontFamily') }}
4171
4256
  </kendo-dialog-titlebar>
4172
- <div class="k-editor-dialog">
4173
- <div class="k-editor-dialog k-popup-edit-form k-window-content k-content">
4174
- <div class="k-edit-form-container k-window-content" [style.text-align]="'center'">
4175
- <kendo-editor-fontfamily-dropdownlist
4176
- #fontFamilyDropDownList
4177
- [defaultItem]="defaultItem"
4178
- [data]="data"
4179
- [(value)]="value"
4180
- [itemDisabled]="itemDisabled"
4181
- >
4182
- </kendo-editor-fontfamily-dropdownlist>
4183
- </div>
4184
- </div>
4257
+ <div [style.text-align]="'center'">
4258
+ <kendo-editor-fontfamily-dropdownlist
4259
+ #fontFamilyDropDownList
4260
+ [defaultItem]="defaultItem"
4261
+ [data]="data"
4262
+ [(value)]="value"
4263
+ [itemDisabled]="itemDisabled"
4264
+ >
4265
+ </kendo-editor-fontfamily-dropdownlist>
4185
4266
  </div>
4186
- <kendo-dialog-actions>
4267
+ <kendo-dialog-actions class="k-actions-end k-actions-horizontal k-window-actions" [layout]="'normal'">
4187
4268
  <button kendoButton (click)="onCancelAction()">{{ textFor('dialogCancel') }}</button>
4188
4269
  <button kendoButton
4189
4270
  (click)="onConfirmAction()" [primary]="true">{{ textFor('dialogApply') }}</button>
@@ -4204,6 +4285,7 @@ class PopupTableGridComponent {
4204
4285
  constructor() {
4205
4286
  this.cellClick = new EventEmitter();
4206
4287
  this.tableWizardClick = new EventEmitter();
4288
+ this.tableWizardIcon = tableWizardIcon;
4207
4289
  this.state = { rows: -1, cols: -1 };
4208
4290
  this.rows = 6;
4209
4291
  this.cols = 8;
@@ -4249,10 +4331,10 @@ PopupTableGridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
4249
4331
  <div class="k-status" unselectable="on">{{ message }}</div>
4250
4332
  <!-- uncomment when TableWizard is completed
4251
4333
  <div class="k-editor-toolbar" unselectable="on">
4252
- <button type="button" kendoButton class="k-tool" [icon]="'table-wizard'" (click)="openTableWizard()" title="Table Wizard">Table Wizard</button>
4334
+ <button type="button" kendoButton class="k-tool" [icon]="'table-wizard'" [svgIcon]="tableWizardIcon" (click)="openTableWizard()" title="Table Wizard">Table Wizard</button>
4253
4335
  </div>
4254
4336
  -->
4255
- `, isInline: true, directives: [{ type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
4337
+ `, isInline: true, directives: [{ type: i3$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
4256
4338
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PopupTableGridComponent, decorators: [{
4257
4339
  type: Component,
4258
4340
  args: [{
@@ -4269,7 +4351,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
4269
4351
  <div class="k-status" unselectable="on">{{ message }}</div>
4270
4352
  <!-- uncomment when TableWizard is completed
4271
4353
  <div class="k-editor-toolbar" unselectable="on">
4272
- <button type="button" kendoButton class="k-tool" [icon]="'table-wizard'" (click)="openTableWizard()" title="Table Wizard">Table Wizard</button>
4354
+ <button type="button" kendoButton class="k-tool" [icon]="'table-wizard'" [svgIcon]="tableWizardIcon" (click)="openTableWizard()" title="Table Wizard">Table Wizard</button>
4273
4355
  </div>
4274
4356
  -->
4275
4357
  `
@@ -4310,17 +4392,13 @@ InsertTableDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
4310
4392
  <kendo-dialog-titlebar (close)="onCancelAction()">
4311
4393
  {{ textFor('insertTable') }}
4312
4394
  </kendo-dialog-titlebar>
4313
- <div class="k-editor-dialog">
4314
- <div class="k-editor-dialog k-popup-edit-form k-window-content k-content">
4315
- <div class="k-ct-popup k-window-content" [style.text-align]="'center'">
4316
- <kendo-popup-table-grid (cellClick)="onCellClick($event)"></kendo-popup-table-grid>
4317
- </div>
4318
- </div>
4395
+ <div [style.text-align]="'center'">
4396
+ <kendo-popup-table-grid (cellClick)="onCellClick($event)"></kendo-popup-table-grid>
4319
4397
  </div>
4320
- <kendo-dialog-actions>
4398
+ <kendo-dialog-actions class="k-actions-end k-actions-horizontal k-window-actions" [layout]="'normal'">
4321
4399
  <button kendoButton (click)="onCancelAction()">{{ textFor('dialogCancel') }}</button>
4322
4400
  </kendo-dialog-actions>
4323
- `, isInline: true, components: [{ type: i1$1.DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { type: PopupTableGridComponent, selector: "kendo-popup-table-grid", outputs: ["cellClick", "tableWizardClick"] }, { type: i1$1.DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { type: i4.Button, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
4401
+ `, isInline: true, components: [{ type: i1$1.DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { type: PopupTableGridComponent, selector: "kendo-popup-table-grid", outputs: ["cellClick", "tableWizardClick"] }, { type: i1$1.DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { type: i4$1.Button, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
4324
4402
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: InsertTableDialogComponent, decorators: [{
4325
4403
  type: Component,
4326
4404
  args: [{
@@ -4328,14 +4406,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
4328
4406
  <kendo-dialog-titlebar (close)="onCancelAction()">
4329
4407
  {{ textFor('insertTable') }}
4330
4408
  </kendo-dialog-titlebar>
4331
- <div class="k-editor-dialog">
4332
- <div class="k-editor-dialog k-popup-edit-form k-window-content k-content">
4333
- <div class="k-ct-popup k-window-content" [style.text-align]="'center'">
4334
- <kendo-popup-table-grid (cellClick)="onCellClick($event)"></kendo-popup-table-grid>
4335
- </div>
4336
- </div>
4409
+ <div [style.text-align]="'center'">
4410
+ <kendo-popup-table-grid (cellClick)="onCellClick($event)"></kendo-popup-table-grid>
4337
4411
  </div>
4338
- <kendo-dialog-actions>
4412
+ <kendo-dialog-actions class="k-actions-end k-actions-horizontal k-window-actions" [layout]="'normal'">
4339
4413
  <button kendoButton (click)="onCancelAction()">{{ textFor('dialogCancel') }}</button>
4340
4414
  </kendo-dialog-actions>
4341
4415
  `
@@ -4466,26 +4540,22 @@ FontSizeDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
4466
4540
  <kendo-dialog-titlebar (close)="onCancelAction()">
4467
4541
  {{ textFor('fontSize') }}
4468
4542
  </kendo-dialog-titlebar>
4469
- <div class="k-editor-dialog">
4470
- <div class="k-editor-dialog k-popup-edit-form k-window-content k-content">
4471
- <div class="k-edit-form-container k-window-content" [style.text-align]="'center'">
4472
- <kendo-editor-fontsize-dropdownlist
4473
- #fontSizeDropDownList
4474
- [defaultItem]="defaultItem"
4475
- [data]="data"
4476
- [(value)]="value"
4477
- [itemDisabled]="itemDisabled"
4478
- >
4479
- </kendo-editor-fontsize-dropdownlist>
4480
- </div>
4481
- </div>
4543
+ <div [style.text-align]="'center'">
4544
+ <kendo-editor-fontsize-dropdownlist
4545
+ #fontSizeDropDownList
4546
+ [defaultItem]="defaultItem"
4547
+ [data]="data"
4548
+ [(value)]="value"
4549
+ [itemDisabled]="itemDisabled"
4550
+ >
4551
+ </kendo-editor-fontsize-dropdownlist>
4482
4552
  </div>
4483
- <kendo-dialog-actions>
4553
+ <kendo-dialog-actions class="k-actions-end k-actions-horizontal k-window-actions" [layout]="'normal'">
4484
4554
  <button kendoButton (click)="onCancelAction()">{{ textFor('dialogCancel') }}</button>
4485
4555
  <button kendoButton
4486
4556
  (click)="onConfirmAction()" [primary]="true">{{ textFor('dialogApply') }}</button>
4487
4557
  </kendo-dialog-actions>
4488
- `, isInline: true, components: [{ type: i1$1.DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { type: FontSizeDropDownListComponent, selector: "kendo-editor-fontsize-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }, { type: i1$1.DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { type: i4.Button, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
4558
+ `, isInline: true, components: [{ type: i1$1.DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { type: FontSizeDropDownListComponent, selector: "kendo-editor-fontsize-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }, { type: i1$1.DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { type: i4$1.Button, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
4489
4559
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FontSizeDialogComponent, decorators: [{
4490
4560
  type: Component,
4491
4561
  args: [{
@@ -4493,21 +4563,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
4493
4563
  <kendo-dialog-titlebar (close)="onCancelAction()">
4494
4564
  {{ textFor('fontSize') }}
4495
4565
  </kendo-dialog-titlebar>
4496
- <div class="k-editor-dialog">
4497
- <div class="k-editor-dialog k-popup-edit-form k-window-content k-content">
4498
- <div class="k-edit-form-container k-window-content" [style.text-align]="'center'">
4499
- <kendo-editor-fontsize-dropdownlist
4500
- #fontSizeDropDownList
4501
- [defaultItem]="defaultItem"
4502
- [data]="data"
4503
- [(value)]="value"
4504
- [itemDisabled]="itemDisabled"
4505
- >
4506
- </kendo-editor-fontsize-dropdownlist>
4507
- </div>
4508
- </div>
4566
+ <div [style.text-align]="'center'">
4567
+ <kendo-editor-fontsize-dropdownlist
4568
+ #fontSizeDropDownList
4569
+ [defaultItem]="defaultItem"
4570
+ [data]="data"
4571
+ [(value)]="value"
4572
+ [itemDisabled]="itemDisabled"
4573
+ >
4574
+ </kendo-editor-fontsize-dropdownlist>
4509
4575
  </div>
4510
- <kendo-dialog-actions>
4576
+ <kendo-dialog-actions class="k-actions-end k-actions-horizontal k-window-actions" [layout]="'normal'">
4511
4577
  <button kendoButton (click)="onCancelAction()">{{ textFor('dialogCancel') }}</button>
4512
4578
  <button kendoButton
4513
4579
  (click)="onConfirmAction()" [primary]="true">{{ textFor('dialogApply') }}</button>
@@ -4535,17 +4601,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
4535
4601
  * Use the FontSize tool to provide a custom list of font size options including any allowed units ([see example]({% slug toolbartools_editor %}#toc-dropdownlists)).
4536
4602
  */
4537
4603
  class EditorFontSizeComponent extends ToolBarToolComponent {
4538
- constructor(dialogService, localization, providerService, toolsService) {
4604
+ constructor(dialogService, localization, providerService, toolsService, renderer) {
4539
4605
  super();
4540
4606
  this.dialogService = dialogService;
4541
4607
  this.localization = localization;
4542
4608
  this.toolsService = toolsService;
4609
+ this.renderer = renderer;
4543
4610
  this.disabled = false;
4544
4611
  this.tabindex = -1;
4545
4612
  /**
4546
4613
  * Fires when the user updates the value of the drop-down list.
4547
4614
  */
4548
4615
  this.valueChange = new EventEmitter();
4616
+ this.fontSizeSVGIcon = fontSizeIcon;
4549
4617
  this._data = [
4550
4618
  { text: '8px', size: '8px' },
4551
4619
  { text: '10px', size: '10px' },
@@ -4625,10 +4693,12 @@ class EditorFontSizeComponent extends ToolBarToolComponent {
4625
4693
  openDialog() {
4626
4694
  const dialogSettings = {
4627
4695
  appendTo: this.editor.dialogContainer,
4628
- content: FontSizeDialogComponent
4696
+ content: FontSizeDialogComponent,
4697
+ width: 400
4629
4698
  };
4630
4699
  this.editor.toolbar.toggle(false);
4631
4700
  const dialogContent = this.dialogService.open(dialogSettings).content.instance;
4701
+ this.renderer.addClass(dialogContent.dialog.dialog.instance.wrapper.nativeElement.querySelector('.k-window'), 'k-editor-window');
4632
4702
  dialogContent.setData({
4633
4703
  editor: this.editor,
4634
4704
  data: this.data,
@@ -4663,7 +4733,7 @@ class EditorFontSizeComponent extends ToolBarToolComponent {
4663
4733
  return false;
4664
4734
  }
4665
4735
  }
4666
- EditorFontSizeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorFontSizeComponent, deps: [{ token: i1$1.DialogService }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Component });
4736
+ EditorFontSizeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorFontSizeComponent, deps: [{ token: i1$1.DialogService }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
4667
4737
  EditorFontSizeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: EditorFontSizeComponent, selector: "kendo-toolbar-dropdownlist[kendoEditorFontSize]", inputs: { data: "data" }, outputs: { valueChange: "valueChange" }, providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => EditorFontSizeComponent) }], viewQueries: [{ propertyName: "toolbarTemplate", first: true, predicate: ["toolbarTemplate"], descendants: true, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }, { propertyName: "element", first: true, predicate: ["element"], descendants: true }, { propertyName: "fontSizeDropDownList", first: true, predicate: ["element"], descendants: true, read: FontSizeDropDownListComponent }, { propertyName: "fontSizeButton", first: true, predicate: ["fontSizeButton"], descendants: true, read: ElementRef }], usesInheritance: true, ngImport: i0, template: `
4668
4738
  <ng-template #toolbarTemplate>
4669
4739
  <kendo-editor-fontsize-dropdownlist
@@ -4680,22 +4750,21 @@ EditorFontSizeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
4680
4750
  </kendo-editor-fontsize-dropdownlist>
4681
4751
  </ng-template>
4682
4752
  <ng-template #popupTemplate>
4683
- <button
4753
+ <div #fontSizeButton
4684
4754
  tabindex="-1"
4685
- type="button"
4686
- kendoButton
4687
- #fontSizeButton
4688
- class="k-overflow-button"
4689
- [icon]="'font-size'"
4690
- [attr.title]="title"
4691
- [disabled]="disabled"
4755
+ role="menuitem"
4756
+ class="k-item k-menu-item"
4757
+ [class.k-disabled]="disabled"
4692
4758
  [tabindex]="tabindex"
4693
- (click)="openDialog()"
4694
- >
4695
- {{ title }}
4696
- </button>
4759
+ (click)="openDialog()">
4760
+ <span
4761
+ class="k-link k-menu-link">
4762
+ <kendo-icon-wrapper name="font-size" [svgIcon]="fontSizeSVGIcon"></kendo-icon-wrapper>
4763
+ <span *ngIf="title" class="k-menu-link-text">{{title}}</span>
4764
+ </span>
4765
+ </div>
4697
4766
  </ng-template>
4698
- `, isInline: true, components: [{ type: FontSizeDropDownListComponent, selector: "kendo-editor-fontsize-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }, { type: i4.Button, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
4767
+ `, isInline: true, components: [{ type: FontSizeDropDownListComponent, selector: "kendo-editor-fontsize-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }, { type: i6$1.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: i3$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
4699
4768
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorFontSizeComponent, decorators: [{
4700
4769
  type: Component,
4701
4770
  args: [{
@@ -4717,24 +4786,23 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
4717
4786
  </kendo-editor-fontsize-dropdownlist>
4718
4787
  </ng-template>
4719
4788
  <ng-template #popupTemplate>
4720
- <button
4789
+ <div #fontSizeButton
4721
4790
  tabindex="-1"
4722
- type="button"
4723
- kendoButton
4724
- #fontSizeButton
4725
- class="k-overflow-button"
4726
- [icon]="'font-size'"
4727
- [attr.title]="title"
4728
- [disabled]="disabled"
4791
+ role="menuitem"
4792
+ class="k-item k-menu-item"
4793
+ [class.k-disabled]="disabled"
4729
4794
  [tabindex]="tabindex"
4730
- (click)="openDialog()"
4731
- >
4732
- {{ title }}
4733
- </button>
4795
+ (click)="openDialog()">
4796
+ <span
4797
+ class="k-link k-menu-link">
4798
+ <kendo-icon-wrapper name="font-size" [svgIcon]="fontSizeSVGIcon"></kendo-icon-wrapper>
4799
+ <span *ngIf="title" class="k-menu-link-text">{{title}}</span>
4800
+ </span>
4801
+ </div>
4734
4802
  </ng-template>
4735
4803
  `
4736
4804
  }]
4737
- }], ctorParameters: function () { return [{ type: i1$1.DialogService }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; }, propDecorators: { data: [{
4805
+ }], ctorParameters: function () { return [{ type: i1$1.DialogService }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }, { type: i0.Renderer2 }]; }, propDecorators: { data: [{
4738
4806
  type: Input
4739
4807
  }], valueChange: [{
4740
4808
  type: Output
@@ -4755,6 +4823,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
4755
4823
  args: ['fontSizeButton', { read: ElementRef }]
4756
4824
  }] } });
4757
4825
 
4826
+ /* eslint-disable @typescript-eslint/no-explicit-any */
4758
4827
  /**
4759
4828
  * A component which configures an existing `DropDownListComponent` as an Editor tool
4760
4829
  * ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
@@ -4767,17 +4836,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
4767
4836
  * ```
4768
4837
  */
4769
4838
  class EditorFontFamilyComponent extends ToolBarToolComponent {
4770
- constructor(dialogService, localization, providerService, toolsService) {
4839
+ constructor(dialogService, localization, providerService, toolsService, renderer) {
4771
4840
  super();
4772
4841
  this.dialogService = dialogService;
4773
4842
  this.localization = localization;
4774
4843
  this.toolsService = toolsService;
4844
+ this.renderer = renderer;
4775
4845
  this.disabled = false;
4776
4846
  this.tabindex = -1;
4777
4847
  /**
4778
4848
  * Fires when the user updates the value of the drop-down list.
4779
4849
  */
4780
4850
  this.valueChange = new EventEmitter();
4851
+ this.fontFamilySVGIcon = fontFamilyIcon;
4781
4852
  this._data = [
4782
4853
  { text: 'Arial', fontName: 'Arial,"Helvetica Neue",Helvetica,sans-serif' },
4783
4854
  { text: 'Courier New', fontName: '"Courier New",Courier,"Lucida Sans Typewriter","Lucida Typewriter",monospace' },
@@ -4850,10 +4921,12 @@ class EditorFontFamilyComponent extends ToolBarToolComponent {
4850
4921
  openDialog() {
4851
4922
  const dialogSettings = {
4852
4923
  appendTo: this.editor.dialogContainer,
4853
- content: FontFamilyDialogComponent
4924
+ content: FontFamilyDialogComponent,
4925
+ width: 400
4854
4926
  };
4855
4927
  this.editor.toolbar.toggle(false);
4856
4928
  const dialogContent = this.dialogService.open(dialogSettings).content.instance;
4929
+ this.renderer.addClass(dialogContent.dialog.dialog.instance.wrapper.nativeElement.querySelector('.k-window'), 'k-editor-window');
4857
4930
  dialogContent.setData({
4858
4931
  editor: this.editor,
4859
4932
  data: this.data,
@@ -4888,7 +4961,7 @@ class EditorFontFamilyComponent extends ToolBarToolComponent {
4888
4961
  return false;
4889
4962
  }
4890
4963
  }
4891
- EditorFontFamilyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorFontFamilyComponent, deps: [{ token: i1$1.DialogService }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Component });
4964
+ EditorFontFamilyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorFontFamilyComponent, deps: [{ token: i1$1.DialogService }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
4892
4965
  EditorFontFamilyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: EditorFontFamilyComponent, selector: "kendo-toolbar-dropdownlist[kendoEditorFontFamily]", inputs: { data: "data" }, outputs: { valueChange: "valueChange" }, providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => EditorFontFamilyComponent) }], viewQueries: [{ propertyName: "toolbarTemplate", first: true, predicate: ["toolbarTemplate"], descendants: true, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }, { propertyName: "element", first: true, predicate: ["element"], descendants: true }, { propertyName: "fontFamilyDropDownList", first: true, predicate: ["element"], descendants: true, read: FontFamilyDropDownListComponent }, { propertyName: "fontFamilyButton", first: true, predicate: ["fontFamilyButton"], descendants: true, read: ElementRef }], usesInheritance: true, ngImport: i0, template: `
4893
4966
  <ng-template #toolbarTemplate>
4894
4967
  <kendo-editor-fontfamily-dropdownlist
@@ -4905,22 +4978,21 @@ EditorFontFamilyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
4905
4978
  </kendo-editor-fontfamily-dropdownlist>
4906
4979
  </ng-template>
4907
4980
  <ng-template #popupTemplate>
4908
- <button
4981
+ <div #fontFamilyButton
4909
4982
  tabindex="-1"
4910
- type="button"
4911
- kendoButton
4912
- #fontFamilyButton
4913
- class="k-overflow-button"
4914
- [icon]="'font-family'"
4915
- [attr.title]="title"
4916
- [disabled]="disabled"
4983
+ role="menuitem"
4984
+ class="k-item k-menu-item"
4985
+ [class.k-disabled]="disabled"
4917
4986
  [tabindex]="tabindex"
4918
- (click)="openDialog()"
4919
- >
4920
- {{ title }}
4921
- </button>
4987
+ (click)="openDialog()">
4988
+ <span
4989
+ class="k-link k-menu-link">
4990
+ <kendo-icon-wrapper name="font-family" [svgIcon]="fontFamilySVGIcon"></kendo-icon-wrapper>
4991
+ <span *ngIf="title" class="k-menu-link-text">{{title}}</span>
4992
+ </span>
4993
+ </div>
4922
4994
  </ng-template>
4923
- `, isInline: true, components: [{ type: FontFamilyDropDownListComponent, selector: "kendo-editor-fontfamily-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }, { type: i4.Button, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
4995
+ `, isInline: true, components: [{ type: FontFamilyDropDownListComponent, selector: "kendo-editor-fontfamily-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }, { type: i6$1.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: i3$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
4924
4996
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorFontFamilyComponent, decorators: [{
4925
4997
  type: Component,
4926
4998
  args: [{
@@ -4942,24 +5014,23 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
4942
5014
  </kendo-editor-fontfamily-dropdownlist>
4943
5015
  </ng-template>
4944
5016
  <ng-template #popupTemplate>
4945
- <button
5017
+ <div #fontFamilyButton
4946
5018
  tabindex="-1"
4947
- type="button"
4948
- kendoButton
4949
- #fontFamilyButton
4950
- class="k-overflow-button"
4951
- [icon]="'font-family'"
4952
- [attr.title]="title"
4953
- [disabled]="disabled"
5019
+ role="menuitem"
5020
+ class="k-item k-menu-item"
5021
+ [class.k-disabled]="disabled"
4954
5022
  [tabindex]="tabindex"
4955
- (click)="openDialog()"
4956
- >
4957
- {{ title }}
4958
- </button>
5023
+ (click)="openDialog()">
5024
+ <span
5025
+ class="k-link k-menu-link">
5026
+ <kendo-icon-wrapper name="font-family" [svgIcon]="fontFamilySVGIcon"></kendo-icon-wrapper>
5027
+ <span *ngIf="title" class="k-menu-link-text">{{title}}</span>
5028
+ </span>
5029
+ </div>
4959
5030
  </ng-template>
4960
5031
  `
4961
5032
  }]
4962
- }], ctorParameters: function () { return [{ type: i1$1.DialogService }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; }, propDecorators: { data: [{
5033
+ }], ctorParameters: function () { return [{ type: i1$1.DialogService }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }, { type: i0.Renderer2 }]; }, propDecorators: { data: [{
4963
5034
  type: Input
4964
5035
  }], valueChange: [{
4965
5036
  type: Output
@@ -4980,18 +5051,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
4980
5051
  args: ['fontFamilyButton', { read: ElementRef }]
4981
5052
  }] } });
4982
5053
 
4983
- // eslint-disable no-forward-ref
5054
+ /* eslint-disable @typescript-eslint/no-explicit-any */
4984
5055
  /**
4985
5056
  * A component which configures an existing ColorPickerComponent as a ToolBar tool.
4986
5057
  * To associate a `kendo-toolbar-colorpicker` with an Editor command that changes the
4987
5058
  * foreground or the background color of the text, use the `kendoEditorForeColor` or `kendoEditorBackColor` directive.
4988
5059
  */
4989
5060
  class EditorColorPickerComponent extends ToolBarToolComponent {
4990
- constructor(localization, dialogService, ngZone, providerService) {
5061
+ constructor(localization, dialogService, ngZone, providerService, renderer) {
4991
5062
  super();
4992
5063
  this.localization = localization;
4993
5064
  this.dialogService = dialogService;
4994
5065
  this.ngZone = ngZone;
5066
+ this.renderer = renderer;
4995
5067
  this.tabindex = -1;
4996
5068
  /**
4997
5069
  * Specifies if the component should be disabled.
@@ -5087,10 +5159,12 @@ class EditorColorPickerComponent extends ToolBarToolComponent {
5087
5159
  openDialog() {
5088
5160
  const dialogSettings = {
5089
5161
  appendTo: this.editor.dialogContainer,
5090
- content: ColorPickerDialogComponent
5162
+ content: ColorPickerDialogComponent,
5163
+ width: 400
5091
5164
  };
5092
5165
  this.editor.toolbar.toggle(false);
5093
5166
  const dialogContent = this.dialogService.open(dialogSettings).content.instance;
5167
+ this.renderer.addClass(dialogContent.dialog.dialog.instance.wrapper.nativeElement.querySelector('.k-window'), 'k-editor-window');
5094
5168
  dialogContent.setData({
5095
5169
  editor: this.editor,
5096
5170
  value: this.value,
@@ -5098,6 +5172,7 @@ class EditorColorPickerComponent extends ToolBarToolComponent {
5098
5172
  editorCommand: this.editorCommand,
5099
5173
  paletteSettings: this.paletteSettings,
5100
5174
  icon: this.icon,
5175
+ svgIcon: this.svgIcon,
5101
5176
  views: this.views
5102
5177
  });
5103
5178
  }
@@ -5113,10 +5188,10 @@ class EditorColorPickerComponent extends ToolBarToolComponent {
5113
5188
  focus() {
5114
5189
  this.tabindex = 0;
5115
5190
  if (this.overflows) {
5116
- this.colorPickerButton.nativeElement.focus();
5191
+ this.colorPickerButton?.nativeElement.focus();
5117
5192
  }
5118
5193
  else {
5119
- !this.colorPicker.isOpen && this.colorPicker.focus();
5194
+ !this.colorPicker.isOpen && this.colorPicker?.focus();
5120
5195
  }
5121
5196
  }
5122
5197
  /**
@@ -5127,13 +5202,14 @@ class EditorColorPickerComponent extends ToolBarToolComponent {
5127
5202
  return false;
5128
5203
  }
5129
5204
  }
5130
- EditorColorPickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorColorPickerComponent, deps: [{ token: EditorLocalizationService }, { token: i1$1.DialogService }, { token: i0.NgZone }, { token: ProviderService }], target: i0.ɵɵFactoryTarget.Component });
5131
- EditorColorPickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: EditorColorPickerComponent, selector: "kendo-toolbar-colorpicker", inputs: { value: "value", icon: "icon", 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: `
5205
+ EditorColorPickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorColorPickerComponent, deps: [{ token: EditorLocalizationService }, { token: i1$1.DialogService }, { token: i0.NgZone }, { token: ProviderService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
5206
+ EditorColorPickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: EditorColorPickerComponent, selector: "kendo-toolbar-colorpicker", inputs: { value: "value", icon: "icon", svgIcon: "svgIcon", paletteSettings: "paletteSettings", editorCommand: "editorCommand", disabled: "disabled", views: "views", view: "view" }, providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => EditorColorPickerComponent) }], viewQueries: [{ propertyName: "toolbarTemplate", first: true, predicate: ["toolbarTemplate"], descendants: true, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }, { propertyName: "element", first: true, predicate: ["colorpicker"], descendants: true, read: ElementRef }, { propertyName: "colorPicker", first: true, predicate: ["colorpicker"], descendants: true, read: ColorPickerComponent }, { propertyName: "colorPickerButton", first: true, predicate: ["colorPickerButton"], descendants: true, read: ElementRef }], usesInheritance: true, ngImport: i0, template: `
5132
5207
  <ng-template #toolbarTemplate>
5133
5208
  <kendo-colorpicker
5134
5209
  #colorpicker
5135
5210
  [attr.title]="title"
5136
5211
  [icon]="icon"
5212
+ [svgIcon]="svgIcon"
5137
5213
  [views]="views"
5138
5214
  [format]="'hex'"
5139
5215
  [value]="value"
@@ -5149,22 +5225,25 @@ EditorColorPickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
5149
5225
  </kendo-colorpicker>
5150
5226
  </ng-template>
5151
5227
  <ng-template #popupTemplate>
5152
- <button
5228
+ <div #colorPickerButton
5153
5229
  tabindex="-1"
5154
- type="button"
5155
- kendoButton
5156
- #colorPickerButton
5157
- class="k-overflow-button"
5158
- [icon]="icon"
5159
- [attr.title]="title"
5160
- [disabled]="disabled"
5230
+ role="menuitem"
5231
+ class="k-item k-menu-item"
5232
+ [class.k-disabled]="disabled"
5161
5233
  [tabindex]="tabindex"
5162
- (click)="openDialog()"
5163
- >
5164
- {{ title }}
5165
- </button>
5234
+ (click)="openDialog()">
5235
+ <span
5236
+ class="k-link k-menu-link">
5237
+ <kendo-icon-wrapper
5238
+ *ngIf="icon"
5239
+ [name]="icon"
5240
+ [svgIcon]="svgIcon"
5241
+ ></kendo-icon-wrapper>
5242
+ <span *ngIf="title" class="k-menu-link-text">{{title}}</span>
5243
+ </span>
5244
+ </div>
5166
5245
  </ng-template>
5167
- `, isInline: true, components: [{ type: i6.ColorPickerComponent, selector: "kendo-colorpicker", inputs: ["views", "view", "activeView", "readonly", "disabled", "format", "value", "popupSettings", "paletteSettings", "gradientSettings", "icon", "iconClass", "svgIcon", "clearButton", "tabindex", "preview", "actionsLayout", "size", "rounded", "fillMode"], outputs: ["valueChange", "open", "close", "focus", "blur", "cancel", "activeColorClick", "activeViewChange"], exportAs: ["kendoColorPicker"] }, { type: i4.Button, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
5246
+ `, isInline: true, components: [{ type: i4.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", "activeViewChange"], exportAs: ["kendoColorPicker"] }, { type: i6$1.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: i3$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
5168
5247
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorColorPickerComponent, decorators: [{
5169
5248
  type: Component,
5170
5249
  args: [{
@@ -5176,6 +5255,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
5176
5255
  #colorpicker
5177
5256
  [attr.title]="title"
5178
5257
  [icon]="icon"
5258
+ [svgIcon]="svgIcon"
5179
5259
  [views]="views"
5180
5260
  [format]="'hex'"
5181
5261
  [value]="value"
@@ -5191,27 +5271,32 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
5191
5271
  </kendo-colorpicker>
5192
5272
  </ng-template>
5193
5273
  <ng-template #popupTemplate>
5194
- <button
5274
+ <div #colorPickerButton
5195
5275
  tabindex="-1"
5196
- type="button"
5197
- kendoButton
5198
- #colorPickerButton
5199
- class="k-overflow-button"
5200
- [icon]="icon"
5201
- [attr.title]="title"
5202
- [disabled]="disabled"
5276
+ role="menuitem"
5277
+ class="k-item k-menu-item"
5278
+ [class.k-disabled]="disabled"
5203
5279
  [tabindex]="tabindex"
5204
- (click)="openDialog()"
5205
- >
5206
- {{ title }}
5207
- </button>
5280
+ (click)="openDialog()">
5281
+ <span
5282
+ class="k-link k-menu-link">
5283
+ <kendo-icon-wrapper
5284
+ *ngIf="icon"
5285
+ [name]="icon"
5286
+ [svgIcon]="svgIcon"
5287
+ ></kendo-icon-wrapper>
5288
+ <span *ngIf="title" class="k-menu-link-text">{{title}}</span>
5289
+ </span>
5290
+ </div>
5208
5291
  </ng-template>
5209
5292
  `
5210
5293
  }]
5211
- }], ctorParameters: function () { return [{ type: EditorLocalizationService }, { type: i1$1.DialogService }, { type: i0.NgZone }, { type: ProviderService }]; }, propDecorators: { value: [{
5294
+ }], ctorParameters: function () { return [{ type: EditorLocalizationService }, { type: i1$1.DialogService }, { type: i0.NgZone }, { type: ProviderService }, { type: i0.Renderer2 }]; }, propDecorators: { value: [{
5212
5295
  type: Input
5213
5296
  }], icon: [{
5214
5297
  type: Input
5298
+ }], svgIcon: [{
5299
+ type: Input
5215
5300
  }], paletteSettings: [{
5216
5301
  type: Input
5217
5302
  }], editorCommand: [{
@@ -5230,13 +5315,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
5230
5315
  args: ['popupTemplate', { static: true }]
5231
5316
  }], element: [{
5232
5317
  type: ViewChild,
5233
- args: ['colorpicker', { read: ElementRef, static: false }]
5318
+ args: ['colorpicker', { read: ElementRef }]
5234
5319
  }], colorPicker: [{
5235
5320
  type: ViewChild,
5236
- args: ['colorpicker', { read: ColorPickerComponent, static: false }]
5321
+ args: ['colorpicker', { read: ColorPickerComponent }]
5237
5322
  }], colorPickerButton: [{
5238
5323
  type: ViewChild,
5239
- args: ['colorPickerButton', { read: ElementRef, static: false }]
5324
+ args: ['colorPickerButton', { read: ElementRef }]
5240
5325
  }] } });
5241
5326
 
5242
5327
  const popupWrapperWidth = '190px';
@@ -5250,11 +5335,13 @@ const popupWrapperHeight = '164px'; // Set to '192px' when TableWizard button is
5250
5335
  * ```
5251
5336
  */
5252
5337
  class EditorInsertTableButtonComponent extends ToolBarToolComponent {
5253
- constructor(localization, popupService, dialogService, providerService) {
5338
+ constructor(localization, popupService, dialogService, providerService, renderer) {
5254
5339
  super();
5255
5340
  this.localization = localization;
5256
5341
  this.popupService = popupService;
5257
5342
  this.dialogService = dialogService;
5343
+ this.renderer = renderer;
5344
+ this.addTableSVGIcon = tableAddIcon;
5258
5345
  this.open = false;
5259
5346
  this.buttonBlurred = new EventEmitter();
5260
5347
  this.cellClicked = new EventEmitter();
@@ -5296,10 +5383,12 @@ class EditorInsertTableButtonComponent extends ToolBarToolComponent {
5296
5383
  openDialog() {
5297
5384
  const dialogSettings = {
5298
5385
  appendTo: this.editor.dialogContainer,
5299
- content: InsertTableDialogComponent
5386
+ content: InsertTableDialogComponent,
5387
+ width: 400
5300
5388
  };
5301
5389
  this.editor.toolbar.toggle(false);
5302
5390
  const dialogContent = this.dialogService.open(dialogSettings).content.instance;
5391
+ this.renderer.addClass(dialogContent.dialog.dialog.instance.wrapper.nativeElement.querySelector('.k-window'), 'k-editor-window');
5303
5392
  dialogContent.setData({
5304
5393
  editor: this.editor
5305
5394
  });
@@ -5377,7 +5466,7 @@ class EditorInsertTableButtonComponent extends ToolBarToolComponent {
5377
5466
  return (this.overflows ? this.overflowElement : this.element).nativeElement;
5378
5467
  }
5379
5468
  }
5380
- EditorInsertTableButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorInsertTableButtonComponent, deps: [{ token: EditorLocalizationService }, { token: i2.PopupService }, { token: i1$1.DialogService }, { token: ProviderService }], target: i0.ɵɵFactoryTarget.Component });
5469
+ EditorInsertTableButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorInsertTableButtonComponent, deps: [{ token: EditorLocalizationService }, { token: i2.PopupService }, { token: i1$1.DialogService }, { token: ProviderService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
5381
5470
  EditorInsertTableButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: EditorInsertTableButtonComponent, selector: "kendo-editor-insert-table-button", providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => EditorInsertTableButtonComponent) }], viewQueries: [{ propertyName: "toolbarTemplate", first: true, predicate: ["toolbarTemplate"], descendants: true, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true }, { propertyName: "element", first: true, predicate: ["element"], descendants: true, read: ElementRef }, { propertyName: "overflowElement", first: true, predicate: ["overflowElement"], descendants: true, read: ElementRef }, { propertyName: "popupGridTemplate", first: true, predicate: ["popupGridTemplate"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `
5382
5471
  <ng-template #toolbarTemplate>
5383
5472
  <button
@@ -5387,27 +5476,30 @@ EditorInsertTableButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion:
5387
5476
  [attr.title]="title"
5388
5477
  [attr.tabindex]="tabIndex"
5389
5478
  icon="table-add"
5479
+ [svgIcon]="addTableSVGIcon"
5390
5480
  [disabled]="disabled"
5391
5481
  (click)="toggle()"
5392
5482
  (blur)="onBlur()"
5393
5483
  ></button>
5394
5484
  </ng-template>
5395
5485
  <ng-template #popupTemplate>
5396
- <button
5397
- kendoButton
5398
- #overflowElement
5399
- [attr.title]="title"
5486
+ <div #overflowElement
5487
+ role="menuitem"
5488
+ class="k-item k-menu-item"
5489
+ [class.k-disabled]="disabled"
5400
5490
  [attr.tabindex]="tabIndex"
5401
- icon="table-add"
5402
- [disabled]="disabled"
5403
5491
  (click)="openDialog()">
5404
- {{ title }}
5405
- </button>
5492
+ <span
5493
+ class="k-link k-menu-link">
5494
+ <kendo-icon-wrapper name="table-add" [svgIcon]="addTableSVGIcon"></kendo-icon-wrapper>
5495
+ <span *ngIf="title" class="k-menu-link-text">{{title}}</span>
5496
+ </span>
5497
+ </div>
5406
5498
  </ng-template>
5407
5499
  <ng-template #popupGridTemplate>
5408
5500
  <kendo-popup-table-grid (cellClick)="onCellClick($event)" (tableWizardClick)="onTableWizardClick()"></kendo-popup-table-grid>
5409
5501
  </ng-template>
5410
- `, isInline: true, components: [{ type: i4.Button, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { type: PopupTableGridComponent, selector: "kendo-popup-table-grid", outputs: ["cellClick", "tableWizardClick"] }] });
5502
+ `, isInline: true, components: [{ type: i4$1.Button, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { type: i6$1.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }, { type: PopupTableGridComponent, selector: "kendo-popup-table-grid", outputs: ["cellClick", "tableWizardClick"] }], directives: [{ type: i3$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
5411
5503
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorInsertTableButtonComponent, decorators: [{
5412
5504
  type: Component,
5413
5505
  args: [{
@@ -5422,29 +5514,32 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
5422
5514
  [attr.title]="title"
5423
5515
  [attr.tabindex]="tabIndex"
5424
5516
  icon="table-add"
5517
+ [svgIcon]="addTableSVGIcon"
5425
5518
  [disabled]="disabled"
5426
5519
  (click)="toggle()"
5427
5520
  (blur)="onBlur()"
5428
5521
  ></button>
5429
5522
  </ng-template>
5430
5523
  <ng-template #popupTemplate>
5431
- <button
5432
- kendoButton
5433
- #overflowElement
5434
- [attr.title]="title"
5524
+ <div #overflowElement
5525
+ role="menuitem"
5526
+ class="k-item k-menu-item"
5527
+ [class.k-disabled]="disabled"
5435
5528
  [attr.tabindex]="tabIndex"
5436
- icon="table-add"
5437
- [disabled]="disabled"
5438
5529
  (click)="openDialog()">
5439
- {{ title }}
5440
- </button>
5530
+ <span
5531
+ class="k-link k-menu-link">
5532
+ <kendo-icon-wrapper name="table-add" [svgIcon]="addTableSVGIcon"></kendo-icon-wrapper>
5533
+ <span *ngIf="title" class="k-menu-link-text">{{title}}</span>
5534
+ </span>
5535
+ </div>
5441
5536
  </ng-template>
5442
5537
  <ng-template #popupGridTemplate>
5443
5538
  <kendo-popup-table-grid (cellClick)="onCellClick($event)" (tableWizardClick)="onTableWizardClick()"></kendo-popup-table-grid>
5444
5539
  </ng-template>
5445
5540
  `
5446
5541
  }]
5447
- }], ctorParameters: function () { return [{ type: EditorLocalizationService }, { type: i2.PopupService }, { type: i1$1.DialogService }, { type: ProviderService }]; }, propDecorators: { toolbarTemplate: [{
5542
+ }], ctorParameters: function () { return [{ type: EditorLocalizationService }, { type: i2.PopupService }, { type: i1$1.DialogService }, { type: ProviderService }, { type: i0.Renderer2 }]; }, propDecorators: { toolbarTemplate: [{
5448
5543
  type: ViewChild,
5449
5544
  args: ['toolbarTemplate', { static: true }]
5450
5545
  }], popupTemplate: [{
@@ -5716,6 +5811,7 @@ class EditorForeColorDirective {
5716
5811
  constructor(colorPicker) {
5717
5812
  this.colorPicker = colorPicker;
5718
5813
  this.colorPicker.icon = commandIcons.foreColor;
5814
+ this.colorPicker.svgIcon = commandSVGIcons.foreColor;
5719
5815
  this.colorPicker.editorCommand = 'foreColor';
5720
5816
  }
5721
5817
  }
@@ -5737,6 +5833,7 @@ class EditorBackColorDirective {
5737
5833
  constructor(colorPicker) {
5738
5834
  this.colorPicker = colorPicker;
5739
5835
  this.colorPicker.icon = commandIcons.backColor;
5836
+ this.colorPicker.svgIcon = commandSVGIcons.backColor;
5740
5837
  this.colorPicker.editorCommand = 'backColor';
5741
5838
  }
5742
5839
  }
@@ -6345,8 +6442,11 @@ EditorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
6345
6442
  DropDownsModule,
6346
6443
  NumericTextBoxModule,
6347
6444
  CheckBoxModule,
6445
+ IconsModule,
6348
6446
  ToolBarModule,
6349
- TextBoxModule], exports: [EditorComponent,
6447
+ TextBoxModule,
6448
+ TextAreaModule,
6449
+ LabelModule], exports: [EditorComponent,
6350
6450
  //alignment
6351
6451
  EditorAlignLeftButtonDirective,
6352
6452
  EditorAlignCenterButtonDirective,
@@ -6425,8 +6525,11 @@ EditorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
6425
6525
  DropDownsModule,
6426
6526
  NumericTextBoxModule,
6427
6527
  CheckBoxModule,
6528
+ IconsModule,
6428
6529
  ToolBarModule,
6429
- TextBoxModule
6530
+ TextBoxModule,
6531
+ TextAreaModule,
6532
+ LabelModule
6430
6533
  ], ToolBarModule,
6431
6534
  ButtonModule,
6432
6535
  FormsModule,
@@ -6466,8 +6569,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
6466
6569
  DropDownsModule,
6467
6570
  NumericTextBoxModule,
6468
6571
  CheckBoxModule,
6572
+ IconsModule,
6469
6573
  ToolBarModule,
6470
- TextBoxModule
6574
+ TextBoxModule,
6575
+ TextAreaModule,
6576
+ LabelModule
6471
6577
  ]
6472
6578
  }]
6473
6579
  }] });