@smartbit4all/ng-client 7.3.13 → 7.3.14
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smartbit4all/ng-client",
|
|
3
|
-
"version": "7.3.
|
|
3
|
+
"version": "7.3.14",
|
|
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
|
"sideEffects": false,
|
|
6
6
|
"peerDependencies": {
|
|
Binary file
|
|
@@ -9695,6 +9695,11 @@ declare abstract class SmartComponentApiClient<T> implements UiActionExecutor {
|
|
|
9695
9695
|
protected changeDetector?: ChangeDetectorRef;
|
|
9696
9696
|
/** How an action a key is bound to gets fired, the same way the toolbar fires it. */
|
|
9697
9697
|
private readonly execution;
|
|
9698
|
+
/**
|
|
9699
|
+
* The actions of the window descriptor of the dialog showing this view (its header), set by
|
|
9700
|
+
* the dialog. The backend binds keys to them on this view, so the keys fire them here.
|
|
9701
|
+
*/
|
|
9702
|
+
windowActions: UiAction[];
|
|
9698
9703
|
/** The element keys are taken in; a view-less client (SmartService) has none. */
|
|
9699
9704
|
private readonly keybindingHost?;
|
|
9700
9705
|
private unregisterKeybindings?;
|
|
@@ -9710,7 +9715,10 @@ declare abstract class SmartComponentApiClient<T> implements UiActionExecutor {
|
|
|
9710
9715
|
*/
|
|
9711
9716
|
protected onUuidResolved(uuid: string): void;
|
|
9712
9717
|
private registerKeybindings;
|
|
9713
|
-
/**
|
|
9718
|
+
/**
|
|
9719
|
+
* The action a binding fires: the one of the code and identifier, or the first of the code,
|
|
9720
|
+
* among the actions of the view, then among the header actions of the dialog showing it.
|
|
9721
|
+
*/
|
|
9714
9722
|
private findBoundAction;
|
|
9715
9723
|
private fireBoundAction;
|
|
9716
9724
|
/** The chords bound to the action of this code and identifier, for its tooltip. */
|
|
@@ -9878,16 +9886,24 @@ declare class SmartKeybindingService {
|
|
|
9878
9886
|
private readonly injector;
|
|
9879
9887
|
private readonly isMac;
|
|
9880
9888
|
private readonly hosts;
|
|
9889
|
+
/** The elements of no view whose keys go to a view: a dialog's header to the page it shows. */
|
|
9890
|
+
private readonly forwards;
|
|
9881
9891
|
/** The view that held the focus last; it keeps the keys after the focus fell to the body. */
|
|
9882
9892
|
private lastActive?;
|
|
9883
9893
|
constructor();
|
|
9884
9894
|
/** Lets the view take keys; returns the function that stops it. */
|
|
9885
9895
|
register(entry: KeybindingHost): () => void;
|
|
9896
|
+
/**
|
|
9897
|
+
* Sends the keys pressed with the focus in `from`, an element outside every view (the header
|
|
9898
|
+
* of a dialog), to the view whose host is `to`; returns the function that stops it.
|
|
9899
|
+
*/
|
|
9900
|
+
forwardKeys(from: HTMLElement, to: HTMLElement): () => void;
|
|
9886
9901
|
private onFocusin;
|
|
9887
9902
|
private onKeydown;
|
|
9888
9903
|
private startView;
|
|
9889
9904
|
private isOnScreen;
|
|
9890
9905
|
private viewOf;
|
|
9906
|
+
private forwardedView;
|
|
9891
9907
|
private closestView;
|
|
9892
9908
|
static ɵfac: i0.ɵɵFactoryDeclaration<SmartKeybindingService, never>;
|
|
9893
9909
|
static ɵprov: i0.ɵɵInjectableDeclaration<SmartKeybindingService>;
|
|
Binary file
|