@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,477 @@
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
+
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
+ //#region ----- Entity -----
93
+ const LIST_FILTER_SORT = {
94
+ filter: { inline: { enabled: true }, advance: { enabled: true } },
95
+ sort: { enabled: true },
96
+ };
97
+ const ADVANCE_FILTER = {
98
+ filter: { advance: { enabled: true } },
99
+ };
100
+ function queryFieldTitle(i18n, field) {
101
+ return `@${i18n}:query-definitions.entities.query-definition.fields.${field}.title`;
102
+ }
103
+ function queryOptionText(i18n, field, option) {
104
+ return `@${i18n}:query-definitions.entities.query-definition.fields.${field}.options.${option}`;
105
+ }
106
+ const QUERY_FORM_PROPERTIES = [
107
+ { name: 'name', layout: { positions: { lg: { colSpan: 6 } } } },
108
+ { name: 'catalogTitle', layout: { positions: { lg: { colSpan: 6 } } } },
109
+ { name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },
110
+ { name: 'executionMode', layout: { positions: { lg: { colSpan: 4 } } } },
111
+ { name: 'kind', layout: { positions: { lg: { colSpan: 4 } } } },
112
+ { name: 'resultType', layout: { positions: { lg: { colSpan: 4 } } } },
113
+ { name: 'valueType', layout: { positions: { lg: { colSpan: 6 } } } },
114
+ { name: 'byKeyQuery', layout: { positions: { lg: { colSpan: 6 } } } },
115
+ { name: 'capabilities', layout: { positions: { lg: { colSpan: 12 } } } },
116
+ { name: 'binding', layout: { positions: { lg: { colSpan: 12 } } } },
117
+ { name: 'args', layout: { positions: { lg: { colSpan: 12 } } } },
118
+ { name: 'filter', layout: { positions: { lg: { colSpan: 6 } } } },
119
+ { name: 'sort', layout: { positions: { lg: { colSpan: 6 } } } },
120
+ { name: 'paging', layout: { positions: { lg: { colSpan: 6 } } } },
121
+ { name: 'columns', layout: { positions: { lg: { colSpan: 6 } } } },
122
+ { name: 'aiMetadataJson', layout: { positions: { lg: { colSpan: 12 } } } },
123
+ ];
124
+ function buildQueryDefinitionEntity() {
125
+ const i18n = RootConfig.config.i18n;
126
+ return {
127
+ module: RootConfig.module.name,
128
+ name: RootConfig.entities.queryDefinition.name,
129
+ title: RootConfig.entities.queryDefinition.title,
130
+ icon: RootConfig.entities.queryDefinition.icon,
131
+ formats: {
132
+ individual: RootConfig.entities.queryDefinition.title,
133
+ plural: RootConfig.entities.queryDefinition.titlePlural,
134
+ searchResult: {
135
+ title: '{{ catalogTitle || name }}',
136
+ description: '{{ description }}',
137
+ },
138
+ },
139
+ plugins: [],
140
+ groups: [
141
+ {
142
+ id: 'basic-info',
143
+ title: `@${i18n}:query-definitions.entities.query-definition.groups.basic-info`,
144
+ },
145
+ {
146
+ id: 'schema',
147
+ title: `@${i18n}:query-definitions.entities.query-definition.groups.schema`,
148
+ },
149
+ ],
150
+ properties: [
151
+ {
152
+ name: 'name',
153
+ title: '@general:terms.common.name',
154
+ groupId: 'basic-info',
155
+ schema: {
156
+ dataType: 'string',
157
+ interface: { type: AXPWidgetsCatalog.text },
158
+ },
159
+ options: LIST_FILTER_SORT,
160
+ },
161
+ {
162
+ name: 'catalogTitle',
163
+ title: '@general:terms.common.title',
164
+ groupId: 'basic-info',
165
+ schema: {
166
+ dataType: 'string',
167
+ interface: { type: AXPWidgetsCatalog.text },
168
+ },
169
+ options: LIST_FILTER_SORT,
170
+ },
171
+ {
172
+ name: 'description',
173
+ title: '@general:terms.common.description',
174
+ groupId: 'basic-info',
175
+ schema: {
176
+ dataType: 'string',
177
+ interface: { type: AXPWidgetsCatalog.largeText, options: { rows: 3 } },
178
+ },
179
+ options: ADVANCE_FILTER,
180
+ },
181
+ {
182
+ name: 'executionMode',
183
+ title: queryFieldTitle(i18n, 'execution-mode'),
184
+ groupId: 'basic-info',
185
+ schema: {
186
+ dataType: 'string',
187
+ interface: {
188
+ type: AXPWidgetsCatalog.select,
189
+ options: {
190
+ valueField: 'value',
191
+ textField: 'text',
192
+ dataSource: [
193
+ { value: 'frontend', text: queryOptionText(i18n, 'execution-mode', 'frontend') },
194
+ { value: 'backend', text: queryOptionText(i18n, 'execution-mode', 'backend') },
195
+ { value: 'both', text: queryOptionText(i18n, 'execution-mode', 'both') },
196
+ ],
197
+ },
198
+ },
199
+ },
200
+ options: LIST_FILTER_SORT,
201
+ },
202
+ {
203
+ name: 'kind',
204
+ title: queryFieldTitle(i18n, 'kind'),
205
+ groupId: 'basic-info',
206
+ schema: {
207
+ dataType: 'string',
208
+ interface: {
209
+ type: AXPWidgetsCatalog.select,
210
+ options: {
211
+ valueField: 'value',
212
+ textField: 'text',
213
+ dataSource: [
214
+ { value: 'value', text: queryOptionText(i18n, 'kind', 'value') },
215
+ { value: 'object', text: queryOptionText(i18n, 'kind', 'object') },
216
+ { value: 'collection', text: queryOptionText(i18n, 'kind', 'collection') },
217
+ ],
218
+ },
219
+ },
220
+ },
221
+ options: LIST_FILTER_SORT,
222
+ },
223
+ {
224
+ name: 'resultType',
225
+ title: queryFieldTitle(i18n, 'result-type'),
226
+ groupId: 'basic-info',
227
+ schema: {
228
+ dataType: 'string',
229
+ interface: { type: AXPWidgetsCatalog.text },
230
+ },
231
+ options: LIST_FILTER_SORT,
232
+ },
233
+ {
234
+ name: 'valueType',
235
+ title: queryFieldTitle(i18n, 'value-type'),
236
+ groupId: 'basic-info',
237
+ schema: {
238
+ dataType: 'string',
239
+ interface: {
240
+ type: AXPWidgetsCatalog.select,
241
+ options: {
242
+ valueField: 'value',
243
+ textField: 'text',
244
+ dataSource: [
245
+ { value: 'string', text: queryOptionText(i18n, 'value-type', 'string') },
246
+ { value: 'number', text: queryOptionText(i18n, 'value-type', 'number') },
247
+ { value: 'boolean', text: queryOptionText(i18n, 'value-type', 'boolean') },
248
+ { value: 'date', text: queryOptionText(i18n, 'value-type', 'date') },
249
+ { value: 'datetime', text: queryOptionText(i18n, 'value-type', 'datetime') },
250
+ { value: 'json', text: queryOptionText(i18n, 'value-type', 'json') },
251
+ ],
252
+ },
253
+ },
254
+ },
255
+ options: LIST_FILTER_SORT,
256
+ },
257
+ {
258
+ name: 'byKeyQuery',
259
+ title: queryFieldTitle(i18n, 'by-key-query'),
260
+ groupId: 'basic-info',
261
+ schema: {
262
+ dataType: 'string',
263
+ interface: { type: AXPWidgetsCatalog.text },
264
+ },
265
+ options: ADVANCE_FILTER,
266
+ },
267
+ {
268
+ name: 'capabilities',
269
+ title: queryFieldTitle(i18n, 'capabilities'),
270
+ groupId: 'basic-info',
271
+ schema: {
272
+ dataType: 'array',
273
+ interface: { type: AXPWidgetsList.Editors.TagEditor },
274
+ },
275
+ options: ADVANCE_FILTER,
276
+ },
277
+ {
278
+ name: 'binding',
279
+ title: queryFieldTitle(i18n, 'binding'),
280
+ groupId: 'schema',
281
+ schema: {
282
+ dataType: 'object',
283
+ interface: { type: AXPWidgetsList.Advanced.CodeEditor, options: { language: 'json', height: 'h-96' } },
284
+ },
285
+ },
286
+ {
287
+ name: 'args',
288
+ title: queryFieldTitle(i18n, 'args'),
289
+ groupId: 'schema',
290
+ schema: {
291
+ dataType: 'object',
292
+ interface: { type: AXPWidgetsList.Advanced.CodeEditor, options: { language: 'json', height: 'h-96' } },
293
+ },
294
+ },
295
+ {
296
+ name: 'filter',
297
+ title: queryFieldTitle(i18n, 'filter'),
298
+ groupId: 'schema',
299
+ schema: {
300
+ dataType: 'object',
301
+ interface: { type: AXPWidgetsList.Advanced.CodeEditor, options: { language: 'json', height: 'h-96' } },
302
+ },
303
+ },
304
+ {
305
+ name: 'sort',
306
+ title: queryFieldTitle(i18n, 'sort'),
307
+ groupId: 'schema',
308
+ schema: {
309
+ dataType: 'object',
310
+ interface: { type: AXPWidgetsList.Advanced.CodeEditor, options: { language: 'json', height: 'h-96' } },
311
+ },
312
+ },
313
+ {
314
+ name: 'paging',
315
+ title: queryFieldTitle(i18n, 'paging'),
316
+ groupId: 'schema',
317
+ schema: {
318
+ dataType: 'object',
319
+ interface: { type: AXPWidgetsList.Advanced.CodeEditor, options: { language: 'json', height: 'h-96' } },
320
+ },
321
+ },
322
+ {
323
+ name: 'columns',
324
+ title: queryFieldTitle(i18n, 'columns'),
325
+ groupId: 'schema',
326
+ schema: {
327
+ dataType: 'array',
328
+ interface: { type: AXPWidgetsList.Advanced.CodeEditor, options: { language: 'json', height: 'h-96' } },
329
+ },
330
+ },
331
+ {
332
+ name: 'aiMetadataJson',
333
+ title: queryFieldTitle(i18n, 'ai-metadata'),
334
+ groupId: 'schema',
335
+ schema: {
336
+ dataType: 'string',
337
+ interface: { type: AXPWidgetsList.Advanced.CodeEditor, options: { language: 'json', height: 'h-96' } },
338
+ },
339
+ },
340
+ ],
341
+ columns: [
342
+ { name: 'catalogTitle', title: '@general:terms.common.title', showAs: { type: AXPWidgetsCatalog.text } },
343
+ { name: 'name', title: '@general:terms.common.name', showAs: { type: AXPWidgetsCatalog.text } },
344
+ { name: 'executionMode', title: queryFieldTitle(i18n, 'execution-mode') },
345
+ { name: 'kind', title: queryFieldTitle(i18n, 'kind') },
346
+ { name: 'resultType', title: queryFieldTitle(i18n, 'result-type') },
347
+ {
348
+ name: 'capabilities',
349
+ title: queryFieldTitle(i18n, 'capabilities'),
350
+ showAs: { type: AXPWidgetsList.Editors.TagEditor },
351
+ },
352
+ ],
353
+ interfaces: {
354
+ master: {
355
+ create: {
356
+ sections: [{ id: 'basic-info' }, { id: 'schema' }],
357
+ properties: QUERY_FORM_PROPERTIES,
358
+ },
359
+ update: {
360
+ sections: [{ id: 'basic-info' }, { id: 'schema' }],
361
+ properties: QUERY_FORM_PROPERTIES,
362
+ },
363
+ list: {
364
+ views: [
365
+ createAllQueryView({ sorts: [{ name: 'catalogTitle', dir: 'asc' }] }),
366
+ createQueryView('my-query', `@${i18n}:query-definitions.entities.query-definition.views.my-query`, true, {
367
+ sorts: [{ name: 'catalogTitle', dir: 'asc' }],
368
+ conditions: [
369
+ {
370
+ name: 'stateInfo.isSystem',
371
+ operator: { type: 'equal' },
372
+ value: false,
373
+ },
374
+ ],
375
+ }),
376
+ createQueryView('system-query', `@${i18n}:query-definitions.entities.query-definition.views.system-query`, true, {
377
+ sorts: [{ name: 'catalogTitle', dir: 'asc' }],
378
+ conditions: [
379
+ {
380
+ name: 'stateInfo.isSystem',
381
+ operator: { type: 'equal' },
382
+ value: true,
383
+ },
384
+ ],
385
+ }),
386
+ ],
387
+ actions: [
388
+ {
389
+ name: 'create',
390
+ title: '@general:actions.create.title',
391
+ command: {
392
+ name: 'PlatformManagement:CreateUserQuery',
393
+ },
394
+ priority: 'primary',
395
+ type: AXPSystemActionType.Create,
396
+ scope: AXPEntityCommandScope.TypeLevel,
397
+ order: 1,
398
+ items: [
399
+ {
400
+ name: 'create-entity',
401
+ title: `@${i18n}:query-definitions.entities.query-definition.actions.create.entity`,
402
+ icon: 'fa-database',
403
+ command: {
404
+ name: 'PlatformManagement:CreateUserQuery',
405
+ options: { process: { data: { sourceKind: 'entity' } } },
406
+ },
407
+ priority: 'none',
408
+ type: AXPSystemActionType.Create,
409
+ scope: AXPEntityCommandScope.TypeLevel,
410
+ order: 1,
411
+ },
412
+ {
413
+ name: 'create-static-list',
414
+ title: `@${i18n}:query-definitions.entities.query-definition.actions.create.static-list`,
415
+ icon: 'fa-list',
416
+ command: {
417
+ name: 'PlatformManagement:CreateUserQuery',
418
+ options: { process: { data: { sourceKind: 'static' } } },
419
+ },
420
+ priority: 'none',
421
+ type: AXPSystemActionType.Create,
422
+ scope: AXPEntityCommandScope.TypeLevel,
423
+ order: 2,
424
+ },
425
+ {
426
+ name: 'create-external-api',
427
+ title: `@${i18n}:query-definitions.entities.query-definition.actions.create.external-api`,
428
+ icon: 'fa-cloud-arrow-up',
429
+ command: {
430
+ name: 'PlatformManagement:CreateUserQuery',
431
+ options: { process: { data: { sourceKind: 'api' } } },
432
+ },
433
+ priority: 'none',
434
+ type: AXPSystemActionType.Create,
435
+ scope: AXPEntityCommandScope.TypeLevel,
436
+ order: 3,
437
+ },
438
+ {
439
+ name: 'create-advanced',
440
+ title: `@${i18n}:query-definitions.entities.query-definition.actions.create.advanced`,
441
+ icon: 'fa-layer-group',
442
+ command: {
443
+ name: 'PlatformManagement:CreateUserQuery',
444
+ options: { process: { data: { sourceKind: 'advanced' } } },
445
+ },
446
+ priority: 'none',
447
+ type: AXPSystemActionType.Create,
448
+ scope: AXPEntityCommandScope.TypeLevel,
449
+ order: 4,
450
+ separated: true,
451
+ },
452
+ ],
453
+ },
454
+ ...entityMasterCrudActions({ create: false, edit: true }),
455
+ ],
456
+ },
457
+ single: {
458
+ title: '{{ catalogTitle || name }}',
459
+ sections: [{ id: 'basic-info' }, { id: 'schema' }],
460
+ properties: QUERY_FORM_PROPERTIES,
461
+ actions: [entityMasterEditAction(), ...entityMasterRecordActions()],
462
+ },
463
+ },
464
+ },
465
+ };
466
+ }
467
+ async function queryDefinitionEntityFactory() {
468
+ return buildQueryDefinitionEntity();
469
+ }
470
+ //#endregion
471
+
472
+ /**
473
+ * Generated bundle index. Do not edit.
474
+ */
475
+
476
+ export { queryDefinitionEntityFactory };
477
+ //# sourceMappingURL=acorex-platform-module-platform-management-client-contracts-entities-query-definition.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-platform-management-client-contracts-entities-query-definition.mjs","sources":["../../../../libs/modules/platform-management/contracts/src/root-config.ts","../../../../libs/modules/platform-management/contracts/src/entities/query-definition/query-definition.entity.ts","../../../../libs/modules/platform-management/contracts/src/acorex-platform-module-platform-management-client-contracts-entities-query-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 { 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","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './entity-entry.query-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,SAAA;AACD,QAAA,KAAK,EAAE;AACL,YAAA,IAAI,EAAE,QAAQ;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