@sumaris-net/ngx-components 2.8.0-rc3 → 2.8.0-rc4

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.8.0-rc3",
4
+ "version": "2.8.0-rc4",
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 } from '@angular/core';
1
+ import { ChangeDetectorRef, OnDestroy, PipeTransform } from '@angular/core';
2
2
  import { SelectionModel } from '@angular/cdk/collections';
3
3
  import { AbstractSelectionModelPipe } from '../../shared/pipes/selection.pipes';
4
4
  import { AppTable } from './table.class';
@@ -11,16 +11,14 @@ export declare abstract class AbstractTableSelectionPipe<R, O, T extends AppTabl
11
11
  transform(selectionOrTable: SelectionModel<any> | T, tableOrOpts?: T | O, opts?: O): R;
12
12
  protected _subscribe(selection: SelectionModel<any>, table?: T, opts?: O): Subscription;
13
13
  protected _dispose(): void;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<AbstractTableSelectionPipe<any, any, any>, never>;
15
- static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractTableSelectionPipe<any, any, any>, never, never, {}, {}, never, never, false, never>;
16
14
  }
17
- export declare class IsAllSelectedPipe extends AbstractTableSelectionPipe<boolean, AppTableRowCountProperty> {
15
+ export declare class IsAllSelectedPipe extends AbstractTableSelectionPipe<boolean, AppTableRowCountProperty> implements PipeTransform, OnDestroy {
18
16
  constructor(_ref: ChangeDetectorRef);
19
17
  protected _transform(selection: SelectionModel<any>, table: AppTable<any>, countPropertyName?: AppTableRowCountProperty): boolean;
20
18
  static ɵfac: i0.ɵɵFactoryDeclaration<IsAllSelectedPipe, never>;
21
19
  static ɵpipe: i0.ɵɵPipeDeclaration<IsAllSelectedPipe, "isAllSelected", false>;
22
20
  }
23
- export declare class IsNotAllSelectedPipe extends IsAllSelectedPipe {
21
+ export declare class IsNotAllSelectedPipe extends IsAllSelectedPipe implements PipeTransform, OnDestroy {
24
22
  constructor(_ref: ChangeDetectorRef);
25
23
  protected _transform(selection: SelectionModel<any>, table: AppTable<any>, countPropertyName?: AppTableRowCountProperty): boolean;
26
24
  static ɵfac: i0.ɵɵFactoryDeclaration<IsNotAllSelectedPipe, never>;
@@ -3,7 +3,7 @@ import { Moment } from 'moment';
3
3
  import { TranslateService } from '@ngx-translate/core';
4
4
  import { MomentDateAdapter } from '@angular/material-moment-adapter';
5
5
  import * as i0 from "@angular/core";
6
- export declare abstract class AbstractDateFormat {
6
+ declare abstract class AbstractDateFormat {
7
7
  protected dateAdapter: MomentDateAdapter;
8
8
  protected translate: TranslateService;
9
9
  private datePattern;
@@ -32,3 +32,4 @@ export declare class DateFormatService extends AbstractDateFormat implements OnD
32
32
  static ɵfac: i0.ɵɵFactoryDeclaration<DateFormatService, never>;
33
33
  static ɵprov: i0.ɵɵInjectableDeclaration<DateFormatService>;
34
34
  }
35
+ export {};
@@ -23,14 +23,14 @@ export declare abstract class AbstractSelectionModelPipe<T, R, O = void> impleme
23
23
  static ɵfac: i0.ɵɵFactoryDeclaration<AbstractSelectionModelPipe<any, any, any>, never>;
24
24
  static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractSelectionModelPipe<any, any, any>, never, never, {}, {}, never, never, false, never>;
25
25
  }
26
- export declare class IsSelectedPipe extends AbstractSelectionModelPipe<any, boolean> {
26
+ export declare class IsSelectedPipe extends AbstractSelectionModelPipe<any, boolean> implements PipeTransform, OnDestroy {
27
27
  constructor(_ref: ChangeDetectorRef);
28
28
  protected _transform(selection: SelectionModel<any>, value: any): boolean;
29
29
  protected _filterSelectionChange(selectionChange: SelectionChange<any>, value: any): boolean;
30
30
  static ɵfac: i0.ɵɵFactoryDeclaration<IsSelectedPipe, never>;
31
31
  static ɵpipe: i0.ɵɵPipeDeclaration<IsSelectedPipe, "isSelected", false>;
32
32
  }
33
- export declare class IsNotEmptySelectionPipe extends AbstractSelectionModelPipe<void, boolean> {
33
+ export declare class IsNotEmptySelectionPipe extends AbstractSelectionModelPipe<void, boolean> implements PipeTransform, OnDestroy {
34
34
  constructor(_ref: ChangeDetectorRef);
35
35
  protected _transform(selection: SelectionModel<any>): boolean;
36
36
  static ɵfac: i0.ɵɵFactoryDeclaration<IsNotEmptySelectionPipe, never>;
@@ -42,13 +42,13 @@ export declare class IsEmptySelectionPipe extends AbstractSelectionModelPipe<voi
42
42
  static ɵfac: i0.ɵɵFactoryDeclaration<IsEmptySelectionPipe, never>;
43
43
  static ɵpipe: i0.ɵɵPipeDeclaration<IsEmptySelectionPipe, "isEmptySelection", false>;
44
44
  }
45
- export declare class SelectionLengthPipe extends AbstractSelectionModelPipe<void, number> {
45
+ export declare class SelectionLengthPipe extends AbstractSelectionModelPipe<void, number> implements PipeTransform, OnDestroy {
46
46
  constructor(_ref: ChangeDetectorRef);
47
47
  protected _transform(selection: SelectionModel<any>): number;
48
48
  static ɵfac: i0.ɵɵFactoryDeclaration<SelectionLengthPipe, never>;
49
49
  static ɵpipe: i0.ɵɵPipeDeclaration<SelectionLengthPipe, "selectionLength", false>;
50
50
  }
51
- export declare class IsMultipleSelectionPipe extends AbstractSelectionModelPipe<void, boolean> {
51
+ export declare class IsMultipleSelectionPipe extends AbstractSelectionModelPipe<void, boolean> implements PipeTransform, OnDestroy {
52
52
  constructor(_ref: ChangeDetectorRef);
53
53
  protected _transform(selection: SelectionModel<any>): boolean;
54
54
  static ɵfac: i0.ɵɵFactoryDeclaration<IsMultipleSelectionPipe, never>;
@@ -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.8.0-rc3",
5
+ "version": "2.8.0-rc4",
6
6
  "default_locale": "fr",
7
7
  "description": "Angular components for building beautiful and responsive Apps",
8
8
  "icons": [{