@acorex/connectivity 18.2.4 → 19.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (75) hide show
  1. package/api/README.md +3 -0
  2. package/api/index.d.ts +3 -0
  3. package/api/lib/api-storage.service.d.ts +27 -0
  4. package/api/lib/api.module.d.ts +8 -0
  5. package/api/lib/auth/oidc/application.loader.d.ts +16 -0
  6. package/api/lib/auth/oidc/configuration.service.d.ts +60 -0
  7. package/api/lib/auth/oidc/feature.loader.d.ts +6 -0
  8. package/api/lib/auth/oidc/index.d.ts +6 -0
  9. package/api/lib/auth/oidc/oidc.strategy.d.ts +50 -0
  10. package/api/lib/auth/oidc/permission.loader.d.ts +14 -0
  11. package/api/lib/auth/oidc/tenant.loader.d.ts +16 -0
  12. package/fesm2022/acorex-connectivity-api.mjs +533 -0
  13. package/fesm2022/acorex-connectivity-api.mjs.map +1 -0
  14. package/fesm2022/acorex-connectivity-mock.mjs +398 -117
  15. package/fesm2022/acorex-connectivity-mock.mjs.map +1 -1
  16. package/fesm2022/acorex-connectivity.mjs +4 -4
  17. package/fesm2022/acorex-connectivity.mjs.map +1 -1
  18. package/mock/lib/application-management/mock-module-designer.service.d.ts +43 -0
  19. package/mock/lib/conversation/chat/chat.mock.service.d.ts +3 -0
  20. package/mock/lib/conversation/comments/comment.mock.service.d.ts +3 -0
  21. package/mock/lib/form-template-management/category.seeder.d.ts +8 -0
  22. package/mock/lib/form-template-management/form-template-management-mock.module.d.ts +6 -0
  23. package/mock/lib/mock.module.d.ts +4 -3
  24. package/mock/lib/mock.strategy.d.ts +15 -0
  25. package/mock/lib/scheduler-job-management/index.d.ts +1 -0
  26. package/mock/lib/scheduler-job-management/scheduler-job-management.mock.data.d.ts +7 -0
  27. package/mock/lib/scheduler-job-management/scheduler-job.seeder.d.ts +8 -0
  28. package/package.json +5 -5
  29. package/esm2022/acorex-connectivity.mjs +0 -5
  30. package/esm2022/index.mjs +0 -2
  31. package/esm2022/lib/connectivity.component.mjs +0 -12
  32. package/esm2022/mock/acorex-connectivity-mock.mjs +0 -5
  33. package/esm2022/mock/index.mjs +0 -2
  34. package/esm2022/mock/lib/application-management/application-management-mock-data.mjs +0 -109
  35. package/esm2022/mock/lib/application-management/application.seeder.mjs +0 -26
  36. package/esm2022/mock/lib/application-management/index.mjs +0 -3
  37. package/esm2022/mock/lib/conversation/chat/chat.mock.data.mjs +0 -42
  38. package/esm2022/mock/lib/conversation/chat/chat.mock.service.mjs +0 -14
  39. package/esm2022/mock/lib/conversation/chat/chat.seeder.mjs +0 -19
  40. package/esm2022/mock/lib/conversation/chat/index.mjs +0 -3
  41. package/esm2022/mock/lib/conversation/comments/comment.mock.data.mjs +0 -73
  42. package/esm2022/mock/lib/conversation/comments/comment.mock.service.mjs +0 -78
  43. package/esm2022/mock/lib/conversation/comments/comment.seeder.mjs +0 -19
  44. package/esm2022/mock/lib/conversation/comments/index.mjs +0 -4
  45. package/esm2022/mock/lib/conversation/conversation.module.mjs +0 -78
  46. package/esm2022/mock/lib/form-management/datasource-provider.mock.service.mjs +0 -37
  47. package/esm2022/mock/lib/form-management/form-management-mock.module.mjs +0 -31
  48. package/esm2022/mock/lib/localization-management/culture/culture.mock.data.mjs +0 -16
  49. package/esm2022/mock/lib/localization-management/culture/culture.seeder.mjs +0 -19
  50. package/esm2022/mock/lib/localization-management/culture/index.mjs +0 -3
  51. package/esm2022/mock/lib/localization-management/index.mjs +0 -4
  52. package/esm2022/mock/lib/localization-management/languages/index.mjs +0 -3
  53. package/esm2022/mock/lib/localization-management/languages/language.mock.data.mjs +0 -14
  54. package/esm2022/mock/lib/localization-management/languages/language.seeder.mjs +0 -19
  55. package/esm2022/mock/lib/localization-management/time-zone/index.mjs +0 -3
  56. package/esm2022/mock/lib/localization-management/time-zone/time-zone.mock.data.mjs +0 -31
  57. package/esm2022/mock/lib/localization-management/time-zone/time-zone.seeder.mjs +0 -19
  58. package/esm2022/mock/lib/mock.module.mjs +0 -136
  59. package/esm2022/mock/lib/notification-management/notification/notification.mock.service.mjs +0 -75
  60. package/esm2022/mock/lib/platform-management/country/country.mock.data.mjs +0 -76
  61. package/esm2022/mock/lib/platform-management/country/country.seeder.mjs +0 -19
  62. package/esm2022/mock/lib/platform-management/country/index.mjs +0 -3
  63. package/esm2022/mock/lib/platform-management/currency/currency.mock.data.mjs +0 -22
  64. package/esm2022/mock/lib/platform-management/currency/currency.seeder.mjs +0 -19
  65. package/esm2022/mock/lib/platform-management/currency/index.mjs +0 -3
  66. package/esm2022/mock/lib/platform-management/global-variables/global-variable.seeder.mjs +0 -18
  67. package/esm2022/mock/lib/platform-management/global-variables/global-variables.mock.data.mjs +0 -18
  68. package/esm2022/mock/lib/platform-management/global-variables/index.mjs +0 -3
  69. package/esm2022/mock/lib/platform-management/index.mjs +0 -4
  70. package/esm2022/mock/lib/text-template-management/category.seeder.mjs +0 -19
  71. package/esm2022/mock/lib/text-template-management/index.mjs +0 -4
  72. package/esm2022/mock/lib/text-template-management/template.seeder.mjs +0 -19
  73. package/esm2022/mock/lib/text-template-management/text-template-management.mock.data.mjs +0 -118
  74. package/mock/lib/form-management/form-management-mock.module.d.ts +0 -6
  75. /package/mock/lib/{form-management → form-template-management}/datasource-provider.mock.service.d.ts +0 -0
