mirror of
https://github.com/dkmstr/openuds-gui.git
synced 2024-12-21 13:33:48 +03:00
updating angular
This commit is contained in:
parent
1a9fd36910
commit
a6822162ab
20
package.json
20
package.json
@ -17,16 +17,16 @@
|
||||
},
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@angular/animations": "^18.2.11",
|
||||
"@angular/animations": "^19.0.0",
|
||||
"@angular/cdk": "^18.2.12",
|
||||
"@angular/common": "^18.2.11",
|
||||
"@angular/compiler": "^18.2.11",
|
||||
"@angular/core": "^18.2.11",
|
||||
"@angular/forms": "^18.2.11",
|
||||
"@angular/common": "^19.0.0",
|
||||
"@angular/compiler": "^19.0.0",
|
||||
"@angular/core": "^19.0.0",
|
||||
"@angular/forms": "^19.0.0",
|
||||
"@angular/material": "^18.2.12",
|
||||
"@angular/platform-browser": "^18.2.11",
|
||||
"@angular/platform-browser-dynamic": "^18.2.11",
|
||||
"@angular/router": "^18.2.11",
|
||||
"@angular/platform-browser": "^19.0.0",
|
||||
"@angular/platform-browser-dynamic": "^19.0.0",
|
||||
"@angular/router": "^19.0.0",
|
||||
"core-js": "^3.38.1",
|
||||
"rxjs": "^7.8.1",
|
||||
"tslib": "^2.7.0",
|
||||
@ -42,8 +42,8 @@
|
||||
"@angular-eslint/schematics": "18.4.1",
|
||||
"@angular-eslint/template-parser": "^18.4.1",
|
||||
"@angular/cli": "^18.2.11",
|
||||
"@angular/compiler-cli": "^18.2.11",
|
||||
"@angular/language-service": "^18.2.11",
|
||||
"@angular/compiler-cli": "^19.0.0",
|
||||
"@angular/language-service": "^19.0.0",
|
||||
"@types/cookieconsent": "^3.1.3",
|
||||
"@types/jasmine": "~5.1.4",
|
||||
"@types/jasminewd2": "~2.0.13",
|
||||
|
@ -2,9 +2,10 @@ import { Component, HostListener, OnInit } from '@angular/core';
|
||||
import { UDSApiService } from './services/uds-api.service';
|
||||
|
||||
@Component({
|
||||
selector: 'uds-root',
|
||||
templateUrl: './app.component.html',
|
||||
styleUrls: ['./app.component.scss'],
|
||||
selector: 'uds-root',
|
||||
templateUrl: './app.component.html',
|
||||
styleUrls: ['./app.component.scss'],
|
||||
standalone: false
|
||||
})
|
||||
export class AppComponent implements OnInit {
|
||||
title = 'UDS';
|
||||
|
@ -4,9 +4,10 @@ import { filter, debounceTime, distinctUntilChanged, tap } from 'rxjs/operators'
|
||||
|
||||
|
||||
@Component({
|
||||
selector: 'uds-filter',
|
||||
templateUrl: './filter.component.html',
|
||||
styleUrls: ['./filter.component.scss']
|
||||
selector: 'uds-filter',
|
||||
templateUrl: './filter.component.html',
|
||||
styleUrls: ['./filter.component.scss'],
|
||||
standalone: false
|
||||
})
|
||||
export class FilterComponent implements AfterViewInit {
|
||||
|
||||
|
@ -5,9 +5,10 @@ import { UDSApiService } from '../../../services/uds-api.service';
|
||||
const MAX_NAME_LENGTH = 32;
|
||||
|
||||
@Component({
|
||||
selector: 'uds-service',
|
||||
templateUrl: './service.component.html',
|
||||
styleUrls: ['./service.component.scss'],
|
||||
selector: 'uds-service',
|
||||
templateUrl: './service.component.html',
|
||||
styleUrls: ['./service.component.scss'],
|
||||
standalone: false
|
||||
})
|
||||
export class ServiceComponent implements OnInit {
|
||||
@Input() service: JSONService = {} as JSONService;
|
||||
|
@ -3,9 +3,10 @@ import { JSONGroup, JSONService } from '../../../types/services';
|
||||
import { UDSApiService } from '../../../services/uds-api.service';
|
||||
|
||||
@Component({
|
||||
selector: 'uds-services-group',
|
||||
templateUrl: './services-group.component.html',
|
||||
styleUrls: ['./services-group.component.scss']
|
||||
selector: 'uds-services-group',
|
||||
templateUrl: './services-group.component.html',
|
||||
styleUrls: ['./services-group.component.scss'],
|
||||
standalone: false
|
||||
})
|
||||
export class ServicesGroupComponent implements OnInit {
|
||||
|
||||
|
@ -2,9 +2,10 @@ import { Component, OnInit } from '@angular/core';
|
||||
import { UDSApiService } from '../../../services/uds-api.service';
|
||||
|
||||
@Component({
|
||||
selector: 'uds-staff-info',
|
||||
templateUrl: './staff-info.component.html',
|
||||
styleUrls: ['./staff-info.component.scss']
|
||||
selector: 'uds-staff-info',
|
||||
templateUrl: './staff-info.component.html',
|
||||
styleUrls: ['./staff-info.component.scss'],
|
||||
standalone: false
|
||||
})
|
||||
export class StaffInfoComponent implements OnInit {
|
||||
|
||||
|
@ -2,9 +2,10 @@ import {Component, Inject} from '@angular/core';
|
||||
import { MAT_DIALOG_DATA } from '@angular/material/dialog';
|
||||
|
||||
@Component({
|
||||
selector: 'uds-credentials-modal',
|
||||
templateUrl: './credentials-modal.component.html',
|
||||
styleUrls: ['./credentials-modal.component.scss']
|
||||
selector: 'uds-credentials-modal',
|
||||
templateUrl: './credentials-modal.component.html',
|
||||
styleUrls: ['./credentials-modal.component.scss'],
|
||||
standalone: false
|
||||
})
|
||||
export class CredentialsModalComponent {
|
||||
username: string;
|
||||
|
@ -2,9 +2,10 @@ import { Component, OnInit } from '@angular/core';
|
||||
import { UDSApiService } from '../../services/uds-api.service';
|
||||
|
||||
@Component({
|
||||
selector: 'uds-footer',
|
||||
templateUrl: './footer.component.html',
|
||||
styleUrls: ['./footer.component.scss']
|
||||
selector: 'uds-footer',
|
||||
templateUrl: './footer.component.html',
|
||||
styleUrls: ['./footer.component.scss'],
|
||||
standalone: false
|
||||
})
|
||||
export class FooterComponent implements OnInit {
|
||||
|
||||
|
@ -20,9 +20,10 @@ export interface ModalData {
|
||||
}
|
||||
|
||||
@Component({
|
||||
selector: 'uds-modal',
|
||||
templateUrl: './modal.component.html',
|
||||
styleUrls: ['./modal.component.scss'],
|
||||
selector: 'uds-modal',
|
||||
templateUrl: './modal.component.html',
|
||||
styleUrls: ['./modal.component.scss'],
|
||||
standalone: false
|
||||
})
|
||||
export class ModalComponent implements OnInit {
|
||||
extra = '';
|
||||
|
@ -3,9 +3,10 @@ import { UDSApiService } from '../../services/uds-api.service';
|
||||
import { Lang } from '../../types/config';
|
||||
|
||||
@Component({
|
||||
selector: 'uds-navbar',
|
||||
templateUrl: './navbar.component.html',
|
||||
styleUrls: ['./navbar.component.scss']
|
||||
selector: 'uds-navbar',
|
||||
templateUrl: './navbar.component.html',
|
||||
styleUrls: ['./navbar.component.scss'],
|
||||
standalone: false
|
||||
})
|
||||
export class NavbarComponent implements OnInit {
|
||||
lang: Lang = {} as Lang; // Current language
|
||||
|
@ -2,7 +2,8 @@ import { Pipe, PipeTransform } from '@angular/core';
|
||||
import { DomSanitizer } from '@angular/platform-browser';
|
||||
|
||||
@Pipe({
|
||||
name: 'safeHtml'
|
||||
name: 'safeHtml',
|
||||
standalone: false
|
||||
})
|
||||
export class SafeHtmlPipe implements PipeTransform {
|
||||
constructor(private sanitizer: DomSanitizer) {}
|
||||
|
@ -1,8 +1,9 @@
|
||||
import { Directive, OnInit, ElementRef } from '@angular/core';
|
||||
|
||||
@Directive({
|
||||
// eslint-disable-next-line @angular-eslint/directive-selector
|
||||
selector: 'uds-translate'
|
||||
// eslint-disable-next-line @angular-eslint/directive-selector
|
||||
selector: 'uds-translate',
|
||||
standalone: false
|
||||
})
|
||||
export class TranslateDirective implements OnInit {
|
||||
|
||||
|
@ -2,9 +2,10 @@ import { Component, OnInit } from '@angular/core';
|
||||
import { UDSApiService } from '../../services/uds-api.service';
|
||||
|
||||
@Component({
|
||||
selector: 'uds-about',
|
||||
templateUrl: './about.component.html',
|
||||
styleUrls: ['./about.component.scss']
|
||||
selector: 'uds-about',
|
||||
templateUrl: './about.component.html',
|
||||
styleUrls: ['./about.component.scss'],
|
||||
standalone: false
|
||||
})
|
||||
export class AboutComponent implements OnInit {
|
||||
year = new Date().getFullYear();
|
||||
|
@ -3,9 +3,10 @@ import { UDSApiService } from '../../services/uds-api.service';
|
||||
import { Downloadable } from '../../types/config';
|
||||
|
||||
@Component({
|
||||
selector: 'uds-client-download',
|
||||
templateUrl: './client-download.component.html',
|
||||
styleUrls: ['./client-download.component.scss']
|
||||
selector: 'uds-client-download',
|
||||
templateUrl: './client-download.component.html',
|
||||
styleUrls: ['./client-download.component.scss'],
|
||||
standalone: false
|
||||
})
|
||||
export class ClientDownloadComponent implements OnInit {
|
||||
|
||||
|
@ -3,9 +3,10 @@ import { UDSApiService } from '../../services/uds-api.service';
|
||||
import { Downloadable } from '../../types/config';
|
||||
|
||||
@Component({
|
||||
selector: 'uds-downloads',
|
||||
templateUrl: './downloads.component.html',
|
||||
styleUrls: ['./downloads.component.scss'],
|
||||
selector: 'uds-downloads',
|
||||
templateUrl: './downloads.component.html',
|
||||
styleUrls: ['./downloads.component.scss'],
|
||||
standalone: false
|
||||
})
|
||||
export class DownloadsComponent implements OnInit {
|
||||
actors: Downloadable[] = [];
|
||||
|
@ -3,9 +3,10 @@ import { ActivatedRoute } from '@angular/router';
|
||||
import { UDSApiService } from '../../services/uds-api.service';
|
||||
|
||||
@Component({
|
||||
selector: 'uds-error',
|
||||
templateUrl: './error.component.html',
|
||||
styleUrls: ['./error.component.css'],
|
||||
selector: 'uds-error',
|
||||
templateUrl: './error.component.html',
|
||||
styleUrls: ['./error.component.css'],
|
||||
standalone: false
|
||||
})
|
||||
export class ErrorComponent implements OnInit {
|
||||
error = '';
|
||||
|
@ -2,9 +2,10 @@ import { Component, OnInit } from '@angular/core';
|
||||
import { UDSApiService } from '../../services/uds-api.service';
|
||||
|
||||
@Component({
|
||||
selector: 'uds-launcher',
|
||||
templateUrl: './launcher.component.html',
|
||||
styleUrls: ['./launcher.component.css']
|
||||
selector: 'uds-launcher',
|
||||
templateUrl: './launcher.component.html',
|
||||
styleUrls: ['./launcher.component.css'],
|
||||
standalone: false
|
||||
})
|
||||
export class LauncherComponent implements OnInit {
|
||||
|
||||
|
@ -4,9 +4,10 @@ import { UDSApiService } from '../../services/uds-api.service';
|
||||
import { Authenticator } from '../../types/config';
|
||||
|
||||
@Component({
|
||||
selector: 'uds-login',
|
||||
templateUrl: './login.component.html',
|
||||
styleUrls: ['./login.component.css'],
|
||||
selector: 'uds-login',
|
||||
templateUrl: './login.component.html',
|
||||
styleUrls: ['./login.component.css'],
|
||||
standalone: false
|
||||
})
|
||||
export class LoginComponent implements OnInit {
|
||||
auths: Authenticator[];
|
||||
|
@ -2,9 +2,10 @@ import { Component, OnInit } from '@angular/core';
|
||||
import { UDSApiService } from '../../services/uds-api.service';
|
||||
|
||||
@Component({
|
||||
selector: 'uds-mfa',
|
||||
templateUrl: './mfa.component.html',
|
||||
styleUrls: ['./mfa.component.scss'],
|
||||
selector: 'uds-mfa',
|
||||
templateUrl: './mfa.component.html',
|
||||
styleUrls: ['./mfa.component.scss'],
|
||||
standalone: false
|
||||
})
|
||||
export class MfaComponent implements OnInit {
|
||||
constructor(public api: UDSApiService) {}
|
||||
|
@ -15,9 +15,10 @@ class GroupedServices {
|
||||
}
|
||||
|
||||
@Component({
|
||||
selector: 'uds-services-page',
|
||||
templateUrl: './services.component.html',
|
||||
styleUrls: ['./services.component.css'],
|
||||
selector: 'uds-services-page',
|
||||
templateUrl: './services.component.html',
|
||||
styleUrls: ['./services.component.css'],
|
||||
standalone: false
|
||||
})
|
||||
export class ServicesComponent implements OnInit {
|
||||
servicesInformation: JSONServicesInformation = {
|
||||
|
Loading…
Reference in New Issue
Block a user