@acorex/connectivity 20.3.0-next.8 → 20.3.0-next.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/index.d.ts +13 -7
- package/fesm2022/acorex-connectivity-api-execute.command-CP4cZ_5M.mjs +86 -0
- package/fesm2022/acorex-connectivity-api-execute.command-CP4cZ_5M.mjs.map +1 -0
- package/fesm2022/acorex-connectivity-api.mjs +334 -12
- package/fesm2022/acorex-connectivity-api.mjs.map +1 -1
- package/fesm2022/acorex-connectivity-mock.mjs +1079 -195
- package/fesm2022/acorex-connectivity-mock.mjs.map +1 -1
- package/mock/index.d.ts +57 -5
- package/package.json +1 -1
package/mock/index.d.ts
CHANGED
|
@@ -277,6 +277,31 @@ declare class AXCDexieEntityStorageService extends Dexie implements AXPEntitySto
|
|
|
277
277
|
insertOne<T = any>(entityName: string, entity: T): Promise<string>;
|
|
278
278
|
getAll<T = any>(entityName: string): Promise<T[]>;
|
|
279
279
|
query<T = any>(entityName: string, request: AXPQueryRequest): Promise<AXPPagedListResult<T>>;
|
|
280
|
+
/**
|
|
281
|
+
* Check if the entity is a category entity (ends with 'Category')
|
|
282
|
+
*/
|
|
283
|
+
private isCategoryEntity;
|
|
284
|
+
/**
|
|
285
|
+
* Calculate childCount for each category entity
|
|
286
|
+
*/
|
|
287
|
+
private calculateChildCounts;
|
|
288
|
+
/**
|
|
289
|
+
* Get the count of direct children for a category
|
|
290
|
+
*/
|
|
291
|
+
private getDirectChildCount;
|
|
292
|
+
/**
|
|
293
|
+
* Check if the filter is a category filter (contains operator on categoryIds field)
|
|
294
|
+
* Handles both simple filters and compound filters
|
|
295
|
+
*/
|
|
296
|
+
private isCategoryFilter;
|
|
297
|
+
/**
|
|
298
|
+
* Apply recursive category filtering - finds entities that belong to the category or any of its children
|
|
299
|
+
*/
|
|
300
|
+
private applyRecursiveCategoryFilter;
|
|
301
|
+
/**
|
|
302
|
+
* Recursively gets all child category IDs including the parent category itself
|
|
303
|
+
*/
|
|
304
|
+
private getAllChildCategoryIds;
|
|
280
305
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXCDexieEntityStorageService, never>;
|
|
281
306
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXCDexieEntityStorageService>;
|
|
282
307
|
}
|
|
@@ -539,7 +564,7 @@ interface PositionMockDto extends AXPCategorizedEntityDto {
|
|
|
539
564
|
}[];
|
|
540
565
|
isManager?: boolean;
|
|
541
566
|
}
|
|
542
|
-
declare const POSITIONS_CATEGORY_MOCK: AXPCategoryEntity[];
|
|
567
|
+
declare const POSITIONS_CATEGORY_MOCK: AXPCategoryEntity<string>[];
|
|
543
568
|
declare const POSITIONS_MOCK: PositionMockDto[];
|
|
544
569
|
|
|
545
570
|
declare class AXMPositionDataSeeder implements AXPDataSeeder {
|
|
@@ -569,7 +594,7 @@ interface RoleMockDto extends AXPCategorizedEntityDto {
|
|
|
569
594
|
title: string;
|
|
570
595
|
}[];
|
|
571
596
|
}
|
|
572
|
-
declare const ROLES_CATEGORY_MOCK: AXPCategoryEntity[];
|
|
597
|
+
declare const ROLES_CATEGORY_MOCK: AXPCategoryEntity<string>[];
|
|
573
598
|
declare const ROLES_MOCK: RoleMockDto[];
|
|
574
599
|
|
|
575
600
|
declare class AXMRoleDataSeeder implements AXPDataSeeder {
|
|
@@ -589,7 +614,7 @@ interface ResponsibilityMockDto extends AXPCategorizedEntityDto {
|
|
|
589
614
|
title: string;
|
|
590
615
|
}[];
|
|
591
616
|
}
|
|
592
|
-
declare const RESPONSIBILITIES_CATEGORY_MOCK: AXPCategoryEntity[];
|
|
617
|
+
declare const RESPONSIBILITIES_CATEGORY_MOCK: AXPCategoryEntity<string>[];
|
|
593
618
|
declare const RESPONSIBILITIES_MOCK: ResponsibilityMockDto[];
|
|
594
619
|
|
|
595
620
|
declare class AXMResponsibilityDataSeeder implements AXPDataSeeder {
|
|
@@ -638,7 +663,7 @@ interface SkillMockDto extends AXPCategorizedEntityDto {
|
|
|
638
663
|
title: string;
|
|
639
664
|
}[];
|
|
640
665
|
}
|
|
641
|
-
declare const SKILLS_CATEGORY_MOCK: AXPCategoryEntity[];
|
|
666
|
+
declare const SKILLS_CATEGORY_MOCK: AXPCategoryEntity<string>[];
|
|
642
667
|
declare const SKILLS_MOCK: SkillMockDto[];
|
|
643
668
|
|
|
644
669
|
declare class AXMSkillDataSeeder implements AXPDataSeeder {
|
|
@@ -1642,6 +1667,29 @@ declare class AXCFileStorageService implements AXPFileStorageService {
|
|
|
1642
1667
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXCFileStorageService>;
|
|
1643
1668
|
}
|
|
1644
1669
|
|
|
1670
|
+
declare class AXCLogReportCategoryProvider implements AXPReportCategoryProvider {
|
|
1671
|
+
getList(parentId?: string): Promise<AXPReportCategory[]>;
|
|
1672
|
+
getById(id: string): Promise<AXPReportCategory | undefined>;
|
|
1673
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXCLogReportCategoryProvider, never>;
|
|
1674
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXCLogReportCategoryProvider>;
|
|
1675
|
+
}
|
|
1676
|
+
declare class AXCLogReportDefinitionProvider implements AXPReportDefinitionProvider {
|
|
1677
|
+
getList(categoryId: string): Promise<AXPReportDefinition[]>;
|
|
1678
|
+
getById(id: string): Promise<AXPReportDefinition | undefined>;
|
|
1679
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXCLogReportDefinitionProvider, never>;
|
|
1680
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXCLogReportDefinitionProvider>;
|
|
1681
|
+
}
|
|
1682
|
+
declare const AXC_LOG_REPORT_CATEGORY_PROVIDER: {
|
|
1683
|
+
provide: i0.InjectionToken<_acorex_modules_report_management.AXPReportCategoryProviderToken[]>;
|
|
1684
|
+
useClass: typeof AXCLogReportCategoryProvider;
|
|
1685
|
+
multi: boolean;
|
|
1686
|
+
};
|
|
1687
|
+
declare const AXC_LOG_REPORT_DEFINITION_PROVIDER: {
|
|
1688
|
+
provide: i0.InjectionToken<_acorex_modules_report_management.AXPReportDefinitionProviderToken[]>;
|
|
1689
|
+
useClass: typeof AXCLogReportDefinitionProvider;
|
|
1690
|
+
multi: boolean;
|
|
1691
|
+
};
|
|
1692
|
+
|
|
1645
1693
|
interface AXPRuleRow extends AXPIdentifierRule {
|
|
1646
1694
|
}
|
|
1647
1695
|
interface AXPSeqRow {
|
|
@@ -1723,6 +1771,8 @@ declare class AXPMockIdentifierService extends AXPIdentifierService {
|
|
|
1723
1771
|
|
|
1724
1772
|
declare const auditLoggerMiddleware: AXPEntityStorageMiddleware;
|
|
1725
1773
|
|
|
1774
|
+
declare const childCountMiddleware: AXPEntityStorageMiddleware;
|
|
1775
|
+
|
|
1726
1776
|
/**
|
|
1727
1777
|
* File Cast Middleware - Handles file operations in entity storage
|
|
1728
1778
|
*
|
|
@@ -1747,7 +1797,9 @@ declare const identifierCommitMiddleware: AXPEntityStorageMiddleware;
|
|
|
1747
1797
|
|
|
1748
1798
|
declare const mergeDetailRelationMiddleware: AXPEntityStorageMiddleware;
|
|
1749
1799
|
|
|
1800
|
+
declare const primaryMiddleware: AXPEntityStorageMiddleware;
|
|
1801
|
+
|
|
1750
1802
|
declare const AXCMockEntityLogListener: AXPDistributedEventListenerProvider<any>;
|
|
1751
1803
|
|
|
1752
|
-
export { APPLICATIONS, APPLICATIONS_MODULES, AXCAppTermDataSeeder, AXCAppVersionDataSeeder, AXCApplicationManagementMockModule, AXCApplicationTemplateDataSeeder, AXCAuthMockModule, AXCCalendarDataSeeder, AXCCalendarEventDataSeeder, AXCCalendarManagementMockModule, AXCCommonMockModule, AXCContactManagementMockModule, AXCContentManagementMockModule, AXCConversationMockModule, AXCCustomerManagementMockModule, AXCDashboardManagementMockModule, AXCDataManagementMockModule, AXCDexieEntityStorageService, AXCDocumentManagementMockModule, AXCFileStorageService, AXCFormTemplateManagementMockModule, AXCGlobalVariablesDataSeeder, AXCGoogleStrategyMock, AXCHelpDeskMockModule, AXCHumanCapitalManagementMockModule, AXCIdentifierManagementMockModule, AXCJsaSeeder, AXCLocaleManagementMockModule, AXCLocationManagementMockModule, AXCLockService, AXCLogManagementMockModule, AXCMeetingManagementMockModule, AXCMetaDataDefinitionDataSeeder, AXCMiddlewaresModule, AXCMockEntityLogListener, AXCMockModule, AXCNotificationManagementMockModule, AXCOrganizationManagementMockModule, AXCPartyManagementMockModule, AXCPlatformManagementMockModule, AXCProjectManagementMockModule, AXCQueryCategoryMetadataInheritanceQuery, AXCReportManagementMockModule, AXCSchedulerJobDataSeeder, AXCSchedulerJobManagementMockModule, AXCSecurityManagementMockModule, AXCTaskManagementMockModule, AXCTextTemplateCategoryDataSeeder, AXCTextTemplateDataSeeder, AXCTextTemplateManagementMockModule, AXCTrainingManagementMockModule, AXCUserPassStrategyMock, AXCWorkflowManagementMockModule, AXMAiResponderService, AXMBusinessUnitDataSeeder, AXMCalendarEventTypeSeeder, AXMEmployeeDataSeeder, AXMEmployeeSkillDataSeeder, AXMEmployeeSkillsCategoryProvider, AXMEmployeeSkillsReportDefinitionProvider, AXMEmploymentTypeDataSeeder, AXMFormDataSourcesProvider, AXMIndustryDataSeeder, AXMLeaveRequestDataSeeder, AXMMeetingDataSeeder, AXMMeetingFilesDataSeeder, AXMMeetingParticipantDataSeeder, AXMMeetingRoleTypeDataSeeder, AXMMeetingSessionDataSeeder, AXMMeetingTypeDataSeeder, AXMMeetingTypeFileTemplateDataSeeder, AXMPositionAssignmentDataSeeder, AXMPositionDataSeeder, AXMReportCategoryDataSeeder, AXMReportDefinitionDataSeeder, AXMReportExecuteCommand, AXMReportMockDataService, AXMResponsibilityDataSeeder, AXMRoleDataSeeder, AXMSkillDataSeeder, AXMSkillLevelDataSeeder, AXMTeamDataSeeder, AXM_EMPLOYEE_SKILLS_CATEGORY_PROVIDER, AXM_EMPLOYEE_SKILLS_DEFINITION_PROVIDER, AXPDashboardDataSeeder, AXPIdentifierDB, AXPMessageDataSeeder, AXPMockChecksumProvider, AXPMockClockProvider, AXPMockIdentifierService, AXPMockLookupProvider, AXPMockPolicyProvider, AXPMockSequenceProvider, AXPRoomDataSeeder, AXPSecurityManagementRoleDataSeeder, AXPSecurityManagementUserDataSeeder, AXPTaskBoardPlatformManagementTaskProvider, AXPTaskBoardProjectManagementTaskProvider, AXQEmployeeSkillsLevelPercentagesQuery, AXQEmployeeSkillsLevelsQuery, AXQEmployeeSkillsListQuery, AXQEmployeeSkillsSkillPercentagesQuery, AXQEmployeeSkillsStatsQuery, AXQEmployeeSkillsTrendQuery, BUSINESS_UNITS_MOCK, DASHBOARDS, EDITIONS, EMPLOYEES_MOCK, EMPLOYEE_SKILLS_MOCK, EMPLOYMENT_TYPES_MOCK, ENTITIES, FEATURES, GLOBAL_VARIABLES, LEAVE_REQUESTS_MOCK, MODULES, PERMISSIONS, POSITIONS_CATEGORY_MOCK, POSITIONS_MOCK, POSITION_ASSIGNMENTS_MOCK, PROPERTIES, RESPONSIBILITIES_CATEGORY_MOCK, RESPONSIBILITIES_MOCK, ROLES_CATEGORY_MOCK, ROLES_MOCK, SKILLS_CATEGORY_MOCK, SKILLS_MOCK, SKILL_LEVELS_MOCK, TASKS, TASK_STATUSES, TASK_TEMPLATES, TASK_TYPES, TEAMS_MOCK, TEXT_TEMPLATES, TEXT_TEMPLATE_CATEGORY, applications, auditLoggerMiddleware, calendarEventMock, calendarEventTypeMockData, calendarMock, createAndSaveDashboardForUser, createDashboardForUser, createFileCastMiddleware, findContactMethod, findEmployeeById, findPartyById, generateUserDashboard, identifierCommitMiddleware, meetingFilesMock, meetingIds, meetingMock, meetingParticipantMock, meetingRoleTypeMock, meetingSessionMock, meetingTimeSlotMock, meetingTypeFileTemplateMock, meetingTypeMock, mergeDetailRelationMiddleware, mockRoleDefinitions, mockUsers, participantIds, tenantsMock };
|
|
1804
|
+
export { APPLICATIONS, APPLICATIONS_MODULES, AXCAppTermDataSeeder, AXCAppVersionDataSeeder, AXCApplicationManagementMockModule, AXCApplicationTemplateDataSeeder, AXCAuthMockModule, AXCCalendarDataSeeder, AXCCalendarEventDataSeeder, AXCCalendarManagementMockModule, AXCCommonMockModule, AXCContactManagementMockModule, AXCContentManagementMockModule, AXCConversationMockModule, AXCCustomerManagementMockModule, AXCDashboardManagementMockModule, AXCDataManagementMockModule, AXCDexieEntityStorageService, AXCDocumentManagementMockModule, AXCFileStorageService, AXCFormTemplateManagementMockModule, AXCGlobalVariablesDataSeeder, AXCGoogleStrategyMock, AXCHelpDeskMockModule, AXCHumanCapitalManagementMockModule, AXCIdentifierManagementMockModule, AXCJsaSeeder, AXCLocaleManagementMockModule, AXCLocationManagementMockModule, AXCLockService, AXCLogManagementMockModule, AXCLogReportCategoryProvider, AXCLogReportDefinitionProvider, AXCMeetingManagementMockModule, AXCMetaDataDefinitionDataSeeder, AXCMiddlewaresModule, AXCMockEntityLogListener, AXCMockModule, AXCNotificationManagementMockModule, AXCOrganizationManagementMockModule, AXCPartyManagementMockModule, AXCPlatformManagementMockModule, AXCProjectManagementMockModule, AXCQueryCategoryMetadataInheritanceQuery, AXCReportManagementMockModule, AXCSchedulerJobDataSeeder, AXCSchedulerJobManagementMockModule, AXCSecurityManagementMockModule, AXCTaskManagementMockModule, AXCTextTemplateCategoryDataSeeder, AXCTextTemplateDataSeeder, AXCTextTemplateManagementMockModule, AXCTrainingManagementMockModule, AXCUserPassStrategyMock, AXCWorkflowManagementMockModule, AXC_LOG_REPORT_CATEGORY_PROVIDER, AXC_LOG_REPORT_DEFINITION_PROVIDER, AXMAiResponderService, AXMBusinessUnitDataSeeder, AXMCalendarEventTypeSeeder, AXMEmployeeDataSeeder, AXMEmployeeSkillDataSeeder, AXMEmployeeSkillsCategoryProvider, AXMEmployeeSkillsReportDefinitionProvider, AXMEmploymentTypeDataSeeder, AXMFormDataSourcesProvider, AXMIndustryDataSeeder, AXMLeaveRequestDataSeeder, AXMMeetingDataSeeder, AXMMeetingFilesDataSeeder, AXMMeetingParticipantDataSeeder, AXMMeetingRoleTypeDataSeeder, AXMMeetingSessionDataSeeder, AXMMeetingTypeDataSeeder, AXMMeetingTypeFileTemplateDataSeeder, AXMPositionAssignmentDataSeeder, AXMPositionDataSeeder, AXMReportCategoryDataSeeder, AXMReportDefinitionDataSeeder, AXMReportExecuteCommand, AXMReportMockDataService, AXMResponsibilityDataSeeder, AXMRoleDataSeeder, AXMSkillDataSeeder, AXMSkillLevelDataSeeder, AXMTeamDataSeeder, AXM_EMPLOYEE_SKILLS_CATEGORY_PROVIDER, AXM_EMPLOYEE_SKILLS_DEFINITION_PROVIDER, AXPDashboardDataSeeder, AXPIdentifierDB, AXPMessageDataSeeder, AXPMockChecksumProvider, AXPMockClockProvider, AXPMockIdentifierService, AXPMockLookupProvider, AXPMockPolicyProvider, AXPMockSequenceProvider, AXPRoomDataSeeder, AXPSecurityManagementRoleDataSeeder, AXPSecurityManagementUserDataSeeder, AXPTaskBoardPlatformManagementTaskProvider, AXPTaskBoardProjectManagementTaskProvider, AXQEmployeeSkillsLevelPercentagesQuery, AXQEmployeeSkillsLevelsQuery, AXQEmployeeSkillsListQuery, AXQEmployeeSkillsSkillPercentagesQuery, AXQEmployeeSkillsStatsQuery, AXQEmployeeSkillsTrendQuery, BUSINESS_UNITS_MOCK, DASHBOARDS, EDITIONS, EMPLOYEES_MOCK, EMPLOYEE_SKILLS_MOCK, EMPLOYMENT_TYPES_MOCK, ENTITIES, FEATURES, GLOBAL_VARIABLES, LEAVE_REQUESTS_MOCK, MODULES, PERMISSIONS, POSITIONS_CATEGORY_MOCK, POSITIONS_MOCK, POSITION_ASSIGNMENTS_MOCK, PROPERTIES, RESPONSIBILITIES_CATEGORY_MOCK, RESPONSIBILITIES_MOCK, ROLES_CATEGORY_MOCK, ROLES_MOCK, SKILLS_CATEGORY_MOCK, SKILLS_MOCK, SKILL_LEVELS_MOCK, TASKS, TASK_STATUSES, TASK_TEMPLATES, TASK_TYPES, TEAMS_MOCK, TEXT_TEMPLATES, TEXT_TEMPLATE_CATEGORY, applications, auditLoggerMiddleware, calendarEventMock, calendarEventTypeMockData, calendarMock, childCountMiddleware, createAndSaveDashboardForUser, createDashboardForUser, createFileCastMiddleware, findContactMethod, findEmployeeById, findPartyById, generateUserDashboard, identifierCommitMiddleware, meetingFilesMock, meetingIds, meetingMock, meetingParticipantMock, meetingRoleTypeMock, meetingSessionMock, meetingTimeSlotMock, meetingTypeFileTemplateMock, meetingTypeMock, mergeDetailRelationMiddleware, mockRoleDefinitions, mockUsers, participantIds, primaryMiddleware, tenantsMock };
|
|
1753
1805
|
export type { AXCBusinessUnitMockDto, AXCEmployeeSkillMockDto, AXCLeaveRequestMockDto, AXCPositionAssignmentMockDto, AXCSkillLevelMockDto, AXCTeamMockDto, AXPLogRow, AXPRuleRow, AXPSeqRow, CategoryMetadataInheritanceQueryParams, CategoryMetadataInheritanceResult, MockUserPassCredentials, PartyMockData, PositionMockDto, ResponsibilityMockDto, RoleMockDto, SkillMockDto, Task, TaskStatus, TaskTemplate, TaskType };
|