@progress/kendo-angular-editor 11.0.0-develop.104 → 11.0.0-develop.106

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 (29) hide show
  1. package/dialogs/file-link-dialog.component.d.ts +2 -2
  2. package/dialogs/image-dialog.component.d.ts +2 -2
  3. package/dialogs/source-dialog.component.d.ts +2 -2
  4. package/editor.component.d.ts +3 -2
  5. package/editor.module.d.ts +2 -1
  6. package/esm2020/dialogs/colorpicker-dialog.component.mjs +26 -34
  7. package/esm2020/dialogs/file-link-dialog.component.mjs +79 -77
  8. package/esm2020/dialogs/font-family-dialog.component.mjs +20 -28
  9. package/esm2020/dialogs/font-size-dialog.component.mjs +20 -28
  10. package/esm2020/dialogs/format-dialog.component.mjs +20 -28
  11. package/esm2020/dialogs/image-dialog.component.mjs +74 -63
  12. package/esm2020/dialogs/insert-table-dialog.component.mjs +6 -14
  13. package/esm2020/dialogs/source-dialog.component.mjs +9 -7
  14. package/esm2020/editor.component.mjs +29 -9
  15. package/esm2020/editor.module.mjs +11 -4
  16. package/esm2020/package-metadata.mjs +1 -1
  17. package/esm2020/tools/colorpicker/editor-colorpicker.component.mjs +8 -5
  18. package/esm2020/tools/fontfamily/editor-fontfamily.component.mjs +8 -5
  19. package/esm2020/tools/fontsize/editor-fontsize.component.mjs +8 -5
  20. package/esm2020/tools/format/editor-format.component.mjs +8 -5
  21. package/esm2020/tools/tables/editor-insert-table-button.component.mjs +8 -5
  22. package/fesm2015/progress-kendo-angular-editor.mjs +332 -321
  23. package/fesm2020/progress-kendo-angular-editor.mjs +332 -321
  24. package/package.json +12 -12
  25. package/tools/colorpicker/editor-colorpicker.component.d.ts +3 -2
  26. package/tools/fontfamily/editor-fontfamily.component.d.ts +3 -2
  27. package/tools/fontsize/editor-fontsize.component.d.ts +3 -2
  28. package/tools/format/editor-format.component.d.ts +3 -2
  29. package/tools/tables/editor-insert-table-button.component.d.ts +3 -2
@@ -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,14 +16,16 @@ 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';
29
31
  import * as i2 from '@progress/kendo-angular-popup';
@@ -35,7 +37,7 @@ const packageMetadata = {
35
37
  name: '@progress/kendo-angular-editor',
36
38
  productName: 'Kendo UI for Angular',
37
39
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
38
- publishDate: 1673525165,
40
+ publishDate: 1673542332,
39
41
  version: '',
40
42
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
41
43
  };
@@ -664,7 +666,7 @@ class SourceDialogComponent extends DialogContentBase {
664
666
  }
665
667
  ngAfterViewInit() {
666
668
  Promise.resolve(null).then(() => {
667
- this.textarea.nativeElement.focus();
669
+ this.textarea.focus();
668
670
  });
669
671
  }
