@acorex-platform/module-organization-management-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.
- package/fesm2022/{acorex-platform-module-organization-management-client-acorex-platform-module-organization-management-client-ZM6X7IDO.mjs → acorex-platform-module-organization-management-client-acorex-platform-module-organization-management-client-BCtoUvYP.mjs} +13 -46
- package/fesm2022/acorex-platform-module-organization-management-client-acorex-platform-module-organization-management-client-BCtoUvYP.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-business-unit-type.mjs +11 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-business-unit-type.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-business-unit.mjs +13 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-business-unit.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-chart.mjs +13 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-chart.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-company.mjs +12 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-company.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-job-definition.mjs +13 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-job-definition.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-job-level.mjs +12 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-job-level.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-position.mjs +14 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-position.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-responsibility-level.mjs +12 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-responsibility-level.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-responsibility.mjs +11 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-responsibility.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-team-business-unit.mjs +12 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-team-business-unit.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-team-member-role.mjs +11 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-team-member-role.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-team-member.mjs +13 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-team-member.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-team.mjs +12 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-team.mjs.map +1 -1
- package/fesm2022/{acorex-platform-module-organization-management-client-contracts-entity-catalog-acorex-platform-module-organization-management-client-contracts-entity-catalog-vMiwmkDK.mjs → acorex-platform-module-organization-management-client-contracts-entity-catalog-acorex-platform-module-organization-management-client-contracts-entity-catalog-DumiBwUm.mjs} +14 -14
- package/fesm2022/{acorex-platform-module-organization-management-client-contracts-entity-catalog-acorex-platform-module-organization-management-client-contracts-entity-catalog-vMiwmkDK.mjs.map → acorex-platform-module-organization-management-client-contracts-entity-catalog-acorex-platform-module-organization-management-client-contracts-entity-catalog-DumiBwUm.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-organization-management-client-contracts-entity-catalog-business-unit-type.entity-BmhCZeXd.mjs → acorex-platform-module-organization-management-client-contracts-entity-catalog-business-unit-type.entity-DrzNeJUR.mjs} +13 -2
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-business-unit-type.entity-DrzNeJUR.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-organization-management-client-contracts-entity-catalog-business-unit.entity-CIPmfbsM.mjs → acorex-platform-module-organization-management-client-contracts-entity-catalog-business-unit.entity-DGjlbflW.mjs} +15 -2
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-business-unit.entity-DGjlbflW.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-organization-management-client-contracts-entity-catalog-chart.entity-sg_rI9It.mjs → acorex-platform-module-organization-management-client-contracts-entity-catalog-chart.entity-C4hedpyp.mjs} +15 -2
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-chart.entity-C4hedpyp.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-organization-management-client-contracts-entity-catalog-company.entity-BSDO_7eL.mjs → acorex-platform-module-organization-management-client-contracts-entity-catalog-company.entity-DSHQFbRF.mjs} +14 -2
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-company.entity-DSHQFbRF.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-organization-management-client-contracts-entity-catalog-job-definition.entity-0W6OSQH-.mjs → acorex-platform-module-organization-management-client-contracts-entity-catalog-job-definition.entity-Dve7k1KM.mjs} +15 -2
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-job-definition.entity-Dve7k1KM.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-organization-management-client-contracts-entity-catalog-job-level.entity-DbMjRbn9.mjs → acorex-platform-module-organization-management-client-contracts-entity-catalog-job-level.entity-jEuDeK2D.mjs} +14 -2
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-job-level.entity-jEuDeK2D.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-organization-management-client-contracts-entity-catalog-position.entity-BkauiyPn.mjs → acorex-platform-module-organization-management-client-contracts-entity-catalog-position.entity-BjTA1xLo.mjs} +16 -2
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-position.entity-BjTA1xLo.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-organization-management-client-contracts-entity-catalog-responsibility-level.entity-BagFwJmO.mjs → acorex-platform-module-organization-management-client-contracts-entity-catalog-responsibility-level.entity-B0CHxc7v.mjs} +14 -2
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-responsibility-level.entity-B0CHxc7v.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-organization-management-client-contracts-entity-catalog-responsibility.entity-DHhT7rSq.mjs → acorex-platform-module-organization-management-client-contracts-entity-catalog-responsibility.entity-CEt27vXa.mjs} +13 -2
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-responsibility.entity-CEt27vXa.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-organization-management-client-contracts-entity-catalog-team-business-unit.entity-hkCAl8so.mjs → acorex-platform-module-organization-management-client-contracts-entity-catalog-team-business-unit.entity-N_LeeUxl.mjs} +14 -2
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-team-business-unit.entity-N_LeeUxl.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-organization-management-client-contracts-entity-catalog-team-member-role.entity-BeGE4JUl.mjs → acorex-platform-module-organization-management-client-contracts-entity-catalog-team-member-role.entity-CNok-ULB.mjs} +13 -2
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-team-member-role.entity-CNok-ULB.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-organization-management-client-contracts-entity-catalog-team-member.entity-10nYBrN4.mjs → acorex-platform-module-organization-management-client-contracts-entity-catalog-team-member.entity-DwF5LHAB.mjs} +15 -2
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-team-member.entity-DwF5LHAB.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-organization-management-client-contracts-entity-catalog-team.entity-Bygn5B_k.mjs → acorex-platform-module-organization-management-client-contracts-entity-catalog-team.entity-ujsFAjEX.mjs} +14 -2
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-team.entity-ujsFAjEX.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog.mjs +1 -1
- package/fesm2022/acorex-platform-module-organization-management-client-contracts.mjs +22 -1
- package/fesm2022/acorex-platform-module-organization-management-client-contracts.mjs.map +1 -1
- package/fesm2022/{acorex-platform-module-organization-management-client-job-definition-pages-component.provider-XH_rXGwz.mjs → acorex-platform-module-organization-management-client-job-definition-pages-component.provider-qOqAdl0L.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-organization-management-client-job-definition-pages-component.provider-XH_rXGwz.mjs.map → acorex-platform-module-organization-management-client-job-definition-pages-component.provider-qOqAdl0L.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-organization-management-client-job-definition-responsibilities-page.component-CpirrInU.mjs → acorex-platform-module-organization-management-client-job-definition-responsibilities-page.component-B1hFwmaF.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-organization-management-client-job-definition-responsibilities-page.component-CpirrInU.mjs.map → acorex-platform-module-organization-management-client-job-definition-responsibilities-page.component-B1hFwmaF.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-organization-management-client-org-chart-employee-flyout-contribution.provider-ZnMtkQSg.mjs → acorex-platform-module-organization-management-client-org-chart-employee-flyout-contribution.provider-BABjabWX.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-organization-management-client-org-chart-employee-flyout-contribution.provider-ZnMtkQSg.mjs.map → acorex-platform-module-organization-management-client-org-chart-employee-flyout-contribution.provider-BABjabWX.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-organization-management-client-org-chart-ux-node-contribution.provider-uZkFZFPA.mjs → acorex-platform-module-organization-management-client-org-chart-ux-node-contribution.provider-_T2S2dXE.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-organization-management-client-org-chart-ux-node-contribution.provider-uZkFZFPA.mjs.map → acorex-platform-module-organization-management-client-org-chart-ux-node-contribution.provider-_T2S2dXE.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-organization-management-client-org-chart.page-BhXvP2qN.mjs → acorex-platform-module-organization-management-client-org-chart.page-BKWoyv7D.mjs} +6 -6
- package/fesm2022/{acorex-platform-module-organization-management-client-org-chart.page-BhXvP2qN.mjs.map → acorex-platform-module-organization-management-client-org-chart.page-BKWoyv7D.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-organization-management-client-responsibilities-matrix-widget-edit.component-m4S5GRko.mjs → acorex-platform-module-organization-management-client-responsibilities-matrix-widget-edit.component-Bo-lM5Rd.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-organization-management-client-responsibilities-matrix-widget-edit.component-m4S5GRko.mjs.map → acorex-platform-module-organization-management-client-responsibilities-matrix-widget-edit.component-Bo-lM5Rd.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-organization-management-client-responsibilities-matrix-widget-view.component-Cbua852d.mjs → acorex-platform-module-organization-management-client-responsibilities-matrix-widget-view.component-CfhbdP-c.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-organization-management-client-responsibilities-matrix-widget-view.component-Cbua852d.mjs.map → acorex-platform-module-organization-management-client-responsibilities-matrix-widget-view.component-CfhbdP-c.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-organization-management-client-responsibilities-matrix.component-Cpgdxtw-.mjs → acorex-platform-module-organization-management-client-responsibilities-matrix.component-DoktMNuL.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-organization-management-client-responsibilities-matrix.component-Cpgdxtw-.mjs.map → acorex-platform-module-organization-management-client-responsibilities-matrix.component-DoktMNuL.mjs.map} +1 -1
- package/fesm2022/acorex-platform-module-organization-management-client.mjs +1 -1
- package/package.json +2 -2
- package/types/acorex-platform-module-organization-management-client-contracts.d.ts +8 -2
- package/fesm2022/acorex-platform-module-organization-management-client-acorex-platform-module-organization-management-client-ZM6X7IDO.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-business-unit-type.entity-BmhCZeXd.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-business-unit.entity-CIPmfbsM.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-chart.entity-sg_rI9It.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-company.entity-BSDO_7eL.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-job-definition.entity-0W6OSQH-.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-job-level.entity-DbMjRbn9.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-position.entity-BkauiyPn.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-responsibility-level.entity-BagFwJmO.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-responsibility.entity-DHhT7rSq.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-team-business-unit.entity-hkCAl8so.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-team-member-role.entity-BeGE4JUl.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-team-member.entity-10nYBrN4.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-team.entity-Bygn5B_k.mjs.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-organization-management-client-contracts-entity-catalog-team-business-unit.entity-N_LeeUxl.mjs","sources":["../../../../libs/modules/organization-management/contracts/src/entities/team-business-unit/team-business-unit.entity.ts"],"sourcesContent":["import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport { AXPEntity, createAllQueryView, entityMasterCrudActions, entityMasterDeleteAction } 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 factoryTeamBusinessUnit(): Promise<AXPEntity | null> {\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.teamBusinessUnit.name,\n title: '@organization-management:team-business-units.entities.team-business-unit.title',\n icon: RootConfig.entities.teamBusinessUnit.icon,\n searchTags: [\n 'team-business-unit',\n 'team org unit link',\n 'team business unit',\n 'primary host unit',\n 'effective dates',\n 'team assignment',\n 'پیوند تیم و واحد سازمانی',\n 'تیم',\n 'واحد سازمانی',\n 'اصلی',\n ],\n plugins: [\n { name: 'history' },\n {\n name: 'unique-fields',\n options: { fields: ['teamId', 'businessUnitId'], scope: 'global' },\n },\n ],\n formats: {\n individual: '@organization-management:team-business-units.entities.team-business-unit.title',\n plural: '@organization-management:team-business-units.entities.team-business-unit.plural',\n searchResult: {\n title: '@organization-management:team-business-units.entities.team-business-unit.title',\n description: RootConfig.module.title,\n },\n },\n groups: [\n {\n id: 'basic-info',\n title: '@general:terms.interface.basic-info',\n },\n ],\n properties: [\n {\n name: 'id',\n title: 'ID',\n groupId: 'basic-info',\n schema: {\n dataType: 'uuid',\n visible: false,\n nullable: false,\n readonly: true,\n unique: {\n enabled: true,\n },\n },\n },\n {\n name: 'teamId',\n title: '@organization-management:team-business-units.entities.team-business-unit.fields.team.title',\n groupId: 'basic-info',\n description: 'Sample description text for the code field',\n\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: `${RootConfig.module.name}.${RootConfig.entities.team.name}`,\n textField: 'title',\n valueField: 'id',\n expose: [\n { source: 'id', target: 'team.id' },\n { source: 'title', target: 'team.title' },\n ],\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'businessUnitId',\n title: '@organization-management:team-business-units.entities.team-business-unit.fields.business-unit.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.LookupBox,\n options: {\n entity: `${RootConfig.module.name}.${RootConfig.entities.businessUnit.name}`,\n textField: 'title',\n valueField: 'id',\n expose: [\n { source: 'id', target: 'businessUnit.id' },\n { source: 'title', target: 'businessUnit.title' },\n ],\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'isPrimary',\n title: '@organization-management:team-business-units.entities.team-business-unit.fields.is-primary.title',\n groupId: 'basic-info',\n schema: {\n dataType: 'boolean',\n interface: { type: AXPWidgetsList.Editors.ToggleSwitch },\n defaultValue: false,\n },\n },\n {\n name: 'effectiveFrom',\n title: '@organization-management:team-business-units.entities.team-business-unit.fields.effective-from.title',\n groupId: 'basic-info',\n schema: {\n dataType: 'date',\n interface: {\n type: AXPWidgetsList.Editors.DateTimeBox,\n },\n },\n },\n {\n name: 'effectiveTo',\n title: '@organization-management:team-business-units.entities.team-business-unit.fields.effective-to.title',\n groupId: 'basic-info',\n schema: {\n dataType: 'date',\n interface: {\n type: AXPWidgetsList.Editors.DateTimeBox,\n },\n },\n },\n ],\n columns: [\n { name: 'teamId', options: { dataPath: 'team.title' } },\n { name: 'businessUnitId', options: { dataPath: 'businessUnit.title' } },\n { name: 'isPrimary' },\n { name: 'effectiveFrom' },\n { name: 'effectiveTo' },\n ],\n interfaces: {\n master: {\n create: {\n sections: [{ id: 'basic-info' }],\n properties: [\n {\n name: 'teamId',\n layout: {\n positions: {\n lg: { colSpan: 12, order: 1 },\n },\n },\n },\n {\n name: 'businessUnitId',\n layout: {\n positions: {\n lg: { colSpan: 12, order: 2 },\n },\n },\n },\n {\n name: 'isPrimary',\n layout: {\n positions: {\n lg: { colSpan: 12, order: 3 },\n },\n },\n },\n {\n name: 'effectiveFrom',\n layout: {\n positions: {\n lg: { colSpan: 6, order: 4 },\n },\n },\n },\n {\n name: 'effectiveTo',\n layout: {\n positions: {\n lg: { colSpan: 6, order: 5 },\n },\n },\n },\n ],\n },\n update: {\n sections: [{ id: 'basic-info' }],\n properties: [\n {\n name: 'teamId',\n layout: {\n positions: {\n lg: { colSpan: 12, order: 1 },\n },\n },\n },\n {\n name: 'businessUnitId',\n layout: {\n positions: {\n lg: { colSpan: 12, order: 2 },\n },\n },\n },\n {\n name: 'isPrimary',\n layout: {\n positions: {\n lg: { colSpan: 12, order: 3 },\n },\n },\n },\n {\n name: 'effectiveFrom',\n layout: {\n positions: {\n lg: { colSpan: 6, order: 4 },\n },\n },\n },\n {\n name: 'effectiveTo',\n layout: {\n positions: {\n lg: { colSpan: 6, order: 5 },\n },\n },\n },\n ],\n },\n single: {\n title: '{{ context.eval(\"team.code\") + \" — \" + context.eval(\"businessUnit.code\") }}',\n sections: [{ id: 'basic-info' }],\n properties: [\n {\n name: 'teamId',\n layout: {\n positions: {\n lg: { colSpan: 12, order: 1 },\n },\n },\n },\n {\n name: 'businessUnitId',\n layout: {\n positions: {\n lg: { colSpan: 12, order: 2 },\n },\n },\n },\n {\n name: 'isPrimary',\n layout: {\n positions: {\n lg: { colSpan: 12, order: 3 },\n },\n },\n },\n {\n name: 'effectiveFrom',\n layout: {\n positions: {\n lg: { colSpan: 6, order: 4 },\n },\n },\n },\n {\n name: 'effectiveTo',\n layout: {\n positions: {\n lg: { colSpan: 6, order: 5 },\n },\n },\n },\n ],\n actions: [entityMasterDeleteAction()],\n },\n list: {\n actions: [...entityMasterCrudActions()],\n views: [\n createAllQueryView({\n sorts: [\n { name: 'isPrimary', dir: 'desc' },\n { name: 'teamId', dir: 'asc' },\n ],\n }),\n ],\n },\n },\n },\n };\n\n return entityDef;\n}\n\n//#endregion\n"],"names":[],"mappings":";;;;AAKA;AAEA;AAEO,eAAe,uBAAuB,GAAA;AAC3C,IAAA,MAAM,SAAS,GAAc;AAC3B,QAAA,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC9B,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,gBAAgB,CAAC,IAAI;AAC/C,QAAA,KAAK,EAAE,gFAAgF;AACvF,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,g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AA;AACF,6BAAA;AACF,yBAAA;AACD,wBAAA;AACE,4BAAA,IAAI,EAAE,eAAe;AACrB,4BAAA,MAAM,EAAE;AACN,gCAAA,SAAS,EAAE;oCACT,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE;AAC7B,iCAAA;AACF,6BAAA;AACF,yBAAA;AACD,wBAAA;AACE,4BAAA,IAAI,EAAE,aAAa;AACnB,4BAAA,MAAM,EAAE;AACN,gCAAA,SAAS,EAAE;oCACT,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE;AAC7B,iCAAA;AACF,6BAAA;AACF,yBAAA;AACF,qBAAA;AACD,oBAAA,OAAO,EAAE,CAAC,wBAAwB,EAAE,CAAC;AACtC,iBAAA;AACD,gBAAA,IAAI,EAAE;AACJ,oBAAA,OAAO,EAAE,CAAC,GAAG,uBAAuB,EAAE,CAAC;AACvC,oBAAA,KAAK,EAAE;AACL,wBAAA,kBAAkB,CAAC;AACjB,4BAAA,KAAK,EAAE;AACL,gCAAA,EAAE,IAAI,EAAE,WAAW,EAAE,GAAG,EAAE,MAAM,EAAE;AAClC,gCAAA,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,EAAE,KAAK,EAAE;AAC/B,6BAAA;yBACF,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-organization-management-client-contracts-entity-catalog-acorex-platform-module-organization-management-client-contracts-entity-catalog-
|
|
3
|
+
import { R as RootConfig } from './acorex-platform-module-organization-management-client-contracts-entity-catalog-acorex-platform-module-organization-management-client-contracts-entity-catalog-DumiBwUm.mjs';
|
|
4
4
|
|
|
5
5
|
async function factoryTeamMemberRole() {
|
|
6
6
|
const entityDef = {
|
|
@@ -8,6 +8,17 @@ async function factoryTeamMemberRole() {
|
|
|
8
8
|
name: RootConfig.entities.teamMemberRole.name,
|
|
9
9
|
title: '@organization-management:team-member-roles.entities.team-member-role.title',
|
|
10
10
|
icon: 'fa-light fa-user-tag',
|
|
11
|
+
searchTags: [
|
|
12
|
+
'team-member-role',
|
|
13
|
+
'team member role',
|
|
14
|
+
'team role type',
|
|
15
|
+
'member role catalog',
|
|
16
|
+
'team leadership role',
|
|
17
|
+
'نقش عضو تیم',
|
|
18
|
+
'نقشهای عضو تیم',
|
|
19
|
+
'تیم',
|
|
20
|
+
'عضو تیم',
|
|
21
|
+
],
|
|
11
22
|
formats: {
|
|
12
23
|
individual: '@organization-management:team-member-roles.entities.team-member-role.title',
|
|
13
24
|
plural: '@organization-management:team-member-roles.entities.team-member-role.plural',
|
|
@@ -102,4 +113,4 @@ async function factoryTeamMemberRole() {
|
|
|
102
113
|
}
|
|
103
114
|
|
|
104
115
|
export { factoryTeamMemberRole };
|
|
105
|
-
//# sourceMappingURL=acorex-platform-module-organization-management-client-contracts-entity-catalog-team-member-role.entity-
|
|
116
|
+
//# sourceMappingURL=acorex-platform-module-organization-management-client-contracts-entity-catalog-team-member-role.entity-CNok-ULB.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-organization-management-client-contracts-entity-catalog-team-member-role.entity-CNok-ULB.mjs","sources":["../../../../libs/modules/organization-management/contracts/src/entities/team-member-role/team-member-role.entity.ts"],"sourcesContent":["import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport { AXPEntity, createAllQueryView, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';\nimport { RootConfig } from '../../root-config';\n\nexport async function factoryTeamMemberRole(): Promise<AXPEntity | null> {\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.teamMemberRole.name,\n title: '@organization-management:team-member-roles.entities.team-member-role.title',\n icon: 'fa-light fa-user-tag',\n searchTags: [\n 'team-member-role',\n 'team member role',\n 'team role type',\n 'member role catalog',\n 'team leadership role',\n 'نقش عضو تیم',\n 'نقشهای عضو تیم',\n 'تیم',\n 'عضو تیم',\n ],\n formats: {\n individual: '@organization-management:team-member-roles.entities.team-member-role.title',\n plural: '@organization-management:team-member-roles.entities.team-member-role.plural',\n searchResult: { title: '{{ title }}', description: RootConfig.module.title },\n },\n groups: [{ id: 'basic-info', title: '@general:terms.interface.basic-info' }],\n properties: [\n {\n name: 'id',\n title: 'ID',\n groupId: 'basic-info',\n schema: { dataType: 'uuid', visible: false, nullable: false, readonly: true, unique: { enabled: true } },\n },\n {\n name: 'title',\n title: '@general:terms.common.title',\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.TextBox,\n },\n },\n validations: [{ rule: 'required' }],\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n },\n ],\n columns: [{ name: 'title' }],\n interfaces: {\n master: {\n create: {\n sections: [{ id: 'basic-info' }],\n properties: [\n {\n name: 'title',\n layout: {\n order: 1,\n positions: {\n sm: { colSpan: 12, order: 1 },\n md: { colSpan: 12, order: 1 },\n lg: { colSpan: 12, order: 1 },\n },\n },\n },\n ],\n },\n update: {\n sections: [{ id: 'basic-info' }],\n properties: [\n {\n name: 'title',\n layout: {\n order: 1,\n positions: {\n sm: { colSpan: 12, order: 1 },\n md: { colSpan: 12, order: 1 },\n lg: { colSpan: 12, order: 1 },\n },\n },\n },\n ],\n },\n single: {\n title: '{{title}}',\n sections: [{ id: 'basic-info' }],\n properties: [\n {\n name: 'title',\n layout: {\n order: 1,\n positions: {\n sm: { colSpan: 12, order: 1 },\n md: { colSpan: 12, order: 1 },\n lg: { colSpan: 12, order: 1 },\n },\n },\n },\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"],"names":[],"mappings":";;;;AAIO,eAAe,qBAAqB,GAAA;AACzC,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,4EAA4E;AACnF,QAAA,IAAI,EAAE,sBAAsB;AAC5B,QAAA,UAAU,EAAE;YACV,kBAAkB;YAClB,kBAAkB;YAClB,gBAAgB;YAChB,qBAAqB;YACrB,sBAAsB;YACtB,aAAa;YACb,iBAAiB;YACjB,KAAK;YACL,SAAS;AACV,SAAA;AACD,QAAA,OAAO,EAAE;AACP,YAAA,UAAU,EAAE,4EAA4E;AACxF,YAAA,MAAM,EAAE,6EAA6E;AACrF,YAAA,YAAY,EAAE,EAAE,KAAK,EAAE,aAAa,EAAE,WAAW,EAAE,UAAU,CAAC,MAAM,CAAC,KAAK,EAAE;AAC7E,SAAA;QACD,MAAM,EAAE,CAAC,EAAE,EAAE,EAAE,YAAY,EAAE,KAAK,EAAE,qCAAqC,EAAE,CAAC;AAC5E,QAAA,UAAU,EAAE;AACV,YAAA;AACE,gBAAA,IAAI,EAAE,IAAI;AACV,gBAAA,KAAK,EAAE,IAAI;AACX,gBAAA,OAAO,EAAE,YAAY;gBACrB,MAAM,EAAE,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE;AACzG,aAAA;AACD,YAAA;AACE,gBAAA,IAAI,EAAE,OAAO;AACb,gBAAA,KAAK,EAAE,6BAA6B;AAC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,CAAC,EAAE,CAAC,CAAC;AACxE,iBAAA;AACF,aAAA;AACF,SAAA;KACF;AAED,IAAA,OAAO,SAAS;AAClB;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';
|
|
2
2
|
import { entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';
|
|
3
|
-
import { R as RootConfig } from './acorex-platform-module-organization-management-client-contracts-entity-catalog-acorex-platform-module-organization-management-client-contracts-entity-catalog-
|
|
3
|
+
import { R as RootConfig } from './acorex-platform-module-organization-management-client-contracts-entity-catalog-acorex-platform-module-organization-management-client-contracts-entity-catalog-DumiBwUm.mjs';
|
|
4
4
|
|
|
5
5
|
async function factoryTeamMember() {
|
|
6
6
|
const entityDef = {
|
|
@@ -8,6 +8,19 @@ async function factoryTeamMember() {
|
|
|
8
8
|
name: RootConfig.entities.teamMember.name,
|
|
9
9
|
title: '@organization-management:team-members.entities.team-member.title',
|
|
10
10
|
icon: 'fa-light fa-users',
|
|
11
|
+
searchTags: [
|
|
12
|
+
'team-member',
|
|
13
|
+
'team member',
|
|
14
|
+
'team membership',
|
|
15
|
+
'employee on team',
|
|
16
|
+
'member role',
|
|
17
|
+
'team assignment',
|
|
18
|
+
'عضو تیم',
|
|
19
|
+
'اعضای تیم',
|
|
20
|
+
'کارمند',
|
|
21
|
+
'نقش',
|
|
22
|
+
'تیم',
|
|
23
|
+
],
|
|
11
24
|
formats: {
|
|
12
25
|
individual: '@organization-management:team-members.entities.team-member.title',
|
|
13
26
|
plural: '@organization-management:team-members.entities.team-member.plural',
|
|
@@ -248,4 +261,4 @@ async function factoryTeamMember() {
|
|
|
248
261
|
}
|
|
249
262
|
|
|
250
263
|
export { factoryTeamMember };
|
|
251
|
-
//# sourceMappingURL=acorex-platform-module-organization-management-client-contracts-entity-catalog-team-member.entity-
|
|
264
|
+
//# sourceMappingURL=acorex-platform-module-organization-management-client-contracts-entity-catalog-team-member.entity-DwF5LHAB.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-organization-management-client-contracts-entity-catalog-team-member.entity-DwF5LHAB.mjs","sources":["../../../../libs/modules/organization-management/contracts/src/entities/team-member/team-member.entity.ts"],"sourcesContent":["import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport { AXPEntity, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';\nimport { RootConfig } from '../../root-config';\n\nexport async function factoryTeamMember(): Promise<AXPEntity | null> {\n\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.teamMember.name,\n title: '@organization-management:team-members.entities.team-member.title',\n icon: 'fa-light fa-users',\n searchTags: [\n 'team-member',\n 'team member',\n 'team membership',\n 'employee on team',\n 'member role',\n 'team assignment',\n 'عضو تیم',\n 'اعضای تیم',\n 'کارمند',\n 'نقش',\n 'تیم',\n ],\n formats: {\n individual: '@organization-management:team-members.entities.team-member.title',\n plural: '@organization-management:team-members.entities.team-member.plural',\n searchResult: {\n title: '@organization-management:team-members.entities.team-member.title',\n description: RootConfig.module.title,\n },\n },\n groups: [\n {\n id: 'basic-info',\n title: '@general:terms.interface.basic-info',\n },\n ],\n properties: [\n {\n name: 'id',\n title: 'ID',\n groupId: 'basic-info',\n schema: {\n dataType: 'uuid',\n visible: false,\n nullable: false,\n readonly: true,\n unique: {\n enabled: true,\n },\n },\n },\n {\n name: 'teamId',\n title: '@organization-management:team-members.entities.team-member.fields.team.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 readonly: true,\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: `${RootConfig.module.name}.${RootConfig.entities.team.name}`,\n textField: 'title',\n valueField: 'id',\n expose: [\n { source: 'id', target: 'team.id' },\n { source: 'title', target: 'team.title' },\n ],\n },\n },\n },\n validations: [\n {\n rule: 'required',\n },\n ],\n },\n {\n name: 'employeeId',\n title: '@organization-management:team-members.entities.team-member.fields.employee.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.LookupBox,\n options: {\n entity: `HumanCapitalManagement.Employee`,\n textField: 'person.fullName',\n valueField: 'id',\n look: 'select',\n expose: [\n { source: 'id', target: 'employee.id' },\n { source: 'person.fullName', target: 'employee.person.fullName' },\n ],\n },\n },\n },\n validations: [\n {\n rule: 'required',\n },\n ],\n },\n {\n name: 'roleId',\n title: '@organization-management:team-members.entities.team-member.fields.role.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.LookupBox,\n options: {\n entity: `${RootConfig.module.name}.${RootConfig.entities.teamMemberRole.name}`,\n textField: 'title',\n valueField: 'id',\n look: 'select',\n expose: [\n { source: 'id', target: 'role.id' },\n { source: 'title', target: 'role.title' },\n ],\n },\n },\n },\n validations: [\n {\n rule: 'required',\n },\n ],\n },\n ],\n columns: [\n { name: 'employeeId', options: { dataPath: 'employee.person.fullName' } },\n { name: 'roleId', options: { dataPath: 'role.title' } },\n ],\n\n interfaces: {\n master: {\n create: {\n sections: [\n {\n id: 'basic-info',\n },\n ],\n properties: [\n {\n name: 'teamId',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n order: 1,\n },\n },\n },\n },\n {\n name: 'employeeId',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n order: 2,\n },\n },\n },\n },\n {\n name: 'roleId',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n order: 3,\n },\n },\n },\n },\n ],\n },\n update: {\n sections: [\n {\n id: 'basic-info',\n },\n ],\n properties: [\n {\n name: 'employeeId',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n order: 1,\n },\n },\n },\n },\n {\n name: 'roleId',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n order: 2,\n },\n },\n },\n },\n ],\n },\n single: {\n title:\n '{{ context.eval(\"employee.person.fullName\") + \" - \" + context.eval(\"role.title\", { pipes: [\"translate\"] }) }}',\n sections: [\n {\n id: 'basic-info',\n },\n ],\n properties: [\n {\n name: 'employeeId',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n order: 1,\n },\n },\n },\n },\n {\n name: 'roleId',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n order: 2,\n },\n },\n },\n },\n ],\n actions: [...entityMasterRecordActions()],\n },\n // No list interface - this entity is only accessible as a related entity\n },\n },\n };\n\n return entityDef;\n}\n\n"],"names":[],"mappings":";;;;AAIO,eAAe,iBAAiB,GAAA;AAErC,IAAA,MAAM,SAAS,GAAc;AAC3B,QAAA,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC9B,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,UAAU,CAAC,IAAI;AACzC,QAAA,KAAK,EAAE,kEAAkE;AACzE,QAAA,IAAI,EAAE,mBAAmB;AACzB,QAAA,UAAU,EAAE;YACV,aAAa;YACb,aAAa;YACb,iBAAiB;YACjB,kBAAkB;YAClB,aAAa;YACb,iBAAiB;YACjB,SAAS;YACT,WAAW;YACX,QAAQ;YACR,KAAK;YACL,KAAK;AACN,SAAA;AACD,QAAA,OAAO,EAAE;AACP,YAAA,UAAU,EAAE,kEAAkE;AAC9E,YAAA,MAAM,EAAE,mEAAmE;AAC3E,YAAA,YAAY,EAAE;AACZ,gBAAA,KAAK,EAAE,kEAAkE;AACzE,gBAAA,WAAW,EAAE,UAAU,CAAC,MAAM,CAAC,KAAK;AACrC,aAAA;AACF,SAAA;AACD,QAAA,MAAM,EAAE;AACN,YAAA;AACE,gBAAA,EAAE,EAAE,YAAY;AAChB,gBAAA,KAAK,EAAE,qCAAqC;AAC7C,aAAA;AACF,SAAA;AACD,QAAA,UAAU,EAAE;A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E;AACF,wCAAA,OAAO,EAAE,CAAC;AACV,wCAAA,KAAK,EAAE,CAAC;AACT,qCAAA;AACF,iCAAA;AACF,6BAAA;AACF,yBAAA;AACF,qBAAA;AACF,iBAAA;AACD,gBAAA,MAAM,EAAE;AACN,oBAAA,KAAK,EACH,+GAA+G;AACjH,oBAAA,QAAQ,EAAE;AACR,wBAAA;AACE,4BAAA,EAAE,EAAE,YAAY;AACjB,yBAAA;AACF,qBAAA;AACD,oBAAA,UAAU,EAAE;AACV,wBAAA;AACE,4BAAA,IAAI,EAAE,YAAY;AAClB,4BAAA,MAAM,EAAE;AACN,gCAAA,SAAS,EAAE;AACT,oCAAA,EAAE,EAAE;AACF,wCAAA,OAAO,EAAE,CAAC;AACV,wCAAA,KAAK,EAAE,CAAC;AACT,qCAAA;AACF,iCAAA;AACF,6BAAA;AACF,yBAAA;AACD,wBAAA;AACE,4BAAA,IAAI,EAAE,QAAQ;AACd,4BAAA,MAAM,EAAE;AACN,gCAAA,SAAS,EAAE;AACT,oCAAA,EAAE,EAAE;AACF,wCAAA,OAAO,EAAE,CAAC;AACV,wCAAA,KAAK,EAAE,CAAC;AACT,qCAAA;AACF,iCAAA;AACF,6BAAA;AACF,yBAAA;AACF,qBAAA;AACD,oBAAA,OAAO,EAAE,CAAC,GAAG,yBAAyB,EAAE,CAAC;AAC1C,iBAAA;;AAEF,aAAA;AACF,SAAA;KACF;AAED,IAAA,OAAO,SAAS;AAClB;;"}
|
|
@@ -1,12 +1,24 @@
|
|
|
1
1
|
import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';
|
|
2
2
|
import { createAllQueryView, entityMasterCrudActions, entityMasterDeleteAction, entityDetailsCrudActions, entityDetailsSimpleCondition } from '@acorex-platform/framework-shared/entity';
|
|
3
|
-
import { R as RootConfig } from './acorex-platform-module-organization-management-client-contracts-entity-catalog-acorex-platform-module-organization-management-client-contracts-entity-catalog-
|
|
3
|
+
import { R as RootConfig } from './acorex-platform-module-organization-management-client-contracts-entity-catalog-acorex-platform-module-organization-management-client-contracts-entity-catalog-DumiBwUm.mjs';
|
|
4
4
|
|
|
5
5
|
async function factoryTeam() {
|
|
6
6
|
const entityDef = {
|
|
7
7
|
module: RootConfig.module.name,
|
|
8
8
|
name: RootConfig.entities.team.name,
|
|
9
9
|
icon: RootConfig.entities.team.icon,
|
|
10
|
+
searchTags: [
|
|
11
|
+
'team',
|
|
12
|
+
'work team',
|
|
13
|
+
'team code',
|
|
14
|
+
'team members',
|
|
15
|
+
'business units',
|
|
16
|
+
'organizational team',
|
|
17
|
+
'تیم',
|
|
18
|
+
'تیمها',
|
|
19
|
+
'اعضای تیم',
|
|
20
|
+
'واحدهای سازمانی',
|
|
21
|
+
],
|
|
10
22
|
title: RootConfig.entities.team.title,
|
|
11
23
|
plugins: [
|
|
12
24
|
{ name: 'comments', options: { display: 'page' } },
|
|
@@ -303,4 +315,4 @@ async function factoryTeam() {
|
|
|
303
315
|
}
|
|
304
316
|
|
|
305
317
|
export { factoryTeam };
|
|
306
|
-
//# sourceMappingURL=acorex-platform-module-organization-management-client-contracts-entity-catalog-team.entity-
|
|
318
|
+
//# sourceMappingURL=acorex-platform-module-organization-management-client-contracts-entity-catalog-team.entity-ujsFAjEX.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-organization-management-client-contracts-entity-catalog-team.entity-ujsFAjEX.mjs","sources":["../../../../libs/modules/organization-management/contracts/src/entities/team/team.entity.ts"],"sourcesContent":["import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport { AXPEntity, createAllQueryView, entityDetailsCrudActions, entityDetailsSimpleCondition, entityMasterCrudActions, entityMasterDeleteAction } from '@acorex-platform/framework-shared/entity';\nimport { RootConfig } from '../../root-config';\n\nexport async function factoryTeam(): Promise<AXPEntity | null> {\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.team.name,\n icon: RootConfig.entities.team.icon,\n searchTags: [\n 'team',\n 'work team',\n 'team code',\n 'team members',\n 'business units',\n 'organizational team',\n 'تیم',\n 'تیمها',\n 'اعضای تیم',\n 'واحدهای سازمانی',\n ],\n\n title: RootConfig.entities.team.title,\n plugins: [\n { name: 'comments', options: { display: 'page' } },\n { name: 'history' },\n { name: 'identifier', options: { field: 'code', rule: 'organization-team-code' } },\n { name: 'unique-fields', options: { fields: 'code', scope: 'global' } },\n { name: 'archive' },\n { name: 'category' },\n ],\n formats: {\n individual: '@organization-management:teams.entities.team.title',\n plural: '@organization-management:teams.entities.team.plural',\n searchResult: {\n title: '{{ title }}',\n description: RootConfig.module.title,\n },\n },\n relatedEntities: [\n {\n entity: `${RootConfig.module.name}.${RootConfig.entities.teamMember.name}`,\n title: '@organization-management:teams.related-entities.members.title',\n persistence: { foreignKeyField: 'teamId' },\n columns: ['employeeId', 'roleId'],\n conditions: [entityDetailsSimpleCondition('teamId')],\n actions: [...entityDetailsCrudActions()],\n layout: { type: 'page-list' },\n },\n {\n entity: `${RootConfig.module.name}.${RootConfig.entities.teamBusinessUnit.name}`,\n title: '@organization-management:teams.related-entities.business-units.title',\n columns: ['businessUnitId', 'isPrimary', 'effectiveFrom', 'effectiveTo'],\n conditions: [entityDetailsSimpleCondition('teamId')],\n actions: [...entityDetailsCrudActions('teamId')],\n layout: { type: 'page-list' },\n excludeProperties: ['teamId'],\n },\n ],\n groups: [\n {\n id: 'basic-info',\n title: '@general:terms.interface.basic-info',\n },\n ],\n properties: [\n {\n name: 'id',\n title: 'ID',\n schema: {\n dataType: 'uuid',\n visible: false,\n nullable: false,\n readonly: true,\n unique: {\n enabled: true,\n },\n },\n },\n {\n name: 'code',\n title: '@organization-management:teams.entities.team.fields.code.title',\n groupId: 'basic-info',\n options: {\n sort: {\n enabled: true,\n },\n filter: {\n advance: {\n enabled: true,\n },\n inline: {\n enabled: true,\n },\n },\n },\n schema: {\n dataType: 'string',\n unique: {\n enabled: true,\n },\n interface: {\n type: AXPWidgetsList.Editors.TextBox,\n options: {\n placeholder: '@organization-management:teams.entities.team.fields.code.placeholder',\n },\n },\n },\n validations: [\n {\n rule: 'required',\n },\n ],\n },\n {\n name: 'title',\n title: `@general:terms.common.title`,\n groupId: 'basic-info',\n options: {\n sort: {\n enabled: true,\n },\n filter: {\n advance: {\n enabled: true,\n },\n inline: {\n enabled: true,\n },\n },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.TextBox,\n },\n },\n validations: [\n {\n rule: 'required',\n },\n ],\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 },\n },\n },\n ],\n columns: [{ name: 'code' }, { name: 'title' }, { name: 'description' }],\n\n interfaces: {\n master: {\n create: {\n sections: [\n {\n id: 'basic-info',\n layout: {\n positions: {\n sm: { colSpan: 12 },\n md: { colSpan: 12 },\n lg: { colSpan: 12 },\n },\n },\n },\n ],\n properties: [\n {\n name: 'title',\n layout: {\n order: 1,\n positions: {\n sm: { colSpan: 12, order: 1 },\n md: { colSpan: 8, order: 1 },\n lg: { colSpan: 8, order: 1 },\n },\n },\n },\n {\n name: 'code',\n layout: {\n order: 2,\n positions: {\n sm: { colSpan: 12, order: 2 },\n md: { colSpan: 4, order: 2 },\n lg: { colSpan: 4, order: 2 },\n },\n },\n },\n {\n name: 'description',\n layout: {\n order: 3,\n positions: {\n sm: { colSpan: 12, order: 3 },\n md: { colSpan: 12, order: 3 },\n lg: { colSpan: 12, order: 3 },\n },\n },\n },\n ],\n },\n update: {\n sections: [\n {\n id: 'basic-info',\n layout: {\n positions: {\n sm: { colSpan: 12 },\n md: { colSpan: 12 },\n lg: { colSpan: 12 },\n },\n },\n },\n ],\n properties: [\n {\n name: 'title',\n layout: {\n order: 1,\n positions: {\n sm: { colSpan: 12, order: 1 },\n md: { colSpan: 8, order: 1 },\n lg: { colSpan: 8, order: 1 },\n },\n },\n },\n {\n name: 'code',\n layout: {\n order: 2,\n positions: {\n sm: { colSpan: 12, order: 2 },\n md: { colSpan: 4, order: 2 },\n lg: { colSpan: 4, order: 2 },\n },\n },\n },\n {\n name: 'description',\n layout: {\n order: 3,\n positions: {\n sm: { colSpan: 12, order: 3 },\n md: { colSpan: 12, order: 3 },\n lg: { colSpan: 12, order: 3 },\n },\n },\n },\n ],\n },\n single: {\n title: '{{ title }}',\n sections: [\n {\n id: 'basic-info',\n layout: {\n positions: {\n sm: { colSpan: 12 },\n md: { colSpan: 12 },\n lg: { colSpan: 12 },\n },\n },\n },\n ],\n properties: [\n {\n name: 'title',\n layout: {\n order: 1,\n positions: {\n sm: { colSpan: 12, order: 1 },\n md: { colSpan: 8, order: 1 },\n lg: { colSpan: 8, order: 1 },\n },\n },\n },\n {\n name: 'code',\n layout: {\n order: 2,\n positions: {\n sm: { colSpan: 12, order: 2 },\n md: { colSpan: 4, order: 2 },\n lg: { colSpan: 4, order: 2 },\n },\n },\n },\n {\n name: 'description',\n layout: {\n order: 3,\n positions: {\n sm: { colSpan: 12, order: 3 },\n md: { colSpan: 12, order: 3 },\n lg: { colSpan: 12, order: 3 },\n },\n },\n },\n ],\n actions: [entityMasterDeleteAction()],\n },\n list: {\n actions: [...entityMasterCrudActions()],\n views: [createAllQueryView({ sorts: [{ name: 'title', dir: 'asc' }] })],\n },\n },\n },\n };\n\n return entityDef;\n}\n"],"names":[],"mappings":";;;;AAIO,eAAe,WAAW,GAAA;AAC/B,IAAA,MAAM,SAAS,GAAc;AAC3B,QAAA,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC9B,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI;AACnC,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI;AACnC,QAAA,UAAU,EAAE;YACV,MAAM;YACN,WAAW;YACX,WAAW;YACX,cAAc;YACd,gBAAgB;YAChB,qBAAqB;YACrB,KAAK;YACL,QAAQ;YACR,WAAW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AAE,CAAC,EAAE;oCAC7B,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE;oCAC7B,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE;AAC9B,iCAAA;AACF,6BAAA;AACF,yBAAA;AACF,qBAAA;AACD,oBAAA,OAAO,EAAE,CAAC,wBAAwB,EAAE,CAAC;AACtC,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;;"}
|
package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { o as organizationManagementLocalEntityCatalog } from './acorex-platform-module-organization-management-client-contracts-entity-catalog-acorex-platform-module-organization-management-client-contracts-entity-catalog-
|
|
1
|
+
export { o as organizationManagementLocalEntityCatalog } from './acorex-platform-module-organization-management-client-contracts-entity-catalog-acorex-platform-module-organization-management-client-contracts-entity-catalog-DumiBwUm.mjs';
|
|
2
2
|
//# sourceMappingURL=acorex-platform-module-organization-management-client-contracts-entity-catalog.mjs.map
|
|
@@ -473,6 +473,27 @@ const RootConfig = {
|
|
|
473
473
|
},
|
|
474
474
|
};
|
|
475
475
|
|
|
476
|
+
//#region ---- Imports ----
|
|
477
|
+
//#endregion
|
|
478
|
+
//#region ---- Manifest Definition ----
|
|
479
|
+
/**
|
|
480
|
+
* Organization Management Module Manifest.
|
|
481
|
+
* Defines module metadata, features, and provider references.
|
|
482
|
+
*/
|
|
483
|
+
const OrganizationManagementManifest = {
|
|
484
|
+
name: RootConfig.module.name,
|
|
485
|
+
version: '1.0.0',
|
|
486
|
+
title: RootConfig.module.title,
|
|
487
|
+
icon: RootConfig.module.icon,
|
|
488
|
+
i18n: RootConfig.config.i18n,
|
|
489
|
+
type: 'platform',
|
|
490
|
+
domain: 'platform',
|
|
491
|
+
// LearningManagement is optional (job-definition skills page). Do not list it as a
|
|
492
|
+
// hard dependency — feature resolution would auto-enable Learning for every tenant
|
|
493
|
+
// that has OrganizationManagement (e.g. Safetyminder without Learning).
|
|
494
|
+
};
|
|
495
|
+
//#endregion
|
|
496
|
+
|
|
476
497
|
/** Persisted org-chart JSON: all chart modes in one row (`structure` column). */
|
|
477
498
|
const AXM_ORG_CHART_STRUCTURE_SCHEMA_VERSION = 1;
|
|
478
499
|
|
|
@@ -482,5 +503,5 @@ const AXM_ORG_CHART_STRUCTURE_SCHEMA_VERSION = 1;
|
|
|
482
503
|
* Generated bundle index. Do not edit.
|
|
483
504
|
*/
|
|
484
505
|
|
|
485
|
-
export { AXMOrganizationManagementCommandKeys, AXMOrganizationManagementServerCommands, AXM_HCM_POSITION_ASSIGNMENT_ASSIGN_COMMAND, AXM_HCM_POSITION_ASSIGNMENT_REVOKE_COMMAND, AXM_ORG_CHART_STRUCTURE_SCHEMA_VERSION, AXPOrganizationManagementFeatureKeys, AXPOrganizationManagementMenuKeys, AXPOrganizationManagementPermissionKeys, AXPOrganizationManagementSettings, AXPPeopleOrganizationPermissionKeys, AXP_ORGANIZATION_COPYRIGHT_TEXT_DEFAULT, COMPANY_EMAIL_ORG_SETTING_KEYS, JOB_DEFINITION_RESPONSIBILITIES_PAGE_COMPONENT_KEY, JOB_DEFINITION_SKILLS_PAGE_COMPONENT_KEY, RootConfig, buildCompanyEmailMergeDefaults, buildCompanyEmailMergeFromOrganization, buildCompanyLogoFileDownloadPath, configureOrgChartMergedBusinessUnitId, extractCompanyLogoFileId, getOrgChartMergedBusinessUnitId };
|
|
506
|
+
export { AXMOrganizationManagementCommandKeys, AXMOrganizationManagementServerCommands, AXM_HCM_POSITION_ASSIGNMENT_ASSIGN_COMMAND, AXM_HCM_POSITION_ASSIGNMENT_REVOKE_COMMAND, AXM_ORG_CHART_STRUCTURE_SCHEMA_VERSION, AXPOrganizationManagementFeatureKeys, AXPOrganizationManagementMenuKeys, AXPOrganizationManagementPermissionKeys, AXPOrganizationManagementSettings, AXPPeopleOrganizationPermissionKeys, AXP_ORGANIZATION_COPYRIGHT_TEXT_DEFAULT, COMPANY_EMAIL_ORG_SETTING_KEYS, JOB_DEFINITION_RESPONSIBILITIES_PAGE_COMPONENT_KEY, JOB_DEFINITION_SKILLS_PAGE_COMPONENT_KEY, OrganizationManagementManifest, RootConfig, buildCompanyEmailMergeDefaults, buildCompanyEmailMergeFromOrganization, buildCompanyLogoFileDownloadPath, configureOrgChartMergedBusinessUnitId, extractCompanyLogoFileId, getOrgChartMergedBusinessUnitId };
|
|
486
507
|
//# sourceMappingURL=acorex-platform-module-organization-management-client-contracts.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-module-organization-management-client-contracts.mjs","sources":["../../../../libs/modules/organization-management/contracts/src/commands.keys.ts","../../../../libs/modules/organization-management/contracts/src/server-commands.ts","../../../../libs/modules/organization-management/contracts/src/settings.keys.ts","../../../../libs/modules/organization-management/contracts/src/company-email-merge.util.ts","../../../../libs/modules/organization-management/contracts/src/features.keys.ts","../../../../libs/modules/organization-management/contracts/src/JOB_DEFINITION_RESPONSIBILITIES_PAGE_COMPONENT_KEY.ts","../../../../libs/modules/organization-management/contracts/src/JOB_DEFINITION_SKILLS_PAGE_COMPONENT_KEY.ts","../../../../libs/modules/organization-management/contracts/src/menu.keys.ts","../../../../libs/modules/organization-management/contracts/src/org-chart-merged-business-unit.configure.ts","../../../../libs/modules/organization-management/contracts/src/permission.keys.ts","../../../../libs/modules/organization-management/contracts/src/root-config.ts","../../../../libs/modules/organization-management/contracts/src/entities/chart/chart.types.ts","../../../../libs/modules/organization-management/contracts/src/index.ts","../../../../libs/modules/organization-management/contracts/src/acorex-platform-module-organization-management-client-contracts.ts"],"sourcesContent":["//#region ---- Client command keys ----\n\n/**\n * Client-side command keys (UI, dialogs, orchestration).\n * Server handlers use {@link AXMOrganizationManagementServerCommands} — never reuse these strings.\n */\nexport const AXMOrganizationManagementCommandKeys = {\n OrganizationChart: {\n Generate: 'OrganizationManagement.OrgChart:Generate',\n AddPositionToBusinessUnit: 'OrganizationManagement.OrgChart:AddPositionToBusinessUnit',\n AddBusinessUnitToBusinessUnit: 'OrganizationManagement.OrgChart:AddBusinessUnitToBusinessUnit',\n AddTeamToBusinessUnit: 'OrganizationManagement.OrgChart:AddTeamToBusinessUnit',\n RemovePositionFromBusinessUnit: 'OrganizationManagement.OrgChart:RemovePositionFromBusinessUnit',\n ReplacePositionAssignee: 'OrganizationManagement.OrgChart:ReplacePositionAssignee',\n },\n} as const;\n\n//#endregion\n\n/** HCM command key (string only; avoid importing HCM from org-management). */\nexport const AXM_HCM_POSITION_ASSIGNMENT_ASSIGN_COMMAND =\n 'HumanCapitalManagement.PositionAssignment:Assign' as const;\n\n/** HCM command key (string only; avoid importing HCM from org-management). */\nexport const AXM_HCM_POSITION_ASSIGNMENT_REVOKE_COMMAND =\n 'HumanCapitalManagement.PositionAssignment:Revoke' as const;\n","//#region ---- Server command keys ----\n\n/**\n * Server-only runtime command keys for Organization Management.\n * Must stay distinct from client {@link AXMOrganizationManagementCommandKeys}.\n */\nexport const AXMOrganizationManagementServerCommands = {\n OrganizationChart: {\n Generate: 'OrganizationManagement:Server:OrgChart:Generate',\n },\n} as const;\n\n//#endregion\n","export enum AXPOrganizationManagementSettings {\n OrganizationName = 'OrganizationManagement:Setting:Organization.OrganizationName',\n OrganizationNameDisplay = 'OrganizationManagement:Setting:Organization.OrganizationNameDisplay',\n TradingName = 'OrganizationManagement:Setting:Organization.TradingName',\n TradingNameDisplay = 'OrganizationManagement:Setting:Organization.TradingNameDisplay',\n CompanyBio = 'OrganizationManagement:Setting:Organization.CompanyBio',\n BusinessRegistrationNumber = 'OrganizationManagement:Setting:Organization.BusinessRegistrationNumber',\n CompanyRegistrationNumber = 'OrganizationManagement:Setting:Organization.CompanyRegistrationNumber',\n LicenceNumber = 'OrganizationManagement:Setting:Organization.LicenceNumber',\n OrganizationID = 'OrganizationManagement:Setting:Organization.OrganizationID',\n ContactEmail = 'OrganizationManagement:Setting:Organization.ContactEmail',\n ContactPhone = 'OrganizationManagement:Setting:Organization.ContactPhone',\n OrganizationStreet1 = 'OrganizationManagement:Setting:Organization.Street1',\n OrganizationStreet2 = 'OrganizationManagement:Setting:Organization.Street2',\n OrganizationCountryId = 'OrganizationManagement:Setting:Organization.CountryId',\n OrganizationStateId = 'OrganizationManagement:Setting:Organization.StateId',\n OrganizationCityId = 'OrganizationManagement:Setting:Organization.CityId',\n OrganizationPostalCode = 'OrganizationManagement:Setting:Organization.PostalCode',\n BrandingColor = 'OrganizationManagement:Setting:Organization.Branding.Color',\n BrandingLogo = 'OrganizationManagement:Setting:Organization.Branding.Logo',\n CopyrightText = 'OrganizationManagement:Setting:Organization.CopyrightText',\n SupportEmail = 'OrganizationManagement:Setting:Organization.SupportEmail',\n InfoEmail = 'OrganizationManagement:Setting:Organization.InfoEmail',\n FaxNumber = 'OrganizationManagement:Setting:Organization.FaxNumber',\n Relations = 'OrganizationManagement:Setting:Organization.Relations',\n\n /** User preference: organization hierarchy chart mode (`structure` | `location` | `reporting` | `positionHierarchy`). */\n HierarchyChartMode = 'OrganizationManagement:Setting:User.HierarchyChart.Mode',\n /** User preference: show vacant leaf seats (structure / geographic modes). */\n HierarchyChartShowVacantLeafSeats = 'OrganizationManagement:Setting:User.HierarchyChart.ShowVacantLeafSeats',\n}\n","import { AXPOrganizationManagementSettings } from './settings.keys';\nimport {\n resolveMultiLanguageString,\n type AXPMultiLanguageString,\n} from '@acorex-platform/framework-shared/core';\n\n//#region ---- Company email merge from organization settings (leaf) ----\n\n/** Keys read from platform/tenant settings for company email master tokens. */\nexport const COMPANY_EMAIL_ORG_SETTING_KEYS = {\n OrganizationName: AXPOrganizationManagementSettings.OrganizationName,\n BrandingLogo: AXPOrganizationManagementSettings.BrandingLogo,\n BrandingColor: AXPOrganizationManagementSettings.BrandingColor,\n ContactEmail: AXPOrganizationManagementSettings.ContactEmail,\n ContactPhone: AXPOrganizationManagementSettings.ContactPhone,\n SupportEmail: AXPOrganizationManagementSettings.SupportEmail,\n InfoEmail: AXPOrganizationManagementSettings.InfoEmail,\n Street1: AXPOrganizationManagementSettings.OrganizationStreet1,\n Street2: AXPOrganizationManagementSettings.OrganizationStreet2,\n PostalCode: AXPOrganizationManagementSettings.OrganizationPostalCode,\n CopyrightText: AXPOrganizationManagementSettings.CopyrightText,\n} as const;\n\n/**\n * Definition default for {@link AXPOrganizationManagementSettings.CopyrightText}.\n * Used when the key is not yet persisted (inherited settings often stay client-only).\n */\nexport const AXP_ORGANIZATION_COPYRIGHT_TEXT_DEFAULT = '© 2026 Your Company';\n\nexport interface CompanyEmailTenantSnapshot {\n title?: AXPMultiLanguageString | null;\n email?: string | null;\n phone?: string | null;\n supportEmail?: string | null;\n logo?: string | null;\n color?: string | null;\n city?: { title?: AXPMultiLanguageString | null } | null;\n state?: { title?: AXPMultiLanguageString | null } | null;\n country?: { title?: AXPMultiLanguageString | null } | null;\n}\n\nexport interface BuildCompanyEmailMergeInput {\n settingsValues?: Record<string, unknown> | null;\n tenant?: CompanyEmailTenantSnapshot | null;\n /** UI origin for absolutizing `/assets/...` logo paths in outbound email. */\n webOrigin?: string | null;\n /**\n * API origin (no trailing slash, no `/api` suffix) used to absolutize\n * file-storage download URLs for logo file ids. Email/print callers should\n * prefer {@link inlinedLogoUrl} because download is JWT-protected.\n */\n apiOrigin?: string | null;\n /**\n * Pre-resolved logo URL (typically a `data:` URI after FileStorage inlining).\n * Takes precedence over branding / tenant logo refs.\n */\n inlinedLogoUrl?: string | null;\n /**\n * Locale for resolving multi-language organization settings / tenant title\n * (`companyName`, `copyrightText`, address region titles, …).\n * Defaults to `en-US` when omitted.\n */\n locale?: string | null;\n overrides?: Record<string, string>;\n}\n\n/** Matches platform file-storage ids (and optional `file:` cast prefix). */\nconst FILE_STORAGE_ID_PATTERN =\n /^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i;\n\nfunction coerceString(value: unknown, fallback = '', locale = 'en-US'): string {\n if (typeof value === 'string') {\n return value.trim() || fallback;\n }\n return resolveMultiLanguageString(value, locale).trim() || fallback;\n}\n\nfunction pickSetting(\n values: Record<string, unknown> | null | undefined,\n key: string,\n locale: string,\n): string {\n return coerceString(values?.[key], '', locale);\n}\n\nfunction normalizeLogoRef(value: string): string {\n const trimmed = value.trim();\n return trimmed.startsWith('file:') ? trimmed.slice('file:'.length).trim() : trimmed;\n}\n\nfunction isFileStorageId(value: string): boolean {\n return FILE_STORAGE_ID_PATTERN.test(normalizeLogoRef(value));\n}\n\n/** Relative download path served by `FileStorageController.download`. */\nexport function buildCompanyLogoFileDownloadPath(fileId: string): string {\n const id = normalizeLogoRef(fileId);\n return `/api/v1/file-storage/download/${encodeURIComponent(id)}`;\n}\n\nconst FILE_DOWNLOAD_ID_PATTERN =\n /\\/file-storage\\/download\\/([0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12})/i;\n\n/**\n * File-storage id from a branding logo setting, tenant.logo, or download URL.\n * Used by the server to inline the binary as a data URI (download is JWT-protected).\n */\nexport function extractCompanyLogoFileId(value: unknown): string | undefined {\n const ref = extractLogoRef(value);\n if (!ref) {\n return undefined;\n }\n const fromPath = ref.match(FILE_DOWNLOAD_ID_PATTERN)?.[1];\n if (fromPath && isFileStorageId(fromPath)) {\n return normalizeLogoRef(fromPath);\n }\n return isFileStorageId(ref) ? normalizeLogoRef(ref) : undefined;\n}\n\nfunction extractLogoRef(value: unknown): string {\n if (typeof value === 'string') {\n return value.trim();\n }\n if (value && typeof value === 'object') {\n const record = value as { url?: unknown; fileId?: unknown; id?: unknown };\n return (\n coerceString(record.url, '') ||\n coerceString(record.fileId, '') ||\n coerceString(record.id, '')\n );\n }\n return '';\n}\n\nfunction buildAddressFromSettings(\n values: Record<string, unknown> | null | undefined,\n locale: string,\n): string {\n return [\n pickSetting(values, COMPANY_EMAIL_ORG_SETTING_KEYS.Street1, locale),\n pickSetting(values, COMPANY_EMAIL_ORG_SETTING_KEYS.Street2, locale),\n pickSetting(values, COMPANY_EMAIL_ORG_SETTING_KEYS.PostalCode, locale),\n ]\n .filter(Boolean)\n .join(', ');\n}\n\nfunction buildAddressFromTenant(\n tenant: CompanyEmailTenantSnapshot | null | undefined,\n locale: string,\n): string {\n if (!tenant) {\n return '';\n }\n return [tenant.city?.title, tenant.state?.title, tenant.country?.title]\n .map((part) => coerceString(part, '', locale))\n .filter(Boolean)\n .join(', ');\n}\n\nfunction buildInitials(name: string): string {\n const parts = name.split(/\\s+/).filter(Boolean);\n if (!parts.length) {\n return 'CO';\n }\n if (parts.length === 1) {\n return parts[0]!.slice(0, 2).toUpperCase();\n }\n return `${parts[0]![0] ?? ''}${parts[1]![0] ?? ''}`.toUpperCase();\n}\n\nfunction isLocalWebOrigin(webOrigin?: string | null): boolean {\n const origin = coerceString(webOrigin, '');\n if (!origin) {\n return true;\n }\n try {\n const host = new URL(origin).hostname.toLowerCase();\n return host === 'localhost' || host === '127.0.0.1' || host === '::1' || host.endsWith('.local');\n } catch {\n return true;\n }\n}\n\n/**\n * Resolves a logo URL for template merge / preview.\n * - File-storage ids → `/api/v1/file-storage/download/{id}` (absolutized with apiOrigin).\n * Outbound email cannot fetch that URL (JWT + often localhost); pass `inlinedLogoUrl`.\n * - Keep app-relative paths (`/assets/...`) as-is for in-app preview.\n * - Absolutize asset paths only against a public (non-localhost) web origin for outbound email.\n */\nfunction resolveLogoUrl(\n logo: string,\n options: { webOrigin?: string | null; apiOrigin?: string | null } = {},\n): string {\n if (!logo) {\n return '';\n }\n if (isFileStorageId(logo)) {\n const path = buildCompanyLogoFileDownloadPath(logo);\n const apiOrigin = coerceString(options.apiOrigin, '').replace(/\\/$/, '');\n return apiOrigin ? `${apiOrigin}${path}` : path;\n }\n if (/^https?:\\/\\//i.test(logo) || logo.startsWith('data:')) {\n if (/^https?:\\/\\//i.test(logo) && isLocalWebOrigin(logo)) {\n return '';\n }\n return logo;\n }\n if (logo.startsWith('/')) {\n if (isLocalWebOrigin(options.webOrigin)) {\n return logo;\n }\n const origin = coerceString(options.webOrigin, '').replace(/\\/$/, '');\n return origin ? `${origin}${logo}` : logo;\n }\n return logo;\n}\n\nfunction escapeHtmlAttribute(value: string): string {\n return value\n .replace(/&/g, '&')\n .replace(/\"/g, '"')\n .replace(/</g, '<')\n .replace(/>/g, '>');\n}\n\nfunction escapeHtmlText(value: string): string {\n return value\n .replace(/&/g, '&')\n .replace(/</g, '<')\n .replace(/>/g, '>');\n}\n\nfunction buildLogoMarkHtml(companyName: string, initials: string, logoUrl: string, brandColor: string): string {\n if (logoUrl) {\n return (\n `<img src=\"${escapeHtmlAttribute(logoUrl)}\" alt=\"${escapeHtmlAttribute(companyName)}\" width=\"40\" height=\"40\" ` +\n `style=\"display:inline-block;border:0;outline:none;height:40px;width:40px;object-fit:contain;\" />`\n );\n }\n return (\n `<div style=\"font-family:Arial,Helvetica,sans-serif;font-size:16px;font-weight:700;` +\n `line-height:56px;color:${escapeHtmlAttribute(brandColor)};letter-spacing:0.5px;\">` +\n `${escapeHtmlText(initials)}</div>`\n );\n}\n\n/**\n * Builds merge tokens for the company email master from organization settings,\n * falling back to tenant snapshot fields when settings are empty (common after seed).\n */\nexport function buildCompanyEmailMergeFromOrganization(\n input: BuildCompanyEmailMergeInput = {},\n): Record<string, string> {\n const values = input.settingsValues ?? {};\n const tenant = input.tenant ?? null;\n const locale =\n (typeof input.locale === 'string' && input.locale.trim()) || 'en-US';\n const year = String(new Date().getFullYear());\n\n const companyName =\n pickSetting(values, COMPANY_EMAIL_ORG_SETTING_KEYS.OrganizationName, locale) ||\n coerceString(tenant?.title, '', locale) ||\n 'Your Company';\n\n const companyEmail =\n pickSetting(values, COMPANY_EMAIL_ORG_SETTING_KEYS.ContactEmail, locale) ||\n pickSetting(values, COMPANY_EMAIL_ORG_SETTING_KEYS.InfoEmail, locale) ||\n pickSetting(values, COMPANY_EMAIL_ORG_SETTING_KEYS.SupportEmail, locale) ||\n coerceString(tenant?.email, '', locale) ||\n coerceString(tenant?.supportEmail, '', locale);\n\n const companyPhone =\n pickSetting(values, COMPANY_EMAIL_ORG_SETTING_KEYS.ContactPhone, locale) ||\n coerceString(tenant?.phone, '', locale);\n\n const companyAddress =\n buildAddressFromSettings(values, locale) || buildAddressFromTenant(tenant, locale);\n\n const companyBrandColor =\n pickSetting(values, COMPANY_EMAIL_ORG_SETTING_KEYS.BrandingColor, locale) ||\n coerceString(tenant?.color, '', locale) ||\n '#0f172a';\n\n const rawLogo =\n extractLogoRef(values[COMPANY_EMAIL_ORG_SETTING_KEYS.BrandingLogo]) ||\n extractLogoRef(tenant?.logo);\n const companyLogoUrl =\n coerceString(input.inlinedLogoUrl, '') ||\n resolveLogoUrl(rawLogo, {\n webOrigin: input.webOrigin,\n apiOrigin: input.apiOrigin,\n });\n const companyNameInitials = buildInitials(companyName);\n\n const copyrightText =\n pickSetting(values, COMPANY_EMAIL_ORG_SETTING_KEYS.CopyrightText, locale) ||\n AXP_ORGANIZATION_COPYRIGHT_TEXT_DEFAULT;\n\n return {\n companyName,\n companyNameInitials,\n companyLogoUrl,\n companyLogoMarkHtml: buildLogoMarkHtml(\n companyName,\n companyNameInitials,\n companyLogoUrl,\n companyBrandColor,\n ),\n companyBrandColor,\n companyPhone,\n companyAddress,\n companyEmail,\n copyrightText,\n currentYear: year,\n ...(input.overrides ?? {}),\n };\n}\n\n/** @deprecated Prefer {@link buildCompanyEmailMergeFromOrganization}. */\nexport function buildCompanyEmailMergeDefaults(\n overrides: Record<string, string> = {},\n): Record<string, string> {\n return buildCompanyEmailMergeFromOrganization({ overrides });\n}\n\n//#endregion\n","//#region ---- Feature Keys ----\n\n/**\n * Organization Management Module Feature Keys.\n * Defines all available features for the Organization Management module.\n */\n// Management feature removed - module name is used directly as feature key\nexport const AXPOrganizationManagementFeatureKeys = {} as const;\n\n//#endregion\n\n","/** Page tab for editing job-definition responsibilities matrix. Registered via {@link AXP_PAGE_COMPONENT_PROVIDER}. */\nexport const JOB_DEFINITION_RESPONSIBILITIES_PAGE_COMPONENT_KEY = 'job-definition-responsibilities-page';\n","/** Page tab for editing job-definition skills matrix. Registered via {@link AXP_PAGE_COMPONENT_PROVIDER}. */\nexport const JOB_DEFINITION_SKILLS_PAGE_COMPONENT_KEY = 'job-definition-skills-page';\n","export const AXPOrganizationManagementMenuKeys = {\n Root: 'OrganizationManagement:Menu',\n ConfigurationRoot: 'OrganizationManagement:Menu:Configuration',\n Teams: 'OrganizationManagement:Menu:Teams',\n TeamMemberRoles: 'OrganizationManagement:Menu:TeamMemberRoles',\n Positions: 'OrganizationManagement:Menu:Positions',\n JobDefinitions: 'OrganizationManagement:Menu:JobDefinitions',\n JobLevels: 'OrganizationManagement:Menu:JobLevels',\n Responsibilities: 'OrganizationManagement:Menu:Responsibilities',\n ResponsibilityLevels: 'OrganizationManagement:Menu:ResponsibilityLevels',\n Divider1: 'OrganizationManagement:Menu:Divider1',\n BusinessUnits: 'OrganizationManagement:Menu:BusinessUnits',\n BusinessUnitTypes: 'OrganizationManagement:Menu:BusinessUnitTypes',\n Divider2: 'OrganizationManagement:Menu:Divider2',\n OrganizationChart: 'OrganizationManagement:Menu:OrganizationChart',\n} as const;\n\n","//#region ----- Org-chart merged corporate business unit id -----\n\n/**\n * Optional id of the enterprise-root / corporate HQ business unit that org-chart\n * builders merge into the company node (skip a separate chart card).\n *\n * Empty default (`null`) = no merge. Product/demo apps call\n * {@link configureOrgChartMergedBusinessUnitId} at boot with their seed id.\n */\nlet orgChartMergedBusinessUnitId: string | null = null;\n\n/**\n * Configure the business-unit id treated as the merged corporate root on org charts.\n * Pass `null` (or empty string) to disable merge behavior.\n */\nexport function configureOrgChartMergedBusinessUnitId(id: string | null): void {\n orgChartMergedBusinessUnitId =\n typeof id === 'string' && id.trim().length > 0 ? id.trim() : null;\n}\n\n/** Configured merged corporate business-unit id, or `null` when merge is disabled. */\nexport function getOrgChartMergedBusinessUnitId(): string | null {\n return orgChartMergedBusinessUnitId;\n}\n\n//#endregion\n","/**\n * People & Organization capabilities used by this module.\n * Domain capability keys for this module. Root groups live in `AXPCommonPermissionGroupKeys` (common contracts).\n */\nexport const AXPPeopleOrganizationPermissionKeys = {\n Access: 'PeopleOrganization:Permission:Access',\n ViewOrganization: 'PeopleOrganization:Permission:ViewOrganization',\n MaintainOrganization: 'PeopleOrganization:Permission:MaintainOrganization',\n MaintainTeams: 'PeopleOrganization:Permission:MaintainTeams',\n MaintainEmployees: 'PeopleOrganization:Permission:MaintainEmployees',\n ManageEmployeeActions: 'PeopleOrganization:Permission:ManageEmployeeActions',\n MaintainPersons: 'PeopleOrganization:Permission:MaintainPersons',\n MaintainAttendance: 'PeopleOrganization:Permission:MaintainAttendance',\n ManageAttendanceActions: 'PeopleOrganization:Permission:ManageAttendanceActions',\n DesignJobs: 'PeopleOrganization:Permission:DesignJobs',\n Setup: 'PeopleOrganization:Permission:Setup',\n} as const;\n\n/**\n * @deprecated Prefer {@link AXPPeopleOrganizationPermissionKeys}.\n * Alias of the full People & Organization key set (including persons/attendance caps).\n */\nexport const AXPOrganizationManagementPermissionKeys = AXPPeopleOrganizationPermissionKeys;\n","const config = {\n i18n: 'organization-management',\n module: 'OrganizationManagement',\n};\nexport const RootConfig = {\n config,\n module: {\n route: 'organization-management',\n name: config.module,\n title: '@organization-management:module.title',\n icon: 'fa-light fa-sitemap',\n },\n entities: {\n responsibility: {\n name: 'Responsibility',\n title: '@organization-management:responsibilities.entities.responsibility.title',\n source: `${config.module}.Responsibility`,\n icon: 'fa-light fa-tasks',\n },\n jobDefinition: {\n name: 'JobDefinition',\n title: '@organization-management:job-definitions.entities.job-definition.title',\n source: `${config.module}.JobDefinition`,\n icon: 'fa-light fa-user-tie',\n },\n jobLevel: {\n name: 'JobLevel',\n title: '@organization-management:job-levels.entities.job-level.title',\n source: `${config.module}.JobLevel`,\n icon: 'fa-light fa-layer-group',\n },\n responsibilityLevel: {\n name: 'ResponsibilityLevel',\n title: '@organization-management:responsibility-levels.entities.responsibility-level.title',\n titlePlural: '@organization-management:responsibility-levels.entities.responsibility-level.plural',\n source: `${config.module}.ResponsibilityLevel`,\n icon: 'fa-light fa-layer-group',\n },\n company: {\n name: 'Company',\n source: `${config.module}.Company`,\n title: '@organization-management:companies.entities.company.title',\n icon: 'fa-light fa-building',\n },\n team: {\n name: 'Team',\n source: `${config.module}.Team`,\n title: '@organization-management:teams.entities.team.title',\n icon: 'fa-light fa-people-group',\n },\n teamMemberRole: {\n name: 'TeamMemberRole',\n source: `${config.module}.TeamMemberRole`,\n title: '@organization-management:team-member-roles.entities.team-member-role.title',\n icon: 'fa-light fa-user-tag',\n },\n teamMember: {\n name: 'TeamMember',\n source: `${config.module}.TeamMember`,\n title: '@organization-management:team-members.entities.team-member.title',\n icon: 'fa-light fa-users',\n },\n teamBusinessUnit: {\n name: 'TeamBusinessUnit',\n source: `${config.module}.TeamBusinessUnit`,\n title: '@organization-management:team-business-units.entities.team-business-unit.title',\n icon: 'fa-light fa-link',\n },\n position: {\n name: 'Position',\n source: `${config.module}.Position`,\n title: '@organization-management:positions.entities.position.title',\n icon: 'fa-light fa-briefcase',\n },\n businessUnitType: {\n name: 'BusinessUnitType',\n source: `${config.module}.BusinessUnitType`,\n title: '@organization-management:business-unit-types.entities.business-unit-type.title',\n icon: 'fa-light fa-tag',\n },\n businessUnit: {\n name: 'BusinessUnit',\n source: `${config.module}.BusinessUnit`,\n title: '@organization-management:business-units.entities.business-unit.title',\n icon: 'fa-light fa-sitemap',\n },\n\n structure: {\n name: 'ChartStructure',\n source: `${config.module}.ChartStructure`,\n title: '@organization-management:chart-configuration.components.chart-configuration.title',\n menu: {\n title: '@organization-management:chart-configuration.menus.chart-configuration.title',\n },\n icon: 'fa-light fa-gear',\n },\n chart: {\n name: 'Chart',\n source: `${config.module}.Chart`,\n title: '@organization-management:organization-chart.components.chart.title',\n menu: {\n title: '@organization-management:organization-chart.menus.chart.title',\n },\n icon: 'fa-light fa-chart-diagram',\n },\n },\n queries: {\n dashboard: {\n teamsBar: `${config.module}:Dashboard:TeamsBar`,\n },\n },\n} as const;\n","import { type AXPEntityReference, AXPMultiLanguageString } from '@acorex-platform/framework-shared/core';\nimport { AXPEntityModel } from '@acorex-platform/framework-shared/entity';\n/** Persisted org-chart JSON: all chart modes in one row (`structure` column). */\nexport const AXM_ORG_CHART_STRUCTURE_SCHEMA_VERSION = 1 as const;\n\nexport interface AXMOrgChartStructurePayload {\n schemaVersion: typeof AXM_ORG_CHART_STRUCTURE_SCHEMA_VERSION;\n modes: {\n structure: AXMOrganizationManagementChartNodeEntityModel;\n location: AXMOrganizationManagementChartNodeEntityModel;\n reporting: AXMOrganizationManagementChartNodeEntityModel;\n positionHierarchy: AXMOrganizationManagementChartNodeEntityModel;\n };\n}\n\nexport interface AXMOrganizationManagementChartEntityModel extends AXPEntityModel<string> {\n version: string;\n structure: AXMOrgChartStructurePayload;\n}\n\nexport interface AXMOrganizationManagementChartNodeEntityModel extends AXPEntityModel<string> {\n id: string; // Unique identifier for the node\n title: AXPMultiLanguageString;\n subtitle?: AXPMultiLanguageString;\n description?: AXPMultiLanguageString;\n isExpanded?: boolean; // Add this property\n children?: AXMOrganizationManagementChartNodeEntityModel[];\n icon?: string;\n type?: string; // Type of the node\n parentId?: string | null; // ID of the parent node (null for root)\n entity?: AXPEntityReference;\n metadata?: Record<string, any>; // Additional metadata (e.g., roles, counts, etc.)\n}\n","//#region ---- Contracts barrel ----\n\nexport * from './commands.keys';\nexport * from './server-commands';\nexport * from './company-email-merge.util';\nexport * from './features.keys';\nexport * from './JOB_DEFINITION_RESPONSIBILITIES_PAGE_COMPONENT_KEY';\nexport * from './JOB_DEFINITION_SKILLS_PAGE_COMPONENT_KEY';\nexport * from './menu.keys';\nexport * from './org-chart-merged-business-unit.configure';\nexport * from './permission.keys';\nexport * from './settings.keys';\n\nexport * from './root-config';\n\n//#endregion\n\nexport * from './entities';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;AAAA;AAEA;;;AAGG;AACI,MAAM,oCAAoC,GAAG;AAClD,IAAA,iBAAiB,EAAE;AACjB,QAAA,QAAQ,EAAE,0CAA0C;AACpD,QAAA,yBAAyB,EAAE,2DAA2D;AACtF,QAAA,6BAA6B,EAAE,+DAA+D;AAC9F,QAAA,qBAAqB,EAAE,uDAAuD;AAC9E,QAAA,8BAA8B,EAAE,gEAAgE;AAChG,QAAA,uBAAuB,EAAE,yDAAyD;AACnF,KAAA;;AAGH;AAEA;AACO,MAAM,0CAA0C,GACrD;AAEF;AACO,MAAM,0CAA0C,GACrD;;ACzBF;AAEA;;;AAGG;AACI,MAAM,uCAAuC,GAAG;AACrD,IAAA,iBAAiB,EAAE;AACjB,QAAA,QAAQ,EAAE,iDAAiD;AAC5D,KAAA;;AAGH;;ICZY;AAAZ,CAAA,UAAY,iCAAiC,EAAA;AACzC,IAAA,iCAAA,CAAA,kBAAA,CAAA,GAAA,8DAAiF;AACjF,IAAA,iCAAA,CAAA,yBAAA,CAAA,GAAA,qEAA+F;AAC/F,IAAA,iCAAA,CAAA,aAAA,CAAA,GAAA,yDAAuE;AACvE,IAAA,iCAAA,CAAA,oBAAA,CAAA,GAAA,gEAAqF;AACrF,IAAA,iCAAA,CAAA,YAAA,CAAA,GAAA,wDAAqE;AACrE,IAAA,iCAAA,CAAA,4BAAA,CAAA,GAAA,wEAAqG;AACrG,IAAA,iCAAA,CAAA,2BAAA,CAAA,GAAA,uEAAmG;AACnG,IAAA,iCAAA,CAAA,eAAA,CAAA,GAAA,2DAA2E;AAC3E,IAAA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,EAAE,CAAA,EAAG,MAAM,CAAC,MAAM,CAAA,aAAA,CAAe;AACvC,YAAA,KAAK,EAAE,sEAAsE;AAC7E,YAAA,IAAI,EAAE,qBAAqB;AAC5B,SAAA;AAED,QAAA,SAAS,EAAE;AACT,YAAA,IAAI,EAAE,gBAAgB;AACtB,YAAA,MAAM,EAAE,CAAA,EAAG,MAAM,CAAC,MAAM,CAAA,eAAA,CAAiB;AACzC,YAAA,KAAK,EAAE,mFAAmF;AAC1F,YAAA,IAAI,EAAE;AACJ,gBAAA,KAAK,EAAE,8EAA8E;AACtF,aAAA;AACD,YAAA,IAAI,EAAE,kBAAkB;AACzB,SAAA;AACD,QAAA,KAAK,EAAE;AACL,YAAA,IAAI,EAAE,OAAO;AACb,YAAA,MAAM,EAAE,CAAA,EAAG,MAAM,CAAC,MAAM,CAAA,MAAA,CAAQ;AAChC,YAAA,KAAK,EAAE,oEAAoE;AAC3E,YAAA,IAAI,EAAE;AACJ,gBAAA,KAAK,EAAE,+DAA+D;AACvE,aAAA;AACD,YAAA,IAAI,EAAE,2BAA2B;AAClC,SAAA;AACF,KAAA;AACD,IAAA,OAAO,EAAE;AACP,QAAA,SAAS,EAAE;AACT,YAAA,QAAQ,EAAE,CAAA,EAAG,MAAM,CAAC,MAAM,CAAA,mBAAA,CAAqB;AAChD,SAAA;AACF,KAAA;;;AC5GH;AACO,MAAM,sCAAsC,GAAG;;ACHtD;;ACAA;;AAEG;;"}
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-organization-management-client-contracts.mjs","sources":["../../../../libs/modules/organization-management/contracts/src/commands.keys.ts","../../../../libs/modules/organization-management/contracts/src/server-commands.ts","../../../../libs/modules/organization-management/contracts/src/settings.keys.ts","../../../../libs/modules/organization-management/contracts/src/company-email-merge.util.ts","../../../../libs/modules/organization-management/contracts/src/features.keys.ts","../../../../libs/modules/organization-management/contracts/src/JOB_DEFINITION_RESPONSIBILITIES_PAGE_COMPONENT_KEY.ts","../../../../libs/modules/organization-management/contracts/src/JOB_DEFINITION_SKILLS_PAGE_COMPONENT_KEY.ts","../../../../libs/modules/organization-management/contracts/src/menu.keys.ts","../../../../libs/modules/organization-management/contracts/src/org-chart-merged-business-unit.configure.ts","../../../../libs/modules/organization-management/contracts/src/permission.keys.ts","../../../../libs/modules/organization-management/contracts/src/root-config.ts","../../../../libs/modules/organization-management/contracts/src/manifest.ts","../../../../libs/modules/organization-management/contracts/src/entities/chart/chart.types.ts","../../../../libs/modules/organization-management/contracts/src/index.ts","../../../../libs/modules/organization-management/contracts/src/acorex-platform-module-organization-management-client-contracts.ts"],"sourcesContent":["//#region ---- Client command keys ----\n\n/**\n * Client-side command keys (UI, dialogs, orchestration).\n * Server handlers use {@link AXMOrganizationManagementServerCommands} — never reuse these strings.\n */\nexport const AXMOrganizationManagementCommandKeys = {\n OrganizationChart: {\n Generate: 'OrganizationManagement.OrgChart:Generate',\n AddPositionToBusinessUnit: 'OrganizationManagement.OrgChart:AddPositionToBusinessUnit',\n AddBusinessUnitToBusinessUnit: 'OrganizationManagement.OrgChart:AddBusinessUnitToBusinessUnit',\n AddTeamToBusinessUnit: 'OrganizationManagement.OrgChart:AddTeamToBusinessUnit',\n RemovePositionFromBusinessUnit: 'OrganizationManagement.OrgChart:RemovePositionFromBusinessUnit',\n ReplacePositionAssignee: 'OrganizationManagement.OrgChart:ReplacePositionAssignee',\n },\n} as const;\n\n//#endregion\n\n/** HCM command key (string only; avoid importing HCM from org-management). */\nexport const AXM_HCM_POSITION_ASSIGNMENT_ASSIGN_COMMAND =\n 'HumanCapitalManagement.PositionAssignment:Assign' as const;\n\n/** HCM command key (string only; avoid importing HCM from org-management). */\nexport const AXM_HCM_POSITION_ASSIGNMENT_REVOKE_COMMAND =\n 'HumanCapitalManagement.PositionAssignment:Revoke' as const;\n","//#region ---- Server command keys ----\n\n/**\n * Server-only runtime command keys for Organization Management.\n * Must stay distinct from client {@link AXMOrganizationManagementCommandKeys}.\n */\nexport const AXMOrganizationManagementServerCommands = {\n OrganizationChart: {\n Generate: 'OrganizationManagement:Server:OrgChart:Generate',\n },\n} as const;\n\n//#endregion\n","export enum AXPOrganizationManagementSettings {\n OrganizationName = 'OrganizationManagement:Setting:Organization.OrganizationName',\n OrganizationNameDisplay = 'OrganizationManagement:Setting:Organization.OrganizationNameDisplay',\n TradingName = 'OrganizationManagement:Setting:Organization.TradingName',\n TradingNameDisplay = 'OrganizationManagement:Setting:Organization.TradingNameDisplay',\n CompanyBio = 'OrganizationManagement:Setting:Organization.CompanyBio',\n BusinessRegistrationNumber = 'OrganizationManagement:Setting:Organization.BusinessRegistrationNumber',\n CompanyRegistrationNumber = 'OrganizationManagement:Setting:Organization.CompanyRegistrationNumber',\n LicenceNumber = 'OrganizationManagement:Setting:Organization.LicenceNumber',\n OrganizationID = 'OrganizationManagement:Setting:Organization.OrganizationID',\n ContactEmail = 'OrganizationManagement:Setting:Organization.ContactEmail',\n ContactPhone = 'OrganizationManagement:Setting:Organization.ContactPhone',\n OrganizationStreet1 = 'OrganizationManagement:Setting:Organization.Street1',\n OrganizationStreet2 = 'OrganizationManagement:Setting:Organization.Street2',\n OrganizationCountryId = 'OrganizationManagement:Setting:Organization.CountryId',\n OrganizationStateId = 'OrganizationManagement:Setting:Organization.StateId',\n OrganizationCityId = 'OrganizationManagement:Setting:Organization.CityId',\n OrganizationPostalCode = 'OrganizationManagement:Setting:Organization.PostalCode',\n BrandingColor = 'OrganizationManagement:Setting:Organization.Branding.Color',\n BrandingLogo = 'OrganizationManagement:Setting:Organization.Branding.Logo',\n CopyrightText = 'OrganizationManagement:Setting:Organization.CopyrightText',\n SupportEmail = 'OrganizationManagement:Setting:Organization.SupportEmail',\n InfoEmail = 'OrganizationManagement:Setting:Organization.InfoEmail',\n FaxNumber = 'OrganizationManagement:Setting:Organization.FaxNumber',\n Relations = 'OrganizationManagement:Setting:Organization.Relations',\n\n /** User preference: organization hierarchy chart mode (`structure` | `location` | `reporting` | `positionHierarchy`). */\n HierarchyChartMode = 'OrganizationManagement:Setting:User.HierarchyChart.Mode',\n /** User preference: show vacant leaf seats (structure / geographic modes). */\n HierarchyChartShowVacantLeafSeats = 'OrganizationManagement:Setting:User.HierarchyChart.ShowVacantLeafSeats',\n}\n","import { AXPOrganizationManagementSettings } from './settings.keys';\nimport {\n resolveMultiLanguageString,\n type AXPMultiLanguageString,\n} from '@acorex-platform/framework-shared/core';\n\n//#region ---- Company email merge from organization settings (leaf) ----\n\n/** Keys read from platform/tenant settings for company email master tokens. */\nexport const COMPANY_EMAIL_ORG_SETTING_KEYS = {\n OrganizationName: AXPOrganizationManagementSettings.OrganizationName,\n BrandingLogo: AXPOrganizationManagementSettings.BrandingLogo,\n BrandingColor: AXPOrganizationManagementSettings.BrandingColor,\n ContactEmail: AXPOrganizationManagementSettings.ContactEmail,\n ContactPhone: AXPOrganizationManagementSettings.ContactPhone,\n SupportEmail: AXPOrganizationManagementSettings.SupportEmail,\n InfoEmail: AXPOrganizationManagementSettings.InfoEmail,\n Street1: AXPOrganizationManagementSettings.OrganizationStreet1,\n Street2: AXPOrganizationManagementSettings.OrganizationStreet2,\n PostalCode: AXPOrganizationManagementSettings.OrganizationPostalCode,\n CopyrightText: AXPOrganizationManagementSettings.CopyrightText,\n} as const;\n\n/**\n * Definition default for {@link AXPOrganizationManagementSettings.CopyrightText}.\n * Used when the key is not yet persisted (inherited settings often stay client-only).\n */\nexport const AXP_ORGANIZATION_COPYRIGHT_TEXT_DEFAULT = '© 2026 Your Company';\n\nexport interface CompanyEmailTenantSnapshot {\n title?: AXPMultiLanguageString | null;\n email?: string | null;\n phone?: string | null;\n supportEmail?: string | null;\n logo?: string | null;\n color?: string | null;\n city?: { title?: AXPMultiLanguageString | null } | null;\n state?: { title?: AXPMultiLanguageString | null } | null;\n country?: { title?: AXPMultiLanguageString | null } | null;\n}\n\nexport interface BuildCompanyEmailMergeInput {\n settingsValues?: Record<string, unknown> | null;\n tenant?: CompanyEmailTenantSnapshot | null;\n /** UI origin for absolutizing `/assets/...` logo paths in outbound email. */\n webOrigin?: string | null;\n /**\n * API origin (no trailing slash, no `/api` suffix) used to absolutize\n * file-storage download URLs for logo file ids. Email/print callers should\n * prefer {@link inlinedLogoUrl} because download is JWT-protected.\n */\n apiOrigin?: string | null;\n /**\n * Pre-resolved logo URL (typically a `data:` URI after FileStorage inlining).\n * Takes precedence over branding / tenant logo refs.\n */\n inlinedLogoUrl?: string | null;\n /**\n * Locale for resolving multi-language organization settings / tenant title\n * (`companyName`, `copyrightText`, address region titles, …).\n * Defaults to `en-US` when omitted.\n */\n locale?: string | null;\n overrides?: Record<string, string>;\n}\n\n/** Matches platform file-storage ids (and optional `file:` cast prefix). */\nconst FILE_STORAGE_ID_PATTERN =\n /^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i;\n\nfunction coerceString(value: unknown, fallback = '', locale = 'en-US'): string {\n if (typeof value === 'string') {\n return value.trim() || fallback;\n }\n return resolveMultiLanguageString(value, locale).trim() || fallback;\n}\n\nfunction pickSetting(\n values: Record<string, unknown> | null | undefined,\n key: string,\n locale: string,\n): string {\n return coerceString(values?.[key], '', locale);\n}\n\nfunction normalizeLogoRef(value: string): string {\n const trimmed = value.trim();\n return trimmed.startsWith('file:') ? trimmed.slice('file:'.length).trim() : trimmed;\n}\n\nfunction isFileStorageId(value: string): boolean {\n return FILE_STORAGE_ID_PATTERN.test(normalizeLogoRef(value));\n}\n\n/** Relative download path served by `FileStorageController.download`. */\nexport function buildCompanyLogoFileDownloadPath(fileId: string): string {\n const id = normalizeLogoRef(fileId);\n return `/api/v1/file-storage/download/${encodeURIComponent(id)}`;\n}\n\nconst FILE_DOWNLOAD_ID_PATTERN =\n /\\/file-storage\\/download\\/([0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12})/i;\n\n/**\n * File-storage id from a branding logo setting, tenant.logo, or download URL.\n * Used by the server to inline the binary as a data URI (download is JWT-protected).\n */\nexport function extractCompanyLogoFileId(value: unknown): string | undefined {\n const ref = extractLogoRef(value);\n if (!ref) {\n return undefined;\n }\n const fromPath = ref.match(FILE_DOWNLOAD_ID_PATTERN)?.[1];\n if (fromPath && isFileStorageId(fromPath)) {\n return normalizeLogoRef(fromPath);\n }\n return isFileStorageId(ref) ? normalizeLogoRef(ref) : undefined;\n}\n\nfunction extractLogoRef(value: unknown): string {\n if (typeof value === 'string') {\n return value.trim();\n }\n if (value && typeof value === 'object') {\n const record = value as { url?: unknown; fileId?: unknown; id?: unknown };\n return (\n coerceString(record.url, '') ||\n coerceString(record.fileId, '') ||\n coerceString(record.id, '')\n );\n }\n return '';\n}\n\nfunction buildAddressFromSettings(\n values: Record<string, unknown> | null | undefined,\n locale: string,\n): string {\n return [\n pickSetting(values, COMPANY_EMAIL_ORG_SETTING_KEYS.Street1, locale),\n pickSetting(values, COMPANY_EMAIL_ORG_SETTING_KEYS.Street2, locale),\n pickSetting(values, COMPANY_EMAIL_ORG_SETTING_KEYS.PostalCode, locale),\n ]\n .filter(Boolean)\n .join(', ');\n}\n\nfunction buildAddressFromTenant(\n tenant: CompanyEmailTenantSnapshot | null | undefined,\n locale: string,\n): string {\n if (!tenant) {\n return '';\n }\n return [tenant.city?.title, tenant.state?.title, tenant.country?.title]\n .map((part) => coerceString(part, '', locale))\n .filter(Boolean)\n .join(', ');\n}\n\nfunction buildInitials(name: string): string {\n const parts = name.split(/\\s+/).filter(Boolean);\n if (!parts.length) {\n return 'CO';\n }\n if (parts.length === 1) {\n return parts[0]!.slice(0, 2).toUpperCase();\n }\n return `${parts[0]![0] ?? ''}${parts[1]![0] ?? ''}`.toUpperCase();\n}\n\nfunction isLocalWebOrigin(webOrigin?: string | null): boolean {\n const origin = coerceString(webOrigin, '');\n if (!origin) {\n return true;\n }\n try {\n const host = new URL(origin).hostname.toLowerCase();\n return host === 'localhost' || host === '127.0.0.1' || host === '::1' || host.endsWith('.local');\n } catch {\n return true;\n }\n}\n\n/**\n * Resolves a logo URL for template merge / preview.\n * - File-storage ids → `/api/v1/file-storage/download/{id}` (absolutized with apiOrigin).\n * Outbound email cannot fetch that URL (JWT + often localhost); pass `inlinedLogoUrl`.\n * - Keep app-relative paths (`/assets/...`) as-is for in-app preview.\n * - Absolutize asset paths only against a public (non-localhost) web origin for outbound email.\n */\nfunction resolveLogoUrl(\n logo: string,\n options: { webOrigin?: string | null; apiOrigin?: string | null } = {},\n): string {\n if (!logo) {\n return '';\n }\n if (isFileStorageId(logo)) {\n const path = buildCompanyLogoFileDownloadPath(logo);\n const apiOrigin = coerceString(options.apiOrigin, '').replace(/\\/$/, '');\n return apiOrigin ? `${apiOrigin}${path}` : path;\n }\n if (/^https?:\\/\\//i.test(logo) || logo.startsWith('data:')) {\n if (/^https?:\\/\\//i.test(logo) && isLocalWebOrigin(logo)) {\n return '';\n }\n return logo;\n }\n if (logo.startsWith('/')) {\n if (isLocalWebOrigin(options.webOrigin)) {\n return logo;\n }\n const origin = coerceString(options.webOrigin, '').replace(/\\/$/, '');\n return origin ? `${origin}${logo}` : logo;\n }\n return logo;\n}\n\nfunction escapeHtmlAttribute(value: string): string {\n return value\n .replace(/&/g, '&')\n .replace(/\"/g, '"')\n .replace(/</g, '<')\n .replace(/>/g, '>');\n}\n\nfunction escapeHtmlText(value: string): string {\n return value\n .replace(/&/g, '&')\n .replace(/</g, '<')\n .replace(/>/g, '>');\n}\n\nfunction buildLogoMarkHtml(companyName: string, initials: string, logoUrl: string, brandColor: string): string {\n if (logoUrl) {\n return (\n `<img src=\"${escapeHtmlAttribute(logoUrl)}\" alt=\"${escapeHtmlAttribute(companyName)}\" width=\"40\" height=\"40\" ` +\n `style=\"display:inline-block;border:0;outline:none;height:40px;width:40px;object-fit:contain;\" />`\n );\n }\n return (\n `<div style=\"font-family:Arial,Helvetica,sans-serif;font-size:16px;font-weight:700;` +\n `line-height:56px;color:${escapeHtmlAttribute(brandColor)};letter-spacing:0.5px;\">` +\n `${escapeHtmlText(initials)}</div>`\n );\n}\n\n/**\n * Builds merge tokens for the company email master from organization settings,\n * falling back to tenant snapshot fields when settings are empty (common after seed).\n */\nexport function buildCompanyEmailMergeFromOrganization(\n input: BuildCompanyEmailMergeInput = {},\n): Record<string, string> {\n const values = input.settingsValues ?? {};\n const tenant = input.tenant ?? null;\n const locale =\n (typeof input.locale === 'string' && input.locale.trim()) || 'en-US';\n const year = String(new Date().getFullYear());\n\n const companyName =\n pickSetting(values, COMPANY_EMAIL_ORG_SETTING_KEYS.OrganizationName, locale) ||\n coerceString(tenant?.title, '', locale) ||\n 'Your Company';\n\n const companyEmail =\n pickSetting(values, COMPANY_EMAIL_ORG_SETTING_KEYS.ContactEmail, locale) ||\n pickSetting(values, COMPANY_EMAIL_ORG_SETTING_KEYS.InfoEmail, locale) ||\n pickSetting(values, COMPANY_EMAIL_ORG_SETTING_KEYS.SupportEmail, locale) ||\n coerceString(tenant?.email, '', locale) ||\n coerceString(tenant?.supportEmail, '', locale);\n\n const companyPhone =\n pickSetting(values, COMPANY_EMAIL_ORG_SETTING_KEYS.ContactPhone, locale) ||\n coerceString(tenant?.phone, '', locale);\n\n const companyAddress =\n buildAddressFromSettings(values, locale) || buildAddressFromTenant(tenant, locale);\n\n const companyBrandColor =\n pickSetting(values, COMPANY_EMAIL_ORG_SETTING_KEYS.BrandingColor, locale) ||\n coerceString(tenant?.color, '', locale) ||\n '#0f172a';\n\n const rawLogo =\n extractLogoRef(values[COMPANY_EMAIL_ORG_SETTING_KEYS.BrandingLogo]) ||\n extractLogoRef(tenant?.logo);\n const companyLogoUrl =\n coerceString(input.inlinedLogoUrl, '') ||\n resolveLogoUrl(rawLogo, {\n webOrigin: input.webOrigin,\n apiOrigin: input.apiOrigin,\n });\n const companyNameInitials = buildInitials(companyName);\n\n const copyrightText =\n pickSetting(values, COMPANY_EMAIL_ORG_SETTING_KEYS.CopyrightText, locale) ||\n AXP_ORGANIZATION_COPYRIGHT_TEXT_DEFAULT;\n\n return {\n companyName,\n companyNameInitials,\n companyLogoUrl,\n companyLogoMarkHtml: buildLogoMarkHtml(\n companyName,\n companyNameInitials,\n companyLogoUrl,\n companyBrandColor,\n ),\n companyBrandColor,\n companyPhone,\n companyAddress,\n companyEmail,\n copyrightText,\n currentYear: year,\n ...(input.overrides ?? {}),\n };\n}\n\n/** @deprecated Prefer {@link buildCompanyEmailMergeFromOrganization}. */\nexport function buildCompanyEmailMergeDefaults(\n overrides: Record<string, string> = {},\n): Record<string, string> {\n return buildCompanyEmailMergeFromOrganization({ overrides });\n}\n\n//#endregion\n","//#region ---- Feature Keys ----\n\n/**\n * Organization Management Module Feature Keys.\n * Defines all available features for the Organization Management module.\n */\n// Management feature removed - module name is used directly as feature key\nexport const AXPOrganizationManagementFeatureKeys = {} as const;\n\n//#endregion\n\n","/** Page tab for editing job-definition responsibilities matrix. Registered via {@link AXP_PAGE_COMPONENT_PROVIDER}. */\nexport const JOB_DEFINITION_RESPONSIBILITIES_PAGE_COMPONENT_KEY = 'job-definition-responsibilities-page';\n","/** Page tab for editing job-definition skills matrix. Registered via {@link AXP_PAGE_COMPONENT_PROVIDER}. */\nexport const JOB_DEFINITION_SKILLS_PAGE_COMPONENT_KEY = 'job-definition-skills-page';\n","export const AXPOrganizationManagementMenuKeys = {\n Root: 'OrganizationManagement:Menu',\n ConfigurationRoot: 'OrganizationManagement:Menu:Configuration',\n Teams: 'OrganizationManagement:Menu:Teams',\n TeamMemberRoles: 'OrganizationManagement:Menu:TeamMemberRoles',\n Positions: 'OrganizationManagement:Menu:Positions',\n JobDefinitions: 'OrganizationManagement:Menu:JobDefinitions',\n JobLevels: 'OrganizationManagement:Menu:JobLevels',\n Responsibilities: 'OrganizationManagement:Menu:Responsibilities',\n ResponsibilityLevels: 'OrganizationManagement:Menu:ResponsibilityLevels',\n Divider1: 'OrganizationManagement:Menu:Divider1',\n BusinessUnits: 'OrganizationManagement:Menu:BusinessUnits',\n BusinessUnitTypes: 'OrganizationManagement:Menu:BusinessUnitTypes',\n Divider2: 'OrganizationManagement:Menu:Divider2',\n OrganizationChart: 'OrganizationManagement:Menu:OrganizationChart',\n} as const;\n\n","//#region ----- Org-chart merged corporate business unit id -----\n\n/**\n * Optional id of the enterprise-root / corporate HQ business unit that org-chart\n * builders merge into the company node (skip a separate chart card).\n *\n * Empty default (`null`) = no merge. Product/demo apps call\n * {@link configureOrgChartMergedBusinessUnitId} at boot with their seed id.\n */\nlet orgChartMergedBusinessUnitId: string | null = null;\n\n/**\n * Configure the business-unit id treated as the merged corporate root on org charts.\n * Pass `null` (or empty string) to disable merge behavior.\n */\nexport function configureOrgChartMergedBusinessUnitId(id: string | null): void {\n orgChartMergedBusinessUnitId =\n typeof id === 'string' && id.trim().length > 0 ? id.trim() : null;\n}\n\n/** Configured merged corporate business-unit id, or `null` when merge is disabled. */\nexport function getOrgChartMergedBusinessUnitId(): string | null {\n return orgChartMergedBusinessUnitId;\n}\n\n//#endregion\n","/**\n * People & Organization capabilities used by this module.\n * Domain capability keys for this module. Root groups live in `AXPCommonPermissionGroupKeys` (common contracts).\n */\nexport const AXPPeopleOrganizationPermissionKeys = {\n Access: 'PeopleOrganization:Permission:Access',\n ViewOrganization: 'PeopleOrganization:Permission:ViewOrganization',\n MaintainOrganization: 'PeopleOrganization:Permission:MaintainOrganization',\n MaintainTeams: 'PeopleOrganization:Permission:MaintainTeams',\n MaintainEmployees: 'PeopleOrganization:Permission:MaintainEmployees',\n ManageEmployeeActions: 'PeopleOrganization:Permission:ManageEmployeeActions',\n MaintainPersons: 'PeopleOrganization:Permission:MaintainPersons',\n MaintainAttendance: 'PeopleOrganization:Permission:MaintainAttendance',\n ManageAttendanceActions: 'PeopleOrganization:Permission:ManageAttendanceActions',\n DesignJobs: 'PeopleOrganization:Permission:DesignJobs',\n Setup: 'PeopleOrganization:Permission:Setup',\n} as const;\n\n/**\n * @deprecated Prefer {@link AXPPeopleOrganizationPermissionKeys}.\n * Alias of the full People & Organization key set (including persons/attendance caps).\n */\nexport const AXPOrganizationManagementPermissionKeys = AXPPeopleOrganizationPermissionKeys;\n","const config = {\n i18n: 'organization-management',\n module: 'OrganizationManagement',\n};\nexport const RootConfig = {\n config,\n module: {\n route: 'organization-management',\n name: config.module,\n title: '@organization-management:module.title',\n icon: 'fa-light fa-sitemap',\n },\n entities: {\n responsibility: {\n name: 'Responsibility',\n title: '@organization-management:responsibilities.entities.responsibility.title',\n source: `${config.module}.Responsibility`,\n icon: 'fa-light fa-tasks',\n },\n jobDefinition: {\n name: 'JobDefinition',\n title: '@organization-management:job-definitions.entities.job-definition.title',\n source: `${config.module}.JobDefinition`,\n icon: 'fa-light fa-user-tie',\n },\n jobLevel: {\n name: 'JobLevel',\n title: '@organization-management:job-levels.entities.job-level.title',\n source: `${config.module}.JobLevel`,\n icon: 'fa-light fa-layer-group',\n },\n responsibilityLevel: {\n name: 'ResponsibilityLevel',\n title: '@organization-management:responsibility-levels.entities.responsibility-level.title',\n titlePlural: '@organization-management:responsibility-levels.entities.responsibility-level.plural',\n source: `${config.module}.ResponsibilityLevel`,\n icon: 'fa-light fa-layer-group',\n },\n company: {\n name: 'Company',\n source: `${config.module}.Company`,\n title: '@organization-management:companies.entities.company.title',\n icon: 'fa-light fa-building',\n },\n team: {\n name: 'Team',\n source: `${config.module}.Team`,\n title: '@organization-management:teams.entities.team.title',\n icon: 'fa-light fa-people-group',\n },\n teamMemberRole: {\n name: 'TeamMemberRole',\n source: `${config.module}.TeamMemberRole`,\n title: '@organization-management:team-member-roles.entities.team-member-role.title',\n icon: 'fa-light fa-user-tag',\n },\n teamMember: {\n name: 'TeamMember',\n source: `${config.module}.TeamMember`,\n title: '@organization-management:team-members.entities.team-member.title',\n icon: 'fa-light fa-users',\n },\n teamBusinessUnit: {\n name: 'TeamBusinessUnit',\n source: `${config.module}.TeamBusinessUnit`,\n title: '@organization-management:team-business-units.entities.team-business-unit.title',\n icon: 'fa-light fa-link',\n },\n position: {\n name: 'Position',\n source: `${config.module}.Position`,\n title: '@organization-management:positions.entities.position.title',\n icon: 'fa-light fa-briefcase',\n },\n businessUnitType: {\n name: 'BusinessUnitType',\n source: `${config.module}.BusinessUnitType`,\n title: '@organization-management:business-unit-types.entities.business-unit-type.title',\n icon: 'fa-light fa-tag',\n },\n businessUnit: {\n name: 'BusinessUnit',\n source: `${config.module}.BusinessUnit`,\n title: '@organization-management:business-units.entities.business-unit.title',\n icon: 'fa-light fa-sitemap',\n },\n\n structure: {\n name: 'ChartStructure',\n source: `${config.module}.ChartStructure`,\n title: '@organization-management:chart-configuration.components.chart-configuration.title',\n menu: {\n title: '@organization-management:chart-configuration.menus.chart-configuration.title',\n },\n icon: 'fa-light fa-gear',\n },\n chart: {\n name: 'Chart',\n source: `${config.module}.Chart`,\n title: '@organization-management:organization-chart.components.chart.title',\n menu: {\n title: '@organization-management:organization-chart.menus.chart.title',\n },\n icon: 'fa-light fa-chart-diagram',\n },\n },\n queries: {\n dashboard: {\n teamsBar: `${config.module}:Dashboard:TeamsBar`,\n },\n },\n} as const;\n","//#region ---- Imports ----\n\nimport { AXPModuleManifest } from '@acorex-platform/framework-shared/core';\nimport { RootConfig } from './root-config';\n\n//#endregion\n\n//#region ---- Manifest Definition ----\n\n/**\n * Organization Management Module Manifest.\n * Defines module metadata, features, and provider references.\n */\nexport const OrganizationManagementManifest: AXPModuleManifest = {\n name: RootConfig.module.name,\n version: '1.0.0',\n title: RootConfig.module.title,\n icon: RootConfig.module.icon,\n i18n: RootConfig.config.i18n,\n\n type: 'platform',\n domain: 'platform',\n // LearningManagement is optional (job-definition skills page). Do not list it as a\n // hard dependency — feature resolution would auto-enable Learning for every tenant\n // that has OrganizationManagement (e.g. Safetyminder without Learning).\n};\n\n//#endregion\n\n","import { type AXPEntityReference, AXPMultiLanguageString } from '@acorex-platform/framework-shared/core';\nimport { AXPEntityModel } from '@acorex-platform/framework-shared/entity';\n/** Persisted org-chart JSON: all chart modes in one row (`structure` column). */\nexport const AXM_ORG_CHART_STRUCTURE_SCHEMA_VERSION = 1 as const;\n\nexport interface AXMOrgChartStructurePayload {\n schemaVersion: typeof AXM_ORG_CHART_STRUCTURE_SCHEMA_VERSION;\n modes: {\n structure: AXMOrganizationManagementChartNodeEntityModel;\n location: AXMOrganizationManagementChartNodeEntityModel;\n reporting: AXMOrganizationManagementChartNodeEntityModel;\n positionHierarchy: AXMOrganizationManagementChartNodeEntityModel;\n };\n}\n\nexport interface AXMOrganizationManagementChartEntityModel extends AXPEntityModel<string> {\n version: string;\n structure: AXMOrgChartStructurePayload;\n}\n\nexport interface AXMOrganizationManagementChartNodeEntityModel extends AXPEntityModel<string> {\n id: string; // Unique identifier for the node\n title: AXPMultiLanguageString;\n subtitle?: AXPMultiLanguageString;\n description?: AXPMultiLanguageString;\n isExpanded?: boolean; // Add this property\n children?: AXMOrganizationManagementChartNodeEntityModel[];\n icon?: string;\n type?: string; // Type of the node\n parentId?: string | null; // ID of the parent node (null for root)\n entity?: AXPEntityReference;\n metadata?: Record<string, any>; // Additional metadata (e.g., roles, counts, etc.)\n}\n","//#region ---- Contracts barrel ----\n\nexport * from './commands.keys';\nexport * from './server-commands';\nexport * from './company-email-merge.util';\nexport * from './features.keys';\nexport * from './JOB_DEFINITION_RESPONSIBILITIES_PAGE_COMPONENT_KEY';\nexport * from './JOB_DEFINITION_SKILLS_PAGE_COMPONENT_KEY';\nexport * from './menu.keys';\nexport * from './org-chart-merged-business-unit.configure';\nexport * from './permission.keys';\nexport * from './settings.keys';\n\nexport * from './root-config';\nexport * from './manifest';\n\n//#endregion\n\nexport * from './entities';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;AAAA;AAEA;;;AAGG;AACI,MAAM,oCAAoC,GAAG;AAClD,IAAA,iBAAiB,EAAE;AACjB,QAAA,QAAQ,EAAE,0CAA0C;AACpD,QAAA,yBAAyB,EAAE,2DAA2D;AACtF,QAAA,6BAA6B,EAAE,+DAA+D;AAC9F,QAAA,qBAAqB,EAAE,uDAAuD;AAC9E,QAAA,8BAA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,MAAM,CAAC,MAAM,CAAA,MAAA,CAAQ;AAChC,YAAA,KAAK,EAAE,oEAAoE;AAC3E,YAAA,IAAI,EAAE;AACJ,gBAAA,KAAK,EAAE,+DAA+D;AACvE,aAAA;AACD,YAAA,IAAI,EAAE,2BAA2B;AAClC,SAAA;AACF,KAAA;AACD,IAAA,OAAO,EAAE;AACP,QAAA,SAAS,EAAE;AACT,YAAA,QAAQ,EAAE,CAAA,EAAG,MAAM,CAAC,MAAM,CAAA,mBAAA,CAAqB;AAChD,SAAA;AACF,KAAA;;;AC9GH;AAKA;AAEA;AAEA;;;AAGG;AACI,MAAM,8BAA8B,GAAsB;AAC/D,IAAA,IAAI,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC5B,IAAA,OAAO,EAAE,OAAO;AAChB,IAAA,KAAK,EAAE,UAAU,CAAC,MAAM,CAAC,KAAK;AAC9B,IAAA,IAAI,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC5B,IAAA,IAAI,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAE5B,IAAA,IAAI,EAAE,UAAU;AAChB,IAAA,MAAM,EAAE,UAAU;;;;;AAMpB;;ACzBA;AACO,MAAM,sCAAsC,GAAG;;ACHtD;;ACAA;;AAEG;;"}
|
|
@@ -9,7 +9,7 @@ class AXMJobDefinitionPagesComponentProvider {
|
|
|
9
9
|
return [
|
|
10
10
|
{
|
|
11
11
|
key: JOB_DEFINITION_RESPONSIBILITIES_PAGE_COMPONENT_KEY,
|
|
12
|
-
loader: () => import('./acorex-platform-module-organization-management-client-job-definition-responsibilities-page.component-
|
|
12
|
+
loader: () => import('./acorex-platform-module-organization-management-client-job-definition-responsibilities-page.component-B1hFwmaF.mjs').then((m) => m.AXMJobDefinitionResponsibilitiesPageComponent),
|
|
13
13
|
},
|
|
14
14
|
{
|
|
15
15
|
key: JOB_DEFINITION_SKILLS_PAGE_COMPONENT_KEY,
|
|
@@ -25,4 +25,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
25
25
|
}] });
|
|
26
26
|
|
|
27
27
|
export { AXMJobDefinitionPagesComponentProvider };
|
|
28
|
-
//# sourceMappingURL=acorex-platform-module-organization-management-client-job-definition-pages-component.provider-
|
|
28
|
+
//# sourceMappingURL=acorex-platform-module-organization-management-client-job-definition-pages-component.provider-qOqAdl0L.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-module-organization-management-client-job-definition-pages-component.provider-
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-organization-management-client-job-definition-pages-component.provider-qOqAdl0L.mjs","sources":["../../../../libs/modules/organization-management/client/src/lib/features/job-definition-pages/job-definition-pages-component.provider.ts"],"sourcesContent":["//#region ---- Imports ----\n\nimport {\n AXPPageComponentDefinition,\n AXPPageComponentProvider,\n} from '@acorex-platform/framework-client/layout/components';\nimport { Injectable } from '@angular/core';\nimport {\n JOB_DEFINITION_RESPONSIBILITIES_PAGE_COMPONENT_KEY,\n JOB_DEFINITION_SKILLS_PAGE_COMPONENT_KEY,\n} from '@acorex-platform/module-organization-management-client/contracts';\n\n//#endregion\n\n//#region ---- Job definition entity page components provider ----\n\n@Injectable()\nexport class AXMJobDefinitionPagesComponentProvider implements AXPPageComponentProvider {\n async components(): Promise<AXPPageComponentDefinition[]> {\n return [\n {\n key: JOB_DEFINITION_RESPONSIBILITIES_PAGE_COMPONENT_KEY,\n loader: () =>\n import('./job-definition-responsibilities-page.component').then(\n (m) => m.AXMJobDefinitionResponsibilitiesPageComponent,\n ),\n },\n {\n key: JOB_DEFINITION_SKILLS_PAGE_COMPONENT_KEY,\n loader: () =>\n import('./job-definition-skills-page.component').then((m) => m.AXMJobDefinitionSkillsPageComponent),\n },\n ];\n }\n}\n\n//#endregion\n"],"names":[],"mappings":";;;;AAYA;AAEA;MAGa,sCAAsC,CAAA;AACjD,IAAA,MAAM,UAAU,GAAA;QACd,OAAO;AACL,YAAA;AACE,gBAAA,GAAG,EAAE,kDAAkD;AACvD,gBAAA,MAAM,EAAE,MACN,OAAO,qHAAkD,CAAC,CAAC,IAAI,CAC7D,CAAC,CAAC,KAAK,CAAC,CAAC,6CAA6C,CACvD;AACJ,aAAA;AACD,YAAA;AACE,gBAAA,GAAG,EAAE,wCAAwC;AAC7C,gBAAA,MAAM,EAAE,MACN,OAAO,2GAAwC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,mCAAmC,CAAC;AACtG,aAAA;SACF;IACH;8GAhBW,sCAAsC,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;kHAAtC,sCAAsC,EAAA,CAAA,CAAA;;2FAAtC,sCAAsC,EAAA,UAAA,EAAA,CAAA;kBADlD;;;"}
|
|
@@ -6,7 +6,7 @@ import * as i0 from '@angular/core';
|
|
|
6
6
|
import { input, inject, signal, computed, effect, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
7
7
|
import { cloneDeep, isEqual } from 'lodash';
|
|
8
8
|
import { RootConfig } from '@acorex-platform/module-organization-management-client/contracts';
|
|
9
|
-
import { A as AXMOrganizationManagementResponsibilitiesMatrixComponent } from './acorex-platform-module-organization-management-client-responsibilities-matrix.component-
|
|
9
|
+
import { A as AXMOrganizationManagementResponsibilitiesMatrixComponent } from './acorex-platform-module-organization-management-client-responsibilities-matrix.component-DoktMNuL.mjs';
|
|
10
10
|
import { m as mergeJobDefinitionMatrixPageContext, j as jobLevelsToSpreadsheetTitles, c as collectIdsFromSpreadsheetMatrix } from './acorex-platform-module-organization-management-client-job-definition-matrix-page.utils-CGRJXMOn.mjs';
|
|
11
11
|
|
|
12
12
|
//#endregion
|
|
@@ -234,4 +234,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
234
234
|
}], ctorParameters: () => [], propDecorators: { rootContext: [{ type: i0.Input, args: [{ isSignal: true, alias: "rootContext", required: false }] }], pageConfig: [{ type: i0.Input, args: [{ isSignal: true, alias: "pageConfig", required: false }] }] } });
|
|
235
235
|
|
|
236
236
|
export { AXMJobDefinitionResponsibilitiesPageComponent };
|
|
237
|
-
//# sourceMappingURL=acorex-platform-module-organization-management-client-job-definition-responsibilities-page.component-
|
|
237
|
+
//# sourceMappingURL=acorex-platform-module-organization-management-client-job-definition-responsibilities-page.component-B1hFwmaF.mjs.map
|