@progress/kendo-angular-editor 3.0.0-dev.202201121158 → 3.0.1

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 (36) hide show
  1. package/LICENSE.md +1 -1
  2. package/NOTICE.txt +119 -79
  3. package/README.md +1 -1
  4. package/dist/cdn/js/kendo-angular-editor.js +2 -2
  5. package/dist/cdn/main.js +1 -1
  6. package/dist/es/dialogs/colorpicker-dialog.component.js +1 -1
  7. package/dist/es/dialogs/file-link-dialog.component.js +1 -1
  8. package/dist/es/dialogs/image-dialog.component.js +1 -1
  9. package/dist/es/editor.component.js +3 -3
  10. package/dist/es/editor.module.js +2 -2
  11. package/dist/es/package-metadata.js +1 -1
  12. package/dist/es/tools/colorpicker/editor-colorpicker.component.js +24 -7
  13. package/dist/es/tools/tables/popup-table-grid.component.js +1 -1
  14. package/dist/es2015/dialogs/colorpicker-dialog.component.js +1 -1
  15. package/dist/es2015/dialogs/file-link-dialog.component.js +4 -4
  16. package/dist/es2015/dialogs/image-dialog.component.js +4 -4
  17. package/dist/es2015/editor.component.js +3 -3
  18. package/dist/es2015/editor.module.js +2 -2
  19. package/dist/es2015/index.metadata.json +1 -1
  20. package/dist/es2015/package-metadata.js +1 -1
  21. package/dist/es2015/tools/colorpicker/editor-colorpicker.component.d.ts +8 -2
  22. package/dist/es2015/tools/colorpicker/editor-colorpicker.component.js +20 -7
  23. package/dist/es2015/tools/tables/popup-table-grid.component.js +2 -2
  24. package/dist/fesm2015/index.js +37 -23
  25. package/dist/fesm5/index.js +34 -16
  26. package/dist/npm/dialogs/colorpicker-dialog.component.js +1 -1
  27. package/dist/npm/dialogs/file-link-dialog.component.js +1 -1
  28. package/dist/npm/dialogs/image-dialog.component.js +1 -1
  29. package/dist/npm/editor.component.js +3 -3
  30. package/dist/npm/editor.module.js +3 -3
  31. package/dist/npm/package-metadata.js +1 -1
  32. package/dist/npm/tools/colorpicker/editor-colorpicker.component.js +24 -7
  33. package/dist/npm/tools/tables/popup-table-grid.component.js +1 -1
  34. package/dist/systemjs/kendo-angular-editor.js +1 -1
  35. package/package.json +17 -17
  36. package/schematics/ngAdd/index.js +1 -1
@@ -9,7 +9,7 @@ export const packageMetadata = {
9
9
  name: '@progress/kendo-angular-editor',
10
10
  productName: 'Kendo UI for Angular',
11
11
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
12
- publishDate: 1641988389,
12
+ publishDate: 1642684689,
13
13
  version: '',
14
14
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
15
15
  };
@@ -40,9 +40,15 @@ export declare class EditorColorPickerComponent extends ToolBarToolComponent {
40
40
  */
41
41
  disabled: boolean;
42
42
  /**
43
- * Specifies whether the ColorPicker will render a gradient, palette or combo view.
43
+ * Specifies whether the ColorPicker will render a gradient, palette, or both in its popup.
44
44
  *
45
- * @default 'palette'
45
+ * @default ['palette']
46
+ */
47
+ views: ColorPickerView[];
48
+ /**
49
+ * @hidden
50
+ *
51
+ * For backward compatibility with configurations using the deprecated "view" input.
46
52
  */
47
53
  view: ColorPickerView;
48
54
  /**
@@ -32,11 +32,19 @@ let EditorColorPickerComponent = EditorColorPickerComponent_1 = class EditorColo
32
32
  */
33
33
  this.disabled = false;
34
34
  /**
35
- * Specifies whether the ColorPicker will render a gradient, palette or combo view.
35
+ * Specifies whether the ColorPicker will render a gradient, palette, or both in its popup.
36
36
  *
37
- * @default 'palette'
37
+ * @default ['palette']
38
38
  */
39
- this.view = 'palette';
39
+ this.views = ['palette'];
40
+ }
41
+ /**
42
+ * @hidden
43
+ *
44
+ * For backward compatibility with configurations using the deprecated "view" input.
45
+ */
46
+ set view(view) {
47
+ this.views = [view];
40
48
  }
