Upgrade to Angular 14

This commit is contained in:
softsimon
2022-11-28 11:55:23 +09:00
parent 208946a8bf
commit c2f45f9bc1
28 changed files with 6615 additions and 3898 deletions

View File

@@ -1,5 +1,5 @@
import { ChangeDetectionStrategy, Component, EventEmitter, Input, OnChanges, OnInit, Output } from '@angular/core';
import { FormBuilder, FormGroup } from '@angular/forms';
import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
import { BehaviorSubject, merge, Observable } from 'rxjs';
import { map, switchMap, tap } from 'rxjs/operators';
import { isMobile } from '../../shared/common.utils';
@@ -23,7 +23,7 @@ export class ChannelsListComponent implements OnInit, OnChanges {
itemsPerPage = 10;
page = 1;
channelsPage$ = new BehaviorSubject<number>(1);
channelStatusForm: FormGroup;
channelStatusForm: UntypedFormGroup;
defaultStatus = 'open';
status = 'open';
publicKeySize = 25;
@@ -31,7 +31,7 @@ export class ChannelsListComponent implements OnInit, OnChanges {
constructor(
private lightningApiService: LightningApiService,
private formBuilder: FormBuilder,
private formBuilder: UntypedFormBuilder,
) {
this.channelStatusForm = this.formBuilder.group({
status: [this.defaultStatus],