@acorex/connectivity 20.6.0 → 21.0.0-next.1
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 +5 -6
- package/fesm2022/{acorex-connectivity-api-execute.command-CQt_HF1B.mjs → acorex-connectivity-api-execute.command-SGNBLcOi.mjs} +2 -2
- package/fesm2022/acorex-connectivity-api-execute.command-SGNBLcOi.mjs.map +1 -0
- package/fesm2022/acorex-connectivity-api.mjs +29 -23
- package/fesm2022/acorex-connectivity-api.mjs.map +1 -1
- package/fesm2022/acorex-connectivity-mock.mjs +13215 -10596
- package/fesm2022/acorex-connectivity-mock.mjs.map +1 -1
- package/mock/index.d.ts +512 -1475
- package/package.json +2 -2
- package/fesm2022/acorex-connectivity-api-execute.command-CQt_HF1B.mjs.map +0 -1
package/mock/index.d.ts
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { AXPAppStartUpService, AXPQueryRequest, AXPPagedListResult, AXPCategorizedEntityDto, AXPCategoryEntity, AXPExecuteCommand, AXPExecuteCommandResult, AXPActionMenuItem, AXPDataSourceDefinitionProvider, AXPDataSourceDefinition, AXPFileListItem, AXPDistributedEventListenerProvider } from '@acorex/platform/core';
|
|
1
|
+
import { AXPAppStartUpService, AXPQueryRequest, AXPPagedListResult, AXPModuleAccessControlService, AXPModuleAccessContext, AXPCategorizedEntityDto, AXPCategoryEntity, AXPExecuteCommand, AXPExecuteCommandResult, AXPActionMenuItem, AXPDataSourceDefinitionProvider, AXPDataSourceDefinition, AXPFileListItem, AXPDistributedEventListenerProvider } from '@acorex/platform/core';
|
|
3
2
|
import * as i0 from '@angular/core';
|
|
4
3
|
import { Injector } from '@angular/core';
|
|
5
4
|
import * as _acorex_platform_auth from '@acorex/platform/auth';
|
|
6
|
-
import { AXPBaseCredentials, AXPAuthStrategy, AXPSignInResult, AXPSessionContext
|
|
5
|
+
import { AXPBaseCredentials, AXPAuthStrategy, AXPSignInResult, AXPSessionContext } from '@acorex/platform/auth';
|
|
7
6
|
import * as i1 from '@acorex/platform/runtime';
|
|
8
7
|
import { AXPQuery, AXPCommand } from '@acorex/platform/runtime';
|
|
9
8
|
import { Router } from '@angular/router';
|
|
10
9
|
import { AXMAuthConfigs } from '@acorex/modules/auth';
|
|
11
10
|
import { AXPEntityStorageService, AXPDataSeeder, AXPEntityStorageMiddleware } from '@acorex/platform/layout/entity';
|
|
12
11
|
import Dexie, { Table } from 'dexie';
|
|
13
|
-
import { AXMApplicationManagementApplicationEntityModel, AXMApplicationManagementEditionEntityModel
|
|
14
|
-
import
|
|
15
|
-
import {
|
|
12
|
+
import { AXMApplicationManagementApplicationEntityModel, AXMApplicationManagementEditionEntityModel } from '@acorex/modules/application-management';
|
|
13
|
+
import { AXMTenantManagementTenantEntityModel } from '@acorex/modules/tenant-management';
|
|
14
|
+
import { AXMSecurityManagementRolesEntityModel, AXMSecurityManagementUsersEntityModel } from '@acorex/modules/security-management';
|
|
15
|
+
import { AXPSpreadsheetData } from '@acorex/platform/layout/components';
|
|
16
|
+
import * as _acorex_platform_common from '@acorex/platform/common';
|
|
17
|
+
import { AXPLockService, AXPLockRequest, AXPLockInfo, AXPUnLockRequest, AXPLockGetInfoRequest, AXPFileStorageService, AXPFileStorageCreateRequest, AXPFileStorageInfo, AXPFileStorageUpdateRequest, AXPFileStorageFindRequest, AXPFileManyStorageInfo, CanonicalChange as CanonicalChange$1, AXPVersioningService, AXPVersionEntry as AXPVersionEntry$1, AXVChangeType as AXVChangeType$1 } from '@acorex/platform/common';
|
|
16
18
|
import { AXMWorkflowManagementWorkflowDefinitionEntityModel } from '@acorex/modules/workflow-management';
|
|
17
19
|
import { AXPWorkflowTaskProvider, AXPTaskFilter, AXPTask, AXPExtraField, AXPTaskStatus } from '@acorex/modules/task-management';
|
|
18
20
|
import { AXMCommonDashboardEntityModel } from '@acorex/modules/dashboard-management';
|
|
21
|
+
import { AXPExecutionReportCommand, AXPLayoutExecutionContext, AXPExecutionReportCommandResult } from '@acorex/modules/report-management';
|
|
19
22
|
import * as _acorex_modules_calendar_management from '@acorex/modules/calendar-management';
|
|
20
23
|
import { AXMCalendarManagementCalendarEventTypeEntityModel } from '@acorex/modules/calendar-management';
|
|
21
|
-
import { AXMLocationManagementLocationEntityModel } from '@acorex/modules/location-management';
|
|
22
|
-
import { AXPLockService, AXPLockRequest, AXPLockInfo, AXPUnLockRequest, AXPLockGetInfoRequest, AXPFileStorageService, AXPFileStorageCreateRequest, AXPFileStorageInfo, AXPFileStorageUpdateRequest, AXPFileStorageFindRequest, AXPFileManyStorageInfo, CanonicalChange as CanonicalChange$1, AXPVersioningService, AXPVersionEntry as AXPVersionEntry$1, AXVChangeType as AXVChangeType$1 } from '@acorex/platform/common';
|
|
23
24
|
import { AXPWorkflowInstance, AXPWorkflowExecutionService, AXPStartWorkflowExecutionRequest, AXPStartWorkflowExecutionResponse, AXPResumeWorkflowExecutionRequest, AXPResumeWorkflowExecutionResponse, AXPGetWorkflowExecutionStateRequest, AXPWorkflowExecutionState, AXPGetWorkflowDefinitionRequest, AXPGetWorkflowDefinitionResponse, AXPWorkflowDefinition } from '@acorex/platform/workflow';
|
|
24
25
|
import { AXPWidgetNode } from '@acorex/platform/layout/widget-core';
|
|
25
|
-
import { AXMSystemInsightAuditLogEntityModel } from '@acorex/modules/system-insight';
|
|
26
26
|
import { AXPIdentifierRule, AXPClockProvider, AXPChecksumProvider, AXPPolicyProvider, AXPLookupProvider, AXPSequenceProvider, AXPIdentifierService, AXPIdentifierRequest, AXPIdentifierResult, AXPIdentifierPeekResult } from '@acorex/modules/identifier-management';
|
|
27
27
|
|
|
28
28
|
declare class AXCCommonMockModule {
|
|
@@ -55,6 +55,30 @@ declare class AXCCustomerManagementMockModule {
|
|
|
55
55
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXCCustomerManagementMockModule>;
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
+
declare class AXCSupplierManagementMockModule {
|
|
59
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXCSupplierManagementMockModule, never>;
|
|
60
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCSupplierManagementMockModule, never, never, never>;
|
|
61
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AXCSupplierManagementMockModule>;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
declare class AXCProcurementManagementMockModule {
|
|
65
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXCProcurementManagementMockModule, never>;
|
|
66
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCProcurementManagementMockModule, never, never, never>;
|
|
67
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AXCProcurementManagementMockModule>;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
declare class AXCOrderManagementMockModule {
|
|
71
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXCOrderManagementMockModule, never>;
|
|
72
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCOrderManagementMockModule, never, never, never>;
|
|
73
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AXCOrderManagementMockModule>;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
declare class AXCSubscriptionManagementMockModule {
|
|
77
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXCSubscriptionManagementMockModule, never>;
|
|
78
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCSubscriptionManagementMockModule, never, never, never>;
|
|
79
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AXCSubscriptionManagementMockModule>;
|
|
80
|
+
}
|
|
81
|
+
|
|
58
82
|
declare class AXCContactManagementMockModule {
|
|
59
83
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXCContactManagementMockModule, never>;
|
|
60
84
|
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCContactManagementMockModule, never, never, never>;
|
|
@@ -121,6 +145,12 @@ declare class AXCApplicationManagementMockModule {
|
|
|
121
145
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXCApplicationManagementMockModule>;
|
|
122
146
|
}
|
|
123
147
|
|
|
148
|
+
declare class AXCTenantManagementMockModule {
|
|
149
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXCTenantManagementMockModule, never>;
|
|
150
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCTenantManagementMockModule, never, never, never>;
|
|
151
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AXCTenantManagementMockModule>;
|
|
152
|
+
}
|
|
153
|
+
|
|
124
154
|
declare class AXCLearningManagementMockModule {
|
|
125
155
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXCLearningManagementMockModule, never>;
|
|
126
156
|
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCLearningManagementMockModule, never, never, never>;
|
|
@@ -151,12 +181,6 @@ declare class AXCHelpDeskMockModule {
|
|
|
151
181
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXCHelpDeskMockModule>;
|
|
152
182
|
}
|
|
153
183
|
|
|
154
|
-
declare class AXCSystemInsightMockModule {
|
|
155
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXCSystemInsightMockModule, never>;
|
|
156
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCSystemInsightMockModule, never, never, never>;
|
|
157
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<AXCSystemInsightMockModule>;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
184
|
declare class AXCCalendarManagementMockModule {
|
|
161
185
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXCCalendarManagementMockModule, never>;
|
|
162
186
|
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCCalendarManagementMockModule, never, never, never>;
|
|
@@ -169,12 +193,6 @@ declare class AXCDataManagementMockModule {
|
|
|
169
193
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXCDataManagementMockModule>;
|
|
170
194
|
}
|
|
171
195
|
|
|
172
|
-
declare class AXCWorkflowManagementMockModule {
|
|
173
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXCWorkflowManagementMockModule, never>;
|
|
174
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCWorkflowManagementMockModule, never, never, never>;
|
|
175
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<AXCWorkflowManagementMockModule>;
|
|
176
|
-
}
|
|
177
|
-
|
|
178
196
|
declare class AXCNotificationManagementMockModule {
|
|
179
197
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXCNotificationManagementMockModule, never>;
|
|
180
198
|
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCNotificationManagementMockModule, never, never, never>;
|
|
@@ -187,10 +205,10 @@ declare class AXCTaskManagementMockModule {
|
|
|
187
205
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXCTaskManagementMockModule>;
|
|
188
206
|
}
|
|
189
207
|
|
|
190
|
-
declare class
|
|
191
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
192
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<
|
|
193
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<
|
|
208
|
+
declare class AXCPersonManagementMockModule {
|
|
209
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXCPersonManagementMockModule, never>;
|
|
210
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCPersonManagementMockModule, never, never, never>;
|
|
211
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AXCPersonManagementMockModule>;
|
|
194
212
|
}
|
|
195
213
|
|
|
196
214
|
declare class AXCContentManagementMockModule {
|
|
@@ -244,7 +262,7 @@ declare class AXCMiddlewaresModule {
|
|
|
244
262
|
declare class AXCMockModule {
|
|
245
263
|
constructor(appInitService: AXPAppStartUpService, injector: Injector);
|
|
246
264
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXCMockModule, never>;
|
|
247
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCMockModule, never, [typeof _acorex_platform_auth.AXPAuthModule, typeof AXCCommonMockModule, typeof AXCIdentifierManagementMockModule, typeof AXCSecurityManagementMockModule, typeof AXCFormTemplateManagementMockModule, typeof AXCCustomerManagementMockModule, typeof AXCContactManagementMockModule, typeof AXCLocationManagementMockModule, typeof AXCOrganizationManagementMockModule, typeof AXCHumanCapitalManagementMockModule, typeof AXCReportManagementMockModule, typeof AXCLocaleManagementMockModule, typeof AXCDashboardManagementMockModule, typeof AXCConversationMockModule, typeof AXCAuthMockModule, typeof AXCPlatformManagementMockModule, typeof AXCApplicationManagementMockModule, typeof AXCLearningManagementMockModule, typeof AXCAssetManagementMockModule, typeof AXCProjectManagementMockModule, typeof AXCDocumentManagementMockModule, typeof AXCHelpDeskMockModule, typeof
|
|
265
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCMockModule, never, [typeof _acorex_platform_auth.AXPAuthModule, typeof AXCCommonMockModule, typeof AXCIdentifierManagementMockModule, typeof AXCSecurityManagementMockModule, typeof AXCFormTemplateManagementMockModule, typeof AXCCustomerManagementMockModule, typeof AXCSupplierManagementMockModule, typeof AXCProcurementManagementMockModule, typeof AXCOrderManagementMockModule, typeof AXCSubscriptionManagementMockModule, typeof AXCContactManagementMockModule, typeof AXCLocationManagementMockModule, typeof AXCOrganizationManagementMockModule, typeof AXCHumanCapitalManagementMockModule, typeof AXCReportManagementMockModule, typeof AXCLocaleManagementMockModule, typeof AXCDashboardManagementMockModule, typeof AXCConversationMockModule, typeof AXCAuthMockModule, typeof AXCPlatformManagementMockModule, typeof AXCApplicationManagementMockModule, typeof AXCTenantManagementMockModule, typeof AXCLearningManagementMockModule, typeof AXCAssetManagementMockModule, typeof AXCProjectManagementMockModule, typeof AXCDocumentManagementMockModule, typeof AXCHelpDeskMockModule, typeof AXCCalendarManagementMockModule, typeof AXCDataManagementMockModule, typeof AXCNotificationManagementMockModule, typeof AXCTaskManagementMockModule, typeof AXCPersonManagementMockModule, typeof AXCContentManagementMockModule, typeof AXCMeetingManagementMockModule, typeof AXCSettingsManagementMockModule, typeof AXCAssessmentManagementMockModule, typeof AXCFinancialCoreMockModule, typeof AXCMeasurementCoreMockModule, typeof AXCProductCatalogMockModule, typeof AXCMiddlewaresModule], never>;
|
|
248
266
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXCMockModule>;
|
|
249
267
|
}
|
|
250
268
|
|
|
@@ -347,6 +365,17 @@ declare class AXCDexieEntityStorageService extends Dexie implements AXPEntitySto
|
|
|
347
365
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXCDexieEntityStorageService>;
|
|
348
366
|
}
|
|
349
367
|
|
|
368
|
+
/**
|
|
369
|
+
* Mock implementation of module access control service.
|
|
370
|
+
* Checks if module is enabled in edition.modulesAndFeatures.modules.
|
|
371
|
+
* This is the default behavior - modules are accessible if they're in the edition configuration.
|
|
372
|
+
*/
|
|
373
|
+
declare class MockModuleAccessControlService implements AXPModuleAccessControlService {
|
|
374
|
+
checkAccess(moduleName: string, context: AXPModuleAccessContext): boolean;
|
|
375
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MockModuleAccessControlService, never>;
|
|
376
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MockModuleAccessControlService>;
|
|
377
|
+
}
|
|
378
|
+
|
|
350
379
|
declare const APPLICATIONS: AXMApplicationManagementApplicationEntityModel[];
|
|
351
380
|
|
|
352
381
|
declare class AXCApplicationDataSeeder implements AXPDataSeeder {
|
|
@@ -357,6 +386,24 @@ declare class AXCApplicationDataSeeder implements AXPDataSeeder {
|
|
|
357
386
|
}
|
|
358
387
|
|
|
359
388
|
declare const EDITIONS: AXMApplicationManagementEditionEntityModel[];
|
|
389
|
+
declare const SHOP_BASIC: AXMApplicationManagementEditionEntityModel;
|
|
390
|
+
declare const SHOP_PRO: AXMApplicationManagementEditionEntityModel;
|
|
391
|
+
declare const SHOP_ENTERPRISE: AXMApplicationManagementEditionEntityModel;
|
|
392
|
+
declare const FINANCE_BASIC: AXMApplicationManagementEditionEntityModel;
|
|
393
|
+
declare const FINANCE_PRO: AXMApplicationManagementEditionEntityModel;
|
|
394
|
+
declare const FINANCE_ENTERPRISE: AXMApplicationManagementEditionEntityModel;
|
|
395
|
+
declare const ORDERING_BASIC: AXMApplicationManagementEditionEntityModel;
|
|
396
|
+
declare const ORDERING_STANDARD: AXMApplicationManagementEditionEntityModel;
|
|
397
|
+
declare const ORDERING_ENTERPRISE: AXMApplicationManagementEditionEntityModel;
|
|
398
|
+
declare const PLATFORM_CONSOLE: AXMApplicationManagementEditionEntityModel;
|
|
399
|
+
declare const SAFETYMINDER_BASIC: AXMApplicationManagementEditionEntityModel;
|
|
400
|
+
declare const SAFETYMINDER_PROFESSIONAL: AXMApplicationManagementEditionEntityModel;
|
|
401
|
+
declare const SAFETYMINDER_ENTERPRISE: AXMApplicationManagementEditionEntityModel;
|
|
402
|
+
declare const COSTMANAGER_STANDARD: AXMApplicationManagementEditionEntityModel;
|
|
403
|
+
declare const COSTMANAGER_PROFESSIONAL: AXMApplicationManagementEditionEntityModel;
|
|
404
|
+
declare const COSTMANAGER_ENTERPRISE: AXMApplicationManagementEditionEntityModel;
|
|
405
|
+
declare const CRM_ENTERPRISE: AXMApplicationManagementEditionEntityModel;
|
|
406
|
+
declare const HR_ENTERPRISE: AXMApplicationManagementEditionEntityModel;
|
|
360
407
|
|
|
361
408
|
declare class AXCEditionDataSeeder implements AXPDataSeeder {
|
|
362
409
|
private readonly storageService;
|
|
@@ -365,22 +412,19 @@ declare class AXCEditionDataSeeder implements AXPDataSeeder {
|
|
|
365
412
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXCEditionDataSeeder>;
|
|
366
413
|
}
|
|
367
414
|
|
|
368
|
-
declare
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
private readonly storageService;
|
|
415
|
+
declare class AXCAppVersionDataSeeder implements AXPDataSeeder {
|
|
416
|
+
private storageService;
|
|
417
|
+
private appVersionService;
|
|
372
418
|
seed(): Promise<void>;
|
|
373
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
374
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
419
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXCAppVersionDataSeeder, never>;
|
|
420
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXCAppVersionDataSeeder>;
|
|
375
421
|
}
|
|
376
422
|
|
|
377
|
-
declare
|
|
378
|
-
|
|
379
|
-
declare class AXCModuleDataSeeder implements AXPDataSeeder {
|
|
380
|
-
private readonly storageService;
|
|
423
|
+
declare class AXCAppTermDataSeeder implements AXPDataSeeder {
|
|
424
|
+
private storageService;
|
|
381
425
|
seed(): Promise<void>;
|
|
382
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
383
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
426
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXCAppTermDataSeeder, never>;
|
|
427
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXCAppTermDataSeeder>;
|
|
384
428
|
}
|
|
385
429
|
|
|
386
430
|
interface QuestionBankItemMockDto extends AXPCategorizedEntityDto {
|
|
@@ -410,8 +454,35 @@ interface QuestionnaireMockDto extends AXPCategorizedEntityDto {
|
|
|
410
454
|
title: string;
|
|
411
455
|
description?: string;
|
|
412
456
|
type: 'questionnaire' | 'survey' | 'checklist' | 'test' | 'evaluation';
|
|
413
|
-
|
|
414
|
-
|
|
457
|
+
structure?: {
|
|
458
|
+
sections: Array<{
|
|
459
|
+
id: string;
|
|
460
|
+
title: string;
|
|
461
|
+
description?: string;
|
|
462
|
+
order: number;
|
|
463
|
+
visibilityCondition?: string;
|
|
464
|
+
scoringWeight?: number;
|
|
465
|
+
items: Array<{
|
|
466
|
+
id: string;
|
|
467
|
+
questionBankItemId: string;
|
|
468
|
+
order: number;
|
|
469
|
+
isRequired?: boolean;
|
|
470
|
+
visibilityCondition?: string;
|
|
471
|
+
requiredCondition?: string;
|
|
472
|
+
scoringOverride?: {
|
|
473
|
+
points?: number;
|
|
474
|
+
weight?: number;
|
|
475
|
+
};
|
|
476
|
+
}>;
|
|
477
|
+
}>;
|
|
478
|
+
displaySettings?: {
|
|
479
|
+
viewMode?: 'single-page' | 'page-per-group' | 'page-per-question';
|
|
480
|
+
showProgressBar?: boolean;
|
|
481
|
+
showTimer?: boolean;
|
|
482
|
+
showSectionTitles?: boolean;
|
|
483
|
+
showQuestionNumbers?: boolean;
|
|
484
|
+
};
|
|
485
|
+
};
|
|
415
486
|
scoringType: 'none' | 'cumulative' | 'weighted' | 'formula';
|
|
416
487
|
passingScore?: number;
|
|
417
488
|
scoringFormula?: string;
|
|
@@ -422,7 +493,6 @@ interface QuestionnaireMockDto extends AXPCategorizedEntityDto {
|
|
|
422
493
|
allowBackNavigation: boolean;
|
|
423
494
|
randomizeQuestions: boolean;
|
|
424
495
|
requireAllAnswers: boolean;
|
|
425
|
-
showProgressBar: boolean;
|
|
426
496
|
categoryIds: string[];
|
|
427
497
|
categories: {
|
|
428
498
|
id: string;
|
|
@@ -462,379 +532,303 @@ declare class AXMQuestionnaireDataSeeder implements AXPDataSeeder {
|
|
|
462
532
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXMQuestionnaireDataSeeder>;
|
|
463
533
|
}
|
|
464
534
|
|
|
465
|
-
declare const
|
|
466
|
-
id: string;
|
|
467
|
-
questionnaireId: string;
|
|
468
|
-
questionnaire: {
|
|
469
|
-
id: string;
|
|
470
|
-
title: string;
|
|
471
|
-
type: "test" | "checklist" | "questionnaire" | "survey" | "evaluation";
|
|
472
|
-
};
|
|
473
|
-
title: string;
|
|
474
|
-
description: string;
|
|
475
|
-
mode: string;
|
|
476
|
-
assignedToUserIds: never[];
|
|
477
|
-
assignedToUsers: never[];
|
|
478
|
-
validFrom: Date;
|
|
479
|
-
validTo: Date;
|
|
480
|
-
timerMode: string;
|
|
481
|
-
timeLimit: number;
|
|
482
|
-
allowMultipleSubmissions: boolean;
|
|
483
|
-
showResults: string;
|
|
484
|
-
requireReview: boolean;
|
|
485
|
-
createdAt: Date;
|
|
486
|
-
updatedAt: Date;
|
|
487
|
-
accessCode?: undefined;
|
|
488
|
-
isActive?: undefined;
|
|
489
|
-
} | {
|
|
535
|
+
declare const assessmentCaseMock: {
|
|
490
536
|
id: string;
|
|
491
537
|
questionnaireId: string;
|
|
492
538
|
questionnaire: {
|
|
493
539
|
id: string;
|
|
494
540
|
title: string;
|
|
495
|
-
type: "
|
|
541
|
+
type: "checklist" | "questionnaire" | "survey" | "test" | "evaluation";
|
|
496
542
|
};
|
|
497
543
|
title: string;
|
|
498
544
|
description: string;
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
validFrom: Date;
|
|
502
|
-
validTo: Date;
|
|
503
|
-
timerMode: string;
|
|
504
|
-
timeLimit: number;
|
|
505
|
-
allowMultipleSubmissions: boolean;
|
|
506
|
-
showResults: string;
|
|
507
|
-
requireReview: boolean;
|
|
508
|
-
isActive: boolean;
|
|
509
|
-
createdAt: Date;
|
|
510
|
-
updatedAt: Date;
|
|
511
|
-
assignedToUserIds?: undefined;
|
|
512
|
-
assignedToUsers?: undefined;
|
|
513
|
-
} | {
|
|
514
|
-
id: string;
|
|
515
|
-
questionnaireId: string;
|
|
516
|
-
questionnaire: {
|
|
545
|
+
subjectRef: {
|
|
546
|
+
type: string;
|
|
517
547
|
id: string;
|
|
518
548
|
title: string;
|
|
519
|
-
type: "test" | "checklist" | "questionnaire" | "survey" | "evaluation";
|
|
520
549
|
};
|
|
521
|
-
|
|
522
|
-
description: string;
|
|
523
|
-
mode: string;
|
|
524
|
-
assignedToUserIds: never[];
|
|
525
|
-
assignedToUsers: never[];
|
|
526
|
-
timerMode: string;
|
|
527
|
-
allowMultipleSubmissions: boolean;
|
|
528
|
-
showResults: string;
|
|
529
|
-
requireReview: boolean;
|
|
550
|
+
statusId: string;
|
|
530
551
|
createdAt: Date;
|
|
531
552
|
updatedAt: Date;
|
|
532
|
-
|
|
533
|
-
validTo?: undefined;
|
|
534
|
-
timeLimit?: undefined;
|
|
535
|
-
accessCode?: undefined;
|
|
536
|
-
isActive?: undefined;
|
|
537
|
-
})[];
|
|
553
|
+
}[];
|
|
538
554
|
|
|
539
|
-
declare class
|
|
555
|
+
declare class AXMAssessmentCaseDataSeeder implements AXPDataSeeder {
|
|
540
556
|
private storage;
|
|
541
557
|
seed(): Promise<void>;
|
|
542
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
543
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
558
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXMAssessmentCaseDataSeeder, never>;
|
|
559
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXMAssessmentCaseDataSeeder>;
|
|
544
560
|
}
|
|
545
561
|
|
|
546
|
-
declare const
|
|
562
|
+
declare const assessmentSessionMock: ({
|
|
547
563
|
id: string;
|
|
548
|
-
|
|
549
|
-
|
|
564
|
+
caseId: string;
|
|
565
|
+
case: {
|
|
550
566
|
id: string;
|
|
551
567
|
title: string;
|
|
552
568
|
};
|
|
553
|
-
|
|
554
|
-
|
|
569
|
+
responderId: string;
|
|
570
|
+
responder: {
|
|
555
571
|
id: string;
|
|
556
572
|
displayName: string;
|
|
557
573
|
};
|
|
558
|
-
|
|
574
|
+
role: string;
|
|
575
|
+
statusId: string;
|
|
559
576
|
startedAt: Date;
|
|
577
|
+
lastSavedAt: Date;
|
|
560
578
|
timeSpent: number;
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
}
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
579
|
+
progressPercentage: number;
|
|
580
|
+
answeredQuestionsCount: number;
|
|
581
|
+
answers: {
|
|
582
|
+
'item-1': {
|
|
583
|
+
value: string;
|
|
584
|
+
};
|
|
585
|
+
'item-2': {
|
|
586
|
+
value: number;
|
|
587
|
+
};
|
|
588
|
+
'item-3': {
|
|
589
|
+
value: string;
|
|
590
|
+
};
|
|
591
|
+
'item-4': {
|
|
592
|
+
value: string;
|
|
593
|
+
};
|
|
594
|
+
'item-5': {
|
|
595
|
+
value: string;
|
|
596
|
+
};
|
|
597
|
+
'item-6': {
|
|
598
|
+
value: string;
|
|
599
|
+
};
|
|
600
|
+
'item-7'?: undefined;
|
|
601
|
+
'item-8'?: undefined;
|
|
602
|
+
'item-9'?: undefined;
|
|
603
|
+
'item-10'?: undefined;
|
|
586
604
|
};
|
|
587
|
-
status: string;
|
|
588
|
-
startedAt: Date;
|
|
589
|
-
completedAt: Date;
|
|
590
|
-
submittedAt: Date;
|
|
591
|
-
timeSpent: number;
|
|
592
|
-
currentItemIndex: number;
|
|
593
|
-
completionPercentage: number;
|
|
594
|
-
totalScore: number;
|
|
595
|
-
maxScore: number;
|
|
596
|
-
percentage: number;
|
|
597
|
-
grade: string;
|
|
598
|
-
passed: boolean;
|
|
599
605
|
createdAt: Date;
|
|
600
606
|
updatedAt: Date;
|
|
601
|
-
|
|
602
|
-
reviewedBy?: undefined;
|
|
603
|
-
reviewer?: undefined;
|
|
607
|
+
previousId?: undefined;
|
|
604
608
|
} | {
|
|
605
609
|
id: string;
|
|
606
|
-
|
|
607
|
-
|
|
610
|
+
caseId: string;
|
|
611
|
+
case: {
|
|
608
612
|
id: string;
|
|
609
613
|
title: string;
|
|
610
614
|
};
|
|
611
|
-
|
|
612
|
-
|
|
615
|
+
responderId: string;
|
|
616
|
+
responder: {
|
|
613
617
|
id: string;
|
|
614
618
|
displayName: string;
|
|
615
619
|
};
|
|
616
|
-
|
|
620
|
+
role: string;
|
|
621
|
+
statusId: string;
|
|
617
622
|
startedAt: Date;
|
|
618
|
-
|
|
619
|
-
submittedAt: Date;
|
|
623
|
+
lastSavedAt: Date;
|
|
620
624
|
timeSpent: number;
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
id: string;
|
|
655
|
-
displayName: string;
|
|
625
|
+
progressPercentage: number;
|
|
626
|
+
answeredQuestionsCount: number;
|
|
627
|
+
answers: {
|
|
628
|
+
'item-1': {
|
|
629
|
+
value: string;
|
|
630
|
+
};
|
|
631
|
+
'item-2': {
|
|
632
|
+
value: number;
|
|
633
|
+
};
|
|
634
|
+
'item-3': {
|
|
635
|
+
value: string;
|
|
636
|
+
};
|
|
637
|
+
'item-4': {
|
|
638
|
+
value: string;
|
|
639
|
+
};
|
|
640
|
+
'item-5': {
|
|
641
|
+
value: string;
|
|
642
|
+
};
|
|
643
|
+
'item-6': {
|
|
644
|
+
value: string;
|
|
645
|
+
};
|
|
646
|
+
'item-7': {
|
|
647
|
+
value: string;
|
|
648
|
+
};
|
|
649
|
+
'item-8': {
|
|
650
|
+
value: string;
|
|
651
|
+
};
|
|
652
|
+
'item-9': {
|
|
653
|
+
value: string;
|
|
654
|
+
};
|
|
655
|
+
'item-10': {
|
|
656
|
+
value: string;
|
|
657
|
+
};
|
|
656
658
|
};
|
|
657
|
-
role: string;
|
|
658
|
-
canRespond: boolean;
|
|
659
|
-
canOverride: boolean;
|
|
660
|
-
canReview: boolean;
|
|
661
|
-
canView: boolean;
|
|
662
|
-
joinedAt: Date;
|
|
663
|
-
lastActiveAt: Date;
|
|
664
659
|
createdAt: Date;
|
|
665
660
|
updatedAt: Date;
|
|
661
|
+
previousId?: undefined;
|
|
666
662
|
} | {
|
|
667
663
|
id: string;
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
id: string;
|
|
671
|
-
publicationId: string;
|
|
672
|
-
};
|
|
673
|
-
userId: string;
|
|
674
|
-
user: {
|
|
675
|
-
id: string;
|
|
676
|
-
displayName: string;
|
|
677
|
-
};
|
|
678
|
-
role: string;
|
|
679
|
-
canRespond: boolean;
|
|
680
|
-
canOverride: boolean;
|
|
681
|
-
canReview: boolean;
|
|
682
|
-
canView: boolean;
|
|
683
|
-
joinedAt: Date;
|
|
684
|
-
createdAt: Date;
|
|
685
|
-
updatedAt: Date;
|
|
686
|
-
lastActiveAt?: undefined;
|
|
687
|
-
})[];
|
|
688
|
-
|
|
689
|
-
declare class AXMCollaboratorDataSeeder implements AXPDataSeeder {
|
|
690
|
-
private storage;
|
|
691
|
-
seed(): Promise<void>;
|
|
692
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXMCollaboratorDataSeeder, never>;
|
|
693
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AXMCollaboratorDataSeeder>;
|
|
694
|
-
}
|
|
695
|
-
|
|
696
|
-
declare const responseEntryMock: ({
|
|
697
|
-
id: string;
|
|
698
|
-
sessionId: string;
|
|
699
|
-
session: {
|
|
664
|
+
caseId: string;
|
|
665
|
+
case: {
|
|
700
666
|
id: string;
|
|
701
|
-
|
|
667
|
+
title: string;
|
|
702
668
|
};
|
|
703
|
-
questionnaireItemId: string;
|
|
704
669
|
responderId: string;
|
|
705
670
|
responder: {
|
|
706
671
|
id: string;
|
|
707
672
|
displayName: string;
|
|
708
673
|
};
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
};
|
|
715
|
-
isOverridden: boolean;
|
|
716
|
-
score: number;
|
|
717
|
-
maxScore: number;
|
|
718
|
-
isCorrect: boolean;
|
|
719
|
-
answeredAt: Date;
|
|
674
|
+
role: string;
|
|
675
|
+
statusId: string;
|
|
676
|
+
previousId: string;
|
|
677
|
+
startedAt: Date;
|
|
678
|
+
lastSavedAt: Date;
|
|
720
679
|
timeSpent: number;
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
680
|
+
progressPercentage: number;
|
|
681
|
+
answeredQuestionsCount: number;
|
|
682
|
+
answers: {
|
|
683
|
+
'item-1': {
|
|
684
|
+
value: string;
|
|
685
|
+
};
|
|
686
|
+
'item-2': {
|
|
687
|
+
value: number;
|
|
688
|
+
};
|
|
689
|
+
'item-3': {
|
|
690
|
+
value: string;
|
|
691
|
+
};
|
|
692
|
+
'item-4': {
|
|
693
|
+
value: string;
|
|
694
|
+
};
|
|
695
|
+
'item-5': {
|
|
696
|
+
value: string;
|
|
697
|
+
};
|
|
698
|
+
'item-6': {
|
|
699
|
+
value: string;
|
|
700
|
+
};
|
|
701
|
+
'item-7': {
|
|
702
|
+
value: string;
|
|
703
|
+
};
|
|
704
|
+
'item-8': {
|
|
705
|
+
value: string;
|
|
706
|
+
};
|
|
707
|
+
'item-9': {
|
|
708
|
+
value: string;
|
|
709
|
+
};
|
|
710
|
+
'item-10': {
|
|
711
|
+
value: string;
|
|
712
|
+
};
|
|
713
|
+
};
|
|
724
714
|
createdAt: Date;
|
|
725
715
|
updatedAt: Date;
|
|
726
|
-
overriddenBy?: undefined;
|
|
727
|
-
overrider?: undefined;
|
|
728
|
-
overriddenAt?: undefined;
|
|
729
|
-
originalAnswer?: undefined;
|
|
730
|
-
overrideReason?: undefined;
|
|
731
716
|
} | {
|
|
732
717
|
id: string;
|
|
733
|
-
|
|
734
|
-
|
|
718
|
+
caseId: string;
|
|
719
|
+
case: {
|
|
735
720
|
id: string;
|
|
736
|
-
|
|
721
|
+
title: string;
|
|
737
722
|
};
|
|
738
|
-
questionnaireItemId: string;
|
|
739
723
|
responderId: string;
|
|
740
724
|
responder: {
|
|
741
725
|
id: string;
|
|
742
726
|
displayName: string;
|
|
743
727
|
};
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
728
|
+
role: string;
|
|
729
|
+
statusId: string;
|
|
730
|
+
progressPercentage: number;
|
|
731
|
+
answeredQuestionsCount: number;
|
|
732
|
+
answers: {
|
|
733
|
+
'item-1'?: undefined;
|
|
734
|
+
'item-2'?: undefined;
|
|
735
|
+
'item-3'?: undefined;
|
|
736
|
+
'item-4'?: undefined;
|
|
737
|
+
'item-5'?: undefined;
|
|
738
|
+
'item-6'?: undefined;
|
|
739
|
+
'item-7'?: undefined;
|
|
740
|
+
'item-8'?: undefined;
|
|
741
|
+
'item-9'?: undefined;
|
|
742
|
+
'item-10'?: undefined;
|
|
759
743
|
};
|
|
760
|
-
overrideReason: string;
|
|
761
|
-
score: number;
|
|
762
|
-
maxScore: number;
|
|
763
|
-
answeredAt: Date;
|
|
764
|
-
timeSpent: number;
|
|
765
|
-
attemptCount: number;
|
|
766
|
-
skipped: boolean;
|
|
767
|
-
flaggedForReview: boolean;
|
|
768
744
|
createdAt: Date;
|
|
769
745
|
updatedAt: Date;
|
|
770
|
-
|
|
746
|
+
startedAt?: undefined;
|
|
747
|
+
lastSavedAt?: undefined;
|
|
748
|
+
timeSpent?: undefined;
|
|
749
|
+
previousId?: undefined;
|
|
771
750
|
} | {
|
|
772
751
|
id: string;
|
|
773
|
-
|
|
774
|
-
|
|
752
|
+
caseId: string;
|
|
753
|
+
case: {
|
|
775
754
|
id: string;
|
|
776
|
-
|
|
755
|
+
title: string;
|
|
777
756
|
};
|
|
778
|
-
questionnaireItemId: string;
|
|
779
757
|
responderId: string;
|
|
780
758
|
responder: {
|
|
781
759
|
id: string;
|
|
782
760
|
displayName: string;
|
|
783
761
|
};
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
text?: undefined;
|
|
789
|
-
};
|
|
790
|
-
isOverridden: boolean;
|
|
791
|
-
score: number;
|
|
792
|
-
maxScore: number;
|
|
793
|
-
isCorrect: boolean;
|
|
794
|
-
answeredAt: Date;
|
|
762
|
+
role: string;
|
|
763
|
+
statusId: string;
|
|
764
|
+
startedAt: Date;
|
|
765
|
+
lastSavedAt: Date;
|
|
795
766
|
timeSpent: number;
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
767
|
+
progressPercentage: number;
|
|
768
|
+
answeredQuestionsCount: number;
|
|
769
|
+
answers: {
|
|
770
|
+
'item-1': {
|
|
771
|
+
value: string;
|
|
772
|
+
};
|
|
773
|
+
'item-2': {
|
|
774
|
+
value: string;
|
|
775
|
+
};
|
|
776
|
+
'item-3': {
|
|
777
|
+
value: string;
|
|
778
|
+
};
|
|
779
|
+
'item-4'?: undefined;
|
|
780
|
+
'item-5'?: undefined;
|
|
781
|
+
'item-6'?: undefined;
|
|
782
|
+
'item-7'?: undefined;
|
|
783
|
+
'item-8'?: undefined;
|
|
784
|
+
'item-9'?: undefined;
|
|
785
|
+
'item-10'?: undefined;
|
|
786
|
+
};
|
|
799
787
|
createdAt: Date;
|
|
800
788
|
updatedAt: Date;
|
|
801
|
-
|
|
802
|
-
overrider?: undefined;
|
|
803
|
-
overriddenAt?: undefined;
|
|
804
|
-
originalAnswer?: undefined;
|
|
805
|
-
overrideReason?: undefined;
|
|
789
|
+
previousId?: undefined;
|
|
806
790
|
})[];
|
|
807
791
|
|
|
808
|
-
declare class
|
|
792
|
+
declare class AXMAssessmentSessionDataSeeder implements AXPDataSeeder {
|
|
809
793
|
private storage;
|
|
810
794
|
seed(): Promise<void>;
|
|
811
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
812
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
813
|
-
}
|
|
814
|
-
|
|
815
|
-
declare class AXCAppVersionDataSeeder implements AXPDataSeeder {
|
|
816
|
-
private storageService;
|
|
817
|
-
private appVersionService;
|
|
818
|
-
seed(): Promise<void>;
|
|
819
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXCAppVersionDataSeeder, never>;
|
|
820
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AXCAppVersionDataSeeder>;
|
|
795
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXMAssessmentSessionDataSeeder, never>;
|
|
796
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXMAssessmentSessionDataSeeder>;
|
|
821
797
|
}
|
|
822
798
|
|
|
823
|
-
declare class
|
|
799
|
+
declare class AXCTokensDataSeeder implements AXPDataSeeder {
|
|
824
800
|
private storageService;
|
|
825
801
|
seed(): Promise<void>;
|
|
826
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
827
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
802
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXCTokensDataSeeder, never>;
|
|
803
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXCTokensDataSeeder>;
|
|
828
804
|
}
|
|
829
805
|
|
|
830
|
-
declare const
|
|
806
|
+
declare const TOKENS: {
|
|
831
807
|
id: string;
|
|
832
808
|
name: string;
|
|
833
809
|
title: string;
|
|
834
|
-
|
|
835
|
-
|
|
810
|
+
description: string;
|
|
811
|
+
type: "Expression" | "String" | "Integer" | "Boolean";
|
|
812
|
+
expression: string;
|
|
836
813
|
}[];
|
|
837
814
|
|
|
815
|
+
/**
|
|
816
|
+
* Tenant ID constants for use across mock data.
|
|
817
|
+
* These are generated once and exported to ensure consistency.
|
|
818
|
+
*/
|
|
819
|
+
declare const PLATFORM_TENANT_ID: string;
|
|
820
|
+
declare const TIMEPLICITY_TENANT_ID: string;
|
|
821
|
+
declare const LASER_PLUMBING_TENANT_ID: string;
|
|
822
|
+
|
|
823
|
+
declare const tenantMocks: AXMTenantManagementTenantEntityModel[];
|
|
824
|
+
|
|
825
|
+
declare class AXCTenantSeeder implements AXPDataSeeder {
|
|
826
|
+
private readonly storageService;
|
|
827
|
+
seed(): Promise<void>;
|
|
828
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXCTenantSeeder, never>;
|
|
829
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXCTenantSeeder>;
|
|
830
|
+
}
|
|
831
|
+
|
|
838
832
|
declare class AXPSecurityManagementRoleDataSeeder implements AXPDataSeeder {
|
|
839
833
|
private storageService;
|
|
840
834
|
seed(): Promise<void>;
|
|
@@ -849,23 +843,13 @@ declare class AXPSecurityManagementUserDataSeeder implements AXPDataSeeder {
|
|
|
849
843
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXPSecurityManagementUserDataSeeder>;
|
|
850
844
|
}
|
|
851
845
|
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
declare const applications: AXPApplication[];
|
|
855
|
-
|
|
856
|
-
declare const mockRoleDefinitions: {
|
|
857
|
-
id: string;
|
|
858
|
-
name: string;
|
|
859
|
-
title: string;
|
|
860
|
-
description: string;
|
|
861
|
-
permissions: string[];
|
|
862
|
-
}[];
|
|
846
|
+
type RoleMockDto = AXMSecurityManagementRolesEntityModel;
|
|
847
|
+
declare const mockRoleDefinitions: RoleMockDto[];
|
|
863
848
|
|
|
864
|
-
interface AXCMockUserMockDto {
|
|
849
|
+
interface AXCMockUserMockDto extends AXMSecurityManagementUsersEntityModel {
|
|
865
850
|
id: string;
|
|
866
851
|
username: string;
|
|
867
852
|
displayName: string;
|
|
868
|
-
partyId: string;
|
|
869
853
|
roleIds: string[];
|
|
870
854
|
roles: {
|
|
871
855
|
id: string;
|
|
@@ -923,15 +907,15 @@ declare function findEmployeeById(employeeId: string): AXCEmployeeMockDto | unde
|
|
|
923
907
|
interface AXCEmployeeMockDto {
|
|
924
908
|
id: string;
|
|
925
909
|
userId?: string;
|
|
926
|
-
|
|
927
|
-
|
|
910
|
+
personId: string;
|
|
911
|
+
person: {
|
|
928
912
|
id: string;
|
|
929
913
|
displayName: string;
|
|
930
914
|
};
|
|
931
915
|
birthDate: Date;
|
|
932
916
|
employeeCode: string;
|
|
933
|
-
|
|
934
|
-
|
|
917
|
+
jobDefinitionId: string;
|
|
918
|
+
jobDefinition: {
|
|
935
919
|
id: string;
|
|
936
920
|
title: string;
|
|
937
921
|
};
|
|
@@ -981,6 +965,7 @@ declare class AXMTeamDataSeeder implements AXPDataSeeder {
|
|
|
981
965
|
|
|
982
966
|
interface PositionMockDto extends AXPCategorizedEntityDto {
|
|
983
967
|
id: string;
|
|
968
|
+
code: string;
|
|
984
969
|
title: string;
|
|
985
970
|
description: string;
|
|
986
971
|
categoryIds: string[];
|
|
@@ -988,7 +973,22 @@ interface PositionMockDto extends AXPCategorizedEntityDto {
|
|
|
988
973
|
id: string;
|
|
989
974
|
title: string;
|
|
990
975
|
}[];
|
|
991
|
-
|
|
976
|
+
jobLevelId: string;
|
|
977
|
+
jobLevel?: {
|
|
978
|
+
id: string;
|
|
979
|
+
title: string;
|
|
980
|
+
};
|
|
981
|
+
jobDefinitionId?: string;
|
|
982
|
+
jobDefinition?: {
|
|
983
|
+
id: string;
|
|
984
|
+
title: string;
|
|
985
|
+
};
|
|
986
|
+
businessUnitId?: string;
|
|
987
|
+
businessUnit?: {
|
|
988
|
+
id: string;
|
|
989
|
+
title: string;
|
|
990
|
+
};
|
|
991
|
+
capacity?: number;
|
|
992
992
|
}
|
|
993
993
|
declare const POSITIONS_CATEGORY_MOCK: AXPCategoryEntity<string>[];
|
|
994
994
|
declare const POSITIONS_MOCK: PositionMockDto[];
|
|
@@ -1000,7 +1000,7 @@ declare class AXMPositionDataSeeder implements AXPDataSeeder {
|
|
|
1000
1000
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXMPositionDataSeeder>;
|
|
1001
1001
|
}
|
|
1002
1002
|
|
|
1003
|
-
interface
|
|
1003
|
+
interface JobDefinitionMockDto extends AXPCategorizedEntityDto {
|
|
1004
1004
|
id: string;
|
|
1005
1005
|
title: string;
|
|
1006
1006
|
description: string;
|
|
@@ -1009,25 +1009,36 @@ interface RoleMockDto extends AXPCategorizedEntityDto {
|
|
|
1009
1009
|
id: string;
|
|
1010
1010
|
title: string;
|
|
1011
1011
|
}[];
|
|
1012
|
-
skillsId: string[];
|
|
1013
|
-
skills: {
|
|
1014
|
-
id: string;
|
|
1015
|
-
title: string;
|
|
1016
|
-
}[];
|
|
1017
1012
|
responsibilitiesId: string[];
|
|
1018
1013
|
responsibilities: {
|
|
1019
1014
|
id: string;
|
|
1020
1015
|
title: string;
|
|
1021
1016
|
}[];
|
|
1017
|
+
skillRequirements?: AXPSpreadsheetData;
|
|
1018
|
+
}
|
|
1019
|
+
declare const JOB_DEFINITIONS_CATEGORY_MOCK: AXPCategoryEntity<string>[];
|
|
1020
|
+
declare const JOB_DEFINITIONS_MOCK: JobDefinitionMockDto[];
|
|
1021
|
+
|
|
1022
|
+
declare class AXMJobDefinitionDataSeeder implements AXPDataSeeder {
|
|
1023
|
+
private storageService;
|
|
1024
|
+
seed(): Promise<void>;
|
|
1025
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXMJobDefinitionDataSeeder, never>;
|
|
1026
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXMJobDefinitionDataSeeder>;
|
|
1027
|
+
}
|
|
1028
|
+
|
|
1029
|
+
interface JobLevelMockDto {
|
|
1030
|
+
id: string;
|
|
1031
|
+
title: string;
|
|
1032
|
+
description?: string;
|
|
1033
|
+
order: number;
|
|
1022
1034
|
}
|
|
1023
|
-
declare const
|
|
1024
|
-
declare const ROLES_MOCK: RoleMockDto[];
|
|
1035
|
+
declare const JOB_LEVELS_MOCK: JobLevelMockDto[];
|
|
1025
1036
|
|
|
1026
|
-
declare class
|
|
1037
|
+
declare class AXMJobLevelDataSeeder implements AXPDataSeeder {
|
|
1027
1038
|
private storageService;
|
|
1028
1039
|
seed(): Promise<void>;
|
|
1029
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
1030
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
1040
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXMJobLevelDataSeeder, never>;
|
|
1041
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXMJobLevelDataSeeder>;
|
|
1031
1042
|
}
|
|
1032
1043
|
|
|
1033
1044
|
interface ResponsibilityMockDto extends AXPCategorizedEntityDto {
|
|
@@ -1079,69 +1090,6 @@ declare class AXMPositionAssignmentDataSeeder implements AXPDataSeeder {
|
|
|
1079
1090
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXMPositionAssignmentDataSeeder>;
|
|
1080
1091
|
}
|
|
1081
1092
|
|
|
1082
|
-
interface SkillMockDto extends AXPCategorizedEntityDto {
|
|
1083
|
-
id: string;
|
|
1084
|
-
title: string;
|
|
1085
|
-
description: string;
|
|
1086
|
-
categoryIds: string[];
|
|
1087
|
-
categories: {
|
|
1088
|
-
id: string;
|
|
1089
|
-
title: string;
|
|
1090
|
-
}[];
|
|
1091
|
-
}
|
|
1092
|
-
declare const SKILLS_CATEGORY_MOCK: AXPCategoryEntity<string>[];
|
|
1093
|
-
declare const SKILLS_MOCK: SkillMockDto[];
|
|
1094
|
-
|
|
1095
|
-
declare class AXMSkillDataSeeder implements AXPDataSeeder {
|
|
1096
|
-
private storageService;
|
|
1097
|
-
seed(): Promise<void>;
|
|
1098
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXMSkillDataSeeder, never>;
|
|
1099
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AXMSkillDataSeeder>;
|
|
1100
|
-
}
|
|
1101
|
-
|
|
1102
|
-
interface AXCSkillLevelMockDto {
|
|
1103
|
-
id: string;
|
|
1104
|
-
title: string;
|
|
1105
|
-
order: number;
|
|
1106
|
-
isActive: boolean;
|
|
1107
|
-
description?: string;
|
|
1108
|
-
}
|
|
1109
|
-
declare const SKILL_LEVELS_MOCK: AXCSkillLevelMockDto[];
|
|
1110
|
-
|
|
1111
|
-
declare class AXMSkillLevelDataSeeder implements AXPDataSeeder {
|
|
1112
|
-
private readonly storageService;
|
|
1113
|
-
seed(): Promise<void>;
|
|
1114
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXMSkillLevelDataSeeder, never>;
|
|
1115
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AXMSkillLevelDataSeeder>;
|
|
1116
|
-
}
|
|
1117
|
-
|
|
1118
|
-
/**
|
|
1119
|
-
* Mock DTO for employee skill relation entries.
|
|
1120
|
-
*/
|
|
1121
|
-
interface AXCEmployeeSkillMockDto {
|
|
1122
|
-
id: string;
|
|
1123
|
-
employeeId: string;
|
|
1124
|
-
employee?: any;
|
|
1125
|
-
skillId: string;
|
|
1126
|
-
skill?: any;
|
|
1127
|
-
levelId: string;
|
|
1128
|
-
level?: any;
|
|
1129
|
-
yearsOfExperience?: number;
|
|
1130
|
-
lastUsedDate?: Date;
|
|
1131
|
-
validatedBy?: string;
|
|
1132
|
-
validationSource?: string;
|
|
1133
|
-
validationDate?: Date;
|
|
1134
|
-
notes?: string;
|
|
1135
|
-
}
|
|
1136
|
-
declare const EMPLOYEE_SKILLS_MOCK: AXCEmployeeSkillMockDto[];
|
|
1137
|
-
|
|
1138
|
-
declare class AXMEmployeeSkillDataSeeder implements AXPDataSeeder {
|
|
1139
|
-
private storageService;
|
|
1140
|
-
seed(): Promise<void>;
|
|
1141
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXMEmployeeSkillDataSeeder, never>;
|
|
1142
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AXMEmployeeSkillDataSeeder>;
|
|
1143
|
-
}
|
|
1144
|
-
|
|
1145
1093
|
declare const EMPLOYMENT_TYPES_MOCK: any[];
|
|
1146
1094
|
|
|
1147
1095
|
declare class AXMEmploymentTypeDataSeeder implements AXPDataSeeder {
|
|
@@ -1152,43 +1100,39 @@ declare class AXMEmploymentTypeDataSeeder implements AXPDataSeeder {
|
|
|
1152
1100
|
}
|
|
1153
1101
|
|
|
1154
1102
|
declare const LEAVE_REQUEST_STATUS_DEFINITIONS: readonly [{
|
|
1155
|
-
readonly name:
|
|
1103
|
+
readonly name: _acorex_platform_common.AXPSystemStatusType.Pending;
|
|
1156
1104
|
readonly title: string;
|
|
1157
1105
|
readonly icon: "fa-light fa-clock";
|
|
1158
1106
|
readonly color: "warning";
|
|
1159
1107
|
readonly description: string;
|
|
1160
1108
|
readonly order: 1;
|
|
1161
|
-
readonly isActive: true;
|
|
1162
1109
|
readonly isInitial: true;
|
|
1163
1110
|
readonly isFinal: false;
|
|
1164
1111
|
}, {
|
|
1165
|
-
readonly name:
|
|
1112
|
+
readonly name: _acorex_platform_common.AXPSystemStatusType.Approved;
|
|
1166
1113
|
readonly title: string;
|
|
1167
1114
|
readonly icon: "fa-light fa-check-circle";
|
|
1168
1115
|
readonly color: "success";
|
|
1169
1116
|
readonly description: string;
|
|
1170
1117
|
readonly order: 3;
|
|
1171
|
-
readonly isActive: true;
|
|
1172
1118
|
readonly isInitial: false;
|
|
1173
1119
|
readonly isFinal: false;
|
|
1174
1120
|
}, {
|
|
1175
|
-
readonly name:
|
|
1121
|
+
readonly name: _acorex_platform_common.AXPSystemStatusType.Rejected;
|
|
1176
1122
|
readonly title: string;
|
|
1177
1123
|
readonly icon: "fa-light fa-times-circle";
|
|
1178
1124
|
readonly color: "danger";
|
|
1179
1125
|
readonly description: string;
|
|
1180
1126
|
readonly order: 6;
|
|
1181
|
-
readonly isActive: true;
|
|
1182
1127
|
readonly isInitial: false;
|
|
1183
1128
|
readonly isFinal: true;
|
|
1184
1129
|
}, {
|
|
1185
|
-
readonly name:
|
|
1130
|
+
readonly name: _acorex_platform_common.AXPSystemStatusType.Cancelled;
|
|
1186
1131
|
readonly title: string;
|
|
1187
1132
|
readonly icon: "fa-light fa-times-circle";
|
|
1188
1133
|
readonly color: "neutral";
|
|
1189
1134
|
readonly description: string;
|
|
1190
1135
|
readonly order: 6;
|
|
1191
|
-
readonly isActive: true;
|
|
1192
1136
|
readonly isInitial: false;
|
|
1193
1137
|
readonly isFinal: true;
|
|
1194
1138
|
}];
|
|
@@ -1218,111 +1162,7 @@ declare class AXMLeaveRequestDataSeeder implements AXPDataSeeder {
|
|
|
1218
1162
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXMLeaveRequestDataSeeder>;
|
|
1219
1163
|
}
|
|
1220
1164
|
|
|
1221
|
-
|
|
1222
|
-
getList(parentId?: string): Promise<AXPReportCategory[]>;
|
|
1223
|
-
getById(id: string): Promise<AXPReportCategory | undefined>;
|
|
1224
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXMEmployeeSkillsCategoryProvider, never>;
|
|
1225
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AXMEmployeeSkillsCategoryProvider>;
|
|
1226
|
-
}
|
|
1227
|
-
declare class AXMEmployeeSkillsReportDefinitionProvider implements AXPReportDefinitionProvider {
|
|
1228
|
-
getList(categoryId: string): Promise<AXPReportDefinition[]>;
|
|
1229
|
-
getById(id: string): Promise<AXPReportDefinition | undefined>;
|
|
1230
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXMEmployeeSkillsReportDefinitionProvider, never>;
|
|
1231
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AXMEmployeeSkillsReportDefinitionProvider>;
|
|
1232
|
-
}
|
|
1233
|
-
declare const AXM_EMPLOYEE_SKILLS_CATEGORY_PROVIDER: {
|
|
1234
|
-
provide: i0.InjectionToken<_acorex_modules_report_management.AXPReportCategoryProviderToken[]>;
|
|
1235
|
-
useClass: typeof AXMEmployeeSkillsCategoryProvider;
|
|
1236
|
-
multi: boolean;
|
|
1237
|
-
};
|
|
1238
|
-
declare const AXM_EMPLOYEE_SKILLS_DEFINITION_PROVIDER: {
|
|
1239
|
-
provide: i0.InjectionToken<_acorex_modules_report_management.AXPReportDefinitionProviderToken[]>;
|
|
1240
|
-
useClass: typeof AXMEmployeeSkillsReportDefinitionProvider;
|
|
1241
|
-
multi: boolean;
|
|
1242
|
-
};
|
|
1243
|
-
|
|
1244
|
-
type ListInput = {
|
|
1245
|
-
skillId?: string;
|
|
1246
|
-
levelId?: string;
|
|
1247
|
-
minYears?: number;
|
|
1248
|
-
startDate?: Date | string;
|
|
1249
|
-
endDate?: Date | string;
|
|
1250
|
-
skip?: number;
|
|
1251
|
-
take?: number;
|
|
1252
|
-
};
|
|
1253
|
-
declare class AXQEmployeeSkillsListQuery implements AXPQuery<ListInput, {
|
|
1254
|
-
items: any[];
|
|
1255
|
-
total: number;
|
|
1256
|
-
}> {
|
|
1257
|
-
private employeeSkillService;
|
|
1258
|
-
private skillLevelService;
|
|
1259
|
-
fetch(input: ListInput): Promise<{
|
|
1260
|
-
items: any[];
|
|
1261
|
-
total: number;
|
|
1262
|
-
}>;
|
|
1263
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXQEmployeeSkillsListQuery, never>;
|
|
1264
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AXQEmployeeSkillsListQuery>;
|
|
1265
|
-
}
|
|
1266
|
-
type StatsInput = {
|
|
1267
|
-
skillId?: string;
|
|
1268
|
-
levelId?: string;
|
|
1269
|
-
minYears?: number;
|
|
1270
|
-
startDate?: Date | string;
|
|
1271
|
-
endDate?: Date | string;
|
|
1272
|
-
};
|
|
1273
|
-
declare class AXQEmployeeSkillsStatsQuery implements AXPQuery<StatsInput, Record<string, number>> {
|
|
1274
|
-
private employeeSkillService;
|
|
1275
|
-
fetch(input: StatsInput): Promise<Record<string, number>>;
|
|
1276
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXQEmployeeSkillsStatsQuery, never>;
|
|
1277
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AXQEmployeeSkillsStatsQuery>;
|
|
1278
|
-
}
|
|
1279
|
-
type LevelsInput = {
|
|
1280
|
-
skillId?: string;
|
|
1281
|
-
levelId?: string;
|
|
1282
|
-
minYears?: number;
|
|
1283
|
-
startDate?: Date | string;
|
|
1284
|
-
endDate?: Date | string;
|
|
1285
|
-
};
|
|
1286
|
-
declare class AXQEmployeeSkillsLevelsQuery implements AXPQuery<LevelsInput, Record<string, number>> {
|
|
1287
|
-
private employeeSkillService;
|
|
1288
|
-
private skillLevelService;
|
|
1289
|
-
fetch(input: LevelsInput): Promise<Record<string, number>>;
|
|
1290
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXQEmployeeSkillsLevelsQuery, never>;
|
|
1291
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AXQEmployeeSkillsLevelsQuery>;
|
|
1292
|
-
}
|
|
1293
|
-
type TrendInput = {
|
|
1294
|
-
startDate?: Date | string;
|
|
1295
|
-
endDate?: Date | string;
|
|
1296
|
-
skillId?: string;
|
|
1297
|
-
levelId?: string;
|
|
1298
|
-
};
|
|
1299
|
-
declare class AXQEmployeeSkillsTrendQuery implements AXPQuery<TrendInput, {
|
|
1300
|
-
month: string;
|
|
1301
|
-
value: number;
|
|
1302
|
-
}[]> {
|
|
1303
|
-
private employeeSkillService;
|
|
1304
|
-
fetch(input: TrendInput): Promise<{
|
|
1305
|
-
month: string;
|
|
1306
|
-
value: number;
|
|
1307
|
-
}[]>;
|
|
1308
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXQEmployeeSkillsTrendQuery, never>;
|
|
1309
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AXQEmployeeSkillsTrendQuery>;
|
|
1310
|
-
}
|
|
1311
|
-
declare class AXQEmployeeSkillsSkillPercentagesQuery implements AXPQuery<StatsInput, Record<string, number>> {
|
|
1312
|
-
private employeeSkillService;
|
|
1313
|
-
fetch(input: StatsInput): Promise<Record<string, number>>;
|
|
1314
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXQEmployeeSkillsSkillPercentagesQuery, never>;
|
|
1315
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AXQEmployeeSkillsSkillPercentagesQuery>;
|
|
1316
|
-
}
|
|
1317
|
-
declare class AXQEmployeeSkillsLevelPercentagesQuery implements AXPQuery<LevelsInput, Record<string, number>> {
|
|
1318
|
-
private employeeSkillService;
|
|
1319
|
-
private skillLevelService;
|
|
1320
|
-
fetch(input: LevelsInput): Promise<Record<string, number>>;
|
|
1321
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXQEmployeeSkillsLevelPercentagesQuery, never>;
|
|
1322
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AXQEmployeeSkillsLevelPercentagesQuery>;
|
|
1323
|
-
}
|
|
1324
|
-
|
|
1325
|
-
interface PartyMockData {
|
|
1165
|
+
interface PersonMockData {
|
|
1326
1166
|
id: string;
|
|
1327
1167
|
firstName: string;
|
|
1328
1168
|
lastName: string;
|
|
@@ -1332,14 +1172,7 @@ interface PartyMockData {
|
|
|
1332
1172
|
gender: string;
|
|
1333
1173
|
type: string;
|
|
1334
1174
|
}
|
|
1335
|
-
declare function
|
|
1336
|
-
|
|
1337
|
-
declare class AXMIndustryDataSeeder implements AXPDataSeeder {
|
|
1338
|
-
private readonly storageService;
|
|
1339
|
-
seed(): Promise<void>;
|
|
1340
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXMIndustryDataSeeder, never>;
|
|
1341
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AXMIndustryDataSeeder>;
|
|
1342
|
-
}
|
|
1175
|
+
declare function findPersonById(id: string): PersonMockData | null;
|
|
1343
1176
|
|
|
1344
1177
|
declare function findContactMethod(referenceId: string, type: string): string | undefined;
|
|
1345
1178
|
|
|
@@ -1423,6 +1256,12 @@ interface TaskTemplate {
|
|
|
1423
1256
|
}
|
|
1424
1257
|
declare const TASK_TEMPLATES: TaskTemplate[];
|
|
1425
1258
|
|
|
1259
|
+
declare class AXCWorkflowManagementMockModule {
|
|
1260
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXCWorkflowManagementMockModule, never>;
|
|
1261
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCWorkflowManagementMockModule, never, never, never>;
|
|
1262
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AXCWorkflowManagementMockModule>;
|
|
1263
|
+
}
|
|
1264
|
+
|
|
1426
1265
|
/**
|
|
1427
1266
|
* Mock workflow definition entities for the entity list.
|
|
1428
1267
|
*/
|
|
@@ -1501,13 +1340,6 @@ declare class AXPTaskBoardPlatformManagementTaskProvider extends AXPWorkflowTask
|
|
|
1501
1340
|
getStatuses(): Promise<AXPTaskStatus[]>;
|
|
1502
1341
|
}
|
|
1503
1342
|
|
|
1504
|
-
declare class AXCAppTermDataSeeder implements AXPDataSeeder {
|
|
1505
|
-
private storageService;
|
|
1506
|
-
seed(): Promise<void>;
|
|
1507
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXCAppTermDataSeeder, never>;
|
|
1508
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AXCAppTermDataSeeder>;
|
|
1509
|
-
}
|
|
1510
|
-
|
|
1511
1343
|
declare class AXMAiResponderService {
|
|
1512
1344
|
private readonly geminiApiKey;
|
|
1513
1345
|
getAIResponse(prompt: string): Promise<string>;
|
|
@@ -1605,6 +1437,16 @@ declare class AXCQueryCategoryMetadataInheritanceQuery implements AXPQuery<Categ
|
|
|
1605
1437
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXCQueryCategoryMetadataInheritanceQuery>;
|
|
1606
1438
|
}
|
|
1607
1439
|
|
|
1440
|
+
type MetadataCategoryMockDto = AXPCategoryEntity;
|
|
1441
|
+
declare const metadataCategoryMocks: MetadataCategoryMockDto[];
|
|
1442
|
+
|
|
1443
|
+
declare class AXCMetadataCategorySeeder implements AXPDataSeeder {
|
|
1444
|
+
private readonly storageService;
|
|
1445
|
+
seed(): Promise<void>;
|
|
1446
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXCMetadataCategorySeeder, never>;
|
|
1447
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXCMetadataCategorySeeder>;
|
|
1448
|
+
}
|
|
1449
|
+
|
|
1608
1450
|
interface AXMTag {
|
|
1609
1451
|
id: string;
|
|
1610
1452
|
title: string;
|
|
@@ -1654,60 +1496,19 @@ declare class AXMReportDefinitionDataSeeder implements AXPDataSeeder {
|
|
|
1654
1496
|
|
|
1655
1497
|
declare class AXMReportExecuteCommand implements AXPExecutionReportCommand {
|
|
1656
1498
|
private readonly queryService;
|
|
1657
|
-
private readonly mockDataService;
|
|
1658
|
-
private readonly reportDataCache;
|
|
1659
|
-
private readonly CACHE_TTL_MS;
|
|
1660
|
-
private readonly DEFAULT_TOTAL_ITEMS;
|
|
1661
1499
|
private readonly reportDefinitionService;
|
|
1662
|
-
constructor();
|
|
1663
1500
|
execute(context: AXPLayoutExecutionContext): Promise<AXPExecuteCommandResult<AXPExecutionReportCommandResult>>;
|
|
1664
|
-
private generateLayoutData;
|
|
1665
|
-
private generateTableData;
|
|
1666
|
-
private generateChartData;
|
|
1667
|
-
private generateLayoutDataFromQuery;
|
|
1668
|
-
private buildQueryInput;
|
|
1669
|
-
private assignByPath;
|
|
1670
|
-
private normalizeTableQueryResult;
|
|
1671
|
-
private normalizeChartQueryResult;
|
|
1672
|
-
private generateSystemHealthChartData;
|
|
1673
|
-
private readonly reportDefinitionFallback;
|
|
1674
|
-
private applyAuditTrailFilters;
|
|
1675
|
-
private applyLoginLogsFilters;
|
|
1676
|
-
private applyChangePasswordLogsFilters;
|
|
1677
|
-
private applyIdentityAuditLogErrorLogsFilters;
|
|
1678
|
-
private getCachedOrGenerateReportData;
|
|
1679
|
-
private generateCacheKey;
|
|
1680
|
-
private generateReportVersion;
|
|
1681
|
-
private isCacheValid;
|
|
1682
|
-
private clearExpiredCache;
|
|
1683
1501
|
/**
|
|
1684
|
-
*
|
|
1502
|
+
* Extract filters from AXPFilterClause and convert to query filters
|
|
1503
|
+
* Maps report parameter paths to actual entity field names
|
|
1685
1504
|
*/
|
|
1686
|
-
|
|
1505
|
+
private extractFiltersFromParameters;
|
|
1506
|
+
private normalizeTableResult;
|
|
1507
|
+
private normalizeChartResult;
|
|
1687
1508
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXMReportExecuteCommand, never>;
|
|
1688
1509
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXMReportExecuteCommand>;
|
|
1689
1510
|
}
|
|
1690
1511
|
|
|
1691
|
-
/**
|
|
1692
|
-
* Provides mock data generation for reports, separated from execution concerns.
|
|
1693
|
-
*/
|
|
1694
|
-
declare class AXMReportMockDataService {
|
|
1695
|
-
/**
|
|
1696
|
-
* Generate mock data based on report title heuristics.
|
|
1697
|
-
*/
|
|
1698
|
-
generateMockDataForReport(reportDefinition: AXPReportDefinition, parameters: Record<string, unknown>, pageSize: number): Record<string, unknown>[];
|
|
1699
|
-
private generateAuditTrailData;
|
|
1700
|
-
private generateFinancialData;
|
|
1701
|
-
private generateIncomeData;
|
|
1702
|
-
private generateEmployeeData;
|
|
1703
|
-
private generateSalesData;
|
|
1704
|
-
private generateSafetyData;
|
|
1705
|
-
private generateGenericData;
|
|
1706
|
-
private getRandomPastDate;
|
|
1707
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXMReportMockDataService, never>;
|
|
1708
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AXMReportMockDataService>;
|
|
1709
|
-
}
|
|
1710
|
-
|
|
1711
1512
|
declare const calendarMock: ({
|
|
1712
1513
|
id: string;
|
|
1713
1514
|
name: string;
|
|
@@ -2124,850 +1925,6 @@ declare class AXMMeetingTypeFileTemplateDataSeeder implements AXPDataSeeder {
|
|
|
2124
1925
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXMMeetingTypeFileTemplateDataSeeder>;
|
|
2125
1926
|
}
|
|
2126
1927
|
|
|
2127
|
-
interface AXMLocationManagementLocationMockModel extends AXMLocationManagementLocationEntityModel {
|
|
2128
|
-
country?: {
|
|
2129
|
-
id: string;
|
|
2130
|
-
title: string;
|
|
2131
|
-
};
|
|
2132
|
-
state?: {
|
|
2133
|
-
id: string;
|
|
2134
|
-
title: string;
|
|
2135
|
-
};
|
|
2136
|
-
city?: {
|
|
2137
|
-
id: string;
|
|
2138
|
-
title: string;
|
|
2139
|
-
};
|
|
2140
|
-
district?: {
|
|
2141
|
-
id: string;
|
|
2142
|
-
title: string;
|
|
2143
|
-
};
|
|
2144
|
-
locationType?: {
|
|
2145
|
-
id: string;
|
|
2146
|
-
title: string;
|
|
2147
|
-
description?: string;
|
|
2148
|
-
icon?: string;
|
|
2149
|
-
color?: string;
|
|
2150
|
-
};
|
|
2151
|
-
}
|
|
2152
|
-
|
|
2153
|
-
declare const learningSkillCategoryMock: ({
|
|
2154
|
-
id: string;
|
|
2155
|
-
title: string;
|
|
2156
|
-
description: string;
|
|
2157
|
-
parentId: null;
|
|
2158
|
-
} | {
|
|
2159
|
-
id: string;
|
|
2160
|
-
title: string;
|
|
2161
|
-
description: string;
|
|
2162
|
-
parentId: string;
|
|
2163
|
-
})[];
|
|
2164
|
-
declare const learningSkillLevelMock: {
|
|
2165
|
-
id: string;
|
|
2166
|
-
name: string;
|
|
2167
|
-
levelNumber: number;
|
|
2168
|
-
description: string;
|
|
2169
|
-
}[];
|
|
2170
|
-
declare const learningSkillMock: {
|
|
2171
|
-
id: string;
|
|
2172
|
-
title: string;
|
|
2173
|
-
description: string;
|
|
2174
|
-
code: string;
|
|
2175
|
-
categoryIds: string[];
|
|
2176
|
-
categories: {
|
|
2177
|
-
id: string;
|
|
2178
|
-
title: string;
|
|
2179
|
-
}[];
|
|
2180
|
-
relatedCourseIds: string[];
|
|
2181
|
-
}[];
|
|
2182
|
-
declare const learningCourseTypeMock: {
|
|
2183
|
-
id: string;
|
|
2184
|
-
name: string;
|
|
2185
|
-
description: string;
|
|
2186
|
-
deliveryMode: string;
|
|
2187
|
-
}[];
|
|
2188
|
-
declare const learningCourseMock: {
|
|
2189
|
-
id: string;
|
|
2190
|
-
code: string;
|
|
2191
|
-
title: string;
|
|
2192
|
-
description: string;
|
|
2193
|
-
courseTypeId: string;
|
|
2194
|
-
courseType: {
|
|
2195
|
-
id: string;
|
|
2196
|
-
name: string;
|
|
2197
|
-
description: string;
|
|
2198
|
-
deliveryMode: string;
|
|
2199
|
-
};
|
|
2200
|
-
durationHours: number;
|
|
2201
|
-
relatedSkillIds: string[];
|
|
2202
|
-
skills: {
|
|
2203
|
-
id: string;
|
|
2204
|
-
title: string;
|
|
2205
|
-
}[];
|
|
2206
|
-
certificateDefinitionIds: string[];
|
|
2207
|
-
certificateDefinitions: Array<{
|
|
2208
|
-
id: string;
|
|
2209
|
-
title: string;
|
|
2210
|
-
}>;
|
|
2211
|
-
}[];
|
|
2212
|
-
declare const learningTrainingTypeMock: {
|
|
2213
|
-
id: string;
|
|
2214
|
-
name: string;
|
|
2215
|
-
description: string;
|
|
2216
|
-
}[];
|
|
2217
|
-
declare const learningTrainingDefinitionMock: ({
|
|
2218
|
-
id: string;
|
|
2219
|
-
title: string;
|
|
2220
|
-
description: string;
|
|
2221
|
-
courseId: string;
|
|
2222
|
-
course: {
|
|
2223
|
-
id: string;
|
|
2224
|
-
title: string;
|
|
2225
|
-
};
|
|
2226
|
-
trainingTypeId: string;
|
|
2227
|
-
trainingType: {
|
|
2228
|
-
id: string;
|
|
2229
|
-
name: string;
|
|
2230
|
-
description: string;
|
|
2231
|
-
};
|
|
2232
|
-
defaultDurationHours: number;
|
|
2233
|
-
defaultCapacity: number;
|
|
2234
|
-
defaultLocationId: string;
|
|
2235
|
-
defaultLocation: AXMLocationManagementLocationMockModel;
|
|
2236
|
-
isActive: boolean;
|
|
2237
|
-
} | {
|
|
2238
|
-
id: string;
|
|
2239
|
-
title: string;
|
|
2240
|
-
description: string;
|
|
2241
|
-
courseId: string;
|
|
2242
|
-
course: {
|
|
2243
|
-
id: string;
|
|
2244
|
-
title: string;
|
|
2245
|
-
};
|
|
2246
|
-
trainingTypeId: string;
|
|
2247
|
-
trainingType: {
|
|
2248
|
-
id: string;
|
|
2249
|
-
name: string;
|
|
2250
|
-
description: string;
|
|
2251
|
-
};
|
|
2252
|
-
defaultDurationHours: number;
|
|
2253
|
-
defaultCapacity: number;
|
|
2254
|
-
defaultLocationId: null;
|
|
2255
|
-
defaultLocation: null;
|
|
2256
|
-
isActive: boolean;
|
|
2257
|
-
})[];
|
|
2258
|
-
declare const learningTrainingMock: ({
|
|
2259
|
-
id: string;
|
|
2260
|
-
trainingDefinitionId: string;
|
|
2261
|
-
trainingDefinition: {
|
|
2262
|
-
id: string;
|
|
2263
|
-
title: string;
|
|
2264
|
-
};
|
|
2265
|
-
courseId: string;
|
|
2266
|
-
course: {
|
|
2267
|
-
id: string;
|
|
2268
|
-
code: string;
|
|
2269
|
-
title: string;
|
|
2270
|
-
description: string;
|
|
2271
|
-
courseTypeId: string;
|
|
2272
|
-
courseType: {
|
|
2273
|
-
id: string;
|
|
2274
|
-
name: string;
|
|
2275
|
-
description: string;
|
|
2276
|
-
deliveryMode: string;
|
|
2277
|
-
};
|
|
2278
|
-
durationHours: number;
|
|
2279
|
-
relatedSkillIds: string[];
|
|
2280
|
-
skills: {
|
|
2281
|
-
id: string;
|
|
2282
|
-
title: string;
|
|
2283
|
-
}[];
|
|
2284
|
-
certificateDefinitionIds: string[];
|
|
2285
|
-
certificateDefinitions: Array<{
|
|
2286
|
-
id: string;
|
|
2287
|
-
title: string;
|
|
2288
|
-
}>;
|
|
2289
|
-
};
|
|
2290
|
-
trainingTypeId: string;
|
|
2291
|
-
trainingType: {
|
|
2292
|
-
id: string;
|
|
2293
|
-
name: string;
|
|
2294
|
-
description: string;
|
|
2295
|
-
};
|
|
2296
|
-
startDate: Date;
|
|
2297
|
-
endDate: Date;
|
|
2298
|
-
locationId: string;
|
|
2299
|
-
location: AXMLocationManagementLocationMockModel;
|
|
2300
|
-
instructorId: string;
|
|
2301
|
-
instructor: {
|
|
2302
|
-
id: string;
|
|
2303
|
-
displayName: string;
|
|
2304
|
-
} | null;
|
|
2305
|
-
capacity: number;
|
|
2306
|
-
status: "Open";
|
|
2307
|
-
notes: string;
|
|
2308
|
-
} | {
|
|
2309
|
-
id: string;
|
|
2310
|
-
trainingDefinitionId: string;
|
|
2311
|
-
trainingDefinition: {
|
|
2312
|
-
id: string;
|
|
2313
|
-
title: string;
|
|
2314
|
-
};
|
|
2315
|
-
courseId: string;
|
|
2316
|
-
course: {
|
|
2317
|
-
id: string;
|
|
2318
|
-
code: string;
|
|
2319
|
-
title: string;
|
|
2320
|
-
description: string;
|
|
2321
|
-
courseTypeId: string;
|
|
2322
|
-
courseType: {
|
|
2323
|
-
id: string;
|
|
2324
|
-
name: string;
|
|
2325
|
-
description: string;
|
|
2326
|
-
deliveryMode: string;
|
|
2327
|
-
};
|
|
2328
|
-
durationHours: number;
|
|
2329
|
-
relatedSkillIds: string[];
|
|
2330
|
-
skills: {
|
|
2331
|
-
id: string;
|
|
2332
|
-
title: string;
|
|
2333
|
-
}[];
|
|
2334
|
-
certificateDefinitionIds: string[];
|
|
2335
|
-
certificateDefinitions: Array<{
|
|
2336
|
-
id: string;
|
|
2337
|
-
title: string;
|
|
2338
|
-
}>;
|
|
2339
|
-
};
|
|
2340
|
-
trainingTypeId: string;
|
|
2341
|
-
trainingType: {
|
|
2342
|
-
id: string;
|
|
2343
|
-
name: string;
|
|
2344
|
-
description: string;
|
|
2345
|
-
};
|
|
2346
|
-
startDate: Date;
|
|
2347
|
-
endDate: Date;
|
|
2348
|
-
locationId: null;
|
|
2349
|
-
location: null;
|
|
2350
|
-
instructorId: string;
|
|
2351
|
-
instructor: {
|
|
2352
|
-
id: string;
|
|
2353
|
-
displayName: string;
|
|
2354
|
-
} | null;
|
|
2355
|
-
capacity: number;
|
|
2356
|
-
status: "Draft";
|
|
2357
|
-
notes: string;
|
|
2358
|
-
})[];
|
|
2359
|
-
declare const learningEnrollmentMock: ({
|
|
2360
|
-
id: string;
|
|
2361
|
-
employeeId: string;
|
|
2362
|
-
employee: {
|
|
2363
|
-
id: string;
|
|
2364
|
-
displayName: string;
|
|
2365
|
-
} | null;
|
|
2366
|
-
trainingId: string;
|
|
2367
|
-
training: {
|
|
2368
|
-
id: string;
|
|
2369
|
-
title: string;
|
|
2370
|
-
};
|
|
2371
|
-
status: "Approved";
|
|
2372
|
-
workflowInstanceId: null;
|
|
2373
|
-
notes: string;
|
|
2374
|
-
} | {
|
|
2375
|
-
id: string;
|
|
2376
|
-
employeeId: string;
|
|
2377
|
-
employee: {
|
|
2378
|
-
id: string;
|
|
2379
|
-
displayName: string;
|
|
2380
|
-
} | null;
|
|
2381
|
-
trainingId: string;
|
|
2382
|
-
training: {
|
|
2383
|
-
id: string;
|
|
2384
|
-
title: string;
|
|
2385
|
-
};
|
|
2386
|
-
status: "Requested";
|
|
2387
|
-
workflowInstanceId: null;
|
|
2388
|
-
notes: string;
|
|
2389
|
-
})[];
|
|
2390
|
-
declare const learningAttendanceMock: ({
|
|
2391
|
-
id: string;
|
|
2392
|
-
enrollmentId: string;
|
|
2393
|
-
enrollment: {
|
|
2394
|
-
id: string;
|
|
2395
|
-
trainingId: string;
|
|
2396
|
-
};
|
|
2397
|
-
sessionDate: Date;
|
|
2398
|
-
status: "Present";
|
|
2399
|
-
notes: string;
|
|
2400
|
-
} | {
|
|
2401
|
-
id: string;
|
|
2402
|
-
enrollmentId: string;
|
|
2403
|
-
enrollment: {
|
|
2404
|
-
id: string;
|
|
2405
|
-
trainingId: string;
|
|
2406
|
-
};
|
|
2407
|
-
sessionDate: Date;
|
|
2408
|
-
status: "Late";
|
|
2409
|
-
notes: string;
|
|
2410
|
-
})[];
|
|
2411
|
-
declare const learningEmployeeSkillMock: ({
|
|
2412
|
-
id: string;
|
|
2413
|
-
employeeId: string;
|
|
2414
|
-
employee: {
|
|
2415
|
-
id: string;
|
|
2416
|
-
displayName: string;
|
|
2417
|
-
} | null;
|
|
2418
|
-
skillId: string;
|
|
2419
|
-
skill: {
|
|
2420
|
-
id: string;
|
|
2421
|
-
title: string;
|
|
2422
|
-
};
|
|
2423
|
-
levelId: string;
|
|
2424
|
-
level: {
|
|
2425
|
-
id: string;
|
|
2426
|
-
name: string;
|
|
2427
|
-
};
|
|
2428
|
-
source: "Training";
|
|
2429
|
-
verifiedBy: string;
|
|
2430
|
-
verifier: {
|
|
2431
|
-
id: string;
|
|
2432
|
-
displayName: string;
|
|
2433
|
-
} | null;
|
|
2434
|
-
verifiedAt: Date;
|
|
2435
|
-
notes: string;
|
|
2436
|
-
} | {
|
|
2437
|
-
id: string;
|
|
2438
|
-
employeeId: string;
|
|
2439
|
-
employee: {
|
|
2440
|
-
id: string;
|
|
2441
|
-
displayName: string;
|
|
2442
|
-
} | null;
|
|
2443
|
-
skillId: string;
|
|
2444
|
-
skill: {
|
|
2445
|
-
id: string;
|
|
2446
|
-
title: string;
|
|
2447
|
-
};
|
|
2448
|
-
levelId: string;
|
|
2449
|
-
level: {
|
|
2450
|
-
id: string;
|
|
2451
|
-
name: string;
|
|
2452
|
-
};
|
|
2453
|
-
source: "Assessment";
|
|
2454
|
-
verifiedBy: string;
|
|
2455
|
-
verifier: {
|
|
2456
|
-
id: string;
|
|
2457
|
-
displayName: string;
|
|
2458
|
-
} | null;
|
|
2459
|
-
verifiedAt: Date;
|
|
2460
|
-
notes: string;
|
|
2461
|
-
})[];
|
|
2462
|
-
declare const learningCertificateTypeMock: {
|
|
2463
|
-
id: string;
|
|
2464
|
-
name: string;
|
|
2465
|
-
description: string;
|
|
2466
|
-
validityDays: number;
|
|
2467
|
-
templateId: null;
|
|
2468
|
-
}[];
|
|
2469
|
-
declare const learningCertificateDefinitionMock: {
|
|
2470
|
-
id: string;
|
|
2471
|
-
title: string;
|
|
2472
|
-
description: string;
|
|
2473
|
-
certificateTypeId: string;
|
|
2474
|
-
certificateType: {
|
|
2475
|
-
id: string;
|
|
2476
|
-
name: string;
|
|
2477
|
-
description: string;
|
|
2478
|
-
validityDays: number;
|
|
2479
|
-
templateId: null;
|
|
2480
|
-
};
|
|
2481
|
-
courseId: string;
|
|
2482
|
-
course: {
|
|
2483
|
-
id: string;
|
|
2484
|
-
title: string;
|
|
2485
|
-
};
|
|
2486
|
-
validityDays: number;
|
|
2487
|
-
templateId: null;
|
|
2488
|
-
isActive: boolean;
|
|
2489
|
-
}[];
|
|
2490
|
-
declare const learningCertificateMock: {
|
|
2491
|
-
id: string;
|
|
2492
|
-
certificateDefinitionId: string;
|
|
2493
|
-
certificateDefinition: {
|
|
2494
|
-
id: string;
|
|
2495
|
-
title: string;
|
|
2496
|
-
};
|
|
2497
|
-
certificateTypeId: string;
|
|
2498
|
-
certificateType: {
|
|
2499
|
-
id: string;
|
|
2500
|
-
name: string;
|
|
2501
|
-
description: string;
|
|
2502
|
-
validityDays: number;
|
|
2503
|
-
templateId: null;
|
|
2504
|
-
};
|
|
2505
|
-
employeeId: string;
|
|
2506
|
-
employee: {
|
|
2507
|
-
id: string;
|
|
2508
|
-
displayName: string;
|
|
2509
|
-
} | null;
|
|
2510
|
-
courseId: string;
|
|
2511
|
-
course: {
|
|
2512
|
-
id: string;
|
|
2513
|
-
title: string;
|
|
2514
|
-
};
|
|
2515
|
-
issueDate: Date;
|
|
2516
|
-
expiryDate: Date;
|
|
2517
|
-
fileId: null;
|
|
2518
|
-
notes: string;
|
|
2519
|
-
}[];
|
|
2520
|
-
declare const learningLearningPathMock: {
|
|
2521
|
-
id: string;
|
|
2522
|
-
name: string;
|
|
2523
|
-
description: string;
|
|
2524
|
-
isActive: boolean;
|
|
2525
|
-
}[];
|
|
2526
|
-
declare const learningLearningPathCourseMock: {
|
|
2527
|
-
id: string;
|
|
2528
|
-
learningPathId: string;
|
|
2529
|
-
courseId: string;
|
|
2530
|
-
course: {
|
|
2531
|
-
id: string;
|
|
2532
|
-
title: string;
|
|
2533
|
-
};
|
|
2534
|
-
orderIndex: number;
|
|
2535
|
-
}[];
|
|
2536
|
-
declare const learningMandatoryTrainingRuleMock: {
|
|
2537
|
-
id: string;
|
|
2538
|
-
positionId: string;
|
|
2539
|
-
position: {
|
|
2540
|
-
id: string;
|
|
2541
|
-
title: string;
|
|
2542
|
-
} | null;
|
|
2543
|
-
courseId: string;
|
|
2544
|
-
course: {
|
|
2545
|
-
id: string;
|
|
2546
|
-
title: string;
|
|
2547
|
-
};
|
|
2548
|
-
frequencyMonths: number;
|
|
2549
|
-
notes: string;
|
|
2550
|
-
}[];
|
|
2551
|
-
declare const learningManagementMockData: {
|
|
2552
|
-
categories: ({
|
|
2553
|
-
id: string;
|
|
2554
|
-
title: string;
|
|
2555
|
-
description: string;
|
|
2556
|
-
parentId: null;
|
|
2557
|
-
} | {
|
|
2558
|
-
id: string;
|
|
2559
|
-
title: string;
|
|
2560
|
-
description: string;
|
|
2561
|
-
parentId: string;
|
|
2562
|
-
})[];
|
|
2563
|
-
skills: {
|
|
2564
|
-
id: string;
|
|
2565
|
-
title: string;
|
|
2566
|
-
description: string;
|
|
2567
|
-
code: string;
|
|
2568
|
-
categoryIds: string[];
|
|
2569
|
-
categories: {
|
|
2570
|
-
id: string;
|
|
2571
|
-
title: string;
|
|
2572
|
-
}[];
|
|
2573
|
-
relatedCourseIds: string[];
|
|
2574
|
-
}[];
|
|
2575
|
-
skillLevels: {
|
|
2576
|
-
id: string;
|
|
2577
|
-
name: string;
|
|
2578
|
-
levelNumber: number;
|
|
2579
|
-
description: string;
|
|
2580
|
-
}[];
|
|
2581
|
-
employeeSkills: ({
|
|
2582
|
-
id: string;
|
|
2583
|
-
employeeId: string;
|
|
2584
|
-
employee: {
|
|
2585
|
-
id: string;
|
|
2586
|
-
displayName: string;
|
|
2587
|
-
} | null;
|
|
2588
|
-
skillId: string;
|
|
2589
|
-
skill: {
|
|
2590
|
-
id: string;
|
|
2591
|
-
title: string;
|
|
2592
|
-
};
|
|
2593
|
-
levelId: string;
|
|
2594
|
-
level: {
|
|
2595
|
-
id: string;
|
|
2596
|
-
name: string;
|
|
2597
|
-
};
|
|
2598
|
-
source: "Training";
|
|
2599
|
-
verifiedBy: string;
|
|
2600
|
-
verifier: {
|
|
2601
|
-
id: string;
|
|
2602
|
-
displayName: string;
|
|
2603
|
-
} | null;
|
|
2604
|
-
verifiedAt: Date;
|
|
2605
|
-
notes: string;
|
|
2606
|
-
} | {
|
|
2607
|
-
id: string;
|
|
2608
|
-
employeeId: string;
|
|
2609
|
-
employee: {
|
|
2610
|
-
id: string;
|
|
2611
|
-
displayName: string;
|
|
2612
|
-
} | null;
|
|
2613
|
-
skillId: string;
|
|
2614
|
-
skill: {
|
|
2615
|
-
id: string;
|
|
2616
|
-
title: string;
|
|
2617
|
-
};
|
|
2618
|
-
levelId: string;
|
|
2619
|
-
level: {
|
|
2620
|
-
id: string;
|
|
2621
|
-
name: string;
|
|
2622
|
-
};
|
|
2623
|
-
source: "Assessment";
|
|
2624
|
-
verifiedBy: string;
|
|
2625
|
-
verifier: {
|
|
2626
|
-
id: string;
|
|
2627
|
-
displayName: string;
|
|
2628
|
-
} | null;
|
|
2629
|
-
verifiedAt: Date;
|
|
2630
|
-
notes: string;
|
|
2631
|
-
})[];
|
|
2632
|
-
courseTypes: {
|
|
2633
|
-
id: string;
|
|
2634
|
-
name: string;
|
|
2635
|
-
description: string;
|
|
2636
|
-
deliveryMode: string;
|
|
2637
|
-
}[];
|
|
2638
|
-
courses: {
|
|
2639
|
-
id: string;
|
|
2640
|
-
code: string;
|
|
2641
|
-
title: string;
|
|
2642
|
-
description: string;
|
|
2643
|
-
courseTypeId: string;
|
|
2644
|
-
courseType: {
|
|
2645
|
-
id: string;
|
|
2646
|
-
name: string;
|
|
2647
|
-
description: string;
|
|
2648
|
-
deliveryMode: string;
|
|
2649
|
-
};
|
|
2650
|
-
durationHours: number;
|
|
2651
|
-
relatedSkillIds: string[];
|
|
2652
|
-
skills: {
|
|
2653
|
-
id: string;
|
|
2654
|
-
title: string;
|
|
2655
|
-
}[];
|
|
2656
|
-
certificateDefinitionIds: string[];
|
|
2657
|
-
certificateDefinitions: Array<{
|
|
2658
|
-
id: string;
|
|
2659
|
-
title: string;
|
|
2660
|
-
}>;
|
|
2661
|
-
}[];
|
|
2662
|
-
trainingTypes: {
|
|
2663
|
-
id: string;
|
|
2664
|
-
name: string;
|
|
2665
|
-
description: string;
|
|
2666
|
-
}[];
|
|
2667
|
-
trainingDefinitions: ({
|
|
2668
|
-
id: string;
|
|
2669
|
-
title: string;
|
|
2670
|
-
description: string;
|
|
2671
|
-
courseId: string;
|
|
2672
|
-
course: {
|
|
2673
|
-
id: string;
|
|
2674
|
-
title: string;
|
|
2675
|
-
};
|
|
2676
|
-
trainingTypeId: string;
|
|
2677
|
-
trainingType: {
|
|
2678
|
-
id: string;
|
|
2679
|
-
name: string;
|
|
2680
|
-
description: string;
|
|
2681
|
-
};
|
|
2682
|
-
defaultDurationHours: number;
|
|
2683
|
-
defaultCapacity: number;
|
|
2684
|
-
defaultLocationId: string;
|
|
2685
|
-
defaultLocation: AXMLocationManagementLocationMockModel;
|
|
2686
|
-
isActive: boolean;
|
|
2687
|
-
} | {
|
|
2688
|
-
id: string;
|
|
2689
|
-
title: string;
|
|
2690
|
-
description: string;
|
|
2691
|
-
courseId: string;
|
|
2692
|
-
course: {
|
|
2693
|
-
id: string;
|
|
2694
|
-
title: string;
|
|
2695
|
-
};
|
|
2696
|
-
trainingTypeId: string;
|
|
2697
|
-
trainingType: {
|
|
2698
|
-
id: string;
|
|
2699
|
-
name: string;
|
|
2700
|
-
description: string;
|
|
2701
|
-
};
|
|
2702
|
-
defaultDurationHours: number;
|
|
2703
|
-
defaultCapacity: number;
|
|
2704
|
-
defaultLocationId: null;
|
|
2705
|
-
defaultLocation: null;
|
|
2706
|
-
isActive: boolean;
|
|
2707
|
-
})[];
|
|
2708
|
-
trainings: ({
|
|
2709
|
-
id: string;
|
|
2710
|
-
trainingDefinitionId: string;
|
|
2711
|
-
trainingDefinition: {
|
|
2712
|
-
id: string;
|
|
2713
|
-
title: string;
|
|
2714
|
-
};
|
|
2715
|
-
courseId: string;
|
|
2716
|
-
course: {
|
|
2717
|
-
id: string;
|
|
2718
|
-
code: string;
|
|
2719
|
-
title: string;
|
|
2720
|
-
description: string;
|
|
2721
|
-
courseTypeId: string;
|
|
2722
|
-
courseType: {
|
|
2723
|
-
id: string;
|
|
2724
|
-
name: string;
|
|
2725
|
-
description: string;
|
|
2726
|
-
deliveryMode: string;
|
|
2727
|
-
};
|
|
2728
|
-
durationHours: number;
|
|
2729
|
-
relatedSkillIds: string[];
|
|
2730
|
-
skills: {
|
|
2731
|
-
id: string;
|
|
2732
|
-
title: string;
|
|
2733
|
-
}[];
|
|
2734
|
-
certificateDefinitionIds: string[];
|
|
2735
|
-
certificateDefinitions: Array<{
|
|
2736
|
-
id: string;
|
|
2737
|
-
title: string;
|
|
2738
|
-
}>;
|
|
2739
|
-
};
|
|
2740
|
-
trainingTypeId: string;
|
|
2741
|
-
trainingType: {
|
|
2742
|
-
id: string;
|
|
2743
|
-
name: string;
|
|
2744
|
-
description: string;
|
|
2745
|
-
};
|
|
2746
|
-
startDate: Date;
|
|
2747
|
-
endDate: Date;
|
|
2748
|
-
locationId: string;
|
|
2749
|
-
location: AXMLocationManagementLocationMockModel;
|
|
2750
|
-
instructorId: string;
|
|
2751
|
-
instructor: {
|
|
2752
|
-
id: string;
|
|
2753
|
-
displayName: string;
|
|
2754
|
-
} | null;
|
|
2755
|
-
capacity: number;
|
|
2756
|
-
status: "Open";
|
|
2757
|
-
notes: string;
|
|
2758
|
-
} | {
|
|
2759
|
-
id: string;
|
|
2760
|
-
trainingDefinitionId: string;
|
|
2761
|
-
trainingDefinition: {
|
|
2762
|
-
id: string;
|
|
2763
|
-
title: string;
|
|
2764
|
-
};
|
|
2765
|
-
courseId: string;
|
|
2766
|
-
course: {
|
|
2767
|
-
id: string;
|
|
2768
|
-
code: string;
|
|
2769
|
-
title: string;
|
|
2770
|
-
description: string;
|
|
2771
|
-
courseTypeId: string;
|
|
2772
|
-
courseType: {
|
|
2773
|
-
id: string;
|
|
2774
|
-
name: string;
|
|
2775
|
-
description: string;
|
|
2776
|
-
deliveryMode: string;
|
|
2777
|
-
};
|
|
2778
|
-
durationHours: number;
|
|
2779
|
-
relatedSkillIds: string[];
|
|
2780
|
-
skills: {
|
|
2781
|
-
id: string;
|
|
2782
|
-
title: string;
|
|
2783
|
-
}[];
|
|
2784
|
-
certificateDefinitionIds: string[];
|
|
2785
|
-
certificateDefinitions: Array<{
|
|
2786
|
-
id: string;
|
|
2787
|
-
title: string;
|
|
2788
|
-
}>;
|
|
2789
|
-
};
|
|
2790
|
-
trainingTypeId: string;
|
|
2791
|
-
trainingType: {
|
|
2792
|
-
id: string;
|
|
2793
|
-
name: string;
|
|
2794
|
-
description: string;
|
|
2795
|
-
};
|
|
2796
|
-
startDate: Date;
|
|
2797
|
-
endDate: Date;
|
|
2798
|
-
locationId: null;
|
|
2799
|
-
location: null;
|
|
2800
|
-
instructorId: string;
|
|
2801
|
-
instructor: {
|
|
2802
|
-
id: string;
|
|
2803
|
-
displayName: string;
|
|
2804
|
-
} | null;
|
|
2805
|
-
capacity: number;
|
|
2806
|
-
status: "Draft";
|
|
2807
|
-
notes: string;
|
|
2808
|
-
})[];
|
|
2809
|
-
enrollments: ({
|
|
2810
|
-
id: string;
|
|
2811
|
-
employeeId: string;
|
|
2812
|
-
employee: {
|
|
2813
|
-
id: string;
|
|
2814
|
-
displayName: string;
|
|
2815
|
-
} | null;
|
|
2816
|
-
trainingId: string;
|
|
2817
|
-
training: {
|
|
2818
|
-
id: string;
|
|
2819
|
-
title: string;
|
|
2820
|
-
};
|
|
2821
|
-
status: "Approved";
|
|
2822
|
-
workflowInstanceId: null;
|
|
2823
|
-
notes: string;
|
|
2824
|
-
} | {
|
|
2825
|
-
id: string;
|
|
2826
|
-
employeeId: string;
|
|
2827
|
-
employee: {
|
|
2828
|
-
id: string;
|
|
2829
|
-
displayName: string;
|
|
2830
|
-
} | null;
|
|
2831
|
-
trainingId: string;
|
|
2832
|
-
training: {
|
|
2833
|
-
id: string;
|
|
2834
|
-
title: string;
|
|
2835
|
-
};
|
|
2836
|
-
status: "Requested";
|
|
2837
|
-
workflowInstanceId: null;
|
|
2838
|
-
notes: string;
|
|
2839
|
-
})[];
|
|
2840
|
-
attendance: ({
|
|
2841
|
-
id: string;
|
|
2842
|
-
enrollmentId: string;
|
|
2843
|
-
enrollment: {
|
|
2844
|
-
id: string;
|
|
2845
|
-
trainingId: string;
|
|
2846
|
-
};
|
|
2847
|
-
sessionDate: Date;
|
|
2848
|
-
status: "Present";
|
|
2849
|
-
notes: string;
|
|
2850
|
-
} | {
|
|
2851
|
-
id: string;
|
|
2852
|
-
enrollmentId: string;
|
|
2853
|
-
enrollment: {
|
|
2854
|
-
id: string;
|
|
2855
|
-
trainingId: string;
|
|
2856
|
-
};
|
|
2857
|
-
sessionDate: Date;
|
|
2858
|
-
status: "Late";
|
|
2859
|
-
notes: string;
|
|
2860
|
-
})[];
|
|
2861
|
-
certificateTypes: {
|
|
2862
|
-
id: string;
|
|
2863
|
-
name: string;
|
|
2864
|
-
description: string;
|
|
2865
|
-
validityDays: number;
|
|
2866
|
-
templateId: null;
|
|
2867
|
-
}[];
|
|
2868
|
-
certificateDefinitions: {
|
|
2869
|
-
id: string;
|
|
2870
|
-
title: string;
|
|
2871
|
-
description: string;
|
|
2872
|
-
certificateTypeId: string;
|
|
2873
|
-
certificateType: {
|
|
2874
|
-
id: string;
|
|
2875
|
-
name: string;
|
|
2876
|
-
description: string;
|
|
2877
|
-
validityDays: number;
|
|
2878
|
-
templateId: null;
|
|
2879
|
-
};
|
|
2880
|
-
courseId: string;
|
|
2881
|
-
course: {
|
|
2882
|
-
id: string;
|
|
2883
|
-
title: string;
|
|
2884
|
-
};
|
|
2885
|
-
validityDays: number;
|
|
2886
|
-
templateId: null;
|
|
2887
|
-
isActive: boolean;
|
|
2888
|
-
}[];
|
|
2889
|
-
certificates: {
|
|
2890
|
-
id: string;
|
|
2891
|
-
certificateDefinitionId: string;
|
|
2892
|
-
certificateDefinition: {
|
|
2893
|
-
id: string;
|
|
2894
|
-
title: string;
|
|
2895
|
-
};
|
|
2896
|
-
certificateTypeId: string;
|
|
2897
|
-
certificateType: {
|
|
2898
|
-
id: string;
|
|
2899
|
-
name: string;
|
|
2900
|
-
description: string;
|
|
2901
|
-
validityDays: number;
|
|
2902
|
-
templateId: null;
|
|
2903
|
-
};
|
|
2904
|
-
employeeId: string;
|
|
2905
|
-
employee: {
|
|
2906
|
-
id: string;
|
|
2907
|
-
displayName: string;
|
|
2908
|
-
} | null;
|
|
2909
|
-
courseId: string;
|
|
2910
|
-
course: {
|
|
2911
|
-
id: string;
|
|
2912
|
-
title: string;
|
|
2913
|
-
};
|
|
2914
|
-
issueDate: Date;
|
|
2915
|
-
expiryDate: Date;
|
|
2916
|
-
fileId: null;
|
|
2917
|
-
notes: string;
|
|
2918
|
-
}[];
|
|
2919
|
-
learningPaths: {
|
|
2920
|
-
id: string;
|
|
2921
|
-
name: string;
|
|
2922
|
-
description: string;
|
|
2923
|
-
isActive: boolean;
|
|
2924
|
-
}[];
|
|
2925
|
-
learningPathCourses: {
|
|
2926
|
-
id: string;
|
|
2927
|
-
learningPathId: string;
|
|
2928
|
-
courseId: string;
|
|
2929
|
-
course: {
|
|
2930
|
-
id: string;
|
|
2931
|
-
title: string;
|
|
2932
|
-
};
|
|
2933
|
-
orderIndex: number;
|
|
2934
|
-
}[];
|
|
2935
|
-
mandatoryTrainingRules: {
|
|
2936
|
-
id: string;
|
|
2937
|
-
positionId: string;
|
|
2938
|
-
position: {
|
|
2939
|
-
id: string;
|
|
2940
|
-
title: string;
|
|
2941
|
-
} | null;
|
|
2942
|
-
courseId: string;
|
|
2943
|
-
course: {
|
|
2944
|
-
id: string;
|
|
2945
|
-
title: string;
|
|
2946
|
-
};
|
|
2947
|
-
frequencyMonths: number;
|
|
2948
|
-
notes: string;
|
|
2949
|
-
}[];
|
|
2950
|
-
};
|
|
2951
|
-
declare const learningManagementEntityKeys: {
|
|
2952
|
-
skillCategory: string;
|
|
2953
|
-
skill: string;
|
|
2954
|
-
skillLevel: string;
|
|
2955
|
-
employeeSkill: string;
|
|
2956
|
-
courseType: string;
|
|
2957
|
-
course: string;
|
|
2958
|
-
trainingType: string;
|
|
2959
|
-
trainingDefinition: string;
|
|
2960
|
-
training: string;
|
|
2961
|
-
enrollment: string;
|
|
2962
|
-
attendance: string;
|
|
2963
|
-
certificateType: string;
|
|
2964
|
-
certificateDefinition: string;
|
|
2965
|
-
certificate: string;
|
|
2966
|
-
learningPath: string;
|
|
2967
|
-
learningPathCourse: string;
|
|
2968
|
-
mandatoryTrainingRule: string;
|
|
2969
|
-
};
|
|
2970
|
-
|
|
2971
1928
|
declare class AXCLockService implements AXPLockService {
|
|
2972
1929
|
private className;
|
|
2973
1930
|
private db;
|
|
@@ -3527,38 +2484,6 @@ declare const multipleChoiceInterface: AXPWidgetNode;
|
|
|
3527
2484
|
declare const multipleSelectInterface: AXPWidgetNode;
|
|
3528
2485
|
declare const longTextAnswerInterface: AXPWidgetNode;
|
|
3529
2486
|
|
|
3530
|
-
declare class AXCSystemInsightReportCategoryProvider implements AXPReportCategoryProvider {
|
|
3531
|
-
getList(parentId?: string): Promise<AXPReportCategory[]>;
|
|
3532
|
-
getById(id: string): Promise<AXPReportCategory | undefined>;
|
|
3533
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXCSystemInsightReportCategoryProvider, never>;
|
|
3534
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AXCSystemInsightReportCategoryProvider>;
|
|
3535
|
-
}
|
|
3536
|
-
declare class AXCSystemInsightReportDefinitionProvider implements AXPReportDefinitionProvider {
|
|
3537
|
-
getList(categoryId: string): Promise<AXPReportDefinition[]>;
|
|
3538
|
-
getById(id: string): Promise<AXPReportDefinition | undefined>;
|
|
3539
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXCSystemInsightReportDefinitionProvider, never>;
|
|
3540
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AXCSystemInsightReportDefinitionProvider>;
|
|
3541
|
-
}
|
|
3542
|
-
declare const AXC_SYSTEM_INSIGHT_REPORT_CATEGORY_PROVIDER: {
|
|
3543
|
-
provide: i0.InjectionToken<_acorex_modules_report_management.AXPReportCategoryProviderToken[]>;
|
|
3544
|
-
useClass: typeof AXCSystemInsightReportCategoryProvider;
|
|
3545
|
-
multi: boolean;
|
|
3546
|
-
};
|
|
3547
|
-
declare const AXC_SYSTEM_INSIGHT_REPORT_DEFINITION_PROVIDER: {
|
|
3548
|
-
provide: i0.InjectionToken<_acorex_modules_report_management.AXPReportDefinitionProviderToken[]>;
|
|
3549
|
-
useClass: typeof AXCSystemInsightReportDefinitionProvider;
|
|
3550
|
-
multi: boolean;
|
|
3551
|
-
};
|
|
3552
|
-
|
|
3553
|
-
declare const auditLogMock: AXMSystemInsightAuditLogEntityModel[];
|
|
3554
|
-
|
|
3555
|
-
declare class AXMSystemInsightAuditLogDataSeeder implements AXPDataSeeder {
|
|
3556
|
-
private storageService;
|
|
3557
|
-
seed(): Promise<void>;
|
|
3558
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXMSystemInsightAuditLogDataSeeder, never>;
|
|
3559
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AXMSystemInsightAuditLogDataSeeder>;
|
|
3560
|
-
}
|
|
3561
|
-
|
|
3562
2487
|
interface AXPRuleRow extends AXPIdentifierRule {
|
|
3563
2488
|
}
|
|
3564
2489
|
interface AXPSeqRow {
|
|
@@ -3638,6 +2563,17 @@ declare class AXPMockIdentifierService extends AXPIdentifierService {
|
|
|
3638
2563
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXPMockIdentifierService>;
|
|
3639
2564
|
}
|
|
3640
2565
|
|
|
2566
|
+
/**
|
|
2567
|
+
* Middleware that automatically tracks audit information for entity operations.
|
|
2568
|
+
*
|
|
2569
|
+
* Tracks:
|
|
2570
|
+
* - CREATE: Sets created and updated timestamps with user info, initializes stateInfo and ownershipInfo
|
|
2571
|
+
* - UPDATE: Updates the updated timestamp with current user info
|
|
2572
|
+
* - DELETE: Records deleted timestamp with user info (useful for soft delete or history tracking)
|
|
2573
|
+
*
|
|
2574
|
+
* The audit info follows the AXPAuditInfo interface with created, updated, and deleted events.
|
|
2575
|
+
* Ownership info includes tenantId and applicationId from the current session.
|
|
2576
|
+
*/
|
|
3641
2577
|
declare const auditLoggerMiddleware: AXPEntityStorageMiddleware;
|
|
3642
2578
|
|
|
3643
2579
|
declare const childCountMiddleware: AXPEntityStorageMiddleware;
|
|
@@ -3667,29 +2603,25 @@ declare const identifierCommitMiddleware: AXPEntityStorageMiddleware;
|
|
|
3667
2603
|
/**
|
|
3668
2604
|
* Lookup Resolver Middleware
|
|
3669
2605
|
*
|
|
3670
|
-
*
|
|
2606
|
+
* Resolves lookup field IDs to full objects based on entity property definitions or naming conventions.
|
|
3671
2607
|
*
|
|
3672
2608
|
* Behavior:
|
|
3673
2609
|
* - Runs on 'create' and 'update' operations
|
|
3674
|
-
* - Finds fields ending with 'Id'
|
|
2610
|
+
* - Finds fields ending with 'Id'/'Ids' (case-insensitive)
|
|
3675
2611
|
* - Resolves IDs to full objects from corresponding entity
|
|
3676
|
-
* -
|
|
2612
|
+
* - Skips fields that are already resolved or have explicit entity config failures
|
|
3677
2613
|
*
|
|
3678
2614
|
* Resolution Strategy (in order):
|
|
3679
|
-
* 1. Check entity property definition for LookupBox with entity option
|
|
3680
|
-
* 2.
|
|
3681
|
-
* 3. Use current module name (ModuleName.assign)
|
|
3682
|
-
* 4. Try name variants with common modules
|
|
2615
|
+
* 1. Check entity property definition for LookupBox with entity option (preferred)
|
|
2616
|
+
* 2. Use naming conventions: dotted path (X.assignId -> X.assign) or module fallback (ModuleName.entityName)
|
|
3683
2617
|
*
|
|
3684
2618
|
* Naming Convention:
|
|
3685
2619
|
* - testId -> creates 'test' object with full record
|
|
3686
2620
|
* - testIds -> creates 'testList' array with full records
|
|
3687
|
-
* - documentId -> creates 'document' object with full record
|
|
3688
|
-
* - categoryIds -> creates 'categoryList' array with full records
|
|
3689
2621
|
*
|
|
3690
2622
|
* Example:
|
|
3691
|
-
* Input: {
|
|
3692
|
-
* Result: {
|
|
2623
|
+
* Input: { brandId: "123" } with lookup to product-catalog.brand
|
|
2624
|
+
* Result: { brand: { id: "123", title: "Brand Name", ... } }
|
|
3693
2625
|
*/
|
|
3694
2626
|
declare const lookupResolverMiddleware: AXPEntityStorageMiddleware;
|
|
3695
2627
|
|
|
@@ -3732,7 +2664,112 @@ declare const signatureLoaderMiddleware: AXPEntityStorageMiddleware;
|
|
|
3732
2664
|
*/
|
|
3733
2665
|
declare const lockGuardMiddleware: AXPEntityStorageMiddleware;
|
|
3734
2666
|
|
|
2667
|
+
/**
|
|
2668
|
+
* Group Order Item Calculator Middleware
|
|
2669
|
+
*
|
|
2670
|
+
* Calculates quantityInOrder and quantityAvailable for group order items.
|
|
2671
|
+
* Also calculates total based on price, quantityInOrder, and GST (1.15).
|
|
2672
|
+
*
|
|
2673
|
+
* quantityInOrder = sum of all member order line quantities for this item
|
|
2674
|
+
* quantityAvailable = size - quantityInOrder
|
|
2675
|
+
* total = price * quantityInOrder * 1.15 (GST)
|
|
2676
|
+
*
|
|
2677
|
+
* Runs on:
|
|
2678
|
+
* - GroupOrderItem create/update: Calculate for the item itself
|
|
2679
|
+
* - MemberOrderLine create/update/delete: Recalculate the related group order item
|
|
2680
|
+
*/
|
|
2681
|
+
declare const groupOrderItemCalculatorMiddleware: AXPEntityStorageMiddleware;
|
|
2682
|
+
|
|
2683
|
+
/**
|
|
2684
|
+
* Key used in request params to bypass visibility filtering (isHidden flag).
|
|
2685
|
+
* Similar to ABP Framework's filter disabling mechanism.
|
|
2686
|
+
*
|
|
2687
|
+
* Usage:
|
|
2688
|
+
* ```typescript
|
|
2689
|
+
* await storageService.query(entityName, {
|
|
2690
|
+
* ...request,
|
|
2691
|
+
* params: { [VISIBILITY_FILTER_BYPASS]: 'true' }
|
|
2692
|
+
* });
|
|
2693
|
+
* ```
|
|
2694
|
+
*/
|
|
2695
|
+
declare const VISIBILITY_FILTER_BYPASS = "__bypassVisibilityFilter";
|
|
2696
|
+
/**
|
|
2697
|
+
* Key used in request params to bypass ownership filtering (tenantId/applicationId).
|
|
2698
|
+
* Similar to ABP Framework's filter disabling mechanism.
|
|
2699
|
+
*
|
|
2700
|
+
* Usage:
|
|
2701
|
+
* ```typescript
|
|
2702
|
+
* await storageService.query(entityName, {
|
|
2703
|
+
* ...request,
|
|
2704
|
+
* params: { [OWNERSHIP_FILTER_BYPASS]: 'true' }
|
|
2705
|
+
* });
|
|
2706
|
+
* ```
|
|
2707
|
+
*/
|
|
2708
|
+
declare const OWNERSHIP_FILTER_BYPASS = "__bypassOwnershipFilter";
|
|
2709
|
+
/**
|
|
2710
|
+
* Middleware that automatically filters out records with `isSystem` or `isHidden` flags
|
|
2711
|
+
* from query and getAll operations.
|
|
2712
|
+
*
|
|
2713
|
+
* This ensures that:
|
|
2714
|
+
* - System records (isSystem: true) are hidden from regular users
|
|
2715
|
+
* - Hidden records (isHidden: true) are not visible in lists
|
|
2716
|
+
* - Records are filtered by current tenant and application context
|
|
2717
|
+
* - Single record lookups (getOne) still work for direct access
|
|
2718
|
+
* - Filtering can be bypassed using VISIBILITY_FILTER_BYPASS or OWNERSHIP_FILTER_BYPASS in request params
|
|
2719
|
+
*
|
|
2720
|
+
* Bypass options:
|
|
2721
|
+
* - VISIBILITY_FILTER_BYPASS: Bypasses isHidden filtering only
|
|
2722
|
+
* - OWNERSHIP_FILTER_BYPASS: Bypasses tenantId/applicationId filtering only
|
|
2723
|
+
* - Both: Bypasses all filtering
|
|
2724
|
+
*
|
|
2725
|
+
* Note: This is applied AFTER the data is fetched from storage.
|
|
2726
|
+
*/
|
|
2727
|
+
declare const visibilityFilterMiddleware: AXPEntityStorageMiddleware;
|
|
2728
|
+
|
|
2729
|
+
/**
|
|
2730
|
+
* Helper function to create a query request that bypasses visibility filtering (isHidden flag).
|
|
2731
|
+
* Similar to ABP Framework's filter disabling pattern.
|
|
2732
|
+
*
|
|
2733
|
+
* @example
|
|
2734
|
+
* ```typescript
|
|
2735
|
+
* // Bypass visibility filter for authentication
|
|
2736
|
+
* const users = await storageService.query(
|
|
2737
|
+
* entityName,
|
|
2738
|
+
* bypassVisibilityFilter({ skip: 0, take: 1000 })
|
|
2739
|
+
* );
|
|
2740
|
+
* ```
|
|
2741
|
+
*/
|
|
2742
|
+
declare function bypassVisibilityFilter<T extends AXPQueryRequest>(request: T): T;
|
|
2743
|
+
/**
|
|
2744
|
+
* Helper function to create a query request that bypasses ownership filtering (tenantId/applicationId).
|
|
2745
|
+
* Similar to ABP Framework's filter disabling pattern.
|
|
2746
|
+
*
|
|
2747
|
+
* @example
|
|
2748
|
+
* ```typescript
|
|
2749
|
+
* // Bypass ownership filter to query across tenants/applications
|
|
2750
|
+
* const records = await storageService.query(
|
|
2751
|
+
* entityName,
|
|
2752
|
+
* bypassOwnershipFilter({ skip: 0, take: 1000 })
|
|
2753
|
+
* );
|
|
2754
|
+
* ```
|
|
2755
|
+
*/
|
|
2756
|
+
declare function bypassOwnershipFilter<T extends AXPQueryRequest>(request: T): T;
|
|
2757
|
+
/**
|
|
2758
|
+
* Helper function to create a query request that bypasses both visibility and ownership filtering.
|
|
2759
|
+
* Similar to ABP Framework's filter disabling pattern.
|
|
2760
|
+
*
|
|
2761
|
+
* @example
|
|
2762
|
+
* ```typescript
|
|
2763
|
+
* // Bypass all filters for system operations
|
|
2764
|
+
* const records = await storageService.query(
|
|
2765
|
+
* entityName,
|
|
2766
|
+
* bypassAllFilters({ skip: 0, take: 1000 })
|
|
2767
|
+
* );
|
|
2768
|
+
* ```
|
|
2769
|
+
*/
|
|
2770
|
+
declare function bypassAllFilters<T extends AXPQueryRequest>(request: T): T;
|
|
2771
|
+
|
|
3735
2772
|
declare const AXCMockEntityLogListener: AXPDistributedEventListenerProvider<any>;
|
|
3736
2773
|
|
|
3737
|
-
export { APPLICATIONS, AXCAppTermDataSeeder, AXCAppVersionDataSeeder, AXCApplicationDataSeeder, AXCApplicationManagementMockModule, AXCAssessmentManagementMockModule, AXCAssetManagementMockModule, AXCAuthMockModule, AXCCalendarDataSeeder, AXCCalendarEventDataSeeder, AXCCalendarManagementMockModule, AXCCommonMockModule, AXCContactManagementMockModule, AXCContentManagementMockModule, AXCConversationMockModule, AXCCustomerManagementMockModule, AXCDashboardManagementMockModule, AXCDataManagementMockModule, AXCDexieEntityStorageService, AXCDocumentManagementMockModule, AXCEditionDataSeeder,
|
|
3738
|
-
export type { AXCBusinessUnitMockDto,
|
|
2774
|
+
export { APPLICATIONS, AXCAppTermDataSeeder, AXCAppVersionDataSeeder, AXCApplicationDataSeeder, AXCApplicationManagementMockModule, AXCAssessmentManagementMockModule, AXCAssetManagementMockModule, AXCAuthMockModule, AXCCalendarDataSeeder, AXCCalendarEventDataSeeder, AXCCalendarManagementMockModule, AXCCommonMockModule, AXCContactManagementMockModule, AXCContentManagementMockModule, AXCConversationMockModule, AXCCustomerManagementMockModule, AXCDashboardManagementMockModule, AXCDataManagementMockModule, AXCDexieEntityStorageService, AXCDocumentManagementMockModule, AXCEditionDataSeeder, AXCFileStorageService, AXCFinancialCoreMockModule, AXCFormTemplateManagementMockModule, AXCGoogleStrategyMock, AXCHelpDeskMockModule, AXCHumanCapitalManagementMockModule, AXCIdentifierManagementMockModule, AXCJsaSeeder, AXCLearningManagementMockModule, AXCLocaleManagementMockModule, AXCLocationManagementMockModule, AXCLockService, AXCMeasurementCoreMockModule, AXCMeetingManagementMockModule, AXCMetaDataDefinitionDataSeeder, AXCMetadataCategorySeeder, AXCMiddlewaresModule, AXCMockEntityLogListener, AXCMockModule, AXCNotificationManagementMockModule, AXCOrderManagementMockModule, AXCOrganizationManagementMockModule, AXCPersonManagementMockModule, AXCPlatformManagementMockModule, AXCProcurementManagementMockModule, AXCProductCatalogMockModule, AXCProjectManagementMockModule, AXCQueryCategoryMetadataInheritanceQuery, AXCReportManagementMockModule, AXCSecurityManagementMockModule, AXCSubscriptionManagementMockModule, AXCSupplierManagementMockModule, AXCTaskManagementMockModule, AXCTenantManagementMockModule, AXCTenantSeeder, AXCTokensDataSeeder, AXCUserPassStrategyMock, AXCVersionDB, AXCVersioningService, AXCWorkflowDefinitionDataSeeder, AXCWorkflowExecutionDB, AXCWorkflowExecutionService, AXCWorkflowManagementMockModule, AXMAiResponderService, AXMAssessmentCaseDataSeeder, AXMAssessmentSessionDataSeeder, AXMBusinessUnitDataSeeder, AXMCalendarEventTypeSeeder, AXMEmployeeDataSeeder, AXMEmploymentTypeDataSeeder, AXMFormDataSourcesProvider, AXMJobDefinitionDataSeeder, AXMJobLevelDataSeeder, AXMLeaveRequestDataSeeder, AXMMeetingDataSeeder, AXMMeetingFilesDataSeeder, AXMMeetingParticipantDataSeeder, AXMMeetingRoleTypeDataSeeder, AXMMeetingSessionDataSeeder, AXMMeetingTypeDataSeeder, AXMMeetingTypeFileTemplateDataSeeder, AXMPositionAssignmentDataSeeder, AXMPositionDataSeeder, AXMQuestionBankItemCategoryDataSeeder, AXMQuestionBankItemDataSeeder, AXMQuestionnaireCategoryDataSeeder, AXMQuestionnaireDataSeeder, AXMReportCategoryDataSeeder, AXMReportDefinitionDataSeeder, AXMReportExecuteCommand, AXMResponsibilityDataSeeder, AXMTagDataSeeder, AXMTeamDataSeeder, AXPDashboardDataSeeder, AXPIdentifierDB, AXPMessageDataSeeder, AXPMockChecksumProvider, AXPMockClockProvider, AXPMockIdentifierService, AXPMockLookupProvider, AXPMockPolicyProvider, AXPMockSequenceProvider, AXPRoomDataSeeder, AXPSecurityManagementRoleDataSeeder, AXPSecurityManagementUserDataSeeder, AXPTaskBoardPlatformManagementTaskProvider, AXPTaskBoardProjectManagementTaskProvider, AXVChangeType, BUSINESS_UNITS_MOCK, COSTMANAGER_ENTERPRISE, COSTMANAGER_PROFESSIONAL, COSTMANAGER_STANDARD, CRM_ENTERPRISE, CheckPermissionActivity, DASHBOARDS, EDITIONS, EMPLOYEES_MOCK, EMPLOYMENT_TYPES_MOCK, ExecuteCommandActivity, ExecuteQueryActivity, FINANCE_BASIC, FINANCE_ENTERPRISE, FINANCE_PRO, HR_ENTERPRISE, JOB_DEFINITIONS_CATEGORY_MOCK, JOB_DEFINITIONS_MOCK, JOB_LEVELS_MOCK, LASER_PLUMBING_TENANT_ID, LEAVE_REQUESTS_MOCK, MockModuleAccessControlService, ORDERING_BASIC, ORDERING_ENTERPRISE, ORDERING_STANDARD, OWNERSHIP_FILTER_BYPASS, PLATFORM_CONSOLE, PLATFORM_TENANT_ID, POSITIONS_CATEGORY_MOCK, POSITIONS_MOCK, POSITION_ASSIGNMENTS_MOCK, QUESTIONNAIRE_CATEGORY_MOCK, QUESTION_BANK_ITEM_CATEGORY_MOCK, RESPONSIBILITIES_CATEGORY_MOCK, RESPONSIBILITIES_MOCK, SAFETYMINDER_BASIC, SAFETYMINDER_ENTERPRISE, SAFETYMINDER_PROFESSIONAL, SHOP_BASIC, SHOP_ENTERPRISE, SHOP_PRO, TAGS_MOCK, TASKS, TASK_STATUSES, TASK_TEMPLATES, TASK_TYPES, TEAMS_MOCK, TIMEPLICITY_TENANT_ID, TOKENS, VISIBILITY_FILTER_BYPASS, assessmentCaseMock, assessmentSessionMock, auditLoggerMiddleware, avatarInterface, axVersionDB, axWorkflowExecutionDB, bypassAllFilters, bypassOwnershipFilter, bypassVisibilityFilter, calendarEventMock, calendarEventTypeMockData, calendarMock, checkboxInterface, childCountMiddleware, colorInterface, computeDiff, contactInterface, createAndSaveDashboardForUser, createDashboardForUser, createFileCastMiddleware, dateInterface, dateTimeInterface, descriptionInterface, emailInterface, fileUploaderInterface, findContactMethod, findEmployeeById, findPersonById, generateUserDashboard, groupOrderItemCalculatorMiddleware, historyLoggerMiddleware, identifierCommitMiddleware, imageInterface, lockGuardMiddleware, longTextAnswerInterface, lookupInterface, lookupResolverMiddleware, mapInterface, meetingFilesMock, meetingIds, meetingMock, meetingParticipantMock, meetingRoleTypeMock, meetingSessionMock, meetingTimeSlotMock, meetingTypeFileTemplateMock, meetingTypeMock, mergeDetailRelationMiddleware, metadataCategoryMocks, mockRoleDefinitions, mockUsers, multipleChoiceInterface, multipleSelectInterface, normalizeAnyFileArrayForView, normalizeSnapshotFileFieldsForView, numberInterface, participantIds, passwordInterface, phoneInterface, primaryMiddleware, provideWorkflowActivities, qrcodeInterface, questionBankItemMock, questionnaireMock, ratingInterface, richTextInterface, scaleInterface, selectInterface, selectionListInterface, signatureInterface, signatureLoaderMiddleware, tagInterface, tenantMocks, textAreaInterface, textInterface, timeDurationInterface, titleInterface, toUiRows, toggleInterface, urlInterface, versionInterface, visibilityFilterMiddleware, workflowDefinitionEntityMock, workflowDefinitionIds, workflowDefinitionMock, yesNoInterface };
|
|
2775
|
+
export type { AXCBusinessUnitMockDto, AXCLeaveRequestMockDto, AXCPositionAssignmentMockDto, AXCTeamMockDto, AXMTag, AXPLogRow, AXPRuleRow, AXPSeqRow, AXPVersionChange, AXPVersionEntry, AXPVersionStream, CanonicalChange, CanonicalChangeOp, CategoryMetadataInheritanceGroupResult, CategoryMetadataInheritanceQueryParams, CategoryMetadataInheritanceResult, CheckPermissionInput, CheckPermissionOutput, ExecuteCommandInput, ExecuteCommandOutput, ExecuteQueryInput, ExecuteQueryOutput, JobDefinitionMockDto, JobLevelMockDto, MockUserPassCredentials, PersonMockData, PositionMockDto, QuestionBankItemMockDto, QuestionnaireMockDto, ResponsibilityMockDto, Task, TaskStatus, TaskTemplate, TaskType, UIDiffRow, VersionedFileInfo };
|