@sumaris-net/ngx-components 2.12.25-rc1 → 2.12.25

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.25-rc1",
4
+ "version": "2.12.25",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -4,10 +4,20 @@ import { MatColumnDef, MatTable } from '@angular/material/table';
4
4
  import { MatMenuTrigger } from '@angular/material/menu';
5
5
  import { AppTable } from '../table.class';
6
6
  import { AppAsyncTable } from '../async-table.class';
7
+ import { Subject, Subscription } from 'rxjs';
7
8
  import * as i0 from "@angular/core";
8
9
  export declare class NavActionsColumnComponent<T extends TableElement<any> | AsyncTableElement<any> = TableElement<any>> implements OnInit, OnDestroy {
9
10
  private matTable;
10
11
  private cd;
12
+ _subscription: Subscription;
13
+ _forwardEventSubject: Subject<{
14
+ event: Event;
15
+ row: T;
16
+ }>;
17
+ _backwardEventSubject: Subject<{
18
+ event: Event;
19
+ row: T;
20
+ }>;
11
21
  columnDef: MatColumnDef;
12
22
  matMenuTrigger: MatMenuTrigger;
13
23
  appTable: AppTable<any> | AppAsyncTable<any>;
@@ -21,12 +31,16 @@ export declare class NavActionsColumnComponent<T extends TableElement<any> | Asy
21
31
  cellTemplate: TemplateRef<{
22
32
  $implicit: T;
23
33
  }>;
34
+ throttleTime: number;
24
35
  optionsClick: EventEmitter<Event>;
25
36
  constructor(matTable: MatTable<any>, cd: ChangeDetectorRef, appTable: AppTable<any>, appAsyncTable: AppAsyncTable<any>);
26
37
  ngOnInit(): void;
27
38
  ngOnDestroy(): void;
39
+ protected cancelOrDelete(event: Event, row: T): void;
40
+ protected confirmAndForward(event: Event, row: T): void;
41
+ protected confirmAndBackward(event: Event, row: T): void;
28
42
  static ɵfac: i0.ɵɵFactoryDeclaration<NavActionsColumnComponent<any>, [null, null, { optional: true; }, { optional: true; }]>;
29
- 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; }; }, { "optionsClick": "optionsClick"; }, never, ["[matHeader]", "[matFooter]", "[matHeader]", "[matFooter]"], false, never>;
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>;
30
44
  static ngAcceptInputType_stickyEnd: unknown;
31
45
  static ngAcceptInputType_showPending: unknown;
32
46
  }
@@ -36,7 +36,7 @@ export declare class IsNotEmptySelectionPipe extends AbstractSelectionModelPipe<
36
36
  static ɵfac: i0.ɵɵFactoryDeclaration<IsNotEmptySelectionPipe, never>;
37
37
  static ɵpipe: i0.ɵɵPipeDeclaration<IsNotEmptySelectionPipe, "isNotEmptySelection", false>;
38
38
  }
39
- export declare class IsEmptySelectionPipe extends AbstractSelectionModelPipe<void, boolean> implements PipeTransform {
39
+ export declare class IsEmptySelectionPipe extends AbstractSelectionModelPipe<void, boolean> {
40
40
  constructor(_ref: ChangeDetectorRef);
41
41
  protected _transform(selection: SelectionModel<any>): boolean;
42
42
  static ɵfac: i0.ɵɵFactoryDeclaration<IsEmptySelectionPipe, never>;
@@ -54,7 +54,7 @@ export declare class IsMultipleSelectionPipe extends AbstractSelectionModelPipe<
54
54
  static ɵfac: i0.ɵɵFactoryDeclaration<IsMultipleSelectionPipe, never>;
55
55
  static ɵpipe: i0.ɵɵPipeDeclaration<IsMultipleSelectionPipe, "isMultipleSelection", false>;
56
56
  }
57
- export declare class IsSingleSelectionPipe extends AbstractSelectionModelPipe<void, boolean> implements PipeTransform {
57
+ export declare class IsSingleSelectionPipe extends AbstractSelectionModelPipe<void, boolean> {
58
58
  constructor(_ref: ChangeDetectorRef);
59
59
  protected _transform(selection: SelectionModel<any>): boolean;
60
60
  static ɵfac: i0.ɵɵFactoryDeclaration<IsSingleSelectionPipe, 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.12.24",
5
+ "version": "2.12.25",
6
6
  "default_locale": "fr",
7
7
  "description": "Angular components for building beautiful and responsive Apps",
8
8
  "icons": [{