@sumaris-net/ngx-components 2.6.6-rc1 → 2.6.6-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.
- package/esm2020/src/app/admin/services/person.service.mjs +23 -22
- package/esm2020/src/app/admin/services/validator/person.validator.mjs +58 -21
- package/esm2020/src/app/admin/users/users.mjs +4 -6
- package/esm2020/src/app/core/account/account.page.mjs +7 -5
- package/esm2020/src/app/core/form/form.class.mjs +2 -2
- package/esm2020/src/app/core/graphql/graphql.service.mjs +14 -6
- package/esm2020/src/app/core/menu/menu.service.mjs +2 -2
- package/esm2020/src/app/core/register/register-confirm.page.mjs +2 -2
- package/esm2020/src/app/core/services/base-entity-service.class.mjs +43 -19
- package/esm2020/src/app/core/services/base-graphql-service.class.mjs +6 -2
- package/esm2020/src/app/core/services/config/core.config.mjs +9 -2
- package/esm2020/src/app/core/services/errors.mjs +2 -1
- package/esm2020/src/app/core/services/model/person.model.mjs +10 -1
- package/esm2020/src/app/core/services/validator/account.validator.mjs +26 -41
- package/esm2020/src/app/core/services/validator/base.validator.class.mjs +2 -2
- package/esm2020/src/app/core/settings/settings.page.mjs +2 -2
- package/esm2020/src/app/core/table/table.class.mjs +49 -49
- package/esm2020/src/app/core/table/testing/table.testing.mjs +2 -2
- package/esm2020/src/app/shared/constants.mjs +2 -1
- package/esm2020/src/app/shared/dates.mjs +3 -3
- package/esm2020/src/app/shared/help/help.modal.mjs +2 -2
- package/esm2020/src/app/shared/image/gallery/image-gallery.component.mjs +2 -2
- package/esm2020/src/app/shared/material/datetime/material.datetime.mjs +1 -1
- package/esm2020/src/app/shared/pipes/translate-context.pipe.mjs +1 -1
- package/esm2020/src/app/social/message/message.model.mjs +2 -3
- package/esm2020/src/app/social/user-event/testing/user-event.testing.mjs +7 -7
- package/fesm2015/sumaris-net.ngx-components.mjs +246 -180
- package/fesm2015/sumaris-net.ngx-components.mjs.map +1 -1
- package/fesm2020/sumaris-net.ngx-components.mjs +255 -180
- package/fesm2020/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +1 -1
- package/src/app/admin/services/validator/person.validator.d.ts +20 -11
- package/src/app/core/account/account.page.d.ts +3 -2
- package/src/app/core/graphql/graphql.service.d.ts +1 -1
- package/src/app/core/services/base-entity-service.class.d.ts +22 -3
- package/src/app/core/services/config/core.config.d.ts +1 -0
- package/src/app/core/services/errors.d.ts +1 -0
- package/src/app/core/services/model/person.model.d.ts +1 -0
- package/src/app/core/services/validator/account.validator.d.ts +16 -9
- package/src/app/core/services/validator/base.validator.class.d.ts +1 -1
- package/src/app/core/settings/settings.page.d.ts +1 -1
- package/src/app/core/table/table.class.d.ts +7 -7
- package/src/app/core/table/testing/table.testing.d.ts +1 -1
- package/src/app/shared/constants.d.ts +1 -0
- package/src/app/shared/help/help.modal.d.ts +1 -1
- package/src/app/shared/image/gallery/image-gallery.component.d.ts +1 -1
- package/src/app/shared/material/datetime/material.datetime.d.ts +2 -2
- package/src/assets/i18n/en-US.json +4 -0
- package/src/assets/i18n/en.json +4 -0
- package/src/assets/i18n/fr.json +3 -0
- package/src/assets/manifest.json +1 -1
package/package.json
CHANGED
|
@@ -1,14 +1,23 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { UntypedFormGroup, UntypedFormBuilder } from '@angular/forms';
|
|
1
|
+
import { UntypedFormBuilder, ValidatorFn } from '@angular/forms';
|
|
3
2
|
import { Person } from '../../../core/services/model/person.model';
|
|
4
|
-
import {
|
|
3
|
+
import { AccountService } from '../../../core/services/account.service';
|
|
4
|
+
import { FormFieldDefinition } from '../../../shared/form/field.model';
|
|
5
|
+
import { AppValidatorService } from '../../../core/services/validator/base.validator.class';
|
|
6
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
5
7
|
import * as i0 from "@angular/core";
|
|
6
|
-
export
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
8
|
+
export interface PersonValidatorOptions {
|
|
9
|
+
withAvatar?: boolean;
|
|
10
|
+
withUsername?: boolean;
|
|
11
|
+
withUsernameExtranet?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export declare class PersonValidatorService<T extends Person = Person, O extends PersonValidatorOptions = PersonValidatorOptions> extends AppValidatorService<T> {
|
|
14
|
+
protected accountService: AccountService;
|
|
15
|
+
constructor(formBuilder: UntypedFormBuilder, translate: TranslateService, accountService: AccountService);
|
|
16
|
+
getFormGroupConfig(data?: T, opts?: O): {
|
|
17
|
+
[key: string]: any;
|
|
18
|
+
};
|
|
19
|
+
getValidators(field: FormFieldDefinition): ValidatorFn | ValidatorFn[];
|
|
20
|
+
protected fillDefaultOptions(opts?: O): O;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PersonValidatorService<any, any>, never>;
|
|
22
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PersonValidatorService<any, any>>;
|
|
14
23
|
}
|
|
@@ -41,6 +41,7 @@ export declare class AccountPage extends AppForm<Account> implements OnInit, OnD
|
|
|
41
41
|
accountReadOnly: boolean;
|
|
42
42
|
readonly mobile: boolean;
|
|
43
43
|
get valid(): boolean;
|
|
44
|
+
protected authTokenEnabled: boolean;
|
|
44
45
|
constructor(injector: Injector, formBuilder: UntypedFormBuilder, accountService: AccountService, network: NetworkService, navController: NavController, validatorService: AccountValidatorService, configService: ConfigService, cd: ChangeDetectorRef, locales: any);
|
|
45
46
|
ngOnInit(): void;
|
|
46
47
|
ngOnDestroy(): void;
|
|
@@ -50,7 +51,7 @@ export declare class AccountPage extends AppForm<Account> implements OnInit, OnD
|
|
|
50
51
|
emitEvent?: boolean;
|
|
51
52
|
onlySelf?: boolean;
|
|
52
53
|
}): Promise<void>;
|
|
53
|
-
refresh(
|
|
54
|
+
refresh(_?: Event): Promise<Account>;
|
|
54
55
|
startListenChanges(): void;
|
|
55
56
|
stopListenChanges(): void;
|
|
56
57
|
sendConfirmationEmail(event: MouseEvent): Promise<boolean>;
|
|
@@ -61,7 +62,7 @@ export declare class AccountPage extends AppForm<Account> implements OnInit, OnD
|
|
|
61
62
|
emitEvent?: boolean;
|
|
62
63
|
}): void;
|
|
63
64
|
cancel(): Promise<void>;
|
|
64
|
-
close(
|
|
65
|
+
close(_?: Event): Promise<boolean>;
|
|
65
66
|
protected markForCheck(): void;
|
|
66
67
|
static ɵfac: i0.ɵɵFactoryDeclaration<AccountPage, never>;
|
|
67
68
|
static ɵcmp: i0.ɵɵComponentDeclaration<AccountPage, "app-account-page", never, {}, {}, never, never, false>;
|
|
@@ -105,7 +105,7 @@ export declare class GraphqlService extends StartableService<ApolloClient<any>>
|
|
|
105
105
|
data: T[];
|
|
106
106
|
equalsFn?: (d1: T, d2: T) => boolean;
|
|
107
107
|
sortFn?: (d1: T, d2: T) => number;
|
|
108
|
-
}):
|
|
108
|
+
}): number;
|
|
109
109
|
/**
|
|
110
110
|
* Remove from cache, and return if removed or not
|
|
111
111
|
*
|
|
@@ -30,7 +30,15 @@ export interface BaseEntityServiceOptions<T extends Entity<any, ID>, ID = number
|
|
|
30
30
|
queries: Q;
|
|
31
31
|
mutations?: Partial<M>;
|
|
32
32
|
subscriptions?: Partial<S>;
|
|
33
|
+
equals?: (e1: T, e2: T) => boolean;
|
|
34
|
+
/**
|
|
35
|
+
* @deprecated Use 'equals' instead
|
|
36
|
+
*/
|
|
33
37
|
equalsFn?: (e1: T, e2: T) => boolean;
|
|
38
|
+
isNew?: (e: T) => boolean;
|
|
39
|
+
/**
|
|
40
|
+
* @deprecated Use 'isNew' instead
|
|
41
|
+
*/
|
|
34
42
|
isNewFn?: (e: T) => boolean;
|
|
35
43
|
defaultSortBy?: keyof T;
|
|
36
44
|
defaultSortDirection?: SortDirection;
|
|
@@ -55,15 +63,15 @@ export declare abstract class BaseEntityService<T extends Entity<T, ID>, F exten
|
|
|
55
63
|
protected readonly queries: Q;
|
|
56
64
|
protected readonly mutations: Partial<M>;
|
|
57
65
|
protected readonly subscriptions: Partial<S>;
|
|
58
|
-
protected readonly
|
|
59
|
-
protected readonly
|
|
66
|
+
protected readonly _equalsFn: (e1: T, e2: T) => boolean;
|
|
67
|
+
protected readonly _isNewFn: (e: T) => boolean;
|
|
60
68
|
protected readonly defaultSortBy: keyof T;
|
|
61
69
|
protected readonly defaultSortDirection: SortDirection;
|
|
62
70
|
protected readonly watchQueriesUpdatePolicy: MutableWatchQueriesUpdatePolicy;
|
|
63
71
|
protected constructor(graphql: GraphqlService, platform: PlatformService, dataType: new () => T, filterType: new () => F, options: BaseEntityServiceOptions<T, ID, Q, M, S>);
|
|
64
72
|
watch(id: number, opts?: WO): Observable<T>;
|
|
65
73
|
load(id: ID, opts?: LO): Promise<T>;
|
|
66
|
-
watchAll(offset: number, size: number, sortBy?: string, sortDirection?: SortDirection,
|
|
74
|
+
watchAll(offset: number, size: number, sortBy?: string, sortDirection?: SortDirection, dataFilter?: F, opts?: WO): Observable<LoadResult<T>>;
|
|
67
75
|
loadAll(offset: number, size: number, sortBy?: string, sortDirection?: SortDirection, filter?: Partial<F>, opts?: LO & {
|
|
68
76
|
debug?: boolean;
|
|
69
77
|
}): Promise<LoadResult<T>>;
|
|
@@ -91,6 +99,17 @@ export declare abstract class BaseEntityService<T extends Entity<T, ID>, F exten
|
|
|
91
99
|
copyIdAndUpdateDate(source: T, target: T): void;
|
|
92
100
|
fromObject(source: any): T;
|
|
93
101
|
asFilter(source: any): F;
|
|
102
|
+
equals(d1: T, d2: T): boolean;
|
|
103
|
+
isNew(data: T): boolean;
|
|
104
|
+
/**
|
|
105
|
+
* @deprecated Use equals() instead
|
|
106
|
+
*/
|
|
107
|
+
equalsFn(d1: T, d2: T): boolean;
|
|
108
|
+
/**
|
|
109
|
+
* @deprecated Use isNew() instead
|
|
110
|
+
* @param data
|
|
111
|
+
*/
|
|
112
|
+
isNewFn(data: T): boolean;
|
|
94
113
|
protected ngOnStart(): Promise<void>;
|
|
95
114
|
protected fillDefaultProperties(source: T): void;
|
|
96
115
|
protected asObject(entity: T, opts?: EntityAsObjectOptions): any;
|
|
@@ -6,6 +6,7 @@ export declare const CORE_CONFIG_OPTIONS: Readonly<{
|
|
|
6
6
|
DEFAULT_LAT_LONG_FORMAT: FormFieldDefinition<string, import("../../../shared/form/field.model").FormFieldType, any>;
|
|
7
7
|
REGISTRATION_ENABLE: FormFieldDefinition<string, import("../../../shared/form/field.model").FormFieldType, any>;
|
|
8
8
|
AUTH_TOKEN_TYPE: FormFieldDefinition<string, import("../../../shared/form/field.model").FormFieldType, any>;
|
|
9
|
+
AUTH_TOKEN_ENABLED: FormFieldDefinition<string, import("../../../shared/form/field.model").FormFieldType, any>;
|
|
9
10
|
GRAVATAR_ENABLE: FormFieldDefinition<string, import("../../../shared/form/field.model").FormFieldType, any>;
|
|
10
11
|
GRAVATAR_URL: FormFieldDefinition<string, import("../../../shared/form/field.model").FormFieldType, any>;
|
|
11
12
|
TESTING: FormFieldDefinition<string, import("../../../shared/form/field.model").FormFieldType, any>;
|
|
@@ -21,6 +21,7 @@ export declare class Person<T extends Person<any> = Person<any>> extends Entity<
|
|
|
21
21
|
constructor(__typename?: string);
|
|
22
22
|
asObject(opts?: ReferentialAsObjectOptions): any;
|
|
23
23
|
fromObject(source: any): void;
|
|
24
|
+
equals(other: T): boolean;
|
|
24
25
|
}
|
|
25
26
|
export declare class PersonUtils {
|
|
26
27
|
static getMainProfile(profiles?: string[]): UserProfileLabel;
|
|
@@ -1,17 +1,24 @@
|
|
|
1
|
-
import { UntypedFormBuilder
|
|
1
|
+
import { UntypedFormBuilder } from '@angular/forms';
|
|
2
2
|
import { Account } from '../model/account.model';
|
|
3
3
|
import { AccountService } from '../account.service';
|
|
4
|
-
import { FormFieldDefinition } from '../../../shared/form/field.model';
|
|
5
|
-
import { AppValidatorService } from './base.validator.class';
|
|
6
4
|
import { UserSettingsValidatorService } from './user-settings.validator';
|
|
5
|
+
import { PersonValidatorOptions, PersonValidatorService } from '../../../admin/services/validator/person.validator';
|
|
6
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
|
-
export
|
|
8
|
+
export interface AccountValidatorOptions extends PersonValidatorOptions {
|
|
9
|
+
withSettings?: boolean;
|
|
10
|
+
withTokens?: boolean;
|
|
11
|
+
}
|
|
12
|
+
export declare class AccountValidatorService<T extends Account = Account, O extends AccountValidatorOptions = AccountValidatorOptions> extends PersonValidatorService<T, O> {
|
|
9
13
|
protected formBuilder: UntypedFormBuilder;
|
|
14
|
+
protected translate: TranslateService;
|
|
10
15
|
protected accountService: AccountService;
|
|
11
16
|
protected userSettingsValidatorService: UserSettingsValidatorService;
|
|
12
|
-
constructor(formBuilder: UntypedFormBuilder, accountService: AccountService, userSettingsValidatorService: UserSettingsValidatorService);
|
|
13
|
-
getFormGroupConfig(data?:
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
+
constructor(formBuilder: UntypedFormBuilder, translate: TranslateService, accountService: AccountService, userSettingsValidatorService: UserSettingsValidatorService);
|
|
18
|
+
getFormGroupConfig(data?: T, opts?: O): {
|
|
19
|
+
[key: string]: any[];
|
|
20
|
+
};
|
|
21
|
+
protected fillDefaultOptions(opts?: O): O;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AccountValidatorService<any, any>, never>;
|
|
23
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AccountValidatorService<any, any>>;
|
|
17
24
|
}
|
|
@@ -11,7 +11,7 @@ export declare abstract class AppValidatorService<T = any> extends ValidatorServ
|
|
|
11
11
|
getRowValidator(): UntypedFormGroup;
|
|
12
12
|
getFormGroup(data?: T): UntypedFormGroup;
|
|
13
13
|
getFormGroupConfig(data?: T): {
|
|
14
|
-
[key: string]: any;
|
|
14
|
+
[key: string]: any[];
|
|
15
15
|
};
|
|
16
16
|
getI18nFormErrors(control: AbstractControl): string[];
|
|
17
17
|
getI18nErrors(errors: FormErrors): string[];
|
|
@@ -57,7 +57,7 @@ export declare class SettingsPage extends AppForm<LocalSettings> implements OnIn
|
|
|
57
57
|
}): void;
|
|
58
58
|
showSelectPeerModal(opts?: Partial<ISelectPeerModalOptions>): Promise<void>;
|
|
59
59
|
cancel(event?: Event): Promise<void>;
|
|
60
|
-
close(
|
|
60
|
+
close(_?: Event): Promise<boolean>;
|
|
61
61
|
clearCache(event?: Event): Promise<void>;
|
|
62
62
|
executeAction(event: Event, item: IMenuItem): Promise<void>;
|
|
63
63
|
protected getValue(): Promise<LocalSettings>;
|
|
@@ -275,7 +275,7 @@ export declare abstract class AppTable<T extends IEntity<T, ID>, F = any, ID = n
|
|
|
275
275
|
moveRow(id: number, direction: number): void;
|
|
276
276
|
ready(opts?: WaitForOptions): Promise<void>;
|
|
277
277
|
waitIdle(opts?: WaitForOptions): Promise<void>;
|
|
278
|
-
openSelectColumnsModal(
|
|
278
|
+
openSelectColumnsModal(_?: Event): Promise<any>;
|
|
279
279
|
trackByFn(index: number, row: TableElement<T>): number;
|
|
280
280
|
doRefresh(event?: CompletableEvent): void;
|
|
281
281
|
getCurrentColumns(): ColumnItem[];
|
|
@@ -367,6 +367,12 @@ export declare abstract class AppTable<T extends IEntity<T, ID>, F = any, ID = n
|
|
|
367
367
|
}): void;
|
|
368
368
|
protected getPageSettings<T = any>(propertyName?: string): T;
|
|
369
369
|
protected savePageSettings(value: any, propertyName?: string): Promise<void>;
|
|
370
|
+
/**
|
|
371
|
+
* Initialize the permanent selection model
|
|
372
|
+
*
|
|
373
|
+
* @protected
|
|
374
|
+
*/
|
|
375
|
+
protected initPermanentSelection(): void;
|
|
370
376
|
private listenSortAndPaginationEvents;
|
|
371
377
|
private editRowById;
|
|
372
378
|
private setLoading;
|
|
@@ -379,12 +385,6 @@ export declare abstract class AppTable<T extends IEntity<T, ID>, F = any, ID = n
|
|
|
379
385
|
private listenDatasourceLoading;
|
|
380
386
|
private startCellValueChanges;
|
|
381
387
|
private stopCellValueChanges;
|
|
382
|
-
/**
|
|
383
|
-
* Initialize the permanent selection model
|
|
384
|
-
*
|
|
385
|
-
* @protected
|
|
386
|
-
*/
|
|
387
|
-
private initPermanentSelection;
|
|
388
388
|
static ɵfac: i0.ɵɵFactoryDeclaration<AppTable<any, any, any>, never>;
|
|
389
389
|
static ɵdir: i0.ɵɵDirectiveDeclaration<AppTable<any, any, any>, never, never, { "settingsId": "settingsId"; "debug": "debug"; "i18nColumnPrefix": "i18nColumnPrefix"; "i18nColumnSuffix": "i18nColumnSuffix"; "autoLoad": "autoLoad"; "readOnly": "readOnly"; "inlineEdition": "inlineEdition"; "focusFirstColumn": "focusFirstColumn"; "confirmBeforeDelete": "confirmBeforeDelete"; "confirmBeforeCancel": "confirmBeforeCancel"; "undoableDeletion": "undoableDeletion"; "saveBeforeDelete": "saveBeforeDelete"; "keepEditedRowOnSave": "keepEditedRowOnSave"; "saveBeforeSort": "saveBeforeSort"; "saveBeforeFilter": "saveBeforeFilter"; "propagateRowError": "propagateRowError"; "permanentSelectionAllowed": "permanentSelectionAllowed"; "defaultSortBy": "defaultSortBy"; "defaultSortDirection": "defaultSortDirection"; "defaultPageSize": "defaultPageSize"; "defaultPageSizeOptions": "defaultPageSizeOptions"; "focusColumn": "focusColumn"; "dataSource": "dataSource"; "filter": "filter"; "disabled": "disabled"; "paginator": "paginator"; }, { "onRefresh": "onRefresh"; "onOpenRow": "onOpenRow"; "onNewRow": "onNewRow"; "onStartEditingRow": "onStartEditingRow"; "onConfirmEditCreateRow": "onConfirmEditCreateRow"; "onCancelOrDeleteRow": "onCancelOrDeleteRow"; "onBeforeDeleteRows": "onBeforeDeleteRows"; "onBeforeCancelRows": "onBeforeCancelRows"; "onBeforeSave": "onBeforeSave"; "onAfterDeletedRows": "onAfterDeletedRows"; "onSort": "onSort"; "onDirty": "onDirty"; "onError": "onError"; }, never, never, false>;
|
|
390
390
|
}
|
|
@@ -44,7 +44,7 @@ export declare class TableTestPage extends AppTable<Referential, ReferentialFilt
|
|
|
44
44
|
}): Promise<boolean>;
|
|
45
45
|
clearControlValue(event: Event, formControl: AbstractControl): boolean;
|
|
46
46
|
applyFilterAndClosePanel(event?: Event): void;
|
|
47
|
-
resetFilter(
|
|
47
|
+
resetFilter(_?: Event): void;
|
|
48
48
|
startTimer(): void;
|
|
49
49
|
stopTimer(): void;
|
|
50
50
|
protected generateData(offset?: number, size?: number): Referential[];
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export declare const DATE_ISO_PATTERN = "YYYY-MM-DDTHH:mm:ss.SSSZ";
|
|
2
2
|
export declare const DATE_PATTERN = "YYYY-MM-DD";
|
|
3
|
+
export declare const DATE_MATCH_REGEXP: RegExp;
|
|
3
4
|
export declare const DEFAULT_PLACEHOLDER_CHAR = "_";
|
|
4
5
|
export declare const PUBKEY_REGEXP: RegExp;
|
|
5
6
|
export declare const SPACE_PLACEHOLDER_CHAR = "\u2000";
|
|
@@ -25,7 +25,7 @@ export declare class AppHelpModal implements AppHelpModalOptions {
|
|
|
25
25
|
markdownContent: string;
|
|
26
26
|
markdownUrl: string;
|
|
27
27
|
constructor(injector: Injector, viewCtrl: ModalController, platform: PlatformService, settings: LocalSettingsService, translate: TranslateService, cd: ChangeDetectorRef);
|
|
28
|
-
close(
|
|
28
|
+
close(_?: Event): Promise<boolean>;
|
|
29
29
|
markAsLoaded(): void;
|
|
30
30
|
onLoadError(error?: string): void;
|
|
31
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<AppHelpModal, never>;
|
|
@@ -73,7 +73,7 @@ export declare class AppImageGalleryComponent<T extends Image> implements OnInit
|
|
|
73
73
|
delete(event: Event, row: TableElement<T>, opts?: {
|
|
74
74
|
interactive?: boolean;
|
|
75
75
|
}): Promise<boolean>;
|
|
76
|
-
toggleViewMode(
|
|
76
|
+
toggleViewMode(_?: Event): void;
|
|
77
77
|
trackByFn(index: number, row: TableElement<T>): number;
|
|
78
78
|
editTitle(event: MouseEvent, row: TableElement<T>, cardToolbar: any): Promise<void>;
|
|
79
79
|
protected showCardToolbar(cardToolbar: any): void;
|
|
@@ -74,8 +74,8 @@ export declare class MatDateTime implements OnInit, AfterViewInit, OnDestroy, Co
|
|
|
74
74
|
registerOnChange(fn: any): void;
|
|
75
75
|
registerOnTouched(fn: any): void;
|
|
76
76
|
setDisabledState(isDisabled: boolean): void;
|
|
77
|
-
openDatePicker(event?: Event
|
|
78
|
-
openTimePicker(event?: Event
|
|
77
|
+
openDatePicker(event?: Event, datePicker?: MatDatepicker<any>): void;
|
|
78
|
+
openTimePicker(event?: Event): void;
|
|
79
79
|
focus(): void;
|
|
80
80
|
clear(): void;
|
|
81
81
|
protected _setFormControlName(controlName: string): void;
|
|
@@ -197,6 +197,9 @@
|
|
|
197
197
|
"BASIC": "Basic",
|
|
198
198
|
"TOKEN": "Crypto",
|
|
199
199
|
"BASIC_AND_TOKEN": "Basic and crypto"
|
|
200
|
+
},
|
|
201
|
+
"ACCOUNT": {
|
|
202
|
+
"ENABLE_AUTH_TOKENS": "Activer les jetons d'authentifications"
|
|
200
203
|
}
|
|
201
204
|
}
|
|
202
205
|
},
|
|
@@ -417,6 +420,7 @@
|
|
|
417
420
|
"LIST": {
|
|
418
421
|
"TITLE": "Users",
|
|
419
422
|
"BTN_SEND_MESSAGE": "Send a message",
|
|
423
|
+
"BTN_ACTIONS": "Actions",
|
|
420
424
|
"FILTER": {
|
|
421
425
|
"SEARCH": "Search"
|
|
422
426
|
}
|
package/src/assets/i18n/en.json
CHANGED
|
@@ -197,6 +197,9 @@
|
|
|
197
197
|
"BASIC": "Basic",
|
|
198
198
|
"TOKEN": "Crypto",
|
|
199
199
|
"BASIC_AND_TOKEN": "Basic and crypto"
|
|
200
|
+
},
|
|
201
|
+
"ACCOUNT": {
|
|
202
|
+
"ENABLE_AUTH_TOKENS": "Enable auth tokens"
|
|
200
203
|
}
|
|
201
204
|
}
|
|
202
205
|
},
|
|
@@ -417,6 +420,7 @@
|
|
|
417
420
|
"LIST": {
|
|
418
421
|
"TITLE": "Users",
|
|
419
422
|
"BTN_SEND_MESSAGE": "Send a message",
|
|
423
|
+
"BTN_ACTIONS": "Actions",
|
|
420
424
|
"FILTER": {
|
|
421
425
|
"SEARCH": "Search"
|
|
422
426
|
}
|
package/src/assets/i18n/fr.json
CHANGED
package/src/assets/manifest.json
CHANGED
|
@@ -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.6.6-
|
|
5
|
+
"version": "2.6.6-rc3",
|
|
6
6
|
"default_locale": "fr",
|
|
7
7
|
"description": "Angular components for building beautiful and responsive Apps",
|
|
8
8
|
"icons": [{
|