mesauth-angular 1.8.2 → 1.8.4

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.8.2",
3
+ "version": "1.8.4",
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",
@@ -1,5 +1,5 @@
1
- import * as i0 from '@angular/core';
2
- import { InjectionToken, NgZone, EnvironmentProviders, OnDestroy, OnInit, EventEmitter, ChangeDetectorRef, AfterViewInit, ElementRef, OnChanges, SimpleChanges } from '@angular/core';
1
+ import * as _angular_core from '@angular/core';
2
+ import { InjectionToken, NgZone, EnvironmentProviders, AfterViewInit, OnDestroy, ElementRef } from '@angular/core';
3
3
  import { HttpClient, HttpInterceptorFn, HttpResponse, HttpParams } from '@angular/common/http';
4
4
  import { Observable, OperatorFunction } from 'rxjs';
5
5
  import { Router } from '@angular/router';
@@ -166,8 +166,8 @@ declare class MesAuthService {
166
166
  * Callers can subscribe to wait for completion before proceeding (e.g., navigating after login).
167
167
  */
168
168
  refreshUser(): Observable<any>;
169
- static ɵfac: i0.ɵɵFactoryDeclaration<MesAuthService, never>;
170
- static ɵprov: i0.ɵɵInjectableDeclaration<MesAuthService>;
169
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<MesAuthService, never>;
170
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<MesAuthService>;
171
171
  }
172
172
 
