@acorex/connectivity 21.0.0-next.56 → 21.0.0-next.59

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.
Files changed (19) hide show
  1. package/fesm2022/{acorex-connectivity-mock-acorex-connectivity-mock-DjTpf9Cv.mjs → acorex-connectivity-mock-acorex-connectivity-mock-SjZSega-.mjs} +985 -642
  2. package/fesm2022/acorex-connectivity-mock-acorex-connectivity-mock-SjZSega-.mjs.map +1 -0
  3. package/fesm2022/{acorex-connectivity-mock-assign-to-manager.activity-DZKQcO6f.mjs → acorex-connectivity-mock-assign-to-manager.activity-BF9U-Hd6.mjs} +2 -2
  4. package/fesm2022/{acorex-connectivity-mock-assign-to-manager.activity-DZKQcO6f.mjs.map → acorex-connectivity-mock-assign-to-manager.activity-BF9U-Hd6.mjs.map} +1 -1
  5. package/fesm2022/{acorex-connectivity-mock-chat-generate-image.command-CtQaCk3Y.mjs → acorex-connectivity-mock-chat-generate-image.command-DhNpfDnJ.mjs} +2 -2
  6. package/fesm2022/{acorex-connectivity-mock-chat-generate-image.command-CtQaCk3Y.mjs.map → acorex-connectivity-mock-chat-generate-image.command-DhNpfDnJ.mjs.map} +1 -1
  7. package/fesm2022/{acorex-connectivity-mock-chat-synthesize-speech.command-DqsIX8B8.mjs → acorex-connectivity-mock-chat-synthesize-speech.command-Bz-zOFK0.mjs} +2 -2
  8. package/fesm2022/{acorex-connectivity-mock-chat-synthesize-speech.command-DqsIX8B8.mjs.map → acorex-connectivity-mock-chat-synthesize-speech.command-Bz-zOFK0.mjs.map} +1 -1
  9. package/fesm2022/{acorex-connectivity-mock-chat-transcribe-speech.command-B59uD75x.mjs → acorex-connectivity-mock-chat-transcribe-speech.command-frk47mU7.mjs} +2 -2
  10. package/fesm2022/{acorex-connectivity-mock-chat-transcribe-speech.command-B59uD75x.mjs.map → acorex-connectivity-mock-chat-transcribe-speech.command-frk47mU7.mjs.map} +1 -1
  11. package/fesm2022/{acorex-connectivity-mock-entity-create.activity-Ca19tIj4.mjs → acorex-connectivity-mock-entity-create.activity-CdoUzUvF.mjs} +10 -3
  12. package/fesm2022/acorex-connectivity-mock-entity-create.activity-CdoUzUvF.mjs.map +1 -0
  13. package/fesm2022/{acorex-connectivity-mock-user-roles-for-list-column.query-vEJew9Py.mjs → acorex-connectivity-mock-user-roles-for-list-column.query-CAhDQnWv.mjs} +2 -2
  14. package/fesm2022/{acorex-connectivity-mock-user-roles-for-list-column.query-vEJew9Py.mjs.map → acorex-connectivity-mock-user-roles-for-list-column.query-CAhDQnWv.mjs.map} +1 -1
  15. package/fesm2022/acorex-connectivity-mock.mjs +1 -1
  16. package/package.json +2 -2
  17. package/types/acorex-connectivity-mock.d.ts +51 -24
  18. package/fesm2022/acorex-connectivity-mock-acorex-connectivity-mock-DjTpf9Cv.mjs.map +0 -1
  19. package/fesm2022/acorex-connectivity-mock-entity-create.activity-Ca19tIj4.mjs.map +0 -1
@@ -105,6 +105,12 @@ declare class AXCOrderManagementMockModule {
105
105
  static ɵinj: i0.ɵɵInjectorDeclaration<AXCOrderManagementMockModule>;
106
106
  }
107
107
 
