@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.
Files changed (66) hide show
  1. package/bundles/sumaris-net.ngx-components.umd.js +1048 -301
  2. package/bundles/sumaris-net.ngx-components.umd.js.map +1 -1
  3. package/bundles/sumaris-net.ngx-components.umd.min.js +2 -2
  4. package/bundles/sumaris-net.ngx-components.umd.min.js.map +1 -1
  5. package/doc/changelog.md +0 -3
  6. package/esm2015/public_api.js +5 -3
  7. package/esm2015/src/app/core/icon/icon.component.js +5 -2
  8. package/esm2015/src/app/shared/functions.js +60 -1
  9. package/esm2015/src/app/shared/material/autocomplete/material.autocomplete.js +2 -3
  10. package/esm2015/src/app/shared/material/autocomplete/testing/autocomplete.test.js +2 -3
  11. package/esm2015/src/app/shared/material/chips/material.chips.js +2 -3
  12. package/esm2015/src/app/shared/material/chips/testing/chips.test.js +2 -3
  13. package/esm2015/src/app/shared/material/datetime/material.date.js +2 -3
  14. package/esm2015/src/app/shared/material/datetime/material.datetime.js +2 -3
  15. package/esm2015/src/app/shared/pipes/arrays.pipe.js +1 -1
  16. package/esm2015/src/app/shared/pipes/form.pipes.js +4 -2
  17. package/esm2015/src/app/shared/pipes/highlight.pipe.js +4 -4
  18. package/esm2015/src/app/shared/pipes/string.pipes.js +18 -7
  19. package/esm2015/src/app/shared/services/memory-entity-service.class.js +1 -13
  20. package/esm2015/src/app/shared/types.js +1 -1
  21. package/esm2015/src/app/social/job/job.model.js +24 -0
  22. package/esm2015/src/app/social/job/job.module.js +25 -0
  23. package/esm2015/src/app/social/job/job.service.js +54 -0
  24. package/esm2015/src/app/social/job/progression/job-progression.component.js +171 -0
  25. package/esm2015/src/app/social/job/progression/job-progression.list.js +20 -0
  26. package/esm2015/src/app/social/message/message.module.js +25 -0
  27. package/esm2015/src/app/social/social.errors.js +5 -2
  28. package/esm2015/src/app/social/social.module.js +8 -14
  29. package/esm2015/src/app/social/user-event/notification/user-event-notification.component.js +88 -0
  30. package/esm2015/src/app/social/user-event/notification/user-event-notification.list.js +39 -0
  31. package/esm2015/src/app/social/user-event/user-event.model.js +58 -2
  32. package/esm2015/src/app/social/user-event/user-event.module.js +28 -0
  33. package/esm2015/src/app/social/user-event/user-event.service.js +294 -166
  34. package/esm2015/src/app/social/user-event/user-events.table.js +17 -12
  35. package/esm2015/sumaris-net.ngx-components.js +11 -6
  36. package/fesm2015/sumaris-net.ngx-components.js +880 -266
  37. package/fesm2015/sumaris-net.ngx-components.js.map +1 -1
  38. package/package.json +2 -3
  39. package/public_api.d.ts +4 -2
  40. package/src/app/core/icon/icon.component.d.ts +4 -4
  41. package/src/app/shared/functions.d.ts +9 -0
  42. package/src/app/shared/material/badge/badge-icon.test.d.ts +1 -1
  43. package/src/app/shared/pipes/form.pipes.d.ts +2 -1
  44. package/src/app/shared/services/memory-entity-service.class.d.ts +0 -6
  45. package/src/app/shared/types.d.ts +4 -0
  46. package/src/app/social/job/job.model.d.ts +32 -0
  47. package/src/app/social/job/job.module.d.ts +2 -0
  48. package/src/app/social/job/job.service.d.ts +23 -0
  49. package/src/app/social/job/progression/job-progression.component.d.ts +34 -0
  50. package/src/app/social/job/progression/job-progression.list.d.ts +12 -0
  51. package/src/app/social/message/message.module.d.ts +2 -0
  52. package/src/app/social/social.errors.d.ts +3 -0
  53. package/src/app/social/user-event/notification/user-event-notification.component.d.ts +26 -0
  54. package/src/app/social/user-event/notification/user-event-notification.list.d.ts +20 -0
  55. package/src/app/social/user-event/user-event.model.d.ts +51 -6
  56. package/src/app/social/user-event/user-event.module.d.ts +2 -0
  57. package/src/app/social/user-event/user-event.service.d.ts +80 -51
  58. package/src/app/social/user-event/user-events.table.d.ts +6 -6
  59. package/src/assets/i18n/en-US.json +9 -2
  60. package/src/assets/i18n/en.json +9 -2
  61. package/src/assets/i18n/fr.json +8 -1
  62. package/src/theme/_ngx-components.scss +7 -0
  63. package/sumaris-net.ngx-components.d.ts +10 -5
  64. package/sumaris-net.ngx-components.metadata.json +1 -1
  65. package/esm2015/src/app/shared/services.js +0 -61
  66. package/src/app/shared/services.d.ts +0 -9
@@ -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
- "SEND_MESSAGE_ERROR": "Error while sending message"
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 remte changes",
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",
@@ -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
- "SEND_MESSAGE_ERROR": "Erreur lors de l'envoi du message"
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 ɵ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';
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 ɵl } from './src/app/shared/material/numpad/testing/numpad.test';
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 ɵo } from './src/app/shared/toast/toast.testing';
19
- export { ToastTestingModule as ɵn } from './src/app/shared/toast/toast.testing.module';
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';