@@ -1,17 +1,21 @@
1
+ import { APPLICATION_SOURCE_NAME, MODULE_SOURCE_NAME, ENTITY_SOURCE_NAME, FEATURE_SOURCE_NAME, PERMISSION_SOURCE_NAME, PROPERTY_SOURCE_NAME, AXPModuleDesignerService } from '@acorex/modules/application-management';
1
2
  import { AXMNotificationService } from '@acorex/modules/notification-management';
3
+ import * as i1$1 from '@acorex/platform/auth';
4
+ import { AXPSessionService, AXPAuthModule } from '@acorex/platform/auth';
2
5
  import { AXPDataGenerator, AXPDexieEntityStorageService, AXP_DATA_SEEDER_TOKEN, AXPEntityStorageService } from '@acorex/platform/common';
3
6
  import * as i0 from '@angular/core';
4
7
  import { inject, Injectable, NgModule } from '@angular/core';
5
- import { APPLICATION_SOURCE_NAME, MODULE_SOURCE_NAME, ENTITY_SOURCE_NAME, FEATURE_SOURCE_NAME, PERMISSION_SOURCE_NAME, PROPERTY_SOURCE_NAME } from '@acorex/modules/application-management';
8
+ import { AXPEntityDefinitionRegistryService } from '@acorex/platform/layout/entity';
6
9
  import { AXMCommentService } from '@acorex/modules/backend';
7
10
  import * as i1 from '@acorex/modules/conversation';
8
11
  import { AXMConverstionModuleConst, AXMChatServiceImpl, AXMCommentServiceImpl, AXMChatModule, AXMChatService } from '@acorex/modules/conversation';
9
- import { AXPSessionService } from '@acorex/platform/auth';
12
+ import { AXMLocalizationManagementModuleConst, CULTURE_SOURCE_NAME, TIMEZONE_SOURCE_NAME } from '@acorex/modules/localization-management';
13
+ import { AXMPlatformManagementModuleConst } from '@acorex/modules/platform-management';
14
+ import { AXMSchedulerJobManagementModuleConst } from '@acorex/modules/scheduler-job-management';
15
+ import { AXMTextTemplateManagementModuleConst } from '@acorex/modules/text-template-management';
10
16
  import { AXP_WIDGET_DATASOURCE_PROVIDER } from '@acorex/platform/layout/builder';