173
173
  /**
@@ -178,48 +178,26 @@ declare class MesAuthService {
178
178
  declare const mesAuthInterceptor: HttpInterceptorFn;
179
179
 
180
180
  declare class MesAuthModule {
181
- static ɵfac: i0.ɵɵFactoryDeclaration<MesAuthModule, never>;
182
- static ɵmod: i0.ɵɵNgModuleDeclaration<MesAuthModule, never, never, never>;
183
- static ɵinj: i0.ɵɵInjectorDeclaration<MesAuthModule>;
181
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<MesAuthModule, never>;
182
+ static ɵmod: _angular_core.ɵɵNgModuleDeclaration<MesAuthModule, never, never, never>;
183
+ static ɵinj: _angular_core.ɵɵInjectorDeclaration<MesAuthModule>;
184
184
  }
185
185
 
186
- type Theme = 'light' | 'dark';
187
- declare class ThemeService implements OnDestroy {
188
- private _currentTheme;
189
- currentTheme$: Observable<Theme>;
190
- private observer;
191
- constructor();
192
- ngOnDestroy(): void;
193
- private detectTheme;
194
- private startWatching;
195
- private stopWatching;
196
- get currentTheme(): Theme;
197
- setTheme(theme: Theme): void;
198
- refreshTheme(): void;
199
- static ɵfac: i0.ɵɵFactoryDeclaration<ThemeService, never>;
200
- static ɵprov: i0.ɵɵInjectableDeclaration<ThemeService>;
201
- }
202
-
203
- declare class UserProfileComponent implements OnInit, OnDestroy {
186
+ declare class UserProfileComponent {
187
+ notificationClick: _angular_core.OutputEmitterRef<void>;
188
+ approvalClick: _angular_core.OutputEmitterRef<void>;
189
+ get themeClass(): string;
190
+ currentUser: _angular_core.WritableSignal<IUser>;
191
+ unreadCount: _angular_core.WritableSignal<number>;
192
+ pendingApprovalCount: _angular_core.WritableSignal<number>;
193
+ dropdownOpen: _angular_core.WritableSignal<boolean>;
194
+ avatarRefresh: _angular_core.WritableSignal<number>;
195
+ private hasUser;
204
196
  private authService;
205
197
  private router;
206
198
  private themeService;
207
- private cdr;
208
199
  private http;
209
- notificationClick: EventEmitter<void>;
210
- approvalClick: EventEmitter<void>;
211
- get themeClass(): string;
212
- currentUser: i0.WritableSignal<IUser>;
213
- currentTheme: Theme;
214
- unreadCount: number;
215
- pendingApprovalCount: number;
216
- dropdownOpen: boolean;
217
- private hasUser;
218
- private destroy$;
219
- avatarRefresh: i0.WritableSignal<number>;
220
- constructor(authService: MesAuthService, router: Router, themeService: ThemeService, cdr: ChangeDetectorRef, http: HttpClient);
221
- ngOnInit(): void;
222
- ngOnDestroy(): void;
200
+ constructor();
223
201
  loadUnreadCount(): void;
224
202
  loadPendingApprovalCount(): void;
225
203
  onApprovalClick(): void;
@@ -231,8 +209,8 @@ declare class UserProfileComponent implements OnInit, OnDestroy {
231
209
  onViewProfile(): void;
232
210
  onLogout(): void;
233
211
  onNotificationClick(): void;
234
- static ɵfac: i0.ɵɵFactoryDeclaration<UserProfileComponent, never>;
235
- static ɵcmp: i0.ɵɵComponentDeclaration<UserProfileComponent, "ma-user-profile", never, {}, { "notificationClick": "notificationClick"; "approvalClick": "approvalClick"; }, never, never, true, never>;
212
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<UserProfileComponent, never>;
213
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<UserProfileComponent, "ma-user-profile", never, {}, { "notificationClick": "notificationClick"; "approvalClick": "approvalClick"; }, never, never, true, never>;
236
214
  }
237
215
 
238
216
  declare enum ApprovalStepMode {
@@ -432,21 +410,19 @@ interface ApprovalSubmitResult {
432
410
  }
433
411
 
434
412
  type PanelTab = 'processing' | 'approved' | 'rejected';
435
- declare class MaApprovalPanelComponent implements OnInit, OnDestroy {
436
- approvalActioned: EventEmitter<void>;
413
+ declare class MaApprovalPanelComponent {
414
+ approvalActioned: _angular_core.OutputEmitterRef<void>;
437
415
  isOpen: boolean;
438
416
  loading: boolean;
439
417
  activeTab: PanelTab;
440
418
  processingItems: ApprovalDocumentSummaryDto[];
441
419
  approvedItems: ApprovalDocumentSummaryDto[];
442
420
  rejectedItems: ApprovalDocumentSummaryDto[];
443
- private destroy$;
444
421
  private mesAuth;
445
422
  private http;
446
423
  private router;
447
424
  private approvalSvc;
448
- ngOnInit(): void;
449
- ngOnDestroy(): void;
425
+ constructor();
450
426
  open(): void;
451
427
  close(): void;
452
428
  toggle(): void;
@@ -455,8 +431,8 @@ declare class MaApprovalPanelComponent implements OnInit, OnDestroy {
455
431
  private loadCurrentTab;
456
432
  navigateToDetail(id: string): void;
457
433
  showMore(status: 'approved' | 'rejected'): void;
458
- static ɵfac: i0.ɵɵFactoryDeclaration<MaApprovalPanelComponent, never>;
459
- static ɵcmp: i0.ɵɵComponentDeclaration<MaApprovalPanelComponent, "ma-approval-panel", never, {}, { "approvalActioned": "approvalActioned"; }, never, never, true, never>;
434
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaApprovalPanelComponent, never>;
435
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<MaApprovalPanelComponent, "ma-approval-panel", never, {}, { "approvalActioned": "approvalActioned"; }, never, never, true, never>;
460
436
  }
461
437
 
462
438
  declare class MaUserComponent implements AfterViewInit {
@@ -465,56 +441,30 @@ declare class MaUserComponent implements AfterViewInit {
465
441
  ngAfterViewInit(): void;
466
442
  onNotificationRead(): void;
467
443
  onApprovalActioned(): void;
468
- static ɵfac: i0.ɵɵFactoryDeclaration<MaUserComponent, never>;
469
- static ɵcmp: i0.ɵɵComponentDeclaration<MaUserComponent, "ma-user", never, {}, {}, never, never, true, never>;
444
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaUserComponent, never>;
445
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<MaUserComponent, "ma-user", never, {}, {}, never, never, true, never>;
470
446
  }
471
447
 
472
- declare class NotificationBadgeComponent implements OnInit, OnDestroy {
473
- private authService;
474
- private themeService;
475
- notificationClick: EventEmitter<void>;
448
+ declare class NotificationBadgeComponent {
449
+ notificationClick: _angular_core.OutputEmitterRef<void>;
476
450
  get themeClass(): string;
477
- unreadCount: number;
478
- currentTheme: Theme;
451
+ unreadCount: _angular_core.WritableSignal<number>;
479
452
  private hasUser;
480
- private destroy$;
481
- constructor(authService: MesAuthService, themeService: ThemeService);
482
- ngOnInit(): void;
483
- ngOnDestroy(): void;
453
+ private authService;
454
+ private themeService;
455
+ constructor();
484
456
  private loadUnreadCount;
485
457
  onNotificationClick(): void;
486
- static ɵfac: i0.ɵɵFactoryDeclaration<NotificationBadgeComponent, never>;
487
- static ɵcmp: i0.ɵɵComponentDeclaration<NotificationBadgeComponent, "ma-notification-badge", never, {}, { "notificationClick": "notificationClick"; }, never, never, true, never>;
488
- }
489
-
490
- interface Toast {
491
- id: string;
492
- message: string;
493
- title?: string;
494
- type: 'info' | 'success' | 'warning' | 'error';
495
- duration?: number;
496
- }
497
- declare class ToastService {
498
- private toasts$;
499
- toasts: Observable<Toast[]>;
500
- show(message: string, title?: string, type?: 'info' | 'success' | 'warning' | 'error', duration?: number): string;
501
- remove(id: string): void;
502
- clear(): void;
503
- static ɵfac: i0.ɵɵFactoryDeclaration<ToastService, never>;
504
- static ɵprov: i0.ɵɵInjectableDeclaration<ToastService>;
458
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NotificationBadgeComponent, never>;
459
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NotificationBadgeComponent, "ma-notification-badge", never, {}, { "notificationClick": "notificationClick"; }, never, never, true, never>;
505
460
  }
506
461
 
507
- declare class NotificationPanelComponent implements OnInit, OnDestroy {
508
- private authService;
509
- private toastService;
510
- private themeService;
511
- notificationRead: EventEmitter<void>;
462
+ declare class NotificationPanelComponent {
463
+ notificationRead: _angular_core.OutputEmitterRef<void>;
512
464
  get themeClass(): string;
513
465
  isOpen: boolean;
514
- notifications: NotificationDto[];
515
- currentTheme: Theme;
466
+ notifications: _angular_core.WritableSignal<NotificationDto[]>;
516
467
  activeTab: 'unread' | 'read';
517
- private destroy$;
518
468
  private _unreadNotifications;
519
469
  private _readNotifications;
520
470
  dateLabels: Map<string, string>;
@@ -531,8 +481,10 @@ declare class NotificationPanelComponent implements OnInit, OnDestroy {
531
481
  }): 'Info' | 'Success' | 'Warning' | 'Error';
532
482
  private toastType;
533
483
  private readonly sanitizer;
534
- constructor(authService: MesAuthService, toastService: ToastService, themeService: ThemeService);
535
- ngOnInit(): void;
484
+ private readonly authService;
485
+ private readonly toastService;
486
+ private readonly themeService;
487
+ constructor();
536
488
  ngOnDestroy(): void;
537
489
  private loadNotifications;
538
490
  open(): void;
@@ -552,23 +504,55 @@ declare class NotificationPanelComponent implements OnInit, OnDestroy {
552
504
  private recomputeFilteredLists;
553
505
  private onNotificationsChanged;
554
506
  private parseUtcDate;
555
- static ɵfac: i0.ɵɵFactoryDeclaration<NotificationPanelComponent, never>;
556
- static ɵcmp: i0.ɵɵComponentDeclaration<NotificationPanelComponent, "ma-notification-panel", never, {}, { "notificationRead": "notificationRead"; }, never, never, true, never>;
507
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NotificationPanelComponent, never>;
508
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NotificationPanelComponent, "ma-notification-panel", never, {}, { "notificationRead": "notificationRead"; }, never, never, true, never>;
557
509
  }
558
510
 
559
- declare class ToastContainerComponent implements OnInit, OnDestroy {
560
- private toastService;
561
- private themeService;
511
+ interface Toast {
512
+ id: string;
513
+ message: string;
514
+ title?: string;
515
+ type: 'info' | 'success' | 'warning' | 'error';
516
+ duration?: number;
517
+ }
518
+ declare class ToastService {
519
+ private toasts$;
520
+ toasts: Observable<Toast[]>;
521
+ show(message: string, title?: string, type?: 'info' | 'success' | 'warning' | 'error', duration?: number): string;
522
+ remove(id: string): void;
523
+ clear(): void;
524
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ToastService, never>;
525
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<ToastService>;
526
+ }
527
+
528
+ declare class ToastContainerComponent {
562
529
  get themeClass(): string;
563
530
  toasts: Toast[];
564
- currentTheme: Theme;
565
- private destroy$;
566
- constructor(toastService: ToastService, themeService: ThemeService);
567
- ngOnInit(): void;
568
- ngOnDestroy(): void;
531
+ private toastService;
532
+ private themeService;
533
+ constructor();
569
534
  close(id: string): void;
570
- static ɵfac: i0.ɵɵFactoryDeclaration<ToastContainerComponent, never>;
571
- static ɵcmp: i0.ɵɵComponentDeclaration<ToastContainerComponent, "ma-toast-container", never, {}, {}, never, never, true, never>;
535
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ToastContainerComponent, never>;
536
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ToastContainerComponent, "ma-toast-container", never, {}, {}, never, never, true, never>;
537
+ }
538
+
539
+ type Theme = 'light' | 'dark';
540
+ declare class ThemeService implements OnDestroy {
541
+ private readonly _currentTheme;
542
+ readonly currentTheme: _angular_core.Signal<Theme>;
543
+ /** Observable kept for backward compatibility */
544
+ readonly currentTheme$: Observable<Theme>;
545
+ private observer;
546
+ constructor();
547
+ ngOnDestroy(): void;
548
+ private detectTheme;
549
+ private startWatching;
550
+ private stopWatching;
551
+ get currentThemeValue(): Theme;
552
+ setTheme(theme: Theme): void;
553
+ refreshTheme(): void;
554
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ThemeService, never>;
555
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<ThemeService>;
572
556
  }
