@newheap/platform-common 1.4.0 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/newheap-platform-common-two-factor.mjs +33 -21
- package/fesm2022/newheap-platform-common-two-factor.mjs.map +1 -1
- package/fesm2022/newheap-platform-common.mjs +360 -246
- package/fesm2022/newheap-platform-common.mjs.map +1 -1
- package/index.d.ts +41 -2
- package/package.json +1 -1
- package/two-factor/index.d.ts +2 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as i2$1 from '@angular/common/http';
|
|
2
|
-
import { HttpErrorResponse, HttpParams, HttpClient, HttpHeaders, HttpResponse, HTTP_INTERCEPTORS, provideHttpClient, withInterceptorsFromDi, withFetch } from '@angular/common/http';
|
|
2
|
+
import { HttpErrorResponse, HttpParams, HttpContextToken, HttpClient, HttpHeaders, HttpContext, HttpResponse, HTTP_INTERCEPTORS, provideHttpClient, withInterceptorsFromDi, withFetch } from '@angular/common/http';
|
|
3
3
|
import * as i1$4 from '@angular/forms';
|
|
4
4
|
import { UntypedFormGroup, UntypedFormArray, AbstractControl, NG_VALUE_ACCESSOR, UntypedFormControl, NgForm, FormsModule } from '@angular/forms';
|
|
5
5
|
import * as i0 from '@angular/core';
|
|
6
6
|
import { Injectable, PLATFORM_ID, REQUEST_CONTEXT, Inject, Optional, inject, NgZone, forwardRef, InjectionToken, afterNextRender, makeStateKey, Directive, input, Input, Component, viewChild, output, HostListener, EventEmitter, Pipe, HostBinding, ChangeDetectionStrategy, Output, ViewChild, ViewEncapsulation, model, ErrorHandler, provideAppInitializer, SkipSelf, NgModule } from '@angular/core';
|
|
7
7
|
import * as i1$3 from '@angular/common';
|
|
8
8
|
import { isPlatformServer, DOCUMENT, isPlatformBrowser, DatePipe, CommonModule } from '@angular/common';
|
|
9
|
-
import { BehaviorSubject, lastValueFrom, tap, filter, map, Subject, share, switchMap, EMPTY, timer, exhaustMap, from, Subscription, defer, finalize as finalize$1,
|
|
9
|
+
import { BehaviorSubject, lastValueFrom, tap, catchError, throwError, filter, map, Subject, share, switchMap, EMPTY, timer, exhaustMap, from, Subscription, defer, finalize as finalize$1, of, Observable } from 'rxjs';
|
|
10
10
|
import * as i1 from 'ngx-cookie-service';
|
|
11
11
|
import { DateTime } from 'luxon';
|
|
12
12
|
import { Base64 } from 'js-base64';
|
|
@@ -69,6 +69,11 @@ class AuthenticationNhCommonModuleConfig {
|
|
|
69
69
|
this.additionalDivisionClaimPermissionTypes = [];
|
|
70
70
|
this.endpoints = new EndpointsAuthenticationNhCommonModuleConfig();
|
|
71
71
|
this.loginPath = '/';
|
|
72
|
+
/**
|
|
73
|
+
* Ends the local session when the API answers 401 and the account endpoint confirms that the
|
|
74
|
+
* server no longer accepts the session, for example after a password change on another device.
|
|
75
|
+
*/
|
|
76
|
+
this.endSessionRejectedByServer = true;
|
|
72
77
|
Object.assign(this, init);
|
|
73
78
|
}
|
|
74
79
|
}
|
|
@@ -569,6 +574,8 @@ class AuthSessionExpirationInformation {
|
|
|
569
574
|
this.isAuthenticated = false;
|
|
570
575
|
this.expiresWithin15MinutesOrExpired = false;
|
|
571
576
|
this.displayMinutesSecondsUntilExpiration = '00:00';
|
|
577
|
+
/** The server rejected the session before it expired; it stays set until the next sign-in. */
|
|
578
|
+
this.rejectedByServer = false;
|
|
572
579
|
Object.assign(this, init);
|
|
573
580
|
}
|
|
574
581
|
}
|
|
@@ -1239,10 +1246,10 @@ class NhEncodeHttpParamsInterceptor {
|
|
|
1239
1246
|
const params = new HttpParams({ encoder: new CustomEncoder(), fromString: req.params.toString() });
|
|
1240
1247
|
return next.handle(req.clone({ params }));
|
|
1241
1248
|
}
|
|
1242
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1243
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
1249
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhEncodeHttpParamsInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1250
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhEncodeHttpParamsInterceptor }); }
|
|
1244
1251
|
}
|
|
1245
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1252
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhEncodeHttpParamsInterceptor, decorators: [{
|
|
1246
1253
|
type: Injectable
|
|
1247
1254
|
}] });
|
|
1248
1255
|
class CustomEncoder {
|
|
@@ -2516,10 +2523,10 @@ class NhCookieService {
|
|
|
2516
2523
|
}
|
|
2517
2524
|
}
|
|
2518
2525
|
}
|
|
2519
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2520
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
2526
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhCookieService, deps: [{ token: DOCUMENT }, { token: PLATFORM_ID }, { token: REQUEST_CONTEXT, optional: true }, { token: i1.CookieService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2527
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhCookieService }); }
|
|
2521
2528
|
}
|
|
2522
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2529
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhCookieService, decorators: [{
|
|
2523
2530
|
type: Injectable
|
|
2524
2531
|
}], ctorParameters: () => [{ type: Document, decorators: [{
|
|
2525
2532
|
type: Inject,
|
|
@@ -2644,18 +2651,21 @@ class NhPasskeyClient {
|
|
|
2644
2651
|
static toBase64Url(buffer) {
|
|
2645
2652
|
return Base64.fromUint8Array(new Uint8Array(buffer), true);
|
|
2646
2653
|
}
|
|
2647
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2648
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
2654
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhPasskeyClient, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2655
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhPasskeyClient, providedIn: 'root' }); }
|
|
2649
2656
|
}
|
|
2650
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2657
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhPasskeyClient, decorators: [{
|
|
2651
2658
|
type: Injectable,
|
|
2652
2659
|
args: [{ providedIn: 'root' }]
|
|
2653
2660
|
}] });
|
|
2654
2661
|
|
|
2662
|
+
/** Marks a request whose 401 must not start a server session check, such as the check itself. */
|
|
2663
|
+
const NH_SKIP_SERVER_SESSION_CHECK = new HttpContextToken(() => false);
|
|
2655
2664
|
class BaseNhAuthService {
|
|
2656
2665
|
static { this.pendingTwoFactorChallengeStorageKey = 'nh-two-factor-challenge'; }
|
|
2657
2666
|
static { this.externalTwoFactorChallengePrefix = 'nh-two-factor='; }
|
|
2658
2667
|
static { this.rememberDeviceStorageKey = 'nh-two-factor-device'; }
|
|
2668
|
+
static { this.serverSessionConfirmationMilliseconds = 30_000; }
|
|
2659
2669
|
constructor() {
|
|
2660
2670
|
this.authorization = undefined;
|
|
2661
2671
|
this.pendingTwoFactorChallenge = undefined;
|
|
@@ -2663,6 +2673,8 @@ class BaseNhAuthService {
|
|
|
2663
2673
|
this.authSubject = new BehaviorSubject(this.getAuthorization());
|
|
2664
2674
|
this._sessionExpirationInformation = new BehaviorSubject(this.getSessionExpirationInformation());
|
|
2665
2675
|
this.sessionExpirationInformationChanged = this._sessionExpirationInformation.asObservable();
|
|
2676
|
+
this.serverSessionConfirmedAt = 0;
|
|
2677
|
+
this.sessionRejectedByServer = false;
|
|
2666
2678
|
this.zone = inject(NgZone);
|
|
2667
2679
|
this.moduleConfig = inject(NhCommonModuleConfig);
|
|
2668
2680
|
this.httpClient = inject(HttpClient);
|
|
@@ -2725,6 +2737,7 @@ class BaseNhAuthService {
|
|
|
2725
2737
|
else {
|
|
2726
2738
|
result.expiresWithin15MinutesOrExpired = true;
|
|
2727
2739
|
result.displayMinutesSecondsUntilExpiration = `00:00`;
|
|
2740
|
+
result.rejectedByServer = this.sessionRejectedByServer;
|
|
2728
2741
|
}
|
|
2729
2742
|
return result;
|
|
2730
2743
|
}
|
|
@@ -2745,6 +2758,8 @@ class BaseNhAuthService {
|
|
|
2745
2758
|
setAuthorization(auth, noEvent = false) {
|
|
2746
2759
|
localStorage.setItem('at', Base64.encode(JSON.stringify(auth)));
|
|
2747
2760
|
this.authorization = auth;
|
|
2761
|
+
this.sessionRejectedByServer = false;
|
|
2762
|
+
this.serverSessionConfirmedAt = 0;
|
|
2748
2763
|
if (!noEvent) {
|
|
2749
2764
|
this.authSubject.next(this.authorization);
|
|
2750
2765
|
}
|
|
@@ -3520,6 +3535,53 @@ class BaseNhAuthService {
|
|
|
3520
3535
|
}
|
|
3521
3536
|
return result;
|
|
3522
3537
|
}
|
|
3538
|
+
/**
|
|
3539
|
+
* Asks the account information endpoint whether the server still accepts the current session.
|
|
3540
|
+
* When the server answers 401, for example after a password change on another device, the local
|
|
3541
|
+
* session ends and the session expiration information reports `rejectedByServer`. Concurrent
|
|
3542
|
+
* checks share one request, and a confirmed session is not checked again for 30 seconds.
|
|
3543
|
+
* @returns `false` only when there is no session or the server rejected it.
|
|
3544
|
+
*/
|
|
3545
|
+
verifyServerSession() {
|
|
3546
|
+
if (!this.isAuthenticated()) {
|
|
3547
|
+
return Promise.resolve(false);
|
|
3548
|
+
}
|
|
3549
|
+
if (Date.now() - this.serverSessionConfirmedAt < BaseNhAuthService.serverSessionConfirmationMilliseconds) {
|
|
3550
|
+
return Promise.resolve(true);
|
|
3551
|
+
}
|
|
3552
|
+
this.serverSessionCheck ??= this.checkServerSession().finally(() => {
|
|
3553
|
+
this.serverSessionCheck = undefined;
|
|
3554
|
+
});
|
|
3555
|
+
return this.serverSessionCheck;
|
|
3556
|
+
}
|
|
3557
|
+
async checkServerSession() {
|
|
3558
|
+
const checkedAuthorization = this.getAuthorization();
|
|
3559
|
+
let httpHeaders = new HttpHeaders();
|
|
3560
|
+
if (this.moduleConfig.authType === 'header' && (checkedAuthorization?.token?.length ?? 0) > 0) {
|
|
3561
|
+
httpHeaders = httpHeaders.set('Authorization', `Bearer ${checkedAuthorization.token}`);
|
|
3562
|
+
}
|
|
3563
|
+
const request$ = this.httpClient.get(this.moduleConfig.authApiBaseUrl + this.moduleConfig.authentication.endpoints.accountInformation, {
|
|
3564
|
+
params: new HttpParams().set('language', this.moduleConfig.language),
|
|
3565
|
+
headers: httpHeaders,
|
|
3566
|
+
withCredentials: true,
|
|
3567
|
+
context: new HttpContext().set(NH_SKIP_SERVER_SESSION_CHECK, true)
|
|
3568
|
+
});
|
|
3569
|
+
try {
|
|
3570
|
+
await lastValueFrom(request$);
|
|
3571
|
+
this.serverSessionConfirmedAt = Date.now();
|
|
3572
|
+
return true;
|
|
3573
|
+
}
|
|
3574
|
+
catch (ex) {
|
|
3575
|
+
const rejected = ex instanceof HttpErrorResponse && ex.status === 401;
|
|
3576
|
+
// Other failures say nothing about the session, and a sign-in during the check replaced it.
|
|
3577
|
+
if (!rejected || this.getAuthorization() !== checkedAuthorization) {
|
|
3578
|
+
return true;
|
|
3579
|
+
}
|
|
3580
|
+
this.sessionRejectedByServer = true;
|
|
3581
|
+
this.clearAuthorization();
|
|
3582
|
+
return false;
|
|
3583
|
+
}
|
|
3584
|
+
}
|
|
3523
3585
|
async logout() {
|
|
3524
3586
|
const result = new TaskResult();
|
|
3525
3587
|
const refreshToken = this.getAuthorization()?.refreshToken ?? null;
|
|
@@ -3611,10 +3673,10 @@ class BaseNhAuthService {
|
|
|
3611
3673
|
}
|
|
3612
3674
|
return result;
|
|
3613
3675
|
}
|
|
3614
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3615
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
3676
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: BaseNhAuthService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3677
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: BaseNhAuthService }); }
|
|
3616
3678
|
}
|
|
3617
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3679
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: BaseNhAuthService, decorators: [{
|
|
3618
3680
|
type: Injectable
|
|
3619
3681
|
}], ctorParameters: () => [] });
|
|
3620
3682
|
class NhAuthService extends BaseNhAuthService {
|
|
@@ -3624,10 +3686,10 @@ class NhAuthService extends BaseNhAuthService {
|
|
|
3624
3686
|
constructor() {
|
|
3625
3687
|
super();
|
|
3626
3688
|
}
|
|
3627
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3628
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
3689
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhAuthService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3690
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhAuthService }); }
|
|
3629
3691
|
}
|
|
3630
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3692
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhAuthService, decorators: [{
|
|
3631
3693
|
type: Injectable
|
|
3632
3694
|
}], ctorParameters: () => [] });
|
|
3633
3695
|
|
|
@@ -3638,10 +3700,10 @@ class NhRequestScopedServerHttpInterceptorService {
|
|
|
3638
3700
|
this.requestContext = requestContext;
|
|
3639
3701
|
this.didSetCookies = false;
|
|
3640
3702
|
}
|
|
3641
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3642
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
3703
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhRequestScopedServerHttpInterceptorService, deps: [{ token: NhCommonModuleConfig }, { token: PLATFORM_ID }, { token: REQUEST_CONTEXT, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3704
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhRequestScopedServerHttpInterceptorService, providedIn: 'root' }); }
|
|
3643
3705
|
}
|
|
3644
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3706
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhRequestScopedServerHttpInterceptorService, decorators: [{
|
|
3645
3707
|
type: Injectable,
|
|
3646
3708
|
args: [{
|
|
3647
3709
|
providedIn: 'root'
|
|
@@ -3725,10 +3787,10 @@ class NhServerHttpInterceptor {
|
|
|
3725
3787
|
}
|
|
3726
3788
|
}));
|
|
3727
3789
|
}
|
|
3728
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3729
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
3790
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhServerHttpInterceptor, deps: [{ token: NhCommonModuleConfig }, { token: PLATFORM_ID }, { token: DOCUMENT }, { token: NhRequestScopedServerHttpInterceptorService }, { token: NhCookieService }, { token: NhAuthService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3791
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhServerHttpInterceptor }); }
|
|
3730
3792
|
}
|
|
3731
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3793
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhServerHttpInterceptor, decorators: [{
|
|
3732
3794
|
type: Injectable
|
|
3733
3795
|
}], ctorParameters: () => [{ type: NhCommonModuleConfig }, { type: Object, decorators: [{
|
|
3734
3796
|
type: Inject,
|
|
@@ -3765,13 +3827,51 @@ class NhDeduplicateGetRequestsInterceptor {
|
|
|
3765
3827
|
.join('|');
|
|
3766
3828
|
return `${req.method.toUpperCase()} ${req.urlWithParams} ${headerKey}`;
|
|
3767
3829
|
}
|
|
3768
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3769
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
3830
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhDeduplicateGetRequestsInterceptor, deps: [{ token: NhCommonModuleConfig }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3831
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhDeduplicateGetRequestsInterceptor }); }
|
|
3770
3832
|
}
|
|
3771
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3833
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhDeduplicateGetRequestsInterceptor, decorators: [{
|
|
3772
3834
|
type: Injectable
|
|
3773
3835
|
}], ctorParameters: () => [{ type: NhCommonModuleConfig }] });
|
|
3774
3836
|
|
|
3837
|
+
/**
|
|
3838
|
+
* Ends a session that the NewHeap API no longer accepts. A 401 from the API while the browser
|
|
3839
|
+
* still holds a session asks the auth service to check that session with the server. Only a 401
|
|
3840
|
+
* from the account endpoint ends it, so an endpoint that answers 401 for another reason never
|
|
3841
|
+
* signs the user out. The original error still reaches the caller.
|
|
3842
|
+
*/
|
|
3843
|
+
class NhSessionRejectionInterceptor {
|
|
3844
|
+
constructor(moduleConfig, authService) {
|
|
3845
|
+
this.moduleConfig = moduleConfig;
|
|
3846
|
+
this.authService = authService;
|
|
3847
|
+
}
|
|
3848
|
+
intercept(req, next) {
|
|
3849
|
+
if (!this.appliesTo(req)) {
|
|
3850
|
+
return next.handle(req);
|
|
3851
|
+
}
|
|
3852
|
+
return next.handle(req).pipe(catchError((error) => {
|
|
3853
|
+
if (error instanceof HttpErrorResponse && error.status === 401 && this.authService.isAuthenticated()) {
|
|
3854
|
+
void this.authService.verifyServerSession();
|
|
3855
|
+
}
|
|
3856
|
+
return throwError(() => error);
|
|
3857
|
+
}));
|
|
3858
|
+
}
|
|
3859
|
+
appliesTo(req) {
|
|
3860
|
+
if (this.moduleConfig.authentication?.endSessionRejectedByServer === false || req.context.get(NH_SKIP_SERVER_SESSION_CHECK)) {
|
|
3861
|
+
return false;
|
|
3862
|
+
}
|
|
3863
|
+
return this.isUnder(req.url, this.moduleConfig.apiBaseUrl) || this.isUnder(req.url, this.moduleConfig.authApiBaseUrl);
|
|
3864
|
+
}
|
|
3865
|
+
isUnder(url, baseUrl) {
|
|
3866
|
+
return (baseUrl?.length ?? 0) > 0 && url.startsWith(baseUrl);
|
|
3867
|
+
}
|
|
3868
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhSessionRejectionInterceptor, deps: [{ token: NhCommonModuleConfig }, { token: NhAuthService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3869
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhSessionRejectionInterceptor }); }
|
|
3870
|
+
}
|
|
3871
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhSessionRejectionInterceptor, decorators: [{
|
|
3872
|
+
type: Injectable
|
|
3873
|
+
}], ctorParameters: () => [{ type: NhCommonModuleConfig }, { type: NhAuthService }] });
|
|
3874
|
+
|
|
3775
3875
|
class AbstractValueAccessor {
|
|
3776
3876
|
constructor() {
|
|
3777
3877
|
this._value = '';
|
|
@@ -3827,10 +3927,10 @@ class NhErrorHandlerService {
|
|
|
3827
3927
|
}
|
|
3828
3928
|
}
|
|
3829
3929
|
}
|
|
3830
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3831
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
3930
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhErrorHandlerService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3931
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhErrorHandlerService, providedIn: 'root' }); }
|
|
3832
3932
|
}
|
|
3833
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3933
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhErrorHandlerService, decorators: [{
|
|
3834
3934
|
type: Injectable,
|
|
3835
3935
|
args: [{ providedIn: 'root' }]
|
|
3836
3936
|
}], ctorParameters: () => [{ type: i0.Injector }] });
|
|
@@ -3915,10 +4015,10 @@ class NhAppService {
|
|
|
3915
4015
|
}
|
|
3916
4016
|
return this.transferState.get(stateKey, undefined);
|
|
3917
4017
|
}
|
|
3918
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3919
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
4018
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhAppService, deps: [{ token: DOCUMENT }, { token: PLATFORM_ID }, { token: i0.ApplicationRef }, { token: i0.TransferState }, { token: i1$1.Router }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4019
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhAppService, providedIn: 'root' }); }
|
|
3920
4020
|
}
|
|
3921
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4021
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhAppService, decorators: [{
|
|
3922
4022
|
type: Injectable,
|
|
3923
4023
|
args: [{
|
|
3924
4024
|
providedIn: 'root',
|
|
@@ -4037,10 +4137,10 @@ class NhJsonLdService {
|
|
|
4037
4137
|
item.data = { ...item.data, ...placeholderItem.data };
|
|
4038
4138
|
}
|
|
4039
4139
|
}
|
|
4040
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4041
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
4140
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhJsonLdService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4141
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhJsonLdService, providedIn: 'root' }); }
|
|
4042
4142
|
}
|
|
4043
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4143
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhJsonLdService, decorators: [{
|
|
4044
4144
|
type: Injectable,
|
|
4045
4145
|
args: [{
|
|
4046
4146
|
providedIn: 'root'
|
|
@@ -4189,10 +4289,10 @@ class NhConfigCommonService {
|
|
|
4189
4289
|
this.setConfig(this.config);
|
|
4190
4290
|
await lastValueFrom(this.translateService.use(newLanguageCode));
|
|
4191
4291
|
}
|
|
4192
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4193
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
4292
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhConfigCommonService, deps: [{ token: DOCUMENT }, { token: PLATFORM_ID }, { token: REQUEST_CONTEXT, optional: true }, { token: NhAuthService }, { token: i2.TranslateService }, { token: NhCookieService }, { token: NhCommonModuleConfig }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4293
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhConfigCommonService, providedIn: 'root' }); }
|
|
4194
4294
|
}
|
|
4195
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4295
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhConfigCommonService, decorators: [{
|
|
4196
4296
|
type: Injectable,
|
|
4197
4297
|
args: [{
|
|
4198
4298
|
providedIn: 'root',
|
|
@@ -4219,10 +4319,10 @@ class NhTitleService {
|
|
|
4219
4319
|
this.titleService.setTitle(title);
|
|
4220
4320
|
this.title.next(title);
|
|
4221
4321
|
}
|
|
4222
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4223
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
4322
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhTitleService, deps: [{ token: i1$2.Title }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4323
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhTitleService, providedIn: 'root' }); }
|
|
4224
4324
|
}
|
|
4225
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4325
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhTitleService, decorators: [{
|
|
4226
4326
|
type: Injectable,
|
|
4227
4327
|
args: [{
|
|
4228
4328
|
providedIn: 'root',
|
|
@@ -4280,10 +4380,10 @@ class NhMetaService {
|
|
|
4280
4380
|
}
|
|
4281
4381
|
}
|
|
4282
4382
|
}
|
|
4283
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4284
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
4383
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhMetaService, deps: [{ token: i1$2.Meta }, { token: i0.RendererFactory2 }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4384
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhMetaService, providedIn: 'root' }); }
|
|
4285
4385
|
}
|
|
4286
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4386
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhMetaService, decorators: [{
|
|
4287
4387
|
type: Injectable,
|
|
4288
4388
|
args: [{
|
|
4289
4389
|
providedIn: 'root'
|
|
@@ -4484,10 +4584,10 @@ class NhRouterSetupService {
|
|
|
4484
4584
|
}
|
|
4485
4585
|
return activatedRoute;
|
|
4486
4586
|
}
|
|
4487
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4488
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
4587
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhRouterSetupService, deps: [{ token: NhCommonModuleConfig }, { token: i2.TranslateService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4588
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhRouterSetupService, providedIn: 'root' }); }
|
|
4489
4589
|
}
|
|
4490
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4590
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhRouterSetupService, decorators: [{
|
|
4491
4591
|
type: Injectable,
|
|
4492
4592
|
args: [{
|
|
4493
4593
|
providedIn: 'root',
|
|
@@ -4771,10 +4871,10 @@ class NhRouterService {
|
|
|
4771
4871
|
processRoute(rootRoute);
|
|
4772
4872
|
return sitemap;
|
|
4773
4873
|
}
|
|
4774
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4775
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
4874
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhRouterService, deps: [{ token: NhCommonModuleConfig }, { token: i2.TranslateService }, { token: NhRouterSetupService }, { token: i1$1.Router }, { token: i1$1.ActivatedRoute }, { token: NH_ROUTER_ROOT_ROUTES, optional: true }, { token: NH_ROUTER_LANGUAGE_CHANGE_METHOD, optional: true }, { token: REQUEST_CONTEXT, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4875
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhRouterService, providedIn: 'root' }); }
|
|
4776
4876
|
}
|
|
4777
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4877
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhRouterService, decorators: [{
|
|
4778
4878
|
type: Injectable,
|
|
4779
4879
|
args: [{
|
|
4780
4880
|
providedIn: 'root',
|
|
@@ -4945,10 +5045,10 @@ class NhPageService {
|
|
|
4945
5045
|
navigateTo404NotFound(navigationExtras) {
|
|
4946
5046
|
return this.routerService.navigate({ id: 'root.home.not-found' }, navigationExtras);
|
|
4947
5047
|
}
|
|
4948
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4949
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
5048
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhPageService, deps: [{ token: DOCUMENT }, { token: PLATFORM_ID }, { token: NhCommonModuleConfig }, { token: i0.ApplicationRef }, { token: NhAppService }, { token: NhConfigCommonService }, { token: NhAuthService }, { token: i2.TranslateService }, { token: NhTitleService }, { token: NhMetaService }, { token: NhJsonLdService }, { token: NhRouterService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5049
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhPageService, providedIn: 'root' }); }
|
|
4950
5050
|
}
|
|
4951
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
5051
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhPageService, decorators: [{
|
|
4952
5052
|
type: Injectable,
|
|
4953
5053
|
args: [{
|
|
4954
5054
|
providedIn: 'root'
|
|
@@ -5434,10 +5534,10 @@ class NhApiService {
|
|
|
5434
5534
|
withCredentials: requestOptions.withCredentials
|
|
5435
5535
|
}).pipe(share());
|
|
5436
5536
|
}
|
|
5437
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
5438
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
5537
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhApiService, deps: [{ token: NhCommonModuleConfig }, { token: i2$1.HttpClient }, { token: NhAuthService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5538
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhApiService, providedIn: 'root' }); }
|
|
5439
5539
|
}
|
|
5440
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
5540
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhApiService, decorators: [{
|
|
5441
5541
|
type: Injectable,
|
|
5442
5542
|
args: [{
|
|
5443
5543
|
providedIn: 'root',
|
|
@@ -5448,10 +5548,10 @@ class NhModalContentDirective {
|
|
|
5448
5548
|
constructor(viewContainerRef) {
|
|
5449
5549
|
this.viewContainerRef = viewContainerRef;
|
|
5450
5550
|
}
|
|
5451
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
5452
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
5551
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhModalContentDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
5552
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.33", type: NhModalContentDirective, isStandalone: false, selector: "[nhModalContent]", ngImport: i0 }); }
|
|
5453
5553
|
}
|
|
5454
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
5554
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhModalContentDirective, decorators: [{
|
|
5455
5555
|
type: Directive,
|
|
5456
5556
|
args: [{
|
|
5457
5557
|
selector: '[nhModalContent]',
|
|
@@ -5475,10 +5575,10 @@ class NhLoaderComponent {
|
|
|
5475
5575
|
this.backdropTransparent = input(true, ...(ngDevMode ? [{ debugName: "backdropTransparent" }] : []));
|
|
5476
5576
|
this._containerClass = '';
|
|
5477
5577
|
}
|
|
5478
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
5479
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.
|
|
5578
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhLoaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5579
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.33", type: NhLoaderComponent, isStandalone: false, selector: "nh-loader", inputs: { dark: { classPropertyName: "dark", publicName: "dark", isSignal: true, isRequired: false, transformFunction: null }, hasBackdrop: { classPropertyName: "hasBackdrop", publicName: "hasBackdrop", isSignal: true, isRequired: false, transformFunction: null }, backdropTransparent: { classPropertyName: "backdropTransparent", publicName: "backdropTransparent", isSignal: true, isRequired: false, transformFunction: null }, containerClass: { classPropertyName: "containerClass", publicName: "containerClass", isSignal: false, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<div #loader [class]=\"containerClass\" [class.dark]=\"dark()\" [class.backdrop]=\"hasBackdrop()\" [class.noTrans]=\"!backdropTransparent()\">\n <div class=\"spinner\"></div>\n</div>\n", styles: [".backdrop{position:absolute;width:100%;height:100%;text-align:center;z-index:15;background-color:#fff6;top:0;left:0;display:flex;align-items:center;justify-content:space-around;border-radius:5px}.backdrop.noTrans{background-color:#fff}.spinner{display:inline-block;position:relative;width:44px;height:44px;border-radius:50%;border:4px solid transparent;border-top:4px solid #FF5722;animation:spin 1.5s linear infinite;box-shadow:inset 0 0 25px 25px #fff,0 0 0 5px #fff;background-color:#d8d8d8}.dark .spinner{box-shadow:inset 0 0 25px 25px #071e2b,0 0 0 5px #061a25;background-color:#000}\n"] }); }
|
|
5480
5580
|
}
|
|
5481
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
5581
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhLoaderComponent, decorators: [{
|
|
5482
5582
|
type: Component,
|
|
5483
5583
|
args: [{ selector: 'nh-loader', standalone: false, template: "<div #loader [class]=\"containerClass\" [class.dark]=\"dark()\" [class.backdrop]=\"hasBackdrop()\" [class.noTrans]=\"!backdropTransparent()\">\n <div class=\"spinner\"></div>\n</div>\n", styles: [".backdrop{position:absolute;width:100%;height:100%;text-align:center;z-index:15;background-color:#fff6;top:0;left:0;display:flex;align-items:center;justify-content:space-around;border-radius:5px}.backdrop.noTrans{background-color:#fff}.spinner{display:inline-block;position:relative;width:44px;height:44px;border-radius:50%;border:4px solid transparent;border-top:4px solid #FF5722;animation:spin 1.5s linear infinite;box-shadow:inset 0 0 25px 25px #fff,0 0 0 5px #fff;background-color:#d8d8d8}.dark .spinner{box-shadow:inset 0 0 25px 25px #071e2b,0 0 0 5px #061a25;background-color:#000}\n"] }]
|
|
5484
5584
|
}], ctorParameters: () => [], propDecorators: { dark: [{ type: i0.Input, args: [{ isSignal: true, alias: "dark", required: false }] }], hasBackdrop: [{ type: i0.Input, args: [{ isSignal: true, alias: "hasBackdrop", required: false }] }], backdropTransparent: [{ type: i0.Input, args: [{ isSignal: true, alias: "backdropTransparent", required: false }] }], containerClass: [{
|
|
@@ -5527,10 +5627,10 @@ class NhModalComponentImpl {
|
|
|
5527
5627
|
appOnDestroy() {
|
|
5528
5628
|
return Promise.resolve();
|
|
5529
5629
|
}
|
|
5530
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
5531
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
5630
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhModalComponentImpl, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
5631
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.33", type: NhModalComponentImpl, isStandalone: true, usesOnChanges: true, ngImport: i0 }); }
|
|
5532
5632
|
}
|
|
5533
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
5633
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhModalComponentImpl, decorators: [{
|
|
5534
5634
|
type: Directive
|
|
5535
5635
|
}] });
|
|
5536
5636
|
class NhModalComponent {
|
|
@@ -5617,10 +5717,10 @@ class NhModalComponent {
|
|
|
5617
5717
|
}
|
|
5618
5718
|
modalScrollMove(y) {
|
|
5619
5719
|
}
|
|
5620
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
5621
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
5720
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5721
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.33", type: NhModalComponent, isStandalone: false, selector: "nh-modal", outputs: { closed: "closed" }, viewQueries: [{ propertyName: "modalContent", first: true, predicate: NhModalContentDirective, descendants: true, isSignal: true }, { propertyName: "modalHolder", first: true, predicate: ["modalHolder"], descendants: true, isSignal: true }, { propertyName: "modalBackdrop", first: true, predicate: ["modalBackdrop"], descendants: true, isSignal: true }, { propertyName: "modal", first: true, predicate: ["modal"], descendants: true, isSignal: true }], ngImport: i0, template: "<div #modalHolder (touchmove)=\"modalTouchMove($event)\" (touchcancel)=\"modalTouchEnd($event)\"\n (touchend)=\"modalTouchEnd($event)\" (mousemove)=\"modalMouseMove($event)\" (mouseup)=\"modalMouseUp($event)\"\n role=\"dialog\" class=\"nh-modal-holder\" [ngClass]=\"modalHolderClasses\">\n <div #modalBackdrop class=\"nh-modal-backdrop\"></div>\n <div #modal class=\"nh-modal\" [ngClass]=\"modalClasses\" style=\"transform: translateY(100vh);\">\n <div class=\"nh-modal-header\" [ngClass]=\"modalHeaderClasses\">\n <h3>{{ title }}</h3>\n @if (closeable) {\n <button (click)=\"close()\" class=\"close-nh-modal bg-white small font-grey\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 320 512\">\n <path fill=\"black\"\n d=\"M312.1 375c9.369 9.369 9.369 24.57 0 33.94s-24.57 9.369-33.94 0L160 289.9l-119 119c-9.369 9.369-24.57 9.369-33.94 0s-9.369-24.57 0-33.94L126.1 256L7.027 136.1c-9.369-9.369-9.369-24.57 0-33.94s24.57-9.369 33.94 0L160 222.1l119-119c9.369-9.369 24.57-9.369 33.94 0s9.369 24.57 0 33.94L193.9 256L312.1 375z\"/>\n </svg>\n </button>\n }\n </div>\n <div class=\"nh-modal-body\" [ngClass]=\"modalBodyClasses\">\n @if (isLoading) {\n <nh-loader></nh-loader>\n }\n <div (touchstart)=\"modalTouchStart($event)\" (mousedown)=\"modalSlideStart($event)\" class=\"nh-modal-slider\"></div>\n <ng-template nhModalContent></ng-template>\n </div>\n </div>\n </div>\n", styles: [".nh-modal hr{height:2px;border:0;margin:10px 0;padding:0;background-color:#bababa;display:block;width:calc(100% + 40px);border-radius:2px}.nh-modal-body{padding:0;margin:0;background-color:transparent}.nh-modal-body.p-0,.nh-modal-body .container-text{padding:0!important}.nh-modal-holder{overflow:auto;position:fixed;top:0;left:0;width:100%;height:100%;z-index:250000;display:grid;place-items:center;overscroll-behavior:none}@media all and (max-width:768px){.nh-modal-holder{max-width:calc(100% - 30px);margin:0 auto}}.nh-modal-backdrop{content:\" \";background-color:#000000d9;opacity:0;transition:opacity .5s;will-change:opacity;position:fixed;left:0;top:0;width:100%;height:100%}.nh-modal{background-color:var(--color-background-white);border-radius:5px;max-width:95vw;width:600px;position:relative;margin:100px auto}.nh-modal .nh-modal-body{padding:20px;border-top:2px solid #dcdcdc;border-top-left-radius:5px;border-top-right-radius:5px}.nh-modal .nh-modal-body ::ng-deep h1.header{background-color:#255a34;color:#fff;border-radius:15px;text-align:center}.nh-modal.large{width:1000px!important}.nh-modal.large .nh-modal-header{margin-top:-72px}.nh-modal>strong{text-align:center;font-size:1.5em}.nh-modal button{font-size:1em}.nh-modal .nh-modal-header{margin-top:-67px}.nh-modal .nh-modal-header h3{margin-bottom:0;padding:10px 20px;border-top-left-radius:5px;border-top-right-radius:5px;color:#fff;min-height:48px}.nh-modal .large .nh-modal-header h3{min-height:51px}.nh-modal .close-nh-modal{position:absolute;right:6px;top:-45px;font-size:13px;background-color:transparent;height:40px;border:2px solid #255A34;padding:0 15px}.nh-modal .close-nh-modal svg{height:10px;fill:#000}.nh-modal .nh-modal-slider{display:none}@media all and (max-width:768px){.nh-modal{max-width:calc(100vw - 30px)!important;margin:0 auto}}@media all and (max-width:768px){.nh-modal .large-padding{padding-left:3em;padding-right:3em}}@media only screen and (max-width:920px){.nh-modal-holder{place-items:end}.nh-modal-holder .nh-modal{border-bottom-left-radius:0;border-bottom-right-radius:0;max-width:100vw;transition:transform .5s}.nh-modal-holder .nh-modal-body{padding:0 20px 15px}.nh-modal-holder .nh-modal-slider{width:100%;display:block}.nh-modal-holder.slidable .nh-modal-slider{cursor:pointer}.nh-modal-holder.slidable .nh-modal-slider:before{content:\" \";width:40px;border-radius:2px;display:block;margin:0 auto;height:3px;background-color:#bababa}}\n"], dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: NhLoaderComponent, selector: "nh-loader", inputs: ["dark", "hasBackdrop", "backdropTransparent", "containerClass"] }, { kind: "directive", type: NhModalContentDirective, selector: "[nhModalContent]" }] }); }
|
|
5622
5722
|
}
|
|
5623
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
5723
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhModalComponent, decorators: [{
|
|
5624
5724
|
type: Component,
|
|
5625
5725
|
args: [{ selector: 'nh-modal', standalone: false, template: "<div #modalHolder (touchmove)=\"modalTouchMove($event)\" (touchcancel)=\"modalTouchEnd($event)\"\n (touchend)=\"modalTouchEnd($event)\" (mousemove)=\"modalMouseMove($event)\" (mouseup)=\"modalMouseUp($event)\"\n role=\"dialog\" class=\"nh-modal-holder\" [ngClass]=\"modalHolderClasses\">\n <div #modalBackdrop class=\"nh-modal-backdrop\"></div>\n <div #modal class=\"nh-modal\" [ngClass]=\"modalClasses\" style=\"transform: translateY(100vh);\">\n <div class=\"nh-modal-header\" [ngClass]=\"modalHeaderClasses\">\n <h3>{{ title }}</h3>\n @if (closeable) {\n <button (click)=\"close()\" class=\"close-nh-modal bg-white small font-grey\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 320 512\">\n <path fill=\"black\"\n d=\"M312.1 375c9.369 9.369 9.369 24.57 0 33.94s-24.57 9.369-33.94 0L160 289.9l-119 119c-9.369 9.369-24.57 9.369-33.94 0s-9.369-24.57 0-33.94L126.1 256L7.027 136.1c-9.369-9.369-9.369-24.57 0-33.94s24.57-9.369 33.94 0L160 222.1l119-119c9.369-9.369 24.57-9.369 33.94 0s9.369 24.57 0 33.94L193.9 256L312.1 375z\"/>\n </svg>\n </button>\n }\n </div>\n <div class=\"nh-modal-body\" [ngClass]=\"modalBodyClasses\">\n @if (isLoading) {\n <nh-loader></nh-loader>\n }\n <div (touchstart)=\"modalTouchStart($event)\" (mousedown)=\"modalSlideStart($event)\" class=\"nh-modal-slider\"></div>\n <ng-template nhModalContent></ng-template>\n </div>\n </div>\n </div>\n", styles: [".nh-modal hr{height:2px;border:0;margin:10px 0;padding:0;background-color:#bababa;display:block;width:calc(100% + 40px);border-radius:2px}.nh-modal-body{padding:0;margin:0;background-color:transparent}.nh-modal-body.p-0,.nh-modal-body .container-text{padding:0!important}.nh-modal-holder{overflow:auto;position:fixed;top:0;left:0;width:100%;height:100%;z-index:250000;display:grid;place-items:center;overscroll-behavior:none}@media all and (max-width:768px){.nh-modal-holder{max-width:calc(100% - 30px);margin:0 auto}}.nh-modal-backdrop{content:\" \";background-color:#000000d9;opacity:0;transition:opacity .5s;will-change:opacity;position:fixed;left:0;top:0;width:100%;height:100%}.nh-modal{background-color:var(--color-background-white);border-radius:5px;max-width:95vw;width:600px;position:relative;margin:100px auto}.nh-modal .nh-modal-body{padding:20px;border-top:2px solid #dcdcdc;border-top-left-radius:5px;border-top-right-radius:5px}.nh-modal .nh-modal-body ::ng-deep h1.header{background-color:#255a34;color:#fff;border-radius:15px;text-align:center}.nh-modal.large{width:1000px!important}.nh-modal.large .nh-modal-header{margin-top:-72px}.nh-modal>strong{text-align:center;font-size:1.5em}.nh-modal button{font-size:1em}.nh-modal .nh-modal-header{margin-top:-67px}.nh-modal .nh-modal-header h3{margin-bottom:0;padding:10px 20px;border-top-left-radius:5px;border-top-right-radius:5px;color:#fff;min-height:48px}.nh-modal .large .nh-modal-header h3{min-height:51px}.nh-modal .close-nh-modal{position:absolute;right:6px;top:-45px;font-size:13px;background-color:transparent;height:40px;border:2px solid #255A34;padding:0 15px}.nh-modal .close-nh-modal svg{height:10px;fill:#000}.nh-modal .nh-modal-slider{display:none}@media all and (max-width:768px){.nh-modal{max-width:calc(100vw - 30px)!important;margin:0 auto}}@media all and (max-width:768px){.nh-modal .large-padding{padding-left:3em;padding-right:3em}}@media only screen and (max-width:920px){.nh-modal-holder{place-items:end}.nh-modal-holder .nh-modal{border-bottom-left-radius:0;border-bottom-right-radius:0;max-width:100vw;transition:transform .5s}.nh-modal-holder .nh-modal-body{padding:0 20px 15px}.nh-modal-holder .nh-modal-slider{width:100%;display:block}.nh-modal-holder.slidable .nh-modal-slider{cursor:pointer}.nh-modal-holder.slidable .nh-modal-slider:before{content:\" \";width:40px;border-radius:2px;display:block;margin:0 auto;height:3px;background-color:#bababa}}\n"] }]
|
|
5626
5726
|
}], propDecorators: { modalContent: [{ type: i0.ViewChild, args: [i0.forwardRef(() => NhModalContentDirective), { isSignal: true }] }], modalHolder: [{ type: i0.ViewChild, args: ['modalHolder', { isSignal: true }] }], modalBackdrop: [{ type: i0.ViewChild, args: ['modalBackdrop', { isSignal: true }] }], modal: [{ type: i0.ViewChild, args: ['modal', { isSignal: true }] }], closed: [{ type: i0.Output, args: ["closed"] }] } });
|
|
@@ -5672,10 +5772,10 @@ class NhModalConfirmComponent {
|
|
|
5672
5772
|
}
|
|
5673
5773
|
}
|
|
5674
5774
|
}
|
|
5675
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
5676
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
5775
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhModalConfirmComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5776
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.33", type: NhModalConfirmComponent, isStandalone: false, selector: "nh-confirm-modal", inputs: { message: { classPropertyName: "message", publicName: "message", isSignal: false, isRequired: false, transformFunction: null }, btnConfirmText: { classPropertyName: "btnConfirmText", publicName: "btnConfirmText", isSignal: false, isRequired: false, transformFunction: null }, btnCancelText: { classPropertyName: "btnCancelText", publicName: "btnCancelText", isSignal: false, isRequired: false, transformFunction: null }, modalClass: { classPropertyName: "modalClass", publicName: "modalClass", isSignal: false, isRequired: false, transformFunction: null }, btnConfirmDisabled: { classPropertyName: "btnConfirmDisabled", publicName: "btnConfirmDisabled", isSignal: false, isRequired: false, transformFunction: null }, btnCancelDisabled: { classPropertyName: "btnCancelDisabled", publicName: "btnCancelDisabled", isSignal: false, isRequired: false, transformFunction: null }, allBtnsDisabled: { classPropertyName: "allBtnsDisabled", publicName: "allBtnsDisabled", isSignal: false, isRequired: false, transformFunction: null }, showLoader: { classPropertyName: "showLoader", publicName: "showLoader", isSignal: false, isRequired: false, transformFunction: null }, errorResult: { classPropertyName: "errorResult", publicName: "errorResult", isSignal: false, isRequired: false, transformFunction: null }, onConfirm: { classPropertyName: "onConfirm", publicName: "onConfirm", isSignal: false, isRequired: false, transformFunction: null }, onCancel: { classPropertyName: "onCancel", publicName: "onCancel", isSignal: false, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { confirmed: "confirmed" }, host: { listeners: { "document:keyup": "onKeyUp($event)" } }, ngImport: i0, template: "<div class=\"{{modalClass}}\">\n <div class=\"row\">\n <div class=\"col-12\">\n <p [innerHTML]=\"message\"></p>\n </div>\n </div>\n <div class=\"row\">\n <div class=\"col-12\">\n @if (errorResult && !errorResult?.isSuccess) {\n <div class=\"alert alert-danger\" role=\"alert\">\n <b>Er is een fout opgetreden</b>\n <ul>\n @for (resultItem of errorResult.items; track resultItem) {\n @for (resultItemErrorMsg of resultItem.errorMessages; track resultItemErrorMsg) {\n <li>{{ resultItemErrorMsg }}</li>\n }\n }\n </ul>\n </div>\n }\n </div>\n </div>\n <div class=\"row\">\n <div class=\"col-12 text-end\">\n <button [disabled]=\"allBtnsDisabled || btnCancelDisabled\" class=\"btn btn-danger me-2\" (click)=\"cancel()\">{{ btnCancelText | translate }}</button>\n <button [disabled]=\"allBtnsDisabled || btnConfirmDisabled\" class=\"btn btn-success\" (click)=\"confirm()\">{{ btnConfirmText | translate }}</button>\n </div>\n </div>\n</div>\n", styles: [".icon-bg svg{display:inline-block;width:1.5em}\n"], dependencies: [{ kind: "pipe", type: i2.TranslatePipe, name: "translate" }] }); }
|
|
5677
5777
|
}
|
|
5678
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
5778
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhModalConfirmComponent, decorators: [{
|
|
5679
5779
|
type: Component,
|
|
5680
5780
|
args: [{ selector: 'nh-confirm-modal', standalone: false, template: "<div class=\"{{modalClass}}\">\n <div class=\"row\">\n <div class=\"col-12\">\n <p [innerHTML]=\"message\"></p>\n </div>\n </div>\n <div class=\"row\">\n <div class=\"col-12\">\n @if (errorResult && !errorResult?.isSuccess) {\n <div class=\"alert alert-danger\" role=\"alert\">\n <b>Er is een fout opgetreden</b>\n <ul>\n @for (resultItem of errorResult.items; track resultItem) {\n @for (resultItemErrorMsg of resultItem.errorMessages; track resultItemErrorMsg) {\n <li>{{ resultItemErrorMsg }}</li>\n }\n }\n </ul>\n </div>\n }\n </div>\n </div>\n <div class=\"row\">\n <div class=\"col-12 text-end\">\n <button [disabled]=\"allBtnsDisabled || btnCancelDisabled\" class=\"btn btn-danger me-2\" (click)=\"cancel()\">{{ btnCancelText | translate }}</button>\n <button [disabled]=\"allBtnsDisabled || btnConfirmDisabled\" class=\"btn btn-success\" (click)=\"confirm()\">{{ btnConfirmText | translate }}</button>\n </div>\n </div>\n</div>\n", styles: [".icon-bg svg{display:inline-block;width:1.5em}\n"] }]
|
|
5681
5781
|
}], propDecorators: { message: [{
|
|
@@ -5831,10 +5931,10 @@ class NhModalService {
|
|
|
5831
5931
|
const latestModalRef = this.modalRefs[this.modalRefs.length - 1];
|
|
5832
5932
|
this.close(latestModalRef);
|
|
5833
5933
|
}
|
|
5834
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
5835
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
5934
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhModalService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5935
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhModalService, providedIn: 'root' }); }
|
|
5836
5936
|
}
|
|
5837
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
5937
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhModalService, decorators: [{
|
|
5838
5938
|
type: Injectable,
|
|
5839
5939
|
args: [{
|
|
5840
5940
|
providedIn: 'root'
|
|
@@ -5894,10 +5994,10 @@ class NhTaskResultFormValidationService {
|
|
|
5894
5994
|
}
|
|
5895
5995
|
return formControl;
|
|
5896
5996
|
}
|
|
5897
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
5898
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
5997
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhTaskResultFormValidationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5998
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhTaskResultFormValidationService }); }
|
|
5899
5999
|
}
|
|
5900
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
6000
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhTaskResultFormValidationService, decorators: [{
|
|
5901
6001
|
type: Injectable
|
|
5902
6002
|
}] });
|
|
5903
6003
|
|
|
@@ -5940,10 +6040,10 @@ class NhHeadService {
|
|
|
5940
6040
|
addElementToHead(element) {
|
|
5941
6041
|
this.renderer.appendChild(this.document.head, element);
|
|
5942
6042
|
}
|
|
5943
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
5944
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
6043
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhHeadService, deps: [{ token: DOCUMENT }, { token: i0.RendererFactory2 }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6044
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhHeadService, providedIn: 'root' }); }
|
|
5945
6045
|
}
|
|
5946
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
6046
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhHeadService, decorators: [{
|
|
5947
6047
|
type: Injectable,
|
|
5948
6048
|
args: [{
|
|
5949
6049
|
providedIn: 'root'
|
|
@@ -5969,10 +6069,10 @@ class NhInternetConnectionService {
|
|
|
5969
6069
|
});
|
|
5970
6070
|
});
|
|
5971
6071
|
}
|
|
5972
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
5973
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
6072
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhInternetConnectionService, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6073
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhInternetConnectionService }); }
|
|
5974
6074
|
}
|
|
5975
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
6075
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhInternetConnectionService, decorators: [{
|
|
5976
6076
|
type: Injectable
|
|
5977
6077
|
}], ctorParameters: () => [{ type: i0.NgZone }] });
|
|
5978
6078
|
|
|
@@ -5991,10 +6091,10 @@ class NhServerService {
|
|
|
5991
6091
|
&& this.transferState.hasKey(NhServerService.DID_INIT_BY_SERVER_STATE_KEY)
|
|
5992
6092
|
&& this.transferState.get(NhServerService.DID_INIT_BY_SERVER_STATE_KEY, false);
|
|
5993
6093
|
}
|
|
5994
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
5995
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
6094
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhServerService, deps: [{ token: PLATFORM_ID }, { token: NhCommonModuleConfig }, { token: i0.TransferState }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6095
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhServerService, providedIn: 'root' }); }
|
|
5996
6096
|
}
|
|
5997
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
6097
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhServerService, decorators: [{
|
|
5998
6098
|
type: Injectable,
|
|
5999
6099
|
args: [{
|
|
6000
6100
|
providedIn: 'root',
|
|
@@ -6042,10 +6142,10 @@ class NhServerSideFormValidationService {
|
|
|
6042
6142
|
}
|
|
6043
6143
|
}
|
|
6044
6144
|
}
|
|
6045
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
6046
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
6145
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhServerSideFormValidationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6146
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhServerSideFormValidationService }); }
|
|
6047
6147
|
}
|
|
6048
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
6148
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhServerSideFormValidationService, decorators: [{
|
|
6049
6149
|
type: Injectable
|
|
6050
6150
|
}] });
|
|
6051
6151
|
class AspMvcFormServerSideFormValidator {
|
|
@@ -6258,7 +6358,8 @@ class NhUserNotificationService {
|
|
|
6258
6358
|
}
|
|
6259
6359
|
}
|
|
6260
6360
|
async doWork() {
|
|
6261
|
-
|
|
6361
|
+
// Notifications belong to a user; without a session every poll would only answer 401.
|
|
6362
|
+
if (!this.isRunning() || !this.authService.isAuthenticated()) {
|
|
6262
6363
|
return;
|
|
6263
6364
|
}
|
|
6264
6365
|
await this.loadState();
|
|
@@ -6270,7 +6371,10 @@ class NhUserNotificationService {
|
|
|
6270
6371
|
this.userNotificationState.overview = await this.getOverview().lastValueFrom();
|
|
6271
6372
|
}
|
|
6272
6373
|
catch (error) {
|
|
6273
|
-
|
|
6374
|
+
// The session rejection interceptor handles a 401; it is not a notification failure.
|
|
6375
|
+
if (!(error instanceof HttpErrorResponse && error.status === 401)) {
|
|
6376
|
+
console.error('Error fetching user notification overview:', error);
|
|
6377
|
+
}
|
|
6274
6378
|
}
|
|
6275
6379
|
}
|
|
6276
6380
|
getOverview() {
|
|
@@ -6292,10 +6396,10 @@ class NhUserNotificationService {
|
|
|
6292
6396
|
archiveAll() {
|
|
6293
6397
|
return this.apiService.put(`${this.baseUrl}/ArchiveAll`, {});
|
|
6294
6398
|
}
|
|
6295
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
6296
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
6399
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhUserNotificationService, deps: [{ token: NhAppService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6400
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhUserNotificationService, providedIn: 'root' }); }
|
|
6297
6401
|
}
|
|
6298
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
6402
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhUserNotificationService, decorators: [{
|
|
6299
6403
|
type: Injectable,
|
|
6300
6404
|
args: [{
|
|
6301
6405
|
providedIn: 'root',
|
|
@@ -6330,10 +6434,10 @@ class NhBackgroundOperationService {
|
|
|
6330
6434
|
joinUrl(base, suffix) {
|
|
6331
6435
|
return `${base.replace(/\/$/, '')}/${suffix.replace(/^\//, '')}`;
|
|
6332
6436
|
}
|
|
6333
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
6334
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
6437
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhBackgroundOperationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6438
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhBackgroundOperationService, providedIn: 'root' }); }
|
|
6335
6439
|
}
|
|
6336
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
6440
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhBackgroundOperationService, decorators: [{
|
|
6337
6441
|
type: Injectable,
|
|
6338
6442
|
args: [{ providedIn: 'root' }]
|
|
6339
6443
|
}] });
|
|
@@ -6373,10 +6477,10 @@ class NhBackgroundOperationAdministrationService {
|
|
|
6373
6477
|
joinUrl(base, suffix) {
|
|
6374
6478
|
return `${base.replace(/\/$/, '')}/${suffix.replace(/^\//, '')}`;
|
|
6375
6479
|
}
|
|
6376
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
6377
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
6480
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhBackgroundOperationAdministrationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6481
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhBackgroundOperationAdministrationService, providedIn: 'root' }); }
|
|
6378
6482
|
}
|
|
6379
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
6483
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhBackgroundOperationAdministrationService, decorators: [{
|
|
6380
6484
|
type: Injectable,
|
|
6381
6485
|
args: [{ providedIn: 'root' }]
|
|
6382
6486
|
}] });
|
|
@@ -6541,10 +6645,10 @@ class NhBackgroundOperationLiveUpdateService {
|
|
|
6541
6645
|
const authorization = this.auth.getAuthorization();
|
|
6542
6646
|
return `${authorization?.user?.id ?? 'anonymous'}:${authorization?.activeDivision?.id ?? 'global'}`;
|
|
6543
6647
|
}
|
|
6544
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
6545
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
6648
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhBackgroundOperationLiveUpdateService, deps: [{ token: NhCommonModuleConfig }, { token: NhAuthService }, { token: NhAppService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6649
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhBackgroundOperationLiveUpdateService, providedIn: 'root' }); }
|
|
6546
6650
|
}
|
|
6547
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
6651
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhBackgroundOperationLiveUpdateService, decorators: [{
|
|
6548
6652
|
type: Injectable,
|
|
6549
6653
|
args: [{ providedIn: 'root' }]
|
|
6550
6654
|
}], ctorParameters: () => [{ type: NhCommonModuleConfig }, { type: NhAuthService }, { type: NhAppService }] });
|
|
@@ -6810,10 +6914,10 @@ class NhBackgroundOperationStore {
|
|
|
6810
6914
|
operations.delete(operationId);
|
|
6811
6915
|
this.operationsSubject.next(operations);
|
|
6812
6916
|
}
|
|
6813
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
6814
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
6917
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhBackgroundOperationStore, deps: [{ token: NhBackgroundOperationService }, { token: NhBackgroundOperationLiveUpdateService }, { token: NhCommonModuleConfig }, { token: NhAuthService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6918
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhBackgroundOperationStore, providedIn: 'root' }); }
|
|
6815
6919
|
}
|
|
6816
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
6920
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhBackgroundOperationStore, decorators: [{
|
|
6817
6921
|
type: Injectable,
|
|
6818
6922
|
args: [{ providedIn: 'root' }]
|
|
6819
6923
|
}], ctorParameters: () => [{ type: NhBackgroundOperationService }, { type: NhBackgroundOperationLiveUpdateService }, { type: NhCommonModuleConfig }, { type: NhAuthService }] });
|
|
@@ -6958,10 +7062,10 @@ class NhContextMenuService {
|
|
|
6958
7062
|
}
|
|
6959
7063
|
this.renderer.appendChild(contextMenuElement, menuItemElement);
|
|
6960
7064
|
}
|
|
6961
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
6962
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
7065
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhContextMenuService, deps: [{ token: PLATFORM_ID }, { token: NhAppService }, { token: i0.RendererFactory2 }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7066
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhContextMenuService, providedIn: 'root' }); }
|
|
6963
7067
|
}
|
|
6964
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
7068
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhContextMenuService, decorators: [{
|
|
6965
7069
|
type: Injectable,
|
|
6966
7070
|
args: [{
|
|
6967
7071
|
providedIn: 'root'
|
|
@@ -7090,10 +7194,10 @@ class NhUrlEncodePipe {
|
|
|
7090
7194
|
}
|
|
7091
7195
|
return encodeURIComponent(value ?? '');
|
|
7092
7196
|
}
|
|
7093
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
7094
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.
|
|
7197
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhUrlEncodePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
7198
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.33", ngImport: i0, type: NhUrlEncodePipe, isStandalone: false, name: "nhUrlEncode" }); }
|
|
7095
7199
|
}
|
|
7096
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
7200
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhUrlEncodePipe, decorators: [{
|
|
7097
7201
|
type: Pipe,
|
|
7098
7202
|
args: [{
|
|
7099
7203
|
name: 'nhUrlEncode',
|
|
@@ -7110,10 +7214,10 @@ class NhDatePipe {
|
|
|
7110
7214
|
const datePipe = new DatePipe(this.moduleConfig.language);
|
|
7111
7215
|
return datePipe.transform(value, pattern);
|
|
7112
7216
|
}
|
|
7113
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
7114
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.
|
|
7217
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhDatePipe, deps: [{ token: NhCommonModuleConfig }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
7218
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.33", ngImport: i0, type: NhDatePipe, isStandalone: false, name: "nhDate", pure: false }); }
|
|
7115
7219
|
}
|
|
7116
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
7220
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhDatePipe, decorators: [{
|
|
7117
7221
|
type: Pipe,
|
|
7118
7222
|
args: [{
|
|
7119
7223
|
name: 'nhDate',
|
|
@@ -7130,10 +7234,10 @@ class NhDateTimePipe {
|
|
|
7130
7234
|
const datePipe = new NhDatePipe(this.moduleConfig);
|
|
7131
7235
|
return datePipe.transform(value, pattern);
|
|
7132
7236
|
}
|
|
7133
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
7134
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.
|
|
7237
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhDateTimePipe, deps: [{ token: NhCommonModuleConfig }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
7238
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.33", ngImport: i0, type: NhDateTimePipe, isStandalone: false, name: "nhDateTime", pure: false }); }
|
|
7135
7239
|
}
|
|
7136
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
7240
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhDateTimePipe, decorators: [{
|
|
7137
7241
|
type: Pipe,
|
|
7138
7242
|
args: [{
|
|
7139
7243
|
name: 'nhDateTime',
|
|
@@ -7152,10 +7256,10 @@ class NhDateUtcPipe {
|
|
|
7152
7256
|
const datePipe = new DatePipe(this.moduleConfig.language);
|
|
7153
7257
|
return datePipe.transform(value, pattern);
|
|
7154
7258
|
}
|
|
7155
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
7156
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.
|
|
7259
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhDateUtcPipe, deps: [{ token: NhCommonModuleConfig }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
7260
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.33", ngImport: i0, type: NhDateUtcPipe, isStandalone: false, name: "nhDateUtc", pure: false }); }
|
|
7157
7261
|
}
|
|
7158
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
7262
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhDateUtcPipe, decorators: [{
|
|
7159
7263
|
type: Pipe,
|
|
7160
7264
|
args: [{
|
|
7161
7265
|
name: 'nhDateUtc',
|
|
@@ -7171,10 +7275,10 @@ class IsOnePermissionGrantedPipe {
|
|
|
7171
7275
|
transform(permissions) {
|
|
7172
7276
|
return this.authService.isOnePermissionGranted(permissions);
|
|
7173
7277
|
}
|
|
7174
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
7175
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.
|
|
7278
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: IsOnePermissionGrantedPipe, deps: [{ token: NhAuthService }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
7279
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.33", ngImport: i0, type: IsOnePermissionGrantedPipe, isStandalone: false, name: "isOnePermissionGranted" }); }
|
|
7176
7280
|
}
|
|
7177
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
7281
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: IsOnePermissionGrantedPipe, decorators: [{
|
|
7178
7282
|
type: Pipe,
|
|
7179
7283
|
args: [{
|
|
7180
7284
|
name: 'isOnePermissionGranted',
|
|
@@ -7188,10 +7292,10 @@ class IsAllPermissionsGrantedPipe {
|
|
|
7188
7292
|
transform(permissions) {
|
|
7189
7293
|
return this.authService.isAllPermissionsGranted(permissions);
|
|
7190
7294
|
}
|
|
7191
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
7192
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.
|
|
7295
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: IsAllPermissionsGrantedPipe, deps: [{ token: NhAuthService }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
7296
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.33", ngImport: i0, type: IsAllPermissionsGrantedPipe, isStandalone: false, name: "isAllPermissionsGranted" }); }
|
|
7193
7297
|
}
|
|
7194
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
7298
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: IsAllPermissionsGrantedPipe, decorators: [{
|
|
7195
7299
|
type: Pipe,
|
|
7196
7300
|
args: [{
|
|
7197
7301
|
name: "isAllPermissionsGranted",
|
|
@@ -7205,10 +7309,10 @@ class IsGrantedRolePipe {
|
|
|
7205
7309
|
transform(roles) {
|
|
7206
7310
|
return this.authService.isGrantedRole(roles);
|
|
7207
7311
|
}
|
|
7208
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
7209
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.
|
|
7312
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: IsGrantedRolePipe, deps: [{ token: NhAuthService }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
7313
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.33", ngImport: i0, type: IsGrantedRolePipe, isStandalone: false, name: "isGrantedRole" }); }
|
|
7210
7314
|
}
|
|
7211
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
7315
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: IsGrantedRolePipe, decorators: [{
|
|
7212
7316
|
type: Pipe,
|
|
7213
7317
|
args: [{
|
|
7214
7318
|
name: 'isGrantedRole',
|
|
@@ -7222,10 +7326,10 @@ class IsAuthenticatedPipe {
|
|
|
7222
7326
|
transform() {
|
|
7223
7327
|
return this.authService.isAuthenticated();
|
|
7224
7328
|
}
|
|
7225
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
7226
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.
|
|
7329
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: IsAuthenticatedPipe, deps: [{ token: NhAuthService }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
7330
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.33", ngImport: i0, type: IsAuthenticatedPipe, isStandalone: false, name: "isAuthenticated" }); }
|
|
7227
7331
|
}
|
|
7228
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
7332
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: IsAuthenticatedPipe, decorators: [{
|
|
7229
7333
|
type: Pipe,
|
|
7230
7334
|
args: [{
|
|
7231
7335
|
name: 'isAuthenticated',
|
|
@@ -7239,10 +7343,10 @@ class IsClaimGrantedPipe {
|
|
|
7239
7343
|
transform(claim) {
|
|
7240
7344
|
return this.authService.isClaimGranted(claim);
|
|
7241
7345
|
}
|
|
7242
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
7243
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.
|
|
7346
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: IsClaimGrantedPipe, deps: [{ token: NhAuthService }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
7347
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.33", ngImport: i0, type: IsClaimGrantedPipe, isStandalone: false, name: "isClaimGranted" }); }
|
|
7244
7348
|
}
|
|
7245
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
7349
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: IsClaimGrantedPipe, decorators: [{
|
|
7246
7350
|
type: Pipe,
|
|
7247
7351
|
args: [{
|
|
7248
7352
|
name: 'isClaimGranted',
|
|
@@ -7256,10 +7360,10 @@ class IsOneClaimGrantedPipe {
|
|
|
7256
7360
|
transform(claims) {
|
|
7257
7361
|
return this.authService.isOneClaimGranted(claims);
|
|
7258
7362
|
}
|
|
7259
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
7260
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.
|
|
7363
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: IsOneClaimGrantedPipe, deps: [{ token: NhAuthService }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
7364
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.33", ngImport: i0, type: IsOneClaimGrantedPipe, isStandalone: false, name: "isOneClaimGranted" }); }
|
|
7261
7365
|
}
|
|
7262
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
7366
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: IsOneClaimGrantedPipe, decorators: [{
|
|
7263
7367
|
type: Pipe,
|
|
7264
7368
|
args: [{
|
|
7265
7369
|
name: 'isOneClaimGranted',
|
|
@@ -7273,10 +7377,10 @@ class IsOneRoleGrantedPipe {
|
|
|
7273
7377
|
transform(roles) {
|
|
7274
7378
|
return this.authService.isOneRoleGranted(roles);
|
|
7275
7379
|
}
|
|
7276
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
7277
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.
|
|
7380
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: IsOneRoleGrantedPipe, deps: [{ token: NhAuthService }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
7381
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.33", ngImport: i0, type: IsOneRoleGrantedPipe, isStandalone: false, name: "isOneRoleGranted" }); }
|
|
7278
7382
|
}
|
|
7279
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
7383
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: IsOneRoleGrantedPipe, decorators: [{
|
|
7280
7384
|
type: Pipe,
|
|
7281
7385
|
args: [{
|
|
7282
7386
|
name: 'isOneRoleGranted',
|
|
@@ -7290,10 +7394,10 @@ class IsOneDivisionPermissionGrantedPipe {
|
|
|
7290
7394
|
transform(divisionId, permissions) {
|
|
7291
7395
|
return this.authService.isOneDivisionPermissionGranted(divisionId, permissions);
|
|
7292
7396
|
}
|
|
7293
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
7294
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.
|
|
7397
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: IsOneDivisionPermissionGrantedPipe, deps: [{ token: NhAuthService }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
7398
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.33", ngImport: i0, type: IsOneDivisionPermissionGrantedPipe, isStandalone: false, name: "isOneDivisionPermissionGranted" }); }
|
|
7295
7399
|
}
|
|
7296
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
7400
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: IsOneDivisionPermissionGrantedPipe, decorators: [{
|
|
7297
7401
|
type: Pipe,
|
|
7298
7402
|
args: [{
|
|
7299
7403
|
name: 'isOneDivisionPermissionGranted',
|
|
@@ -7307,10 +7411,10 @@ class IsOneDivisionRoleGrantedPipe {
|
|
|
7307
7411
|
transform(divisionId, roles) {
|
|
7308
7412
|
return this.authService.isOneDivisionRoleGranted(divisionId, roles);
|
|
7309
7413
|
}
|
|
7310
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
7311
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.
|
|
7414
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: IsOneDivisionRoleGrantedPipe, deps: [{ token: NhAuthService }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
7415
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.33", ngImport: i0, type: IsOneDivisionRoleGrantedPipe, isStandalone: false, name: "isOneDivisionRoleGranted" }); }
|
|
7312
7416
|
}
|
|
7313
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
7417
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: IsOneDivisionRoleGrantedPipe, decorators: [{
|
|
7314
7418
|
type: Pipe,
|
|
7315
7419
|
args: [{
|
|
7316
7420
|
name: 'isOneDivisionRoleGranted',
|
|
@@ -7324,10 +7428,10 @@ class IsOneActiveDivisionPermissionGrantedPipe {
|
|
|
7324
7428
|
transform(permissions) {
|
|
7325
7429
|
return this.authService.isOneActiveDivisionPermissionGranted(permissions);
|
|
7326
7430
|
}
|
|
7327
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
7328
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.
|
|
7431
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: IsOneActiveDivisionPermissionGrantedPipe, deps: [{ token: NhAuthService }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
7432
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.33", ngImport: i0, type: IsOneActiveDivisionPermissionGrantedPipe, isStandalone: false, name: "isOneActiveDivisionPermissionGranted" }); }
|
|
7329
7433
|
}
|
|
7330
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
7434
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: IsOneActiveDivisionPermissionGrantedPipe, decorators: [{
|
|
7331
7435
|
type: Pipe,
|
|
7332
7436
|
args: [{
|
|
7333
7437
|
name: 'isOneActiveDivisionPermissionGranted',
|
|
@@ -7341,10 +7445,10 @@ class IsOneActiveDivisionRoleGrantedPipe {
|
|
|
7341
7445
|
transform(roles) {
|
|
7342
7446
|
return this.authService.isOneActiveDivisionRoleGranted(roles);
|
|
7343
7447
|
}
|
|
7344
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
7345
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.
|
|
7448
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: IsOneActiveDivisionRoleGrantedPipe, deps: [{ token: NhAuthService }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
7449
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.33", ngImport: i0, type: IsOneActiveDivisionRoleGrantedPipe, isStandalone: false, name: "isOneActiveDivisionRoleGranted" }); }
|
|
7346
7450
|
}
|
|
7347
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
7451
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: IsOneActiveDivisionRoleGrantedPipe, decorators: [{
|
|
7348
7452
|
type: Pipe,
|
|
7349
7453
|
args: [{
|
|
7350
7454
|
name: 'isOneActiveDivisionRoleGranted',
|
|
@@ -7364,10 +7468,10 @@ class NhBooleanToStringPipe {
|
|
|
7364
7468
|
? this.translateService.instant('Yes')
|
|
7365
7469
|
: this.translateService.instant('No');
|
|
7366
7470
|
}
|
|
7367
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
7368
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.
|
|
7471
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhBooleanToStringPipe, deps: [{ token: i2.TranslateService }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
7472
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.33", ngImport: i0, type: NhBooleanToStringPipe, isStandalone: false, name: "nhBooleanToString" }); }
|
|
7369
7473
|
}
|
|
7370
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
7474
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhBooleanToStringPipe, decorators: [{
|
|
7371
7475
|
type: Pipe,
|
|
7372
7476
|
args: [{
|
|
7373
7477
|
name: 'nhBooleanToString',
|
|
@@ -7382,10 +7486,10 @@ class SafeHtmlPipe {
|
|
|
7382
7486
|
transform(value) {
|
|
7383
7487
|
return this.sanitized.bypassSecurityTrustHtml(value);
|
|
7384
7488
|
}
|
|
7385
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
7386
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.
|
|
7489
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: SafeHtmlPipe, deps: [{ token: i1$2.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
7490
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.33", ngImport: i0, type: SafeHtmlPipe, isStandalone: false, name: "safeHtml" }); }
|
|
7387
7491
|
}
|
|
7388
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
7492
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: SafeHtmlPipe, decorators: [{
|
|
7389
7493
|
type: Pipe,
|
|
7390
7494
|
args: [{
|
|
7391
7495
|
name: 'safeHtml',
|
|
@@ -7399,10 +7503,10 @@ class SafeUrlPipe {
|
|
|
7399
7503
|
transform(value) {
|
|
7400
7504
|
return this.sanitizer.bypassSecurityTrustUrl(value);
|
|
7401
7505
|
}
|
|
7402
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
7403
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.
|
|
7506
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: SafeUrlPipe, deps: [{ token: i1$2.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
7507
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.33", ngImport: i0, type: SafeUrlPipe, isStandalone: false, name: "safeUrl" }); }
|
|
7404
7508
|
}
|
|
7405
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
7509
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: SafeUrlPipe, decorators: [{
|
|
7406
7510
|
type: Pipe,
|
|
7407
7511
|
args: [{
|
|
7408
7512
|
name: 'safeUrl',
|
|
@@ -7416,10 +7520,10 @@ class SafeResourceUrlPipe {
|
|
|
7416
7520
|
transform(value) {
|
|
7417
7521
|
return this.sanitizer.bypassSecurityTrustResourceUrl(value);
|
|
7418
7522
|
}
|
|
7419
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
7420
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.
|
|
7523
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: SafeResourceUrlPipe, deps: [{ token: i1$2.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
7524
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.33", ngImport: i0, type: SafeResourceUrlPipe, isStandalone: false, name: "safeResourceUrl" }); }
|
|
7421
7525
|
}
|
|
7422
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
7526
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: SafeResourceUrlPipe, decorators: [{
|
|
7423
7527
|
type: Pipe,
|
|
7424
7528
|
args: [{
|
|
7425
7529
|
name: 'safeResourceUrl',
|
|
@@ -7441,10 +7545,10 @@ class NhToHeadDirective {
|
|
|
7441
7545
|
ngOnDestroy() {
|
|
7442
7546
|
this._renderer.removeChild(this._document.head, this._elementRef.nativeElement);
|
|
7443
7547
|
}
|
|
7444
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
7445
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
7548
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhToHeadDirective, deps: [{ token: DOCUMENT }, { token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
7549
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.33", type: NhToHeadDirective, isStandalone: false, selector: "[nhToHead]", exportAs: ["nhToHead"], ngImport: i0 }); }
|
|
7446
7550
|
}
|
|
7447
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
7551
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhToHeadDirective, decorators: [{
|
|
7448
7552
|
type: Directive,
|
|
7449
7553
|
args: [{
|
|
7450
7554
|
selector: `[nhToHead]`,
|
|
@@ -7491,10 +7595,10 @@ class NhDebounceDirective {
|
|
|
7491
7595
|
this.ngUnsubscribe.next();
|
|
7492
7596
|
this.ngUnsubscribe.complete();
|
|
7493
7597
|
}
|
|
7494
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
7495
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.
|
|
7598
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhDebounceDirective, deps: [{ token: i1$4.NgControl }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
7599
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.33", type: NhDebounceDirective, isStandalone: false, selector: "[ngModel][nhDebounce]", inputs: { debounceTime: { classPropertyName: "debounceTime", publicName: "nhDebounce", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onDebounce: "onDebounce", preDebounce: "preDebounce" }, ngImport: i0 }); }
|
|
7496
7600
|
}
|
|
7497
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
7601
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhDebounceDirective, decorators: [{
|
|
7498
7602
|
type: Directive,
|
|
7499
7603
|
args: [{
|
|
7500
7604
|
selector: '[ngModel][nhDebounce]',
|
|
@@ -7519,10 +7623,10 @@ class NhButtonDebounceDirective {
|
|
|
7519
7623
|
this.clicks.complete();
|
|
7520
7624
|
this.subscription?.unsubscribe();
|
|
7521
7625
|
}
|
|
7522
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
7523
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.
|
|
7626
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhButtonDebounceDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
7627
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.33", type: NhButtonDebounceDirective, isStandalone: false, selector: "[nhButtonDebounce]", inputs: { debounceTime: { classPropertyName: "debounceTime", publicName: "debounce", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onDebounce: "onDebounce" }, host: { listeners: { "click": "clickEvent($event)" } }, ngImport: i0 }); }
|
|
7524
7628
|
}
|
|
7525
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
7629
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhButtonDebounceDirective, decorators: [{
|
|
7526
7630
|
type: Directive,
|
|
7527
7631
|
args: [{
|
|
7528
7632
|
selector: '[nhButtonDebounce]',
|
|
@@ -7578,10 +7682,10 @@ class NhRouterLinkDirective {
|
|
|
7578
7682
|
}
|
|
7579
7683
|
return this.hostRouterLink.onClick(button, ctrlKey, shiftKey, altKey, metaKey);
|
|
7580
7684
|
}
|
|
7581
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
7582
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
7685
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhRouterLinkDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1$1.RouterLink }, { token: i1$1.Router }, { token: NhRouterService }, { token: i2.TranslateService }, { token: NH_ROUTER_LANGUAGE_CHANGE_METHOD, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
7686
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.33", type: NhRouterLinkDirective, isStandalone: false, selector: "[nhRouterLink]", inputs: { nhRouterLink: "nhRouterLink" }, host: { listeners: { "click": "onClick($event.button,$event.ctrlKey,$event.shiftKey,$event.altKey,$event.metaKey)" } }, exportAs: ["nhRouterLink"], hostDirectives: [{ directive: i1$1.RouterLink, inputs: ["target", "target", "queryParams", "queryParams", "fragment", "fragment", "queryParamsHandling", "queryParamsHandling", "state", "state", "info", "info", "relativeTo", "relativeTo", "preserveFragment", "preserveFragment", "skipLocationChange", "skipLocationChange", "replaceUrl", "replaceUrl"] }], ngImport: i0 }); }
|
|
7583
7687
|
}
|
|
7584
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
7688
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhRouterLinkDirective, decorators: [{
|
|
7585
7689
|
type: Directive,
|
|
7586
7690
|
args: [{
|
|
7587
7691
|
selector: `[nhRouterLink]`,
|
|
@@ -7638,10 +7742,10 @@ class NhJsonLdComponent {
|
|
|
7638
7742
|
const html = `<script type="application/ld+json">${json}</script>`;
|
|
7639
7743
|
return this._sanitizer.bypassSecurityTrustHtml(html);
|
|
7640
7744
|
}
|
|
7641
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
7642
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
7745
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhJsonLdComponent, deps: [{ token: i1$2.DomSanitizer }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7746
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.33", type: NhJsonLdComponent, isStandalone: false, selector: "nh-json-ld", inputs: { json: "json" }, host: { properties: { "innerHTML": "this._jsonLD" } }, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
7643
7747
|
}
|
|
7644
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
7748
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhJsonLdComponent, decorators: [{
|
|
7645
7749
|
type: Component,
|
|
7646
7750
|
args: [{
|
|
7647
7751
|
selector: 'nh-json-ld',
|
|
@@ -7663,10 +7767,10 @@ class NhModalLoadingComponent {
|
|
|
7663
7767
|
setModalComponentRef(ref) {
|
|
7664
7768
|
this.modalComponentRef = ref;
|
|
7665
7769
|
}
|
|
7666
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
7667
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.
|
|
7770
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhModalLoadingComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7771
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.33", type: NhModalLoadingComponent, isStandalone: false, selector: "nh-loading-modal", inputs: { information: { classPropertyName: "information", publicName: "information", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<div class=\"grid center\">\n <nh-loader [hasBackdrop]=\"false\"></nh-loader>\n {{ information() }}\n</div>\n", styles: [""], dependencies: [{ kind: "component", type: NhLoaderComponent, selector: "nh-loader", inputs: ["dark", "hasBackdrop", "backdropTransparent", "containerClass"] }] }); }
|
|
7668
7772
|
}
|
|
7669
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
7773
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhModalLoadingComponent, decorators: [{
|
|
7670
7774
|
type: Component,
|
|
7671
7775
|
args: [{ selector: 'nh-loading-modal', standalone: false, template: "<div class=\"grid center\">\n <nh-loader [hasBackdrop]=\"false\"></nh-loader>\n {{ information() }}\n</div>\n" }]
|
|
7672
7776
|
}], propDecorators: { information: [{ type: i0.Input, args: [{ isSignal: true, alias: "information", required: false }] }] } });
|
|
@@ -7831,10 +7935,10 @@ class NhPageTypeBaseComponent {
|
|
|
7831
7935
|
appOnDestroy() {
|
|
7832
7936
|
return Promise.resolve();
|
|
7833
7937
|
}
|
|
7834
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
7835
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
7938
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhPageTypeBaseComponent, deps: [{ token: i0.Type }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7939
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.33", type: NhPageTypeBaseComponent, isStandalone: false, selector: "nh-page-base-component-type", usesOnChanges: true, ngImport: i0, template: ``, isInline: true }); }
|
|
7836
7940
|
}
|
|
7837
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
7941
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhPageTypeBaseComponent, decorators: [{
|
|
7838
7942
|
type: Component,
|
|
7839
7943
|
args: [{
|
|
7840
7944
|
selector: 'nh-page-base-component-type',
|
|
@@ -7846,10 +7950,10 @@ class NhPageBaseComponent extends NhPageTypeBaseComponent {
|
|
|
7846
7950
|
constructor() {
|
|
7847
7951
|
super(NhAuthService);
|
|
7848
7952
|
}
|
|
7849
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
7850
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
7953
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhPageBaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7954
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.33", type: NhPageBaseComponent, isStandalone: false, selector: "nh-page-base-component", usesInheritance: true, ngImport: i0, template: ``, isInline: true }); }
|
|
7851
7955
|
}
|
|
7852
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
7956
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhPageBaseComponent, decorators: [{
|
|
7853
7957
|
type: Component,
|
|
7854
7958
|
args: [{
|
|
7855
7959
|
selector: 'nh-page-base-component',
|
|
@@ -7872,10 +7976,10 @@ class NhTypedPageTypeBaseComponent extends NhPageTypeBaseComponent {
|
|
|
7872
7976
|
constructor(authServiceType) {
|
|
7873
7977
|
super(authServiceType);
|
|
7874
7978
|
}
|
|
7875
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
7876
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
7979
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhTypedPageTypeBaseComponent, deps: [{ token: i0.Type }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7980
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.33", type: NhTypedPageTypeBaseComponent, isStandalone: false, selector: "nh-page-base-component-type-typed", usesInheritance: true, ngImport: i0, template: ``, isInline: true }); }
|
|
7877
7981
|
}
|
|
7878
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
7982
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhTypedPageTypeBaseComponent, decorators: [{
|
|
7879
7983
|
type: Component,
|
|
7880
7984
|
args: [{
|
|
7881
7985
|
selector: 'nh-page-base-component-type-typed',
|
|
@@ -7887,10 +7991,10 @@ class NhTypedPageBaseComponent extends NhTypedPageTypeBaseComponent {
|
|
|
7887
7991
|
constructor() {
|
|
7888
7992
|
super(NhAuthService);
|
|
7889
7993
|
}
|
|
7890
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
7891
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
7994
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhTypedPageBaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7995
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.33", type: NhTypedPageBaseComponent, isStandalone: false, selector: "nh-page-base-component-typed", usesInheritance: true, ngImport: i0, template: ``, isInline: true }); }
|
|
7892
7996
|
}
|
|
7893
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
7997
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhTypedPageBaseComponent, decorators: [{
|
|
7894
7998
|
type: Component,
|
|
7895
7999
|
args: [{
|
|
7896
8000
|
selector: 'nh-page-base-component-typed',
|
|
@@ -8328,10 +8432,10 @@ class NhFormDropDownComponent extends AbstractValueAccessor {
|
|
|
8328
8432
|
}
|
|
8329
8433
|
this.options = newSelectedOptions.concat(this.options);
|
|
8330
8434
|
}
|
|
8331
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
8332
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
8435
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhFormDropDownComponent, deps: [{ token: i2.TranslateService }, { token: i0.ChangeDetectorRef }, { token: NhCommonModuleConfig, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8436
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.33", type: NhFormDropDownComponent, isStandalone: false, selector: "nh-form-dropdown", inputs: { disabled: "disabled", settings: "settings" }, outputs: { onLazyLoadError: "onLazyLoadError", closed: "closed", opened: "opened" }, providers: [MakeProvider(NhFormDropDownComponent)], viewQueries: [{ propertyName: "lazyLoadComponent", first: true, predicate: ["lazyLoadComponent"], descendants: true }, { propertyName: "noLazyLoadComponent", first: true, predicate: ["noLazyLoadComponent"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<div>\n @if (settings.lazyLoad) {\n <ngx-bootstrap-multiselect\n #lazyLoadComponent\n (focus)=\"hasFocus = true\"\n (blur)=\"hasFocus = false\"\n [options]=\"options\"\n [disabled]=\"disabled\"\n [texts]=\"settings.multiSelectTexts\"\n [settings]=\"settings.multiSelectSettings\"\n [ngModel]=\"value\"\n (dropdownClosed)=\"closed.emit()\"\n (dropdownOpened)=\"onDropdownOpened()\"\n (ngModelChange)=\"onModelChange($event)\"\n (lazyLoad)=\"lazyLoadData($event)\"\n ></ngx-bootstrap-multiselect>\n }\n @if (!settings.lazyLoad) {\n <ngx-bootstrap-multiselect\n #noLazyLoadComponent\n (focus)=\"hasFocus = true\"\n (blur)=\"hasFocus = false\"\n [options]=\"options\"\n [disabled]=\"disabled\"\n (dropdownClosed)=\"closed.emit()\"\n (dropdownOpened)=\"opened.emit()\"\n [texts]=\"settings.multiSelectTexts\"\n [settings]=\"settings.multiSelectSettings\"\n [ngModel]=\"value\"\n (ngModelChange)=\"onModelChange($event)\"\n ></ngx-bootstrap-multiselect>\n }\n</div>\n", styles: ["app-form-dropdown ngx-bootstrap-multiselect>div.dropdown{width:100%}app-form-dropdown ngx-bootstrap-multiselect>div.dropdown>button.dropdown-toggle{width:100%}app-form-dropdown ngx-bootstrap-multiselect>div.dropdown>div.dropdown-menu{width:100%}\n"], dependencies: [{ kind: "component", type: i2$2.NgxDropdownMultiselectComponent, selector: "ngx-bootstrap-multiselect", inputs: ["options", "settings", "texts", "disabled", "disabledSelection", "searchFunction"], outputs: ["selectionLimitReached", "dropdownClosed", "dropdownOpened", "added", "removed", "lazyLoad", "filter"] }, { kind: "directive", type: i1$4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
8333
8437
|
}
|
|
8334
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
8438
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhFormDropDownComponent, decorators: [{
|
|
8335
8439
|
type: Component,
|
|
8336
8440
|
args: [{ selector: 'nh-form-dropdown', encapsulation: ViewEncapsulation.None, providers: [MakeProvider(NhFormDropDownComponent)], standalone: false, template: "<div>\n @if (settings.lazyLoad) {\n <ngx-bootstrap-multiselect\n #lazyLoadComponent\n (focus)=\"hasFocus = true\"\n (blur)=\"hasFocus = false\"\n [options]=\"options\"\n [disabled]=\"disabled\"\n [texts]=\"settings.multiSelectTexts\"\n [settings]=\"settings.multiSelectSettings\"\n [ngModel]=\"value\"\n (dropdownClosed)=\"closed.emit()\"\n (dropdownOpened)=\"onDropdownOpened()\"\n (ngModelChange)=\"onModelChange($event)\"\n (lazyLoad)=\"lazyLoadData($event)\"\n ></ngx-bootstrap-multiselect>\n }\n @if (!settings.lazyLoad) {\n <ngx-bootstrap-multiselect\n #noLazyLoadComponent\n (focus)=\"hasFocus = true\"\n (blur)=\"hasFocus = false\"\n [options]=\"options\"\n [disabled]=\"disabled\"\n (dropdownClosed)=\"closed.emit()\"\n (dropdownOpened)=\"opened.emit()\"\n [texts]=\"settings.multiSelectTexts\"\n [settings]=\"settings.multiSelectSettings\"\n [ngModel]=\"value\"\n (ngModelChange)=\"onModelChange($event)\"\n ></ngx-bootstrap-multiselect>\n }\n</div>\n", styles: ["app-form-dropdown ngx-bootstrap-multiselect>div.dropdown{width:100%}app-form-dropdown ngx-bootstrap-multiselect>div.dropdown>button.dropdown-toggle{width:100%}app-form-dropdown ngx-bootstrap-multiselect>div.dropdown>div.dropdown-menu{width:100%}\n"] }]
|
|
8337
8441
|
}], ctorParameters: () => [{ type: i2.TranslateService }, { type: i0.ChangeDetectorRef }, { type: NhCommonModuleConfig, decorators: [{
|
|
@@ -8369,10 +8473,10 @@ class NhFormErrorMessageComponent {
|
|
|
8369
8473
|
}
|
|
8370
8474
|
return errors;
|
|
8371
8475
|
}
|
|
8372
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
8373
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
8476
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhFormErrorMessageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8477
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.33", type: NhFormErrorMessageComponent, isStandalone: false, selector: "nh-form-error-message", inputs: { control: "control" }, ngImport: i0, template: "@if (getErrors().length > 0) {\n <div class=\"error-list\">\n @for (error of this.getErrors(); track error) {\n <div>\n <p class=\"text-danger m-0\"><i>{{ error|translate }}</i></p>\n </div>\n }\n </div>\n}\n", styles: [""], dependencies: [{ kind: "pipe", type: i2.TranslatePipe, name: "translate" }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
8374
8478
|
}
|
|
8375
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
8479
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhFormErrorMessageComponent, decorators: [{
|
|
8376
8480
|
type: Component,
|
|
8377
8481
|
args: [{ selector: 'nh-form-error-message', encapsulation: ViewEncapsulation.None, standalone: false, template: "@if (getErrors().length > 0) {\n <div class=\"error-list\">\n @for (error of this.getErrors(); track error) {\n <div>\n <p class=\"text-danger m-0\"><i>{{ error|translate }}</i></p>\n </div>\n }\n </div>\n}\n" }]
|
|
8378
8482
|
}], ctorParameters: () => [], propDecorators: { control: [{
|
|
@@ -8586,10 +8690,10 @@ class NhCollectionTypeBaseComponent {
|
|
|
8586
8690
|
this.requestOptions.page = 1;
|
|
8587
8691
|
await this.load();
|
|
8588
8692
|
}
|
|
8589
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
8590
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.
|
|
8693
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhCollectionTypeBaseComponent, deps: [{ token: i0.Type }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8694
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.33", type: NhCollectionTypeBaseComponent, isStandalone: false, selector: "nh-shared-collection-base-component", inputs: { queryParamUpdates: { classPropertyName: "queryParamUpdates", publicName: "queryParamUpdates", isSignal: true, isRequired: false, transformFunction: null }, localStorageUpdates: { classPropertyName: "localStorageUpdates", publicName: "localStorageUpdates", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { queryParamUpdates: "queryParamUpdatesChange", localStorageUpdates: "localStorageUpdatesChange" }, usesOnChanges: true, ngImport: i0, template: ``, isInline: true }); }
|
|
8591
8695
|
}
|
|
8592
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
8696
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhCollectionTypeBaseComponent, decorators: [{
|
|
8593
8697
|
type: Component,
|
|
8594
8698
|
args: [{
|
|
8595
8699
|
selector: 'nh-shared-collection-base-component',
|
|
@@ -8601,10 +8705,10 @@ class NhCollectionBaseComponent extends NhCollectionTypeBaseComponent {
|
|
|
8601
8705
|
constructor() {
|
|
8602
8706
|
super(NhAuthService);
|
|
8603
8707
|
}
|
|
8604
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
8605
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
8708
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhCollectionBaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8709
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.33", type: NhCollectionBaseComponent, isStandalone: false, selector: "nh-shared-collection-type-base-component", usesInheritance: true, ngImport: i0, template: ``, isInline: true }); }
|
|
8606
8710
|
}
|
|
8607
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
8711
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhCollectionBaseComponent, decorators: [{
|
|
8608
8712
|
type: Component,
|
|
8609
8713
|
args: [{
|
|
8610
8714
|
selector: 'nh-shared-collection-type-base-component',
|
|
@@ -8764,10 +8868,10 @@ class NhMutateBaseTypeComponent {
|
|
|
8764
8868
|
this.isSubmitting = false;
|
|
8765
8869
|
}
|
|
8766
8870
|
}
|
|
8767
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
8768
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
8871
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhMutateBaseTypeComponent, deps: [{ token: i0.Type }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8872
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.33", type: NhMutateBaseTypeComponent, isStandalone: false, selector: "nh-mutate-base-type-component", outputs: { created: "created", updated: "updated" }, viewQueries: [{ propertyName: "form", first: true, predicate: NgForm, descendants: true }], usesOnChanges: true, ngImport: i0, template: ``, isInline: true }); }
|
|
8769
8873
|
}
|
|
8770
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
8874
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhMutateBaseTypeComponent, decorators: [{
|
|
8771
8875
|
type: Component,
|
|
8772
8876
|
args: [{
|
|
8773
8877
|
selector: 'nh-mutate-base-type-component',
|
|
@@ -8786,10 +8890,10 @@ class NhMutateBaseComponent extends NhMutateBaseTypeComponent {
|
|
|
8786
8890
|
constructor() {
|
|
8787
8891
|
super(NhAuthService);
|
|
8788
8892
|
}
|
|
8789
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
8790
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
8893
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhMutateBaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8894
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.33", type: NhMutateBaseComponent, isStandalone: false, selector: "nh-mutate-base-component", usesInheritance: true, ngImport: i0, template: ``, isInline: true }); }
|
|
8791
8895
|
}
|
|
8792
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
8896
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhMutateBaseComponent, decorators: [{
|
|
8793
8897
|
type: Component,
|
|
8794
8898
|
args: [{
|
|
8795
8899
|
selector: 'nh-mutate-base-component',
|
|
@@ -8815,10 +8919,10 @@ class NhModalMutateBaseTypeComponent extends NhMutateBaseTypeComponent {
|
|
|
8815
8919
|
closeDialog(event) {
|
|
8816
8920
|
this.modalComponentRef?.close();
|
|
8817
8921
|
}
|
|
8818
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
8819
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
8922
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhModalMutateBaseTypeComponent, deps: [{ token: i0.Type }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8923
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.33", type: NhModalMutateBaseTypeComponent, isStandalone: false, selector: "nh-modal-mutate-base-type-component", host: { listeners: { "document:keyup": "onKeyUp($event)" } }, usesInheritance: true, ngImport: i0, template: ``, isInline: true }); }
|
|
8820
8924
|
}
|
|
8821
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
8925
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhModalMutateBaseTypeComponent, decorators: [{
|
|
8822
8926
|
type: Component,
|
|
8823
8927
|
args: [{
|
|
8824
8928
|
selector: 'nh-modal-mutate-base-type-component',
|
|
@@ -8833,10 +8937,10 @@ class NhModalMutateBaseComponent extends NhModalMutateBaseTypeComponent {
|
|
|
8833
8937
|
constructor() {
|
|
8834
8938
|
super(NhAuthService);
|
|
8835
8939
|
}
|
|
8836
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
8837
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
8940
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhModalMutateBaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8941
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.33", type: NhModalMutateBaseComponent, isStandalone: false, selector: "nh-modal-mutate-base-component", usesInheritance: true, ngImport: i0, template: ``, isInline: true }); }
|
|
8838
8942
|
}
|
|
8839
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
8943
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhModalMutateBaseComponent, decorators: [{
|
|
8840
8944
|
type: Component,
|
|
8841
8945
|
args: [{
|
|
8842
8946
|
selector: 'nh-modal-mutate-base-component',
|
|
@@ -8856,10 +8960,10 @@ class NhErrorComponent {
|
|
|
8856
8960
|
}
|
|
8857
8961
|
return this.errors()?.items.find(x => x.name?.toLowerCase() === this.key()?.toLowerCase())?.errorMessages || [];
|
|
8858
8962
|
}
|
|
8859
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
8860
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
8963
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhErrorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8964
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.33", type: NhErrorComponent, isStandalone: false, selector: "nh-error", inputs: { key: { classPropertyName: "key", publicName: "key", isSignal: true, isRequired: true, transformFunction: null }, errors: { classPropertyName: "errors", publicName: "errors", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "\n@if(displayErrors.length > 0) {\n <ul class=\"text-danger validation-errors\">\n @for(error of displayErrors; track $index) {\n <li>{{error}}</li>\n }\n </ul>\n}\n\n", styles: [""] }); }
|
|
8861
8965
|
}
|
|
8862
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
8966
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhErrorComponent, decorators: [{
|
|
8863
8967
|
type: Component,
|
|
8864
8968
|
args: [{ selector: 'nh-error', standalone: false, template: "\n@if(displayErrors.length > 0) {\n <ul class=\"text-danger validation-errors\">\n @for(error of displayErrors; track $index) {\n <li>{{error}}</li>\n }\n </ul>\n}\n\n" }]
|
|
8865
8969
|
}], propDecorators: { key: [{ type: i0.Input, args: [{ isSignal: true, alias: "key", required: true }] }], errors: [{ type: i0.Input, args: [{ isSignal: true, alias: "errors", required: true }] }] } });
|
|
@@ -9006,10 +9110,10 @@ class NhUserNotificationsAbstractComponent extends NhCollectionBaseComponent {
|
|
|
9006
9110
|
this.lastNotificationCount = state.overview.totalCount;
|
|
9007
9111
|
this.lastUnreadNotificationCount = state.overview.unreadCount;
|
|
9008
9112
|
}
|
|
9009
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
9010
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.
|
|
9113
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhUserNotificationsAbstractComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9114
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.33", type: NhUserNotificationsAbstractComponent, isStandalone: false, selector: "nh-user-notifications-abstract", inputs: { allowStart: { classPropertyName: "allowStart", publicName: "allowStart", isSignal: false, isRequired: false, transformFunction: null }, allowStop: { classPropertyName: "allowStop", publicName: "allowStop", isSignal: false, isRequired: false, transformFunction: null }, itemsPerPage: { classPropertyName: "itemsPerPage", publicName: "itemsPerPage", isSignal: false, isRequired: false, transformFunction: null }, autoLoadNotificationChanges: { classPropertyName: "autoLoadNotificationChanges", publicName: "autoLoadNotificationChanges", isSignal: false, isRequired: false, transformFunction: null }, partialLocalStorageKey: { classPropertyName: "partialLocalStorageKey", publicName: "partialLocalStorageKey", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0, template: ``, isInline: true }); }
|
|
9011
9115
|
}
|
|
9012
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
9116
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhUserNotificationsAbstractComponent, decorators: [{
|
|
9013
9117
|
type: Component,
|
|
9014
9118
|
args: [{
|
|
9015
9119
|
selector: 'nh-user-notifications-abstract',
|
|
@@ -9073,10 +9177,10 @@ class NhBackgroundOperationProgressComponent {
|
|
|
9073
9177
|
return !operation.sensitiveDataRedactedAt
|
|
9074
9178
|
&& ['Failed', 'Cancelled', 'TimedOut'].includes(nhBackgroundOperationStatusName(operation.status));
|
|
9075
9179
|
}
|
|
9076
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
9077
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.28", type: NhBackgroundOperationProgressComponent, isStandalone: true, selector: "nh-background-operation-progress", inputs: { operation: "operation", showEvents: "showEvents", showActions: "showActions" }, outputs: { cancelRequested: "cancelRequested", retryRequested: "retryRequested" }, ngImport: i0, template: "<section class=\"nh-operation\" [attr.data-status]=\"statusKey(operation.status)\">\n <header class=\"nh-operation__header\">\n <div>\n <p class=\"nh-operation__eyebrow\">{{ 'nh-background-operations.operation' | translate }}</p>\n <h2>{{ operation.operationType }}</h2>\n </div>\n <span class=\"nh-operation__status\">{{ statusKey(operation.status) | translate }}</span>\n </header>\n\n <div class=\"nh-operation__overall\">\n <div class=\"nh-operation__progress-label\">\n <span>{{ operation.progressMessageKey ? (operation.progressMessageKey | translate: arguments(operation.progressMessageArgumentsJson)) : ('nh-background-operations.progress' | translate) }}</span>\n <strong>{{ percentage(operation.progressPercentage) | number:'1.0-1' }}%</strong>\n </div>\n <div class=\"nh-operation__progress\" role=\"progressbar\"\n [attr.aria-label]=\"'nh-background-operations.overall-progress' | translate\"\n aria-valuemin=\"0\" aria-valuemax=\"100\"\n [attr.aria-valuenow]=\"percentage(operation.progressPercentage)\">\n <span [style.width.%]=\"percentage(operation.progressPercentage)\"></span>\n </div>\n </div>\n\n @if (showActions && (canCancel(operation.status) || canRetry(operation))) {\n <div class=\"nh-operation__actions\">\n @if (canCancel(operation.status)) {\n <button type=\"button\" (click)=\"cancelRequested.emit(operation.id)\">\n {{ 'nh-background-operations.cancel' | translate }}\n </button>\n }\n @if (canRetry(operation)) {\n <button type=\"button\" (click)=\"retryRequested.emit(operation.id)\">\n {{ 'nh-background-operations.retry' | translate }}\n </button>\n }\n </div>\n }\n\n <div class=\"nh-operation__steps\" role=\"list\" [attr.aria-label]=\"'nh-background-operations.steps' | translate\">\n <ng-template #renderStep let-step let-depth=\"depth\">\n <article class=\"nh-step\" role=\"listitem\" [style.--nh-step-depth]=\"depth\">\n <div class=\"nh-step__heading\">\n <div>\n <strong>{{ stepTitle(step) | translate: arguments(step.titleArgumentsJson) }}</strong>\n @if (step.messageKey) {\n <span>{{ step.messageKey | translate: arguments(step.messageArgumentsJson) }}</span>\n }\n </div>\n <span class=\"nh-step__status\">{{ stepStatusKey(step.status) | translate }}</span>\n </div>\n <div class=\"nh-step__progress\" role=\"progressbar\"\n [attr.aria-label]=\"stepTitle(step) | translate: arguments(step.titleArgumentsJson)\"\n aria-valuemin=\"0\" aria-valuemax=\"100\"\n [attr.aria-valuenow]=\"percentage(step.percentage)\">\n <span [style.width.%]=\"percentage(step.percentage)\"></span>\n </div>\n @if (hasBatch(step)) {\n <dl class=\"nh-step__batch\">\n <div><dt>{{ 'nh-background-operations.batch.processed' | translate }}</dt><dd>{{ step.processedItems }} / {{ step.discoveredItems }}</dd></div>\n <div><dt>{{ 'nh-background-operations.batch.succeeded' | translate }}</dt><dd>{{ step.succeededItems }}</dd></div>\n <div><dt>{{ 'nh-background-operations.batch.failed' | translate }}</dt><dd>{{ step.failedItems }}</dd></div>\n <div><dt>{{ 'nh-background-operations.batch.skipped' | translate }}</dt><dd>{{ step.skippedItems }}</dd></div>\n @if (step.retriedItems > 0) {\n <div><dt>{{ 'nh-background-operations.batch.retried' | translate }}</dt><dd>{{ step.retriedItems }}</dd></div>\n }\n @if (step.activeItems > 0) {\n <div><dt>{{ 'nh-background-operations.batch.active' | translate }}</dt><dd>{{ step.activeItems }}</dd></div>\n }\n </dl>\n }\n </article>\n @for (child of step.children; track child.id) {\n <ng-container *ngTemplateOutlet=\"renderStep; context: {$implicit: child, depth: depth + 1}\"></ng-container>\n }\n </ng-template>\n\n @for (step of operation.steps; track step.id) {\n <ng-container *ngTemplateOutlet=\"renderStep; context: {$implicit: step, depth: 0}\"></ng-container>\n } @empty {\n <p class=\"nh-operation__empty\">{{ 'nh-background-operations.no-steps' | translate }}</p>\n }\n </div>\n\n @if (operation.children.length > 0) {\n <section class=\"nh-operation__children\">\n <h3>{{ 'nh-background-operations.children' | translate }}</h3>\n <div role=\"list\" [attr.aria-label]=\"'nh-background-operations.children' | translate\">\n <ng-template #renderChild let-child let-depth=\"depth\">\n <article class=\"nh-child\" role=\"listitem\" [style.--nh-child-depth]=\"depth\">\n <div class=\"nh-child__heading\">\n <div>\n <strong>{{ childLabel(child) }}</strong>\n <span>{{ child.operationType }}</span>\n </div>\n <span class=\"nh-child__status\">{{ statusKey(child.status) | translate }}</span>\n </div>\n <div class=\"nh-step__progress\" role=\"progressbar\"\n [attr.aria-label]=\"childLabel(child)\"\n aria-valuemin=\"0\" aria-valuemax=\"100\"\n [attr.aria-valuenow]=\"percentage(child.progressPercentage)\">\n <span [style.width.%]=\"percentage(child.progressPercentage)\"></span>\n </div>\n @if (child.resultUrl) {\n <a [href]=\"child.resultUrl\">{{ 'nh-background-operations.open-result' | translate }}</a>\n }\n </article>\n @for (nestedChild of child.children; track nestedChild.id) {\n <ng-container *ngTemplateOutlet=\"renderChild; context: {$implicit: nestedChild, depth: depth + 1}\"></ng-container>\n }\n </ng-template>\n\n @for (child of operation.children; track child.id) {\n <ng-container *ngTemplateOutlet=\"renderChild; context: {$implicit: child, depth: 0}\"></ng-container>\n }\n </div>\n </section>\n }\n\n @if (showEvents && operation.events.length > 0) {\n <section class=\"nh-operation__events\">\n <h3>{{ 'nh-background-operations.activity' | translate }}</h3>\n <ol>\n @for (event of operation.events; track event.id) {\n @if (event.messageKey) {\n <li [class.nh-operation__event--operator]=\"event.isOperatorOnly\">\n <time [attr.datetime]=\"event.creationDateTime\">{{ event.creationDateTime | date:'short' }}</time>\n <span>\n {{ event.messageKey | translate: arguments(event.messageArgumentsJson) }}\n @if (event.isOperatorOnly) {\n <small class=\"nh-operation__event-badge\">{{ 'nh-background-operations.operator-only' | translate }}</small>\n }\n </span>\n @if (event.resultUrl) {\n <a [href]=\"event.resultUrl\">{{ 'nh-background-operations.open-result' | translate }}</a>\n }\n </li>\n }\n }\n </ol>\n </section>\n }\n</section>\n", styles: [":host{display:block;color:var(--nh-color-text, #fff)}.nh-operation{display:grid;gap:1rem;padding:1rem;border:1px solid var(--nh-color-border, rgba(255, 255, 255, .14));border-radius:1rem;background:var(--nh-color-surface, #101827)}.nh-operation__header,.nh-step__heading,.nh-child__heading,.nh-operation__progress-label,.nh-operation__actions{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.nh-operation__header h2,.nh-operation__events h3,.nh-operation__children h3,.nh-operation__eyebrow,.nh-step__heading span,.nh-step__batch,.nh-operation__events ol{margin:0}.nh-operation__eyebrow{color:var(--nh-color-muted, #9aa8bc);font-size:.75rem;letter-spacing:.06em;text-transform:uppercase}.nh-operation__status,.nh-step__status{flex:none;padding:.25rem .5rem;border-radius:.4rem;background:var(--nh-color-status-background, rgba(2, 41, 98, .75));font-size:.75rem}.nh-operation__progress,.nh-step__progress{overflow:hidden;height:.5rem;border-radius:.25rem;background:var(--nh-color-progress-track, rgba(255, 255, 255, .1))}.nh-operation__progress span,.nh-step__progress span{display:block;height:100%;background:var(--nh-color-progress, #ff6700);transition:width .18s ease-out}.nh-operation__steps{display:grid;gap:.625rem}.nh-operation__children,.nh-operation__children>div{display:grid;gap:.625rem}.nh-child{display:grid;gap:.5rem;margin-inline-start:min(var(--nh-child-depth) * 1rem,3rem);padding:.75rem;border:1px solid var(--nh-color-border, rgba(255, 255, 255, .14));border-radius:.5rem;background:var(--nh-color-surface-subtle, rgba(255, 255, 255, .035))}.nh-child__heading{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.nh-child__heading>div{display:grid;gap:.125rem}.nh-child__heading span{color:var(--nh-color-muted, #9aa8bc);font-size:.8rem}.nh-child__status{flex:none;padding:.25rem .5rem;border-radius:.4rem;background:var(--nh-color-status-background, rgba(2, 41, 98, .75));color:var(--nh-color-text, #fff);font-size:.75rem}.nh-child a{justify-self:start}.nh-step{display:grid;gap:.5rem;margin-inline-start:calc(var(--nh-step-depth) * 1rem);padding:.75rem;border-inline-start:2px solid var(--nh-color-progress, #ff6700);background:var(--nh-color-surface-subtle, rgba(255, 255, 255, .035))}.nh-step__heading>div{display:grid;gap:.125rem}.nh-step__heading span{color:var(--nh-color-muted, #9aa8bc);font-size:.8rem}.nh-step__batch{display:flex;flex-wrap:wrap;gap:.5rem 1rem;color:var(--nh-color-muted, #9aa8bc);font-size:.75rem}.nh-step__batch div{display:flex;gap:.25rem}.nh-step__batch dd{margin:0;color:var(--nh-color-text, #fff)}.nh-operation__actions{justify-content:flex-end}.nh-operation__actions button{min-height:2.25rem;padding:.4rem .75rem;border:1px solid var(--nh-color-border, rgba(255, 255, 255, .2));border-radius:.5rem;color:inherit;background:transparent}.nh-operation__actions button:focus-visible,.nh-child a:focus-visible,.nh-operation__events a:focus-visible{outline:2px solid var(--nh-color-progress, #ff6700);outline-offset:2px}.nh-operation__events ol{display:grid;gap:.5rem;padding:0;list-style:none}.nh-operation__events li{display:grid;grid-template-columns:minmax(7rem,auto) 1fr auto;gap:.75rem;color:var(--nh-color-muted, #9aa8bc);font-size:.8rem}.nh-operation__events li span{color:var(--nh-color-text, #fff)}.nh-operation__event-badge{margin-left:.5rem;padding:.125rem .375rem;border:1px solid var(--nh-color-border, rgba(255, 255, 255, .2));border-radius:.4rem;color:var(--nh-color-muted, #9aa8bc);font-size:.7rem;white-space:nowrap}@media(prefers-reduced-motion:reduce){.nh-operation__progress span,.nh-step__progress span{transition:none}}@media(max-width:40rem){.nh-operation__header,.nh-step__heading,.nh-child__heading,.nh-operation__events li{align-items:flex-start;grid-template-columns:1fr}.nh-operation__header,.nh-step__heading{flex-direction:column}.nh-child__heading{align-items:flex-start;flex-direction:column}.nh-step{margin-inline-start:min(var(--nh-step-depth) * .5rem,1.5rem)}}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i1$3.DecimalPipe, name: "number" }, { kind: "pipe", type: i1$3.DatePipe, name: "date" }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
9180
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhBackgroundOperationProgressComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9181
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.33", type: NhBackgroundOperationProgressComponent, isStandalone: true, selector: "nh-background-operation-progress", inputs: { operation: "operation", showEvents: "showEvents", showActions: "showActions" }, outputs: { cancelRequested: "cancelRequested", retryRequested: "retryRequested" }, ngImport: i0, template: "<section class=\"nh-operation\" [attr.data-status]=\"statusKey(operation.status)\">\n <header class=\"nh-operation__header\">\n <div>\n <p class=\"nh-operation__eyebrow\">{{ 'nh-background-operations.operation' | translate }}</p>\n <h2>{{ operation.operationType }}</h2>\n </div>\n <span class=\"nh-operation__status\">{{ statusKey(operation.status) | translate }}</span>\n </header>\n\n <div class=\"nh-operation__overall\">\n <div class=\"nh-operation__progress-label\">\n <span>{{ operation.progressMessageKey ? (operation.progressMessageKey | translate: arguments(operation.progressMessageArgumentsJson)) : ('nh-background-operations.progress' | translate) }}</span>\n <strong>{{ percentage(operation.progressPercentage) | number:'1.0-1' }}%</strong>\n </div>\n <div class=\"nh-operation__progress\" role=\"progressbar\"\n [attr.aria-label]=\"'nh-background-operations.overall-progress' | translate\"\n aria-valuemin=\"0\" aria-valuemax=\"100\"\n [attr.aria-valuenow]=\"percentage(operation.progressPercentage)\">\n <span [style.width.%]=\"percentage(operation.progressPercentage)\"></span>\n </div>\n </div>\n\n @if (showActions && (canCancel(operation.status) || canRetry(operation))) {\n <div class=\"nh-operation__actions\">\n @if (canCancel(operation.status)) {\n <button type=\"button\" (click)=\"cancelRequested.emit(operation.id)\">\n {{ 'nh-background-operations.cancel' | translate }}\n </button>\n }\n @if (canRetry(operation)) {\n <button type=\"button\" (click)=\"retryRequested.emit(operation.id)\">\n {{ 'nh-background-operations.retry' | translate }}\n </button>\n }\n </div>\n }\n\n <div class=\"nh-operation__steps\" role=\"list\" [attr.aria-label]=\"'nh-background-operations.steps' | translate\">\n <ng-template #renderStep let-step let-depth=\"depth\">\n <article class=\"nh-step\" role=\"listitem\" [style.--nh-step-depth]=\"depth\">\n <div class=\"nh-step__heading\">\n <div>\n <strong>{{ stepTitle(step) | translate: arguments(step.titleArgumentsJson) }}</strong>\n @if (step.messageKey) {\n <span>{{ step.messageKey | translate: arguments(step.messageArgumentsJson) }}</span>\n }\n </div>\n <span class=\"nh-step__status\">{{ stepStatusKey(step.status) | translate }}</span>\n </div>\n <div class=\"nh-step__progress\" role=\"progressbar\"\n [attr.aria-label]=\"stepTitle(step) | translate: arguments(step.titleArgumentsJson)\"\n aria-valuemin=\"0\" aria-valuemax=\"100\"\n [attr.aria-valuenow]=\"percentage(step.percentage)\">\n <span [style.width.%]=\"percentage(step.percentage)\"></span>\n </div>\n @if (hasBatch(step)) {\n <dl class=\"nh-step__batch\">\n <div><dt>{{ 'nh-background-operations.batch.processed' | translate }}</dt><dd>{{ step.processedItems }} / {{ step.discoveredItems }}</dd></div>\n <div><dt>{{ 'nh-background-operations.batch.succeeded' | translate }}</dt><dd>{{ step.succeededItems }}</dd></div>\n <div><dt>{{ 'nh-background-operations.batch.failed' | translate }}</dt><dd>{{ step.failedItems }}</dd></div>\n <div><dt>{{ 'nh-background-operations.batch.skipped' | translate }}</dt><dd>{{ step.skippedItems }}</dd></div>\n @if (step.retriedItems > 0) {\n <div><dt>{{ 'nh-background-operations.batch.retried' | translate }}</dt><dd>{{ step.retriedItems }}</dd></div>\n }\n @if (step.activeItems > 0) {\n <div><dt>{{ 'nh-background-operations.batch.active' | translate }}</dt><dd>{{ step.activeItems }}</dd></div>\n }\n </dl>\n }\n </article>\n @for (child of step.children; track child.id) {\n <ng-container *ngTemplateOutlet=\"renderStep; context: {$implicit: child, depth: depth + 1}\"></ng-container>\n }\n </ng-template>\n\n @for (step of operation.steps; track step.id) {\n <ng-container *ngTemplateOutlet=\"renderStep; context: {$implicit: step, depth: 0}\"></ng-container>\n } @empty {\n <p class=\"nh-operation__empty\">{{ 'nh-background-operations.no-steps' | translate }}</p>\n }\n </div>\n\n @if (operation.children.length > 0) {\n <section class=\"nh-operation__children\">\n <h3>{{ 'nh-background-operations.children' | translate }}</h3>\n <div role=\"list\" [attr.aria-label]=\"'nh-background-operations.children' | translate\">\n <ng-template #renderChild let-child let-depth=\"depth\">\n <article class=\"nh-child\" role=\"listitem\" [style.--nh-child-depth]=\"depth\">\n <div class=\"nh-child__heading\">\n <div>\n <strong>{{ childLabel(child) }}</strong>\n <span>{{ child.operationType }}</span>\n </div>\n <span class=\"nh-child__status\">{{ statusKey(child.status) | translate }}</span>\n </div>\n <div class=\"nh-step__progress\" role=\"progressbar\"\n [attr.aria-label]=\"childLabel(child)\"\n aria-valuemin=\"0\" aria-valuemax=\"100\"\n [attr.aria-valuenow]=\"percentage(child.progressPercentage)\">\n <span [style.width.%]=\"percentage(child.progressPercentage)\"></span>\n </div>\n @if (child.resultUrl) {\n <a [href]=\"child.resultUrl\">{{ 'nh-background-operations.open-result' | translate }}</a>\n }\n </article>\n @for (nestedChild of child.children; track nestedChild.id) {\n <ng-container *ngTemplateOutlet=\"renderChild; context: {$implicit: nestedChild, depth: depth + 1}\"></ng-container>\n }\n </ng-template>\n\n @for (child of operation.children; track child.id) {\n <ng-container *ngTemplateOutlet=\"renderChild; context: {$implicit: child, depth: 0}\"></ng-container>\n }\n </div>\n </section>\n }\n\n @if (showEvents && operation.events.length > 0) {\n <section class=\"nh-operation__events\">\n <h3>{{ 'nh-background-operations.activity' | translate }}</h3>\n <ol>\n @for (event of operation.events; track event.id) {\n @if (event.messageKey) {\n <li [class.nh-operation__event--operator]=\"event.isOperatorOnly\">\n <time [attr.datetime]=\"event.creationDateTime\">{{ event.creationDateTime | date:'short' }}</time>\n <span>\n {{ event.messageKey | translate: arguments(event.messageArgumentsJson) }}\n @if (event.isOperatorOnly) {\n <small class=\"nh-operation__event-badge\">{{ 'nh-background-operations.operator-only' | translate }}</small>\n }\n </span>\n @if (event.resultUrl) {\n <a [href]=\"event.resultUrl\">{{ 'nh-background-operations.open-result' | translate }}</a>\n }\n </li>\n }\n }\n </ol>\n </section>\n }\n</section>\n", styles: [":host{display:block;color:var(--nh-color-text, #fff)}.nh-operation{display:grid;gap:1rem;padding:1rem;border:1px solid var(--nh-color-border, rgba(255, 255, 255, .14));border-radius:1rem;background:var(--nh-color-surface, #101827)}.nh-operation__header,.nh-step__heading,.nh-child__heading,.nh-operation__progress-label,.nh-operation__actions{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.nh-operation__header h2,.nh-operation__events h3,.nh-operation__children h3,.nh-operation__eyebrow,.nh-step__heading span,.nh-step__batch,.nh-operation__events ol{margin:0}.nh-operation__eyebrow{color:var(--nh-color-muted, #9aa8bc);font-size:.75rem;letter-spacing:.06em;text-transform:uppercase}.nh-operation__status,.nh-step__status{flex:none;padding:.25rem .5rem;border-radius:.4rem;background:var(--nh-color-status-background, rgba(2, 41, 98, .75));font-size:.75rem}.nh-operation__progress,.nh-step__progress{overflow:hidden;height:.5rem;border-radius:.25rem;background:var(--nh-color-progress-track, rgba(255, 255, 255, .1))}.nh-operation__progress span,.nh-step__progress span{display:block;height:100%;background:var(--nh-color-progress, #ff6700);transition:width .18s ease-out}.nh-operation__steps{display:grid;gap:.625rem}.nh-operation__children,.nh-operation__children>div{display:grid;gap:.625rem}.nh-child{display:grid;gap:.5rem;margin-inline-start:min(var(--nh-child-depth) * 1rem,3rem);padding:.75rem;border:1px solid var(--nh-color-border, rgba(255, 255, 255, .14));border-radius:.5rem;background:var(--nh-color-surface-subtle, rgba(255, 255, 255, .035))}.nh-child__heading{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.nh-child__heading>div{display:grid;gap:.125rem}.nh-child__heading span{color:var(--nh-color-muted, #9aa8bc);font-size:.8rem}.nh-child__status{flex:none;padding:.25rem .5rem;border-radius:.4rem;background:var(--nh-color-status-background, rgba(2, 41, 98, .75));color:var(--nh-color-text, #fff);font-size:.75rem}.nh-child a{justify-self:start}.nh-step{display:grid;gap:.5rem;margin-inline-start:calc(var(--nh-step-depth) * 1rem);padding:.75rem;border-inline-start:2px solid var(--nh-color-progress, #ff6700);background:var(--nh-color-surface-subtle, rgba(255, 255, 255, .035))}.nh-step__heading>div{display:grid;gap:.125rem}.nh-step__heading span{color:var(--nh-color-muted, #9aa8bc);font-size:.8rem}.nh-step__batch{display:flex;flex-wrap:wrap;gap:.5rem 1rem;color:var(--nh-color-muted, #9aa8bc);font-size:.75rem}.nh-step__batch div{display:flex;gap:.25rem}.nh-step__batch dd{margin:0;color:var(--nh-color-text, #fff)}.nh-operation__actions{justify-content:flex-end}.nh-operation__actions button{min-height:2.25rem;padding:.4rem .75rem;border:1px solid var(--nh-color-border, rgba(255, 255, 255, .2));border-radius:.5rem;color:inherit;background:transparent}.nh-operation__actions button:focus-visible,.nh-child a:focus-visible,.nh-operation__events a:focus-visible{outline:2px solid var(--nh-color-progress, #ff6700);outline-offset:2px}.nh-operation__events ol{display:grid;gap:.5rem;padding:0;list-style:none}.nh-operation__events li{display:grid;grid-template-columns:minmax(7rem,auto) 1fr auto;gap:.75rem;color:var(--nh-color-muted, #9aa8bc);font-size:.8rem}.nh-operation__events li span{color:var(--nh-color-text, #fff)}.nh-operation__event-badge{margin-left:.5rem;padding:.125rem .375rem;border:1px solid var(--nh-color-border, rgba(255, 255, 255, .2));border-radius:.4rem;color:var(--nh-color-muted, #9aa8bc);font-size:.7rem;white-space:nowrap}@media(prefers-reduced-motion:reduce){.nh-operation__progress span,.nh-step__progress span{transition:none}}@media(max-width:40rem){.nh-operation__header,.nh-step__heading,.nh-child__heading,.nh-operation__events li{align-items:flex-start;grid-template-columns:1fr}.nh-operation__header,.nh-step__heading{flex-direction:column}.nh-child__heading{align-items:flex-start;flex-direction:column}.nh-step{margin-inline-start:min(var(--nh-step-depth) * .5rem,1.5rem)}}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i1$3.DecimalPipe, name: "number" }, { kind: "pipe", type: i1$3.DatePipe, name: "date" }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
9078
9182
|
}
|
|
9079
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
9183
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhBackgroundOperationProgressComponent, decorators: [{
|
|
9080
9184
|
type: Component,
|
|
9081
9185
|
args: [{ selector: 'nh-background-operation-progress', standalone: true, imports: [CommonModule, TranslateModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "<section class=\"nh-operation\" [attr.data-status]=\"statusKey(operation.status)\">\n <header class=\"nh-operation__header\">\n <div>\n <p class=\"nh-operation__eyebrow\">{{ 'nh-background-operations.operation' | translate }}</p>\n <h2>{{ operation.operationType }}</h2>\n </div>\n <span class=\"nh-operation__status\">{{ statusKey(operation.status) | translate }}</span>\n </header>\n\n <div class=\"nh-operation__overall\">\n <div class=\"nh-operation__progress-label\">\n <span>{{ operation.progressMessageKey ? (operation.progressMessageKey | translate: arguments(operation.progressMessageArgumentsJson)) : ('nh-background-operations.progress' | translate) }}</span>\n <strong>{{ percentage(operation.progressPercentage) | number:'1.0-1' }}%</strong>\n </div>\n <div class=\"nh-operation__progress\" role=\"progressbar\"\n [attr.aria-label]=\"'nh-background-operations.overall-progress' | translate\"\n aria-valuemin=\"0\" aria-valuemax=\"100\"\n [attr.aria-valuenow]=\"percentage(operation.progressPercentage)\">\n <span [style.width.%]=\"percentage(operation.progressPercentage)\"></span>\n </div>\n </div>\n\n @if (showActions && (canCancel(operation.status) || canRetry(operation))) {\n <div class=\"nh-operation__actions\">\n @if (canCancel(operation.status)) {\n <button type=\"button\" (click)=\"cancelRequested.emit(operation.id)\">\n {{ 'nh-background-operations.cancel' | translate }}\n </button>\n }\n @if (canRetry(operation)) {\n <button type=\"button\" (click)=\"retryRequested.emit(operation.id)\">\n {{ 'nh-background-operations.retry' | translate }}\n </button>\n }\n </div>\n }\n\n <div class=\"nh-operation__steps\" role=\"list\" [attr.aria-label]=\"'nh-background-operations.steps' | translate\">\n <ng-template #renderStep let-step let-depth=\"depth\">\n <article class=\"nh-step\" role=\"listitem\" [style.--nh-step-depth]=\"depth\">\n <div class=\"nh-step__heading\">\n <div>\n <strong>{{ stepTitle(step) | translate: arguments(step.titleArgumentsJson) }}</strong>\n @if (step.messageKey) {\n <span>{{ step.messageKey | translate: arguments(step.messageArgumentsJson) }}</span>\n }\n </div>\n <span class=\"nh-step__status\">{{ stepStatusKey(step.status) | translate }}</span>\n </div>\n <div class=\"nh-step__progress\" role=\"progressbar\"\n [attr.aria-label]=\"stepTitle(step) | translate: arguments(step.titleArgumentsJson)\"\n aria-valuemin=\"0\" aria-valuemax=\"100\"\n [attr.aria-valuenow]=\"percentage(step.percentage)\">\n <span [style.width.%]=\"percentage(step.percentage)\"></span>\n </div>\n @if (hasBatch(step)) {\n <dl class=\"nh-step__batch\">\n <div><dt>{{ 'nh-background-operations.batch.processed' | translate }}</dt><dd>{{ step.processedItems }} / {{ step.discoveredItems }}</dd></div>\n <div><dt>{{ 'nh-background-operations.batch.succeeded' | translate }}</dt><dd>{{ step.succeededItems }}</dd></div>\n <div><dt>{{ 'nh-background-operations.batch.failed' | translate }}</dt><dd>{{ step.failedItems }}</dd></div>\n <div><dt>{{ 'nh-background-operations.batch.skipped' | translate }}</dt><dd>{{ step.skippedItems }}</dd></div>\n @if (step.retriedItems > 0) {\n <div><dt>{{ 'nh-background-operations.batch.retried' | translate }}</dt><dd>{{ step.retriedItems }}</dd></div>\n }\n @if (step.activeItems > 0) {\n <div><dt>{{ 'nh-background-operations.batch.active' | translate }}</dt><dd>{{ step.activeItems }}</dd></div>\n }\n </dl>\n }\n </article>\n @for (child of step.children; track child.id) {\n <ng-container *ngTemplateOutlet=\"renderStep; context: {$implicit: child, depth: depth + 1}\"></ng-container>\n }\n </ng-template>\n\n @for (step of operation.steps; track step.id) {\n <ng-container *ngTemplateOutlet=\"renderStep; context: {$implicit: step, depth: 0}\"></ng-container>\n } @empty {\n <p class=\"nh-operation__empty\">{{ 'nh-background-operations.no-steps' | translate }}</p>\n }\n </div>\n\n @if (operation.children.length > 0) {\n <section class=\"nh-operation__children\">\n <h3>{{ 'nh-background-operations.children' | translate }}</h3>\n <div role=\"list\" [attr.aria-label]=\"'nh-background-operations.children' | translate\">\n <ng-template #renderChild let-child let-depth=\"depth\">\n <article class=\"nh-child\" role=\"listitem\" [style.--nh-child-depth]=\"depth\">\n <div class=\"nh-child__heading\">\n <div>\n <strong>{{ childLabel(child) }}</strong>\n <span>{{ child.operationType }}</span>\n </div>\n <span class=\"nh-child__status\">{{ statusKey(child.status) | translate }}</span>\n </div>\n <div class=\"nh-step__progress\" role=\"progressbar\"\n [attr.aria-label]=\"childLabel(child)\"\n aria-valuemin=\"0\" aria-valuemax=\"100\"\n [attr.aria-valuenow]=\"percentage(child.progressPercentage)\">\n <span [style.width.%]=\"percentage(child.progressPercentage)\"></span>\n </div>\n @if (child.resultUrl) {\n <a [href]=\"child.resultUrl\">{{ 'nh-background-operations.open-result' | translate }}</a>\n }\n </article>\n @for (nestedChild of child.children; track nestedChild.id) {\n <ng-container *ngTemplateOutlet=\"renderChild; context: {$implicit: nestedChild, depth: depth + 1}\"></ng-container>\n }\n </ng-template>\n\n @for (child of operation.children; track child.id) {\n <ng-container *ngTemplateOutlet=\"renderChild; context: {$implicit: child, depth: 0}\"></ng-container>\n }\n </div>\n </section>\n }\n\n @if (showEvents && operation.events.length > 0) {\n <section class=\"nh-operation__events\">\n <h3>{{ 'nh-background-operations.activity' | translate }}</h3>\n <ol>\n @for (event of operation.events; track event.id) {\n @if (event.messageKey) {\n <li [class.nh-operation__event--operator]=\"event.isOperatorOnly\">\n <time [attr.datetime]=\"event.creationDateTime\">{{ event.creationDateTime | date:'short' }}</time>\n <span>\n {{ event.messageKey | translate: arguments(event.messageArgumentsJson) }}\n @if (event.isOperatorOnly) {\n <small class=\"nh-operation__event-badge\">{{ 'nh-background-operations.operator-only' | translate }}</small>\n }\n </span>\n @if (event.resultUrl) {\n <a [href]=\"event.resultUrl\">{{ 'nh-background-operations.open-result' | translate }}</a>\n }\n </li>\n }\n }\n </ol>\n </section>\n }\n</section>\n", styles: [":host{display:block;color:var(--nh-color-text, #fff)}.nh-operation{display:grid;gap:1rem;padding:1rem;border:1px solid var(--nh-color-border, rgba(255, 255, 255, .14));border-radius:1rem;background:var(--nh-color-surface, #101827)}.nh-operation__header,.nh-step__heading,.nh-child__heading,.nh-operation__progress-label,.nh-operation__actions{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.nh-operation__header h2,.nh-operation__events h3,.nh-operation__children h3,.nh-operation__eyebrow,.nh-step__heading span,.nh-step__batch,.nh-operation__events ol{margin:0}.nh-operation__eyebrow{color:var(--nh-color-muted, #9aa8bc);font-size:.75rem;letter-spacing:.06em;text-transform:uppercase}.nh-operation__status,.nh-step__status{flex:none;padding:.25rem .5rem;border-radius:.4rem;background:var(--nh-color-status-background, rgba(2, 41, 98, .75));font-size:.75rem}.nh-operation__progress,.nh-step__progress{overflow:hidden;height:.5rem;border-radius:.25rem;background:var(--nh-color-progress-track, rgba(255, 255, 255, .1))}.nh-operation__progress span,.nh-step__progress span{display:block;height:100%;background:var(--nh-color-progress, #ff6700);transition:width .18s ease-out}.nh-operation__steps{display:grid;gap:.625rem}.nh-operation__children,.nh-operation__children>div{display:grid;gap:.625rem}.nh-child{display:grid;gap:.5rem;margin-inline-start:min(var(--nh-child-depth) * 1rem,3rem);padding:.75rem;border:1px solid var(--nh-color-border, rgba(255, 255, 255, .14));border-radius:.5rem;background:var(--nh-color-surface-subtle, rgba(255, 255, 255, .035))}.nh-child__heading{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.nh-child__heading>div{display:grid;gap:.125rem}.nh-child__heading span{color:var(--nh-color-muted, #9aa8bc);font-size:.8rem}.nh-child__status{flex:none;padding:.25rem .5rem;border-radius:.4rem;background:var(--nh-color-status-background, rgba(2, 41, 98, .75));color:var(--nh-color-text, #fff);font-size:.75rem}.nh-child a{justify-self:start}.nh-step{display:grid;gap:.5rem;margin-inline-start:calc(var(--nh-step-depth) * 1rem);padding:.75rem;border-inline-start:2px solid var(--nh-color-progress, #ff6700);background:var(--nh-color-surface-subtle, rgba(255, 255, 255, .035))}.nh-step__heading>div{display:grid;gap:.125rem}.nh-step__heading span{color:var(--nh-color-muted, #9aa8bc);font-size:.8rem}.nh-step__batch{display:flex;flex-wrap:wrap;gap:.5rem 1rem;color:var(--nh-color-muted, #9aa8bc);font-size:.75rem}.nh-step__batch div{display:flex;gap:.25rem}.nh-step__batch dd{margin:0;color:var(--nh-color-text, #fff)}.nh-operation__actions{justify-content:flex-end}.nh-operation__actions button{min-height:2.25rem;padding:.4rem .75rem;border:1px solid var(--nh-color-border, rgba(255, 255, 255, .2));border-radius:.5rem;color:inherit;background:transparent}.nh-operation__actions button:focus-visible,.nh-child a:focus-visible,.nh-operation__events a:focus-visible{outline:2px solid var(--nh-color-progress, #ff6700);outline-offset:2px}.nh-operation__events ol{display:grid;gap:.5rem;padding:0;list-style:none}.nh-operation__events li{display:grid;grid-template-columns:minmax(7rem,auto) 1fr auto;gap:.75rem;color:var(--nh-color-muted, #9aa8bc);font-size:.8rem}.nh-operation__events li span{color:var(--nh-color-text, #fff)}.nh-operation__event-badge{margin-left:.5rem;padding:.125rem .375rem;border:1px solid var(--nh-color-border, rgba(255, 255, 255, .2));border-radius:.4rem;color:var(--nh-color-muted, #9aa8bc);font-size:.7rem;white-space:nowrap}@media(prefers-reduced-motion:reduce){.nh-operation__progress span,.nh-step__progress span{transition:none}}@media(max-width:40rem){.nh-operation__header,.nh-step__heading,.nh-child__heading,.nh-operation__events li{align-items:flex-start;grid-template-columns:1fr}.nh-operation__header,.nh-step__heading{flex-direction:column}.nh-child__heading{align-items:flex-start;flex-direction:column}.nh-step{margin-inline-start:min(var(--nh-step-depth) * .5rem,1.5rem)}}\n"] }]
|
|
9082
9186
|
}], propDecorators: { operation: [{
|
|
@@ -9104,10 +9208,10 @@ class NhSearchInputComponent {
|
|
|
9104
9208
|
onDebounceEvent(val) {
|
|
9105
9209
|
this.onDebounce.emit(val?.toString());
|
|
9106
9210
|
}
|
|
9107
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
9108
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
9211
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhSearchInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9212
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.33", type: NhSearchInputComponent, isStandalone: false, selector: "nh-search-input", inputs: { value: "value" }, outputs: { onDebounce: "onDebounce" }, viewQueries: [{ propertyName: "searchInput", first: true, predicate: ["searchInput"], descendants: true }], ngImport: i0, template: "<div class=\"filter search-filter\" [class.open]=\"open || value\">\n <div class=\" mb-2\" (click)=\"focusInput()\">\n <input #searchInput (focusin)=\"open = true\" (focusout)=\"open = false\" class=\"form-control\" type=\"text\" placeholder=\"{{ 'general.search' | translate }}...\"\n [ngModel]=\"value\" [nhDebounce]=\"500\" (onDebounce)=\"onDebounceEvent($event)\" />\n </div>\n</div>\n", styles: [""], dependencies: [{ kind: "directive", type: i1$4.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: NhDebounceDirective, selector: "[ngModel][nhDebounce]", inputs: ["nhDebounce"], outputs: ["onDebounce", "preDebounce"] }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }] }); }
|
|
9109
9213
|
}
|
|
9110
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
9214
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhSearchInputComponent, decorators: [{
|
|
9111
9215
|
type: Component,
|
|
9112
9216
|
args: [{ selector: 'nh-search-input', standalone: false, template: "<div class=\"filter search-filter\" [class.open]=\"open || value\">\n <div class=\" mb-2\" (click)=\"focusInput()\">\n <input #searchInput (focusin)=\"open = true\" (focusout)=\"open = false\" class=\"form-control\" type=\"text\" placeholder=\"{{ 'general.search' | translate }}...\"\n [ngModel]=\"value\" [nhDebounce]=\"500\" (onDebounce)=\"onDebounceEvent($event)\" />\n </div>\n</div>\n" }]
|
|
9113
9217
|
}], propDecorators: { value: [{
|
|
@@ -9141,10 +9245,10 @@ class NhPageSizeComponent extends AbstractValueAccessor {
|
|
|
9141
9245
|
// optional: disable your input
|
|
9142
9246
|
this.isDisabled = isDisabled;
|
|
9143
9247
|
}
|
|
9144
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
9145
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
9248
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhPageSizeComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
9249
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.33", type: NhPageSizeComponent, isStandalone: false, selector: "nh-page-size", inputs: { name: "name" }, providers: [MakeProvider(NhPageSizeComponent)], usesInheritance: true, ngImport: i0, template: "@if (pageSizeDropDownSettings) {\n <div class=\"filter dropdown-with-icon\">\n @if (value) {\n <nh-form-dropdown\n [name]=\"name\"\n [(ngModel)]=\"value\"\n [settings]=\"pageSizeDropDownSettings\"></nh-form-dropdown>\n }\n </div>\n}\n", styles: [""], dependencies: [{ kind: "directive", type: i1$4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: NhFormDropDownComponent, selector: "nh-form-dropdown", inputs: ["disabled", "settings"], outputs: ["onLazyLoadError", "closed", "opened"] }] }); }
|
|
9146
9250
|
}
|
|
9147
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
9251
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhPageSizeComponent, decorators: [{
|
|
9148
9252
|
type: Component,
|
|
9149
9253
|
args: [{ selector: 'nh-page-size', standalone: false, providers: [MakeProvider(NhPageSizeComponent)], template: "@if (pageSizeDropDownSettings) {\n <div class=\"filter dropdown-with-icon\">\n @if (value) {\n <nh-form-dropdown\n [name]=\"name\"\n [(ngModel)]=\"value\"\n [settings]=\"pageSizeDropDownSettings\"></nh-form-dropdown>\n }\n </div>\n}\n" }]
|
|
9150
9254
|
}], propDecorators: { name: [{
|
|
@@ -9196,10 +9300,10 @@ class NhActiveDivisionInterceptor {
|
|
|
9196
9300
|
}
|
|
9197
9301
|
return next.handle(req.clone({ headers }));
|
|
9198
9302
|
}
|
|
9199
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
9200
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
9303
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhActiveDivisionInterceptor, deps: [{ token: NhCommonModuleConfig }, { token: NhAuthService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
9304
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhActiveDivisionInterceptor }); }
|
|
9201
9305
|
}
|
|
9202
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
9306
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhActiveDivisionInterceptor, decorators: [{
|
|
9203
9307
|
type: Injectable
|
|
9204
9308
|
}], ctorParameters: () => [{ type: NhCommonModuleConfig }, { type: NhAuthService }] });
|
|
9205
9309
|
|
|
@@ -9223,10 +9327,10 @@ class NhApiAuthInterceptor {
|
|
|
9223
9327
|
}
|
|
9224
9328
|
return next.handle(req.clone({ headers }));
|
|
9225
9329
|
}
|
|
9226
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
9227
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
9330
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhApiAuthInterceptor, deps: [{ token: NhCommonModuleConfig }, { token: NhAuthService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
9331
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhApiAuthInterceptor }); }
|
|
9228
9332
|
}
|
|
9229
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
9333
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhApiAuthInterceptor, decorators: [{
|
|
9230
9334
|
type: Injectable
|
|
9231
9335
|
}], ctorParameters: () => [{ type: NhCommonModuleConfig }, { type: NhAuthService }] });
|
|
9232
9336
|
|
|
@@ -9245,8 +9349,8 @@ class NhCommonModule {
|
|
|
9245
9349
|
]
|
|
9246
9350
|
};
|
|
9247
9351
|
}
|
|
9248
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
9249
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
9352
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhCommonModule, deps: [{ token: NhCommonModule, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
9353
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.33", ngImport: i0, type: NhCommonModule, declarations: [
|
|
9250
9354
|
// Components
|
|
9251
9355
|
NhModalComponent,
|
|
9252
9356
|
NhLoaderComponent,
|
|
@@ -9324,7 +9428,7 @@ class NhCommonModule {
|
|
|
9324
9428
|
NhButtonDebounceDirective,
|
|
9325
9429
|
NhModalContentDirective,
|
|
9326
9430
|
NhRouterLinkDirective] }); }
|
|
9327
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
9431
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhCommonModule, providers: [
|
|
9328
9432
|
provideAppInitializer(() => {
|
|
9329
9433
|
const configService = inject(NhConfigCommonService);
|
|
9330
9434
|
return new Observable((observer) => {
|
|
@@ -9351,6 +9455,11 @@ class NhCommonModule {
|
|
|
9351
9455
|
useClass: NhApiAuthInterceptor,
|
|
9352
9456
|
multi: true
|
|
9353
9457
|
},
|
|
9458
|
+
{
|
|
9459
|
+
provide: HTTP_INTERCEPTORS,
|
|
9460
|
+
useClass: NhSessionRejectionInterceptor,
|
|
9461
|
+
multi: true
|
|
9462
|
+
},
|
|
9354
9463
|
{
|
|
9355
9464
|
provide: HTTP_INTERCEPTORS,
|
|
9356
9465
|
useClass: NhEncodeHttpParamsInterceptor,
|
|
@@ -9389,7 +9498,7 @@ class NhCommonModule {
|
|
|
9389
9498
|
NgxBootstrapMultiselectModule,
|
|
9390
9499
|
FormsModule] }); }
|
|
9391
9500
|
}
|
|
9392
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
9501
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: NhCommonModule, decorators: [{
|
|
9393
9502
|
type: NgModule,
|
|
9394
9503
|
args: [{
|
|
9395
9504
|
imports: [
|
|
@@ -9503,6 +9612,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.28", ngImpo
|
|
|
9503
9612
|
useClass: NhApiAuthInterceptor,
|
|
9504
9613
|
multi: true
|
|
9505
9614
|
},
|
|
9615
|
+
{
|
|
9616
|
+
provide: HTTP_INTERCEPTORS,
|
|
9617
|
+
useClass: NhSessionRejectionInterceptor,
|
|
9618
|
+
multi: true
|
|
9619
|
+
},
|
|
9506
9620
|
{
|
|
9507
9621
|
provide: HTTP_INTERCEPTORS,
|
|
9508
9622
|
useClass: NhEncodeHttpParamsInterceptor,
|
|
@@ -9624,5 +9738,5 @@ function nhTranslateBrowserLoaderFactory(httpClient, transferState) {
|
|
|
9624
9738
|
* Generated bundle index. Do not edit.
|
|
9625
9739
|
*/
|
|
9626
9740
|
|
|
9627
|
-
export { AbstractValueAccessor, AspMvcFormServerSideFormValidator, AuthSessionExpirationInformation, AuthenticateModel, AuthenticationNhCommonModuleConfig, AuthenticationSessionCreateResponse, BackgroundOperationsNhCommonModuleConfig, BaseNhAuthService, CheckAuthenticateSessionModel, Claim, ClaimAuthenticateSessionAccountMutateModel, ClaimAuthenticateSessionAccountViewModel, ClaimTypes, CollectionHttpRequestOptions, CollectionHttpResponse, DefaultMultiSelectSettings, DefaultMultiSelectTexts, EndpointsAuthenticationNhCommonModuleConfig, FilterRequestOptions, FormError, FormValidationResult, HttpDownloadRequestOptions, HttpRequestOptions, HttpRequestOptionsArrayBuffer, HttpRequestOptionsText, ImpersonateAuthenticateModel, IsAllPermissionsGrantedPipe, IsAuthenticatedPipe, IsClaimGrantedPipe, IsDefined, IsGrantedRolePipe, IsOneActiveDivisionPermissionGrantedGuard, IsOneActiveDivisionPermissionGrantedPipe, IsOneActiveDivisionRoleGrantedGuard, IsOneActiveDivisionRoleGrantedPipe, IsOneClaimGrantedPipe, IsOneDivisionPermissionGrantedPipe, IsOneDivisionRoleGrantedPipe, IsOnePermissionGrantedPipe, IsOneRoleGrantedPipe, JsonLdDataChanged, ListSortDirection, MakeProvider, MutationType, NH_ERROR_HANDLERS, NH_ROUTER_LANGUAGE_CHANGE_METHOD, NH_ROUTER_ROOT_ROUTES, NhAccountInformationResponse, NhAngularUtil, NhApiService, NhApiUtil, NhAppService, NhAsyncLock, NhAuthService, NhAuthenticationStep, NhAuthenticationStepStatuses, NhAuthenticatorSetup, NhAuthorization, NhBackgroundOperationAdministrationCollectionHttpRequestOptions, NhBackgroundOperationAdministrationService, NhBackgroundOperationCollectionHttpRequestOptions, NhBackgroundOperationLiveUpdateService, NhBackgroundOperationProgressComponent, NhBackgroundOperationService, NhBackgroundOperationStore, NhBaseApiService, NhBooleanToStringPipe, NhBreadCrumb, NhBreadCrumbItem, NhButtonDebounceDirective, NhCanCancelNavigationGuard, NhCollectionBaseComponent, NhCollectionTypeBaseComponent, NhCommonConfig, NhCommonConfigChanged, NhCommonModule, NhCommonModuleConfig, NhConfigCommonService, NhContextMenu, NhContextMenuItem, NhContextMenuService, NhContextMenuServiceConfig, NhCookieService, NhDatePipe, NhDateTimePipe, NhDateUtcPipe, NhDebounceDirective, NhDeduplicateGetRequestsInterceptor, NhDivision, NhDivisionRole, NhDivisionUser, NhEncodeHttpParamsInterceptor, NhEncodingUtil, NhErrorComponent, NhErrorHandlerService, NhFormDropDownComponent, NhFormDropDownNhCommonModuleConfig, NhFormDropDownSettings, NhFormErrorMessageComponent, NhFormHelper, NhHeadService, NhHttpNhCommonModuleConfig, NhHttpUtil, NhInternetConnectionService, NhIsAllPermissionsGrantedGuard, NhIsAuthenticatedGuard, NhIsOneClaimGrantedGuard, NhIsOnePermissionGrantedGuard, NhIsOneRoleGrantedGuard, NhJsonLdComponent, NhJsonLdData, NhJsonLdDataItem, NhJsonLdService, NhLoaderComponent, NhMetaService, NhModalComponent, NhModalComponentClosed, NhModalComponentImpl, NhModalComponentRef, NhModalConfirmComponent, NhModalContentDirective, NhModalLoadingComponent, NhModalMutateBaseComponent, NhModalMutateBaseTypeComponent, NhModalOptions, NhModalService, NhMutateBaseComponent, NhMutateBaseTypeComponent, NhMutex, NhPageBaseComponent, NhPageService, NhPageSettings, NhPageSizeComponent, NhPageTypeBaseComponent, NhPasskey, NhPasskeyClient, NhPasskeyOptions, NhRegisterRoute, NhRequestScopedServerHttpInterceptorService, NhRoute, NhRouteInfo, NhRouteNavigationItem, NhRouterLinkDirective, NhRouterService, NhRouterSetupService, NhSearchInputComponent, NhServerHttpInterceptor, NhServerService, NhServerSideFormValidationService, NhSitemap, NhSitemapEntry, NhSitemapEntryItem, NhStringUtil, NhTaskResultFormValidationService, NhTitleService, NhToHeadDirective, NhTranslateBrowserLoader, NhTranslationNhCommonModuleConfig, NhTwoFactorChallenge, NhTwoFactorChange, NhTwoFactorEmailCodeSent, NhTwoFactorEnrollmentResult, NhTwoFactorFailureCodes, NhTwoFactorMethods, NhTwoFactorReauthentication, NhTwoFactorStatus, NhTwoFactorVerifyModel, NhTypedPageBaseComponent, NhTypedPageTypeBaseComponent, NhUrlEncodePipe, NhUser, NhUserNotification, NhUserNotificationCollectionHttpRequestOptions, NhUserNotificationData, NhUserNotificationMessage, NhUserNotificationOverview, NhUserNotificationService, NhUserNotificationState, NhUserNotificationsAbstractComponent, OrderByRequestOptions, PreConnectUrlItem, PreLoadUrlItem, REVIEW_AGGREGATE_RATING_KEY, REVIEW_KEY, RefreshTokenLoginAccountMutateModel, RevertImpersonateAuthenticateModel, SafeHtmlPipe, SafeResourceUrlPipe, SafeUrlPipe, SearchableCollectionHttpRequestOptions, SimpleCollectionHttpRequestOptions, SimpleCollectionHttpResponse, TaskResult, TaskResultItem, TypedNhPageSettings, UserNotificationNhCommonModuleConfig, enumIntValuesToArray, enumKeysToArray, enumStringValuesToArray, enumValuesToArray, getEmptyGuid, getRandomIdentifier, groupBy, languageToCultureMap, nameof, nhBackgroundOperationStatusName, nhBackgroundOperationStepStatusName, nhBackgroundOperationTranslationSegment, nhTranslateBrowserLoaderFactory, nhUserNotificationSeverityName, uppercaseFirst };
|
|
9741
|
+
export { AbstractValueAccessor, AspMvcFormServerSideFormValidator, AuthSessionExpirationInformation, AuthenticateModel, AuthenticationNhCommonModuleConfig, AuthenticationSessionCreateResponse, BackgroundOperationsNhCommonModuleConfig, BaseNhAuthService, CheckAuthenticateSessionModel, Claim, ClaimAuthenticateSessionAccountMutateModel, ClaimAuthenticateSessionAccountViewModel, ClaimTypes, CollectionHttpRequestOptions, CollectionHttpResponse, DefaultMultiSelectSettings, DefaultMultiSelectTexts, EndpointsAuthenticationNhCommonModuleConfig, FilterRequestOptions, FormError, FormValidationResult, HttpDownloadRequestOptions, HttpRequestOptions, HttpRequestOptionsArrayBuffer, HttpRequestOptionsText, ImpersonateAuthenticateModel, IsAllPermissionsGrantedPipe, IsAuthenticatedPipe, IsClaimGrantedPipe, IsDefined, IsGrantedRolePipe, IsOneActiveDivisionPermissionGrantedGuard, IsOneActiveDivisionPermissionGrantedPipe, IsOneActiveDivisionRoleGrantedGuard, IsOneActiveDivisionRoleGrantedPipe, IsOneClaimGrantedPipe, IsOneDivisionPermissionGrantedPipe, IsOneDivisionRoleGrantedPipe, IsOnePermissionGrantedPipe, IsOneRoleGrantedPipe, JsonLdDataChanged, ListSortDirection, MakeProvider, MutationType, NH_ERROR_HANDLERS, NH_ROUTER_LANGUAGE_CHANGE_METHOD, NH_ROUTER_ROOT_ROUTES, NH_SKIP_SERVER_SESSION_CHECK, NhAccountInformationResponse, NhAngularUtil, NhApiService, NhApiUtil, NhAppService, NhAsyncLock, NhAuthService, NhAuthenticationStep, NhAuthenticationStepStatuses, NhAuthenticatorSetup, NhAuthorization, NhBackgroundOperationAdministrationCollectionHttpRequestOptions, NhBackgroundOperationAdministrationService, NhBackgroundOperationCollectionHttpRequestOptions, NhBackgroundOperationLiveUpdateService, NhBackgroundOperationProgressComponent, NhBackgroundOperationService, NhBackgroundOperationStore, NhBaseApiService, NhBooleanToStringPipe, NhBreadCrumb, NhBreadCrumbItem, NhButtonDebounceDirective, NhCanCancelNavigationGuard, NhCollectionBaseComponent, NhCollectionTypeBaseComponent, NhCommonConfig, NhCommonConfigChanged, NhCommonModule, NhCommonModuleConfig, NhConfigCommonService, NhContextMenu, NhContextMenuItem, NhContextMenuService, NhContextMenuServiceConfig, NhCookieService, NhDatePipe, NhDateTimePipe, NhDateUtcPipe, NhDebounceDirective, NhDeduplicateGetRequestsInterceptor, NhDivision, NhDivisionRole, NhDivisionUser, NhEncodeHttpParamsInterceptor, NhEncodingUtil, NhErrorComponent, NhErrorHandlerService, NhFormDropDownComponent, NhFormDropDownNhCommonModuleConfig, NhFormDropDownSettings, NhFormErrorMessageComponent, NhFormHelper, NhHeadService, NhHttpNhCommonModuleConfig, NhHttpUtil, NhInternetConnectionService, NhIsAllPermissionsGrantedGuard, NhIsAuthenticatedGuard, NhIsOneClaimGrantedGuard, NhIsOnePermissionGrantedGuard, NhIsOneRoleGrantedGuard, NhJsonLdComponent, NhJsonLdData, NhJsonLdDataItem, NhJsonLdService, NhLoaderComponent, NhMetaService, NhModalComponent, NhModalComponentClosed, NhModalComponentImpl, NhModalComponentRef, NhModalConfirmComponent, NhModalContentDirective, NhModalLoadingComponent, NhModalMutateBaseComponent, NhModalMutateBaseTypeComponent, NhModalOptions, NhModalService, NhMutateBaseComponent, NhMutateBaseTypeComponent, NhMutex, NhPageBaseComponent, NhPageService, NhPageSettings, NhPageSizeComponent, NhPageTypeBaseComponent, NhPasskey, NhPasskeyClient, NhPasskeyOptions, NhRegisterRoute, NhRequestScopedServerHttpInterceptorService, NhRoute, NhRouteInfo, NhRouteNavigationItem, NhRouterLinkDirective, NhRouterService, NhRouterSetupService, NhSearchInputComponent, NhServerHttpInterceptor, NhServerService, NhServerSideFormValidationService, NhSessionRejectionInterceptor, NhSitemap, NhSitemapEntry, NhSitemapEntryItem, NhStringUtil, NhTaskResultFormValidationService, NhTitleService, NhToHeadDirective, NhTranslateBrowserLoader, NhTranslationNhCommonModuleConfig, NhTwoFactorChallenge, NhTwoFactorChange, NhTwoFactorEmailCodeSent, NhTwoFactorEnrollmentResult, NhTwoFactorFailureCodes, NhTwoFactorMethods, NhTwoFactorReauthentication, NhTwoFactorStatus, NhTwoFactorVerifyModel, NhTypedPageBaseComponent, NhTypedPageTypeBaseComponent, NhUrlEncodePipe, NhUser, NhUserNotification, NhUserNotificationCollectionHttpRequestOptions, NhUserNotificationData, NhUserNotificationMessage, NhUserNotificationOverview, NhUserNotificationService, NhUserNotificationState, NhUserNotificationsAbstractComponent, OrderByRequestOptions, PreConnectUrlItem, PreLoadUrlItem, REVIEW_AGGREGATE_RATING_KEY, REVIEW_KEY, RefreshTokenLoginAccountMutateModel, RevertImpersonateAuthenticateModel, SafeHtmlPipe, SafeResourceUrlPipe, SafeUrlPipe, SearchableCollectionHttpRequestOptions, SimpleCollectionHttpRequestOptions, SimpleCollectionHttpResponse, TaskResult, TaskResultItem, TypedNhPageSettings, UserNotificationNhCommonModuleConfig, enumIntValuesToArray, enumKeysToArray, enumStringValuesToArray, enumValuesToArray, getEmptyGuid, getRandomIdentifier, groupBy, languageToCultureMap, nameof, nhBackgroundOperationStatusName, nhBackgroundOperationStepStatusName, nhBackgroundOperationTranslationSegment, nhTranslateBrowserLoaderFactory, nhUserNotificationSeverityName, uppercaseFirst };
|
|
9628
9742
|
//# sourceMappingURL=newheap-platform-common.mjs.map
|