@acorex-platform/module-software-management-client 0.0.46

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.
Files changed (23) hide show
  1. package/fesm2022/acorex-platform-module-software-management-client-accept-software-suggestion.command-DVcM5TTv.mjs +83 -0
  2. package/fesm2022/acorex-platform-module-software-management-client-accept-software-suggestion.command-DVcM5TTv.mjs.map +1 -0
  3. package/fesm2022/acorex-platform-module-software-management-client-complete-software-phase.activity-C56HhK20.mjs +182 -0
  4. package/fesm2022/acorex-platform-module-software-management-client-complete-software-phase.activity-C56HhK20.mjs.map +1 -0
  5. package/fesm2022/acorex-platform-module-software-management-client-contracts.mjs +1196 -0
  6. package/fesm2022/acorex-platform-module-software-management-client-contracts.mjs.map +1 -0
  7. package/fesm2022/acorex-platform-module-software-management-client-discovery-kickoff.commands-gB0_htfF.mjs +162 -0
  8. package/fesm2022/acorex-platform-module-software-management-client-discovery-kickoff.commands-gB0_htfF.mjs.map +1 -0
  9. package/fesm2022/acorex-platform-module-software-management-client-discovery-report.commands-D2ricLpq.mjs +278 -0
  10. package/fesm2022/acorex-platform-module-software-management-client-discovery-report.commands-D2ricLpq.mjs.map +1 -0
  11. package/fesm2022/acorex-platform-module-software-management-client-introduction-exit-message.util-DShFM8MY.mjs +71 -0
  12. package/fesm2022/acorex-platform-module-software-management-client-introduction-exit-message.util-DShFM8MY.mjs.map +1 -0
  13. package/fesm2022/acorex-platform-module-software-management-client-introduction-task.activities-BOsJbeJe.mjs +158 -0
  14. package/fesm2022/acorex-platform-module-software-management-client-introduction-task.activities-BOsJbeJe.mjs.map +1 -0
  15. package/fesm2022/acorex-platform-module-software-management-client-software-command.util-BsoKQCX5.mjs +9 -0
  16. package/fesm2022/acorex-platform-module-software-management-client-software-command.util-BsoKQCX5.mjs.map +1 -0
  17. package/fesm2022/acorex-platform-module-software-management-client-start-software-definition-flow.command-B0YCgv2V.mjs +124 -0
  18. package/fesm2022/acorex-platform-module-software-management-client-start-software-definition-flow.command-B0YCgv2V.mjs.map +1 -0
  19. package/fesm2022/acorex-platform-module-software-management-client.mjs +260 -0
  20. package/fesm2022/acorex-platform-module-software-management-client.mjs.map +1 -0
  21. package/package.json +28 -0
  22. package/types/acorex-platform-module-software-management-client-contracts.d.ts +547 -0
  23. package/types/acorex-platform-module-software-management-client.d.ts +9 -0
