@acorex/connectivity 20.0.25 → 20.1.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.
@@ -3,13 +3,13 @@ import { AXPSystemActionType, extractTextFromHtml, AXPDataGenerator, applySortAr
3
3
  import Dexie from 'dexie';
4
4
  import { transform, isEqual } from 'lodash';
5
5
  import * as i2 from '@acorex/platform/auth';
6
- import { AXPSessionService, AXP_APPLICATION_LOADER, AXP_FEATURE_LOADER, AXP_PERMISSION_LOADER, AXP_TENANT_LOADER, AXPAuthModule } from '@acorex/platform/auth';
6
+ import { AXPSessionService, AXPAuthStrategy, AXP_APPLICATION_LOADER, AXP_FEATURE_LOADER, AXP_PERMISSION_LOADER, AXP_TENANT_LOADER, AXPAuthModule, AXPSessionContext } from '@acorex/platform/auth';
7
7
  import { AXPLockService, AXPFileStorageStatus, AXPFileStorageService, AXPRegionalService, AXP_SEARCH_PROVIDER } from '@acorex/platform/common';
8
8
  import { AXPEntityDefinitionRegistryService, AXPEntityStorageService, AXP_DATA_SEEDER_TOKEN, AXPDataSeederService } from '@acorex/platform/layout/entity';
9
9
  import * as i0 from '@angular/core';
10
10
  import { inject, Injectable, NgModule } from '@angular/core';
11
11
  import { AXSafePipe } from '@acorex/core/pipes';
12
- import { RootConfig, AXMUsersEntityService, AXMSessionStatusTypes, AXMDeviceSessionsServiceImpl, AXMDeviceSessionsService } from '@acorex/modules/security-management';
12
+ import { RootConfig, AXMUsersEntityService } from '@acorex/modules/security-management';
13
13
  import { AXMFormTemplateTypes, RootConfig as RootConfig$1, AXMFormTemplateManagementCategoryEntityServiceImpl, AXMFormTemplateManagementCategoryEntityService, AXMPermissionsKeys } from '@acorex/modules/form-template-management';
14
14
  import { AXMOrganizationNodeType, RootConfig as RootConfig$2 } from '@acorex/modules/organization-management';
15
15
  import { AXPRuntimeModule, provideCommandSetups, AXPQueryService } from '@acorex/platform/runtime';
@@ -24,6 +24,7 @@ import { AXMPermissionsKeys as AXMPermissionsKeys$1, RootConfig as RootConfig$e
24
24
  import { RootConfig as RootConfig$7, AXMMetaDataDefinitionCategoryServiceImpl, AXMMetaDataDefinitionService, AXMMetaDataDefinitionCategoryService } from '@acorex/modules/platform-management';
25
25
  import { AXFileService } from '@acorex/core/file';
26
26
  import { RootConfig as RootConfig$8 } from '@acorex/modules/text-template-management';
27
+ import { AXMSessionStatusTypes, AXMDeviceSessionsServiceImpl, AXMDeviceSessionsService } from '@acorex/modules/auth';
27
28
  import { RootConfig as RootConfig$9 } from '@acorex/modules/scheduler-job-management';
28
29
  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';
29
30
  import { RootConfig as RootConfig$b } from '@acorex/modules/training-management';
@@ -33,7 +34,8 @@ import { RootConfig as RootConfig$f } from '@acorex/modules/log-management';
33
34
  import { AXTranslationService } from '@acorex/core/translation';
34
35
  import { RootConfig as RootConfig$g } from '@acorex/modules/calendar-management';
35
36
  import { RootConfig as RootConfig$h } from '@acorex/modules/data-management';
36
- import { convertArrayToDataSource } from '@acorex/cdk/common';
37
+ import { JwtUtil } from '@acorex/connectivity/api';
38
+ import { Router } from '@angular/router';
37
39
 
38
40
  class AXPDexieEntityStorageService extends Dexie {
39
41
  constructor() {
@@ -289,15 +291,16 @@ class AXPDexieEntityStorageService extends Dexie {
289
291
  items: result.slice(request.skip, (request.skip ?? 0) + (request.take ?? 0)),
290
292
  });
291
293
  }
292
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXPDexieEntityStorageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
293
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXPDexieEntityStorageService }); }
294
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPDexieEntityStorageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
295
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPDexieEntityStorageService }); }
294
296
  }
295
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXPDexieEntityStorageService, decorators: [{
297
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPDexieEntityStorageService, decorators: [{
296
298
  type: Injectable
297
299
  }], ctorParameters: () => [] });
298
300
 
299
- class MOCKStrategy {
301
+ class MOCKStrategy extends AXPAuthStrategy {
300
302
  constructor() {
303
+ super();
301
304
  this.entityRegistery = inject(AXPEntityDefinitionRegistryService);
302
305
  }
303
306
  get name() {
@@ -376,10 +379,13 @@ class MOCKStrategy {
376
379
  },
377
380
  };
378
381
  }
379
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: MOCKStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
380
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: MOCKStrategy }); }
382
+ async startAuthorizationFlow(tenantId, applicationId) {
383
+ throw new Error('startAuthorizationFlow is not implemented for this strategy');
384
+ }
385
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: MOCKStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
386
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: MOCKStrategy }); }
381
387
  }
382
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: MOCKStrategy, decorators: [{
388
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: MOCKStrategy, decorators: [{
383
389
  type: Injectable
384
390
  }], ctorParameters: () => [] });
385
391
 
@@ -482,10 +488,10 @@ class AXPFormTemplateCategoryDataSeeder {
482
488
  await this.storageService.initial(`${RootConfig$1.module.name}.${RootConfig$1.entities.category.name}`, TEMPLATE_CATEGORIES);
483
489
  await this.storageService.initial(`${RootConfig$1.module.name}.${RootConfig$1.entities.template.name}`, TEMPLATE_FORM_TEMPLATES);
484
490
  }
485
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXPFormTemplateCategoryDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
486
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXPFormTemplateCategoryDataSeeder }); }
491
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPFormTemplateCategoryDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
492
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPFormTemplateCategoryDataSeeder }); }
487
493
  }
488
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXPFormTemplateCategoryDataSeeder, decorators: [{
494
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPFormTemplateCategoryDataSeeder, decorators: [{
489
495
  type: Injectable
490
496
  }] });
491
497
 
@@ -502,14 +508,9 @@ class AXCTemplateCategoryService extends AXMFormTemplateManagementCategoryEntity
502
508
  }
503
509
 
504
510
  class AXCFormTemplateManagementMockModule {
505
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCFormTemplateManagementMockModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
506
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.7", ngImport: i0, type: AXCFormTemplateManagementMockModule }); }
507
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCFormTemplateManagementMockModule, providers: [
508
- // {
509
- // provide: AXP_WIDGET_DATASOURCE_PROVIDER,
510
- // useClass: AXPMockWidgetDataSourceProvider,
511
- // multi: true,
512
- // },
511
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCFormTemplateManagementMockModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
512
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.3", ngImport: i0, type: AXCFormTemplateManagementMockModule }); }
513
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCFormTemplateManagementMockModule, providers: [
513
514
  {
514
515
  provide: AXP_DATA_SEEDER_TOKEN,
515
516
  useClass: AXPFormTemplateCategoryDataSeeder,
@@ -521,18 +522,13 @@ class AXCFormTemplateManagementMockModule {
521
522
  },
522
523
  ] }); }
523
524
  }
524
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCFormTemplateManagementMockModule, decorators: [{
525
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCFormTemplateManagementMockModule, decorators: [{
525
526
  type: NgModule,
526
527
  args: [{
527
528
  imports: [],
528
529
  exports: [],
529
530
  declarations: [],
530
531
  providers: [
531
- // {
532
- // provide: AXP_WIDGET_DATASOURCE_PROVIDER,
533
- // useClass: AXPMockWidgetDataSourceProvider,
534
- // multi: true,
535
- // },
536
532
  {
537
533
  provide: AXP_DATA_SEEDER_TOKEN,
538
534
  useClass: AXPFormTemplateCategoryDataSeeder,
@@ -546,6 +542,39 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImpor
546
542
  }]
547
543
  }] });
548
544
 
545
+ function generateEmploymentType() {
546
+ const uuid = AXPDataGenerator.uuid;
547
+ const employmentTypes = [
548
+ {
549
+ id: uuid(),
550
+ title: 'Full-Time',
551
+ description: 'An employment category for full-time engagements.',
552
+ },
553
+ {
554
+ id: uuid(),
555
+ title: 'Part-Time',
556
+ description: 'An employment category for part-time work schedules.',
557
+ },
558
+ {
559
+ id: uuid(),
560
+ title: 'Contract',
561
+ description: 'An employment type based on fixed-term contractual agreements.',
562
+ },
563
+ {
564
+ id: uuid(),
565
+ title: 'Internship',
566
+ description: 'An employment type designed for internship programs.',
567
+ },
568
+ {
569
+ id: uuid(),
570
+ title: 'Freelance',
571
+ description: 'An employment type for freelance and project-based work.',
572
+ },
573
+ ];
574
+ return employmentTypes;
575
+ }
576
+ const EMPLOYMENT_TYPES_MOCK = generateEmploymentType();
577
+
549
578
  const SOFTWARE_COMPANY_ORGANIZATION = {
550
579
  id: '1',
551
580
  title: 'Tech Innovators Inc.',
@@ -1311,7 +1340,7 @@ function generateResponsibility() {
1311
1340
  description: '',
1312
1341
  id: AXPDataGenerator.uuid(),
1313
1342
  title: responsibility,
1314
- categoryIds: [parentObj.id],
1343
+ categoriesId: [parentObj.id],
1315
1344
  });
1316
1345
  });
1317
1346
  }
@@ -1428,10 +1457,11 @@ function generateSkill() {
1428
1457
  const parentObj = skillsCategory.find((el) => el.title === parent);
1429
1458
  if (parentObj) {
1430
1459
  children.forEach((skill) => {
1431
- skills.push({ description: '', id: AXPDataGenerator.uuid(), title: skill, categoryIds: [parentObj.id] });
1460
+ skills.push({ description: '', id: AXPDataGenerator.uuid(), title: skill, categoriesId: [parentObj.id] });
1432
1461
  });
1433
1462
  }
1434
1463
  });
1464
+ console.log('SKILLS List:', skills);
1435
1465
  return skills;
1436
1466
  }
1437
1467
  const SKILLS_MOCK = generateSkill();
@@ -1550,11 +1580,11 @@ function generatePosition() {
1550
1580
  description: '',
1551
1581
  id: AXPDataGenerator.uuid(),
1552
1582
  title: position,
1553
- categoryIds: [parentObj.id],
1554
- skillId: SKILLS_MOCK[1].id,
1555
- skill: SKILLS_MOCK[1],
1556
- responsibilityId: RESPONSIBILITIES_MOCK[0].id,
1557
- responsibility: RESPONSIBILITIES_MOCK[0],
1583
+ categoriesId: [parentObj.id],
1584
+ skillsId: [SKILLS_MOCK[1].id],
1585
+ skills: [SKILLS_MOCK[1]],
1586
+ responsibilitiesId: [RESPONSIBILITIES_MOCK[0].id],
1587
+ responsibilities: [RESPONSIBILITIES_MOCK[0]],
1558
1588
  });
1559
1589
  });
1560
1590
  }
@@ -1675,9 +1705,9 @@ function generateRole() {
1675
1705
  description: '',
1676
1706
  id: AXPDataGenerator.uuid(),
1677
1707
  title: role,
1678
- categoryIds: [parentObj.id],
1679
- skillId: SKILLS_MOCK[2].id,
1680
- skill: SKILLS_MOCK[2],
1708
+ categoriesId: [parentObj.id],
1709
+ skillsId: [SKILLS_MOCK[2].id],
1710
+ skills: [SKILLS_MOCK[2]],
1681
1711
  });
1682
1712
  });
1683
1713
  }
@@ -1853,33 +1883,7 @@ class AXCOrganizationManagementDataSeeder {
1853
1883
  // Role
1854
1884
  await this.storageService.initial(RootConfig$2.entities.role.source, ROLES_MOCK);
1855
1885
  // Employment Types
1856
- await this.storageService.initial(RootConfig$2.entities.employmentType.source, [
1857
- {
1858
- id: uuid(),
1859
- title: 'Full-Time',
1860
- description: 'An employment category for full-time engagements.',
1861
- },
1862
- {
1863
- id: uuid(),
1864
- title: 'Part-Time',
1865
- description: 'An employment category for part-time work schedules.',
1866
- },
1867
- {
1868
- id: uuid(),
1869
- title: 'Contract',
1870
- description: 'An employment type based on fixed-term contractual agreements.',
1871
- },
1872
- {
1873
- id: uuid(),
1874
- title: 'Internship',
1875
- description: 'An employment type designed for internship programs.',
1876
- },
1877
- {
1878
- id: uuid(),
1879
- title: 'Freelance',
1880
- description: 'An employment type for freelance and project-based work.',
1881
- },
1882
- ]);
1886
+ await this.storageService.initial(RootConfig$2.entities.employmentType.source, EMPLOYMENT_TYPES_MOCK);
1883
1887
  // Teams
1884
1888
  await this.storageService.initial(RootConfig$2.entities.team.source, [
1885
1889
  {
@@ -1936,21 +1940,12 @@ class AXCOrganizationManagementDataSeeder {
1936
1940
  birthDate: new Date('1985-02-15'),
1937
1941
  employeeCode: 'EMP002',
1938
1942
  email: 'jane.smith@example.com',
1939
- role: {
1940
- id: uuid(),
1941
- title: 'Software Engineer',
1942
- description: 'Responsible for developing and maintaining software applications.',
1943
- },
1944
- position: {
1945
- id: uuid(),
1946
- title: 'Backend Developer',
1947
- description: 'A role responsible for server-side logic and integration with databases.',
1948
- },
1949
- employmentType: {
1950
- id: uuid(),
1951
- title: 'Full-Time',
1952
- description: 'An employment category for full-time engagements.',
1953
- },
1943
+ rolesId: [ROLES_MOCK[0].id],
1944
+ roles: [ROLES_MOCK[0]],
1945
+ positionsId: [POSITIONS_MOCK[0].id],
1946
+ positions: [POSITIONS_MOCK[0]],
1947
+ employmentTypesId: [EMPLOYMENT_TYPES_MOCK[0].id],
1948
+ employmentTypes: [EMPLOYMENT_TYPES_MOCK[0]],
1954
1949
  hireDate: new Date('2010-06-01'),
1955
1950
  },
1956
1951
  {
@@ -1960,21 +1955,12 @@ class AXCOrganizationManagementDataSeeder {
1960
1955
  birthDate: new Date('1978-03-22'),
1961
1956
  employeeCode: 'EMP003',
1962
1957
  email: 'michael.johnson@example.com',
1963
- role: {
1964
- id: uuid(),
1965
- title: 'Project Manager',
1966
- description: 'Oversees project execution, ensures timely delivery, and manages team coordination.',
1967
- },
1968
- position: {
1969
- id: uuid(),
1970
- title: 'Sales Manager',
1971
- description: 'A leadership position overseeing sales strategies and team performance.',
1972
- },
1973
- employmentType: {
1974
- id: uuid(),
1975
- title: 'Full-Time',
1976
- description: 'An employment category for full-time engagements.',
1977
- },
1958
+ rolesId: [ROLES_MOCK[1].id],
1959
+ roles: [ROLES_MOCK[1]],
1960
+ positionsId: [POSITIONS_MOCK[1].id],
1961
+ positions: [POSITIONS_MOCK[1]],
1962
+ employmentTypesId: [EMPLOYMENT_TYPES_MOCK[1]],
1963
+ employmentTypes: [EMPLOYMENT_TYPES_MOCK[1]],
1978
1964
  hireDate: new Date('2005-09-12'),
1979
1965
  },
1980
1966
  {
@@ -1984,21 +1970,12 @@ class AXCOrganizationManagementDataSeeder {
1984
1970
  birthDate: new Date('1992-04-10'),
1985
1971
  employeeCode: 'EMP004',
1986
1972
  email: 'emma.davis@example.com',
1987
- role: {
1988
- id: uuid(),
1989
- title: 'HR Manager',
1990
- description: 'Handles recruitment, employee relations, and organizational policies.',
1991
- },
1992
- position: {
1993
- id: uuid(),
1994
- title: 'Call Center Representative',
1995
- description: 'A position dedicated to managing inbound and outbound customer calls.',
1996
- },
1997
- employmentType: {
1998
- id: uuid(),
1999
- title: 'Part-Time',
2000
- description: 'An employment category for part-time work schedules.',
2001
- },
1973
+ rolesId: [ROLES_MOCK[2].id],
1974
+ roles: [ROLES_MOCK[2]],
1975
+ positionsId: [POSITIONS_MOCK[2].id],
1976
+ positions: [POSITIONS_MOCK[2]],
1977
+ employmentTypesId: [EMPLOYMENT_TYPES_MOCK[2].id],
1978
+ employmentTypes: [EMPLOYMENT_TYPES_MOCK[2]],
2002
1979
  hireDate: new Date('2018-01-15'),
2003
1980
  },
2004
1981
  {
@@ -2008,21 +1985,12 @@ class AXCOrganizationManagementDataSeeder {
2008
1985
  birthDate: new Date('1980-09-18'),
2009
1986
  employeeCode: 'EMP009',
2010
1987
  email: 'robert.wilson@example.com',
2011
- role: {
2012
- id: uuid(),
2013
- title: 'System Administrator',
2014
- description: 'Manages IT infrastructure, ensures security, and maintains system performance.',
2015
- },
2016
- position: {
2017
- id: uuid(),
2018
- title: 'Technical Support Specialist',
2019
- description: 'A role providing specialized technical assistance and problem resolution.',
2020
- },
2021
- employmentType: {
2022
- id: uuid(),
2023
- title: 'Contract',
2024
- description: 'An employment type based on fixed-term contractual agreements.',
2025
- },
1988
+ rolesId: [ROLES_MOCK[3].id],
1989
+ roles: [ROLES_MOCK[3]],
1990
+ positionsId: [POSITIONS_MOCK[3].id],
1991
+ positions: [POSITIONS_MOCK[3]],
1992
+ employmentTypesId: [EMPLOYMENT_TYPES_MOCK[3].id],
1993
+ employmentTypes: [EMPLOYMENT_TYPES_MOCK[3]],
2026
1994
  hireDate: new Date('2012-03-05'),
2027
1995
  },
2028
1996
  {
@@ -2032,21 +2000,12 @@ class AXCOrganizationManagementDataSeeder {
2032
2000
  birthDate: new Date('1987-10-29'),
2033
2001
  employeeCode: 'EMP010',
2034
2002
  email: 'lisa.brown@example.com',
2035
- role: {
2036
- id: uuid(),
2037
- title: 'HR Manager',
2038
- description: 'Handles recruitment, employee relations, and organizational policies.',
2039
- },
2040
- position: {
2041
- id: uuid(),
2042
- title: 'Sales Representative',
2043
- description: 'A role tasked with building client relationships and closing sales deals.',
2044
- },
2045
- employmentType: {
2046
- id: uuid(),
2047
- title: 'Internship',
2048
- description: 'An employment type designed for internship programs.',
2049
- },
2003
+ rolesId: [ROLES_MOCK[4].id],
2004
+ roles: [ROLES_MOCK[4]],
2005
+ positionsId: [POSITIONS_MOCK[4].id],
2006
+ positions: [POSITIONS_MOCK[4]],
2007
+ employmentTypesId: [EMPLOYMENT_TYPES_MOCK[4].id],
2008
+ employmentTypes: [EMPLOYMENT_TYPES_MOCK[4]],
2050
2009
  hireDate: new Date('2014-07-11'),
2051
2010
  },
2052
2011
  ]);
@@ -2067,17 +2026,17 @@ class AXCOrganizationManagementDataSeeder {
2067
2026
  // Responsibility
2068
2027
  await this.storageService.initial(RootConfig$2.entities.responsibility.source, RESPONSIBILITIES_MOCK);
2069
2028
  }
2070
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCOrganizationManagementDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
2071
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCOrganizationManagementDataSeeder }); }
2029
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCOrganizationManagementDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
2030
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCOrganizationManagementDataSeeder }); }
2072
2031
  }
