mesauth-angular 1.6.0 → 1.6.2
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/fesm2022/mesauth-angular.mjs +100 -61
- package/fesm2022/mesauth-angular.mjs.map +1 -1
- package/index.d.ts +2 -2
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { InjectionToken, NgZone, EnvironmentProviders, OnDestroy, OnInit, EventE
|
|
|
3
3
|
import { HttpClient, HttpInterceptorFn } from '@angular/common/http';
|
|
4
4
|
import { Observable } from 'rxjs';
|
|
5
5
|
import { Router } from '@angular/router';
|
|
6
|
-
import { SafeHtml
|
|
6
|
+
import { SafeHtml } from '@angular/platform-browser';
|
|
7
7
|
|
|
8
8
|
interface MesAuthConfig {
|
|
9
9
|
apiBaseUrl: string;
|
|
@@ -517,7 +517,6 @@ declare class NotificationPanelComponent implements OnInit, OnDestroy {
|
|
|
517
517
|
get currentNotifications(): NotificationDto[];
|
|
518
518
|
selectedNotification: NotificationDto | null;
|
|
519
519
|
selectedNotificationHtml: SafeHtml | null;
|
|
520
|
-
selectedNotificationUrl: SafeResourceUrl | null;
|
|
521
520
|
selectedNotificationDate: string;
|
|
522
521
|
getNotificationMessage(notification: NotificationDto): string;
|
|
523
522
|
typeOf(notification: {
|
|
@@ -534,6 +533,7 @@ declare class NotificationPanelComponent implements OnInit, OnDestroy {
|
|
|
534
533
|
switchTab(tab: 'unread' | 'read'): void;
|
|
535
534
|
openDetails(notification: NotificationDto): void;
|
|
536
535
|
closeDetails(): void;
|
|
536
|
+
openUrl(): void;
|
|
537
537
|
markAsRead(notificationId: string, event?: Event): void;
|
|
538
538
|
markAllAsRead(): void;
|
|
539
539
|
deleteAllRead(): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mesauth-angular",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.2",
|
|
4
4
|
"description": "Angular helper library to connect to a backend API and SignalR hub to surface the current logged-in user and incoming notifications with dark/light theme support",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|