@acorex-platform/module-person-core-client 0.0.37 → 0.0.46

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 (59) hide show
  1. package/fesm2022/acorex-platform-module-person-core-client-contracts-entities-contact-assignment.mjs +13 -0
  2. package/fesm2022/acorex-platform-module-person-core-client-contracts-entities-contact-assignment.mjs.map +1 -1
  3. package/fesm2022/acorex-platform-module-person-core-client-contracts-entities-contact-role.mjs +13 -0
  4. package/fesm2022/acorex-platform-module-person-core-client-contracts-entities-contact-role.mjs.map +1 -1
  5. package/fesm2022/acorex-platform-module-person-core-client-contracts-entities-education-level.mjs +12 -0
  6. package/fesm2022/acorex-platform-module-person-core-client-contracts-entities-education-level.mjs.map +1 -1
  7. package/fesm2022/acorex-platform-module-person-core-client-contracts-entities-gender.mjs +12 -0
  8. package/fesm2022/acorex-platform-module-person-core-client-contracts-entities-gender.mjs.map +1 -1
  9. package/fesm2022/acorex-platform-module-person-core-client-contracts-entities-marital-status.mjs +12 -0
  10. package/fesm2022/acorex-platform-module-person-core-client-contracts-entities-marital-status.mjs.map +1 -1
  11. package/fesm2022/acorex-platform-module-person-core-client-contracts-entities-person-identifier-type.mjs +12 -0
  12. package/fesm2022/acorex-platform-module-person-core-client-contracts-entities-person-identifier-type.mjs.map +1 -1
  13. package/fesm2022/acorex-platform-module-person-core-client-contracts-entities-person-relationship.mjs +13 -0
  14. package/fesm2022/acorex-platform-module-person-core-client-contracts-entities-person-relationship.mjs.map +1 -1
  15. package/fesm2022/acorex-platform-module-person-core-client-contracts-entities-person-title.mjs +13 -0
  16. package/fesm2022/acorex-platform-module-person-core-client-contracts-entities-person-title.mjs.map +1 -1
  17. package/fesm2022/acorex-platform-module-person-core-client-contracts-entities-person.mjs +15 -0
  18. package/fesm2022/acorex-platform-module-person-core-client-contracts-entities-person.mjs.map +1 -1
  19. package/fesm2022/acorex-platform-module-person-core-client-contracts-entities-religion.mjs +12 -0
  20. package/fesm2022/acorex-platform-module-person-core-client-contracts-entities-religion.mjs.map +1 -1
  21. package/fesm2022/{acorex-platform-module-person-core-client-contracts-entity-catalog-acorex-platform-module-person-core-client-contracts-entity-catalog-CJmzbjJI.mjs → acorex-platform-module-person-core-client-contracts-entity-catalog-acorex-platform-module-person-core-client-contracts-entity-catalog-BudiPH5C.mjs} +11 -11
  22. package/fesm2022/{acorex-platform-module-person-core-client-contracts-entity-catalog-acorex-platform-module-person-core-client-contracts-entity-catalog-CJmzbjJI.mjs.map → acorex-platform-module-person-core-client-contracts-entity-catalog-acorex-platform-module-person-core-client-contracts-entity-catalog-BudiPH5C.mjs.map} +1 -1
  23. package/fesm2022/{acorex-platform-module-person-core-client-contracts-entity-catalog-contact-assignment.entity-BtVczZ89.mjs → acorex-platform-module-person-core-client-contracts-entity-catalog-contact-assignment.entity-cj21gvhQ.mjs} +15 -2
  24. package/fesm2022/acorex-platform-module-person-core-client-contracts-entity-catalog-contact-assignment.entity-cj21gvhQ.mjs.map +1 -0
  25. package/fesm2022/{acorex-platform-module-person-core-client-contracts-entity-catalog-contact-role.entity-uqPhUsRm.mjs → acorex-platform-module-person-core-client-contracts-entity-catalog-contact-role.entity-BS0lN1zu.mjs} +15 -2
  26. package/fesm2022/acorex-platform-module-person-core-client-contracts-entity-catalog-contact-role.entity-BS0lN1zu.mjs.map +1 -0
  27. package/fesm2022/{acorex-platform-module-person-core-client-contracts-entity-catalog-education-level.entity-C1pz4Bh2.mjs → acorex-platform-module-person-core-client-contracts-entity-catalog-education-level.entity-OrJSPMzn.mjs} +14 -2
  28. package/fesm2022/acorex-platform-module-person-core-client-contracts-entity-catalog-education-level.entity-OrJSPMzn.mjs.map +1 -0
  29. package/fesm2022/{acorex-platform-module-person-core-client-contracts-entity-catalog-gender.entity-BaoSo66c.mjs → acorex-platform-module-person-core-client-contracts-entity-catalog-gender.entity-B6iWEpwq.mjs} +14 -2
  30. package/fesm2022/acorex-platform-module-person-core-client-contracts-entity-catalog-gender.entity-B6iWEpwq.mjs.map +1 -0
  31. package/fesm2022/{acorex-platform-module-person-core-client-contracts-entity-catalog-marital-status.entity-NdZ6U6Ue.mjs → acorex-platform-module-person-core-client-contracts-entity-catalog-marital-status.entity-CmfEmi9G.mjs} +14 -2
  32. package/fesm2022/acorex-platform-module-person-core-client-contracts-entity-catalog-marital-status.entity-CmfEmi9G.mjs.map +1 -0
  33. package/fesm2022/{acorex-platform-module-person-core-client-contracts-entity-catalog-person-identifier-type.entity-D_XVLaZw.mjs → acorex-platform-module-person-core-client-contracts-entity-catalog-person-identifier-type.entity-CGBi9Dku.mjs} +14 -2
  34. package/fesm2022/acorex-platform-module-person-core-client-contracts-entity-catalog-person-identifier-type.entity-CGBi9Dku.mjs.map +1 -0
  35. package/fesm2022/{acorex-platform-module-person-core-client-contracts-entity-catalog-person-relationship.entity-Bt_Y9UTE.mjs → acorex-platform-module-person-core-client-contracts-entity-catalog-person-relationship.entity-BMx4zs9J.mjs} +15 -2
  36. package/fesm2022/acorex-platform-module-person-core-client-contracts-entity-catalog-person-relationship.entity-BMx4zs9J.mjs.map +1 -0
  37. package/fesm2022/{acorex-platform-module-person-core-client-contracts-entity-catalog-person-title.entity-B5jB67Eh.mjs → acorex-platform-module-person-core-client-contracts-entity-catalog-person-title.entity-D1avJhsn.mjs} +15 -2
  38. package/fesm2022/acorex-platform-module-person-core-client-contracts-entity-catalog-person-title.entity-D1avJhsn.mjs.map +1 -0
  39. package/fesm2022/{acorex-platform-module-person-core-client-contracts-entity-catalog-person.entity-Bx2b-wa4.mjs → acorex-platform-module-person-core-client-contracts-entity-catalog-person.entity-BcPhYZNc.mjs} +17 -2
  40. package/fesm2022/acorex-platform-module-person-core-client-contracts-entity-catalog-person.entity-BcPhYZNc.mjs.map +1 -0
  41. package/fesm2022/{acorex-platform-module-person-core-client-contracts-entity-catalog-religion.entity-BUHOGYxG.mjs → acorex-platform-module-person-core-client-contracts-entity-catalog-religion.entity-B6LSVXca.mjs} +14 -2
  42. package/fesm2022/acorex-platform-module-person-core-client-contracts-entity-catalog-religion.entity-B6LSVXca.mjs.map +1 -0
  43. package/fesm2022/acorex-platform-module-person-core-client-contracts-entity-catalog.mjs +1 -1
  44. package/fesm2022/acorex-platform-module-person-core-client-contracts.mjs +21 -1
  45. package/fesm2022/acorex-platform-module-person-core-client-contracts.mjs.map +1 -1
  46. package/fesm2022/acorex-platform-module-person-core-client.mjs +1 -31
  47. package/fesm2022/acorex-platform-module-person-core-client.mjs.map +1 -1
  48. package/package.json +2 -2
  49. package/types/acorex-platform-module-person-core-client-contracts.d.ts +8 -2
  50. package/fesm2022/acorex-platform-module-person-core-client-contracts-entity-catalog-contact-assignment.entity-BtVczZ89.mjs.map +0 -1
  51. package/fesm2022/acorex-platform-module-person-core-client-contracts-entity-catalog-contact-role.entity-uqPhUsRm.mjs.map +0 -1
  52. package/fesm2022/acorex-platform-module-person-core-client-contracts-entity-catalog-education-level.entity-C1pz4Bh2.mjs.map +0 -1
  53. package/fesm2022/acorex-platform-module-person-core-client-contracts-entity-catalog-gender.entity-BaoSo66c.mjs.map +0 -1
  54. package/fesm2022/acorex-platform-module-person-core-client-contracts-entity-catalog-marital-status.entity-NdZ6U6Ue.mjs.map +0 -1
  55. package/fesm2022/acorex-platform-module-person-core-client-contracts-entity-catalog-person-identifier-type.entity-D_XVLaZw.mjs.map +0 -1
  56. package/fesm2022/acorex-platform-module-person-core-client-contracts-entity-catalog-person-relationship.entity-Bt_Y9UTE.mjs.map +0 -1
  57. package/fesm2022/acorex-platform-module-person-core-client-contracts-entity-catalog-person-title.entity-B5jB67Eh.mjs.map +0 -1
  58. package/fesm2022/acorex-platform-module-person-core-client-contracts-entity-catalog-person.entity-Bx2b-wa4.mjs.map +0 -1
  59. package/fesm2022/acorex-platform-module-person-core-client-contracts-entity-catalog-religion.entity-BUHOGYxG.mjs.map +0 -1
@@ -1,6 +1,6 @@
1
1
  import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';
2
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';
3
+ import { R as RootConfig } from './acorex-platform-module-person-core-client-contracts-entity-catalog-acorex-platform-module-person-core-client-contracts-entity-catalog-BudiPH5C.mjs';
4
4
 
5
5
  //#endregion
6
6
  //#region ---- Entity Factory ----
