mirror of
https://github.com/akveo/ngx-admin.git
synced 2026-02-15 04:38:05 +01:00
feat(aot) - updated aot build
feat(aot) - fixed build fix(aot) - fixed buttons and modals providers fix(changes ) - remove unused changes
This commit is contained in:
parent
d89d176e54
commit
4112676ae9
19 changed files with 167 additions and 66 deletions
|
|
@ -18,7 +18,7 @@ export class BaAmChart {
|
|||
@Input() baAmChartClass:string;
|
||||
@Output() onChartReady = new EventEmitter<any>();
|
||||
|
||||
@ViewChild('baAmChart') private _selector:ElementRef;
|
||||
@ViewChild('baAmChart') public _selector:ElementRef;
|
||||
|
||||
constructor (private _baAmChartThemeService:BaAmChartThemeService) {
|
||||
this._loadChartsLib();
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ export class BaChartistChart {
|
|||
@Input() baChartistChartClass:string;
|
||||
@Output() onChartReady = new EventEmitter<any>();
|
||||
|
||||
@ViewChild('baChartistChart') private _selector:ElementRef;
|
||||
@ViewChild('baChartistChart') public _selector:ElementRef;
|
||||
|
||||
private chart;
|
||||
|
||||
|
|
@ -33,7 +33,7 @@ export class BaChartistChart {
|
|||
this.onChartReady.emit(this.chart);
|
||||
}
|
||||
|
||||
ngOnChanges() {
|
||||
ngOnChanges(changes) {
|
||||
if (this.chart) {
|
||||
(<any>this.chart).update(this.baChartistChartData, this.baChartistChartOptions);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ export class BaFullCalendar {
|
|||
@Input() baFullCalendarClass:string;
|
||||
@Output() onCalendarReady = new EventEmitter<any>();
|
||||
|
||||
@ViewChild('baFullCalendar') private _selector:ElementRef;
|
||||
@ViewChild('baFullCalendar') public _selector:ElementRef;
|
||||
|
||||
ngAfterViewInit() {
|
||||
let calendar = jQuery(this._selector.nativeElement).fullCalendar(this.baFullCalendarConfiguration);
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ export class BaPictureUploader {
|
|||
onUpload:EventEmitter<any> = new EventEmitter();
|
||||
onUploadCompleted:EventEmitter<any> = new EventEmitter();
|
||||
|
||||
@ViewChild('fileUpload') protected _fileUpload:ElementRef;
|
||||
@ViewChild('fileUpload') public _fileUpload:ElementRef;
|
||||
|
||||
public uploadInProgress:boolean = false;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<div class="picture-group" [ngClass]="{uploading: uploadInProgress}">
|
||||
<div class="picture-wrapper" (click)="bringFileSelector();">
|
||||
<img src="{{ picture }}" *ngIf="picture">
|
||||
<img src="{{ defaultPicture }}" *ngIf="!picture && defaultPicture">
|
||||
<img src="{{ defaultPicture }}" ngIf="{{!picture && defaultPicture}}">
|
||||
|
||||
<div class="loading" *ngIf="uploadInProgress">
|
||||
<div class="spinner">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue