@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
@@ -1,17 +1,15 @@
1
- import { ChangeDetectorRef, Injector } from '@angular/core';
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(injector: Injector, formBuilder: UntypedFormBuilder, cd: ChangeDetectorRef);
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,19 +1,13 @@
1
- import { ChangeDetectorRef, InjectionToken, OnDestroy } from '@angular/core';
2
- import { ModalController, ToastController } from '@ionic/angular';
1
+ import { InjectionToken, OnDestroy } from '@angular/core';
3
2
  import { BehaviorSubject } from 'rxjs';
4
- import { AccountService } from '../services/account.service';
5
3
  import { Account } from '../services/model/account.model';
6
4
  import { Configuration } from '../services/model/config.model';
7
5
  import { Department } from '../services/model/department.model';
8
- import { LocaleConfig, LocalSettings } from '../services/model/settings.model';
9
- import { TranslateService } from '@ngx-translate/core';
10
- import { ConfigService } from '../services/config.service';
11
- import { PlatformService } from '../services/platform.service';
6
+ import { LocalSettings } from '../services/model/settings.model';
12
7
  import { LocalSettingsService } from '../services/local-settings.service';
13
8
  import { NetworkService } from '../services/network.service';
14
9
  import { IMenuItem } from '../menu/menu.model';
15
10
  import { ShowToastOptions } from '../../shared/toast/toasts';
16
- import { Environment } from '../../../environments/environment.class';
17
11
  import { HistoryPageReference } from '../services/model/history.model';
18
12
  import { RxState } from '@rx-angular/state';
19
13
  import { ImagesUtils } from '../../shared/file/images.utils';
@@ -32,18 +26,6 @@ export interface HomePageState {
32
26
  pageHistory: HistoryPageReference[];
33
27
  }
34
28
  export declare class HomePage extends RxState<HomePageState> implements OnDestroy {
35
- private accountService;
36
- private modalCtrl;
37
- private translate;
38
- private toastController;
39
- private configService;
40
- private platform;
41
- private cd;
42
- network: NetworkService;
43
- settings: LocalSettingsService;
44
- protected environment: Environment;
45
- locales: LocaleConfig[];
46
- buttons: IMenuItem[];
47
29
  private readonly _debug;
48
30
  private _subscription;
49
31
  private _config;
@@ -72,7 +54,19 @@ export declare class HomePage extends RxState<HomePageState> implements OnDestro
72
54
  set showPartnerBanner(value: boolean);
73
55
  get showPartnerBanner(): boolean;
74
56
  get currentLocaleCode(): string;
75
- constructor(accountService: AccountService, modalCtrl: ModalController, translate: TranslateService, toastController: ToastController, configService: ConfigService, platform: PlatformService, cd: ChangeDetectorRef, network: NetworkService, settings: LocalSettingsService, environment: Environment, locales: LocaleConfig[], buttons: IMenuItem[]);
57
+ private readonly accountService;
58
+ private readonly modalCtrl;
59
+ private readonly translate;
60
+ private readonly toastController;
61
+ private readonly configService;
62
+ private readonly platform;
63
+ private readonly cd;
64
+ network: NetworkService;
65
+ settings: LocalSettingsService;
66
+ protected environment: import("../../../environments/environment.class").Environment;
67
+ locales: import("../services/model/settings.model").LocaleConfig[];
68
+ buttons: IMenuItem[];
69
+ constructor();
76
70
  ngOnDestroy(): void;
77
71
  login(): Promise<void>;
78
72
  register(): Promise<void>;
@@ -89,6 +83,6 @@ export declare class HomePage extends RxState<HomePageState> implements OnDestro
89
83
  protected refreshButtons(account?: Account): void;
90
84
  protected removePageHistory(path: string): Promise<void>;
91
85
  protected markForCheck(): void;
92
- static ɵfac: i0.ɵɵFactoryDeclaration<HomePage, [null, null, null, null, null, null, null, null, null, null, null, { optional: true; }]>;
86
+ static ɵfac: i0.ɵɵFactoryDeclaration<HomePage, never>;
93
87
  static ɵcmp: i0.ɵɵComponentDeclaration<HomePage, "app-page-home", never, {}, {}, never, never, false, never>;
94
88
  }