@@ -15,6 +15,19 @@ async function personTitleFactory() {
15
15
  name: RootConfig.entities.personTitle.name,
16
16
  title: RootConfig.entities.personTitle.title,
17
17
  icon: RootConfig.entities.personTitle.icon,
18
+ searchTags: [
19
+ 'person-title',
20
+ 'salutation',
21
+ 'honorific',
22
+ 'Mr Mrs Dr',
23
+ 'person prefix',
24
+ 'reference title',
25
+ 'عنوان شخص',
26
+ 'عناوین شخص',
27
+ 'آقا',
28
+ 'خانم',
29
+ 'دکتر',
30
+ ],
18
31
  formats: {
19
32
  individual: RootConfig.entities.personTitle.title,
20
33
  plural: RootConfig.entities.personTitle.titlePlural,
@@ -116,4 +129,4 @@ async function personTitleFactory() {
116
129
  //#endregion
117
130
 
118
131
  export { personTitleFactory };
119
- //# sourceMappingURL=acorex-platform-module-person-core-client-contracts-entity-catalog-person-title.entity-B5jB67Eh.mjs.map
132
+ //# sourceMappingURL=acorex-platform-module-person-core-client-contracts-entity-catalog-person-title.entity-D1avJhsn.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-person-core-client-contracts-entity-catalog-person-title.entity-D1avJhsn.mjs","sources":["../../../../libs/modules/person-core/contracts/src/entities/person-title/person-title.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 personTitleFactory(): 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.personTitle.name,\n title: RootConfig.entities.personTitle.title,\n icon: RootConfig.entities.personTitle.icon,\n searchTags: [\n 'person-title',\n 'salutation',\n 'honorific',\n 'Mr Mrs Dr',\n 'person prefix',\n 'reference title',\n 'عنوان شخص',\n 'عناوین شخص',\n 'آقا',\n 'خانم',\n 'دکتر',\n ],\n formats: {\n individual: RootConfig.entities.personTitle.title,\n plural: RootConfig.entities.personTitle.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:person-titles.entities.person-title.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:person-titles.entities.person-title.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:person-titles.entities.person-title.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,kBAAkB,GAAA;IACtC,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;AAEvF,IAAA,MAAM,eAAe,GAAG;QACtB,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;QAC3E,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;KAClF;AAED,IAAA,MAAM,SAAS,GAAc;AAC3B,QAAA,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC9B,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI;AAC1C,QAAA,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC,WAAW,CAAC,KAAK;AAC5C,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI;AAC1C,QAAA,UAAU,EAAE;YACV,cAAc;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ACN,QAAQ;AACR,oBAAA,UAAU,EAAE,eAAe;AAC5B,iBAAA;AACD,gBAAA,MAAM,EAAE;AACN,oBAAA,KAAK,EAAE,aAAa;oBACpB,QAAQ;AACR,oBAAA,UAAU,EAAE,eAAe;AAC3B,oBAAA,OAAO,EAAE,CAAC,GAAG,yBAAyB,EAAE,CAAC;AAC1C,iBAAA;AACD,gBAAA,IAAI,EAAE;AACJ,oBAAA,OAAO,EAAE,CAAC,GAAG,uBAAuB,EAAE,CAAC;AACvC,oBAAA,KAAK,EAAE;AACL,wBAAA,kBAAkB,CAAC;4BACjB,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC;yBACvC,CAAC;AACH,qBAAA;AACF,iBAAA;AACF,aAAA;AACF,SAAA;KACF;AAED,IAAA,OAAO,SAAS;AAClB;AAEA;;"}
@@ -2,7 +2,7 @@ import { AXPWidgetsList, AXPWidgetsCatalog } from '@acorex-platform/framework-sh
2
2
  import { RootConfig } from '@acorex-platform/module-location-management-client/contracts';
3
3
  import { AXPRelationshipKind } from '@acorex-platform/framework-shared/domain';
4
4
  import { createAllQueryView, entityMasterCrudActions, entityMasterRecordActions, entityDetailsCrudActions } from '@acorex-platform/framework-shared/entity';
5
- import { R as RootConfig$1 } from './acorex-platform-module-person-core-client-contracts-entity-catalog-acorex-platform-module-person-core-client-contracts-entity-catalog-CJmzbjJI.mjs';
5
+ import { R as RootConfig$1 } from './acorex-platform-module-person-core-client-contracts-entity-catalog-acorex-platform-module-person-core-client-contracts-entity-catalog-BudiPH5C.mjs';
6
6
 
7
7
  //#endregion
8
8
  //#region ---- Repeater Children ----
@@ -40,6 +40,20 @@ async function personFactory() {
40
40
  name: RootConfig$1.entities.person.name,
41
41
  title: RootConfig$1.entities.person.title,
42
42
  icon: RootConfig$1.entities.person.icon,
43
+ searchTags: [
44
+ 'person',
45
+ 'individual',
46
+ 'contact profile',
47
+ 'full name',
48
+ 'birth date',
49
+ 'phone email address',
50
+ 'identity number',
51
+ 'demographics',
52
+ 'شخص',
53
+ 'اشخاص',
54
+ 'پروفایل',
55
+ 'اطلاعات فرد',
56
+ ],
43
57
  formats: {
44
58
  individual: RootConfig$1.entities.person.title,
45
59
  plural: RootConfig$1.entities.person.titlePlural,
@@ -67,6 +81,7 @@ async function personFactory() {
67
81
  ],
68
82
  },
69
83
  },
84
+ { name: 'integration-ref', options: { groupId: 'profile' } },
70
85
  ],
71
86
  groups: [
72
87
  {
@@ -486,4 +501,4 @@ async function personFactory() {
486
501
  //#endregion
487
502
 
488
503
  export { personFactory };
489
- //# sourceMappingURL=acorex-platform-module-person-core-client-contracts-entity-catalog-person.entity-Bx2b-wa4.mjs.map
504
+ //# sourceMappingURL=acorex-platform-module-person-core-client-contracts-entity-catalog-person.entity-BcPhYZNc.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-person-core-client-contracts-entity-catalog-person.entity-BcPhYZNc.mjs","sources":["../../../../libs/modules/person-core/contracts/src/entities/person/person.entity.ts"],"sourcesContent":["import { AXPWidgetsCatalog, AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport { RootConfig as LocationRootConfig } from '@acorex-platform/module-location-management-client/contracts';\nimport { AXPRelationshipKind } from '@acorex-platform/framework-shared/domain';\nimport { AXPEntity, createAllQueryView, entityDetailsCrudActions, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';\n//#region ---- Imports ----\nimport { RootConfig } from '../../root-config';\n\n//#endregion\n\n//#region ---- Repeater Children ----\n\nconst PHONES_REPEATER_CHILDREN = [\n {\n type: AXPWidgetsList.Editors.ContactBox,\n mode: 'edit' as const,\n options: { type: 'phone', placeholder: '@person-core:persons.entities.person.fields.phone.placeholder' },\n },\n];\n\nconst EMAILS_REPEATER_CHILDREN = [\n {\n type: AXPWidgetsList.Editors.ContactBox,\n mode: 'edit' as const,\n options: { type: 'email', placeholder: '@person-core:persons.entities.person.fields.email.placeholder' },\n },\n];\n\nconst LOCATION_ROLE_ENTITY = `${LocationRootConfig.module.name}.${LocationRootConfig.entities.locationRole.name}`;\n\nconst ADDRESSES_REPEATER_CHILDREN = [\n {\n type: AXPWidgetsList.Editors.AddressBox,\n mode: 'edit' as const,\n options: {\n mode: 'expandable',\n hasLabel: true,\n labelEntity: LOCATION_ROLE_ENTITY,\n },\n },\n];\n\n//#endregion\n\n//#region ---- Entity Factory ----\n\nexport async function personFactory(): Promise<AXPEntity> {\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.person.name,\n title: RootConfig.entities.person.title,\n icon: RootConfig.entities.person.icon,\n searchTags: [\n 'person',\n 'individual',\n 'contact profile',\n 'full name',\n 'birth date',\n 'phone email address',\n 'identity number',\n 'demographics',\n 'شخص',\n 'اشخاص',\n 'پروفایل',\n 'اطلاعات فرد',\n ],\n formats: {\n individual: RootConfig.entities.person.title,\n plural: RootConfig.entities.person.titlePlural,\n displayName: '@general:terms.common.profile',\n searchResult: {\n title: '{{ fullName }} ',\n description: '@person-core:persons.entities.person.search-result-description',\n },\n },\n plugins: [\n { name: 'history' },\n { name: 'archive' },\n {\n name: 'computed-property',\n options: {\n fields: [\n {\n name: 'fullName',\n title: '@general:terms.common.full-name',\n value: '{{ context.eval(\"firstName\") + \" \" + context.eval(\"lastName\") }}',\n group: { id: 'profile' },\n visible: false,\n showAs: { type: AXPWidgetsCatalog.text },\n },\n ],\n },\n },\n { name: 'integration-ref', options: { groupId: 'profile' } },\n ],\n groups: [\n {\n id: 'profile',\n title: '@person-core:persons.entities.person.groups.profile',\n icon: 'fa-light fa-user',\n },\n {\n id: 'image',\n title: '@person-core:persons.entities.person.groups.image',\n icon: 'fa-light fa-image',\n },\n {\n id: 'phones',\n title: '@person-core:persons.entities.person.groups.phones',\n icon: 'fa-light fa-phone',\n },\n {\n id: 'emails',\n title: '@person-core:persons.entities.person.groups.emails',\n icon: 'fa-light fa-envelope',\n },\n {\n id: 'addresses',\n title: '@person-core:persons.entities.person.groups.addresses',\n icon: 'fa-light fa-location-dot',\n },\n ],\n properties: [\n {\n name: 'personTitleId',\n title: '@person-core:persons.entities.person.fields.person-title.title',\n groupId: 'profile',\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.LookupBox,\n options: {\n entity: `${RootConfig.module.name}.${RootConfig.entities.personTitle.name}`,\n valueField: 'id',\n textField: 'title',\n look: 'select',\n allowCreate: 'quick',\n expose: [\n { source: 'id', target: 'personTitle.id' },\n { source: 'title', target: 'personTitle.title' },\n ],\n },\n },\n },\n },\n {\n name: 'firstName',\n title: '@general:terms.contact.first-name',\n groupId: 'profile',\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 },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'lastName',\n title: '@general:terms.contact.last-name',\n groupId: 'profile',\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 },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'birthDate',\n title: '@person-core:persons.entities.person.fields.birth-date.title',\n groupId: 'profile',\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n schema: {\n dataType: 'date',\n interface: {\n type: AXPWidgetsCatalog.dateTime,\n options: { format: 'date' },\n },\n },\n },\n {\n name: 'image',\n title: '@person-core:persons.entities.person.groups.image',\n groupId: 'image',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Advanced.Image,\n options: {\n type: 'profile-photo',\n },\n },\n },\n },\n {\n name: 'genderId',\n title: '@person-core:persons.entities.person.fields.gender.title',\n groupId: 'profile',\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.LookupBox,\n options: {\n entity: `${RootConfig.module.name}.${RootConfig.entities.gender.name}`,\n valueField: 'id',\n textField: 'title',\n look: 'select',\n allowCreate: 'quick',\n expose: [\n { source: 'id', target: 'gender.id' },\n { source: 'title', target: 'gender.title' },\n ],\n },\n },\n },\n },\n {\n name: 'identityNumber',\n title: '@person-core:persons.entities.person.fields.identity-number.title',\n groupId: 'profile',\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:persons.entities.person.fields.identity-number.placeholder',\n },\n },\n },\n },\n {\n name: 'userId',\n title: '@person-core:persons.entities.person.fields.user.title',\n groupId: 'profile',\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.LookupBox,\n options: {\n entity: 'SecurityManagement.User',\n valueField: 'id',\n textField: 'displayName',\n look: 'select',\n expose: [\n { source: 'id', target: 'user.id' },\n { source: 'displayName', target: 'user.displayName' },\n ],\n },\n },\n },\n },\n {\n name: 'maritalStatusId',\n title: '@person-core:persons.entities.person.fields.marital-status.title',\n groupId: 'profile',\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.LookupBox,\n options: {\n entity: `${RootConfig.module.name}.${RootConfig.entities.maritalStatus.name}`,\n valueField: 'id',\n textField: 'title',\n look: 'select',\n allowCreate: 'quick',\n expose: [\n { source: 'id', target: 'maritalStatus.id' },\n { source: 'title', target: 'maritalStatus.title' },\n ],\n },\n },\n },\n },\n {\n name: 'educationLevelId',\n title: '@person-core:persons.entities.person.fields.education-level.title',\n groupId: 'profile',\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.LookupBox,\n options: {\n entity: `${RootConfig.module.name}.${RootConfig.entities.educationLevel.name}`,\n valueField: 'id',\n textField: 'title',\n look: 'select',\n allowCreate: 'quick',\n expose: [\n { source: 'id', target: 'educationLevel.id' },\n { source: 'title', target: 'educationLevel.title' },\n ],\n },\n },\n },\n },\n {\n name: 'phones',\n title: '@person-core:persons.entities.person.groups.phones',\n groupId: 'phones',\n schema: {\n defaultValue: [],\n dataType: 'array',\n interface: {\n type: AXPWidgetsList.Layouts.RepeaterLayout,\n options: { hasControls: true },\n children: [...PHONES_REPEATER_CHILDREN],\n },\n },\n },\n {\n name: 'emails',\n title: '@person-core:persons.entities.person.groups.emails',\n groupId: 'emails',\n schema: {\n defaultValue: [],\n dataType: 'array',\n interface: {\n type: AXPWidgetsList.Layouts.RepeaterLayout,\n options: { hasControls: true },\n children: [...EMAILS_REPEATER_CHILDREN],\n },\n },\n },\n {\n name: 'addresses',\n title: '@person-core:persons.entities.person.groups.addresses',\n groupId: 'addresses',\n schema: {\n defaultValue: [],\n dataType: 'array',\n interface: {\n type: AXPWidgetsList.Layouts.RepeaterLayout,\n options: { hasControls: true },\n children: [...ADDRESSES_REPEATER_CHILDREN],\n },\n },\n },\n {\n name: 'integrationRef',\n title: '@person-core:persons.entities.person.fields.integration-ref.title',\n groupId: 'profile',\n schema: {\n dataType: 'object',\n visible: false,\n nullable: true,\n readonly: true,\n },\n },\n ],\n columns: [\n { name: 'firstName', options: { width: '200px' } },\n { name: 'lastName', options: { width: '200px' } },\n {\n name: 'fullName',\n showAs: { type: AXPWidgetsCatalog.text, options: { visible: false } },\n options: { width: '250px' },\n },\n { name: 'personTitleId', options: { dataPath: 'personTitle.title', visible: false } },\n { name: 'phones', options: { width: '200px' } },\n { name: 'emails', options: { width: '200px' } },\n { name: 'addresses', options: { width: '250px' } },\n { name: 'birthDate', options: { visible: false } },\n { name: 'genderId', options: { dataPath: 'gender.title', visible: false } },\n { name: 'identityNumber', options: { visible: false } },\n { name: 'userId', options: { visible: false } },\n { name: 'maritalStatusId', options: { dataPath: 'maritalStatus.title', visible: false } },\n { name: 'educationLevelId', options: { dataPath: 'educationLevel.title', visible: false } },\n ],\n relatedEntities: [\n {\n entity: `${RootConfig.module.name}.${RootConfig.entities.personRelationship.name}`,\n title: '@person-core:persons.entities.person.related-entities.relationships.title',\n columns: ['toPersonId', 'typeId', 'toPerson.phones', 'toPerson.emails'],\n conditions: [{ name: 'fromPersonId', operator: { type: 'equal' }, value: '{{ context.eval(\"id\") }}' }],\n persistence: {\n foreignKeyField: 'fromPersonId',\n kind: AXPRelationshipKind.Composition,\n onDelete: null,\n },\n actions: [...entityDetailsCrudActions('fromPersonId')],\n layout: { type: 'page-list', position: 'after', order: 1 },\n },\n ],\n interfaces: {\n master: {\n create: {\n sections: [\n { id: 'profile', order: 1, layout: { positions: { lg: { colSpan: 8, colStart: 1 } } } },\n { id: 'image', order: 2, layout: { positions: { lg: { colSpan: 4, colStart: 9 } } } },\n { id: 'phones', order: 5, layout: { positions: { lg: { colSpan: 6, colStart: 1 } } } },\n { id: 'emails', order: 6, layout: { positions: { lg: { colSpan: 6, colStart: 7 } } } },\n { id: 'addresses', order: 7, layout: { positions: { lg: { colSpan: 12, colStart: 1 } } } },\n ],\n properties: [\n { name: 'personTitleId', layout: { positions: { lg: { colSpan: 4, order: 0 } } } },\n { name: 'firstName', layout: { positions: { lg: { colSpan: 4, order: 1 } } } },\n { name: 'lastName', layout: { positions: { lg: { colSpan: 4, order: 2 } } } },\n { name: 'genderId', layout: { positions: { lg: { colSpan: 4, order: 3 } } } },\n { name: 'birthDate', layout: { positions: { lg: { colSpan: 4, order: 4 } } } },\n { name: 'identityNumber', layout: { positions: { lg: { colSpan: 4, order: 5 } } } },\n { name: 'maritalStatusId', layout: { positions: { lg: { colSpan: 6, order: 6 } } } },\n { name: 'educationLevelId', layout: { positions: { lg: { colSpan: 6, order: 7 } } } },\n { name: 'image', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 1 } } } },\n { name: 'phones', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 0 } } } },\n { name: 'emails', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 0 } } } },\n { name: 'addresses', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 0 } } } },\n ],\n quickCreate: {\n enabled: true,\n properties: ['firstName', 'lastName', 'code', 'phones', 'emails'],\n },\n },\n update: {\n sections: [\n { id: 'profile', layout: { positions: { lg: { colSpan: 8, colStart: 1 } } } },\n { id: 'image', layout: { positions: { lg: { colSpan: 4, colStart: 9 } } } },\n { id: 'phones', layout: { positions: { lg: { colSpan: 6, colStart: 1 } } } },\n { id: 'emails', layout: { positions: { lg: { colSpan: 6, colStart: 7 } } } },\n { id: 'addresses', layout: { positions: { lg: { colSpan: 12, colStart: 1 } } } },\n ],\n properties: [\n { name: 'personTitleId', layout: { positions: { lg: { colSpan: 4, order: 0 } } } },\n { name: 'firstName', layout: { positions: { lg: { colSpan: 4, order: 1 } } } },\n { name: 'lastName', layout: { positions: { lg: { colSpan: 4, order: 2 } } } },\n { name: 'genderId', layout: { positions: { lg: { colSpan: 4, order: 3 } } } },\n { name: 'birthDate', layout: { positions: { lg: { colSpan: 4, order: 4 } } } },\n { name: 'identityNumber', layout: { positions: { lg: { colSpan: 4, order: 5 } } } },\n { name: 'maritalStatusId', layout: { positions: { lg: { colSpan: 6, order: 6 } } } },\n { name: 'educationLevelId', layout: { positions: { lg: { colSpan: 6, order: 7 } } } },\n { name: 'image', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 1 } } } },\n { name: 'phones', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 0 } } } },\n { name: 'emails', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 0 } } } },\n { name: 'addresses', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 0 } } } },\n ],\n },\n single: {\n title: '{{ (context.eval(\"firstName\") ) + \" \" + (context.eval(\"lastName\") ) }}',\n sections: [\n { id: 'profile', order: 1, layout: { positions: { lg: { colSpan: 8, colStart: 1 } } } },\n { id: 'image', order: 2, layout: { positions: { lg: { colSpan: 4, colStart: 9 } } } },\n { id: 'phones', order: 5, layout: { positions: { lg: { colSpan: 6, colStart: 1 } } } },\n { id: 'emails', order: 6, layout: { positions: { lg: { colSpan: 6, colStart: 7 } } } },\n { id: 'addresses', order: 7, layout: { positions: { lg: { colSpan: 12, colStart: 1 } } } },\n ],\n properties: [\n { name: 'personTitleId', layout: { positions: { lg: { colSpan: 4, order: 0 } } } },\n { name: 'firstName', layout: { positions: { lg: { colSpan: 4, order: 1 } } } },\n { name: 'lastName', layout: { positions: { lg: { colSpan: 4, order: 2 } } } },\n { name: 'genderId', layout: { positions: { lg: { colSpan: 4, order: 3 } } } },\n { name: 'birthDate', layout: { positions: { lg: { colSpan: 4, order: 4 } } } },\n { name: 'identityNumber', layout: { positions: { lg: { colSpan: 4, order: 5 } } } },\n { name: 'maritalStatusId', layout: { positions: { lg: { colSpan: 6, order: 6 } } } },\n { name: 'educationLevelId', layout: { positions: { lg: { colSpan: 6, order: 7 } } } },\n { name: 'image', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 1 } } } },\n { name: 'phones', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 0 } } } },\n { name: 'emails', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 0 } } } },\n { name: 'addresses', layout: { label: { visible: false }, positions: { lg: { colSpan: 12, order: 0 } } } },\n ],\n actions: [...entityMasterRecordActions()],\n },\n list: {\n actions: [...entityMasterCrudActions()],\n views: [\n createAllQueryView({\n sorts: [{ name: 'firstName', dir: 'asc' }],\n }),\n ],\n },\n },\n },\n };\n\n return entityDef;\n}\n\n//#endregion\n"],"names":["LocationRootConfig","RootConfig"],"mappings":";;;;;;AAOA;AAEA;AAEA,MAAM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,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE;AAC3G,qBAAA;AACD,oBAAA,OAAO,EAAE,CAAC,GAAG,yBAAyB,EAAE,CAAC;AAC1C,iBAAA;AACD,gBAAA,IAAI,EAAE;AACJ,oBAAA,OAAO,EAAE,CAAC,GAAG,uBAAuB,EAAE,CAAC;AACvC,oBAAA,KAAK,EAAE;AACL,wBAAA,kBAAkB,CAAC;4BACjB,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC;yBAC3C,CAAC;AACH,qBAAA;AACF,iBAAA;AACF,aAAA;AACF,SAAA;KACF;AAED,IAAA,OAAO,SAAS;AAClB;AAEA;;"}
@@ -1,6 +1,6 @@
1
1
  import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';
2
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';
3
+ import { R as RootConfig } from './acorex-platform-module-person-core-client-contracts-entity-catalog-acorex-platform-module-person-core-client-contracts-entity-catalog-BudiPH5C.mjs';
4
4
 
5
5
  //#endregion
6
6
  //#region ---- Entity Factory ----
@@ -15,6 +15,18 @@ async function religionFactory() {
15
15
  name: RootConfig.entities.religion.name,
16
16
  title: RootConfig.entities.religion.title,
17
17
  icon: RootConfig.entities.religion.icon,
18
+ searchTags: [
19
+ 'religion',
20
+ 'faith',
21
+ 'belief reference',
22
+ 'demographic catalog',
23
+ 'person profile',
24
+ 'reference data',
25
+ 'دین',
26
+ 'ادیان',
27
+ 'مسیحیت',
28
+ 'اسلام',
29
+ ],
18
30
  formats: {
19
31
  individual: RootConfig.entities.religion.title,
20
32
  plural: RootConfig.entities.religion.titlePlural,
@@ -116,4 +128,4 @@ async function religionFactory() {
116
128
  //#endregion
117
129
 
118
130
  export { religionFactory };
119
- //# sourceMappingURL=acorex-platform-module-person-core-client-contracts-entity-catalog-religion.entity-BUHOGYxG.mjs.map
131
+ //# sourceMappingURL=acorex-platform-module-person-core-client-contracts-entity-catalog-religion.entity-B6LSVXca.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-person-core-client-contracts-entity-catalog-religion.entity-B6LSVXca.mjs","sources":["../../../../libs/modules/person-core/contracts/src/entities/religion/religion.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 religionFactory(): 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.religion.name,\n title: RootConfig.entities.religion.title,\n icon: RootConfig.entities.religion.icon,\n searchTags: [\n 'religion',\n 'faith',\n 'belief reference',\n 'demographic catalog',\n 'person profile',\n 'reference data',\n 'دین',\n 'ادیان',\n 'مسیحیت',\n 'اسلام',\n ],\n formats: {\n individual: RootConfig.entities.religion.title,\n plural: RootConfig.entities.religion.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:religions.entities.religion.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:religions.entities.religion.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:religions.entities.religion.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,eAAe,GAAA;IACnC,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;AAEvF,IAAA,MAAM,eAAe,GAAG;QACtB,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,E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AACP,4BAAA,IAAI,EAAE,CAAC;AACP,4BAAA,WAAW,EAAE,yEAAyE;AACvF,yBAAA;AACF,qBAAA;AACF,iBAAA;AACF,aAAA;AACF,SAAA;AACD,QAAA,OAAO,EAAE;AACP,YAAA,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;AACxD,YAAA,EAAE,IAAI,EAAE,aAAa,EAAE,OAAO,EAAE,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;AAC/D,SAAA;AACD,QAAA,UAAU,EAAE;AACV,YAAA,MAAM,EAAE;AACN,gBAAA,MAAM,EAAE;oBACN,QAAQ;AACR,oBAAA,UAAU,EAAE,eAAe;AAC5B,iBAAA;AACD,gBAAA,MAAM,EAAE;oBACN,QAAQ;AACR,oBAAA,UAAU,EAAE,eAAe;AAC5B,iBAAA;AACD,gBAAA,MAAM,EAAE;AACN,oBAAA,KAAK,EAAE,aAAa;oBACpB,QAAQ;AACR,oBAAA,UAAU,EAAE,eAAe;AAC3B,oBAAA,OAAO,EAAE,CAAC,GAAG,yBAAyB,EAAE,CAAC;AAC1C,iBAAA;AACD,gBAAA,IAAI,EAAE;AACJ,oBAAA,OAAO,EAAE,CAAC,GAAG,uBAAuB,EAAE,CAAC;AACvC,oBAAA,KAAK,EAAE;AACL,wBAAA,kBAAkB,CAAC;4BACjB,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC;yBACvC,CAAC;AACH,qBAAA;AACF,iBAAA;AACF,aAAA;AACF,SAAA;KACF;AAED,IAAA,OAAO,SAAS;AAClB;AAEA;;"}
@@ -1,2 +1,2 @@
1
- export { p as personCoreLocalEntityCatalog } from './acorex-platform-module-person-core-client-contracts-entity-catalog-acorex-platform-module-person-core-client-contracts-entity-catalog-CJmzbjJI.mjs';
1
+ export { p as personCoreLocalEntityCatalog } from './acorex-platform-module-person-core-client-contracts-entity-catalog-acorex-platform-module-person-core-client-contracts-entity-catalog-BudiPH5C.mjs';
2
2
  //# sourceMappingURL=acorex-platform-module-person-core-client-contracts-entity-catalog.mjs.map
@@ -339,6 +339,26 @@ function personRelationshipDetailsCreateActions(parentId) {
339
339
  }
340
340
  //#endregion
341
341
 
342
+ //#region ---- Imports ----
343
+ //#endregion
344
+ //#region ---- Manifest Definition ----
345
+ /**
346
+ * Person Core Module Manifest.
347
+ * Defines module metadata for shared person/demographic reference data.
348
+ */
349
+ const PersonCoreManifest = {
350
+ name: RootConfig.module.name,
351
+ version: '1.0.0',
352
+ title: RootConfig.module.title,
353
+ icon: RootConfig.module.icon,
354
+ i18n: RootConfig.config.i18n,
355
+ type: 'platform',
356
+ domain: 'platform',
357
+ dependencies: ['LocationManagement'],
358
+ required: true,
359
+ };
360
+ //#endregion
361
+
342
362
  //#endregion
343
363
 
344
364
  //#endregion
@@ -361,5 +381,5 @@ function personRelationshipDetailsCreateActions(parentId) {
361
381
  * Generated bundle index. Do not edit.
362
382
  */
363
383
 
364
- export { AXMPersonCoreMenuKeys, AXMPersonCorePermissionKeys, AXPPeopleOrganizationPermissionKeys, RootConfig, buildContactAssignmentPersonSnapshot, contactAssignmentDetailsCrudActionsForPartyContext, contactAssignmentPartyConditions, personRelationshipDetailsCreateActions, personRelationshipMasterCreateAction, resolveContactAssignmentPartyContext, resolveContactAssignmentPartyDisplayTitle };
384
+ export { AXMPersonCoreMenuKeys, AXMPersonCorePermissionKeys, AXPPeopleOrganizationPermissionKeys, PersonCoreManifest, RootConfig, buildContactAssignmentPersonSnapshot, contactAssignmentDetailsCrudActionsForPartyContext, contactAssignmentPartyConditions, personRelationshipDetailsCreateActions, personRelationshipMasterCreateAction, resolveContactAssignmentPartyContext, resolveContactAssignmentPartyDisplayTitle };
365
385
  //# sourceMappingURL=acorex-platform-module-person-core-client-contracts.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-platform-module-person-core-client-contracts.mjs","sources":["../../../../libs/modules/person-core/contracts/src/menu.keys.ts","../../../../libs/modules/person-core/contracts/src/permission.keys.ts","../../../../libs/modules/person-core/contracts/src/root-config.ts","../../../../libs/modules/person-core/contracts/src/contact-assignment.actions.ts","../../../../libs/modules/person-core/contracts/src/contact-assignment.utils.ts","../../../../libs/modules/person-core/contracts/src/person-relationship.actions.ts","../../../../libs/modules/person-core/contracts/src/entities/contact-assignment/contact-assignment.types.ts","../../../../libs/modules/person-core/contracts/src/entities/contact-role/contact-role.types.ts","../../../../libs/modules/person-core/contracts/src/entities/education-level/education-level.types.ts","../../../../libs/modules/person-core/contracts/src/entities/gender/gender.types.ts","../../../../libs/modules/person-core/contracts/src/entities/marital-status/marital-status.types.ts","../../../../libs/modules/person-core/contracts/src/entities/person-identifier-type/person-identifier-type.types.ts","../../../../libs/modules/person-core/contracts/src/entities/person-title/person-title.types.ts","../../../../libs/modules/person-core/contracts/src/entities/religion/religion.types.ts","../../../../libs/modules/person-core/contracts/src/index.ts","../../../../libs/modules/person-core/contracts/src/acorex-platform-module-person-core-client-contracts.ts"],"sourcesContent":["export const AXMPersonCoreMenuKeys = {\n Root: 'person-core',\n Persons: 'person-core.persons',\n PersonRelationships: 'person-core.person-relationships',\n EducationLevels: 'person-core.education-levels',\n Genders: 'person-core.genders',\n MaritalStatuses: 'person-core.marital-statuses',\n PersonTitles: 'person-core.person-titles',\n PersonIdentifierTypes: 'person-core.person-identifier-types',\n Religions: 'person-core.religions',\n ContactRoles: 'person-core.contact-roles',\n} as const;\n","/**\n * People & Organization capabilities used by this module.\n * Domain capability keys for this module. Root groups live in `AXPCommonPermissionGroupKeys` (common contracts).\n */\nexport const AXPPeopleOrganizationPermissionKeys = {\n Access: 'PeopleOrganization:Permission:Access',\n ViewOrganization: 'PeopleOrganization:Permission:ViewOrganization',\n MaintainOrganization: 'PeopleOrganization:Permission:MaintainOrganization',\n MaintainTeams: 'PeopleOrganization:Permission:MaintainTeams',\n MaintainEmployees: 'PeopleOrganization:Permission:MaintainEmployees',\n ManageEmployeeActions: 'PeopleOrganization:Permission:ManageEmployeeActions',\n MaintainPersons: 'PeopleOrganization:Permission:MaintainPersons',\n MaintainAttendance: 'PeopleOrganization:Permission:MaintainAttendance',\n ManageAttendanceActions: 'PeopleOrganization:Permission:ManageAttendanceActions',\n DesignJobs: 'PeopleOrganization:Permission:DesignJobs',\n Setup: 'PeopleOrganization:Permission:Setup',\n} as const;\n\n/**\n * @deprecated Prefer {@link AXPPeopleOrganizationPermissionKeys}.\n * Legacy nested shape kept so existing imports compile during migration.\n */\nexport const AXMPersonCorePermissionKeys = {\n PersonCore: {\n Person: {\n Management: AXPPeopleOrganizationPermissionKeys.MaintainPersons,\n },\n EducationLevel: {\n Management: AXPPeopleOrganizationPermissionKeys.Setup,\n },\n Gender: {\n Management: AXPPeopleOrganizationPermissionKeys.Setup,\n },\n MaritalStatus: {\n Management: AXPPeopleOrganizationPermissionKeys.Setup,\n },\n PersonTitle: {\n Management: AXPPeopleOrganizationPermissionKeys.Setup,\n },\n PersonIdentifierType: {\n Management: AXPPeopleOrganizationPermissionKeys.Setup,\n },\n PersonRelationship: {\n Management: AXPPeopleOrganizationPermissionKeys.Setup,\n },\n Religion: {\n Management: AXPPeopleOrganizationPermissionKeys.Setup,\n },\n ContactRole: {\n Management: AXPPeopleOrganizationPermissionKeys.Setup,\n },\n },\n} as const;\n","const config = {\n i18n: 'person-core',\n module: 'PersonCore',\n};\n\nexport const RootConfig = {\n config,\n module: {\n name: config.module,\n title: `@${config.i18n}:module.title`,\n icon: 'fa-light fa-user',\n },\n entities: {\n person: {\n name: 'Person',\n title: `@${config.i18n}:persons.entities.person.title`,\n titlePlural: `@${config.i18n}:persons.entities.person.plural`,\n icon: 'fa-light fa-user',\n },\n educationLevel: {\n name: 'EducationLevel',\n title: `@${config.i18n}:education-levels.entities.education-level.title`,\n titlePlural: `@${config.i18n}:education-levels.entities.education-level.plural`,\n icon: 'fa-light fa-graduation-cap',\n },\n gender: {\n name: 'Gender',\n title: `@${config.i18n}:genders.entities.gender.title`,\n titlePlural: `@${config.i18n}:genders.entities.gender.plural`,\n icon: 'fa-light fa-venus-mars',\n },\n maritalStatus: {\n name: 'MaritalStatus',\n title: `@${config.i18n}:marital-statuses.entities.marital-status.title`,\n titlePlural: `@${config.i18n}:marital-statuses.entities.marital-status.plural`,\n icon: 'fa-light fa-ring',\n },\n personTitle: {\n name: 'PersonTitle',\n title: `@${config.i18n}:person-titles.entities.person-title.title`,\n titlePlural: `@${config.i18n}:person-titles.entities.person-title.plural`,\n icon: 'fa-light fa-user-tie',\n },\n personIdentifierType: {\n name: 'PersonIdentifierType',\n title: `@${config.i18n}:person-identifier-types.entities.person-identifier-type.title`,\n titlePlural: `@${config.i18n}:person-identifier-types.entities.person-identifier-type.plural`,\n icon: 'fa-light fa-id-card',\n },\n religion: {\n name: 'Religion',\n title: `@${config.i18n}:religions.entities.religion.title`,\n titlePlural: `@${config.i18n}:religions.entities.religion.plural`,\n icon: 'fa-light fa-place-of-worship',\n },\n contactRole: {\n name: 'ContactRole',\n title: `@${config.i18n}:contact-roles.entities.contact-role.title`,\n titlePlural: `@${config.i18n}:contact-roles.entities.contact-role.plural`,\n icon: 'fa-light fa-user-tag',\n },\n personRelationship: {\n name: 'PersonRelationship',\n title: `@${config.i18n}:person-relationships.entities.person-relationship.title`,\n titlePlural: `@${config.i18n}:person-relationships.entities.person-relationship.plural`,\n icon: 'fa-light fa-link',\n },\n contactAssignment: {\n name: 'ContactAssignment',\n title: `@${config.i18n}:contact-assignments.entities.contact-assignment.title`,\n titlePlural: `@${config.i18n}:contact-assignments.entities.contact-assignment.plural`,\n icon: 'fa-light fa-address-book',\n },\n },\n} as const;\n","import { AXPSystemActionType } from '@acorex-platform/framework-shared/core';\nimport {\n AXPEntityAction,\n AXPEntityCommandScope,\n AXPQueryFilter,\n entityDetailsEditAction,\n entityMasterCreateAction,\n entityOverrideDetailsViewAction,\n} from '@acorex-platform/framework-shared/entity';\n\nimport { RootConfig } from './root-config';\n\n//#region ---- Command keys ----\n\nconst ASSIGN_EXISTING_PERSON = `${RootConfig.module.name}.${RootConfig.entities.contactAssignment.name}:AssignExistingPerson`;\nconst CREATE_WITH_NEW_PERSON = `${RootConfig.module.name}.${RootConfig.entities.contactAssignment.name}:CreateWithNewPerson`;\n\n//#endregion\n\n//#region ---- Contact assignment related-entity actions ----\n\nconst partyProcessOptions = (partyIdContextPath = 'id') => ({\n process: {\n redirect: false,\n canCreateNewOne: true,\n data: {\n partyId: `{{ context.eval(\"${partyIdContextPath}\") }}`,\n 'party.title': '{{ context.eval(\"title\") }}',\n },\n },\n});\n\n/**\n * Filters ContactAssignment rows for the current row context (Party record, or Party merge-detail under Customer).\n */\nexport function contactAssignmentPartyConditions(partyIdContextPath = 'id'): AXPQueryFilter[] {\n return [\n {\n name: 'partyId',\n operator: { type: 'equal' },\n value: `{{ context.eval(\"${partyIdContextPath}\") }}`,\n },\n ];\n}\n\nfunction contactAssignmentPartyCreateAction(partyIdContextPath = 'id'): AXPEntityAction {\n const partyOptions = partyProcessOptions(partyIdContextPath);\n\n return {\n name: 'Create',\n title: '@general:actions.create.title',\n command: { name: 'Entity:Create' },\n icon: 'fa-light fa-plus',\n priority: 'primary',\n type: AXPSystemActionType.Create,\n scope: AXPEntityCommandScope.TypeLevel,\n items: [\n {\n name: 'AssignExistingPerson',\n title: '@person-core:contact-assignments.actions.assign-existing-person.title',\n command: { name: ASSIGN_EXISTING_PERSON, options: partyOptions },\n icon: 'fa-light fa-user-magnifying-glass',\n priority: 'primary',\n type: AXPSystemActionType.Create,\n scope: AXPEntityCommandScope.TypeLevel,\n },\n {\n name: 'CreateWithNewPerson',\n title: '@person-core:contact-assignments.actions.create-with-new-person.title',\n command: { name: CREATE_WITH_NEW_PERSON, options: partyOptions },\n icon: 'fa-light fa-user-plus',\n priority: 'primary',\n type: AXPSystemActionType.Create,\n scope: AXPEntityCommandScope.TypeLevel,\n },\n ],\n };\n}\n\n/**\n * Actions for ContactAssignment when shown from Party/Customer/Supplier.\n * Create menu: assign existing person or create new person with party prefilled.\n */\nexport function contactAssignmentDetailsCrudActionsForPartyContext(\n partyIdContextPath = 'id',\n): AXPEntityAction[] {\n return [\n { ...entityMasterCreateAction(), hidden: true },\n contactAssignmentPartyCreateAction(partyIdContextPath),\n entityDetailsEditAction(),\n entityOverrideDetailsViewAction(),\n ];\n}\n\n//#endregion\n","//#region ---- Imports ----\n\nimport {\n resolveMultiLanguageString,\n type AXPMultiLanguageString,\n} from '@acorex-platform/framework-shared/core';\nimport { get } from 'lodash';\n\n//#endregion\n\n//#region ---- Display helpers ----\n\n/** Resolves party display title from host/process data (plain string or multi-language object). */\nexport function resolveContactAssignmentPartyDisplayTitle(locale: string, ...candidates: unknown[]): string {\n for (const candidate of candidates) {\n if (candidate == null || candidate === '') {\n continue;\n }\n\n const resolved = resolveMultiLanguageString(\n candidate as string | AXPMultiLanguageString | null | undefined,\n locale,\n ).trim();\n if (resolved) {\n return resolved;\n }\n }\n\n return '';\n}\n\n//#endregion\n\n//#region ---- Context helpers ----\n\n/** Builds a person snapshot for nested ContactAssignment display fields. */\nexport function buildContactAssignmentPersonSnapshot(\n personRow: Record<string, unknown>,\n personId: string,\n): { id: string; fullName?: string; phones?: unknown; emails?: unknown } {\n const fullName =\n (personRow['fullName'] as string | undefined) ??\n [personRow['firstName'], personRow['lastName']].filter(Boolean).join(' ').trim();\n\n return {\n id: personId,\n fullName: fullName || undefined,\n phones: personRow['phones'],\n emails: personRow['emails'],\n };\n}\n\n/** Resolves partyId and display title from command process/host payload. */\nexport function resolveContactAssignmentPartyContext(\n processData: Record<string, unknown>,\n locale: string,\n): { partyId: string; partyTitle: string } {\n const nestedParty = get(processData, 'party') as { id?: string; title?: unknown } | undefined;\n\n return {\n partyId: (processData['partyId'] as string) ?? nestedParty?.id ?? '',\n partyTitle: resolveContactAssignmentPartyDisplayTitle(\n locale,\n processData['party.title'],\n nestedParty?.title,\n get(processData, 'title'),\n ),\n };\n}\n\n//#endregion\n","import { AXPSystemActionType } from '@acorex-platform/framework-shared/core';\nimport { AXPEntityAction, AXPEntityCommandScope, entityDetailsEditAction, entityOverrideDetailsViewAction } from '@acorex-platform/framework-shared/entity';\n\nimport { RootConfig } from './root-config';\n\n//#region ---- Person relationship actions ----\n\nconst CREATE_WITH_EXISTING = `${RootConfig.module.name}.PersonRelationship:CreateWithExistingPerson`;\nconst CREATE_WITH_NEW = `${RootConfig.module.name}.PersonRelationship:CreateWithNewPerson`;\n\nconst fromPersonIdOptions = (parentId: string) => ({\n process: {\n redirect: false,\n canCreateNewOne: true,\n data: {\n [parentId]: '{{context.eval(\"id\")}}',\n },\n },\n});\n\n/**\n * Create action with submenu for Person Relationship entity (master list).\n */\nexport function personRelationshipMasterCreateAction(): AXPEntityAction {\n return {\n name: 'Create',\n title: '@general:actions.create.title',\n command: { name: `${RootConfig.module.name}.PersonRelationship:Create` },\n icon: 'fa-light fa-plus',\n priority: 'primary',\n type: AXPSystemActionType.Create,\n scope: AXPEntityCommandScope.TypeLevel,\n items: [\n {\n name: 'CreateWithExistingPerson',\n title: '@person-core:person-relationships.actions.choose-existing-person.title',\n command: { name: CREATE_WITH_EXISTING },\n icon: 'fa-light fa-user-magnifying-glass',\n priority: 'primary',\n type: AXPSystemActionType.Create,\n scope: AXPEntityCommandScope.TypeLevel,\n },\n {\n name: 'CreateWithNewPerson',\n title: '@person-core:person-relationships.actions.create-new-person.title',\n command: { name: CREATE_WITH_NEW },\n icon: 'fa-light fa-user-plus',\n priority: 'primary',\n type: AXPSystemActionType.Create,\n scope: AXPEntityCommandScope.TypeLevel,\n },\n ],\n };\n}\n\n/**\n * Create action with submenu for Person Relationship when shown as related entity (e.g. in Person details).\n * Injects fromPersonId from parent context.\n */\nexport function personRelationshipDetailsCreateActions(parentId: string): AXPEntityAction[] {\n const createAction: AXPEntityAction = {\n ...personRelationshipMasterCreateAction(),\n items: [\n {\n name: 'CreateWithExistingPerson',\n title: '@person-core:person-relationships.actions.choose-existing-person.title',\n command: {\n name: CREATE_WITH_EXISTING,\n options: fromPersonIdOptions(parentId),\n },\n icon: 'fa-light fa-user-magnifying-glass',\n priority: 'primary',\n type: AXPSystemActionType.Create,\n scope: AXPEntityCommandScope.TypeLevel,\n },\n {\n name: 'CreateWithNewPerson',\n title: '@person-core:person-relationships.actions.create-new-person.title',\n command: {\n name: CREATE_WITH_NEW,\n options: fromPersonIdOptions(parentId),\n },\n icon: 'fa-light fa-user-plus',\n priority: 'primary',\n type: AXPSystemActionType.Create,\n scope: AXPEntityCommandScope.TypeLevel,\n },\n ],\n };\n\n return [createAction, entityDetailsEditAction(), entityOverrideDetailsViewAction()];\n}\n\n//#endregion\n","import type { AXPMultiLanguageString } from '@acorex-platform/framework-shared/core';\nimport { AXPEntityModel } from '@acorex-platform/framework-shared/entity';\n\n//#region ---- Types ----\n\nexport interface AXMPersonCoreContactAssignmentEntityModel extends AXPEntityModel<string> {\n partyId: string;\n personId: string;\n roleId: string;\n party?: { id: string; title: AXPMultiLanguageString };\n person?: { id: string; fullName?: string; phones?: unknown[]; emails?: unknown[] };\n role?: { id: string; title: AXPMultiLanguageString };\n}\n\n//#endregion\n","import { AXPMultiLanguageString } from '@acorex-platform/framework-shared/core';\n\n//#region ---- ContactRole Model ----\n\nexport interface AXMPersonCoreContactRoleEntityModel {\n id: string;\n title: AXPMultiLanguageString;\n description?: AXPMultiLanguageString | null;\n /**\n * ContactRole id used when mirroring a PersonRelationship edge.\n * Symmetric roles point at themselves (e.g. spouse → spouse).\n * Asymmetric pairs point at each other (e.g. mother → child, employs → employee).\n * Omit when no automatic reverse should be created (e.g. child has no unique parent role).\n */\n inverseTypeId?: string | null;\n}\n\n//#endregion\n","import { AXPMultiLanguageString } from '@acorex-platform/framework-shared/core';\n//#region ---- Education Level Model ----\n\nexport interface AXMPersonCoreEducationLevelEntityModel {\n id: string;\n title: AXPMultiLanguageString;\n description?: AXPMultiLanguageString | null;\n}\n\n//#endregion\n","import { AXPMultiLanguageString } from '@acorex-platform/framework-shared/core';\n//#region ---- Gender Model ----\n\nexport interface AXMPersonCoreGenderEntityModel {\n id: string;\n title: AXPMultiLanguageString;\n description?: AXPMultiLanguageString | null;\n}\n\n//#endregion\n","import { AXPMultiLanguageString } from '@acorex-platform/framework-shared/core';\n//#region ---- Marital Status Model ----\n\nexport interface AXMPersonCoreMaritalStatusEntityModel {\n id: string;\n title: AXPMultiLanguageString;\n description?: AXPMultiLanguageString | null;\n}\n\n//#endregion\n","import { AXPMultiLanguageString } from '@acorex-platform/framework-shared/core';\n//#region ---- Person Identifier Type Model ----\n\nexport interface AXMPersonCorePersonIdentifierTypeEntityModel {\n id: string;\n title: AXPMultiLanguageString;\n description?: AXPMultiLanguageString | null;\n scope: 'global' | 'national' | 'regional';\n formatRegex?: string | null;\n minLength?: number | null;\n maxLength?: number | null;\n isUnique: boolean;\n}\n\n//#endregion\n","import { AXPMultiLanguageString } from '@acorex-platform/framework-shared/core';\n//#region ---- Person Title Model ----\n\nexport interface AXMPersonCorePersonTitleEntityModel {\n id: string;\n title: AXPMultiLanguageString;\n description?: AXPMultiLanguageString | null;\n}\n\n//#endregion\n","import { AXPMultiLanguageString } from '@acorex-platform/framework-shared/core';\n//#region ---- Religion Model ----\n\nexport interface AXMPersonCoreReligionEntityModel {\n id: string;\n title: AXPMultiLanguageString;\n description?: AXPMultiLanguageString | null;\n}\n\n//#endregion\n","//#region ---- Contracts barrel ----\n\nexport * from './menu.keys';\nexport * from './permission.keys';\nexport * from './contact-assignment.actions';\nexport * from './contact-assignment.utils';\nexport * from './person-relationship.actions';\n\nexport * from './root-config';\n\n//#endregion\n\nexport * from './entities';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAAO,MAAM,qBAAqB,GAAG;AACnC,IAAA,IAAI,EAAE,aAAa;AACnB,IAAA,OAAO,EAAE,qBAAqB;AAC9B,IAAA,mBAAmB,EAAE,kCAAkC;AACvD,IA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BAAA,QAAQ,EAAE,SAAS;gBACnB,IAAI,EAAE,mBAAmB,CAAC,MAAM;gBAChC,KAAK,EAAE,qBAAqB,CAAC,SAAS;AACvC,aAAA;AACF,SAAA;KACF;IAED,OAAO,CAAC,YAAY,EAAE,uBAAuB,EAAE,EAAE,+BAA+B,EAAE,CAAC;AACrF;AAEA;;AC/EA;;ACGA;;ACRA;;ACAA;;ACAA;;ACKA;;ACLA;;ACAA;;ACTA;;ACAA;;AAEG;;"}
1
+ {"version":3,"file":"acorex-platform-module-person-core-client-contracts.mjs","sources":["../../../../libs/modules/person-core/contracts/src/menu.keys.ts","../../../../libs/modules/person-core/contracts/src/permission.keys.ts","../../../../libs/modules/person-core/contracts/src/root-config.ts","../../../../libs/modules/person-core/contracts/src/contact-assignment.actions.ts","../../../../libs/modules/person-core/contracts/src/contact-assignment.utils.ts","../../../../libs/modules/person-core/contracts/src/person-relationship.actions.ts","../../../../libs/modules/person-core/contracts/src/manifest.ts","../../../../libs/modules/person-core/contracts/src/entities/contact-assignment/contact-assignment.types.ts","../../../../libs/modules/person-core/contracts/src/entities/contact-role/contact-role.types.ts","../../../../libs/modules/person-core/contracts/src/entities/education-level/education-level.types.ts","../../../../libs/modules/person-core/contracts/src/entities/gender/gender.types.ts","../../../../libs/modules/person-core/contracts/src/entities/marital-status/marital-status.types.ts","../../../../libs/modules/person-core/contracts/src/entities/person-identifier-type/person-identifier-type.types.ts","../../../../libs/modules/person-core/contracts/src/entities/person-title/person-title.types.ts","../../../../libs/modules/person-core/contracts/src/entities/religion/religion.types.ts","../../../../libs/modules/person-core/contracts/src/index.ts","../../../../libs/modules/person-core/contracts/src/acorex-platform-module-person-core-client-contracts.ts"],"sourcesContent":["export const AXMPersonCoreMenuKeys = {\n Root: 'person-core',\n Persons: 'person-core.persons',\n PersonRelationships: 'person-core.person-relationships',\n EducationLevels: 'person-core.education-levels',\n Genders: 'person-core.genders',\n MaritalStatuses: 'person-core.marital-statuses',\n PersonTitles: 'person-core.person-titles',\n PersonIdentifierTypes: 'person-core.person-identifier-types',\n Religions: 'person-core.religions',\n ContactRoles: 'person-core.contact-roles',\n} as const;\n","/**\n * People & Organization capabilities used by this module.\n * Domain capability keys for this module. Root groups live in `AXPCommonPermissionGroupKeys` (common contracts).\n */\nexport const AXPPeopleOrganizationPermissionKeys = {\n Access: 'PeopleOrganization:Permission:Access',\n ViewOrganization: 'PeopleOrganization:Permission:ViewOrganization',\n MaintainOrganization: 'PeopleOrganization:Permission:MaintainOrganization',\n MaintainTeams: 'PeopleOrganization:Permission:MaintainTeams',\n MaintainEmployees: 'PeopleOrganization:Permission:MaintainEmployees',\n ManageEmployeeActions: 'PeopleOrganization:Permission:ManageEmployeeActions',\n MaintainPersons: 'PeopleOrganization:Permission:MaintainPersons',\n MaintainAttendance: 'PeopleOrganization:Permission:MaintainAttendance',\n ManageAttendanceActions: 'PeopleOrganization:Permission:ManageAttendanceActions',\n DesignJobs: 'PeopleOrganization:Permission:DesignJobs',\n Setup: 'PeopleOrganization:Permission:Setup',\n} as const;\n\n/**\n * @deprecated Prefer {@link AXPPeopleOrganizationPermissionKeys}.\n * Legacy nested shape kept so existing imports compile during migration.\n */\nexport const AXMPersonCorePermissionKeys = {\n PersonCore: {\n Person: {\n Management: AXPPeopleOrganizationPermissionKeys.MaintainPersons,\n },\n EducationLevel: {\n Management: AXPPeopleOrganizationPermissionKeys.Setup,\n },\n Gender: {\n Management: AXPPeopleOrganizationPermissionKeys.Setup,\n },\n MaritalStatus: {\n Management: AXPPeopleOrganizationPermissionKeys.Setup,\n },\n PersonTitle: {\n Management: AXPPeopleOrganizationPermissionKeys.Setup,\n },\n PersonIdentifierType: {\n Management: AXPPeopleOrganizationPermissionKeys.Setup,\n },\n PersonRelationship: {\n Management: AXPPeopleOrganizationPermissionKeys.Setup,\n },\n Religion: {\n Management: AXPPeopleOrganizationPermissionKeys.Setup,\n },\n ContactRole: {\n Management: AXPPeopleOrganizationPermissionKeys.Setup,\n },\n },\n} as const;\n","const config = {\n i18n: 'person-core',\n module: 'PersonCore',\n};\n\nexport const RootConfig = {\n config,\n module: {\n name: config.module,\n title: `@${config.i18n}:module.title`,\n icon: 'fa-light fa-user',\n },\n entities: {\n person: {\n name: 'Person',\n title: `@${config.i18n}:persons.entities.person.title`,\n titlePlural: `@${config.i18n}:persons.entities.person.plural`,\n icon: 'fa-light fa-user',\n },\n educationLevel: {\n name: 'EducationLevel',\n title: `@${config.i18n}:education-levels.entities.education-level.title`,\n titlePlural: `@${config.i18n}:education-levels.entities.education-level.plural`,\n icon: 'fa-light fa-graduation-cap',\n },\n gender: {\n name: 'Gender',\n title: `@${config.i18n}:genders.entities.gender.title`,\n titlePlural: `@${config.i18n}:genders.entities.gender.plural`,\n icon: 'fa-light fa-venus-mars',\n },\n maritalStatus: {\n name: 'MaritalStatus',\n title: `@${config.i18n}:marital-statuses.entities.marital-status.title`,\n titlePlural: `@${config.i18n}:marital-statuses.entities.marital-status.plural`,\n icon: 'fa-light fa-ring',\n },\n personTitle: {\n name: 'PersonTitle',\n title: `@${config.i18n}:person-titles.entities.person-title.title`,\n titlePlural: `@${config.i18n}:person-titles.entities.person-title.plural`,\n icon: 'fa-light fa-user-tie',\n },\n personIdentifierType: {\n name: 'PersonIdentifierType',\n title: `@${config.i18n}:person-identifier-types.entities.person-identifier-type.title`,\n titlePlural: `@${config.i18n}:person-identifier-types.entities.person-identifier-type.plural`,\n icon: 'fa-light fa-id-card',\n },\n religion: {\n name: 'Religion',\n title: `@${config.i18n}:religions.entities.religion.title`,\n titlePlural: `@${config.i18n}:religions.entities.religion.plural`,\n icon: 'fa-light fa-place-of-worship',\n },\n contactRole: {\n name: 'ContactRole',\n title: `@${config.i18n}:contact-roles.entities.contact-role.title`,\n titlePlural: `@${config.i18n}:contact-roles.entities.contact-role.plural`,\n icon: 'fa-light fa-user-tag',\n },\n personRelationship: {\n name: 'PersonRelationship',\n title: `@${config.i18n}:person-relationships.entities.person-relationship.title`,\n titlePlural: `@${config.i18n}:person-relationships.entities.person-relationship.plural`,\n icon: 'fa-light fa-link',\n },\n contactAssignment: {\n name: 'ContactAssignment',\n title: `@${config.i18n}:contact-assignments.entities.contact-assignment.title`,\n titlePlural: `@${config.i18n}:contact-assignments.entities.contact-assignment.plural`,\n icon: 'fa-light fa-address-book',\n },\n },\n} as const;\n","import { AXPSystemActionType } from '@acorex-platform/framework-shared/core';\nimport {\n AXPEntityAction,\n AXPEntityCommandScope,\n AXPQueryFilter,\n entityDetailsEditAction,\n entityMasterCreateAction,\n entityOverrideDetailsViewAction,\n} from '@acorex-platform/framework-shared/entity';\n\nimport { RootConfig } from './root-config';\n\n//#region ---- Command keys ----\n\nconst ASSIGN_EXISTING_PERSON = `${RootConfig.module.name}.${RootConfig.entities.contactAssignment.name}:AssignExistingPerson`;\nconst CREATE_WITH_NEW_PERSON = `${RootConfig.module.name}.${RootConfig.entities.contactAssignment.name}:CreateWithNewPerson`;\n\n//#endregion\n\n//#region ---- Contact assignment related-entity actions ----\n\nconst partyProcessOptions = (partyIdContextPath = 'id') => ({\n process: {\n redirect: false,\n canCreateNewOne: true,\n data: {\n partyId: `{{ context.eval(\"${partyIdContextPath}\") }}`,\n 'party.title': '{{ context.eval(\"title\") }}',\n },\n },\n});\n\n/**\n * Filters ContactAssignment rows for the current row context (Party record, or Party merge-detail under Customer).\n */\nexport function contactAssignmentPartyConditions(partyIdContextPath = 'id'): AXPQueryFilter[] {\n return [\n {\n name: 'partyId',\n operator: { type: 'equal' },\n value: `{{ context.eval(\"${partyIdContextPath}\") }}`,\n },\n ];\n}\n\nfunction contactAssignmentPartyCreateAction(partyIdContextPath = 'id'): AXPEntityAction {\n const partyOptions = partyProcessOptions(partyIdContextPath);\n\n return {\n name: 'Create',\n title: '@general:actions.create.title',\n command: { name: 'Entity:Create' },\n icon: 'fa-light fa-plus',\n priority: 'primary',\n type: AXPSystemActionType.Create,\n scope: AXPEntityCommandScope.TypeLevel,\n items: [\n {\n name: 'AssignExistingPerson',\n title: '@person-core:contact-assignments.actions.assign-existing-person.title',\n command: { name: ASSIGN_EXISTING_PERSON, options: partyOptions },\n icon: 'fa-light fa-user-magnifying-glass',\n priority: 'primary',\n type: AXPSystemActionType.Create,\n scope: AXPEntityCommandScope.TypeLevel,\n },\n {\n name: 'CreateWithNewPerson',\n title: '@person-core:contact-assignments.actions.create-with-new-person.title',\n command: { name: CREATE_WITH_NEW_PERSON, options: partyOptions },\n icon: 'fa-light fa-user-plus',\n priority: 'primary',\n type: AXPSystemActionType.Create,\n scope: AXPEntityCommandScope.TypeLevel,\n },\n ],\n };\n}\n\n/**\n * Actions for ContactAssignment when shown from Party/Customer/Supplier.\n * Create menu: assign existing person or create new person with party prefilled.\n */\nexport function contactAssignmentDetailsCrudActionsForPartyContext(\n partyIdContextPath = 'id',\n): AXPEntityAction[] {\n return [\n { ...entityMasterCreateAction(), hidden: true },\n contactAssignmentPartyCreateAction(partyIdContextPath),\n entityDetailsEditAction(),\n entityOverrideDetailsViewAction(),\n ];\n}\n\n//#endregion\n","//#region ---- Imports ----\n\nimport {\n resolveMultiLanguageString,\n type AXPMultiLanguageString,\n} from '@acorex-platform/framework-shared/core';\nimport { get } from 'lodash';\n\n//#endregion\n\n//#region ---- Display helpers ----\n\n/** Resolves party display title from host/process data (plain string or multi-language object). */\nexport function resolveContactAssignmentPartyDisplayTitle(locale: string, ...candidates: unknown[]): string {\n for (const candidate of candidates) {\n if (candidate == null || candidate === '') {\n continue;\n }\n\n const resolved = resolveMultiLanguageString(\n candidate as string | AXPMultiLanguageString | null | undefined,\n locale,\n ).trim();\n if (resolved) {\n return resolved;\n }\n }\n\n return '';\n}\n\n//#endregion\n\n//#region ---- Context helpers ----\n\n/** Builds a person snapshot for nested ContactAssignment display fields. */\nexport function buildContactAssignmentPersonSnapshot(\n personRow: Record<string, unknown>,\n personId: string,\n): { id: string; fullName?: string; phones?: unknown; emails?: unknown } {\n const fullName =\n (personRow['fullName'] as string | undefined) ??\n [personRow['firstName'], personRow['lastName']].filter(Boolean).join(' ').trim();\n\n return {\n id: personId,\n fullName: fullName || undefined,\n phones: personRow['phones'],\n emails: personRow['emails'],\n };\n}\n\n/** Resolves partyId and display title from command process/host payload. */\nexport function resolveContactAssignmentPartyContext(\n processData: Record<string, unknown>,\n locale: string,\n): { partyId: string; partyTitle: string } {\n const nestedParty = get(processData, 'party') as { id?: string; title?: unknown } | undefined;\n\n return {\n partyId: (processData['partyId'] as string) ?? nestedParty?.id ?? '',\n partyTitle: resolveContactAssignmentPartyDisplayTitle(\n locale,\n processData['party.title'],\n nestedParty?.title,\n get(processData, 'title'),\n ),\n };\n}\n\n//#endregion\n","import { AXPSystemActionType } from '@acorex-platform/framework-shared/core';\nimport { AXPEntityAction, AXPEntityCommandScope, entityDetailsEditAction, entityOverrideDetailsViewAction } from '@acorex-platform/framework-shared/entity';\n\nimport { RootConfig } from './root-config';\n\n//#region ---- Person relationship actions ----\n\nconst CREATE_WITH_EXISTING = `${RootConfig.module.name}.PersonRelationship:CreateWithExistingPerson`;\nconst CREATE_WITH_NEW = `${RootConfig.module.name}.PersonRelationship:CreateWithNewPerson`;\n\nconst fromPersonIdOptions = (parentId: string) => ({\n process: {\n redirect: false,\n canCreateNewOne: true,\n data: {\n [parentId]: '{{context.eval(\"id\")}}',\n },\n },\n});\n\n/**\n * Create action with submenu for Person Relationship entity (master list).\n */\nexport function personRelationshipMasterCreateAction(): AXPEntityAction {\n return {\n name: 'Create',\n title: '@general:actions.create.title',\n command: { name: `${RootConfig.module.name}.PersonRelationship:Create` },\n icon: 'fa-light fa-plus',\n priority: 'primary',\n type: AXPSystemActionType.Create,\n scope: AXPEntityCommandScope.TypeLevel,\n items: [\n {\n name: 'CreateWithExistingPerson',\n title: '@person-core:person-relationships.actions.choose-existing-person.title',\n command: { name: CREATE_WITH_EXISTING },\n icon: 'fa-light fa-user-magnifying-glass',\n priority: 'primary',\n type: AXPSystemActionType.Create,\n scope: AXPEntityCommandScope.TypeLevel,\n },\n {\n name: 'CreateWithNewPerson',\n title: '@person-core:person-relationships.actions.create-new-person.title',\n command: { name: CREATE_WITH_NEW },\n icon: 'fa-light fa-user-plus',\n priority: 'primary',\n type: AXPSystemActionType.Create,\n scope: AXPEntityCommandScope.TypeLevel,\n },\n ],\n };\n}\n\n/**\n * Create action with submenu for Person Relationship when shown as related entity (e.g. in Person details).\n * Injects fromPersonId from parent context.\n */\nexport function personRelationshipDetailsCreateActions(parentId: string): AXPEntityAction[] {\n const createAction: AXPEntityAction = {\n ...personRelationshipMasterCreateAction(),\n items: [\n {\n name: 'CreateWithExistingPerson',\n title: '@person-core:person-relationships.actions.choose-existing-person.title',\n command: {\n name: CREATE_WITH_EXISTING,\n options: fromPersonIdOptions(parentId),\n },\n icon: 'fa-light fa-user-magnifying-glass',\n priority: 'primary',\n type: AXPSystemActionType.Create,\n scope: AXPEntityCommandScope.TypeLevel,\n },\n {\n name: 'CreateWithNewPerson',\n title: '@person-core:person-relationships.actions.create-new-person.title',\n command: {\n name: CREATE_WITH_NEW,\n options: fromPersonIdOptions(parentId),\n },\n icon: 'fa-light fa-user-plus',\n priority: 'primary',\n type: AXPSystemActionType.Create,\n scope: AXPEntityCommandScope.TypeLevel,\n },\n ],\n };\n\n return [createAction, entityDetailsEditAction(), entityOverrideDetailsViewAction()];\n}\n\n//#endregion\n","//#region ---- Imports ----\n\nimport { AXPModuleManifest } from '@acorex-platform/framework-shared/core';\nimport { RootConfig } from './root-config';\n\n//#endregion\n\n//#region ---- Manifest Definition ----\n\n/**\n * Person Core Module Manifest.\n * Defines module metadata for shared person/demographic reference data.\n */\nexport const PersonCoreManifest: AXPModuleManifest = {\n name: RootConfig.module.name,\n version: '1.0.0',\n title: RootConfig.module.title,\n icon: RootConfig.module.icon,\n i18n: RootConfig.config.i18n,\n type: 'platform',\n domain: 'platform',\n dependencies: ['LocationManagement'],\n required: true,\n};\n\n//#endregion\n","import type { AXPMultiLanguageString } from '@acorex-platform/framework-shared/core';\nimport { AXPEntityModel } from '@acorex-platform/framework-shared/entity';\n\n//#region ---- Types ----\n\nexport interface AXMPersonCoreContactAssignmentEntityModel extends AXPEntityModel<string> {\n partyId: string;\n personId: string;\n roleId: string;\n party?: { id: string; title: AXPMultiLanguageString };\n person?: { id: string; fullName?: string; phones?: unknown[]; emails?: unknown[] };\n role?: { id: string; title: AXPMultiLanguageString };\n}\n\n//#endregion\n","import { AXPMultiLanguageString } from '@acorex-platform/framework-shared/core';\n\n//#region ---- ContactRole Model ----\n\nexport interface AXMPersonCoreContactRoleEntityModel {\n id: string;\n title: AXPMultiLanguageString;\n description?: AXPMultiLanguageString | null;\n /**\n * ContactRole id used when mirroring a PersonRelationship edge.\n * Symmetric roles point at themselves (e.g. spouse → spouse).\n * Asymmetric pairs point at each other (e.g. mother → child, employs → employee).\n * Omit when no automatic reverse should be created (e.g. child has no unique parent role).\n */\n inverseTypeId?: string | null;\n}\n\n//#endregion\n","import { AXPMultiLanguageString } from '@acorex-platform/framework-shared/core';\n//#region ---- Education Level Model ----\n\nexport interface AXMPersonCoreEducationLevelEntityModel {\n id: string;\n title: AXPMultiLanguageString;\n description?: AXPMultiLanguageString | null;\n}\n\n//#endregion\n","import { AXPMultiLanguageString } from '@acorex-platform/framework-shared/core';\n//#region ---- Gender Model ----\n\nexport interface AXMPersonCoreGenderEntityModel {\n id: string;\n title: AXPMultiLanguageString;\n description?: AXPMultiLanguageString | null;\n}\n\n//#endregion\n","import { AXPMultiLanguageString } from '@acorex-platform/framework-shared/core';\n//#region ---- Marital Status Model ----\n\nexport interface AXMPersonCoreMaritalStatusEntityModel {\n id: string;\n title: AXPMultiLanguageString;\n description?: AXPMultiLanguageString | null;\n}\n\n//#endregion\n","import { AXPMultiLanguageString } from '@acorex-platform/framework-shared/core';\n//#region ---- Person Identifier Type Model ----\n\nexport interface AXMPersonCorePersonIdentifierTypeEntityModel {\n id: string;\n title: AXPMultiLanguageString;\n description?: AXPMultiLanguageString | null;\n scope: 'global' | 'national' | 'regional';\n formatRegex?: string | null;\n minLength?: number | null;\n maxLength?: number | null;\n isUnique: boolean;\n}\n\n//#endregion\n","import { AXPMultiLanguageString } from '@acorex-platform/framework-shared/core';\n//#region ---- Person Title Model ----\n\nexport interface AXMPersonCorePersonTitleEntityModel {\n id: string;\n title: AXPMultiLanguageString;\n description?: AXPMultiLanguageString | null;\n}\n\n//#endregion\n","import { AXPMultiLanguageString } from '@acorex-platform/framework-shared/core';\n//#region ---- Religion Model ----\n\nexport interface AXMPersonCoreReligionEntityModel {\n id: string;\n title: AXPMultiLanguageString;\n description?: AXPMultiLanguageString | null;\n}\n\n//#endregion\n","//#region ---- Contracts barrel ----\n\nexport * from './menu.keys';\nexport * from './permission.keys';\nexport * from './contact-assignment.actions';\nexport * from './contact-assignment.utils';\nexport * from './person-relationship.actions';\n\nexport * from './root-config';\nexport * from './manifest';\n\n//#endregion\n\nexport * from './entities';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAAO,MAAM,qBAAqB,GAAG;AACnC,IAAA,IAAI,EAAE,aAAa;AACnB,IAAA,OAAO,EAAE,qBAAqB;AAC9B,IAAA,mBAAmB,EAAE,kCAAkC;AACvD,IAAA,eAAe,EAAE,8BAA8B;AAC/C,IAAA,OAAO,EAAE,qBAAqB;AAC9B,IAAA,eAAe,EAAE,8BAA8B;AAC/C,IAAA,YAAY,EAAE,2BAA2B;AACzC,IAAA,qBAAqB,EAAE,qCAAqC;AAC5D,IAAA,SAAS,EAAE,uBAAuB;AAClC,IAAA,YAAY,EAAE,2BAA2B;;;ACV3C;;;AAGG;AACI,MAAM,mCAAmC,GAAG;AACjD,IAAA,MAAM,EAAE,sCAAsC;AAC9C,IAAA,gBAAgB,EAAE,gDAAgD;AAClE,IAAA,oBAAoB,EAAE,oDAAoD;AAC1E,IAAA,aAAa,EAAE,6CAA6C;AAC5D,IAAA,iBAAiB,EAAE,iDAAiD;AACpE,IAAA,qBAAqB,EAAE,qDAAqD;AAC5E,IAAA,eAAe,EAAE,+CAA+C;AAChE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AC,IAAI;AAC5B,IAAA,IAAI,EAAE,UAAU;AAChB,IAAA,MAAM,EAAE,UAAU;IAClB,YAAY,EAAE,CAAC,oBAAoB,CAAC;AACpC,IAAA,QAAQ,EAAE,IAAI;;AAGhB;;ACXA;;ACGA;;ACRA;;ACAA;;ACAA;;ACKA;;ACLA;;ACAA;;ACTA;;ACAA;;AAEG;;"}
@@ -1,7 +1,7 @@
1
1
  import { RootConfig, buildContactAssignmentPersonSnapshot, AXPPeopleOrganizationPermissionKeys, AXMPersonCoreMenuKeys } from '@acorex-platform/module-person-core-client/contracts';
2
2
  import * as i0 from '@angular/core';
3
3
  import { NgModule, inject, Injectable } from '@angular/core';
4
- import { AXP_MODULE_MANIFEST_PROVIDER, provideLazyProvider } from '@acorex-platform/framework-client/core';
4
+ import { provideLazyProvider } from '@acorex-platform/framework-client/core';
5
5
  import { AXP_ENTITY_STORAGE_MIDDLEWARE, AXPEntityService } from '@acorex-platform/framework-client/layout/entity';
6
6
  import { AXP_MENU_PROVIDER } from '@acorex-platform/framework-client/common';
7
7
  import { AXP_PERMISSION_DEFINITION_PROVIDER } from '@acorex-platform/framework-client/auth';
@@ -9,26 +9,6 @@ import { provideCommandSetups } from '@acorex-platform/framework-client/runtime'
9
9
  import { get, set } from 'lodash';
10
10
  import { AXPCommonMenuKeys, AXPCommonPermissionGroupKeys } from '@acorex-platform/module-common-client/contracts';
11
11
 
12
- //#region ---- Imports ----
13
- //#endregion
14
- //#region ---- Manifest Definition ----
15
- /**
16
- * Person Core Module Manifest.
17
- * Defines module metadata for shared person/demographic reference data.
18
- */
19
- const PersonCoreManifest = {
20
- name: RootConfig.module.name,
21
- version: '1.0.0',
22
- title: RootConfig.module.title,
23
- icon: RootConfig.module.icon,
24
- i18n: RootConfig.config.i18n,
25
- type: 'platform',
26
- domain: 'platform',
27
- dependencies: ['LocationManagement'],
28
- required: true,
29
- };
30
- //#endregion
31
-
32
12
  //#region ---- ContactAssignment person hydration ----
33
13
  const CONTACT_ASSIGNMENT_ENTITY = `${RootConfig.module.name}.${RootConfig.entities.contactAssignment.name}`;
34
14
  const PERSON_ENTITY = `${RootConfig.module.name}.${RootConfig.entities.person.name}`;
@@ -94,11 +74,6 @@ class AXMPersonCoreModule {
94
74
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXMPersonCoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
95
75
  static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.8", ngImport: i0, type: AXMPersonCoreModule }); }
96
76
  static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXMPersonCoreModule, providers: [
97
- {
98
- provide: AXP_MODULE_MANIFEST_PROVIDER,
99
- useValue: PersonCoreManifest,
100
- multi: true,
101
- },
102
77
  provideLazyProvider(AXP_PERMISSION_DEFINITION_PROVIDER, () => Promise.resolve().then(function () { return permissionDefinition_provider; }).then((m) => m.AXMPersonCorePermissionDefinitionProvider)),
103
78
  provideLazyProvider(AXP_MENU_PROVIDER, () => Promise.resolve().then(function () { return menu_provider; }).then((m) => m.AXMPersonCoreMenuProvider)),
104
79
  {
@@ -123,11 +98,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
123
98
  args: [{
124
99
  imports: [],
125
100
  providers: [
126
- {
127
- provide: AXP_MODULE_MANIFEST_PROVIDER,
128
- useValue: PersonCoreManifest,
129
- multi: true,
130
- },
131
101
  provideLazyProvider(AXP_PERMISSION_DEFINITION_PROVIDER, () => Promise.resolve().then(function () { return permissionDefinition_provider; }).then((m) => m.AXMPersonCorePermissionDefinitionProvider)),
132
102
  provideLazyProvider(AXP_MENU_PROVIDER, () => Promise.resolve().then(function () { return menu_provider; }).then((m) => m.AXMPersonCoreMenuProvider)),
133
103
  {