11
17
  import { convertArrayToDataSource } from '@acorex/components/common';
12
- import { LANGUAGE_SOURCE_NAME, CULTURE_SOURCE_NAME, TIMEZONE_SOURCE_NAME } from '@acorex/modules/localization-management';
13
- import { CURRENCY_SOURCE_NAME, COUNTRY_SOURCE_NAME } from '@acorex/modules/platform-management';
14
- import { AXMTextTemplateManagementModuleConst } from '@acorex/modules/text-template-management';
18
+ import { AXMFormTemplateManagementModuleConst } from '@acorex/modules/form-template-management';
15
19
 
16
20
  const APPLICATIONS = Array.from({ length: 5 }).map((_, i) => {
17
21
  const source = ['appOne', 'appTwo', 'appThree', 'myCoolApp', 'awesomeApp', 'superApp'];
@@ -135,13 +139,105 @@ class AXPApplicationTemplateDataSeeder {
135
139
  const properties = this.storageService.initial(PROPERTY_SOURCE_NAME, PROPERTIES);
136
140
  await Promise.all([applications, modules, entities, features, permissions, editions, properties]);
137
141
  }
138
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPApplicationTemplateDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
139
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPApplicationTemplateDataSeeder }); }
142
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPApplicationTemplateDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
143
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPApplicationTemplateDataSeeder }); }
140
144
  }
141
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPApplicationTemplateDataSeeder, decorators: [{
145
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPApplicationTemplateDataSeeder, decorators: [{
142
146
  type: Injectable
143
147
  }] });
144
148
 
149
+ class AXCModuleDesignerService {
150
+ constructor() {
151
+ this.loader = inject(AXPEntityDefinitionRegistryService);
152
+ this.defaultConfig = {
153
+ skip: 0,
154
+ sort: [],
155
+ take: 10,
156
+ filter: {
157
+ field: '',
158
+ value: '',
159
+ operator: 'equal',
160
+ },
161
+ };
162
+ this.AdvanceConfig = (moduleId) => ({
163
+ skip: 0,
164
+ sort: [],
165
+ take: 10,
166
+ filter: {
167
+ field: '',
168
+ value: '',
169
+ operator: { type: 'equal' },
170
+ filters: [
171
+ {
172
+ field: 'moduleId',
173
+ operator: { type: 'equal' },
174
+ value: moduleId,
175
+ },
176
+ ],
177
+ },
178
+ });
179
+ }
180
+ async moduleDef() {
181
+ return this.loader.resolve('application-management', 'module');
182
+ }
183
+ async entityDef() {
184
+ return this.loader.resolve('application-management', 'entity');
185
+ }
186
+ async featureDef() {
187
+ return this.loader.resolve('application-management', 'feature');
188
+ }
189
+ async permissionDef() {
190
+ return this.loader.resolve('application-management', 'permission');
191
+ }
192
+ async getModules() {
193
+ const entity = await this.moduleDef();
194
+ const func = entity?.queries.list?.execute;
195
+ return func(this.defaultConfig);
196
+ }
197
+ async getSingleModule() { }
198
+ async createModule(payload) { }
199
+ async updateModule(moduleId, payload) { }
200
+ async deleteModule(moduleId) { }
201
+ //
202
+ async getEntities(moduleId) {
203
+ const entity = await this.entityDef();
204
+ const func = entity?.queries.list?.execute;
205
+ return func(this.AdvanceConfig(moduleId));
206
+ }
207
+ async getSingleEntity(entityId) { }
208
+ async createEntity(payload) { }
209
+ async updateEntity(payload) { }
210
+ async deleteEntity(entityId) { }
211
+ //
212
+ async getFeatures(moduleId) {
213
+ const entity = await this.featureDef();
214
+ const func = entity?.queries.list?.execute;
215
+ return func(this.AdvanceConfig(moduleId));
216
+ }
217
+ async getSingleFeature(featureId) { }
218
+ async createFeature(payload) { }
219
+ async updateFeature(payload) { }
220
+ async deleteFeature(featureId) { }
221
+ //
222
+ async getPermissions(moduleId) {
223
+ const entity = await this.permissionDef();
224
+ const func = entity?.queries.list?.execute;
225
+ return func(this.AdvanceConfig(moduleId));
226
+ }
227
+ async getSinglePermission(permissionId) { }
228
+ async createPermission(payload) { }
229
+ async updatePermission(payload) { }
230
+ async deletePermission(permissionId) { }
231
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXCModuleDesignerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
232
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXCModuleDesignerService, providedIn: 'root' }); }
233
+ }
234
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXCModuleDesignerService, decorators: [{
235
+ type: Injectable,
236
+ args: [{
237
+ providedIn: 'root',
238
+ }]
239
+ }] });
240
+
145
241
  const generateChatUser = () => ({
146
242
  id: AXPDataGenerator.uuid(),
147
243
  userName: AXPDataGenerator.firstName().toLowerCase(),
@@ -190,10 +286,10 @@ class AXPChatDataSeeder {
190
286
  async seed() {
191
287
  await this.storageService.initial(`${AXMConverstionModuleConst.moduleName}.${AXMConverstionModuleConst.chatName}`, CHAT);
192
288
  }
193
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPChatDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
194
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPChatDataSeeder }); }
289
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPChatDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
290
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPChatDataSeeder }); }
195
291
  }
