@acorex/connectivity 20.2.4-next.1 → 20.2.4-next.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/acorex-connectivity-mock-acorex-connectivity-mock-CVAXxD06.mjs +22955 -0
- package/fesm2022/acorex-connectivity-mock-acorex-connectivity-mock-CVAXxD06.mjs.map +1 -0
- package/fesm2022/{acorex-connectivity-mock-category-with-items.query-BNWqkuZp.mjs → acorex-connectivity-mock-category-with-items.query-72bKFWcj.mjs} +1 -2
- package/fesm2022/acorex-connectivity-mock-category-with-items.query-72bKFWcj.mjs.map +1 -0
- package/fesm2022/acorex-connectivity-mock-employee-skills.queries-DLQzhHUF.mjs +194 -0
- package/fesm2022/acorex-connectivity-mock-employee-skills.queries-DLQzhHUF.mjs.map +1 -0
- package/fesm2022/acorex-connectivity-mock.mjs +1 -19895
- package/fesm2022/acorex-connectivity-mock.mjs.map +1 -1
- package/mock/index.d.ts +101 -317
- package/package.json +5 -5
- package/fesm2022/acorex-connectivity-mock-category-with-items.query-BNWqkuZp.mjs.map +0 -1
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
|
|
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
|
|
|
@@ -417,6 +416,12 @@ declare class AXCMeetingManagementMockModule {
|
|
|
417
416
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXCMeetingManagementMockModule>;
|
|
418
417
|
}
|
|
419
418
|
|
|
419
|
+
declare class AXCCustomerManagementMockModule {
|
|
420
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXCCustomerManagementMockModule, never>;
|
|
421
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCCustomerManagementMockModule, never, never, never>;
|
|
422
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AXCCustomerManagementMockModule>;
|
|
423
|
+
}
|
|
424
|
+
|
|
420
425
|
declare class AXCMiddlewaresModule {
|
|
421
426
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXCMiddlewaresModule, never>;
|
|
422
427
|
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCMiddlewaresModule, never, never, never>;
|
|
@@ -426,7 +431,7 @@ declare class AXCMiddlewaresModule {
|
|
|
426
431
|
declare class AXCMockModule {
|
|
427
432
|
constructor(appInitService: AXPAppStartUpService, injector: Injector);
|
|
428
433
|
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>;
|
|
434
|
+
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 AXCCustomerManagementMockModule, typeof AXCMiddlewaresModule], never>;
|
|
430
435
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXCMockModule>;
|
|
431
436
|
}
|
|
432
437
|
|
|
@@ -456,96 +461,71 @@ declare class MOCKStrategy extends AXPAuthStrategy {
|
|
|
456
461
|
static ɵprov: i0.ɵɵInjectableDeclaration<MOCKStrategy>;
|
|
457
462
|
}
|
|
458
463
|
|
|
459
|
-
interface
|
|
464
|
+
interface PartyMockData {
|
|
460
465
|
id: string;
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
466
|
+
firstName: string;
|
|
467
|
+
lastName: string;
|
|
468
|
+
displayName: string;
|
|
469
|
+
email: string;
|
|
470
|
+
mobile: string;
|
|
464
471
|
}
|
|
465
472
|
|
|
466
|
-
interface
|
|
473
|
+
interface AXCMockUserMockDto {
|
|
467
474
|
id: string;
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
475
|
+
username: string;
|
|
476
|
+
displayName: string;
|
|
477
|
+
partyId: string;
|
|
478
|
+
roleIds: string[];
|
|
479
|
+
roles: {
|
|
472
480
|
id: string;
|
|
473
481
|
title: string;
|
|
474
482
|
}[];
|
|
475
483
|
}
|
|
484
|
+
declare const mockUsers: AXCMockUserMockDto[];
|
|
476
485
|
|
|
477
|
-
|
|
486
|
+
declare function findEmployeeById(employeeId: string): AXCEmployeeMockDto | undefined;
|
|
487
|
+
interface AXCEmployeeMockDto {
|
|
478
488
|
id: string;
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
489
|
+
userId?: string;
|
|
490
|
+
user?: AXCMockUserMockDto;
|
|
491
|
+
contactId: string;
|
|
492
|
+
contact: PartyMockData;
|
|
493
|
+
birthDate: Date;
|
|
494
|
+
employeeCode: string;
|
|
495
|
+
roleId: string;
|
|
496
|
+
role: {
|
|
497
|
+
id: string;
|
|
498
|
+
title: string;
|
|
499
|
+
};
|
|
500
|
+
positionId: string;
|
|
501
|
+
position: {
|
|
502
|
+
id: string;
|
|
503
|
+
title: string;
|
|
504
|
+
};
|
|
505
|
+
employmentTypeId: string;
|
|
506
|
+
employmentType: {
|
|
507
|
+
id: string;
|
|
508
|
+
title: string;
|
|
509
|
+
};
|
|
510
|
+
hireDate: Date;
|
|
511
|
+
managerId: string | null;
|
|
512
|
+
manager: AXCEmployeeMockDto | null;
|
|
494
513
|
}
|
|
514
|
+
declare const EMPLOYEES_MOCK: AXCEmployeeMockDto[];
|
|
495
515
|
|
|
496
|
-
|
|
516
|
+
type AXCEmployeeMock$3 = typeof EMPLOYEES_MOCK[number];
|
|
517
|
+
interface AXCBranchMockDto {
|
|
497
518
|
id: string;
|
|
498
519
|
title: string;
|
|
499
520
|
code: string;
|
|
521
|
+
description: string;
|
|
500
522
|
managerId: string;
|
|
501
|
-
manager:
|
|
502
|
-
id: string;
|
|
503
|
-
contactId: string;
|
|
504
|
-
contact: {
|
|
505
|
-
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: {
|
|
526
|
-
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;
|
|
543
|
-
};
|
|
523
|
+
manager: AXCEmployeeMock$3;
|
|
544
524
|
country: string;
|
|
545
525
|
province: string;
|
|
546
526
|
city: string;
|
|
547
|
-
|
|
548
|
-
|
|
527
|
+
}
|
|
528
|
+
declare const BRANCHES_MOCK: AXCBranchMockDto[];
|
|
549
529
|
|
|
550
530
|
declare class AXMBranchDataSeeder implements AXPDataSeeder {
|
|
551
531
|
private storageService;
|
|
@@ -554,58 +534,18 @@ declare class AXMBranchDataSeeder implements AXPDataSeeder {
|
|
|
554
534
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXMBranchDataSeeder>;
|
|
555
535
|
}
|
|
556
536
|
|
|
557
|
-
|
|
537
|
+
type AXCEmployeeMock$2 = typeof EMPLOYEES_MOCK[number];
|
|
538
|
+
interface AXCDivisionMockDto {
|
|
558
539
|
id: string;
|
|
559
540
|
title: string;
|
|
560
541
|
description: string;
|
|
561
542
|
managerId: string;
|
|
562
|
-
manager:
|
|
563
|
-
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
|
-
} | {
|
|
584
|
-
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;
|
|
604
|
-
};
|
|
543
|
+
manager: AXCEmployeeMock$2;
|
|
605
544
|
country: string;
|
|
606
545
|
province: string;
|
|
607
546
|
city: string;
|
|
608
|
-
}
|
|
547
|
+
}
|
|
548
|
+
declare const DIVISIONS_MOCK: AXCDivisionMockDto[];
|
|
609
549
|
|
|
610
550
|
declare class AXMDivisionDataSeeder implements AXPDataSeeder {
|
|
611
551
|
private storageService;
|
|
@@ -614,58 +554,18 @@ declare class AXMDivisionDataSeeder implements AXPDataSeeder {
|
|
|
614
554
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXMDivisionDataSeeder>;
|
|
615
555
|
}
|
|
616
556
|
|
|
617
|
-
|
|
557
|
+
type AXCEmployeeMock$1 = typeof EMPLOYEES_MOCK[number];
|
|
558
|
+
interface AXCDepartmentMockDto {
|
|
618
559
|
id: string;
|
|
619
560
|
title: string;
|
|
620
561
|
description: string;
|
|
621
562
|
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
|
-
};
|
|
563
|
+
manager: AXCEmployeeMock$1;
|
|
665
564
|
country: string;
|
|
666
565
|
province: string;
|
|
667
566
|
city: string;
|
|
668
|
-
}
|
|
567
|
+
}
|
|
568
|
+
declare const DEPARTMENTS_MOCK: AXCDepartmentMockDto[];
|
|
669
569
|
|
|
670
570
|
declare class AXMDepartmentDataSeeder implements AXPDataSeeder {
|
|
671
571
|
private storageService;
|
|
@@ -674,98 +574,19 @@ declare class AXMDepartmentDataSeeder implements AXPDataSeeder {
|
|
|
674
574
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXMDepartmentDataSeeder>;
|
|
675
575
|
}
|
|
676
576
|
|
|
677
|
-
|
|
577
|
+
type AXCEmployeeMock = typeof EMPLOYEES_MOCK[number];
|
|
578
|
+
interface AXCTeamMockDto {
|
|
678
579
|
id: string;
|
|
679
580
|
title: string;
|
|
680
|
-
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
|
-
})[];
|
|
767
581
|
description: string;
|
|
768
|
-
|
|
582
|
+
leaderId: string;
|
|
583
|
+
leader: AXCEmployeeMock;
|
|
584
|
+
managerId: string;
|
|
585
|
+
manager: AXCEmployeeMock;
|
|
586
|
+
memberIds: string[];
|
|
587
|
+
members: AXCEmployeeMock[];
|
|
588
|
+
}
|
|
589
|
+
declare const TEAMS_MOCK: AXCTeamMockDto[];
|
|
769
590
|
|
|
770
591
|
declare class AXMTeamDataSeeder implements AXPDataSeeder {
|
|
771
592
|
private storageService;
|
|
@@ -774,50 +595,6 @@ declare class AXMTeamDataSeeder implements AXPDataSeeder {
|
|
|
774
595
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXMTeamDataSeeder>;
|
|
775
596
|
}
|
|
776
597
|
|
|
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
598
|
declare class AXMEmployeeDataSeeder implements AXPDataSeeder {
|
|
822
599
|
private storageService;
|
|
823
600
|
seed(): Promise<void>;
|
|
@@ -864,6 +641,7 @@ declare class AXMReportDefinitionDataSeeder implements AXPDataSeeder {
|
|
|
864
641
|
|
|
865
642
|
declare class AXMReportExecuteCommand implements AXPExecutionReportCommand {
|
|
866
643
|
private readonly queryService;
|
|
644
|
+
private readonly mockDataService;
|
|
867
645
|
private readonly reportDataCache;
|
|
868
646
|
private readonly CACHE_TTL_MS;
|
|
869
647
|
private readonly DEFAULT_TOTAL_ITEMS;
|
|
@@ -873,6 +651,15 @@ declare class AXMReportExecuteCommand implements AXPExecutionReportCommand {
|
|
|
873
651
|
private generateLayoutData;
|
|
874
652
|
private generateTableData;
|
|
875
653
|
private generateChartData;
|
|
654
|
+
private generateLayoutDataFromQuery;
|
|
655
|
+
private buildQueryInput;
|
|
656
|
+
private assignByPath;
|
|
657
|
+
private normalizeTableQueryResult;
|
|
658
|
+
private normalizeChartQueryResult;
|
|
659
|
+
private applyAuditTrailFilters;
|
|
660
|
+
private applyLoginLogsFilters;
|
|
661
|
+
private applyChangePasswordLogsFilters;
|
|
662
|
+
private applyIdentityErrorLogsFilters;
|
|
876
663
|
private getCachedOrGenerateReportData;
|
|
877
664
|
private generateCacheKey;
|
|
878
665
|
private generateReportVersion;
|
|
@@ -882,7 +669,19 @@ declare class AXMReportExecuteCommand implements AXPExecutionReportCommand {
|
|
|
882
669
|
* Manually clear all cached report data (useful for debugging or forcing refresh)
|
|
883
670
|
*/
|
|
884
671
|
clearCache(): void;
|
|
885
|
-
|
|
672
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXMReportExecuteCommand, never>;
|
|
673
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXMReportExecuteCommand>;
|
|
674
|
+
}
|
|
675
|
+
|
|
676
|
+
/**
|
|
677
|
+
* Provides mock data generation for reports, separated from execution concerns.
|
|
678
|
+
*/
|
|
679
|
+
declare class AXMReportMockDataService {
|
|
680
|
+
/**
|
|
681
|
+
* Generate mock data based on report title heuristics.
|
|
682
|
+
*/
|
|
683
|
+
generateMockDataForReport(reportDefinition: AXPReportDefinition, parameters: Record<string, unknown>, pageSize: number): Record<string, unknown>[];
|
|
684
|
+
private generateAuditTrailData;
|
|
886
685
|
private generateFinancialData;
|
|
887
686
|
private generateIncomeData;
|
|
888
687
|
private generateEmployeeData;
|
|
@@ -890,8 +689,8 @@ declare class AXMReportExecuteCommand implements AXPExecutionReportCommand {
|
|
|
890
689
|
private generateSafetyData;
|
|
891
690
|
private generateGenericData;
|
|
892
691
|
private getRandomPastDate;
|
|
893
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
894
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
692
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXMReportMockDataService, never>;
|
|
693
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXMReportMockDataService>;
|
|
895
694
|
}
|
|
896
695
|
|
|
897
696
|
declare class AXCSchedulerJobDataSeeder implements AXPDataSeeder {
|
|
@@ -911,7 +710,6 @@ declare class AXPSecurityManagementRoleDataSeeder implements AXPDataSeeder {
|
|
|
911
710
|
declare class AXPSecurityManagementUserDataSeeder implements AXPDataSeeder {
|
|
912
711
|
private storageService;
|
|
913
712
|
seed(): Promise<void>;
|
|
914
|
-
private generateUsers;
|
|
915
713
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPSecurityManagementUserDataSeeder, never>;
|
|
916
714
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXPSecurityManagementUserDataSeeder>;
|
|
917
715
|
}
|
|
@@ -928,20 +726,6 @@ declare const mockRoleDefinitions: {
|
|
|
928
726
|
permissions: never[];
|
|
929
727
|
}[];
|
|
930
728
|
|
|
931
|
-
interface MockUser {
|
|
932
|
-
id: string;
|
|
933
|
-
username: string;
|
|
934
|
-
firstName: string;
|
|
935
|
-
lastName: string;
|
|
936
|
-
nationalCode: string;
|
|
937
|
-
mobile: string;
|
|
938
|
-
roleIds: {
|
|
939
|
-
id: string;
|
|
940
|
-
title: string;
|
|
941
|
-
}[];
|
|
942
|
-
}
|
|
943
|
-
declare const mockUsers: MockUser[];
|
|
944
|
-
|
|
945
729
|
interface TaskType {
|
|
946
730
|
id: string;
|
|
947
731
|
name: string;
|
|
@@ -1140,5 +924,5 @@ declare const createFileCastMiddleware: AXPEntityStorageMiddleware;
|
|
|
1140
924
|
|
|
1141
925
|
declare const AXCMockEntityLogListener: AXPDistributedEventListenerProvider<any>;
|
|
1142
926
|
|
|
1143
|
-
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 };
|
|
1144
|
-
export type { AXPLogRow, AXPRuleRow, AXPSeqRow, MockUserPassCredentials, Task, TaskStatus, TaskTemplate, TaskType };
|
|
927
|
+
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, 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, PROPERTIES, TASKS, TASK_STATUSES, TASK_TEMPLATES, TASK_TYPES, TEAMS_MOCK, TEXT_TEMPLATES, TEXT_TEMPLATE_CATEGORY, applications, auditLoggerMiddleware, createFileCastMiddleware, findContactMethod, findEmployeeById, generateRandomDashboard, identifierCommitMiddleware, mockRoleDefinitions, mockUsers, tenantsMock };
|
|
928
|
+
export type { AXCBranchMockDto, AXCDepartmentMockDto, AXCDivisionMockDto, AXCTeamMockDto, AXPLogRow, AXPRuleRow, AXPSeqRow, MockUserPassCredentials, Task, TaskStatus, TaskTemplate, TaskType };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@acorex/connectivity",
|
|
3
|
-
"version": "20.2.4-next.
|
|
3
|
+
"version": "20.2.4-next.3",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^19.0.0",
|
|
6
6
|
"@angular/core": "^19.0.0"
|
|
@@ -16,10 +16,6 @@
|
|
|
16
16
|
"types": "./index.d.ts",
|
|
17
17
|
"default": "./fesm2022/acorex-connectivity.mjs"
|
|
18
18
|
},
|
|
19
|
-
"./api": {
|
|
20
|
-
"types": "./api/index.d.ts",
|
|
21
|
-
"default": "./fesm2022/acorex-connectivity-api.mjs"
|
|
22
|
-
},
|
|
23
19
|
"./mock": {
|
|
24
20
|
"types": "./mock/index.d.ts",
|
|
25
21
|
"default": "./fesm2022/acorex-connectivity-mock.mjs"
|
|
@@ -27,6 +23,10 @@
|
|
|
27
23
|
"./utils": {
|
|
28
24
|
"types": "./utils/index.d.ts",
|
|
29
25
|
"default": "./fesm2022/acorex-connectivity-utils.mjs"
|
|
26
|
+
},
|
|
27
|
+
"./api": {
|
|
28
|
+
"types": "./api/index.d.ts",
|
|
29
|
+
"default": "./fesm2022/acorex-connectivity-api.mjs"
|
|
30
30
|
}
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-connectivity-mock-category-with-items.query-BNWqkuZp.mjs","sources":["../tmp-esm2022/mock/lib/data-management/metadata/category-with-items.query.js"],"sourcesContent":["import { AXMMetaDataDefinitionService, RootConfig } from '@acorex/modules/data-management';\nimport { AXMEntityCrudServiceImpl } from '@acorex/platform/layout/entity';\nimport { inject, Injectable, Injector, runInInjectionContext } from '@angular/core';\nimport * as i0 from \"@angular/core\";\nexport class AXCQueryCategoryWithItemsQuery {\n constructor() {\n this.injector = inject(Injector);\n this.categoryEntityService = runInInjectionContext(this.injector, () => new AXMEntityCrudServiceImpl(`${RootConfig.module.name}.${RootConfig.entities.metaDataDefinition.name}Category`));\n this.metaDataService = inject(AXMMetaDataDefinitionService);\n }\n fetch() {\n debugger;\n return this.getAllWithItems();\n }\n async getAllWithItems() {\n const rootCategories = await this.categoryEntityService.query({\n take: 1000,\n skip: 0,\n filter: {\n logic: 'and',\n filters: [\n {\n field: 'parentId',\n operator: {\n type: 'isNull',\n },\n },\n ],\n },\n });\n const categories = await Promise.all(rootCategories.items.map((category) => this.buildCategoryTree(category)));\n return categories;\n }\n async buildCategoryTree(category) {\n const itemsResult = await this.metaDataService.query({\n filter: {\n logic: 'and',\n filters: [\n {\n field: 'categoryIds',\n operator: {\n type: 'contains',\n },\n value: category.id,\n },\n ],\n },\n take: 1000,\n skip: 0,\n });\n const childCategoriesResult = await this.categoryEntityService.query({\n filter: {\n logic: 'and',\n filters: [\n {\n field: 'parentId',\n operator: {\n type: 'equal',\n },\n value: category.id,\n },\n ],\n },\n take: 1000,\n skip: 0,\n });\n const children = await Promise.all(childCategoriesResult.items.map((child) => this.buildCategoryTree(child)));\n return {\n ...category,\n items: itemsResult.items,\n categories: children,\n children: children,\n };\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.1.6\", ngImport: i0, type: AXCQueryCategoryWithItemsQuery, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"20.1.6\", ngImport: i0, type: AXCQueryCategoryWithItemsQuery, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.1.6\", ngImport: i0, type: AXCQueryCategoryWithItemsQuery, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root'\n }]\n }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2F0ZWdvcnktd2l0aC1pdGVtcy5xdWVyeS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29ubmVjdGl2aXR5L21vY2svc3JjL2xpYi9kYXRh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sPltdPiB7XG4gICAgICAgIGNvbnN0IHJvb3RDYXRlZ29yaWVzID0gYXdhaXQgdGhpcy5jYXRlZ29yeUVudGl0eVNlcnZpY2UucXVlcnkoe1xuICAgICAgICAgICAgdGFrZTogMTAwMCxcbiAgICAgICAgICAgIHNraXA6IDAsXG4gICAgICAgICAgICBmaWx0ZXI6IHtcbiAgICAgICAgICAgICAgICBsb2dpYzogJ2FuZCcsXG4gICAgICAgICAgICAgICAgZmlsdGVyczogW1xuICAgICAgICAgICAgICAgICAgICB7XG4gICAgICAgICAgICAgICAgICAgICAgICBmaWVsZDogJ3BhcmVudElkJyxcbiAgICAgICAgICAgICAgICAgICAgICAgIG9wZXJhdG9yOiB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgdHlwZTogJ2lzTnVsbCcsXG4gICAgICAgICAgICAgICAgICAgICAgICB9LFxuICAgICAgICAgICAgICAgICAgICB9LFxuICAgICAgICAgICAgICAgIF0sXG4gICAgICAgICAgICB9LFxuICAgICAgICB9KTtcblxuICAgICAgICBjb25zdCBjYXRlZ29yaWVzID0gYXdhaXQgUHJvbWlzZS5hbGwocm9vdENhdGVnb3JpZXMuaXRlbXMubWFwKChjYXRlZ29yeSkgPT4gdGhpcy5idWlsZENhdGVnb3J5VHJlZShjYXRlZ29yeSkpKTtcbiAgICAgICAgcmV0dXJuIGNhdGVnb3JpZXM7XG4gICAgfVxuXG4gICAgcHJpdmF0ZSBhc3luYyBidWlsZENhdGVnb3J5VHJlZShjYXRlZ29yeTogYW55KTogUHJvbWlzZTxBWFBDYXRlZ29yeUVudGl0eVdpdGhJdGVtczxBWE1NZXRhRGF0YURlZmluaXRpb25FbnRpdHlNb2RlbD4+IHtcbiAgICAgICAgY29uc3QgaXRlbXNSZXN1bHQgPSBhd2FpdCB0aGlzLm1ldGFEYXRhU2VydmljZS5xdWVyeSh7XG4gICAgICAgICAgICBmaWx0ZXI6IHtcbiAgICAgICAgICAgICAgICBsb2dpYzogJ2FuZCcsXG4gICAgICAgICAgICAgICAgZmlsdGVyczogW1xuICAgICAgICAgICAgICAgICAgICB7XG4gICAgICAgICAgICAgICAgICAgICAgICBmaWVsZDogJ2NhdGVnb3J5SWRzJyxcbiAgICAgICAgICAgICAgICAgICAgICAgIG9wZXJhdG9yOiB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgdHlwZTogJ2NvbnRhaW5zJyxcbiAgICAgICAgICAgICAgICAgICAgICAgIH0sXG4gICAgICAgICAgICAgICAgICAgICAgICB2YWx1ZTogY2F0ZWdvcnkuaWQsXG4gICAgICAgICAgICAgICAgICAgIH0sXG4gICAgICAgICAgICAgICAgXSxcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICB0YWtlOiAxMDAwLFxuICAgICAgICAgICAgc2tpcDogMCxcbiAgICAgICAgfSk7XG5cbiAgICAgICAgY29uc3QgY2hpbGRDYXRlZ29yaWVzUmVzdWx0ID0gYXdhaXQgdGhpcy5jYXRlZ29yeUVudGl0eVNlcnZpY2UucXVlcnkoe1xuICAgICAgICAgICAgZmlsdGVyOiB7XG4gICAgICAgICAgICAgICAgbG9naWM6ICdhbmQnLFxuICAgICAgICAgICAgICAgIGZpbHRlcnM6IFtcbiAgICAgICAgICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgICAgICAgICAgZmllbGQ6ICdwYXJlbnRJZCcsXG4gICAgICAgICAgICAgICAgICAgICAgICBvcGVyYXRvcjoge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHR5cGU6ICdlcXVhbCcsXG4gICAgICAgICAgICAgICAgICAgICAgICB9LFxuICAgICAgICAgICAgICAgICAgICAgICAgdmFsdWU6IGNhdGVnb3J5LmlkLFxuICAgICAgICAgICAgICAgICAgICB9LFxuICAgICAgICAgICAgICAgIF0sXG4gICAgICAgICAgICB9LFxuICAgICAgICAgICAgdGFrZTogMTAwMCxcbiAgICAgICAgICAgIHNraXA6IDAsXG4gICAgICAgIH0pO1xuXG4gICAgICAgIGNvbnN0IGNoaWxkc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