@acorex/modules 18.1.2 → 18.1.4

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 (75) hide show
  1. package/application-management/lib/layouts/index.d.ts +0 -1
  2. package/application-management/lib/layouts/module-entity-detail-view/module-entity-detail-view.component.d.ts +1 -2
  3. package/application-management/lib/workflows/index.d.ts +0 -1
  4. package/backend/lib/data/api/comment.mock.service.d.ts +62 -0
  5. package/backend/lib/data/index.d.ts +1 -0
  6. package/esm2022/application-management/lib/application-management.module.mjs +2 -6
  7. package/esm2022/application-management/lib/entities/property.entity.mjs +10 -12
  8. package/esm2022/application-management/lib/layouts/index.mjs +1 -2
  9. package/esm2022/application-management/lib/layouts/module-entity-detail-view/module-entity-detail-view.component.mjs +3 -17
  10. package/esm2022/application-management/lib/workflows/index.mjs +1 -2
  11. package/esm2022/auth/lib/account/profile/profile-slot.component.mjs +3 -11
  12. package/esm2022/backend/lib/backend.module.mjs +2 -2
  13. package/esm2022/backend/lib/data/api/comment.mock.service.mjs +142 -0
  14. package/esm2022/backend/lib/data/index.mjs +2 -1
  15. package/esm2022/notification-management/acorex-modules-notification-management.mjs +5 -0
  16. package/esm2022/notification-management/index.mjs +4 -0
  17. package/esm2022/notification-management/lib/entities/notification-channel.entity.mjs +329 -0
  18. package/esm2022/notification-management/lib/entities/notification-template.entity.mjs +298 -0
  19. package/esm2022/notification-management/lib/notification-management-mock-data.mjs +20 -0
  20. package/esm2022/notification-management/lib/notification-management.module.mjs +44 -0
  21. package/esm2022/notification-management/lib/notification-management.service.mjs +30 -0
  22. package/esm2022/template-management/acorex-modules-template-management.mjs +5 -0
  23. package/esm2022/template-management/index.mjs +4 -0
  24. package/esm2022/template-management/lib/entities/global-template.entity.mjs +298 -0
  25. package/esm2022/template-management/lib/entities/template-variable.entity.mjs +304 -0
  26. package/esm2022/template-management/lib/template-management-mock-data.mjs +11 -0
  27. package/esm2022/template-management/lib/template-management.module.mjs +45 -0
  28. package/esm2022/template-management/lib/template-management.service.mjs +24 -0
  29. package/fesm2022/{acorex-modules-application-management-module-designer.component-CRPUuYUe.mjs → acorex-modules-application-management-module-designer.component-C-lY0Apl.mjs} +1 -4
  30. package/fesm2022/{acorex-modules-application-management-module-designer.component-CRPUuYUe.mjs.map → acorex-modules-application-management-module-designer.component-C-lY0Apl.mjs.map} +1 -1
  31. package/fesm2022/acorex-modules-application-management.mjs +14 -145
  32. package/fesm2022/acorex-modules-application-management.mjs.map +1 -1
  33. package/fesm2022/{acorex-modules-auth-acorex-modules-auth-CS3UFdX0.mjs → acorex-modules-auth-acorex-modules-auth-4OzzidjS.mjs} +10 -18
  34. package/fesm2022/acorex-modules-auth-acorex-modules-auth-4OzzidjS.mjs.map +1 -0
  35. package/fesm2022/{acorex-modules-auth-app-chooser.component-BlJbIMKi.mjs → acorex-modules-auth-app-chooser.component-CHTEeWgx.mjs} +2 -2
  36. package/fesm2022/{acorex-modules-auth-app-chooser.component-BlJbIMKi.mjs.map → acorex-modules-auth-app-chooser.component-CHTEeWgx.mjs.map} +1 -1
  37. package/fesm2022/{acorex-modules-auth-login.module-DGBKGxI3.mjs → acorex-modules-auth-login.module-DMit4yw0.mjs} +4 -4
  38. package/fesm2022/{acorex-modules-auth-login.module-DGBKGxI3.mjs.map → acorex-modules-auth-login.module-DMit4yw0.mjs.map} +1 -1
  39. package/fesm2022/{acorex-modules-auth-master.layout-B_8Sfw0M.mjs → acorex-modules-auth-master.layout-BCYIjTB0.mjs} +2 -2
  40. package/fesm2022/{acorex-modules-auth-master.layout-B_8Sfw0M.mjs.map → acorex-modules-auth-master.layout-BCYIjTB0.mjs.map} +1 -1
  41. package/fesm2022/{acorex-modules-auth-password.component-BfDjRRN_.mjs → acorex-modules-auth-password.component-D16ms36y.mjs} +2 -2
  42. package/fesm2022/{acorex-modules-auth-password.component-BfDjRRN_.mjs.map → acorex-modules-auth-password.component-D16ms36y.mjs.map} +1 -1
  43. package/fesm2022/{acorex-modules-auth-password.component-DZJ1qwfa.mjs → acorex-modules-auth-password.component-WA-CA0Ln.mjs} +2 -2
  44. package/fesm2022/{acorex-modules-auth-password.component-DZJ1qwfa.mjs.map → acorex-modules-auth-password.component-WA-CA0Ln.mjs.map} +1 -1
  45. package/fesm2022/{acorex-modules-auth-routes-Bw7nXDvx.mjs → acorex-modules-auth-routes-C3ye31RS.mjs} +2 -2
  46. package/fesm2022/{acorex-modules-auth-routes-Bw7nXDvx.mjs.map → acorex-modules-auth-routes-C3ye31RS.mjs.map} +1 -1
  47. package/fesm2022/{acorex-modules-auth-two-factor.module-DKStBo1V.mjs → acorex-modules-auth-two-factor.module-CkZCBo0B.mjs} +2 -2
  48. package/fesm2022/{acorex-modules-auth-two-factor.module-DKStBo1V.mjs.map → acorex-modules-auth-two-factor.module-CkZCBo0B.mjs.map} +1 -1
  49. package/fesm2022/acorex-modules-auth.mjs +1 -1
  50. package/fesm2022/acorex-modules-backend.mjs +142 -3
  51. package/fesm2022/acorex-modules-backend.mjs.map +1 -1
  52. package/fesm2022/acorex-modules-notification-management.mjs +728 -0
  53. package/fesm2022/acorex-modules-notification-management.mjs.map +1 -0
  54. package/fesm2022/acorex-modules-template-management.mjs +690 -0
  55. package/fesm2022/acorex-modules-template-management.mjs.map +1 -0
  56. package/notification-management/README.md +3 -0
  57. package/notification-management/index.d.ts +3 -0
  58. package/notification-management/lib/entities/notification-channel.entity.d.ts +3 -0
  59. package/notification-management/lib/entities/notification-template.entity.d.ts +3 -0
  60. package/notification-management/lib/notification-management-mock-data.d.ts +13 -0
  61. package/notification-management/lib/notification-management.module.d.ts +12 -0
  62. package/notification-management/lib/notification-management.service.d.ts +11 -0
  63. package/package.json +13 -1
  64. package/template-management/README.md +3 -0
  65. package/template-management/index.d.ts +3 -0
  66. package/template-management/lib/entities/global-template.entity.d.ts +3 -0
  67. package/template-management/lib/entities/template-variable.entity.d.ts +3 -0
  68. package/template-management/lib/template-management-mock-data.d.ts +7 -0
  69. package/template-management/lib/template-management.module.d.ts +12 -0
  70. package/template-management/lib/template-management.service.d.ts +9 -0
  71. package/application-management/lib/layouts/property-detail-view/modify-property-interface.component.d.ts +0 -5
  72. package/application-management/lib/workflows/modify-property-interface.workflow.d.ts +0 -26
  73. package/esm2022/application-management/lib/layouts/property-detail-view/modify-property-interface.component.mjs +0 -55
  74. package/esm2022/application-management/lib/workflows/modify-property-interface.workflow.mjs +0 -79
  75. package/fesm2022/acorex-modules-auth-acorex-modules-auth-CS3UFdX0.mjs.map +0 -1