2073
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCOrganizationManagementDataSeeder, decorators: [{
2032
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCOrganizationManagementDataSeeder, decorators: [{
2074
2033
  type: Injectable
2075
2034
  }] });
2076
2035
 
2077
2036
  class AXCFOrganizationManagementMockModule {
2078
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCFOrganizationManagementMockModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
2079
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.7", ngImport: i0, type: AXCFOrganizationManagementMockModule }); }
2080
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCFOrganizationManagementMockModule, providers: [
2037
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCFOrganizationManagementMockModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
2038
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.3", ngImport: i0, type: AXCFOrganizationManagementMockModule }); }
2039
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCFOrganizationManagementMockModule, providers: [
2081
2040
  {
2082
2041
  provide: AXP_DATA_SEEDER_TOKEN,
2083
2042
  useClass: AXCOrganizationManagementDataSeeder,
@@ -2085,7 +2044,7 @@ class AXCFOrganizationManagementMockModule {
2085
2044
  },
2086
2045
  ] }); }
2087
2046
  }
2088
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCFOrganizationManagementMockModule, decorators: [{
2047
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCFOrganizationManagementMockModule, decorators: [{
2089
2048
  type: NgModule,
2090
2049
  args: [{
2091
2050
  imports: [],
@@ -2239,6 +2198,7 @@ const commonParameterGroups = [
2239
2198
  description: 'Beginning of the reporting period',
2240
2199
  widget: {
2241
2200
  type: AXPWidgetsList.Editors.DateTimeBox,
2201
+ defaultValue: '{{ date.today() }}',
2242
2202
  options: {
2243
2203
  format: 'date',
2244
2204
  validations: [
@@ -2255,6 +2215,7 @@ const commonParameterGroups = [
2255
2215
  description: 'End of the reporting period',
2256
2216
  widget: {
2257
2217
  type: AXPWidgetsList.Editors.DateTimeBox,
2218
+ defaultValue: '{{ date.tomorrow() }}',
2258
2219
  options: {
2259
2220
  format: 'date',
2260
2221
  }
@@ -2274,16 +2235,7 @@ const commonParameterGroups = [
2274
2235
  widget: {
2275
2236
  type: AXPWidgetsList.Editors.SelectBox,
2276
2237
  options: {
2277
- dataSource: [
2278
- 'All Departments',
2279
- 'Finance',
2280
- 'Operations',
2281
- 'Human Resources',
2282
- 'Sales',
2283
- 'Marketing',
2284
- 'IT',
2285
- 'Legal'
2286
- ]
2238
+ dataSource: 'departments'
2287
2239
  },
2288
2240
  },
2289
2241
  },
@@ -2426,7 +2378,7 @@ const whsIncidentParameterGroups = [
2426
2378
  widget: {
2427
2379
  type: AXPWidgetsList.Editors.SelectBox,
2428
2380
  options: {
2429
- dataSource: ['Production', 'Maintenance', 'Logistics', 'HR', 'IT', 'Security', 'Quality Control'],
2381
+ dataSource: 'departments',
2430
2382
  multiple: true
2431
2383
  }
2432
2384
  }
@@ -2950,75 +2902,227 @@ function generateColumnsForReportType(reportTitle) {
2950
2902
  const titleLower = reportTitle.toLowerCase();
2951
2903
  if (titleLower.includes('balance sheet') || titleLower.includes('financial')) {
2952
2904
  return [
2953
- { field: 'account', title: 'Account', visible: true, width: 150, align: 'left' },
2954
- { field: 'accountCode', title: 'Code', visible: true, width: 100, align: 'left' },
2955
- { field: 'currentAmount', title: 'Current Amount', visible: true, width: 120, align: 'right' },
2956
- { field: 'previousAmount', title: 'Previous Amount', visible: true, width: 120, align: 'right' },
2957
- { field: 'variance', title: 'Variance', visible: true, width: 100, align: 'right' },
2958
- { field: 'percentage', title: 'Change %', visible: true, width: 80, align: 'right' },
2959
- { field: 'category', title: 'Category', visible: true, width: 100, align: 'left' },
2905
+ { field: 'account', title: 'Account', visible: true, width: 150, align: 'left', widget: { type: AXPWidgetsList.Editors.TextBox, path: 'account' } },
2906
+ { field: 'accountCode', title: 'Code', visible: true, width: 100, align: 'left', widget: { type: AXPWidgetsList.Editors.TextBox, path: 'accountCode' } },
2907
+ { field: 'currentAmount', title: 'Current Amount', visible: true, width: 120, align: 'right', widget: { type: AXPWidgetsList.Editors.NumberBox, path: 'currentAmount' } },
2908
+ { field: 'previousAmount', title: 'Previous Amount', visible: true, width: 120, align: 'right', widget: { type: AXPWidgetsList.Editors.NumberBox, path: 'previousAmount' } },
2909
+ { field: 'variance', title: 'Variance', visible: true, width: 100, align: 'right', widget: { type: AXPWidgetsList.Editors.NumberBox, path: 'variance' } },
2910
+ { field: 'percentage', title: 'Change %', visible: true, width: 80, align: 'right', widget: { type: AXPWidgetsList.Editors.NumberBox, path: 'percentage' } },
2911
+ { field: 'category', title: 'Category', visible: true, width: 100, align: 'left', widget: { type: AXPWidgetsList.Editors.TextBox, path: 'category' } },
2960
2912
  ];
2961
2913
  }
2962
2914
  else if (titleLower.includes('income') || titleLower.includes('profit')) {
2963
2915
  return [
2964
- { field: 'lineItem', title: 'Line Item', visible: true, width: 150, align: 'left' },
2965
- { field: 'amount', title: 'Amount', visible: true, width: 120, align: 'right' },
2966
- { field: 'budget', title: 'Budget', visible: true, width: 120, align: 'right' },
2967
- { field: 'variance', title: 'Variance', visible: true, width: 100, align: 'right' },
2968
- { field: 'percentOfRevenue', title: '% of Revenue', visible: true, width: 100, align: 'right' },
2969
- { field: 'category', title: 'Category', visible: true, width: 100, align: 'left' },
2916
+ { field: 'lineItem', title: 'Line Item', visible: true, width: 150, align: 'left', widget: { type: AXPWidgetsList.Editors.TextBox, path: 'lineItem' } },
2917
+ { field: 'amount', title: 'Amount', visible: true, width: 120, align: 'right', widget: { type: AXPWidgetsList.Editors.NumberBox, path: 'amount' } },
2918
+ { field: 'budget', title: 'Budget', visible: true, width: 120, align: 'right', widget: { type: AXPWidgetsList.Editors.NumberBox, path: 'budget' } },
2919
+ { field: 'variance', title: 'Variance', visible: true, width: 100, align: 'right', widget: { type: AXPWidgetsList.Editors.NumberBox, path: 'variance' } },
2920
+ { field: 'percentOfRevenue', title: '% of Revenue', visible: true, width: 100, align: 'right', widget: { type: AXPWidgetsList.Editors.NumberBox, path: 'percentOfRevenue' } },
2921
+ { field: 'category', title: 'Category', visible: true, width: 100, align: 'left', widget: { type: AXPWidgetsList.Editors.TextBox, path: 'category' } },
2970
2922
  ];
2971
2923
  }
2972
2924
  else if (titleLower.includes('employee') || titleLower.includes('performance')) {
2973
2925
  return [
2974
- { field: 'employeeId', title: 'Employee ID', visible: true, width: 100, align: 'left' },
2975
- { field: 'name', title: 'Name', visible: true, width: 150, align: 'left' },
2976
- { field: 'department', title: 'Department', visible: true, width: 120, align: 'left' },
2977
- { field: 'position', title: 'Position', visible: true, width: 120, align: 'left' },
2978
- { field: 'performanceScore', title: 'Score', visible: true, width: 80, align: 'center' },
2979
- { field: 'goalsCompleted', title: 'Goals Done', visible: true, width: 90, align: 'center' },
2980
- { field: 'totalGoals', title: 'Total Goals', visible: true, width: 90, align: 'center' },
2981
- { field: 'status', title: 'Status', visible: true, width: 80, align: 'center' },
2926
+ { field: 'employeeId', title: 'Employee ID', visible: true, width: 100, align: 'left', widget: { type: AXPWidgetsList.Editors.TextBox, path: 'employeeId' } },
2927
+ { field: 'name', title: 'Name', visible: true, width: 150, align: 'left', widget: { type: AXPWidgetsList.Editors.TextBox, path: 'name' } },
2928
+ { field: 'department', title: 'Department', visible: true, width: 120, align: 'left', widget: { type: AXPWidgetsList.Editors.TextBox, path: 'department' } },
2929
+ { field: 'position', title: 'Position', visible: true, width: 120, align: 'left', widget: { type: AXPWidgetsList.Editors.TextBox, path: 'position' } },
2930
+ { field: 'performanceScore', title: 'Score', visible: true, width: 80, align: 'center', widget: { type: AXPWidgetsList.Editors.NumberBox, path: 'performanceScore' } },
2931
+ { field: 'goalsCompleted', title: 'Goals Done', visible: true, width: 90, align: 'center', widget: { type: AXPWidgetsList.Editors.NumberBox, path: 'goalsCompleted' } },
2932
+ { field: 'totalGoals', title: 'Total Goals', visible: true, width: 90, align: 'center', widget: { type: AXPWidgetsList.Editors.NumberBox, path: 'totalGoals' } },
2933
+ { field: 'status', title: 'Status', visible: true, width: 80, align: 'center', widget: { type: AXPWidgetsList.Editors.TextBox, path: 'status' } },
2982
2934
  ];
2983
2935
  }
2984
2936
  else if (titleLower.includes('sales') || titleLower.includes('revenue')) {
2985
2937
  return [
2986
- { field: 'salesRep', title: 'Sales Rep', visible: true, width: 120, align: 'left' },
2987
- { field: 'product', title: 'Product', visible: true, width: 100, align: 'left' },
2988
- { field: 'region', title: 'Region', visible: true, width: 80, align: 'left' },
2989
- { field: 'customer', title: 'Customer', visible: true, width: 150, align: 'left' },
2990
- { field: 'revenue', title: 'Revenue', visible: true, width: 100, align: 'right' },
2991
- { field: 'units', title: 'Units', visible: true, width: 80, align: 'right' },
2992
- { field: 'commission', title: 'Commission', visible: true, width: 100, align: 'right' },
2993
- { field: 'status', title: 'Status', visible: true, width: 80, align: 'center' },
2938
+ { field: 'salesRep', title: 'Sales Rep', visible: true, width: 120, align: 'left', widget: { type: AXPWidgetsList.Editors.TextBox, path: 'salesRep' } },
2939
+ { field: 'product', title: 'Product', visible: true, width: 100, align: 'left', widget: { type: AXPWidgetsList.Editors.TextBox, path: 'product' } },
2940
+ { field: 'region', title: 'Region', visible: true, width: 80, align: 'left', widget: { type: AXPWidgetsList.Editors.TextBox, path: 'region' } },
2941
+ { field: 'customer', title: 'Customer', visible: true, width: 150, align: 'left', widget: { type: AXPWidgetsList.Editors.TextBox, path: 'customer' } },
2942
+ { field: 'revenue', title: 'Revenue', visible: true, width: 100, align: 'right', widget: { type: AXPWidgetsList.Editors.NumberBox, path: 'revenue' } },
2943
+ { field: 'units', title: 'Units', visible: true, width: 80, align: 'right', widget: { type: AXPWidgetsList.Editors.NumberBox, path: 'units' } },
2944
+ { field: 'commission', title: 'Commission', visible: true, width: 100, align: 'right', widget: { type: AXPWidgetsList.Editors.NumberBox, path: 'commission' } },
2945
+ { field: 'status', title: 'Status', visible: true, width: 80, align: 'center', widget: { type: AXPWidgetsList.Editors.TextBox, path: 'status' } },
2994
2946
  ];
2995
2947
  }
2996
2948
  else if (titleLower.includes('incident') || titleLower.includes('safety')) {
2997
2949
  return [
2998
- { field: 'incidentId', title: 'Incident ID', visible: true, width: 100, align: 'left' },
2999
- { field: 'type', title: 'Type', visible: true, width: 120, align: 'left' },
3000
- { field: 'severity', title: 'Severity', visible: true, width: 80, align: 'center' },
3001
- { field: 'location', title: 'Location', visible: true, width: 120, align: 'left' },
3002
- { field: 'reportedBy', title: 'Reported By', visible: true, width: 120, align: 'left' },
3003
- { field: 'dateReported', title: 'Date Reported', visible: true, width: 100, align: 'center' },
3004
- { field: 'status', title: 'Status', visible: true, width: 100, align: 'center' },
3005
- { field: 'daysToResolve', title: 'Days to Resolve', visible: true, width: 100, align: 'right' },
2950
+ { field: 'incidentId', title: 'Incident ID', visible: true, width: 100, align: 'left', widget: { type: AXPWidgetsList.Editors.TextBox, path: 'incidentId' } },
2951
+ { field: 'type', title: 'Type', visible: true, width: 120, align: 'left', widget: { type: AXPWidgetsList.Editors.TextBox, path: 'type' } },
2952
+ { field: 'severity', title: 'Severity', visible: true, width: 80, align: 'center', widget: { type: AXPWidgetsList.Editors.TextBox, path: 'severity' } },
2953
+ { field: 'location', title: 'Location', visible: true, width: 120, align: 'left', widget: { type: AXPWidgetsList.Editors.TextBox, path: 'location' } },
2954
+ { field: 'reportedBy', title: 'Reported By', visible: true, width: 120, align: 'left', widget: { type: AXPWidgetsList.Editors.TextBox, path: 'reportedBy' } },
2955
+ { field: 'dateReported', title: 'Date Reported', visible: true, width: 100, align: 'center', widget: { type: AXPWidgetsList.Editors.TextBox, path: 'dateReported' } },
2956
+ { field: 'status', title: 'Status', visible: true, width: 100, align: 'center', widget: { type: AXPWidgetsList.Editors.TextBox, path: 'status' } },
2957
+ { field: 'daysToResolve', title: 'Days to Resolve', visible: true, width: 100, align: 'right', widget: { type: AXPWidgetsList.Editors.NumberBox, path: 'daysToResolve' } },
3006
2958
  ];
3007
2959
  }
3008
2960
  else {
3009
2961
  // Generic columns for other report types
3010
2962
  return [
3011
- { field: 'title', title: 'Title', visible: true, width: 200, align: 'left' },
3012
- { field: 'category', title: 'Category', visible: true, width: 100, align: 'left' },
3013
- { field: 'value', title: 'Value', visible: true, width: 80, align: 'right' },
3014
- { field: 'status', title: 'Status', visible: true, width: 80, align: 'center' },
3015
- { field: 'priority', title: 'Priority', visible: true, width: 80, align: 'center' },
3016
- { field: 'owner', title: 'Owner', visible: true, width: 120, align: 'left' },
3017
- { field: 'createdDate', title: 'Created', visible: true, width: 100, align: 'center' },
2963
+ { field: 'title', title: 'Title', visible: true, width: 300, align: 'left', widget: { type: AXPWidgetsList.Editors.TextBox, path: 'title' } },
2964
+ { field: 'category', title: 'Category', visible: true, width: 200, align: 'left', widget: { type: AXPWidgetsList.Editors.TextBox, path: 'category' } },
2965
+ { field: 'value', title: 'Value', visible: true, width: 100, align: 'right', widget: { type: AXPWidgetsList.Editors.NumberBox, path: 'value' } },
2966
+ { field: 'status', title: 'Status', visible: true, width: 100, align: 'center', widget: { type: AXPWidgetsList.Editors.TextBox, path: 'status' } },
2967
+ { field: 'priority', title: 'Priority', visible: true, width: 100, align: 'center', widget: { type: AXPWidgetsList.Editors.TextBox, path: 'priority' } },
2968
+ { field: 'owner', title: 'Owner', visible: true, width: 200, align: 'left', widget: { type: AXPWidgetsList.Editors.TextBox, path: 'owner' } },
2969
+ { field: 'createdDate', title: 'Created', visible: true, width: 150, align: 'center', widget: { type: AXPWidgetsList.Editors.DateTimeBox, path: 'createdDate', options: { format: 'date' } } },
3018
2970
  ];
3019
2971
  }
3020
2972
  }
3021
2973
  //#endregion
2974
+ //#region ---- Layout Definitions Generator ----
2975
+ function generateLayoutsForReport(reportTitle) {
2976
+ const layouts = [];
2977
+ const titleLower = reportTitle.toLowerCase();
2978
+ // Generate base export options
2979
+ const baseExportOptions = {
2980
+ fileNameTemplate: 'Report_{date}_{user}',
2981
+ pdf: {
2982
+ enabled: true,
2983
+ pageSize: 'A4',
2984
+ headerEnabled: true,
2985
+ footerEnabled: true,
2986
+ showPageNumbers: true,
2987
+ watermarkText: 'Mock Report',
2988
+ watermarkOpacity: 0.5,
2989
+ compression: true,
2990
+ embedImages: true,
2991
+ },
2992
+ };
2993
+ // Table Layout (always available)
2994
+ layouts.push({
2995
+ id: AXPDataGenerator.uuid(),
2996
+ title: 'Table View',
2997
+ description: 'Detailed tabular view of the data',
2998
+ icon: 'fa-light fa-table',
2999
+ isDefault: true,
3000
+ layout: {
3001
+ type: 'table',
3002
+ columns: generateColumnsForReportType(reportTitle),
3003
+ actions: [
3004
+ {
3005
+ title: 'View',
3006
+ type: AXPSystemActionType.Delete,
3007
+ command: {
3008
+ name: 'view',
3009
+ options: {
3010
+ id: '{{ context.eval("id") }}',
3011
+ reportId: '{{ context.eval("reportId") }}',
3012
+ layoutId: '{{ context.eval("layoutId") }}',
3013
+ },
3014
+ },
3015
+ priority: 'primary',
3016
+ default: true,
3017
+ }
3018
+ ],
3019
+ options: {
3020
+ pagination: true,
3021
+ stickyHeader: true,
3022
+ stripedRows: true,
3023
+ },
3024
+ },
3025
+ dataSource: {
3026
+ type: 'query',
3027
+ name: 'getEmployeeList',
3028
+ pagination: true,
3029
+ },
3030
+ export: {
3031
+ ...baseExportOptions,
3032
+ fileNameTemplate: 'Report_{date}_{user}',
3033
+ excel: {
3034
+ enabled: true,
3035
+ sheetName: 'Report',
3036
+ },
3037
+ csv: {
3038
+ enabled: true,
3039
+ },
3040
+ pdf: {
3041
+ enabled: true,
3042
+ },
3043
+ },
3044
+ });
3045
+ // Chart Layout (for numeric data reports)
3046
+ if (titleLower.includes('performance') || titleLower.includes('revenue') ||
3047
+ titleLower.includes('sales') || titleLower.includes('financial') ||
3048
+ titleLower.includes('budget') || titleLower.includes('income') ||
3049
+ titleLower.includes('metrics') || titleLower.includes('trends')) {
3050
+ layouts.push({
3051
+ id: AXPDataGenerator.uuid(),
3052
+ title: 'Chart View',
3053
+ description: 'Visual chart representation of the data',
3054
+ icon: 'fa-light fa-chart-bar',
3055
+ layout: {
3056
+ type: 'chart',
3057
+ options: {
3058
+ chartType: titleLower.includes('trends') || titleLower.includes('monthly') ? 'line' : 'bar',
3059
+ dataMapping: {
3060
+ xField: titleLower.includes('sales') ? 'region' : 'month',
3061
+ yFields: titleLower.includes('sales') ? 'revenue' : 'value',
3062
+ groupBy: titleLower.includes('sales') ? 'region' : undefined,
3063
+ seriesField: titleLower.includes('trends') ? 'category' : undefined,
3064
+ aggregation: {
3065
+ method: 'sum',
3066
+ field: titleLower.includes('sales') ? 'revenue' : 'value'
3067
+ }
3068
+ },
3069
+ styling: {
3070
+ colorScheme: 'primary',
3071
+ gridLines: true,
3072
+ legend: {
3073
+ show: true,
3074
+ position: 'bottom'
3075
+ },
3076
+ animation: {
3077
+ enabled: true,
3078
+ duration: 750
3079
+ },
3080
+ chartSpecific: {
3081
+ bar: titleLower.includes('bar') ? {
3082
+ orientation: 'vertical',
3083
+ mode: 'grouped',
3084
+ barWidth: 0.8
3085
+ } : undefined,
3086
+ line: titleLower.includes('line') || titleLower.includes('trends') ? {
3087
+ style: 'straight',
3088
+ showPoints: true,
3089
+ tension: 0.4
3090
+ } : undefined
3091
+ }
3092
+ },
3093
+ interactivity: {
3094
+ tooltips: {
3095
+ enabled: true,
3096
+ showOnHover: true
3097
+ },
3098
+ zoom: {
3099
+ enabled: true,
3100
+ mode: 'x'
3101
+ },
3102
+ export: {
3103
+ enabled: true,
3104
+ formats: ['png', 'pdf', 'svg']
3105
+ }
3106
+ }
3107
+ },
3108
+ },
3109
+ dataSource: {
3110
+ type: 'aggregated',
3111
+ baseQuery: 'getEmployeeList',
3112
+ groupBy: titleLower.includes('sales') ? ['region'] : ['month'],
3113
+ aggregations: [
3114
+ {
3115
+ field: titleLower.includes('sales') ? 'revenue' : 'value',
3116
+ operation: 'sum',
3117
+ alias: 'total'
3118
+ }
3119
+ ]
3120
+ },
3121
+ });
3122
+ }
3123
+ return layouts;
3124
+ }
3125
+ //#endregion
3022
3126
  //#region ---- Mock Report Definitions ----
3023
3127
  function generateReportDefinitions() {
3024
3128
  const reports = [];
@@ -3113,7 +3217,7 @@ function generateReportDefinitions() {
3113
3217
  {
3114
3218
  path: 'salesRep',
3115
3219
  title: 'Sales Representative',
3116
- widget: { type: AXPWidgetsList.Editors.SelectBox, options: { dataSource: ['All', 'John Smith', 'Sarah Johnson', 'Mike Wilson'] } },
3220
+ widget: { type: AXPWidgetsList.Editors.SelectBox, options: { dataSource: "users" } },
3117
3221
  },
3118
3222
  {
3119
3223
  path: 'region',
@@ -3339,34 +3443,16 @@ function generateReportDefinitions() {
3339
3443
  break;
3340
3444
  }
3341
3445
  reportsForCategory.forEach((report) => {
3446
+ const layouts = generateLayoutsForReport(report.title);
3447
+ const defaultLayout = layouts.find(l => l.isDefault) || layouts[0];
3342
3448
  reports.push({
3343
3449
  id: AXPDataGenerator.uuid(),
3344
3450
  title: report.title,
3345
3451
  description: report.description,
3346
3452
  categoryIds: [category.id],
3347
3453
  parameterGroups: report.parameterGroups,
3348
- dataSource: {
3349
- type: 'query',
3350
- name: 'getEmployeeList',
3351
- },
3352
- layout: {
3353
- type: 'table',
3354
- columns: generateColumnsForReportType(report.title),
3355
- },
3356
- export: {
3357
- fileNameTemplate: 'Report_{date}_{user}',
3358
- pdf: {
3359
- enabled: true,
3360
- pageSize: 'A4',
3361
- headerEnabled: true,
3362
- footerEnabled: true,
3363
- showPageNumbers: true,
3364
- watermarkText: 'Mock Report',
3365
- watermarkOpacity: 0.5,
3366
- compression: true,
3367
- embedImages: true,
3368
- },
3369
- },
3454
+ layouts: layouts,
3455
+ defaultLayoutId: defaultLayout?.id || '',
3370
3456
  });
3371
3457
  });
3372
3458
  });
@@ -3397,17 +3483,17 @@ class AXPReportManagementDataSeeder {
3397
3483
  // Seed report definitions
3398
3484
  await this.storageService.initial(`${RootConfig$3.module.name}.${RootConfig$3.entities.report.name}`, REPORT_DEFINITIONS);
3399
3485
  }
3400
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXPReportManagementDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
3401
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXPReportManagementDataSeeder }); }
3486
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPReportManagementDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
3487
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPReportManagementDataSeeder }); }
3402
3488
  }
3403
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXPReportManagementDataSeeder, decorators: [{
3489
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPReportManagementDataSeeder, decorators: [{
3404
3490
  type: Injectable
3405
3491
  }] });
3406
3492
 
3407
3493
  class AXCReportManagementMockModule {
3408
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCReportManagementMockModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
3409
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.7", ngImport: i0, type: AXCReportManagementMockModule, imports: [AXPRuntimeModule] }); }
3410
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCReportManagementMockModule, providers: [
3494
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCReportManagementMockModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
3495
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.3", ngImport: i0, type: AXCReportManagementMockModule, imports: [AXPRuntimeModule] }); }
3496
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCReportManagementMockModule, providers: [
3411
3497
  {
3412
3498
  provide: AXP_DATA_SEEDER_TOKEN,
3413
3499
  useClass: AXPReportManagementDataSeeder,
@@ -3421,7 +3507,7 @@ class AXCReportManagementMockModule {
3421
3507
  ]),
3422
3508
  ], imports: [AXPRuntimeModule] }); }
3423
3509
  }
3424
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCReportManagementMockModule, decorators: [{
3510
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCReportManagementMockModule, decorators: [{
3425
3511
  type: NgModule,
3426
3512
  args: [{
3427
3513
  imports: [AXPRuntimeModule],
@@ -3516,10 +3602,10 @@ class AXCContactTypeDataSeeder {
3516
3602
  async seed() {
3517
3603
  await this.storageService.initial(`${RootConfig$4.module.name}.${RootConfig$4.entities.contactType.name}`, contactTypeMock);
3518
3604
  }
3519
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCContactTypeDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
3520
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCContactTypeDataSeeder }); }
3605
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCContactTypeDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
3606
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCContactTypeDataSeeder }); }
3521
3607
  }
3522
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCContactTypeDataSeeder, decorators: [{
3608
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCContactTypeDataSeeder, decorators: [{
3523
3609
  type: Injectable
3524
3610
  }] });
3525
3611
 
@@ -3587,10 +3673,10 @@ class AXCContactSourceDataSeeder {
3587
3673
  async seed() {
3588
3674
  await this.storageService.initial(`${RootConfig$4.module.name}.${RootConfig$4.entities.contactSource.name}`, contactSourceMock);
3589
3675
  }
3590
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCContactSourceDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
3591
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCContactSourceDataSeeder }); }
3676
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCContactSourceDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
3677
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCContactSourceDataSeeder }); }
3592
3678
  }