196
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPChatDataSeeder, decorators: [{
292
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPChatDataSeeder, decorators: [{
197
293
  type: Injectable
198
294
  }] });
199
295
 
@@ -208,7 +304,12 @@ class AXMChatMockService extends AXMChatServiceImpl {
208
304
  await super.updateOne(roomId, { ...oldChat, unreadCount: 0 });
209
305
  return;
210
306
  }
307
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMChatMockService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
308
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMChatMockService }); }
211
309
  }
310
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMChatMockService, decorators: [{
311
+ type: Injectable
312
+ }] });
212
313
 
213
314
  // import { AXPDataGenerator, AXPEntityStorageService } from '@acorex/platform/common';
214
315
  // import {
@@ -289,10 +390,10 @@ class AXPCommentDataSeeder {
289
390
  async seed() {
290
391
  await this.storageService.initial(`${AXMConverstionModuleConst.moduleName}.${AXMConverstionModuleConst.commentName}`, COMMENTS);
291
392
  }
292
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPCommentDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
293
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPCommentDataSeeder }); }
393
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPCommentDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
394
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPCommentDataSeeder }); }
294
395
  }
295
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPCommentDataSeeder, decorators: [{
396
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPCommentDataSeeder, decorators: [{
296
397
  type: Injectable
297
398
  }] });
298
399
 
@@ -368,12 +469,17 @@ class AXMCommentMockService extends AXMCommentServiceImpl {
368
469
  }
369
470
  return 'done';
370
471
  }
472
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMCommentMockService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
473
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMCommentMockService }); }
371
474
  }
475
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMCommentMockService, decorators: [{
476
+ type: Injectable
477
+ }] });
372
478
 
373
479
  class AXCConversationMockModule {
374
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXCConversationMockModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
375
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.0", ngImport: i0, type: AXCConversationMockModule, imports: [i1.AXMChatModule] }); }
376
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXCConversationMockModule, providers: [
480
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXCConversationMockModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
481
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.3", ngImport: i0, type: AXCConversationMockModule, imports: [i1.AXMChatModule] }); }
482
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXCConversationMockModule, providers: [
377
483
  {
378
484
  provide: AXP_DATA_SEEDER_TOKEN,
379
485
  useClass: AXPChatDataSeeder,
@@ -401,7 +507,7 @@ class AXCConversationMockModule {
401
507
  ],
402
508
  })] }); }
403
509
  }
