Skip to content

Commit f197c51

Browse files
committed
feat: update
1 parent b55e4ef commit f197c51

File tree

11 files changed

+7074
-7090
lines changed

11 files changed

+7074
-7090
lines changed

frontend/src/angular/package-lock.json

Lines changed: 6953 additions & 6960 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

frontend/src/angular/package.json

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -19,49 +19,49 @@
1919
},
2020
"private": true,
2121
"dependencies": {
22-
"@angular/animations": "^18.0.0",
22+
"@angular/animations": "^19.0.0",
2323
"@angular/cdk": "^18.0.0",
24-
"@angular/common": "^18.0.0",
25-
"@angular/compiler": "^18.0.0",
26-
"@angular/core": "^18.0.0",
27-
"@angular/forms": "^18.0.0",
28-
"@angular/localize": "^18.0.0",
24+
"@angular/common": "^19.0.0",
25+
"@angular/compiler": "^19.0.0",
26+
"@angular/core": "^19.0.0",
27+
"@angular/forms": "^19.0.0",
28+
"@angular/localize": "^19.0.0",
2929
"@angular/material": "^18.0.0",
30-
"@angular/platform-browser": "^18.0.0",
31-
"@angular/platform-browser-dynamic": "^18.0.0",
32-
"@angular/router": "^18.0.0",
30+
"@angular/platform-browser": "^19.0.0",
31+
"@angular/platform-browser-dynamic": "^19.0.0",
32+
"@angular/router": "^19.0.0",
3333
"material-icons": "^1.13.12",
3434
"rxjs": "~7.8.0",
3535
"tslib": "^2.3.0",
36-
"zone.js": "~0.14.2"
36+
"zone.js": "~0.15.0"
3737
},
3838
"devDependencies": {
39-
"@angular-devkit/build-angular": "^18.0.1",
40-
"@angular/cli": "^18.0.1",
41-
"@angular/compiler-cli": "^18.0.0",
39+
"@angular-devkit/build-angular": "^19.0.1",
40+
"@angular/cli": "^19.0.1",
41+
"@angular/compiler-cli": "^19.0.0",
4242
"@types/jasmine": "~4.3.0",
43-
"@types/node": "^18.0.0",
43+
"@types/node": "^18.0.0",
4444
"jasmine-core": "~4.6.0",
4545
"karma": "~6.4.0",
4646
"karma-chrome-launcher": "~3.2.0",
4747
"karma-coverage": "~2.2.0",
4848
"karma-jasmine": "~5.1.0",
4949
"karma-jasmine-html-reporter": "~2.1.0",
50-
"typescript": "~5.4.5",
50+
"typescript": "~5.6.3",
5151
"cpy-cli": "^4.2.0",
5252
"mkdirp": "^1.0.4",
5353
"rimraf": "^5.0.2",
5454
"prettier": "^2.4.1",
5555
"webpack-bundle-analyzer": "^4.5.0",
56-
"eslint": "^9.15.0",
57-
"eslint-config-prettier": "^9.0.0",
58-
"eslint-plugin-prettier": "^5.0.0",
59-
"@angular-eslint/builder": "^19.0.0-alpha.1",
60-
"@angular-eslint/eslint-plugin": "^19.0.0-alpha.1",
61-
"@angular-eslint/eslint-plugin-template": "^19.0.0-alpha.1",
62-
"@angular-eslint/schematics": "^19.0.0-alpha.1",
63-
"@angular-eslint/template-parser": "^19.0.0-alpha.1",
64-
"@typescript-eslint/eslint-plugin": "^8.15.0",
65-
"@typescript-eslint/parser": "^8.15.0"
56+
"eslint": "^9.15.0",
57+
"eslint-config-prettier": "^9.0.0",
58+
"eslint-plugin-prettier": "^5.0.0",
59+
"@angular-eslint/builder": "^19.0.0-alpha.1",
60+
"@angular-eslint/eslint-plugin": "^19.0.0-alpha.1",
61+
"@angular-eslint/eslint-plugin-template": "^19.0.0-alpha.1",
62+
"@angular-eslint/schematics": "^19.0.0-alpha.1",
63+
"@angular-eslint/template-parser": "^19.0.0-alpha.1",
64+
"@typescript-eslint/eslint-plugin": "^8.15.0",
65+
"@typescript-eslint/parser": "^8.15.0"
6666
}
6767
}

