@sumaris-net/ngx-components 2.8.0-rc2 → 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-rc2",
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>;
@@ -8,7 +8,6 @@ import { AbstractControl, UntypedFormBuilder, UntypedFormGroup } from '@angular/
8
8
  import { ReferentialFilter } from '../../services/testing/referential-filter.model';
9
9
  import { MatExpansionPanel } from '@angular/material/expansion';
10
10
  import { Subscription } from 'rxjs';
11
- import { FormFieldDefinitionMap } from '../../../shared/form/field.model';
12
11
  import * as i0 from "@angular/core";
13
12
  export declare class TableTestPage extends AppTable<Referential, ReferentialFilter> implements OnInit, OnDestroy, AfterViewInit {
14
13
  protected validatorService: AppValidatorService;
@@ -24,8 +23,6 @@ export declare class TableTestPage extends AppTable<Referential, ReferentialFilt
24
23
  rowHeight: number;
25
24
  permanentSelectionAllowed: boolean;
26
25
  readonly statusList: readonly import("../../services/model/referential.model").IStatus[];
27
- readonly statusById: Readonly<import("@sumaris-net/ngx-components").KeyValueType<import("../../services/model/referential.model").IStatus>>;
28
- readonly columnDefinitions: FormFieldDefinitionMap;
29
26
  filterPanelFloating: boolean;
30
27
  enableInfiniteScroll: boolean;
31
28
  sticky: boolean;
@@ -31,9 +31,9 @@ export declare class MatBooleanField implements OnInit, ControlValueAccessor, In
31
31
  showButtonIcons: boolean;
32
32
  yesIcon: string;
33
33
  noIcon: string;
34
+ showRadio: boolean;
34
35
  onPressEnter: EventEmitter<any>;
35
36
  onBlur: EventEmitter<FocusEvent>;
36
- showRadio: boolean;
37
37
  protected _value: boolean;
38
38
  protected _tabindex: number;
39
39
  private _onChangeCallback;
@@ -60,5 +60,5 @@ export declare class MatBooleanField implements OnInit, ControlValueAccessor, In
60
60
  private updateTabIndex;
61
61
  private markForCheck;
62
62
  static ɵfac: i0.ɵɵFactoryDeclaration<MatBooleanField, [null, { optional: true; }]>;
63
- static ɵcmp: i0.ɵɵComponentDeclaration<MatBooleanField, "mat-boolean-field", never, { "disabled": { "alias": "disabled"; "required": false; }; "formControl": { "alias": "formControl"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "floatLabel": { "alias": "floatLabel"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "subscriptSizing": { "alias": "subscriptSizing"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "required": { "alias": "required"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "style": { "alias": "style"; "required": false; }; "buttonsColCount": { "alias": "buttonsColCount"; "required": false; }; "classList": { "alias": "class"; "required": false; }; "yesLabel": { "alias": "yesLabel"; "required": false; }; "noLabel": { "alias": "noLabel"; "required": false; }; "showButtonIcons": { "alias": "showButtonIcons"; "required": false; }; "yesIcon": { "alias": "yesIcon"; "required": false; }; "noIcon": { "alias": "noIcon"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "onPressEnter": "keyup.enter"; "onBlur": "onBlur"; }, never, ["[matPrefix]", "[matSuffix]"], false, never>;
63
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatBooleanField, "mat-boolean-field", never, { "disabled": { "alias": "disabled"; "required": false; }; "formControl": { "alias": "formControl"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "floatLabel": { "alias": "floatLabel"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "subscriptSizing": { "alias": "subscriptSizing"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "required": { "alias": "required"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "style": { "alias": "style"; "required": false; }; "buttonsColCount": { "alias": "buttonsColCount"; "required": false; }; "classList": { "alias": "class"; "required": false; }; "yesLabel": { "alias": "yesLabel"; "required": false; }; "noLabel": { "alias": "noLabel"; "required": false; }; "showButtonIcons": { "alias": "showButtonIcons"; "required": false; }; "yesIcon": { "alias": "yesIcon"; "required": false; }; "noIcon": { "alias": "noIcon"; "required": false; }; "showRadio": { "alias": "showRadio"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "onPressEnter": "keyup.enter"; "onBlur": "onBlur"; }, never, ["[matPrefix]", "[matSuffix]"], false, never>;
64
64
  }
@@ -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-rc2",
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": [{