@acorex-platform/module-reservation-management-client 0.0.32 → 0.0.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entities-reservation-class-status.mjs +322 -0
- package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entities-reservation-class-status.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entities-reservation-class.mjs +296 -0
- package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entities-reservation-class.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entities-reservation-event.mjs +341 -0
- package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entities-reservation-event.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entities-reservation-resource-type.mjs +245 -0
- package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entities-reservation-resource-type.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entities-reservation-status-transition.mjs +305 -0
- package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entities-reservation-status-transition.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entities-reservation-status.mjs +250 -0
- package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entities-reservation-status.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entities-reservation-type.mjs +242 -0
- package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entities-reservation-type.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entities-reservation.mjs +491 -0
- package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entities-reservation.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entity-catalog-acorex-platform-module-reservation-management-client-contracts-entity-catalog-ClAI9Vjo.mjs +125 -0
- package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entity-catalog-acorex-platform-module-reservation-management-client-contracts-entity-catalog-ClAI9Vjo.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entity-catalog-reservation-class-status.entity-DxL8xo19.mjs +223 -0
- package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entity-catalog-reservation-class-status.entity-DxL8xo19.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entity-catalog-reservation-class.entity-CcH8dDaj.mjs +197 -0
- package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entity-catalog-reservation-class.entity-CcH8dDaj.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entity-catalog-reservation-event.entity-CuSeIX8T.mjs +242 -0
- package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entity-catalog-reservation-event.entity-CuSeIX8T.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entity-catalog-reservation-resource-type.entity-Ck2vLXdx.mjs +146 -0
- package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entity-catalog-reservation-resource-type.entity-Ck2vLXdx.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entity-catalog-reservation-status-transition.entity-BtLUko4J.mjs +206 -0
- package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entity-catalog-reservation-status-transition.entity-BtLUko4J.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entity-catalog-reservation-status.entity-CJ26bHTc.mjs +151 -0
- package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entity-catalog-reservation-status.entity-CJ26bHTc.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entity-catalog-reservation-type.entity-CKv5nyxw.mjs +143 -0
- package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entity-catalog-reservation-type.entity-CKv5nyxw.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entity-catalog-reservation.entity-BQ019c2A.mjs +392 -0
- package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entity-catalog-reservation.entity-BQ019c2A.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entity-catalog.mjs +2 -0
- package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entity-catalog.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-reservation-management-client-contracts.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-reservation-management-client-local-entities.mjs +36 -0
- package/fesm2022/acorex-platform-module-reservation-management-client-local-entities.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-reservation-management-client.mjs.map +1 -1
- package/package.json +41 -1
- package/types/acorex-platform-module-reservation-management-client-contracts-entities-reservation-class-status.d.ts +5 -0
- package/types/acorex-platform-module-reservation-management-client-contracts-entities-reservation-class.d.ts +5 -0
- package/types/acorex-platform-module-reservation-management-client-contracts-entities-reservation-event.d.ts +5 -0
- package/types/acorex-platform-module-reservation-management-client-contracts-entities-reservation-resource-type.d.ts +5 -0
- package/types/acorex-platform-module-reservation-management-client-contracts-entities-reservation-status-transition.d.ts +5 -0
- package/types/acorex-platform-module-reservation-management-client-contracts-entities-reservation-status.d.ts +5 -0
- package/types/acorex-platform-module-reservation-management-client-contracts-entities-reservation-type.d.ts +5 -0
- package/types/acorex-platform-module-reservation-management-client-contracts-entities-reservation.d.ts +5 -0
- package/types/acorex-platform-module-reservation-management-client-contracts-entity-catalog.d.ts +10 -0
- package/types/acorex-platform-module-reservation-management-client-contracts.d.ts +6 -0
- package/types/acorex-platform-module-reservation-management-client-local-entities.d.ts +12 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-reservation-management-client-contracts-entities-reservation-resource-type.mjs","sources":["../../../../libs/modules/reservation-management/contracts/src/root-config.ts","../../../../libs/modules/reservation-management/contracts/src/entities/reservation-resource-type/reservation-resource-type.entity.ts","../../../../libs/modules/reservation-management/contracts/src/acorex-platform-module-reservation-management-client-contracts-entities-reservation-resource-type.ts"],"sourcesContent":["//#region ---- Root Configuration ----\n\nconst config = {\n i18n: 'reservation-management',\n module: 'ReservationManagement',\n route: 'reservation-management',\n};\n\nexport const RootConfig = {\n config,\n module: {\n route: config.route,\n name: config.module,\n title: '@reservation-management:module.title',\n icon: 'fa-light fa-calendar-check',\n },\n entities: {\n reservationType: {\n name: 'ReservationType',\n source: `${config.module}.ReservationType`,\n title: '@reservation-management:reservation-types.entities.reservation-type.title',\n titlePlural: '@reservation-management:reservation-types.entities.reservation-type.plural',\n icon: 'fa-light fa-list',\n },\n reservationStatus: {\n name: 'ReservationStatus',\n source: `${config.module}.ReservationStatus`,\n title: '@reservation-management:reservation-statuses.entities.reservation-status.title',\n titlePlural: '@reservation-management:reservation-statuses.entities.reservation-status.plural',\n icon: 'fa-light fa-flag',\n },\n reservationClass: {\n name: 'ReservationClass',\n source: `${config.module}.ReservationClass`,\n title: '@reservation-management:reservation-classes.entities.reservation-class.title',\n titlePlural: '@reservation-management:reservation-classes.entities.reservation-class.plural',\n icon: 'fa-light fa-tag',\n },\n reservation: {\n name: 'Reservation',\n source: `${config.module}.Reservation`,\n title: '@reservation-management:reservations.entities.reservation.title',\n titlePlural: '@reservation-management:reservations.entities.reservation.plural',\n icon: 'fa-light fa-calendar-check',\n },\n reservationEvent: {\n name: 'ReservationEvent',\n source: `${config.module}.ReservationEvent`,\n title: '@reservation-management:reservation-events.entities.reservation-event.title',\n titlePlural: '@reservation-management:reservation-events.entities.reservation-event.plural',\n icon: 'fa-light fa-calendar-alt',\n },\n reservationHold: {\n name: 'ReservationHold',\n source: `${config.module}.ReservationHold`,\n title: '@reservation-management:reservation-holds.entities.reservation-hold.title',\n titlePlural: '@reservation-management:reservation-holds.entities.reservation-hold.plural',\n icon: 'fa-light fa-pause-circle',\n },\n reservationStatusTransition: {\n name: 'ReservationStatusTransition',\n source: `${config.module}.ReservationStatusTransition`,\n title: '@reservation-management:reservation-status-transitions.entities.reservation-status-transition.title',\n titlePlural: '@reservation-management:reservation-status-transitions.entities.reservation-status-transition.plural',\n icon: 'fa-light fa-right-left',\n },\n reservationResourceType: {\n name: 'ReservationResourceType',\n source: `${config.module}.ReservationResourceType`,\n title: '@reservation-management:reservation-resource-types.entities.reservation-resource-type.title',\n titlePlural: '@reservation-management:reservation-resource-types.entities.reservation-resource-type.plural',\n icon: 'fa-light fa-cube',\n },\n reservationClassStatus: {\n name: 'ReservationClassStatus',\n source: `${config.module}.ReservationClassStatus`,\n title: '@reservation-management:reservation-class-statuses.entities.reservation-class-status.title',\n titlePlural: '@reservation-management:reservation-class-statuses.entities.reservation-class-status.plural',\n icon: 'fa-light fa-circle-nodes',\n },\n reservationClassType: {\n name: 'ReservationClassType',\n source: `${config.module}.ReservationClassType`,\n title: '@reservation-management:reservation-class-types.entities.reservation-class-type.title',\n titlePlural: '@reservation-management:reservation-class-types.entities.reservation-class-type.plural',\n icon: 'fa-light fa-layer-group',\n },\n },\n pages: {\n reservationBoard: {\n path: 'reservation-board',\n title: '@reservation-management:reservation-board.page-title',\n icon: 'fa-light fa-calendar-lines',\n },\n },\n};\n\n//#endregion\n","import { AXPSystemActionType, AXPWidgetsCatalog, AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport { AXPEntity, AXPEntityAction, 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 reservationResourceTypeFactory(): Promise<AXPEntity | null> {\n const i18n = RootConfig.config.i18n;\n\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.reservationResourceType.name,\n title: RootConfig.entities.reservationResourceType.title,\n icon: RootConfig.entities.reservationResourceType.icon,\n formats: {\n individual: RootConfig.entities.reservationResourceType.title,\n plural: RootConfig.entities.reservationResourceType.titlePlural,\n searchResult: {\n title: '{{ title }}',\n description: '{{ entityId }}',\n },\n },\n groups: [\n {\n id: 'basic-information',\n title: '@reservation-management:reservation-resource-types.entities.reservation-resource-type.groups.basic-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: 'title',\n title: '@reservation-management:reservation-resource-types.entities.reservation-resource-type.fields.title.title',\n groupId: 'basic-information',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.TextBox,\n options: {\n placeholder:\n '@reservation-management:reservation-resource-types.entities.reservation-resource-type.fields.title.placeholder',\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: 'entityId',\n title: '@reservation-management:reservation-resource-types.entities.reservation-resource-type.fields.entity-id.title',\n groupId: 'basic-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 validations: [{ rule: 'required' }],\n },\n {\n name: 'reservationClassId',\n title: '@reservation-management:reservation-resource-types.entities.reservation-resource-type.fields.reservation-class-id.title',\n groupId: 'basic-information',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.lookup,\n options: {\n entity: `${RootConfig.module.name}.${RootConfig.entities.reservationClass.name}`,\n textField: 'title',\n valueField: 'id',\n columns: ['code', 'title'],\n expose: [\n { source: 'id', target: 'reservationClass.id' },\n { source: 'title', target: 'reservationClass.title' },\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 columns: [{ name: 'title' }, \n { name: 'entityId' } ,\n { name: 'reservationClassId' , options: { dataPath: 'reservationClass' } }],\n\n interfaces: {\n master: {\n create: {\n sections: [{ id: 'basic-information' }],\n properties: [\n { name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'entityId', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'reservationClassId', layout: { positions: { lg: { colSpan: 6 } } } },\n ],\n },\n update: {\n sections: [{ id: 'basic-information' }],\n properties: [\n { name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'entityId', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'reservationClassId', layout: { positions: { lg: { colSpan: 6 } } } },\n ],\n },\n single: {\n title: '{{ title }}',\n sections: [{ id: 'basic-information' }],\n properties: [\n { name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'entityId', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'reservationClassId', layout: { positions: { lg: { colSpan: 6 } } } },\n ],\n },\n list: {\n actions: [...entityMasterCrudActions()],\n views: [\n createAllQueryView({\n sorts: [{ name: 'title', dir: 'asc' }],\n }),\n ],\n },\n },\n },\n };\n\n return entityDef;\n}\n\n//#endregion\n\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './entity-entry.reservation-resource-type';\n"],"names":[],"mappings":";;;AAAA;AAEA,MAAM,MAAM,GAAG;AACb,IAAA,IAAI,EAAE,wBAAwB;AAC9B,IAAA,MAAM,EAAE,uBAAuB;AAC/B,IAAA,KAAK,EAAE,wBAAwB;CAChC;AAEM,MAAM,UAAU,GAAG;IACxB,MAAM;AACN,IAAA,MAAM,EAAE;QACN,KAAK,EAAE,MAAM,CAAC,KAAK;QACnB,IAAI,EAAE,MAAM,CAAC,MAAM;AACnB,QAAA,KAAK,EAAE,sCAAsC;AAC7C,QAAA,IAAI,EAAE,4BAA4B;AACnC,KAAA;AACD,IAAA,QAAQ,EAAE;AACR,QAAA,eAAe,EAAE;AACf,YAAA,IAAI,EAAE,iBAAiB;AACvB,YAAA,MAAM,EAAE,CAAA,EAAG,MAAM,CAAC,MAAM,CAAA,gBAAA,CAAkB;AAC1C,YAAA,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AM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE;AAChE,wBAAA,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE;AACnE,wBAAA,EAAE,IAAI,EAAE,oBAAoB,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE;AAC9E,qBAAA;AACF,iBAAA;AACD,gBAAA,IAAI,EAAE;AACJ,oBAAA,OAAO,EAAE,CAAC,GAAG,uBAAuB,EAAE,CAAC;AACvC,oBAAA,KAAK,EAAE;AACL,wBAAA,kBAAkB,CAAC;4BACjB,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC;yBACvC,CAAC;AACH,qBAAA;AACF,iBAAA;AACF,aAAA;AACF,SAAA;KACF;AAED,IAAA,OAAO,SAAS;AAClB;AAEA;;ACtJA;;AAEG;;"}
|
|
@@ -0,0 +1,305 @@
|
|
|
1
|
+
import { AXPWidgetsCatalog } from '@acorex-platform/framework-shared/core';
|
|
2
|
+
import { createAllQueryView, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';
|
|
3
|
+
|
|
4
|
+
//#region ---- Root Configuration ----
|
|
5
|
+
const config = {
|
|
6
|
+
i18n: 'reservation-management',
|
|
7
|
+
module: 'ReservationManagement',
|
|
8
|
+
route: 'reservation-management',
|
|
9
|
+
};
|
|
10
|
+
const RootConfig = {
|
|
11
|
+
config,
|
|
12
|
+
module: {
|
|
13
|
+
route: config.route,
|
|
14
|
+
name: config.module,
|
|
15
|
+
title: '@reservation-management:module.title',
|
|
16
|
+
icon: 'fa-light fa-calendar-check',
|
|
17
|
+
},
|
|
18
|
+
entities: {
|
|
19
|
+
reservationType: {
|
|
20
|
+
name: 'ReservationType',
|
|
21
|
+
source: `${config.module}.ReservationType`,
|
|
22
|
+
title: '@reservation-management:reservation-types.entities.reservation-type.title',
|
|
23
|
+
titlePlural: '@reservation-management:reservation-types.entities.reservation-type.plural',
|
|
24
|
+
icon: 'fa-light fa-list',
|
|
25
|
+
},
|
|
26
|
+
reservationStatus: {
|
|
27
|
+
name: 'ReservationStatus',
|
|
28
|
+
source: `${config.module}.ReservationStatus`,
|
|
29
|
+
title: '@reservation-management:reservation-statuses.entities.reservation-status.title',
|
|
30
|
+
titlePlural: '@reservation-management:reservation-statuses.entities.reservation-status.plural',
|
|
31
|
+
icon: 'fa-light fa-flag',
|
|
32
|
+
},
|
|
33
|
+
reservationClass: {
|
|
34
|
+
name: 'ReservationClass',
|
|
35
|
+
source: `${config.module}.ReservationClass`,
|
|
36
|
+
title: '@reservation-management:reservation-classes.entities.reservation-class.title',
|
|
37
|
+
titlePlural: '@reservation-management:reservation-classes.entities.reservation-class.plural',
|
|
38
|
+
icon: 'fa-light fa-tag',
|
|
39
|
+
},
|
|
40
|
+
reservation: {
|
|
41
|
+
name: 'Reservation',
|
|
42
|
+
source: `${config.module}.Reservation`,
|
|
43
|
+
title: '@reservation-management:reservations.entities.reservation.title',
|
|
44
|
+
titlePlural: '@reservation-management:reservations.entities.reservation.plural',
|
|
45
|
+
icon: 'fa-light fa-calendar-check',
|
|
46
|
+
},
|
|
47
|
+
reservationEvent: {
|
|
48
|
+
name: 'ReservationEvent',
|
|
49
|
+
source: `${config.module}.ReservationEvent`,
|
|
50
|
+
title: '@reservation-management:reservation-events.entities.reservation-event.title',
|
|
51
|
+
titlePlural: '@reservation-management:reservation-events.entities.reservation-event.plural',
|
|
52
|
+
icon: 'fa-light fa-calendar-alt',
|
|
53
|
+
},
|
|
54
|
+
reservationHold: {
|
|
55
|
+
name: 'ReservationHold',
|
|
56
|
+
source: `${config.module}.ReservationHold`,
|
|
57
|
+
title: '@reservation-management:reservation-holds.entities.reservation-hold.title',
|
|
58
|
+
titlePlural: '@reservation-management:reservation-holds.entities.reservation-hold.plural',
|
|
59
|
+
icon: 'fa-light fa-pause-circle',
|
|
60
|
+
},
|
|
61
|
+
reservationStatusTransition: {
|
|
62
|
+
name: 'ReservationStatusTransition',
|
|
63
|
+
source: `${config.module}.ReservationStatusTransition`,
|
|
64
|
+
title: '@reservation-management:reservation-status-transitions.entities.reservation-status-transition.title',
|
|
65
|
+
titlePlural: '@reservation-management:reservation-status-transitions.entities.reservation-status-transition.plural',
|
|
66
|
+
icon: 'fa-light fa-right-left',
|
|
67
|
+
},
|
|
68
|
+
reservationResourceType: {
|
|
69
|
+
name: 'ReservationResourceType',
|
|
70
|
+
source: `${config.module}.ReservationResourceType`,
|
|
71
|
+
title: '@reservation-management:reservation-resource-types.entities.reservation-resource-type.title',
|
|
72
|
+
titlePlural: '@reservation-management:reservation-resource-types.entities.reservation-resource-type.plural',
|
|
73
|
+
icon: 'fa-light fa-cube',
|
|
74
|
+
},
|
|
75
|
+
reservationClassStatus: {
|
|
76
|
+
name: 'ReservationClassStatus',
|
|
77
|
+
source: `${config.module}.ReservationClassStatus`,
|
|
78
|
+
title: '@reservation-management:reservation-class-statuses.entities.reservation-class-status.title',
|
|
79
|
+
titlePlural: '@reservation-management:reservation-class-statuses.entities.reservation-class-status.plural',
|
|
80
|
+
icon: 'fa-light fa-circle-nodes',
|
|
81
|
+
},
|
|
82
|
+
reservationClassType: {
|
|
83
|
+
name: 'ReservationClassType',
|
|
84
|
+
source: `${config.module}.ReservationClassType`,
|
|
85
|
+
title: '@reservation-management:reservation-class-types.entities.reservation-class-type.title',
|
|
86
|
+
titlePlural: '@reservation-management:reservation-class-types.entities.reservation-class-type.plural',
|
|
87
|
+
icon: 'fa-light fa-layer-group',
|
|
88
|
+
},
|
|
89
|
+
},
|
|
90
|
+
pages: {
|
|
91
|
+
reservationBoard: {
|
|
92
|
+
path: 'reservation-board',
|
|
93
|
+
title: '@reservation-management:reservation-board.page-title',
|
|
94
|
+
icon: 'fa-light fa-calendar-lines',
|
|
95
|
+
},
|
|
96
|
+
},
|
|
97
|
+
};
|
|
98
|
+
//#endregion
|
|
99
|
+
|
|
100
|
+
//#endregion
|
|
101
|
+
//#region ---- Entity Factory ----
|
|
102
|
+
async function reservationStatusTransitionFactory() {
|
|
103
|
+
const entityDef = {
|
|
104
|
+
module: RootConfig.module.name,
|
|
105
|
+
name: RootConfig.entities.reservationStatusTransition.name,
|
|
106
|
+
title: RootConfig.entities.reservationStatusTransition.title,
|
|
107
|
+
icon: RootConfig.entities.reservationStatusTransition.icon,
|
|
108
|
+
formats: {
|
|
109
|
+
individual: RootConfig.entities.reservationStatusTransition.title,
|
|
110
|
+
plural: RootConfig.entities.reservationStatusTransition.titlePlural,
|
|
111
|
+
searchResult: {
|
|
112
|
+
title: '{{ title || (fromStatus?.title + " → " + toStatus?.title) }}',
|
|
113
|
+
description: '{{ reservationClass?.title }}',
|
|
114
|
+
},
|
|
115
|
+
},
|
|
116
|
+
groups: [
|
|
117
|
+
{
|
|
118
|
+
id: 'transition-details',
|
|
119
|
+
title: '@reservation-management:reservation-status-transitions.entities.reservation-status-transition.groups.transition-details',
|
|
120
|
+
},
|
|
121
|
+
],
|
|
122
|
+
plugins: [],
|
|
123
|
+
properties: [
|
|
124
|
+
{
|
|
125
|
+
name: 'id',
|
|
126
|
+
title: '@general:terms.common.id',
|
|
127
|
+
schema: { dataType: 'uuid', visible: false, nullable: false, readonly: true, unique: { enabled: true } },
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
name: 'reservationClassId',
|
|
131
|
+
title: '@reservation-management:reservation-status-transitions.entities.reservation-status-transition.fields.reservation-class-id.title',
|
|
132
|
+
groupId: 'transition-details',
|
|
133
|
+
schema: {
|
|
134
|
+
dataType: 'string',
|
|
135
|
+
visible: false,
|
|
136
|
+
interface: {
|
|
137
|
+
type: AXPWidgetsCatalog.lookup,
|
|
138
|
+
options: {
|
|
139
|
+
entity: `${RootConfig.module.name}.${RootConfig.entities.reservationClass.name}`,
|
|
140
|
+
textField: 'title',
|
|
141
|
+
valueField: 'id',
|
|
142
|
+
columns: ['code', 'title'],
|
|
143
|
+
expose: [
|
|
144
|
+
{ source: 'id', target: 'reservationClass.id' },
|
|
145
|
+
{ source: 'title', target: 'reservationClass.title' },
|
|
146
|
+
{ source: 'code', target: 'reservationClass.code' },
|
|
147
|
+
],
|
|
148
|
+
},
|
|
149
|
+
},
|
|
150
|
+
},
|
|
151
|
+
options: {
|
|
152
|
+
sort: { enabled: true },
|
|
153
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
154
|
+
},
|
|
155
|
+
validations: [{ rule: 'required' }],
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
name: 'fromStatusId',
|
|
159
|
+
title: '@reservation-management:reservation-status-transitions.entities.reservation-status-transition.fields.from-status-id.title',
|
|
160
|
+
groupId: 'transition-details',
|
|
161
|
+
schema: {
|
|
162
|
+
dataType: 'object',
|
|
163
|
+
interface: {
|
|
164
|
+
type: AXPWidgetsCatalog.lookup,
|
|
165
|
+
options: {
|
|
166
|
+
entity: `${RootConfig.module.name}.${RootConfig.entities.reservationClassStatus.name}`,
|
|
167
|
+
look: 'select',
|
|
168
|
+
textField: 'title',
|
|
169
|
+
valueField: 'id',
|
|
170
|
+
columns: ['name', 'title', 'color'],
|
|
171
|
+
expose: [
|
|
172
|
+
{ source: 'id', target: 'fromStatus.id' },
|
|
173
|
+
{ source: 'title', target: 'fromStatus.title' },
|
|
174
|
+
{ source: 'name', target: 'fromStatus.name' },
|
|
175
|
+
],
|
|
176
|
+
filter: {
|
|
177
|
+
logic: 'and',
|
|
178
|
+
filters: [
|
|
179
|
+
{
|
|
180
|
+
field: 'reservationClassId',
|
|
181
|
+
operator: { type: 'equal' },
|
|
182
|
+
value: '{{ context.eval("reservationClassId.value") }}',
|
|
183
|
+
},
|
|
184
|
+
],
|
|
185
|
+
},
|
|
186
|
+
triggers: [
|
|
187
|
+
{
|
|
188
|
+
event: "{{ events.context('reservationClassId') }}",
|
|
189
|
+
//action:"{{console.log(context.eval('reservationClassId'))}}"
|
|
190
|
+
action: `{{ widget.refresh() }}`,
|
|
191
|
+
},
|
|
192
|
+
],
|
|
193
|
+
},
|
|
194
|
+
},
|
|
195
|
+
},
|
|
196
|
+
options: {
|
|
197
|
+
sort: { enabled: true },
|
|
198
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
199
|
+
},
|
|
200
|
+
validations: [{ rule: 'required' }],
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
name: 'toStatusId',
|
|
204
|
+
title: '@reservation-management:reservation-status-transitions.entities.reservation-status-transition.fields.to-status-id.title',
|
|
205
|
+
groupId: 'transition-details',
|
|
206
|
+
schema: {
|
|
207
|
+
dataType: 'object',
|
|
208
|
+
interface: {
|
|
209
|
+
type: AXPWidgetsCatalog.lookup,
|
|
210
|
+
options: {
|
|
211
|
+
entity: `${RootConfig.module.name}.${RootConfig.entities.reservationClassStatus.name}`,
|
|
212
|
+
look: 'select',
|
|
213
|
+
textField: 'title',
|
|
214
|
+
valueField: 'id',
|
|
215
|
+
columns: ['name', 'title'],
|
|
216
|
+
expose: [
|
|
217
|
+
{ source: 'id', target: 'toStatus.id' },
|
|
218
|
+
{ source: 'title', target: 'toStatus.title' },
|
|
219
|
+
{ source: 'name', target: 'toStatus.name' },
|
|
220
|
+
],
|
|
221
|
+
filter: {
|
|
222
|
+
logic: 'and',
|
|
223
|
+
filters: [
|
|
224
|
+
{
|
|
225
|
+
field: 'reservationClassId',
|
|
226
|
+
operator: { type: 'equal' },
|
|
227
|
+
value: '{{ context.eval("reservationClassId.value") }}',
|
|
228
|
+
},
|
|
229
|
+
],
|
|
230
|
+
},
|
|
231
|
+
triggers: [
|
|
232
|
+
{
|
|
233
|
+
event: "{{ events.context('reservationClassId') }}",
|
|
234
|
+
action: "{{console.log(context.eval('reservationClassId'))}}" //action: `{{ !context.eval('reservationClassId.value') ? widget.setValue(null) : widget.refresh() }}`,
|
|
235
|
+
},
|
|
236
|
+
],
|
|
237
|
+
},
|
|
238
|
+
},
|
|
239
|
+
},
|
|
240
|
+
options: {
|
|
241
|
+
sort: { enabled: true },
|
|
242
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
243
|
+
},
|
|
244
|
+
validations: [{ rule: 'required' }],
|
|
245
|
+
},
|
|
246
|
+
],
|
|
247
|
+
columns: [
|
|
248
|
+
{ name: 'fromStatusId', options: { dataPath: 'fromStatus.title' } },
|
|
249
|
+
{ name: 'toStatusId', options: { dataPath: 'toStatus.title' } },
|
|
250
|
+
],
|
|
251
|
+
interfaces: {
|
|
252
|
+
master: {
|
|
253
|
+
create: {
|
|
254
|
+
sections: [{ id: 'transition-details' }],
|
|
255
|
+
properties: [
|
|
256
|
+
{ name: 'reservationClassId', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
257
|
+
{ name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
258
|
+
{ name: 'fromStatusId', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
259
|
+
{ name: 'toStatusId', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
260
|
+
],
|
|
261
|
+
},
|
|
262
|
+
update: {
|
|
263
|
+
sections: [{ id: 'transition-details' }],
|
|
264
|
+
properties: [
|
|
265
|
+
{ name: 'reservationClassId', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
266
|
+
{ name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
267
|
+
{ name: 'fromStatusId', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
268
|
+
{ name: 'toStatusId', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
269
|
+
],
|
|
270
|
+
},
|
|
271
|
+
single: {
|
|
272
|
+
title: '{{ title || (fromStatus?.title + " → " + toStatus?.title) }}',
|
|
273
|
+
sections: [{ id: 'transition-details' }],
|
|
274
|
+
properties: [
|
|
275
|
+
{ name: 'reservationClassId', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
276
|
+
{ name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
277
|
+
{ name: 'fromStatusId', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
278
|
+
{ name: 'toStatusId', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
279
|
+
],
|
|
280
|
+
actions: [...entityMasterRecordActions()],
|
|
281
|
+
},
|
|
282
|
+
list: {
|
|
283
|
+
actions: [...entityMasterCrudActions()],
|
|
284
|
+
views: [
|
|
285
|
+
createAllQueryView({
|
|
286
|
+
sorts: [
|
|
287
|
+
{ name: 'fromStatusId', dir: 'asc' },
|
|
288
|
+
{ name: 'toStatusId', dir: 'asc' },
|
|
289
|
+
],
|
|
290
|
+
}),
|
|
291
|
+
],
|
|
292
|
+
},
|
|
293
|
+
},
|
|
294
|
+
},
|
|
295
|
+
};
|
|
296
|
+
return entityDef;
|
|
297
|
+
}
|
|
298
|
+
//#endregion
|
|
299
|
+
|
|
300
|
+
/**
|
|
301
|
+
* Generated bundle index. Do not edit.
|
|
302
|
+
*/
|
|
303
|
+
|
|
304
|
+
export { reservationStatusTransitionFactory };
|
|
305
|
+
//# sourceMappingURL=acorex-platform-module-reservation-management-client-contracts-entities-reservation-status-transition.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-reservation-management-client-contracts-entities-reservation-status-transition.mjs","sources":["../../../../libs/modules/reservation-management/contracts/src/root-config.ts","../../../../libs/modules/reservation-management/contracts/src/entities/reservation-status-transition/reservation-status-transition.entity.ts","../../../../libs/modules/reservation-management/contracts/src/acorex-platform-module-reservation-management-client-contracts-entities-reservation-status-transition.ts"],"sourcesContent":["//#region ---- Root Configuration ----\n\nconst config = {\n i18n: 'reservation-management',\n module: 'ReservationManagement',\n route: 'reservation-management',\n};\n\nexport const RootConfig = {\n config,\n module: {\n route: config.route,\n name: config.module,\n title: '@reservation-management:module.title',\n icon: 'fa-light fa-calendar-check',\n },\n entities: {\n reservationType: {\n name: 'ReservationType',\n source: `${config.module}.ReservationType`,\n title: '@reservation-management:reservation-types.entities.reservation-type.title',\n titlePlural: '@reservation-management:reservation-types.entities.reservation-type.plural',\n icon: 'fa-light fa-list',\n },\n reservationStatus: {\n name: 'ReservationStatus',\n source: `${config.module}.ReservationStatus`,\n title: '@reservation-management:reservation-statuses.entities.reservation-status.title',\n titlePlural: '@reservation-management:reservation-statuses.entities.reservation-status.plural',\n icon: 'fa-light fa-flag',\n },\n reservationClass: {\n name: 'ReservationClass',\n source: `${config.module}.ReservationClass`,\n title: '@reservation-management:reservation-classes.entities.reservation-class.title',\n titlePlural: '@reservation-management:reservation-classes.entities.reservation-class.plural',\n icon: 'fa-light fa-tag',\n },\n reservation: {\n name: 'Reservation',\n source: `${config.module}.Reservation`,\n title: '@reservation-management:reservations.entities.reservation.title',\n titlePlural: '@reservation-management:reservations.entities.reservation.plural',\n icon: 'fa-light fa-calendar-check',\n },\n reservationEvent: {\n name: 'ReservationEvent',\n source: `${config.module}.ReservationEvent`,\n title: '@reservation-management:reservation-events.entities.reservation-event.title',\n titlePlural: '@reservation-management:reservation-events.entities.reservation-event.plural',\n icon: 'fa-light fa-calendar-alt',\n },\n reservationHold: {\n name: 'ReservationHold',\n source: `${config.module}.ReservationHold`,\n title: '@reservation-management:reservation-holds.entities.reservation-hold.title',\n titlePlural: '@reservation-management:reservation-holds.entities.reservation-hold.plural',\n icon: 'fa-light fa-pause-circle',\n },\n reservationStatusTransition: {\n name: 'ReservationStatusTransition',\n source: `${config.module}.ReservationStatusTransition`,\n title: '@reservation-management:reservation-status-transitions.entities.reservation-status-transition.title',\n titlePlural: '@reservation-management:reservation-status-transitions.entities.reservation-status-transition.plural',\n icon: 'fa-light fa-right-left',\n },\n reservationResourceType: {\n name: 'ReservationResourceType',\n source: `${config.module}.ReservationResourceType`,\n title: '@reservation-management:reservation-resource-types.entities.reservation-resource-type.title',\n titlePlural: '@reservation-management:reservation-resource-types.entities.reservation-resource-type.plural',\n icon: 'fa-light fa-cube',\n },\n reservationClassStatus: {\n name: 'ReservationClassStatus',\n source: `${config.module}.ReservationClassStatus`,\n title: '@reservation-management:reservation-class-statuses.entities.reservation-class-status.title',\n titlePlural: '@reservation-management:reservation-class-statuses.entities.reservation-class-status.plural',\n icon: 'fa-light fa-circle-nodes',\n },\n reservationClassType: {\n name: 'ReservationClassType',\n source: `${config.module}.ReservationClassType`,\n title: '@reservation-management:reservation-class-types.entities.reservation-class-type.title',\n titlePlural: '@reservation-management:reservation-class-types.entities.reservation-class-type.plural',\n icon: 'fa-light fa-layer-group',\n },\n },\n pages: {\n reservationBoard: {\n path: 'reservation-board',\n title: '@reservation-management:reservation-board.page-title',\n icon: 'fa-light fa-calendar-lines',\n },\n },\n};\n\n//#endregion\n","import { AXPWidgetsCatalog } from '@acorex-platform/framework-shared/core';\nimport { AXPEntity, 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 reservationStatusTransitionFactory(): Promise<AXPEntity | null> {\n\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.reservationStatusTransition.name,\n title: RootConfig.entities.reservationStatusTransition.title,\n icon: RootConfig.entities.reservationStatusTransition.icon,\n formats: {\n individual: RootConfig.entities.reservationStatusTransition.title,\n plural: RootConfig.entities.reservationStatusTransition.titlePlural,\n searchResult: {\n title: '{{ title || (fromStatus?.title + \" → \" + toStatus?.title) }}',\n description: '{{ reservationClass?.title }}',\n },\n },\n groups: [\n {\n id: 'transition-details',\n title: '@reservation-management:reservation-status-transitions.entities.reservation-status-transition.groups.transition-details',\n },\n ],\n plugins : [ ] ,\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: 'reservationClassId',\n title: '@reservation-management:reservation-status-transitions.entities.reservation-status-transition.fields.reservation-class-id.title',\n groupId: 'transition-details',\n schema: {\n dataType: 'string',\n visible : false ,\n interface: {\n type: AXPWidgetsCatalog.lookup,\n options: {\n entity: `${RootConfig.module.name}.${RootConfig.entities.reservationClass.name}`,\n textField: 'title',\n valueField: 'id',\n columns: ['code', 'title'],\n expose: [\n { source: 'id', target: 'reservationClass.id' },\n { source: 'title', target: 'reservationClass.title' },\n { source: 'code', target: 'reservationClass.code' },\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: 'fromStatusId',\n title: '@reservation-management:reservation-status-transitions.entities.reservation-status-transition.fields.from-status-id.title',\n groupId: 'transition-details',\n schema: {\n dataType: 'object',\n interface: {\n type: AXPWidgetsCatalog.lookup,\n options: {\n entity: `${RootConfig.module.name}.${RootConfig.entities.reservationClassStatus.name}`,\n look: 'select',\n textField: 'title',\n valueField: 'id',\n columns: ['name', 'title', 'color'],\n expose: [\n { source: 'id', target: 'fromStatus.id' },\n { source: 'title', target: 'fromStatus.title' },\n { source: 'name', target: 'fromStatus.name' },\n ],\n filter: {\n logic: 'and',\n filters: [\n {\n field: 'reservationClassId',\n operator: { type: 'equal' },\n value: '{{ context.eval(\"reservationClassId.value\") }}',\n },\n ],\n },\n triggers: [\n {\n event: \"{{ events.context('reservationClassId') }}\",\n //action:\"{{console.log(context.eval('reservationClassId'))}}\"\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: 'toStatusId',\n title: '@reservation-management:reservation-status-transitions.entities.reservation-status-transition.fields.to-status-id.title',\n groupId: 'transition-details',\n schema: {\n dataType: 'object',\n interface: {\n type: AXPWidgetsCatalog.lookup,\n options: {\n entity: `${RootConfig.module.name}.${RootConfig.entities.reservationClassStatus.name}`,\n look: 'select',\n textField: 'title',\n valueField: 'id',\n columns: ['name', 'title' ],\n expose: [\n { source: 'id', target: 'toStatus.id' },\n { source: 'title', target: 'toStatus.title' },\n { source: 'name', target: 'toStatus.name' },\n ],\n filter: {\n logic: 'and',\n filters: [\n {\n field: 'reservationClassId',\n operator: { type: 'equal' },\n value: '{{ context.eval(\"reservationClassId.value\") }}',\n },\n ],\n },\n triggers: [\n {\n event: \"{{ events.context('reservationClassId') }}\",\n action:\"{{console.log(context.eval('reservationClassId'))}}\" //action: `{{ !context.eval('reservationClassId.value') ? widget.setValue(null) : 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 columns: [\n { name: 'fromStatusId', options: { dataPath: 'fromStatus.title' } },\n { name: 'toStatusId', options: { dataPath: 'toStatus.title' } },\n ],\n\n interfaces: {\n master: {\n create: {\n sections: [ { id: 'transition-details' }],\n properties: [\n { name: 'reservationClassId', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'fromStatusId', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'toStatusId', layout: { positions: { lg: { colSpan: 6 } } } },\n ],\n },\n update: {\n sections: [ { id: 'transition-details' }],\n properties: [\n { name: 'reservationClassId', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 6 } } } }, \n { name: 'fromStatusId', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'toStatusId', layout: { positions: { lg: { colSpan: 6 } } } },\n ],\n },\n single: {\n title: '{{ title || (fromStatus?.title + \" → \" + toStatus?.title) }}',\n sections: [ { id: 'transition-details' }],\n properties: [\n { name: 'reservationClassId', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 6 } } } }, \n { name: 'fromStatusId', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'toStatusId', layout: { positions: { lg: { colSpan: 6 } } } },\n ],\n actions: [...entityMasterRecordActions()],\n },\n list: {\n actions: [...entityMasterCrudActions()],\n views: [\n createAllQueryView({\n sorts: [\n { name: 'fromStatusId', dir: 'asc' },\n { name: 'toStatusId', dir: 'asc' },\n ],\n }),\n ],\n },\n },\n },\n };\n\n return entityDef;\n}\n\n//#endregion\n\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './entity-entry.reservation-status-transition';\n"],"names":[],"mappings":";;;AAAA;AAEA,MAAM,MAAM,GAAG;AACb,IAAA,IAAI,EAAE,wBAAwB;AAC9B,IAAA,MAAM,EAAE,uBAAuB;AAC/B,IAAA,KAAK,EAAE,wBAAwB;CAChC;AAEM,MAAM,UAAU,GAAG;IACxB,MAAM;AACN,IAAA,MAAM,EAAE;QACN,KAAK,EAAE,MAAM,CAAC,KAAK;QACnB,IAAI,EAAE,MAAM,CAAC,MAAM;AACnB,QAAA,KAAK,EAAE,sCAAsC;AAC7C,QAAA,IAAI,EAAE,4BAA4B;AACnC,KAAA;AACD,IAAA,QAAQ,EAAE;AACR,QAAA,eAAe,EAAE;AACf,YAAA,IAAI,EAAE,iBAAiB;AACvB,YAAA,MAAM,EAAE,CAAA,EAAG,MAAM,CAAC,MAAM,CAAA,gBAAA,CAAkB;AAC1C,YAAA,KAAK,EAAE,2EAA2E;AAClF,YAAA,WAAW,EAAE,4EAA4E;AACzF,YAAA,IAAI,EAAE,kBAAkB;AACzB,SAAA;AACD,QAAA,iBAAiB,EAAE;AACjB,YAAA,IAAI,EAAE,mBAAmB;AACzB,YAAA,MAAM,EAAE,CAAA,EAAG,MAAM,CAAC,MAAM,CAAA,kBAAA,CAAoB;AAC5C,YAAA,KAAK,EAAE,gFAAgF;AACvF,YAAA,WAAW,EAAE,iFAAiF;AAC9F,YAAA,IAAI,EAAE,kBAAkB;AACzB,SAAA;AACD,QAAA,gB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AA,OAAO,EAAE,CAAC,GAAG,uBAAuB,EAAE,CAAC;AACvC,oBAAA,KAAK,EAAE;AACL,wBAAA,kBAAkB,CAAC;AACjB,4BAAA,KAAK,EAAE;AACL,gCAAA,EAAE,IAAI,EAAE,cAAc,EAAE,GAAG,EAAE,KAAK,EAAE;AACpC,gCAAA,EAAE,IAAI,EAAE,YAAY,EAAE,GAAG,EAAE,KAAK,EAAE;AACnC,6BAAA;yBACF,CAAC;AACH,qBAAA;AACF,iBAAA;AACF,aAAA;AACF,SAAA;KACF;AAED,IAAA,OAAO,SAAS;AAClB;AAEA;;ACjNA;;AAEG;;"}
|
|
@@ -0,0 +1,250 @@
|
|
|
1
|
+
import { AXPWidgetsList, AXPWidgetsCatalog } from '@acorex-platform/framework-shared/core';
|
|
2
|
+
import { createAllQueryView, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';
|
|
3
|
+
|
|
4
|
+
//#region ---- Root Configuration ----
|
|
5
|
+
const config = {
|
|
6
|
+
i18n: 'reservation-management',
|
|
7
|
+
module: 'ReservationManagement',
|
|
8
|
+
route: 'reservation-management',
|
|
9
|
+
};
|
|
10
|
+
const RootConfig = {
|
|
11
|
+
config,
|
|
12
|
+
module: {
|
|
13
|
+
route: config.route,
|
|
14
|
+
name: config.module,
|
|
15
|
+
title: '@reservation-management:module.title',
|
|
16
|
+
icon: 'fa-light fa-calendar-check',
|
|
17
|
+
},
|
|
18
|
+
entities: {
|
|
19
|
+
reservationType: {
|
|
20
|
+
name: 'ReservationType',
|
|
21
|
+
source: `${config.module}.ReservationType`,
|
|
22
|
+
title: '@reservation-management:reservation-types.entities.reservation-type.title',
|
|
23
|
+
titlePlural: '@reservation-management:reservation-types.entities.reservation-type.plural',
|
|
24
|
+
icon: 'fa-light fa-list',
|
|
25
|
+
},
|
|
26
|
+
reservationStatus: {
|
|
27
|
+
name: 'ReservationStatus',
|
|
28
|
+
source: `${config.module}.ReservationStatus`,
|
|
29
|
+
title: '@reservation-management:reservation-statuses.entities.reservation-status.title',
|
|
30
|
+
titlePlural: '@reservation-management:reservation-statuses.entities.reservation-status.plural',
|
|
31
|
+
icon: 'fa-light fa-flag',
|
|
32
|
+
},
|
|
33
|
+
reservationClass: {
|
|
34
|
+
name: 'ReservationClass',
|
|
35
|
+
source: `${config.module}.ReservationClass`,
|
|
36
|
+
title: '@reservation-management:reservation-classes.entities.reservation-class.title',
|
|
37
|
+
titlePlural: '@reservation-management:reservation-classes.entities.reservation-class.plural',
|
|
38
|
+
icon: 'fa-light fa-tag',
|
|
39
|
+
},
|
|
40
|
+
reservation: {
|
|
41
|
+
name: 'Reservation',
|
|
42
|
+
source: `${config.module}.Reservation`,
|
|
43
|
+
title: '@reservation-management:reservations.entities.reservation.title',
|
|
44
|
+
titlePlural: '@reservation-management:reservations.entities.reservation.plural',
|
|
45
|
+
icon: 'fa-light fa-calendar-check',
|
|
46
|
+
},
|
|
47
|
+
reservationEvent: {
|
|
48
|
+
name: 'ReservationEvent',
|
|
49
|
+
source: `${config.module}.ReservationEvent`,
|
|
50
|
+
title: '@reservation-management:reservation-events.entities.reservation-event.title',
|
|
51
|
+
titlePlural: '@reservation-management:reservation-events.entities.reservation-event.plural',
|
|
52
|
+
icon: 'fa-light fa-calendar-alt',
|
|
53
|
+
},
|
|
54
|
+
reservationHold: {
|
|
55
|
+
name: 'ReservationHold',
|
|
56
|
+
source: `${config.module}.ReservationHold`,
|
|
57
|
+
title: '@reservation-management:reservation-holds.entities.reservation-hold.title',
|
|
58
|
+
titlePlural: '@reservation-management:reservation-holds.entities.reservation-hold.plural',
|
|
59
|
+
icon: 'fa-light fa-pause-circle',
|
|
60
|
+
},
|
|
61
|
+
reservationStatusTransition: {
|
|
62
|
+
name: 'ReservationStatusTransition',
|
|
63
|
+
source: `${config.module}.ReservationStatusTransition`,
|
|
64
|
+
title: '@reservation-management:reservation-status-transitions.entities.reservation-status-transition.title',
|
|
65
|
+
titlePlural: '@reservation-management:reservation-status-transitions.entities.reservation-status-transition.plural',
|
|
66
|
+
icon: 'fa-light fa-right-left',
|
|
67
|
+
},
|
|
68
|
+
reservationResourceType: {
|
|
69
|
+
name: 'ReservationResourceType',
|
|
70
|
+
source: `${config.module}.ReservationResourceType`,
|
|
71
|
+
title: '@reservation-management:reservation-resource-types.entities.reservation-resource-type.title',
|
|
72
|
+
titlePlural: '@reservation-management:reservation-resource-types.entities.reservation-resource-type.plural',
|
|
73
|
+
icon: 'fa-light fa-cube',
|
|
74
|
+
},
|
|
75
|
+
reservationClassStatus: {
|
|
76
|
+
name: 'ReservationClassStatus',
|
|
77
|
+
source: `${config.module}.ReservationClassStatus`,
|
|
78
|
+
title: '@reservation-management:reservation-class-statuses.entities.reservation-class-status.title',
|
|
79
|
+
titlePlural: '@reservation-management:reservation-class-statuses.entities.reservation-class-status.plural',
|
|
80
|
+
icon: 'fa-light fa-circle-nodes',
|
|
81
|
+
},
|
|
82
|
+
reservationClassType: {
|
|
83
|
+
name: 'ReservationClassType',
|
|
84
|
+
source: `${config.module}.ReservationClassType`,
|
|
85
|
+
title: '@reservation-management:reservation-class-types.entities.reservation-class-type.title',
|
|
86
|
+
titlePlural: '@reservation-management:reservation-class-types.entities.reservation-class-type.plural',
|
|
87
|
+
icon: 'fa-light fa-layer-group',
|
|
88
|
+
},
|
|
89
|
+
},
|
|
90
|
+
pages: {
|
|
91
|
+
reservationBoard: {
|
|
92
|
+
path: 'reservation-board',
|
|
93
|
+
title: '@reservation-management:reservation-board.page-title',
|
|
94
|
+
icon: 'fa-light fa-calendar-lines',
|
|
95
|
+
},
|
|
96
|
+
},
|
|
97
|
+
};
|
|
98
|
+
//#endregion
|
|
99
|
+
|
|
100
|
+
//#endregion
|
|
101
|
+
//#region ---- Entity Factory ----
|
|
102
|
+
async function reservationStatusFactory() {
|
|
103
|
+
const i18n = RootConfig.config.i18n;
|
|
104
|
+
const entityDef = {
|
|
105
|
+
module: RootConfig.module.name,
|
|
106
|
+
name: RootConfig.entities.reservationStatus.name,
|
|
107
|
+
title: RootConfig.entities.reservationStatus.title,
|
|
108
|
+
icon: RootConfig.entities.reservationStatus.icon,
|
|
109
|
+
formats: {
|
|
110
|
+
individual: RootConfig.entities.reservationStatus.title,
|
|
111
|
+
plural: RootConfig.entities.reservationStatus.titlePlural,
|
|
112
|
+
searchResult: {
|
|
113
|
+
title: '{{ title }}',
|
|
114
|
+
description: '{{ name }}',
|
|
115
|
+
},
|
|
116
|
+
},
|
|
117
|
+
groups: [
|
|
118
|
+
{
|
|
119
|
+
id: 'basic-information',
|
|
120
|
+
title: '@reservation-management:reservation-statuses.entities.reservation-status.groups.basic-information',
|
|
121
|
+
},
|
|
122
|
+
],
|
|
123
|
+
properties: [
|
|
124
|
+
{
|
|
125
|
+
name: 'id',
|
|
126
|
+
title: '@general:terms.common.id',
|
|
127
|
+
schema: { dataType: 'uuid', visible: false, nullable: false, readonly: true },
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
name: 'name',
|
|
131
|
+
title: '@reservation-management:reservation-statuses.entities.reservation-status.fields.name.title',
|
|
132
|
+
groupId: 'basic-information',
|
|
133
|
+
schema: {
|
|
134
|
+
dataType: 'string',
|
|
135
|
+
interface: {
|
|
136
|
+
type: AXPWidgetsList.Editors.TextBox,
|
|
137
|
+
options: {
|
|
138
|
+
placeholder: '@reservation-management:reservation-statuses.entities.reservation-status.fields.name.placeholder',
|
|
139
|
+
},
|
|
140
|
+
},
|
|
141
|
+
},
|
|
142
|
+
options: {
|
|
143
|
+
sort: { enabled: true },
|
|
144
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
145
|
+
},
|
|
146
|
+
validations: [{ rule: 'required' }],
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
name: 'title',
|
|
150
|
+
title: '@reservation-management:reservation-statuses.entities.reservation-status.fields.title.title',
|
|
151
|
+
groupId: 'basic-information',
|
|
152
|
+
schema: {
|
|
153
|
+
dataType: 'string',
|
|
154
|
+
interface: {
|
|
155
|
+
type: AXPWidgetsList.Editors.TextBox,
|
|
156
|
+
options: {
|
|
157
|
+
placeholder: '@reservation-management:reservation-statuses.entities.reservation-status.fields.title.placeholder',
|
|
158
|
+
},
|
|
159
|
+
},
|
|
160
|
+
},
|
|
161
|
+
options: {
|
|
162
|
+
sort: { enabled: true },
|
|
163
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
164
|
+
},
|
|
165
|
+
validations: [{ rule: 'required' }],
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
name: 'color',
|
|
169
|
+
title: '@reservation-management:reservation-statuses.entities.reservation-status.fields.color.title',
|
|
170
|
+
groupId: 'basic-information',
|
|
171
|
+
schema: {
|
|
172
|
+
dataType: 'string',
|
|
173
|
+
interface: {
|
|
174
|
+
type: AXPWidgetsList.Editors.ColorPalette,
|
|
175
|
+
options: {},
|
|
176
|
+
},
|
|
177
|
+
},
|
|
178
|
+
options: {
|
|
179
|
+
sort: { enabled: false },
|
|
180
|
+
filter: { advance: { enabled: true }, inline: { enabled: false } },
|
|
181
|
+
},
|
|
182
|
+
validations: [{ rule: 'required' }],
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
name: 'icon',
|
|
186
|
+
title: '@reservation-management:reservation-statuses.entities.reservation-status.fields.icon.title',
|
|
187
|
+
groupId: 'basic-information',
|
|
188
|
+
schema: {
|
|
189
|
+
dataType: 'string',
|
|
190
|
+
interface: {
|
|
191
|
+
type: AXPWidgetsCatalog.iconChooser,
|
|
192
|
+
},
|
|
193
|
+
},
|
|
194
|
+
},
|
|
195
|
+
],
|
|
196
|
+
columns: [{ name: 'name', options: { order: 1 } }, { name: 'title', options: { order: 2 } }, { name: 'color', options: { order: 3 } }, { name: 'icon', options: { order: 4 } }],
|
|
197
|
+
interfaces: {
|
|
198
|
+
master: {
|
|
199
|
+
create: {
|
|
200
|
+
sections: [{ id: 'basic-information' }],
|
|
201
|
+
properties: [
|
|
202
|
+
{ name: 'code', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
203
|
+
{ name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
204
|
+
{ name: 'color', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
205
|
+
{ name: 'icon', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
206
|
+
],
|
|
207
|
+
},
|
|
208
|
+
update: {
|
|
209
|
+
sections: [{ id: 'basic-information' }],
|
|
210
|
+
properties: [
|
|
211
|
+
{ name: 'code', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
212
|
+
{ name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
213
|
+
{ name: 'color', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
214
|
+
{ name: 'icon', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
215
|
+
],
|
|
216
|
+
},
|
|
217
|
+
single: {
|
|
218
|
+
title: '{{ title }}',
|
|
219
|
+
sections: [{ id: 'basic-information' }],
|
|
220
|
+
properties: [
|
|
221
|
+
{ name: 'name', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
222
|
+
{ name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
223
|
+
{ name: 'color', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
224
|
+
{ name: 'icon', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
225
|
+
],
|
|
226
|
+
actions: [...entityMasterRecordActions()],
|
|
227
|
+
},
|
|
228
|
+
list: {
|
|
229
|
+
actions: [...entityMasterCrudActions({ create: false, delete: false })],
|
|
230
|
+
views: [
|
|
231
|
+
createAllQueryView({
|
|
232
|
+
sorts: [
|
|
233
|
+
{ name: 'name', dir: 'asc' },
|
|
234
|
+
],
|
|
235
|
+
}),
|
|
236
|
+
],
|
|
237
|
+
},
|
|
238
|
+
},
|
|
239
|
+
},
|
|
240
|
+
};
|
|
241
|
+
return entityDef;
|
|
242
|
+
}
|
|
243
|
+
//#endregion
|
|
244
|
+
|
|
245
|
+
/**
|
|
246
|
+
* Generated bundle index. Do not edit.
|
|
247
|
+
*/
|
|
248
|
+
|
|
249
|
+
export { reservationStatusFactory };
|
|
250
|
+
//# sourceMappingURL=acorex-platform-module-reservation-management-client-contracts-entities-reservation-status.mjs.map
|