@acorex/connectivity 20.4.1 → 20.5.0-next.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.
@@ -1167,7 +1167,7 @@ class AXCFileStorageService {
1167
1167
  return { ...record, url };
1168
1168
  }
1169
1169
  async save(request) {
1170
- const fileId = crypto.randomUUID();
1170
+ const fileId = AXPDataGenerator.uuid();
1171
1171
  const fileInfo = {
1172
1172
  fileId,
1173
1173
  refId: request.refId,
@@ -1394,7 +1394,7 @@ function setByPath(target, path, value) {
1394
1394
  //#endregion
1395
1395
  //#region ---- Helpers ----
1396
1396
  function generateId(prefix = 'vx') {
1397
- return `${prefix}_${crypto.randomUUID()}`;
1397
+ return `${prefix}_${AXPDataGenerator.uuid()}`;
1398
1398
  }
1399
1399
  function deepClone(obj) {
1400
1400
  return structuredClone ? structuredClone(obj) : JSON.parse(JSON.stringify(obj));
@@ -1734,7 +1734,7 @@ class AXCCommonMockModule {
1734
1734
  {
1735
1735
  provide: AXPVersioningService,
1736
1736
  useClass: VersioningService,
1737
- }
1737
+ },
1738
1738
  ] }); }
1739
1739
  }
1740
1740
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXCCommonMockModule, decorators: [{
@@ -1765,7 +1765,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImpor
1765
1765
  {
1766
1766
  provide: AXPVersioningService,
1767
1767
  useClass: VersioningService,
1768
- }
1768
+ },
1769
1769
  ],
1770
1770
  }]
1771
1771
  }] });
@@ -5859,6 +5859,150 @@ var categoryMetadataInheritance_query = /*#__PURE__*/Object.freeze({
5859
5859
  AXCQueryCategoryMetadataInheritanceQuery: AXCQueryCategoryMetadataInheritanceQuery
5860
5860
  });
5861
5861
 
