@acorex/connectivity 20.0.21 → 20.0.22
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/mock/index.d.ts
CHANGED
@@ -1,11 +1,12 @@
|
|
1
1
|
import Dexie from 'dexie';
|
2
2
|
import { AXPQueryRequest, AXPPagedListResult, AXPAppStartUpService } from '@acorex/platform/core';
|
3
3
|
import { AXPEntityStorageService, AXPEntityDefinitionRegistryService, AXPDataSeeder } from '@acorex/platform/layout/entity';
|
4
|
-
import * as i1 from '@acorex/platform/auth';
|
4
|
+
import * as i1$1 from '@acorex/platform/auth';
|
5
5
|
import { AXPSessionService, AXPBaseCredentials, AXPAuthStrategy, AXPSignInResult, AXPSessionContext, AXPRefreshTokenResult } from '@acorex/platform/auth';
|
6
6
|
import { AXPLockService, AXPFileStorageService, AXPFileStorageCreateRequest, AXPFileStorageInfo, AXPFileStorageUpdateRequest, AXPFileStorageFindRequest, AXPLockRequest, AXPLockInfo, AXPUnLockRequest, AXPLockGetInfoRequest, AXPReportCategory, AXPReportDefinition } from '@acorex/platform/common';
|
7
7
|
import * as i0 from '@angular/core';
|
8
8
|
import { Injector } from '@angular/core';
|
9
|
+
import * as i1 from '@acorex/platform/runtime';
|
9
10
|
import { AXMCommonDashboardEntityModel } from '@acorex/modules/dashboard-management';
|
10
11
|
import { AXMTextTemplateManagementTemplateEntityModel } from '@acorex/modules/text-template-management';
|
11
12
|
import { AXPWidgetDataSourceProvider, AXPWidgetDataSource } from '@acorex/platform/layout/builder';
|
@@ -51,7 +52,7 @@ declare class AXCFOrganizationManagementMockModule {
|
|
51
52
|
|
52
53
|
declare class AXCReportManagementMockModule {
|
53
54
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXCReportManagementMockModule, never>;
|
54
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCReportManagementMockModule, never,
|
55
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCReportManagementMockModule, never, [typeof i1.AXPRuntimeModule], never>;
|
55
56
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXCReportManagementMockModule>;
|
56
57
|
}
|
57
58
|
|
@@ -160,7 +161,7 @@ declare class AXCDataManagementMockModule {
|
|
160
161
|
declare class AXCMockModule {
|
161
162
|
constructor(appInitService: AXPAppStartUpService, injector: Injector);
|
162
163
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXCMockModule, never>;
|
163
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCMockModule, never, [typeof i1.AXPAuthModule, typeof AXCCommonMockModule, typeof AXCFormTemplateManagementMockModule, typeof AXCFOrganizationManagementMockModule, typeof AXCReportManagementMockModule, typeof AXCContactManagementMockModule, typeof AXCDashboardManagementMockModule, typeof AXCConversationMockModule, typeof AXCAuthMockModule, typeof AXCPlatformManagementMockModule, typeof AXCTextTemplateManagementMockModule, typeof AXCSecurityManagementMockModule, typeof AXCSchedulerJobManagementMockModule, typeof AXCNotificationManagementMockModule, typeof AXCApplicationManagementMockModule, typeof AXCTrainingManagementMockModule, typeof AXCProjectManagementMockModule, typeof AXCDocumentManagementMockModule, typeof AXCIssueManagementMockModule, typeof AXCLogManagementMockModule, typeof AXMCalendarManagementMockModule, typeof AXCDataManagementMockModule], never>;
|
164
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCMockModule, never, [typeof i1$1.AXPAuthModule, typeof AXCCommonMockModule, typeof AXCFormTemplateManagementMockModule, typeof AXCFOrganizationManagementMockModule, typeof AXCReportManagementMockModule, typeof AXCContactManagementMockModule, typeof AXCDashboardManagementMockModule, typeof AXCConversationMockModule, typeof AXCAuthMockModule, typeof AXCPlatformManagementMockModule, typeof AXCTextTemplateManagementMockModule, typeof AXCSecurityManagementMockModule, typeof AXCSchedulerJobManagementMockModule, typeof AXCNotificationManagementMockModule, typeof AXCApplicationManagementMockModule, typeof AXCTrainingManagementMockModule, typeof AXCProjectManagementMockModule, typeof AXCDocumentManagementMockModule, typeof AXCIssueManagementMockModule, typeof AXCLogManagementMockModule, typeof AXMCalendarManagementMockModule, typeof AXCDataManagementMockModule], never>;
|
164
165
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXCMockModule>;
|
165
166
|
}
|
166
167
|
|
@@ -394,6 +395,33 @@ declare class AXPReportManagementDataSeeder implements AXPDataSeeder {
|
|
394
395
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXPReportManagementDataSeeder>;
|
395
396
|
}
|
396
397
|
|
398
|
+
interface AXMReportExecuteCommandInput {
|
399
|
+
reportId: string;
|
400
|
+
parameters: Record<string, any>;
|
401
|
+
page?: number;
|
402
|
+
pageSize?: number;
|
403
|
+
}
|
404
|
+
interface AXMReportExecuteCommandOutput {
|
405
|
+
data: any[];
|
406
|
+
total: number;
|
407
|
+
page: number;
|
408
|
+
pageSize: number;
|
409
|
+
}
|
410
|
+
declare class AXMReportExecuteCommand {
|
411
|
+
private readonly queryService;
|
412
|
+
execute(input: AXMReportExecuteCommandInput): Promise<AXMReportExecuteCommandOutput>;
|
413
|
+
private generateMockDataForReport;
|
414
|
+
private generateFinancialData;
|
415
|
+
private generateIncomeData;
|
416
|
+
private generateEmployeeData;
|
417
|
+
private generateSalesData;
|
418
|
+
private generateSafetyData;
|
419
|
+
private generateGenericData;
|
420
|
+
private getRandomPastDate;
|
421
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXMReportExecuteCommand, never>;
|
422
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXMReportExecuteCommand>;
|
423
|
+
}
|
424
|
+
|
397
425
|
declare class AXCSchedulerJobDataSeeder implements AXPDataSeeder {
|
398
426
|
private storageService;
|
399
427
|
seed(): Promise<void>;
|
@@ -441,5 +469,5 @@ declare class AXPSecurityManagementUserDataSeeder implements AXPDataSeeder {
|
|
441
469
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXPSecurityManagementUserDataSeeder>;
|
442
470
|
}
|
443
471
|
|
444
|
-
export { APPLICATIONS, APPLICATIONS_MODULES, AXCAppTermDataSeeder, AXCAppVersionDataSeeder, AXCApplicationManagementMockModule, AXCApplicationTemplateDataSeeder, AXCAuthMockModule, AXCCommonMockModule, AXCContactManagementMockModule, AXCConversationMockModule, AXCDashboardManagementMockModule, AXCDataManagementMockModule, AXCDocumentManagementMockModule, AXCFOrganizationManagementMockModule, AXCFileStorageService, AXCFormTemplateManagementMockModule, AXCGlobalVariablesDataSeeder, AXCIssueManagementMockModule, AXCLockService, AXCLogManagementMockModule, AXCMetaDataDefinitionDataSeeder, AXCMockModule, AXCNotificationManagementMockModule, AXCPlatformManagementMockModule, AXCProjectManagementMockModule, AXCReportManagementMockModule, AXCSchedulerJobDataSeeder, AXCSchedulerJobManagementMockModule, AXCSecurityManagementMockModule, AXCTextTemplateCategoryDataSeeder, AXCTextTemplateDataSeeder, AXCTextTemplateManagementMockModule, AXCTrainingManagementMockModule, AXMAiResponderService, AXPDashboardDataSeeder, AXPDexieEntityStorageService, AXPMessageDataSeeder, AXPReportManagementDataSeeder, AXPRoomDataSeeder, AXPSecurityManagementMockWidgetDataSourceProvider, AXPSecurityManagementRoleDataSeeder, AXPSecurityManagementUserDataSeeder, CATEGORY_REPORT_MAPPING, DASHBOARDS, EDITIONS, ENTITIES, FEATURES, GLOBAL_VARIABLES, MOCKStrategy, MODULES, PERMISSIONS, PROPERTIES, REPORT_CATEGORIES, REPORT_DEFINITIONS, TEXT_TEMPLATES, TEXT_TEMPLATE_CATEGORY, generateRandomDashboard };
|
445
|
-
export type { MockUserPassCredentials };
|
472
|
+
export { APPLICATIONS, APPLICATIONS_MODULES, AXCAppTermDataSeeder, AXCAppVersionDataSeeder, AXCApplicationManagementMockModule, AXCApplicationTemplateDataSeeder, AXCAuthMockModule, AXCCommonMockModule, AXCContactManagementMockModule, AXCConversationMockModule, AXCDashboardManagementMockModule, AXCDataManagementMockModule, AXCDocumentManagementMockModule, AXCFOrganizationManagementMockModule, AXCFileStorageService, AXCFormTemplateManagementMockModule, AXCGlobalVariablesDataSeeder, AXCIssueManagementMockModule, AXCLockService, AXCLogManagementMockModule, AXCMetaDataDefinitionDataSeeder, AXCMockModule, AXCNotificationManagementMockModule, AXCPlatformManagementMockModule, AXCProjectManagementMockModule, AXCReportManagementMockModule, AXCSchedulerJobDataSeeder, AXCSchedulerJobManagementMockModule, AXCSecurityManagementMockModule, AXCTextTemplateCategoryDataSeeder, AXCTextTemplateDataSeeder, AXCTextTemplateManagementMockModule, AXCTrainingManagementMockModule, AXMAiResponderService, AXMReportExecuteCommand, AXPDashboardDataSeeder, AXPDexieEntityStorageService, AXPMessageDataSeeder, AXPReportManagementDataSeeder, AXPRoomDataSeeder, AXPSecurityManagementMockWidgetDataSourceProvider, AXPSecurityManagementRoleDataSeeder, AXPSecurityManagementUserDataSeeder, CATEGORY_REPORT_MAPPING, DASHBOARDS, EDITIONS, ENTITIES, FEATURES, GLOBAL_VARIABLES, MOCKStrategy, MODULES, PERMISSIONS, PROPERTIES, REPORT_CATEGORIES, REPORT_DEFINITIONS, TEXT_TEMPLATES, TEXT_TEMPLATE_CATEGORY, generateRandomDashboard };
|
473
|
+
export type { AXMReportExecuteCommandInput, AXMReportExecuteCommandOutput, MockUserPassCredentials };
|