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

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,20 +1,279 @@
1
- import { AXPDataSeeder, AXPEntityStorageService, AXPEntityDefinitionRegistryService, AXPEntityStorageWithMiddlewareService } from '@acorex/platform/layout/entity';
1
+ import { AXPAppStartUpService, AXPQueryRequest, AXPPagedListResult, AXPCategorizedEntityDto, AXPCategoryEntity, AXPExecuteCommand, AXPExecuteCommandResult, AXPActionMenuItem, AXPDataSourceDefinitionProvider, AXPDataSourceDefinition, AXPDistributedEventListenerProvider } from '@acorex/platform/core';
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';
10
4
  import * as _acorex_platform_auth from '@acorex/platform/auth';
11
- import { AXPSessionService, AXPAuthStrategy, AXPBaseCredentials, AXPSessionContext, AXPSignInResult } from '@acorex/platform/auth';
12
- import { AXMAuthConfigs } from '@acorex/modules/auth';
13
- import { Router } from '@angular/router';
5
+ import { AXPBaseCredentials, AXPAuthStrategy, AXPSignInResult, AXPSessionContext, AXPTenant, AXPApplication } from '@acorex/platform/auth';
14
6
  import * as i1 from '@acorex/platform/runtime';
15
- import { AXPReportCategory, AXPReportDefinition, AXPExecutionReportCommand, AXPLayoutExecutionContext, AXPExecutionReportCommandResult } from '@acorex/modules/report-management';
7
+ import { AXPQuery } from '@acorex/platform/runtime';
8
+ import { Router } from '@angular/router';
9
+ import { AXMAuthConfigs } from '@acorex/modules/auth';
10
+ import { AXPEntityStorageService, AXPDataSeeder, AXPEntityStorageMiddleware } from '@acorex/platform/layout/entity';
11
+ import Dexie, { Table } from 'dexie';
12
+ import { 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';
16
16
  import { AXMTextTemplateManagementTemplateEntityModel } from '@acorex/modules/text-template-management';
17
- import { AXPIdentifierRule, AXPClockProvider, AXPChecksumProvider, AXPPolicyProvider, AXPLookupProvider, AXPSequenceProvider, AXPIdentifierService, AXPIdentifierRequest, AXPIdentifierResult } from '@acorex/modules/identifier-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
+ }
18
277
 
19
278
  declare const APPLICATIONS: {
20
279
  id: string;
@@ -97,624 +356,1320 @@ declare class AXCApplicationManagementMockModule {
97
356
  static ɵinj: i0.ɵɵInjectorDeclaration<AXCApplicationManagementMockModule>;
98
357
  }
99
358
 
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>;
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>;
104
365
  }
105
366
 
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>;
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>;
110
372
  }
111
373
 
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>;
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>;
147
387
  }
148
388
 
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>;
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>;
164
394
  }
165
395
 
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>;
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
+ }[];
407
+
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;
170
419
  }
420
+ declare const mockUsers: AXCMockUserMockDto[];
171
421
 
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>;
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
+ };
178
442
  }
443
+ declare const BRANCHES_MOCK: AXCBranchMockDto[];
179
444
 
180
- declare class AXPMessageDataSeeder implements AXPDataSeeder {
445
+ declare class AXMBranchDataSeeder implements AXPDataSeeder {
181
446
  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;
191
447
  seed(): Promise<void>;
192
- static ɵfac: i0.ɵɵFactoryDeclaration<AXPMessageDataSeeder, never>;
193
- static ɵprov: i0.ɵɵInjectableDeclaration<AXPMessageDataSeeder>;
448
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMBranchDataSeeder, never>;
449
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXMBranchDataSeeder>;
194
450
  }
195
451
 
196
- declare class AXPRoomDataSeeder implements AXPDataSeeder {
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
+ };
506
+ }
507
+ declare const DIVISIONS_MOCK: AXCDivisionMockDto[];
508
+
509
+ declare class AXMDivisionDataSeeder implements AXPDataSeeder {
197
510
  private storageService;
198
511
  seed(): Promise<void>;
199
- static ɵfac: i0.ɵɵFactoryDeclaration<AXPRoomDataSeeder, never>;
200
- static ɵprov: i0.ɵɵInjectableDeclaration<AXPRoomDataSeeder>;
512
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMDivisionDataSeeder, never>;
513
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXMDivisionDataSeeder>;
201
514
  }
202
515
 
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>;
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;
207
523
  }
524
+ declare const DEPARTMENTS_MOCK: AXCDepartmentMockDto[];
208
525
 
209
- declare function generateRandomDashboard(): AXMCommonDashboardEntityModel;
210
- declare const DASHBOARDS: AXMCommonDashboardEntityModel[];
211
-
212
- declare class AXPDashboardDataSeeder implements AXPDataSeeder {
526
+ declare class AXMDepartmentDataSeeder implements AXPDataSeeder {
213
527
  private storageService;
214
528
  seed(): Promise<void>;
215
- static ɵfac: i0.ɵɵFactoryDeclaration<AXPDashboardDataSeeder, never>;
216
- static ɵprov: i0.ɵɵInjectableDeclaration<AXPDashboardDataSeeder>;
529
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMDepartmentDataSeeder, never>;
530
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXMDepartmentDataSeeder>;
217
531
  }
218
532
 
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>;
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>;
223
563
  }
