Skip to content

Commit f813ba2

Browse files
committed
Merge branch 'release/V4.0.0-beta3'
2 parents c47b048 + 206197a commit f813ba2

File tree

25 files changed

+134
-43
lines changed

25 files changed

+134
-43
lines changed

Angular/src/app/features/aircraft-maintenance-companies/children/maintenance-teams/views/maintenance-teams-index/maintenance-teams-index.component.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,9 @@
7777
<bia-table
7878
*ngIf="!crudConfiguration.useCalcMode"
7979
[elements]="(crudItems$ | async) ?? []"
80+
[dictOptionDtos]="
81+
(maintenanceTeamService.optionsService.dictOptionDtos$ | async) ?? []
82+
"
8083
[totalRecord]="(totalCount$ | async) ?? 0"
8184
[columnToDisplays]="displayedColumns"
8285
[pageSize]="pageSize"

Angular/src/app/features/aircraft-maintenance-companies/views/aircraft-maintenance-companies-index/aircraft-maintenance-companies-index.component.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,10 @@
8888
<bia-table
8989
*ngIf="!crudConfiguration.useCalcMode"
9090
[elements]="(crudItems$ | async) ?? []"
91+
[dictOptionDtos]="
92+
(aircraftMaintenanceCompanyService.optionsService.dictOptionDtos$
93+
| async) ?? []
94+
"
9195
[totalRecord]="(totalCount$ | async) ?? 0"
9296
[columnToDisplays]="displayedColumns"
9397
[pageSize]="pageSize"

Angular/src/app/features/airports/views/airports-index/airports-index.component.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@
4646
<bia-table
4747
*ngIf="!crudConfiguration.useCalcMode"
4848
[elements]="(crudItems$ | async) ?? []"
49+
[dictOptionDtos]="
50+
(airportService.optionsService.dictOptionDtos$ | async) ?? []
51+
"
4952
[totalRecord]="(totalCount$ | async) ?? 0"
5053
[columnToDisplays]="displayedColumns"
5154
[pageSize]="pageSize"

Angular/src/app/features/bia-features/users/views/users-index/users-index.component.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@
5656
<bia-table
5757
*ngIf="!crudConfiguration.useCalcMode"
5858
[elements]="(crudItems$ | async) ?? []"
59+
[dictOptionDtos]="
60+
(userService.optionsService.dictOptionDtos$ | async) ?? []
61+
"
5962
[totalRecord]="(totalCount$ | async) ?? 0"
6063
[columnToDisplays]="displayedColumns"
6164
[pageSize]="pageSize"

Angular/src/app/features/planes-types/views/planes-types-index/planes-types-index.component.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@
4646
<bia-table
4747
*ngIf="!crudConfiguration.useCalcMode"
4848
[elements]="(crudItems$ | async) ?? []"
49+
[dictOptionDtos]="
50+
(planeTypeService.optionsService.dictOptionDtos$ | async) ?? []
51+
"
4952
[totalRecord]="(totalCount$ | async) ?? 0"
5053
[columnToDisplays]="displayedColumns"
5154
[pageSize]="pageSize"

Angular/src/app/features/planes/children/engines/views/engines-index/engines-index.component.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@
4747
<bia-table
4848
*ngIf="!crudConfiguration.useCalcMode"
4949
[elements]="(crudItems$ | async) ?? []"
50+
[dictOptionDtos]="
51+
(engineService.optionsService.dictOptionDtos$ | async) ?? []
52+
"
5053
[totalRecord]="(totalCount$ | async) ?? 0"
5154
[columnToDisplays]="displayedColumns"
5255
[reorderableColumns]="reorderableColumns"

Angular/src/app/features/planes/views/planes-index/planes-index.component.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,9 @@
6666
? virtualCrudItems
6767
: ((crudItems$ | async) ?? [])
6868
"
69+
[dictOptionDtos]="
70+
(planeService.optionsService.dictOptionDtos$ | async) ?? []
71+
"
6972
[totalRecord]="(totalCount$ | async) ?? 0"
7073
[columnToDisplays]="displayedColumns"
7174
[pageSize]="pageSize"

Angular/src/app/features/sites/views/sites-index/sites-index.component.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,9 @@
7575
<bia-table
7676
*ngIf="!crudConfiguration.useCalcMode"
7777
[elements]="(crudItems$ | async) ?? []"
78+
[dictOptionDtos]="
79+
(siteService.optionsService.dictOptionDtos$ | async) ?? []
80+
"
7881
[totalRecord]="(totalCount$ | async) ?? 0"
7982
[columnToDisplays]="displayedColumns"
8083
[pageSize]="pageSize"

Angular/src/app/shared/bia-shared/components/table/bia-table-filter/bia-table-filter.component.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,10 +109,12 @@ export class BiaTableFilterComponent<CrudItem>
109109
}
110110

111111
setSimpleFilter(event: any, col: BiaFieldConfig<CrudItem>) {
112-
if (col.type === PropType.ManyToMany) {
113-
const separator = ',';
112+
const separator = ',';
113+
if (
114+
col.type === PropType.ManyToMany &&
115+
event?.value?.toString().indexOf(separator) > -1
116+
) {
114117
if (
115-
event?.value?.trim().length > 0 &&
116118
event?.value?.slice(-1) !== ' ' &&
117119
event?.value?.slice(-1) !== separator
118120
) {

Angular/src/app/shared/bia-shared/components/table/bia-table/bia-table.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -645,7 +645,7 @@ export class BiaTableComponent<TDto extends { id: number }>
645645
const table: Table = this as unknown as Table;
646646

647647
const storage = table.getStorage();
648-
let state: TableState = {};
648+
const state: TableState = {};
649649

650650
if (table.paginator) {
651651
state.first = <number>table.first;

0 commit comments

Comments
 (0)