@tuki-io/tuki-widgets 0.0.184 → 0.0.186
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/di2mt/widgets/upgrade-overview/cards/pending-activation-users/pending-activation-users.component.mjs +20 -9
- package/esm2020/user-creation/src/classes/notification.mjs +32 -0
- package/esm2020/user-creation/src/environments/environment.mjs +11 -0
- package/esm2020/user-creation/src/shared/services/notification.service.mjs +62 -0
- package/esm2020/user-creation/src/user-creation.module.mjs +7 -1
- package/esm2020/user-creation/src/widgets/user-creation-wizard/user-creation-wizard.component.mjs +14 -11
- package/esm2020/user-device-manage/src/device-manage-widget.component.mjs +3 -3
- package/esm2020/user-manage/src/device-list/device-list.component.mjs +3 -3
- package/fesm2015/tuki-io-tuki-widgets-di2mt.mjs +16 -6
- package/fesm2015/tuki-io-tuki-widgets-di2mt.mjs.map +1 -1
- package/fesm2015/tuki-io-tuki-widgets-user-creation.mjs +117 -10
- package/fesm2015/tuki-io-tuki-widgets-user-creation.mjs.map +1 -1
- package/fesm2015/tuki-io-tuki-widgets-user-device-manage.mjs +2 -2
- package/fesm2015/tuki-io-tuki-widgets-user-device-manage.mjs.map +1 -1
- package/fesm2015/tuki-io-tuki-widgets-user-manage.mjs +2 -2
- package/fesm2015/tuki-io-tuki-widgets-user-manage.mjs.map +1 -1
- package/fesm2020/tuki-io-tuki-widgets-di2mt.mjs +18 -7
- package/fesm2020/tuki-io-tuki-widgets-di2mt.mjs.map +1 -1
- package/fesm2020/tuki-io-tuki-widgets-user-creation.mjs +117 -10
- package/fesm2020/tuki-io-tuki-widgets-user-creation.mjs.map +1 -1
- package/fesm2020/tuki-io-tuki-widgets-user-device-manage.mjs +2 -2
- package/fesm2020/tuki-io-tuki-widgets-user-device-manage.mjs.map +1 -1
- package/fesm2020/tuki-io-tuki-widgets-user-manage.mjs +2 -2
- package/fesm2020/tuki-io-tuki-widgets-user-manage.mjs.map +1 -1
- package/package.json +1 -1
- package/user-creation/src/classes/notification.d.ts +18 -0
- package/user-creation/src/environments/environment.d.ts +9 -0
- package/user-creation/src/shared/services/notification.service.d.ts +18 -0
- package/user-creation/src/widgets/user-creation-wizard/user-creation-wizard.component.d.ts +3 -0
package/package.json
CHANGED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare enum NotificationType {
|
|
2
|
+
info = "info",
|
|
3
|
+
error = "error",
|
|
4
|
+
success = "success",
|
|
5
|
+
warning = "warning"
|
|
6
|
+
}
|
|
7
|
+
export declare class Notification {
|
|
8
|
+
id?: number;
|
|
9
|
+
type?: NotificationType;
|
|
10
|
+
message?: string;
|
|
11
|
+
ttl: number;
|
|
12
|
+
timerId?: any;
|
|
13
|
+
constructor(data: any);
|
|
14
|
+
isInfo(): boolean;
|
|
15
|
+
isError(): boolean;
|
|
16
|
+
isSuccess(): boolean;
|
|
17
|
+
isWarning(): boolean;
|
|
18
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Notification } from '../../classes/notification';
|
|
2
|
+
import { Subject } from 'rxjs';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class NotificationService {
|
|
5
|
+
listChange: Subject<unknown>;
|
|
6
|
+
private max;
|
|
7
|
+
private list;
|
|
8
|
+
constructor();
|
|
9
|
+
error(message: string, ttl?: number): void;
|
|
10
|
+
success(message: string, ttl?: number): void;
|
|
11
|
+
warning(message: string, ttl?: number): void;
|
|
12
|
+
info(message: string, ttl?: number): void;
|
|
13
|
+
private notify;
|
|
14
|
+
remove(notification: Notification, auto?: boolean): void;
|
|
15
|
+
private removeInactiveSessionError;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationService, never>;
|
|
17
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<NotificationService>;
|
|
18
|
+
}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { NotificationService } from '../../shared/services/notification.service';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class UserCreationWizardComponent implements OnInit, OnDestroy {
|
|
5
|
+
private notificationService;
|
|
4
6
|
private readonly apiService;
|
|
5
7
|
title: string;
|
|
6
8
|
host: string;
|
|
@@ -10,6 +12,7 @@ export declare class UserCreationWizardComponent implements OnInit, OnDestroy {
|
|
|
10
12
|
submit: EventEmitter<void>;
|
|
11
13
|
isSubmitting: boolean;
|
|
12
14
|
private submitTimerId;
|
|
15
|
+
constructor(notificationService: NotificationService);
|
|
13
16
|
ngOnInit(): void;
|
|
14
17
|
onCancel(): void;
|
|
15
18
|
onSubmit(): void;
|