@skysoftware-co/bayan-core-widgets-ui 0.1.3 → 0.1.5

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.
@@ -1,10 +1,9 @@
1
- import { ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
1
+ import { ElementRef, EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
2
  import { BayanEmployeeBadgeDTO } from '@skysoftware-co/bayan-components-ui';
3
3
  import { UserPanel, PropertyOption } from '../../../shared/menu.dtos';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class BayanCoreUserPanelWidgetComponent implements OnInit, OnChanges {
6
6
  private readonly elementRef;
7
- private readonly cdr;
8
7
  private readonly topMenuService;
9
8
  baseUrl: string;
10
9
  wrapperClass: string;
@@ -30,7 +29,7 @@ export declare class BayanCoreUserPanelWidgetComponent implements OnInit, OnChan
30
29
  readonly dropdownOpen: import("@angular/core").WritableSignal<boolean>;
31
30
  readonly userPanel: import("@angular/core").WritableSignal<UserPanel | null>;
32
31
  readonly badge: import("@angular/core").Signal<BayanEmployeeBadgeDTO>;
33
- constructor(elementRef: ElementRef<HTMLElement>, cdr: ChangeDetectorRef);
32
+ constructor(elementRef: ElementRef<HTMLElement>);
34
33
  ngOnInit(): void;
35
34
  ngOnChanges(changes: SimpleChanges): void;
36
35
  onDocumentClick(event: MouseEvent): void;
@@ -11,6 +11,7 @@ export declare class BayanCoreTopMenuWidgetComponent implements OnInit {
11
11
  constructor(elementRef: ElementRef);
12
12
  private TranslateService;
13
13
  globalSearchWidget?: BayanCoreGlobalSearchWidgetComponent;
14
+ userPanelWidget?: BayanCoreUserPanelWidgetComponent;
14
15
  globalSearchResults: GlobalSearchMenu[];
15
16
  private readonly document;
16
17
  private readonly router;
@@ -50,17 +51,16 @@ export declare class BayanCoreTopMenuWidgetComponent implements OnInit {
50
51
  employeeNameModeChange: EventEmitter<EmployeeNamesModeOption>;
51
52
  readonly aboutVisible: import("@angular/core").WritableSignal<boolean>;
52
53
  readonly changePasswordVisible: import("@angular/core").WritableSignal<boolean>;
53
- userPanelWidget?: BayanCoreUserPanelWidgetComponent;
54
54
  ActivePropertyChanged: boolean;
55
55
  ActivePropertyId: number;
56
56
  ngOnInit(): void;
57
57
  private loadGlobalSearchResults;
58
58
  onEmployeeNameModeChange(event: any): void;
59
+ onAlternateNamesChange(value: boolean): void;
59
60
  getLogoSrc(): string | null;
60
61
  onLogoClicked(event?: Event): void;
61
62
  onHelpClicked(event?: Event): void;
62
63
  onPropertyChanged(property: PropertyOption): void;
63
- onAlternateNamesChange(value: boolean): void;
64
64
  private loadShortcutMenus;
65
65
  static ɵfac: i0.ɵɵFactoryDeclaration<BayanCoreTopMenuWidgetComponent, never>;
66
66
  static ɵcmp: i0.ɵɵComponentDeclaration<BayanCoreTopMenuWidgetComponent, "bayan-core-top-menu-widget", never, { "baseUrl": { "alias": "baseUrl"; "required": false; }; "systemModule": { "alias": "systemModule"; "required": false; }; "sidebarCollapsed": { "alias": "sidebarCollapsed"; "required": false; }; "homeUrl": { "alias": "homeUrl"; "required": false; }; "logoUrl": { "alias": "logoUrl"; "required": false; }; "collapsedLogoUrl": { "alias": "collapsedLogoUrl"; "required": false; }; "isSsoLogin": { "alias": "isSsoLogin"; "required": false; }; "showGlobalSearch": { "alias": "showGlobalSearch"; "required": false; }; "showUserPanel": { "alias": "showUserPanel"; "required": false; }; "showSettings": { "alias": "showSettings"; "required": false; }; "showShortcutMenus": { "alias": "showShortcutMenus"; "required": false; }; "showNotifications": { "alias": "showNotifications"; "required": false; }; "notificationsTitle": { "alias": "notificationsTitle"; "required": false; }; "showHelp": { "alias": "showHelp"; "required": false; }; "helpTitle": { "alias": "helpTitle"; "required": false; }; "helpUrl": { "alias": "helpUrl"; "required": false; }; "helpIcon": { "alias": "helpIcon"; "required": false; }; "helpAnchorClass": { "alias": "helpAnchorClass"; "required": false; }; "helpUrlTarget": { "alias": "helpUrlTarget"; "required": false; }; "licenseUrl": { "alias": "licenseUrl"; "required": false; }; "releaseNotesUrl": { "alias": "releaseNotesUrl"; "required": false; }; "supportUrl": { "alias": "supportUrl"; "required": false; }; }, { "logoClick": "logoClick"; "helpClick": "helpClick"; "menuItemClick": "menuItemClick"; "searchSubmit": "searchSubmit"; "propertyChanged": "propertyChanged"; "signOutClick": "signOutClick"; "alternateNamesChange": "alternateNamesChange"; "employeeNameModeChange": "employeeNameModeChange"; }, never, never, true, never>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skysoftware-co/bayan-core-widgets-ui",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "19.2.14",
6
6
  "@angular/core": "19.2.14",