Update angular core and cli to v19

This commit is contained in:
2025-02-11 11:02:53 +10:30
parent 15bf115441
commit 5a4541435f
18 changed files with 90 additions and 111 deletions

View File

@@ -14,15 +14,14 @@ import { ListMessage } from '../../model/proto-message.model';
import { ProtoFieldComponent } from '../proto-field/proto-field.component';
@Component({
selector: 'app-list-field',
standalone: true,
imports: [
CommonModule,
MatButtonModule,
MatIconModule,
forwardRef(() => ProtoFieldComponent),
],
template: `<h3>{{ label() }}</h3>
selector: 'app-list-field',
imports: [
CommonModule,
MatButtonModule,
MatIconModule,
forwardRef(() => ProtoFieldComponent),
],
template: `<h3>{{ label() }}</h3>
@if(values()) { @for(value of values(); track $index) {
<div class="row-wrapper">
<app-proto-field
@@ -38,8 +37,8 @@ import { ProtoFieldComponent } from '../proto-field/proto-field.component';
<button mat-icon-button class="add-button" (click)="add()">
<mat-icon>add</mat-icon>
</button>`,
styleUrl: './list-field.component.scss',
changeDetection: ChangeDetectionStrategy.OnPush,
styleUrl: './list-field.component.scss',
changeDetection: ChangeDetectionStrategy.OnPush
})
export class ListFieldComponent {
label = input<string>();