@acorex-platform/module-reservation-management-client 0.0.32 → 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.
- 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-C0xNOaEL.mjs +125 -0
- 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
- package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entity-catalog-reservation-class-status.entity-B9O13iXo.mjs +223 -0
- package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entity-catalog-reservation-class-status.entity-B9O13iXo.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entity-catalog-reservation-class.entity-BzQdba-o.mjs +197 -0
- package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entity-catalog-reservation-class.entity-BzQdba-o.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entity-catalog-reservation-event.entity-DcyBMFnq.mjs +242 -0
- package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entity-catalog-reservation-event.entity-DcyBMFnq.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entity-catalog-reservation-resource-type.entity-A2sVNQ7U.mjs +146 -0
- package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entity-catalog-reservation-resource-type.entity-A2sVNQ7U.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entity-catalog-reservation-status-transition.entity-CkzevvFk.mjs +206 -0
- package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entity-catalog-reservation-status-transition.entity-CkzevvFk.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entity-catalog-reservation-status.entity-xwHV_Iox.mjs +151 -0
- package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entity-catalog-reservation-status.entity-xwHV_Iox.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entity-catalog-reservation-type.entity-C7dA0pmR.mjs +143 -0
- package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entity-catalog-reservation-type.entity-C7dA0pmR.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entity-catalog-reservation.entity-BGyEKYTi.mjs +392 -0
- package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entity-catalog-reservation.entity-BGyEKYTi.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-local-entities.mjs +36 -0
- package/fesm2022/acorex-platform-module-reservation-management-client-local-entities.mjs.map +1 -0
- 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-local-entities.d.ts +12 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-reservation-management-client-contracts-entity-catalog-reservation-status-transition.entity-CkzevvFk.mjs","sources":["../../../../libs/modules/reservation-management/contracts/src/entities/reservation-status-transition/reservation-status-transition.entity.ts"],"sourcesContent":["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"],"names":[],"mappings":";;;;AAKA;AAEA;AAEO,eAAe,kCAAkC,GAAA;AAEtD,IAAA,MAAM,SAAS,GAAc;AAC3B,QAAA,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC9B,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,2BAA2B,CAAC,IAAI;AAC1D,QAAA,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC,2BAA2B,CAAC,KAAK;AAC5D,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,2BAA2B,CAAC,IAAI;AAC1D,QAAA,OAAO,EAAE;AACP,YAAA,UAAU,EAAE,UAAU,CAAC,QAAQ,CAA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,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;;;;"}
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
import { AXPWidgetsList, 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 reservationStatusFactory() {
|
|
8
|
+
const i18n = RootConfig.config.i18n;
|
|
9
|
+
const entityDef = {
|
|
10
|
+
module: RootConfig.module.name,
|
|
11
|
+
name: RootConfig.entities.reservationStatus.name,
|
|
12
|
+
title: RootConfig.entities.reservationStatus.title,
|
|
13
|
+
icon: RootConfig.entities.reservationStatus.icon,
|
|
14
|
+
formats: {
|
|
15
|
+
individual: RootConfig.entities.reservationStatus.title,
|
|
16
|
+
plural: RootConfig.entities.reservationStatus.titlePlural,
|
|
17
|
+
searchResult: {
|
|
18
|
+
title: '{{ title }}',
|
|
19
|
+
description: '{{ name }}',
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
groups: [
|
|
23
|
+
{
|
|
24
|
+
id: 'basic-information',
|
|
25
|
+
title: '@reservation-management:reservation-statuses.entities.reservation-status.groups.basic-information',
|
|
26
|
+
},
|
|
27
|
+
],
|
|
28
|
+
properties: [
|
|
29
|
+
{
|
|
30
|
+
name: 'id',
|
|
31
|
+
title: '@general:terms.common.id',
|
|
32
|
+
schema: { dataType: 'uuid', visible: false, nullable: false, readonly: true },
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
name: 'name',
|
|
36
|
+
title: '@reservation-management:reservation-statuses.entities.reservation-status.fields.name.title',
|
|
37
|
+
groupId: 'basic-information',
|
|
38
|
+
schema: {
|
|
39
|
+
dataType: 'string',
|
|
40
|
+
interface: {
|
|
41
|
+
type: AXPWidgetsList.Editors.TextBox,
|
|
42
|
+
options: {
|
|
43
|
+
placeholder: '@reservation-management:reservation-statuses.entities.reservation-status.fields.name.placeholder',
|
|
44
|
+
},
|
|
45
|
+
},
|
|
46
|
+
},
|
|
47
|
+
options: {
|
|
48
|
+
sort: { enabled: true },
|
|
49
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
50
|
+
},
|
|
51
|
+
validations: [{ rule: 'required' }],
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
name: 'title',
|
|
55
|
+
title: '@reservation-management:reservation-statuses.entities.reservation-status.fields.title.title',
|
|
56
|
+
groupId: 'basic-information',
|
|
57
|
+
schema: {
|
|
58
|
+
dataType: 'string',
|
|
59
|
+
interface: {
|
|
60
|
+
type: AXPWidgetsList.Editors.TextBox,
|
|
61
|
+
options: {
|
|
62
|
+
placeholder: '@reservation-management:reservation-statuses.entities.reservation-status.fields.title.placeholder',
|
|
63
|
+
},
|
|
64
|
+
},
|
|
65
|
+
},
|
|
66
|
+
options: {
|
|
67
|
+
sort: { enabled: true },
|
|
68
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
69
|
+
},
|
|
70
|
+
validations: [{ rule: 'required' }],
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
name: 'color',
|
|
74
|
+
title: '@reservation-management:reservation-statuses.entities.reservation-status.fields.color.title',
|
|
75
|
+
groupId: 'basic-information',
|
|
76
|
+
schema: {
|
|
77
|
+
dataType: 'string',
|
|
78
|
+
interface: {
|
|
79
|
+
type: AXPWidgetsList.Editors.ColorPalette,
|
|
80
|
+
options: {},
|
|
81
|
+
},
|
|
82
|
+
},
|
|
83
|
+
options: {
|
|
84
|
+
sort: { enabled: false },
|
|
85
|
+
filter: { advance: { enabled: true }, inline: { enabled: false } },
|
|
86
|
+
},
|
|
87
|
+
validations: [{ rule: 'required' }],
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
name: 'icon',
|
|
91
|
+
title: '@reservation-management:reservation-statuses.entities.reservation-status.fields.icon.title',
|
|
92
|
+
groupId: 'basic-information',
|
|
93
|
+
schema: {
|
|
94
|
+
dataType: 'string',
|
|
95
|
+
interface: {
|
|
96
|
+
type: AXPWidgetsCatalog.iconChooser,
|
|
97
|
+
},
|
|
98
|
+
},
|
|
99
|
+
},
|
|
100
|
+
],
|
|
101
|
+
columns: [{ name: 'name', options: { order: 1 } }, { name: 'title', options: { order: 2 } }, { name: 'color', options: { order: 3 } }, { name: 'icon', options: { order: 4 } }],
|
|
102
|
+
interfaces: {
|
|
103
|
+
master: {
|
|
104
|
+
create: {
|
|
105
|
+
sections: [{ id: 'basic-information' }],
|
|
106
|
+
properties: [
|
|
107
|
+
{ name: 'code', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
108
|
+
{ name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
109
|
+
{ name: 'color', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
110
|
+
{ name: 'icon', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
111
|
+
],
|
|
112
|
+
},
|
|
113
|
+
update: {
|
|
114
|
+
sections: [{ id: 'basic-information' }],
|
|
115
|
+
properties: [
|
|
116
|
+
{ name: 'code', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
117
|
+
{ name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
118
|
+
{ name: 'color', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
119
|
+
{ name: 'icon', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
120
|
+
],
|
|
121
|
+
},
|
|
122
|
+
single: {
|
|
123
|
+
title: '{{ title }}',
|
|
124
|
+
sections: [{ id: 'basic-information' }],
|
|
125
|
+
properties: [
|
|
126
|
+
{ name: 'name', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
127
|
+
{ name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
128
|
+
{ name: 'color', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
129
|
+
{ name: 'icon', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
130
|
+
],
|
|
131
|
+
actions: [...entityMasterRecordActions()],
|
|
132
|
+
},
|
|
133
|
+
list: {
|
|
134
|
+
actions: [...entityMasterCrudActions({ create: false, delete: false })],
|
|
135
|
+
views: [
|
|
136
|
+
createAllQueryView({
|
|
137
|
+
sorts: [
|
|
138
|
+
{ name: 'name', dir: 'asc' },
|
|
139
|
+
],
|
|
140
|
+
}),
|
|
141
|
+
],
|
|
142
|
+
},
|
|
143
|
+
},
|
|
144
|
+
},
|
|
145
|
+
};
|
|
146
|
+
return entityDef;
|
|
147
|
+
}
|
|
148
|
+
//#endregion
|
|
149
|
+
|
|
150
|
+
export { reservationStatusFactory };
|
|
151
|
+
//# sourceMappingURL=acorex-platform-module-reservation-management-client-contracts-entity-catalog-reservation-status.entity-xwHV_Iox.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-reservation-management-client-contracts-entity-catalog-reservation-status.entity-xwHV_Iox.mjs","sources":["../../../../libs/modules/reservation-management/contracts/src/entities/reservation-status/reservation-status.entity.ts"],"sourcesContent":["import { AXPWidgetsCatalog, AXPWidgetsList } 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//#endregion\n\n//#region ---- Entity Factory ----\n\nexport async function reservationStatusFactory(): Promise<AXPEntity | null> {\n const i18n = RootConfig.config.i18n;\n\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.reservationStatus.name,\n title: RootConfig.entities.reservationStatus.title,\n icon: RootConfig.entities.reservationStatus.icon,\n formats: {\n individual: RootConfig.entities.reservationStatus.title,\n plural: RootConfig.entities.reservationStatus.titlePlural,\n searchResult: {\n title: '{{ title }}',\n description: '{{ name }}',\n },\n },\n groups: [\n {\n id: 'basic-information',\n title: '@reservation-management:reservation-statuses.entities.reservation-status.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 },\n },\n {\n name: 'name',\n title: '@reservation-management:reservation-statuses.entities.reservation-status.fields.name.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-statuses.entities.reservation-status.fields.name.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: 'title',\n title: '@reservation-management:reservation-statuses.entities.reservation-status.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-statuses.entities.reservation-status.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: 'color',\n title: '@reservation-management:reservation-statuses.entities.reservation-status.fields.color.title',\n groupId: 'basic-information',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.ColorPalette,\n options: {},\n },\n },\n options: {\n sort: { enabled: false },\n filter: { advance: { enabled: true }, inline: { enabled: false } },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'icon',\n title: '@reservation-management:reservation-statuses.entities.reservation-status.fields.icon.title',\n groupId: 'basic-information',\n schema: { \n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.iconChooser,\n }, \n },\n },\n ],\n columns: [{ name: 'name' , options:{order: 1} }, { name: 'title' , options:{order: 2} }, { name: 'color' , options:{order: 3} }, { name: 'icon' , options:{order: 4} }],\n\n interfaces: {\n master: {\n create: {\n sections: [{ id: 'basic-information' }],\n properties: [\n { name: 'code', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'color', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'icon', layout: { positions: { lg: { colSpan: 6 } } } },\n ],\n },\n update: {\n sections: [{ id: 'basic-information' }],\n properties: [\n { name: 'code', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'color', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'icon', layout: { positions: { lg: { colSpan: 6 } } } },\n ],\n },\n single: {\n title: '{{ title }}',\n sections: [{ id: 'basic-information' }],\n properties: [\n { name: 'name', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'color', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'icon', layout: { positions: { lg: { colSpan: 6 } } } },\n ],\n actions: [...entityMasterRecordActions()],\n },\n list: {\n actions: [...entityMasterCrudActions( {create:false , delete:false})],\n views: [\n createAllQueryView({\n sorts: [\n { name: 'name', dir: 'asc' },\n ],\n }),\n ],\n },\n },\n },\n };\n\n return entityDef;\n}\n\n//#endregion\n"],"names":[],"mappings":";;;;AAIA;AAEA;AAEO,eAAe,wBAAwB,GAAA;AAC5C,IAAA,MAAM,IAAI,GAAG,UAAU,CAAC,MAAM,CAAC,IAAI;AAEnC,IAAA,MAAM,SAAS,GAAc;AAC3B,QAA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|
2
|
+
import { createAllQueryView, AXPEntityCommandScope, 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 reservationTypeFactory() {
|
|
8
|
+
const i18n = RootConfig.config.i18n;
|
|
9
|
+
const entityDef = {
|
|
10
|
+
module: RootConfig.module.name,
|
|
11
|
+
name: RootConfig.entities.reservationType.name,
|
|
12
|
+
title: RootConfig.entities.reservationType.title,
|
|
13
|
+
icon: RootConfig.entities.reservationType.icon,
|
|
14
|
+
plugins: [{ name: 'archive' }],
|
|
15
|
+
formats: {
|
|
16
|
+
individual: RootConfig.entities.reservationType.title,
|
|
17
|
+
plural: RootConfig.entities.reservationType.titlePlural,
|
|
18
|
+
searchResult: {
|
|
19
|
+
title: '{{ title }}',
|
|
20
|
+
description: '{{ name }}',
|
|
21
|
+
},
|
|
22
|
+
},
|
|
23
|
+
groups: [
|
|
24
|
+
{
|
|
25
|
+
id: 'basic-information',
|
|
26
|
+
title: '@reservation-management:reservation-types.entities.reservation-type.groups.basic-information',
|
|
27
|
+
},
|
|
28
|
+
],
|
|
29
|
+
properties: [
|
|
30
|
+
{
|
|
31
|
+
name: 'id',
|
|
32
|
+
title: '@general:terms.common.id',
|
|
33
|
+
schema: { dataType: 'uuid', visible: false, nullable: false, readonly: true, unique: { enabled: true } },
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
name: 'name',
|
|
37
|
+
title: '@reservation-management:reservation-types.entities.reservation-type.fields.name.title',
|
|
38
|
+
groupId: 'basic-information',
|
|
39
|
+
schema: {
|
|
40
|
+
dataType: 'string',
|
|
41
|
+
interface: {
|
|
42
|
+
type: AXPWidgetsList.Editors.TextBox,
|
|
43
|
+
options: {
|
|
44
|
+
placeholder: '@reservation-management:reservation-types.entities.reservation-type.fields.name.placeholder',
|
|
45
|
+
},
|
|
46
|
+
},
|
|
47
|
+
},
|
|
48
|
+
options: {
|
|
49
|
+
sort: { enabled: true },
|
|
50
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
51
|
+
},
|
|
52
|
+
validations: [{ rule: 'required' }],
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
name: 'title',
|
|
56
|
+
title: '@reservation-management:reservation-types.entities.reservation-type.fields.title.title',
|
|
57
|
+
groupId: 'basic-information',
|
|
58
|
+
schema: {
|
|
59
|
+
dataType: 'string',
|
|
60
|
+
interface: {
|
|
61
|
+
type: AXPWidgetsList.Editors.TextBox,
|
|
62
|
+
options: {
|
|
63
|
+
placeholder: '@reservation-management:reservation-types.entities.reservation-type.fields.title.placeholder',
|
|
64
|
+
},
|
|
65
|
+
},
|
|
66
|
+
},
|
|
67
|
+
options: {
|
|
68
|
+
sort: { enabled: true },
|
|
69
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
70
|
+
},
|
|
71
|
+
validations: [{ rule: 'required' }],
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
name: 'isBlocking',
|
|
75
|
+
title: '@reservation-management:reservation-types.entities.reservation-type.fields.is-blocking.title',
|
|
76
|
+
groupId: 'basic-information',
|
|
77
|
+
schema: {
|
|
78
|
+
dataType: 'boolean',
|
|
79
|
+
interface: {
|
|
80
|
+
type: AXPWidgetsCatalog.toggle,
|
|
81
|
+
},
|
|
82
|
+
},
|
|
83
|
+
options: {
|
|
84
|
+
sort: { enabled: false },
|
|
85
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
86
|
+
},
|
|
87
|
+
},
|
|
88
|
+
],
|
|
89
|
+
columns: [{ name: 'name', options: { order: 1 } }, { name: 'title', options: { order: 2 } }, { name: 'resourceEntityIds', options: { order: 3 } }, { name: 'isBlocking', options: { order: 4 } }],
|
|
90
|
+
interfaces: {
|
|
91
|
+
master: {
|
|
92
|
+
create: {
|
|
93
|
+
sections: [{ id: 'basic-information' }],
|
|
94
|
+
properties: [
|
|
95
|
+
{ name: 'name', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
96
|
+
{ name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
97
|
+
{ name: 'isBlocking', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
98
|
+
],
|
|
99
|
+
},
|
|
100
|
+
update: {
|
|
101
|
+
sections: [{ id: 'basic-information' }],
|
|
102
|
+
properties: [
|
|
103
|
+
{ name: 'name', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
104
|
+
{ name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
105
|
+
{ name: 'isBlocking', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
106
|
+
],
|
|
107
|
+
},
|
|
108
|
+
single: {
|
|
109
|
+
title: '{{ title }}',
|
|
110
|
+
sections: [{ id: 'basic-information' }],
|
|
111
|
+
properties: [
|
|
112
|
+
{ name: 'name', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
113
|
+
{ name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
114
|
+
{ name: 'isBlocking', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
115
|
+
],
|
|
116
|
+
actions: [...entityMasterRecordActions()],
|
|
117
|
+
},
|
|
118
|
+
list: {
|
|
119
|
+
actions: [
|
|
120
|
+
...entityMasterCrudActions(),
|
|
121
|
+
{
|
|
122
|
+
title: '@general:actions.archive.title',
|
|
123
|
+
command: 'archive-entity',
|
|
124
|
+
priority: 'secondary',
|
|
125
|
+
type: AXPSystemActionType.Archive,
|
|
126
|
+
scope: AXPEntityCommandScope.Individual,
|
|
127
|
+
},
|
|
128
|
+
],
|
|
129
|
+
views: [
|
|
130
|
+
createAllQueryView({
|
|
131
|
+
sorts: [{ name: 'name', dir: 'asc' }],
|
|
132
|
+
}),
|
|
133
|
+
],
|
|
134
|
+
},
|
|
135
|
+
},
|
|
136
|
+
},
|
|
137
|
+
};
|
|
138
|
+
return entityDef;
|
|
139
|
+
}
|
|
140
|
+
//#endregion
|
|
141
|
+
|
|
142
|
+
export { reservationTypeFactory };
|
|
143
|
+
//# sourceMappingURL=acorex-platform-module-reservation-management-client-contracts-entity-catalog-reservation-type.entity-C7dA0pmR.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-reservation-management-client-contracts-entity-catalog-reservation-type.entity-C7dA0pmR.mjs","sources":["../../../../libs/modules/reservation-management/contracts/src/entities/reservation-type/reservation-type.entity.ts"],"sourcesContent":["import { AXPSystemActionType, AXPWidgetsCatalog, AXPWidgetsList } 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 reservationTypeFactory(): Promise<AXPEntity | null> {\n const i18n = RootConfig.config.i18n;\n\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.reservationType.name,\n title: RootConfig.entities.reservationType.title,\n icon: RootConfig.entities.reservationType.icon,\n plugins: [{ name: 'archive' }],\n formats: {\n individual: RootConfig.entities.reservationType.title,\n plural: RootConfig.entities.reservationType.titlePlural,\n searchResult: {\n title: '{{ title }}',\n description: '{{ name }}',\n },\n },\n groups: [\n {\n id: 'basic-information',\n title: '@reservation-management:reservation-types.entities.reservation-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: 'name',\n title: '@reservation-management:reservation-types.entities.reservation-type.fields.name.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-types.entities.reservation-type.fields.name.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: 'title',\n title: '@reservation-management:reservation-types.entities.reservation-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-types.entities.reservation-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: 'isBlocking',\n title: '@reservation-management:reservation-types.entities.reservation-type.fields.is-blocking.title',\n groupId: 'basic-information',\n schema: {\n dataType: 'boolean',\n interface: {\n type: AXPWidgetsCatalog.toggle,\n },\n },\n options: {\n sort: { enabled: false },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n },\n ],\n columns: [{ name: 'name' , options:{order: 1 }}, { name: 'title' , options:{order: 2 }}, { name: 'resourceEntityIds', options:{order: 3} },{ name: 'isBlocking' , options:{order: 4}}],\n\n interfaces: {\n master: {\n create: {\n sections: [{ id: 'basic-information' }],\n properties: [\n { name: 'name', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'isBlocking', layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n },\n update: {\n sections: [{ id: 'basic-information' }],\n properties: [\n { name: 'name', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'isBlocking', layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n },\n single: {\n title: '{{ title }}',\n sections: [{ id: 'basic-information' }],\n properties: [\n { name: 'name', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'isBlocking', layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n actions: [...entityMasterRecordActions()],\n },\n list: {\n actions: [\n ...entityMasterCrudActions(),\n {\n title: '@general:actions.archive.title',\n command: 'archive-entity',\n priority: 'secondary',\n type: AXPSystemActionType.Archive,\n scope: AXPEntityCommandScope.Individual,\n },\n ],\n views: [\n createAllQueryView({\n sorts: [{ name: 'name', dir: 'asc' }],\n }),\n ],\n },\n },\n },\n };\n\n return entityDef;\n}\n\n//#endregion\n"],"names":[],"mappings":";;;;AAKA;AAEA;AAEO,eAAe,sBAAsB,GAAA;AAC1C,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,eAAe,CAAC,IAAI;AAC9C,QAAA,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC,eAAe,CAAC,KAAK;AAChD,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,eAAe,CAAC,IAAI;AAC9C,QAAA,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;AAC9B,QAAA,OAAO,EAAE;AACP,YAAA,UAAU,EAAE,UAAU,CAAC,QAAQ,CAAC,eAAe,CAAC,KAAK;AACrD,YAAA,MAAM,EAAE,UAAU,CAAC,QAAQ,CAAC,eAAe,CAAC,WAAW;AACvD,YAAA,YAAY,EAAE;AACZ,gBAAA,KAAK,EAAE,aAAa;AACpB,gBAAA,WAAW,EAAE,YAAY;AAC1B,aAAA;AACF,SAAA;AACD,QAAA,MAAM,EAAE;AACN,YAAA;AACE,gBAAA,EAAE,EAAE,mBAAmB;AACvB,gBAAA,KAAK,EAAE,8FAA8F;AACtG,aAAA;AACF,SAAA;AACD,QAAA,UAAU,EAAE;AACV,YAAA;AACE,gBAAA,IAAI,EAAE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