@progress/kendo-angular-editor 25.3.1-develop.2 → 25.4.0-develop.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.
@@ -3,7 +3,7 @@
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 { Inject, Optional, Injectable, ViewChild, Input, Component, InjectionToken, Directive, EventEmitter, Output, ElementRef, forwardRef, isDevMode, ViewContainerRef, ContentChild, HostBinding, NgModule } from '@angular/core';
6
+ import { Inject, Optional, Injectable, ViewChild, Input, Component, InjectionToken, Directive, afterNextRender, EventEmitter, Output, signal, ElementRef, forwardRef, isDevMode, ViewContainerRef, ContentChild, HostBinding, NgModule } from '@angular/core';
7
7
  import * as i3 from '@angular/forms';
8
8
  import { FormControl, Validators, FormGroup, ReactiveFormsModule, NG_VALUE_ACCESSOR } from '@angular/forms';
9
9
  import { Subject, BehaviorSubject, zip, fromEvent, interval } from 'rxjs';
@@ -36,8 +36,8 @@ const packageMetadata = {
36
36
  productName: 'Kendo UI for Angular',
37
37
  productCode: 'KENDOUIANGULAR',
38
38
  productCodes: ['KENDOUIANGULAR'],
39
- publishDate: 1791537027,
40
- version: '25.3.1-develop.2',
39
+ publishDate: 1791873222,
40
+ version: '25.4.0-develop.1',
41
41
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
42
42
  };
43
43
 
@@ -822,11 +822,13 @@ class SourceDialogComponent extends DialogContentBase {
822
822
  <kendo-dialog-actions layout="start">
823
823
  <button
824
824
  kendoButton
825
+ type="button"
825
826
  themeColor="primary"
826
827
  (click)="onConfirmAction()"
827
828
  >{{ textFor('dialogUpdate') }}</button>
828
829
  <button
829
830
  kendoButton
831
+ type="button"
830
832
  (click)="onCancelAction()"
831
833
  >{{ textFor('dialogCancel') }}</button>
832
834
  </kendo-dialog-actions>
@@ -850,11 +852,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
850
852
  <kendo-dialog-actions layout="start">
851
853
  <button
852
854
  kendoButton
855
+ type="button"
853
856
  themeColor="primary"
854
857
  (click)="onConfirmAction()"
855
858
  >{{ textFor('dialogUpdate') }}</button>
856
859
  <button
857
860
  kendoButton
861
+ type="button"
858
862
  (click)="onCancelAction()"
859
863
  >{{ textFor('dialogCancel') }}</button>
860
864
  </kendo-dialog-actions>
@@ -996,12 +1000,14 @@ class ImageDialogComponent extends DialogContentBase {
996
1000
  <kendo-dialog-actions layout="start">
997
1001
  <button
998
1002
  kendoButton
1003
+ type="button"
999
1004
  [disabled]="imageData.invalid"
1000
1005
  themeColor="primary"
1001
1006
  (click)="onConfirmAction()"
1002
1007
  >{{ textFor('dialogInsert') }}</button>
1003
1008
  <button
1004
1009
  kendoButton
1010
+ type="button"
1005
1011
  (click)="onCancelAction()"
1006
1012
  >{{ textFor('dialogCancel') }}</button>
1007
1013
  </kendo-dialog-actions>
@@ -1063,12 +1069,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
1063
1069
  <kendo-dialog-actions layout="start">
1064
1070
  <button
1065
1071
  kendoButton
1072
+ type="button"
1066
1073
  [disabled]="imageData.invalid"
1067
1074
  themeColor="primary"
1068
1075
  (click)="onConfirmAction()"
1069
1076
  >{{ textFor('dialogInsert') }}</button>
1070
1077
  <button
1071
1078
  kendoButton
1079
+ type="button"
1072
1080
  (click)="onCancelAction()"
1073
1081
  >{{ textFor('dialogCancel') }}</button>
1074
1082
  </kendo-dialog-actions>
@@ -1227,12 +1235,14 @@ class FileLinkDialogComponent extends DialogContentBase {
1227
1235
  <kendo-dialog-actions layout="start">
1228
1236
  <button
1229
1237
  kendoButton
1238
+ type="button"
1230
1239
  [disabled]="linkForm.invalid"
1231
1240
  themeColor="primary"
1232
1241
  (click)="onConfirmAction()"
1233
1242
  >{{ textFor('dialogInsert') }}</button>
1234
1243
  <button
1235
1244
  kendoButton
1245
+ type="button"
1236
1246
  (click)="onCancelAction()"
1237
1247
  >{{ textFor('dialogCancel') }}</button>
1238
1248
  </kendo-dialog-actions>
@@ -1298,12 +1308,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
1298
1308
  <kendo-dialog-actions layout="start">
1299
1309
  <button
1300
1310
  kendoButton
1311
+ type="button"
1301
1312
  [disabled]="linkForm.invalid"
1302
1313
  themeColor="primary"
1303
1314
  (click)="onConfirmAction()"
1304
1315
  >{{ textFor('dialogInsert') }}</button>
1305
1316
  <button
1306
1317
  kendoButton
1318
+ type="button"
1307
1319
  (click)="onCancelAction()"
1308
1320
  >{{ textFor('dialogCancel') }}</button>
1309
1321
  </kendo-dialog-actions>
@@ -1938,13 +1950,15 @@ class EditorCommandButton extends EditorCommandBaseDirective {
1938
1950
  localization;
1939
1951
  providerService;
1940
1952
  toolsService;
1941
- constructor(command, button, localization, providerService, toolsService) {
1953
+ injector;
1954
+ constructor(command, button, localization, providerService, toolsService, injector) {
1942
1955
  super(command, button, localization, providerService, toolsService);
1943
1956
  this.command = command;
1944
1957
  this.button = button;
1945
1958
  this.localization = localization;
1946
1959
  this.providerService = providerService;
1947
1960
  this.toolsService = toolsService;
1961
+ this.injector = injector;
1948
1962
  }
1949
1963
  clickHandler() {
1950
1964
  this.editor.exec(this.command, this.editor.applyToWord);
@@ -1954,10 +1968,10 @@ class EditorCommandButton extends EditorCommandBaseDirective {
1954
1968
  e.preventDefault();
1955
1969
  }
1956
1970
  onStateChange(toolBarState) {
1957
- this.providerService.editor.ngZone.onStable.pipe(take(1)).subscribe(() => {
1971
+ afterNextRender(() => {
1958
1972
  this.button.selected = toolBarState[this.command].selected;
1959
1973
  this.button.disabled = toolBarState[this.command].disabled;
1960
- });
1974
+ }, { injector: this.injector });
1961
1975
  }
1962
1976
  }
1963
1977
 
@@ -1974,10 +1988,10 @@ class EditorCommandButton extends EditorCommandBaseDirective {
1974
1988
  * Applied to: {@link ToolBarButtonComponent}
1975
1989
  */
1976
1990
  class EditorUnlinkButtonDirective extends EditorCommandButton {
1977
- constructor(button, localization, providerService, toolsService) {
1978
- super('unlink', button, localization, providerService, toolsService);
1991
+ constructor(button, localization, providerService, toolsService, injector) {
1992
+ super('unlink', button, localization, providerService, toolsService, injector);
1979
1993
  }
1980
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorUnlinkButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
1994
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorUnlinkButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Directive });
1981
1995
  static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.23", type: EditorUnlinkButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorUnlinkButton]", usesInheritance: true, ngImport: i0 });
1982
1996
  }
1983
1997
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorUnlinkButtonDirective, decorators: [{
@@ -1986,7 +2000,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
1986
2000
  selector: 'kendo-toolbar-button[kendoEditorUnlinkButton]',
1987
2001
  standalone: true
1988
2002
  }]
1989
- }], ctorParameters: () => [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }] });
2003
+ }], ctorParameters: () => [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }, { type: i0.Injector }] });
1990
2004
 