670
672
  onCancelAction() {
@@ -676,7 +678,7 @@ class SourceDialogComponent extends DialogContentBase {
676
678
  this.editor.view.focus();
677
679
  }
678
680
  getData() {
679
- return this.textarea.nativeElement.value;
681
+ return this.textarea.value;
680
682
  }
681
683
  setData() {
682
684
  this.data = this.indent(this.editor.getSource());
@@ -697,12 +699,12 @@ SourceDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
697
699
  <kendo-dialog-titlebar (close)="onCancelAction()">
698
700
  {{ textFor('viewSource') }}
699
701
  </kendo-dialog-titlebar>
700
- <textarea [value]="data" #textarea class="k-textarea k-editor-textarea" [style.height.%]="100"></textarea>
702
+ <kendo-textarea [value]="data" #textarea [style.height.%]="100"></kendo-textarea>
701
703
  <kendo-dialog-actions>
702
704
  <button kendoButton (click)="onCancelAction()">{{ textFor('dialogCancel') }}</button>
703
705
  <button kendoButton (click)="onConfirmAction()" [primary]="true">{{ textFor('dialogUpdate') }}</button>
704
706
  </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"] }] });
707
+ `, 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
708
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SourceDialogComponent, decorators: [{
707
709
  type: Component,
708
710
  args: [{
@@ -710,7 +712,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
710
712
  <kendo-dialog-titlebar (close)="onCancelAction()">
711
713
  {{ textFor('viewSource') }}
712
714
  </kendo-dialog-titlebar>
713
- <textarea [value]="data" #textarea class="k-textarea k-editor-textarea" [style.height.%]="100"></textarea>
715
+ <kendo-textarea [value]="data" #textarea [style.height.%]="100"></kendo-textarea>
714
716
  <kendo-dialog-actions>
715
717
  <button kendoButton (click)="onCancelAction()">{{ textFor('dialogCancel') }}</button>
716
718
  <button kendoButton (click)="onConfirmAction()" [primary]="true">{{ textFor('dialogUpdate') }}</button>
@@ -757,7 +759,7 @@ class ImageDialogComponent extends DialogContentBase {
757
759
  }
758
760
  ngAfterViewInit() {
759
761
  Promise.resolve(null).then(() => {
760
- this.srcInput.nativeElement.focus();
762
+ this.srcInput.focus();
761
763
  });
762
764
  }
763
765
  onCancelAction() {
@@ -795,46 +797,50 @@ class ImageDialogComponent extends DialogContentBase {
795
797
  }
796
798
  }
797
799
  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: `
800
+ 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
801
  <kendo-dialog-titlebar (close)="onCancelAction()">
800
802
  {{ textFor('insertImage') }}
801
803
  </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>
804
+ <div class="k-form k-form-md k-form-horizontal">
805
+ <div class="k-form-field">
806
+ <div class="k-form-label">
807
+ <kendo-label [for]="srcInput" [text]="textFor('imageWebAddress')"></kendo-label>
808
+ </div>
809
+ <div class="k-form-field-wrap">
810
+ <kendo-textbox #srcInput [formControl]="src"></kendo-textbox>
811
+ </div>
812
+ </div>
813
+ <div class="k-form-field">
814
+ <div class="k-form-label">
815
+ <kendo-label [for]="altTextInput" [text]="textFor('imageAltText')"></kendo-label>
816
+ </div>
817
+ <div class="k-form-field-wrap">
818
+ <kendo-textbox #altTextInput [formControl]="alt"></kendo-textbox>
819
+ </div>
820
+ </div>
821
+ <div class="k-form-field">
822
+ <div class="k-form-label">
823
+ <kendo-label [for]="widthInput" [text]="textFor('imageWidth')"></kendo-label>
824
+ </div>
825
+ <div class="k-form-field-wrap">
826
+ <kendo-textbox #widthInput [formControl]="width"></kendo-textbox>
827
+ </div>
828
+ </div>
829
+ <div class="k-form-field">
830
+ <div class="k-form-label">
831
+ <kendo-label [for]="heightInput" [text]="textFor('imageHeight')"></kendo-label>
832
+ </div>
833
+ <div class="k-form-field-wrap">
834
+ <kendo-textbox #heightInput [formControl]="height"></kendo-textbox>
829
835
  </div>
830
836
  </div>
831
837
  </div>
832
- <kendo-dialog-actions>
838
+ <kendo-dialog-actions class="k-actions-end k-actions-horizontal k-window-actions" [layout]="'normal'">
833
839
  <button kendoButton (click)="onCancelAction()">{{ textFor('dialogCancel') }}</button>
834
840
  <button kendoButton [disabled]="imageData.invalid"
835
841
  (click)="onConfirmAction()" [primary]="true">{{ textFor('dialogInsert') }}</button>
836
842
  </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"] }] });
843
+ `, 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
844
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ImageDialogComponent, decorators: [{
839
845
  type: Component,
840
846
  args: [{
@@ -842,37 +848,41 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
842
848
  <kendo-dialog-titlebar (close)="onCancelAction()">
843
849
  {{ textFor('insertImage') }}
844
850
  </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>
851
+ <div class="k-form k-form-md k-form-horizontal">
852
+ <div class="k-form-field">
853
+ <div class="k-form-label">
854
+ <kendo-label [for]="srcInput" [text]="textFor('imageWebAddress')"></kendo-label>
855
+ </div>
856
+ <div class="k-form-field-wrap">
857
+ <kendo-textbox #srcInput [formControl]="src"></kendo-textbox>
858
+ </div>
859
+ </div>
860
+ <div class="k-form-field">
861
+ <div class="k-form-label">
862
+ <kendo-label [for]="altTextInput" [text]="textFor('imageAltText')"></kendo-label>
863
+ </div>
864
+ <div class="k-form-field-wrap">
865
+ <kendo-textbox #altTextInput [formControl]="alt"></kendo-textbox>
866
+ </div>
867
+ </div>
868
+ <div class="k-form-field">
869
+ <div class="k-form-label">
870
+ <kendo-label [for]="widthInput" [text]="textFor('imageWidth')"></kendo-label>
871
+ </div>
872
+ <div class="k-form-field-wrap">
873
+ <kendo-textbox #widthInput [formControl]="width"></kendo-textbox>
874
+ </div>
875
+ </div>
876
+ <div class="k-form-field">
877
+ <div class="k-form-label">
878
+ <kendo-label [for]="heightInput" [text]="textFor('imageHeight')"></kendo-label>
879
+ </div>
880
+ <div class="k-form-field-wrap">
881
+ <kendo-textbox #heightInput [formControl]="height"></kendo-textbox>
872
882
  </div>
873
883
  </div>
874
884
  </div>
875
- <kendo-dialog-actions>
885
+ <kendo-dialog-actions class="k-actions-end k-actions-horizontal k-window-actions" [layout]="'normal'">
876
886
  <button kendoButton (click)="onCancelAction()">{{ textFor('dialogCancel') }}</button>
877
887
  <button kendoButton [disabled]="imageData.invalid"
878
888
  (click)="onConfirmAction()" [primary]="true">{{ textFor('dialogInsert') }}</button>
@@ -883,7 +893,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
883
893
  type: Input
884
894
  }], srcInput: [{
885
895
  type: ViewChild,
886
- args: ['srcInput', { read: ElementRef, static: true }]
896
+ args: ['srcInput']
887
897
  }] } });
888
898
 
889
899
  /**
@@ -902,7 +912,7 @@ class FileLinkDialogComponent extends DialogContentBase {
902
912
  }
903
913
  ngAfterViewInit() {
904
914
  Promise.resolve(null).then(() => {
905
- this.hrefInput.nativeElement.focus();
915
+ this.hrefInput.focus();
906
916
  });
907
917
  }
908
918
  onCancelAction() {
@@ -975,52 +985,52 @@ class FileLinkDialogComponent extends DialogContentBase {
975
985
  }
976
986
  }
977
987
  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: `
988
+ 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
989
  <kendo-dialog-titlebar (close)="onCancelAction()">
980
990
  {{ titleText }}
981
991
  </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>
992
+ <form class="k-form k-form-md k-form-horizontal" novalidate [formGroup]="linkForm">
993
+ <div class="k-form-field">
994
+ <div class="k-form-label">
995
+ <kendo-label [for]="hrefInput" [text]="textForWithPrefix('WebAddress')"></kendo-label>
996
+ </div>
997
+ <div class="k-form-field-wrap">
998
+ <kendo-textbox #hrefInput formControlName="href"></kendo-textbox>
1014
999
  </div>
1015
1000
  </div>
1016
- </div>
1017
- <kendo-dialog-actions>
1001
+ <div class="k-form-field">
1002
+ <div class="k-form-label">
1003
+ <kendo-label [for]="textInput" [text]="textForWithPrefix('Text')"></kendo-label>
1004
+ </div>
1005
+ <div class="k-form-field-wrap">
1006
+ <kendo-textbox #textInput formControlName="text"></kendo-textbox>
1007
+ </div>
1008
+ </div>
1009
+ <div class="k-form-field">
1010
+ <div class="k-form-label">
1011
+ <kendo-label [for]="titleInput" [text]="textForWithPrefix('Title')"></kendo-label>
1012
+ </div>
1013
+ <div class="k-form-field-wrap">
1014
+ <kendo-textbox #titleInput formControlName="title"></kendo-textbox>
1015
+ </div>
1016
+ </div>
1017
+ <ng-container *ngIf="command === 'createLink'">
1018
+ <div class="k-form-field">
1019
+ <div class="k-form-label"></div>
1020
+ <div class="k-form-field-wrap">
1021
+ <input type="checkbox" id="k-target-blank" kendoCheckBox formControlName="target" />
1022
+ <label class="k-checkbox-label" for="k-target-blank" [style.display]="'inline'">{{ textForWithPrefix('OpenInNewWindow') }}</label>
1023
+ </div>
1024
+ </div>
1025
+ </ng-container>
1026
+ </form>
1027
+ <kendo-dialog-actions class="k-actions-end k-actions-horizontal k-window-actions" [layout]="'normal'">
1018
1028
  <button kendoButton (click)="onCancelAction()">{{ textFor('dialogCancel') }}</button>
1019
1029
  <button kendoButton [disabled]="linkForm.invalid" (click)="onConfirmAction()" [primary]="true">
1020
1030
  {{ textFor('dialogInsert') }}
1021
1031
  </button>
1022
1032
  </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"] }] });
1033
+ `, 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
1034
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FileLinkDialogComponent, decorators: [{
1025
1035
  type: Component,
1026
1036
  args: [{
@@ -1028,42 +1038,42 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
1028
1038
  <kendo-dialog-titlebar (close)="onCancelAction()">
1029
1039
  {{ titleText }}
1030
1040
  </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>
1041
+ <form class="k-form k-form-md k-form-horizontal" novalidate [formGroup]="linkForm">
1042
+ <div class="k-form-field">
1043
+ <div class="k-form-label">
1044
+ <kendo-label [for]="hrefInput" [text]="textForWithPrefix('WebAddress')"></kendo-label>
1045
+ </div>
1046
+ <div class="k-form-field-wrap">
1047
+ <kendo-textbox #hrefInput formControlName="href"></kendo-textbox>
1063
1048
  </div>
1064
1049
  </div>
1065
- </div>
1066
- <kendo-dialog-actions>
1050
+ <div class="k-form-field">
1051
+ <div class="k-form-label">
1052
+ <kendo-label [for]="textInput" [text]="textForWithPrefix('Text')"></kendo-label>
1053
+ </div>
1054
+ <div class="k-form-field-wrap">
1055
+ <kendo-textbox #textInput formControlName="text"></kendo-textbox>
1056
+ </div>
1057
+ </div>
1058
+ <div class="k-form-field">
1059
+ <div class="k-form-label">
1060
+ <kendo-label [for]="titleInput" [text]="textForWithPrefix('Title')"></kendo-label>
1061
+ </div>
1062
+ <div class="k-form-field-wrap">
1063
+ <kendo-textbox #titleInput formControlName="title"></kendo-textbox>
1064
+ </div>
1065
+ </div>
1066
+ <ng-container *ngIf="command === 'createLink'">
1067
+ <div class="k-form-field">
1068
+ <div class="k-form-label"></div>
1069
+ <div class="k-form-field-wrap">
1070
+ <input type="checkbox" id="k-target-blank" kendoCheckBox formControlName="target" />
1071
+ <label class="k-checkbox-label" for="k-target-blank" [style.display]="'inline'">{{ textForWithPrefix('OpenInNewWindow') }}</label>
1072
+ </div>
1073
+ </div>
1074
+ </ng-container>
1075
+ </form>
1076
+ <kendo-dialog-actions class="k-actions-end k-actions-horizontal k-window-actions" [layout]="'normal'">
1067
1077
  <button kendoButton (click)="onCancelAction()">{{ textFor('dialogCancel') }}</button>
1068
1078
  <button kendoButton [disabled]="linkForm.invalid" (click)="onConfirmAction()" [primary]="true">
1069
1079
  {{ textFor('dialogInsert') }}
@@ -1077,7 +1087,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
1077
1087
  type: Input
1078
1088
  }], hrefInput: [{
1079
1089
  type: ViewChild,
1080
- args: ['hrefInput', { read: ElementRef, static: true }]
1090
+ args: ['hrefInput']
1081
1091
  }] } });
1082
1092
 
1083
1093
  /**
@@ -1557,7 +1567,7 @@ FormatDropDownListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.
1557
1567
  </ng-container>
1558
1568
  </ng-template>
1559
1569
  </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]" }] });
1570
+ `, 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
1571
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormatDropDownListComponent, decorators: [{
1562
1572
  type: Component,
1563
1573
  args: [{
@@ -1679,26 +1689,22 @@ FormatDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
1679
1689
  <kendo-dialog-titlebar (close)="onCancelAction()">
1680
1690
  {{ textFor('format') }}
1681
1691
  </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>
1692
+ <div [style.text-align]="'center'">
1693
+ <kendo-editor-format-dropdownlist
1694
+ #formatDropDownList
1695
+ [defaultItem]="defaultItem"
1696
+ [data]="data"
1697
+ [(value)]="value"
1698
+ [itemDisabled]="itemDisabled"
1699
+ >
1700
+ </kendo-editor-format-dropdownlist>
1695
1701
  </div>
1696
- <kendo-dialog-actions>
1702
+ <kendo-dialog-actions class="k-actions-end k-actions-horizontal k-window-actions" [layout]="'normal'">
1697
1703
  <button kendoButton (click)="onCancelAction()">{{ textFor('dialogCancel') }}</button>
1698
1704
  <button kendoButton
1699
1705
  (click)="onConfirmAction()" [primary]="true">{{ textFor('dialogApply') }}</button>
1700
1706
  </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"] }] });
1707
+ `, 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
1708
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormatDialogComponent, decorators: [{
1703
1709
  type: Component,
1704
1710
  args: [{
@@ -1706,21 +1712,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
1706
1712
  <kendo-dialog-titlebar (close)="onCancelAction()">
1707
1713
  {{ textFor('format') }}
1708
1714
  </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>
1715
+ <div [style.text-align]="'center'">
1716
+ <kendo-editor-format-dropdownlist
1717
+ #formatDropDownList
1718
+ [defaultItem]="defaultItem"
1719
+ [data]="data"
1720
+ [(value)]="value"
1721
+ [itemDisabled]="itemDisabled"
1722
+ >
1723
+ </kendo-editor-format-dropdownlist>
1722
1724
  </div>
1723
- <kendo-dialog-actions>
1725
+ <kendo-dialog-actions class="k-actions-end k-actions-horizontal k-window-actions" [layout]="'normal'">
1724
1726
  <button kendoButton (click)="onCancelAction()">{{ textFor('dialogCancel') }}</button>
1725
1727
  <button kendoButton
1726
1728
  (click)="onConfirmAction()" [primary]="true">{{ textFor('dialogApply') }}</button>
@@ -1746,11 +1748,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
1746
1748
  * ```
1747
1749
  */
1748
1750
  class EditorFormatComponent extends ToolBarToolComponent {
1749
- constructor(dialogService, localization, providerService, toolsService) {
1751
+ constructor(dialogService, localization, providerService, toolsService, renderer) {
1750
1752
  super();
1751
1753
  this.dialogService = dialogService;
1752
1754
  this.localization = localization;
1753
1755
  this.toolsService = toolsService;
1756
+ this.renderer = renderer;
1754
1757
  this.disabled = false;
1755
1758
  this.tabindex = -1;
1756
1759
  /**
@@ -1826,10 +1829,12 @@ class EditorFormatComponent extends ToolBarToolComponent {
1826
1829
  openDialog() {
1827
1830
  const dialogSettings = {
1828
1831
  appendTo: this.editor.dialogContainer,
1829
- content: FormatDialogComponent
1832
+ content: FormatDialogComponent,
1833
+ width: 400
1830
1834
  };
1831
1835
  this.editor.toolbar.toggle(false);
1832
1836
  const dialogContent = this.dialogService.open(dialogSettings).content.instance;
1837
+ this.renderer.addClass(dialogContent.dialog.dialog.instance.wrapper.nativeElement.querySelector('.k-window'), 'k-editor-window');
1833
1838
  dialogContent.setData({
1834
1839
  editor: this.editor,
1835
1840
  data: this.data,
@@ -1864,7 +1869,7 @@ class EditorFormatComponent extends ToolBarToolComponent {
1864
1869
  return false;
1865
1870
  }
1866
1871
  }
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 });
1872
+ 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
1873
  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
1874
  <ng-template #toolbarTemplate>
1870
1875
  <kendo-editor-format-dropdownlist
@@ -1894,7 +1899,7 @@ EditorFormatComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
1894
1899
  </span>
1895
1900
  </div>
1896
1901
  </ng-template>
1897
- `, isInline: true, components: [{ type: FormatDropDownListComponent, selector: "kendo-editor-format-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
1902
+ `, isInline: true, components: [{ type: FormatDropDownListComponent, selector: "kendo-editor-format-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }], directives: [{ type: i3$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
1898
1903
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorFormatComponent, decorators: [{
1899
1904
  type: Component,
1900
1905
  args: [{
@@ -1931,7 +1936,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
1931
1936
  </ng-template>
1932
1937
  `
1933
1938
  }]
1934
- }], ctorParameters: function () { return [{ type: i1$1.DialogService }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; }, propDecorators: { data: [{
1939
+ }], ctorParameters: function () { return [{ type: i1$1.DialogService }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }, { type: i0.Renderer2 }]; }, propDecorators: { data: [{
1935
1940
  type: Input
1936
1941
  }], valueChange: [{
1937
1942
  type: Output
@@ -2728,7 +2733,7 @@ const getPasteCleanupAttributes = (config) => {
2728
2733
  * Represents the [Kendo UI Editor component for Angular]({% slug overview_editor %}).
2729
2734
  */
2730
2735
  class EditorComponent {
2731
- constructor(dialogService, localization, cdr, ngZone, element, providerService, toolsService) {
2736
+ constructor(dialogService, localization, cdr, ngZone, element, providerService, toolsService, renderer) {
2732
2737
  this.dialogService = dialogService;
2733
2738
  this.localization = localization;
2734
2739
  this.cdr = cdr;
@@ -2736,6 +2741,7 @@ class EditorComponent {
2736
2741
  this.element = element;
2737
2742
  this.providerService = providerService;
2738
2743
  this.toolsService = toolsService;
2744
+ this.renderer = renderer;
2739
2745
  /**
2740
2746
  * If set to `false`, the Editor will run in style non-encapsulated mode. This means
2741
2747
  * that the styles of the page will be persisted in the Editor and its content will be affected by them.
@@ -3079,6 +3085,9 @@ class EditorComponent {
3079
3085
  if (this.resizable) {
3080
3086
  this.normalizeSize();
3081
3087
  }
3088
+ if (this.userToolBarComponent) {
3089
+ this.renderer.addClass(this.userToolBarComponent.element.nativeElement, 'k-editor-toolbar');
3090
+ }
3082
3091
  this.toolbar.onResize();
3083
3092
  }
3084
3093
  ngOnChanges(changes) {
@@ -3194,13 +3203,16 @@ class EditorComponent {
3194
3203
  openDialog(dialogName) {
3195
3204
  const editorDialogs = {
3196
3205
  createLink: {
3197
- content: FileLinkDialogComponent
3206
+ content: FileLinkDialogComponent,
3207
+ width: 400
3198
3208
  },
3199
3209
  insertFile: {
3200
- content: FileLinkDialogComponent
3210
+ content: FileLinkDialogComponent,
3211
+ width: 400
3201
3212
  },
3202
3213
  insertImage: {
3203
- content: ImageDialogComponent
3214
+ content: ImageDialogComponent,
3215
+ width: 400
3204
3216
  },
3205
3217
  viewSource: {
3206
3218
  content: SourceDialogComponent,
@@ -3214,6 +3226,7 @@ class EditorComponent {
3214
3226
  const dialog = Object.assign({ appendTo: this.dialogContainer }, editorDialogs[dialogName]);
3215
3227
  this.toolbar.toggle(false);
3216
3228
  const dialogContent = this.dialogService.open(dialog).content.instance;
3229
+ this.renderer.addClass(dialogContent.dialog.dialog.instance.wrapper.nativeElement.querySelector('.k-window'), 'k-editor-window');
3217
3230
  if (dialogName === 'createLink' || dialogName === 'insertFile') {
3218
3231
  dialogContent.command = dialogName;
3219
3232
  }
@@ -3481,7 +3494,7 @@ class EditorComponent {
3481
3494
  }
3482
3495
  ;
3483
3496
  }
3484
- 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 });
3497
+ 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 });
3485
3498
  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: [
3486
3499
  EditorLocalizationService,
3487
3500
  ProviderService,
@@ -3619,7 +3632,13 @@ EditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
3619
3632
  >
3620
3633
  </ng-container>
3621
3634
  <ng-content select="kendo-toolbar"></ng-content>
3622
- <kendo-toolbar [overflow]="true" [tabindex]="readonly ? -1 : 0" *ngIf="!userToolBarElement" #defaultToolbar>
3635
+ <kendo-toolbar
3636
+ #defaultToolbar
3637
+ *ngIf="!userToolBarElement"
3638
+ class="k-editor-toolbar"
3639
+ [overflow]="true"
3640
+ [tabindex]="readonly ? -1 : 0"
3641
+ >
3623
3642
  <kendo-toolbar-buttongroup>
3624
3643
  <kendo-toolbar-button kendoEditorBoldButton></kendo-toolbar-button>
3625
3644
  <kendo-toolbar-button kendoEditorItalicButton></kendo-toolbar-button>
@@ -3652,7 +3671,7 @@ EditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
3652
3671
  </div>
3653
3672
 
3654
3673
  <ng-container #dialogsContainer></ng-container>
3655
- `, 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", "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]" }] });
3674
+ `, 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", "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]" }] });
3656
3675
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorComponent, decorators: [{
3657
3676
  type: Component,
3658
3677
  args: [{
@@ -3795,7 +3814,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
3795
3814
  >
3796
3815
  </ng-container>
3797
3816
  <ng-content select="kendo-toolbar"></ng-content>
3798
- <kendo-toolbar [overflow]="true" [tabindex]="readonly ? -1 : 0" *ngIf="!userToolBarElement" #defaultToolbar>
3817
+ <kendo-toolbar
3818
+ #defaultToolbar
3819
+ *ngIf="!userToolBarElement"
3820
+ class="k-editor-toolbar"
3821
+ [overflow]="true"
3822
+ [tabindex]="readonly ? -1 : 0"
3823
+ >
3799
3824
  <kendo-toolbar-buttongroup>
3800
3825
  <kendo-toolbar-button kendoEditorBoldButton></kendo-toolbar-button>
3801
3826
  <kendo-toolbar-button kendoEditorItalicButton></kendo-toolbar-button>
@@ -3830,7 +3855,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
3830
3855
  <ng-container #dialogsContainer></ng-container>
3831
3856
  `
3832
3857
  }]
3833
- }], 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: [{
3858
+ }], 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: [{
3834
3859
  type: Input
3835
3860
  }], disabled: [{
3836
3861
  type: Input
@@ -3962,29 +3987,25 @@ ColorPickerDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
3962
3987
  <kendo-dialog-titlebar (close)="onCancelAction()">
3963
3988
  {{ textFor(editorCommand) }}
3964
3989
  </kendo-dialog-titlebar>
3965
- <div class="k-editor-dialog">
3966
- <div class="k-editor-dialog k-popup-edit-form k-window-content k-content">
3967
- <div class="k-edit-form-container k-window-content" [style.text-align]="'center'">
3968
- <kendo-colorpicker
3969
- #colorpicker
3970
- [views]="views"
3971
- [format]="'hex'"
3972
- [attr.title]="title"
3973
- [icon]="icon"
3974
- [(value)]="value"
3975
- [paletteSettings]="paletteSettings"
3976
- (activeColorClick)="handleActiveColorClick($event)"
3977
- >
3978
- </kendo-colorpicker>
3979
- </div>
3980
- </div>
3990
+ <div [style.text-align]="'center'">
3991
+ <kendo-colorpicker
3992
+ #colorpicker
3993
+ [views]="views"
3994
+ [format]="'hex'"
3995
+ [attr.title]="title"
3996
+ [icon]="icon"
3997
+ [(value)]="value"
3998
+ [paletteSettings]="paletteSettings"
3999
+ (activeColorClick)="handleActiveColorClick($event)"
4000
+ >
4001
+ </kendo-colorpicker>
3981
4002
  </div>
3982
- <kendo-dialog-actions>
4003
+ <kendo-dialog-actions class="k-actions-end k-actions-horizontal k-window-actions" [layout]="'normal'">
3983
4004
  <button kendoButton (click)="onCancelAction()">{{ textFor('dialogCancel') }}</button>
3984
4005
  <button kendoButton
3985
4006
  (click)="onConfirmAction()" [primary]="true">{{ textFor('dialogApply') }}</button>
3986
4007
  </kendo-dialog-actions>
3987
- `, 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"] }] });
4008
+ `, 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"] }] });
3988
4009
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColorPickerDialogComponent, decorators: [{
3989
4010
  type: Component,
3990
4011
  args: [{
@@ -3992,24 +4013,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
3992
4013
  <kendo-dialog-titlebar (close)="onCancelAction()">
3993
4014
  {{ textFor(editorCommand) }}
3994
4015
  </kendo-dialog-titlebar>
3995
- <div class="k-editor-dialog">
3996
- <div class="k-editor-dialog k-popup-edit-form k-window-content k-content">
3997
- <div class="k-edit-form-container k-window-content" [style.text-align]="'center'">
3998
- <kendo-colorpicker
3999
- #colorpicker
4000
- [views]="views"
4001
- [format]="'hex'"
4002
- [attr.title]="title"
4003
- [icon]="icon"
4004
- [(value)]="value"
4005
- [paletteSettings]="paletteSettings"
4006
- (activeColorClick)="handleActiveColorClick($event)"
4007
- >
4008
- </kendo-colorpicker>
4009
- </div>
4010
- </div>
4016
+ <div [style.text-align]="'center'">
4017
+ <kendo-colorpicker
4018
+ #colorpicker
4019
+ [views]="views"
4020
+ [format]="'hex'"
4021
+ [attr.title]="title"
4022
+ [icon]="icon"
4023
+ [(value)]="value"
4024
+ [paletteSettings]="paletteSettings"
4025
+ (activeColorClick)="handleActiveColorClick($event)"
4026
+ >
4027
+ </kendo-colorpicker>
4011
4028
  </div>
4012
- <kendo-dialog-actions>
4029
+ <kendo-dialog-actions class="k-actions-end k-actions-horizontal k-window-actions" [layout]="'normal'">
4013
4030
  <button kendoButton (click)="onCancelAction()">{{ textFor('dialogCancel') }}</button>
4014
4031
  <button kendoButton
4015
4032
  (click)="onConfirmAction()" [primary]="true">{{ textFor('dialogApply') }}</button>
@@ -4061,7 +4078,7 @@ FontFamilyDropDownListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion:
4061
4078
  </span>
4062
4079
  </ng-template>
4063
4080
  </kendo-dropdownlist>
4064
- `, 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"] }] });
4081
+ `, 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"] }] });
4065
4082
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FontFamilyDropDownListComponent, decorators: [{
4066
4083
  type: Component,
4067
4084
  args: [{
@@ -4155,26 +4172,22 @@ FontFamilyDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
4155
4172
  <kendo-dialog-titlebar (close)="onCancelAction()">
4156
4173
  {{ textFor('fontFamily') }}
4157
4174
  </kendo-dialog-titlebar>
4158
- <div class="k-editor-dialog">
4159
- <div class="k-editor-dialog k-popup-edit-form k-window-content k-content">
4160
- <div class="k-edit-form-container k-window-content" [style.text-align]="'center'">
4161
- <kendo-editor-fontfamily-dropdownlist
4162
- #fontFamilyDropDownList
4163
- [defaultItem]="defaultItem"
4164
- [data]="data"
4165
- [(value)]="value"
4166
- [itemDisabled]="itemDisabled"
4167
- >
4168
- </kendo-editor-fontfamily-dropdownlist>
4169
- </div>
4170
- </div>
4175
+ <div [style.text-align]="'center'">
4176
+ <kendo-editor-fontfamily-dropdownlist
4177
+ #fontFamilyDropDownList
4178
+ [defaultItem]="defaultItem"
4179
+ [data]="data"
4180
+ [(value)]="value"
4181
+ [itemDisabled]="itemDisabled"
4182
+ >
4183
+ </kendo-editor-fontfamily-dropdownlist>
4171
4184
  </div>
4172
- <kendo-dialog-actions>
4185
+ <kendo-dialog-actions class="k-actions-end k-actions-horizontal k-window-actions" [layout]="'normal'">
4173
4186
  <button kendoButton (click)="onCancelAction()">{{ textFor('dialogCancel') }}</button>
4174
4187
  <button kendoButton
4175
4188
  (click)="onConfirmAction()" [primary]="true">{{ textFor('dialogApply') }}</button>
4176
4189
  </kendo-dialog-actions>
4177
- `, 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"] }] });
4190
+ `, 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"] }] });
4178
4191
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FontFamilyDialogComponent, decorators: [{
4179
4192
  type: Component,
4180
4193
  args: [{
@@ -4182,21 +4195,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
4182
4195
  <kendo-dialog-titlebar (close)="onCancelAction()">
4183
4196
  {{ textFor('fontFamily') }}
4184
4197
  </kendo-dialog-titlebar>
4185
- <div class="k-editor-dialog">
4186
- <div class="k-editor-dialog k-popup-edit-form k-window-content k-content">
4187
- <div class="k-edit-form-container k-window-content" [style.text-align]="'center'">
4188
- <kendo-editor-fontfamily-dropdownlist
4189
- #fontFamilyDropDownList
4190
- [defaultItem]="defaultItem"
4191
- [data]="data"
4192
- [(value)]="value"
4193
- [itemDisabled]="itemDisabled"
4194
- >
4195
- </kendo-editor-fontfamily-dropdownlist>
4196
- </div>
4197
- </div>
4198
+ <div [style.text-align]="'center'">
4199
+ <kendo-editor-fontfamily-dropdownlist
4200
+ #fontFamilyDropDownList
4201
+ [defaultItem]="defaultItem"
4202
+ [data]="data"
4203
+ [(value)]="value"
4204
+ [itemDisabled]="itemDisabled"
4205
+ >
4206
+ </kendo-editor-fontfamily-dropdownlist>
4198
4207
  </div>
4199
- <kendo-dialog-actions>
4208
+ <kendo-dialog-actions class="k-actions-end k-actions-horizontal k-window-actions" [layout]="'normal'">
4200
4209
  <button kendoButton (click)="onCancelAction()">{{ textFor('dialogCancel') }}</button>
4201
4210
  <button kendoButton
4202
4211
  (click)="onConfirmAction()" [primary]="true">{{ textFor('dialogApply') }}</button>
@@ -4265,7 +4274,7 @@ PopupTableGridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
4265
4274
  <button type="button" kendoButton class="k-tool" [icon]="'table-wizard'" (click)="openTableWizard()" title="Table Wizard">Table Wizard</button>
4266
4275
  </div>
4267
4276
  -->
4268
- `, isInline: true, directives: [{ type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
4277
+ `, isInline: true, directives: [{ type: i3$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
4269
4278
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PopupTableGridComponent, decorators: [{
4270
4279
  type: Component,
4271
4280
  args: [{
@@ -4323,17 +4332,13 @@ InsertTableDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
4323
4332
  <kendo-dialog-titlebar (close)="onCancelAction()">
4324
4333
  {{ textFor('insertTable') }}
4325
4334
  </kendo-dialog-titlebar>
4326
- <div class="k-editor-dialog">
4327
- <div class="k-editor-dialog k-popup-edit-form k-window-content k-content">
4328
- <div class="k-ct-popup k-window-content" [style.text-align]="'center'">
4329
- <kendo-popup-table-grid (cellClick)="onCellClick($event)"></kendo-popup-table-grid>
4330
- </div>
4331
- </div>
4335
+ <div [style.text-align]="'center'">
4336
+ <kendo-popup-table-grid (cellClick)="onCellClick($event)"></kendo-popup-table-grid>
4332
4337
  </div>
4333
- <kendo-dialog-actions>
4338
+ <kendo-dialog-actions class="k-actions-end k-actions-horizontal k-window-actions" [layout]="'normal'">
4334
4339
  <button kendoButton (click)="onCancelAction()">{{ textFor('dialogCancel') }}</button>
4335
4340
  </kendo-dialog-actions>
4336
- `, 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"] }] });
4341
+ `, 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"] }] });
4337
4342
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: InsertTableDialogComponent, decorators: [{
4338
4343
  type: Component,
4339
4344
  args: [{
@@ -4341,14 +4346,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
4341
4346
  <kendo-dialog-titlebar (close)="onCancelAction()">
4342
4347
  {{ textFor('insertTable') }}
4343
4348
  </kendo-dialog-titlebar>
4344
- <div class="k-editor-dialog">
4345
- <div class="k-editor-dialog k-popup-edit-form k-window-content k-content">
4346
- <div class="k-ct-popup k-window-content" [style.text-align]="'center'">
4347
- <kendo-popup-table-grid (cellClick)="onCellClick($event)"></kendo-popup-table-grid>
4348
- </div>
4349
- </div>
4349
+ <div [style.text-align]="'center'">
4350
+ <kendo-popup-table-grid (cellClick)="onCellClick($event)"></kendo-popup-table-grid>
4350
4351
  </div>
4351
- <kendo-dialog-actions>
4352
+ <kendo-dialog-actions class="k-actions-end k-actions-horizontal k-window-actions" [layout]="'normal'">
4352
4353
  <button kendoButton (click)="onCancelAction()">{{ textFor('dialogCancel') }}</button>
4353
4354
  </kendo-dialog-actions>
4354
4355
  `
@@ -4479,26 +4480,22 @@ FontSizeDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
4479
4480
  <kendo-dialog-titlebar (close)="onCancelAction()">
4480
4481
  {{ textFor('fontSize') }}
4481
4482
  </kendo-dialog-titlebar>
4482
- <div class="k-editor-dialog">
4483
- <div class="k-editor-dialog k-popup-edit-form k-window-content k-content">
4484
- <div class="k-edit-form-container k-window-content" [style.text-align]="'center'">
4485
- <kendo-editor-fontsize-dropdownlist
4486
- #fontSizeDropDownList
4487
- [defaultItem]="defaultItem"
4488
- [data]="data"
4489
- [(value)]="value"
4490
- [itemDisabled]="itemDisabled"
4491
- >
4492
- </kendo-editor-fontsize-dropdownlist>
4493
- </div>
4494
- </div>
4483
+ <div [style.text-align]="'center'">
4484
+ <kendo-editor-fontsize-dropdownlist
4485
+ #fontSizeDropDownList
4486
+ [defaultItem]="defaultItem"
4487
+ [data]="data"
4488
+ [(value)]="value"
4489
+ [itemDisabled]="itemDisabled"
4490
+ >
4491
+ </kendo-editor-fontsize-dropdownlist>
4495
4492
  </div>
4496
- <kendo-dialog-actions>
4493
+ <kendo-dialog-actions class="k-actions-end k-actions-horizontal k-window-actions" [layout]="'normal'">
4497
4494
  <button kendoButton (click)="onCancelAction()">{{ textFor('dialogCancel') }}</button>
4498
4495
  <button kendoButton
4499
4496
  (click)="onConfirmAction()" [primary]="true">{{ textFor('dialogApply') }}</button>
4500
4497
  </kendo-dialog-actions>
4501
- `, 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"] }] });
4498
+ `, 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"] }] });
4502
4499
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FontSizeDialogComponent, decorators: [{
4503
4500
  type: Component,
4504
4501
  args: [{
@@ -4506,21 +4503,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
4506
4503
  <kendo-dialog-titlebar (close)="onCancelAction()">
4507
4504
  {{ textFor('fontSize') }}
4508
4505
  </kendo-dialog-titlebar>
4509
- <div class="k-editor-dialog">
4510
- <div class="k-editor-dialog k-popup-edit-form k-window-content k-content">
4511
- <div class="k-edit-form-container k-window-content" [style.text-align]="'center'">
4512
- <kendo-editor-fontsize-dropdownlist
4513
- #fontSizeDropDownList
4514
- [defaultItem]="defaultItem"
4515
- [data]="data"
4516
- [(value)]="value"
4517
- [itemDisabled]="itemDisabled"
4518
- >
4519
- </kendo-editor-fontsize-dropdownlist>
4520
- </div>
4521
- </div>
4506
+ <div [style.text-align]="'center'">
4507
+ <kendo-editor-fontsize-dropdownlist
4508
+ #fontSizeDropDownList
4509
+ [defaultItem]="defaultItem"
4510
+ [data]="data"
4511
+ [(value)]="value"
4512
+ [itemDisabled]="itemDisabled"
4513
+ >
4514
+ </kendo-editor-fontsize-dropdownlist>
4522
4515
  </div>
4523
- <kendo-dialog-actions>
4516
+ <kendo-dialog-actions class="k-actions-end k-actions-horizontal k-window-actions" [layout]="'normal'">
4524
4517
  <button kendoButton (click)="onCancelAction()">{{ textFor('dialogCancel') }}</button>
4525
4518
  <button kendoButton
4526
4519
  (click)="onConfirmAction()" [primary]="true">{{ textFor('dialogApply') }}</button>
@@ -4548,11 +4541,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
4548
4541
  * Use the FontSize tool to provide a custom list of font size options including any allowed units ([see example]({% slug toolbartools_editor %}#toc-dropdownlists)).
4549
4542
  */
4550
4543
  class EditorFontSizeComponent extends ToolBarToolComponent {
4551
- constructor(dialogService, localization, providerService, toolsService) {
4544
+ constructor(dialogService, localization, providerService, toolsService, renderer) {
4552
4545
  super();
4553
4546
  this.dialogService = dialogService;
4554
4547
  this.localization = localization;
4555
4548
  this.toolsService = toolsService;
4549
+ this.renderer = renderer;
4556
4550
  this.disabled = false;
4557
4551
  this.tabindex = -1;
4558
4552
  /**
@@ -4638,10 +4632,12 @@ class EditorFontSizeComponent extends ToolBarToolComponent {
4638
4632
  openDialog() {
4639
4633
  const dialogSettings = {
4640
4634
  appendTo: this.editor.dialogContainer,
4641
- content: FontSizeDialogComponent
4635
+ content: FontSizeDialogComponent,
4636
+ width: 400
4642
4637
  };
4643
4638
  this.editor.toolbar.toggle(false);
4644
4639
  const dialogContent = this.dialogService.open(dialogSettings).content.instance;
4640
+ this.renderer.addClass(dialogContent.dialog.dialog.instance.wrapper.nativeElement.querySelector('.k-window'), 'k-editor-window');
4645
4641
  dialogContent.setData({
4646
4642
  editor: this.editor,
4647
4643
  data: this.data,
@@ -4676,7 +4672,7 @@ class EditorFontSizeComponent extends ToolBarToolComponent {
4676
4672
  return false;
4677
4673
  }
4678
4674
  }
4679
- 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 });
4675
+ 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 });
4680
4676
  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: `
4681
4677
  <ng-template #toolbarTemplate>
4682
4678
  <kendo-editor-fontsize-dropdownlist
@@ -4707,7 +4703,7 @@ EditorFontSizeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
4707
4703
  </span>
4708
4704
  </div>
4709
4705
  </ng-template>
4710
- `, isInline: true, components: [{ type: FontSizeDropDownListComponent, selector: "kendo-editor-fontsize-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
4706
+ `, isInline: true, components: [{ type: FontSizeDropDownListComponent, selector: "kendo-editor-fontsize-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }], directives: [{ type: i3$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
4711
4707
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorFontSizeComponent, decorators: [{
4712
4708
  type: Component,
4713
4709
  args: [{
@@ -4745,7 +4741,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
4745
4741
  </ng-template>
4746
4742
  `
4747
4743
  }]
4748
- }], ctorParameters: function () { return [{ type: i1$1.DialogService }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; }, propDecorators: { data: [{
4744
+ }], ctorParameters: function () { return [{ type: i1$1.DialogService }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }, { type: i0.Renderer2 }]; }, propDecorators: { data: [{
4749
4745
  type: Input
4750
4746
  }], valueChange: [{
4751
4747
  type: Output
@@ -4778,11 +4774,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
4778
4774
  * ```
4779
4775
  */
4780
4776
  class EditorFontFamilyComponent extends ToolBarToolComponent {
4781
- constructor(dialogService, localization, providerService, toolsService) {
4777
+ constructor(dialogService, localization, providerService, toolsService, renderer) {
4782
4778
  super();
4783
4779
  this.dialogService = dialogService;
4784
4780
  this.localization = localization;
4785
4781
  this.toolsService = toolsService;
4782
+ this.renderer = renderer;
4786
4783
  this.disabled = false;
4787
4784
  this.tabindex = -1;
4788
4785
  /**
@@ -4861,10 +4858,12 @@ class EditorFontFamilyComponent extends ToolBarToolComponent {
4861
4858
  openDialog() {
4862
4859
  const dialogSettings = {
4863
4860
  appendTo: this.editor.dialogContainer,
4864
- content: FontFamilyDialogComponent
4861
+ content: FontFamilyDialogComponent,
4862
+ width: 400
4865
4863
  };
4866
4864
  this.editor.toolbar.toggle(false);
4867
4865
  const dialogContent = this.dialogService.open(dialogSettings).content.instance;
4866
+ this.renderer.addClass(dialogContent.dialog.dialog.instance.wrapper.nativeElement.querySelector('.k-window'), 'k-editor-window');
4868
4867
  dialogContent.setData({
4869
4868
  editor: this.editor,
4870
4869
  data: this.data,
@@ -4899,7 +4898,7 @@ class EditorFontFamilyComponent extends ToolBarToolComponent {
4899
4898
  return false;
4900
4899
  }
4901
4900
  }
4902
- 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 });
4901
+ 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 });
4903
4902
  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: `
4904
4903
  <ng-template #toolbarTemplate>
4905
4904
  <kendo-editor-fontfamily-dropdownlist
@@ -4930,7 +4929,7 @@ EditorFontFamilyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
4930
4929
  </span>
4931
4930
  </div>
4932
4931
  </ng-template>
4933
- `, isInline: true, components: [{ type: FontFamilyDropDownListComponent, selector: "kendo-editor-fontfamily-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
4932
+ `, isInline: true, components: [{ type: FontFamilyDropDownListComponent, selector: "kendo-editor-fontfamily-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }], directives: [{ type: i3$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
4934
4933
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorFontFamilyComponent, decorators: [{
4935
4934
  type: Component,
4936
4935
  args: [{
@@ -4968,7 +4967,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
4968
4967
  </ng-template>
4969
4968
  `
4970
4969
  }]
4971
- }], ctorParameters: function () { return [{ type: i1$1.DialogService }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; }, propDecorators: { data: [{
4970
+ }], ctorParameters: function () { return [{ type: i1$1.DialogService }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }, { type: i0.Renderer2 }]; }, propDecorators: { data: [{
4972
4971
  type: Input
4973
4972
  }], valueChange: [{
4974
4973
  type: Output
@@ -4996,11 +4995,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
4996
4995
  * foreground or the background color of the text, use the `kendoEditorForeColor` or `kendoEditorBackColor` directive.
4997
4996
  */
4998
4997
  class EditorColorPickerComponent extends ToolBarToolComponent {
4999
- constructor(localization, dialogService, ngZone, providerService) {
4998
+ constructor(localization, dialogService, ngZone, providerService, renderer) {
5000
4999
  super();
5001
5000
  this.localization = localization;
5002
5001
  this.dialogService = dialogService;
5003
5002
  this.ngZone = ngZone;
5003
+ this.renderer = renderer;
5004
5004
  this.tabindex = -1;
5005
5005
  /**
5006
5006
  * Specifies if the component should be disabled.
@@ -5096,10 +5096,12 @@ class EditorColorPickerComponent extends ToolBarToolComponent {
5096
5096
  openDialog() {
5097
5097
  const dialogSettings = {
5098
5098
  appendTo: this.editor.dialogContainer,
5099
- content: ColorPickerDialogComponent
5099
+ content: ColorPickerDialogComponent,
5100
+ width: 400
5100
5101
  };
5101
5102
  this.editor.toolbar.toggle(false);
5102
5103
  const dialogContent = this.dialogService.open(dialogSettings).content.instance;
5104
+ this.renderer.addClass(dialogContent.dialog.dialog.instance.wrapper.nativeElement.querySelector('.k-window'), 'k-editor-window');
5103
5105
  dialogContent.setData({
5104
5106
  editor: this.editor,
5105
5107
  value: this.value,
@@ -5142,7 +5144,7 @@ class EditorColorPickerComponent extends ToolBarToolComponent {
5142
5144
  return `k-icon k-i-${this.icon}`;
5143
5145
  }
5144
5146
  }
5145
- 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 });
5147
+ 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 });
5146
5148
  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: `
5147
5149
  <ng-template #toolbarTemplate>
5148
5150
  <kendo-colorpicker
@@ -5178,7 +5180,7 @@ EditorColorPickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
5178
5180
  </span>
5179
5181
  </div>
5180
5182
  </ng-template>
5181
- `, 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"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
5183
+ `, 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"] }], directives: [{ type: i3$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
5182
5184
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorColorPickerComponent, decorators: [{
5183
5185
  type: Component,
5184
5186
  args: [{
@@ -5221,7 +5223,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
5221
5223
  </ng-template>
5222
5224
  `
5223
5225
  }]
5224
- }], ctorParameters: function () { return [{ type: EditorLocalizationService }, { type: i1$1.DialogService }, { type: i0.NgZone }, { type: ProviderService }]; }, propDecorators: { value: [{
5226
+ }], ctorParameters: function () { return [{ type: EditorLocalizationService }, { type: i1$1.DialogService }, { type: i0.NgZone }, { type: ProviderService }, { type: i0.Renderer2 }]; }, propDecorators: { value: [{
5225
5227
  type: Input
5226
5228
  }], icon: [{
5227
5229
  type: Input
@@ -5263,11 +5265,12 @@ const popupWrapperHeight = '164px'; // Set to '192px' when TableWizard button is
5263
5265
  * ```
5264
5266
  */
5265
5267
  class EditorInsertTableButtonComponent extends ToolBarToolComponent {
5266
- constructor(localization, popupService, dialogService, providerService) {
5268
+ constructor(localization, popupService, dialogService, providerService, renderer) {
5267
5269
  super();
5268
5270
  this.localization = localization;
5269
5271
  this.popupService = popupService;
5270
5272
  this.dialogService = dialogService;
5273
+ this.renderer = renderer;
5271
5274
  this.open = false;
5272
5275
  this.buttonBlurred = new EventEmitter();
5273
5276
  this.cellClicked = new EventEmitter();
@@ -5309,10 +5312,12 @@ class EditorInsertTableButtonComponent extends ToolBarToolComponent {
5309
5312
  openDialog() {
5310
5313
  const dialogSettings = {
5311
5314
  appendTo: this.editor.dialogContainer,
5312
- content: InsertTableDialogComponent
5315
+ content: InsertTableDialogComponent,
5316
+ width: 400
5313
5317
  };
5314
5318
  this.editor.toolbar.toggle(false);
5315
5319
  const dialogContent = this.dialogService.open(dialogSettings).content.instance;
5320
+ this.renderer.addClass(dialogContent.dialog.dialog.instance.wrapper.nativeElement.querySelector('.k-window'), 'k-editor-window');
5316
5321
  dialogContent.setData({
5317
5322
  editor: this.editor
5318
5323
  });
@@ -5390,7 +5395,7 @@ class EditorInsertTableButtonComponent extends ToolBarToolComponent {
5390
5395
  return (this.overflows ? this.overflowElement : this.element).nativeElement;
5391
5396
  }
5392
5397
  }
5393
- 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 });
5398
+ 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 });
5394
5399
  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: `
5395
5400
  <ng-template #toolbarTemplate>
5396
5401
  <button
@@ -5422,7 +5427,7 @@ EditorInsertTableButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion:
5422
5427
  <ng-template #popupGridTemplate>
5423
5428
  <kendo-popup-table-grid (cellClick)="onCellClick($event)" (tableWizardClick)="onTableWizardClick()"></kendo-popup-table-grid>
5424
5429
  </ng-template>
5425
- `, 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"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
5430
+ `, 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: PopupTableGridComponent, selector: "kendo-popup-table-grid", outputs: ["cellClick", "tableWizardClick"] }], directives: [{ type: i3$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
5426
5431
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorInsertTableButtonComponent, decorators: [{
5427
5432
  type: Component,
5428
5433
  args: [{
@@ -5461,7 +5466,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
5461
5466
  </ng-template>
5462
5467
  `
5463
5468
  }]
5464
- }], ctorParameters: function () { return [{ type: EditorLocalizationService }, { type: i2.PopupService }, { type: i1$1.DialogService }, { type: ProviderService }]; }, propDecorators: { toolbarTemplate: [{
5469
+ }], ctorParameters: function () { return [{ type: EditorLocalizationService }, { type: i2.PopupService }, { type: i1$1.DialogService }, { type: ProviderService }, { type: i0.Renderer2 }]; }, propDecorators: { toolbarTemplate: [{
5465
5470
  type: ViewChild,
5466
5471
  args: ['toolbarTemplate', { static: true }]
5467
5472
  }], popupTemplate: [{
@@ -6363,7 +6368,9 @@ EditorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
6363
6368
  NumericTextBoxModule,
6364
6369
  CheckBoxModule,
6365
6370
  ToolBarModule,
6366
- TextBoxModule], exports: [EditorComponent,
6371
+ TextBoxModule,
6372
+ TextAreaModule,
6373
+ LabelModule], exports: [EditorComponent,
6367
6374
  //alignment
6368
6375
  EditorAlignLeftButtonDirective,
6369
6376
  EditorAlignCenterButtonDirective,
@@ -6443,7 +6450,9 @@ EditorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
6443
6450
  NumericTextBoxModule,
6444
6451
  CheckBoxModule,
6445
6452
  ToolBarModule,
6446
- TextBoxModule
6453
+ TextBoxModule,
6454
+ TextAreaModule,
6455
+ LabelModule
6447
6456
  ], ToolBarModule,
6448
6457
  ButtonModule,
6449
6458
  FormsModule,
@@ -6484,7 +6493,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
6484
6493
  NumericTextBoxModule,
6485
6494
  CheckBoxModule,
6486
6495
  ToolBarModule,
6487
- TextBoxModule
6496
+ TextBoxModule,
6497
+ TextAreaModule,
6498
+ LabelModule
6488
6499
  ]
6489
6500
  }]
6490
6501
  }] });