404
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXCConversationMockModule, decorators: [{
510
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXCConversationMockModule, decorators: [{
405
511
  type: NgModule,
406
512
  args: [{
407
513
  imports: [
@@ -439,69 +545,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
439
545
  }]
440
546
  }] });
441
547
 
442
- class AXPMockWidgetDataSourceProvider {
443
- async items() {
444
- return [
445
- {
446
- name: 'mock.users',
447
- title: 'Users',
448
- columns: [],
449
- samples: [
450
- {
451
- id: '2',
452
- title: 'Alex Jakson',
453
- },
454
- {
455
- id: '3',
456
- title: 'Emma Smith',
457
- },
458
- ],
459
- source: () => convertArrayToDataSource([
460
- {
461
- id: '1',
462
- title: 'Arash Oshnoudi',
463
- },
464
- {
465
- id: '2',
466
- title: 'Alex Smith',
467
- },
468
- {
469
- id: '3',
470
- title: 'Emma Jakson',
471
- },
472
- ]),
473
- },
474
- ];
475
- }
476
- }
477
-
478
- class AXCFormManagementMockModule {
479
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXCFormManagementMockModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
480
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.0", ngImport: i0, type: AXCFormManagementMockModule }); }
481
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXCFormManagementMockModule, providers: [
482
- {
483
- provide: AXP_WIDGET_DATASOURCE_PROVIDER,
484
- useClass: AXPMockWidgetDataSourceProvider,
485
- multi: true,
486
- },
487
- ] }); }
488
- }
489
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXCFormManagementMockModule, decorators: [{
490
- type: NgModule,
491
- args: [{
492
- imports: [],
493
- exports: [],
494
- declarations: [],
495
- providers: [
496
- {
497
- provide: AXP_WIDGET_DATASOURCE_PROVIDER,
498
- useClass: AXPMockWidgetDataSourceProvider,
499
- multi: true,
500
- },
501
- ],
502
- }]
503
- }] });
504
-
505
548
  const LANGUAGES = [
506
549
  {
507
550
  id: AXPDataGenerator.uuid(),
@@ -520,12 +563,12 @@ class AXPLanguageDataSeeder {
520
563
  this.storageService = inject(AXPDexieEntityStorageService);
521
564
  }
522
565
  async seed() {
523
- await this.storageService.initial(LANGUAGE_SOURCE_NAME, LANGUAGES);
566
+ await this.storageService.initial(`${AXMLocalizationManagementModuleConst.moduleName}.${AXMLocalizationManagementModuleConst.languageEntity}`, LANGUAGES);
524
567
  }
525
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPLanguageDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
526
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPLanguageDataSeeder }); }
568
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPLanguageDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
569
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPLanguageDataSeeder }); }
527
570
  }
528
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPLanguageDataSeeder, decorators: [{
571
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPLanguageDataSeeder, decorators: [{
529
572
  type: Injectable
530
573
  }] });
531
574
 
@@ -553,10 +596,10 @@ class AXPGlobalVariablesDataSeeder {
553
596
  async seed() {
554
597
  await this.storageService.initial('globalVariable', GLOBAL_VARIABLES);
555
598
  }
556
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPGlobalVariablesDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
557
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPGlobalVariablesDataSeeder }); }
599
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPGlobalVariablesDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
600
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPGlobalVariablesDataSeeder }); }
558
601
  }
559
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPGlobalVariablesDataSeeder, decorators: [{
602
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPGlobalVariablesDataSeeder, decorators: [{
560
603
  type: Injectable
561
604
  }] });
562
605
 
@@ -586,12 +629,12 @@ class AXPCurrencyDataSeeder {
586
629
  this.storageService = inject(AXPDexieEntityStorageService);
587
630
  }
588
631
  async seed() {
589
- await this.storageService.initial(CURRENCY_SOURCE_NAME, Currencies);
632
+ await this.storageService.initial(`${AXMPlatformManagementModuleConst.moduleName}.${AXMPlatformManagementModuleConst.currencyEntity}`, Currencies);
590
633
  }
591
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPCurrencyDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
592
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPCurrencyDataSeeder }); }
634
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPCurrencyDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
635
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPCurrencyDataSeeder }); }
593
636
  }
594
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPCurrencyDataSeeder, decorators: [{
637
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPCurrencyDataSeeder, decorators: [{
595
638
  type: Injectable
596
639
  }] });
597
640
 
@@ -675,12 +718,12 @@ class AXPCountryDataSeeder {
675
718
  this.storageService = inject(AXPDexieEntityStorageService);
676
719
  }
677
720
  async seed() {
678
- await this.storageService.initial(COUNTRY_SOURCE_NAME, COUNTRIES);
721
+ await this.storageService.initial(`${AXMPlatformManagementModuleConst.moduleName}.${AXMPlatformManagementModuleConst.countryEntity}`, COUNTRIES);
679
722
  }
680
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPCountryDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
681
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPCountryDataSeeder }); }
723
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPCountryDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
724
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPCountryDataSeeder }); }
682
725
  }
683
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPCountryDataSeeder, decorators: [{
726
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPCountryDataSeeder, decorators: [{
684
727
  type: Injectable
685
728
  }] });
686
729
 
@@ -704,10 +747,10 @@ class AXPCultureDataSeeder {
704
747
  async seed() {
705
748
  await this.storageService.initial(CULTURE_SOURCE_NAME, CULTURES);
706
749
  }
707
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPCultureDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
708
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPCultureDataSeeder }); }
750
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPCultureDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
751
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPCultureDataSeeder }); }
709
752
  }
