quankee-framework-report 1.5.1 → 1.5.3
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/fesm2022/quankee-framework-report.mjs +40 -1
- package/fesm2022/quankee-framework-report.mjs.map +1 -1
- package/lib/core/data/source/report-data-source-request.d.ts +6 -0
- package/lib/core/data/source/report-data-source.d.ts +8 -0
- package/lib/core/data/source/report-data-source.service.d.ts +16 -0
- package/lib/core/module/report-module.service.d.ts +3 -0
- package/package.json +1 -1
- package/public-api.d.ts +3 -0
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Injectable } from '@angular/core';
|
|
3
|
+
import * as i1 from '@angular/common/http';
|
|
4
|
+
|
|
1
5
|
class ReportModuleService {
|
|
2
6
|
http;
|
|
3
7
|
constructor(http) {
|
|
@@ -6,7 +10,42 @@ class ReportModuleService {
|
|
|
6
10
|
getReportModules(baseUrl) {
|
|
7
11
|
return this.http.get(`${baseUrl}/api/report/engine/module`);
|
|
8
12
|
}
|
|
13
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ReportModuleService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
14
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ReportModuleService, providedIn: 'root' });
|
|
15
|
+
}
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ReportModuleService, decorators: [{
|
|
17
|
+
type: Injectable,
|
|
18
|
+
args: [{
|
|
19
|
+
providedIn: 'root'
|
|
20
|
+
}]
|
|
21
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
22
|
+
|
|
23
|
+
class ReportDataSourceService {
|
|
24
|
+
http;
|
|
25
|
+
constructor(http) {
|
|
26
|
+
this.http = http;
|
|
27
|
+
}
|
|
28
|
+
getReportDataSources(baseUrl) {
|
|
29
|
+
return this.http.get(`${baseUrl}/api/report/engine/data/source`);
|
|
30
|
+
}
|
|
31
|
+
registerDataSource(baseUrl, request) {
|
|
32
|
+
return this.http.post(`${baseUrl}/api/report/engine/data/source`, request);
|
|
33
|
+
}
|
|
34
|
+
updateDataSource(baseUrl, request) {
|
|
35
|
+
return this.http.put(`${baseUrl}/api/report/engine/data/source`, request);
|
|
36
|
+
}
|
|
37
|
+
deleteDataSource(baseUrl, reportDataSourceId) {
|
|
38
|
+
return this.http.delete(`${baseUrl}/api/report/engine/data/source/${reportDataSourceId}`);
|
|
39
|
+
}
|
|
40
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ReportDataSourceService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
41
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ReportDataSourceService, providedIn: 'root' });
|
|
9
42
|
}
|
|
43
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ReportDataSourceService, decorators: [{
|
|
44
|
+
type: Injectable,
|
|
45
|
+
args: [{
|
|
46
|
+
providedIn: 'root'
|
|
47
|
+
}]
|
|
48
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
10
49
|
|
|
11
50
|
/*
|
|
12
51
|
* Public API Surface of quankee-framework-report
|
|
@@ -16,5 +55,5 @@ class ReportModuleService {
|
|
|
16
55
|
* Generated bundle index. Do not edit.
|
|
17
56
|
*/
|
|
18
57
|
|
|
19
|
-
export { ReportModuleService };
|
|
58
|
+
export { ReportDataSourceService, ReportModuleService };
|
|
20
59
|
//# sourceMappingURL=quankee-framework-report.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"quankee-framework-report.mjs","sources":["../../../projects/quankee-framework-report/src/lib/core/module/report-module.service.ts","../../../projects/quankee-framework-report/src/public-api.ts","../../../projects/quankee-framework-report/src/quankee-framework-report.ts"],"sourcesContent":["import {HttpClient} from '@angular/common/http';\nimport {Observable} from 'rxjs';\nimport {Response} from 'quankee-framework-response';\nimport {ReportModule} from './report-module';\n\nexport class ReportModuleService {\n\n constructor(private readonly http: HttpClient) { }\n\n getReportModules(baseUrl: string): Observable<Response<ReportModule[]>> {\n return this.http.get<Response<ReportModule[]>>(`${baseUrl}/api/report/engine/module`);\n }\n}\n","/*\n * Public API Surface of quankee-framework-report\n */\n\n\nexport * from './lib/core/module/report-module';\n\nexport * from './lib/core/module/report-module.service'\n\n\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"quankee-framework-report.mjs","sources":["../../../projects/quankee-framework-report/src/lib/core/module/report-module.service.ts","../../../projects/quankee-framework-report/src/lib/core/data/source/report-data-source.service.ts","../../../projects/quankee-framework-report/src/public-api.ts","../../../projects/quankee-framework-report/src/quankee-framework-report.ts"],"sourcesContent":["import {HttpClient} from '@angular/common/http';\nimport {Observable} from 'rxjs';\nimport {Response} from 'quankee-framework-response';\nimport {ReportModule} from './report-module';\nimport {Injectable} from '@angular/core';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class ReportModuleService {\n\n constructor(private readonly http: HttpClient) { }\n\n getReportModules(baseUrl: string): Observable<Response<ReportModule[]>> {\n return this.http.get<Response<ReportModule[]>>(`${baseUrl}/api/report/engine/module`);\n }\n}\n","import {HttpClient} from '@angular/common/http';\nimport {Injectable} from '@angular/core';\nimport {Observable} from 'rxjs';\nimport {Response} from 'quankee-framework-response';\nimport {ReportDataSource} from './report-data-source';\nimport {ReportDataSourceRequest} from './report-data-source-request';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class ReportDataSourceService {\n\n constructor(private readonly http: HttpClient) {}\n\n getReportDataSources(baseUrl: string): Observable<Response<ReportDataSource[]>> {\n return this.http.get<Response<ReportDataSource[]>>(`${baseUrl}/api/report/engine/data/source`);\n }\n\n registerDataSource(baseUrl: string, request: ReportDataSourceRequest): Observable<Response<string>> {\n return this.http.post<Response<string>>(`${baseUrl}/api/report/engine/data/source`, request);\n }\n\n updateDataSource(baseUrl: string, request: ReportDataSourceRequest): Observable<Response<string>> {\n return this.http.put<Response<string>>(`${baseUrl}/api/report/engine/data/source`, request);\n }\n\n deleteDataSource(baseUrl: string,reportDataSourceId:string): Observable<Response<string>> {\n return this.http.delete<Response<string>>(`${baseUrl}/api/report/engine/data/source/${reportDataSourceId}`);\n }\n\n}\n","/*\n * Public API Surface of quankee-framework-report\n */\n\n\nexport * from './lib/core/module/report-module';\nexport * from './lib/core/data/source/report-data-source';\nexport * from './lib/core/data/source/report-data-source-request';\n\nexport * from './lib/core/module/report-module.service'\nexport * from './lib/core/data/source/report-data-source.service';\n\n\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MASa,mBAAmB,CAAA;AAED,IAAA,IAAA;AAA7B,IAAA,WAAA,CAA6B,IAAgB,EAAA;QAAhB,IAAI,CAAA,IAAA,GAAJ,IAAI;;AAEjC,IAAA,gBAAgB,CAAC,OAAe,EAAA;QAC9B,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAA2B,CAAG,EAAA,OAAO,CAA2B,yBAAA,CAAA,CAAC;;wGAL5E,mBAAmB,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,UAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA;AAAnB,IAAA,OAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,mBAAmB,cAFlB,MAAM,EAAA,CAAA;;4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AA;kBAHnC,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,UAAU,EAAE;AACb,iBAAA;;;ACTD;;AAEG;;ACFH;;AAEG;;;;"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { Response } from 'quankee-framework-response';
|
|
4
|
+
import { ReportDataSource } from './report-data-source';
|
|
5
|
+
import { ReportDataSourceRequest } from './report-data-source-request';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class ReportDataSourceService {
|
|
8
|
+
private readonly http;
|
|
9
|
+
constructor(http: HttpClient);
|
|
10
|
+
getReportDataSources(baseUrl: string): Observable<Response<ReportDataSource[]>>;
|
|
11
|
+
registerDataSource(baseUrl: string, request: ReportDataSourceRequest): Observable<Response<string>>;
|
|
12
|
+
updateDataSource(baseUrl: string, request: ReportDataSourceRequest): Observable<Response<string>>;
|
|
13
|
+
deleteDataSource(baseUrl: string, reportDataSourceId: string): Observable<Response<string>>;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ReportDataSourceService, never>;
|
|
15
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ReportDataSourceService>;
|
|
16
|
+
}
|
|
@@ -2,8 +2,11 @@ import { HttpClient } from '@angular/common/http';
|
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import { Response } from 'quankee-framework-response';
|
|
4
4
|
import { ReportModule } from './report-module';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class ReportModuleService {
|
|
6
7
|
private readonly http;
|
|
7
8
|
constructor(http: HttpClient);
|
|
8
9
|
getReportModules(baseUrl: string): Observable<Response<ReportModule[]>>;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ReportModuleService, never>;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ReportModuleService>;
|
|
9
12
|
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -1,2 +1,5 @@
|
|
|
1
1
|
export * from './lib/core/module/report-module';
|
|
2
|
+
export * from './lib/core/data/source/report-data-source';
|
|
3
|
+
export * from './lib/core/data/source/report-data-source-request';
|
|
2
4
|
export * from './lib/core/module/report-module.service';
|
|
5
|
+
export * from './lib/core/data/source/report-data-source.service';
|