@acorex-platform/extension-project-management-core-client 2.0.0-beta.1 → 2.0.0-beta.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-platform-extension-project-management-core-client-acorex-platform-extension-project-management-core-client-BzMZvAtj.mjs → acorex-platform-extension-project-management-core-client-acorex-platform-extension-project-management-core-client-DSYOYKUr.mjs} +30 -11
- package/fesm2022/acorex-platform-extension-project-management-core-client-acorex-platform-extension-project-management-core-client-DSYOYKUr.mjs.map +1 -0
- package/fesm2022/{acorex-platform-extension-project-management-core-client-project-integration-picker.component-DaS0H7S8.mjs → acorex-platform-extension-project-management-core-client-project-integration-picker.component-CileFzr3.mjs} +2 -2
- package/fesm2022/{acorex-platform-extension-project-management-core-client-project-integration-picker.component-DaS0H7S8.mjs.map → acorex-platform-extension-project-management-core-client-project-integration-picker.component-CileFzr3.mjs.map} +1 -1
- package/fesm2022/acorex-platform-extension-project-management-core-client.mjs +1 -1
- package/package.json +3 -3
- package/types/acorex-platform-extension-project-management-core-client.d.ts +4 -1
- package/fesm2022/acorex-platform-extension-project-management-core-client-acorex-platform-extension-project-management-core-client-BzMZvAtj.mjs.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AXE_PM_DOMAIN_ID, RootConfig as RootConfig$2, AXEPMExtensionSettings } from '@acorex-platform/extension-project-management-core-client/contracts';
|
|
1
|
+
import { AXE_PM_DOMAIN_ID, RootConfig as RootConfig$2, AXEPMExtensionSettings as AXEPMExtensionSettings$1 } from '@acorex-platform/extension-project-management-core-client/contracts';
|
|
2
2
|
import { AXPSessionService } from '@acorex-platform/framework-client/auth';
|
|
3
3
|
import { AXPIntegrationDomainRegistryService, extractRequestErrorInfo, platformErrorI18nKey, AXP_SETTING_DEFINITION_PROVIDER, AXP_INTEGRATION_DOMAIN_PROVIDER } from '@acorex-platform/framework-client/common';
|
|
4
4
|
import { AXP_INTEGRATION_CONNECTION_SCOPE, AXP_INTEGRATION_CONNECTION_STATUS, AXP_INTEGRATION_CAPABILITY, AXP_INTEGRATION_CATEGORY, AXPWidgetsList } from '@acorex-platform/framework-shared/core';
|
|
@@ -6,8 +6,9 @@ import { AXMIntegrationConnectionManager } from '@acorex-platform/module-integra
|
|
|
6
6
|
import { AXPAdministrationPermissionKeys } from '@acorex-platform/module-integration-management-client/contracts';
|
|
7
7
|
import * as i0 from '@angular/core';
|
|
8
8
|
import { inject, Injectable, Injector, NgModule } from '@angular/core';
|
|
9
|
-
import {
|
|
10
|
-
import { RootConfig
|
|
9
|
+
import { AXEPMExtensionSettings } from '@acorex-platform/extension-project-management-core-client/contracts';
|
|
10
|
+
import { RootConfig } from '@acorex-platform/module-project-management-client/contracts';
|
|
11
|
+
import { RootConfig as RootConfig$1, AXM_INTEGRATION_RESOURCE_JOB } from '@acorex-platform/module-integration-management-client/contracts';
|
|
11
12
|
import { AXToastService } from '@acorex/components/toast';
|
|
12
13
|
import { AXTranslationService } from '@acorex/core/translation';
|
|
13
14
|
import { AXPCommandService } from '@acorex-platform/framework-client/runtime';
|
|
@@ -121,6 +122,24 @@ function hideUnavailableProjectIntegrationProvider(providerId) {
|
|
|
121
122
|
return `{{ !(await ${EXPRESSION_SCOPE}.isAvailable(${JSON.stringify(providerId)})) }}`;
|
|
122
123
|
}
|
|
123
124
|
|
|
125
|
+
async function resolveImportProjectTypeId(settings, entities) {
|
|
126
|
+
const configured = await settings.get(AXEPMExtensionSettings.DefaultProjectTypeId);
|
|
127
|
+
const projectTypes = entities.withEntity(RootConfig.module.name, RootConfig.entities.projectType.name).data();
|
|
128
|
+
if (configured) {
|
|
129
|
+
const result = await projectTypes.query({
|
|
130
|
+
skip: 0,
|
|
131
|
+
take: 1,
|
|
132
|
+
filter: { field: 'id', operator: { type: 'equal' }, value: configured },
|
|
133
|
+
});
|
|
134
|
+
if (result.items?.length) {
|
|
135
|
+
return configured;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
const result = await projectTypes.query({ skip: 0, take: 1 });
|
|
139
|
+
const id = result.items?.[0]?.id;
|
|
140
|
+
return id ? String(id) : undefined;
|
|
141
|
+
}
|
|
142
|
+
|
|
124
143
|
//#region ----- Imports -----
|
|
125
144
|
//#endregion
|
|
126
145
|
/** Returns null only if the accessible job is unlinked and can proceed to import confirmation. */
|
|
@@ -129,7 +148,7 @@ async function resolveJobDocProject(entities, providerId, remoteRecordId, active
|
|
|
129
148
|
try {
|
|
130
149
|
// Re-read under the current session: the selector row and cached linked flag can be stale.
|
|
131
150
|
const job = await entities
|
|
132
|
-
.withEntity(RootConfig.module.name, RootConfig.entities.integrationRemoteRecord.name)
|
|
151
|
+
.withEntity(RootConfig$1.module.name, RootConfig$1.entities.integrationRemoteRecord.name)
|
|
133
152
|
.data()
|
|
134
153
|
.findBy('id', remoteRecordId, {
|
|
135
154
|
fields: ['providerId', 'resourceType', 'remoteId', 'isActive', 'isLinked'],
|
|
@@ -140,7 +159,7 @@ async function resolveJobDocProject(entities, providerId, remoteRecordId, active
|
|
|
140
159
|
return notFound;
|
|
141
160
|
}
|
|
142
161
|
const project = await entities
|
|
143
|
-
.withEntity(RootConfig
|
|
162
|
+
.withEntity(RootConfig.module.name, RootConfig.entities.project.name)
|
|
144
163
|
.data()
|
|
145
164
|
.findBy({
|
|
146
165
|
logic: 'and',
|
|
@@ -242,7 +261,7 @@ const AXEProjectIntegrationPickerWidget = {
|
|
|
242
261
|
properties: [AXP_TRIGGERS_PROPERTY],
|
|
243
262
|
components: {
|
|
244
263
|
edit: {
|
|
245
|
-
component: () => import('./acorex-platform-extension-project-management-core-client-project-integration-picker.component-
|
|
264
|
+
component: () => import('./acorex-platform-extension-project-management-core-client-project-integration-picker.component-CileFzr3.mjs').then(m => m.AXEProjectIntegrationPickerComponent),
|
|
246
265
|
},
|
|
247
266
|
},
|
|
248
267
|
};
|
|
@@ -281,7 +300,7 @@ class AXEPMSettingsProvider {
|
|
|
281
300
|
}
|
|
282
301
|
async provide(context) {
|
|
283
302
|
// Only register when the app edition entitles Project Management (not Platform Console).
|
|
284
|
-
if (!this.sessionService.isModuleEnabled(RootConfig
|
|
303
|
+
if (!this.sessionService.isModuleEnabled(RootConfig.module.name)) {
|
|
285
304
|
return;
|
|
286
305
|
}
|
|
287
306
|
if (context.hasGroup(PM_SETTINGS_GROUP)) {
|
|
@@ -291,7 +310,7 @@ class AXEPMSettingsProvider {
|
|
|
291
310
|
.addGroup(PM_SETTINGS_GROUP, `${I18N}.group.nav-title`, `${I18N}.group.description`, RootConfig$2.module.icon, `${I18N}.group.title`, 46)
|
|
292
311
|
.addSection('configuration', `${I18N}.section-title`, `${I18N}.section-description`)
|
|
293
312
|
.addSetting({
|
|
294
|
-
key: AXEPMExtensionSettings.DefaultProjectTypeId,
|
|
313
|
+
key: AXEPMExtensionSettings$1.DefaultProjectTypeId,
|
|
295
314
|
title: `${I18N}.default-project-type.title`,
|
|
296
315
|
scope: 'T',
|
|
297
316
|
overridableAt: [],
|
|
@@ -299,7 +318,7 @@ class AXEPMSettingsProvider {
|
|
|
299
318
|
widget: {
|
|
300
319
|
type: AXPWidgetsList.Editors.LookupBox,
|
|
301
320
|
options: {
|
|
302
|
-
entity: `${RootConfig
|
|
321
|
+
entity: `${RootConfig.module.name}.${RootConfig.entities.projectType.name}`,
|
|
303
322
|
look: 'select',
|
|
304
323
|
multiple: false,
|
|
305
324
|
textField: 'title',
|
|
@@ -347,5 +366,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
347
366
|
* Generated bundle index. Do not edit.
|
|
348
367
|
*/
|
|
349
368
|
|
|
350
|
-
export { AXEProjectIntegrationPickerService as A, PROJECT_INTEGRATION_PICKER_TITLE as P, AXEPMExtensionModule as a, AXEProjectIntegrationAvailabilityService as b, hideUnavailableProjectIntegrationProvider as h,
|
|
351
|
-
//# sourceMappingURL=acorex-platform-extension-project-management-core-client-acorex-platform-extension-project-management-core-client-
|
|
369
|
+
export { AXEProjectIntegrationPickerService as A, PROJECT_INTEGRATION_PICKER_TITLE as P, AXEPMExtensionModule as a, AXEProjectIntegrationAvailabilityService as b, resolveJobDocProject as c, hideUnavailableProjectIntegrationProvider as h, resolveImportProjectTypeId as r };
|
|
370
|
+
//# sourceMappingURL=acorex-platform-extension-project-management-core-client-acorex-platform-extension-project-management-core-client-DSYOYKUr.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-extension-project-management-core-client-acorex-platform-extension-project-management-core-client-DSYOYKUr.mjs","sources":["../../../../libs/extensions/project-management/core/client/src/lib/integration/project-integration-availability.service.ts","../../../../libs/extensions/project-management/core/client/src/lib/integration/resolve-import-project-type.ts","../../../../libs/extensions/project-management/core/client/src/lib/integration/resolve-job-doc-project.ts","../../../../libs/extensions/project-management/core/client/src/lib/integration/project-integration-picker.types.ts","../../../../libs/extensions/project-management/core/client/src/lib/integration/project-integration-picker.service.ts","../../../../libs/extensions/project-management/core/client/src/lib/integration/project-integration-picker.config.ts","../../../../libs/extensions/project-management/core/client/src/lib/integration/project-management.integration-domain.provider.ts","../../../../libs/extensions/project-management/core/client/src/lib/settings.provider.ts","../../../../libs/extensions/project-management/core/client/src/lib/project-management-extension.module.ts","../../../../libs/extensions/project-management/core/client/src/acorex-platform-extension-project-management-core-client.ts"],"sourcesContent":["//#region ----- Imports -----\n\nimport { AXE_PM_DOMAIN_ID } from '@acorex-platform/extension-project-management-core-client/contracts';\nimport { AXPSessionService } from '@acorex-platform/framework-client/auth';\nimport { AXPIntegrationDomainRegistryService } from '@acorex-platform/framework-client/common';\nimport {\n AXP_INTEGRATION_CONNECTION_SCOPE,\n AXP_INTEGRATION_CONNECTION_STATUS,\n type AXPExpressionEvaluatorScopeProvider,\n type AXPExpressionEvaluatorScopeProviderContext,\n type AXPIntegrationProviderDefinition,\n} from '@acorex-platform/framework-shared/core';\nimport { AXMIntegrationConnectionManager } from '@acorex-platform/module-integration-management-client';\nimport { AXPAdministrationPermissionKeys } from '@acorex-platform/module-integration-management-client/contracts';\nimport { inject, Injectable, Injector } from '@angular/core';\n\n//#endregion\n\n//#region ----- Constants -----\n\nconst EXPRESSION_SCOPE = 'projectIntegrationAvailability';\n\n//#endregion\n\n@Injectable({ providedIn: 'root' })\nexport class AXEProjectIntegrationAvailabilityService {\n //#region ----- Services & Dependencies -----\n\n private readonly session = inject(AXPSessionService);\n private readonly registry = inject(AXPIntegrationDomainRegistryService);\n private readonly connections = inject(AXMIntegrationConnectionManager);\n private readonly pendingReads = new Map<string, ReturnType<AXMIntegrationConnectionManager['listForCurrentUser']>>();\n\n //#endregion\n\n //#region ----- Provider Availability -----\n\n /** Returns registered, enabled project provider IDs usable by the current session. */\n async listAvailableProjectIntegrationProviders(): Promise<ReadonlySet<string>> {\n const tenantId = this.session.tenant?.id;\n const applicationId = this.session.application?.id;\n const userId = this.session.user?.id;\n const permission = AXPAdministrationPermissionKeys.ManageIntegrationActions;\n const available = new Set<string>();\n if (!tenantId || !applicationId || !userId || !this.session.authorize(permission)) {\n return available;\n }\n\n try {\n const providers = await this.registry.listProvidersByDomain(AXE_PM_DOMAIN_ID);\n const isCurrentScope = () =>\n this.session.tenant?.id === tenantId &&\n this.session.application?.id === applicationId &&\n this.session.user?.id === userId &&\n this.session.authorize(permission);\n if (!isCurrentScope() || !providers.some((provider) => this.isEnabled(provider))) {\n return available;\n }\n\n const connections = await this.readTenantConnections(JSON.stringify([tenantId, applicationId, userId]));\n if (!isCurrentScope()) {\n return available;\n }\n\n const enabledProviders = new Set(providers.filter((provider) => this.isEnabled(provider)).map(({ id }) => id));\n for (const connection of connections) {\n if (\n enabledProviders.has(connection.providerId) &&\n connection.connectionScope === AXP_INTEGRATION_CONNECTION_SCOPE.Tenant &&\n connection.scopeInfo?.tenantId === tenantId &&\n connection.scopeInfo.applicationId === applicationId &&\n connection.status === AXP_INTEGRATION_CONNECTION_STATUS.Connected &&\n !connection.isDisabled &&\n !connection.isRevoked\n ) {\n available.add(connection.providerId);\n }\n }\n } catch {\n // The action is optional; a provider or connection read failure must not expose it.\n return new Set();\n }\n return available;\n }\n\n //#endregion\n\n //#region ----- Scoped Connection Reads -----\n\n private isEnabled(provider: AXPIntegrationProviderDefinition): boolean {\n return (\n this.session.isModuleEnabled(provider.module) &&\n provider.connectionScopes.includes(AXP_INTEGRATION_CONNECTION_SCOPE.Tenant)\n );\n }\n\n private readTenantConnections(scopeKey: string) {\n const pending = this.pendingReads.get(scopeKey);\n if (pending) {\n return pending;\n }\n\n // One read for concurrently evaluated actions, without caching availability between evaluations.\n const read = this.connections.listForCurrentUser(AXP_INTEGRATION_CONNECTION_SCOPE.Tenant).finally(() => {\n this.pendingReads.delete(scopeKey);\n });\n this.pendingReads.set(scopeKey, read);\n return read;\n }\n\n //#endregion\n}\n\n@Injectable()\nexport class AXEProjectIntegrationAvailabilityScopeProvider implements AXPExpressionEvaluatorScopeProvider {\n private readonly injector = inject(Injector);\n\n async provide(context: AXPExpressionEvaluatorScopeProviderContext): Promise<void> {\n context.addScope(EXPRESSION_SCOPE, {\n isAvailable: async (providerId: string): Promise<boolean> => {\n const availability = this.injector.get(AXEProjectIntegrationAvailabilityService);\n return (await availability.listAvailableProjectIntegrationProviders()).has(providerId);\n },\n });\n }\n}\n\nexport function hideUnavailableProjectIntegrationProvider(providerId: string): string {\n return `{{ !(await ${EXPRESSION_SCOPE}.isAvailable(${JSON.stringify(providerId)})) }}`;\n}\n","import type { AXPSettingsService } from '@acorex-platform/framework-client/common';\nimport type { AXPEntityService } from '@acorex-platform/framework-client/layout/entity';\nimport { AXEPMExtensionSettings } from '@acorex-platform/extension-project-management-core-client/contracts';\nimport { RootConfig } from '@acorex-platform/module-project-management-client/contracts';\n\nexport async function resolveImportProjectTypeId(\n settings: AXPSettingsService,\n entities: AXPEntityService,\n): Promise<string | undefined> {\n const configured = await settings.get<string>(AXEPMExtensionSettings.DefaultProjectTypeId);\n const projectTypes = entities.withEntity(RootConfig.module.name, RootConfig.entities.projectType.name).data();\n if (configured) {\n const result = await projectTypes.query({\n skip: 0,\n take: 1,\n filter: { field: 'id', operator: { type: 'equal' }, value: configured },\n });\n if (result.items?.length) {\n return configured;\n }\n }\n const result = await projectTypes.query({ skip: 0, take: 1 });\n const id = result.items?.[0]?.id;\n return id ? String(id) : undefined;\n}\n","//#region ----- Imports -----\n\nimport { extractRequestErrorInfo, platformErrorI18nKey } from '@acorex-platform/framework-client/common';\nimport type { AXPEntityService } from '@acorex-platform/framework-client/layout/entity';\nimport type { AXPRuntimeCommandResult } from '@acorex-platform/framework-shared/core';\nimport {\n AXM_INTEGRATION_RESOURCE_JOB,\n RootConfig as IntegrationRootConfig,\n type AXMIntegrationManagementIntegrationRemoteRecordEntityModel,\n} from '@acorex-platform/module-integration-management-client/contracts';\nimport { RootConfig as ProjectRootConfig } from '@acorex-platform/module-project-management-client/contracts';\n\n//#endregion\n\n/** Returns null only if the accessible job is unlinked and can proceed to import confirmation. */\nexport async function resolveJobDocProject(\n entities: AXPEntityService,\n providerId: string,\n remoteRecordId: string,\n activeConnectionIds: readonly string[],\n): Promise<AXPRuntimeCommandResult<{ platformProjectId: string }> | null> {\n const notFound = { success: false, message: { text: '@general:messages.network.not-found.description' } } as const;\n try {\n // Re-read under the current session: the selector row and cached linked flag can be stale.\n const job = await entities\n .withEntity(IntegrationRootConfig.module.name, IntegrationRootConfig.entities.integrationRemoteRecord.name)\n .data<string, AXMIntegrationManagementIntegrationRemoteRecordEntityModel>()\n .findBy('id', remoteRecordId, {\n fields: ['providerId', 'resourceType', 'remoteId', 'isActive', 'isLinked'],\n forUpdate: true,\n });\n if (\n !job?.remoteId || !job.isActive || job.resourceType !== AXM_INTEGRATION_RESOURCE_JOB ||\n !activeConnectionIds.includes(job.providerId)\n ) {\n return notFound;\n }\n\n const project = await entities\n .withEntity(ProjectRootConfig.module.name, ProjectRootConfig.entities.project.name)\n .data<string>()\n .findBy({\n logic: 'and',\n filters: [\n { field: 'integrationRef.source', operator: { type: 'equal' }, value: providerId },\n { field: 'integrationRef.resourceType', operator: { type: 'equal' }, value: AXM_INTEGRATION_RESOURCE_JOB },\n { field: 'integrationRef.remoteId', operator: { type: 'equal' }, value: job.remoteId },\n { field: 'integrationRef.connectionId', operator: { type: 'equal' }, value: job.providerId },\n ],\n }, { fields: ['id'], forUpdate: true });\n if (project?.id) {\n return { success: true, kind: 'object', data: { platformProjectId: project.id } };\n }\n return job.isLinked === false ? null : notFound;\n } catch (error: unknown) {\n const info = extractRequestErrorInfo(error);\n return {\n success: false,\n message: { text: platformErrorI18nKey(info?.code) ?? '@general:widgets.lookup.column.load-failed' },\n };\n }\n}\n","export const PROJECT_INTEGRATION_PICKER = 'project-integration-picker';\nexport const PROJECT_INTEGRATION_PICKER_TITLE = '@extensions-project-management:integration.picker.title';\n\nexport interface ProjectIntegrationPickerOption {\n providerId: string;\n title: string;\n logoKey?: string;\n}\n","//#region ----- Imports -----\nimport { AXToastService } from '@acorex/components/toast';\nimport { AXTranslationService } from '@acorex/core/translation';\nimport { AXPSessionService } from '@acorex-platform/framework-client/auth';\nimport { AXPIntegrationDomainRegistryService } from '@acorex-platform/framework-client/common';\nimport { AXPCommandService } from '@acorex-platform/framework-client/runtime';\nimport type { AXPWidgetNode } from '@acorex-platform/framework-shared/core';\nimport { AXM_PROJECT_INTEGRATION_ACTIONS, AXM_PROJECT_INTEGRATION_AVAILABILITY } from '@acorex-platform/module-project-management-client';\nimport { inject, Injectable } from '@angular/core';\n\nimport { PROJECT_INTEGRATION_PICKER, type ProjectIntegrationPickerOption } from './project-integration-picker.types';\n//#endregion\n\n@Injectable({ providedIn: 'root' })\nexport class AXEProjectIntegrationPickerService {\n //#region ----- Services & Dependencies -----\n private readonly actions = inject(AXM_PROJECT_INTEGRATION_ACTIONS, { optional: true }) ?? [];\n private readonly availability = inject(AXM_PROJECT_INTEGRATION_AVAILABILITY, { optional: true });\n private readonly session = inject(AXPSessionService);\n private readonly registry = inject(AXPIntegrationDomainRegistryService);\n private readonly commands = inject(AXPCommandService);\n private readonly toasts = inject(AXToastService);\n private readonly translation = inject(AXTranslationService);\n //#endregion\n\n //#region ----- Discovery & Selection -----\n async createWidget(): Promise<AXPWidgetNode | undefined> {\n const providers = await this.listOptions();\n return providers.length ? { type: PROJECT_INTEGRATION_PICKER, options: { providers } } : undefined;\n }\n\n async listOptions(): Promise<ProjectIntegrationPickerOption[]> {\n return Promise.all((await this.listAvailableActions()).map(async ({ providerId, title }) => {\n const provider = await this.registry.getProvider(providerId).catch(() => null);\n return { providerId, title, logoKey: provider?.logoKey };\n }));\n }\n\n async selectProject(providerId: string): Promise<string | undefined> {\n try {\n const action = (await this.listAvailableActions()).find(candidate => candidate.providerId === providerId);\n if (!action) return;\n const result = await this.commands.execute<{ selectForJobDoc: boolean }, { platformProjectId: string }>(\n action.command, { selectForJobDoc: true },\n );\n if (result?.success) return result.kind === 'object' ? result.data?.platformProjectId || undefined : undefined;\n } catch {\n // Keep selection unchanged on a command failure.\n }\n const content = await this.translation.translateAsync('@extensions-project-management:integration.picker.failed');\n this.toasts.show({ color: 'danger', content });\n return undefined;\n }\n\n private async listAvailableActions() {\n const eligible = this.actions.filter(\n action => this.session.authorize(action.permission) && this.commands.exists(action.command),\n );\n if (!this.availability || !eligible.length) return [];\n try {\n const active = await this.availability.listAvailableProjectIntegrationProviders();\n return eligible.filter(({ providerId }) => active.has(providerId));\n } catch {\n return [];\n }\n }\n //#endregion\n}\n","//#region ----- Imports -----\nimport { AXP_WIDGETS_ACTION_CATEGORY } from '@acorex-platform/framework-client/layout/widget-core';\nimport { AXP_TRIGGERS_PROPERTY } from '@acorex-platform/framework-client/layout/widgets';\nimport { type AXPWidgetConfig, AXPWidgetGroupEnum } from '@acorex-platform/framework-shared/widget-core';\nimport { PROJECT_INTEGRATION_PICKER, PROJECT_INTEGRATION_PICKER_TITLE } from './project-integration-picker.types';\n//#endregion\n\nexport const AXEProjectIntegrationPickerWidget: AXPWidgetConfig = {\n name: PROJECT_INTEGRATION_PICKER,\n title: PROJECT_INTEGRATION_PICKER_TITLE,\n icon: 'fa-light fa-briefcase',\n categories: [AXP_WIDGETS_ACTION_CATEGORY],\n groups: [AXPWidgetGroupEnum.FormElement],\n type: 'action',\n options: { needLabel: false },\n properties: [AXP_TRIGGERS_PROPERTY],\n components: {\n edit: {\n component: () => import('./project-integration-picker.component').then(m => m.AXEProjectIntegrationPickerComponent),\n },\n },\n};\n","import { AXP_INTEGRATION_CATEGORY, AXP_INTEGRATION_CAPABILITY } from '@acorex-platform/framework-shared/core';\nimport {\n type AXPIntegrationDomainProvider,\n AXPIntegrationDomainProviderContext,\n} from '@acorex-platform/framework-client/common';\nimport { Injectable } from '@angular/core';\nimport {\n AXE_PM_DOMAIN_ID,\n RootConfig,\n} from '@acorex-platform/extension-project-management-core-client/contracts';\n\nconst I18N = `@${RootConfig.config.i18n}:integration.domain`;\n\n@Injectable()\nexport class AXEPMIntegrationDomainProvider implements AXPIntegrationDomainProvider {\n async provide(context: AXPIntegrationDomainProviderContext): Promise<void> {\n context.register({\n id: AXE_PM_DOMAIN_ID,\n module: RootConfig.module.name,\n displayName: `${I18N}.title`,\n description: `${I18N}.description`,\n icon: RootConfig.module.icon,\n category: AXP_INTEGRATION_CATEGORY.ProjectManagement,\n capabilities: [\n AXP_INTEGRATION_CAPABILITY.IssueTracking,\n AXP_INTEGRATION_CAPABILITY.TimeLogging,\n AXP_INTEGRATION_CAPABILITY.Sync,\n AXP_INTEGRATION_CAPABILITY.Import,\n ],\n sortOrder: 20,\n });\n }\n}\n","import { AXPSessionService } from '@acorex-platform/framework-client/auth';\nimport {\n AXPSettingDefinitionProvider,\n AXPSettingDefinitionProviderContext,\n} from '@acorex-platform/framework-client/common';\nimport { AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport { Injectable, inject } from '@angular/core';\nimport {\n AXEPMExtensionSettings,\n RootConfig,\n} from '@acorex-platform/extension-project-management-core-client/contracts';\nimport { RootConfig as PmRootConfig } from '@acorex-platform/module-project-management-client/contracts';\n\nconst PM_SETTINGS_GROUP = 'project-management';\nconst I18N = `@${RootConfig.config.i18n}:settings.project-management`;\n\n@Injectable()\nexport class AXEPMSettingsProvider implements AXPSettingDefinitionProvider {\n private readonly sessionService = inject(AXPSessionService);\n\n async provide(context: AXPSettingDefinitionProviderContext): Promise<void> {\n // Only register when the app edition entitles Project Management (not Platform Console).\n if (!this.sessionService.isModuleEnabled(PmRootConfig.module.name)) {\n return;\n }\n\n if (context.hasGroup(PM_SETTINGS_GROUP)) {\n return;\n }\n\n context\n .addGroup(\n PM_SETTINGS_GROUP,\n `${I18N}.group.nav-title`,\n `${I18N}.group.description`,\n RootConfig.module.icon,\n `${I18N}.group.title`,\n 46,\n )\n .addSection('configuration', `${I18N}.section-title`, `${I18N}.section-description`)\n .addSetting({\n key: AXEPMExtensionSettings.DefaultProjectTypeId,\n title: `${I18N}.default-project-type.title`,\n scope: 'T',\n overridableAt: [],\n isInherited: true,\n widget: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: `${PmRootConfig.module.name}.${PmRootConfig.entities.projectType.name}`,\n look: 'select',\n multiple: false,\n textField: 'title',\n valueField: 'id',\n hasClearButton: true,\n },\n },\n description: `${I18N}.default-project-type.description`,\n })\n .endSection()\n .endGroup();\n }\n}\n","import {\n AXP_INTEGRATION_DOMAIN_PROVIDER,\n AXP_SETTING_DEFINITION_PROVIDER,\n} from '@acorex-platform/framework-client/common';\nimport { AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER } from '@acorex-platform/framework-client/core';\nimport { AXP_WIDGET_DEFINITION_PROVIDER } from '@acorex-platform/framework-client/layout/widget-core';\nimport { AXM_PROJECT_INTEGRATION_AVAILABILITY } from '@acorex-platform/module-project-management-client';\nimport { NgModule } from '@angular/core';\nimport {\n AXEProjectIntegrationAvailabilityScopeProvider,\n AXEProjectIntegrationAvailabilityService,\n} from './integration/project-integration-availability.service';\nimport { AXEProjectIntegrationPickerWidget } from './integration/project-integration-picker.config';\nimport { AXEPMIntegrationDomainProvider } from './integration/project-management.integration-domain.provider';\nimport { AXEPMSettingsProvider } from './settings.provider';\n\n@NgModule({\n providers: [\n { provide: AXP_SETTING_DEFINITION_PROVIDER, useClass: AXEPMSettingsProvider, multi: true },\n { provide: AXP_INTEGRATION_DOMAIN_PROVIDER, useClass: AXEPMIntegrationDomainProvider, multi: true },\n { provide: AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER, useClass: AXEProjectIntegrationAvailabilityScopeProvider, multi: true },\n { provide: AXM_PROJECT_INTEGRATION_AVAILABILITY, useExisting: AXEProjectIntegrationAvailabilityService },\n { provide: AXP_WIDGET_DEFINITION_PROVIDER, useValue: { getWidgets: () => [AXEProjectIntegrationPickerWidget] }, multi: true },\n ],\n})\nexport class AXEPMExtensionModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["IntegrationRootConfig","ProjectRootConfig","I18N","RootConfig","PmRootConfig","AXEPMExtensionSettings"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAgBA;AAEA;AAEA,MAAM,gBAAgB,GAAG,gCAAgC;AAEzD;MAGa,wCAAwC,CAAA;AADrD,IAAA,WAAA,GAAA;;AAImB,QAAA,IAAA,CAAA,OAAO,GAAG,MAAM,CAAC,iBAAiB,CAAC;AACnC,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,mCAAmC,CAAC;AACtD,QAAA,IAAA,CAAA,WAAW,GAAG,MAAM,CAAC,+BAA+B,CAAC;AACrD,QAAA,IAAA,CAAA,YAAY,GAAG,IAAI,GAAG,EAA6E;AAgFrH,IAAA;;;;AAzEC,IAAA,MAAM,wCAAwC,GAAA;QAC5C,MAAM,QAAQ,GAAG,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,EAAE;QACxC,MAAM,aAAa,GAAG,IAAI,CAAC,OAAO,CAAC,WAAW,EAAE,EAAE;QAClD,MAAM,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,EAA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;AAC3H,YAAA,EAAE,OAAO,EAAE,oCAAoC,EAAE,WAAW,EAAE,wCAAwC,EAAE;YACxG,EAAE,OAAO,EAAE,8BAA8B,EAAE,QAAQ,EAAE,EAAE,UAAU,EAAE,MAAM,CAAC,iCAAiC,CAAC,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE;AAC9H,SAAA,EAAA,CAAA,CAAA;;2FAEU,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAThC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,SAAS,EAAE;wBACT,EAAE,OAAO,EAAE,+BAA+B,EAAE,QAAQ,EAAE,qBAAqB,EAAE,KAAK,EAAE,IAAI,EAAE;wBAC1F,EAAE,OAAO,EAAE,+BAA+B,EAAE,QAAQ,EAAE,8BAA8B,EAAE,KAAK,EAAE,IAAI,EAAE;wBACnG,EAAE,OAAO,EAAE,uCAAuC,EAAE,QAAQ,EAAE,8CAA8C,EAAE,KAAK,EAAE,IAAI,EAAE;AAC3H,wBAAA,EAAE,OAAO,EAAE,oCAAoC,EAAE,WAAW,EAAE,wCAAwC,EAAE;wBACxG,EAAE,OAAO,EAAE,8BAA8B,EAAE,QAAQ,EAAE,EAAE,UAAU,EAAE,MAAM,CAAC,iCAAiC,CAAC,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE;AAC9H,qBAAA;AACF,iBAAA;;;ACxBD;;AAEG;;"}
|
|
@@ -9,7 +9,7 @@ import { AXPLayoutBaseWidgetComponent } from '@acorex-platform/framework-client/
|
|
|
9
9
|
import { AsyncPipe } from '@angular/common';
|
|
10
10
|
import * as i0 from '@angular/core';
|
|
11
11
|
import { inject, DestroyRef, computed, signal, EventEmitter, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
12
|
-
import { A as AXEProjectIntegrationPickerService, P as PROJECT_INTEGRATION_PICKER_TITLE } from './acorex-platform-extension-project-management-core-client-acorex-platform-extension-project-management-core-client-
|
|
12
|
+
import { A as AXEProjectIntegrationPickerService, P as PROJECT_INTEGRATION_PICKER_TITLE } from './acorex-platform-extension-project-management-core-client-acorex-platform-extension-project-management-core-client-DSYOYKUr.mjs';
|
|
13
13
|
|
|
14
14
|
//#region ----- Imports -----
|
|
15
15
|
//#endregion
|
|
@@ -64,4 +64,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
64
64
|
}] });
|
|
65
65
|
|
|
66
66
|
export { AXEProjectIntegrationPickerComponent };
|
|
67
|
-
//# sourceMappingURL=acorex-platform-extension-project-management-core-client-project-integration-picker.component-
|
|
67
|
+
//# sourceMappingURL=acorex-platform-extension-project-management-core-client-project-integration-picker.component-CileFzr3.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-extension-project-management-core-client-project-integration-picker.component-
|
|
1
|
+
{"version":3,"file":"acorex-platform-extension-project-management-core-client-project-integration-picker.component-CileFzr3.mjs","sources":["../../../../libs/extensions/project-management/core/client/src/lib/integration/project-integration-picker.component.ts","../../../../libs/extensions/project-management/core/client/src/lib/integration/project-integration-picker.component.html"],"sourcesContent":["//#region ----- Imports -----\nimport { AXButtonModule } from '@acorex/components/button';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXTranslationModule } from '@acorex/core/translation';\nimport { AXPLogoComponent } from '@acorex-platform/framework-client/core';\nimport { AXPLayoutBaseWidgetComponent, type AXPWidgetCoreElementAPI } from '@acorex-platform/framework-client/layout/widget-core';\nimport { AsyncPipe } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, DestroyRef, EventEmitter, computed, inject, signal } from '@angular/core';\n\nimport { AXEProjectIntegrationPickerService } from './project-integration-picker.service';\nimport { PROJECT_INTEGRATION_PICKER_TITLE, type ProjectIntegrationPickerOption } from './project-integration-picker.types';\n//#endregion\n\n@Component({\n selector: 'axe-project-integration-picker',\n templateUrl: './project-integration-picker.component.html',\n imports: [AsyncPipe, AXButtonModule, AXDecoratorModule, AXTranslationModule, AXPLogoComponent],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class AXEProjectIntegrationPickerComponent extends AXPLayoutBaseWidgetComponent<{ providers?: ProjectIntegrationPickerOption[] }> {\n //#region ----- Services & Dependencies -----\n private readonly integration = inject(AXEProjectIntegrationPickerService);\n private readonly destroyRef = inject(DestroyRef);\n //#endregion\n\n //#region ----- State Signals -----\n protected readonly title = PROJECT_INTEGRATION_PICKER_TITLE;\n protected readonly providers = computed(() => this.options().providers ?? []);\n protected readonly busy = signal(false);\n private readonly projectId = signal<string | undefined>(undefined);\n //#endregion\n\n //#region ----- Widget Events & Outputs -----\n private readonly onProjectSelected = new EventEmitter<string>();\n\n override api(): AXPWidgetCoreElementAPI {\n return { ...super.api(), onProjectSelected: this.onProjectSelected };\n }\n\n protected override outputs() {\n return [...super.outputs(), { name: 'projectId', value: this.projectId }];\n }\n //#endregion\n\n //#region ----- Event Handlers -----\n protected async select(providerId: string): Promise<void> {\n if (this.busy()) return;\n this.busy.set(true);\n try {\n const projectId = await this.integration.selectProject(providerId);\n if (projectId && !this.destroyRef.destroyed) {\n this.projectId.set(projectId);\n this.onProjectSelected.emit(projectId);\n }\n } finally {\n this.busy.set(false);\n }\n }\n //#endregion\n}\n","<div class=\"flex flex-wrap gap-2\" role=\"group\" [attr.aria-label]=\"title | translate | async\" [attr.aria-busy]=\"busy()\">\n @for (provider of providers(); track provider.providerId) {\n <ax-button\n look=\"solid\"\n color=\"default\"\n [disabled]=\"busy()\"\n [text]=\"(provider.title | translate | async) ?? ''\"\n (onClick)=\"select(provider.providerId)\"\n >\n <ax-prefix class=\"flex items-center leading-none\">\n @if (provider.logoKey; as logoKey) {\n <axp-logo [logoKey]=\"logoKey\" appearance=\"colored\" [size]=\"20\" aria-hidden=\"true\" />\n }\n <!-- ----- Fallback for extensions that do not supply a logo ----- -->\n @else {\n <i class=\"fa-light fa-briefcase\" aria-hidden=\"true\"></i>\n }\n </ax-prefix>\n </ax-button>\n }\n</div>\n"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AA,EAAA,EAAA,IAAA,EAAA,MAAA,EAAA,IAAA,EAAnF,SAAS,EAAA,IAAA,EAAA,OAAA,EAAA,EAAA,EAAA,IAAA,EAAA,MAAA,EAAA,IAAA,EAAA,EAAA,CAAA,gBAAA,EAAA,IAAA,EAAA,WAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FAGR,oCAAoC,EAAA,UAAA,EAAA,CAAA;kBANhD,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,gCAAgC,EAAA,OAAA,EAEjC,CAAC,SAAS,EAAE,cAAc,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,gBAAgB,CAAC,EAAA,eAAA,EAC7E,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,u1BAAA,EAAA;;;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { a as AXEPMExtensionModule, b as AXEProjectIntegrationAvailabilityService, A as AXEProjectIntegrationPickerService, h as hideUnavailableProjectIntegrationProvider, r as resolveJobDocProject } from './acorex-platform-extension-project-management-core-client-acorex-platform-extension-project-management-core-client-
|
|
1
|
+
export { a as AXEPMExtensionModule, b as AXEProjectIntegrationAvailabilityService, A as AXEProjectIntegrationPickerService, h as hideUnavailableProjectIntegrationProvider, r as resolveImportProjectTypeId, c as resolveJobDocProject } from './acorex-platform-extension-project-management-core-client-acorex-platform-extension-project-management-core-client-DSYOYKUr.mjs';
|
|
2
2
|
//# sourceMappingURL=acorex-platform-extension-project-management-core-client.mjs.map
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@acorex-platform/extension-project-management-core-client",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.3",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"peerDependencies": {
|
|
6
|
-
"@acorex-platform/module-integration-management-client": "2.0.0-beta.
|
|
6
|
+
"@acorex-platform/module-integration-management-client": "2.0.0-beta.3",
|
|
7
7
|
"@angular/common": "^21.0.0 || ^22.0.0",
|
|
8
8
|
"@angular/core": "^21.0.0 || ^22.0.0"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@acorex-platform/extension-project-management-core-domain": "2.0.0-beta.
|
|
11
|
+
"@acorex-platform/extension-project-management-core-domain": "2.0.0-beta.3",
|
|
12
12
|
"tslib": "^2.3.0"
|
|
13
13
|
},
|
|
14
14
|
"module": "fesm2022/acorex-platform-extension-project-management-core-client.mjs",
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
+
import { AXPSettingsService } from '@acorex-platform/framework-client/common';
|
|
2
3
|
import { AXPEntityService } from '@acorex-platform/framework-client/layout/entity';
|
|
3
4
|
import { AXPRuntimeCommandResult, AXPWidgetNode } from '@acorex-platform/framework-shared/core';
|
|
4
5
|
|
|
@@ -16,6 +17,8 @@ declare class AXEProjectIntegrationAvailabilityService {
|
|
|
16
17
|
}
|
|
17
18
|
declare function hideUnavailableProjectIntegrationProvider(providerId: string): string;
|
|
18
19
|
|
|
20
|
+
declare function resolveImportProjectTypeId(settings: AXPSettingsService, entities: AXPEntityService): Promise<string | undefined>;
|
|
21
|
+
|
|
19
22
|
/** Returns null only if the accessible job is unlinked and can proceed to import confirmation. */
|
|
20
23
|
declare function resolveJobDocProject(entities: AXPEntityService, providerId: string, remoteRecordId: string, activeConnectionIds: readonly string[]): Promise<AXPRuntimeCommandResult<{
|
|
21
24
|
platformProjectId: string;
|
|
@@ -49,4 +52,4 @@ declare class AXEPMExtensionModule {
|
|
|
49
52
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXEPMExtensionModule>;
|
|
50
53
|
}
|
|
51
54
|
|
|
52
|
-
export { AXEPMExtensionModule, AXEProjectIntegrationAvailabilityService, AXEProjectIntegrationPickerService, hideUnavailableProjectIntegrationProvider, resolveJobDocProject };
|
|
55
|
+
export { AXEPMExtensionModule, AXEProjectIntegrationAvailabilityService, AXEProjectIntegrationPickerService, hideUnavailableProjectIntegrationProvider, resolveImportProjectTypeId, resolveJobDocProject };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-extension-project-management-core-client-acorex-platform-extension-project-management-core-client-BzMZvAtj.mjs","sources":["../../../../libs/extensions/project-management/core/client/src/lib/integration/project-integration-availability.service.ts","../../../../libs/extensions/project-management/core/client/src/lib/integration/resolve-job-doc-project.ts","../../../../libs/extensions/project-management/core/client/src/lib/integration/project-integration-picker.types.ts","../../../../libs/extensions/project-management/core/client/src/lib/integration/project-integration-picker.service.ts","../../../../libs/extensions/project-management/core/client/src/lib/integration/project-integration-picker.config.ts","../../../../libs/extensions/project-management/core/client/src/lib/integration/project-management.integration-domain.provider.ts","../../../../libs/extensions/project-management/core/client/src/lib/settings.provider.ts","../../../../libs/extensions/project-management/core/client/src/lib/project-management-extension.module.ts","../../../../libs/extensions/project-management/core/client/src/acorex-platform-extension-project-management-core-client.ts"],"sourcesContent":["//#region ----- Imports -----\n\nimport { AXE_PM_DOMAIN_ID } from '@acorex-platform/extension-project-management-core-client/contracts';\nimport { AXPSessionService } from '@acorex-platform/framework-client/auth';\nimport { AXPIntegrationDomainRegistryService } from '@acorex-platform/framework-client/common';\nimport {\n AXP_INTEGRATION_CONNECTION_SCOPE,\n AXP_INTEGRATION_CONNECTION_STATUS,\n type AXPExpressionEvaluatorScopeProvider,\n type AXPExpressionEvaluatorScopeProviderContext,\n type AXPIntegrationProviderDefinition,\n} from '@acorex-platform/framework-shared/core';\nimport { AXMIntegrationConnectionManager } from '@acorex-platform/module-integration-management-client';\nimport { AXPAdministrationPermissionKeys } from '@acorex-platform/module-integration-management-client/contracts';\nimport { inject, Injectable, Injector } from '@angular/core';\n\n//#endregion\n\n//#region ----- Constants -----\n\nconst EXPRESSION_SCOPE = 'projectIntegrationAvailability';\n\n//#endregion\n\n@Injectable({ providedIn: 'root' })\nexport class AXEProjectIntegrationAvailabilityService {\n //#region ----- Services & Dependencies -----\n\n private readonly session = inject(AXPSessionService);\n private readonly registry = inject(AXPIntegrationDomainRegistryService);\n private readonly connections = inject(AXMIntegrationConnectionManager);\n private readonly pendingReads = new Map<string, ReturnType<AXMIntegrationConnectionManager['listForCurrentUser']>>();\n\n //#endregion\n\n //#region ----- Provider Availability -----\n\n /** Returns registered, enabled project provider IDs usable by the current session. */\n async listAvailableProjectIntegrationProviders(): Promise<ReadonlySet<string>> {\n const tenantId = this.session.tenant?.id;\n const applicationId = this.session.application?.id;\n const userId = this.session.user?.id;\n const permission = AXPAdministrationPermissionKeys.ManageIntegrationActions;\n const available = new Set<string>();\n if (!tenantId || !applicationId || !userId || !this.session.authorize(permission)) {\n return available;\n }\n\n try {\n const providers = await this.registry.listProvidersByDomain(AXE_PM_DOMAIN_ID);\n const isCurrentScope = () =>\n this.session.tenant?.id === tenantId &&\n this.session.application?.id === applicationId &&\n this.session.user?.id === userId &&\n this.session.authorize(permission);\n if (!isCurrentScope() || !providers.some((provider) => this.isEnabled(provider))) {\n return available;\n }\n\n const connections = await this.readTenantConnections(JSON.stringify([tenantId, applicationId, userId]));\n if (!isCurrentScope()) {\n return available;\n }\n\n const enabledProviders = new Set(providers.filter((provider) => this.isEnabled(provider)).map(({ id }) => id));\n for (const connection of connections) {\n if (\n enabledProviders.has(connection.providerId) &&\n connection.connectionScope === AXP_INTEGRATION_CONNECTION_SCOPE.Tenant &&\n connection.scopeInfo?.tenantId === tenantId &&\n connection.scopeInfo.applicationId === applicationId &&\n connection.status === AXP_INTEGRATION_CONNECTION_STATUS.Connected &&\n !connection.isDisabled &&\n !connection.isRevoked\n ) {\n available.add(connection.providerId);\n }\n }\n } catch {\n // The action is optional; a provider or connection read failure must not expose it.\n return new Set();\n }\n return available;\n }\n\n //#endregion\n\n //#region ----- Scoped Connection Reads -----\n\n private isEnabled(provider: AXPIntegrationProviderDefinition): boolean {\n return (\n this.session.isModuleEnabled(provider.module) &&\n provider.connectionScopes.includes(AXP_INTEGRATION_CONNECTION_SCOPE.Tenant)\n );\n }\n\n private readTenantConnections(scopeKey: string) {\n const pending = this.pendingReads.get(scopeKey);\n if (pending) {\n return pending;\n }\n\n // One read for concurrently evaluated actions, without caching availability between evaluations.\n const read = this.connections.listForCurrentUser(AXP_INTEGRATION_CONNECTION_SCOPE.Tenant).finally(() => {\n this.pendingReads.delete(scopeKey);\n });\n this.pendingReads.set(scopeKey, read);\n return read;\n }\n\n //#endregion\n}\n\n@Injectable()\nexport class AXEProjectIntegrationAvailabilityScopeProvider implements AXPExpressionEvaluatorScopeProvider {\n private readonly injector = inject(Injector);\n\n async provide(context: AXPExpressionEvaluatorScopeProviderContext): Promise<void> {\n context.addScope(EXPRESSION_SCOPE, {\n isAvailable: async (providerId: string): Promise<boolean> => {\n const availability = this.injector.get(AXEProjectIntegrationAvailabilityService);\n return (await availability.listAvailableProjectIntegrationProviders()).has(providerId);\n },\n });\n }\n}\n\nexport function hideUnavailableProjectIntegrationProvider(providerId: string): string {\n return `{{ !(await ${EXPRESSION_SCOPE}.isAvailable(${JSON.stringify(providerId)})) }}`;\n}\n","//#region ----- Imports -----\n\nimport { extractRequestErrorInfo, platformErrorI18nKey } from '@acorex-platform/framework-client/common';\nimport type { AXPEntityService } from '@acorex-platform/framework-client/layout/entity';\nimport type { AXPRuntimeCommandResult } from '@acorex-platform/framework-shared/core';\nimport {\n AXM_INTEGRATION_RESOURCE_JOB,\n RootConfig as IntegrationRootConfig,\n type AXMIntegrationManagementIntegrationRemoteRecordEntityModel,\n} from '@acorex-platform/module-integration-management-client/contracts';\nimport { RootConfig as ProjectRootConfig } from '@acorex-platform/module-project-management-client/contracts';\n\n//#endregion\n\n/** Returns null only if the accessible job is unlinked and can proceed to import confirmation. */\nexport async function resolveJobDocProject(\n entities: AXPEntityService,\n providerId: string,\n remoteRecordId: string,\n activeConnectionIds: readonly string[],\n): Promise<AXPRuntimeCommandResult<{ platformProjectId: string }> | null> {\n const notFound = { success: false, message: { text: '@general:messages.network.not-found.description' } } as const;\n try {\n // Re-read under the current session: the selector row and cached linked flag can be stale.\n const job = await entities\n .withEntity(IntegrationRootConfig.module.name, IntegrationRootConfig.entities.integrationRemoteRecord.name)\n .data<string, AXMIntegrationManagementIntegrationRemoteRecordEntityModel>()\n .findBy('id', remoteRecordId, {\n fields: ['providerId', 'resourceType', 'remoteId', 'isActive', 'isLinked'],\n forUpdate: true,\n });\n if (\n !job?.remoteId || !job.isActive || job.resourceType !== AXM_INTEGRATION_RESOURCE_JOB ||\n !activeConnectionIds.includes(job.providerId)\n ) {\n return notFound;\n }\n\n const project = await entities\n .withEntity(ProjectRootConfig.module.name, ProjectRootConfig.entities.project.name)\n .data<string>()\n .findBy({\n logic: 'and',\n filters: [\n { field: 'integrationRef.source', operator: { type: 'equal' }, value: providerId },\n { field: 'integrationRef.resourceType', operator: { type: 'equal' }, value: AXM_INTEGRATION_RESOURCE_JOB },\n { field: 'integrationRef.remoteId', operator: { type: 'equal' }, value: job.remoteId },\n { field: 'integrationRef.connectionId', operator: { type: 'equal' }, value: job.providerId },\n ],\n }, { fields: ['id'], forUpdate: true });\n if (project?.id) {\n return { success: true, kind: 'object', data: { platformProjectId: project.id } };\n }\n return job.isLinked === false ? null : notFound;\n } catch (error: unknown) {\n const info = extractRequestErrorInfo(error);\n return {\n success: false,\n message: { text: platformErrorI18nKey(info?.code) ?? '@general:widgets.lookup.column.load-failed' },\n };\n }\n}\n","export const PROJECT_INTEGRATION_PICKER = 'project-integration-picker';\nexport const PROJECT_INTEGRATION_PICKER_TITLE = '@extensions-project-management:integration.picker.title';\n\nexport interface ProjectIntegrationPickerOption {\n providerId: string;\n title: string;\n logoKey?: string;\n}\n","//#region ----- Imports -----\nimport { AXToastService } from '@acorex/components/toast';\nimport { AXTranslationService } from '@acorex/core/translation';\nimport { AXPSessionService } from '@acorex-platform/framework-client/auth';\nimport { AXPIntegrationDomainRegistryService } from '@acorex-platform/framework-client/common';\nimport { AXPCommandService } from '@acorex-platform/framework-client/runtime';\nimport type { AXPWidgetNode } from '@acorex-platform/framework-shared/core';\nimport { AXM_PROJECT_INTEGRATION_ACTIONS, AXM_PROJECT_INTEGRATION_AVAILABILITY } from '@acorex-platform/module-project-management-client';\nimport { inject, Injectable } from '@angular/core';\n\nimport { PROJECT_INTEGRATION_PICKER, type ProjectIntegrationPickerOption } from './project-integration-picker.types';\n//#endregion\n\n@Injectable({ providedIn: 'root' })\nexport class AXEProjectIntegrationPickerService {\n //#region ----- Services & Dependencies -----\n private readonly actions = inject(AXM_PROJECT_INTEGRATION_ACTIONS, { optional: true }) ?? [];\n private readonly availability = inject(AXM_PROJECT_INTEGRATION_AVAILABILITY, { optional: true });\n private readonly session = inject(AXPSessionService);\n private readonly registry = inject(AXPIntegrationDomainRegistryService);\n private readonly commands = inject(AXPCommandService);\n private readonly toasts = inject(AXToastService);\n private readonly translation = inject(AXTranslationService);\n //#endregion\n\n //#region ----- Discovery & Selection -----\n async createWidget(): Promise<AXPWidgetNode | undefined> {\n const providers = await this.listOptions();\n return providers.length ? { type: PROJECT_INTEGRATION_PICKER, options: { providers } } : undefined;\n }\n\n async listOptions(): Promise<ProjectIntegrationPickerOption[]> {\n return Promise.all((await this.listAvailableActions()).map(async ({ providerId, title }) => {\n const provider = await this.registry.getProvider(providerId).catch(() => null);\n return { providerId, title, logoKey: provider?.logoKey };\n }));\n }\n\n async selectProject(providerId: string): Promise<string | undefined> {\n try {\n const action = (await this.listAvailableActions()).find(candidate => candidate.providerId === providerId);\n if (!action) return;\n const result = await this.commands.execute<{ selectForJobDoc: boolean }, { platformProjectId: string }>(\n action.command, { selectForJobDoc: true },\n );\n if (result?.success) return result.kind === 'object' ? result.data?.platformProjectId || undefined : undefined;\n } catch {\n // Keep selection unchanged on a command failure.\n }\n const content = await this.translation.translateAsync('@extensions-project-management:integration.picker.failed');\n this.toasts.show({ color: 'danger', content });\n return undefined;\n }\n\n private async listAvailableActions() {\n const eligible = this.actions.filter(\n action => this.session.authorize(action.permission) && this.commands.exists(action.command),\n );\n if (!this.availability || !eligible.length) return [];\n try {\n const active = await this.availability.listAvailableProjectIntegrationProviders();\n return eligible.filter(({ providerId }) => active.has(providerId));\n } catch {\n return [];\n }\n }\n //#endregion\n}\n","//#region ----- Imports -----\nimport { AXP_WIDGETS_ACTION_CATEGORY } from '@acorex-platform/framework-client/layout/widget-core';\nimport { AXP_TRIGGERS_PROPERTY } from '@acorex-platform/framework-client/layout/widgets';\nimport { type AXPWidgetConfig, AXPWidgetGroupEnum } from '@acorex-platform/framework-shared/widget-core';\nimport { PROJECT_INTEGRATION_PICKER, PROJECT_INTEGRATION_PICKER_TITLE } from './project-integration-picker.types';\n//#endregion\n\nexport const AXEProjectIntegrationPickerWidget: AXPWidgetConfig = {\n name: PROJECT_INTEGRATION_PICKER,\n title: PROJECT_INTEGRATION_PICKER_TITLE,\n icon: 'fa-light fa-briefcase',\n categories: [AXP_WIDGETS_ACTION_CATEGORY],\n groups: [AXPWidgetGroupEnum.FormElement],\n type: 'action',\n options: { needLabel: false },\n properties: [AXP_TRIGGERS_PROPERTY],\n components: {\n edit: {\n component: () => import('./project-integration-picker.component').then(m => m.AXEProjectIntegrationPickerComponent),\n },\n },\n};\n","import { AXP_INTEGRATION_CATEGORY, AXP_INTEGRATION_CAPABILITY } from '@acorex-platform/framework-shared/core';\nimport {\n type AXPIntegrationDomainProvider,\n AXPIntegrationDomainProviderContext,\n} from '@acorex-platform/framework-client/common';\nimport { Injectable } from '@angular/core';\nimport {\n AXE_PM_DOMAIN_ID,\n RootConfig,\n} from '@acorex-platform/extension-project-management-core-client/contracts';\n\nconst I18N = `@${RootConfig.config.i18n}:integration.domain`;\n\n@Injectable()\nexport class AXEPMIntegrationDomainProvider implements AXPIntegrationDomainProvider {\n async provide(context: AXPIntegrationDomainProviderContext): Promise<void> {\n context.register({\n id: AXE_PM_DOMAIN_ID,\n module: RootConfig.module.name,\n displayName: `${I18N}.title`,\n description: `${I18N}.description`,\n icon: RootConfig.module.icon,\n category: AXP_INTEGRATION_CATEGORY.ProjectManagement,\n capabilities: [\n AXP_INTEGRATION_CAPABILITY.IssueTracking,\n AXP_INTEGRATION_CAPABILITY.TimeLogging,\n AXP_INTEGRATION_CAPABILITY.Sync,\n AXP_INTEGRATION_CAPABILITY.Import,\n ],\n sortOrder: 20,\n });\n }\n}\n","import { AXPSessionService } from '@acorex-platform/framework-client/auth';\nimport {\n AXPSettingDefinitionProvider,\n AXPSettingDefinitionProviderContext,\n} from '@acorex-platform/framework-client/common';\nimport { AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport { Injectable, inject } from '@angular/core';\nimport {\n AXEPMExtensionSettings,\n RootConfig,\n} from '@acorex-platform/extension-project-management-core-client/contracts';\nimport { RootConfig as PmRootConfig } from '@acorex-platform/module-project-management-client/contracts';\n\nconst PM_SETTINGS_GROUP = 'project-management';\nconst I18N = `@${RootConfig.config.i18n}:settings.project-management`;\n\n@Injectable()\nexport class AXEPMSettingsProvider implements AXPSettingDefinitionProvider {\n private readonly sessionService = inject(AXPSessionService);\n\n async provide(context: AXPSettingDefinitionProviderContext): Promise<void> {\n // Only register when the app edition entitles Project Management (not Platform Console).\n if (!this.sessionService.isModuleEnabled(PmRootConfig.module.name)) {\n return;\n }\n\n if (context.hasGroup(PM_SETTINGS_GROUP)) {\n return;\n }\n\n context\n .addGroup(\n PM_SETTINGS_GROUP,\n `${I18N}.group.nav-title`,\n `${I18N}.group.description`,\n RootConfig.module.icon,\n `${I18N}.group.title`,\n 46,\n )\n .addSection('configuration', `${I18N}.section-title`, `${I18N}.section-description`)\n .addSetting({\n key: AXEPMExtensionSettings.DefaultProjectTypeId,\n title: `${I18N}.default-project-type.title`,\n scope: 'T',\n overridableAt: [],\n isInherited: true,\n widget: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: `${PmRootConfig.module.name}.${PmRootConfig.entities.projectType.name}`,\n look: 'select',\n multiple: false,\n textField: 'title',\n valueField: 'id',\n hasClearButton: true,\n },\n },\n description: `${I18N}.default-project-type.description`,\n })\n .endSection()\n .endGroup();\n }\n}\n","import {\n AXP_INTEGRATION_DOMAIN_PROVIDER,\n AXP_SETTING_DEFINITION_PROVIDER,\n} from '@acorex-platform/framework-client/common';\nimport { AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER } from '@acorex-platform/framework-client/core';\nimport { AXP_WIDGET_DEFINITION_PROVIDER } from '@acorex-platform/framework-client/layout/widget-core';\nimport { AXM_PROJECT_INTEGRATION_AVAILABILITY } from '@acorex-platform/module-project-management-client';\nimport { NgModule } from '@angular/core';\nimport {\n AXEProjectIntegrationAvailabilityScopeProvider,\n AXEProjectIntegrationAvailabilityService,\n} from './integration/project-integration-availability.service';\nimport { AXEProjectIntegrationPickerWidget } from './integration/project-integration-picker.config';\nimport { AXEPMIntegrationDomainProvider } from './integration/project-management.integration-domain.provider';\nimport { AXEPMSettingsProvider } from './settings.provider';\n\n@NgModule({\n providers: [\n { provide: AXP_SETTING_DEFINITION_PROVIDER, useClass: AXEPMSettingsProvider, multi: true },\n { provide: AXP_INTEGRATION_DOMAIN_PROVIDER, useClass: AXEPMIntegrationDomainProvider, multi: true },\n { provide: AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER, useClass: AXEProjectIntegrationAvailabilityScopeProvider, multi: true },\n { provide: AXM_PROJECT_INTEGRATION_AVAILABILITY, useExisting: AXEProjectIntegrationAvailabilityService },\n { provide: AXP_WIDGET_DEFINITION_PROVIDER, useValue: { getWidgets: () => [AXEProjectIntegrationPickerWidget] }, multi: true },\n ],\n})\nexport class AXEPMExtensionModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["IntegrationRootConfig","ProjectRootConfig","I18N","RootConfig","PmRootConfig"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA;AAgBA;AAEA;AAEA,MAAM,gBAAgB,GAAG,gCAAgC;AAEzD;MAGa,wCAAwC,CAAA;AADrD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