41
49
  /**
42
50
  * @hidden
@@ -108,7 +116,7 @@ let EditorColorPickerComponent = EditorColorPickerComponent_1 = class EditorColo
108
116
  editorCommand: this.editorCommand,
109
117
  paletteSettings: this.paletteSettings,
110
118
  icon: this.icon,
111
- view: this.view
119
+ views: this.views
112
120
  });
113
121
  }
114
122
  /**
@@ -159,8 +167,13 @@ tslib_1.__decorate([
159
167
  ], EditorColorPickerComponent.prototype, "disabled", void 0);
160
168
  tslib_1.__decorate([
161
169
  Input(),
162
- tslib_1.__metadata("design:type", String)
163
- ], EditorColorPickerComponent.prototype, "view", void 0);
170
+ tslib_1.__metadata("design:type", Array)
171
+ ], EditorColorPickerComponent.prototype, "views", void 0);
172
+ tslib_1.__decorate([
173
+ Input(),
174
+ tslib_1.__metadata("design:type", String),
175
+ tslib_1.__metadata("design:paramtypes", [String])
176
+ ], EditorColorPickerComponent.prototype, "view", null);
164
177
  tslib_1.__decorate([
165
178
  ViewChild('toolbarTemplate', { static: true }),
166
179
  tslib_1.__metadata("design:type", TemplateRef)
@@ -189,7 +202,7 @@ EditorColorPickerComponent = EditorColorPickerComponent_1 = tslib_1.__decorate([
189
202
  <ng-template #toolbarTemplate>
190
203
  <kendo-colorpicker
191
204
  #colorpicker
192
- [view]="view"
205
+ [views]="['palette']"
193
206
  [format]="'hex'"
194
207
  [attr.title]="title"
195
208
  [icon]="icon"
@@ -61,8 +61,8 @@ PopupTableGridComponent = tslib_1.__decorate([
61
61
  <div style="border-color: inherit;" (mouseleave)="resetState()" (click)="insertTable()">
62
62
  <span *ngFor="let i of cells"
63
63
  class="k-ct-cell"
64
- [class.k-state-selected]="selected(i)"
65
- [class.k-state-disabled]="!selected(i)"
64
+ [class.k-selected]="selected(i)"
65
+ [class.k-disabled]="!selected(i)"
66
66
  (mouseenter)="setState(i)">
67
67
  </span>
68
68
  </div>
@@ -17,7 +17,7 @@ import { LocalizationService, L10N_PREFIX, RTL, MessageService, ComponentMessage
17
17
  import { CommonModule } from '@angular/common';
18
18
  import { DropDownListComponent, DropDownsModule } from '@progress/kendo-angular-dropdowns';
19
19
  import { ButtonModule } from '@progress/kendo-angular-buttons';
20
- import { ColorPickerComponent, ColorPickerModule, NumericTextBoxModule, TextBoxModule } from '@progress/kendo-angular-inputs';
20
+ import { ColorPickerComponent, ColorPickerModule, NumericTextBoxModule, CheckBoxModule, TextBoxModule } from '@progress/kendo-angular-inputs';
21
21
  import { PopupService } from '@progress/kendo-angular-popup';
22
22
 
23
23
  /**
@@ -27,7 +27,7 @@ const packageMetadata = {
27
27
  name: '@progress/kendo-angular-editor',
28
28
  productName: 'Kendo UI for Angular',
29
29
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
30
- publishDate: 1641988389,
30
+ publishDate: 1642684689,
31
31
  version: '',
32
32
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
33
33
  };
@@ -740,25 +740,25 @@ ImageDialogComponent = __decorate([
740
740
  <label [for]="srcInputId">{{ textFor('imageWebAddress') }}</label>
741
741
  </div>
742
742
  <div class="k-edit-field">
743
- <input [id]="srcInputId" #srcInput [formControl]="src" type="text" class="k-textbox" />
743
+ <input [id]="srcInputId" #srcInput [formControl]="src" type="text" class="k-textbox k-input k-rounded-md" />
744
744
  </div>
745
745
  <div class="k-edit-label">
746
746
  <label [for]="altTextInputId">{{ textFor('imageAltText') }}</label>
747
747
  </div>
748
748
  <div class="k-edit-field">
749
- <input [id]="altTextInputId" [formControl]="alt" type="text" class="k-textbox" />
749
+ <input [id]="altTextInputId" [formControl]="alt" type="text" class="k-textbox k-input k-rounded-md" />
750
750
  </div>
751
751
  <div class="k-edit-label">
752
752
  <label [for]="widthInputId">{{ textFor('imageWidth') }}</label>
753
753
  </div>
754
754
  <div class="k-edit-field">
755
- <input [id]="widthInputId" [formControl]="width" type="text" class="k-textbox" />
755
+ <input [id]="widthInputId" [formControl]="width" type="text" class="k-textbox k-input k-rounded-md" />
756
756
  </div>
757
757
  <div class="k-edit-label">
758
758
  <label [for]="heightInputId">{{ textFor('imageHeight') }}</label>
759
759
  </div>
760
760
  <div class="k-edit-field">
761
- <input [id]="heightInputId" [formControl]="height" type="text" class="k-textbox" />
761
+ <input [id]="heightInputId" [formControl]="height" type="text" class="k-textbox k-input k-rounded-md" />
762
762
  </div>
763
763
  </div>
764
764
  </div>
@@ -888,26 +888,26 @@ FileLinkDialogComponent = __decorate([
888
888
  <label (click)="hrefInput.focus()">{{ textForWithPrefix('WebAddress') }}</label>
889
889
  </div>
890
890
  <div class="k-edit-field">
891
- <input #hrefInput formControlName="href" type="text" class="k-textbox" />
891
+ <input #hrefInput formControlName="href" type="text" class="k-textbox k-input k-rounded-md" />
892
892
  </div>
893
893
 
894
894
  <div class="k-edit-label">
895
895
  <label (click)="textInput.focus()">{{ textForWithPrefix('Text') }}</label>
896
896
  </div>
897
897
  <div class="k-edit-field">
898
- <input #textInput formControlName="text" type="text" class="k-textbox" />
898
+ <input #textInput formControlName="text" type="text" class="k-textbox k-input k-rounded-md" />
899
899
  </div>
900
900
 
901
901
  <div class="k-edit-label">
902
902
  <label (click)="titleInput.focus()">{{ textForWithPrefix('Title') }}</label>
903
903
  </div>
904
904
  <div class="k-edit-field">
905
- <input #titleInput formControlName="title" type="text" class="k-textbox" />
905
+ <input #titleInput formControlName="title" type="text" class="k-textbox k-input k-rounded-md" />
906
906
  </div>
907
907
  <ng-container *ngIf="command === 'createLink'">
908
908
  <div class="k-edit-label"></div>
909
909
  <div class="k-edit-field">
910
- <input type="checkbox" id="k-target-blank" class="k-checkbox" formControlName="target" />
910
+ <input type="checkbox" id="k-target-blank" kendoCheckBox formControlName="target" />
911
911
  <label class="k-checkbox-label" for="k-target-blank">{{ textForWithPrefix('OpenInNewWindow') }}</label>
912
912
  </div>
913
913
  </ng-container>
@@ -1863,7 +1863,7 @@ let EditorComponent = EditorComponent_1 = class EditorComponent {
1863
1863
  this.subs.add(fromEvent(containerElement, 'focusin')
1864
1864
  .subscribe(() => {
1865
1865
  if (this.readonly) {
1866
- contentAreaClasslist.add('k-state-focused');
1866
+ contentAreaClasslist.add('k-focus');
1867
1867
  }
1868
1868
  if (!this.focusChangedProgrammatically || this.shouldEmitFocus) {
1869
1869
  this.ngZone.run(() => this.onFocus.emit());
@@ -1873,7 +1873,7 @@ let EditorComponent = EditorComponent_1 = class EditorComponent {
1873
1873
  this.subs.add(fromEvent(containerElement, 'focusout')
1874
1874
  .subscribe(() => {
1875
1875
  if (this.readonly) {
1876
- contentAreaClasslist.remove('k-state-focused');
1876
+ contentAreaClasslist.remove('k-focus');
1877
1877
  }
1878
1878
  if (!this.focusChangedProgrammatically) {
1879
1879
  this.ngZone.run(() => this.onBlur.emit());
@@ -2019,7 +2019,7 @@ __decorate([
2019
2019
  __metadata("design:paramtypes", [])
2020
2020
  ], EditorComponent.prototype, "resizableClass", null);
2021
2021
  __decorate([
2022
- HostBinding('class.k-state-disabled'),
2022
+ HostBinding('class.k-disabled'),
2023
2023
  __metadata("design:type", Boolean),
2024
2024
  __metadata("design:paramtypes", [])
2025
2025
  ], EditorComponent.prototype, "isDisabled", null);
@@ -2532,7 +2532,7 @@ ColorPickerDialogComponent = __decorate([
2532
2532
  <div class="k-edit-form-container k-window-content" style="text-align: center;">
2533
2533
  <kendo-colorpicker
2534
2534
  #colorpicker
2535
- [view]="view"
2535
+ [views]="['palette']"
2536
2536
  [format]="'hex'"
2537
2537
  [attr.title]="title"
2538
2538
  [icon]="icon"
@@ -3559,11 +3559,19 @@ let EditorColorPickerComponent = EditorColorPickerComponent_1 = class EditorColo
3559
3559
  */
3560
3560
  this.disabled = false;
