jaumard / ngx-dashboard

Dashboard library for angular 4 and more
https://jaumard.github.io/ngx-dashboard/demo/demoDist/index.html
MIT License
71 stars 31 forks source link

ngx-dashboard not supported in angular7 #45

Open harish0407 opened 5 years ago

harish0407 commented 5 years ago

At a time of creating production build showing following error Directive , Property '_onResize' private and only accessible within class ''. Directive , Property '_onMouseMove' private and only accessible within class ''. Directive , Property '_onMouseUp' private and only accessible within class ''.

Package Version

"ngx-dashboard": "1.2.0", Angular CLI: 7.3.8 Node: 10.15.0 OS: win32 x64 Angular: 7.2.14 @angular-devkit/architect 0.13.0 @angular-devkit/build-angular 0.13.0 @angular-devkit/build-optimizer 0.13.0 @angular-devkit/build-webpack 0.13.0 @angular-devkit/core 7.3.0 @angular-devkit/schematics 7.3.8 @angular/cli 7.3.8 @angular/compiler-cli 7.2.2 @ngtools/webpack 7.3.0 @schematics/angular 7.3.8 @schematics/update 0.13.8 rxjs 6.5.1 typescript 3.2.4 webpack 4.29.0

mujiak commented 5 years ago

same error in angular 8 on production build with "fullTemplateTypeCheck": true (in tsconfig.json)

ERROR in (1,1): Directive DashboardComponent, Property '_onResize' is private and only accessible within class 'DashboardComponent'. (1,1): Directive DashboardComponent, Property '_onMouseMove' is private and only accessible within class 'DashboardComponent'. (1,1): Directive DashboardComponent, Property '_onMouseUp' is private and only accessible within class 'DashboardComponent'. (1,1): Directive DashboardComponent, Property '_onMouseMove' is private and only accessible within class 'DashboardComponent'. (1,1): Directive DashboardComponent, Property '_onMouseUp' is private and only accessible within class 'DashboardComponent'. (1,1): Directive DashboardComponent, Property '_onMouseUp' is private and only accessible within class 'DashboardComponent'. (1,1): Directive DashboardComponent, Property '_onScroll' is private and only accessible within class 'DashboardComponent'.

dhakehurst commented 4 years ago

nor 9