@acorex-platform/module-integration-management-client 0.0.38 → 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
|
@@ -34,6 +34,13 @@ const RootConfig = {
|
|
|
34
34
|
titlePlural: `@${config.i18n}:applications.entities.application.plural`,
|
|
35
35
|
icon: 'fa-light fa-shield-keyhole',
|
|
36
36
|
},
|
|
37
|
+
integrationRemoteRecord: {
|
|
38
|
+
name: 'IntegrationRemoteRecord',
|
|
39
|
+
source: `${config.module}.IntegrationRemoteRecord`,
|
|
40
|
+
title: `@${config.i18n}:remote-records.entities.record.title`,
|
|
41
|
+
titlePlural: `@${config.i18n}:remote-records.entities.record.plural`,
|
|
42
|
+
icon: 'fa-light fa-cloud-arrow-down',
|
|
43
|
+
},
|
|
37
44
|
},
|
|
38
45
|
queries: {
|
|
39
46
|
dashboard: {
|
|
@@ -54,9 +61,10 @@ const RootConfig = {
|
|
|
54
61
|
const integrationManagementLocalEntityCatalog = {
|
|
55
62
|
moduleName: RootConfig.module.name,
|
|
56
63
|
loaders: {
|
|
57
|
-
[RootConfig.entities.integrationApplication.name]: () => import('./acorex-platform-module-integration-management-client-contracts-entity-catalog-integration-application.entity-
|
|
58
|
-
[RootConfig.entities.integrationConnection.name]: () => import('./acorex-platform-module-integration-management-client-contracts-entity-catalog-integration-connection.entity-
|
|
59
|
-
[RootConfig.entities.integrationOAuthState.name]: () => import('./acorex-platform-module-integration-management-client-contracts-entity-catalog-integration-oauth-state.entity-
|
|
64
|
+
[RootConfig.entities.integrationApplication.name]: () => import('./acorex-platform-module-integration-management-client-contracts-entity-catalog-integration-application.entity-DhOHTht5.mjs').then((m) => m.factoryIntegrationApplication()),
|
|
65
|
+
[RootConfig.entities.integrationConnection.name]: () => import('./acorex-platform-module-integration-management-client-contracts-entity-catalog-integration-connection.entity-BAM1TCdS.mjs').then((m) => m.factoryIntegrationConnection()),
|
|
66
|
+
[RootConfig.entities.integrationOAuthState.name]: () => import('./acorex-platform-module-integration-management-client-contracts-entity-catalog-integration-oauth-state.entity-CHsVwNda.mjs').then((m) => m.factoryIntegrationOAuthState()),
|
|
67
|
+
[RootConfig.entities.integrationRemoteRecord.name]: () => import('./acorex-platform-module-integration-management-client-contracts-entity-catalog-integration-remote-record.entity-D9oTVEHF.mjs').then((m) => m.factoryIntegrationRemoteRecord()),
|
|
60
68
|
},
|
|
61
69
|
};
|
|
62
70
|
//#endregion
|
|
@@ -66,4 +74,4 @@ const integrationManagementLocalEntityCatalog = {
|
|
|
66
74
|
*/
|
|
67
75
|
|
|
68
76
|
export { RootConfig as R, integrationManagementLocalEntityCatalog as i };
|
|
69
|
-
//# sourceMappingURL=acorex-platform-module-integration-management-client-contracts-entity-catalog-acorex-platform-module-integration-management-client-contracts-entity-catalog-
|
|
77
|
+
//# sourceMappingURL=acorex-platform-module-integration-management-client-contracts-entity-catalog-acorex-platform-module-integration-management-client-contracts-entity-catalog-k3HR1biJ.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-integration-management-client-contracts-entity-catalog-acorex-platform-module-integration-management-client-contracts-entity-catalog-k3HR1biJ.mjs","sources":["../../../../libs/modules/integration-management/contracts/src/root-config.ts","../../../../libs/modules/integration-management/contracts/src/entity-catalog.ts","../../../../libs/modules/integration-management/contracts/src/acorex-platform-module-integration-management-client-contracts-entity-catalog.ts"],"sourcesContent":["//#region ---- Module Config ----\n\nconst config = {\n i18n: 'integration-management',\n module: 'IntegrationManagement',\n route: 'integration-management',\n};\n\nexport const RootConfig = {\n config,\n module: {\n name: config.module,\n route: config.route,\n title: `@${config.i18n}:module.title`,\n icon: 'fa-light fa-plug',\n },\n entities: {\n integrationConnection: {\n name: 'IntegrationConnection',\n source: `${config.module}.IntegrationConnection`,\n title: `@${config.i18n}:connections.entities.connection.title`,\n titlePlural: `@${config.i18n}:connections.entities.connection.plural`,\n icon: 'fa-light fa-link',\n },\n integrationOAuthState: {\n name: 'IntegrationOAuthState',\n source: `${config.module}.IntegrationOAuthState`,\n title: `@${config.i18n}:oauth-states.entities.oauth-state.title`,\n titlePlural: `@${config.i18n}:oauth-states.entities.oauth-state.plural`,\n icon: 'fa-light fa-key',\n },\n integrationApplication: {\n name: 'IntegrationApplication',\n source: `${config.module}.IntegrationApplication`,\n title: `@${config.i18n}:applications.entities.application.title`,\n titlePlural: `@${config.i18n}:applications.entities.application.plural`,\n icon: 'fa-light fa-shield-keyhole',\n },\n integrationRemoteRecord: {\n name: 'IntegrationRemoteRecord',\n source: `${config.module}.IntegrationRemoteRecord`,\n title: `@${config.i18n}:remote-records.entities.record.title`,\n titlePlural: `@${config.i18n}:remote-records.entities.record.plural`,\n icon: 'fa-light fa-cloud-arrow-down',\n },\n },\n queries: {\n dashboard: {\n integrationsDonut: `${config.module}:Dashboard:IntegrationsDonut`,\n },\n },\n};\n\n//#endregion\n","//#region ----- Imports -----\n\nimport type { AXPLocalEntityCatalog } from '@acorex-platform/framework-shared/entity';\n\nimport { RootConfig } from './root-config';\n\n//#endregion\n\n//#region ----- Local entity catalog -----\n\n/**\n * Lazy per-entity layout factories. Do not re-export from the contracts barrel\n * so RootConfig imports stay light. Server seed and client `local-entities`\n * consume this catalog explicitly.\n */\nexport const integrationManagementLocalEntityCatalog: AXPLocalEntityCatalog = {\n moduleName: RootConfig.module.name,\n loaders: {\n [RootConfig.entities.integrationApplication.name]: () =>\n import('./entities/integration-application/integration-application.entity.js').then((m) => m.factoryIntegrationApplication()),\n [RootConfig.entities.integrationConnection.name]: () =>\n import('./entities/integration-connection/integration-connection.entity.js').then((m) => m.factoryIntegrationConnection()),\n [RootConfig.entities.integrationOAuthState.name]: () =>\n import('./entities/integration-oauth-state/integration-oauth-state.entity.js').then((m) => m.factoryIntegrationOAuthState()),\n [RootConfig.entities.integrationRemoteRecord.name]: () =>\n import('./entities/integration-remote-record/integration-remote-record.entity.js').then((m) =>\n m.factoryIntegrationRemoteRecord(),\n ),\n },\n};\n\n//#endregion\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './entity-catalog';\n"],"names":[],"mappings":"AAAA;AAEA,MAAM,MAAM,GAAG;AACb,IAAA,IAAI,EAAE,wBAAwB;AAC9B,IAAA,MAAM,EAAE,uBAAuB;AAC/B,IAAA,KAAK,EAAE,wBAAwB;CAChC;AAEM,MAAM,UAAU,GAAG;IACxB,MAAM;AACN,IAAA,MAAM,EAAE;QACN,IAAI,EAAE,MAAM,CAAC,MAAM;QACnB,KAAK,EAAE,MAAM,CAAC,KAAK;AACnB,QAAA,KAAK,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,aAAA,CAAe;AACrC,QAAA,IAAI,EAAE,kBAAkB;AACzB,KAAA;AACD,IAAA,QAAQ,EAAE;AACR,QAAA,qBAAqB,EAAE;AACrB,YAAA,IAAI,EAAE,uBAAuB;AAC7B,YAAA,MAAM,EAAE,CAAA,EAAG,MAAM,CAAC,MAAM,CAAA,sBAAA,CAAwB;AAChD,YAAA,KAAK,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,sCAAA,CAAwC;AAC9D,YAAA,WAAW,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,uCAAA,CAAyC;AACrE,YAAA,IAAI,EAAE,kBAAkB;AACzB,SAAA;AACD,QAAA,qBA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C5E,IAAA,UAAU,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAClC,IAAA,OAAO,EAAE;AACP,QAAA,CAAC,UAAU,CAAC,QAAQ,CAAC,sBAAsB,CAAC,IAAI,GAAG,MACjD,OAAO,6HAAsE,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,6BAA6B,EAAE,CAAC;AAC/H,QAAA,CAAC,UAAU,CAAC,QAAQ,CAAC,qBAAqB,CAAC,IAAI,GAAG,MAChD,OAAO,4HAAoE,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,4BAA4B,EAAE,CAAC;AAC5H,QAAA,CAAC,UAAU,CAAC,QAAQ,CAAC,qBAAqB,CAAC,IAAI,GAAG,MAChD,OAAO,6HAAsE,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,4BAA4B,EAAE,CAAC;AAC9H,QAAA,CAAC,UAAU,CAAC,QAAQ,CAAC,uBAAuB,CAAC,IAAI,GAAG,MAClD,OAAO,+HAA0E,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KACxF,CAAC,CAAC,8BAA8B,EAAE,CACnC;AACJ,KAAA;;AAGH;;AC/BA;;AAEG;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AXPWidgetsCatalog } from '@acorex-platform/framework-shared/core';
|
|
2
2
|
import { entityMasterRecordActions, createAllQueryView, entityMasterCrudActions } from '@acorex-platform/framework-shared/entity';
|
|
3
|
-
import { R as RootConfig } from './acorex-platform-module-integration-management-client-contracts-entity-catalog-acorex-platform-module-integration-management-client-contracts-entity-catalog-
|
|
3
|
+
import { R as RootConfig } from './acorex-platform-module-integration-management-client-contracts-entity-catalog-acorex-platform-module-integration-management-client-contracts-entity-catalog-k3HR1biJ.mjs';
|
|
4
4
|
|
|
5
5
|
//#region ---- Entity Factory ----
|
|
6
6
|
async function factoryIntegrationApplication() {
|
|
@@ -10,6 +10,21 @@ async function factoryIntegrationApplication() {
|
|
|
10
10
|
name: RootConfig.entities.integrationApplication.name,
|
|
11
11
|
title: RootConfig.entities.integrationApplication.title,
|
|
12
12
|
icon: RootConfig.entities.integrationApplication.icon,
|
|
13
|
+
searchTags: [
|
|
14
|
+
'integration',
|
|
15
|
+
'oauth',
|
|
16
|
+
'oauth-application',
|
|
17
|
+
'external-provider',
|
|
18
|
+
'third-party-app',
|
|
19
|
+
'client-credentials',
|
|
20
|
+
'api-integration',
|
|
21
|
+
'tenant-integration',
|
|
22
|
+
'provider-config',
|
|
23
|
+
'یکپارچهسازی',
|
|
24
|
+
'برنامه OAuth',
|
|
25
|
+
'ارائهدهنده خارجی',
|
|
26
|
+
'مدیریت یکپارچهسازی',
|
|
27
|
+
],
|
|
13
28
|
formats: {
|
|
14
29
|
individual: RootConfig.entities.integrationApplication.title,
|
|
15
30
|
plural: RootConfig.entities.integrationApplication.titlePlural,
|
|
@@ -102,4 +117,4 @@ async function factoryIntegrationApplication() {
|
|
|
102
117
|
//#endregion
|
|
103
118
|
|
|
104
119
|
export { factoryIntegrationApplication };
|
|
105
|
-
//# sourceMappingURL=acorex-platform-module-integration-management-client-contracts-entity-catalog-integration-application.entity-
|
|
120
|
+
//# sourceMappingURL=acorex-platform-module-integration-management-client-contracts-entity-catalog-integration-application.entity-DhOHTht5.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-integration-management-client-contracts-entity-catalog-integration-application.entity-DhOHTht5.mjs","sources":["../../../../libs/modules/integration-management/contracts/src/entities/integration-application/integration-application.entity.ts"],"sourcesContent":["import { AXPWidgetsCatalog } from '@acorex-platform/framework-shared/core';\nimport { AXPEntity, createAllQueryView, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';\nimport { RootConfig } from '../../root-config';\n\n//#region ---- Entity Factory ----\n\nexport async function factoryIntegrationApplication(): Promise<AXPEntity | null> {\n const i18n = `${RootConfig.config.i18n}:applications.entities.application`;\n\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.integrationApplication.name,\n title: RootConfig.entities.integrationApplication.title,\n icon: RootConfig.entities.integrationApplication.icon,\n searchTags: [\n 'integration',\n 'oauth',\n 'oauth-application',\n 'external-provider',\n 'third-party-app',\n 'client-credentials',\n 'api-integration',\n 'tenant-integration',\n 'provider-config',\n 'یکپارچهسازی',\n 'برنامه OAuth',\n 'ارائهدهنده خارجی',\n 'مدیریت یکپارچهسازی',\n ],\n formats: {\n individual: RootConfig.entities.integrationApplication.title,\n plural: RootConfig.entities.integrationApplication.titlePlural,\n searchResult: { title: '{{ providerId }}', description: '{{ clientId }}' },\n },\n plugins: [\n {\n name: 'unique-fields',\n options: {\n fields: ['scopeInfo.tenantId', 'scopeInfo.applicationId', 'providerId'],\n scope: 'global',\n },\n },\n { name: 'history' },\n ],\n groups: [\n { id: 'basic-info', title: '@general:terms.interface.basic-info' },\n { id: 'oauth', title: `@${i18n}.groups.oauth` },\n ],\n properties: [\n {\n name: 'id',\n title: '@general:terms.common.id',\n groupId: 'basic-info',\n schema: { dataType: 'uuid', visible: false, nullable: false, readonly: true, unique: { enabled: true } },\n },\n {\n name: 'providerId',\n title: `@${i18n}.fields.provider-id.title`,\n groupId: 'basic-info',\n schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.text } },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'clientId',\n title: `@${i18n}.fields.client-id.title`,\n groupId: 'oauth',\n schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.text } },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'clientSecretRef',\n title: `@${i18n}.fields.client-secret-ref.title`,\n groupId: 'oauth',\n schema: { dataType: 'string', visible: false, interface: { type: AXPWidgetsCatalog.text }, readonly: true },\n },\n {\n name: 'authorizationEndpoint',\n title: `@${i18n}.fields.authorization-endpoint.title`,\n groupId: 'oauth',\n schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.text } },\n },\n {\n name: 'tokenEndpoint',\n title: `@${i18n}.fields.token-endpoint.title`,\n groupId: 'oauth',\n schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.text } },\n },\n {\n name: 'redirectUri',\n title: `@${i18n}.fields.redirect-uri.title`,\n groupId: 'oauth',\n schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.text } },\n },\n {\n name: 'isActive',\n title: '@general:terms.common.active',\n groupId: 'basic-info',\n schema: { dataType: 'boolean', defaultValue: true, interface: { type: AXPWidgetsCatalog.toggle } },\n },\n ],\n interfaces: {\n master: {\n list: {\n actions: [...entityMasterCrudActions()],\n views: [createAllQueryView({ sorts: [{ name: 'providerId', dir: 'asc' }] })],\n },\n create: { sections: [{ id: 'basic-info' }, { id: 'oauth' }] },\n update: { sections: [{ id: 'basic-info' }, { id: 'oauth' }] },\n single: {\n title: '{{ providerId }}',\n sections: [{ id: 'basic-info' }, { id: 'oauth' }],\n actions: [...entityMasterRecordActions()],\n },\n },\n },\n };\n\n return entityDef;\n}\n\n//#endregion\n"],"names":[],"mappings":";;;;AAIA;AAEO,eAAe,6BAA6B,GAAA;IACjD,MAAM,IAAI,GAAG,CAAA,EAAG,UAAU,CAAC,MAAM,CAAC,IAAI,CAAA,kCAAA,CAAoC;AAE1E,IAAA,MAAM,SAAS,GAAc;AAC3B,QAAA,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC9B,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,sBAAsB,CAAC,IAAI;AACrD,QAAA,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC,sBAAsB,CAAC,KAAK;AACvD,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,sBAAsB,CAAC,IAAI;AACrD,QAAA,UAAU,EAAE;YACV,aAAa;YACb,OAAO;YACP,mBAAmB;YACnB,mBAAmB;YACnB,iBAAiB;YACjB,oBAAoB;YACpB,iBAAiB;YACjB,oBAAoB;YACpB,iBAAiB;YACjB,cAAc;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;AAC7D,gBAAA,MAAM,EAAE;AACN,oBAAA,KAAK,EAAE,kBAAkB;AACzB,oBAAA,QAAQ,EAAE,CAAC,EAAE,EAAE,EAAE,YAAY,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC;AACjD,oBAAA,OAAO,EAAE,CAAC,GAAG,yBAAyB,EAAE,CAAC;AAC1C,iBAAA;AACF,aAAA;AACF,SAAA;KACF;AAED,IAAA,OAAO,SAAS;AAClB;AAEA;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AXPWidgetsCatalog } from '@acorex-platform/framework-shared/core';
|
|
2
2
|
import { entityMasterRecordActions, createAllQueryView, entityMasterCrudActions } from '@acorex-platform/framework-shared/entity';
|
|
3
|
-
import { R as RootConfig } from './acorex-platform-module-integration-management-client-contracts-entity-catalog-acorex-platform-module-integration-management-client-contracts-entity-catalog-
|
|
3
|
+
import { R as RootConfig } from './acorex-platform-module-integration-management-client-contracts-entity-catalog-acorex-platform-module-integration-management-client-contracts-entity-catalog-k3HR1biJ.mjs';
|
|
4
4
|
|
|
5
5
|
//#region ---- Entity Factory ----
|
|
6
6
|
async function factoryIntegrationConnection() {
|
|
@@ -10,6 +10,21 @@ async function factoryIntegrationConnection() {
|
|
|
10
10
|
name: RootConfig.entities.integrationConnection.name,
|
|
11
11
|
title: RootConfig.entities.integrationConnection.title,
|
|
12
12
|
icon: RootConfig.entities.integrationConnection.icon,
|
|
13
|
+
searchTags: [
|
|
14
|
+
'integration',
|
|
15
|
+
'connection',
|
|
16
|
+
'connected-account',
|
|
17
|
+
'external-provider',
|
|
18
|
+
'oauth-connection',
|
|
19
|
+
'third-party',
|
|
20
|
+
'provider-link',
|
|
21
|
+
'user-integration',
|
|
22
|
+
'tenant-connection',
|
|
23
|
+
'اتصال',
|
|
24
|
+
'حساب متصل',
|
|
25
|
+
'یکپارچهسازی',
|
|
26
|
+
'ارائهدهنده',
|
|
27
|
+
],
|
|
13
28
|
formats: {
|
|
14
29
|
individual: RootConfig.entities.integrationConnection.title,
|
|
15
30
|
plural: RootConfig.entities.integrationConnection.titlePlural,
|
|
@@ -140,4 +155,4 @@ async function factoryIntegrationConnection() {
|
|
|
140
155
|
//#endregion
|
|
141
156
|
|
|
142
157
|
export { factoryIntegrationConnection };
|
|
143
|
-
//# sourceMappingURL=acorex-platform-module-integration-management-client-contracts-entity-catalog-integration-connection.entity-
|
|
158
|
+
//# sourceMappingURL=acorex-platform-module-integration-management-client-contracts-entity-catalog-integration-connection.entity-BAM1TCdS.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-integration-management-client-contracts-entity-catalog-integration-connection.entity-BAM1TCdS.mjs","sources":["../../../../libs/modules/integration-management/contracts/src/entities/integration-connection/integration-connection.entity.ts"],"sourcesContent":["import { AXPWidgetsCatalog } from '@acorex-platform/framework-shared/core';\nimport { AXPEntity, createAllQueryView, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';\nimport { RootConfig } from '../../root-config';\n\n//#region ---- Entity Factory ----\n\nexport async function factoryIntegrationConnection(): Promise<AXPEntity | null> {\n const i18n = `${RootConfig.config.i18n}:connections.entities.connection`;\n\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.integrationConnection.name,\n title: RootConfig.entities.integrationConnection.title,\n icon: RootConfig.entities.integrationConnection.icon,\n searchTags: [\n 'integration',\n 'connection',\n 'connected-account',\n 'external-provider',\n 'oauth-connection',\n 'third-party',\n 'provider-link',\n 'user-integration',\n 'tenant-connection',\n 'اتصال',\n 'حساب متصل',\n 'یکپارچهسازی',\n 'ارائهدهنده',\n ],\n formats: {\n individual: RootConfig.entities.integrationConnection.title,\n plural: RootConfig.entities.integrationConnection.titlePlural,\n searchResult: { title: '{{ displayName }}', description: '{{ providerId }}' },\n },\n plugins: [\n {\n name: 'unique-fields',\n options: {\n fields: [\n 'scopeInfo.tenantId',\n 'scopeInfo.applicationId',\n 'scopeInfo.userId',\n 'connectionScope',\n 'providerId',\n 'connectionKey',\n ],\n scope: 'global',\n },\n },\n { name: 'history' },\n ],\n groups: [\n { id: 'basic-info', title: '@general:terms.interface.basic-info' },\n { id: 'connection', title: `@${i18n}.groups.connection` },\n { id: 'status', title: `@${i18n}.groups.status` },\n ],\n properties: [\n {\n name: 'id',\n title: '@general:terms.common.id',\n groupId: 'basic-info',\n schema: { dataType: 'uuid', visible: false, nullable: false, readonly: true, unique: { enabled: true } },\n },\n {\n name: 'providerId',\n title: `@${i18n}.fields.provider-id.title`,\n groupId: 'basic-info',\n schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.text }, readonly: true },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'displayName',\n title: '@general:terms.common.title',\n groupId: 'basic-info',\n schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.text } },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'connectionScope',\n title: `@${i18n}.fields.connection-scope.title`,\n groupId: 'connection',\n schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.text }, readonly: true },\n },\n {\n name: 'connectionKey',\n title: `@${i18n}.fields.connection-key.title`,\n groupId: 'connection',\n schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.text }, readonly: true },\n },\n {\n name: 'authMethodType',\n title: `@${i18n}.fields.auth-method-type.title`,\n groupId: 'connection',\n schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.text }, readonly: true },\n },\n {\n name: 'status',\n title: '@general:terms.common.status',\n groupId: 'status',\n schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.text }, readonly: true },\n },\n {\n name: 'instanceUrl',\n title: `@${i18n}.fields.instance-url.title`,\n groupId: 'connection',\n schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.text } },\n },\n {\n name: 'externalAccountName',\n title: `@${i18n}.fields.external-account-name.title`,\n groupId: 'connection',\n schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.text }, readonly: true },\n },\n {\n name: 'secretRef',\n title: `@${i18n}.fields.secret-ref.title`,\n groupId: 'connection',\n schema: { dataType: 'string', visible: false, interface: { type: AXPWidgetsCatalog.text }, readonly: true },\n },\n {\n name: 'config',\n title: `@${i18n}.fields.config.title`,\n groupId: 'connection',\n schema: { dataType: 'object', visible: false, interface: { type: 'json' } },\n },\n {\n name: 'isRevoked',\n title: `@${i18n}.fields.is-revoked.title`,\n groupId: 'status',\n schema: { dataType: 'boolean', defaultValue: false, interface: { type: AXPWidgetsCatalog.toggle }, readonly: true },\n },\n {\n name: 'isDisabled',\n title: `@${i18n}.fields.is-disabled.title`,\n groupId: 'status',\n schema: { dataType: 'boolean', defaultValue: false, interface: { type: AXPWidgetsCatalog.toggle } },\n },\n ],\n interfaces: {\n master: {\n list: {\n actions: [...entityMasterCrudActions()],\n views: [createAllQueryView({ sorts: [{ name: 'displayName', dir: 'asc' }] })],\n },\n create: { sections: [{ id: 'basic-info' }, { id: 'connection' }] },\n update: { sections: [{ id: 'basic-info' }, { id: 'connection' }, { id: 'status' }] },\n single: {\n title: '{{ displayName }}',\n sections: [{ id: 'basic-info' }, { id: 'connection' }, { id: 'status' }],\n actions: [...entityMasterRecordActions()],\n },\n },\n },\n };\n\n return entityDef;\n}\n\n//#endregion\n"],"names":[],"mappings":";;;;AAIA;AAEO,eAAe,4BAA4B,GAAA;IAChD,MAAM,IAAI,GAAG,CAAA,EAAG,UAAU,CAAC,MAAM,CAAC,IAAI,CAAA,gCAAA,CAAkC;AAExE,IAAA,MAAM,SAAS,GAAc;AAC3B,QAAA,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC9B,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,qBAAqB,CAAC,IAAI;AACpD,QAAA,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC,qBAAqB,CAAC,KAAK;AACtD,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,qBAAqB,CAAC,IAAI;AACpD,QAAA,UAAU,EAAE;YAC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EAAE;AACpG,aAAA;AACF,SAAA;AACD,QAAA,UAAU,EAAE;AACV,YAAA,MAAM,EAAE;AACN,gBAAA,IAAI,EAAE;AACJ,oBAAA,OAAO,EAAE,CAAC,GAAG,uBAAuB,EAAE,CAAC;oBACvC,KAAK,EAAE,CAAC,kBAAkB,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,aAAa,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC;AAC9E,iBAAA;AACD,gBAAA,MAAM,EAAE,EAAE,QAAQ,EAAE,CAAC,EAAE,EAAE,EAAE,YAAY,EAAE,EAAE,EAAE,EAAE,EAAE,YAAY,EAAE,CAAC,EAAE;gBAClE,MAAM,EAAE,EAAE,QAAQ,EAAE,CAAC,EAAE,EAAE,EAAE,YAAY,EAAE,EAAE,EAAE,EAAE,EAAE,YAAY,EAAE,EAAE,EAAE,EAAE,EAAE,QAAQ,EAAE,CAAC,EAAE;AACpF,gBAAA,MAAM,EAAE;AACN,oBAAA,KAAK,EAAE,mBAAmB;AAC1B,oBAAA,QAAQ,EAAE,CAAC,EAAE,EAAE,EAAE,YAAY,EAAE,EAAE,EAAE,EAAE,EAAE,YAAY,EAAE,EAAE,EAAE,EAAE,EAAE,QAAQ,EAAE,CAAC;AACxE,oBAAA,OAAO,EAAE,CAAC,GAAG,yBAAyB,EAAE,CAAC;AAC1C,iBAAA;AACF,aAAA;AACF,SAAA;KACF;AAED,IAAA,OAAO,SAAS;AAClB;AAEA;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AXPWidgetsCatalog } from '@acorex-platform/framework-shared/core';
|
|
2
2
|
import { createAllQueryView } from '@acorex-platform/framework-shared/entity';
|
|
3
|
-
import { R as RootConfig } from './acorex-platform-module-integration-management-client-contracts-entity-catalog-acorex-platform-module-integration-management-client-contracts-entity-catalog-
|
|
3
|
+
import { R as RootConfig } from './acorex-platform-module-integration-management-client-contracts-entity-catalog-acorex-platform-module-integration-management-client-contracts-entity-catalog-k3HR1biJ.mjs';
|
|
4
4
|
|
|
5
5
|
//#region ---- Entity Factory ----
|
|
6
6
|
async function factoryIntegrationOAuthState() {
|
|
@@ -10,6 +10,21 @@ async function factoryIntegrationOAuthState() {
|
|
|
10
10
|
name: RootConfig.entities.integrationOAuthState.name,
|
|
11
11
|
title: RootConfig.entities.integrationOAuthState.title,
|
|
12
12
|
icon: RootConfig.entities.integrationOAuthState.icon,
|
|
13
|
+
searchTags: [
|
|
14
|
+
'integration',
|
|
15
|
+
'oauth',
|
|
16
|
+
'oauth-state',
|
|
17
|
+
'authorization-flow',
|
|
18
|
+
'csrf-token',
|
|
19
|
+
'pkce',
|
|
20
|
+
'code-verifier',
|
|
21
|
+
'temporary-state',
|
|
22
|
+
'auth-callback',
|
|
23
|
+
'redirect-uri',
|
|
24
|
+
'وضعیت OAuth',
|
|
25
|
+
'جریان احراز هویت',
|
|
26
|
+
'یکپارچهسازی',
|
|
27
|
+
],
|
|
13
28
|
formats: {
|
|
14
29
|
individual: RootConfig.entities.integrationOAuthState.title,
|
|
15
30
|
plural: RootConfig.entities.integrationOAuthState.titlePlural,
|
|
@@ -76,4 +91,4 @@ async function factoryIntegrationOAuthState() {
|
|
|
76
91
|
//#endregion
|
|
77
92
|
|
|
78
93
|
export { factoryIntegrationOAuthState };
|
|
79
|
-
//# sourceMappingURL=acorex-platform-module-integration-management-client-contracts-entity-catalog-integration-oauth-state.entity-
|
|
94
|
+
//# sourceMappingURL=acorex-platform-module-integration-management-client-contracts-entity-catalog-integration-oauth-state.entity-CHsVwNda.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-integration-management-client-contracts-entity-catalog-integration-oauth-state.entity-CHsVwNda.mjs","sources":["../../../../libs/modules/integration-management/contracts/src/entities/integration-oauth-state/integration-oauth-state.entity.ts"],"sourcesContent":["import { AXPWidgetsCatalog } from '@acorex-platform/framework-shared/core';\nimport { AXPEntity, createAllQueryView } from '@acorex-platform/framework-shared/entity';\nimport { RootConfig } from '../../root-config';\n\n//#region ---- Entity Factory ----\n\nexport async function factoryIntegrationOAuthState(): Promise<AXPEntity | null> {\n const i18n = `${RootConfig.config.i18n}:oauth-states.entities.oauth-state`;\n\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.integrationOAuthState.name,\n title: RootConfig.entities.integrationOAuthState.title,\n icon: RootConfig.entities.integrationOAuthState.icon,\n searchTags: [\n 'integration',\n 'oauth',\n 'oauth-state',\n 'authorization-flow',\n 'csrf-token',\n 'pkce',\n 'code-verifier',\n 'temporary-state',\n 'auth-callback',\n 'redirect-uri',\n 'وضعیت OAuth',\n 'جریان احراز هویت',\n 'یکپارچهسازی',\n ],\n formats: {\n individual: RootConfig.entities.integrationOAuthState.title,\n plural: RootConfig.entities.integrationOAuthState.titlePlural,\n },\n plugins: [\n {\n name: 'unique-fields',\n options: { fields: 'state', scope: 'global' },\n },\n ],\n groups: [{ id: 'basic-info', title: '@general:terms.interface.basic-info' }],\n properties: [\n {\n name: 'id',\n title: '@general:terms.common.id',\n groupId: 'basic-info',\n schema: { dataType: 'uuid', visible: false, nullable: false, readonly: true, unique: { enabled: true } },\n },\n {\n name: 'state',\n title: `@${i18n}.fields.state.title`,\n groupId: 'basic-info',\n schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.text }, readonly: true },\n },\n {\n name: 'providerId',\n title: `@${i18n}.fields.provider-id.title`,\n groupId: 'basic-info',\n schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.text }, readonly: true },\n },\n {\n name: 'expiresAt',\n title: `@${i18n}.fields.expires-at.title`,\n groupId: 'basic-info',\n schema: { dataType: 'datetime', interface: { type: AXPWidgetsCatalog.dateTime }, readonly: true },\n },\n {\n name: 'codeVerifier',\n title: `@${i18n}.fields.code-verifier.title`,\n groupId: 'basic-info',\n schema: { dataType: 'string', visible: false, interface: { type: AXPWidgetsCatalog.text }, readonly: true },\n },\n {\n name: 'redirectUri',\n title: `@${i18n}.fields.redirect-uri.title`,\n groupId: 'basic-info',\n schema: { dataType: 'string', visible: false, interface: { type: AXPWidgetsCatalog.text }, readonly: true },\n },\n {\n name: 'consumedAt',\n title: `@${i18n}.fields.consumed-at.title`,\n groupId: 'basic-info',\n schema: { dataType: 'datetime', visible: false, interface: { type: AXPWidgetsCatalog.dateTime }, readonly: true },\n },\n ],\n interfaces: {\n master: {\n list: { views: [createAllQueryView({ sorts: [{ name: 'expiresAt', dir: 'desc' }] })] },\n },\n },\n };\n\n return entityDef;\n}\n\n//#endregion\n"],"names":[],"mappings":";;;;AAIA;AAEO,eAAe,4BAA4B,GAAA;IAChD,MAAM,IAAI,GAAG,CAAA,EAAG,UAAU,CAAC,MAAM,CAAC,IAAI,CAAA,kCAAA,CAAoC;AAE1E,IAAA,MAAM,SAAS,GAAc;AAC3B,QAAA,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC9B,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,qBAAqB,CAAC,IAAI;AACpD,QAAA,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC,qBAAqB,CAAC,KAAK;AACtD,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,qBAAqB,CAAC,IAAI;AACpD,QAAA,UAAU,EAAE;YACV,aAAa;YACb,OAAO;YACP,aAAa;YACb,oBAAoB;YACpB,YAAY;YACZ,MAAM;YACN,eAAe;YACf,iBAAiB;YACjB,eAAe;YACf,cAAc;YACd,aAAa;YACb,kBAAkB;YAClB,cAAc;AACf,SAAA;AACD,QAAA,OAAO,EAAE;AACP,YAAA,UAAU,EAAE,UAAU,CAAC,QAAQ,CAAC,qBAAqB,CAAC,KAAK;AAC3D,YAAA,MAAM,EAAE,UAAU,CAAC,QAAQ,CAAC,qBAAqB,CAAC,WAAW;AAC9D,SAAA;AACD,QAAA,OAAO,EAAE;AACP,YAAA;AACE,gBAAA,IAAI,EAAE,eAAe;gBACrB,OAAO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E,WAAW,EAAE,GAAG,EAAE,MAAM,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE;AACvF,aAAA;AACF,SAAA;KACF;AAED,IAAA,OAAO,SAAS;AAClB;AAEA;;"}
|
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
import { AXPWidgetsCatalog } from '@acorex-platform/framework-shared/core';
|
|
2
|
+
import { entityMasterRecordActions, createAllQueryView, entityMasterCrudActions } from '@acorex-platform/framework-shared/entity';
|
|
3
|
+
import { R as RootConfig } from './acorex-platform-module-integration-management-client-contracts-entity-catalog-acorex-platform-module-integration-management-client-contracts-entity-catalog-k3HR1biJ.mjs';
|
|
4
|
+
|
|
5
|
+
//#region ----- Entity Factory -----
|
|
6
|
+
async function factoryIntegrationRemoteRecord() {
|
|
7
|
+
const i18n = `${RootConfig.config.i18n}:remote-records.entities.record`;
|
|
8
|
+
return {
|
|
9
|
+
module: RootConfig.module.name,
|
|
10
|
+
name: RootConfig.entities.integrationRemoteRecord.name,
|
|
11
|
+
title: RootConfig.entities.integrationRemoteRecord.title,
|
|
12
|
+
icon: RootConfig.entities.integrationRemoteRecord.icon,
|
|
13
|
+
plugins: [
|
|
14
|
+
{ name: 'history' },
|
|
15
|
+
{
|
|
16
|
+
name: 'unique-fields',
|
|
17
|
+
options: { fields: ['providerId', 'resourceType', 'remoteId'], scope: 'global' },
|
|
18
|
+
},
|
|
19
|
+
],
|
|
20
|
+
formats: {
|
|
21
|
+
individual: RootConfig.entities.integrationRemoteRecord.title,
|
|
22
|
+
plural: RootConfig.entities.integrationRemoteRecord.titlePlural,
|
|
23
|
+
searchResult: { title: '{{ name }}', description: '{{ providerId }} / {{ resourceType }}' },
|
|
24
|
+
},
|
|
25
|
+
groups: [
|
|
26
|
+
{ id: 'basic-info', title: '@general:terms.interface.basic-info' },
|
|
27
|
+
{ id: 'remote', title: `@${i18n}.groups.remote` },
|
|
28
|
+
{ id: 'cache', title: `@${i18n}.groups.cache` },
|
|
29
|
+
],
|
|
30
|
+
properties: [
|
|
31
|
+
{
|
|
32
|
+
name: 'id',
|
|
33
|
+
title: 'ID',
|
|
34
|
+
groupId: 'basic-info',
|
|
35
|
+
schema: { dataType: 'string', visible: false, nullable: false, readonly: true, unique: { enabled: true } },
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
name: 'providerId',
|
|
39
|
+
title: `@${i18n}.fields.provider-id.title`,
|
|
40
|
+
groupId: 'basic-info',
|
|
41
|
+
options: {
|
|
42
|
+
sort: { enabled: true },
|
|
43
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
44
|
+
},
|
|
45
|
+
schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.text }, readonly: true },
|
|
46
|
+
validations: [{ rule: 'required' }],
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
name: 'resourceType',
|
|
50
|
+
title: `@${i18n}.fields.resource-type.title`,
|
|
51
|
+
groupId: 'basic-info',
|
|
52
|
+
options: {
|
|
53
|
+
sort: { enabled: true },
|
|
54
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
55
|
+
},
|
|
56
|
+
schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.text }, readonly: true },
|
|
57
|
+
validations: [{ rule: 'required' }],
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
name: 'remoteId',
|
|
61
|
+
title: `@${i18n}.fields.remote-id.title`,
|
|
62
|
+
groupId: 'basic-info',
|
|
63
|
+
schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.text }, readonly: true },
|
|
64
|
+
validations: [{ rule: 'required' }],
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
name: 'name',
|
|
68
|
+
title: '@general:terms.common.title',
|
|
69
|
+
groupId: 'basic-info',
|
|
70
|
+
options: {
|
|
71
|
+
sort: { enabled: true },
|
|
72
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
73
|
+
},
|
|
74
|
+
schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.text }, readonly: true },
|
|
75
|
+
validations: [{ rule: 'required' }],
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
name: 'code',
|
|
79
|
+
title: '@general:terms.common.code',
|
|
80
|
+
groupId: 'basic-info',
|
|
81
|
+
schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.text }, readonly: true },
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
name: 'orderNo',
|
|
85
|
+
title: `@${i18n}.fields.order-no.title`,
|
|
86
|
+
groupId: 'remote',
|
|
87
|
+
schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.text }, readonly: true },
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
name: 'stage',
|
|
91
|
+
title: `@${i18n}.fields.stage.title`,
|
|
92
|
+
groupId: 'remote',
|
|
93
|
+
schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.text }, readonly: true },
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
name: 'customerName',
|
|
97
|
+
title: `@${i18n}.fields.customer-name.title`,
|
|
98
|
+
groupId: 'remote',
|
|
99
|
+
schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.text }, readonly: true },
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
name: 'siteName',
|
|
103
|
+
title: `@${i18n}.fields.site-name.title`,
|
|
104
|
+
groupId: 'remote',
|
|
105
|
+
schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.text }, readonly: true },
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
name: 'connectionDisplayName',
|
|
109
|
+
title: `@${i18n}.fields.connection-display-name.title`,
|
|
110
|
+
groupId: 'basic-info',
|
|
111
|
+
options: {
|
|
112
|
+
sort: { enabled: true },
|
|
113
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
114
|
+
},
|
|
115
|
+
schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.text }, readonly: true },
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
name: 'dueDate',
|
|
119
|
+
title: `@${i18n}.fields.due-date.title`,
|
|
120
|
+
groupId: 'remote',
|
|
121
|
+
schema: { dataType: 'date', interface: { type: AXPWidgetsCatalog.dateTime }, readonly: true },
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
name: 'payloadJson',
|
|
125
|
+
title: `@${i18n}.fields.payload-json.title`,
|
|
126
|
+
groupId: 'cache',
|
|
127
|
+
schema: { dataType: 'string', visible: false, interface: { type: AXPWidgetsCatalog.largeText }, readonly: true },
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
name: 'remoteFetchedAt',
|
|
131
|
+
title: `@${i18n}.fields.remote-fetched-at.title`,
|
|
132
|
+
groupId: 'cache',
|
|
133
|
+
schema: { dataType: 'date', interface: { type: AXPWidgetsCatalog.dateTime }, readonly: true },
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
name: 'isActive',
|
|
137
|
+
title: `@${i18n}.fields.is-active.title`,
|
|
138
|
+
groupId: 'cache',
|
|
139
|
+
options: {
|
|
140
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
141
|
+
},
|
|
142
|
+
schema: {
|
|
143
|
+
dataType: 'boolean',
|
|
144
|
+
defaultValue: true,
|
|
145
|
+
interface: { type: AXPWidgetsCatalog.toggle },
|
|
146
|
+
readonly: true,
|
|
147
|
+
},
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
name: 'isLinked',
|
|
151
|
+
title: `@${i18n}.fields.is-linked.title`,
|
|
152
|
+
groupId: 'cache',
|
|
153
|
+
options: {
|
|
154
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
155
|
+
},
|
|
156
|
+
schema: {
|
|
157
|
+
dataType: 'boolean',
|
|
158
|
+
defaultValue: false,
|
|
159
|
+
interface: { type: AXPWidgetsCatalog.toggle },
|
|
160
|
+
readonly: true,
|
|
161
|
+
},
|
|
162
|
+
},
|
|
163
|
+
],
|
|
164
|
+
columns: [
|
|
165
|
+
{ name: 'name' },
|
|
166
|
+
{ name: 'connectionDisplayName' },
|
|
167
|
+
{ name: 'code' },
|
|
168
|
+
{ name: 'orderNo' },
|
|
169
|
+
{ name: 'stage' },
|
|
170
|
+
{ name: 'customerName' },
|
|
171
|
+
{ name: 'siteName' },
|
|
172
|
+
{ name: 'dueDate' },
|
|
173
|
+
{ name: 'isActive' },
|
|
174
|
+
{ name: 'isLinked' },
|
|
175
|
+
],
|
|
176
|
+
interfaces: {
|
|
177
|
+
master: {
|
|
178
|
+
list: {
|
|
179
|
+
actions: [...entityMasterCrudActions()],
|
|
180
|
+
views: [createAllQueryView({ sorts: [{ name: 'name', dir: 'asc' }] })],
|
|
181
|
+
},
|
|
182
|
+
single: {
|
|
183
|
+
title: '{{ name }}',
|
|
184
|
+
sections: [
|
|
185
|
+
{ id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
186
|
+
{ id: 'remote', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
187
|
+
{ id: 'cache', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
188
|
+
],
|
|
189
|
+
properties: [
|
|
190
|
+
{ name: 'providerId', layout: { positions: { lg: { colSpan: 4 } } } },
|
|
191
|
+
{ name: 'connectionDisplayName', layout: { positions: { lg: { colSpan: 4 } } } },
|
|
192
|
+
{ name: 'resourceType', layout: { positions: { lg: { colSpan: 4 } } } },
|
|
193
|
+
{ name: 'remoteId', layout: { positions: { lg: { colSpan: 4 } } } },
|
|
194
|
+
{ name: 'name', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
195
|
+
{ name: 'code', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
196
|
+
{ name: 'orderNo', layout: { positions: { lg: { colSpan: 4 } } } },
|
|
197
|
+
{ name: 'stage', layout: { positions: { lg: { colSpan: 4 } } } },
|
|
198
|
+
{ name: 'customerName', layout: { positions: { lg: { colSpan: 4 } } } },
|
|
199
|
+
{ name: 'siteName', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
200
|
+
{ name: 'dueDate', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
201
|
+
{ name: 'remoteFetchedAt', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
202
|
+
{ name: 'isActive', layout: { positions: { lg: { colSpan: 3 } } } },
|
|
203
|
+
{ name: 'isLinked', layout: { positions: { lg: { colSpan: 3 } } } },
|
|
204
|
+
],
|
|
205
|
+
actions: [...entityMasterRecordActions()],
|
|
206
|
+
},
|
|
207
|
+
},
|
|
208
|
+
},
|
|
209
|
+
};
|
|
210
|
+
}
|
|
211
|
+
//#endregion
|
|
212
|
+
|
|
213
|
+
export { factoryIntegrationRemoteRecord };
|
|
214
|
+
//# sourceMappingURL=acorex-platform-module-integration-management-client-contracts-entity-catalog-integration-remote-record.entity-D9oTVEHF.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-integration-management-client-contracts-entity-catalog-integration-remote-record.entity-D9oTVEHF.mjs","sources":["../../../../libs/modules/integration-management/contracts/src/entities/integration-remote-record/integration-remote-record.entity.ts"],"sourcesContent":["import { AXPWidgetsCatalog } from '@acorex-platform/framework-shared/core';\nimport {\n AXPEntity,\n createAllQueryView,\n entityMasterCrudActions,\n entityMasterRecordActions,\n} from '@acorex-platform/framework-shared/entity';\nimport { RootConfig } from '../../root-config';\n\n//#region ----- Entity Factory -----\n\nexport async function factoryIntegrationRemoteRecord(): Promise<AXPEntity | null> {\n const i18n = `${RootConfig.config.i18n}:remote-records.entities.record`;\n\n return {\n module: RootConfig.module.name,\n name: RootConfig.entities.integrationRemoteRecord.name,\n title: RootConfig.entities.integrationRemoteRecord.title,\n icon: RootConfig.entities.integrationRemoteRecord.icon,\n plugins: [\n { name: 'history' },\n {\n name: 'unique-fields',\n options: { fields: ['providerId', 'resourceType', 'remoteId'], scope: 'global' },\n },\n ],\n formats: {\n individual: RootConfig.entities.integrationRemoteRecord.title,\n plural: RootConfig.entities.integrationRemoteRecord.titlePlural,\n searchResult: { title: '{{ name }}', description: '{{ providerId }} / {{ resourceType }}' },\n },\n groups: [\n { id: 'basic-info', title: '@general:terms.interface.basic-info' },\n { id: 'remote', title: `@${i18n}.groups.remote` },\n { id: 'cache', title: `@${i18n}.groups.cache` },\n ],\n properties: [\n {\n name: 'id',\n title: 'ID',\n groupId: 'basic-info',\n schema: { dataType: 'string', visible: false, nullable: false, readonly: true, unique: { enabled: true } },\n },\n {\n name: 'providerId',\n title: `@${i18n}.fields.provider-id.title`,\n groupId: 'basic-info',\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.text }, readonly: true },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'resourceType',\n title: `@${i18n}.fields.resource-type.title`,\n groupId: 'basic-info',\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.text }, readonly: true },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'remoteId',\n title: `@${i18n}.fields.remote-id.title`,\n groupId: 'basic-info',\n schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.text }, readonly: true },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'name',\n title: '@general:terms.common.title',\n groupId: 'basic-info',\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.text }, readonly: true },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'code',\n title: '@general:terms.common.code',\n groupId: 'basic-info',\n schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.text }, readonly: true },\n },\n {\n name: 'orderNo',\n title: `@${i18n}.fields.order-no.title`,\n groupId: 'remote',\n schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.text }, readonly: true },\n },\n {\n name: 'stage',\n title: `@${i18n}.fields.stage.title`,\n groupId: 'remote',\n schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.text }, readonly: true },\n },\n {\n name: 'customerName',\n title: `@${i18n}.fields.customer-name.title`,\n groupId: 'remote',\n schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.text }, readonly: true },\n },\n {\n name: 'siteName',\n title: `@${i18n}.fields.site-name.title`,\n groupId: 'remote',\n schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.text }, readonly: true },\n },\n {\n name: 'connectionDisplayName',\n title: `@${i18n}.fields.connection-display-name.title`,\n groupId: 'basic-info',\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.text }, readonly: true },\n },\n {\n name: 'dueDate',\n title: `@${i18n}.fields.due-date.title`,\n groupId: 'remote',\n schema: { dataType: 'date', interface: { type: AXPWidgetsCatalog.dateTime }, readonly: true },\n },\n {\n name: 'payloadJson',\n title: `@${i18n}.fields.payload-json.title`,\n groupId: 'cache',\n schema: { dataType: 'string', visible: false, interface: { type: AXPWidgetsCatalog.largeText }, readonly: true },\n },\n {\n name: 'remoteFetchedAt',\n title: `@${i18n}.fields.remote-fetched-at.title`,\n groupId: 'cache',\n schema: { dataType: 'date', interface: { type: AXPWidgetsCatalog.dateTime }, readonly: true },\n },\n {\n name: 'isActive',\n title: `@${i18n}.fields.is-active.title`,\n groupId: 'cache',\n options: {\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n schema: {\n dataType: 'boolean',\n defaultValue: true,\n interface: { type: AXPWidgetsCatalog.toggle },\n readonly: true,\n },\n },\n {\n name: 'isLinked',\n title: `@${i18n}.fields.is-linked.title`,\n groupId: 'cache',\n options: {\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n schema: {\n dataType: 'boolean',\n defaultValue: false,\n interface: { type: AXPWidgetsCatalog.toggle },\n readonly: true,\n },\n },\n ],\n columns: [\n { name: 'name' },\n { name: 'connectionDisplayName' },\n { name: 'code' },\n { name: 'orderNo' },\n { name: 'stage' },\n { name: 'customerName' },\n { name: 'siteName' },\n { name: 'dueDate' },\n { name: 'isActive' },\n { name: 'isLinked' },\n ],\n interfaces: {\n master: {\n list: {\n actions: [...entityMasterCrudActions()],\n views: [createAllQueryView({ sorts: [{ name: 'name', dir: 'asc' }] })],\n },\n single: {\n title: '{{ name }}',\n sections: [\n { id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'remote', layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'cache', layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n properties: [\n { name: 'providerId', layout: { positions: { lg: { colSpan: 4 } } } },\n { name: 'connectionDisplayName', layout: { positions: { lg: { colSpan: 4 } } } },\n { name: 'resourceType', layout: { positions: { lg: { colSpan: 4 } } } },\n { name: 'remoteId', layout: { positions: { lg: { colSpan: 4 } } } },\n { name: 'name', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'code', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'orderNo', layout: { positions: { lg: { colSpan: 4 } } } },\n { name: 'stage', layout: { positions: { lg: { colSpan: 4 } } } },\n { name: 'customerName', layout: { positions: { lg: { colSpan: 4 } } } },\n { name: 'siteName', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'dueDate', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'remoteFetchedAt', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'isActive', layout: { positions: { lg: { colSpan: 3 } } } },\n { name: 'isLinked', layout: { positions: { lg: { colSpan: 3 } } } },\n ],\n actions: [...entityMasterRecordActions()],\n },\n },\n },\n };\n}\n\n//#endregion\n"],"names":[],"mappings":";;;;AASA;AAEO,eAAe,8BAA8B,GAAA;IAClD,MAAM,IAAI,GAAG,CAAA,EAAG,UAAU,CAAC,MAAM,CAAC,IAAI,CAAA,+BAAA,CAAiC;IAEvE,OAAO;AACL,QAAA,MAAM,EAAE,UAAU,CAAC,MAAM,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E,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE;AACnE,wBAAA,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE;AAClE,wBAAA,EAAE,IAAI,EAAE,iBAAiB,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE;AAC1E,wBAAA,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE;AACnE,wBAAA,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE;AACpE,qBAAA;AACD,oBAAA,OAAO,EAAE,CAAC,GAAG,yBAAyB,EAAE,CAAC;AAC1C,iBAAA;AACF,aAAA;AACF,SAAA;KACF;AACH;AAEA;;"}
|
package/fesm2022/acorex-platform-module-integration-management-client-contracts-entity-catalog.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { i as integrationManagementLocalEntityCatalog } from './acorex-platform-module-integration-management-client-contracts-entity-catalog-acorex-platform-module-integration-management-client-contracts-entity-catalog-
|
|
1
|
+
export { i as integrationManagementLocalEntityCatalog } from './acorex-platform-module-integration-management-client-contracts-entity-catalog-acorex-platform-module-integration-management-client-contracts-entity-catalog-k3HR1biJ.mjs';
|
|
2
2
|
//# sourceMappingURL=acorex-platform-module-integration-management-client-contracts-entity-catalog.mjs.map
|
|
@@ -34,6 +34,13 @@ const RootConfig = {
|
|
|
34
34
|
titlePlural: `@${config.i18n}:applications.entities.application.plural`,
|
|
35
35
|
icon: 'fa-light fa-shield-keyhole',
|
|
36
36
|
},
|
|
37
|
+
integrationRemoteRecord: {
|
|
38
|
+
name: 'IntegrationRemoteRecord',
|
|
39
|
+
source: `${config.module}.IntegrationRemoteRecord`,
|
|
40
|
+
title: `@${config.i18n}:remote-records.entities.record.title`,
|
|
41
|
+
titlePlural: `@${config.i18n}:remote-records.entities.record.plural`,
|
|
42
|
+
icon: 'fa-light fa-cloud-arrow-down',
|
|
43
|
+
},
|
|
37
44
|
},
|
|
38
45
|
queries: {
|
|
39
46
|
dashboard: {
|
|
@@ -43,6 +50,17 @@ const RootConfig = {
|
|
|
43
50
|
};
|
|
44
51
|
//#endregion
|
|
45
52
|
|
|
53
|
+
const IntegrationManagementManifest = {
|
|
54
|
+
name: RootConfig.module.name,
|
|
55
|
+
version: '1.0.0',
|
|
56
|
+
title: RootConfig.module.title,
|
|
57
|
+
icon: RootConfig.module.icon,
|
|
58
|
+
i18n: RootConfig.config.i18n,
|
|
59
|
+
type: 'platform',
|
|
60
|
+
domain: 'platform',
|
|
61
|
+
required: false,
|
|
62
|
+
};
|
|
63
|
+
|
|
46
64
|
/**
|
|
47
65
|
* Administration capabilities used by this module.
|
|
48
66
|
* Domain capability keys for this module. Root groups live in `AXPCommonPermissionGroupKeys` (common contracts).
|
|
@@ -155,9 +173,18 @@ function resolveAppRouteName(applicationName, ...fallbacks) {
|
|
|
155
173
|
|
|
156
174
|
//#endregion
|
|
157
175
|
|
|
176
|
+
//#region ----- Integration remote record (cache entity) -----
|
|
177
|
+
//#endregion
|
|
178
|
+
|
|
179
|
+
//#region ----- Integration remote record resource constants -----
|
|
180
|
+
const AXM_INTEGRATION_RESOURCE_JOB = 'job';
|
|
181
|
+
const AXM_INTEGRATION_RESOURCE_CUSTOMER = 'customer';
|
|
182
|
+
const AXM_INTEGRATION_RESOURCE_SITE = 'site';
|
|
183
|
+
//#endregion
|
|
184
|
+
|
|
158
185
|
/**
|
|
159
186
|
* Generated bundle index. Do not edit.
|
|
160
187
|
*/
|
|
161
188
|
|
|
162
|
-
export { AXMIntegrationManagementCommandKeys, AXMIntegrationManagementMenuKeys, AXMIntegrationManagementPermissionKeys, AXMIntegrationManagementQueryKeys, AXPAdministrationPermissionKeys, RootConfig, buildIntegrationOAuthCallbackPath, buildIntegrationOAuthCallbackUrl, buildTenantIntegrationsPagePath, resolveAppRouteName };
|
|
189
|
+
export { AXMIntegrationManagementCommandKeys, AXMIntegrationManagementMenuKeys, AXMIntegrationManagementPermissionKeys, AXMIntegrationManagementQueryKeys, AXM_INTEGRATION_RESOURCE_CUSTOMER, AXM_INTEGRATION_RESOURCE_JOB, AXM_INTEGRATION_RESOURCE_SITE, AXPAdministrationPermissionKeys, IntegrationManagementManifest, RootConfig, buildIntegrationOAuthCallbackPath, buildIntegrationOAuthCallbackUrl, buildTenantIntegrationsPagePath, resolveAppRouteName };
|
|
163
190
|
//# sourceMappingURL=acorex-platform-module-integration-management-client-contracts.mjs.map
|