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