@sumaris-net/ngx-components 18.12.9 → 18.12.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/services/model/tree-item-entity.model.mjs +1 -1
- package/fesm2022/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +1 -1
- package/src/app/core/services/model/tree-item-entity.model.d.ts +2 -2
- package/src/app/shared/inputs.d.ts +1 -1
- package/src/assets/manifest.json +1 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IEntity } from './entity.model';
|
|
2
2
|
import { EntityFilter } from './filter.model';
|
|
3
3
|
import { FilterFn } from '../../../shared/types';
|
|
4
|
-
export declare interface ITreeItemEntity<T extends IEntity<T, ID>, ID = number>
|
|
4
|
+
export declare interface ITreeItemEntity<T extends IEntity<T, ID>, ID = number> {
|
|
5
5
|
parentId: ID;
|
|
6
6
|
parent: T;
|
|
7
7
|
children: T[];
|
|
@@ -57,5 +57,5 @@ export declare class TreeItemEntityUtils {
|
|
|
57
57
|
* @param {new () => T} [dataType] - An optional class constructor used to shape the objects within the tree.
|
|
58
58
|
* @return {T[] | undefined} An array of root elements representing the tree structure, or undefined if the input is empty.
|
|
59
59
|
*/
|
|
60
|
-
static fromObjectArrayAsTrees<T extends ITreeItemEntity<
|
|
60
|
+
static fromObjectArrayAsTrees<T extends ITreeItemEntity<T> & IEntity<T>>(sources: T[], dataType?: new () => T): T[];
|
|
61
61
|
}
|
|
@@ -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 | -1 | 0;
|
|
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.12.
|
|
5
|
+
"version": "18.12.10",
|
|
6
6
|
"default_locale": "fr",
|
|
7
7
|
"description": "Angular components for building beautiful and responsive Apps",
|
|
8
8
|
"icons": [{
|