@skysoftware-co/bayan-core-widgets-ui 0.0.1 → 0.0.2
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/README.md +26 -23
- package/fesm2022/skysoftware-co-bayan-core-widgets-ui.mjs +155 -61
- package/fesm2022/skysoftware-co-bayan-core-widgets-ui.mjs.map +1 -1
- package/lib/top-menu-widget/components/global-search-widget/global-search-widget.component.d.ts +5 -3
- package/lib/top-menu-widget/components/global-search-widget/global-search-widget.component.d.ts.map +1 -1
- package/lib/top-menu-widget/components/item-widget/item-widget.component.d.ts +5 -3
- package/lib/top-menu-widget/components/item-widget/item-widget.component.d.ts.map +1 -1
- package/lib/top-menu-widget/components/settings-widget/settings-widget.component.d.ts +5 -3
- package/lib/top-menu-widget/components/settings-widget/settings-widget.component.d.ts.map +1 -1
- package/lib/top-menu-widget/components/user-panel-widget/user-panel-widget.component.d.ts +28 -14
- package/lib/top-menu-widget/components/user-panel-widget/user-panel-widget.component.d.ts.map +1 -1
- package/lib/top-menu-widget/top-menu-widget.component.d.ts +10 -7
- package/lib/top-menu-widget/top-menu-widget.component.d.ts.map +1 -1
- package/lib/top-menu-widget/top-menu-widget.models.d.ts +0 -13
- package/lib/top-menu-widget/top-menu-widget.models.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,15 +1,17 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter } from '@angular/core';
|
|
1
|
+
import { ElementRef, EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { TopMenuWidgetItem } from '../../top-menu-widget.models';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class BayanCoreItemWidgetComponent {
|
|
4
|
+
export declare class BayanCoreItemWidgetComponent implements OnChanges {
|
|
5
5
|
private readonly elementRef;
|
|
6
6
|
private readonly document;
|
|
7
7
|
private readonly router;
|
|
8
8
|
baseUrl: string;
|
|
9
|
+
ActivePropertyChanged: boolean;
|
|
9
10
|
item: TopMenuWidgetItem;
|
|
10
11
|
itemClick: EventEmitter<TopMenuWidgetItem>;
|
|
11
12
|
readonly open: import("@angular/core").WritableSignal<boolean>;
|
|
12
13
|
constructor(elementRef: ElementRef<HTMLElement>);
|
|
14
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
13
15
|
onDocumentClick(event: MouseEvent): void;
|
|
14
16
|
hasChildren(): boolean;
|
|
15
17
|
hasNavigationUrl(url: string | null | undefined): boolean;
|
|
@@ -17,6 +19,6 @@ export declare class BayanCoreItemWidgetComponent {
|
|
|
17
19
|
onChildItemClick(item: TopMenuWidgetItem): void;
|
|
18
20
|
private navigateToUrl;
|
|
19
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<BayanCoreItemWidgetComponent, never>;
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BayanCoreItemWidgetComponent, "bayan-core-item-widget", never, { "baseUrl": { "alias": "baseUrl"; "required": false; }; "item": { "alias": "item"; "required": true; }; }, { "itemClick": "itemClick"; }, never, never, true, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BayanCoreItemWidgetComponent, "bayan-core-item-widget", never, { "baseUrl": { "alias": "baseUrl"; "required": false; }; "ActivePropertyChanged": { "alias": "ActivePropertyChanged"; "required": false; }; "item": { "alias": "item"; "required": true; }; }, { "itemClick": "itemClick"; }, never, never, true, never>;
|
|
21
23
|
}
|
|
22
24
|
//# sourceMappingURL=item-widget.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"item-widget.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/bayan-core-ui/src/lib/top-menu-widget/components/item-widget/item-widget.component.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,UAAU,EACV,YAAY,
|
|
1
|
+
{"version":3,"file":"item-widget.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/bayan-core-ui/src/lib/top-menu-widget/components/item-widget/item-widget.component.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,UAAU,EACV,YAAY,EAGZ,SAAS,EAET,aAAa,EAGd,MAAM,eAAe,CAAC;AAGvB,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;;AAGjE,qBAQa,4BAA6B,YAAW,SAAS;IAWhD,OAAO,CAAC,QAAQ,CAAC,UAAU;IAVvC,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAoB;IAC7C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAkB;IAEhC,OAAO,SAAM;IACb,qBAAqB,UAAS;IACZ,IAAI,EAAG,iBAAiB,CAAC;IAC1C,SAAS,kCAAyC;IAE5D,QAAQ,CAAC,IAAI,kDAAiB;gBAED,UAAU,EAAE,UAAU,CAAC,WAAW,CAAC;IAEhE,WAAW,CAAC,OAAO,EAAE,aAAa,GAAG,IAAI;IAWzC,eAAe,CAAC,KAAK,EAAE,UAAU,GAAG,IAAI;IAOxC,WAAW,IAAI,OAAO;IAItB,gBAAgB,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,OAAO;IAIzD,eAAe,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI;IAanC,gBAAgB,CAAC,IAAI,EAAE,iBAAiB,GAAG,IAAI;IAK/C,OAAO,CAAC,aAAa;yCAzDV,4BAA4B;2CAA5B,4BAA4B;CA2ExC"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter } from '@angular/core';
|
|
1
|
+
import { ElementRef, EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { TopMenuWidgetNameModeItem } from '../../top-menu-widget.models';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class BayanCoreSettingsWidgetComponent {
|
|
4
|
+
export declare class BayanCoreSettingsWidgetComponent implements OnChanges {
|
|
5
5
|
private readonly elementRef;
|
|
6
|
+
ActivePropertyChanged: boolean;
|
|
6
7
|
useAlternateNames: boolean;
|
|
7
8
|
displayAlternateNames: boolean;
|
|
8
9
|
hrBlocked: boolean;
|
|
@@ -24,12 +25,13 @@ export declare class BayanCoreSettingsWidgetComponent {
|
|
|
24
25
|
readonly infoIcon: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
25
26
|
readonly dropdownOpen: import("@angular/core").WritableSignal<boolean>;
|
|
26
27
|
constructor(elementRef: ElementRef<HTMLElement>);
|
|
28
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
27
29
|
onDocumentClick(event: MouseEvent): void;
|
|
28
30
|
toggleDropdown(event: Event): void;
|
|
29
31
|
onAlternateNamesClick(event: Event): void;
|
|
30
32
|
onNameModeClick(index: number, event: Event): void;
|
|
31
33
|
emitAndClose(event: Event, emitter: EventEmitter<void>): void;
|
|
32
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<BayanCoreSettingsWidgetComponent, never>;
|
|
33
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BayanCoreSettingsWidgetComponent, "bayan-core-settings-widget", never, { "useAlternateNames": { "alias": "useAlternateNames"; "required": false; }; "displayAlternateNames": { "alias": "displayAlternateNames"; "required": false; }; "hrBlocked": { "alias": "hrBlocked"; "required": false; }; "hrCanBlock": { "alias": "hrCanBlock"; "required": false; }; "tkBlocked": { "alias": "tkBlocked"; "required": false; }; "tkCanBlock": { "alias": "tkCanBlock"; "required": false; }; "nameModeItems": { "alias": "nameModeItems"; "required": false; }; "settingsEnabled": { "alias": "settingsEnabled"; "required": false; }; }, { "alternateNamesChange": "alternateNamesChange"; "nameModeChange": "nameModeChange"; "blockHrClick": "blockHrClick"; "releaseHrClick": "releaseHrClick"; "blockTkClick": "blockTkClick"; "releaseTkClick": "releaseTkClick"; "changePasswordClick": "changePasswordClick"; "openAboutClick": "openAboutClick"; }, never, never, true, never>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BayanCoreSettingsWidgetComponent, "bayan-core-settings-widget", never, { "ActivePropertyChanged": { "alias": "ActivePropertyChanged"; "required": false; }; "useAlternateNames": { "alias": "useAlternateNames"; "required": false; }; "displayAlternateNames": { "alias": "displayAlternateNames"; "required": false; }; "hrBlocked": { "alias": "hrBlocked"; "required": false; }; "hrCanBlock": { "alias": "hrCanBlock"; "required": false; }; "tkBlocked": { "alias": "tkBlocked"; "required": false; }; "tkCanBlock": { "alias": "tkCanBlock"; "required": false; }; "nameModeItems": { "alias": "nameModeItems"; "required": false; }; "settingsEnabled": { "alias": "settingsEnabled"; "required": false; }; }, { "alternateNamesChange": "alternateNamesChange"; "nameModeChange": "nameModeChange"; "blockHrClick": "blockHrClick"; "releaseHrClick": "releaseHrClick"; "blockTkClick": "blockTkClick"; "releaseTkClick": "releaseTkClick"; "changePasswordClick": "changePasswordClick"; "openAboutClick": "openAboutClick"; }, never, never, true, never>;
|
|
34
36
|
}
|
|
35
37
|
//# sourceMappingURL=settings-widget.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"settings-widget.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/bayan-core-ui/src/lib/top-menu-widget/components/settings-widget/settings-widget.component.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,UAAU,EACV,YAAY,
|
|
1
|
+
{"version":3,"file":"settings-widget.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/bayan-core-ui/src/lib/top-menu-widget/components/settings-widget/settings-widget.component.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,UAAU,EACV,YAAY,EAGZ,SAAS,EAET,aAAa,EAEd,MAAM,eAAe,CAAC;AAIvB,OAAO,EAAE,yBAAyB,EAAE,MAAM,8BAA8B,CAAC;;AAEzE,qBAQa,gCAAiC,YAAW,SAAS;IAyBpD,OAAO,CAAC,QAAQ,CAAC,UAAU;IAxB9B,qBAAqB,UAAS;IAC9B,iBAAiB,UAAS;IAC1B,qBAAqB,UAAS;IAC9B,SAAS,UAAS;IAClB,UAAU,UAAS;IACnB,SAAS,UAAS;IAClB,UAAU,UAAS;IACnB,aAAa,EAAE,yBAAyB,EAAE,CAAM;IAChD,eAAe,UAAQ;IAEtB,oBAAoB,qBAA4B;IAChD,cAAc,uBAA8B;IAC5C,YAAY,qBAA4B;IACxC,cAAc,qBAA4B;IAC1C,YAAY,qBAA4B;IACxC,cAAc,qBAA4B;IAC1C,mBAAmB,qBAA4B;IAC/C,cAAc,qBAA4B;IAEpD,QAAQ,CAAC,SAAS,iEAAW;IAC7B,QAAQ,CAAC,OAAO,iEAAS;IACzB,QAAQ,CAAC,QAAQ,iEAAgB;IACjC,QAAQ,CAAC,YAAY,kDAAiB;gBAET,UAAU,EAAE,UAAU,CAAC,WAAW,CAAC;IAEhE,WAAW,CAAC,OAAO,EAAE,aAAa,GAAG,IAAI;IAWzC,eAAe,CAAC,KAAK,EAAE,UAAU,GAAG,IAAI;IAOxC,cAAc,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI;IAKlC,qBAAqB,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI;IASzC,eAAe,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,GAAG,IAAI;IAUlD,YAAY,CAAC,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,YAAY,CAAC,IAAI,CAAC,GAAG,IAAI;yCArElD,gCAAgC;2CAAhC,gCAAgC;CA0E5C"}
|
|
@@ -1,29 +1,43 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter } from '@angular/core';
|
|
1
|
+
import { ElementRef, EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { BayanEmployeeBadgeDTO } from '@skysoftware-co/bayan-components-ui';
|
|
3
|
-
import {
|
|
3
|
+
import { UserPanel, PropertyOption } from '../../../shared/menu.dtos';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class BayanCoreUserPanelWidgetComponent {
|
|
5
|
+
export declare class BayanCoreUserPanelWidgetComponent implements OnInit, OnChanges {
|
|
6
6
|
private readonly elementRef;
|
|
7
|
+
private readonly topMenuService;
|
|
7
8
|
baseUrl: string;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
wrapperClass: string;
|
|
10
|
+
dropdownOpenClass: string;
|
|
11
|
+
toggleButtonClass: string;
|
|
12
|
+
employeeInfoClass: string;
|
|
13
|
+
userNameClass: string;
|
|
14
|
+
propertyNameClass: string;
|
|
15
|
+
caretClass: string;
|
|
16
|
+
menuClass: string;
|
|
17
|
+
sectionLabelClass: string;
|
|
18
|
+
menuItemClass: string;
|
|
19
|
+
menuItemActiveClass: string;
|
|
20
|
+
indicatorClass: string;
|
|
21
|
+
invisibleIndicatorClass: string;
|
|
22
|
+
dividerClass: string;
|
|
23
|
+
signOutButtonClass: string;
|
|
24
|
+
showSignOutIcon: boolean;
|
|
25
|
+
signOutIconClass: string;
|
|
26
|
+
propertyChanged: EventEmitter<PropertyOption>;
|
|
11
27
|
signOutClick: EventEmitter<void>;
|
|
12
28
|
readonly signOutIcon: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
13
29
|
readonly dropdownOpen: import("@angular/core").WritableSignal<boolean>;
|
|
14
|
-
|
|
30
|
+
readonly userPanel: import("@angular/core").WritableSignal<UserPanel | null>;
|
|
15
31
|
readonly badge: import("@angular/core").Signal<BayanEmployeeBadgeDTO>;
|
|
16
32
|
constructor(elementRef: ElementRef<HTMLElement>);
|
|
33
|
+
ngOnInit(): void;
|
|
34
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
17
35
|
onDocumentClick(event: MouseEvent): void;
|
|
18
|
-
displayName(): string;
|
|
19
|
-
activePropertyName(): string;
|
|
20
|
-
activePropertyId(): number | null;
|
|
21
|
-
propertyList(): TopMenuWidgetPropertyOption[];
|
|
22
|
-
showSignOut(): boolean;
|
|
23
36
|
toggleDropdown(event: Event): void;
|
|
24
|
-
selectProperty(event: Event, property:
|
|
37
|
+
selectProperty(event: Event, property: PropertyOption): void;
|
|
25
38
|
signOut(event: Event): void;
|
|
39
|
+
private loadUserPanel;
|
|
26
40
|
static ɵfac: i0.ɵɵFactoryDeclaration<BayanCoreUserPanelWidgetComponent, never>;
|
|
27
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BayanCoreUserPanelWidgetComponent, "bayan-core-user-panel-widget", never, { "baseUrl": { "alias": "baseUrl"; "required": false; }; "
|
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BayanCoreUserPanelWidgetComponent, "bayan-core-user-panel-widget", never, { "baseUrl": { "alias": "baseUrl"; "required": false; }; "wrapperClass": { "alias": "wrapperClass"; "required": false; }; "dropdownOpenClass": { "alias": "dropdownOpenClass"; "required": false; }; "toggleButtonClass": { "alias": "toggleButtonClass"; "required": false; }; "employeeInfoClass": { "alias": "employeeInfoClass"; "required": false; }; "userNameClass": { "alias": "userNameClass"; "required": false; }; "propertyNameClass": { "alias": "propertyNameClass"; "required": false; }; "caretClass": { "alias": "caretClass"; "required": false; }; "menuClass": { "alias": "menuClass"; "required": false; }; "sectionLabelClass": { "alias": "sectionLabelClass"; "required": false; }; "menuItemClass": { "alias": "menuItemClass"; "required": false; }; "menuItemActiveClass": { "alias": "menuItemActiveClass"; "required": false; }; "indicatorClass": { "alias": "indicatorClass"; "required": false; }; "invisibleIndicatorClass": { "alias": "invisibleIndicatorClass"; "required": false; }; "dividerClass": { "alias": "dividerClass"; "required": false; }; "signOutButtonClass": { "alias": "signOutButtonClass"; "required": false; }; "showSignOutIcon": { "alias": "showSignOutIcon"; "required": false; }; "signOutIconClass": { "alias": "signOutIconClass"; "required": false; }; }, { "propertyChanged": "propertyChanged"; "signOutClick": "signOutClick"; }, never, never, true, never>;
|
|
28
42
|
}
|
|
29
43
|
//# sourceMappingURL=user-panel-widget.component.d.ts.map
|
package/lib/top-menu-widget/components/user-panel-widget/user-panel-widget.component.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user-panel-widget.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/bayan-core-ui/src/lib/top-menu-widget/components/user-panel-widget/user-panel-widget.component.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,UAAU,EACV,YAAY,
|
|
1
|
+
{"version":3,"file":"user-panel-widget.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/bayan-core-ui/src/lib/top-menu-widget/components/user-panel-widget/user-panel-widget.component.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,UAAU,EACV,YAAY,EAGZ,SAAS,EACT,MAAM,EAEN,aAAa,EAId,MAAM,eAAe,CAAC;AAGvB,OAAO,EAA+B,qBAAqB,EAAE,MAAM,qCAAqC,CAAC;AAEzG,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;;AAGtE,qBAQa,iCAAkC,YAAW,MAAM,EAAE,SAAS;IAmC7D,OAAO,CAAC,QAAQ,CAAC,UAAU;IAlCvC,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAmC;IAEzD,OAAO,SAAM;IACb,YAAY,SAAwB;IACpC,iBAAiB,SAAU;IAC3B,iBAAiB,SAAqB;IACtC,iBAAiB,SAAmB;IACpC,aAAa,SAAe;IAC5B,iBAAiB,SAAmB;IACpC,UAAU,SAAoB;IAC9B,SAAS,SAAuC;IAChD,iBAAiB,SAAwB;IACzC,aAAa,SAAe;IAC5B,mBAAmB,SAAsB;IACzC,cAAc,SAAoB;IAClC,uBAAuB,SAAe;IACtC,YAAY,SAAkB;IAC9B,kBAAkB,SAAiC;IACnD,eAAe,UAAQ;IACvB,gBAAgB,SAAU;IAEzB,eAAe,+BAAsC;IACrD,YAAY,qBAA4B;IAElD,QAAQ,CAAC,WAAW,iEAAmB;IACvC,QAAQ,CAAC,YAAY,kDAAiB;IACtC,QAAQ,CAAC,SAAS,2DAAkC;IAEpD,QAAQ,CAAC,KAAK,wDAIV;gBAEyB,UAAU,EAAE,UAAU,CAAC,WAAW,CAAC;IAEhE,QAAQ,IAAI,IAAI;IAIhB,WAAW,CAAC,OAAO,EAAE,aAAa,GAAG,IAAI;IAOzC,eAAe,CAAC,KAAK,EAAE,UAAU,GAAG,IAAI;IAOxC,cAAc,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI;IAKlC,cAAc,CAAC,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,cAAc,GAAG,IAAI;IAuB5D,OAAO,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI;IAM3B,OAAO,CAAC,aAAa;yCAzFV,iCAAiC;2CAAjC,iCAAiC;CAwG7C"}
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { PropertyOption, SystemModule } from '../shared/menu.dtos';
|
|
2
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
3
|
import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
|
|
3
|
-
import { TopMenuWidgetAboutDialogConfig, TopMenuWidgetChangePasswordDialogConfig, TopMenuWidgetChangePasswordPayload, TopMenuWidgetItem, TopMenuWidgetNameModeItem,
|
|
4
|
+
import { TopMenuWidgetAboutDialogConfig, TopMenuWidgetChangePasswordDialogConfig, TopMenuWidgetChangePasswordPayload, TopMenuWidgetItem, TopMenuWidgetNameModeItem, TopMenuWidgetSearchItem } from './top-menu-widget.models';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class BayanCoreTopMenuWidgetComponent {
|
|
6
|
+
export declare class BayanCoreTopMenuWidgetComponent implements OnInit {
|
|
6
7
|
private readonly document;
|
|
7
8
|
private readonly router;
|
|
8
9
|
baseUrl: string;
|
|
10
|
+
systemModule: SystemModule | null;
|
|
9
11
|
sidebarCollapsed: boolean;
|
|
10
12
|
homeUrl: string | null;
|
|
11
13
|
logoUrl: string;
|
|
@@ -14,7 +16,6 @@ export declare class BayanCoreTopMenuWidgetComponent {
|
|
|
14
16
|
searchPlaceholder: string;
|
|
15
17
|
menuItems: TopMenuWidgetItem[];
|
|
16
18
|
searchItems: TopMenuWidgetSearchItem[];
|
|
17
|
-
userPanel: TopMenuWidgetUserPanel | null;
|
|
18
19
|
isSsoLogin: boolean;
|
|
19
20
|
useAlternateNames: boolean;
|
|
20
21
|
displayAlternateNames: boolean;
|
|
@@ -43,7 +44,7 @@ export declare class BayanCoreTopMenuWidgetComponent {
|
|
|
43
44
|
menuItemClick: EventEmitter<TopMenuWidgetItem>;
|
|
44
45
|
searchSubmit: EventEmitter<string>;
|
|
45
46
|
searchItemNavigate: EventEmitter<TopMenuWidgetSearchItem>;
|
|
46
|
-
|
|
47
|
+
propertyChanged: EventEmitter<PropertyOption>;
|
|
47
48
|
signOutClick: EventEmitter<void>;
|
|
48
49
|
alternateNamesChange: EventEmitter<void>;
|
|
49
50
|
nameModeChange: EventEmitter<number>;
|
|
@@ -59,14 +60,16 @@ export declare class BayanCoreTopMenuWidgetComponent {
|
|
|
59
60
|
submitPasswordChange: EventEmitter<TopMenuWidgetChangePasswordPayload>;
|
|
60
61
|
readonly aboutVisible: import("@angular/core").WritableSignal<boolean>;
|
|
61
62
|
readonly changePasswordVisible: import("@angular/core").WritableSignal<boolean>;
|
|
63
|
+
ActivePropertyChanged: boolean;
|
|
64
|
+
ngOnInit(): void;
|
|
62
65
|
hasNavigationUrl(url: string | null): boolean;
|
|
63
66
|
getLogoSrc(): string | null;
|
|
64
67
|
onLogoClicked(event?: Event): void;
|
|
65
68
|
onHelpClicked(event?: Event): void;
|
|
66
69
|
onChangePasswordRequested(): void;
|
|
67
70
|
onAboutRequested(): void;
|
|
68
|
-
|
|
71
|
+
onPropertyChanged(property: PropertyOption): void;
|
|
69
72
|
static ɵfac: i0.ɵɵFactoryDeclaration<BayanCoreTopMenuWidgetComponent, never>;
|
|
70
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BayanCoreTopMenuWidgetComponent, "bayan-core-top-menu-widget", never, { "baseUrl": { "alias": "baseUrl"; "required": false; }; "
|
|
73
|
+
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; }; "searchPlaceholder": { "alias": "searchPlaceholder"; "required": false; }; "menuItems": { "alias": "menuItems"; "required": false; }; "searchItems": { "alias": "searchItems"; "required": false; }; "isSsoLogin": { "alias": "isSsoLogin"; "required": false; }; "useAlternateNames": { "alias": "useAlternateNames"; "required": false; }; "displayAlternateNames": { "alias": "displayAlternateNames"; "required": false; }; "hrBlocked": { "alias": "hrBlocked"; "required": false; }; "hrCanBlock": { "alias": "hrCanBlock"; "required": false; }; "tkBlocked": { "alias": "tkBlocked"; "required": false; }; "tkCanBlock": { "alias": "tkCanBlock"; "required": false; }; "nameModeItems": { "alias": "nameModeItems"; "required": false; }; "settingsEnabled": { "alias": "settingsEnabled"; "required": false; }; "useInternalDialogs": { "alias": "useInternalDialogs"; "required": false; }; "changePasswordLoading": { "alias": "changePasswordLoading"; "required": false; }; "changePasswordDialog": { "alias": "changePasswordDialog"; "required": false; }; "aboutDialog": { "alias": "aboutDialog"; "required": false; }; "showGlobalSearch": { "alias": "showGlobalSearch"; "required": false; }; "showUserPanel": { "alias": "showUserPanel"; "required": false; }; "showSettings": { "alias": "showSettings"; "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; }; }, { "logoClick": "logoClick"; "helpClick": "helpClick"; "menuItemClick": "menuItemClick"; "searchSubmit": "searchSubmit"; "searchItemNavigate": "searchItemNavigate"; "propertyChanged": "propertyChanged"; "signOutClick": "signOutClick"; "alternateNamesChange": "alternateNamesChange"; "nameModeChange": "nameModeChange"; "blockHrClick": "blockHrClick"; "releaseHrClick": "releaseHrClick"; "blockTkClick": "blockTkClick"; "releaseTkClick": "releaseTkClick"; "changePasswordClick": "changePasswordClick"; "openAboutClick": "openAboutClick"; "aboutLicenseClick": "aboutLicenseClick"; "aboutReleaseNotesClick": "aboutReleaseNotesClick"; "aboutSupportClick": "aboutSupportClick"; "submitPasswordChange": "submitPasswordChange"; }, never, never, true, never>;
|
|
71
74
|
}
|
|
72
75
|
//# sourceMappingURL=top-menu-widget.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"top-menu-widget.component.d.ts","sourceRoot":"","sources":["../../../../projects/bayan-core-ui/src/lib/top-menu-widget/top-menu-widget.component.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"top-menu-widget.component.d.ts","sourceRoot":"","sources":["../../../../projects/bayan-core-ui/src/lib/top-menu-widget/top-menu-widget.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAEnE,OAAO,EAAsC,YAAY,EAAS,MAAM,EAA0B,MAAM,eAAe,CAAC;AAExH,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AAMnE,OAAO,EACL,8BAA8B,EAC9B,uCAAuC,EACvC,kCAAkC,EAClC,iBAAiB,EACjB,yBAAyB,EACzB,uBAAuB,EACxB,MAAM,0BAA0B,CAAC;;AASlC,qBAoBa,+BAAgC,YAAW,MAAM;IAC5D,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAoB;IAC7C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAkB;IAEhC,OAAO,SAAM;IACb,YAAY,EAAG,YAAY,GAAG,IAAI,CAAO;IAEzC,gBAAgB,UAAS;IAEzB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAQ;IAC9B,OAAO,SAA6E;IACpF,gBAAgB,SAAuE;IACtF,SAAS,qBAA4B;IAEtC,iBAAiB,SAA+B;IAEhD,SAAS,EAAE,iBAAiB,EAAE,CAAM;IACpC,WAAW,EAAE,uBAAuB,EAAE,CAAM;IAE5C,UAAU,UAAS;IACnB,iBAAiB,UAAS;IAC1B,qBAAqB,UAAS;IAC9B,SAAS,UAAS;IAClB,UAAU,UAAS;IACnB,SAAS,UAAS;IAClB,UAAU,UAAS;IAEnB,aAAa,EAAE,yBAAyB,EAAE,CAAM;IAChD,eAAe,UAAQ;IACvB,kBAAkB,UAAS;IAE3B,qBAAqB,UAAS;IAC9B,oBAAoB,EAAE,uCAAuC,CAMpE;IAEO,WAAW,EAAE,8BAA8B,CAYlD;IAEO,gBAAgB,UAAS;IACzB,aAAa,UAAQ;IACrB,YAAY,UAAS;IAErB,iBAAiB,UAAQ;IACzB,kBAAkB,SAAmB;IAErC,QAAQ,UAAQ;IAChB,SAAS,SAAU;IACnB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAmD;IACzE,QAAQ,EAAE,cAAc,CAAoB;IAC5C,eAAe,SAA8C;IAC7D,aAAa,EAAE,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAY;IACrD,SAAS,qBAA4B;IAErC,aAAa,kCAAyC;IACtD,YAAY,uBAA8B;IAC1C,kBAAkB,wCAA+C;IACjE,eAAe,+BAAsC;IACrD,YAAY,qBAA4B;IACxC,oBAAoB,qBAA4B;IAChD,cAAc,uBAA8B;IAC5C,YAAY,qBAA4B;IACxC,cAAc,qBAA4B;IAC1C,YAAY,qBAA4B;IACxC,cAAc,qBAA4B;IAC1C,mBAAmB,qBAA4B;IAC/C,cAAc,qBAA4B;IAC1C,iBAAiB,qBAA4B;IAC7C,sBAAsB,qBAA4B;IAClD,iBAAiB,qBAA4B;IAC7C,oBAAoB,mDAA0D;IAExF,QAAQ,CAAC,YAAY,kDAAiB;IACtC,QAAQ,CAAC,qBAAqB,kDAAiB;IAC/C,qBAAqB,UAAS;IAE9B,QAAQ,IAAI,IAAI;IAKhB,gBAAgB,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,GAAG,OAAO;IAI7C,UAAU,IAAI,MAAM,GAAG,IAAI;IAQ3B,aAAa,CAAC,KAAK,CAAC,EAAE,KAAK,GAAG,IAAI;IAUlC,aAAa,CAAC,KAAK,CAAC,EAAE,KAAK,GAAG,IAAI;IASlC,yBAAyB,IAAI,IAAI;IAOjC,gBAAgB,IAAI,IAAI;IAOxB,iBAAiB,CAAC,QAAQ,EAAE,cAAc,GAAG,IAAI;yCA7ItC,+BAA+B;2CAA/B,+BAA+B;CAkJ3C"}
|
|
@@ -13,19 +13,6 @@ export interface TopMenuWidgetSearchItem {
|
|
|
13
13
|
iconClass?: string | null;
|
|
14
14
|
isTranslatable?: boolean;
|
|
15
15
|
}
|
|
16
|
-
export interface TopMenuWidgetPropertyOption {
|
|
17
|
-
propertyId: number;
|
|
18
|
-
propertyName: string;
|
|
19
|
-
}
|
|
20
|
-
export interface TopMenuWidgetUserPanel {
|
|
21
|
-
userDisplayName: string;
|
|
22
|
-
activePropertyId: number | null;
|
|
23
|
-
activePropertyName: string;
|
|
24
|
-
properties: TopMenuWidgetPropertyOption[];
|
|
25
|
-
isSsoLogin?: boolean;
|
|
26
|
-
photoPath?: string | null;
|
|
27
|
-
nameInitials?: string | null;
|
|
28
|
-
}
|
|
29
16
|
export interface TopMenuWidgetNameModeItem {
|
|
30
17
|
id: string;
|
|
31
18
|
text: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"top-menu-widget.models.d.ts","sourceRoot":"","sources":["../../../../projects/bayan-core-ui/src/lib/top-menu-widget/top-menu-widget.models.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAEnD,MAAM,WAAW,iBAAiB;IAChC,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,QAAQ,CAAC,EAAE,iBAAiB,EAAE,CAAC;CAChC;AAED,MAAM,WAAW,uBAAuB;IACtC,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;
|
|
1
|
+
{"version":3,"file":"top-menu-widget.models.d.ts","sourceRoot":"","sources":["../../../../projects/bayan-core-ui/src/lib/top-menu-widget/top-menu-widget.models.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAEnD,MAAM,WAAW,iBAAiB;IAChC,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,QAAQ,CAAC,EAAE,iBAAiB,EAAE,CAAC;CAChC;AAED,MAAM,WAAW,uBAAuB;IACtC,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;AAGD,MAAM,WAAW,yBAAyB;IACxC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,WAAW,8BAA8B;IAC7C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,MAAM,WAAW,kCAAkC;IACjD,eAAe,EAAE,MAAM,CAAC;IACxB,WAAW,EAAE,MAAM,CAAC;IACpB,kBAAkB,EAAE,MAAM,CAAC;CAC5B;AAED,MAAM,WAAW,uCAAuC;IACtD,KAAK,EAAE,MAAM,CAAC;IACd,oBAAoB,EAAE,MAAM,CAAC;IAC7B,gBAAgB,EAAE,MAAM,CAAC;IACzB,uBAAuB,EAAE,MAAM,CAAC;IAChC,iBAAiB,EAAE,MAAM,CAAC;CAC3B;AAED,MAAM,WAAW,0BAA0B;IACzC,OAAO,EAAE,OAAO,CAAC;IACjB,YAAY,EAAE,YAAY,CAAC;IAC3B,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC5B"}
|