@smartbit4all/ng-client 1.1.38 → 1.1.40
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/api/api/api.mjs +4 -0
- package/esm2020/lib/smart-client/api/api/default.service.mjs +133 -0
- package/esm2020/lib/smart-client/api/encoder.mjs +19 -0
- package/esm2020/lib/smart-client/api/index.mjs +2 -1
- package/esm2020/lib/smart-client/api/model/smartComponentLayoutDefinition.mjs +1 -1
- package/esm2020/lib/smart-client/smart-component-layout/smart-component-layout.component.mjs +21 -6
- package/esm2020/lib/smart-ng-client.module.mjs +6 -2
- package/fesm2015/smartbit4all-ng-client.mjs +225 -59
- package/fesm2015/smartbit4all-ng-client.mjs.map +1 -1
- package/fesm2020/smartbit4all-ng-client.mjs +219 -56
- package/fesm2020/smartbit4all-ng-client.mjs.map +1 -1
- package/lib/smart-client/api/api/api.d.ts +3 -0
- package/lib/smart-client/api/api/default.service.d.ts +33 -0
- package/lib/smart-client/api/encoder.d.ts +11 -0
- package/lib/smart-client/api/index.d.ts +1 -0
- package/lib/smart-client/api/model/smartComponentLayoutDefinition.d.ts +1 -0
- package/lib/smart-client/smart-component-layout/smart-component-layout.component.d.ts +3 -0
- package/lib/smart-ng-client.module.d.ts +2 -1
- package/package.json +1 -1
- package/smartbit4all-ng-client-1.1.40.tgz +0 -0
- package/smartbit4all-ng-client-1.1.38.tgz +0 -0
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { Configuration } from '../configuration';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class DefaultService {
|
|
6
|
+
protected httpClient: HttpClient;
|
|
7
|
+
protected basePath: string;
|
|
8
|
+
defaultHeaders: HttpHeaders;
|
|
9
|
+
configuration: Configuration;
|
|
10
|
+
encoder: HttpParameterCodec;
|
|
11
|
+
constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration);
|
|
12
|
+
private addToHttpParams;
|
|
13
|
+
private addToHttpParamsRecursive;
|
|
14
|
+
/**
|
|
15
|
+
* Placeholder for generation
|
|
16
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
17
|
+
* @param reportProgress flag to report request and response progress.
|
|
18
|
+
*/
|
|
19
|
+
nopePost(observe?: 'body', reportProgress?: boolean, options?: {
|
|
20
|
+
httpHeaderAccept?: undefined;
|
|
21
|
+
context?: HttpContext;
|
|
22
|
+
}): Observable<any>;
|
|
23
|
+
nopePost(observe?: 'response', reportProgress?: boolean, options?: {
|
|
24
|
+
httpHeaderAccept?: undefined;
|
|
25
|
+
context?: HttpContext;
|
|
26
|
+
}): Observable<HttpResponse<any>>;
|
|
27
|
+
nopePost(observe?: 'events', reportProgress?: boolean, options?: {
|
|
28
|
+
httpHeaderAccept?: undefined;
|
|
29
|
+
context?: HttpContext;
|
|
30
|
+
}): Observable<HttpEvent<any>>;
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DefaultService, [null, { optional: true; }, { optional: true; }]>;
|
|
32
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DefaultService>;
|
|
33
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { HttpParameterCodec } from '@angular/common/http';
|
|
2
|
+
/**
|
|
3
|
+
* Custom HttpParameterCodec
|
|
4
|
+
* Workaround for https://github.com/angular/angular/issues/18261
|
|
5
|
+
*/
|
|
6
|
+
export declare class CustomHttpParameterCodec implements HttpParameterCodec {
|
|
7
|
+
encodeKey(k: string): string;
|
|
8
|
+
encodeValue(v: string): string;
|
|
9
|
+
decodeKey(k: string): string;
|
|
10
|
+
decodeValue(v: string): string;
|
|
11
|
+
}
|
|
@@ -15,6 +15,7 @@ import { SmartComponentWidgetDefinition } from './smartComponentWidgetDefinition
|
|
|
15
15
|
export interface SmartComponentLayoutDefinition {
|
|
16
16
|
type: ComponentType;
|
|
17
17
|
expandable?: boolean;
|
|
18
|
+
expandableSectionLabel?: string;
|
|
18
19
|
direction?: LayoutDirection;
|
|
19
20
|
/**
|
|
20
21
|
* This is a placeholder for SmartComponentApiClient. You might want to describe this further.
|
|
@@ -2,6 +2,7 @@ import { OnChanges, SimpleChanges } from '@angular/core';
|
|
|
2
2
|
import { SmartForm, SmartformComponent, SmartformLayoutDefinitionService } from '@smartbit4all/form';
|
|
3
3
|
import { SmartGrid, SmartGridComponent } from '@smartbit4all/grid';
|
|
4
4
|
import { ComponentType, SmartComponentLayoutDefinition } from '../api';
|
|
5
|
+
import { ExpandableSection } from '@smartbit4all/expandable-section';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class SmartComponentLayoutComponent implements OnChanges {
|
|
7
8
|
private layoutService;
|
|
@@ -11,9 +12,11 @@ export declare class SmartComponentLayoutComponent implements OnChanges {
|
|
|
11
12
|
smartForm?: SmartForm;
|
|
12
13
|
gridChild?: SmartGridComponent;
|
|
13
14
|
smartGrid?: SmartGrid;
|
|
15
|
+
expandableSection?: ExpandableSection<SmartComponentLayoutDefinition>;
|
|
14
16
|
constructor(layoutService: SmartformLayoutDefinitionService);
|
|
15
17
|
ngOnChanges(changes: SimpleChanges): void;
|
|
16
18
|
type(): typeof ComponentType;
|
|
19
|
+
constructExpandableSection(): void;
|
|
17
20
|
constructForm(): void;
|
|
18
21
|
makeid(length: number): string;
|
|
19
22
|
constructGrid(): void;
|
|
@@ -7,8 +7,9 @@ import * as i5 from "./session/smart-session.module";
|
|
|
7
7
|
import * as i6 from "./view-context/smart-view-context.module";
|
|
8
8
|
import * as i7 from "@smartbit4all/form";
|
|
9
9
|
import * as i8 from "@smartbit4all/grid";
|
|
10
|
+
import * as i9 from "@smartbit4all/expandable-section";
|
|
10
11
|
export declare class SmartNgClientModule {
|
|
11
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<SmartNgClientModule, never>;
|
|
12
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SmartNgClientModule, [typeof i1.SmartFileUploaderComponent, typeof i2.SmartComponentLayoutComponent], [typeof i3.BrowserModule, typeof i4.MatCommonModule, typeof i5.SmartSessionModule, typeof i6.SmartViewContextModule, typeof i7.SmartformModule, typeof i8.SmartGridModule], [typeof i5.SmartSessionModule, typeof i6.SmartViewContextModule, typeof i1.SmartFileUploaderComponent, typeof i2.SmartComponentLayoutComponent]>;
|
|
13
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SmartNgClientModule, [typeof i1.SmartFileUploaderComponent, typeof i2.SmartComponentLayoutComponent], [typeof i3.BrowserModule, typeof i4.MatCommonModule, typeof i5.SmartSessionModule, typeof i6.SmartViewContextModule, typeof i7.SmartformModule, typeof i8.SmartGridModule, typeof i9.SmartExpandableSectionModule], [typeof i5.SmartSessionModule, typeof i6.SmartViewContextModule, typeof i1.SmartFileUploaderComponent, typeof i2.SmartComponentLayoutComponent]>;
|
|
13
14
|
static ɵinj: i0.ɵɵInjectorDeclaration<SmartNgClientModule>;
|
|
14
15
|
}
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|