An Angular application cannot be compiled in the AoT mode with the --fullTemplateTypeCheck option if Kendo UI for Angular Buttons are used.
ERROR in node_modules/@progress/kendo-angular-buttons/dist/es/splitbutton/splitbutton.component.d.ts.SplitButtonComponent.html(35,17): : Property 'keyDownHandler' is protected and only accessible within class 'ListButton' and its subclasses.
node_modules/@progress/kendo-angular-buttons/dist/es/splitbutton/splitbutton.component.d.ts.SplitButtonComponent.html(36,17): : Property 'keyPressHandler' is protected and only accessible within class 'ListButton' and its subclasses.
node_modules/@progress/kendo-angular-buttons/dist/es/splitbutton/splitbutton.component.d.ts.SplitButtonComponent.html(37,17): : Property 'keyUpHandler' is protectedand only accessible within class 'ListButton' and its subclasses.
node_modules/@progress/kendo-angular-buttons/dist/es/dropdownbutton/dropdownbutton.component.d.ts.DropDownButtonComponent.html(28,17): : Property 'keyDownHandler' is protected and only accessible within class 'ListButton' and its subclasses.
node_modules/@progress/kendo-angular-buttons/dist/es/dropdownbutton/dropdownbutton.component.d.ts.DropDownButtonComponent.html(29,17): : Property 'keyPressHandler' is protected and only accessible within class 'ListButton' and its subclasses.
node_modules/@progress/kendo-angular-buttons/dist/es/dropdownbutton/dropdownbutton.component.d.ts.DropDownButtonComponent.html(30,17): : Property 'keyUpHandler' is protected and only accessible within class 'ListButton' and its subclasses.
The application is successfully compiled in the AoT mode with the --fullTemplateTypeCheck option if Kendo UI for Angular Buttons are used.
Package versions:
├── @angular/[email protected]
├── @angular/[email protected]
├── @angular/[email protected]
├── @angular/[email protected]
├── @angular/[email protected]
├── @angular/[email protected]
├── @angular/[email protected]
├── @angular/[email protected]
├── @angular/[email protected]
├── @angular/[email protected]
├── @angular/[email protected]
├── @angular/[email protected]
├── @progress/[email protected]
├── @progress/[email protected]
├── @progress/[email protected]
├── @progress/[email protected]
├── @progress/[email protected]
├── @progress/[email protected]
├── @progress/[email protected]
System:
The fullTemplateTypeCheck compiler option was introduced in Angular 5.2: https://blog.angular.io/angular-5-2-now-available-312d1099bd81
Please, pay attention that the same issue can be also reproducible with other Kendo packages. I apologize for not being able to verify them now.
Thanks for the report. We managed to address the issue in question. The latest version of buttons package should contain the fix.
Thank you for addressing this so quickly! The Kendo team is just awesome.