@@ -0,0 +1,124 @@
1
+ import { AXToastService } from '@acorex/components/toast';
2
+ import { AXTranslationService } from '@acorex/core/translation';
3
+ import { AXPSessionService } from '@acorex-platform/framework-client/auth';
4
+ import { AXPBroadcastEventService } from '@acorex-platform/framework-client/core';
5
+ import { AXPEntityService, getRecordWorkflowInstanceId, buildAXPRecordWorkflowInfo } from '@acorex-platform/framework-client/layout/entity';
6
+ import { AXP_WORKFLOW_ENGINE } from '@acorex-platform/framework-client/workflow';
7
+ import { resolveEntityActionRef } from '@acorex-platform/framework-shared/runtime';
8
+ import { RootConfig, introductionValueText, SOFTWARE_DEFINITION_WORKFLOW_NAME } from '@acorex-platform/module-software-management-client/contracts';
9
+ import * as i0 from '@angular/core';
10
+ import { inject, Injectable } from '@angular/core';
11
+ import { r as resolveSoftwareText } from './acorex-platform-module-software-management-client-software-command.util-BsoKQCX5.mjs';
12
+
13
+ //#region ---- Imports ----
14
+ //#endregion
15
+ class StartSoftwareDefinitionFlowCommand {
16
+ constructor() {
17
+ //#region ---- Services & Dependencies ----
18
+ this.entityService = inject(AXPEntityService);
19
+ this.workflowEngine = inject(AXP_WORKFLOW_ENGINE);
20
+ this.toastService = inject(AXToastService);
21
+ this.translationService = inject(AXTranslationService);
22
+ this.eventService = inject(AXPBroadcastEventService);
23
+ this.sessionService = inject(AXPSessionService);
24
+ }
25
+ //#endregion
26
+ //#region ---- Command Implementation ----
27
+ async execute(input) {
28
+ const resolved = resolveEntityActionRef(input);
29
+ const softwareId = resolveSoftwareText(resolved?.refId);
30
+ if (!softwareId) {
31
+ return {
32
+ success: false,
33
+ message: {
34
+ text: await this.translationService.translateAsync('@software-management:messages.start-flow.id-required'),
35
+ },
36
+ };
37
+ }
38
+ const software = (await this.entityService
39
+ .withEntity(RootConfig.module.name, RootConfig.entities.software.name)
40
+ .data()
41
+ .byKey(softwareId));
42
+ if (!software) {
43
+ return {
44
+ success: false,
45
+ message: {
46
+ text: await this.translationService.translateAsync('@software-management:messages.start-flow.not-found'),
47
+ },
48
+ };
49
+ }
50
+ if (getRecordWorkflowInstanceId(software)) {
51
+ return {
52
+ success: false,
53
+ message: {
54
+ text: await this.translationService.translateAsync('@software-management:messages.start-flow.already-started'),
55
+ },
56
+ };
57
+ }
58
+ const ownerId = introductionValueText(software.ownerId) ||
59
+ introductionValueText(software.owner) ||
60
+ resolveSoftwareText(this.sessionService.user?.id);
61
+ const correlationId = `${RootConfig.entities.software.source}:${softwareId}:${SOFTWARE_DEFINITION_WORKFLOW_NAME}`;
62
+ try {
63
+ const startResponse = await this.workflowEngine.start({
64
+ workflowId: SOFTWARE_DEFINITION_WORKFLOW_NAME,
65
+ input: {
66
+ softwareId,
67
+ softwareTitle: resolveSoftwareText(software.title),
68
+ ownerId,
69
+ refId: softwareId,
70
+ refType: RootConfig.entities.software.source,
71
+ correlationId,
72
+ },
73
+ });
74
+ const instanceId = startResponse.instanceId;
75
+ if (!instanceId) {
76
+ return {
77
+ success: false,
78
+ message: {
79
+ text: await this.translationService.translateAsync('@general:messages.generic.error.title'),
80
+ },
81
+ };
82
+ }
83
+ await this.entityService
84
+ .withEntity(RootConfig.module.name, RootConfig.entities.software.name)
85
+ .data()
86
+ .update(softwareId, {
87
+ workflowInfo: buildAXPRecordWorkflowInfo({
88
+ instanceId,
89
+ definitionId: SOFTWARE_DEFINITION_WORKFLOW_NAME,
90
+ correlationId,
91
+ }),
92
+ });
93
+ this.eventService.publish('task-board.refresh', { provider: SOFTWARE_DEFINITION_WORKFLOW_NAME });
94
+ this.toastService.show({
95
+ color: 'success',
96
+ title: await this.translationService.translateAsync('@general:messages.generic.success.title'),
97
+ content: await this.translationService.translateAsync('@software-management:messages.start-flow.started'),
98
+ closeButton: true,
99
+ timeOut: 6000,
100
+ });
101
+ return { success: true, kind: 'object', data: undefined };
102
+ }
103
+ catch (error) {
104
+ const message = error instanceof Error ? error.message : 'Unknown error';
105
+ this.toastService.show({
106
+ color: 'danger',
107
+ title: await this.translationService.translateAsync('@general:messages.generic.error.title'),
108
+ content: message,
109
+ closeButton: true,
110
+ timeOut: 5000,
111
+ });
112
+ return { success: false, message: { text: message } };
113
+ }
114
+ }
115
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: StartSoftwareDefinitionFlowCommand, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
116
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: StartSoftwareDefinitionFlowCommand, providedIn: 'root' }); }
117
+ }
118
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: StartSoftwareDefinitionFlowCommand, decorators: [{
119
+ type: Injectable,
120
+ args: [{ providedIn: 'root' }]
121
+ }] });
122
+
123
+ export { StartSoftwareDefinitionFlowCommand };
124
+ //# sourceMappingURL=acorex-platform-module-software-management-client-start-software-definition-flow.command-B0YCgv2V.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-software-management-client-start-software-definition-flow.command-B0YCgv2V.mjs","sources":["../../../../libs/modules/software-management/client/src/lib/commands/start-software-definition-flow.command.ts"],"sourcesContent":["//#region ---- Imports ----\n\nimport { AXToastService } from '@acorex/components/toast';\nimport { AXTranslationService } from '@acorex/core/translation';\nimport { AXPSessionService } from '@acorex-platform/framework-client/auth';\nimport { AXPBroadcastEventService } from '@acorex-platform/framework-client/core';\nimport {\n AXPEntityService,\n buildAXPRecordWorkflowInfo,\n getRecordWorkflowInstanceId,\n} from '@acorex-platform/framework-client/layout/entity';\nimport { AXP_WORKFLOW_ENGINE, type AXPWorkflowEngine } from '@acorex-platform/framework-client/workflow';\nimport { AXPCommand, resolveEntityActionRef, type AXPCommandExecuteResultPromise } from '@acorex-platform/framework-shared/runtime';\nimport {\n introductionValueText,\n RootConfig,\n SOFTWARE_DEFINITION_WORKFLOW_NAME,\n type AXMSoftwareManagementSoftwareEntityModel,\n} from '@acorex-platform/module-software-management-client/contracts';\nimport { inject, Injectable } from '@angular/core';\n\nimport { resolveSoftwareText } from './software-command.util';\n\n//#endregion\n\n@Injectable({ providedIn: 'root' })\nexport class StartSoftwareDefinitionFlowCommand implements AXPCommand<unknown, void> {\n //#region ---- Services & Dependencies ----\n\n private readonly entityService = inject(AXPEntityService);\n private readonly workflowEngine = inject(AXP_WORKFLOW_ENGINE) as AXPWorkflowEngine;\n private readonly toastService = inject(AXToastService);\n private readonly translationService = inject(AXTranslationService);\n private readonly eventService = inject(AXPBroadcastEventService);\n private readonly sessionService = inject(AXPSessionService);\n\n //#endregion\n\n //#region ---- Command Implementation ----\n\n async execute(input: unknown): AXPCommandExecuteResultPromise<void> {\n const resolved = resolveEntityActionRef(input);\n const softwareId = resolveSoftwareText(resolved?.refId);\n if (!softwareId) {\n return {\n success: false,\n message: {\n text: await this.translationService.translateAsync(\n '@software-management:messages.start-flow.id-required',\n ),\n },\n };\n }\n\n const software = (await this.entityService\n .withEntity(RootConfig.module.name, RootConfig.entities.software.name)\n .data()\n .byKey(softwareId)) as AXMSoftwareManagementSoftwareEntityModel | null;\n\n if (!software) {\n return {\n success: false,\n message: {\n text: await this.translationService.translateAsync(\n '@software-management:messages.start-flow.not-found',\n ),\n },\n };\n }\n\n if (getRecordWorkflowInstanceId(software as never)) {\n return {\n success: false,\n message: {\n text: await this.translationService.translateAsync(\n '@software-management:messages.start-flow.already-started',\n ),\n },\n };\n }\n\n const ownerId =\n introductionValueText(software.ownerId) ||\n introductionValueText(software.owner) ||\n resolveSoftwareText(this.sessionService.user?.id);\n const correlationId = `${RootConfig.entities.software.source}:${softwareId}:${SOFTWARE_DEFINITION_WORKFLOW_NAME}`;\n\n try {\n const startResponse = await this.workflowEngine.start({\n workflowId: SOFTWARE_DEFINITION_WORKFLOW_NAME,\n input: {\n softwareId,\n softwareTitle: resolveSoftwareText(software.title),\n ownerId,\n refId: softwareId,\n refType: RootConfig.entities.software.source,\n correlationId,\n },\n });\n\n const instanceId = startResponse.instanceId;\n if (!instanceId) {\n return {\n success: false,\n message: {\n text: await this.translationService.translateAsync('@general:messages.generic.error.title'),\n },\n };\n }\n\n await this.entityService\n .withEntity(RootConfig.module.name, RootConfig.entities.software.name)\n .data()\n .update(softwareId, {\n workflowInfo: buildAXPRecordWorkflowInfo({\n instanceId,\n definitionId: SOFTWARE_DEFINITION_WORKFLOW_NAME,\n correlationId,\n }),\n } as never);\n\n this.eventService.publish('task-board.refresh', { provider: SOFTWARE_DEFINITION_WORKFLOW_NAME });\n\n this.toastService.show({\n color: 'success',\n title: await this.translationService.translateAsync('@general:messages.generic.success.title'),\n content: await this.translationService.translateAsync(\n '@software-management:messages.start-flow.started',\n ),\n closeButton: true,\n timeOut: 6000,\n });\n\n return { success: true, kind: 'object', data: undefined };\n } catch (error: unknown) {\n const message = error instanceof Error ? error.message : 'Unknown error';\n this.toastService.show({\n color: 'danger',\n title: await this.translationService.translateAsync('@general:messages.generic.error.title'),\n content: message,\n closeButton: true,\n timeOut: 5000,\n });\n return { success: false, message: { text: message } };\n }\n }\n\n //#endregion\n}\n\n//#endregion\n"],"names":[],"mappings":";;;;;;;;;;;;AAAA;AAuBA;MAGa,kCAAkC,CAAA;AAD/C,IAAA,WAAA,GAAA;;AAImB,QAAA,IAAA,CAAA,aAAa,GAAG,MAAM,CAAC,gBAAgB,CAAC;AACxC,QAAA,IAAA,CAAA,cAAc,GAAG,MAAM,CAAC,mBAAmB,CAAsB;AACjE,QAAA,IAAA,CAAA,YAAY,GAAG,MAAM,CAAC,cAAc,CAAC;AACrC,QAAA,IAAA,CAAA,kBAAkB,GAAG,MAAM,CAAC,oB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,CAAA,CAAA;;2FACnB,kCAAkC,EAAA,UAAA,EAAA,CAAA;kBAD9C,UAAU;mBAAC,EAAE,UAAU,EAAE,MAAM,EAAE;;;"}
@@ -0,0 +1,260 @@
1
+ import * as i0 from '@angular/core';
2
+ import { inject, Injectable, NgModule } from '@angular/core';
3
+ import { AXP_MENU_PROVIDER } from '@acorex-platform/framework-client/common';
4
+ import { AXP_PERMISSION_DEFINITION_PROVIDER } from '@acorex-platform/framework-client/auth';
5
+ import { provideCommandSetups } from '@acorex-platform/framework-client/runtime';
6
+ import { RootConfig, AXPSoftwareManagementMenuKeys, AXPSoftwareManagementPermissionKeys, AXPSoftwareManagementCommandKeys } from '@acorex-platform/module-software-management-client/contracts';
7
+ import { AXPEntityService } from '@acorex-platform/framework-client/layout/entity';
8
+ import { AXPCommonPermissionGroupKeys } from '@acorex-platform/module-common-client/contracts';
9
+
10
+ //#region ---- Imports ----
11
+ //#endregion
12
+ //#region ---- Menu ----
13
+ class AXMMenuProvider {
14
+ constructor() {
15
+ this.entityService = inject(AXPEntityService);
16
+ }
17
+ async provide(context) {
18
+ const module = RootConfig.module;
19
+ const keys = AXPSoftwareManagementMenuKeys;
20
+ const policy = {
21
+ features: [module.name],
22
+ permissions: [AXPSoftwareManagementPermissionKeys.MaintainSoftwareDefinitions],
23
+ };
24
+ const rootMenu = context.find(keys.Root);
25
+ if (!rootMenu.exists) {
26
+ context.addItems([
27
+ {
28
+ name: keys.Root,
29
+ priority: 8050,
30
+ text: RootConfig.module.title,
31
+ icon: RootConfig.module.icon,
32
+ type: 'menu',
33
+ children: [],
34
+ policy,
35
+ },
36
+ ]);
37
+ }
38
+ const items = [
39
+ { name: keys.Software, entity: RootConfig.entities.software, priority: 0 },
40
+ { name: keys.DiscoveryItems, entity: RootConfig.entities.discoveryItem, priority: 1 },
41
+ { name: keys.ScopeItems, entity: RootConfig.entities.scopeItem, priority: 2 },
42
+ { name: keys.Requirements, entity: RootConfig.entities.requirement, priority: 3 },
43
+ { name: keys.AcceptanceCriteria, entity: RootConfig.entities.acceptanceCriterion, priority: 4 },
44
+ { name: keys.BusinessRules, entity: RootConfig.entities.businessRule, priority: 5 },
45
+ { name: keys.Modules, entity: RootConfig.entities.module, priority: 6 },
46
+ { name: keys.Features, entity: RootConfig.entities.feature, priority: 7 },
47
+ { name: keys.UseCases, entity: RootConfig.entities.useCase, priority: 8 },
48
+ { name: keys.DesignDecisions, entity: RootConfig.entities.designDecision, priority: 9 },
49
+ ];
50
+ context.find(keys.Root).addItems(items.map((item) => ({
51
+ name: item.name,
52
+ text: item.entity.titlePlural,
53
+ path: this.entityService.withEntity(module.name, item.entity.name).createPath(),
54
+ icon: item.entity.icon,
55
+ priority: item.priority,
56
+ policy,
57
+ })));
58
+ }
59
+ }
60
+ //#endregion
61
+
62
+ //#region ---- Imports ----
63
+ //#endregion
64
+ //#region ---- Permission Definition Provider ----
65
+ class AXMPermissionDefinitionProvider {
66
+ async define(context) {
67
+ const keys = AXPSoftwareManagementPermissionKeys;
68
+ const groups = AXPCommonPermissionGroupKeys;
69
+ const P = '@common:applications-platform.permissions';
70
+ const G = '@common:permission-groups';
71
+ context.addGroup(groups.ApplicationsPlatform.Root, `${G}.applications-platform.title`, `${G}.applications-platform.description`, { order: 90 });
72
+ context
73
+ .addGroup(groups.ApplicationsPlatform.Applications, `${G}.applications-platform-applications.title`, `${G}.applications-platform-applications.description`, { parent: groups.ApplicationsPlatform.Root, order: 10 })
74
+ .addPermission(keys.MaintainSoftwareDefinitions, `${P}.maintain-software-definitions.title`, `${P}.maintain-software-definitions.description`, { modules: ['SoftwareManagement'], requiredFeatures: ['SoftwareManagement'] })
75
+ .endPermission()
76
+ .endGroup();
77
+ }
78
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXMPermissionDefinitionProvider, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
79
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXMPermissionDefinitionProvider }); }
80
+ }
81
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXMPermissionDefinitionProvider, decorators: [{
82
+ type: Injectable
83
+ }] });
84
+
85
+ //#region ---- Imports ----
86
+ //#endregion
87
+ //#region ---- Module ----
88
+ class AXMSoftwareManagementModule {
89
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXMSoftwareManagementModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
90
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.8", ngImport: i0, type: AXMSoftwareManagementModule }); }
91
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXMSoftwareManagementModule, providers: [
92
+ {
93
+ provide: AXP_PERMISSION_DEFINITION_PROVIDER,
94
+ useClass: AXMPermissionDefinitionProvider,
95
+ multi: true,
96
+ },
97
+ {
98
+ provide: AXP_MENU_PROVIDER,
99
+ useClass: AXMMenuProvider,
100
+ multi: true,
101
+ },
102
+ provideCommandSetups([
103
+ {
104
+ key: AXPSoftwareManagementCommandKeys.Software.StartFlow,
105
+ command: () => import('./acorex-platform-module-software-management-client-start-software-definition-flow.command-B0YCgv2V.mjs').then((c) => c.StartSoftwareDefinitionFlowCommand),
106
+ },
107
+ {
108
+ key: AXPSoftwareManagementCommandKeys.Software.CompletePhase,
109
+ command: () => import('./acorex-platform-module-software-management-client-complete-software-phase.activity-C56HhK20.mjs').then((c) => c.CompleteSoftwarePhaseActivity),
110
+ },
111
+ {
112
+ key: AXPSoftwareManagementCommandKeys.WorkflowActivity.CompletePhase,
113
+ command: () => import('./acorex-platform-module-software-management-client-complete-software-phase.activity-C56HhK20.mjs').then((c) => c.CompleteSoftwarePhaseActivity),
114
+ },
115
+ {
116
+ key: AXPSoftwareManagementCommandKeys.WorkflowActivity.LoadIntroduction,
117
+ command: () => import('./acorex-platform-module-software-management-client-introduction-task.activities-BOsJbeJe.mjs').then((c) => c.LoadSoftwareIntroductionActivity),
118
+ },
119
+ {
120
+ key: AXPSoftwareManagementCommandKeys.WorkflowActivity.SaveIntroduction,
121
+ command: () => import('./acorex-platform-module-software-management-client-introduction-task.activities-BOsJbeJe.mjs').then((c) => c.SaveSoftwareIntroductionActivity),
122
+ },
123
+ {
124
+ key: AXPSoftwareManagementCommandKeys.Software.AcceptSuggestion,
125
+ command: () => import('./acorex-platform-module-software-management-client-accept-software-suggestion.command-DVcM5TTv.mjs').then((c) => c.AcceptSoftwareSuggestionCommand),
126
+ },
127
+ {
128
+ key: AXPSoftwareManagementCommandKeys.Software.GenerateKickoffSheet,
129
+ command: () => import('./acorex-platform-module-software-management-client-discovery-kickoff.commands-gB0_htfF.mjs').then((c) => c.GenerateDiscoveryKickoffCommand),
130
+ },
131
+ {
132
+ key: AXPSoftwareManagementCommandKeys.Software.SubmitKickoffSheet,
133
+ command: () => import('./acorex-platform-module-software-management-client-discovery-kickoff.commands-gB0_htfF.mjs').then((c) => c.SubmitDiscoveryKickoffCommand),
134
+ },
135
+ {
136
+ key: AXPSoftwareManagementCommandKeys.Software.ExportKickoffPdf,
137
+ command: () => import('./acorex-platform-module-software-management-client-discovery-kickoff.commands-gB0_htfF.mjs').then((c) => c.ExportDiscoveryKickoffPdfCommand),
138
+ },
139
+ {
140
+ key: AXPSoftwareManagementCommandKeys.Software.OpenKickoffSheet,
141
+ command: () => import('./acorex-platform-module-software-management-client-discovery-kickoff.commands-gB0_htfF.mjs').then((c) => c.OpenDiscoveryKickoffCommand),
142
+ },
143
+ {
144
+ key: AXPSoftwareManagementCommandKeys.Software.ViewPinnedKickoff,
145
+ command: () => import('./acorex-platform-module-software-management-client-discovery-report.commands-D2ricLpq.mjs').then((c) => c.ViewPinnedKickoffCommand),
146
+ },
147
+ {
148
+ key: AXPSoftwareManagementCommandKeys.Software.GenerateDiscoveryReport,
149
+ command: () => import('./acorex-platform-module-software-management-client-discovery-report.commands-D2ricLpq.mjs').then((c) => c.GenerateDiscoveryReportCommand),
150
+ },
151
+ {
152
+ key: AXPSoftwareManagementCommandKeys.Software.SubmitDiscoveryReport,
153
+ command: () => import('./acorex-platform-module-software-management-client-discovery-report.commands-D2ricLpq.mjs').then((c) => c.SubmitDiscoveryReportCommand),
154
+ },
155
+ {
156
+ key: AXPSoftwareManagementCommandKeys.Software.ExportDiscoveryReportPdf,
157
+ command: () => import('./acorex-platform-module-software-management-client-discovery-report.commands-D2ricLpq.mjs').then((c) => c.ExportDiscoveryReportPdfCommand),
158
+ },
159
+ {
160
+ key: AXPSoftwareManagementCommandKeys.Software.OpenDiscoveryReport,
161
+ command: () => import('./acorex-platform-module-software-management-client-discovery-report.commands-D2ricLpq.mjs').then((c) => c.OpenDiscoveryReportCommand),
162
+ },
163
+ {
164
+ key: AXPSoftwareManagementCommandKeys.Software.LinkDiscoveryQuestionnaire,
165
+ command: () => import('./acorex-platform-module-software-management-client-discovery-report.commands-D2ricLpq.mjs').then((c) => c.LinkDiscoveryQuestionnaireCommand),
166
+ },
167
+ ]),
168
+ ] }); }
169
+ }
170
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXMSoftwareManagementModule, decorators: [{
171
+ type: NgModule,
172
+ args: [{
173
+ imports: [],
174
+ providers: [
175
+ {
176
+ provide: AXP_PERMISSION_DEFINITION_PROVIDER,
177
+ useClass: AXMPermissionDefinitionProvider,
178
+ multi: true,
179
+ },
180
+ {
181
+ provide: AXP_MENU_PROVIDER,
182
+ useClass: AXMMenuProvider,
183
+ multi: true,
184
+ },
185
+ provideCommandSetups([
186
+ {
187
+ key: AXPSoftwareManagementCommandKeys.Software.StartFlow,
188
+ command: () => import('./acorex-platform-module-software-management-client-start-software-definition-flow.command-B0YCgv2V.mjs').then((c) => c.StartSoftwareDefinitionFlowCommand),
189
+ },
190
+ {
191
+ key: AXPSoftwareManagementCommandKeys.Software.CompletePhase,
192
+ command: () => import('./acorex-platform-module-software-management-client-complete-software-phase.activity-C56HhK20.mjs').then((c) => c.CompleteSoftwarePhaseActivity),
193
+ },
194
+ {
195
+ key: AXPSoftwareManagementCommandKeys.WorkflowActivity.CompletePhase,
196
+ command: () => import('./acorex-platform-module-software-management-client-complete-software-phase.activity-C56HhK20.mjs').then((c) => c.CompleteSoftwarePhaseActivity),
197
+ },
198
+ {
199
+ key: AXPSoftwareManagementCommandKeys.WorkflowActivity.LoadIntroduction,
200
+ command: () => import('./acorex-platform-module-software-management-client-introduction-task.activities-BOsJbeJe.mjs').then((c) => c.LoadSoftwareIntroductionActivity),
201
+ },
202
+ {
203
+ key: AXPSoftwareManagementCommandKeys.WorkflowActivity.SaveIntroduction,
204
+ command: () => import('./acorex-platform-module-software-management-client-introduction-task.activities-BOsJbeJe.mjs').then((c) => c.SaveSoftwareIntroductionActivity),
205
+ },
206
+ {
207
+ key: AXPSoftwareManagementCommandKeys.Software.AcceptSuggestion,
208
+ command: () => import('./acorex-platform-module-software-management-client-accept-software-suggestion.command-DVcM5TTv.mjs').then((c) => c.AcceptSoftwareSuggestionCommand),
209
+ },
210
+ {
211
+ key: AXPSoftwareManagementCommandKeys.Software.GenerateKickoffSheet,
212
+ command: () => import('./acorex-platform-module-software-management-client-discovery-kickoff.commands-gB0_htfF.mjs').then((c) => c.GenerateDiscoveryKickoffCommand),
213
+ },
214
+ {
215
+ key: AXPSoftwareManagementCommandKeys.Software.SubmitKickoffSheet,
216
+ command: () => import('./acorex-platform-module-software-management-client-discovery-kickoff.commands-gB0_htfF.mjs').then((c) => c.SubmitDiscoveryKickoffCommand),
217
+ },
218
+ {
219
+ key: AXPSoftwareManagementCommandKeys.Software.ExportKickoffPdf,
220
+ command: () => import('./acorex-platform-module-software-management-client-discovery-kickoff.commands-gB0_htfF.mjs').then((c) => c.ExportDiscoveryKickoffPdfCommand),
221
+ },
222
+ {
223
+ key: AXPSoftwareManagementCommandKeys.Software.OpenKickoffSheet,
224
+ command: () => import('./acorex-platform-module-software-management-client-discovery-kickoff.commands-gB0_htfF.mjs').then((c) => c.OpenDiscoveryKickoffCommand),
225
+ },
226
+ {
227
+ key: AXPSoftwareManagementCommandKeys.Software.ViewPinnedKickoff,
228
+ command: () => import('./acorex-platform-module-software-management-client-discovery-report.commands-D2ricLpq.mjs').then((c) => c.ViewPinnedKickoffCommand),
229
+ },
230
+ {
231
+ key: AXPSoftwareManagementCommandKeys.Software.GenerateDiscoveryReport,
232
+ command: () => import('./acorex-platform-module-software-management-client-discovery-report.commands-D2ricLpq.mjs').then((c) => c.GenerateDiscoveryReportCommand),
233
+ },
234
+ {
235
+ key: AXPSoftwareManagementCommandKeys.Software.SubmitDiscoveryReport,
236
+ command: () => import('./acorex-platform-module-software-management-client-discovery-report.commands-D2ricLpq.mjs').then((c) => c.SubmitDiscoveryReportCommand),
237
+ },
238
+ {
239
+ key: AXPSoftwareManagementCommandKeys.Software.ExportDiscoveryReportPdf,
240
+ command: () => import('./acorex-platform-module-software-management-client-discovery-report.commands-D2ricLpq.mjs').then((c) => c.ExportDiscoveryReportPdfCommand),
241
+ },
242
+ {
243
+ key: AXPSoftwareManagementCommandKeys.Software.OpenDiscoveryReport,
244
+ command: () => import('./acorex-platform-module-software-management-client-discovery-report.commands-D2ricLpq.mjs').then((c) => c.OpenDiscoveryReportCommand),
245
+ },
246
+ {
247
+ key: AXPSoftwareManagementCommandKeys.Software.LinkDiscoveryQuestionnaire,
248
+ command: () => import('./acorex-platform-module-software-management-client-discovery-report.commands-D2ricLpq.mjs').then((c) => c.LinkDiscoveryQuestionnaireCommand),
249
+ },
250
+ ]),
251
+ ],
252
+ }]
253
+ }] });
254
+
255
+ /**
256
+ * Generated bundle index. Do not edit.
257
+ */
258
+
259
+ export { AXMSoftwareManagementModule };
260
+ //# sourceMappingURL=acorex-platform-module-software-management-client.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-software-management-client.mjs","sources":["../../../../libs/modules/software-management/client/src/lib/menu.provider.ts","../../../../libs/modules/software-management/client/src/lib/permission-definition.provider.ts","../../../../libs/modules/software-management/client/src/lib/software-management.module.ts","../../../../libs/modules/software-management/client/src/acorex-platform-module-software-management-client.ts"],"sourcesContent":["//#region ---- Imports ----\n\nimport { AXPMenuProvider, AXPMenuProviderContext } from '@acorex-platform/framework-client/common';\nimport { AXPEntityService } from '@acorex-platform/framework-client/layout/entity';\nimport {\n AXPSoftwareManagementMenuKeys,\n AXPSoftwareManagementPermissionKeys,\n RootConfig,\n} from '@acorex-platform/module-software-management-client/contracts';\nimport { inject } from '@angular/core';\n\n//#endregion\n\n//#region ---- Menu ----\n\nexport class AXMMenuProvider implements AXPMenuProvider {\n private entityService = inject(AXPEntityService);\n\n async provide(context: AXPMenuProviderContext): Promise<void> {\n const module = RootConfig.module;\n const keys = AXPSoftwareManagementMenuKeys;\n const policy = {\n features: [module.name],\n permissions: [AXPSoftwareManagementPermissionKeys.MaintainSoftwareDefinitions],\n };\n\n const rootMenu = context.find(keys.Root);\n if (!rootMenu.exists) {\n context.addItems([\n {\n name: keys.Root,\n priority: 8050,\n text: RootConfig.module.title,\n icon: RootConfig.module.icon,\n type: 'menu',\n children: [],\n policy,\n },\n ]);\n }\n\n const items: Array<{\n name: string;\n entity: (typeof RootConfig.entities)[keyof typeof RootConfig.entities];\n priority: number;\n }> = [\n { name: keys.Software, entity: RootConfig.entities.software, priority: 0 },\n { name: keys.DiscoveryItems, entity: RootConfig.entities.discoveryItem, priority: 1 },\n { name: keys.ScopeItems, entity: RootConfig.entities.scopeItem, priority: 2 },\n { name: keys.Requirements, entity: RootConfig.entities.requirement, priority: 3 },\n { name: keys.AcceptanceCriteria, entity: RootConfig.entities.acceptanceCriterion, priority: 4 },\n { name: keys.BusinessRules, entity: RootConfig.entities.businessRule, priority: 5 },\n { name: keys.Modules, entity: RootConfig.entities.module, priority: 6 },\n { name: keys.Features, entity: RootConfig.entities.feature, priority: 7 },\n { name: keys.UseCases, entity: RootConfig.entities.useCase, priority: 8 },\n { name: keys.DesignDecisions, entity: RootConfig.entities.designDecision, priority: 9 },\n ];\n\n context.find(keys.Root).addItems(\n items.map((item) => ({\n name: item.name,\n text: item.entity.titlePlural,\n path: this.entityService.withEntity(module.name, item.entity.name).createPath(),\n icon: item.entity.icon,\n priority: item.priority,\n policy,\n })),\n );\n }\n}\n\n//#endregion\n","//#region ---- Imports ----\n\nimport { Injectable } from '@angular/core';\nimport {\n AXPPermissionDefinitionProvider,\n AXPPermissionDefinitionProviderContext,\n} from '@acorex-platform/framework-client/auth';\nimport { AXPCommonPermissionGroupKeys } from '@acorex-platform/module-common-client/contracts';\nimport { AXPSoftwareManagementPermissionKeys } from '@acorex-platform/module-software-management-client/contracts';\n\n//#endregion\n\n//#region ---- Permission Definition Provider ----\n\n@Injectable()\nexport class AXMPermissionDefinitionProvider implements AXPPermissionDefinitionProvider {\n async define(context: AXPPermissionDefinitionProviderContext): Promise<void> {\n const keys = AXPSoftwareManagementPermissionKeys;\n const groups = AXPCommonPermissionGroupKeys;\n const P = '@common:applications-platform.permissions';\n const G = '@common:permission-groups';\n\n context.addGroup(\n groups.ApplicationsPlatform.Root,\n `${G}.applications-platform.title`,\n `${G}.applications-platform.description`,\n { order: 90 },\n );\n\n context\n .addGroup(\n groups.ApplicationsPlatform.Applications,\n `${G}.applications-platform-applications.title`,\n `${G}.applications-platform-applications.description`,\n { parent: groups.ApplicationsPlatform.Root, order: 10 },\n )\n .addPermission(\n keys.MaintainSoftwareDefinitions,\n `${P}.maintain-software-definitions.title`,\n `${P}.maintain-software-definitions.description`,\n { modules: ['SoftwareManagement'], requiredFeatures: ['SoftwareManagement'] },\n )\n .endPermission()\n .endGroup();\n }\n}\n\n//#endregion\n","//#region ---- Imports ----\n\nimport { NgModule } from '@angular/core';\nimport { AXP_MENU_PROVIDER } from '@acorex-platform/framework-client/common';\nimport { AXP_PERMISSION_DEFINITION_PROVIDER } from '@acorex-platform/framework-client/auth';\nimport { provideCommandSetups } from '@acorex-platform/framework-client/runtime';\nimport { AXPSoftwareManagementCommandKeys } from '@acorex-platform/module-software-management-client/contracts';\n\nimport { AXMMenuProvider } from './menu.provider';\nimport { AXMPermissionDefinitionProvider } from './permission-definition.provider';\n\n//#endregion\n\n//#region ---- Module ----\n\n@NgModule({\n imports: [],\n providers: [\n {\n provide: AXP_PERMISSION_DEFINITION_PROVIDER,\n useClass: AXMPermissionDefinitionProvider,\n multi: true,\n },\n {\n provide: AXP_MENU_PROVIDER,\n useClass: AXMMenuProvider,\n multi: true,\n },\n provideCommandSetups([\n {\n key: AXPSoftwareManagementCommandKeys.Software.StartFlow,\n command: () =>\n import('./commands/start-software-definition-flow.command').then(\n (c) => c.StartSoftwareDefinitionFlowCommand,\n ),\n },\n {\n key: AXPSoftwareManagementCommandKeys.Software.CompletePhase,\n command: () =>\n import('./workflows/activities/complete-software-phase.activity').then(\n (c) => c.CompleteSoftwarePhaseActivity,\n ),\n },\n {\n key: AXPSoftwareManagementCommandKeys.WorkflowActivity.CompletePhase,\n command: () =>\n import('./workflows/activities/complete-software-phase.activity').then(\n (c) => c.CompleteSoftwarePhaseActivity,\n ),\n },\n {\n key: AXPSoftwareManagementCommandKeys.WorkflowActivity.LoadIntroduction,\n command: () =>\n import('./workflows/activities/introduction-task.activities').then(\n (c) => c.LoadSoftwareIntroductionActivity,\n ),\n },\n {\n key: AXPSoftwareManagementCommandKeys.WorkflowActivity.SaveIntroduction,\n command: () =>\n import('./workflows/activities/introduction-task.activities').then(\n (c) => c.SaveSoftwareIntroductionActivity,\n ),\n },\n {\n key: AXPSoftwareManagementCommandKeys.Software.AcceptSuggestion,\n command: () =>\n import('./commands/accept-software-suggestion.command').then(\n (c) => c.AcceptSoftwareSuggestionCommand,\n ),\n },\n {\n key: AXPSoftwareManagementCommandKeys.Software.GenerateKickoffSheet,\n command: () =>\n import('./commands/discovery-kickoff.commands').then((c) => c.GenerateDiscoveryKickoffCommand),\n },\n {\n key: AXPSoftwareManagementCommandKeys.Software.SubmitKickoffSheet,\n command: () =>\n import('./commands/discovery-kickoff.commands').then((c) => c.SubmitDiscoveryKickoffCommand),\n },\n {\n key: AXPSoftwareManagementCommandKeys.Software.ExportKickoffPdf,\n command: () =>\n import('./commands/discovery-kickoff.commands').then((c) => c.ExportDiscoveryKickoffPdfCommand),\n },\n {\n key: AXPSoftwareManagementCommandKeys.Software.OpenKickoffSheet,\n command: () =>\n import('./commands/discovery-kickoff.commands').then((c) => c.OpenDiscoveryKickoffCommand),\n },\n {\n key: AXPSoftwareManagementCommandKeys.Software.ViewPinnedKickoff,\n command: () => import('./commands/discovery-report.commands').then((c) => c.ViewPinnedKickoffCommand),\n },\n {\n key: AXPSoftwareManagementCommandKeys.Software.GenerateDiscoveryReport,\n command: () => import('./commands/discovery-report.commands').then((c) => c.GenerateDiscoveryReportCommand),\n },\n {\n key: AXPSoftwareManagementCommandKeys.Software.SubmitDiscoveryReport,\n command: () => import('./commands/discovery-report.commands').then((c) => c.SubmitDiscoveryReportCommand),\n },\n {\n key: AXPSoftwareManagementCommandKeys.Software.ExportDiscoveryReportPdf,\n command: () => import('./commands/discovery-report.commands').then((c) => c.ExportDiscoveryReportPdfCommand),\n },\n {\n key: AXPSoftwareManagementCommandKeys.Software.OpenDiscoveryReport,\n command: () => import('./commands/discovery-report.commands').then((c) => c.OpenDiscoveryReportCommand),\n },\n {\n key: AXPSoftwareManagementCommandKeys.Software.LinkDiscoveryQuestionnaire,\n command: () => import('./commands/discovery-report.commands').then((c) => c.LinkDiscoveryQuestionnaireCommand),\n },\n ]),\n ],\n})\nexport class AXMSoftwareManagementModule {}\n\n//#endregion\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;AAAA;AAWA;AAEA;MAEa,eAAe,CAAA;AAA5B,IAAA,WAAA,GAAA;AACU,QAAA,IAAA,CAAA,aAAa,GAAG,MAAM,CAAC,g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C,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,iCAAiC,CAAC;AAC/G,6BAAA;yBACF,CAAC;AACH,qBAAA;AACF,iBAAA;;;ACrHD;;AAEG;;"}
package/package.json ADDED
@@ -0,0 +1,28 @@
1
+ {
2
+ "name": "@acorex-platform/module-software-management-client",
3
+ "version": "0.0.46",
4
+ "sideEffects": false,
5
+ "peerDependencies": {
6
+ "@angular/common": "^21.0.0 || ^22.0.0",
7
+ "@angular/core": "^21.0.0 || ^22.0.0"
8
+ },
9
+ "dependencies": {
10
+ "tslib": "^2.3.0"
11
+ },
12
+ "module": "fesm2022/acorex-platform-module-software-management-client.mjs",
13
+ "typings": "types/acorex-platform-module-software-management-client.d.ts",
14
+ "exports": {
15
+ "./package.json": {
16
+ "default": "./package.json"
17
+ },
18
+ ".": {
19
+ "types": "./types/acorex-platform-module-software-management-client.d.ts",
20
+ "default": "./fesm2022/acorex-platform-module-software-management-client.mjs"
21
+ },
22
+ "./contracts": {
23
+ "types": "./types/acorex-platform-module-software-management-client-contracts.d.ts",
24
+ "default": "./fesm2022/acorex-platform-module-software-management-client-contracts.mjs"
25
+ }
26
+ },
27
+ "type": "module"
28
+ }