@sumaris-net/ngx-components 2.12.16-rc2 → 2.12.16-rc3

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 (55) hide show
  1. package/esm2022/public_api.mjs +5 -1
  2. package/esm2022/src/app/admin/users/users.mjs +3 -3
  3. package/esm2022/src/app/core/account/account.module.mjs +17 -4
  4. package/esm2022/src/app/core/account/account.page.mjs +14 -5
  5. package/esm2022/src/app/core/account/password/change-password.form.mjs +60 -0
  6. package/esm2022/src/app/core/account/password/change-password.module.mjs +22 -0
  7. package/esm2022/src/app/core/account/password/change-password.page.mjs +144 -0
  8. package/esm2022/src/app/core/auth/auth.form.mjs +41 -22
  9. package/esm2022/src/app/core/auth/auth.module.mjs +14 -5
  10. package/esm2022/src/app/core/auth/reset-password.modal.mjs +77 -0
  11. package/esm2022/src/app/core/core.module.mjs +5 -1
  12. package/esm2022/src/app/core/form/form.module.mjs +7 -3
  13. package/esm2022/src/app/core/form/username/username.form.mjs +52 -0
  14. package/esm2022/src/app/core/form/username/username.module.mjs +20 -0
  15. package/esm2022/src/app/core/home/home.mjs +23 -9
  16. package/esm2022/src/app/core/register/register-confirm.page.mjs +10 -8
  17. package/esm2022/src/app/core/register/register.form.mjs +3 -3
  18. package/esm2022/src/app/core/services/account.service.mjs +96 -12
  19. package/esm2022/src/app/core/services/config/core.config.mjs +7 -1
  20. package/esm2022/src/app/core/services/errors.mjs +2 -1
  21. package/esm2022/src/app/core/settings/settings.page.mjs +3 -3
  22. package/esm2022/src/app/shared/material/autocomplete/material.autocomplete.mjs +47 -68
  23. package/esm2022/src/app/shared/material/autocomplete/testing/autocomplete.test.mjs +3 -3
  24. package/esm2022/src/app/shared/pipes/highlight.pipe.mjs +2 -2
  25. package/esm2022/src/app/shared/toolbar/toolbar.mjs +13 -8
  26. package/esm2022/src/app/shared/validator/validators.mjs +13 -1
  27. package/esm2022/src/environments/environment.mjs +12 -6
  28. package/fesm2022/sumaris-net.ngx-components.mjs +703 -231
  29. package/fesm2022/sumaris-net.ngx-components.mjs.map +1 -1
  30. package/package.json +5 -4
  31. package/public_api.d.ts +4 -0
  32. package/src/app/core/account/account.module.d.ts +2 -1
  33. package/src/app/core/account/account.page.d.ts +23 -14
  34. package/src/app/core/account/password/change-password.form.d.ts +19 -0
  35. package/src/app/core/account/password/change-password.module.d.ts +11 -0
  36. package/src/app/core/account/password/change-password.page.d.ts +36 -0
  37. package/src/app/core/auth/auth.form.d.ts +11 -9
  38. package/src/app/core/auth/auth.module.d.ts +6 -4
  39. package/src/app/core/auth/reset-password.modal.d.ts +26 -0
  40. package/src/app/core/core.module.d.ts +2 -1
  41. package/src/app/core/form/form.module.d.ts +2 -1
  42. package/src/app/core/form/username/username.form.d.ts +19 -0
  43. package/src/app/core/form/username/username.module.d.ts +9 -0
  44. package/src/app/core/home/home.d.ts +9 -1
  45. package/src/app/core/services/account.service.d.ts +8 -0
  46. package/src/app/core/services/config/core.config.d.ts +1 -0
  47. package/src/app/core/services/errors.d.ts +1 -0
  48. package/src/app/shared/toolbar/toolbar.d.ts +5 -0
  49. package/src/app/shared/validator/validators.d.ts +2 -0
  50. package/src/assets/i18n/en-US.json +13 -10
  51. package/src/assets/i18n/en.json +19 -11
  52. package/src/assets/i18n/fr.json +19 -8
  53. package/src/assets/manifest.json +1 -1
  54. package/src/theme/_ionic.globals.scss +1 -0
  55. package/src/theme/_mixins.scss +1 -0
@@ -65,7 +65,6 @@
65
65
  "BTN_DECIMAL_SEPARATOR": ",",
66
66
  "EMPTY_OPTION": "(Vide)",
67
67
  "All_OPTION": "(Tous)",
68
-
69
68
  "DATE_PATTERN": "DD/MM/YYYY",
70
69
  "DATE_TIME_PATTERN": "DD/MM/YYYY HH:mm",
71
70
  "DATE_TIME_SECONDS_PATTERN": "DD/MM/YYYY HH:mm:ss",
@@ -77,7 +76,6 @@
77
76
  "DATE_YEAR_PLACEHOLDER": "aaaa",
78
77
  "DATE_PLACEHOLDER": "jj/mm/aaaa",
79
78
  "DATE_TIME_PLACEHOLDER": "jj/mm/aaaa hh:mm",
80
-
81
79
  "LAT_LONG": {
82
80
  "DDMMSS_PLACEHOLDER": "DD° MM' SS\"",
83
81
  "DDMM_PLACEHOLDER": "DD° MM.MMM'",
@@ -92,9 +90,7 @@
92
90
  "LONG_SIGN_E": "E",
93
91
  "LONG_SIGN_W": "W"
94
92
  },
95
-
96
93
  "METADATA": "Metadata:",
97
-
98
94
  "DAY_UNIT": "j",
99
95
  "DATE": "Date",
100
96
  "TIME": "Heure",
