@acorex-platform/module-platform-management-client 0.0.30 → 0.0.33

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 (65) hide show
  1. package/fesm2022/{acorex-platform-module-platform-management-client-acorex-platform-module-platform-management-client-V_ao4WVM.mjs → acorex-platform-module-platform-management-client-acorex-platform-module-platform-management-client-Dhg_zr0Y.mjs} +52 -18
  2. package/fesm2022/acorex-platform-module-platform-management-client-acorex-platform-module-platform-management-client-Dhg_zr0Y.mjs.map +1 -0
  3. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entities-command-definition.mjs +260 -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 +192 -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 +252 -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 +516 -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 +296 -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-CLAnbKkE.mjs +116 -0
  18. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entity-catalog-acorex-platform-module-platform-management-client-contracts-entity-catalog-CLAnbKkE.mjs.map +1 -0
  19. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entity-catalog-command-definition.entity-DQc-qLgx.mjs +169 -0
  20. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entity-catalog-command-definition.entity-DQc-qLgx.mjs.map +1 -0
  21. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entity-catalog-entity-access-policy.entity-CcrQikvj.mjs +144 -0
  22. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entity-catalog-entity-access-policy.entity-CcrQikvj.mjs.map +1 -0
  23. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entity-catalog-entity-definition.entity-D0g3R9eS.mjs +101 -0
  24. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entity-catalog-entity-definition.entity-D0g3R9eS.mjs.map +1 -0
  25. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entity-catalog-plugin-definition.entity-BhyI54NP.mjs +161 -0
  26. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entity-catalog-plugin-definition.entity-BhyI54NP.mjs.map +1 -0
  27. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entity-catalog-query-definition.entity-EeVwRw6n.mjs +425 -0
  28. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entity-catalog-query-definition.entity-EeVwRw6n.mjs.map +1 -0
  29. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entity-catalog-token.entity-BpDzXGQA.mjs +706 -0
  30. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entity-catalog-token.entity-BpDzXGQA.mjs.map +1 -0
  31. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entity-catalog-widget.entity-RMzK4w8S.mjs +205 -0
  32. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entity-catalog-widget.entity-RMzK4w8S.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 +23 -1
  36. package/fesm2022/acorex-platform-module-platform-management-client-contracts.mjs.map +1 -1
  37. package/fesm2022/{acorex-platform-module-platform-management-client-create-user-query.command-2Qu7aoCp.mjs → acorex-platform-module-platform-management-client-create-user-query.command-BZMFLEua.mjs} +3 -7
  38. package/fesm2022/acorex-platform-module-platform-management-client-create-user-query.command-BZMFLEua.mjs.map +1 -0
  39. package/fesm2022/{acorex-platform-module-platform-management-client-execute-token.command-DNuHR-0y.mjs → acorex-platform-module-platform-management-client-execute-token.command-B_xwW9lb.mjs} +1 -4
  40. package/fesm2022/acorex-platform-module-platform-management-client-execute-token.command-B_xwW9lb.mjs.map +1 -0
  41. package/fesm2022/acorex-platform-module-platform-management-client-local-entities.mjs +35 -0
  42. package/fesm2022/acorex-platform-module-platform-management-client-local-entities.mjs.map +1 -0
  43. package/fesm2022/{acorex-platform-module-platform-management-client-menu-list.component-C5HH5-Dw.mjs → acorex-platform-module-platform-management-client-menu-list.component-DiKmJva5.mjs} +3 -3
  44. package/fesm2022/{acorex-platform-module-platform-management-client-menu-list.component-C5HH5-Dw.mjs.map → acorex-platform-module-platform-management-client-menu-list.component-DiKmJva5.mjs.map} +1 -1
  45. package/fesm2022/{acorex-platform-module-platform-management-client-rest-api-generator-widget-column.component-CYb2zOSj.mjs → acorex-platform-module-platform-management-client-rest-api-generator-widget-column.component-BR1FlwWM.mjs} +2 -2
  46. package/fesm2022/{acorex-platform-module-platform-management-client-rest-api-generator-widget-column.component-CYb2zOSj.mjs.map → acorex-platform-module-platform-management-client-rest-api-generator-widget-column.component-BR1FlwWM.mjs.map} +1 -1
  47. package/fesm2022/{acorex-platform-module-platform-management-client-rest-api-generator-widget-edit.component-BBwrzcXa.mjs → acorex-platform-module-platform-management-client-rest-api-generator-widget-edit.component-DwPKSgdP.mjs} +2 -2
  48. package/fesm2022/{acorex-platform-module-platform-management-client-rest-api-generator-widget-edit.component-BBwrzcXa.mjs.map → acorex-platform-module-platform-management-client-rest-api-generator-widget-edit.component-DwPKSgdP.mjs.map} +1 -1
  49. package/fesm2022/{acorex-platform-module-platform-management-client-rest-api-generator-widget-view.component-DBlZVz6u.mjs → acorex-platform-module-platform-management-client-rest-api-generator-widget-view.component-DPhBXqGo.mjs} +2 -2
  50. package/fesm2022/{acorex-platform-module-platform-management-client-rest-api-generator-widget-view.component-DBlZVz6u.mjs.map → acorex-platform-module-platform-management-client-rest-api-generator-widget-view.component-DPhBXqGo.mjs.map} +1 -1
  51. package/fesm2022/acorex-platform-module-platform-management-client.mjs +1 -1
  52. package/package.json +39 -3
  53. package/types/acorex-platform-module-platform-management-client-contracts-entities-command-definition.d.ts +5 -0
  54. package/types/acorex-platform-module-platform-management-client-contracts-entities-entity-access-policy.d.ts +5 -0
  55. package/types/acorex-platform-module-platform-management-client-contracts-entities-entity-definition.d.ts +5 -0
  56. package/types/acorex-platform-module-platform-management-client-contracts-entities-plugin-definition.d.ts +5 -0
  57. package/types/acorex-platform-module-platform-management-client-contracts-entities-query-definition.d.ts +5 -0
  58. package/types/acorex-platform-module-platform-management-client-contracts-entities-token.d.ts +5 -0
  59. package/types/acorex-platform-module-platform-management-client-contracts-entities-widget.d.ts +5 -0
  60. package/types/acorex-platform-module-platform-management-client-contracts-entity-catalog.d.ts +10 -0
  61. package/types/acorex-platform-module-platform-management-client-contracts.d.ts +49 -2
  62. package/types/acorex-platform-module-platform-management-client-local-entities.d.ts +12 -0
  63. package/fesm2022/acorex-platform-module-platform-management-client-acorex-platform-module-platform-management-client-V_ao4WVM.mjs.map +0 -1
  64. package/fesm2022/acorex-platform-module-platform-management-client-create-user-query.command-2Qu7aoCp.mjs.map +0 -1
  65. package/fesm2022/acorex-platform-module-platform-management-client-execute-token.command-DNuHR-0y.mjs.map +0 -1
