@sumaris-net/ngx-components 2.12.21 → 2.12.22

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.21",
4
+ "version": "2.12.22",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -49,4 +49,11 @@ export declare class ActionsColumnComponent<T extends TableElement<any> | AsyncT
49
49
  ngOnDestroy(): void;
50
50
  static ɵfac: i0.ɵɵFactoryDeclaration<ActionsColumnComponent<any>, never>;
51
51
  static ɵcmp: i0.ɵɵComponentDeclaration<ActionsColumnComponent<any>, "app-actions-column", never, { "matColumnDef": { "alias": "matColumnDef"; "required": false; }; "style": { "alias": "style"; "required": false; }; "stickyEnd": { "alias": "stickyEnd"; "required": false; }; "canCancel": { "alias": "canCancel"; "required": false; }; "canConfirm": { "alias": "canConfirm"; "required": false; }; "canDelete": { "alias": "canDelete"; "required": false; }; "canBackward": { "alias": "canBackward"; "required": false; }; "canForward": { "alias": "canForward"; "required": false; }; "canConfirmAndAdd": { "alias": "canConfirmAndAdd"; "required": false; }; "dirtyIcon": { "alias": "dirtyIcon"; "required": false; }; "optionsTitle": { "alias": "optionsTitle"; "required": false; }; "classList": { "alias": "class"; "required": false; }; "cellTemplate": { "alias": "cellTemplate"; "required": false; }; }, { "optionsClick": "optionsClick"; "cancelOrDeleteClick": "cancelOrDeleteClick"; "confirmEditCreateClick": "confirmEditCreateClick"; "confirmAndAddClick": "confirmAndAddClick"; "backward": "backward"; "forward": "forward"; }, never, ["[matHeader]", "[matFooter]", "[matHeader]", "[matFooter]"], false, never>;
52
+ static ngAcceptInputType_stickyEnd: unknown;
53
+ static ngAcceptInputType_canCancel: unknown;
54
+ static ngAcceptInputType_canConfirm: unknown;
55
+ static ngAcceptInputType_canDelete: unknown;
56
+ static ngAcceptInputType_canBackward: unknown;
57
+ static ngAcceptInputType_canForward: unknown;
58
+ static ngAcceptInputType_canConfirmAndAdd: unknown;
52
59
  }
@@ -1,16 +1,16 @@
1
- import { ChangeDetectorRef, EventEmitter, Injector, OnDestroy, OnInit, TemplateRef } from '@angular/core';
1
+ import { ChangeDetectorRef, 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 { AppTable } from '../table.class';
6
6
  import { AppAsyncTable } from '../async-table.class';
7
7
  import * as i0 from "@angular/core";
8
- export declare class NavActionsColumnComponent implements OnInit, OnDestroy {
8
+ export declare class NavActionsColumnComponent<T extends TableElement<any> | AsyncTableElement<any> = TableElement<any>> implements OnInit, OnDestroy {
9
9
  private matTable;
10
10
  private cd;
11
- protected readonly appTable: AppTable<any> | AppAsyncTable<any>;
12
11
  columnDef: MatColumnDef;
13
12
  matMenuTrigger: MatMenuTrigger;
13
+ appTable: AppTable<any> | AppAsyncTable<any>;
14
14
  matColumnDef: string;
15
15
  style: 'table' | 'mat-table';
16
16
  stickyEnd: boolean;
@@ -19,14 +19,14 @@ export declare class NavActionsColumnComponent implements OnInit, OnDestroy {
19
19
  optionsTitle: string;
20
20
  classList: string;
21
21
  cellTemplate: TemplateRef<{
22
- $implicit: TableElement<any> | AsyncTableElement<any>;
22
+ $implicit: T;
23
23
  }>;
24
24
  optionsClick: EventEmitter<Event>;
25
- constructor(injector: Injector, matTable: MatTable<any>, cd: ChangeDetectorRef);
25
+ constructor(matTable: MatTable<any>, cd: ChangeDetectorRef, appTable: AppTable<any>, appAsyncTable: AppAsyncTable<any>);
26
26
  ngOnInit(): void;
27
27
  ngOnDestroy(): void;
28
- static ɵfac: i0.ɵɵFactoryDeclaration<NavActionsColumnComponent, never>;
29
- static ɵcmp: i0.ɵɵComponentDeclaration<NavActionsColumnComponent, "app-nav-actions-column", never, { "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>;
28
+ 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>;
30
30
  static ngAcceptInputType_stickyEnd: unknown;
31
31
  static ngAcceptInputType_showPending: unknown;
32
32
  }
@@ -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.21",
5
+ "version": "2.12.22",
6
6
  "default_locale": "fr",
7
7
  "description": "Angular components for building beautiful and responsive Apps",
8
8
  "icons": [{