@acorex-platform/module-person-core-client 0.0.38 → 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 +1 @@
1
- {"version":3,"file":"acorex-platform-module-person-core-client-contracts-entities-religion.mjs","sources":["../../../../libs/modules/person-core/contracts/src/root-config.ts","../../../../libs/modules/person-core/contracts/src/entities/religion/religion.entity.ts","../../../../libs/modules/person-core/contracts/src/acorex-platform-module-person-core-client-contracts-entities-religion.ts"],"sourcesContent":["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 { 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 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","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './entity-entry.religion';\n"],"names":[],"mappings":";;;AAAA,MAAM,MAAM,GAAG;AACb,IAAA,IAAI,EAAE,aAAa;AACnB,IAAA,MAAM,EAAE,YAAY;CACrB;AAEM,MAAM,UAAU,GAAG;IACxB,MAAM;AACN,IAAA,MAAM,EAAE;QACN,IAAI,EAAE,MAAM,CAAC,MAAM;AACnB,QAAA,KAAK,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,aAAA,CAAe;AACrC,QAAA,IAAI,EAAE,kBAAkB;AACzB,KAAA;AACD,IAAA,QAAQ,EAAE;AACR,QAAA,MAAM,EAAE;AACN,YAAA,IAAI,EAAE,QAAQ;AACd,YAAA,KAAK,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,8BAAA,CAAgC;AACtD,YAAA,WAAW,EAA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,SAAA;KACF;AAED,IAAA,OAAO,SAAS;AAClB;AAEA;;AC1HA;;AAEG;;"}
1
+ {"version":3,"file":"acorex-platform-module-person-core-client-contracts-entities-religion.mjs","sources":["../../../../libs/modules/person-core/contracts/src/root-config.ts","../../../../libs/modules/person-core/contracts/src/entities/religion/religion.entity.ts","../../../../libs/modules/person-core/contracts/src/acorex-platform-module-person-core-client-contracts-entities-religion.ts"],"sourcesContent":["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 { 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","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './entity-entry.religion';\n"],"names":[],"mappings":";;;AAAA,MAAM,MAAM,GAAG;AACb,IAAA,IAAI,EAAE,aAAa;AACnB,IAAA,MAAM,EAAE,YAAY;CACrB;AAEM,MAAM,UAAU,GAAG;IACxB,MAAM;AACN,IAAA,MAAM,EAAE;QACN,IAAI,EAAE,MAAM,CAAC,MAAM;AACnB,QAAA,KAAK,EAAE,CAAA,CAAA,EAA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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;;ACtIA;;AAEG;;"}
@@ -84,16 +84,16 @@ const RootConfig = {
84
84
  const personCoreLocalEntityCatalog = {
85
85
  moduleName: RootConfig.module.name,
86
86
  loaders: {
87
- [RootConfig.entities.contactAssignment.name]: () => import('./acorex-platform-module-person-core-client-contracts-entity-catalog-contact-assignment.entity-BtVczZ89.mjs').then((m) => m.contactAssignmentFactory()),
88
- [RootConfig.entities.contactRole.name]: () => import('./acorex-platform-module-person-core-client-contracts-entity-catalog-contact-role.entity-uqPhUsRm.mjs').then((m) => m.contactRoleFactory()),
89
- [RootConfig.entities.educationLevel.name]: () => import('./acorex-platform-module-person-core-client-contracts-entity-catalog-education-level.entity-C1pz4Bh2.mjs').then((m) => m.educationLevelFactory()),
90
- [RootConfig.entities.gender.name]: () => import('./acorex-platform-module-person-core-client-contracts-entity-catalog-gender.entity-BaoSo66c.mjs').then((m) => m.genderFactory()),
91
- [RootConfig.entities.maritalStatus.name]: () => import('./acorex-platform-module-person-core-client-contracts-entity-catalog-marital-status.entity-NdZ6U6Ue.mjs').then((m) => m.maritalStatusFactory()),
92
- [RootConfig.entities.person.name]: () => import('./acorex-platform-module-person-core-client-contracts-entity-catalog-person.entity-Bx2b-wa4.mjs').then((m) => m.personFactory()),
93
- [RootConfig.entities.personIdentifierType.name]: () => import('./acorex-platform-module-person-core-client-contracts-entity-catalog-person-identifier-type.entity-D_XVLaZw.mjs').then((m) => m.personIdentifierTypeFactory()),
94
- [RootConfig.entities.personRelationship.name]: () => import('./acorex-platform-module-person-core-client-contracts-entity-catalog-person-relationship.entity-Bt_Y9UTE.mjs').then((m) => m.personRelationshipFactory()),
95
- [RootConfig.entities.personTitle.name]: () => import('./acorex-platform-module-person-core-client-contracts-entity-catalog-person-title.entity-B5jB67Eh.mjs').then((m) => m.personTitleFactory()),
96
- [RootConfig.entities.religion.name]: () => import('./acorex-platform-module-person-core-client-contracts-entity-catalog-religion.entity-BUHOGYxG.mjs').then((m) => m.religionFactory()),
87
+ [RootConfig.entities.contactAssignment.name]: () => import('./acorex-platform-module-person-core-client-contracts-entity-catalog-contact-assignment.entity-cj21gvhQ.mjs').then((m) => m.contactAssignmentFactory()),
88
+ [RootConfig.entities.contactRole.name]: () => import('./acorex-platform-module-person-core-client-contracts-entity-catalog-contact-role.entity-BS0lN1zu.mjs').then((m) => m.contactRoleFactory()),
89
+ [RootConfig.entities.educationLevel.name]: () => import('./acorex-platform-module-person-core-client-contracts-entity-catalog-education-level.entity-OrJSPMzn.mjs').then((m) => m.educationLevelFactory()),
90
+ [RootConfig.entities.gender.name]: () => import('./acorex-platform-module-person-core-client-contracts-entity-catalog-gender.entity-B6iWEpwq.mjs').then((m) => m.genderFactory()),
91
+ [RootConfig.entities.maritalStatus.name]: () => import('./acorex-platform-module-person-core-client-contracts-entity-catalog-marital-status.entity-CmfEmi9G.mjs').then((m) => m.maritalStatusFactory()),
92
+ [RootConfig.entities.person.name]: () => import('./acorex-platform-module-person-core-client-contracts-entity-catalog-person.entity-BcPhYZNc.mjs').then((m) => m.personFactory()),
93
+ [RootConfig.entities.personIdentifierType.name]: () => import('./acorex-platform-module-person-core-client-contracts-entity-catalog-person-identifier-type.entity-CGBi9Dku.mjs').then((m) => m.personIdentifierTypeFactory()),
94
+ [RootConfig.entities.personRelationship.name]: () => import('./acorex-platform-module-person-core-client-contracts-entity-catalog-person-relationship.entity-BMx4zs9J.mjs').then((m) => m.personRelationshipFactory()),
95
+ [RootConfig.entities.personTitle.name]: () => import('./acorex-platform-module-person-core-client-contracts-entity-catalog-person-title.entity-D1avJhsn.mjs').then((m) => m.personTitleFactory()),
96
+ [RootConfig.entities.religion.name]: () => import('./acorex-platform-module-person-core-client-contracts-entity-catalog-religion.entity-B6LSVXca.mjs').then((m) => m.religionFactory()),
97
97
  },
98
98
  };
99
99
  //#endregion
@@ -103,4 +103,4 @@ const personCoreLocalEntityCatalog = {
103
103
  */
104
104
 
105
105
  export { RootConfig as R, personCoreLocalEntityCatalog as p };
106
- //# sourceMappingURL=acorex-platform-module-person-core-client-contracts-entity-catalog-acorex-platform-module-person-core-client-contracts-entity-catalog-CJmzbjJI.mjs.map
106
+ //# sourceMappingURL=acorex-platform-module-person-core-client-contracts-entity-catalog-acorex-platform-module-person-core-client-contracts-entity-catalog-BudiPH5C.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-platform-module-person-core-client-contracts-entity-catalog-acorex-platform-module-person-core-client-contracts-entity-catalog-CJmzbjJI.mjs","sources":["../../../../libs/modules/person-core/contracts/src/root-config.ts","../../../../libs/modules/person-core/contracts/src/entity-catalog.ts","../../../../libs/modules/person-core/contracts/src/acorex-platform-module-person-core-client-contracts-entity-catalog.ts"],"sourcesContent":["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","//#region ----- Imports -----\n\nimport type { AXPLocalEntityCatalog } from '@acorex-platform/framework-shared/entity';\n\nimport { RootConfig } from './root-config';\n\n//#endregion\n\n//#region ----- Local entity catalog -----\n\n/**\n * Lazy per-entity layout factories. Do not re-export from the contracts barrel\n * so RootConfig imports stay light. Server seed and client `local-entities`\n * consume this catalog explicitly.\n */\nexport const personCoreLocalEntityCatalog: AXPLocalEntityCatalog = {\n moduleName: RootConfig.module.name,\n loaders: {\n [RootConfig.entities.contactAssignment.name]: () =>\n import('./entities/contact-assignment/contact-assignment.entity.js').then((m) => m.contactAssignmentFactory()),\n [RootConfig.entities.contactRole.name]: () =>\n import('./entities/contact-role/contact-role.entity.js').then((m) => m.contactRoleFactory()),\n [RootConfig.entities.educationLevel.name]: () =>\n import('./entities/education-level/education-level.entity.js').then((m) => m.educationLevelFactory()),\n [RootConfig.entities.gender.name]: () =>\n import('./entities/gender/gender.entity.js').then((m) => m.genderFactory()),\n [RootConfig.entities.maritalStatus.name]: () =>\n import('./entities/marital-status/marital-status.entity.js').then((m) => m.maritalStatusFactory()),\n [RootConfig.entities.person.name]: () =>\n import('./entities/person/person.entity.js').then((m) => m.personFactory()),\n [RootConfig.entities.personIdentifierType.name]: () =>\n import('./entities/person-identifier-type/person-identifier-type.entity.js').then((m) => m.personIdentifierTypeFactory()),\n [RootConfig.entities.personRelationship.name]: () =>\n import('./entities/person-relationship/person-relationship.entity.js').then((m) => m.personRelationshipFactory()),\n [RootConfig.entities.personTitle.name]: () =>\n import('./entities/person-title/person-title.entity.js').then((m) => m.personTitleFactory()),\n [RootConfig.entities.religion.name]: () =>\n import('./entities/religion/religion.entity.js').then((m) => m.religionFactory()),\n },\n};\n\n//#endregion\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './entity-catalog';\n"],"names":[],"mappings":"AAAA,MAAM,MAAM,GAAG;AACb,IAAA,IAAI,EAAE,aAAa;AACnB,IAAA,MAAM,EAAE,YAAY;CACrB;AAEM,MAAM,UAAU,GAAG;IACxB,MAAM;AACN,IAAA,MAAM,EAAE;QACN,IAAI,EAAE,MAAM,CAAC,MAAM;AACnB,QAAA,KAAK,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,aAAA,C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MAAM,CAAC,IAAI,GAAG,MACjC,OAAO,iGAAoC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,aAAa,EAAE,CAAC;AAC7E,QAAA,CAAC,UAAU,CAAC,QAAQ,CAAC,oBAAoB,CAAC,IAAI,GAAG,MAC/C,OAAO,iHAAoE,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,2BAA2B,EAAE,CAAC;AAC3H,QAAA,CAAC,UAAU,CAAC,QAAQ,CAAC,kBAAkB,CAAC,IAAI,GAAG,MAC7C,OAAO,8GAA8D,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,yBAAyB,EAAE,CAAC;AACnH,QAAA,CAAC,UAAU,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,GAAG,MACtC,OAAO,uGAAgD,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,kBAAkB,EAAE,CAAC;AAC9F,QAAA,CAAC,UAAU,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI,GAAG,MACnC,OAAO,mGAAwC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,eAAe,EAAE,CAAC;AACpF,KAAA;;AAGH;;ACzCA;;AAEG;;"}
1
+ {"version":3,"file":"acorex-platform-module-person-core-client-contracts-entity-catalog-acorex-platform-module-person-core-client-contracts-entity-catalog-BudiPH5C.mjs","sources":["../../../../libs/modules/person-core/contracts/src/root-config.ts","../../../../libs/modules/person-core/contracts/src/entity-catalog.ts","../../../../libs/modules/person-core/contracts/src/acorex-platform-module-person-core-client-contracts-entity-catalog.ts"],"sourcesContent":["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","//#region ----- Imports -----\n\nimport type { AXPLocalEntityCatalog } from '@acorex-platform/framework-shared/entity';\n\nimport { RootConfig } from './root-config';\n\n//#endregion\n\n//#region ----- Local entity catalog -----\n\n/**\n * Lazy per-entity layout factories. Do not re-export from the contracts barrel\n * so RootConfig imports stay light. Server seed and client `local-entities`\n * consume this catalog explicitly.\n */\nexport const personCoreLocalEntityCatalog: AXPLocalEntityCatalog = {\n moduleName: RootConfig.module.name,\n loaders: {\n [RootConfig.entities.contactAssignment.name]: () =>\n import('./entities/contact-assignment/contact-assignment.entity.js').then((m) => m.contactAssignmentFactory()),\n [RootConfig.entities.contactRole.name]: () =>\n import('./entities/contact-role/contact-role.entity.js').then((m) => m.contactRoleFactory()),\n [RootConfig.entities.educationLevel.name]: () =>\n import('./entities/education-level/education-level.entity.js').then((m) => m.educationLevelFactory()),\n [RootConfig.entities.gender.name]: () =>\n import('./entities/gender/gender.entity.js').then((m) => m.genderFactory()),\n [RootConfig.entities.maritalStatus.name]: () =>\n import('./entities/marital-status/marital-status.entity.js').then((m) => m.maritalStatusFactory()),\n [RootConfig.entities.person.name]: () =>\n import('./entities/person/person.entity.js').then((m) => m.personFactory()),\n [RootConfig.entities.personIdentifierType.name]: () =>\n import('./entities/person-identifier-type/person-identifier-type.entity.js').then((m) => m.personIdentifierTypeFactory()),\n [RootConfig.entities.personRelationship.name]: () =>\n import('./entities/person-relationship/person-relationship.entity.js').then((m) => m.personRelationshipFactory()),\n [RootConfig.entities.personTitle.name]: () =>\n import('./entities/person-title/person-title.entity.js').then((m) => m.personTitleFactory()),\n [RootConfig.entities.religion.name]: () =>\n import('./entities/religion/religion.entity.js').then((m) => m.religionFactory()),\n },\n};\n\n//#endregion\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './entity-catalog';\n"],"names":[],"mappings":"AAAA,MAAM,MAAM,GAAG;AACb,IAAA,IAAI,EAAE,aAAa;AACnB,IAAA,MAAM,EAAE,YAAY;CACrB;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AAC,aAAa,CAAC,IAAI,GAAG,MACxC,OAAO,yGAAoD,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,oBAAoB,EAAE,CAAC;AACpG,QAAA,CAAC,UAAU,CAAC,QAAQ,CAAC,MAAM,CAAC,IAAI,GAAG,MACjC,OAAO,iGAAoC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,aAAa,EAAE,CAAC;AAC7E,QAAA,CAAC,UAAU,CAAC,QAAQ,CAAC,oBAAoB,CAAC,IAAI,GAAG,MAC/C,OAAO,iHAAoE,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,2BAA2B,EAAE,CAAC;AAC3H,QAAA,CAAC,UAAU,CAAC,QAAQ,CAAC,kBAAkB,CAAC,IAAI,GAAG,MAC7C,OAAO,8GAA8D,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,yBAAyB,EAAE,CAAC;AACnH,QAAA,CAAC,UAAU,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,GAAG,MACtC,OAAO,uGAAgD,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,kBAAkB,EAAE,CAAC;AAC9F,QAAA,CAAC,UAAU,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI,GAAG,MACnC,OAAO,mGAAwC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,eAAe,EAAE,CAAC;AACpF,KAAA;;AAGH;;ACzCA;;AAEG;;"}
@@ -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 ----
@@ -10,6 +10,19 @@ async function contactAssignmentFactory() {
10
10
  name: RootConfig.entities.contactAssignment.name,
11
11
  title: RootConfig.entities.contactAssignment.title,
12
12
  icon: RootConfig.entities.contactAssignment.icon,
13
+ searchTags: [
14
+ 'contact-assignment',
15
+ 'assign contact',
16
+ 'party contact',
17
+ 'contact role',
18
+ 'person assignment',
19
+ 'integration link',
20
+ 'تخصیص تماس',
21
+ 'تخصیص‌های تماس',
22
+ 'طرف',
23
+ 'شخص',
24
+ 'نقش',
25
+ ],
13
26
  formats: {
14
27
  individual: RootConfig.entities.contactAssignment.title,
15
28
  plural: RootConfig.entities.contactAssignment.titlePlural,
@@ -148,4 +161,4 @@ async function contactAssignmentFactory() {
148
161
  //#endregion
149
162
 
150
163
  export { contactAssignmentFactory };
151
- //# sourceMappingURL=acorex-platform-module-person-core-client-contracts-entity-catalog-contact-assignment.entity-BtVczZ89.mjs.map
164
+ //# sourceMappingURL=acorex-platform-module-person-core-client-contracts-entity-catalog-contact-assignment.entity-cj21gvhQ.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-person-core-client-contracts-entity-catalog-contact-assignment.entity-cj21gvhQ.mjs","sources":["../../../../libs/modules/person-core/contracts/src/entities/contact-assignment/contact-assignment.entity.ts"],"sourcesContent":["import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport {\n AXPEntity,\n createAllQueryView,\n entityMasterCrudActions,\n entityMasterRecordActions,\n} from '@acorex-platform/framework-shared/entity';\n\n//#region ---- Imports ----\n\nimport { RootConfig } from '../../root-config';\n\n//#endregion\n\n//#region ---- Entity Factory ----\n\nexport async function contactAssignmentFactory(): Promise<AXPEntity> {\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.contactAssignment.name,\n title: RootConfig.entities.contactAssignment.title,\n icon: RootConfig.entities.contactAssignment.icon,\n searchTags: [\n 'contact-assignment',\n 'assign contact',\n 'party contact',\n 'contact role',\n 'person assignment',\n 'integration link',\n 'تخصیص تماس',\n 'تخصیص‌های تماس',\n 'طرف',\n 'شخص',\n 'نقش',\n ],\n formats: {\n individual: RootConfig.entities.contactAssignment.title,\n plural: RootConfig.entities.contactAssignment.titlePlural,\n searchResult: {\n title: '{{ context.eval(\"person.fullName\") + \" (\" + context.eval(\"role.title\", { pipes: [\"translate\"] }) + \")\" }}',\n description: '@person-core:contact-assignments.entities.contact-assignment.search-result-description',\n },\n },\n plugins: [{ name: 'notes' }],\n groups: [{ id: 'basic-info', title: '@general:terms.interface.basic-info' }],\n properties: [\n {\n name: 'partyId',\n title: '@person-core:contact-assignments.entities.contact-assignment.fields.party.title',\n groupId: 'basic-info',\n options: { sort: { enabled: true }, filter: { advance: { enabled: true }, inline: { enabled: true } } },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: 'BusinessCore.Party',\n multiple: false,\n textField: 'title',\n columns: ['title'],\n expose: [\n { source: 'id', target: 'party.id' },\n { source: 'title', target: 'party.title' },\n ],\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'personId',\n title: '@person-core:contact-assignments.entities.contact-assignment.fields.person.title',\n groupId: 'basic-info',\n options: { sort: { enabled: true }, filter: { advance: { enabled: true }, inline: { enabled: true } } },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: `${RootConfig.module.name}.${RootConfig.entities.person.name}`,\n multiple: false,\n textField: 'fullName',\n columns: ['fullName', 'phones', 'emails'],\n allowCreate: 'quick',\n expose: [\n { source: 'id', target: 'person.id' },\n { source: 'fullName', target: 'person.fullName' },\n { source: 'phones', target: 'person.phones' },\n { source: 'emails', target: 'person.emails' },\n ],\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'roleId',\n title: '@person-core:contact-assignments.entities.contact-assignment.fields.role.title',\n groupId: 'basic-info',\n options: { sort: { enabled: true }, filter: { advance: { enabled: true }, inline: { enabled: true } } },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n look: 'select',\n entity: `${RootConfig.module.name}.${RootConfig.entities.contactRole.name}`,\n multiple: false,\n allowCreate: 'quick',\n expose: [\n { source: 'id', target: 'role.id' },\n { source: 'title', target: 'role.title' },\n ],\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n ],\n columns: [\n { name: 'personId', title: '@general:terms.people.contact', options: { dataPath: 'person.fullName' } },\n {\n name: 'roleId',\n title: '@person-core:contact-assignments.entities.contact-assignment.fields.role.title',\n options: { dataPath: 'role.title' },\n },\n { name: 'person.phones', title: '@general:terms.communication.phones', options: { width: '200px' } },\n { name: 'person.emails', title: '@general:terms.communication.emails', options: { width: '200px' } },\n ],\n interfaces: {\n master: {\n create: {\n sections: [{ id: 'basic-info' }],\n properties: [\n { name: 'partyId', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },\n { name: 'personId', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'roleId', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },\n ],\n },\n update: {\n sections: [{ id: 'basic-info' }],\n properties: [\n { name: 'partyId', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },\n { name: 'personId', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'roleId', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },\n ],\n },\n single: {\n title: '{{ context.eval(\"person.fullName\") + \" - \" + context.eval(\"role.title\", { pipes: [\"translate\"] }) }}',\n sections: [{ id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } }],\n properties: [\n { name: 'partyId', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },\n { name: 'personId', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'roleId', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },\n ],\n actions: [...entityMasterRecordActions()],\n },\n list: {\n actions: [...entityMasterCrudActions()],\n views: [\n createAllQueryView({\n sorts: [{ name: 'roleId', dir: 'asc' }],\n }),\n ],\n },\n },\n },\n };\n\n return entityDef;\n}\n\n//#endregion\n"],"names":[],"mappings":";;;;AAYA;AAEA;AAEO,eAAe,wBAAwB,GAAA;AAC5C,IAAA,MAAM,SAAS,GAAc;AAC3B,QAAA,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC9B,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,iBAAiB,CAAC,IAAI;AAChD,QAAA,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC,iBAAiB,CAAC,KAAK;AAClD,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,iBAAiB,CAAC,IAAI;AAChD,QAAA,UAAU,EAAE;YACV,oBAAoB;YACpB,gBAAgB;YAChB,eAAe;YACf,cAAc;YACd,mBAAmB;YACnB,kBAAkB;YAClB,YAAY;YACZ,gBAAgB;YAChB,KAAK;YACL,KAAK;YACL,KAAK;AACN,SAAA;AACD,QAAA,OAAO,EAAE;AACP,YAAA,UAAU,EAAE,UAAU,CAAC,QAAQ,CAAC,iBAAiB,CAAC,KAAK;AACvD,YAAA,MAAM,EAAE,UAAU,CAAC,QAAQ,CAAC,iBAAiB,CAAC,WAAW;AACzD,YAAA,YAAY,EAAE;AACZ,gBAAA,KAAK,EAAE,2GAA2G;AAClH,gBAAA,WAAW,EAAE,wFAAwF;AACtG,aAAA;AACF,SAAA;AACD,QAAA,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;QAC5B,MAAM,EAAE,CAAC,EAAE,EAAE,EAAE,YAAY,EAAE,KAAK,EAAE,qCAAqC,EAAE,CAAC;AAC5E,QAAA,UAAU,EAAE;AACV,YAAA;AACE,gBAAA,IAAI,EAAE,SAAS;AACf,gBAAA,KAAK,EAAE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EAAE,EAAE,YAAY,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC;AAChF,oBAAA,UAAU,EAAE;wBACV,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE;wBAC7E,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE;wBAC7E,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE;AAC5E,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,QAAQ,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC;yBACxC,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 ----
@@ -16,6 +16,19 @@ async function contactRoleFactory() {
16
16
  name: RootConfig.entities.contactRole.name,
17
17
  title: RootConfig.entities.contactRole.title,
18
18
  icon: RootConfig.entities.contactRole.icon,
19
+ searchTags: [
20
+ 'contact-role',
21
+ 'contact role',
22
+ 'customer role',
23
+ 'site manager',
24
+ 'person relationship role',
25
+ 'location contact',
26
+ 'inverse relationship',
27
+ 'نقش تماس',
28
+ 'نقش‌های تماس',
29
+ 'مشتری',
30
+ 'ارتباط شخص',
31
+ ],
19
32
  formats: {
20
33
  individual: RootConfig.entities.contactRole.title,
21
34
  plural: RootConfig.entities.contactRole.titlePlural,
@@ -134,4 +147,4 @@ async function contactRoleFactory() {
134
147
  //#endregion
135
148
 
136
149
  export { contactRoleFactory };
137
- //# sourceMappingURL=acorex-platform-module-person-core-client-contracts-entity-catalog-contact-role.entity-uqPhUsRm.mjs.map
150
+ //# sourceMappingURL=acorex-platform-module-person-core-client-contracts-entity-catalog-contact-role.entity-BS0lN1zu.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-person-core-client-contracts-entity-catalog-contact-role.entity-BS0lN1zu.mjs","sources":["../../../../libs/modules/person-core/contracts/src/entities/contact-role/contact-role.entity.ts"],"sourcesContent":["import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport { AXPEntity, createAllQueryView, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';\n\n//#region ---- Imports ----\n\nimport { RootConfig } from '../../root-config';\n\n//#endregion\n\n//#region ---- Entity Factory ----\n\nexport async function contactRoleFactory(): Promise<AXPEntity> {\n const sections = [{ id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } }];\n const propertyLayouts = [\n { name: 'title', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },\n { name: 'inverseTypeId', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },\n ];\n\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.contactRole.name,\n title: RootConfig.entities.contactRole.title,\n icon: RootConfig.entities.contactRole.icon,\n searchTags: [\n 'contact-role',\n 'contact role',\n 'customer role',\n 'site manager',\n 'person relationship role',\n 'location contact',\n 'inverse relationship',\n 'نقش تماس',\n 'نقش‌های تماس',\n 'مشتری',\n 'ارتباط شخص',\n ],\n formats: {\n individual: RootConfig.entities.contactRole.title,\n plural: RootConfig.entities.contactRole.titlePlural,\n searchResult: {\n title: '{{ title }}',\n description: '@person-core:contact-roles.entities.contact-role.search-result-description',\n },\n },\n plugins: [{ name: 'history' }, { name: 'compare' }, { name: 'clone' }],\n groups: [{ id: 'basic-info', title: '@general:terms.interface.basic-info' }],\n properties: [\n {\n name: 'id',\n title: '@general:terms.common.id',\n groupId: 'basic-info',\n schema: {\n dataType: 'uuid',\n visible: false,\n readonly: true,\n unique: { enabled: true },\n },\n },\n {\n name: 'title',\n title: '@general:terms.common.title',\n groupId: 'basic-info',\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.TextBox,\n options: {\n placeholder: '@person-core:contact-roles.entities.contact-role.fields.title.placeholder',\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'description',\n title: '@general:terms.common.description',\n groupId: 'basic-info',\n options: {\n sort: { enabled: false },\n filter: { advance: { enabled: true }, inline: { enabled: false } },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.LargeTextBox,\n options: {\n rows: 3,\n placeholder: '@person-core:contact-roles.entities.contact-role.fields.description.placeholder',\n },\n },\n },\n },\n {\n name: 'inverseTypeId',\n title: '@person-core:contact-roles.entities.contact-role.fields.inverse-type.title',\n groupId: 'basic-info',\n options: {\n sort: { enabled: false },\n filter: { advance: { enabled: true }, inline: { enabled: false } },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n look: 'select',\n entity: `${RootConfig.module.name}.${RootConfig.entities.contactRole.name}`,\n multiple: false,\n textField: 'title',\n columns: ['title'],\n expose: [\n { source: 'id', target: 'inverseType.id' },\n { source: 'title', target: 'inverseType.title' },\n ],\n },\n },\n },\n },\n ],\n columns: [\n { name: 'title', options: { width: '220px', order: 1 } },\n { name: 'description', options: { width: '320px', order: 2 } },\n { name: 'inverseTypeId', options: { width: '220px', order: 3 } },\n ],\n interfaces: {\n master: {\n create: { sections, properties: propertyLayouts },\n update: { sections, properties: propertyLayouts },\n single: {\n title: '{{ title }}',\n sections,\n properties: propertyLayouts,\n actions: [...entityMasterRecordActions()],\n },\n list: {\n actions: [...entityMasterCrudActions()],\n views: [\n createAllQueryView({\n sorts: [{ name: 'title', dir: 'asc' }],\n }),\n ],\n },\n },\n },\n };\n\n return entityDef;\n}\n\n//#endregion\n"],"names":[],"mappings":";;;;AAOA;AAEA;AAEO,eAAe,kBAAkB,GAAA;IACtC,MAAM,QAAQ,GAAG,CAAC,EAAE,EAAE,EAAE,YAAY,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC;AACvF,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,O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BAAA;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;AAC9D,YAAA,EAAE,IAAI,EAAE,eAAe,EAAE,OAAO,EAAE,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;AACjE,SAAA;AACD,QAAA,UAAU,EAAE;AACV,YAAA,MAAM,EAAE;AACN,gBAAA,MAAM,EAAE,EAAE,QAAQ,EAAE,UAAU,EAAE,eAAe,EAAE;AACjD,gBAAA,MAAM,EAAE,EAAE,QAAQ,EAAE,UAAU,EAAE,eAAe,EAAE;AACjD,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,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 educationLevelFactory() {
15
15
  name: RootConfig.entities.educationLevel.name,
16
16
  title: RootConfig.entities.educationLevel.title,
17
17
  icon: RootConfig.entities.educationLevel.icon,
18
+ searchTags: [
19
+ 'education-level',
20
+ 'education level',
21
+ 'qualification',
22
+ 'diploma bachelor master',
23
+ 'academic degree',
24
+ 'reference data',
25
+ 'سطح تحصیلات',
26
+ 'سطوح تحصیلات',
27
+ 'دیپلم',
28
+ 'کارشناسی',
29
+ ],
18
30
  formats: {
19
31
  individual: RootConfig.entities.educationLevel.title,
20
32
  plural: RootConfig.entities.educationLevel.titlePlural,
@@ -116,4 +128,4 @@ async function educationLevelFactory() {
116
128
  //#endregion
117
129
 
118
130
  export { educationLevelFactory };
119
- //# sourceMappingURL=acorex-platform-module-person-core-client-contracts-entity-catalog-education-level.entity-C1pz4Bh2.mjs.map
131
+ //# sourceMappingURL=acorex-platform-module-person-core-client-contracts-entity-catalog-education-level.entity-OrJSPMzn.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-person-core-client-contracts-entity-catalog-education-level.entity-OrJSPMzn.mjs","sources":["../../../../libs/modules/person-core/contracts/src/entities/education-level/education-level.entity.ts"],"sourcesContent":["import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport { AXPEntity, createAllQueryView, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';\n//#region ---- Imports ----\nimport { RootConfig } from '../../root-config';\n\n//#endregion\n\n//#region ---- Entity Factory ----\n\nexport async function educationLevelFactory(): Promise<AXPEntity> {\n const sections = [{ id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } }];\n\n const propertyLayouts = [\n { name: 'title', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },\n ];\n\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.educationLevel.name,\n title: RootConfig.entities.educationLevel.title,\n icon: RootConfig.entities.educationLevel.icon,\n searchTags: [\n 'education-level',\n 'education level',\n 'qualification',\n 'diploma bachelor master',\n 'academic degree',\n 'reference data',\n 'سطح تحصیلات',\n 'سطوح تحصیلات',\n 'دیپلم',\n 'کارشناسی',\n ],\n formats: {\n individual: RootConfig.entities.educationLevel.title,\n plural: RootConfig.entities.educationLevel.titlePlural,\n searchResult: {\n title: '{{ title }}',\n description: RootConfig.module.title,\n },\n },\n plugins: [{ name: 'history' }, { name: 'compare' }, { name: 'clone' }],\n groups: [\n {\n id: 'basic-info',\n title: '@person-core:education-levels.entities.education-level.groups.basic-info',\n },\n ],\n properties: [\n {\n name: 'id',\n title: '@general:terms.common.id',\n groupId: 'basic-info',\n schema: {\n dataType: 'uuid',\n visible: false,\n readonly: true,\n unique: { enabled: true },\n },\n },\n {\n name: 'title',\n title: '@general:terms.common.title',\n groupId: 'basic-info',\n options: {\n sort: { enabled: true },\n filter: {\n advance: { enabled: true },\n inline: { enabled: true },\n },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.TextBox,\n options: {\n placeholder:\n '@person-core:education-levels.entities.education-level.fields.title.placeholder',\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'description',\n title: '@general:terms.common.description',\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.LargeTextBox,\n options: {\n rows: 3,\n placeholder:\n '@person-core:education-levels.entities.education-level.fields.description.placeholder',\n },\n },\n },\n },\n ],\n columns: [\n { name: 'title', options: { width: '220px', order: 1 } },\n { name: 'description', options: { width: '280px', order: 2 } },\n ],\n interfaces: {\n master: {\n create: {\n sections,\n properties: propertyLayouts,\n },\n update: {\n sections,\n properties: propertyLayouts,\n },\n single: {\n title: '{{ title }}',\n sections,\n properties: propertyLayouts,\n actions: [...entityMasterRecordActions()],\n },\n list: {\n actions: [...entityMasterCrudActions()],\n views: [\n createAllQueryView({\n sorts: [{ name: 'title', dir: 'asc' }],\n }),\n ],\n },\n },\n },\n };\n\n return entityDef;\n}\n\n//#endregion\n"],"names":[],"mappings":";;;;AAKA;AAEA;AAEO,eAAe,qBAAqB,GAAA;IACzC,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,cAAc,CAAC,IAAI;AAC7C,QAAA,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC,cAAc,CAAC,KAAK;AAC/C,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,cAAc,CAAC,IAAI;AAC7C,QAAA,UAAU,EAAE;YACV,iBAAiB;YACjB,iBAAiB;YACjB,eAAe;YACf,yB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AAe;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,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 genderFactory() {
15
15
  name: RootConfig.entities.gender.name,
16
16
  title: RootConfig.entities.gender.title,
17
17
  icon: RootConfig.entities.gender.icon,
18
+ searchTags: [
19
+ 'gender',
20
+ 'sex',
21
+ 'demographic reference',
22
+ 'person profile',
23
+ 'identity gender',
24
+ 'reference catalog',
25
+ 'جنسیت',
26
+ 'جنسیت‌ها',
27
+ 'مرد',
28
+ 'زن',
29
+ ],
18
30
  formats: {
19
31
  individual: RootConfig.entities.gender.title,
20
32
  plural: RootConfig.entities.gender.titlePlural,
@@ -116,4 +128,4 @@ async function genderFactory() {
116
128
  //#endregion
117
129
 
118
130
  export { genderFactory };
119
- //# sourceMappingURL=acorex-platform-module-person-core-client-contracts-entity-catalog-gender.entity-BaoSo66c.mjs.map
131
+ //# sourceMappingURL=acorex-platform-module-person-core-client-contracts-entity-catalog-gender.entity-B6iWEpwq.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-person-core-client-contracts-entity-catalog-gender.entity-B6iWEpwq.mjs","sources":["../../../../libs/modules/person-core/contracts/src/entities/gender/gender.entity.ts"],"sourcesContent":["import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport { AXPEntity, createAllQueryView, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';\n//#region ---- Imports ----\nimport { RootConfig } from '../../root-config';\n\n//#endregion\n\n//#region ---- Entity Factory ----\n\nexport async function genderFactory(): Promise<AXPEntity> {\n const sections = [{ id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } }];\n\n const propertyLayouts = [\n { name: 'title', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },\n ];\n\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.gender.name,\n title: RootConfig.entities.gender.title,\n icon: RootConfig.entities.gender.icon,\n searchTags: [\n 'gender',\n 'sex',\n 'demographic reference',\n 'person profile',\n 'identity gender',\n 'reference catalog',\n 'جنسیت',\n 'جنسیت‌ها',\n 'مرد',\n 'زن',\n ],\n formats: {\n individual: RootConfig.entities.gender.title,\n plural: RootConfig.entities.gender.titlePlural,\n searchResult: {\n title: '{{ title }}',\n description: RootConfig.module.title,\n },\n },\n plugins: [{ name: 'history' }, { name: 'compare' }, { name: 'clone' }],\n groups: [\n {\n id: 'basic-info',\n title: '@person-core:genders.entities.gender.groups.basic-info',\n },\n ],\n properties: [\n {\n name: 'id',\n title: '@general:terms.common.id',\n groupId: 'basic-info',\n schema: {\n dataType: 'uuid',\n visible: false,\n readonly: true,\n unique: { enabled: true },\n },\n },\n {\n name: 'title',\n title: '@general:terms.common.title',\n groupId: 'basic-info',\n options: {\n sort: { enabled: true },\n filter: {\n advance: { enabled: true },\n inline: { enabled: true },\n },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.TextBox,\n options: {\n placeholder: '@person-core:genders.entities.gender.fields.title.placeholder',\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'description',\n title: '@general:terms.common.description',\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.LargeTextBox,\n options: {\n rows: 3,\n placeholder: '@person-core:genders.entities.gender.fields.description.placeholder',\n },\n },\n },\n },\n ],\n columns: [\n { name: 'title', options: { width: '220px', order: 1 } },\n { name: 'description', options: { width: '280px', order: 2 } },\n ],\n interfaces: {\n master: {\n create: {\n sections,\n properties: propertyLayouts,\n },\n update: {\n sections,\n properties: propertyLayouts,\n },\n single: {\n title: '{{ title }}',\n sections,\n properties: propertyLayouts,\n actions: [...entityMasterRecordActions()],\n },\n list: {\n actions: [...entityMasterCrudActions()],\n views: [\n createAllQueryView({\n sorts: [{ name: 'title', dir: 'asc' }],\n }),\n ],\n },\n },\n },\n };\n\n return entityDef;\n}\n\n//#endregion\n"],"names":[],"mappings":";;;;AAKA;AAEA;AAEO,eAAe,aAAa,GAAA;IACjC,MAAM,QAAQ,GAAG,CAAC,EAAE,EAAE,EAAE,YAAY,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,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,E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,4BAAA,WAAW,EAAE,qEAAqE;AACnF,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,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 maritalStatusFactory() {
15
15
  name: RootConfig.entities.maritalStatus.name,
16
16
  title: RootConfig.entities.maritalStatus.title,
17
17
  icon: RootConfig.entities.maritalStatus.icon,
18
+ searchTags: [
19
+ 'marital-status',
20
+ 'marital status',
21
+ 'single married divorced',
22
+ 'relationship status',
23
+ 'demographic reference',
24
+ 'person profile',
25
+ 'وضعیت تأهل',
26
+ 'وضعیت‌های تأهل',
27
+ 'مجرد',
28
+ 'متأهل',
29
+ ],
18
30
  formats: {
19
31
  individual: RootConfig.entities.maritalStatus.title,
20
32
  plural: RootConfig.entities.maritalStatus.titlePlural,
@@ -116,4 +128,4 @@ async function maritalStatusFactory() {
116
128
  //#endregion
117
129
 
118
130
  export { maritalStatusFactory };
119
- //# sourceMappingURL=acorex-platform-module-person-core-client-contracts-entity-catalog-marital-status.entity-NdZ6U6Ue.mjs.map
131
+ //# sourceMappingURL=acorex-platform-module-person-core-client-contracts-entity-catalog-marital-status.entity-CmfEmi9G.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-person-core-client-contracts-entity-catalog-marital-status.entity-CmfEmi9G.mjs","sources":["../../../../libs/modules/person-core/contracts/src/entities/marital-status/marital-status.entity.ts"],"sourcesContent":["import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport { AXPEntity, createAllQueryView, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';\n//#region ---- Imports ----\nimport { RootConfig } from '../../root-config';\n\n//#endregion\n\n//#region ---- Entity Factory ----\n\nexport async function maritalStatusFactory(): Promise<AXPEntity> {\n const sections = [{ id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } }];\n\n const propertyLayouts = [\n { name: 'title', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },\n ];\n\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.maritalStatus.name,\n title: RootConfig.entities.maritalStatus.title,\n icon: RootConfig.entities.maritalStatus.icon,\n searchTags: [\n 'marital-status',\n 'marital status',\n 'single married divorced',\n 'relationship status',\n 'demographic reference',\n 'person profile',\n 'وضعیت تأهل',\n 'وضعیت‌های تأهل',\n 'مجرد',\n 'متأهل',\n ],\n formats: {\n individual: RootConfig.entities.maritalStatus.title,\n plural: RootConfig.entities.maritalStatus.titlePlural,\n searchResult: {\n title: '{{ title }}',\n description: RootConfig.module.title,\n },\n },\n plugins: [{ name: 'history' }, { name: 'compare' }, { name: 'clone' }],\n groups: [\n {\n id: 'basic-info',\n title: '@person-core:marital-statuses.entities.marital-status.groups.basic-info',\n },\n ],\n properties: [\n {\n name: 'id',\n title: '@general:terms.common.id',\n groupId: 'basic-info',\n schema: {\n dataType: 'uuid',\n visible: false,\n readonly: true,\n unique: { enabled: true },\n },\n },\n {\n name: 'title',\n title: '@general:terms.common.title',\n groupId: 'basic-info',\n options: {\n sort: { enabled: true },\n filter: {\n advance: { enabled: true },\n inline: { enabled: true },\n },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.TextBox,\n options: {\n placeholder:\n '@person-core:marital-statuses.entities.marital-status.fields.title.placeholder',\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'description',\n title: '@general:terms.common.description',\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.LargeTextBox,\n options: {\n rows: 3,\n placeholder:\n '@person-core:marital-statuses.entities.marital-status.fields.description.placeholder',\n },\n },\n },\n },\n ],\n columns: [\n { name: 'title', options: { width: '220px', order: 1 } },\n { name: 'description', options: { width: '280px', order: 2 } },\n ],\n interfaces: {\n master: {\n create: {\n sections,\n properties: propertyLayouts,\n },\n update: {\n sections,\n properties: propertyLayouts,\n },\n single: {\n title: '{{ title }}',\n sections,\n properties: propertyLayouts,\n actions: [...entityMasterRecordActions()],\n },\n list: {\n actions: [...entityMasterCrudActions()],\n views: [\n createAllQueryView({\n sorts: [{ name: 'title', dir: 'asc' }],\n }),\n ],\n },\n },\n },\n };\n\n return entityDef;\n}\n\n//#endregion\n"],"names":[],"mappings":";;;;AAKA;AAEA;AAEO,eAAe,oBAAoB,GAAA;IACxC,MAAM,QAAQ,GAAG,CAAC,EAAE,EAAE,EAAE,YAAY,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,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,aAAa,CAAC,IAAI;AAC5C,QAAA,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC,aAAa,CAAC,KAAK;AAC9C,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,aAAa,CAAC,IAAI;AAC5C,QAAA,UAAU,EAAE;YACV,gBAAgB;YAChB,gBAAgB;YAChB,yBAAyB;YACzB,qBA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,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,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 ----
@@ -10,6 +10,18 @@ async function personIdentifierTypeFactory() {
10
10
  name: RootConfig.entities.personIdentifierType.name,
11
11
  title: RootConfig.entities.personIdentifierType.title,
12
12
  icon: RootConfig.entities.personIdentifierType.icon,
13
+ searchTags: [
14
+ 'person-identifier-type',
15
+ 'identifier type',
16
+ 'ID document type',
17
+ 'national ID',
18
+ 'passport type',
19
+ 'global national regional',
20
+ 'نوع شناسه شخص',
21
+ 'انواع شناسه شخص',
22
+ 'محدوده',
23
+ 'شماره شناسایی',
24
+ ],
13
25
  plugins: [{ name: 'archive' }],
14
26
  formats: {
15
27
  individual: RootConfig.entities.personIdentifierType.title,
@@ -186,4 +198,4 @@ async function personIdentifierTypeFactory() {
186
198
  //#endregion
187
199
 
188
200
  export { personIdentifierTypeFactory };
189
- //# sourceMappingURL=acorex-platform-module-person-core-client-contracts-entity-catalog-person-identifier-type.entity-D_XVLaZw.mjs.map
201
+ //# sourceMappingURL=acorex-platform-module-person-core-client-contracts-entity-catalog-person-identifier-type.entity-CGBi9Dku.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-person-core-client-contracts-entity-catalog-person-identifier-type.entity-CGBi9Dku.mjs","sources":["../../../../libs/modules/person-core/contracts/src/entities/person-identifier-type/person-identifier-type.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 personIdentifierTypeFactory(): Promise<AXPEntity> {\n\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.personIdentifierType.name,\n title: RootConfig.entities.personIdentifierType.title,\n icon: RootConfig.entities.personIdentifierType.icon,\n searchTags: [\n 'person-identifier-type',\n 'identifier type',\n 'ID document type',\n 'national ID',\n 'passport type',\n 'global national regional',\n 'نوع شناسه شخص',\n 'انواع شناسه شخص',\n 'محدوده',\n 'شماره شناسایی',\n ],\n plugins: [{ name: 'archive' }],\n formats: {\n individual: RootConfig.entities.personIdentifierType.title,\n plural: RootConfig.entities.personIdentifierType.titlePlural,\n searchResult: {\n title: RootConfig.entities.personIdentifierType.title,\n description: '@person-core:person-identifier-types.entities.person-identifier-type.search-result-description',\n },\n },\n groups: [\n { id: 'basic-info', title: '@general:terms.interface.basic-info' },\n { id: 'validation', title: '@general:terms.validation.validation' },\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: { sort: { enabled: true }, filter: { advance: { enabled: true }, inline: { enabled: true } } },\n schema: {\n dataType: 'string',\n interface: { type: AXPWidgetsList.Editors.TextBox },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'description',\n title: '@general:terms.common.description',\n groupId: 'basic-info',\n options: { sort: { enabled: true }, filter: { advance: { enabled: true }, inline: { enabled: true } } },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.LargeTextBox,\n options: { rows: 3 },\n },\n },\n },\n {\n name: 'scope',\n title: '@person-core:person-identifier-types.entities.person-identifier-type.fields.scope',\n groupId: 'basic-info',\n options: { sort: { enabled: true }, filter: { advance: { enabled: true }, inline: { enabled: true } } },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.SelectBox,\n options: {\n valueField: 'value',\n textField: 'text',\n //TODO better implementation of this\n dataSource: [\n { value: 'global', text: '@person-core:person-identifier-types.entities.person-identifier-type.fields.scope.options.global' },\n { value: 'national', text: '@person-core:person-identifier-types.entities.person-identifier-type.fields.scope.options.national' },\n { value: 'regional', text: '@person-core:person-identifier-types.entities.person-identifier-type.fields.scope.options.regional' },\n ],\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'formatRegex',\n title: '@general:terms.validation.regex',\n groupId: 'validation',\n options: { sort: { enabled: false }, filter: { advance: { enabled: true }, inline: { enabled: false } } },\n schema: {\n dataType: 'string',\n interface: { type: AXPWidgetsList.Editors.TextBox },\n },\n },\n {\n name: 'minLength',\n title: '@general:terms.validation.min-length',\n groupId: 'validation',\n options: { sort: { enabled: true }, filter: { advance: { enabled: true }, inline: { enabled: false } } },\n schema: {\n dataType: 'number',\n interface: {\n type: AXPWidgetsList.Editors.NumberBox,\n options: { minValue: 1, maxValue: 100 },\n },\n },\n },\n {\n name: 'maxLength',\n title: '@general:terms.validation.max-length',\n groupId: 'validation',\n options: { sort: { enabled: true }, filter: { advance: { enabled: true }, inline: { enabled: false } } },\n schema: {\n dataType: 'number',\n interface: {\n type: AXPWidgetsList.Editors.NumberBox,\n options: { minValue: 1, maxValue: 1000 },\n },\n },\n },\n {\n name: 'isUnique',\n title: '@general:terms.status.states.is-unique',\n groupId: 'validation',\n options: { sort: { enabled: true }, filter: { advance: { enabled: true }, inline: { enabled: true } } },\n schema: {\n dataType: 'boolean',\n interface: { type: AXPWidgetsList.Editors.ToggleSwitch },\n },\n },\n ],\n columns: [\n { name: 'title', options: { width: '200px', order: 1 } },\n { name: 'scope', options: { width: '120px', order: 2 } },\n { name: 'description', options: { width: '280px', order: 3 } },\n ],\n interfaces: {\n master: {\n create: {\n sections: [{ id: 'basic-info' }, { id: 'validation' }],\n properties: [\n { name: 'title', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },\n { name: 'scope', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },\n { name: 'formatRegex', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },\n { name: 'minLength', layout: { positions: { lg: { colSpan: 3, order: 5 } } } },\n { name: 'maxLength', layout: { positions: { lg: { colSpan: 3, order: 6 } } } },\n { name: 'isUnique', layout: { positions: { lg: { colSpan: 3, order: 7 } } } },\n ],\n },\n update: {\n sections: [{ id: 'basic-info' }, { id: 'validation' }],\n properties: [\n { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },\n { name: 'scope', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },\n { name: 'formatRegex', layout: { positions: { lg: { colSpan: 6, order: 5 } } } },\n { name: 'minLength', layout: { positions: { lg: { colSpan: 3, order: 6 } } } },\n { name: 'maxLength', layout: { positions: { lg: { colSpan: 3, order: 7 } } } },\n { name: 'isUnique', layout: { positions: { lg: { colSpan: 3, order: 8 } } } },\n ],\n },\n single: {\n title: '{{title}}',\n sections: [{ id: 'basic-info' }, { id: 'validation' }],\n properties: [\n { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },\n { name: 'scope', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },\n { name: 'formatRegex', layout: { positions: { lg: { colSpan: 6, order: 5 } } } },\n { name: 'minLength', layout: { positions: { lg: { colSpan: 3, order: 6 } } } },\n { name: 'maxLength', layout: { positions: { lg: { colSpan: 3, order: 7 } } } },\n { name: 'isUnique', layout: { positions: { lg: { colSpan: 3, order: 8 } } } },\n ],\n actions: [...entityMasterRecordActions()],\n },\n list: {\n actions: [...entityMasterCrudActions()],\n views: [createAllQueryView({ sorts: [{ name: 'title', dir: 'asc' }] })],\n },\n },\n },\n };\n\n return entityDef;\n}\n\n//#endregion\n"],"names":[],"mappings":";;;;AAKA;AAEA;AAEO,eAAe,2BAA2B,GAAA;AAE/C,IAAA,MAAM,SAAS,GAAc;AAC3B,QAAA,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC9B,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,oBAAoB,CAAC,IAAI;AACnD,QAAA,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC,oBAAoB,CAAC,KAAK;AACrD,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,oBAAoB,CAAC,IAAI;AACnD,QAAA,UAAU,EAAE;YACV,wBAAwB;YACxB,iBAAiB;YACjB,kBAAkB;YAClB,aAAa;YACb,eAAe;YACf,0BAA0B;YAC1B,eAAe;YACf,iBAAiB;YACjB,QAAQ;YACR,eAAe;AAChB,SAAA;AACD,QAAA,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;AAC9B,QAAA,OAAO,EAAE;AACP,YAAA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,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE;wBAC9E,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE;wBAC9E,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE;AAC9E,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;oBACvC,KAAK,EAAE,CAAC,kBAAkB,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC;AACxE,iBAAA;AACF,aAAA;AACF,SAAA;KACF;AAED,IAAA,OAAO,SAAS;AAClB;AAEA;;"}
@@ -1,6 +1,6 @@
1
1
  import { AXPWidgetsCatalog } 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
  async function personRelationshipFactory() {
@@ -9,6 +9,19 @@ async function personRelationshipFactory() {
9
9
  name: RootConfig.entities.personRelationship.name,
10
10
  title: RootConfig.entities.personRelationship.title,
11
11
  icon: RootConfig.entities.personRelationship.icon,
12
+ searchTags: [
13
+ 'person-relationship',
14
+ 'related contact',
15
+ 'person link',
16
+ 'relationship type',
17
+ 'from person to person',
18
+ 'family contact',
19
+ 'مخاطب مرتبط',
20
+ 'مخاطبین مرتبط',
21
+ 'نوع ارتباط',
22
+ 'شخص مبدأ',
23
+ 'شخص مقصد',
24
+ ],
12
25
  plugins: [{ name: 'notes' }],
13
26
  formats: {
14
27
  individual: RootConfig.entities.personRelationship.title,
@@ -150,4 +163,4 @@ async function personRelationshipFactory() {
150
163
  }
151
164
 
152
165
  export { personRelationshipFactory };
153
- //# sourceMappingURL=acorex-platform-module-person-core-client-contracts-entity-catalog-person-relationship.entity-Bt_Y9UTE.mjs.map
166
+ //# sourceMappingURL=acorex-platform-module-person-core-client-contracts-entity-catalog-person-relationship.entity-BMx4zs9J.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-person-core-client-contracts-entity-catalog-person-relationship.entity-BMx4zs9J.mjs","sources":["../../../../libs/modules/person-core/contracts/src/entities/person-relationship/person-relationship.entity.ts"],"sourcesContent":["import { AXPWidgetsCatalog } from '@acorex-platform/framework-shared/core';\nimport { AXPEntity, createAllQueryView, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';\n//#region ---- Imports ----\nimport { RootConfig } from '../../root-config';\n\n//#endregion\n\nexport async function personRelationshipFactory(): Promise<AXPEntity | null> {\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.personRelationship.name,\n title: RootConfig.entities.personRelationship.title,\n icon: RootConfig.entities.personRelationship.icon,\n searchTags: [\n 'person-relationship',\n 'related contact',\n 'person link',\n 'relationship type',\n 'from person to person',\n 'family contact',\n 'مخاطب مرتبط',\n 'مخاطبین مرتبط',\n 'نوع ارتباط',\n 'شخص مبدأ',\n 'شخص مقصد',\n ],\n plugins: [{ name: 'notes' }],\n formats: {\n individual: RootConfig.entities.personRelationship.title,\n plural: RootConfig.entities.personRelationship.titlePlural,\n searchResult: {\n title: RootConfig.entities.personRelationship.title,\n description: '@person-core:person-relationships.entities.person-relationship.search-result-description',\n },\n },\n groups: [\n { id: 'basic-info', title: '@general:terms.interface.basic-info' },\n ],\n properties: [\n {\n name: 'fromPersonId',\n title: '@person-core:person-relationships.entities.person-relationship.properties.from-person.title',\n groupId: 'basic-info',\n options: { sort: { enabled: true }, filter: { advance: { enabled: true }, inline: { enabled: true } } },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.lookup,\n options: {\n entity: `${RootConfig.module.name}.${RootConfig.entities.person.name}`,\n multiple: false,\n textField: 'fullName',\n look: 'select',\n columns: ['fullName'],\n expose: [\n { source: 'id', target: 'fromPerson.id' },\n { source: 'fullName', target: 'fromPerson.fullName' },\n { source: 'phones', target: 'fromPerson.phones' },\n { source: 'emails', target: 'fromPerson.emails' },\n ],\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'toPersonId',\n title: '@person-core:person-relationships.entities.person-relationship.properties.to-person.title',\n groupId: 'basic-info',\n options: { sort: { enabled: true }, filter: { advance: { enabled: true }, inline: { enabled: true } } },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.lookup,\n options: {\n entity: `${RootConfig.module.name}.${RootConfig.entities.person.name}`,\n multiple: false,\n look: 'select',\n textField: 'fullName',\n columns: ['fullName'],\n allowCreate: 'quick',\n expose: [\n { source: 'id', target: 'toPerson.id' },\n { source: 'fullName', target: 'toPerson.fullName' },\n { source: 'phones', target: 'toPerson.phones' },\n { source: 'emails', target: 'toPerson.emails' },\n ],\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'typeId',\n title: '@person-core:person-relationships.entities.person-relationship.properties.type.title',\n groupId: 'basic-info',\n options: { sort: { enabled: true }, filter: { advance: { enabled: true }, inline: { enabled: true } } },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.lookup,\n options: {\n look: 'select',\n entity: `${RootConfig.module.name}.${RootConfig.entities.contactRole.name}`,\n multiple: false,\n allowCreate: 'quick',\n expose: [\n { source: 'id', target: 'type.id' },\n { source: 'title', target: 'type.title' },\n ],\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n ],\n columns: [\n { name: 'fromPersonId' },\n { name: 'toPersonId' },\n { name: 'typeId' },\n { name: 'toPerson.phones', options: { width: '450px' } },\n { name: 'toPerson.emails', options: { width: '450px' } },\n { name: 'notes' },\n ],\n\n interfaces: {\n master: {\n create: {\n sections: [{ id: 'basic-info' }],\n properties: [\n { name: 'toPersonId', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'typeId', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },\n { name: 'notes', layout: { positions: { lg: { colSpan: 12, order: 4 } } } },\n ],\n },\n update: {\n sections: [{ id: 'basic-info' }],\n properties: [\n { name: 'toPersonId', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'typeId', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },\n { name: 'notes', layout: { positions: { lg: { colSpan: 12, order: 4 } } } },\n ],\n },\n single: {\n title:\n '{{ context.eval(\"type.title\", { pipes: [\"translate\"] }) + \" - \" + context.eval(\"fromPerson.fullName\") + \" → \" + context.eval(\"toPerson.fullName\") }}',\n sections: [{ id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } }],\n properties: [\n { name: 'toPersonId', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'typeId', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },\n { name: 'notes', layout: { positions: { lg: { colSpan: 12, order: 4 } } } },\n ],\n actions: [...entityMasterRecordActions()],\n },\n list: {\n actions: [...entityMasterCrudActions()],\n views: [\n createAllQueryView({\n sorts: [{ name: 'typeId', dir: 'asc' }],\n }),\n ],\n },\n },\n },\n };\n\n return entityDef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