3561
3561
  /**
3562
- * Specifies whether the ColorPicker will render a gradient, palette or combo view.
3562
+ * Specifies whether the ColorPicker will render a gradient, palette, or both in its popup.
3563
3563
  *
3564
- * @default 'palette'
3564
+ * @default ['palette']
3565
3565
  */
3566
- this.view = 'palette';
3566
+ this.views = ['palette'];
3567
+ }
3568
+ /**
3569
+ * @hidden
3570
+ *
3571
+ * For backward compatibility with configurations using the deprecated "view" input.
3572
+ */
3573
+ set view(view) {
3574
+ this.views = [view];
3567
3575
  }
3568
3576
  /**
3569
3577
  * @hidden
@@ -3635,7 +3643,7 @@ let EditorColorPickerComponent = EditorColorPickerComponent_1 = class EditorColo
3635
3643
  editorCommand: this.editorCommand,
3636
3644
  paletteSettings: this.paletteSettings,
3637
3645
  icon: this.icon,
3638
- view: this.view
3646
+ views: this.views
3639
3647
  });
3640
3648
  }
3641
3649
  /**
@@ -3686,8 +3694,13 @@ __decorate([
3686
3694
  ], EditorColorPickerComponent.prototype, "disabled", void 0);
3687
3695
  __decorate([
3688
3696
  Input(),
3689
- __metadata("design:type", String)
3690
- ], EditorColorPickerComponent.prototype, "view", void 0);
3697
+ __metadata("design:type", Array)
3698
+ ], EditorColorPickerComponent.prototype, "views", void 0);
3699
+ __decorate([
3700
+ Input(),
3701
+ __metadata("design:type", String),
3702
+ __metadata("design:paramtypes", [String])
3703
+ ], EditorColorPickerComponent.prototype, "view", null);
3691
3704
  __decorate([
3692
3705
  ViewChild('toolbarTemplate', { static: true }),
3693
3706
  __metadata("design:type", TemplateRef)
@@ -3716,7 +3729,7 @@ EditorColorPickerComponent = EditorColorPickerComponent_1 = __decorate([
3716
3729
  <ng-template #toolbarTemplate>
3717
3730
  <kendo-colorpicker
3718
3731
  #colorpicker
3719
- [view]="view"
3732
+ [views]="['palette']"
3720
3733
  [format]="'hex'"
3721
3734
  [attr.title]="title"
3722
3735
  [icon]="icon"
@@ -4015,8 +4028,8 @@ PopupTableGridComponent = __decorate([
4015
4028
  <div style="border-color: inherit;" (mouseleave)="resetState()" (click)="insertTable()">
4016
4029
  <span *ngFor="let i of cells"
4017
4030
  class="k-ct-cell"
4018
- [class.k-state-selected]="selected(i)"
4019
- [class.k-state-disabled]="!selected(i)"
4031
+ [class.k-selected]="selected(i)"
4032
+ [class.k-disabled]="!selected(i)"
4020
4033
  (mouseenter)="setState(i)">
4021
4034
  </span>
4022
4035
  </div>
@@ -5768,6 +5781,7 @@ EditorModule = __decorate([
5768
5781
  DialogModule,
5769
5782
  DropDownsModule,
5770
5783
  NumericTextBoxModule,
5784
+ CheckBoxModule,
5771
5785
  ToolBarModule,
5772
5786
  TextBoxModule
5773
5787
  ]
@@ -17,7 +17,7 @@ import { L10N_PREFIX, RTL, MessageService, LocalizationService, ComponentMessage
17
17
  import { CommonModule } from '@angular/common';
18
18
  import { DropDownListComponent, DropDownsModule } from '@progress/kendo-angular-dropdowns';
19
19
  import { ButtonModule } from '@progress/kendo-angular-buttons';
20
- import { ColorPickerComponent, ColorPickerModule, NumericTextBoxModule, TextBoxModule } from '@progress/kendo-angular-inputs';
20
+ import { ColorPickerComponent, ColorPickerModule, NumericTextBoxModule, CheckBoxModule, TextBoxModule } from '@progress/kendo-angular-inputs';
21
21
  import { PopupService } from '@progress/kendo-angular-popup';
22
22
 
23
23
  /**
@@ -27,7 +27,7 @@ var packageMetadata = {
27
27
  name: '@progress/kendo-angular-editor',
28
28
  productName: 'Kendo UI for Angular',
29
29
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
30
- publishDate: 1641988389,
30
+ publishDate: 1642684689,
31
31
  version: '',
32
32
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
33
33
  };
@@ -745,7 +745,7 @@ var ImageDialogComponent = /** @class */ (function (_super) {
745
745
  ], ImageDialogComponent.prototype, "srcInput", void 0);
