@sumaris-net/ngx-components 1.20.32 → 1.21.0-beta1
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 +1048 -301
- 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 +0 -3
- package/esm2015/public_api.js +5 -3
- package/esm2015/src/app/core/icon/icon.component.js +5 -2
- package/esm2015/src/app/shared/functions.js +60 -1
- package/esm2015/src/app/shared/material/autocomplete/material.autocomplete.js +2 -3
- package/esm2015/src/app/shared/material/autocomplete/testing/autocomplete.test.js +2 -3
- package/esm2015/src/app/shared/material/chips/material.chips.js +2 -3
- package/esm2015/src/app/shared/material/chips/testing/chips.test.js +2 -3
- package/esm2015/src/app/shared/material/datetime/material.date.js +2 -3
- package/esm2015/src/app/shared/material/datetime/material.datetime.js +2 -3
- package/esm2015/src/app/shared/pipes/arrays.pipe.js +1 -1
- package/esm2015/src/app/shared/pipes/form.pipes.js +4 -2
- package/esm2015/src/app/shared/pipes/highlight.pipe.js +4 -4
- package/esm2015/src/app/shared/pipes/string.pipes.js +18 -7
- package/esm2015/src/app/shared/services/memory-entity-service.class.js +1 -13
- package/esm2015/src/app/shared/types.js +1 -1
- package/esm2015/src/app/social/job/job.model.js +24 -0
- package/esm2015/src/app/social/job/job.module.js +25 -0
- package/esm2015/src/app/social/job/job.service.js +54 -0
- package/esm2015/src/app/social/job/progression/job-progression.component.js +171 -0
- package/esm2015/src/app/social/job/progression/job-progression.list.js +20 -0
- package/esm2015/src/app/social/message/message.module.js +25 -0
- package/esm2015/src/app/social/social.errors.js +5 -2
- package/esm2015/src/app/social/social.module.js +8 -14
- package/esm2015/src/app/social/user-event/notification/user-event-notification.component.js +88 -0
- package/esm2015/src/app/social/user-event/notification/user-event-notification.list.js +39 -0
- package/esm2015/src/app/social/user-event/user-event.model.js +58 -2
- package/esm2015/src/app/social/user-event/user-event.module.js +28 -0
- package/esm2015/src/app/social/user-event/user-event.service.js +294 -166
- package/esm2015/src/app/social/user-event/user-events.table.js +17 -12
- package/esm2015/sumaris-net.ngx-components.js +11 -6
- package/fesm2015/sumaris-net.ngx-components.js +880 -266
- package/fesm2015/sumaris-net.ngx-components.js.map +1 -1
- package/package.json +2 -3
- package/public_api.d.ts +4 -2
- package/src/app/core/icon/icon.component.d.ts +4 -4
- package/src/app/shared/functions.d.ts +9 -0
- package/src/app/shared/material/badge/badge-icon.test.d.ts +1 -1
- package/src/app/shared/pipes/form.pipes.d.ts +2 -1
- package/src/app/shared/services/memory-entity-service.class.d.ts +0 -6
- package/src/app/shared/types.d.ts +4 -0
- package/src/app/social/job/job.model.d.ts +32 -0
- package/src/app/social/job/job.module.d.ts +2 -0
- package/src/app/social/job/job.service.d.ts +23 -0
- package/src/app/social/job/progression/job-progression.component.d.ts +34 -0
- package/src/app/social/job/progression/job-progression.list.d.ts +12 -0
- package/src/app/social/message/message.module.d.ts +2 -0
- package/src/app/social/social.errors.d.ts +3 -0
- package/src/app/social/user-event/notification/user-event-notification.component.d.ts +26 -0
- package/src/app/social/user-event/notification/user-event-notification.list.d.ts +20 -0
- package/src/app/social/user-event/user-event.model.d.ts +51 -6
- package/src/app/social/user-event/user-event.module.d.ts +2 -0
- package/src/app/social/user-event/user-event.service.d.ts +80 -51
- package/src/app/social/user-event/user-events.table.d.ts +6 -6
- package/src/assets/i18n/en-US.json +9 -2
- package/src/assets/i18n/en.json +9 -2
- package/src/assets/i18n/fr.json +8 -1
- package/src/theme/_ngx-components.scss +7 -0
- package/sumaris-net.ngx-components.d.ts +10 -5
- package/sumaris-net.ngx-components.metadata.json +1 -1
- package/esm2015/src/app/shared/services.js +0 -61
- package/src/app/shared/services.d.ts +0 -9
package/src/assets/i18n/en.json
CHANGED
|
@@ -387,6 +387,7 @@
|
|
|
387
387
|
},
|
|
388
388
|
"SOCIAL": {
|
|
389
389
|
"USER_EVENT": {
|
|
390
|
+
"TITLE": "Notifications",
|
|
390
391
|
"EVENT_TYPE": "Type",
|
|
391
392
|
"CREATION_DATE": "Date/Time",
|
|
392
393
|
"MESSAGE": "Message",
|
|
@@ -400,6 +401,9 @@
|
|
|
400
401
|
"FEED": "Feed"
|
|
401
402
|
}
|
|
402
403
|
},
|
|
404
|
+
"JOB_PROGRESSION": {
|
|
405
|
+
"TITLE": "Running tasks"
|
|
406
|
+
},
|
|
403
407
|
"MESSAGE": {
|
|
404
408
|
"TYPE": "Message type",
|
|
405
409
|
"RECIPIENTS": "Recipients",
|
|
@@ -416,8 +420,11 @@
|
|
|
416
420
|
},
|
|
417
421
|
"ERROR": {
|
|
418
422
|
"LOAD_USER_EVENTS_ERROR": "Error while loading notifications",
|
|
423
|
+
"COUNT_USER_EVENT_ERROR": "Error while counting notifications",
|
|
419
424
|
"SAVE_USER_EVENT_ERROR": "Error while saving user notification",
|
|
420
|
-
"
|
|
425
|
+
"SUBSCRIBE_USER_EVENTS_ERROR": "Error while listening user events changes",
|
|
426
|
+
"SEND_MESSAGE_ERROR": "Error while sending message",
|
|
427
|
+
"SUBSCRIBE_JOB_PROGRESSION_ERROR": "Error while listening job progression changes"
|
|
421
428
|
},
|
|
422
429
|
"INFO": {
|
|
423
430
|
"MESSAGE_SENT": "Message <b>sent</b>"
|
|
@@ -506,7 +513,7 @@
|
|
|
506
513
|
"SAVE_ENTITY_ERROR": "Error while saving",
|
|
507
514
|
"SAVE_ENTITIES_ERROR": "Error while saving the list",
|
|
508
515
|
"DELETE_ENTITY_ERROR": "Error while deleting. <small><br/>If the problem persists, please contact your administrator.</small>",
|
|
509
|
-
"SUBSCRIBE_ENTITY_ERROR": "Error while subscribing to
|
|
516
|
+
"SUBSCRIBE_ENTITY_ERROR": "Error while subscribing to remote changes",
|
|
510
517
|
"CONTROL_ENTITY_ERROR": "Error while checking data validity",
|
|
511
518
|
"TERMINATE_ENTITY_ERROR": "Cannot terminate entry. <small><br/>If the problem persists, please contact your administrator.</small>",
|
|
512
519
|
"VALIDATE_ENTITY_ERROR": "Error when validating data",
|
package/src/assets/i18n/fr.json
CHANGED
|
@@ -390,6 +390,7 @@
|
|
|
390
390
|
},
|
|
391
391
|
"SOCIAL": {
|
|
392
392
|
"USER_EVENT": {
|
|
393
|
+
"TITLE": "Notifications",
|
|
393
394
|
"EVENT_TYPE": "Type",
|
|
394
395
|
"CREATION_DATE": "Date/Heure",
|
|
395
396
|
"MESSAGE": "Message",
|
|
@@ -403,6 +404,9 @@
|
|
|
403
404
|
"FEED": "Actualité"
|
|
404
405
|
}
|
|
405
406
|
},
|
|
407
|
+
"JOB_PROGRESSION": {
|
|
408
|
+
"TITLE": "Liste des tâches en cours"
|
|
409
|
+
},
|
|
406
410
|
"MESSAGE": {
|
|
407
411
|
"TYPE": "Type d'envoi",
|
|
408
412
|
"RECIPIENTS": "Destinataires",
|
|
@@ -419,8 +423,11 @@
|
|
|
419
423
|
},
|
|
420
424
|
"ERROR": {
|
|
421
425
|
"LOAD_USER_EVENTS_ERROR": "Erreur de chargement des notifications",
|
|
426
|
+
"COUNT_USER_EVENT_ERROR": "Erreur de comptage des notifications",
|
|
422
427
|
"SAVE_USER_EVENT_ERROR": "Erreur de sauvegarde de la notification",
|
|
423
|
-
"
|
|
428
|
+
"SUBSCRIBE_USER_EVENTS_ERROR": "Erreur lors de l'abonnement aux notifications",
|
|
429
|
+
"SEND_MESSAGE_ERROR": "Erreur lors de l'envoi du message",
|
|
430
|
+
"SUBSCRIBE_JOB_PROGRESSION_ERROR": "Erreur lors de l'abonnement à la progression de tâche"
|
|
424
431
|
},
|
|
425
432
|
"INFO": {
|
|
426
433
|
"MESSAGE_SENT": "Message <b>envoyé</b>"
|
|
@@ -326,10 +326,16 @@ mat-option:not(:last-of-type) {
|
|
|
326
326
|
margin-left: 8px;
|
|
327
327
|
}
|
|
328
328
|
}
|
|
329
|
+
|
|
330
|
+
ion-list,
|
|
329
331
|
.mat-select-panel,
|
|
330
332
|
.mat-menu-panel,
|
|
331
333
|
.mat-autocomplete-panel {
|
|
332
334
|
|
|
335
|
+
&.ion-list-popover {
|
|
336
|
+
padding: 0 !important;
|
|
337
|
+
}
|
|
338
|
+
|
|
333
339
|
/* Avoid bad display, when opening panel for the first time */
|
|
334
340
|
&.ng-trigger-transformPanel {
|
|
335
341
|
ion-searchbar.mat-select-header,
|
|
@@ -363,6 +369,7 @@ mat-option:not(:last-of-type) {
|
|
|
363
369
|
}
|
|
364
370
|
}
|
|
365
371
|
|
|
372
|
+
ion-row.ion-list-header,
|
|
366
373
|
ion-row.mat-select-header,
|
|
367
374
|
ion-row.mat-menu-header,
|
|
368
375
|
ion-row.mat-autocomplete-header {
|
|
@@ -10,10 +10,15 @@ 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 ɵr } from './src/app/shared/material/badge/badge-icon.test';
|
|
14
|
+
export { DateTestPage as ɵp } 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 ɵq } 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
|
|
18
|
+
export { ToastTestingPage as ɵt } from './src/app/shared/toast/toast.testing';
|
|
19
|
+
export { ToastTestingModule as ɵs } from './src/app/shared/toast/toast.testing.module';
|
|
20
|
+
export { JobModule as ɵm } from './src/app/social/job/job.module';
|
|
21
|
+
export { JobProgressionList as ɵn } from './src/app/social/job/progression/job-progression.list';
|
|
22
|
+
export { MessageModule as ɵo } from './src/app/social/message/message.module';
|
|
23
|
+
export { UserEventNotificationList as ɵl } from './src/app/social/user-event/notification/user-event-notification.list';
|
|
24
|
+
export { UserEventModule as ɵk } from './src/app/social/user-event/user-event.module';
|