@acorex-platform/module-person-core-server 0.0.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (226) hide show
  1. package/contracts/src/contact-assignment.actions.d.ts +10 -0
  2. package/contracts/src/contact-assignment.actions.js +80 -0
  3. package/contracts/src/contact-assignment.actions.js.map +1 -0
  4. package/contracts/src/contact-assignment.utils.d.ts +14 -0
  5. package/contracts/src/contact-assignment.utils.js +47 -0
  6. package/contracts/src/contact-assignment.utils.js.map +1 -0
  7. package/contracts/src/entities/contact-assignment/contact-assignment.entity.d.ts +2 -0
  8. package/contracts/src/entities/contact-assignment/contact-assignment.entity.js +155 -0
  9. package/contracts/src/entities/contact-assignment/contact-assignment.entity.js.map +1 -0
  10. package/contracts/src/entities/contact-assignment/contact-assignment.types.d.ts +21 -0
  11. package/contracts/src/entities/contact-assignment/contact-assignment.types.js +4 -0
  12. package/contracts/src/entities/contact-assignment/contact-assignment.types.js.map +1 -0
  13. package/contracts/src/entities/contact-assignment/index.d.ts +2 -0
  14. package/contracts/src/entities/contact-assignment/index.js +6 -0
  15. package/contracts/src/entities/contact-assignment/index.js.map +1 -0
  16. package/contracts/src/entities/contact-role/contact-role.entity.d.ts +2 -0
  17. package/contracts/src/entities/contact-role/contact-role.entity.js +150 -0
  18. package/contracts/src/entities/contact-role/contact-role.entity.js.map +1 -0
  19. package/contracts/src/entities/contact-role/contact-role.types.d.ts +7 -0
  20. package/contracts/src/entities/contact-role/contact-role.types.js +4 -0
  21. package/contracts/src/entities/contact-role/contact-role.types.js.map +1 -0
  22. package/contracts/src/entities/contact-role/index.d.ts +2 -0
  23. package/contracts/src/entities/contact-role/index.js +6 -0
  24. package/contracts/src/entities/contact-role/index.js.map +1 -0
  25. package/contracts/src/entities/education-level/education-level.entity.d.ts +2 -0
  26. package/contracts/src/entities/education-level/education-level.entity.js +123 -0
  27. package/contracts/src/entities/education-level/education-level.entity.js.map +1 -0
  28. package/contracts/src/entities/education-level/education-level.types.d.ts +6 -0
  29. package/contracts/src/entities/education-level/education-level.types.js +4 -0
  30. package/contracts/src/entities/education-level/education-level.types.js.map +1 -0
  31. package/contracts/src/entities/education-level/index.d.ts +2 -0
  32. package/contracts/src/entities/education-level/index.js +6 -0
  33. package/contracts/src/entities/education-level/index.js.map +1 -0
  34. package/contracts/src/entities/gender/gender.entity.d.ts +2 -0
  35. package/contracts/src/entities/gender/gender.entity.js +123 -0
  36. package/contracts/src/entities/gender/gender.entity.js.map +1 -0
  37. package/contracts/src/entities/gender/gender.types.d.ts +6 -0
  38. package/contracts/src/entities/gender/gender.types.js +4 -0
  39. package/contracts/src/entities/gender/gender.types.js.map +1 -0
  40. package/contracts/src/entities/gender/index.d.ts +2 -0
  41. package/contracts/src/entities/gender/index.js +6 -0
  42. package/contracts/src/entities/gender/index.js.map +1 -0
  43. package/contracts/src/entities/index.d.ts +10 -0
  44. package/contracts/src/entities/index.js +14 -0
  45. package/contracts/src/entities/index.js.map +1 -0
  46. package/contracts/src/entities/marital-status/index.d.ts +2 -0
  47. package/contracts/src/entities/marital-status/index.js +6 -0
  48. package/contracts/src/entities/marital-status/index.js.map +1 -0
  49. package/contracts/src/entities/marital-status/marital-status.entity.d.ts +2 -0
  50. package/contracts/src/entities/marital-status/marital-status.entity.js +123 -0
  51. package/contracts/src/entities/marital-status/marital-status.entity.js.map +1 -0
  52. package/contracts/src/entities/marital-status/marital-status.types.d.ts +6 -0
  53. package/contracts/src/entities/marital-status/marital-status.types.js +4 -0
  54. package/contracts/src/entities/marital-status/marital-status.types.js.map +1 -0
  55. package/contracts/src/entities/person/index.d.ts +2 -0
  56. package/contracts/src/entities/person/index.js +6 -0
  57. package/contracts/src/entities/person/index.js.map +1 -0
  58. package/contracts/src/entities/person/person.entity.d.ts +2 -0
  59. package/contracts/src/entities/person/person.entity.js +456 -0
  60. package/contracts/src/entities/person/person.entity.js.map +1 -0
  61. package/contracts/src/entities/person/person.types.d.ts +40 -0
  62. package/contracts/src/entities/person/person.types.js +3 -0
  63. package/contracts/src/entities/person/person.types.js.map +1 -0
  64. package/contracts/src/entities/person-identifier-type/index.d.ts +2 -0
  65. package/contracts/src/entities/person-identifier-type/index.js +6 -0
  66. package/contracts/src/entities/person-identifier-type/index.js.map +1 -0
  67. package/contracts/src/entities/person-identifier-type/person-identifier-type.entity.d.ts +2 -0
  68. package/contracts/src/entities/person-identifier-type/person-identifier-type.entity.js +193 -0
  69. package/contracts/src/entities/person-identifier-type/person-identifier-type.entity.js.map +1 -0
  70. package/contracts/src/entities/person-identifier-type/person-identifier-type.types.d.ts +11 -0
  71. package/contracts/src/entities/person-identifier-type/person-identifier-type.types.js +4 -0
  72. package/contracts/src/entities/person-identifier-type/person-identifier-type.types.js.map +1 -0
  73. package/contracts/src/entities/person-relationship/index.d.ts +2 -0
  74. package/contracts/src/entities/person-relationship/index.js +6 -0
  75. package/contracts/src/entities/person-relationship/index.js.map +1 -0
  76. package/contracts/src/entities/person-relationship/person-relationship.entity.d.ts +2 -0
  77. package/contracts/src/entities/person-relationship/person-relationship.entity.js +155 -0
  78. package/contracts/src/entities/person-relationship/person-relationship.entity.js.map +1 -0
  79. package/contracts/src/entities/person-relationship/person-relationship.types.d.ts +10 -0
  80. package/contracts/src/entities/person-relationship/person-relationship.types.js +3 -0
  81. package/contracts/src/entities/person-relationship/person-relationship.types.js.map +1 -0
  82. package/contracts/src/entities/person-title/index.d.ts +2 -0
  83. package/contracts/src/entities/person-title/index.js +6 -0
  84. package/contracts/src/entities/person-title/index.js.map +1 -0
  85. package/contracts/src/entities/person-title/person-title.entity.d.ts +2 -0
  86. package/contracts/src/entities/person-title/person-title.entity.js +123 -0
  87. package/contracts/src/entities/person-title/person-title.entity.js.map +1 -0
  88. package/contracts/src/entities/person-title/person-title.types.d.ts +6 -0
  89. package/contracts/src/entities/person-title/person-title.types.js +4 -0
  90. package/contracts/src/entities/person-title/person-title.types.js.map +1 -0
  91. package/contracts/src/entities/religion/index.d.ts +2 -0
  92. package/contracts/src/entities/religion/index.js +6 -0
  93. package/contracts/src/entities/religion/index.js.map +1 -0
  94. package/contracts/src/entities/religion/religion.entity.d.ts +2 -0
  95. package/contracts/src/entities/religion/religion.entity.js +123 -0
  96. package/contracts/src/entities/religion/religion.entity.js.map +1 -0
  97. package/contracts/src/entities/religion/religion.types.d.ts +6 -0
  98. package/contracts/src/entities/religion/religion.types.js +4 -0
  99. package/contracts/src/entities/religion/religion.types.js.map +1 -0
  100. package/contracts/src/index.d.ts +7 -0
  101. package/contracts/src/index.js +13 -0
  102. package/contracts/src/index.js.map +1 -0
  103. package/contracts/src/menu.keys.d.ts +12 -0
  104. package/contracts/src/menu.keys.js +16 -0
  105. package/contracts/src/menu.keys.js.map +1 -0
  106. package/contracts/src/permission.keys.d.ts +31 -0
  107. package/contracts/src/permission.keys.js +35 -0
  108. package/contracts/src/permission.keys.js.map +1 -0
  109. package/contracts/src/person-relationship.actions.d.ts +10 -0
  110. package/contracts/src/person-relationship.actions.js +88 -0
  111. package/contracts/src/person-relationship.actions.js.map +1 -0
  112. package/contracts/src/root-config.d.ts +73 -0
  113. package/contracts/src/root-config.js +78 -0
  114. package/contracts/src/root-config.js.map +1 -0
  115. package/package.json +26 -0
  116. package/src/index.d.ts +5 -0
  117. package/src/index.js +13 -0
  118. package/src/index.js.map +1 -0
  119. package/src/lib/person-core-server.module.d.ts +2 -0
  120. package/src/lib/person-core-server.module.js +27 -0
  121. package/src/lib/person-core-server.module.js.map +1 -0
  122. package/src/lib/seed/contact-assignment/contact-assignment.mock.d.ts +8 -0
  123. package/src/lib/seed/contact-assignment/contact-assignment.mock.js +51 -0
  124. package/src/lib/seed/contact-assignment/contact-assignment.mock.js.map +1 -0
  125. package/src/lib/seed/contact-assignment/contact-assignment.seed.d.ts +5 -0
  126. package/src/lib/seed/contact-assignment/contact-assignment.seed.js +32 -0
  127. package/src/lib/seed/contact-assignment/contact-assignment.seed.js.map +1 -0
  128. package/src/lib/seed/contact-assignment/index.d.ts +2 -0
  129. package/src/lib/seed/contact-assignment/index.js +6 -0
  130. package/src/lib/seed/contact-assignment/index.js.map +1 -0
  131. package/src/lib/seed/contact-role/contact-role.mock.d.ts +40 -0
  132. package/src/lib/seed/contact-role/contact-role.mock.js +258 -0
  133. package/src/lib/seed/contact-role/contact-role.mock.js.map +1 -0
  134. package/src/lib/seed/contact-role/contact-role.seed.d.ts +5 -0
  135. package/src/lib/seed/contact-role/contact-role.seed.js +31 -0
  136. package/src/lib/seed/contact-role/contact-role.seed.js.map +1 -0
  137. package/src/lib/seed/contact-role/index.d.ts +2 -0
  138. package/src/lib/seed/contact-role/index.js +6 -0
  139. package/src/lib/seed/contact-role/index.js.map +1 -0
  140. package/src/lib/seed/education-level/education-level.mock.d.ts +14 -0
  141. package/src/lib/seed/education-level/education-level.mock.js +52 -0
  142. package/src/lib/seed/education-level/education-level.mock.js.map +1 -0
  143. package/src/lib/seed/education-level/education-level.seed.d.ts +5 -0
  144. package/src/lib/seed/education-level/education-level.seed.js +31 -0
  145. package/src/lib/seed/education-level/education-level.seed.js.map +1 -0
  146. package/src/lib/seed/education-level/index.d.ts +2 -0
  147. package/src/lib/seed/education-level/index.js +6 -0
  148. package/src/lib/seed/education-level/index.js.map +1 -0
  149. package/src/lib/seed/gender/gender.mock.d.ts +28 -0
  150. package/src/lib/seed/gender/gender.mock.js +40 -0
  151. package/src/lib/seed/gender/gender.mock.js.map +1 -0
  152. package/src/lib/seed/gender/gender.seed.d.ts +5 -0
  153. package/src/lib/seed/gender/gender.seed.js +31 -0
  154. package/src/lib/seed/gender/gender.seed.js.map +1 -0
  155. package/src/lib/seed/gender/index.d.ts +2 -0
  156. package/src/lib/seed/gender/index.js +6 -0
  157. package/src/lib/seed/gender/index.js.map +1 -0
  158. package/src/lib/seed/index.d.ts +28 -0
  159. package/src/lib/seed/index.js +30 -0
  160. package/src/lib/seed/index.js.map +1 -0
  161. package/src/lib/seed/marital-status/index.d.ts +2 -0
  162. package/src/lib/seed/marital-status/index.js +6 -0
  163. package/src/lib/seed/marital-status/index.js.map +1 -0
  164. package/src/lib/seed/marital-status/marital-status.mock.d.ts +33 -0
  165. package/src/lib/seed/marital-status/marital-status.mock.js +46 -0
  166. package/src/lib/seed/marital-status/marital-status.mock.js.map +1 -0
  167. package/src/lib/seed/marital-status/marital-status.seed.d.ts +5 -0
  168. package/src/lib/seed/marital-status/marital-status.seed.js +31 -0
  169. package/src/lib/seed/marital-status/marital-status.seed.js.map +1 -0
  170. package/src/lib/seed/person/index.d.ts +3 -0
  171. package/src/lib/seed/person/index.js +7 -0
  172. package/src/lib/seed/person/index.js.map +1 -0
  173. package/src/lib/seed/person/person-natural-ids.constants.d.ts +76 -0
  174. package/src/lib/seed/person/person-natural-ids.constants.js +82 -0
  175. package/src/lib/seed/person/person-natural-ids.constants.js.map +1 -0
  176. package/src/lib/seed/person/person.mock.d.ts +5 -0
  177. package/src/lib/seed/person/person.mock.js +372 -0
  178. package/src/lib/seed/person/person.mock.js.map +1 -0
  179. package/src/lib/seed/person/person.seed.d.ts +5 -0
  180. package/src/lib/seed/person/person.seed.js +31 -0
  181. package/src/lib/seed/person/person.seed.js.map +1 -0
  182. package/src/lib/seed/person-core-seed.provider.d.ts +4 -0
  183. package/src/lib/seed/person-core-seed.provider.js +18 -0
  184. package/src/lib/seed/person-core-seed.provider.js.map +1 -0
  185. package/src/lib/seed/person-core-seed.tokens.d.ts +1 -0
  186. package/src/lib/seed/person-core-seed.tokens.js +7 -0
  187. package/src/lib/seed/person-core-seed.tokens.js.map +1 -0
  188. package/src/lib/seed/person-core.seed-catalog.d.ts +2 -0
  189. package/src/lib/seed/person-core.seed-catalog.js +31 -0
  190. package/src/lib/seed/person-core.seed-catalog.js.map +1 -0
  191. package/src/lib/seed/person-identifier-type/index.d.ts +2 -0
  192. package/src/lib/seed/person-identifier-type/index.js +6 -0
  193. package/src/lib/seed/person-identifier-type/index.js.map +1 -0
  194. package/src/lib/seed/person-identifier-type/person-identifier-type.mock.d.ts +4 -0
  195. package/src/lib/seed/person-identifier-type/person-identifier-type.mock.js +68 -0
  196. package/src/lib/seed/person-identifier-type/person-identifier-type.mock.js.map +1 -0
  197. package/src/lib/seed/person-identifier-type/person-identifier-type.seed.d.ts +5 -0
  198. package/src/lib/seed/person-identifier-type/person-identifier-type.seed.js +31 -0
  199. package/src/lib/seed/person-identifier-type/person-identifier-type.seed.js.map +1 -0
  200. package/src/lib/seed/person-relationship/index.d.ts +2 -0
  201. package/src/lib/seed/person-relationship/index.js +6 -0
  202. package/src/lib/seed/person-relationship/index.js.map +1 -0
  203. package/src/lib/seed/person-relationship/person-relationship.mock.d.ts +30 -0
  204. package/src/lib/seed/person-relationship/person-relationship.mock.js +156 -0
  205. package/src/lib/seed/person-relationship/person-relationship.mock.js.map +1 -0
  206. package/src/lib/seed/person-relationship/person-relationship.seed.d.ts +5 -0
  207. package/src/lib/seed/person-relationship/person-relationship.seed.js +31 -0
  208. package/src/lib/seed/person-relationship/person-relationship.seed.js.map +1 -0
  209. package/src/lib/seed/person-title/index.d.ts +2 -0
  210. package/src/lib/seed/person-title/index.js +6 -0
  211. package/src/lib/seed/person-title/index.js.map +1 -0
  212. package/src/lib/seed/person-title/person-title.mock.d.ts +43 -0
  213. package/src/lib/seed/person-title/person-title.mock.js +58 -0
  214. package/src/lib/seed/person-title/person-title.mock.js.map +1 -0
  215. package/src/lib/seed/person-title/person-title.seed.d.ts +5 -0
  216. package/src/lib/seed/person-title/person-title.seed.js +31 -0
  217. package/src/lib/seed/person-title/person-title.seed.js.map +1 -0
  218. package/src/lib/seed/religion/index.d.ts +2 -0
  219. package/src/lib/seed/religion/index.js +6 -0
  220. package/src/lib/seed/religion/index.js.map +1 -0
  221. package/src/lib/seed/religion/religion.mock.d.ts +5 -0
  222. package/src/lib/seed/religion/religion.mock.js +48 -0
  223. package/src/lib/seed/religion/religion.mock.js.map +1 -0
  224. package/src/lib/seed/religion/religion.seed.d.ts +5 -0
  225. package/src/lib/seed/religion/religion.seed.js +31 -0
  226. package/src/lib/seed/religion/religion.seed.js.map +1 -0
