@unopsitg/ux 21.0.19 → 21.0.20
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 +15 -0
- package/fesm2022/unopsitg-ux.mjs +325 -310
- package/fesm2022/unopsitg-ux.mjs.map +1 -1
- package/package.json +1 -1
- package/types/unopsitg-ux.d.ts +6 -3
package/package.json
CHANGED
package/types/unopsitg-ux.d.ts
CHANGED
|
@@ -413,6 +413,7 @@ declare class AppSidebar implements OnInit, OnDestroy {
|
|
|
413
413
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AppSidebar, "[app-sidebar]", never, {}, {}, never, never, true, never>;
|
|
414
414
|
}
|
|
415
415
|
|
|
416
|
+
type DropdownId = 'notifications' | 'language' | 'profile' | null;
|
|
416
417
|
interface NotificationsBars {
|
|
417
418
|
id: string;
|
|
418
419
|
label: string;
|
|
@@ -426,12 +427,13 @@ declare class AppTopbar implements AfterViewChecked {
|
|
|
426
427
|
isDarkTheme: _angular_core.Signal<boolean>;
|
|
427
428
|
isSidebarPinned: _angular_core.Signal<boolean>;
|
|
428
429
|
searchActive: _angular_core.WritableSignal<boolean>;
|
|
429
|
-
|
|
430
|
+
activeDropdown: _angular_core.WritableSignal<DropdownId>;
|
|
430
431
|
private shouldFocusSearch;
|
|
431
432
|
menuButton: ElementRef;
|
|
432
433
|
searchInput?: ElementRef<HTMLInputElement>;
|
|
434
|
+
notificationsItem: ElementRef;
|
|
435
|
+
languageItem: ElementRef;
|
|
433
436
|
profileItem: ElementRef;
|
|
434
|
-
profilePanel: ElementRef;
|
|
435
437
|
notificationsBars: _angular_core.WritableSignal<NotificationsBars[]>;
|
|
436
438
|
notifications: _angular_core.WritableSignal<any[]>;
|
|
437
439
|
languages: _angular_core.WritableSignal<{
|
|
@@ -448,7 +450,8 @@ declare class AppTopbar implements AfterViewChecked {
|
|
|
448
450
|
showRightMenu(): void;
|
|
449
451
|
onConfigButtonClick(): void;
|
|
450
452
|
selectLanguage(code: string): void;
|
|
451
|
-
|
|
453
|
+
toggleDropdown(id: DropdownId, event: Event): void;
|
|
454
|
+
closeDropdown(): void;
|
|
452
455
|
onDocumentClick(event: MouseEvent): void;
|
|
453
456
|
openSearch(): void;
|
|
454
457
|
closeSearch(): void;
|