@acorex/connectivity 20.1.0 → 20.2.0-next.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/index.d.ts +26 -62
- package/fesm2022/acorex-connectivity-api.mjs +572 -877
- package/fesm2022/acorex-connectivity-api.mjs.map +1 -1
- package/fesm2022/acorex-connectivity-mock.mjs +8623 -8922
- package/fesm2022/acorex-connectivity-mock.mjs.map +1 -1
- package/mock/index.d.ts +204 -281
- package/package.json +1 -1
package/mock/index.d.ts
CHANGED
@@ -1,274 +1,15 @@
|
|
1
|
+
import { AXPDataSeeder, AXPEntityStorageService, AXPEntityDefinitionRegistryService } from '@acorex/platform/layout/entity';
|
2
|
+
import * as i0 from '@angular/core';
|
3
|
+
import { Injector } from '@angular/core';
|
4
|
+
import { AXPLockService, AXPLockRequest, AXPLockInfo, AXPUnLockRequest, AXPLockGetInfoRequest, AXPReportCategory, AXPReportDefinition, AXPExecutionReportCommand, AXPLayoutExecutionContext, AXPExecutionReportCommandResult } from '@acorex/platform/common';
|
5
|
+
import { AXMCommonDashboardEntityModel } from '@acorex/modules/dashboard-management';
|
1
6
|
import Dexie from 'dexie';
|
2
|
-
import * as
|
7
|
+
import * as i1$1 from '@acorex/platform/auth';
|
3
8
|
import { AXPSessionService, AXPBaseCredentials, AXPAuthStrategy, AXPSignInResult, AXPSessionContext, AXPRefreshTokenResult } from '@acorex/platform/auth';
|
4
|
-
import { AXPLockService, AXPFileStorageService, AXPFileStorageCreateRequest, AXPFileStorageInfo, AXPFileStorageUpdateRequest, AXPFileStorageFindRequest, AXPLockRequest, AXPLockInfo, AXPUnLockRequest, AXPLockGetInfoRequest, AXPReportCategory, AXPReportDefinition, AXPExecutionReportCommand, AXPLayoutExecutionContext, AXPExecutionReportCommandResult } from '@acorex/platform/common';
|
5
9
|
import { AXPQueryRequest, AXPPagedListResult, AXPAppStartUpService } from '@acorex/platform/core';
|
6
|
-
import { AXPEntityStorageService, AXPEntityDefinitionRegistryService, AXPDataSeeder } from '@acorex/platform/layout/entity';
|
7
|
-
import * as i0 from '@angular/core';
|
8
|
-
import { Injector } from '@angular/core';
|
9
10
|
import * as i1 from '@acorex/platform/runtime';
|
10
|
-
import { Router } from '@angular/router';
|
11
|
-
import { AXMCommonDashboardEntityModel } from '@acorex/modules/dashboard-management';
|
12
11
|
import { AXMTextTemplateManagementTemplateEntityModel } from '@acorex/modules/text-template-management';
|
13
12
|
|
14
|
-
declare class AXPDexieEntityStorageService extends Dexie implements AXPEntityStorageService<string, any> {
|
15
|
-
protected sessionService: AXPSessionService;
|
16
|
-
protected entityRegistryService: AXPEntityDefinitionRegistryService;
|
17
|
-
protected lockService: AXPLockService;
|
18
|
-
constructor();
|
19
|
-
get dbName(): string;
|
20
|
-
private detectChanges;
|
21
|
-
private addToHistory;
|
22
|
-
/**
|
23
|
-
* Seed the storage with the provided collection only if it has not been
|
24
|
-
* inserted before.
|
25
|
-
*
|
26
|
-
* Rather than relying on the total record count, we inspect whether the first
|
27
|
-
* item of the incoming collection (identified by its `id`) already exists in
|
28
|
-
* the table for the given `entityName`. If it exists, the data has already
|
29
|
-
* been seeded and no action is taken; otherwise, the entire collection is
|
30
|
-
* bulk-inserted.
|
31
|
-
*/
|
32
|
-
initial<T = any>(entityName: string, collection: T[], options?: {
|
33
|
-
mergeType: 'merge' | 'replace';
|
34
|
-
uniqueKeys: string[];
|
35
|
-
}): Promise<T[]>;
|
36
|
-
getOne<T = any>(entityName: string, id: string): Promise<T>;
|
37
|
-
updateOne<T = any>(entityName: string, id: string, keyValue: {
|
38
|
-
[key: string]: any;
|
39
|
-
}): Promise<T>;
|
40
|
-
deleteOne(entityName: string, id: string): Promise<void>;
|
41
|
-
insertOne<T = any>(entityName: string, entity: T): Promise<string>;
|
42
|
-
getAll<T = any>(entityName: string): Promise<T[]>;
|
43
|
-
query<T = any>(entityName: string, request: AXPQueryRequest): Promise<AXPPagedListResult<T>>;
|
44
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXPDexieEntityStorageService, never>;
|
45
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AXPDexieEntityStorageService>;
|
46
|
-
}
|
47
|
-
|
48
|
-
declare class AXCCommonMockModule {
|
49
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXCCommonMockModule, never>;
|
50
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCCommonMockModule, never, never, never>;
|
51
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<AXCCommonMockModule>;
|
52
|
-
}
|
53
|
-
|
54
|
-
declare class AXCFormTemplateManagementMockModule {
|
55
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXCFormTemplateManagementMockModule, never>;
|
56
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCFormTemplateManagementMockModule, never, never, never>;
|
57
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<AXCFormTemplateManagementMockModule>;
|
58
|
-
}
|
59
|
-
|
60
|
-
declare class AXCFOrganizationManagementMockModule {
|
61
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXCFOrganizationManagementMockModule, never>;
|
62
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCFOrganizationManagementMockModule, never, never, never>;
|
63
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<AXCFOrganizationManagementMockModule>;
|
64
|
-
}
|
65
|
-
|
66
|
-
declare class AXCReportManagementMockModule {
|
67
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXCReportManagementMockModule, never>;
|
68
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCReportManagementMockModule, never, [typeof i1.AXPRuntimeModule], never>;
|
69
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<AXCReportManagementMockModule>;
|
70
|
-
}
|
71
|
-
|
72
|
-
declare class AXCContactManagementMockModule {
|
73
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXCContactManagementMockModule, never>;
|
74
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCContactManagementMockModule, never, never, never>;
|
75
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<AXCContactManagementMockModule>;
|
76
|
-
}
|
77
|
-
|
78
|
-
declare class AXCDashboardManagementMockModule {
|
79
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXCDashboardManagementMockModule, never>;
|
80
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCDashboardManagementMockModule, never, never, never>;
|
81
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<AXCDashboardManagementMockModule>;
|
82
|
-
}
|
83
|
-
|
84
|
-
declare class AXCConversationMockModule {
|
85
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXCConversationMockModule, never>;
|
86
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCConversationMockModule, never, never, never>;
|
87
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<AXCConversationMockModule>;
|
88
|
-
}
|
89
|
-
|
90
|
-
declare class AXCAuthMockModule {
|
91
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXCAuthMockModule, never>;
|
92
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCAuthMockModule, never, never, never>;
|
93
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<AXCAuthMockModule>;
|
94
|
-
}
|
95
|
-
|
96
|
-
declare class AXCPlatformManagementMockModule {
|
97
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXCPlatformManagementMockModule, never>;
|
98
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCPlatformManagementMockModule, never, never, never>;
|
99
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<AXCPlatformManagementMockModule>;
|
100
|
-
}
|
101
|
-
|
102
|
-
declare class AXCTextTemplateManagementMockModule {
|
103
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXCTextTemplateManagementMockModule, never>;
|
104
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCTextTemplateManagementMockModule, never, never, never>;
|
105
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<AXCTextTemplateManagementMockModule>;
|
106
|
-
}
|
107
|
-
|
108
|
-
declare class AXCSecurityManagementMockModule {
|
109
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXCSecurityManagementMockModule, never>;
|
110
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCSecurityManagementMockModule, never, never, never>;
|
111
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<AXCSecurityManagementMockModule>;
|
112
|
-
}
|
113
|
-
|
114
|
-
declare class AXCSchedulerJobManagementMockModule {
|
115
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXCSchedulerJobManagementMockModule, never>;
|
116
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCSchedulerJobManagementMockModule, never, never, never>;
|
117
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<AXCSchedulerJobManagementMockModule>;
|
118
|
-
}
|
119
|
-
|
120
|
-
declare class AXCNotificationManagementMockModule {
|
121
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXCNotificationManagementMockModule, never>;
|
122
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCNotificationManagementMockModule, never, never, never>;
|
123
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<AXCNotificationManagementMockModule>;
|
124
|
-
}
|
125
|
-
|
126
|
-
declare class AXCApplicationManagementMockModule {
|
127
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXCApplicationManagementMockModule, never>;
|
128
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCApplicationManagementMockModule, never, never, never>;
|
129
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<AXCApplicationManagementMockModule>;
|
130
|
-
}
|
131
|
-
|
132
|
-
declare class AXCTrainingManagementMockModule {
|
133
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXCTrainingManagementMockModule, never>;
|
134
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCTrainingManagementMockModule, never, never, never>;
|
135
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<AXCTrainingManagementMockModule>;
|
136
|
-
}
|
137
|
-
|
138
|
-
declare class AXCProjectManagementMockModule {
|
139
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXCProjectManagementMockModule, never>;
|
140
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCProjectManagementMockModule, never, never, never>;
|
141
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<AXCProjectManagementMockModule>;
|
142
|
-
}
|
143
|
-
|
144
|
-
declare class AXCDocumentManagementMockModule {
|
145
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXCDocumentManagementMockModule, never>;
|
146
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCDocumentManagementMockModule, never, never, never>;
|
147
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<AXCDocumentManagementMockModule>;
|
148
|
-
}
|
149
|
-
|
150
|
-
declare class AXCIssueManagementMockModule {
|
151
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXCIssueManagementMockModule, never>;
|
152
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCIssueManagementMockModule, never, never, never>;
|
153
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<AXCIssueManagementMockModule>;
|
154
|
-
}
|
155
|
-
|
156
|
-
declare class AXCLogManagementMockModule {
|
157
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXCLogManagementMockModule, never>;
|
158
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCLogManagementMockModule, never, never, never>;
|
159
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<AXCLogManagementMockModule>;
|
160
|
-
}
|
161
|
-
|
162
|
-
declare class AXMCalendarManagementMockModule {
|
163
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXMCalendarManagementMockModule, never>;
|
164
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXMCalendarManagementMockModule, never, never, never>;
|
165
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<AXMCalendarManagementMockModule>;
|
166
|
-
}
|
167
|
-
|
168
|
-
declare class AXCDataManagementMockModule {
|
169
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXCDataManagementMockModule, never>;
|
170
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCDataManagementMockModule, never, never, never>;
|
171
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<AXCDataManagementMockModule>;
|
172
|
-
}
|
173
|
-
|
174
|
-
declare class AXCMockModule {
|
175
|
-
constructor(appInitService: AXPAppStartUpService, injector: Injector);
|
176
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXCMockModule, never>;
|
177
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCMockModule, never, [typeof _acorex_platform_auth.AXPAuthModule, typeof AXCCommonMockModule, typeof AXCFormTemplateManagementMockModule, typeof AXCFOrganizationManagementMockModule, typeof AXCReportManagementMockModule, typeof AXCContactManagementMockModule, typeof AXCDashboardManagementMockModule, typeof AXCConversationMockModule, typeof AXCAuthMockModule, typeof AXCPlatformManagementMockModule, typeof AXCTextTemplateManagementMockModule, typeof AXCSecurityManagementMockModule, typeof AXCSchedulerJobManagementMockModule, typeof AXCNotificationManagementMockModule, typeof AXCApplicationManagementMockModule, typeof AXCTrainingManagementMockModule, typeof AXCProjectManagementMockModule, typeof AXCDocumentManagementMockModule, typeof AXCIssueManagementMockModule, typeof AXCLogManagementMockModule, typeof AXMCalendarManagementMockModule, typeof AXCDataManagementMockModule], never>;
|
178
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<AXCMockModule>;
|
179
|
-
}
|
180
|
-
|
181
|
-
interface MockUserPassCredentials extends AXPBaseCredentials {
|
182
|
-
username: string;
|
183
|
-
password: string;
|
184
|
-
}
|
185
|
-
declare class MOCKStrategy extends AXPAuthStrategy {
|
186
|
-
constructor();
|
187
|
-
private entityRegistery;
|
188
|
-
get name(): string;
|
189
|
-
signin(credentials: MockUserPassCredentials): Promise<AXPSignInResult>;
|
190
|
-
signout(): Promise<void>;
|
191
|
-
refreshToken(context: AXPSessionContext): Promise<AXPRefreshTokenResult>;
|
192
|
-
startAuthorizationFlow(tenantId: string, applicationId: string): Promise<void>;
|
193
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MOCKStrategy, never>;
|
194
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<MOCKStrategy>;
|
195
|
-
}
|
196
|
-
|
197
|
-
declare class AXCAppTermDataSeeder implements AXPDataSeeder {
|
198
|
-
private storageService;
|
199
|
-
seed(): Promise<void>;
|
200
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXCAppTermDataSeeder, never>;
|
201
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AXCAppTermDataSeeder>;
|
202
|
-
}
|
203
|
-
|
204
|
-
declare class AXCAppVersionDataSeeder implements AXPDataSeeder {
|
205
|
-
private storageService;
|
206
|
-
seed(): Promise<void>;
|
207
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXCAppVersionDataSeeder, never>;
|
208
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AXCAppVersionDataSeeder>;
|
209
|
-
}
|
210
|
-
|
211
|
-
declare class AXCGlobalVariablesDataSeeder implements AXPDataSeeder {
|
212
|
-
private storageService;
|
213
|
-
seed(): Promise<void>;
|
214
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXCGlobalVariablesDataSeeder, never>;
|
215
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AXCGlobalVariablesDataSeeder>;
|
216
|
-
}
|
217
|
-
|
218
|
-
declare const GLOBAL_VARIABLES: {
|
219
|
-
id: string;
|
220
|
-
name: string;
|
221
|
-
title: string;
|
222
|
-
dataType: string;
|
223
|
-
value: string;
|
224
|
-
}[];
|
225
|
-
|
226
|
-
declare class AXCMetaDataDefinitionDataSeeder implements AXPDataSeeder {
|
227
|
-
private storageService;
|
228
|
-
seed(): Promise<void>;
|
229
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXCMetaDataDefinitionDataSeeder, never>;
|
230
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AXCMetaDataDefinitionDataSeeder>;
|
231
|
-
}
|
232
|
-
|
233
|
-
declare class AXCFileStorageService implements AXPFileStorageService {
|
234
|
-
private fileService;
|
235
|
-
private mapToFileStorageInfo;
|
236
|
-
save(request: AXPFileStorageCreateRequest): Promise<AXPFileStorageInfo>;
|
237
|
-
commit(fileId: string): Promise<void>;
|
238
|
-
markForDeletion(fileId: string): Promise<void>;
|
239
|
-
update(request: AXPFileStorageUpdateRequest): Promise<AXPFileStorageInfo>;
|
240
|
-
find(request: AXPFileStorageFindRequest): Promise<AXPFileStorageInfo[]>;
|
241
|
-
getInfo(fileId: string): Promise<AXPFileStorageInfo>;
|
242
|
-
remove(fileId: string): Promise<void>;
|
243
|
-
private cleanupTemporaryFiles;
|
244
|
-
private cleanupMarkedFiles;
|
245
|
-
constructor();
|
246
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXCFileStorageService, never>;
|
247
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AXCFileStorageService>;
|
248
|
-
}
|
249
|
-
|
250
|
-
declare class AXCMockOidcStrategy extends AXPAuthStrategy {
|
251
|
-
sessionService: AXPSessionService;
|
252
|
-
storageService: AXPEntityStorageService<any, any, any, any, any>;
|
253
|
-
router: Router;
|
254
|
-
applicationLoader: _acorex_platform_auth.AXPApplicationLoader;
|
255
|
-
tenantLoader: _acorex_platform_auth.AXPTenantLoader;
|
256
|
-
mockIdTokenValue: any;
|
257
|
-
get name(): string;
|
258
|
-
signin(credentials: AXPBaseCredentials): Promise<AXPSignInResult>;
|
259
|
-
signout(): Promise<void>;
|
260
|
-
refreshToken(context: AXPSessionContext): Promise<AXPRefreshTokenResult>;
|
261
|
-
startAuthorizationFlow(tenantId: string, applicationId: string): Promise<void>;
|
262
|
-
completeAuthorizationCodeFlow(options: {
|
263
|
-
code: string;
|
264
|
-
redirectUri: string;
|
265
|
-
clientId?: string;
|
266
|
-
tokenEndpoint?: string;
|
267
|
-
}): Promise<void>;
|
268
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXCMockOidcStrategy, never>;
|
269
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AXCMockOidcStrategy>;
|
270
|
-
}
|
271
|
-
|
272
13
|
declare const APPLICATIONS: {
|
273
14
|
id: string;
|
274
15
|
name: string;
|
@@ -344,6 +85,24 @@ declare class AXCApplicationTemplateDataSeeder implements AXPDataSeeder {
|
|
344
85
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXCApplicationTemplateDataSeeder>;
|
345
86
|
}
|
346
87
|
|
88
|
+
declare class AXCApplicationManagementMockModule {
|
89
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXCApplicationManagementMockModule, never>;
|
90
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCApplicationManagementMockModule, never, never, never>;
|
91
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AXCApplicationManagementMockModule>;
|
92
|
+
}
|
93
|
+
|
94
|
+
declare class AXCAuthMockModule {
|
95
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXCAuthMockModule, never>;
|
96
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCAuthMockModule, never, never, never>;
|
97
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AXCAuthMockModule>;
|
98
|
+
}
|
99
|
+
|
100
|
+
declare class AXCCommonMockModule {
|
101
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXCCommonMockModule, never>;
|
102
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCCommonMockModule, never, never, never>;
|
103
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AXCCommonMockModule>;
|
104
|
+
}
|
105
|
+
|
347
106
|
declare class AXCLockService implements AXPLockService {
|
348
107
|
private className;
|
349
108
|
private db;
|
@@ -381,6 +140,12 @@ declare class AXCLockService implements AXPLockService {
|
|
381
140
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXCLockService>;
|
382
141
|
}
|
383
142
|
|
143
|
+
declare class AXCContactManagementMockModule {
|
144
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXCContactManagementMockModule, never>;
|
145
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCContactManagementMockModule, never, never, never>;
|
146
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AXCContactManagementMockModule>;
|
147
|
+
}
|
148
|
+
|
384
149
|
declare class AXMAiResponderService {
|
385
150
|
private readonly geminiApiKey;
|
386
151
|
getAIResponse(prompt: string): Promise<string>;
|
@@ -410,6 +175,12 @@ declare class AXPRoomDataSeeder implements AXPDataSeeder {
|
|
410
175
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXPRoomDataSeeder>;
|
411
176
|
}
|
412
177
|
|
178
|
+
declare class AXCConversationMockModule {
|
179
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXCConversationMockModule, never>;
|
180
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCConversationMockModule, never, never, never>;
|
181
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AXCConversationMockModule>;
|
182
|
+
}
|
183
|
+
|
413
184
|
declare function generateRandomDashboard(): AXMCommonDashboardEntityModel;
|
414
185
|
declare const DASHBOARDS: AXMCommonDashboardEntityModel[];
|
415
186
|
|
@@ -420,6 +191,158 @@ declare class AXPDashboardDataSeeder implements AXPDataSeeder {
|
|
420
191
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXPDashboardDataSeeder>;
|
421
192
|
}
|
422
193
|
|
194
|
+
declare class AXCDashboardManagementMockModule {
|
195
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXCDashboardManagementMockModule, never>;
|
196
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCDashboardManagementMockModule, never, never, never>;
|
197
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AXCDashboardManagementMockModule>;
|
198
|
+
}
|
199
|
+
|
200
|
+
declare class AXCDataManagementMockModule {
|
201
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXCDataManagementMockModule, never>;
|
202
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCDataManagementMockModule, never, never, never>;
|
203
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AXCDataManagementMockModule>;
|
204
|
+
}
|
205
|
+
|
206
|
+
declare class AXPDexieEntityStorageService extends Dexie implements AXPEntityStorageService<string, any> {
|
207
|
+
protected sessionService: AXPSessionService;
|
208
|
+
protected entityRegistryService: AXPEntityDefinitionRegistryService;
|
209
|
+
protected lockService: AXPLockService;
|
210
|
+
constructor();
|
211
|
+
get dbName(): string;
|
212
|
+
private detectChanges;
|
213
|
+
private addToHistory;
|
214
|
+
/**
|
215
|
+
* Seed the storage with the provided collection only if it has not been
|
216
|
+
* inserted before.
|
217
|
+
*
|
218
|
+
* Rather than relying on the total record count, we inspect whether the first
|
219
|
+
* item of the incoming collection (identified by its `id`) already exists in
|
220
|
+
* the table for the given `entityName`. If it exists, the data has already
|
221
|
+
* been seeded and no action is taken; otherwise, the entire collection is
|
222
|
+
* bulk-inserted.
|
223
|
+
*/
|
224
|
+
initial<T = any>(entityName: string, collection: T[], options?: {
|
225
|
+
mergeType: 'merge' | 'replace';
|
226
|
+
uniqueKeys: string[];
|
227
|
+
}): Promise<T[]>;
|
228
|
+
getOne<T = any>(entityName: string, id: string): Promise<T>;
|
229
|
+
updateOne<T = any>(entityName: string, id: string, keyValue: {
|
230
|
+
[key: string]: any;
|
231
|
+
}): Promise<T>;
|
232
|
+
deleteOne(entityName: string, id: string): Promise<void>;
|
233
|
+
insertOne<T = any>(entityName: string, entity: T): Promise<string>;
|
234
|
+
getAll<T = any>(entityName: string): Promise<T[]>;
|
235
|
+
query<T = any>(entityName: string, request: AXPQueryRequest): Promise<AXPPagedListResult<T>>;
|
236
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPDexieEntityStorageService, never>;
|
237
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXPDexieEntityStorageService>;
|
238
|
+
}
|
239
|
+
|
240
|
+
declare class AXCDocumentManagementMockModule {
|
241
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXCDocumentManagementMockModule, never>;
|
242
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCDocumentManagementMockModule, never, never, never>;
|
243
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AXCDocumentManagementMockModule>;
|
244
|
+
}
|
245
|
+
|
246
|
+
declare class AXCFormTemplateManagementMockModule {
|
247
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXCFormTemplateManagementMockModule, never>;
|
248
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCFormTemplateManagementMockModule, never, never, never>;
|
249
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AXCFormTemplateManagementMockModule>;
|
250
|
+
}
|
251
|
+
|
252
|
+
declare class AXCIssueManagementMockModule {
|
253
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXCIssueManagementMockModule, never>;
|
254
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCIssueManagementMockModule, never, never, never>;
|
255
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AXCIssueManagementMockModule>;
|
256
|
+
}
|
257
|
+
|
258
|
+
declare class AXCLogManagementMockModule {
|
259
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXCLogManagementMockModule, never>;
|
260
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCLogManagementMockModule, never, never, never>;
|
261
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AXCLogManagementMockModule>;
|
262
|
+
}
|
263
|
+
|
264
|
+
declare class AXCFOrganizationManagementMockModule {
|
265
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXCFOrganizationManagementMockModule, never>;
|
266
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCFOrganizationManagementMockModule, never, never, never>;
|
267
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AXCFOrganizationManagementMockModule>;
|
268
|
+
}
|
269
|
+
|
270
|
+
declare class AXCReportManagementMockModule {
|
271
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXCReportManagementMockModule, never>;
|
272
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCReportManagementMockModule, never, [typeof i1.AXPRuntimeModule], never>;
|
273
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AXCReportManagementMockModule>;
|
274
|
+
}
|
275
|
+
|
276
|
+
declare class AXCPlatformManagementMockModule {
|
277
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXCPlatformManagementMockModule, never>;
|
278
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCPlatformManagementMockModule, never, never, never>;
|
279
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AXCPlatformManagementMockModule>;
|
280
|
+
}
|
281
|
+
|
282
|
+
declare class AXCTextTemplateManagementMockModule {
|
283
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXCTextTemplateManagementMockModule, never>;
|
284
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCTextTemplateManagementMockModule, never, never, never>;
|
285
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AXCTextTemplateManagementMockModule>;
|
286
|
+
}
|
287
|
+
|
288
|
+
declare class AXCSecurityManagementMockModule {
|
289
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXCSecurityManagementMockModule, never>;
|
290
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCSecurityManagementMockModule, never, never, never>;
|
291
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AXCSecurityManagementMockModule>;
|
292
|
+
}
|
293
|
+
|
294
|
+
declare class AXCSchedulerJobManagementMockModule {
|
295
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXCSchedulerJobManagementMockModule, never>;
|
296
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCSchedulerJobManagementMockModule, never, never, never>;
|
297
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AXCSchedulerJobManagementMockModule>;
|
298
|
+
}
|
299
|
+
|
300
|
+
declare class AXCNotificationManagementMockModule {
|
301
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXCNotificationManagementMockModule, never>;
|
302
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCNotificationManagementMockModule, never, never, never>;
|
303
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AXCNotificationManagementMockModule>;
|
304
|
+
}
|
305
|
+
|
306
|
+
declare class AXCTrainingManagementMockModule {
|
307
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXCTrainingManagementMockModule, never>;
|
308
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCTrainingManagementMockModule, never, never, never>;
|
309
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AXCTrainingManagementMockModule>;
|
310
|
+
}
|
311
|
+
|
312
|
+
declare class AXCProjectManagementMockModule {
|
313
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXCProjectManagementMockModule, never>;
|
314
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCProjectManagementMockModule, never, never, never>;
|
315
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AXCProjectManagementMockModule>;
|
316
|
+
}
|
317
|
+
|
318
|
+
declare class AXMCalendarManagementMockModule {
|
319
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXMCalendarManagementMockModule, never>;
|
320
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXMCalendarManagementMockModule, never, never, never>;
|
321
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AXMCalendarManagementMockModule>;
|
322
|
+
}
|
323
|
+
|
324
|
+
declare class AXCMockModule {
|
325
|
+
constructor(appInitService: AXPAppStartUpService, injector: Injector);
|
326
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXCMockModule, never>;
|
327
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCMockModule, never, [typeof i1$1.AXPAuthModule, typeof AXCCommonMockModule, typeof AXCFormTemplateManagementMockModule, typeof AXCFOrganizationManagementMockModule, typeof AXCReportManagementMockModule, typeof AXCContactManagementMockModule, typeof AXCDashboardManagementMockModule, typeof AXCConversationMockModule, typeof AXCAuthMockModule, typeof AXCPlatformManagementMockModule, typeof AXCTextTemplateManagementMockModule, typeof AXCSecurityManagementMockModule, typeof AXCSchedulerJobManagementMockModule, typeof AXCNotificationManagementMockModule, typeof AXCApplicationManagementMockModule, typeof AXCTrainingManagementMockModule, typeof AXCProjectManagementMockModule, typeof AXCDocumentManagementMockModule, typeof AXCIssueManagementMockModule, typeof AXCLogManagementMockModule, typeof AXMCalendarManagementMockModule, typeof AXCDataManagementMockModule], never>;
|
328
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AXCMockModule>;
|
329
|
+
}
|
330
|
+
|
331
|
+
interface MockUserPassCredentials extends AXPBaseCredentials {
|
332
|
+
username: string;
|
333
|
+
password: string;
|
334
|
+
}
|
335
|
+
declare class MOCKStrategy implements AXPAuthStrategy {
|
336
|
+
constructor();
|
337
|
+
private entityRegistery;
|
338
|
+
get name(): string;
|
339
|
+
signin(credentials: MockUserPassCredentials): Promise<AXPSignInResult>;
|
340
|
+
signout(): Promise<void>;
|
341
|
+
refreshToken(context: AXPSessionContext): Promise<AXPRefreshTokenResult>;
|
342
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MOCKStrategy, never>;
|
343
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MOCKStrategy>;
|
344
|
+
}
|
345
|
+
|
423
346
|
declare const REPORT_CATEGORIES: AXPReportCategory[];
|
424
347
|
declare const REPORT_DEFINITIONS: AXPReportDefinition[];
|
425
348
|
declare const CATEGORY_REPORT_MAPPING: Map<string, AXPReportDefinition[]>;
|
@@ -469,6 +392,21 @@ declare class AXCSchedulerJobDataSeeder implements AXPDataSeeder {
|
|
469
392
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXCSchedulerJobDataSeeder>;
|
470
393
|
}
|
471
394
|
|
395
|
+
declare class AXPSecurityManagementRoleDataSeeder implements AXPDataSeeder {
|
396
|
+
private storageService;
|
397
|
+
seed(): Promise<void>;
|
398
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPSecurityManagementRoleDataSeeder, never>;
|
399
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXPSecurityManagementRoleDataSeeder>;
|
400
|
+
}
|
401
|
+
|
402
|
+
declare class AXPSecurityManagementUserDataSeeder implements AXPDataSeeder {
|
403
|
+
private storageService;
|
404
|
+
seed(): Promise<void>;
|
405
|
+
private generateUsers;
|
406
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPSecurityManagementUserDataSeeder, never>;
|
407
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXPSecurityManagementUserDataSeeder>;
|
408
|
+
}
|
409
|
+
|
472
410
|
declare class AXCTextTemplateCategoryDataSeeder implements AXPDataSeeder {
|
473
411
|
private storageService;
|
474
412
|
seed(): Promise<void>;
|
@@ -490,20 +428,5 @@ declare const TEXT_TEMPLATE_CATEGORY: {
|
|
490
428
|
}[];
|
491
429
|
declare const TEXT_TEMPLATES: AXMTextTemplateManagementTemplateEntityModel[];
|
492
430
|
|
493
|
-
|
494
|
-
private storageService;
|
495
|
-
seed(): Promise<void>;
|
496
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXPSecurityManagementRoleDataSeeder, never>;
|
497
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AXPSecurityManagementRoleDataSeeder>;
|
498
|
-
}
|
499
|
-
|
500
|
-
declare class AXPSecurityManagementUserDataSeeder implements AXPDataSeeder {
|
501
|
-
private storageService;
|
502
|
-
seed(): Promise<void>;
|
503
|
-
private generateUsers;
|
504
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXPSecurityManagementUserDataSeeder, never>;
|
505
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AXPSecurityManagementUserDataSeeder>;
|
506
|
-
}
|
507
|
-
|
508
|
-
export { APPLICATIONS, APPLICATIONS_MODULES, AXCAppTermDataSeeder, AXCAppVersionDataSeeder, AXCApplicationManagementMockModule, AXCApplicationTemplateDataSeeder, AXCAuthMockModule, AXCCommonMockModule, AXCContactManagementMockModule, AXCConversationMockModule, AXCDashboardManagementMockModule, AXCDataManagementMockModule, AXCDocumentManagementMockModule, AXCFOrganizationManagementMockModule, AXCFileStorageService, AXCFormTemplateManagementMockModule, AXCGlobalVariablesDataSeeder, AXCIssueManagementMockModule, AXCLockService, AXCLogManagementMockModule, AXCMetaDataDefinitionDataSeeder, AXCMockModule, AXCMockOidcStrategy, AXCNotificationManagementMockModule, AXCPlatformManagementMockModule, AXCProjectManagementMockModule, AXCReportManagementMockModule, AXCSchedulerJobDataSeeder, AXCSchedulerJobManagementMockModule, AXCSecurityManagementMockModule, AXCTextTemplateCategoryDataSeeder, AXCTextTemplateDataSeeder, AXCTextTemplateManagementMockModule, AXCTrainingManagementMockModule, AXMAiResponderService, AXMReportExecuteCommand, AXPDashboardDataSeeder, AXPDexieEntityStorageService, AXPMessageDataSeeder, AXPReportManagementDataSeeder, AXPRoomDataSeeder, AXPSecurityManagementRoleDataSeeder, AXPSecurityManagementUserDataSeeder, CATEGORY_REPORT_MAPPING, DASHBOARDS, EDITIONS, ENTITIES, FEATURES, GLOBAL_VARIABLES, MOCKStrategy, MODULES, PERMISSIONS, PROPERTIES, REPORT_CATEGORIES, REPORT_DEFINITIONS, TEXT_TEMPLATES, TEXT_TEMPLATE_CATEGORY, generateRandomDashboard };
|
431
|
+
export { APPLICATIONS, APPLICATIONS_MODULES, AXCApplicationManagementMockModule, AXCApplicationTemplateDataSeeder, AXCAuthMockModule, AXCCommonMockModule, AXCContactManagementMockModule, AXCConversationMockModule, AXCDashboardManagementMockModule, AXCDataManagementMockModule, AXCDocumentManagementMockModule, AXCFOrganizationManagementMockModule, AXCFormTemplateManagementMockModule, AXCIssueManagementMockModule, AXCLockService, AXCLogManagementMockModule, AXCMockModule, AXCNotificationManagementMockModule, AXCProjectManagementMockModule, AXCReportManagementMockModule, AXCSchedulerJobDataSeeder, AXCSchedulerJobManagementMockModule, AXCSecurityManagementMockModule, AXCTextTemplateCategoryDataSeeder, AXCTextTemplateDataSeeder, AXCTextTemplateManagementMockModule, AXCTrainingManagementMockModule, AXMAiResponderService, AXMReportExecuteCommand, AXPDashboardDataSeeder, AXPDexieEntityStorageService, AXPMessageDataSeeder, AXPReportManagementDataSeeder, AXPRoomDataSeeder, AXPSecurityManagementRoleDataSeeder, AXPSecurityManagementUserDataSeeder, CATEGORY_REPORT_MAPPING, DASHBOARDS, EDITIONS, ENTITIES, FEATURES, MOCKStrategy, MODULES, PERMISSIONS, PROPERTIES, REPORT_CATEGORIES, REPORT_DEFINITIONS, TEXT_TEMPLATES, TEXT_TEMPLATE_CATEGORY, generateRandomDashboard };
|
509
432
|
export type { MockUserPassCredentials };
|