@acorex-platform/module-platform-management-client 0.0.32 → 0.0.37
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-platform-management-client-acorex-platform-module-platform-management-client-Dhg_zr0Y.mjs → acorex-platform-module-platform-management-client-acorex-platform-module-platform-management-client-BGVhn6wv.mjs} +134 -10
- package/fesm2022/acorex-platform-module-platform-management-client-acorex-platform-module-platform-management-client-BGVhn6wv.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-platform-management-client-contracts-entities-command-definition.mjs +273 -0
- package/fesm2022/acorex-platform-module-platform-management-client-contracts-entities-command-definition.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-platform-management-client-contracts-entities-entity-access-policy.mjs +235 -0
- package/fesm2022/acorex-platform-module-platform-management-client-contracts-entities-entity-access-policy.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-platform-management-client-contracts-entities-entity-definition.mjs +249 -0
- package/fesm2022/acorex-platform-module-platform-management-client-contracts-entities-entity-definition.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-platform-management-client-contracts-entities-plugin-definition.mjs +258 -0
- package/fesm2022/acorex-platform-module-platform-management-client-contracts-entities-plugin-definition.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-platform-management-client-contracts-entities-query-definition.mjs +477 -0
- package/fesm2022/acorex-platform-module-platform-management-client-contracts-entities-query-definition.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-platform-management-client-contracts-entities-token.mjs +797 -0
- package/fesm2022/acorex-platform-module-platform-management-client-contracts-entities-token.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-platform-management-client-contracts-entities-widget.mjs +305 -0
- package/fesm2022/acorex-platform-module-platform-management-client-contracts-entities-widget.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-platform-management-client-contracts-entity-catalog-acorex-platform-module-platform-management-client-contracts-entity-catalog-BOwC5Ns9.mjs +116 -0
- package/fesm2022/acorex-platform-module-platform-management-client-contracts-entity-catalog-acorex-platform-module-platform-management-client-contracts-entity-catalog-BOwC5Ns9.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-platform-management-client-contracts-entity-catalog-command-definition.entity-CdvQlwAk.mjs +182 -0
- package/fesm2022/acorex-platform-module-platform-management-client-contracts-entity-catalog-command-definition.entity-CdvQlwAk.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-platform-management-client-contracts-entity-catalog-entity-access-policy.entity-Dye4aSKE.mjs +144 -0
- package/fesm2022/acorex-platform-module-platform-management-client-contracts-entity-catalog-entity-access-policy.entity-Dye4aSKE.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-platform-management-client-contracts-entity-catalog-entity-definition.entity-CcJ58vfr.mjs +158 -0
- package/fesm2022/acorex-platform-module-platform-management-client-contracts-entity-catalog-entity-definition.entity-CcJ58vfr.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-platform-management-client-contracts-entity-catalog-plugin-definition.entity-CwU5hMjI.mjs +167 -0
- package/fesm2022/acorex-platform-module-platform-management-client-contracts-entity-catalog-plugin-definition.entity-CwU5hMjI.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-platform-management-client-contracts-entity-catalog-query-definition.entity-DGK684Q1.mjs +386 -0
- package/fesm2022/acorex-platform-module-platform-management-client-contracts-entity-catalog-query-definition.entity-DGK684Q1.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-platform-management-client-contracts-entity-catalog-token.entity-DI_k6-ha.mjs +706 -0
- package/fesm2022/acorex-platform-module-platform-management-client-contracts-entity-catalog-token.entity-DI_k6-ha.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-platform-management-client-contracts-entity-catalog-widget.entity-C18msniH.mjs +214 -0
- package/fesm2022/acorex-platform-module-platform-management-client-contracts-entity-catalog-widget.entity-C18msniH.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-platform-management-client-contracts-entity-catalog.mjs +2 -0
- package/fesm2022/acorex-platform-module-platform-management-client-contracts-entity-catalog.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-platform-management-client-contracts.mjs.map +1 -1
- package/fesm2022/{acorex-platform-module-platform-management-client-create-user-query.command-BZMFLEua.mjs → acorex-platform-module-platform-management-client-create-user-query.command-9Ku7C1BC.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-platform-management-client-create-user-query.command-BZMFLEua.mjs.map → acorex-platform-module-platform-management-client-create-user-query.command-9Ku7C1BC.mjs.map} +1 -1
- package/fesm2022/acorex-platform-module-platform-management-client-create-user-query.types-DdygAori.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-platform-management-client-customize-menu.command-2319iHsD.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-platform-management-client-data-list-pick-entity-item.command-CJVpqPmY.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-platform-management-client-entity-master-actions-for-ai.util-DmGyoy9o.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-platform-management-client-execute-token.command-B_xwW9lb.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-platform-management-client-list-catalog-scopes.query-ByhDTWE6.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-platform-management-client-list-editor-widgets.query-DITPMmbw.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-platform-management-client-list-platform-navigation-for-ai.query-2oHMITw-.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-platform-management-client-list-registered-entities.query-DjStd3a8.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-platform-management-client-list-registered-queries.query-C-IfkTel.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-platform-management-client-local-entities.mjs +35 -0
- package/fesm2022/acorex-platform-module-platform-management-client-local-entities.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-platform-management-client-menu-list.component-DiKmJva5.mjs → acorex-platform-module-platform-management-client-menu-list.component-uF5w1c7t.mjs} +4 -4
- package/fesm2022/{acorex-platform-module-platform-management-client-menu-list.component-DiKmJva5.mjs.map → acorex-platform-module-platform-management-client-menu-list.component-uF5w1c7t.mjs.map} +1 -1
- package/fesm2022/acorex-platform-module-platform-management-client-platform-console-charts.queries-CQ34R13-.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-platform-management-client-platform-console-data.util-BIkULtKk.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-platform-management-client-platform-console-kpi.queries-BkPdhVq_.mjs.map +1 -1
- package/fesm2022/{acorex-platform-module-platform-management-client-rest-api-generator-widget-column.component-BR1FlwWM.mjs → acorex-platform-module-platform-management-client-rest-api-generator-widget-column.component-B0g6dweQ.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-platform-management-client-rest-api-generator-widget-column.component-BR1FlwWM.mjs.map → acorex-platform-module-platform-management-client-rest-api-generator-widget-column.component-B0g6dweQ.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-platform-management-client-rest-api-generator-widget-edit.component-DwPKSgdP.mjs → acorex-platform-module-platform-management-client-rest-api-generator-widget-edit.component-A0v5MWRU.mjs} +3 -3
- package/fesm2022/{acorex-platform-module-platform-management-client-rest-api-generator-widget-edit.component-DwPKSgdP.mjs.map → acorex-platform-module-platform-management-client-rest-api-generator-widget-edit.component-A0v5MWRU.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-platform-management-client-rest-api-generator-widget-view.component-DPhBXqGo.mjs → acorex-platform-module-platform-management-client-rest-api-generator-widget-view.component-RR5zcsnI.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-platform-management-client-rest-api-generator-widget-view.component-DPhBXqGo.mjs.map → acorex-platform-module-platform-management-client-rest-api-generator-widget-view.component-RR5zcsnI.mjs.map} +1 -1
- package/fesm2022/acorex-platform-module-platform-management-client.mjs +1 -1
- package/package.json +39 -3
- package/types/acorex-platform-module-platform-management-client-contracts-entities-command-definition.d.ts +5 -0
- package/types/acorex-platform-module-platform-management-client-contracts-entities-entity-access-policy.d.ts +5 -0
- package/types/acorex-platform-module-platform-management-client-contracts-entities-entity-definition.d.ts +5 -0
- package/types/acorex-platform-module-platform-management-client-contracts-entities-plugin-definition.d.ts +5 -0
- package/types/acorex-platform-module-platform-management-client-contracts-entities-query-definition.d.ts +5 -0
- package/types/acorex-platform-module-platform-management-client-contracts-entities-token.d.ts +5 -0
- package/types/acorex-platform-module-platform-management-client-contracts-entities-widget.d.ts +5 -0
- package/types/acorex-platform-module-platform-management-client-contracts-entity-catalog.d.ts +10 -0
- package/types/acorex-platform-module-platform-management-client-local-entities.d.ts +12 -0
- package/fesm2022/acorex-platform-module-platform-management-client-acorex-platform-module-platform-management-client-Dhg_zr0Y.mjs.map +0 -1
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
import { AXPWidgetsCatalog, AXPWidgetsList } from '@acorex-platform/framework-shared/core';
|
|
2
|
+
import { entityMasterRecordActions, entityMasterViewAction, createAllQueryView } from '@acorex-platform/framework-shared/entity';
|
|
3
|
+
import { R as RootConfig } from './acorex-platform-module-platform-management-client-contracts-entity-catalog-acorex-platform-module-platform-management-client-contracts-entity-catalog-BOwC5Ns9.mjs';
|
|
4
|
+
|
|
5
|
+
const LIST_FILTER_SORT = {
|
|
6
|
+
filter: { inline: { enabled: true }, advance: { enabled: true } },
|
|
7
|
+
sort: { enabled: true },
|
|
8
|
+
};
|
|
9
|
+
const ADVANCE_FILTER = {
|
|
10
|
+
filter: { advance: { enabled: true } },
|
|
11
|
+
};
|
|
12
|
+
function pluginFieldTitle(i18n, field) {
|
|
13
|
+
return `@${i18n}:plugin-definitions.entities.plugin-definition.fields.${field}.title`;
|
|
14
|
+
}
|
|
15
|
+
function buildPluginDefinitionEntity() {
|
|
16
|
+
const i18n = RootConfig.config.i18n;
|
|
17
|
+
return {
|
|
18
|
+
module: RootConfig.module.name,
|
|
19
|
+
name: RootConfig.entities.pluginDefinition.name,
|
|
20
|
+
title: RootConfig.entities.pluginDefinition.title,
|
|
21
|
+
icon: RootConfig.entities.pluginDefinition.icon,
|
|
22
|
+
formats: {
|
|
23
|
+
individual: RootConfig.entities.pluginDefinition.title,
|
|
24
|
+
plural: RootConfig.entities.pluginDefinition.titlePlural,
|
|
25
|
+
searchResult: {
|
|
26
|
+
title: '{{ catalogTitle || name }}',
|
|
27
|
+
description: '{{ description }}',
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
plugins: [],
|
|
31
|
+
groups: [
|
|
32
|
+
{
|
|
33
|
+
id: 'basic-info',
|
|
34
|
+
title: `@${i18n}:plugin-definitions.entities.plugin-definition.groups.basic-info`,
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
id: 'schema',
|
|
38
|
+
title: `@${i18n}:plugin-definitions.entities.plugin-definition.groups.schema`,
|
|
39
|
+
},
|
|
40
|
+
],
|
|
41
|
+
properties: [
|
|
42
|
+
{
|
|
43
|
+
name: 'name',
|
|
44
|
+
title: '@general:terms.common.name',
|
|
45
|
+
groupId: 'basic-info',
|
|
46
|
+
schema: {
|
|
47
|
+
dataType: 'string',
|
|
48
|
+
readonly: true,
|
|
49
|
+
interface: { type: AXPWidgetsCatalog.text },
|
|
50
|
+
},
|
|
51
|
+
options: LIST_FILTER_SORT,
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
name: 'catalogTitle',
|
|
55
|
+
title: '@general:terms.common.title',
|
|
56
|
+
groupId: 'basic-info',
|
|
57
|
+
schema: {
|
|
58
|
+
dataType: 'string',
|
|
59
|
+
readonly: true,
|
|
60
|
+
interface: { type: AXPWidgetsCatalog.text },
|
|
61
|
+
},
|
|
62
|
+
options: LIST_FILTER_SORT,
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
name: 'description',
|
|
66
|
+
title: '@general:terms.common.description',
|
|
67
|
+
groupId: 'basic-info',
|
|
68
|
+
schema: {
|
|
69
|
+
dataType: 'string',
|
|
70
|
+
readonly: true,
|
|
71
|
+
interface: { type: AXPWidgetsCatalog.largeText, options: { rows: 3 } },
|
|
72
|
+
},
|
|
73
|
+
options: ADVANCE_FILTER,
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
name: 'sourceModule',
|
|
77
|
+
title: pluginFieldTitle(i18n, 'source-module'),
|
|
78
|
+
groupId: 'basic-info',
|
|
79
|
+
schema: {
|
|
80
|
+
dataType: 'string',
|
|
81
|
+
readonly: true,
|
|
82
|
+
interface: { type: AXPWidgetsCatalog.text },
|
|
83
|
+
},
|
|
84
|
+
options: LIST_FILTER_SORT,
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
name: 'order',
|
|
88
|
+
title: pluginFieldTitle(i18n, 'order'),
|
|
89
|
+
groupId: 'basic-info',
|
|
90
|
+
schema: {
|
|
91
|
+
dataType: 'number',
|
|
92
|
+
readonly: true,
|
|
93
|
+
interface: { type: AXPWidgetsCatalog.number },
|
|
94
|
+
},
|
|
95
|
+
options: { ...LIST_FILTER_SORT, filter: { inline: { enabled: false }, advance: { enabled: true } } },
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
name: 'optionDefinitions',
|
|
99
|
+
title: pluginFieldTitle(i18n, 'options'),
|
|
100
|
+
groupId: 'schema',
|
|
101
|
+
schema: {
|
|
102
|
+
dataType: 'array',
|
|
103
|
+
readonly: true,
|
|
104
|
+
interface: { type: AXPWidgetsList.Advanced.CodeEditor, options: { language: 'json', readOnly: true, height: 'h-96' } },
|
|
105
|
+
},
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
name: 'contributionsJson',
|
|
109
|
+
title: pluginFieldTitle(i18n, 'contributions'),
|
|
110
|
+
groupId: 'schema',
|
|
111
|
+
schema: {
|
|
112
|
+
dataType: 'string',
|
|
113
|
+
readonly: true,
|
|
114
|
+
interface: { type: AXPWidgetsList.Advanced.CodeEditor, options: { language: 'json', readOnly: true, height: 'h-96' } },
|
|
115
|
+
},
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
name: 'aiMetadataJson',
|
|
119
|
+
title: pluginFieldTitle(i18n, 'ai-metadata'),
|
|
120
|
+
groupId: 'schema',
|
|
121
|
+
schema: {
|
|
122
|
+
dataType: 'string',
|
|
123
|
+
readonly: true,
|
|
124
|
+
interface: { type: AXPWidgetsList.Advanced.CodeEditor, options: { language: 'json', readOnly: true, height: 'h-96' } },
|
|
125
|
+
},
|
|
126
|
+
},
|
|
127
|
+
],
|
|
128
|
+
columns: [
|
|
129
|
+
{ name: 'catalogTitle', title: '@general:terms.common.title', showAs: { type: AXPWidgetsCatalog.text } },
|
|
130
|
+
{ name: 'name', title: '@general:terms.common.name', showAs: { type: AXPWidgetsCatalog.text } },
|
|
131
|
+
{
|
|
132
|
+
name: 'sourceModule',
|
|
133
|
+
title: pluginFieldTitle(i18n, 'source-module'),
|
|
134
|
+
},
|
|
135
|
+
{ name: 'order', title: pluginFieldTitle(i18n, 'order') },
|
|
136
|
+
],
|
|
137
|
+
interfaces: {
|
|
138
|
+
master: {
|
|
139
|
+
list: {
|
|
140
|
+
views: [createAllQueryView({ sorts: [{ name: 'catalogTitle', dir: 'asc' }] })],
|
|
141
|
+
actions: [entityMasterViewAction()],
|
|
142
|
+
},
|
|
143
|
+
single: {
|
|
144
|
+
title: '{{ catalogTitle || name }}',
|
|
145
|
+
sections: [{ id: 'basic-info' }, { id: 'schema' }],
|
|
146
|
+
properties: [
|
|
147
|
+
{ name: 'name', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
148
|
+
{ name: 'catalogTitle', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
149
|
+
{ name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
150
|
+
{ name: 'sourceModule', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
151
|
+
{ name: 'order', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
152
|
+
{ name: 'optionDefinitions', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
153
|
+
{ name: 'contributionsJson', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
154
|
+
{ name: 'aiMetadataJson', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
155
|
+
],
|
|
156
|
+
actions: [...entityMasterRecordActions()],
|
|
157
|
+
},
|
|
158
|
+
},
|
|
159
|
+
},
|
|
160
|
+
};
|
|
161
|
+
}
|
|
162
|
+
async function pluginDefinitionEntityFactory() {
|
|
163
|
+
return buildPluginDefinitionEntity();
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
export { buildPluginDefinitionEntity, pluginDefinitionEntityFactory };
|
|
167
|
+
//# sourceMappingURL=acorex-platform-module-platform-management-client-contracts-entity-catalog-plugin-definition.entity-CwU5hMjI.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-platform-management-client-contracts-entity-catalog-plugin-definition.entity-CwU5hMjI.mjs","sources":["../../../../libs/modules/platform-management/contracts/src/entities/plugin-definition/plugin-definition.entity.ts"],"sourcesContent":["import { AXPWidgetsCatalog, AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport {\n AXPEntity,\n createAllQueryView,\n entityMasterRecordActions,\n entityMasterViewAction,\n} from '@acorex-platform/framework-shared/entity';\nimport { RootConfig } from '../../root-config';\n\nconst LIST_FILTER_SORT = {\n filter: { inline: { enabled: true }, advance: { enabled: true } },\n sort: { enabled: true },\n} as const;\n\nconst ADVANCE_FILTER = {\n filter: { advance: { enabled: true } },\n} as const;\n\nfunction pluginFieldTitle(i18n: string, field: string): string {\n return `@${i18n}:plugin-definitions.entities.plugin-definition.fields.${field}.title`;\n}\n\nexport function buildPluginDefinitionEntity(): AXPEntity {\n const i18n = RootConfig.config.i18n;\n\n return {\n module: RootConfig.module.name,\n name: RootConfig.entities.pluginDefinition.name,\n title: RootConfig.entities.pluginDefinition.title,\n icon: RootConfig.entities.pluginDefinition.icon,\n formats: {\n individual: RootConfig.entities.pluginDefinition.title,\n plural: RootConfig.entities.pluginDefinition.titlePlural,\n searchResult: {\n title: '{{ catalogTitle || name }}',\n description: '{{ description }}',\n },\n },\n plugins: [],\n groups: [\n {\n id: 'basic-info',\n title: `@${i18n}:plugin-definitions.entities.plugin-definition.groups.basic-info`,\n },\n {\n id: 'schema',\n title: `@${i18n}:plugin-definitions.entities.plugin-definition.groups.schema`,\n },\n ],\n properties: [\n {\n name: 'name',\n title: '@general:terms.common.name',\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n readonly: true,\n interface: { type: AXPWidgetsCatalog.text },\n },\n options: LIST_FILTER_SORT,\n },\n {\n name: 'catalogTitle',\n title: '@general:terms.common.title',\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n readonly: true,\n interface: { type: AXPWidgetsCatalog.text },\n },\n options: LIST_FILTER_SORT,\n },\n {\n name: 'description',\n title: '@general:terms.common.description',\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n readonly: true,\n interface: { type: AXPWidgetsCatalog.largeText, options: { rows: 3 } },\n },\n options: ADVANCE_FILTER,\n },\n {\n name: 'sourceModule',\n title: pluginFieldTitle(i18n, 'source-module'),\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n readonly: true,\n interface: { type: AXPWidgetsCatalog.text },\n },\n options: LIST_FILTER_SORT,\n },\n {\n name: 'order',\n title: pluginFieldTitle(i18n, 'order'),\n groupId: 'basic-info',\n schema: {\n dataType: 'number',\n readonly: true,\n interface: { type: AXPWidgetsCatalog.number },\n },\n options: { ...LIST_FILTER_SORT, filter: { inline: { enabled: false }, advance: { enabled: true } } },\n },\n {\n name: 'optionDefinitions',\n title: pluginFieldTitle(i18n, 'options'),\n groupId: 'schema',\n schema: {\n dataType: 'array',\n readonly: true,\n interface: { type: AXPWidgetsList.Advanced.CodeEditor, options: { language: 'json', readOnly: true, height: 'h-96' } },\n },\n },\n {\n name: 'contributionsJson',\n title: pluginFieldTitle(i18n, 'contributions'),\n groupId: 'schema',\n schema: {\n dataType: 'string',\n readonly: true,\n interface: { type: AXPWidgetsList.Advanced.CodeEditor, options: { language: 'json', readOnly: true, height: 'h-96' } },\n },\n },\n {\n name: 'aiMetadataJson',\n title: pluginFieldTitle(i18n, 'ai-metadata'),\n groupId: 'schema',\n schema: {\n dataType: 'string',\n readonly: true,\n interface: { type: AXPWidgetsList.Advanced.CodeEditor, options: { language: 'json', readOnly: true, height: 'h-96' } },\n },\n },\n ],\n columns: [\n { name: 'catalogTitle', title: '@general:terms.common.title', showAs: { type: AXPWidgetsCatalog.text } },\n { name: 'name', title: '@general:terms.common.name', showAs: { type: AXPWidgetsCatalog.text } },\n {\n name: 'sourceModule',\n title: pluginFieldTitle(i18n, 'source-module'),\n },\n { name: 'order', title: pluginFieldTitle(i18n, 'order') },\n ],\n interfaces: {\n master: {\n list: {\n views: [createAllQueryView({ sorts: [{ name: 'catalogTitle', dir: 'asc' }] })],\n actions: [entityMasterViewAction()],\n },\n single: {\n title: '{{ catalogTitle || name }}',\n sections: [{ id: 'basic-info' }, { id: 'schema' }],\n properties: [\n { name: 'name', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'catalogTitle', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'sourceModule', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'order', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'optionDefinitions', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'contributionsJson', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'aiMetadataJson', layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n actions: [...entityMasterRecordActions()],\n },\n },\n },\n };\n\n}\n\nexport async function pluginDefinitionEntityFactory(): Promise<AXPEntity | null> {\n return buildPluginDefinitionEntity();\n}\n"],"names":[],"mappings":";;;;AASA,MAAM,gBAAgB,GAAG;AACvB,IAAA,MAAM,EAAE,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE,OAAO,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE;AACjE,IAAA,IAAI,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE;CACf;AAEV,MAAM,cAAc,GAAG;IACrB,MAAM,EAAE,EAAE,OAAO,EAAE,E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E,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE;AAC7E,wBAAA,EAAE,IAAI,EAAE,gBAAgB,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE;AAC3E,qBAAA;AACD,oBAAA,OAAO,EAAE,CAAC,GAAG,yBAAyB,EAAE,CAAC;AAC1C,iBAAA;AACF,aAAA;AACF,SAAA;KACF;AAEH;AAEO,eAAe,6BAA6B,GAAA;IACjD,OAAO,2BAA2B,EAAE;AACtC;;"}
|
|
@@ -0,0 +1,386 @@
|
|
|
1
|
+
import { AXPSystemActionType, AXPWidgetsCatalog, AXPWidgetsList } from '@acorex-platform/framework-shared/core';
|
|
2
|
+
import { AXPEntityCommandScope, entityMasterEditAction, entityMasterRecordActions, entityMasterCrudActions, createAllQueryView, createQueryView } from '@acorex-platform/framework-shared/entity';
|
|
3
|
+
import { R as RootConfig } from './acorex-platform-module-platform-management-client-contracts-entity-catalog-acorex-platform-module-platform-management-client-contracts-entity-catalog-BOwC5Ns9.mjs';
|
|
4
|
+
|
|
5
|
+
//#region ----- Entity -----
|
|
6
|
+
const LIST_FILTER_SORT = {
|
|
7
|
+
filter: { inline: { enabled: true }, advance: { enabled: true } },
|
|
8
|
+
sort: { enabled: true },
|
|
9
|
+
};
|
|
10
|
+
const ADVANCE_FILTER = {
|
|
11
|
+
filter: { advance: { enabled: true } },
|
|
12
|
+
};
|
|
13
|
+
function queryFieldTitle(i18n, field) {
|
|
14
|
+
return `@${i18n}:query-definitions.entities.query-definition.fields.${field}.title`;
|
|
15
|
+
}
|
|
16
|
+
function queryOptionText(i18n, field, option) {
|
|
17
|
+
return `@${i18n}:query-definitions.entities.query-definition.fields.${field}.options.${option}`;
|
|
18
|
+
}
|
|
19
|
+
const QUERY_FORM_PROPERTIES = [
|
|
20
|
+
{ name: 'name', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
21
|
+
{ name: 'catalogTitle', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
22
|
+
{ name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
23
|
+
{ name: 'executionMode', layout: { positions: { lg: { colSpan: 4 } } } },
|
|
24
|
+
{ name: 'kind', layout: { positions: { lg: { colSpan: 4 } } } },
|
|
25
|
+
{ name: 'resultType', layout: { positions: { lg: { colSpan: 4 } } } },
|
|
26
|
+
{ name: 'valueType', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
27
|
+
{ name: 'byKeyQuery', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
28
|
+
{ name: 'capabilities', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
29
|
+
{ name: 'binding', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
30
|
+
{ name: 'args', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
31
|
+
{ name: 'filter', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
32
|
+
{ name: 'sort', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
33
|
+
{ name: 'paging', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
34
|
+
{ name: 'columns', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
35
|
+
{ name: 'aiMetadataJson', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
36
|
+
];
|
|
37
|
+
function buildQueryDefinitionEntity() {
|
|
38
|
+
const i18n = RootConfig.config.i18n;
|
|
39
|
+
return {
|
|
40
|
+
module: RootConfig.module.name,
|
|
41
|
+
name: RootConfig.entities.queryDefinition.name,
|
|
42
|
+
title: RootConfig.entities.queryDefinition.title,
|
|
43
|
+
icon: RootConfig.entities.queryDefinition.icon,
|
|
44
|
+
formats: {
|
|
45
|
+
individual: RootConfig.entities.queryDefinition.title,
|
|
46
|
+
plural: RootConfig.entities.queryDefinition.titlePlural,
|
|
47
|
+
searchResult: {
|
|
48
|
+
title: '{{ catalogTitle || name }}',
|
|
49
|
+
description: '{{ description }}',
|
|
50
|
+
},
|
|
51
|
+
},
|
|
52
|
+
plugins: [],
|
|
53
|
+
groups: [
|
|
54
|
+
{
|
|
55
|
+
id: 'basic-info',
|
|
56
|
+
title: `@${i18n}:query-definitions.entities.query-definition.groups.basic-info`,
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
id: 'schema',
|
|
60
|
+
title: `@${i18n}:query-definitions.entities.query-definition.groups.schema`,
|
|
61
|
+
},
|
|
62
|
+
],
|
|
63
|
+
properties: [
|
|
64
|
+
{
|
|
65
|
+
name: 'name',
|
|
66
|
+
title: '@general:terms.common.name',
|
|
67
|
+
groupId: 'basic-info',
|
|
68
|
+
schema: {
|
|
69
|
+
dataType: 'string',
|
|
70
|
+
interface: { type: AXPWidgetsCatalog.text },
|
|
71
|
+
},
|
|
72
|
+
options: LIST_FILTER_SORT,
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
name: 'catalogTitle',
|
|
76
|
+
title: '@general:terms.common.title',
|
|
77
|
+
groupId: 'basic-info',
|
|
78
|
+
schema: {
|
|
79
|
+
dataType: 'string',
|
|
80
|
+
interface: { type: AXPWidgetsCatalog.text },
|
|
81
|
+
},
|
|
82
|
+
options: LIST_FILTER_SORT,
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
name: 'description',
|
|
86
|
+
title: '@general:terms.common.description',
|
|
87
|
+
groupId: 'basic-info',
|
|
88
|
+
schema: {
|
|
89
|
+
dataType: 'string',
|
|
90
|
+
interface: { type: AXPWidgetsCatalog.largeText, options: { rows: 3 } },
|
|
91
|
+
},
|
|
92
|
+
options: ADVANCE_FILTER,
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
name: 'executionMode',
|
|
96
|
+
title: queryFieldTitle(i18n, 'execution-mode'),
|
|
97
|
+
groupId: 'basic-info',
|
|
98
|
+
schema: {
|
|
99
|
+
dataType: 'string',
|
|
100
|
+
interface: {
|
|
101
|
+
type: AXPWidgetsCatalog.select,
|
|
102
|
+
options: {
|
|
103
|
+
valueField: 'value',
|
|
104
|
+
textField: 'text',
|
|
105
|
+
dataSource: [
|
|
106
|
+
{ value: 'frontend', text: queryOptionText(i18n, 'execution-mode', 'frontend') },
|
|
107
|
+
{ value: 'backend', text: queryOptionText(i18n, 'execution-mode', 'backend') },
|
|
108
|
+
{ value: 'both', text: queryOptionText(i18n, 'execution-mode', 'both') },
|
|
109
|
+
],
|
|
110
|
+
},
|
|
111
|
+
},
|
|
112
|
+
},
|
|
113
|
+
options: LIST_FILTER_SORT,
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
name: 'kind',
|
|
117
|
+
title: queryFieldTitle(i18n, 'kind'),
|
|
118
|
+
groupId: 'basic-info',
|
|
119
|
+
schema: {
|
|
120
|
+
dataType: 'string',
|
|
121
|
+
interface: {
|
|
122
|
+
type: AXPWidgetsCatalog.select,
|
|
123
|
+
options: {
|
|
124
|
+
valueField: 'value',
|
|
125
|
+
textField: 'text',
|
|
126
|
+
dataSource: [
|
|
127
|
+
{ value: 'value', text: queryOptionText(i18n, 'kind', 'value') },
|
|
128
|
+
{ value: 'object', text: queryOptionText(i18n, 'kind', 'object') },
|
|
129
|
+
{ value: 'collection', text: queryOptionText(i18n, 'kind', 'collection') },
|
|
130
|
+
],
|
|
131
|
+
},
|
|
132
|
+
},
|
|
133
|
+
},
|
|
134
|
+
options: LIST_FILTER_SORT,
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
name: 'resultType',
|
|
138
|
+
title: queryFieldTitle(i18n, 'result-type'),
|
|
139
|
+
groupId: 'basic-info',
|
|
140
|
+
schema: {
|
|
141
|
+
dataType: 'string',
|
|
142
|
+
interface: { type: AXPWidgetsCatalog.text },
|
|
143
|
+
},
|
|
144
|
+
options: LIST_FILTER_SORT,
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
name: 'valueType',
|
|
148
|
+
title: queryFieldTitle(i18n, 'value-type'),
|
|
149
|
+
groupId: 'basic-info',
|
|
150
|
+
schema: {
|
|
151
|
+
dataType: 'string',
|
|
152
|
+
interface: {
|
|
153
|
+
type: AXPWidgetsCatalog.select,
|
|
154
|
+
options: {
|
|
155
|
+
valueField: 'value',
|
|
156
|
+
textField: 'text',
|
|
157
|
+
dataSource: [
|
|
158
|
+
{ value: 'string', text: queryOptionText(i18n, 'value-type', 'string') },
|
|
159
|
+
{ value: 'number', text: queryOptionText(i18n, 'value-type', 'number') },
|
|
160
|
+
{ value: 'boolean', text: queryOptionText(i18n, 'value-type', 'boolean') },
|
|
161
|
+
{ value: 'date', text: queryOptionText(i18n, 'value-type', 'date') },
|
|
162
|
+
{ value: 'datetime', text: queryOptionText(i18n, 'value-type', 'datetime') },
|
|
163
|
+
{ value: 'json', text: queryOptionText(i18n, 'value-type', 'json') },
|
|
164
|
+
],
|
|
165
|
+
},
|
|
166
|
+
},
|
|
167
|
+
},
|
|
168
|
+
options: LIST_FILTER_SORT,
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
name: 'byKeyQuery',
|
|
172
|
+
title: queryFieldTitle(i18n, 'by-key-query'),
|
|
173
|
+
groupId: 'basic-info',
|
|
174
|
+
schema: {
|
|
175
|
+
dataType: 'string',
|
|
176
|
+
interface: { type: AXPWidgetsCatalog.text },
|
|
177
|
+
},
|
|
178
|
+
options: ADVANCE_FILTER,
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
name: 'capabilities',
|
|
182
|
+
title: queryFieldTitle(i18n, 'capabilities'),
|
|
183
|
+
groupId: 'basic-info',
|
|
184
|
+
schema: {
|
|
185
|
+
dataType: 'array',
|
|
186
|
+
interface: { type: AXPWidgetsList.Editors.TagEditor },
|
|
187
|
+
},
|
|
188
|
+
options: ADVANCE_FILTER,
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
name: 'binding',
|
|
192
|
+
title: queryFieldTitle(i18n, 'binding'),
|
|
193
|
+
groupId: 'schema',
|
|
194
|
+
schema: {
|
|
195
|
+
dataType: 'object',
|
|
196
|
+
interface: { type: AXPWidgetsList.Advanced.CodeEditor, options: { language: 'json', height: 'h-96' } },
|
|
197
|
+
},
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
name: 'args',
|
|
201
|
+
title: queryFieldTitle(i18n, 'args'),
|
|
202
|
+
groupId: 'schema',
|
|
203
|
+
schema: {
|
|
204
|
+
dataType: 'object',
|
|
205
|
+
interface: { type: AXPWidgetsList.Advanced.CodeEditor, options: { language: 'json', height: 'h-96' } },
|
|
206
|
+
},
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
name: 'filter',
|
|
210
|
+
title: queryFieldTitle(i18n, 'filter'),
|
|
211
|
+
groupId: 'schema',
|
|
212
|
+
schema: {
|
|
213
|
+
dataType: 'object',
|
|
214
|
+
interface: { type: AXPWidgetsList.Advanced.CodeEditor, options: { language: 'json', height: 'h-96' } },
|
|
215
|
+
},
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
name: 'sort',
|
|
219
|
+
title: queryFieldTitle(i18n, 'sort'),
|
|
220
|
+
groupId: 'schema',
|
|
221
|
+
schema: {
|
|
222
|
+
dataType: 'object',
|
|
223
|
+
interface: { type: AXPWidgetsList.Advanced.CodeEditor, options: { language: 'json', height: 'h-96' } },
|
|
224
|
+
},
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
name: 'paging',
|
|
228
|
+
title: queryFieldTitle(i18n, 'paging'),
|
|
229
|
+
groupId: 'schema',
|
|
230
|
+
schema: {
|
|
231
|
+
dataType: 'object',
|
|
232
|
+
interface: { type: AXPWidgetsList.Advanced.CodeEditor, options: { language: 'json', height: 'h-96' } },
|
|
233
|
+
},
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
name: 'columns',
|
|
237
|
+
title: queryFieldTitle(i18n, 'columns'),
|
|
238
|
+
groupId: 'schema',
|
|
239
|
+
schema: {
|
|
240
|
+
dataType: 'array',
|
|
241
|
+
interface: { type: AXPWidgetsList.Advanced.CodeEditor, options: { language: 'json', height: 'h-96' } },
|
|
242
|
+
},
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
name: 'aiMetadataJson',
|
|
246
|
+
title: queryFieldTitle(i18n, 'ai-metadata'),
|
|
247
|
+
groupId: 'schema',
|
|
248
|
+
schema: {
|
|
249
|
+
dataType: 'string',
|
|
250
|
+
interface: { type: AXPWidgetsList.Advanced.CodeEditor, options: { language: 'json', height: 'h-96' } },
|
|
251
|
+
},
|
|
252
|
+
},
|
|
253
|
+
],
|
|
254
|
+
columns: [
|
|
255
|
+
{ name: 'catalogTitle', title: '@general:terms.common.title', showAs: { type: AXPWidgetsCatalog.text } },
|
|
256
|
+
{ name: 'name', title: '@general:terms.common.name', showAs: { type: AXPWidgetsCatalog.text } },
|
|
257
|
+
{ name: 'executionMode', title: queryFieldTitle(i18n, 'execution-mode') },
|
|
258
|
+
{ name: 'kind', title: queryFieldTitle(i18n, 'kind') },
|
|
259
|
+
{ name: 'resultType', title: queryFieldTitle(i18n, 'result-type') },
|
|
260
|
+
{
|
|
261
|
+
name: 'capabilities',
|
|
262
|
+
title: queryFieldTitle(i18n, 'capabilities'),
|
|
263
|
+
showAs: { type: AXPWidgetsList.Editors.TagEditor },
|
|
264
|
+
},
|
|
265
|
+
],
|
|
266
|
+
interfaces: {
|
|
267
|
+
master: {
|
|
268
|
+
create: {
|
|
269
|
+
sections: [{ id: 'basic-info' }, { id: 'schema' }],
|
|
270
|
+
properties: QUERY_FORM_PROPERTIES,
|
|
271
|
+
},
|
|
272
|
+
update: {
|
|
273
|
+
sections: [{ id: 'basic-info' }, { id: 'schema' }],
|
|
274
|
+
properties: QUERY_FORM_PROPERTIES,
|
|
275
|
+
},
|
|
276
|
+
list: {
|
|
277
|
+
views: [
|
|
278
|
+
createAllQueryView({ sorts: [{ name: 'catalogTitle', dir: 'asc' }] }),
|
|
279
|
+
createQueryView('my-query', `@${i18n}:query-definitions.entities.query-definition.views.my-query`, true, {
|
|
280
|
+
sorts: [{ name: 'catalogTitle', dir: 'asc' }],
|
|
281
|
+
conditions: [
|
|
282
|
+
{
|
|
283
|
+
name: 'stateInfo.isSystem',
|
|
284
|
+
operator: { type: 'equal' },
|
|
285
|
+
value: false,
|
|
286
|
+
},
|
|
287
|
+
],
|
|
288
|
+
}),
|
|
289
|
+
createQueryView('system-query', `@${i18n}:query-definitions.entities.query-definition.views.system-query`, true, {
|
|
290
|
+
sorts: [{ name: 'catalogTitle', dir: 'asc' }],
|
|
291
|
+
conditions: [
|
|
292
|
+
{
|
|
293
|
+
name: 'stateInfo.isSystem',
|
|
294
|
+
operator: { type: 'equal' },
|
|
295
|
+
value: true,
|
|
296
|
+
},
|
|
297
|
+
],
|
|
298
|
+
}),
|
|
299
|
+
],
|
|
300
|
+
actions: [
|
|
301
|
+
{
|
|
302
|
+
name: 'create',
|
|
303
|
+
title: '@general:actions.create.title',
|
|
304
|
+
command: {
|
|
305
|
+
name: 'PlatformManagement:CreateUserQuery',
|
|
306
|
+
},
|
|
307
|
+
priority: 'primary',
|
|
308
|
+
type: AXPSystemActionType.Create,
|
|
309
|
+
scope: AXPEntityCommandScope.TypeLevel,
|
|
310
|
+
order: 1,
|
|
311
|
+
items: [
|
|
312
|
+
{
|
|
313
|
+
name: 'create-entity',
|
|
314
|
+
title: `@${i18n}:query-definitions.entities.query-definition.actions.create.entity`,
|
|
315
|
+
icon: 'fa-database',
|
|
316
|
+
command: {
|
|
317
|
+
name: 'PlatformManagement:CreateUserQuery',
|
|
318
|
+
options: { process: { data: { sourceKind: 'entity' } } },
|
|
319
|
+
},
|
|
320
|
+
priority: 'none',
|
|
321
|
+
type: AXPSystemActionType.Create,
|
|
322
|
+
scope: AXPEntityCommandScope.TypeLevel,
|
|
323
|
+
order: 1,
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
name: 'create-static-list',
|
|
327
|
+
title: `@${i18n}:query-definitions.entities.query-definition.actions.create.static-list`,
|
|
328
|
+
icon: 'fa-list',
|
|
329
|
+
command: {
|
|
330
|
+
name: 'PlatformManagement:CreateUserQuery',
|
|
331
|
+
options: { process: { data: { sourceKind: 'static' } } },
|
|
332
|
+
},
|
|
333
|
+
priority: 'none',
|
|
334
|
+
type: AXPSystemActionType.Create,
|
|
335
|
+
scope: AXPEntityCommandScope.TypeLevel,
|
|
336
|
+
order: 2,
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
name: 'create-external-api',
|
|
340
|
+
title: `@${i18n}:query-definitions.entities.query-definition.actions.create.external-api`,
|
|
341
|
+
icon: 'fa-cloud-arrow-up',
|
|
342
|
+
command: {
|
|
343
|
+
name: 'PlatformManagement:CreateUserQuery',
|
|
344
|
+
options: { process: { data: { sourceKind: 'api' } } },
|
|
345
|
+
},
|
|
346
|
+
priority: 'none',
|
|
347
|
+
type: AXPSystemActionType.Create,
|
|
348
|
+
scope: AXPEntityCommandScope.TypeLevel,
|
|
349
|
+
order: 3,
|
|
350
|
+
},
|
|
351
|
+
{
|
|
352
|
+
name: 'create-advanced',
|
|
353
|
+
title: `@${i18n}:query-definitions.entities.query-definition.actions.create.advanced`,
|
|
354
|
+
icon: 'fa-layer-group',
|
|
355
|
+
command: {
|
|
356
|
+
name: 'PlatformManagement:CreateUserQuery',
|
|
357
|
+
options: { process: { data: { sourceKind: 'advanced' } } },
|
|
358
|
+
},
|
|
359
|
+
priority: 'none',
|
|
360
|
+
type: AXPSystemActionType.Create,
|
|
361
|
+
scope: AXPEntityCommandScope.TypeLevel,
|
|
362
|
+
order: 4,
|
|
363
|
+
separated: true,
|
|
364
|
+
},
|
|
365
|
+
],
|
|
366
|
+
},
|
|
367
|
+
...entityMasterCrudActions({ create: false, edit: true }),
|
|
368
|
+
],
|
|
369
|
+
},
|
|
370
|
+
single: {
|
|
371
|
+
title: '{{ catalogTitle || name }}',
|
|
372
|
+
sections: [{ id: 'basic-info' }, { id: 'schema' }],
|
|
373
|
+
properties: QUERY_FORM_PROPERTIES,
|
|
374
|
+
actions: [entityMasterEditAction(), ...entityMasterRecordActions()],
|
|
375
|
+
},
|
|
376
|
+
},
|
|
377
|
+
},
|
|
378
|
+
};
|
|
379
|
+
}
|
|
380
|
+
async function queryDefinitionEntityFactory() {
|
|
381
|
+
return buildQueryDefinitionEntity();
|
|
382
|
+
}
|
|
383
|
+
//#endregion
|
|
384
|
+
|
|
385
|
+
export { buildQueryDefinitionEntity, queryDefinitionEntityFactory };
|
|
386
|
+
//# sourceMappingURL=acorex-platform-module-platform-management-client-contracts-entity-catalog-query-definition.entity-DGK684Q1.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-platform-management-client-contracts-entity-catalog-query-definition.entity-DGK684Q1.mjs","sources":["../../../../libs/modules/platform-management/contracts/src/entities/query-definition/query-definition.entity.ts"],"sourcesContent":["import { AXPSystemActionType, AXPWidgetsCatalog, AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport {\n AXPEntity,\n AXPEntityCommandScope,\n createAllQueryView,\n createQueryView,\n entityMasterCrudActions,\n entityMasterEditAction,\n entityMasterRecordActions,\n} from '@acorex-platform/framework-shared/entity';\nimport { RootConfig } from '../../root-config';\n\n//#region ----- Entity -----\n\nconst LIST_FILTER_SORT = {\n filter: { inline: { enabled: true }, advance: { enabled: true } },\n sort: { enabled: true },\n} as const;\n\nconst ADVANCE_FILTER = {\n filter: { advance: { enabled: true } },\n} as const;\n\nfunction queryFieldTitle(i18n: string, field: string): string {\n return `@${i18n}:query-definitions.entities.query-definition.fields.${field}.title`;\n}\n\nfunction queryOptionText(i18n: string, field: string, option: string): string {\n return `@${i18n}:query-definitions.entities.query-definition.fields.${field}.options.${option}`;\n}\n\nconst QUERY_FORM_PROPERTIES = [\n { name: 'name', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'catalogTitle', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'executionMode', layout: { positions: { lg: { colSpan: 4 } } } },\n { name: 'kind', layout: { positions: { lg: { colSpan: 4 } } } },\n { name: 'resultType', layout: { positions: { lg: { colSpan: 4 } } } },\n { name: 'valueType', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'byKeyQuery', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'capabilities', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'binding', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'args', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'filter', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'sort', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'paging', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'columns', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'aiMetadataJson', layout: { positions: { lg: { colSpan: 12 } } } },\n];\n\nexport function buildQueryDefinitionEntity(): AXPEntity {\n const i18n = RootConfig.config.i18n;\n\n return {\n module: RootConfig.module.name,\n name: RootConfig.entities.queryDefinition.name,\n title: RootConfig.entities.queryDefinition.title,\n icon: RootConfig.entities.queryDefinition.icon,\n formats: {\n individual: RootConfig.entities.queryDefinition.title,\n plural: RootConfig.entities.queryDefinition.titlePlural,\n searchResult: {\n title: '{{ catalogTitle || name }}',\n description: '{{ description }}',\n },\n },\n plugins: [],\n groups: [\n {\n id: 'basic-info',\n title: `@${i18n}:query-definitions.entities.query-definition.groups.basic-info`,\n },\n {\n id: 'schema',\n title: `@${i18n}:query-definitions.entities.query-definition.groups.schema`,\n },\n ],\n properties: [\n {\n name: 'name',\n title: '@general:terms.common.name',\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n interface: { type: AXPWidgetsCatalog.text },\n },\n options: LIST_FILTER_SORT,\n },\n {\n name: 'catalogTitle',\n title: '@general:terms.common.title',\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n interface: { type: AXPWidgetsCatalog.text },\n },\n options: LIST_FILTER_SORT,\n },\n {\n name: 'description',\n title: '@general:terms.common.description',\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n interface: { type: AXPWidgetsCatalog.largeText, options: { rows: 3 } },\n },\n options: ADVANCE_FILTER,\n },\n {\n name: 'executionMode',\n title: queryFieldTitle(i18n, 'execution-mode'),\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.select,\n options: {\n valueField: 'value',\n textField: 'text',\n dataSource: [\n { value: 'frontend', text: queryOptionText(i18n, 'execution-mode', 'frontend') },\n { value: 'backend', text: queryOptionText(i18n, 'execution-mode', 'backend') },\n { value: 'both', text: queryOptionText(i18n, 'execution-mode', 'both') },\n ],\n },\n },\n },\n options: LIST_FILTER_SORT,\n },\n {\n name: 'kind',\n title: queryFieldTitle(i18n, 'kind'),\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.select,\n options: {\n valueField: 'value',\n textField: 'text',\n dataSource: [\n { value: 'value', text: queryOptionText(i18n, 'kind', 'value') },\n { value: 'object', text: queryOptionText(i18n, 'kind', 'object') },\n { value: 'collection', text: queryOptionText(i18n, 'kind', 'collection') },\n ],\n },\n },\n },\n options: LIST_FILTER_SORT,\n },\n {\n name: 'resultType',\n title: queryFieldTitle(i18n, 'result-type'),\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n interface: { type: AXPWidgetsCatalog.text },\n },\n options: LIST_FILTER_SORT,\n },\n {\n name: 'valueType',\n title: queryFieldTitle(i18n, 'value-type'),\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.select,\n options: {\n valueField: 'value',\n textField: 'text',\n dataSource: [\n { value: 'string', text: queryOptionText(i18n, 'value-type', 'string') },\n { value: 'number', text: queryOptionText(i18n, 'value-type', 'number') },\n { value: 'boolean', text: queryOptionText(i18n, 'value-type', 'boolean') },\n { value: 'date', text: queryOptionText(i18n, 'value-type', 'date') },\n { value: 'datetime', text: queryOptionText(i18n, 'value-type', 'datetime') },\n { value: 'json', text: queryOptionText(i18n, 'value-type', 'json') },\n ],\n },\n },\n },\n options: LIST_FILTER_SORT,\n },\n {\n name: 'byKeyQuery',\n title: queryFieldTitle(i18n, 'by-key-query'),\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n interface: { type: AXPWidgetsCatalog.text },\n },\n options: ADVANCE_FILTER,\n },\n {\n name: 'capabilities',\n title: queryFieldTitle(i18n, 'capabilities'),\n groupId: 'basic-info',\n schema: {\n dataType: 'array',\n interface: { type: AXPWidgetsList.Editors.TagEditor },\n },\n options: ADVANCE_FILTER,\n },\n {\n name: 'binding',\n title: queryFieldTitle(i18n, 'binding'),\n groupId: 'schema',\n schema: {\n dataType: 'object',\n interface: { type: AXPWidgetsList.Advanced.CodeEditor, options: { language: 'json', height: 'h-96' } },\n },\n },\n {\n name: 'args',\n title: queryFieldTitle(i18n, 'args'),\n groupId: 'schema',\n schema: {\n dataType: 'object',\n interface: { type: AXPWidgetsList.Advanced.CodeEditor, options: { language: 'json', height: 'h-96' } },\n },\n },\n {\n name: 'filter',\n title: queryFieldTitle(i18n, 'filter'),\n groupId: 'schema',\n schema: {\n dataType: 'object',\n interface: { type: AXPWidgetsList.Advanced.CodeEditor, options: { language: 'json', height: 'h-96' } },\n },\n },\n {\n name: 'sort',\n title: queryFieldTitle(i18n, 'sort'),\n groupId: 'schema',\n schema: {\n dataType: 'object',\n interface: { type: AXPWidgetsList.Advanced.CodeEditor, options: { language: 'json', height: 'h-96' } },\n },\n },\n {\n name: 'paging',\n title: queryFieldTitle(i18n, 'paging'),\n groupId: 'schema',\n schema: {\n dataType: 'object',\n interface: { type: AXPWidgetsList.Advanced.CodeEditor, options: { language: 'json', height: 'h-96' } },\n },\n },\n {\n name: 'columns',\n title: queryFieldTitle(i18n, 'columns'),\n groupId: 'schema',\n schema: {\n dataType: 'array',\n interface: { type: AXPWidgetsList.Advanced.CodeEditor, options: { language: 'json', height: 'h-96' } },\n },\n },\n {\n name: 'aiMetadataJson',\n title: queryFieldTitle(i18n, 'ai-metadata'),\n groupId: 'schema',\n schema: {\n dataType: 'string',\n interface: { type: AXPWidgetsList.Advanced.CodeEditor, options: { language: 'json', height: 'h-96' } },\n },\n },\n ],\n columns: [\n { name: 'catalogTitle', title: '@general:terms.common.title', showAs: { type: AXPWidgetsCatalog.text } },\n { name: 'name', title: '@general:terms.common.name', showAs: { type: AXPWidgetsCatalog.text } },\n { name: 'executionMode', title: queryFieldTitle(i18n, 'execution-mode') },\n { name: 'kind', title: queryFieldTitle(i18n, 'kind') },\n { name: 'resultType', title: queryFieldTitle(i18n, 'result-type') },\n {\n name: 'capabilities',\n title: queryFieldTitle(i18n, 'capabilities'),\n showAs: { type: AXPWidgetsList.Editors.TagEditor },\n },\n ],\n interfaces: {\n master: {\n create: {\n sections: [{ id: 'basic-info' }, { id: 'schema' }],\n properties: QUERY_FORM_PROPERTIES,\n },\n update: {\n sections: [{ id: 'basic-info' }, { id: 'schema' }],\n properties: QUERY_FORM_PROPERTIES,\n },\n list: {\n views: [\n createAllQueryView({ sorts: [{ name: 'catalogTitle', dir: 'asc' }] }),\n createQueryView(\n 'my-query',\n `@${i18n}:query-definitions.entities.query-definition.views.my-query`,\n true,\n {\n sorts: [{ name: 'catalogTitle', dir: 'asc' }],\n conditions: [\n {\n name: 'stateInfo.isSystem',\n operator: { type: 'equal' },\n value: false,\n },\n ],\n },\n ),\n createQueryView(\n 'system-query',\n `@${i18n}:query-definitions.entities.query-definition.views.system-query`,\n true,\n {\n sorts: [{ name: 'catalogTitle', dir: 'asc' }],\n conditions: [\n {\n name: 'stateInfo.isSystem',\n operator: { type: 'equal' },\n value: true,\n },\n ],\n },\n ),\n ],\n actions: [\n {\n name: 'create',\n title: '@general:actions.create.title',\n command: {\n name: 'PlatformManagement:CreateUserQuery',\n },\n priority: 'primary',\n type: AXPSystemActionType.Create,\n scope: AXPEntityCommandScope.TypeLevel,\n order: 1,\n items: [\n {\n name: 'create-entity',\n title: `@${i18n}:query-definitions.entities.query-definition.actions.create.entity`,\n icon: 'fa-database',\n command: {\n name: 'PlatformManagement:CreateUserQuery',\n options: { process: { data: { sourceKind: 'entity' } } },\n },\n priority: 'none',\n type: AXPSystemActionType.Create,\n scope: AXPEntityCommandScope.TypeLevel,\n order: 1,\n },\n {\n name: 'create-static-list',\n title: `@${i18n}:query-definitions.entities.query-definition.actions.create.static-list`,\n icon: 'fa-list',\n command: {\n name: 'PlatformManagement:CreateUserQuery',\n options: { process: { data: { sourceKind: 'static' } } },\n },\n priority: 'none',\n type: AXPSystemActionType.Create,\n scope: AXPEntityCommandScope.TypeLevel,\n order: 2,\n },\n {\n name: 'create-external-api',\n title: `@${i18n}:query-definitions.entities.query-definition.actions.create.external-api`,\n icon: 'fa-cloud-arrow-up',\n command: {\n name: 'PlatformManagement:CreateUserQuery',\n options: { process: { data: { sourceKind: 'api' } } },\n },\n priority: 'none',\n type: AXPSystemActionType.Create,\n scope: AXPEntityCommandScope.TypeLevel,\n order: 3,\n },\n {\n name: 'create-advanced',\n title: `@${i18n}:query-definitions.entities.query-definition.actions.create.advanced`,\n icon: 'fa-layer-group',\n command: {\n name: 'PlatformManagement:CreateUserQuery',\n options: { process: { data: { sourceKind: 'advanced' } } },\n },\n priority: 'none',\n type: AXPSystemActionType.Create,\n scope: AXPEntityCommandScope.TypeLevel,\n order: 4,\n separated: true,\n },\n ],\n },\n ...entityMasterCrudActions({ create: false, edit: true }),\n ],\n },\n single: {\n title: '{{ catalogTitle || name }}',\n sections: [{ id: 'basic-info' }, { id: 'schema' }],\n properties: QUERY_FORM_PROPERTIES,\n actions: [entityMasterEditAction(), ...entityMasterRecordActions()],\n },\n },\n },\n };\n}\n\nexport async function queryDefinitionEntityFactory(): Promise<AXPEntity | null> {\n return buildQueryDefinitionEntity();\n}\n\n//#endregion\n"],"names":[],"mappings":";;;;AAYA;AAEA,MAAM,gBAAgB,GAAG;AACvB,IAAA,MAAM,EAAE,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,EA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