@sumaris-net/ngx-components 2.5.11-rc3 → 2.5.11
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/esm2020/src/app/social/job/progression/job-progression.icon.mjs +6 -3
- package/esm2020/src/app/social/job/progression/job-progression.list.mjs +5 -3
- package/esm2020/src/app/social/job/testing/job-progression.testing.mjs +1 -1
- package/esm2020/src/app/social/user-event/notification/user-event-notification.icon.mjs +9 -3
- package/esm2020/src/app/social/user-event/notification/user-event-notification.list.mjs +7 -3
- package/esm2020/src/app/social/user-event/testing/user-event.testing.mjs +1 -1
- package/fesm2015/sumaris-net.ngx-components.mjs +25 -10
- package/fesm2015/sumaris-net.ngx-components.mjs.map +1 -1
- package/fesm2020/sumaris-net.ngx-components.mjs +25 -10
- package/fesm2020/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +1 -1
- package/src/app/social/job/progression/job-progression.icon.d.ts +3 -1
- package/src/app/social/job/progression/job-progression.list.d.ts +4 -1
- package/src/app/social/user-event/notification/user-event-notification.icon.d.ts +4 -2
- package/src/app/social/user-event/notification/user-event-notification.list.d.ts +5 -1
package/package.json
CHANGED
|
@@ -4,6 +4,7 @@ import { ProgressSpinnerMode } from '@angular/material/progress-spinner';
|
|
|
4
4
|
import { IJobProgressionService } from './job-progression.service';
|
|
5
5
|
import { JobProgression } from './job-progression.model';
|
|
6
6
|
import { PopoverController } from '@ionic/angular';
|
|
7
|
+
import { IUserEventAction } from '../../user-event/user-event.model';
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
9
|
export interface JobProgressionOptions {
|
|
9
10
|
autoHide: boolean;
|
|
@@ -19,6 +20,7 @@ export declare class JobProgressionIcon implements OnInit, OnDestroy {
|
|
|
19
20
|
titleI18n: string;
|
|
20
21
|
options: JobProgressionOptions;
|
|
21
22
|
autoHide: boolean;
|
|
23
|
+
headerActions: IUserEventAction[];
|
|
22
24
|
jobFinished: EventEmitter<number>;
|
|
23
25
|
visible: boolean;
|
|
24
26
|
disabled: boolean;
|
|
@@ -43,5 +45,5 @@ export declare class JobProgressionIcon implements OnInit, OnDestroy {
|
|
|
43
45
|
protected markForCheck(): void;
|
|
44
46
|
ngOnDestroy(): void;
|
|
45
47
|
static ɵfac: i0.ɵɵFactoryDeclaration<JobProgressionIcon, [{ optional: true; }, null, null]>;
|
|
46
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<JobProgressionIcon, "app-job-progression-icon", never, { "debug": "debug"; "titleI18n": "titleI18n"; "options": "options"; "autoHide": "autoHide"; }, { "jobFinished": "jobFinished"; }, never, never, false>;
|
|
48
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<JobProgressionIcon, "app-job-progression-icon", never, { "debug": "debug"; "titleI18n": "titleI18n"; "options": "options"; "autoHide": "autoHide"; "headerActions": "headerActions"; }, { "jobFinished": "jobFinished"; }, never, never, false>;
|
|
47
49
|
}
|
|
@@ -1,15 +1,18 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { JobProgression } from './job-progression.model';
|
|
3
|
+
import { IUserEventAction } from '../../user-event/user-event.model';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export interface JobProgressionListOptions {
|
|
5
6
|
titleI18n?: string;
|
|
6
7
|
jobProgressions?: JobProgression[];
|
|
8
|
+
headerActions?: IUserEventAction[];
|
|
7
9
|
}
|
|
8
10
|
export declare class JobProgressionList implements OnInit, JobProgressionListOptions {
|
|
9
11
|
titleI18n: string;
|
|
10
12
|
jobProgressions: JobProgression[];
|
|
13
|
+
headerActions: IUserEventAction[];
|
|
11
14
|
constructor();
|
|
12
15
|
ngOnInit(): void;
|
|
13
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<JobProgressionList, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<JobProgressionList, "app-job-progression-list", never, { "titleI18n": "titleI18n"; "jobProgressions": "jobProgressions"; }, {}, never,
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<JobProgressionList, "app-job-progression-list", never, { "titleI18n": "titleI18n"; "jobProgressions": "jobProgressions"; "headerActions": "headerActions"; }, {}, never, never, false>;
|
|
15
18
|
}
|
|
@@ -2,7 +2,7 @@ import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import { PopoverController } from '@ionic/angular';
|
|
4
4
|
import { IUserEventService } from '../user-event.service';
|
|
5
|
-
import { IUserEvent, IUserEventFilter } from '../user-event.model';
|
|
5
|
+
import { IUserEvent, IUserEventAction, IUserEventFilter } from '../user-event.model';
|
|
6
6
|
import { AccountService } from '../../../core/services/account.service';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class UserEventNotificationIcon implements OnInit, OnDestroy {
|
|
@@ -15,6 +15,8 @@ export declare class UserEventNotificationIcon implements OnInit, OnDestroy {
|
|
|
15
15
|
disabled: boolean;
|
|
16
16
|
filter: any;
|
|
17
17
|
autoHide: boolean;
|
|
18
|
+
headerActions: IUserEventAction[];
|
|
19
|
+
footerActions: IUserEventAction[];
|
|
18
20
|
visible: boolean;
|
|
19
21
|
get countChanges(): Observable<number>;
|
|
20
22
|
private _logPrefix;
|
|
@@ -25,5 +27,5 @@ export declare class UserEventNotificationIcon implements OnInit, OnDestroy {
|
|
|
25
27
|
showList(event: Event): Promise<void>;
|
|
26
28
|
ngOnDestroy(): void;
|
|
27
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<UserEventNotificationIcon, [{ optional: true; }, null, null, null]>;
|
|
28
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UserEventNotificationIcon, "app-user-event-notification-icon", never, { "debug": "debug"; "titleI18n": "titleI18n"; "disabled": "disabled"; "filter": "filter"; "autoHide": "autoHide"; }, {}, never, never, false>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UserEventNotificationIcon, "app-user-event-notification-icon", never, { "debug": "debug"; "titleI18n": "titleI18n"; "disabled": "disabled"; "filter": "filter"; "autoHide": "autoHide"; "headerActions": "headerActions"; "footerActions": "footerActions"; }, {}, never, never, false>;
|
|
29
31
|
}
|
|
@@ -14,6 +14,8 @@ export interface UserEventNotificationListOptions<E extends IUserEvent<any> = IU
|
|
|
14
14
|
readEvent?: EventEmitter<E>;
|
|
15
15
|
readEvents?: EventEmitter<E[]>;
|
|
16
16
|
filter?: Partial<F>;
|
|
17
|
+
headerActions?: IUserEventAction[];
|
|
18
|
+
footerActions?: IUserEventAction[];
|
|
17
19
|
}
|
|
18
20
|
export declare class UserEventNotificationList<E extends IUserEvent<any> = IUserEvent<any>, F extends IUserEventFilter<any> = IUserEventFilter<any>> implements OnInit, OnDestroy, UserEventNotificationListOptions<E, F> {
|
|
19
21
|
protected cd: ChangeDetectorRef;
|
|
@@ -29,6 +31,8 @@ export declare class UserEventNotificationList<E extends IUserEvent<any> = IUser
|
|
|
29
31
|
filter: Partial<F>;
|
|
30
32
|
enableInfiniteScroll: boolean;
|
|
31
33
|
infiniteScrollThreshold: string;
|
|
34
|
+
headerActions: IUserEventAction[];
|
|
35
|
+
footerActions: IUserEventAction[];
|
|
32
36
|
set pageSize(value: number);
|
|
33
37
|
get pageSize(): number;
|
|
34
38
|
readEvent: EventEmitter<E>;
|
|
@@ -63,5 +67,5 @@ export declare class UserEventNotificationList<E extends IUserEvent<any> = IUser
|
|
|
63
67
|
protected markForCheck(): void;
|
|
64
68
|
protected getPanelElement(): Promise<HTMLElement>;
|
|
65
69
|
static ɵfac: i0.ɵɵFactoryDeclaration<UserEventNotificationList<any, any>, [null, null, { optional: true; }, { optional: true; }, { optional: true; }]>;
|
|
66
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UserEventNotificationList<any, any>, "app-user-event-notification-list", never, { "debug": "debug"; "mobile": "mobile"; "titleI18n": "titleI18n"; "sortBy": "sortBy"; "sortDirection": "sortDirection"; "filter": "filter"; "enableInfiniteScroll": "enableInfiniteScroll"; "infiniteScrollThreshold": "infiniteScrollThreshold"; "pageSize": "pageSize"; }, { "readEvent": "readEvent"; "readEvents": "readEvents"; }, never,
|
|
70
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UserEventNotificationList<any, any>, "app-user-event-notification-list", never, { "debug": "debug"; "mobile": "mobile"; "titleI18n": "titleI18n"; "sortBy": "sortBy"; "sortDirection": "sortDirection"; "filter": "filter"; "enableInfiniteScroll": "enableInfiniteScroll"; "infiniteScrollThreshold": "infiniteScrollThreshold"; "headerActions": "headerActions"; "footerActions": "footerActions"; "pageSize": "pageSize"; }, { "readEvent": "readEvent"; "readEvents": "readEvents"; }, never, never, false>;
|
|
67
71
|
}
|