@sumaris-net/ngx-components 2.7.5-rc13 → 2.7.5-rc14
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/README.md +4 -3
- package/esm2022/src/app/core/services/model/referential.model.mjs +12 -4
- package/esm2022/src/app/shared/toolbar/toolbar.mjs +17 -14
- package/fesm2022/sumaris-net.ngx-components.mjs +31 -22
- package/fesm2022/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +1 -1
- package/src/app/core/services/model/referential.model.d.ts +5 -1
- package/src/app/shared/toolbar/toolbar.d.ts +3 -2
- package/src/assets/manifest.json +1 -1
package/package.json
CHANGED
|
@@ -31,7 +31,7 @@ export declare abstract class BaseReferential<T extends BaseReferential<T, ID, A
|
|
|
31
31
|
parentId: number;
|
|
32
32
|
entityName: string;
|
|
33
33
|
icon?: IconRef;
|
|
34
|
-
constructor(__typename?: string);
|
|
34
|
+
protected constructor(__typename?: string);
|
|
35
35
|
asObject(opts?: AO): any;
|
|
36
36
|
fromObject(source: any, opts?: FO): void;
|
|
37
37
|
equals(other: T): boolean;
|
|
@@ -54,6 +54,7 @@ export declare class ReferentialUtils {
|
|
|
54
54
|
export interface ReferentialAsObjectOptions extends EntityAsObjectOptions {
|
|
55
55
|
keepEntityName?: boolean;
|
|
56
56
|
keepIcon?: boolean;
|
|
57
|
+
keepProperties?: boolean;
|
|
57
58
|
}
|
|
58
59
|
/**
|
|
59
60
|
* Used to store an entity locally
|
|
@@ -72,6 +73,9 @@ export declare class ReferentialRef<T extends ReferentialRef<any, ID> = Referent
|
|
|
72
73
|
levelId: number;
|
|
73
74
|
entityName: string;
|
|
74
75
|
icon?: IconRef;
|
|
76
|
+
properties?: {
|
|
77
|
+
[key: string]: any;
|
|
78
|
+
};
|
|
75
79
|
constructor();
|
|
76
80
|
asObject(opts?: O): any;
|
|
77
81
|
fromObject(source: any, opts?: FO): void;
|
|
@@ -2,7 +2,7 @@ import { ChangeDetectorRef, EventEmitter, OnDestroy, OnInit } from '@angular/cor
|
|
|
2
2
|
import { IProgressBarService } from '../services/progress-bar.service';
|
|
3
3
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
4
4
|
import { IonMenuToggle, IonRouterOutlet, IonSearchbar, NavController } from '@ionic/angular';
|
|
5
|
-
import { Observable } from 'rxjs';
|
|
5
|
+
import { BehaviorSubject, Observable } from 'rxjs';
|
|
6
6
|
import { HammerTapEvent } from '../gesture/hammer.utils';
|
|
7
7
|
import { AppColors } from '../types';
|
|
8
8
|
import { SearchbarChangeEventDetail as ISearchbarSearchbarChangeEventDetail } from '@ionic/core/dist/types/components/searchbar/searchbar-interface';
|
|
@@ -25,8 +25,9 @@ export declare class ToolbarComponent implements ToolbarToken, OnInit, OnDestroy
|
|
|
25
25
|
private _validateTapCount;
|
|
26
26
|
private _defaultBackHref;
|
|
27
27
|
private _backHref;
|
|
28
|
-
protected readonly
|
|
28
|
+
protected readonly _progressBarMode$: BehaviorSubject<ProgressBarMode>;
|
|
29
29
|
set progressBarMode(value: ProgressBarMode);
|
|
30
|
+
get progressBarMode(): ProgressBarMode;
|
|
30
31
|
title: string;
|
|
31
32
|
color: AppColors;
|
|
32
33
|
class: string;
|
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.7.5-
|
|
5
|
+
"version": "2.7.5-rc14",
|
|
6
6
|
"default_locale": "fr",
|
|
7
7
|
"description": "Angular components for building beautiful and responsive Apps",
|
|
8
8
|
"icons": [{
|