@smartbit4all/ng-client 6.0.28 → 6.0.30
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/esm2022/lib/view-context/smart-ui-action/components/menu/hover/hover-menu.component.mjs +5 -3
- package/esm2022/lib/view-context/smart-ui-action/components/menu/menu.service.mjs +9 -1
- package/esm2022/lib/view-context/smart-ui-action/file-editor-toolbar/file-editor-toolbar.component.mjs +3 -3
- package/esm2022/lib/view-context/smart-ui-action/ui-action-button/ui-action-button.component.mjs +1 -6
- package/esm2022/lib/view-context/smart-ui-action/ui-action-toolbar.component.mjs +17 -12
- package/fesm2022/smartbit4all-ng-client.mjs +40 -31
- package/fesm2022/smartbit4all-ng-client.mjs.map +1 -1
- package/lib/view-context/smart-ui-action/components/menu/hover/hover-menu.component.d.ts +2 -1
- package/lib/view-context/smart-ui-action/components/menu/menu.service.d.ts +3 -0
- package/lib/view-context/smart-ui-action/ui-action-button/ui-action-button.component.d.ts +0 -4
- package/lib/view-context/smart-ui-action/ui-action-toolbar.component.d.ts +4 -1
- package/package.json +1 -1
- package/smartbit4all-ng-client-6.0.30.tgz +0 -0
- package/smartbit4all-ng-client-6.0.28.tgz +0 -0
|
@@ -17,6 +17,7 @@ export declare class HoverMenuComponent implements OnInit, AfterViewChecked, OnD
|
|
|
17
17
|
triggerAction: UiAction;
|
|
18
18
|
isSubmenu: boolean;
|
|
19
19
|
menuOpenDirection?: MenuOpenDirection;
|
|
20
|
+
toolbarId: import("@angular/core").InputSignal<string | undefined>;
|
|
20
21
|
actionClick: EventEmitter<UiAction>;
|
|
21
22
|
submenuOpened: EventEmitter<UiAction>;
|
|
22
23
|
private destroy$;
|
|
@@ -45,5 +46,5 @@ export declare class HoverMenuComponent implements OnInit, AfterViewChecked, OnD
|
|
|
45
46
|
private normalizeSubActions;
|
|
46
47
|
iconPosition(): typeof IconPosition;
|
|
47
48
|
static ɵfac: i0.ɵɵFactoryDeclaration<HoverMenuComponent, [null, null, null, null, { optional: true; }]>;
|
|
48
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<HoverMenuComponent, "ui-hover-menu", never, { "triggerAction": { "alias": "triggerAction"; "required": false; }; "isSubmenu": { "alias": "isSubmenu"; "required": false; }; "menuOpenDirection": { "alias": "menuOpenDirection"; "required": false; }; }, { "actionClick": "actionClick"; "submenuOpened": "submenuOpened"; }, never, never, false, never>;
|
|
49
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HoverMenuComponent, "ui-hover-menu", never, { "triggerAction": { "alias": "triggerAction"; "required": false; }; "isSubmenu": { "alias": "isSubmenu"; "required": false; }; "menuOpenDirection": { "alias": "menuOpenDirection"; "required": false; }; "toolbarId": { "alias": "toolbarId"; "required": false; "isSignal": true; }; }, { "actionClick": "actionClick"; "submenuOpened": "submenuOpened"; }, never, never, false, never>;
|
|
49
50
|
}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class UiMenuService {
|
|
3
3
|
private closeMenus$;
|
|
4
|
+
private toolbarId?;
|
|
4
5
|
closeAllMenus(): void;
|
|
6
|
+
setToolbarId(toolbarId?: string): void;
|
|
7
|
+
closeMenusForToolbar(toolbarId: string): void;
|
|
5
8
|
getCloseSignal(): import("rxjs").Observable<void>;
|
|
6
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<UiMenuService, never>;
|
|
7
10
|
static ɵprov: i0.ɵɵInjectableDeclaration<UiMenuService>;
|
|
@@ -11,10 +11,6 @@ export declare class UiActionButtonComponent implements OnDestroy {
|
|
|
11
11
|
disabled: import("@angular/core").InputSignal<boolean | undefined>;
|
|
12
12
|
descriptor: import("@angular/core").InputSignal<UiActionDescriptor>;
|
|
13
13
|
code: import("@angular/core").InputSignal<string | undefined>;
|
|
14
|
-
/**
|
|
15
|
-
* Server-computed three-state view-activation flag (null = not an opener, false = inactive, true =
|
|
16
|
-
* active), mapped to sb4-view-opener/-activated/-not-activated classes. Client never writes it.
|
|
17
|
-
*/
|
|
18
14
|
viewActivated: import("@angular/core").InputSignal<boolean | null | undefined>;
|
|
19
15
|
addedCssClass: import("@angular/core").InputSignal<string | undefined>;
|
|
20
16
|
addBasicClasses: import("@angular/core").InputSignal<boolean>;
|
|
@@ -6,10 +6,12 @@ import { UiActionModel } from './ui-action.model';
|
|
|
6
6
|
import { UiActionService } from './ui-action.service';
|
|
7
7
|
import { ComponentLibrary } from '../utility/componentLibrary';
|
|
8
8
|
import { ToolbarProperties } from '../../smart-component-layout/api';
|
|
9
|
+
import { UiMenuService } from './components/menu/menu.service';
|
|
9
10
|
import * as i0 from "@angular/core";
|
|
10
11
|
export declare class UiActionToolbarComponent implements OnInit, OnChanges, OnDestroy {
|
|
11
12
|
private service;
|
|
12
13
|
private inject;
|
|
14
|
+
private menuService;
|
|
13
15
|
changeDetector: ChangeDetectorRef;
|
|
14
16
|
compLib: ComponentLibrary;
|
|
15
17
|
containerRef: ElementRef;
|
|
@@ -31,7 +33,7 @@ export declare class UiActionToolbarComponent implements OnInit, OnChanges, OnDe
|
|
|
31
33
|
private scrollDelay;
|
|
32
34
|
private scrollHoldDelay;
|
|
33
35
|
private schedules;
|
|
34
|
-
constructor(service: UiActionService, inject: Injector, changeDetector: ChangeDetectorRef, compLib: ComponentLibrary);
|
|
36
|
+
constructor(service: UiActionService, inject: Injector, menuService: UiMenuService, changeDetector: ChangeDetectorRef, compLib: ComponentLibrary);
|
|
35
37
|
ngOnInit(): void;
|
|
36
38
|
ngAfterViewInit(): void;
|
|
37
39
|
onResize(): void;
|
|
@@ -57,6 +59,7 @@ export declare class UiActionToolbarComponent implements OnInit, OnChanges, OnDe
|
|
|
57
59
|
scrollRight(): void;
|
|
58
60
|
scrollStart(direction: 'left' | 'right'): void;
|
|
59
61
|
stopScroll(): void;
|
|
62
|
+
onHover(): void;
|
|
60
63
|
buttonLeft: UiActionDescriptor;
|
|
61
64
|
buttonRight: UiActionDescriptor;
|
|
62
65
|
get isVertical(): boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smartbit4all/ng-client",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.30",
|
|
4
4
|
"description": "Angular client library for the smartbit4all platform — a server-driven UI framework that renders views, pages, forms, grids, trees and dialogs from backend (ViewApi/PageApi) definitions. Provides reactive view-context state management, dynamic component layouts and OpenAPI-generated BFF clients.",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/animations": "^13.0.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0",
|
|
Binary file
|
|
Binary file
|