@acorex-platform/module-organization-management-client 0.0.57 → 0.0.58

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (22) hide show
  1. package/fesm2022/{acorex-platform-module-organization-management-client-acorex-platform-module-organization-management-client-svaAbPwX.mjs → acorex-platform-module-organization-management-client-acorex-platform-module-organization-management-client-BrZiTl-n.mjs} +13 -13
  2. package/fesm2022/{acorex-platform-module-organization-management-client-acorex-platform-module-organization-management-client-svaAbPwX.mjs.map → acorex-platform-module-organization-management-client-acorex-platform-module-organization-management-client-BrZiTl-n.mjs.map} +1 -1
  3. package/fesm2022/{acorex-platform-module-organization-management-client-job-definition-pages-component.provider-qOqAdl0L.mjs → acorex-platform-module-organization-management-client-job-definition-pages-component.provider-CKXjoIvd.mjs} +2 -2
  4. package/fesm2022/{acorex-platform-module-organization-management-client-job-definition-pages-component.provider-qOqAdl0L.mjs.map → acorex-platform-module-organization-management-client-job-definition-pages-component.provider-CKXjoIvd.mjs.map} +1 -1
  5. package/fesm2022/{acorex-platform-module-organization-management-client-job-definition-responsibilities-page.component-B1hFwmaF.mjs → acorex-platform-module-organization-management-client-job-definition-responsibilities-page.component-D6NuCL7P.mjs} +2 -2
  6. package/fesm2022/{acorex-platform-module-organization-management-client-job-definition-responsibilities-page.component-B1hFwmaF.mjs.map → acorex-platform-module-organization-management-client-job-definition-responsibilities-page.component-D6NuCL7P.mjs.map} +1 -1
  7. package/fesm2022/{acorex-platform-module-organization-management-client-org-chart-employee-flyout-contribution.provider-DAj237cB.mjs → acorex-platform-module-organization-management-client-org-chart-employee-flyout-contribution.provider-3IyiZdhr.mjs} +2 -2
  8. package/fesm2022/{acorex-platform-module-organization-management-client-org-chart-employee-flyout-contribution.provider-DAj237cB.mjs.map → acorex-platform-module-organization-management-client-org-chart-employee-flyout-contribution.provider-3IyiZdhr.mjs.map} +1 -1
  9. package/fesm2022/{acorex-platform-module-organization-management-client-org-chart-ux-node-contribution.provider-BX7UB9Z1.mjs → acorex-platform-module-organization-management-client-org-chart-ux-node-contribution.provider-C2XFBqrb.mjs} +2 -2
  10. package/fesm2022/{acorex-platform-module-organization-management-client-org-chart-ux-node-contribution.provider-BX7UB9Z1.mjs.map → acorex-platform-module-organization-management-client-org-chart-ux-node-contribution.provider-C2XFBqrb.mjs.map} +1 -1
  11. package/fesm2022/{acorex-platform-module-organization-management-client-org-chart.page-DurM6Wqt.mjs → acorex-platform-module-organization-management-client-org-chart.page-BrAjoBbm.mjs} +2 -2
  12. package/fesm2022/{acorex-platform-module-organization-management-client-org-chart.page-DurM6Wqt.mjs.map → acorex-platform-module-organization-management-client-org-chart.page-BrAjoBbm.mjs.map} +1 -1
  13. package/fesm2022/{acorex-platform-module-organization-management-client-responsibilities-matrix-widget-edit.component-Bo-lM5Rd.mjs → acorex-platform-module-organization-management-client-responsibilities-matrix-widget-edit.component-Dtaaj36p.mjs} +2 -2
  14. package/fesm2022/{acorex-platform-module-organization-management-client-responsibilities-matrix-widget-edit.component-Bo-lM5Rd.mjs.map → acorex-platform-module-organization-management-client-responsibilities-matrix-widget-edit.component-Dtaaj36p.mjs.map} +1 -1
  15. package/fesm2022/{acorex-platform-module-organization-management-client-responsibilities-matrix-widget-view.component-CfhbdP-c.mjs → acorex-platform-module-organization-management-client-responsibilities-matrix-widget-view.component-un_RTJx_.mjs} +2 -2
  16. package/fesm2022/{acorex-platform-module-organization-management-client-responsibilities-matrix-widget-view.component-CfhbdP-c.mjs.map → acorex-platform-module-organization-management-client-responsibilities-matrix-widget-view.component-un_RTJx_.mjs.map} +1 -1
  17. package/fesm2022/{acorex-platform-module-organization-management-client-responsibilities-matrix.component-DoktMNuL.mjs → acorex-platform-module-organization-management-client-responsibilities-matrix.component-BatNIVf7.mjs} +2 -2
  18. package/fesm2022/{acorex-platform-module-organization-management-client-responsibilities-matrix.component-DoktMNuL.mjs.map → acorex-platform-module-organization-management-client-responsibilities-matrix.component-BatNIVf7.mjs.map} +1 -1
  19. package/fesm2022/{acorex-platform-module-organization-management-client-settings.provider-CWrJGKtx.mjs → acorex-platform-module-organization-management-client-settings.provider-D61-y9zD.mjs} +4 -4
  20. package/fesm2022/{acorex-platform-module-organization-management-client-settings.provider-CWrJGKtx.mjs.map → acorex-platform-module-organization-management-client-settings.provider-D61-y9zD.mjs.map} +1 -1
  21. package/fesm2022/acorex-platform-module-organization-management-client.mjs +1 -1
  22. package/package.json +2 -2
@@ -3,7 +3,7 @@ import { AXPValueWidgetComponent } from '@acorex-platform/framework-client/layou
3
3
  import * as i0 from '@angular/core';
4
4
  import { inject, computed, ChangeDetectionStrategy, ViewEncapsulation, Component } from '@angular/core';
5
5
  import { get } from 'lodash';
6
- import { A as AXMOrganizationManagementResponsibilitiesMatrixComponent } from './acorex-platform-module-organization-management-client-responsibilities-matrix.component-DoktMNuL.mjs';
6
+ import { A as AXMOrganizationManagementResponsibilitiesMatrixComponent } from './acorex-platform-module-organization-management-client-responsibilities-matrix.component-BatNIVf7.mjs';
7
7
 
8
8
  //#region ---- Imports ----
9
9
  //#endregion
@@ -140,4 +140,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
140
140
  }] });
141
141
 
142
142
  export { AXMResponsibilitiesMatrixWidgetEditComponent };
143
- //# sourceMappingURL=acorex-platform-module-organization-management-client-responsibilities-matrix-widget-edit.component-Bo-lM5Rd.mjs.map
143
+ //# sourceMappingURL=acorex-platform-module-organization-management-client-responsibilities-matrix-widget-edit.component-Dtaaj36p.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-platform-module-organization-management-client-responsibilities-matrix-widget-edit.component-Bo-lM5Rd.mjs","sources":["../../../../libs/modules/organization-management/client/src/lib/features/responsibilities-matrix/responsibilities-matrix-widget-edit.component.ts"],"sourcesContent":["//#region ---- Imports ----\n\nimport { AXTranslationService } from '@acorex/core/translation';\nimport { AXPSpreadsheetData, AXPSpreadsheetItem } from '@acorex-platform/framework-client/layout/components';\nimport { AXPValueWidgetComponent } from '@acorex-platform/framework-client/layout/widget-core';\nimport { ChangeDetectionStrategy, Component, computed, inject, ViewEncapsulation } from '@angular/core';\nimport { get } from 'lodash';\nimport { AXMOrganizationManagementResponsibilitiesMatrixComponent } from './responsibilities-matrix.component';\n\n//#endregion\n\n//#region ---- Component Definition ----\n\n@Component({\n selector: 'axm-responsibilities-matrix-widget-edit',\n standalone: true,\n imports: [AXMOrganizationManagementResponsibilitiesMatrixComponent],\n template: `\n <axm-responsibilities-matrix\n [titles]=\"titles()\"\n [value]=\"matrixValue()\"\n [responsibilityIds]=\"responsibilityIds()\"\n [readonly]=\"readonly()\"\n (valueChange)=\"handleValueChange($any($event))\"\n (responsibilityIdsChange)=\"handleResponsibilityIdsChange($any($event))\"\n ></axm-responsibilities-matrix>\n `,\n host: {\n class: 'block w-full',\n },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class AXMResponsibilitiesMatrixWidgetEditComponent extends AXPValueWidgetComponent<AXPSpreadsheetData> {\n //#region ---- Services & Dependencies ----\n\n private readonly multiLanguageResolver = inject(AXTranslationService);\n\n //#endregion\n\n //#region ---- Computed Properties ----\n\n /**\n * Readonly mode from options\n */\n protected readonly = computed<boolean>(() => {\n const options = this.options();\n return options?.['readonly'] ?? false;\n });\n\n /**\n * Titles from context - reactively reads from context data signal\n * This ensures the titles update immediately when jobLevelsList changes in context\n */\n protected titles = computed<AXPSpreadsheetItem[]>(() => {\n const resolve = (v: unknown) => this.multiLanguageResolver.resolve(v as any);\n const toItem = (item: any): AXPSpreadsheetItem => {\n if (typeof item === 'string') {\n return { id: item, title: item };\n }\n const id = item.id || item.value || String(item);\n const rawTitle = item.title ?? item.name ?? String(item);\n return {\n id,\n title: resolve(rawTitle) || String(rawTitle),\n description: item.description != null && item.description !== '' ? resolve(item.description) : undefined,\n };\n };\n\n // Read directly from context data signal for reactive updates\n const contextData = this.contextService.data();\n const jobLevelsFromContext = get(contextData, 'jobLevelsList') as any[] | undefined;\n\n if (Array.isArray(jobLevelsFromContext) && jobLevelsFromContext.length > 0) {\n return jobLevelsFromContext.map(toItem);\n }\n\n // Fallback to options (for initial load or when context is not yet available)\n const options = this.options();\n const rawTitles = options?.['titles'];\n\n if (!rawTitles) {\n return [];\n }\n\n if (Array.isArray(rawTitles)) {\n return rawTitles.map(toItem);\n }\n\n return [];\n });\n\n /**\n * Current matrix value\n */\n protected matrixValue = computed<AXPSpreadsheetData>(() => {\n return (this.getValue() as AXPSpreadsheetData) || {};\n });\n\n /**\n * Responsibility IDs extracted from value or from options\n */\n protected responsibilityIds = computed<string[]>(() => {\n const options = this.options();\n const responsibilityIdsFromOptions = options?.['responsibilityIds'] ?? [];\n\n // If responsibilityIds from options is an array, use it\n if (Array.isArray(responsibilityIdsFromOptions) && responsibilityIdsFromOptions.length > 0) {\n return responsibilityIdsFromOptions;\n }\n\n // Otherwise, extract from value (only if value exists and has items)\n const value = this.matrixValue();\n if (value && typeof value === 'object' && Object.keys(value).length > 0) {\n return Object.keys(value).filter((id) => id != null);\n }\n\n // Return empty array to prevent undefined issues\n return [];\n });\n\n //#endregion\n\n //#region ---- Event Handlers ----\n\n /**\n * Handle value change from responsibilities-matrix component\n */\n protected handleValueChange(data: AXPSpreadsheetData): void {\n if (data) {\n this.setValue(data);\n }\n }\n\n /**\n * Handle responsibility IDs change from responsibilities-matrix component\n */\n protected handleResponsibilityIdsChange(responsibilityIds: string[]): void {\n // Responsibility IDs are already reflected in the value\n // This handler is here for potential future use or side effects\n }\n\n //#endregion\n}\n\n//#endregion\n"],"names":[],"mappings":";;;;;;;AAAA;AASA;AAEA;AAsBM,MAAO,4CAA6C,SAAQ,uBAA2C,CAAA;AApB7G,IAAA,WAAA,GAAA;;;AAuBmB,QAAA,IAAA,CAAA,qBAAqB,GAAG,MAAM,CAAC,oBAAoB,CAAC;;;AAMrE;;AAEG;AACO,QAAA,IAAA,CAAA,QAAQ,GAAG,QAAQ,CAAU,MAAK;AAC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AA,IAAI,EAAE;AACJ,wBAAA,KAAK,EAAE,cAAc;AACtB,qBAAA;oBACD,aAAa,EAAE,iBAAiB,CAAC,IAAI;oBACrC,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAChD,iBAAA;;;"}
1
+ {"version":3,"file":"acorex-platform-module-organization-management-client-responsibilities-matrix-widget-edit.component-Dtaaj36p.mjs","sources":["../../../../libs/modules/organization-management/client/src/lib/features/responsibilities-matrix/responsibilities-matrix-widget-edit.component.ts"],"sourcesContent":["//#region ---- Imports ----\n\nimport { AXTranslationService } from '@acorex/core/translation';\nimport { AXPSpreadsheetData, AXPSpreadsheetItem } from '@acorex-platform/framework-client/layout/components';\nimport { AXPValueWidgetComponent } from '@acorex-platform/framework-client/layout/widget-core';\nimport { ChangeDetectionStrategy, Component, computed, inject, ViewEncapsulation } from '@angular/core';\nimport { get } from 'lodash';\nimport { AXMOrganizationManagementResponsibilitiesMatrixComponent } from './responsibilities-matrix.component';\n\n//#endregion\n\n//#region ---- Component Definition ----\n\n@Component({\n selector: 'axm-responsibilities-matrix-widget-edit',\n standalone: true,\n imports: [AXMOrganizationManagementResponsibilitiesMatrixComponent],\n template: `\n <axm-responsibilities-matrix\n [titles]=\"titles()\"\n [value]=\"matrixValue()\"\n [responsibilityIds]=\"responsibilityIds()\"\n [readonly]=\"readonly()\"\n (valueChange)=\"handleValueChange($any($event))\"\n (responsibilityIdsChange)=\"handleResponsibilityIdsChange($any($event))\"\n ></axm-responsibilities-matrix>\n `,\n host: {\n class: 'block w-full',\n },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class AXMResponsibilitiesMatrixWidgetEditComponent extends AXPValueWidgetComponent<AXPSpreadsheetData> {\n //#region ---- Services & Dependencies ----\n\n private readonly multiLanguageResolver = inject(AXTranslationService);\n\n //#endregion\n\n //#region ---- Computed Properties ----\n\n /**\n * Readonly mode from options\n */\n protected readonly = computed<boolean>(() => {\n const options = this.options();\n return options?.['readonly'] ?? false;\n });\n\n /**\n * Titles from context - reactively reads from context data signal\n * This ensures the titles update immediately when jobLevelsList changes in context\n */\n protected titles = computed<AXPSpreadsheetItem[]>(() => {\n const resolve = (v: unknown) => this.multiLanguageResolver.resolve(v as any);\n const toItem = (item: any): AXPSpreadsheetItem => {\n if (typeof item === 'string') {\n return { id: item, title: item };\n }\n const id = item.id || item.value || String(item);\n const rawTitle = item.title ?? item.name ?? String(item);\n return {\n id,\n title: resolve(rawTitle) || String(rawTitle),\n description: item.description != null && item.description !== '' ? resolve(item.description) : undefined,\n };\n };\n\n // Read directly from context data signal for reactive updates\n const contextData = this.contextService.data();\n const jobLevelsFromContext = get(contextData, 'jobLevelsList') as any[] | undefined;\n\n if (Array.isArray(jobLevelsFromContext) && jobLevelsFromContext.length > 0) {\n return jobLevelsFromContext.map(toItem);\n }\n\n // Fallback to options (for initial load or when context is not yet available)\n const options = this.options();\n const rawTitles = options?.['titles'];\n\n if (!rawTitles) {\n return [];\n }\n\n if (Array.isArray(rawTitles)) {\n return rawTitles.map(toItem);\n }\n\n return [];\n });\n\n /**\n * Current matrix value\n */\n protected matrixValue = computed<AXPSpreadsheetData>(() => {\n return (this.getValue() as AXPSpreadsheetData) || {};\n });\n\n /**\n * Responsibility IDs extracted from value or from options\n */\n protected responsibilityIds = computed<string[]>(() => {\n const options = this.options();\n const responsibilityIdsFromOptions = options?.['responsibilityIds'] ?? [];\n\n // If responsibilityIds from options is an array, use it\n if (Array.isArray(responsibilityIdsFromOptions) && responsibilityIdsFromOptions.length > 0) {\n return responsibilityIdsFromOptions;\n }\n\n // Otherwise, extract from value (only if value exists and has items)\n const value = this.matrixValue();\n if (value && typeof value === 'object' && Object.keys(value).length > 0) {\n return Object.keys(value).filter((id) => id != null);\n }\n\n // Return empty array to prevent undefined issues\n return [];\n });\n\n //#endregion\n\n //#region ---- Event Handlers ----\n\n /**\n * Handle value change from responsibilities-matrix component\n */\n protected handleValueChange(data: AXPSpreadsheetData): void {\n if (data) {\n this.setValue(data);\n }\n }\n\n /**\n * Handle responsibility IDs change from responsibilities-matrix component\n */\n protected handleResponsibilityIdsChange(responsibilityIds: string[]): void {\n // Responsibility IDs are already reflected in the value\n // This handler is here for potential future use or side effects\n }\n\n //#endregion\n}\n\n//#endregion\n"],"names":[],"mappings":";;;;;;;AAAA;AASA;AAEA;AAsBM,MAAO,4CAA6C,SAAQ,uBAA2C,CAAA;AApB7G,IAAA,WAAA,GAAA;;;AAuBmB,QAAA,IAAA,CAAA,qBAAqB,GAAG,MAAM,CAAC,oBAAoB,CAAC;;;AAMrE;;AAEG;AACO,QAAA,IAAA,CAAA,QAAQ,GAAG,QAAQ,CAAU,MAAK;AAC1C,YAAA,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO,EAAE;AAC9B,YAAA,OAAO,OAAO,GAAG,UAAU,CAAC,IAAI,KAAK;QACvC,CAAC;qFAAC;AAEF;;;AAGG;AACO,QAAA,IAAA,CAAA,MAAM,GAAG,QAAQ,CAAuB,MAAK;AACrD,YAAA,MAAM,OAAO,GAAG,CAAC,CAAU,KAAK,IAAI,CAAC,qBAAqB,CAAC,OAAO,CAAC,CAAQ,CAAC;AAC5E,YAAA,MAAM,MAAM,GAAG,CAAC,IAAS,KAAwB;AAC/C,gBAAA,IAAI,OAAO,IAAI,KAAK,QAAQ,EAAE;oBAC5B,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE;gBAClC;AACA,gBAAA,MAAM,EAAE,GAAG,IAAI,CAAC,EAAE,IAAI,IAAI,CAAC,KAAK,IAAI,MAAM,CAAC,IAAI,CAAC;AAChD,gBAAA,MAAM,QAAQ,GAAG,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,IAAI,IAAI,MAAM,CAAC,IAAI,CAAC;gBACxD,OAAO;oBACL,EAAE;oBACF,KAAK,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI,MAAM,CAAC,QAAQ,CAAC;oBAC5C,WAAW,EAAE,IAAI,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AAA,aAAA,EAAA,YAAA,EAAA,yBAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;;2FAiBvD,4CAA4C,EAAA,UAAA,EAAA,CAAA;kBApBxD,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,yCAAyC;AACnD,oBAAA,UAAU,EAAE,IAAI;oBAChB,OAAO,EAAE,CAAC,wDAAwD,CAAC;AACnE,oBAAA,QAAQ,EAAE;;;;;;;;;AAST,EAAA,CAAA;AACD,oBAAA,IAAI,EAAE;AACJ,wBAAA,KAAK,EAAE,cAAc;AACtB,qBAAA;oBACD,aAAa,EAAE,iBAAiB,CAAC,IAAI;oBACrC,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAChD,iBAAA;;;"}
@@ -1,7 +1,7 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { computed, ChangeDetectionStrategy, ViewEncapsulation, Component } from '@angular/core';
3
3
  import { AXPValueWidgetComponent } from '@acorex-platform/framework-client/layout/widget-core';
