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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entities-reservation-class-status.mjs +322 -0
  2. package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entities-reservation-class-status.mjs.map +1 -0
  3. package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entities-reservation-class.mjs +296 -0
  4. package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entities-reservation-class.mjs.map +1 -0
  5. package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entities-reservation-event.mjs +341 -0
  6. package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entities-reservation-event.mjs.map +1 -0
  7. package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entities-reservation-resource-type.mjs +245 -0
  8. package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entities-reservation-resource-type.mjs.map +1 -0
  9. package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entities-reservation-status-transition.mjs +305 -0
  10. package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entities-reservation-status-transition.mjs.map +1 -0
  11. package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entities-reservation-status.mjs +250 -0
  12. package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entities-reservation-status.mjs.map +1 -0
  13. package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entities-reservation-type.mjs +242 -0
  14. package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entities-reservation-type.mjs.map +1 -0
  15. package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entities-reservation.mjs +491 -0
  16. package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entities-reservation.mjs.map +1 -0
  17. package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entity-catalog-acorex-platform-module-reservation-management-client-contracts-entity-catalog-C0xNOaEL.mjs +125 -0
  18. package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entity-catalog-acorex-platform-module-reservation-management-client-contracts-entity-catalog-C0xNOaEL.mjs.map +1 -0
  19. package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entity-catalog-reservation-class-status.entity-B9O13iXo.mjs +223 -0
  20. package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entity-catalog-reservation-class-status.entity-B9O13iXo.mjs.map +1 -0
  21. package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entity-catalog-reservation-class.entity-BzQdba-o.mjs +197 -0
  22. package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entity-catalog-reservation-class.entity-BzQdba-o.mjs.map +1 -0
  23. package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entity-catalog-reservation-event.entity-DcyBMFnq.mjs +242 -0
  24. package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entity-catalog-reservation-event.entity-DcyBMFnq.mjs.map +1 -0
  25. package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entity-catalog-reservation-resource-type.entity-A2sVNQ7U.mjs +146 -0
  26. package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entity-catalog-reservation-resource-type.entity-A2sVNQ7U.mjs.map +1 -0
  27. package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entity-catalog-reservation-status-transition.entity-CkzevvFk.mjs +206 -0
  28. package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entity-catalog-reservation-status-transition.entity-CkzevvFk.mjs.map +1 -0
  29. package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entity-catalog-reservation-status.entity-xwHV_Iox.mjs +151 -0
  30. package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entity-catalog-reservation-status.entity-xwHV_Iox.mjs.map +1 -0
  31. package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entity-catalog-reservation-type.entity-C7dA0pmR.mjs +143 -0
  32. package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entity-catalog-reservation-type.entity-C7dA0pmR.mjs.map +1 -0
  33. package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entity-catalog-reservation.entity-BGyEKYTi.mjs +392 -0
  34. package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entity-catalog-reservation.entity-BGyEKYTi.mjs.map +1 -0
  35. package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entity-catalog.mjs +2 -0
  36. package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entity-catalog.mjs.map +1 -0
  37. package/fesm2022/acorex-platform-module-reservation-management-client-local-entities.mjs +36 -0
  38. package/fesm2022/acorex-platform-module-reservation-management-client-local-entities.mjs.map +1 -0
  39. package/package.json +41 -1
  40. package/types/acorex-platform-module-reservation-management-client-contracts-entities-reservation-class-status.d.ts +5 -0
  41. package/types/acorex-platform-module-reservation-management-client-contracts-entities-reservation-class.d.ts +5 -0
  42. package/types/acorex-platform-module-reservation-management-client-contracts-entities-reservation-event.d.ts +5 -0
  43. package/types/acorex-platform-module-reservation-management-client-contracts-entities-reservation-resource-type.d.ts +5 -0
  44. package/types/acorex-platform-module-reservation-management-client-contracts-entities-reservation-status-transition.d.ts +5 -0
  45. package/types/acorex-platform-module-reservation-management-client-contracts-entities-reservation-status.d.ts +5 -0
  46. package/types/acorex-platform-module-reservation-management-client-contracts-entities-reservation-type.d.ts +5 -0
  47. package/types/acorex-platform-module-reservation-management-client-contracts-entities-reservation.d.ts +5 -0
  48. package/types/acorex-platform-module-reservation-management-client-contracts-entity-catalog.d.ts +10 -0
  49. package/types/acorex-platform-module-reservation-management-client-local-entities.d.ts +12 -0
