@skysoftware-co/bayan-core-widgets-ui 0.0.4 → 0.0.6
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 +2 -2
- package/ng-package.json +7 -0
- package/package.json +1 -1
- package/src/assets/i18n/ar.json +725 -0
- package/src/assets/i18n/en.json +683 -0
- package/src/assets/i18n/fr.json +687 -0
- package/src/lib/shared/common-methods/navigation.utils.ts +21 -0
- package/src/lib/shared/menu.dtos.ts +107 -0
- package/src/lib/shared/menu.service.ts +157 -0
- package/src/lib/top-menu-widget/components/about-dialog-widget/about-dialog-widget.component.html +37 -0
- package/src/lib/top-menu-widget/components/about-dialog-widget/about-dialog-widget.component.ts +68 -0
- package/src/lib/top-menu-widget/components/change-password-widget/change-password-widget.component.html +56 -0
- package/src/lib/top-menu-widget/components/change-password-widget/change-password-widget.component.ts +158 -0
- package/src/lib/top-menu-widget/components/global-search-widget/global-search-widget.component.html +39 -0
- package/src/lib/top-menu-widget/components/global-search-widget/global-search-widget.component.ts +153 -0
- package/src/lib/top-menu-widget/components/item-widget/item-widget.component.html +39 -0
- package/src/lib/top-menu-widget/components/item-widget/item-widget.component.ts +95 -0
- package/src/lib/top-menu-widget/components/notifications-widget/notifications-widget.component.html +10 -0
- package/src/lib/top-menu-widget/components/notifications-widget/notifications-widget.component.ts +89 -0
- package/src/lib/top-menu-widget/components/settings-widget/settings-widget.component.html +119 -0
- package/src/lib/top-menu-widget/components/settings-widget/settings-widget.component.ts +233 -0
- package/src/lib/top-menu-widget/components/user-panel-widget/user-panel-widget.component.html +53 -0
- package/src/lib/top-menu-widget/components/user-panel-widget/user-panel-widget.component.ts +140 -0
- package/src/lib/top-menu-widget/top-menu-widget.component.html +103 -0
- package/src/lib/top-menu-widget/top-menu-widget.component.ts +148 -0
- package/src/lib/top-menu-widget/top-menu-widget.models.ts +29 -0
- package/src/lib/top-menu-widget/top-menu-widget.styles.css +576 -0
- package/{public-api.d.ts → src/public-api.ts} +7 -4
- package/tsconfig.lib.json +16 -0
- package/tsconfig.lib.prod.json +9 -0
- package/tsconfig.spec.json +13 -0
- package/fesm2022/skysoftware-co-bayan-core-widgets-ui.mjs +0 -1092
- package/fesm2022/skysoftware-co-bayan-core-widgets-ui.mjs.map +0 -1
- package/index.d.ts +0 -6
- package/lib/shared/common-methods/navigation.utils.d.ts +0 -4
- package/lib/shared/common-methods/navigation.utils.d.ts.map +0 -1
- package/lib/shared/menu.dtos.d.ts +0 -91
- package/lib/shared/menu.dtos.d.ts.map +0 -1
- package/lib/shared/menu.service.d.ts +0 -24
- package/lib/shared/menu.service.d.ts.map +0 -1
- package/lib/top-menu-widget/components/about-dialog-widget/about-dialog-widget.component.d.ts +0 -18
- package/lib/top-menu-widget/components/about-dialog-widget/about-dialog-widget.component.d.ts.map +0 -1
- package/lib/top-menu-widget/components/change-password-widget/change-password-widget.component.d.ts +0 -30
- package/lib/top-menu-widget/components/change-password-widget/change-password-widget.component.d.ts.map +0 -1
- package/lib/top-menu-widget/components/global-search-widget/global-search-widget.component.d.ts +0 -59
- package/lib/top-menu-widget/components/global-search-widget/global-search-widget.component.d.ts.map +0 -1
- package/lib/top-menu-widget/components/item-widget/item-widget.component.d.ts +0 -29
- package/lib/top-menu-widget/components/item-widget/item-widget.component.d.ts.map +0 -1
- package/lib/top-menu-widget/components/notifications-widget/notifications-widget.component.d.ts +0 -23
- package/lib/top-menu-widget/components/notifications-widget/notifications-widget.component.d.ts.map +0 -1
- package/lib/top-menu-widget/components/settings-widget/settings-widget.component.d.ts +0 -37
- package/lib/top-menu-widget/components/settings-widget/settings-widget.component.d.ts.map +0 -1
- package/lib/top-menu-widget/components/user-panel-widget/user-panel-widget.component.d.ts +0 -43
- package/lib/top-menu-widget/components/user-panel-widget/user-panel-widget.component.d.ts.map +0 -1
- package/lib/top-menu-widget/top-menu-widget.component.d.ts +0 -76
- package/lib/top-menu-widget/top-menu-widget.component.d.ts.map +0 -1
- package/lib/top-menu-widget/top-menu-widget.models.d.ts +0 -36
- package/lib/top-menu-widget/top-menu-widget.models.d.ts.map +0 -1
- package/public-api.d.ts.map +0 -1
- package/skysoftware-co-bayan-core-widgets-ui.d.ts.map +0 -1
package/lib/top-menu-widget/components/notifications-widget/notifications-widget.component.d.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { NotificationsSummary } from '../../../shared/menu.dtos';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class BayanCoreNotificationsWidgetComponent implements OnInit, OnChanges {
|
|
5
|
-
private readonly document;
|
|
6
|
-
private readonly topMenuService;
|
|
7
|
-
baseUrl: string;
|
|
8
|
-
title: string;
|
|
9
|
-
wrapperClass: string;
|
|
10
|
-
linkClass: string;
|
|
11
|
-
iconClass: string;
|
|
12
|
-
badgeClass: string;
|
|
13
|
-
readonly bellIcon: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
14
|
-
readonly notificationsSummary: import("@angular/core").WritableSignal<NotificationsSummary>;
|
|
15
|
-
ngOnInit(): void;
|
|
16
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
17
|
-
onNotificationClick(event?: Event): void;
|
|
18
|
-
private loadNotificationsSummary;
|
|
19
|
-
private resetNotificationsData;
|
|
20
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BayanCoreNotificationsWidgetComponent, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BayanCoreNotificationsWidgetComponent, "bayan-core-notifications-widget", never, { "baseUrl": { "alias": "baseUrl"; "required": false; }; "title": { "alias": "title"; "required": false; }; "wrapperClass": { "alias": "wrapperClass"; "required": false; }; "linkClass": { "alias": "linkClass"; "required": false; }; "iconClass": { "alias": "iconClass"; "required": false; }; "badgeClass": { "alias": "badgeClass"; "required": false; }; }, {}, never, never, true, never>;
|
|
22
|
-
}
|
|
23
|
-
//# sourceMappingURL=notifications-widget.component.d.ts.map
|
package/lib/top-menu-widget/components/notifications-widget/notifications-widget.component.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"notifications-widget.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/bayan-core-ui/src/lib/top-menu-widget/components/notifications-widget/notifications-widget.component.ts"],"names":[],"mappings":"AACA,OAAO,EAIL,SAAS,EACT,MAAM,EACN,aAAa,EAGd,MAAM,eAAe,CAAC;AAKvB,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;;AAGjE,qBASa,qCAAsC,YAAW,MAAM,EAAE,SAAS;IAC7E,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAoB;IAC7C,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAmC;IAEzD,OAAO,SAAM;IACb,KAAK,SAAmB;IACxB,YAAY,SAAgD;IAC5D,SAAS,SAAyD;IAClE,SAAS,SAAU;IACnB,UAAU,SAAyB;IAE5C,QAAQ,CAAC,QAAQ,iEAAU;IAC3B,QAAQ,CAAC,oBAAoB,+DAG1B;IAEH,QAAQ,IAAI,IAAI;IAIhB,WAAW,CAAC,OAAO,EAAE,aAAa,GAAG,IAAI;IAMzC,mBAAmB,CAAC,KAAK,CAAC,EAAE,KAAK,GAAG,IAAI;IASxC,OAAO,CAAC,wBAAwB;IAmBhC,OAAO,CAAC,sBAAsB;yCAvDnB,qCAAqC;2CAArC,qCAAqC;CA6DjD"}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { TopMenuWidgetNameModeItem } from '../../top-menu-widget.models';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class BayanCoreSettingsWidgetComponent implements OnChanges {
|
|
5
|
-
private readonly elementRef;
|
|
6
|
-
ActivePropertyChanged: boolean;
|
|
7
|
-
useAlternateNames: boolean;
|
|
8
|
-
displayAlternateNames: boolean;
|
|
9
|
-
hrBlocked: boolean;
|
|
10
|
-
hrCanBlock: boolean;
|
|
11
|
-
tkBlocked: boolean;
|
|
12
|
-
tkCanBlock: boolean;
|
|
13
|
-
nameModeItems: TopMenuWidgetNameModeItem[];
|
|
14
|
-
settingsEnabled: boolean;
|
|
15
|
-
alternateNamesChange: EventEmitter<void>;
|
|
16
|
-
nameModeChange: EventEmitter<number>;
|
|
17
|
-
blockHrClick: EventEmitter<void>;
|
|
18
|
-
releaseHrClick: EventEmitter<void>;
|
|
19
|
-
blockTkClick: EventEmitter<void>;
|
|
20
|
-
releaseTkClick: EventEmitter<void>;
|
|
21
|
-
changePasswordClick: EventEmitter<void>;
|
|
22
|
-
openAboutClick: EventEmitter<void>;
|
|
23
|
-
readonly checkIcon: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
24
|
-
readonly cogIcon: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
25
|
-
readonly infoIcon: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
26
|
-
readonly dropdownOpen: import("@angular/core").WritableSignal<boolean>;
|
|
27
|
-
constructor(elementRef: ElementRef<HTMLElement>);
|
|
28
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
29
|
-
onDocumentClick(event: MouseEvent): void;
|
|
30
|
-
toggleDropdown(event: Event): void;
|
|
31
|
-
onAlternateNamesClick(event: Event): void;
|
|
32
|
-
onNameModeClick(index: number, event: Event): void;
|
|
33
|
-
emitAndClose(event: Event, emitter: EventEmitter<void>): void;
|
|
34
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BayanCoreSettingsWidgetComponent, 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>;
|
|
36
|
-
}
|
|
37
|
-
//# sourceMappingURL=settings-widget.component.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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,43 +0,0 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { BayanEmployeeBadgeDTO } from '@skysoftware-co/bayan-components-ui';
|
|
3
|
-
import { UserPanel, PropertyOption } from '../../../shared/menu.dtos';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class BayanCoreUserPanelWidgetComponent implements OnInit, OnChanges {
|
|
6
|
-
private readonly elementRef;
|
|
7
|
-
private readonly topMenuService;
|
|
8
|
-
baseUrl: string;
|
|
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>;
|
|
27
|
-
signOutClick: EventEmitter<void>;
|
|
28
|
-
readonly signOutIcon: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
29
|
-
readonly dropdownOpen: import("@angular/core").WritableSignal<boolean>;
|
|
30
|
-
readonly userPanel: import("@angular/core").WritableSignal<UserPanel | null>;
|
|
31
|
-
readonly badge: import("@angular/core").Signal<BayanEmployeeBadgeDTO>;
|
|
32
|
-
constructor(elementRef: ElementRef<HTMLElement>);
|
|
33
|
-
ngOnInit(): void;
|
|
34
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
35
|
-
onDocumentClick(event: MouseEvent): void;
|
|
36
|
-
toggleDropdown(event: Event): void;
|
|
37
|
-
selectProperty(event: Event, property: PropertyOption): void;
|
|
38
|
-
signOut(event: Event): void;
|
|
39
|
-
private loadUserPanel;
|
|
40
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BayanCoreUserPanelWidgetComponent, never>;
|
|
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>;
|
|
42
|
-
}
|
|
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
DELETED
|
@@ -1 +0,0 @@
|
|
|
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,76 +0,0 @@
|
|
|
1
|
-
import { TopMenuShortcut } from '../shared/menu.dtos';
|
|
2
|
-
import { PropertyOption, SystemModule } from '../shared/menu.dtos';
|
|
3
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
4
|
-
import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
|
|
5
|
-
import { TopMenuWidgetAboutDialogConfig, TopMenuWidgetChangePasswordDialogConfig, TopMenuWidgetChangePasswordPayload, TopMenuWidgetNameModeItem } from './top-menu-widget.models';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class BayanCoreTopMenuWidgetComponent implements OnInit {
|
|
8
|
-
private readonly document;
|
|
9
|
-
private readonly router;
|
|
10
|
-
private readonly menuService;
|
|
11
|
-
baseUrl: string;
|
|
12
|
-
systemModule: SystemModule | null;
|
|
13
|
-
ShowShourtcutMenus: boolean;
|
|
14
|
-
menuItems: TopMenuShortcut[];
|
|
15
|
-
sidebarCollapsed: boolean;
|
|
16
|
-
homeUrl: string | null;
|
|
17
|
-
logoUrl: string;
|
|
18
|
-
collapsedLogoUrl: string;
|
|
19
|
-
logoClick: EventEmitter<void>;
|
|
20
|
-
isSsoLogin: boolean;
|
|
21
|
-
useAlternateNames: boolean;
|
|
22
|
-
displayAlternateNames: boolean;
|
|
23
|
-
hrBlocked: boolean;
|
|
24
|
-
hrCanBlock: boolean;
|
|
25
|
-
tkBlocked: boolean;
|
|
26
|
-
tkCanBlock: boolean;
|
|
27
|
-
nameModeItems: TopMenuWidgetNameModeItem[];
|
|
28
|
-
settingsEnabled: boolean;
|
|
29
|
-
useInternalDialogs: boolean;
|
|
30
|
-
changePasswordLoading: boolean;
|
|
31
|
-
changePasswordDialog: TopMenuWidgetChangePasswordDialogConfig;
|
|
32
|
-
aboutDialog: TopMenuWidgetAboutDialogConfig;
|
|
33
|
-
showGlobalSearch: boolean;
|
|
34
|
-
showUserPanel: boolean;
|
|
35
|
-
showSettings: boolean;
|
|
36
|
-
showNotifications: boolean;
|
|
37
|
-
notificationsTitle: string;
|
|
38
|
-
showHelp: boolean;
|
|
39
|
-
helpTitle: string;
|
|
40
|
-
helpUrl: string | null;
|
|
41
|
-
helpIcon: IconDefinition;
|
|
42
|
-
helpAnchorClass: string;
|
|
43
|
-
helpUrlTarget: '_self' | '_blank' | string;
|
|
44
|
-
helpClick: EventEmitter<void>;
|
|
45
|
-
menuItemClick: EventEmitter<TopMenuShortcut>;
|
|
46
|
-
searchSubmit: EventEmitter<string>;
|
|
47
|
-
propertyChanged: EventEmitter<PropertyOption>;
|
|
48
|
-
signOutClick: EventEmitter<void>;
|
|
49
|
-
alternateNamesChange: EventEmitter<void>;
|
|
50
|
-
nameModeChange: EventEmitter<number>;
|
|
51
|
-
blockHrClick: EventEmitter<void>;
|
|
52
|
-
releaseHrClick: EventEmitter<void>;
|
|
53
|
-
blockTkClick: EventEmitter<void>;
|
|
54
|
-
releaseTkClick: EventEmitter<void>;
|
|
55
|
-
changePasswordClick: EventEmitter<void>;
|
|
56
|
-
openAboutClick: EventEmitter<void>;
|
|
57
|
-
aboutLicenseClick: EventEmitter<void>;
|
|
58
|
-
aboutReleaseNotesClick: EventEmitter<void>;
|
|
59
|
-
aboutSupportClick: EventEmitter<void>;
|
|
60
|
-
submitPasswordChange: EventEmitter<TopMenuWidgetChangePasswordPayload>;
|
|
61
|
-
readonly aboutVisible: import("@angular/core").WritableSignal<boolean>;
|
|
62
|
-
readonly changePasswordVisible: import("@angular/core").WritableSignal<boolean>;
|
|
63
|
-
ActivePropertyChanged: boolean;
|
|
64
|
-
ActivePropertyId: number;
|
|
65
|
-
getLogoSrc(): string | null;
|
|
66
|
-
onLogoClicked(event?: Event): void;
|
|
67
|
-
onHelpClicked(event?: Event): void;
|
|
68
|
-
onChangePasswordRequested(): void;
|
|
69
|
-
onAboutRequested(): void;
|
|
70
|
-
onPropertyChanged(property: PropertyOption): void;
|
|
71
|
-
ngOnInit(): void;
|
|
72
|
-
private loadShortcutMenus;
|
|
73
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BayanCoreTopMenuWidgetComponent, never>;
|
|
74
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BayanCoreTopMenuWidgetComponent, "bayan-core-top-menu-widget", never, { "baseUrl": { "alias": "baseUrl"; "required": false; }; "systemModule": { "alias": "systemModule"; "required": false; }; "ShowShourtcutMenus": { "alias": "ShowShourtcutMenus"; "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; }; "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"; "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>;
|
|
75
|
-
}
|
|
76
|
-
//# sourceMappingURL=top-menu-widget.component.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,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,yBAAyB,EAC1B,MAAM,0BAA0B,CAAC;;AASlC,qBAoBa,+BAAgC,YAAW,MAAM;IAC5D,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAoB;IAC7C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAkB;IACzC,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAmC;IAEtD,OAAO,SAAM;IACb,YAAY,EAAG,YAAY,GAAG,IAAI,CAAO;IAEzC,kBAAkB,UAAQ;IACnC,SAAS,EAAE,eAAe,EAAE,CAAM;IAEzB,gBAAgB,UAAS;IACzB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAQ;IAC9B,OAAO,SAA6E;IACpF,gBAAgB,SAAuE;IACtF,SAAS,qBAA4B;IAEtC,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,UAAQ;IACxB,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,SAAmB;IAClC,aAAa,EAAE,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAY;IACrD,SAAS,qBAA4B;IAErC,aAAa,gCAAuC;IACpD,YAAY,uBAA8B;IAC1C,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;IAE/C,qBAAqB,UAAS;IAC9B,gBAAgB,EAAE,MAAM,CAAK;IAE7B,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;IAOjD,QAAQ,IAAI,IAAI;IAIhB,OAAO,CAAC,iBAAiB;yCA9Id,+BAA+B;2CAA/B,+BAA+B;CAyJ3C"}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { SystemModule } from '../shared/menu.dtos';
|
|
2
|
-
export interface TopMenuWidgetNameModeItem {
|
|
3
|
-
id: string;
|
|
4
|
-
text: string;
|
|
5
|
-
selected: boolean;
|
|
6
|
-
}
|
|
7
|
-
export interface TopMenuWidgetAboutDialogConfig {
|
|
8
|
-
title?: string;
|
|
9
|
-
logoUrl?: string;
|
|
10
|
-
version?: string;
|
|
11
|
-
versionLabel?: string;
|
|
12
|
-
copyright?: string;
|
|
13
|
-
statusLabel?: string;
|
|
14
|
-
licenseButtonLabel?: string;
|
|
15
|
-
releaseNotesButtonLabel?: string;
|
|
16
|
-
supportButtonLabel?: string;
|
|
17
|
-
closeButtonLabel?: string;
|
|
18
|
-
}
|
|
19
|
-
export interface TopMenuWidgetChangePasswordPayload {
|
|
20
|
-
currentPassword: string;
|
|
21
|
-
newPassword: string;
|
|
22
|
-
confirmNewPassword: string;
|
|
23
|
-
}
|
|
24
|
-
export interface TopMenuWidgetChangePasswordDialogConfig {
|
|
25
|
-
title: string;
|
|
26
|
-
currentPasswordLabel: string;
|
|
27
|
-
newPasswordLabel: string;
|
|
28
|
-
confirmNewPasswordLabel: string;
|
|
29
|
-
primaryButtonText: string;
|
|
30
|
-
}
|
|
31
|
-
export interface TopMenuWidgetServiceConfig {
|
|
32
|
-
enabled: boolean;
|
|
33
|
-
systemModule: SystemModule;
|
|
34
|
-
propertyId?: number | null;
|
|
35
|
-
}
|
|
36
|
-
//# sourceMappingURL=top-menu-widget.models.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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,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"}
|
package/public-api.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"public-api.d.ts","sourceRoot":"","sources":["../../projects/bayan-core-ui/src/public-api.ts"],"names":[],"mappings":"AAIA,cAAc,iDAAiD,CAAC;AAChE,cAAc,wBAAwB,CAAC;AACvC,cAAc,2BAA2B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"skysoftware-co-bayan-core-widgets-ui.d.ts","sourceRoot":"","sources":["../../projects/bayan-core-ui/src/skysoftware-co-bayan-core-widgets-ui.ts"],"names":[],"mappings":"AAAA;;GAEG;;AAEH,cAAc,cAAc,CAAC"}
|