@@ -103,11 +99,9 @@
103
99
  "TIME_PLACEHOLDER": "hh:mm",
104
100
  "DURATION_PLACEHOLDER": "hhh:mm",
105
101
  "DURATION_DOTS": "Durée :",
106
-
107
102
  "YES": "Oui",
108
103
  "NO": "Non",
109
104
  "DEBUG": "Debug",
110
-
111
105
  "UPDATED_ON": "Mise à jour le",
112
106
  "RECORDER": "Saisisseur",
113
107
  "RESULT_COUNT": "{{count}} résultats",
@@ -223,7 +217,6 @@
223
217
  "LOGOUT": "Se déconnecter",
224
218
  "ABOUT": "À propos",
225
219
  "BTN_MY_ACCOUNT": "Mon compte",
226
-
227
220
  "TRIPS": "Marées",
228
221
  "LOGBOOKS": "Logbooks",
229
222
  "OCCASIONS": "Sorties",
@@ -260,11 +253,22 @@
260
253
  "BTN_LOGIN": "Se connecter",
261
254
  "BTN_REGISTER": "Créer un compte",
262
255
  "NO_ACCOUNT_QUESTION": "Vous n'avez pas encore de compte ?",
256
+ "RESET_PASSWORD_QUESTION": "Vous n'avez plus accès à votre compte ?",
257
+ "BTN_RESET_PASSWORD": "Réinitialiser votre mot de passe",
263
258
  "OFFLINE_MODE": "Forcer le mode hors-ligne ?",
264
259
  "LOGOUT": {
265
260
  "CONFIRM_TITLE": "Confirmation",
266
261
  "CONFIRM_MESSAGE": "Êtes-vous sûr de vouloir vous déconnecter ?",
267
262
  "BTN_CONFIRM": "Oui, continuer"
263
+ },
264
+ "RESET_PASSWORD": {
265
+ "TITLE": "Réinitialisation du mot de passe",
266
+ "HELP": "Veuillez saisir votre identifiant de compte. Un <b>lien de récupération</b> vous sera ensuite envoyé par email :",
267
+ "BTN_SEND": "Envoyer la demande"
268
+ },
269
+ "CONFIRM": {
270
+ "RESET_PASSWORD_SENT": "Demande envoyée ! Vous devriez <b>recevoir un lien de récupération</b> par email.",
271
+ "PASSWORD_CHANGED": "Mot de passe mis à jour <b>avec succès</b> !"
268
272
  }
269
273
  },
270
274
  "REGISTER": {
@@ -329,6 +333,11 @@
329
333
  "VALUE": "Valeur"
330
334
  }
331
335
  },
336
+ "SECURITY": {
337
+ "TITLE": "Sécurité",
338
+ "PASSWORD": "Mot de passe",
339
+ "BTN_CHANGE_PASSWORD": "Changer le mot de passe"
340
+ },
332
341
  "TOKENS": {
333
342
  "TITLE": "Jetons",
334
343
  "DESCRIPTION": "Liste des jetons d'authentification",
@@ -365,7 +374,8 @@
365
374
  "RELOADED": "Votre compte utilisateur a été <b>actualisé</b> !"
366
375
  },
367
376
  "ERROR": {
368
- "SUBSCRIBE_ERROR": "Échec de l'abonnement distant au compte utilisateur."
377
+ "SUBSCRIBE_ERROR": "Échec de l'abonnement distant au compte utilisateur.",
378
+ "UPDATE_PUBKEY_ERROR": "Échec du changement du mot de passe.<br/><small>Si le problème persiste, veuillez <b>contactez votre administrateur</b>"
369
379
  }
370
380
  },
371
381
  "SETTINGS": {
@@ -589,6 +599,7 @@
589
599
  "FIELD_NOT_VALID_PATTERN": "Format incorrect",
590
600
  "FIELD_NOT_VALID_PUBKEY": "Clé publique invalide",
591
601
  "FIELD_NOT_UNIQUE": "Valeur déjà utilisée",
602
+ "FIELD_NOT_EQUALS": "Valeur différente",
592
603
  "SPACE_NOT_ALLOW": "Espaces ou caractères spéciaux non autorisés",
593
604
  "SCRYPT_ERROR": "Erreur de generation des clefs d'ouverture du compte",
594
605
  "INVALID_OR_INCOMPLETE_FILL": "Saisie incomplète ou invalide",
@@ -2,7 +2,7 @@
2
2
  "name": "ngx-sumaris-components",
3
3
  "short_name": "ngx-sumaris-components",
4
4
  "manifest_version": 1,
5
- "version": "2.12.16-rc1",
5
+ "version": "2.12.16-rc3",
6
6
  "default_locale": "fr",
7
7
  "description": "Angular components for building beautiful and responsive Apps",
8
8
  "icons": [{
@@ -68,6 +68,7 @@ $dark-disabled-text: rgba(black, 0.38);
68
68
  $light-primary-text: white;
69
69
  $light-secondary-text: rgba(white, 0.7);
70
70
  $light-disabled-text: rgba(white, 0.5);
71
+ $card-background-color: rgba(white, 0.7);
71
72
 
72
73
  // Default General Colors
73
74
  // --------------------------------------------------
@@ -114,6 +114,7 @@
114
114
  --ion-backdrop-color: #{$text-color};
115
115
  --ion-backdrop-color-rgb: #{$text-color-rgb};
116
116
  --ion-backdrop-opacity: 0.32;
117
+ --ion-card-background-color: #{$card-background-color};
117
118
 
118
119
  --expansion-panel-padding: var(--ion-padding);
119
120
  --expansion-panel-header-padding: var(--ion-padding);