1991
2005
  /**
1992
2006
  * Configures a ToolBarButtonComponent as an Editor **CreateLink** tool ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#built-in-tools)).
@@ -2028,10 +2042,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
2028
2042
  * Applied to: {@link ToolBarButtonComponent}
2029
2043
  */
2030
2044
  class EditorOutdentButtonDirective extends EditorCommandButton {
2031
- constructor(button, localization, providerService, toolsService) {
2032
- super('outdent', button, localization, providerService, toolsService);
2045
+ constructor(button, localization, providerService, toolsService, injector) {
2046
+ super('outdent', button, localization, providerService, toolsService, injector);
2033
2047
  }
2034
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorOutdentButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
2048
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorOutdentButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Directive });
2035
2049
  static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.23", type: EditorOutdentButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorOutdentButton]", usesInheritance: true, ngImport: i0 });
2036
2050
  }
2037
2051
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorOutdentButtonDirective, decorators: [{
@@ -2040,7 +2054,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
2040
2054
  selector: 'kendo-toolbar-button[kendoEditorOutdentButton]',
2041
2055
  standalone: true
2042
2056
  }]
2043
- }], ctorParameters: () => [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }] });
2057
+ }], ctorParameters: () => [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }, { type: i0.Injector }] });
2044
2058
 
2045
2059
  /**
2046
2060
  * Configures a ToolBarButtonComponent as an Editor **Indent** tool ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#built-in-tools)).
@@ -2055,10 +2069,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
2055
2069
  * Applied to: {@link ToolBarButtonComponent}
2056
2070
  */
2057
2071
  class EditorIndentButtonDirective extends EditorCommandButton {
2058
- constructor(button, localization, providerService, toolsService) {
2059
- super('indent', button, localization, providerService, toolsService);
2072
+ constructor(button, localization, providerService, toolsService, injector) {
2073
+ super('indent', button, localization, providerService, toolsService, injector);
2060
2074
  }
2061
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorIndentButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
2075
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorIndentButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Directive });
2062
2076
  static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.23", type: EditorIndentButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorIndentButton]", usesInheritance: true, ngImport: i0 });
2063
2077
  }
2064
2078
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorIndentButtonDirective, decorators: [{
@@ -2067,7 +2081,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
2067
2081
  selector: 'kendo-toolbar-button[kendoEditorIndentButton]',
2068
2082
  standalone: true
2069
2083
  }]
2070
- }], ctorParameters: () => [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }] });
2084
+ }], ctorParameters: () => [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }, { type: i0.Injector }] });
2071
2085
 
2072
2086
  /**
2073
2087
  * Configures a ToolBarButtonComponent as an Editor **InsertOrderedList** tool ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#built-in-tools)).
@@ -2082,10 +2096,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
2082
2096
  * Applied to: {@link ToolBarButtonComponent}
2083
2097
  */
2084
2098
  class EditorInsertOrderedListButtonDirective extends EditorCommandButton {
2085
- constructor(button, localization, providerService, toolsService) {
2086
- super('insertOrderedList', button, localization, providerService, toolsService);
2099
+ constructor(button, localization, providerService, toolsService, injector) {
2100
+ super('insertOrderedList', button, localization, providerService, toolsService, injector);
2087
2101
  }
2088
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorInsertOrderedListButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
2102
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorInsertOrderedListButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Directive });
2089
2103
  static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.23", type: EditorInsertOrderedListButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorInsertOrderedListButton]", usesInheritance: true, ngImport: i0 });
2090
2104
  }
2091
2105
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorInsertOrderedListButtonDirective, decorators: [{
@@ -2094,7 +2108,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
2094
2108
  selector: 'kendo-toolbar-button[kendoEditorInsertOrderedListButton]',
2095
2109
  standalone: true
2096
2110
  }]
2097
- }], ctorParameters: () => [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }] });
2111
+ }], ctorParameters: () => [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }, { type: i0.Injector }] });
2098
2112
 
2099
2113
  /**
2100
2114
  * Configures a ToolBarButtonComponent as an Editor **InsertUnorderedList** tool
@@ -2110,10 +2124,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
2110
2124
  * Applied to: {@link ToolBarButtonComponent}
2111
2125
  */
2112
2126
  class EditorInsertUnorderedListButtonDirective extends EditorCommandButton {
2113
- constructor(button, localization, providerService, toolsService) {
2114
- super('insertUnorderedList', button, localization, providerService, toolsService);
2127
+ constructor(button, localization, providerService, toolsService, injector) {
2128
+ super('insertUnorderedList', button, localization, providerService, toolsService, injector);
2115
2129
  }
2116
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorInsertUnorderedListButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
2130
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorInsertUnorderedListButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Directive });
2117
2131
  static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.23", type: EditorInsertUnorderedListButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorInsertUnorderedListButton]", usesInheritance: true, ngImport: i0 });
2118
2132
  }
2119
2133
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorInsertUnorderedListButtonDirective, decorators: [{
@@ -2122,7 +2136,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
2122
2136
  selector: 'kendo-toolbar-button[kendoEditorInsertUnorderedListButton]',
2123
2137
  standalone: true
2124
2138
  }]
2125
- }], ctorParameters: () => [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }] });
2139
+ }], ctorParameters: () => [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }, { type: i0.Injector }] });
2126
2140
 
2127
2141
  /**
2128
2142
  * Use this directive to turn a ToolBarButtonComponent into an Editor **AlignJustify** tool
@@ -2138,10 +2152,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
2138
2152
  * Applied to: {@link ToolBarButtonComponent}
2139
2153
  */
2140
2154
  class EditorAlignJustifyButtonDirective extends EditorCommandButton {
2141
- constructor(button, localization, providerService, toolsService) {
2142
- super('alignJustify', button, localization, providerService, toolsService);
2155
+ constructor(button, localization, providerService, toolsService, injector) {
2156
+ super('alignJustify', button, localization, providerService, toolsService, injector);
2143
2157
  }
2144
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorAlignJustifyButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
2158
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorAlignJustifyButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Directive });
2145
2159
  static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.23", type: EditorAlignJustifyButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorAlignJustifyButton]", usesInheritance: true, ngImport: i0 });
2146
2160
  }
2147
2161
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorAlignJustifyButtonDirective, decorators: [{
@@ -2150,7 +2164,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
2150
2164
  selector: 'kendo-toolbar-button[kendoEditorAlignJustifyButton]',
2151
2165
  standalone: true
2152
2166
  }]
2153
- }], ctorParameters: () => [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }] });
2167
+ }], ctorParameters: () => [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }, { type: i0.Injector }] });
2154
2168
 
2155
2169
  /**
2156
2170
  * Use this directive to turn a ToolBarButtonComponent into an Editor **AlignRight** tool
@@ -2166,10 +2180,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
2166
2180
  * Applied to: {@link ToolBarButtonComponent}
2167
2181
  */
2168
2182
  class EditorAlignRightButtonDirective extends EditorCommandButton {
2169
- constructor(button, localization, providerService, toolsService) {
2170
- super('alignRight', button, localization, providerService, toolsService);
2183
+ constructor(button, localization, providerService, toolsService, injector) {
2184
+ super('alignRight', button, localization, providerService, toolsService, injector);
2171
2185
  }
2172
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorAlignRightButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
2186
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorAlignRightButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Directive });
2173
2187
  static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.23", type: EditorAlignRightButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorAlignRightButton]", usesInheritance: true, ngImport: i0 });
2174
2188
  }
2175
2189
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorAlignRightButtonDirective, decorators: [{
@@ -2178,7 +2192,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
2178
2192
  selector: 'kendo-toolbar-button[kendoEditorAlignRightButton]',
2179
2193
  standalone: true
2180
2194
  }]
2181
- }], ctorParameters: () => [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }] });
2195
+ }], ctorParameters: () => [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }, { type: i0.Injector }] });
2182
2196
 
