@sumaris-net/ngx-components 2.2.6-rc2 → 2.2.6
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/doc/changelog.md +1 -1
- package/esm2020/src/app/core/account/account.page.mjs +9 -3
- package/esm2020/src/app/core/menu/menu.component.mjs +15 -10
- package/esm2020/src/app/shared/services/progress-bar.service.mjs +1 -1
- package/esm2020/src/app/shared/toolbar/toolbar.mjs +13 -8
- package/fesm2015/sumaris-net.ngx-components.mjs +34 -17
- package/fesm2015/sumaris-net.ngx-components.mjs.map +1 -1
- package/fesm2020/sumaris-net.ngx-components.mjs +32 -17
- package/fesm2020/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +1 -1
- package/src/app/core/account/account.page.d.ts +1 -0
- package/src/app/shared/services/progress-bar.service.d.ts +3 -2
- package/src/app/shared/toolbar/toolbar.d.ts +3 -2
package/package.json
CHANGED
|
@@ -51,6 +51,7 @@ export declare class AccountPage extends AppForm<Account> implements OnDestroy,
|
|
|
51
51
|
save(event: any): Promise<boolean>;
|
|
52
52
|
enable(): void;
|
|
53
53
|
cancel(): Promise<void>;
|
|
54
|
+
close(event?: Event): Promise<boolean>;
|
|
54
55
|
protected markForCheck(): void;
|
|
55
56
|
static ɵfac: i0.ɵɵFactoryDeclaration<AccountPage, never>;
|
|
56
57
|
static ɵcmp: i0.ɵɵComponentDeclaration<AccountPage, "app-account-page", never, {}, {}, never, never, false>;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { ProgressBarMode } from '@angular/material/progress-bar';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare type ProgressMode =
|
|
4
|
+
export declare type ProgressMode = ProgressBarMode;
|
|
4
5
|
export declare class ProgressBarService {
|
|
5
6
|
private _requestsRunning;
|
|
6
|
-
onProgressChanged: EventEmitter<
|
|
7
|
+
onProgressChanged: EventEmitter<ProgressBarMode>;
|
|
7
8
|
list(): number;
|
|
8
9
|
increase(): void;
|
|
9
10
|
decrease(): void;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { ChangeDetectorRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { ProgressBarService
|
|
2
|
+
import { ProgressBarService } from '../services/progress-bar.service';
|
|
3
3
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
4
4
|
import { IonMenuToggle, IonRouterOutlet, IonSearchbar } from '@ionic/angular';
|
|
5
5
|
import { 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';
|
|
9
|
+
import { ProgressBarMode } from '@angular/material/progress-bar';
|
|
9
10
|
import * as i0 from "@angular/core";
|
|
10
11
|
export declare abstract class ToolbarToken {
|
|
11
12
|
abstract onBackClick: Observable<Event>;
|
|
@@ -22,6 +23,7 @@ export declare class ToolbarComponent implements ToolbarToken, OnInit, OnDestroy
|
|
|
22
23
|
private _validateTapCount;
|
|
23
24
|
private _defaultBackHref;
|
|
24
25
|
private _backHref;
|
|
26
|
+
protected readonly _progressBarMode$: Observable<ProgressBarMode>;
|
|
25
27
|
title: string;
|
|
26
28
|
color: AppColors;
|
|
27
29
|
class: string;
|
|
@@ -39,7 +41,6 @@ export declare class ToolbarComponent implements ToolbarToken, OnInit, OnDestroy
|
|
|
39
41
|
onValidateAndClose: EventEmitter<Event>;
|
|
40
42
|
onBackClick: EventEmitter<Event>;
|
|
41
43
|
onSearch: EventEmitter<CustomEvent<ISearchbarSearchbarChangeEventDetail>>;
|
|
42
|
-
progressBarMode$: Observable<ProgressMode>;
|
|
43
44
|
showSearchBar: boolean;
|
|
44
45
|
searchbar: IonSearchbar;
|
|
45
46
|
menuToggle: IonMenuToggle;
|