@progress/kendo-angular-editor 16.1.0 → 16.1.1-develop.2
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.
- package/dialogs/colorpicker-dialog.component.d.ts +0 -1
- package/dialogs/file-link-dialog.component.d.ts +0 -1
- package/dialogs/font-family-dialog.component.d.ts +0 -1
- package/dialogs/font-size-dialog.component.d.ts +0 -1
- package/dialogs/format-dialog.component.d.ts +0 -1
- package/dialogs/image-dialog.component.d.ts +0 -1
- package/dialogs/source-dialog.component.d.ts +0 -1
- package/esm2020/dialogs/colorpicker-dialog.component.mjs +0 -5
- package/esm2020/dialogs/file-link-dialog.component.mjs +0 -5
- package/esm2020/dialogs/font-family-dialog.component.mjs +0 -5
- package/esm2020/dialogs/font-size-dialog.component.mjs +0 -5
- package/esm2020/dialogs/format-dialog.component.mjs +0 -5
- package/esm2020/dialogs/image-dialog.component.mjs +0 -5
- package/esm2020/dialogs/source-dialog.component.mjs +0 -5
- package/esm2020/editor.component.mjs +1 -1
- package/esm2020/package-metadata.mjs +2 -2
- package/esm2020/tools/colorpicker/editor-colorpicker.component.mjs +2 -1
- package/esm2020/tools/fontfamily/editor-fontfamily.component.mjs +2 -1
- package/esm2020/tools/fontsize/editor-fontsize.component.mjs +2 -1
- package/esm2020/tools/format/editor-format.component.mjs +2 -1
- package/fesm2015/progress-kendo-angular-editor.mjs +11 -42
- package/fesm2020/progress-kendo-angular-editor.mjs +11 -42
- package/package.json +14 -14
- package/schematics/ngAdd/index.js +3 -3
|
@@ -25,7 +25,6 @@ export declare class ColorPickerDialogComponent extends DialogContentBase {
|
|
|
25
25
|
view: ColorPickerView;
|
|
26
26
|
views: ColorPickerView[];
|
|
27
27
|
constructor(dialog: DialogRef, localization: EditorLocalizationService);
|
|
28
|
-
ngAfterViewInit(): void;
|
|
29
28
|
handleActiveColorClick(event: ActiveColorClickEvent): void;
|
|
30
29
|
handleClearButtonClick(): void;
|
|
31
30
|
onCancelAction(): void;
|
|
@@ -20,7 +20,6 @@ export declare class FileLinkDialogComponent extends DialogContentBase {
|
|
|
20
20
|
hrefInput: TextBoxComponent;
|
|
21
21
|
linkForm: FormGroup;
|
|
22
22
|
constructor(dialog: DialogRef, localization: EditorLocalizationService);
|
|
23
|
-
ngAfterViewInit(): void;
|
|
24
23
|
onCancelAction(): void;
|
|
25
24
|
onConfirmAction(): void;
|
|
26
25
|
get titleText(): string;
|
|
@@ -22,7 +22,6 @@ export declare class FontFamilyDialogComponent extends DialogContentBase {
|
|
|
22
22
|
value: string;
|
|
23
23
|
itemDisabled: ItemDisabledFn;
|
|
24
24
|
constructor(dialog: DialogRef, localization: EditorLocalizationService);
|
|
25
|
-
ngAfterViewInit(): void;
|
|
26
25
|
onCancelAction(): void;
|
|
27
26
|
onConfirmAction(): void;
|
|
28
27
|
setData(args: any): void;
|
|
@@ -22,7 +22,6 @@ export declare class FontSizeDialogComponent extends DialogContentBase {
|
|
|
22
22
|
value: string;
|
|
23
23
|
itemDisabled: ItemDisabledFn;
|
|
24
24
|
constructor(dialog: DialogRef, localization: EditorLocalizationService);
|
|
25
|
-
ngAfterViewInit(): void;
|
|
26
25
|
onCancelAction(): void;
|
|
27
26
|
onConfirmAction(): void;
|
|
28
27
|
setData(args: any): void;
|
|
@@ -22,7 +22,6 @@ export declare class FormatDialogComponent extends DialogContentBase {
|
|
|
22
22
|
value: string;
|
|
23
23
|
itemDisabled: ItemDisabledFn;
|
|
24
24
|
constructor(dialog: DialogRef, localization: EditorLocalizationService);
|
|
25
|
-
ngAfterViewInit(): void;
|
|
26
25
|
onCancelAction(): void;
|
|
27
26
|
onConfirmAction(): void;
|
|
28
27
|
setData(args: any): void;
|
|
@@ -29,7 +29,6 @@ export declare class ImageDialogComponent extends DialogContentBase {
|
|
|
29
29
|
heightInputId: string;
|
|
30
30
|
constructor(dialog: DialogRef, localization: EditorLocalizationService);
|
|
31
31
|
ngOnInit(): void;
|
|
32
|
-
ngAfterViewInit(): void;
|
|
33
32
|
onCancelAction(): void;
|
|
34
33
|
onConfirmAction(): void;
|
|
35
34
|
setData(state: EditorState): void;
|
|
@@ -16,7 +16,6 @@ export declare class SourceDialogComponent extends DialogContentBase {
|
|
|
16
16
|
textarea: TextAreaComponent;
|
|
17
17
|
data: string;
|
|
18
18
|
constructor(dialog: DialogRef, localization: EditorLocalizationService);
|
|
19
|
-
ngAfterViewInit(): void;
|
|
20
19
|
onCancelAction(): void;
|
|
21
20
|
onConfirmAction(): void;
|
|
22
21
|
getData(): string;
|
|
@@ -22,11 +22,6 @@ export class ColorPickerDialogComponent extends DialogContentBase {
|
|
|
22
22
|
this.dialog = dialog;
|
|
23
23
|
this.localization = localization;
|
|
24
24
|
}
|
|
25
|
-
ngAfterViewInit() {
|
|
26
|
-
Promise.resolve(null).then(() => {
|
|
27
|
-
this.colorPicker.focus();
|
|
28
|
-
});
|
|
29
|
-
}
|
|
30
25
|
handleActiveColorClick(event) {
|
|
31
26
|
event.preventOpen();
|
|
32
27
|
this.value = event.color;
|
|
@@ -31,11 +31,6 @@ export class FileLinkDialogComponent extends DialogContentBase {
|
|
|
31
31
|
'title': new FormControl('')
|
|
32
32
|
});
|
|
33
33
|
}
|
|
34
|
-
ngAfterViewInit() {
|
|
35
|
-
Promise.resolve(null).then(() => {
|
|
36
|
-
this.hrefInput.focus();
|
|
37
|
-
});
|
|
38
|
-
}
|
|
39
34
|
onCancelAction() {
|
|
40
35
|
this.dialog.close();
|
|
41
36
|
}
|
|
@@ -22,11 +22,6 @@ export class FontFamilyDialogComponent extends DialogContentBase {
|
|
|
22
22
|
this.localization = localization;
|
|
23
23
|
this.data = [];
|
|
24
24
|
}
|
|
25
|
-
ngAfterViewInit() {
|
|
26
|
-
Promise.resolve(null).then(() => {
|
|
27
|
-
this.fontFamilyDropDownList.dropDownList.focus();
|
|
28
|
-
});
|
|
29
|
-
}
|
|
30
25
|
onCancelAction() {
|
|
31
26
|
this.dialog.close();
|
|
32
27
|
}
|
|
@@ -22,11 +22,6 @@ export class FontSizeDialogComponent extends DialogContentBase {
|
|
|
22
22
|
this.localization = localization;
|
|
23
23
|
this.data = [];
|
|
24
24
|
}
|
|
25
|
-
ngAfterViewInit() {
|
|
26
|
-
Promise.resolve(null).then(() => {
|
|
27
|
-
this.fontSizeDropDownList.dropDownList.focus();
|
|
28
|
-
});
|
|
29
|
-
}
|
|
30
25
|
onCancelAction() {
|
|
31
26
|
this.dialog.close();
|
|
32
27
|
}
|
|
@@ -21,11 +21,6 @@ export class FormatDialogComponent extends DialogContentBase {
|
|
|
21
21
|
this.localization = localization;
|
|
22
22
|
this.data = [];
|
|
23
23
|
}
|
|
24
|
-
ngAfterViewInit() {
|
|
25
|
-
Promise.resolve(null).then(() => {
|
|
26
|
-
this.formatDropDownList.dropDownList.focus();
|
|
27
|
-
});
|
|
28
|
-
}
|
|
29
24
|
onCancelAction() {
|
|
30
25
|
this.dialog.close();
|
|
31
26
|
}
|
|
@@ -48,11 +48,6 @@ export class ImageDialogComponent extends DialogContentBase {
|
|
|
48
48
|
this.widthInputId = `k-${guid()}`;
|
|
49
49
|
this.heightInputId = `k-${guid()}`;
|
|
50
50
|
}
|
|
51
|
-
ngAfterViewInit() {
|
|
52
|
-
Promise.resolve(null).then(() => {
|
|
53
|
-
this.srcInput.focus();
|
|
54
|
-
});
|
|
55
|
-
}
|
|
56
51
|
onCancelAction() {
|
|
57
52
|
this.dialog.close();
|
|
58
53
|
}
|
|
@@ -22,11 +22,6 @@ export class SourceDialogComponent extends DialogContentBase {
|
|
|
22
22
|
this.localization = localization;
|
|
23
23
|
this.data = '';
|
|
24
24
|
}
|
|
25
|
-
ngAfterViewInit() {
|
|
26
|
-
Promise.resolve(null).then(() => {
|
|
27
|
-
this.textarea.focus();
|
|
28
|
-
});
|
|
29
|
-
}
|
|
30
25
|
onCancelAction() {
|
|
31
26
|
this.dialog.close();
|
|
32
27
|
}
|
|
@@ -520,7 +520,7 @@ export class EditorComponent {
|
|
|
520
520
|
// content: TableWizardDialogComponent
|
|
521
521
|
// }
|
|
522
522
|
};
|
|
523
|
-
const dialog = Object.assign({ appendTo: this.dialogContainer }, editorDialogs[dialogName]);
|
|
523
|
+
const dialog = Object.assign({ appendTo: this.dialogContainer, autoFocusedElement: '.k-input-inner' }, editorDialogs[dialogName]);
|
|
524
524
|
this.toolbar.toggle(false);
|
|
525
525
|
const dialogContent = this.dialogService.open(dialog).content.instance;
|
|
526
526
|
this.renderer.addClass(dialogContent.dialog.dialog.instance.wrapper.nativeElement.querySelector('.k-window'), 'k-editor-window');
|
|
@@ -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:
|
|
13
|
-
version: '16.1.
|
|
12
|
+
publishDate: 1716800330,
|
|
13
|
+
version: '16.1.1-develop.2',
|
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
15
15
|
};
|
|
@@ -139,7 +139,8 @@ export class EditorColorPickerComponent extends ToolBarToolComponent {
|
|
|
139
139
|
const dialogSettings = {
|
|
140
140
|
appendTo: this.editor.dialogContainer,
|
|
141
141
|
content: ColorPickerDialogComponent,
|
|
142
|
-
width: 400
|
|
142
|
+
width: 400,
|
|
143
|
+
autoFocusedElement: '.k-picker'
|
|
143
144
|
};
|
|
144
145
|
this.editor.toolbar.toggle(false);
|
|
145
146
|
const dialogContent = this.dialogService.open(dialogSettings).content.instance;
|
|
@@ -119,7 +119,8 @@ export class EditorFontFamilyComponent extends ToolBarToolComponent {
|
|
|
119
119
|
const dialogSettings = {
|
|
120
120
|
appendTo: this.editor.dialogContainer,
|
|
121
121
|
content: FontFamilyDialogComponent,
|
|
122
|
-
width: 400
|
|
122
|
+
width: 400,
|
|
123
|
+
autoFocusedElement: '.k-picker'
|
|
123
124
|
};
|
|
124
125
|
this.editor.toolbar.toggle(false);
|
|
125
126
|
const dialogContent = this.dialogService.open(dialogSettings).content.instance;
|
|
@@ -125,7 +125,8 @@ export class EditorFontSizeComponent extends ToolBarToolComponent {
|
|
|
125
125
|
const dialogSettings = {
|
|
126
126
|
appendTo: this.editor.dialogContainer,
|
|
127
127
|
content: FontSizeDialogComponent,
|
|
128
|
-
width: 400
|
|
128
|
+
width: 400,
|
|
129
|
+
autoFocusedElement: '.k-picker'
|
|
129
130
|
};
|
|
130
131
|
this.editor.toolbar.toggle(false);
|
|
131
132
|
const dialogContent = this.dialogService.open(dialogSettings).content.instance;
|
|
@@ -115,7 +115,8 @@ export class EditorFormatComponent extends ToolBarToolComponent {
|
|
|
115
115
|
const dialogSettings = {
|
|
116
116
|
appendTo: this.editor.dialogContainer,
|
|
117
117
|
content: FormatDialogComponent,
|
|
118
|
-
width: 400
|
|
118
|
+
width: 400,
|
|
119
|
+
autoFocusedElement: '.k-picker'
|
|
119
120
|
};
|
|
120
121
|
this.editor.toolbar.toggle(false);
|
|
121
122
|
const dialogContent = this.dialogService.open(dialogSettings).content.instance;
|
|
@@ -41,8 +41,8 @@ const packageMetadata = {
|
|
|
41
41
|
name: '@progress/kendo-angular-editor',
|
|
42
42
|
productName: 'Kendo UI for Angular',
|
|
43
43
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
44
|
-
publishDate:
|
|
45
|
-
version: '16.1.
|
|
44
|
+
publishDate: 1716800330,
|
|
45
|
+
version: '16.1.1-develop.2',
|
|
46
46
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
47
47
|
};
|
|
48
48
|
|
|
@@ -682,11 +682,6 @@ class SourceDialogComponent extends DialogContentBase {
|
|
|
682
682
|
this.localization = localization;
|
|
683
683
|
this.data = '';
|
|
684
684
|
}
|
|
685
|
-
ngAfterViewInit() {
|
|
686
|
-
Promise.resolve(null).then(() => {
|
|
687
|
-
this.textarea.focus();
|
|
688
|
-
});
|
|
689
|
-
}
|
|
690
685
|
onCancelAction() {
|
|
691
686
|
this.dialog.close();
|
|
692
687
|
}
|
|
@@ -803,11 +798,6 @@ class ImageDialogComponent extends DialogContentBase {
|
|
|
803
798
|
this.widthInputId = `k-${guid()}`;
|
|
804
799
|
this.heightInputId = `k-${guid()}`;
|
|
805
800
|
}
|
|
806
|
-
ngAfterViewInit() {
|
|
807
|
-
Promise.resolve(null).then(() => {
|
|
808
|
-
this.srcInput.focus();
|
|
809
|
-
});
|
|
810
|
-
}
|
|
811
801
|
onCancelAction() {
|
|
812
802
|
this.dialog.close();
|
|
813
803
|
}
|
|
@@ -994,11 +984,6 @@ class FileLinkDialogComponent extends DialogContentBase {
|
|
|
994
984
|
'title': new FormControl('')
|
|
995
985
|
});
|
|
996
986
|
}
|
|
997
|
-
ngAfterViewInit() {
|
|
998
|
-
Promise.resolve(null).then(() => {
|
|
999
|
-
this.hrefInput.focus();
|
|
1000
|
-
});
|
|
1001
|
-
}
|
|
1002
987
|
onCancelAction() {
|
|
1003
988
|
this.dialog.close();
|
|
1004
989
|
}
|
|
@@ -2485,11 +2470,6 @@ class FormatDialogComponent extends DialogContentBase {
|
|
|
2485
2470
|
this.localization = localization;
|
|
2486
2471
|
this.data = [];
|
|
2487
2472
|
}
|
|
2488
|
-
ngAfterViewInit() {
|
|
2489
|
-
Promise.resolve(null).then(() => {
|
|
2490
|
-
this.formatDropDownList.dropDownList.focus();
|
|
2491
|
-
});
|
|
2492
|
-
}
|
|
2493
2473
|
onCancelAction() {
|
|
2494
2474
|
this.dialog.close();
|
|
2495
2475
|
}
|
|
@@ -2669,7 +2649,8 @@ class EditorFormatComponent extends ToolBarToolComponent {
|
|
|
2669
2649
|
const dialogSettings = {
|
|
2670
2650
|
appendTo: this.editor.dialogContainer,
|
|
2671
2651
|
content: FormatDialogComponent,
|
|
2672
|
-
width: 400
|
|
2652
|
+
width: 400,
|
|
2653
|
+
autoFocusedElement: '.k-picker'
|
|
2673
2654
|
};
|
|
2674
2655
|
this.editor.toolbar.toggle(false);
|
|
2675
2656
|
const dialogContent = this.dialogService.open(dialogSettings).content.instance;
|
|
@@ -3263,7 +3244,7 @@ class EditorComponent {
|
|
|
3263
3244
|
// content: TableWizardDialogComponent
|
|
3264
3245
|
// }
|
|
3265
3246
|
};
|
|
3266
|
-
const dialog = Object.assign({ appendTo: this.dialogContainer }, editorDialogs[dialogName]);
|
|
3247
|
+
const dialog = Object.assign({ appendTo: this.dialogContainer, autoFocusedElement: '.k-input-inner' }, editorDialogs[dialogName]);
|
|
3267
3248
|
this.toolbar.toggle(false);
|
|
3268
3249
|
const dialogContent = this.dialogService.open(dialog).content.instance;
|
|
3269
3250
|
this.renderer.addClass(dialogContent.dialog.dialog.instance.wrapper.nativeElement.querySelector('.k-window'), 'k-editor-window');
|
|
@@ -4008,11 +3989,6 @@ class ColorPickerDialogComponent extends DialogContentBase {
|
|
|
4008
3989
|
this.dialog = dialog;
|
|
4009
3990
|
this.localization = localization;
|
|
4010
3991
|
}
|
|
4011
|
-
ngAfterViewInit() {
|
|
4012
|
-
Promise.resolve(null).then(() => {
|
|
4013
|
-
this.colorPicker.focus();
|
|
4014
|
-
});
|
|
4015
|
-
}
|
|
4016
3992
|
handleActiveColorClick(event) {
|
|
4017
3993
|
event.preventOpen();
|
|
4018
3994
|
this.value = event.color;
|
|
@@ -4219,11 +4195,6 @@ class FontFamilyDialogComponent extends DialogContentBase {
|
|
|
4219
4195
|
this.localization = localization;
|
|
4220
4196
|
this.data = [];
|
|
4221
4197
|
}
|
|
4222
|
-
ngAfterViewInit() {
|
|
4223
|
-
Promise.resolve(null).then(() => {
|
|
4224
|
-
this.fontFamilyDropDownList.dropDownList.focus();
|
|
4225
|
-
});
|
|
4226
|
-
}
|
|
4227
4198
|
onCancelAction() {
|
|
4228
4199
|
this.dialog.close();
|
|
4229
4200
|
}
|
|
@@ -4555,11 +4526,6 @@ class FontSizeDialogComponent extends DialogContentBase {
|
|
|
4555
4526
|
this.localization = localization;
|
|
4556
4527
|
this.data = [];
|
|
4557
4528
|
}
|
|
4558
|
-
ngAfterViewInit() {
|
|
4559
|
-
Promise.resolve(null).then(() => {
|
|
4560
|
-
this.fontSizeDropDownList.dropDownList.focus();
|
|
4561
|
-
});
|
|
4562
|
-
}
|
|
4563
4529
|
onCancelAction() {
|
|
4564
4530
|
this.dialog.close();
|
|
4565
4531
|
}
|
|
@@ -4749,7 +4715,8 @@ class EditorFontSizeComponent extends ToolBarToolComponent {
|
|
|
4749
4715
|
const dialogSettings = {
|
|
4750
4716
|
appendTo: this.editor.dialogContainer,
|
|
4751
4717
|
content: FontSizeDialogComponent,
|
|
4752
|
-
width: 400
|
|
4718
|
+
width: 400,
|
|
4719
|
+
autoFocusedElement: '.k-picker'
|
|
4753
4720
|
};
|
|
4754
4721
|
this.editor.toolbar.toggle(false);
|
|
4755
4722
|
const dialogContent = this.dialogService.open(dialogSettings).content.instance;
|
|
@@ -4977,7 +4944,8 @@ class EditorFontFamilyComponent extends ToolBarToolComponent {
|
|
|
4977
4944
|
const dialogSettings = {
|
|
4978
4945
|
appendTo: this.editor.dialogContainer,
|
|
4979
4946
|
content: FontFamilyDialogComponent,
|
|
4980
|
-
width: 400
|
|
4947
|
+
width: 400,
|
|
4948
|
+
autoFocusedElement: '.k-picker'
|
|
4981
4949
|
};
|
|
4982
4950
|
this.editor.toolbar.toggle(false);
|
|
4983
4951
|
const dialogContent = this.dialogService.open(dialogSettings).content.instance;
|
|
@@ -5227,7 +5195,8 @@ class EditorColorPickerComponent extends ToolBarToolComponent {
|
|
|
5227
5195
|
const dialogSettings = {
|
|
5228
5196
|
appendTo: this.editor.dialogContainer,
|
|
5229
5197
|
content: ColorPickerDialogComponent,
|
|
5230
|
-
width: 400
|
|
5198
|
+
width: 400,
|
|
5199
|
+
autoFocusedElement: '.k-picker'
|
|
5231
5200
|
};
|
|
5232
5201
|
this.editor.toolbar.toggle(false);
|
|
5233
5202
|
const dialogContent = this.dialogService.open(dialogSettings).content.instance;
|
|
@@ -41,8 +41,8 @@ const packageMetadata = {
|
|
|
41
41
|
name: '@progress/kendo-angular-editor',
|
|
42
42
|
productName: 'Kendo UI for Angular',
|
|
43
43
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
44
|
-
publishDate:
|
|
45
|
-
version: '16.1.
|
|
44
|
+
publishDate: 1716800330,
|
|
45
|
+
version: '16.1.1-develop.2',
|
|
46
46
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
47
47
|
};
|
|
48
48
|
|
|
@@ -686,11 +686,6 @@ class SourceDialogComponent extends DialogContentBase {
|
|
|
686
686
|
this.localization = localization;
|
|
687
687
|
this.data = '';
|
|
688
688
|
}
|
|
689
|
-
ngAfterViewInit() {
|
|
690
|
-
Promise.resolve(null).then(() => {
|
|
691
|
-
this.textarea.focus();
|
|
692
|
-
});
|
|
693
|
-
}
|
|
694
689
|
onCancelAction() {
|
|
695
690
|
this.dialog.close();
|
|
696
691
|
}
|
|
@@ -807,11 +802,6 @@ class ImageDialogComponent extends DialogContentBase {
|
|
|
807
802
|
this.widthInputId = `k-${guid()}`;
|
|
808
803
|
this.heightInputId = `k-${guid()}`;
|
|
809
804
|
}
|
|
810
|
-
ngAfterViewInit() {
|
|
811
|
-
Promise.resolve(null).then(() => {
|
|
812
|
-
this.srcInput.focus();
|
|
813
|
-
});
|
|
814
|
-
}
|
|
815
805
|
onCancelAction() {
|
|
816
806
|
this.dialog.close();
|
|
817
807
|
}
|
|
@@ -998,11 +988,6 @@ class FileLinkDialogComponent extends DialogContentBase {
|
|
|
998
988
|
'title': new FormControl('')
|
|
999
989
|
});
|
|
1000
990
|
}
|
|
1001
|
-
ngAfterViewInit() {
|
|
1002
|
-
Promise.resolve(null).then(() => {
|
|
1003
|
-
this.hrefInput.focus();
|
|
1004
|
-
});
|
|
1005
|
-
}
|
|
1006
991
|
onCancelAction() {
|
|
1007
992
|
this.dialog.close();
|
|
1008
993
|
}
|
|
@@ -2487,11 +2472,6 @@ class FormatDialogComponent extends DialogContentBase {
|
|
|
2487
2472
|
this.localization = localization;
|
|
2488
2473
|
this.data = [];
|
|
2489
2474
|
}
|
|
2490
|
-
ngAfterViewInit() {
|
|
2491
|
-
Promise.resolve(null).then(() => {
|
|
2492
|
-
this.formatDropDownList.dropDownList.focus();
|
|
2493
|
-
});
|
|
2494
|
-
}
|
|
2495
2475
|
onCancelAction() {
|
|
2496
2476
|
this.dialog.close();
|
|
2497
2477
|
}
|
|
@@ -2671,7 +2651,8 @@ class EditorFormatComponent extends ToolBarToolComponent {
|
|
|
2671
2651
|
const dialogSettings = {
|
|
2672
2652
|
appendTo: this.editor.dialogContainer,
|
|
2673
2653
|
content: FormatDialogComponent,
|
|
2674
|
-
width: 400
|
|
2654
|
+
width: 400,
|
|
2655
|
+
autoFocusedElement: '.k-picker'
|
|
2675
2656
|
};
|
|
2676
2657
|
this.editor.toolbar.toggle(false);
|
|
2677
2658
|
const dialogContent = this.dialogService.open(dialogSettings).content.instance;
|
|
@@ -3265,7 +3246,7 @@ class EditorComponent {
|
|
|
3265
3246
|
// content: TableWizardDialogComponent
|
|
3266
3247
|
// }
|
|
3267
3248
|
};
|
|
3268
|
-
const dialog = Object.assign({ appendTo: this.dialogContainer }, editorDialogs[dialogName]);
|
|
3249
|
+
const dialog = Object.assign({ appendTo: this.dialogContainer, autoFocusedElement: '.k-input-inner' }, editorDialogs[dialogName]);
|
|
3269
3250
|
this.toolbar.toggle(false);
|
|
3270
3251
|
const dialogContent = this.dialogService.open(dialog).content.instance;
|
|
3271
3252
|
this.renderer.addClass(dialogContent.dialog.dialog.instance.wrapper.nativeElement.querySelector('.k-window'), 'k-editor-window');
|
|
@@ -4010,11 +3991,6 @@ class ColorPickerDialogComponent extends DialogContentBase {
|
|
|
4010
3991
|
this.dialog = dialog;
|
|
4011
3992
|
this.localization = localization;
|
|
4012
3993
|
}
|
|
4013
|
-
ngAfterViewInit() {
|
|
4014
|
-
Promise.resolve(null).then(() => {
|
|
4015
|
-
this.colorPicker.focus();
|
|
4016
|
-
});
|
|
4017
|
-
}
|
|
4018
3994
|
handleActiveColorClick(event) {
|
|
4019
3995
|
event.preventOpen();
|
|
4020
3996
|
this.value = event.color;
|
|
@@ -4221,11 +4197,6 @@ class FontFamilyDialogComponent extends DialogContentBase {
|
|
|
4221
4197
|
this.localization = localization;
|
|
4222
4198
|
this.data = [];
|
|
4223
4199
|
}
|
|
4224
|
-
ngAfterViewInit() {
|
|
4225
|
-
Promise.resolve(null).then(() => {
|
|
4226
|
-
this.fontFamilyDropDownList.dropDownList.focus();
|
|
4227
|
-
});
|
|
4228
|
-
}
|
|
4229
4200
|
onCancelAction() {
|
|
4230
4201
|
this.dialog.close();
|
|
4231
4202
|
}
|
|
@@ -4557,11 +4528,6 @@ class FontSizeDialogComponent extends DialogContentBase {
|
|
|
4557
4528
|
this.localization = localization;
|
|
4558
4529
|
this.data = [];
|
|
4559
4530
|
}
|
|
4560
|
-
ngAfterViewInit() {
|
|
4561
|
-
Promise.resolve(null).then(() => {
|
|
4562
|
-
this.fontSizeDropDownList.dropDownList.focus();
|
|
4563
|
-
});
|
|
4564
|
-
}
|
|
4565
4531
|
onCancelAction() {
|
|
4566
4532
|
this.dialog.close();
|
|
4567
4533
|
}
|
|
@@ -4751,7 +4717,8 @@ class EditorFontSizeComponent extends ToolBarToolComponent {
|
|
|
4751
4717
|
const dialogSettings = {
|
|
4752
4718
|
appendTo: this.editor.dialogContainer,
|
|
4753
4719
|
content: FontSizeDialogComponent,
|
|
4754
|
-
width: 400
|
|
4720
|
+
width: 400,
|
|
4721
|
+
autoFocusedElement: '.k-picker'
|
|
4755
4722
|
};
|
|
4756
4723
|
this.editor.toolbar.toggle(false);
|
|
4757
4724
|
const dialogContent = this.dialogService.open(dialogSettings).content.instance;
|
|
@@ -4979,7 +4946,8 @@ class EditorFontFamilyComponent extends ToolBarToolComponent {
|
|
|
4979
4946
|
const dialogSettings = {
|
|
4980
4947
|
appendTo: this.editor.dialogContainer,
|
|
4981
4948
|
content: FontFamilyDialogComponent,
|
|
4982
|
-
width: 400
|
|
4949
|
+
width: 400,
|
|
4950
|
+
autoFocusedElement: '.k-picker'
|
|
4983
4951
|
};
|
|
4984
4952
|
this.editor.toolbar.toggle(false);
|
|
4985
4953
|
const dialogContent = this.dialogService.open(dialogSettings).content.instance;
|
|
@@ -5229,7 +5197,8 @@ class EditorColorPickerComponent extends ToolBarToolComponent {
|
|
|
5229
5197
|
const dialogSettings = {
|
|
5230
5198
|
appendTo: this.editor.dialogContainer,
|
|
5231
5199
|
content: ColorPickerDialogComponent,
|
|
5232
|
-
width: 400
|
|
5200
|
+
width: 400,
|
|
5201
|
+
autoFocusedElement: '.k-picker'
|
|
5233
5202
|
};
|
|
5234
5203
|
this.editor.toolbar.toggle(false);
|
|
5235
5204
|
const dialogContent = this.dialogService.open(dialogSettings).content.instance;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-editor",
|
|
3
|
-
"version": "16.1.
|
|
3
|
+
"version": "16.1.1-develop.2",
|
|
4
4
|
"description": "Kendo UI Editor for Angular",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -23,23 +23,23 @@
|
|
|
23
23
|
"@angular/platform-browser": "15 - 18",
|
|
24
24
|
"@progress/kendo-drawing": "^1.19.0",
|
|
25
25
|
"@progress/kendo-licensing": "^1.0.2",
|
|
26
|
-
"@progress/kendo-angular-buttons": "16.1.
|
|
27
|
-
"@progress/kendo-angular-common": "16.1.
|
|
28
|
-
"@progress/kendo-angular-dialog": "16.1.
|
|
29
|
-
"@progress/kendo-angular-dropdowns": "16.1.
|
|
30
|
-
"@progress/kendo-angular-inputs": "16.1.
|
|
31
|
-
"@progress/kendo-angular-intl": "16.1.
|
|
32
|
-
"@progress/kendo-angular-l10n": "16.1.
|
|
33
|
-
"@progress/kendo-angular-label": "16.1.
|
|
34
|
-
"@progress/kendo-angular-layout": "16.1.
|
|
35
|
-
"@progress/kendo-angular-icons": "16.1.
|
|
36
|
-
"@progress/kendo-angular-popup": "16.1.
|
|
37
|
-
"@progress/kendo-angular-toolbar": "16.1.
|
|
26
|
+
"@progress/kendo-angular-buttons": "16.1.1-develop.2",
|
|
27
|
+
"@progress/kendo-angular-common": "16.1.1-develop.2",
|
|
28
|
+
"@progress/kendo-angular-dialog": "16.1.1-develop.2",
|
|
29
|
+
"@progress/kendo-angular-dropdowns": "16.1.1-develop.2",
|
|
30
|
+
"@progress/kendo-angular-inputs": "16.1.1-develop.2",
|
|
31
|
+
"@progress/kendo-angular-intl": "16.1.1-develop.2",
|
|
32
|
+
"@progress/kendo-angular-l10n": "16.1.1-develop.2",
|
|
33
|
+
"@progress/kendo-angular-label": "16.1.1-develop.2",
|
|
34
|
+
"@progress/kendo-angular-layout": "16.1.1-develop.2",
|
|
35
|
+
"@progress/kendo-angular-icons": "16.1.1-develop.2",
|
|
36
|
+
"@progress/kendo-angular-popup": "16.1.1-develop.2",
|
|
37
|
+
"@progress/kendo-angular-toolbar": "16.1.1-develop.2",
|
|
38
38
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"tslib": "^2.3.1",
|
|
42
|
-
"@progress/kendo-angular-schematics": "16.1.
|
|
42
|
+
"@progress/kendo-angular-schematics": "16.1.1-develop.2",
|
|
43
43
|
"@progress/kendo-editor-common": "1.11.5"
|
|
44
44
|
},
|
|
45
45
|
"schematics": "./schematics/collection.json",
|
|
@@ -4,11 +4,11 @@ const schematics_1 = require("@angular-devkit/schematics");
|
|
|
4
4
|
function default_1(options) {
|
|
5
5
|
const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'EditorModule', package: 'editor', peerDependencies: {
|
|
6
6
|
// peer dependency of kendo-angular-dropdowns
|
|
7
|
-
'@progress/kendo-angular-treeview': '16.1.
|
|
7
|
+
'@progress/kendo-angular-treeview': '16.1.1-develop.2',
|
|
8
8
|
// peer dependency of kendo-angular-layout
|
|
9
|
-
'@progress/kendo-angular-progressbar': '16.1.
|
|
9
|
+
'@progress/kendo-angular-progressbar': '16.1.1-develop.2',
|
|
10
10
|
// peer dependency of kendo-angular-inputs
|
|
11
|
-
'@progress/kendo-angular-dialog': '16.1.
|
|
11
|
+
'@progress/kendo-angular-dialog': '16.1.1-develop.2',
|
|
12
12
|
// Peer dependency of icons
|
|
13
13
|
'@progress/kendo-svg-icons': '^3.0.0'
|
|
14
14
|
} });
|