746
746
  ImageDialogComponent = __decorate([
747
747
  Component({
748
- template: "\n <kendo-dialog-titlebar (close)=\"onCancelAction()\">\n {{ textFor('insertImage') }}\n </kendo-dialog-titlebar>\n <div class=\"k-editor-dialog\">\n <div class=\"k-editor-dialog k-popup-edit-form k-window-content k-content\">\n <div class=\"k-edit-form-container k-window-content\">\n <div class=\"k-edit-label\">\n <label [for]=\"srcInputId\">{{ textFor('imageWebAddress') }}</label>\n </div>\n <div class=\"k-edit-field\">\n <input [id]=\"srcInputId\" #srcInput [formControl]=\"src\" type=\"text\" class=\"k-textbox\" />\n </div>\n <div class=\"k-edit-label\">\n <label [for]=\"altTextInputId\">{{ textFor('imageAltText') }}</label>\n </div>\n <div class=\"k-edit-field\">\n <input [id]=\"altTextInputId\" [formControl]=\"alt\" type=\"text\" class=\"k-textbox\" />\n </div>\n <div class=\"k-edit-label\">\n <label [for]=\"widthInputId\">{{ textFor('imageWidth') }}</label>\n </div>\n <div class=\"k-edit-field\">\n <input [id]=\"widthInputId\" [formControl]=\"width\" type=\"text\" class=\"k-textbox\" />\n </div>\n <div class=\"k-edit-label\">\n <label [for]=\"heightInputId\">{{ textFor('imageHeight') }}</label>\n </div>\n <div class=\"k-edit-field\">\n <input [id]=\"heightInputId\" [formControl]=\"height\" type=\"text\" class=\"k-textbox\" />\n </div>\n </div>\n </div>\n </div>\n <kendo-dialog-actions>\n <button kendoButton (click)=\"onCancelAction()\">{{ textFor('dialogCancel') }}</button>\n <button kendoButton [disabled]=\"imageData.invalid\"\n (click)=\"onConfirmAction()\" [primary]=\"true\">{{ textFor('dialogInsert') }}</button>\n </kendo-dialog-actions>\n "
748
+ template: "\n <kendo-dialog-titlebar (close)=\"onCancelAction()\">\n {{ textFor('insertImage') }}\n </kendo-dialog-titlebar>\n <div class=\"k-editor-dialog\">\n <div class=\"k-editor-dialog k-popup-edit-form k-window-content k-content\">\n <div class=\"k-edit-form-container k-window-content\">\n <div class=\"k-edit-label\">\n <label [for]=\"srcInputId\">{{ textFor('imageWebAddress') }}</label>\n </div>\n <div class=\"k-edit-field\">\n <input [id]=\"srcInputId\" #srcInput [formControl]=\"src\" type=\"text\" class=\"k-textbox k-input k-rounded-md\" />\n </div>\n <div class=\"k-edit-label\">\n <label [for]=\"altTextInputId\">{{ textFor('imageAltText') }}</label>\n </div>\n <div class=\"k-edit-field\">\n <input [id]=\"altTextInputId\" [formControl]=\"alt\" type=\"text\" class=\"k-textbox k-input k-rounded-md\" />\n </div>\n <div class=\"k-edit-label\">\n <label [for]=\"widthInputId\">{{ textFor('imageWidth') }}</label>\n </div>\n <div class=\"k-edit-field\">\n <input [id]=\"widthInputId\" [formControl]=\"width\" type=\"text\" class=\"k-textbox k-input k-rounded-md\" />\n </div>\n <div class=\"k-edit-label\">\n <label [for]=\"heightInputId\">{{ textFor('imageHeight') }}</label>\n </div>\n <div class=\"k-edit-field\">\n <input [id]=\"heightInputId\" [formControl]=\"height\" type=\"text\" class=\"k-textbox k-input k-rounded-md\" />\n </div>\n </div>\n </div>\n </div>\n <kendo-dialog-actions>\n <button kendoButton (click)=\"onCancelAction()\">{{ textFor('dialogCancel') }}</button>\n <button kendoButton [disabled]=\"imageData.invalid\"\n (click)=\"onConfirmAction()\" [primary]=\"true\">{{ textFor('dialogInsert') }}</button>\n </kendo-dialog-actions>\n "
749
749
  }),
750
750
  __metadata("design:paramtypes", [DialogRef,
751
751
  EditorLocalizationService])
@@ -861,7 +861,7 @@ var FileLinkDialogComponent = /** @class */ (function (_super) {
861
861
  ], FileLinkDialogComponent.prototype, "hrefInput", void 0);
862
862
  FileLinkDialogComponent = __decorate([
863
863
  Component({
864
- template: "\n <kendo-dialog-titlebar (close)=\"onCancelAction()\">\n {{ titleText }}\n </kendo-dialog-titlebar>\n <div class=\"k-editor-dialog\">\n <div class=\"k-editor-dialog k-popup-edit-form k-window-content k-content\">\n <div class=\"k-edit-form-container k-window-content\">\n <form novalidate [formGroup]=\"linkForm\">\n <div class=\"k-edit-label\">\n <label (click)=\"hrefInput.focus()\">{{ textForWithPrefix('WebAddress') }}</label>\n </div>\n <div class=\"k-edit-field\">\n <input #hrefInput formControlName=\"href\" type=\"text\" class=\"k-textbox\" />\n </div>\n\n <div class=\"k-edit-label\">\n <label (click)=\"textInput.focus()\">{{ textForWithPrefix('Text') }}</label>\n </div>\n <div class=\"k-edit-field\">\n <input #textInput formControlName=\"text\" type=\"text\" class=\"k-textbox\" />\n </div>\n\n <div class=\"k-edit-label\">\n <label (click)=\"titleInput.focus()\">{{ textForWithPrefix('Title') }}</label>\n </div>\n <div class=\"k-edit-field\">\n <input #titleInput formControlName=\"title\" type=\"text\" class=\"k-textbox\" />\n </div>\n <ng-container *ngIf=\"command === 'createLink'\">\n <div class=\"k-edit-label\"></div>\n <div class=\"k-edit-field\">\n <input type=\"checkbox\" id=\"k-target-blank\" class=\"k-checkbox\" formControlName=\"target\" />\n <label class=\"k-checkbox-label\" for=\"k-target-blank\">{{ textForWithPrefix('OpenInNewWindow') }}</label>\n </div>\n </ng-container>\n </form>\n </div>\n </div>\n </div>\n <kendo-dialog-actions>\n <button kendoButton (click)=\"onCancelAction()\">{{ textFor('dialogCancel') }}</button>\n <button kendoButton [disabled]=\"linkForm.invalid\" (click)=\"onConfirmAction()\" [primary]=\"true\">\n {{ textFor('dialogInsert') }}\n </button>\n </kendo-dialog-actions>\n "
864
+ template: "\n <kendo-dialog-titlebar (close)=\"onCancelAction()\">\n {{ titleText }}\n </kendo-dialog-titlebar>\n <div class=\"k-editor-dialog\">\n <div class=\"k-editor-dialog k-popup-edit-form k-window-content k-content\">\n <div class=\"k-edit-form-container k-window-content\">\n <form novalidate [formGroup]=\"linkForm\">\n <div class=\"k-edit-label\">\n <label (click)=\"hrefInput.focus()\">{{ textForWithPrefix('WebAddress') }}</label>\n </div>\n <div class=\"k-edit-field\">\n <input #hrefInput formControlName=\"href\" type=\"text\" class=\"k-textbox k-input k-rounded-md\" />\n </div>\n\n <div class=\"k-edit-label\">\n <label (click)=\"textInput.focus()\">{{ textForWithPrefix('Text') }}</label>\n </div>\n <div class=\"k-edit-field\">\n <input #textInput formControlName=\"text\" type=\"text\" class=\"k-textbox k-input k-rounded-md\" />\n </div>\n\n <div class=\"k-edit-label\">\n <label (click)=\"titleInput.focus()\">{{ textForWithPrefix('Title') }}</label>\n </div>\n <div class=\"k-edit-field\">\n <input #titleInput formControlName=\"title\" type=\"text\" class=\"k-textbox k-input k-rounded-md\" />\n </div>\n <ng-container *ngIf=\"command === 'createLink'\">\n <div class=\"k-edit-label\"></div>\n <div class=\"k-edit-field\">\n <input type=\"checkbox\" id=\"k-target-blank\" kendoCheckBox formControlName=\"target\" />\n <label class=\"k-checkbox-label\" for=\"k-target-blank\">{{ textForWithPrefix('OpenInNewWindow') }}</label>\n </div>\n </ng-container>\n </form>\n </div>\n </div>\n </div>\n <kendo-dialog-actions>\n <button kendoButton (click)=\"onCancelAction()\">{{ textFor('dialogCancel') }}</button>\n <button kendoButton [disabled]=\"linkForm.invalid\" (click)=\"onConfirmAction()\" [primary]=\"true\">\n {{ textFor('dialogInsert') }}\n </button>\n </kendo-dialog-actions>\n "
865
865
  }),
866
866
  __metadata("design:paramtypes", [DialogRef, EditorLocalizationService])
867
867
  ], FileLinkDialogComponent);
@@ -1662,7 +1662,7 @@ var EditorComponent = /** @class */ (function () {
1662
1662
  this.subs.add(fromEvent(containerElement, 'focusin')
1663
1663
  .subscribe(function () {
1664
1664
  if (_this.readonly) {
1665
- contentAreaClasslist_1.add('k-state-focused');
1665
+ contentAreaClasslist_1.add('k-focus');
1666
1666
  }
1667
1667
  if (!_this.focusChangedProgrammatically || _this.shouldEmitFocus) {
1668
1668
  _this.ngZone.run(function () { return _this.onFocus.emit(); });
@@ -1672,7 +1672,7 @@ var EditorComponent = /** @class */ (function () {
1672
1672
  this.subs.add(fromEvent(containerElement, 'focusout')
1673
1673
  .subscribe(function () {
1674
1674
  if (_this.readonly) {
1675
- contentAreaClasslist_1.remove('k-state-focused');
1675
+ contentAreaClasslist_1.remove('k-focus');
1676
1676
  }
1677
1677
  if (!_this.focusChangedProgrammatically) {
1678
1678
  _this.ngZone.run(function () { return _this.onBlur.emit(); });
@@ -1819,7 +1819,7 @@ var EditorComponent = /** @class */ (function () {
1819
1819
  __metadata("design:paramtypes", [])
1820
1820
  ], EditorComponent.prototype, "resizableClass", null);
1821
1821
  __decorate([
1822
- HostBinding('class.k-state-disabled'),
1822
+ HostBinding('class.k-disabled'),
1823
1823
  __metadata("design:type", Boolean),
1824
1824
  __metadata("design:paramtypes", [])
1825
1825
  ], EditorComponent.prototype, "isDisabled", null);
@@ -2096,7 +2096,7 @@ var ColorPickerDialogComponent = /** @class */ (function (_super) {
2096
2096
  ], ColorPickerDialogComponent.prototype, "colorPicker", void 0);
2097
2097
  ColorPickerDialogComponent = __decorate([
2098
2098
  Component({
2099
- template: "\n <kendo-dialog-titlebar (close)=\"onCancelAction()\">\n {{ textFor(editorCommand) }}\n </kendo-dialog-titlebar>\n <div class=\"k-editor-dialog\">\n <div class=\"k-editor-dialog k-popup-edit-form k-window-content k-content\">\n <div class=\"k-edit-form-container k-window-content\" style=\"text-align: center;\">\n <kendo-colorpicker\n #colorpicker\n [view]=\"view\"\n [format]=\"'hex'\"\n [attr.title]=\"title\"\n [icon]=\"icon\"\n [(value)]=\"value\"\n [paletteSettings]=\"paletteSettings\"\n (activeColorClick)=\"handleActiveColorClick($event)\"\n >\n </kendo-colorpicker>\n </div>\n </div>\n </div>\n <kendo-dialog-actions>\n <button kendoButton (click)=\"onCancelAction()\">{{ textFor('dialogCancel') }}</button>\n <button kendoButton\n (click)=\"onConfirmAction()\" [primary]=\"true\">{{ textFor('dialogApply') }}</button>\n </kendo-dialog-actions>\n "
2099
+ template: "\n <kendo-dialog-titlebar (close)=\"onCancelAction()\">\n {{ textFor(editorCommand) }}\n </kendo-dialog-titlebar>\n <div class=\"k-editor-dialog\">\n <div class=\"k-editor-dialog k-popup-edit-form k-window-content k-content\">\n <div class=\"k-edit-form-container k-window-content\" style=\"text-align: center;\">\n <kendo-colorpicker\n #colorpicker\n [views]=\"['palette']\"\n [format]=\"'hex'\"\n [attr.title]=\"title\"\n [icon]=\"icon\"\n [(value)]=\"value\"\n [paletteSettings]=\"paletteSettings\"\n (activeColorClick)=\"handleActiveColorClick($event)\"\n >\n </kendo-colorpicker>\n </div>\n </div>\n </div>\n <kendo-dialog-actions>\n <button kendoButton (click)=\"onCancelAction()\">{{ textFor('dialogCancel') }}</button>\n <button kendoButton\n (click)=\"onConfirmAction()\" [primary]=\"true\">{{ textFor('dialogApply') }}</button>\n </kendo-dialog-actions>\n "
2100
2100
  }),
2101
2101
  __metadata("design:paramtypes", [DialogRef,
2102
2102
  EditorLocalizationService])
@@ -2977,14 +2977,26 @@ var EditorColorPickerComponent = /** @class */ (function (_super) {
2977
2977
  */
2978
2978
  _this.disabled = false;
2979
2979
  /**
2980
- * Specifies whether the ColorPicker will render a gradient, palette or combo view.
2980
+ * Specifies whether the ColorPicker will render a gradient, palette, or both in its popup.
2981
2981
  *
2982
- * @default 'palette'
2982
+ * @default ['palette']
2983
2983
  */
2984
- _this.view = 'palette';
2984
+ _this.views = ['palette'];
2985
2985
  return _this;
2986
2986
  }
2987
2987
  EditorColorPickerComponent_1 = EditorColorPickerComponent;
2988
+ Object.defineProperty(EditorColorPickerComponent.prototype, "view", {
2989
+ /**
2990
+ * @hidden
2991
+ *
2992
+ * For backward compatibility with configurations using the deprecated "view" input.
2993
+ */
2994
+ set: function (view) {
2995
+ this.views = [view];
2996
+ },
2997
+ enumerable: true,
2998
+ configurable: true
2999
+ });
2988
3000
  Object.defineProperty(EditorColorPickerComponent.prototype, "title", {
2989
3001
  /**
2990
3002
  * @hidden
@@ -3066,7 +3078,7 @@ var EditorColorPickerComponent = /** @class */ (function (_super) {
3066
3078
  editorCommand: this.editorCommand,
3067
3079
  paletteSettings: this.paletteSettings,
3068
3080
  icon: this.icon,
3069
- view: this.view
3081
+ views: this.views
3070
3082
  });
3071
3083
  };
3072
3084
  /**
@@ -3117,8 +3129,13 @@ var EditorColorPickerComponent = /** @class */ (function (_super) {
3117
3129
  ], EditorColorPickerComponent.prototype, "disabled", void 0);
3118
3130
  __decorate([
3119
3131
  Input(),
3120
- __metadata("design:type", String)
3121
- ], EditorColorPickerComponent.prototype, "view", void 0);
3132
+ __metadata("design:type", Array)
3133
+ ], EditorColorPickerComponent.prototype, "views", void 0);
3134
+ __decorate([
3135
+ Input(),
3136
+ __metadata("design:type", String),
3137
+ __metadata("design:paramtypes", [String])
3138
+ ], EditorColorPickerComponent.prototype, "view", null);
3122
3139
  __decorate([
3123
3140
  ViewChild('toolbarTemplate', { static: true }),
3124
3141
  __metadata("design:type", TemplateRef)
@@ -3143,7 +3160,7 @@ var EditorColorPickerComponent = /** @class */ (function (_super) {
3143
3160
  Component({
3144
3161
  providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(function () { return EditorColorPickerComponent_1; }) }],
3145
3162
  selector: 'kendo-toolbar-colorpicker',
3146
- template: "\n <ng-template #toolbarTemplate>\n <kendo-colorpicker\n #colorpicker\n [view]=\"view\"\n [format]=\"'hex'\"\n [attr.title]=\"title\"\n [icon]=\"icon\"\n [value]=\"value\"\n [paletteSettings]=\"paletteSettings\"\n [disabled]=\"disabled\"\n [tabindex]=\"tabindex\"\n (valueChange)=\"handleValueChange($event)\"\n (activeColorClick)=\"handleActiveColorClick($event)\"\n (open)=\"onOpen(colorpicker)\"\n (close)=\"onClose(colorpicker)\"\n >\n </kendo-colorpicker>\n </ng-template>\n <ng-template #popupTemplate>\n <button\n tabindex=\"-1\"\n type=\"button\"\n kendoButton\n #colorPickerButton\n class=\"k-overflow-button\"\n [icon]=\"icon\"\n [attr.title]=\"title\"\n [disabled]=\"disabled\"\n [tabindex]=\"tabindex\"\n (click)=\"openDialog()\"\n >\n {{ title }}\n </button>\n </ng-template>\n "
3163
+ template: "\n <ng-template #toolbarTemplate>\n <kendo-colorpicker\n #colorpicker\n [views]=\"['palette']\"\n [format]=\"'hex'\"\n [attr.title]=\"title\"\n [icon]=\"icon\"\n [value]=\"value\"\n [paletteSettings]=\"paletteSettings\"\n [disabled]=\"disabled\"\n [tabindex]=\"tabindex\"\n (valueChange)=\"handleValueChange($event)\"\n (activeColorClick)=\"handleActiveColorClick($event)\"\n (open)=\"onOpen(colorpicker)\"\n (close)=\"onClose(colorpicker)\"\n >\n </kendo-colorpicker>\n </ng-template>\n <ng-template #popupTemplate>\n <button\n tabindex=\"-1\"\n type=\"button\"\n kendoButton\n #colorPickerButton\n class=\"k-overflow-button\"\n [icon]=\"icon\"\n [attr.title]=\"title\"\n [disabled]=\"disabled\"\n [tabindex]=\"tabindex\"\n (click)=\"openDialog()\"\n >\n {{ title }}\n </button>\n </ng-template>\n "
3147
3164
  }),
3148
3165
  __param(0, Host()),
3149
3166
  __metadata("design:paramtypes", [EditorComponent,
@@ -3397,7 +3414,7 @@ var PopupTableGridComponent = /** @class */ (function () {
3397
3414
  PopupTableGridComponent = __decorate([
3398
3415
  Component({
3399
3416
  selector: 'kendo-popup-table-grid',
3400
- template: "\n <div style=\"border-color: inherit;\" (mouseleave)=\"resetState()\" (click)=\"insertTable()\">\n <span *ngFor=\"let i of cells\"\n class=\"k-ct-cell\"\n [class.k-state-selected]=\"selected(i)\"\n [class.k-state-disabled]=\"!selected(i)\"\n (mouseenter)=\"setState(i)\">\n </span>\n </div>\n <div class=\"k-status\" unselectable=\"on\">{{ message }}</div>\n <!-- uncomment when TableWizard is completed\n <div class=\"k-editor-toolbar\" unselectable=\"on\">\n <button type=\"button\" kendoButton class=\"k-tool\" [icon]=\"'table-wizard'\" (click)=\"openTableWizard()\" title=\"Table Wizard\">Table Wizard</button>\n </div>\n -->\n "
3417
+ template: "\n <div style=\"border-color: inherit;\" (mouseleave)=\"resetState()\" (click)=\"insertTable()\">\n <span *ngFor=\"let i of cells\"\n class=\"k-ct-cell\"\n [class.k-selected]=\"selected(i)\"\n [class.k-disabled]=\"!selected(i)\"\n (mouseenter)=\"setState(i)\">\n </span>\n </div>\n <div class=\"k-status\" unselectable=\"on\">{{ message }}</div>\n <!-- uncomment when TableWizard is completed\n <div class=\"k-editor-toolbar\" unselectable=\"on\">\n <button type=\"button\" kendoButton class=\"k-tool\" [icon]=\"'table-wizard'\" (click)=\"openTableWizard()\" title=\"Table Wizard\">Table Wizard</button>\n </div>\n -->\n "
3401
3418
  })
3402
3419
  ], PopupTableGridComponent);
3403
3420
  return PopupTableGridComponent;
@@ -5241,6 +5258,7 @@ var EditorModule = /** @class */ (function () {
5241
5258
  DialogModule,
5242
5259
  DropDownsModule,
5243
5260
  NumericTextBoxModule,
5261
+ CheckBoxModule,
5244
5262
  ToolBarModule,
5245
5263
  TextBoxModule
5246
5264
  ]
@@ -61,7 +61,7 @@ var ColorPickerDialogComponent = /** @class */ (function (_super) {
61
61
  ], ColorPickerDialogComponent.prototype, "colorPicker", void 0);
62
62
  ColorPickerDialogComponent = tslib_1.__decorate([
63
63
  core_1.Component({
64
- template: "\n <kendo-dialog-titlebar (close)=\"onCancelAction()\">\n {{ textFor(editorCommand) }}\n </kendo-dialog-titlebar>\n <div class=\"k-editor-dialog\">\n <div class=\"k-editor-dialog k-popup-edit-form k-window-content k-content\">\n <div class=\"k-edit-form-container k-window-content\" style=\"text-align: center;\">\n <kendo-colorpicker\n #colorpicker\n [view]=\"view\"\n [format]=\"'hex'\"\n [attr.title]=\"title\"\n [icon]=\"icon\"\n [(value)]=\"value\"\n [paletteSettings]=\"paletteSettings\"\n (activeColorClick)=\"handleActiveColorClick($event)\"\n >\n </kendo-colorpicker>\n </div>\n </div>\n </div>\n <kendo-dialog-actions>\n <button kendoButton (click)=\"onCancelAction()\">{{ textFor('dialogCancel') }}</button>\n <button kendoButton\n (click)=\"onConfirmAction()\" [primary]=\"true\">{{ textFor('dialogApply') }}</button>\n </kendo-dialog-actions>\n "
64
+ template: "\n <kendo-dialog-titlebar (close)=\"onCancelAction()\">\n {{ textFor(editorCommand) }}\n </kendo-dialog-titlebar>\n <div class=\"k-editor-dialog\">\n <div class=\"k-editor-dialog k-popup-edit-form k-window-content k-content\">\n <div class=\"k-edit-form-container k-window-content\" style=\"text-align: center;\">\n <kendo-colorpicker\n #colorpicker\n [views]=\"['palette']\"\n [format]=\"'hex'\"\n [attr.title]=\"title\"\n [icon]=\"icon\"\n [(value)]=\"value\"\n [paletteSettings]=\"paletteSettings\"\n (activeColorClick)=\"handleActiveColorClick($event)\"\n >\n </kendo-colorpicker>\n </div>\n </div>\n </div>\n <kendo-dialog-actions>\n <button kendoButton (click)=\"onCancelAction()\">{{ textFor('dialogCancel') }}</button>\n <button kendoButton\n (click)=\"onConfirmAction()\" [primary]=\"true\">{{ textFor('dialogApply') }}</button>\n </kendo-dialog-actions>\n "
65
65
  }),
66
66
  tslib_1.__metadata("design:paramtypes", [kendo_angular_dialog_1.DialogRef,
67
67
  editor_localization_service_1.EditorLocalizationService])
@@ -119,7 +119,7 @@ var FileLinkDialogComponent = /** @class */ (function (_super) {
119
119
  ], FileLinkDialogComponent.prototype, "hrefInput", void 0);
120
120
  FileLinkDialogComponent = tslib_1.__decorate([
121
121
  core_1.Component({
122
- template: "\n <kendo-dialog-titlebar (close)=\"onCancelAction()\">\n {{ titleText }}\n </kendo-dialog-titlebar>\n <div class=\"k-editor-dialog\">\n <div class=\"k-editor-dialog k-popup-edit-form k-window-content k-content\">\n <div class=\"k-edit-form-container k-window-content\">\n <form novalidate [formGroup]=\"linkForm\">\n <div class=\"k-edit-label\">\n <label (click)=\"hrefInput.focus()\">{{ textForWithPrefix('WebAddress') }}</label>\n </div>\n <div class=\"k-edit-field\">\n <input #hrefInput formControlName=\"href\" type=\"text\" class=\"k-textbox\" />\n </div>\n\n <div class=\"k-edit-label\">\n <label (click)=\"textInput.focus()\">{{ textForWithPrefix('Text') }}</label>\n </div>\n <div class=\"k-edit-field\">\n <input #textInput formControlName=\"text\" type=\"text\" class=\"k-textbox\" />\n </div>\n\n <div class=\"k-edit-label\">\n <label (click)=\"titleInput.focus()\">{{ textForWithPrefix('Title') }}</label>\n </div>\n <div class=\"k-edit-field\">\n <input #titleInput formControlName=\"title\" type=\"text\" class=\"k-textbox\" />\n </div>\n <ng-container *ngIf=\"command === 'createLink'\">\n <div class=\"k-edit-label\"></div>\n <div class=\"k-edit-field\">\n <input type=\"checkbox\" id=\"k-target-blank\" class=\"k-checkbox\" formControlName=\"target\" />\n <label class=\"k-checkbox-label\" for=\"k-target-blank\">{{ textForWithPrefix('OpenInNewWindow') }}</label>\n </div>\n </ng-container>\n </form>\n </div>\n </div>\n </div>\n <kendo-dialog-actions>\n <button kendoButton (click)=\"onCancelAction()\">{{ textFor('dialogCancel') }}</button>\n <button kendoButton [disabled]=\"linkForm.invalid\" (click)=\"onConfirmAction()\" [primary]=\"true\">\n {{ textFor('dialogInsert') }}\n </button>\n </kendo-dialog-actions>\n "
122
+ template: "\n <kendo-dialog-titlebar (close)=\"onCancelAction()\">\n {{ titleText }}\n </kendo-dialog-titlebar>\n <div class=\"k-editor-dialog\">\n <div class=\"k-editor-dialog k-popup-edit-form k-window-content k-content\">\n <div class=\"k-edit-form-container k-window-content\">\n <form novalidate [formGroup]=\"linkForm\">\n <div class=\"k-edit-label\">\n <label (click)=\"hrefInput.focus()\">{{ textForWithPrefix('WebAddress') }}</label>\n </div>\n <div class=\"k-edit-field\">\n <input #hrefInput formControlName=\"href\" type=\"text\" class=\"k-textbox k-input k-rounded-md\" />\n </div>\n\n <div class=\"k-edit-label\">\n <label (click)=\"textInput.focus()\">{{ textForWithPrefix('Text') }}</label>\n </div>\n <div class=\"k-edit-field\">\n <input #textInput formControlName=\"text\" type=\"text\" class=\"k-textbox k-input k-rounded-md\" />\n </div>\n\n <div class=\"k-edit-label\">\n <label (click)=\"titleInput.focus()\">{{ textForWithPrefix('Title') }}</label>\n </div>\n <div class=\"k-edit-field\">\n <input #titleInput formControlName=\"title\" type=\"text\" class=\"k-textbox k-input k-rounded-md\" />\n </div>\n <ng-container *ngIf=\"command === 'createLink'\">\n <div class=\"k-edit-label\"></div>\n <div class=\"k-edit-field\">\n <input type=\"checkbox\" id=\"k-target-blank\" kendoCheckBox formControlName=\"target\" />\n <label class=\"k-checkbox-label\" for=\"k-target-blank\">{{ textForWithPrefix('OpenInNewWindow') }}</label>\n </div>\n </ng-container>\n </form>\n </div>\n </div>\n </div>\n <kendo-dialog-actions>\n <button kendoButton (click)=\"onCancelAction()\">{{ textFor('dialogCancel') }}</button>\n <button kendoButton [disabled]=\"linkForm.invalid\" (click)=\"onConfirmAction()\" [primary]=\"true\">\n {{ textFor('dialogInsert') }}\n </button>\n </kendo-dialog-actions>\n "
123
123
  }),
124
124
  tslib_1.__metadata("design:paramtypes", [kendo_angular_dialog_1.DialogRef, editor_localization_service_1.EditorLocalizationService])
125
125
  ], FileLinkDialogComponent);
@@ -94,7 +94,7 @@ var ImageDialogComponent = /** @class */ (function (_super) {
94
94
  ], ImageDialogComponent.prototype, "srcInput", void 0);
95
95
  ImageDialogComponent = tslib_1.__decorate([
96
96
  core_1.Component({
97
- template: "\n <kendo-dialog-titlebar (close)=\"onCancelAction()\">\n {{ textFor('insertImage') }}\n </kendo-dialog-titlebar>\n <div class=\"k-editor-dialog\">\n <div class=\"k-editor-dialog k-popup-edit-form k-window-content k-content\">\n <div class=\"k-edit-form-container k-window-content\">\n <div class=\"k-edit-label\">\n <label [for]=\"srcInputId\">{{ textFor('imageWebAddress') }}</label>\n </div>\n <div class=\"k-edit-field\">\n <input [id]=\"srcInputId\" #srcInput [formControl]=\"src\" type=\"text\" class=\"k-textbox\" />\n </div>\n <div class=\"k-edit-label\">\n <label [for]=\"altTextInputId\">{{ textFor('imageAltText') }}</label>\n </div>\n <div class=\"k-edit-field\">\n <input [id]=\"altTextInputId\" [formControl]=\"alt\" type=\"text\" class=\"k-textbox\" />\n </div>\n <div class=\"k-edit-label\">\n <label [for]=\"widthInputId\">{{ textFor('imageWidth') }}</label>\n </div>\n <div class=\"k-edit-field\">\n <input [id]=\"widthInputId\" [formControl]=\"width\" type=\"text\" class=\"k-textbox\" />\n </div>\n <div class=\"k-edit-label\">\n <label [for]=\"heightInputId\">{{ textFor('imageHeight') }}</label>\n </div>\n <div class=\"k-edit-field\">\n <input [id]=\"heightInputId\" [formControl]=\"height\" type=\"text\" class=\"k-textbox\" />\n </div>\n </div>\n </div>\n </div>\n <kendo-dialog-actions>\n <button kendoButton (click)=\"onCancelAction()\">{{ textFor('dialogCancel') }}</button>\n <button kendoButton [disabled]=\"imageData.invalid\"\n (click)=\"onConfirmAction()\" [primary]=\"true\">{{ textFor('dialogInsert') }}</button>\n </kendo-dialog-actions>\n "
97
+ template: "\n <kendo-dialog-titlebar (close)=\"onCancelAction()\">\n {{ textFor('insertImage') }}\n </kendo-dialog-titlebar>\n <div class=\"k-editor-dialog\">\n <div class=\"k-editor-dialog k-popup-edit-form k-window-content k-content\">\n <div class=\"k-edit-form-container k-window-content\">\n <div class=\"k-edit-label\">\n <label [for]=\"srcInputId\">{{ textFor('imageWebAddress') }}</label>\n </div>\n <div class=\"k-edit-field\">\n <input [id]=\"srcInputId\" #srcInput [formControl]=\"src\" type=\"text\" class=\"k-textbox k-input k-rounded-md\" />\n </div>\n <div class=\"k-edit-label\">\n <label [for]=\"altTextInputId\">{{ textFor('imageAltText') }}</label>\n </div>\n <div class=\"k-edit-field\">\n <input [id]=\"altTextInputId\" [formControl]=\"alt\" type=\"text\" class=\"k-textbox k-input k-rounded-md\" />\n </div>\n <div class=\"k-edit-label\">\n <label [for]=\"widthInputId\">{{ textFor('imageWidth') }}</label>\n </div>\n <div class=\"k-edit-field\">\n <input [id]=\"widthInputId\" [formControl]=\"width\" type=\"text\" class=\"k-textbox k-input k-rounded-md\" />\n </div>\n <div class=\"k-edit-label\">\n <label [for]=\"heightInputId\">{{ textFor('imageHeight') }}</label>\n </div>\n <div class=\"k-edit-field\">\n <input [id]=\"heightInputId\" [formControl]=\"height\" type=\"text\" class=\"k-textbox k-input k-rounded-md\" />\n </div>\n </div>\n </div>\n </div>\n <kendo-dialog-actions>\n <button kendoButton (click)=\"onCancelAction()\">{{ textFor('dialogCancel') }}</button>\n <button kendoButton [disabled]=\"imageData.invalid\"\n (click)=\"onConfirmAction()\" [primary]=\"true\">{{ textFor('dialogInsert') }}</button>\n </kendo-dialog-actions>\n "
98
98
  }),
99
99
  tslib_1.__metadata("design:paramtypes", [kendo_angular_dialog_1.DialogRef,
100
100
  editor_localization_service_1.EditorLocalizationService])
@@ -764,7 +764,7 @@ var EditorComponent = /** @class */ (function () {
764
764
  this.subs.add(rxjs_1.fromEvent(containerElement, 'focusin')
765
765
  .subscribe(function () {
766
766
  if (_this.readonly) {
767
- contentAreaClasslist_1.add('k-state-focused');
767
+ contentAreaClasslist_1.add('k-focus');
768
768
  }
769
769
  if (!_this.focusChangedProgrammatically || _this.shouldEmitFocus) {
770
770
  _this.ngZone.run(function () { return _this.onFocus.emit(); });
@@ -774,7 +774,7 @@ var EditorComponent = /** @class */ (function () {
774
774
  this.subs.add(rxjs_1.fromEvent(containerElement, 'focusout')
775
775
  .subscribe(function () {
776
776
  if (_this.readonly) {
777
- contentAreaClasslist_1.remove('k-state-focused');
777
+ contentAreaClasslist_1.remove('k-focus');
778
778
  }
779
779
  if (!_this.focusChangedProgrammatically) {
780
780
  _this.ngZone.run(function () { return _this.onBlur.emit(); });
@@ -921,7 +921,7 @@ var EditorComponent = /** @class */ (function () {
921
921
  tslib_1.__metadata("design:paramtypes", [])
922
922
  ], EditorComponent.prototype, "resizableClass", null);
923
923
  tslib_1.__decorate([
924
- core_1.HostBinding('class.k-state-disabled'),
924
+ core_1.HostBinding('class.k-disabled'),
925
925
  tslib_1.__metadata("design:type", Boolean),
926
926
  tslib_1.__metadata("design:paramtypes", [])
927
927
  ], EditorComponent.prototype, "isDisabled", null);
@@ -13,7 +13,6 @@ var kendo_angular_dropdowns_1 = require("@progress/kendo-angular-dropdowns");
13
13
  var kendo_angular_dialog_1 = require("@progress/kendo-angular-dialog");
14
14
  var kendo_angular_buttons_1 = require("@progress/kendo-angular-buttons");
15
15
  var kendo_angular_inputs_1 = require("@progress/kendo-angular-inputs");
16
- var kendo_angular_inputs_2 = require("@progress/kendo-angular-inputs");
17
16
  var editor_component_1 = require("./editor.component");
18
17
  var image_dialog_component_1 = require("./dialogs/image-dialog.component");
19
18
  var source_dialog_component_1 = require("./dialogs/source-dialog.component");
@@ -232,9 +231,10 @@ var EditorModule = /** @class */ (function () {
232
231
  kendo_angular_inputs_1.ColorPickerModule,
233
232
  kendo_angular_dialog_1.DialogModule,
234
233
  kendo_angular_dropdowns_1.DropDownsModule,
235
- kendo_angular_inputs_2.NumericTextBoxModule,
234
+ kendo_angular_inputs_1.NumericTextBoxModule,
235
+ kendo_angular_inputs_1.CheckBoxModule,
236
236
  kendo_angular_toolbar_1.ToolBarModule,
237
- kendo_angular_inputs_2.TextBoxModule
237
+ kendo_angular_inputs_1.TextBoxModule
238
238
  ]
239
239
  })
240
240
  ], EditorModule);
@@ -11,7 +11,7 @@ exports.packageMetadata = {
11
11
  name: '@progress/kendo-angular-editor',
12
12
  productName: 'Kendo UI for Angular',
13
13
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
14
- publishDate: 1641988389,
14
+ publishDate: 1642684689,
15
15
  version: '',
16
16
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
17
17
  };