@@ -0,0 +1,123 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.educationLevelFactory = educationLevelFactory;
4
+ const tslib_1 = require("tslib");
5
+ const core_1 = require("@acorex-platform/framework-shared/core");
6
+ const entity_1 = require("@acorex-platform/framework-shared/entity");
7
+ //#region ---- Imports ----
8
+ const root_config_1 = require("../../root-config");
9
+ //#endregion
10
+ //#region ---- Entity Factory ----
11
+ function educationLevelFactory() {
12
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
13
+ const sections = [{ id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } }];
14
+ const propertyLayouts = [
15
+ { name: 'title', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },
16
+ { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },
17
+ ];
18
+ const entityDef = {
19
+ module: root_config_1.RootConfig.module.name,
20
+ name: root_config_1.RootConfig.entities.educationLevel.name,
21
+ title: root_config_1.RootConfig.entities.educationLevel.title,
22
+ icon: root_config_1.RootConfig.entities.educationLevel.icon,
23
+ formats: {
24
+ individual: root_config_1.RootConfig.entities.educationLevel.title,
25
+ plural: root_config_1.RootConfig.entities.educationLevel.titlePlural,
26
+ searchResult: {
27
+ title: '{{ title }}',
28
+ description: root_config_1.RootConfig.module.title,
29
+ },
30
+ },
31
+ plugins: [{ name: 'history' }, { name: 'compare' }, { name: 'clone' }],
32
+ groups: [
33
+ {
34
+ id: 'basic-info',
35
+ title: '@person-core:education-levels.entities.education-level.groups.basic-info',
36
+ },
37
+ ],
38
+ properties: [
39
+ {
40
+ name: 'id',
41
+ title: '@general:terms.common.id',
42
+ groupId: 'basic-info',
43
+ schema: {
44
+ dataType: 'uuid',
45
+ visible: false,
46
+ readonly: true,
47
+ unique: { enabled: true },
48
+ },
49
+ },
50
+ {
51
+ name: 'title',
52
+ title: '@general:terms.common.title',
53
+ groupId: 'basic-info',
54
+ options: {
55
+ sort: { enabled: true },
56
+ filter: {
57
+ advance: { enabled: true },
58
+ inline: { enabled: true },
59
+ },
60
+ },
61
+ schema: {
62
+ dataType: 'string',
63
+ interface: {
64
+ type: core_1.AXPWidgetsList.Editors.TextBox,
65
+ options: {
66
+ placeholder: '@person-core:education-levels.entities.education-level.fields.title.placeholder',
67
+ },
68
+ },
69
+ },
70
+ validations: [{ rule: 'required' }],
71
+ },
72
+ {
73
+ name: 'description',
74
+ title: '@general:terms.common.description',
75
+ groupId: 'basic-info',
76
+ schema: {
77
+ dataType: 'string',
78
+ interface: {
79
+ type: core_1.AXPWidgetsList.Editors.LargeTextBox,
80
+ options: {
81
+ rows: 3,
82
+ placeholder: '@person-core:education-levels.entities.education-level.fields.description.placeholder',
83
+ },
84
+ },
85
+ },
86
+ },
87
+ ],
88
+ columns: [
89
+ { name: 'title', options: { width: '220px', order: 1 } },
90
+ { name: 'description', options: { width: '280px', order: 2 } },
91
+ ],
92
+ interfaces: {
93
+ master: {
94
+ create: {
95
+ sections,
96
+ properties: propertyLayouts,
97
+ },
98
+ update: {
99
+ sections,
100
+ properties: propertyLayouts,
101
+ },
102
+ single: {
103
+ title: '{{ title }}',
104
+ sections,
105
+ properties: propertyLayouts,
106
+ actions: [...(0, entity_1.entityMasterRecordActions)()],
107
+ },
108
+ list: {
109
+ actions: [...(0, entity_1.entityMasterCrudActions)()],
110
+ views: [
111
+ (0, entity_1.createAllQueryView)({
112
+ sorts: [{ name: 'title', dir: 'asc' }],
113
+ }),
114
+ ],
115
+ },
116
+ },
117
+ },
118
+ };
119
+ return entityDef;
120
+ });
121
+ }
122
+ //#endregion
123
+ //# sourceMappingURL=education-level.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"education-level.entity.js","sourceRoot":"","sources":["../../../../../../../libs/modules/person-core/server/contracts/src/entities/education-level/education-level.entity.ts"],"names":[],"mappings":";;AASA,sDAiHC;;AA1HD,iEAAwE;AACxE,qEAA6I;AAC7I,+BAA+B;AAC/B,mDAA+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KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;gBACxD,EAAE,IAAI,EAAE,aAAa,EAAE,OAAO,EAAE,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;aAC/D;YACD,UAAU,EAAE;gBACV,MAAM,EAAE;oBACN,MAAM,EAAE;wBACN,QAAQ;wBACR,UAAU,EAAE,eAAe;qBAC5B;oBACD,MAAM,EAAE;wBACN,QAAQ;wBACR,UAAU,EAAE,eAAe;qBAC5B;oBACD,MAAM,EAAE;wBACN,KAAK,EAAE,aAAa;wBACpB,QAAQ;wBACR,UAAU,EAAE,eAAe;wBAC3B,OAAO,EAAE,CAAC,GAAG,IAAA,kCAAyB,GAAE,CAAC;qBAC1C;oBACD,IAAI,EAAE;wBACJ,OAAO,EAAE,CAAC,GAAG,IAAA,gCAAuB,GAAE,CAAC;wBACvC,KAAK,EAAE;4BACL,IAAA,2BAAkB,EAAC;gCACjB,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC;6BACvC,CAAC;yBACH;qBACF;iBACF;aACF;SACF,CAAC;QAEF,OAAO,SAAS,CAAC;IACnB,CAAC;CAAA;AAED,YAAY"}
@@ -0,0 +1,6 @@
1
+ import { AXPMultiLanguageString } from '@acorex-platform/framework-shared/core';
2
+ export interface AXMPersonCoreEducationLevelEntityModel {
3
+ id: string;
4
+ title: AXPMultiLanguageString;
5
+ description?: AXPMultiLanguageString | null;
6
+ }
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //#endregion
4
+ //# sourceMappingURL=education-level.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"education-level.types.js","sourceRoot":"","sources":["../../../../../../../libs/modules/person-core/server/contracts/src/entities/education-level/education-level.types.ts"],"names":[],"mappings":";;AASA,YAAY"}
@@ -0,0 +1,2 @@
1
+ export * from './education-level.entity';
2
+ export * from './education-level.types';
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./education-level.entity"), exports);
5
+ tslib_1.__exportStar(require("./education-level.types"), exports);
6
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../libs/modules/person-core/server/contracts/src/entities/education-level/index.ts"],"names":[],"mappings":";;;AAAA,mEAAyC;AACzC,kEAAwC"}
@@ -0,0 +1,2 @@
1
+ import { AXPEntity } from '@acorex-platform/framework-shared/entity';
2
+ export declare function genderFactory(): Promise<AXPEntity>;
@@ -0,0 +1,123 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.genderFactory = genderFactory;
4
+ const tslib_1 = require("tslib");
5
+ const core_1 = require("@acorex-platform/framework-shared/core");
6
+ const entity_1 = require("@acorex-platform/framework-shared/entity");
7
+ //#region ---- Imports ----
8
+ const root_config_1 = require("../../root-config");
9
+ //#endregion
10
+ //#region ---- Entity Factory ----
11
+ function genderFactory() {
12
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
13
+ const sections = [{ id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } }];
14
+ const propertyLayouts = [
15
+ { name: 'title', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },
16
+ { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },
17
+ ];
18
+ const entityDef = {
19
+ module: root_config_1.RootConfig.module.name,
20
+ name: root_config_1.RootConfig.entities.gender.name,
21
+ title: root_config_1.RootConfig.entities.gender.title,
22
+ icon: root_config_1.RootConfig.entities.gender.icon,
23
+ formats: {
24
+ individual: root_config_1.RootConfig.entities.gender.title,
25
+ plural: root_config_1.RootConfig.entities.gender.titlePlural,
26
+ searchResult: {
27
+ title: '{{ title }}',
28
+ description: root_config_1.RootConfig.module.title,
29
+ },
30
+ },
31
+ plugins: [{ name: 'history' }, { name: 'compare' }, { name: 'clone' }],
32
+ groups: [
33
+ {
34
+ id: 'basic-info',
35
+ title: '@person-core:genders.entities.gender.groups.basic-info',
36
+ },
37
+ ],
38
+ properties: [
39
+ {
40
+ name: 'id',
41
+ title: '@general:terms.common.id',
42
+ groupId: 'basic-info',
43
+ schema: {
44
+ dataType: 'uuid',
45
+ visible: false,
46
+ readonly: true,
47
+ unique: { enabled: true },
48
+ },
49
+ },
50
+ {
51
+ name: 'title',
52
+ title: '@general:terms.common.title',
53
+ groupId: 'basic-info',
54
+ options: {
55
+ sort: { enabled: true },
56
+ filter: {
57
+ advance: { enabled: true },
58
+ inline: { enabled: true },
59
+ },
60
+ },
61
+ schema: {
62
+ dataType: 'string',
63
+ interface: {
64
+ type: core_1.AXPWidgetsList.Editors.TextBox,
65
+ options: {
66
+ placeholder: '@person-core:genders.entities.gender.fields.title.placeholder',
67
+ },
68
+ },
69
+ },
70
+ validations: [{ rule: 'required' }],
71
+ },
72
+ {
73
+ name: 'description',
74
+ title: '@general:terms.common.description',
75
+ groupId: 'basic-info',
76
+ schema: {
77
+ dataType: 'string',
78
+ interface: {
79
+ type: core_1.AXPWidgetsList.Editors.LargeTextBox,
80
+ options: {
81
+ rows: 3,
82
+ placeholder: '@person-core:genders.entities.gender.fields.description.placeholder',
83
+ },
84
+ },
85
+ },
86
+ },
87
+ ],
88
+ columns: [
89
+ { name: 'title', options: { width: '220px', order: 1 } },
90
+ { name: 'description', options: { width: '280px', order: 2 } },
91
+ ],
92
+ interfaces: {
93
+ master: {
94
+ create: {
95
+ sections,
96
+ properties: propertyLayouts,
97
+ },
98
+ update: {
99
+ sections,
100
+ properties: propertyLayouts,
101
+ },
102
+ single: {
103
+ title: '{{ title }}',
104
+ sections,
105
+ properties: propertyLayouts,
106
+ actions: [...(0, entity_1.entityMasterRecordActions)()],
107
+ },
108
+ list: {
109
+ actions: [...(0, entity_1.entityMasterCrudActions)()],
110
+ views: [
111
+ (0, entity_1.createAllQueryView)({
112
+ sorts: [{ name: 'title', dir: 'asc' }],
113
+ }),
114
+ ],
115
+ },
116
+ },
117
+ },
118
+ };
119
+ return entityDef;
120
+ });
121
+ }
122
+ //#endregion
123
+ //# sourceMappingURL=gender.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gender.entity.js","sourceRoot":"","sources":["../../../../../../../libs/modules/person-core/server/contracts/src/entities/gender/gender.entity.ts"],"names":[],"mappings":";;AASA,sCA+GC;;AAxHD,iEAAwE;AACxE,qEAA6I;AAC7I,+BAA+B;AAC/B,mDAA+C;AAE/C,YAAY;AAEZ,sCAAsC;AAEtC,SAAsB,aAAa;;QACjC,MAAM,QAAQ,GAAG,CAAC,EAAE,EAAE,EAAE,YAAY,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;QAExF,MAAM,eAAe,GAAG;YACtB,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE;YAC3E,EAAE,IAAI,EAAE,aAAa,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE;SAClF,CAAC;QAEF,MAAM,SAAS,GAAc;YAC3B,MAAM,EAAE,wBAAU,CAAC,MAAM,CAAC,IAAI;YAC9B,IAAI,EAAE,wBAAU,CAAC,QAAQ,CAAC,MAAM,CAAC,IAAI;YACrC,KAAK,EAAE,wBAAU,CAAC,QAAQ,CAAC,MAAM,CAAC,KAAK;YACvC,IAAI,EAAE,wBAAU,CAAC,QAAQ,CAAC,MAAM,CAAC,IAAI;YACrC,OAAO,EAAE;g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+ export interface AXMPersonCoreGenderEntityModel {
3
+ id: string;
4
+ title: AXPMultiLanguageString;
5
+ description?: AXPMultiLanguageString | null;
6
+ }
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //#endregion
4
+ //# sourceMappingURL=gender.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gender.types.js","sourceRoot":"","sources":["../../../../../../../libs/modules/person-core/server/contracts/src/entities/gender/gender.types.ts"],"names":[],"mappings":";;AASA,YAAY"}
@@ -0,0 +1,2 @@
1
+ export * from './gender.entity';
2
+ export * from './gender.types';
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./gender.entity"), exports);
5
+ tslib_1.__exportStar(require("./gender.types"), exports);
6
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../libs/modules/person-core/server/contracts/src/entities/gender/index.ts"],"names":[],"mappings":";;;AAAA,0DAAgC;AAChC,yDAA+B"}
@@ -0,0 +1,10 @@
1
+ export * from './contact-assignment';
2
+ export * from './contact-role';
3
+ export * from './education-level';
4
+ export * from './gender';
5
+ export * from './marital-status';
6
+ export * from './person';
7
+ export * from './person-identifier-type';
8
+ export * from './person-relationship';
9
+ export * from './person-title';
10
+ export * from './religion';
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./contact-assignment"), exports);
5
+ tslib_1.__exportStar(require("./contact-role"), exports);
6
+ tslib_1.__exportStar(require("./education-level"), exports);
7
+ tslib_1.__exportStar(require("./gender"), exports);
8
+ tslib_1.__exportStar(require("./marital-status"), exports);
9
+ tslib_1.__exportStar(require("./person"), exports);
10
+ tslib_1.__exportStar(require("./person-identifier-type"), exports);
11
+ tslib_1.__exportStar(require("./person-relationship"), exports);
12
+ tslib_1.__exportStar(require("./person-title"), exports);
13
+ tslib_1.__exportStar(require("./religion"), exports);
14
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../libs/modules/person-core/server/contracts/src/entities/index.ts"],"names":[],"mappings":";;;AAAA,+DAAqC;AACrC,yDAA+B;AAC/B,4DAAkC;AAClC,mDAAyB;AACzB,2DAAiC;AACjC,mDAAyB;AACzB,mEAAyC;AACzC,gEAAsC;AACtC,yDAA+B;AAC/B,qDAA2B"}
@@ -0,0 +1,2 @@
1
+ export * from './marital-status.entity';
2
+ export * from './marital-status.types';
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./marital-status.entity"), exports);
5
+ tslib_1.__exportStar(require("./marital-status.types"), exports);
6
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../libs/modules/person-core/server/contracts/src/entities/marital-status/index.ts"],"names":[],"mappings":";;;AAAA,kEAAwC;AACxC,iEAAuC"}
@@ -0,0 +1,2 @@
1
+ import { AXPEntity } from '@acorex-platform/framework-shared/entity';
2
+ export declare function maritalStatusFactory(): Promise<AXPEntity>;
@@ -0,0 +1,123 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.maritalStatusFactory = maritalStatusFactory;
4
+ const tslib_1 = require("tslib");
5
+ const core_1 = require("@acorex-platform/framework-shared/core");
6
+ const entity_1 = require("@acorex-platform/framework-shared/entity");
7
+ //#region ---- Imports ----
8
+ const root_config_1 = require("../../root-config");
9
+ //#endregion
10
+ //#region ---- Entity Factory ----
11
+ function maritalStatusFactory() {
12
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
13
+ const sections = [{ id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } }];
14
+ const propertyLayouts = [
15
+ { name: 'title', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },
16
+ { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },
17
+ ];
18
+ const entityDef = {
19
+ module: root_config_1.RootConfig.module.name,
20
+ name: root_config_1.RootConfig.entities.maritalStatus.name,
21
+ title: root_config_1.RootConfig.entities.maritalStatus.title,
22
+ icon: root_config_1.RootConfig.entities.maritalStatus.icon,
23
+ formats: {
24
+ individual: root_config_1.RootConfig.entities.maritalStatus.title,
25
+ plural: root_config_1.RootConfig.entities.maritalStatus.titlePlural,
26
+ searchResult: {
27
+ title: '{{ title }}',
28
+ description: root_config_1.RootConfig.module.title,
29
+ },
30
+ },
31
+ plugins: [{ name: 'history' }, { name: 'compare' }, { name: 'clone' }],
32
+ groups: [
33
+ {
34
+ id: 'basic-info',
35
+ title: '@person-core:marital-statuses.entities.marital-status.groups.basic-info',
36
+ },
37
+ ],
38
+ properties: [
39
+ {
40
+ name: 'id',
41
+ title: '@general:terms.common.id',
42
+ groupId: 'basic-info',
43
+ schema: {
44
+ dataType: 'uuid',
45
+ visible: false,
46
+ readonly: true,
47
+ unique: { enabled: true },
48
+ },
49
+ },
50
+ {
51
+ name: 'title',
52
+ title: '@general:terms.common.title',
53
+ groupId: 'basic-info',
54
+ options: {
55
+ sort: { enabled: true },
56
+ filter: {
57
+ advance: { enabled: true },
58
+ inline: { enabled: true },
59
+ },
60
+ },
61
+ schema: {
62
+ dataType: 'string',
63
+ interface: {
64
+ type: core_1.AXPWidgetsList.Editors.TextBox,
65
+ options: {
66
+ placeholder: '@person-core:marital-statuses.entities.marital-status.fields.title.placeholder',
67
+ },
68
+ },
69
+ },
70
+ validations: [{ rule: 'required' }],
71
+ },
72
+ {
73
+ name: 'description',
74
+ title: '@general:terms.common.description',
75
+ groupId: 'basic-info',
76
+ schema: {
77
+ dataType: 'string',
78
+ interface: {
79
+ type: core_1.AXPWidgetsList.Editors.LargeTextBox,
80
+ options: {
81
+ rows: 3,
82
+ placeholder: '@person-core:marital-statuses.entities.marital-status.fields.description.placeholder',
83
+ },
84
+ },
85
+ },
86
+ },
87
+ ],
88
+ columns: [
89
+ { name: 'title', options: { width: '220px', order: 1 } },
90
+ { name: 'description', options: { width: '280px', order: 2 } },
91
+ ],
92
+ interfaces: {
93
+ master: {
94
+ create: {
95
+ sections,
96
+ properties: propertyLayouts,
97
+ },
98
+ update: {
99
+ sections,
100
+ properties: propertyLayouts,
101
+ },
102
+ single: {
103
+ title: '{{ title }}',
104
+ sections,
105
+ properties: propertyLayouts,
106
+ actions: [...(0, entity_1.entityMasterRecordActions)()],
107
+ },
108
+ list: {
109
+ actions: [...(0, entity_1.entityMasterCrudActions)()],
110
+ views: [
111
+ (0, entity_1.createAllQueryView)({
112
+ sorts: [{ name: 'title', dir: 'asc' }],
113
+ }),
114
+ ],
115
+ },
116
+ },
117
+ },
118
+ };
119
+ return entityDef;
120
+ });
121
+ }
122
+ //#endregion
123
+ //# sourceMappingURL=marital-status.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"marital-status.entity.js","sourceRoot":"","sources":["../../../../../../../libs/modules/person-core/server/contracts/src/entities/marital-status/marital-status.entity.ts"],"names":[],"mappings":";;AASA,oDAiHC;;AA1HD,iEAAwE;AACxE,qEAA6I;AAC7I,+BAA+B;AAC/B,mDAA+C;AAE/C,YAAY;AAEZ,sCAAsC;AAEtC,SAAsB,oBAAoB;;QACxC,MAAM,QAAQ,GAAG,CAAC,EAAE,EAAE,EAAE,YAAY,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;QAExF,MAAM,eAAe,GAAG;YACtB,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,EAA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,KAAK,EAAE,aAAa;wBACpB,QAAQ;wBACR,UAAU,EAAE,eAAe;wBAC3B,OAAO,EAAE,CAAC,GAAG,IAAA,kCAAyB,GAAE,CAAC;qBAC1C;oBACD,IAAI,EAAE;wBACJ,OAAO,EAAE,CAAC,GAAG,IAAA,gCAAuB,GAAE,CAAC;wBACvC,KAAK,EAAE;4BACL,IAAA,2BAAkB,EAAC;gCACjB,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC;6BACvC,CAAC;yBACH;qBACF;iBACF;aACF;SACF,CAAC;QAEF,OAAO,SAAS,CAAC;IACnB,CAAC;CAAA;AAED,YAAY"}
@@ -0,0 +1,6 @@
1
+ import { AXPMultiLanguageString } from '@acorex-platform/framework-shared/core';
2
+ export interface AXMPersonCoreMaritalStatusEntityModel {
3
+ id: string;
4
+ title: AXPMultiLanguageString;
5
+ description?: AXPMultiLanguageString | null;
6
+ }
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //#endregion
4
+ //# sourceMappingURL=marital-status.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"marital-status.types.js","sourceRoot":"","sources":["../../../../../../../libs/modules/person-core/server/contracts/src/entities/marital-status/marital-status.types.ts"],"names":[],"mappings":";;AASA,YAAY"}
@@ -0,0 +1,2 @@
1
+ export * from './person.entity';
2
+ export * from './person.types';
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./person.entity"), exports);
5
+ tslib_1.__exportStar(require("./person.types"), exports);
6
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../libs/modules/person-core/server/contracts/src/entities/person/index.ts"],"names":[],"mappings":";;;AAAA,0DAAgC;AAChC,yDAA+B"}
@@ -0,0 +1,2 @@
1
+ import { AXPEntity } from '@acorex-platform/framework-shared/entity';
2
+ export declare function personFactory(): Promise<AXPEntity>;