@skysoftware-co/bayan-core-widgets-ui 0.0.8 → 0.0.10
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 +520 -1
- package/fesm2022/skysoftware-co-bayan-core-widgets-ui.mjs +4125 -0
- package/fesm2022/skysoftware-co-bayan-core-widgets-ui.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/shared/common-methods/navigation.utils.d.ts +3 -0
- package/lib/shared/menu.dtos.d.ts +90 -0
- package/lib/shared/menu.service.d.ts +23 -0
- package/lib/shared/pipes/translate.pipe.d.ts +10 -0
- package/lib/shared/services/translate.service.d.ts +12 -0
- package/lib/top-menu-widget/components/about-dialog-widget/about-dialog-widget.component.d.ts +36 -0
- package/lib/top-menu-widget/components/change-password-widget/change-password-widget.component.d.ts +32 -0
- package/lib/top-menu-widget/components/global-search-widget/global-search-widget.component.d.ts +58 -0
- package/lib/top-menu-widget/components/item-widget/item-widget.component.d.ts +28 -0
- package/lib/top-menu-widget/components/notifications-widget/notifications-widget.component.d.ts +22 -0
- package/lib/top-menu-widget/components/settings-widget/settings-widget.component.d.ts +73 -0
- package/lib/top-menu-widget/components/user-panel-widget/user-panel-widget.component.d.ts +42 -0
- package/lib/top-menu-widget/top-menu-widget.component.d.ts +61 -0
- package/lib/top-menu-widget/top-menu-widget.models.d.ts +24 -0
- package/package.json +56 -59
- package/{projects/bayan-core-ui/src/public-api.ts → public-api.d.ts} +10 -14
- package/.editorconfig +0 -17
- package/.github/copilot/WidgetDevelopmentGuide.md +0 -632
- package/.github/copilot/WidgetProjectStructure.md +0 -81
- package/.github/copilot/git.md +0 -176
- package/.github/copilot/guideline.md +0 -466
- package/.github/copilot-instructions.md +0 -697
- package/.github/prompts/As world class developer, create unit tests for.prompt.md +0 -7
- package/Web.config +0 -7
- package/angular.json +0 -43
- package/projects/bayan-core-ui/README.md +0 -522
- package/projects/bayan-core-ui/ng-package.json +0 -7
- package/projects/bayan-core-ui/package.json +0 -36
- package/projects/bayan-core-ui/src/assets/i18n/ar.json +0 -725
- package/projects/bayan-core-ui/src/assets/i18n/en.json +0 -683
- package/projects/bayan-core-ui/src/assets/i18n/fr.json +0 -687
- package/projects/bayan-core-ui/src/lib/shared/common-methods/navigation.utils.ts +0 -21
- package/projects/bayan-core-ui/src/lib/shared/menu.dtos.ts +0 -107
- package/projects/bayan-core-ui/src/lib/shared/menu.service.ts +0 -157
- package/projects/bayan-core-ui/src/lib/top-menu-widget/components/about-dialog-widget/about-dialog-widget.component.html +0 -37
- package/projects/bayan-core-ui/src/lib/top-menu-widget/components/about-dialog-widget/about-dialog-widget.component.ts +0 -68
- package/projects/bayan-core-ui/src/lib/top-menu-widget/components/change-password-widget/change-password-widget.component.html +0 -56
- package/projects/bayan-core-ui/src/lib/top-menu-widget/components/change-password-widget/change-password-widget.component.ts +0 -158
- package/projects/bayan-core-ui/src/lib/top-menu-widget/components/global-search-widget/global-search-widget.component.html +0 -39
- package/projects/bayan-core-ui/src/lib/top-menu-widget/components/global-search-widget/global-search-widget.component.ts +0 -152
- package/projects/bayan-core-ui/src/lib/top-menu-widget/components/item-widget/item-widget.component.html +0 -39
- package/projects/bayan-core-ui/src/lib/top-menu-widget/components/item-widget/item-widget.component.ts +0 -80
- package/projects/bayan-core-ui/src/lib/top-menu-widget/components/notifications-widget/notifications-widget.component.html +0 -10
- package/projects/bayan-core-ui/src/lib/top-menu-widget/components/notifications-widget/notifications-widget.component.ts +0 -89
- package/projects/bayan-core-ui/src/lib/top-menu-widget/components/settings-widget/settings-widget.component.html +0 -111
- package/projects/bayan-core-ui/src/lib/top-menu-widget/components/settings-widget/settings-widget.component.ts +0 -235
- package/projects/bayan-core-ui/src/lib/top-menu-widget/components/user-panel-widget/user-panel-widget.component.html +0 -54
- package/projects/bayan-core-ui/src/lib/top-menu-widget/components/user-panel-widget/user-panel-widget.component.ts +0 -140
- package/projects/bayan-core-ui/src/lib/top-menu-widget/top-menu-widget.component.html +0 -107
- package/projects/bayan-core-ui/src/lib/top-menu-widget/top-menu-widget.component.ts +0 -164
- package/projects/bayan-core-ui/src/lib/top-menu-widget/top-menu-widget.models.ts +0 -29
- package/projects/bayan-core-ui/src/lib/top-menu-widget/top-menu-widget.styles.css +0 -1378
- package/projects/bayan-core-ui/tsconfig.lib.json +0 -16
- package/projects/bayan-core-ui/tsconfig.lib.prod.json +0 -9
- package/projects/bayan-core-ui/tsconfig.spec.json +0 -13
- package/tsconfig.json +0 -40
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { TopMenuShortcut } from '../../../shared/menu.dtos';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class BayanCoreItemWidgetComponent implements OnChanges {
|
|
5
|
+
private readonly elementRef;
|
|
6
|
+
private readonly document;
|
|
7
|
+
private readonly router;
|
|
8
|
+
baseUrl: string;
|
|
9
|
+
ActivePropertyChanged: boolean;
|
|
10
|
+
item: TopMenuShortcut;
|
|
11
|
+
navItemClass: string;
|
|
12
|
+
navLinkClass: string;
|
|
13
|
+
dropdownClass: string;
|
|
14
|
+
dropdownOpenClass: string;
|
|
15
|
+
dropdownToggleClass: string;
|
|
16
|
+
caretClass: string;
|
|
17
|
+
dropdownMenuClass: string;
|
|
18
|
+
itemClick: EventEmitter<TopMenuShortcut>;
|
|
19
|
+
open: boolean;
|
|
20
|
+
toggleOpen: EventEmitter<void>;
|
|
21
|
+
constructor(elementRef: ElementRef<HTMLElement>);
|
|
22
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
23
|
+
hasChildren(): boolean;
|
|
24
|
+
onItemActivated(event: Event): void;
|
|
25
|
+
onChildItemClick(item: TopMenuShortcut): void;
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BayanCoreItemWidgetComponent, never>;
|
|
27
|
+
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; }; "navItemClass": { "alias": "navItemClass"; "required": false; }; "navLinkClass": { "alias": "navLinkClass"; "required": false; }; "dropdownClass": { "alias": "dropdownClass"; "required": false; }; "dropdownOpenClass": { "alias": "dropdownOpenClass"; "required": false; }; "dropdownToggleClass": { "alias": "dropdownToggleClass"; "required": false; }; "caretClass": { "alias": "caretClass"; "required": false; }; "dropdownMenuClass": { "alias": "dropdownMenuClass"; "required": false; }; "open": { "alias": "open"; "required": false; }; }, { "itemClick": "itemClick"; "toggleOpen": "toggleOpen"; }, never, never, true, never>;
|
|
28
|
+
}
|
package/lib/top-menu-widget/components/notifications-widget/notifications-widget.component.d.ts
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { ModuleBlockState, AppFramePreferences, EmployeeNamesModeOption, BlockableModule, SystemModule } from '../../../shared/menu.dtos';
|
|
2
|
+
import { ElementRef, EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class BayanCoreSettingsWidgetComponent implements OnInit, OnChanges {
|
|
5
|
+
private readonly elementRef;
|
|
6
|
+
private readonly menuService;
|
|
7
|
+
private readonly alertToastService;
|
|
8
|
+
baseUrl: string;
|
|
9
|
+
licenseUrl: string;
|
|
10
|
+
releaseNotesUrl: string;
|
|
11
|
+
supportUrl: string;
|
|
12
|
+
ActivePropertyChanged: boolean;
|
|
13
|
+
systemModule: SystemModule | null;
|
|
14
|
+
checkIcon: any;
|
|
15
|
+
cogIcon: any;
|
|
16
|
+
infoIcon: any;
|
|
17
|
+
dropdownOpen: import("@angular/core").WritableSignal<boolean>;
|
|
18
|
+
showChangePassword: boolean;
|
|
19
|
+
showAbout: boolean;
|
|
20
|
+
currentModule: SystemModule | null;
|
|
21
|
+
SystemModule: typeof SystemModule;
|
|
22
|
+
dropdownHostClass: string;
|
|
23
|
+
toggleBtnClass: string;
|
|
24
|
+
menuPanelClass: string;
|
|
25
|
+
sectionLabelClass: string;
|
|
26
|
+
menuRowClass: string;
|
|
27
|
+
dividerClass: string;
|
|
28
|
+
indicatorClass: string;
|
|
29
|
+
indicatorActiveClass: string;
|
|
30
|
+
indicatorInvisibleClass: string;
|
|
31
|
+
alternateNamesChange: EventEmitter<boolean>;
|
|
32
|
+
nameModeChange: EventEmitter<EmployeeNamesModeOption>;
|
|
33
|
+
preferences: AppFramePreferences | null;
|
|
34
|
+
BlockableModule: typeof BlockableModule;
|
|
35
|
+
EmployeeNamesModeOption: typeof EmployeeNamesModeOption;
|
|
36
|
+
hrBlockState: ModuleBlockState | null;
|
|
37
|
+
tkBlockState: ModuleBlockState | null;
|
|
38
|
+
changePasswordDialog: {
|
|
39
|
+
title: string;
|
|
40
|
+
currentPasswordLabel: string;
|
|
41
|
+
newPasswordLabel: string;
|
|
42
|
+
confirmNewPasswordLabel: string;
|
|
43
|
+
primaryButtonText: string;
|
|
44
|
+
};
|
|
45
|
+
aboutDialog: {
|
|
46
|
+
title: string;
|
|
47
|
+
logoUrl: string;
|
|
48
|
+
version: string;
|
|
49
|
+
versionLabel: string;
|
|
50
|
+
copyright: string;
|
|
51
|
+
statusLabel: string;
|
|
52
|
+
licenseButtonLabel: string;
|
|
53
|
+
releaseNotesButtonLabel: string;
|
|
54
|
+
supportButtonLabel: string;
|
|
55
|
+
closeButtonLabel: string;
|
|
56
|
+
};
|
|
57
|
+
constructor(elementRef: ElementRef<HTMLElement>);
|
|
58
|
+
showAlert(message: string, type?: string): void;
|
|
59
|
+
ngOnInit(): void;
|
|
60
|
+
loadModuleBlockStates(): void;
|
|
61
|
+
loadPreferences(): void;
|
|
62
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
63
|
+
onDocumentClick(event: MouseEvent): void;
|
|
64
|
+
toggleDropdown(event: Event): void;
|
|
65
|
+
onAlternateNamesClick(event: Event): Promise<void>;
|
|
66
|
+
onNameModeClick(nameMode: EmployeeNamesModeOption, event: Event): Promise<void>;
|
|
67
|
+
onChangePasswordClick(event: Event): void;
|
|
68
|
+
onOpenAboutClick(event: Event): void;
|
|
69
|
+
blockModule(module: BlockableModule, event: Event): Promise<void>;
|
|
70
|
+
releaseModule(module: BlockableModule, event: Event): Promise<void>;
|
|
71
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BayanCoreSettingsWidgetComponent, never>;
|
|
72
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BayanCoreSettingsWidgetComponent, "bayan-core-settings-widget", never, { "baseUrl": { "alias": "baseUrl"; "required": false; }; "licenseUrl": { "alias": "licenseUrl"; "required": false; }; "releaseNotesUrl": { "alias": "releaseNotesUrl"; "required": false; }; "supportUrl": { "alias": "supportUrl"; "required": false; }; "ActivePropertyChanged": { "alias": "ActivePropertyChanged"; "required": false; }; "systemModule": { "alias": "systemModule"; "required": false; }; "checkIcon": { "alias": "checkIcon"; "required": false; }; "cogIcon": { "alias": "cogIcon"; "required": false; }; "infoIcon": { "alias": "infoIcon"; "required": false; }; "dropdownOpen": { "alias": "dropdownOpen"; "required": false; }; "dropdownHostClass": { "alias": "dropdownHostClass"; "required": false; }; "toggleBtnClass": { "alias": "toggleBtnClass"; "required": false; }; "menuPanelClass": { "alias": "menuPanelClass"; "required": false; }; "sectionLabelClass": { "alias": "sectionLabelClass"; "required": false; }; "menuRowClass": { "alias": "menuRowClass"; "required": false; }; "dividerClass": { "alias": "dividerClass"; "required": false; }; "indicatorClass": { "alias": "indicatorClass"; "required": false; }; "indicatorActiveClass": { "alias": "indicatorActiveClass"; "required": false; }; "indicatorInvisibleClass": { "alias": "indicatorInvisibleClass"; "required": false; }; }, { "alternateNamesChange": "alternateNamesChange"; "nameModeChange": "nameModeChange"; }, never, never, true, never>;
|
|
73
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { TopMenuShortcut, PropertyOption, SystemModule, EmployeeNamesModeOption } from '../shared/menu.dtos';
|
|
3
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
4
|
+
import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
|
|
5
|
+
import { BayanCoreGlobalSearchWidgetComponent } from './components/global-search-widget/global-search-widget.component';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class BayanCoreTopMenuWidgetComponent implements OnInit {
|
|
8
|
+
private elementRef;
|
|
9
|
+
constructor(elementRef: ElementRef);
|
|
10
|
+
onDocumentClick(event: MouseEvent): void;
|
|
11
|
+
globalSearchWidget?: BayanCoreGlobalSearchWidgetComponent;
|
|
12
|
+
private readonly document;
|
|
13
|
+
private readonly router;
|
|
14
|
+
private readonly menuService;
|
|
15
|
+
openDropdownIndex: number | null;
|
|
16
|
+
baseUrl: string;
|
|
17
|
+
systemModule: SystemModule | null;
|
|
18
|
+
menuItems: TopMenuShortcut[];
|
|
19
|
+
sidebarCollapsed: boolean;
|
|
20
|
+
homeUrl: string | null;
|
|
21
|
+
logoUrl: string;
|
|
22
|
+
collapsedLogoUrl: string;
|
|
23
|
+
logoClick: EventEmitter<void>;
|
|
24
|
+
isSsoLogin: boolean;
|
|
25
|
+
showGlobalSearch: boolean;
|
|
26
|
+
showUserPanel: boolean;
|
|
27
|
+
showSettings: boolean;
|
|
28
|
+
showShortcutMenus: boolean;
|
|
29
|
+
showNotifications: boolean;
|
|
30
|
+
notificationsTitle: string;
|
|
31
|
+
showHelp: boolean;
|
|
32
|
+
helpTitle: string;
|
|
33
|
+
helpUrl: string | null;
|
|
34
|
+
helpIcon: IconDefinition;
|
|
35
|
+
helpAnchorClass: string;
|
|
36
|
+
helpUrlTarget: '_self' | '_blank' | string;
|
|
37
|
+
licenseUrl: string;
|
|
38
|
+
releaseNotesUrl: string;
|
|
39
|
+
supportUrl: string;
|
|
40
|
+
helpClick: EventEmitter<void>;
|
|
41
|
+
menuItemClick: EventEmitter<TopMenuShortcut>;
|
|
42
|
+
searchSubmit: EventEmitter<string>;
|
|
43
|
+
propertyChanged: EventEmitter<PropertyOption>;
|
|
44
|
+
signOutClick: EventEmitter<void>;
|
|
45
|
+
alternateNamesChange: EventEmitter<boolean>;
|
|
46
|
+
employeeNameModeChange: EventEmitter<EmployeeNamesModeOption>;
|
|
47
|
+
readonly aboutVisible: import("@angular/core").WritableSignal<boolean>;
|
|
48
|
+
readonly changePasswordVisible: import("@angular/core").WritableSignal<boolean>;
|
|
49
|
+
ActivePropertyChanged: boolean;
|
|
50
|
+
ActivePropertyId: number;
|
|
51
|
+
ngOnInit(): void;
|
|
52
|
+
ngOnChanges(changes: any): void;
|
|
53
|
+
onEmployeeNameModeChange(event: any): void;
|
|
54
|
+
getLogoSrc(): string | null;
|
|
55
|
+
onLogoClicked(event?: Event): void;
|
|
56
|
+
onHelpClicked(event?: Event): void;
|
|
57
|
+
onPropertyChanged(property: PropertyOption): void;
|
|
58
|
+
private loadShortcutMenus;
|
|
59
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BayanCoreTopMenuWidgetComponent, never>;
|
|
60
|
+
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>;
|
|
61
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export interface TopMenuWidgetAboutDialogConfig {
|
|
2
|
+
title?: string;
|
|
3
|
+
logoUrl?: string;
|
|
4
|
+
version?: string;
|
|
5
|
+
versionLabel?: string;
|
|
6
|
+
copyright?: string;
|
|
7
|
+
statusLabel?: string;
|
|
8
|
+
licenseButtonLabel?: string;
|
|
9
|
+
releaseNotesButtonLabel?: string;
|
|
10
|
+
supportButtonLabel?: string;
|
|
11
|
+
closeButtonLabel?: string;
|
|
12
|
+
}
|
|
13
|
+
export interface TopMenuWidgetChangePasswordPayload {
|
|
14
|
+
currentPassword: string;
|
|
15
|
+
newPassword: string;
|
|
16
|
+
confirmNewPassword: string;
|
|
17
|
+
}
|
|
18
|
+
export interface TopMenuWidgetChangePasswordDialogConfig {
|
|
19
|
+
title: string;
|
|
20
|
+
currentPasswordLabel: string;
|
|
21
|
+
newPasswordLabel: string;
|
|
22
|
+
confirmNewPasswordLabel: string;
|
|
23
|
+
primaryButtonText: string;
|
|
24
|
+
}
|
package/package.json
CHANGED
|
@@ -1,59 +1,56 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@skysoftware-co/bayan-core-widgets-ui",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
"@angular-
|
|
13
|
-
"@
|
|
14
|
-
"@
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
"@
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
"@fortawesome/
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
"@
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
"
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
"
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
"
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
"
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
"
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
"
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
"
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
"typescript": "~5.7.2"
|
|
58
|
-
}
|
|
59
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@skysoftware-co/bayan-core-widgets-ui",
|
|
3
|
+
"version": "0.0.10",
|
|
4
|
+
"peerDependencies": {
|
|
5
|
+
"@angular/common": "19.2.14",
|
|
6
|
+
"@angular/core": "19.2.14",
|
|
7
|
+
"@ngx-translate/core": ">=15.0.0",
|
|
8
|
+
"@skysoftware-co/bayan-components-ui": ">=1.1.0",
|
|
9
|
+
"@skysoftware-co/sky-components-ui": ">=1.3.3",
|
|
10
|
+
"devextreme": ">=24.0.0",
|
|
11
|
+
"devextreme-angular": ">=24.0.0",
|
|
12
|
+
"@fortawesome/angular-fontawesome": ">=0.14.0",
|
|
13
|
+
"@fortawesome/pro-light-svg-icons": ">=6.0.0",
|
|
14
|
+
"@fortawesome/pro-solid-svg-icons": ">=6.0.0"
|
|
15
|
+
},
|
|
16
|
+
"main": "fesm2022/skysoftware-co-bayan-core-widgets-ui.mjs",
|
|
17
|
+
"module": "fesm2022/skysoftware-co-bayan-core-widgets-ui.mjs",
|
|
18
|
+
"typings": "index.d.ts",
|
|
19
|
+
"sideEffects": false,
|
|
20
|
+
"peerDependenciesMeta": {
|
|
21
|
+
"@ngx-translate/core": {
|
|
22
|
+
"optional": true
|
|
23
|
+
},
|
|
24
|
+
"@fortawesome/angular-fontawesome": {
|
|
25
|
+
"optional": true
|
|
26
|
+
},
|
|
27
|
+
"@fortawesome/pro-light-svg-icons": {
|
|
28
|
+
"optional": true
|
|
29
|
+
},
|
|
30
|
+
"@fortawesome/pro-solid-svg-icons": {
|
|
31
|
+
"optional": true
|
|
32
|
+
},
|
|
33
|
+
"devextreme": {
|
|
34
|
+
"optional": true
|
|
35
|
+
},
|
|
36
|
+
"devextreme-angular": {
|
|
37
|
+
"optional": true
|
|
38
|
+
},
|
|
39
|
+
"dependencies": {
|
|
40
|
+
"tslib": "^2.3.0"
|
|
41
|
+
},
|
|
42
|
+
"sideEffects": false
|
|
43
|
+
},
|
|
44
|
+
"exports": {
|
|
45
|
+
"./package.json": {
|
|
46
|
+
"default": "./package.json"
|
|
47
|
+
},
|
|
48
|
+
".": {
|
|
49
|
+
"types": "./index.d.ts",
|
|
50
|
+
"default": "./fesm2022/skysoftware-co-bayan-core-widgets-ui.mjs"
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
"dependencies": {
|
|
54
|
+
"tslib": "^2.3.0"
|
|
55
|
+
}
|
|
56
|
+
}
|
|
@@ -1,14 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export * from './lib/top-menu-widget/
|
|
6
|
-
export * from './lib/top-menu-widget/components/
|
|
7
|
-
export * from './lib/top-menu-widget/components/
|
|
8
|
-
export * from './lib/top-menu-widget/components/
|
|
9
|
-
export * from './lib/
|
|
10
|
-
export * from './lib/
|
|
11
|
-
export * from './lib/top-menu-widget/components/settings-widget/settings-widget.component';
|
|
12
|
-
export * from './lib/top-menu-widget/components/user-panel-widget/user-panel-widget.component';
|
|
13
|
-
export * from './lib/shared/menu.dtos';
|
|
14
|
-
export * from './lib/shared/menu.service';
|
|
1
|
+
export * from './lib/top-menu-widget/top-menu-widget.component';
|
|
2
|
+
export * from './lib/top-menu-widget/components/about-dialog-widget/about-dialog-widget.component';
|
|
3
|
+
export * from './lib/top-menu-widget/components/change-password-widget/change-password-widget.component';
|
|
4
|
+
export * from './lib/top-menu-widget/components/global-search-widget/global-search-widget.component';
|
|
5
|
+
export * from './lib/top-menu-widget/components/item-widget/item-widget.component';
|
|
6
|
+
export * from './lib/top-menu-widget/components/notifications-widget/notifications-widget.component';
|
|
7
|
+
export * from './lib/top-menu-widget/components/settings-widget/settings-widget.component';
|
|
8
|
+
export * from './lib/top-menu-widget/components/user-panel-widget/user-panel-widget.component';
|
|
9
|
+
export * from './lib/shared/menu.dtos';
|
|
10
|
+
export * from './lib/shared/menu.service';
|
package/.editorconfig
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
# Editor configuration, see https://editorconfig.org
|
|
2
|
-
root = true
|
|
3
|
-
|
|
4
|
-
[*]
|
|
5
|
-
charset = utf-8
|
|
6
|
-
indent_style = space
|
|
7
|
-
indent_size = 2
|
|
8
|
-
insert_final_newline = true
|
|
9
|
-
trim_trailing_whitespace = true
|
|
10
|
-
|
|
11
|
-
[*.ts]
|
|
12
|
-
quote_type = single
|
|
13
|
-
ij_typescript_use_double_quotes = false
|
|
14
|
-
|
|
15
|
-
[*.md]
|
|
16
|
-
max_line_length = off
|
|
17
|
-
trim_trailing_whitespace = false
|