224
564
 
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>;
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
+ }[];
229
574
  }
575
+ declare const POSITIONS_CATEGORY_MOCK: AXPCategoryEntity[];
576
+ declare const POSITIONS_MOCK: PositionMockDto[];
230
577
 
231
- declare class AXCMetaDataDefinitionDataSeeder implements AXPDataSeeder {
578
+ declare class AXMPositionDataSeeder implements AXPDataSeeder {
232
579
  private storageService;
233
580
  seed(): Promise<void>;
234
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCMetaDataDefinitionDataSeeder, never>;
235
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCMetaDataDefinitionDataSeeder>;
581
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMPositionDataSeeder, never>;
582
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXMPositionDataSeeder>;
236
583
  }
237
584
 
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>;
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
+ }[];
243
604
  }
605
+ declare const ROLES_CATEGORY_MOCK: AXPCategoryEntity[];
606
+ declare const ROLES_MOCK: RoleMockDto[];
244
607
 
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>;
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>;
278
613
  }
279
614
 
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>;
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
+ }[];
284
624
  }
625
+ declare const RESPONSIBILITIES_CATEGORY_MOCK: AXPCategoryEntity[];
626
+ declare const RESPONSIBILITIES_MOCK: ResponsibilityMockDto[];
285
627
 
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>;
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>;
290
633
  }
291
634
 
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>;
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>;
296
642
  }
297
643
 
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>;
644
+ declare const SOFTWARE_COMPANY_ORGANIZATION: AXMOrganizationNode;
645
+
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>;
302
651
  }
303
652
 
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>;
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;
320
666
  }
667
+ declare const POSITION_ASSIGNMENTS_MOCK: AXCPositionAssignmentMockDto[];
321
668
 
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>;
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>;
326
674
  }
327
675
 
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>;
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
+ }[];
332
685
  }
686
+ declare const SKILLS_CATEGORY_MOCK: AXPCategoryEntity[];
687
+ declare const SKILLS_MOCK: SkillMockDto[];
333
688
 
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>;
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>;
338
694
  }
339
695
 
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>;
696
+ interface AXCSkillLevelMockDto {
697
+ id: string;
698
+ title: string;
699
+ order: number;
700
+ isActive: boolean;
701
+ description?: string;
344
702
  }
703
+ declare const SKILL_LEVELS_MOCK: AXCSkillLevelMockDto[];
345
704
 
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>;
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>;
350
710
  }
351
711
 
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>;
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>;
356
737
  }
357
738
 
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>;
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>;
362
746
  }
363
747
 
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>;
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>;
368
774
  }
369
775
 
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>;
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>;
374
864
  }
375
865
 
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>;
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>;
380
883
  }
381
884
 
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>;
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>;
386
892
  }
387
893
 
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>;
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;
392
964
  }
965
+ declare const TASK_TEMPLATES: TaskTemplate[];
393
966
 
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>;
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[]>;
398
998
  }
399
999
 
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>;
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[]>;
404
1031
  }
405
1032
 
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>;
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>;
410
1038
  }
411
1039
 
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>;
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>;
416
1046
  }
417
1047
 
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>;
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>;
422
1062
  }
423
1063
 
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>;
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>;
429
1069
  }
430
1070
 
431
- interface MockUserPassCredentials extends AXPBaseCredentials {
432
- username: string;
433
- password: string;
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>;
434
1076
  }
435
- declare class MOCKStrategy extends AXPAuthStrategy {
436
- tenantLoader: _acorex_platform_auth.AXPTenantLoader;
437
- applicationLoader: _acorex_platform_auth.AXPApplicationLoader;
438
- router: Router;
439
- constructor();
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>;
1077
+
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>;
450
1083
  }
451
1084
 