2183
2197
  /**
2184
2198
  * Use this directive to turn a ToolBarButtonComponent into an Editor **AlignCenter** tool
@@ -2194,10 +2208,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
2194
2208
  * Applied to: {@link ToolBarButtonComponent}
2195
2209
  */
2196
2210
  class EditorAlignCenterButtonDirective extends EditorCommandButton {
2197
- constructor(button, localization, providerService, toolsService) {
2198
- super('alignCenter', button, localization, providerService, toolsService);
2211
+ constructor(button, localization, providerService, toolsService, injector) {
2212
+ super('alignCenter', button, localization, providerService, toolsService, injector);
2199
2213
  }
2200
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorAlignCenterButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
2214
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorAlignCenterButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Directive });
2201
2215
  static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.23", type: EditorAlignCenterButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorAlignCenterButton]", usesInheritance: true, ngImport: i0 });
2202
2216
  }
2203
2217
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorAlignCenterButtonDirective, decorators: [{
@@ -2206,7 +2220,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
2206
2220
  selector: 'kendo-toolbar-button[kendoEditorAlignCenterButton]',
2207
2221
  standalone: true
2208
2222
  }]
2209
- }], ctorParameters: () => [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }] });
2223
+ }], ctorParameters: () => [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }, { type: i0.Injector }] });
2210
2224
 
2211
2225
  /**
2212
2226
  * Use this directive to turn a ToolBarButtonComponent into an Editor **AlignLeft** tool
@@ -2222,10 +2236,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
2222
2236
  * Applied to: {@link ToolBarButtonComponent}
2223
2237
  */
2224
2238
  class EditorAlignLeftButtonDirective extends EditorCommandButton {
2225
- constructor(button, localization, providerService, toolsService) {
2226
- super('alignLeft', button, localization, providerService, toolsService);
2239
+ constructor(button, localization, providerService, toolsService, injector) {
2240
+ super('alignLeft', button, localization, providerService, toolsService, injector);
2227
2241
  }
2228
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorAlignLeftButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
2242
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorAlignLeftButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Directive });
2229
2243
  static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.23", type: EditorAlignLeftButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorAlignLeftButton]", usesInheritance: true, ngImport: i0 });
2230
2244
  }
2231
2245
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorAlignLeftButtonDirective, decorators: [{
@@ -2234,7 +2248,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
2234
2248
  selector: 'kendo-toolbar-button[kendoEditorAlignLeftButton]',
2235
2249
  standalone: true
2236
2250
  }]
2237
- }], ctorParameters: () => [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }] });
2251
+ }], ctorParameters: () => [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }, { type: i0.Injector }] });
2238
2252
 
2239
2253
  /**
2240
2254
  * @hidden
@@ -2500,11 +2514,13 @@ class FormatDialogComponent extends DialogContentBase {
2500
2514
  <kendo-dialog-actions layout="start">
2501
2515
  <button
2502
2516
  kendoButton
2517
+ type="button"
2503
2518
  themeColor="primary"
2504
2519
  (click)="onConfirmAction()"
2505
2520
  >{{ textFor('dialogApply') }}</button>
2506
2521
  <button
2507
2522
  kendoButton
2523
+ type="button"
2508
2524
  (click)="onCancelAction()"
2509
2525
  >{{ textFor('dialogCancel') }}</button>
2510
2526
  </kendo-dialog-actions>
@@ -2530,11 +2546,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
2530
2546
  <kendo-dialog-actions layout="start">
2531
2547
  <button
2532
2548
  kendoButton
2549
+ type="button"
2533
2550
  themeColor="primary"
2534
2551
  (click)="onConfirmAction()"
2535
2552
  >{{ textFor('dialogApply') }}</button>
2536
2553
  <button
2537
2554
  kendoButton
2555
+ type="button"
2538
2556
  (click)="onCancelAction()"
2539
2557
  >{{ textFor('dialogCancel') }}</button>
2540
2558
  </kendo-dialog-actions>
@@ -2573,7 +2591,12 @@ class EditorFormatComponent extends ToolBarToolComponent {
2573
2591
  defaultItem;
2574
2592
  itemDisabled;
2575
2593
  disabled = false;
2576
- tabindex = -1;
2594
+ set tabindex(value) {
2595
+ this._tabindex.set(value);
2596
+ }
2597
+ get tabindex() {
2598
+ return this._tabindex();
2599
+ }
2577
2600
  /**
2578
2601
  * Sets the format items list. Use this property to override the default list.
2579
2602
  */
@@ -2699,6 +2722,7 @@ class EditorFormatComponent extends ToolBarToolComponent {
2699
2722
  this.tabindex = -1;
2700
2723
  return false;
2701
2724
  }
2725
+ _tabindex = signal(-1, ...(ngDevMode ? [{ debugName: "_tabindex" }] : /* istanbul ignore next */ []));
2702
2726
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorFormatComponent, deps: [{ token: i1$1.DialogService }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
2703
2727
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.23", type: EditorFormatComponent, isStandalone: true, selector: "kendo-toolbar-dropdownlist[kendoEditorFormat]", inputs: { data: "data" }, outputs: { valueChange: "valueChange" }, providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => EditorFormatComponent) }], viewQueries: [{ propertyName: "formatDropDownList", first: true, predicate: ["formatDropDownList"], descendants: true }, { propertyName: "formatButton", first: true, predicate: ["formatButton"], descendants: true, read: ElementRef }], usesInheritance: true, ngImport: i0, template: `
2704
2728
  <ng-template #toolbarTemplate>
@@ -2827,10 +2851,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
2827
2851
  * Applied to: {@link ToolBarButtonComponent}
2828
2852
  */
2829
2853
  class EditorUnderlineButtonDirective extends EditorCommandButton {
2830
- constructor(button, localization, providerService, toolsService) {
2831
- super('underline', button, localization, providerService, toolsService);
2854
+ constructor(button, localization, providerService, toolsService, injector) {
2855
+ super('underline', button, localization, providerService, toolsService, injector);
2832
2856
  }
2833
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorUnderlineButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
2857
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorUnderlineButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Directive });
2834
2858
  static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.23", type: EditorUnderlineButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorUnderlineButton]", usesInheritance: true, ngImport: i0 });
2835
2859
  }
2836
2860
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorUnderlineButtonDirective, decorators: [{
@@ -2839,7 +2863,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
2839
2863
  selector: 'kendo-toolbar-button[kendoEditorUnderlineButton]',
2840
2864
  standalone: true
2841
2865
  }]
2842
- }], ctorParameters: () => [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }] });
2866
+ }], ctorParameters: () => [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }, { type: i0.Injector }] });
2843
2867
 
2844
2868
  /**
2845
2869
  * Configures a ToolBarButtonComponent as an Editor **Italic** tool
@@ -2855,10 +2879,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
2855
2879
  * Applied to: {@link ToolBarButtonComponent}
2856
2880
  */
2857
2881
  class EditorItalicButtonDirective extends EditorCommandButton {
2858
- constructor(button, localization, providerService, toolsService) {
2859
- super('italic', button, localization, providerService, toolsService);
2882
+ constructor(button, localization, providerService, toolsService, injector) {
2883
+ super('italic', button, localization, providerService, toolsService, injector);
2860
2884
  }
2861
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorItalicButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
2885
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorItalicButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Directive });
2862
2886
  static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.23", type: EditorItalicButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorItalicButton]", usesInheritance: true, ngImport: i0 });
2863
2887
  }
2864
2888
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorItalicButtonDirective, decorators: [{
@@ -2867,7 +2891,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
2867
2891
  selector: 'kendo-toolbar-button[kendoEditorItalicButton]',
2868
2892
  standalone: true
2869
2893
  }]
2870
- }], ctorParameters: () => [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }] });
2894
+ }], ctorParameters: () => [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }, { type: i0.Injector }] });
2871
2895
 
