@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.
Files changed (72) hide show
  1. 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
  2. package/fesm2022/acorex-platform-module-platform-management-client-acorex-platform-module-platform-management-client-BGVhn6wv.mjs.map +1 -0
  3. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entities-command-definition.mjs +273 -0
  4. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entities-command-definition.mjs.map +1 -0
  5. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entities-entity-access-policy.mjs +235 -0
  6. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entities-entity-access-policy.mjs.map +1 -0
  7. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entities-entity-definition.mjs +249 -0
  8. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entities-entity-definition.mjs.map +1 -0
  9. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entities-plugin-definition.mjs +258 -0
  10. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entities-plugin-definition.mjs.map +1 -0
  11. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entities-query-definition.mjs +477 -0
  12. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entities-query-definition.mjs.map +1 -0
  13. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entities-token.mjs +797 -0
  14. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entities-token.mjs.map +1 -0
  15. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entities-widget.mjs +305 -0
  16. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entities-widget.mjs.map +1 -0
  17. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entity-catalog-acorex-platform-module-platform-management-client-contracts-entity-catalog-BOwC5Ns9.mjs +116 -0
  18. 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
  19. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entity-catalog-command-definition.entity-CdvQlwAk.mjs +182 -0
  20. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entity-catalog-command-definition.entity-CdvQlwAk.mjs.map +1 -0
  21. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entity-catalog-entity-access-policy.entity-Dye4aSKE.mjs +144 -0
  22. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entity-catalog-entity-access-policy.entity-Dye4aSKE.mjs.map +1 -0
  23. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entity-catalog-entity-definition.entity-CcJ58vfr.mjs +158 -0
  24. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entity-catalog-entity-definition.entity-CcJ58vfr.mjs.map +1 -0
  25. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entity-catalog-plugin-definition.entity-CwU5hMjI.mjs +167 -0
  26. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entity-catalog-plugin-definition.entity-CwU5hMjI.mjs.map +1 -0
  27. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entity-catalog-query-definition.entity-DGK684Q1.mjs +386 -0
  28. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entity-catalog-query-definition.entity-DGK684Q1.mjs.map +1 -0
  29. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entity-catalog-token.entity-DI_k6-ha.mjs +706 -0
  30. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entity-catalog-token.entity-DI_k6-ha.mjs.map +1 -0
  31. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entity-catalog-widget.entity-C18msniH.mjs +214 -0
  32. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entity-catalog-widget.entity-C18msniH.mjs.map +1 -0
  33. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entity-catalog.mjs +2 -0
  34. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entity-catalog.mjs.map +1 -0
  35. package/fesm2022/acorex-platform-module-platform-management-client-contracts.mjs.map +1 -1
  36. 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
  37. 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
  38. package/fesm2022/acorex-platform-module-platform-management-client-create-user-query.types-DdygAori.mjs.map +1 -1
  39. package/fesm2022/acorex-platform-module-platform-management-client-customize-menu.command-2319iHsD.mjs.map +1 -1
  40. package/fesm2022/acorex-platform-module-platform-management-client-data-list-pick-entity-item.command-CJVpqPmY.mjs.map +1 -1
  41. package/fesm2022/acorex-platform-module-platform-management-client-entity-master-actions-for-ai.util-DmGyoy9o.mjs.map +1 -1
  42. package/fesm2022/acorex-platform-module-platform-management-client-execute-token.command-B_xwW9lb.mjs.map +1 -1
  43. package/fesm2022/acorex-platform-module-platform-management-client-list-catalog-scopes.query-ByhDTWE6.mjs.map +1 -1
  44. package/fesm2022/acorex-platform-module-platform-management-client-list-editor-widgets.query-DITPMmbw.mjs.map +1 -1
  45. package/fesm2022/acorex-platform-module-platform-management-client-list-platform-navigation-for-ai.query-2oHMITw-.mjs.map +1 -1
  46. package/fesm2022/acorex-platform-module-platform-management-client-list-registered-entities.query-DjStd3a8.mjs.map +1 -1
  47. package/fesm2022/acorex-platform-module-platform-management-client-list-registered-queries.query-C-IfkTel.mjs.map +1 -1
  48. package/fesm2022/acorex-platform-module-platform-management-client-local-entities.mjs +35 -0
  49. package/fesm2022/acorex-platform-module-platform-management-client-local-entities.mjs.map +1 -0
  50. 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
  51. 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
  52. package/fesm2022/acorex-platform-module-platform-management-client-platform-console-charts.queries-CQ34R13-.mjs.map +1 -1
  53. package/fesm2022/acorex-platform-module-platform-management-client-platform-console-data.util-BIkULtKk.mjs.map +1 -1
  54. package/fesm2022/acorex-platform-module-platform-management-client-platform-console-kpi.queries-BkPdhVq_.mjs.map +1 -1
  55. 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
  56. 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
  57. 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
  58. 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
  59. 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
  60. 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
  61. package/fesm2022/acorex-platform-module-platform-management-client.mjs +1 -1
  62. package/package.json +39 -3
  63. package/types/acorex-platform-module-platform-management-client-contracts-entities-command-definition.d.ts +5 -0
  64. package/types/acorex-platform-module-platform-management-client-contracts-entities-entity-access-policy.d.ts +5 -0
  65. package/types/acorex-platform-module-platform-management-client-contracts-entities-entity-definition.d.ts +5 -0
  66. package/types/acorex-platform-module-platform-management-client-contracts-entities-plugin-definition.d.ts +5 -0
  67. package/types/acorex-platform-module-platform-management-client-contracts-entities-query-definition.d.ts +5 -0
  68. package/types/acorex-platform-module-platform-management-client-contracts-entities-token.d.ts +5 -0
  69. package/types/acorex-platform-module-platform-management-client-contracts-entities-widget.d.ts +5 -0
  70. package/types/acorex-platform-module-platform-management-client-contracts-entity-catalog.d.ts +10 -0
  71. package/types/acorex-platform-module-platform-management-client-local-entities.d.ts +12 -0
  72. package/fesm2022/acorex-platform-module-platform-management-client-acorex-platform-module-platform-management-client-Dhg_zr0Y.mjs.map +0 -1
