@sumaris-net/ngx-components 2.12.25 → 2.12.26-alpha2

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 (163) hide show
  1. package/esm2022/src/app/admin/services/validator/person.validator.mjs +8 -11
  2. package/esm2022/src/app/admin/users/users.mjs +5 -11
  3. package/esm2022/src/app/core/account/account.page.mjs +5 -12
  4. package/esm2022/src/app/core/account/new-token.modal.mjs +8 -15
  5. package/esm2022/src/app/core/account/password/change-password.form.mjs +5 -10
  6. package/esm2022/src/app/core/account/password/change-password.page.mjs +4 -9
  7. package/esm2022/src/app/core/account/token.table.mjs +5 -12
  8. package/esm2022/src/app/core/auth/auth.form.mjs +5 -11
  9. package/esm2022/src/app/core/auth/auth.modal.mjs +14 -17
  10. package/esm2022/src/app/core/auth/reset-password.modal.mjs +16 -20
  11. package/esm2022/src/app/core/form/array/testing/form-array.test.mjs +5 -13
  12. package/esm2022/src/app/core/form/entity/editor.class.mjs +14 -20
  13. package/esm2022/src/app/core/form/entity/entity-editor-modal.class.mjs +10 -21
  14. package/esm2022/src/app/core/form/entity/entity-editor.class.mjs +11 -24
  15. package/esm2022/src/app/core/form/entity/tab-editor.class.mjs +5 -21
  16. package/esm2022/src/app/core/form/form-container.class.mjs +4 -5
  17. package/esm2022/src/app/core/form/form.class.mjs +13 -13
  18. package/esm2022/src/app/core/form/list/list.form.mjs +10 -20
  19. package/esm2022/src/app/core/form/properties/properties.form.mjs +17 -26
  20. package/esm2022/src/app/core/form/properties/properties.table.mjs +10 -14
  21. package/esm2022/src/app/core/form/properties/property.validator.mjs +5 -8
  22. package/esm2022/src/app/core/form/username/username.form.mjs +5 -10
  23. package/esm2022/src/app/core/home/home.mjs +39 -61
  24. package/esm2022/src/app/core/install/install-upgrade-card.component.mjs +21 -34
  25. package/esm2022/src/app/core/menu/menu.component.mjs +33 -53
  26. package/esm2022/src/app/core/menu/testing/menu-other.testing.mjs +13 -15
  27. package/esm2022/src/app/core/menu/testing/menu.testing.mjs +13 -15
  28. package/esm2022/src/app/core/peer/select-peer.modal.mjs +26 -40
  29. package/esm2022/src/app/core/services/testing/referential.validator.mjs +5 -8
  30. package/esm2022/src/app/core/services/validator/account.validator.mjs +8 -18
  31. package/esm2022/src/app/core/services/validator/base.validator.class.mjs +9 -11
  32. package/esm2022/src/app/core/services/validator/local-settings.validator.mjs +8 -10
  33. package/esm2022/src/app/core/services/validator/user-settings.validator.mjs +5 -6
  34. package/esm2022/src/app/core/services/validator/user-token.validator.mjs +5 -6
  35. package/esm2022/src/app/core/settings/settings.page.mjs +25 -35
  36. package/esm2022/src/app/core/table/async-table.class.mjs +20 -29
  37. package/esm2022/src/app/core/table/column/actions-column.component.mjs +8 -9
  38. package/esm2022/src/app/core/table/column/nav-actions-column.component.mjs +8 -9
  39. package/esm2022/src/app/core/table/column/row-field.component.mjs +6 -11
  40. package/esm2022/src/app/core/table/memory-table.class.mjs +4 -4
  41. package/esm2022/src/app/core/table/table.class.mjs +28 -33
  42. package/esm2022/src/app/core/table/table.pipes.mjs +15 -21
  43. package/esm2022/src/app/core/table/testing/table-validator.service.mjs +5 -8
  44. package/esm2022/src/app/core/table/testing/table.testing.mjs +6 -11
  45. package/esm2022/src/app/core/table/testing/table2-validator.service.mjs +5 -8
  46. package/esm2022/src/app/core/table/testing/table2.testing.mjs +9 -13
  47. package/esm2022/src/app/shared/form/field.component.mjs +14 -16
  48. package/esm2022/src/app/shared/help/help.modal.mjs +20 -25
  49. package/esm2022/src/app/shared/image/gallery/image-gallery.component.mjs +31 -40
  50. package/esm2022/src/app/shared/material/autocomplete/material.autocomplete.mjs +14 -18
  51. package/esm2022/src/app/shared/material/autocomplete/testing/autocomplete.test.mjs +13 -14
  52. package/esm2022/src/app/shared/material/badge/badge.test.mjs +6 -8
  53. package/esm2022/src/app/shared/material/boolean/material.boolean.mjs +14 -21
  54. package/esm2022/src/app/shared/material/boolean/testing/boolean.test.page.mjs +5 -12
  55. package/esm2022/src/app/shared/material/chips/material.chips.mjs +18 -23
  56. package/esm2022/src/app/shared/material/datetime/material.date.mjs +33 -41
  57. package/esm2022/src/app/shared/material/datetime/material.dateshort.mjs +36 -42
  58. package/esm2022/src/app/shared/material/datetime/material.datetime.mjs +33 -41
  59. package/esm2022/src/app/shared/material/datetime/testing/mat-date-time.test.mjs +11 -13
  60. package/esm2022/src/app/shared/material/datetime/testing/mat-date.test.mjs +12 -14
  61. package/esm2022/src/app/shared/material/datetime/testing/mat-dateshort.test.mjs +12 -14
  62. package/esm2022/src/app/shared/material/duration/material.duration.mjs +18 -29
  63. package/esm2022/src/app/shared/material/duration/testing/mat-duration.test.mjs +12 -14
  64. package/esm2022/src/app/shared/material/latlong/material.latlong.mjs +25 -32
  65. package/esm2022/src/app/shared/material/swipe/material.swipe.mjs +15 -20
  66. package/esm2022/src/app/shared/material/testing/common.test.mjs +12 -14
  67. package/esm2022/src/app/shared/material/text/text-form.component.mjs +5 -12
  68. package/esm2022/src/app/shared/named-filter/named-filter-selector.component.mjs +6 -13
  69. package/esm2022/src/app/shared/named-filter/testing/named-filter-selector.testing.mjs +13 -12
  70. package/esm2022/src/app/shared/pipes/form.pipes.mjs +18 -26
  71. package/esm2022/src/app/shared/pipes/selection.pipes.mjs +33 -35
  72. package/esm2022/src/app/shared/storage/storage-explorer.component.mjs +28 -53
  73. package/esm2022/src/app/shared/toolbar/toolbar.mjs +20 -30
  74. package/esm2022/src/app/shared/upload-file/upload-file-popover.component.mjs +14 -16
  75. package/esm2022/src/app/shared/upload-file/upload-file.component.mjs +18 -20
  76. package/esm2022/src/app/social/job/progression/job-progression.icon.mjs +18 -26
  77. package/esm2022/src/app/social/message/message.form.mjs +5 -10
  78. package/esm2022/src/app/social/message/message.modal.mjs +16 -19
  79. package/esm2022/src/app/social/user-event/notification/user-event-notification.icon.mjs +18 -27
  80. package/esm2022/src/app/social/user-event/notification/user-event-notification.list.mjs +23 -40
  81. package/fesm2022/sumaris-net.ngx-components.mjs +760 -1239
  82. package/fesm2022/sumaris-net.ngx-components.mjs.map +1 -1
  83. package/package.json +1 -1
  84. package/src/app/admin/services/validator/person.validator.d.ts +2 -3
  85. package/src/app/admin/users/users.d.ts +2 -4
  86. package/src/app/core/account/account.page.d.ts +2 -4
  87. package/src/app/core/account/new-token.modal.d.ts +2 -3
  88. package/src/app/core/account/password/change-password.form.d.ts +2 -4
  89. package/src/app/core/account/password/change-password.page.d.ts +2 -4
  90. package/src/app/core/account/token.table.d.ts +3 -6
  91. package/src/app/core/auth/auth.form.d.ts +3 -5
  92. package/src/app/core/auth/auth.modal.d.ts +5 -7
  93. package/src/app/core/auth/reset-password.modal.d.ts +6 -6
  94. package/src/app/core/form/array/testing/form-array.test.d.ts +2 -5
  95. package/src/app/core/form/entity/editor.class.d.ts +7 -7
  96. package/src/app/core/form/entity/entity-editor-modal.class.d.ts +3 -5
  97. package/src/app/core/form/entity/entity-editor.class.d.ts +4 -7
  98. package/src/app/core/form/entity/tab-editor.class.d.ts +2 -11
  99. package/src/app/core/form/form-container.class.d.ts +2 -1
  100. package/src/app/core/form/form.class.d.ts +5 -3
  101. package/src/app/core/form/list/list.form.d.ts +3 -8
  102. package/src/app/core/form/properties/properties.form.d.ts +3 -7
  103. package/src/app/core/form/properties/properties.table.d.ts +3 -5
  104. package/src/app/core/form/properties/property.validator.d.ts +1 -3
  105. package/src/app/core/form/username/username.form.d.ts +3 -5
  106. package/src/app/core/home/home.d.ts +16 -22
  107. package/src/app/core/install/install-upgrade-card.component.d.ts +10 -15
  108. package/src/app/core/menu/menu.component.d.ts +13 -17
  109. package/src/app/core/menu/testing/menu-other.testing.d.ts +1 -5
  110. package/src/app/core/menu/testing/menu.testing.d.ts +1 -5
  111. package/src/app/core/peer/select-peer.modal.d.ts +10 -15
  112. package/src/app/core/services/testing/referential.validator.d.ts +2 -3
  113. package/src/app/core/services/validator/account.validator.d.ts +2 -8
  114. package/src/app/core/services/validator/base.validator.class.d.ts +3 -3
  115. package/src/app/core/services/validator/local-settings.validator.d.ts +3 -4
  116. package/src/app/core/services/validator/user-settings.validator.d.ts +2 -2
  117. package/src/app/core/services/validator/user-token.validator.d.ts +2 -2
  118. package/src/app/core/settings/settings.page.d.ts +3 -9
  119. package/src/app/core/table/async-table.class.d.ts +15 -13
  120. package/src/app/core/table/column/actions-column.component.d.ts +3 -3
  121. package/src/app/core/table/column/nav-actions-column.component.d.ts +4 -4
  122. package/src/app/core/table/column/row-field.component.d.ts +2 -2
  123. package/src/app/core/table/memory-table.class.d.ts +2 -2
  124. package/src/app/core/table/table.class.d.ts +16 -13
  125. package/src/app/core/table/table.pipes.d.ts +4 -5
  126. package/src/app/core/table/testing/table-validator.service.d.ts +2 -3
  127. package/src/app/core/table/testing/table.testing.d.ts +2 -4
  128. package/src/app/core/table/testing/table2-validator.service.d.ts +1 -3
  129. package/src/app/core/table/testing/table2.testing.d.ts +2 -4
  130. package/src/app/shared/form/field.component.d.ts +5 -5
  131. package/src/app/shared/help/help.modal.d.ts +7 -8
  132. package/src/app/shared/image/gallery/image-gallery.component.d.ts +8 -8
  133. package/src/app/shared/material/autocomplete/material.autocomplete.d.ts +6 -7
  134. package/src/app/shared/material/autocomplete/testing/autocomplete.test.d.ts +4 -4
  135. package/src/app/shared/material/badge/badge.test.d.ts +2 -3
  136. package/src/app/shared/material/boolean/material.boolean.d.ts +5 -6
  137. package/src/app/shared/material/boolean/testing/boolean.test.page.d.ts +2 -5
  138. package/src/app/shared/material/chips/material.chips.d.ts +5 -5
  139. package/src/app/shared/material/datetime/material.date.d.ts +10 -11
  140. package/src/app/shared/material/datetime/material.dateshort.d.ts +10 -11
  141. package/src/app/shared/material/datetime/material.datetime.d.ts +10 -11
  142. package/src/app/shared/material/datetime/testing/mat-date-time.test.d.ts +4 -4
  143. package/src/app/shared/material/datetime/testing/mat-date.test.d.ts +3 -3
  144. package/src/app/shared/material/datetime/testing/mat-dateshort.test.d.ts +3 -3
  145. package/src/app/shared/material/duration/material.duration.d.ts +6 -12
  146. package/src/app/shared/material/duration/testing/mat-duration.test.d.ts +3 -3
  147. package/src/app/shared/material/latlong/material.latlong.d.ts +9 -9
  148. package/src/app/shared/material/swipe/material.swipe.d.ts +5 -5
  149. package/src/app/shared/material/testing/common.test.d.ts +4 -4
  150. package/src/app/shared/material/text/text-form.component.d.ts +3 -6
  151. package/src/app/shared/named-filter/named-filter-selector.component.d.ts +2 -5
  152. package/src/app/shared/named-filter/testing/named-filter-selector.testing.d.ts +4 -3
  153. package/src/app/shared/pipes/form.pipes.d.ts +6 -7
  154. package/src/app/shared/pipes/selection.pipes.d.ts +10 -10
  155. package/src/app/shared/storage/storage-explorer.component.d.ts +12 -15
  156. package/src/app/shared/toolbar/toolbar.d.ts +10 -12
  157. package/src/app/shared/upload-file/upload-file-popover.component.d.ts +4 -4
  158. package/src/app/shared/upload-file/upload-file.component.d.ts +3 -3
  159. package/src/app/social/job/progression/job-progression.icon.d.ts +5 -6
  160. package/src/app/social/message/message.form.d.ts +2 -4
  161. package/src/app/social/message/message.modal.d.ts +5 -5
  162. package/src/app/social/user-event/notification/user-event-notification.icon.d.ts +7 -8
  163. package/src/app/social/user-event/notification/user-event-notification.list.d.ts +8 -9
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sumaris-net/ngx-components",
3
3
  "description": "SUMARiS Angular components",
