@smartbit4all/ng-client 3.1.79 → 3.1.80
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 +63 -25
- package/esm2020/lib/smart-client/smart.component.mjs +26 -5
- package/esm2020/lib/smart-client/smart.service.mjs +25 -4
- package/fesm2015/smartbit4all-ng-client.mjs +104 -29
- package/fesm2015/smartbit4all-ng-client.mjs.map +1 -1
- package/fesm2020/smartbit4all-ng-client.mjs +101 -27
- package/fesm2020/smartbit4all-ng-client.mjs.map +1 -1
- package/lib/smart-client/smart-component-api-client.d.ts +7 -1
- package/lib/smart-client/smart.component.d.ts +10 -1
- package/lib/smart-client/smart.service.d.ts +10 -1
- package/package.json +1 -1
- package/smartbit4all-ng-client-3.1.80.tgz +0 -0
- package/smartbit4all-ng-client-3.1.79.tgz +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Injector } from '@angular/core';
|
|
1
|
+
import { Injector, QueryList } from '@angular/core';
|
|
2
2
|
import { Subject } from 'rxjs';
|
|
3
3
|
import { GridOptions, SmartForm, SmartFormInvalidFields, SmartGrid, SmartGridComponent, SmartformComponent } from '../../projects';
|
|
4
4
|
import { SmarttreeGenericService } from '../smart-tree/projects';
|
|
@@ -32,9 +32,14 @@ export declare abstract class SmartComponentApiClient<T> implements UseUiAction2
|
|
|
32
32
|
set smartTreeService(smartTreeService: SmarttreeGenericService | undefined);
|
|
33
33
|
widgets: WidgetMap<SmartGridComponent | SmarttreeGenericService | undefined>;
|
|
34
34
|
formWidgets: WidgetMap<SmartformComponent | undefined>;
|
|
35
|
+
useQueryLists: boolean;
|
|
35
36
|
constructor(inject: Injector, auth: SmartAuthenticationServiceInterface, pageName: string);
|
|
36
37
|
_ngOnInit(): void;
|
|
37
38
|
_ngOnDestroy(): void;
|
|
39
|
+
protected abstract getAllFormComponents(): QueryList<SmartformComponent> | undefined;
|
|
40
|
+
protected abstract getAllGridComponents(): QueryList<SmartGridComponent> | undefined;
|
|
41
|
+
protected abstract getAllTreeComponents(): QueryList<SmarttreeGenericService> | undefined;
|
|
42
|
+
protected getWidgets(): WidgetMap<SmartGridComponent | SmarttreeGenericService | undefined>;
|
|
38
43
|
initComponentByModel(): void;
|
|
39
44
|
initData(): void;
|
|
40
45
|
initActions(): void;
|
|
@@ -42,6 +47,7 @@ export declare abstract class SmartComponentApiClient<T> implements UseUiAction2
|
|
|
42
47
|
load(): Promise<void>;
|
|
43
48
|
executeUiAction(uiAction: UiAction, options?: ExecuteUiActionOptions): Promise<void>;
|
|
44
49
|
getInvalidFields(): SmartFormInvalidFields;
|
|
50
|
+
protected validateForm(form: SmartformComponent | undefined, aggregatedInvalidFields: SmartFormInvalidFields): void;
|
|
45
51
|
getAdditionalParams(uiAction: UiAction): UiActionAdditionalParams;
|
|
46
52
|
getModel(): T | undefined;
|
|
47
53
|
submitForm(validate: boolean): void;
|
|
@@ -1,11 +1,20 @@
|
|
|
1
|
-
import { Injector, OnDestroy, OnInit } from '@angular/core';
|
|
1
|
+
import { Injector, OnDestroy, OnInit, QueryList } from '@angular/core';
|
|
2
2
|
import { SmartAuthenticationServiceInterface } from './smart-authentication.service';
|
|
3
3
|
import { SmartComponentApiClient } from './smart-component-api-client';
|
|
4
|
+
import { SmartformComponent } from '../smart-form/projects';
|
|
5
|
+
import { SmartGridComponent } from '../smart-grid/projects';
|
|
6
|
+
import { SmarttreeGenericService } from '../smart-tree/projects';
|
|
4
7
|
import * as i0 from "@angular/core";
|
|
5
8
|
export declare abstract class SmartComponent<T> extends SmartComponentApiClient<T> implements OnInit, OnDestroy {
|
|
9
|
+
formComponents: QueryList<SmartformComponent>;
|
|
10
|
+
gridComponents: QueryList<SmartGridComponent>;
|
|
11
|
+
treeComponents: QueryList<SmarttreeGenericService>;
|
|
6
12
|
constructor(inject: Injector, auth: SmartAuthenticationServiceInterface, pageName: string);
|
|
7
13
|
ngOnInit(): void;
|
|
8
14
|
ngOnDestroy(): void;
|
|
15
|
+
getAllFormComponents(): QueryList<SmartformComponent> | undefined;
|
|
16
|
+
getAllGridComponents(): QueryList<SmartGridComponent> | undefined;
|
|
17
|
+
getAllTreeComponents(): QueryList<SmarttreeGenericService> | undefined;
|
|
9
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<SmartComponent<any>, never>;
|
|
10
19
|
static ɵcmp: i0.ɵɵComponentDeclaration<SmartComponent<any>, "ng-component", never, {}, {}, never, never>;
|
|
11
20
|
}
|
|
@@ -1,11 +1,20 @@
|
|
|
1
|
-
import { Injector, OnDestroy, OnInit } from '@angular/core';
|
|
1
|
+
import { Injector, OnDestroy, OnInit, QueryList } from '@angular/core';
|
|
2
2
|
import { SmartAuthenticationServiceInterface } from './smart-authentication.service';
|
|
3
3
|
import { SmartComponentApiClient } from './smart-component-api-client';
|
|
4
|
+
import { SmartformComponent } from '../smart-form/projects';
|
|
5
|
+
import { SmartGridComponent } from '../smart-grid/projects';
|
|
6
|
+
import { SmarttreeGenericService } from '../smart-tree/projects';
|
|
4
7
|
import * as i0 from "@angular/core";
|
|
5
8
|
export declare abstract class SmartService<T> extends SmartComponentApiClient<T> implements OnInit, OnDestroy {
|
|
9
|
+
formComponents: QueryList<SmartformComponent>;
|
|
10
|
+
gridComponents: QueryList<SmartGridComponent>;
|
|
11
|
+
treeComponents: QueryList<SmarttreeGenericService>;
|
|
6
12
|
constructor(inject: Injector, auth: SmartAuthenticationServiceInterface, pageName: string);
|
|
7
13
|
ngOnInit(): void;
|
|
8
14
|
ngOnDestroy(): void;
|
|
15
|
+
getAllFormComponents(): QueryList<SmartformComponent> | undefined;
|
|
16
|
+
getAllGridComponents(): QueryList<SmartGridComponent> | undefined;
|
|
17
|
+
getAllTreeComponents(): QueryList<SmarttreeGenericService> | undefined;
|
|
9
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<SmartService<any>, never>;
|
|
10
19
|
static ɵprov: i0.ɵɵInjectableDeclaration<SmartService<any>>;
|
|
11
20
|
}
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|