@sumaris-net/ngx-components 2.12.26 → 2.12.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/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.26",
4
+ "version": "2.12.27",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -1,4 +1,4 @@
1
- import { ChangeDetectorRef, Injector, OnInit } from '@angular/core';
1
+ import { Injector, 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(injector: Injector, 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,5 +1,4 @@
1
- import { ChangeDetectorRef, Injector, OnInit } from '@angular/core';
2
- import { UntypedFormBuilder } from '@angular/forms';
1
+ import { Injector, OnInit } from '@angular/core';
3
2
  import { ValidatorService } from '@e-is/ngx-material-table';
4
3
  import { TokenScope, UserToken } from '../services/model/token.model';
5
4
  import { AppInMemoryTable } from '../table/memory-table.class';
@@ -8,16 +7,12 @@ import { ConfigService } from '../services/config.service';
8
7
  import { Configuration } from '../services/model/config.model';
9
8
  import * as i0 from "@angular/core";
10
9
  export declare class UserTokenTable extends AppInMemoryTable<UserToken> implements OnInit {
11
- protected injector: Injector;
12
- protected formBuilder: UntypedFormBuilder;
13
- protected validatorService: ValidatorService;
14
- protected cd: ChangeDetectorRef;
15
10
  protected configService: ConfigService;
16
11
  protected tokenScopes: TokenScope[];
17
12
  useSticky: boolean;
18
13
  protected showScopes: boolean;
19
14
  protected defaultScope: string;
20
- constructor(injector: Injector, formBuilder: UntypedFormBuilder, validatorService: ValidatorService, cd: ChangeDetectorRef, configService: ConfigService, environment: Environment, tokenScopes: TokenScope[]);
15
+ constructor(injector: Injector, validatorService: ValidatorService, configService: ConfigService, environment: Environment, tokenScopes: TokenScope[]);
21
16
  ngOnInit(): void;
22
17
  get value(): UserToken[];
23
18
  set value(data: UserToken[]);
@@ -27,7 +22,6 @@ export declare class UserTokenTable extends AppInMemoryTable<UserToken> implemen
27
22
  addToken(event: UIEvent): Promise<void>;
28
23
  display(scopes: TokenScope[]): string;
29
24
  protected onConfigLoaded(config: Configuration): void;
30
- protected markForCheck(): void;
31
- static ɵfac: i0.ɵɵFactoryDeclaration<UserTokenTable, [null, null, null, null, null, null, { optional: true; }]>;
25
+ static ɵfac: i0.ɵɵFactoryDeclaration<UserTokenTable, [null, null, null, null, { optional: true; }]>;
32
26
  static ɵcmp: i0.ɵɵComponentDeclaration<UserTokenTable, "app-user-token-table", never, { "useSticky": { "alias": "useSticky"; "required": false; }; }, {}, never, never, false, never>;
33
27
  }
@@ -1,4 +1,4 @@
1
- import { AfterViewInit, ChangeDetectorRef, Injector, OnDestroy, OnInit } from '@angular/core';
1
+ import { AfterViewInit, Injector, OnDestroy, OnInit } from '@angular/core';
2
2
  import { AppTable } from '../table.class';
3
3
  import { Referential } from '../../services/model/referential.model';
4
4
  import { IonInfiniteScroll } from '@ionic/angular';
@@ -12,8 +12,7 @@ import * as i0 from "@angular/core";
12
12
  export declare class TableTestPage extends AppTable<Referential, ReferentialFilter> implements OnInit, OnDestroy, AfterViewInit {
13
13
  protected validatorService: AppValidatorService;
14
14
  protected formBuilder: UntypedFormBuilder;
15
- protected cd: ChangeDetectorRef;
16
- readonly maxRowCount = 100;
15
+ static readonly maxRowCount = 100;
17
16
  timer: Subscription;
18
17
  canEdit: boolean;
19
18
  data: Referential[];
@@ -31,7 +30,7 @@ export declare class TableTestPage extends AppTable<Referential, ReferentialFilt
31
30
  filterExpansionPanel: MatExpansionPanel;
32
31
  infiniteScroll: IonInfiniteScroll;
33
32
  get dataService(): InMemoryEntitiesService<Referential>;
34
- constructor(injector: Injector, validatorService: AppValidatorService, formBuilder: UntypedFormBuilder, cd: ChangeDetectorRef);
33
+ constructor(injector: Injector, validatorService: AppValidatorService, formBuilder: UntypedFormBuilder);
35
34
  ngOnInit(): void;
36
35
  ngAfterViewInit(): Promise<void>;
37
36
  ngOnDestroy(): void;
@@ -50,7 +49,6 @@ export declare class TableTestPage extends AppTable<Referential, ReferentialFilt
50
49
  startTimer(): void;
51
50
  stopTimer(): void;
52
51
  protected generateData(offset?: number, size?: number): Referential[];
53
- protected markForCheck(): void;
54
52
  static ɵfac: i0.ɵɵFactoryDeclaration<TableTestPage, never>;
55
53
  static ɵcmp: i0.ɵɵComponentDeclaration<TableTestPage, "app-table-testing", never, { "filterPanelFloating": { "alias": "filterPanelFloating"; "required": false; }; "enableInfiniteScroll": { "alias": "enableInfiniteScroll"; "required": false; }; "sticky": { "alias": "sticky"; "required": false; }; "stickyEnd": { "alias": "stickyEnd"; "required": false; }; }, {}, never, never, false, never>;
56
54
  }
@@ -1,4 +1,4 @@
1
- import { AfterViewInit, ChangeDetectorRef, Injector, OnDestroy, OnInit } from '@angular/core';
1
+ import { AfterViewInit, Injector, OnDestroy, OnInit } from '@angular/core';
2
2
  import { AppTable } from '../table.class';
3
3
  import { Referential } from '../../services/model/referential.model';
4
4
  import { IonInfiniteScroll } from '@ionic/angular';
@@ -11,8 +11,7 @@ import * as i0 from "@angular/core";
11
11
  export declare class Table2TestPage extends AppTable<Referential, ReferentialFilter> implements OnInit, OnDestroy, AfterViewInit {
12
12
  protected validatorService: AppValidatorService;
13
13
  protected formBuilder: UntypedFormBuilder;
14
- protected cd: ChangeDetectorRef;
15
- readonly maxRowCount = 100;
14
+ static readonly maxRowCount = 100;
16
15
  canEdit: boolean;
17
16
  data: Referential[];
18
17
  filterForm: UntypedFormGroup;
@@ -28,7 +27,7 @@ export declare class Table2TestPage extends AppTable<Referential, ReferentialFil
28
27
  filterExpansionPanel: MatExpansionPanel;
29
28
  infiniteScroll: IonInfiniteScroll;
30
29
  get dataService(): InMemoryEntitiesService<Referential>;
31
- constructor(injector: Injector, validatorService: AppValidatorService, formBuilder: UntypedFormBuilder, cd: ChangeDetectorRef);
30
+ constructor(injector: Injector, validatorService: AppValidatorService, formBuilder: UntypedFormBuilder);
32
31
  ngOnInit(): void;
33
32
  ngAfterViewInit(): Promise<void>;
34
33
  ngOnDestroy(): void;
@@ -44,7 +43,6 @@ export declare class Table2TestPage extends AppTable<Referential, ReferentialFil
44
43
  closeFilterPanel(): void;
45
44
  resetFilter(_?: Event): void;
46
45
  protected generateData(offset?: number, size?: number): Referential[];
47
- protected markForCheck(): void;
48
46
  static ɵfac: i0.ɵɵFactoryDeclaration<Table2TestPage, never>;
49
47
  static ɵcmp: i0.ɵɵComponentDeclaration<Table2TestPage, "app-table2-testing", never, { "filterPanelFloating": { "alias": "filterPanelFloating"; "required": false; }; "sticky": { "alias": "sticky"; "required": false; }; "stickyEnd": { "alias": "stickyEnd"; "required": false; }; }, {}, never, ["[suffix]"], false, never>;
50
48
  }
@@ -2,7 +2,7 @@
2
2
  "name": "ngx-sumaris-components",
3
3
  "short_name": "ngx-sumaris-components",
4
4
  "manifest_version": 1,
5
- "version": "2.12.26",
5
+ "version": "2.12.27",
6
6
  "default_locale": "fr",
7
7
  "description": "Angular components for building beautiful and responsive Apps",
8
8
  "icons": [{