@acorex/connectivity 21.0.0-next.72 → 21.0.0-next.73
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/{acorex-connectivity-api-execute.command-CiBl7z_H.mjs → acorex-connectivity-api-execute.command-CjCFEav4.mjs} +13 -3
- package/fesm2022/acorex-connectivity-api-execute.command-CjCFEav4.mjs.map +1 -0
- package/fesm2022/acorex-connectivity-api.mjs +7 -6
- package/fesm2022/acorex-connectivity-api.mjs.map +1 -1
- package/fesm2022/{acorex-connectivity-mock-acorex-connectivity-mock-ChTgoKCp.mjs → acorex-connectivity-mock-acorex-connectivity-mock-uNCIA7zG.mjs} +2238 -1029
- package/fesm2022/acorex-connectivity-mock-acorex-connectivity-mock-uNCIA7zG.mjs.map +1 -0
- package/fesm2022/{acorex-connectivity-mock-assign-to-manager.activity-7uIojNj1.mjs → acorex-connectivity-mock-assign-to-manager.activity-Cv-qHyrL.mjs} +2 -2
- package/fesm2022/{acorex-connectivity-mock-assign-to-manager.activity-7uIojNj1.mjs.map → acorex-connectivity-mock-assign-to-manager.activity-Cv-qHyrL.mjs.map} +1 -1
- package/fesm2022/{acorex-connectivity-mock-category-metadata-inheritance.query-CWRL1dTa.mjs → acorex-connectivity-mock-category-metadata-inheritance.query-CIof4zTg.mjs} +10 -8
- package/fesm2022/acorex-connectivity-mock-category-metadata-inheritance.query-CIof4zTg.mjs.map +1 -0
- package/fesm2022/{acorex-connectivity-mock-category-with-items.query-Cj6FWu7S.mjs → acorex-connectivity-mock-category-with-items.query-DAKUJIIt.mjs} +15 -14
- package/fesm2022/acorex-connectivity-mock-category-with-items.query-DAKUJIIt.mjs.map +1 -0
- package/fesm2022/{acorex-connectivity-mock-chat-generate-image.command-B5cbkpr0.mjs → acorex-connectivity-mock-chat-generate-image.command-D_9xGJJM.mjs} +2 -2
- package/fesm2022/{acorex-connectivity-mock-chat-generate-image.command-B5cbkpr0.mjs.map → acorex-connectivity-mock-chat-generate-image.command-D_9xGJJM.mjs.map} +1 -1
- package/fesm2022/{acorex-connectivity-mock-chat-synthesize-speech.command-rqgbcQxF.mjs → acorex-connectivity-mock-chat-synthesize-speech.command-B_JHheAI.mjs} +2 -2
- package/fesm2022/{acorex-connectivity-mock-chat-synthesize-speech.command-rqgbcQxF.mjs.map → acorex-connectivity-mock-chat-synthesize-speech.command-B_JHheAI.mjs.map} +1 -1
- package/fesm2022/{acorex-connectivity-mock-chat-transcribe-speech.command-DMKreUYD.mjs → acorex-connectivity-mock-chat-transcribe-speech.command-B9LSB17Y.mjs} +2 -2
- package/fesm2022/{acorex-connectivity-mock-chat-transcribe-speech.command-DMKreUYD.mjs.map → acorex-connectivity-mock-chat-transcribe-speech.command-B9LSB17Y.mjs.map} +1 -1
- package/fesm2022/{acorex-connectivity-mock-distribution-record.activity-DuNluOzA.mjs → acorex-connectivity-mock-distribution-record.activity-a1_k9Czb.mjs} +12 -9
- package/fesm2022/acorex-connectivity-mock-distribution-record.activity-a1_k9Czb.mjs.map +1 -0
- package/fesm2022/{acorex-connectivity-mock-get-employee-list.query-DifHwuqH.mjs → acorex-connectivity-mock-get-employee-list.query-BWbZj3tp.mjs} +5 -4
- package/fesm2022/acorex-connectivity-mock-get-employee-list.query-BWbZj3tp.mjs.map +1 -0
- package/fesm2022/{acorex-connectivity-mock-get-location-list.query-bMjkZnzq.mjs → acorex-connectivity-mock-get-location-list.query-CQ2rFDUM.mjs} +2 -2
- package/fesm2022/acorex-connectivity-mock-get-location-list.query-CQ2rFDUM.mjs.map +1 -0
- package/fesm2022/{acorex-connectivity-mock-get-product-list.query-f-mTj4ah.mjs → acorex-connectivity-mock-get-product-list.query-Bv1im5yj.mjs} +5 -4
- package/fesm2022/acorex-connectivity-mock-get-product-list.query-Bv1im5yj.mjs.map +1 -0
- package/fesm2022/{acorex-connectivity-mock-get-product-pdf-data.query-Co1V52c4.mjs → acorex-connectivity-mock-get-product-pdf-data.query-Cp65_mpB.mjs} +2 -2
- package/fesm2022/{acorex-connectivity-mock-get-product-pdf-data.query-Co1V52c4.mjs.map → acorex-connectivity-mock-get-product-pdf-data.query-Cp65_mpB.mjs.map} +1 -1
- package/fesm2022/{acorex-connectivity-mock-get-subscriptions-chart-data.query-BQT5a_hn.mjs → acorex-connectivity-mock-get-subscriptions-chart-data.query-CkQnH-F_.mjs} +2 -2
- package/fesm2022/{acorex-connectivity-mock-get-subscriptions-chart-data.query-BQT5a_hn.mjs.map → acorex-connectivity-mock-get-subscriptions-chart-data.query-CkQnH-F_.mjs.map} +1 -1
- package/fesm2022/{acorex-connectivity-mock-get-subscriptions-timeline.query-D4qfDfeV.mjs → acorex-connectivity-mock-get-subscriptions-timeline.query-C_ecGCyk.mjs} +2 -2
- package/fesm2022/acorex-connectivity-mock-get-subscriptions-timeline.query-C_ecGCyk.mjs.map +1 -0
- package/fesm2022/{acorex-connectivity-mock-get-tenant-application-access.query-n1_Azada.mjs → acorex-connectivity-mock-get-tenant-application-access.query-t4BHU8qk.mjs} +2 -2
- package/fesm2022/acorex-connectivity-mock-get-tenant-application-access.query-t4BHU8qk.mjs.map +1 -0
- package/fesm2022/{acorex-connectivity-mock-get-tenant-registration-chart-data.query-Cg4ykZU2.mjs → acorex-connectivity-mock-get-tenant-registration-chart-data.query-CgMZxfzh.mjs} +2 -2
- package/fesm2022/{acorex-connectivity-mock-get-tenant-registration-chart-data.query-Cg4ykZU2.mjs.map → acorex-connectivity-mock-get-tenant-registration-chart-data.query-CgMZxfzh.mjs.map} +1 -1
- package/fesm2022/{acorex-connectivity-mock-get-tenant-registration-timeline.query-0sCBtdbp.mjs → acorex-connectivity-mock-get-tenant-registration-timeline.query-COmTsDCV.mjs} +2 -2
- package/fesm2022/acorex-connectivity-mock-get-tenant-registration-timeline.query-COmTsDCV.mjs.map +1 -0
- package/fesm2022/{acorex-connectivity-mock-get-tenant-user-distribution.query-rD811gtM.mjs → acorex-connectivity-mock-get-tenant-user-distribution.query-jQAsUf_h.mjs} +2 -2
- package/fesm2022/acorex-connectivity-mock-get-tenant-user-distribution.query-jQAsUf_h.mjs.map +1 -0
- package/fesm2022/acorex-connectivity-mock-report-summary.util-CGOhHIZr.mjs +56 -0
- package/fesm2022/acorex-connectivity-mock-report-summary.util-CGOhHIZr.mjs.map +1 -0
- package/fesm2022/{acorex-connectivity-mock-user-roles-for-list-column.query-CoH1CYkf.mjs → acorex-connectivity-mock-user-roles-for-list-column.query-B-R4X8Ft.mjs} +2 -2
- package/fesm2022/{acorex-connectivity-mock-user-roles-for-list-column.query-CoH1CYkf.mjs.map → acorex-connectivity-mock-user-roles-for-list-column.query-B-R4X8Ft.mjs.map} +1 -1
- package/fesm2022/acorex-connectivity-mock.mjs +1 -1
- package/package.json +2 -2
- package/types/acorex-connectivity-api.d.ts +1 -0
- package/types/acorex-connectivity-mock.d.ts +11 -3
- package/fesm2022/acorex-connectivity-api-execute.command-CiBl7z_H.mjs.map +0 -1
- package/fesm2022/acorex-connectivity-mock-acorex-connectivity-mock-ChTgoKCp.mjs.map +0 -1
- package/fesm2022/acorex-connectivity-mock-category-metadata-inheritance.query-CWRL1dTa.mjs.map +0 -1
- package/fesm2022/acorex-connectivity-mock-category-with-items.query-Cj6FWu7S.mjs.map +0 -1
- package/fesm2022/acorex-connectivity-mock-distribution-record.activity-DuNluOzA.mjs.map +0 -1
- package/fesm2022/acorex-connectivity-mock-get-employee-list.query-DifHwuqH.mjs.map +0 -1
- package/fesm2022/acorex-connectivity-mock-get-location-list.query-bMjkZnzq.mjs.map +0 -1
- package/fesm2022/acorex-connectivity-mock-get-product-list.query-f-mTj4ah.mjs.map +0 -1
- package/fesm2022/acorex-connectivity-mock-get-subscriptions-timeline.query-D4qfDfeV.mjs.map +0 -1
- package/fesm2022/acorex-connectivity-mock-get-tenant-application-access.query-n1_Azada.mjs.map +0 -1
- package/fesm2022/acorex-connectivity-mock-get-tenant-registration-timeline.query-0sCBtdbp.mjs.map +0 -1
- package/fesm2022/acorex-connectivity-mock-get-tenant-user-distribution.query-rD811gtM.mjs.map +0 -1
|
@@ -15,7 +15,7 @@ class AXCReportExecuteCommand {
|
|
|
15
15
|
//#region ---- Command Implementation ----
|
|
16
16
|
async execute(context) {
|
|
17
17
|
try {
|
|
18
|
-
const { reportId, layoutId, filters: parameters } = context;
|
|
18
|
+
const { reportId, layoutId, filters: parameters, skip, take, sort } = context;
|
|
19
19
|
// Get the report definition to find the layout
|
|
20
20
|
const reportDefinition = await this.reportDefinitionService.getReportById(reportId);
|
|
21
21
|
if (!reportDefinition) {
|
|
@@ -30,7 +30,16 @@ class AXCReportExecuteCommand {
|
|
|
30
30
|
const url = `${this.baseUrl}/v1/global/Report-Management/report/Execute`;
|
|
31
31
|
const body = {
|
|
32
32
|
reportId,
|
|
33
|
-
parameters
|
|
33
|
+
parameters: {
|
|
34
|
+
...parameters,
|
|
35
|
+
...(skip !== undefined ? { skip } : {}),
|
|
36
|
+
...(take !== undefined ? { take } : {}),
|
|
37
|
+
...(sort?.length
|
|
38
|
+
? {
|
|
39
|
+
sort: sort.map((s) => ({ name: s.name, dir: s.dir })),
|
|
40
|
+
}
|
|
41
|
+
: {}),
|
|
42
|
+
},
|
|
34
43
|
};
|
|
35
44
|
const executeResult = await firstValueFrom(this.http.post(url, body));
|
|
36
45
|
// Convert ExecuteReportDto to AXPExecutionReportResult format
|
|
@@ -40,6 +49,7 @@ class AXCReportExecuteCommand {
|
|
|
40
49
|
type: 'table',
|
|
41
50
|
items: executeResult.items,
|
|
42
51
|
total: executeResult.totalCount,
|
|
52
|
+
summary: executeResult.summary,
|
|
43
53
|
};
|
|
44
54
|
}
|
|
45
55
|
else if (executeResult.type === 'chart') {
|
|
@@ -92,4 +102,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
92
102
|
}] });
|
|
93
103
|
|
|
94
104
|
export { AXCReportExecuteCommand };
|
|
95
|
-
//# sourceMappingURL=acorex-connectivity-api-execute.command-
|
|
105
|
+
//# sourceMappingURL=acorex-connectivity-api-execute.command-CjCFEav4.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-connectivity-api-execute.command-CjCFEav4.mjs","sources":["../../../../libs/connectivity/api/src/lib/report-management/execute.command.ts"],"sourcesContent":["import {\n AXPExecutionReportCommand,\n AXPExecutionReportCommandResult,\n AXPExecutionReportResult,\n AXPLayoutExecutionContext,\n AXPReportViewerService,\n AXPReportLayoutDefinition,\n} 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 { AXPExecuteReportDto } from './report-management-api.providers';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class AXCReportExecuteCommand implements AXPExecutionReportCommand {\n private readonly http = inject(HttpClient);\n private readonly reportDefinitionService = inject(AXPReportViewerService);\n private readonly configs = inject(AXP_ROOT_CONFIG_TOKEN);\n private readonly baseUrl = this.configs.baseUrl;\n\n //#region ---- Command Implementation ----\n\n async execute(context: AXPLayoutExecutionContext) {\n try {\n const { reportId, layoutId, filters: parameters, skip, take, sort } = context;\n\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\n // Find the specific layout\n const layoutDefinition = reportDefinition.layouts.find((l: AXPReportLayoutDefinition) => l.id === layoutId);\n if (!layoutDefinition) {\n throw new Error(`Layout with ID ${layoutId} not found in report ${reportId}`);\n }\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 ...parameters,\n ...(skip !== undefined ? { skip } : {}),\n ...(take !== undefined ? { take } : {}),\n ...(sort?.length\n ? {\n sort: sort.map((s) => ({ name: s.name, dir: s.dir })),\n }\n : {}),\n },\n };\n\n const executeResult: AXPExecuteReportDto = await firstValueFrom(this.http.post<AXPExecuteReportDto>(url, body));\n\n // Convert ExecuteReportDto to AXPExecutionReportResult format\n let executionResult: AXPExecutionReportResult;\n\n if (executeResult.type === 'table') {\n executionResult = {\n type: 'table',\n items: executeResult.items,\n total: executeResult.totalCount,\n summary: (executeResult as { summary?: Record<string, number | null> }).summary,\n };\n } else if (executeResult.type === 'chart') {\n executionResult = {\n type: 'chart',\n data: executeResult.items[0] || {},\n };\n } else if (executeResult.type === 'cards') {\n executionResult = {\n type: 'cards',\n items: executeResult.items,\n };\n } else {\n executionResult = {\n type: 'custom',\n data: executeResult.items,\n };\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 } 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' as const,\n text: `Failed to execute report: ${errorMessage}`,\n },\n };\n }\n }\n\n //#endregion\n}\n"],"names":[],"mappings":";;;;;;;MAiBa,uBAAuB,CAAA;AAHpC,IAAA,WAAA,GAAA;AAImB,QAAA,IAAA,CAAA,IAAI,GAAG,MAAM,CAAC,UAAU,CAAC;AACzB,QAAA,IAAA,CAAA,uBAAuB,GAAG,MAAM,CAAC,sBAAsB,CAAC;AACxD,QAAA,IAAA,CAAA,OAAO,GAAG,MAAM,CAAC,qBAAqB,CAAC;AACvC,QAAA,IAAA,CAAA,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,OAAO;AAuFhD,IAAA;;IAnFC,MAAM,OAAO,CAAC,OAAkC,EAAA;AAC9C,QAAA,IAAI;AACF,YAAA,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,OAAO;;YAG7E,MAAM,gBAAgB,GAAG,MAAM,IAAI,CAAC,uBAAuB,CAAC,aAAa,CAAC,QAAQ,CAAC;YACnF,IAAI,CAAC,g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AA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,uBAAuB,cAFtB,MAAM,EAAA,CAAA,CAAA;;2FAEP,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBAHnC,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,UAAU,EAAE,MAAM;AACnB,iBAAA;;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AXP_ROOT_CONFIG_TOKEN, AXPFilterOperatorMiddlewareService, AXPFileStorageService, AXPFileStorageStatus } from '@acorex/platform/common';
|
|
2
|
-
import { computeEntityAggregates, AXPEntityStorageService } from '@acorex/platform/layout/entity';
|
|
2
|
+
import { computeEntityAggregates, AXPEntityService, AXPEntityStorageService } from '@acorex/platform/layout/entity';
|
|
3
3
|
import * as i1 from '@angular/common/http';
|
|
4
4
|
import { HttpParams, HttpClient, HttpHeaders } from '@angular/common/http';
|
|
5
5
|
import * as i0 from '@angular/core';
|
|
@@ -14,7 +14,7 @@ import * as i1$1 from 'angular-oauth2-oidc';
|
|
|
14
14
|
import { OAuthService, OAuthModule } from 'angular-oauth2-oidc';
|
|
15
15
|
import { AXM_AUTH_CONFIG_TOKEN } from '@acorex/modules/auth';
|
|
16
16
|
import { Router } from '@angular/router';
|
|
17
|
-
import {
|
|
17
|
+
import { RootConfig } 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';
|
|
@@ -916,7 +916,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
916
916
|
|
|
917
917
|
class AXCApiUserAvatarProvider {
|
|
918
918
|
constructor() {
|
|
919
|
-
this.
|
|
919
|
+
this.entityService = inject(AXPEntityService);
|
|
920
|
+
this.userService = this.entityService.withEntity(RootConfig.module.name, RootConfig.entities.users.name).data();
|
|
920
921
|
this.sessionService = inject(AXPSessionService);
|
|
921
922
|
}
|
|
922
923
|
async provide(userId) {
|
|
@@ -936,7 +937,7 @@ class AXCApiUserAvatarProvider {
|
|
|
936
937
|
};
|
|
937
938
|
}
|
|
938
939
|
// Use entity service for other users
|
|
939
|
-
const user = await this.userService.
|
|
940
|
+
const user = await this.userService.byKey(userId);
|
|
940
941
|
if (!user) {
|
|
941
942
|
throw new Error(`User not found for ${userId}`);
|
|
942
943
|
}
|
|
@@ -1127,7 +1128,7 @@ class AXCReportManagementApiModule {
|
|
|
1127
1128
|
provideCommandSetups([
|
|
1128
1129
|
{
|
|
1129
1130
|
key: 'ReportManagement.Report:Execute',
|
|
1130
|
-
command: () => import('./acorex-connectivity-api-execute.command-
|
|
1131
|
+
command: () => import('./acorex-connectivity-api-execute.command-CjCFEav4.mjs').then((c) => c.AXCReportExecuteCommand),
|
|
1131
1132
|
}
|
|
1132
1133
|
]),
|
|
1133
1134
|
], imports: [AXPRuntimeModule] }); }
|
|
@@ -1146,7 +1147,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
1146
1147
|
provideCommandSetups([
|
|
1147
1148
|
{
|
|
1148
1149
|
key: 'ReportManagement.Report:Execute',
|
|
1149
|
-
command: () => import('./acorex-connectivity-api-execute.command-
|
|
1150
|
+
command: () => import('./acorex-connectivity-api-execute.command-CjCFEav4.mjs').then((c) => c.AXCReportExecuteCommand),
|
|
1150
1151
|
}
|
|
1151
1152
|
]),
|
|
1152
1153
|
],
|