mesauth-angular 1.10.0 → 1.11.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.11.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",
|
|
@@ -217,6 +217,8 @@ declare class MaAvatarComponent {
|
|
|
217
217
|
frame: _angular_core.InputSignal<string>;
|
|
218
218
|
ratio: _angular_core.InputSignal<string>;
|
|
219
219
|
scale: _angular_core.InputSignal<number>;
|
|
220
|
+
ring: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
221
|
+
ringActive: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
220
222
|
private themeService;
|
|
221
223
|
get themeClass(): string;
|
|
222
224
|
readonly wrapperClass: _angular_core.Signal<string>;
|
|
@@ -225,7 +227,7 @@ declare class MaAvatarComponent {
|
|
|
225
227
|
}>;
|
|
226
228
|
readonly showImage: _angular_core.Signal<boolean>;
|
|
227
229
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaAvatarComponent, never>;
|
|
228
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MaAvatarComponent, "ma-avatar", never, { "src": { "alias": "src"; "required": false; "isSignal": true; }; "alt": { "alias": "alt"; "required": false; "isSignal": true; }; "initials": { "alias": "initials"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "shape": { "alias": "shape"; "required": false; "isSignal": true; }; "frame": { "alias": "frame"; "required": false; "isSignal": true; }; "ratio": { "alias": "ratio"; "required": false; "isSignal": true; }; "scale": { "alias": "scale"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
230
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MaAvatarComponent, "ma-avatar", never, { "src": { "alias": "src"; "required": false; "isSignal": true; }; "alt": { "alias": "alt"; "required": false; "isSignal": true; }; "initials": { "alias": "initials"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "shape": { "alias": "shape"; "required": false; "isSignal": true; }; "frame": { "alias": "frame"; "required": false; "isSignal": true; }; "ratio": { "alias": "ratio"; "required": false; "isSignal": true; }; "scale": { "alias": "scale"; "required": false; "isSignal": true; }; "ring": { "alias": "ring"; "required": false; "isSignal": true; }; "ringActive": { "alias": "ringActive"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
229
231
|
}
|
|
230
232
|
|
|
231
233
|
declare class UserProfileComponent {
|
|
@@ -253,13 +255,14 @@ declare class UserProfileComponent {
|
|
|
253
255
|
getAvatarUrl(user: IUser): string;
|
|
254
256
|
getLastNameInitial(user: IUser): string;
|
|
255
257
|
toggleDropdown(): void;
|
|
258
|
+
closeDropdown(): void;
|
|
256
259
|
onDocumentClick(event: Event): void;
|
|
257
260
|
onLogin(): void;
|
|
258
261
|
onViewProfile(): void;
|
|
259
262
|
onLogout(): void;
|
|
260
263
|
onNotificationClick(): void;
|
|
261
264
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<UserProfileComponent, never>;
|
|
262
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<UserProfileComponent, "ma-user-profile", never, {}, { "notificationClick": "notificationClick"; "approvalClick": "approvalClick"; }, never,
|
|
265
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<UserProfileComponent, "ma-user-profile", never, {}, { "notificationClick": "notificationClick"; "approvalClick": "approvalClick"; }, never, ["*"], true, never>;
|
|
263
266
|
}
|
|
264
267
|
|
|
265
268
|
declare enum ApprovalStepMode {
|
|
@@ -492,7 +495,7 @@ declare class MaUserComponent implements AfterViewInit {
|
|
|
492
495
|
onNotificationRead(): void;
|
|
493
496
|
onApprovalActioned(): void;
|
|
494
497
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaUserComponent, never>;
|
|
495
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MaUserComponent, "ma-user", never, {}, {}, never,
|
|
498
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MaUserComponent, "ma-user", never, {}, {}, never, ["*"], true, never>;
|
|
496
499
|
}
|
|
497
500
|
|
|
498
501
|
declare class NotificationBadgeComponent {
|
|
@@ -735,7 +738,7 @@ interface MaUiManifest {
|
|
|
735
738
|
features?: Record<string, boolean>;
|
|
736
739
|
}
|
|
737
740
|
/** Current installed package version — keep in sync with package.json. */
|
|
738
|
-
declare const PACKAGE_VERSION = "1.
|
|
741
|
+
declare const PACKAGE_VERSION = "1.11.0";
|
|
739
742
|
/**
|
|
740
743
|
* Provides server-driven UI configuration loaded from the hosted manifest.
|
|
741
744
|
* Components read `labels()` and `features()` signals instead of hardcoded strings.
|
|
@@ -821,5 +824,24 @@ declare class MaThemeDirective {
|
|
|
821
824
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<MaThemeDirective, "[maTheme]", never, {}, {}, never, never, true, never>;
|
|
822
825
|
}
|
|
823
826
|
|
|
824
|
-
|
|
827
|
+
declare enum MaUserMenuColor {
|
|
828
|
+
Default = "default",
|
|
829
|
+
Primary = "primary",
|
|
830
|
+
Success = "success",
|
|
831
|
+
Warning = "warning",
|
|
832
|
+
Danger = "danger",
|
|
833
|
+
Info = "info"
|
|
834
|
+
}
|
|
835
|
+
|
|
836
|
+
declare class MaUserMenuComponent {
|
|
837
|
+
name: _angular_core.InputSignal<string>;
|
|
838
|
+
color: _angular_core.InputSignal<MaUserMenuColor>;
|
|
839
|
+
disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
840
|
+
itemClick: _angular_core.OutputEmitterRef<void>;
|
|
841
|
+
onClick(): void;
|
|
842
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaUserMenuComponent, never>;
|
|
843
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MaUserMenuComponent, "ma-user-menu", never, { "name": { "alias": "name"; "required": true; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "itemClick": "itemClick"; }, never, ["[maUserMenuIcon]"], true, never>;
|
|
844
|
+
}
|
|
845
|
+
|
|
846
|
+
export { ALL_ACTIONS, AVATAR_FRAMES, ApprovalActionType, ApprovalDocumentStatus, ApprovalStepMode, ApprovalStepStatus, MES_AUTH_CONFIG, MaApprovalPanelComponent, MaApprovalService, MaArvContainerComponent, MaAvatarComponent, MaIconComponent, MaThemeDirective, MaUiConfigService, MaUserComponent, MaUserMenuColor, MaUserMenuComponent, MesAuthModule, MesAuthService, NotificationBadgeComponent, NotificationPanelComponent, NotificationType, PACKAGE_VERSION, ThemeService, ToastContainerComponent, ToastService, UserProfileComponent, extractXMaPerm, mesAuthInterceptor, provideMesAuth, withXMaPerm, xMaResource };
|
|
825
847
|
export type { ApprovalDashboardDto, ApprovalDocumentDto, ApprovalDocumentSummaryDto, ApprovalHistoryDto, ApprovalReferenceDto, ApprovalStepDto, ApprovalStepRequest, ApprovalSubmitResult, ApprovalTemplateDto, ApprovalTemplateStepDto, ApprovalTemplateSummaryDto, ApproveRejectRequest, AvatarFrameDef, AvatarShape, AvatarSize, CreateApprovalRequest, CreateApprovalResponseDto, CreateApprovalTemplateRequest, DelegateRequest, FrontEndRoute, IUser, MaUiManifest, MesAuthConfig, NotificationDto, PagedList, PermissionHeader, RealTimeNotificationDto, RequestConfig, RolePreviewUserDto, StepRoleDto, Theme, Toast, UpdateApprovalTemplateRequest, UserFrontEndRoutesGrouped };
|