Skip to content

Commit 9150f67

Browse files
IOT-1525: Application styling fixed.
1 parent 3a71aa2 commit 9150f67

File tree

16 files changed

+1213
-1327
lines changed

16 files changed

+1213
-1327
lines changed

package-lock.json

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

package.json

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,23 +12,23 @@
1212
"private": true,
1313
"dependencies": {
1414
"@angular/animations": "^17.3.12",
15-
"@angular/cdk": "^16.2.14",
15+
"@angular/cdk": "^17.3.10",
1616
"@angular/common": "^17.3.12",
1717
"@angular/compiler": "^17.3.12",
1818
"@angular/core": "^17.3.12",
1919
"@angular/forms": "^17.3.12",
2020
"@angular/localize": "^17.3.12",
21-
"@angular/material": "^16.2.14",
22-
"@angular/material-moment-adapter": "^16.2.14",
21+
"@angular/material": "^17.3.10",
22+
"@angular/material-moment-adapter": "^17.3.10",
2323
"@angular/platform-browser": "^17.3.12",
2424
"@angular/platform-browser-dynamic": "^17.3.12",
2525
"@angular/router": "^17.3.12",
2626
"@auth0/angular-jwt": "^5.0.1",
27-
"@fortawesome/angular-fontawesome": "^0.13.0",
27+
"@fortawesome/angular-fontawesome": "^0.14.1",
2828
"@fortawesome/fontawesome-free": "^5.15.4",
2929
"@fortawesome/fontawesome-svg-core": "^1.2.28",
3030
"@fortawesome/free-solid-svg-icons": "^5.13.0",
31-
"@ng-bootstrap/ng-bootstrap": "^15.1.2",
31+
"@ng-bootstrap/ng-bootstrap": "^16.0.0",
3232
"@ngx-translate/core": "^15.0.0",
3333
"@ngx-translate/http-loader": "^6.0.0",
3434
"@popperjs/core": "^2.11.6",
@@ -43,11 +43,11 @@
4343
"leaflet-geosearch": "3.6.1",
4444
"leaflet.fullscreen": "^3.0.1",
4545
"moment": "^2.29.4",
46-
"monaco-editor": "^0.41.0",
46+
"monaco-editor": "^0.44.0",
4747
"ng": "0.0.0",
4848
"ng-inline-svg-2": "^15.0.1",
49-
"ngx-cookie-service": "^16.1.0",
50-
"ngx-monaco-editor-v2": "^16.0.1",
49+
"ngx-cookie-service": "^17.1.0",
50+
"ngx-monaco-editor-v2": "^17.0.1",
5151
"ngx-papaparse": "^5.0.0",
5252
"popper.js": "^1.16.1",
5353
"proj4leaflet": "^1.0.2",
@@ -61,7 +61,7 @@
6161
"@angular-devkit/build-angular": "^17.3.8",
6262
"@angular/cli": "^17.3.8",
6363
"@angular/compiler-cli": "^17.3.12",
64-
"@ngrx/store-devtools": "^16.3.0",
64+
"@ngrx/store-devtools": "^17.2.0",
6565
"@types/jasmine": "~3.6.0",
6666
"@types/jasminewd2": "~2.0.3",
6767
"@types/jwt-decode": "^3.1.0",
@@ -89,6 +89,8 @@
8989
"typescript": "~5.4.5"
9090
},
9191
"overrides": {
92+
"@angular/core": "^17.3.12",
93+
"@angular/common": "^17.3.12",
9294
"postcss": "^8.4.31",
9395
"tough-cookie": "^4.1.4",
9496
"xml2js": "^0.6.2",
@@ -97,4 +99,4 @@
9799
"babel-plugin-polyfill-regenerator": "0.5.3",
98100
"webpack-dev-middleware": "5.3.4"
99101
}
100-
}
102+
}

