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