frontend/src/angular/src/app/app.component.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,10 @@ import { CommonModule } from '@angular/common';
1515
import { RouterOutlet } from '@angular/router';
1616

1717
@Component({
18-
selector: 'app-root',
19-
standalone: true,
20-
imports: [CommonModule, RouterOutlet],
21-
templateUrl: './app.component.html',
22-
styleUrls: ['./app.component.scss'],
18+
selector: 'app-root',
19+
imports: [CommonModule, RouterOutlet],
20+
templateUrl: './app.component.html',
21+
styleUrls: ['./app.component.scss']
2322
})
2423
export class AppComponent {
2524
protected title = 'AIDocumentLibraryChat';

frontend/src/angular/src/app/book-import/book-import.component.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,10 @@ enum FormGroupKey{
3131
}
3232

3333
@Component({
34-
selector: 'app-book-import',
35-
standalone: true,
36-
imports: [MatIconModule,MatToolbarModule,MatButtonModule,ReactiveFormsModule, CommonModule,MatFormFieldModule,MatInputModule],
37-
templateUrl: './book-import.component.html',
38-
styleUrl: './book-import.component.scss'
34+
selector: 'app-book-import',
35+
imports: [MatIconModule, MatToolbarModule, MatButtonModule, ReactiveFormsModule, CommonModule, MatFormFieldModule, MatInputModule],
36+
templateUrl: './book-import.component.html',
37+
styleUrl: './book-import.component.scss'
3938
})
4039
export class BookImportComponent {
4140
protected bookForm = new FormGroup({

frontend/src/angular/src/app/book-list/book-list.component.ts

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,15 @@ import { DocumentService } from '../service/document.service';
2424
import { Observable, catchError, debounceTime, distinct, of, switchMap, tap } from 'rxjs';
2525

2626
@Component({
27-
selector: 'app-book-list',
28-
standalone: true,
29-
imports: [ FormsModule,
30-
MatFormFieldModule,
31-
MatInputModule,
32-
MatAutocompleteModule,
33-
ReactiveFormsModule,
34-
AsyncPipe, MatToolbarModule, MatButtonModule],
35-
templateUrl: './book-list.component.html',
36-
styleUrl: './book-list.component.scss'
27+
selector: 'app-book-list',
28+
imports: [FormsModule,
29+
MatFormFieldModule,
30+
MatInputModule,
31+
MatAutocompleteModule,
32+
ReactiveFormsModule,
33+
AsyncPipe, MatToolbarModule, MatButtonModule],
34+
templateUrl: './book-list.component.html',
35+
styleUrl: './book-list.component.scss'
3736
})
3837
export class BookListComponent implements OnInit {
3938
protected myControl = new FormControl<string | Book>('');

frontend/src/angular/src/app/doc-import/doc-import.component.ts

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -29,19 +29,18 @@ import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
2929
export interface DocImportData {}
3030

3131
@Component({
32-
selector: 'app-docimport',
33-
standalone: true,
34-
imports: [
35-
CommonModule,
36-
MatFormFieldModule,
37-
MatDialogModule,
38-
MatButtonModule,
39-
MatInputModule,
40-
FormsModule,
41-
MatProgressSpinnerModule,
42-
],
43-
templateUrl: './doc-import.component.html',
44-
styleUrls: ['./doc-import.component.scss'],
32+
selector: 'app-docimport',
33+
imports: [
34+
CommonModule,
35+
MatFormFieldModule,
36+
MatDialogModule,
37+
MatButtonModule,
38+
MatInputModule,
39+
FormsModule,
40+
MatProgressSpinnerModule,
41+
],
42+
templateUrl: './doc-import.component.html',
43+
styleUrls: ['./doc-import.component.scss']
4544
})
4645
export class DocImportComponent {
4746
protected file: File | null = null;

frontend/src/angular/src/app/doc-list/doc-list.component.ts

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,16 @@ import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
2727
import { Router } from '@angular/router';
2828

2929
@Component({
30-
selector: 'app-doclist',
31-
standalone: true,
32-
imports: [
33-
CommonModule,
34-
MatToolbarModule,
35-
MatButtonModule,
36-
MatTableModule,
37-
MatDialogModule,
38-
],
39-
templateUrl: './doc-list.component.html',
40-
styleUrls: ['./doc-list.component.scss'],
30+
selector: 'app-doclist',
31+
imports: [
32+
CommonModule,
33+
MatToolbarModule,
34+
MatButtonModule,
35+
MatTableModule,
36+
MatDialogModule,
37+
],
38+
templateUrl: './doc-list.component.html',
39+
styleUrls: ['./doc-list.component.scss']
4140
})
4241
export class DocListComponent implements OnInit {
4342
protected displayedColumns: string[] = [

frontend/src/angular/src/app/doc-search/doc-search.component.ts

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -37,22 +37,21 @@ import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
3737
import { Subscription, interval, of } from 'rxjs';
3838

3939
@Component({
40-
selector: 'app-doc-search',
41-
standalone: true,
42-
imports: [
43-
CommonModule,
44-
MatToolbarModule,
45-
MatButtonModule,
46-
MatTableModule,
47-
MatInputModule,
48-
MatFormFieldModule,
49-
FormsModule,
50-
ReactiveFormsModule,
51-
MatProgressSpinnerModule,
52-
MatRadioModule,
53-
],
54-
templateUrl: './doc-search.component.html',
55-
styleUrls: ['./doc-search.component.scss'],
40+
selector: 'app-doc-search',
41+
imports: [
42+
CommonModule,
43+
MatToolbarModule,
44+
MatButtonModule,
45+
MatTableModule,
46+
MatInputModule,
47+
MatFormFieldModule,
48+
FormsModule,
49+
ReactiveFormsModule,
50+
MatProgressSpinnerModule,
51+
MatRadioModule,
52+
],
53+
templateUrl: './doc-search.component.html',
54+
styleUrls: ['./doc-search.component.scss']
5655
})
5756
export class DocSearchComponent {
5857
protected searchValueControl = new FormControl('', [

frontend/src/angular/src/app/function-search/function-search.component.ts

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -39,23 +39,22 @@ interface TreeNode {
3939
}
4040

4141
@Component({
42-
selector: 'app-function-search',
43-
standalone: true,
44-
imports: [
45-
CommonModule,
46-
MatToolbarModule,
47-
MatButtonModule,
48-
MatInputModule,
49-
MatTooltipModule,
50-
MatTreeModule,
51-
MatIconModule,
52-
MatFormFieldModule,
53-
FormsModule,
54-
ReactiveFormsModule,
55-
MatProgressSpinnerModule,
56-
],
57-
templateUrl: './function-search.component.html',
58-
styleUrl: './function-search.component.scss',
42+
selector: 'app-function-search',
43+
imports: [
44+
CommonModule,
45+
MatToolbarModule,
46+
MatButtonModule,
47+
MatInputModule,
48+
MatTooltipModule,
49+
MatTreeModule,
50+
MatIconModule,
51+
MatFormFieldModule,
52+
FormsModule,
53+
ReactiveFormsModule,
54+
MatProgressSpinnerModule,
55+
],
56+
templateUrl: './function-search.component.html',
57+
styleUrl: './function-search.component.scss'
5958
})
6059
export class FunctionSearchComponent {
6160
private repeatSub: Subscription | null = null;

frontend/src/angular/src/app/image-query/image-query.component.ts

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -29,18 +29,17 @@ import { Router } from '@angular/router';
2929
import { MatToolbarModule } from '@angular/material/toolbar';
3030

3131
@Component({
32-
selector: 'app-image-query',
33-
standalone: true,
34-
imports: [
35-
CommonModule,
36-
MatProgressSpinnerModule,
37-
MatInputModule,
38-
MatButtonModule,
39-
ReactiveFormsModule,
40-
MatToolbarModule,
41-
],
42-
templateUrl: './image-query.component.html',
43-
styleUrl: './image-query.component.scss',
32+
selector: 'app-image-query',
33+
imports: [
34+
CommonModule,
35+
MatProgressSpinnerModule,
36+
MatInputModule,
37+
MatButtonModule,
38+
ReactiveFormsModule,
39+
MatToolbarModule,
40+
],
41+
templateUrl: './image-query.component.html',
42+
styleUrl: './image-query.component.scss'
4443
})
4544
export class ImageQueryComponent {
4645
//'What do you see in the image? Describe the background. Describe the colors.'

0 commit comments

Comments
 (0)