5862
+ //#endregion
5863
+ //#region ---- Tag Mock Data ----
5864
+ const TAGS_MOCK = [
5865
+ // System Tags
5866
+ {
5867
+ id: AXPDataGenerator.uuid(),
5868
+ title: 'Important',
5869
+ color: '#F44336', // Red - Material Design
5870
+ description: 'Marks items as important',
5871
+ scope: 'system',
5872
+ createdAt: new Date('2024-01-01'),
5873
+ },
5874
+ {
5875
+ id: AXPDataGenerator.uuid(),
5876
+ title: 'Urgent',
5877
+ color: '#FF9800', // Orange - Material Design
5878
+ description: 'Marks items as urgent',
5879
+ scope: 'system',
5880
+ createdAt: new Date('2024-01-01'),
5881
+ },
5882
+ {
5883
+ id: AXPDataGenerator.uuid(),
5884
+ title: 'To Do',
5885
+ color: '#2196F3', // Blue - Material Design
5886
+ description: 'Items pending action',
5887
+ scope: 'system',
5888
+ createdAt: new Date('2024-01-01'),
5889
+ },
5890
+ {
5891
+ id: AXPDataGenerator.uuid(),
5892
+ title: 'In Progress',
5893
+ color: '#03A9F4', // Light Blue - Material Design
5894
+ description: 'Currently being worked on',
5895
+ scope: 'system',
5896
+ createdAt: new Date('2024-01-01'),
5897
+ },
5898
+ {
5899
+ id: AXPDataGenerator.uuid(),
5900
+ title: 'Completed',
5901
+ color: '#4CAF50', // Green - Material Design
5902
+ description: 'Finished items',
5903
+ scope: 'system',
5904
+ createdAt: new Date('2024-01-01'),
5905
+ },
5906
+ {
5907
+ id: AXPDataGenerator.uuid(),
5908
+ title: 'Blocked',
5909
+ color: '#FF5722', // Deep Orange - Material Design
5910
+ description: 'Items that are blocked',
5911
+ scope: 'system',
5912
+ createdAt: new Date('2024-01-01'),
5913
+ },
5914
+ {
5915
+ id: AXPDataGenerator.uuid(),
5916
+ title: 'Review',
5917
+ color: '#FFC107', // Amber - Material Design
5918
+ description: 'Items pending review',
5919
+ scope: 'system',
5920
+ createdAt: new Date('2024-01-01'),
5921
+ },
5922
+ {
5923
+ id: AXPDataGenerator.uuid(),
5924
+ title: 'Bug',
5925
+ color: '#E91E63', // Pink - Material Design
5926
+ description: 'Bug reports',
5927
+ scope: 'system',
5928
+ createdAt: new Date('2024-01-01'),
5929
+ },
5930
+ {
5931
+ id: AXPDataGenerator.uuid(),
5932
+ title: 'Feature',
5933
+ color: '#009688', // Teal - Material Design
5934
+ description: 'New feature requests',
5935
+ scope: 'system',
5936
+ createdAt: new Date('2024-01-01'),
5937
+ },
5938
+ {
5939
+ id: AXPDataGenerator.uuid(),
5940
+ title: 'Documentation',
5941
+ color: '#00BCD4', // Cyan - Material Design
5942
+ description: 'Documentation related',
5943
+ scope: 'system',
5944
+ createdAt: new Date('2024-01-01'),
5945
+ },
5946
+ // Tenant Tags
5947
+ {
5948
+ id: AXPDataGenerator.uuid(),
5949
+ title: 'High Priority',
5950
+ color: '#9C27B0', // Purple - Material Design
5951
+ description: 'High priority items for this organization',
5952
+ scope: 'tenant',
5953
+ createdAt: new Date('2024-06-01'),
5954
+ },
5955
+ {
5956
+ id: AXPDataGenerator.uuid(),
5957
+ title: 'Q4 Project',
5958
+ color: '#3F51B5', // Indigo - Material Design
5959
+ description: 'Related to Q4 projects',
5960
+ scope: 'tenant',
5961
+ createdAt: new Date('2024-09-01'),
5962
+ },
5963
+ {
5964
+ id: AXPDataGenerator.uuid(),
5965
+ title: 'Customer Facing',
5966
+ color: '#8BC34A', // Light Green - Material Design
5967
+ description: 'Customer-facing tasks and items',
5968
+ scope: 'tenant',
5969
+ createdAt: new Date('2024-07-01'),
5970
+ },
5971
+ // User Tags
5972
+ {
5973
+ id: AXPDataGenerator.uuid(),
5974
+ title: 'Personal Project',
5975
+ color: '#673AB7', // Deep Purple - Material Design
5976
+ description: 'My personal projects',
5977
+ scope: 'user',
5978
+ createdAt: new Date('2024-10-01'),
5979
+ },
5980
+ {
5981
+ id: AXPDataGenerator.uuid(),
5982
+ title: 'Learning',
5983
+ color: '#CDDC39', // Lime - Material Design
5984
+ description: 'Items to learn or study',
5985
+ scope: 'user',
5986
+ createdAt: new Date('2024-10-15'),
5987
+ },
5988
+ ];
5989
+ //#endregion
5990
+
5991
+ //#region ---- Tag Data Seeder ----
5992
+ class AXMTagDataSeeder {
5993
+ constructor() {
5994
+ this.storageService = inject(AXPEntityStorageService);
5995
+ }
5996
+ async seed() {
5997
+ await this.storageService.initial(RootConfig$6.entities.tag.source, TAGS_MOCK);
5998
+ }
5999
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXMTagDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
6000
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXMTagDataSeeder }); }
6001
+ }
6002
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXMTagDataSeeder, decorators: [{
6003
+ type: Injectable
6004
+ }] });
6005
+
5862
6006
  class AXCDataManagementMockModule {
5863
6007
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXCDataManagementMockModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
5864
6008
  static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.4", ngImport: i0, type: AXCDataManagementMockModule }); }
@@ -5873,6 +6017,11 @@ class AXCDataManagementMockModule {
5873
6017
  useClass: AXCMetaDataDefinitionDataSeeder,
5874
6018
  multi: true,
5875
6019
  },
6020
+ {
6021
+ provide: AXP_DATA_SEEDER_TOKEN,
6022
+ useClass: AXMTagDataSeeder,
6023
+ multi: true,
6024
+ },
5876
6025
  provideQuerySetups([
5877
6026
  {
5878
6027
  key: 'DataManagement:Metadata:GetCategoryWithItems',
@@ -5902,6 +6051,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImpor
5902
6051
  useClass: AXCMetaDataDefinitionDataSeeder,
5903
6052
  multi: true,
5904
6053
  },
6054
+ {
6055
+ provide: AXP_DATA_SEEDER_TOKEN,
6056
+ useClass: AXMTagDataSeeder,
6057
+ multi: true,
6058
+ },
5905
6059
  provideQuerySetups([
5906
6060
  {
5907
6061
  key: 'DataManagement:Metadata:GetCategoryWithItems',
@@ -39866,5 +40020,5 @@ const AXCMockEntityLogListener = {
39866
40020
  * Generated bundle index. Do not edit.
39867
40021
  */
39868
40022
 
39869
- export { APPLICATIONS, AXCAppTermDataSeeder, AXCAppVersionDataSeeder, AXCApplicationDataSeeder, AXCApplicationManagementMockModule, AXCAuthMockModule, AXCCalendarDataSeeder, AXCCalendarEventDataSeeder, AXCCalendarManagementMockModule, AXCCommonMockModule, AXCContactManagementMockModule, AXCContentManagementMockModule, AXCConversationMockModule, AXCCustomerManagementMockModule, AXCDashboardManagementMockModule, AXCDataManagementMockModule, AXCDexieEntityStorageService, AXCDocumentManagementMockModule, AXCEditionDataSeeder, AXCFeatureDataSeeder, AXCFileStorageService, AXCFormTemplateManagementMockModule, AXCGlobalVariablesDataSeeder, AXCGoogleStrategyMock, AXCHelpDeskMockModule, AXCHumanCapitalManagementMockModule, AXCIdentifierManagementMockModule, AXCJsaSeeder, AXCLocaleManagementMockModule, AXCLocationManagementMockModule, AXCLockService, AXCLogManagementMockModule, AXCLogReportCategoryProvider, AXCLogReportDefinitionProvider, AXCMeetingManagementMockModule, AXCMetaDataDefinitionDataSeeder, AXCMiddlewaresModule, AXCMockEntityLogListener, AXCMockModule, AXCModuleDataSeeder, AXCNotificationManagementMockModule, AXCOrganizationManagementMockModule, AXCPartyManagementMockModule, AXCPlatformManagementMockModule, AXCProjectManagementMockModule, AXCQueryCategoryMetadataInheritanceQuery, AXCReportManagementMockModule, AXCSchedulerJobDataSeeder, AXCSchedulerJobManagementMockModule, AXCSecurityManagementMockModule, AXCTaskManagementMockModule, AXCTextTemplateCategoryDataSeeder, AXCTextTemplateDataSeeder, AXCTextTemplateManagementMockModule, AXCTrainingManagementMockModule, AXCUserPassStrategyMock, AXCVersionDB, 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, AXVChangeType, BUSINESS_UNITS_MOCK, DASHBOARDS, EDITIONS, EMPLOYEES_MOCK, EMPLOYEE_SKILLS_MOCK, EMPLOYMENT_TYPES_MOCK, FEATURES, GLOBAL_VARIABLES, LEAVE_REQUESTS_MOCK, MODULES, POSITIONS_CATEGORY_MOCK, POSITIONS_MOCK, POSITION_ASSIGNMENTS_MOCK, 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, VersioningService, applications, auditLoggerMiddleware, axVersionDB, calendarEventMock, calendarEventTypeMockData, calendarMock, childCountMiddleware, computeDiff, createAndSaveDashboardForUser, createDashboardForUser, createFileCastMiddleware, findContactMethod, findEmployeeById, findPartyById, generateUserDashboard, historyLoggerMiddleware, identifierCommitMiddleware, lookupResolverMiddleware, meetingFilesMock, meetingIds, meetingMock, meetingParticipantMock, meetingRoleTypeMock, meetingSessionMock, meetingTimeSlotMock, meetingTypeFileTemplateMock, meetingTypeMock, mergeDetailRelationMiddleware, mockRoleDefinitions, mockUsers, normalizeAnyFileArrayForView, normalizeSnapshotFileFieldsForView, participantIds, primaryMiddleware, signatureLoaderMiddleware, tenantsMock, toUiRows };
40023
+ export { APPLICATIONS, AXCAppTermDataSeeder, AXCAppVersionDataSeeder, AXCApplicationDataSeeder, AXCApplicationManagementMockModule, AXCAuthMockModule, AXCCalendarDataSeeder, AXCCalendarEventDataSeeder, AXCCalendarManagementMockModule, AXCCommonMockModule, AXCContactManagementMockModule, AXCContentManagementMockModule, AXCConversationMockModule, AXCCustomerManagementMockModule, AXCDashboardManagementMockModule, AXCDataManagementMockModule, AXCDexieEntityStorageService, AXCDocumentManagementMockModule, AXCEditionDataSeeder, AXCFeatureDataSeeder, AXCFileStorageService, AXCFormTemplateManagementMockModule, AXCGlobalVariablesDataSeeder, AXCGoogleStrategyMock, AXCHelpDeskMockModule, AXCHumanCapitalManagementMockModule, AXCIdentifierManagementMockModule, AXCJsaSeeder, AXCLocaleManagementMockModule, AXCLocationManagementMockModule, AXCLockService, AXCLogManagementMockModule, AXCLogReportCategoryProvider, AXCLogReportDefinitionProvider, AXCMeetingManagementMockModule, AXCMetaDataDefinitionDataSeeder, AXCMiddlewaresModule, AXCMockEntityLogListener, AXCMockModule, AXCModuleDataSeeder, AXCNotificationManagementMockModule, AXCOrganizationManagementMockModule, AXCPartyManagementMockModule, AXCPlatformManagementMockModule, AXCProjectManagementMockModule, AXCQueryCategoryMetadataInheritanceQuery, AXCReportManagementMockModule, AXCSchedulerJobDataSeeder, AXCSchedulerJobManagementMockModule, AXCSecurityManagementMockModule, AXCTaskManagementMockModule, AXCTextTemplateCategoryDataSeeder, AXCTextTemplateDataSeeder, AXCTextTemplateManagementMockModule, AXCTrainingManagementMockModule, AXCUserPassStrategyMock, AXCVersionDB, 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, AXMTagDataSeeder, 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, AXVChangeType, BUSINESS_UNITS_MOCK, DASHBOARDS, EDITIONS, EMPLOYEES_MOCK, EMPLOYEE_SKILLS_MOCK, EMPLOYMENT_TYPES_MOCK, FEATURES, GLOBAL_VARIABLES, LEAVE_REQUESTS_MOCK, MODULES, POSITIONS_CATEGORY_MOCK, POSITIONS_MOCK, POSITION_ASSIGNMENTS_MOCK, RESPONSIBILITIES_CATEGORY_MOCK, RESPONSIBILITIES_MOCK, ROLES_CATEGORY_MOCK, ROLES_MOCK, SKILLS_CATEGORY_MOCK, SKILLS_MOCK, SKILL_LEVELS_MOCK, TAGS_MOCK, TASKS, TASK_STATUSES, TASK_TEMPLATES, TASK_TYPES, TEAMS_MOCK, TEXT_TEMPLATES, TEXT_TEMPLATE_CATEGORY, VersioningService, applications, auditLoggerMiddleware, axVersionDB, calendarEventMock, calendarEventTypeMockData, calendarMock, childCountMiddleware, computeDiff, createAndSaveDashboardForUser, createDashboardForUser, createFileCastMiddleware, findContactMethod, findEmployeeById, findPartyById, generateUserDashboard, historyLoggerMiddleware, identifierCommitMiddleware, lookupResolverMiddleware, meetingFilesMock, meetingIds, meetingMock, meetingParticipantMock, meetingRoleTypeMock, meetingSessionMock, meetingTimeSlotMock, meetingTypeFileTemplateMock, meetingTypeMock, mergeDetailRelationMiddleware, mockRoleDefinitions, mockUsers, normalizeAnyFileArrayForView, normalizeSnapshotFileFieldsForView, participantIds, primaryMiddleware, signatureLoaderMiddleware, tenantsMock, toUiRows };
39870
40024
  //# sourceMappingURL=acorex-connectivity-mock.mjs.map