Commit 426b9921 authored by El Mghazli Yacine's avatar El Mghazli Yacine

updated tslib

parent 51362d9c
......@@ -20,7 +20,7 @@
"@angular/platform-browser-dynamic": "~13.2.6",
"@angular/router": "~13.2.6",
"rxjs": "^6.6.6",
"tslib": "^2.0.0",
"tslib": "^2.3.1",
"zone.js": "^0.11.4"
},
"devDependencies": {
......@@ -3909,9 +3909,9 @@
}
},
"node_modules/@grpc/grpc-js": {
"version": "1.5.7",
"resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.5.7.tgz",
"integrity": "sha512-RAlSbZ9LXo0wNoHKeUlwP9dtGgVBDUbnBKFpfAv5iSqMG4qWz9um2yLH215+Wow1I48etIa1QMS+WAGmsE/7HQ==",
"version": "1.5.8",
"resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.5.8.tgz",
"integrity": "sha512-sfoF2yMVJcqEoX8E3o9+idUckv/w4cM+lt3U7Qz6GUBLgxAh1NS/3fEZKOMhwdvOEgWvPqbls/EgLXGKI0sm2A==",
"dependencies": {
"@grpc/proto-loader": "^0.6.4",
"@types/node": ">=12.12.47"
......@@ -6890,9 +6890,9 @@
}
},
"node_modules/caniuse-lite": {
"version": "1.0.30001316",
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001316.tgz",
"integrity": "sha512-JgUdNoZKxPZFzbzJwy4hDSyGuH/gXz2rN51QmoR8cBQsVo58llD3A0vlRKKRt8FGf5u69P9eQyIH8/z9vN/S0Q==",
"version": "1.0.30001317",
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001317.tgz",
"integrity": "sha512-xIZLh8gBm4dqNX0gkzrBeyI86J2eCjWzYAs40q88smG844YIrN4tVQl/RhquHvKEKImWWFIVh1Lxe5n1G/N+GQ==",
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/browserslist"
......@@ -8631,9 +8631,9 @@
}
},
"node_modules/electron-to-chromium": {
"version": "1.4.82",
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.82.tgz",
"integrity": "sha512-Ks+ANzLoIrFDUOJdjxYMH6CMKB8UQo5modAwvSZTxgF+vEs/U7G5IbWFUp6dS4klPkTDVdxbORuk8xAXXhMsWw=="
"version": "1.4.84",
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.84.tgz",
"integrity": "sha512-b+DdcyOiZtLXHdgEG8lncYJdxbdJWJvclPNMg0eLUDcSOSO876WA/pYjdSblUTd7eJdIs4YdIxHWGazx7UPSJw=="
},
"node_modules/emoji-regex": {
"version": "8.0.0",
......@@ -14149,6 +14149,35 @@
"node": ">= 10"
}
},
"node_modules/npm-registry-fetch/node_modules/cacache": {
"version": "16.0.0",
"resolved": "https://registry.npmjs.org/cacache/-/cacache-16.0.0.tgz",
"integrity": "sha512-pMX6sqJSlGpxCM257by5syifGb7zH6C30CaJXeGXqmKNrHKqvMmwM8KgKmsZcUAsnNQkt7WvENH2Kl53RpFQuA==",
"dev": true,
"dependencies": {
"@npmcli/fs": "^1.0.0",
"@npmcli/move-file": "^1.1.2",
"chownr": "^2.0.0",
"fs-minipass": "^2.1.0",
"glob": "^7.1.4",
"infer-owner": "^1.0.4",
"lru-cache": "^6.0.0",
"minipass": "^3.1.1",
"minipass-collect": "^1.0.2",
"minipass-flush": "^1.0.5",
"minipass-pipeline": "^1.2.4",
"mkdirp": "^1.0.4",
"p-map": "^4.0.0",
"promise-inflight": "^1.0.1",
"rimraf": "^3.0.2",
"ssri": "^8.0.1",
"tar": "^6.1.11",
"unique-filename": "^1.1.1"
},
"engines": {
"node": "^12.13.0 || ^14.15.0 || >=16"
}
},
"node_modules/npm-registry-fetch/node_modules/http-proxy-agent": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-5.0.0.tgz",
......@@ -14163,31 +14192,22 @@
"node": ">= 6"
}
},
"node_modules/npm-registry-fetch/node_modules/lru-cache": {
"version": "7.5.0",
"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.5.0.tgz",
"integrity": "sha512-8neUvdgNtubJ+VNNqrqOLjUoIlN+NRPFtv1Vne2rQ4uPCxhp0W4TlqntzTLnVVezGXcSSdXTrKCTYooEQA7X6g==",
"dev": true,
"engines": {
"node": ">=12"
}
},
"node_modules/npm-registry-fetch/node_modules/make-fetch-happen": {
"version": "10.0.5",
"resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-10.0.5.tgz",
"integrity": "sha512-0JQ0daMRDFEv14DelmcFlprdhSDNG7WEgInTjBeWYWZ78W0jfDqygZdPLhcrQ4s/G8skNhBrS4fiF6xA+YlFjQ==",
"version": "10.0.6",
"resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-10.0.6.tgz",
"integrity": "sha512-4Gfh6lV3TLXmj7qz79hBFuvVqjYSMW6v2+sxtdX4LFQU0rK3V/txRjE0DoZb7X0IF3t9f8NO3CxPSWlvdckhVA==",
"dev": true,
"dependencies": {
"agentkeepalive": "^4.2.1",
"cacache": "^15.3.0",
"cacache": "^16.0.0",
"http-cache-semantics": "^4.1.0",
"http-proxy-agent": "^5.0.0",
"https-proxy-agent": "^5.0.0",
"is-lambda": "^1.0.1",
"lru-cache": "^7.4.1",
"lru-cache": "^7.5.1",
"minipass": "^3.1.6",
"minipass-collect": "^1.0.2",
"minipass-fetch": "^2.0.2",
"minipass-fetch": "^2.0.3",
"minipass-flush": "^1.0.5",
"minipass-pipeline": "^1.2.4",
"negotiator": "^0.6.3",
......@@ -14199,6 +14219,15 @@
"node": "^12.13.0 || ^14.15.0 || >=16"
}
},
"node_modules/npm-registry-fetch/node_modules/make-fetch-happen/node_modules/lru-cache": {
"version": "7.5.1",
"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.5.1.tgz",
"integrity": "sha512-q1TS8IqKvcg3aScamKCHpepSrHF537Ww7nHahBOxhDu9D2YoBXAsj/7uFdZFj1xJr9LmyeJ62AdyofCHafUbIA==",
"dev": true,
"engines": {
"node": ">=12"
}
},
"node_modules/npm-registry-fetch/node_modules/make-fetch-happen/node_modules/minipass-fetch": {
"version": "2.0.3",
"resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-2.0.3.tgz",
......@@ -22405,9 +22434,9 @@
}
},
"@grpc/grpc-js": {
"version": "1.5.7",
"resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.5.7.tgz",
"integrity": "sha512-RAlSbZ9LXo0wNoHKeUlwP9dtGgVBDUbnBKFpfAv5iSqMG4qWz9um2yLH215+Wow1I48etIa1QMS+WAGmsE/7HQ==",
"version": "1.5.8",
"resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.5.8.tgz",
"integrity": "sha512-sfoF2yMVJcqEoX8E3o9+idUckv/w4cM+lt3U7Qz6GUBLgxAh1NS/3fEZKOMhwdvOEgWvPqbls/EgLXGKI0sm2A==",
"requires": {
"@grpc/proto-loader": "^0.6.4",
"@types/node": ">=12.12.47"
......@@ -24664,9 +24693,9 @@
"devOptional": true
},
"caniuse-lite": {
"version": "1.0.30001316",
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001316.tgz",
"integrity": "sha512-JgUdNoZKxPZFzbzJwy4hDSyGuH/gXz2rN51QmoR8cBQsVo58llD3A0vlRKKRt8FGf5u69P9eQyIH8/z9vN/S0Q=="
"version": "1.0.30001317",
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001317.tgz",
"integrity": "sha512-xIZLh8gBm4dqNX0gkzrBeyI86J2eCjWzYAs40q88smG844YIrN4tVQl/RhquHvKEKImWWFIVh1Lxe5n1G/N+GQ=="
},
"cardinal": {
"version": "2.1.1",
......@@ -26008,9 +26037,9 @@
}
},
"electron-to-chromium": {
"version": "1.4.82",
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.82.tgz",
"integrity": "sha512-Ks+ANzLoIrFDUOJdjxYMH6CMKB8UQo5modAwvSZTxgF+vEs/U7G5IbWFUp6dS4klPkTDVdxbORuk8xAXXhMsWw=="
"version": "1.4.84",
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.84.tgz",
"integrity": "sha512-b+DdcyOiZtLXHdgEG8lncYJdxbdJWJvclPNMg0eLUDcSOSO876WA/pYjdSblUTd7eJdIs4YdIxHWGazx7UPSJw=="
},
"emoji-regex": {
"version": "8.0.0",
......@@ -30252,6 +30281,32 @@
"integrity": "sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==",
"dev": true
},
"cacache": {
"version": "16.0.0",
"resolved": "https://registry.npmjs.org/cacache/-/cacache-16.0.0.tgz",
"integrity": "sha512-pMX6sqJSlGpxCM257by5syifGb7zH6C30CaJXeGXqmKNrHKqvMmwM8KgKmsZcUAsnNQkt7WvENH2Kl53RpFQuA==",
"dev": true,
"requires": {
"@npmcli/fs": "^1.0.0",
"@npmcli/move-file": "^1.1.2",
"chownr": "^2.0.0",
"fs-minipass": "^2.1.0",
"glob": "^7.1.4",
"infer-owner": "^1.0.4",
"lru-cache": "^6.0.0",
"minipass": "^3.1.1",
"minipass-collect": "^1.0.2",
"minipass-flush": "^1.0.5",
"minipass-pipeline": "^1.2.4",
"mkdirp": "^1.0.4",
"p-map": "^4.0.0",
"promise-inflight": "^1.0.1",
"rimraf": "^3.0.2",
"ssri": "^8.0.1",
"tar": "^6.1.11",
"unique-filename": "^1.1.1"
}
},
"http-proxy-agent": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-5.0.0.tgz",
......@@ -30263,28 +30318,22 @@
"debug": "4"
}
},
"lru-cache": {
"version": "7.5.0",
"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.5.0.tgz",
"integrity": "sha512-8neUvdgNtubJ+VNNqrqOLjUoIlN+NRPFtv1Vne2rQ4uPCxhp0W4TlqntzTLnVVezGXcSSdXTrKCTYooEQA7X6g==",
"dev": true
},
"make-fetch-happen": {
"version": "10.0.5",
"resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-10.0.5.tgz",
"integrity": "sha512-0JQ0daMRDFEv14DelmcFlprdhSDNG7WEgInTjBeWYWZ78W0jfDqygZdPLhcrQ4s/G8skNhBrS4fiF6xA+YlFjQ==",
"version": "10.0.6",
"resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-10.0.6.tgz",
"integrity": "sha512-4Gfh6lV3TLXmj7qz79hBFuvVqjYSMW6v2+sxtdX4LFQU0rK3V/txRjE0DoZb7X0IF3t9f8NO3CxPSWlvdckhVA==",
"dev": true,
"requires": {
"agentkeepalive": "^4.2.1",
"cacache": "^15.3.0",
"cacache": "^16.0.0",
"http-cache-semantics": "^4.1.0",
"http-proxy-agent": "^5.0.0",
"https-proxy-agent": "^5.0.0",
"is-lambda": "^1.0.1",
"lru-cache": "^7.4.1",
"lru-cache": "^7.5.1",
"minipass": "^3.1.6",
"minipass-collect": "^1.0.2",
"minipass-fetch": "^2.0.2",
"minipass-fetch": "^2.0.3",
"minipass-flush": "^1.0.5",
"minipass-pipeline": "^1.2.4",
"negotiator": "^0.6.3",
......@@ -30293,6 +30342,12 @@
"ssri": "^8.0.1"
},
"dependencies": {
"lru-cache": {
"version": "7.5.1",
"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.5.1.tgz",
"integrity": "sha512-q1TS8IqKvcg3aScamKCHpepSrHF537Ww7nHahBOxhDu9D2YoBXAsj/7uFdZFj1xJr9LmyeJ62AdyofCHafUbIA==",
"dev": true
},
"minipass-fetch": {
"version": "2.0.3",
"resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-2.0.3.tgz",
......@@ -22,7 +22,7 @@
"@angular/platform-browser-dynamic": "~13.2.6",
"@angular/router": "~13.2.6",
"rxjs": "^6.6.6",
"tslib": "^2.0.0",
"tslib": "^2.3.1",
"zone.js": "^0.11.4"
},
"devDependencies": {
......
......@@ -25,13 +25,13 @@ import { AppComponent } from './app.component';
import { ErrorDialogComponent } from './components/error-dialog/error-dialog.component';
import { InterceptorProviders } from './interceptors/interceptors';
import { LoadingService } from './services/loading.service';
import { CommandsComponent } from './components/commands/commands.component';
import { CommandsApi } from './api/commands.api';
import { MatSidenavModule } from '@angular/material/sidenav';
import { BrowserModule } from '@angular/platform-browser';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { AppRoutingModule } from './app-routing.module';
import { ReactiveFormsModule } from '@angular/forms';
import { CommandsComponent } from './components/commands/commands.component';
import { CommandsApi } from './api/commands.api';
import { MatSidenavModule } from '@angular/material/sidenav';
@NgModule({
declarations: [
......@@ -40,6 +40,7 @@ import { MatSidenavModule } from '@angular/material/sidenav';
ErrorDialogComponent
],
imports: [
MatSidenavModule,
BrowserModule,
AppRoutingModule,
BrowserAnimationsModule,
......@@ -56,7 +57,6 @@ import { MatSidenavModule } from '@angular/material/sidenav';
MatDatepickerModule,
MatNativeDateModule,
MatToolbarModule,
MatSidenavModule,
MatListModule,
MatTableModule,
MatPaginatorModule,
......@@ -66,7 +66,8 @@ import { MatSidenavModule } from '@angular/material/sidenav';
MatSlideToggleModule,
MatGridListModule,
MatCardModule,
MatMenuModule
MatMenuModule,
MatSidenavModule,
],
providers: [
// services
......
......@@ -9,6 +9,7 @@
<mat-sidenav-content>
<mat-toolbar>
<mat-toolbar-row fxLayout="row" fxLayoutAlign="space-between center">
<ng-template #not_loading>
......@@ -17,20 +18,16 @@
</button>
<h1>OAI SoftModem</h1>
</ng-template>
<ng-template #loading>
<mat-progress-spinner mode="indeterminate" diameter="40"> </mat-progress-spinner>
</ng-template>
<div fxLayout="row" fxLayoutAlign="start center">
<ng-container *ngIf="loadingService.isLoading$ | async; then loading; else not_loading">
</ng-container>
</div>
<ng-container fxLayout="row">
<a id="email">{{ userService.email }}</a>
<button mat-raised-button color="warn" href="#" (click)="userService.logout()">
logout
</button>
</ng-container>
</mat-toolbar-row>
</mat-toolbar>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment