@webskills/ng-utils 3.6.7 → 4.0.1
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/webskills-ng-utils.mjs +91 -84
- package/fesm2022/webskills-ng-utils.mjs.map +1 -1
- package/index.d.ts +927 -3
- package/package.json +2 -1
- package/lib/angular/instanceOf.utils.d.ts +0 -2
- package/lib/breakpoints/breakpoints.d.ts +0 -16
- package/lib/color/constrast-color.d.ts +0 -1
- package/lib/comm/request.utils.d.ts +0 -15
- package/lib/content/anchor.utils.d.ts +0 -13
- package/lib/data-source/abstract-wsk-data-source.d.ts +0 -35
- package/lib/data-source/data-source.model.d.ts +0 -51
- package/lib/data-source/wsk-data-source.d.ts +0 -11
- package/lib/data-source/wsk-lazy-data-source.d.ts +0 -25
- package/lib/date-time/date-time.utils.d.ts +0 -8
- package/lib/date-time/date.utils.d.ts +0 -17
- package/lib/date-time/time.d.ts +0 -15
- package/lib/date-time/time.utils.d.ts +0 -39
- package/lib/form/abstract-control-value-accessor.directive.d.ts +0 -17
- package/lib/formValidation/formControlError.utils.d.ts +0 -16
- package/lib/formValidation/validation.utils.d.ts +0 -23
- package/lib/graphic.utils.d.ts +0 -16
- package/lib/immutability/freeze.utils.d.ts +0 -1
- package/lib/let/let.directive.d.ts +0 -16
- package/lib/locale/decimal-separator.d.ts +0 -3
- package/lib/object.utils.d.ts +0 -7
- package/lib/pipes/array/select-from-array.pipe.d.ts +0 -7
- package/lib/pipes/contains/contains.pipe.d.ts +0 -13
- package/lib/pipes/fallback/fallback.pipe.d.ts +0 -7
- package/lib/pipes/filter/filter.pipe.d.ts +0 -12
- package/lib/pipes/find/find.pipe.d.ts +0 -13
- package/lib/pipes/index.d.ts +0 -9
- package/lib/pipes/map/map.pipe.d.ts +0 -7
- package/lib/pipes/minutes/duration-minutes.pipe.d.ts +0 -7
- package/lib/pipes/minutes/minutes.pipe.d.ts +0 -7
- package/lib/pipes/transform/transform.pipe.d.ts +0 -7
- package/lib/rxjs/active-request.d.ts +0 -9
- package/lib/services/authn/auth.store.d.ts +0 -8
- package/lib/services/authn/authentication.adapter.d.ts +0 -11
- package/lib/services/authn/authentication.service.d.ts +0 -63
- package/lib/services/authn/authn.guard.d.ts +0 -15
- package/lib/services/authn/credentials.d.ts +0 -4
- package/lib/services/authn/jwt-auth-interceptor.service.d.ts +0 -12
- package/lib/services/authn/local-auth-status.d.ts +0 -7
- package/lib/services/authn/not-auth.guard.d.ts +0 -17
- package/lib/services/browser/browser-meta.service.d.ts +0 -16
- package/lib/services/browser/page-meta.d.ts +0 -10
- package/lib/services/configuration/config.d.ts +0 -19
- package/lib/services/edit/can-deactivate.guard.d.ts +0 -11
- package/lib/services/edit/id-compare.d.ts +0 -5
- package/lib/services/index.d.ts +0 -28
- package/lib/services/logging/ng-error-handler.d.ts +0 -11
- package/lib/services/routing/previous-route.service.d.ts +0 -11
- package/lib/services/store/abstract-entity-store.d.ts +0 -19
- package/lib/services/store/abstract-store.d.ts +0 -13
- package/lib/services/time/time.adapter.d.ts +0 -7
- package/lib/services/time/time.service.d.ts +0 -27
- package/lib/services/tracking/browser-tracking.service.d.ts +0 -28
- package/lib/services/tracking/click-tracking.directive.d.ts +0 -10
- package/lib/services/tracking/logging-backend-appender.d.ts +0 -8
- package/lib/services/tracking/tracking.adapter.d.ts +0 -9
- package/lib/services/tracking/tracking.d.ts +0 -102
- package/lib/services/tracking/tracking.service.d.ts +0 -31
- package/lib/services/user/local-user-account.d.ts +0 -15
- package/lib/services/user/user.adapter.d.ts +0 -17
- package/lib/services/user/user.service.d.ts +0 -27
- package/lib/viewport.utils.d.ts +0 -2
- package/lib/webcomponents/web-components.d.ts +0 -2
- package/public-api.d.ts +0 -26
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { InjectionToken, Inject, Injectable, isDevMode, Directive, PLATFORM_ID, HostListener, Input, Pipe } from '@angular/core';
|
|
2
|
+
import { InjectionToken, Inject, Injectable, isDevMode, Directive, PLATFORM_ID, DOCUMENT, HostListener, Input, Pipe } from '@angular/core';
|
|
3
3
|
import * as i2 from '@angular/router';
|
|
4
4
|
import { ActivationEnd, NavigationEnd } from '@angular/router';
|
|
5
5
|
import { isDefined, isEmptyArray, isUndefined, isBlank, isNotBlank, forEachProp, isEqual, cloneDeep, intPattern, floatPattern } from '@webskills/ts-utils';
|
|
@@ -7,7 +7,7 @@ import * as i2$1 from '@angular/platform-browser';
|
|
|
7
7
|
import { map, catchError, tap, takeUntil, distinctUntilChanged, startWith, switchMap as switchMap$1, filter, finalize } from 'rxjs/operators';
|
|
8
8
|
import { BehaviorSubject, Subject, of, timer, switchMap, combineLatest, EMPTY, defer, retry } from 'rxjs';
|
|
9
9
|
import { Logger, LogLevel } from '@webskills/logging';
|
|
10
|
-
import { isPlatformBrowser,
|
|
10
|
+
import { isPlatformBrowser, formatDate } from '@angular/common';
|
|
11
11
|
import * as i3 from '@angular/cdk/layout';
|
|
12
12
|
import { DataSource } from '@angular/cdk/collections';
|
|
13
13
|
import { createCustomElement } from '@angular/elements';
|
|
@@ -89,10 +89,10 @@ class BrowserMetaService {
|
|
|
89
89
|
this.meta.updateTag(tag);
|
|
90
90
|
}
|
|
91
91
|
}
|
|
92
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
93
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
92
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: BrowserMetaService, deps: [{ token: i2.Router }, { token: i2$1.Meta }, { token: CONFIG }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
93
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: BrowserMetaService, providedIn: 'root' }); }
|
|
94
94
|
}
|
|
95
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
95
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: BrowserMetaService, decorators: [{
|
|
96
96
|
type: Injectable,
|
|
97
97
|
args: [{ providedIn: 'root' }]
|
|
98
98
|
}], ctorParameters: () => [{ type: i2.Router }, { type: i2$1.Meta }, { type: Config, decorators: [{
|
|
@@ -139,10 +139,10 @@ class UserService {
|
|
|
139
139
|
deleteAccount(password) {
|
|
140
140
|
return this.userAdapter.deleteAccount(password);
|
|
141
141
|
}
|
|
142
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
143
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
142
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: UserService, deps: [{ token: UserAdapter }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
143
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: UserService, providedIn: 'root' }); }
|
|
144
144
|
}
|
|
145
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
145
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: UserService, decorators: [{
|
|
146
146
|
type: Injectable,
|
|
147
147
|
args: [{
|
|
148
148
|
providedIn: 'root',
|
|
@@ -181,10 +181,10 @@ class AbstractStore {
|
|
|
181
181
|
ngOnDestroy() {
|
|
182
182
|
this._value$.complete();
|
|
183
183
|
}
|
|
184
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
185
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
184
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: AbstractStore, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive }); }
|
|
185
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.4", type: AbstractStore, isStandalone: true, ngImport: i0 }); }
|
|
186
186
|
}
|
|
187
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
187
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: AbstractStore, decorators: [{
|
|
188
188
|
type: Directive
|
|
189
189
|
}], ctorParameters: () => [{ type: undefined }] });
|
|
190
190
|
|
|
@@ -195,10 +195,10 @@ class AuthStore extends AbstractStore {
|
|
|
195
195
|
sessionId: '',
|
|
196
196
|
});
|
|
197
197
|
}
|
|
198
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
199
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
198
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: AuthStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
199
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: AuthStore, providedIn: 'root' }); }
|
|
200
200
|
}
|
|
201
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
201
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: AuthStore, decorators: [{
|
|
202
202
|
type: Injectable,
|
|
203
203
|
args: [{ providedIn: 'root' }]
|
|
204
204
|
}], ctorParameters: () => [] });
|
|
@@ -281,10 +281,10 @@ class TrackingService {
|
|
|
281
281
|
getBrowserUrl() {
|
|
282
282
|
return window.location.href;
|
|
283
283
|
}
|
|
284
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
285
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
284
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: TrackingService, deps: [{ token: TrackingAdapter }, { token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
285
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: TrackingService, providedIn: 'root' }); }
|
|
286
286
|
}
|
|
287
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
287
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: TrackingService, decorators: [{
|
|
288
288
|
type: Injectable,
|
|
289
289
|
args: [{ providedIn: 'root' }]
|
|
290
290
|
}], ctorParameters: () => [{ type: TrackingAdapter }, { type: undefined, decorators: [{
|
|
@@ -430,10 +430,10 @@ class AuthenticationService {
|
|
|
430
430
|
this.resetAuthStatus();
|
|
431
431
|
this.router.navigate(['/logout']);
|
|
432
432
|
}
|
|
433
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
434
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
433
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: AuthenticationService, deps: [{ token: UserService }, { token: CONFIG }, { token: i2.Router }, { token: AuthenticationAdapter }, { token: UserAdapter }, { token: AuthStore }, { token: TrackingService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
434
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: AuthenticationService, providedIn: 'root' }); }
|
|
435
435
|
}
|
|
436
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
436
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: AuthenticationService, decorators: [{
|
|
437
437
|
type: Injectable,
|
|
438
438
|
args: [{
|
|
439
439
|
providedIn: 'root',
|
|
@@ -470,10 +470,10 @@ class AuthGuard {
|
|
|
470
470
|
canActivateChild(route, state) {
|
|
471
471
|
return this.checkLogin(state);
|
|
472
472
|
}
|
|
473
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
474
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
473
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: AuthGuard, deps: [{ token: AuthenticationService }, { token: i2.Router }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
474
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: AuthGuard, providedIn: 'root' }); }
|
|
475
475
|
}
|
|
476
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
476
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: AuthGuard, decorators: [{
|
|
477
477
|
type: Injectable,
|
|
478
478
|
args: [{
|
|
479
479
|
providedIn: 'root',
|
|
@@ -494,10 +494,10 @@ class PreviousRouteService {
|
|
|
494
494
|
getPreviousUrl() {
|
|
495
495
|
return this.previousUrl;
|
|
496
496
|
}
|
|
497
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
498
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
497
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: PreviousRouteService, deps: [{ token: i2.Router }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
498
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: PreviousRouteService, providedIn: 'root' }); }
|
|
499
499
|
}
|
|
500
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
500
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: PreviousRouteService, decorators: [{
|
|
501
501
|
type: Injectable,
|
|
502
502
|
args: [{
|
|
503
503
|
providedIn: 'root',
|
|
@@ -532,10 +532,10 @@ class NotAuthGuard {
|
|
|
532
532
|
canActivateChild() {
|
|
533
533
|
return this.checkLoggedOut();
|
|
534
534
|
}
|
|
535
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
536
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
535
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: NotAuthGuard, deps: [{ token: AuthenticationService }, { token: i2.Router }, { token: PreviousRouteService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
536
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: NotAuthGuard, providedIn: 'root' }); }
|
|
537
537
|
}
|
|
538
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
538
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: NotAuthGuard, decorators: [{
|
|
539
539
|
type: Injectable,
|
|
540
540
|
args: [{
|
|
541
541
|
providedIn: 'root',
|
|
@@ -567,10 +567,10 @@ class JwtAuthInterceptor {
|
|
|
567
567
|
},
|
|
568
568
|
});
|
|
569
569
|
}
|
|
570
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
571
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
570
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: JwtAuthInterceptor, deps: [{ token: AuthenticationService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
571
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: JwtAuthInterceptor }); }
|
|
572
572
|
}
|
|
573
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
573
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: JwtAuthInterceptor, decorators: [{
|
|
574
574
|
type: Injectable
|
|
575
575
|
}], ctorParameters: () => [{ type: AuthenticationService }] });
|
|
576
576
|
|
|
@@ -624,10 +624,10 @@ class AbstractEntityStore extends AbstractStore {
|
|
|
624
624
|
getIdx(id) {
|
|
625
625
|
return this.getInstant().findIndex((v) => v.id === id);
|
|
626
626
|
}
|
|
627
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
628
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
627
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: AbstractEntityStore, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
628
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.4", type: AbstractEntityStore, isStandalone: true, usesInheritance: true, ngImport: i0 }); }
|
|
629
629
|
}
|
|
630
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
630
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: AbstractEntityStore, decorators: [{
|
|
631
631
|
type: Directive
|
|
632
632
|
}] });
|
|
633
633
|
|
|
@@ -703,10 +703,10 @@ class TimeService {
|
|
|
703
703
|
this.componentDestroyed$.next();
|
|
704
704
|
this.componentDestroyed$.complete();
|
|
705
705
|
}
|
|
706
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
707
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
706
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: TimeService, deps: [{ token: CONFIG }, { token: TimeAdapter }, { token: TrackingService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
707
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: TimeService, providedIn: 'root' }); }
|
|
708
708
|
}
|
|
709
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
709
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: TimeService, decorators: [{
|
|
710
710
|
type: Injectable,
|
|
711
711
|
args: [{ providedIn: 'root' }]
|
|
712
712
|
}], ctorParameters: () => [{ type: Config, decorators: [{
|
|
@@ -718,10 +718,10 @@ class CanDeactivateGuard {
|
|
|
718
718
|
canDeactivate(component) {
|
|
719
719
|
return component.canDeactivate ? component.canDeactivate() : true;
|
|
720
720
|
}
|
|
721
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
722
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
721
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: CanDeactivateGuard, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
722
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: CanDeactivateGuard, providedIn: 'root' }); }
|
|
723
723
|
}
|
|
724
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
724
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: CanDeactivateGuard, decorators: [{
|
|
725
725
|
type: Injectable,
|
|
726
726
|
args: [{ providedIn: 'root' }]
|
|
727
727
|
}] });
|
|
@@ -851,10 +851,10 @@ class BrowserTrackingService {
|
|
|
851
851
|
this.destroyed$.next();
|
|
852
852
|
this.destroyed$.complete();
|
|
853
853
|
}
|
|
854
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
855
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
854
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: BrowserTrackingService, deps: [{ token: TrackingService }, { token: i2.Router }, { token: i3.BreakpointObserver }, { token: PLATFORM_ID }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
855
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: BrowserTrackingService, providedIn: 'root' }); }
|
|
856
856
|
}
|
|
857
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
857
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: BrowserTrackingService, decorators: [{
|
|
858
858
|
type: Injectable,
|
|
859
859
|
args: [{ providedIn: 'root' }]
|
|
860
860
|
}], ctorParameters: () => [{ type: TrackingService }, { type: i2.Router }, { type: i3.BreakpointObserver }, { type: undefined, decorators: [{
|
|
@@ -872,10 +872,10 @@ class ClickTrackingDirective {
|
|
|
872
872
|
constructor(trackingService) {
|
|
873
873
|
this.trackingService = trackingService;
|
|
874
874
|
}
|
|
875
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
876
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
875
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ClickTrackingDirective, deps: [{ token: TrackingService }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
876
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.4", type: ClickTrackingDirective, isStandalone: true, selector: "[wskClickTracking]", inputs: { wskClickTracking: "wskClickTracking" }, host: { listeners: { "click": "onClick($event)" } }, ngImport: i0 }); }
|
|
877
877
|
}
|
|
878
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
878
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ClickTrackingDirective, decorators: [{
|
|
879
879
|
type: Directive,
|
|
880
880
|
args: [{
|
|
881
881
|
selector: '[wskClickTracking]',
|
|
@@ -933,10 +933,10 @@ class ContainsPipe {
|
|
|
933
933
|
}
|
|
934
934
|
return value.findIndex((v) => func(v, data)) > -1;
|
|
935
935
|
}
|
|
936
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
937
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
936
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ContainsPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
937
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.2.4", ngImport: i0, type: ContainsPipe, isStandalone: true, name: "contains" }); }
|
|
938
938
|
}
|
|
939
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
939
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ContainsPipe, decorators: [{
|
|
940
940
|
type: Pipe,
|
|
941
941
|
args: [{
|
|
942
942
|
name: 'contains',
|
|
@@ -955,10 +955,10 @@ class FilterPipe {
|
|
|
955
955
|
}
|
|
956
956
|
return value.filter((v) => predicate(v, param));
|
|
957
957
|
}
|
|
958
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
959
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
958
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: FilterPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
959
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.2.4", ngImport: i0, type: FilterPipe, isStandalone: true, name: "filter" }); }
|
|
960
960
|
}
|
|
961
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
961
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: FilterPipe, decorators: [{
|
|
962
962
|
type: Pipe,
|
|
963
963
|
args: [{
|
|
964
964
|
name: 'filter',
|
|
@@ -978,10 +978,10 @@ class FindPipe {
|
|
|
978
978
|
}
|
|
979
979
|
return value.find((v) => func(v, data));
|
|
980
980
|
}
|
|
981
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
982
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
981
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: FindPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
982
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.2.4", ngImport: i0, type: FindPipe, isStandalone: true, name: "find" }); }
|
|
983
983
|
}
|
|
984
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
984
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: FindPipe, decorators: [{
|
|
985
985
|
type: Pipe,
|
|
986
986
|
args: [{
|
|
987
987
|
name: 'find',
|
|
@@ -995,10 +995,10 @@ class MapPipe {
|
|
|
995
995
|
}
|
|
996
996
|
return value.map(func);
|
|
997
997
|
}
|
|
998
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
999
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
998
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: MapPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
999
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.2.4", ngImport: i0, type: MapPipe, isStandalone: true, name: "map" }); }
|
|
1000
1000
|
}
|
|
1001
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1001
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: MapPipe, decorators: [{
|
|
1002
1002
|
type: Pipe,
|
|
1003
1003
|
args: [{
|
|
1004
1004
|
name: 'map',
|
|
@@ -1125,10 +1125,10 @@ class MinutesPipe {
|
|
|
1125
1125
|
}
|
|
1126
1126
|
return convertMinutesToTime(minutes);
|
|
1127
1127
|
}
|
|
1128
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1129
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
1128
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: MinutesPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
1129
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.2.4", ngImport: i0, type: MinutesPipe, isStandalone: true, name: "minutes" }); }
|
|
1130
1130
|
}
|
|
1131
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1131
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: MinutesPipe, decorators: [{
|
|
1132
1132
|
type: Pipe,
|
|
1133
1133
|
args: [{
|
|
1134
1134
|
name: 'minutes',
|
|
@@ -1142,10 +1142,10 @@ class DurationMinutesPipe {
|
|
|
1142
1142
|
}
|
|
1143
1143
|
return formatDurationString(minutes.toString());
|
|
1144
1144
|
}
|
|
1145
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1146
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
1145
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: DurationMinutesPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
1146
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.2.4", ngImport: i0, type: DurationMinutesPipe, isStandalone: true, name: "durationMinutes" }); }
|
|
1147
1147
|
}
|
|
1148
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1148
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: DurationMinutesPipe, decorators: [{
|
|
1149
1149
|
type: Pipe,
|
|
1150
1150
|
args: [{
|
|
1151
1151
|
name: 'durationMinutes',
|
|
@@ -1159,10 +1159,10 @@ class SelectFromArrayPipe {
|
|
|
1159
1159
|
}
|
|
1160
1160
|
return value[index];
|
|
1161
1161
|
}
|
|
1162
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1163
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
1162
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: SelectFromArrayPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
1163
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.2.4", ngImport: i0, type: SelectFromArrayPipe, isStandalone: true, name: "selectFromArray" }); }
|
|
1164
1164
|
}
|
|
1165
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1165
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: SelectFromArrayPipe, decorators: [{
|
|
1166
1166
|
type: Pipe,
|
|
1167
1167
|
args: [{
|
|
1168
1168
|
name: 'selectFromArray',
|
|
@@ -1176,10 +1176,10 @@ class TransformPipe {
|
|
|
1176
1176
|
}
|
|
1177
1177
|
return func(value);
|
|
1178
1178
|
}
|
|
1179
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1180
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
1179
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: TransformPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
1180
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.2.4", ngImport: i0, type: TransformPipe, isStandalone: true, name: "transform" }); }
|
|
1181
1181
|
}
|
|
1182
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1182
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: TransformPipe, decorators: [{
|
|
1183
1183
|
type: Pipe,
|
|
1184
1184
|
args: [{
|
|
1185
1185
|
name: 'transform',
|
|
@@ -1196,10 +1196,10 @@ class FallbackPipe {
|
|
|
1196
1196
|
}
|
|
1197
1197
|
return value;
|
|
1198
1198
|
}
|
|
1199
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1200
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
1199
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: FallbackPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
1200
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.2.4", ngImport: i0, type: FallbackPipe, isStandalone: true, name: "fallback" }); }
|
|
1201
1201
|
}
|
|
1202
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1202
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: FallbackPipe, decorators: [{
|
|
1203
1203
|
type: Pipe,
|
|
1204
1204
|
args: [{
|
|
1205
1205
|
name: 'fallback',
|
|
@@ -1519,10 +1519,10 @@ class LetDirective {
|
|
|
1519
1519
|
set wskLet(value) {
|
|
1520
1520
|
this.context.wskLet = value;
|
|
1521
1521
|
}
|
|
1522
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1523
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1522
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: LetDirective, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1523
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.4", type: LetDirective, isStandalone: true, selector: "[wskLet]", inputs: { wskLet: "wskLet" }, ngImport: i0 }); }
|
|
1524
1524
|
}
|
|
1525
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1525
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: LetDirective, decorators: [{
|
|
1526
1526
|
type: Directive,
|
|
1527
1527
|
args: [{
|
|
1528
1528
|
selector: '[wskLet]',
|
|
@@ -1619,10 +1619,10 @@ class AbstractControlValueAccessor {
|
|
|
1619
1619
|
setDisabledState(isDisabled) {
|
|
1620
1620
|
this.setProperty('disabled', isDisabled);
|
|
1621
1621
|
}
|
|
1622
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1623
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1622
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: AbstractControlValueAccessor, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1623
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.4", type: AbstractControlValueAccessor, isStandalone: true, ngImport: i0 }); }
|
|
1624
1624
|
}
|
|
1625
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1625
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: AbstractControlValueAccessor, decorators: [{
|
|
1626
1626
|
type: Directive
|
|
1627
1627
|
}], ctorParameters: () => [{ type: i0.Renderer2 }, { type: i0.ElementRef }] });
|
|
1628
1628
|
|
|
@@ -1654,7 +1654,7 @@ function int() {
|
|
|
1654
1654
|
* @param decimalPlaces
|
|
1655
1655
|
*/
|
|
1656
1656
|
function float(separator = '.', decimalPlaces) {
|
|
1657
|
-
const _floatPattern = decimalPlaces ?? 0 > 1
|
|
1657
|
+
const _floatPattern = (decimalPlaces ?? 0 > 1)
|
|
1658
1658
|
? `^[0-9]+(\\.[0-9]{1,${decimalPlaces}})?$`
|
|
1659
1659
|
: floatPattern;
|
|
1660
1660
|
return (control) => {
|
|
@@ -1787,9 +1787,12 @@ function retryRequest(config) {
|
|
|
1787
1787
|
return (source) => source.pipe(retry({
|
|
1788
1788
|
delay: (error, retryCount) => {
|
|
1789
1789
|
if (isClientError(error)) {
|
|
1790
|
-
|
|
1790
|
+
throw error;
|
|
1791
1791
|
}
|
|
1792
|
-
|
|
1792
|
+
if (retryCount <= config.retries) {
|
|
1793
|
+
return timer(config.delay);
|
|
1794
|
+
}
|
|
1795
|
+
throw error;
|
|
1793
1796
|
},
|
|
1794
1797
|
}));
|
|
1795
1798
|
}
|
|
@@ -1800,7 +1803,11 @@ function retryWithMessage(snackBar, config) {
|
|
|
1800
1803
|
console.log(error);
|
|
1801
1804
|
}
|
|
1802
1805
|
if (isClientError(error)) {
|
|
1803
|
-
|
|
1806
|
+
snackBar.open(config.message, undefined, {
|
|
1807
|
+
duration: config.duration,
|
|
1808
|
+
panelClass: 'testid-error',
|
|
1809
|
+
});
|
|
1810
|
+
throw error;
|
|
1804
1811
|
}
|
|
1805
1812
|
return retryCount <= config.retries
|
|
1806
1813
|
? timer(config.delay)
|