@@ -0,0 +1,182 @@
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 commandFieldTitle(i18n, field) {
13
+ return `@${i18n}:command-definitions.entities.command-definition.fields.${field}.title`;
14
+ }
15
+ function commandOptionText(i18n, field, option) {
16
+ return `@${i18n}:command-definitions.entities.command-definition.fields.${field}.options.${option}`;
17
+ }
18
+ function buildCommandDefinitionEntity() {
19
+ const i18n = RootConfig.config.i18n;
20
+ return {
21
+ module: RootConfig.module.name,
22
+ name: RootConfig.entities.commandDefinition.name,
23
+ title: RootConfig.entities.commandDefinition.title,
24
+ icon: RootConfig.entities.commandDefinition.icon,
25
+ formats: {
26
+ individual: RootConfig.entities.commandDefinition.title,
27
+ plural: RootConfig.entities.commandDefinition.titlePlural,
28
+ searchResult: {
29
+ title: '{{ catalogTitle || name }}',
30
+ description: '{{ description }}',
31
+ },
32
+ },
33
+ plugins: [],
34
+ groups: [
35
+ {
36
+ id: 'basic-info',
37
+ title: `@${i18n}:command-definitions.entities.command-definition.groups.basic-info`,
38
+ },
39
+ {
40
+ id: 'schema',
41
+ title: `@${i18n}:command-definitions.entities.command-definition.groups.schema`,
42
+ },
43
+ ],
44
+ properties: [
45
+ {
46
+ name: 'name',
47
+ title: '@general:terms.common.name',
48
+ groupId: 'basic-info',
49
+ schema: {
50
+ dataType: 'string',
51
+ readonly: true,
52
+ interface: { type: AXPWidgetsCatalog.text },
53
+ },
54
+ options: LIST_FILTER_SORT,
55
+ },
56
+ {
57
+ name: 'catalogTitle',
58
+ title: '@general:terms.common.title',
59
+ groupId: 'basic-info',
60
+ schema: {
61
+ dataType: 'string',
62
+ readonly: true,
63
+ interface: { type: AXPWidgetsCatalog.text },
64
+ },
65
+ options: LIST_FILTER_SORT,
66
+ },
67
+ {
68
+ name: 'description',
69
+ title: '@general:terms.common.description',
70
+ groupId: 'basic-info',
71
+ schema: {
72
+ dataType: 'string',
73
+ readonly: true,
74
+ interface: { type: AXPWidgetsCatalog.largeText, options: { rows: 3 } },
75
+ },
76
+ options: ADVANCE_FILTER,
77
+ },
78
+ {
79
+ name: 'executionMode',
80
+ title: commandFieldTitle(i18n, 'execution-mode'),
81
+ groupId: 'basic-info',
82
+ schema: {
83
+ dataType: 'string',
84
+ readonly: true,
85
+ interface: {
86
+ type: AXPWidgetsCatalog.select,
87
+ options: {
88
+ valueField: 'value',
89
+ textField: 'text',
90
+ dataSource: [
91
+ { value: 'frontend', text: commandOptionText(i18n, 'execution-mode', 'frontend') },
92
+ { value: 'backend', text: commandOptionText(i18n, 'execution-mode', 'backend') },
93
+ { value: 'both', text: commandOptionText(i18n, 'execution-mode', 'both') },
94
+ ],
95
+ },
96
+ },
97
+ },
98
+ options: LIST_FILTER_SORT,
99
+ },
100
+ {
101
+ name: 'capabilities',
102
+ title: commandFieldTitle(i18n, 'capabilities'),
103
+ groupId: 'basic-info',
104
+ schema: {
105
+ dataType: 'array',
106
+ readonly: true,
107
+ interface: { type: AXPWidgetsList.Editors.TagEditor },
108
+ },
109
+ options: ADVANCE_FILTER,
110
+ },
111
+ {
112
+ name: 'inputOptionDefinitions',
113
+ title: commandFieldTitle(i18n, 'inputs'),
114
+ groupId: 'schema',
115
+ schema: {
116
+ dataType: 'array',
117
+ readonly: true,
118
+ interface: { type: AXPWidgetsList.Advanced.CodeEditor, options: { language: 'json', readOnly: true, height: 'h-96' } },
119
+ },
120
+ },
121
+ {
122
+ name: 'outputOptionDefinitions',
123
+ title: commandFieldTitle(i18n, 'outputs'),
124
+ groupId: 'schema',
125
+ schema: {
126
+ dataType: 'array',
127
+ readonly: true,
128
+ interface: { type: AXPWidgetsList.Advanced.CodeEditor, options: { language: 'json', readOnly: true, height: 'h-96' } },
129
+ },
130
+ },
131
+ {
132
+ name: 'outcomesDefinitionJson',
133
+ title: commandFieldTitle(i18n, 'outcomes'),
134
+ groupId: 'schema',
135
+ schema: {
136
+ dataType: 'string',
137
+ readonly: true,
138
+ interface: { type: AXPWidgetsList.Advanced.CodeEditor, options: { language: 'json', readOnly: true, height: 'h-96' } },
139
+ },
140
+ },
141
+ ],
142
+ columns: [
143
+ { name: 'catalogTitle', title: '@general:terms.common.title', showAs: { type: AXPWidgetsCatalog.text } },
144
+ { name: 'name', title: '@general:terms.common.name', showAs: { type: AXPWidgetsCatalog.text } },
145
+ { name: 'executionMode', title: commandFieldTitle(i18n, 'execution-mode') },
146
+ {
147
+ name: 'capabilities',
148
+ title: commandFieldTitle(i18n, 'capabilities'),
149
+ showAs: { type: AXPWidgetsList.Editors.TagEditor },
150
+ },
151
+ ],
152
+ interfaces: {
153
+ master: {
154
+ list: {
155
+ views: [createAllQueryView({ sorts: [{ name: 'catalogTitle', dir: 'asc' }] })],
156
+ actions: [entityMasterViewAction()],
157
+ },
158
+ single: {
159
+ title: '{{ catalogTitle || name }}',
160
+ sections: [{ id: 'basic-info' }, { id: 'schema' }],
161
+ properties: [
162
+ { name: 'name', layout: { positions: { lg: { colSpan: 6 } } } },
163
+ { name: 'catalogTitle', layout: { positions: { lg: { colSpan: 6 } } } },
164
+ { name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },
165
+ { name: 'executionMode', layout: { positions: { lg: { colSpan: 6 } } } },
166
+ { name: 'capabilities', layout: { positions: { lg: { colSpan: 6 } } } },
167
+ { name: 'inputOptionDefinitions', layout: { positions: { lg: { colSpan: 12 } } } },
168
+ { name: 'outputOptionDefinitions', layout: { positions: { lg: { colSpan: 12 } } } },
169
+ { name: 'outcomesDefinitionJson', layout: { positions: { lg: { colSpan: 12 } } } },
170
+ ],
171
+ actions: [...entityMasterRecordActions()],
172
+ },
173
+ },
174
+ },
175
+ };
176
+ }
177
+ async function commandDefinitionEntityFactory() {
178
+ return buildCommandDefinitionEntity();
179
+ }
180
+
181
+ export { buildCommandDefinitionEntity, commandDefinitionEntityFactory };
182
+ //# sourceMappingURL=acorex-platform-module-platform-management-client-contracts-entity-catalog-command-definition.entity-CdvQlwAk.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-platform-management-client-contracts-entity-catalog-command-definition.entity-CdvQlwAk.mjs","sources":["../../../../libs/modules/platform-management/contracts/src/entities/command-definition/command-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 commandFieldTitle(i18n: string, field: string): string {\n return `@${i18n}:command-definitions.entities.command-definition.fields.${field}.title`;\n}\n\nfunction commandOptionText(i18n: string, field: string, option: string): string {\n return `@${i18n}:command-definitions.entities.command-definition.fields.${field}.options.${option}`;\n}\n\nexport function buildCommandDefinitionEntity(): AXPEntity {\n const i18n = RootConfig.config.i18n;\n\n return {\n module: RootConfig.module.name,\n name: RootConfig.entities.commandDefinition.name,\n title: RootConfig.entities.commandDefinition.title,\n icon: RootConfig.entities.commandDefinition.icon,\n formats: {\n individual: RootConfig.entities.commandDefinition.title,\n plural: RootConfig.entities.commandDefinition.titlePlural,\n searchResult: {\n title: '{{ catalogTitle || name }}',\n description: '{{ description }}',\n },\n },\n plugins: [],\n groups: [\n {\n id: 'basic-info',\n title: `@${i18n}:command-definitions.entities.command-definition.groups.basic-info`,\n },\n {\n id: 'schema',\n title: `@${i18n}:command-definitions.entities.command-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: 'executionMode',\n title: commandFieldTitle(i18n, 'execution-mode'),\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n readonly: true,\n interface: {\n type: AXPWidgetsCatalog.select,\n options: {\n valueField: 'value',\n textField: 'text',\n dataSource: [\n { value: 'frontend', text: commandOptionText(i18n, 'execution-mode', 'frontend') },\n { value: 'backend', text: commandOptionText(i18n, 'execution-mode', 'backend') },\n { value: 'both', text: commandOptionText(i18n, 'execution-mode', 'both') },\n ],\n },\n },\n },\n options: LIST_FILTER_SORT,\n },\n {\n name: 'capabilities',\n title: commandFieldTitle(i18n, 'capabilities'),\n groupId: 'basic-info',\n schema: {\n dataType: 'array',\n readonly: true,\n interface: { type: AXPWidgetsList.Editors.TagEditor },\n },\n options: ADVANCE_FILTER,\n },\n {\n name: 'inputOptionDefinitions',\n title: commandFieldTitle(i18n, 'inputs'),\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: 'outputOptionDefinitions',\n title: commandFieldTitle(i18n, 'outputs'),\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: 'outcomesDefinitionJson',\n title: commandFieldTitle(i18n, 'outcomes'),\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 { name: 'executionMode', title: commandFieldTitle(i18n, 'execution-mode') },\n {\n name: 'capabilities',\n title: commandFieldTitle(i18n, 'capabilities'),\n showAs: { type: AXPWidgetsList.Editors.TagEditor },\n },\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: 'executionMode', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'capabilities', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'inputOptionDefinitions', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'outputOptionDefinitions', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'outcomesDefinitionJson', layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n actions: [...entityMasterRecordActions()],\n },\n },\n },\n };\n\n}\n\nexport async function commandDefinitionEntityFactory(): Promise<AXPEntity | null> {\n return buildCommandDefinitionEntity();\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,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE;CAC9B;AAEV,SAAS,iBAAiB,CAAC,IAAY,EAAE,KAAa,EAAA;AACpD,IAAA,OAAO,CAAA,CAAA,EAAI,IAAI,CAAA,wDAAA,EAA2D,KAAK,QAAQ;AACzF;AAEA,SAAS,iBAAiB,CAAC,IAAY,EAAE,KAAa,EAAE,MAAc,EAAA;AACpE,IAAA,OAAO,IAAI,IAAI,CAAA,wDAAA,EAA2D,KAAK,CAAA,SAAA,EAAY,MAAM,EAAE;AACrG;SAEgB,4BAA4B,GAAA;AAC1C,IAAA,MAAM,IAAI,GAAG,UAAU,CAAC,MAAM,CAAC,IAAI;IAEnC,OAAO;AACL,QAAA,MA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EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE;AAClF,wBAAA,EAAE,IAAI,EAAE,yBAAyB,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE;AACnF,wBAAA,EAAE,IAAI,EAAE,wBAAwB,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE;AACnF,qBAAA;AACD,oBAAA,OAAO,EAAE,CAAC,GAAG,yBAAyB,EAAE,CAAC;AAC1C,iBAAA;AACF,aAAA;AACF,SAAA;KACF;AAEH;AAEO,eAAe,8BAA8B,GAAA;IAClD,OAAO,4BAA4B,EAAE;AACvC;;"}
@@ -0,0 +1,144 @@
1
+ import { AXPWidgetsCatalog } from '@acorex-platform/framework-shared/core';
2
+ import { entityMasterRecordActions, 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
+ //#region ---- EntityAccessPolicy entity factory ----
6
+ async function entityAccessPolicyEntityFactory() {
7
+ const i18n = RootConfig.config.i18n;
8
+ const entityDef = {
9
+ module: RootConfig.module.name,
10
+ name: RootConfig.entities.entityAccessPolicy.name,
11
+ title: RootConfig.entities.entityAccessPolicy.title,
12
+ icon: RootConfig.entities.entityAccessPolicy.icon,
13
+ formats: {
14
+ individual: RootConfig.entities.entityAccessPolicy.title,
15
+ plural: RootConfig.entities.entityAccessPolicy.titlePlural,
16
+ searchResult: {
17
+ title: '{{ entityName }}',
18
+ description: '{{ description }}',
19
+ },
20
+ },
21
+ plugins: [{ name: 'history' }],
22
+ groups: [
23
+ {
24
+ id: 'basic-info',
25
+ title: `@${i18n}:entity-access-policies.entities.entity-access-policy.groups.basic-info`,
26
+ },
27
+ ],
28
+ properties: [
29
+ {
30
+ name: 'entityName',
31
+ title: `@${i18n}:entity-access-policies.entities.entity-access-policy.fields.entity-name.title`,
32
+ groupId: 'basic-info',
33
+ schema: {
34
+ dataType: 'string',
35
+ interface: { type: AXPWidgetsCatalog.text },
36
+ },
37
+ validations: [{ rule: 'required' }],
38
+ options: {
39
+ filter: { inline: { enabled: true }, advance: { enabled: true } },
40
+ sort: { enabled: true },
41
+ },
42
+ },
43
+ {
44
+ name: 'read',
45
+ title: `@${i18n}:entity-access-policies.entities.entity-access-policy.fields.read.title`,
46
+ groupId: 'basic-info',
47
+ schema: {
48
+ dataType: 'string',
49
+ interface: { type: AXPWidgetsCatalog.text },
50
+ },
51
+ validations: [{ rule: 'required' }],
52
+ options: {
53
+ filter: { inline: { enabled: true }, advance: { enabled: true } },
54
+ },
55
+ },
56
+ {
57
+ name: 'write',
58
+ title: `@${i18n}:entity-access-policies.entities.entity-access-policy.fields.write.title`,
59
+ groupId: 'basic-info',
60
+ schema: {
61
+ dataType: 'string',
62
+ interface: { type: AXPWidgetsCatalog.text },
63
+ },
64
+ validations: [{ rule: 'required' }],
65
+ options: {
66
+ filter: { inline: { enabled: true }, advance: { enabled: true } },
67
+ },
68
+ },
69
+ {
70
+ name: 'enabled',
71
+ title: `@${i18n}:entity-access-policies.entities.entity-access-policy.fields.enabled.title`,
72
+ groupId: 'basic-info',
73
+ schema: {
74
+ dataType: 'boolean',
75
+ interface: { type: AXPWidgetsCatalog.toggle },
76
+ },
77
+ options: {
78
+ filter: { inline: { enabled: true } },
79
+ },
80
+ },
81
+ {
82
+ name: 'description',
83
+ title: '@general:terms.common.description',
84
+ groupId: 'basic-info',
85
+ schema: {
86
+ dataType: 'string',
87
+ interface: { type: AXPWidgetsCatalog.largeText, options: { rows: 3 } },
88
+ },
89
+ options: { filter: { advance: { enabled: true } } },
90
+ },
91
+ ],
92
+ columns: [
93
+ { name: 'entityName', options: { width: '22rem' } },
94
+ { name: 'read', options: { width: '16rem' } },
95
+ { name: 'write', options: { width: '16rem' } },
96
+ { name: 'enabled', options: { width: '8rem' } },
97
+ { name: 'description' },
98
+ ],
99
+ interfaces: {
100
+ master: {
101
+ create: {
102
+ sections: [{ id: 'basic-info' }],
103
+ properties: [
104
+ { name: 'entityName' },
105
+ { name: 'read' },
106
+ { name: 'write' },
107
+ { name: 'enabled' },
108
+ { name: 'description' },
109
+ ],
110
+ },
111
+ update: {
112
+ sections: [{ id: 'basic-info' }],
113
+ properties: [
114
+ { name: 'entityName' },
115
+ { name: 'read' },
116
+ { name: 'write' },
117
+ { name: 'enabled' },
118
+ { name: 'description' },
119
+ ],
120
+ },
121
+ single: {
122
+ title: '{{entityName}}',
123
+ sections: [{ id: 'basic-info' }],
124
+ properties: [
125
+ { name: 'entityName' },
126
+ { name: 'read' },
127
+ { name: 'write' },
128
+ { name: 'enabled' },
129
+ { name: 'description' },
130
+ ],
131
+ },
132
+ list: {
133
+ views: [createAllQueryView()],
134
+ actions: entityMasterRecordActions(),
135
+ },
136
+ },
137
+ },
138
+ };
139
+ return entityDef;
140
+ }
141
+ //#endregion
142
+
143
+ export { entityAccessPolicyEntityFactory };
144
+ //# sourceMappingURL=acorex-platform-module-platform-management-client-contracts-entity-catalog-entity-access-policy.entity-Dye4aSKE.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-platform-management-client-contracts-entity-catalog-entity-access-policy.entity-Dye4aSKE.mjs","sources":["../../../../libs/modules/platform-management/contracts/src/entities/entity-access-policy/entity-access-policy.entity.ts"],"sourcesContent":["import { AXPWidgetsCatalog } from '@acorex-platform/framework-shared/core';\nimport {\n AXPEntity,\n createAllQueryView,\n entityMasterRecordActions,\n} from '@acorex-platform/framework-shared/entity';\nimport { RootConfig } from '../../root-config';\n\n//#region ---- EntityAccessPolicy entity factory ----\n\nexport async function entityAccessPolicyEntityFactory(): Promise<AXPEntity | null> {\n const i18n = RootConfig.config.i18n;\n\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.entityAccessPolicy.name,\n title: RootConfig.entities.entityAccessPolicy.title,\n icon: RootConfig.entities.entityAccessPolicy.icon,\n formats: {\n individual: RootConfig.entities.entityAccessPolicy.title,\n plural: RootConfig.entities.entityAccessPolicy.titlePlural,\n searchResult: {\n title: '{{ entityName }}',\n description: '{{ description }}',\n },\n },\n plugins: [{ name: 'history' }],\n groups: [\n {\n id: 'basic-info',\n title: `@${i18n}:entity-access-policies.entities.entity-access-policy.groups.basic-info`,\n },\n ],\n properties: [\n {\n name: 'entityName',\n title: `@${i18n}:entity-access-policies.entities.entity-access-policy.fields.entity-name.title`,\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n interface: { type: AXPWidgetsCatalog.text },\n },\n validations: [{ rule: 'required' }],\n options: {\n filter: { inline: { enabled: true }, advance: { enabled: true } },\n sort: { enabled: true },\n },\n },\n {\n name: 'read',\n title: `@${i18n}:entity-access-policies.entities.entity-access-policy.fields.read.title`,\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n interface: { type: AXPWidgetsCatalog.text },\n },\n validations: [{ rule: 'required' }],\n options: {\n filter: { inline: { enabled: true }, advance: { enabled: true } },\n },\n },\n {\n name: 'write',\n title: `@${i18n}:entity-access-policies.entities.entity-access-policy.fields.write.title`,\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n interface: { type: AXPWidgetsCatalog.text },\n },\n validations: [{ rule: 'required' }],\n options: {\n filter: { inline: { enabled: true }, advance: { enabled: true } },\n },\n },\n {\n name: 'enabled',\n title: `@${i18n}:entity-access-policies.entities.entity-access-policy.fields.enabled.title`,\n groupId: 'basic-info',\n schema: {\n dataType: 'boolean',\n interface: { type: AXPWidgetsCatalog.toggle },\n },\n options: {\n filter: { inline: { enabled: true } },\n },\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: { filter: { advance: { enabled: true } } },\n },\n ],\n columns: [\n { name: 'entityName', options: { width: '22rem' } },\n { name: 'read', options: { width: '16rem' } },\n { name: 'write', options: { width: '16rem' } },\n { name: 'enabled', options: { width: '8rem' } },\n { name: 'description' },\n ],\n interfaces: {\n master: {\n create: {\n sections: [{ id: 'basic-info' }],\n properties: [\n { name: 'entityName' },\n { name: 'read' },\n { name: 'write' },\n { name: 'enabled' },\n { name: 'description' },\n ],\n },\n update: {\n sections: [{ id: 'basic-info' }],\n properties: [\n { name: 'entityName' },\n { name: 'read' },\n { name: 'write' },\n { name: 'enabled' },\n { name: 'description' },\n ],\n },\n single: {\n title: '{{entityName}}',\n sections: [{ id: 'basic-info' }],\n properties: [\n { name: 'entityName' },\n { name: 'read' },\n { name: 'write' },\n { name: 'enabled' },\n { name: 'description' },\n ],\n },\n list: {\n views: [createAllQueryView()],\n actions: entityMasterRecordActions(),\n },\n },\n },\n };\n\n return entityDef;\n}\n\n//#endregion\n"],"names":[],"mappings":";;;;AAQA;AAEO,eAAe,+BAA+B,GAAA;AACnD,IAAA,MAAM,IAAI,GAAG,UAAU,CAAC,MAAM,CAAC,IAAI;AAEnC,IAAA,MAAM,SAAS,GAAc;AAC3B,QAAA,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC9B,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,kBAAkB,CAAC,IAAI;AACjD,QAAA,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC,kBAAkB,CAAC,KAAK;AACnD,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,kBAAkB,CAAC,IAAI;AACjD,QAAA,OAAO,EAAE;AACP,YAAA,UAAU,EAAE,UAAU,CAAC,QAAQ,CAAC,kBAAkB,CAAC,KAAK;AACxD,YAAA,MAAM,EAAE,UAAU,CAAC,QAAQ,CAAC,kBAAkB,CAAC,WAAW;AAC1D,YAAA,YAAY,EAAE;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AE;wBACtB,EAAE,IAAI,EAAE,MAAM,EAAE;wBAChB,EAAE,IAAI,EAAE,OAAO,EAAE;wBACjB,EAAE,IAAI,EAAE,SAAS,EAAE;wBACnB,EAAE,IAAI,EAAE,aAAa,EAAE;AACxB,qBAAA;AACF,iBAAA;AACD,gBAAA,MAAM,EAAE;AACN,oBAAA,KAAK,EAAE,gBAAgB;AACvB,oBAAA,QAAQ,EAAE,CAAC,EAAE,EAAE,EAAE,YAAY,EAAE,CAAC;AAChC,oBAAA,UAAU,EAAE;wBACV,EAAE,IAAI,EAAE,YAAY,EAAE;wBACtB,EAAE,IAAI,EAAE,MAAM,EAAE;wBAChB,EAAE,IAAI,EAAE,OAAO,EAAE;wBACjB,EAAE,IAAI,EAAE,SAAS,EAAE;wBACnB,EAAE,IAAI,EAAE,aAAa,EAAE;AACxB,qBAAA;AACF,iBAAA;AACD,gBAAA,IAAI,EAAE;AACJ,oBAAA,KAAK,EAAE,CAAC,kBAAkB,EAAE,CAAC;oBAC7B,OAAO,EAAE,yBAAyB,EAAE;AACrC,iBAAA;AACF,aAAA;AACF,SAAA;KACF;AAED,IAAA,OAAO,SAAS;AAClB;AAEA;;"}
@@ -0,0 +1,158 @@
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
+ function buildEntityDefinitionEntity() {
6
+ const i18n = RootConfig.config.i18n;
7
+ const entityDef = {
8
+ module: RootConfig.module.name,
9
+ name: RootConfig.entities.entityDefinition.name,
10
+ title: RootConfig.entities.entityDefinition.title,
11
+ icon: RootConfig.entities.entityDefinition.icon,
12
+ formats: {
13
+ individual: RootConfig.entities.entityDefinition.title,
14
+ plural: RootConfig.entities.entityDefinition.titlePlural,
15
+ searchResult: {
16
+ title: '{{ name }}',
17
+ description: '{{ content.module }}',
18
+ },
19
+ },
20
+ plugins: [],
21
+ groups: [
22
+ {
23
+ id: 'basic-info',
24
+ title: `@${i18n}:entity-definitions.entities.entity-definition.groups.basic-info`,
25
+ },
26
+ {
27
+ id: 'schema',
28
+ title: `@${i18n}:entity-definitions.entities.entity-definition.groups.schema`,
29
+ },
30
+ ],
31
+ properties: [
32
+ {
33
+ name: 'id',
34
+ title: '@general:terms.common.id',
35
+ schema: {
36
+ dataType: 'uuid',
37
+ visible: false,
38
+ nullable: false,
39
+ readonly: true,
40
+ unique: { enabled: true },
41
+ },
42
+ },
43
+ {
44
+ name: 'name',
45
+ title: '@general:terms.common.name',
46
+ groupId: 'basic-info',
47
+ schema: {
48
+ dataType: 'string',
49
+ readonly: true,
50
+ interface: { type: AXPWidgetsCatalog.text },
51
+ },
52
+ options: {
53
+ filter: { inline: { enabled: true }, advance: { enabled: true } },
54
+ sort: { enabled: true },
55
+ },
56
+ },
57
+ {
58
+ name: 'module',
59
+ title: `@${i18n}:entity-definitions.entities.entity-definition.fields.module-id.title`,
60
+ groupId: 'basic-info',
61
+ schema: {
62
+ dataType: 'string',
63
+ readonly: true,
64
+ interface: { type: AXPWidgetsCatalog.text },
65
+ },
66
+ options: {
67
+ filter: { inline: { enabled: true }, advance: { enabled: true } },
68
+ sort: { enabled: true },
69
+ },
70
+ },
71
+ {
72
+ name: 'title',
73
+ title: '@general:terms.common.title',
74
+ groupId: 'basic-info',
75
+ schema: {
76
+ dataType: 'string',
77
+ readonly: true,
78
+ interface: { type: AXPWidgetsCatalog.text },
79
+ },
80
+ options: {
81
+ filter: { inline: { enabled: true }, advance: { enabled: true } },
82
+ sort: { enabled: true },
83
+ },
84
+ },
85
+ {
86
+ name: 'icon',
87
+ title: '@general:terms.common.icon',
88
+ groupId: 'basic-info',
89
+ schema: {
90
+ dataType: 'string',
91
+ readonly: true,
92
+ interface: { type: AXPWidgetsCatalog.iconChooser },
93
+ },
94
+ },
95
+ {
96
+ name: 'content',
97
+ title: `@${i18n}:entity-definitions.entities.entity-definition.fields.content.title`,
98
+ groupId: 'schema',
99
+ schema: {
100
+ dataType: 'object',
101
+ readonly: true,
102
+ interface: {
103
+ type: AXPWidgetsList.Advanced.CodeEditor,
104
+ options: { language: 'json', readOnly: true, height: 'h-96' },
105
+ },
106
+ },
107
+ },
108
+ ],
109
+ columns: [
110
+ { name: 'name', title: '@general:terms.common.name', showAs: { type: AXPWidgetsCatalog.text } },
111
+ {
112
+ name: 'module',
113
+ title: `@${i18n}:entity-definitions.entities.entity-definition.fields.module-id.title`,
114
+ showAs: { type: AXPWidgetsCatalog.text },
115
+ options: { dataPath: 'content.module' },
116
+ },
117
+ {
118
+ name: 'title',
119
+ title: '@general:terms.common.title',
120
+ showAs: { type: AXPWidgetsCatalog.text },
121
+ options: { dataPath: 'content.title' },
122
+ },
123
+ {
124
+ name: 'icon',
125
+ title: '@general:terms.common.icon',
126
+ showAs: { type: AXPWidgetsCatalog.iconChooser },
127
+ options: { dataPath: 'content.icon' },
128
+ },
129
+ ],
130
+ interfaces: {
131
+ master: {
132
+ list: {
133
+ views: [createAllQueryView({ sorts: [{ name: 'name', dir: 'asc' }] })],
134
+ actions: [entityMasterViewAction()],
135
+ },
136
+ single: {
137
+ title: '{{ name }}',
138
+ sections: [{ id: 'basic-info' }, { id: 'schema' }],
139
+ properties: [
140
+ { name: 'name', dataPath: 'content.name', layout: { positions: { lg: { colSpan: 6 } } } },
141
+ { name: 'module', dataPath: 'content.module', layout: { positions: { lg: { colSpan: 6 } } } },
142
+ { name: 'title', dataPath: 'content.title', layout: { positions: { lg: { colSpan: 6 } } } },
143
+ { name: 'icon', dataPath: 'content.icon', layout: { positions: { lg: { colSpan: 6 } } } },
144
+ { name: 'content', layout: { positions: { lg: { colSpan: 12 } } } },
145
+ ],
146
+ actions: [...entityMasterRecordActions()],
147
+ },
148
+ },
149
+ },
150
+ };
151
+ return entityDef;
152
+ }
153
+ async function entityDefinitionEntityFactory() {
154
+ return buildEntityDefinitionEntity();
155
+ }
156
+
157
+ export { buildEntityDefinitionEntity, entityDefinitionEntityFactory };
158
+ //# sourceMappingURL=acorex-platform-module-platform-management-client-contracts-entity-catalog-entity-definition.entity-CcJ58vfr.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-platform-management-client-contracts-entity-catalog-entity-definition.entity-CcJ58vfr.mjs","sources":["../../../../libs/modules/platform-management/contracts/src/entities/entity-definition/entity-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\nexport function buildEntityDefinitionEntity(): AXPEntity {\n const i18n = RootConfig.config.i18n;\n\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.entityDefinition.name,\n title: RootConfig.entities.entityDefinition.title,\n icon: RootConfig.entities.entityDefinition.icon,\n formats: {\n individual: RootConfig.entities.entityDefinition.title,\n plural: RootConfig.entities.entityDefinition.titlePlural,\n searchResult: {\n title: '{{ name }}',\n description: '{{ content.module }}',\n },\n },\n plugins: [],\n groups: [\n {\n id: 'basic-info',\n title: `@${i18n}:entity-definitions.entities.entity-definition.groups.basic-info`,\n },\n {\n id: 'schema',\n title: `@${i18n}:entity-definitions.entities.entity-definition.groups.schema`,\n },\n ],\n properties: [\n {\n name: 'id',\n title: '@general:terms.common.id',\n schema: {\n dataType: 'uuid',\n visible: false,\n nullable: false,\n readonly: true,\n unique: { enabled: true },\n },\n },\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: {\n filter: { inline: { enabled: true }, advance: { enabled: true } },\n sort: { enabled: true },\n },\n },\n {\n name: 'module',\n title: `@${i18n}:entity-definitions.entities.entity-definition.fields.module-id.title`,\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n readonly: true,\n interface: { type: AXPWidgetsCatalog.text },\n },\n options: {\n filter: { inline: { enabled: true }, advance: { enabled: true } },\n sort: { enabled: true },\n },\n },\n {\n name: 'title',\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: {\n filter: { inline: { enabled: true }, advance: { enabled: true } },\n sort: { enabled: true },\n },\n },\n {\n name: 'icon',\n title: '@general:terms.common.icon',\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n readonly: true,\n interface: { type: AXPWidgetsCatalog.iconChooser },\n },\n },\n {\n name: 'content',\n title: `@${i18n}:entity-definitions.entities.entity-definition.fields.content.title`,\n groupId: 'schema',\n schema: {\n dataType: 'object',\n readonly: true,\n interface: {\n type: AXPWidgetsList.Advanced.CodeEditor,\n options: { language: 'json', readOnly: true, height: 'h-96' },\n },\n },\n },\n ],\n columns: [\n { name: 'name', title: '@general:terms.common.name', showAs: { type: AXPWidgetsCatalog.text } },\n {\n name: 'module',\n title: `@${i18n}:entity-definitions.entities.entity-definition.fields.module-id.title`,\n showAs: { type: AXPWidgetsCatalog.text },\n options: { dataPath: 'content.module' },\n },\n {\n name: 'title',\n title: '@general:terms.common.title',\n showAs: { type: AXPWidgetsCatalog.text },\n options: { dataPath: 'content.title' },\n },\n {\n name: 'icon',\n title: '@general:terms.common.icon',\n showAs: { type: AXPWidgetsCatalog.iconChooser },\n options: { dataPath: 'content.icon' },\n },\n ],\n interfaces: {\n master: {\n list: {\n views: [createAllQueryView({ sorts: [{ name: 'name', dir: 'asc' }] })],\n actions: [entityMasterViewAction()],\n },\n single: {\n title: '{{ name }}',\n sections: [{ id: 'basic-info' }, { id: 'schema' }],\n properties: [\n { name: 'name', dataPath: 'content.name', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'module', dataPath: 'content.module', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'title', dataPath: 'content.title', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'icon', dataPath: 'content.icon', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'content', layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n actions: [...entityMasterRecordActions()],\n },\n },\n },\n };\n\n return entityDef;\n}\n\nexport async function entityDefinitionEntityFactory(): Promise<AXPEntity | null> {\n return buildEntityDefinitionEntity();\n}\n"],"names":[],"mappings":";;;;SASgB,2BAA2B,GAAA;AACzC,IAAA,MAAM,IAAI,GAAG,UAAU,CAAC,MAAM,CAAC,IAAI;AAEnC,IAAA,MAAM,SAAS,GAAc;AAC3B,QAAA,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC9B,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,gBAAgB,CAAC,IAAI;AAC/C,QAAA,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC,gBAAgB,CAAC,KAAK;AACjD,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,gBAAgB,CAAC,IAAI;AAC/C,QAAA,OAAO,EAAE;AACP,YAAA,UAAU,EAAE,UAAU,CAAC,QAAQ,CAAC,gBAAgB,CAAC,KAAK;AACtD,YAAA,MAAM,EAAE,UAAU,CAAC,QAAQ,CAAC,gBAAgB,CAAC,WAAW;AACxD,YAAA,YAAY,EAAE;AACZ,gBAAA,KAAK,EAAE,YAAY;AACnB,gBAAA,WAAW,EAAE,sBAAsB;AACpC,aAAA;AACF,SAAA;AACD,QAAA,OAAO,EAAE,EAAE;AACX,QAAA,MAAM,EAAE;AACN,YAAA;AACE,gBAAA,EAAE,EAAE,YAAY;gBAChB,KAAK,EAAE,CAAA,CAAA,EAAI,IAAI,CAAA,gEAAA,CAAkE;AAClF,aAAA;AACD,YAAA;AACE,gBAAA,EAAE,EAAE,QAAQ;gBACZ,KAAK,EAAE,CAAA,CAAA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