2872
2896
  /**
2873
2897
  * Configures a ToolBarButtonComponent as an Editor **Bold** tool
@@ -2883,10 +2907,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
2883
2907
  * Applied to: {@link ToolBarButtonComponent}
2884
2908
  */
2885
2909
  class EditorBoldButtonDirective extends EditorCommandButton {
2886
- constructor(button, localization, providerService, toolsService) {
2887
- super('bold', button, localization, providerService, toolsService);
2910
+ constructor(button, localization, providerService, toolsService, injector) {
2911
+ super('bold', button, localization, providerService, toolsService, injector);
2888
2912
  }
2889
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorBoldButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
2913
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorBoldButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Directive });
2890
2914
  static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.23", type: EditorBoldButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorBoldButton]", usesInheritance: true, ngImport: i0 });
2891
2915
  }
2892
2916
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorBoldButtonDirective, decorators: [{
@@ -2895,7 +2919,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
2895
2919
  selector: 'kendo-toolbar-button[kendoEditorBoldButton]',
2896
2920
  standalone: true
2897
2921
  }]
2898
- }], ctorParameters: () => [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }] });
2922
+ }], ctorParameters: () => [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }, { type: i0.Injector }] });
2899
2923
 
2900
2924
  /**
2901
2925
  * @hidden
@@ -3348,6 +3372,7 @@ class EditorComponent {
3348
3372
  providerService;
3349
3373
  toolsService;
3350
3374
  renderer;
3375
+ injector;
3351
3376
  /**
3352
3377
  * Sets the value of the Editor ([see example](https://www.telerik.com/kendo-angular-ui/components/editor)).
3353
3378
  * Use this property to update the Editor content programmatically.
@@ -3646,7 +3671,7 @@ class EditorComponent {
3646
3671
  _iframeCss = { keepBuiltInCss: true };
3647
3672
  afterViewInit = new Subject();
3648
3673
  contentAreaLoaded = new Subject();
3649
- constructor(dialogService, localization, cdr, ngZone, element, providerService, toolsService, renderer) {
3674
+ constructor(dialogService, localization, cdr, ngZone, element, providerService, toolsService, renderer, injector) {
3650
3675
  this.dialogService = dialogService;
3651
3676
  this.localization = localization;
3652
3677
  this.cdr = cdr;
@@ -3655,6 +3680,7 @@ class EditorComponent {
3655
3680
  this.providerService = providerService;
3656
3681
  this.toolsService = toolsService;
3657
3682
  this.renderer = renderer;
3683
+ this.injector = injector;
3658
3684
  const isValid = validatePackage(packageMetadata);
3659
3685
  this.licenseMessage = getLicenseMessage(packageMetadata);
3660
3686
  this.showLicenseWatermark = shouldShowValidationUI(isValid);
@@ -3692,7 +3718,7 @@ class EditorComponent {
3692
3718
  this.changeValue(changes['value'].currentValue);
3693
3719
  }
3694
3720
  if (changes['iframe'] && !changes['iframe'].isFirstChange()) {
3695
- this.ngZone.onStable.pipe(take(1)).subscribe(() => this.initialize());
3721
+ afterNextRender(() => this.initialize(), { injector: this.injector });
3696
3722
  }
3697
3723
  if (changes['resizable'] && !changes['resizable'].isFirstChange()) {
3698
3724
  this.normalizeSize();
@@ -3996,14 +4022,10 @@ class EditorComponent {
3996
4022
  }));
3997
4023
  }
3998
4024
  this.subs.add(this.stateChange.subscribe(() => {
3999
- this.ngZone.onStable.pipe(take(1)).subscribe(() => {
4000
- if (this.userToolBarComponent) {
4001
- this.userToolBarComponent.cdr.detectChanges();
4002
- }
4003
- else {
4004
- this.cdr.detectChanges();
4005
- }
4006
- });
4025
+ if (this.userToolBarComponent) {
4026
+ this.userToolBarComponent.cdr.markForCheck();
4027
+ }
4028
+ this.cdr.markForCheck();
4007
4029
  }));
4008
4030
  this.subs.add(this.valueModified.subscribe((value) => {
4009
4031
  this.onChangeCallback(value);
@@ -4141,7 +4163,7 @@ class EditorComponent {
4141
4163
  }
4142
4164
  return cleanContent;
4143
4165
  }
4144
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", 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 });
4166
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", 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 }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
4145
4167
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.23", type: EditorComponent, isStandalone: true, selector: "kendo-editor", inputs: { value: "value", disabled: "disabled", readonly: "readonly", iframe: "iframe", iframeCss: "iframeCss", applyToWord: "applyToWord", schema: "schema", plugins: "plugins", placeholder: "placeholder", preserveWhitespace: "preserveWhitespace", pasteCleanupSettings: "pasteCleanupSettings", resizable: "resizable" }, outputs: { valueChange: "valueChange", onFocus: "focus", paste: "paste", onBlur: "blur" }, host: { properties: { "class.k-editor": "this.hostClass", "class.k-editor-resizable": "this.resizableClass", "class.k-disabled": "this.isDisabled", "class.k-readonly": "this.isReadonly", "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: [
4146
4168
  EditorLocalizationService,
4147
4169
  ProviderService,
@@ -4541,7 +4563,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
4541
4563
  standalone: true,
4542
4564
  imports: [LocalizedMessagesDirective, ToolBarComponent, ToolBarButtonGroupComponent, ToolBarButtonComponent, EditorBoldButtonDirective, EditorItalicButtonDirective, EditorUnderlineButtonDirective, EditorFormatComponent, EditorAlignLeftButtonDirective, EditorAlignCenterButtonDirective, EditorAlignRightButtonDirective, EditorAlignJustifyButtonDirective, EditorInsertUnorderedListButtonDirective, EditorInsertOrderedListButtonDirective, EditorIndentButtonDirective, EditorOutdentButtonDirective, EditorCreateLinkButtonDirective, EditorUnlinkButtonDirective, EditorInsertImageButtonDirective, WatermarkOverlayComponent]
4543
4565
  }]
4544
- }], ctorParameters: () => [{ 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: [{
4566
+ }], ctorParameters: () => [{ type: i1$1.DialogService }, { type: i1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i0.ElementRef }, { type: ProviderService }, { type: EditorToolsService }, { type: i0.Renderer2 }, { type: i0.Injector }], propDecorators: { value: [{
4545
4567
  type: Input
4546
4568
  }], disabled: [{
4547
4569
  type: Input
@@ -4635,7 +4657,12 @@ class FontSizeDropDownListComponent {
4635
4657
  itemDisabled;
4636
4658
  title;
4637
4659
  disabled;
4638
- tabindex;
4660
+ set tabindex(value) {
4661
+ this._tabindex.set(value);
4662
+ }
4663
+ get tabindex() {
4664
+ return this._tabindex();
4665
+ }
4639
4666
  valueChange = new EventEmitter();
4640
4667
  element;
4641
4668
  dropDownList;
@@ -4645,6 +4672,7 @@ class FontSizeDropDownListComponent {
4645
4672
  focus() {
4646
4673
  this.dropDownList.focus();
4647
4674
  }
4675
+ _tabindex = signal(null, ...(ngDevMode ? [{ debugName: "_tabindex" }] : /* istanbul ignore next */ []));
4648
4676
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: FontSizeDropDownListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
4649
4677
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.23", type: FontSizeDropDownListComponent, isStandalone: true, selector: "kendo-editor-fontsize-dropdownlist", inputs: { data: "data", value: "value", defaultItem: "defaultItem", itemDisabled: "itemDisabled", title: "title", disabled: "disabled", tabindex: "tabindex" }, outputs: { valueChange: "valueChange" }, viewQueries: [{ propertyName: "element", first: true, predicate: ["element"], descendants: true, static: true }, { propertyName: "dropDownList", first: true, predicate: ["element"], descendants: true, read: DropDownListComponent, static: true }], ngImport: i0, template: `
4650
4678
  <kendo-dropdownlist
