@acorex/connectivity 20.3.0-next.0 → 20.3.0-next.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/mock/index.d.ts CHANGED
@@ -1,279 +1,20 @@
1
- import { AXPAppStartUpService, AXPQueryRequest, AXPPagedListResult, AXPCategorizedEntityDto, AXPCategoryEntity, AXPExecuteCommand, AXPExecuteCommandResult, AXPActionMenuItem, AXPDistributedEventListenerProvider } from '@acorex/platform/core';
1
+ import { AXPDataSeeder, AXPEntityStorageService, AXPEntityDefinitionRegistryService, AXPEntityStorageWithMiddlewareService } from '@acorex/platform/layout/entity';
2
2
  import * as i0 from '@angular/core';
3
3
  import { Injector } from '@angular/core';
4
+ import { AXPLockService, AXPLockRequest, AXPLockInfo, AXPUnLockRequest, AXPLockGetInfoRequest, AXPFileStorageService, AXPFileStorageCreateRequest, AXPFileStorageInfo, AXPFileStorageUpdateRequest, AXPFileStorageFindRequest } from '@acorex/platform/common';
5
+ import { AXMCommonDashboardEntityModel } from '@acorex/modules/dashboard-management';
6
+ import { AXMMetaDataDefinitionCategoryServiceImpl, AXMMetaDataDefinitionService, AXMMetaDataDefinitionCategoryWithItemsEntityModel, AXMMetaDataDefinitionCategoryEntityModel } from '@acorex/modules/data-management';
7
+ import { AXPEntityEventDispatcherService, AXPQueryRequest, AXPPagedListResult, AXPAppStartUpService } from '@acorex/platform/core';
8
+ import * as dexie from 'dexie';
9
+ import dexie__default, { Table } from 'dexie';
4
10
  import * as _acorex_platform_auth from '@acorex/platform/auth';
5
- import { AXPBaseCredentials, AXPAuthStrategy, AXPSignInResult, AXPSessionContext, AXPTenant, AXPApplication } 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';
11
+ import { AXPSessionService, AXPAuthStrategy, AXPBaseCredentials, AXPSessionContext, AXPSignInResult } from '@acorex/platform/auth';
9
12
  import { AXMAuthConfigs } from '@acorex/modules/auth';
10
- import { AXPEntityStorageService, AXPDataSeeder, AXPEntityStorageMiddleware } from '@acorex/platform/layout/entity';
11
- import Dexie, { Table } from 'dexie';
12
- import { AXMOrganizationNode } from '@acorex/modules/organization-management';
13
- import * as _acorex_modules_report_management from '@acorex/modules/report-management';
14
- import { AXPReportCategoryProvider, AXPReportCategory, AXPReportDefinitionProvider, AXPReportDefinition, AXPExecutionReportCommand, AXPLayoutExecutionContext, AXPExecutionReportCommandResult } from '@acorex/modules/report-management';
15
- import { AXPWorkflowTaskProvider, AXPTaskFilter, AXPTask, AXPExtraField, AXPTaskStatus } from '@acorex/platform/workflow';
13
+ import { Router } from '@angular/router';
14
+ import * as i1 from '@acorex/platform/runtime';
15
+ import { AXPReportCategory, AXPReportDefinition, AXPExecutionReportCommand, AXPLayoutExecutionContext, AXPExecutionReportCommandResult } from '@acorex/modules/report-management';
16
16
  import { AXMTextTemplateManagementTemplateEntityModel } from '@acorex/modules/text-template-management';
17
- import { AXMCommonDashboardEntityModel } from '@acorex/modules/dashboard-management';
18
- import * as _acorex_modules_calendar_management from '@acorex/modules/calendar-management';
19
- import { AXMCalendarManagementCalendarEventTypeEntityModel } from '@acorex/modules/calendar-management';
20
- import { AXPLockService, AXPLockRequest, AXPLockInfo, AXPUnLockRequest, AXPLockGetInfoRequest, AXPFileStorageService, AXPFileStorageCreateRequest, AXPFileStorageInfo, AXPFileStorageUpdateRequest, AXPFileStorageFindRequest, AXPFileManyStorageInfo } from '@acorex/platform/common';
21
- import { AXPIdentifierRule, AXPClockProvider, AXPChecksumProvider, AXPPolicyProvider, AXPLookupProvider, AXPSequenceProvider, AXPIdentifierService, AXPIdentifierRequest, AXPIdentifierResult, AXPIdentifierPeekResult } from '@acorex/modules/identifier-management';
22
-
23
- declare class AXCCommonMockModule {
24
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCCommonMockModule, never>;
25
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCCommonMockModule, never, never, never>;
26
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCCommonMockModule>;
27
- }
28
-
29
- declare class AXCIdentifierManagementMockModule {
30
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCIdentifierManagementMockModule, never>;
31
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCIdentifierManagementMockModule, never, never, never>;
32
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCIdentifierManagementMockModule>;
33
- }
34
-
35
- declare class AXCSecurityManagementMockModule {
36
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCSecurityManagementMockModule, never>;
37
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCSecurityManagementMockModule, never, never, never>;
38
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCSecurityManagementMockModule>;
39
- }
40
-
41
- declare class AXCFormTemplateManagementMockModule {
42
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCFormTemplateManagementMockModule, never>;
43
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCFormTemplateManagementMockModule, never, never, never>;
44
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCFormTemplateManagementMockModule>;
45
- }
46
-
47
- declare class AXCCustomerManagementMockModule {
48
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCCustomerManagementMockModule, never>;
49
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCCustomerManagementMockModule, never, never, never>;
50
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCCustomerManagementMockModule>;
51
- }
52
-
53
- declare class AXCContactManagementMockModule {
54
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCContactManagementMockModule, never>;
55
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCContactManagementMockModule, never, never, never>;
56
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCContactManagementMockModule>;
57
- }
58
-
59
- declare class AXCLocationManagementMockModule {
60
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCLocationManagementMockModule, never>;
61
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCLocationManagementMockModule, never, never, never>;
62
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCLocationManagementMockModule>;
63
- }
64
-
65
- declare class AXCOrganizationManagementMockModule {
66
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCOrganizationManagementMockModule, never>;
67
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCOrganizationManagementMockModule, never, never, never>;
68
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCOrganizationManagementMockModule>;
69
- }
70
-
71
- declare class AXCHumanCapitalManagementMockModule {
72
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCHumanCapitalManagementMockModule, never>;
73
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCHumanCapitalManagementMockModule, never, never, never>;
74
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCHumanCapitalManagementMockModule>;
75
- }
76
-
77
- declare class AXCReportManagementMockModule {
78
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCReportManagementMockModule, never>;
79
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCReportManagementMockModule, never, [typeof i1.AXPRuntimeModule], never>;
80
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCReportManagementMockModule>;
81
- }
82
-
83
- declare class AXCLocaleManagementMockModule {
84
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCLocaleManagementMockModule, never>;
85
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCLocaleManagementMockModule, never, never, never>;
86
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCLocaleManagementMockModule>;
87
- }
88
-
89
- declare class AXCDashboardManagementMockModule {
90
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCDashboardManagementMockModule, never>;
91
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCDashboardManagementMockModule, never, never, never>;
92
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCDashboardManagementMockModule>;
93
- }
94
-
95
- declare class AXCConversationMockModule {
96
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCConversationMockModule, never>;
97
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCConversationMockModule, never, never, never>;
98
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCConversationMockModule>;
99
- }
100
-
101
- declare class AXCAuthMockModule {
102
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCAuthMockModule, never>;
103
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCAuthMockModule, never, never, never>;
104
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCAuthMockModule>;
105
- }
106
-
107
- declare class AXCPlatformManagementMockModule {
108
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCPlatformManagementMockModule, never>;
109
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCPlatformManagementMockModule, never, never, never>;
110
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCPlatformManagementMockModule>;
111
- }
112
-
113
- declare class AXCTrainingManagementMockModule {
114
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCTrainingManagementMockModule, never>;
115
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCTrainingManagementMockModule, never, never, never>;
116
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCTrainingManagementMockModule>;
117
- }
118
-
119
- declare class AXCProjectManagementMockModule {
120
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCProjectManagementMockModule, never>;
121
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCProjectManagementMockModule, never, never, never>;
122
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCProjectManagementMockModule>;
123
- }
124
-
125
- declare class AXCDocumentManagementMockModule {
126
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCDocumentManagementMockModule, never>;
127
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCDocumentManagementMockModule, never, never, never>;
128
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCDocumentManagementMockModule>;
129
- }
130
-
131
- declare class AXCHelpDeskMockModule {
132
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCHelpDeskMockModule, never>;
133
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCHelpDeskMockModule, never, never, never>;
134
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCHelpDeskMockModule>;
135
- }
136
-
137
- declare class AXCLogManagementMockModule {
138
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCLogManagementMockModule, never>;
139
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCLogManagementMockModule, never, never, never>;
140
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCLogManagementMockModule>;
141
- }
142
-
143
- declare class AXCCalendarManagementMockModule {
144
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCCalendarManagementMockModule, never>;
145
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCCalendarManagementMockModule, never, never, never>;
146
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCCalendarManagementMockModule>;
147
- }
148
-
149
- declare class AXCDataManagementMockModule {
150
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCDataManagementMockModule, never>;
151
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCDataManagementMockModule, never, never, never>;
152
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCDataManagementMockModule>;
153
- }
154
-
155
- declare class AXCWorkflowManagementMockModule {
156
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCWorkflowManagementMockModule, never>;
157
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCWorkflowManagementMockModule, never, never, never>;
158
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCWorkflowManagementMockModule>;
159
- }
160
-
161
- declare class AXCNotificationManagementMockModule {
162
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCNotificationManagementMockModule, never>;
163
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCNotificationManagementMockModule, never, never, never>;
164
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCNotificationManagementMockModule>;
165
- }
166
-
167
- declare class AXCTaskManagementMockModule {
168
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCTaskManagementMockModule, never>;
169
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCTaskManagementMockModule, never, never, never>;
170
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCTaskManagementMockModule>;
171
- }
172
-
173
- declare class AXCPartyManagementMockModule {
174
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCPartyManagementMockModule, never>;
175
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCPartyManagementMockModule, never, never, never>;
176
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCPartyManagementMockModule>;
177
- }
178
-
179
- declare class AXCContentManagementMockModule {
180
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCContentManagementMockModule, never>;
181
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCContentManagementMockModule, never, never, never>;
182
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCContentManagementMockModule>;
183
- }
184
-
185
- declare class AXCMeetingManagementMockModule {
186
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCMeetingManagementMockModule, never>;
187
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCMeetingManagementMockModule, never, never, never>;
188
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCMeetingManagementMockModule>;
189
- }
190
-
191
- declare class AXCMiddlewaresModule {
192
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCMiddlewaresModule, never>;
193
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCMiddlewaresModule, never, never, never>;
194
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCMiddlewaresModule>;
195
- }
196
-
197
- declare class AXCMockModule {
198
- constructor(appInitService: AXPAppStartUpService, injector: Injector);
199
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCMockModule, never>;
200
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCMockModule, never, [typeof _acorex_platform_auth.AXPAuthModule, typeof AXCCommonMockModule, typeof AXCIdentifierManagementMockModule, typeof AXCSecurityManagementMockModule, typeof AXCFormTemplateManagementMockModule, typeof AXCCustomerManagementMockModule, typeof AXCContactManagementMockModule, typeof AXCLocationManagementMockModule, typeof AXCOrganizationManagementMockModule, typeof AXCHumanCapitalManagementMockModule, typeof AXCReportManagementMockModule, typeof AXCLocaleManagementMockModule, typeof AXCDashboardManagementMockModule, typeof AXCConversationMockModule, typeof AXCAuthMockModule, typeof AXCPlatformManagementMockModule, typeof AXCTrainingManagementMockModule, typeof AXCProjectManagementMockModule, typeof AXCDocumentManagementMockModule, typeof AXCHelpDeskMockModule, typeof AXCLogManagementMockModule, typeof AXCCalendarManagementMockModule, typeof AXCDataManagementMockModule, typeof AXCWorkflowManagementMockModule, typeof AXCNotificationManagementMockModule, typeof AXCTaskManagementMockModule, typeof AXCPartyManagementMockModule, typeof AXCContentManagementMockModule, typeof AXCMeetingManagementMockModule, typeof AXCMiddlewaresModule], never>;
201
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCMockModule>;
202
- }
203
-
204
- interface MockUserPassCredentials extends AXPBaseCredentials {
205
- username: string;
206
- password: string;
207
- }
208
- declare class AXCUserPassStrategyMock extends AXPAuthStrategy {
209
- tenantLoader: _acorex_platform_auth.AXPTenantLoader;
210
- applicationLoader: _acorex_platform_auth.AXPApplicationLoader;
211
- router: Router;
212
- constructor();
213
- private entityRegistery;
214
- private deviceSessionsService;
215
- get name(): string;
216
- signin(credentials: MockUserPassCredentials): Promise<AXPSignInResult>;
217
- private createDeviceSession;
218
- private getDeviceName;
219
- private getOperatingSystem;
220
- private getBrowser;
221
- signout(): Promise<void>;
222
- refreshToken(context: AXPSessionContext): Promise<AXPSignInResult>;
223
- updateToken(params: {
224
- [key: string]: any;
225
- }): Promise<AXPSignInResult>;
226
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCUserPassStrategyMock, never>;
227
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCUserPassStrategyMock>;
228
- }
229
-
230
- declare class AXCGoogleStrategyMock extends AXPAuthStrategy {
231
- tenantLoader: _acorex_platform_auth.AXPTenantLoader;
232
- protected configs: AXMAuthConfigs;
233
- private externalAuthorizationService;
234
- applicationLoader: _acorex_platform_auth.AXPApplicationLoader;
235
- router: Router;
236
- constructor();
237
- get name(): string;
238
- signin(credentials: AXPBaseCredentials): Promise<void>;
239
- signout(): Promise<void>;
240
- refreshToken(context: AXPSessionContext): Promise<AXPSignInResult>;
241
- updateToken(params: {
242
- [key: string]: any;
243
- }): Promise<AXPSignInResult>;
244
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCGoogleStrategyMock, never>;
245
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCGoogleStrategyMock>;
246
- }
247
-
248
- declare class AXCDexieEntityStorageService extends Dexie implements AXPEntityStorageService<string, any> {
249
- private sessionService;
250
- constructor();
251
- get dbName(): string;
252
- /**
253
- * Seed the storage with the provided collection only if it has not been
254
- * inserted before.
255
- *
256
- * Rather than relying on the total record count, we inspect whether the first
257
- * item of the incoming collection (identified by its `id`) already exists in
258
- * the table for the given `entityName`. If it exists, the data has already
259
- * been seeded and no action is taken; otherwise, the entire collection is
260
- * bulk-inserted.
261
- */
262
- initial<T = any>(entityName: string, collection: T[], options?: {
263
- mergeType: 'merge' | 'replace';
264
- uniqueKeys: string[];
265
- }): Promise<T[]>;
266
- getOne<T = any>(entityName: string, id: string): Promise<T>;
267
- updateOne<T = any>(entityName: string, id: string, keyValue: {
268
- [key: string]: any;
269
- }): Promise<T>;
270
- deleteOne(entityName: string, id: string): Promise<void>;
271
- insertOne<T = any>(entityName: string, entity: T): Promise<string>;
272
- getAll<T = any>(entityName: string): Promise<T[]>;
273
- query<T = any>(entityName: string, request: AXPQueryRequest): Promise<AXPPagedListResult<T>>;
274
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCDexieEntityStorageService, never>;
275
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCDexieEntityStorageService>;
276
- }
17
+ import { AXPIdentifierRule, AXPClockProvider, AXPChecksumProvider, AXPPolicyProvider, AXPLookupProvider, AXPSequenceProvider, AXPIdentifierService, AXPIdentifierRequest, AXPIdentifierResult } from '@acorex/modules/identifier-management';
277
18
 
