@acorex-platform/module-integration-management-client 0.0.37 → 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.
- package/fesm2022/acorex-platform-module-integration-management-client-contracts-entities-integration-application.mjs +22 -0
- package/fesm2022/acorex-platform-module-integration-management-client-contracts-entities-integration-application.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-integration-management-client-contracts-entities-integration-connection.mjs +22 -0
- package/fesm2022/acorex-platform-module-integration-management-client-contracts-entities-integration-connection.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-integration-management-client-contracts-entities-integration-oauth-state.mjs +22 -0
- package/fesm2022/acorex-platform-module-integration-management-client-contracts-entities-integration-oauth-state.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-integration-management-client-contracts-entities-integration-remote-record.mjs +269 -0
- package/fesm2022/acorex-platform-module-integration-management-client-contracts-entities-integration-remote-record.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-integration-management-client-contracts-entity-catalog-acorex-platform-module-integration-management-client-contracts-entity-catalog-BT3-xrGZ.mjs → acorex-platform-module-integration-management-client-contracts-entity-catalog-acorex-platform-module-integration-management-client-contracts-entity-catalog-k3HR1biJ.mjs} +12 -4
- package/fesm2022/acorex-platform-module-integration-management-client-contracts-entity-catalog-acorex-platform-module-integration-management-client-contracts-entity-catalog-k3HR1biJ.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-integration-management-client-contracts-entity-catalog-integration-application.entity-BGZKCUt8.mjs → acorex-platform-module-integration-management-client-contracts-entity-catalog-integration-application.entity-DhOHTht5.mjs} +17 -2
- package/fesm2022/acorex-platform-module-integration-management-client-contracts-entity-catalog-integration-application.entity-DhOHTht5.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-integration-management-client-contracts-entity-catalog-integration-connection.entity-CYQq6jv2.mjs → acorex-platform-module-integration-management-client-contracts-entity-catalog-integration-connection.entity-BAM1TCdS.mjs} +17 -2
- package/fesm2022/acorex-platform-module-integration-management-client-contracts-entity-catalog-integration-connection.entity-BAM1TCdS.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-integration-management-client-contracts-entity-catalog-integration-oauth-state.entity-BPvTE55S.mjs → acorex-platform-module-integration-management-client-contracts-entity-catalog-integration-oauth-state.entity-CHsVwNda.mjs} +17 -2
- package/fesm2022/acorex-platform-module-integration-management-client-contracts-entity-catalog-integration-oauth-state.entity-CHsVwNda.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-integration-management-client-contracts-entity-catalog-integration-remote-record.entity-D9oTVEHF.mjs +214 -0
- package/fesm2022/acorex-platform-module-integration-management-client-contracts-entity-catalog-integration-remote-record.entity-D9oTVEHF.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-integration-management-client-contracts-entity-catalog.mjs +1 -1
- package/fesm2022/acorex-platform-module-integration-management-client-contracts.mjs +28 -1
- package/fesm2022/acorex-platform-module-integration-management-client-contracts.mjs.map +1 -1
- package/fesm2022/{acorex-platform-module-integration-management-client-integration-ref-page.component-D9hdpnQq.mjs → acorex-platform-module-integration-management-client-integration-ref-page.component-C131H4e1.mjs} +6 -3
- package/fesm2022/acorex-platform-module-integration-management-client-integration-ref-page.component-C131H4e1.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-integration-management-client-integration-ref-widget-column.component-CPLhmHOe.mjs → acorex-platform-module-integration-management-client-integration-ref-widget-column.component-ClPcvcUW.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-integration-management-client-integration-ref-widget-column.component-CPLhmHOe.mjs.map → acorex-platform-module-integration-management-client-integration-ref-widget-column.component-ClPcvcUW.mjs.map} +1 -1
- package/fesm2022/acorex-platform-module-integration-management-client-local-entities.mjs +1 -0
- package/fesm2022/acorex-platform-module-integration-management-client-local-entities.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-integration-management-client.mjs +203 -107
- package/fesm2022/acorex-platform-module-integration-management-client.mjs.map +1 -1
- package/package.json +5 -1
- package/types/acorex-platform-module-integration-management-client-contracts-entities-integration-remote-record.d.ts +5 -0
- package/types/acorex-platform-module-integration-management-client-contracts.d.ts +62 -3
- package/types/acorex-platform-module-integration-management-client.d.ts +9 -5
- package/fesm2022/acorex-platform-module-integration-management-client-contracts-entity-catalog-acorex-platform-module-integration-management-client-contracts-entity-catalog-BT3-xrGZ.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-integration-management-client-contracts-entity-catalog-integration-application.entity-BGZKCUt8.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-integration-management-client-contracts-entity-catalog-integration-connection.entity-CYQq6jv2.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-integration-management-client-contracts-entity-catalog-integration-oauth-state.entity-BPvTE55S.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-integration-management-client-integration-ref-page.component-D9hdpnQq.mjs.map +0 -1
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { AXP_INTEGRATION_CONNECTION_STATUS, AXP_INTEGRATION_CONNECTION_SCOPE, AXP_INTEGRATION_CATEGORY, AXPIntegrationNotConnectedError, AXPIntegrationExpiredError, AXPIntegrationMissingScopeError } from '@acorex-platform/framework-shared/core';
|
|
2
2
|
import { AXPSessionService, AXP_PERMISSION_DEFINITION_PROVIDER } from '@acorex-platform/framework-client/auth';
|
|
3
|
-
import { AXPEntityService, AXP_ENTITY_MODIFIER } from '@acorex-platform/framework-client/layout/entity';
|
|
3
|
+
import { AXPEntityService, configureEntityListColumnsSettingsMigrateDrop, configureEntityListColumnsSettingsVersion, AXP_ENTITY_ACTION_PLUGIN, AXP_ENTITY_MODIFIER } from '@acorex-platform/framework-client/layout/entity';
|
|
4
4
|
import * as i0 from '@angular/core';
|
|
5
5
|
import { inject, Injectable, NgModule } from '@angular/core';
|
|
6
6
|
import { isEmpty, trim, defaultTo } from 'lodash';
|
|
7
7
|
import { RootConfig, AXPAdministrationPermissionKeys, AXMIntegrationManagementMenuKeys, AXMIntegrationManagementCommandKeys, AXMIntegrationManagementQueryKeys } from '@acorex-platform/module-integration-management-client/contracts';
|
|
8
|
+
export { IntegrationManagementManifest } from '@acorex-platform/module-integration-management-client/contracts';
|
|
8
9
|
import { AXPIntegrationRuntimeService, AXPIntegrationProviderRegistryService, AXP_INTEGRATION_SECRET_STORE, AXP_INTEGRATION_RUNTIME_PROVIDER, AXP_PROTECTED_ROUTE_GUARDS, AXP_MENU_PROVIDER, AXP_SETTING_DEFINITION_PROVIDER, AXP_INTEGRATION_DOMAIN_PROVIDER } from '@acorex-platform/framework-client/common';
|
|
9
|
-
import {
|
|
10
|
+
import { AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER } from '@acorex-platform/framework-client/core';
|
|
10
11
|
import { AXP_PAGE_COMPONENT_PROVIDER } from '@acorex-platform/framework-client/layout/components';
|
|
11
12
|
import { AXP_WIDGET_DEFINITION_PROVIDER } from '@acorex-platform/framework-client/layout/widget-core';
|
|
12
13
|
import { AXPRuntimeModule, provideCommandSetups, provideQuerySetups } from '@acorex-platform/framework-client/runtime';
|
|
@@ -308,17 +309,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
308
309
|
args: [{ providedIn: 'root' }]
|
|
309
310
|
}] });
|
|
310
311
|
|
|
311
|
-
const IntegrationManagementManifest = {
|
|
312
|
-
name: RootConfig.module.name,
|
|
313
|
-
version: '1.0.0',
|
|
314
|
-
title: RootConfig.module.title,
|
|
315
|
-
icon: RootConfig.module.icon,
|
|
316
|
-
i18n: RootConfig.config.i18n,
|
|
317
|
-
type: 'platform',
|
|
318
|
-
domain: 'platform',
|
|
319
|
-
required: false,
|
|
320
|
-
};
|
|
321
|
-
|
|
322
312
|
//#region ----- Imports -----
|
|
323
313
|
//#endregion
|
|
324
314
|
//#region ----- Menu Provider -----
|
|
@@ -642,7 +632,7 @@ const AXMIntegrationRefWidget = {
|
|
|
642
632
|
properties: [],
|
|
643
633
|
components: {
|
|
644
634
|
column: {
|
|
645
|
-
component: () => import('./acorex-platform-module-integration-management-client-integration-ref-widget-column.component-
|
|
635
|
+
component: () => import('./acorex-platform-module-integration-management-client-integration-ref-widget-column.component-ClPcvcUW.mjs').then((c) => c.AXMIntegrationRefWidgetColumnComponent),
|
|
646
636
|
},
|
|
647
637
|
view: {
|
|
648
638
|
component: () => import('./acorex-platform-module-integration-management-client-integration-ref-widget-view.component-BRpGpWHZ.mjs').then((c) => c.AXMIntegrationRefWidgetViewComponent),
|
|
@@ -654,100 +644,137 @@ const AXMIntegrationRefWidget = {
|
|
|
654
644
|
//#region ----- Imports -----
|
|
655
645
|
//#endregion
|
|
656
646
|
//#region ----- Constants -----
|
|
657
|
-
const
|
|
658
|
-
const
|
|
659
|
-
|
|
660
|
-
const
|
|
647
|
+
const AXM_INTEGRATION_REF_PLUGIN_NAME = 'integration-ref';
|
|
648
|
+
const DEFAULT_FIELD = 'integrationRef';
|
|
649
|
+
const DEFAULT_COLUMN_TITLE = '@integration-management:widgets.integration-ref.column-title';
|
|
650
|
+
const DEFAULT_PAGE_TITLE = '@integration-management:widgets.integration-ref.page.title';
|
|
651
|
+
const DEFAULT_PAGE_ORDER = 20;
|
|
652
|
+
const DEFAULT_COLUMN_WIDTH = '140px';
|
|
653
|
+
//#endregion
|
|
654
|
+
//#region ----- Helpers -----
|
|
655
|
+
/** List columns that represent entity status (`status`, `statusId`, `projectStatusId`, …). */
|
|
656
|
+
function isStatusColumnName(name) {
|
|
657
|
+
const normalized = name.trim().toLowerCase();
|
|
658
|
+
return (normalized === 'status' ||
|
|
659
|
+
normalized === 'statusid' ||
|
|
660
|
+
normalized.endsWith('statusid') ||
|
|
661
|
+
(normalized.endsWith('status') && !normalized.includes('http')));
|
|
662
|
+
}
|
|
661
663
|
//#endregion
|
|
662
|
-
//#region -----
|
|
664
|
+
//#region ----- Apply -----
|
|
663
665
|
/**
|
|
664
|
-
*
|
|
665
|
-
* - wire the `integration-ref` list widget / column
|
|
666
|
-
* - add a readonly Integration Info detail/edit tab (same tab strip as Overview/Profile)
|
|
666
|
+
* Ensures Source list column + Integration Info tab for an entity that carries `integrationRef`.
|
|
667
667
|
*/
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
668
|
+
function applyIntegrationRefEnhancements(ctx, options = {}) {
|
|
669
|
+
const field = String(options.field ?? DEFAULT_FIELD).trim() || DEFAULT_FIELD;
|
|
670
|
+
const columnTitle = options.title ?? DEFAULT_COLUMN_TITLE;
|
|
671
|
+
const pageTitle = options.pageTitle ?? DEFAULT_PAGE_TITLE;
|
|
672
|
+
const pageIcon = options.pageIcon ?? 'fa-light fa-plug';
|
|
673
|
+
const pageOrder = options.pageOrder ?? DEFAULT_PAGE_ORDER;
|
|
674
|
+
const columnWidth = options.columnWidth ?? DEFAULT_COLUMN_WIDTH;
|
|
675
|
+
/** Default off; still choosable in the column picker. */
|
|
676
|
+
const columnVisible = options.columnVisible === true;
|
|
677
|
+
const showListColumn = options.showListColumn !== false;
|
|
678
|
+
const showPage = options.showPage !== false;
|
|
679
|
+
const groupId = options.groupId ?? 'basic-info';
|
|
680
|
+
if (!ctx.properties.find(field).get()) {
|
|
681
|
+
ctx.properties.add({
|
|
682
|
+
name: field,
|
|
683
|
+
title: columnTitle,
|
|
684
|
+
groupId,
|
|
685
|
+
schema: {
|
|
686
|
+
dataType: 'object',
|
|
687
|
+
visible: false,
|
|
688
|
+
nullable: true,
|
|
689
|
+
readonly: true,
|
|
690
|
+
},
|
|
691
|
+
});
|
|
692
|
+
}
|
|
693
|
+
ctx.properties.find(field).update((prop) => ({
|
|
694
|
+
...prop,
|
|
695
|
+
title: prop.title ?? columnTitle,
|
|
696
|
+
options: {
|
|
697
|
+
...prop.options,
|
|
698
|
+
filter: {
|
|
699
|
+
...(prop.options?.filter ?? {}),
|
|
700
|
+
advance: {
|
|
701
|
+
...(prop.options?.filter?.advance ?? {}),
|
|
702
|
+
enabled: true,
|
|
703
|
+
widgetType: AXM_INTEGRATION_REF_FILTER_WIDGET_NAME,
|
|
704
|
+
},
|
|
705
|
+
inline: {
|
|
706
|
+
...(prop.options?.filter?.inline ?? {}),
|
|
707
|
+
enabled: true,
|
|
693
708
|
},
|
|
694
709
|
},
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
710
|
+
},
|
|
711
|
+
schema: {
|
|
712
|
+
...prop.schema,
|
|
713
|
+
dataType: prop.schema?.dataType ?? 'object',
|
|
714
|
+
// Keep off the overview form; Integration Info page owns the UI.
|
|
715
|
+
visible: false,
|
|
716
|
+
nullable: prop.schema?.nullable ?? true,
|
|
717
|
+
readonly: true,
|
|
718
|
+
interface: {
|
|
719
|
+
...(prop.schema.interface ?? {}),
|
|
720
|
+
type: AXM_INTEGRATION_REF_WIDGET_NAME,
|
|
721
|
+
options: {
|
|
722
|
+
...(prop.schema.interface?.options ?? {}),
|
|
723
|
+
textField: 'source',
|
|
724
|
+
expose: [
|
|
725
|
+
{
|
|
726
|
+
source: 'source',
|
|
727
|
+
target: `${field}.source`,
|
|
728
|
+
},
|
|
729
|
+
],
|
|
714
730
|
},
|
|
715
731
|
},
|
|
716
|
-
}
|
|
717
|
-
|
|
732
|
+
},
|
|
733
|
+
}));
|
|
734
|
+
if (showListColumn) {
|
|
735
|
+
if (!ctx.columns.find(field).get()) {
|
|
718
736
|
ctx.columns.add({
|
|
719
|
-
name:
|
|
720
|
-
title:
|
|
721
|
-
options: { width:
|
|
737
|
+
name: field,
|
|
738
|
+
title: columnTitle,
|
|
739
|
+
options: { width: columnWidth, visible: columnVisible },
|
|
722
740
|
});
|
|
723
741
|
}
|
|
724
742
|
else {
|
|
725
|
-
ctx.columns.find(
|
|
743
|
+
ctx.columns.find(field).update((col) => ({
|
|
726
744
|
...col,
|
|
727
|
-
title: col.title ??
|
|
745
|
+
title: col.title ?? columnTitle,
|
|
728
746
|
options: {
|
|
729
747
|
...(col.options ?? {}),
|
|
730
|
-
width:
|
|
748
|
+
width: columnWidth,
|
|
749
|
+
visible: columnVisible,
|
|
731
750
|
},
|
|
732
751
|
}));
|
|
733
752
|
}
|
|
734
753
|
const columns = ctx.columns.list();
|
|
735
754
|
if (columns?.length) {
|
|
736
|
-
const index = columns.findIndex((col) => col.name ===
|
|
737
|
-
if (index
|
|
755
|
+
const index = columns.findIndex((col) => col.name === field);
|
|
756
|
+
if (index >= 0) {
|
|
738
757
|
const [column] = columns.splice(index, 1);
|
|
739
|
-
columns.
|
|
758
|
+
const statusIndex = columns.findIndex((col) => isStatusColumnName(String(col.name ?? '')));
|
|
759
|
+
if (statusIndex >= 0) {
|
|
760
|
+
columns.splice(statusIndex, 0, column);
|
|
761
|
+
}
|
|
762
|
+
else {
|
|
763
|
+
columns.push(column);
|
|
764
|
+
}
|
|
740
765
|
}
|
|
741
766
|
}
|
|
767
|
+
}
|
|
768
|
+
if (showPage) {
|
|
742
769
|
ctx.entity.pages ??= [];
|
|
743
770
|
const page = {
|
|
744
771
|
componentKey: AXM_INTEGRATION_REF_PAGE_COMPONENT_KEY,
|
|
745
|
-
title:
|
|
746
|
-
icon:
|
|
747
|
-
layout: { order:
|
|
772
|
+
title: pageTitle,
|
|
773
|
+
icon: pageIcon,
|
|
774
|
+
layout: { order: pageOrder, position: 'after' },
|
|
748
775
|
/**
|
|
749
|
-
*
|
|
750
|
-
*
|
|
776
|
+
* Update/edit form wizard only. Details view always includes entity.pages.
|
|
777
|
+
* Do not set create — empty Integration Info as a create wizard step remounts the dialog.
|
|
751
778
|
*/
|
|
752
779
|
appearOn: { update: true },
|
|
753
780
|
};
|
|
@@ -758,10 +785,99 @@ const AXMIntegrationRefEntityModifier = {
|
|
|
758
785
|
else {
|
|
759
786
|
ctx.entity.pages.push(page);
|
|
760
787
|
}
|
|
788
|
+
}
|
|
789
|
+
}
|
|
790
|
+
//#endregion
|
|
791
|
+
|
|
792
|
+
//#region ----- Imports -----
|
|
793
|
+
//#endregion
|
|
794
|
+
//#region ----- Fallback modifier -----
|
|
795
|
+
/**
|
|
796
|
+
* Applies Source column + Integration Info when the entity already declares `integrationRef`
|
|
797
|
+
* but the seeded layout has not yet listed the `integration-ref` plugin (stale definitions).
|
|
798
|
+
* Skips when the action plugin is declared so options (`groupId`, …) win.
|
|
799
|
+
*/
|
|
800
|
+
const AXMIntegrationRefFallbackModifier = {
|
|
801
|
+
entityName: '*',
|
|
802
|
+
/** Just after the action plugin (80) so declared plugins win when both could apply. */
|
|
803
|
+
order: 81,
|
|
804
|
+
modifier: (ctx) => {
|
|
805
|
+
const hasPlugin = (ctx.entity.plugins ?? []).some((entry) => entry.name === AXM_INTEGRATION_REF_PLUGIN_NAME);
|
|
806
|
+
if (hasPlugin) {
|
|
807
|
+
return;
|
|
808
|
+
}
|
|
809
|
+
if (!ctx.properties.find('integrationRef').get()) {
|
|
810
|
+
return;
|
|
811
|
+
}
|
|
812
|
+
applyIntegrationRefEnhancements(ctx, {});
|
|
813
|
+
},
|
|
814
|
+
};
|
|
815
|
+
//#endregion
|
|
816
|
+
|
|
817
|
+
//#region ----- Imports -----
|
|
818
|
+
//#endregion
|
|
819
|
+
//#region ----- Plugin -----
|
|
820
|
+
/**
|
|
821
|
+
* Opt-in plugin for entities linked from integration connections.
|
|
822
|
+
* - Ensures `integrationRef` property + Source list column (off by default, toggable)
|
|
823
|
+
* - Places Source last before Status when present
|
|
824
|
+
* - Adds readonly Integration Info tab on update/detail (not create)
|
|
825
|
+
*/
|
|
826
|
+
const integrationRefPlugin = {
|
|
827
|
+
name: AXM_INTEGRATION_REF_PLUGIN_NAME,
|
|
828
|
+
/** After status (70) / attachments (50) so Source can sit before Status. */
|
|
829
|
+
order: 80,
|
|
830
|
+
apply: (ctx, options = {}) => {
|
|
831
|
+
applyIntegrationRefEnhancements(ctx, options);
|
|
761
832
|
},
|
|
762
833
|
};
|
|
763
834
|
//#endregion
|
|
764
835
|
|
|
836
|
+
//#region ----- Imports -----
|
|
837
|
+
//#endregion
|
|
838
|
+
//#region ----- Boot configure (once) -----
|
|
839
|
+
/**
|
|
840
|
+
* Clear stale Source column prefs from when the column was first-pinned.
|
|
841
|
+
* Framework migrate-drop registry stays empty until this module loads.
|
|
842
|
+
*/
|
|
843
|
+
configureEntityListColumnsSettingsMigrateDrop(['integrationRef']);
|
|
844
|
+
configureEntityListColumnsSettingsVersion(3);
|
|
845
|
+
//#endregion
|
|
846
|
+
//#region ----- Module -----
|
|
847
|
+
class AXMIntegrationRefPluginModule {
|
|
848
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXMIntegrationRefPluginModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
849
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.8", ngImport: i0, type: AXMIntegrationRefPluginModule }); }
|
|
850
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXMIntegrationRefPluginModule, providers: [
|
|
851
|
+
{
|
|
852
|
+
provide: AXP_ENTITY_ACTION_PLUGIN,
|
|
853
|
+
multi: true,
|
|
854
|
+
useValue: integrationRefPlugin,
|
|
855
|
+
},
|
|
856
|
+
{
|
|
857
|
+
provide: AXP_ENTITY_MODIFIER,
|
|
858
|
+
multi: true,
|
|
859
|
+
useValue: AXMIntegrationRefFallbackModifier,
|
|
860
|
+
},
|
|
861
|
+
] }); }
|
|
862
|
+
}
|
|
863
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXMIntegrationRefPluginModule, decorators: [{
|
|
864
|
+
type: NgModule,
|
|
865
|
+
args: [{
|
|
866
|
+
providers: [
|
|
867
|
+
{
|
|
868
|
+
provide: AXP_ENTITY_ACTION_PLUGIN,
|
|
869
|
+
multi: true,
|
|
870
|
+
useValue: integrationRefPlugin,
|
|
871
|
+
},
|
|
872
|
+
{
|
|
873
|
+
provide: AXP_ENTITY_MODIFIER,
|
|
874
|
+
multi: true,
|
|
875
|
+
useValue: AXMIntegrationRefFallbackModifier,
|
|
876
|
+
},
|
|
877
|
+
],
|
|
878
|
+
}]
|
|
879
|
+
}] });
|
|
880
|
+
|
|
765
881
|
//#endregion
|
|
766
882
|
//#region ----- Provider -----
|
|
767
883
|
class AXMIntegrationRefPageComponentProvider {
|
|
@@ -769,7 +885,7 @@ class AXMIntegrationRefPageComponentProvider {
|
|
|
769
885
|
return [
|
|
770
886
|
{
|
|
771
887
|
key: AXM_INTEGRATION_REF_PAGE_COMPONENT_KEY,
|
|
772
|
-
loader: () => import('./acorex-platform-module-integration-management-client-integration-ref-page.component-
|
|
888
|
+
loader: () => import('./acorex-platform-module-integration-management-client-integration-ref-page.component-C131H4e1.mjs').then((m) => m.AXMIntegrationRefPageComponent),
|
|
773
889
|
},
|
|
774
890
|
];
|
|
775
891
|
}
|
|
@@ -798,18 +914,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
798
914
|
//#region ---- Module ----
|
|
799
915
|
class AXMIntegrationManagementModule {
|
|
800
916
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXMIntegrationManagementModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
801
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.8", ngImport: i0, type: AXMIntegrationManagementModule, imports: [CommonModule, AXPRuntimeModule] }); }
|
|
917
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.8", ngImport: i0, type: AXMIntegrationManagementModule, imports: [CommonModule, AXPRuntimeModule, AXMIntegrationRefPluginModule] }); }
|
|
802
918
|
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXMIntegrationManagementModule, providers: [
|
|
803
919
|
{
|
|
804
920
|
provide: ROUTES,
|
|
805
921
|
multi: true,
|
|
806
922
|
useFactory: () => [...integrationManagementRoutesFactory(), ...integrationOAuthCallbackRoutes],
|
|
807
923
|
},
|
|
808
|
-
{
|
|
809
|
-
provide: AXP_MODULE_MANIFEST_PROVIDER,
|
|
810
|
-
useValue: IntegrationManagementManifest,
|
|
811
|
-
multi: true,
|
|
812
|
-
},
|
|
813
924
|
{
|
|
814
925
|
provide: AXP_PERMISSION_DEFINITION_PROVIDER,
|
|
815
926
|
useClass: AXMIntegrationManagementPermissionDefinitionProvider,
|
|
@@ -849,11 +960,6 @@ class AXMIntegrationManagementModule {
|
|
|
849
960
|
useClass: AXMIntegrationRefPageComponentProvider,
|
|
850
961
|
multi: true,
|
|
851
962
|
},
|
|
852
|
-
{
|
|
853
|
-
provide: AXP_ENTITY_MODIFIER,
|
|
854
|
-
useValue: AXMIntegrationRefEntityModifier,
|
|
855
|
-
multi: true,
|
|
856
|
-
},
|
|
857
963
|
provideCommandSetups([
|
|
858
964
|
{
|
|
859
965
|
key: AXMIntegrationManagementCommandKeys.ConnectionConnectWithCredentials,
|
|
@@ -894,23 +1000,18 @@ class AXMIntegrationManagementModule {
|
|
|
894
1000
|
loader: () => import('./acorex-platform-module-integration-management-client-list-my-connections.query-CmHu1qFm.mjs').then((c) => c.ListMyConnectionsQuery),
|
|
895
1001
|
},
|
|
896
1002
|
]),
|
|
897
|
-
], imports: [CommonModule, AXPRuntimeModule] }); }
|
|
1003
|
+
], imports: [CommonModule, AXPRuntimeModule, AXMIntegrationRefPluginModule] }); }
|
|
898
1004
|
}
|
|
899
1005
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXMIntegrationManagementModule, decorators: [{
|
|
900
1006
|
type: NgModule,
|
|
901
1007
|
args: [{
|
|
902
|
-
imports: [CommonModule, AXPRuntimeModule],
|
|
1008
|
+
imports: [CommonModule, AXPRuntimeModule, AXMIntegrationRefPluginModule],
|
|
903
1009
|
providers: [
|
|
904
1010
|
{
|
|
905
1011
|
provide: ROUTES,
|
|
906
1012
|
multi: true,
|
|
907
1013
|
useFactory: () => [...integrationManagementRoutesFactory(), ...integrationOAuthCallbackRoutes],
|
|
908
1014
|
},
|
|
909
|
-
{
|
|
910
|
-
provide: AXP_MODULE_MANIFEST_PROVIDER,
|
|
911
|
-
useValue: IntegrationManagementManifest,
|
|
912
|
-
multi: true,
|
|
913
|
-
},
|
|
914
1015
|
{
|
|
915
1016
|
provide: AXP_PERMISSION_DEFINITION_PROVIDER,
|
|
916
1017
|
useClass: AXMIntegrationManagementPermissionDefinitionProvider,
|
|
@@ -950,11 +1051,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
950
1051
|
useClass: AXMIntegrationRefPageComponentProvider,
|
|
951
1052
|
multi: true,
|
|
952
1053
|
},
|
|
953
|
-
{
|
|
954
|
-
provide: AXP_ENTITY_MODIFIER,
|
|
955
|
-
useValue: AXMIntegrationRefEntityModifier,
|
|
956
|
-
multi: true,
|
|
957
|
-
},
|
|
958
1054
|
provideCommandSetups([
|
|
959
1055
|
{
|
|
960
1056
|
key: AXMIntegrationManagementCommandKeys.ConnectionConnectWithCredentials,
|
|
@@ -1003,5 +1099,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
1003
1099
|
* Generated bundle index. Do not edit.
|
|
1004
1100
|
*/
|
|
1005
1101
|
|
|
1006
|
-
export { AXMIntegrationConnectionManager, AXMIntegrationManagementModule, AXP_INTEGRATION_CREDENTIAL_MASK,
|
|
1102
|
+
export { AXMIntegrationConnectionManager, AXMIntegrationManagementModule, AXP_INTEGRATION_CREDENTIAL_MASK, hasConfiguredIntegrationCredentials, isMaskedIntegrationCredential, scrubDisconnectedConnectionConfig, toSafeIntegrationConnectionDto };
|
|
1007
1103
|
//# sourceMappingURL=acorex-platform-module-integration-management-client.mjs.map
|