@acorex/connectivity 20.2.4-next.2 → 20.2.4-next.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/mock/index.d.ts CHANGED
@@ -10,8 +10,7 @@ import { AXPAuthStrategy, AXPBaseCredentials, AXPSessionContext, AXPSignInResult
10
10
  import { AXMAuthConfigs } from '@acorex/modules/auth';
11
11
  import { Router } from '@angular/router';
12
12
  import * as i1 from '@acorex/platform/runtime';
13
- import * as _acorex_modules_organization_management from '@acorex/modules/organization-management';
14
- import { AXPExecutionReportCommand, AXPLayoutExecutionContext, AXPExecutionReportCommandResult } from '@acorex/modules/report-management';
13
+ import { AXPExecutionReportCommand, AXPLayoutExecutionContext, AXPExecutionReportCommandResult, AXPReportDefinition } from '@acorex/modules/report-management';
15
14
  import { AXMTextTemplateManagementTemplateEntityModel } from '@acorex/modules/text-template-management';
16
15
  import { AXPIdentifierRule, AXPClockProvider, AXPChecksumProvider, AXPPolicyProvider, AXPLookupProvider, AXPSequenceProvider, AXPIdentifierService, AXPIdentifierRequest, AXPIdentifierResult, AXPIdentifierPeekResult } from '@acorex/modules/identifier-management';
17
16
 
@@ -315,6 +314,12 @@ declare class AXCFOrganizationManagementMockModule {
315
314
  static ɵinj: i0.ɵɵInjectorDeclaration<AXCFOrganizationManagementMockModule>;
316
315
  }
317
316
 
317
+ declare class AXCHumanCapitalManagementMockModule {
318
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCHumanCapitalManagementMockModule, never>;
319
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCHumanCapitalManagementMockModule, never, never, never>;
320
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCHumanCapitalManagementMockModule>;
321
+ }
322
+
318
323
  declare class AXCReportManagementMockModule {
319
324
  static ɵfac: i0.ɵɵFactoryDeclaration<AXCReportManagementMockModule, never>;
320
325
  static ɵmod: i0.ɵɵNgModuleDeclaration<AXCReportManagementMockModule, never, [typeof i1.AXPRuntimeModule], never>;
@@ -417,6 +422,12 @@ declare class AXCMeetingManagementMockModule {
417
422
  static ɵinj: i0.ɵɵInjectorDeclaration<AXCMeetingManagementMockModule>;
418
423
  }
419
424
 
425
+ declare class AXCCustomerManagementMockModule {
426
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCCustomerManagementMockModule, never>;
427
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCCustomerManagementMockModule, never, never, never>;
428
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCCustomerManagementMockModule>;
429
+ }
430
+
420
431
  declare class AXCMiddlewaresModule {
421
432
  static ɵfac: i0.ɵɵFactoryDeclaration<AXCMiddlewaresModule, never>;
422
433
  static ɵmod: i0.ɵɵNgModuleDeclaration<AXCMiddlewaresModule, never, never, never>;
@@ -426,7 +437,7 @@ declare class AXCMiddlewaresModule {
426
437
  declare class AXCMockModule {
427
438
  constructor(appInitService: AXPAppStartUpService, injector: Injector);
428
439
  static ɵfac: i0.ɵɵFactoryDeclaration<AXCMockModule, never>;
429
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCMockModule, never, [typeof _acorex_platform_auth.AXPAuthModule, typeof AXCCommonMockModule, typeof AXCFormTemplateManagementMockModule, typeof AXCFOrganizationManagementMockModule, typeof AXCReportManagementMockModule, typeof AXCContactManagementMockModule, typeof AXCLocationManagementMockModule, typeof AXCLocaleManagementMockModule, typeof AXCDashboardManagementMockModule, typeof AXCConversationMockModule, typeof AXCAuthMockModule, typeof AXCPlatformManagementMockModule, typeof AXCTextTemplateManagementMockModule, typeof AXCSecurityManagementMockModule, typeof AXCSchedulerJobManagementMockModule, typeof AXCApplicationManagementMockModule, typeof AXCTrainingManagementMockModule, typeof AXCProjectManagementMockModule, typeof AXCDocumentManagementMockModule, typeof AXCHelpDeskMockModule, typeof AXCLogManagementMockModule, typeof AXMCalendarManagementMockModule, typeof AXCDataManagementMockModule, typeof AXCWorkflowManagementMockModule, typeof AXCNotificationManagementMockModule, typeof AXCTaskManagementMockModule, typeof AXMPartyManagementMockModule, typeof AXCContentManagementMockModule, typeof AXCIdentifierManagementMockModule, typeof AXCMeetingManagementMockModule, typeof AXCMiddlewaresModule], never>;
440
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCMockModule, never, [typeof _acorex_platform_auth.AXPAuthModule, typeof AXCCommonMockModule, typeof AXCFormTemplateManagementMockModule, typeof AXCFOrganizationManagementMockModule, typeof AXCHumanCapitalManagementMockModule, typeof AXCReportManagementMockModule, typeof AXCContactManagementMockModule, typeof AXCLocationManagementMockModule, typeof AXCLocaleManagementMockModule, typeof AXCDashboardManagementMockModule, typeof AXCConversationMockModule, typeof AXCAuthMockModule, typeof AXCPlatformManagementMockModule, typeof AXCTextTemplateManagementMockModule, typeof AXCSecurityManagementMockModule, typeof AXCSchedulerJobManagementMockModule, typeof AXCApplicationManagementMockModule, typeof AXCTrainingManagementMockModule, typeof AXCProjectManagementMockModule, typeof AXCDocumentManagementMockModule, typeof AXCHelpDeskMockModule, typeof AXCLogManagementMockModule, typeof AXMCalendarManagementMockModule, typeof AXCDataManagementMockModule, typeof AXCWorkflowManagementMockModule, typeof AXCNotificationManagementMockModule, typeof AXCTaskManagementMockModule, typeof AXMPartyManagementMockModule, typeof AXCContentManagementMockModule, typeof AXCIdentifierManagementMockModule, typeof AXCMeetingManagementMockModule, typeof AXCCustomerManagementMockModule, typeof AXCMiddlewaresModule], never>;
430
441
  static ɵinj: i0.ɵɵInjectorDeclaration<AXCMockModule>;
431
442
  }
432
443
 
@@ -456,96 +467,59 @@ declare class MOCKStrategy extends AXPAuthStrategy {
456
467
  static ɵprov: i0.ɵɵInjectableDeclaration<MOCKStrategy>;
457
468
  }
458
469
 
459
- interface ResponsibilityMock {
470
+ declare function findEmployeeById(employeeId: string): AXCEmployeeMockDto | undefined;
471
+ interface AXCEmployeeMockDto {
460
472
  id: string;
461
- title: string;
462
- description: string;
463
- categoryIds: string[];
464
- }
465
-
466
- interface SkillMock {
467
- id: string;
468
- title: string;
469
- description: string;
470
- categoryIds: string[];
471
- categories: {
473
+ userId?: string;
474
+ partyId: string;
475
+ birthDate: Date;
476
+ employeeCode: string;
477
+ roleId: string;
478
+ role: {
472
479
  id: string;
473
480
  title: string;
474
- }[];
475
- }
476
-
477
- interface PositionMock {
478
- id: string;
479
- title: string;
480
- description: string;
481
- categoryIds: string[];
482
- skillsId: string[];
483
- skills: SkillMock[];
484
- responsibilitiesId: string[];
485
- responsibilities: ResponsibilityMock[];
486
- }
487
-
488
- interface RoleMock {
489
- id: string;
490
- title: string;
491
- description: string;
492
- categoryIds: string[];
493
- skillsId: string[];
481
+ };
482
+ positionId: string;
483
+ position: {
484
+ id: string;
485
+ title: string;
486
+ };
487
+ employmentTypeId: string;
488
+ employmentType: {
489
+ id: string;
490
+ title: string;
491
+ };
492
+ hireDate: Date;
493
+ managerId: string | null;
494
+ manager: AXCEmployeeMockDto | null;
494
495
  }
496
+ declare const EMPLOYEES_MOCK: AXCEmployeeMockDto[];
495
497
 
496
- declare const BRANCHES_MOCK: {
498
+ type AXCEmployeeMock$3 = typeof EMPLOYEES_MOCK[number];
499
+ interface AXCBranchMockDto {
497
500
  id: string;
498
501
  title: string;
499
502
  code: string;
503
+ description: string;
500
504
  managerId: string;
501
- manager: {
502
- id: string;
503
- contactId: string;
504
- contact: {
505
+ manager: AXCEmployeeMock$3;
506
+ locationId?: string;
507
+ location?: {
508
+ country: {
505
509
  id: string;
506
- firstName: string | undefined;
507
- lastName: string | undefined;
508
- email: string | undefined;
509
- mobile: string | undefined;
510
- } | null;
511
- birthDate: Date;
512
- employeeCode: string;
513
- rolesId: string[];
514
- roles: RoleMock[];
515
- positionsId: string[];
516
- positions: PositionMock[];
517
- employmentTypesId: string[];
518
- employmentTypes: _acorex_modules_organization_management.AXMOrganizationManagementEmploymentTypeEntityModel[];
519
- hireDate: Date;
520
- managerId: null;
521
- manager: null;
522
- } | {
523
- id: string;
524
- contactId: string;
525
- contact: {
510
+ title: string;
511
+ };
512
+ state: {
526
513
  id: string;
527
- firstName: string | undefined;
528
- lastName: string | undefined;
529
- email: string | undefined;
530
- mobile: string | undefined;
531
- } | null;
532
- birthDate: Date;
533
- employeeCode: string;
534
- rolesId: string[];
535
- roles: RoleMock[];
536
- positionsId: string[];
537
- positions: PositionMock[];
538
- employmentTypesId: string[];
539
- employmentTypes: _acorex_modules_organization_management.AXMOrganizationManagementEmploymentTypeEntityModel[];
540
- hireDate: Date;
541
- managerId: string;
542
- manager: null;
514
+ title: string;
515
+ };
516
+ city: {
517
+ id: string;
518
+ title: string;
519
+ };
543
520
  };
544
- country: string;
545
- province: string;
546
- city: string;
547
- description: string;
548
- }[];
521
+ }
522
+ declare const BRANCHES_MOCK: AXCBranchMockDto[];
549
523
 
550
524
  declare class AXMBranchDataSeeder implements AXPDataSeeder {
551
525
  private storageService;
@@ -554,58 +528,30 @@ declare class AXMBranchDataSeeder implements AXPDataSeeder {
554
528
  static ɵprov: i0.ɵɵInjectableDeclaration<AXMBranchDataSeeder>;
555
529
  }
556
530
 
557
- declare const DIVISIONS_MOCK: {
531
+ type AXCEmployeeMock$2 = (typeof EMPLOYEES_MOCK)[number];
532
+ interface AXCDivisionMockDto {
558
533
  id: string;
559
534
  title: string;
560
535
  description: string;
561
536
  managerId: string;
562
- manager: {
537
+ manager: AXCEmployeeMock$2;
538
+ countryId?: string;
539
+ stateId?: string;
540
+ cityId?: string;
541
+ country?: {
563
542
  id: string;
564
- contactId: string;
565
- contact: {
566
- id: string;
567
- firstName: string | undefined;
568
- lastName: string | undefined;
569
- email: string | undefined;
570
- mobile: string | undefined;
571
- } | null;
572
- birthDate: Date;
573
- employeeCode: string;
574
- rolesId: string[];
575
- roles: RoleMock[];
576
- positionsId: string[];
577
- positions: PositionMock[];
578
- employmentTypesId: string[];
579
- employmentTypes: _acorex_modules_organization_management.AXMOrganizationManagementEmploymentTypeEntityModel[];
580
- hireDate: Date;
581
- managerId: null;
582
- manager: null;
583
- } | {
543
+ title: string;
544
+ };
545
+ state?: {
584
546
  id: string;
585
- contactId: string;
586
- contact: {
587
- id: string;
588
- firstName: string | undefined;
589
- lastName: string | undefined;
590
- email: string | undefined;
591
- mobile: string | undefined;
592
- } | null;
593
- birthDate: Date;
594
- employeeCode: string;
595
- rolesId: string[];
596
- roles: RoleMock[];
597
- positionsId: string[];
598
- positions: PositionMock[];
599
- employmentTypesId: string[];
600
- employmentTypes: _acorex_modules_organization_management.AXMOrganizationManagementEmploymentTypeEntityModel[];
601
- hireDate: Date;
602
- managerId: string;
603
- manager: null;
547
+ title: string;
604
548
  };
605
- country: string;
606
- province: string;
607
- city: string;
608
- }[];
549
+ city?: {
550
+ id: string;
551
+ title: string;
552
+ };
553
+ }
554
+ declare const DIVISIONS_MOCK: AXCDivisionMockDto[];
609
555
 
610
556
  declare class AXMDivisionDataSeeder implements AXPDataSeeder {
611
557
  private storageService;
@@ -614,58 +560,15 @@ declare class AXMDivisionDataSeeder implements AXPDataSeeder {
614
560
  static ɵprov: i0.ɵɵInjectableDeclaration<AXMDivisionDataSeeder>;
615
561
  }
616
562
 
617
- declare const DEPARTMENTS_MOCK: {
563
+ type AXCEmployeeMock$1 = typeof EMPLOYEES_MOCK[number];
564
+ interface AXCDepartmentMockDto {
618
565
  id: string;
619
566
  title: string;
620
567
  description: string;
621
568
  managerId: string;
622
- manager: {
623
- id: string;
624
- contactId: string;
625
- contact: {
626
- id: string;
627
- firstName: string | undefined;
628
- lastName: string | undefined;
629
- email: string | undefined;
630
- mobile: string | undefined;
631
- } | null;
632
- birthDate: Date;
633
- employeeCode: string;
634
- rolesId: string[];
635
- roles: RoleMock[];
636
- positionsId: string[];
637
- positions: PositionMock[];
638
- employmentTypesId: string[];
639
- employmentTypes: _acorex_modules_organization_management.AXMOrganizationManagementEmploymentTypeEntityModel[];
640
- hireDate: Date;
641
- managerId: null;
642
- manager: null;
643
- } | {
644
- id: string;
645
- contactId: string;
646
- contact: {
647
- id: string;
648
- firstName: string | undefined;
649
- lastName: string | undefined;
650
- email: string | undefined;
651
- mobile: string | undefined;
652
- } | null;
653
- birthDate: Date;
654
- employeeCode: string;
655
- rolesId: string[];
656
- roles: RoleMock[];
657
- positionsId: string[];
658
- positions: PositionMock[];
659
- employmentTypesId: string[];
660
- employmentTypes: _acorex_modules_organization_management.AXMOrganizationManagementEmploymentTypeEntityModel[];
661
- hireDate: Date;
662
- managerId: string;
663
- manager: null;
664
- };
665
- country: string;
666
- province: string;
667
- city: string;
668
- }[];
569
+ manager: AXCEmployeeMock$1;
570
+ }
571
+ declare const DEPARTMENTS_MOCK: AXCDepartmentMockDto[];
669
572
 
670
573
  declare class AXMDepartmentDataSeeder implements AXPDataSeeder {
671
574
  private storageService;
@@ -674,98 +577,30 @@ declare class AXMDepartmentDataSeeder implements AXPDataSeeder {
674
577
  static ɵprov: i0.ɵɵInjectableDeclaration<AXMDepartmentDataSeeder>;
675
578
  }
676
579
 
677
- declare const TEAMS_MOCK: {
580
+ type AXCEmployeeMock = (typeof EMPLOYEES_MOCK)[number];
581
+ interface AXCTeamMockDto {
678
582
  id: string;
679
583
  title: string;
584
+ description: string;
680
585
  leaderId: string;
681
- leader: {
682
- id: string;
683
- contactId: string;
684
- contact: {
685
- id: string;
686
- firstName: string | undefined;
687
- lastName: string | undefined;
688
- email: string | undefined;
689
- mobile: string | undefined;
690
- } | null;
691
- birthDate: Date;
692
- employeeCode: string;
693
- rolesId: string[];
694
- roles: RoleMock[];
695
- positionsId: string[];
696
- positions: PositionMock[];
697
- employmentTypesId: string[];
698
- employmentTypes: _acorex_modules_organization_management.AXMOrganizationManagementEmploymentTypeEntityModel[];
699
- hireDate: Date;
700
- managerId: null;
701
- manager: null;
702
- } | {
703
- id: string;
704
- contactId: string;
705
- contact: {
706
- id: string;
707
- firstName: string | undefined;
708
- lastName: string | undefined;
709
- email: string | undefined;
710
- mobile: string | undefined;
711
- } | null;
712
- birthDate: Date;
713
- employeeCode: string;
714
- rolesId: string[];
715
- roles: RoleMock[];
716
- positionsId: string[];
717
- positions: PositionMock[];
718
- employmentTypesId: string[];
719
- employmentTypes: _acorex_modules_organization_management.AXMOrganizationManagementEmploymentTypeEntityModel[];
720
- hireDate: Date;
721
- managerId: string;
722
- manager: null;
723
- };
724
- member: ({
725
- id: string;
726
- contactId: string;
727
- contact: {
728
- id: string;
729
- firstName: string | undefined;
730
- lastName: string | undefined;
731
- email: string | undefined;
732
- mobile: string | undefined;
733
- } | null;
734
- birthDate: Date;
735
- employeeCode: string;
736
- rolesId: string[];
737
- roles: RoleMock[];
738
- positionsId: string[];
739
- positions: PositionMock[];
740
- employmentTypesId: string[];
741
- employmentTypes: _acorex_modules_organization_management.AXMOrganizationManagementEmploymentTypeEntityModel[];
742
- hireDate: Date;
743
- managerId: null;
744
- manager: null;
745
- } | {
746
- id: string;
747
- contactId: string;
748
- contact: {
749
- id: string;
750
- firstName: string | undefined;
751
- lastName: string | undefined;
752
- email: string | undefined;
753
- mobile: string | undefined;
754
- } | null;
755
- birthDate: Date;
756
- employeeCode: string;
757
- rolesId: string[];
758
- roles: RoleMock[];
759
- positionsId: string[];
760
- positions: PositionMock[];
761
- employmentTypesId: string[];
762
- employmentTypes: _acorex_modules_organization_management.AXMOrganizationManagementEmploymentTypeEntityModel[];
763
- hireDate: Date;
764
- managerId: string;
765
- manager: null;
766
- })[];
586
+ leader: AXCEmployeeMock;
587
+ managerId: string;
588
+ manager: AXCEmployeeMock;
589
+ memberIds: string[];
590
+ members: AXCEmployeeMock[];
591
+ }
592
+ interface AXCTeamMockDto {
593
+ id: string;
594
+ title: string;
767
595
  description: string;
768
- }[];
596
+ leaderId: string;
597
+ leader: AXCEmployeeMock;
598
+ managerId: string;
599
+ manager: AXCEmployeeMock;
600
+ memberIds: string[];
601
+ members: AXCEmployeeMock[];
602
+ }
603
+ declare const TEAMS_MOCK: AXCTeamMockDto[];
769
604
 
770
605
  declare class AXMTeamDataSeeder implements AXPDataSeeder {
771
606
  private storageService;
@@ -774,50 +609,6 @@ declare class AXMTeamDataSeeder implements AXPDataSeeder {
774
609
  static ɵprov: i0.ɵɵInjectableDeclaration<AXMTeamDataSeeder>;
775
610
  }
776
611
 
777
- declare const EMPLOYEES_MOCK: ({
778
- id: string;
779
- contactId: string;
780
- contact: {
781
- id: string;
782
- firstName: string | undefined;
783
- lastName: string | undefined;
784
- email: string | undefined;
785
- mobile: string | undefined;
786
- } | null;
787
- birthDate: Date;
788
- employeeCode: string;
789
- rolesId: string[];
790
- roles: RoleMock[];
791
- positionsId: string[];
792
- positions: PositionMock[];
793
- employmentTypesId: string[];
794
- employmentTypes: _acorex_modules_organization_management.AXMOrganizationManagementEmploymentTypeEntityModel[];
795
- hireDate: Date;
796
- managerId: null;
797
- manager: null;
798
- } | {
799
- id: string;
800
- contactId: string;
801
- contact: {
802
- id: string;
803
- firstName: string | undefined;
804
- lastName: string | undefined;
805
- email: string | undefined;
806
- mobile: string | undefined;
807
- } | null;
808
- birthDate: Date;
809
- employeeCode: string;
810
- rolesId: string[];
811
- roles: RoleMock[];
812
- positionsId: string[];
813
- positions: PositionMock[];
814
- employmentTypesId: string[];
815
- employmentTypes: _acorex_modules_organization_management.AXMOrganizationManagementEmploymentTypeEntityModel[];
816
- hireDate: Date;
817
- managerId: string;
818
- manager: null;
819
- })[];
820
-
821
612
  declare class AXMEmployeeDataSeeder implements AXPDataSeeder {
822
613
  private storageService;
823
614
  seed(): Promise<void>;
@@ -825,6 +616,29 @@ declare class AXMEmployeeDataSeeder implements AXPDataSeeder {
825
616
  static ɵprov: i0.ɵɵInjectableDeclaration<AXMEmployeeDataSeeder>;
826
617
  }
827
618
 
619
+ interface AXCPositionAssignmentMockDto {
620
+ id: string;
621
+ employeeId: string;
622
+ employee?: any;
623
+ positionId: string;
624
+ position?: any;
625
+ scopeType: 'division' | 'department';
626
+ scopeId: string;
627
+ scope?: any;
628
+ startDate: Date;
629
+ endDate?: Date | null;
630
+ isPrimary?: boolean;
631
+ notes?: string;
632
+ }
633
+ declare const POSITION_ASSIGNMENTS_MOCK: AXCPositionAssignmentMockDto[];
634
+
635
+ declare class AXMPositionAssignmentDataSeeder implements AXPDataSeeder {
636
+ private storageService;
637
+ seed(): Promise<void>;
638
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMPositionAssignmentDataSeeder, never>;
639
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXMPositionAssignmentDataSeeder>;
640
+ }
641
+
828
642
  declare class AXCAppVersionDataSeeder implements AXPDataSeeder {
829
643
  private storageService;
830
644
  private appVersionService;
@@ -864,6 +678,7 @@ declare class AXMReportDefinitionDataSeeder implements AXPDataSeeder {
864
678
 
865
679
  declare class AXMReportExecuteCommand implements AXPExecutionReportCommand {
866
680
  private readonly queryService;
681
+ private readonly mockDataService;
867
682
  private readonly reportDataCache;
868
683
  private readonly CACHE_TTL_MS;
869
684
  private readonly DEFAULT_TOTAL_ITEMS;
@@ -873,6 +688,15 @@ declare class AXMReportExecuteCommand implements AXPExecutionReportCommand {
873
688
  private generateLayoutData;
874
689
  private generateTableData;
875
690
  private generateChartData;
691
+ private generateLayoutDataFromQuery;
692
+ private buildQueryInput;
693
+ private assignByPath;
694
+ private normalizeTableQueryResult;
695
+ private normalizeChartQueryResult;
696
+ private applyAuditTrailFilters;
697
+ private applyLoginLogsFilters;
698
+ private applyChangePasswordLogsFilters;
699
+ private applyIdentityErrorLogsFilters;
876
700
  private getCachedOrGenerateReportData;
877
701
  private generateCacheKey;
878
702
  private generateReportVersion;
@@ -882,7 +706,19 @@ declare class AXMReportExecuteCommand implements AXPExecutionReportCommand {
882
706
  * Manually clear all cached report data (useful for debugging or forcing refresh)
883
707
  */
884
708
  clearCache(): void;
885
- private generateMockDataForReport;
709
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMReportExecuteCommand, never>;
710
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXMReportExecuteCommand>;
711
+ }
712
+
713
+ /**
714
+ * Provides mock data generation for reports, separated from execution concerns.
715
+ */
716
+ declare class AXMReportMockDataService {
717
+ /**
718
+ * Generate mock data based on report title heuristics.
719
+ */
720
+ generateMockDataForReport(reportDefinition: AXPReportDefinition, parameters: Record<string, unknown>, pageSize: number): Record<string, unknown>[];
721
+ private generateAuditTrailData;
886
722
  private generateFinancialData;
887
723
  private generateIncomeData;
888
724
  private generateEmployeeData;
@@ -890,8 +726,8 @@ declare class AXMReportExecuteCommand implements AXPExecutionReportCommand {
890
726
  private generateSafetyData;
891
727
  private generateGenericData;
892
728
  private getRandomPastDate;
893
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMReportExecuteCommand, never>;
894
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMReportExecuteCommand>;
729
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMReportMockDataService, never>;
730
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXMReportMockDataService>;
895
731
  }
896
732
 
897
733
  declare class AXCSchedulerJobDataSeeder implements AXPDataSeeder {
@@ -911,7 +747,6 @@ declare class AXPSecurityManagementRoleDataSeeder implements AXPDataSeeder {
911
747
  declare class AXPSecurityManagementUserDataSeeder implements AXPDataSeeder {
912
748
  private storageService;
913
749
  seed(): Promise<void>;
914
- private generateUsers;
915
750
  static ɵfac: i0.ɵɵFactoryDeclaration<AXPSecurityManagementUserDataSeeder, never>;
916
751
  static ɵprov: i0.ɵɵInjectableDeclaration<AXPSecurityManagementUserDataSeeder>;
917
752
  }
@@ -928,16 +763,19 @@ declare const mockRoleDefinitions: {
928
763
  permissions: never[];
929
764
  }[];
930
765
 
931
- interface MockUser {
766
+ interface AXCMockUserMockDto {
932
767
  id: string;
933
768
  username: string;
934
769
  displayName: string;
935
- roleIds: {
770
+ partyId: string;
771
+ roleIds: string[];
772
+ roles: {
936
773
  id: string;
937
774
  title: string;
938
775
  }[];
776
+ password: string;
939
777
  }
940
- declare const mockUsers: MockUser[];
778
+ declare const mockUsers: AXCMockUserMockDto[];
941
779
 
942
780
  interface TaskType {
943
781
  id: string;
@@ -1080,7 +918,8 @@ declare class AXPMockLookupProvider implements AXPLookupProvider {
1080
918
  }
1081
919
  declare class AXPMockSequenceProvider implements AXPSequenceProvider {
1082
920
  private readonly db;
1083
- next(scopeHash: string, options?: {
921
+ private readonly rulesFromProviders;
922
+ next(scopeHash: string, ruleId: string, options?: {
1084
923
  pad?: number;
1085
924
  consume?: boolean;
1086
925
  }): Promise<number>;
@@ -1111,8 +950,6 @@ declare class AXPMockIdentifierService extends AXPIdentifierService {
1111
950
  static ɵprov: i0.ɵɵInjectableDeclaration<AXPMockIdentifierService>;
1112
951
  }
1113
952
 
1114
- declare const identifierCommitMiddleware: AXPEntityStorageMiddleware;
1115
-
1116
953
  declare const auditLoggerMiddleware: AXPEntityStorageMiddleware;
1117
954
 
1118
955
  /**
@@ -1135,7 +972,11 @@ declare const auditLoggerMiddleware: AXPEntityStorageMiddleware;
1135
972
  */
1136
973
  declare const createFileCastMiddleware: AXPEntityStorageMiddleware;
1137
974
 
975
+ declare const identifierCommitMiddleware: AXPEntityStorageMiddleware;
976
+
977
+ declare const mergeDetailRelationMiddleware: AXPEntityStorageMiddleware;
978
+
1138
979
  declare const AXCMockEntityLogListener: AXPDistributedEventListenerProvider<any>;
1139
980
 
1140
- export { APPLICATIONS, APPLICATIONS_MODULES, AXCAppVersionDataSeeder, AXCApplicationManagementMockModule, AXCApplicationTemplateDataSeeder, AXCAuthMockModule, AXCCommonMockModule, AXCContactManagementMockModule, AXCConversationMockModule, AXCDashboardManagementMockModule, AXCDataManagementMockModule, AXCDocumentManagementMockModule, AXCFOrganizationManagementMockModule, AXCFileStorageService, AXCFormTemplateManagementMockModule, AXCGlobalVariablesDataSeeder, AXCHelpDeskMockModule, AXCIdentifierManagementMockModule, AXCLocaleManagementMockModule, AXCLocationManagementMockModule, AXCLockService, AXCLogManagementMockModule, AXCMetaDataDefinitionDataSeeder, AXCMiddlewaresModule, AXCMockEntityLogListener, AXCMockModule, AXCNotificationManagementMockModule, AXCPlatformManagementMockModule, AXCProjectManagementMockModule, AXCReportManagementMockModule, AXCSchedulerJobDataSeeder, AXCSchedulerJobManagementMockModule, AXCSecurityManagementMockModule, AXCTaskManagementMockModule, AXCTextTemplateCategoryDataSeeder, AXCTextTemplateDataSeeder, AXCTextTemplateManagementMockModule, AXCTrainingManagementMockModule, AXMAiResponderService, AXMBranchDataSeeder, AXMDepartmentDataSeeder, AXMDivisionDataSeeder, AXMEmployeeDataSeeder, AXMReportCategoryDataSeeder, AXMReportDefinitionDataSeeder, AXMReportExecuteCommand, AXMTeamDataSeeder, AXPDashboardDataSeeder, AXPDexieEntityStorageService, AXPIdentifierDB, AXPMessageDataSeeder, AXPMockChecksumProvider, AXPMockClockProvider, AXPMockIdentifierService, AXPMockLookupProvider, AXPMockPolicyProvider, AXPMockSequenceProvider, AXPRoomDataSeeder, AXPSecurityManagementRoleDataSeeder, AXPSecurityManagementUserDataSeeder, BRANCHES_MOCK, DASHBOARDS, DEPARTMENTS_MOCK, DIVISIONS_MOCK, EDITIONS, EMPLOYEES_MOCK, ENTITIES, FEATURES, GLOBAL_VARIABLES, MOCKGoogleStrategy, MOCKStrategy, MODULES, PERMISSIONS, PROPERTIES, TASKS, TASK_STATUSES, TASK_TEMPLATES, TASK_TYPES, TEAMS_MOCK, TEXT_TEMPLATES, TEXT_TEMPLATE_CATEGORY, applications, auditLoggerMiddleware, createFileCastMiddleware, findContactMethod, generateRandomDashboard, identifierCommitMiddleware, mockRoleDefinitions, mockUsers, tenantsMock };
1141
- export type { AXPLogRow, AXPRuleRow, AXPSeqRow, MockUserPassCredentials, Task, TaskStatus, TaskTemplate, TaskType };
981
+ export { APPLICATIONS, APPLICATIONS_MODULES, AXCAppVersionDataSeeder, AXCApplicationManagementMockModule, AXCApplicationTemplateDataSeeder, AXCAuthMockModule, AXCCommonMockModule, AXCContactManagementMockModule, AXCConversationMockModule, AXCDashboardManagementMockModule, AXCDataManagementMockModule, AXCDocumentManagementMockModule, AXCFOrganizationManagementMockModule, AXCFileStorageService, AXCFormTemplateManagementMockModule, AXCGlobalVariablesDataSeeder, AXCHelpDeskMockModule, AXCIdentifierManagementMockModule, AXCLocaleManagementMockModule, AXCLocationManagementMockModule, AXCLockService, AXCLogManagementMockModule, AXCMetaDataDefinitionDataSeeder, AXCMiddlewaresModule, AXCMockEntityLogListener, AXCMockModule, AXCNotificationManagementMockModule, AXCPlatformManagementMockModule, AXCProjectManagementMockModule, AXCReportManagementMockModule, AXCSchedulerJobDataSeeder, AXCSchedulerJobManagementMockModule, AXCSecurityManagementMockModule, AXCTaskManagementMockModule, AXCTextTemplateCategoryDataSeeder, AXCTextTemplateDataSeeder, AXCTextTemplateManagementMockModule, AXCTrainingManagementMockModule, AXMAiResponderService, AXMBranchDataSeeder, AXMDepartmentDataSeeder, AXMDivisionDataSeeder, AXMEmployeeDataSeeder, AXMPositionAssignmentDataSeeder, AXMReportCategoryDataSeeder, AXMReportDefinitionDataSeeder, AXMReportExecuteCommand, AXMReportMockDataService, AXMTeamDataSeeder, AXPDashboardDataSeeder, AXPDexieEntityStorageService, AXPIdentifierDB, AXPMessageDataSeeder, AXPMockChecksumProvider, AXPMockClockProvider, AXPMockIdentifierService, AXPMockLookupProvider, AXPMockPolicyProvider, AXPMockSequenceProvider, AXPRoomDataSeeder, AXPSecurityManagementRoleDataSeeder, AXPSecurityManagementUserDataSeeder, BRANCHES_MOCK, DASHBOARDS, DEPARTMENTS_MOCK, DIVISIONS_MOCK, EDITIONS, EMPLOYEES_MOCK, ENTITIES, FEATURES, GLOBAL_VARIABLES, MOCKGoogleStrategy, MOCKStrategy, MODULES, PERMISSIONS, POSITION_ASSIGNMENTS_MOCK, PROPERTIES, TASKS, TASK_STATUSES, TASK_TEMPLATES, TASK_TYPES, TEAMS_MOCK, TEXT_TEMPLATES, TEXT_TEMPLATE_CATEGORY, applications, auditLoggerMiddleware, createFileCastMiddleware, findContactMethod, findEmployeeById, generateRandomDashboard, identifierCommitMiddleware, mergeDetailRelationMiddleware, mockRoleDefinitions, mockUsers, tenantsMock };
982
+ export type { AXCBranchMockDto, AXCDepartmentMockDto, AXCDivisionMockDto, AXCPositionAssignmentMockDto, AXCTeamMockDto, AXPLogRow, AXPRuleRow, AXPSeqRow, MockUserPassCredentials, Task, TaskStatus, TaskTemplate, TaskType };
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@acorex/connectivity",
3
- "version": "20.2.4-next.2",
3
+ "version": "20.2.4-next.5",
4
4
  "peerDependencies": {
5
- "@angular/common": "^19.0.0",
6
- "@angular/core": "^19.0.0"
5
+ "@angular/common": ">=19.0.0",
6
+ "@angular/core": ">=19.0.0"
7
7
  },
8
8
  "sideEffects": false,
9
9
  "module": "fesm2022/acorex-connectivity.mjs",