710
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPCultureDataSeeder, decorators: [{
753
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPCultureDataSeeder, decorators: [{
711
754
  type: Injectable
712
755
  }] });
713
756
 
@@ -748,13 +791,94 @@ class AXPTimeZoneDataSeeder {
748
791
  async seed() {
749
792
  await this.storageService.initial(TIMEZONE_SOURCE_NAME, TIME_ZONES);
750
793
  }
751
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPTimeZoneDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
752
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPTimeZoneDataSeeder }); }
794
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPTimeZoneDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
795
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPTimeZoneDataSeeder }); }
753
796
  }
754
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPTimeZoneDataSeeder, decorators: [{
797
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPTimeZoneDataSeeder, decorators: [{
755
798
  type: Injectable
756
799
  }] });
757
800
 
801
+ class MOCKStrategy {
802
+ constructor() { }
803
+ get name() {
804
+ return 'user-pass';
805
+ }
806
+ async signin(credentials) {
807
+ try {
808
+ if (credentials.username == 'root' && credentials.password == '123') {
809
+ const user = {
810
+ id: 'a683a19a-e3eb-46a7-b81c-7cf9468ae831',
811
+ name: 'Root',
812
+ title: 'Root User',
813
+ avatar: 'https://avatar.iran.liara.run/public/29',
814
+ };
815
+ const accessToken = 'access_token';
816
+ const refreshToken = 'refresh_token';
817
+ return {
818
+ succeed: true,
819
+ data: { user, accessToken, refreshToken },
820
+ };
821
+ }
822
+ if (credentials.username == 'admin' && credentials.password == '123') {
823
+ const user = {
824
+ id: 'a683a19a-e3eb-46a7-b81c-7cf9468ae831',
825
+ name: 'Admin',
826
+ title: 'Admin User',
827
+ avatar: 'https://avatar.iran.liara.run/public/47',
828
+ };
829
+ const accessToken = 'access_token';
830
+ const refreshToken = 'refresh_token';
831
+ return {
832
+ succeed: true,
833
+ data: { user, accessToken, refreshToken },
834
+ };
835
+ }
836
+ if (credentials.username == 'user' && credentials.password == '123') {
837
+ const user = {
838
+ id: 'a683a19a-e3eb-76a7-b81c-7cf9468ae831',
839
+ name: 'User',
840
+ title: 'Sample User',
841
+ avatar: 'https://avatar.iran.liara.run/public/56',
842
+ };
843
+ const accessToken = 'access_token';
844
+ const refreshToken = 'refresh_token';
845
+ return {
846
+ succeed: true,
847
+ data: { user, accessToken, refreshToken },
848
+ };
849
+ }
850
+ return {
851
+ succeed: false,
852
+ };
853
+ }
854
+ catch (error) {
855
+ if (error?.message)
856
+ throw new Error(error.message);
857
+ // Depending on the error type, you might want to throw a specific error
858
+ throw new Error('Network or server error occurred');
859
+ }
860
+ }
861
+ async signout() {
862
+ console.log('User signed out');
863
+ }
864
+ async refreshToken(context) {
865
+ return {
866
+ succeed: true,
867
+ data: {
868
+ accessToken: 'access_token',
869
+ refreshToken: 'refresh_token',
870
+ application: context.application,
871
+ tenant: context.tenant,
872
+ },
873
+ };
874
+ }
875
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: MOCKStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
876
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: MOCKStrategy }); }
877
+ }
878
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: MOCKStrategy, decorators: [{
879
+ type: Injectable
880
+ }], ctorParameters: () => [] });
881
+
758
882
  class AXMMockNotificationService {
759
883
  constructor() {
760
884
  this.storageService = inject(AXPEntityStorageService);
@@ -784,10 +908,10 @@ class AXMMockNotificationService {
784
908
  const notification = payload || generateNotification();
785
909
  await this.storageService.insertOne(this.name, notification);
786
910
  }
787
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXMMockNotificationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
788
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXMMockNotificationService, providedIn: 'root' }); }
911
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMMockNotificationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
912
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMMockNotificationService, providedIn: 'root' }); }
789
913
  }
