@sumaris-net/ngx-components 2.12.21 → 2.12.23
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/esm2022/src/app/core/table/column/actions-column.component.mjs +18 -11
- package/esm2022/src/app/core/table/column/nav-actions-column.component.mjs +24 -18
- package/esm2022/src/app/core/table/testing/table.testing.mjs +1 -1
- package/esm2022/src/app/shared/material/autocomplete/material.autocomplete.mjs +3 -3
- package/esm2022/src/app/shared/material/chips/material.chips.mjs +3 -3
- package/fesm2022/sumaris-net.ngx-components.mjs +36 -23
- package/fesm2022/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +1 -1
- package/src/app/core/table/column/actions-column.component.d.ts +7 -0
- package/src/app/core/table/column/nav-actions-column.component.d.ts +7 -7
- package/src/assets/manifest.json +1 -1
package/package.json
CHANGED
|
@@ -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,
|
|
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:
|
|
22
|
+
$implicit: T;
|
|
23
23
|
}>;
|
|
24
24
|
optionsClick: EventEmitter<Event>;
|
|
25
|
-
constructor(
|
|
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,
|
|
29
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NavActionsColumnComponent
|
|
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
|
}
|
package/src/assets/manifest.json
CHANGED
|
@@ -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.
|
|
5
|
+
"version": "2.12.23",
|
|
6
6
|
"default_locale": "fr",
|
|
7
7
|
"description": "Angular components for building beautiful and responsive Apps",
|
|
8
8
|
"icons": [{
|