@smartbit4all/ng-client 1.0.13 → 1.0.15
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/esm2020/lib/smart-client/smart-component-api-client.mjs +11 -9
- package/esm2020/lib/view-context/smart-ui-action/ui-action-toolbar.component.mjs +6 -2
- package/esm2020/lib/view-context/smart-ui-action/ui-action.model.mjs +1 -1
- package/esm2020/lib/view-context/smart-ui-action/ui-action.service.mjs +2 -10
- package/fesm2015/smartbit4all-ng-client.mjs +16 -22
- package/fesm2015/smartbit4all-ng-client.mjs.map +1 -1
- package/fesm2020/smartbit4all-ng-client.mjs +16 -18
- package/fesm2020/smartbit4all-ng-client.mjs.map +1 -1
- package/lib/smart-client/smart-component-api-client.d.ts +1 -3
- package/lib/view-context/smart-ui-action/ui-action.model.d.ts +3 -3
- package/package.json +1 -1
- package/smartbit4all-ng-client-1.0.15.tgz +0 -0
- package/smartbit4all-ng-client-1.0.13.tgz +0 -0
|
@@ -35,9 +35,7 @@ export declare abstract class SmartComponentApiClient<T> implements UseUiAction
|
|
|
35
35
|
load(): Promise<void>;
|
|
36
36
|
getAdditionalParams(uiAction: UiAction): UiActionAdditionalParams;
|
|
37
37
|
getModel(): T | undefined;
|
|
38
|
-
performUiActionRequest(uiActionRequest: UiActionRequest): Promise<any>;
|
|
39
|
-
performWidgetActionRequest(uiActionRequest: UiActionRequest, widgetId: string, nodeId: string): Promise<any>;
|
|
40
|
-
performWidgetMainActionRequest(uiActionRequest: UiActionRequest, widgetId: string): Promise<any>;
|
|
38
|
+
performUiActionRequest(uiActionRequest: UiActionRequest, widgetId?: string, nodeId?: string): Promise<any>;
|
|
41
39
|
handleSpecificDemandsAsynchronously(uiAction: UiAction, uiActionRequest: UiActionRequest): Promise<UiActionSpecificDemandResponse>;
|
|
42
40
|
addGrid(smartGrid: SmartGrid, options: GridOptions, useAsDefaultGrid?: boolean): SmartGrid;
|
|
43
41
|
}
|
|
@@ -6,15 +6,15 @@ export interface UiActionModel {
|
|
|
6
6
|
exception?: boolean;
|
|
7
7
|
descriptor?: UiActionDescriptor;
|
|
8
8
|
cssClass?: string;
|
|
9
|
+
widgetId?: string;
|
|
10
|
+
nodeId?: string;
|
|
9
11
|
}
|
|
10
12
|
export interface UseUiAction {
|
|
11
13
|
submit: Subject<void>;
|
|
12
14
|
reSubscribeToChange: Subject<void>;
|
|
13
15
|
getAdditionalParams(uiAction: UiAction): UiActionAdditionalParams;
|
|
14
16
|
getModel(): any;
|
|
15
|
-
performUiActionRequest(uiActionRequest: UiActionRequest): Promise<any>;
|
|
16
|
-
performWidgetActionRequest(uiActionRequest: UiActionRequest, widgetId: string, nodeId: string): Promise<any>;
|
|
17
|
-
performWidgetMainActionRequest(uiActionRequest: UiActionRequest, widgetId: string): Promise<any>;
|
|
17
|
+
performUiActionRequest(uiActionRequest: UiActionRequest, widgetId?: string, nodeId?: string): Promise<any>;
|
|
18
18
|
handleSpecificDemandsAsynchronously(uiAction: UiAction, uiActionRequest: UiActionRequest): Promise<UiActionSpecificDemandResponse>;
|
|
19
19
|
}
|
|
20
20
|
export interface UiActionSpecificDemandResponse {
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|