108
+ declare class AXCTenantManagementMockModule {
109
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCTenantManagementMockModule, never>;
110
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCTenantManagementMockModule, never, never, never>;
111
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCTenantManagementMockModule>;
112
+ }
113
+
108
114
  declare class AXCSubscriptionManagementMockModule {
109
115
  static ɵfac: i0.ɵɵFactoryDeclaration<AXCSubscriptionManagementMockModule, never>;
110
116
  static ɵmod: i0.ɵɵNgModuleDeclaration<AXCSubscriptionManagementMockModule, never, never, never>;
@@ -193,12 +199,6 @@ declare class AXCApplicationManagementMockModule {
193
199
  static ɵinj: i0.ɵɵInjectorDeclaration<AXCApplicationManagementMockModule>;
194
200
  }
195
201
 
196
- declare class AXCTenantManagementMockModule {
197
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCTenantManagementMockModule, never>;
198
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCTenantManagementMockModule, never, never, never>;
199
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCTenantManagementMockModule>;
200
- }
201
-
202
202
  declare class AXCLearningManagementMockModule {
203
203
  static ɵfac: i0.ɵɵFactoryDeclaration<AXCLearningManagementMockModule, never>;
204
204
  static ɵmod: i0.ɵɵNgModuleDeclaration<AXCLearningManagementMockModule, never, never, never>;
@@ -340,7 +340,7 @@ declare class AXCMiddlewaresModule {
340
340
  declare class AXCMockModule {
341
341
  constructor(appInitService: AXPAppStartUpService, injector: Injector);
342
342
  static ɵfac: i0.ɵɵFactoryDeclaration<AXCMockModule, never>;
343
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCMockModule, never, [typeof _acorex_platform_auth.AXPAuthModule, typeof AXCCommonMockModule, typeof AXCIdentifierManagementMockModule, typeof AXCSecurityManagementMockModule, typeof AXCFormTemplateManagementMockModule, typeof AXCBusinessCoreMockModule, typeof AXCCustomerManagementMockModule, typeof AXCSupplierManagementMockModule, typeof AXCProcurementManagementMockModule, typeof AXCOrderManagementMockModule, typeof AXCSubscriptionManagementMockModule, typeof AXCLocationManagementMockModule, typeof AXCContactCoreMockModule, typeof AXCOrganizationManagementMockModule, typeof AXCAssessmentManagementMockModule, typeof AXCHumanCapitalManagementMockModule, typeof AXCReportManagementMockModule, typeof AXCLocaleManagementMockModule, typeof AXCDashboardManagementMockModule, typeof AXCConversationMockModule, typeof AXCAuthMockModule, typeof AXCAiManagementMockModule, 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 AXCHealthCoreMockModule, typeof AXCContentManagementMockModule, typeof AXCMeetingManagementMockModule, typeof AXCSettingsManagementMockModule, typeof AXCFinancialCoreMockModule, typeof AXCMeasurementCoreMockModule, typeof AXCProductCatalogMockModule, typeof AXCReservationManagementMockModule, typeof AXCMaintenanceManagementMockModule, typeof AXCMiddlewaresModule], never>;
343
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCMockModule, never, [typeof _acorex_platform_auth.AXPAuthModule, typeof AXCCommonMockModule, typeof AXCIdentifierManagementMockModule, typeof AXCSecurityManagementMockModule, typeof AXCFormTemplateManagementMockModule, typeof AXCBusinessCoreMockModule, typeof AXCCustomerManagementMockModule, typeof AXCSupplierManagementMockModule, typeof AXCProcurementManagementMockModule, typeof AXCOrderManagementMockModule, typeof AXCTenantManagementMockModule, typeof AXCSubscriptionManagementMockModule, typeof AXCLocationManagementMockModule, typeof AXCContactCoreMockModule, typeof AXCOrganizationManagementMockModule, typeof AXCAssessmentManagementMockModule, typeof AXCHumanCapitalManagementMockModule, typeof AXCReportManagementMockModule, typeof AXCLocaleManagementMockModule, typeof AXCDashboardManagementMockModule, typeof AXCConversationMockModule, typeof AXCAuthMockModule, typeof AXCAiManagementMockModule, typeof AXCPlatformManagementMockModule, typeof AXCApplicationManagementMockModule, typeof AXCLearningManagementMockModule, typeof AXCAssetManagementMockModule, typeof AXCProjectManagementMockModule, typeof AXCDocumentManagementMockModule, typeof AXCHelpDeskMockModule, typeof AXCCalendarManagementMockModule, typeof AXCDataManagementMockModule, typeof AXCWorkflowManagementMockModule, typeof AXCNotificationManagementMockModule, typeof AXCTaskManagementMockModule, typeof AXCPersonCoreMockModule, typeof AXCHealthCoreMockModule, typeof AXCContentManagementMockModule, typeof AXCMeetingManagementMockModule, typeof AXCSettingsManagementMockModule, typeof AXCFinancialCoreMockModule, typeof AXCMeasurementCoreMockModule, typeof AXCProductCatalogMockModule, typeof AXCReservationManagementMockModule, typeof AXCMaintenanceManagementMockModule, typeof AXCMiddlewaresModule], never>;
344
344
  static ɵinj: i0.ɵɵInjectorDeclaration<AXCMockModule>;
345
345
  }
346
346
 
@@ -1122,6 +1122,8 @@ declare const COLLABORATION_STANDARD: AXMApplicationManagementEditionEntityModel
1122
1122
  declare class AXCEditionDataSeeder implements AXPDataSeeder {
1123
1123
  private readonly storageService;
1124
1124
  seed(): Promise<void>;
1125
+ /** Keeps Platform Console edition modules aligned when featureKeys change in mock data. */
1126
+ private syncPlatformConsoleEditionModules;
1125
1127
  static ɵfac: i0.ɵɵFactoryDeclaration<AXCEditionDataSeeder, never>;
1126
1128
  static ɵprov: i0.ɵɵInjectableDeclaration<AXCEditionDataSeeder>;
1127
1129
  }
@@ -1371,14 +1373,14 @@ declare const TOKENS: {
1371
1373
  }[];
1372
1374
 
1373
1375
  /**
1374
- * Tenant ID constants for use across mock data.
1375
- * These are generated once and exported to ensure consistency.
1376
+ * Stable tenant primary keys for mock data (not generated per process) so IndexedDB seeds,
1377
+ * tenant-user links, and subscriptions stay aligned across reloads and user switches.
1376
1378
  */
1377
- declare const PLATFORM_TENANT_ID: string;
1378
- declare const TIMEPLICITY_TENANT_ID: string;
1379
- declare const LASER_PLUMBING_TENANT_ID: string;
1379
+ declare const PLATFORM_TENANT_ID = "f0000002-0000-4000-a000-000000000001";
1380
+ declare const TIMEPLICITY_TENANT_ID = "f0000002-0000-4000-a000-000000000002";
1381
+ declare const LASER_PLUMBING_TENANT_ID = "f0000002-0000-4000-a000-000000000003";
1380
1382
  /** MAGFA — Iran commerce tenant for conversation / AI / reports demo. */
1381
- declare const MAGFA_TENANT_ID: string;
1383
+ declare const MAGFA_TENANT_ID = "f0000002-0000-4000-a000-000000000004";
1382
1384
 
1383
1385
  declare const tenantMocks: AXMTenantManagementTenantEntityModel[];
1384
1386
 
@@ -1394,8 +1396,10 @@ declare class AXPSecurityManagementRoleDataSeeder implements AXPDataSeeder {
1394
1396
  seed(): Promise<void>;
1395
1397
  /**
1396
1398
  * Updates permissions (and metadata) on seeded roles when mock definitions change.
1399
+ * Skips system/immutable roles — policy middleware rejects those updates on app startup.
1397
1400
  */
1398
1401
  private syncRolePermissionsFromMock;
1402
+ private isPolicyProtectedRole;
1399
1403
  static ɵfac: i0.ɵɵFactoryDeclaration<AXPSecurityManagementRoleDataSeeder, never>;
1400
1404
  static ɵprov: i0.ɵɵInjectableDeclaration<AXPSecurityManagementRoleDataSeeder>;
1401
1405
  }
@@ -1411,6 +1415,14 @@ declare class AXPSecurityManagementUserDataSeeder implements AXPDataSeeder {
1411
1415
  private readonly storageService;
1412
1416
  private readonly backend;
1413
1417
  seed(): Promise<void>;
1418
+ /**
1419
+ * Inserts mock users added after the first IndexedDB seed (e.g. demo accounts for new features).
1420
+ */
1421
+ private syncMissingUsersFromMock;
1422
+ /**
1423
+ * Aligns stored user ownership with mock data so tenant-scoped list filtering works after re-seeds.
1424
+ */
1425
+ private syncOwnershipInfoFromMock;
1414
1426
  /**
1415
1427
  * Keeps MAGFA collaboration demo user aligned with the conversation-only role in storage.
1416
1428
  */
@@ -2043,6 +2055,10 @@ declare class AXCWorkflowEngine implements AXPWorkflowEngine {
2043
2055
  * Creates a workflow instance and stores it in IndexedDB.
2044
2056
  */
2045
2057
  start(request: AXPStartWorkflowRequest): Promise<AXPStartWorkflowResponse>;
2058
+ /**
2059
+ * Terminates a non-finished workflow instance (e.g. superseded lifecycle run).
2060
+ */
2061
+ cancelInstance(instanceId: string, reason?: string): Promise<void>;
2046
2062
  /**
2047
2063
  * Find activity in Graph by ID.
2048
2064
  */
@@ -2067,6 +2083,19 @@ declare class AXCWorkflowEngine implements AXPWorkflowEngine {
2067
2083
  * Used when building expression scope so that outputs.* (e.g. outputs.result, outputs.action) is available.
2068
2084
  */
2069
2085
  private ensureOutputsForScope;
2086
+ /**
2087
+ * Extracts persisted create-entity-form payload (`data.result`) from a frontend step output.
2088
+ */
2089
+ private extractPersistedEntityFormResult;
2090
+ /**
2091
+ * Coerces date-like workflow values to a {@link Date} (local calendar date when input is `yyyy-mm-dd`).
2092
+ */
2093
+ private coerceWorkflowDateValue;
2094
+ /**
2095
+ * Promotes `create-entity-form` submit payload (`output.result`) onto workflow variables
2096
+ * so downstream steps and human tasks see form values (e.g. effectiveDate), not start inputs.
2097
+ */
2098
+ private buildPersistedEntityFormVariablePromotions;
2070
2099
  /**
2071
2100
  * Resume a suspended workflow instance.
2072
2101
  *
@@ -2197,6 +2226,14 @@ declare class AXCWorkflowEngine implements AXPWorkflowEngine {
2197
2226
  * Uses upsert pattern: try update first, if fails then insert.
2198
2227
  */
2199
2228
  private updateInstanceInEntityService;
2229
+ /**
2230
+ * Evaluates activity inputs against current workflow scope (same as backend execution).
2231
+ */
2232
+ private evaluateActivityInputs;
2233
+ /**
2234
+ * After entity-create: link instance entity ref and persist {@link AXPRecordWorkflowInfo} on the row.
2235
+ */
2236
+ private linkEntityRecordAfterCreate;
2200
2237
  /**
2201
2238
  * Execute backend activities locally using CommandBus.
2202
2239
  *
@@ -2679,8 +2716,6 @@ declare class AXCConversationMockConversationApi extends AXMChatConversationApi
2679
2716
  addConversationTags(_conversationId: string, _tags: string[]): Promise<void>;
2680
2717
  removeConversationTags(_conversationId: string, _tags: string[]): Promise<void>;
2681
2718
  getConversationTags(_conversationId: string): Promise<string[]>;
2682
- getConversationPermissions(_conversationId: string): Promise<Record<string, boolean>>;
2683
- updateConversationPermissions(_conversationId: string, _permissions: Record<string, boolean>): Promise<void>;
2684
2719
  saveDraft(_conversationId: string, _draft: string): Promise<void>;
2685
2720
  getDraft(_conversationId: string): Promise<string | null>;
2686
2721
  clearDraft(_conversationId: string): Promise<void>;
@@ -2976,14 +3011,6 @@ declare class AXCConversationDataSeeder implements AXPDataSeeder {
2976
3011
 
2977
3012
  declare class AXPMessageDataSeeder implements AXPDataSeeder {
2978
3013
  private storageService;
2979
- private chatService;
2980
- private chatRealtimeService;
2981
- private commentService;
2982
- private commentRealtimeService;
2983
- private usersService;
2984
- private sessionService;
2985
- private userNameCache;
2986
- private getUserName;
2987
3014
  seed(): Promise<void>;
2988
3015
  static ɵfac: i0.ɵɵFactoryDeclaration<AXPMessageDataSeeder, never>;
2989
3016
  static ɵprov: i0.ɵɵInjectableDeclaration<AXPMessageDataSeeder>;
@@ -4065,7 +4092,7 @@ declare const primaryMiddleware: AXPEntityStorageMiddleware;
4065
4092
  /**
4066
4093
  * Combined middleware: enriches entity records with audit info (who/when) and records
4067
4094
  * version history for the "Change history" timeline. Version snapshots exclude auditInfo
4068
- * (and stateInfo, ownershipInfo) so we don't log audit metadata again in the version store.
4095
+ * (and stateInfo, ownershipInfo, workflowInfo) so we don't log platform metadata again in the version store.
4069
4096
  */
4070
4097
  declare const historyMiddleware: AXPEntityStorageMiddleware;
4071
4098