3593
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCContactSourceDataSeeder, decorators: [{
3679
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCContactSourceDataSeeder, decorators: [{
3594
3680
  type: Injectable
3595
3681
  }] });
3596
3682
 
@@ -3681,10 +3767,10 @@ class AXCContactMethodTypeDataSeeder {
3681
3767
  async seed() {
3682
3768
  await this.storageService.initial(`${RootConfig$4.module.name}.${RootConfig$4.entities.contactMethodType.name}`, contactMethodTypeMock);
3683
3769
  }
3684
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCContactMethodTypeDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
3685
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCContactMethodTypeDataSeeder }); }
3770
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCContactMethodTypeDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
3771
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCContactMethodTypeDataSeeder }); }
3686
3772
  }
3687
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCContactMethodTypeDataSeeder, decorators: [{
3773
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCContactMethodTypeDataSeeder, decorators: [{
3688
3774
  type: Injectable
3689
3775
  }] });
3690
3776
 
@@ -3752,10 +3838,10 @@ class AXCAddressTypeDataSeeder {
3752
3838
  async seed() {
3753
3839
  await this.storageService.initial(`${RootConfig$4.module.name}.${RootConfig$4.entities.addressType.name}`, addressTypeMock);
3754
3840
  }
3755
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCAddressTypeDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
3756
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCAddressTypeDataSeeder }); }
3841
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCAddressTypeDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
3842
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCAddressTypeDataSeeder }); }
3757
3843
  }
3758
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCAddressTypeDataSeeder, decorators: [{
3844
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCAddressTypeDataSeeder, decorators: [{
3759
3845
  type: Injectable
3760
3846
  }] });
3761
3847
 
@@ -3899,10 +3985,10 @@ class AXCContactDataSeeder {
3899
3985
  async seed() {
3900
3986
  await this.storageService.initial(`${RootConfig$4.module.name}.${RootConfig$4.entities.contact.name}`, contactMock);
3901
3987
  }
3902
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCContactDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
3903
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCContactDataSeeder }); }
3988
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCContactDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
3989
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCContactDataSeeder }); }
3904
3990
  }
3905
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCContactDataSeeder, decorators: [{
3991
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCContactDataSeeder, decorators: [{
3906
3992
  type: Injectable
3907
3993
  }] });
3908
3994
 
@@ -4072,10 +4158,10 @@ class AXCContactMethodDataSeeder {
4072
4158
  async seed() {
4073
4159
  await this.storageService.initial(`${RootConfig$4.module.name}.${RootConfig$4.entities.contactMethod.name}`, contactMethodMock);
4074
4160
  }
4075
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCContactMethodDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
4076
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCContactMethodDataSeeder }); }
4161
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCContactMethodDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
4162
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCContactMethodDataSeeder }); }
4077
4163
  }
4078
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCContactMethodDataSeeder, decorators: [{
4164
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCContactMethodDataSeeder, decorators: [{
4079
4165
  type: Injectable
4080
4166
  }] });
4081
4167
 
@@ -4235,10 +4321,10 @@ class AXCContactAddressDataSeeder {
4235
4321
  async seed() {
4236
4322
  await this.storageService.initial(`${RootConfig$4.module.name}.${RootConfig$4.entities.contactAddress.name}`, contactAddressMock);
4237
4323
  }
4238
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCContactAddressDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
4239
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCContactAddressDataSeeder }); }
4324
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCContactAddressDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
4325
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCContactAddressDataSeeder }); }
4240
4326
  }
4241
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCContactAddressDataSeeder, decorators: [{
4327
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCContactAddressDataSeeder, decorators: [{
4242
4328
  type: Injectable
4243
4329
  }] });
4244
4330
 
@@ -4322,10 +4408,10 @@ class AXCContactRelationshipDataSeeder {
4322
4408
  async seed() {
4323
4409
  await this.storageService.initial(`${RootConfig$4.module.name}.${RootConfig$4.entities.contactRelationship.name}`, contactRelationshipMock);
4324
4410
  }
4325
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCContactRelationshipDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
4326
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCContactRelationshipDataSeeder }); }
4411
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCContactRelationshipDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
4412
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCContactRelationshipDataSeeder }); }
4327
4413
  }
4328
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCContactRelationshipDataSeeder, decorators: [{
4414
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCContactRelationshipDataSeeder, decorators: [{
4329
4415
  type: Injectable
4330
4416
  }] });
4331
4417
 
@@ -4602,17 +4688,17 @@ class AXCEmergencyContactDataSeeder {
4602
4688
  // Seed contacts
4603
4689
  await this.storageService.initial(`${RootConfig$4.module.name}.${RootConfig$4.entities.emergencyContact.name}`, EMERGENCY_CONTACTS);
4604
4690
  }
4605
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCEmergencyContactDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
4606
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCEmergencyContactDataSeeder }); }
4691
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCEmergencyContactDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
4692
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCEmergencyContactDataSeeder }); }
4607
4693
  }
4608
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCEmergencyContactDataSeeder, decorators: [{
4694
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCEmergencyContactDataSeeder, decorators: [{
4609
4695
  type: Injectable
4610
4696
  }] });
4611
4697
 
4612
4698
  class AXCContactManagementMockModule {
4613
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCContactManagementMockModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
4614
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.7", ngImport: i0, type: AXCContactManagementMockModule }); }
4615
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCContactManagementMockModule, providers: [
4699
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCContactManagementMockModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
4700
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.3", ngImport: i0, type: AXCContactManagementMockModule }); }
4701
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCContactManagementMockModule, providers: [
4616
4702
  {
4617
4703
  provide: AXP_DATA_SEEDER_TOKEN,
4618
4704
  useClass: AXCContactTypeDataSeeder,
@@ -4660,7 +4746,7 @@ class AXCContactManagementMockModule {
4660
4746
  },
4661
4747
  ] }); }
4662
4748
  }
4663
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCContactManagementMockModule, decorators: [{
4749
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCContactManagementMockModule, decorators: [{
4664
4750
  type: NgModule,
4665
4751
  args: [{
4666
4752
  imports: [],
@@ -4909,6 +4995,17 @@ const mockUsers = [
4909
4995
  mobile: '555-456-7890',
4910
4996
  roleIds: [{ id: '1008', title: 'Developer' }],
4911
4997
  },
4998
+ {
4999
+ id: AXPDataGenerator.uuid(),
5000
+ username: 'admin',
5001
+ firstName: 'Admin',
5002
+ lastName: 'User',
5003
+ nationalCode: '1111111111',
5004
+ mobile: '555-000-0000',
5005
+ roleIds: [
5006
+ { id: '1001', title: 'Administrator' }
5007
+ ],
5008
+ },
4912
5009
  ];
4913
5010
 
4914
5011
  // Widget types that can be used for generating mock data
@@ -5662,17 +5759,17 @@ class AXPDashboardDataSeeder {
5662
5759
  async seed() {
5663
5760
  await this.storageService.initial(`${RootConfig$5.module.name}.${RootConfig$5.entities.dashboard.name}`, DASHBOARDS);
5664
5761
  }
5665
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXPDashboardDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
5666
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXPDashboardDataSeeder }); }
5762
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPDashboardDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
5763
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPDashboardDataSeeder }); }
5667
5764
  }
5668
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXPDashboardDataSeeder, decorators: [{
5765
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPDashboardDataSeeder, decorators: [{
5669
5766
  type: Injectable
5670
5767
  }] });
5671
5768
 
5672
5769
  class AXCDashboardManagementMockModule {
5673
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCDashboardManagementMockModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
5674
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.7", ngImport: i0, type: AXCDashboardManagementMockModule }); }
5675
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCDashboardManagementMockModule, providers: [
5770
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCDashboardManagementMockModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
5771
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.3", ngImport: i0, type: AXCDashboardManagementMockModule }); }
5772
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCDashboardManagementMockModule, providers: [
5676
5773
  {
5677
5774
  provide: AXP_DATA_SEEDER_TOKEN,
5678
5775
  useClass: AXPDashboardDataSeeder,
@@ -5680,7 +5777,7 @@ class AXCDashboardManagementMockModule {
5680
5777
  },
5681
5778
  ] }); }
