@acorex-platform/module-activity-insight-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 (48) hide show
  1. package/fesm2022/acorex-platform-module-activity-insight-client-activity-dashboard-page.component-CAcsbq4I.mjs.map +1 -1
  2. package/fesm2022/acorex-platform-module-activity-insight-client-activity-timeline-page.component-DULl2SRF.mjs.map +1 -1
  3. package/fesm2022/acorex-platform-module-activity-insight-client-contracts-entities-activity-data-source.mjs +152 -0
  4. package/fesm2022/acorex-platform-module-activity-insight-client-contracts-entities-activity-data-source.mjs.map +1 -0
  5. package/fesm2022/acorex-platform-module-activity-insight-client-contracts-entities-activity-event.mjs +380 -0
  6. package/fesm2022/acorex-platform-module-activity-insight-client-contracts-entities-activity-event.mjs.map +1 -0
  7. package/fesm2022/acorex-platform-module-activity-insight-client-contracts-entities-activity-saved-view.mjs +130 -0
  8. package/fesm2022/acorex-platform-module-activity-insight-client-contracts-entities-activity-saved-view.mjs.map +1 -0
  9. package/fesm2022/acorex-platform-module-activity-insight-client-contracts-entities-masking-policy.mjs +152 -0
  10. package/fesm2022/acorex-platform-module-activity-insight-client-contracts-entities-masking-policy.mjs.map +1 -0
  11. package/fesm2022/acorex-platform-module-activity-insight-client-contracts-entities-retention-policy.mjs +136 -0
  12. package/fesm2022/acorex-platform-module-activity-insight-client-contracts-entities-retention-policy.mjs.map +1 -0
  13. package/fesm2022/acorex-platform-module-activity-insight-client-contracts-entities-sampling-policy.mjs +137 -0
  14. package/fesm2022/acorex-platform-module-activity-insight-client-contracts-entities-sampling-policy.mjs.map +1 -0
  15. package/fesm2022/acorex-platform-module-activity-insight-client-contracts-entities-tracking-rule.mjs +181 -0
  16. package/fesm2022/acorex-platform-module-activity-insight-client-contracts-entities-tracking-rule.mjs.map +1 -0
  17. package/fesm2022/acorex-platform-module-activity-insight-client-contracts-entity-catalog-acorex-platform-module-activity-insight-client-contracts-entity-catalog-DKOEPUGX.mjs +86 -0
  18. package/fesm2022/acorex-platform-module-activity-insight-client-contracts-entity-catalog-acorex-platform-module-activity-insight-client-contracts-entity-catalog-DKOEPUGX.mjs.map +1 -0
  19. package/fesm2022/acorex-platform-module-activity-insight-client-contracts-entity-catalog-activity-data-source.entity-DIZMV16f.mjs +91 -0
  20. package/fesm2022/acorex-platform-module-activity-insight-client-contracts-entity-catalog-activity-data-source.entity-DIZMV16f.mjs.map +1 -0
  21. package/fesm2022/acorex-platform-module-activity-insight-client-contracts-entity-catalog-activity-event.entity-CERoGcZn.mjs +319 -0
  22. package/fesm2022/acorex-platform-module-activity-insight-client-contracts-entity-catalog-activity-event.entity-CERoGcZn.mjs.map +1 -0
  23. package/fesm2022/acorex-platform-module-activity-insight-client-contracts-entity-catalog-activity-saved-view.entity-Ch3bWS9X.mjs +69 -0
  24. package/fesm2022/acorex-platform-module-activity-insight-client-contracts-entity-catalog-activity-saved-view.entity-Ch3bWS9X.mjs.map +1 -0
  25. package/fesm2022/acorex-platform-module-activity-insight-client-contracts-entity-catalog-masking-policy.entity-DzJ1RsQz.mjs +91 -0
  26. package/fesm2022/acorex-platform-module-activity-insight-client-contracts-entity-catalog-masking-policy.entity-DzJ1RsQz.mjs.map +1 -0
  27. package/fesm2022/acorex-platform-module-activity-insight-client-contracts-entity-catalog-retention-policy.entity-CLANdFVA.mjs +75 -0
  28. package/fesm2022/acorex-platform-module-activity-insight-client-contracts-entity-catalog-retention-policy.entity-CLANdFVA.mjs.map +1 -0
  29. package/fesm2022/acorex-platform-module-activity-insight-client-contracts-entity-catalog-sampling-policy.entity-CBYQWubG.mjs +76 -0
  30. package/fesm2022/acorex-platform-module-activity-insight-client-contracts-entity-catalog-sampling-policy.entity-CBYQWubG.mjs.map +1 -0
  31. package/fesm2022/acorex-platform-module-activity-insight-client-contracts-entity-catalog-tracking-rule.entity-D7xdHB-C.mjs +120 -0
  32. package/fesm2022/acorex-platform-module-activity-insight-client-contracts-entity-catalog-tracking-rule.entity-D7xdHB-C.mjs.map +1 -0
  33. package/fesm2022/acorex-platform-module-activity-insight-client-contracts-entity-catalog.mjs +2 -0
  34. package/fesm2022/acorex-platform-module-activity-insight-client-contracts-entity-catalog.mjs.map +1 -0
  35. package/fesm2022/acorex-platform-module-activity-insight-client-contracts.mjs.map +1 -1
  36. package/fesm2022/acorex-platform-module-activity-insight-client-local-entities.mjs +35 -0
  37. package/fesm2022/acorex-platform-module-activity-insight-client-local-entities.mjs.map +1 -0
  38. package/fesm2022/acorex-platform-module-activity-insight-client.mjs.map +1 -1
  39. package/package.json +37 -1
  40. package/types/acorex-platform-module-activity-insight-client-contracts-entities-activity-data-source.d.ts +5 -0
  41. package/types/acorex-platform-module-activity-insight-client-contracts-entities-activity-event.d.ts +5 -0
  42. package/types/acorex-platform-module-activity-insight-client-contracts-entities-activity-saved-view.d.ts +5 -0
  43. package/types/acorex-platform-module-activity-insight-client-contracts-entities-masking-policy.d.ts +5 -0
  44. package/types/acorex-platform-module-activity-insight-client-contracts-entities-retention-policy.d.ts +5 -0
  45. package/types/acorex-platform-module-activity-insight-client-contracts-entities-sampling-policy.d.ts +5 -0
  46. package/types/acorex-platform-module-activity-insight-client-contracts-entities-tracking-rule.d.ts +5 -0
  47. package/types/acorex-platform-module-activity-insight-client-contracts-entity-catalog.d.ts +10 -0
  48. package/types/acorex-platform-module-activity-insight-client-local-entities.d.ts +12 -0
