Update console dependencies (#2659)
10765
console-webapp/package-lock.json
generated
@@ -16,31 +16,31 @@
|
|||||||
},
|
},
|
||||||
"private": true,
|
"private": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@angular/animations": "^18.0.2",
|
"@angular/animations": "^19.1.4",
|
||||||
"@angular/cdk": "^18.0.2",
|
"@angular/cdk": "^19.1.2",
|
||||||
"@angular/common": "^18.0.2",
|
"@angular/common": "^19.1.4",
|
||||||
"@angular/compiler": "^18.0.2",
|
"@angular/compiler": "^19.1.4",
|
||||||
"@angular/core": "^18.0.2",
|
"@angular/core": "^19.1.4",
|
||||||
"@angular/forms": "^18.0.2",
|
"@angular/forms": "^19.1.4",
|
||||||
"@angular/material": "^18.0.2",
|
"@angular/material": "^19.1.2",
|
||||||
"@angular/platform-browser": "^18.0.2",
|
"@angular/platform-browser": "^19.1.4",
|
||||||
"@angular/platform-browser-dynamic": "^18.0.2",
|
"@angular/platform-browser-dynamic": "^19.1.4",
|
||||||
"@angular/router": "^18.0.2",
|
"@angular/router": "^19.1.4",
|
||||||
"rxjs": "~7.5.0",
|
"rxjs": "~7.5.0",
|
||||||
"tslib": "^2.3.0",
|
"tslib": "^2.3.0",
|
||||||
"zone.js": "~0.14.2"
|
"zone.js": "~0.15.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@angular-devkit/build-angular": "^18.0.3",
|
"@angular-devkit/build-angular": "^19.1.5",
|
||||||
"@angular-eslint/builder": "18.0.1",
|
"@angular-eslint/builder": "19.0.2",
|
||||||
"@angular-eslint/eslint-plugin": "18.0.1",
|
"@angular-eslint/eslint-plugin": "19.0.2",
|
||||||
"@angular-eslint/eslint-plugin-template": "18.0.1",
|
"@angular-eslint/eslint-plugin-template": "19.0.2",
|
||||||
"@angular-eslint/schematics": "18.0.1",
|
"@angular-eslint/schematics": "19.0.2",
|
||||||
"@angular-eslint/template-parser": "18.0.1",
|
"@angular-eslint/template-parser": "19.0.2",
|
||||||
"@angular/cli": "~18.0.3",
|
"@angular/cli": "~19.1.5",
|
||||||
"@angular/compiler-cli": "^18.0.2",
|
"@angular/compiler-cli": "^19.1.4",
|
||||||
"@types/jasmine": "~4.0.0",
|
"@types/jasmine": "~4.0.0",
|
||||||
"@types/node": "^18.11.18",
|
"@types/node": "^18.19.74",
|
||||||
"@typescript-eslint/eslint-plugin": "^7.2.0",
|
"@typescript-eslint/eslint-plugin": "^7.2.0",
|
||||||
"@typescript-eslint/parser": "^7.2.0",
|
"@typescript-eslint/parser": "^7.2.0",
|
||||||
"concurrently": "^7.6.0",
|
"concurrently": "^7.6.0",
|
||||||
@@ -52,6 +52,6 @@
|
|||||||
"karma-jasmine": "~5.1.0",
|
"karma-jasmine": "~5.1.0",
|
||||||
"karma-jasmine-html-reporter": "~2.0.0",
|
"karma-jasmine-html-reporter": "~2.0.0",
|
||||||
"prettier": "2.8.7",
|
"prettier": "2.8.7",
|
||||||
"typescript": "~5.4.5"
|
"typescript": "^5.7.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -24,6 +24,7 @@ import { UserDataService } from './shared/services/userData.service';
|
|||||||
selector: 'app-root',
|
selector: 'app-root',
|
||||||
templateUrl: './app.component.html',
|
templateUrl: './app.component.html',
|
||||||
styleUrls: ['./app.component.scss'],
|
styleUrls: ['./app.component.scss'],
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class AppComponent implements AfterViewInit {
|
export class AppComponent implements AfterViewInit {
|
||||||
@ViewChild(MatSidenav)
|
@ViewChild(MatSidenav)
|
||||||
|
|||||||
@@ -20,6 +20,7 @@ import { MatSnackBar } from '@angular/material/snack-bar';
|
|||||||
selector: 'app-billingInfo',
|
selector: 'app-billingInfo',
|
||||||
templateUrl: './billingInfo.component.html',
|
templateUrl: './billingInfo.component.html',
|
||||||
styleUrls: ['./billingInfo.component.scss'],
|
styleUrls: ['./billingInfo.component.scss'],
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class BillingInfoComponent {
|
export class BillingInfoComponent {
|
||||||
public static PATH = 'billingInfo';
|
public static PATH = 'billingInfo';
|
||||||
|
|||||||
@@ -48,6 +48,7 @@ interface DomainData {
|
|||||||
<button mat-button (click)="onClose()">Close</button>
|
<button mat-button (click)="onClose()">Close</button>
|
||||||
</mat-dialog-actions>
|
</mat-dialog-actions>
|
||||||
`,
|
`,
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class ResponseDialogComponent {
|
export class ResponseDialogComponent {
|
||||||
constructor(
|
constructor(
|
||||||
@@ -79,6 +80,7 @@ export class ResponseDialogComponent {
|
|||||||
</button>
|
</button>
|
||||||
</mat-dialog-actions>
|
</mat-dialog-actions>
|
||||||
`,
|
`,
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class ReasonDialogComponent {
|
export class ReasonDialogComponent {
|
||||||
reason: string = '';
|
reason: string = '';
|
||||||
@@ -102,6 +104,7 @@ export class ReasonDialogComponent {
|
|||||||
selector: 'app-domain-list',
|
selector: 'app-domain-list',
|
||||||
templateUrl: './domainList.component.html',
|
templateUrl: './domainList.component.html',
|
||||||
styleUrls: ['./domainList.component.scss'],
|
styleUrls: ['./domainList.component.scss'],
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class DomainListComponent {
|
export class DomainListComponent {
|
||||||
public static PATH = 'domain-list';
|
public static PATH = 'domain-list';
|
||||||
|
|||||||
@@ -25,6 +25,7 @@ import { RegistryLockService } from './registryLock.service';
|
|||||||
selector: 'app-registry-lock',
|
selector: 'app-registry-lock',
|
||||||
templateUrl: './registryLock.component.html',
|
templateUrl: './registryLock.component.html',
|
||||||
styleUrls: ['./registryLock.component.scss'],
|
styleUrls: ['./registryLock.component.scss'],
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class RegistryLockComponent {
|
export class RegistryLockComponent {
|
||||||
readonly isLocked = computed(() =>
|
readonly isLocked = computed(() =>
|
||||||
|
|||||||
@@ -19,6 +19,7 @@ import { BreakPointObserverService } from '../shared/services/breakPoint.service
|
|||||||
selector: 'app-header',
|
selector: 'app-header',
|
||||||
templateUrl: './header.component.html',
|
templateUrl: './header.component.html',
|
||||||
styleUrls: ['./header.component.scss'],
|
styleUrls: ['./header.component.scss'],
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class HeaderComponent {
|
export class HeaderComponent {
|
||||||
private isNavOpen = false;
|
private isNavOpen = false;
|
||||||
|
|||||||
@@ -25,6 +25,7 @@ import { BreakPointObserverService } from '../shared/services/breakPoint.service
|
|||||||
selector: 'app-home',
|
selector: 'app-home',
|
||||||
templateUrl: './home.component.html',
|
templateUrl: './home.component.html',
|
||||||
styleUrls: ['./home.component.scss'],
|
styleUrls: ['./home.component.scss'],
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class HomeComponent {
|
export class HomeComponent {
|
||||||
constructor(
|
constructor(
|
||||||
|
|||||||
@@ -25,6 +25,7 @@ import { DomainListComponent } from '../domains/domainList.component';
|
|||||||
templateUrl: './registryLockVerify.component.html',
|
templateUrl: './registryLockVerify.component.html',
|
||||||
styleUrls: ['./registryLockVerify.component.scss'],
|
styleUrls: ['./registryLockVerify.component.scss'],
|
||||||
providers: [RegistryLockVerifyService],
|
providers: [RegistryLockVerifyService],
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class RegistryLockVerifyComponent {
|
export class RegistryLockVerifyComponent {
|
||||||
public static PATH = 'registry-lock-verify';
|
public static PATH = 'registry-lock-verify';
|
||||||
|
|||||||
@@ -33,6 +33,7 @@ interface NavMenuNode extends RouteWithIcon {
|
|||||||
selector: 'app-navigation',
|
selector: 'app-navigation',
|
||||||
templateUrl: './navigation.component.html',
|
templateUrl: './navigation.component.html',
|
||||||
styleUrls: ['./navigation.component.scss'],
|
styleUrls: ['./navigation.component.scss'],
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class NavigationComponent {
|
export class NavigationComponent {
|
||||||
renderRouter: boolean = true;
|
renderRouter: boolean = true;
|
||||||
|
|||||||
@@ -26,7 +26,6 @@ export interface OteCreateResponse extends Map<string, string> {
|
|||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-ote',
|
selector: 'app-ote',
|
||||||
standalone: true,
|
|
||||||
imports: [MaterialModule, SnackBarModule],
|
imports: [MaterialModule, SnackBarModule],
|
||||||
templateUrl: './newOte.component.html',
|
templateUrl: './newOte.component.html',
|
||||||
styleUrls: ['./newOte.component.scss'],
|
styleUrls: ['./newOte.component.scss'],
|
||||||
|
|||||||
@@ -31,7 +31,6 @@ export interface OteStatusResponse {
|
|||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-ote-status',
|
selector: 'app-ote-status',
|
||||||
standalone: true,
|
|
||||||
imports: [MaterialModule, SnackBarModule, CommonModule],
|
imports: [MaterialModule, SnackBarModule, CommonModule],
|
||||||
templateUrl: './oteStatus.component.html',
|
templateUrl: './oteStatus.component.html',
|
||||||
styleUrls: ['./oteStatus.component.scss'],
|
styleUrls: ['./oteStatus.component.scss'],
|
||||||
|
|||||||
@@ -33,6 +33,7 @@ interface LocalizedAddressStreet {
|
|||||||
templateUrl: './newRegistrar.component.html',
|
templateUrl: './newRegistrar.component.html',
|
||||||
styleUrls: ['./newRegistrar.component.scss'],
|
styleUrls: ['./newRegistrar.component.scss'],
|
||||||
encapsulation: ViewEncapsulation.None,
|
encapsulation: ViewEncapsulation.None,
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export default class NewRegistrarComponent {
|
export default class NewRegistrarComponent {
|
||||||
protected newRegistrar: Registrar;
|
protected newRegistrar: Registrar;
|
||||||
|
|||||||
@@ -27,6 +27,7 @@ import { environment } from '../../environments/environment';
|
|||||||
selector: 'app-registrar-details',
|
selector: 'app-registrar-details',
|
||||||
templateUrl: './registrarDetails.component.html',
|
templateUrl: './registrarDetails.component.html',
|
||||||
styleUrls: ['./registrarDetails.component.scss'],
|
styleUrls: ['./registrarDetails.component.scss'],
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class RegistrarDetailsComponent implements OnInit {
|
export class RegistrarDetailsComponent implements OnInit {
|
||||||
public static PATH = 'registrars/:id';
|
public static PATH = 'registrars/:id';
|
||||||
|
|||||||
@@ -19,6 +19,7 @@ import { RegistrarService } from './registrar.service';
|
|||||||
selector: 'app-registrar-selector',
|
selector: 'app-registrar-selector',
|
||||||
templateUrl: './registrarSelector.component.html',
|
templateUrl: './registrarSelector.component.html',
|
||||||
styleUrls: ['./registrarSelector.component.scss'],
|
styleUrls: ['./registrarSelector.component.scss'],
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class RegistrarSelectorComponent {
|
export class RegistrarSelectorComponent {
|
||||||
registrarInput = signal<string>(this.registrarService.registrarId());
|
registrarInput = signal<string>(this.registrarService.registrarId());
|
||||||
|
|||||||
@@ -78,6 +78,7 @@ export const columns = [
|
|||||||
templateUrl: './registrarsTable.component.html',
|
templateUrl: './registrarsTable.component.html',
|
||||||
styleUrls: ['./registrarsTable.component.scss'],
|
styleUrls: ['./registrarsTable.component.scss'],
|
||||||
encapsulation: ViewEncapsulation.None,
|
encapsulation: ViewEncapsulation.None,
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class RegistrarComponent {
|
export class RegistrarComponent {
|
||||||
public static PATH = 'registrars';
|
public static PATH = 'registrars';
|
||||||
|
|||||||
@@ -19,6 +19,7 @@ import { UserDataService } from '../shared/services/userData.service';
|
|||||||
selector: 'app-resources',
|
selector: 'app-resources',
|
||||||
templateUrl: './resources.component.html',
|
templateUrl: './resources.component.html',
|
||||||
styleUrls: ['./resources.component.scss'],
|
styleUrls: ['./resources.component.scss'],
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class ResourcesComponent {
|
export class ResourcesComponent {
|
||||||
public static PATH = 'resources';
|
public static PATH = 'resources';
|
||||||
|
|||||||
@@ -27,6 +27,7 @@ import {
|
|||||||
templateUrl: './contact.component.html',
|
templateUrl: './contact.component.html',
|
||||||
styleUrls: ['./contact.component.scss'],
|
styleUrls: ['./contact.component.scss'],
|
||||||
encapsulation: ViewEncapsulation.None,
|
encapsulation: ViewEncapsulation.None,
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export default class ContactComponent {
|
export default class ContactComponent {
|
||||||
public static PATH = 'contact';
|
public static PATH = 'contact';
|
||||||
|
|||||||
@@ -27,6 +27,7 @@ import {
|
|||||||
selector: 'app-contact-details',
|
selector: 'app-contact-details',
|
||||||
templateUrl: './contactDetails.component.html',
|
templateUrl: './contactDetails.component.html',
|
||||||
styleUrls: ['./contactDetails.component.scss'],
|
styleUrls: ['./contactDetails.component.scss'],
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class ContactDetailsComponent {
|
export class ContactDetailsComponent {
|
||||||
protected contactTypeToTextMap = contactTypeToTextMap;
|
protected contactTypeToTextMap = contactTypeToTextMap;
|
||||||
|
|||||||
@@ -33,6 +33,7 @@ type errorFriendlyText = { [type in errorCode]: String };
|
|||||||
selector: 'app-epp-password-edit',
|
selector: 'app-epp-password-edit',
|
||||||
templateUrl: './eppPasswordEdit.component.html',
|
templateUrl: './eppPasswordEdit.component.html',
|
||||||
styleUrls: ['./eppPasswordEdit.component.scss'],
|
styleUrls: ['./eppPasswordEdit.component.scss'],
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export default class EppPasswordEditComponent {
|
export default class EppPasswordEditComponent {
|
||||||
MIN_MAX_LENGHT = new String(
|
MIN_MAX_LENGHT = new String(
|
||||||
|
|||||||
@@ -23,6 +23,7 @@ import { SecurityService, apiToUiConverter } from './security.service';
|
|||||||
selector: 'app-security',
|
selector: 'app-security',
|
||||||
templateUrl: './security.component.html',
|
templateUrl: './security.component.html',
|
||||||
styleUrls: ['./security.component.scss'],
|
styleUrls: ['./security.component.scss'],
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export default class SecurityComponent {
|
export default class SecurityComponent {
|
||||||
public static PATH = 'security';
|
public static PATH = 'security';
|
||||||
|
|||||||
@@ -26,6 +26,7 @@ import { SecurityService, apiToUiConverter } from './security.service';
|
|||||||
selector: 'app-security-edit',
|
selector: 'app-security-edit',
|
||||||
templateUrl: './securityEdit.component.html',
|
templateUrl: './securityEdit.component.html',
|
||||||
styleUrls: ['./securityEdit.component.scss'],
|
styleUrls: ['./securityEdit.component.scss'],
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export default class SecurityEditComponent {
|
export default class SecurityEditComponent {
|
||||||
dataSource: SecuritySettings = {};
|
dataSource: SecuritySettings = {};
|
||||||
|
|||||||
@@ -19,6 +19,7 @@ import { Component, ViewEncapsulation } from '@angular/core';
|
|||||||
templateUrl: './settings.component.html',
|
templateUrl: './settings.component.html',
|
||||||
styleUrls: ['./settings.component.scss'],
|
styleUrls: ['./settings.component.scss'],
|
||||||
encapsulation: ViewEncapsulation.None,
|
encapsulation: ViewEncapsulation.None,
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class SettingsComponent {
|
export class SettingsComponent {
|
||||||
public static PATH = 'settings';
|
public static PATH = 'settings';
|
||||||
|
|||||||
@@ -21,6 +21,7 @@ import { WhoisService } from './whois.service';
|
|||||||
selector: 'app-whois',
|
selector: 'app-whois',
|
||||||
templateUrl: './whois.component.html',
|
templateUrl: './whois.component.html',
|
||||||
styleUrls: ['./whois.component.scss'],
|
styleUrls: ['./whois.component.scss'],
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export default class WhoisComponent {
|
export default class WhoisComponent {
|
||||||
public static PATH = 'whois';
|
public static PATH = 'whois';
|
||||||
|
|||||||
@@ -26,6 +26,7 @@ import { WhoisService } from './whois.service';
|
|||||||
selector: 'app-whois-edit',
|
selector: 'app-whois-edit',
|
||||||
templateUrl: './whoisEdit.component.html',
|
templateUrl: './whoisEdit.component.html',
|
||||||
styleUrls: ['./whoisEdit.component.scss'],
|
styleUrls: ['./whoisEdit.component.scss'],
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export default class WhoisEditComponent {
|
export default class WhoisEditComponent {
|
||||||
registrarInEdit: Registrar | undefined;
|
registrarInEdit: Registrar | undefined;
|
||||||
|
|||||||
@@ -24,6 +24,7 @@ interface Notification {
|
|||||||
selector: 'app-notifications',
|
selector: 'app-notifications',
|
||||||
templateUrl: './notifications.component.html',
|
templateUrl: './notifications.component.html',
|
||||||
styleUrls: ['./notifications.component.scss'],
|
styleUrls: ['./notifications.component.scss'],
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class NotificationsComponent {
|
export class NotificationsComponent {
|
||||||
protected mockNotifications: Notification[] = [
|
protected mockNotifications: Notification[] = [
|
||||||
|
|||||||
@@ -31,6 +31,7 @@ import { RegistrarService } from 'src/app/registrar/registrar.service';
|
|||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
`,
|
`,
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class SelectedRegistrarWrapper {
|
export class SelectedRegistrarWrapper {
|
||||||
constructor(protected registrarService: RegistrarService) {}
|
constructor(protected registrarService: RegistrarService) {}
|
||||||
|
|||||||
@@ -16,6 +16,7 @@ import { Directive, ElementRef, effect } from '@angular/core';
|
|||||||
|
|
||||||
@Directive({
|
@Directive({
|
||||||
selector: '[forceFocus]',
|
selector: '[forceFocus]',
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class ForceFocusDirective {
|
export class ForceFocusDirective {
|
||||||
constructor(private el: ElementRef) {
|
constructor(private el: ElementRef) {
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ import { Directive, HostListener } from '@angular/core';
|
|||||||
|
|
||||||
@Directive({
|
@Directive({
|
||||||
selector: '[backButton]',
|
selector: '[backButton]',
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class LocationBackDirective {
|
export class LocationBackDirective {
|
||||||
constructor(private location: Location) {}
|
constructor(private location: Location) {}
|
||||||
|
|||||||
@@ -35,6 +35,7 @@ export const DISABLED_ELEMENTS_PER_ROLE = {
|
|||||||
|
|
||||||
@Directive({
|
@Directive({
|
||||||
selector: '[elementId]',
|
selector: '[elementId]',
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class UserLevelVisibility {
|
export class UserLevelVisibility {
|
||||||
@Input() elementId!: RESTRICTED_ELEMENTS | null;
|
@Input() elementId!: RESTRICTED_ELEMENTS | null;
|
||||||
|
|||||||
@@ -19,6 +19,7 @@ import { UserDataService } from '../shared/services/userData.service';
|
|||||||
selector: 'app-support',
|
selector: 'app-support',
|
||||||
templateUrl: './support.component.html',
|
templateUrl: './support.component.html',
|
||||||
styleUrls: ['./support.component.scss'],
|
styleUrls: ['./support.component.scss'],
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class SupportComponent {
|
export class SupportComponent {
|
||||||
public static PATH = 'support';
|
public static PATH = 'support';
|
||||||
|
|||||||
@@ -18,5 +18,6 @@ import { Component } from '@angular/core';
|
|||||||
selector: 'app-tlds',
|
selector: 'app-tlds',
|
||||||
templateUrl: './tlds.component.html',
|
templateUrl: './tlds.component.html',
|
||||||
styleUrls: ['./tlds.component.scss'],
|
styleUrls: ['./tlds.component.scss'],
|
||||||
|
standalone: false,
|
||||||
})
|
})
|
||||||
export class TldsComponent {}
|
export class TldsComponent {}
|
||||||
|
|||||||
@@ -14,6 +14,7 @@
|
|||||||
|
|
||||||
.console-app {
|
.console-app {
|
||||||
&__user-details {
|
&__user-details {
|
||||||
|
max-width: 616px;
|
||||||
&-controls {
|
&-controls {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
@@ -34,6 +35,5 @@
|
|||||||
border: 1px solid #ddd;
|
border: 1px solid #ddd;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
}
|
}
|
||||||
max-width: 616px;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -27,7 +27,6 @@ import { UserEditFormComponent } from './userEditForm.component';
|
|||||||
selector: 'app-user-edit',
|
selector: 'app-user-edit',
|
||||||
templateUrl: './userDetails.component.html',
|
templateUrl: './userDetails.component.html',
|
||||||
styleUrls: ['./userDetails.component.scss'],
|
styleUrls: ['./userDetails.component.scss'],
|
||||||
standalone: true,
|
|
||||||
imports: [
|
imports: [
|
||||||
FormsModule,
|
FormsModule,
|
||||||
MaterialModule,
|
MaterialModule,
|
||||||
|
|||||||
@@ -29,19 +29,17 @@ import { User } from './users.service';
|
|||||||
selector: 'app-user-edit-form',
|
selector: 'app-user-edit-form',
|
||||||
templateUrl: './userEditForm.component.html',
|
templateUrl: './userEditForm.component.html',
|
||||||
styleUrls: ['./userEditForm.component.scss'],
|
styleUrls: ['./userEditForm.component.scss'],
|
||||||
standalone: true,
|
|
||||||
imports: [FormsModule, MaterialModule, CommonModule],
|
imports: [FormsModule, MaterialModule, CommonModule],
|
||||||
providers: [],
|
providers: [],
|
||||||
})
|
})
|
||||||
export class UserEditFormComponent {
|
export class UserEditFormComponent {
|
||||||
@ViewChild('form') form!: ElementRef;
|
@ViewChild('form') form!: ElementRef;
|
||||||
isNew = input<boolean>(false);
|
isNew = input<boolean>(false);
|
||||||
user = input<User>(
|
user = input<User, User>(
|
||||||
{
|
{
|
||||||
emailAddress: '',
|
emailAddress: '',
|
||||||
role: 'ACCOUNT_MANAGER',
|
role: 'ACCOUNT_MANAGER',
|
||||||
},
|
},
|
||||||
// @ts-ignore - legit option, typescript fails to match it to a proper type
|
|
||||||
{ transform: (user: User) => structuredClone(user) }
|
{ transform: (user: User) => structuredClone(user) }
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@@ -32,7 +32,6 @@ import { UserEditFormComponent } from './userEditForm.component';
|
|||||||
selector: 'app-users',
|
selector: 'app-users',
|
||||||
templateUrl: './users.component.html',
|
templateUrl: './users.component.html',
|
||||||
styleUrls: ['./users.component.scss'],
|
styleUrls: ['./users.component.scss'],
|
||||||
standalone: true,
|
|
||||||
imports: [
|
imports: [
|
||||||
FormsModule,
|
FormsModule,
|
||||||
MaterialModule,
|
MaterialModule,
|
||||||
|
|||||||
@@ -43,7 +43,6 @@ export const columns = [
|
|||||||
selector: 'app-users-list',
|
selector: 'app-users-list',
|
||||||
templateUrl: './usersList.component.html',
|
templateUrl: './usersList.component.html',
|
||||||
styleUrls: ['./usersList.component.scss'],
|
styleUrls: ['./usersList.component.scss'],
|
||||||
standalone: true,
|
|
||||||
imports: [MaterialModule, CommonModule],
|
imports: [MaterialModule, CommonModule],
|
||||||
providers: [],
|
providers: [],
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
@use "@angular/material" as mat;
|
@use "@angular/material" as mat;
|
||||||
@import "app/registrar/registrarSelector.component.scss";
|
@use "app/registrar/registrarSelector.component.scss";
|
||||||
|
|
||||||
html,
|
html,
|
||||||
body {
|
body {
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
@use "sass:map";
|
@use "sass:map";
|
||||||
@use "sass:math";
|
@use "sass:math";
|
||||||
@use "@angular/material" as mat;
|
@use "@angular/material" as mat;
|
||||||
@use "@material/textfield";
|
|
||||||
|
|
||||||
$secondary-color: #80868b;
|
$secondary-color: #80868b;
|
||||||
$border-color: #dadce0;
|
$border-color: #dadce0;
|
||||||
@@ -13,7 +12,8 @@ $border-color: #dadce0;
|
|||||||
// Include the common styles for Angular Material. We include this here so that you only
|
// Include the common styles for Angular Material. We include this here so that you only
|
||||||
// have to load a single css file for Angular Material in your app.
|
// have to load a single css file for Angular Material in your app.
|
||||||
// Be sure that you only ever include this mixin once!
|
// Be sure that you only ever include this mixin once!
|
||||||
@include mat.core();
|
@include mat.elevation-classes();
|
||||||
|
@include mat.app-background();
|
||||||
|
|
||||||
$typographyConfig: mat.m2-define-typography-config(
|
$typographyConfig: mat.m2-define-typography-config(
|
||||||
$headline-1:
|
$headline-1:
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 127 KiB After Width: | Height: | Size: 129 KiB |
|
Before Width: | Height: | Size: 129 KiB After Width: | Height: | Size: 131 KiB |
|
Before Width: | Height: | Size: 66 KiB After Width: | Height: | Size: 68 KiB |
|
Before Width: | Height: | Size: 51 KiB After Width: | Height: | Size: 53 KiB |
|
Before Width: | Height: | Size: 69 KiB After Width: | Height: | Size: 72 KiB |
|
Before Width: | Height: | Size: 71 KiB After Width: | Height: | Size: 73 KiB |
|
Before Width: | Height: | Size: 72 KiB After Width: | Height: | Size: 74 KiB |