@mistertemp/libs-front-shared 3.0.4 → 4.0.0-alpha.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.
Files changed (26) hide show
  1. package/package.json +10 -1
  2. package/src/components/Notifications/CustomerNotificationCenterClient.ts +195 -0
  3. package/src/components/Notifications/EmptyNotificationsList.tsx +33 -0
  4. package/src/components/Notifications/Notification.tsx +105 -0
  5. package/src/components/Notifications/NotificationContent.tsx +153 -0
  6. package/src/components/Notifications/Notifications.module.scss +345 -0
  7. package/src/components/Notifications/NotificationsBell.tsx +242 -0
  8. package/src/components/Notifications/NotificationsCenterContext.tsx +578 -0
  9. package/src/components/Notifications/NotificationsList.tsx +293 -0
  10. package/src/components/Notifications/PopupNotifications.module.scss +73 -0
  11. package/src/components/Notifications/PopupNotifications.tsx +42 -0
  12. package/src/components/Notifications/dateISOToString.ts +32 -0
  13. package/src/components/Notifications/index.ts +7 -0
  14. package/src/components/Notifications/types.ts +39 -0
  15. package/src/components/Notifications/useLiveNotifications.ts +122 -0
  16. package/src/components/index.ts +1 -0
  17. package/src/locales/es/date-picker.json +11 -0
  18. package/src/locales/es/notification-error.json +12 -0
  19. package/src/locales/es/notification-utils.json +7 -0
  20. package/src/locales/es/notification.json +17 -0
  21. package/src/locales/fr/notification-error.json +12 -0
  22. package/src/locales/fr/notification-utils.json +7 -0
  23. package/src/locales/fr/notification.json +17 -0
  24. package/src/locales/it/notification-error.json +12 -0
  25. package/src/locales/it/notification-utils.json +7 -0
  26. package/src/locales/it/notification.json +17 -0
@@ -0,0 +1,7 @@
1
+ {
2
+ "dateISOToString": {
3
+ "minutesAgo": "Il y a {{ value }} min",
4
+ "hoursAgo": "Il y a {{ value }} h",
5
+ "onDate": "Le {{ value }}"
6
+ }
7
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "notificationsPopover": {
3
+ "title": "Notifications",
4
+ "all": "Toutes",
5
+ "unread": "Non lues",
6
+ "read": "Lues",
7
+ "markAllAsRead": "Tout marquer comme lu",
8
+ "noNotifications": "Aucune notification disponible.",
9
+ "lastActivityWillDisplayHere": "Les dernières activités de vos candidats et clients s'afficheront ici.",
10
+ "showMore": "Voir plus",
11
+ "showLess": "Voir moins"
12
+ },
13
+ "notificationsExtended": {
14
+ "date": "Date",
15
+ "reinitFilters": "Réinitialiser"
16
+ }
17
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "common": {
3
+ "userNotAuthenticated": "Non hai effettuato l'accesso."
4
+ },
5
+ "notifications": {
6
+ "markNotificationAsRead": "Si è verificato un errore durante la marcatura della notifica come letta.",
7
+ "markAllNotificationAsRead": "Si è verificato un errore nel contrassegnare le notifiche come lette.",
8
+ "getNotificationList": "Si è verificato un errore durante il recupero delle notifiche.",
9
+ "getNotificationStatus": "Si è verificato un errore durante il recupero dello stato delle notifiche.",
10
+ "markAlertAsOpen": "Si è verificato un errore nel contrassegnare le notifiche come aperte."
11
+ }
12
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "dateISOToString": {
3
+ "minutesAgo": "{{ value }} minuti fa",
4
+ "hoursAgo": "{{ value }} ore fa",
5
+ "onDate": "{{ value }}"
6
+ }
7
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "notificationsPopover": {
3
+ "title": "Notifiche",
4
+ "all": "Tutti",
5
+ "unread": "Non letto",
6
+ "read": "Letto",
7
+ "markAllAsRead": "Contrassegnare tutto come letto",
8
+ "noNotifications": "Nessuna notifica disponibile.",
9
+ "lastActivityWillDisplayHere": "Qui vengono visualizzate le ultime attività dei vostri candidati e clienti.",
10
+ "showMore": "Mostra di più",
11
+ "showLess": "Vedi meno"
12
+ },
13
+ "notificationsExtended": {
14
+ "date": "Data",
15
+ "reinitFilters": "Reinizializzare"
16
+ }
17
+ }