@webskills/ng-utils 3.6.7 → 4.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/webskills-ng-utils.mjs +81 -81
- 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,17 +0,0 @@
|
|
|
1
|
-
import { Router, UrlTree } from '@angular/router';
|
|
2
|
-
import { AuthenticationService } from './authentication.service';
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
4
|
-
import { PreviousRouteService } from '../routing/previous-route.service';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class NotAuthGuard {
|
|
7
|
-
private authService;
|
|
8
|
-
private router;
|
|
9
|
-
private previousRouteService;
|
|
10
|
-
constructor(authService: AuthenticationService, router: Router, previousRouteService: PreviousRouteService);
|
|
11
|
-
private checkLoggedOut;
|
|
12
|
-
canLoad(): Observable<boolean>;
|
|
13
|
-
canActivate(): Observable<boolean | UrlTree>;
|
|
14
|
-
canActivateChild(): Observable<boolean | UrlTree>;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NotAuthGuard, never>;
|
|
16
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<NotAuthGuard>;
|
|
17
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { Router } from '@angular/router';
|
|
2
|
-
import { PageMeta } from './page-meta';
|
|
3
|
-
import { Meta } from '@angular/platform-browser';
|
|
4
|
-
import { Config } from '../configuration/config';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class BrowserMetaService {
|
|
7
|
-
private router;
|
|
8
|
-
private meta;
|
|
9
|
-
private readonly config;
|
|
10
|
-
constructor(router: Router, meta: Meta, config: Config<never>);
|
|
11
|
-
init(): void;
|
|
12
|
-
setPageMetaData(meta?: PageMeta, pageTitle?: string): void;
|
|
13
|
-
private setOrRemoveTag;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BrowserMetaService, never>;
|
|
15
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<BrowserMetaService>;
|
|
16
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
|
-
export interface EnvironmentConfig extends Record<string, unknown> {
|
|
3
|
-
production: boolean;
|
|
4
|
-
apiBasePath: string;
|
|
5
|
-
}
|
|
6
|
-
export declare class Config<T extends EnvironmentConfig> {
|
|
7
|
-
values: T;
|
|
8
|
-
constructor(values: T);
|
|
9
|
-
get production(): boolean;
|
|
10
|
-
get apiBasePath(): string;
|
|
11
|
-
/**
|
|
12
|
-
* Get the value for a specified config option or fallback to the specified default value.
|
|
13
|
-
*
|
|
14
|
-
* @param name of the config option
|
|
15
|
-
* @param defaultValue value that is used when config option is not specified elsewhere
|
|
16
|
-
*/
|
|
17
|
-
getProperty<V>(name: string, defaultValue: V): V;
|
|
18
|
-
}
|
|
19
|
-
export declare const CONFIG: InjectionToken<Config<never>>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { UrlTree } from '@angular/router';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export interface CanDeactivateComponent {
|
|
5
|
-
canDeactivate(): Observable<boolean | UrlTree> | Promise<boolean | UrlTree> | boolean | UrlTree;
|
|
6
|
-
}
|
|
7
|
-
export declare class CanDeactivateGuard {
|
|
8
|
-
canDeactivate(component: CanDeactivateComponent): Observable<boolean | UrlTree> | Promise<boolean | UrlTree> | boolean | UrlTree;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CanDeactivateGuard, never>;
|
|
10
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<CanDeactivateGuard>;
|
|
11
|
-
}
|
package/lib/services/index.d.ts
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
export * from './browser/browser-meta.service';
|
|
2
|
-
export * from './browser/page-meta';
|
|
3
|
-
export * from './authn/authn.guard';
|
|
4
|
-
export * from './authn/not-auth.guard';
|
|
5
|
-
export * from './authn/authentication.service';
|
|
6
|
-
export * from './authn/authentication.adapter';
|
|
7
|
-
export * from './authn/auth.store';
|
|
8
|
-
export * from './authn/credentials';
|
|
9
|
-
export * from './authn/jwt-auth-interceptor.service';
|
|
10
|
-
export * from './user/user.service';
|
|
11
|
-
export * from './user/user.adapter';
|
|
12
|
-
export * from './configuration/config';
|
|
13
|
-
export * from './authn/local-auth-status';
|
|
14
|
-
export * from './user/local-user-account';
|
|
15
|
-
export * from './routing/previous-route.service';
|
|
16
|
-
export * from './store/abstract-store';
|
|
17
|
-
export * from './store/abstract-entity-store';
|
|
18
|
-
export * from './time/time.service';
|
|
19
|
-
export * from './time/time.adapter';
|
|
20
|
-
export * from './edit/can-deactivate.guard';
|
|
21
|
-
export * from './edit/id-compare';
|
|
22
|
-
export * from './tracking/browser-tracking.service';
|
|
23
|
-
export * from './tracking/click-tracking.directive';
|
|
24
|
-
export * from './tracking/logging-backend-appender';
|
|
25
|
-
export * from './tracking/tracking.adapter';
|
|
26
|
-
export * from './tracking/tracking.service';
|
|
27
|
-
export * from './tracking/tracking';
|
|
28
|
-
export * from './logging/ng-error-handler';
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ErrorHandler } from '@angular/core';
|
|
2
|
-
/**
|
|
3
|
-
* Use as follows in main module
|
|
4
|
-
* ```
|
|
5
|
-
* { provide: ErrorHandler, useClass: NgErrorHandler },
|
|
6
|
-
* ```
|
|
7
|
-
*/
|
|
8
|
-
export declare class NgErrorHandler implements ErrorHandler {
|
|
9
|
-
private logger;
|
|
10
|
-
handleError(error: any): void;
|
|
11
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Router } from '@angular/router';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class PreviousRouteService {
|
|
4
|
-
private router;
|
|
5
|
-
private previousUrl?;
|
|
6
|
-
private currentUrl;
|
|
7
|
-
constructor(router: Router);
|
|
8
|
-
getPreviousUrl(): string | undefined;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PreviousRouteService, never>;
|
|
10
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<PreviousRouteService>;
|
|
11
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { AbstractStore } from './abstract-store';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
type ID = string | null | undefined;
|
|
4
|
-
export declare abstract class AbstractEntityStore<T extends {
|
|
5
|
-
id?: ID;
|
|
6
|
-
}> extends AbstractStore<T[]> {
|
|
7
|
-
insertEntity(value: T): void;
|
|
8
|
-
upsertEntity(value: T): void;
|
|
9
|
-
updateEntity(value: T): void;
|
|
10
|
-
private replaceValueAtIndex;
|
|
11
|
-
/**
|
|
12
|
-
* @return false if entity with id was not found
|
|
13
|
-
*/
|
|
14
|
-
deleteEntity(id: string): boolean;
|
|
15
|
-
private getIdx;
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractEntityStore<any>, never>;
|
|
17
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractEntityStore<any>, never, never, {}, {}, never, never, true, never>;
|
|
18
|
-
}
|
|
19
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { OnDestroy } from '@angular/core';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare abstract class AbstractStore<T> implements OnDestroy {
|
|
5
|
-
private _value$;
|
|
6
|
-
get value$(): Observable<T>;
|
|
7
|
-
protected constructor(initialValue: T);
|
|
8
|
-
update(value: T): void;
|
|
9
|
-
getInstant(): T;
|
|
10
|
-
ngOnDestroy(): void;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractStore<any>, never>;
|
|
12
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractStore<any>, never, never, {}, {}, never, never, true, never>;
|
|
13
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { OnDestroy } from '@angular/core';
|
|
2
|
-
import { TimeAdapter } from './time.adapter';
|
|
3
|
-
import { TrackingService } from '../tracking/tracking.service';
|
|
4
|
-
import { Config } from '../configuration/config';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class TimeService implements OnDestroy {
|
|
7
|
-
private readonly config;
|
|
8
|
-
private timeAdapter;
|
|
9
|
-
private trackingService;
|
|
10
|
-
private logger;
|
|
11
|
-
private componentDestroyed$;
|
|
12
|
-
private offset;
|
|
13
|
-
constructor(config: Config<never>, timeAdapter: TimeAdapter, trackingService: TrackingService);
|
|
14
|
-
init(): void;
|
|
15
|
-
_calcOffset(requestStart: Date, serverTime: Date, now: Date): number | undefined;
|
|
16
|
-
/**
|
|
17
|
-
* Get the current server time as Date object
|
|
18
|
-
*/
|
|
19
|
-
getCurrentDate(): Date;
|
|
20
|
-
/**
|
|
21
|
-
* Get the current server time in ms
|
|
22
|
-
*/
|
|
23
|
-
getCurrentMs(): number;
|
|
24
|
-
ngOnDestroy(): void;
|
|
25
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TimeService, never>;
|
|
26
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<TimeService>;
|
|
27
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { OnDestroy } from '@angular/core';
|
|
2
|
-
import { Router } from '@angular/router';
|
|
3
|
-
import { TrackingService } from './tracking.service';
|
|
4
|
-
import { BreakpointObserver } from '@angular/cdk/layout';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class BrowserTrackingService implements OnDestroy {
|
|
7
|
-
private trackingService;
|
|
8
|
-
private router;
|
|
9
|
-
private breakpointObserver;
|
|
10
|
-
private document;
|
|
11
|
-
private readonly isBrowser;
|
|
12
|
-
private readonly destroyed$;
|
|
13
|
-
constructor(trackingService: TrackingService, router: Router, breakpointObserver: BreakpointObserver, platformId: NonNullable<unknown>, document: Document);
|
|
14
|
-
init(options?: {
|
|
15
|
-
monitorNavigationEvents?: boolean;
|
|
16
|
-
trackExternalLinks?: boolean;
|
|
17
|
-
trackUa?: boolean;
|
|
18
|
-
trackBreakpoints?: boolean;
|
|
19
|
-
trackSession?: boolean;
|
|
20
|
-
}): void;
|
|
21
|
-
private monitorAndTrackNavigationEvents;
|
|
22
|
-
private trackExternalLinks;
|
|
23
|
-
private trackBreakpoints;
|
|
24
|
-
private trackUa;
|
|
25
|
-
ngOnDestroy(): void;
|
|
26
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BrowserTrackingService, never>;
|
|
27
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<BrowserTrackingService>;
|
|
28
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { AppTrackingInteractionEvent, TrackingService } from './tracking.service';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class ClickTrackingDirective {
|
|
4
|
-
private trackingService;
|
|
5
|
-
wskClickTracking: AppTrackingInteractionEvent;
|
|
6
|
-
onClick(): void;
|
|
7
|
-
constructor(trackingService: TrackingService);
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ClickTrackingDirective, never>;
|
|
9
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ClickTrackingDirective, "[wskClickTracking]", never, { "wskClickTracking": { "alias": "wskClickTracking"; "required": false; }; }, {}, never, never, true, never>;
|
|
10
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Appender, LogLevel } from '@webskills/logging';
|
|
2
|
-
import { TrackingAdapter } from './tracking.adapter';
|
|
3
|
-
export declare class LoggingBackendAppender implements Appender {
|
|
4
|
-
level: LogLevel;
|
|
5
|
-
private logAdapter;
|
|
6
|
-
constructor(level: LogLevel, logAdapter: TrackingAdapter);
|
|
7
|
-
appendMessage(name: string, level: LogLevel, message: any, additional: any[]): void;
|
|
8
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Info, Interaction, LogMessage, Session, UserAgent, Visit } from './tracking';
|
|
2
|
-
export declare abstract class TrackingAdapter {
|
|
3
|
-
abstract trackUserAgent(ua: UserAgent): void;
|
|
4
|
-
abstract trackInteraction(interaction: Interaction): void;
|
|
5
|
-
abstract trackInfo(info: Info): void;
|
|
6
|
-
abstract trackVisit(visit: Visit): void;
|
|
7
|
-
abstract trackLog(log: LogMessage): void;
|
|
8
|
-
abstract trackSession(session: Session): void;
|
|
9
|
-
}
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
export interface UserAgent {
|
|
2
|
-
/**
|
|
3
|
-
* session id
|
|
4
|
-
*/
|
|
5
|
-
sId?: string;
|
|
6
|
-
ua?: string;
|
|
7
|
-
/**
|
|
8
|
-
* This value is used to detect the visitor's country if GeoIP is not enabled.
|
|
9
|
-
*/
|
|
10
|
-
lng?: string;
|
|
11
|
-
/**
|
|
12
|
-
* The resolution of the device the visitor is using
|
|
13
|
-
*/
|
|
14
|
-
res?: string;
|
|
15
|
-
/**
|
|
16
|
-
* Timezone
|
|
17
|
-
*/
|
|
18
|
-
tz?: string;
|
|
19
|
-
/**
|
|
20
|
-
* cookies supported
|
|
21
|
-
*/
|
|
22
|
-
c?: boolean;
|
|
23
|
-
/**
|
|
24
|
-
* user id
|
|
25
|
-
*/
|
|
26
|
-
uId?: string;
|
|
27
|
-
}
|
|
28
|
-
export interface Interaction {
|
|
29
|
-
url?: string;
|
|
30
|
-
/**
|
|
31
|
-
* session id
|
|
32
|
-
*/
|
|
33
|
-
sId?: string;
|
|
34
|
-
/**
|
|
35
|
-
* event
|
|
36
|
-
*/
|
|
37
|
-
e: string;
|
|
38
|
-
/**
|
|
39
|
-
* data
|
|
40
|
-
*/
|
|
41
|
-
d?: any;
|
|
42
|
-
/**
|
|
43
|
-
* component
|
|
44
|
-
*/
|
|
45
|
-
c: string;
|
|
46
|
-
/**
|
|
47
|
-
* user id
|
|
48
|
-
*/
|
|
49
|
-
uId?: string;
|
|
50
|
-
}
|
|
51
|
-
export interface Visit {
|
|
52
|
-
url?: string;
|
|
53
|
-
/**
|
|
54
|
-
* session id
|
|
55
|
-
*/
|
|
56
|
-
sId?: string;
|
|
57
|
-
/**
|
|
58
|
-
* component view
|
|
59
|
-
*/
|
|
60
|
-
c?: string;
|
|
61
|
-
/**
|
|
62
|
-
* user id
|
|
63
|
-
*/
|
|
64
|
-
uId?: string;
|
|
65
|
-
}
|
|
66
|
-
export interface Info {
|
|
67
|
-
url?: string;
|
|
68
|
-
/**
|
|
69
|
-
* session id
|
|
70
|
-
*/
|
|
71
|
-
sId?: string;
|
|
72
|
-
/**
|
|
73
|
-
* name
|
|
74
|
-
*/
|
|
75
|
-
n: string;
|
|
76
|
-
/**
|
|
77
|
-
* data
|
|
78
|
-
*/
|
|
79
|
-
d?: any;
|
|
80
|
-
/**
|
|
81
|
-
* user id
|
|
82
|
-
*/
|
|
83
|
-
uId?: string;
|
|
84
|
-
}
|
|
85
|
-
export interface LogMessage {
|
|
86
|
-
name: string;
|
|
87
|
-
level: string;
|
|
88
|
-
messages: string[];
|
|
89
|
-
sId?: string;
|
|
90
|
-
uId?: string;
|
|
91
|
-
}
|
|
92
|
-
export interface Session {
|
|
93
|
-
browserId?: string;
|
|
94
|
-
referrer?: string;
|
|
95
|
-
utmSource?: string;
|
|
96
|
-
utmMedium?: string;
|
|
97
|
-
utmCampaign?: string;
|
|
98
|
-
utmTerm?: string;
|
|
99
|
-
utmContent?: string;
|
|
100
|
-
sId?: string;
|
|
101
|
-
uId?: string;
|
|
102
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { TrackingAdapter } from './tracking.adapter';
|
|
2
|
-
import { UserAgent } from './tracking';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export interface AppTrackingInteractionEvent {
|
|
5
|
-
component: string;
|
|
6
|
-
event: string;
|
|
7
|
-
data?: any;
|
|
8
|
-
}
|
|
9
|
-
export interface Options {
|
|
10
|
-
uId?: string;
|
|
11
|
-
}
|
|
12
|
-
export declare class TrackingService {
|
|
13
|
-
private adapter;
|
|
14
|
-
private readonly isBrowser;
|
|
15
|
-
constructor(adapter: TrackingAdapter, platformId: NonNullable<unknown>);
|
|
16
|
-
trackSession(options?: Options): void;
|
|
17
|
-
trackInfo(info: {
|
|
18
|
-
data?: any;
|
|
19
|
-
name: string;
|
|
20
|
-
}, options?: Options): void;
|
|
21
|
-
trackInteraction(event: AppTrackingInteractionEvent, options?: Options): void;
|
|
22
|
-
trackVisit(event: {
|
|
23
|
-
component?: string;
|
|
24
|
-
url?: string;
|
|
25
|
-
}, options?: Options): void;
|
|
26
|
-
trackUserAgent(userAgent: UserAgent, options?: Options): void;
|
|
27
|
-
private enrichWithUrl;
|
|
28
|
-
private getBrowserUrl;
|
|
29
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TrackingService, never>;
|
|
30
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<TrackingService>;
|
|
31
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* User account that is managed by Apollo locally.
|
|
3
|
-
*/
|
|
4
|
-
export interface LocalUserAccount {
|
|
5
|
-
id: string;
|
|
6
|
-
name: string;
|
|
7
|
-
email: string;
|
|
8
|
-
avatarUrl: string;
|
|
9
|
-
avatarFileId: string;
|
|
10
|
-
gravatarEmail: string;
|
|
11
|
-
roles: {
|
|
12
|
-
tenantId: string;
|
|
13
|
-
permissions: string[];
|
|
14
|
-
}[];
|
|
15
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { UserRegistrationData } from './user.service';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { LocalUserAccount } from './local-user-account';
|
|
4
|
-
export declare abstract class UserAdapter {
|
|
5
|
-
abstract registerUser(registerData: UserRegistrationData): Observable<LocalUserAccount>;
|
|
6
|
-
abstract changeEmailAddress(newEmailAddress: string, password: string): Observable<void>;
|
|
7
|
-
abstract confirmEmail(token: string): Observable<boolean>;
|
|
8
|
-
abstract confirmDeleteAccount(token: string): Observable<boolean>;
|
|
9
|
-
abstract changePassword(currentPassword: string, newPassword: string): Observable<void>;
|
|
10
|
-
abstract requestPasswordReset(email: string): Observable<void>;
|
|
11
|
-
abstract confirmPasswordReset(token: string, newPassword: string): Observable<void>;
|
|
12
|
-
/**
|
|
13
|
-
* Get the user account. Return error if account could not be retrieved
|
|
14
|
-
*/
|
|
15
|
-
abstract getUser(sessionId?: string): Observable<LocalUserAccount>;
|
|
16
|
-
abstract deleteAccount(password: string): Observable<void>;
|
|
17
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { LocalUserAccount } from './local-user-account';
|
|
3
|
-
import { UserAdapter } from './user.adapter';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export interface UserRegistrationData {
|
|
6
|
-
name: string;
|
|
7
|
-
email: string;
|
|
8
|
-
password: string;
|
|
9
|
-
}
|
|
10
|
-
export declare class UserService {
|
|
11
|
-
private userAdapter;
|
|
12
|
-
private _userAccount$;
|
|
13
|
-
userAccount$: Observable<LocalUserAccount | null>;
|
|
14
|
-
constructor(userAdapter: UserAdapter);
|
|
15
|
-
registerUser(registerData: UserRegistrationData): Observable<LocalUserAccount>;
|
|
16
|
-
setUserAccount(user: LocalUserAccount): void;
|
|
17
|
-
getUserAccount(): LocalUserAccount | null;
|
|
18
|
-
changePassword(currentPassword: string, newPassword: string): Observable<void>;
|
|
19
|
-
requestPasswordReset(email: string): Observable<void>;
|
|
20
|
-
confirmPasswordReset(token: string, newPassword: string): Observable<void>;
|
|
21
|
-
changeEmailAddress(newEmailAddress: string, password: string): Observable<void>;
|
|
22
|
-
confirmEmail(token: string): Observable<boolean>;
|
|
23
|
-
confirmDeleteAccount(token: string): Observable<boolean>;
|
|
24
|
-
deleteAccount(password: string): Observable<void>;
|
|
25
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UserService, never>;
|
|
26
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<UserService>;
|
|
27
|
-
}
|
package/lib/viewport.utils.d.ts
DELETED
package/public-api.d.ts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export * from './lib/services';
|
|
2
|
-
export * from './lib/pipes';
|
|
3
|
-
export * from './lib/data-source/data-source.model';
|
|
4
|
-
export * from './lib/data-source/abstract-wsk-data-source';
|
|
5
|
-
export * from './lib/data-source/wsk-data-source';
|
|
6
|
-
export * from './lib/data-source/wsk-lazy-data-source';
|
|
7
|
-
export * from './lib/date-time/time.utils';
|
|
8
|
-
export * from './lib/date-time/date.utils';
|
|
9
|
-
export * from './lib/date-time/date-time.utils';
|
|
10
|
-
export * from './lib/date-time/time';
|
|
11
|
-
export * from './lib/breakpoints/breakpoints';
|
|
12
|
-
export * from './lib/color/constrast-color';
|
|
13
|
-
export * from './lib/content/anchor.utils';
|
|
14
|
-
export * from './lib/let/let.directive';
|
|
15
|
-
export * from './lib/webcomponents/web-components';
|
|
16
|
-
export * from './lib/object.utils';
|
|
17
|
-
export * from './lib/graphic.utils';
|
|
18
|
-
export * from './lib/viewport.utils';
|
|
19
|
-
export * from './lib/locale/decimal-separator';
|
|
20
|
-
export * from './lib/form/abstract-control-value-accessor.directive';
|
|
21
|
-
export * from './lib/formValidation/validation.utils';
|
|
22
|
-
export * from './lib/formValidation/formControlError.utils';
|
|
23
|
-
export * from './lib/rxjs/active-request';
|
|
24
|
-
export * from './lib/angular/instanceOf.utils';
|
|
25
|
-
export * from './lib/immutability/freeze.utils';
|
|
26
|
-
export * from './lib/comm/request.utils';
|