@@ -4770,11 +4798,13 @@ class FontSizeDialogComponent extends DialogContentBase {
4770
4798
  <kendo-dialog-actions layout="start">
4771
4799
  <button
4772
4800
  kendoButton
4801
+ type="button"
4773
4802
  themeColor="primary"
4774
4803
  (click)="onConfirmAction()"
4775
4804
  >{{ textFor('dialogApply') }}</button>
4776
4805
  <button
4777
4806
  kendoButton
4807
+ type="button"
4778
4808
  (click)="onCancelAction()"
4779
4809
  >{{ textFor('dialogCancel') }}</button>
4780
4810
  </kendo-dialog-actions>
@@ -4800,11 +4830,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
4800
4830
  <kendo-dialog-actions layout="start">
4801
4831
  <button
4802
4832
  kendoButton
4833
+ type="button"
4803
4834
  themeColor="primary"
4804
4835
  (click)="onConfirmAction()"
4805
4836
  >{{ textFor('dialogApply') }}</button>
4806
4837
  <button
4807
4838
  kendoButton
4839
+ type="button"
4808
4840
  (click)="onCancelAction()"
4809
4841
  >{{ textFor('dialogCancel') }}</button>
4810
4842
  </kendo-dialog-actions>
@@ -4841,7 +4873,12 @@ class EditorFontSizeComponent extends ToolBarToolComponent {
4841
4873
  renderer;
4842
4874
  value;
4843
4875
  disabled = false;
4844
- tabindex = -1;
4876
+ set tabindex(value) {
4877
+ this._tabindex.set(value);
4878
+ }
4879
+ get tabindex() {
4880
+ return this._tabindex();
4881
+ }
4845
4882
  /**
4846
4883
  * Overrides the default font size list.
4847
4884
  * Treat numeric values as pixels.
@@ -4888,6 +4925,7 @@ class EditorFontSizeComponent extends ToolBarToolComponent {
4888
4925
  { text: '24px', size: '24px' },
4889
4926
  { text: '36px', size: '36px' }
4890
4927
  ];
4928
+ _tabindex = signal(-1, ...(ngDevMode ? [{ debugName: "_tabindex" }] : /* istanbul ignore next */ []));
4891
4929
  constructor(dialogService, localization, providerService, toolsService, renderer) {
4892
4930
  super();
4893
4931
  this.dialogService = dialogService;
@@ -5115,10 +5153,16 @@ class FontFamilyDropDownListComponent {
5115
5153
  itemDisabled;
5116
5154
  title;
5117
5155
  disabled;
5118
- tabindex;
5156
+ set tabindex(value) {
5157
+ this._tabindex.set(value);
5158
+ }
5159
+ get tabindex() {
5160
+ return this._tabindex();
5161
+ }
5119
5162
  valueChange = new EventEmitter();
5120
5163
  element;
5121
5164
  dropDownList;
5165
+ _tabindex = signal(null, ...(ngDevMode ? [{ debugName: "_tabindex" }] : /* istanbul ignore next */ []));
5122
5166
  onValueChange(tag) {
5123
5167
  this.valueChange.emit(tag);
5124
5168
  }
@@ -5260,11 +5304,13 @@ class FontFamilyDialogComponent extends DialogContentBase {
5260
5304
  <kendo-dialog-actions layout="start">
5261
5305
  <button
5262
5306
  kendoButton
5307
+ type="button"
5263
5308
  themeColor="primary"
5264
5309
  (click)="onConfirmAction()"
5265
5310
  >{{ textFor('dialogApply') }}</button>
5266
5311
  <button
5267
5312
  kendoButton
5313
+ type="button"
5268
5314
  (click)="onCancelAction()"
5269
5315
  >{{ textFor('dialogCancel') }}</button>
5270
5316
  </kendo-dialog-actions>
@@ -5290,11 +5336,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
5290
5336
  <kendo-dialog-actions layout="start">
5291
5337
  <button
5292
5338
  kendoButton
5339
+ type="button"
5293
5340
  themeColor="primary"
5294
5341
  (click)="onConfirmAction()"
5295
5342
  >{{ textFor('dialogApply') }}</button>
5296
5343
  <button
5297
5344
  kendoButton
5345
+ type="button"
5298
5346
  (click)="onCancelAction()"
5299
5347
  >{{ textFor('dialogCancel') }}</button>
5300
5348
  </kendo-dialog-actions>
@@ -5330,7 +5378,12 @@ class EditorFontFamilyComponent extends ToolBarToolComponent {
5330
5378
  renderer;
5331
5379
  value;
5332
5380
  disabled = false;
5333
- tabindex = -1;
5381
+ set tabindex(value) {
5382
+ this._tabindex.set(value);
5383
+ }
5384
+ get tabindex() {
5385
+ return this._tabindex();
5386
+ }
5334
5387
  /**
5335
5388
  * Overrides the default font list.
5336
5389
  */
@@ -5372,6 +5425,7 @@ class EditorFontFamilyComponent extends ToolBarToolComponent {
5372
5425
  { text: 'Trebuchet MS', fontName: '"Trebuchet MS","Lucida Grande","Lucida Sans Unicode","Lucida Sans",Tahoma,sans-serif' },
5373
5426
  { text: 'Verdana', fontName: 'Verdana,Geneva,sans-serif' }
5374
5427
  ];
5428
+ _tabindex = signal(-1, ...(ngDevMode ? [{ debugName: "_tabindex" }] : /* istanbul ignore next */ []));
5375
5429
  constructor(dialogService, localization, providerService, toolsService, renderer) {
5376
5430
  super();
5377
5431
  this.dialogService = dialogService;
@@ -5660,11 +5714,13 @@ class ColorPickerDialogComponent extends DialogContentBase {
5660
5714
  <kendo-dialog-actions layout="start">
5661
5715
  <button
5662
5716
  kendoButton
5717
+ type="button"
5663
5718
  themeColor="primary"
5664
5719
  (click)="onConfirmAction()"
5665
5720
  >{{ textFor('dialogApply') }}</button>
5666
5721
  <button
5667
5722
  kendoButton
5723
+ type="button"
5668
5724
  (click)="onCancelAction()"
5669
5725
  >{{ textFor('dialogCancel') }}</button>
5670
5726
  </kendo-dialog-actions>
@@ -5695,11 +5751,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
5695
5751
  <kendo-dialog-actions layout="start">
5696
5752
  <button
5697
5753
  kendoButton
5754
+ type="button"
5698
5755
  themeColor="primary"
5699
5756
  (click)="onConfirmAction()"
5700
5757
  >{{ textFor('dialogApply') }}</button>
5701
5758
  <button
5702
5759
  kendoButton
5760
+ type="button"
5703
5761
  (click)="onCancelAction()"
5704
5762
  >{{ textFor('dialogCancel') }}</button>
5705
5763
  </kendo-dialog-actions>
@@ -5734,7 +5792,12 @@ class EditorColorPickerComponent extends ToolBarToolComponent {
5734
5792
  *
5735
5793
  * @default -1
5736
5794
  */
5737
- tabindex = -1;
5795
+ set tabindex(value) {
5796
+ this._tabindex.set(value);
5797
+ }
5798
+ get tabindex() {
5799
+ return this._tabindex();
5800
+ }
5738
5801
  /**
5739
5802
  * Specifies the initial value of the color picker.
5740
5803
  */
@@ -5791,6 +5854,7 @@ class EditorColorPickerComponent extends ToolBarToolComponent {
5791
5854
  subs;
5792
5855
  editor;
5793
5856
  activeView;
5857
+ _tabindex = signal(-1, ...(ngDevMode ? [{ debugName: "_tabindex" }] : /* istanbul ignore next */ []));
5794
5858
  constructor(localization, dialogService, ngZone, providerService, renderer) {
5795
5859
  super();
5796
5860
  this.localization = localization;
@@ -6545,10 +6609,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
6545
6609
  * Applied to: {@link ToolBarButtonComponent}
6546
6610
  */
6547
6611
  class EditorBlockquoteDirective extends EditorCommandButton {
6548
- constructor(button, localization, providerService, toolsService) {
6549
- super('blockquote', button, localization, providerService, toolsService);
6612
+ constructor(button, localization, providerService, toolsService, injector) {
6613
+ super('blockquote', button, localization, providerService, toolsService, injector);
6550
6614
  }
6551
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorBlockquoteDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
6615
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorBlockquoteDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Directive });
6552
6616
  static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.23", type: EditorBlockquoteDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorBlockquoteButton]", usesInheritance: true, ngImport: i0 });
6553
6617
  }
6554
6618
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorBlockquoteDirective, decorators: [{
@@ -6557,7 +6621,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
6557
6621
  selector: 'kendo-toolbar-button[kendoEditorBlockquoteButton]',
6558
6622
  standalone: true
6559
6623
  }]
6560
- }], ctorParameters: () => [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }] });
6624
+ }], ctorParameters: () => [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }, { type: i0.Injector }] });
6561
6625
 