src/app/applications/applications-routing.module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ const applicationRoutes: Routes = [
6161
},
6262
],
6363
},
64-
{ path: "datatarget-new", component: DatatargetNewComponent },
64+
{ path: "datatarget-new", component: DatatargetNewComponent, },
6565
{ path: "datatarget-edit", component: DatatargetEditComponent },
6666
{
6767
path: "datatarget-edit/:datatargetId",

src/app/applications/datatarget/datatarget-detail/datatarget-detail.component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ export class DatatargetDetailComponent implements OnInit, OnDestroy {
2020
private datatargetType: DataTargetType;
2121

2222
constructor(
23-
private componentFactoryResolver: ComponentFactoryResolver,
2423
private datatargetService: DatatargetService,
2524
private route: ActivatedRoute,
2625
private datatargetTypesService: DatatargetTypesService

src/app/applications/datatarget/datatarget-edit/datatarget-edit.component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ export class DatatargetEditComponent implements OnInit, OnDestroy {
2020
private datatargetType: DataTargetType;
2121

2222
constructor(
23-
private componentFactoryResolver: ComponentFactoryResolver,
2423
private datatargetService: DatatargetService,
2524
private route: ActivatedRoute,
2625
private datatargetTypesService: DatatargetTypesService

src/app/shared/components/column-selector/column-selector.component.html

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,13 @@
1010
#Selector
1111
[placeholder]="'TABLE.COLUMNS' | translate"
1212
>
13-
<mat-option disabled>
14-
<button mat-raised-button class="mat-primary fill text-sm" (click)="selectAll()">
15-
{{ "QUESTION.DATATARGET.SELECTALLDEVICES" | translate }}
16-
</button>
17-
<button mat-raised-button class="mat-primary fill text-sm" (click)="deSelectAll()">
18-
{{ "QUESTION.DATATARGET.DESELECTALLDEVICES" | translate }}
19-
</button>
20-
</mat-option>
13+
<button mat-raised-button class="mat-primary fill text-sm choose-all" (click)="selectAll()">
14+
{{ "QUESTION.DATATARGET.SELECTALLDEVICES" | translate }}
15+
</button>
16+
<button mat-raised-button class="mat-primary fill text-sm deselect-all" (click)="deSelectAll()">
17+
{{ "QUESTION.DATATARGET.DESELECTALLDEVICES" | translate }}
18+
</button>
19+
2120
<mat-option *ngFor="let option of optionalColumnOptions" [value]="option.id">
2221
{{ option.display | translate }}
2322
</mat-option>

src/app/shared/components/column-selector/column-selector.component.scss

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
@import "../../../../assets/scss/setup/variables";
22

3+
$deselectSelectButtonBottomMargin: 5px;
4+
35
.cog-icon {
46
color: $grey-dark;
57
}
@@ -10,3 +12,13 @@
1012
display: flex;
1113
justify-content: center;
1214
}
15+
16+
.choose-all {
17+
margin-left: 5px;
18+
margin-bottom: $deselectSelectButtonBottomMargin;
19+
}
20+
21+
.deselect-all {
22+
margin-left: 5px;
23+
margin-bottom: $deselectSelectButtonBottomMargin;
24+
}

src/app/shared/components/forms/form-body-application/form-body-application.component.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,11 @@
8282
</mat-select>
8383
</div>
8484

85-
<div class="form-group mt-3">
85+
<div class="form-group mt-3 flexDirectionColumn">
8686
<label class="form-label" for="application.startDate">{{
8787
"APPLICATION.METADATA-FIELD.START-DATE" | translate
8888
}}</label>
89-
<mat-form-field appearance="fill" id="application.startDate">
89+
<mat-form-field appearance="outline" id="application.startDate">
9090
<mat-label>{{ "QUESTION.APPLICATION.START-DATE-PLACEHOLDER" | translate }}</mat-label>
9191
<input
9292
matInput
@@ -104,11 +104,11 @@
104104
</mat-form-field>
105105
</div>
106106

107-
<div class="form-group mt-3">
107+
<div class="form-group mt-3 flexDirectionColumn">
108108
<label class="form-label" for="application.endDate">{{
109109
"APPLICATION.METADATA-FIELD.END-DATE" | translate
110110
}}</label>
111-
<mat-form-field appearance="fill" id="application.endDate">
111+
<mat-form-field appearance="outline" id="application.endDate">
112112
<mat-label>{{ "QUESTION.APPLICATION.END-DATE-PLACEHOLDER" | translate }}</mat-label>
113113
<input
114114
matInput
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.flexDirectionColumn{
2+
display: flex;
3+
flex-direction: column;
4+
}

src/app/shared/components/mat-select-search/mat-select-search/mat-select-search.component.scss

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ $multiple-check-width: 33px;
99
.mat-select-search-inner {
1010
position: absolute;
1111
top: 0;
12-
width: calc(100% + #{2 * $mat-menu-side-padding - $scrollbar-width});
12+
width: calc(100% - $scrollbar-width) !important;
1313
border-bottom: 1px solid #cccccc;
1414
background: white;
1515
z-index: 100;
@@ -29,7 +29,10 @@ $multiple-check-width: 33px;
2929
padding: $mat-menu-side-padding;
3030
padding-right: $mat-menu-side-padding + $clear-button-width;
3131
box-sizing: border-box;
32+
width: 100%;
33+
border-width: 0px;
3234
}
35+
3336
.mat-select-search-no-entries-found {
3437
padding: $mat-menu-side-padding;
3538
}

0 commit comments

Comments
 (0)