@sumaris-net/ngx-components 1.21.0-beta9 → 1.21.2
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 +594 -1227
- package/bundles/sumaris-net.ngx-components.umd.js.map +1 -1
- package/bundles/sumaris-net.ngx-components.umd.min.js +2 -2
- package/bundles/sumaris-net.ngx-components.umd.min.js.map +1 -1
- package/doc/changelog.md +12 -0
- package/esm2015/public_api.js +3 -8
- package/esm2015/src/app/core/account/account.js +2 -2
- package/esm2015/src/app/core/auth/form/form-auth.js +4 -2
- package/esm2015/src/app/core/form/editor.class.js +64 -20
- package/esm2015/src/app/core/form/entity-editor-modal.class.js +20 -15
- package/esm2015/src/app/core/form/entity-editor.class.js +21 -12
- package/esm2015/src/app/core/form/form.class.js +68 -35
- package/esm2015/src/app/core/graphql/graphql.service.js +5 -3
- package/esm2015/src/app/core/icon/icon.component.js +2 -5
- package/esm2015/src/app/core/menu/menu.component.js +2 -2
- package/esm2015/src/app/core/services/local-settings.service.js +2 -2
- package/esm2015/src/app/core/table/table.class.js +26 -27
- package/esm2015/src/app/shared/functions.js +1 -60
- package/esm2015/src/app/shared/material/autocomplete/material.autocomplete.js +5 -4
- package/esm2015/src/app/shared/material/autocomplete/testing/autocomplete.test.js +10 -7
- package/esm2015/src/app/shared/material/chips/material.chips.js +3 -2
- package/esm2015/src/app/shared/material/chips/testing/chips.test.js +3 -2
- package/esm2015/src/app/shared/material/datetime/material.date.js +3 -2
- package/esm2015/src/app/shared/material/datetime/material.datetime.js +3 -2
- package/esm2015/src/app/shared/observables.js +13 -7
- package/esm2015/src/app/shared/pipes/arrays.pipe.js +1 -1
- package/esm2015/src/app/shared/pipes/form.pipes.js +4 -6
- package/esm2015/src/app/shared/pipes/highlight.pipe.js +4 -4
- package/esm2015/src/app/shared/pipes/string.pipes.js +7 -18
- package/esm2015/src/app/shared/services/memory-entity-service.class.js +13 -1
- package/esm2015/src/app/shared/services.js +61 -0
- package/esm2015/src/app/shared/types.js +1 -1
- package/esm2015/src/app/social/social.errors.js +2 -5
- package/esm2015/src/app/social/social.module.js +15 -10
- package/esm2015/src/app/social/user-event/user-event.model.js +2 -58
- package/esm2015/src/app/social/user-event/user-event.service.js +167 -295
- package/esm2015/src/app/social/user-event/user-events.table.js +12 -17
- package/esm2015/sumaris-net.ngx-components.js +6 -8
- package/fesm2015/sumaris-net.ngx-components.js +479 -1015
- package/fesm2015/sumaris-net.ngx-components.js.map +1 -1
- package/package.json +3 -2
- package/public_api.d.ts +2 -7
- package/src/app/core/auth/form/form-auth.d.ts +1 -1
- package/src/app/core/form/editor.class.d.ts +39 -12
- package/src/app/core/form/entity-editor-modal.class.d.ts +4 -3
- package/src/app/core/form/entity-editor.class.d.ts +10 -5
- package/src/app/core/form/form.class.d.ts +32 -19
- package/src/app/core/icon/icon.component.d.ts +4 -4
- package/src/app/core/table/table.class.d.ts +21 -14
- package/src/app/shared/functions.d.ts +0 -9
- package/src/app/shared/material/autocomplete/testing/autocomplete.test.d.ts +1 -2
- package/src/app/shared/material/badge/badge-icon.test.d.ts +1 -1
- package/src/app/shared/observables.d.ts +1 -0
- package/src/app/shared/pipes/form.pipes.d.ts +1 -2
- package/src/app/shared/services/memory-entity-service.class.d.ts +6 -0
- package/src/app/shared/services.d.ts +9 -0
- package/src/app/shared/types.d.ts +0 -4
- package/src/app/social/social.errors.d.ts +0 -3
- package/src/app/social/social.module.d.ts +0 -8
- package/src/app/social/user-event/user-event.model.d.ts +6 -51
- package/src/app/social/user-event/user-event.service.d.ts +51 -79
- package/src/app/social/user-event/user-events.table.d.ts +6 -6
- package/src/assets/i18n/en-US.json +2 -15
- package/src/assets/i18n/en.json +2 -15
- package/src/assets/i18n/fr.json +1 -14
- package/src/theme/_ngx-components.scss +0 -7
- package/sumaris-net.ngx-components.d.ts +5 -7
- package/sumaris-net.ngx-components.metadata.json +1 -1
- package/esm2015/src/app/social/job/job.model.js +0 -24
- package/esm2015/src/app/social/job/job.module.js +0 -25
- package/esm2015/src/app/social/job/job.service.js +0 -53
- package/esm2015/src/app/social/job/progression/job-progression.component.js +0 -192
- package/esm2015/src/app/social/job/progression/job-progression.list.js +0 -20
- package/esm2015/src/app/social/message/message.module.js +0 -25
- package/esm2015/src/app/social/user-event/notification/user-event-notification.component.js +0 -92
- package/esm2015/src/app/social/user-event/notification/user-event-notification.list.js +0 -39
- package/esm2015/src/app/social/user-event/user-event.module.js +0 -28
- package/src/app/social/job/job.model.d.ts +0 -32
- package/src/app/social/job/job.module.d.ts +0 -2
- package/src/app/social/job/job.service.d.ts +0 -23
- package/src/app/social/job/progression/job-progression.component.d.ts +0 -43
- package/src/app/social/job/progression/job-progression.list.d.ts +0 -12
- package/src/app/social/message/message.module.d.ts +0 -2
- package/src/app/social/user-event/notification/user-event-notification.component.d.ts +0 -25
- package/src/app/social/user-event/notification/user-event-notification.list.d.ts +0 -20
- package/src/app/social/user-event/user-event.module.d.ts +0 -2
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import { InjectionToken, OnDestroy } from '@angular/core';
|
|
2
|
-
import { FetchPolicy } from '@apollo/client/core';
|
|
3
1
|
import { AccountService } from '../../core/services/account.service';
|
|
4
2
|
import { GraphqlService } from '../../core/graphql/graphql.service';
|
|
5
|
-
import { Observable
|
|
6
|
-
import {
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { UserEvent, UserEventAction } from './user-event.model';
|
|
7
5
|
import { SortDirection } from '@angular/material/sort';
|
|
8
|
-
import { EntitiesServiceWatchOptions, EntityServiceLoadOptions, IEntitiesService, LoadResult, Page } from '../../shared/services/entity-service.class';
|
|
6
|
+
import { EntitiesServiceWatchOptions, EntityServiceLoadOptions, FilterFn, IEntitiesService, LoadResult, Page } from '../../shared/services/entity-service.class';
|
|
9
7
|
import { ShowToastOptions } from '../../shared/toast/toasts';
|
|
10
8
|
import { OverlayEventDetail } from '@ionic/core';
|
|
11
9
|
import { ToastController } from '@ionic/angular';
|
|
@@ -13,90 +11,64 @@ import { TranslateService } from '@ngx-translate/core';
|
|
|
13
11
|
import { NetworkService } from '../../core/services/network.service';
|
|
14
12
|
import { BaseGraphqlService } from '../../core/services/base-graphql-service.class';
|
|
15
13
|
import { Environment } from '../../../environments/environment.class';
|
|
16
|
-
|
|
14
|
+
import { EntityFilter } from '../../core/services/model/filter.model';
|
|
15
|
+
export declare class UserEventFilter extends EntityFilter<UserEventFilter, UserEvent> {
|
|
16
|
+
static fromObject: (source: any, opts?: any) => UserEventFilter;
|
|
17
|
+
issuer: string;
|
|
18
|
+
recipient: string;
|
|
19
|
+
fromObject(source: any, opts?: any): void;
|
|
20
|
+
protected buildFilter(): FilterFn<UserEvent>[];
|
|
21
|
+
}
|
|
17
22
|
export declare interface UserEventWatchOptions extends EntitiesServiceWatchOptions {
|
|
18
23
|
withContent?: boolean;
|
|
19
24
|
}
|
|
20
|
-
export interface
|
|
21
|
-
|
|
22
|
-
loadAllWithContent: any;
|
|
23
|
-
count?: any;
|
|
24
|
-
}
|
|
25
|
-
export interface IUserEventMutations {
|
|
26
|
-
save: any;
|
|
27
|
-
deleteByIds: any;
|
|
28
|
-
}
|
|
29
|
-
export interface IUserEventSubscriptions {
|
|
30
|
-
listenChanges: any;
|
|
31
|
-
}
|
|
32
|
-
export interface IUserEventListener<E extends IUserEvent<E>> {
|
|
33
|
-
accept: (E: any) => boolean;
|
|
34
|
-
onReceived?: (E: any) => E | undefined;
|
|
35
|
-
onRead?: (E: any) => Promise<void> | void;
|
|
36
|
-
}
|
|
37
|
-
export interface IUserEventService<E extends IUserEvent<E>, F extends IUserEventFilter<E>, WO extends UserEventWatchOptions = UserEventWatchOptions> extends IEntitiesService<E, F, WO> {
|
|
38
|
-
userEventCount: Observable<number>;
|
|
39
|
-
add(entity: E): any;
|
|
40
|
-
count(filter: Partial<F>, options?: {
|
|
41
|
-
fetchPolicy?: FetchPolicy;
|
|
42
|
-
}): Promise<number>;
|
|
43
|
-
listenChanges(filter: Partial<F>, options?: WO & {
|
|
44
|
-
interval?: number;
|
|
45
|
-
fetchPolicy?: FetchPolicy;
|
|
46
|
-
}): Observable<E[]>;
|
|
47
|
-
save(entity: E, options?: EntityServiceLoadOptions): Promise<E>;
|
|
48
|
-
delete(entity: E): Promise<any>;
|
|
49
|
-
markAsRead(entity: E): any;
|
|
50
|
-
}
|
|
51
|
-
export declare abstract class AbstractUserEventService<E extends IUserEvent<E, any>, F extends IUserEventFilter<E, any>, WO extends UserEventWatchOptions = UserEventWatchOptions> extends BaseGraphqlService<E, F> implements IUserEventService<E, F, WO>, OnDestroy {
|
|
52
|
-
protected graphql: GraphqlService;
|
|
53
|
-
protected accountService: AccountService;
|
|
54
|
-
protected network: NetworkService;
|
|
55
|
-
protected translate: TranslateService;
|
|
56
|
-
protected queries: IUserEventQueries;
|
|
57
|
-
protected mutations: IUserEventMutations;
|
|
58
|
-
protected subscriptions: IUserEventSubscriptions;
|
|
59
|
-
protected environment: Environment;
|
|
60
|
-
private _count$;
|
|
61
|
-
protected _subscriptions: Subscription;
|
|
62
|
-
protected listeners: IUserEventListener<E>[];
|
|
63
|
-
get userEventCount(): Observable<number>;
|
|
64
|
-
protected constructor(graphql: GraphqlService, accountService: AccountService, network: NetworkService, translate: TranslateService, queries: IUserEventQueries, mutations: IUserEventMutations, subscriptions: IUserEventSubscriptions, environment: Environment);
|
|
65
|
-
ngOnDestroy(): void;
|
|
66
|
-
abstract asFilter(filter: Partial<F>): F;
|
|
67
|
-
abstract fromObject(source: any): E;
|
|
68
|
-
watchAll(offset: number, size: number, sortBy?: string, sortDirection?: SortDirection, filter?: Partial<F>, options?: WO): Observable<LoadResult<E>>;
|
|
69
|
-
watchPage(page: Page, filter?: Partial<F>, options?: WO): Observable<LoadResult<E>>;
|
|
70
|
-
add(entity: E): void;
|
|
71
|
-
count(filter: Partial<F>, options?: {
|
|
72
|
-
fetchPolicy?: FetchPolicy;
|
|
73
|
-
}): Promise<number>;
|
|
74
|
-
listenChanges(filter: Partial<F>, options?: WO & {
|
|
75
|
-
interval?: number;
|
|
76
|
-
fetchPolicy?: FetchPolicy;
|
|
77
|
-
}): Observable<E[]>;
|
|
78
|
-
delete(entity: E): Promise<any>;
|
|
79
|
-
deleteAll(entities: E[], opts?: any): Promise<any>;
|
|
80
|
-
save(entity: E, options?: EntityServiceLoadOptions): Promise<E>;
|
|
81
|
-
saveAll(data: E[], opts?: any): Promise<E[]>;
|
|
82
|
-
markAsRead(entity: E): Promise<void>;
|
|
83
|
-
registerListener(listener: IUserEventListener<E>): void;
|
|
84
|
-
protected processUserEvent(source: any): E;
|
|
85
|
-
protected defaultMarkAsRead(userEvent: E): Promise<void>;
|
|
86
|
-
protected defaultFilter(): F;
|
|
87
|
-
protected defaultRecipient(): any;
|
|
88
|
-
protected fillDefaultProperties(entity: E): void;
|
|
89
|
-
protected unreadEvents(events: E[]): number;
|
|
90
|
-
protected copyIdAndUpdateDate(source: E, target: E): void;
|
|
25
|
+
export interface UserEventActionDefinition extends UserEventAction<any> {
|
|
26
|
+
__typename: string;
|
|
91
27
|
}
|
|
92
|
-
export declare class UserEventService extends
|
|
28
|
+
export declare class UserEventService extends BaseGraphqlService<UserEvent, UserEventFilter> implements IEntitiesService<UserEvent, UserEventFilter, UserEventWatchOptions> {
|
|
93
29
|
protected graphql: GraphqlService;
|
|
94
30
|
protected accountService: AccountService;
|
|
95
31
|
protected network: NetworkService;
|
|
96
32
|
protected translate: TranslateService;
|
|
97
33
|
protected toastController: ToastController;
|
|
98
34
|
protected environment: Environment;
|
|
35
|
+
private _userEventActions;
|
|
99
36
|
constructor(graphql: GraphqlService, accountService: AccountService, network: NetworkService, translate: TranslateService, toastController: ToastController, environment: Environment);
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @param offset
|
|
40
|
+
* @param size
|
|
41
|
+
* @param sortBy
|
|
42
|
+
* @param sortDirection
|
|
43
|
+
* @param filter
|
|
44
|
+
* @param options
|
|
45
|
+
* @deprecated use watchPage() instead
|
|
46
|
+
*/
|
|
47
|
+
watchAll(offset: number, size: number, sortBy?: string, sortDirection?: SortDirection, filter?: UserEventFilter, options?: UserEventWatchOptions): Observable<LoadResult<UserEvent>>;
|
|
48
|
+
watchPage(page: Page, filter?: Partial<UserEventFilter>, options?: UserEventWatchOptions): Observable<LoadResult<UserEvent>>;
|
|
49
|
+
saveAll(data: UserEvent[], options?: any): Promise<UserEvent[]>;
|
|
50
|
+
/**
|
|
51
|
+
* Save a userEvent entity
|
|
52
|
+
*
|
|
53
|
+
* @param entity
|
|
54
|
+
*/
|
|
55
|
+
save(entity: UserEvent, options?: EntityServiceLoadOptions): Promise<UserEvent>;
|
|
56
|
+
/**
|
|
57
|
+
* Save many trips
|
|
58
|
+
*
|
|
59
|
+
* @param entities
|
|
60
|
+
* @param opts
|
|
61
|
+
*/
|
|
62
|
+
deleteAll(entities: UserEvent[], opts?: {
|
|
63
|
+
trash?: boolean;
|
|
64
|
+
}): Promise<any>;
|
|
65
|
+
/**
|
|
66
|
+
* Delete userEvent entities
|
|
67
|
+
*/
|
|
68
|
+
delete(data: UserEvent): Promise<any>;
|
|
69
|
+
listenChanges(id: number, options?: any): Observable<UserEvent | undefined>;
|
|
70
|
+
registerAction(definition: UserEventActionDefinition): void;
|
|
71
|
+
getActionsByTypename(typename: string): UserEventAction<any>[];
|
|
100
72
|
showToastErrorWithContext(opts: {
|
|
101
73
|
error?: any;
|
|
102
74
|
message?: string;
|
|
@@ -104,8 +76,8 @@ export declare class UserEventService extends AbstractUserEventService<UserEvent
|
|
|
104
76
|
}): Promise<void>;
|
|
105
77
|
sendDataForDebug(data: any): Promise<UserEvent>;
|
|
106
78
|
asFilter(filter: Partial<UserEventFilter>): UserEventFilter;
|
|
107
|
-
fromObject(source: any): UserEvent;
|
|
108
79
|
protected convertObjectToString(data: any): string;
|
|
109
80
|
protected showToast<T = any>(opts: ShowToastOptions): Promise<OverlayEventDetail<T>>;
|
|
110
81
|
protected fillDefaultProperties(entity: UserEvent): void;
|
|
82
|
+
protected copyIdAndUpdateDate(source: UserEvent, target: UserEvent): void;
|
|
111
83
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ChangeDetectorRef, Injector, OnInit } from '@angular/core';
|
|
2
2
|
import { TableElement } from '@e-is/ngx-material-table';
|
|
3
|
-
import {
|
|
3
|
+
import { UserEventFilter, UserEventService } from './user-event.service';
|
|
4
4
|
import { AccountService } from '../../core/services/account.service';
|
|
5
|
-
import { UserEvent, UserEventAction
|
|
5
|
+
import { UserEvent, UserEventAction } from './user-event.model';
|
|
6
6
|
import { Moment } from 'moment';
|
|
7
7
|
import { AppTable } from '../../core/table/table.class';
|
|
8
8
|
import { SortDirection } from '@angular/material/sort';
|
|
@@ -35,7 +35,7 @@ export interface UserEventIcon {
|
|
|
35
35
|
}
|
|
36
36
|
export declare class UserEventsTable extends AppTable<UserEvent, UserEventFilter> implements OnInit {
|
|
37
37
|
protected accountService: AccountService;
|
|
38
|
-
protected service:
|
|
38
|
+
protected service: UserEventService;
|
|
39
39
|
protected entities: EntitiesStorage;
|
|
40
40
|
protected cd: ChangeDetectorRef;
|
|
41
41
|
protected environment: any;
|
|
@@ -47,12 +47,12 @@ export declare class UserEventsTable extends AppTable<UserEvent, UserEventFilter
|
|
|
47
47
|
withContent: boolean;
|
|
48
48
|
defaultSortBy: string;
|
|
49
49
|
defaultSortDirection: SortDirection;
|
|
50
|
-
constructor(injector: Injector, accountService: AccountService, service:
|
|
50
|
+
constructor(injector: Injector, accountService: AccountService, service: UserEventService, entities: EntitiesStorage, cd: ChangeDetectorRef, environment: any);
|
|
51
51
|
ngOnInit(): void;
|
|
52
52
|
start(): Promise<void>;
|
|
53
53
|
getIcon(source: UserEvent): UserEventIcon;
|
|
54
54
|
getDetail(source: UserEvent): Partial<UserEventDetail<IEntity<any>> & {
|
|
55
|
-
actions: UserEventAction[];
|
|
55
|
+
actions: UserEventAction<any>[];
|
|
56
56
|
}>;
|
|
57
|
-
doAction(action: UserEventAction
|
|
57
|
+
doAction(action: UserEventAction<any>, row: TableElement<UserEvent>): Promise<void>;
|
|
58
58
|
}
|
|
@@ -387,10 +387,6 @@
|
|
|
387
387
|
},
|
|
388
388
|
"SOCIAL": {
|
|
389
389
|
"USER_EVENT": {
|
|
390
|
-
"NOTIFICATION": {
|
|
391
|
-
"TITLE": "Notifications",
|
|
392
|
-
"EMPTY": "No notification"
|
|
393
|
-
},
|
|
394
390
|
"EVENT_TYPE": "Type",
|
|
395
391
|
"CREATION_DATE": "Date/Time",
|
|
396
392
|
"MESSAGE": "Message",
|
|
@@ -404,12 +400,6 @@
|
|
|
404
400
|
"FEED": "Feed"
|
|
405
401
|
}
|
|
406
402
|
},
|
|
407
|
-
"JOB": {
|
|
408
|
-
"PROGRESSION": {
|
|
409
|
-
"TITLE": "Running tasks",
|
|
410
|
-
"EMPTY": "No running task"
|
|
411
|
-
}
|
|
412
|
-
},
|
|
413
403
|
"MESSAGE": {
|
|
414
404
|
"TYPE": "Message type",
|
|
415
405
|
"RECIPIENTS": "Recipients",
|
|
@@ -426,11 +416,8 @@
|
|
|
426
416
|
},
|
|
427
417
|
"ERROR": {
|
|
428
418
|
"LOAD_USER_EVENTS_ERROR": "Error while loading notifications",
|
|
429
|
-
"COUNT_USER_EVENT_ERROR": "Error while counting notifications",
|
|
430
419
|
"SAVE_USER_EVENT_ERROR": "Error while saving user notification",
|
|
431
|
-
"
|
|
432
|
-
"SEND_MESSAGE_ERROR": "Error while sending message",
|
|
433
|
-
"SUBSCRIBE_JOB_PROGRESSION_ERROR": "Error while listening job progression changes"
|
|
420
|
+
"SEND_MESSAGE_ERROR": "Error while sending message"
|
|
434
421
|
},
|
|
435
422
|
"INFO": {
|
|
436
423
|
"MESSAGE_SENT": "Message <b>sent</b>"
|
|
@@ -519,7 +506,7 @@
|
|
|
519
506
|
"SAVE_ENTITY_ERROR": "Error while saving",
|
|
520
507
|
"SAVE_ENTITIES_ERROR": "Error while saving the list",
|
|
521
508
|
"DELETE_ENTITY_ERROR": "Error while deleting. <small><br/>If the problem persists, please contact your administrator.</small>",
|
|
522
|
-
"SUBSCRIBE_ENTITY_ERROR": "Error while subscribing to
|
|
509
|
+
"SUBSCRIBE_ENTITY_ERROR": "Error while subscribing to remte changes",
|
|
523
510
|
"CONTROL_ENTITY_ERROR": "Error while checking data validity",
|
|
524
511
|
"TERMINATE_ENTITY_ERROR": "Cannot terminate entry. <small><br/>If the problem persists, please contact your administrator.</small>",
|
|
525
512
|
"VALIDATE_ENTITY_ERROR": "Error when validating data",
|
package/src/assets/i18n/en.json
CHANGED
|
@@ -387,10 +387,6 @@
|
|
|
387
387
|
},
|
|
388
388
|
"SOCIAL": {
|
|
389
389
|
"USER_EVENT": {
|
|
390
|
-
"NOTIFICATION": {
|
|
391
|
-
"TITLE": "Notifications",
|
|
392
|
-
"EMPTY": "No notification"
|
|
393
|
-
},
|
|
394
390
|
"EVENT_TYPE": "Type",
|
|
395
391
|
"CREATION_DATE": "Date/Time",
|
|
396
392
|
"MESSAGE": "Message",
|
|
@@ -404,12 +400,6 @@
|
|
|
404
400
|
"FEED": "Feed"
|
|
405
401
|
}
|
|
406
402
|
},
|
|
407
|
-
"JOB": {
|
|
408
|
-
"PROGRESSION": {
|
|
409
|
-
"TITLE": "Running tasks",
|
|
410
|
-
"EMPTY": "No running task"
|
|
411
|
-
}
|
|
412
|
-
},
|
|
413
403
|
"MESSAGE": {
|
|
414
404
|
"TYPE": "Message type",
|
|
415
405
|
"RECIPIENTS": "Recipients",
|
|
@@ -426,11 +416,8 @@
|
|
|
426
416
|
},
|
|
427
417
|
"ERROR": {
|
|
428
418
|
"LOAD_USER_EVENTS_ERROR": "Error while loading notifications",
|
|
429
|
-
"COUNT_USER_EVENT_ERROR": "Error while counting notifications",
|
|
430
419
|
"SAVE_USER_EVENT_ERROR": "Error while saving user notification",
|
|
431
|
-
"
|
|
432
|
-
"SEND_MESSAGE_ERROR": "Error while sending message",
|
|
433
|
-
"SUBSCRIBE_JOB_PROGRESSION_ERROR": "Error while listening job progression changes"
|
|
420
|
+
"SEND_MESSAGE_ERROR": "Error while sending message"
|
|
434
421
|
},
|
|
435
422
|
"INFO": {
|
|
436
423
|
"MESSAGE_SENT": "Message <b>sent</b>"
|
|
@@ -519,7 +506,7 @@
|
|
|
519
506
|
"SAVE_ENTITY_ERROR": "Error while saving",
|
|
520
507
|
"SAVE_ENTITIES_ERROR": "Error while saving the list",
|
|
521
508
|
"DELETE_ENTITY_ERROR": "Error while deleting. <small><br/>If the problem persists, please contact your administrator.</small>",
|
|
522
|
-
"SUBSCRIBE_ENTITY_ERROR": "Error while subscribing to
|
|
509
|
+
"SUBSCRIBE_ENTITY_ERROR": "Error while subscribing to remte changes",
|
|
523
510
|
"CONTROL_ENTITY_ERROR": "Error while checking data validity",
|
|
524
511
|
"TERMINATE_ENTITY_ERROR": "Cannot terminate entry. <small><br/>If the problem persists, please contact your administrator.</small>",
|
|
525
512
|
"VALIDATE_ENTITY_ERROR": "Error when validating data",
|
package/src/assets/i18n/fr.json
CHANGED
|
@@ -390,10 +390,6 @@
|
|
|
390
390
|
},
|
|
391
391
|
"SOCIAL": {
|
|
392
392
|
"USER_EVENT": {
|
|
393
|
-
"NOTIFICATION": {
|
|
394
|
-
"TITLE": "Notifications",
|
|
395
|
-
"EMPTY": "Aucune notification"
|
|
396
|
-
},
|
|
397
393
|
"EVENT_TYPE": "Type",
|
|
398
394
|
"CREATION_DATE": "Date/Heure",
|
|
399
395
|
"MESSAGE": "Message",
|
|
@@ -407,12 +403,6 @@
|
|
|
407
403
|
"FEED": "Actualité"
|
|
408
404
|
}
|
|
409
405
|
},
|
|
410
|
-
"JOB": {
|
|
411
|
-
"PROGRESSION": {
|
|
412
|
-
"TITLE": "Liste des tâches en cours",
|
|
413
|
-
"EMPTY": "Aucune tâche en cours"
|
|
414
|
-
}
|
|
415
|
-
},
|
|
416
406
|
"MESSAGE": {
|
|
417
407
|
"TYPE": "Type d'envoi",
|
|
418
408
|
"RECIPIENTS": "Destinataires",
|
|
@@ -429,11 +419,8 @@
|
|
|
429
419
|
},
|
|
430
420
|
"ERROR": {
|
|
431
421
|
"LOAD_USER_EVENTS_ERROR": "Erreur de chargement des notifications",
|
|
432
|
-
"COUNT_USER_EVENT_ERROR": "Erreur de comptage des notifications",
|
|
433
422
|
"SAVE_USER_EVENT_ERROR": "Erreur de sauvegarde de la notification",
|
|
434
|
-
"
|
|
435
|
-
"SEND_MESSAGE_ERROR": "Erreur lors de l'envoi du message",
|
|
436
|
-
"SUBSCRIBE_JOB_PROGRESSION_ERROR": "Erreur lors de l'abonnement à la progression de tâche"
|
|
423
|
+
"SEND_MESSAGE_ERROR": "Erreur lors de l'envoi du message"
|
|
437
424
|
},
|
|
438
425
|
"INFO": {
|
|
439
426
|
"MESSAGE_SENT": "Message <b>envoyé</b>"
|
|
@@ -326,16 +326,10 @@ mat-option:not(:last-of-type) {
|
|
|
326
326
|
margin-left: 8px;
|
|
327
327
|
}
|
|
328
328
|
}
|
|
329
|
-
|
|
330
|
-
ion-list,
|
|
331
329
|
.mat-select-panel,
|
|
332
330
|
.mat-menu-panel,
|
|
333
331
|
.mat-autocomplete-panel {
|
|
334
332
|
|
|
335
|
-
&.ion-list-popover {
|
|
336
|
-
padding: 0 !important;
|
|
337
|
-
}
|
|
338
|
-
|
|
339
333
|
/* Avoid bad display, when opening panel for the first time */
|
|
340
334
|
&.ng-trigger-transformPanel {
|
|
341
335
|
ion-searchbar.mat-select-header,
|
|
@@ -369,7 +363,6 @@ ion-list,
|
|
|
369
363
|
}
|
|
370
364
|
}
|
|
371
365
|
|
|
372
|
-
ion-row.ion-list-header,
|
|
373
366
|
ion-row.mat-select-header,
|
|
374
367
|
ion-row.mat-menu-header,
|
|
375
368
|
ion-row.mat-autocomplete-header {
|
|
@@ -10,12 +10,10 @@ export { AccountValidatorService as ɵe } from './src/app/core/services/validato
|
|
|
10
10
|
export { LocalSettingsValidatorService as ɵh } from './src/app/core/services/validator/local-settings.validator';
|
|
11
11
|
export { UserSettingsValidatorService as ɵg } from './src/app/core/services/validator/user-settings.validator';
|
|
12
12
|
export { isFocusableElement as ɵc } from './src/app/shared/focusable';
|
|
13
|
-
export { MatBadgeIconTestPage as
|
|
14
|
-
export { DateTestPage as
|
|
13
|
+
export { MatBadgeIconTestPage as ɵm } from './src/app/shared/material/badge/badge-icon.test';
|
|
14
|
+
export { DateTestPage as ɵk } from './src/app/shared/material/datetime/testing/mat-date.test';
|
|
15
15
|
export { MatNumpadDomService as ɵb } from './src/app/shared/material/numpad/numpad.dom-service';
|
|
16
|
-
export { NumpadTestPage as
|
|
16
|
+
export { NumpadTestPage as ɵl } from './src/app/shared/material/numpad/testing/numpad.test';
|
|
17
17
|
export { CustomReuseStrategy as ɵa } from './src/app/shared/shared-routing.module';
|
|
18
|
-
export { ToastTestingPage as
|
|
19
|
-
export { ToastTestingModule as
|
|
20
|
-
export { JobProgressionList as ɵl } from './src/app/social/job/progression/job-progression.list';
|
|
21
|
-
export { UserEventNotificationList as ɵk } from './src/app/social/user-event/notification/user-event-notification.list';
|
|
18
|
+
export { ToastTestingPage as ɵo } from './src/app/shared/toast/toast.testing';
|
|
19
|
+
export { ToastTestingModule as ɵn } from './src/app/shared/toast/toast.testing.module';
|