@sumaris-net/ngx-components 18.3.9 → 18.3.10
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/table.class.mjs +9 -1
- package/esm2022/src/app/core/table/table.utils.mjs +4 -1
- package/fesm2022/sumaris-net.ngx-components.mjs +11 -0
- package/fesm2022/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +1 -1
- package/src/app/core/table/table.class.d.ts +1 -0
- package/src/app/core/table/table.utils.d.ts +1 -0
- package/src/app/shared/inputs.d.ts +1 -1
- package/src/assets/manifest.json +1 -1
package/package.json
CHANGED
|
@@ -189,6 +189,7 @@ export declare abstract class AppTable<T extends IEntity<T, ID>, F = any, ID = n
|
|
|
189
189
|
get pageOffset(): number;
|
|
190
190
|
get sortActive(): string;
|
|
191
191
|
get sortDirection(): 'asc' | 'desc';
|
|
192
|
+
set sortDirection(value: 'asc' | 'desc');
|
|
192
193
|
private _paginator;
|
|
193
194
|
set paginator(value: MatPaginator);
|
|
194
195
|
get paginator(): MatPaginator;
|
|
@@ -8,4 +8,5 @@ export declare class AppTableUtils {
|
|
|
8
8
|
static getEntityId<T extends IEntity<T, ID> = IEntity<any, any>, ID = any>(row: TableElement<T> | AsyncTableElement<T>): ID;
|
|
9
9
|
static getEntityIds<T extends IEntity<T, ID> = IEntity<any, any>, ID = any>(rows: TableElement<T>[] | AsyncTableElement<T>[]): ID[];
|
|
10
10
|
static getEntities<T extends IEntity<T, ID> = IEntity<any, any>, ID = any>(rows: TableElement<T>[] | AsyncTableElement<T>[]): T[];
|
|
11
|
+
static inverseDirection(direction: 'asc' | 'desc'): "asc" | "desc";
|
|
11
12
|
}
|
|
@@ -17,7 +17,7 @@ export interface InputElement extends FocusableElement {
|
|
|
17
17
|
}
|
|
18
18
|
export declare function isInputElement(object: any): object is InputElement;
|
|
19
19
|
export declare function asInputElement<T = any>(object: ElementRef<T>): InputElement | undefined;
|
|
20
|
-
export declare function tabindexComparator(a: InputElement, b: InputElement):
|
|
20
|
+
export declare function tabindexComparator(a: InputElement, b: InputElement): 1 | 0 | -1;
|
|
21
21
|
export interface CanGainFocusOptions {
|
|
22
22
|
minTabindex?: number;
|
|
23
23
|
maxTabindex?: number;
|
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": "18.3.
|
|
5
|
+
"version": "18.3.10",
|
|
6
6
|
"default_locale": "fr",
|
|
7
7
|
"description": "Angular components for building beautiful and responsive Apps",
|
|
8
8
|
"icons": [{
|