@sumaris-net/ngx-components 1.23.16 → 1.23.18
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/bundles/sumaris-net.ngx-components.umd.js +505 -252
- package/bundles/sumaris-net.ngx-components.umd.js.map +1 -1
- package/bundles/sumaris-net.ngx-components.umd.min.js +1 -1
- package/bundles/sumaris-net.ngx-components.umd.min.js.map +1 -1
- package/esm2015/public_api.js +3 -2
- package/esm2015/src/app/core/services/network.service.js +17 -25
- package/esm2015/src/app/core/table/entities-table-datasource.class.js +46 -30
- package/esm2015/src/app/core/table/table.class.js +2 -5
- package/esm2015/src/app/core/table/testing/table.testing.js +2 -2
- package/esm2015/src/app/shared/services/memory-entity-service.class.js +49 -29
- package/esm2015/src/app/shared/services/startable-observable-service.class.js +122 -0
- package/esm2015/src/app/shared/services/startable-service.class.js +23 -21
- package/esm2015/src/app/social/job/job.module.js +4 -4
- package/esm2015/src/app/social/job/job.service.js +24 -12
- package/esm2015/src/app/social/job/progression/job-progression.icon.js +208 -0
- package/esm2015/src/app/social/job/testing/job-progression.testing.js +27 -26
- package/esm2015/src/app/social/job/testing/job-progression.testing.service.js +24 -2
- package/esm2015/src/app/social/social.module.js +1 -1
- package/esm2015/src/app/social/user-event/notification/user-event-notification.icon.js +26 -15
- package/esm2015/src/app/social/user-event/notification/user-event-notification.list.js +3 -3
- package/esm2015/src/app/social/user-event/testing/user-event.testing.js +3 -3
- package/esm2015/src/app/social/user-event/user-event.module.js +4 -4
- package/esm2015/src/app/social/user-event/user-event.service.js +2 -2
- package/esm2015/sumaris-net.ngx-components.js +10 -10
- package/fesm2015/sumaris-net.ngx-components.js +389 -191
- package/fesm2015/sumaris-net.ngx-components.js.map +1 -1
- package/package.json +1 -1
- package/public_api.d.ts +2 -1
- package/src/app/core/services/network.service.d.ts +5 -7
- package/src/app/core/table/entities-table-datasource.class.d.ts +9 -1
- package/src/app/shared/services/memory-entity-service.class.d.ts +4 -4
- package/src/app/shared/services/startable-observable-service.class.d.ts +33 -0
- package/src/app/shared/services/startable-service.class.d.ts +9 -8
- package/src/app/social/job/job.service.d.ts +10 -2
- package/src/app/social/job/progression/{job-progression.component.d.ts → job-progression.icon.d.ts} +3 -3
- package/src/app/social/job/testing/job-progression.testing.d.ts +7 -4
- package/src/app/social/job/testing/job-progression.testing.service.d.ts +4 -0
- package/src/app/social/social.module.d.ts +1 -1
- package/src/app/social/user-event/notification/user-event-notification.icon.d.ts +6 -3
- package/src/app/social/user-event/testing/user-event.testing.d.ts +2 -2
- package/src/app/social/user-event/user-event.service.d.ts +1 -1
- package/sumaris-net.ngx-components.d.ts +9 -9
- package/sumaris-net.ngx-components.metadata.json +1 -1
- package/esm2015/src/app/social/job/progression/job-progression.component.js +0 -200
package/package.json
CHANGED
package/public_api.d.ts
CHANGED
|
@@ -175,7 +175,8 @@ export * from './src/app/social/user-event/notification/user-event-notification.
|
|
|
175
175
|
export * from './src/app/social/job/job.module';
|
|
176
176
|
export * from './src/app/social/job/job.model';
|
|
177
177
|
export * from './src/app/social/job/job.service';
|
|
178
|
-
export * from './src/app/social/job/progression/job-progression.
|
|
178
|
+
export * from './src/app/social/job/progression/job-progression.icon';
|
|
179
|
+
export * from './src/app/social/job/progression/job-progression.list';
|
|
179
180
|
export * from './src/app/social/message/message.module';
|
|
180
181
|
export * from './src/app/social/message/message.model';
|
|
181
182
|
export * from './src/app/social/message/message.service';
|
|
@@ -13,12 +13,12 @@ import { CacheService } from 'ionic-cache';
|
|
|
13
13
|
import { ShowToastOptions } from '../../shared/toast/toasts';
|
|
14
14
|
import { OverlayEventDetail } from '@ionic/core';
|
|
15
15
|
import { AppManifest, NodeInfo } from './network.utils';
|
|
16
|
-
import {
|
|
16
|
+
import { StartableObservableService } from '../../shared/services/startable-observable-service.class';
|
|
17
17
|
export declare type ConnectionType = 'none' | 'wifi' | 'ethernet' | 'cell' | 'unknown';
|
|
18
18
|
export declare type AuthTokenType = 'token' | 'basic' | 'basic-and-token';
|
|
19
19
|
export declare function getConnectionType(type: Connection): ConnectionType;
|
|
20
20
|
export declare type NetworkEventType = 'start' | 'peerChanged' | 'statusChanged' | 'resetCache' | 'beforeTryOnlineFinish';
|
|
21
|
-
export declare class NetworkService extends
|
|
21
|
+
export declare class NetworkService extends StartableObservableService<Peer, Peer> {
|
|
22
22
|
private _document;
|
|
23
23
|
private platform;
|
|
24
24
|
private modalCtrl;
|
|
@@ -39,7 +39,6 @@ export declare class NetworkService extends StartableService<Peer> {
|
|
|
39
39
|
private _timerSubscription;
|
|
40
40
|
private readonly _timerRefreshPeriod;
|
|
41
41
|
private readonly _timerRefreshCondition;
|
|
42
|
-
private _startingPeer;
|
|
43
42
|
private _deviceConnectionType;
|
|
44
43
|
private _forceOffline;
|
|
45
44
|
private _listeners;
|
|
@@ -105,9 +104,9 @@ export declare class NetworkService extends StartableService<Peer> {
|
|
|
105
104
|
clearCache(opts?: {
|
|
106
105
|
emitEvent?: boolean;
|
|
107
106
|
}): Promise<void>;
|
|
108
|
-
protected ngOnStart(): Promise<Peer>;
|
|
109
|
-
protected ngOnAfterStart(): Promise<void>;
|
|
110
|
-
protected ngOnStop():
|
|
107
|
+
protected ngOnStart(peer?: Peer): Promise<Peer>;
|
|
108
|
+
protected ngOnAfterStart(peer: Peer): Promise<void>;
|
|
109
|
+
protected ngOnStop(): void;
|
|
111
110
|
/**
|
|
112
111
|
* Try to restore peer from the local storage
|
|
113
112
|
*/
|
|
@@ -140,7 +139,6 @@ export declare class NetworkService extends StartableService<Peer> {
|
|
|
140
139
|
}): Promise<T>;
|
|
141
140
|
protected getUri(path: string): string;
|
|
142
141
|
protected onDeviceConnectionChanged(connectionType?: string): void;
|
|
143
|
-
protected resetData(): void;
|
|
144
142
|
/**
|
|
145
143
|
* Get default peers, from environment
|
|
146
144
|
*/
|
|
@@ -24,8 +24,8 @@ export declare class EntitiesTableDataSource<T extends IEntity<T, ID>, F = any,
|
|
|
24
24
|
protected _debug: boolean;
|
|
25
25
|
protected _creating: boolean;
|
|
26
26
|
protected _saving: boolean;
|
|
27
|
-
protected _stopWatching$: Subject<any>;
|
|
28
27
|
protected _fetchMoreFn: FetchMoreFn<LoadResult<T>>;
|
|
28
|
+
protected _stopWatchSubject: Subject<any>;
|
|
29
29
|
loadingSubject: BehaviorSubject<boolean>;
|
|
30
30
|
/**
|
|
31
31
|
* @deprecated Use watchAllOptions or saveAllOptions
|
|
@@ -51,13 +51,21 @@ export declare class EntitiesTableDataSource<T extends IEntity<T, ID>, F = any,
|
|
|
51
51
|
* @param config Additional configuration for table.
|
|
52
52
|
*/
|
|
53
53
|
constructor(dataType: new () => T, dataService: IEntitiesService<T, F, WO>, validatorService?: V, options?: C);
|
|
54
|
+
/**
|
|
55
|
+
* @deprecated use disconnect
|
|
56
|
+
*/
|
|
54
57
|
ngOnDestroy(): void;
|
|
58
|
+
/**
|
|
59
|
+
* @deprecated use disconnect
|
|
60
|
+
*/
|
|
61
|
+
close(): void;
|
|
55
62
|
watchAll(offset: number, size: number, sortBy?: string, sortDirection?: SortDirection, filter?: Partial<F>): Observable<LoadResult<T>>;
|
|
56
63
|
protected updateDatasourceFromRows(rows: TableElement<T>[]): void;
|
|
57
64
|
save(): Promise<boolean>;
|
|
58
65
|
updateDatasource(data: T[], opts?: {
|
|
59
66
|
emitEvent: boolean;
|
|
60
67
|
}): void;
|
|
68
|
+
private viewer;
|
|
61
69
|
connect(collectionViewer: CollectionViewer): Observable<TableElement<T>[] | ReadonlyArray<TableElement<T>>>;
|
|
62
70
|
disconnect(collectionViewer?: CollectionViewer): void;
|
|
63
71
|
waitIdle(debounceTimeMs?: number): Promise<any>;
|
|
@@ -4,7 +4,7 @@ import { SortDirection } from '@angular/material/sort';
|
|
|
4
4
|
import { OnDestroy } from '@angular/core';
|
|
5
5
|
import { IEntity } from '../../core/services/model/entity.model';
|
|
6
6
|
import { WaitForOptions } from '../observables';
|
|
7
|
-
import {
|
|
7
|
+
import { StartableObservableService } from './startable-observable-service.class';
|
|
8
8
|
export interface InMemoryEntitiesServiceOptions<T, F> {
|
|
9
9
|
onSort?: (data: T[], sortBy?: string, sortDirection?: SortDirection) => T[];
|
|
10
10
|
onLoad?: (data: T[]) => T[] | Promise<T[]>;
|
|
@@ -16,12 +16,11 @@ export interface InMemoryEntitiesServiceOptions<T, F> {
|
|
|
16
16
|
[key: string]: string;
|
|
17
17
|
};
|
|
18
18
|
}
|
|
19
|
-
export declare class InMemoryEntitiesService<T extends IEntity<T, ID>, F = any, ID = number, O extends EntitiesServiceWatchOptions = EntitiesServiceWatchOptions> extends
|
|
19
|
+
export declare class InMemoryEntitiesService<T extends IEntity<T, ID>, F = any, ID = number, O extends EntitiesServiceWatchOptions = EntitiesServiceWatchOptions> extends StartableObservableService<T[], T[]> implements IEntitiesService<T, F, O>, OnDestroy {
|
|
20
20
|
protected dataType: new () => T;
|
|
21
21
|
protected filterType: new () => F;
|
|
22
22
|
debug: boolean;
|
|
23
23
|
private _hiddenData;
|
|
24
|
-
private dataSubject;
|
|
25
24
|
private readonly dirtySubject;
|
|
26
25
|
private readonly savingSubject;
|
|
27
26
|
private readonly _sortFn;
|
|
@@ -35,7 +34,7 @@ export declare class InMemoryEntitiesService<T extends IEntity<T, ID>, F = any,
|
|
|
35
34
|
get saving(): boolean;
|
|
36
35
|
get dirty(): boolean;
|
|
37
36
|
constructor(dataType: new () => T, filterType: new () => F, options?: InMemoryEntitiesServiceOptions<T, F>);
|
|
38
|
-
protected ngOnStart(): Promise<T[]>;
|
|
37
|
+
protected ngOnStart(data?: T[]): Promise<T[]>;
|
|
39
38
|
protected ngOnStop(): Promise<void>;
|
|
40
39
|
ngOnDestroy(): void;
|
|
41
40
|
setValue(data: T[]): void;
|
|
@@ -53,6 +52,7 @@ export declare class InMemoryEntitiesService<T extends IEntity<T, ID>, F = any,
|
|
|
53
52
|
*/
|
|
54
53
|
get count(): number;
|
|
55
54
|
get hiddenCount(): number;
|
|
55
|
+
waitIdle(opts?: WaitForOptions): Promise<void>;
|
|
56
56
|
protected filter(data: T[], _filter: F, hiddenData: T[]): T[];
|
|
57
57
|
protected connect(): Observable<LoadResult<T>>;
|
|
58
58
|
protected waitWhileSaving(opts?: WaitForOptions): Promise<void>;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { BehaviorSubject, Subject, Subscription } from 'rxjs';
|
|
2
|
+
import { IStartableService } from './startable-service.class';
|
|
3
|
+
/**
|
|
4
|
+
* Same as StartableService, bu with a dataSubject instead of a simple 'data' property
|
|
5
|
+
*/
|
|
6
|
+
export declare abstract class StartableObservableService<T = any, O = any> implements IStartableService<T> {
|
|
7
|
+
readonly dataSubject: BehaviorSubject<T>;
|
|
8
|
+
readonly startSubject: Subject<T>;
|
|
9
|
+
readonly stopSubject: Subject<void>;
|
|
10
|
+
protected _debug: boolean;
|
|
11
|
+
protected _startByReadyFunction: boolean;
|
|
12
|
+
private _started;
|
|
13
|
+
private _startPromise;
|
|
14
|
+
private _startPrerequisite;
|
|
15
|
+
private _subscription;
|
|
16
|
+
protected constructor(prerequisiteService?: {
|
|
17
|
+
ready: () => Promise<any>;
|
|
18
|
+
});
|
|
19
|
+
start(opts?: O): Promise<T>;
|
|
20
|
+
ready(): Promise<T>;
|
|
21
|
+
stop(): Promise<void>;
|
|
22
|
+
restart(opts?: O): Promise<T>;
|
|
23
|
+
get started(): boolean;
|
|
24
|
+
get starting(): boolean;
|
|
25
|
+
get stopped(): boolean;
|
|
26
|
+
protected get data(): T;
|
|
27
|
+
protected set data(value: T);
|
|
28
|
+
protected registerSubscription(sub: Subscription): Subscription;
|
|
29
|
+
protected unregisterSubscription(sub: Subscription): void;
|
|
30
|
+
protected unsubscribe(): void;
|
|
31
|
+
protected ngOnStop(): Promise<void> | void;
|
|
32
|
+
protected abstract ngOnStart(opts?: O): Promise<T>;
|
|
33
|
+
}
|
|
@@ -5,9 +5,9 @@ export interface IStartableService<T = any> {
|
|
|
5
5
|
stop(): Promise<void>;
|
|
6
6
|
ready(): Promise<T>;
|
|
7
7
|
}
|
|
8
|
-
export declare abstract class StartableService<T = any> implements IStartableService<T> {
|
|
9
|
-
startSubject: Subject<T>;
|
|
10
|
-
stopSubject: Subject<void>;
|
|
8
|
+
export declare abstract class StartableService<T = any, O = any> implements IStartableService<T> {
|
|
9
|
+
readonly startSubject: Subject<T>;
|
|
10
|
+
readonly stopSubject: Subject<void>;
|
|
11
11
|
protected _debug: boolean;
|
|
12
12
|
protected _startByReadyFunction: boolean;
|
|
13
13
|
protected _data: T;
|
|
@@ -18,15 +18,16 @@ export declare abstract class StartableService<T = any> implements IStartableSer
|
|
|
18
18
|
protected constructor(prerequisiteService?: {
|
|
19
19
|
ready: () => Promise<any>;
|
|
20
20
|
});
|
|
21
|
-
start(): Promise<T>;
|
|
21
|
+
start(opts?: O): Promise<T>;
|
|
22
|
+
ready(): Promise<T>;
|
|
22
23
|
stop(): Promise<void>;
|
|
23
|
-
restart(): Promise<T>;
|
|
24
|
+
restart(opts?: O): Promise<T>;
|
|
24
25
|
get started(): boolean;
|
|
25
26
|
get starting(): boolean;
|
|
26
|
-
|
|
27
|
+
get stopped(): boolean;
|
|
27
28
|
protected registerSubscription(sub: Subscription): Subscription;
|
|
28
29
|
protected unregisterSubscription(sub: Subscription): void;
|
|
29
30
|
protected unsubscribe(): void;
|
|
30
|
-
protected ngOnStop(): Promise<void
|
|
31
|
-
protected abstract ngOnStart(): Promise<T>;
|
|
31
|
+
protected ngOnStop(): Promise<void> | void;
|
|
32
|
+
protected abstract ngOnStart(opts?: O): Promise<T>;
|
|
32
33
|
}
|
|
@@ -4,9 +4,12 @@ import { BaseGraphqlService } from '../../core/services/base-graphql-service.cla
|
|
|
4
4
|
import { GraphqlService } from '../../core/graphql/graphql.service';
|
|
5
5
|
import { Environment } from '../../../environments/environment.class';
|
|
6
6
|
import { Observable } from 'rxjs';
|
|
7
|
-
import { FetchPolicy } from '@apollo/client/core';
|
|
8
|
-
export declare const
|
|
7
|
+
import { FetchPolicy, WatchQueryFetchPolicy } from '@apollo/client/core';
|
|
8
|
+
export declare const APP_JOB_PROGRESSION_SERVICE: InjectionToken<JobProgressionService>;
|
|
9
9
|
export interface IJobProgressionService {
|
|
10
|
+
watchAll(): Observable<JobProgression[]>;
|
|
11
|
+
addJob(id: number, job?: JobProgression): any;
|
|
12
|
+
removeJob(id: number): any;
|
|
10
13
|
listenChanges(id: number, options?: {
|
|
11
14
|
interval?: number;
|
|
12
15
|
fetchPolicy?: FetchPolicy;
|
|
@@ -16,6 +19,11 @@ export declare class JobProgressionService extends BaseGraphqlService<JobProgres
|
|
|
16
19
|
protected graphql: GraphqlService;
|
|
17
20
|
protected environment: Environment;
|
|
18
21
|
constructor(graphql: GraphqlService, environment: Environment);
|
|
22
|
+
watchAll(options?: {
|
|
23
|
+
fetchPolicy?: WatchQueryFetchPolicy;
|
|
24
|
+
}): Observable<JobProgression[]>;
|
|
25
|
+
addJob(id: number, job?: JobProgression): void;
|
|
26
|
+
removeJob(id: number): void;
|
|
19
27
|
listenChanges(id: number, options?: {
|
|
20
28
|
interval?: number;
|
|
21
29
|
fetchPolicy?: FetchPolicy;
|
package/src/app/social/job/progression/{job-progression.component.d.ts → job-progression.icon.d.ts}
RENAMED
|
@@ -10,13 +10,14 @@ export interface JobProgressionOptions {
|
|
|
10
10
|
autoRemove: boolean;
|
|
11
11
|
autoRemoveDelay: number;
|
|
12
12
|
}
|
|
13
|
-
export declare class
|
|
13
|
+
export declare class JobProgressionIcon implements OnInit, OnDestroy {
|
|
14
14
|
protected jobProgressionService: IJobProgressionService;
|
|
15
15
|
protected popoverController: PopoverController;
|
|
16
16
|
protected cd: ChangeDetectorRef;
|
|
17
17
|
debug: boolean;
|
|
18
18
|
titleI18n: string;
|
|
19
19
|
options: JobProgressionOptions;
|
|
20
|
+
autoHide: boolean;
|
|
20
21
|
jobFinished: EventEmitter<number>;
|
|
21
22
|
visible: boolean;
|
|
22
23
|
disabled: boolean;
|
|
@@ -24,7 +25,6 @@ export declare class JobProgressionComponent implements OnInit, OnDestroy {
|
|
|
24
25
|
mode: ProgressSpinnerMode;
|
|
25
26
|
value: number;
|
|
26
27
|
jobProgressions: JobProgression[];
|
|
27
|
-
protected autoHide: boolean;
|
|
28
28
|
protected autoHideDelay: number;
|
|
29
29
|
protected autoRemove: boolean;
|
|
30
30
|
protected autoRemoveDelay: number;
|
|
@@ -34,7 +34,7 @@ export declare class JobProgressionComponent implements OnInit, OnDestroy {
|
|
|
34
34
|
private _logPrefix;
|
|
35
35
|
constructor(jobProgressionService: IJobProgressionService, popoverController: PopoverController, cd: ChangeDetectorRef);
|
|
36
36
|
ngOnInit(): void;
|
|
37
|
-
addJob(id: number): void;
|
|
37
|
+
addJob(id: number, job?: JobProgression): void;
|
|
38
38
|
removeJob(id: number): void;
|
|
39
39
|
getProgression(id: number): JobProgression | undefined;
|
|
40
40
|
updateValue(): void;
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { JobProgressionIcon, JobProgressionOptions } from '../progression/job-progression.icon';
|
|
2
2
|
import { JobProgression } from '../job.model';
|
|
3
|
+
import { JobProgressionService } from '../job.service';
|
|
3
4
|
export declare class JobProgressionTestingPage {
|
|
4
|
-
|
|
5
|
-
|
|
5
|
+
protected jobProgressionService: JobProgressionService;
|
|
6
|
+
jobProgressionIcon: JobProgressionIcon;
|
|
7
|
+
jobId: number;
|
|
6
8
|
job: JobProgression;
|
|
7
9
|
options: JobProgressionOptions;
|
|
8
|
-
constructor();
|
|
10
|
+
constructor(jobProgressionService: JobProgressionService);
|
|
9
11
|
incrementJob(value: number): void;
|
|
10
12
|
addJob(): void;
|
|
13
|
+
private createJob;
|
|
11
14
|
}
|
|
@@ -3,6 +3,10 @@ import { FetchPolicy } from '@apollo/client/core';
|
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
4
|
import { JobProgression } from '../job.model';
|
|
5
5
|
export declare class JobProgressionTestService implements IJobProgressionService {
|
|
6
|
+
private jobsSubject;
|
|
7
|
+
addJob(id: number, job?: JobProgression): void;
|
|
8
|
+
removeJob(id: number): void;
|
|
9
|
+
watchAll(): Observable<JobProgression[]>;
|
|
6
10
|
listenChanges(id: number, options?: {
|
|
7
11
|
interval?: number;
|
|
8
12
|
fetchPolicy?: FetchPolicy;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { InjectionToken } from '@angular/core';
|
|
2
|
-
import { JobProgressionOptions } from './job/progression/job-progression.
|
|
2
|
+
import { JobProgressionOptions } from './job/progression/job-progression.icon';
|
|
3
3
|
export interface SocialModuleOptions {
|
|
4
4
|
showUserEventNotification: boolean;
|
|
5
5
|
showJobProgression: boolean;
|
|
@@ -1,22 +1,25 @@
|
|
|
1
|
-
import { OnDestroy, OnInit } from '@angular/core';
|
|
1
|
+
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import { PopoverController } from '@ionic/angular';
|
|
4
4
|
import { IUserEventService } from '../user-event.service';
|
|
5
5
|
import { IUserEvent, IUserEventFilter } from '../user-event.model';
|
|
6
6
|
import { AccountService } from '../../../core/services/account.service';
|
|
7
|
-
export declare class
|
|
7
|
+
export declare class UserEventNotificationIcon implements OnInit, OnDestroy {
|
|
8
8
|
userEventService: IUserEventService<IUserEvent<any>, IUserEventFilter<any>>;
|
|
9
9
|
protected accountService: AccountService;
|
|
10
10
|
protected popoverController: PopoverController;
|
|
11
|
+
private cd;
|
|
11
12
|
debug: boolean;
|
|
12
13
|
titleI18n: string;
|
|
13
14
|
disabled: boolean;
|
|
14
15
|
filter: any;
|
|
16
|
+
autoHide: boolean;
|
|
17
|
+
visible: boolean;
|
|
15
18
|
get countChanges(): Observable<number>;
|
|
16
19
|
private _logPrefix;
|
|
17
20
|
private _readEvent;
|
|
18
21
|
private _readEvents;
|
|
19
|
-
constructor(userEventService: IUserEventService<IUserEvent<any>, IUserEventFilter<any>>, accountService: AccountService, popoverController: PopoverController);
|
|
22
|
+
constructor(userEventService: IUserEventService<IUserEvent<any>, IUserEventFilter<any>>, accountService: AccountService, popoverController: PopoverController, cd: ChangeDetectorRef);
|
|
20
23
|
ngOnInit(): Promise<void>;
|
|
21
24
|
showList(event: UIEvent): Promise<void>;
|
|
22
25
|
ngOnDestroy(): void;
|
|
@@ -3,7 +3,7 @@ import { Router } from '@angular/router';
|
|
|
3
3
|
import { AlertController } from '@ionic/angular';
|
|
4
4
|
import { TranslateService } from '@ngx-translate/core';
|
|
5
5
|
import { UserEventTestService } from './user-event.testing.service';
|
|
6
|
-
import {
|
|
6
|
+
import { UserEventNotificationIcon } from '../notification/user-event-notification.icon';
|
|
7
7
|
import { UserEventTest } from './user-event.testing.model';
|
|
8
8
|
export declare class UserEventTestingPage implements OnDestroy {
|
|
9
9
|
protected userEventService: UserEventTestService;
|
|
@@ -11,7 +11,7 @@ export declare class UserEventTestingPage implements OnDestroy {
|
|
|
11
11
|
protected alertController: AlertController;
|
|
12
12
|
protected translateService: TranslateService;
|
|
13
13
|
private _timerSubscription;
|
|
14
|
-
notification:
|
|
14
|
+
notification: UserEventNotificationIcon;
|
|
15
15
|
get timerStarted(): boolean;
|
|
16
16
|
constructor(userEventService: UserEventTestService, router: Router, alertController: AlertController, translateService: TranslateService);
|
|
17
17
|
ngOnDestroy(): void;
|
|
@@ -11,7 +11,7 @@ import { NetworkService } from '../../core/services/network.service';
|
|
|
11
11
|
import { BaseGraphqlService, BaseGraphqlServiceOptions } from '../../core/services/base-graphql-service.class';
|
|
12
12
|
import { Moment } from 'moment';
|
|
13
13
|
import { IStartableService } from '../../shared/services/startable-service.class';
|
|
14
|
-
export declare const
|
|
14
|
+
export declare const APP_USER_EVENT_SERVICE: InjectionToken<IUserEventService<any, any, UserEventWatchOptions, UserEventLoadOptions>>;
|
|
15
15
|
export declare interface UserEventLoadOptions extends EntitiesServiceLoadOptions {
|
|
16
16
|
withContent?: boolean;
|
|
17
17
|
}
|
|
@@ -2,19 +2,19 @@
|
|
|
2
2
|
* Generated bundle index. Do not edit.
|
|
3
3
|
*/
|
|
4
4
|
export * from './public_api';
|
|
5
|
-
export { AppUpdateOfflineModeCard as
|
|
6
|
-
export { RegisterForm as
|
|
7
|
-
export { RegisterModal as
|
|
8
|
-
export { AccountValidatorService as
|
|
9
|
-
export { LocalSettingsValidatorService as
|
|
10
|
-
export { UserSettingsValidatorService as
|
|
11
|
-
export { isFocusableElement as
|
|
5
|
+
export { AppUpdateOfflineModeCard as ɵj } from './src/app/core/offline/update-offline-mode-card.component';
|
|
6
|
+
export { RegisterForm as ɵe } from './src/app/core/register/form/form-register';
|
|
7
|
+
export { RegisterModal as ɵg } from './src/app/core/register/modal/modal-register';
|
|
8
|
+
export { AccountValidatorService as ɵf } from './src/app/core/services/validator/account.validator';
|
|
9
|
+
export { LocalSettingsValidatorService as ɵi } from './src/app/core/services/validator/local-settings.validator';
|
|
10
|
+
export { UserSettingsValidatorService as ɵh } from './src/app/core/services/validator/user-settings.validator';
|
|
11
|
+
export { isFocusableElement as ɵd } from './src/app/shared/focusable';
|
|
12
12
|
export { MatBadgeIconTestPage as ɵn } from './src/app/shared/material/badge/badge-icon.test';
|
|
13
13
|
export { DateTestPage as ɵl } from './src/app/shared/material/datetime/testing/mat-date.test';
|
|
14
14
|
export { MatNumpadDomService as ɵb } from './src/app/shared/material/numpad/numpad.dom-service';
|
|
15
15
|
export { NumpadTestPage as ɵm } from './src/app/shared/material/numpad/testing/numpad.test';
|
|
16
|
+
export { StartableObservableService as ɵc } from './src/app/shared/services/startable-observable-service.class';
|
|
16
17
|
export { CustomReuseStrategy as ɵa } from './src/app/shared/shared-routing.module';
|
|
17
18
|
export { ToastTestingPage as ɵp } from './src/app/shared/toast/toast.testing';
|
|
18
19
|
export { ToastTestingModule as ɵo } from './src/app/shared/toast/toast.testing.module';
|
|
19
|
-
export {
|
|
20
|
-
export { UserEventNotificationList as ɵj } from './src/app/social/user-event/notification/user-event-notification.list';
|
|
20
|
+
export { UserEventNotificationList as ɵk } from './src/app/social/user-event/notification/user-event-notification.list';
|