790
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXMMockNotificationService, decorators: [{
914
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMMockNotificationService, decorators: [{
791
915
  type: Injectable,
792
916
  args: [{
793
917
  providedIn: 'root',
@@ -827,6 +951,37 @@ function generateNotification() {
827
951
  };
828
952
  }
829
953
 
954
+ const SCHEDULER_JOB = [
955
+ {
956
+ id: AXPDataGenerator.uuid(),
957
+ name: 'backup',
958
+ title: 'Backup Data',
959
+ process: 'backup',
960
+ trigger: '00*1*?*',
961
+ },
962
+ {
963
+ id: AXPDataGenerator.uuid(),
964
+ name: 'cancelOrder',
965
+ title: 'Auto Cancel Ecommerce Orders',
966
+ process: 'cancelOrder',
967
+ trigger: '0*1/2?***',
968
+ },
969
+ ];
970
+
971
+ class AXPSchedulerJobDataSeeder {
972
+ constructor() {
973
+ this.storageService = inject(AXPDexieEntityStorageService);
974
+ }
975
+ async seed() {
976
+ await this.storageService.initial(`${AXMSchedulerJobManagementModuleConst.moduleName}.${AXMSchedulerJobManagementModuleConst.schedulerJobEntity}`, SCHEDULER_JOB);
977
+ }
978
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPSchedulerJobDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
979
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPSchedulerJobDataSeeder }); }
980
+ }
981
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPSchedulerJobDataSeeder, decorators: [{
982
+ type: Injectable
983
+ }] });
984
+
830
985
  const TEXT_TEMPLATE_CATEGORY = [
831
986
  {
832
987
  id: AXPDataGenerator.uuid(),
@@ -951,10 +1106,10 @@ class AXPTextTemplateCategoryDataSeeder {
951
1106
  async seed() {
952
1107
  await this.storageService.initial(`${AXMTextTemplateManagementModuleConst.moduleName}.${AXMTextTemplateManagementModuleConst.categoryEntity}`, TEXT_TEMPLATE_CATEGORY);
953
1108
  }
954
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPTextTemplateCategoryDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
955
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPTextTemplateCategoryDataSeeder }); }
1109
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPTextTemplateCategoryDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1110
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPTextTemplateCategoryDataSeeder }); }
956
1111
  }
957
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPTextTemplateCategoryDataSeeder, decorators: [{
1112
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPTextTemplateCategoryDataSeeder, decorators: [{
958
1113
  type: Injectable
959
1114
  }] });
960
1115
 
@@ -965,17 +1120,115 @@ class AXPTextTemplateDataSeeder {
965
1120
  async seed() {
966
1121
  await this.storageService.initial(`${AXMTextTemplateManagementModuleConst.moduleName}.${AXMTextTemplateManagementModuleConst.templateEntity}`, TEXT_TEMPLATES);
967
1122
  }
968
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPTextTemplateDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
969
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPTextTemplateDataSeeder }); }
1123
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPTextTemplateDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1124
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPTextTemplateDataSeeder }); }
970
1125
  }
971
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPTextTemplateDataSeeder, decorators: [{
1126
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPTextTemplateDataSeeder, decorators: [{
972
1127
  type: Injectable
973
1128
  }] });
974
1129
 
