mesauth-angular 1.10.0 → 1.12.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.10.0",
3
+ "version": "1.12.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,10 +227,13 @@ 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 {
234
+ inputAvatarShape: _angular_core.InputSignal<"circle" | "rounded" | "rectangle">;
235
+ showBell: _angular_core.InputSignal<boolean>;
236
+ showApproval: _angular_core.InputSignal<boolean>;
232
237
  notificationClick: _angular_core.OutputEmitterRef<void>;
233
238
  approvalClick: _angular_core.OutputEmitterRef<void>;
234
239
  get themeClass(): string;
@@ -253,13 +258,14 @@ declare class UserProfileComponent {
253
258
  getAvatarUrl(user: IUser): string;
254
259
  getLastNameInitial(user: IUser): string;
255
260
  toggleDropdown(): void;
261
+ closeDropdown(): void;
256
262
  onDocumentClick(event: Event): void;
257
263
  onLogin(): void;
258
264
  onViewProfile(): void;
259
265
  onLogout(): void;
260
266
  onNotificationClick(): void;
261
267
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<UserProfileComponent, never>;
262
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<UserProfileComponent, "ma-user-profile", never, {}, { "notificationClick": "notificationClick"; "approvalClick": "approvalClick"; }, never, never, true, never>;
268
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<UserProfileComponent, "ma-user-profile", never, { "inputAvatarShape": { "alias": "inputAvatarShape"; "required": false; "isSignal": true; }; "showBell": { "alias": "showBell"; "required": false; "isSignal": true; }; "showApproval": { "alias": "showApproval"; "required": false; "isSignal": true; }; }, { "notificationClick": "notificationClick"; "approvalClick": "approvalClick"; }, never, ["*"], true, never>;
263
269
  }
264
270
 
265
271
  declare enum ApprovalStepMode {
@@ -488,11 +494,14 @@ declare class MaApprovalPanelComponent {
488
494
  declare class MaUserComponent implements AfterViewInit {
489
495
  userProfile?: UserProfileComponent;
490
496
  approvalPanel: MaApprovalPanelComponent;
497
+ avatarShape: _angular_core.InputSignal<"circle" | "rounded" | "rectangle">;
498
+ showBell: _angular_core.InputSignal<boolean>;
499
+ showApproval: _angular_core.InputSignal<boolean>;
491
500
  ngAfterViewInit(): void;
492
501
  onNotificationRead(): void;
493
502
  onApprovalActioned(): void;
494
503
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaUserComponent, never>;
495
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<MaUserComponent, "ma-user", never, {}, {}, never, never, true, never>;
504
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<MaUserComponent, "ma-user", never, { "avatarShape": { "alias": "avatarShape"; "required": false; "isSignal": true; }; "showBell": { "alias": "showBell"; "required": false; "isSignal": true; }; "showApproval": { "alias": "showApproval"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
496
505
  }
497
506
 
498
507
  declare class NotificationBadgeComponent {
@@ -735,7 +744,7 @@ interface MaUiManifest {
735
744
  features?: Record<string, boolean>;
736
745
  }
737
746
  /** Current installed package version — keep in sync with package.json. */
738
- declare const PACKAGE_VERSION = "1.10.0";
747
+ declare const PACKAGE_VERSION = "1.12.0";
739
748
  /**
740
749
  * Provides server-driven UI configuration loaded from the hosted manifest.
741
750
  * Components read `labels()` and `features()` signals instead of hardcoded strings.
@@ -821,5 +830,24 @@ declare class MaThemeDirective {
821
830
  static ɵdir: _angular_core.ɵɵDirectiveDeclaration<MaThemeDirective, "[maTheme]", never, {}, {}, never, never, true, never>;
822
831
  }
823
832
 
824
- export { ALL_ACTIONS, AVATAR_FRAMES, ApprovalActionType, ApprovalDocumentStatus, ApprovalStepMode, ApprovalStepStatus, MES_AUTH_CONFIG, MaApprovalPanelComponent, MaApprovalService, MaArvContainerComponent, MaAvatarComponent, MaIconComponent, MaThemeDirective, MaUiConfigService, MaUserComponent, MesAuthModule, MesAuthService, NotificationBadgeComponent, NotificationPanelComponent, NotificationType, PACKAGE_VERSION, ThemeService, ToastContainerComponent, ToastService, UserProfileComponent, extractXMaPerm, mesAuthInterceptor, provideMesAuth, withXMaPerm, xMaResource };
833
+ declare enum MaUserMenuColor {
834
+ Default = "default",
835
+ Primary = "primary",
836
+ Success = "success",
837
+ Warning = "warning",
838
+ Danger = "danger",
839
+ Info = "info"
840
+ }
841
+
842
+ declare class MaUserMenuComponent {
843
+ name: _angular_core.InputSignal<string>;
844
+ color: _angular_core.InputSignal<MaUserMenuColor>;
845
+ disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
846
+ itemClick: _angular_core.OutputEmitterRef<void>;
847
+ onClick(): void;
848
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaUserMenuComponent, never>;
849
+ 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>;
850
+ }
851
+
852
+ 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
853
  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 };