@smartbit4all/ng-client 1.0.18 → 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/fesm2015/smartbit4all-ng-client.mjs +17 -0
- package/fesm2015/smartbit4all-ng-client.mjs.map +1 -1
- package/fesm2020/smartbit4all-ng-client.mjs +17 -0
- package/fesm2020/smartbit4all-ng-client.mjs.map +1 -1
- package/lib/smart-client/smart-component-api-client.d.ts +8 -1
- package/package.json +1 -1
- package/smartbit4all-ng-client-1.0.19.tgz +0 -0
- package/smartbit4all-ng-client-1.0.18.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
|
}
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|