@@ -1,10 +1,6 @@
1
- import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
2
- import { AlertController, ModalController, ToastController } from '@ionic/angular';
3
- import { ConfigService } from '../services/config.service';
1
+ import { OnDestroy, OnInit } from '@angular/core';
4
2
  import { PlatformService } from '../services/platform.service';
5
3
  import { NetworkService } from '../services/network.service';
6
- import { Environment } from '../../../environments/environment.class';
7
- import { TranslateService } from '@ngx-translate/core';
8
4
  import * as i0 from "@angular/core";
9
5
  export declare interface InstallAppLink {
10
6
  name: string;
@@ -19,15 +15,6 @@ export declare interface InstallAppLink {
19
15
  location?: string;
20
16
  }
21
17
  export declare class AppInstallUpgradeCard implements OnInit, OnDestroy {
22
- private modalCtrl;
23
- private configService;
24
- private toastController;
25
- private alertController;
26
- private translate;
27
- private cd;
28
- platform: PlatformService;
29
- network: NetworkService;
30
- protected environment: Environment;
31
18
  private _subscription;
32
19
  loading: boolean;
33
20
  hasDownloader: boolean;
@@ -41,7 +28,15 @@ export declare class AppInstallUpgradeCard implements OnInit, OnDestroy {
41
28
  showUpgradeWarning: boolean;
42
29
  showOfflineWarning: boolean;
43
30
  showInstallButton: boolean;
44
- constructor(modalCtrl: ModalController, configService: ConfigService, toastController: ToastController, alertController: AlertController, translate: TranslateService, cd: ChangeDetectorRef, platform: PlatformService, network: NetworkService, environment: Environment);
31
+ private readonly configService;
32
+ private readonly toastController;
33
+ private readonly alertController;
34
+ private readonly translate;
35
+ private readonly cd;
36
+ platform: PlatformService;
37
+ network: NetworkService;
38
+ protected environment: import("../../../environments/environment.class").Environment;
39
+ constructor();
45
40
  ngOnInit(): void;
46
41
  ngOnDestroy(): void;
47
42
  download(event: Event, link: InstallAppLink): Promise<void>;
@@ -1,28 +1,14 @@
1
1
  import { ChangeDetectorRef, OnInit } from '@angular/core';
2
- import { AlertController, IonSplitPane, MenuController, ModalController, NavController } from '@ionic/angular';
2
+ import { IonSplitPane, MenuController, ModalController, NavController } from '@ionic/angular';
3
3
  import { Account } from '../services/model/account.model';
4
4
  import { AccountService } from '../services/account.service';
5
5
  import { TranslateService } from '@ngx-translate/core';
6
- import { PlatformService } from '../services/platform.service';
7
- import { Environment } from '../../../environments/environment.class';
8
6
  import { MenuService, SplitPaneShowWhen } from './menu.service';
9
7
  import { IMenuItem, MenuItem } from './menu.model';
10
8
  import { ActivatedRoute, Router } from '@angular/router';
11
9
  import { RxStrategyNames } from '@rx-angular/cdk/render-strategies';
12
10
  import * as i0 from "@angular/core";
13
11
  export declare class MenuComponent implements OnInit {
14
- protected platformService: PlatformService;
15
- protected accountService: AccountService;
16
- protected navController: NavController;
17
- protected menu: MenuController;
18
- protected modalCtrl: ModalController;
19
- protected alertController: AlertController;
20
- protected translate: TranslateService;
21
- protected cd: ChangeDetectorRef;
22
- protected menuService: MenuService;
23
- protected router: Router;
24
- protected environment: Environment;
25
- protected route: ActivatedRoute;
26
12
  id: string;
27
13
  menuId: string;
28
14
  side: string;
@@ -39,7 +25,17 @@ export declare class MenuComponent implements OnInit {
39
25
  accountEmail: string;
40
26
  private readonly _debug;
41
27
  private _subscription;
42
- constructor(platformService: PlatformService, accountService: AccountService, navController: NavController, menu: MenuController, modalCtrl: ModalController, alertController: AlertController, translate: TranslateService, cd: ChangeDetectorRef, menuService: MenuService, router: Router, environment: Environment, route: ActivatedRoute);
28
+ protected readonly accountService: AccountService;
29
+ protected readonly navController: NavController;
30
+ protected readonly menu: MenuController;
31
+ protected readonly modalCtrl: ModalController;
32
+ protected readonly translate: TranslateService;
33
+ protected readonly cd: ChangeDetectorRef;
34
+ protected readonly menuService: MenuService;
35
+ protected readonly router: Router;
36
+ protected environment: import("../../../environments/environment.class").Environment;
37
+ protected route: ActivatedRoute;
38
+ constructor();
43
39
  ngOnInit(): Promise<void>;
44
40
  onLogin(account: Account): Promise<void>;
45
41
  onLogout(skipRedirect?: boolean): Promise<void>;
@@ -64,6 +60,6 @@ export declare class MenuComponent implements OnInit {
64
60
  protected detectChanges(): void;
65
61
  protected markForCheck(): void;
66
62
  protected togglePinned(event: Event, item: IMenuItem): void;
67
- static ɵfac: i0.ɵɵFactoryDeclaration<MenuComponent, [null, null, null, null, null, null, null, null, null, null, null, { optional: true; }]>;
63
+ static ɵfac: i0.ɵɵFactoryDeclaration<MenuComponent, never>;
68
64
  static ɵcmp: i0.ɵɵComponentDeclaration<MenuComponent, "app-menu", never, { "id": { "alias": "id"; "required": false; }; "menuId": { "alias": "menuId"; "required": false; }; "side": { "alias": "side"; "required": false; }; "contentId": { "alias": "contentId"; "required": false; }; "logo": { "alias": "logo"; "required": false; }; "appName": { "alias": "appName"; "required": false; }; "rxStrategy": { "alias": "rxStrategy"; "required": false; }; "appVersion": { "alias": "appVersion"; "required": false; }; }, {}, never, ["*", "[headerBottomRight]"], false, never>;
69
65
  }
@@ -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(route: ActivatedRoute, // Modal editor give 'null'
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(route: ActivatedRoute, // Modal editor give 'null'
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,12 +1,7 @@
1
- import { ChangeDetectorRef, EventEmitter, OnDestroy } from '@angular/core';
2
- import { ModalController, PopoverController } from '@ionic/angular';
1
+ import { EventEmitter, OnDestroy } from '@angular/core';
3
2
  import { Peer } from '../services/model/peer.model';
4
3
  import { Observable, Subject } from 'rxjs';
5
- import { HttpClient } from '@angular/common/http';
6
- import { Environment } from '../../../environments/environment.class';
7
4
  import { TextPopoverOptions } from '../form/text-popover/text-popover.component';
8
- import { TranslateService } from '@ngx-translate/core';
9
- import { ILoggingService } from '../../shared/logging/logger.model';
10
5
  import * as i0 from "@angular/core";
11
6
  export interface ISelectPeerModalOptions {
12
7
  canCancel: boolean;
@@ -16,13 +11,6 @@ export interface ISelectPeerModalOptions {
16
11
  selectedPeer?: string;
17
12
  }
18
13
  export declare class SelectPeerModal implements OnDestroy, ISelectPeerModalOptions {
19
- private modalCtrl;
20
- private popoverController;
21
- private translate;
22
- private http;
23
- private cd;
24
- protected environment: Environment;
25
- protected loggingService?: ILoggingService;
26
14
  private _subscription;
27
15
  private readonly _logger;
28
16
  protected loading: boolean;
@@ -35,7 +23,14 @@ export declare class SelectPeerModal implements OnDestroy, ISelectPeerModalOptio
35
23
  allowSelectDownPeer: boolean;
36
24
  showSetManuallyButton: boolean;
37
25
  onRefresh: EventEmitter<Event>;
38
- constructor(modalCtrl: ModalController, popoverController: PopoverController, translate: TranslateService, http: HttpClient, cd: ChangeDetectorRef, environment: Environment, loggingService?: ILoggingService);
26
+ private readonly modalCtrl;
27
+ private readonly popoverController;
28
+ private readonly translate;
29
+ private readonly http;
30
+ private readonly cd;
31
+ protected environment: import("../../../environments/environment.class").Environment;
32
+ protected loggingService: import("../../shared/logging/logger.model").ILoggingService;
33
+ constructor();
39
34
  set peers(peers: Observable<Peer[]>);
40
35
  cancel(): void;
41
36
  ngOnDestroy(): void;
@@ -52,7 +47,7 @@ export declare class SelectPeerModal implements OnDestroy, ISelectPeerModalOptio
52
47
  protected refreshPeer(peer: Peer): Promise<Peer>;
53
48
  protected openPeerUrlPopover(event: Event, opts?: Partial<TextPopoverOptions>): Promise<any>;
54
49
  protected markForCheck(): void;
55
- static ɵfac: i0.ɵɵFactoryDeclaration<SelectPeerModal, [null, null, null, null, null, null, { optional: true; }]>;
50
+ static ɵfac: i0.ɵɵFactoryDeclaration<SelectPeerModal, never>;
56
51
  static ɵcmp: i0.ɵɵComponentDeclaration<SelectPeerModal, "select-peer-modal", never, { "selectedPeer": { "alias": "selectedPeer"; "required": false; }; "canCancel": { "alias": "canCancel"; "required": false; }; "allowSelectDownPeer": { "alias": "allowSelectDownPeer"; "required": false; }; "showSetManuallyButton": { "alias": "showSetManuallyButton"; "required": false; }; "onRefresh": { "alias": "onRefresh"; "required": false; }; }, {}, never, never, false, never>;
57
52
  static ngAcceptInputType_canCancel: unknown;
58
53
  static ngAcceptInputType_allowSelectDownPeer: unknown;
@@ -1,10 +1,9 @@
1
- import { AbstractControlOptions, UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
1
+ import { AbstractControlOptions, UntypedFormGroup } from '@angular/forms';
2
2
  import { Referential } from '../model/referential.model';
3
3
  import { AppValidatorService } from '../validator/base.validator.class';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class ReferentialValidatorService<T extends Referential = Referential> extends AppValidatorService<T> {
6
- protected formBuilder: UntypedFormBuilder;
7
- constructor(formBuilder: UntypedFormBuilder);
6
+ constructor();
8
7
  getRowValidator(): UntypedFormGroup;
9
8
  getFormGroup(data?: T, opts?: {
10
9
  withDescription?: boolean;
@@ -1,20 +1,14 @@
1
- import { UntypedFormBuilder } from '@angular/forms';
2
1
  import { Account } from '../model/account.model';
3
- import { AccountService } from '../account.service';
4
2
  import { UserSettingsValidatorService } from './user-settings.validator';
5
3
  import { PersonValidatorOptions, PersonValidatorService } from '../../../admin/services/validator/person.validator';
6
- import { TranslateService } from '@ngx-translate/core';
7
4
  import * as i0 from "@angular/core";
8
5
  export interface AccountValidatorOptions extends PersonValidatorOptions {
9
6
  withSettings?: boolean;
10
7
  withTokens?: boolean;
11
8
  }
12
9
  export declare class AccountValidatorService<T extends Account = Account, O extends AccountValidatorOptions = AccountValidatorOptions> extends PersonValidatorService<T, O> {
13
- protected formBuilder: UntypedFormBuilder;
14
- protected translate: TranslateService;
15
- protected accountService: AccountService;
16
- protected userSettingsValidatorService: UserSettingsValidatorService;
17
- constructor(formBuilder: UntypedFormBuilder, translate: TranslateService, accountService: AccountService, userSettingsValidatorService: UserSettingsValidatorService);
10
+ protected readonly userSettingsValidatorService: UserSettingsValidatorService;
11
+ constructor();
18
12
  getFormGroupConfig(data?: T, opts?: O): {
19
13
  [key: string]: any[];
20
14
  };
@@ -5,9 +5,9 @@ import { TranslateService } from '@ngx-translate/core';
5
5
  import { FormErrors } from '../../../shared/forms';
6
6
  import * as i0 from "@angular/core";
7
7
  export declare abstract class AppValidatorService<T = any> extends ValidatorService implements IValidatorService<T> {
8
- protected formBuilder: UntypedFormBuilder;
9
- protected translate?: TranslateService;
10
- protected constructor(formBuilder: UntypedFormBuilder, translate?: TranslateService);
8
+ protected readonly formBuilder: UntypedFormBuilder;
9
+ protected readonly translate: TranslateService;
10
+ protected constructor();
11
11
  getRowValidator(): UntypedFormGroup;
12
12
  getFormGroup(data?: T): UntypedFormGroup;
13
13
  getFormGroupConfig(data?: T): {
@@ -1,11 +1,10 @@
1
- import { AbstractControl, UntypedFormBuilder, UntypedFormGroup, ValidationErrors } from '@angular/forms';
1
+ import { AbstractControl, UntypedFormGroup, ValidationErrors } from '@angular/forms';
2
2
  import { LocalSettings } from '../model/settings.model';
3
- import { NetworkService } from '../network.service';
4
3
  import { AppValidatorService } from './base.validator.class';
5
4
  import * as i0 from "@angular/core";
6
5
  export declare class LocalSettingsValidatorService extends AppValidatorService<LocalSettings> {
7
- private networkService;
8
- constructor(formBuilder: UntypedFormBuilder, networkService: NetworkService);
6
+ private readonly networkService;
7
+ constructor();
9
8
  getFormGroup(data?: LocalSettings): UntypedFormGroup;
10
9
  getPropertiesArray(array?: any): import("@angular/forms").UntypedFormArray;
11
10
  getPropertyFormGroup(data?: {
@@ -1,9 +1,9 @@
1
- import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
1
+ import { UntypedFormGroup } from '@angular/forms';
2
2
  import { AppValidatorService } from './base.validator.class';
3
3
  import { UserSettings } from '../model/account.model';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class UserSettingsValidatorService extends AppValidatorService<UserSettings> {
6
- constructor(formBuilder: UntypedFormBuilder);
6
+ constructor();
7
7
  getFormGroup(data?: UserSettings): UntypedFormGroup;
8
8
  static ɵfac: i0.ɵɵFactoryDeclaration<UserSettingsValidatorService, never>;
9
9
  static ɵprov: i0.ɵɵInjectableDeclaration<UserSettingsValidatorService>;
@@ -1,9 +1,9 @@
1
- import { UntypedFormBuilder, UntypedFormControl, UntypedFormGroup, ValidationErrors, ValidatorFn } from '@angular/forms';
1
+ import { UntypedFormControl, UntypedFormGroup, ValidationErrors, ValidatorFn } from '@angular/forms';
2
2
  import { AppValidatorService } from './base.validator.class';
3
3
  import { UserToken } from '../model/token.model';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class UserTokenValidatorService extends AppValidatorService<UserToken> {
6
- constructor(formBuilder: UntypedFormBuilder);
6
+ constructor();
7
7
  getFormGroup(data?: UserToken): UntypedFormGroup;
8
8
  updateFormGroup(formGroup: UntypedFormGroup, existingNames: string[]): void;
9
9
  static notAlreadyExists(existingNames: string[]): ValidatorFn;
@@ -1,14 +1,12 @@
1
- import { ChangeDetectorRef, InjectionToken, Injector, OnDestroy, OnInit } from '@angular/core';
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(injector: Injector, platform: PlatformService, navController: NavController, validatorService: LocalSettingsValidatorService, alertCtrl: AlertController, translate: TranslateService, formBuilder: UntypedFormBuilder, accountService: AccountService, settings: LocalSettingsService, cd: ChangeDetectorRef, network: NetworkService, locales: LocaleConfig[], menuItems?: IMenuItem[]);
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
- protected markForCheck(): void;
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
  }
@@ -1,4 +1,4 @@
1
- import { AfterViewInit, EventEmitter, Injector, OnDestroy, OnInit } from '@angular/core';
1
+ import { AfterViewInit, ChangeDetectorRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
2
  import { MatPaginator } from '@angular/material/paginator';
3
3
  import { MatSort, MatSortable, SortDirection } from '@angular/material/sort';
4
4
  import { MatTable } from '@angular/material/table';
@@ -31,21 +31,22 @@ export declare abstract class AppAsyncTable<T extends IEntity<T, ID>, F = any, I
31
31
  private _subscription;
32
32
  private _dataSourceLoadingSubscription;
33
33
  private _cellValueChangesDefs;
34
+ protected readonly route: ActivatedRoute;
35
+ protected readonly router: Router;
36
+ protected readonly navController: NavController;
37
+ protected readonly location: Location;
38
+ protected readonly settings: LocalSettingsService;
39
+ protected readonly translate: TranslateService;
40
+ protected readonly modalCtrl: ModalController;
41
+ protected readonly alertCtrl: AlertController;
42
+ protected readonly toastController: ToastController;
43
+ protected readonly formErrorAdapter: FormErrorTranslator;
44
+ protected readonly cd: ChangeDetectorRef;
45
+ protected readonly destroySubject: Subject<void>;
34
46
  protected _enabled: boolean;
35
47
  protected _autocompleteConfigHolder: MatAutocompleteConfigHolder;
36
48
  protected allowRowDetail: boolean;
37
- protected route: ActivatedRoute;
38
- protected router: Router;
39
- protected navController: NavController;
40
- protected location: Location;
41
- protected settings: LocalSettingsService;
42
- protected translate: TranslateService;
43
- protected modalCtrl: ModalController;
44
- protected alertCtrl: AlertController;
45
- protected toastController: ToastController;
46
49
  protected previouslyEditedRowId: number;
47
- protected formErrorAdapter: FormErrorTranslator;
48
- protected readonly destroySubject: Subject<void>;
49
50
  excludesColumns: string[];
50
51
  displayedColumns: string[];
51
52
  totalRowCount: number | null;
@@ -190,7 +191,7 @@ export declare abstract class AppAsyncTable<T extends IEntity<T, ID>, F = any, I
190
191
  table: MatTable<T>;
191
192
  childPaginator: MatPaginator;
192
193
  sort: MatSort;
193
- protected constructor(injector: Injector, columns: string[], _dataSource?: EntitiesAsyncTableDataSource<T, F, ID>, _filter?: F);
194
+ protected constructor(columns: string[], _dataSource?: EntitiesAsyncTableDataSource<T, F, ID>, _filter?: F);
194
195
  ngOnInit(): void;
195
196
  ngAfterViewInit(): void;
196
197
  ngOnDestroy(): void;
@@ -337,6 +338,7 @@ export declare abstract class AppAsyncTable<T extends IEntity<T, ID>, F = any, I
337
338
  protected getShowColumn(columnName: string): boolean;
338
339
  protected startsWithUpperCase(input: string, search: string): boolean;
339
340
  protected markForCheck(): void;
341
+ protected detectChanges(): void;
340
342
  protected askDeleteConfirmation(event?: Event, rows?: AsyncTableElement<T>[]): Promise<boolean>;
341
343
  protected askCancelConfirmation(event?: Event, rows?: AsyncTableElement<T>[]): Promise<boolean>;
342
344
  protected askRestoreConfirmation(event?: Event): Promise<boolean>;
@@ -1,11 +1,10 @@
1
- import { ChangeDetectorRef, EventEmitter, OnDestroy, OnInit, TemplateRef } from '@angular/core';
1
+ import { EventEmitter, OnDestroy, OnInit, TemplateRef } from '@angular/core';
2
2
  import { AsyncTableElement, TableElement } from '@e-is/ngx-material-table';
3
3
  import { MatColumnDef, MatTable } from '@angular/material/table';
4
4
  import { MatMenuTrigger } from '@angular/material/menu';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class ActionsColumnComponent<T extends TableElement<any> | AsyncTableElement<any> = TableElement<any>> implements OnInit, OnDestroy {
7
7
  private table;
8
- private cd;
9
8
  columnDef: MatColumnDef;
10
9
  matMenuTrigger: MatMenuTrigger;
11
10
  matColumnDef: string;
@@ -44,7 +43,8 @@ export declare class ActionsColumnComponent<T extends TableElement<any> | AsyncT
44
43
  event: Event;
45
44
  row: T;
46
45
  }>;
47
- constructor(table: MatTable<any>, cd: ChangeDetectorRef);
46
+ private readonly cd;
47
+ constructor(table: MatTable<any>);
48
48
  ngOnInit(): void;
49
49
  ngOnDestroy(): void;
50
50
  static ɵfac: i0.ɵɵFactoryDeclaration<ActionsColumnComponent<any>, never>;
@@ -1,4 +1,4 @@
1
- import { ChangeDetectorRef, EventEmitter, OnDestroy, OnInit, TemplateRef } from '@angular/core';
1
+ import { EventEmitter, OnDestroy, OnInit, TemplateRef } from '@angular/core';
2
2
  import { AsyncTableElement, TableElement } from '@e-is/ngx-material-table';
3
3
  import { MatColumnDef, MatTable } from '@angular/material/table';
4
4
  import { MatMenuTrigger } from '@angular/material/menu';
@@ -8,7 +8,6 @@ import { Subject, Subscription } from 'rxjs';
8
8
  import * as i0 from "@angular/core";
9
9
  export declare class NavActionsColumnComponent<T extends TableElement<any> | AsyncTableElement<any> = TableElement<any>> implements OnInit, OnDestroy {
10
10
  private matTable;
11
- private cd;
12
11
  _subscription: Subscription;
13
12
  _forwardEventSubject: Subject<{
14
13
  event: Event;
@@ -33,13 +32,14 @@ export declare class NavActionsColumnComponent<T extends TableElement<any> | Asy
33
32
  }>;
34
33
  throttleTime: number;
35
34
  optionsClick: EventEmitter<Event>;
36
- constructor(matTable: MatTable<any>, cd: ChangeDetectorRef, appTable: AppTable<any>, appAsyncTable: AppAsyncTable<any>);
35
+ private readonly cd;
36
+ constructor(matTable: MatTable<any>, appTable: AppTable<any>, appAsyncTable: AppAsyncTable<any>);
37
37
  ngOnInit(): void;
38
38
  ngOnDestroy(): void;
39
39
  protected cancelOrDelete(event: Event, row: T): void;
40
40
  protected confirmAndForward(event: Event, row: T): void;
41
41
  protected confirmAndBackward(event: Event, row: T): void;
42
- static ɵfac: i0.ɵɵFactoryDeclaration<NavActionsColumnComponent<any>, [null, null, { optional: true; }, { optional: true; }]>;
42
+ static ɵfac: i0.ɵɵFactoryDeclaration<NavActionsColumnComponent<any>, [null, { optional: true; }, { optional: true; }]>;
43
43
  static ɵcmp: i0.ɵɵComponentDeclaration<NavActionsColumnComponent<any>, "app-nav-actions-column", never, { "appTable": { "alias": "appTable"; "required": false; }; "matColumnDef": { "alias": "matColumnDef"; "required": false; }; "style": { "alias": "style"; "required": false; }; "stickyEnd": { "alias": "stickyEnd"; "required": false; }; "showPending": { "alias": "showPending"; "required": false; }; "dirtyIcon": { "alias": "dirtyIcon"; "required": false; }; "optionsTitle": { "alias": "optionsTitle"; "required": false; }; "classList": { "alias": "class"; "required": false; }; "cellTemplate": { "alias": "cellTemplate"; "required": false; }; "throttleTime": { "alias": "throttleTime"; "required": false; }; }, { "optionsClick": "optionsClick"; }, never, ["[matHeader]", "[matFooter]", "[matHeader]", "[matFooter]"], false, never>;
44
44
  static ngAcceptInputType_stickyEnd: unknown;
45
45
  static ngAcceptInputType_showPending: unknown;
@@ -7,7 +7,6 @@ import { MatColumnDef, MatTable } from '@angular/material/table';
7
7
  import { AsyncTableElement, TableElement } from '@e-is/ngx-material-table';
8
8
  import * as i0 from "@angular/core";
9
9
  export declare class AppRowField implements OnInit, OnDestroy {
10
- protected cd: ChangeDetectorRef;
11
10
  matTable: MatTable<any>;
12
11
  columnDef: MatColumnDef;
13
12
  name: string;
@@ -32,7 +31,8 @@ export declare class AppRowField implements OnInit, OnDestroy {
32
31
  classList: string;
33
32
  debug: boolean;
34
33
  protected logPrefix: string;
35
- constructor(cd: ChangeDetectorRef, matTable: MatTable<any>);
34
+ protected readonly cd: ChangeDetectorRef;
35
+ constructor(matTable: MatTable<any>);
36
36
  ngOnInit(): void;
37
37
  ngOnDestroy(): void;
38
38
  static ɵfac: i0.ɵɵFactoryDeclaration<AppRowField, never>;
@@ -1,4 +1,4 @@
1
- import { Injector, OnInit } from '@angular/core';
1
+ import { OnInit } from '@angular/core';
2
2
  import { ValidatorService } from '@e-is/ngx-material-table';
3
3
  import { EntitiesTableDataSourceConfig } from './entities-table-datasource.class';
4
4
  import { AppTable } from './table.class';
@@ -14,7 +14,7 @@ export declare abstract class AppInMemoryTable<T extends IEntity<T, ID>, F = any
14
14
  canDelete: boolean;
15
15
  set value(data: T[]);
16
16
  get value(): T[];
17
- protected constructor(injector: Injector, columns: string[], dataType: new () => T, memoryDataService: InMemoryEntitiesService<T, F, ID>, validatorService: ValidatorService, options?: EntitiesTableDataSourceConfig<T, ID>, filter?: F);
17
+ protected constructor(columns: string[], dataType: new () => T, memoryDataService: InMemoryEntitiesService<T, F, ID>, validatorService: ValidatorService, options?: EntitiesTableDataSourceConfig<T, ID>, filter?: F);
18
18
  ngOnInit(): void;
19
19
  setValue(value: T[], opts?: {
20
20
  emitEvent?: boolean;
@@ -1,4 +1,4 @@
1
- import { AfterViewInit, EventEmitter, Injector, OnDestroy, OnInit } from '@angular/core';
1
+ import { AfterViewInit, ChangeDetectorRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
2
  import { MatSort, MatSortable, SortDirection } from '@angular/material/sort';
3
3
  import { BehaviorSubject, Observable, Subject, Subscription } from 'rxjs';
4
4
  import { TableElement } from '@e-is/ngx-material-table';
@@ -31,21 +31,23 @@ export declare abstract class AppTable<T extends IEntity<T, ID>, F = any, ID = n
31
31
  private _subscription;
32
32
  private _dataSourceLoadingSubscription;
33
33
  private _cellValueChangesDefs;
34
+ protected readonly route: ActivatedRoute;
35
+ protected readonly router: Router;
36
+ protected readonly navController: NavController;
37
+ protected readonly location: Location;
38
+ protected readonly settings: LocalSettingsService;
39
+ protected readonly translate: TranslateService;
40
+ protected readonly modalCtrl: ModalController;
41
+ protected readonly alertCtrl: AlertController;
42
+ protected readonly toastController: ToastController;
43
+ protected readonly formErrorAdapter: FormErrorTranslator;
44
+ protected readonly cd: ChangeDetectorRef;
45
+ protected readonly destroySubject: Subject<void>;
34
46
  protected _enabled: boolean;
35
47
  protected _autocompleteConfigHolder: MatAutocompleteConfigHolder;
36
48
  protected allowRowDetail: boolean;
37
- protected route: ActivatedRoute;
38
- protected router: Router;
39
- protected navController: NavController;
40
- protected location: Location;
41
- protected settings: LocalSettingsService;
42
- protected translate: TranslateService;
43
- protected modalCtrl: ModalController;
44
- protected alertCtrl: AlertController;
45
- protected toastController: ToastController;
46
49
  protected previouslyEditedRowId: number;
47
- protected formErrorAdapter: FormErrorTranslator;
48
- protected readonly destroySubject: Subject<void>;
50
+ protected detectChangesOnEditRow: boolean;
49
51
  excludesColumns: string[];
50
52
  displayedColumns: string[];
51
53
  totalRowCount: number | null;
@@ -195,7 +197,7 @@ export declare abstract class AppTable<T extends IEntity<T, ID>, F = any, ID = n
195
197
  table: MatTable<T>;
196
198
  childPaginator: MatPaginator;
197
199
  sort: MatSort;
198
- protected constructor(injector: Injector, columns: string[], _dataSource?: EntitiesTableDataSource<T, F, ID>, _filter?: F);
200
+ protected constructor(columns: string[], _dataSource?: EntitiesTableDataSource<T, F, ID>, _filter?: F);
199
201
  ngOnInit(): void;
200
202
  ngAfterViewInit(): void;
201
203
  ngOnDestroy(): void;
@@ -342,6 +344,7 @@ export declare abstract class AppTable<T extends IEntity<T, ID>, F = any, ID = n
342
344
  protected getShowColumn(columnName: string): boolean;
343
345
  protected startsWithUpperCase(input: string, search: string): boolean;
344
346
  protected markForCheck(): void;
347
+ protected detectChanges(): void;
345
348
  protected askDeleteConfirmation(event?: Event, rows?: TableElement<T>[]): Promise<boolean>;
346
349
  protected askCancelConfirmation(event?: Event, rows?: TableElement<T>[]): Promise<boolean>;
347
350
  protected askRestoreConfirmation(event?: Event): Promise<boolean>;