573
557
 
574
558
  declare class MaApprovalService {
@@ -596,52 +580,54 @@ declare class MaApprovalService {
596
580
  deleteTemplate(id: number): Observable<void>;
597
581
  previewRole(orgCode: string, level: string): Observable<RolePreviewUserDto[]>;
598
582
  createApproval(request: CreateApprovalRequest): Observable<CreateApprovalResponseDto>;
599
- static ɵfac: i0.ɵɵFactoryDeclaration<MaApprovalService, never>;
600
- static ɵprov: i0.ɵɵInjectableDeclaration<MaApprovalService>;
583
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaApprovalService, never>;
584
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<MaApprovalService>;
601
585
  }
602
586
 
603
- declare class MaArvContainerComponent implements OnInit, OnDestroy {
604
- title: string;
605
- description?: string;
606
- referenceId: string;
607
- templateIds?: number[];
608
- callbackUrl?: string;
609
- deadlineHours?: number;
610
- approvalSubmitted: EventEmitter<ApprovalSubmitResult>;
611
- approvalSubmitting: EventEmitter<void>;
612
- cancelled: EventEmitter<void>;
587
+ declare class MaArvContainerComponent {
588
+ title: _angular_core.InputSignal<string>;
589
+ description: _angular_core.InputSignal<string>;
590
+ referenceId: _angular_core.InputSignal<string>;
591
+ templateIds: _angular_core.InputSignal<number[]>;
592
+ callbackUrl: _angular_core.InputSignal<string>;
593
+ deadlineHours: _angular_core.InputSignal<number>;
594
+ approvalSubmitted: _angular_core.OutputEmitterRef<ApprovalSubmitResult>;
595
+ approvalSubmitting: _angular_core.OutputEmitterRef<void>;
596
+ cancelled: _angular_core.OutputEmitterRef<void>;
613
597
  contentBody: ElementRef<HTMLElement>;
598
+ get themeClass(): string;
614
599
  routingMode: 'template' | 'adhoc';
615
- templates: ApprovalTemplateSummaryDto[];
600
+ templates: _angular_core.WritableSignal<ApprovalTemplateSummaryDto[]>;
616
601
  selectedTemplateId: number | null;
617
- selectedTemplate: ApprovalTemplateDto | null;
618
- loadingTemplate: boolean;
619
- stepCandidates: RolePreviewUserDto[][];
620
- stepLoadingCandidates: boolean[];
621
- stepSelectedUsers: string[];
602
+ selectedTemplate: _angular_core.WritableSignal<ApprovalTemplateDto>;
603
+ loadingTemplate: _angular_core.WritableSignal<boolean>;
604
+ stepCandidates: _angular_core.WritableSignal<RolePreviewUserDto[][]>;
605
+ stepLoadingCandidates: _angular_core.WritableSignal<boolean[]>;
606
+ stepSelectedUsers: _angular_core.WritableSignal<string[]>;
622
607
  adHocSteps: ApprovalStepRequest[];
623
608
  referenceUserIds: string[];
624
609
  refSearchQuery: string;
625
610
  refSearchResults: any[];
626
611
  userSearchQuery: string[];
627
612
  userSearchResults: any[][];
613
+ candidateSearchQuery: string[];
614
+ candidateSearchResults: any[][];
628
615
  submitting: boolean;
629
616
  isSubmitted: boolean;
630
617
  errorMessage: string;
631
618
  userLabelMap: Record<string, string>;
632
- get themeClass(): string;
633
- currentTheme: Theme;
634
- private destroy$;
635
619
  private mesAuth;
636
620
  private themeService;
637
621
  private approvalSvc;
638
622
  private http;
639
- ngOnInit(): void;
640
- ngOnDestroy(): void;
623
+ private destroyRef;
624
+ constructor();
641
625
  private loadTemplates;
642
626
  private loadTemplateDetail;
643
627
  private loadStepCandidates;
644
628
  onStepUserChange(stepIndex: number, event: Event): void;
629
+ onStepUserChangeInput(stepIndex: number, userId: string): void;
630
+ onCandidateSearchInput(stepIndex: number, query: string): void;
645
631
  onTemplateChange(event: Event): void;
646
632
  addStep(): void;
647
633
  removeStep(i: number): void;
@@ -649,6 +635,7 @@ declare class MaArvContainerComponent implements OnInit, OnDestroy {
649
635
  removeApprover(stepIndex: number, approverIndex: number): void;
650
636
  addReference(userId: string): void;
651
637
  private storeLabelFromResults;
638
+ private storeLabelFromCandidates;
652
639
  removeReference(j: number): void;
653
640
  onUserSearchInput(stepIndex: number, query: string): void;
654
641
  onRefSearchInput(query: string): void;
@@ -658,8 +645,8 @@ declare class MaArvContainerComponent implements OnInit, OnDestroy {
658
645
  captureContent(): Promise<string>;
659
646
  private captureThumbnail;
660
647
  private getStyleProperties;
661
- static ɵfac: i0.ɵɵFactoryDeclaration<MaArvContainerComponent, never>;
662
- static ɵcmp: i0.ɵɵComponentDeclaration<MaArvContainerComponent, "ma-arv-container", never, { "title": { "alias": "title"; "required": false; }; "description": { "alias": "description"; "required": false; }; "referenceId": { "alias": "referenceId"; "required": false; }; "templateIds": { "alias": "templateIds"; "required": false; }; "callbackUrl": { "alias": "callbackUrl"; "required": false; }; "deadlineHours": { "alias": "deadlineHours"; "required": false; }; }, { "approvalSubmitted": "approvalSubmitted"; "approvalSubmitting": "approvalSubmitting"; "cancelled": "cancelled"; }, never, ["*"], true, never>;
648
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaArvContainerComponent, never>;
649
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<MaArvContainerComponent, "ma-arv-container", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "description": { "alias": "description"; "required": false; "isSignal": true; }; "referenceId": { "alias": "referenceId"; "required": false; "isSignal": true; }; "templateIds": { "alias": "templateIds"; "required": false; "isSignal": true; }; "callbackUrl": { "alias": "callbackUrl"; "required": false; "isSignal": true; }; "deadlineHours": { "alias": "deadlineHours"; "required": false; "isSignal": true; }; }, { "approvalSubmitted": "approvalSubmitted"; "approvalSubmitting": "approvalSubmitting"; "cancelled": "cancelled"; }, never, ["*"], true, never>;
663
650
  }
664
651
 
665
652
  interface PermissionHeader {
@@ -677,7 +664,7 @@ interface RequestConfig {
677
664
  url: string;
678
665
  params?: HttpParams | Record<string, string | string[]>;
679
666
  }
680
- declare function xMaResource<T>(request: () => RequestConfig): i0.ResourceRef<{
667
+ declare function xMaResource<T>(request: () => RequestConfig): _angular_core.ResourceRef<{
681
668
  data: T;
682
669
  allowedActions: string[];
683
670
  }>;
@@ -709,11 +696,11 @@ declare class MaUiConfigService {
709
696
  private _features;
710
697
  private _updateRequired;
711
698
  /** Reactive map of UI string overrides from the server manifest. */
712
- readonly labels: i0.Signal<Record<string, string>>;
699
+ readonly labels: _angular_core.Signal<Record<string, string>>;
713
700
  /** Reactive map of feature flags from the server manifest. */
714
- readonly features: i0.Signal<Record<string, boolean>>;
701
+ readonly features: _angular_core.Signal<Record<string, boolean>>;
715
702
  /** True when the server signals that a package upgrade is needed. */
716
- readonly updateRequired: i0.Signal<boolean>;
703
+ readonly updateRequired: _angular_core.Signal<boolean>;
717
704
  /**
718
705
  * Returns a label by key, falling back to `defaultValue` when the server
719
706
  * manifest has not provided an override.
@@ -729,8 +716,8 @@ declare class MaUiConfigService {
729
716
  * works without a manifest endpoint.
730
717
  */
731
718
  loadManifest(assetsUrl: string, http: HttpClient): void;
732
- static ɵfac: i0.ɵɵFactoryDeclaration<MaUiConfigService, never>;
733
- static ɵprov: i0.ɵɵInjectableDeclaration<MaUiConfigService>;
719
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaUiConfigService, never>;
720
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<MaUiConfigService>;
734
721
  }
735
722
 
736
723
  /**
@@ -748,17 +735,16 @@ declare class MaUiConfigService {
748
735
  * icon SVG is defined, replacing the repeated inline <svg> blocks that were
749
736
  * scattered across every component template.
750
737
  */
751
- declare class MaIconComponent implements OnChanges {
752
- name: string;
753
- size: number;
754
- stroke: string;
755
- strokeWidth: number;
756
- svgContent: SafeHtml;
738
+ declare class MaIconComponent {
739
+ name: _angular_core.InputSignal<string>;
740
+ size: _angular_core.InputSignal<number>;
741
+ stroke: _angular_core.InputSignal<string>;
742
+ strokeWidth: _angular_core.InputSignal<number>;
757
743
  private sanitizer;
758
- ngOnChanges(changes: SimpleChanges): void;
744
+ svgContent: _angular_core.Signal<SafeHtml>;
759
745
  private buildSvg;
760
- static ɵfac: i0.ɵɵFactoryDeclaration<MaIconComponent, never>;
761
- static ɵcmp: i0.ɵɵComponentDeclaration<MaIconComponent, "ma-icon", never, { "name": { "alias": "name"; "required": false; }; "size": { "alias": "size"; "required": false; }; "stroke": { "alias": "stroke"; "required": false; }; "strokeWidth": { "alias": "strokeWidth"; "required": false; }; }, {}, never, never, true, never>;
746
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaIconComponent, never>;
747
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<MaIconComponent, "ma-icon", never, { "name": { "alias": "name"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "stroke": { "alias": "stroke"; "required": false; "isSignal": true; }; "strokeWidth": { "alias": "strokeWidth"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
762
748
  }
763
749
 
764
750
  /**
@@ -774,14 +760,11 @@ declare class MaIconComponent implements OnChanges {
774
760
  * Or as a hostDirective in a component:
775
761
  * @Component({ hostDirectives: [MaThemeDirective], ... })
776
762
  */
777
- declare class MaThemeDirective implements OnInit, OnDestroy {
778
- themeClass: string;
763
+ declare class MaThemeDirective {
779
764
  private themeService;
780
- private destroy$;
781
- ngOnInit(): void;
782
- ngOnDestroy(): void;
783
- static ɵfac: i0.ɵɵFactoryDeclaration<MaThemeDirective, never>;
784
- static ɵdir: i0.ɵɵDirectiveDeclaration<MaThemeDirective, "[maTheme]", never, {}, {}, never, never, true, never>;
765
+ get themeClass(): string;
766
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaThemeDirective, never>;
767
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<MaThemeDirective, "[maTheme]", never, {}, {}, never, never, true, never>;
785
768
  }
786
769
 
787
770
  export { ALL_ACTIONS, ApprovalActionType, ApprovalDocumentStatus, ApprovalStepMode, ApprovalStepStatus, MES_AUTH_CONFIG, MaApprovalPanelComponent, MaApprovalService, MaArvContainerComponent, MaIconComponent, MaThemeDirective, MaUiConfigService, MaUserComponent, MesAuthModule, MesAuthService, NotificationBadgeComponent, NotificationPanelComponent, NotificationType, ThemeService, ToastContainerComponent, ToastService, UserProfileComponent, extractXMaPerm, mesAuthInterceptor, provideMesAuth, withXMaPerm, xMaResource };