Upgrade to Ionic 5 and Angular 9 Ivy
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing

This commit is contained in:
2020-10-12 11:59:32 -05:00
parent 8e5aee5344
commit d36e861502
17 changed files with 6896 additions and 4451 deletions

View File

@@ -16,7 +16,7 @@ export class CodeComponent implements OnInit {
@Output() hostRecordChange = new EventEmitter<HostRecord>();
@Output() requestParentSave = new EventEmitter<CodeComponent>();
@Output() requestParentDelete = new EventEmitter<CodeComponent>();
@ViewChild('theEditor', {static: false}) theEditor;
@ViewChild('theEditor') theEditor;
public dirty = false;
public pendingSetup = true;

View File

@@ -26,7 +26,7 @@ export class DatabaseComponent implements OnInit {
@Output() hostRecordChange = new EventEmitter<HostRecord>();
@Output() requestParentSave = new EventEmitter<DatabaseComponent>();
@Output() requestParentDelete = new EventEmitter<DatabaseComponent>();
@ViewChild('agGridElement', {static: false}) agGridElement: AgGridAngular;
@ViewChild('agGridElement') agGridElement: AgGridAngular;
public dbRecord: any;
public pendingSetup = true;

View File

@@ -30,7 +30,7 @@ export class BooleanEditorComponent implements ICellEditorAngularComp, AfterView
protected falseValue = 'False';
protected emptyValue = '';
@ViewChild('input', {static: false}) input: ElementRef;
@ViewChild('input') input: ElementRef;
agInit(params: ICellEditorParams): void {
this.params = params;

View File

@@ -11,7 +11,7 @@ export class DatetimeEditorComponent implements ICellEditorAngularComp, AfterVie
public params: ICellEditorParams;
public value: string;
public format = 'YYYY-MM-DD h:mm a';
@ViewChild('picker', {static: false}) picker: IonDatetime;
@ViewChild('picker') picker: IonDatetime;
agInit(params: ICellEditorParams): void {
this.params = params;

View File

@@ -17,7 +17,7 @@ export class NumericEditorComponent implements ICellEditorAngularComp, AfterView
public value: number;
private cancelBeforeStart = false;
@ViewChild('input', {static: false}) input: ElementRef;
@ViewChild('input') input: ElementRef;
agInit(params: ICellEditorParams): void {
this.params = params;

View File

@@ -18,7 +18,7 @@ export class ParagraphEditorComponent implements ICellEditorAngularComp, AfterVi
private params: ICellEditorParams;
public value: string;
@ViewChild('input', {static: false}) input: ElementRef;
@ViewChild('input') input: ElementRef;
constructor(
protected modals: ModalController,

View File

@@ -17,7 +17,7 @@ export class MultiSelectEditorComponent implements ICellEditorAngularComp, After
public value: string;
public options: Array<{value: string}> = [];
@ViewChild('select', {static: false}) select: IonSelect;
@ViewChild('select') select: IonSelect;
agInit(params: ICellEditorParams): void {
this.params = params;

View File

@@ -16,7 +16,7 @@ export class SelectEditorComponent implements ICellEditorAngularComp, AfterViewI
public params: ICellEditorParams;
public value: string;
public options: Array<{value: string}> = [];
@ViewChild('select', {static: false}) select: IonSelect;
@ViewChild('select') select: IonSelect;
agInit(params: ICellEditorParams): void {
this.params = params;

View File

@@ -16,7 +16,7 @@ export class FilesComponent implements OnInit {
@Output() hostRecordChange = new EventEmitter<HostRecord>();
@Output() requestParentSave = new EventEmitter<FilesComponent>();
@Output() requestParentDelete = new EventEmitter<FilesComponent>();
@ViewChild('uploadForm', {static: false}) uploadForm: ElementRef;
@ViewChild('uploadForm') uploadForm: ElementRef;
public fileRecords: Array<any> = [];
public pendingSetup = true;

View File

@@ -14,7 +14,7 @@ export class HostComponent implements OnInit {
@Output() newHostRequested = new EventEmitter<HostComponent>();
@Output() destroyHostRequested = new EventEmitter<HostComponent>();
@Output() saveHostRequested = new EventEmitter<HostComponent>();
@ViewChild('hostContainer', {static: false}) hostContainer: ElementRef;
@ViewChild('hostContainer') hostContainer: ElementRef;
@ViewChildren('liItems') liItems;
public listLines: Array<string> = [];