@sumaris-net/ngx-components 2.5.14-rc1 → 2.5.14
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/esm2020/src/app/core/account/new-token.modal.mjs +10 -9
- package/fesm2015/sumaris-net.ngx-components.mjs +9 -7
- package/fesm2015/sumaris-net.ngx-components.mjs.map +1 -1
- package/fesm2020/sumaris-net.ngx-components.mjs +9 -7
- package/fesm2020/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +1 -1
- package/src/app/core/account/new-token.modal.d.ts +2 -2
- package/src/assets/i18n/en-US.json +5 -0
- package/src/assets/i18n/en.json +5 -0
- package/src/assets/i18n/fr.json +5 -0
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@ import { UntypedFormGroup } from '@angular/forms';
|
|
|
4
4
|
import { Injector, OnInit } from '@angular/core';
|
|
5
5
|
import { UserTokenValidatorService } from '../services/validator/user-token.validator';
|
|
6
6
|
import { TranslateService } from '@ngx-translate/core';
|
|
7
|
-
import {
|
|
7
|
+
import { MatAutocompleteFieldConfig } from '../../shared/material/autocomplete/material.autocomplete.config';
|
|
8
8
|
import { IAppForm } from '../form/form.utils';
|
|
9
9
|
import { AccountService } from '../services/account.service';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
@@ -19,7 +19,7 @@ export declare class NewTokenModal extends AppEntityEditorModal<UserToken> imple
|
|
|
19
19
|
protected accountService: AccountService;
|
|
20
20
|
tokenForm: UntypedFormGroup;
|
|
21
21
|
tokenAppForm: IAppForm;
|
|
22
|
-
|
|
22
|
+
tokenConfig: MatAutocompleteFieldConfig;
|
|
23
23
|
copiedLabel: string;
|
|
24
24
|
tokenScopes: TokenScope[];
|
|
25
25
|
existingNames: string[];
|
package/src/assets/i18n/en.json
CHANGED
package/src/assets/i18n/fr.json
CHANGED
|
@@ -294,6 +294,11 @@
|
|
|
294
294
|
"TOKENS": {
|
|
295
295
|
"TITLE": "Jetons",
|
|
296
296
|
"DESCRIPTION": "Liste des jetons d'authentification",
|
|
297
|
+
"SCOPES": {
|
|
298
|
+
"READ": "Lecture",
|
|
299
|
+
"WRITE": "Écriture",
|
|
300
|
+
"ADMIN": "Administration"
|
|
301
|
+
},
|
|
297
302
|
"TABLE": {
|
|
298
303
|
"NAME": "Nom",
|
|
299
304
|
"UNKNOWN": "Jeton inconnu",
|