@acorex/connectivity 21.0.0-next.0 → 21.0.0-next.10
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/api/index.d.ts +1 -59
- package/fesm2022/{acorex-connectivity-api-execute.command-SGNBLcOi.mjs → acorex-connectivity-api-execute.command-gIRQPxtq.mjs} +6 -6
- package/fesm2022/acorex-connectivity-api-execute.command-gIRQPxtq.mjs.map +1 -0
- package/fesm2022/acorex-connectivity-api.mjs +101 -185
- package/fesm2022/acorex-connectivity-api.mjs.map +1 -1
- package/fesm2022/{acorex-connectivity-mock-category-with-items.query-Dsxj98tX.mjs → acorex-connectivity-mock-category-with-items.query-Cl7T-rSS.mjs} +4 -4
- package/fesm2022/{acorex-connectivity-mock-category-with-items.query-Dsxj98tX.mjs.map → acorex-connectivity-mock-category-with-items.query-Cl7T-rSS.mjs.map} +1 -1
- package/fesm2022/acorex-connectivity-mock-complete-signature-process.command-MIKenDnl.mjs +80 -0
- package/fesm2022/acorex-connectivity-mock-complete-signature-process.command-MIKenDnl.mjs.map +1 -0
- package/fesm2022/{acorex-connectivity-mock-distribution-record.command-DRiDwlqN.mjs → acorex-connectivity-mock-distribution-record.command-D9MRsoPw.mjs} +4 -4
- package/fesm2022/{acorex-connectivity-mock-distribution-record.command-DRiDwlqN.mjs.map → acorex-connectivity-mock-distribution-record.command-D9MRsoPw.mjs.map} +1 -1
- package/fesm2022/acorex-connectivity-mock-get-application-versions-chart-data.query-H6rrh30t.mjs +115 -0
- package/fesm2022/acorex-connectivity-mock-get-application-versions-chart-data.query-H6rrh30t.mjs.map +1 -0
- package/fesm2022/acorex-connectivity-mock-get-application-versions-timeline.query-zuGKLAbn.mjs +163 -0
- package/fesm2022/acorex-connectivity-mock-get-application-versions-timeline.query-zuGKLAbn.mjs.map +1 -0
- package/fesm2022/acorex-connectivity-mock-get-product-chart-data.query-CQ75e_tN.mjs +186 -0
- package/fesm2022/acorex-connectivity-mock-get-product-chart-data.query-CQ75e_tN.mjs.map +1 -0
- package/fesm2022/acorex-connectivity-mock-get-product-list.query-OM16ygmJ.mjs +246 -0
- package/fesm2022/acorex-connectivity-mock-get-product-list.query-OM16ygmJ.mjs.map +1 -0
- package/fesm2022/acorex-connectivity-mock-get-product-pdf-data.query-DoR3awXg.mjs +192 -0
- package/fesm2022/acorex-connectivity-mock-get-product-pdf-data.query-DoR3awXg.mjs.map +1 -0
- package/fesm2022/acorex-connectivity-mock-get-subscriptions-chart-data.query-Dq779mtQ.mjs +56 -0
- package/fesm2022/acorex-connectivity-mock-get-subscriptions-chart-data.query-Dq779mtQ.mjs.map +1 -0
- package/fesm2022/acorex-connectivity-mock-get-subscriptions-timeline.query-gNwKFN0F.mjs +246 -0
- package/fesm2022/acorex-connectivity-mock-get-subscriptions-timeline.query-gNwKFN0F.mjs.map +1 -0
- package/fesm2022/acorex-connectivity-mock-get-tenant-application-access.query-C3OxqcSp.mjs +258 -0
- package/fesm2022/acorex-connectivity-mock-get-tenant-application-access.query-C3OxqcSp.mjs.map +1 -0
- package/fesm2022/acorex-connectivity-mock-get-tenant-registration-chart-data.query-v8jIyUEH.mjs +56 -0
- package/fesm2022/acorex-connectivity-mock-get-tenant-registration-chart-data.query-v8jIyUEH.mjs.map +1 -0
- package/fesm2022/acorex-connectivity-mock-get-tenant-registration-timeline.query-Da6nKdpq.mjs +294 -0
- package/fesm2022/acorex-connectivity-mock-get-tenant-registration-timeline.query-Da6nKdpq.mjs.map +1 -0
- package/fesm2022/acorex-connectivity-mock-get-tenant-user-distribution.query-T0qvGjtD.mjs +212 -0
- package/fesm2022/acorex-connectivity-mock-get-tenant-user-distribution.query-T0qvGjtD.mjs.map +1 -0
- package/fesm2022/acorex-connectivity-mock-notify-signers.command-CmXMibLx.mjs +69 -0
- package/fesm2022/acorex-connectivity-mock-notify-signers.command-CmXMibLx.mjs.map +1 -0
- package/fesm2022/acorex-connectivity-mock-request-signature.command-B6VZ5KeW.mjs +72 -0
- package/fesm2022/acorex-connectivity-mock-request-signature.command-B6VZ5KeW.mjs.map +1 -0
- package/fesm2022/{acorex-connectivity-mock-sample.command-CkH5bmEs.mjs → acorex-connectivity-mock-sample.command-BJJ67aLM.mjs} +4 -4
- package/fesm2022/{acorex-connectivity-mock-sample.command-CkH5bmEs.mjs.map → acorex-connectivity-mock-sample.command-BJJ67aLM.mjs.map} +1 -1
- package/fesm2022/acorex-connectivity-mock-validate-all-signatures.command-CG80T32a.mjs +81 -0
- package/fesm2022/acorex-connectivity-mock-validate-all-signatures.command-CG80T32a.mjs.map +1 -0
- package/fesm2022/acorex-connectivity-mock.mjs +46365 -46644
- package/fesm2022/acorex-connectivity-mock.mjs.map +1 -1
- package/fesm2022/acorex-connectivity-utils.mjs +7 -7
- package/fesm2022/acorex-connectivity-utils.mjs.map +1 -1
- package/mock/index.d.ts +336 -324
- package/package.json +2 -2
- package/fesm2022/acorex-connectivity-api-execute.command-SGNBLcOi.mjs.map +0 -1
package/api/index.d.ts
CHANGED
|
@@ -10,8 +10,6 @@ import * as i3 from '@acorex/connectivity/utils';
|
|
|
10
10
|
import * as i1 from '@acorex/platform/runtime';
|
|
11
11
|
import { Observable } from 'rxjs';
|
|
12
12
|
import { AXPUserAvatarProvider, AXPUserAvatarData } from '@acorex/platform/layout/components';
|
|
13
|
-
import * as _acorex_modules_report_management from '@acorex/modules/report-management';
|
|
14
|
-
import { AXPReportCategoryProvider, AXPReportCategory, AXPReportDefinitionProvider, AXPReportDefinition } from '@acorex/modules/report-management';
|
|
15
13
|
|
|
16
14
|
declare class AXCApiEntityStorageService implements AXPEntityStorageService<string, any> {
|
|
17
15
|
private http;
|
|
@@ -248,31 +246,6 @@ declare class APIGoogleStrategy extends AXPAuthStrategy {
|
|
|
248
246
|
static ɵprov: i0.ɵɵInjectableDeclaration<APIGoogleStrategy>;
|
|
249
247
|
}
|
|
250
248
|
|
|
251
|
-
declare class AXCSystemInsightReportCategoryApiProvider implements AXPReportCategoryProvider {
|
|
252
|
-
private http;
|
|
253
|
-
getList(parentId?: string): Promise<AXPReportCategory[]>;
|
|
254
|
-
getById(id: string): Promise<AXPReportCategory | undefined>;
|
|
255
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXCSystemInsightReportCategoryApiProvider, never>;
|
|
256
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AXCSystemInsightReportCategoryApiProvider>;
|
|
257
|
-
}
|
|
258
|
-
declare class AXCSystemInsightReportDefinitionApiProvider implements AXPReportDefinitionProvider {
|
|
259
|
-
private http;
|
|
260
|
-
getList(categoryId: string): Promise<AXPReportDefinition[]>;
|
|
261
|
-
getById(id: string): Promise<AXPReportDefinition | undefined>;
|
|
262
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXCSystemInsightReportDefinitionApiProvider, never>;
|
|
263
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AXCSystemInsightReportDefinitionApiProvider>;
|
|
264
|
-
}
|
|
265
|
-
declare const AXC_SYSTEM_INSIGHT_REPORT_CATEGORY_API_PROVIDER: {
|
|
266
|
-
provide: i0.InjectionToken<_acorex_modules_report_management.AXPReportCategoryProviderToken[]>;
|
|
267
|
-
useClass: typeof AXCSystemInsightReportCategoryApiProvider;
|
|
268
|
-
multi: boolean;
|
|
269
|
-
};
|
|
270
|
-
declare const AXC_SYSTEM_INSIGHT_REPORT_DEFINITION_API_PROVIDER: {
|
|
271
|
-
provide: i0.InjectionToken<_acorex_modules_report_management.AXPReportDefinitionProviderToken[]>;
|
|
272
|
-
useClass: typeof AXCSystemInsightReportDefinitionApiProvider;
|
|
273
|
-
multi: boolean;
|
|
274
|
-
};
|
|
275
|
-
|
|
276
249
|
/**
|
|
277
250
|
* Execute Report DTO - Response from report execution API
|
|
278
251
|
*/
|
|
@@ -373,37 +346,6 @@ interface AXCReportLayoutDefinition {
|
|
|
373
346
|
};
|
|
374
347
|
isDefault?: boolean;
|
|
375
348
|
}
|
|
376
|
-
declare class AXCReportCategoryApiProvider implements AXPReportCategoryProvider {
|
|
377
|
-
private readonly http;
|
|
378
|
-
private readonly configs;
|
|
379
|
-
private readonly baseUrl;
|
|
380
|
-
getList(parentId?: string): Promise<AXPReportCategory[]>;
|
|
381
|
-
getById(id: string): Promise<AXPReportCategory | undefined>;
|
|
382
|
-
private mapApiCategoryToReportCategory;
|
|
383
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXCReportCategoryApiProvider, never>;
|
|
384
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AXCReportCategoryApiProvider>;
|
|
385
|
-
}
|
|
386
|
-
declare class AXCReportDefinitionApiProvider implements AXPReportDefinitionProvider {
|
|
387
|
-
private readonly http;
|
|
388
|
-
private readonly configs;
|
|
389
|
-
private readonly baseUrl;
|
|
390
|
-
getList(categoryId: string): Promise<AXPReportDefinition[]>;
|
|
391
|
-
getById(id: string): Promise<AXPReportDefinition | undefined>;
|
|
392
|
-
private mapApiReportDefinitionItemToReportDefinition;
|
|
393
|
-
private mapApiReportDefinitionToReportDefinition;
|
|
394
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXCReportDefinitionApiProvider, never>;
|
|
395
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AXCReportDefinitionApiProvider>;
|
|
396
|
-
}
|
|
397
|
-
declare const AXC_REPORT_CATEGORY_API_PROVIDER: {
|
|
398
|
-
provide: i0.InjectionToken<_acorex_modules_report_management.AXPReportCategoryProviderToken[]>;
|
|
399
|
-
useClass: typeof AXCReportCategoryApiProvider;
|
|
400
|
-
multi: boolean;
|
|
401
|
-
};
|
|
402
|
-
declare const AXC_REPORT_DEFINITION_API_PROVIDER: {
|
|
403
|
-
provide: i0.InjectionToken<_acorex_modules_report_management.AXPReportDefinitionProviderToken[]>;
|
|
404
|
-
useClass: typeof AXCReportDefinitionApiProvider;
|
|
405
|
-
multi: boolean;
|
|
406
|
-
};
|
|
407
349
|
|
|
408
|
-
export { APIGoogleStrategy, AXCAPIOidcStrategy, AXCApiEntityStorageService, AXCApiModule, AXCApiUserAvatarProvider,
|
|
350
|
+
export { APIGoogleStrategy, AXCAPIOidcStrategy, AXCApiEntityStorageService, AXCApiModule, AXCApiUserAvatarProvider, AXCReportManagementApiModule, AXMConfigurationService, AXMOidcApplicationLoader, AXMOidcFeatureLoader, AXMOidcPermissionLoader, AXMOidcTenantLoader };
|
|
409
351
|
export type { AXCReportCategoryApiItem, AXCReportCategoryApiResponse, AXCReportDefinitionApiItem, AXCReportDefinitionApiResponse, AXCReportLayoutDefinition, AXCReportParameter, AXCReportParameterGroup, AXPExecuteReportDto, AXPOAuthExternalCredentials, AXPUserPassCredentials, ApplicationConfiguration, Auth, Culture, IAuthenticationDataModel, Language, Localization, NameValue, Resource };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AXPReportViewerService } from '@acorex/modules/report-management';
|
|
2
2
|
import { AXP_ROOT_CONFIG_TOKEN } from '@acorex/platform/common';
|
|
3
3
|
import { HttpClient } from '@angular/common/http';
|
|
4
4
|
import * as i0 from '@angular/core';
|
|
@@ -8,7 +8,7 @@ import { firstValueFrom } from 'rxjs';
|
|
|
8
8
|
class AXCReportExecuteCommand {
|
|
9
9
|
constructor() {
|
|
10
10
|
this.http = inject(HttpClient);
|
|
11
|
-
this.reportDefinitionService = inject(
|
|
11
|
+
this.reportDefinitionService = inject(AXPReportViewerService);
|
|
12
12
|
this.configs = inject(AXP_ROOT_CONFIG_TOKEN);
|
|
13
13
|
this.baseUrl = this.configs.baseUrl;
|
|
14
14
|
}
|
|
@@ -81,10 +81,10 @@ class AXCReportExecuteCommand {
|
|
|
81
81
|
};
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
85
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
84
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXCReportExecuteCommand, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
85
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXCReportExecuteCommand, providedIn: 'root' }); }
|
|
86
86
|
}
|
|
87
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
87
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXCReportExecuteCommand, decorators: [{
|
|
88
88
|
type: Injectable,
|
|
89
89
|
args: [{
|
|
90
90
|
providedIn: 'root',
|
|
@@ -92,4 +92,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImpo
|
|
|
92
92
|
}] });
|
|
93
93
|
|
|
94
94
|
export { AXCReportExecuteCommand };
|
|
95
|
-
//# sourceMappingURL=acorex-connectivity-api-execute.command-
|
|
95
|
+
//# sourceMappingURL=acorex-connectivity-api-execute.command-gIRQPxtq.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-connectivity-api-execute.command-gIRQPxtq.mjs","sources":["../tmp-esm2022/api/lib/report-management/execute.command.js"],"sourcesContent":["import { AXPReportViewerService, } from '@acorex/modules/report-management';\nimport { AXP_ROOT_CONFIG_TOKEN } from '@acorex/platform/common';\nimport { HttpClient } from '@angular/common/http';\nimport { inject, Injectable } from '@angular/core';\nimport { firstValueFrom } from 'rxjs';\nimport * as i0 from \"@angular/core\";\nexport class AXCReportExecuteCommand {\n constructor() {\n this.http = inject(HttpClient);\n this.reportDefinitionService = inject(AXPReportViewerService);\n this.configs = inject(AXP_ROOT_CONFIG_TOKEN);\n this.baseUrl = this.configs.baseUrl;\n }\n //#region ---- Command Implementation ----\n async execute(context) {\n try {\n const { reportId, layoutId, filters: parameters } = context;\n // Get the report definition to find the layout\n const reportDefinition = await this.reportDefinitionService.getReportById(reportId);\n if (!reportDefinition) {\n throw new Error(`Report with ID ${reportId} not found`);\n }\n // Find the specific layout\n const layoutDefinition = reportDefinition.layouts.find((l) => l.id === layoutId);\n if (!layoutDefinition) {\n throw new Error(`Layout with ID ${layoutId} not found in report ${reportId}`);\n }\n // Call the Execute API endpoint\n const url = `${this.baseUrl}/v1/global/Report-Management/report/Execute`;\n const body = {\n reportId,\n parameters,\n };\n const executeResult = await firstValueFrom(this.http.post(url, body));\n // Convert ExecuteReportDto to AXPExecutionReportResult format\n let executionResult;\n if (executeResult.type === 'table') {\n executionResult = {\n type: 'table',\n items: executeResult.items,\n total: executeResult.totalCount,\n };\n }\n else if (executeResult.type === 'chart') {\n executionResult = {\n type: 'chart',\n data: executeResult.items[0] || {},\n };\n }\n else if (executeResult.type === 'cards') {\n executionResult = {\n type: 'cards',\n items: executeResult.items,\n };\n }\n else {\n executionResult = {\n type: 'custom',\n data: executeResult.items,\n };\n }\n // Return the combined layout configuration and data\n return {\n success: true,\n data: {\n ...layoutDefinition.layout,\n data: executionResult,\n },\n };\n }\n catch (error) {\n console.error('Error executing report:', error);\n const errorMessage = error instanceof Error ? error.message : 'Unknown error';\n return {\n success: false,\n message: {\n type: 'error',\n text: `Failed to execute report: ${errorMessage}`,\n },\n };\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.3.15\", ngImport: i0, type: AXCReportExecuteCommand, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"20.3.15\", ngImport: i0, type: AXCReportExecuteCommand, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.3.15\", ngImport: i0, type: AXCReportExecuteCommand, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root',\n }]\n }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjo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,EAAE,UAAU;AAC5B,YAAY,IAAI,EAAE,CAAC;AACnB,oBAAoB,UAAU,EAAE,MAAM;AACtC,iBAAiB;AACjB,SAAS,CAAC,EAAE,CAAC;;;;"}
|
|
@@ -18,7 +18,7 @@ import { AXMUsersEntityService } from '@acorex/modules/security-management';
|
|
|
18
18
|
import { AXPDataGenerator } from '@acorex/platform/core';
|
|
19
19
|
import { AXCUtilsModule, AXCExternalAuthorizationService } from '@acorex/connectivity/utils';
|
|
20
20
|
import { AXPRuntimeModule, provideCommandSetups } from '@acorex/platform/runtime';
|
|
21
|
-
import {
|
|
21
|
+
import { AXPReportViewerService } from '@acorex/modules/report-management';
|
|
22
22
|
|
|
23
23
|
class AXCApiEntityStorageService {
|
|
24
24
|
constructor(http) {
|
|
@@ -140,10 +140,10 @@ class AXCApiEntityStorageService {
|
|
|
140
140
|
};
|
|
141
141
|
});
|
|
142
142
|
}
|
|
143
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
144
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
143
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXCApiEntityStorageService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
144
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXCApiEntityStorageService }); }
|
|
145
145
|
}
|
|
146
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
146
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXCApiEntityStorageService, decorators: [{
|
|
147
147
|
type: Injectable
|
|
148
148
|
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
149
149
|
|
|
@@ -290,10 +290,10 @@ class AXCFileStorageApiService extends AXPFileStorageService {
|
|
|
290
290
|
// Silently fail in fallback mode
|
|
291
291
|
}
|
|
292
292
|
}
|
|
293
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
294
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
293
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXCFileStorageApiService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
294
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXCFileStorageApiService }); }
|
|
295
295
|
}
|
|
296
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
296
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXCFileStorageApiService, decorators: [{
|
|
297
297
|
type: Injectable
|
|
298
298
|
}] });
|
|
299
299
|
|
|
@@ -343,10 +343,10 @@ class AXMOidcApplicationLoader {
|
|
|
343
343
|
// features: item.features || [],
|
|
344
344
|
};
|
|
345
345
|
}
|
|
346
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
347
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
346
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXMOidcApplicationLoader, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
347
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXMOidcApplicationLoader }); }
|
|
348
348
|
}
|
|
349
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
349
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXMOidcApplicationLoader, decorators: [{
|
|
350
350
|
type: Injectable
|
|
351
351
|
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
352
352
|
|
|
@@ -386,10 +386,10 @@ class AXMConfigurationService {
|
|
|
386
386
|
switchMap(() => of(this.applicationConfig)));
|
|
387
387
|
}
|
|
388
388
|
}
|
|
389
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
390
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
389
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXMConfigurationService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
390
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXMConfigurationService, providedIn: 'root' }); }
|
|
391
391
|
}
|
|
392
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
392
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXMConfigurationService, decorators: [{
|
|
393
393
|
type: Injectable,
|
|
394
394
|
args: [{
|
|
395
395
|
providedIn: 'root',
|
|
@@ -762,10 +762,10 @@ class AXCAPIOidcStrategy extends AXPAuthStrategy {
|
|
|
762
762
|
get name() {
|
|
763
763
|
return 'oidc';
|
|
764
764
|
}
|
|
765
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
766
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
765
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXCAPIOidcStrategy, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
766
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXCAPIOidcStrategy }); }
|
|
767
767
|
}
|
|
768
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
768
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXCAPIOidcStrategy, decorators: [{
|
|
769
769
|
type: Injectable
|
|
770
770
|
}] });
|
|
771
771
|
|
|
@@ -791,10 +791,10 @@ class AXMOidcPermissionLoader {
|
|
|
791
791
|
const truePolicies = Object.keys(policies).filter((key) => policies[key] === true);
|
|
792
792
|
return truePolicies;
|
|
793
793
|
}
|
|
794
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
795
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
794
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXMOidcPermissionLoader, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
795
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXMOidcPermissionLoader }); }
|
|
796
796
|
}
|
|
797
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
797
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXMOidcPermissionLoader, decorators: [{
|
|
798
798
|
type: Injectable
|
|
799
799
|
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
800
800
|
|
|
@@ -821,10 +821,10 @@ class AXMOidcTenantLoader {
|
|
|
821
821
|
// Add other fields and defaults as needed, and handle the logo if applicable
|
|
822
822
|
};
|
|
823
823
|
}
|
|
824
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
825
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
824
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXMOidcTenantLoader, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
825
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXMOidcTenantLoader }); }
|
|
826
826
|
}
|
|
827
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
827
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXMOidcTenantLoader, decorators: [{
|
|
828
828
|
type: Injectable
|
|
829
829
|
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
830
830
|
|
|
@@ -866,15 +866,24 @@ class AXCApiUserAvatarProvider {
|
|
|
866
866
|
}
|
|
867
867
|
}
|
|
868
868
|
|
|
869
|
+
//#region ---- Imports ----
|
|
869
870
|
//#endregion
|
|
870
|
-
|
|
871
|
-
|
|
871
|
+
/**
|
|
872
|
+
* API-based Report Viewer Service
|
|
873
|
+
* Extends the base service to override data loading methods with API calls
|
|
874
|
+
*/
|
|
875
|
+
class AXCReportViewerApiService extends AXPReportViewerService {
|
|
872
876
|
constructor() {
|
|
877
|
+
super(...arguments);
|
|
873
878
|
this.http = inject(HttpClient);
|
|
874
879
|
this.configs = inject(AXP_ROOT_CONFIG_TOKEN);
|
|
875
880
|
this.baseUrl = this.configs.baseUrl;
|
|
876
881
|
}
|
|
877
|
-
|
|
882
|
+
//#region ---- Override: Category Loading ----
|
|
883
|
+
/**
|
|
884
|
+
* Override: Load categories from API instead of entity service
|
|
885
|
+
*/
|
|
886
|
+
async loadCategories(parentId) {
|
|
878
887
|
try {
|
|
879
888
|
let url;
|
|
880
889
|
if (parentId) {
|
|
@@ -898,50 +907,12 @@ class AXCReportCategoryApiProvider {
|
|
|
898
907
|
return [];
|
|
899
908
|
}
|
|
900
909
|
}
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
// Fallback: search in all categories
|
|
908
|
-
const allUrl = `${this.baseUrl}/v1/global/report-management/category`;
|
|
909
|
-
const params = { Skip: 0, Take: 1000 };
|
|
910
|
-
const allResponse = await firstValueFrom(this.http.get(allUrl, { params }));
|
|
911
|
-
const all = allResponse.items ?? [];
|
|
912
|
-
const found = all.find((c) => c.id === id);
|
|
913
|
-
return found ? this.mapApiCategoryToReportCategory(found) : undefined;
|
|
914
|
-
}
|
|
915
|
-
return this.mapApiCategoryToReportCategory(apiItem);
|
|
916
|
-
}
|
|
917
|
-
catch (error) {
|
|
918
|
-
console.error('Error fetching report category by ID:', error);
|
|
919
|
-
return undefined;
|
|
920
|
-
}
|
|
921
|
-
}
|
|
922
|
-
mapApiCategoryToReportCategory(apiItem) {
|
|
923
|
-
return {
|
|
924
|
-
id: apiItem.id,
|
|
925
|
-
title: apiItem.title,
|
|
926
|
-
description: apiItem.description || undefined,
|
|
927
|
-
parentId: apiItem.reportCategoryParentId || undefined,
|
|
928
|
-
childrenCount: apiItem.folderCount ?? 0,
|
|
929
|
-
itemsCount: apiItem.itemCount ?? 0,
|
|
930
|
-
};
|
|
931
|
-
}
|
|
932
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXCReportCategoryApiProvider, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
933
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXCReportCategoryApiProvider }); }
|
|
934
|
-
}
|
|
935
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXCReportCategoryApiProvider, decorators: [{
|
|
936
|
-
type: Injectable
|
|
937
|
-
}] });
|
|
938
|
-
class AXCReportDefinitionApiProvider {
|
|
939
|
-
constructor() {
|
|
940
|
-
this.http = inject(HttpClient);
|
|
941
|
-
this.configs = inject(AXP_ROOT_CONFIG_TOKEN);
|
|
942
|
-
this.baseUrl = this.configs.baseUrl;
|
|
943
|
-
}
|
|
944
|
-
async getList(categoryId) {
|
|
910
|
+
//#endregion
|
|
911
|
+
//#region ---- Override: Report Loading ----
|
|
912
|
+
/**
|
|
913
|
+
* Override: Load reports from API instead of entity service
|
|
914
|
+
*/
|
|
915
|
+
async loadReports(categoryId) {
|
|
945
916
|
try {
|
|
946
917
|
const url = `${this.baseUrl}/v1/global/report-management/category/${categoryId}`;
|
|
947
918
|
const response = await firstValueFrom(this.http.get(url));
|
|
@@ -966,7 +937,10 @@ class AXCReportDefinitionApiProvider {
|
|
|
966
937
|
return [];
|
|
967
938
|
}
|
|
968
939
|
}
|
|
969
|
-
|
|
940
|
+
/**
|
|
941
|
+
* Override: Load single report from API instead of entity service
|
|
942
|
+
*/
|
|
943
|
+
async loadReport(id) {
|
|
970
944
|
try {
|
|
971
945
|
const url = `${this.baseUrl}/v1/global/report-management/report/${id}`;
|
|
972
946
|
const response = await firstValueFrom(this.http.get(url));
|
|
@@ -977,6 +951,33 @@ class AXCReportDefinitionApiProvider {
|
|
|
977
951
|
return undefined;
|
|
978
952
|
}
|
|
979
953
|
}
|
|
954
|
+
//#endregion
|
|
955
|
+
//#region ---- Override: Report Execution ----
|
|
956
|
+
/**
|
|
957
|
+
* Override: Execute report with given context
|
|
958
|
+
* Implements report execution logic for API environment
|
|
959
|
+
* TODO: Implement API call to execute report
|
|
960
|
+
*/
|
|
961
|
+
async executeReport(context) {
|
|
962
|
+
// TODO: Implement API call to execute report
|
|
963
|
+
// Example:
|
|
964
|
+
// const url = `${this.baseUrl}/v1/global/report-management/report/${context.reportId}/execute`;
|
|
965
|
+
// const response = await firstValueFrom(this.http.post<AXPExecutionReportCommandResult>(url, context));
|
|
966
|
+
// return response;
|
|
967
|
+
throw new Error('executeReport API implementation is not yet implemented');
|
|
968
|
+
}
|
|
969
|
+
//#endregion
|
|
970
|
+
//#region ---- Private: Mapping Methods ----
|
|
971
|
+
mapApiCategoryToReportCategory(apiItem) {
|
|
972
|
+
return {
|
|
973
|
+
id: apiItem.id,
|
|
974
|
+
title: apiItem.title,
|
|
975
|
+
description: apiItem.description || undefined,
|
|
976
|
+
parentId: apiItem.reportCategoryParentId || undefined,
|
|
977
|
+
childrenCount: apiItem.folderCount ?? 0,
|
|
978
|
+
itemsCount: apiItem.itemCount ?? 0,
|
|
979
|
+
};
|
|
980
|
+
}
|
|
980
981
|
mapApiReportDefinitionItemToReportDefinition(apiItem) {
|
|
981
982
|
return {
|
|
982
983
|
id: apiItem.id,
|
|
@@ -1019,52 +1020,47 @@ class AXCReportDefinitionApiProvider {
|
|
|
1019
1020
|
defaultLayoutId: apiResponse.defaultLayoutId,
|
|
1020
1021
|
};
|
|
1021
1022
|
}
|
|
1022
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1023
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
1023
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXCReportViewerApiService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1024
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXCReportViewerApiService, providedIn: 'root' }); }
|
|
1024
1025
|
}
|
|
1025
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1026
|
-
type: Injectable
|
|
1026
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXCReportViewerApiService, decorators: [{
|
|
1027
|
+
type: Injectable,
|
|
1028
|
+
args: [{
|
|
1029
|
+
providedIn: 'root',
|
|
1030
|
+
}]
|
|
1027
1031
|
}] });
|
|
1028
|
-
//#endregion
|
|
1029
|
-
//#region ---- Provider Exports ----
|
|
1030
|
-
const AXC_REPORT_CATEGORY_API_PROVIDER = {
|
|
1031
|
-
provide: AXP_REPORT_CATEGORY_PROVIDER,
|
|
1032
|
-
useClass: AXCReportCategoryApiProvider,
|
|
1033
|
-
multi: true,
|
|
1034
|
-
};
|
|
1035
|
-
const AXC_REPORT_DEFINITION_API_PROVIDER = {
|
|
1036
|
-
provide: AXP_REPORT_DEFINITION_PROVIDER,
|
|
1037
|
-
useClass: AXCReportDefinitionApiProvider,
|
|
1038
|
-
multi: true,
|
|
1039
|
-
};
|
|
1040
1032
|
|
|
1041
1033
|
class AXCReportManagementApiModule {
|
|
1042
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1043
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
1044
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
1045
|
-
|
|
1046
|
-
|
|
1034
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXCReportManagementApiModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1035
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.15", ngImport: i0, type: AXCReportManagementApiModule, imports: [AXPRuntimeModule] }); }
|
|
1036
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXCReportManagementApiModule, providers: [
|
|
1037
|
+
{
|
|
1038
|
+
provide: AXPReportViewerService,
|
|
1039
|
+
useClass: AXCReportViewerApiService,
|
|
1040
|
+
},
|
|
1047
1041
|
provideCommandSetups([
|
|
1048
1042
|
{
|
|
1049
1043
|
key: 'ReportManagement.Report:Execute',
|
|
1050
|
-
command: () => import('./acorex-connectivity-api-execute.command-
|
|
1044
|
+
command: () => import('./acorex-connectivity-api-execute.command-gIRQPxtq.mjs').then((c) => c.AXCReportExecuteCommand),
|
|
1051
1045
|
}
|
|
1052
1046
|
]),
|
|
1053
1047
|
], imports: [AXPRuntimeModule] }); }
|
|
1054
1048
|
}
|
|
1055
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1049
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXCReportManagementApiModule, decorators: [{
|
|
1056
1050
|
type: NgModule,
|
|
1057
1051
|
args: [{
|
|
1058
1052
|
imports: [AXPRuntimeModule],
|
|
1059
1053
|
exports: [],
|
|
1060
1054
|
declarations: [],
|
|
1061
1055
|
providers: [
|
|
1062
|
-
|
|
1063
|
-
|
|
1056
|
+
{
|
|
1057
|
+
provide: AXPReportViewerService,
|
|
1058
|
+
useClass: AXCReportViewerApiService,
|
|
1059
|
+
},
|
|
1064
1060
|
provideCommandSetups([
|
|
1065
1061
|
{
|
|
1066
1062
|
key: 'ReportManagement.Report:Execute',
|
|
1067
|
-
command: () => import('./acorex-connectivity-api-execute.command-
|
|
1063
|
+
command: () => import('./acorex-connectivity-api-execute.command-gIRQPxtq.mjs').then((c) => c.AXCReportExecuteCommand),
|
|
1068
1064
|
}
|
|
1069
1065
|
]),
|
|
1070
1066
|
],
|
|
@@ -1072,10 +1068,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImpo
|
|
|
1072
1068
|
}] });
|
|
1073
1069
|
|
|
1074
1070
|
class AXCApiModule {
|
|
1075
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1076
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
1071
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXCApiModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1072
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.15", ngImport: i0, type: AXCApiModule, imports: [i1$1.OAuthModule, i2.AXPAuthModule, AXCUtilsModule,
|
|
1077
1073
|
AXCReportManagementApiModule] }); }
|
|
1078
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
1074
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXCApiModule, providers: [
|
|
1079
1075
|
{
|
|
1080
1076
|
provide: AXPEntityStorageService,
|
|
1081
1077
|
useClass: AXCApiEntityStorageService,
|
|
@@ -1118,7 +1114,7 @@ class AXCApiModule {
|
|
|
1118
1114
|
AXCUtilsModule,
|
|
1119
1115
|
AXCReportManagementApiModule] }); }
|
|
1120
1116
|
}
|
|
1121
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1117
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXCApiModule, decorators: [{
|
|
1122
1118
|
type: NgModule,
|
|
1123
1119
|
args: [{
|
|
1124
1120
|
imports: [
|
|
@@ -1433,99 +1429,19 @@ class APIGoogleStrategy extends AXPAuthStrategy {
|
|
|
1433
1429
|
console.error('Authentication error:', error);
|
|
1434
1430
|
throw error;
|
|
1435
1431
|
}
|
|
1436
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1437
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
1432
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: APIGoogleStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1433
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: APIGoogleStrategy }); }
|
|
1438
1434
|
}
|
|
1439
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1435
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: APIGoogleStrategy, decorators: [{
|
|
1440
1436
|
type: Injectable
|
|
1441
1437
|
}], ctorParameters: () => [] });
|
|
1442
1438
|
|
|
1443
|
-
//#region ----
|
|
1444
|
-
//#endregion
|
|
1445
|
-
//#region ---- API Providers ----
|
|
1446
|
-
class AXCSystemInsightReportCategoryApiProvider {
|
|
1447
|
-
constructor() {
|
|
1448
|
-
this.http = inject(HttpClient);
|
|
1449
|
-
}
|
|
1450
|
-
async getList(parentId) {
|
|
1451
|
-
try {
|
|
1452
|
-
// Call API to get report categories
|
|
1453
|
-
const params = {};
|
|
1454
|
-
if (parentId) {
|
|
1455
|
-
params.parentId = parentId;
|
|
1456
|
-
}
|
|
1457
|
-
const response = await firstValueFrom(this.http.get('/api/system-insight/report-categories', { params }));
|
|
1458
|
-
return response;
|
|
1459
|
-
}
|
|
1460
|
-
catch (error) {
|
|
1461
|
-
console.error('Failed to fetch system insight report categories from API:', error);
|
|
1462
|
-
return [];
|
|
1463
|
-
}
|
|
1464
|
-
}
|
|
1465
|
-
async getById(id) {
|
|
1466
|
-
try {
|
|
1467
|
-
const response = await firstValueFrom(this.http.get(`/api/system-insight/report-categories/${id}`));
|
|
1468
|
-
return response;
|
|
1469
|
-
}
|
|
1470
|
-
catch (error) {
|
|
1471
|
-
console.error(`Failed to fetch system insight report category ${id} from API:`, error);
|
|
1472
|
-
return undefined;
|
|
1473
|
-
}
|
|
1474
|
-
}
|
|
1475
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXCSystemInsightReportCategoryApiProvider, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1476
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXCSystemInsightReportCategoryApiProvider }); }
|
|
1477
|
-
}
|
|
1478
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXCSystemInsightReportCategoryApiProvider, decorators: [{
|
|
1479
|
-
type: Injectable
|
|
1480
|
-
}] });
|
|
1481
|
-
class AXCSystemInsightReportDefinitionApiProvider {
|
|
1482
|
-
constructor() {
|
|
1483
|
-
this.http = inject(HttpClient);
|
|
1484
|
-
}
|
|
1485
|
-
async getList(categoryId) {
|
|
1486
|
-
try {
|
|
1487
|
-
const response = await firstValueFrom(this.http.get(`/api/system-insight/report-definitions`, {
|
|
1488
|
-
params: { categoryId }
|
|
1489
|
-
}));
|
|
1490
|
-
return response;
|
|
1491
|
-
}
|
|
1492
|
-
catch (error) {
|
|
1493
|
-
console.error(`Failed to fetch system insight report definitions for category ${categoryId} from API:`, error);
|
|
1494
|
-
return [];
|
|
1495
|
-
}
|
|
1496
|
-
}
|
|
1497
|
-
async getById(id) {
|
|
1498
|
-
try {
|
|
1499
|
-
const response = await firstValueFrom(this.http.get(`/api/system-insight/report-definitions/${id}`));
|
|
1500
|
-
return response;
|
|
1501
|
-
}
|
|
1502
|
-
catch (error) {
|
|
1503
|
-
console.error(`Failed to fetch system insight report definition ${id} from API:`, error);
|
|
1504
|
-
return undefined;
|
|
1505
|
-
}
|
|
1506
|
-
}
|
|
1507
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXCSystemInsightReportDefinitionApiProvider, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1508
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXCSystemInsightReportDefinitionApiProvider }); }
|
|
1509
|
-
}
|
|
1510
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXCSystemInsightReportDefinitionApiProvider, decorators: [{
|
|
1511
|
-
type: Injectable
|
|
1512
|
-
}] });
|
|
1439
|
+
//#region ---- Execute Report DTO ----
|
|
1513
1440
|
//#endregion
|
|
1514
|
-
//#region ---- Provider Exports ----
|
|
1515
|
-
const AXC_SYSTEM_INSIGHT_REPORT_CATEGORY_API_PROVIDER = {
|
|
1516
|
-
provide: AXP_REPORT_CATEGORY_PROVIDER,
|
|
1517
|
-
useClass: AXCSystemInsightReportCategoryApiProvider,
|
|
1518
|
-
multi: true,
|
|
1519
|
-
};
|
|
1520
|
-
const AXC_SYSTEM_INSIGHT_REPORT_DEFINITION_API_PROVIDER = {
|
|
1521
|
-
provide: AXP_REPORT_DEFINITION_PROVIDER,
|
|
1522
|
-
useClass: AXCSystemInsightReportDefinitionApiProvider,
|
|
1523
|
-
multi: true,
|
|
1524
|
-
};
|
|
1525
1441
|
|
|
1526
1442
|
/**
|
|
1527
1443
|
* Generated bundle index. Do not edit.
|
|
1528
1444
|
*/
|
|
1529
1445
|
|
|
1530
|
-
export { APIGoogleStrategy, AXCAPIOidcStrategy, AXCApiEntityStorageService, AXCApiModule, AXCApiUserAvatarProvider,
|
|
1446
|
+
export { APIGoogleStrategy, AXCAPIOidcStrategy, AXCApiEntityStorageService, AXCApiModule, AXCApiUserAvatarProvider, AXCReportManagementApiModule, AXMConfigurationService, AXMOidcApplicationLoader, AXMOidcFeatureLoader, AXMOidcPermissionLoader, AXMOidcTenantLoader };
|
|
1531
1447
|
//# sourceMappingURL=acorex-connectivity-api.mjs.map
|