@sumaris-net/ngx-components 1.23.44 → 1.23.45
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/bundles/sumaris-net.ngx-components.umd.js +10 -14
- package/bundles/sumaris-net.ngx-components.umd.js.map +1 -1
- package/bundles/sumaris-net.ngx-components.umd.min.js +1 -1
- package/bundles/sumaris-net.ngx-components.umd.min.js.map +1 -1
- package/doc/changelog.md +3 -0
- package/esm2015/src/app/core/icon/icon.component.js +2 -2
- package/esm2015/src/app/core/services/model/referential.model.js +8 -3
- package/fesm2015/sumaris-net.ngx-components.js +8 -3
- package/fesm2015/sumaris-net.ngx-components.js.map +1 -1
- package/package.json +1 -1
- package/src/app/core/services/model/referential.model.d.ts +3 -0
- package/sumaris-net.ngx-components.metadata.json +1 -1
package/package.json
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Moment } from 'moment';
|
|
2
2
|
import { Entity, EntityAsObjectOptions, IEntity } from './entity.model';
|
|
3
|
+
import { IconRef } from '../../../shared/types';
|
|
3
4
|
export declare function referentialToString(obj: Referential | any, properties?: string[]): string | undefined;
|
|
4
5
|
export declare function referentialsToString(values: Referential[], properties?: string[], separator?: string): string;
|
|
5
6
|
export declare interface IStatus {
|
|
@@ -44,6 +45,7 @@ export declare class ReferentialUtils {
|
|
|
44
45
|
}
|
|
45
46
|
export interface ReferentialAsObjectOptions extends EntityAsObjectOptions {
|
|
46
47
|
keepEntityName?: boolean;
|
|
48
|
+
keepIcon?: boolean;
|
|
47
49
|
}
|
|
48
50
|
/**
|
|
49
51
|
* Used to store an entity locally
|
|
@@ -61,6 +63,7 @@ export declare class ReferentialRef<T extends ReferentialRef<any, ID> = Referent
|
|
|
61
63
|
statusId: number;
|
|
62
64
|
levelId: number;
|
|
63
65
|
entityName: string;
|
|
66
|
+
icon: IconRef;
|
|
64
67
|
constructor();
|
|
65
68
|
asObject(opts?: O): any;
|
|
66
69
|
fromObject(source: any, opts?: FO): void;
|