@@ -0,0 +1,392 @@
1
+ import { AXPWidgetsCatalog } from '@acorex-platform/framework-shared/core';
2
+ import { createAllQueryView, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';
3
+ import { R as RootConfig } from './acorex-platform-module-reservation-management-client-contracts-entity-catalog-acorex-platform-module-reservation-management-client-contracts-entity-catalog-C0xNOaEL.mjs';
4
+
5
+ //#endregion
6
+ //#region ---- Entity Factory ----
7
+ async function reservationFactory() {
8
+ const i18n = RootConfig.config.i18n;
9
+ const entityDef = {
10
+ module: RootConfig.module.name,
11
+ name: RootConfig.entities.reservation.name,
12
+ title: RootConfig.entities.reservation.title,
13
+ icon: RootConfig.entities.reservation.icon,
14
+ formats: {
15
+ individual: RootConfig.entities.reservation.title,
16
+ plural: RootConfig.entities.reservation.titlePlural,
17
+ searchResult: {
18
+ title: '{{ title }}',
19
+ description: '{{ code }}',
20
+ },
21
+ },
22
+ plugins: [{ name: 'notes' }],
23
+ groups: [
24
+ {
25
+ id: 'reservation-information',
26
+ title: '@reservation-management:reservations.entities.reservation.groups.reservation-information',
27
+ },
28
+ {
29
+ id: 'approve-information',
30
+ title: '@reservation-management:reservations.entities.reservation.groups.approve-information',
31
+ },
32
+ ],
33
+ properties: [
34
+ {
35
+ name: 'id',
36
+ title: '@general:terms.common.id',
37
+ schema: { dataType: 'uuid', visible: false, nullable: false, readonly: true, unique: { enabled: true } },
38
+ },
39
+ {
40
+ name: 'reservationResourceTypeId',
41
+ title: '@reservation-management:reservations.entities.reservation.fields.reservation-resource-type-id',
42
+ groupId: 'reservation-information',
43
+ schema: {
44
+ dataType: 'object',
45
+ interface: {
46
+ type: AXPWidgetsCatalog.lookup,
47
+ options: {
48
+ entity: `${RootConfig.module.name}.${RootConfig.entities.reservationResourceType.name}`,
49
+ look: 'select',
50
+ textField: 'title',
51
+ valueField: 'id',
52
+ columns: ['name', 'title', 'reservationClass'],
53
+ expose: [
54
+ { source: 'id', target: 'reservationResourceType.id' },
55
+ { source: 'title', target: 'reservationResourceType.title' },
56
+ ],
57
+ },
58
+ },
59
+ },
60
+ options: {
61
+ sort: { enabled: true },
62
+ filter: { advance: { enabled: true }, inline: { enabled: true } },
63
+ },
64
+ },
65
+ {
66
+ name: 'reservationTypeId',
67
+ title: '@reservation-management:reservations.entities.reservation.fields.reservation-type-id',
68
+ groupId: 'reservation-information',
69
+ schema: {
70
+ dataType: 'string',
71
+ interface: {
72
+ type: AXPWidgetsCatalog.lookup,
73
+ options: {
74
+ entity: `${RootConfig.module.name}.${RootConfig.entities.reservationType.name}`,
75
+ look: 'select',
76
+ textField: 'title',
77
+ valueField: 'id',
78
+ columns: ['name', 'title', 'isBlocking'],
79
+ expose: [
80
+ { source: 'id', target: 'reservationType.id' },
81
+ { source: 'title', target: 'reservationType.title' },
82
+ { source: 'name', target: 'reservationType.name' },
83
+ ],
84
+ },
85
+ },
86
+ },
87
+ options: {
88
+ sort: { enabled: true },
89
+ filter: { advance: { enabled: true }, inline: { enabled: true } },
90
+ },
91
+ validations: [{ rule: 'required' }],
92
+ },
93
+ {
94
+ name: 'reservationStatusId',
95
+ title: '@reservation-management:reservations.entities.reservation.fields.reservation-status-id',
96
+ groupId: 'reservation-information',
97
+ schema: {
98
+ dataType: 'string',
99
+ readonly: true,
100
+ interface: {
101
+ type: AXPWidgetsCatalog.lookup,
102
+ options: {
103
+ entity: `${RootConfig.module.name}.${RootConfig.entities.reservationStatus.name}`,
104
+ look: 'select',
105
+ textField: 'title',
106
+ valueField: 'id',
107
+ columns: ['name', 'title', 'color'],
108
+ expose: [
109
+ { source: 'id', target: 'reservationStatus.id' },
110
+ { source: 'title', target: 'reservationStatus.title' },
111
+ { source: 'name', target: 'reservationStatus.name' },
112
+ { source: 'color', target: 'reservationStatus.color' },
113
+ ],
114
+ },
115
+ },
116
+ },
117
+ options: {
118
+ sort: { enabled: true },
119
+ filter: { advance: { enabled: true }, inline: { enabled: true } },
120
+ },
121
+ },
122
+ {
123
+ name: 'resourceEntityId',
124
+ title: '@reservation-management:reservations.entities.reservation.fields.resource-entity-id',
125
+ groupId: 'reservation-information',
126
+ schema: {
127
+ dataType: 'string',
128
+ interface: {
129
+ type: AXPWidgetsCatalog.lookup,
130
+ options: {
131
+ entity: 'PlatformManagement.EntityDefinition',
132
+ look: 'select',
133
+ textField: 'id',
134
+ valueField: 'id',
135
+ columns: ['name', 'module_id'],
136
+ allowSearch: true,
137
+ },
138
+ },
139
+ },
140
+ options: {
141
+ sort: { enabled: true },
142
+ filter: { advance: { enabled: true }, inline: { enabled: true } },
143
+ },
144
+ validations: [{ rule: 'required' }],
145
+ },
146
+ // {
147
+ // name: 'resourceId',
148
+ // title: '@reservation-management:reservations.entities.reservation.fields.resource-id',
149
+ // groupId: 'reservation-information',
150
+ // schema: {
151
+ // dataType: 'object',
152
+ // interface: {
153
+ // type: AXPWidgetsCatalog.lookup,
154
+ // options: {
155
+ // entity: `{{ context.eval('resourceEntityId') }}`,
156
+ // textField: 'title',
157
+ // valueField: 'id',
158
+ // columns: ['title'],
159
+ // expose: [
160
+ // { source: 'id', target: 'resource.id' },
161
+ // { source: 'title', target: 'resource.title' },
162
+ // ],
163
+ // triggers: [
164
+ // {
165
+ // event: "{{ events.context('resourceEntityId') }}",
166
+ // action: `{{ widget.refresh() }}`,
167
+ // },
168
+ // ],
169
+ // },
170
+ // },
171
+ // },
172
+ // options: {
173
+ // sort: { enabled: true },
174
+ // filter: { advance: { enabled: true }, inline: { enabled: true } },
175
+ // },
176
+ // validations: [{ rule: 'required' }],
177
+ // },
178
+ {
179
+ name: 'startDate',
180
+ title: '@reservation-management:reservations.entities.reservation.fields.start-date',
181
+ groupId: 'reservation-information',
182
+ schema: {
183
+ dataType: 'date',
184
+ // readonly : true ,
185
+ interface: {
186
+ type: AXPWidgetsCatalog.dateTime,
187
+ options: {
188
+ format: 'datetime',
189
+ },
190
+ },
191
+ },
192
+ options: {
193
+ sort: { enabled: true },
194
+ filter: { advance: { enabled: true }, inline: { enabled: true } },
195
+ },
196
+ validations: [{ rule: 'required' }],
197
+ },
198
+ {
199
+ name: 'endDate',
200
+ title: '@reservation-management:reservations.entities.reservation.fields.end-date',
201
+ groupId: 'reservation-information',
202
+ schema: {
203
+ dataType: 'date',
204
+ interface: {
205
+ type: AXPWidgetsCatalog.dateTime,
206
+ options: {
207
+ format: 'datetime',
208
+ },
209
+ },
210
+ },
211
+ options: {
212
+ sort: { enabled: true },
213
+ filter: { advance: { enabled: true }, inline: { enabled: true } },
214
+ },
215
+ validations: [{ rule: 'required' }],
216
+ },
217
+ {
218
+ name: 'requestedById',
219
+ title: '@reservation-management:reservations.entities.reservation.fields.requested-by-id',
220
+ groupId: 'approve-information',
221
+ schema: {
222
+ dataType: 'string',
223
+ interface: {
224
+ type: AXPWidgetsCatalog.lookup,
225
+ options: {
226
+ entity: 'HumanCapitalManagement.Employee',
227
+ textField: 'person.displayName',
228
+ valueField: 'id',
229
+ columns: ['person.displayName', 'person.primaryContact'],
230
+ expose: [
231
+ { source: 'id', target: 'requestedBy.id' },
232
+ { source: 'person.displayName', target: 'requestedBy.displayName' },
233
+ ],
234
+ },
235
+ },
236
+ },
237
+ options: {
238
+ sort: { enabled: true },
239
+ filter: { advance: { enabled: true }, inline: { enabled: true } },
240
+ },
241
+ },
242
+ {
243
+ name: 'requestedDate',
244
+ title: '@reservation-management:reservations.entities.reservation.fields.requested-date',
245
+ groupId: 'approve-information',
246
+ schema: {
247
+ dataType: 'date',
248
+ readonly: true,
249
+ interface: {
250
+ type: AXPWidgetsCatalog.dateTime,
251
+ options: {
252
+ format: 'datetime',
253
+ defaultValue: Date.now(),
254
+ },
255
+ },
256
+ },
257
+ options: {
258
+ sort: { enabled: true },
259
+ filter: { advance: { enabled: true }, inline: { enabled: true } },
260
+ },
261
+ },
262
+ {
263
+ name: 'approvedById',
264
+ title: '@reservation-management:reservations.entities.reservation.fields.approved-by-id',
265
+ groupId: 'approve-information',
266
+ schema: {
267
+ dataType: 'string',
268
+ interface: {
269
+ type: AXPWidgetsCatalog.lookup,
270
+ options: {
271
+ entity: 'HumanCapitalManagement.Employee',
272
+ textField: 'person.displayName',
273
+ valueField: 'id',
274
+ columns: ['person.displayName', 'person.primaryContact'],
275
+ expose: [
276
+ { source: 'id', target: 'approvedBy.id' },
277
+ { source: 'person.displayName', target: 'approvedBy.displayName' },
278
+ ],
279
+ },
280
+ },
281
+ },
282
+ options: {
283
+ sort: { enabled: true },
284
+ filter: { advance: { enabled: true }, inline: { enabled: true } },
285
+ },
286
+ },
287
+ {
288
+ name: 'approvedDate',
289
+ title: '@reservation-management:reservations.entities.reservation.fields.approved-date',
290
+ groupId: 'approve-information',
291
+ schema: {
292
+ dataType: 'date',
293
+ interface: {
294
+ type: AXPWidgetsCatalog.dateTime,
295
+ options: {
296
+ format: 'datetime',
297
+ },
298
+ },
299
+ },
300
+ options: {
301
+ sort: { enabled: true },
302
+ filter: { advance: { enabled: true }, inline: { enabled: true } },
303
+ },
304
+ },
305
+ ],
306
+ columns: [
307
+ { name: 'reservationTypeId', options: { dataPath: 'reservationType' } },
308
+ { name: 'reservationResourceTypeId', options: { dataPath: 'reservationResourceType' } },
309
+ // { name: 'resourceId', options: { dataPath: 'resource' } },
310
+ { name: 'startDate' },
311
+ { name: 'endDate' },
312
+ { name: 'reservationStatusId', options: { dataPath: 'reservationStatus' } },
313
+ { name: 'requestedById', options: { dataPath: 'requestedBy' } },
314
+ ],
315
+ interfaces: {
316
+ master: {
317
+ create: {
318
+ sections: [
319
+ { id: 'reservation-information', order: 1, layout: { positions: { lg: { colSpan: 12 } } } },
320
+ { id: 'approve-information', order: 2, layout: { positions: { lg: { colSpan: 12 } } } },
321
+ ],
322
+ properties: [
323
+ { name: 'reservationTypeId', layout: { positions: { lg: { colSpan: 6 } } } },
324
+ { name: 'reservationResourceTypeId', layout: { positions: { lg: { colSpan: 6 } } } },
325
+ { name: 'reservationStatusId', layout: { positions: { lg: { colSpan: 6 } } } },
326
+ { name: 'resourceEntityId', layout: { positions: { lg: { colSpan: 6 } } } },
327
+ // { name: 'resourceId', layout: { positions: { lg: { colSpan: 6 } } } },
328
+ { name: 'startDate', layout: { positions: { lg: { colStart: 1, colSpan: 6 } } } },
329
+ { name: 'endDate', layout: { positions: { lg: { colSpan: 6 } } } },
330
+ { name: 'requestedById', layout: { positions: { lg: { colSpan: 6 } } } },
331
+ { name: 'requestedDate', layout: { positions: { lg: { colSpan: 6 } } } },
332
+ { name: 'approvedById', layout: { positions: { lg: { colSpan: 6 } } } },
333
+ { name: 'approvedDate', layout: { positions: { lg: { colSpan: 6 } } } },
334
+ ],
335
+ },
336
+ update: {
337
+ sections: [
338
+ { id: 'reservation-information', order: 1, layout: { positions: { lg: { colSpan: 12 } } } },
339
+ { id: 'approve-information', order: 2, layout: { positions: { lg: { colSpan: 12 } } } },
340
+ ],
341
+ properties: [
342
+ { name: 'reservationTypeId', layout: { positions: { lg: { colSpan: 6 } } } },
343
+ { name: 'reservationResourceTypeId', layout: { positions: { lg: { colSpan: 6 } } } },
344
+ { name: 'reservationStatusId', layout: { positions: { lg: { colSpan: 6 } } } },
345
+ { name: 'resourceEntityId', layout: { positions: { lg: { colSpan: 6 } } } },
346
+ // { name: 'resourceId', layout: { positions: { lg: { colSpan: 6 } } } },
347
+ { name: 'startDate', layout: { positions: { lg: { colStart: 1, colSpan: 6 } } } },
348
+ { name: 'endDate', layout: { positions: { lg: { colSpan: 6 } } } },
349
+ { name: 'requestedById', layout: { positions: { lg: { colSpan: 6 } } } },
350
+ { name: 'requestedDate', layout: { positions: { lg: { colSpan: 6 } } } },
351
+ { name: 'approvedById', layout: { positions: { lg: { colSpan: 6 } } } },
352
+ { name: 'approvedDate', layout: { positions: { lg: { colSpan: 6 } } } },
353
+ ],
354
+ },
355
+ single: {
356
+ title: '{{ title }}',
357
+ sections: [
358
+ { id: 'reservation-information', order: 1, layout: { positions: { lg: { colSpan: 12 } } } },
359
+ { id: 'approve-information', order: 2, layout: { positions: { lg: { colSpan: 12 } } } },
360
+ ],
361
+ properties: [
362
+ { name: 'reservationTypeId', layout: { positions: { lg: { colSpan: 6 } } } },
363
+ { name: 'reservationResourceTypeId', layout: { positions: { lg: { colSpan: 6 } } } },
364
+ { name: 'reservationStatusId', layout: { positions: { lg: { colSpan: 6 } } } },
365
+ { name: 'resourceEntityId', layout: { positions: { lg: { colSpan: 6 } } } },
366
+ // { name: 'resourceId', layout: { positions: { lg: { colSpan: 6 } } } },
367
+ { name: 'startDate', layout: { positions: { lg: { colStart: 1, colSpan: 6 } } } },
368
+ { name: 'endDate', layout: { positions: { lg: { colSpan: 6 } } } },
369
+ { name: 'requestedById', layout: { positions: { lg: { colSpan: 6 } } } },
370
+ { name: 'requestedDate', layout: { positions: { lg: { colSpan: 6 } } } },
371
+ { name: 'approvedById', layout: { positions: { lg: { colSpan: 6 } } } },
372
+ { name: 'approvedDate', layout: { positions: { lg: { colSpan: 6 } } } },
373
+ ],
374
+ actions: [...entityMasterRecordActions()],
375
+ },
376
+ list: {
377
+ actions: [...entityMasterCrudActions()],
378
+ views: [
379
+ createAllQueryView({
380
+ sorts: [{ name: 'startDate', dir: 'desc' }],
381
+ }),
382
+ ],
383
+ },
384
+ },
385
+ },
386
+ };
387
+ return entityDef;
388
+ }
389
+ //#endregion
390
+
391
+ export { reservationFactory };
392
+ //# sourceMappingURL=acorex-platform-module-reservation-management-client-contracts-entity-catalog-reservation.entity-BGyEKYTi.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-reservation-management-client-contracts-entity-catalog-reservation.entity-BGyEKYTi.mjs","sources":["../../../../libs/modules/reservation-management/contracts/src/entities/reservation/reservation.entity.ts"],"sourcesContent":["import { AXPSystemActionType, AXPWidgetsCatalog } from '@acorex-platform/framework-shared/core';\nimport { AXPEntity, AXPEntityCommandScope, createAllQueryView, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';\n//#region ---- Imports ----\nimport { RootConfig } from '../../root-config';\n\n//#endregion\n\n//#region ---- Entity Factory ----\n\nexport async function reservationFactory(): Promise<AXPEntity | null> {\n const i18n = RootConfig.config.i18n;\n\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.reservation.name,\n title: RootConfig.entities.reservation.title,\n icon: RootConfig.entities.reservation.icon,\n formats: {\n individual: RootConfig.entities.reservation.title,\n plural: RootConfig.entities.reservation.titlePlural,\n searchResult: {\n title: '{{ title }}',\n description: '{{ code }}',\n },\n },\n plugins : [{ name: 'notes' }] ,\n groups: [\n {\n id: 'reservation-information',\n title: '@reservation-management:reservations.entities.reservation.groups.reservation-information',\n },\n {\n id: 'approve-information',\n title: '@reservation-management:reservations.entities.reservation.groups.approve-information',\n },\n ],\n properties: [\n {\n name: 'id',\n title: '@general:terms.common.id',\n schema: { dataType: 'uuid', visible: false, nullable: false, readonly: true, unique: { enabled: true } },\n },\n {\n name: 'reservationResourceTypeId',\n title: '@reservation-management:reservations.entities.reservation.fields.reservation-resource-type-id',\n groupId: 'reservation-information',\n schema: {\n dataType: 'object',\n interface: {\n type: AXPWidgetsCatalog.lookup,\n options: {\n entity: `${RootConfig.module.name}.${RootConfig.entities.reservationResourceType.name}`,\n look: 'select',\n textField: 'title',\n valueField: 'id',\n columns: ['name', 'title','reservationClass'],\n expose: [\n { source: 'id', target: 'reservationResourceType.id' },\n { source: 'title', target: 'reservationResourceType.title' },\n ],\n },\n },\n },\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n },\n {\n name: 'reservationTypeId',\n title: '@reservation-management:reservations.entities.reservation.fields.reservation-type-id',\n groupId: 'reservation-information',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.lookup,\n options: {\n entity: `${RootConfig.module.name}.${RootConfig.entities.reservationType.name}`,\n look: 'select',\n textField: 'title',\n valueField: 'id',\n columns: ['name', 'title', 'isBlocking'],\n expose: [\n { source: 'id', target: 'reservationType.id' },\n { source: 'title', target: 'reservationType.title' },\n { source: 'name', target: 'reservationType.name' },\n ],\n },\n },\n },\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n validations: [{ rule: 'required' }],\n },\n \n {\n name: 'reservationStatusId',\n title: '@reservation-management:reservations.entities.reservation.fields.reservation-status-id',\n groupId: 'reservation-information',\n schema: {\n dataType: 'string',\n readonly : true ,\n interface: {\n type: AXPWidgetsCatalog.lookup,\n options: {\n entity: `${RootConfig.module.name}.${RootConfig.entities.reservationStatus.name}`,\n look: 'select',\n textField: 'title',\n valueField: 'id',\n columns: ['name', 'title', 'color'],\n expose: [\n { source: 'id', target: 'reservationStatus.id' },\n { source: 'title', target: 'reservationStatus.title' },\n { source: 'name', target: 'reservationStatus.name' },\n { source: 'color', target: 'reservationStatus.color' },\n ],\n },\n },\n },\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n },\n {\n name: 'resourceEntityId',\n title: '@reservation-management:reservations.entities.reservation.fields.resource-entity-id',\n groupId: 'reservation-information',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.lookup,\n options: {\n entity: 'PlatformManagement.EntityDefinition',\n look: 'select',\n textField: 'id',\n valueField: 'id',\n columns: ['name', 'module_id'],\n allowSearch: true,\n },\n },\n },\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n validations: [{ rule: 'required' }],\n },\n // {\n // name: 'resourceId',\n // title: '@reservation-management:reservations.entities.reservation.fields.resource-id',\n // groupId: 'reservation-information',\n // schema: {\n // dataType: 'object',\n // interface: {\n // type: AXPWidgetsCatalog.lookup,\n // options: {\n // entity: `{{ context.eval('resourceEntityId') }}`,\n // textField: 'title',\n // valueField: 'id',\n // columns: ['title'],\n // expose: [\n // { source: 'id', target: 'resource.id' },\n // { source: 'title', target: 'resource.title' },\n // ],\n // triggers: [\n // {\n // event: \"{{ events.context('resourceEntityId') }}\",\n // action: `{{ widget.refresh() }}`,\n // },\n // ],\n // },\n // },\n // },\n // options: {\n // sort: { enabled: true },\n // filter: { advance: { enabled: true }, inline: { enabled: true } },\n // },\n // validations: [{ rule: 'required' }],\n // },\n {\n name: 'startDate',\n title: '@reservation-management:reservations.entities.reservation.fields.start-date',\n groupId: 'reservation-information',\n schema: {\n dataType: 'date',\n // readonly : true ,\n interface: {\n type: AXPWidgetsCatalog.dateTime,\n options: {\n format: 'datetime',\n },\n },\n },\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'endDate',\n title: '@reservation-management:reservations.entities.reservation.fields.end-date',\n groupId: 'reservation-information',\n schema: {\n dataType: 'date',\n interface: {\n type: AXPWidgetsCatalog.dateTime,\n options: {\n format: 'datetime',\n },\n },\n },\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'requestedById',\n title: '@reservation-management:reservations.entities.reservation.fields.requested-by-id',\n groupId: 'approve-information',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.lookup,\n options: {\n entity: 'HumanCapitalManagement.Employee',\n textField: 'person.displayName',\n valueField: 'id',\n columns: ['person.displayName', 'person.primaryContact'],\n expose: [\n { source: 'id', target: 'requestedBy.id' },\n { source: 'person.displayName', target: 'requestedBy.displayName' },\n ],\n },\n },\n },\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n },\n {\n name: 'requestedDate',\n title: '@reservation-management:reservations.entities.reservation.fields.requested-date',\n groupId: 'approve-information',\n schema: {\n dataType: 'date',\n readonly : true ,\n interface: {\n type: AXPWidgetsCatalog.dateTime,\n options: {\n format: 'datetime',\n defaultValue: Date.now(),\n },\n },\n },\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n },\n {\n name: 'approvedById',\n title: '@reservation-management:reservations.entities.reservation.fields.approved-by-id',\n groupId: 'approve-information',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.lookup,\n options: {\n entity: 'HumanCapitalManagement.Employee',\n textField: 'person.displayName',\n valueField: 'id',\n columns: ['person.displayName', 'person.primaryContact'],\n expose: [\n { source: 'id', target: 'approvedBy.id' },\n { source: 'person.displayName', target: 'approvedBy.displayName' },\n ],\n },\n },\n },\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n },\n {\n name: 'approvedDate',\n title: '@reservation-management:reservations.entities.reservation.fields.approved-date',\n groupId: 'approve-information',\n schema: {\n dataType: 'date',\n interface: {\n type: AXPWidgetsCatalog.dateTime,\n options: {\n format: 'datetime',\n },\n },\n },\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n },\n ],\n columns: [\n { name: 'reservationTypeId', options: { dataPath: 'reservationType' } },\n { name: 'reservationResourceTypeId', options: { dataPath: 'reservationResourceType' } },\n // { name: 'resourceId', options: { dataPath: 'resource' } },\n { name: 'startDate' },\n { name: 'endDate' },\n { name: 'reservationStatusId', options: { dataPath: 'reservationStatus' } },\n { name: 'requestedById', options: { dataPath: 'requestedBy' } },\n ],\n\n interfaces: {\n master: {\n create: {\n sections: [\n { id: 'reservation-information', order: 1, layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'approve-information', order: 2, layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n properties: [\n { name: 'reservationTypeId', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'reservationResourceTypeId', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'reservationStatusId', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'resourceEntityId', layout: { positions: { lg: { colSpan: 6 } } } },\n // { name: 'resourceId', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'startDate', layout: { positions: { lg: { colStart : 1 , colSpan: 6 } } } },\n { name: 'endDate', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'requestedById', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'requestedDate', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'approvedById', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'approvedDate', layout: { positions: { lg: { colSpan: 6 } } } },\n ],\n },\n update: {\n sections: [\n { id: 'reservation-information', order: 1, layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'approve-information', order: 2, layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n properties: [\n { name: 'reservationTypeId', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'reservationResourceTypeId', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'reservationStatusId', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'resourceEntityId', layout: { positions: { lg: { colSpan: 6 } } } },\n // { name: 'resourceId', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'startDate', layout: { positions: { lg: { colStart : 1 , colSpan: 6 } } } },\n { name: 'endDate', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'requestedById', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'requestedDate', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'approvedById', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'approvedDate', layout: { positions: { lg: { colSpan: 6 } } } },\n ],\n },\n single: {\n title: '{{ title }}',\n sections: [\n { id: 'reservation-information', order: 1, layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'approve-information', order: 2, layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n properties: [\n { name: 'reservationTypeId', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'reservationResourceTypeId', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'reservationStatusId', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'resourceEntityId', layout: { positions: { lg: { colSpan: 6 } } } },\n // { name: 'resourceId', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'startDate', layout: { positions: { lg: { colStart : 1 , colSpan: 6 } } } },\n { name: 'endDate', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'requestedById', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'requestedDate', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'approvedById', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'approvedDate', layout: { positions: { lg: { colSpan: 6 } } } },\n ],\n actions: [...entityMasterRecordActions()],\n },\n list: {\n actions: [...entityMasterCrudActions()],\n views: [\n createAllQueryView({\n sorts: [{ name: 'startDate', dir: 'desc' }],\n }),\n ],\n },\n },\n },\n };\n return entityDef;\n}\n\n//#endregion\n\n"],"names":[],"mappings":";;;;AAKA;AAEA;AAEO,eAAe,kBAAkB,GAAA;AACtC,IAAA,MAAM,IAAI,GAAG,UAAU,CAAC,MAAM,CAAC,IAAI;AAEnC,IAAA,MAAM,SAAS,GAAc;AAC3B,QAAA,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC9B,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI;AAC1C,QAAA,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC,WAAW,CAAC,KAAK;AAC5C,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI;AAC1C,QAAA,OAAO,EAAE;AACP,YAAA,UAAU,EAAE,UAAU,CAAC,QAAQ,CAAC,WAAW,CAAC,KAAK;AACjD,YAAA,MAAM,EAAE,UAAU,CAAC,QAAQ,CAAC,WAAW,CAAC,WAAW;AACnD,YAAA,YAAY,EAAE;AACZ,gBAAA,KAAK,EAAE,aAAa;AACpB,gBAAA,WAAW,EAAE,YAAY;AAC1B,aAAA;AACF,SAAA;AACD,QAAA,OAAO,EAAG,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;AAC7B,QAAA,MAAM,EAAE;AACN,YAAA;AACE,gBAAA,EAAE,EAAE,yBAAyB;AAC7B,gBAAA,KAAK,EAAE,0FAA0F;AAClG,aAAA;AACD,YAAA;AACE,gBAAA,EAAE,EAAE,qBAAqB;AACzB,gBAAA,KAAK,EAAE,sFAAsF;AAC9F,aAAA;AACF,SAAA;AACD,QAAA,UAAU,EAAE;AACV,YAAA;AACE,gBAAA,IAAI,EAAE,IAAI;AACV,gBAAA,KAAK,EAAE,0BAA0B;gBACjC,MAAM,EAAE,EAAE,QAAQ,EAAE,MAAM,EAAE,OA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AC;4BACjB,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,GAAG,EAAE,MAAM,EAAE,CAAC;yBAC5C,CAAC;AACH,qBAAA;AACF,iBAAA;AACF,aAAA;AACF,SAAA;KACF;AACD,IAAA,OAAO,SAAS;AAClB;AAEA;;;;"}
@@ -0,0 +1,2 @@
1
+ export { r as reservationManagementLocalEntityCatalog } from './acorex-platform-module-reservation-management-client-contracts-entity-catalog-acorex-platform-module-reservation-management-client-contracts-entity-catalog-C0xNOaEL.mjs';
2
+ //# sourceMappingURL=acorex-platform-module-reservation-management-client-contracts-entity-catalog.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-reservation-management-client-contracts-entity-catalog.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,36 @@
1
+ import { provideLocalEntityCatalog } from '@acorex-platform/framework-client/layout/entity';
2
+ import { RootConfig } from '@acorex-platform/module-reservation-management-client/contracts';
3
+ export { reservationManagementLocalEntityCatalog } from '@acorex-platform/module-reservation-management-client/contracts/entity-catalog';
4
+
5
+ //#region ----- Imports -----
6
+ //#endregion
7
+ //#region ----- Provide local entities -----
8
+ /**
9
+ * Registers reservation-management layouts on the client from packaged factories.
10
+ * Each `import()` targets a secondary entry so unused entities stay out of the
11
+ * bundle. Do not add this to the demo app; demo continues to load layouts via
12
+ * `Domain:GetEntityLayout`.
13
+ */
14
+ function provideReservationManagementLocalEntities() {
15
+ return provideLocalEntityCatalog({
16
+ moduleName: RootConfig.module.name,
17
+ loaders: {
18
+ [RootConfig.entities.reservation.name]: () => import('@acorex-platform/module-reservation-management-client/contracts/entities/reservation').then((m) => m.reservationFactory()),
19
+ [RootConfig.entities.reservationClass.name]: () => import('@acorex-platform/module-reservation-management-client/contracts/entities/reservation-class').then((m) => m.reservationClassFactory()),
20
+ [RootConfig.entities.reservationClassStatus.name]: () => import('@acorex-platform/module-reservation-management-client/contracts/entities/reservation-class-status').then((m) => m.reservationClassStatusFactory()),
21
+ [RootConfig.entities.reservationEvent.name]: () => import('@acorex-platform/module-reservation-management-client/contracts/entities/reservation-event').then((m) => m.reservationEventFactory()),
22
+ [RootConfig.entities.reservationResourceType.name]: () => import('@acorex-platform/module-reservation-management-client/contracts/entities/reservation-resource-type').then((m) => m.reservationResourceTypeFactory()),
23
+ [RootConfig.entities.reservationStatus.name]: () => import('@acorex-platform/module-reservation-management-client/contracts/entities/reservation-status').then((m) => m.reservationStatusFactory()),
24
+ [RootConfig.entities.reservationStatusTransition.name]: () => import('@acorex-platform/module-reservation-management-client/contracts/entities/reservation-status-transition').then((m) => m.reservationStatusTransitionFactory()),
25
+ [RootConfig.entities.reservationType.name]: () => import('@acorex-platform/module-reservation-management-client/contracts/entities/reservation-type').then((m) => m.reservationTypeFactory()),
26
+ },
27
+ });
28
+ }
29
+ //#endregion
30
+
31
+ /**
32
+ * Generated bundle index. Do not edit.
33
+ */
34
+
35
+ export { provideReservationManagementLocalEntities };
36
+ //# sourceMappingURL=acorex-platform-module-reservation-management-client-local-entities.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-reservation-management-client-local-entities.mjs","sources":["../../../../libs/modules/reservation-management/client/src/lib/provide-local-entities.ts","../../../../libs/modules/reservation-management/client/src/lib/acorex-platform-module-reservation-management-client-local-entities.ts"],"sourcesContent":["//#region ----- Imports -----\n\nimport { provideLocalEntityCatalog } from '@acorex-platform/framework-client/layout/entity';\nimport { RootConfig } from '@acorex-platform/module-reservation-management-client/contracts';\n\n//#endregion\n\n//#region ----- Provide local entities -----\n\n/**\n * Registers reservation-management layouts on the client from packaged factories.\n * Each `import()` targets a secondary entry so unused entities stay out of the\n * bundle. Do not add this to the demo app; demo continues to load layouts via\n * `Domain:GetEntityLayout`.\n */\nexport function provideReservationManagementLocalEntities() {\n return provideLocalEntityCatalog({\n moduleName: RootConfig.module.name,\n loaders: {\n [RootConfig.entities.reservation.name]: () =>\n import('@acorex-platform/module-reservation-management-client/contracts/entities/reservation').then((m) => m.reservationFactory()),\n [RootConfig.entities.reservationClass.name]: () =>\n import('@acorex-platform/module-reservation-management-client/contracts/entities/reservation-class').then((m) => m.reservationClassFactory()),\n [RootConfig.entities.reservationClassStatus.name]: () =>\n import('@acorex-platform/module-reservation-management-client/contracts/entities/reservation-class-status').then((m) => m.reservationClassStatusFactory()),\n [RootConfig.entities.reservationEvent.name]: () =>\n import('@acorex-platform/module-reservation-management-client/contracts/entities/reservation-event').then((m) => m.reservationEventFactory()),\n [RootConfig.entities.reservationResourceType.name]: () =>\n import('@acorex-platform/module-reservation-management-client/contracts/entities/reservation-resource-type').then((m) => m.reservationResourceTypeFactory()),\n [RootConfig.entities.reservationStatus.name]: () =>\n import('@acorex-platform/module-reservation-management-client/contracts/entities/reservation-status').then((m) => m.reservationStatusFactory()),\n [RootConfig.entities.reservationStatusTransition.name]: () =>\n import('@acorex-platform/module-reservation-management-client/contracts/entities/reservation-status-transition').then((m) => m.reservationStatusTransitionFactory()),\n [RootConfig.entities.reservationType.name]: () =>\n import('@acorex-platform/module-reservation-management-client/contracts/entities/reservation-type').then((m) => m.reservationTypeFactory()),\n },\n });\n}\n\nexport { reservationManagementLocalEntityCatalog } from '@acorex-platform/module-reservation-management-client/contracts/entity-catalog';\n\n//#endregion\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './provide-local-entities';\n"],"names":[],"mappings":";;;;AAAA;AAKA;AAEA;AAEA;;;;;AAKG;SACa,yCAAyC,GAAA;AACvD,IAAA,OAAO,yBAAyB,CAAC;AAC/B,QAAA,UAAU,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAClC,QAAA,OAAO,EAAE;AACP,YAAA,CAAC,UAAU,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,GAAG,MACtC,OAAO,sFAAsF,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,kBAAkB,EAAE,CAAC;AACpI,YAAA,CAAC,UAAU,CAAC,QAAQ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2
2
  "name": "@acorex-platform/module-reservation-management-client",
3
- "version": "0.0.30",
3
+ "version": "0.0.33",
4
4
  "sideEffects": false,
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^21.0.0 || ^22.0.0",
@@ -22,6 +22,46 @@
22
22
  "./contracts": {
23
23
  "types": "./types/acorex-platform-module-reservation-management-client-contracts.d.ts",
24
24
  "default": "./fesm2022/acorex-platform-module-reservation-management-client-contracts.mjs"
25
+ },
26
+ "./contracts/entities/reservation": {
27
+ "types": "./types/acorex-platform-module-reservation-management-client-contracts-entities-reservation.d.ts",
28
+ "default": "./fesm2022/acorex-platform-module-reservation-management-client-contracts-entities-reservation.mjs"
29
+ },
30
+ "./contracts/entities/reservation-class": {
31
+ "types": "./types/acorex-platform-module-reservation-management-client-contracts-entities-reservation-class.d.ts",
32
+ "default": "./fesm2022/acorex-platform-module-reservation-management-client-contracts-entities-reservation-class.mjs"
33
+ },
34
+ "./contracts/entities/reservation-class-status": {
35
+ "types": "./types/acorex-platform-module-reservation-management-client-contracts-entities-reservation-class-status.d.ts",
36
+ "default": "./fesm2022/acorex-platform-module-reservation-management-client-contracts-entities-reservation-class-status.mjs"
37
+ },
38
+ "./contracts/entities/reservation-event": {
39
+ "types": "./types/acorex-platform-module-reservation-management-client-contracts-entities-reservation-event.d.ts",
40
+ "default": "./fesm2022/acorex-platform-module-reservation-management-client-contracts-entities-reservation-event.mjs"
41
+ },
42
+ "./contracts/entities/reservation-resource-type": {
43
+ "types": "./types/acorex-platform-module-reservation-management-client-contracts-entities-reservation-resource-type.d.ts",
44
+ "default": "./fesm2022/acorex-platform-module-reservation-management-client-contracts-entities-reservation-resource-type.mjs"
45
+ },
46
+ "./contracts/entities/reservation-status": {
47
+ "types": "./types/acorex-platform-module-reservation-management-client-contracts-entities-reservation-status.d.ts",
48
+ "default": "./fesm2022/acorex-platform-module-reservation-management-client-contracts-entities-reservation-status.mjs"
49
+ },
50
+ "./contracts/entities/reservation-status-transition": {
51
+ "types": "./types/acorex-platform-module-reservation-management-client-contracts-entities-reservation-status-transition.d.ts",
52
+ "default": "./fesm2022/acorex-platform-module-reservation-management-client-contracts-entities-reservation-status-transition.mjs"
53
+ },
54
+ "./contracts/entities/reservation-type": {
55
+ "types": "./types/acorex-platform-module-reservation-management-client-contracts-entities-reservation-type.d.ts",
56
+ "default": "./fesm2022/acorex-platform-module-reservation-management-client-contracts-entities-reservation-type.mjs"
57
+ },
58
+ "./contracts/entity-catalog": {
59
+ "types": "./types/acorex-platform-module-reservation-management-client-contracts-entity-catalog.d.ts",
60
+ "default": "./fesm2022/acorex-platform-module-reservation-management-client-contracts-entity-catalog.mjs"
61
+ },
62
+ "./local-entities": {
63
+ "types": "./types/acorex-platform-module-reservation-management-client-local-entities.d.ts",
64
+ "default": "./fesm2022/acorex-platform-module-reservation-management-client-local-entities.mjs"
25
65
  }
26
66
  },