@@ -0,0 +1,192 @@
1
+ import { AXPWidgetsCatalog, AXPWidgetsList } from '@acorex-platform/framework-shared/core';
2
+ import { entityMasterRecordActions, createAllQueryView } from '@acorex-platform/framework-shared/entity';
3
+
4
+ const config = {
5
+ i18n: 'platform-management',
6
+ };
7
+ const RootConfig = {
8
+ config,
9
+ module: {
10
+ route: 'platform-management',
11
+ name: 'PlatformManagement',
12
+ title: `@${config.i18n}:module.title`,
13
+ icon: 'fa-light fa-cogs',
14
+ },
15
+ entities: {
16
+ localizationManagement: {
17
+ name: 'Localization Management',
18
+ title: `@${config.i18n}:localization-management.entities.localization-management.title`,
19
+ icon: 'fa-light fa-globe',
20
+ },
21
+ token: {
22
+ name: 'Tokens',
23
+ title: `@${config.i18n}:tokens.entities.token.title`,
24
+ icon: 'fa-light fa-object-exclude',
25
+ },
26
+ commandDefinition: {
27
+ name: 'CommandDefinition',
28
+ title: `@${config.i18n}:command-definitions.entities.command-definition.title`,
29
+ titlePlural: `@${config.i18n}:command-definitions.entities.command-definition.title-plural`,
30
+ icon: 'fa-light fa-terminal',
31
+ },
32
+ queryDefinition: {
33
+ name: 'QueryDefinition',
34
+ title: `@${config.i18n}:query-definitions.entities.query-definition.title`,
35
+ titlePlural: `@${config.i18n}:query-definitions.entities.query-definition.title-plural`,
36
+ icon: 'fa-light fa-database',
37
+ },
38
+ pluginDefinition: {
39
+ name: 'PluginDefinition',
40
+ title: `@${config.i18n}:plugin-definitions.entities.plugin-definition.title`,
41
+ titlePlural: `@${config.i18n}:plugin-definitions.entities.plugin-definition.title-plural`,
42
+ icon: 'fa-light fa-puzzle-piece',
43
+ },
44
+ widget: {
45
+ name: 'Widget',
46
+ title: `@${config.i18n}:widgets.entities.widget.title`,
47
+ titlePlural: `@${config.i18n}:widgets.entities.widget.title-plural`,
48
+ icon: 'fa-light fa-cubes',
49
+ },
50
+ entityDefinition: {
51
+ name: 'EntityDefinition',
52
+ title: `@${config.i18n}:entity-definitions.entities.entity-definition.title`,
53
+ titlePlural: `@${config.i18n}:entity-definitions.entities.entity-definition.title-plural`,
54
+ icon: 'fa-light fa-diagram-project',
55
+ },
56
+ entityAccessPolicy: {
57
+ name: 'EntityAccessPolicy',
58
+ title: `@${config.i18n}:entity-access-policies.entities.entity-access-policy.title`,
59
+ titlePlural: `@${config.i18n}:entity-access-policies.entities.entity-access-policy.title-plural`,
60
+ icon: 'fa-light fa-shield-keyhole',
61
+ },
62
+ },
63
+ queries: {
64
+ listRegisteredQueries: 'PlatformManagement:ListRegisteredQueries',
65
+ dashboard: {
66
+ tenantsKpi: 'PlatformManagement:Dashboard:TenantsKpi',
67
+ usersKpi: 'PlatformManagement:Dashboard:UsersKpi',
68
+ applicationsKpi: 'PlatformManagement:Dashboard:ApplicationsKpi',
69
+ errorsKpi: 'PlatformManagement:Dashboard:ErrorsKpi',
70
+ onlineUsersKpi: 'PlatformManagement:Dashboard:OnlineUsersKpi',
71
+ todayLoggedInUsersKpi: 'PlatformManagement:Dashboard:TodayLoggedInUsersKpi',
72
+ todayOnlineByHourLine: 'PlatformManagement:Dashboard:TodayOnlineByHourLine',
73
+ tenantsByStatusBar: 'PlatformManagement:Dashboard:TenantsByStatusBar',
74
+ applicationsByEditionDonut: 'PlatformManagement:Dashboard:ApplicationsByEditionDonut',
75
+ errorsTrendLine: 'PlatformManagement:Dashboard:ErrorsTrendLine',
76
+ jobsByStatusBar: 'PlatformManagement:Dashboard:JobsByStatusBar',
77
+ },
78
+ reports: {
79
+ userActivityTimeline: 'PlatformManagement:Reports:UserActivityTimeline',
80
+ userPresenceSummary: 'PlatformManagement:Reports:UserPresenceSummary',
81
+ userPresenceDaily: 'PlatformManagement:Reports:UserPresenceDaily',
82
+ userPresenceDailyChart: 'PlatformManagement:Reports:UserPresenceDailyChart',
83
+ userPresenceTimeline: 'PlatformManagement:Reports:UserPresenceTimeline',
84
+ userPresenceAwayBusy: 'PlatformManagement:Reports:UserPresenceAwayBusy',
85
+ tenantPresenceSnapshot: 'PlatformManagement:Reports:TenantPresenceSnapshot',
86
+ tenantPresenceWhoWasAround: 'PlatformManagement:Reports:TenantPresenceWhoWasAround',
87
+ tenantPresenceDailyTrend: 'PlatformManagement:Reports:TenantPresenceDailyTrend',
88
+ },
89
+ },
90
+ };
91
+
92
+ async function entityDefinitionEntityFactory() {
93
+ const i18n = RootConfig.config.i18n;
94
+ const entityDef = {
95
+ module: RootConfig.module.name,
96
+ name: RootConfig.entities.entityDefinition.name,
97
+ title: RootConfig.entities.entityDefinition.title,
98
+ icon: RootConfig.entities.entityDefinition.icon,
99
+ formats: {
100
+ individual: RootConfig.entities.entityDefinition.title,
101
+ plural: RootConfig.entities.entityDefinition.titlePlural,
102
+ searchResult: {
103
+ title: '{{ name }}',
104
+ description: '{{ id }}',
105
+ },
106
+ },
107
+ plugins: [],
108
+ groups: [
109
+ {
110
+ id: 'basic-info',
111
+ title: `@${i18n}:entity-definitions.entities.entity-definition.groups.basic-info`,
112
+ },
113
+ {
114
+ id: 'schema',
115
+ title: `@${i18n}:entity-definitions.entities.entity-definition.groups.schema`,
116
+ },
117
+ ],
118
+ properties: [
119
+ {
120
+ name: 'id',
121
+ title: '@general:terms.common.id',
122
+ groupId: 'basic-info',
123
+ schema: {
124
+ dataType: 'string',
125
+ readonly: true,
126
+ interface: { type: AXPWidgetsCatalog.text },
127
+ },
128
+ options: {
129
+ filter: { inline: { enabled: true }, advance: { enabled: true } },
130
+ sort: { enabled: true },
131
+ },
132
+ },
133
+ {
134
+ name: 'name',
135
+ title: '@general:terms.common.name',
136
+ groupId: 'basic-info',
137
+ schema: {
138
+ dataType: 'string',
139
+ readonly: true,
140
+ interface: { type: AXPWidgetsCatalog.text },
141
+ },
142
+ options: {
143
+ filter: { inline: { enabled: true }, advance: { enabled: true } },
144
+ sort: { enabled: true },
145
+ },
146
+ },
147
+ {
148
+ name: 'content',
149
+ title: `@${i18n}:entity-definitions.entities.entity-definition.fields.content.title`,
150
+ groupId: 'schema',
151
+ schema: {
152
+ dataType: 'object',
153
+ readonly: true,
154
+ interface: {
155
+ type: AXPWidgetsList.Advanced.CodeEditor,
156
+ options: { language: 'json', readOnly: true },
157
+ },
158
+ },
159
+ },
160
+ ],
161
+ columns: [
162
+ { name: 'name', title: '@general:terms.common.name', showAs: { type: AXPWidgetsCatalog.text } },
163
+ { name: 'id', title: '@general:terms.common.id', showAs: { type: AXPWidgetsCatalog.text } },
164
+ ],
165
+ interfaces: {
166
+ master: {
167
+ list: {
168
+ views: [createAllQueryView({ sorts: [{ name: 'name', dir: 'asc' }] })],
169
+ actions: [],
170
+ },
171
+ single: {
172
+ title: '{{ name }}',
173
+ sections: [{ id: 'basic-info' }, { id: 'schema' }],
174
+ properties: [
175
+ { name: 'id', layout: { positions: { lg: { colSpan: 12 } } } },
176
+ { name: 'name', layout: { positions: { lg: { colSpan: 12 } } } },
177
+ { name: 'content', layout: { positions: { lg: { colSpan: 12 } } } },
178
+ ],
179
+ actions: [...entityMasterRecordActions()],
180
+ },
181
+ },
182
+ },
183
+ };
184
+ return entityDef;
185
+ }
186
+
187
+ /**
188
+ * Generated bundle index. Do not edit.
189
+ */
190
+
191
+ export { entityDefinitionEntityFactory };
192
+ //# sourceMappingURL=acorex-platform-module-platform-management-client-contracts-entities-entity-definition.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-platform-management-client-contracts-entities-entity-definition.mjs","sources":["../../../../libs/modules/platform-management/contracts/src/root-config.ts","../../../../libs/modules/platform-management/contracts/src/entities/entity-definition/entity-definition.entity.ts","../../../../libs/modules/platform-management/contracts/src/acorex-platform-module-platform-management-client-contracts-entities-entity-definition.ts"],"sourcesContent":["const config = {\n i18n: 'platform-management',\n};\n\nexport const RootConfig = {\n config,\n module: {\n route: 'platform-management',\n name: 'PlatformManagement',\n title: `@${config.i18n}:module.title`,\n icon: 'fa-light fa-cogs',\n },\n entities: {\n localizationManagement: {\n name: 'Localization Management',\n title: `@${config.i18n}:localization-management.entities.localization-management.title`,\n icon: 'fa-light fa-globe',\n },\n token: {\n name: 'Tokens',\n title: `@${config.i18n}:tokens.entities.token.title`,\n icon: 'fa-light fa-object-exclude',\n },\n commandDefinition: {\n name: 'CommandDefinition',\n title: `@${config.i18n}:command-definitions.entities.command-definition.title`,\n titlePlural: `@${config.i18n}:command-definitions.entities.command-definition.title-plural`,\n icon: 'fa-light fa-terminal',\n },\n queryDefinition: {\n name: 'QueryDefinition',\n title: `@${config.i18n}:query-definitions.entities.query-definition.title`,\n titlePlural: `@${config.i18n}:query-definitions.entities.query-definition.title-plural`,\n icon: 'fa-light fa-database',\n },\n pluginDefinition: {\n name: 'PluginDefinition',\n title: `@${config.i18n}:plugin-definitions.entities.plugin-definition.title`,\n titlePlural: `@${config.i18n}:plugin-definitions.entities.plugin-definition.title-plural`,\n icon: 'fa-light fa-puzzle-piece',\n },\n widget: {\n name: 'Widget',\n title: `@${config.i18n}:widgets.entities.widget.title`,\n titlePlural: `@${config.i18n}:widgets.entities.widget.title-plural`,\n icon: 'fa-light fa-cubes',\n },\n entityDefinition: {\n name: 'EntityDefinition',\n title: `@${config.i18n}:entity-definitions.entities.entity-definition.title`,\n titlePlural: `@${config.i18n}:entity-definitions.entities.entity-definition.title-plural`,\n icon: 'fa-light fa-diagram-project',\n },\n entityAccessPolicy: {\n name: 'EntityAccessPolicy',\n title: `@${config.i18n}:entity-access-policies.entities.entity-access-policy.title`,\n titlePlural: `@${config.i18n}:entity-access-policies.entities.entity-access-policy.title-plural`,\n icon: 'fa-light fa-shield-keyhole',\n },\n },\n queries: {\n listRegisteredQueries: 'PlatformManagement:ListRegisteredQueries',\n dashboard: {\n tenantsKpi: 'PlatformManagement:Dashboard:TenantsKpi',\n usersKpi: 'PlatformManagement:Dashboard:UsersKpi',\n applicationsKpi: 'PlatformManagement:Dashboard:ApplicationsKpi',\n errorsKpi: 'PlatformManagement:Dashboard:ErrorsKpi',\n onlineUsersKpi: 'PlatformManagement:Dashboard:OnlineUsersKpi',\n todayLoggedInUsersKpi: 'PlatformManagement:Dashboard:TodayLoggedInUsersKpi',\n todayOnlineByHourLine: 'PlatformManagement:Dashboard:TodayOnlineByHourLine',\n tenantsByStatusBar: 'PlatformManagement:Dashboard:TenantsByStatusBar',\n applicationsByEditionDonut: 'PlatformManagement:Dashboard:ApplicationsByEditionDonut',\n errorsTrendLine: 'PlatformManagement:Dashboard:ErrorsTrendLine',\n jobsByStatusBar: 'PlatformManagement:Dashboard:JobsByStatusBar',\n },\n reports: {\n userActivityTimeline: 'PlatformManagement:Reports:UserActivityTimeline',\n userPresenceSummary: 'PlatformManagement:Reports:UserPresenceSummary',\n userPresenceDaily: 'PlatformManagement:Reports:UserPresenceDaily',\n userPresenceDailyChart: 'PlatformManagement:Reports:UserPresenceDailyChart',\n userPresenceTimeline: 'PlatformManagement:Reports:UserPresenceTimeline',\n userPresenceAwayBusy: 'PlatformManagement:Reports:UserPresenceAwayBusy',\n tenantPresenceSnapshot: 'PlatformManagement:Reports:TenantPresenceSnapshot',\n tenantPresenceWhoWasAround: 'PlatformManagement:Reports:TenantPresenceWhoWasAround',\n tenantPresenceDailyTrend: 'PlatformManagement:Reports:TenantPresenceDailyTrend',\n },\n },\n} as const;\n\n","import { AXPWidgetsCatalog, AXPWidgetsList } 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\nexport async function entityDefinitionEntityFactory(): Promise<AXPEntity | null> {\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: '{{ id }}',\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 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: '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: '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 },\n },\n },\n },\n ],\n columns: [\n { name: 'name', title: '@general:terms.common.name', showAs: { type: AXPWidgetsCatalog.text } },\n { name: 'id', title: '@general:terms.common.id', showAs: { type: AXPWidgetsCatalog.text } },\n ],\n interfaces: {\n master: {\n list: {\n views: [createAllQueryView({ sorts: [{ name: 'name', dir: 'asc' }] })],\n actions: [],\n },\n single: {\n title: '{{ name }}',\n sections: [{ id: 'basic-info' }, { id: 'schema' }],\n properties: [\n { name: 'id', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'name', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'content', layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n actions: [...entityMasterRecordActions()],\n },\n },\n },\n };\n\n return entityDef;\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './entity-entry.entity-definition';\n"],"names":[],"mappings":";;;AAAA,MAAM,MAAM,GAAG;AACb,IAAA,IAAI,EAAE,qBAAqB;CAC5B;AAEM,MAAM,UAAU,GAAG;IACxB,MAAM;AACN,IAAA,MAAM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A,UAAU,EAAE;AACV,wBAAA,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE;AAC9D,wBAAA,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE;AAChE,wBAAA,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE;AACpE,qBAAA;AACD,oBAAA,OAAO,EAAE,CAAC,GAAG,yBAAyB,EAAE,CAAC;AAC1C,iBAAA;AACF,aAAA;AACF,SAAA;KACF;AAED,IAAA,OAAO,SAAS;AAClB;;ACvGA;;AAEG;;;;"}
@@ -0,0 +1,252 @@
1
+ import { AXPWidgetsCatalog, AXPWidgetsList } from '@acorex-platform/framework-shared/core';
2
+ import { entityMasterRecordActions, createAllQueryView } from '@acorex-platform/framework-shared/entity';
3
+
4
+ const config = {
5
+ i18n: 'platform-management',
6
+ };
7
+ const RootConfig = {
8
+ config,
9
+ module: {
10
+ route: 'platform-management',
11
+ name: 'PlatformManagement',
12
+ title: `@${config.i18n}:module.title`,
13
+ icon: 'fa-light fa-cogs',
14
+ },
15
+ entities: {
16
+ localizationManagement: {
17
+ name: 'Localization Management',
18
+ title: `@${config.i18n}:localization-management.entities.localization-management.title`,
19
+ icon: 'fa-light fa-globe',
20
+ },
21
+ token: {
22
+ name: 'Tokens',
23
+ title: `@${config.i18n}:tokens.entities.token.title`,
24
+ icon: 'fa-light fa-object-exclude',
25
+ },
26
+ commandDefinition: {
27
+ name: 'CommandDefinition',
28
+ title: `@${config.i18n}:command-definitions.entities.command-definition.title`,
29
+ titlePlural: `@${config.i18n}:command-definitions.entities.command-definition.title-plural`,
30
+ icon: 'fa-light fa-terminal',
31
+ },
32
+ queryDefinition: {
33
+ name: 'QueryDefinition',
34
+ title: `@${config.i18n}:query-definitions.entities.query-definition.title`,
35
+ titlePlural: `@${config.i18n}:query-definitions.entities.query-definition.title-plural`,
36
+ icon: 'fa-light fa-database',
37
+ },
38
+ pluginDefinition: {
39
+ name: 'PluginDefinition',
40
+ title: `@${config.i18n}:plugin-definitions.entities.plugin-definition.title`,
41
+ titlePlural: `@${config.i18n}:plugin-definitions.entities.plugin-definition.title-plural`,
42
+ icon: 'fa-light fa-puzzle-piece',
43
+ },
44
+ widget: {
45
+ name: 'Widget',
46
+ title: `@${config.i18n}:widgets.entities.widget.title`,
47
+ titlePlural: `@${config.i18n}:widgets.entities.widget.title-plural`,
48
+ icon: 'fa-light fa-cubes',
49
+ },
50
+ entityDefinition: {
51
+ name: 'EntityDefinition',
52
+ title: `@${config.i18n}:entity-definitions.entities.entity-definition.title`,
53
+ titlePlural: `@${config.i18n}:entity-definitions.entities.entity-definition.title-plural`,
54
+ icon: 'fa-light fa-diagram-project',
55
+ },
56
+ entityAccessPolicy: {
57
+ name: 'EntityAccessPolicy',
58
+ title: `@${config.i18n}:entity-access-policies.entities.entity-access-policy.title`,
59
+ titlePlural: `@${config.i18n}:entity-access-policies.entities.entity-access-policy.title-plural`,
60
+ icon: 'fa-light fa-shield-keyhole',
61
+ },
62
+ },
63
+ queries: {
64
+ listRegisteredQueries: 'PlatformManagement:ListRegisteredQueries',
65
+ dashboard: {
66
+ tenantsKpi: 'PlatformManagement:Dashboard:TenantsKpi',
67
+ usersKpi: 'PlatformManagement:Dashboard:UsersKpi',
68
+ applicationsKpi: 'PlatformManagement:Dashboard:ApplicationsKpi',
69
+ errorsKpi: 'PlatformManagement:Dashboard:ErrorsKpi',
70
+ onlineUsersKpi: 'PlatformManagement:Dashboard:OnlineUsersKpi',
71
+ todayLoggedInUsersKpi: 'PlatformManagement:Dashboard:TodayLoggedInUsersKpi',
72
+ todayOnlineByHourLine: 'PlatformManagement:Dashboard:TodayOnlineByHourLine',
73
+ tenantsByStatusBar: 'PlatformManagement:Dashboard:TenantsByStatusBar',
74
+ applicationsByEditionDonut: 'PlatformManagement:Dashboard:ApplicationsByEditionDonut',
75
+ errorsTrendLine: 'PlatformManagement:Dashboard:ErrorsTrendLine',
76
+ jobsByStatusBar: 'PlatformManagement:Dashboard:JobsByStatusBar',
77
+ },
78
+ reports: {
79
+ userActivityTimeline: 'PlatformManagement:Reports:UserActivityTimeline',
80
+ userPresenceSummary: 'PlatformManagement:Reports:UserPresenceSummary',
81
+ userPresenceDaily: 'PlatformManagement:Reports:UserPresenceDaily',
82
+ userPresenceDailyChart: 'PlatformManagement:Reports:UserPresenceDailyChart',
83
+ userPresenceTimeline: 'PlatformManagement:Reports:UserPresenceTimeline',
84
+ userPresenceAwayBusy: 'PlatformManagement:Reports:UserPresenceAwayBusy',
85
+ tenantPresenceSnapshot: 'PlatformManagement:Reports:TenantPresenceSnapshot',
86
+ tenantPresenceWhoWasAround: 'PlatformManagement:Reports:TenantPresenceWhoWasAround',
87
+ tenantPresenceDailyTrend: 'PlatformManagement:Reports:TenantPresenceDailyTrend',
88
+ },
89
+ },
90
+ };
91
+
92
+ async function pluginDefinitionEntityFactory() {
93
+ const i18n = RootConfig.config.i18n;
94
+ const entityDef = {
95
+ module: RootConfig.module.name,
96
+ name: RootConfig.entities.pluginDefinition.name,
97
+ title: RootConfig.entities.pluginDefinition.title,
98
+ icon: RootConfig.entities.pluginDefinition.icon,
99
+ formats: {
100
+ individual: RootConfig.entities.pluginDefinition.title,
101
+ plural: RootConfig.entities.pluginDefinition.titlePlural,
102
+ searchResult: {
103
+ title: '{{ catalogTitle || name }}',
104
+ description: '{{ description }}',
105
+ },
106
+ },
107
+ plugins: [],
108
+ groups: [
109
+ {
110
+ id: 'basic-info',
111
+ title: `@${i18n}:plugin-definitions.entities.plugin-definition.groups.basic-info`,
112
+ },
113
+ {
114
+ id: 'schema',
115
+ title: `@${i18n}:plugin-definitions.entities.plugin-definition.groups.schema`,
116
+ },
117
+ ],
118
+ properties: [
119
+ {
120
+ name: 'name',
121
+ title: '@general:terms.common.name',
122
+ groupId: 'basic-info',
123
+ schema: {
124
+ dataType: 'string',
125
+ readonly: true,
126
+ interface: { type: AXPWidgetsCatalog.text },
127
+ },
128
+ options: {
129
+ filter: { inline: { enabled: true }, advance: { enabled: true } },
130
+ sort: { enabled: true },
131
+ },
132
+ },
133
+ {
134
+ name: 'catalogTitle',
135
+ title: '@general:terms.common.title',
136
+ groupId: 'basic-info',
137
+ schema: {
138
+ dataType: 'string',
139
+ readonly: true,
140
+ interface: { type: AXPWidgetsCatalog.text },
141
+ },
142
+ options: {
143
+ filter: { inline: { enabled: true }, advance: { enabled: true } },
144
+ sort: { enabled: true },
145
+ },
146
+ },
147
+ {
148
+ name: 'description',
149
+ title: '@general:terms.common.description',
150
+ groupId: 'basic-info',
151
+ schema: {
152
+ dataType: 'string',
153
+ readonly: true,
154
+ interface: { type: AXPWidgetsCatalog.largeText, options: { rows: 3 } },
155
+ },
156
+ options: { filter: { advance: { enabled: true } } },
157
+ },
158
+ {
159
+ name: 'sourceModule',
160
+ title: `@${i18n}:plugin-definitions.entities.plugin-definition.fields.source-module.title`,
161
+ groupId: 'basic-info',
162
+ schema: {
163
+ dataType: 'string',
164
+ readonly: true,
165
+ interface: { type: AXPWidgetsCatalog.text },
166
+ },
167
+ options: { filter: { inline: { enabled: true } } },
168
+ },
169
+ {
170
+ name: 'order',
171
+ title: `@${i18n}:plugin-definitions.entities.plugin-definition.fields.order.title`,
172
+ groupId: 'basic-info',
173
+ schema: {
174
+ dataType: 'number',
175
+ readonly: true,
176
+ interface: { type: AXPWidgetsCatalog.number },
177
+ },
178
+ options: { sort: { enabled: true } },
179
+ },
180
+ {
181
+ name: 'optionDefinitions',
182
+ title: `@${i18n}:plugin-definitions.entities.plugin-definition.fields.options.title`,
183
+ groupId: 'schema',
184
+ schema: {
185
+ dataType: 'array',
186
+ readonly: true,
187
+ interface: { type: AXPWidgetsList.Advanced.CodeEditor, options: { language: 'json', readOnly: true } },
188
+ },
189
+ },
190
+ {
191
+ name: 'contributionsJson',
192
+ title: `@${i18n}:plugin-definitions.entities.plugin-definition.fields.contributions.title`,
193
+ groupId: 'schema',
194
+ schema: {
195
+ dataType: 'string',
196
+ readonly: true,
197
+ interface: { type: AXPWidgetsList.Advanced.CodeEditor, options: { language: 'json', readOnly: true } },
198
+ },
199
+ },
200
+ {
201
+ name: 'aiMetadataJson',
202
+ title: `@${i18n}:plugin-definitions.entities.plugin-definition.fields.ai-metadata.title`,
203
+ groupId: 'schema',
204
+ schema: {
205
+ dataType: 'string',
206
+ readonly: true,
207
+ interface: { type: AXPWidgetsList.Advanced.CodeEditor, options: { language: 'json', readOnly: true } },
208
+ },
209
+ },
210
+ ],
211
+ columns: [
212
+ { name: 'catalogTitle', title: '@general:terms.common.title', showAs: { type: AXPWidgetsCatalog.text } },
213
+ { name: 'name', title: '@general:terms.common.name', showAs: { type: AXPWidgetsCatalog.text } },
214
+ {
215
+ name: 'sourceModule',
216
+ title: `@${i18n}:plugin-definitions.entities.plugin-definition.fields.source-module.title`,
217
+ },
218
+ { name: 'order', title: `@${i18n}:plugin-definitions.entities.plugin-definition.fields.order.title` },
219
+ ],
220
+ interfaces: {
221
+ master: {
222
+ list: {
223
+ views: [createAllQueryView({ sorts: [{ name: 'catalogTitle', dir: 'asc' }] })],
224
+ actions: [],
225
+ },
226
+ single: {
227
+ title: '{{ catalogTitle || name }}',
228
+ sections: [{ id: 'basic-info' }, { id: 'schema' }],
229
+ properties: [
230
+ { name: 'name', layout: { positions: { lg: { colSpan: 6 } } } },
231
+ { name: 'catalogTitle', layout: { positions: { lg: { colSpan: 6 } } } },
232
+ { name: 'sourceModule', layout: { positions: { lg: { colSpan: 6 } } } },
233
+ { name: 'order', layout: { positions: { lg: { colSpan: 6 } } } },
234
+ { name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },
235
+ { name: 'optionDefinitions', layout: { positions: { lg: { colSpan: 12 } } } },
236
+ { name: 'contributionsJson', layout: { positions: { lg: { colSpan: 12 } } } },
237
+ { name: 'aiMetadataJson', layout: { positions: { lg: { colSpan: 12 } } } },
238
+ ],
239
+ actions: [...entityMasterRecordActions()],
240
+ },
241
+ },
242
+ },
243
+ };
244
+ return entityDef;
245
+ }
246
+
247
+ /**
248
+ * Generated bundle index. Do not edit.
249
+ */
250
+
251
+ export { pluginDefinitionEntityFactory };
252
+ //# sourceMappingURL=acorex-platform-module-platform-management-client-contracts-entities-plugin-definition.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-platform-management-client-contracts-entities-plugin-definition.mjs","sources":["../../../../libs/modules/platform-management/contracts/src/root-config.ts","../../../../libs/modules/platform-management/contracts/src/entities/plugin-definition/plugin-definition.entity.ts","../../../../libs/modules/platform-management/contracts/src/acorex-platform-module-platform-management-client-contracts-entities-plugin-definition.ts"],"sourcesContent":["const config = {\n i18n: 'platform-management',\n};\n\nexport const RootConfig = {\n config,\n module: {\n route: 'platform-management',\n name: 'PlatformManagement',\n title: `@${config.i18n}:module.title`,\n icon: 'fa-light fa-cogs',\n },\n entities: {\n localizationManagement: {\n name: 'Localization Management',\n title: `@${config.i18n}:localization-management.entities.localization-management.title`,\n icon: 'fa-light fa-globe',\n },\n token: {\n name: 'Tokens',\n title: `@${config.i18n}:tokens.entities.token.title`,\n icon: 'fa-light fa-object-exclude',\n },\n commandDefinition: {\n name: 'CommandDefinition',\n title: `@${config.i18n}:command-definitions.entities.command-definition.title`,\n titlePlural: `@${config.i18n}:command-definitions.entities.command-definition.title-plural`,\n icon: 'fa-light fa-terminal',\n },\n queryDefinition: {\n name: 'QueryDefinition',\n title: `@${config.i18n}:query-definitions.entities.query-definition.title`,\n titlePlural: `@${config.i18n}:query-definitions.entities.query-definition.title-plural`,\n icon: 'fa-light fa-database',\n },\n pluginDefinition: {\n name: 'PluginDefinition',\n title: `@${config.i18n}:plugin-definitions.entities.plugin-definition.title`,\n titlePlural: `@${config.i18n}:plugin-definitions.entities.plugin-definition.title-plural`,\n icon: 'fa-light fa-puzzle-piece',\n },\n widget: {\n name: 'Widget',\n title: `@${config.i18n}:widgets.entities.widget.title`,\n titlePlural: `@${config.i18n}:widgets.entities.widget.title-plural`,\n icon: 'fa-light fa-cubes',\n },\n entityDefinition: {\n name: 'EntityDefinition',\n title: `@${config.i18n}:entity-definitions.entities.entity-definition.title`,\n titlePlural: `@${config.i18n}:entity-definitions.entities.entity-definition.title-plural`,\n icon: 'fa-light fa-diagram-project',\n },\n entityAccessPolicy: {\n name: 'EntityAccessPolicy',\n title: `@${config.i18n}:entity-access-policies.entities.entity-access-policy.title`,\n titlePlural: `@${config.i18n}:entity-access-policies.entities.entity-access-policy.title-plural`,\n icon: 'fa-light fa-shield-keyhole',\n },\n },\n queries: {\n listRegisteredQueries: 'PlatformManagement:ListRegisteredQueries',\n dashboard: {\n tenantsKpi: 'PlatformManagement:Dashboard:TenantsKpi',\n usersKpi: 'PlatformManagement:Dashboard:UsersKpi',\n applicationsKpi: 'PlatformManagement:Dashboard:ApplicationsKpi',\n errorsKpi: 'PlatformManagement:Dashboard:ErrorsKpi',\n onlineUsersKpi: 'PlatformManagement:Dashboard:OnlineUsersKpi',\n todayLoggedInUsersKpi: 'PlatformManagement:Dashboard:TodayLoggedInUsersKpi',\n todayOnlineByHourLine: 'PlatformManagement:Dashboard:TodayOnlineByHourLine',\n tenantsByStatusBar: 'PlatformManagement:Dashboard:TenantsByStatusBar',\n applicationsByEditionDonut: 'PlatformManagement:Dashboard:ApplicationsByEditionDonut',\n errorsTrendLine: 'PlatformManagement:Dashboard:ErrorsTrendLine',\n jobsByStatusBar: 'PlatformManagement:Dashboard:JobsByStatusBar',\n },\n reports: {\n userActivityTimeline: 'PlatformManagement:Reports:UserActivityTimeline',\n userPresenceSummary: 'PlatformManagement:Reports:UserPresenceSummary',\n userPresenceDaily: 'PlatformManagement:Reports:UserPresenceDaily',\n userPresenceDailyChart: 'PlatformManagement:Reports:UserPresenceDailyChart',\n userPresenceTimeline: 'PlatformManagement:Reports:UserPresenceTimeline',\n userPresenceAwayBusy: 'PlatformManagement:Reports:UserPresenceAwayBusy',\n tenantPresenceSnapshot: 'PlatformManagement:Reports:TenantPresenceSnapshot',\n tenantPresenceWhoWasAround: 'PlatformManagement:Reports:TenantPresenceWhoWasAround',\n tenantPresenceDailyTrend: 'PlatformManagement:Reports:TenantPresenceDailyTrend',\n },\n },\n} as const;\n\n","import { AXPWidgetsCatalog, AXPWidgetsList } 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\nexport async function pluginDefinitionEntityFactory(): Promise<AXPEntity | null> {\n const i18n = RootConfig.config.i18n;\n\n const entityDef: AXPEntity = {\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: {\n filter: { inline: { enabled: true }, advance: { enabled: true } },\n sort: { enabled: true },\n },\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: {\n filter: { inline: { enabled: true }, advance: { enabled: true } },\n sort: { enabled: true },\n },\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: { filter: { advance: { enabled: true } } },\n },\n {\n name: 'sourceModule',\n title: `@${i18n}:plugin-definitions.entities.plugin-definition.fields.source-module.title`,\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n readonly: true,\n interface: { type: AXPWidgetsCatalog.text },\n },\n options: { filter: { inline: { enabled: true } } },\n },\n {\n name: 'order',\n title: `@${i18n}:plugin-definitions.entities.plugin-definition.fields.order.title`,\n groupId: 'basic-info',\n schema: {\n dataType: 'number',\n readonly: true,\n interface: { type: AXPWidgetsCatalog.number },\n },\n options: { sort: { enabled: true } },\n },\n {\n name: 'optionDefinitions',\n title: `@${i18n}:plugin-definitions.entities.plugin-definition.fields.options.title`,\n groupId: 'schema',\n schema: {\n dataType: 'array',\n readonly: true,\n interface: { type: AXPWidgetsList.Advanced.CodeEditor, options: { language: 'json', readOnly: true } },\n },\n },\n {\n name: 'contributionsJson',\n title: `@${i18n}:plugin-definitions.entities.plugin-definition.fields.contributions.title`,\n groupId: 'schema',\n schema: {\n dataType: 'string',\n readonly: true,\n interface: { type: AXPWidgetsList.Advanced.CodeEditor, options: { language: 'json', readOnly: true } },\n },\n },\n {\n name: 'aiMetadataJson',\n title: `@${i18n}:plugin-definitions.entities.plugin-definition.fields.ai-metadata.title`,\n groupId: 'schema',\n schema: {\n dataType: 'string',\n readonly: true,\n interface: { type: AXPWidgetsList.Advanced.CodeEditor, options: { language: 'json', readOnly: true } },\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: `@${i18n}:plugin-definitions.entities.plugin-definition.fields.source-module.title`,\n },\n { name: 'order', title: `@${i18n}:plugin-definitions.entities.plugin-definition.fields.order.title` },\n ],\n interfaces: {\n master: {\n list: {\n views: [createAllQueryView({ sorts: [{ name: 'catalogTitle', dir: 'asc' }] })],\n actions: [],\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: 'sourceModule', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'order', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },\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 return entityDef;\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './entity-entry.plugin-definition';\n"],"names":[],"mappings":";;;AAAA,MAAM,MAAM,GAAG;AACb,IAAA,IAAI,EAAE,qBAAqB;CAC5B;AAEM,MAAM,UAAU,GAAG;IACxB,MAAM;AACN,IAAA,MAAM,EAAE;AACN,QAAA,KAAK,EAAE,qBAAqB;AAC5B,QAAA,IAAI,EAAE,oBAAoB;AAC1B,QAAA,KAAK,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,aAAA,CAAe;AACrC,QAAA,IAAI,EAAE,kBAAkB;AACzB,KAAA;AACD,IAAA,QAAQ,EAAE;AACR,QAAA,sBAAsB,EAAE;AACtB,YAAA,IAAI,EAAE,yBAAyB;AAC/B,YAAA,KAAK,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,+DAAA,CAAiE;AACvF,YAAA,IAAI,EAAE,mBAAmB;AAC1B,SA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