452
- declare class AXCAppVersionDataSeeder implements AXPDataSeeder {
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>;
1096
+ }
1097
+
1098
+ declare class AXMFormDataSourcesProvider implements AXPDataSourceDefinitionProvider {
1099
+ private yesNoOptions;
1100
+ private yesNoNaOptions;
1101
+ private booleanOptions;
1102
+ private weatherConditions;
1103
+ private visibilityLevels;
1104
+ private workAreas;
1105
+ private departments;
1106
+ private permitTypes;
1107
+ private approvalStatus;
1108
+ private workCompletionStatus;
1109
+ private trainingStatus;
1110
+ private certificationStatus;
1111
+ private priorityLevels;
1112
+ private incidentTypes;
1113
+ private severityLevels;
1114
+ items(): Promise<AXPDataSourceDefinition[]>;
1115
+ }
1116
+
1117
+ declare class AXCMetaDataDefinitionDataSeeder implements AXPDataSeeder {
453
1118
  private storageService;
454
- private appVersionService;
455
1119
  seed(): Promise<void>;
456
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCAppVersionDataSeeder, never>;
457
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCAppVersionDataSeeder>;
1120
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCMetaDataDefinitionDataSeeder, never>;
1121
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXCMetaDataDefinitionDataSeeder>;
1122
+ }
1123
+
1124
+ declare function generateUserDashboard(user: (typeof mockUsers)[0]): AXMCommonDashboardEntityModel;
1125
+ declare function createDashboardForUser(dashboardName: string, userId: string, widgetTypesInput: string[]): AXMCommonDashboardEntityModel;
1126
+ declare function createAndSaveDashboardForUser(params: {
1127
+ name: string;
1128
+ userId: string;
1129
+ widgetTypes: string[];
1130
+ }, injector: Injector): Promise<string>;
1131
+ declare const DASHBOARDS: AXMCommonDashboardEntityModel[];
1132
+
1133
+ declare class AXPDashboardDataSeeder implements AXPDataSeeder {
1134
+ private storageService;
1135
+ seed(): Promise<void>;
1136
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXPDashboardDataSeeder, never>;
1137
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXPDashboardDataSeeder>;
1138
+ }
1139
+
1140
+ declare class AXMReportCategoryDataSeeder implements AXPDataSeeder {
1141
+ private storageService;
1142
+ seed(): Promise<void>;
1143
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMReportCategoryDataSeeder, never>;
1144
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXMReportCategoryDataSeeder>;
1145
+ }
1146
+
1147
+ declare class AXMReportDefinitionDataSeeder implements AXPDataSeeder {
1148
+ private storageService;
1149
+ seed(): Promise<void>;
1150
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMReportDefinitionDataSeeder, never>;
1151
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXMReportDefinitionDataSeeder>;
1152
+ }
1153
+
1154
+ declare class AXMReportExecuteCommand implements AXPExecutionReportCommand {
1155
+ private readonly queryService;
1156
+ private readonly mockDataService;
1157
+ private readonly reportDataCache;
1158
+ private readonly CACHE_TTL_MS;
1159
+ private readonly DEFAULT_TOTAL_ITEMS;
1160
+ private readonly reportDefinitionService;
1161
+ constructor();
1162
+ execute(context: AXPLayoutExecutionContext): Promise<AXPExecutionReportCommandResult>;
1163
+ private generateLayoutData;
1164
+ private generateTableData;
1165
+ private generateChartData;
1166
+ private generateLayoutDataFromQuery;
1167
+ private buildQueryInput;
1168
+ private assignByPath;
1169
+ private normalizeTableQueryResult;
1170
+ private normalizeChartQueryResult;
1171
+ private generateSystemHealthChartData;
1172
+ private readonly reportDefinitionFallback;
1173
+ private applyAuditTrailFilters;
1174
+ private applyLoginLogsFilters;
1175
+ private applyChangePasswordLogsFilters;
1176
+ private applyIdentityAuditLogErrorLogsFilters;
1177
+ private getCachedOrGenerateReportData;
1178
+ private generateCacheKey;
1179
+ private generateReportVersion;
1180
+ private isCacheValid;
1181
+ private clearExpiredCache;
1182
+ /**
1183
+ * Manually clear all cached report data (useful for debugging or forcing refresh)
1184
+ */
1185
+ clearCache(): void;
1186
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMReportExecuteCommand, never>;
1187
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXMReportExecuteCommand>;
458
1188
  }
459
1189
 