6562
6626
  /**
6563
6627
  * Configures a ToolBarButtonComponent as an Editor **Redo** tool
@@ -6573,10 +6637,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
6573
6637
  * Applied to: {@link ToolBarButtonComponent}
6574
6638
  */
6575
6639
  class EditorRedoButtonDirective extends EditorCommandButton {
6576
- constructor(button, localization, providerService, toolsService) {
6577
- super('redo', button, localization, providerService, toolsService);
6640
+ constructor(button, localization, providerService, toolsService, injector) {
6641
+ super('redo', button, localization, providerService, toolsService, injector);
6578
6642
  }
6579
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorRedoButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
6643
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorRedoButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Directive });
6580
6644
  static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.23", type: EditorRedoButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorRedoButton]", usesInheritance: true, ngImport: i0 });
6581
6645
  }
6582
6646
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorRedoButtonDirective, decorators: [{
@@ -6585,7 +6649,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
6585
6649
  selector: 'kendo-toolbar-button[kendoEditorRedoButton]',
6586
6650
  standalone: true
6587
6651
  }]
6588
- }], ctorParameters: () => [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }] });
6652
+ }], ctorParameters: () => [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }, { type: i0.Injector }] });
6589
6653
 
6590
6654
  /**
6591
6655
  * Configures a ToolBarButtonComponent as an Editor **Undo** tool
@@ -6601,10 +6665,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
6601
6665
  * Applied to: {@link ToolBarButtonComponent}
6602
6666
  */
6603
6667
  class EditorUndoButtonDirective extends EditorCommandButton {
6604
- constructor(button, localization, providerService, toolsService) {
6605
- super('undo', button, localization, providerService, toolsService);
6668
+ constructor(button, localization, providerService, toolsService, injector) {
6669
+ super('undo', button, localization, providerService, toolsService, injector);
6606
6670
  }
6607
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorUndoButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
6671
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorUndoButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Directive });
6608
6672
  static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.23", type: EditorUndoButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorUndoButton]", usesInheritance: true, ngImport: i0 });
6609
6673
  }
6610
6674
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorUndoButtonDirective, decorators: [{
@@ -6613,7 +6677,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
6613
6677
  selector: 'kendo-toolbar-button[kendoEditorUndoButton]',
6614
6678
  standalone: true
6615
6679
  }]
6616
- }], ctorParameters: () => [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }] });
6680
+ }], ctorParameters: () => [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }, { type: i0.Injector }] });
6617
6681
 
6618
6682
  /**
6619
6683
  * Configures a ToolBarButtonComponent as an Editor **ViewSource** tool
@@ -6656,10 +6720,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
6656
6720
  * Applied to: {@link ToolBarButtonComponent}
6657
6721
  */
6658
6722
  class EditorStrikethroughButtonDirective extends EditorCommandButton {
6659
- constructor(button, localization, providerService, toolsService) {
6660
- super('strikethrough', button, localization, providerService, toolsService);
6723
+ constructor(button, localization, providerService, toolsService, injector) {
6724
+ super('strikethrough', button, localization, providerService, toolsService, injector);
6661
6725
  }
6662
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorStrikethroughButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
6726
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorStrikethroughButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Directive });
6663
6727
  static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.23", type: EditorStrikethroughButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorStrikethroughButton]", usesInheritance: true, ngImport: i0 });
6664
6728
  }
6665
6729
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorStrikethroughButtonDirective, decorators: [{
@@ -6668,7 +6732,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
6668
6732
  selector: 'kendo-toolbar-button[kendoEditorStrikethroughButton]',
6669
6733
  standalone: true
6670
6734
  }]
6671
- }], ctorParameters: () => [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }] });
6735
+ }], ctorParameters: () => [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }, { type: i0.Injector }] });
6672
6736
 
6673
6737
  /**
6674
6738
  * Configures a ToolBarButtonComponent as an Editor **Subscript** tool
@@ -6684,10 +6748,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
6684
6748
  * Applied to: {@link ToolBarButtonComponent}
6685
6749
  */
6686
6750
  class EditorSubscriptButtonDirective extends EditorCommandButton {
6687
- constructor(button, localization, providerService, toolsService) {
6688
- super('subscript', button, localization, providerService, toolsService);
6751
+ constructor(button, localization, providerService, toolsService, injector) {
6752
+ super('subscript', button, localization, providerService, toolsService, injector);
6689
6753
  }
6690
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorSubscriptButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
6754
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorSubscriptButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Directive });
6691
6755
  static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.23", type: EditorSubscriptButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorSubscriptButton]", usesInheritance: true, ngImport: i0 });
6692
6756
  }
6693
6757
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorSubscriptButtonDirective, decorators: [{
@@ -6696,7 +6760,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
6696
6760
  selector: 'kendo-toolbar-button[kendoEditorSubscriptButton]',
6697
6761
  standalone: true
6698
6762
  }]
6699
- }], ctorParameters: () => [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }] });
6763
+ }], ctorParameters: () => [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }, { type: i0.Injector }] });
6700
6764
 
6701
6765
  /**
6702
6766
  * Configures a ToolBarButtonComponent as an Editor **Superscript** tool
@@ -6712,10 +6776,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
6712
6776
  * Applied to: {@link ToolBarButtonComponent}
6713
6777
  */
6714
6778
  class EditorSuperscriptButtonDirective extends EditorCommandButton {
6715
- constructor(button, localization, providerService, toolsService) {
6716
- super('superscript', button, localization, providerService, toolsService);
6779
+ constructor(button, localization, providerService, toolsService, injector) {
6780
+ super('superscript', button, localization, providerService, toolsService, injector);
6717
6781
  }
6718
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorSuperscriptButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
6782
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorSuperscriptButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Directive });
6719
6783
  static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.23", type: EditorSuperscriptButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorSuperscriptButton]", usesInheritance: true, ngImport: i0 });
6720
6784
  }
6721
6785
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorSuperscriptButtonDirective, decorators: [{
@@ -6724,7 +6788,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
6724
6788
  selector: 'kendo-toolbar-button[kendoEditorSuperscriptButton]',
6725
6789
  standalone: true
6726
6790
  }]
6727
- }], ctorParameters: () => [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }] });
6791
+ }], ctorParameters: () => [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }, { type: i0.Injector }] });
6728
6792
 
6729
6793
  /**
6730
6794
  * Configures a ToolBarButtonComponent as an Editor **Insert File** tool ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#built-in-tools)).
@@ -6827,10 +6891,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
6827
6891
  * Applied to: {@link ToolBarButtonComponent}
6828
6892
  */