27
67
  "type": "module"
@@ -0,0 +1,5 @@
1
+ import { AXPEntity } from '@acorex-platform/framework-shared/entity';
2
+
3
+ declare function reservationClassStatusFactory(): Promise<AXPEntity | null>;
4
+
5
+ export { reservationClassStatusFactory };
@@ -0,0 +1,5 @@
1
+ import { AXPEntity } from '@acorex-platform/framework-shared/entity';
2
+
3
+ declare function reservationClassFactory(): Promise<AXPEntity | null>;
4
+
5
+ export { reservationClassFactory };
@@ -0,0 +1,5 @@
1
+ import { AXPEntity } from '@acorex-platform/framework-shared/entity';
2
+
3
+ declare function reservationEventFactory(): Promise<AXPEntity | null>;
4
+
5
+ export { reservationEventFactory };
@@ -0,0 +1,5 @@
1
+ import { AXPEntity } from '@acorex-platform/framework-shared/entity';
2
+
3
+ declare function reservationResourceTypeFactory(): Promise<AXPEntity | null>;
4
+
5
+ export { reservationResourceTypeFactory };
@@ -0,0 +1,5 @@
1
+ import { AXPEntity } from '@acorex-platform/framework-shared/entity';
2
+
3
+ declare function reservationStatusTransitionFactory(): Promise<AXPEntity | null>;
4
+
5
+ export { reservationStatusTransitionFactory };
@@ -0,0 +1,5 @@
1
+ import { AXPEntity } from '@acorex-platform/framework-shared/entity';
2
+
3
+ declare function reservationStatusFactory(): Promise<AXPEntity | null>;
4
+
5
+ export { reservationStatusFactory };
@@ -0,0 +1,5 @@
1
+ import { AXPEntity } from '@acorex-platform/framework-shared/entity';
2
+
3
+ declare function reservationTypeFactory(): Promise<AXPEntity | null>;
4
+
5
+ export { reservationTypeFactory };
@@ -0,0 +1,5 @@
1
+ import { AXPEntity } from '@acorex-platform/framework-shared/entity';
2
+
3
+ declare function reservationFactory(): Promise<AXPEntity | null>;
4
+
5
+ export { reservationFactory };