1130
+ class AXPMockWidgetDataSourceProvider {
1131
+ async items() {
1132
+ return [
1133
+ {
1134
+ name: 'mock.users',
1135
+ title: 'Users',
1136
+ columns: [],
1137
+ samples: [
1138
+ {
1139
+ id: '2',
1140
+ title: 'Alex Jakson',
1141
+ },
1142
+ {
1143
+ id: '3',
1144
+ title: 'Emma Smith',
1145
+ },
1146
+ ],
1147
+ source: () => convertArrayToDataSource([
1148
+ {
1149
+ id: '1',
1150
+ title: 'Arash Oshnoudi',
1151
+ },
1152
+ {
1153
+ id: '2',
1154
+ title: 'Alex Smith',
1155
+ },
1156
+ {
1157
+ id: '3',
1158
+ title: 'Emma Jakson',
1159
+ },
1160
+ ]),
1161
+ },
1162
+ ];
1163
+ }
1164
+ }
1165
+
1166
+ class AXPFormTemplateCategoryDataSeeder {
1167
+ constructor() {
1168
+ this.storageService = inject(AXPDexieEntityStorageService);
1169
+ }
1170
+ async seed() {
1171
+ await this.storageService.initial(`${AXMFormTemplateManagementModuleConst.moduleName}.${AXMFormTemplateManagementModuleConst.categoryEntity}`, [
1172
+ {
1173
+ title: 'Risk Assessment'
1174
+ },
1175
+ {
1176
+ title: 'Servicing'
1177
+ },
1178
+ {
1179
+ title: 'Checklists'
1180
+ }
1181
+ ]);
1182
+ }
1183
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPFormTemplateCategoryDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1184
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPFormTemplateCategoryDataSeeder }); }
1185
+ }
1186
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPFormTemplateCategoryDataSeeder, decorators: [{
1187
+ type: Injectable
1188
+ }] });
1189
+
1190
+ class AXCFormTemplateManagementMockModule {
1191
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXCFormTemplateManagementMockModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1192
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.3", ngImport: i0, type: AXCFormTemplateManagementMockModule }); }
1193
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXCFormTemplateManagementMockModule, providers: [
1194
+ {
1195
+ provide: AXP_WIDGET_DATASOURCE_PROVIDER,
1196
+ useClass: AXPMockWidgetDataSourceProvider,
1197
+ multi: true,
1198
+ },
1199
+ {
1200
+ provide: AXP_DATA_SEEDER_TOKEN,
1201
+ useClass: AXPFormTemplateCategoryDataSeeder,
1202
+ multi: true,
1203
+ },
1204
+ ] }); }
1205
+ }
1206
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXCFormTemplateManagementMockModule, decorators: [{
1207
+ type: NgModule,
1208
+ args: [{
1209
+ imports: [],
1210
+ exports: [],
1211
+ declarations: [],
1212
+ providers: [
1213
+ {
1214
+ provide: AXP_WIDGET_DATASOURCE_PROVIDER,
1215
+ useClass: AXPMockWidgetDataSourceProvider,
1216
+ multi: true,
1217
+ },
1218
+ {
1219
+ provide: AXP_DATA_SEEDER_TOKEN,
1220
+ useClass: AXPFormTemplateCategoryDataSeeder,
1221
+ multi: true,
1222
+ },
1223
+ ],
1224
+ }]
1225
+ }] });
1226
+
975
1227
  class AXCMockModule {
976
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXCMockModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
977
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.0", ngImport: i0, type: AXCMockModule, imports: [AXCFormManagementMockModule, AXCConversationMockModule] }); }
978
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXCMockModule, providers: [
1228
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXCMockModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1229
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.3", ngImport: i0, type: AXCMockModule, imports: [i1$1.AXPAuthModule, AXCFormTemplateManagementMockModule,
1230
+ AXCConversationMockModule] }); }
1231
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXCMockModule, providers: [
979
1232
  AXPDexieEntityStorageService,
980
1233
  {
981
1234
  provide: AXMNotificationService,
@@ -1030,12 +1283,31 @@ class AXCMockModule {
1030
1283
  useClass: AXPCultureDataSeeder,
1031
1284
  multi: true,
1032
1285
  },
1033
- ], imports: [AXCFormManagementMockModule, AXCConversationMockModule] }); }
1286
+ {
1287
+ provide: AXP_DATA_SEEDER_TOKEN,
1288
+ useClass: AXPSchedulerJobDataSeeder,
1289
+ multi: true,
1290
+ },
1291
+ {
1292
+ provide: AXPModuleDesignerService,
1293
+ useClass: AXCModuleDesignerService,
1294
+ },
1295
+ ], imports: [AXPAuthModule.forRoot({
1296
+ strategies: [MOCKStrategy],
1297
+ }),
1298
+ AXCFormTemplateManagementMockModule,
1299
+ AXCConversationMockModule] }); }
1034
1300
  }
1035
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXCMockModule, decorators: [{
1301
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXCMockModule, decorators: [{
1036
1302
  type: NgModule,
1037
1303
  args: [{
1038
- imports: [AXCFormManagementMockModule, AXCConversationMockModule],
1304
+ imports: [
1305
+ AXPAuthModule.forRoot({
1306
+ strategies: [MOCKStrategy],
1307
+ }),
1308
+ AXCFormTemplateManagementMockModule,
1309
+ AXCConversationMockModule,
1310
+ ],
1039
1311
  exports: [],
1040
1312
  declarations: [],
1041
1313
  providers: [
@@ -1093,6 +1365,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
1093
1365
  useClass: AXPCultureDataSeeder,
1094
1366
  multi: true,
1095
1367
  },
1368
+ {
1369
+ provide: AXP_DATA_SEEDER_TOKEN,
1370
+ useClass: AXPSchedulerJobDataSeeder,
1371
+ multi: true,
1372
+ },
1373
+ {
1374
+ provide: AXPModuleDesignerService,
1375
+ useClass: AXCModuleDesignerService,
1376
+ },
1096
1377
  ],
1097
1378
  }]
1098
1379
  }] });