5682
5779
  }
5683
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCDashboardManagementMockModule, decorators: [{
5780
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCDashboardManagementMockModule, decorators: [{
5684
5781
  type: NgModule,
5685
5782
  args: [{
5686
5783
  imports: [],
@@ -5742,10 +5839,10 @@ class AXMAiResponderService {
5742
5839
  ];
5743
5840
  return randomReplies[Math.floor(Math.random() * randomReplies.length)];
5744
5841
  }
5745
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXMAiResponderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
5746
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXMAiResponderService, providedIn: 'root' }); }
5842
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMAiResponderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
5843
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMAiResponderService, providedIn: 'root' }); }
5747
5844
  }
5748
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXMAiResponderService, decorators: [{
5845
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMAiResponderService, decorators: [{
5749
5846
  type: Injectable,
5750
5847
  args: [{
5751
5848
  providedIn: 'root',
@@ -5993,10 +6090,10 @@ class AXPMessageDataSeeder {
5993
6090
  }
5994
6091
  });
5995
6092
  }
5996
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXPMessageDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
5997
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXPMessageDataSeeder }); }
6093
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPMessageDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
6094
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPMessageDataSeeder }); }
5998
6095
  }
5999
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXPMessageDataSeeder, decorators: [{
6096
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPMessageDataSeeder, decorators: [{
6000
6097
  type: Injectable
6001
6098
  }] });
6002
6099
 
@@ -6007,17 +6104,17 @@ class AXPRoomDataSeeder {
6007
6104
  async seed() {
6008
6105
  await this.storageService.initial(`${RootConfig$6.module.name}.${RootConfig$6.entities.room.name}`, ROOMS);
6009
6106
  }
6010
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXPRoomDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
6011
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXPRoomDataSeeder }); }
6107
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPRoomDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
6108
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPRoomDataSeeder }); }
6012
6109
  }
6013
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXPRoomDataSeeder, decorators: [{
6110
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPRoomDataSeeder, decorators: [{
6014
6111
  type: Injectable
6015
6112
  }] });
6016
6113
 
6017
6114
  class AXCConversationMockModule {
6018
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCConversationMockModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
6019
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.7", ngImport: i0, type: AXCConversationMockModule }); }
6020
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCConversationMockModule, providers: [
6115
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCConversationMockModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
6116
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.3", ngImport: i0, type: AXCConversationMockModule }); }
6117
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCConversationMockModule, providers: [
6021
6118
  {
6022
6119
  provide: AXP_DATA_SEEDER_TOKEN,
6023
6120
  useClass: AXPMessageDataSeeder,
@@ -6030,7 +6127,7 @@ class AXCConversationMockModule {
6030
6127
  },
6031
6128
  ] }); }
6032
6129
  }
6033
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCConversationMockModule, decorators: [{
6130
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCConversationMockModule, decorators: [{
6034
6131
  type: NgModule,
6035
6132
  args: [{
6036
6133
  imports: [],
@@ -6067,17 +6164,21 @@ class MockApplicationLoader {
6067
6164
  version: '1.0.0',
6068
6165
  editionName: 'Standard',
6069
6166
  };
6070
- if (context.user?.name == 'root' && context.tenant?.id == '99') {
6071
- return of([demo_app, console_app]).pipe(delay(500));
6072
- }
6073
- else {
6074
- return of([demo_app]).pipe(delay(500));
6075
- }
6076
- }
6077
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: MockApplicationLoader, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
6078
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: MockApplicationLoader }); }
6079
- }
6080
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: MockApplicationLoader, decorators: [{
6167
+ return of([demo_app, console_app]).pipe(delay(500));
6168
+ // debugger;
6169
+ // // if (!context.tenant) {
6170
+ // // return of([]);
6171
+ // // } else
6172
+ // if (context.user?.name == 'root' && context.tenant?.id == '99') {
6173
+ // return of([demo_app, console_app]).pipe(delay(500));
6174
+ // } else {
6175
+ // return of([demo_app]).pipe(delay(500));
6176
+ // }
6177
+ }
6178
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: MockApplicationLoader, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
6179
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: MockApplicationLoader }); }
6180
+ }
6181
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: MockApplicationLoader, decorators: [{
6081
6182
  type: Injectable
6082
6183
  }] });
6083
6184
 
@@ -6133,10 +6234,10 @@ class MockPermissionLoader {
6133
6234
  return of(this.userPermissions);
6134
6235
  }
6135
6236
  }
6136
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: MockPermissionLoader, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
6137
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: MockPermissionLoader }); }
6237
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: MockPermissionLoader, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
6238
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: MockPermissionLoader }); }
6138
6239
  }
6139
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: MockPermissionLoader, decorators: [{
6240
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: MockPermissionLoader, decorators: [{
6140
6241
  type: Injectable
6141
6242
  }] });
6142
6243
 
@@ -6152,31 +6253,31 @@ class MockTenantLoader {
6152
6253
  name: 'demo-tenant',
6153
6254
  title: 'DEMO Tenant',
6154
6255
  };
6155
- if (context.user?.name == 'root') {
6156
- return of([demo_tenant, acorex_tenant]).pipe(delay(500));
6157
- }
6158
- else {
6159
- return of([demo_tenant]).pipe(delay(500));
6160
- }
6256
+ return of([demo_tenant, acorex_tenant]).pipe(delay(500));
6257
+ // if (context.user?.name == 'root') {
6258
+ // return of([demo_tenant, acorex_tenant]).pipe(delay(500));
6259
+ // } else {
6260
+ // return of([demo_tenant]).pipe(delay(500));
6261
+ // }
6161
6262
  }
6162
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: MockTenantLoader, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
6163
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: MockTenantLoader }); }
6263
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: MockTenantLoader, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
6264
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: MockTenantLoader }); }
6164
6265
  }
6165
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: MockTenantLoader, decorators: [{
6266
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: MockTenantLoader, decorators: [{
6166
6267
  type: Injectable
6167
6268
  }] });
6168
6269
 
6169
6270
  class AXCAuthMockModule {
6170
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCAuthMockModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
6171
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.7", ngImport: i0, type: AXCAuthMockModule }); }
6172
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCAuthMockModule, providers: [
6271
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCAuthMockModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
6272
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.3", ngImport: i0, type: AXCAuthMockModule }); }
6273
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCAuthMockModule, providers: [
6173
6274
  { provide: AXP_APPLICATION_LOADER, useClass: MockApplicationLoader },
6174
6275
  { provide: AXP_FEATURE_LOADER, useClass: MockFeatureLoader },
6175
6276
  { provide: AXP_PERMISSION_LOADER, useClass: MockPermissionLoader },
6176
6277
  { provide: AXP_TENANT_LOADER, useClass: MockTenantLoader },
6177
6278
  ] }); }
6178
6279
  }
6179
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCAuthMockModule, decorators: [{
6280
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCAuthMockModule, decorators: [{
6180
6281
  type: NgModule,
6181
6282
  args: [{
6182
6283
  imports: [],
@@ -6191,40 +6292,41 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImpor
6191
6292
  }]
6192
6293
  }] });
6193
6294
 
6194
- const OHS_ID = AXPDataGenerator.uuid();
6195
- const child1$1 = {
6196
- id: AXPDataGenerator.uuid(),
6197
- title: 'General',
6198
- parentId: OHS_ID,
6199
- childCount: 0,
6200
- };
6201
- const child2$1 = {
6202
- id: AXPDataGenerator.uuid(),
6203
- title: 'License',
6204
- parentId: OHS_ID,
6205
- childCount: 0,
6206
- };
6207
- const child3$1 = {
6208
- id: AXPDataGenerator.uuid(),
6209
- title: 'Training',
6210
- parentId: OHS_ID,
6211
- childCount: 0,
6212
- };
6295
+ // const OHS_ID = AXPDataGenerator.uuid();
6296
+ // const child1 = {
6297
+ // id: AXPDataGenerator.uuid(),
6298
+ // title: 'General',
6299
+ // parentId: OHS_ID,
6300
+ // childCount: 0,
6301
+ // };
6302
+ // const child2 = {
6303
+ // id: AXPDataGenerator.uuid(),
6304
+ // title: 'License',
6305
+ // parentId: OHS_ID,
6306
+ // childCount: 0,
6307
+ // };
6308
+ // const child3 = {
6309
+ // id: AXPDataGenerator.uuid(),
6310
+ // title: 'Training',
6311
+ // parentId: OHS_ID,
6312
+ // childCount: 0,
6313
+ // };
6213
6314
  const METADATA_CATEGORY_MOCK = [
6214
6315
  {
6215
6316
  id: AXPDataGenerator.uuid(),
6216
6317
  title: 'General',
6318
+ name: 'general',
6217
6319
  childCount: 0,
6218
6320
  },
6219
- {
6220
- id: OHS_ID,
6221
- title: 'OHS',
6222
- childCount: 2,
6223
- children: [child1$1, child2$1, child3$1],
6224
- },
6225
- child1$1,
6226
- child2$1,
6227
- child3$1,
6321
+ // {
6322
+ // id: OHS_ID,
6323
+ // title: 'OHS',
6324
+ // childCount: 2,
6325
+ // children: [child1, child2,child3],
6326
+ // },
6327
+ // child1,
6328
+ // child2,
6329
+ // child3,
6228
6330
  ];
6229
6331
  const checkbox$2 = '{"type":"document-layout","children":[{"type":"page-layout","children":[{"type":"checkbox-editor","name":"checkbox-editor1","options":{"label":"i accept","readonly":false,"disabled":false},"defaultValue":false,"path":"accept-check-box"}],"name":"page-layout1"}],"name":"document"}';
6230
6332
  const colorboxInterface = '{"type":"document-layout","children":[{"type":"page-layout","children":[{"type":"block-layout","name":"block-layout1","options":{"flexDirection":{"id":"ax-flex-row"},"flexJustifyContent":{"id":"ax-justify-normal"},"flexAlignItems":{"id":"ax-items-start"},"gap":2,"flexWrap":{"id":"ax-flex-nowrap"},"spacing":{"margin":"0px 0px 0px 0px","padding":"0px 0px 0px 0px"},"border":{"width":"0px","radius":"0px","color":"#000000","style":"none"},"flexOptions":{"gap":"0px","flexDirection":"row","flexWrap":"nowrap","justifyContent":"flex-start","alignItems":"flex-start"}}},"children":[{"type":"color-editor","name":"color-editor1","options":{"readonly":false,"disabled":false,"validations":{"required":{"rule":"required","message":"This field is required."}},"placeholder":"pick color"},"path":"color-box"}]}],"name":"page-layout1"}],"name":"document"}';
@@ -6252,42 +6354,42 @@ const METADATA_MOCK = [
6252
6354
  categoryIds: [METADATA_CATEGORY_MOCK[0].id],
6253
6355
  categories: [METADATA_CATEGORY_MOCK[0]],
6254
6356
  },
6255
- {
6256
- id: AXPDataGenerator.uuid(),
6257
- name: 'agreement-check-box',
6258
- title: 'Agreement Box',
6259
- defaultValue: false,
6260
- interface: checkbox$2,
6261
- categoryIds: [METADATA_CATEGORY_MOCK[2].id],
6262
- categories: [METADATA_CATEGORY_MOCK[2]],
6263
- },
6264
- {
6265
- id: AXPDataGenerator.uuid(),
6266
- name: 'contract-number',
6267
- title: 'Contract Number',
6268
- defaultValue: '',
6269
- interface: contractNumberInterface$1,
6270
- categoryIds: [METADATA_CATEGORY_MOCK[2].id],
6271
- categories: [METADATA_CATEGORY_MOCK[2]],
6272
- },
6273
- {
6274
- id: AXPDataGenerator.uuid(),
6275
- name: 'evaluator',
6276
- title: 'Evaluator',
6277
- defaultValue: '',
6278
- interface: evaluatorInterface$1,
6279
- categoryIds: [METADATA_CATEGORY_MOCK[3].id],
6280
- categories: [METADATA_CATEGORY_MOCK[3]],
6281
- },
6282
- {
6283
- id: AXPDataGenerator.uuid(),
6284
- name: 'company',
6285
- title: 'Company',
6286
- defaultValue: '',
6287
- interface: companyInterface$1,
6288
- categoryIds: [METADATA_CATEGORY_MOCK[4].id],
6289
- categories: [METADATA_CATEGORY_MOCK[4]],
6290
- },
6357
+ // {
6358
+ // id: AXPDataGenerator.uuid(),
6359
+ // name: 'agreement-check-box',
6360
+ // title: 'Agreement Box',
6361
+ // defaultValue: false,
6362
+ // interface: checkbox,
6363
+ // categoryIds: [METADATA_CATEGORY_MOCK[2].id!],
6364
+ // categories: [METADATA_CATEGORY_MOCK[2]],
6365
+ // },
6366
+ // {
6367
+ // id: AXPDataGenerator.uuid(),
6368
+ // name: 'contract-number',
6369
+ // title: 'Contract Number',
6370
+ // defaultValue: '',
6371
+ // interface: contractNumberInterface,
6372
+ // categoryIds: [METADATA_CATEGORY_MOCK[2].id!],
6373
+ // categories: [METADATA_CATEGORY_MOCK[2]],
6374
+ // },
6375
+ // {
6376
+ // id: AXPDataGenerator.uuid(),
6377
+ // name: 'evaluator',
6378
+ // title: 'Evaluator',
6379
+ // defaultValue: '',
6380
+ // interface: evaluatorInterface,
6381
+ // categoryIds: [METADATA_CATEGORY_MOCK[3].id!],
6382
+ // categories: [METADATA_CATEGORY_MOCK[3]],
6383
+ // },
6384
+ // {
6385
+ // id: AXPDataGenerator.uuid(),
6386
+ // name: 'company',
6387
+ // title: 'Company',
6388
+ // defaultValue: '',
6389
+ // interface: companyInterface,
6390
+ // categoryIds: [METADATA_CATEGORY_MOCK[4].id!],
6391
+ // categories: [METADATA_CATEGORY_MOCK[4]],
6392
+ // },
6291
6393
  ];
6292
6394
 
6293
6395
  class AXCMetaDataDefinitionDataSeeder {
@@ -6298,10 +6400,10 @@ class AXCMetaDataDefinitionDataSeeder {
6298
6400
  await this.storageService.initial(`${RootConfig$7.module.name}.${RootConfig$7.entities.metaDataDefinitionCategory.name}`, METADATA_CATEGORY_MOCK);
6299
6401
  await this.storageService.initial(`${RootConfig$7.module.name}.${RootConfig$7.entities.metaDataDefinition.name}`, METADATA_MOCK);
6300
6402
  }
6301
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCMetaDataDefinitionDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
6302
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCMetaDataDefinitionDataSeeder }); }
6403
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCMetaDataDefinitionDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
6404
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCMetaDataDefinitionDataSeeder }); }
6303
6405
  }
6304
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCMetaDataDefinitionDataSeeder, decorators: [{
6406
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCMetaDataDefinitionDataSeeder, decorators: [{
6305
6407
  type: Injectable
6306
6408
  }] });
6307
6409
 
@@ -6333,10 +6435,10 @@ class AXCAppVersionDataSeeder {
6333
6435
  async seed() {
6334
6436
  await this.storageService.initial(`${RootConfig$7.module.name}.${RootConfig$7.entities.appVersion.name}`, APP_VERSIONS);
6335
6437
  }
6336
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCAppVersionDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
6337
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCAppVersionDataSeeder }); }
6438
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCAppVersionDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
6439
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCAppVersionDataSeeder }); }
6338
6440
  }
6339
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCAppVersionDataSeeder, decorators: [{
6441
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCAppVersionDataSeeder, decorators: [{
6340
6442
  type: Injectable
6341
6443
  }] });
6342
6444
 
@@ -6364,10 +6466,10 @@ class AXCGlobalVariablesDataSeeder {
6364
6466
  async seed() {
6365
6467
  await this.storageService.initial(`${RootConfig$7.module.name}.${RootConfig$7.entities.globalVariable.name}`, GLOBAL_VARIABLES);
6366
6468
  }
6367
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCGlobalVariablesDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
6368
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCGlobalVariablesDataSeeder }); }
6469
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCGlobalVariablesDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
6470
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCGlobalVariablesDataSeeder }); }
6369
6471
  }
6370
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCGlobalVariablesDataSeeder, decorators: [{
6472
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCGlobalVariablesDataSeeder, decorators: [{
6371
6473
  type: Injectable
6372
6474
  }] });
6373
6475
 
@@ -6413,10 +6515,10 @@ class AXCAppTermDataSeeder {
6413
6515
  async seed() {
6414
6516
  await this.storageService.initial(`${RootConfig$7.module.name}.${RootConfig$7.entities.appTerm.name}`, APP_TERMS);
6415
6517
  }
6416
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCAppTermDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
6417
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCAppTermDataSeeder }); }
6518
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCAppTermDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
6519
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCAppTermDataSeeder }); }
6418
6520
  }
6419
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCAppTermDataSeeder, decorators: [{
6521
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCAppTermDataSeeder, decorators: [{
6420
6522
  type: Injectable
6421
6523
  }] });
6422
6524
 
@@ -6621,17 +6723,17 @@ class AXCFileStorageService {
6621
6723
  .catch((error) => console.error('Error during cleanup:', error));
6622
6724
  }, 5 * 60 * 1000); // Runs every 5 minutes
6623
6725
  }
6624
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCFileStorageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
6625
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCFileStorageService }); }
6726
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCFileStorageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
6727
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCFileStorageService }); }
6626
6728
  }
6627
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCFileStorageService, decorators: [{
6729
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCFileStorageService, decorators: [{
6628
6730
  type: Injectable
6629
6731
  }], ctorParameters: () => [] });
6630
6732
 
6631
6733
  class AXCPlatformManagementMockModule {
6632
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCPlatformManagementMockModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
6633
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.7", ngImport: i0, type: AXCPlatformManagementMockModule }); }
6634
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCPlatformManagementMockModule, providers: [
6734
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCPlatformManagementMockModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
6735
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.3", ngImport: i0, type: AXCPlatformManagementMockModule }); }
6736
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCPlatformManagementMockModule, providers: [
6635
6737
  {
6636
6738
  provide: AXP_DATA_SEEDER_TOKEN,
6637
6739
  useClass: AXCMetaDataDefinitionDataSeeder,
@@ -6662,7 +6764,7 @@ class AXCPlatformManagementMockModule {
6662
6764
  },
6663
6765
  ] }); }
6664
6766
  }
6665
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCPlatformManagementMockModule, decorators: [{
6767
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCPlatformManagementMockModule, decorators: [{
6666
6768
  type: NgModule,
6667
6769
  args: [{
6668
6770
  imports: [],
@@ -6825,10 +6927,10 @@ class AXCTextTemplateCategoryDataSeeder {
6825
6927
  async seed() {
6826
6928
  await this.storageService.initial(`${RootConfig$8.module.name}.${RootConfig$8.entities.category.name}`, TEXT_TEMPLATE_CATEGORY);
6827
6929
  }
6828
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCTextTemplateCategoryDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
6829
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCTextTemplateCategoryDataSeeder }); }
6930
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCTextTemplateCategoryDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
6931
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCTextTemplateCategoryDataSeeder }); }
6830
6932
  }
6831
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCTextTemplateCategoryDataSeeder, decorators: [{
6933
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCTextTemplateCategoryDataSeeder, decorators: [{
6832
6934
  type: Injectable
6833
6935
  }] });
6834
6936
 
@@ -6839,17 +6941,17 @@ class AXCTextTemplateDataSeeder {
6839
6941
  async seed() {
6840
6942
  await this.storageService.initial(`${RootConfig$8.module.name}.${RootConfig$8.entities.template.name}`, TEXT_TEMPLATES);
6841
6943
  }
6842
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCTextTemplateDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
6843
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCTextTemplateDataSeeder }); }
6944
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCTextTemplateDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
6945
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCTextTemplateDataSeeder }); }
6844
6946
  }
6845
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCTextTemplateDataSeeder, decorators: [{
6947
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCTextTemplateDataSeeder, decorators: [{
6846
6948
  type: Injectable
6847
6949
  }] });
6848
6950
 
6849
6951
  class AXCTextTemplateManagementMockModule {
6850
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCTextTemplateManagementMockModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
6851
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.7", ngImport: i0, type: AXCTextTemplateManagementMockModule }); }
6852
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCTextTemplateManagementMockModule, providers: [
6952
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCTextTemplateManagementMockModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
6953
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.3", ngImport: i0, type: AXCTextTemplateManagementMockModule }); }
6954
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCTextTemplateManagementMockModule, providers: [
6853
6955
  {
6854
6956
  provide: AXP_DATA_SEEDER_TOKEN,
6855
6957
  useClass: AXCTextTemplateCategoryDataSeeder,
@@ -6862,7 +6964,7 @@ class AXCTextTemplateManagementMockModule {
6862
6964
  },
6863
6965
  ] }); }
6864
6966
  }
6865
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCTextTemplateManagementMockModule, decorators: [{
6967
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCTextTemplateManagementMockModule, decorators: [{
6866
6968
  type: NgModule,
6867
6969
  args: [{
6868
6970
  imports: [],
@@ -6981,10 +7083,10 @@ class AXPSecurityManagementDeviceSessionDataSeeder {
6981
7083
  }
6982
7084
  return deviceSessions;
6983
7085
  }
6984
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXPSecurityManagementDeviceSessionDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
6985
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXPSecurityManagementDeviceSessionDataSeeder }); }
7086
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPSecurityManagementDeviceSessionDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
7087
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPSecurityManagementDeviceSessionDataSeeder }); }
6986
7088
  }
6987
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXPSecurityManagementDeviceSessionDataSeeder, decorators: [{
7089
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPSecurityManagementDeviceSessionDataSeeder, decorators: [{
6988
7090
  type: Injectable
6989
7091
  }] });
6990
7092
 
@@ -7003,10 +7105,10 @@ class AXPSecurityManagementRoleDataSeeder {
7003
7105
  }));
7004
7106
  await this.storageService.initial(`${RootConfig.module.name}.${RootConfig.entities.roles.name}`, roles);
7005
7107
  }
7006
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXPSecurityManagementRoleDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
7007
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXPSecurityManagementRoleDataSeeder }); }
7108
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPSecurityManagementRoleDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
7109
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPSecurityManagementRoleDataSeeder }); }
7008
7110
  }
7009
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXPSecurityManagementRoleDataSeeder, decorators: [{
7111
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPSecurityManagementRoleDataSeeder, decorators: [{
7010
7112
  type: Injectable
7011
7113
  }] });
7012
7114
 
@@ -7029,10 +7131,10 @@ class AXPSecurityManagementUserDataSeeder {
7029
7131
  roles: user.roleIds,
7030
7132
  }));
7031
7133
  }
7032
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXPSecurityManagementUserDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
7033
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXPSecurityManagementUserDataSeeder }); }
7134
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPSecurityManagementUserDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
7135
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPSecurityManagementUserDataSeeder }); }
7034
7136
  }
7035
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXPSecurityManagementUserDataSeeder, decorators: [{
7137
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPSecurityManagementUserDataSeeder, decorators: [{
7036
7138
  type: Injectable
7037
7139
  }] });
7038
7140
 
@@ -7059,9 +7161,9 @@ class AXCDeviceSessionService extends AXMDeviceSessionsServiceImpl {
7059
7161
  }
7060
7162
 
7061
7163
  class AXCSecurityManagementMockModule {
7062
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCSecurityManagementMockModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
7063
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.7", ngImport: i0, type: AXCSecurityManagementMockModule }); }
7064
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCSecurityManagementMockModule, providers: [
7164
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCSecurityManagementMockModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
7165
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.3", ngImport: i0, type: AXCSecurityManagementMockModule }); }
7166
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCSecurityManagementMockModule, providers: [
7065
7167
  {
7066
7168
  provide: AXP_DATA_SEEDER_TOKEN,
7067
7169
  useClass: AXPSecurityManagementDeviceSessionDataSeeder,
@@ -7083,7 +7185,7 @@ class AXCSecurityManagementMockModule {
7083
7185
  },
7084
7186
  ] }); }
7085
7187
  }
7086
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCSecurityManagementMockModule, decorators: [{
7188
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCSecurityManagementMockModule, decorators: [{
7087
7189
  type: NgModule,
7088
7190
  args: [{
7089
7191
  imports: [],
@@ -7137,17 +7239,17 @@ class AXCSchedulerJobDataSeeder {
7137
7239
  async seed() {
7138
7240
  await this.storageService.initial(`${RootConfig$9.module.name}.${RootConfig$9.entities.schedulerJob.name}`, SCHEDULER_JOB);
7139
7241
  }
7140
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCSchedulerJobDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
7141
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCSchedulerJobDataSeeder }); }
7242
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCSchedulerJobDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
7243
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCSchedulerJobDataSeeder }); }
7142
7244
  }
7143
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCSchedulerJobDataSeeder, decorators: [{
7245
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCSchedulerJobDataSeeder, decorators: [{
7144
7246
  type: Injectable
7145
7247
  }] });
7146
7248
 
7147
7249
  class AXCSchedulerJobManagementMockModule {
7148
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCSchedulerJobManagementMockModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
7149
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.7", ngImport: i0, type: AXCSchedulerJobManagementMockModule }); }
7150
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCSchedulerJobManagementMockModule, providers: [
7250
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCSchedulerJobManagementMockModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
7251
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.3", ngImport: i0, type: AXCSchedulerJobManagementMockModule }); }
7252
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCSchedulerJobManagementMockModule, providers: [
7151
7253
  {
7152
7254
  provide: AXP_DATA_SEEDER_TOKEN,
7153
7255
  useClass: AXCSchedulerJobDataSeeder,
@@ -7155,7 +7257,7 @@ class AXCSchedulerJobManagementMockModule {
7155
7257
  },
7156
7258
  ] }); }
7157
7259
  }
7158
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCSchedulerJobManagementMockModule, decorators: [{
7260
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCSchedulerJobManagementMockModule, decorators: [{
7159
7261
  type: NgModule,
7160
7262
  args: [{
7161
7263
  imports: [],
@@ -7187,10 +7289,10 @@ class AXCNotificationTemplateDataSeeder {
7187
7289
  async seed() {
7188
7290
  await this.storageService.initial(`${RootConfig$a.module.name}.${RootConfig$a.entities.template.name}`, NOTIFICATION_TEMPLATES);
7189
7291
  }
7190
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCNotificationTemplateDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
7191
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCNotificationTemplateDataSeeder }); }
7292
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCNotificationTemplateDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
7293
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCNotificationTemplateDataSeeder }); }
7192
7294
  }
7193
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCNotificationTemplateDataSeeder, decorators: [{
7295
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCNotificationTemplateDataSeeder, decorators: [{
7194
7296
  type: Injectable
7195
7297
  }] });
7196
7298
 
@@ -7223,10 +7325,10 @@ class AXMMockNotificationService {
7223
7325
  const notification = payload || generateNotification();
7224
7326
  await this.storageService.insertOne(this.name, notification);
7225
7327
  }
7226
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXMMockNotificationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
7227
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXMMockNotificationService, providedIn: 'root' }); }
7328
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMMockNotificationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
7329
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMMockNotificationService, providedIn: 'root' }); }
7228
7330
  }
7229
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXMMockNotificationService, decorators: [{
7331
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMMockNotificationService, decorators: [{
7230
7332
  type: Injectable,
7231
7333
  args: [{
7232
7334
  providedIn: 'root',
@@ -7271,9 +7373,9 @@ function generateNotification() {
7271
7373
  }
7272
7374
 
7273
7375
  class AXCNotificationManagementMockModule {
7274
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCNotificationManagementMockModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
7275
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.7", ngImport: i0, type: AXCNotificationManagementMockModule }); }
7276
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCNotificationManagementMockModule, providers: [
7376
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCNotificationManagementMockModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
7377
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.3", ngImport: i0, type: AXCNotificationManagementMockModule }); }
7378
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCNotificationManagementMockModule, providers: [
7277
7379
  {
7278
7380
  provide: AXP_DATA_SEEDER_TOKEN,
7279
7381
  useClass: AXCNotificationTemplateDataSeeder,
@@ -7285,7 +7387,7 @@ class AXCNotificationManagementMockModule {
7285
7387
  },
7286
7388
  ] }); }
7287
7389
  }
7288
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCNotificationManagementMockModule, decorators: [{
7390
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCNotificationManagementMockModule, decorators: [{
7289
7391
  type: NgModule,
7290
7392
  args: [{
7291
7393
  imports: [],
@@ -7427,10 +7529,10 @@ class AXCApplicationTemplateDataSeeder {
7427
7529
  const properties = this.storageService.initial(PROPERTY_SOURCE_NAME, PROPERTIES);
7428
7530
  await Promise.all([applications, modules, entities, features, permissions, editions, properties]);
7429
7531
  }
7430
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCApplicationTemplateDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
7431
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCApplicationTemplateDataSeeder }); }
7532
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCApplicationTemplateDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
7533
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCApplicationTemplateDataSeeder }); }
7432
7534
  }
7433
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCApplicationTemplateDataSeeder, decorators: [{
7535
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCApplicationTemplateDataSeeder, decorators: [{
7434
7536
  type: Injectable
7435
7537
  }] });
7436
7538
 
@@ -7516,10 +7618,10 @@ class AXCModuleDesignerService {
7516
7618
  async createPermission(payload) { }
7517
7619
  async updatePermission(payload) { }
7518
7620
  async deletePermission(permissionId) { }
7519
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCModuleDesignerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
7520
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCModuleDesignerService, providedIn: 'root' }); }
7621
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCModuleDesignerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
7622
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCModuleDesignerService, providedIn: 'root' }); }
7521
7623
  }
7522
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCModuleDesignerService, decorators: [{
7624
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCModuleDesignerService, decorators: [{
7523
7625
  type: Injectable,
7524
7626
  args: [{
7525
7627
  providedIn: 'root',
@@ -7527,9 +7629,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImpor
7527
7629
  }] });
7528
7630
 
7529
7631
  class AXCApplicationManagementMockModule {
7530
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCApplicationManagementMockModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
7531
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.7", ngImport: i0, type: AXCApplicationManagementMockModule }); }
7532
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCApplicationManagementMockModule, providers: [
7632
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCApplicationManagementMockModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
7633
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.3", ngImport: i0, type: AXCApplicationManagementMockModule }); }
7634
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCApplicationManagementMockModule, providers: [
7533
7635
  {
7534
7636
  provide: AXP_DATA_SEEDER_TOKEN,
7535
7637
  useClass: AXCApplicationTemplateDataSeeder,
@@ -7541,7 +7643,7 @@ class AXCApplicationManagementMockModule {
7541
7643
  },
7542
7644
  ] }); }
7543
7645
  }
7544
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCApplicationManagementMockModule, decorators: [{
7646
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCApplicationManagementMockModule, decorators: [{
7545
7647
  type: NgModule,
7546
7648
  args: [{
7547
7649
  imports: [],
@@ -7819,10 +7921,10 @@ class AXCTrainingDataSeeder {
7819
7921
  async seed() {
7820
7922
  await this.storageService.initial(`${RootConfig$b.module.name}.${RootConfig$b.entities.training.name}`, trainingMock);
7821
7923
  }
7822
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCTrainingDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
7823
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCTrainingDataSeeder }); }
7924
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCTrainingDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
7925
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCTrainingDataSeeder }); }
7824
7926
  }
7825
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCTrainingDataSeeder, decorators: [{
7927
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCTrainingDataSeeder, decorators: [{
7826
7928
  type: Injectable
7827
7929
  }] });
7828
7930
 
@@ -7833,10 +7935,10 @@ class AXCTrainigTypeDataSeeder {
7833
7935
  async seed() {
7834
7936
  await this.storageService.initial(`${RootConfig$b.module.name}.${RootConfig$b.entities.trainingType.name}`, trainingTypeMockData);
7835
7937
  }
7836
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCTrainigTypeDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
7837
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCTrainigTypeDataSeeder }); }
7938
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCTrainigTypeDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
7939
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCTrainigTypeDataSeeder }); }
7838
7940
  }
7839
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCTrainigTypeDataSeeder, decorators: [{
7941
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCTrainigTypeDataSeeder, decorators: [{
7840
7942
  type: Injectable
7841
7943
  }] });
7842
7944
 
@@ -7866,10 +7968,10 @@ class AXCTrainingParticipantDataSeeder {
7866
7968
  async seed() {
7867
7969
  await this.storageService.initial(`${RootConfig$b.module.name}.${RootConfig$b.entities.trainingParticipant.name}`, trainingParticipantMockData);
7868
7970
  }
7869
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCTrainingParticipantDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
7870
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCTrainingParticipantDataSeeder }); }
7971
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCTrainingParticipantDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
7972
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCTrainingParticipantDataSeeder }); }
7871
7973
  }
7872
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCTrainingParticipantDataSeeder, decorators: [{
7974
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCTrainingParticipantDataSeeder, decorators: [{
7873
7975
  type: Injectable
7874
7976
  }] });
7875
7977
 
@@ -7913,10 +8015,10 @@ class AXCTrainingFacilitatorDataSeeder {
7913
8015
  async seed() {
7914
8016
  await this.storageService.initial(`${RootConfig$b.module.name}.${RootConfig$b.entities.trainingFacilitator.name}`, trainingFacilitatorMock);
7915
8017
  }
7916
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCTrainingFacilitatorDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
7917
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCTrainingFacilitatorDataSeeder }); }
8018
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCTrainingFacilitatorDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
8019
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCTrainingFacilitatorDataSeeder }); }
7918
8020
  }
7919
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCTrainingFacilitatorDataSeeder, decorators: [{
8021
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCTrainingFacilitatorDataSeeder, decorators: [{
7920
8022
  type: Injectable
7921
8023
  }] });
7922
8024
 
@@ -7927,10 +8029,10 @@ class AXCPeriodDataSeeder {
7927
8029
  async seed() {
7928
8030
  await this.storageService.initial(`${RootConfig$b.module.name}.${RootConfig$b.entities.period.name}`, periodMock);
7929
8031
  }
7930
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCPeriodDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
7931
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCPeriodDataSeeder }); }
8032
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCPeriodDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
8033
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCPeriodDataSeeder }); }
7932
8034
  }
7933
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCPeriodDataSeeder, decorators: [{
8035
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCPeriodDataSeeder, decorators: [{
7934
8036
  type: Injectable
7935
8037
  }] });
7936
8038
 
@@ -7944,17 +8046,17 @@ class AXCCourseDataSeeder {
7944
8046
  await this.storageService.initial(`${RootConfig$b.module.name}.${RootConfig$b.entities.courseLocation.name}`, courseLocationMock);
7945
8047
  await this.storageService.initial(`${RootConfig$b.module.name}.${RootConfig$b.entities.coursePeriod.name}`, coursePeriodMockData);
7946
8048
  }
7947
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCCourseDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
7948
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCCourseDataSeeder }); }
8049
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCCourseDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
8050
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCCourseDataSeeder }); }
7949
8051
  }
7950
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCCourseDataSeeder, decorators: [{
8052
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCCourseDataSeeder, decorators: [{
7951
8053
  type: Injectable
7952
8054
  }] });
7953
8055
 
7954
8056
  class AXCTrainingManagementMockModule {
7955
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCTrainingManagementMockModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
7956
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.7", ngImport: i0, type: AXCTrainingManagementMockModule }); }
7957
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCTrainingManagementMockModule, providers: [
8057
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCTrainingManagementMockModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
8058
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.3", ngImport: i0, type: AXCTrainingManagementMockModule }); }
8059
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCTrainingManagementMockModule, providers: [
7958
8060
  { provide: AXP_DATA_SEEDER_TOKEN, useClass: AXCTrainingDataSeeder, multi: true },
7959
8061
  { provide: AXP_DATA_SEEDER_TOKEN, useClass: AXCTrainigTypeDataSeeder, multi: true },
7960
8062
  { provide: AXP_DATA_SEEDER_TOKEN, useClass: AXCTrainingParticipantDataSeeder, multi: true },
@@ -7963,7 +8065,7 @@ class AXCTrainingManagementMockModule {
7963
8065
  { provide: AXP_DATA_SEEDER_TOKEN, useClass: AXCCourseDataSeeder, multi: true },
7964
8066
  ] }); }
7965
8067
  }
7966
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCTrainingManagementMockModule, decorators: [{
8068
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCTrainingManagementMockModule, decorators: [{
7967
8069
  type: NgModule,
7968
8070
  args: [{
7969
8071
  imports: [],
@@ -8011,10 +8113,10 @@ class AXCProjectclientDataSeeder {
8011
8113
  async seed() {
8012
8114
  await this.storageService.initial(`${RootConfig$c.module.name}.${RootConfig$c.entities.client.name}`, ClientMock);
8013
8115
  }
8014
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCProjectclientDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
8015
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCProjectclientDataSeeder }); }
8116
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCProjectclientDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
8117
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCProjectclientDataSeeder }); }
8016
8118
  }
8017
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCProjectclientDataSeeder, decorators: [{
8119
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCProjectclientDataSeeder, decorators: [{
8018
8120
  type: Injectable
8019
8121
  }] });
8020
8122
 
@@ -8056,10 +8158,10 @@ class AXCProjectDataSeeder {
8056
8158
  async seed() {
8057
8159
  await this.storageService.initial(`${RootConfig$c.module.name}.${RootConfig$c.entities.project.name}`, projectMock$1);
8058
8160
  }
8059
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCProjectDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
8060
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCProjectDataSeeder }); }
8161
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCProjectDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
8162
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCProjectDataSeeder }); }
8061
8163
  }
8062
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCProjectDataSeeder, decorators: [{
8164
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCProjectDataSeeder, decorators: [{
8063
8165
  type: Injectable
8064
8166
  }] });
8065
8167
 
@@ -8127,10 +8229,10 @@ class AXCProjectMemberDataSeeder {
8127
8229
  async seed() {
8128
8230
  await this.storageService.initial(`${RootConfig$c.module.name}.${RootConfig$c.entities.projectMemeber.name}`, projectMemberMock);
8129
8231
  }
8130
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCProjectMemberDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
8131
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCProjectMemberDataSeeder }); }
8232
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCProjectMemberDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
8233
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCProjectMemberDataSeeder }); }
8132
8234
  }
8133
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCProjectMemberDataSeeder, decorators: [{
8235
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCProjectMemberDataSeeder, decorators: [{
8134
8236
  type: Injectable
8135
8237
  }] });
8136
8238
 
@@ -8142,10 +8244,10 @@ class AXCProjectRoleMemberDataSeeder {
8142
8244
  await this.storageService.initial(`${RootConfig$c.module.name}.${RootConfig$c.entities.projectType.name}`, projectTypeMock);
8143
8245
  await this.storageService.initial(`${RootConfig$c.module.name}.${RootConfig$c.entities.projectRoleMember.name}`, projectRoleMemberMock);
8144
8246
  }
8145
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCProjectRoleMemberDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
8146
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCProjectRoleMemberDataSeeder }); }
8247
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCProjectRoleMemberDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
8248
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCProjectRoleMemberDataSeeder }); }
8147
8249
  }
8148
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCProjectRoleMemberDataSeeder, decorators: [{
8250
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCProjectRoleMemberDataSeeder, decorators: [{
8149
8251
  type: Injectable
8150
8252
  }] });
8151
8253
 
@@ -8186,10 +8288,10 @@ class AXCsprintDataSeeder {
8186
8288
  async seed() {
8187
8289
  await this.storageService.initial(`${RootConfig$c.module.name}.${RootConfig$c.entities.sprint.name}`, sprintMock);
8188
8290
  }
8189
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCsprintDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
8190
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCsprintDataSeeder }); }
8291
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCsprintDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
8292
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCsprintDataSeeder }); }
8191
8293
  }
8192
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCsprintDataSeeder, decorators: [{
8294
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCsprintDataSeeder, decorators: [{
8193
8295
  type: Injectable
8194
8296
  }] });
8195
8297
 
@@ -8224,10 +8326,10 @@ class AXCTaskTypeDataSeeder {
8224
8326
  async seed() {
8225
8327
  await this.storageService.initial(`${RootConfig$c.module.name}.${RootConfig$c.entities.taskType.name}`, taskTypeMock);
8226
8328
  }
8227
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCTaskTypeDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
8228
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCTaskTypeDataSeeder }); }
8329
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCTaskTypeDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
8330
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCTaskTypeDataSeeder }); }
8229
8331
  }
8230
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCTaskTypeDataSeeder, decorators: [{
8332
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCTaskTypeDataSeeder, decorators: [{
8231
8333
  type: Injectable
8232
8334
  }] });
8233
8335
 
@@ -8293,10 +8395,10 @@ class AXCTaskDataSeeder {
8293
8395
  async seed() {
8294
8396
  await this.storageService.initial(`${RootConfig$c.module.name}.${RootConfig$c.entities.task.name}`, taskMock);
8295
8397
  }
8296
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCTaskDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
8297
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCTaskDataSeeder }); }
8398
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCTaskDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
8399
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCTaskDataSeeder }); }
8298
8400
  }
8299
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCTaskDataSeeder, decorators: [{
8401
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCTaskDataSeeder, decorators: [{
8300
8402
  type: Injectable
8301
8403
  }] });
8302
8404
 
@@ -8307,17 +8409,17 @@ class AXCWorkSiteSeeder {
8307
8409
  async seed() {
8308
8410
  await this.storageService.initial(`${RootConfig$c.module.name}.${RootConfig$c.entities.workSite.name}`, workSiteMock);
8309
8411
  }
8310
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCWorkSiteSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
8311
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCWorkSiteSeeder }); }
8412
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCWorkSiteSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
8413
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCWorkSiteSeeder }); }
8312
8414
  }
8313
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCWorkSiteSeeder, decorators: [{
8415
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCWorkSiteSeeder, decorators: [{
8314
8416
  type: Injectable
8315
8417
  }] });
8316
8418
 
8317
8419
  class AXCProjectManagementMockModule {
8318
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCProjectManagementMockModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
8319
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.7", ngImport: i0, type: AXCProjectManagementMockModule }); }
8320
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCProjectManagementMockModule, providers: [
8420
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCProjectManagementMockModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
8421
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.3", ngImport: i0, type: AXCProjectManagementMockModule }); }
8422
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCProjectManagementMockModule, providers: [
8321
8423
  { provide: AXP_DATA_SEEDER_TOKEN, useClass: AXCProjectclientDataSeeder, multi: true },
8322
8424
  { provide: AXP_DATA_SEEDER_TOKEN, useClass: AXCProjectDataSeeder, multi: true },
8323
8425
  { provide: AXP_DATA_SEEDER_TOKEN, useClass: AXCProjectMemberDataSeeder, multi: true },
@@ -8328,7 +8430,7 @@ class AXCProjectManagementMockModule {
8328
8430
  { provide: AXP_DATA_SEEDER_TOKEN, useClass: AXCWorkSiteSeeder, multi: true },
8329
8431
  ] }); }
8330
8432
  }
8331
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCProjectManagementMockModule, decorators: [{
8433
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCProjectManagementMockModule, decorators: [{
8332
8434
  type: NgModule,
8333
8435
  args: [{
8334
8436
  imports: [],
@@ -8960,10 +9062,10 @@ class AXCFolderDataSeeder {
8960
9062
  await this.storageService.initial(`${RootConfig$d.module.name}.${RootConfig$d.entities.folder.name}`, FOLDER_MOCK_DATA);
8961
9063
  await this.storageService.initial(`${RootConfig$d.module.name}.${RootConfig$d.entities.document.name}`, FILE_MOCK_DATA);
8962
9064
  }
8963
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCFolderDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
8964
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCFolderDataSeeder }); }
9065
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCFolderDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
9066
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCFolderDataSeeder }); }
8965
9067
  }
8966
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCFolderDataSeeder, decorators: [{
9068
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCFolderDataSeeder, decorators: [{
8967
9069
  type: Injectable
8968
9070
  }] });
8969
9071
 
@@ -8974,10 +9076,10 @@ class AXCDocumentTypeDataSeeder {
8974
9076
  async seed() {
8975
9077
  await this.storageService.initial(`${RootConfig$d.module.name}.${RootConfig$d.entities.documentType.name}`, DOCUMENT_TYPES);
8976
9078
  }
8977
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCDocumentTypeDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
8978
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCDocumentTypeDataSeeder }); }
9079
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCDocumentTypeDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
9080
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCDocumentTypeDataSeeder }); }
8979
9081
  }
8980
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCDocumentTypeDataSeeder, decorators: [{
9082
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCDocumentTypeDataSeeder, decorators: [{
8981
9083
  type: Injectable
8982
9084
  }] });
8983
9085
 
@@ -9298,16 +9400,16 @@ class AXMFileMockService extends AXMDocumentServiceImpl {
9298
9400
  }
9299
9401
 
9300
9402
  class AXCDocumentManagementMockModule {
9301
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCDocumentManagementMockModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
9302
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.7", ngImport: i0, type: AXCDocumentManagementMockModule }); }
9303
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCDocumentManagementMockModule, providers: [
9403
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCDocumentManagementMockModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
9404
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.3", ngImport: i0, type: AXCDocumentManagementMockModule }); }
9405
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCDocumentManagementMockModule, providers: [
9304
9406
  { provide: AXP_DATA_SEEDER_TOKEN, useClass: AXCFolderDataSeeder, multi: true },
9305
9407
  { provide: AXP_DATA_SEEDER_TOKEN, useClass: AXCDocumentTypeDataSeeder, multi: true },
9306
9408
  { provide: AXMFolderService, useClass: AXCFolderMockService },
9307
9409
  { provide: AXMDocumentService, useClass: AXMFileMockService },
9308
9410
  ] }); }
9309
9411
  }
9310
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCDocumentManagementMockModule, decorators: [{
9412
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCDocumentManagementMockModule, decorators: [{
9311
9413
  type: NgModule,
9312
9414
  args: [{
9313
9415
  imports: [],
@@ -9395,21 +9497,21 @@ class AXPIssueTypeDataSeeder {
9395
9497
  async seed() {
9396
9498
  await this.storageService.initial(`${RootConfig$e.module.name}.${RootConfig$e.entities.issueType.name}`, ISSUE_TYPES);
9397
9499
  }
9398
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXPIssueTypeDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
9399
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXPIssueTypeDataSeeder }); }
9500
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPIssueTypeDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
9501
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPIssueTypeDataSeeder }); }
9400
9502
  }
9401
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXPIssueTypeDataSeeder, decorators: [{
9503
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPIssueTypeDataSeeder, decorators: [{
9402
9504
  type: Injectable
9403
9505
  }] });
9404
9506
 
9405
9507
  class AXCIssueManagementMockModule {
9406
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCIssueManagementMockModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
9407
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.7", ngImport: i0, type: AXCIssueManagementMockModule }); }
9408
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCIssueManagementMockModule, providers: [
9508
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCIssueManagementMockModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
9509
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.3", ngImport: i0, type: AXCIssueManagementMockModule }); }
9510
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCIssueManagementMockModule, providers: [
9409
9511
  { provide: AXP_DATA_SEEDER_TOKEN, useClass: AXPIssueTypeDataSeeder, multi: true },
9410
9512
  ] }); }
9411
9513
  }
9412
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCIssueManagementMockModule, decorators: [{
9514
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCIssueManagementMockModule, decorators: [{
9413
9515
  type: NgModule,
9414
9516
  args: [{
9415
9517
  imports: [],
@@ -9424,61 +9526,55 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImpor
9424
9526
  const projectMock = [
9425
9527
  {
9426
9528
  id: AXPDataGenerator.uuid(),
9427
- level: 'Error',
9428
- message: 'Cannot access a disposed object.',
9429
- actionName: 'ACoreX.OIDC.AuthorizeController.GetToken (ACoreX.OIDC.HttpApi)',
9430
- operation: 'CheckPassword',
9431
- category: 'Authentication',
9529
+ applicationName: 'DemoApp',
9432
9530
  tenantId: 'b1e7040f-f219-2f64-2893-3a0e9c2315de',
9433
9531
  tenantName: 'ark',
9434
9532
  userId: 'fb0c9a89-f57f-43dd-82c2-b50992bdde8c',
9435
- utcTimestamp: '2025-04-15 11:53:46Z',
9436
- type: 'auth',
9437
- properties: {
9438
- actionId: '50b5c660-bcc8-45bc-a111-42eab92c3adb',
9439
- correlationId: 'de5ccac8485c4c7f9afaf15603c36227',
9440
- requestId: '0HNBS2G24BO4E:00000002',
9441
- requestPath: '/Token/GetToken',
9442
- sourceContext: 'Microsoft.AspNetCore.Identity.UserManager',
9443
- },
9444
- },
9445
- {
9446
- id: AXPDataGenerator.uuid(),
9447
- level: '2Error',
9448
- message: '2Cannot access a disposed object.',
9449
- actionName: '2ACoreX.OIDC.AuthorizeController.GetToken (ACoreX.OIDC.HttpApi)',
9450
- operation: '2CheckPassword',
9451
- category: '2Authentication',
9452
- tenantId: '2b1e7040f-f219-2f64-2893-3a0e9c2315de',
9453
- tenantName: '2ark',
9454
- userId: '2fb0c9a89-f57f-43dd-82c2-b50992bdde8c',
9455
- utcTimestamp: '2025-04-15 11:53:46Z',
9456
- properties: {
9457
- actionId: '50b5c660-bcc8-45bc-a111-42eab92c3adb',
9458
- correlationId: 'de5ccac8485c4c7f9afaf15603c36227',
9459
- requestId: '0HNBS2G24BO4E:00000002',
9460
- requestPath: '2/Token/GetToken',
9461
- sourceContext: '2Microsoft.AspNetCore.Identity.UserManager',
9462
- },
9463
- },
9464
- {
9465
- id: AXPDataGenerator.uuid(),
9466
- level: '3Error',
9467
- message: '3Cannot access a disposed object.',
9468
- actionName: '3ACoreX.OIDC.AuthorizeController.GetToken (ACoreX.OIDC.HttpApi)',
9469
- operation: '3CheckPassword',
9470
- category: '3Authentication',
9471
- tenantId: '3b1e7040f-f219-2f64-2893-3a0e9c2315de',
9472
- tenantName: '3ark',
9473
- userId: '3fb0c9a89-f57f-43dd-82c2-b50992bdde8c',
9474
- utcTimestamp: '2025-04-15 11:53:46Z',
9475
- properties: {
9476
- actionId: '50b5c660-bcc8-45bc-a111-42eab92c3adb',
9477
- correlationId: 'de5ccac8485c4c7f9afaf15603c36227',
9478
- requestId: '0HNBS2G24BO4E:00000002',
9479
- requestPath: '3/Token/GetToken',
9480
- sourceContext: '3Microsoft.AspNetCore.Identity.UserManager',
9481
- },
9533
+ userName: 'admin',
9534
+ executionTime: new Date('2025-04-15T11:53:46Z'),
9535
+ executionDuration: 1234,
9536
+ clientIpAddress: '192.168.1.1',
9537
+ clientName: 'Chrome',
9538
+ clientId: 'client-123',
9539
+ correlationId: 'de5ccac8485c4c7f9afaf15603c36227',
9540
+ browserInfo: 'Chrome/90.0.4430.212',
9541
+ httpMethod: 'POST',
9542
+ url: '/api/auth/login',
9543
+ httpStatusCode: 200,
9544
+ exceptions: '',
9545
+ comments: 'Login successful',
9546
+ impersonatorUserId: undefined,
9547
+ impersonatorUserName: undefined,
9548
+ impersonatorTenantId: undefined,
9549
+ impersonatorTenantName: undefined,
9550
+ extraProperties: { custom: 'value' },
9551
+ actions: [
9552
+ {
9553
+ serviceName: 'AuthService',
9554
+ methodName: 'Login',
9555
+ parameters: '{ username: "admin" }',
9556
+ executionTime: new Date('2025-04-15T11:53:46Z'),
9557
+ executionDuration: 500,
9558
+ extraProperties: { action: 'login' },
9559
+ },
9560
+ ],
9561
+ entityChanges: [
9562
+ {
9563
+ changeTime: new Date('2025-04-15T11:53:46Z'),
9564
+ entityId: 'user-1',
9565
+ entityTypeFullName: 'User',
9566
+ changeType: 'Update',
9567
+ propertyChanges: [
9568
+ {
9569
+ propertyName: 'lastLogin',
9570
+ propertyTypeFullName: 'DateTime',
9571
+ originalValue: '2025-04-14T10:00:00Z',
9572
+ newValue: '2025-04-15T11:53:46Z',
9573
+ },
9574
+ ],
9575
+ extraProperties: { reason: 'login' },
9576
+ },
9577
+ ],
9482
9578
  },
9483
9579
  ];
9484
9580
 
@@ -9489,21 +9585,21 @@ class AXMLogDataSeeder {
9489
9585
  async seed() {
9490
9586
  await this.storageService.initial(`${RootConfig$f.module.name}.${RootConfig$f.entities.axpLog.name}`, projectMock);
9491
9587
  }
9492
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXMLogDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
9493
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXMLogDataSeeder }); }
9588
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMLogDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
9589
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMLogDataSeeder }); }
9494
9590
  }
9495
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXMLogDataSeeder, decorators: [{
9591
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMLogDataSeeder, decorators: [{
9496
9592
  type: Injectable
9497
9593
  }] });
9498
9594
 
9499
9595
  class AXCLogManagementMockModule {
9500
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCLogManagementMockModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
9501
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.7", ngImport: i0, type: AXCLogManagementMockModule }); }
9502
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCLogManagementMockModule, providers: [
9596
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCLogManagementMockModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
9597
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.3", ngImport: i0, type: AXCLogManagementMockModule }); }
9598
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCLogManagementMockModule, providers: [
9503
9599
  { provide: AXP_DATA_SEEDER_TOKEN, useClass: AXMLogDataSeeder, multi: true },
9504
9600
  ] }); }
9505
9601
  }
9506
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCLogManagementMockModule, decorators: [{
9602
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCLogManagementMockModule, decorators: [{
9507
9603
  type: NgModule,
9508
9604
  args: [{
9509
9605
  imports: [],
@@ -9770,10 +9866,10 @@ class AXCLockService {
9770
9866
  }
9771
9867
  return collection.toArray();
9772
9868
  }
9773
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCLockService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
9774
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCLockService }); }
9869
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCLockService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
9870
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCLockService }); }
9775
9871
  }
9776
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCLockService, decorators: [{
9872
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCLockService, decorators: [{
9777
9873
  type: Injectable
9778
9874
  }], ctorParameters: () => [] });
9779
9875
 
@@ -9872,9 +9968,9 @@ class AXCRegionalServiceImpl extends AXPRegionalService {
9872
9968
  }
9873
9969
 
9874
9970
  class AXCCommonMockModule {
9875
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCCommonMockModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
9876
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.7", ngImport: i0, type: AXCCommonMockModule }); }
9877
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCCommonMockModule, providers: [
9971
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCCommonMockModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
9972
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.3", ngImport: i0, type: AXCCommonMockModule }); }
9973
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCCommonMockModule, providers: [
9878
9974
  {
9879
9975
  provide: AXP_ACTIVITY_LOG_PROVIDER,
9880
9976
  useClass: AXCPActivityLogService,
@@ -9895,7 +9991,7 @@ class AXCCommonMockModule {
9895
9991
  }
9896
9992
  ] }); }
9897
9993
  }
9898
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCCommonMockModule, decorators: [{
9994
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCCommonMockModule, decorators: [{
9899
9995
  type: NgModule,
9900
9996
  args: [{
9901
9997
  imports: [],
@@ -10086,10 +10182,10 @@ class AXCCalendarDataSeeder {
10086
10182
  async seed() {
10087
10183
  await this.storageService.initial(`${RootConfig$g.module.name}.${RootConfig$g.entities.calendar.name}`, calendarMock);
10088
10184
  }
10089
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCCalendarDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
10090
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCCalendarDataSeeder }); }
10185
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCCalendarDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
10186
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCCalendarDataSeeder }); }
10091
10187
  }
10092
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCCalendarDataSeeder, decorators: [{
10188
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCCalendarDataSeeder, decorators: [{
10093
10189
  type: Injectable
10094
10190
  }] });
10095
10191
 
@@ -10344,10 +10440,10 @@ class AXCCalendarEventDataSeeder {
10344
10440
  async seed() {
10345
10441
  await this.storageService.initial(`${RootConfig$g.module.name}.${RootConfig$g.entities.calendarEvent.name}`, calendarEventMock);
10346
10442
  }
10347
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCCalendarEventDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
10348
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCCalendarEventDataSeeder }); }
10443
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCCalendarEventDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
10444
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCCalendarEventDataSeeder }); }
10349
10445
  }
10350
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCCalendarEventDataSeeder, decorators: [{
10446
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCCalendarEventDataSeeder, decorators: [{
10351
10447
  type: Injectable
10352
10448
  }] });
10353
10449
 
@@ -10358,17 +10454,17 @@ class AXMCalendarEventTypeSeeder {
10358
10454
  async seed() {
10359
10455
  await this.storageService.initial(`${RootConfig$g.module.name}.${RootConfig$g.entities.calendarEventType.name}`, calendarEventTypeMockData);
10360
10456
  }
10361
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXMCalendarEventTypeSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
10362
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXMCalendarEventTypeSeeder }); }
10457
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMCalendarEventTypeSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
10458
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMCalendarEventTypeSeeder }); }
10363
10459
  }
10364
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXMCalendarEventTypeSeeder, decorators: [{
10460
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMCalendarEventTypeSeeder, decorators: [{
10365
10461
  type: Injectable
10366
10462
  }] });
10367
10463
 
10368
10464
  class AXMCalendarManagementMockModule {
10369
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXMCalendarManagementMockModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
10370
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.7", ngImport: i0, type: AXMCalendarManagementMockModule }); }
10371
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXMCalendarManagementMockModule, providers: [
10465
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMCalendarManagementMockModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
10466
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.3", ngImport: i0, type: AXMCalendarManagementMockModule }); }
10467
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMCalendarManagementMockModule, providers: [
10372
10468
  {
10373
10469
  provide: AXP_DATA_SEEDER_TOKEN,
10374
10470
  useClass: AXCCalendarDataSeeder,
@@ -10386,7 +10482,7 @@ class AXMCalendarManagementMockModule {
10386
10482
  },
10387
10483
  ] }); }
10388
10484
  }
10389
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXMCalendarManagementMockModule, decorators: [{
10485
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMCalendarManagementMockModule, decorators: [{
10390
10486
  type: NgModule,
10391
10487
  args: [{
10392
10488
  providers: [
@@ -10488,17 +10584,17 @@ class AXCQueryDataSeeder {
10488
10584
  await this.storageService.initial(`${RootConfig$h.module.name}.${RootConfig$h.entities.queryCategory.name}`, QUERY_CATEGORY_MOCK);
10489
10585
  await this.storageService.initial(`${RootConfig$h.module.name}.${RootConfig$h.entities.query.name}`, QUERY_MOCK);
10490
10586
  }
10491
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCQueryDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
10492
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCQueryDataSeeder }); }
10587
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCQueryDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
10588
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCQueryDataSeeder }); }
10493
10589
  }
10494
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCQueryDataSeeder, decorators: [{
10590
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCQueryDataSeeder, decorators: [{
10495
10591
  type: Injectable
10496
10592
  }] });
10497
10593
 
10498
10594
  class AXCDataManagementMockModule {
10499
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCDataManagementMockModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
10500
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.7", ngImport: i0, type: AXCDataManagementMockModule }); }
10501
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCDataManagementMockModule, providers: [
10595
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCDataManagementMockModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
10596
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.3", ngImport: i0, type: AXCDataManagementMockModule }); }
10597
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCDataManagementMockModule, providers: [
10502
10598
  {
10503
10599
  provide: AXP_DATA_SEEDER_TOKEN,
10504
10600
  useClass: AXCQueryDataSeeder,
@@ -10506,7 +10602,7 @@ class AXCDataManagementMockModule {
10506
10602
  },
10507
10603
  ] }); }
10508
10604
  }
10509
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCDataManagementMockModule, decorators: [{
10605
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCDataManagementMockModule, decorators: [{
10510
10606
  type: NgModule,
10511
10607
  args: [{
10512
10608
  imports: [],
@@ -10534,8 +10630,8 @@ class AXCMockModule {
10534
10630
  },
10535
10631
  });
10536
10632
  }
10537
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCMockModule, deps: [{ token: i1.AXPAppStartUpService }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.NgModule }); }
10538
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.7", ngImport: i0, type: AXCMockModule, imports: [i2.AXPAuthModule, AXCCommonMockModule,
10633
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCMockModule, deps: [{ token: i1.AXPAppStartUpService }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.NgModule }); }
10634
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.3", ngImport: i0, type: AXCMockModule, imports: [i2.AXPAuthModule, AXCCommonMockModule,
10539
10635
  AXCFormTemplateManagementMockModule,
10540
10636
  AXCFOrganizationManagementMockModule,
10541
10637
  AXCReportManagementMockModule,
@@ -10556,7 +10652,7 @@ class AXCMockModule {
10556
10652
  AXCLogManagementMockModule,
10557
10653
  AXMCalendarManagementMockModule,
10558
10654
  AXCDataManagementMockModule] }); }
10559
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCMockModule, providers: [
10655
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCMockModule, providers: [
10560
10656
  {
10561
10657
  provide: AXPEntityStorageService,
10562
10658
  useClass: AXPDexieEntityStorageService,
@@ -10587,7 +10683,7 @@ class AXCMockModule {
10587
10683
  AXMCalendarManagementMockModule,
10588
10684
  AXCDataManagementMockModule] }); }
10589
10685
  }
10590
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXCMockModule, decorators: [{
10686
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCMockModule, decorators: [{
10591
10687
  type: NgModule,
10592
10688
  args: [{
10593
10689
  imports: [
@@ -10628,40 +10724,410 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImpor
10628
10724
  }]
10629
10725
  }], ctorParameters: () => [{ type: i1.AXPAppStartUpService }, { type: i0.Injector }] });
10630
10726
 
10727
+ class AXCMockOidcStrategy extends AXPAuthStrategy {
10728
+ constructor() {
10729
+ super(...arguments);
10730
+ this.sessionService = inject(AXPSessionService);
10731
+ this.storageService = inject(AXPEntityStorageService);
10732
+ this.router = inject(Router);
10733
+ this.applicationLoader = inject(AXP_APPLICATION_LOADER);
10734
+ this.tenantLoader = inject(AXP_TENANT_LOADER);
10735
+ }
10736
+ get name() {
10737
+ return 'oidc';
10738
+ }
10739
+ async signin(credentials) {
10740
+ // If username and password exist, use the existing implementation
10741
+ if (credentials.strategy === 'oidc' &&
10742
+ credentials.hasOwnProperty('username') &&
10743
+ credentials.hasOwnProperty('password')) {
10744
+ let foundUser = null;
10745
+ let users = [];
10746
+ // Create a temporary user based on the provided credentials so that the tenant loader can
10747
+ // resolve the correct list (e.g. root user will get extra tenants).
10748
+ const tempUser = {
10749
+ id: '',
10750
+ name: credentials['username'],
10751
+ title: credentials['username'],
10752
+ };
10753
+ // Instantiate a proper AXPSessionContext instead of using a type-casted literal.
10754
+ const sessionContext = new AXPSessionContext({
10755
+ user: tempUser,
10756
+ tenant: null,
10757
+ application: null,
10758
+ });
10759
+ const tenants = await firstValueFrom(this.tenantLoader.getList(sessionContext));
10760
+ const applications = await firstValueFrom(this.applicationLoader.getList(sessionContext));
10761
+ // If only one tenant/application, select it directly
10762
+ const tenant = Array.isArray(tenants) && tenants.length === 1 ? tenants[0] : undefined;
10763
+ let application = undefined;
10764
+ if (tenants) {
10765
+ let application = Array.isArray(applications) && applications.length === 1 ? applications[0] : undefined;
10766
+ }
10767
+ try {
10768
+ if (credentials['username'] == 'root' && credentials['password'] == '123') {
10769
+ const user = {
10770
+ id: 'a683a19a-e3eb-56a7-b81c-7cf9468ae831',
10771
+ name: 'root',
10772
+ title: 'Root User',
10773
+ avatar: 'https://avatar.iran.liara.run/public/29',
10774
+ };
10775
+ return {
10776
+ succeed: true,
10777
+ data: {
10778
+ user,
10779
+ tenant,
10780
+ application,
10781
+ accessToken: 'mock_access_token',
10782
+ idToken: 'mock_id_token',
10783
+ refreshToken: 'mock_refresh_token',
10784
+ },
10785
+ };
10786
+ }
10787
+ if (credentials['username'] == 'admin' && credentials['password'] == '123') {
10788
+ const user = {
10789
+ id: 'a683a19a-e3eb-46a7-b81c-7cf9468ae831',
10790
+ name: 'admin',
10791
+ title: 'Admin User',
10792
+ avatar: 'https://avatar.iran.liara.run/public/47',
10793
+ };
10794
+ return {
10795
+ succeed: true,
10796
+ data: {
10797
+ user,
10798
+ tenant,
10799
+ application,
10800
+ accessToken: 'mock_access_token',
10801
+ idToken: 'mock_id_token',
10802
+ refreshToken: 'mock_refresh_token',
10803
+ },
10804
+ };
10805
+ }
10806
+ users = await this.storageService.getAll('SecurityManagement.users');
10807
+ }
10808
+ catch (e) {
10809
+ users = [];
10810
+ }
10811
+ foundUser = users.find((u) => u['username'] === credentials['username'] && u['password'] === credentials['password']);
10812
+ if (!foundUser) {
10813
+ return {
10814
+ succeed: false,
10815
+ };
10816
+ }
10817
+ const user = {
10818
+ id: foundUser.id,
10819
+ name: foundUser.name,
10820
+ title: foundUser.title || '',
10821
+ avatar: foundUser.avatar || '',
10822
+ };
10823
+ return {
10824
+ succeed: true,
10825
+ data: {
10826
+ accessToken: 'mock_access_token',
10827
+ refreshToken: 'mock_refresh_token',
10828
+ idToken: 'mock_id_token',
10829
+ user,
10830
+ tenant,
10831
+ application,
10832
+ },
10833
+ };
10834
+ }
10835
+ // If OIDC with idToken/accessToken (OAuth callback)
10836
+ if (credentials.strategy === 'oidc' && credentials['idToken'] && credentials['accessToken']) {
10837
+ const payload = JwtUtil.parseJwt(credentials['idToken']);
10838
+ const user = {
10839
+ id: payload['sub'] || payload['http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier'] || '',
10840
+ title: payload['name'] || payload['email'] || '',
10841
+ name: payload['name'] || payload['email'] || '',
10842
+ avatar: payload['picture'] || '',
10843
+ };
10844
+ const tenant = payload['tenantid'] || payload['tenant']
10845
+ ? {
10846
+ id: payload['tenantid'] || payload['tenant'] || '',
10847
+ name: payload['tenantname'] || 'test',
10848
+ title: payload['tenanttitle'] || '',
10849
+ }
10850
+ : undefined;
10851
+ const application = payload['applicationid'] || payload['application']
10852
+ ? {
10853
+ id: payload['applicationid'] || payload['application'] || '',
10854
+ name: payload['applicationname'] || '',
10855
+ title: payload['applicationtitle'] || '',
10856
+ }
10857
+ : undefined;
10858
+ return {
10859
+ succeed: true,
10860
+ data: {
10861
+ accessToken: credentials['accessToken'],
10862
+ refreshToken: credentials['refreshToken'],
10863
+ idToken: credentials['idToken'],
10864
+ user,
10865
+ tenant,
10866
+ application,
10867
+ },
10868
+ };
10869
+ }
10870
+ // If not OIDC, fail
10871
+ return {
10872
+ succeed: false,
10873
+ };
10874
+ }
10875
+ async signout() {
10876
+ // No-op for mock
10877
+ }
10878
+ async refreshToken(context) {
10879
+ return {
10880
+ succeed: true,
10881
+ data: {
10882
+ accessToken: 'mock_access_token',
10883
+ refreshToken: 'mock_refresh_token',
10884
+ tenant: context.tenant,
10885
+ application: context.application,
10886
+ },
10887
+ };
10888
+ }
10889
+ async startAuthorizationFlow(tenantId, applicationId) {
10890
+ // Just log or no-op for mock
10891
+ const user = this.sessionService.user;
10892
+ // Instantiate a proper AXPSessionContext instead of using a type-casted literal.
10893
+ const sessionContext = new AXPSessionContext({
10894
+ user: user,
10895
+ tenant: null,
10896
+ application: null,
10897
+ });
10898
+ const tenants = await firstValueFrom(this.tenantLoader.getList(sessionContext));
10899
+ const applications = await firstValueFrom(this.applicationLoader.getList(sessionContext));
10900
+ const tenant = tenants.find((t) => t.id === tenantId);
10901
+ let application = applications.find((a) => a.id === applicationId);
10902
+ if (!tenant) {
10903
+ application = undefined;
10904
+ }
10905
+ const payload = {
10906
+ tenantid: tenantId,
10907
+ applicationid: applicationId,
10908
+ tenantname: tenant?.name || '',
10909
+ applicationname: application?.name || '',
10910
+ applicationtitle: application?.title || '',
10911
+ username: user?.name || '',
10912
+ name: user?.name || '',
10913
+ title: user?.title || '',
10914
+ avatar: user?.avatar || '',
10915
+ sub: user?.id || '',
10916
+ email: user?.name || '',
10917
+ picture: user?.avatar || '',
10918
+ tenanttitle: tenant?.title || '',
10919
+ };
10920
+ const idToken = JwtUtil.createJwt(payload);
10921
+ await this.sessionService.signin({
10922
+ strategy: 'oidc',
10923
+ idToken: idToken,
10924
+ accessToken: 'mock_access_token',
10925
+ refreshToken: 'mock_refresh_token',
10926
+ });
10927
+ // Wait 1 second, then navigate based on tenant/application presence
10928
+ await new Promise(resolve => setTimeout(resolve, 1000));
10929
+ if (!tenant) {
10930
+ this.router.navigate(['/auth/account/tenant-chooser']);
10931
+ return;
10932
+ }
10933
+ if (!application) {
10934
+ this.router.navigate(['/auth/account/app-chooser']);
10935
+ return;
10936
+ }
10937
+ this.router.navigate(['/home']);
10938
+ console.log('Mock OIDC startAuthorizationFlow', user, tenantId, applicationId);
10939
+ }
10940
+ async completeAuthorizationCodeFlow(options) {
10941
+ console.log('Mock OIDC completeAuthorizationCodeFlow');
10942
+ }
10943
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCMockOidcStrategy, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
10944
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCMockOidcStrategy }); }
10945
+ }
10946
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXCMockOidcStrategy, decorators: [{
10947
+ type: Injectable
10948
+ }] });
10949
+
10631
10950
  class AXMReportExecuteCommand {
10632
10951
  constructor() {
10633
10952
  this.queryService = inject(AXPQueryService);
10953
+ this.reportDataCache = new Map();
10954
+ this.CACHE_TTL_MS = 30 * 60 * 1000; // 30 minutes
10955
+ this.DEFAULT_TOTAL_ITEMS = 150;
10956
+ // Set up periodic cache cleanup every 10 minutes
10957
+ setInterval(() => {
10958
+ this.clearExpiredCache();
10959
+ }, 10 * 60 * 1000);
10634
10960
  }
10635
10961
  //#region ---- Command Implementation ----
10636
- async execute(input) {
10962
+ async execute(context) {
10637
10963
  try {
10638
- const { reportId, parameters, page = 1, pageSize = 50 } = input;
10639
- // Find the report definition
10964
+ const { reportId, layoutId, dataSource, parameters } = context;
10965
+ await new Promise(resolve => setTimeout(resolve, 500));
10966
+ // Get the report definition
10640
10967
  const reportDefinition = await this.queryService.fetch("ReportManagement.Report:GetById", reportId);
10641
10968
  if (!reportDefinition) {
10642
10969
  throw new Error(`Report with ID ${reportId} not found`);
10643
10970
  }
10644
- // Generate mock data based on report type and parameters
10645
- const mockData = this.generateMockDataForReport(reportDefinition, parameters, pageSize);
10646
- // Simulate total records (more than current page)
10647
- const total = Math.max(mockData.length, pageSize * 3 + Math.floor(Math.random() * 50));
10971
+ // Find the specific layout
10972
+ const layoutDefinition = reportDefinition.layouts.find((l) => l.id === layoutId);
10973
+ if (!layoutDefinition) {
10974
+ throw new Error(`Layout with ID ${layoutId} not found in report ${reportId}`);
10975
+ }
10976
+ // Generate data based on the layout type and data source
10977
+ const executionResult = await this.generateLayoutData(reportDefinition, layoutDefinition, dataSource, parameters);
10978
+ // Return the combined layout configuration and data
10648
10979
  return {
10649
- data: mockData,
10650
- total,
10651
- page,
10652
- pageSize
10980
+ ...layoutDefinition.layout,
10981
+ data: executionResult
10653
10982
  };
10654
10983
  }
10655
10984
  catch (error) {
10656
10985
  console.error('Error executing report:', error);
10657
- throw new Error('Failed to execute report');
10986
+ const errorMessage = error instanceof Error ? error.message : 'Unknown error';
10987
+ throw new Error(`Failed to execute report: ${errorMessage}`);
10658
10988
  }
10659
10989
  }
10660
10990
  //#endregion
10991
+ //#region ---- Layout-Specific Data Generation ----
10992
+ async generateLayoutData(reportDefinition, layoutDefinition, dataSource, parameters) {
10993
+ const layoutType = layoutDefinition.layout.type;
10994
+ switch (layoutType) {
10995
+ case 'table':
10996
+ return this.generateTableData(reportDefinition, layoutDefinition, dataSource, parameters);
10997
+ case 'chart':
10998
+ return this.generateChartData(reportDefinition, layoutDefinition, dataSource, parameters);
10999
+ default:
11000
+ throw new Error(`Unsupported layout type: ${layoutType}`);
11001
+ }
11002
+ }
11003
+ generateTableData(reportDefinition, layoutDefinition, dataSource, parameters) {
11004
+ const skip = parameters['skip'] || 0;
11005
+ const take = parameters['take'] || 10;
11006
+ // Get or generate cached data for the entire report
11007
+ const allData = this.getCachedOrGenerateReportData(reportDefinition, parameters);
11008
+ // Apply pagination
11009
+ const items = allData.slice(skip, skip + take);
11010
+ const total = allData.length;
11011
+ return {
11012
+ type: 'table',
11013
+ items,
11014
+ total
11015
+ };
11016
+ }
11017
+ generateChartData(reportDefinition, layoutDefinition, dataSource, parameters) {
11018
+ // For charts, use cached data and take first 12 items for aggregation
11019
+ const allData = this.getCachedOrGenerateReportData(reportDefinition, parameters);
11020
+ const rawData = allData.slice(0, 12); // 12 months of data
11021
+ // Transform to chart-friendly format based on chart configuration
11022
+ const chartConfig = layoutDefinition.layout; // Chart layout
11023
+ const dataMapping = chartConfig.options?.dataMapping;
11024
+ const xField = dataMapping?.xField || 'month';
11025
+ const yField = Array.isArray(dataMapping?.yFields) ? dataMapping.yFields[0] : (dataMapping?.yFields || 'value');
11026
+ const chartData = rawData.reduce((acc, item, index) => {
11027
+ const key = item[xField] ||
11028
+ item['month'] ||
11029
+ item['period'] ||
11030
+ `Period ${index + 1}`;
11031
+ const value = item[yField] ||
11032
+ item['amount'] ||
11033
+ item['value'] ||
11034
+ AXPDataGenerator.number(1000, 50000);
11035
+ acc[key] = value;
11036
+ return acc;
11037
+ }, {});
11038
+ return {
11039
+ type: 'chart',
11040
+ data: chartData
11041
+ };
11042
+ }
11043
+ //#region ---- Cache Management ----
11044
+ getCachedOrGenerateReportData(reportDefinition, parameters) {
11045
+ const cacheKey = this.generateCacheKey(reportDefinition, parameters);
11046
+ const reportVersion = this.generateReportVersion(reportDefinition);
11047
+ // Check if we have valid cached data
11048
+ const cachedData = this.reportDataCache.get(cacheKey);
11049
+ if (this.isCacheValid(cachedData, reportVersion)) {
11050
+ console.log(`🔄 Using cached data for report: ${reportDefinition.title} (${cachedData.data.length} items)`);
11051
+ return cachedData.data;
11052
+ }
11053
+ // Generate new data
11054
+ console.log(`🔥 Generating new data for report: ${reportDefinition.title} (${this.DEFAULT_TOTAL_ITEMS} items)`);
11055
+ const newData = this.generateMockDataForReport(reportDefinition, parameters, this.DEFAULT_TOTAL_ITEMS);
11056
+ // Cache the new data
11057
+ this.reportDataCache.set(cacheKey, {
11058
+ reportId: reportDefinition.id,
11059
+ reportVersion,
11060
+ data: newData,
11061
+ generatedAt: new Date()
11062
+ });
11063
+ console.log(`💾 Cached data for report: ${reportDefinition.title}, Cache size: ${this.reportDataCache.size}`);
11064
+ return newData;
11065
+ }
11066
+ generateCacheKey(reportDefinition, parameters) {
11067
+ // Create a cache key based on report ID and parameters that affect data generation
11068
+ const relevantParams = {
11069
+ category: parameters['category'],
11070
+ period: parameters['period'],
11071
+ month: parameters['month'],
11072
+ year: parameters['year'],
11073
+ quarter: parameters['quarter']
11074
+ };
11075
+ return `${reportDefinition.id}-${JSON.stringify(relevantParams)}`;
11076
+ }
11077
+ generateReportVersion(reportDefinition) {
11078
+ // Generate a simple hash of the report definition to detect changes
11079
+ // In a real implementation, you might use the report's lastModified date or version number
11080
+ const reportString = JSON.stringify({
11081
+ id: reportDefinition.id,
11082
+ title: reportDefinition.title,
11083
+ layoutsCount: reportDefinition.layouts?.length || 0
11084
+ });
11085
+ return btoa(reportString).substring(0, 16); // Simple hash
11086
+ }
11087
+ isCacheValid(cachedData, currentVersion) {
11088
+ if (!cachedData) {
11089
+ return false;
11090
+ }
11091
+ // Check if report version changed
11092
+ if (cachedData.reportVersion !== currentVersion) {
11093
+ console.log(`🔄 Cache invalidated due to report version change`);
11094
+ return false;
11095
+ }
11096
+ // Check if cache expired
11097
+ const now = new Date();
11098
+ const ageMs = now.getTime() - cachedData.generatedAt.getTime();
11099
+ if (ageMs > this.CACHE_TTL_MS) {
11100
+ console.log(`⏰ Cache expired (age: ${Math.round(ageMs / 1000 / 60)} minutes)`);
11101
+ return false;
11102
+ }
11103
+ return true;
11104
+ }
11105
+ clearExpiredCache() {
11106
+ const now = new Date();
11107
+ let expiredCount = 0;
11108
+ for (const [key, data] of this.reportDataCache.entries()) {
11109
+ const ageMs = now.getTime() - data.generatedAt.getTime();
11110
+ if (ageMs > this.CACHE_TTL_MS) {
11111
+ this.reportDataCache.delete(key);
11112
+ expiredCount++;
11113
+ }
11114
+ }
11115
+ if (expiredCount > 0) {
11116
+ console.log(`🧹 Cleared ${expiredCount} expired cache entries. Remaining: ${this.reportDataCache.size}`);
11117
+ }
11118
+ }
11119
+ /**
11120
+ * Manually clear all cached report data (useful for debugging or forcing refresh)
11121
+ */
11122
+ clearCache() {
11123
+ const cacheSize = this.reportDataCache.size;
11124
+ this.reportDataCache.clear();
11125
+ console.log(`🗑️ Manually cleared all cache entries (${cacheSize} items removed)`);
11126
+ }
11127
+ //#endregion
10661
11128
  //#region ---- Mock Data Generation Based on Report Type ----
10662
11129
  generateMockDataForReport(reportDefinition, parameters, pageSize) {
10663
11130
  const reportTitle = reportDefinition.title.toLowerCase();
10664
- const data = [];
10665
11131
  // Generate data based on report type
10666
11132
  if (reportTitle.includes('balance sheet') || reportTitle.includes('financial')) {
10667
11133
  return this.generateFinancialData(reportDefinition, parameters, pageSize);
@@ -10696,7 +11162,9 @@ class AXMReportExecuteCommand {
10696
11162
  percentage: AXPDataGenerator.number(-25, 25),
10697
11163
  category: ['Assets', 'Liabilities', 'Equity'][i % 3],
10698
11164
  period: parameters['period'] || '2024-Q4',
10699
- lastUpdated: this.getRandomPastDate(30)
11165
+ lastUpdated: this.getRandomPastDate(30),
11166
+ month: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun'][i % 6],
11167
+ value: AXPDataGenerator.number(10000, 1000000)
10700
11168
  });
10701
11169
  }
10702
11170
  return data;
@@ -10713,9 +11181,10 @@ class AXMReportExecuteCommand {
10713
11181
  budget: amount * AXPDataGenerator.number(0.8, 1.2),
10714
11182
  variance: AXPDataGenerator.number(-100000, 100000),
10715
11183
  percentOfRevenue: AXPDataGenerator.number(0, 100),
10716
- month: parameters['month'] || 'December',
11184
+ month: parameters['month'] || ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun'][i % 6],
10717
11185
  year: parameters['year'] || 2024,
10718
- category: ['Revenue', 'Expenses', 'Other'][i % 3]
11186
+ category: ['Revenue', 'Expenses', 'Other'][i % 3],
11187
+ value: amount
10719
11188
  });
10720
11189
  }
10721
11190
  return data;
@@ -10737,7 +11206,9 @@ class AXMReportExecuteCommand {
10737
11206
  reviewDate: this.getRandomPastDate(90),
10738
11207
  manager: `${AXPDataGenerator.firstName()} ${AXPDataGenerator.lastName()}`,
10739
11208
  hireDate: this.getRandomPastDate(1825), // ~5 years ago
10740
- status: ['Active', 'On Leave', 'Probation'][i % 3]
11209
+ status: ['Active', 'On Leave', 'Probation'][i % 3],
11210
+ month: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun'][i % 6],
11211
+ value: AXPDataGenerator.number(50000, 150000) // salary
10741
11212
  });
10742
11213
  }
10743
11214
  return data;
@@ -10748,18 +11219,21 @@ class AXMReportExecuteCommand {
10748
11219
  const regions = ['North', 'South', 'East', 'West', 'Central'];
10749
11220
  const companies = ['Acme Corp', 'Tech Solutions Inc', 'Global Industries', 'Innovative Systems', 'Business Partners LLC'];
10750
11221
  for (let i = 0; i < pageSize; i++) {
11222
+ const revenue = AXPDataGenerator.number(1000, 100000);
10751
11223
  data.push({
10752
11224
  id: AXPDataGenerator.uuid(),
10753
11225
  salesRep: `${AXPDataGenerator.firstName()} ${AXPDataGenerator.lastName()}`,
10754
11226
  product: products[i % products.length],
10755
11227
  region: regions[i % regions.length],
10756
- revenue: AXPDataGenerator.number(1000, 100000),
11228
+ revenue: revenue,
10757
11229
  units: AXPDataGenerator.number(1, 500),
10758
11230
  commission: AXPDataGenerator.number(50, 5000),
10759
11231
  saleDate: this.getRandomPastDate(365),
10760
11232
  customer: companies[i % companies.length],
10761
11233
  status: ['Closed', 'Pending', 'In Progress'][i % 3],
10762
- quarter: parameters['quarter'] || 'Q4 2024'
11234
+ quarter: parameters['quarter'] || 'Q4 2024',
11235
+ month: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun'][i % 6],
11236
+ value: revenue
10763
11237
  });
10764
11238
  }
10765
11239
  return data;
@@ -10782,7 +11256,9 @@ class AXMReportExecuteCommand {
10782
11256
  description: `Safety incident involving ${incidentTypes[i % incidentTypes.length].toLowerCase()}`,
10783
11257
  status: ['Open', 'Under Investigation', 'Closed', 'Pending'][i % 4],
10784
11258
  daysToResolve: AXPDataGenerator.number(1, 30),
10785
- category: parameters['category'] || 'General Safety'
11259
+ category: parameters['category'] || 'General Safety',
11260
+ month: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun'][i % 6],
11261
+ value: AXPDataGenerator.number(1, 100) // incident count
10786
11262
  });
10787
11263
  }
10788
11264
  return data;
@@ -10801,7 +11277,8 @@ class AXMReportExecuteCommand {
10801
11277
  description: `Sample data item ${i + 1} for ${reportDefinition.title}`,
10802
11278
  priority: ['Low', 'Medium', 'High'][i % 3],
10803
11279
  owner: `${AXPDataGenerator.firstName()} ${AXPDataGenerator.lastName()}`,
10804
- tags: [`tag${i % 5}`, `category${i % 3}`]
11280
+ tags: [`tag${i % 5}`, `category${i % 3}`],
11281
+ month: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun'][i % 6]
10805
11282
  });
10806
11283
  }
10807
11284
  return data;
@@ -10813,120 +11290,24 @@ class AXMReportExecuteCommand {
10813
11290
  const pastDate = new Date(now.getTime() - (daysAgo * 24 * 60 * 60 * 1000));
10814
11291
  return AXPDataGenerator.date(pastDate, now);
10815
11292
  }
10816
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXMReportExecuteCommand, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
10817
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXMReportExecuteCommand, providedIn: 'root' }); }
11293
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMReportExecuteCommand, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
11294
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMReportExecuteCommand, providedIn: 'root' }); }
10818
11295
  }
10819
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXMReportExecuteCommand, decorators: [{
11296
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMReportExecuteCommand, decorators: [{
10820
11297
  type: Injectable,
10821
11298
  args: [{
10822
11299
  providedIn: 'root',
10823
11300
  }]
10824
- }] });
11301
+ }], ctorParameters: () => [] });
10825
11302
 
10826
11303
  var execute_command = /*#__PURE__*/Object.freeze({
10827
11304
  __proto__: null,
10828
11305
  AXMReportExecuteCommand: AXMReportExecuteCommand
10829
11306
  });
10830
11307
 
10831
- class AXPSecurityManagementMockWidgetDataSourceProvider {
10832
- async items() {
10833
- return [
10834
- {
10835
- name: 'mock.securityUsers',
10836
- title: 'Security Users',
10837
- valueField: 'id',
10838
- textField: 'displayName',
10839
- columns: [
10840
- {
10841
- name: 'id',
10842
- title: 'Id',
10843
- },
10844
- {
10845
- name: 'username',
10846
- title: 'Username',
10847
- },
10848
- {
10849
- name: 'displayName',
10850
- title: 'Display Name',
10851
- },
10852
- ],
10853
- samples: [
10854
- {
10855
- id: '1',
10856
- username: 'johndoe',
10857
- displayName: 'John Doe',
10858
- },
10859
- {
10860
- id: '2',
10861
- username: 'janesmith',
10862
- displayName: 'Jane Smith',
10863
- },
10864
- ],
10865
- source: () => convertArrayToDataSource([
10866
- {
10867
- id: '1',
10868
- username: 'johndoe',
10869
- displayName: 'John Doe',
10870
- },
10871
- {
10872
- id: '2',
10873
- username: 'janesmith',
10874
- displayName: 'Jane Smith',
10875
- },
10876
- {
10877
- id: '3',
10878
- username: 'mikeross',
10879
- displayName: 'Mike Ross',
10880
- },
10881
- ]),
10882
- },
10883
- {
10884
- name: 'mock.securityRoles',
10885
- title: 'Security Roles',
10886
- valueField: 'id',
10887
- textField: 'title',
10888
- columns: [
10889
- {
10890
- name: 'id',
10891
- title: 'Id',
10892
- },
10893
- {
10894
- name: 'title',
10895
- title: 'Title',
10896
- },
10897
- ],
10898
- samples: [
10899
- {
10900
- id: 'admin',
10901
- title: 'Administrator',
10902
- },
10903
- {
10904
- id: 'user',
10905
- title: 'Regular User',
10906
- },
10907
- ],
10908
- source: () => convertArrayToDataSource([
10909
- {
10910
- id: 'admin',
10911
- title: 'Administrator',
10912
- },
10913
- {
10914
- id: 'manager',
10915
- title: 'Manager',
10916
- },
10917
- {
10918
- id: 'user',
10919
- title: 'Regular User',
10920
- },
10921
- ]),
10922
- },
10923
- ];
10924
- }
10925
- }
10926
-
10927
11308
  /**
10928
11309
  * Generated bundle index. Do not edit.
10929
11310
  */
10930
11311
 
10931
- export { APPLICATIONS, APPLICATIONS_MODULES, AXCAppTermDataSeeder, AXCAppVersionDataSeeder, AXCApplicationManagementMockModule, AXCApplicationTemplateDataSeeder, AXCAuthMockModule, AXCCommonMockModule, AXCContactManagementMockModule, AXCConversationMockModule, AXCDashboardManagementMockModule, AXCDataManagementMockModule, AXCDocumentManagementMockModule, AXCFOrganizationManagementMockModule, AXCFileStorageService, AXCFormTemplateManagementMockModule, AXCGlobalVariablesDataSeeder, AXCIssueManagementMockModule, AXCLockService, AXCLogManagementMockModule, AXCMetaDataDefinitionDataSeeder, AXCMockModule, AXCNotificationManagementMockModule, AXCPlatformManagementMockModule, AXCProjectManagementMockModule, AXCReportManagementMockModule, AXCSchedulerJobDataSeeder, AXCSchedulerJobManagementMockModule, AXCSecurityManagementMockModule, AXCTextTemplateCategoryDataSeeder, AXCTextTemplateDataSeeder, AXCTextTemplateManagementMockModule, AXCTrainingManagementMockModule, AXMAiResponderService, AXMReportExecuteCommand, AXPDashboardDataSeeder, AXPDexieEntityStorageService, AXPMessageDataSeeder, AXPReportManagementDataSeeder, AXPRoomDataSeeder, AXPSecurityManagementMockWidgetDataSourceProvider, 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 };
11312
+ 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 };
10932
11313
  //# sourceMappingURL=acorex-connectivity-mock.mjs.map