Moved to Angular 20

Moved to Tailwind 4
Moved to Python 3.13
Enabled arm64/v8 Builds
This commit is contained in:
2025-07-02 04:32:35 +00:00
parent 86722e3558
commit 44513dd6be
203 changed files with 2942 additions and 5628 deletions
@@ -1,6 +1,6 @@
import { CdkScrollableModule } from '@angular/cdk/scrolling';
import { AsyncPipe } from '@angular/common';
import { Component, Inject } from '@angular/core';
import { Component, inject } from '@angular/core';
import { FormArray, FormControl, FormGroup, ReactiveFormsModule } from '@angular/forms';
import { MatAutocompleteSelectedEvent, MatAutocompleteModule } from '@angular/material/autocomplete';
import { MatButtonModule } from '@angular/material/button';
@@ -34,6 +34,10 @@ import { CustomerService } from '../../customers/customer.service';
],
})
export class ChooseCustomerComponent {
dialogRef = inject<MatDialogRef<ChooseCustomerComponent>>(MatDialogRef);
data = inject(MAT_DIALOG_DATA);
private ser = inject(CustomerService);
form: FormGroup<{
name: FormControl<string>;
phone: FormControl<string>;
@@ -49,11 +53,9 @@ export class ChooseCustomerComponent {
item: Customer = new Customer();
customers: Observable<Customer[]>;
constructor(
public dialogRef: MatDialogRef<ChooseCustomerComponent>,
@Inject(MAT_DIALOG_DATA) public data: string | undefined,
private ser: CustomerService,
) {
constructor() {
const data = this.data;
// Create form
this.form = new FormGroup({
name: new FormControl<string>('', { nonNullable: true }),