4
- import { A as AXMOrganizationManagementResponsibilitiesMatrixComponent } from './acorex-platform-module-organization-management-client-responsibilities-matrix.component-DoktMNuL.mjs';
4
+ import { A as AXMOrganizationManagementResponsibilitiesMatrixComponent } from './acorex-platform-module-organization-management-client-responsibilities-matrix.component-BatNIVf7.mjs';
5
5
 
6
6
  //#region ---- Imports ----
7
7
  //#endregion
@@ -62,4 +62,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
62
62
  }] });
63
63
 
64
64
  export { AXMResponsibilitiesMatrixWidgetViewComponent };
65
- //# sourceMappingURL=acorex-platform-module-organization-management-client-responsibilities-matrix-widget-view.component-CfhbdP-c.mjs.map
65
+ //# sourceMappingURL=acorex-platform-module-organization-management-client-responsibilities-matrix-widget-view.component-un_RTJx_.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-platform-module-organization-management-client-responsibilities-matrix-widget-view.component-CfhbdP-c.mjs","sources":["../../../../libs/modules/organization-management/client/src/lib/features/responsibilities-matrix/responsibilities-matrix-widget-view.component.ts"],"sourcesContent":["//#region ---- Imports ----\n\nimport {\n ChangeDetectionStrategy,\n Component,\n computed,\n ViewEncapsulation,\n} from '@angular/core';\nimport { AXPValueWidgetComponent } from '@acorex-platform/framework-client/layout/widget-core';\nimport { AXPSpreadsheetData } from '@acorex-platform/framework-client/layout/components';\nimport { AXMOrganizationManagementResponsibilitiesMatrixComponent } from './responsibilities-matrix.component';\n\n//#endregion\n\n//#region ---- Component Definition ----\n\n@Component({\n selector: 'axm-responsibilities-matrix-widget-view',\n standalone: true,\n imports: [\n AXMOrganizationManagementResponsibilitiesMatrixComponent\n],\n template: `\n <axm-responsibilities-matrix\n [value]=\"matrixValue()\"\n [readonly]=\"true\"\n (valueChange)=\"handleValueChange($any($event))\"\n ></axm-responsibilities-matrix>\n `,\n host: {\n class: 'block w-full',\n },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class AXMResponsibilitiesMatrixWidgetViewComponent extends AXPValueWidgetComponent<AXPSpreadsheetData> {\n //#endregion\n\n //#region ---- Computed Properties ----\n\n /**\n * Current matrix value\n */\n protected matrixValue = computed<AXPSpreadsheetData>(() => {\n return (this.getValue() as AXPSpreadsheetData) || {};\n });\n\n //#endregion\n\n //#region ---- Event Handlers ----\n\n /**\n * Handle value change from responsibilities-matrix component\n */\n protected handleValueChange(data: AXPSpreadsheetData): void {\n if (data) {\n this.setValue(data);\n }\n }\n\n //#endregion\n}\n\n//#endregion\n"],"names":[],"mappings":";;;;;AAAA;AAYA;AAEA;AAqBM,MAAO,4CAA6C,SAAQ,uBAA2C,CAAA;AAnB7G,IAAA,WAAA,GAAA;;;;AAwBI;;AAEG;AACO,QAAA,IAAA,CAAA,WAAW,GAAG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B,oBAAA,OAAO,EAAE;wBACT;AACH,qBAAA;AACG,oBAAA,QAAQ,EAAE;;;;;;AAMT,IAAA,CAAA;AACD,oBAAA,IAAI,EAAE;AACF,wBAAA,KAAK,EAAE,cAAc;AACxB,qBAAA;oBACD,aAAa,EAAE,iBAAiB,CAAC,IAAI;oBACrC,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAClD,iBAAA;;;"}
1
+ {"version":3,"file":"acorex-platform-module-organization-management-client-responsibilities-matrix-widget-view.component-un_RTJx_.mjs","sources":["../../../../libs/modules/organization-management/client/src/lib/features/responsibilities-matrix/responsibilities-matrix-widget-view.component.ts"],"sourcesContent":["//#region ---- Imports ----\n\nimport {\n ChangeDetectionStrategy,\n Component,\n computed,\n ViewEncapsulation,\n} from '@angular/core';\nimport { AXPValueWidgetComponent } from '@acorex-platform/framework-client/layout/widget-core';\nimport { AXPSpreadsheetData } from '@acorex-platform/framework-client/layout/components';\nimport { AXMOrganizationManagementResponsibilitiesMatrixComponent } from './responsibilities-matrix.component';\n\n//#endregion\n\n//#region ---- Component Definition ----\n\n@Component({\n selector: 'axm-responsibilities-matrix-widget-view',\n standalone: true,\n imports: [\n AXMOrganizationManagementResponsibilitiesMatrixComponent\n],\n template: `\n <axm-responsibilities-matrix\n [value]=\"matrixValue()\"\n [readonly]=\"true\"\n (valueChange)=\"handleValueChange($any($event))\"\n ></axm-responsibilities-matrix>\n `,\n host: {\n class: 'block w-full',\n },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class AXMResponsibilitiesMatrixWidgetViewComponent extends AXPValueWidgetComponent<AXPSpreadsheetData> {\n //#endregion\n\n //#region ---- Computed Properties ----\n\n /**\n * Current matrix value\n */\n protected matrixValue = computed<AXPSpreadsheetData>(() => {\n return (this.getValue() as AXPSpreadsheetData) || {};\n });\n\n //#endregion\n\n //#region ---- Event Handlers ----\n\n /**\n * Handle value change from responsibilities-matrix component\n */\n protected handleValueChange(data: AXPS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AA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;;2FAe/C,4CAA4C,EAAA,UAAA,EAAA,CAAA;kBAnBxD,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,yCAAyC;AACnD,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,OAAO,EAAE;wBACT;AACH,qBAAA;AACG,oBAAA,QAAQ,EAAE;;;;;;AAMT,IAAA,CAAA;AACD,oBAAA,IAAI,EAAE;AACF,wBAAA,KAAK,EAAE,cAAc;AACxB,qBAAA;oBACD,aAAa,EAAE,iBAAiB,CAAC,IAAI;oBACrC,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAClD,iBAAA;;;"}
@@ -387,7 +387,7 @@ class AXMOrganizationManagementResponsibilitiesMatrixComponent {
387
387
  // Note: 'add' type shouldn't happen in fixed mode, but if it does, we can handle it here
388
388
  }
389
389
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXMOrganizationManagementResponsibilitiesMatrixComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
390
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: AXMOrganizationManagementResponsibilitiesMatrixComponent, isStandalone: true, selector: "axm-responsibilities-matrix", inputs: { titles: { classPropertyName: "titles", publicName: "titles", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: true, isRequired: false, transformFunction: null }, responsibilityIds: { classPropertyName: "responsibilityIds", publicName: "responsibilityIds", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { valueChange: "valueChange", cellChange: "cellChange", responsibilityIdsChange: "responsibilityIdsChange" }, host: { classAttribute: "axm-responsibilities-matrix" }, ngImport: i0, template: "<div class=\"__container\">\n <div class=\"__matrix-section\">\n <div class=\"__matrix-header ax-sm\">\n @if (!readonly()) {\n <ax-button color=\"primary\"\n [text]=\"'@organization-management:job-definitions.components.responsibilities-matrix.actions.choose-responsibilities.title' | translate | async\"\n (onClick)=\"handleSelectResponsibilities()\" [disabled]=\"isLoadingResponsibilityEntity()\">\n <ax-icon icon=\"far fa-plus\"></ax-icon>\n </ax-button>\n }\n </div>\n @if (isLoading()) {\n <div class=\"__loading\">\n <span>{{ '@organization-management:job-definitions.components.responsibilities-matrix.messages.loading-responsibility-levels' | translate | async\n }}</span>\n </div>\n } @else {\n <axp-spreadsheet [title]=\"'Responsibility / Level'\" [columns]=\"spreadsheetColumns()\" [rowsInput]=\"spreadsheetRows()\"\n [rowMode]=\"'fixed'\" [readonly]=\"readonly()\" [allowRemoveRows]=\"true\" [rowTitlePath]=\"'_responsibilityTitle'\"\n [rowDescriptionPath]=\"'_responsibilityDescription'\" (cellChange)=\"handleCellChange($event)\"\n (spreadsheetChange)=\"handleSpreadsheetChange($event)\" (rowChange)=\"handleRowChange($event)\"></axp-spreadsheet>\n }\n </div>\n</div>\n", styles: [".responsibilities-matrix{display:block;height:100%;width:100%}.responsibilities-matrix .__container,.responsibilities-matrix .__matrix-section{display:flex;flex-direction:column}.responsibilities-matrix .__matrix-header{margin-bottom:calc(var(--spacing, .25rem) * 3);display:flex;justify-content:flex-end}.responsibilities-matrix .__loading{display:flex;align-items:center;justify-content:center;padding:calc(var(--spacing, .25rem) * 8);font-size:var(--text-sm, .875rem);line-height:var(--tw-leading, var(--text-sm--line-height, calc(1.25 / .875)));color:var(--color-neutral-600, oklch(43.9% 0 none))}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: AXPSpreadsheetComponent, selector: "axp-spreadsheet", inputs: ["title", "columns", "rowMode", "rowsInput", "rowsModel", "readonly", "emptyCellPlaceholder", "rowTitlePath", "rowDescriptionPath", "allowAddRows", "allowRemoveRows", "allowAddColumns", "allowRemoveColumns", "showCellActions"], outputs: ["rowsModelChange", "cellChange", "rowChange", "columnChange", "columnsChange", "spreadsheetChange"] }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i1.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i2.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "pipe", type: i3.AsyncPipe, name: "async" }, { kind: "pipe", type: i3$1.AXTranslatorPipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
390
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: AXMOrganizationManagementResponsibilitiesMatrixComponent, isStandalone: true, selector: "axm-responsibilities-matrix", inputs: { titles: { classPropertyName: "titles", publicName: "titles", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: true, isRequired: false, transformFunction: null }, responsibilityIds: { classPropertyName: "responsibilityIds", publicName: "responsibilityIds", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { valueChange: "valueChange", cellChange: "cellChange", responsibilityIdsChange: "responsibilityIdsChange" }, host: { classAttribute: "axm-responsibilities-matrix" }, ngImport: i0, template: "<div class=\"__container\">\n <div class=\"__matrix-section\">\n <div class=\"__matrix-header ax-sm\">\n @if (!readonly()) {\n <ax-button color=\"primary\"\n [text]=\"'@organization-management:job-definitions.components.responsibilities-matrix.actions.choose-responsibilities.title' | translate | async\"\n (onClick)=\"handleSelectResponsibilities()\" [disabled]=\"isLoadingResponsibilityEntity()\">\n <ax-icon icon=\"far fa-plus\"></ax-icon>\n </ax-button>\n }\n </div>\n @if (isLoading()) {\n <div class=\"__loading\">\n <span>{{ '@organization-management:job-definitions.components.responsibilities-matrix.messages.loading-responsibility-levels' | translate | async\n }}</span>\n </div>\n } @else {\n <axp-spreadsheet [title]=\"'Responsibility / Level'\" [columns]=\"spreadsheetColumns()\" [rowsInput]=\"spreadsheetRows()\"\n [rowMode]=\"'fixed'\" [readonly]=\"readonly()\" [allowRemoveRows]=\"true\" [rowTitlePath]=\"'_responsibilityTitle'\"\n [rowDescriptionPath]=\"'_responsibilityDescription'\" (cellChange)=\"handleCellChange($event)\"\n (spreadsheetChange)=\"handleSpreadsheetChange($event)\" (rowChange)=\"handleRowChange($event)\"></axp-spreadsheet>\n }\n </div>\n</div>\n", styles: [".responsibilities-matrix{display:block;height:100%;width:100%}.responsibilities-matrix .__container,.responsibilities-matrix .__matrix-section{display:flex;flex-direction:column}.responsibilities-matrix .__matrix-header{margin-bottom:calc(var(--spacing, .25rem) * 3);display:flex;justify-content:flex-end}.responsibilities-matrix .__loading{display:flex;align-items:center;justify-content:center;padding:calc(var(--spacing, .25rem) * 8);font-size:var(--text-sm, .875rem);line-height:var(--tw-leading, var(--text-sm--line-height, calc(1.25 / .875)));color:var(--color-neutral-600, oklch(43.9% 0 none))}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: AXPSpreadsheetComponent, selector: "axp-spreadsheet", inputs: ["title", "columns", "rowMode", "rowsInput", "rowsModel", "readonly", "emptyCellPlaceholder", "rowTitlePath", "rowDescriptionPath", "allowAddRows", "allowRemoveRows", "allowAddColumns", "allowRemoveColumns", "showCellActions", "showRowHeader", "rowGroupPath", "rowWidgets"], outputs: ["rowsModelChange", "cellChange", "rowChange", "columnChange", "columnsChange", "spreadsheetChange"] }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i1.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i2.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "pipe", type: i3.AsyncPipe, name: "async" }, { kind: "pipe", type: i3$1.AXTranslatorPipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
391
391
  }
392
392
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXMOrganizationManagementResponsibilitiesMatrixComponent, decorators: [{
393
393
  type: Component,
@@ -397,4 +397,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
397
397
  }], ctorParameters: () => [], propDecorators: { titles: [{ type: i0.Input, args: [{ isSignal: true, alias: "titles", required: false }] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }], readonly: [{ type: i0.Input, args: [{ isSignal: true, alias: "readonly", required: false }] }], responsibilityIds: [{ type: i0.Input, args: [{ isSignal: true, alias: "responsibilityIds", required: false }] }], valueChange: [{ type: i0.Output, args: ["valueChange"] }], cellChange: [{ type: i0.Output, args: ["cellChange"] }], responsibilityIdsChange: [{ type: i0.Output, args: ["responsibilityIdsChange"] }] } });
398
398
 
399
399
  export { AXMOrganizationManagementResponsibilitiesMatrixComponent as A };
400
- //# sourceMappingURL=acorex-platform-module-organization-management-client-responsibilities-matrix.component-DoktMNuL.mjs.map
400
+ //# sourceMappingURL=acorex-platform-module-organization-management-client-responsibilities-matrix.component-BatNIVf7.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-platform-module-organization-management-client-responsibilities-matrix.component-DoktMNuL.mjs","sources":["../../../../libs/modules/organization-management/client/src/lib/features/responsibilities-matrix/responsibilities-matrix.component.ts","../../../../libs/modules/organization-management/client/src/lib/features/responsibilities-matrix/responsibilities-matrix.component.html"],"sourcesContent":["//#region ---- Imports ----\n\nimport { AXPEntity } from '@acorex-platform/framework-shared/entity';\nimport { AXButtonModule } from '@acorex/components/button';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXTranslationModule, AXTranslationService } from '@acorex/core/translation';\nimport { type AXPWidgetNode, AXPWidgetsList } from '@acorex-platform/framework-shared/core';\n\nimport {\n AXPSpreadsheetCellChangeEvent,\n AXPSpreadsheetColumn,\n AXPSpreadsheetComponent,\n AXPSpreadsheetData,\n AXPSpreadsheetItem,\n AXPSpreadsheetRowChangeEvent,\n} from '@acorex-platform/framework-client/layout/components';\nimport {\n AXPEntityDataSelectorService,\n AXPEntityDefinitionRegistryService,\n AXPEntityService,\n} from '@acorex-platform/framework-client/layout/entity';\nimport { CommonModule } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n computed,\n effect,\n inject,\n input,\n output,\n signal,\n ViewEncapsulation,\n} from '@angular/core';\nimport { RootConfig } from '@acorex-platform/module-organization-management-client/contracts';\nimport { AXMOrganizationManagementResponsibilityLevelEntityModel } from '@acorex-platform/module-organization-management-client/contracts';\nimport { AXMOrganizationManagementResponsibilityEntityModel } from '@acorex-platform/module-organization-management-client/contracts';\n\n//#endregion\n\n//#region ---- Component Definition ----\n\n@Component({\n selector: 'axm-responsibilities-matrix',\n standalone: true,\n imports: [CommonModule, AXPSpreadsheetComponent, AXButtonModule, AXDecoratorModule, AXTranslationModule],\n templateUrl: './responsibilities-matrix.component.html',\n styleUrl: './responsibilities-matrix.component.css',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'axm-responsibilities-matrix',\n },\n})\nexport class AXMOrganizationManagementResponsibilitiesMatrixComponent {\n //#endregion\n\n //#region ---- Services & Dependencies ----\n\n private readonly entityService = inject(AXPEntityService);\n private readonly responsibilityLevelDataAccessor = this.entityService\n .withEntity(RootConfig.module.name, RootConfig.entities.responsibilityLevel.name)\n .data<string, AXMOrganizationManagementResponsibilityLevelEntityModel>();\n private readonly responsibilityDataAccessor = this.entityService\n .withEntity(RootConfig.module.name, RootConfig.entities.responsibility.name)\n .data<string, AXMOrganizationManagementResponsibilityEntityModel>();\n private readonly entityDataSelectorService = inject(AXPEntityDataSelectorService);\n private readonly entityResolver = inject(AXPEntityDefinitionRegistryService);\n private readonly multiLanguageResolver = inject(AXTranslationService);\n\n //#endregion\n\n //#region ---- Inputs ----\n\n /**\n * Array of job levels to display as columns (e.g., Junior, Mid-Level, Senior)\n */\n titles = input<AXPSpreadsheetItem[]>([]);\n\n /**\n * Initial matrix data: { [responsibilityId]: { [title.id]: responsibilityLevelId } }\n */\n value = input<AXPSpreadsheetData>({});\n\n /**\n * Whether the matrix is in readonly mode\n */\n readonly = input<boolean>(false);\n\n /**\n * Initial responsibility IDs (for syncing with parent entity)\n */\n responsibilityIds = input<string[]>([]);\n\n //#endregion\n\n //#region ---- Outputs ----\n\n /**\n * Emitted when the matrix value changes\n */\n valueChange = output<AXPSpreadsheetData>();\n\n /**\n * Emitted when a single cell value changes\n */\n cellChange = output<AXPSpreadsheetCellChangeEvent>();\n\n /**\n * Emitted when selected responsibilities change (responsibility IDs array)\n */\n responsibilityIdsChange = output<string[]>();\n\n //#endregion\n\n //#region ---- Class Properties ----\n\n /**\n * Responsibility levels loaded from the service\n */\n private responsibilityLevels = signal<AXMOrganizationManagementResponsibilityLevelEntityModel[]>([]);\n\n /**\n * Selected responsibilities (internal state)\n */\n protected selectedResponsibilities = signal<AXMOrganizationManagementResponsibilityEntityModel[]>([]);\n\n /**\n * Responsibility entity definition\n */\n private responsibilityEntityDef = signal<AXPEntity | null>(null);\n\n /**\n * Loading state\n */\n protected isLoading = signal<boolean>(true);\n\n /**\n * Loading state for responsibility entity\n */\n protected isLoadingResponsibilityEntity = signal<boolean>(false);\n\n //#endregion\n\n //#region ---- Computed Properties ----\n\n /**\n * Vertical titles (responsibilities) - rows of the matrix\n */\n protected verticalTitles = computed<AXPSpreadsheetItem[]>(() => {\n const responsibilities = this.selectedResponsibilities();\n const resolve = (v: unknown) => this.multiLanguageResolver.resolve(v as any);\n const result = (responsibilities ?? []).map((responsibility) => ({\n id: responsibility.id,\n title: resolve(responsibility.title),\n description: responsibility.description ? resolve(responsibility.description) : undefined,\n }));\n return result;\n });\n\n /**\n * Horizontal titles (job levels) - columns of the matrix\n */\n protected horizontalTitles = computed<AXPSpreadsheetItem[]>(() => {\n const titlesInput = this.titles();\n const resolve = (v: unknown) => this.multiLanguageResolver.resolve(v as any);\n const result = (titlesInput ?? []).map((title) => ({\n id: title.id,\n title: resolve(title.title),\n description: title.description ? resolve(title.description) : undefined,\n }));\n return result;\n });\n\n /**\n * Cell options (responsibility levels) - dropdown options for each cell, loaded from service\n */\n protected cellOptions = computed<AXPSpreadsheetItem[]>(() => {\n const levels = this.responsibilityLevels();\n const resolve = (v: unknown) => this.multiLanguageResolver.resolve(v as any);\n const result = (levels ?? []).map((level) => ({\n id: level.id,\n title: resolve(level.title),\n description: level.description ? resolve(level.description) : undefined,\n }));\n return result;\n });\n\n /**\n * Spreadsheet columns - converted from horizontalTitles (job levels)\n */\n protected spreadsheetColumns = computed<AXPSpreadsheetColumn[]>(() => {\n const horizontalTitles = this.horizontalTitles();\n const cellOptions = this.cellOptions();\n\n // Create SelectBox widget configuration for responsibility levels\n const selectBoxWidget: AXPWidgetNode = {\n type: AXPWidgetsList.Editors.SelectBox,\n options: {\n valueField: 'id',\n textField: 'title',\n dataSource: cellOptions.map((option) => ({\n id: option.id,\n title: option.title,\n description: option.description,\n })),\n },\n };\n\n // Convert horizontal titles to columns\n return horizontalTitles.map((title) => ({\n name: title.id,\n title: title.title,\n description: title.description,\n path: title.id, // Path to access the value in row object\n widget: selectBoxWidget,\n }));\n });\n\n /**\n * Spreadsheet rows - converted from matrix data and vertical titles\n */\n protected spreadsheetRows = computed<Record<string, any>[]>(() => {\n const verticalTitles = this.verticalTitles();\n const horizontalTitles = this.horizontalTitles();\n const matrixData = this.value();\n\n // Convert matrix data to spreadsheet rows\n return verticalTitles.map((responsibility) => {\n const row: Record<string, any> = {\n name: responsibility.id, // Required for fixed mode row identification\n _responsibilityTitle: responsibility.title, // For row header display\n _responsibilityDescription: responsibility.description, // For row header description\n };\n\n // Add cell values for each horizontal title (column)\n horizontalTitles.forEach((title) => {\n const cellValue = matrixData[responsibility.id]?.[title.id] ?? null;\n row[title.id] = cellValue;\n });\n\n return row;\n });\n });\n\n //#endregion\n\n //#region ---- Lifecycle Methods ----\n\n constructor() {\n // Load responsibility levels and responsibility entity definition when component initializes\n this.loadResponsibilityLevels();\n this.loadResponsibilityEntityDef();\n\n // Watch for responsibilityIds input changes and sync selected responsibilities\n effect(() => {\n const ids = this.responsibilityIds();\n if (ids && ids.length > 0 && this.responsibilityEntityDef()) {\n this.loadResponsibilitiesByIds(ids);\n } else if (!ids || ids.length === 0) {\n // Try to extract responsibility IDs from matrix data keys\n const matrixData = this.value();\n const responsibilityIdsFromMatrix = Object.keys(matrixData || {});\n if (responsibilityIdsFromMatrix.length > 0 && this.responsibilityEntityDef()) {\n this.loadResponsibilitiesByIds(responsibilityIdsFromMatrix);\n } else {\n this.selectedResponsibilities.set([]);\n }\n }\n });\n\n // Watch for matrix value changes and extract responsibility IDs\n effect(() => {\n const matrixData = this.value();\n const currentResponsibilityIds = this.selectedResponsibilities().map((r) => r.id);\n const responsibilityIdsFromMatrix = Object.keys(matrixData || {});\n\n // If matrix has responsibilities that aren't in selectedResponsibilities, load them\n const missingIds = responsibilityIdsFromMatrix.filter((id) => !currentResponsibilityIds.includes(id));\n if (missingIds.length > 0 && this.responsibilityEntityDef()) {\n this.loadResponsibilitiesByIds(missingIds);\n }\n });\n }\n\n //#endregion\n\n //#region ---- Data Loading Methods ----\n\n /**\n * Load responsibility levels from the service\n */\n private async loadResponsibilityLevels(): Promise<void> {\n try {\n this.isLoading.set(true);\n const query = {\n skip: 0,\n take: 1000,\n sort: [{ field: 'level', dir: 'asc' as const }],\n };\n const result = await this.responsibilityLevelDataAccessor.query(query);\n this.responsibilityLevels.set(result.items || []);\n } catch (error) {\n console.error('Error loading responsibility levels:', error);\n this.responsibilityLevels.set([]);\n } finally {\n this.isLoading.set(false);\n }\n }\n\n /**\n * Load responsibility entity definition\n */\n private async loadResponsibilityEntityDef(): Promise<void> {\n try {\n this.isLoadingResponsibilityEntity.set(true);\n const entityDef = await this.entityResolver.resolve(\n RootConfig.module.name,\n RootConfig.entities.responsibility.name,\n );\n this.responsibilityEntityDef.set(entityDef);\n } catch (error) {\n console.error('Error loading responsibility entity definition:', error);\n this.responsibilityEntityDef.set(null);\n } finally {\n this.isLoadingResponsibilityEntity.set(false);\n }\n }\n\n /**\n * Load responsibilities by IDs\n */\n private async loadResponsibilitiesByIds(ids: string[]): Promise<void> {\n try {\n const responsibilities: AXMOrganizationManagementResponsibilityEntityModel[] = [];\n\n for (const id of ids) {\n try {\n const responsibility = await this.responsibilityDataAccessor.byKey(id);\n if (responsibility) {\n responsibilities.push(responsibility);\n }\n } catch (error) {\n console.error(`Error loading responsibility ${id}:`, error);\n }\n }\n\n this.selectedResponsibilities.set(responsibilities);\n } catch (error) {\n console.error('Error loading responsibilities by IDs:', error);\n }\n }\n\n //#endregion\n\n //#region ---- Data Transformation Methods ----\n\n /**\n * Convert spreadsheet rows back to matrix data format\n */\n private convertSpreadsheetRowsToMatrixData(rows: Record<string, any>[]): AXPSpreadsheetData {\n const horizontalTitles = this.horizontalTitles();\n const matrixData: AXPSpreadsheetData = {};\n\n rows.forEach((row) => {\n const responsibilityId = row['name']; // Row identifier (responsibility ID)\n if (!responsibilityId) {\n return;\n }\n\n matrixData[responsibilityId] = {};\n\n // Extract cell values for each column\n horizontalTitles.forEach((title) => {\n const cellValue = row[title.id] ?? null;\n matrixData[responsibilityId][title.id] = cellValue;\n });\n });\n\n return matrixData;\n }\n\n //#endregion\n\n //#region ---- Event Handlers ----\n\n /**\n * Handle spreadsheet change event - convert to matrix format\n */\n protected handleSpreadsheetChange(rows: Record<string, any>[]): void {\n const matrixData = this.convertSpreadsheetRowsToMatrixData(rows);\n this.valueChange.emit(matrixData);\n\n // Extract responsibility IDs from row names and emit\n const responsibilityIds = rows.map((row) => row['name']).filter((id) => id != null);\n this.responsibilityIdsChange.emit(responsibilityIds);\n }\n\n /**\n * Handle cell change event from spreadsheet\n */\n protected handleCellChange(event: AXPSpreadsheetCellChangeEvent): void {\n this.cellChange.emit(event);\n }\n\n /**\n * Open responsibility selector dialog\n */\n protected async handleSelectResponsibilities(): Promise<void> {\n const entityDef = this.responsibilityEntityDef();\n if (!entityDef) {\n console.error('Responsibility entity definition not loaded');\n return;\n }\n\n try {\n // Get currently selected responsibility IDs\n const selectedItemIds = this.selectedResponsibilities()\n .map((responsibility) => responsibility.id)\n .filter((id) => id != null);\n\n const result = await this.entityDataSelectorService.open({\n entity: entityDef,\n title: 'Select Responsibilities',\n allowMultiple: true,\n selectedItemIds: selectedItemIds.length > 0 ? selectedItemIds : undefined,\n });\n\n if (result && result.items && result.items.length > 0) {\n // Update selected responsibilities\n this.selectedResponsibilities.set(result.items);\n // Emit responsibility IDs change\n const responsibilityIds = result.items.map((item) => item.id).filter((id) => id != null);\n this.responsibilityIdsChange.emit(responsibilityIds);\n }\n } catch (error) {\n console.error('Error opening responsibility selector:', error);\n }\n }\n\n /**\n * Remove a responsibility from selection\n */\n protected handleRemoveResponsibility(responsibilityId: string): void {\n const currentResponsibilities = this.selectedResponsibilities();\n const updatedResponsibilities = currentResponsibilities.filter(\n (responsibility) => responsibility.id !== responsibilityId,\n );\n this.selectedResponsibilities.set(updatedResponsibilities);\n\n // Remove responsibility data from matrix value\n const currentMatrixData = this.value();\n const updatedMatrixData = { ...currentMatrixData };\n delete updatedMatrixData[responsibilityId];\n\n // Emit updated matrix data\n this.valueChange.emit(updatedMatrixData);\n\n // Emit responsibility IDs change\n const responsibilityIds = updatedResponsibilities.map((r) => r.id).filter((id) => id != null);\n this.responsibilityIdsChange.emit(responsibilityIds);\n }\n\n /**\n * Handle row change event from spreadsheet (add/remove)\n */\n protected handleRowChange(event: AXPSpreadsheetRowChangeEvent): void {\n if (event.type === 'remove') {\n // Remove responsibility from selection\n this.handleRemoveResponsibility(event.rowId);\n }\n // Note: 'add' type shouldn't happen in fixed mode, but if it does, we can handle it here\n }\n\n //#endregion\n}\n\n//#endregion\n","<div class=\"__container\">\n <div class=\"__matrix-section\">\n <div class=\"__matrix-header ax-sm\">\n @if (!readonly()) {\n <ax-button color=\"primary\"\n [text]=\"'@organization-management:job-definitions.components.responsibilities-matrix.actions.choose-responsibilities.title' | translate | async\"\n (onClick)=\"handleSelectResponsibilities()\" [disabled]=\"isLoadingResponsibilityEntity()\">\n <ax-icon icon=\"far fa-plus\"></ax-icon>\n </ax-button>\n }\n </div>\n @if (isLoading()) {\n <div class=\"__loading\">\n <span>{{ '@organization-management:job-definitions.components.responsibilities-matrix.messages.loading-responsibility-levels' | translate | async\n }}</span>\n </div>\n } @else {\n <axp-spreadsheet [title]=\"'Responsibility / Level'\" [columns]=\"spreadsheetColumns()\" [rowsInput]=\"spreadsheetRows()\"\n [rowMode]=\"'fixed'\" [readonly]=\"readonly()\" [allowRemoveRows]=\"true\" [rowTitlePath]=\"'_responsibilityTitle'\"\n [rowDescriptionPath]=\"'_responsibilityDescription'\" (cellChange)=\"handleCellChange($event)\"\n (spreadsheetChange)=\"handleSpreadsheetChange($event)\" (rowChange)=\"handleRowChange($event)\"></axp-spreadsheet>\n }\n </div>\n</div>\n"],"names":["i4"],"mappings":";;;;;;;;;;;;;;;AAqCA;AAEA;MAca,wDAAwD,CAAA;;;AAmMnE,IAAA,WAAA,GAAA;;;AA9LiB,QAAA,IAAA,CAAA,aAAa,GAAG,MAAM,CAAC,gBAAgB,CAAC;QACxC,IAAA,CAAA,+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A,IAAA,EAAA,OAAA,EAAA,EAAA,EAAA,IAAA,EAAA,MAAA,EAAA,IAAA,EAAAA,IAAA,CAAA,gBAAA,EAAA,IAAA,EAAA,WAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;;2FAS5F,wDAAwD,EAAA,UAAA,EAAA,CAAA;kBAZpE,SAAS;+BACE,6BAA6B,EAAA,UAAA,EAC3B,IAAI,EAAA,OAAA,EACP,CAAC,YAAY,EAAE,uBAAuB,EAAE,cAAc,EAAE,iBAAiB,EAAE,mBAAmB,CAAC,iBAGzF,iBAAiB,CAAC,IAAI,EAAA,eAAA,EACpB,uBAAuB,CAAC,MAAM,EAAA,IAAA,EACzC;AACJ,wBAAA,KAAK,EAAE,6BAA6B;AACrC,qBAAA,EAAA,QAAA,EAAA,+vCAAA,EAAA,MAAA,EAAA,CAAA,gqBAAA,CAAA,EAAA;;;"}
1
+ {"version":3,"file":"acorex-platform-module-organization-management-client-responsibilities-matrix.component-BatNIVf7.mjs","sources":["../../../../libs/modules/organization-management/client/src/lib/features/responsibilities-matrix/responsibilities-matrix.component.ts","../../../../libs/modules/organization-management/client/src/lib/features/responsibilities-matrix/responsibilities-matrix.component.html"],"sourcesContent":["//#region ---- Imports ----\n\nimport { AXPEntity } from '@acorex-platform/framework-shared/entity';\nimport { AXButtonModule } from '@acorex/components/button';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXTranslationModule, AXTranslationService } from '@acorex/core/translation';\nimport { type AXPWidgetNode, AXPWidgetsList } from '@acorex-platform/framework-shared/core';\n\nimport {\n AXPSpreadsheetCellChangeEvent,\n AXPSpreadsheetColumn,\n AXPSpreadsheetComponent,\n AXPSpreadsheetData,\n AXPSpreadsheetItem,\n AXPSpreadsheetRowChangeEvent,\n} from '@acorex-platform/framework-client/layout/components';\nimport {\n AXPEntityDataSelectorService,\n AXPEntityDefinitionRegistryService,\n AXPEntityService,\n} from '@acorex-platform/framework-client/layout/entity';\nimport { CommonModule } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n computed,\n effect,\n inject,\n input,\n output,\n signal,\n ViewEncapsulation,\n} from '@angular/core';\nimport { RootConfig } from '@acorex-platform/module-organization-management-client/contracts';\nimport { AXMOrganizationManagementResponsibilityLevelEntityModel } from '@acorex-platform/module-organization-management-client/contracts';\nimport { AXMOrganizationManagementResponsibilityEntityModel } from '@acorex-platform/module-organization-management-client/contracts';\n\n//#endregion\n\n//#region ---- Component Definition ----\n\n@Component({\n selector: 'axm-responsibilities-matrix',\n standalone: true,\n imports: [CommonModule, AXPSpreadsheetComponent, AXButtonModule, AXDecoratorModule, AXTranslationModule],\n templateUrl: './responsibilities-matrix.component.html',\n styleUrl: './responsibilities-matrix.component.css',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'axm-responsibilities-matrix',\n },\n})\nexport class AXMOrganizationManagementResponsibilitiesMatrixComponent {\n //#endregion\n\n //#region ---- Services & Dependencies ----\n\n private readonly entityService = inject(AXPEntityService);\n private readonly responsibilityLevelDataAccessor = this.entityService\n .withEntity(RootConfig.module.name, RootConfig.entities.responsibilityLevel.name)\n .data<string, AXMOrganizationManagementResponsibilityLevelEntityModel>();\n private readonly responsibilityDataAccessor = this.entityService\n .withEntity(RootConfig.module.name, RootConfig.entities.responsibility.name)\n .data<string, AXMOrganizationManagementResponsibilityEntityModel>();\n private readonly entityDataSelectorService = inject(AXPEntityDataSelectorService);\n private readonly entityResolver = inject(AXPEntityDefinitionRegistryService);\n private readonly multiLanguageResolver = inject(AXTranslationService);\n\n //#endregion\n\n //#region ---- Inputs ----\n\n /**\n * Array of job levels to display as columns (e.g., Junior, Mid-Level, Senior)\n */\n titles = input<AXPSpreadsheetItem[]>([]);\n\n /**\n * Initial matrix data: { [responsibilityId]: { [title.id]: responsibilityLevelId } }\n */\n value = input<AXPSpreadsheetData>({});\n\n /**\n * Whether the matrix is in readonly mode\n */\n readonly = input<boolean>(false);\n\n /**\n * Initial responsibility IDs (for syncing with parent entity)\n */\n responsibilityIds = input<string[]>([]);\n\n //#endregion\n\n //#region ---- Outputs ----\n\n /**\n * Emitted when the matrix value changes\n */\n valueChange = output<AXPSpreadsheetData>();\n\n /**\n * Emitted when a single cell value changes\n */\n cellChange = output<AXPSpreadsheetCellChangeEvent>();\n\n /**\n * Emitted when selected responsibilities change (responsibility IDs array)\n */\n responsibilityIdsChange = output<string[]>();\n\n //#endregion\n\n //#region ---- Class Properties ----\n\n /**\n * Responsibility levels loaded from the service\n */\n private responsibilityLevels = signal<AXMOrganizationManagementResponsibilityLevelEntityModel[]>([]);\n\n /**\n * Selected responsibilities (internal state)\n */\n protected selectedResponsibilities = signal<AXMOrganizationManagementResponsibilityEntityModel[]>([]);\n\n /**\n * Responsibility entity definition\n */\n private responsibilityEntityDef = signal<AXPEntity | null>(null);\n\n /**\n * Loading state\n */\n protected isLoading = signal<boolean>(true);\n\n /**\n * Loading state for responsibility entity\n */\n protected isLoadingResponsibilityEntity = signal<boolean>(false);\n\n //#endregion\n\n //#region ---- Computed Properties ----\n\n /**\n * Vertical titles (responsibilities) - rows of the matrix\n */\n protected verticalTitles = computed<AXPSpreadsheetItem[]>(() => {\n const responsibilities = this.selectedResponsibilities();\n const resolve = (v: unknown) => this.multiLanguageResolver.resolve(v as any);\n const result = (responsibilities ?? []).map((responsibility) => ({\n id: responsibility.id,\n title: resolve(responsibility.title),\n description: responsibility.description ? resolve(responsibility.description) : undefined,\n }));\n return result;\n });\n\n /**\n * Horizontal titles (job levels) - columns of the matrix\n */\n protected horizontalTitles = computed<AXPSpreadsheetItem[]>(() => {\n const titlesInput = this.titles();\n const resolve = (v: unknown) => this.multiLanguageResolver.resolve(v as any);\n const result = (titlesInput ?? []).map((title) => ({\n id: title.id,\n title: resolve(title.title),\n description: title.description ? resolve(title.description) : undefined,\n }));\n return result;\n });\n\n /**\n * Cell options (responsibility levels) - dropdown options for each cell, loaded from service\n */\n protected cellOptions = computed<AXPSpreadsheetItem[]>(() => {\n const levels = this.responsibilityLevels();\n const resolve = (v: unknown) => this.multiLanguageResolver.resolve(v as any);\n const result = (levels ?? []).map((level) => ({\n id: level.id,\n title: resolve(level.title),\n description: level.description ? resolve(level.description) : undefined,\n }));\n return result;\n });\n\n /**\n * Spreadsheet columns - converted from horizontalTitles (job levels)\n */\n protected spreadsheetColumns = computed<AXPSpreadsheetColumn[]>(() => {\n const horizontalTitles = this.horizontalTitles();\n const cellOptions = this.cellOptions();\n\n // Create SelectBox widget configuration for responsibility levels\n const selectBoxWidget: AXPWidgetNode = {\n type: AXPWidgetsList.Editors.SelectBox,\n options: {\n valueField: 'id',\n textField: 'title',\n dataSource: cellOptions.map((option) => ({\n id: option.id,\n title: option.title,\n description: option.description,\n })),\n },\n };\n\n // Convert horizontal titles to columns\n return horizontalTitles.map((title) => ({\n name: title.id,\n title: title.title,\n description: title.description,\n path: title.id, // Path to access the value in row object\n widget: selectBoxWidget,\n }));\n });\n\n /**\n * Spreadsheet rows - converted from matrix data and vertical titles\n */\n protected spreadsheetRows = computed<Record<string, any>[]>(() => {\n const verticalTitles = this.verticalTitles();\n const horizontalTitles = this.horizontalTitles();\n const matrixData = this.value();\n\n // Convert matrix data to spreadsheet rows\n return verticalTitles.map((responsibility) => {\n const row: Record<string, any> = {\n name: responsibility.id, // Required for fixed mode row identification\n _responsibilityTitle: responsibility.title, // For row header display\n _responsibilityDescription: responsibility.description, // For row header description\n };\n\n // Add cell values for each horizontal title (column)\n horizontalTitles.forEach((title) => {\n const cellValue = matrixData[responsibility.id]?.[title.id] ?? null;\n row[title.id] = cellValue;\n });\n\n return row;\n });\n });\n\n //#endregion\n\n //#region ---- Lifecycle Methods ----\n\n constructor() {\n // Load responsibility levels and responsibility entity definition when component initializes\n this.loadResponsibilityLevels();\n this.loadResponsibilityEntityDef();\n\n // Watch for responsibilityIds input changes and sync selected responsibilities\n effect(() => {\n const ids = this.responsibilityIds();\n if (ids && ids.length > 0 && this.responsibilityEntityDef()) {\n this.loadResponsibilitiesByIds(ids);\n } else if (!ids || ids.length === 0) {\n // Try to extract responsibility IDs from matrix data keys\n const matrixData = this.value();\n const responsibilityIdsFromMatrix = Object.keys(matrixData || {});\n if (responsibilityIdsFromMatrix.length > 0 && this.responsibilityEntityDef()) {\n this.loadResponsibilitiesByIds(responsibilityIdsFromMatrix);\n } else {\n this.selectedResponsibilities.set([]);\n }\n }\n });\n\n // Watch for matrix value changes and extract responsibility IDs\n effect(() => {\n const matrixData = this.value();\n const currentResponsibilityIds = this.selectedResponsibilities().map((r) => r.id);\n const responsibilityIdsFromMatrix = Object.keys(matrixData || {});\n\n // If matrix has responsibilities that aren't in selectedResponsibilities, load them\n const missingIds = responsibilityIdsFromMatrix.filter((id) => !currentResponsibilityIds.includes(id));\n if (missingIds.length > 0 && this.responsibilityEntityDef()) {\n this.loadResponsibilitiesByIds(missingIds);\n }\n });\n }\n\n //#endregion\n\n //#region ---- Data Loading Methods ----\n\n /**\n * Load responsibility levels from the service\n */\n private async loadResponsibilityLevels(): Promise<void> {\n try {\n this.isLoading.set(true);\n const query = {\n skip: 0,\n take: 1000,\n sort: [{ field: 'level', dir: 'asc' as const }],\n };\n const result = await this.responsibilityLevelDataAccessor.query(query);\n this.responsibilityLevels.set(result.items || []);\n } catch (error) {\n console.error('Error loading responsibility levels:', error);\n this.responsibilityLevels.set([]);\n } finally {\n this.isLoading.set(false);\n }\n }\n\n /**\n * Load responsibility entity definition\n */\n private async loadResponsibilityEntityDef(): Promise<void> {\n try {\n this.isLoadingResponsibilityEntity.set(true);\n const entityDef = await this.entityResolver.resolve(\n RootConfig.module.name,\n RootConfig.entities.responsibility.name,\n );\n this.responsibilityEntityDef.set(entityDef);\n } catch (error) {\n console.error('Error loading responsibility entity definition:', error);\n this.responsibilityEntityDef.set(null);\n } finally {\n this.isLoadingResponsibilityEntity.set(false);\n }\n }\n\n /**\n * Load responsibilities by IDs\n */\n private async loadResponsibilitiesByIds(ids: string[]): Promise<void> {\n try {\n const responsibilities: AXMOrganizationManagementResponsibilityEntityModel[] = [];\n\n for (const id of ids) {\n try {\n const responsibility = await this.responsibilityDataAccessor.byKey(id);\n if (responsibility) {\n responsibilities.push(responsibility);\n }\n } catch (error) {\n console.error(`Error loading responsibility ${id}:`, error);\n }\n }\n\n this.selectedResponsibilities.set(responsibilities);\n } catch (error) {\n console.error('Error loading responsibilities by IDs:', error);\n }\n }\n\n //#endregion\n\n //#region ---- Data Transformation Methods ----\n\n /**\n * Convert spreadsheet rows back to matrix data format\n */\n private convertSpreadsheetRowsToMatrixData(rows: Record<string, any>[]): AXPSpreadsheetData {\n const horizontalTitles = this.horizontalTitles();\n const matrixData: AXPSpreadsheetData = {};\n\n rows.forEach((row) => {\n const responsibilityId = row['name']; // Row identifier (responsibility ID)\n if (!responsibilityId) {\n return;\n }\n\n matrixData[responsibilityId] = {};\n\n // Extract cell values for each column\n horizontalTitles.forEach((title) => {\n const cellValue = row[title.id] ?? null;\n matrixData[responsibilityId][title.id] = cellValue;\n });\n });\n\n return matrixData;\n }\n\n //#endregion\n\n //#region ---- Event Handlers ----\n\n /**\n * Handle spreadsheet change event - convert to matrix format\n */\n protected handleSpreadsheetChange(rows: Record<string, any>[]): void {\n const matrixData = this.convertSpreadsheetRowsToMatrixData(rows);\n this.valueChange.emit(matrixData);\n\n // Extract responsibility IDs from row names and emit\n const responsibilityIds = rows.map((row) => row['name']).filter((id) => id != null);\n this.responsibilityIdsChange.emit(responsibilityIds);\n }\n\n /**\n * Handle cell change event from spreadsheet\n */\n protected handleCellChange(event: AXPSpreadsheetCellChangeEvent): void {\n this.cellChange.emit(event);\n }\n\n /**\n * Open responsibility selector dialog\n */\n protected async handleSelectResponsibilities(): Promise<void> {\n const entityDef = this.responsibilityEntityDef();\n if (!entityDef) {\n console.error('Responsibility entity definition not loaded');\n return;\n }\n\n try {\n // Get currently selected responsibility IDs\n const selectedItemIds = this.selectedResponsibilities()\n .map((responsibility) => responsibility.id)\n .filter((id) => id != null);\n\n const result = await this.entityDataSelectorService.open({\n entity: entityDef,\n title: 'Select Responsibilities',\n allowMultiple: true,\n selectedItemIds: selectedItemIds.length > 0 ? selectedItemIds : undefined,\n });\n\n if (result && result.items && result.items.length > 0) {\n // Update selected responsibilities\n this.selectedResponsibilities.set(result.items);\n // Emit responsibility IDs change\n const responsibilityIds = result.items.map((item) => item.id).filter((id) => id != null);\n this.responsibilityIdsChange.emit(responsibilityIds);\n }\n } catch (error) {\n console.error('Error opening responsibility selector:', error);\n }\n }\n\n /**\n * Remove a responsibility from selection\n */\n protected handleRemoveResponsibility(responsibilityId: string): void {\n const currentResponsibilities = this.selectedResponsibilities();\n const updatedResponsibilities = currentResponsibilities.filter(\n (responsibility) => responsibility.id !== responsibilityId,\n );\n this.selectedResponsibilities.set(updatedResponsibilities);\n\n // Remove responsibility data from matrix value\n const currentMatrixData = this.value();\n const updatedMatrixData = { ...currentMatrixData };\n delete updatedMatrixData[responsibilityId];\n\n // Emit updated matrix data\n this.valueChange.emit(updatedMatrixData);\n\n // Emit responsibility IDs change\n const responsibilityIds = updatedResponsibilities.map((r) => r.id).filter((id) => id != null);\n this.responsibilityIdsChange.emit(responsibilityIds);\n }\n\n /**\n * Handle row change event from spreadsheet (add/remove)\n */\n protected handleRowChange(event: AXPSpreadsheetRowChangeEvent): void {\n if (event.type === 'remove') {\n // Remove responsibility from selection\n this.handleRemoveResponsibility(event.rowId);\n }\n // Note: 'add' type shouldn't happen in fixed mode, but if it does, we can handle it here\n }\n\n //#endregion\n}\n\n//#endregion\n","<div class=\"__container\">\n <div class=\"__matrix-section\">\n <div class=\"__matrix-header ax-sm\">\n @if (!readonly()) {\n <ax-button color=\"primary\"\n [text]=\"'@organization-management:job-definitions.components.responsibilities-matrix.actions.choose-responsibilities.title' | translate | async\"\n (onClick)=\"handleSelectResponsibilities()\" [disabled]=\"isLoadingResponsibilityEntity()\">\n <ax-icon icon=\"far fa-plus\"></ax-icon>\n </ax-button>\n }\n </div>\n @if (isLoading()) {\n <div class=\"__loading\">\n <span>{{ '@organization-management:job-definitions.components.responsibilities-matrix.messages.loading-responsibility-levels' | translate | async\n }}</span>\n </div>\n } @else {\n <axp-spreadsheet [title]=\"'Responsibility / Level'\" [columns]=\"spreadsheetColumns()\" [rowsInput]=\"spreadsheetRows()\"\n [rowMode]=\"'fixed'\" [readonly]=\"readonly()\" [allowRemoveRows]=\"true\" [rowTitlePath]=\"'_responsibilityTitle'\"\n [rowDescriptionPath]=\"'_responsibilityDescription'\" (cellChange)=\"handleCellChange($event)\"\n (spreadsheetChange)=\"handleSpreadsheetChange($event)\" (rowChange)=\"handleRowChange($event)\"></axp-spreadsheet>\n }\n </div>\n</div>\n"],"names":["i4"],"mappings":";;;;;;;;;;;;;;;AAqCA;AAEA;MAca,wDAAwD,CAAA;;;AAmMnE,IAAA,WAAA,GAAA;;;AA9LiB,QAAA,IAAA,CAAA,aAAa,GAAG,MAAM,CAAC,gBAAgB,CAAC;QACxC,IAAA,CAAA,+BAA+B,GAAG,IAAI,CAAC;AACrD,aAAA,UAAU,CAAC,UAAU,CAAC,MAAM,CAAC,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,mBAAmB,CAAC,IAAI;AAC/E,aAAA,IAAI,EAAmE;QACzD,IAAA,CAAA,0BAA0B,GAAG,IAAI,CAAC;AAChD,aAAA,UAAU,CAAC,UAAU,CAAC,MAAM,CAAC,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,cAAc,CAAC,IAAI;AAC1E,aAAA,IAAI,EAA8D;AACpD,QAAA,IAAA,CAAA,yBAAyB,GAAG,MAAM,CAAC,4BAA4B,CAAC;AAChE,QAAA,IAAA,CAAA,cAAc,GAAG,MAAM,CAAC,kCAAkC,CAAC;AAC3D,QAAA,IAAA,CAAA,qBAAqB,GAAG,MAAM,CAAC,oBAAoB,CAAC;;;AAMrE;;AAEG;QACH,IA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EACzC;AACJ,wBAAA,KAAK,EAAE,6BAA6B;AACrC,qBAAA,EAAA,QAAA,EAAA,+vCAAA,EAAA,MAAA,EAAA,CAAA,gqBAAA,CAAA,EAAA;;;"}
@@ -1,5 +1,5 @@
1
1
  import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';
2
- import { inject, Injector } from '@angular/core';
2
+ import { inject } from '@angular/core';
3
3
  import { objectKeyValueTransforms } from '@acorex-platform/framework-client/core';
4
4
  import { AXPSessionService } from '@acorex-platform/framework-client/auth';
5
5
  import { AXPOrganizationManagementSettings, AXP_ORGANIZATION_COPYRIGHT_TEXT_DEFAULT } from '@acorex-platform/module-organization-management-client/contracts';
@@ -16,8 +16,8 @@ const ADDRESS = {
16
16
  postalCode: AXPOrganizationManagementSettings.OrganizationPostalCode,
17
17
  };
18
18
  class AXMSettingProvider {
19
- constructor(injector) {
20
- this.sessionService = (injector ?? inject(Injector)).get(AXPSessionService);
19
+ constructor() {
20
+ this.sessionService = inject(AXPSessionService);
21
21
  }
22
22
  async provide(context) {
23
23
  context
@@ -445,4 +445,4 @@ class AXMSettingProvider {
445
445
  }
446
446
 
447
447
  export { AXMSettingProvider };
448
- //# sourceMappingURL=acorex-platform-module-organization-management-client-settings.provider-CWrJGKtx.mjs.map
448
+ //# sourceMappingURL=acorex-platform-module-organization-management-client-settings.provider-D61-y9zD.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-platform-module-organization-management-client-settings.provider-CWrJGKtx.mjs","sources":["../../../../libs/modules/organization-management/client/src/lib/settings.provider.ts"],"sourcesContent":["import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport { AXPSettingDefinitionProvider, AXPSettingDefinitionProviderContext } from '@acorex-platform/framework-client/common';\nimport { Injector, inject } from '@angular/core';\nimport { objectKeyValueTransforms } from '@acorex-platform/framework-client/core';\nimport { AXPSessionService } from '@acorex-platform/framework-client/auth';\nimport {\n AXP_ORGANIZATION_COPYRIGHT_TEXT_DEFAULT,\n AXPOrganizationManagementSettings,\n} from '@acorex-platform/module-organization-management-client/contracts';\n\nconst I18N_SECTION = '@organization-management:settings.sections';\nconst I18N_LOCATION = '@location-management:locations.entities.location';\nconst GEOGRAPHIC_REGION_ENTITY = 'LocationManagement.GeographicRegion';\n\nconst ADDRESS = {\n street1: AXPOrganizationManagementSettings.OrganizationStreet1,\n street2: AXPOrganizationManagementSettings.OrganizationStreet2,\n countryId: AXPOrganizationManagementSettings.OrganizationCountryId,\n stateId: AXPOrganizationManagementSettings.OrganizationStateId,\n cityId: AXPOrganizationManagementSettings.OrganizationCityId,\n postalCode: AXPOrganizationManagementSettings.OrganizationPostalCode,\n} as const;\n\nexport class AXMSettingProvider implements AXPSettingDefinitionProvider {\n private readonly sessionService: AXPSessionService;\n\n constructor(injector?: Injector) {\n this.sessionService = (injector ?? inject(Injector)).get(AXPSessionService);\n }\n\n async provide(context: AXPSettingDefinitionProviderContext): Promise<void> {\n context\n .addGroup(\n 'organization-settings',\n `${I18N_SECTION}.organization-settings.nav-title`,\n `${I18N_SECTION}.organization-settings.description`,\n 'fa-light fa-building',\n `${I18N_SECTION}.organization-settings.title`,\n -100,\n )\n // Branding Section\n .addSection('branding', `${I18N_SECTION}.branding.title`, `${I18N_SECTION}.branding.description`)\n .addSetting({\n key: AXPOrganizationManagementSettings.OrganizationName,\n title: `${I18N_SECTION}.branding-name.title`,\n scope: 'T',\n overridableAt: [],\n isInherited: false,\n defaultValue: this.sessionService.tenant?.title,\n widget: {\n type: AXPWidgetsList.Editors.TextBox,\n options: { multiLanguage: true },\n },\n description: `${I18N_SECTION}.branding-name.description`,\n })\n .addSetting({\n key: AXPOrganizationManagementSettings.OrganizationNameDisplay,\n title: `${I18N_SECTION}.branding-name-display.title`,\n scope: 'T',\n overridableAt: [],\n isInherited: false,\n defaultValue: true,\n widget: {\n type: AXPWidgetsList.Editors.ToggleSwitch,\n },\n description: `${I18N_SECTION}.branding-name-display.description`,\n })\n .addSetting({\n key: AXPOrganizationManagementSettings.TradingName,\n title: `${I18N_SECTION}.branding-trading-name.title`,\n scope: 'T',\n overridableAt: [],\n isInherited: false,\n defaultValue: undefined,\n widget: {\n type: AXPWidgetsList.Editors.TextBox,\n options: { multiLanguage: true },\n },\n description: `${I18N_SECTION}.branding-trading-name.description`,\n })\n .addSetting({\n key: AXPOrganizationManagementSettings.TradingNameDisplay,\n title: `${I18N_SECTION}.branding-trading-name-display.title`,\n scope: 'T',\n overridableAt: [],\n isInherited: false,\n defaultValue: true,\n widget: {\n type: AXPWidgetsList.Editors.ToggleSwitch,\n },\n description: `${I18N_SECTION}.branding-trading-name-display.description`,\n })\n .addSetting({\n key: AXPOrganizationManagementSettings.BrandingLogo,\n title: `${I18N_SECTION}.branding-logo.title`,\n scope: 'T',\n overridableAt: [],\n isInherited: false,\n defaultValue: undefined,\n widget: {\n type: AXPWidgetsList.Advanced.Image,\n options: {\n type: 'profile-photo',\n fileStorage: {\n refId: this.sessionService.tenant?.id,\n refType: 'TenantManagement.Tenant',\n category: 'logo',\n },\n },\n },\n description: `${I18N_SECTION}.branding-logo.description`,\n })\n .addSetting({\n key: AXPOrganizationManagementSettings.BrandingColor,\n title: `${I18N_SECTION}.branding-color.title`,\n scope: 'T',\n overridableAt: [],\n isInherited: false,\n defaultValue: '#1976d2',\n widget: {\n type: AXPWidgetsList.Editors.ColorBox,\n },\n description: `${I18N_SECTION}.branding-color.description`,\n })\n .addSetting({\n key: AXPOrganizationManagementSettings.CopyrightText,\n title: `${I18N_SECTION}.branding-copyright.title`,\n scope: 'T',\n overridableAt: [],\n isInherited: true,\n defaultValue: AXP_ORGANIZATION_COPYRIGHT_TEXT_DEFAULT,\n widget: {\n type: AXPWidgetsList.Editors.TextBox,\n options: { multiLanguage: true },\n },\n description: `${I18N_SECTION}.branding-copyright.description`,\n })\n .addSetting({\n key: AXPOrganizationManagementSettings.CompanyBio,\n title: `${I18N_SECTION}.branding-bio.title`,\n scope: 'T',\n overridableAt: [],\n isInherited: false,\n defaultValue: undefined,\n widget: {\n type: AXPWidgetsList.Editors.LargeTextBox,\n layout: {\n stacked: true,\n },\n options: {\n rows: 6,\n multiLanguage: true,\n },\n },\n description: `${I18N_SECTION}.branding-bio.description`,\n })\n .endSection()\n\n // Legal & Registration Section\n .addSection(\n 'registration',\n `${I18N_SECTION}.registration.title`,\n `${I18N_SECTION}.registration.description`,\n )\n .addSetting({\n key: AXPOrganizationManagementSettings.BusinessRegistrationNumber,\n title: `${I18N_SECTION}.business-registration-number.title`,\n scope: 'T',\n overridableAt: [],\n isInherited: false,\n defaultValue: undefined,\n widget: {\n type: AXPWidgetsList.Editors.TextBox,\n },\n description: `${I18N_SECTION}.business-registration-number.description`,\n })\n .addSetting({\n key: AXPOrganizationManagementSettings.CompanyRegistrationNumber,\n title: `${I18N_SECTION}.company-registration-number.title`,\n scope: 'T',\n overridableAt: [],\n isInherited: false,\n defaultValue: undefined,\n widget: {\n type: AXPWidgetsList.Editors.TextBox,\n },\n description: `${I18N_SECTION}.company-registration-number.description`,\n })\n .addSetting({\n key: AXPOrganizationManagementSettings.LicenceNumber,\n title: `${I18N_SECTION}.licence-number.title`,\n scope: 'T',\n overridableAt: [],\n isInherited: false,\n defaultValue: undefined,\n widget: {\n type: AXPWidgetsList.Editors.TextBox,\n },\n description: `${I18N_SECTION}.licence-number.description`,\n })\n .endSection()\n\n // Contact Details Section\n .addSection('contact', `${I18N_SECTION}.contact.title`, `${I18N_SECTION}.contact.description`)\n .addSetting({\n key: AXPOrganizationManagementSettings.ContactEmail,\n title: `${I18N_SECTION}.contact-email.title`,\n scope: 'T',\n overridableAt: [],\n isInherited: false,\n defaultValue: undefined,\n widget: {\n type: AXPWidgetsList.Editors.ContactBox,\n options: {\n type: 'email',\n hasLabel: false,\n },\n },\n description: `${I18N_SECTION}.contact-email.description`,\n })\n .addSetting({\n key: AXPOrganizationManagementSettings.SupportEmail,\n title: `${I18N_SECTION}.support-email.title`,\n scope: 'T',\n overridableAt: [],\n isInherited: false,\n defaultValue: undefined,\n widget: {\n type: AXPWidgetsList.Editors.ContactBox,\n options: {\n type: 'email',\n hasLabel: false,\n },\n },\n description: `${I18N_SECTION}.support-email.description`,\n })\n .addSetting({\n key: AXPOrganizationManagementSettings.InfoEmail,\n title: `${I18N_SECTION}.info-email.title`,\n scope: 'T',\n overridableAt: [],\n isInherited: false,\n defaultValue: undefined,\n widget: {\n type: AXPWidgetsList.Editors.ContactBox,\n options: {\n type: 'email',\n hasLabel: false,\n },\n },\n description: `${I18N_SECTION}.info-email.description`,\n })\n .addSetting({\n key: AXPOrganizationManagementSettings.ContactPhone,\n title: `${I18N_SECTION}.contact-phone.title`,\n scope: 'T',\n overridableAt: [],\n isInherited: false,\n defaultValue: undefined,\n widget: {\n type: AXPWidgetsList.Editors.ContactBox,\n options: {\n type: 'phone',\n hasLabel: false,\n },\n },\n description: `${I18N_SECTION}.contact-phone.description`,\n })\n .addSetting({\n key: AXPOrganizationManagementSettings.FaxNumber,\n title: `${I18N_SECTION}.fax-number.title`,\n scope: 'T',\n overridableAt: [],\n isInherited: false,\n defaultValue: undefined,\n widget: {\n type: AXPWidgetsList.Editors.ContactBox,\n options: {\n type: 'phone',\n hasLabel: false,\n },\n },\n description: `${I18N_SECTION}.fax-number.description`,\n })\n .endSection()\n\n // Address Section (aligned with location entity address-details)\n .addSection(\n 'address',\n `${I18N_LOCATION}.groups.address-details`,\n `${I18N_SECTION}.address.description`,\n )\n .addSetting({\n key: ADDRESS.street1,\n title: `${I18N_LOCATION}.fields.street1`,\n scope: 'T',\n overridableAt: [],\n isInherited: false,\n defaultValue: undefined,\n validationRules: [{ rule: 'required' }],\n widget: {\n type: AXPWidgetsList.Editors.TextBox,\n options: {\n placeholder: `${I18N_LOCATION}.fields.street1-placeholder`,\n },\n },\n })\n .addSetting({\n key: ADDRESS.street2,\n title: `${I18N_LOCATION}.fields.street2`,\n scope: 'T',\n overridableAt: [],\n isInherited: false,\n defaultValue: undefined,\n widget: {\n type: AXPWidgetsList.Editors.TextBox,\n options: {\n placeholder: `${I18N_LOCATION}.fields.street2-placeholder`,\n },\n },\n })\n .addSetting({\n key: ADDRESS.countryId,\n title: `${I18N_LOCATION}.fields.country`,\n scope: 'T',\n overridableAt: [],\n isInherited: false,\n defaultValue: undefined,\n valueTransforms: objectKeyValueTransforms('id'),\n widget: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: GEOGRAPHIC_REGION_ENTITY,\n look: 'select',\n allowCreate: 'quick',\n create: {\n enable: true,\n },\n expose: [\n { source: 'id', target: 'country.id' },\n { source: 'title', target: 'country.title' },\n ],\n filter: {\n logic: 'and',\n filters: [{ field: 'type.code', operator: { type: 'equal' }, value: 'country' }],\n },\n },\n },\n })\n .addSetting({\n key: ADDRESS.stateId,\n title: `${I18N_LOCATION}.fields.state`,\n scope: 'T',\n overridableAt: [],\n isInherited: false,\n defaultValue: undefined,\n valueTransforms: objectKeyValueTransforms('id'),\n widget: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: GEOGRAPHIC_REGION_ENTITY,\n look: 'select',\n allowCreate: 'quick',\n disabled: `{{ !context.eval('${ADDRESS.countryId}') }}`,\n create: {\n enable: true,\n context: {\n parentId: `{{ context.eval('${ADDRESS.countryId}') }}`,\n type: { code: 'state' },\n },\n },\n expose: [\n { source: 'id', target: 'state.id' },\n { source: 'title', target: 'state.title' },\n ],\n filter: {\n logic: 'and',\n filters: [\n { field: 'parentId', operator: { type: 'equal' }, value: `{{ context.eval('${ADDRESS.countryId}') }}` },\n { field: 'type.code', operator: { type: 'equal' }, value: 'state' },\n ],\n },\n },\n triggers: [\n {\n event: `{{ events.context('${ADDRESS.countryId}') }}`,\n action: `{{ widget.setValue(null); context.set('${ADDRESS.cityId}', null); widget.refresh(); }}`,\n },\n ],\n },\n })\n .addSetting({\n key: ADDRESS.cityId,\n title: `${I18N_LOCATION}.fields.city`,\n scope: 'T',\n overridableAt: [],\n isInherited: false,\n defaultValue: undefined,\n valueTransforms: objectKeyValueTransforms('id'),\n widget: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: GEOGRAPHIC_REGION_ENTITY,\n look: 'select',\n allowCreate: 'quick',\n disabled: `{{ !context.eval('${ADDRESS.stateId}') }}`,\n create: {\n enable: true,\n context: {\n parentId: `{{ context.eval('${ADDRESS.stateId}') }}`,\n type: { code: 'city' },\n },\n },\n expose: [\n { source: 'id', target: 'city.id' },\n { source: 'title', target: 'city.title' },\n ],\n filter: {\n logic: 'and',\n filters: [\n { field: 'parentId', operator: { type: 'equal' }, value: `{{ context.eval('${ADDRESS.stateId}') }}` },\n { field: 'type.code', operator: { type: 'equal' }, value: 'city' },\n ],\n },\n },\n triggers: [\n {\n event: `{{ events.context('${ADDRESS.stateId}') }}`,\n action: `{{ widget.setValue(null); widget.refresh(); }}`,\n },\n {\n event: `{{ events.context('${ADDRESS.countryId}') }}`,\n action: `{{ widget.setValue(null); widget.refresh(); }}`,\n },\n ],\n },\n })\n .addSetting({\n key: ADDRESS.postalCode,\n title: `${I18N_LOCATION}.fields.postal-code`,\n scope: 'T',\n overridableAt: [],\n isInherited: false,\n defaultValue: undefined,\n validationRules: [{ rule: 'required' }],\n widget: {\n type: AXPWidgetsList.Editors.TextBox,\n options: {\n placeholder: `${I18N_LOCATION}.fields.postal-code-placeholder`,\n },\n },\n })\n .endSection()\n\n // Hierarchy chart (user preferences — registered for defaults; hidden from settings UI)\n .addSection(\n 'hierarchy-chart',\n `${I18N_SECTION}.hierarchy-chart.title`,\n `${I18N_SECTION}.hierarchy-chart.description`,\n )\n .addSetting({\n key: AXPOrganizationManagementSettings.HierarchyChartShowVacantLeafSeats,\n title: `${I18N_SECTION}.hierarchy-chart-show-vacant.title`,\n scope: 'U',\n overridableAt: [],\n isInherited: false,\n defaultValue: false,\n widget: {\n type: AXPWidgetsList.Editors.ToggleSwitch,\n options: { visibility: false },\n },\n description: `${I18N_SECTION}.hierarchy-chart-show-vacant.description`,\n })\n .endSection()\n\n .endGroup();\n }\n}\n"],"names":[],"mappings":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WAAW,EAAE,CAAA,EAAG,YAAY,CAAA,wCAAA,CAA0C;SACvE;AACA,aAAA,UAAU;AAEV,aAAA,QAAQ,EAAE;IACf;AACD;;"}
1
+ {"version":3,"file":"acorex-platform-module-organization-management-client-settings.provider-D61-y9zD.mjs","sources":["../../../../libs/modules/organization-management/client/src/lib/settings.provider.ts"],"sourcesContent":["import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport { AXPSettingDefinitionProvider, AXPSettingDefinitionProviderContext } from '@acorex-platform/framework-client/common';\nimport { inject } from '@angular/core';\nimport { objectKeyValueTransforms } from '@acorex-platform/framework-client/core';\nimport { AXPSessionService } from '@acorex-platform/framework-client/auth';\nimport {\n AXP_ORGANIZATION_COPYRIGHT_TEXT_DEFAULT,\n AXPOrganizationManagementSettings,\n} from '@acorex-platform/module-organization-management-client/contracts';\n\nconst I18N_SECTION = '@organization-management:settings.sections';\nconst I18N_LOCATION = '@location-management:locations.entities.location';\nconst GEOGRAPHIC_REGION_ENTITY = 'LocationManagement.GeographicRegion';\n\nconst ADDRESS = {\n street1: AXPOrganizationManagementSettings.OrganizationStreet1,\n street2: AXPOrganizationManagementSettings.OrganizationStreet2,\n countryId: AXPOrganizationManagementSettings.OrganizationCountryId,\n stateId: AXPOrganizationManagementSettings.OrganizationStateId,\n cityId: AXPOrganizationManagementSettings.OrganizationCityId,\n postalCode: AXPOrganizationManagementSettings.OrganizationPostalCode,\n} as const;\n\nexport class AXMSettingProvider implements AXPSettingDefinitionProvider {\n private readonly sessionService = inject(AXPSessionService);\n\n async provide(context: AXPSettingDefinitionProviderContext): Promise<void> {\n context\n .addGroup(\n 'organization-settings',\n `${I18N_SECTION}.organization-settings.nav-title`,\n `${I18N_SECTION}.organization-settings.description`,\n 'fa-light fa-building',\n `${I18N_SECTION}.organization-settings.title`,\n -100,\n )\n // Branding Section\n .addSection('branding', `${I18N_SECTION}.branding.title`, `${I18N_SECTION}.branding.description`)\n .addSetting({\n key: AXPOrganizationManagementSettings.OrganizationName,\n title: `${I18N_SECTION}.branding-name.title`,\n scope: 'T',\n overridableAt: [],\n isInherited: false,\n defaultValue: this.sessionService.tenant?.title,\n widget: {\n type: AXPWidgetsList.Editors.TextBox,\n options: { multiLanguage: true },\n },\n description: `${I18N_SECTION}.branding-name.description`,\n })\n .addSetting({\n key: AXPOrganizationManagementSettings.OrganizationNameDisplay,\n title: `${I18N_SECTION}.branding-name-display.title`,\n scope: 'T',\n overridableAt: [],\n isInherited: false,\n defaultValue: true,\n widget: {\n type: AXPWidgetsList.Editors.ToggleSwitch,\n },\n description: `${I18N_SECTION}.branding-name-display.description`,\n })\n .addSetting({\n key: AXPOrganizationManagementSettings.TradingName,\n title: `${I18N_SECTION}.branding-trading-name.title`,\n scope: 'T',\n overridableAt: [],\n isInherited: false,\n defaultValue: undefined,\n widget: {\n type: AXPWidgetsList.Editors.TextBox,\n options: { multiLanguage: true },\n },\n description: `${I18N_SECTION}.branding-trading-name.description`,\n })\n .addSetting({\n key: AXPOrganizationManagementSettings.TradingNameDisplay,\n title: `${I18N_SECTION}.branding-trading-name-display.title`,\n scope: 'T',\n overridableAt: [],\n isInherited: false,\n defaultValue: true,\n widget: {\n type: AXPWidgetsList.Editors.ToggleSwitch,\n },\n description: `${I18N_SECTION}.branding-trading-name-display.description`,\n })\n .addSetting({\n key: AXPOrganizationManagementSettings.BrandingLogo,\n title: `${I18N_SECTION}.branding-logo.title`,\n scope: 'T',\n overridableAt: [],\n isInherited: false,\n defaultValue: undefined,\n widget: {\n type: AXPWidgetsList.Advanced.Image,\n options: {\n type: 'profile-photo',\n fileStorage: {\n refId: this.sessionService.tenant?.id,\n refType: 'TenantManagement.Tenant',\n category: 'logo',\n },\n },\n },\n description: `${I18N_SECTION}.branding-logo.description`,\n })\n .addSetting({\n key: AXPOrganizationManagementSettings.BrandingColor,\n title: `${I18N_SECTION}.branding-color.title`,\n scope: 'T',\n overridableAt: [],\n isInherited: false,\n defaultValue: '#1976d2',\n widget: {\n type: AXPWidgetsList.Editors.ColorBox,\n },\n description: `${I18N_SECTION}.branding-color.description`,\n })\n .addSetting({\n key: AXPOrganizationManagementSettings.CopyrightText,\n title: `${I18N_SECTION}.branding-copyright.title`,\n scope: 'T',\n overridableAt: [],\n isInherited: true,\n defaultValue: AXP_ORGANIZATION_COPYRIGHT_TEXT_DEFAULT,\n widget: {\n type: AXPWidgetsList.Editors.TextBox,\n options: { multiLanguage: true },\n },\n description: `${I18N_SECTION}.branding-copyright.description`,\n })\n .addSetting({\n key: AXPOrganizationManagementSettings.CompanyBio,\n title: `${I18N_SECTION}.branding-bio.title`,\n scope: 'T',\n overridableAt: [],\n isInherited: false,\n defaultValue: undefined,\n widget: {\n type: AXPWidgetsList.Editors.LargeTextBox,\n layout: {\n stacked: true,\n },\n options: {\n rows: 6,\n multiLanguage: true,\n },\n },\n description: `${I18N_SECTION}.branding-bio.description`,\n })\n .endSection()\n\n // Legal & Registration Section\n .addSection(\n 'registration',\n `${I18N_SECTION}.registration.title`,\n `${I18N_SECTION}.registration.description`,\n )\n .addSetting({\n key: AXPOrganizationManagementSettings.BusinessRegistrationNumber,\n title: `${I18N_SECTION}.business-registration-number.title`,\n scope: 'T',\n overridableAt: [],\n isInherited: false,\n defaultValue: undefined,\n widget: {\n type: AXPWidgetsList.Editors.TextBox,\n },\n description: `${I18N_SECTION}.business-registration-number.description`,\n })\n .addSetting({\n key: AXPOrganizationManagementSettings.CompanyRegistrationNumber,\n title: `${I18N_SECTION}.company-registration-number.title`,\n scope: 'T',\n overridableAt: [],\n isInherited: false,\n defaultValue: undefined,\n widget: {\n type: AXPWidgetsList.Editors.TextBox,\n },\n description: `${I18N_SECTION}.company-registration-number.description`,\n })\n .addSetting({\n key: AXPOrganizationManagementSettings.LicenceNumber,\n title: `${I18N_SECTION}.licence-number.title`,\n scope: 'T',\n overridableAt: [],\n isInherited: false,\n defaultValue: undefined,\n widget: {\n type: AXPWidgetsList.Editors.TextBox,\n },\n description: `${I18N_SECTION}.licence-number.description`,\n })\n .endSection()\n\n // Contact Details Section\n .addSection('contact', `${I18N_SECTION}.contact.title`, `${I18N_SECTION}.contact.description`)\n .addSetting({\n key: AXPOrganizationManagementSettings.ContactEmail,\n title: `${I18N_SECTION}.contact-email.title`,\n scope: 'T',\n overridableAt: [],\n isInherited: false,\n defaultValue: undefined,\n widget: {\n type: AXPWidgetsList.Editors.ContactBox,\n options: {\n type: 'email',\n hasLabel: false,\n },\n },\n description: `${I18N_SECTION}.contact-email.description`,\n })\n .addSetting({\n key: AXPOrganizationManagementSettings.SupportEmail,\n title: `${I18N_SECTION}.support-email.title`,\n scope: 'T',\n overridableAt: [],\n isInherited: false,\n defaultValue: undefined,\n widget: {\n type: AXPWidgetsList.Editors.ContactBox,\n options: {\n type: 'email',\n hasLabel: false,\n },\n },\n description: `${I18N_SECTION}.support-email.description`,\n })\n .addSetting({\n key: AXPOrganizationManagementSettings.InfoEmail,\n title: `${I18N_SECTION}.info-email.title`,\n scope: 'T',\n overridableAt: [],\n isInherited: false,\n defaultValue: undefined,\n widget: {\n type: AXPWidgetsList.Editors.ContactBox,\n options: {\n type: 'email',\n hasLabel: false,\n },\n },\n description: `${I18N_SECTION}.info-email.description`,\n })\n .addSetting({\n key: AXPOrganizationManagementSettings.ContactPhone,\n title: `${I18N_SECTION}.contact-phone.title`,\n scope: 'T',\n overridableAt: [],\n isInherited: false,\n defaultValue: undefined,\n widget: {\n type: AXPWidgetsList.Editors.ContactBox,\n options: {\n type: 'phone',\n hasLabel: false,\n },\n },\n description: `${I18N_SECTION}.contact-phone.description`,\n })\n .addSetting({\n key: AXPOrganizationManagementSettings.FaxNumber,\n title: `${I18N_SECTION}.fax-number.title`,\n scope: 'T',\n overridableAt: [],\n isInherited: false,\n defaultValue: undefined,\n widget: {\n type: AXPWidgetsList.Editors.ContactBox,\n options: {\n type: 'phone',\n hasLabel: false,\n },\n },\n description: `${I18N_SECTION}.fax-number.description`,\n })\n .endSection()\n\n // Address Section (aligned with location entity address-details)\n .addSection(\n 'address',\n `${I18N_LOCATION}.groups.address-details`,\n `${I18N_SECTION}.address.description`,\n )\n .addSetting({\n key: ADDRESS.street1,\n title: `${I18N_LOCATION}.fields.street1`,\n scope: 'T',\n overridableAt: [],\n isInherited: false,\n defaultValue: undefined,\n validationRules: [{ rule: 'required' }],\n widget: {\n type: AXPWidgetsList.Editors.TextBox,\n options: {\n placeholder: `${I18N_LOCATION}.fields.street1-placeholder`,\n },\n },\n })\n .addSetting({\n key: ADDRESS.street2,\n title: `${I18N_LOCATION}.fields.street2`,\n scope: 'T',\n overridableAt: [],\n isInherited: false,\n defaultValue: undefined,\n widget: {\n type: AXPWidgetsList.Editors.TextBox,\n options: {\n placeholder: `${I18N_LOCATION}.fields.street2-placeholder`,\n },\n },\n })\n .addSetting({\n key: ADDRESS.countryId,\n title: `${I18N_LOCATION}.fields.country`,\n scope: 'T',\n overridableAt: [],\n isInherited: false,\n defaultValue: undefined,\n valueTransforms: objectKeyValueTransforms('id'),\n widget: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: GEOGRAPHIC_REGION_ENTITY,\n look: 'select',\n allowCreate: 'quick',\n create: {\n enable: true,\n },\n expose: [\n { source: 'id', target: 'country.id' },\n { source: 'title', target: 'country.title' },\n ],\n filter: {\n logic: 'and',\n filters: [{ field: 'type.code', operator: { type: 'equal' }, value: 'country' }],\n },\n },\n },\n })\n .addSetting({\n key: ADDRESS.stateId,\n title: `${I18N_LOCATION}.fields.state`,\n scope: 'T',\n overridableAt: [],\n isInherited: false,\n defaultValue: undefined,\n valueTransforms: objectKeyValueTransforms('id'),\n widget: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: GEOGRAPHIC_REGION_ENTITY,\n look: 'select',\n allowCreate: 'quick',\n disabled: `{{ !context.eval('${ADDRESS.countryId}') }}`,\n create: {\n enable: true,\n context: {\n parentId: `{{ context.eval('${ADDRESS.countryId}') }}`,\n type: { code: 'state' },\n },\n },\n expose: [\n { source: 'id', target: 'state.id' },\n { source: 'title', target: 'state.title' },\n ],\n filter: {\n logic: 'and',\n filters: [\n { field: 'parentId', operator: { type: 'equal' }, value: `{{ context.eval('${ADDRESS.countryId}') }}` },\n { field: 'type.code', operator: { type: 'equal' }, value: 'state' },\n ],\n },\n },\n triggers: [\n {\n event: `{{ events.context('${ADDRESS.countryId}') }}`,\n action: `{{ widget.setValue(null); context.set('${ADDRESS.cityId}', null); widget.refresh(); }}`,\n },\n ],\n },\n })\n .addSetting({\n key: ADDRESS.cityId,\n title: `${I18N_LOCATION}.fields.city`,\n scope: 'T',\n overridableAt: [],\n isInherited: false,\n defaultValue: undefined,\n valueTransforms: objectKeyValueTransforms('id'),\n widget: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: GEOGRAPHIC_REGION_ENTITY,\n look: 'select',\n allowCreate: 'quick',\n disabled: `{{ !context.eval('${ADDRESS.stateId}') }}`,\n create: {\n enable: true,\n context: {\n parentId: `{{ context.eval('${ADDRESS.stateId}') }}`,\n type: { code: 'city' },\n },\n },\n expose: [\n { source: 'id', target: 'city.id' },\n { source: 'title', target: 'city.title' },\n ],\n filter: {\n logic: 'and',\n filters: [\n { field: 'parentId', operator: { type: 'equal' }, value: `{{ context.eval('${ADDRESS.stateId}') }}` },\n { field: 'type.code', operator: { type: 'equal' }, value: 'city' },\n ],\n },\n },\n triggers: [\n {\n event: `{{ events.context('${ADDRESS.stateId}') }}`,\n action: `{{ widget.setValue(null); widget.refresh(); }}`,\n },\n {\n event: `{{ events.context('${ADDRESS.countryId}') }}`,\n action: `{{ widget.setValue(null); widget.refresh(); }}`,\n },\n ],\n },\n })\n .addSetting({\n key: ADDRESS.postalCode,\n title: `${I18N_LOCATION}.fields.postal-code`,\n scope: 'T',\n overridableAt: [],\n isInherited: false,\n defaultValue: undefined,\n validationRules: [{ rule: 'required' }],\n widget: {\n type: AXPWidgetsList.Editors.TextBox,\n options: {\n placeholder: `${I18N_LOCATION}.fields.postal-code-placeholder`,\n },\n },\n })\n .endSection()\n\n // Hierarchy chart (user preferences — registered for defaults; hidden from settings UI)\n .addSection(\n 'hierarchy-chart',\n `${I18N_SECTION}.hierarchy-chart.title`,\n `${I18N_SECTION}.hierarchy-chart.description`,\n )\n .addSetting({\n key: AXPOrganizationManagementSettings.HierarchyChartShowVacantLeafSeats,\n title: `${I18N_SECTION}.hierarchy-chart-show-vacant.title`,\n scope: 'U',\n overridableAt: [],\n isInherited: false,\n defaultValue: false,\n widget: {\n type: AXPWidgetsList.Editors.ToggleSwitch,\n options: { visibility: false },\n },\n description: `${I18N_SECTION}.hierarchy-chart-show-vacant.description`,\n })\n .endSection()\n\n .endGroup();\n }\n}\n"],"names":[],"mappings":";;;;;;AAUA,MAAM,YAAY,GAAG,4CAA4C;AACjE,MAAM,aAAa,GAAG,kDAAkD;AACxE,MAAM,wBAAwB,GAAG,qCAAqC;AAEtE,MAAM,OAAO,GAAG;IACd,OAAO,EAAE,iCAAiC,CAAC,mBAAmB;IAC9D,OAAO,EAAE,iCAAiC,CAAC,mBAAmB;IAC9D,SAAS,EAAE,iCAAiC,CAAC,qBAAqB;IAClE,OAAO,EAAE,iCAAiC,CAAC,mBAAmB;IAC9D,MAAM,EAAE,iCAAiC,CAAC,kBAAkB;IAC5D,UAAU,EAAE,iCAAiC,CAAC,sBAAsB;CAC5D;MAEG,kBAAkB,CAAA;AAA/B,IAAA,WAAA,GAAA;AACmB,QAAA,IAAA,CAAA,cAAc,GAAG,MAAM,CAAC,iBAAiB,CAAC;IAic7D;IA/bE,MAAM,OAAO,CAAC,OAA4C,EAAA;QACxD;AACG,aAAA,QAAQ,CACP,uBAAuB,EACvB,GAAG,YAAY,CAAA,gCAAA,CAAkC,EACjD,CAAA,EAAG,YAAY,oCAAoC,EACnD,sBAAsB,EACtB,CAAA,EAAG,YAAY,8BAA8B,EAC7C,CAAC,GAAG;;aAGL,UAAU,CAAC,UAAU,EAAE,CAAA,EAAG,YAAY,iBAAiB,EAAE,CAAA,EAAG,YAAY,CAAA,qBAAA,CA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E,iCAAiC,CAAC,iCAAiC;YACxE,KAAK,EAAE,CAAA,EAAG,YAAY,CAAA,kCAAA,CAAoC;AAC1D,YAAA,KAAK,EAAE,GAAG;AACV,YAAA,aAAa,EAAE,EAAE;AACjB,YAAA,WAAW,EAAE,KAAK;AAClB,YAAA,YAAY,EAAE,KAAK;AACnB,YAAA,MAAM,EAAE;AACN,gBAAA,IAAI,EAAE,cAAc,CAAC,OAAO,CAAC,YAAY;AACzC,gBAAA,OAAO,EAAE,EAAE,UAAU,EAAE,KAAK,EAAE;AAC/B,aAAA;YACD,WAAW,EAAE,CAAA,EAAG,YAAY,CAAA,wCAAA,CAA0C;SACvE;AACA,aAAA,UAAU;AAEV,aAAA,QAAQ,EAAE;IACf;AACD;;"}
@@ -1,2 +1,2 @@
1
- export { c as AXMOrgChartCategory, A as AXMOrgChartNodeType, b as AXMOrgChartStructureRefreshHub, k as AXMOrganizationManagementModule, l as AXM_ORG_CHART_COMMUNICATION_SUBMENU_GROUP_ID, m as AXM_ORG_CHART_COMMUNICATION_SUBMENU_ICON, o as AXM_ORG_CHART_COMMUNICATION_SUBMENU_TITLE_I18N_KEY, d as AXM_ORG_CHART_EMPLOYEE_SUBMENU_GROUP_ID, f as AXM_ORG_CHART_EMPLOYEE_SUBMENU_ICON, g as AXM_ORG_CHART_EMPLOYEE_SUBMENU_TITLE_I18N_KEY, j as AXM_ORG_CHART_LAYOUT_SUBMENU_GROUP_ID, h as AXM_ORG_CHART_LAYOUT_SUBMENU_ICON, i as AXM_ORG_CHART_LAYOUT_SUBMENU_TITLE_I18N_KEY, a as AXM_ORG_CHART_NODE_CONTRIBUTOR, e as axmResolveOrgChartFlyoutEmployeeId } from './acorex-platform-module-organization-management-client-acorex-platform-module-organization-management-client-svaAbPwX.mjs';
1
+ export { c as AXMOrgChartCategory, A as AXMOrgChartNodeType, b as AXMOrgChartStructureRefreshHub, k as AXMOrganizationManagementModule, l as AXM_ORG_CHART_COMMUNICATION_SUBMENU_GROUP_ID, m as AXM_ORG_CHART_COMMUNICATION_SUBMENU_ICON, o as AXM_ORG_CHART_COMMUNICATION_SUBMENU_TITLE_I18N_KEY, d as AXM_ORG_CHART_EMPLOYEE_SUBMENU_GROUP_ID, f as AXM_ORG_CHART_EMPLOYEE_SUBMENU_ICON, g as AXM_ORG_CHART_EMPLOYEE_SUBMENU_TITLE_I18N_KEY, j as AXM_ORG_CHART_LAYOUT_SUBMENU_GROUP_ID, h as AXM_ORG_CHART_LAYOUT_SUBMENU_ICON, i as AXM_ORG_CHART_LAYOUT_SUBMENU_TITLE_I18N_KEY, a as AXM_ORG_CHART_NODE_CONTRIBUTOR, e as axmResolveOrgChartFlyoutEmployeeId } from './acorex-platform-module-organization-management-client-acorex-platform-module-organization-management-client-BrZiTl-n.mjs';
2
2
  //# sourceMappingURL=acorex-platform-module-organization-management-client.mjs.map
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@acorex-platform/module-organization-management-client",
3
- "version": "0.0.57",
3
+ "version": "0.0.58",
4
4
  "sideEffects": false,
5
5
  "peerDependencies": {
6
- "@acorex-platform/module-human-capital-management-client": "0.0.57",
6
+ "@acorex-platform/module-human-capital-management-client": "0.0.58",
7
7
  "@angular/common": "^21.0.0 || ^22.0.0",
8
8
  "@angular/core": "^21.0.0 || ^22.0.0"
9
9
  },