mesauth-angular 1.12.1 → 1.15.0
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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mesauth-angular",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.15.0",
|
|
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",
|
|
@@ -47,6 +47,8 @@ interface IUser {
|
|
|
47
47
|
phoneNumber?: string;
|
|
48
48
|
department?: string;
|
|
49
49
|
position?: string;
|
|
50
|
+
givenTitle?: string | null;
|
|
51
|
+
givenColor?: string | null;
|
|
50
52
|
tokenVersion?: string;
|
|
51
53
|
permEndpoint?: string;
|
|
52
54
|
perms?: Set<string>;
|
|
@@ -247,6 +249,7 @@ declare class UserProfileComponent {
|
|
|
247
249
|
readonly avatarShape: _angular_core.Signal<"circle" | "rounded" | "rectangle" | "portrait">;
|
|
248
250
|
readonly avatarFrame: _angular_core.Signal<string>;
|
|
249
251
|
readonly avatarRatio: _angular_core.Signal<"ar-11" | "ar-43" | "ar-169">;
|
|
252
|
+
readonly givenStyle: _angular_core.Signal<string>;
|
|
250
253
|
private readonly authService;
|
|
251
254
|
private readonly router;
|
|
252
255
|
private readonly themeService;
|
|
@@ -499,6 +502,7 @@ declare class ThemeService implements OnDestroy {
|
|
|
499
502
|
/** Observable kept for backward compatibility */
|
|
500
503
|
readonly currentTheme$: Observable<Theme>;
|
|
501
504
|
private observer;
|
|
505
|
+
private _settedTheme;
|
|
502
506
|
constructor();
|
|
503
507
|
ngOnDestroy(): void;
|
|
504
508
|
private detectTheme;
|
|
@@ -506,6 +510,7 @@ declare class ThemeService implements OnDestroy {
|
|
|
506
510
|
private stopWatching;
|
|
507
511
|
get currentThemeValue(): Theme;
|
|
508
512
|
setTheme(theme: Theme): void;
|
|
513
|
+
setFixTheme(theme: Theme): void;
|
|
509
514
|
refreshTheme(): void;
|
|
510
515
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ThemeService, never>;
|
|
511
516
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<ThemeService>;
|
|
@@ -519,6 +524,7 @@ declare class MaUserComponent implements AfterViewInit {
|
|
|
519
524
|
showApproval: _angular_core.InputSignal<boolean>;
|
|
520
525
|
theme: _angular_core.InputSignal<"light" | "dark">;
|
|
521
526
|
themeService: ThemeService;
|
|
527
|
+
constructor();
|
|
522
528
|
ngAfterViewInit(): void;
|
|
523
529
|
onNotificationRead(): void;
|
|
524
530
|
onApprovalActioned(): void;
|
|
@@ -747,7 +753,7 @@ interface MaUiManifest {
|
|
|
747
753
|
features?: Record<string, boolean>;
|
|
748
754
|
}
|
|
749
755
|
/** Current installed package version — keep in sync with package.json. */
|
|
750
|
-
declare const PACKAGE_VERSION = "1.
|
|
756
|
+
declare const PACKAGE_VERSION = "1.15.0";
|
|
751
757
|
/**
|
|
752
758
|
* Provides server-driven UI configuration loaded from the hosted manifest.
|
|
753
759
|
* Components read `labels()` and `features()` signals instead of hardcoded strings.
|