@acorex/connectivity 20.8.4 → 21.0.0-beta.0

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 (123) hide show
  1. package/fesm2022/{acorex-connectivity-api-execute.command-D2Q0ahw4.mjs → acorex-connectivity-api-execute.command-CiBl7z_H.mjs} +4 -4
  2. package/fesm2022/acorex-connectivity-api-execute.command-CiBl7z_H.mjs.map +1 -0
  3. package/fesm2022/acorex-connectivity-api.mjs +37 -37
  4. package/fesm2022/acorex-connectivity-api.mjs.map +1 -1
  5. package/fesm2022/acorex-connectivity-mock-acorex-connectivity-mock-BvDCXP5M.mjs +75955 -0
  6. package/fesm2022/acorex-connectivity-mock-acorex-connectivity-mock-BvDCXP5M.mjs.map +1 -0
  7. package/fesm2022/acorex-connectivity-mock-assign-to-manager.activity-DQRHQ_jG.mjs +212 -0
  8. package/fesm2022/acorex-connectivity-mock-assign-to-manager.activity-DQRHQ_jG.mjs.map +1 -0
  9. package/fesm2022/acorex-connectivity-mock-category-metadata-inheritance.query-CWRL1dTa.mjs +198 -0
  10. package/fesm2022/acorex-connectivity-mock-category-metadata-inheritance.query-CWRL1dTa.mjs.map +1 -0
  11. package/fesm2022/{acorex-connectivity-mock-category-with-items.query-DWW7t6nc.mjs → acorex-connectivity-mock-category-with-items.query-Cj6FWu7S.mjs} +4 -4
  12. package/fesm2022/acorex-connectivity-mock-category-with-items.query-Cj6FWu7S.mjs.map +1 -0
  13. package/fesm2022/acorex-connectivity-mock-chat-generate-image.command-D_2bFiuO.mjs +108 -0
  14. package/fesm2022/acorex-connectivity-mock-chat-generate-image.command-D_2bFiuO.mjs.map +1 -0
  15. package/fesm2022/acorex-connectivity-mock-chat-synthesize-speech.command-CWK6lBgb.mjs +130 -0
  16. package/fesm2022/acorex-connectivity-mock-chat-synthesize-speech.command-CWK6lBgb.mjs.map +1 -0
  17. package/fesm2022/acorex-connectivity-mock-chat-transcribe-speech.command-B1PpdDkQ.mjs +110 -0
  18. package/fesm2022/acorex-connectivity-mock-chat-transcribe-speech.command-B1PpdDkQ.mjs.map +1 -0
  19. package/fesm2022/{acorex-connectivity-mock-check-permission.command-DFcxfjxp.mjs → acorex-connectivity-mock-check-permission.activity-vr3OHtjC.mjs} +8 -16
  20. package/fesm2022/acorex-connectivity-mock-check-permission.activity-vr3OHtjC.mjs.map +1 -0
  21. package/fesm2022/acorex-connectivity-mock-complete-signature-process.activity-BO-IFsHT.mjs +56 -0
  22. package/fesm2022/acorex-connectivity-mock-complete-signature-process.activity-BO-IFsHT.mjs.map +1 -0
  23. package/fesm2022/acorex-connectivity-mock-contact-core.module-5TLCGWOR.mjs +968 -0
  24. package/fesm2022/acorex-connectivity-mock-contact-core.module-5TLCGWOR.mjs.map +1 -0
  25. package/fesm2022/acorex-connectivity-mock-content-management.module-GQdqKsPB.mjs +16 -0
  26. package/fesm2022/acorex-connectivity-mock-content-management.module-GQdqKsPB.mjs.map +1 -0
  27. package/fesm2022/{acorex-connectivity-mock-distribution-record.command-BopU0LyU.mjs → acorex-connectivity-mock-distribution-record.activity-DuNluOzA.mjs} +18 -6
  28. package/fesm2022/acorex-connectivity-mock-distribution-record.activity-DuNluOzA.mjs.map +1 -0
  29. package/fesm2022/acorex-connectivity-mock-entity-create.activity-Ca19tIj4.mjs +60 -0
  30. package/fesm2022/acorex-connectivity-mock-entity-create.activity-Ca19tIj4.mjs.map +1 -0
  31. package/fesm2022/acorex-connectivity-mock-entity-delete.activity-ErEN1c24.mjs +60 -0
  32. package/fesm2022/acorex-connectivity-mock-entity-delete.activity-ErEN1c24.mjs.map +1 -0
  33. package/fesm2022/acorex-connectivity-mock-entity-read.activity-1fJW8gVe.mjs +67 -0
  34. package/fesm2022/acorex-connectivity-mock-entity-read.activity-1fJW8gVe.mjs.map +1 -0
  35. package/fesm2022/acorex-connectivity-mock-entity-update.activity-06HTKiQQ.mjs +68 -0
  36. package/fesm2022/acorex-connectivity-mock-entity-update.activity-06HTKiQQ.mjs.map +1 -0
  37. package/fesm2022/acorex-connectivity-mock-extract-document-text.command-nGfUTSf6.mjs +64 -0
  38. package/fesm2022/acorex-connectivity-mock-extract-document-text.command-nGfUTSf6.mjs.map +1 -0
  39. package/fesm2022/{acorex-connectivity-mock-get-application-versions-chart-data.query-uwDUrbFJ.mjs → acorex-connectivity-mock-get-application-versions-chart-data.query-DwVuYuKx.mjs} +4 -4
  40. package/fesm2022/acorex-connectivity-mock-get-application-versions-chart-data.query-DwVuYuKx.mjs.map +1 -0
  41. package/fesm2022/{acorex-connectivity-mock-get-application-versions-timeline.query-BHjQYTyZ.mjs → acorex-connectivity-mock-get-application-versions-timeline.query-sFKYynZA.mjs} +4 -4
  42. package/fesm2022/acorex-connectivity-mock-get-application-versions-timeline.query-sFKYynZA.mjs.map +1 -0
  43. package/fesm2022/acorex-connectivity-mock-get-current-session-user.activity-C6S4ZJgp.mjs +35 -0
  44. package/fesm2022/acorex-connectivity-mock-get-current-session-user.activity-C6S4ZJgp.mjs.map +1 -0
  45. package/fesm2022/acorex-connectivity-mock-get-current-user-manager.activity-C1mj2bgB.mjs +69 -0
  46. package/fesm2022/acorex-connectivity-mock-get-current-user-manager.activity-C1mj2bgB.mjs.map +1 -0
  47. package/fesm2022/{acorex-connectivity-mock-get-employee-list.query-Ch-Vh5GE.mjs → acorex-connectivity-mock-get-employee-list.query-DifHwuqH.mjs} +4 -4
  48. package/fesm2022/acorex-connectivity-mock-get-employee-list.query-DifHwuqH.mjs.map +1 -0
  49. package/fesm2022/{acorex-connectivity-mock-get-location-list.query-Xbc6d8kb.mjs → acorex-connectivity-mock-get-location-list.query-bMjkZnzq.mjs} +4 -4
  50. package/fesm2022/acorex-connectivity-mock-get-location-list.query-bMjkZnzq.mjs.map +1 -0
  51. package/fesm2022/{acorex-connectivity-mock-get-product-chart-data.query-m8_ME45B.mjs → acorex-connectivity-mock-get-product-chart-data.query-D7DBzLT-.mjs} +4 -4
  52. package/fesm2022/acorex-connectivity-mock-get-product-chart-data.query-D7DBzLT-.mjs.map +1 -0
  53. package/fesm2022/{acorex-connectivity-mock-get-product-list.query-DzkssYRw.mjs → acorex-connectivity-mock-get-product-list.query-f-mTj4ah.mjs} +16 -9
  54. package/fesm2022/acorex-connectivity-mock-get-product-list.query-f-mTj4ah.mjs.map +1 -0
  55. package/fesm2022/{acorex-connectivity-mock-get-product-pdf-data.query-wMD65pwR.mjs → acorex-connectivity-mock-get-product-pdf-data.query-Co1V52c4.mjs} +5 -5
  56. package/fesm2022/acorex-connectivity-mock-get-product-pdf-data.query-Co1V52c4.mjs.map +1 -0
  57. package/fesm2022/{acorex-connectivity-mock-get-subscriptions-chart-data.query-DBOT_0IN.mjs → acorex-connectivity-mock-get-subscriptions-chart-data.query-BQT5a_hn.mjs} +5 -5
  58. package/fesm2022/acorex-connectivity-mock-get-subscriptions-chart-data.query-BQT5a_hn.mjs.map +1 -0
  59. package/fesm2022/{acorex-connectivity-mock-get-subscriptions-timeline.query-DBEEbeiS.mjs → acorex-connectivity-mock-get-subscriptions-timeline.query-D4qfDfeV.mjs} +4 -4
  60. package/fesm2022/acorex-connectivity-mock-get-subscriptions-timeline.query-D4qfDfeV.mjs.map +1 -0
  61. package/fesm2022/{acorex-connectivity-mock-get-tenant-application-access.query-BM9toJ45.mjs → acorex-connectivity-mock-get-tenant-application-access.query-n1_Azada.mjs} +4 -4
  62. package/fesm2022/acorex-connectivity-mock-get-tenant-application-access.query-n1_Azada.mjs.map +1 -0
  63. package/fesm2022/{acorex-connectivity-mock-get-tenant-registration-chart-data.query-CACCBXn-.mjs → acorex-connectivity-mock-get-tenant-registration-chart-data.query-Cg4ykZU2.mjs} +5 -5
  64. package/fesm2022/acorex-connectivity-mock-get-tenant-registration-chart-data.query-Cg4ykZU2.mjs.map +1 -0
  65. package/fesm2022/{acorex-connectivity-mock-get-tenant-registration-timeline.query-CfDjhtaC.mjs → acorex-connectivity-mock-get-tenant-registration-timeline.query-0sCBtdbp.mjs} +4 -4
  66. package/fesm2022/acorex-connectivity-mock-get-tenant-registration-timeline.query-0sCBtdbp.mjs.map +1 -0
  67. package/fesm2022/{acorex-connectivity-mock-get-tenant-user-distribution.query-CZXvavUh.mjs → acorex-connectivity-mock-get-tenant-user-distribution.query-rD811gtM.mjs} +4 -4
  68. package/fesm2022/acorex-connectivity-mock-get-tenant-user-distribution.query-rD811gtM.mjs.map +1 -0
  69. package/fesm2022/acorex-connectivity-mock-if.activity-DvzuhItL.mjs +35 -0
  70. package/fesm2022/acorex-connectivity-mock-if.activity-DvzuhItL.mjs.map +1 -0
  71. package/fesm2022/acorex-connectivity-mock-notification-management-email-send.command-DAQfIWoD.mjs +73 -0
  72. package/fesm2022/acorex-connectivity-mock-notification-management-email-send.command-DAQfIWoD.mjs.map +1 -0
  73. package/fesm2022/acorex-connectivity-mock-notify-signers.activity-Dg0sKGip.mjs +49 -0
  74. package/fesm2022/acorex-connectivity-mock-notify-signers.activity-Dg0sKGip.mjs.map +1 -0
  75. package/fesm2022/acorex-connectivity-mock-request-signature.activity-CoRT_H2u.mjs +60 -0
  76. package/fesm2022/acorex-connectivity-mock-request-signature.activity-CoRT_H2u.mjs.map +1 -0
  77. package/fesm2022/{acorex-connectivity-mock-sample.command-CXz1poTn.mjs → acorex-connectivity-mock-sample.command-CJmDL4pL.mjs} +4 -4
  78. package/fesm2022/acorex-connectivity-mock-sample.command-CJmDL4pL.mjs.map +1 -0
  79. package/fesm2022/acorex-connectivity-mock-structured-text-completion.command-l31pjl9-.mjs +38 -0
  80. package/fesm2022/acorex-connectivity-mock-structured-text-completion.command-l31pjl9-.mjs.map +1 -0
  81. package/fesm2022/acorex-connectivity-mock-user-roles-for-list-column.query-BSN7vEKz.mjs +31 -0
  82. package/fesm2022/acorex-connectivity-mock-user-roles-for-list-column.query-BSN7vEKz.mjs.map +1 -0
  83. package/fesm2022/acorex-connectivity-mock-validate-all-signatures.activity-JuHjNFFS.mjs +61 -0
  84. package/fesm2022/acorex-connectivity-mock-validate-all-signatures.activity-JuHjNFFS.mjs.map +1 -0
  85. package/fesm2022/acorex-connectivity-mock.mjs +2 -51673
  86. package/fesm2022/acorex-connectivity-mock.mjs.map +1 -1
  87. package/fesm2022/acorex-connectivity-utils.mjs +7 -7
  88. package/fesm2022/acorex-connectivity-utils.mjs.map +1 -1
  89. package/fesm2022/acorex-connectivity.mjs.map +1 -1
  90. package/package.json +8 -7
  91. package/types/acorex-connectivity-mock.d.ts +4046 -0
  92. package/fesm2022/acorex-connectivity-api-execute.command-D2Q0ahw4.mjs.map +0 -1
  93. package/fesm2022/acorex-connectivity-mock-assign-to-manager.command-CzzTHBVX.mjs +0 -66
  94. package/fesm2022/acorex-connectivity-mock-assign-to-manager.command-CzzTHBVX.mjs.map +0 -1
  95. package/fesm2022/acorex-connectivity-mock-category-with-items.query-DWW7t6nc.mjs.map +0 -1
  96. package/fesm2022/acorex-connectivity-mock-check-permission.command-DFcxfjxp.mjs.map +0 -1
  97. package/fesm2022/acorex-connectivity-mock-complete-signature-process.command-BG_rxbUl.mjs +0 -80
  98. package/fesm2022/acorex-connectivity-mock-complete-signature-process.command-BG_rxbUl.mjs.map +0 -1
  99. package/fesm2022/acorex-connectivity-mock-distribution-record.command-BopU0LyU.mjs.map +0 -1
  100. package/fesm2022/acorex-connectivity-mock-get-application-versions-chart-data.query-uwDUrbFJ.mjs.map +0 -1
  101. package/fesm2022/acorex-connectivity-mock-get-application-versions-timeline.query-BHjQYTyZ.mjs.map +0 -1
  102. package/fesm2022/acorex-connectivity-mock-get-employee-list.query-Ch-Vh5GE.mjs.map +0 -1
  103. package/fesm2022/acorex-connectivity-mock-get-location-list.query-Xbc6d8kb.mjs.map +0 -1
  104. package/fesm2022/acorex-connectivity-mock-get-product-chart-data.query-m8_ME45B.mjs.map +0 -1
  105. package/fesm2022/acorex-connectivity-mock-get-product-list.query-DzkssYRw.mjs.map +0 -1
  106. package/fesm2022/acorex-connectivity-mock-get-product-pdf-data.query-wMD65pwR.mjs.map +0 -1
  107. package/fesm2022/acorex-connectivity-mock-get-subscriptions-chart-data.query-DBOT_0IN.mjs.map +0 -1
  108. package/fesm2022/acorex-connectivity-mock-get-subscriptions-timeline.query-DBEEbeiS.mjs.map +0 -1
  109. package/fesm2022/acorex-connectivity-mock-get-tenant-application-access.query-BM9toJ45.mjs.map +0 -1
  110. package/fesm2022/acorex-connectivity-mock-get-tenant-registration-chart-data.query-CACCBXn-.mjs.map +0 -1
  111. package/fesm2022/acorex-connectivity-mock-get-tenant-registration-timeline.query-CfDjhtaC.mjs.map +0 -1
  112. package/fesm2022/acorex-connectivity-mock-get-tenant-user-distribution.query-CZXvavUh.mjs.map +0 -1
  113. package/fesm2022/acorex-connectivity-mock-notify-signers.command-BV-b8NBg.mjs +0 -69
  114. package/fesm2022/acorex-connectivity-mock-notify-signers.command-BV-b8NBg.mjs.map +0 -1
  115. package/fesm2022/acorex-connectivity-mock-request-signature.command-DZyVnhAp.mjs +0 -72
  116. package/fesm2022/acorex-connectivity-mock-request-signature.command-DZyVnhAp.mjs.map +0 -1
  117. package/fesm2022/acorex-connectivity-mock-sample.command-CXz1poTn.mjs.map +0 -1
  118. package/fesm2022/acorex-connectivity-mock-validate-all-signatures.command-leYngRtS.mjs +0 -81
  119. package/fesm2022/acorex-connectivity-mock-validate-all-signatures.command-leYngRtS.mjs.map +0 -1
  120. package/mock/index.d.ts +0 -3022
  121. /package/{api/index.d.ts → types/acorex-connectivity-api.d.ts} +0 -0
  122. /package/{utils/index.d.ts → types/acorex-connectivity-utils.d.ts} +0 -0
  123. /package/{index.d.ts → types/acorex-connectivity.d.ts} +0 -0