6829
6893
  class EditorCleanFormattingButtonDirective extends EditorCommandButton {
6830
- constructor(button, localization, providerService, toolsService) {
6831
- super('cleanFormatting', button, localization, providerService, toolsService);
6894
+ constructor(button, localization, providerService, toolsService, injector) {
6895
+ super('cleanFormatting', button, localization, providerService, toolsService, injector);
6832
6896
  }
6833
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorCleanFormattingButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
6897
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorCleanFormattingButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Directive });
6834
6898
  static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.23", type: EditorCleanFormattingButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorCleanFormattingButton]", usesInheritance: true, ngImport: i0 });
6835
6899
  }
6836
6900
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorCleanFormattingButtonDirective, decorators: [{
@@ -6839,7 +6903,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
6839
6903
  selector: 'kendo-toolbar-button[kendoEditorCleanFormattingButton]',
6840
6904
  standalone: true
6841
6905
  }]
6842
- }], ctorParameters: () => [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }] });
6906
+ }], ctorParameters: () => [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }, { type: i0.Injector }] });
6843
6907
 
6844
6908
  /**
6845
6909
  * Configures a ToolBarButtonComponent as an Editor **AddColumnBefore** tool
@@ -6855,10 +6919,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
6855
6919
  * Applied to: {@link ToolBarButtonComponent}
6856
6920
  */
6857
6921
  class EditorAddColumnBeforeButtonDirective extends EditorCommandButton {
6858
- constructor(button, localization, providerService, toolsService) {
6859
- super('addColumnBefore', button, localization, providerService, toolsService);
6922
+ constructor(button, localization, providerService, toolsService, injector) {
6923
+ super('addColumnBefore', button, localization, providerService, toolsService, injector);
6860
6924
  }
6861
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorAddColumnBeforeButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
6925
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorAddColumnBeforeButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Directive });
6862
6926
  static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.23", type: EditorAddColumnBeforeButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorAddColumnBeforeButton]", usesInheritance: true, ngImport: i0 });
6863
6927
  }
6864
6928
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorAddColumnBeforeButtonDirective, decorators: [{
@@ -6867,7 +6931,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
6867
6931
  selector: 'kendo-toolbar-button[kendoEditorAddColumnBeforeButton]',
6868
6932
  standalone: true
6869
6933
  }]
6870
- }], ctorParameters: () => [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }] });
6934
+ }], ctorParameters: () => [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }, { type: i0.Injector }] });
6871
6935
 
6872
6936
  /**
6873
6937
  * Configures a ToolBarButtonComponent as an Editor **AddColumnAfter** tool
@@ -6883,10 +6947,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
6883
6947
  * Applied to: {@link ToolBarButtonComponent}
6884
6948
  */
6885
6949
  class EditorAddColumnAfterButtonDirective extends EditorCommandButton {
6886
- constructor(button, localization, providerService, toolsService) {
6887
- super('addColumnAfter', button, localization, providerService, toolsService);
6950
+ constructor(button, localization, providerService, toolsService, injector) {
6951
+ super('addColumnAfter', button, localization, providerService, toolsService, injector);
6888
6952
  }
6889
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorAddColumnAfterButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
6953
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorAddColumnAfterButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Directive });
6890
6954
  static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.23", type: EditorAddColumnAfterButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorAddColumnAfterButton]", usesInheritance: true, ngImport: i0 });
6891
6955
  }
6892
6956
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorAddColumnAfterButtonDirective, decorators: [{
@@ -6895,7 +6959,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
6895
6959
  selector: 'kendo-toolbar-button[kendoEditorAddColumnAfterButton]',
6896
6960
  standalone: true
6897
6961
  }]
6898
- }], ctorParameters: () => [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }] });
6962
+ }], ctorParameters: () => [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }, { type: i0.Injector }] });
6899
6963
 
6900
6964
  /**
6901
6965
  * Configures a ToolBarButtonComponent as an Editor **AddRowBefore** tool
@@ -6911,10 +6975,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
6911
6975
  * Applied to: {@link ToolBarButtonComponent}
6912
6976
  */
6913
6977
  class EditorAddRowBeforeButtonDirective extends EditorCommandButton {
6914
- constructor(button, localization, providerService, toolsService) {
6915
- super('addRowBefore', button, localization, providerService, toolsService);
6978
+ constructor(button, localization, providerService, toolsService, injector) {
6979
+ super('addRowBefore', button, localization, providerService, toolsService, injector);
6916
6980
  }
6917
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorAddRowBeforeButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
6981
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorAddRowBeforeButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Directive });
6918
6982
  static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.23", type: EditorAddRowBeforeButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorAddRowBeforeButton]", usesInheritance: true, ngImport: i0 });
6919
6983
  }
6920
6984
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorAddRowBeforeButtonDirective, decorators: [{
@@ -6923,7 +6987,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
6923
6987
  selector: 'kendo-toolbar-button[kendoEditorAddRowBeforeButton]',
6924
6988
  standalone: true
6925
6989
  }]
6926
- }], ctorParameters: () => [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }] });
6990
+ }], ctorParameters: () => [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }, { type: i0.Injector }] });
6927
6991
 
6928
6992
  /**
6929
6993
  * Configures a ToolBarButtonComponent as an Editor **AddRowAfter** tool
@@ -6939,10 +7003,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
6939
7003
  * Applied to: {@link ToolBarButtonComponent}
6940
7004
  */
6941
7005
  class EditorAddRowAfterButtonDirective extends EditorCommandButton {
6942
- constructor(button, localization, providerService, toolsService) {
6943
- super('addRowAfter', button, localization, providerService, toolsService);
7006
+ constructor(button, localization, providerService, toolsService, injector) {
7007
+ super('addRowAfter', button, localization, providerService, toolsService, injector);
6944
7008
  }
6945
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorAddRowAfterButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
7009
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorAddRowAfterButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Directive });
6946
7010
  static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.23", type: EditorAddRowAfterButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorAddRowAfterButton]", usesInheritance: true, ngImport: i0 });
6947
7011
  }
6948
7012
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorAddRowAfterButtonDirective, decorators: [{
@@ -6951,7 +7015,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
6951
7015
  selector: 'kendo-toolbar-button[kendoEditorAddRowAfterButton]',
6952
7016
  standalone: true
6953
7017
  }]
6954
- }], ctorParameters: () => [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }] });
7018
+ }], ctorParameters: () => [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }, { type: i0.Injector }] });
6955
7019
 
6956
7020
  /**
6957
7021
  * Configures a ToolBarButtonComponent as an Editor **DeleteColumn** tool
@@ -6967,10 +7031,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
6967
7031
  * Applied to: {@link ToolBarButtonComponent}
6968
7032
  */
6969
7033
  class EditorDeleteColumnButtonDirective extends EditorCommandButton {
6970
- constructor(button, localization, providerService, toolsService) {
6971
- super('deleteColumn', button, localization, providerService, toolsService);
7034
+ constructor(button, localization, providerService, toolsService, injector) {
7035
+ super('deleteColumn', button, localization, providerService, toolsService, injector);
6972
7036
  }
6973
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorDeleteColumnButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
7037
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorDeleteColumnButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Directive });
6974
7038
  static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.23", type: EditorDeleteColumnButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorDeleteColumnButton]", usesInheritance: true, ngImport: i0 });
6975
7039
  }
6976
7040
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorDeleteColumnButtonDirective, decorators: [{
@@ -6979,7 +7043,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
6979
7043
  selector: 'kendo-toolbar-button[kendoEditorDeleteColumnButton]',
6980
7044
  standalone: true
6981
7045
  }]
6982
- }], ctorParameters: () => [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }] });
7046
+ }], ctorParameters: () => [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }, { type: i0.Injector }] });
6983
7047
 
6984
7048
  /**
6985
7049
  * Configures a ToolBarButtonComponent as an Editor **DeleteRow** tool
@@ -6995,10 +7059,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
6995
7059
  * Applied to: {@link ToolBarButtonComponent}
6996
7060
  */