@@ -0,0 +1,319 @@
1
+ import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';
2
+ import { AXPEntityCommandScope, AXPEntityQueryType, createAllQueryView } from '@acorex-platform/framework-shared/entity';
3
+ import { R as RootConfig } from './acorex-platform-module-activity-insight-client-contracts-entity-catalog-acorex-platform-module-activity-insight-client-contracts-entity-catalog-DKOEPUGX.mjs';
4
+
5
+ //#region ---- Query Keys ----
6
+ const AXMActivityInsightQueryKeys = {
7
+ ActivityEvent: {
8
+ List: 'ActivityInsight:ActivityEvent:List',
9
+ GetOne: 'ActivityInsight:ActivityEvent:GetOne',
10
+ Aggregate: 'ActivityInsight:ActivityEvent:Aggregate',
11
+ },
12
+ ActivityTimeline: {
13
+ Session: 'ActivityInsight:ActivityTimeline:Session',
14
+ Journey: 'ActivityInsight:ActivityTimeline:Journey',
15
+ Entity: 'ActivityInsight:ActivityTimeline:Entity',
16
+ },
17
+ };
18
+ //#endregion
19
+
20
+ const listFieldOptions = {
21
+ filter: { inline: { enabled: true }, advance: { enabled: true } },
22
+ sort: { enabled: true },
23
+ };
24
+ const readOnlyCrud = async () => {
25
+ throw new Error('Activity events are read-only');
26
+ };
27
+ async function activityEventEntityFactory() {
28
+ const i18n = RootConfig.config.i18n;
29
+ const properties = [
30
+ {
31
+ name: 'id',
32
+ title: '@activity-insight:fields.id',
33
+ groupId: 'general',
34
+ schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },
35
+ options: listFieldOptions,
36
+ },
37
+ {
38
+ name: 'name',
39
+ title: '@activity-insight:fields.name',
40
+ groupId: 'general',
41
+ schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },
42
+ options: listFieldOptions,
43
+ },
44
+ {
45
+ name: 'type',
46
+ title: '@activity-insight:fields.type',
47
+ groupId: 'general',
48
+ schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },
49
+ options: listFieldOptions,
50
+ },
51
+ {
52
+ name: 'category',
53
+ title: '@activity-insight:fields.category',
54
+ groupId: 'general',
55
+ schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },
56
+ options: listFieldOptions,
57
+ },
58
+ {
59
+ name: 'timestamp',
60
+ title: '@activity-insight:fields.timestamp',
61
+ groupId: 'general',
62
+ schema: { dataType: 'date', interface: { type: AXPWidgetsList.Editors.DateTimeBox } },
63
+ options: listFieldOptions,
64
+ },
65
+ {
66
+ name: 'sessionId',
67
+ title: '@activity-insight:fields.session-id',
68
+ groupId: 'correlation',
69
+ schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },
70
+ options: listFieldOptions,
71
+ },
72
+ {
73
+ name: 'journeyId',
74
+ title: '@activity-insight:fields.journey-id',
75
+ groupId: 'correlation',
76
+ schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },
77
+ options: listFieldOptions,
78
+ },
79
+ {
80
+ name: 'userId',
81
+ title: '@activity-insight:fields.user-id',
82
+ groupId: 'correlation',
83
+ schema: {
84
+ dataType: 'string',
85
+ nullable: true,
86
+ readonly: true,
87
+ interface: {
88
+ type: AXPWidgetsList.Editors.LookupBox,
89
+ options: {
90
+ entity: 'SecurityManagement.User',
91
+ textField: 'displayName',
92
+ valueField: 'id',
93
+ look: 'select',
94
+ readonly: true,
95
+ disabled: true,
96
+ expose: [
97
+ { source: 'id', target: 'user.id' },
98
+ { source: 'displayName', target: 'user.displayName' },
99
+ ],
100
+ },
101
+ },
102
+ },
103
+ options: listFieldOptions,
104
+ },
105
+ {
106
+ name: 'tenantId',
107
+ title: '@activity-insight:fields.tenant-id',
108
+ groupId: 'correlation',
109
+ schema: {
110
+ dataType: 'string',
111
+ nullable: true,
112
+ readonly: true,
113
+ interface: {
114
+ type: AXPWidgetsList.Editors.LookupBox,
115
+ options: {
116
+ entity: 'TenantManagement.Tenant',
117
+ textField: 'title',
118
+ valueField: 'id',
119
+ look: 'select',
120
+ readonly: true,
121
+ disabled: true,
122
+ expose: [
123
+ { source: 'id', target: 'tenant.id' },
124
+ { source: 'title', target: 'tenant.title' },
125
+ ],
126
+ },
127
+ },
128
+ },
129
+ options: listFieldOptions,
130
+ },
131
+ {
132
+ name: 'applicationId',
133
+ title: '@activity-insight:fields.application-id',
134
+ groupId: 'correlation',
135
+ schema: {
136
+ dataType: 'string',
137
+ nullable: true,
138
+ readonly: true,
139
+ interface: {
140
+ type: AXPWidgetsList.Editors.LookupBox,
141
+ options: {
142
+ entity: 'ApplicationManagement.Application',
143
+ textField: 'title',
144
+ valueField: 'id',
145
+ look: 'select',
146
+ readonly: true,
147
+ disabled: true,
148
+ expose: [
149
+ { source: 'id', target: 'application.id' },
150
+ { source: 'title', target: 'application.title' },
151
+ ],
152
+ },
153
+ },
154
+ },
155
+ options: listFieldOptions,
156
+ },
157
+ {
158
+ name: 'requestId',
159
+ title: '@activity-insight:fields.request-id',
160
+ groupId: 'correlation',
161
+ schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },
162
+ options: listFieldOptions,
163
+ },
164
+ {
165
+ name: 'traceId',
166
+ title: '@activity-insight:fields.trace-id',
167
+ groupId: 'correlation',
168
+ schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },
169
+ options: listFieldOptions,
170
+ },
171
+ {
172
+ name: 'source',
173
+ title: '@activity-insight:fields.source',
174
+ groupId: 'context',
175
+ schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },
176
+ options: listFieldOptions,
177
+ },
178
+ {
179
+ name: 'route',
180
+ title: '@activity-insight:fields.route',
181
+ groupId: 'context',
182
+ schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },
183
+ options: listFieldOptions,
184
+ },
185
+ {
186
+ name: 'module',
187
+ title: '@activity-insight:fields.module',
188
+ groupId: 'context',
189
+ schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },
190
+ options: listFieldOptions,
191
+ },
192
+ {
193
+ name: 'entityName',
194
+ title: '@activity-insight:fields.entity-name',
195
+ groupId: 'context',
196
+ schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },
197
+ options: listFieldOptions,
198
+ },
199
+ {
200
+ name: 'entityId',
201
+ title: '@activity-insight:fields.entity-id',
202
+ groupId: 'context',
203
+ schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },
204
+ options: listFieldOptions,
205
+ },
206
+ {
207
+ name: 'commandName',
208
+ title: '@activity-insight:fields.command-name',
209
+ groupId: 'context',
210
+ schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },
211
+ options: listFieldOptions,
212
+ },
213
+ {
214
+ name: 'queryName',
215
+ title: '@activity-insight:fields.query-name',
216
+ groupId: 'context',
217
+ schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },
218
+ options: listFieldOptions,
219
+ },
220
+ {
221
+ name: 'status',
222
+ title: '@activity-insight:fields.status',
223
+ groupId: 'outcome',
224
+ schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },
225
+ options: listFieldOptions,
226
+ },
227
+ {
228
+ name: 'durationMs',
229
+ title: '@activity-insight:fields.duration-ms',
230
+ groupId: 'outcome',
231
+ schema: { dataType: 'number', interface: { type: AXPWidgetsList.Editors.NumberBox } },
232
+ options: listFieldOptions,
233
+ },
234
+ {
235
+ name: 'severity',
236
+ title: '@activity-insight:fields.severity',
237
+ groupId: 'outcome',
238
+ schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },
239
+ options: listFieldOptions,
240
+ },
241
+ ];
242
+ return {
243
+ module: RootConfig.module.name,
244
+ name: RootConfig.entities.activityEvent.name,
245
+ title: RootConfig.entities.activityEvent.title,
246
+ icon: RootConfig.entities.activityEvent.icon,
247
+ formats: {
248
+ individual: RootConfig.entities.activityEvent.title,
249
+ plural: RootConfig.entities.activityEvent.titlePlural,
250
+ searchResult: {
251
+ title: '{{ name }}',
252
+ description: RootConfig.entities.activityEvent.title,
253
+ },
254
+ },
255
+ groups: [
256
+ { id: 'general', title: `@${i18n}:groups.general` },
257
+ { id: 'correlation', title: `@${i18n}:groups.correlation` },
258
+ { id: 'context', title: `@${i18n}:groups.context` },
259
+ { id: 'outcome', title: `@${i18n}:groups.outcome` },
260
+ ],
261
+ properties,
262
+ columns: [
263
+ { name: 'timestamp' },
264
+ { name: 'name' },
265
+ { name: 'category' },
266
+ { name: 'entityName' },
267
+ { name: 'userId' },
268
+ { name: 'durationMs' },
269
+ ],
270
+ queries: {
271
+ list: { execute: AXMActivityInsightQueryKeys.ActivityEvent.List, type: AXPEntityQueryType.List },
272
+ byKey: { execute: AXMActivityInsightQueryKeys.ActivityEvent.GetOne, type: AXPEntityQueryType.Single },
273
+ },
274
+ commands: {
275
+ create: { execute: readOnlyCrud },
276
+ update: { execute: readOnlyCrud },
277
+ delete: { execute: readOnlyCrud },
278
+ },
279
+ interfaces: {
280
+ master: {
281
+ list: {
282
+ actions: [
283
+ {
284
+ title: '@general:actions.detail.title',
285
+ icon: 'fa-light fa-eye',
286
+ command: 'Entity:View',
287
+ priority: 'primary',
288
+ type: 'view',
289
+ scope: AXPEntityCommandScope.Individual,
290
+ default: true,
291
+ },
292
+ ],
293
+ views: [
294
+ createAllQueryView({
295
+ sorts: [{ name: 'timestamp', dir: 'desc' }],
296
+ }),
297
+ ],
298
+ },
299
+ single: {
300
+ title: '{{ name }}',
301
+ sections: [
302
+ { id: 'general' },
303
+ { id: 'correlation' },
304
+ { id: 'context' },
305
+ { id: 'outcome' },
306
+ ],
307
+ properties: properties.map((property) => ({
308
+ name: property.name,
309
+ layout: { positions: { lg: { colSpan: 6 } } },
310
+ })),
311
+ actions: [],
312
+ },
313
+ },
314
+ },
315
+ };
316
+ }
317
+
318
+ export { activityEventEntityFactory };
319
+ //# sourceMappingURL=acorex-platform-module-activity-insight-client-contracts-entity-catalog-activity-event.entity-CERoGcZn.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-activity-insight-client-contracts-entity-catalog-activity-event.entity-CERoGcZn.mjs","sources":["../../../../libs/modules/activity-insight/contracts/src/queries.keys.ts","../../../../libs/modules/activity-insight/contracts/src/entities/activity-event/activity-event.entity.ts"],"sourcesContent":["//#region ---- Query Keys ----\n\nexport const AXMActivityInsightQueryKeys = {\n ActivityEvent: {\n List: 'ActivityInsight:ActivityEvent:List',\n GetOne: 'ActivityInsight:ActivityEvent:GetOne',\n Aggregate: 'ActivityInsight:ActivityEvent:Aggregate',\n },\n ActivityTimeline: {\n Session: 'ActivityInsight:ActivityTimeline:Session',\n Journey: 'ActivityInsight:ActivityTimeline:Journey',\n Entity: 'ActivityInsight:ActivityTimeline:Entity',\n },\n} as const;\n\n//#endregion\n","import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport {\n AXPEntity,\n AXPEntityCommandScope,\n AXPEntityQueryType,\n createAllQueryView,\n} from '@acorex-platform/framework-shared/entity';\nimport { AXMActivityInsightQueryKeys } from '../../queries.keys';\nimport { RootConfig } from '../../root-config';\n\nconst listFieldOptions = {\n filter: { inline: { enabled: true }, advance: { enabled: true } },\n sort: { enabled: true },\n};\n\nconst readOnlyCrud = async () => {\n throw new Error('Activity events are read-only');\n};\n\nexport async function activityEventEntityFactory(): Promise<AXPEntity> {\n const i18n = RootConfig.config.i18n;\n\n const properties: AXPEntity['properties'] = [\n {\n name: 'id',\n title: '@activity-insight:fields.id',\n groupId: 'general',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n options: listFieldOptions,\n },\n {\n name: 'name',\n title: '@activity-insight:fields.name',\n groupId: 'general',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n options: listFieldOptions,\n },\n {\n name: 'type',\n title: '@activity-insight:fields.type',\n groupId: 'general',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n options: listFieldOptions,\n },\n {\n name: 'category',\n title: '@activity-insight:fields.category',\n groupId: 'general',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n options: listFieldOptions,\n },\n {\n name: 'timestamp',\n title: '@activity-insight:fields.timestamp',\n groupId: 'general',\n schema: { dataType: 'date', interface: { type: AXPWidgetsList.Editors.DateTimeBox } },\n options: listFieldOptions,\n },\n {\n name: 'sessionId',\n title: '@activity-insight:fields.session-id',\n groupId: 'correlation',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n options: listFieldOptions,\n },\n {\n name: 'journeyId',\n title: '@activity-insight:fields.journey-id',\n groupId: 'correlation',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n options: listFieldOptions,\n },\n {\n name: 'userId',\n title: '@activity-insight:fields.user-id',\n groupId: 'correlation',\n schema: {\n dataType: 'string',\n nullable: true,\n readonly: true,\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: 'SecurityManagement.User',\n textField: 'displayName',\n valueField: 'id',\n look: 'select',\n readonly: true,\n disabled: true,\n expose: [\n { source: 'id', target: 'user.id' },\n { source: 'displayName', target: 'user.displayName' },\n ],\n },\n },\n },\n options: listFieldOptions,\n },\n {\n name: 'tenantId',\n title: '@activity-insight:fields.tenant-id',\n groupId: 'correlation',\n schema: {\n dataType: 'string',\n nullable: true,\n readonly: true,\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: 'TenantManagement.Tenant',\n textField: 'title',\n valueField: 'id',\n look: 'select',\n readonly: true,\n disabled: true,\n expose: [\n { source: 'id', target: 'tenant.id' },\n { source: 'title', target: 'tenant.title' },\n ],\n },\n },\n },\n options: listFieldOptions,\n },\n {\n name: 'applicationId',\n title: '@activity-insight:fields.application-id',\n groupId: 'correlation',\n schema: {\n dataType: 'string',\n nullable: true,\n readonly: true,\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: 'ApplicationManagement.Application',\n textField: 'title',\n valueField: 'id',\n look: 'select',\n readonly: true,\n disabled: true,\n expose: [\n { source: 'id', target: 'application.id' },\n { source: 'title', target: 'application.title' },\n ],\n },\n },\n },\n options: listFieldOptions,\n },\n {\n name: 'requestId',\n title: '@activity-insight:fields.request-id',\n groupId: 'correlation',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n options: listFieldOptions,\n },\n {\n name: 'traceId',\n title: '@activity-insight:fields.trace-id',\n groupId: 'correlation',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n options: listFieldOptions,\n },\n {\n name: 'source',\n title: '@activity-insight:fields.source',\n groupId: 'context',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n options: listFieldOptions,\n },\n {\n name: 'route',\n title: '@activity-insight:fields.route',\n groupId: 'context',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n options: listFieldOptions,\n },\n {\n name: 'module',\n title: '@activity-insight:fields.module',\n groupId: 'context',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n options: listFieldOptions,\n },\n {\n name: 'entityName',\n title: '@activity-insight:fields.entity-name',\n groupId: 'context',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n options: listFieldOptions,\n },\n {\n name: 'entityId',\n title: '@activity-insight:fields.entity-id',\n groupId: 'context',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n options: listFieldOptions,\n },\n {\n name: 'commandName',\n title: '@activity-insight:fields.command-name',\n groupId: 'context',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n options: listFieldOptions,\n },\n {\n name: 'queryName',\n title: '@activity-insight:fields.query-name',\n groupId: 'context',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n options: listFieldOptions,\n },\n {\n name: 'status',\n title: '@activity-insight:fields.status',\n groupId: 'outcome',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n options: listFieldOptions,\n },\n {\n name: 'durationMs',\n title: '@activity-insight:fields.duration-ms',\n groupId: 'outcome',\n schema: { dataType: 'number', interface: { type: AXPWidgetsList.Editors.NumberBox } },\n options: listFieldOptions,\n },\n {\n name: 'severity',\n title: '@activity-insight:fields.severity',\n groupId: 'outcome',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n options: listFieldOptions,\n },\n ];\n\n return {\n module: RootConfig.module.name,\n name: RootConfig.entities.activityEvent.name,\n title: RootConfig.entities.activityEvent.title,\n icon: RootConfig.entities.activityEvent.icon,\n formats: {\n individual: RootConfig.entities.activityEvent.title,\n plural: RootConfig.entities.activityEvent.titlePlural,\n searchResult: {\n title: '{{ name }}',\n description: RootConfig.entities.activityEvent.title,\n },\n },\n groups: [\n { id: 'general', title: `@${i18n}:groups.general` },\n { id: 'correlation', title: `@${i18n}:groups.correlation` },\n { id: 'context', title: `@${i18n}:groups.context` },\n { id: 'outcome', title: `@${i18n}:groups.outcome` },\n ],\n properties,\n columns: [\n { name: 'timestamp' },\n { name: 'name' },\n { name: 'category' },\n { name: 'entityName' },\n { name: 'userId' },\n { name: 'durationMs' },\n ],\n queries: {\n list: { execute: AXMActivityInsightQueryKeys.ActivityEvent.List, type: AXPEntityQueryType.List },\n byKey: { execute: AXMActivityInsightQueryKeys.ActivityEvent.GetOne, type: AXPEntityQueryType.Single },\n },\n commands: {\n create: { execute: readOnlyCrud },\n update: { execute: readOnlyCrud },\n delete: { execute: readOnlyCrud },\n },\n interfaces: {\n master: {\n list: {\n actions: [\n {\n title: '@general:actions.detail.title',\n icon: 'fa-light fa-eye',\n command: 'Entity:View',\n priority: 'primary',\n type: 'view',\n scope: AXPEntityCommandScope.Individual,\n default: true,\n },\n ],\n views: [\n createAllQueryView({\n sorts: [{ name: 'timestamp', dir: 'desc' }],\n }),\n ],\n },\n single: {\n title: '{{ name }}',\n sections: [\n { id: 'general' },\n { id: 'correlation' },\n { id: 'context' },\n { id: 'outcome' },\n ],\n properties: properties.map((property) => ({\n name: property.name,\n layout: { positions: { lg: { colSpan: 6 } } },\n })),\n actions: [],\n },\n },\n },\n };\n}\n"],"names":[],"mappings":";;;;AAAA;AAEO,MAAM,2BAA2B,GAAG;AACzC,IAAA,aAAa,EAAE;AACb,QAAA,IAAI,EAAE,oCAAoC;AAC1C,QAAA,MAAM,EAAE,sCAAsC;AAC9C,QAAA,SAAS,EAAE,yCAAyC;AACrD,KAAA;AACD,IAAA,gBAAgB,EAAE;AAChB,QAAA,OAAO,EAAE,0CAA0C;AACnD,QAAA,OAAO,EAAE,0CAA0C;AACnD,QAAA,MAAM,EAAE,yC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,OAAO,EAAE;AACP,wBAAA;AACE,4BAAA,KAAK,EAAE,+BAA+B;AACtC,4BAAA,IAAI,EAAE,iBAAiB;AACvB,4BAAA,OAAO,EAAE,aAAa;AACtB,4BAAA,QAAQ,EAAE,SAAS;AACnB,4BAAA,IAAI,EAAE,MAAM;4BACZ,KAAK,EAAE,qBAAqB,CAAC,UAAU;AACvC,4BAAA,OAAO,EAAE,IAAI;AACd,yBAAA;AACF,qBAAA;AACD,oBAAA,KAAK,EAAE;AACL,wBAAA,kBAAkB,CAAC;4BACjB,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,GAAG,EAAE,MAAM,EAAE,CAAC;yBAC5C,CAAC;AACH,qBAAA;AACF,iBAAA;AACD,gBAAA,MAAM,EAAE;AACN,oBAAA,KAAK,EAAE,YAAY;AACnB,oBAAA,QAAQ,EAAE;wBACR,EAAE,EAAE,EAAE,SAAS,EAAE;wBACjB,EAAE,EAAE,EAAE,aAAa,EAAE;wBACrB,EAAE,EAAE,EAAE,SAAS,EAAE;wBACjB,EAAE,EAAE,EAAE,SAAS,EAAE;AAClB,qBAAA;oBACD,UAAU,EAAE,UAAU,CAAC,GAAG,CAAC,CAAC,QAAQ,MAAM;wBACxC,IAAI,EAAE,QAAQ,CAAC,IAAI;AACnB,wBAAA,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,EAAE,EAAE;AAC9C,qBAAA,CAAC,CAAC;AACH,oBAAA,OAAO,EAAE,EAAE;AACZ,iBAAA;AACF,aAAA;AACF,SAAA;KACF;AACH;;"}
@@ -0,0 +1,69 @@
1
+ import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';
2
+ import { entityMasterRecordActions, createAllQueryView, entityMasterCrudActions } from '@acorex-platform/framework-shared/entity';
3
+ import { R as RootConfig } from './acorex-platform-module-activity-insight-client-contracts-entity-catalog-acorex-platform-module-activity-insight-client-contracts-entity-catalog-DKOEPUGX.mjs';
4
+
5
+ const listFieldOptions = {
6
+ filter: { inline: { enabled: true }, advance: { enabled: true } },
7
+ sort: { enabled: true },
8
+ };
9
+ async function activitySavedViewEntityFactory() {
10
+ const i18n = RootConfig.config.i18n;
11
+ return {
12
+ module: RootConfig.module.name,
13
+ name: RootConfig.entities.activitySavedView.name,
14
+ title: RootConfig.entities.activitySavedView.title,
15
+ icon: RootConfig.entities.activitySavedView.icon,
16
+ formats: {
17
+ individual: RootConfig.entities.activitySavedView.title,
18
+ plural: RootConfig.entities.activitySavedView.titlePlural,
19
+ searchResult: { title: '{{ name }}', description: RootConfig.entities.activitySavedView.title },
20
+ },
21
+ groups: [{ id: 'general', title: `@${i18n}:groups.general` }],
22
+ properties: [
23
+ {
24
+ name: 'name',
25
+ title: `@${i18n}:fields.name`,
26
+ groupId: 'general',
27
+ schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },
28
+ options: listFieldOptions,
29
+ },
30
+ {
31
+ name: 'queryJson',
32
+ title: `@${i18n}:fields.query-json`,
33
+ groupId: 'general',
34
+ schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.LargeTextBox } },
35
+ options: listFieldOptions,
36
+ },
37
+ {
38
+ name: 'isDefault',
39
+ title: `@${i18n}:fields.is-default`,
40
+ groupId: 'general',
41
+ schema: { dataType: 'boolean', interface: { type: AXPWidgetsList.Editors.ToggleSwitch } },
42
+ options: listFieldOptions,
43
+ },
44
+ ],
45
+ columns: [{ name: 'name' }, { name: 'isDefault' }],
46
+ interfaces: {
47
+ master: {
48
+ list: { actions: [...entityMasterCrudActions()], views: [createAllQueryView()] },
49
+ single: {
50
+ title: '{{ name }}',
51
+ sections: [{ id: 'general' }],
52
+ properties: [{ name: 'name' }, { name: 'queryJson' }, { name: 'isDefault' }],
53
+ actions: [...entityMasterRecordActions()],
54
+ },
55
+ create: {
56
+ sections: [{ id: 'general' }],
57
+ properties: [{ name: 'name' }, { name: 'queryJson' }, { name: 'isDefault' }],
58
+ },
59
+ update: {
60
+ sections: [{ id: 'general' }],
61
+ properties: [{ name: 'name' }, { name: 'queryJson' }, { name: 'isDefault' }],
62
+ },
63
+ },
64
+ },
65
+ };
66
+ }
67
+
68
+ export { activitySavedViewEntityFactory };
69
+ //# sourceMappingURL=acorex-platform-module-activity-insight-client-contracts-entity-catalog-activity-saved-view.entity-Ch3bWS9X.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-activity-insight-client-contracts-entity-catalog-activity-saved-view.entity-Ch3bWS9X.mjs","sources":["../../../../libs/modules/activity-insight/contracts/src/entities/activity-saved-view/activity-saved-view.entity.ts"],"sourcesContent":["import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport {\n AXPEntity,\n createAllQueryView,\n entityMasterCrudActions,\n entityMasterRecordActions,\n} from '@acorex-platform/framework-shared/entity';\nimport { RootConfig } from '../../root-config';\n\nconst listFieldOptions = {\n filter: { inline: { enabled: true }, advance: { enabled: true } },\n sort: { enabled: true },\n};\n\nexport async function activitySavedViewEntityFactory(): Promise<AXPEntity> {\n const i18n = RootConfig.config.i18n;\n\n return {\n module: RootConfig.module.name,\n name: RootConfig.entities.activitySavedView.name,\n title: RootConfig.entities.activitySavedView.title,\n icon: RootConfig.entities.activitySavedView.icon,\n formats: {\n individual: RootConfig.entities.activitySavedView.title,\n plural: RootConfig.entities.activitySavedView.titlePlural,\n searchResult: { title: '{{ name }}', description: RootConfig.entities.activitySavedView.title },\n },\n groups: [{ id: 'general', title: `@${i18n}:groups.general` }],\n properties: [\n {\n name: 'name',\n title: `@${i18n}:fields.name`,\n groupId: 'general',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n options: listFieldOptions,\n },\n {\n name: 'queryJson',\n title: `@${i18n}:fields.query-json`,\n groupId: 'general',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.LargeTextBox } },\n options: listFieldOptions,\n },\n {\n name: 'isDefault',\n title: `@${i18n}:fields.is-default`,\n groupId: 'general',\n schema: { dataType: 'boolean', interface: { type: AXPWidgetsList.Editors.ToggleSwitch } },\n options: listFieldOptions,\n },\n ],\n columns: [{ name: 'name' }, { name: 'isDefault' }],\n interfaces: {\n master: {\n list: { actions: [...entityMasterCrudActions()], views: [createAllQueryView()] },\n single: {\n title: '{{ name }}',\n sections: [{ id: 'general' }],\n properties: [{ name: 'name' }, { name: 'queryJson' }, { name: 'isDefault' }],\n actions: [...entityMasterRecordActions()],\n },\n create: {\n sections: [{ id: 'general' }],\n properties: [{ name: 'name' }, { name: 'queryJson' }, { name: 'isDefault' }],\n },\n update: {\n sections: [{ id: 'general' }],\n properties: [{ name: 'name' }, { name: 'queryJson' }, { name: 'isDefault' }],\n },\n },\n },\n };\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;CACxB;AAEM,eAAe,8BAA8B,GAAA;AAClD,IAAA,MAAM,IAAI,GAAG,UAAU,CAAC,MAAM,CAAC,IAAI;IAEnC,OAAO;AACL,QAAA,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC9B,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,iBAAiB,CAAC,IAAI;AAChD,QAAA,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC,iBAAiB,CAAC,KAAK;AAClD,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,iBAAiB,CAAC,IAAI;AAChD,QAAA,OAAO,EAAE;AACP,YAAA,UAAU,EAAE,UAAU,CAAC,QAAQ,CAAC,iBAAiB,CAAC,KAAK;AACvD,YAAA,MAAM,EAAE,UAAU,CAAC,QAAQ,CAAC,iBAAiB,CAAC,WAAW;AACzD,YAA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AO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC;AAClD,QAAA,UAAU,EAAE;AACV,YAAA,MAAM,EAAE;AACN,gBAAA,IAAI,EAAE,EAAE,OAAO,EAAE,CAAC,GAAG,uBAAuB,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,kBAAkB,EAAE,CAAC,EAAE;AAChF,gBAAA,MAAM,EAAE;AACN,oBAAA,KAAK,EAAE,YAAY;AACnB,oBAAA,QAAQ,EAAE,CAAC,EAAE,EAAE,EAAE,SAAS,EAAE,CAAC;AAC7B,oBAAA,UAAU,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC;AAC5E,oBAAA,OAAO,EAAE,CAAC,GAAG,yBAAyB,EAAE,CAAC;AAC1C,iBAAA;AACD,gBAAA,MAAM,EAAE;AACN,oBAAA,QAAQ,EAAE,CAAC,EAAE,EAAE,EAAE,SAAS,EAAE,CAAC;AAC7B,oBAAA,UAAU,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC;AAC7E,iBAAA;AACD,gBAAA,MAAM,EAAE;AACN,oBAAA,QAAQ,EAAE,CAAC,EAAE,EAAE,EAAE,SAAS,EAAE,CAAC;AAC7B,oBAAA,UAAU,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC;AAC7E,iBAAA;AACF,aAAA;AACF,SAAA;KACF;AACH;;"}
@@ -0,0 +1,91 @@
1
+ import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';
2
+ import { entityMasterRecordActions, createAllQueryView, entityMasterCrudActions } from '@acorex-platform/framework-shared/entity';
3
+ import { R as RootConfig } from './acorex-platform-module-activity-insight-client-contracts-entity-catalog-acorex-platform-module-activity-insight-client-contracts-entity-catalog-DKOEPUGX.mjs';
4
+
5
+ const listFieldOptions = {
6
+ filter: { inline: { enabled: true }, advance: { enabled: true } },
7
+ sort: { enabled: true },
8
+ };
9
+ async function maskingPolicyEntityFactory() {
10
+ const i18n = RootConfig.config.i18n;
11
+ return {
12
+ module: RootConfig.module.name,
13
+ name: RootConfig.entities.maskingPolicy.name,
14
+ title: RootConfig.entities.maskingPolicy.title,
15
+ icon: RootConfig.entities.maskingPolicy.icon,
16
+ formats: {
17
+ individual: RootConfig.entities.maskingPolicy.title,
18
+ plural: RootConfig.entities.maskingPolicy.titlePlural,
19
+ searchResult: { title: '{{ name }}', description: RootConfig.entities.maskingPolicy.title },
20
+ },
21
+ groups: [{ id: 'general', title: `@${i18n}:groups.general` }],
22
+ properties: [
23
+ {
24
+ name: 'name',
25
+ title: `@${i18n}:fields.name`,
26
+ groupId: 'general',
27
+ schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },
28
+ options: listFieldOptions,
29
+ },
30
+ {
31
+ name: 'denylistFields',
32
+ title: `@${i18n}:fields.denylist-fields`,
33
+ groupId: 'general',
34
+ schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.LargeTextBox } },
35
+ options: listFieldOptions,
36
+ },
37
+ {
38
+ name: 'maxPropertyBytes',
39
+ title: `@${i18n}:fields.max-property-bytes`,
40
+ groupId: 'general',
41
+ schema: { dataType: 'number', interface: { type: AXPWidgetsList.Editors.NumberBox } },
42
+ options: listFieldOptions,
43
+ },
44
+ {
45
+ name: 'enabled',
46
+ title: `@${i18n}:fields.enabled`,
47
+ groupId: 'general',
48
+ schema: { dataType: 'boolean', interface: { type: AXPWidgetsList.Editors.ToggleSwitch } },
49
+ options: listFieldOptions,
50
+ },
51
+ ],
52
+ columns: [{ name: 'name' }, { name: 'maxPropertyBytes' }, { name: 'enabled' }],
53
+ interfaces: {
54
+ master: {
55
+ list: { actions: [...entityMasterCrudActions()], views: [createAllQueryView()] },
56
+ single: {
57
+ title: '{{ name }}',
58
+ sections: [{ id: 'general' }],
59
+ properties: [
60
+ { name: 'name' },
61
+ { name: 'denylistFields' },
62
+ { name: 'maxPropertyBytes' },
63
+ { name: 'enabled' },
64
+ ],
65
+ actions: [...entityMasterRecordActions()],
66
+ },
67
+ create: {
68
+ sections: [{ id: 'general' }],
69
+ properties: [
70
+ { name: 'name' },
71
+ { name: 'denylistFields' },
72
+ { name: 'maxPropertyBytes' },
73
+ { name: 'enabled' },
74
+ ],
75
+ },
76
+ update: {
77
+ sections: [{ id: 'general' }],
78
+ properties: [
79
+ { name: 'name' },
80
+ { name: 'denylistFields' },
81
+ { name: 'maxPropertyBytes' },
82
+ { name: 'enabled' },
83
+ ],
84
+ },
85
+ },
86
+ },
87
+ };
88
+ }
89
+
90
+ export { maskingPolicyEntityFactory };
91
+ //# sourceMappingURL=acorex-platform-module-activity-insight-client-contracts-entity-catalog-masking-policy.entity-DzJ1RsQz.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-activity-insight-client-contracts-entity-catalog-masking-policy.entity-DzJ1RsQz.mjs","sources":["../../../../libs/modules/activity-insight/contracts/src/entities/masking-policy/masking-policy.entity.ts"],"sourcesContent":["import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport {\n AXPEntity,\n createAllQueryView,\n entityMasterCrudActions,\n entityMasterRecordActions,\n} from '@acorex-platform/framework-shared/entity';\nimport { RootConfig } from '../../root-config';\n\nconst listFieldOptions = {\n filter: { inline: { enabled: true }, advance: { enabled: true } },\n sort: { enabled: true },\n};\n\nexport async function maskingPolicyEntityFactory(): Promise<AXPEntity> {\n const i18n = RootConfig.config.i18n;\n\n return {\n module: RootConfig.module.name,\n name: RootConfig.entities.maskingPolicy.name,\n title: RootConfig.entities.maskingPolicy.title,\n icon: RootConfig.entities.maskingPolicy.icon,\n formats: {\n individual: RootConfig.entities.maskingPolicy.title,\n plural: RootConfig.entities.maskingPolicy.titlePlural,\n searchResult: { title: '{{ name }}', description: RootConfig.entities.maskingPolicy.title },\n },\n groups: [{ id: 'general', title: `@${i18n}:groups.general` }],\n properties: [\n {\n name: 'name',\n title: `@${i18n}:fields.name`,\n groupId: 'general',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n options: listFieldOptions,\n },\n {\n name: 'denylistFields',\n title: `@${i18n}:fields.denylist-fields`,\n groupId: 'general',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.LargeTextBox } },\n options: listFieldOptions,\n },\n {\n name: 'maxPropertyBytes',\n title: `@${i18n}:fields.max-property-bytes`,\n groupId: 'general',\n schema: { dataType: 'number', interface: { type: AXPWidgetsList.Editors.NumberBox } },\n options: listFieldOptions,\n },\n {\n name: 'enabled',\n title: `@${i18n}:fields.enabled`,\n groupId: 'general',\n schema: { dataType: 'boolean', interface: { type: AXPWidgetsList.Editors.ToggleSwitch } },\n options: listFieldOptions,\n },\n ],\n columns: [{ name: 'name' }, { name: 'maxPropertyBytes' }, { name: 'enabled' }],\n interfaces: {\n master: {\n list: { actions: [...entityMasterCrudActions()], views: [createAllQueryView()] },\n single: {\n title: '{{ name }}',\n sections: [{ id: 'general' }],\n properties: [\n { name: 'name' },\n { name: 'denylistFields' },\n { name: 'maxPropertyBytes' },\n { name: 'enabled' },\n ],\n actions: [...entityMasterRecordActions()],\n },\n create: {\n sections: [{ id: 'general' }],\n properties: [\n { name: 'name' },\n { name: 'denylistFields' },\n { name: 'maxPropertyBytes' },\n { name: 'enabled' },\n ],\n },\n update: {\n sections: [{ id: 'general' }],\n properties: [\n { name: 'name' },\n { name: 'denylistFields' },\n { name: 'maxPropertyBytes' },\n { name: 'enabled' },\n ],\n },\n },\n },\n };\n}\n"],"names":[],"mappings":";;;;AASA,MAAM,gBAAgB,GAAG;AACvB,IAAA,MAAM,EAAE,EAAE,MAAM,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AAE,CAAC,EAAE,KAAK,EAAE,CAAC,kBAAkB,EAAE,CAAC,EAAE;AAChF,gBAAA,MAAM,EAAE;AACN,oBAAA,KAAK,EAAE,YAAY;AACnB,oBAAA,QAAQ,EAAE,CAAC,EAAE,EAAE,EAAE,SAAS,EAAE,CAAC;AAC7B,oBAAA,UAAU,EAAE;wBACV,EAAE,IAAI,EAAE,MAAM,EAAE;wBAChB,EAAE,IAAI,EAAE,gBAAgB,EAAE;wBAC1B,EAAE,IAAI,EAAE,kBAAkB,EAAE;wBAC5B,EAAE,IAAI,EAAE,SAAS,EAAE;AACpB,qBAAA;AACD,oBAAA,OAAO,EAAE,CAAC,GAAG,yBAAyB,EAAE,CAAC;AAC1C,iBAAA;AACD,gBAAA,MAAM,EAAE;AACN,oBAAA,QAAQ,EAAE,CAAC,EAAE,EAAE,EAAE,SAAS,EAAE,CAAC;AAC7B,oBAAA,UAAU,EAAE;wBACV,EAAE,IAAI,EAAE,MAAM,EAAE;wBAChB,EAAE,IAAI,EAAE,gBAAgB,EAAE;wBAC1B,EAAE,IAAI,EAAE,kBAAkB,EAAE;wBAC5B,EAAE,IAAI,EAAE,SAAS,EAAE;AACpB,qBAAA;AACF,iBAAA;AACD,gBAAA,MAAM,EAAE;AACN,oBAAA,QAAQ,EAAE,CAAC,EAAE,EAAE,EAAE,SAAS,EAAE,CAAC;AAC7B,oBAAA,UAAU,EAAE;wBACV,EAAE,IAAI,EAAE,MAAM,EAAE;wBAChB,EAAE,IAAI,EAAE,gBAAgB,EAAE;wBAC1B,EAAE,IAAI,EAAE,kBAAkB,EAAE;wBAC5B,EAAE,IAAI,EAAE,SAAS,EAAE;AACpB,qBAAA;AACF,iBAAA;AACF,aAAA;AACF,SAAA;KACF;AACH;;"}
@@ -0,0 +1,75 @@
1
+ import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';
2
+ import { entityMasterRecordActions, createAllQueryView, entityMasterCrudActions } from '@acorex-platform/framework-shared/entity';
3
+ import { R as RootConfig } from './acorex-platform-module-activity-insight-client-contracts-entity-catalog-acorex-platform-module-activity-insight-client-contracts-entity-catalog-DKOEPUGX.mjs';
4
+
5
+ const listFieldOptions = {
6
+ filter: { inline: { enabled: true }, advance: { enabled: true } },
7
+ sort: { enabled: true },
8
+ };
9
+ async function retentionPolicyEntityFactory() {
10
+ const i18n = RootConfig.config.i18n;
11
+ return {
12
+ module: RootConfig.module.name,
13
+ name: RootConfig.entities.retentionPolicy.name,
14
+ title: RootConfig.entities.retentionPolicy.title,
15
+ icon: RootConfig.entities.retentionPolicy.icon,
16
+ formats: {
17
+ individual: RootConfig.entities.retentionPolicy.title,
18
+ plural: RootConfig.entities.retentionPolicy.titlePlural,
19
+ searchResult: { title: '{{ dataType }}', description: RootConfig.entities.retentionPolicy.title },
20
+ },
21
+ groups: [{ id: 'general', title: `@${i18n}:groups.general` }],
22
+ properties: [
23
+ {
24
+ name: 'dataType',
25
+ title: `@${i18n}:fields.data-type`,
26
+ groupId: 'general',
27
+ schema: {
28
+ dataType: 'string',
29
+ interface: {
30
+ type: AXPWidgetsList.Editors.SelectBox,
31
+ options: { dataSource: ['events', 'sessions', 'journeys'] },
32
+ },
33
+ },
34
+ options: listFieldOptions,
35
+ },
36
+ {
37
+ name: 'retentionDays',
38
+ title: `@${i18n}:fields.retention-days`,
39
+ groupId: 'general',
40
+ schema: { dataType: 'number', interface: { type: AXPWidgetsList.Editors.NumberBox } },
41
+ options: listFieldOptions,
42
+ },
43
+ {
44
+ name: 'enabled',
45
+ title: `@${i18n}:fields.enabled`,
46
+ groupId: 'general',
47
+ schema: { dataType: 'boolean', interface: { type: AXPWidgetsList.Editors.ToggleSwitch } },
48
+ options: listFieldOptions,
49
+ },
50
+ ],
51
+ columns: [{ name: 'dataType' }, { name: 'retentionDays' }, { name: 'enabled' }],
52
+ interfaces: {
53
+ master: {
54
+ list: { actions: [...entityMasterCrudActions()], views: [createAllQueryView()] },
55
+ single: {
56
+ title: '{{ dataType }}',
57
+ sections: [{ id: 'general' }],
58
+ properties: [{ name: 'dataType' }, { name: 'retentionDays' }, { name: 'enabled' }],
59
+ actions: [...entityMasterRecordActions()],
60
+ },
61
+ create: {
62
+ sections: [{ id: 'general' }],
63
+ properties: [{ name: 'dataType' }, { name: 'retentionDays' }, { name: 'enabled' }],
64
+ },
65
+ update: {
66
+ sections: [{ id: 'general' }],
67
+ properties: [{ name: 'dataType' }, { name: 'retentionDays' }, { name: 'enabled' }],
68
+ },
69
+ },
70
+ },
71
+ };
72
+ }
73
+
74
+ export { retentionPolicyEntityFactory };
75
+ //# sourceMappingURL=acorex-platform-module-activity-insight-client-contracts-entity-catalog-retention-policy.entity-CLANdFVA.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-activity-insight-client-contracts-entity-catalog-retention-policy.entity-CLANdFVA.mjs","sources":["../../../../libs/modules/activity-insight/contracts/src/entities/retention-policy/retention-policy.entity.ts"],"sourcesContent":["import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport {\n AXPEntity,\n createAllQueryView,\n entityMasterCrudActions,\n entityMasterRecordActions,\n} from '@acorex-platform/framework-shared/entity';\nimport { RootConfig } from '../../root-config';\n\nconst listFieldOptions = {\n filter: { inline: { enabled: true }, advance: { enabled: true } },\n sort: { enabled: true },\n};\n\nexport async function retentionPolicyEntityFactory(): Promise<AXPEntity> {\n const i18n = RootConfig.config.i18n;\n\n return {\n module: RootConfig.module.name,\n name: RootConfig.entities.retentionPolicy.name,\n title: RootConfig.entities.retentionPolicy.title,\n icon: RootConfig.entities.retentionPolicy.icon,\n formats: {\n individual: RootConfig.entities.retentionPolicy.title,\n plural: RootConfig.entities.retentionPolicy.titlePlural,\n searchResult: { title: '{{ dataType }}', description: RootConfig.entities.retentionPolicy.title },\n },\n groups: [{ id: 'general', title: `@${i18n}:groups.general` }],\n properties: [\n {\n name: 'dataType',\n title: `@${i18n}:fields.data-type`,\n groupId: 'general',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.SelectBox,\n options: { dataSource: ['events', 'sessions', 'journeys'] },\n },\n },\n options: listFieldOptions,\n },\n {\n name: 'retentionDays',\n title: `@${i18n}:fields.retention-days`,\n groupId: 'general',\n schema: { dataType: 'number', interface: { type: AXPWidgetsList.Editors.NumberBox } },\n options: listFieldOptions,\n },\n {\n name: 'enabled',\n title: `@${i18n}:fields.enabled`,\n groupId: 'general',\n schema: { dataType: 'boolean', interface: { type: AXPWidgetsList.Editors.ToggleSwitch } },\n options: listFieldOptions,\n },\n ],\n columns: [{ name: 'dataType' }, { name: 'retentionDays' }, { name: 'enabled' }],\n interfaces: {\n master: {\n list: { actions: [...entityMasterCrudActions()], views: [createAllQueryView()] },\n single: {\n title: '{{ dataType }}',\n sections: [{ id: 'general' }],\n properties: [{ name: 'dataType' }, { name: 'retentionDays' }, { name: 'enabled' }],\n actions: [...entityMasterRecordActions()],\n },\n create: {\n sections: [{ id: 'general' }],\n properties: [{ name: 'dataType' }, { name: 'retentionDays' }, { name: 'enabled' }],\n },\n update: {\n sections: [{ id: 'general' }],\n properties: [{ name: 'dataType' }, { name: 'retentionDays' }, { name: 'enabled' }],\n },\n },\n },\n };\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;CACxB;AAEM,eAAe,4BAA4B,GAAA;AAChD,IAAA,MAAM,IAAI,GAAG,UAAU,CAAC,MAAM,CAAC,IAAI;IAEnC,OAAO;AACL,QAAA,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC9B,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,eAAe,CAAC,IAAI;AAC9C,QAAA,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC,eAA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