package/mock/index.d.ts DELETED
@@ -1,3022 +0,0 @@
1
- import { AXPAppStartUpService, AXPQueryRequest, AXPPagedListResult, AXPCategoryEntity, AXPCategorizedEntityDto, AXPExecuteCommand, AXPExecuteCommandResult, AXPActionMenuItem, AXPDataSourceDefinitionProvider, AXPDataSourceDefinition, AXPFileListItem, AXPDistributedEventListenerProvider } from '@acorex/platform/core';
2
- import * as i0 from '@angular/core';
3
- import { Injector, Type } from '@angular/core';
4
- import * as _acorex_platform_auth from '@acorex/platform/auth';
5
- import { AXPAuthStrategy, AXPBaseCredentials, AXPSignInResult, AXPSessionContext, AXPLoginChallengeProvider, AXPChallengeCheckResult, AXPLoginChallengeData, AXPLoginChallengeComponentBase } from '@acorex/platform/auth';
6
- import * as i1 from '@acorex/platform/runtime';
7
- import { AXPQuery } from '@acorex/platform/runtime';
8
- import { Router } from '@angular/router';
9
- import { AXMAuthConfigs } from '@acorex/modules/auth';
10
- import { AXPEntityStorageService, AXPDataSeeder, AXPEntityStorageMiddleware } from '@acorex/platform/layout/entity';
11
- import Dexie, { Table } from 'dexie';
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, AXPVersioningService, AXPVersionEntry as AXPVersionEntry$1, CanonicalChange as CanonicalChange$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';
20
- import { AXMWorkflowManagementWorkflowDefinitionEntityModel } from '@acorex/modules/workflow-management';
21
- import { AXPWorkflowTaskProvider, AXPTaskFilter, AXPTask, AXPExtraField, AXPTaskStatus } from '@acorex/modules/task-management';
22
- import { ShowMetaDataFormPopupCommand, ShowMetaDataFormPopupInput, ResolveGroupsResult, AXMMetaDataDefinitionEntityModel, AXMMetaDataSelectorValue, AXMDataManagementEquipmentEntityModel } from '@acorex/modules/data-management';
23
- import { AXPDynamicFormGroupDefinition } from '@acorex/platform/layout/builder';
24
- import { AXPWidgetNode } from '@acorex/platform/layout/widget-core';
25
- import { AXMCommonDashboardEntityModel, AXMDashboardWidgetLayoutMap } from '@acorex/modules/dashboard-management';
26
- import * as _acorex_modules_calendar_management from '@acorex/modules/calendar-management';
27
- import { AXMCalendarManagementCalendarEventTypeEntityModel } from '@acorex/modules/calendar-management';
28
- import { AXPIdentifierRule, AXPChecksumProvider, AXPClockProvider, AXPLookupProvider, AXPPolicyProvider, AXPSequenceProvider, AXPIdentifierService, AXPIdentifierRequest, AXPIdentifierResult, AXPIdentifierPeekResult } from '@acorex/modules/identifier-management';
29
-
30
- declare class AXCCommonMockModule {
31
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCCommonMockModule, never>;
32
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCCommonMockModule, never, never, never>;
33
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCCommonMockModule>;
34
- }
35
-
36
- declare class AXCIdentifierManagementMockModule {
37
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCIdentifierManagementMockModule, never>;
38
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCIdentifierManagementMockModule, never, never, never>;
39
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCIdentifierManagementMockModule>;
40
- }
41
-
42
- declare class AXCSecurityManagementMockModule {
43
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCSecurityManagementMockModule, never>;
44
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCSecurityManagementMockModule, never, never, never>;
45
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCSecurityManagementMockModule>;
46
- }
47
-
48
- declare class AXCFormTemplateManagementMockModule {
49
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCFormTemplateManagementMockModule, never>;
50
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCFormTemplateManagementMockModule, never, never, never>;
51
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCFormTemplateManagementMockModule>;
52
- }
53
-
54
- declare class AXCBusinessCoreMockModule {
55
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCBusinessCoreMockModule, never>;
56
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCBusinessCoreMockModule, never, never, never>;
57
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCBusinessCoreMockModule>;
58
- }
59
-
60
- declare class AXCCustomerManagementMockModule {
61
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCCustomerManagementMockModule, never>;
62
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCCustomerManagementMockModule, never, never, never>;
63
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCCustomerManagementMockModule>;
64
- }
65
-
66
- declare class AXCSupplierManagementMockModule {
67
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCSupplierManagementMockModule, never>;
68
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCSupplierManagementMockModule, never, never, never>;
69
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCSupplierManagementMockModule>;
70
- }
71
-
72
- declare class AXCProcurementManagementMockModule {
73
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCProcurementManagementMockModule, never>;
74
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCProcurementManagementMockModule, never, never, never>;
75
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCProcurementManagementMockModule>;
76
- }
77
-
78
- declare class AXCOrderManagementMockModule {
79
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCOrderManagementMockModule, never>;
80
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCOrderManagementMockModule, never, never, never>;
81
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCOrderManagementMockModule>;
82
- }
83
-
84
- declare class AXCSubscriptionManagementMockModule {
85
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCSubscriptionManagementMockModule, never>;
86
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCSubscriptionManagementMockModule, never, never, never>;
87
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCSubscriptionManagementMockModule>;
88
- }
89
-
90
- declare class AXCContactManagementMockModule {
91
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCContactManagementMockModule, never>;
92
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCContactManagementMockModule, never, never, never>;
93
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCContactManagementMockModule>;
94
- }
95
-
96
- declare class AXCLocationManagementMockModule {
97
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCLocationManagementMockModule, never>;
98
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCLocationManagementMockModule, never, never, never>;
99
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCLocationManagementMockModule>;
100
- }
101
-
102
- declare class AXCContactCoreMockModule {
103
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCContactCoreMockModule, never>;
104
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCContactCoreMockModule, never, never, never>;
105
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCContactCoreMockModule>;
106
- }
107
-
108
- declare class AXCOrganizationManagementMockModule {
109
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCOrganizationManagementMockModule, never>;
110
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCOrganizationManagementMockModule, never, never, never>;
111
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCOrganizationManagementMockModule>;
112
- }
113
-
114
- declare class AXCHumanCapitalManagementMockModule {
115
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCHumanCapitalManagementMockModule, never>;
116
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCHumanCapitalManagementMockModule, never, never, never>;
117
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCHumanCapitalManagementMockModule>;
118
- }
119
-
120
- declare class AXCReportManagementMockModule {
121
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCReportManagementMockModule, never>;
122
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCReportManagementMockModule, never, [typeof i1.AXPRuntimeModule], never>;
123
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCReportManagementMockModule>;
124
- }
125
-
126
- declare class AXCLocaleManagementMockModule {
127
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCLocaleManagementMockModule, never>;
128
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCLocaleManagementMockModule, never, never, never>;
129
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCLocaleManagementMockModule>;
130
- }
131
-
132
- declare class AXCDashboardManagementMockModule {
133
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCDashboardManagementMockModule, never>;
134
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCDashboardManagementMockModule, never, never, never>;
135
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCDashboardManagementMockModule>;
136
- }
137
-
138
- declare class AXCConversationMockModule {
139
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCConversationMockModule, never>;
140
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCConversationMockModule, never, never, never>;
141
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCConversationMockModule>;
142
- }
143
-
144
- declare class AXCAuthMockModule {
145
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCAuthMockModule, never>;
146
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCAuthMockModule, never, never, never>;
147
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCAuthMockModule>;
148
- }
149
-
150
- declare class AXCPlatformManagementMockModule {
151
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCPlatformManagementMockModule, never>;
152
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCPlatformManagementMockModule, never, never, never>;
153
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCPlatformManagementMockModule>;
154
- }
155
-
156
- declare class AXCApplicationManagementMockModule {
157
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCApplicationManagementMockModule, never>;
158
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCApplicationManagementMockModule, never, never, never>;
159
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCApplicationManagementMockModule>;
160
- }
161
-
162
- declare class AXCTenantManagementMockModule {
163
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCTenantManagementMockModule, never>;
164
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCTenantManagementMockModule, never, never, never>;
165
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCTenantManagementMockModule>;
166
- }
167
-
168
- declare class AXCLearningManagementMockModule {
169
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCLearningManagementMockModule, never>;
170
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCLearningManagementMockModule, never, never, never>;
171
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCLearningManagementMockModule>;
172
- }
173
-
174
- declare class AXCAssetManagementMockModule {
175
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCAssetManagementMockModule, never>;
176
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCAssetManagementMockModule, never, never, never>;
177
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCAssetManagementMockModule>;
178
- }
179
-
180
- declare class AXCProjectManagementMockModule {
181
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCProjectManagementMockModule, never>;
182
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCProjectManagementMockModule, never, never, never>;
183
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCProjectManagementMockModule>;
184
- }
185
-
186
- declare class AXCDocumentManagementMockModule {
187
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCDocumentManagementMockModule, never>;
188
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCDocumentManagementMockModule, never, never, never>;
189
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCDocumentManagementMockModule>;
190
- }
191
-
192
- declare class AXCHelpDeskMockModule {
193
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCHelpDeskMockModule, never>;
194
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCHelpDeskMockModule, never, never, never>;
195
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCHelpDeskMockModule>;
196
- }
197
-
198
- declare class AXCCalendarManagementMockModule {
199
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCCalendarManagementMockModule, never>;
200
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCCalendarManagementMockModule, never, never, never>;
201
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCCalendarManagementMockModule>;
202
- }
203
-
204
- declare class AXCDataManagementMockModule {
205
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCDataManagementMockModule, never>;
206
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCDataManagementMockModule, never, never, never>;
207
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCDataManagementMockModule>;
208
- }
209
-
210
- declare class AXCWorkflowManagementMockModule {
211
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCWorkflowManagementMockModule, never>;
212
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCWorkflowManagementMockModule, never, never, never>;
213
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCWorkflowManagementMockModule>;
214
- }
215
-
216
- declare class AXCNotificationManagementMockModule {
217
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCNotificationManagementMockModule, never>;
218
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCNotificationManagementMockModule, never, never, never>;
219
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCNotificationManagementMockModule>;
220
- }
221
-
222
- declare class AXCTaskManagementMockModule {
223
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCTaskManagementMockModule, never>;
224
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCTaskManagementMockModule, never, never, never>;
225
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCTaskManagementMockModule>;
226
- }
227
-
228
- declare class AXCPersonCoreMockModule {
229
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCPersonCoreMockModule, never>;
230
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCPersonCoreMockModule, never, never, never>;
231
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCPersonCoreMockModule>;
232
- }
233
-
234
- declare class AXCHealthCoreMockModule {
235
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCHealthCoreMockModule, never>;
236
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCHealthCoreMockModule, never, never, never>;
237
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCHealthCoreMockModule>;
238
- }
239
-
240
- declare class AXCPersonManagementMockModule {
241
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCPersonManagementMockModule, never>;
242
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCPersonManagementMockModule, never, never, never>;
243
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCPersonManagementMockModule>;
244
- }
245
-
246
- declare class AXCContentManagementMockModule {
247
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCContentManagementMockModule, never>;
248
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCContentManagementMockModule, never, never, never>;
249
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCContentManagementMockModule>;
250
- }
251
-
252
- declare class AXCMeetingManagementMockModule {
253
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCMeetingManagementMockModule, never>;
254
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCMeetingManagementMockModule, never, never, never>;
255
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCMeetingManagementMockModule>;
256
- }
257
-
258
- declare class AXCSettingsManagementMockModule {
259
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCSettingsManagementMockModule, never>;
260
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCSettingsManagementMockModule, never, never, never>;
261
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCSettingsManagementMockModule>;
262
- }
263
-
264
- declare class AXCAssessmentManagementMockModule {
265
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCAssessmentManagementMockModule, never>;
266
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCAssessmentManagementMockModule, never, never, never>;
267
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCAssessmentManagementMockModule>;
268
- }
269
-
270
- declare class AXCFinancialCoreMockModule {
271
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCFinancialCoreMockModule, never>;
272
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCFinancialCoreMockModule, never, never, never>;
273
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCFinancialCoreMockModule>;
274
- }
275
-
276
- declare class AXCMeasurementCoreMockModule {
277
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCMeasurementCoreMockModule, never>;
278
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCMeasurementCoreMockModule, never, never, never>;
279
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCMeasurementCoreMockModule>;
280
- }
281
-
282
- declare class AXCProductCatalogMockModule {
283
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCProductCatalogMockModule, never>;
284
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCProductCatalogMockModule, never, never, never>;
285
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCProductCatalogMockModule>;
286
- }
287
-
288
- declare class AXCReservationManagementMockModule {
289
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCReservationManagementMockModule, never>;
290
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCReservationManagementMockModule, never, never, never>;
291
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCReservationManagementMockModule>;
292
- }
293
-
294
- declare class AXCMaintenanceManagementMockModule {
295
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCMaintenanceManagementMockModule, never>;
296
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCMaintenanceManagementMockModule, never, never, never>;
297
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCMaintenanceManagementMockModule>;
298
- }
299
-
300
- declare class AXCMiddlewaresModule {
301
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCMiddlewaresModule, never>;
302
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCMiddlewaresModule, never, never, never>;
303
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCMiddlewaresModule>;
304
- }
305
-
306
- declare class AXCMockModule {
307
- constructor(appInitService: AXPAppStartUpService, injector: Injector);
308
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCMockModule, never>;
309
- 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 AXCContactManagementMockModule, typeof AXCLocationManagementMockModule, typeof AXCContactCoreMockModule, 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 AXCHealthCoreMockModule, typeof AXCPersonManagementMockModule, typeof AXCContentManagementMockModule, typeof AXCMeetingManagementMockModule, typeof AXCSettingsManagementMockModule, typeof AXCAssessmentManagementMockModule, typeof AXCFinancialCoreMockModule, typeof AXCMeasurementCoreMockModule, typeof AXCProductCatalogMockModule, typeof AXCReservationManagementMockModule, typeof AXCMaintenanceManagementMockModule, typeof AXCMiddlewaresModule], never>;
310
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCMockModule>;
311
- }
312
-
313
- interface MockUserPassCredentials extends AXPBaseCredentials {
314
- username: string;
315
- password: string;
316
- }
317
- declare class AXCUserPassStrategyMock extends AXPAuthStrategy {
318
- tenantLoader: _acorex_platform_auth.AXPTenantLoader;
319
- applicationLoader: _acorex_platform_auth.AXPApplicationLoader;
320
- router: Router;
321
- constructor();
322
- private entityRegistery;
323
- private deviceSessionsService;
324
- get name(): string;
325
- signin(credentials: MockUserPassCredentials): Promise<AXPSignInResult>;
326
- private createDeviceSession;
327
- private getDeviceName;
328
- private getOperatingSystem;
329
- private getBrowser;
330
- signout(): Promise<void>;
331
- refreshToken(context: AXPSessionContext): Promise<AXPSignInResult>;
332
- updateToken(params: {
333
- [key: string]: any;
334
- }): Promise<AXPSignInResult>;
335
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCUserPassStrategyMock, never>;
336
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCUserPassStrategyMock>;
337
- }
338
-
339
- declare class AXCGoogleStrategyMock extends AXPAuthStrategy {
340
- tenantLoader: _acorex_platform_auth.AXPTenantLoader;
341
- protected configs: AXMAuthConfigs;
342
- private externalAuthorizationService;
343
- applicationLoader: _acorex_platform_auth.AXPApplicationLoader;
344
- router: Router;
345
- constructor();
346
- get name(): string;
347
- signin(credentials: AXPBaseCredentials): Promise<void>;
348
- signout(): Promise<void>;
349
- refreshToken(context: AXPSessionContext): Promise<AXPSignInResult>;
350
- updateToken(params: {
351
- [key: string]: any;
352
- }): Promise<AXPSignInResult>;
353
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCGoogleStrategyMock, never>;
354
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCGoogleStrategyMock>;
355
- }
356
-
357
- /**
358
- * Mock implementation of AXPLoginChallengeProvider for testing
359
- *
360
- * This provider simulates a server-side captcha system:
361
- * - Tracks failed login attempts
362
- * - After 3 failed attempts, requires captcha
363
- * - Generates mock captcha images client-side (for demo purposes)
364
- *
365
- * @example
366
- * ```typescript
367
- * // In your module providers:
368
- * {
369
- * provide: AXP_LOGIN_CHALLENGE_PROVIDER,
370
- * useClass: AXCImageCaptchaChallengeProviderMock
371
- * }
372
- * ```
373
- */
374
- declare class AXCImageCaptchaChallengeProviderMock extends AXPLoginChallengeProvider {
375
- readonly name = "image-captcha-mock";
376
- /** Current captcha code that user needs to enter */
377
- private currentCaptchaCode;
378
- /** Current challenge ID */
379
- private currentChallengeId;
380
- /** Failed attempts tracker */
381
- private attemptsTracker;
382
- /**
383
- * Checks if the login error indicates that a captcha is required
384
- *
385
- * In this mock implementation, we check:
386
- * 1. If the error contains requiresCaptcha flag
387
- * 2. If failed attempts threshold is reached
388
- * 3. If error status is 429 (Too Many Requests)
389
- */
390
- checkResponse(error: unknown): AXPChallengeCheckResult | null;
391
- /**
392
- * Generates a new captcha challenge
393
- *
394
- * In this mock implementation:
395
- * - Generates a random code
396
- * - Creates a captcha image client-side
397
- * - Returns the challenge data
398
- *
399
- * In a real implementation, this would call the server API
400
- */
401
- getChallenge(serverData?: Record<string, unknown>): Promise<AXPLoginChallengeData>;
402
- /**
403
- * Generates a fresh captcha, replacing the current one
404
- */
405
- refreshChallenge(): Promise<AXPLoginChallengeData>;
406
- /**
407
- * Returns the custom mock captcha component for rendering
408
- */
409
- getChallengeComponent(): Type<AXPLoginChallengeComponentBase>;
410
- /**
411
- * Validates the captcha response (for testing purposes)
412
- * In a real implementation, validation happens on the server
413
- */
414
- validateCaptchaResponse(challengeId: string, response: string): boolean;
415
- /**
416
- * Resets the failed attempts counter (for testing)
417
- */
418
- resetAttempts(): void;
419
- /**
420
- * Gets current failed attempts count (for testing/debugging)
421
- */
422
- getFailedAttempts(): number;
423
- /**
424
- * Simulates network delay for realistic behavior
425
- */
426
- private simulateNetworkDelay;
427
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCImageCaptchaChallengeProviderMock, never>;
428
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCImageCaptchaChallengeProviderMock>;
429
- }
430
-
431
- /**
432
- * Mock CAPTCHA challenge component with custom styling
433
- * Demonstrates how providers can create custom challenge UIs
434
- */
435
- declare class AXCMockCaptchaChallengeComponent extends AXPLoginChallengeComponentBase {
436
- /** Local state for the response input */
437
- protected response: i0.WritableSignal<string>;
438
- /**
439
- * Handles response input change
440
- */
441
- protected onResponseChange(value: string): void;
442
- /**
443
- * Handles refresh button click
444
- */
445
- protected onRefreshClick(): void;
446
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCMockCaptchaChallengeComponent, never>;
447
- static ɵcmp: i0.ɵɵComponentDeclaration<AXCMockCaptchaChallengeComponent, "axc-mock-captcha-challenge", never, {}, {}, never, never, true, never>;
448
- }
449
-
450
- declare class AXCDexieEntityStorageService extends Dexie implements AXPEntityStorageService<string, any> {
451
- private sessionService;
452
- constructor();
453
- get dbName(): string;
454
- /**
455
- * Seed the storage with the provided collection only if it has not been
456
- * inserted before.
457
- *
458
- * Rather than relying on the total record count, we inspect whether the first
459
- * item of the incoming collection (identified by its `id`) already exists in
460
- * the table for the given `entityName`. If it exists, the data has already
461
- * been seeded and no action is taken; otherwise, the entire collection is
462
- * bulk-inserted.
463
- */
464
- initial<T = any>(entityName: string, collection: T[], options?: {
465
- mergeType: 'merge' | 'replace';
466
- uniqueKeys: string[];
467
- }): Promise<T[]>;
468
- getOne<T = any>(entityName: string, id: string): Promise<T>;
469
- updateOne<T = any>(entityName: string, id: string, keyValue: {
470
- [key: string]: any;
471
- }): Promise<T>;
472
- deleteOne(entityName: string, id: string): Promise<void>;
473
- insertOne<T = any>(entityName: string, entity: T): Promise<string>;
474
- getAll<T = any>(entityName: string): Promise<T[]>;
475
- query<T = any>(entityName: string, request: AXPQueryRequest): Promise<AXPPagedListResult<T>>;
476
- /**
477
- * Check if the entity is a category entity (ends with 'Category')
478
- */
479
- private isCategoryEntity;
480
- /**
481
- * Calculate childrenCount for each category entity.
482
- * Uses stored childrenCount when present; computes only when missing or invalid.
483
- */
484
- private calculateChildrenCounts;
485
- /**
486
- * Get the count of direct children for a category
487
- */
488
- private getDirectChildCount;
489
- /**
490
- * Check if the filter is a category filter (contains operator on categoryIds field)
491
- * Handles both simple filters and compound filters
492
- */
493
- private isCategoryFilter;
494
- /**
495
- * Apply recursive category filtering - finds entities that belong to the category or any of its children
496
- */
497
- private applyRecursiveCategoryFilter;
498
- /**
499
- * Recursively gets all child category IDs including the parent category itself
500
- */
501
- private getAllChildCategoryIds;
502
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCDexieEntityStorageService, never>;
503
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCDexieEntityStorageService>;
504
- }
505
-
506
- declare const APPLICATIONS: AXMApplicationManagementApplicationEntityModel[];
507
-
508
- declare class AXCApplicationDataSeeder implements AXPDataSeeder {
509
- private readonly storageService;
510
- seed(): Promise<void>;
511
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCApplicationDataSeeder, never>;
512
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCApplicationDataSeeder>;
513
- }
514
-
515
- declare const EDITIONS: AXMApplicationManagementEditionEntityModel[];
516
- declare const SHOP_BASIC: AXMApplicationManagementEditionEntityModel;
517
- declare const SHOP_PRO: AXMApplicationManagementEditionEntityModel;
518
- declare const SHOP_ENTERPRISE: AXMApplicationManagementEditionEntityModel;
519
- declare const FINANCE_BASIC: AXMApplicationManagementEditionEntityModel;
520
- declare const FINANCE_PRO: AXMApplicationManagementEditionEntityModel;
521
- declare const FINANCE_ENTERPRISE: AXMApplicationManagementEditionEntityModel;
522
- declare const ORDERING_BASIC: AXMApplicationManagementEditionEntityModel;
523
- declare const ORDERING_STANDARD: AXMApplicationManagementEditionEntityModel;
524
- declare const ORDERING_ENTERPRISE: AXMApplicationManagementEditionEntityModel;
525
- declare const PLATFORM_CONSOLE: AXMApplicationManagementEditionEntityModel;
526
- declare const SAFETYMINDER_BASIC: AXMApplicationManagementEditionEntityModel;
527
- declare const SAFETYMINDER_PROFESSIONAL: AXMApplicationManagementEditionEntityModel;
528
- declare const SAFETYMINDER_ENTERPRISE: AXMApplicationManagementEditionEntityModel;
529
- declare const COSTMANAGER_STANDARD: AXMApplicationManagementEditionEntityModel;
530
- declare const COSTMANAGER_PROFESSIONAL: AXMApplicationManagementEditionEntityModel;
531
- declare const COSTMANAGER_ENTERPRISE: AXMApplicationManagementEditionEntityModel;
532
- declare const CRM_ENTERPRISE: AXMApplicationManagementEditionEntityModel;
533
- declare const HR_ENTERPRISE: AXMApplicationManagementEditionEntityModel;
534
-
535
- declare class AXCEditionDataSeeder implements AXPDataSeeder {
536
- private readonly storageService;
537
- seed(): Promise<void>;
538
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCEditionDataSeeder, never>;
539
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCEditionDataSeeder>;
540
- }
541
-
542
- declare class AXCAppVersionDataSeeder implements AXPDataSeeder {
543
- private storageService;
544
- private appVersionService;
545
- seed(): Promise<void>;
546
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCAppVersionDataSeeder, never>;
547
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCAppVersionDataSeeder>;
548
- }
549
-
550
- declare class AXCAppTermDataSeeder implements AXPDataSeeder {
551
- private storageService;
552
- seed(): Promise<void>;
553
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCAppTermDataSeeder, never>;
554
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCAppTermDataSeeder>;
555
- }
556
-
557
- interface QuestionBankItemMockDto extends AXPCategorizedEntityDto {
558
- id: string;
559
- title: string;
560
- description?: string;
561
- interface?: any;
562
- scoringType?: 'none' | 'points' | 'weighted' | 'formula';
563
- points?: number;
564
- weight?: number;
565
- correctAnswer?: any;
566
- difficulty?: 'easy' | 'medium' | 'hard';
567
- estimatedTime?: number;
568
- categoryIds: string[];
569
- categories: {
570
- id: string;
571
- title: string;
572
- }[];
573
- createdAt: Date;
574
- updatedAt: Date;
575
- }
576
- declare const QUESTION_BANK_ITEM_CATEGORY_MOCK: AXPCategoryEntity<string>[];
577
- declare const questionBankItemMock: QuestionBankItemMockDto[];
578
-
579
- interface QuestionnaireMockDto extends AXPCategorizedEntityDto {
580
- id: string;
581
- title: string;
582
- description?: string;
583
- type: 'questionnaire' | 'survey' | 'checklist' | 'test' | 'evaluation';
584
- preEnabled?: boolean;
585
- preContent?: string | Record<string, string>;
586
- postReviewEnabled?: boolean;
587
- postSummaryEnabled?: boolean;
588
- postSummaryContent?: string | Record<string, string>;
589
- structure?: {
590
- sections: Array<{
591
- id: string;
592
- title: string;
593
- description?: string;
594
- order: number;
595
- visibilityCondition?: string;
596
- scoringWeight?: number;
597
- items: Array<{
598
- id: string;
599
- questionBankItemId: string;
600
- order: number;
601
- isRequired?: boolean;
602
- visibilityCondition?: string;
603
- requiredCondition?: string;
604
- scoringOverride?: {
605
- points?: number;
606
- weight?: number;
607
- };
608
- }>;
609
- }>;
610
- displaySettings?: {
611
- viewMode?: 'single-page' | 'page-per-group' | 'page-per-question';
612
- showProgressBar?: boolean;
613
- showTimer?: boolean;
614
- showSectionTitles?: boolean;
615
- showQuestionNumbers?: boolean;
616
- };
617
- };
618
- scoringType: 'none' | 'cumulative' | 'weighted' | 'formula';
619
- passingScore?: number;
620
- scoringFormula?: string;
621
- evaluationRules?: string;
622
- gradingScale?: string;
623
- timeLimit?: number;
624
- allowPause: boolean;
625
- allowBackNavigation: boolean;
626
- randomizeQuestions: boolean;
627
- requireAllAnswers: boolean;
628
- categoryIds: string[];
629
- categories: {
630
- id: string;
631
- title: string;
632
- }[];
633
- createdAt: Date;
634
- updatedAt: Date;
635
- }
636
- declare const QUESTIONNAIRE_CATEGORY_MOCK: AXPCategoryEntity<string>[];
637
- declare const questionnaireMock: QuestionnaireMockDto[];
638
-
639
- declare class AXMQuestionBankItemCategoryDataSeeder implements AXPDataSeeder {
640
- private storage;
641
- seed(): Promise<void>;
642
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMQuestionBankItemCategoryDataSeeder, never>;
643
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMQuestionBankItemCategoryDataSeeder>;
644
- }
645
-
646
- declare class AXMQuestionnaireCategoryDataSeeder implements AXPDataSeeder {
647
- private storage;
648
- seed(): Promise<void>;
649
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMQuestionnaireCategoryDataSeeder, never>;
650
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMQuestionnaireCategoryDataSeeder>;
651
- }
652
-
653
- declare class AXMQuestionBankItemDataSeeder implements AXPDataSeeder {
654
- private storage;
655
- seed(): Promise<void>;
656
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMQuestionBankItemDataSeeder, never>;
657
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMQuestionBankItemDataSeeder>;
658
- }
659
-
660
- declare class AXMQuestionnaireDataSeeder implements AXPDataSeeder {
661
- private storage;
662
- seed(): Promise<void>;
663
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMQuestionnaireDataSeeder, never>;
664
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMQuestionnaireDataSeeder>;
665
- }
666
-
667
- declare const assessmentCaseMock: {
668
- id: string;
669
- questionnaireId: string;
670
- questionnaire: {
671
- id: string;
672
- title: string;
673
- type: "questionnaire" | "survey" | "checklist" | "test" | "evaluation";
674
- };
675
- title: string;
676
- description: string;
677
- subjectRef: {
678
- type: string;
679
- id: string;
680
- title: string;
681
- };
682
- statusId: string;
683
- createdAt: Date;
684
- updatedAt: Date;
685
- }[];
686
-
687
- declare class AXMAssessmentCaseDataSeeder implements AXPDataSeeder {
688
- private storage;
689
- seed(): Promise<void>;
690
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMAssessmentCaseDataSeeder, never>;
691
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMAssessmentCaseDataSeeder>;
692
- }
693
-
694
- declare const assessmentSessionMock: ({
695
- id: string;
696
- caseId: string;
697
- case: {
698
- id: string;
699
- title: string;
700
- };
701
- responderId: string;
702
- responder: {
703
- id: string;
704
- displayName: string;
705
- };
706
- role: string;
707
- statusId: string;
708
- startedAt: Date;
709
- lastSavedAt: Date;
710
- timeSpent: number;
711
- progressPercentage: number;
712
- answeredQuestionsCount: number;
713
- answers: {
714
- 'item-1': {
715
- value: string;
716
- };
717
- 'item-2': {
718
- value: number;
719
- };
720
- 'item-3': {
721
- value: string;
722
- };
723
- 'item-4': {
724
- value: string;
725
- };
726
- 'item-5': {
727
- value: string;
728
- };
729
- 'item-6': {
730
- value: string;
731
- };
732
- 'item-7'?: undefined;
733
- 'item-8'?: undefined;
734
- 'item-9'?: undefined;
735
- 'item-10'?: undefined;
736
- };
737
- createdAt: Date;
738
- updatedAt: Date;
739
- previousId?: undefined;
740
- } | {
741
- id: string;
742
- caseId: string;
743
- case: {
744
- id: string;
745
- title: string;
746
- };
747
- responderId: string;
748
- responder: {
749
- id: string;
750
- displayName: string;
751
- };
752
- role: string;
753
- statusId: string;
754
- startedAt: Date;
755
- lastSavedAt: Date;
756
- timeSpent: number;
757
- progressPercentage: number;
758
- answeredQuestionsCount: number;
759
- answers: {
760
- 'item-1': {
761
- value: string;
762
- };
763
- 'item-2': {
764
- value: number;
765
- };
766
- 'item-3': {
767
- value: string;
768
- };
769
- 'item-4': {
770
- value: string;
771
- };
772
- 'item-5': {
773
- value: string;
774
- };
775
- 'item-6': {
776
- value: string;
777
- };
778
- 'item-7': {
779
- value: string;
780
- };
781
- 'item-8': {
782
- value: string;
783
- };
784
- 'item-9': {
785
- value: string;
786
- };
787
- 'item-10': {
788
- value: string;
789
- };
790
- };
791
- createdAt: Date;
792
- updatedAt: Date;
793
- previousId?: undefined;
794
- } | {
795
- id: string;
796
- caseId: string;
797
- case: {
798
- id: string;
799
- title: string;
800
- };
801
- responderId: string;
802
- responder: {
803
- id: string;
804
- displayName: string;
805
- };
806
- role: string;
807
- statusId: string;
808
- previousId: string;
809
- startedAt: Date;
810
- lastSavedAt: Date;
811
- timeSpent: number;
812
- progressPercentage: number;
813
- answeredQuestionsCount: number;
814
- answers: {
815
- 'item-1': {
816
- value: string;
817
- };
818
- 'item-2': {
819
- value: number;
820
- };
821
- 'item-3': {
822
- value: string;
823
- };
824
- 'item-4': {
825
- value: string;
826
- };
827
- 'item-5': {
828
- value: string;
829
- };
830
- 'item-6': {
831
- value: string;
832
- };
833
- 'item-7': {
834
- value: string;
835
- };
836
- 'item-8': {
837
- value: string;
838
- };
839
- 'item-9': {
840
- value: string;
841
- };
842
- 'item-10': {
843
- value: string;
844
- };
845
- };
846
- createdAt: Date;
847
- updatedAt: Date;
848
- } | {
849
- id: string;
850
- caseId: string;
851
- case: {
852
- id: string;
853
- title: string;
854
- };
855
- responderId: string;
856
- responder: {
857
- id: string;
858
- displayName: string;
859
- };
860
- role: string;
861
- statusId: string;
862
- progressPercentage: number;
863
- answeredQuestionsCount: number;
864
- answers: {
865
- 'item-1'?: undefined;
866
- 'item-2'?: undefined;
867
- 'item-3'?: undefined;
868
- 'item-4'?: undefined;
869
- 'item-5'?: undefined;
870
- 'item-6'?: undefined;
871
- 'item-7'?: undefined;
872
- 'item-8'?: undefined;
873
- 'item-9'?: undefined;
874
- 'item-10'?: undefined;
875
- };
876
- createdAt: Date;
877
- updatedAt: Date;
878
- startedAt?: undefined;
879
- lastSavedAt?: undefined;
880
- timeSpent?: undefined;
881
- previousId?: undefined;
882
- } | {
883
- id: string;
884
- caseId: string;
885
- case: {
886
- id: string;
887
- title: string;
888
- };
889
- responderId: string;
890
- responder: {
891
- id: string;
892
- displayName: string;
893
- };
894
- role: string;
895
- statusId: string;
896
- startedAt: Date;
897
- lastSavedAt: Date;
898
- timeSpent: number;
899
- progressPercentage: number;
900
- answeredQuestionsCount: number;
901
- answers: {
902
- 'item-1': {
903
- value: string;
904
- };
905
- 'item-2': {
906
- value: string;
907
- };
908
- 'item-3': {
909
- value: string;
910
- };
911
- 'item-4'?: undefined;
912
- 'item-5'?: undefined;
913
- 'item-6'?: undefined;
914
- 'item-7'?: undefined;
915
- 'item-8'?: undefined;
916
- 'item-9'?: undefined;
917
- 'item-10'?: undefined;
918
- };
919
- createdAt: Date;
920
- updatedAt: Date;
921
- previousId?: undefined;
922
- })[];
923
-
924
- declare class AXMAssessmentSessionDataSeeder implements AXPDataSeeder {
925
- private storage;
926
- seed(): Promise<void>;
927
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMAssessmentSessionDataSeeder, never>;
928
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMAssessmentSessionDataSeeder>;
929
- }
930
-
931
- declare class AXCTokensDataSeeder implements AXPDataSeeder {
932
- private storageService;
933
- seed(): Promise<void>;
934
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCTokensDataSeeder, never>;
935
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCTokensDataSeeder>;
936
- }
937
-
938
- declare const TOKENS: {
939
- id: string;
940
- name: string;
941
- title: string;
942
- description: string;
943
- type: "String" | "Integer" | "Boolean" | "Expression";
944
- expression: string;
945
- }[];
946
-
947
- /**
948
- * Tenant ID constants for use across mock data.
949
- * These are generated once and exported to ensure consistency.
950
- */
951
- declare const PLATFORM_TENANT_ID: string;
952
- declare const TIMEPLICITY_TENANT_ID: string;
953
- declare const LASER_PLUMBING_TENANT_ID: string;
954
-
955
- declare const tenantMocks: AXMTenantManagementTenantEntityModel[];
956
-
957
- declare class AXCTenantSeeder implements AXPDataSeeder {
958
- private readonly storageService;
959
- seed(): Promise<void>;
960
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCTenantSeeder, never>;
961
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCTenantSeeder>;
962
- }
963
-
964
- declare class AXPSecurityManagementRoleDataSeeder implements AXPDataSeeder {
965
- private storageService;
966
- seed(): Promise<void>;
967
- static ɵfac: i0.ɵɵFactoryDeclaration<AXPSecurityManagementRoleDataSeeder, never>;
968
- static ɵprov: i0.ɵɵInjectableDeclaration<AXPSecurityManagementRoleDataSeeder>;
969
- }
970
-
971
- declare class AXPSecurityManagementUserDataSeeder implements AXPDataSeeder {
972
- private storageService;
973
- seed(): Promise<void>;
974
- static ɵfac: i0.ɵɵFactoryDeclaration<AXPSecurityManagementUserDataSeeder, never>;
975
- static ɵprov: i0.ɵɵInjectableDeclaration<AXPSecurityManagementUserDataSeeder>;
976
- }
977
-
978
- type RoleMockDto = AXMSecurityManagementRolesEntityModel;
979
- declare const mockRoleDefinitions: RoleMockDto[];
980
-
981
- interface AXCMockUserMockDto extends AXMSecurityManagementUsersEntityModel {
982
- id: string;
983
- username: string;
984
- displayName: string;
985
- roleIds: string[];
986
- roles: {
987
- id: string;
988
- title: string;
989
- }[];
990
- password: string;
991
- }
992
- declare const mockUsers: AXCMockUserMockDto[];
993
-
994
- interface AXCBusinessUnitMockDto {
995
- id: string;
996
- title: string;
997
- description?: string;
998
- typeId: string;
999
- parentId?: string | null;
1000
- countryId?: string | null;
1001
- stateId?: string | null;
1002
- cityId?: string | null;
1003
- country?: {
1004
- id: string;
1005
- title: string;
1006
- } | null;
1007
- state?: {
1008
- id: string;
1009
- title: string;
1010
- } | null;
1011
- city?: {
1012
- id: string;
1013
- title: string;
1014
- } | null;
1015
- parent?: {
1016
- id: string;
1017
- title: string;
1018
- } | null;
1019
- type: {
1020
- id: string;
1021
- title: string;
1022
- } | null;
1023
- positionIds?: string[];
1024
- positions?: {
1025
- id: string;
1026
- title: string;
1027
- }[];
1028
- }
1029
- declare const BUSINESS_UNITS_MOCK: AXCBusinessUnitMockDto[];
1030
-
1031
- declare class AXMBusinessUnitDataSeeder implements AXPDataSeeder {
1032
- private storage;
1033
- seed(): Promise<void>;
1034
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMBusinessUnitDataSeeder, never>;
1035
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMBusinessUnitDataSeeder>;
1036
- }
1037
-
1038
- declare function findEmployeeById(employeeId: string): AXCEmployeeMockDto | undefined;
1039
- interface AXCEmployeeMockDto {
1040
- id: string;
1041
- userId?: string;
1042
- personId: string;
1043
- person: {
1044
- id: string;
1045
- displayName: string;
1046
- };
1047
- birthDate: Date;
1048
- employeeCode: string;
1049
- jobDefinitionId: string;
1050
- jobDefinition: {
1051
- id: string;
1052
- title: string;
1053
- };
1054
- employmentTypeId: string;
1055
- employmentType: {
1056
- id: string;
1057
- title: string;
1058
- };
1059
- hireDate: Date;
1060
- managerId: string | null;
1061
- manager: AXCEmployeeMockDto | null;
1062
- imageId: string[];
1063
- }
1064
- declare const EMPLOYEES_MOCK: AXCEmployeeMockDto[];
1065
-
1066
- type AXCEmployeeMock$1 = (typeof EMPLOYEES_MOCK)[number];
1067
- interface AXCTeamMockDto {
1068
- id: string;
1069
- title: string;
1070
- description: string;
1071
- leaderId: string;
1072
- leader: AXCEmployeeMock$1;
1073
- managerId: string;
1074
- manager: AXCEmployeeMock$1;
1075
- memberIds: string[];
1076
- members: AXCEmployeeMock$1[];
1077
- }
1078
- interface AXCTeamMockDto {
1079
- id: string;
1080
- title: string;
1081
- description: string;
1082
- leaderId: string;
1083
- leader: AXCEmployeeMock$1;
1084
- managerId: string;
1085
- manager: AXCEmployeeMock$1;
1086
- memberIds: string[];
1087
- members: AXCEmployeeMock$1[];
1088
- }
1089
- declare const TEAMS_MOCK: AXCTeamMockDto[];
1090
-
1091
- declare class AXMTeamDataSeeder implements AXPDataSeeder {
1092
- private storageService;
1093
- seed(): Promise<void>;
1094
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMTeamDataSeeder, never>;
1095
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMTeamDataSeeder>;
1096
- }
1097
-
1098
- interface AXCTeamMemberRoleMockDto {
1099
- id: string;
1100
- title: string;
1101
- name: 'leader' | 'member' | 'co-leader' | 'advisor';
1102
- }
1103
- declare const TEAM_MEMBER_ROLES_MOCK: AXCTeamMemberRoleMockDto[];
1104
-
1105
- declare class AXMTeamMemberRoleDataSeeder implements AXPDataSeeder {
1106
- private storageService;
1107
- seed(): Promise<void>;
1108
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMTeamMemberRoleDataSeeder, never>;
1109
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMTeamMemberRoleDataSeeder>;
1110
- }
1111
-
1112
- type AXCEmployeeMock = (typeof EMPLOYEES_MOCK)[number];
1113
- type AXCTeamMock = (typeof TEAMS_MOCK)[number];
1114
- type AXCTeamMemberRoleMock = (typeof TEAM_MEMBER_ROLES_MOCK)[number];
1115
- interface AXCTeamMemberMockDto {
1116
- id: string;
1117
- teamId: string;
1118
- team: AXCTeamMock;
1119
- employeeId: string;
1120
- employee: AXCEmployeeMock;
1121
- roleId: string;
1122
- role: AXCTeamMemberRoleMock;
1123
- }
1124
- declare const TEAM_MEMBERS_MOCK: AXCTeamMemberMockDto[];
1125
-
1126
- declare class AXMTeamMemberDataSeeder implements AXPDataSeeder {
1127
- private storageService;
1128
- seed(): Promise<void>;
1129
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMTeamMemberDataSeeder, never>;
1130
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMTeamMemberDataSeeder>;
1131
- }
1132
-
1133
- interface PositionMockDto extends AXPCategorizedEntityDto {
1134
- id: string;
1135
- code: string;
1136
- title: string;
1137
- description: string;
1138
- categoryIds: string[];
1139
- categories: {
1140
- id: string;
1141
- title: string;
1142
- }[];
1143
- jobLevelId: string;
1144
- jobLevel?: {
1145
- id: string;
1146
- title: string;
1147
- };
1148
- jobDefinitionId?: string;
1149
- jobDefinition?: {
1150
- id: string;
1151
- title: string;
1152
- };
1153
- businessUnitId?: string;
1154
- businessUnit?: {
1155
- id: string;
1156
- title: string;
1157
- };
1158
- capacity?: number;
1159
- }
1160
- declare const POSITIONS_CATEGORY_MOCK: AXPCategoryEntity<string>[];
1161
- declare const POSITIONS_MOCK: PositionMockDto[];
1162
-
1163
- declare class AXMPositionDataSeeder implements AXPDataSeeder {
1164
- private storageService;
1165
- seed(): Promise<void>;
1166
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMPositionDataSeeder, never>;
1167
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMPositionDataSeeder>;
1168
- }
1169
-
1170
- interface JobDefinitionMockDto extends AXPCategorizedEntityDto {
1171
- id: string;
1172
- title: string;
1173
- description: string;
1174
- categoryIds: string[];
1175
- categories: {
1176
- id: string;
1177
- title: string;
1178
- }[];
1179
- responsibilityLevelIds?: string[];
1180
- responsibilities?: AXPSpreadsheetData;
1181
- jobLevelIds?: string[];
1182
- jobLevels?: {
1183
- id: string;
1184
- title: string;
1185
- }[];
1186
- skillRequirements?: AXPSpreadsheetData;
1187
- }
1188
- declare const JOB_DEFINITIONS_CATEGORY_MOCK: AXPCategoryEntity<string>[];
1189
- declare const JOB_DEFINITIONS_MOCK: JobDefinitionMockDto[];
1190
-
1191
- declare class AXMJobDefinitionDataSeeder implements AXPDataSeeder {
1192
- private storageService;
1193
- seed(): Promise<void>;
1194
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMJobDefinitionDataSeeder, never>;
1195
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMJobDefinitionDataSeeder>;
1196
- }
1197
-
1198
- interface JobLevelMockDto {
1199
- id: string;
1200
- title: string;
1201
- description?: string;
1202
- level: number;
1203
- }
1204
- declare const JOB_LEVELS_MOCK: JobLevelMockDto[];
1205
-
1206
- declare class AXMJobLevelDataSeeder implements AXPDataSeeder {
1207
- private storageService;
1208
- seed(): Promise<void>;
1209
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMJobLevelDataSeeder, never>;
1210
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMJobLevelDataSeeder>;
1211
- }
1212
-
1213
- interface ResponsibilityMockDto extends AXPCategorizedEntityDto {
1214
- id: string;
1215
- title: string;
1216
- description: string;
1217
- categoryIds: string[];
1218
- categories: {
1219
- id: string;
1220
- title: string;
1221
- }[];
1222
- }
1223
- declare const RESPONSIBILITIES_CATEGORY_MOCK: AXPCategoryEntity<string>[];
1224
- declare const RESPONSIBILITIES_MOCK: ResponsibilityMockDto[];
1225
-
1226
- declare class AXMResponsibilityDataSeeder implements AXPDataSeeder {
1227
- private storageService;
1228
- seed(): Promise<void>;
1229
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMResponsibilityDataSeeder, never>;
1230
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMResponsibilityDataSeeder>;
1231
- }
1232
-
1233
- declare class AXMEmployeeDataSeeder implements AXPDataSeeder {
1234
- private storageService;
1235
- seed(): Promise<void>;
1236
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMEmployeeDataSeeder, never>;
1237
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMEmployeeDataSeeder>;
1238
- }
1239
-
1240
- interface AXCPositionAssignmentMockDto {
1241
- id: string;
1242
- employeeId: string;
1243
- employee?: any;
1244
- positionId: string;
1245
- position?: any;
1246
- businessUnitId: string;
1247
- businessUnit?: any;
1248
- startDate: Date;
1249
- endDate?: Date | null;
1250
- isPrimary?: boolean;
1251
- notes?: string;
1252
- }
1253
- declare const POSITION_ASSIGNMENTS_MOCK: AXCPositionAssignmentMockDto[];
1254
-
1255
- declare class AXMPositionAssignmentDataSeeder implements AXPDataSeeder {
1256
- private storageService;
1257
- seed(): Promise<void>;
1258
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMPositionAssignmentDataSeeder, never>;
1259
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMPositionAssignmentDataSeeder>;
1260
- }
1261
-
1262
- declare const EMPLOYMENT_TYPES_MOCK: any[];
1263
-
1264
- declare class AXMEmploymentTypeDataSeeder implements AXPDataSeeder {
1265
- private storageService;
1266
- seed(): Promise<void>;
1267
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMEmploymentTypeDataSeeder, never>;
1268
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMEmploymentTypeDataSeeder>;
1269
- }
1270
-
1271
- declare const LEAVE_REQUEST_STATUS_DEFINITIONS: readonly [{
1272
- readonly name: _acorex_platform_common.AXPSystemStatusType.Pending;
1273
- readonly title: string;
1274
- readonly icon: "fa-light fa-clock";
1275
- readonly color: "warning";
1276
- readonly description: string;
1277
- readonly order: 1;
1278
- readonly isInitial: true;
1279
- readonly isFinal: false;
1280
- }, {
1281
- readonly name: _acorex_platform_common.AXPSystemStatusType.Approved;
1282
- readonly title: string;
1283
- readonly icon: "fa-light fa-check-circle";
1284
- readonly color: "success";
1285
- readonly description: string;
1286
- readonly order: 3;
1287
- readonly isInitial: false;
1288
- readonly isFinal: false;
1289
- }, {
1290
- readonly name: _acorex_platform_common.AXPSystemStatusType.Rejected;
1291
- readonly title: string;
1292
- readonly icon: "fa-light fa-times-circle";
1293
- readonly color: "danger";
1294
- readonly description: string;
1295
- readonly order: 6;
1296
- readonly isInitial: false;
1297
- readonly isFinal: true;
1298
- }, {
1299
- readonly name: _acorex_platform_common.AXPSystemStatusType.Cancelled;
1300
- readonly title: string;
1301
- readonly icon: "fa-light fa-times-circle";
1302
- readonly color: "neutral";
1303
- readonly description: string;
1304
- readonly order: 6;
1305
- readonly isInitial: false;
1306
- readonly isFinal: true;
1307
- }];
1308
- type LeaveRequestStatusId = (typeof LEAVE_REQUEST_STATUS_DEFINITIONS)[number]['name'];
1309
- interface AXCLeaveRequestMockDto {
1310
- id: string;
1311
- employeeId: string;
1312
- employee?: any;
1313
- leaveTypeId: string;
1314
- leaveType?: any;
1315
- startDate: Date;
1316
- endDate: Date;
1317
- durationDays: number;
1318
- reason?: string;
1319
- statusId: LeaveRequestStatusId;
1320
- status?: {
1321
- id: LeaveRequestStatusId;
1322
- title: string;
1323
- };
1324
- }
1325
- declare const LEAVE_REQUESTS_MOCK: AXCLeaveRequestMockDto[];
1326
-
1327
- declare class AXMLeaveRequestDataSeeder implements AXPDataSeeder {
1328
- private storageService;
1329
- seed(): Promise<void>;
1330
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMLeaveRequestDataSeeder, never>;
1331
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMLeaveRequestDataSeeder>;
1332
- }
1333
-
1334
- type PersonIdentifierTypeMockDto = AXMPersonCorePersonIdentifierTypeEntityModel;
1335
- declare const personIdentifierTypeMock: PersonIdentifierTypeMockDto[];
1336
-
1337
- type PersonRelationshipTypeMockDto = AXMPersonCorePersonRelationshipTypeEntityModel;
1338
- declare const personRelationshipTypeMock: PersonRelationshipTypeMockDto[];
1339
-
1340
- interface PersonMockData {
1341
- id: string;
1342
- firstName: string;
1343
- lastName: string;
1344
- displayName: string;
1345
- email: string;
1346
- mobile: string;
1347
- gender: string;
1348
- type: string;
1349
- }
1350
- declare function findPersonById(id: string): PersonMockData | null;
1351
-
1352
- declare class AXCJsaSeeder implements AXPDataSeeder {
1353
- private storageService;
1354
- seed(): Promise<void>;
1355
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCJsaSeeder, never>;
1356
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCJsaSeeder>;
1357
- }
1358
-
1359
- interface TaskType {
1360
- id: string;
1361
- name: string;
1362
- title: string;
1363
- description: string;
1364
- icon: string;
1365
- color: string;
1366
- isActive: boolean;
1367
- order: number;
1368
- features: string[];
1369
- workflowSteps: string[];
1370
- estimatedHours: number;
1371
- priority: string;
1372
- category: string;
1373
- }
1374
- declare const TASK_TYPES: TaskType[];
1375
- interface TaskStatus {
1376
- id: string;
1377
- taskTypeId: string;
1378
- name: string;
1379
- title: string;
1380
- description: string;
1381
- color: string;
1382
- icon: string;
1383
- isInitial: boolean;
1384
- isFinal: boolean;
1385
- order: number;
1386
- nextStatuses: string[];
1387
- isActive: boolean;
1388
- }
1389
- declare const TASK_STATUSES: TaskStatus[];
1390
- interface Task {
1391
- id: string;
1392
- title: string;
1393
- description: string;
1394
- taskTypeId: string;
1395
- taskStatusId: string;
1396
- priority: string;
1397
- estimatedHours: number;
1398
- actualHours: number;
1399
- startDate: Date;
1400
- dueDate: Date;
1401
- completedDate?: Date;
1402
- assignedToUserId: string;
1403
- createdByUserId: string;
1404
- tags: string[];
1405
- progress: number;
1406
- isActive: boolean;
1407
- }
1408
- declare const TASKS: Task[];
1409
- interface TaskTemplate {
1410
- id: string;
1411
- name: string;
1412
- title: string;
1413
- description: string;
1414
- taskTypeId: string;
1415
- templateData: {
1416
- title: string;
1417
- description: string;
1418
- estimatedHours: number;
1419
- priority: string;
1420
- tags: string[];
1421
- checklistItems: Array<{
1422
- title: string;
1423
- description?: string;
1424
- order: number;
1425
- }>;
1426
- };
1427
- isPublic: boolean;
1428
- createdBy: string;
1429
- }
1430
- declare const TASK_TEMPLATES: TaskTemplate[];
1431
-
1432
- /**
1433
- * Mock workflow definitions for testing and demonstration.
1434
- * Used by workflow-definition provider and entity list.
1435
- */
1436
- declare const workflowDefinitionMock: AXPWorkflowDefinition[];
1437
- declare const workflowDefinitionIds: {
1438
- createLeaveRequest: string;
1439
- };
1440
- /**
1441
- * Mock workflow definition entities for the entity list and seeder.
1442
- * Attach Staff category directly to entity (similar to other mocks that bind category in data).
1443
- */
1444
- declare const workflowDefinitionEntityMock: AXMWorkflowManagementWorkflowDefinitionEntityModel[];
1445
-
1446
- declare class AXCWorkflowDefinitionDataSeeder implements AXPDataSeeder {
1447
- private readonly storageService;
1448
- seed(): Promise<void>;
1449
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCWorkflowDefinitionDataSeeder, never>;
1450
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCWorkflowDefinitionDataSeeder>;
1451
- }
1452
-
1453
- /**
1454
- * Activity categories with stable IDs (same pattern as metadata-category).
1455
- * Uses childrenCount & itemsCount for performance:
1456
- * - childrenCount: Direct child categories (for lazy loading)
1457
- * - itemsCount: Direct activities in this category
1458
- */
1459
- declare const activityCategoryMocks: AXPActivityCategory[];
1460
- /** @deprecated Use activityCategoryMocks. Kept for backward compatibility (seeder, etc.). */
1461
- declare const ACTIVITY_CATEGORIES: AXPActivityCategory[];
1462
-
1463
- declare class AXCActivityCategorySeeder implements AXPDataSeeder {
1464
- private readonly storageService;
1465
- seed(): Promise<void>;
1466
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCActivityCategorySeeder, never>;
1467
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCActivityCategorySeeder>;
1468
- }
1469
-
1470
- declare const ACTIVITY_DEFINITIONS: AXPActivityDefinition[];
1471
-
1472
- declare class AXCActivityDefinitionSeeder implements AXPDataSeeder {
1473
- private readonly storageService;
1474
- seed(): Promise<void>;
1475
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCActivityDefinitionSeeder, never>;
1476
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCActivityDefinitionSeeder>;
1477
- }
1478
-
1479
- /**
1480
- * Single workflow category for company: Staff.
1481
- * Workflow provider maps this category to Leave Request workflow.
1482
- */
1483
- declare const WORKFLOW_CATEGORIES: AXPWorkflowCategory[];
1484
-
1485
- /**
1486
- * Seeds workflow categories into entity storage.
1487
- * Module’s AXMWorkflowCategoryProvider reads from this key (same pattern as report categories).
1488
- */
1489
- declare class AXCWorkflowCategorySeeder implements AXPDataSeeder {
1490
- private readonly storageService;
1491
- seed(): Promise<void>;
1492
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCWorkflowCategorySeeder, never>;
1493
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCWorkflowCategorySeeder>;
1494
- }
1495
-
1496
- type extraFields$1 = {
1497
- recievedDate: Date;
1498
- };
1499
- declare class AXPTaskBoardProjectManagementTaskProvider extends AXPWorkflowTaskProvider<extraFields$1> {
1500
- private calendarService;
1501
- private list;
1502
- get name(): string;
1503
- get title(): string;
1504
- get icon(): string;
1505
- /**
1506
- * Retrieves a list of tasks, applying all provided filters and pagination.
1507
- * @param options Filtering and pagination options.
1508
- * @returns A promise resolving to the paginated list of tasks and the total count of filtered tasks.
1509
- */
1510
- getTasks(options?: AXPTaskFilter): Promise<{
1511
- items: AXPTask<extraFields$1>[];
1512
- total: number;
1513
- }>;
1514
- /**
1515
- * Updates one or more tasks in the provider's list.
1516
- * This method finds each task by its ID and applies the new properties from the input.
1517
- * It also automatically recalculates the `allDay` flag based on the task's duration.
1518
- * @param tasksToUpdate An array of task objects to update. Each object must have an `id`.
1519
- * @returns An array of the tasks that were successfully updated.
1520
- */
1521
- updateTasks(tasksToUpdate: AXPTask<extraFields$1>[]): Promise<AXPTask<extraFields$1>[]>;
1522
- private isDurationMoreThan24Hours;
1523
- executeCommand(command: AXPExecuteCommand): Promise<AXPExecuteCommandResult>;
1524
- getActions(task?: AXPTask<extraFields$1>): Promise<AXPActionMenuItem[]>;
1525
- getExtraFields(): Promise<AXPExtraField[]>;
1526
- getStatuses(): Promise<AXPTaskStatus[]>;
1527
- }
1528
-
1529
- type extraFields = {
1530
- recievedDate: Date;
1531
- };
1532
- declare class AXPTaskBoardPlatformManagementTaskProvider extends AXPWorkflowTaskProvider<extraFields> {
1533
- private calendarService;
1534
- private list;
1535
- get name(): string;
1536
- get title(): string;
1537
- get icon(): string;
1538
- /**
1539
- * Retrieves a list of tasks, applying all provided filters and pagination.
1540
- * @param options Filtering and pagination options.
1541
- * @returns A promise resolving to the paginated list of tasks and the total count of filtered tasks.
1542
- */
1543
- getTasks(options?: AXPTaskFilter): Promise<{
1544
- items: AXPTask<extraFields>[];
1545
- total: number;
1546
- }>;
1547
- /**
1548
- * Updates one or more tasks in the provider's list.
1549
- * This method finds each task by its ID and applies the new properties from the input.
1550
- * It also automatically recalculates the `allDay` flag based on the task's duration.
1551
- * @param tasksToUpdate An array of task objects to update. Each object must have an `id`.
1552
- * @returns An array of the tasks that were successfully updated.
1553
- */
1554
- updateTasks(tasksToUpdate: AXPTask<extraFields>[]): Promise<AXPTask<extraFields>[]>;
1555
- private isDurationMoreThan24Hours;
1556
- executeCommand(command: AXPExecuteCommand): Promise<AXPExecuteCommandResult>;
1557
- getActions(task?: AXPTask<extraFields>): Promise<AXPActionMenuItem[]>;
1558
- getExtraFields(): Promise<AXPExtraField[]>;
1559
- getStatuses(): Promise<AXPTaskStatus[]>;
1560
- }
1561
-
1562
- declare class AXMAiResponderService {
1563
- private readonly geminiApiKey;
1564
- getAIResponse(prompt: string): Promise<string>;
1565
- private getRandomReply;
1566
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMAiResponderService, never>;
1567
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMAiResponderService>;
1568
- }
1569
-
1570
- declare class AXPMessageDataSeeder implements AXPDataSeeder {
1571
- private storageService;
1572
- private chatService;
1573
- private chatRealtimeService;
1574
- private commentService;
1575
- private commentRealtimeService;
1576
- private aiResponderService;
1577
- private usersService;
1578
- private sessionService;
1579
- private userNameCache;
1580
- private getUserName;
1581
- seed(): Promise<void>;
1582
- static ɵfac: i0.ɵɵFactoryDeclaration<AXPMessageDataSeeder, never>;
1583
- static ɵprov: i0.ɵɵInjectableDeclaration<AXPMessageDataSeeder>;
1584
- }
1585
-
1586
- declare class AXPRoomDataSeeder implements AXPDataSeeder {
1587
- private storageService;
1588
- seed(): Promise<void>;
1589
- static ɵfac: i0.ɵɵFactoryDeclaration<AXPRoomDataSeeder, never>;
1590
- static ɵprov: i0.ɵɵInjectableDeclaration<AXPRoomDataSeeder>;
1591
- }
1592
-
1593
- declare class AXMFormDataSourcesProvider implements AXPDataSourceDefinitionProvider {
1594
- private yesNoOptions;
1595
- private yesNoNaOptions;
1596
- private booleanOptions;
1597
- private weatherConditions;
1598
- private visibilityLevels;
1599
- private workAreas;
1600
- private departments;
1601
- private permitTypes;
1602
- private approvalStatus;
1603
- private workCompletionStatus;
1604
- private trainingStatus;
1605
- private certificationStatus;
1606
- private priorityLevels;
1607
- private incidentTypes;
1608
- private severityLevels;
1609
- items(): Promise<AXPDataSourceDefinition[]>;
1610
- }
1611
-
1612
- interface ShowMetaDataFormPopupMockInput extends ShowMetaDataFormPopupInput {
1613
- /** Manual groups for meta-data-form-editor (bypasses resolveGroups) */
1614
- groups?: AXPDynamicFormGroupDefinition[];
1615
- /** Manual record for initial form context (bypasses findRecord) */
1616
- data?: Record<string, unknown>;
1617
- }
1618
- /**
1619
- * Sample mock override of ShowMetaDataFormPopupCommand for testing.
1620
- * Overrides findRecord and resolveGroups to support manual data and groups
1621
- * from input, without overriding execute.
1622
- */
1623
- declare class AXCMockShowMetaDataFormPopupCommand extends ShowMetaDataFormPopupCommand {
1624
- protected findRecord(entity: string, id: string, input?: ShowMetaDataFormPopupInput): Promise<Record<string, unknown> | null>;
1625
- protected resolveGroups(input: ShowMetaDataFormPopupInput, currentRecord: Record<string, unknown>): Promise<ResolveGroupsResult>;
1626
- protected updateRecord(entity: string, id: string, data: Record<string, unknown>): Promise<Record<string, unknown>>;
1627
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCMockShowMetaDataFormPopupCommand, never>;
1628
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCMockShowMetaDataFormPopupCommand>;
1629
- }
1630
-
1631
- declare class AXCMetaDataDefinitionDataSeeder implements AXPDataSeeder {
1632
- private storageService;
1633
- seed(): Promise<void>;
1634
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCMetaDataDefinitionDataSeeder, never>;
1635
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCMetaDataDefinitionDataSeeder>;
1636
- }
1637
-
1638
- interface CategoryMetadataInheritanceQueryParams {
1639
- entityName: string;
1640
- categoryId: string;
1641
- }
1642
- /**
1643
- * Result structure that preserves groups organization
1644
- */
1645
- interface CategoryMetadataInheritanceGroupResult {
1646
- name: string;
1647
- title?: string;
1648
- description?: string;
1649
- order: number;
1650
- fields: Array<{
1651
- id: string;
1652
- name: string;
1653
- title: string;
1654
- description?: string;
1655
- interface: string;
1656
- configuration?: any;
1657
- defaultValue?: any;
1658
- order: number;
1659
- }>;
1660
- }
1661
- type CategoryMetadataInheritanceResult = CategoryMetadataInheritanceGroupResult[];
1662
- declare class AXCQueryCategoryMetadataInheritanceQuery implements AXPQuery<CategoryMetadataInheritanceQueryParams, CategoryMetadataInheritanceResult> {
1663
- private injector;
1664
- private metaDataService;
1665
- fetch(params: CategoryMetadataInheritanceQueryParams): Promise<CategoryMetadataInheritanceResult>;
1666
- private findCategoryById;
1667
- private buildCategoryHierarchy;
1668
- /**
1669
- * Merge metadata groups from category hierarchy, preserving group structure
1670
- * Groups are merged by name, with fields from child categories taking precedence
1671
- */
1672
- private mergeMetadataGroupsFromHierarchy;
1673
- private collectInheritedMetadata;
1674
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCQueryCategoryMetadataInheritanceQuery, never>;
1675
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCQueryCategoryMetadataInheritanceQuery>;
1676
- }
1677
-
1678
- type MetadataCategoryMockDto = AXPCategoryEntity;
1679
- declare const metadataCategoryMocks: MetadataCategoryMockDto[];
1680
-
1681
- declare class AXCMetadataCategorySeeder implements AXPDataSeeder {
1682
- private readonly storageService;
1683
- seed(): Promise<void>;
1684
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCMetadataCategorySeeder, never>;
1685
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCMetadataCategorySeeder>;
1686
- }
1687
-
1688
- interface MetadataElectricityMockDto extends AXMMetaDataDefinitionEntityModel, AXPCategorizedEntityDto {
1689
- id: string;
1690
- name: string;
1691
- title: string;
1692
- defaultValue: string;
1693
- interface: AXPWidgetNode;
1694
- }
1695
- /** Single category for all electricity metadata (تجهیزات) */
1696
- declare const EQUIPMENT_CATEGORY_ID = "equipment";
1697
- declare const metadataElectricityCategoryMocks: AXPCategoryEntity<string>[];
1698
- declare const METADATA_ELECTRICITY_MOCK: MetadataElectricityMockDto[];
1699
-
1700
- declare class AXCMetaDataDefinitionElectricityDataSeeder implements AXPDataSeeder {
1701
- private storageService;
1702
- seed(): Promise<void>;
1703
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCMetaDataDefinitionElectricityDataSeeder, never>;
1704
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCMetaDataDefinitionElectricityDataSeeder>;
1705
- }
1706
-
1707
- declare class AXCMetadataElectricityCategorySeeder implements AXPDataSeeder {
1708
- private readonly storageService;
1709
- seed(): Promise<void>;
1710
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCMetadataElectricityCategorySeeder, never>;
1711
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCMetadataElectricityCategorySeeder>;
1712
- }
1713
-
1714
- /**
1715
- * Mock equipment categories for connectivity demos. Empty by default.
1716
- */
1717
- type EquipmentCategoryMockDto = AXPCategoryEntity & {
1718
- icon?: string;
1719
- color?: string;
1720
- metaDataList?: AXMMetaDataSelectorValue;
1721
- };
1722
- declare const equipmentCategoryMocks: EquipmentCategoryMockDto[];
1723
-
1724
- declare class AXCEquipmentCategorySeeder implements AXPDataSeeder {
1725
- private readonly storageService;
1726
- seed(): Promise<void>;
1727
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCEquipmentCategorySeeder, never>;
1728
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCEquipmentCategorySeeder>;
1729
- }
1730
-
1731
- declare const equipmentMocks: AXMDataManagementEquipmentEntityModel[];
1732
-
1733
- declare class AXCEquipmentSeeder implements AXPDataSeeder {
1734
- private readonly storageService;
1735
- seed(): Promise<void>;
1736
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCEquipmentSeeder, never>;
1737
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCEquipmentSeeder>;
1738
- }
1739
-
1740
- interface AXMTag {
1741
- id: string;
1742
- title: string;
1743
- color: string;
1744
- description?: string;
1745
- scope: 'system' | 'tenant' | 'user';
1746
- createdAt?: Date;
1747
- }
1748
- declare const TAGS_MOCK: AXMTag[];
1749
-
1750
- declare class AXMTagDataSeeder implements AXPDataSeeder {
1751
- private storageService;
1752
- seed(): Promise<void>;
1753
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMTagDataSeeder, never>;
1754
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMTagDataSeeder>;
1755
- }
1756
-
1757
- /**
1758
- * Creates a per-breakpoint widget layout config from the new dimensions format.
1759
- * Each breakpoint node receives the shared widget id.
1760
- */
1761
- declare function createWidgetLayoutConfig(dimensions: Record<string, any> | undefined): AXMDashboardWidgetLayoutMap;
1762
- declare function generateUserDashboard(user: (typeof mockUsers)[0]): AXMCommonDashboardEntityModel;
1763
- declare function createDashboardForUser(dashboardName: string, userId: string, widgetTypesInput: string[]): AXMCommonDashboardEntityModel;
1764
- declare function createAndSaveDashboardForUser(params: {
1765
- name: string;
1766
- userId: string;
1767
- widgetTypes: string[];
1768
- }, injector: Injector): Promise<string>;
1769
- declare const DASHBOARDS: AXMCommonDashboardEntityModel[];
1770
-
1771
- declare class AXPDashboardDataSeeder implements AXPDataSeeder {
1772
- private storageService;
1773
- seed(): Promise<void>;
1774
- static ɵfac: i0.ɵɵFactoryDeclaration<AXPDashboardDataSeeder, never>;
1775
- static ɵprov: i0.ɵɵInjectableDeclaration<AXPDashboardDataSeeder>;
1776
- }
1777
-
1778
- declare const calendarMock: ({
1779
- id: string;
1780
- name: string;
1781
- title: string;
1782
- description: string;
1783
- calendarTypeId: string;
1784
- calendarType: {
1785
- id: string;
1786
- title: string;
1787
- };
1788
- parentId: null;
1789
- parent: null;
1790
- weekends: string[];
1791
- firstDayOfWeek: string;
1792
- workingHours: {
1793
- start: string;
1794
- end: string;
1795
- breakStart: string;
1796
- breakEnd: string;
1797
- };
1798
- timeZone: string;
1799
- isTemplate: boolean;
1800
- isActive: boolean;
1801
- order: number;
1802
- notes: string;
1803
- created: {
1804
- at: Date;
1805
- };
1806
- updated: {
1807
- at: Date;
1808
- };
1809
- scope?: undefined;
1810
- scopeEntityId?: undefined;
1811
- } | {
1812
- id: string;
1813
- name: string;
1814
- title: string;
1815
- description: string;
1816
- calendarTypeId: string;
1817
- calendarType: {
1818
- id: string;
1819
- title: string;
1820
- };
1821
- parentId: null;
1822
- parent: null;
1823
- scope: string;
1824
- scopeEntityId: null;
1825
- weekends: string[];
1826
- firstDayOfWeek: string;
1827
- workingHours: {
1828
- start: string;
1829
- end: string;
1830
- breakStart: string;
1831
- breakEnd: string;
1832
- };
1833
- timeZone: string;
1834
- isTemplate: boolean;
1835
- isActive: boolean;
1836
- order: number;
1837
- notes: string;
1838
- created: {
1839
- at: Date;
1840
- };
1841
- updated: {
1842
- at: Date;
1843
- };
1844
- } | {
1845
- id: string;
1846
- name: string;
1847
- title: string;
1848
- description: string;
1849
- calendarTypeId: string;
1850
- calendarType: {
1851
- id: string;
1852
- title: string;
1853
- };
1854
- parentId: null;
1855
- parent: null;
1856
- scope: string;
1857
- scopeEntityId: string;
1858
- weekends: string[];
1859
- firstDayOfWeek: string;
1860
- workingHours: {
1861
- start: string;
1862
- end: string;
1863
- breakStart: string;
1864
- breakEnd: string;
1865
- };
1866
- timeZone: string;
1867
- isTemplate: boolean;
1868
- isActive: boolean;
1869
- order: number;
1870
- notes: string;
1871
- created: {
1872
- at: Date;
1873
- };
1874
- updated: {
1875
- at: Date;
1876
- };
1877
- })[];
1878
-
1879
- declare class AXCCalendarDataSeeder implements AXPDataSeeder {
1880
- private readonly storageService;
1881
- seed(): Promise<void>;
1882
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCCalendarDataSeeder, never>;
1883
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCCalendarDataSeeder>;
1884
- }
1885
-
1886
- declare const calendarEventMock: ({
1887
- id: string;
1888
- calendarId: string;
1889
- calendar: {
1890
- id: string;
1891
- title: string;
1892
- };
1893
- title: string;
1894
- description: string;
1895
- typeId: string;
1896
- type: _acorex_modules_calendar_management.AXMCalendarManagementCalendarEventTypeEntityModel;
1897
- date: Date;
1898
- isRecurring: boolean;
1899
- recurrenceRule: string;
1900
- isActive: boolean;
1901
- order: number;
1902
- created: {
1903
- at: Date;
1904
- };
1905
- updated: {
1906
- at: Date;
1907
- };
1908
- } | {
1909
- id: string;
1910
- calendarId: string;
1911
- calendar: {
1912
- id: string;
1913
- title: string;
1914
- };
1915
- title: string;
1916
- description: string;
1917
- typeId: string;
1918
- type: _acorex_modules_calendar_management.AXMCalendarManagementCalendarEventTypeEntityModel;
1919
- date: Date;
1920
- isRecurring: boolean;
1921
- recurrenceRule: null;
1922
- isActive: boolean;
1923
- order: number;
1924
- created: {
1925
- at: Date;
1926
- };
1927
- updated: {
1928
- at: Date;
1929
- };
1930
- })[];
1931
-
1932
- declare class AXCCalendarEventDataSeeder implements AXPDataSeeder {
1933
- private readonly storageService;
1934
- seed(): Promise<void>;
1935
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCCalendarEventDataSeeder, never>;
1936
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCCalendarEventDataSeeder>;
1937
- }
1938
-
1939
- declare const calendarEventTypeMockData: AXMCalendarManagementCalendarEventTypeEntityModel[];
1940
-
1941
- declare class AXMCalendarEventTypeSeeder implements AXPDataSeeder {
1942
- private readonly storageService;
1943
- seed(): Promise<void>;
1944
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMCalendarEventTypeSeeder, never>;
1945
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMCalendarEventTypeSeeder>;
1946
- }
1947
-
1948
- declare const meetingIds: {
1949
- dailyStandup1: string;
1950
- dailyStandup2: string;
1951
- projectReview1: string;
1952
- };
1953
- declare const meetingMock: ({
1954
- id: string;
1955
- title: string;
1956
- meetingNotes: string;
1957
- meetingType: {
1958
- id: string;
1959
- title: string;
1960
- };
1961
- meetingProviderType: string;
1962
- isRecorded: boolean;
1963
- setInGoogleCalendar: boolean;
1964
- meetingStatusId: string;
1965
- meetingStatus: {
1966
- id: string;
1967
- title: string;
1968
- };
1969
- isFullysignedOff: boolean;
1970
- meetingLocationId: {
1971
- id: string;
1972
- title: string;
1973
- };
1974
- joinUrl?: undefined;
1975
- hostUrl?: undefined;
1976
- } | {
1977
- id: string;
1978
- title: string;
1979
- meetingNotes: string;
1980
- meetingType: {
1981
- id: string;
1982
- title: string;
1983
- };
1984
- meetingProviderType: string;
1985
- joinUrl: string;
1986
- hostUrl: string;
1987
- isRecorded: boolean;
1988
- setInGoogleCalendar: boolean;
1989
- meetingStatusId: string;
1990
- meetingStatus: {
1991
- id: string;
1992
- title: string;
1993
- };
1994
- isFullysignedOff: boolean;
1995
- meetingLocationId?: undefined;
1996
- } | {
1997
- id: string;
1998
- title: string;
1999
- meetingNotes: string;
2000
- meetingType: {
2001
- id: string;
2002
- title: string;
2003
- };
2004
- meetingProviderType: string;
2005
- joinUrl: string;
2006
- hostUrl: string;
2007
- isRecorded: boolean;
2008
- setInGoogleCalendar: boolean;
2009
- meetingStatusId: string;
2010
- meetingStatus: {
2011
- id: string;
2012
- title: string;
2013
- };
2014
- isFullysignedOff: boolean;
2015
- meetingLocationId: {
2016
- id: string;
2017
- title: string;
2018
- };
2019
- })[];
2020
-
2021
- declare class AXMMeetingDataSeeder implements AXPDataSeeder {
2022
- private readonly storageService;
2023
- seed(): Promise<void>;
2024
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMMeetingDataSeeder, never>;
2025
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMMeetingDataSeeder>;
2026
- }
2027
-
2028
- declare const meetingTypeMock: {
2029
- id: string;
2030
- title: string;
2031
- }[];
2032
-
2033
- declare class AXMMeetingTypeDataSeeder implements AXPDataSeeder {
2034
- private readonly storageService;
2035
- seed(): Promise<void>;
2036
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMMeetingTypeDataSeeder, never>;
2037
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMMeetingTypeDataSeeder>;
2038
- }
2039
-
2040
- declare const meetingParticipantMock: ({
2041
- id: string;
2042
- meetingId: string;
2043
- employeeId: {
2044
- id: string;
2045
- title: string;
2046
- };
2047
- jointime: Date;
2048
- leaveTime: Date;
2049
- duration: number;
2050
- signOffAt: Date;
2051
- participantStatusId: "present";
2052
- participantStatus: {
2053
- id: "present";
2054
- title: "Present";
2055
- };
2056
- meetingRoleTypeIds: {
2057
- id: string;
2058
- title: string;
2059
- };
2060
- } | {
2061
- id: string;
2062
- meetingId: string;
2063
- employeeId: {
2064
- id: string;
2065
- title: string;
2066
- };
2067
- jointime: Date;
2068
- leaveTime: Date;
2069
- duration: number;
2070
- signOffAt: Date;
2071
- participantStatusId: "accept";
2072
- participantStatus: {
2073
- id: "accept";
2074
- title: "Accept";
2075
- };
2076
- meetingRoleTypeIds: {
2077
- id: string;
2078
- title: string;
2079
- };
2080
- } | {
2081
- id: string;
2082
- meetingId: string;
2083
- employeeId: {
2084
- id: string;
2085
- title: string;
2086
- };
2087
- jointime: Date;
2088
- leaveTime: null;
2089
- duration: number;
2090
- signOffAt: null;
2091
- participantStatusId: "present";
2092
- participantStatus: {
2093
- id: "present";
2094
- title: "Present";
2095
- };
2096
- meetingRoleTypeIds: {
2097
- id: string;
2098
- title: string;
2099
- };
2100
- } | {
2101
- id: string;
2102
- meetingId: string;
2103
- employeeId: {
2104
- id: string;
2105
- title: string;
2106
- };
2107
- jointime: Date;
2108
- leaveTime: Date;
2109
- duration: number;
2110
- signOffAt: Date;
2111
- participantStatusId: "absent";
2112
- participantStatus: {
2113
- id: "absent";
2114
- title: "Absent";
2115
- };
2116
- meetingRoleTypeIds: {
2117
- id: string;
2118
- title: string;
2119
- };
2120
- })[];
2121
-
2122
- declare class AXMMeetingParticipantDataSeeder implements AXPDataSeeder {
2123
- private readonly storageService;
2124
- seed(): Promise<void>;
2125
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMMeetingParticipantDataSeeder, never>;
2126
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMMeetingParticipantDataSeeder>;
2127
- }
2128
-
2129
- declare const meetingSessionMock: ({
2130
- id: string;
2131
- meetingId: string;
2132
- title: string;
2133
- scheduleDate: Date;
2134
- startTime: Date;
2135
- endTime: Date;
2136
- actualDate: Date;
2137
- actualStartTime: Date;
2138
- actualEndTime: Date;
2139
- } | {
2140
- id: string;
2141
- meetingId: string;
2142
- title: string;
2143
- scheduleDate: Date;
2144
- startTime: Date;
2145
- endTime: Date;
2146
- actualDate: Date;
2147
- actualStartTime: Date;
2148
- actualEndTime?: undefined;
2149
- } | {
2150
- id: string;
2151
- meetingId: string;
2152
- title: string;
2153
- scheduleDate: Date;
2154
- startTime: Date;
2155
- endTime: Date;
2156
- actualDate?: undefined;
2157
- actualStartTime?: undefined;
2158
- actualEndTime?: undefined;
2159
- })[];
2160
-
2161
- declare class AXMMeetingSessionDataSeeder implements AXPDataSeeder {
2162
- private readonly storageService;
2163
- seed(): Promise<void>;
2164
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMMeetingSessionDataSeeder, never>;
2165
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMMeetingSessionDataSeeder>;
2166
- }
2167
-
2168
- declare const meetingTimeSlotMock: ({
2169
- id: string;
2170
- meetingId: string;
2171
- scheduleDate: Date;
2172
- startTime: Date;
2173
- endTime: Date;
2174
- actualDate: Date;
2175
- actualStartTime: Date;
2176
- actualEndTime: Date;
2177
- } | {
2178
- id: string;
2179
- meetingId: string;
2180
- scheduleDate: Date;
2181
- startTime: Date;
2182
- endTime: Date;
2183
- actualDate: Date;
2184
- actualStartTime: Date;
2185
- actualEndTime?: undefined;
2186
- } | {
2187
- id: string;
2188
- meetingId: string;
2189
- scheduleDate: Date;
2190
- startTime: Date;
2191
- endTime: Date;
2192
- actualDate?: undefined;
2193
- actualStartTime?: undefined;
2194
- actualEndTime?: undefined;
2195
- })[];
2196
-
2197
- declare const meetingFilesMock: {
2198
- id: string;
2199
- meetingId: string;
2200
- documentId: string;
2201
- description: string;
2202
- }[];
2203
-
2204
- declare class AXMMeetingFilesDataSeeder implements AXPDataSeeder {
2205
- private readonly storageService;
2206
- seed(): Promise<void>;
2207
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMMeetingFilesDataSeeder, never>;
2208
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMMeetingFilesDataSeeder>;
2209
- }
2210
-
2211
- declare const participantIds: {
2212
- participant1: string;
2213
- participant2: string;
2214
- participant3: string;
2215
- participant4: string;
2216
- participant5: string;
2217
- participant6: string;
2218
- participant7: string;
2219
- participant8: string;
2220
- participant9: string;
2221
- };
2222
- declare const meetingRoleTypeMock: {
2223
- id: string;
2224
- title: string;
2225
- meetingParticipantId: string;
2226
- }[];
2227
-
2228
- declare class AXMMeetingRoleTypeDataSeeder implements AXPDataSeeder {
2229
- private readonly storageService;
2230
- seed(): Promise<void>;
2231
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMMeetingRoleTypeDataSeeder, never>;
2232
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMMeetingRoleTypeDataSeeder>;
2233
- }
2234
-
2235
- declare const meetingTypeFileTemplateMock: ({
2236
- id: string;
2237
- title: string;
2238
- templateId: string;
2239
- typeId: string;
2240
- } | {
2241
- id: string;
2242
- title: string;
2243
- templateId: string;
2244
- typeId: {
2245
- id: string;
2246
- title: string;
2247
- };
2248
- })[];
2249
-
2250
- declare class AXMMeetingTypeFileTemplateDataSeeder implements AXPDataSeeder {
2251
- private readonly storageService;
2252
- seed(): Promise<void>;
2253
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMMeetingTypeFileTemplateDataSeeder, never>;
2254
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMMeetingTypeFileTemplateDataSeeder>;
2255
- }
2256
-
2257
- declare class AXCLockService implements AXPLockService {
2258
- private className;
2259
- private db;
2260
- constructor();
2261
- private get lockTable();
2262
- protected entityName: string;
2263
- /**
2264
- * Cache Time-To-Live in milliseconds. Default is 5 seconds but can be overridden
2265
- * at runtime using {@link setCacheDuration}.
2266
- */
2267
- private cacheTTL;
2268
- /** In-memory cache for lock information. */
2269
- private readonly cacheMap;
2270
- /** Reference to the recurring cache-flush timer. */
2271
- private cacheTimer;
2272
- /**
2273
- * Generates a unique cache key based on the lock request parameters.
2274
- */
2275
- private getCacheKey;
2276
- /**
2277
- * Starts or restarts the interval that clears the cache.
2278
- */
2279
- private startCacheTimer;
2280
- /**
2281
- * Allows consumers to change the cache duration (in milliseconds) at runtime.
2282
- * The new duration is applied immediately.
2283
- */
2284
- setCacheDuration(ms: number): void;
2285
- lock(request: AXPLockRequest): Promise<AXPLockInfo>;
2286
- unlock(request: AXPUnLockRequest): Promise<void>;
2287
- check(request: AXPLockGetInfoRequest): Promise<boolean>;
2288
- getInfo(request: AXPLockGetInfoRequest): Promise<AXPLockInfo>;
2289
- getItems(request: AXPLockGetInfoRequest): Promise<AXPLockInfo[]>;
2290
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCLockService, never>;
2291
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCLockService>;
2292
- }
2293
-
2294
- declare class AXCFileStorageService implements AXPFileStorageService {
2295
- private fileService;
2296
- private mapToFileStorageInfo;
2297
- save(request: AXPFileStorageCreateRequest): Promise<AXPFileStorageInfo>;
2298
- commit(fileId: string): Promise<void>;
2299
- markForDeletion(fileId: string): Promise<void>;
2300
- update(request: AXPFileStorageUpdateRequest): Promise<AXPFileStorageInfo>;
2301
- find(request: AXPFileStorageFindRequest): Promise<AXPFileStorageInfo[]>;
2302
- getInfo(fileId: string): Promise<AXPFileStorageInfo>;
2303
- remove(fileId: string): Promise<void>;
2304
- private cleanupTemporaryFiles;
2305
- private cleanupMarkedFiles;
2306
- constructor();
2307
- findMany(ids: string[]): Promise<AXPFileManyStorageInfo[]>;
2308
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCFileStorageService, never>;
2309
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCFileStorageService>;
2310
- }
2311
-
2312
- interface AXPVersionStream {
2313
- id: string;
2314
- entityType: string;
2315
- entityId: string;
2316
- createdAt: string;
2317
- }
2318
- declare enum AXVChangeType {
2319
- Create = "Create",
2320
- Update = "Update",
2321
- Delete = "Delete"
2322
- }
2323
- type CanonicalChangeOp = 'add' | 'remove' | 'replace' | 'rename' | 'metadata';
2324
- interface CanonicalChange {
2325
- path: string;
2326
- op: CanonicalChangeOp;
2327
- oldValue?: unknown;
2328
- newValue?: unknown;
2329
- meta?: Record<string, unknown>;
2330
- }
2331
- interface AXPVersionEntry {
2332
- id: string;
2333
- streamId: string;
2334
- versionNumber: number;
2335
- changeType: AXVChangeType;
2336
- changedBy: string;
2337
- changedAt: string;
2338
- snapshotJson: unknown;
2339
- patchFromPrevJson: CanonicalChange[];
2340
- summary?: string;
2341
- metadataJson?: unknown;
2342
- }
2343
- interface AXPVersionChange {
2344
- id?: number;
2345
- versionEntryId: string;
2346
- path: string;
2347
- op: CanonicalChangeOp;
2348
- oldValue?: unknown;
2349
- newValue?: unknown;
2350
- }
2351
- interface VersionedFileInfo {
2352
- id: string;
2353
- name: string;
2354
- size: number;
2355
- mime: string;
2356
- hash: string;
2357
- url?: string;
2358
- thumbUrl?: string;
2359
- }
2360
- declare class AXCVersionDB extends Dexie {
2361
- version_streams: Table<AXPVersionStream, string>;
2362
- version_entries: Table<AXPVersionEntry, string>;
2363
- version_changes: Table<AXPVersionChange, number>;
2364
- constructor();
2365
- }
2366
- declare const axVersionDB: AXCVersionDB;
2367
-
2368
- /**
2369
- * Compute canonical JSON Patch-like changes with custom ops for file arrays.
2370
- */
2371
- declare function computeDiff(prevSnapshot: unknown, nextSnapshot: unknown, basePath?: string): CanonicalChange$1[];
2372
- declare class AXCVersioningService implements AXPVersioningService {
2373
- private readonly db;
2374
- private readonly fileStorage;
2375
- upsertStream(entityType: string, entityId: string): Promise<string>;
2376
- /** Gets stream id if it exists, otherwise returns null (does not create). */
2377
- getStreamIdIfExists(entityType: string, entityId: string): Promise<string | null>;
2378
- getCurrentVersion(streamId: string): Promise<number>;
2379
- /** Lists version entries for a given stream, newest first. */
2380
- listEntries(streamId: string, options?: {
2381
- limit?: number;
2382
- offset?: number;
2383
- }): Promise<AXPVersionEntry$1[]>;
2384
- createVersion(entityType: string, entityId: string, newSnapshot: unknown, changes?: CanonicalChange$1[], options?: {
2385
- changeType?: AXVChangeType$1;
2386
- changedBy?: string;
2387
- summary?: string;
2388
- metadata?: unknown;
2389
- }): Promise<AXPVersionEntry$1>;
2390
- getDiffForVersions(streamId: string, v1: number, v2: number): Promise<CanonicalChange$1[]>;
2391
- getUiFriendlyDiff(streamId: string, v1: number, v2: number): Promise<Array<{
2392
- badge: string;
2393
- path: string;
2394
- summary: string;
2395
- oldValue?: unknown;
2396
- newValue?: unknown;
2397
- }>>;
2398
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCVersioningService, never>;
2399
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCVersioningService>;
2400
- }
2401
-
2402
- interface UIDiffRow {
2403
- badge: 'Added' | 'Removed' | 'Replaced' | 'Renamed' | 'Metadata' | 'Updated';
2404
- path: string;
2405
- summary: string;
2406
- oldValue?: unknown;
2407
- newValue?: unknown;
2408
- }
2409
- declare function toUiRows(changes: CanonicalChange[]): UIDiffRow[];
2410
-
2411
- declare function normalizeAnyFileArrayForView(arr: any[], fileStorage: AXPFileStorageService): Promise<AXPFileListItem[]>;
2412
- declare function normalizeSnapshotFileFieldsForView(snapshot: any, fileStorage: AXPFileStorageService): Promise<any>;
2413
-
2414
- /**
2415
- * Bookmark entity for IndexedDB storage.
2416
- * Aligns with ERD: BOOKMARK table structure.
2417
- */
2418
- interface AXCBookmarkEntity {
2419
- id: string;
2420
- instanceId: string;
2421
- activityId: string;
2422
- type: string;
2423
- hash: string;
2424
- payloadJson: string;
2425
- isConsumed: boolean;
2426
- createdAt: string;
2427
- }
2428
- /**
2429
- * Dexie database for workflow instances and bookmarks.
2430
- * Aligns with ERD structure: WORKFLOW_INSTANCE + BOOKMARK tables.
2431
- */
2432
- declare class AXCWorkflowExecutionDB extends Dexie {
2433
- /**
2434
- * Table for workflow instances.
2435
- * Uses id as primary key.
2436
- * Aligns with WORKFLOW_INSTANCE table in ERD.
2437
- */
2438
- instances: Table<AXPWorkflowInstance, string>;
2439
- /**
2440
- * Table for workflow bookmarks.
2441
- * Aligns with BOOKMARK table in ERD.
2442
- */
2443
- bookmarks: Table<AXCBookmarkEntity, string>;
2444
- constructor();
2445
- }
2446
- /**
2447
- * Singleton instance of workflow execution database.
2448
- */
2449
- declare const axWorkflowExecutionDB: AXCWorkflowExecutionDB;
2450
-
2451
- /**
2452
- * Mock implementation of AXPWorkflowEngine.
2453
- *
2454
- * Uses IndexedDB (via Dexie) to store workflow instance states.
2455
- *
2456
- * @example
2457
- * ```typescript
2458
- * // In module providers
2459
- * {
2460
- * provide: AXP_WORKFLOW_ENGINE,
2461
- * useClass: AXCWorkflowEngine,
2462
- * }
2463
- * ```
2464
- */
2465
- declare class AXCWorkflowEngine implements AXPWorkflowEngine {
2466
- private readonly db;
2467
- private readonly commandService;
2468
- private readonly entityStorageService;
2469
- private readonly activityDefinitionService;
2470
- private readonly workflowProviders;
2471
- private readonly expressionScopeService;
2472
- private readonly expressionEvaluator;
2473
- /**
2474
- * Get workflow definition by name using workflow providers.
2475
- * Falls back to entity storage query by name if providers fail.
2476
- *
2477
- * [AXCWorkflowRuntimeService] Uses workflow providers for consistency with Workflow Management UI.
2478
- */
2479
- private getDefinition;
2480
- /**
2481
- * Secure task token storage.
2482
- * Key: token (UUID)
2483
- * Value: { instanceId, activityId, expiresAt }
2484
- */
2485
- private taskTokens;
2486
- /**
2487
- * Token expiration time: 30 minutes
2488
- */
2489
- private readonly TOKEN_EXPIRATION_MS;
2490
- /**
2491
- * Generate secure, non-guessable task token (UUID).
2492
- */
2493
- private generateTaskToken;
2494
- /**
2495
- * Validate task token.
2496
- * Returns true if token exists, not expired, and matches instanceId + activityId.
2497
- */
2498
- private validateTaskToken;
2499
- /**
2500
- * Remove task token after completion to prevent replay.
2501
- */
2502
- private removeTaskToken;
2503
- /**
2504
- * Cleanup expired tokens (lightweight).
2505
- */
2506
- private cleanupExpiredTokens;
2507
- /**
2508
- * Start a new workflow instance.
2509
- * Creates a workflow instance and stores it in IndexedDB.
2510
- */
2511
- start(request: AXPStartWorkflowRequest): Promise<AXPStartWorkflowResponse>;
2512
- /**
2513
- * Find activity in Graph by ID.
2514
- */
2515
- private findActivityInGraph;
2516
- /**
2517
- * Default outcome used when the requested outcome is not in the allowed list (standard scenario).
2518
- */
2519
- private static readonly DEFAULT_UNMATCHED_OUTCOME;
2520
- /**
2521
- * Resolve allowed outcomes for the current activity from the workflow definition.
2522
- * - For human-task: parse activity instance inputs.actions (prefix/suffix) and use action names as outcomes.
2523
- * - Otherwise: use activity definition outcomes or ['Done'].
2524
- */
2525
- private getActivityAllowedOutcomes;
2526
- /**
2527
- * Normalize outcome: if it is in the allowed list, return as-is; otherwise use standard fallback and log.
2528
- */
2529
- private normalizeOutcome;
2530
- /**
2531
- * Ensure value is a plain object for use as scope.outputs.
2532
- * Each step overwrites outputs; the next activity's input sees this as outputs.id, outputs.xxx, etc.
2533
- */
2534
- private ensureOutputsForScope;
2535
- /**
2536
- * Resume a suspended workflow instance.
2537
- *
2538
- * After frontend completes its task:
2539
- * 1. Validates taskToken (secure, non-guessable)
2540
- * 2. Verifies resumed activity matches currentStepId/bookmark
2541
- * 3. Marks related bookmark as consumed
2542
- * 4. Applies frontend outputs into workflow state
2543
- * 5. Traverses to next activity based on outcomes
2544
- * 6. Executes ALL backend activities until hitting frontend activity or completion
2545
- * 7. Returns either pendingTask (with new secure token) or completed status
2546
- */
2547
- resume(request: AXPResumeWorkflowRequest): Promise<AXPResumeWorkflowResponse>;
2548
- /**
2549
- * Get current workflow execution state.
2550
- */
2551
- getState(request: AXPGetWorkflowStateRequest): Promise<AXPWorkflowInstanceState>;
2552
- /**
2553
- * Cache for activity definitions to avoid repeated queries.
2554
- */
2555
- private activityDefinitionCache;
2556
- /**
2557
- * Cache TTL: 5 minutes
2558
- */
2559
- private readonly CACHE_TTL_MS;
2560
- /**
2561
- * Determine execution mode for an activity (async).
2562
- *
2563
- * Priority (highest to lowest):
2564
- * 1. Activity instance's executionMode (from AXPActivity in workflow definition)
2565
- * 2. ActivityDefinition's executionMode (from ActivityDefinitionService)
2566
- * 3. Default: 'frontend'
2567
- *
2568
- * @param activityType - Activity type (e.g., 'workflow-activity:show-toast')
2569
- * @param activity - Activity from workflow definition (AXPActivity)
2570
- * @returns Promise of execution mode: 'frontend', 'backend', or 'both'
2571
- */
2572
- private determineExecutionMode;
2573
- /**
2574
- * Create a task from a workflow activity.
2575
- * Inspired by Temporal's Activity Task and Elsa's Bookmark pattern.
2576
- * Uses same expression scope (inputs, variables, outputs, context.eval) as backend execution.
2577
- */
2578
- private createTaskFromActivity;
2579
- /**
2580
- * Save workflow instance to entity service for entity-based access.
2581
- */
2582
- private saveInstanceToEntityService;
2583
- /**
2584
- * Update workflow instance in entity service.
2585
- * Uses upsert pattern: try update first, if fails then insert.
2586
- */
2587
- private updateInstanceInEntityService;
2588
- /**
2589
- * Execute backend activities locally using CommandBus.
2590
- *
2591
- * Backend activities are registered as Commands and executed via CommandService.
2592
- * Uses WorkflowExpressionScopeService + AXPExpressionEvaluatorService for expression
2593
- * evaluation (inputs, variables, outputs, context.eval) so backend activities get the
2594
- * same expression handling as the platform ActivityExecutor.
2595
- */
2596
- private executeBackendActivityLocally;
2597
- /**
2598
- * Build variable updates from activity output using activity's outputToVariables (BPMN-style: activity → variable).
2599
- * For each entry in activity.outputToVariables, sets variables[variableName] = output[outputPath].
2600
- */
2601
- private getVariableUpdatesFromOutput;
2602
- /**
2603
- * Set variable activity - stores value in workflow state.
2604
- */
2605
- private executeSetVariable;
2606
- /**
2607
- * Execute HTTP request - makes real HTTP call.
2608
- * Supports different HTTP methods and handles timeouts.
2609
- */
2610
- private executeHttpRequest;
2611
- /**
2612
- * Create a bookmark for a workflow instance.
2613
- * Aligns with ERD: BOOKMARK table structure.
2614
- *
2615
- * @param instanceId - Workflow instance ID
2616
- * @param activityId - Activity ID where bookmark is created
2617
- * @param type - Bookmark type (e.g., 'user-task', 'event', 'timer')
2618
- * @param payload - Bookmark payload data
2619
- * @returns Bookmark ID
2620
- */
2621
- private createBookmark;
2622
- /**
2623
- * Consume (mark as consumed) a bookmark for a workflow instance.
2624
- *
2625
- * @param instanceId - Workflow instance ID
2626
- * @param activityId - Activity ID of the bookmark to consume
2627
- */
2628
- private consumeBookmark;
2629
- /**
2630
- * Get active bookmarks for a workflow instance.
2631
- *
2632
- * @param instanceId - Workflow instance ID
2633
- * @returns Array of active (non-consumed) bookmarks
2634
- */
2635
- private getActiveBookmarks;
2636
- /**
2637
- * Convert workflow instance to instance state.
2638
- *
2639
- * Aligns with ERD structure:
2640
- * - WORKFLOW_INSTANCE: header fields (status, subStatus, timestamps)
2641
- * - WORKFLOW_INSTANCE_STATE: heavy state (input, output, properties, stateJson)
2642
- * - BOOKMARK: separate table (used to derive currentStepId)
2643
- */
2644
- private instanceToInstanceState;
2645
- /**
2646
- * Update instance state in instance and save to IndexedDB.
2647
- *
2648
- * Aligns with ERD structure:
2649
- * - WORKFLOW_INSTANCE: header fields (status, subStatus, timestamps, correlationId)
2650
- * - WORKFLOW_INSTANCE_STATE: heavy state (input, output, properties, stateJson)
2651
- *
2652
- * Handles status transitions correctly:
2653
- * - running → suspended (when frontend activity encountered)
2654
- * - suspended → running → completed (when workflow finishes)
2655
- * - any → error (on errors)
2656
- */
2657
- private updateInstanceFromState;
2658
- /**
2659
- * Get workflow instance from IndexedDB.
2660
- */
2661
- private getInstance;
2662
- /**
2663
- * Update workflow instance in IndexedDB.
2664
- */
2665
- private updateInstance;
2666
- /**
2667
- * Complete a frontend activity and continue workflow execution.
2668
- *
2669
- * This method is called when a frontend activity (ui-activity) completes execution.
2670
- * It applies the frontend output to workflow state, finds the next activity based on outcome,
2671
- * and executes all backend activities until reaching the next frontend activity or completion.
2672
- *
2673
- * Flow:
2674
- * 1. Apply frontend output to workflow state
2675
- * 2. Find next activity based on outcome from connections
2676
- * 3. Execute ALL backend activities until hitting frontend activity or completion
2677
- * 4. Return either nextTask (with new secure token) or completed status
2678
- *
2679
- * @param request - Front activity completion request with instanceId, activityNode, output, and outcome
2680
- * @returns Response with nextTask (if frontend activity) or completion status
2681
- */
2682
- frontActivtyComplete(request: AXPFrontActivityCompleteRequest): Promise<AXPFrontActivityCompleteResponse>;
2683
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCWorkflowEngine, never>;
2684
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCWorkflowEngine>;
2685
- }
2686
-
2687
- declare const titleInterface: AXPWidgetNode;
2688
- declare const descriptionInterface: AXPWidgetNode;
2689
- declare const versionInterface: AXPWidgetNode;
2690
- declare const dateInterface: AXPWidgetNode;
2691
- declare const dateTimeInterface: AXPWidgetNode;
2692
- declare const numberInterface: AXPWidgetNode;
2693
- declare const selectInterface: AXPWidgetNode;
2694
- declare const checkboxInterface: AXPWidgetNode;
2695
- declare const toggleInterface: AXPWidgetNode;
2696
- declare const richTextInterface: AXPWidgetNode;
2697
- declare const emailInterface: AXPWidgetNode;
2698
- declare const urlInterface: AXPWidgetNode;
2699
- declare const passwordInterface: AXPWidgetNode;
2700
- declare const phoneInterface: AXPWidgetNode;
2701
- declare const colorInterface: AXPWidgetNode;
2702
- declare const tagInterface: AXPWidgetNode;
2703
- declare const textInterface: AXPWidgetNode;
2704
- declare const textAreaInterface: AXPWidgetNode;
2705
- declare const fileUploaderInterface: AXPWidgetNode;
2706
- declare const lookupInterface: AXPWidgetNode;
2707
- declare const selectionListInterface: AXPWidgetNode;
2708
- declare const contactInterface: AXPWidgetNode;
2709
- declare const mapInterface: AXPWidgetNode;
2710
- declare const signatureInterface: AXPWidgetNode;
2711
- declare const qrcodeInterface: AXPWidgetNode;
2712
- declare const avatarInterface: AXPWidgetNode;
2713
- declare const imageInterface: AXPWidgetNode;
2714
- declare const timeDurationInterface: AXPWidgetNode;
2715
- declare const ratingInterface: AXPWidgetNode;
2716
- declare const scaleInterface: AXPWidgetNode;
2717
- declare const yesNoInterface: AXPWidgetNode;
2718
- declare const multipleChoiceInterface: AXPWidgetNode;
2719
- declare const multipleSelectInterface: AXPWidgetNode;
2720
- declare const longTextAnswerInterface: AXPWidgetNode;
2721
-
2722
- interface AXPRuleRow extends AXPIdentifierRule {
2723
- }
2724
- interface AXPSeqRow {
2725
- id: string;
2726
- ruleId: string;
2727
- scopeHash: string;
2728
- currentValue: number;
2729
- hi?: number;
2730
- next?: number;
2731
- lastResetKey?: string;
2732
- }
2733
- interface AXPLogRow {
2734
- id: string;
2735
- entity: string;
2736
- tenantId?: string;
2737
- code: string;
2738
- createdAt: string;
2739
- }
2740
- declare class AXPIdentifierDB extends Dexie {
2741
- rules: Table<AXPRuleRow, string>;
2742
- sequences: Table<AXPSeqRow, string>;
2743
- logs: Table<AXPLogRow, string>;
2744
- constructor();
2745
- }
2746
- declare class AXPMockClockProvider implements AXPClockProvider {
2747
- now(): Date;
2748
- static ɵfac: i0.ɵɵFactoryDeclaration<AXPMockClockProvider, never>;
2749
- static ɵprov: i0.ɵɵInjectableDeclaration<AXPMockClockProvider>;
2750
- }
2751
- declare class AXPMockChecksumProvider implements AXPChecksumProvider {
2752
- compute(algo: 'luhn' | 'mod11', input: string): string;
2753
- static ɵfac: i0.ɵɵFactoryDeclaration<AXPMockChecksumProvider, never>;
2754
- static ɵprov: i0.ɵɵInjectableDeclaration<AXPMockChecksumProvider>;
2755
- }
2756
- declare class AXPMockPolicyProvider implements AXPPolicyProvider {
2757
- isAllowed(): boolean;
2758
- static ɵfac: i0.ɵɵFactoryDeclaration<AXPMockPolicyProvider, never>;
2759
- static ɵprov: i0.ɵɵInjectableDeclaration<AXPMockPolicyProvider>;
2760
- }
2761
- declare class AXPMockLookupProvider implements AXPLookupProvider {
2762
- private readonly map;
2763
- get(key: string): Promise<string | undefined>;
2764
- static ɵfac: i0.ɵɵFactoryDeclaration<AXPMockLookupProvider, never>;
2765
- static ɵprov: i0.ɵɵInjectableDeclaration<AXPMockLookupProvider>;
2766
- }
2767
- declare class AXPMockSequenceProvider implements AXPSequenceProvider {
2768
- private readonly db;
2769
- private readonly rulesFromProviders;
2770
- next(scopeHash: string, ruleId: string, options?: {
2771
- pad?: number;
2772
- consume?: boolean;
2773
- }): Promise<number>;
2774
- static ɵfac: i0.ɵɵFactoryDeclaration<AXPMockSequenceProvider, never>;
2775
- static ɵprov: i0.ɵɵInjectableDeclaration<AXPMockSequenceProvider>;
2776
- }
2777
-
2778
- declare class AXPMockIdentifierService extends AXPIdentifierService {
2779
- private readonly engine;
2780
- private readonly rulesFromProviders;
2781
- private readonly seq;
2782
- private readonly checksum;
2783
- private readonly lookup;
2784
- private readonly policy;
2785
- private readonly clock;
2786
- private readonly rules;
2787
- generate(req: AXPIdentifierRequest): Promise<AXPIdentifierResult>;
2788
- peek(req: AXPIdentifierRequest): Promise<AXPIdentifierPeekResult>;
2789
- validate(_code: string, _entity: string, _tenantId?: string): Promise<boolean>;
2790
- private pickRule;
2791
- private createContext;
2792
- private createScopeHash;
2793
- private validateRequestAgainstRule;
2794
- private evaluateInternal;
2795
- commitWithToken(token: string): Promise<AXPIdentifierResult>;
2796
- commitByCode(req: AXPIdentifierRequest, code: string): Promise<AXPIdentifierResult>;
2797
- static ɵfac: i0.ɵɵFactoryDeclaration<AXPMockIdentifierService, never>;
2798
- static ɵprov: i0.ɵɵInjectableDeclaration<AXPMockIdentifierService>;
2799
- }
2800
-
2801
- /**
2802
- * Middleware that automatically tracks audit information for entity operations.
2803
- *
2804
- * Tracks:
2805
- * - CREATE: Sets created and updated timestamps with user info, initializes stateInfo and ownershipInfo
2806
- * - UPDATE: Updates the updated timestamp with current user info
2807
- * - DELETE: Records deleted timestamp with user info (useful for soft delete or history tracking)
2808
- *
2809
- * The audit info follows the AXPAuditInfo interface with created, updated, and deleted events.
2810
- * Ownership info includes tenantId and applicationId from the current session.
2811
- */
2812
- declare const auditLoggerMiddleware: AXPEntityStorageMiddleware;
2813
-
2814
- /**
2815
- * Category Resolver Middleware
2816
- *
2817
- * - On create/update: resolves categoryIds to full category objects with ancestor chain
2818
- * and persists categories: [{id, parentId, title}, ...] on the record.
2819
- * - On getOne/query/getAll: enriches records that have categoryIds but no categories
2820
- * (e.g. seeded data) so the column can display full paths.
2821
- *
2822
- * Real API can return the same shape via JOIN; mock enriches at write and read time.
2823
- */
2824
- declare const categoryResolverMiddleware: AXPEntityStorageMiddleware;
2825
-
2826
- declare const childCountMiddleware: AXPEntityStorageMiddleware;
2827
-
2828
- /**
2829
- * File Cast Middleware - Handles file operations in entity storage
2830
- *
2831
- * This middleware processes files during entity operations:
2832
- *
2833
- * CREATE/UPDATE Operations:
2834
- * - New files: Uploads to file storage and replaces with file IDs
2835
- * - Existing files: Keeps existing file IDs
2836
- * - Deleted files: Removes from file storage and excludes from entity data
2837
- *
2838
- * QUERY/GET_ONE Operations:
2839
- * - Converts file IDs back to AXPFileListItem objects for UI display
2840
- *
2841
- * File Status Handling:
2842
- * - 'uploaded'/'remote'/'editing': Keep existing file ID
2843
- * - 'deleted': Remove from storage, exclude from entity
2844
- * - 'attached'/'uploading': Upload new file
2845
- */
2846
- declare const createFileCastMiddleware: AXPEntityStorageMiddleware;
2847
-
2848
- declare const identifierCommitMiddleware: AXPEntityStorageMiddleware;
2849
-
2850
- /**
2851
- * Lookup Resolver Middleware
2852
- *
2853
- * Resolves lookup field IDs to full objects based on entity property definitions or naming conventions.
2854
- *
2855
- * Behavior:
2856
- * - Runs on 'create' and 'update' operations
2857
- * - Finds fields ending with 'Id'/'Ids' (case-insensitive)
2858
- * - Resolves IDs to full objects from corresponding entity
2859
- * - Skips fields that are already resolved or have explicit entity config failures
2860
- *
2861
- * Resolution Strategy (in order):
2862
- * 1. Check entity property definition for LookupBox with entity option (preferred)
2863
- * 2. Use naming conventions: dotted path (X.assignId -> X.assign) or module fallback (ModuleName.entityName)
2864
- *
2865
- * Naming Convention:
2866
- * - testId -> creates 'test' object with full record
2867
- * - testIds -> creates 'testList' array with full records
2868
- *
2869
- * Example:
2870
- * Input: { brandId: "123" } with lookup to product-catalog.brand
2871
- * Result: { brand: { id: "123", title: "Brand Name", ... } }
2872
- */
2873
- declare const lookupResolverMiddleware: AXPEntityStorageMiddleware;
2874
-
2875
- declare const mergeDetailRelationMiddleware: AXPEntityStorageMiddleware;
2876
-
2877
- declare const primaryMiddleware: AXPEntityStorageMiddleware;
2878
-
2879
- declare const historyLoggerMiddleware: AXPEntityStorageMiddleware;
2880
-
2881
- /**
2882
- * Signature Loader Middleware
2883
- *
2884
- * This middleware loads digital signatures for entities by attempting to query
2885
- * the corresponding signature table ({EntityName}Signature).
2886
- *
2887
- * Behavior:
2888
- * - Only runs on 'getOne' operation (entity details)
2889
- * - Attempts to query signature table without checking plugin existence
2890
- * - If signature table exists and has data, attaches signatures to result
2891
- * - If table doesn't exist or query fails, silently continues
2892
- *
2893
- * Example:
2894
- * Entity: "ContentManagement.Promotion"
2895
- * Signature table: "ContentManagement.PromotionSignature"
2896
- * Result: ctx.result.signatures = [{ id, signed, meta, ... }]
2897
- */
2898
- declare const signatureLoaderMiddleware: AXPEntityStorageMiddleware;
2899
-
2900
- /**
2901
- * Middleware that prevents editing or deleting locked records.
2902
- *
2903
- * Supports two types of locks:
2904
- * 1. 'user' lock: Automatic lock when edit popup is opened.
2905
- * - Only the user who locked it can edit
2906
- * - Other users cannot edit
2907
- *
2908
- * 2. 'admin' lock: Manual lock by admin for a specific duration or permanently.
2909
- * - Even the admin who locked it cannot edit
2910
- * - All users are blocked until lock expires (if expireAt is set)
2911
- */
2912
- declare const lockGuardMiddleware: AXPEntityStorageMiddleware;
2913
-
2914
- /**
2915
- * Group Order Item Calculator Middleware
2916
- *
2917
- * Calculates quantityInOrder and quantityAvailable for group order items.
2918
- * Also calculates total based on price, quantityInOrder, and GST (1.15).
2919
- *
2920
- * quantityInOrder = sum of all member order line quantities for this item
2921
- * quantityAvailable = size - quantityInOrder
2922
- * total = price * quantityInOrder * 1.15 (GST)
2923
- *
2924
- * Runs on:
2925
- * - GroupOrderItem create/update: Calculate for the item itself
2926
- * - MemberOrderLine create/update/delete: Recalculate the related group order item
2927
- */
2928
- declare const groupOrderItemCalculatorMiddleware: AXPEntityStorageMiddleware;
2929
-
2930
- /**
2931
- * Key used in request params to bypass visibility filtering (isHidden flag).
2932
- * Similar to ABP Framework's filter disabling mechanism.
2933
- *
2934
- * Usage:
2935
- * ```typescript
2936
- * await storageService.query(entityName, {
2937
- * ...request,
2938
- * params: { [VISIBILITY_FILTER_BYPASS]: 'true' }
2939
- * });
2940
- * ```
2941
- */
2942
- declare const VISIBILITY_FILTER_BYPASS = "__bypassVisibilityFilter";
2943
- /**
2944
- * Key used in request params to bypass ownership filtering (tenantId/applicationId).
2945
- * Similar to ABP Framework's filter disabling mechanism.
2946
- *
2947
- * Usage:
2948
- * ```typescript
2949
- * await storageService.query(entityName, {
2950
- * ...request,
2951
- * params: { [OWNERSHIP_FILTER_BYPASS]: 'true' }
2952
- * });
2953
- * ```
2954
- */
2955
- declare const OWNERSHIP_FILTER_BYPASS = "__bypassOwnershipFilter";
2956
- /**
2957
- * Middleware that automatically filters out records with `isSystem` or `isHidden` flags
2958
- * from query and getAll operations.
2959
- *
2960
- * This ensures that:
2961
- * - System records (isSystem: true) are hidden from regular users
2962
- * - Hidden records (isHidden: true) are not visible in lists
2963
- * - Records are filtered by current tenant and application context
2964
- * - Single record lookups (getOne) still work for direct access
2965
- * - Filtering can be bypassed using VISIBILITY_FILTER_BYPASS or OWNERSHIP_FILTER_BYPASS in request params
2966
- *
2967
- * Bypass options:
2968
- * - VISIBILITY_FILTER_BYPASS: Bypasses isHidden filtering only
2969
- * - OWNERSHIP_FILTER_BYPASS: Bypasses tenantId/applicationId filtering only
2970
- * - Both: Bypasses all filtering
2971
- *
2972
- * Note: This is applied AFTER the data is fetched from storage.
2973
- */
2974
- declare const visibilityFilterMiddleware: AXPEntityStorageMiddleware;
2975
-
2976
- /**
2977
- * Helper function to create a query request that bypasses visibility filtering (isHidden flag).
2978
- * Similar to ABP Framework's filter disabling pattern.
2979
- *
2980
- * @example
2981
- * ```typescript
2982
- * // Bypass visibility filter for authentication
2983
- * const users = await storageService.query(
2984
- * entityName,
2985
- * bypassVisibilityFilter({ skip: 0, take: 1000 })
2986
- * );
2987
- * ```
2988
- */
2989
- declare function bypassVisibilityFilter<T extends AXPQueryRequest>(request: T): T;
2990
- /**
2991
- * Helper function to create a query request that bypasses ownership filtering (tenantId/applicationId).
2992
- * Similar to ABP Framework's filter disabling pattern.
2993
- *
2994
- * @example
2995
- * ```typescript
2996
- * // Bypass ownership filter to query across tenants/applications
2997
- * const records = await storageService.query(
2998
- * entityName,
2999
- * bypassOwnershipFilter({ skip: 0, take: 1000 })
3000
- * );
3001
- * ```
3002
- */
3003
- declare function bypassOwnershipFilter<T extends AXPQueryRequest>(request: T): T;
3004
- /**
3005
- * Helper function to create a query request that bypasses both visibility and ownership filtering.
3006
- * Similar to ABP Framework's filter disabling pattern.
3007
- *
3008
- * @example
3009
- * ```typescript
3010
- * // Bypass all filters for system operations
3011
- * const records = await storageService.query(
3012
- * entityName,
3013
- * bypassAllFilters({ skip: 0, take: 1000 })
3014
- * );
3015
- * ```
3016
- */
3017
- declare function bypassAllFilters<T extends AXPQueryRequest>(request: T): T;
3018
-
3019
- declare const AXCMockEntityLogListener: AXPDistributedEventListenerProvider<any>;
3020
-
3021
- export { ACTIVITY_CATEGORIES, ACTIVITY_DEFINITIONS, APPLICATIONS, AXCActivityCategorySeeder, AXCActivityDefinitionSeeder, AXCAppTermDataSeeder, AXCAppVersionDataSeeder, AXCApplicationDataSeeder, AXCApplicationManagementMockModule, AXCAssessmentManagementMockModule, AXCAssetManagementMockModule, AXCAuthMockModule, AXCCalendarDataSeeder, AXCCalendarEventDataSeeder, AXCCalendarManagementMockModule, AXCCommonMockModule, AXCContactCoreMockModule, AXCContactManagementMockModule, AXCContentManagementMockModule, AXCConversationMockModule, AXCCustomerManagementMockModule, AXCDashboardManagementMockModule, AXCDataManagementMockModule, AXCDexieEntityStorageService, AXCDocumentManagementMockModule, AXCEditionDataSeeder, AXCEquipmentCategorySeeder, AXCEquipmentSeeder, AXCFileStorageService, AXCFinancialCoreMockModule, AXCFormTemplateManagementMockModule, AXCGoogleStrategyMock, AXCHealthCoreMockModule, AXCHelpDeskMockModule, AXCHumanCapitalManagementMockModule, AXCIdentifierManagementMockModule, AXCImageCaptchaChallengeProviderMock, AXCJsaSeeder, AXCLearningManagementMockModule, AXCLocaleManagementMockModule, AXCLocationManagementMockModule, AXCLockService, AXCMeasurementCoreMockModule, AXCMeetingManagementMockModule, AXCMetaDataDefinitionDataSeeder, AXCMetaDataDefinitionElectricityDataSeeder, AXCMetadataCategorySeeder, AXCMetadataElectricityCategorySeeder, AXCMiddlewaresModule, AXCMockCaptchaChallengeComponent, AXCMockEntityLogListener, AXCMockModule, AXCMockShowMetaDataFormPopupCommand, 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, createWidgetLayoutConfig, 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 };
3022
- 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, ShowMetaDataFormPopupMockInput, Task, TaskStatus, TaskTemplate, TaskType, UIDiffRow, VersionedFileInfo };