@smartbit4all/ng-client 1.0.17 → 1.0.19
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 +18 -1
- package/esm2020/lib/view-context/api/model/openPendingData.mjs +1 -1
- package/esm2020/lib/view-context/api/model/uiActionDialogDescriptor.mjs +1 -1
- package/esm2020/lib/view-context/smart-ui-action/dialogs/ui-action-input-dialog/ui-action-input-dialog.component.mjs +22 -18
- package/fesm2015/smartbit4all-ng-client.mjs +40 -19
- package/fesm2015/smartbit4all-ng-client.mjs.map +1 -1
- package/fesm2020/smartbit4all-ng-client.mjs +39 -18
- package/fesm2020/smartbit4all-ng-client.mjs.map +1 -1
- package/lib/smart-client/smart-component-api-client.d.ts +8 -1
- package/lib/view-context/api/model/openPendingData.d.ts +3 -3
- package/lib/view-context/api/model/uiActionDialogDescriptor.d.ts +1 -0
- package/package.json +1 -1
- package/smartbit4all-ng-client-1.0.19.tgz +0 -0
- package/smartbit4all-ng-client-1.0.17.tgz +0 -0
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { Injector } from '@angular/core';
|
|
2
|
+
import { GridOptions, SmartGrid } from '@smartbit4all/grid';
|
|
2
3
|
import { Subject } from 'rxjs';
|
|
3
4
|
import { ComponentModel, SmartViewContextService, UiAction, UiActionAdditionalParams, UiActionDescriptorService, UiActionModel, UiActionRequest, UiActionService, UiActionSpecificDemandResponse, UseUiAction } from '../view-context/projects';
|
|
4
5
|
import { SmartAuthenticationServiceInterface } from './smart-authentication.service';
|
|
5
|
-
import {
|
|
6
|
+
import { SmarttreeGenericService } from '@smartbit4all/tree';
|
|
6
7
|
export declare abstract class SmartComponentApiClient<T> implements UseUiAction {
|
|
8
|
+
protected inject: Injector;
|
|
7
9
|
protected auth: SmartAuthenticationServiceInterface;
|
|
8
10
|
protected pageName: string;
|
|
9
11
|
protected _destroy$: Subject<void>;
|
|
@@ -25,6 +27,9 @@ export declare abstract class SmartComponentApiClient<T> implements UseUiAction
|
|
|
25
27
|
protected viewContext: SmartViewContextService;
|
|
26
28
|
protected uiActionService: UiActionService;
|
|
27
29
|
protected uiActionDescriptorService: UiActionDescriptorService;
|
|
30
|
+
private _smartTreeService?;
|
|
31
|
+
get smartTreeService(): SmarttreeGenericService | undefined;
|
|
32
|
+
set smartTreeService(smartTreeService: SmarttreeGenericService | undefined);
|
|
28
33
|
constructor(inject: Injector, auth: SmartAuthenticationServiceInterface, pageName: string);
|
|
29
34
|
_ngOnInit(): void;
|
|
30
35
|
_ngOnDestroy(): void;
|
|
@@ -38,4 +43,6 @@ export declare abstract class SmartComponentApiClient<T> implements UseUiAction
|
|
|
38
43
|
performUiActionRequest(uiActionRequest: UiActionRequest, widgetId?: string, nodeId?: string): Promise<any>;
|
|
39
44
|
handleSpecificDemandsAsynchronously(uiAction: UiAction, uiActionRequest: UiActionRequest): Promise<UiActionSpecificDemandResponse>;
|
|
40
45
|
addGrid(smartGrid: SmartGrid, options: GridOptions, useAsDefaultGrid?: boolean): SmartGrid;
|
|
46
|
+
setUpDefaultTree(treeId: string): void;
|
|
47
|
+
createTreeService(treeId: string): SmarttreeGenericService;
|
|
41
48
|
}
|
|
@@ -11,11 +11,11 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { CloseResult } from './closeResult';
|
|
13
13
|
/**
|
|
14
|
-
* All information regarding opening a view.
|
|
14
|
+
* All information regarding opening a view (and possible it\'s parents).
|
|
15
15
|
*/
|
|
16
16
|
export interface OpenPendingData {
|
|
17
|
-
|
|
18
|
-
viewsToClose
|
|
17
|
+
viewsToOpen: Array<string>;
|
|
18
|
+
viewsToClose: Array<string>;
|
|
19
19
|
results: {
|
|
20
20
|
[key: string]: CloseResult;
|
|
21
21
|
};
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|