278
19
  declare const APPLICATIONS: {
279
20
  id: string;
@@ -356,1301 +97,624 @@ declare class AXCApplicationManagementMockModule {
356
97
  static ɵinj: i0.ɵɵInjectorDeclaration<AXCApplicationManagementMockModule>;
357
98
  }
358
99
 
359
- declare class AXCAppVersionDataSeeder implements AXPDataSeeder {
360
- private storageService;
361
- private appVersionService;
362
- seed(): Promise<void>;
363
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCAppVersionDataSeeder, never>;
364
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCAppVersionDataSeeder>;
365
- }
366
-
367
- declare class AXCGlobalVariablesDataSeeder implements AXPDataSeeder {
368
- private storageService;
369
- seed(): Promise<void>;
370
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCGlobalVariablesDataSeeder, never>;
371
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCGlobalVariablesDataSeeder>;
100
+ declare class AXCAuthMockModule {
101
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCAuthMockModule, never>;
102
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCAuthMockModule, never, never, never>;
103
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCAuthMockModule>;
372
104
  }
373
105
 
374
- declare const GLOBAL_VARIABLES: {
375
- id: string;
376
- name: string;
377
- title: string;
378
- dataType: string;
379
- value: string;
380
- }[];
381
-
382
- declare class AXPSecurityManagementRoleDataSeeder implements AXPDataSeeder {
383
- private storageService;
384
- seed(): Promise<void>;
385
- static ɵfac: i0.ɵɵFactoryDeclaration<AXPSecurityManagementRoleDataSeeder, never>;
386
- static ɵprov: i0.ɵɵInjectableDeclaration<AXPSecurityManagementRoleDataSeeder>;
106
+ declare class AXCCommonMockModule {
107
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCCommonMockModule, never>;
108
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCCommonMockModule, never, never, never>;
109
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCCommonMockModule>;
387
110
  }
388
111
 
389
- declare class AXPSecurityManagementUserDataSeeder implements AXPDataSeeder {
390
- private storageService;
391
- seed(): Promise<void>;
392
- static ɵfac: i0.ɵɵFactoryDeclaration<AXPSecurityManagementUserDataSeeder, never>;
393
- static ɵprov: i0.ɵɵInjectableDeclaration<AXPSecurityManagementUserDataSeeder>;
112
+ declare class AXCLockService implements AXPLockService {
113
+ private className;
114
+ private db;
115
+ constructor();
116
+ private get lockTable();
117
+ protected entityName: string;
118
+ /**
119
+ * Cache Time-To-Live in milliseconds. Default is 5 seconds but can be overridden
120
+ * at runtime using {@link setCacheDuration}.
121
+ */
122
+ private cacheTTL;
123
+ /** In-memory cache for lock information. */
124
+ private readonly cacheMap;
125
+ /** Reference to the recurring cache-flush timer. */
126
+ private cacheTimer;
127
+ /**
128
+ * Generates a unique cache key based on the lock request parameters.
129
+ */
130
+ private getCacheKey;
131
+ /**
132
+ * Starts or restarts the interval that clears the cache.
133
+ */
134
+ private startCacheTimer;
135
+ /**
136
+ * Allows consumers to change the cache duration (in milliseconds) at runtime.
137
+ * The new duration is applied immediately.
138
+ */
139
+ setCacheDuration(ms: number): void;
140
+ lock(request: AXPLockRequest): Promise<AXPLockInfo>;
141
+ unlock(request: AXPUnLockRequest): Promise<void>;
142
+ check(request: AXPLockGetInfoRequest): Promise<boolean>;
143
+ getInfo(request: AXPLockGetInfoRequest): Promise<AXPLockInfo>;
144
+ getItems(request: AXPLockGetInfoRequest): Promise<AXPLockInfo[]>;
145
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCLockService, never>;
146
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXCLockService>;
394
147
  }
395
148
 
396
- declare const tenantsMock: AXPTenant[];
397
-
398
- declare const applications: AXPApplication[];
399
-
400
- declare const mockRoleDefinitions: {
401
- id: string;
402
- name: string;
403
- title: string;
404
- description: string;
405
- permissions: string[];
406
- }[];
149
+ declare class AXCFileStorageService implements AXPFileStorageService {
150
+ private fileService;
151
+ private mapToFileStorageInfo;
152
+ save(request: AXPFileStorageCreateRequest): Promise<AXPFileStorageInfo>;
153
+ commit(fileId: string): Promise<void>;
154
+ markForDeletion(fileId: string): Promise<void>;
155
+ update(request: AXPFileStorageUpdateRequest): Promise<AXPFileStorageInfo>;
156
+ find(request: AXPFileStorageFindRequest): Promise<AXPFileStorageInfo[]>;
157
+ getInfo(fileId: string): Promise<AXPFileStorageInfo>;
158
+ remove(fileId: string): Promise<void>;
159
+ private cleanupTemporaryFiles;
160
+ private cleanupMarkedFiles;
161
+ constructor();
162
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCFileStorageService, never>;
163
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXCFileStorageService>;
164
+ }
407
165
 
408
- interface AXCMockUserMockDto {
409
- id: string;
410
- username: string;
411
- displayName: string;
412
- partyId: string;
413
- roleIds: string[];
414
- roles: {
415
- id: string;
416
- title: string;
417
- }[];
418
- password: string;
166
+ declare class AXCContactManagementMockModule {
167
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCContactManagementMockModule, never>;
168
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCContactManagementMockModule, never, never, never>;
169
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCContactManagementMockModule>;
419
170
  }
420
- declare const mockUsers: AXCMockUserMockDto[];
421
171
 
422
- interface AXCBranchMockDto {
423
- id: string;
424
- title: string;
425
- code: string;
426
- description: string;
427
- locationId?: string;
428
- location?: {
429
- country: {
430
- id: string;
431
- title: string;
432
- };
433
- state: {
434
- id: string;
435
- title: string;
436
- };
437
- city: {
438
- id: string;
439
- title: string;
440
- };
441
- };
172
+ declare class AXMAiResponderService {
173
+ private readonly geminiApiKey;
174
+ getAIResponse(prompt: string): Promise<string>;
175
+ private getRandomReply;
176
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMAiResponderService, never>;
177
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXMAiResponderService>;
442
178
  }
443
- declare const BRANCHES_MOCK: AXCBranchMockDto[];
444
179
 
445
- declare class AXMBranchDataSeeder implements AXPDataSeeder {
180
+ declare class AXPMessageDataSeeder implements AXPDataSeeder {
446
181
  private storageService;
182
+ private chatService;
183
+ private chatRealtimeService;
184
+ private commentService;
185
+ private commentRealtimeService;
186
+ private aiResponderService;
187
+ private usersService;
188
+ private sessionService;
189
+ private userNameCache;
190
+ private getUserName;
447
191
  seed(): Promise<void>;
448
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMBranchDataSeeder, never>;
449
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMBranchDataSeeder>;
450
- }
451
-
452
- declare function findEmployeeById(employeeId: string): AXCEmployeeMockDto | undefined;
453
- interface AXCEmployeeMockDto {
454
- id: string;
455
- userId?: string;
456
- partyId: string;
457
- party: {
458
- id: string;
459
- displayName: string;
460
- };
461
- birthDate: Date;
462
- employeeCode: string;
463
- roleId: string;
464
- role: {
465
- id: string;
466
- title: string;
467
- };
468
- positionId: string;
469
- position: {
470
- id: string;
471
- title: string;
472
- };
473
- employmentTypeId: string;
474
- employmentType: {
475
- id: string;
476
- title: string;
477
- };
478
- hireDate: Date;
479
- managerId: string | null;
480
- manager: AXCEmployeeMockDto | null;
481
- }
482
- declare const EMPLOYEES_MOCK: AXCEmployeeMockDto[];
483
-
484
- type AXCEmployeeMock$2 = (typeof EMPLOYEES_MOCK)[number];
485
- interface AXCDivisionMockDto {
486
- id: string;
487
- title: string;
488
- description: string;
489
- managerId: string;
490
- manager: AXCEmployeeMock$2;
491
- countryId?: string;
492
- stateId?: string;
493
- cityId?: string;
494
- country?: {
495
- id: string;
496
- title: string;
497
- };
498
- state?: {
499
- id: string;
500
- title: string;
501
- };
502
- city?: {
503
- id: string;
504
- title: string;
505
- };
192
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXPMessageDataSeeder, never>;
193
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXPMessageDataSeeder>;
506
194
  }
507
- declare const DIVISIONS_MOCK: AXCDivisionMockDto[];
508
195
 
509
- declare class AXMDivisionDataSeeder implements AXPDataSeeder {
196
+ declare class AXPRoomDataSeeder implements AXPDataSeeder {
510
197
  private storageService;
511
198
  seed(): Promise<void>;
512
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMDivisionDataSeeder, never>;
513
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMDivisionDataSeeder>;
199
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXPRoomDataSeeder, never>;
200
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXPRoomDataSeeder>;
514
201
  }
515
202
 
516
- type AXCEmployeeMock$1 = typeof EMPLOYEES_MOCK[number];
517
- interface AXCDepartmentMockDto {
518
- id: string;
519
- title: string;
520
- description: string;
521
- managerId: string;
522
- manager: AXCEmployeeMock$1;
203
+ declare class AXCConversationMockModule {
204
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCConversationMockModule, never>;
205
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCConversationMockModule, never, never, never>;
206
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCConversationMockModule>;
523
207
  }
524
- declare const DEPARTMENTS_MOCK: AXCDepartmentMockDto[];
525
208
 
526
- declare class AXMDepartmentDataSeeder implements AXPDataSeeder {
209
+ declare function generateRandomDashboard(): AXMCommonDashboardEntityModel;
210
+ declare const DASHBOARDS: AXMCommonDashboardEntityModel[];
211
+
212
+ declare class AXPDashboardDataSeeder implements AXPDataSeeder {
527
213
  private storageService;
528
214
  seed(): Promise<void>;
529
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMDepartmentDataSeeder, never>;
530
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMDepartmentDataSeeder>;
215
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXPDashboardDataSeeder, never>;
216
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXPDashboardDataSeeder>;
531
217
  }
532
218
 
533
- type AXCEmployeeMock = (typeof EMPLOYEES_MOCK)[number];
534
- interface AXCTeamMockDto {
535
- id: string;
536
- title: string;
537
- description: string;
538
- leaderId: string;
539
- leader: AXCEmployeeMock;
540
- managerId: string;
541
- manager: AXCEmployeeMock;
542
- memberIds: string[];
543
- members: AXCEmployeeMock[];
544
- }
545
- interface AXCTeamMockDto {
546
- id: string;
547
- title: string;
548
- description: string;
549
- leaderId: string;
550
- leader: AXCEmployeeMock;
551
- managerId: string;
552
- manager: AXCEmployeeMock;
553
- memberIds: string[];
554
- members: AXCEmployeeMock[];
555
- }
556
- declare const TEAMS_MOCK: AXCTeamMockDto[];
557
-
558
- declare class AXMTeamDataSeeder implements AXPDataSeeder {
559
- private storageService;
560
- seed(): Promise<void>;
561
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMTeamDataSeeder, never>;
562
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMTeamDataSeeder>;
219
+ declare class AXCDashboardManagementMockModule {
220
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCDashboardManagementMockModule, never>;
221
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCDashboardManagementMockModule, never, never, never>;
222
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCDashboardManagementMockModule>;
563
223
  }
564
224
 
565
- interface PositionMockDto extends AXPCategorizedEntityDto {
566
- id: string;
567
- title: string;
568
- description: string;
569
- categoryIds: string[];
570
- categories: {
571
- id: string;
572
- title: string;
573
- }[];
225
+ declare class AXCDataManagementMockModule {
226
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCDataManagementMockModule, never>;
227
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCDataManagementMockModule, never, never, never>;
228
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCDataManagementMockModule>;
574
229
  }
575
- declare const POSITIONS_CATEGORY_MOCK: AXPCategoryEntity[];
576
- declare const POSITIONS_MOCK: PositionMockDto[];
577
230
 
578
- declare class AXMPositionDataSeeder implements AXPDataSeeder {
231
+ declare class AXCMetaDataDefinitionDataSeeder implements AXPDataSeeder {
579
232
  private storageService;
580
233
  seed(): Promise<void>;
581
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMPositionDataSeeder, never>;
582
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMPositionDataSeeder>;
234
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCMetaDataDefinitionDataSeeder, never>;
235
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXCMetaDataDefinitionDataSeeder>;
583
236
  }
584
237
 
585
- interface RoleMockDto extends AXPCategorizedEntityDto {
586
- id: string;
587
- title: string;
588
- description: string;
589
- categoryIds: string[];
590
- categories: {
591
- id: string;
592
- title: string;
593
- }[];
594
- skillsId: string[];
595
- skills: {
596
- id: string;
597
- title: string;
598
- }[];
599
- responsibilitiesId: string[];
600
- responsibilities: {
601
- id: string;
602
- title: string;
603
- }[];
238
+ declare class AXCMetaDataDefinitionCategoryMockService extends AXMMetaDataDefinitionCategoryServiceImpl {
239
+ protected metaDataService: AXMMetaDataDefinitionService<any>;
240
+ getAllWithItems(): Promise<AXMMetaDataDefinitionCategoryWithItemsEntityModel<string>[]>;
241
+ private buildCategoryTree;
242
+ insertOne(request: Omit<AXMMetaDataDefinitionCategoryEntityModel<string>, 'id'>): Promise<string>;
604
243
  }
605
- declare const ROLES_CATEGORY_MOCK: AXPCategoryEntity[];
606
- declare const ROLES_MOCK: RoleMockDto[];
607
244
 
608
- declare class AXMRoleDataSeeder implements AXPDataSeeder {
609
- private storageService;
610
- seed(): Promise<void>;
611
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMRoleDataSeeder, never>;
612
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMRoleDataSeeder>;
245
+ declare class AXPDexieEntityStorageService extends dexie__default implements AXPEntityStorageService<string, any> {
246
+ protected sessionService: AXPSessionService;
247
+ protected entityRegistryService: AXPEntityDefinitionRegistryService;
248
+ protected lockService: AXPLockService;
249
+ protected entityEventDispatcher: AXPEntityEventDispatcherService;
250
+ constructor();
251
+ get dbName(): string;
252
+ private detectChanges;
253
+ private addToHistory;
254
+ /**
255
+ * Seed the storage with the provided collection only if it has not been
256
+ * inserted before.
257
+ *
258
+ * Rather than relying on the total record count, we inspect whether the first
259
+ * item of the incoming collection (identified by its `id`) already exists in
260
+ * the table for the given `entityName`. If it exists, the data has already
261
+ * been seeded and no action is taken; otherwise, the entire collection is
262
+ * bulk-inserted.
263
+ */
264
+ initial<T = any>(entityName: string, collection: T[], options?: {
265
+ mergeType: 'merge' | 'replace';
266
+ uniqueKeys: string[];
267
+ }): Promise<T[]>;
268
+ getOne<T = any>(entityName: string, id: string): Promise<T>;
269
+ updateOne<T = any>(entityName: string, id: string, keyValue: {
270
+ [key: string]: any;
271
+ }): Promise<T>;
272
+ deleteOne(entityName: string, id: string): Promise<void>;
273
+ insertOne<T = any>(entityName: string, entity: T): Promise<string>;
274
+ getAll<T = any>(entityName: string): Promise<T[]>;
275
+ query<T = any>(entityName: string, request: AXPQueryRequest): Promise<AXPPagedListResult<T>>;
276
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXPDexieEntityStorageService, never>;
277
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXPDexieEntityStorageService>;
613
278
  }
614
279
 
615
- interface ResponsibilityMockDto extends AXPCategorizedEntityDto {
616
- id: string;
617
- title: string;
618
- description: string;
619
- categoryIds: string[];
620
- categories: {
621
- id: string;
622
- title: string;
623
- }[];
280
+ declare class AXCDocumentManagementMockModule {
281
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCDocumentManagementMockModule, never>;
282
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCDocumentManagementMockModule, never, never, never>;
283
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCDocumentManagementMockModule>;
624
284
  }
625
- declare const RESPONSIBILITIES_CATEGORY_MOCK: AXPCategoryEntity[];
626
- declare const RESPONSIBILITIES_MOCK: ResponsibilityMockDto[];
627
285
 
628
- declare class AXMResponsibilityDataSeeder implements AXPDataSeeder {
629
- private storageService;
630
- seed(): Promise<void>;
631
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMResponsibilityDataSeeder, never>;
632
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMResponsibilityDataSeeder>;
286
+ declare class AXCFormTemplateManagementMockModule {
287
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCFormTemplateManagementMockModule, never>;
288
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCFormTemplateManagementMockModule, never, never, never>;
289
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCFormTemplateManagementMockModule>;
633
290
  }
634
291
 
635
- declare const INDUSTRIAL_COMPANY_ORGANIZATION: AXMOrganizationNode;
636
-
637
- declare class AXMOrgChartDataSeeder implements AXPDataSeeder {
638
- private storageService;
639
- seed(): Promise<void>;
640
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMOrgChartDataSeeder, never>;
641
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMOrgChartDataSeeder>;
292
+ declare class AXCHelpDeskMockModule {
293
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCHelpDeskMockModule, never>;
294
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCHelpDeskMockModule, never, never, never>;
295
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCHelpDeskMockModule>;
642
296
  }
643
297
 
644
- declare const SOFTWARE_COMPANY_ORGANIZATION: AXMOrganizationNode;
298
+ declare class AXCLogManagementMockModule {
299
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCLogManagementMockModule, never>;
300
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCLogManagementMockModule, never, never, never>;
301
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCLogManagementMockModule>;
302
+ }
645
303
 
646
- declare class AXMEmployeeDataSeeder implements AXPDataSeeder {
647
- private storageService;
648
- seed(): Promise<void>;
649
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMEmployeeDataSeeder, never>;
650
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMEmployeeDataSeeder>;
304
+ declare class MOCKGoogleStrategy extends AXPAuthStrategy {
305
+ tenantLoader: _acorex_platform_auth.AXPTenantLoader;
306
+ protected configs: AXMAuthConfigs;
307
+ private externalAuthorizationService;
308
+ applicationLoader: _acorex_platform_auth.AXPApplicationLoader;
309
+ router: Router;
310
+ constructor();
311
+ get name(): string;
312
+ signin(credentials: AXPBaseCredentials): Promise<void>;
313
+ signout(): Promise<void>;
314
+ refreshToken(context: AXPSessionContext): Promise<AXPSignInResult>;
315
+ updateToken(params: {
316
+ [key: string]: any;
317
+ }): Promise<AXPSignInResult>;
318
+ static ɵfac: i0.ɵɵFactoryDeclaration<MOCKGoogleStrategy, never>;
319
+ static ɵprov: i0.ɵɵInjectableDeclaration<MOCKGoogleStrategy>;
651
320
  }
652
321
 
653
- interface AXCPositionAssignmentMockDto {
654
- id: string;
655
- employeeId: string;
656
- employee?: any;
657
- positionId: string;
658
- position?: any;
659
- scopeType: 'division' | 'department';
660
- scopeId: string;
661
- scope?: any;
662
- startDate: Date;
663
- endDate?: Date | null;
664
- isPrimary?: boolean;
665
- notes?: string;
322
+ declare class AXCFOrganizationManagementMockModule {
323
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCFOrganizationManagementMockModule, never>;
324
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCFOrganizationManagementMockModule, never, never, never>;
325
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCFOrganizationManagementMockModule>;
666
326
  }
667
- declare const POSITION_ASSIGNMENTS_MOCK: AXCPositionAssignmentMockDto[];
668
327
 
669
- declare class AXMPositionAssignmentDataSeeder implements AXPDataSeeder {
670
- private storageService;
671
- seed(): Promise<void>;
672
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMPositionAssignmentDataSeeder, never>;
673
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMPositionAssignmentDataSeeder>;
328
+ declare class AXCReportManagementMockModule {
329
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCReportManagementMockModule, never>;
330
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCReportManagementMockModule, never, [typeof i1.AXPRuntimeModule], never>;
331
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCReportManagementMockModule>;
674
332
  }
675
333
 
676
- interface SkillMockDto extends AXPCategorizedEntityDto {
677
- id: string;
678
- title: string;
679
- description: string;
680
- categoryIds: string[];
681
- categories: {
682
- id: string;
683
- title: string;
684
- }[];
334
+ declare class AXCLocationManagementMockModule {
335
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCLocationManagementMockModule, never>;
336
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCLocationManagementMockModule, never, never, never>;
337
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCLocationManagementMockModule>;
685
338
  }
686
- declare const SKILLS_CATEGORY_MOCK: AXPCategoryEntity[];
687
- declare const SKILLS_MOCK: SkillMockDto[];
688
339
 
689
- declare class AXMSkillDataSeeder implements AXPDataSeeder {
690
- private storageService;
691
- seed(): Promise<void>;
692
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMSkillDataSeeder, never>;
693
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMSkillDataSeeder>;
694
- }
695
-
696
- interface AXCSkillLevelMockDto {
697
- id: string;
698
- title: string;
699
- order: number;
700
- isActive: boolean;
701
- description?: string;
702
- }
703
- declare const SKILL_LEVELS_MOCK: AXCSkillLevelMockDto[];
704
-
705
- declare class AXMSkillLevelDataSeeder implements AXPDataSeeder {
706
- private readonly storageService;
707
- seed(): Promise<void>;
708
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMSkillLevelDataSeeder, never>;
709
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMSkillLevelDataSeeder>;
710
- }
711
-
712
- /**
713
- * Mock DTO for employee skill relation entries.
714
- */
715
- interface AXCEmployeeSkillMockDto {
716
- id: string;
717
- employeeId: string;
718
- employee?: any;
719
- skillId: string;
720
- skill?: any;
721
- levelId: string;
722
- level?: any;
723
- yearsOfExperience?: number;
724
- lastUsedDate?: Date;
725
- validatedBy?: string;
726
- validationSource?: string;
727
- validationDate?: Date;
728
- notes?: string;
729
- }
730
- declare const EMPLOYEE_SKILLS_MOCK: AXCEmployeeSkillMockDto[];
731
-
732
- declare class AXMEmployeeSkillDataSeeder implements AXPDataSeeder {
733
- private storageService;
734
- seed(): Promise<void>;
735
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMEmployeeSkillDataSeeder, never>;
736
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMEmployeeSkillDataSeeder>;
737
- }
738
-
739
- declare const EMPLOYMENT_TYPES_MOCK: any[];
740
-
741
- declare class AXMEmploymentTypeDataSeeder implements AXPDataSeeder {
742
- private storageService;
743
- seed(): Promise<void>;
744
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMEmploymentTypeDataSeeder, never>;
745
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMEmploymentTypeDataSeeder>;
746
- }
747
-
748
- interface AXCLeaveRequestMockDto {
749
- id: string;
750
- employeeId: string;
751
- employee?: any;
752
- leaveTypeId: string;
753
- leaveType?: any;
754
- startDate: Date;
755
- endDate: Date;
756
- durationDays: number;
757
- reason?: string;
758
- status: 'Pending' | 'Approved' | 'Rejected' | 'Cancelled';
759
- statusNote?: string;
760
- statusHistory?: Array<{
761
- status: 'Pending' | 'Approved' | 'Rejected' | 'Cancelled';
762
- changedAt: Date;
763
- changedBy: string;
764
- note?: string;
765
- }>;
766
- }
767
- declare const LEAVE_REQUESTS_MOCK: AXCLeaveRequestMockDto[];
768
-
769
- declare class AXMLeaveRequestDataSeeder implements AXPDataSeeder {
770
- private storageService;
771
- seed(): Promise<void>;
772
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMLeaveRequestDataSeeder, never>;
773
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMLeaveRequestDataSeeder>;
774
- }
775
-
776
- declare class AXMEmployeeSkillsCategoryProvider implements AXPReportCategoryProvider {
777
- getList(parentId?: string): Promise<AXPReportCategory[]>;
778
- getById(id: string): Promise<AXPReportCategory | undefined>;
779
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMEmployeeSkillsCategoryProvider, never>;
780
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMEmployeeSkillsCategoryProvider>;
781
- }
782
- declare class AXMEmployeeSkillsReportDefinitionProvider implements AXPReportDefinitionProvider {
783
- getList(categoryId: string): Promise<AXPReportDefinition[]>;
784
- getById(id: string): Promise<AXPReportDefinition | undefined>;
785
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMEmployeeSkillsReportDefinitionProvider, never>;
786
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMEmployeeSkillsReportDefinitionProvider>;
787
- }
788
- declare const AXM_EMPLOYEE_SKILLS_CATEGORY_PROVIDER: {
789
- provide: i0.InjectionToken<_acorex_modules_report_management.AXPReportCategoryProviderToken[]>;
790
- useClass: typeof AXMEmployeeSkillsCategoryProvider;
791
- multi: boolean;
792
- };
793
- declare const AXM_EMPLOYEE_SKILLS_DEFINITION_PROVIDER: {
794
- provide: i0.InjectionToken<_acorex_modules_report_management.AXPReportDefinitionProviderToken[]>;
795
- useClass: typeof AXMEmployeeSkillsReportDefinitionProvider;
796
- multi: boolean;
797
- };
798
-
799
- type ListInput = {
800
- skillId?: string;
801
- levelId?: string;
802
- minYears?: number;
803
- startDate?: Date | string;
804
- endDate?: Date | string;
805
- skip?: number;
806
- take?: number;
807
- };
808
- declare class AXQEmployeeSkillsListQuery implements AXPQuery<ListInput, {
809
- items: any[];
810
- total: number;
811
- }> {
812
- fetch(input: ListInput): Promise<{
813
- items: any[];
814
- total: number;
815
- }>;
816
- static ɵfac: i0.ɵɵFactoryDeclaration<AXQEmployeeSkillsListQuery, never>;
817
- static ɵprov: i0.ɵɵInjectableDeclaration<AXQEmployeeSkillsListQuery>;
818
- }
819
- type StatsInput = {
820
- skillId?: string;
821
- levelId?: string;
822
- minYears?: number;
823
- };
824
- declare class AXQEmployeeSkillsStatsQuery implements AXPQuery<StatsInput, Record<string, number>> {
825
- fetch(input: StatsInput): Promise<Record<string, number>>;
826
- static ɵfac: i0.ɵɵFactoryDeclaration<AXQEmployeeSkillsStatsQuery, never>;
827
- static ɵprov: i0.ɵɵInjectableDeclaration<AXQEmployeeSkillsStatsQuery>;
828
- }
829
- type LevelsInput = {
830
- skillId?: string;
831
- minYears?: number;
832
- };
833
- declare class AXQEmployeeSkillsLevelsQuery implements AXPQuery<LevelsInput, Record<string, number>> {
834
- fetch(input: LevelsInput): Promise<Record<string, number>>;
835
- static ɵfac: i0.ɵɵFactoryDeclaration<AXQEmployeeSkillsLevelsQuery, never>;
836
- static ɵprov: i0.ɵɵInjectableDeclaration<AXQEmployeeSkillsLevelsQuery>;
837
- }
838
- type TrendInput = {
839
- startDate?: Date | string;
840
- endDate?: Date | string;
841
- skillId?: string;
842
- levelId?: string;
843
- };
844
- declare class AXQEmployeeSkillsTrendQuery implements AXPQuery<TrendInput, {
845
- month: string;
846
- value: number;
847
- }[]> {
848
- fetch(input: TrendInput): Promise<{
849
- month: string;
850
- value: number;
851
- }[]>;
852
- static ɵfac: i0.ɵɵFactoryDeclaration<AXQEmployeeSkillsTrendQuery, never>;
853
- static ɵprov: i0.ɵɵInjectableDeclaration<AXQEmployeeSkillsTrendQuery>;
854
- }
855
- declare class AXQEmployeeSkillsSkillPercentagesQuery implements AXPQuery<StatsInput, Record<string, number>> {
856
- fetch(input: StatsInput): Promise<Record<string, number>>;
857
- static ɵfac: i0.ɵɵFactoryDeclaration<AXQEmployeeSkillsSkillPercentagesQuery, never>;
858
- static ɵprov: i0.ɵɵInjectableDeclaration<AXQEmployeeSkillsSkillPercentagesQuery>;
859
- }
860
- declare class AXQEmployeeSkillsLevelPercentagesQuery implements AXPQuery<LevelsInput, Record<string, number>> {
861
- fetch(input: LevelsInput): Promise<Record<string, number>>;
862
- static ɵfac: i0.ɵɵFactoryDeclaration<AXQEmployeeSkillsLevelPercentagesQuery, never>;
863
- static ɵprov: i0.ɵɵInjectableDeclaration<AXQEmployeeSkillsLevelPercentagesQuery>;
864
- }
865
-
866
- interface PartyMockData {
867
- id: string;
868
- firstName: string;
869
- lastName: string;
870
- displayName: string;
871
- email: string;
872
- mobile: string;
873
- gender: string;
874
- type: string;
875
- }
876
- declare function findPartyById(id: string): PartyMockData | null;
877
-
878
- declare class AXMIndustryDataSeeder implements AXPDataSeeder {
879
- private readonly storageService;
880
- seed(): Promise<void>;
881
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMIndustryDataSeeder, never>;
882
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMIndustryDataSeeder>;
340
+ declare class AXCLocaleManagementMockModule {
341
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCLocaleManagementMockModule, never>;
342
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCLocaleManagementMockModule, never, never, never>;
343
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCLocaleManagementMockModule>;
883
344
  }
884
345
 
885
- declare function findContactMethod(referenceId: string, type: string): string | undefined;
886
-
887
- declare class AXCJsaSeeder implements AXPDataSeeder {
888
- private storageService;
889
- seed(): Promise<void>;
890
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCJsaSeeder, never>;
891
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCJsaSeeder>;
346
+ declare class AXCPlatformManagementMockModule {
347
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCPlatformManagementMockModule, never>;
348
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCPlatformManagementMockModule, never, never, never>;
349
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCPlatformManagementMockModule>;
892
350
  }
893
351
 
894
- interface TaskType {
895
- id: string;
896
- name: string;
897
- title: string;
898
- description: string;
899
- icon: string;
900
- color: string;
901
- isActive: boolean;
902
- order: number;
903
- features: string[];
904
- workflowSteps: string[];
905
- estimatedHours: number;
906
- priority: string;
907
- category: string;
908
- }
909
- declare const TASK_TYPES: TaskType[];
910
- interface TaskStatus {
911
- id: string;
912
- taskTypeId: string;
913
- name: string;
914
- title: string;
915
- description: string;
916
- color: string;
917
- icon: string;
918
- isInitial: boolean;
919
- isFinal: boolean;
920
- order: number;
921
- nextStatuses: string[];
922
- isActive: boolean;
923
- }
924
- declare const TASK_STATUSES: TaskStatus[];
925
- interface Task {
926
- id: string;
927
- title: string;
928
- description: string;
929
- taskTypeId: string;
930
- taskStatusId: string;
931
- priority: string;
932
- estimatedHours: number;
933
- actualHours: number;
934
- startDate: Date;
935
- dueDate: Date;
936
- completedDate?: Date;
937
- assignedToUserId: string;
938
- createdByUserId: string;
939
- tags: string[];
940
- progress: number;
941
- isActive: boolean;
942
- }
943
- declare const TASKS: Task[];
944
- interface TaskTemplate {
945
- id: string;
946
- name: string;
947
- title: string;
948
- description: string;
949
- taskTypeId: string;
950
- templateData: {
951
- title: string;
952
- description: string;
953
- estimatedHours: number;
954
- priority: string;
955
- tags: string[];
956
- checklistItems: Array<{
957
- title: string;
958
- description?: string;
959
- order: number;
960
- }>;
961
- };
962
- isPublic: boolean;
963
- createdBy: string;
352
+ declare class AXCTextTemplateManagementMockModule {
353
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCTextTemplateManagementMockModule, never>;
354
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCTextTemplateManagementMockModule, never, never, never>;
355
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCTextTemplateManagementMockModule>;
964
356
  }
965
- declare const TASK_TEMPLATES: TaskTemplate[];
966
357
 
967
- type extraFields$1 = {
968
- recievedDate: Date;
969
- };
970
- declare class AXPTaskBoardProjectManagementTaskProvider extends AXPWorkflowTaskProvider<extraFields$1> {
971
- private calendarService;
972
- private list;
973
- get name(): string;
974
- get title(): string;
975
- get icon(): string;
976
- /**
977
- * Retrieves a list of tasks, applying all provided filters and pagination.
978
- * @param options Filtering and pagination options.
979
- * @returns A promise resolving to the paginated list of tasks and the total count of filtered tasks.
980
- */
981
- getTasks(options?: AXPTaskFilter): Promise<{
982
- items: AXPTask<extraFields$1>[];
983
- total: number;
984
- }>;
985
- /**
986
- * Updates one or more tasks in the provider's list.
987
- * This method finds each task by its ID and applies the new properties from the input.
988
- * It also automatically recalculates the `allDay` flag based on the task's duration.
989
- * @param tasksToUpdate An array of task objects to update. Each object must have an `id`.
990
- * @returns An array of the tasks that were successfully updated.
991
- */
992
- updateTasks(tasksToUpdate: AXPTask<extraFields$1>[]): Promise<AXPTask<extraFields$1>[]>;
993
- private isDurationMoreThan24Hours;
994
- executeCommand(command: AXPExecuteCommand): Promise<AXPExecuteCommandResult>;
995
- getActions(task?: AXPTask<extraFields$1>): Promise<AXPActionMenuItem[]>;
996
- getExtraFields(): Promise<AXPExtraField[]>;
997
- getStatuses(): Promise<AXPTaskStatus[]>;
358
+ declare class AXCSecurityManagementMockModule {
359
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCSecurityManagementMockModule, never>;
360
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCSecurityManagementMockModule, never, never, never>;
361
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCSecurityManagementMockModule>;
998
362
  }
999
363
 
1000
- type extraFields = {
1001
- recievedDate: Date;
1002
- };
1003
- declare class AXPTaskBoardPlatformManagementTaskProvider extends AXPWorkflowTaskProvider<extraFields> {
1004
- private calendarService;
1005
- private list;
1006
- get name(): string;
1007
- get title(): string;
1008
- get icon(): string;
1009
- /**
1010
- * Retrieves a list of tasks, applying all provided filters and pagination.
1011
- * @param options Filtering and pagination options.
1012
- * @returns A promise resolving to the paginated list of tasks and the total count of filtered tasks.
1013
- */
1014
- getTasks(options?: AXPTaskFilter): Promise<{
1015
- items: AXPTask<extraFields>[];
1016
- total: number;
1017
- }>;
1018
- /**
1019
- * Updates one or more tasks in the provider's list.
1020
- * This method finds each task by its ID and applies the new properties from the input.
1021
- * It also automatically recalculates the `allDay` flag based on the task's duration.
1022
- * @param tasksToUpdate An array of task objects to update. Each object must have an `id`.
1023
- * @returns An array of the tasks that were successfully updated.
1024
- */
1025
- updateTasks(tasksToUpdate: AXPTask<extraFields>[]): Promise<AXPTask<extraFields>[]>;
1026
- private isDurationMoreThan24Hours;
1027
- executeCommand(command: AXPExecuteCommand): Promise<AXPExecuteCommandResult>;
1028
- getActions(task?: AXPTask<extraFields>): Promise<AXPActionMenuItem[]>;
1029
- getExtraFields(): Promise<AXPExtraField[]>;
1030
- getStatuses(): Promise<AXPTaskStatus[]>;
364
+ declare class AXCSchedulerJobManagementMockModule {
365
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCSchedulerJobManagementMockModule, never>;
366
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCSchedulerJobManagementMockModule, never, never, never>;
367
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCSchedulerJobManagementMockModule>;
1031
368
  }
1032
369
 
1033
- declare class AXCAppTermDataSeeder implements AXPDataSeeder {
1034
- private storageService;
1035
- seed(): Promise<void>;
1036
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCAppTermDataSeeder, never>;
1037
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCAppTermDataSeeder>;
370
+ declare class AXCTrainingManagementMockModule {
371
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCTrainingManagementMockModule, never>;
372
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCTrainingManagementMockModule, never, never, never>;
373
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCTrainingManagementMockModule>;
1038
374
  }
1039
375
 
1040
- declare class AXMAiResponderService {
1041
- private readonly geminiApiKey;
1042
- getAIResponse(prompt: string): Promise<string>;
1043
- private getRandomReply;
1044
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMAiResponderService, never>;
1045
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMAiResponderService>;
376
+ declare class AXCProjectManagementMockModule {
377
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCProjectManagementMockModule, never>;
378
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCProjectManagementMockModule, never, never, never>;
379
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCProjectManagementMockModule>;
1046
380
  }
1047
381
 
1048
- declare class AXPMessageDataSeeder implements AXPDataSeeder {
1049
- private storageService;
1050
- private chatService;
1051
- private chatRealtimeService;
1052
- private commentService;
1053
- private commentRealtimeService;
1054
- private aiResponderService;
1055
- private usersService;
1056
- private sessionService;
1057
- private userNameCache;
1058
- private getUserName;
1059
- seed(): Promise<void>;
1060
- static ɵfac: i0.ɵɵFactoryDeclaration<AXPMessageDataSeeder, never>;
1061
- static ɵprov: i0.ɵɵInjectableDeclaration<AXPMessageDataSeeder>;
382
+ declare class AXMCalendarManagementMockModule {
383
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMCalendarManagementMockModule, never>;
384
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXMCalendarManagementMockModule, never, never, never>;
385
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXMCalendarManagementMockModule>;
1062
386
  }
1063
387
 
1064
- declare class AXPRoomDataSeeder implements AXPDataSeeder {
1065
- private storageService;
1066
- seed(): Promise<void>;
1067
- static ɵfac: i0.ɵɵFactoryDeclaration<AXPRoomDataSeeder, never>;
1068
- static ɵprov: i0.ɵɵInjectableDeclaration<AXPRoomDataSeeder>;
388
+ declare class AXCWorkflowManagementMockModule {
389
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCWorkflowManagementMockModule, never>;
390
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCWorkflowManagementMockModule, never, never, never>;
391
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCWorkflowManagementMockModule>;
1069
392
  }
1070
393
 
1071
- declare class AXCTextTemplateCategoryDataSeeder implements AXPDataSeeder {
1072
- private storageService;
1073
- seed(): Promise<void>;
1074
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCTextTemplateCategoryDataSeeder, never>;
1075
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCTextTemplateCategoryDataSeeder>;
394
+ declare class AXCNotificationManagementMockModule {
395
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCNotificationManagementMockModule, never>;
396
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCNotificationManagementMockModule, never, never, never>;
397
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCNotificationManagementMockModule>;
1076
398
  }
1077
399
 
1078
- declare class AXCTextTemplateDataSeeder implements AXPDataSeeder {
1079
- private storageService;
1080
- seed(): Promise<void>;
1081
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCTextTemplateDataSeeder, never>;
1082
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCTextTemplateDataSeeder>;
400
+ declare class AXCTaskManagementMockModule {
401
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCTaskManagementMockModule, never>;
402
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCTaskManagementMockModule, never, never, never>;
403
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCTaskManagementMockModule>;
1083
404
  }
1084
405
 
1085
- declare const TEXT_TEMPLATE_CATEGORY: {
1086
- id: string;
1087
- name: string;
1088
- title: string;
1089
- }[];
1090
- declare const TEXT_TEMPLATES: AXMTextTemplateManagementTemplateEntityModel[];
1091
-
1092
- declare class AXCTextTemplateManagementMockModule {
1093
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCTextTemplateManagementMockModule, never>;
1094
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCTextTemplateManagementMockModule, never, never, never>;
1095
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCTextTemplateManagementMockModule>;
406
+ declare class AXMPartyManagementMockModule {
407
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMPartyManagementMockModule, never>;
408
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXMPartyManagementMockModule, never, never, never>;
409
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXMPartyManagementMockModule>;
1096
410
  }
1097
411
 
1098
- declare class AXCMetaDataDefinitionDataSeeder implements AXPDataSeeder {
1099
- private storageService;
1100
- seed(): Promise<void>;
1101
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCMetaDataDefinitionDataSeeder, never>;
1102
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCMetaDataDefinitionDataSeeder>;
412
+ declare class AXCContentManagementMockModule {
413
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCContentManagementMockModule, never>;
414
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCContentManagementMockModule, never, never, never>;
415
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCContentManagementMockModule>;
1103
416
  }
1104
417
 
1105
- declare function generateUserDashboard(user: (typeof mockUsers)[0]): AXMCommonDashboardEntityModel;
1106
- declare function createDashboardForUser(dashboardName: string, userId: string, widgetTypesInput: string[]): AXMCommonDashboardEntityModel;
1107
- declare function createAndSaveDashboardForUser(params: {
1108
- name: string;
1109
- userId: string;
1110
- widgetTypes: string[];
1111
- }, injector: Injector): Promise<string>;
1112
- declare const DASHBOARDS: AXMCommonDashboardEntityModel[];
1113
-
1114
- declare class AXPDashboardDataSeeder implements AXPDataSeeder {
1115
- private storageService;
1116
- seed(): Promise<void>;
1117
- static ɵfac: i0.ɵɵFactoryDeclaration<AXPDashboardDataSeeder, never>;
1118
- static ɵprov: i0.ɵɵInjectableDeclaration<AXPDashboardDataSeeder>;
418
+ declare class AXCIdentifierManagementMockModule {
419
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCIdentifierManagementMockModule, never>;
420
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCIdentifierManagementMockModule, never, never, never>;
421
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCIdentifierManagementMockModule>;
1119
422
  }
1120
423
 
1121
- declare class AXMReportCategoryDataSeeder implements AXPDataSeeder {
1122
- private storageService;
1123
- seed(): Promise<void>;
1124
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMReportCategoryDataSeeder, never>;
1125
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMReportCategoryDataSeeder>;
424
+ declare class AXCMockModule {
425
+ constructor(appInitService: AXPAppStartUpService, injector: Injector);
426
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCMockModule, never>;
427
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCMockModule, never, [typeof _acorex_platform_auth.AXPAuthModule, typeof AXCCommonMockModule, typeof AXCFormTemplateManagementMockModule, typeof AXCFOrganizationManagementMockModule, typeof AXCReportManagementMockModule, typeof AXCContactManagementMockModule, typeof AXCLocationManagementMockModule, typeof AXCLocaleManagementMockModule, typeof AXCDashboardManagementMockModule, typeof AXCConversationMockModule, typeof AXCAuthMockModule, typeof AXCPlatformManagementMockModule, typeof AXCTextTemplateManagementMockModule, typeof AXCSecurityManagementMockModule, typeof AXCSchedulerJobManagementMockModule, typeof AXCApplicationManagementMockModule, typeof AXCTrainingManagementMockModule, typeof AXCProjectManagementMockModule, typeof AXCDocumentManagementMockModule, typeof AXCHelpDeskMockModule, typeof AXCLogManagementMockModule, typeof AXMCalendarManagementMockModule, typeof AXCDataManagementMockModule, typeof AXCWorkflowManagementMockModule, typeof AXCNotificationManagementMockModule, typeof AXCTaskManagementMockModule, typeof AXMPartyManagementMockModule, typeof AXCContentManagementMockModule, typeof AXCIdentifierManagementMockModule], never>;
428
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCMockModule>;
1126
429
  }
1127
430
 
1128
- declare class AXMReportDefinitionDataSeeder implements AXPDataSeeder {
1129
- private storageService;
1130
- seed(): Promise<void>;
1131
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMReportDefinitionDataSeeder, never>;
1132
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMReportDefinitionDataSeeder>;
431
+ interface MockUserPassCredentials extends AXPBaseCredentials {
432
+ username: string;
433
+ password: string;
1133
434
  }
1134
-
1135
- declare class AXMReportExecuteCommand implements AXPExecutionReportCommand {
1136
- private readonly queryService;
1137
- private readonly mockDataService;
1138
- private readonly reportDataCache;
1139
- private readonly CACHE_TTL_MS;
1140
- private readonly DEFAULT_TOTAL_ITEMS;
1141
- private readonly reportDefinitionService;
435
+ declare class MOCKStrategy extends AXPAuthStrategy {
436
+ tenantLoader: _acorex_platform_auth.AXPTenantLoader;
437
+ applicationLoader: _acorex_platform_auth.AXPApplicationLoader;
438
+ router: Router;
1142
439
  constructor();
1143
- execute(context: AXPLayoutExecutionContext): Promise<AXPExecutionReportCommandResult>;
1144
- private generateLayoutData;
1145
- private generateTableData;
1146
- private generateChartData;
1147
- private generateLayoutDataFromQuery;
1148
- private buildQueryInput;
1149
- private assignByPath;
1150
- private normalizeTableQueryResult;
1151
- private normalizeChartQueryResult;
1152
- private generateSystemHealthChartData;
1153
- private readonly reportDefinitionFallback;
1154
- private applyAuditTrailFilters;
1155
- private applyLoginLogsFilters;
1156
- private applyChangePasswordLogsFilters;
1157
- private applyIdentityAuditLogErrorLogsFilters;
1158
- private getCachedOrGenerateReportData;
1159
- private generateCacheKey;
1160
- private generateReportVersion;
1161
- private isCacheValid;
1162
- private clearExpiredCache;
1163
- /**
1164
- * Manually clear all cached report data (useful for debugging or forcing refresh)
1165
- */
1166
- clearCache(): void;
1167
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMReportExecuteCommand, never>;
1168
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMReportExecuteCommand>;
1169
- }
1170
-
1171
- /**
1172
- * Provides mock data generation for reports, separated from execution concerns.
1173
- */
1174
- declare class AXMReportMockDataService {
1175
- /**
1176
- * Generate mock data based on report title heuristics.
1177
- */
1178
- generateMockDataForReport(reportDefinition: AXPReportDefinition, parameters: Record<string, unknown>, pageSize: number): Record<string, unknown>[];
1179
- private generateAuditTrailData;
1180
- private generateFinancialData;
1181
- private generateIncomeData;
1182
- private generateEmployeeData;
1183
- private generateSalesData;
1184
- private generateSafetyData;
1185
- private generateGenericData;
1186
- private getRandomPastDate;
1187
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMReportMockDataService, never>;
1188
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMReportMockDataService>;
1189
- }
1190
-
1191
- declare const calendarMock: ({
1192
- id: string;
1193
- name: string;
1194
- title: string;
1195
- description: string;
1196
- calendarTypeId: string;
1197
- calendarType: {
1198
- id: string;
1199
- title: string;
1200
- };
1201
- parentId: null;
1202
- parent: null;
1203
- weekends: string[];
1204
- firstDayOfWeek: string;
1205
- workingHours: {
1206
- start: string;
1207
- end: string;
1208
- breakStart: string;
1209
- breakEnd: string;
1210
- };
1211
- timeZone: string;
1212
- isTemplate: boolean;
1213
- isActive: boolean;
1214
- order: number;
1215
- notes: string;
1216
- createdAt: Date;
1217
- updatedAt: Date;
1218
- scope?: undefined;
1219
- scopeEntityId?: undefined;
1220
- } | {
1221
- id: string;
1222
- name: string;
1223
- title: string;
1224
- description: string;
1225
- calendarTypeId: string;
1226
- calendarType: {
1227
- id: string;
1228
- title: string;
1229
- };
1230
- parentId: null;
1231
- parent: null;
1232
- scope: string;
1233
- scopeEntityId: null;
1234
- weekends: string[];
1235
- firstDayOfWeek: string;
1236
- workingHours: {
1237
- start: string;
1238
- end: string;
1239
- breakStart: string;
1240
- breakEnd: string;
1241
- };
1242
- timeZone: string;
1243
- isTemplate: boolean;
1244
- isActive: boolean;
1245
- order: number;
1246
- notes: string;
1247
- createdAt: Date;
1248
- updatedAt: Date;
1249
- } | {
1250
- id: string;
1251
- name: string;
1252
- title: string;
1253
- description: string;
1254
- calendarTypeId: string;
1255
- calendarType: {
1256
- id: string;
1257
- title: string;
1258
- };
1259
- parentId: null;
1260
- parent: null;
1261
- scope: string;
1262
- scopeEntityId: string;
1263
- weekends: string[];
1264
- firstDayOfWeek: string;
1265
- workingHours: {
1266
- start: string;
1267
- end: string;
1268
- breakStart: string;
1269
- breakEnd: string;
1270
- };
1271
- timeZone: string;
1272
- isTemplate: boolean;
1273
- isActive: boolean;
1274
- order: number;
1275
- notes: string;
1276
- createdAt: Date;
1277
- updatedAt: Date;
1278
- })[];
1279
-
1280
- declare class AXCCalendarDataSeeder implements AXPDataSeeder {
1281
- private readonly storageService;
1282
- seed(): Promise<void>;
1283
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCCalendarDataSeeder, never>;
1284
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCCalendarDataSeeder>;
1285
- }
1286
-
1287
- declare const calendarEventMock: ({
1288
- id: string;
1289
- calendarId: string;
1290
- calendar: {
1291
- id: string;
1292
- title: string;
1293
- };
1294
- title: string;
1295
- description: string;
1296
- typeId: string;
1297
- type: _acorex_modules_calendar_management.AXMCalendarManagementCalendarEventTypeEntityModel;
1298
- date: Date;
1299
- isRecurring: boolean;
1300
- recurrenceRule: string;
1301
- isActive: boolean;
1302
- order: number;
1303
- createdAt: Date;
1304
- updatedAt: Date;
1305
- } | {
1306
- id: string;
1307
- calendarId: string;
1308
- calendar: {
1309
- id: string;
1310
- title: string;
1311
- };
1312
- title: string;
1313
- description: string;
1314
- typeId: string;
1315
- type: _acorex_modules_calendar_management.AXMCalendarManagementCalendarEventTypeEntityModel;
1316
- date: Date;
1317
- isRecurring: boolean;
1318
- recurrenceRule: null;
1319
- isActive: boolean;
1320
- order: number;
1321
- createdAt: Date;
1322
- updatedAt: Date;
1323
- })[];
1324
-
1325
- declare class AXCCalendarEventDataSeeder implements AXPDataSeeder {
1326
- private readonly storageService;
1327
- seed(): Promise<void>;
1328
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCCalendarEventDataSeeder, never>;
1329
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCCalendarEventDataSeeder>;
1330
- }
1331
-
1332
- declare const calendarEventTypeMockData: AXMCalendarManagementCalendarEventTypeEntityModel[];
1333
-
1334
- declare class AXMCalendarEventTypeSeeder implements AXPDataSeeder {
1335
- private readonly storageService;
1336
- seed(): Promise<void>;
1337
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMCalendarEventTypeSeeder, never>;
1338
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMCalendarEventTypeSeeder>;
440
+ private entityRegistery;
441
+ get name(): string;
442
+ signin(credentials: MockUserPassCredentials): Promise<AXPSignInResult>;
443
+ signout(): Promise<void>;
444
+ refreshToken(context: AXPSessionContext): Promise<AXPSignInResult>;
445
+ updateToken(params: {
446
+ [key: string]: any;
447
+ }): Promise<AXPSignInResult>;
448
+ static ɵfac: i0.ɵɵFactoryDeclaration<MOCKStrategy, never>;
449
+ static ɵprov: i0.ɵɵInjectableDeclaration<MOCKStrategy>;
1339
450
  }
1340
451
 
1341
- declare const meetingIds: {
1342
- dailyStandup1: string;
1343
- dailyStandup2: string;
1344
- projectReview1: string;
1345
- };
1346
- declare const meetingMock: ({
1347
- id: string;
1348
- title: string;
1349
- meetingNotes: string;
1350
- meetingType: {
1351
- id: string;
1352
- title: string;
1353
- };
1354
- meetingProviderType: string;
1355
- isRecorded: boolean;
1356
- mettingStatus: string;
1357
- isFullysignedOff: boolean;
1358
- meetingLocationId: {
1359
- id: string;
1360
- title: string;
1361
- };
1362
- joinUrl?: undefined;
1363
- hostUrl?: undefined;
1364
- } | {
1365
- id: string;
1366
- title: string;
1367
- meetingNotes: string;
1368
- meetingType: {
1369
- id: string;
1370
- title: string;
1371
- };
1372
- meetingProviderType: string;
1373
- joinUrl: string;
1374
- hostUrl: string;
1375
- isRecorded: boolean;
1376
- mettingStatus: string;
1377
- isFullysignedOff: boolean;
1378
- meetingLocationId?: undefined;
1379
- } | {
1380
- id: string;
1381
- title: string;
1382
- meetingNotes: string;
1383
- meetingType: {
1384
- id: string;
1385
- title: string;
1386
- };
1387
- meetingProviderType: string;
1388
- joinUrl: string;
1389
- hostUrl: string;
1390
- isRecorded: boolean;
1391
- mettingStatus: string;
1392
- isFullysignedOff: boolean;
1393
- meetingLocationId: {
1394
- id: string;
1395
- title: string;
1396
- };
1397
- })[];
452
+ declare class AXCAppVersionDataSeeder implements AXPDataSeeder {
453
+ private storageService;
454
+ private appVersionService;
455
+ seed(): Promise<void>;
456
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCAppVersionDataSeeder, never>;
457
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXCAppVersionDataSeeder>;
458
+ }
1398
459
 
1399
- declare class AXMMeetingDataSeeder implements AXPDataSeeder {
1400
- private readonly storageService;
460
+ declare class AXCGlobalVariablesDataSeeder implements AXPDataSeeder {
461
+ private storageService;
1401
462
  seed(): Promise<void>;
1402
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMMeetingDataSeeder, never>;
1403
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMMeetingDataSeeder>;
463
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCGlobalVariablesDataSeeder, never>;
464
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXCGlobalVariablesDataSeeder>;
1404
465
  }
1405
466
 
1406
- declare const meetingTypeMock: {
467
+ declare const GLOBAL_VARIABLES: {
1407
468
  id: string;
469
+ name: string;
1408
470
  title: string;
471
+ dataType: string;
472
+ value: string;
1409
473
  }[];
1410
474
 
1411
- declare class AXMMeetingTypeDataSeeder implements AXPDataSeeder {
1412
- private readonly storageService;
475
+ declare const REPORT_CATEGORIES: AXPReportCategory[];
476
+ declare const REPORT_DEFINITIONS: AXPReportDefinition[];
477
+ declare const CATEGORY_REPORT_MAPPING: Map<string, AXPReportDefinition[]>;
478
+
479
+ declare class AXPReportManagementDataSeeder implements AXPDataSeeder {
480
+ private storageService;
1413
481
  seed(): Promise<void>;
1414
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMMeetingTypeDataSeeder, never>;
1415
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMMeetingTypeDataSeeder>;
482
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXPReportManagementDataSeeder, never>;
483
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXPReportManagementDataSeeder>;
1416
484
  }
1417
485
 
1418
- declare const meetingParticipantMock: ({
1419
- id: string;
1420
- meetingId: string;
1421
- userId: {
1422
- id: string;
1423
- title: string;
1424
- };
1425
- jointime: Date;
1426
- leaveTime: Date;
1427
- duration: number;
1428
- signOffAt: Date;
1429
- participantStatus: string;
1430
- meetingRoleTypeIds: {
1431
- id: string;
1432
- title: string;
1433
- };
1434
- } | {
1435
- id: string;
1436
- meetingId: string;
1437
- userId: {
1438
- id: string;
1439
- title: string;
1440
- };
1441
- jointime: Date;
1442
- leaveTime: null;
1443
- duration: number;
1444
- signOffAt: null;
1445
- participantStatus: string;
1446
- meetingRoleTypeIds: {
1447
- id: string;
1448
- title: string;
1449
- };
1450
- })[];
486
+ declare class AXMReportExecuteCommand implements AXPExecutionReportCommand {
487
+ private readonly queryService;
488
+ private readonly reportDataCache;
489
+ private readonly CACHE_TTL_MS;
490
+ private readonly DEFAULT_TOTAL_ITEMS;
491
+ private readonly reportDefinitionService;
492
+ constructor();
493
+ execute(context: AXPLayoutExecutionContext): Promise<AXPExecutionReportCommandResult>;
494
+ private generateLayoutData;
495
+ private generateTableData;
496
+ private generateChartData;
497
+ private getCachedOrGenerateReportData;
498
+ private generateCacheKey;
499
+ private generateReportVersion;
500
+ private isCacheValid;
501
+ private clearExpiredCache;
502
+ /**
503
+ * Manually clear all cached report data (useful for debugging or forcing refresh)
504
+ */
505
+ clearCache(): void;
506
+ private generateMockDataForReport;
507
+ private generateFinancialData;
508
+ private generateIncomeData;
509
+ private generateEmployeeData;
510
+ private generateSalesData;
511
+ private generateSafetyData;
512
+ private generateGenericData;
513
+ private getRandomPastDate;
514
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMReportExecuteCommand, never>;
515
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXMReportExecuteCommand>;
516
+ }
1451
517
 
1452
- declare class AXMMeetingParticipantDataSeeder implements AXPDataSeeder {
1453
- private readonly storageService;
518
+ declare class AXCSchedulerJobDataSeeder implements AXPDataSeeder {
519
+ private storageService;
1454
520
  seed(): Promise<void>;
1455
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMMeetingParticipantDataSeeder, never>;
1456
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMMeetingParticipantDataSeeder>;
521
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCSchedulerJobDataSeeder, never>;
522
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXCSchedulerJobDataSeeder>;
1457
523
  }
1458
524
 
1459
- declare const meetingSessionMock: ({
1460
- id: string;
1461
- meetingId: string;
1462
- title: string;
1463
- scheduleDate: Date;
1464
- startTime: Date;
1465
- endTime: Date;
1466
- actualDate: Date;
1467
- actualStartTime: Date;
1468
- actualEndTime: Date;
1469
- } | {
1470
- id: string;
1471
- meetingId: string;
1472
- title: string;
1473
- scheduleDate: Date;
1474
- startTime: Date;
1475
- endTime: Date;
1476
- actualDate: Date;
1477
- actualStartTime: Date;
1478
- actualEndTime?: undefined;
1479
- } | {
1480
- id: string;
1481
- meetingId: string;
1482
- title: string;
1483
- scheduleDate: Date;
1484
- startTime: Date;
1485
- endTime: Date;
1486
- actualDate?: undefined;
1487
- actualStartTime?: undefined;
1488
- actualEndTime?: undefined;
1489
- })[];
1490
-
1491
- declare class AXMMeetingSessionDataSeeder implements AXPDataSeeder {
1492
- private readonly storageService;
525
+ declare class AXPSecurityManagementRoleDataSeeder implements AXPDataSeeder {
526
+ private storageService;
1493
527
  seed(): Promise<void>;
1494
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMMeetingSessionDataSeeder, never>;
1495
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMMeetingSessionDataSeeder>;
528
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXPSecurityManagementRoleDataSeeder, never>;
529
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXPSecurityManagementRoleDataSeeder>;
1496
530
  }
1497
531
 
1498
- declare const meetingTimeSlotMock: ({
1499
- id: string;
1500
- meetingId: string;
1501
- scheduleDate: Date;
1502
- startTime: Date;
1503
- endTime: Date;
1504
- actualDate: Date;
1505
- actualStartTime: Date;
1506
- actualEndTime: Date;
1507
- } | {
1508
- id: string;
1509
- meetingId: string;
1510
- scheduleDate: Date;
1511
- startTime: Date;
1512
- endTime: Date;
1513
- actualDate: Date;
1514
- actualStartTime: Date;
1515
- actualEndTime?: undefined;
1516
- } | {
1517
- id: string;
1518
- meetingId: string;
1519
- scheduleDate: Date;
1520
- startTime: Date;
1521
- endTime: Date;
1522
- actualDate?: undefined;
1523
- actualStartTime?: undefined;
1524
- actualEndTime?: undefined;
1525
- })[];
532
+ declare class AXPSecurityManagementUserDataSeeder implements AXPDataSeeder {
533
+ private storageService;
534
+ seed(): Promise<void>;
535
+ private generateUsers;
536
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXPSecurityManagementUserDataSeeder, never>;
537
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXPSecurityManagementUserDataSeeder>;
538
+ }
1526
539
 
1527
- declare const meetingFilesMock: {
540
+ interface TaskType {
1528
541
  id: string;
1529
- meetingId: string;
1530
- documentId: string;
542
+ name: string;
543
+ title: string;
1531
544
  description: string;
1532
- }[];
1533
-
1534
- declare class AXMMeetingFilesDataSeeder implements AXPDataSeeder {
1535
- private readonly storageService;
1536
- seed(): Promise<void>;
1537
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMMeetingFilesDataSeeder, never>;
1538
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMMeetingFilesDataSeeder>;
545
+ icon: string;
546
+ color: string;
547
+ isActive: boolean;
548
+ order: number;
549
+ features: string[];
550
+ workflowSteps: string[];
551
+ estimatedHours: number;
552
+ priority: string;
553
+ category: string;
1539
554
  }
1540
-
1541
- declare const participantIds: {
1542
- participant1: string;
1543
- participant2: string;
1544
- participant3: string;
1545
- participant4: string;
1546
- participant5: string;
1547
- participant6: string;
1548
- participant7: string;
1549
- participant8: string;
1550
- participant9: string;
1551
- };
1552
- declare const meetingRoleTypeMock: {
555
+ declare const TASK_TYPES: TaskType[];
556
+ interface TaskStatus {
1553
557
  id: string;
558
+ taskTypeId: string;
559
+ name: string;
1554
560
  title: string;
1555
- meetingParticipantId: string;
1556
- }[];
1557
-
1558
- declare class AXMMeetingRoleTypeDataSeeder implements AXPDataSeeder {
1559
- private readonly storageService;
1560
- seed(): Promise<void>;
1561
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMMeetingRoleTypeDataSeeder, never>;
1562
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMMeetingRoleTypeDataSeeder>;
561
+ description: string;
562
+ color: string;
563
+ icon: string;
564
+ isInitial: boolean;
565
+ isFinal: boolean;
566
+ order: number;
567
+ nextStatuses: string[];
568
+ isActive: boolean;
1563
569
  }
1564
-
1565
- declare const meetingTypeFileTemplateMock: ({
570
+ declare const TASK_STATUSES: TaskStatus[];
571
+ interface Task {
1566
572
  id: string;
1567
573
  title: string;
1568
- templateId: string;
1569
- typeId: string;
1570
- } | {
574
+ description: string;
575
+ taskTypeId: string;
576
+ taskStatusId: string;
577
+ priority: string;
578
+ estimatedHours: number;
579
+ actualHours: number;
580
+ startDate: Date;
581
+ dueDate: Date;
582
+ completedDate?: Date;
583
+ assignedToUserId: string;
584
+ createdByUserId: string;
585
+ tags: string[];
586
+ progress: number;
587
+ isActive: boolean;
588
+ }
589
+ declare const TASKS: Task[];
590
+ interface TaskTemplate {
1571
591
  id: string;
592
+ name: string;
1572
593
  title: string;
1573
- templateId: string;
1574
- typeId: {
1575
- id: string;
594
+ description: string;
595
+ taskTypeId: string;
596
+ templateData: {
1576
597
  title: string;
598
+ description: string;
599
+ estimatedHours: number;
600
+ priority: string;
601
+ tags: string[];
602
+ checklistItems: Array<{
603
+ title: string;
604
+ description?: string;
605
+ order: number;
606
+ }>;
1577
607
  };
1578
- })[];
608
+ isPublic: boolean;
609
+ createdBy: string;
610
+ }
611
+ declare const TASK_TEMPLATES: TaskTemplate[];
1579
612
 
1580
- declare class AXMMeetingTypeFileTemplateDataSeeder implements AXPDataSeeder {
1581
- private readonly storageService;
613
+ declare class AXCTextTemplateCategoryDataSeeder implements AXPDataSeeder {
614
+ private storageService;
1582
615
  seed(): Promise<void>;
1583
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMMeetingTypeFileTemplateDataSeeder, never>;
1584
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMMeetingTypeFileTemplateDataSeeder>;
616
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCTextTemplateCategoryDataSeeder, never>;
617
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXCTextTemplateCategoryDataSeeder>;
1585
618
  }
1586
619
 
1587
- declare class AXCSchedulerJobDataSeeder implements AXPDataSeeder {
620
+ declare class AXCTextTemplateDataSeeder implements AXPDataSeeder {
1588
621
  private storageService;
1589
622
  seed(): Promise<void>;
1590
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCSchedulerJobDataSeeder, never>;
1591
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCSchedulerJobDataSeeder>;
623
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCTextTemplateDataSeeder, never>;
624
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXCTextTemplateDataSeeder>;
1592
625
  }
1593
626
 
1594
- declare class AXCSchedulerJobManagementMockModule {
1595
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCSchedulerJobManagementMockModule, never>;
1596
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCSchedulerJobManagementMockModule, never, never, never>;
1597
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCSchedulerJobManagementMockModule>;
1598
- }
627
+ declare const TEXT_TEMPLATE_CATEGORY: {
628
+ id: string;
629
+ name: string;
630
+ title: string;
631
+ }[];
632
+ declare const TEXT_TEMPLATES: AXMTextTemplateManagementTemplateEntityModel[];
1599
633
 
1600
- declare class AXCLockService implements AXPLockService {
1601
- private className;
1602
- private db;
634
+ /**
635
+ * Simplified Dexie Storage Service without built-in middleware logic
636
+ * This extends the original service but removes the middleware-related code
637
+ */
638
+ declare class AXPSimplifiedDexieStorageService extends AXPDexieEntityStorageService {
639
+ updateOne<T = any>(entityName: string, id: string, keyValue: {
640
+ [key: string]: any;
641
+ }): Promise<T>;
642
+ deleteOne(entityName: string, id: string): Promise<void>;
643
+ insertOne<T = any>(entityName: string, entity: T): Promise<string>;
644
+ private generateUuid;
645
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXPSimplifiedDexieStorageService, never>;
646
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXPSimplifiedDexieStorageService>;
647
+ }
648
+ /**
649
+ * Dexie Entity Storage Service with Middleware Support
650
+ *
651
+ * This service combines the simplified Dexie storage with a comprehensive middleware pipeline
652
+ * that handles locking, history logging, activity tracking, validation, and performance monitoring.
653
+ */
654
+ declare class AXPDexieWithMiddlewareService extends AXPEntityStorageWithMiddlewareService<string, any> {
655
+ private sessionService;
656
+ private lockService;
657
+ private entityRegistryService;
658
+ private eventService;
1603
659
  constructor();
1604
- private get lockTable();
1605
- protected entityName: string;
660
+ private setupMiddlewares;
1606
661
  /**
1607
- * Cache Time-To-Live in milliseconds. Default is 5 seconds but can be overridden
1608
- * at runtime using {@link setCacheDuration}.
662
+ * Get the underlying Dexie instance for direct access if needed
1609
663
  */
1610
- private cacheTTL;
1611
- /** In-memory cache for lock information. */
1612
- private readonly cacheMap;
1613
- /** Reference to the recurring cache-flush timer. */
1614
- private cacheTimer;
664
+ get dexieInstance(): AXPSimplifiedDexieStorageService;
1615
665
  /**
1616
- * Generates a unique cache key based on the lock request parameters.
666
+ * Access to the Dexie table for advanced operations
1617
667
  */
1618
- private getCacheKey;
668
+ table(name: string): dexie.Table<any, dexie.IndexableType>;
1619
669
  /**
1620
- * Starts or restarts the interval that clears the cache.
670
+ * Get database information
1621
671
  */
1622
- private startCacheTimer;
672
+ getDatabaseInfo(): {
673
+ name: string;
674
+ isOpen: boolean;
675
+ version: number;
676
+ };
1623
677
  /**
1624
- * Allows consumers to change the cache duration (in milliseconds) at runtime.
1625
- * The new duration is applied immediately.
678
+ * Clear all data for a specific entity (useful for testing)
1626
679
  */
1627
- setCacheDuration(ms: number): void;
1628
- lock(request: AXPLockRequest): Promise<AXPLockInfo>;
1629
- unlock(request: AXPUnLockRequest): Promise<void>;
1630
- check(request: AXPLockGetInfoRequest): Promise<boolean>;
1631
- getInfo(request: AXPLockGetInfoRequest): Promise<AXPLockInfo>;
1632
- getItems(request: AXPLockGetInfoRequest): Promise<AXPLockInfo[]>;
1633
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCLockService, never>;
1634
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCLockService>;
1635
- }
1636
-
1637
- declare class AXCFileStorageService implements AXPFileStorageService {
1638
- private fileService;
1639
- private mapToFileStorageInfo;
1640
- save(request: AXPFileStorageCreateRequest): Promise<AXPFileStorageInfo>;
1641
- commit(fileId: string): Promise<void>;
1642
- markForDeletion(fileId: string): Promise<void>;
1643
- update(request: AXPFileStorageUpdateRequest): Promise<AXPFileStorageInfo>;
1644
- find(request: AXPFileStorageFindRequest): Promise<AXPFileStorageInfo[]>;
1645
- getInfo(fileId: string): Promise<AXPFileStorageInfo>;
1646
- remove(fileId: string): Promise<void>;
1647
- private cleanupTemporaryFiles;
1648
- private cleanupMarkedFiles;
1649
- constructor();
1650
- findMany(ids: string[]): Promise<AXPFileManyStorageInfo[]>;
1651
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCFileStorageService, never>;
1652
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCFileStorageService>;
680
+ clearEntity(entityName: string): Promise<void>;
681
+ /**
682
+ * Get entity count
683
+ */
684
+ getEntityCount(entityName: string): Promise<number>;
685
+ /**
686
+ * Bulk operations (bypassing some middleware for performance)
687
+ */
688
+ bulkInsert<T = any>(entityName: string, entities: T[]): Promise<string[]>;
689
+ /**
690
+ * Export entity data (useful for backup/migration)
691
+ */
692
+ exportEntity(entityName: string): Promise<any[]>;
693
+ /**
694
+ * Import entity data (useful for restore/migration)
695
+ */
696
+ importEntity(entityName: string, data: any[], options?: {
697
+ clearFirst?: boolean;
698
+ }): Promise<void>;
699
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXPDexieWithMiddlewareService, never>;
700
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXPDexieWithMiddlewareService>;
1653
701
  }
702
+ /**
703
+ * Factory function to create a configured Dexie service with standard middleware
704
+ */
705
+ declare function createDexieWithStandardMiddleware(): AXPDexieWithMiddlewareService;
706
+ /**
707
+ * Factory function to create a configured Dexie service with custom middleware
708
+ */
709
+ declare function createDexieWithCustomMiddleware(customMiddlewares?: {
710
+ global?: any[];
711
+ operations?: {
712
+ [operation: string]: any[];
713
+ };
714
+ entities?: {
715
+ [entityName: string]: any[];
716
+ };
717
+ }): AXPDexieWithMiddlewareService;
1654
718
 
1655
719
  interface AXPRuleRow extends AXPIdentifierRule {
1656
720
  }
@@ -1670,7 +734,7 @@ interface AXPLogRow {
1670
734
  code: string;
1671
735
  createdAt: string;
1672
736
  }
1673
- declare class AXPIdentifierDB extends Dexie {
737
+ declare class AXPIdentifierDB extends dexie__default {
1674
738
  rules: Table<AXPRuleRow, string>;
1675
739
  sequences: Table<AXPSeqRow, string>;
1676
740
  logs: Table<AXPLogRow, string>;
@@ -1699,8 +763,7 @@ declare class AXPMockLookupProvider implements AXPLookupProvider {
1699
763
  }
1700
764
  declare class AXPMockSequenceProvider implements AXPSequenceProvider {
1701
765
  private readonly db;
1702
- private readonly rulesFromProviders;
1703
- next(scopeHash: string, ruleId: string, options?: {
766
+ next(scopeHash: string, options?: {
1704
767
  pad?: number;
1705
768
  consume?: boolean;
1706
769
  }): Promise<number>;
@@ -1718,46 +781,15 @@ declare class AXPMockIdentifierService extends AXPIdentifierService {
1718
781
  private readonly clock;
1719
782
  private readonly rules;
1720
783
  generate(req: AXPIdentifierRequest): Promise<AXPIdentifierResult>;
1721
- peek(req: AXPIdentifierRequest): Promise<AXPIdentifierPeekResult>;
784
+ peek(req: AXPIdentifierRequest): Promise<AXPIdentifierResult>;
1722
785
  validate(_code: string, _entity: string, _tenantId?: string): Promise<boolean>;
1723
786
  private pickRule;
1724
787
  private createContext;
1725
788
  private createScopeHash;
1726
- private validateRequestAgainstRule;
1727
789
  private evaluateInternal;
1728
- commitWithToken(token: string): Promise<AXPIdentifierResult>;
1729
- commitByCode(req: AXPIdentifierRequest, code: string): Promise<AXPIdentifierResult>;
1730
790
  static ɵfac: i0.ɵɵFactoryDeclaration<AXPMockIdentifierService, never>;
1731
791
  static ɵprov: i0.ɵɵInjectableDeclaration<AXPMockIdentifierService>;
1732
792
  }
1733
793
 
1734
- declare const auditLoggerMiddleware: AXPEntityStorageMiddleware;
1735
-
1736
- /**
1737
- * File Cast Middleware - Handles file operations in entity storage
1738
- *
1739
- * This middleware processes files during entity operations:
1740
- *
1741
- * CREATE/UPDATE Operations:
1742
- * - New files: Uploads to file storage and replaces with file IDs
1743
- * - Existing files: Keeps existing file IDs
1744
- * - Deleted files: Removes from file storage and excludes from entity data
1745
- *
1746
- * QUERY/GET_ONE Operations:
1747
- * - Converts file IDs back to AXPFileListItem objects for UI display
1748
- *
1749
- * File Status Handling:
1750
- * - 'uploaded'/'remote': Keep existing file ID
1751
- * - 'deleted': Remove from storage, exclude from entity
1752
- * - 'attached'/'uploading': Upload new file
1753
- */
1754
- declare const createFileCastMiddleware: AXPEntityStorageMiddleware;
1755
-
1756
- declare const identifierCommitMiddleware: AXPEntityStorageMiddleware;
1757
-
1758
- declare const mergeDetailRelationMiddleware: AXPEntityStorageMiddleware;
1759
-
1760
- declare const AXCMockEntityLogListener: AXPDistributedEventListenerProvider<any>;
1761
-
1762
- export { APPLICATIONS, APPLICATIONS_MODULES, AXCAppTermDataSeeder, AXCAppVersionDataSeeder, AXCApplicationManagementMockModule, AXCApplicationTemplateDataSeeder, AXCAuthMockModule, AXCCalendarDataSeeder, AXCCalendarEventDataSeeder, AXCCalendarManagementMockModule, AXCCommonMockModule, AXCContactManagementMockModule, AXCContentManagementMockModule, AXCConversationMockModule, AXCCustomerManagementMockModule, AXCDashboardManagementMockModule, AXCDataManagementMockModule, AXCDexieEntityStorageService, AXCDocumentManagementMockModule, AXCFileStorageService, AXCFormTemplateManagementMockModule, AXCGlobalVariablesDataSeeder, AXCGoogleStrategyMock, AXCHelpDeskMockModule, AXCHumanCapitalManagementMockModule, AXCIdentifierManagementMockModule, AXCJsaSeeder, AXCLocaleManagementMockModule, AXCLocationManagementMockModule, AXCLockService, AXCLogManagementMockModule, AXCMeetingManagementMockModule, AXCMetaDataDefinitionDataSeeder, AXCMiddlewaresModule, AXCMockEntityLogListener, AXCMockModule, AXCNotificationManagementMockModule, AXCOrganizationManagementMockModule, AXCPartyManagementMockModule, AXCPlatformManagementMockModule, AXCProjectManagementMockModule, AXCReportManagementMockModule, AXCSchedulerJobDataSeeder, AXCSchedulerJobManagementMockModule, AXCSecurityManagementMockModule, AXCTaskManagementMockModule, AXCTextTemplateCategoryDataSeeder, AXCTextTemplateDataSeeder, AXCTextTemplateManagementMockModule, AXCTrainingManagementMockModule, AXCUserPassStrategyMock, AXCWorkflowManagementMockModule, AXMAiResponderService, AXMBranchDataSeeder, AXMCalendarEventTypeSeeder, AXMDepartmentDataSeeder, AXMDivisionDataSeeder, AXMEmployeeDataSeeder, AXMEmployeeSkillDataSeeder, AXMEmployeeSkillsCategoryProvider, AXMEmployeeSkillsReportDefinitionProvider, AXMEmploymentTypeDataSeeder, AXMIndustryDataSeeder, AXMLeaveRequestDataSeeder, AXMMeetingDataSeeder, AXMMeetingFilesDataSeeder, AXMMeetingParticipantDataSeeder, AXMMeetingRoleTypeDataSeeder, AXMMeetingSessionDataSeeder, AXMMeetingTypeDataSeeder, AXMMeetingTypeFileTemplateDataSeeder, AXMOrgChartDataSeeder, AXMPositionAssignmentDataSeeder, AXMPositionDataSeeder, AXMReportCategoryDataSeeder, AXMReportDefinitionDataSeeder, AXMReportExecuteCommand, AXMReportMockDataService, AXMResponsibilityDataSeeder, AXMRoleDataSeeder, AXMSkillDataSeeder, AXMSkillLevelDataSeeder, AXMTeamDataSeeder, AXM_EMPLOYEE_SKILLS_CATEGORY_PROVIDER, AXM_EMPLOYEE_SKILLS_DEFINITION_PROVIDER, AXPDashboardDataSeeder, AXPIdentifierDB, AXPMessageDataSeeder, AXPMockChecksumProvider, AXPMockClockProvider, AXPMockIdentifierService, AXPMockLookupProvider, AXPMockPolicyProvider, AXPMockSequenceProvider, AXPRoomDataSeeder, AXPSecurityManagementRoleDataSeeder, AXPSecurityManagementUserDataSeeder, AXPTaskBoardPlatformManagementTaskProvider, AXPTaskBoardProjectManagementTaskProvider, AXQEmployeeSkillsLevelPercentagesQuery, AXQEmployeeSkillsLevelsQuery, AXQEmployeeSkillsListQuery, AXQEmployeeSkillsSkillPercentagesQuery, AXQEmployeeSkillsStatsQuery, AXQEmployeeSkillsTrendQuery, BRANCHES_MOCK, DASHBOARDS, DEPARTMENTS_MOCK, DIVISIONS_MOCK, EDITIONS, EMPLOYEES_MOCK, EMPLOYEE_SKILLS_MOCK, EMPLOYMENT_TYPES_MOCK, ENTITIES, FEATURES, GLOBAL_VARIABLES, INDUSTRIAL_COMPANY_ORGANIZATION, LEAVE_REQUESTS_MOCK, MODULES, PERMISSIONS, POSITIONS_CATEGORY_MOCK, POSITIONS_MOCK, POSITION_ASSIGNMENTS_MOCK, PROPERTIES, RESPONSIBILITIES_CATEGORY_MOCK, RESPONSIBILITIES_MOCK, ROLES_CATEGORY_MOCK, ROLES_MOCK, SKILLS_CATEGORY_MOCK, SKILLS_MOCK, SKILL_LEVELS_MOCK, SOFTWARE_COMPANY_ORGANIZATION, TASKS, TASK_STATUSES, TASK_TEMPLATES, TASK_TYPES, TEAMS_MOCK, TEXT_TEMPLATES, TEXT_TEMPLATE_CATEGORY, applications, auditLoggerMiddleware, calendarEventMock, calendarEventTypeMockData, calendarMock, createAndSaveDashboardForUser, createDashboardForUser, createFileCastMiddleware, findContactMethod, findEmployeeById, findPartyById, generateUserDashboard, identifierCommitMiddleware, meetingFilesMock, meetingIds, meetingMock, meetingParticipantMock, meetingRoleTypeMock, meetingSessionMock, meetingTimeSlotMock, meetingTypeFileTemplateMock, meetingTypeMock, mergeDetailRelationMiddleware, mockRoleDefinitions, mockUsers, participantIds, tenantsMock };
1763
- export type { AXCBranchMockDto, AXCDepartmentMockDto, AXCDivisionMockDto, AXCEmployeeSkillMockDto, AXCLeaveRequestMockDto, AXCPositionAssignmentMockDto, AXCSkillLevelMockDto, AXCTeamMockDto, AXPLogRow, AXPRuleRow, AXPSeqRow, MockUserPassCredentials, PartyMockData, PositionMockDto, ResponsibilityMockDto, RoleMockDto, SkillMockDto, Task, TaskStatus, TaskTemplate, TaskType };
794
+ export { APPLICATIONS, APPLICATIONS_MODULES, AXCAppVersionDataSeeder, AXCApplicationManagementMockModule, AXCApplicationTemplateDataSeeder, AXCAuthMockModule, AXCCommonMockModule, AXCContactManagementMockModule, AXCConversationMockModule, AXCDashboardManagementMockModule, AXCDataManagementMockModule, AXCDocumentManagementMockModule, AXCFOrganizationManagementMockModule, AXCFileStorageService, AXCFormTemplateManagementMockModule, AXCGlobalVariablesDataSeeder, AXCHelpDeskMockModule, AXCIdentifierManagementMockModule, AXCLocaleManagementMockModule, AXCLocationManagementMockModule, AXCLockService, AXCLogManagementMockModule, AXCMetaDataDefinitionCategoryMockService, AXCMetaDataDefinitionDataSeeder, AXCMockModule, AXCNotificationManagementMockModule, AXCPlatformManagementMockModule, AXCProjectManagementMockModule, AXCReportManagementMockModule, AXCSchedulerJobDataSeeder, AXCSchedulerJobManagementMockModule, AXCSecurityManagementMockModule, AXCTaskManagementMockModule, AXCTextTemplateCategoryDataSeeder, AXCTextTemplateDataSeeder, AXCTextTemplateManagementMockModule, AXCTrainingManagementMockModule, AXMAiResponderService, AXMReportExecuteCommand, AXPDashboardDataSeeder, AXPDexieEntityStorageService, AXPDexieWithMiddlewareService, AXPIdentifierDB, AXPMessageDataSeeder, AXPMockChecksumProvider, AXPMockClockProvider, AXPMockIdentifierService, AXPMockLookupProvider, AXPMockPolicyProvider, AXPMockSequenceProvider, AXPReportManagementDataSeeder, AXPRoomDataSeeder, AXPSecurityManagementRoleDataSeeder, AXPSecurityManagementUserDataSeeder, AXPSimplifiedDexieStorageService, CATEGORY_REPORT_MAPPING, DASHBOARDS, EDITIONS, ENTITIES, FEATURES, GLOBAL_VARIABLES, MOCKGoogleStrategy, MOCKStrategy, MODULES, PERMISSIONS, PROPERTIES, REPORT_CATEGORIES, REPORT_DEFINITIONS, TASKS, TASK_STATUSES, TASK_TEMPLATES, TASK_TYPES, TEXT_TEMPLATES, TEXT_TEMPLATE_CATEGORY, createDexieWithCustomMiddleware, createDexieWithStandardMiddleware, generateRandomDashboard };
795
+ export type { AXPLogRow, AXPRuleRow, AXPSeqRow, MockUserPassCredentials, Task, TaskStatus, TaskTemplate, TaskType };