@@ -0,0 +1,690 @@
1
+ import { AXPEntityDefinitionRegistryService } from '@acorex/platform/layout/entity';
2
+ import * as i0 from '@angular/core';
3
+ import { Injector, NgModule, Optional, Inject, Injectable } from '@angular/core';
4
+ import { AXPDataGenerator, AXPStorageService, AXPEntityDataProviderImpl, AXPEntityQueryType, AXPEntityCommandScope } from '@acorex/platform/common';
5
+ import { applySortArray, applyFilterArray } from '@acorex/platform/core';
6
+ import { AXPWidgetsCatalog } from '@acorex/platform/layout/builder';
7
+
8
+ class TemplateManagementModule {
9
+ static forRoot() {
10
+ return {
11
+ ngModule: TemplateManagementModule,
12
+ providers: [
13
+ {
14
+ provide: 'AXP_REGISTER_TEMPLATE_GLOBAL',
15
+ useFactory: async (entityRegistry, injector) => {
16
+ const globalTemplateEntity = await (await Promise.resolve().then(function () { return globalTemplate_entity; })).globalTemplateEntityFactory(injector);
17
+ entityRegistry.register(globalTemplateEntity);
18
+ //
19
+ const variableEntity = await (await Promise.resolve().then(function () { return templateVariable_entity; })).templateVariableEntityFactory(injector);
20
+ entityRegistry.register(variableEntity);
21
+ //
22
+ },
23
+ deps: [AXPEntityDefinitionRegistryService, Injector], // Add any dependencies if needed
24
+ },
25
+ ],
26
+ };
27
+ }
28
+ /**
29
+ * @ignore
30
+ */
31
+ constructor(instances) { }
32
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: TemplateManagementModule, deps: [{ token: 'AXP_REGISTER_TEMPLATE_GLOBAL', optional: true }], target: i0.ɵɵFactoryTarget.NgModule }); }
33
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.0", ngImport: i0, type: TemplateManagementModule }); }
34
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: TemplateManagementModule }); }
35
+ }
36
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: TemplateManagementModule, decorators: [{
37
+ type: NgModule,
38
+ args: [{
39
+ imports: [],
40
+ exports: [],
41
+ declarations: [],
42
+ }]
43
+ }], ctorParameters: () => [{ type: undefined, decorators: [{
44
+ type: Optional
45
+ }, {
46
+ type: Inject,
47
+ args: ['AXP_REGISTER_TEMPLATE_GLOBAL']
48
+ }] }] });
49
+
50
+ const GLOBAL_TEMPLATES = Array.from({ length: 5 }).map((_, i) => {
51
+ const name = AXPDataGenerator.string;
52
+ return {
53
+ id: AXPDataGenerator.uuid(),
54
+ name: name,
55
+ title: name,
56
+ content: AXPDataGenerator.string(200),
57
+ };
58
+ });
59
+
60
+ class TemplateManagementService {
61
+ constructor(injector) {
62
+ const storageService = injector.get(AXPStorageService);
63
+ //
64
+ this._globalTemplateDataProvider = new AXPEntityDataProviderImpl(storageService, 'globalTemplate');
65
+ this._globalTemplateDataProvider.initial(GLOBAL_TEMPLATES);
66
+ }
67
+ get globalTemplateDataProvider() {
68
+ return this._globalTemplateDataProvider;
69
+ }
70
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: TemplateManagementService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
71
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: TemplateManagementService, providedIn: 'root' }); }
72
+ }
73
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: TemplateManagementService, decorators: [{
74
+ type: Injectable,
75
+ args: [{
76
+ providedIn: 'root',
77
+ }]
78
+ }], ctorParameters: () => [{ type: i0.Injector }] });
79
+
80
+ async function globalTemplateEntityFactory(injector) {
81
+ const dataService = injector.get(TemplateManagementService);
82
+ const entityDef = {
83
+ module: 'template-management',
84
+ name: 'globalTemplate',
85
+ source: 'template-management.globalTemplate',
86
+ title: 'Templates',
87
+ formats: {
88
+ individual: 'Template',
89
+ plural: 'Templates',
90
+ },
91
+ relatedEntities: [
92
+ {
93
+ entity: 'template-management.templateVariable',
94
+ columns: ['name', 'title', 'type', 'requirement'],
95
+ conditions: [
96
+ {
97
+ name: 'globalTemplateId',
98
+ operator: {
99
+ type: 'equal',
100
+ },
101
+ value: 'id',
102
+ },
103
+ ],
104
+ },
105
+ ],
106
+ groups: [
107
+ {
108
+ id: 'template',
109
+ title: 'Template',
110
+ },
111
+ ],
112
+ properties: [
113
+ {
114
+ name: 'name',
115
+ title: 'Name',
116
+ groupId: 'template',
117
+ schema: {
118
+ dataType: 'string',
119
+ interface: {
120
+ type: AXPWidgetsCatalog.text,
121
+ },
122
+ },
123
+ },
124
+ {
125
+ name: 'title',
126
+ title: 'Title',
127
+ groupId: 'template',
128
+ schema: {
129
+ dataType: 'string',
130
+ interface: {
131
+ type: AXPWidgetsCatalog.text,
132
+ },
133
+ },
134
+ },
135
+ {
136
+ name: 'content',
137
+ title: 'Content',
138
+ groupId: 'template',
139
+ schema: {
140
+ dataType: 'string',
141
+ interface: {
142
+ type: AXPWidgetsCatalog.richText,
143
+ },
144
+ },
145
+ },
146
+ ],
147
+ columns: [{ name: 'name' }, { name: 'title' }],
148
+ commands: {
149
+ create: {
150
+ execute: async (data) => {
151
+ const entity = Object.assign(data, { id: AXPDataGenerator.uuid() });
152
+ dataService.globalTemplateDataProvider.insertOne(entity);
153
+ return Promise.resolve(entity);
154
+ },
155
+ },
156
+ delete: {
157
+ execute: async (id) => {
158
+ await await dataService.globalTemplateDataProvider.deleteOne(id);
159
+ return Promise.resolve();
160
+ },
161
+ },
162
+ update: {
163
+ execute: async (data) => {
164
+ return new Promise((resolve) => {
165
+ setTimeout(async () => {
166
+ await dataService.globalTemplateDataProvider.updateOne(data.id, data);
167
+ resolve(data);
168
+ }, 1000);
169
+ });
170
+ },
171
+ },
172
+ },
173
+ queries: {
174
+ byKey: {
175
+ execute: async (id) => {
176
+ return new Promise((resolve) => {
177
+ setTimeout(async () => {
178
+ const entity = await dataService.globalTemplateDataProvider.getOne(id);
179
+ resolve(entity);
180
+ }, 500);
181
+ });
182
+ },
183
+ type: AXPEntityQueryType.Single,
184
+ },
185
+ list: {
186
+ execute: async (e) => {
187
+ const list = await dataService.globalTemplateDataProvider.getAll();
188
+ const sortedItems = applySortArray(list, e.sort);
189
+ const filteredItems = applyFilterArray(sortedItems, e.filter ? [e.filter] : []);
190
+ return Promise.resolve({
191
+ total: filteredItems.length,
192
+ items: filteredItems.slice(e.skip, (e.skip ?? 0) + (e.take ?? 0)),
193
+ });
194
+ },
195
+ type: AXPEntityQueryType.List,
196
+ },
197
+ },
198
+ interfaces: {
199
+ master: {
200
+ create: {
201
+ sections: [
202
+ {
203
+ id: 'template',
204
+ },
205
+ ],
206
+ properties: [
207
+ {
208
+ name: 'name',
209
+ layout: {
210
+ positions: {
211
+ lg: {
212
+ colSpan: 6,
213
+ },
214
+ },
215
+ },
216
+ },
217
+ {
218
+ name: 'title',
219
+ layout: {
220
+ positions: {
221
+ lg: {
222
+ colSpan: 6,
223
+ },
224
+ },
225
+ },
226
+ },
227
+ {
228
+ name: 'content',
229
+ layout: {
230
+ positions: {
231
+ lg: {
232
+ colSpan: 12,
233
+ },
234
+ },
235
+ },
236
+ },
237
+ ],
238
+ },
239
+ update: {
240
+ sections: [
241
+ {
242
+ id: 'template',
243
+ },
244
+ ],
245
+ properties: [
246
+ {
247
+ name: 'name',
248
+ layout: {
249
+ positions: {
250
+ lg: {
251
+ colSpan: 6,
252
+ },
253
+ },
254
+ },
255
+ },
256
+ {
257
+ name: 'title',
258
+ layout: {
259
+ positions: {
260
+ lg: {
261
+ colSpan: 6,
262
+ },
263
+ },
264
+ },
265
+ },
266
+ {
267
+ name: 'content',
268
+ layout: {
269
+ positions: {
270
+ lg: {
271
+ colSpan: 12,
272
+ },
273
+ },
274
+ },
275
+ },
276
+ ],
277
+ },
278
+ single: {
279
+ title: '{{title}}',
280
+ sections: [
281
+ {
282
+ id: 'template',
283
+ layout: {
284
+ positions: {
285
+ lg: {
286
+ colSpan: 12,
287
+ },
288
+ },
289
+ },
290
+ },
291
+ ],
292
+ properties: [
293
+ {
294
+ name: 'name',
295
+ layout: {
296
+ positions: {
297
+ lg: {
298
+ colSpan: 6,
299
+ },
300
+ },
301
+ },
302
+ },
303
+ {
304
+ name: 'title',
305
+ layout: {
306
+ positions: {
307
+ lg: {
308
+ colSpan: 6,
309
+ },
310
+ },
311
+ },
312
+ },
313
+ {
314
+ name: 'content',
315
+ layout: {
316
+ positions: {
317
+ lg: {
318
+ colSpan: 12,
319
+ },
320
+ },
321
+ },
322
+ },
323
+ ],
324
+ actions: [],
325
+ },
326
+ list: {
327
+ actions: [
328
+ {
329
+ title: 'Create New',
330
+ command: 'create-entity',
331
+ priority: 'primary',
332
+ type: 'create',
333
+ scope: AXPEntityCommandScope.TypeLevel,
334
+ },
335
+ {
336
+ title: 'Delete Items',
337
+ command: 'delete-entity',
338
+ priority: 'primary',
339
+ type: 'delete',
340
+ scope: AXPEntityCommandScope.Selected,
341
+ },
342
+ {
343
+ title: 'Details',
344
+ command: 'open-entity',
345
+ priority: 'primary',
346
+ type: 'view',
347
+ scope: AXPEntityCommandScope.Individual,
348
+ },
349
+ {
350
+ title: 'Delete',
351
+ command: 'delete-entity',
352
+ priority: 'primary',
353
+ type: 'delete',
354
+ scope: AXPEntityCommandScope.Individual,
355
+ },
356
+ ],
357
+ views: [
358
+ {
359
+ name: 'all',
360
+ title: 'All Items',
361
+ fixed: true,
362
+ columns: [],
363
+ conditions: [],
364
+ sorts: [],
365
+ },
366
+ ],
367
+ },
368
+ },
369
+ },
370
+ };
371
+ return entityDef;
372
+ }
373
+
374
+ var globalTemplate_entity = /*#__PURE__*/Object.freeze({
375
+ __proto__: null,
376
+ globalTemplateEntityFactory: globalTemplateEntityFactory
377
+ });
378
+
379
+ async function templateVariableEntityFactory(injector) {
380
+ const dataService = injector.get(TemplateManagementService);
381
+ const entityDef = {
382
+ module: 'template-management',
383
+ name: 'templateVariable',
384
+ source: 'template-management.templateVariable',
385
+ title: 'TemplateVariables',
386
+ formats: {
387
+ individual: 'TemplateVariable',
388
+ plural: 'TemplateVariables',
389
+ },
390
+ relatedEntities: [],
391
+ groups: [
392
+ {
393
+ id: 'templateVariable',
394
+ title: 'TemplateVariable',
395
+ },
396
+ ],
397
+ properties: [
398
+ {
399
+ name: 'name',
400
+ title: 'Name',
401
+ groupId: 'templateVariable',
402
+ schema: {
403
+ dataType: 'string',
404
+ interface: {
405
+ type: AXPWidgetsCatalog.text,
406
+ },
407
+ },
408
+ },
409
+ {
410
+ name: 'title',
411
+ title: 'Title',
412
+ groupId: 'templateVariable',
413
+ schema: {
414
+ dataType: 'string',
415
+ interface: {
416
+ type: AXPWidgetsCatalog.text,
417
+ },
418
+ },
419
+ },
420
+ {
421
+ name: 'type',
422
+ title: 'Type',
423
+ groupId: 'templateVariable',
424
+ schema: {
425
+ dataType: 'string',
426
+ interface: {
427
+ type: AXPWidgetsCatalog.select,
428
+ },
429
+ },
430
+ },
431
+ {
432
+ name: 'requirement',
433
+ title: 'Requirement',
434
+ groupId: 'templateVariable',
435
+ schema: {
436
+ dataType: 'boolean',
437
+ interface: {
438
+ type: AXPWidgetsCatalog.toggle,
439
+ },
440
+ },
441
+ },
442
+ ],
443
+ columns: [{ name: 'name' }, { name: 'title' }, { name: 'requirement' }],
444
+ commands: {
445
+ create: {
446
+ execute: async (data) => {
447
+ const entity = Object.assign(data, { id: AXPDataGenerator.uuid() });
448
+ // dataService.templateVariableDataProvider.insertOne(entity);
449
+ return Promise.resolve(entity);
450
+ },
451
+ },
452
+ delete: {
453
+ execute: async (id) => {
454
+ // await await dataService.templateVariableDataProvider.deleteOne(id);
455
+ return Promise.resolve();
456
+ },
457
+ },
458
+ update: {
459
+ execute: async (data) => {
460
+ debugger;
461
+ return new Promise((resolve) => {
462
+ setTimeout(async () => {
463
+ // await dataService.templateVariableDataProvider.updateOne(data.id, data);
464
+ resolve(data);
465
+ }, 1000);
466
+ });
467
+ },
468
+ },
469
+ },
470
+ queries: {
471
+ byKey: {
472
+ execute: async (id) => {
473
+ return new Promise((resolve) => {
474
+ setTimeout(async () => {
475
+ // const entity = await dataService.templateVariableDataProvider.getOne(id);
476
+ // resolve(entity);
477
+ }, 500);
478
+ });
479
+ },
480
+ type: AXPEntityQueryType.Single,
481
+ },
482
+ list: {
483
+ execute: async (e) => {
484
+ // const list = await dataService.templateVariableDataProvider.getAll();
485
+ // const sortedItems = applySortArray(list, e.sort);
486
+ // const filteredItems = applyFilterArray(sortedItems, e.filter ? [e.filter] : []);
487
+ // return Promise.resolve({
488
+ // total: filteredItems.length,
489
+ // items: filteredItems.slice(e.skip, (e.skip ?? 0) + (e.take ?? 0)),
490
+ // });
491
+ },
492
+ type: AXPEntityQueryType.List,
493
+ },
494
+ },
495
+ interfaces: {
496
+ master: {
497
+ create: {
498
+ sections: [
499
+ {
500
+ id: 'templateVariable',
501
+ },
502
+ ],
503
+ properties: [
504
+ {
505
+ name: 'name',
506
+ layout: {
507
+ positions: {
508
+ lg: {
509
+ colSpan: 6,
510
+ },
511
+ },
512
+ },
513
+ },
514
+ {
515
+ name: 'title',
516
+ layout: {
517
+ positions: {
518
+ lg: {
519
+ colSpan: 6,
520
+ },
521
+ },
522
+ },
523
+ },
524
+ {
525
+ name: 'requirement',
526
+ layout: {
527
+ positions: {
528
+ lg: {
529
+ colSpan: 6,
530
+ },
531
+ },
532
+ },
533
+ },
534
+ ],
535
+ },
536
+ update: {
537
+ sections: [
538
+ {
539
+ id: 'templateVariable',
540
+ },
541
+ {
542
+ id: 'schema',
543
+ },
544
+ {
545
+ id: 'interface',
546
+ },
547
+ ],
548
+ properties: [
549
+ {
550
+ name: 'name',
551
+ layout: {
552
+ positions: {
553
+ lg: {
554
+ colSpan: 6,
555
+ },
556
+ },
557
+ },
558
+ },
559
+ {
560
+ name: 'title',
561
+ layout: {
562
+ positions: {
563
+ lg: {
564
+ colSpan: 6,
565
+ },
566
+ },
567
+ },
568
+ },
569
+ {
570
+ name: 'schema.nullable',
571
+ layout: {
572
+ positions: {
573
+ lg: {
574
+ colSpan: 6,
575
+ },
576
+ },
577
+ },
578
+ },
579
+ {
580
+ name: 'requirement',
581
+ layout: {
582
+ positions: {
583
+ lg: {
584
+ colSpan: 6,
585
+ },
586
+ },
587
+ },
588
+ },
589
+ ],
590
+ },
591
+ single: {
592
+ title: '{{title}}',
593
+ sections: [
594
+ {
595
+ id: 'templateVariable',
596
+ },
597
+ ],
598
+ properties: [
599
+ {
600
+ name: 'name',
601
+ layout: {
602
+ positions: {
603
+ lg: {
604
+ colSpan: 6,
605
+ },
606
+ },
607
+ },
608
+ },
609
+ {
610
+ name: 'title',
611
+ layout: {
612
+ positions: {
613
+ lg: {
614
+ colSpan: 6,
615
+ },
616
+ },
617
+ },
618
+ },
619
+ {
620
+ name: 'requirement',
621
+ layout: {
622
+ positions: {
623
+ lg: {
624
+ colSpan: 12,
625
+ },
626
+ },
627
+ },
628
+ },
629
+ ],
630
+ actions: [],
631
+ },
632
+ list: {
633
+ actions: [
634
+ {
635
+ title: 'Create New',
636
+ command: 'create-entity',
637
+ priority: 'primary',
638
+ type: 'create',
639
+ scope: AXPEntityCommandScope.TypeLevel,
640
+ },
641
+ {
642
+ title: 'Delete Items',
643
+ command: 'delete-entity',
644
+ priority: 'primary',
645
+ type: 'delete',
646
+ scope: AXPEntityCommandScope.Selected,
647
+ },
648
+ {
649
+ title: 'Details',
650
+ command: 'open-entity',
651
+ priority: 'primary',
652
+ type: 'view',
653
+ scope: AXPEntityCommandScope.Individual,
654
+ },
655
+ {
656
+ title: 'Delete',
657
+ command: 'delete-entity',
658
+ priority: 'primary',
659
+ type: 'delete',
660
+ scope: AXPEntityCommandScope.Individual,
661
+ },
662
+ ],
663
+ views: [
664
+ {
665
+ name: 'all',
666
+ title: 'All Items',
667
+ fixed: true,
668
+ columns: [],
669
+ conditions: [],
670
+ sorts: [],
671
+ },
672
+ ],
673
+ },
674
+ },
675
+ },
676
+ };
677
+ return entityDef;
678
+ }
679
+
680
+ var templateVariable_entity = /*#__PURE__*/Object.freeze({
681
+ __proto__: null,
682
+ templateVariableEntityFactory: templateVariableEntityFactory
683
+ });
684
+
685
+ /**
686
+ * Generated bundle index. Do not edit.
687
+ */
688
+
689
+ export { TemplateManagementModule, globalTemplateEntityFactory, templateVariableEntityFactory };
690
+ //# sourceMappingURL=acorex-modules-template-management.mjs.map