@acorex-platform/module-person-core-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.
- package/fesm2022/acorex-platform-module-person-core-client-contracts-entities-contact-assignment.mjs +229 -0
- package/fesm2022/acorex-platform-module-person-core-client-contracts-entities-contact-assignment.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-person-core-client-contracts-entities-contact-role.mjs +215 -0
- package/fesm2022/acorex-platform-module-person-core-client-contracts-entities-contact-role.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-person-core-client-contracts-entities-education-level.mjs +197 -0
- package/fesm2022/acorex-platform-module-person-core-client-contracts-entities-education-level.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-person-core-client-contracts-entities-gender.mjs +197 -0
- package/fesm2022/acorex-platform-module-person-core-client-contracts-entities-gender.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-person-core-client-contracts-entities-marital-status.mjs +197 -0
- package/fesm2022/acorex-platform-module-person-core-client-contracts-entities-marital-status.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-person-core-client-contracts-entities-person-identifier-type.mjs +267 -0
- package/fesm2022/acorex-platform-module-person-core-client-contracts-entities-person-identifier-type.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-person-core-client-contracts-entities-person-relationship.mjs +231 -0
- package/fesm2022/acorex-platform-module-person-core-client-contracts-entities-person-relationship.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-person-core-client-contracts-entities-person-title.mjs +197 -0
- package/fesm2022/acorex-platform-module-person-core-client-contracts-entities-person-title.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-person-core-client-contracts-entities-person.mjs +567 -0
- package/fesm2022/acorex-platform-module-person-core-client-contracts-entities-person.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-person-core-client-contracts-entities-religion.mjs +197 -0
- package/fesm2022/acorex-platform-module-person-core-client-contracts-entities-religion.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-person-core-client-contracts-entity-catalog-acorex-platform-module-person-core-client-contracts-entity-catalog-CJmzbjJI.mjs +106 -0
- package/fesm2022/acorex-platform-module-person-core-client-contracts-entity-catalog-acorex-platform-module-person-core-client-contracts-entity-catalog-CJmzbjJI.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-person-core-client-contracts-entity-catalog-contact-assignment.entity-BtVczZ89.mjs +151 -0
- package/fesm2022/acorex-platform-module-person-core-client-contracts-entity-catalog-contact-assignment.entity-BtVczZ89.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-person-core-client-contracts-entity-catalog-contact-role.entity-uqPhUsRm.mjs +137 -0
- package/fesm2022/acorex-platform-module-person-core-client-contracts-entity-catalog-contact-role.entity-uqPhUsRm.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-person-core-client-contracts-entity-catalog-education-level.entity-C1pz4Bh2.mjs +119 -0
- package/fesm2022/acorex-platform-module-person-core-client-contracts-entity-catalog-education-level.entity-C1pz4Bh2.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-person-core-client-contracts-entity-catalog-gender.entity-BaoSo66c.mjs +119 -0
- package/fesm2022/acorex-platform-module-person-core-client-contracts-entity-catalog-gender.entity-BaoSo66c.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-person-core-client-contracts-entity-catalog-marital-status.entity-NdZ6U6Ue.mjs +119 -0
- package/fesm2022/acorex-platform-module-person-core-client-contracts-entity-catalog-marital-status.entity-NdZ6U6Ue.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-person-core-client-contracts-entity-catalog-person-identifier-type.entity-D_XVLaZw.mjs +189 -0
- package/fesm2022/acorex-platform-module-person-core-client-contracts-entity-catalog-person-identifier-type.entity-D_XVLaZw.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-person-core-client-contracts-entity-catalog-person-relationship.entity-Bt_Y9UTE.mjs +153 -0
- package/fesm2022/acorex-platform-module-person-core-client-contracts-entity-catalog-person-relationship.entity-Bt_Y9UTE.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-person-core-client-contracts-entity-catalog-person-title.entity-B5jB67Eh.mjs +119 -0
- package/fesm2022/acorex-platform-module-person-core-client-contracts-entity-catalog-person-title.entity-B5jB67Eh.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-person-core-client-contracts-entity-catalog-person.entity-Bx2b-wa4.mjs +489 -0
- package/fesm2022/acorex-platform-module-person-core-client-contracts-entity-catalog-person.entity-Bx2b-wa4.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-person-core-client-contracts-entity-catalog-religion.entity-BUHOGYxG.mjs +119 -0
- package/fesm2022/acorex-platform-module-person-core-client-contracts-entity-catalog-religion.entity-BUHOGYxG.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-person-core-client-contracts-entity-catalog.mjs +2 -0
- package/fesm2022/acorex-platform-module-person-core-client-contracts-entity-catalog.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-person-core-client-contracts.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-person-core-client-local-entities.mjs +38 -0
- package/fesm2022/acorex-platform-module-person-core-client-local-entities.mjs.map +1 -0
- package/package.json +50 -1
- package/types/acorex-platform-module-person-core-client-contracts-entities-contact-assignment.d.ts +5 -0
- package/types/acorex-platform-module-person-core-client-contracts-entities-contact-role.d.ts +5 -0
- package/types/acorex-platform-module-person-core-client-contracts-entities-education-level.d.ts +5 -0
- package/types/acorex-platform-module-person-core-client-contracts-entities-gender.d.ts +5 -0
- package/types/acorex-platform-module-person-core-client-contracts-entities-marital-status.d.ts +5 -0
- package/types/acorex-platform-module-person-core-client-contracts-entities-person-identifier-type.d.ts +5 -0
- package/types/acorex-platform-module-person-core-client-contracts-entities-person-relationship.d.ts +5 -0
- package/types/acorex-platform-module-person-core-client-contracts-entities-person-title.d.ts +5 -0
- package/types/acorex-platform-module-person-core-client-contracts-entities-person.d.ts +5 -0
- package/types/acorex-platform-module-person-core-client-contracts-entities-religion.d.ts +5 -0
- package/types/acorex-platform-module-person-core-client-contracts-entity-catalog.d.ts +10 -0
- package/types/acorex-platform-module-person-core-client-contracts.d.ts +3 -3
- package/types/acorex-platform-module-person-core-client-local-entities.d.ts +12 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-person-core-client-contracts-entity-catalog-contact-assignment.entity-BtVczZ89.mjs","sources":["../../../../libs/modules/person-core/contracts/src/entities/contact-assignment/contact-assignment.entity.ts"],"sourcesContent":["import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport {\n AXPEntity,\n createAllQueryView,\n entityMasterCrudActions,\n entityMasterRecordActions,\n} from '@acorex-platform/framework-shared/entity';\n\n//#region ---- Imports ----\n\nimport { RootConfig } from '../../root-config';\n\n//#endregion\n\n//#region ---- Entity Factory ----\n\nexport async function contactAssignmentFactory(): Promise<AXPEntity> {\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.contactAssignment.name,\n title: RootConfig.entities.contactAssignment.title,\n icon: RootConfig.entities.contactAssignment.icon,\n formats: {\n individual: RootConfig.entities.contactAssignment.title,\n plural: RootConfig.entities.contactAssignment.titlePlural,\n searchResult: {\n title: '{{ context.eval(\"person.fullName\") + \" (\" + context.eval(\"role.title\", { pipes: [\"translate\"] }) + \")\" }}',\n description: '@person-core:contact-assignments.entities.contact-assignment.search-result-description',\n },\n },\n plugins: [{ name: 'notes' }],\n groups: [{ id: 'basic-info', title: '@general:terms.interface.basic-info' }],\n properties: [\n {\n name: 'partyId',\n title: '@person-core:contact-assignments.entities.contact-assignment.fields.party.title',\n groupId: 'basic-info',\n options: { sort: { enabled: true }, filter: { advance: { enabled: true }, inline: { enabled: true } } },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: 'BusinessCore.Party',\n multiple: false,\n textField: 'title',\n columns: ['title'],\n expose: [\n { source: 'id', target: 'party.id' },\n { source: 'title', target: 'party.title' },\n ],\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'personId',\n title: '@person-core:contact-assignments.entities.contact-assignment.fields.person.title',\n groupId: 'basic-info',\n options: { sort: { enabled: true }, filter: { advance: { enabled: true }, inline: { enabled: true } } },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: `${RootConfig.module.name}.${RootConfig.entities.person.name}`,\n multiple: false,\n textField: 'fullName',\n columns: ['fullName', 'phones', 'emails'],\n allowCreate: 'quick',\n expose: [\n { source: 'id', target: 'person.id' },\n { source: 'fullName', target: 'person.fullName' },\n { source: 'phones', target: 'person.phones' },\n { source: 'emails', target: 'person.emails' },\n ],\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'roleId',\n title: '@person-core:contact-assignments.entities.contact-assignment.fields.role.title',\n groupId: 'basic-info',\n options: { sort: { enabled: true }, filter: { advance: { enabled: true }, inline: { enabled: true } } },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n look: 'select',\n entity: `${RootConfig.module.name}.${RootConfig.entities.contactRole.name}`,\n multiple: false,\n allowCreate: 'quick',\n expose: [\n { source: 'id', target: 'role.id' },\n { source: 'title', target: 'role.title' },\n ],\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n ],\n columns: [\n { name: 'personId', title: '@general:terms.people.contact', options: { dataPath: 'person.fullName' } },\n {\n name: 'roleId',\n title: '@person-core:contact-assignments.entities.contact-assignment.fields.role.title',\n options: { dataPath: 'role.title' },\n },\n { name: 'person.phones', title: '@general:terms.communication.phones', options: { width: '200px' } },\n { name: 'person.emails', title: '@general:terms.communication.emails', options: { width: '200px' } },\n ],\n interfaces: {\n master: {\n create: {\n sections: [{ id: 'basic-info' }],\n properties: [\n { name: 'partyId', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },\n { name: 'personId', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'roleId', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },\n ],\n },\n update: {\n sections: [{ id: 'basic-info' }],\n properties: [\n { name: 'partyId', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },\n { name: 'personId', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'roleId', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },\n ],\n },\n single: {\n title: '{{ context.eval(\"person.fullName\") + \" - \" + context.eval(\"role.title\", { pipes: [\"translate\"] }) }}',\n sections: [{ id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } }],\n properties: [\n { name: 'partyId', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },\n { name: 'personId', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'roleId', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },\n ],\n actions: [...entityMasterRecordActions()],\n },\n list: {\n actions: [...entityMasterCrudActions()],\n views: [\n createAllQueryView({\n sorts: [{ name: 'roleId', dir: 'asc' }],\n }),\n ],\n },\n },\n },\n };\n\n return entityDef;\n}\n\n//#endregion\n"],"names":[],"mappings":";;;;AAYA;AAEA;AAEO,eAAe,wBAAwB,GAAA;AAC5C,IAAA,MAAM,SAAS,GAAc;AAC3B,QAAA,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC9B,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,iBAAiB,CAAC,IAAI;AAChD,QAAA,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC,iBAAiB,CAAC,KAAK;AAClD,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,iBAAiB,CAAC,IAAI;AAChD,QAAA,OAAO,EAAE;AACP,YAAA,UAAU,EAAE,UAAU,CAAC,QAAQ,CAAC,iBAAiB,CAAC,KAAK;AACvD,YAAA,MAAM,EAAE,UAAU,CAAC,QAAQ,CAAC,iBAAiB,CAAC,WAAW;AACzD,YAAA,YAAY,EAAE;AACZ,gBAAA,KAAK,EAAE,2GAA2G;AAClH,gBAAA,WAAW,EAAE,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ACF,iBAAA;AACF,aAAA;AACF,SAAA;KACF;AAED,IAAA,OAAO,SAAS;AAClB;AAEA;;;;"}
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
import { AXPWidgetsList } 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-person-core-client-contracts-entity-catalog-acorex-platform-module-person-core-client-contracts-entity-catalog-CJmzbjJI.mjs';
|
|
4
|
+
|
|
5
|
+
//#endregion
|
|
6
|
+
//#region ---- Entity Factory ----
|
|
7
|
+
async function contactRoleFactory() {
|
|
8
|
+
const sections = [{ id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } }];
|
|
9
|
+
const propertyLayouts = [
|
|
10
|
+
{ name: 'title', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },
|
|
11
|
+
{ name: 'description', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },
|
|
12
|
+
{ name: 'inverseTypeId', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },
|
|
13
|
+
];
|
|
14
|
+
const entityDef = {
|
|
15
|
+
module: RootConfig.module.name,
|
|
16
|
+
name: RootConfig.entities.contactRole.name,
|
|
17
|
+
title: RootConfig.entities.contactRole.title,
|
|
18
|
+
icon: RootConfig.entities.contactRole.icon,
|
|
19
|
+
formats: {
|
|
20
|
+
individual: RootConfig.entities.contactRole.title,
|
|
21
|
+
plural: RootConfig.entities.contactRole.titlePlural,
|
|
22
|
+
searchResult: {
|
|
23
|
+
title: '{{ title }}',
|
|
24
|
+
description: '@person-core:contact-roles.entities.contact-role.search-result-description',
|
|
25
|
+
},
|
|
26
|
+
},
|
|
27
|
+
plugins: [{ name: 'history' }, { name: 'compare' }, { name: 'clone' }],
|
|
28
|
+
groups: [{ id: 'basic-info', title: '@general:terms.interface.basic-info' }],
|
|
29
|
+
properties: [
|
|
30
|
+
{
|
|
31
|
+
name: 'id',
|
|
32
|
+
title: '@general:terms.common.id',
|
|
33
|
+
groupId: 'basic-info',
|
|
34
|
+
schema: {
|
|
35
|
+
dataType: 'uuid',
|
|
36
|
+
visible: false,
|
|
37
|
+
readonly: true,
|
|
38
|
+
unique: { enabled: true },
|
|
39
|
+
},
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
name: 'title',
|
|
43
|
+
title: '@general:terms.common.title',
|
|
44
|
+
groupId: 'basic-info',
|
|
45
|
+
options: {
|
|
46
|
+
sort: { enabled: true },
|
|
47
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
48
|
+
},
|
|
49
|
+
schema: {
|
|
50
|
+
dataType: 'string',
|
|
51
|
+
interface: {
|
|
52
|
+
type: AXPWidgetsList.Editors.TextBox,
|
|
53
|
+
options: {
|
|
54
|
+
placeholder: '@person-core:contact-roles.entities.contact-role.fields.title.placeholder',
|
|
55
|
+
},
|
|
56
|
+
},
|
|
57
|
+
},
|
|
58
|
+
validations: [{ rule: 'required' }],
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
name: 'description',
|
|
62
|
+
title: '@general:terms.common.description',
|
|
63
|
+
groupId: 'basic-info',
|
|
64
|
+
options: {
|
|
65
|
+
sort: { enabled: false },
|
|
66
|
+
filter: { advance: { enabled: true }, inline: { enabled: false } },
|
|
67
|
+
},
|
|
68
|
+
schema: {
|
|
69
|
+
dataType: 'string',
|
|
70
|
+
interface: {
|
|
71
|
+
type: AXPWidgetsList.Editors.LargeTextBox,
|
|
72
|
+
options: {
|
|
73
|
+
rows: 3,
|
|
74
|
+
placeholder: '@person-core:contact-roles.entities.contact-role.fields.description.placeholder',
|
|
75
|
+
},
|
|
76
|
+
},
|
|
77
|
+
},
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
name: 'inverseTypeId',
|
|
81
|
+
title: '@person-core:contact-roles.entities.contact-role.fields.inverse-type.title',
|
|
82
|
+
groupId: 'basic-info',
|
|
83
|
+
options: {
|
|
84
|
+
sort: { enabled: false },
|
|
85
|
+
filter: { advance: { enabled: true }, inline: { enabled: false } },
|
|
86
|
+
},
|
|
87
|
+
schema: {
|
|
88
|
+
dataType: 'string',
|
|
89
|
+
interface: {
|
|
90
|
+
type: AXPWidgetsList.Editors.LookupBox,
|
|
91
|
+
options: {
|
|
92
|
+
look: 'select',
|
|
93
|
+
entity: `${RootConfig.module.name}.${RootConfig.entities.contactRole.name}`,
|
|
94
|
+
multiple: false,
|
|
95
|
+
textField: 'title',
|
|
96
|
+
columns: ['title'],
|
|
97
|
+
expose: [
|
|
98
|
+
{ source: 'id', target: 'inverseType.id' },
|
|
99
|
+
{ source: 'title', target: 'inverseType.title' },
|
|
100
|
+
],
|
|
101
|
+
},
|
|
102
|
+
},
|
|
103
|
+
},
|
|
104
|
+
},
|
|
105
|
+
],
|
|
106
|
+
columns: [
|
|
107
|
+
{ name: 'title', options: { width: '220px', order: 1 } },
|
|
108
|
+
{ name: 'description', options: { width: '320px', order: 2 } },
|
|
109
|
+
{ name: 'inverseTypeId', options: { width: '220px', order: 3 } },
|
|
110
|
+
],
|
|
111
|
+
interfaces: {
|
|
112
|
+
master: {
|
|
113
|
+
create: { sections, properties: propertyLayouts },
|
|
114
|
+
update: { sections, properties: propertyLayouts },
|
|
115
|
+
single: {
|
|
116
|
+
title: '{{ title }}',
|
|
117
|
+
sections,
|
|
118
|
+
properties: propertyLayouts,
|
|
119
|
+
actions: [...entityMasterRecordActions()],
|
|
120
|
+
},
|
|
121
|
+
list: {
|
|
122
|
+
actions: [...entityMasterCrudActions()],
|
|
123
|
+
views: [
|
|
124
|
+
createAllQueryView({
|
|
125
|
+
sorts: [{ name: 'title', dir: 'asc' }],
|
|
126
|
+
}),
|
|
127
|
+
],
|
|
128
|
+
},
|
|
129
|
+
},
|
|
130
|
+
},
|
|
131
|
+
};
|
|
132
|
+
return entityDef;
|
|
133
|
+
}
|
|
134
|
+
//#endregion
|
|
135
|
+
|
|
136
|
+
export { contactRoleFactory };
|
|
137
|
+
//# sourceMappingURL=acorex-platform-module-person-core-client-contracts-entity-catalog-contact-role.entity-uqPhUsRm.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-person-core-client-contracts-entity-catalog-contact-role.entity-uqPhUsRm.mjs","sources":["../../../../libs/modules/person-core/contracts/src/entities/contact-role/contact-role.entity.ts"],"sourcesContent":["import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport { AXPEntity, createAllQueryView, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';\n\n//#region ---- Imports ----\n\nimport { RootConfig } from '../../root-config';\n\n//#endregion\n\n//#region ---- Entity Factory ----\n\nexport async function contactRoleFactory(): Promise<AXPEntity> {\n const sections = [{ id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } }];\n const propertyLayouts = [\n { name: 'title', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },\n { name: 'inverseTypeId', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },\n ];\n\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.contactRole.name,\n title: RootConfig.entities.contactRole.title,\n icon: RootConfig.entities.contactRole.icon,\n formats: {\n individual: RootConfig.entities.contactRole.title,\n plural: RootConfig.entities.contactRole.titlePlural,\n searchResult: {\n title: '{{ title }}',\n description: '@person-core:contact-roles.entities.contact-role.search-result-description',\n },\n },\n plugins: [{ name: 'history' }, { name: 'compare' }, { name: 'clone' }],\n groups: [{ id: 'basic-info', title: '@general:terms.interface.basic-info' }],\n properties: [\n {\n name: 'id',\n title: '@general:terms.common.id',\n groupId: 'basic-info',\n schema: {\n dataType: 'uuid',\n visible: false,\n readonly: true,\n unique: { enabled: true },\n },\n },\n {\n name: 'title',\n title: '@general:terms.common.title',\n groupId: 'basic-info',\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.TextBox,\n options: {\n placeholder: '@person-core:contact-roles.entities.contact-role.fields.title.placeholder',\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'description',\n title: '@general:terms.common.description',\n groupId: 'basic-info',\n options: {\n sort: { enabled: false },\n filter: { advance: { enabled: true }, inline: { enabled: false } },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.LargeTextBox,\n options: {\n rows: 3,\n placeholder: '@person-core:contact-roles.entities.contact-role.fields.description.placeholder',\n },\n },\n },\n },\n {\n name: 'inverseTypeId',\n title: '@person-core:contact-roles.entities.contact-role.fields.inverse-type.title',\n groupId: 'basic-info',\n options: {\n sort: { enabled: false },\n filter: { advance: { enabled: true }, inline: { enabled: false } },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n look: 'select',\n entity: `${RootConfig.module.name}.${RootConfig.entities.contactRole.name}`,\n multiple: false,\n textField: 'title',\n columns: ['title'],\n expose: [\n { source: 'id', target: 'inverseType.id' },\n { source: 'title', target: 'inverseType.title' },\n ],\n },\n },\n },\n },\n ],\n columns: [\n { name: 'title', options: { width: '220px', order: 1 } },\n { name: 'description', options: { width: '320px', order: 2 } },\n { name: 'inverseTypeId', options: { width: '220px', order: 3 } },\n ],\n interfaces: {\n master: {\n create: { sections, properties: propertyLayouts },\n update: { sections, properties: propertyLayouts },\n single: {\n title: '{{ title }}',\n sections,\n properties: propertyLayouts,\n actions: [...entityMasterRecordActions()],\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"],"names":[],"mappings":";;;;AAOA;AAEA;AAEO,eAAe,kBAAkB,GAAA;IACtC,MAAM,QAAQ,GAAG,CAAC,EAAE,EAAE,EAAE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C;AACH,qBAAA;AACF,iBAAA;AACF,aAAA;AACF,SAAA;KACF;AAED,IAAA,OAAO,SAAS;AAClB;AAEA;;;;"}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import { AXPWidgetsList } 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-person-core-client-contracts-entity-catalog-acorex-platform-module-person-core-client-contracts-entity-catalog-CJmzbjJI.mjs';
|
|
4
|
+
|
|
5
|
+
//#endregion
|
|
6
|
+
//#region ---- Entity Factory ----
|
|
7
|
+
async function educationLevelFactory() {
|
|
8
|
+
const sections = [{ id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } }];
|
|
9
|
+
const propertyLayouts = [
|
|
10
|
+
{ name: 'title', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },
|
|
11
|
+
{ name: 'description', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },
|
|
12
|
+
];
|
|
13
|
+
const entityDef = {
|
|
14
|
+
module: RootConfig.module.name,
|
|
15
|
+
name: RootConfig.entities.educationLevel.name,
|
|
16
|
+
title: RootConfig.entities.educationLevel.title,
|
|
17
|
+
icon: RootConfig.entities.educationLevel.icon,
|
|
18
|
+
formats: {
|
|
19
|
+
individual: RootConfig.entities.educationLevel.title,
|
|
20
|
+
plural: RootConfig.entities.educationLevel.titlePlural,
|
|
21
|
+
searchResult: {
|
|
22
|
+
title: '{{ title }}',
|
|
23
|
+
description: RootConfig.module.title,
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
plugins: [{ name: 'history' }, { name: 'compare' }, { name: 'clone' }],
|
|
27
|
+
groups: [
|
|
28
|
+
{
|
|
29
|
+
id: 'basic-info',
|
|
30
|
+
title: '@person-core:education-levels.entities.education-level.groups.basic-info',
|
|
31
|
+
},
|
|
32
|
+
],
|
|
33
|
+
properties: [
|
|
34
|
+
{
|
|
35
|
+
name: 'id',
|
|
36
|
+
title: '@general:terms.common.id',
|
|
37
|
+
groupId: 'basic-info',
|
|
38
|
+
schema: {
|
|
39
|
+
dataType: 'uuid',
|
|
40
|
+
visible: false,
|
|
41
|
+
readonly: true,
|
|
42
|
+
unique: { enabled: true },
|
|
43
|
+
},
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
name: 'title',
|
|
47
|
+
title: '@general:terms.common.title',
|
|
48
|
+
groupId: 'basic-info',
|
|
49
|
+
options: {
|
|
50
|
+
sort: { enabled: true },
|
|
51
|
+
filter: {
|
|
52
|
+
advance: { enabled: true },
|
|
53
|
+
inline: { enabled: true },
|
|
54
|
+
},
|
|
55
|
+
},
|
|
56
|
+
schema: {
|
|
57
|
+
dataType: 'string',
|
|
58
|
+
interface: {
|
|
59
|
+
type: AXPWidgetsList.Editors.TextBox,
|
|
60
|
+
options: {
|
|
61
|
+
placeholder: '@person-core:education-levels.entities.education-level.fields.title.placeholder',
|
|
62
|
+
},
|
|
63
|
+
},
|
|
64
|
+
},
|
|
65
|
+
validations: [{ rule: 'required' }],
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
name: 'description',
|
|
69
|
+
title: '@general:terms.common.description',
|
|
70
|
+
groupId: 'basic-info',
|
|
71
|
+
schema: {
|
|
72
|
+
dataType: 'string',
|
|
73
|
+
interface: {
|
|
74
|
+
type: AXPWidgetsList.Editors.LargeTextBox,
|
|
75
|
+
options: {
|
|
76
|
+
rows: 3,
|
|
77
|
+
placeholder: '@person-core:education-levels.entities.education-level.fields.description.placeholder',
|
|
78
|
+
},
|
|
79
|
+
},
|
|
80
|
+
},
|
|
81
|
+
},
|
|
82
|
+
],
|
|
83
|
+
columns: [
|
|
84
|
+
{ name: 'title', options: { width: '220px', order: 1 } },
|
|
85
|
+
{ name: 'description', options: { width: '280px', order: 2 } },
|
|
86
|
+
],
|
|
87
|
+
interfaces: {
|
|
88
|
+
master: {
|
|
89
|
+
create: {
|
|
90
|
+
sections,
|
|
91
|
+
properties: propertyLayouts,
|
|
92
|
+
},
|
|
93
|
+
update: {
|
|
94
|
+
sections,
|
|
95
|
+
properties: propertyLayouts,
|
|
96
|
+
},
|
|
97
|
+
single: {
|
|
98
|
+
title: '{{ title }}',
|
|
99
|
+
sections,
|
|
100
|
+
properties: propertyLayouts,
|
|
101
|
+
actions: [...entityMasterRecordActions()],
|
|
102
|
+
},
|
|
103
|
+
list: {
|
|
104
|
+
actions: [...entityMasterCrudActions()],
|
|
105
|
+
views: [
|
|
106
|
+
createAllQueryView({
|
|
107
|
+
sorts: [{ name: 'title', dir: 'asc' }],
|
|
108
|
+
}),
|
|
109
|
+
],
|
|
110
|
+
},
|
|
111
|
+
},
|
|
112
|
+
},
|
|
113
|
+
};
|
|
114
|
+
return entityDef;
|
|
115
|
+
}
|
|
116
|
+
//#endregion
|
|
117
|
+
|
|
118
|
+
export { educationLevelFactory };
|
|
119
|
+
//# sourceMappingURL=acorex-platform-module-person-core-client-contracts-entity-catalog-education-level.entity-C1pz4Bh2.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-person-core-client-contracts-entity-catalog-education-level.entity-C1pz4Bh2.mjs","sources":["../../../../libs/modules/person-core/contracts/src/entities/education-level/education-level.entity.ts"],"sourcesContent":["import { 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\n//#endregion\n\n//#region ---- Entity Factory ----\n\nexport async function educationLevelFactory(): Promise<AXPEntity> {\n const sections = [{ id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } }];\n\n const propertyLayouts = [\n { name: 'title', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },\n ];\n\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.educationLevel.name,\n title: RootConfig.entities.educationLevel.title,\n icon: RootConfig.entities.educationLevel.icon,\n formats: {\n individual: RootConfig.entities.educationLevel.title,\n plural: RootConfig.entities.educationLevel.titlePlural,\n searchResult: {\n title: '{{ title }}',\n description: RootConfig.module.title,\n },\n },\n plugins: [{ name: 'history' }, { name: 'compare' }, { name: 'clone' }],\n groups: [\n {\n id: 'basic-info',\n title: '@person-core:education-levels.entities.education-level.groups.basic-info',\n },\n ],\n properties: [\n {\n name: 'id',\n title: '@general:terms.common.id',\n groupId: 'basic-info',\n schema: {\n dataType: 'uuid',\n visible: false,\n readonly: true,\n unique: { enabled: true },\n },\n },\n {\n name: 'title',\n title: '@general:terms.common.title',\n groupId: 'basic-info',\n options: {\n sort: { enabled: true },\n filter: {\n advance: { enabled: true },\n inline: { enabled: true },\n },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.TextBox,\n options: {\n placeholder:\n '@person-core:education-levels.entities.education-level.fields.title.placeholder',\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'description',\n title: '@general:terms.common.description',\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.LargeTextBox,\n options: {\n rows: 3,\n placeholder:\n '@person-core:education-levels.entities.education-level.fields.description.placeholder',\n },\n },\n },\n },\n ],\n columns: [\n { name: 'title', options: { width: '220px', order: 1 } },\n { name: 'description', options: { width: '280px', order: 2 } },\n ],\n interfaces: {\n master: {\n create: {\n sections,\n properties: propertyLayouts,\n },\n update: {\n sections,\n properties: propertyLayouts,\n },\n single: {\n title: '{{ title }}',\n sections,\n properties: propertyLayouts,\n actions: [...entityMasterRecordActions()],\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"],"names":[],"mappings":";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;AAED,IAAA,OAAO,SAAS;AAClB;AAEA;;;;"}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import { AXPWidgetsList } 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-person-core-client-contracts-entity-catalog-acorex-platform-module-person-core-client-contracts-entity-catalog-CJmzbjJI.mjs';
|
|
4
|
+
|
|
5
|
+
//#endregion
|
|
6
|
+
//#region ---- Entity Factory ----
|
|
7
|
+
async function genderFactory() {
|
|
8
|
+
const sections = [{ id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } }];
|
|
9
|
+
const propertyLayouts = [
|
|
10
|
+
{ name: 'title', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },
|
|
11
|
+
{ name: 'description', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },
|
|
12
|
+
];
|
|
13
|
+
const entityDef = {
|
|
14
|
+
module: RootConfig.module.name,
|
|
15
|
+
name: RootConfig.entities.gender.name,
|
|
16
|
+
title: RootConfig.entities.gender.title,
|
|
17
|
+
icon: RootConfig.entities.gender.icon,
|
|
18
|
+
formats: {
|
|
19
|
+
individual: RootConfig.entities.gender.title,
|
|
20
|
+
plural: RootConfig.entities.gender.titlePlural,
|
|
21
|
+
searchResult: {
|
|
22
|
+
title: '{{ title }}',
|
|
23
|
+
description: RootConfig.module.title,
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
plugins: [{ name: 'history' }, { name: 'compare' }, { name: 'clone' }],
|
|
27
|
+
groups: [
|
|
28
|
+
{
|
|
29
|
+
id: 'basic-info',
|
|
30
|
+
title: '@person-core:genders.entities.gender.groups.basic-info',
|
|
31
|
+
},
|
|
32
|
+
],
|
|
33
|
+
properties: [
|
|
34
|
+
{
|
|
35
|
+
name: 'id',
|
|
36
|
+
title: '@general:terms.common.id',
|
|
37
|
+
groupId: 'basic-info',
|
|
38
|
+
schema: {
|
|
39
|
+
dataType: 'uuid',
|
|
40
|
+
visible: false,
|
|
41
|
+
readonly: true,
|
|
42
|
+
unique: { enabled: true },
|
|
43
|
+
},
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
name: 'title',
|
|
47
|
+
title: '@general:terms.common.title',
|
|
48
|
+
groupId: 'basic-info',
|
|
49
|
+
options: {
|
|
50
|
+
sort: { enabled: true },
|
|
51
|
+
filter: {
|
|
52
|
+
advance: { enabled: true },
|
|
53
|
+
inline: { enabled: true },
|
|
54
|
+
},
|
|
55
|
+
},
|
|
56
|
+
schema: {
|
|
57
|
+
dataType: 'string',
|
|
58
|
+
interface: {
|
|
59
|
+
type: AXPWidgetsList.Editors.TextBox,
|
|
60
|
+
options: {
|
|
61
|
+
placeholder: '@person-core:genders.entities.gender.fields.title.placeholder',
|
|
62
|
+
},
|
|
63
|
+
},
|
|
64
|
+
},
|
|
65
|
+
validations: [{ rule: 'required' }],
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
name: 'description',
|
|
69
|
+
title: '@general:terms.common.description',
|
|
70
|
+
groupId: 'basic-info',
|
|
71
|
+
schema: {
|
|
72
|
+
dataType: 'string',
|
|
73
|
+
interface: {
|
|
74
|
+
type: AXPWidgetsList.Editors.LargeTextBox,
|
|
75
|
+
options: {
|
|
76
|
+
rows: 3,
|
|
77
|
+
placeholder: '@person-core:genders.entities.gender.fields.description.placeholder',
|
|
78
|
+
},
|
|
79
|
+
},
|
|
80
|
+
},
|
|
81
|
+
},
|
|
82
|
+
],
|
|
83
|
+
columns: [
|
|
84
|
+
{ name: 'title', options: { width: '220px', order: 1 } },
|
|
85
|
+
{ name: 'description', options: { width: '280px', order: 2 } },
|
|
86
|
+
],
|
|
87
|
+
interfaces: {
|
|
88
|
+
master: {
|
|
89
|
+
create: {
|
|
90
|
+
sections,
|
|
91
|
+
properties: propertyLayouts,
|
|
92
|
+
},
|
|
93
|
+
update: {
|
|
94
|
+
sections,
|
|
95
|
+
properties: propertyLayouts,
|
|
96
|
+
},
|
|
97
|
+
single: {
|
|
98
|
+
title: '{{ title }}',
|
|
99
|
+
sections,
|
|
100
|
+
properties: propertyLayouts,
|
|
101
|
+
actions: [...entityMasterRecordActions()],
|
|
102
|
+
},
|
|
103
|
+
list: {
|
|
104
|
+
actions: [...entityMasterCrudActions()],
|
|
105
|
+
views: [
|
|
106
|
+
createAllQueryView({
|
|
107
|
+
sorts: [{ name: 'title', dir: 'asc' }],
|
|
108
|
+
}),
|
|
109
|
+
],
|
|
110
|
+
},
|
|
111
|
+
},
|
|
112
|
+
},
|
|
113
|
+
};
|
|
114
|
+
return entityDef;
|
|
115
|
+
}
|
|
116
|
+
//#endregion
|
|
117
|
+
|
|
118
|
+
export { genderFactory };
|
|
119
|
+
//# sourceMappingURL=acorex-platform-module-person-core-client-contracts-entity-catalog-gender.entity-BaoSo66c.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-person-core-client-contracts-entity-catalog-gender.entity-BaoSo66c.mjs","sources":["../../../../libs/modules/person-core/contracts/src/entities/gender/gender.entity.ts"],"sourcesContent":["import { 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\n//#endregion\n\n//#region ---- Entity Factory ----\n\nexport async function genderFactory(): Promise<AXPEntity> {\n const sections = [{ id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } }];\n\n const propertyLayouts = [\n { name: 'title', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },\n ];\n\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.gender.name,\n title: RootConfig.entities.gender.title,\n icon: RootConfig.entities.gender.icon,\n formats: {\n individual: RootConfig.entities.gender.title,\n plural: RootConfig.entities.gender.titlePlural,\n searchResult: {\n title: '{{ title }}',\n description: RootConfig.module.title,\n },\n },\n plugins: [{ name: 'history' }, { name: 'compare' }, { name: 'clone' }],\n groups: [\n {\n id: 'basic-info',\n title: '@person-core:genders.entities.gender.groups.basic-info',\n },\n ],\n properties: [\n {\n name: 'id',\n title: '@general:terms.common.id',\n groupId: 'basic-info',\n schema: {\n dataType: 'uuid',\n visible: false,\n readonly: true,\n unique: { enabled: true },\n },\n },\n {\n name: 'title',\n title: '@general:terms.common.title',\n groupId: 'basic-info',\n options: {\n sort: { enabled: true },\n filter: {\n advance: { enabled: true },\n inline: { enabled: true },\n },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.TextBox,\n options: {\n placeholder: '@person-core:genders.entities.gender.fields.title.placeholder',\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'description',\n title: '@general:terms.common.description',\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.LargeTextBox,\n options: {\n rows: 3,\n placeholder: '@person-core:genders.entities.gender.fields.description.placeholder',\n },\n },\n },\n },\n ],\n columns: [\n { name: 'title', options: { width: '220px', order: 1 } },\n { name: 'description', options: { width: '280px', order: 2 } },\n ],\n interfaces: {\n master: {\n create: {\n sections,\n properties: propertyLayouts,\n },\n update: {\n sections,\n properties: propertyLayouts,\n },\n single: {\n title: '{{ title }}',\n sections,\n properties: propertyLayouts,\n actions: [...entityMasterRecordActions()],\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"],"names":[],"mappings":";;;;AAKA;AAEA;AAEO,eAAe,aAAa,GAAA;IACjC,MAAM,QAAQ,GAAG,CAAC,EAAE,EAAE,EAAE,YAAY,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAA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llQueryView, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';
|
|
3
|
+
import { R as RootConfig } from './acorex-platform-module-person-core-client-contracts-entity-catalog-acorex-platform-module-person-core-client-contracts-entity-catalog-CJmzbjJI.mjs';
|
|
4
|
+
|
|
5
|
+
//#endregion
|
|
6
|
+
//#region ---- Entity Factory ----
|
|
7
|
+
async function maritalStatusFactory() {
|
|
8
|
+
const sections = [{ id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } }];
|
|
9
|
+
const propertyLayouts = [
|
|
10
|
+
{ name: 'title', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },
|
|
11
|
+
{ name: 'description', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },
|
|
12
|
+
];
|
|
13
|
+
const entityDef = {
|
|
14
|
+
module: RootConfig.module.name,
|
|
15
|
+
name: RootConfig.entities.maritalStatus.name,
|
|
16
|
+
title: RootConfig.entities.maritalStatus.title,
|
|
17
|
+
icon: RootConfig.entities.maritalStatus.icon,
|
|
18
|
+
formats: {
|
|
19
|
+
individual: RootConfig.entities.maritalStatus.title,
|
|
20
|
+
plural: RootConfig.entities.maritalStatus.titlePlural,
|
|
21
|
+
searchResult: {
|
|
22
|
+
title: '{{ title }}',
|
|
23
|
+
description: RootConfig.module.title,
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
plugins: [{ name: 'history' }, { name: 'compare' }, { name: 'clone' }],
|
|
27
|
+
groups: [
|
|
28
|
+
{
|
|
29
|
+
id: 'basic-info',
|
|
30
|
+
title: '@person-core:marital-statuses.entities.marital-status.groups.basic-info',
|
|
31
|
+
},
|
|
32
|
+
],
|
|
33
|
+
properties: [
|
|
34
|
+
{
|
|
35
|
+
name: 'id',
|
|
36
|
+
title: '@general:terms.common.id',
|
|
37
|
+
groupId: 'basic-info',
|
|
38
|
+
schema: {
|
|
39
|
+
dataType: 'uuid',
|
|
40
|
+
visible: false,
|
|
41
|
+
readonly: true,
|
|
42
|
+
unique: { enabled: true },
|
|
43
|
+
},
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
name: 'title',
|
|
47
|
+
title: '@general:terms.common.title',
|
|
48
|
+
groupId: 'basic-info',
|
|
49
|
+
options: {
|
|
50
|
+
sort: { enabled: true },
|
|
51
|
+
filter: {
|
|
52
|
+
advance: { enabled: true },
|
|
53
|
+
inline: { enabled: true },
|
|
54
|
+
},
|
|
55
|
+
},
|
|
56
|
+
schema: {
|
|
57
|
+
dataType: 'string',
|
|
58
|
+
interface: {
|
|
59
|
+
type: AXPWidgetsList.Editors.TextBox,
|
|
60
|
+
options: {
|
|
61
|
+
placeholder: '@person-core:marital-statuses.entities.marital-status.fields.title.placeholder',
|
|
62
|
+
},
|
|
63
|
+
},
|
|
64
|
+
},
|
|
65
|
+
validations: [{ rule: 'required' }],
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
name: 'description',
|
|
69
|
+
title: '@general:terms.common.description',
|
|
70
|
+
groupId: 'basic-info',
|
|
71
|
+
schema: {
|
|
72
|
+
dataType: 'string',
|
|
73
|
+
interface: {
|
|
74
|
+
type: AXPWidgetsList.Editors.LargeTextBox,
|
|
75
|
+
options: {
|
|
76
|
+
rows: 3,
|
|
77
|
+
placeholder: '@person-core:marital-statuses.entities.marital-status.fields.description.placeholder',
|
|
78
|
+
},
|
|
79
|
+
},
|
|
80
|
+
},
|
|
81
|
+
},
|
|
82
|
+
],
|
|
83
|
+
columns: [
|
|
84
|
+
{ name: 'title', options: { width: '220px', order: 1 } },
|
|
85
|
+
{ name: 'description', options: { width: '280px', order: 2 } },
|
|
86
|
+
],
|
|
87
|
+
interfaces: {
|
|
88
|
+
master: {
|
|
89
|
+
create: {
|
|
90
|
+
sections,
|
|
91
|
+
properties: propertyLayouts,
|
|
92
|
+
},
|
|
93
|
+
update: {
|
|
94
|
+
sections,
|
|
95
|
+
properties: propertyLayouts,
|
|
96
|
+
},
|
|
97
|
+
single: {
|
|
98
|
+
title: '{{ title }}',
|
|
99
|
+
sections,
|
|
100
|
+
properties: propertyLayouts,
|
|
101
|
+
actions: [...entityMasterRecordActions()],
|
|
102
|
+
},
|
|
103
|
+
list: {
|
|
104
|
+
actions: [...entityMasterCrudActions()],
|
|
105
|
+
views: [
|
|
106
|
+
createAllQueryView({
|
|
107
|
+
sorts: [{ name: 'title', dir: 'asc' }],
|
|
108
|
+
}),
|
|
109
|
+
],
|
|
110
|
+
},
|
|
111
|
+
},
|
|
112
|
+
},
|
|
113
|
+
};
|
|
114
|
+
return entityDef;
|
|
115
|
+
}
|
|
116
|
+
//#endregion
|
|
117
|
+
|
|
118
|
+
export { maritalStatusFactory };
|
|
119
|
+
//# sourceMappingURL=acorex-platform-module-person-core-client-contracts-entity-catalog-marital-status.entity-NdZ6U6Ue.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-person-core-client-contracts-entity-catalog-marital-status.entity-NdZ6U6Ue.mjs","sources":["../../../../libs/modules/person-core/contracts/src/entities/marital-status/marital-status.entity.ts"],"sourcesContent":["import { 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\n//#endregion\n\n//#region ---- Entity Factory ----\n\nexport async function maritalStatusFactory(): Promise<AXPEntity> {\n const sections = [{ id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } }];\n\n const propertyLayouts = [\n { name: 'title', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },\n ];\n\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.maritalStatus.name,\n title: RootConfig.entities.maritalStatus.title,\n icon: RootConfig.entities.maritalStatus.icon,\n formats: {\n individual: RootConfig.entities.maritalStatus.title,\n plural: RootConfig.entities.maritalStatus.titlePlural,\n searchResult: {\n title: '{{ title }}',\n description: RootConfig.module.title,\n },\n },\n plugins: [{ name: 'history' }, { name: 'compare' }, { name: 'clone' }],\n groups: [\n {\n id: 'basic-info',\n title: '@person-core:marital-statuses.entities.marital-status.groups.basic-info',\n },\n ],\n properties: [\n {\n name: 'id',\n title: '@general:terms.common.id',\n groupId: 'basic-info',\n schema: {\n dataType: 'uuid',\n visible: false,\n readonly: true,\n unique: { enabled: true },\n },\n },\n {\n name: 'title',\n title: '@general:terms.common.title',\n groupId: 'basic-info',\n options: {\n sort: { enabled: true },\n filter: {\n advance: { enabled: true },\n inline: { enabled: true },\n },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.TextBox,\n options: {\n placeholder:\n '@person-core:marital-statuses.entities.marital-status.fields.title.placeholder',\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'description',\n title: '@general:terms.common.description',\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.LargeTextBox,\n options: {\n rows: 3,\n placeholder:\n '@person-core:marital-statuses.entities.marital-status.fields.description.placeholder',\n },\n },\n },\n },\n ],\n columns: [\n { name: 'title', options: { width: '220px', order: 1 } },\n { name: 'description', options: { width: '280px', order: 2 } },\n ],\n interfaces: {\n master: {\n create: {\n sections,\n properties: propertyLayouts,\n },\n update: {\n sections,\n properties: propertyLayouts,\n },\n single: {\n title: '{{ title }}',\n sections,\n properties: propertyLayouts,\n actions: [...entityMasterRecordActions()],\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"],"names":[],"mappings":";;;;AAKA;AAEA;AAEO,eAAe,oBAAoB,GAAA;IACxC,MAAM,QAAQ,GAAG,CAAC,EAAE,EAAE,EAAE,YAAY,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAA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