460
- declare class AXCGlobalVariablesDataSeeder implements AXPDataSeeder {
461
- private storageService;
1190
+ /**
1191
+ * Provides mock data generation for reports, separated from execution concerns.
1192
+ */
1193
+ declare class AXMReportMockDataService {
1194
+ /**
1195
+ * Generate mock data based on report title heuristics.
1196
+ */
1197
+ generateMockDataForReport(reportDefinition: AXPReportDefinition, parameters: Record<string, unknown>, pageSize: number): Record<string, unknown>[];
1198
+ private generateAuditTrailData;
1199
+ private generateFinancialData;
1200
+ private generateIncomeData;
1201
+ private generateEmployeeData;
1202
+ private generateSalesData;
1203
+ private generateSafetyData;
1204
+ private generateGenericData;
1205
+ private getRandomPastDate;
1206
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMReportMockDataService, never>;
1207
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXMReportMockDataService>;
1208
+ }
1209
+
1210
+ declare const calendarMock: ({
1211
+ id: string;
1212
+ name: string;
1213
+ title: string;
1214
+ description: string;
1215
+ calendarTypeId: string;
1216
+ calendarType: {
1217
+ id: string;
1218
+ title: string;
1219
+ };
1220
+ parentId: null;
1221
+ parent: null;
1222
+ weekends: string[];
1223
+ firstDayOfWeek: string;
1224
+ workingHours: {
1225
+ start: string;
1226
+ end: string;
1227
+ breakStart: string;
1228
+ breakEnd: string;
1229
+ };
1230
+ timeZone: string;
1231
+ isTemplate: boolean;
1232
+ isActive: boolean;
1233
+ order: number;
1234
+ notes: string;
1235
+ createdAt: Date;
1236
+ updatedAt: Date;
1237
+ scope?: undefined;
1238
+ scopeEntityId?: undefined;
1239
+ } | {
1240
+ id: string;
1241
+ name: string;
1242
+ title: string;
1243
+ description: string;
1244
+ calendarTypeId: string;
1245
+ calendarType: {
1246
+ id: string;
1247
+ title: string;
1248
+ };
1249
+ parentId: null;
1250
+ parent: null;
1251
+ scope: string;
1252
+ scopeEntityId: null;
1253
+ weekends: string[];
1254
+ firstDayOfWeek: string;
1255
+ workingHours: {
1256
+ start: string;
1257
+ end: string;
1258
+ breakStart: string;
1259
+ breakEnd: string;
1260
+ };
1261
+ timeZone: string;
1262
+ isTemplate: boolean;
1263
+ isActive: boolean;
1264
+ order: number;
1265
+ notes: string;
1266
+ createdAt: Date;
1267
+ updatedAt: Date;
1268
+ } | {
1269
+ id: string;
1270
+ name: string;
1271
+ title: string;
1272
+ description: string;
1273
+ calendarTypeId: string;
1274
+ calendarType: {
1275
+ id: string;
1276
+ title: string;
1277
+ };
1278
+ parentId: null;
1279
+ parent: null;
1280
+ scope: string;
1281
+ scopeEntityId: string;
1282
+ weekends: string[];
1283
+ firstDayOfWeek: string;
1284
+ workingHours: {
1285
+ start: string;
1286
+ end: string;
1287
+ breakStart: string;
1288
+ breakEnd: string;
1289
+ };
1290
+ timeZone: string;
1291
+ isTemplate: boolean;
1292
+ isActive: boolean;
1293
+ order: number;
1294
+ notes: string;
1295
+ createdAt: Date;
1296
+ updatedAt: Date;
1297
+ })[];
1298
+
1299
+ declare class AXCCalendarDataSeeder implements AXPDataSeeder {
1300
+ private readonly storageService;
1301
+ seed(): Promise<void>;
1302
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCCalendarDataSeeder, never>;
1303
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXCCalendarDataSeeder>;
1304
+ }
1305
+
1306
+ declare const calendarEventMock: ({
1307
+ id: string;
1308
+ calendarId: string;
1309
+ calendar: {
1310
+ id: string;
1311
+ title: string;
1312
+ };
1313
+ title: string;
1314
+ description: string;
1315
+ typeId: string;
1316
+ type: _acorex_modules_calendar_management.AXMCalendarManagementCalendarEventTypeEntityModel;
1317
+ date: Date;
1318
+ isRecurring: boolean;
1319
+ recurrenceRule: string;
1320
+ isActive: boolean;
1321
+ order: number;
1322
+ createdAt: Date;
1323
+ updatedAt: Date;
1324
+ } | {
1325
+ id: string;
1326
+ calendarId: string;
1327
+ calendar: {
1328
+ id: string;
1329
+ title: string;
1330
+ };
1331
+ title: string;
1332
+ description: string;
1333
+ typeId: string;
1334
+ type: _acorex_modules_calendar_management.AXMCalendarManagementCalendarEventTypeEntityModel;
1335
+ date: Date;
1336
+ isRecurring: boolean;
1337
+ recurrenceRule: null;
1338
+ isActive: boolean;
1339
+ order: number;
1340
+ createdAt: Date;
1341
+ updatedAt: Date;
1342
+ })[];
1343
+
1344
+ declare class AXCCalendarEventDataSeeder implements AXPDataSeeder {
1345
+ private readonly storageService;
1346
+ seed(): Promise<void>;
1347
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCCalendarEventDataSeeder, never>;
1348
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXCCalendarEventDataSeeder>;
1349
+ }
1350
+
1351
+ declare const calendarEventTypeMockData: AXMCalendarManagementCalendarEventTypeEntityModel[];
1352
+
1353
+ declare class AXMCalendarEventTypeSeeder implements AXPDataSeeder {
1354
+ private readonly storageService;
1355
+ seed(): Promise<void>;
1356
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMCalendarEventTypeSeeder, never>;
1357
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXMCalendarEventTypeSeeder>;
1358
+ }
1359
+
1360
+ declare const meetingIds: {
1361
+ dailyStandup1: string;
1362
+ dailyStandup2: string;
1363
+ projectReview1: string;
1364
+ };
1365
+ declare const meetingMock: ({
1366
+ id: string;
1367
+ title: string;
1368
+ meetingNotes: string;
1369
+ meetingType: {
1370
+ id: string;
1371
+ title: string;
1372
+ };
1373
+ meetingProviderType: string;
1374
+ isRecorded: boolean;
1375
+ mettingStatus: string;
1376
+ isFullysignedOff: boolean;
1377
+ meetingLocationId: {
1378
+ id: string;
1379
+ title: string;
1380
+ };
1381
+ joinUrl?: undefined;
1382
+ hostUrl?: undefined;
1383
+ } | {
1384
+ id: string;
1385
+ title: string;
1386
+ meetingNotes: string;
1387
+ meetingType: {
1388
+ id: string;
1389
+ title: string;
1390
+ };
1391
+ meetingProviderType: string;
1392
+ joinUrl: string;
1393
+ hostUrl: string;
1394
+ isRecorded: boolean;
1395
+ mettingStatus: string;
1396
+ isFullysignedOff: boolean;
1397
+ meetingLocationId?: undefined;
1398
+ } | {
1399
+ id: string;
1400
+ title: string;
1401
+ meetingNotes: string;
1402
+ meetingType: {
1403
+ id: string;
1404
+ title: string;
1405
+ };
1406
+ meetingProviderType: string;
1407
+ joinUrl: string;
1408
+ hostUrl: string;
1409
+ isRecorded: boolean;
1410
+ mettingStatus: string;
1411
+ isFullysignedOff: boolean;
1412
+ meetingLocationId: {
1413
+ id: string;
1414
+ title: string;
1415
+ };
1416
+ })[];
1417
+
1418
+ declare class AXMMeetingDataSeeder implements AXPDataSeeder {
1419
+ private readonly storageService;
462
1420
  seed(): Promise<void>;
463
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCGlobalVariablesDataSeeder, never>;
464
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCGlobalVariablesDataSeeder>;
1421
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMMeetingDataSeeder, never>;
1422
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXMMeetingDataSeeder>;
465
1423
  }
466
1424
 
467
- declare const GLOBAL_VARIABLES: {
1425
+ declare const meetingTypeMock: {
468
1426
  id: string;
469
- name: string;
470
1427
  title: string;
471
- dataType: string;
472
- value: string;
473
1428
  }[];
474
1429
 
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;
1430
+ declare class AXMMeetingTypeDataSeeder implements AXPDataSeeder {
1431
+ private readonly storageService;
481
1432
  seed(): Promise<void>;
482
- static ɵfac: i0.ɵɵFactoryDeclaration<AXPReportManagementDataSeeder, never>;
483
- static ɵprov: i0.ɵɵInjectableDeclaration<AXPReportManagementDataSeeder>;
1433
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMMeetingTypeDataSeeder, never>;
1434
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXMMeetingTypeDataSeeder>;
484
1435
  }
485
1436
 
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
- }
1437
+ declare const meetingParticipantMock: ({
1438
+ id: string;
1439
+ meetingId: string;
1440
+ userId: {
1441
+ id: string;
1442
+ title: string;
1443
+ };
1444
+ jointime: Date;
1445
+ leaveTime: Date;
1446
+ duration: number;
1447
+ signOffAt: Date;
1448
+ participantStatus: string;
1449
+ meetingRoleTypeIds: {
1450
+ id: string;
1451
+ title: string;
1452
+ };
1453
+ } | {
1454
+ id: string;
1455
+ meetingId: string;
1456
+ userId: {
1457
+ id: string;
1458
+ title: string;
1459
+ };
1460
+ jointime: Date;
1461
+ leaveTime: null;
1462
+ duration: number;
1463
+ signOffAt: null;
1464
+ participantStatus: string;
1465
+ meetingRoleTypeIds: {
1466
+ id: string;
1467
+ title: string;
1468
+ };
1469
+ })[];
517
1470
 
518
- declare class AXCSchedulerJobDataSeeder implements AXPDataSeeder {
519
- private storageService;
1471
+ declare class AXMMeetingParticipantDataSeeder implements AXPDataSeeder {
1472
+ private readonly storageService;
520
1473
  seed(): Promise<void>;
521
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCSchedulerJobDataSeeder, never>;
522
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCSchedulerJobDataSeeder>;
1474
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMMeetingParticipantDataSeeder, never>;
1475
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXMMeetingParticipantDataSeeder>;
523
1476
  }
524
1477
 
525
- declare class AXPSecurityManagementRoleDataSeeder implements AXPDataSeeder {
526
- private storageService;
527
- seed(): Promise<void>;
528
- static ɵfac: i0.ɵɵFactoryDeclaration<AXPSecurityManagementRoleDataSeeder, never>;
529
- static ɵprov: i0.ɵɵInjectableDeclaration<AXPSecurityManagementRoleDataSeeder>;
530
- }
1478
+ declare const meetingSessionMock: ({
1479
+ id: string;
1480
+ meetingId: string;
1481
+ title: string;
1482
+ scheduleDate: Date;
1483
+ startTime: Date;
1484
+ endTime: Date;
1485
+ actualDate: Date;
1486
+ actualStartTime: Date;
1487
+ actualEndTime: Date;
1488
+ } | {
1489
+ id: string;
1490
+ meetingId: string;
1491
+ title: string;
1492
+ scheduleDate: Date;
1493
+ startTime: Date;
1494
+ endTime: Date;
1495
+ actualDate: Date;
1496
+ actualStartTime: Date;
1497
+ actualEndTime?: undefined;
1498
+ } | {
1499
+ id: string;
1500
+ meetingId: string;
1501
+ title: string;
1502
+ scheduleDate: Date;
1503
+ startTime: Date;
1504
+ endTime: Date;
1505
+ actualDate?: undefined;
1506
+ actualStartTime?: undefined;
1507
+ actualEndTime?: undefined;
1508
+ })[];
531
1509
 
532
- declare class AXPSecurityManagementUserDataSeeder implements AXPDataSeeder {
533
- private storageService;
1510
+ declare class AXMMeetingSessionDataSeeder implements AXPDataSeeder {
1511
+ private readonly storageService;
534
1512
  seed(): Promise<void>;
535
- private generateUsers;
536
- static ɵfac: i0.ɵɵFactoryDeclaration<AXPSecurityManagementUserDataSeeder, never>;
537
- static ɵprov: i0.ɵɵInjectableDeclaration<AXPSecurityManagementUserDataSeeder>;
1513
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMMeetingSessionDataSeeder, never>;
1514
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXMMeetingSessionDataSeeder>;
538
1515
  }
539
1516
 
540
- interface TaskType {
1517
+ declare const meetingTimeSlotMock: ({
541
1518
  id: string;
542
- name: string;
543
- title: string;
1519
+ meetingId: string;
1520
+ scheduleDate: Date;
1521
+ startTime: Date;
1522
+ endTime: Date;
1523
+ actualDate: Date;
1524
+ actualStartTime: Date;
1525
+ actualEndTime: Date;
1526
+ } | {
1527
+ id: string;
1528
+ meetingId: string;
1529
+ scheduleDate: Date;
1530
+ startTime: Date;
1531
+ endTime: Date;
1532
+ actualDate: Date;
1533
+ actualStartTime: Date;
1534
+ actualEndTime?: undefined;
1535
+ } | {
1536
+ id: string;
1537
+ meetingId: string;
1538
+ scheduleDate: Date;
1539
+ startTime: Date;
1540
+ endTime: Date;
1541
+ actualDate?: undefined;
1542
+ actualStartTime?: undefined;
1543
+ actualEndTime?: undefined;
1544
+ })[];
1545
+
1546
+ declare const meetingFilesMock: {
1547
+ id: string;
1548
+ meetingId: string;
1549
+ documentId: string;
544
1550
  description: string;
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;
1551
+ }[];
1552
+
1553
+ declare class AXMMeetingFilesDataSeeder implements AXPDataSeeder {
1554
+ private readonly storageService;
1555
+ seed(): Promise<void>;
1556
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMMeetingFilesDataSeeder, never>;
1557
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXMMeetingFilesDataSeeder>;
554
1558
  }
555
- declare const TASK_TYPES: TaskType[];
556
- interface TaskStatus {
1559
+
1560
+ declare const participantIds: {
1561
+ participant1: string;
1562
+ participant2: string;
1563
+ participant3: string;
1564
+ participant4: string;
1565
+ participant5: string;
1566
+ participant6: string;
1567
+ participant7: string;
1568
+ participant8: string;
1569
+ participant9: string;
1570
+ };
1571
+ declare const meetingRoleTypeMock: {
557
1572
  id: string;
558
- taskTypeId: string;
559
- name: string;
560
1573
  title: string;
561
- description: string;
562
- color: string;
563
- icon: string;
564
- isInitial: boolean;
565
- isFinal: boolean;
566
- order: number;
567
- nextStatuses: string[];
568
- isActive: boolean;
1574
+ meetingParticipantId: string;
1575
+ }[];
1576
+
1577
+ declare class AXMMeetingRoleTypeDataSeeder implements AXPDataSeeder {
1578
+ private readonly storageService;
1579
+ seed(): Promise<void>;
1580
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMMeetingRoleTypeDataSeeder, never>;
1581
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXMMeetingRoleTypeDataSeeder>;
569
1582
  }
570
- declare const TASK_STATUSES: TaskStatus[];
571
- interface Task {
1583
+
1584
+ declare const meetingTypeFileTemplateMock: ({
572
1585
  id: string;
573
1586
  title: string;
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 {
1587
+ templateId: string;
1588
+ typeId: string;
1589
+ } | {
591
1590
  id: string;
592
- name: string;
593
1591
  title: string;
594
- description: string;
595
- taskTypeId: string;
596
- templateData: {
1592
+ templateId: string;
1593
+ typeId: {
1594
+ id: string;
597
1595
  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
- }>;
607
1596
  };
608
- isPublic: boolean;
609
- createdBy: string;
610
- }
611
- declare const TASK_TEMPLATES: TaskTemplate[];
1597
+ })[];
612
1598
 
613
- declare class AXCTextTemplateCategoryDataSeeder implements AXPDataSeeder {
614
- private storageService;
1599
+ declare class AXMMeetingTypeFileTemplateDataSeeder implements AXPDataSeeder {
1600
+ private readonly storageService;
615
1601
  seed(): Promise<void>;
616
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCTextTemplateCategoryDataSeeder, never>;
617
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCTextTemplateCategoryDataSeeder>;
1602
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMMeetingTypeFileTemplateDataSeeder, never>;
1603
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXMMeetingTypeFileTemplateDataSeeder>;
618
1604
  }
619
1605
 
620
- declare class AXCTextTemplateDataSeeder implements AXPDataSeeder {
1606
+ declare class AXCSchedulerJobDataSeeder implements AXPDataSeeder {
621
1607
  private storageService;
622
1608
  seed(): Promise<void>;
623
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCTextTemplateDataSeeder, never>;
624
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCTextTemplateDataSeeder>;
1609
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCSchedulerJobDataSeeder, never>;
1610
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXCSchedulerJobDataSeeder>;
625
1611
  }
626
1612
 
627
- declare const TEXT_TEMPLATE_CATEGORY: {
628
- id: string;
629
- name: string;
630
- title: string;
631
- }[];
632
- declare const TEXT_TEMPLATES: AXMTextTemplateManagementTemplateEntityModel[];
633
-
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>;
1613
+ declare class AXCSchedulerJobManagementMockModule {
1614
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCSchedulerJobManagementMockModule, never>;
1615
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCSchedulerJobManagementMockModule, never, never, never>;
1616
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCSchedulerJobManagementMockModule>;
647
1617
  }
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;
1618
+
1619
+ declare class AXCLockService implements AXPLockService {
1620
+ private className;
1621
+ private db;
659
1622
  constructor();
660
- private setupMiddlewares;
661
- /**
662
- * Get the underlying Dexie instance for direct access if needed
663
- */
664
- get dexieInstance(): AXPSimplifiedDexieStorageService;
665
- /**
666
- * Access to the Dexie table for advanced operations
667
- */
668
- table(name: string): dexie.Table<any, dexie.IndexableType>;
669
- /**
670
- * Get database information
671
- */
672
- getDatabaseInfo(): {
673
- name: string;
674
- isOpen: boolean;
675
- version: number;
676
- };
677
- /**
678
- * Clear all data for a specific entity (useful for testing)
679
- */
680
- clearEntity(entityName: string): Promise<void>;
1623
+ private get lockTable();
1624
+ protected entityName: string;
681
1625
  /**
682
- * Get entity count
1626
+ * Cache Time-To-Live in milliseconds. Default is 5 seconds but can be overridden
1627
+ * at runtime using {@link setCacheDuration}.
683
1628
  */
684
- getEntityCount(entityName: string): Promise<number>;
1629
+ private cacheTTL;
1630
+ /** In-memory cache for lock information. */
1631
+ private readonly cacheMap;
1632
+ /** Reference to the recurring cache-flush timer. */
1633
+ private cacheTimer;
685
1634
  /**
686
- * Bulk operations (bypassing some middleware for performance)
1635
+ * Generates a unique cache key based on the lock request parameters.
687
1636
  */
688
- bulkInsert<T = any>(entityName: string, entities: T[]): Promise<string[]>;
1637
+ private getCacheKey;
689
1638
  /**
690
- * Export entity data (useful for backup/migration)
1639
+ * Starts or restarts the interval that clears the cache.
691
1640
  */
692
- exportEntity(entityName: string): Promise<any[]>;
1641
+ private startCacheTimer;
693
1642
  /**
694
- * Import entity data (useful for restore/migration)
1643
+ * Allows consumers to change the cache duration (in milliseconds) at runtime.
1644
+ * The new duration is applied immediately.
695
1645
  */
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>;
1646
+ setCacheDuration(ms: number): void;
1647
+ lock(request: AXPLockRequest): Promise<AXPLockInfo>;
1648
+ unlock(request: AXPUnLockRequest): Promise<void>;
1649
+ check(request: AXPLockGetInfoRequest): Promise<boolean>;
1650
+ getInfo(request: AXPLockGetInfoRequest): Promise<AXPLockInfo>;
1651
+ getItems(request: AXPLockGetInfoRequest): Promise<AXPLockInfo[]>;
1652
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCLockService, never>;
1653
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXCLockService>;
1654
+ }
1655
+
1656
+ declare class AXCFileStorageService implements AXPFileStorageService {
1657
+ private fileService;
1658
+ private mapToFileStorageInfo;
1659
+ save(request: AXPFileStorageCreateRequest): Promise<AXPFileStorageInfo>;
1660
+ commit(fileId: string): Promise<void>;
1661
+ markForDeletion(fileId: string): Promise<void>;
1662
+ update(request: AXPFileStorageUpdateRequest): Promise<AXPFileStorageInfo>;
1663
+ find(request: AXPFileStorageFindRequest): Promise<AXPFileStorageInfo[]>;
1664
+ getInfo(fileId: string): Promise<AXPFileStorageInfo>;
1665
+ remove(fileId: string): Promise<void>;
1666
+ private cleanupTemporaryFiles;
1667
+ private cleanupMarkedFiles;
1668
+ constructor();
1669
+ findMany(ids: string[]): Promise<AXPFileManyStorageInfo[]>;
1670
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCFileStorageService, never>;
1671
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXCFileStorageService>;
701
1672
  }
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;
718
1673
 
719
1674
  interface AXPRuleRow extends AXPIdentifierRule {
720
1675
  }
@@ -734,7 +1689,7 @@ interface AXPLogRow {
734
1689
  code: string;
735
1690
  createdAt: string;
736
1691
  }
737
- declare class AXPIdentifierDB extends dexie__default {
1692
+ declare class AXPIdentifierDB extends Dexie {
738
1693
  rules: Table<AXPRuleRow, string>;
739
1694
  sequences: Table<AXPSeqRow, string>;
740
1695
  logs: Table<AXPLogRow, string>;
@@ -763,7 +1718,8 @@ declare class AXPMockLookupProvider implements AXPLookupProvider {
763
1718
  }
764
1719
  declare class AXPMockSequenceProvider implements AXPSequenceProvider {
765
1720
  private readonly db;
766
- next(scopeHash: string, options?: {
1721
+ private readonly rulesFromProviders;
1722
+ next(scopeHash: string, ruleId: string, options?: {
767
1723
  pad?: number;
768
1724
  consume?: boolean;
769
1725
  }): Promise<number>;
@@ -781,15 +1737,46 @@ declare class AXPMockIdentifierService extends AXPIdentifierService {
781
1737
  private readonly clock;
782
1738
  private readonly rules;
783
1739
  generate(req: AXPIdentifierRequest): Promise<AXPIdentifierResult>;
784
- peek(req: AXPIdentifierRequest): Promise<AXPIdentifierResult>;
1740
+ peek(req: AXPIdentifierRequest): Promise<AXPIdentifierPeekResult>;
785
1741
  validate(_code: string, _entity: string, _tenantId?: string): Promise<boolean>;
786
1742
  private pickRule;
787
1743
  private createContext;
788
1744
  private createScopeHash;
1745
+ private validateRequestAgainstRule;
789
1746
  private evaluateInternal;
1747
+ commitWithToken(token: string): Promise<AXPIdentifierResult>;
1748
+ commitByCode(req: AXPIdentifierRequest, code: string): Promise<AXPIdentifierResult>;
790
1749
  static ɵfac: i0.ɵɵFactoryDeclaration<AXPMockIdentifierService, never>;
791
1750
  static ɵprov: i0.ɵɵInjectableDeclaration<AXPMockIdentifierService>;
792
1751
  }
793
1752
 
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 };
1753
+ declare const auditLoggerMiddleware: AXPEntityStorageMiddleware;
1754
+
1755
+ /**
1756
+ * File Cast Middleware - Handles file operations in entity storage
1757
+ *
1758
+ * This middleware processes files during entity operations:
1759
+ *
1760
+ * CREATE/UPDATE Operations:
1761
+ * - New files: Uploads to file storage and replaces with file IDs
1762
+ * - Existing files: Keeps existing file IDs
1763
+ * - Deleted files: Removes from file storage and excludes from entity data
1764
+ *
1765
+ * QUERY/GET_ONE Operations:
1766
+ * - Converts file IDs back to AXPFileListItem objects for UI display
1767
+ *
1768
+ * File Status Handling:
1769
+ * - 'uploaded'/'remote': Keep existing file ID
1770
+ * - 'deleted': Remove from storage, exclude from entity
1771
+ * - 'attached'/'uploading': Upload new file
1772
+ */
1773
+ declare const createFileCastMiddleware: AXPEntityStorageMiddleware;
1774
+
1775
+ declare const identifierCommitMiddleware: AXPEntityStorageMiddleware;
1776
+
1777
+ declare const mergeDetailRelationMiddleware: AXPEntityStorageMiddleware;
1778
+
1779
+ declare const AXCMockEntityLogListener: AXPDistributedEventListenerProvider<any>;
1780
+
1781
+ 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, AXMFormDataSourcesProvider, 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 };
1782
+ export type { AXCBranchMockDto, AXCDepartmentMockDto, AXCDivisionMockDto, AXCEmployeeSkillMockDto, AXCLeaveRequestMockDto, AXCPositionAssignmentMockDto, AXCSkillLevelMockDto, AXCTeamMockDto, AXPLogRow, AXPRuleRow, AXPSeqRow, MockUserPassCredentials, PartyMockData, PositionMockDto, ResponsibilityMockDto, RoleMockDto, SkillMockDto, Task, TaskStatus, TaskTemplate, TaskType };