@acorex/connectivity 21.0.0-next.16 → 21.0.0-next.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/acorex-connectivity-mock-assign-to-manager.command-T6-ao4e9.mjs +66 -0
- package/fesm2022/acorex-connectivity-mock-assign-to-manager.command-T6-ao4e9.mjs.map +1 -0
- package/fesm2022/acorex-connectivity-mock-check-permission.command-C-AZTcHP.mjs +53 -0
- package/fesm2022/acorex-connectivity-mock-check-permission.command-C-AZTcHP.mjs.map +1 -0
- package/fesm2022/acorex-connectivity-mock.mjs +20143 -4194
- package/fesm2022/acorex-connectivity-mock.mjs.map +1 -1
- package/mock/index.d.ts +127 -59
- package/package.json +2 -2
package/mock/index.d.ts
CHANGED
|
@@ -15,13 +15,15 @@ import { AXMSecurityManagementRolesEntityModel, AXMSecurityManagementUsersEntity
|
|
|
15
15
|
import { AXPSpreadsheetData } from '@acorex/platform/layout/components';
|
|
16
16
|
import * as _acorex_platform_common from '@acorex/platform/common';
|
|
17
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';
|
|
18
|
+
import { AXMPersonCorePersonIdentifierTypeEntityModel, AXMPersonCorePersonRelationshipTypeEntityModel } from '@acorex/modules/person-core';
|
|
19
|
+
import { AXPWorkflowDefinition, AXPActivityCategory, AXPActivityDefinition, AXPWorkflowCategory, AXPWorkflowInstance, AXPWorkflowEngine, AXPStartWorkflowRequest, AXPStartWorkflowResponse, AXPResumeWorkflowRequest, AXPResumeWorkflowResponse, AXPGetWorkflowStateRequest, AXPWorkflowInstanceState, AXPFrontActivityCompleteRequest, AXPFrontActivityCompleteResponse } from '@acorex/platform/workflow';
|
|
18
20
|
import { AXMWorkflowManagementWorkflowDefinitionEntityModel } from '@acorex/modules/workflow-management';
|
|
19
|
-
import { AXPActivityCategory, AXPActivityDefinition, AXPWorkflowCategory, AXPWorkflowCategoryProvider, AXPWorkflowInstance, AXPWorkflowEngine, AXPStartWorkflowRequest, AXPStartWorkflowResponse, AXPResumeWorkflowRequest, AXPResumeWorkflowResponse, AXPGetWorkflowStateRequest, AXPWorkflowInstanceState, AXPFrontActivityCompleteRequest, AXPFrontActivityCompleteResponse, AXPWorkflowDefinition } from '@acorex/platform/workflow';
|
|
20
21
|
import { AXPWorkflowTaskProvider, AXPTaskFilter, AXPTask, AXPExtraField, AXPTaskStatus } from '@acorex/modules/task-management';
|
|
22
|
+
import { AXMMetaDataDefinitionEntityModel, AXMMetaDataSelectorValue, AXMDataManagementEquipmentEntityModel } from '@acorex/modules/data-management';
|
|
23
|
+
import { AXPWidgetNode } from '@acorex/platform/layout/widget-core';
|
|
21
24
|
import { AXMCommonDashboardEntityModel } from '@acorex/modules/dashboard-management';
|
|
22
25
|
import * as _acorex_modules_calendar_management from '@acorex/modules/calendar-management';
|
|
23
26
|
import { AXMCalendarManagementCalendarEventTypeEntityModel } from '@acorex/modules/calendar-management';
|
|
24
|
-
import { AXPWidgetNode } from '@acorex/platform/layout/widget-core';
|
|
25
27
|
import { AXPIdentifierRule, AXPClockProvider, AXPChecksumProvider, AXPPolicyProvider, AXPLookupProvider, AXPSequenceProvider, AXPIdentifierService, AXPIdentifierRequest, AXPIdentifierResult, AXPIdentifierPeekResult } from '@acorex/modules/identifier-management';
|
|
26
28
|
|
|
27
29
|
declare class AXCCommonMockModule {
|
|
@@ -210,6 +212,12 @@ declare class AXCTaskManagementMockModule {
|
|
|
210
212
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXCTaskManagementMockModule>;
|
|
211
213
|
}
|
|
212
214
|
|
|
215
|
+
declare class AXCPersonCoreMockModule {
|
|
216
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXCPersonCoreMockModule, never>;
|
|
217
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCPersonCoreMockModule, never, never, never>;
|
|
218
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AXCPersonCoreMockModule>;
|
|
219
|
+
}
|
|
220
|
+
|
|
213
221
|
declare class AXCPersonManagementMockModule {
|
|
214
222
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXCPersonManagementMockModule, never>;
|
|
215
223
|
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCPersonManagementMockModule, never, never, never>;
|
|
@@ -279,7 +287,7 @@ declare class AXCMiddlewaresModule {
|
|
|
279
287
|
declare class AXCMockModule {
|
|
280
288
|
constructor(appInitService: AXPAppStartUpService, injector: Injector);
|
|
281
289
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXCMockModule, never>;
|
|
282
|
-
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 AXCWorkflowManagementMockModule, typeof AXCNotificationManagementMockModule, typeof AXCTaskManagementMockModule, typeof AXCPersonManagementMockModule, typeof AXCContentManagementMockModule, typeof AXCMeetingManagementMockModule, typeof AXCSettingsManagementMockModule, typeof AXCAssessmentManagementMockModule, typeof AXCFinancialCoreMockModule, typeof AXCMeasurementCoreMockModule, typeof AXCBusinessCoreMockModule, typeof AXCProductCatalogMockModule, typeof AXCReservationManagementMockModule, typeof AXCMiddlewaresModule], never>;
|
|
290
|
+
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 AXCWorkflowManagementMockModule, typeof AXCNotificationManagementMockModule, typeof AXCTaskManagementMockModule, typeof AXCPersonCoreMockModule, typeof AXCPersonManagementMockModule, typeof AXCContentManagementMockModule, typeof AXCMeetingManagementMockModule, typeof AXCSettingsManagementMockModule, typeof AXCAssessmentManagementMockModule, typeof AXCFinancialCoreMockModule, typeof AXCMeasurementCoreMockModule, typeof AXCBusinessCoreMockModule, typeof AXCProductCatalogMockModule, typeof AXCReservationManagementMockModule, typeof AXCMiddlewaresModule], never>;
|
|
283
291
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXCMockModule>;
|
|
284
292
|
}
|
|
285
293
|
|
|
@@ -1304,6 +1312,12 @@ declare class AXMLeaveRequestDataSeeder implements AXPDataSeeder {
|
|
|
1304
1312
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXMLeaveRequestDataSeeder>;
|
|
1305
1313
|
}
|
|
1306
1314
|
|
|
1315
|
+
type PersonIdentifierTypeMockDto = AXMPersonCorePersonIdentifierTypeEntityModel;
|
|
1316
|
+
declare const personIdentifierTypeMock: PersonIdentifierTypeMockDto[];
|
|
1317
|
+
|
|
1318
|
+
type PersonRelationshipTypeMockDto = AXMPersonCorePersonRelationshipTypeEntityModel;
|
|
1319
|
+
declare const personRelationshipTypeMock: PersonRelationshipTypeMockDto[];
|
|
1320
|
+
|
|
1307
1321
|
interface PersonMockData {
|
|
1308
1322
|
id: string;
|
|
1309
1323
|
firstName: string;
|
|
@@ -1397,10 +1411,16 @@ interface TaskTemplate {
|
|
|
1397
1411
|
declare const TASK_TEMPLATES: TaskTemplate[];
|
|
1398
1412
|
|
|
1399
1413
|
/**
|
|
1400
|
-
* Mock workflow
|
|
1414
|
+
* Mock workflow definitions for testing and demonstration.
|
|
1415
|
+
* Used by workflow-definition provider and entity list.
|
|
1401
1416
|
*/
|
|
1417
|
+
declare const workflowDefinitionMock: AXPWorkflowDefinition[];
|
|
1418
|
+
declare const workflowDefinitionIds: {
|
|
1419
|
+
createLeaveRequest: string;
|
|
1420
|
+
};
|
|
1402
1421
|
/**
|
|
1403
|
-
* Mock workflow definition entities for the entity list.
|
|
1422
|
+
* Mock workflow definition entities for the entity list and seeder.
|
|
1423
|
+
* Attach Staff category directly to entity (similar to other mocks that bind category in data).
|
|
1404
1424
|
*/
|
|
1405
1425
|
declare const workflowDefinitionEntityMock: AXMWorkflowManagementWorkflowDefinitionEntityModel[];
|
|
1406
1426
|
|
|
@@ -1411,6 +1431,14 @@ declare class AXCWorkflowDefinitionDataSeeder implements AXPDataSeeder {
|
|
|
1411
1431
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXCWorkflowDefinitionDataSeeder>;
|
|
1412
1432
|
}
|
|
1413
1433
|
|
|
1434
|
+
/**
|
|
1435
|
+
* Activity categories with stable IDs (same pattern as metadata-category).
|
|
1436
|
+
* Uses childrenCount & itemsCount for performance:
|
|
1437
|
+
* - childrenCount: Direct child categories (for lazy loading)
|
|
1438
|
+
* - itemsCount: Direct activities in this category
|
|
1439
|
+
*/
|
|
1440
|
+
declare const activityCategoryMocks: AXPActivityCategory[];
|
|
1441
|
+
/** @deprecated Use activityCategoryMocks. Kept for backward compatibility (seeder, etc.). */
|
|
1414
1442
|
declare const ACTIVITY_CATEGORIES: AXPActivityCategory[];
|
|
1415
1443
|
|
|
1416
1444
|
declare class AXCActivityCategorySeeder implements AXPDataSeeder {
|
|
@@ -1429,18 +1457,21 @@ declare class AXCActivityDefinitionSeeder implements AXPDataSeeder {
|
|
|
1429
1457
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXCActivityDefinitionSeeder>;
|
|
1430
1458
|
}
|
|
1431
1459
|
|
|
1460
|
+
/**
|
|
1461
|
+
* Single workflow category for company: Staff.
|
|
1462
|
+
* Workflow provider maps this category to Leave Request workflow.
|
|
1463
|
+
*/
|
|
1432
1464
|
declare const WORKFLOW_CATEGORIES: AXPWorkflowCategory[];
|
|
1433
1465
|
|
|
1434
1466
|
/**
|
|
1435
|
-
*
|
|
1436
|
-
*
|
|
1437
|
-
* Provides workflow categories from mock data.
|
|
1467
|
+
* Seeds workflow categories into entity storage.
|
|
1468
|
+
* Module’s AXMWorkflowCategoryProvider reads from this key (same pattern as report categories).
|
|
1438
1469
|
*/
|
|
1439
|
-
declare class
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
1443
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
1470
|
+
declare class AXCWorkflowCategorySeeder implements AXPDataSeeder {
|
|
1471
|
+
private readonly storageService;
|
|
1472
|
+
seed(): Promise<void>;
|
|
1473
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXCWorkflowCategorySeeder, never>;
|
|
1474
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXCWorkflowCategorySeeder>;
|
|
1444
1475
|
}
|
|
1445
1476
|
|
|
1446
1477
|
type extraFields$1 = {
|
|
@@ -1616,6 +1647,59 @@ declare class AXCMetadataCategorySeeder implements AXPDataSeeder {
|
|
|
1616
1647
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXCMetadataCategorySeeder>;
|
|
1617
1648
|
}
|
|
1618
1649
|
|
|
1650
|
+
interface MetadataElectricityMockDto extends AXMMetaDataDefinitionEntityModel, AXPCategorizedEntityDto {
|
|
1651
|
+
id: string;
|
|
1652
|
+
name: string;
|
|
1653
|
+
title: string;
|
|
1654
|
+
defaultValue: string;
|
|
1655
|
+
interface: AXPWidgetNode;
|
|
1656
|
+
}
|
|
1657
|
+
/** Single category for all electricity metadata (تجهیزات) */
|
|
1658
|
+
declare const EQUIPMENT_CATEGORY_ID = "equipment";
|
|
1659
|
+
declare const metadataElectricityCategoryMocks: AXPCategoryEntity<string>[];
|
|
1660
|
+
declare const METADATA_ELECTRICITY_MOCK: MetadataElectricityMockDto[];
|
|
1661
|
+
|
|
1662
|
+
declare class AXCMetaDataDefinitionElectricityDataSeeder implements AXPDataSeeder {
|
|
1663
|
+
private storageService;
|
|
1664
|
+
seed(): Promise<void>;
|
|
1665
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXCMetaDataDefinitionElectricityDataSeeder, never>;
|
|
1666
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXCMetaDataDefinitionElectricityDataSeeder>;
|
|
1667
|
+
}
|
|
1668
|
+
|
|
1669
|
+
declare class AXCMetadataElectricityCategorySeeder implements AXPDataSeeder {
|
|
1670
|
+
private readonly storageService;
|
|
1671
|
+
seed(): Promise<void>;
|
|
1672
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXCMetadataElectricityCategorySeeder, never>;
|
|
1673
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXCMetadataElectricityCategorySeeder>;
|
|
1674
|
+
}
|
|
1675
|
+
|
|
1676
|
+
/**
|
|
1677
|
+
* Equipment categories built from equipment-type-meta-data-list.json.
|
|
1678
|
+
* Each entry has typeCode, categoryId, and metaDataList (groups with fields).
|
|
1679
|
+
*/
|
|
1680
|
+
type EquipmentCategoryMockDto = AXPCategoryEntity & {
|
|
1681
|
+
icon?: string;
|
|
1682
|
+
color?: string;
|
|
1683
|
+
metaDataList?: AXMMetaDataSelectorValue;
|
|
1684
|
+
};
|
|
1685
|
+
declare const equipmentCategoryMocks: EquipmentCategoryMockDto[];
|
|
1686
|
+
|
|
1687
|
+
declare class AXCEquipmentCategorySeeder implements AXPDataSeeder {
|
|
1688
|
+
private readonly storageService;
|
|
1689
|
+
seed(): Promise<void>;
|
|
1690
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXCEquipmentCategorySeeder, never>;
|
|
1691
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXCEquipmentCategorySeeder>;
|
|
1692
|
+
}
|
|
1693
|
+
|
|
1694
|
+
declare const equipmentMocks: AXMDataManagementEquipmentEntityModel[];
|
|
1695
|
+
|
|
1696
|
+
declare class AXCEquipmentSeeder implements AXPDataSeeder {
|
|
1697
|
+
private readonly storageService;
|
|
1698
|
+
seed(): Promise<void>;
|
|
1699
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXCEquipmentSeeder, never>;
|
|
1700
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXCEquipmentSeeder>;
|
|
1701
|
+
}
|
|
1702
|
+
|
|
1619
1703
|
interface AXMTag {
|
|
1620
1704
|
id: string;
|
|
1621
1705
|
title: string;
|
|
@@ -2342,6 +2426,8 @@ declare class AXCWorkflowEngine implements AXPWorkflowEngine {
|
|
|
2342
2426
|
private readonly entityStorageService;
|
|
2343
2427
|
private readonly activityDefinitionService;
|
|
2344
2428
|
private readonly workflowProviders;
|
|
2429
|
+
private readonly expressionScopeService;
|
|
2430
|
+
private readonly expressionEvaluator;
|
|
2345
2431
|
/**
|
|
2346
2432
|
* Get workflow definition by name using workflow providers.
|
|
2347
2433
|
* Falls back to entity storage query by name if providers fail.
|
|
@@ -2385,6 +2471,11 @@ declare class AXCWorkflowEngine implements AXPWorkflowEngine {
|
|
|
2385
2471
|
* Find activity in Graph by ID.
|
|
2386
2472
|
*/
|
|
2387
2473
|
private findActivityInGraph;
|
|
2474
|
+
/**
|
|
2475
|
+
* Ensure value is a plain object for use as scope.outputs.
|
|
2476
|
+
* Each step overwrites outputs; the next activity's input sees this as outputs.id, outputs.xxx, etc.
|
|
2477
|
+
*/
|
|
2478
|
+
private ensureOutputsForScope;
|
|
2388
2479
|
/**
|
|
2389
2480
|
* Resume a suspended workflow instance.
|
|
2390
2481
|
*
|
|
@@ -2423,20 +2514,10 @@ declare class AXCWorkflowEngine implements AXPWorkflowEngine {
|
|
|
2423
2514
|
* @returns Promise of execution mode: 'frontend', 'backend', or 'both'
|
|
2424
2515
|
*/
|
|
2425
2516
|
private determineExecutionMode;
|
|
2426
|
-
/**
|
|
2427
|
-
* Evaluate expressions in activity inputs.
|
|
2428
|
-
* Supports ${var} and ${path.to.value} syntax.
|
|
2429
|
-
* Handles nested objects and arrays.
|
|
2430
|
-
* Supports mixed strings: "Hello ${user.name}"
|
|
2431
|
-
*
|
|
2432
|
-
* @param inputs - Activity inputs (may contain expressions)
|
|
2433
|
-
* @param context - Context object with variables (workflow input, variables, output)
|
|
2434
|
-
* @returns Evaluated inputs with expressions replaced
|
|
2435
|
-
*/
|
|
2436
|
-
private evaluateActivityInputs;
|
|
2437
2517
|
/**
|
|
2438
2518
|
* Create a task from a workflow activity.
|
|
2439
2519
|
* Inspired by Temporal's Activity Task and Elsa's Bookmark pattern.
|
|
2520
|
+
* Uses same expression scope (inputs, variables, outputs, context.eval) as backend execution.
|
|
2440
2521
|
*/
|
|
2441
2522
|
private createTaskFromActivity;
|
|
2442
2523
|
/**
|
|
@@ -2452,11 +2533,16 @@ declare class AXCWorkflowEngine implements AXPWorkflowEngine {
|
|
|
2452
2533
|
* Execute backend activities locally using CommandBus.
|
|
2453
2534
|
*
|
|
2454
2535
|
* Backend activities are registered as Commands and executed via CommandService.
|
|
2455
|
-
*
|
|
2456
|
-
*
|
|
2457
|
-
*
|
|
2536
|
+
* Uses WorkflowExpressionScopeService + AXPExpressionEvaluatorService for expression
|
|
2537
|
+
* evaluation (inputs, variables, outputs, context.eval) so backend activities get the
|
|
2538
|
+
* same expression handling as the platform ActivityExecutor.
|
|
2458
2539
|
*/
|
|
2459
2540
|
private executeBackendActivityLocally;
|
|
2541
|
+
/**
|
|
2542
|
+
* Build variable updates from activity output using activity's outputToVariables (BPMN-style: activity → variable).
|
|
2543
|
+
* For each entry in activity.outputToVariables, sets variables[variableName] = output[outputPath].
|
|
2544
|
+
*/
|
|
2545
|
+
private getVariableUpdatesFromOutput;
|
|
2460
2546
|
/**
|
|
2461
2547
|
* Set variable activity - stores value in workflow state.
|
|
2462
2548
|
*/
|
|
@@ -2477,23 +2563,6 @@ declare class AXCWorkflowEngine implements AXPWorkflowEngine {
|
|
|
2477
2563
|
* @returns Bookmark ID
|
|
2478
2564
|
*/
|
|
2479
2565
|
private createBookmark;
|
|
2480
|
-
/**
|
|
2481
|
-
* Create a work item from a bookmark (only for human-task activities).
|
|
2482
|
-
*
|
|
2483
|
-
* @param instanceId - Workflow instance ID
|
|
2484
|
-
* @param activityId - Activity ID
|
|
2485
|
-
* @param bookmarkId - Bookmark ID
|
|
2486
|
-
* @param activityDef - Activity definition (optional, for title)
|
|
2487
|
-
*/
|
|
2488
|
-
private createWorkItemFromBookmark;
|
|
2489
|
-
/**
|
|
2490
|
-
* Update work items entity reference after entity is created.
|
|
2491
|
-
*/
|
|
2492
|
-
private updateWorkItemsEntityRef;
|
|
2493
|
-
/**
|
|
2494
|
-
* Update work item assignee from entity data (e.g., employee.manager.userId for leave requests).
|
|
2495
|
-
*/
|
|
2496
|
-
private updateWorkItemAssigneeFromEntity;
|
|
2497
2566
|
/**
|
|
2498
2567
|
* Consume (mark as consumed) a bookmark for a workflow instance.
|
|
2499
2568
|
*
|
|
@@ -2559,19 +2628,6 @@ declare class AXCWorkflowEngine implements AXPWorkflowEngine {
|
|
|
2559
2628
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXCWorkflowEngine>;
|
|
2560
2629
|
}
|
|
2561
2630
|
|
|
2562
|
-
/**
|
|
2563
|
-
* Mock workflow definitions for testing and demonstration.
|
|
2564
|
-
*/
|
|
2565
|
-
declare const workflowDefinitionMock: AXPWorkflowDefinition[];
|
|
2566
|
-
/**
|
|
2567
|
-
* Export definitionId list for easy access
|
|
2568
|
-
*/
|
|
2569
|
-
declare const workflowDefinitionIds: {
|
|
2570
|
-
createUser: string;
|
|
2571
|
-
welcome: string;
|
|
2572
|
-
dataProcessing: string;
|
|
2573
|
-
};
|
|
2574
|
-
|
|
2575
2631
|
declare const titleInterface: AXPWidgetNode;
|
|
2576
2632
|
declare const descriptionInterface: AXPWidgetNode;
|
|
2577
2633
|
declare const versionInterface: AXPWidgetNode;
|
|
@@ -2699,6 +2755,18 @@ declare class AXPMockIdentifierService extends AXPIdentifierService {
|
|
|
2699
2755
|
*/
|
|
2700
2756
|
declare const auditLoggerMiddleware: AXPEntityStorageMiddleware;
|
|
2701
2757
|
|
|
2758
|
+
/**
|
|
2759
|
+
* Category Resolver Middleware
|
|
2760
|
+
*
|
|
2761
|
+
* - On create/update: resolves categoryIds to full category objects with ancestor chain
|
|
2762
|
+
* and persists categories: [{id, parentId, title}, ...] on the record.
|
|
2763
|
+
* - On getOne/query/getAll: enriches records that have categoryIds but no categories
|
|
2764
|
+
* (e.g. seeded data) so the column can display full paths.
|
|
2765
|
+
*
|
|
2766
|
+
* Real API can return the same shape via JOIN; mock enriches at write and read time.
|
|
2767
|
+
*/
|
|
2768
|
+
declare const categoryResolverMiddleware: AXPEntityStorageMiddleware;
|
|
2769
|
+
|
|
2702
2770
|
declare const childCountMiddleware: AXPEntityStorageMiddleware;
|
|
2703
2771
|
|
|
2704
2772
|
/**
|
|
@@ -2894,5 +2962,5 @@ declare function bypassAllFilters<T extends AXPQueryRequest>(request: T): T;
|
|
|
2894
2962
|
|
|
2895
2963
|
declare const AXCMockEntityLogListener: AXPDistributedEventListenerProvider<any>;
|
|
2896
2964
|
|
|
2897
|
-
export { ACTIVITY_CATEGORIES, ACTIVITY_DEFINITIONS, APPLICATIONS, AXCActivityCategorySeeder, AXCActivityDefinitionSeeder, 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, AXCImageCaptchaChallengeProviderMock, AXCJsaSeeder, AXCLearningManagementMockModule, AXCLocaleManagementMockModule, AXCLocationManagementMockModule, AXCLockService, AXCMeasurementCoreMockModule, AXCMeetingManagementMockModule, AXCMetaDataDefinitionDataSeeder, AXCMetadataCategorySeeder, AXCMiddlewaresModule, AXCMockCaptchaChallengeComponent, AXCMockEntityLogListener, AXCMockModule, AXCNotificationManagementMockModule, AXCOrderManagementMockModule, AXCOrganizationManagementMockModule, AXCPersonManagementMockModule, AXCPlatformManagementMockModule, AXCProcurementManagementMockModule, AXCProductCatalogMockModule, AXCProjectManagementMockModule, AXCQueryCategoryMetadataInheritanceQuery, AXCReportManagementMockModule, AXCSecurityManagementMockModule, AXCSubscriptionManagementMockModule, AXCSupplierManagementMockModule, AXCTaskManagementMockModule, AXCTenantManagementMockModule, AXCTenantSeeder, AXCTokensDataSeeder, AXCUserPassStrategyMock, AXCVersionDB, AXCVersioningService,
|
|
2898
|
-
export type { AXCBookmarkEntity, AXCBusinessUnitMockDto, AXCLeaveRequestMockDto, AXCPositionAssignmentMockDto, AXCTeamMemberMockDto, AXCTeamMemberRoleMockDto, AXCTeamMockDto, AXMTag, AXPLogRow, AXPRuleRow, AXPSeqRow, AXPVersionChange, AXPVersionEntry, AXPVersionStream, CanonicalChange, CanonicalChangeOp, CategoryMetadataInheritanceGroupResult, CategoryMetadataInheritanceQueryParams, CategoryMetadataInheritanceResult, JobDefinitionMockDto, JobLevelMockDto, MockUserPassCredentials, PersonMockData, PositionMockDto, QuestionBankItemMockDto, QuestionnaireMockDto, ResponsibilityMockDto, Task, TaskStatus, TaskTemplate, TaskType, UIDiffRow, VersionedFileInfo };
|
|
2965
|
+
export { ACTIVITY_CATEGORIES, ACTIVITY_DEFINITIONS, APPLICATIONS, AXCActivityCategorySeeder, AXCActivityDefinitionSeeder, AXCAppTermDataSeeder, AXCAppVersionDataSeeder, AXCApplicationDataSeeder, AXCApplicationManagementMockModule, AXCAssessmentManagementMockModule, AXCAssetManagementMockModule, AXCAuthMockModule, AXCCalendarDataSeeder, AXCCalendarEventDataSeeder, AXCCalendarManagementMockModule, AXCCommonMockModule, AXCContactManagementMockModule, AXCContentManagementMockModule, AXCConversationMockModule, AXCCustomerManagementMockModule, AXCDashboardManagementMockModule, AXCDataManagementMockModule, AXCDexieEntityStorageService, AXCDocumentManagementMockModule, AXCEditionDataSeeder, AXCEquipmentCategorySeeder, AXCEquipmentSeeder, AXCFileStorageService, AXCFinancialCoreMockModule, AXCFormTemplateManagementMockModule, AXCGoogleStrategyMock, AXCHelpDeskMockModule, AXCHumanCapitalManagementMockModule, AXCIdentifierManagementMockModule, AXCImageCaptchaChallengeProviderMock, AXCJsaSeeder, AXCLearningManagementMockModule, AXCLocaleManagementMockModule, AXCLocationManagementMockModule, AXCLockService, AXCMeasurementCoreMockModule, AXCMeetingManagementMockModule, AXCMetaDataDefinitionDataSeeder, AXCMetaDataDefinitionElectricityDataSeeder, AXCMetadataCategorySeeder, AXCMetadataElectricityCategorySeeder, AXCMiddlewaresModule, AXCMockCaptchaChallengeComponent, AXCMockEntityLogListener, AXCMockModule, AXCNotificationManagementMockModule, AXCOrderManagementMockModule, AXCOrganizationManagementMockModule, AXCPersonCoreMockModule, AXCPersonManagementMockModule, AXCPlatformManagementMockModule, AXCProcurementManagementMockModule, AXCProductCatalogMockModule, AXCProjectManagementMockModule, AXCQueryCategoryMetadataInheritanceQuery, AXCReportManagementMockModule, AXCSecurityManagementMockModule, AXCSubscriptionManagementMockModule, AXCSupplierManagementMockModule, AXCTaskManagementMockModule, AXCTenantManagementMockModule, AXCTenantSeeder, AXCTokensDataSeeder, AXCUserPassStrategyMock, AXCVersionDB, AXCVersioningService, AXCWorkflowCategorySeeder, AXCWorkflowDefinitionDataSeeder, AXCWorkflowEngine, AXCWorkflowExecutionDB, 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, AXMResponsibilityDataSeeder, AXMTagDataSeeder, AXMTeamDataSeeder, AXMTeamMemberDataSeeder, AXMTeamMemberRoleDataSeeder, 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, DASHBOARDS, EDITIONS, EMPLOYEES_MOCK, EMPLOYMENT_TYPES_MOCK, EQUIPMENT_CATEGORY_ID, 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, METADATA_ELECTRICITY_MOCK, 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, TEAM_MEMBERS_MOCK, TEAM_MEMBER_ROLES_MOCK, TIMEPLICITY_TENANT_ID, TOKENS, VISIBILITY_FILTER_BYPASS, WORKFLOW_CATEGORIES, activityCategoryMocks, assessmentCaseMock, assessmentSessionMock, auditLoggerMiddleware, avatarInterface, axVersionDB, axWorkflowExecutionDB, bypassAllFilters, bypassOwnershipFilter, bypassVisibilityFilter, calendarEventMock, calendarEventTypeMockData, calendarMock, categoryResolverMiddleware, checkboxInterface, childCountMiddleware, colorInterface, computeDiff, contactInterface, createAndSaveDashboardForUser, createDashboardForUser, createFileCastMiddleware, dateInterface, dateTimeInterface, descriptionInterface, emailInterface, equipmentCategoryMocks, equipmentMocks, fileUploaderInterface, findEmployeeById, findPersonById, generateUserDashboard, groupOrderItemCalculatorMiddleware, historyLoggerMiddleware, identifierCommitMiddleware, imageInterface, lockGuardMiddleware, longTextAnswerInterface, lookupInterface, lookupResolverMiddleware, mapInterface, meetingFilesMock, meetingIds, meetingMock, meetingParticipantMock, meetingRoleTypeMock, meetingSessionMock, meetingTimeSlotMock, meetingTypeFileTemplateMock, meetingTypeMock, mergeDetailRelationMiddleware, metadataCategoryMocks, metadataElectricityCategoryMocks, mockRoleDefinitions, mockUsers, multipleChoiceInterface, multipleSelectInterface, normalizeAnyFileArrayForView, normalizeSnapshotFileFieldsForView, numberInterface, participantIds, passwordInterface, personIdentifierTypeMock, personRelationshipTypeMock, phoneInterface, primaryMiddleware, 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 };
|
|
2966
|
+
export type { AXCBookmarkEntity, AXCBusinessUnitMockDto, AXCLeaveRequestMockDto, AXCPositionAssignmentMockDto, AXCTeamMemberMockDto, AXCTeamMemberRoleMockDto, AXCTeamMockDto, AXMTag, AXPLogRow, AXPRuleRow, AXPSeqRow, AXPVersionChange, AXPVersionEntry, AXPVersionStream, CanonicalChange, CanonicalChangeOp, CategoryMetadataInheritanceGroupResult, CategoryMetadataInheritanceQueryParams, CategoryMetadataInheritanceResult, JobDefinitionMockDto, JobLevelMockDto, MetadataElectricityMockDto, MockUserPassCredentials, PersonMockData, PositionMockDto, QuestionBankItemMockDto, QuestionnaireMockDto, ResponsibilityMockDto, Task, TaskStatus, TaskTemplate, TaskType, UIDiffRow, VersionedFileInfo };
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@acorex/connectivity",
|
|
3
|
-
"version": "21.0.0-next.
|
|
3
|
+
"version": "21.0.0-next.18",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@acorex/modules": "21.0.0-next.
|
|
5
|
+
"@acorex/modules": "21.0.0-next.18"
|
|
6
6
|
},
|
|
7
7
|
"sideEffects": false,
|
|
8
8
|
"module": "fesm2022/acorex-connectivity.mjs",
|