@sumaris-net/ngx-components 2.9.15 → 2.9.16
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/package.json
CHANGED
|
@@ -15,10 +15,17 @@ import { IMenuItem } from '../menu/menu.model';
|
|
|
15
15
|
import { ShowToastOptions } from '../../shared/toast/toasts';
|
|
16
16
|
import { Environment } from '../../../environments/environment.class';
|
|
17
17
|
import { HistoryPageReference } from '../services/model/history.model';
|
|
18
|
+
import { RxState } from '@rx-angular/state';
|
|
18
19
|
import * as i0 from "@angular/core";
|
|
19
20
|
export declare const getRandomImage: (files: string[]) => string;
|
|
20
21
|
export declare const APP_HOME_BUTTONS: InjectionToken<IMenuItem[]>;
|
|
21
|
-
export
|
|
22
|
+
export interface HomePageState {
|
|
23
|
+
loading: boolean;
|
|
24
|
+
showSpinner: boolean;
|
|
25
|
+
showPartnerBanner: boolean;
|
|
26
|
+
pageHistory: HistoryPageReference[];
|
|
27
|
+
}
|
|
28
|
+
export declare class HomePage extends RxState<HomePageState> implements OnDestroy {
|
|
22
29
|
private accountService;
|
|
23
30
|
private modalCtrl;
|
|
24
31
|
private translate;
|
|
@@ -34,13 +41,12 @@ export declare class HomePage implements OnDestroy {
|
|
|
34
41
|
private readonly _debug;
|
|
35
42
|
private _subscription;
|
|
36
43
|
private _config;
|
|
37
|
-
|
|
44
|
+
protected pageHistory$: import("rxjs").Observable<HistoryPageReference[]>;
|
|
45
|
+
protected loading$: import("rxjs").Observable<boolean>;
|
|
38
46
|
waitingNetwork: boolean;
|
|
39
|
-
showSpinner: boolean;
|
|
40
47
|
accountName: string;
|
|
41
48
|
isLogin: boolean;
|
|
42
49
|
$partners: BehaviorSubject<Department[]>;
|
|
43
|
-
loadingBanner: boolean;
|
|
44
50
|
logo: string;
|
|
45
51
|
description: string;
|
|
46
52
|
appName: string;
|
|
@@ -48,10 +54,17 @@ export declare class HomePage implements OnDestroy {
|
|
|
48
54
|
canRegister: boolean;
|
|
49
55
|
contentStyle: any;
|
|
50
56
|
contentCredits: string;
|
|
51
|
-
pageHistory: HistoryPageReference[];
|
|
52
57
|
offline: boolean;
|
|
53
58
|
$filteredButtons: BehaviorSubject<IMenuItem[]>;
|
|
54
59
|
readonly showAccountButton: boolean;
|
|
60
|
+
set pageHistory(value: HistoryPageReference[]);
|
|
61
|
+
get pageHistory(): HistoryPageReference[];
|
|
62
|
+
set loading(value: boolean);
|
|
63
|
+
get loading(): boolean;
|
|
64
|
+
set showSpinner(value: boolean);
|
|
65
|
+
get showSpinner(): boolean;
|
|
66
|
+
set showPartnerBanner(value: boolean);
|
|
67
|
+
get showPartnerBanner(): boolean;
|
|
55
68
|
get currentLocaleCode(): string;
|
|
56
69
|
constructor(accountService: AccountService, modalCtrl: ModalController, translate: TranslateService, toastController: ToastController, configService: ConfigService, platform: PlatformService, cd: ChangeDetectorRef, network: NetworkService, settings: LocalSettingsService, environment: Environment, locales: LocaleConfig[], buttons: IMenuItem[]);
|
|
57
70
|
ngOnDestroy(): void;
|
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.9.
|
|
5
|
+
"version": "2.9.16",
|
|
6
6
|
"default_locale": "fr",
|
|
7
7
|
"description": "Angular components for building beautiful and responsive Apps",
|
|
8
8
|
"icons": [{
|