6997
7061
  class EditorDeleteRowButtonDirective extends EditorCommandButton {
6998
- constructor(button, localization, providerService, toolsService) {
6999
- super('deleteRow', button, localization, providerService, toolsService);
7062
+ constructor(button, localization, providerService, toolsService, injector) {
7063
+ super('deleteRow', button, localization, providerService, toolsService, injector);
7000
7064
  }
7001
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorDeleteRowButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
7065
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorDeleteRowButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Directive });
7002
7066
  static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.23", type: EditorDeleteRowButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorDeleteRowButton]", usesInheritance: true, ngImport: i0 });
7003
7067
  }
7004
7068
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorDeleteRowButtonDirective, decorators: [{
@@ -7007,7 +7071,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
7007
7071
  selector: 'kendo-toolbar-button[kendoEditorDeleteRowButton]',
7008
7072
  standalone: true
7009
7073
  }]
7010
- }], ctorParameters: () => [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }] });
7074
+ }], ctorParameters: () => [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }, { type: i0.Injector }] });
7011
7075
 
7012
7076
  /**
7013
7077
  * Configures a ToolBarButtonComponent as an Editor **DeleteTable** tool
@@ -7023,10 +7087,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
7023
7087
  * Applied to: {@link ToolBarButtonComponent}
7024
7088
  */
7025
7089
  class EditorDeleteTableButtonDirective extends EditorCommandButton {
7026
- constructor(button, localization, providerService, toolsService) {
7027
- super('deleteTable', button, localization, providerService, toolsService);
7090
+ constructor(button, localization, providerService, toolsService, injector) {
7091
+ super('deleteTable', button, localization, providerService, toolsService, injector);
7028
7092
  }
7029
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorDeleteTableButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
7093
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorDeleteTableButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Directive });
7030
7094
  static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.23", type: EditorDeleteTableButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorDeleteTableButton]", usesInheritance: true, ngImport: i0 });
7031
7095
  }
7032
7096
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorDeleteTableButtonDirective, decorators: [{
@@ -7035,7 +7099,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
7035
7099
  selector: 'kendo-toolbar-button[kendoEditorDeleteTableButton]',
7036
7100
  standalone: true
7037
7101
  }]
7038
- }], ctorParameters: () => [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }] });
7102
+ }], ctorParameters: () => [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }, { type: i0.Injector }] });
7039
7103
 
7040
7104
  /**
7041
7105
  * Use this component to override the default component messages
@@ -7096,8 +7160,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
7096
7160
  * Applied to: {@link ToolBarButtonComponent}
7097
7161
  */
7098
7162
  class EditorPrintDirective extends EditorCommandButton {
7099
- constructor(button, localization, providerService, toolsService) {
7100
- super('print', button, localization, providerService, toolsService);
7163
+ constructor(button, localization, providerService, toolsService, injector) {
7164
+ super('print', button, localization, providerService, toolsService, injector);
7101
7165
  }
7102
7166
  ngAfterViewInit() {
7103
7167
  if (isDevMode) {
@@ -7117,7 +7181,7 @@ class EditorPrintDirective extends EditorCommandButton {
7117
7181
  }
7118
7182
  }
7119
7183
  }
7120
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorPrintDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
7184
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorPrintDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Directive });
7121
7185
  static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.23", type: EditorPrintDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorPrintButton]", usesInheritance: true, ngImport: i0 });
7122
7186
  }
7123
7187
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorPrintDirective, decorators: [{
@@ -7126,7 +7190,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
7126
7190
  selector: 'kendo-toolbar-button[kendoEditorPrintButton]',
7127
7191
  standalone: true
7128
7192
  }]
7129
- }], ctorParameters: () => [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }] });
7193
+ }], ctorParameters: () => [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }, { type: i0.Injector }] });
7130
7194
 
7131
7195
  /**
7132
7196
  * Configures a ToolBarButtonComponent as an Editor **SelectAll** tool
@@ -7141,8 +7205,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
7141
7205
  * Applied to: {@link ToolBarButtonComponent}
7142
7206
  */
7143
7207
  class EditorSelectAllButtonDirective extends EditorCommandButton {
7144
- constructor(button, localization, providerService, toolsService) {
7145
- super('selectAll', button, localization, providerService, toolsService);
7208
+ constructor(button, localization, providerService, toolsService, injector) {
7209
+ super('selectAll', button, localization, providerService, toolsService, injector);
7146
7210
  }
7147
7211
  clickHandler() {
7148
7212
  this.editor.shouldEmitFocus = true;
@@ -7151,7 +7215,7 @@ class EditorSelectAllButtonDirective extends EditorCommandButton {
7151
7215
  this.editor.focus();
7152
7216
  this.editor.exec(this.command, this.editor.applyToWord);
7153
7217
  }
7154
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorSelectAllButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
7218
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorSelectAllButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Directive });
7155
7219
  static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.23", type: EditorSelectAllButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorSelectAllButton]", usesInheritance: true, ngImport: i0 });
7156
7220
  }
7157
7221
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorSelectAllButtonDirective, decorators: [{
@@ -7160,7 +7224,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
7160
7224
  selector: 'kendo-toolbar-button[kendoEditorSelectAllButton]',
7161
7225
  standalone: true
7162
7226
  }]
7163
- }], ctorParameters: () => [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }] });
7227
+ }], ctorParameters: () => [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }, { type: i0.Injector }] });
7164
7228
 
7165
7229
  /**
7166
7230
  * @hidden
@@ -7178,10 +7242,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
7178
7242
  * Applied to: {@link ToolBarButtonComponent}
7179
7243
  */
7180
7244
  class EditorSplitCellButtonDirective extends EditorCommandButton {
7181
- constructor(button, localization, providerService, toolsService) {
7182
- super('splitCell', button, localization, providerService, toolsService);
7245
+ constructor(button, localization, providerService, toolsService, injector) {
7246
+ super('splitCell', button, localization, providerService, toolsService, injector);
7183
7247
  }
7184
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorSplitCellButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
7248
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorSplitCellButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Directive });
7185
7249
  static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.23", type: EditorSplitCellButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorSplitCellButton]", usesInheritance: true, ngImport: i0 });
7186
7250
  }
7187
7251
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorSplitCellButtonDirective, decorators: [{
@@ -7190,7 +7254,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
7190
7254
  selector: 'kendo-toolbar-button[kendoEditorSplitCellButton]',
7191
7255
  standalone: true
7192
7256
  }]
7193
- }], ctorParameters: () => [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }] });
7257
+ }], ctorParameters: () => [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }, { type: i0.Injector }] });
7194
7258
 
7195
7259
  /**
7196
7260
  * @hidden
@@ -7208,10 +7272,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
7208
7272
  * Applied to: {@link ToolBarButtonComponent}
7209
7273
  */
7210
7274
  class EditorMergeCellsButtonDirective extends EditorCommandButton {
7211
- constructor(button, localization, providerService, toolsService) {
7212
- super('mergeCells', button, localization, providerService, toolsService);
7275
+ constructor(button, localization, providerService, toolsService, injector) {
7276
+ super('mergeCells', button, localization, providerService, toolsService, injector);
7213
7277
  }
7214
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorMergeCellsButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
7278
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorMergeCellsButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Directive });
7215
7279
  static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.23", type: EditorMergeCellsButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorMergeCellsButton]", usesInheritance: true, ngImport: i0 });
7216
7280
  }
7217
7281
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: EditorMergeCellsButtonDirective, decorators: [{
@@ -7220,7 +7284,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImpo
7220
7284
  selector: 'kendo-toolbar-button[kendoEditorMergeCellsButton]',
7221
7285
  standalone: true
7222
7286
  }]
7223
- }], ctorParameters: () => [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }] });
7287
+ }], ctorParameters: () => [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }, { type: i0.Injector }] });
7224
7288
 
7225
7289
  /**
7226
7290
  * Utility array that contains all `Editor` related components and directives.