@sumaris-net/ngx-components 2.12.25 → 2.12.26-rc1
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/esm2022/src/app/admin/users/users.mjs +5 -11
- package/esm2022/src/app/core/account/account.page.mjs +5 -12
- package/esm2022/src/app/core/account/new-token.modal.mjs +8 -15
- package/esm2022/src/app/core/account/password/change-password.form.mjs +5 -10
- package/esm2022/src/app/core/account/token.table.mjs +5 -12
- package/esm2022/src/app/core/auth/auth.form.mjs +5 -11
- package/esm2022/src/app/core/form/array/testing/form-array.test.mjs +5 -13
- package/esm2022/src/app/core/form/entity/editor.class.mjs +15 -20
- package/esm2022/src/app/core/form/entity/entity-editor-modal.class.mjs +10 -18
- package/esm2022/src/app/core/form/entity/entity-editor.class.mjs +11 -21
- package/esm2022/src/app/core/form/entity/tab-editor.class.mjs +5 -21
- package/esm2022/src/app/core/form/form.class.mjs +13 -13
- package/esm2022/src/app/core/form/list/list.form.mjs +10 -20
- package/esm2022/src/app/core/form/properties/properties.form.mjs +17 -26
- package/esm2022/src/app/core/form/properties/properties.table.mjs +5 -7
- package/esm2022/src/app/core/form/username/username.form.mjs +5 -10
- package/esm2022/src/app/core/menu/testing/menu-other.testing.mjs +13 -15
- package/esm2022/src/app/core/menu/testing/menu.testing.mjs +13 -15
- package/esm2022/src/app/core/settings/settings.page.mjs +25 -35
- package/esm2022/src/app/core/table/async-table.class.mjs +20 -29
- package/esm2022/src/app/core/table/column/actions-column.component.mjs +4 -4
- package/esm2022/src/app/core/table/column/nav-actions-column.component.mjs +4 -4
- package/esm2022/src/app/core/table/column/row-field.component.mjs +6 -11
- package/esm2022/src/app/core/table/memory-table.class.mjs +4 -4
- package/esm2022/src/app/core/table/table.class.mjs +28 -33
- package/esm2022/src/app/core/table/testing/table.testing.mjs +6 -11
- package/esm2022/src/app/core/table/testing/table2.testing.mjs +9 -13
- package/esm2022/src/app/shared/form/field.component.mjs +14 -16
- package/esm2022/src/app/shared/help/help.modal.mjs +20 -25
- package/esm2022/src/app/shared/material/autocomplete/material.autocomplete.mjs +14 -18
- package/esm2022/src/app/shared/material/boolean/testing/boolean.test.page.mjs +5 -12
- package/esm2022/src/app/shared/material/text/text-form.component.mjs +5 -12
- package/esm2022/src/app/shared/named-filter/named-filter-selector.component.mjs +6 -13
- package/esm2022/src/app/shared/pipes/selection.pipes.mjs +3 -3
- package/esm2022/src/app/social/message/message.form.mjs +5 -10
- package/fesm2022/sumaris-net.ngx-components.mjs +314 -493
- package/fesm2022/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +1 -1
- package/src/app/admin/users/users.d.ts +2 -4
- package/src/app/core/account/account.page.d.ts +2 -4
- package/src/app/core/account/new-token.modal.d.ts +2 -3
- package/src/app/core/account/password/change-password.form.d.ts +2 -4
- package/src/app/core/account/token.table.d.ts +3 -6
- package/src/app/core/auth/auth.form.d.ts +3 -5
- package/src/app/core/form/array/testing/form-array.test.d.ts +2 -5
- package/src/app/core/form/entity/editor.class.d.ts +9 -8
- package/src/app/core/form/entity/entity-editor-modal.class.d.ts +3 -4
- package/src/app/core/form/entity/entity-editor.class.d.ts +4 -6
- package/src/app/core/form/entity/tab-editor.class.d.ts +2 -11
- package/src/app/core/form/form.class.d.ts +5 -3
- package/src/app/core/form/list/list.form.d.ts +3 -8
- package/src/app/core/form/properties/properties.form.d.ts +3 -7
- package/src/app/core/form/properties/properties.table.d.ts +2 -3
- package/src/app/core/form/username/username.form.d.ts +3 -5
- package/src/app/core/menu/testing/menu-other.testing.d.ts +1 -5
- package/src/app/core/menu/testing/menu.testing.d.ts +1 -5
- package/src/app/core/settings/settings.page.d.ts +3 -9
- package/src/app/core/table/async-table.class.d.ts +15 -13
- package/src/app/core/table/column/row-field.component.d.ts +2 -2
- package/src/app/core/table/memory-table.class.d.ts +2 -2
- package/src/app/core/table/table.class.d.ts +16 -13
- package/src/app/core/table/testing/table.testing.d.ts +2 -4
- package/src/app/core/table/testing/table2.testing.d.ts +2 -4
- package/src/app/shared/form/field.component.d.ts +5 -5
- package/src/app/shared/help/help.modal.d.ts +7 -8
- package/src/app/shared/material/autocomplete/material.autocomplete.d.ts +6 -7
- package/src/app/shared/material/boolean/testing/boolean.test.page.d.ts +2 -5
- package/src/app/shared/material/text/text-form.component.d.ts +3 -6
- package/src/app/shared/named-filter/named-filter-selector.component.d.ts +2 -5
- package/src/app/shared/pipes/selection.pipes.d.ts +2 -2
- package/src/app/social/message/message.form.d.ts +2 -4
package/package.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
2
|
import { Person } from '../../core/services/model/person.model';
|
|
3
3
|
import { PersonService } from '../services/person.service';
|
|
4
4
|
import { AccountService } from '../../core/services/account.service';
|
|
@@ -19,7 +19,6 @@ export declare class UsersPage extends AppTable<Person, PersonFilter> implements
|
|
|
19
19
|
protected dataService: PersonService;
|
|
20
20
|
protected messageService: MessageService;
|
|
21
21
|
protected menuService: MenuService;
|
|
22
|
-
protected cd: ChangeDetectorRef;
|
|
23
22
|
readonly canEdit: boolean;
|
|
24
23
|
readonly canSendMessage: boolean;
|
|
25
24
|
readonly filterForm: UntypedFormGroup;
|
|
@@ -32,7 +31,7 @@ export declare class UsersPage extends AppTable<Person, PersonFilter> implements
|
|
|
32
31
|
set showUsernameExtranetColumn(value: boolean);
|
|
33
32
|
sticky: boolean;
|
|
34
33
|
stickyEnd: boolean;
|
|
35
|
-
constructor(
|
|
34
|
+
constructor(formBuilder: UntypedFormBuilder, accountService: AccountService, validatorService: ValidatorService, configService: ConfigService, dataService: PersonService, messageService: MessageService, menuService: MenuService, environment: any);
|
|
36
35
|
filterExpansionPanel: MatExpansionPanel;
|
|
37
36
|
get firstUserColumn(): string;
|
|
38
37
|
ngOnInit(): Promise<void>;
|
|
@@ -41,7 +40,6 @@ export declare class UsersPage extends AppTable<Person, PersonFilter> implements
|
|
|
41
40
|
protected restoreFilterOrLoad(): Promise<void>;
|
|
42
41
|
clearControlValue(event: Event, formControl: AbstractControl): boolean;
|
|
43
42
|
openComposeMessageModal(event?: Event): Promise<any>;
|
|
44
|
-
protected markForCheck(): void;
|
|
45
43
|
static ɵfac: i0.ɵɵFactoryDeclaration<UsersPage, never>;
|
|
46
44
|
static ɵcmp: i0.ɵɵComponentDeclaration<UsersPage, "app-users-table", never, { "sticky": { "alias": "sticky"; "required": false; }; "stickyEnd": { "alias": "stickyEnd"; "required": false; }; }, {}, never, never, false, never>;
|
|
47
45
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { Subscription } from 'rxjs';
|
|
3
3
|
import { AccountService } from '../services/account.service';
|
|
4
4
|
import { Account } from '../services/model/account.model';
|
|
@@ -23,7 +23,6 @@ export declare class AccountPage extends AppForm<Account> implements OnInit, OnD
|
|
|
23
23
|
protected navController: NavController;
|
|
24
24
|
protected validatorService: AccountValidatorService;
|
|
25
25
|
protected configService: ConfigService;
|
|
26
|
-
protected cd: ChangeDetectorRef;
|
|
27
26
|
tabGroup: MatTabGroup;
|
|
28
27
|
propertiesTable: AppPropertiesTable;
|
|
29
28
|
tokensTable: UserTokenTable;
|
|
@@ -52,7 +51,7 @@ export declare class AccountPage extends AppForm<Account> implements OnInit, OnD
|
|
|
52
51
|
protected showSecurityDetails: boolean;
|
|
53
52
|
protected showTechnicalDetails: boolean;
|
|
54
53
|
protected showApiTokens: boolean;
|
|
55
|
-
constructor(
|
|
54
|
+
constructor(formBuilder: UntypedFormBuilder, accountService: AccountService, network: NetworkService, navController: NavController, validatorService: AccountValidatorService, configService: ConfigService, locales: LocaleConfig[]);
|
|
56
55
|
ngOnInit(): void;
|
|
57
56
|
ngOnDestroy(): void;
|
|
58
57
|
onLogin(account: Account): void;
|
|
@@ -73,7 +72,6 @@ export declare class AccountPage extends AppForm<Account> implements OnInit, OnD
|
|
|
73
72
|
cancel(): Promise<void>;
|
|
74
73
|
close(_?: Event): Promise<boolean>;
|
|
75
74
|
protected onConfigLoaded(config: Configuration): void;
|
|
76
|
-
protected markForCheck(): void;
|
|
77
75
|
openChangePasswordPage(): void;
|
|
78
76
|
static ɵfac: i0.ɵɵFactoryDeclaration<AccountPage, never>;
|
|
79
77
|
static ɵcmp: i0.ɵɵComponentDeclaration<AccountPage, "app-account-page", never, {}, {}, never, never, false, never>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AppEntityEditorModal, IEntityEditorModalOptions } from '../form/entity/entity-editor-modal.class';
|
|
2
2
|
import { TokenScope, UserToken } from '../services/model/token.model';
|
|
3
3
|
import { UntypedFormGroup } from '@angular/forms';
|
|
4
|
-
import {
|
|
4
|
+
import { OnInit } from '@angular/core';
|
|
5
5
|
import { UserTokenValidatorService } from '../services/validator/user-token.validator';
|
|
6
6
|
import { MatAutocompleteFieldConfig } from '../../shared/material/autocomplete/material.autocomplete.config';
|
|
7
7
|
import { IAppForm } from '../form/form.utils';
|
|
@@ -13,7 +13,6 @@ export interface INewTokenModalOptions extends IEntityEditorModalOptions<UserTok
|
|
|
13
13
|
existingNames: string[];
|
|
14
14
|
}
|
|
15
15
|
export declare class NewTokenModal extends AppEntityEditorModal<UserToken> implements OnInit, INewTokenModalOptions {
|
|
16
|
-
private injector;
|
|
17
16
|
protected validator: UserTokenValidatorService;
|
|
18
17
|
protected accountService: AccountService;
|
|
19
18
|
tokenForm: UntypedFormGroup;
|
|
@@ -23,7 +22,7 @@ export declare class NewTokenModal extends AppEntityEditorModal<UserToken> imple
|
|
|
23
22
|
tokenScopes: TokenScope[];
|
|
24
23
|
existingNames: string[];
|
|
25
24
|
private readonly platform;
|
|
26
|
-
constructor(
|
|
25
|
+
constructor(validator: UserTokenValidatorService, accountService: AccountService);
|
|
27
26
|
get valid(): boolean;
|
|
28
27
|
get invalid(): boolean;
|
|
29
28
|
ngOnInit(): void;
|
|
@@ -1,19 +1,17 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
2
|
import { UntypedFormBuilder } from '@angular/forms';
|
|
3
3
|
import { AppForm } from '../../form/form.class';
|
|
4
4
|
import { AuthData } from '../../services/account.service';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class ChangePasswordForm extends AppForm<AuthData> implements OnInit {
|
|
7
|
-
private cd;
|
|
8
7
|
protected showPwd: boolean;
|
|
9
8
|
protected showConfirmPwd: boolean;
|
|
10
9
|
usernamePlaceholder: string;
|
|
11
10
|
emailValidator: boolean;
|
|
12
11
|
set username(value: string);
|
|
13
12
|
get username(): string;
|
|
14
|
-
constructor(
|
|
13
|
+
constructor(formBuilder: UntypedFormBuilder);
|
|
15
14
|
ngOnInit(): void;
|
|
16
|
-
protected markForCheck(): void;
|
|
17
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<ChangePasswordForm, never>;
|
|
18
16
|
static ɵcmp: i0.ɵɵComponentDeclaration<ChangePasswordForm, "app-change-password-form", never, { "usernamePlaceholder": { "alias": "usernamePlaceholder"; "required": false; }; "emailValidator": { "alias": "emailValidator"; "required": false; }; "username": { "alias": "username"; "required": false; }; }, {}, never, never, false, never>;
|
|
19
17
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
2
|
import { UntypedFormBuilder } from '@angular/forms';
|
|
3
3
|
import { ValidatorService } from '@e-is/ngx-material-table';
|
|
4
4
|
import { TokenScope, UserToken } from '../services/model/token.model';
|
|
@@ -8,16 +8,14 @@ import { ConfigService } from '../services/config.service';
|
|
|
8
8
|
import { Configuration } from '../services/model/config.model';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
export declare class UserTokenTable extends AppInMemoryTable<UserToken> implements OnInit {
|
|
11
|
-
protected injector: Injector;
|
|
12
11
|
protected formBuilder: UntypedFormBuilder;
|
|
13
12
|
protected validatorService: ValidatorService;
|
|
14
|
-
protected cd: ChangeDetectorRef;
|
|
15
13
|
protected configService: ConfigService;
|
|
16
14
|
protected tokenScopes: TokenScope[];
|
|
17
15
|
useSticky: boolean;
|
|
18
16
|
protected showScopes: boolean;
|
|
19
17
|
protected defaultScope: string;
|
|
20
|
-
constructor(
|
|
18
|
+
constructor(formBuilder: UntypedFormBuilder, validatorService: ValidatorService, configService: ConfigService, environment: Environment, tokenScopes: TokenScope[]);
|
|
21
19
|
ngOnInit(): void;
|
|
22
20
|
get value(): UserToken[];
|
|
23
21
|
set value(data: UserToken[]);
|
|
@@ -27,7 +25,6 @@ export declare class UserTokenTable extends AppInMemoryTable<UserToken> implemen
|
|
|
27
25
|
addToken(event: UIEvent): Promise<void>;
|
|
28
26
|
display(scopes: TokenScope[]): string;
|
|
29
27
|
protected onConfigLoaded(config: Configuration): void;
|
|
30
|
-
|
|
31
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UserTokenTable, [null, null, null, null, null, null, { optional: true; }]>;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UserTokenTable, [null, null, null, null, { optional: true; }]>;
|
|
32
29
|
static ɵcmp: i0.ɵɵComponentDeclaration<UserTokenTable, "app-user-token-table", never, { "useSticky": { "alias": "useSticky"; "required": false; }; }, {}, never, never, false, never>;
|
|
33
30
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
2
|
import { UntypedFormBuilder } from '@angular/forms';
|
|
3
3
|
import { ModalController } from '@ionic/angular';
|
|
4
4
|
import { AuthData } from '../services/account.service';
|
|
@@ -12,7 +12,6 @@ export declare class AppAuthForm extends AppForm<AuthData> implements OnInit {
|
|
|
12
12
|
private configService;
|
|
13
13
|
private modalCtrl;
|
|
14
14
|
network: NetworkService;
|
|
15
|
-
private cd;
|
|
16
15
|
protected environment: Environment;
|
|
17
16
|
protected readonly mobile: boolean;
|
|
18
17
|
protected canWorkOffline: boolean;
|
|
@@ -26,13 +25,12 @@ export declare class AppAuthForm extends AppForm<AuthData> implements OnInit {
|
|
|
26
25
|
onlySelf?: boolean;
|
|
27
26
|
emitEvent?: boolean;
|
|
28
27
|
}): void;
|
|
29
|
-
constructor(
|
|
28
|
+
constructor(formBuilder: UntypedFormBuilder, settings: LocalSettingsService, configService: ConfigService, modalCtrl: ModalController, network: NetworkService, environment: Environment);
|
|
30
29
|
ngOnInit(): void;
|
|
31
30
|
cancel(): Promise<void>;
|
|
32
31
|
doSubmit(event?: Event): Promise<void>;
|
|
33
32
|
register(): void;
|
|
34
33
|
resetPassword(): void;
|
|
35
|
-
|
|
36
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AppAuthForm, [null, null, null, null, null, null, null, { optional: true; }]>;
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AppAuthForm, [null, null, null, null, null, { optional: true; }]>;
|
|
37
35
|
static ɵcmp: i0.ɵɵComponentDeclaration<AppAuthForm, "app-auth-form", never, {}, { "onCancel": "onCancel"; "onSubmit": "onSubmit"; }, never, never, false, never>;
|
|
38
36
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { UntypedFormBuilder, UntypedFormControl } from '@angular/forms';
|
|
3
3
|
import { PlatformService } from '../../../services/platform.service';
|
|
4
4
|
import { AppForm } from '../../form.class';
|
|
@@ -7,20 +7,17 @@ import * as i0 from "@angular/core";
|
|
|
7
7
|
export declare class ArrayFormTestPage extends AppForm<any> implements OnInit, OnDestroy {
|
|
8
8
|
protected formBuilder: UntypedFormBuilder;
|
|
9
9
|
protected platform: PlatformService;
|
|
10
|
-
protected injection: Injector;
|
|
11
|
-
protected cd: ChangeDetectorRef;
|
|
12
10
|
private subscription;
|
|
13
11
|
get defaultFormArray(): AppFormArray<any, any>;
|
|
14
12
|
get notEmptyFormArray(): AppFormArray<any, any>;
|
|
15
13
|
get nullValuesFormArray(): AppFormArray<any, any>;
|
|
16
14
|
get duplicatedValuesFormArray(): AppFormArray<any, any>;
|
|
17
15
|
get valueToAddControl(): UntypedFormControl;
|
|
18
|
-
constructor(formBuilder: UntypedFormBuilder, platform: PlatformService
|
|
16
|
+
constructor(formBuilder: UntypedFormBuilder, platform: PlatformService);
|
|
19
17
|
ngOnInit(): void;
|
|
20
18
|
ngOnDestroy(): void;
|
|
21
19
|
loadData(): Promise<void>;
|
|
22
20
|
protected setFormArrayValue(formArray: AppFormArray<any, any>, values: string | string[]): void;
|
|
23
|
-
protected markForCheck(): void;
|
|
24
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<ArrayFormTestPage, never>;
|
|
25
22
|
static ɵcmp: i0.ɵɵComponentDeclaration<ArrayFormTestPage, "app-array-test", never, {}, {}, never, never, false, never>;
|
|
26
23
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AfterViewInit, OnDestroy, OnInit } from '@angular/core';
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { ActivatedRoute, Params, Router } from '@angular/router';
|
|
3
3
|
import { AlertController, IonContent, NavController, ToastController } from '@ionic/angular';
|
|
4
4
|
import { TranslateService } from '@ngx-translate/core';
|
|
@@ -14,12 +14,13 @@ export interface IAppEditor<T> extends IAppFormContainer<T>, CanSave, CanLeave {
|
|
|
14
14
|
cancel(event?: Event): Promise<void>;
|
|
15
15
|
}
|
|
16
16
|
export declare abstract class AppEditor<T = any, ID = number, O = any> extends AppFormContainer<T> implements IAppEditor<T>, OnInit, OnDestroy, AfterViewInit {
|
|
17
|
-
protected route: ActivatedRoute;
|
|
18
|
-
protected router: Router;
|
|
19
|
-
protected navController: NavController;
|
|
20
|
-
protected alertCtrl: AlertController;
|
|
21
|
-
protected translate: TranslateService;
|
|
22
|
-
protected toastController: ToastController;
|
|
17
|
+
protected readonly route: ActivatedRoute;
|
|
18
|
+
protected readonly router: Router;
|
|
19
|
+
protected readonly navController: NavController;
|
|
20
|
+
protected readonly alertCtrl: AlertController;
|
|
21
|
+
protected readonly translate: TranslateService;
|
|
22
|
+
protected readonly toastController: ToastController;
|
|
23
|
+
protected readonly cd: ChangeDetectorRef;
|
|
23
24
|
readonly savingSubject: BehaviorSubject<boolean>;
|
|
24
25
|
submitted: boolean;
|
|
25
26
|
queryParams: Params;
|
|
@@ -32,7 +33,7 @@ export declare abstract class AppEditor<T = any, ID = number, O = any> extends A
|
|
|
32
33
|
formButtonsBar: FormButtonsBarToken | null;
|
|
33
34
|
content: IonContent;
|
|
34
35
|
abstract get isNewData(): boolean;
|
|
35
|
-
protected constructor(
|
|
36
|
+
protected constructor();
|
|
36
37
|
ngOnInit(): void;
|
|
37
38
|
ngAfterViewInit(): void;
|
|
38
39
|
ngOnDestroy(): void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AfterViewInit,
|
|
1
|
+
import { AfterViewInit, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { ModalController } from '@ionic/angular';
|
|
3
3
|
import { BehaviorSubject, Subject } from 'rxjs';
|
|
4
4
|
import { LocalSettingsService } from '../../services/local-settings.service';
|
|
@@ -29,10 +29,9 @@ export declare abstract class AppEntityEditorModal<T extends Entity<T, ID>, ID =
|
|
|
29
29
|
protected _logPrefix: string;
|
|
30
30
|
protected _isNew: boolean;
|
|
31
31
|
protected readonly dateFormat: DateFormatService;
|
|
32
|
-
protected readonly cd: ChangeDetectorRef;
|
|
33
32
|
protected readonly settings: LocalSettingsService;
|
|
34
33
|
protected readonly modalCtrl: ModalController;
|
|
35
|
-
protected errorTranslator: FormErrorTranslator;
|
|
34
|
+
protected readonly errorTranslator: FormErrorTranslator;
|
|
36
35
|
readonly savingSubject: BehaviorSubject<boolean>;
|
|
37
36
|
readonly titleSubject: BehaviorSubject<string>;
|
|
38
37
|
data: T;
|
|
@@ -58,7 +57,7 @@ export declare abstract class AppEntityEditorModal<T extends Entity<T, ID>, ID =
|
|
|
58
57
|
set disabled(value: boolean);
|
|
59
58
|
get disabled(): boolean;
|
|
60
59
|
get isOnFieldMode(): boolean;
|
|
61
|
-
protected constructor(
|
|
60
|
+
protected constructor(dataType: new () => T, options?: O);
|
|
62
61
|
ngOnInit(): void;
|
|
63
62
|
ngAfterViewInit(): void;
|
|
64
63
|
ngOnDestroy(): void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AfterViewInit,
|
|
1
|
+
import { AfterViewInit, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { IonRouterOutlet } from '@ionic/angular';
|
|
3
3
|
import { BehaviorSubject, Observable, Subject } from 'rxjs';
|
|
4
4
|
import { AddToPageHistoryOptions, LocalSettingsService } from '../../services/local-settings.service';
|
|
@@ -9,7 +9,6 @@ import { AppTabEditor, AppTabEditorOptions, IAppTabEditor } from './tab-editor.c
|
|
|
9
9
|
import { AppErrorWithDetails } from '../../services/errors';
|
|
10
10
|
import { EntityServiceLoadOptions, IEntityService } from '../../../shared/services/entity-service.class';
|
|
11
11
|
import { DateFormatService } from '../../../shared/pipes/date-format.pipe';
|
|
12
|
-
import { Environment } from '../../../../environments/environment.class';
|
|
13
12
|
import { HistoryPageReference } from '../../services/model/history.model';
|
|
14
13
|
import { WaitForOptions } from '../../../shared/observables';
|
|
15
14
|
import { FormErrorTranslator } from '../../../shared/validator/form-error-adapter.class';
|
|
@@ -51,11 +50,10 @@ export declare abstract class AppEntityEditor<T extends Entity<T, ID>, S extends
|
|
|
51
50
|
*/
|
|
52
51
|
protected get $title(): Subject<string>;
|
|
53
52
|
protected readonly dateFormat: DateFormatService;
|
|
54
|
-
protected readonly cd: ChangeDetectorRef;
|
|
55
53
|
protected readonly settings: LocalSettingsService;
|
|
56
|
-
protected readonly environment: Environment;
|
|
54
|
+
protected readonly environment: import("../../../../environments/environment.class").Environment;
|
|
57
55
|
protected readonly routerOutlet: IonRouterOutlet;
|
|
58
|
-
protected errorTranslator: FormErrorTranslator;
|
|
56
|
+
protected readonly errorTranslator: FormErrorTranslator;
|
|
59
57
|
private _usageMode;
|
|
60
58
|
private readonly _enableListenChanges;
|
|
61
59
|
private readonly _listenIntervalInSeconds;
|
|
@@ -73,7 +71,7 @@ export declare abstract class AppEntityEditor<T extends Entity<T, ID>, S extends
|
|
|
73
71
|
get autoOpenNextTab(): boolean;
|
|
74
72
|
set autoOpenNextTab(value: boolean);
|
|
75
73
|
protected get pathIdAttribute(): string;
|
|
76
|
-
protected constructor(
|
|
74
|
+
protected constructor(dataType: new () => T, dataService?: S, options?: AppEditorOptions);
|
|
77
75
|
ngOnInit(): void;
|
|
78
76
|
ngAfterViewInit(): void;
|
|
79
77
|
ngOnDestroy(): void;
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { ActivatedRoute, Router } from '@angular/router';
|
|
3
2
|
import { MatTabChangeEvent, MatTabGroup } from '@angular/material/tabs';
|
|
4
|
-
import { AlertController, NavController } from '@ionic/angular';
|
|
5
|
-
import { TranslateService } from '@ngx-translate/core';
|
|
6
3
|
import { HammerSwipeEvent } from '../../../shared/gesture/hammer.utils';
|
|
7
4
|
import { AppEditor, IAppEditor } from './editor.class';
|
|
8
5
|
import * as i0 from "@angular/core";
|
|
@@ -32,11 +29,6 @@ export declare class AppTabEditorOptions {
|
|
|
32
29
|
enableSwipe?: boolean;
|
|
33
30
|
}
|
|
34
31
|
export declare abstract class AppTabEditor<T = any, ID = number, O = any> extends AppEditor<T, ID, O> implements IAppTabEditor<T>, OnInit, OnDestroy {
|
|
35
|
-
protected route: ActivatedRoute;
|
|
36
|
-
protected router: Router;
|
|
37
|
-
protected navController: NavController;
|
|
38
|
-
protected alertCtrl: AlertController;
|
|
39
|
-
protected translate: TranslateService;
|
|
40
32
|
protected _selectedTabIndex: number;
|
|
41
33
|
protected tabCount: number;
|
|
42
34
|
protected enableSwipe: boolean;
|
|
@@ -46,8 +38,7 @@ export declare abstract class AppTabEditor<T = any, ID = number, O = any> extend
|
|
|
46
38
|
get selectedTabIndex(): number;
|
|
47
39
|
readonly selectedTabIndexChange: EventEmitter<number>;
|
|
48
40
|
tabGroup: MatTabGroup;
|
|
49
|
-
protected constructor(
|
|
50
|
-
router: Router, navController: NavController, alertCtrl: AlertController, translate: TranslateService, options?: AppTabEditorOptions);
|
|
41
|
+
protected constructor(options?: AppTabEditorOptions);
|
|
51
42
|
ngOnInit(): void;
|
|
52
43
|
ngOnDestroy(): void;
|
|
53
44
|
setSelectedTabIndex(value: number, opts?: {
|
|
@@ -65,6 +56,6 @@ export declare abstract class AppTabEditor<T = any, ID = number, O = any> extend
|
|
|
65
56
|
emitEvent?: boolean;
|
|
66
57
|
}): Promise<void>;
|
|
67
58
|
protected abstract getFirstInvalidTabIndex(): number;
|
|
68
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AppTabEditor<any, any, any>, [{ optional: true; }
|
|
59
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AppTabEditor<any, any, any>, [{ optional: true; }]>;
|
|
69
60
|
static ɵdir: i0.ɵɵDirectiveDeclaration<AppTabEditor<any, any, any>, never, never, { "queryTabIndexParamName": { "alias": "queryTabIndexParamName"; "required": false; }; "selectedTabIndex": { "alias": "selectedTabIndex"; "required": false; }; }, { "selectedTabIndexChange": "selectedTabIndexChange"; }, never, never, false, never>;
|
|
70
61
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { UntypedFormGroup } from '@angular/forms';
|
|
3
3
|
import { BehaviorSubject, Subject, Subscription } from 'rxjs';
|
|
4
4
|
import { IAppForm } from './form.utils';
|
|
@@ -12,10 +12,11 @@ export declare class AppForm<T> implements IAppForm<T>, OnInit, OnDestroy, IForm
|
|
|
12
12
|
private _subscription;
|
|
13
13
|
protected _form: UntypedFormGroup;
|
|
14
14
|
protected _enabled: boolean;
|
|
15
|
-
protected errorTranslator: FormErrorTranslator;
|
|
16
15
|
protected i18nFieldPrefix: string;
|
|
17
16
|
protected readonly translate: TranslateService;
|
|
18
17
|
protected readonly settings: LocalSettingsService;
|
|
18
|
+
protected readonly errorTranslator: FormErrorTranslator;
|
|
19
|
+
protected readonly cd: ChangeDetectorRef;
|
|
19
20
|
protected readonly destroySubject: Subject<void>;
|
|
20
21
|
readonly readySubject: BehaviorSubject<boolean>;
|
|
21
22
|
readonly loadingSubject: BehaviorSubject<boolean>;
|
|
@@ -60,7 +61,7 @@ export declare class AppForm<T> implements IAppForm<T>, OnInit, OnDestroy, IForm
|
|
|
60
61
|
get form(): UntypedFormGroup;
|
|
61
62
|
onCancel: EventEmitter<any>;
|
|
62
63
|
onSubmit: EventEmitter<any>;
|
|
63
|
-
constructor(
|
|
64
|
+
constructor(form?: UntypedFormGroup);
|
|
64
65
|
ngOnInit(): void;
|
|
65
66
|
ngOnDestroy(): void;
|
|
66
67
|
cancel(): Promise<void>;
|
|
@@ -141,6 +142,7 @@ export declare class AppForm<T> implements IAppForm<T>, OnInit, OnDestroy, IForm
|
|
|
141
142
|
emitEvent?: boolean;
|
|
142
143
|
}): void;
|
|
143
144
|
protected markForCheck(): void;
|
|
145
|
+
protected detectChanges(): void;
|
|
144
146
|
private setLoading;
|
|
145
147
|
static ɵfac: i0.ɵɵFactoryDeclaration<AppForm<any>, never>;
|
|
146
148
|
static ɵdir: i0.ɵɵDirectiveDeclaration<AppForm<any>, never, never, { "debug": { "alias": "debug"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "errorTranslateOptions": { "alias": "errorTranslateOptions"; "required": false; }; "form": { "alias": "form"; "required": false; }; }, { "onCancel": "onCancel"; "onSubmit": "onSubmit"; }, never, never, false, never>;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
2
|
import { AbstractControl, FormGroupDirective, UntypedFormArray, UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
3
3
|
import { DateAdapter } from '@angular/material/core';
|
|
4
4
|
import { Moment } from 'moment';
|
|
5
|
-
import { LocalSettingsService } from '../../services/local-settings.service';
|
|
6
5
|
import { AppForm } from '../form.class';
|
|
7
6
|
import { SelectionModel } from '@angular/cdk/collections';
|
|
8
7
|
import { Observable } from 'rxjs';
|
|
@@ -21,11 +20,8 @@ export declare type AppListFormOptions<T> = FormArrayHelperOptions & {
|
|
|
21
20
|
buttons?: ItemButton<T>[];
|
|
22
21
|
};
|
|
23
22
|
export declare class AppListForm<T = any> extends AppForm<T[]> implements OnInit {
|
|
24
|
-
protected injector: Injector;
|
|
25
23
|
protected formBuilder: UntypedFormBuilder;
|
|
26
24
|
protected dateAdapter: DateAdapter<Moment>;
|
|
27
|
-
protected settings: LocalSettingsService;
|
|
28
|
-
protected cd: ChangeDetectorRef;
|
|
29
25
|
private formGroupDir;
|
|
30
26
|
helper: FormArrayHelper<T>;
|
|
31
27
|
selection: SelectionModel<T>;
|
|
@@ -54,7 +50,7 @@ export declare class AppListForm<T = any> extends AppForm<T[]> implements OnInit
|
|
|
54
50
|
markAllAsTouched(opts?: {
|
|
55
51
|
emitEvent?: boolean;
|
|
56
52
|
}): void;
|
|
57
|
-
constructor(
|
|
53
|
+
constructor(formBuilder: UntypedFormBuilder, dateAdapter: DateAdapter<Moment>, formGroupDir: FormGroupDirective);
|
|
58
54
|
ngOnInit(): void;
|
|
59
55
|
ngOnDestroy(): void;
|
|
60
56
|
setValue(data: T[] | any): void;
|
|
@@ -75,7 +71,6 @@ export declare class AppListForm<T = any> extends AppForm<T[]> implements OnInit
|
|
|
75
71
|
removeAt(index: number): void;
|
|
76
72
|
displayWith(value: T): string;
|
|
77
73
|
protected createControl(data?: any): AbstractControl;
|
|
78
|
-
|
|
79
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AppListForm<any>, [null, null, null, null, null, { optional: true; }]>;
|
|
74
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AppListForm<any>, [null, null, { optional: true; }]>;
|
|
80
75
|
static ɵcmp: i0.ɵɵComponentDeclaration<AppListForm<any>, "app-list-form", never, { "formArrayName": { "alias": "formArrayName"; "required": false; }; "formArray": { "alias": "formArray"; "required": false; }; "options": { "alias": "options"; "required": false; }; "displayWithFn": { "alias": "displayWith"; "required": false; }; "equalsFn": { "alias": "equals"; "required": false; }; }, { "onNewItem": "onNewItem"; "selectionChanges": "selectionChanges"; }, never, never, false, never>;
|
|
81
76
|
}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
2
|
import { FormGroupDirective, UntypedFormArray, UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
3
3
|
import { FormFieldDefinition, FormFieldDefinitionMap } from '../../../shared/form/field.model';
|
|
4
4
|
import { DateAdapter, ThemePalette } from '@angular/material/core';
|
|
5
5
|
import { Moment } from 'moment';
|
|
6
|
-
import { LocalSettingsService } from '../../services/local-settings.service';
|
|
7
6
|
import { AppForm } from '../form.class';
|
|
8
7
|
import { Property } from '../../../shared/types';
|
|
9
8
|
import { PropertyValidator } from './property.validator';
|
|
@@ -13,8 +12,6 @@ import * as i0 from "@angular/core";
|
|
|
13
12
|
export declare class AppPropertiesForm<T = Property> extends AppForm<T[]> implements OnInit {
|
|
14
13
|
protected formBuilder: UntypedFormBuilder;
|
|
15
14
|
protected dateAdapter: DateAdapter<Moment>;
|
|
16
|
-
protected settings: LocalSettingsService;
|
|
17
|
-
protected cd: ChangeDetectorRef;
|
|
18
15
|
protected validator: PropertyValidator;
|
|
19
16
|
private formGroupDir;
|
|
20
17
|
definitionsMapByKey: FormFieldDefinitionMap;
|
|
@@ -31,14 +28,13 @@ export declare class AppPropertiesForm<T = Property> extends AppForm<T[]> implem
|
|
|
31
28
|
get value(): T[];
|
|
32
29
|
get length(): number;
|
|
33
30
|
get fieldForms(): UntypedFormGroup[];
|
|
34
|
-
constructor(
|
|
31
|
+
constructor(formBuilder: UntypedFormBuilder, dateAdapter: DateAdapter<Moment>, validator: PropertyValidator, formGroupDir: FormGroupDirective);
|
|
35
32
|
ngOnInit(): void;
|
|
36
33
|
getDefinitionAt(index: number): FormFieldDefinition;
|
|
37
34
|
updateDefinitionAt(index: number): FormFieldDefinition;
|
|
38
35
|
removeAt(index: number): void;
|
|
39
36
|
isUnknownField(fieldForm: UntypedFormGroup): boolean;
|
|
40
37
|
setValue(data: T[] | any): void;
|
|
41
|
-
|
|
42
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AppPropertiesForm<any>, [null, null, null, null, null, null, { optional: true; }]>;
|
|
38
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AppPropertiesForm<any>, [null, null, null, { optional: true; }]>;
|
|
43
39
|
static ɵcmp: i0.ɵɵComponentDeclaration<AppPropertiesForm<any>, "app-properties-form", never, { "formArrayName": { "alias": "formArrayName"; "required": false; }; "formArray": { "alias": "formArray"; "required": false; }; "options": { "alias": "options"; "required": false; }; "definitions": { "alias": "definitions"; "required": false; }; "chipColor": { "alias": "chipColor"; "required": false; }; }, {}, never, never, false, never>;
|
|
44
40
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AppInMemoryTable } from '../../table/memory-table.class';
|
|
2
|
-
import {
|
|
2
|
+
import { OnInit } from '@angular/core';
|
|
3
3
|
import { Entity, EntityAsObjectOptions } from '../../services/model/entity.model';
|
|
4
4
|
import { AppValidatorService } from '../../services/validator/base.validator.class';
|
|
5
5
|
import { AbstractControl, UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
@@ -39,7 +39,6 @@ export declare class PropertyEntityValidator extends AppValidatorService<Propert
|
|
|
39
39
|
static ɵdir: i0.ɵɵDirectiveDeclaration<PropertyEntityValidator, never, never, {}, {}, never, never, false, never>;
|
|
40
40
|
}
|
|
41
41
|
export declare class AppPropertiesTable extends AppInMemoryTable<PropertyEntity, PropertyEntityFilter, string> implements OnInit {
|
|
42
|
-
protected injector: Injector;
|
|
43
42
|
protected formBuilder: UntypedFormBuilder;
|
|
44
43
|
protected validatorService: PropertyEntityValidator;
|
|
45
44
|
definitions: FormFieldDefinition[];
|
|
@@ -50,7 +49,7 @@ export declare class AppPropertiesTable extends AppInMemoryTable<PropertyEntity,
|
|
|
50
49
|
filterForm: UntypedFormGroup;
|
|
51
50
|
filterCriteriaCount: number;
|
|
52
51
|
filterPanelFloating: boolean;
|
|
53
|
-
constructor(
|
|
52
|
+
constructor(formBuilder: UntypedFormBuilder, validatorService: PropertyEntityValidator, environment: Environment);
|
|
54
53
|
ngOnInit(): void;
|
|
55
54
|
get value(): PropertyEntity[];
|
|
56
55
|
set value(data: PropertyEntity[]);
|
|
@@ -1,17 +1,15 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
2
|
import { UntypedFormBuilder } from '@angular/forms';
|
|
3
3
|
import { AppForm } from '../form.class';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class AppUsernameForm extends AppForm<{
|
|
6
6
|
username: string;
|
|
7
|
-
}> {
|
|
8
|
-
protected cd: ChangeDetectorRef;
|
|
7
|
+
}> implements OnInit {
|
|
9
8
|
mobile: boolean;
|
|
10
9
|
usernamePlaceHolder: string;
|
|
11
10
|
emailValidator: boolean;
|
|
12
|
-
constructor(
|
|
11
|
+
constructor(formBuilder: UntypedFormBuilder);
|
|
13
12
|
ngOnInit(): void;
|
|
14
|
-
markForCheck(): void;
|
|
15
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<AppUsernameForm, never>;
|
|
16
14
|
static ɵcmp: i0.ɵɵComponentDeclaration<AppUsernameForm, "app-username-form", never, { "mobile": { "alias": "mobile"; "required": false; }; "usernamePlaceHolder": { "alias": "usernamePlaceHolder"; "required": false; }; "emailValidator": { "alias": "emailValidator"; "required": false; }; }, {}, never, never, false, never>;
|
|
17
15
|
static ngAcceptInputType_mobile: unknown;
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
import { ActivatedRoute, Router } from '@angular/router';
|
|
2
|
-
import { AlertController, NavController } from '@ionic/angular';
|
|
3
|
-
import { TranslateService } from '@ngx-translate/core';
|
|
4
1
|
import { MenuService } from '../menu.service';
|
|
5
2
|
import { MenuTestingPage } from './menu.testing';
|
|
6
3
|
import * as i0 from "@angular/core";
|
|
7
4
|
export declare class OtherMenuTestingPage extends MenuTestingPage {
|
|
8
|
-
constructor(
|
|
9
|
-
router: Router, navController: NavController, alertCtrl: AlertController, translate: TranslateService, menuService: MenuService);
|
|
5
|
+
constructor(menuService: MenuService);
|
|
10
6
|
initSubMenu(): Promise<void>;
|
|
11
7
|
protected getDefaultTitle(): string;
|
|
12
8
|
protected computeTitle(): Promise<string>;
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import { AfterViewInit, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { MenuService } from '../menu.service';
|
|
3
|
-
import { ActivatedRoute, Router } from '@angular/router';
|
|
4
|
-
import { AlertController, NavController } from '@ionic/angular';
|
|
5
|
-
import { TranslateService } from '@ngx-translate/core';
|
|
6
3
|
import { Subject } from 'rxjs';
|
|
7
4
|
import { MatTabGroup } from '@angular/material/tabs';
|
|
8
5
|
import { AppTabEditor } from '../../form/entity/tab-editor.class';
|
|
@@ -26,8 +23,7 @@ export declare class MenuTestingPage extends AppTabEditor implements OnInit, OnD
|
|
|
26
23
|
subTabGroup: MatTabGroup;
|
|
27
24
|
protected set title(value: string);
|
|
28
25
|
protected set secondTabTitle(value: string);
|
|
29
|
-
constructor(
|
|
30
|
-
router: Router, navController: NavController, alertCtrl: AlertController, translate: TranslateService, menuService: MenuService);
|
|
26
|
+
constructor(menuService: MenuService);
|
|
31
27
|
ngOnInit(): void;
|
|
32
28
|
ngAfterViewInit(): void;
|
|
33
29
|
ngOnDestroy(): void;
|
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { InjectionToken, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { AccountService } from '../services/account.service';
|
|
3
3
|
import { LocaleConfig, LocalSettings, UsageMode } from '../services/model/settings.model';
|
|
4
4
|
import { UntypedFormArray, UntypedFormBuilder } from '@angular/forms';
|
|
5
5
|
import { AppForm } from '../form/form.class';
|
|
6
6
|
import { CanLeave } from '../form/form.utils';
|
|
7
|
-
import { TranslateService } from '@ngx-translate/core';
|
|
8
7
|
import { LocalSettingsValidatorService } from '../services/validator/local-settings.validator';
|
|
9
8
|
import { PlatformService } from '../services/platform.service';
|
|
10
9
|
import { NetworkService } from '../services/network.service';
|
|
11
|
-
import { LocalSettingsService } from '../services/local-settings.service';
|
|
12
10
|
import { FormFieldDefinition, FormFieldDefinitionMap } from '../../shared/form/field.model';
|
|
13
11
|
import { AlertController, NavController } from '@ionic/angular';
|
|
14
12
|
import { Property } from '../../shared/types';
|
|
@@ -22,11 +20,8 @@ export declare class SettingsPage extends AppForm<LocalSettings> implements OnIn
|
|
|
22
20
|
protected navController: NavController;
|
|
23
21
|
protected validatorService: LocalSettingsValidatorService;
|
|
24
22
|
protected alertCtrl: AlertController;
|
|
25
|
-
protected translate: TranslateService;
|
|
26
23
|
protected formBuilder: UntypedFormBuilder;
|
|
27
24
|
protected accountService: AccountService;
|
|
28
|
-
protected settings: LocalSettingsService;
|
|
29
|
-
protected cd: ChangeDetectorRef;
|
|
30
25
|
network: NetworkService;
|
|
31
26
|
locales: LocaleConfig[];
|
|
32
27
|
private data;
|
|
@@ -46,7 +41,7 @@ export declare class SettingsPage extends AppForm<LocalSettings> implements OnIn
|
|
|
46
41
|
get propertiesForm(): UntypedFormArray;
|
|
47
42
|
get darkMode(): boolean;
|
|
48
43
|
set darkMode(value: boolean);
|
|
49
|
-
constructor(
|
|
44
|
+
constructor(platform: PlatformService, navController: NavController, validatorService: LocalSettingsValidatorService, alertCtrl: AlertController, formBuilder: UntypedFormBuilder, accountService: AccountService, network: NetworkService, locales: LocaleConfig[], menuItems?: IMenuItem[]);
|
|
50
45
|
ngOnInit(): Promise<void>;
|
|
51
46
|
getPropertyDefinition(index: number): FormFieldDefinition;
|
|
52
47
|
updatePropertyDefinition(index: number): FormFieldDefinition;
|
|
@@ -64,7 +59,6 @@ export declare class SettingsPage extends AppForm<LocalSettings> implements OnIn
|
|
|
64
59
|
executeAction(event: Event, item: IMenuItem): Promise<void>;
|
|
65
60
|
getValue(): Promise<LocalSettings>;
|
|
66
61
|
protected toggleDarkMode(enable?: boolean): Promise<void>;
|
|
67
|
-
|
|
68
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SettingsPage, [null, null, null, null, null, null, null, null, null, null, null, null, { optional: true; }]>;
|
|
62
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SettingsPage, [null, null, null, null, null, null, null, null, { optional: true; }]>;
|
|
69
63
|
static ɵcmp: i0.ɵɵComponentDeclaration<SettingsPage, "page-settings", never, {}, {}, never, never, false, never>;
|
|
70
64
|
}
|