4
- "version": "2.12.25",
4
+ "version": "2.12.26-alpha2",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -1,9 +1,8 @@
1
- import { UntypedFormBuilder, ValidatorFn } from '@angular/forms';
1
+ import { ValidatorFn } from '@angular/forms';
2
2
  import { Person } from '../../../core/services/model/person.model';
3
3
  import { AccountService } from '../../../core/services/account.service';
4
4
  import { FormFieldDefinition } from '../../../shared/form/field.model';
5
5
  import { AppValidatorService } from '../../../core/services/validator/base.validator.class';
6
- import { TranslateService } from '@ngx-translate/core';
7
6
  import * as i0 from "@angular/core";
8
7
  export interface PersonValidatorOptions {
9
8
  withAvatar?: boolean;
@@ -12,7 +11,7 @@ export interface PersonValidatorOptions {
12
11
  }
13
12
  export declare class PersonValidatorService<T extends Person = Person, O extends PersonValidatorOptions = PersonValidatorOptions> extends AppValidatorService<T> {
14
13
  protected accountService: AccountService;
15
- constructor(formBuilder: UntypedFormBuilder, translate: TranslateService, accountService: AccountService);
14
+ constructor();
16
15
  getFormGroupConfig(data?: T, opts?: O): {
17
16
  [key: string]: any;
18
17
  };
@@ -1,4 +1,4 @@
1
- import { ChangeDetectorRef, Injector, OnInit } from '@angular/core';
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(injector: Injector, formBuilder: UntypedFormBuilder, accountService: AccountService, validatorService: ValidatorService, configService: ConfigService, dataService: PersonService, messageService: MessageService, menuService: MenuService, cd: ChangeDetectorRef, environment: any);
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 { ChangeDetectorRef, Injector, OnDestroy, OnInit } from '@angular/core';
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(injector: Injector, formBuilder: UntypedFormBuilder, accountService: AccountService, network: NetworkService, navController: NavController, validatorService: AccountValidatorService, configService: ConfigService, cd: ChangeDetectorRef, locales: LocaleConfig[]);
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 { Injector, OnInit } from '@angular/core';
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(injector: Injector, validator: UserTokenValidatorService, accountService: AccountService);
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 { ChangeDetectorRef, Injector, OnInit } from '@angular/core';
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(injector: Injector, formBuilder: UntypedFormBuilder, cd: ChangeDetectorRef);
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 { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
1
+ import { OnDestroy, OnInit } from '@angular/core';
2
2
  import { AccountService } from '../../services/account.service';
3
3
  import { ActivatedRoute } from '@angular/router';
4
4
  import { ConfigService } from '../../services/config.service';
@@ -15,7 +15,6 @@ export declare class AppChangePasswordPage extends AppFormContainer implements O
15
15
  protected translate: TranslateService;
16
16
  protected navController: NavController;
17
17
  protected activatedRoute: ActivatedRoute;
18
- protected cd: ChangeDetectorRef;
19
18
  protected token: string;
20
19
  protected username: string;
21
20
  protected contentStyle: {};
@@ -24,13 +23,12 @@ export declare class AppChangePasswordPage extends AppFormContainer implements O
24
23
  protected usernamePlaceholder: string;
25
24
  protected emailValidator: boolean;
26
25
  private form;
27
- constructor(configService: ConfigService, accountService: AccountService, toastController: ToastController, translate: TranslateService, navController: NavController, activatedRoute: ActivatedRoute, cd: ChangeDetectorRef);
26
+ constructor(configService: ConfigService, accountService: AccountService, toastController: ToastController, translate: TranslateService, navController: NavController, activatedRoute: ActivatedRoute);
28
27
  ngOnInit(): Promise<void>;
29
28
  ngOnDestroy(): void;
30
29
  onConfigReady(config: Configuration): Promise<void>;
31
30
  doSubmit(event?: Event): Promise<void>;
32
31
  protected showToast(opts: ShowToastOptions): Promise<void>;
33
- protected markForCheck(): void;
34
32
  static ɵfac: i0.ɵɵFactoryDeclaration<AppChangePasswordPage, never>;
35
33
  static ɵcmp: i0.ɵɵComponentDeclaration<AppChangePasswordPage, "app-change-password-page", never, {}, {}, never, never, false, never>;
36
34
  }
@@ -1,4 +1,4 @@
1
- import { ChangeDetectorRef, Injector, OnInit } from '@angular/core';
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(injector: Injector, formBuilder: UntypedFormBuilder, validatorService: ValidatorService, cd: ChangeDetectorRef, configService: ConfigService, environment: Environment, tokenScopes: TokenScope[]);
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
- protected markForCheck(): void;
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 { ChangeDetectorRef, EventEmitter, Injector, OnInit } from '@angular/core';
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(injector: Injector, formBuilder: UntypedFormBuilder, settings: LocalSettingsService, configService: ConfigService, modalCtrl: ModalController, network: NetworkService, cd: ChangeDetectorRef, environment: Environment);
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
- protected markForCheck(): void;
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,14 +1,12 @@
1
- import { ChangeDetectorRef, OnInit } from '@angular/core';
2
- import { ModalController } from '@ionic/angular';
3
- import { AccountService } from '../services/account.service';
1
+ import { OnInit } from '@angular/core';
4
2
  import * as i0 from "@angular/core";
5
3
  export declare class AppAuthModal implements OnInit {
6
- private accountService;
7
- private viewCtrl;
8
- private cd;
9
4
  get loading(): boolean;
10
5
  private form;
11
- constructor(accountService: AccountService, viewCtrl: ModalController, cd: ChangeDetectorRef);
6
+ private readonly accountService;
7
+ private readonly viewCtrl;
8
+ private readonly cd;
9
+ constructor();
12
10
  ngOnInit(): void;
13
11
  cancel(): void;
14
12
  doSubmit(): Promise<any>;
@@ -5,17 +5,17 @@ import { ShowToastOptions } from '../../shared/toast/toasts';
5
5
  import { TranslateService } from '@ngx-translate/core';
6
6
  import * as i0 from "@angular/core";
7
7
  export declare class AppResetPasswordModal implements OnInit {
8
- protected accountService: AccountService;
9
- protected viewCtrl: ModalController;
10
- protected toastController: ToastController;
11
- protected translate: TranslateService;
12
- protected cd: ChangeDetectorRef;
13
8
  protected sending: boolean;
14
9
  username: string;
15
10
  usernamePlaceholder: string;
16
11
  emailValidator: boolean;
17
12
  private form;
18
- constructor(accountService: AccountService, viewCtrl: ModalController, toastController: ToastController, translate: TranslateService, cd: ChangeDetectorRef);
13
+ protected readonly accountService: AccountService;
14
+ protected readonly viewCtrl: ModalController;
15
+ protected readonly toastController: ToastController;
16
+ protected readonly translate: TranslateService;
17
+ protected readonly cd: ChangeDetectorRef;
18
+ constructor();
19
19
  ngOnInit(): void;
20
20
  cancel(): Promise<void>;
21
21
  doSubmit(event?: any): Promise<void>;
@@ -1,4 +1,4 @@
1
- import { ChangeDetectorRef, Injector, OnDestroy, OnInit } from '@angular/core';
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, injection: Injector, cd: ChangeDetectorRef);
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
  }
@@ -14,12 +14,12 @@ 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
23
  readonly savingSubject: BehaviorSubject<boolean>;
24
24
  submitted: boolean;
25
25
  queryParams: Params;
@@ -32,7 +32,7 @@ export declare abstract class AppEditor<T = any, ID = number, O = any> extends A
32
32
  formButtonsBar: FormButtonsBarToken | null;
33
33
  content: IonContent;
34
34
  abstract get isNewData(): boolean;
35
- protected constructor(route: ActivatedRoute, router: Router, navController: NavController, alertCtrl: AlertController, translate: TranslateService);
35
+ protected constructor();
36
36
  ngOnInit(): void;
37
37
  ngAfterViewInit(): void;
38
38
  ngOnDestroy(): void;
@@ -1,4 +1,4 @@
1
- import { AfterViewInit, ChangeDetectorRef, Injector, OnDestroy, OnInit } from '@angular/core';
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(injector: Injector, dataType: new () => T, options?: O);
60
+ protected constructor(dataType: new () => T, options?: O);
62
61
  ngOnInit(): void;
63
62
  ngAfterViewInit(): void;
64
63
  ngOnDestroy(): void;
@@ -116,7 +115,6 @@ export declare abstract class AppEntityEditorModal<T extends Entity<T, ID>, ID =
116
115
  */
117
116
  protected updateTitle(data?: T): Promise<void>;
118
117
  protected scrollToTop(duration?: number): Promise<void>;
119
- protected markForCheck(): void;
120
118
  /**
121
119
  * Open the first tab that is invalid
122
120
  */
@@ -1,4 +1,4 @@
1
- import { AfterViewInit, ChangeDetectorRef, EventEmitter, Injector, OnDestroy, OnInit } from '@angular/core';
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(injector: Injector, dataType: new () => T, dataService?: S, options?: AppEditorOptions);
74
+ protected constructor(dataType: new () => T, dataService?: S, options?: AppEditorOptions);
77
75
  ngOnInit(): void;
78
76
  ngAfterViewInit(): void;
79
77
  ngOnDestroy(): void;
@@ -178,7 +176,6 @@ export declare abstract class AppEntityEditor<T extends Entity<T, ID>, S extends
178
176
  protected computePageUrl(id: ID | 'new'): string | any[];
179
177
  protected getParentPageUrl(withQueryParams?: boolean): string;
180
178
  protected listenChanges(id: ID, opts?: any): Observable<T | undefined>;
181
- protected markForCheck(): void;
182
179
  /**
183
180
  * Update the route, without reloading the component
184
181
  *
@@ -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(route: ActivatedRoute, // Modal editor give 'null'
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; }, null, null, null, null, { 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 { OnDestroy, OnInit } from '@angular/core';
1
+ import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
2
2
  import { BehaviorSubject, Subject, Subscription } from 'rxjs';
3
3
  import { IAppForm, IAppFormGetter } from './form.utils';
4
4
  import { WaitForOptions } from '../../shared/observables';
@@ -25,6 +25,7 @@ export declare abstract class AppFormContainer<T = any> implements IAppFormConta
25
25
  protected _logPrefix: string;
26
26
  protected _enabled: boolean;
27
27
  protected readonly destroySubject: Subject<void>;
28
+ protected readonly cd: ChangeDetectorRef;
28
29
  readonly readySubject: BehaviorSubject<boolean>;
29
30
  readonly loadingSubject: BehaviorSubject<boolean>;
30
31
  readonly dirtySubject: BehaviorSubject<boolean>;
@@ -1,4 +1,4 @@
1
- import { EventEmitter, Injector, OnDestroy, OnInit } from '@angular/core';
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(injector: Injector, form?: UntypedFormGroup);
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 { ChangeDetectorRef, EventEmitter, Injector, OnInit } from '@angular/core';
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(injector: Injector, formBuilder: UntypedFormBuilder, dateAdapter: DateAdapter<Moment>, settings: LocalSettingsService, cd: ChangeDetectorRef, formGroupDir: FormGroupDirective);
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
- protected markForCheck(): void;
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 { ChangeDetectorRef, Injector, OnInit } from '@angular/core';
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(injector: Injector, formBuilder: UntypedFormBuilder, dateAdapter: DateAdapter<Moment>, settings: LocalSettingsService, cd: ChangeDetectorRef, validator: PropertyValidator, formGroupDir: FormGroupDirective);
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
- protected markForCheck(): void;
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 { Injector, OnInit } from '@angular/core';
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';
@@ -30,8 +30,7 @@ export declare class PropertyEntityFilter extends EntityFilter<PropertyEntityFil
30
30
  protected isCriteriaNotEmpty(key: string, value: any): boolean;
31
31
  }
32
32
  export declare class PropertyEntityValidator extends AppValidatorService<PropertyEntity> {
33
- protected formBuilder: UntypedFormBuilder;
34
- constructor(formBuilder: UntypedFormBuilder);
33
+ constructor();
35
34
  getFormGroupConfig(data?: PropertyEntity): {
36
35
  [p: string]: any;
37
36
  };
@@ -39,7 +38,6 @@ export declare class PropertyEntityValidator extends AppValidatorService<Propert
39
38
  static ɵdir: i0.ɵɵDirectiveDeclaration<PropertyEntityValidator, never, never, {}, {}, never, never, false, never>;
40
39
  }
41
40
  export declare class AppPropertiesTable extends AppInMemoryTable<PropertyEntity, PropertyEntityFilter, string> implements OnInit {
42
- protected injector: Injector;
43
41
  protected formBuilder: UntypedFormBuilder;
44
42
  protected validatorService: PropertyEntityValidator;
45
43
  definitions: FormFieldDefinition[];
@@ -50,7 +48,7 @@ export declare class AppPropertiesTable extends AppInMemoryTable<PropertyEntity,
50
48
  filterForm: UntypedFormGroup;
51
49
  filterCriteriaCount: number;
52
50
  filterPanelFloating: boolean;
53
- constructor(injector: Injector, formBuilder: UntypedFormBuilder, validatorService: PropertyEntityValidator, environment: Environment);
51
+ constructor(formBuilder: UntypedFormBuilder, validatorService: PropertyEntityValidator, environment: Environment);
54
52
  ngOnInit(): void;
55
53
  get value(): PropertyEntity[];
56
54
  set value(data: PropertyEntity[]);
@@ -1,10 +1,8 @@
1
- import { UntypedFormBuilder } from '@angular/forms';
2
1
  import { Property } from '../../../shared/types';
3
2
  import { AppValidatorService } from '../../services/validator/base.validator.class';
4
3
  import * as i0 from "@angular/core";
5
4
  export declare class PropertyValidator extends AppValidatorService<Property> {
6
- protected formBuilder: UntypedFormBuilder;
7
- constructor(formBuilder: UntypedFormBuilder);
5
+ constructor();
8
6
  getFormGroupConfig(data?: Property): {
9
7
  [p: string]: any;
10
8
  };