@acorex-platform/module-organization-management-client 0.0.30 → 0.0.33

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 (106) hide show
  1. package/fesm2022/{acorex-platform-module-organization-management-client-acorex-platform-module-organization-management-client-C01dBcYi.mjs → acorex-platform-module-organization-management-client-acorex-platform-module-organization-management-client-UGWNdPxI.mjs} +15 -12
  2. package/fesm2022/acorex-platform-module-organization-management-client-acorex-platform-module-organization-management-client-UGWNdPxI.mjs.map +1 -0
  3. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-business-unit-type.mjs +318 -0
  4. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-business-unit-type.mjs.map +1 -0
  5. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-business-unit.mjs +516 -0
  6. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-business-unit.mjs.map +1 -0
  7. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-chart.mjs +314 -0
  8. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-chart.mjs.map +1 -0
  9. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-company.mjs +250 -0
  10. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-company.mjs.map +1 -0
  11. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-job-definition.mjs +439 -0
  12. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-job-definition.mjs.map +1 -0
  13. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-job-level.mjs +385 -0
  14. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-job-level.mjs.map +1 -0
  15. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-position.mjs +657 -0
  16. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-position.mjs.map +1 -0
  17. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-responsibility-level.mjs +248 -0
  18. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-responsibility-level.mjs.map +1 -0
  19. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-responsibility.mjs +317 -0
  20. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-responsibility.mjs.map +1 -0
  21. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-team-business-unit.mjs +413 -0
  22. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-team-business-unit.mjs.map +1 -0
  23. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-team-member-role.mjs +220 -0
  24. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-team-member-role.mjs.map +1 -0
  25. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-team-member.mjs +366 -0
  26. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-team-member.mjs.map +1 -0
  27. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-team.mjs +421 -0
  28. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-team.mjs.map +1 -0
  29. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-acorex-platform-module-organization-management-client-contracts-entity-catalog-xL4H41ft.mjs +146 -0
  30. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-acorex-platform-module-organization-management-client-contracts-entity-catalog-xL4H41ft.mjs.map +1 -0
  31. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-business-unit-type.entity-BE6ZOUYI.mjs +203 -0
  32. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-business-unit-type.entity-BE6ZOUYI.mjs.map +1 -0
  33. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-business-unit.entity-CzApxGMJ.mjs +401 -0
  34. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-business-unit.entity-CzApxGMJ.mjs.map +1 -0
  35. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-chart.entity-BWocZ2iP.mjs +199 -0
  36. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-chart.entity-BWocZ2iP.mjs.map +1 -0
  37. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-company.entity-tU-53b9G.mjs +135 -0
  38. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-company.entity-tU-53b9G.mjs.map +1 -0
  39. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-job-definition.entity-sOUJWK_4.mjs +324 -0
  40. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-job-definition.entity-sOUJWK_4.mjs.map +1 -0
  41. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-job-level.entity-C866Av4K.mjs +270 -0
  42. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-job-level.entity-C866Av4K.mjs.map +1 -0
  43. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-position.entity-DI5SQJdb.mjs +542 -0
  44. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-position.entity-DI5SQJdb.mjs.map +1 -0
  45. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-responsibility-level.entity-DHyK2SPK.mjs +133 -0
  46. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-responsibility-level.entity-DHyK2SPK.mjs.map +1 -0
  47. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-responsibility.entity-B3UAoNc6.mjs +202 -0
  48. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-responsibility.entity-B3UAoNc6.mjs.map +1 -0
  49. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-team-business-unit.entity-CCSV3xtX.mjs +298 -0
  50. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-team-business-unit.entity-CCSV3xtX.mjs.map +1 -0
  51. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-team-member-role.entity-vnO44D26.mjs +105 -0
  52. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-team-member-role.entity-vnO44D26.mjs.map +1 -0
  53. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-team-member.entity-j7Zu11Fo.mjs +251 -0
  54. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-team-member.entity-j7Zu11Fo.mjs.map +1 -0
  55. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-team.entity-BBdUYFU0.mjs +306 -0
  56. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-team.entity-BBdUYFU0.mjs.map +1 -0
  57. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog.mjs +2 -0
  58. package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog.mjs.map +1 -0
  59. package/fesm2022/acorex-platform-module-organization-management-client-contracts.mjs +23 -5
  60. package/fesm2022/acorex-platform-module-organization-management-client-contracts.mjs.map +1 -1
  61. package/fesm2022/{acorex-platform-module-organization-management-client-job-definition-matrix-page.utils-DD3jLujN.mjs → acorex-platform-module-organization-management-client-job-definition-matrix-page.utils-CGRJXMOn.mjs} +3 -3
  62. package/fesm2022/acorex-platform-module-organization-management-client-job-definition-matrix-page.utils-CGRJXMOn.mjs.map +1 -0
  63. package/fesm2022/{acorex-platform-module-organization-management-client-job-definition-pages-component.provider-BNhXJfjr.mjs → acorex-platform-module-organization-management-client-job-definition-pages-component.provider-TIHOAeAI.mjs} +3 -3
  64. package/fesm2022/{acorex-platform-module-organization-management-client-job-definition-pages-component.provider-BNhXJfjr.mjs.map → acorex-platform-module-organization-management-client-job-definition-pages-component.provider-TIHOAeAI.mjs.map} +1 -1
  65. package/fesm2022/{acorex-platform-module-organization-management-client-job-definition-responsibilities-page.component-BlUzsSy3.mjs → acorex-platform-module-organization-management-client-job-definition-responsibilities-page.component-KwOQXdX0.mjs} +3 -3
  66. package/fesm2022/acorex-platform-module-organization-management-client-job-definition-responsibilities-page.component-KwOQXdX0.mjs.map +1 -0
  67. package/fesm2022/{acorex-platform-module-organization-management-client-job-definition-skills-page.component--pyAaXB4.mjs → acorex-platform-module-organization-management-client-job-definition-skills-page.component-bQOqP1Tx.mjs} +3 -3
  68. package/fesm2022/acorex-platform-module-organization-management-client-job-definition-skills-page.component-bQOqP1Tx.mjs.map +1 -0
  69. package/fesm2022/acorex-platform-module-organization-management-client-local-entities.mjs +41 -0
  70. package/fesm2022/acorex-platform-module-organization-management-client-local-entities.mjs.map +1 -0
  71. package/fesm2022/{acorex-platform-module-organization-management-client-org-chart-employee-flyout-contribution.provider-B-PC-9aB.mjs → acorex-platform-module-organization-management-client-org-chart-employee-flyout-contribution.provider-DZs4VB50.mjs} +2 -2
  72. package/fesm2022/{acorex-platform-module-organization-management-client-org-chart-employee-flyout-contribution.provider-B-PC-9aB.mjs.map → acorex-platform-module-organization-management-client-org-chart-employee-flyout-contribution.provider-DZs4VB50.mjs.map} +1 -1
  73. package/fesm2022/{acorex-platform-module-organization-management-client-org-chart-ux-node-contribution.provider-DB8ki5My.mjs → acorex-platform-module-organization-management-client-org-chart-ux-node-contribution.provider-ISEbvMkZ.mjs} +2 -2
  74. package/fesm2022/{acorex-platform-module-organization-management-client-org-chart-ux-node-contribution.provider-DB8ki5My.mjs.map → acorex-platform-module-organization-management-client-org-chart-ux-node-contribution.provider-ISEbvMkZ.mjs.map} +1 -1
  75. package/fesm2022/{acorex-platform-module-organization-management-client-org-chart.page-DlpHwt9h.mjs → acorex-platform-module-organization-management-client-org-chart.page-CMd5nTa7.mjs} +7 -7
  76. package/fesm2022/acorex-platform-module-organization-management-client-org-chart.page-CMd5nTa7.mjs.map +1 -0
  77. package/fesm2022/acorex-platform-module-organization-management-client-responsibilities-matrix-widget-column.component-C5H0kcVW.mjs +64 -0
  78. package/fesm2022/acorex-platform-module-organization-management-client-responsibilities-matrix-widget-column.component-C5H0kcVW.mjs.map +1 -0
  79. package/fesm2022/{acorex-platform-module-organization-management-client-responsibilities-matrix-widget-edit.component-DHmUxlnu.mjs → acorex-platform-module-organization-management-client-responsibilities-matrix-widget-edit.component-DmDQSgYC.mjs} +3 -3
  80. package/fesm2022/acorex-platform-module-organization-management-client-responsibilities-matrix-widget-edit.component-DmDQSgYC.mjs.map +1 -0
  81. package/fesm2022/{acorex-platform-module-organization-management-client-settings.provider-C2VaHJ4K.mjs → acorex-platform-module-organization-management-client-settings.provider-B3nDm32f.mjs} +17 -1
  82. package/fesm2022/{acorex-platform-module-organization-management-client-settings.provider-C2VaHJ4K.mjs.map → acorex-platform-module-organization-management-client-settings.provider-B3nDm32f.mjs.map} +1 -1
  83. package/fesm2022/acorex-platform-module-organization-management-client.mjs +1 -1
  84. package/package.json +62 -2
  85. package/types/acorex-platform-module-organization-management-client-contracts-entities-business-unit-type.d.ts +5 -0
  86. package/types/acorex-platform-module-organization-management-client-contracts-entities-business-unit.d.ts +5 -0
  87. package/types/acorex-platform-module-organization-management-client-contracts-entities-chart.d.ts +5 -0
  88. package/types/acorex-platform-module-organization-management-client-contracts-entities-company.d.ts +5 -0
  89. package/types/acorex-platform-module-organization-management-client-contracts-entities-job-definition.d.ts +5 -0
  90. package/types/acorex-platform-module-organization-management-client-contracts-entities-job-level.d.ts +5 -0
  91. package/types/acorex-platform-module-organization-management-client-contracts-entities-position.d.ts +5 -0
  92. package/types/acorex-platform-module-organization-management-client-contracts-entities-responsibility-level.d.ts +5 -0
  93. package/types/acorex-platform-module-organization-management-client-contracts-entities-responsibility.d.ts +5 -0
  94. package/types/acorex-platform-module-organization-management-client-contracts-entities-team-business-unit.d.ts +5 -0
  95. package/types/acorex-platform-module-organization-management-client-contracts-entities-team-member-role.d.ts +5 -0
  96. package/types/acorex-platform-module-organization-management-client-contracts-entities-team-member.d.ts +5 -0
  97. package/types/acorex-platform-module-organization-management-client-contracts-entities-team.d.ts +5 -0
  98. package/types/acorex-platform-module-organization-management-client-contracts-entity-catalog.d.ts +10 -0
  99. package/types/acorex-platform-module-organization-management-client-contracts.d.ts +13 -2
  100. package/types/acorex-platform-module-organization-management-client-local-entities.d.ts +12 -0
  101. package/fesm2022/acorex-platform-module-organization-management-client-acorex-platform-module-organization-management-client-C01dBcYi.mjs.map +0 -1
  102. package/fesm2022/acorex-platform-module-organization-management-client-job-definition-matrix-page.utils-DD3jLujN.mjs.map +0 -1
  103. package/fesm2022/acorex-platform-module-organization-management-client-job-definition-responsibilities-page.component-BlUzsSy3.mjs.map +0 -1
  104. package/fesm2022/acorex-platform-module-organization-management-client-job-definition-skills-page.component--pyAaXB4.mjs.map +0 -1
  105. package/fesm2022/acorex-platform-module-organization-management-client-org-chart.page-DlpHwt9h.mjs.map +0 -1
  106. package/fesm2022/acorex-platform-module-organization-management-client-responsibilities-matrix-widget-edit.component-DHmUxlnu.mjs.map +0 -1
@@ -0,0 +1,64 @@
1
+ import { AXPColumnWidgetComponent } from '@acorex-platform/framework-client/layout/widget-core';
2
+ import * as i0 from '@angular/core';
3
+ import { ChangeDetectionStrategy, Component } from '@angular/core';
4
+
5
+ //#region ----- Imports -----
6
+ //#endregion
7
+ //#region ----- Helpers -----
8
+ function assignedRowCount(value) {
9
+ if (value == null || typeof value !== 'object' || Array.isArray(value)) {
10
+ return 0;
11
+ }
12
+ let count = 0;
13
+ for (const row of Object.values(value)) {
14
+ if (row == null || typeof row !== 'object') {
15
+ continue;
16
+ }
17
+ const hasCell = Object.values(row).some((cell) => cell != null && String(cell).trim() !== '');
18
+ if (hasCell) {
19
+ count += 1;
20
+ }
21
+ }
22
+ return count;
23
+ }
24
+ //#endregion
25
+ //#region ----- Component -----
26
+ class AXMResponsibilitiesMatrixWidgetColumnComponent extends AXPColumnWidgetComponent {
27
+ //#region ----- Computed Properties -----
28
+ assignedCount() {
29
+ return assignedRowCount(this.rawValue);
30
+ }
31
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXMResponsibilitiesMatrixWidgetColumnComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
32
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: AXMResponsibilitiesMatrixWidgetColumnComponent, isStandalone: true, selector: "axm-responsibilities-matrix-widget-column", inputs: { rawValue: "rawValue", rowData: "rowData" }, usesInheritance: true, ngImport: i0, template: `
33
+ @if (assignedCount(); as count) {
34
+ <!-- ----- Assigned responsibility rows ----- -->
35
+ <span>{{ count }}</span>
36
+ }
37
+ <!-- ----- Empty matrix ----- -->
38
+ @else {
39
+ <span class="text-muted">---</span>
40
+ }
41
+ `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
42
+ }
43
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXMResponsibilitiesMatrixWidgetColumnComponent, decorators: [{
44
+ type: Component,
45
+ args: [{
46
+ selector: 'axm-responsibilities-matrix-widget-column',
47
+ template: `
48
+ @if (assignedCount(); as count) {
49
+ <!-- ----- Assigned responsibility rows ----- -->
50
+ <span>{{ count }}</span>
51
+ }
52
+ <!-- ----- Empty matrix ----- -->
53
+ @else {
54
+ <span class="text-muted">---</span>
55
+ }
56
+ `,
57
+ changeDetection: ChangeDetectionStrategy.OnPush,
58
+ imports: [],
59
+ inputs: ['rawValue', 'rowData'],
60
+ }]
61
+ }] });
62
+
63
+ export { AXMResponsibilitiesMatrixWidgetColumnComponent };
64
+ //# sourceMappingURL=acorex-platform-module-organization-management-client-responsibilities-matrix-widget-column.component-C5H0kcVW.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-organization-management-client-responsibilities-matrix-widget-column.component-C5H0kcVW.mjs","sources":["../../../../libs/modules/organization-management/client/src/lib/features/responsibilities-matrix/responsibilities-matrix-widget-column.component.ts"],"sourcesContent":["//#region ----- Imports -----\n\nimport { AXPColumnWidgetComponent } from '@acorex-platform/framework-client/layout/widget-core';\nimport type { AXPSpreadsheetData } from '@acorex-platform/framework-client/layout/components';\nimport { ChangeDetectionStrategy, Component } from '@angular/core';\n\n//#endregion\n\n//#region ----- Helpers -----\n\nfunction assignedRowCount(value: unknown): number {\n if (value == null || typeof value !== 'object' || Array.isArray(value)) {\n return 0;\n }\n\n let count = 0;\n for (const row of Object.values(value as AXPSpreadsheetData)) {\n if (row == null || typeof row !== 'object') {\n continue;\n }\n const hasCell = Object.values(row).some((cell) => cell != null && String(cell).trim() !== '');\n if (hasCell) {\n count += 1;\n }\n }\n return count;\n}\n\n//#endregion\n\n//#region ----- Component -----\n\n@Component({\n selector: 'axm-responsibilities-matrix-widget-column',\n template: `\n @if (assignedCount(); as count) {\n <!-- ----- Assigned responsibility rows ----- -->\n <span>{{ count }}</span>\n }\n <!-- ----- Empty matrix ----- -->\n @else {\n <span class=\"text-muted\">---</span>\n }\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [],\n inputs: ['rawValue', 'rowData'],\n})\nexport class AXMResponsibilitiesMatrixWidgetColumnComponent extends AXPColumnWidgetComponent<AXPSpreadsheetData> {\n //#region ----- Computed Properties -----\n\n protected assignedCount(): number {\n return assignedRowCount(this.rawValue);\n }\n\n //#endregion\n}\n\n//#endregion\n"],"names":[],"mappings":";;;;AAAA;AAMA;AAEA;AAEA,SAAS,gBAAgB,CAAC,KAAc,EAAA;AACtC,IAAA,IAAI,KAAK,IAAI,IAAI,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE;AACtE,QAAA,OAAO,CAAC;IACV;IAEA,IAAI,KAAK,GAAG,CAAC;IACb,KAAK,MAAM,GAAG,IAAI,MAAM,CAAC,MAAM,CAAC,KAA2B,CAAC,EAAE;QAC5D,IAAI,GAAG,IAAI,IAAI,IAAI,OAAO,GAAG,KAAK,QAAQ,EAAE;YAC1C;QACF;AACA,QAAA,MAAM,OAAO,GAAG,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,KAAK,IAAI,IAAI,I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getCompone
25
25
  ...(ngDevMode ? [{ debugName: "readonly" }] : /* istanbul ignore next */ []));
26
26
  /**
27
27
  * Titles from context - reactively reads from context data signal
28
- * This ensures the titles update immediately when jobLevels changes in context
28
+ * This ensures the titles update immediately when jobLevelsList changes in context
29
29
  */
30
30
  this.titles = computed(() => {
31
31
  const resolve = (v) => this.multiLanguageResolver.resolve(v);
@@ -43,7 +43,7 @@ class AXMResponsibilitiesMatrixWidgetEditComponent extends AXPValueWidgetCompone
43
43
  };
44
44
  // Read directly from context data signal for reactive updates
45
45
  const contextData = this.contextService.data();
46
- const jobLevelsFromContext = get(contextData, 'jobLevels');
46
+ const jobLevelsFromContext = get(contextData, 'jobLevelsList');
47
47
  if (Array.isArray(jobLevelsFromContext) && jobLevelsFromContext.length > 0) {
48
48
  return jobLevelsFromContext.map(toItem);
49
49
  }
@@ -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-DHmUxlnu.mjs.map
143
+ //# sourceMappingURL=acorex-platform-module-organization-management-client-responsibilities-matrix-widget-edit.component-DmDQSgYC.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-organization-management-client-responsibilities-matrix-widget-edit.component-DmDQSgYC.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;;;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AM;AAChD,iBAAA;;;;;"}
@@ -422,6 +422,22 @@ class AXMSettingProvider {
422
422
  placeholder: 'Postal/ZIP code',
423
423
  },
424
424
  },
425
+ })
426
+ .endSection()
427
+ // Hierarchy chart (user preferences — registered for defaults; hidden from settings UI)
428
+ .addSection('hierarchy-chart', `${I18N_SECTION}.hierarchy-chart.title`, `${I18N_SECTION}.hierarchy-chart.description`)
429
+ .addSetting({
430
+ key: AXPOrganizationManagementSettings.HierarchyChartShowVacantLeafSeats,
431
+ title: `${I18N_SECTION}.hierarchy-chart-show-vacant.title`,
432
+ scope: 'U',
433
+ overridableAt: [],
434
+ isInherited: false,
435
+ defaultValue: false,
436
+ widget: {
437
+ type: AXPWidgetsList.Editors.ToggleSwitch,
438
+ options: { visibility: false },
439
+ },
440
+ description: `${I18N_SECTION}.hierarchy-chart-show-vacant.description`,
425
441
  })
426
442
  .endSection()
427
443
  .endGroup();
@@ -429,4 +445,4 @@ class AXMSettingProvider {
429
445
  }
430
446
 
431
447
  export { AXMSettingProvider };
432
- //# sourceMappingURL=acorex-platform-module-organization-management-client-settings.provider-C2VaHJ4K.mjs.map
448
+ //# sourceMappingURL=acorex-platform-module-organization-management-client-settings.provider-B3nDm32f.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-platform-module-organization-management-client-settings.provider-C2VaHJ4K.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', 'Contact Details', 'Set company contact information.')\n .addSetting({\n key: AXPOrganizationManagementSettings.ContactEmail,\n title: 'Company Email',\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: 'Primary email address for the company.',\n })\n .addSetting({\n key: AXPOrganizationManagementSettings.SupportEmail,\n title: 'Support Email',\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: 'Support email address for customer inquiries.',\n })\n .addSetting({\n key: AXPOrganizationManagementSettings.InfoEmail,\n title: 'Info Email',\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: 'General information email address.',\n })\n .addSetting({\n key: AXPOrganizationManagementSettings.ContactPhone,\n title: 'Company Phone',\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: 'Primary contact phone number.',\n })\n .addSetting({\n key: AXPOrganizationManagementSettings.FaxNumber,\n title: 'Fax Number',\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: 'Fax number for the company.',\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: 'Enter street address',\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: 'Apartment, suite, etc.',\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: 'Postal/ZIP code',\n },\n },\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;AAG7B,IAAA,WAAA,CAAY,QAAmB,EAAA;AAC7B,QAAA,IAAI,CAAC,cAAc,GAAG,CAAC,QAAQ,IAAI,MAAM,CAAC,QAAQ,CAAC,EAAE,GAAG,CAAC,iBAAiB,CAAC;IAC7E;IAEA,MAAM,OAAO,CAAC,OAA4C,EAAA;QACxD;AACG,aAAA,QAAQ,CACP,uBAAuB,EACvB,GAAG,YAAY,CAAA,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AAI,EAAE,OAAO,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE;AACnE,yBAAA;AACF,qBAAA;AACF,iBAAA;AACD,gBAAA,QAAQ,EAAE;AACR,oBAAA;AACE,wBAAA,KAAK,EAAE,CAAA,mBAAA,EAAsB,OAAO,CAAC,OAAO,CAAA,KAAA,CAAO;AACnD,wBAAA,MAAM,EAAE,CAAA,8CAAA,CAAgD;AACzD,qBAAA;AACD,oBAAA;AACE,wBAAA,KAAK,EAAE,CAAA,mBAAA,EAAsB,OAAO,CAAC,SAAS,CAAA,KAAA,CAAO;AACrD,wBAAA,MAAM,EAAE,CAAA,8CAAA,CAAgD;AACzD,qBAAA;AACF,iBAAA;AACF,aAAA;SACF;AACA,aAAA,UAAU,CAAC;YACV,GAAG,EAAE,OAAO,CAAC,UAAU;YACvB,KAAK,EAAE,CAAA,EAAG,aAAa,CAAA,mBAAA,CAAqB;AAC5C,YAAA,KAAK,EAAE,GAAG;AACV,YAAA,aAAa,EAAE,EAAE;AACjB,YAAA,WAAW,EAAE,KAAK;AAClB,YAAA,YAAY,EAAE,SAAS;AACvB,YAAA,eAAe,EAAE,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC;AACvC,YAAA,MAAM,EAAE;AACN,gBAAA,IAAI,EAAE,cAAc,CAAC,OAAO,CAAC,OAAO;AACpC,gBAAA,OAAO,EAAE;AACP,oBAAA,WAAW,EAAE,iBAAiB;AAC/B,iBAAA;AACF,aAAA;SACF;AACA,aAAA,UAAU;AAEV,aAAA,QAAQ,EAAE;IACf;AACD;;;;"}
1
+ {"version":3,"file":"acorex-platform-module-organization-management-client-settings.provider-B3nDm32f.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', 'Contact Details', 'Set company contact information.')\n .addSetting({\n key: AXPOrganizationManagementSettings.ContactEmail,\n title: 'Company Email',\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: 'Primary email address for the company.',\n })\n .addSetting({\n key: AXPOrganizationManagementSettings.SupportEmail,\n title: 'Support Email',\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: 'Support email address for customer inquiries.',\n })\n .addSetting({\n key: AXPOrganizationManagementSettings.InfoEmail,\n title: 'Info Email',\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: 'General information email address.',\n })\n .addSetting({\n key: AXPOrganizationManagementSettings.ContactPhone,\n title: 'Company Phone',\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: 'Primary contact phone number.',\n })\n .addSetting({\n key: AXPOrganizationManagementSettings.FaxNumber,\n title: 'Fax Number',\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: 'Fax number for the company.',\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: 'Enter street address',\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: 'Apartment, suite, etc.',\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: 'Postal/ZIP code',\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,wBA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AClB,YAAA,YAAY,EAAE,SAAS;AACvB,YAAA,eAAe,EAAE,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC;AACvC,YAAA,MAAM,EAAE;AACN,gBAAA,IAAI,EAAE,cAAc,CAAC,OAAO,CAAC,OAAO;AACpC,gBAAA,OAAO,EAAE;AACP,oBAAA,WAAW,EAAE,iBAAiB;AAC/B,iBAAA;AACF,aAAA;SACF;AACA,aAAA,UAAU;;aAGV,UAAU,CACT,iBAAiB,EACjB,CAAA,EAAG,YAAY,wBAAwB,EACvC,CAAA,EAAG,YAAY,CAAA,4BAAA,CAA8B;AAE9C,aAAA,UAAU,CAAC;YACV,GAAG,EAAE,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-C01dBcYi.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-UGWNdPxI.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.30",
3
+ "version": "0.0.33",
4
4
  "sideEffects": false,
5
5
  "peerDependencies": {
6
- "@acorex-platform/module-human-capital-management-client": "0.0.30",
6
+ "@acorex-platform/module-human-capital-management-client": "0.0.33",
7
7
  "@angular/common": "^21.0.0 || ^22.0.0",
8
8
  "@angular/core": "^21.0.0 || ^22.0.0"
9
9
  },
@@ -23,6 +23,66 @@
23
23
  "./contracts": {
24
24
  "types": "./types/acorex-platform-module-organization-management-client-contracts.d.ts",
25
25
  "default": "./fesm2022/acorex-platform-module-organization-management-client-contracts.mjs"
26
+ },
27
+ "./contracts/entities/business-unit": {
28
+ "types": "./types/acorex-platform-module-organization-management-client-contracts-entities-business-unit.d.ts",
29
+ "default": "./fesm2022/acorex-platform-module-organization-management-client-contracts-entities-business-unit.mjs"
30
+ },
31
+ "./contracts/entities/business-unit-type": {
32
+ "types": "./types/acorex-platform-module-organization-management-client-contracts-entities-business-unit-type.d.ts",
33
+ "default": "./fesm2022/acorex-platform-module-organization-management-client-contracts-entities-business-unit-type.mjs"
34
+ },
35
+ "./contracts/entities/chart": {
36
+ "types": "./types/acorex-platform-module-organization-management-client-contracts-entities-chart.d.ts",
37
+ "default": "./fesm2022/acorex-platform-module-organization-management-client-contracts-entities-chart.mjs"
38
+ },
39
+ "./contracts/entities/company": {
40
+ "types": "./types/acorex-platform-module-organization-management-client-contracts-entities-company.d.ts",
41
+ "default": "./fesm2022/acorex-platform-module-organization-management-client-contracts-entities-company.mjs"
42
+ },
43
+ "./contracts/entities/job-definition": {
44
+ "types": "./types/acorex-platform-module-organization-management-client-contracts-entities-job-definition.d.ts",
45
+ "default": "./fesm2022/acorex-platform-module-organization-management-client-contracts-entities-job-definition.mjs"
46
+ },
47
+ "./contracts/entities/job-level": {
48
+ "types": "./types/acorex-platform-module-organization-management-client-contracts-entities-job-level.d.ts",
49
+ "default": "./fesm2022/acorex-platform-module-organization-management-client-contracts-entities-job-level.mjs"
50
+ },
51
+ "./contracts/entities/position": {
52
+ "types": "./types/acorex-platform-module-organization-management-client-contracts-entities-position.d.ts",
53
+ "default": "./fesm2022/acorex-platform-module-organization-management-client-contracts-entities-position.mjs"
54
+ },
55
+ "./contracts/entities/responsibility": {
56
+ "types": "./types/acorex-platform-module-organization-management-client-contracts-entities-responsibility.d.ts",
57
+ "default": "./fesm2022/acorex-platform-module-organization-management-client-contracts-entities-responsibility.mjs"
58
+ },
59
+ "./contracts/entities/responsibility-level": {
60
+ "types": "./types/acorex-platform-module-organization-management-client-contracts-entities-responsibility-level.d.ts",
61
+ "default": "./fesm2022/acorex-platform-module-organization-management-client-contracts-entities-responsibility-level.mjs"
62
+ },
63
+ "./contracts/entities/team": {
64
+ "types": "./types/acorex-platform-module-organization-management-client-contracts-entities-team.d.ts",
65
+ "default": "./fesm2022/acorex-platform-module-organization-management-client-contracts-entities-team.mjs"
66
+ },
67
+ "./contracts/entities/team-business-unit": {
68
+ "types": "./types/acorex-platform-module-organization-management-client-contracts-entities-team-business-unit.d.ts",
69
+ "default": "./fesm2022/acorex-platform-module-organization-management-client-contracts-entities-team-business-unit.mjs"
70
+ },
71
+ "./contracts/entities/team-member": {
72
+ "types": "./types/acorex-platform-module-organization-management-client-contracts-entities-team-member.d.ts",
73
+ "default": "./fesm2022/acorex-platform-module-organization-management-client-contracts-entities-team-member.mjs"
74
+ },
75
+ "./contracts/entities/team-member-role": {
76
+ "types": "./types/acorex-platform-module-organization-management-client-contracts-entities-team-member-role.d.ts",
77
+ "default": "./fesm2022/acorex-platform-module-organization-management-client-contracts-entities-team-member-role.mjs"
78
+ },
79
+ "./contracts/entity-catalog": {
80
+ "types": "./types/acorex-platform-module-organization-management-client-contracts-entity-catalog.d.ts",
81
+ "default": "./fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog.mjs"
82
+ },
83
+ "./local-entities": {
84
+ "types": "./types/acorex-platform-module-organization-management-client-local-entities.d.ts",
85
+ "default": "./fesm2022/acorex-platform-module-organization-management-client-local-entities.mjs"
26
86
  }
27
87
  },
28
88
  "type": "module"
@@ -0,0 +1,5 @@
1
+ import { AXPEntity } from '@acorex-platform/framework-shared/entity';
2
+
3
+ declare function factoryBusinessUnitType(): Promise<AXPEntity | null>;
4
+
5
+ export { factoryBusinessUnitType };
@@ -0,0 +1,5 @@
1
+ import { AXPEntity } from '@acorex-platform/framework-shared/entity';
2
+
3
+ declare function factoryBusinessUnit(): Promise<AXPEntity | null>;
4
+
5
+ export { factoryBusinessUnit };
@@ -0,0 +1,5 @@
1
+ import { AXPEntity } from '@acorex-platform/framework-shared/entity';
2
+
3
+ declare function factoryChart(): Promise<AXPEntity | null>;
4
+
5
+ export { factoryChart };
@@ -0,0 +1,5 @@
1
+ import { AXPEntity } from '@acorex-platform/framework-shared/entity';
2
+
3
+ declare function factoryCompany(): Promise<AXPEntity | null>;
4
+
5
+ export { factoryCompany };
@@ -0,0 +1,5 @@
1
+ import { AXPEntity } from '@acorex-platform/framework-shared/entity';
2
+
3
+ declare function factoryJobDefinition(): Promise<AXPEntity | null>;
4
+
5
+ export { factoryJobDefinition };
@@ -0,0 +1,5 @@
1
+ import { AXPEntity } from '@acorex-platform/framework-shared/entity';
2
+
3
+ declare function factoryJobLevel(): Promise<AXPEntity | null>;
4
+
5
+ export { factoryJobLevel };
@@ -0,0 +1,5 @@
1
+ import { AXPEntity } from '@acorex-platform/framework-shared/entity';
2
+
3
+ declare function factoryPosition(): Promise<AXPEntity | null>;
4
+
5
+ export { factoryPosition };
@@ -0,0 +1,5 @@
1
+ import { AXPEntity } from '@acorex-platform/framework-shared/entity';
2
+
3
+ declare function factoryResponsibilityLevel(): Promise<AXPEntity | null>;
4
+
5
+ export { factoryResponsibilityLevel };
@@ -0,0 +1,5 @@
1
+ import { AXPEntity } from '@acorex-platform/framework-shared/entity';
2
+
3
+ declare function factoryResponsibility(): Promise<AXPEntity | null>;
4
+
5
+ export { factoryResponsibility };
@@ -0,0 +1,5 @@
1
+ import { AXPEntity } from '@acorex-platform/framework-shared/entity';
2
+
3
+ declare function factoryTeamBusinessUnit(): Promise<AXPEntity | null>;
4
+
5
+ export { factoryTeamBusinessUnit };
@@ -0,0 +1,5 @@
1
+ import { AXPEntity } from '@acorex-platform/framework-shared/entity';
2
+
3
+ declare function factoryTeamMemberRole(): Promise<AXPEntity | null>;
4
+
5
+ export { factoryTeamMemberRole };
@@ -0,0 +1,5 @@
1
+ import { AXPEntity } from '@acorex-platform/framework-shared/entity';
2
+
3
+ declare function factoryTeamMember(): Promise<AXPEntity | null>;
4
+
5
+ export { factoryTeamMember };
@@ -0,0 +1,5 @@
1
+ import { AXPEntity } from '@acorex-platform/framework-shared/entity';
2
+
3
+ declare function factoryTeam(): Promise<AXPEntity | null>;
4
+
5
+ export { factoryTeam };
@@ -0,0 +1,10 @@
1
+ import { AXPLocalEntityCatalog } from '@acorex-platform/framework-shared/entity';
2
+
3
+ /**
4
+ * Lazy per-entity layout factories. Do not re-export from the contracts barrel
5
+ * so RootConfig imports stay light. Server seed and client `local-entities`
6
+ * consume this catalog explicitly.
7
+ */
8
+ declare const organizationManagementLocalEntityCatalog: AXPLocalEntityCatalog;
9
+
10
+ export { organizationManagementLocalEntityCatalog };
@@ -104,9 +104,15 @@ interface BuildCompanyEmailMergeInput {
104
104
  webOrigin?: string | null;
105
105
  /**
106
106
  * API origin (no trailing slash, no `/api` suffix) used to absolutize
107
- * file-storage download URLs for logo file ids.
107
+ * file-storage download URLs for logo file ids. Email/print callers should
108
+ * prefer {@link inlinedLogoUrl} because download is JWT-protected.
108
109
  */
109
110
  apiOrigin?: string | null;
111
+ /**
112
+ * Pre-resolved logo URL (typically a `data:` URI after FileStorage inlining).
113
+ * Takes precedence over branding / tenant logo refs.
114
+ */
115
+ inlinedLogoUrl?: string | null;
110
116
  /**
111
117
  * Locale for resolving multi-language organization settings / tenant title
112
118
  * (`companyName`, `copyrightText`, address region titles, …).
@@ -117,6 +123,11 @@ interface BuildCompanyEmailMergeInput {
117
123
  }
118
124
  /** Relative download path served by `FileStorageController.download`. */
119
125
  declare function buildCompanyLogoFileDownloadPath(fileId: string): string;
126
+ /**
127
+ * File-storage id from a branding logo setting, tenant.logo, or download URL.
128
+ * Used by the server to inline the binary as a data URI (download is JWT-protected).
129
+ */
130
+ declare function extractCompanyLogoFileId(value: unknown): string | undefined;
120
131
  /**
121
132
  * Builds merge tokens for the company email master from organization settings,
122
133
  * falling back to tenant snapshot fields when settings are empty (common after seed).
@@ -497,5 +508,5 @@ interface AXMOrganizationManagementTeamMemberRoleEntityModel extends AXPEntityMo
497
508
  title: AXPMultiLanguageString;
498
509
  }
499
510
 
500
- export { AXMOrganizationManagementCommandKeys, AXMOrganizationManagementServerCommands, AXM_HCM_POSITION_ASSIGNMENT_ASSIGN_COMMAND, AXM_HCM_POSITION_ASSIGNMENT_REVOKE_COMMAND, AXM_ORG_CHART_STRUCTURE_SCHEMA_VERSION, AXPOrganizationManagementFeatureKeys, AXPOrganizationManagementMenuKeys, AXPOrganizationManagementPermissionKeys, AXPOrganizationManagementSettings, AXPPeopleOrganizationPermissionKeys, AXP_ORGANIZATION_COPYRIGHT_TEXT_DEFAULT, COMPANY_EMAIL_ORG_SETTING_KEYS, JOB_DEFINITION_RESPONSIBILITIES_PAGE_COMPONENT_KEY, JOB_DEFINITION_SKILLS_PAGE_COMPONENT_KEY, RootConfig, buildCompanyEmailMergeDefaults, buildCompanyEmailMergeFromOrganization, buildCompanyLogoFileDownloadPath, configureOrgChartMergedBusinessUnitId, getOrgChartMergedBusinessUnitId };
511
+ export { AXMOrganizationManagementCommandKeys, AXMOrganizationManagementServerCommands, AXM_HCM_POSITION_ASSIGNMENT_ASSIGN_COMMAND, AXM_HCM_POSITION_ASSIGNMENT_REVOKE_COMMAND, AXM_ORG_CHART_STRUCTURE_SCHEMA_VERSION, AXPOrganizationManagementFeatureKeys, AXPOrganizationManagementMenuKeys, AXPOrganizationManagementPermissionKeys, AXPOrganizationManagementSettings, AXPPeopleOrganizationPermissionKeys, AXP_ORGANIZATION_COPYRIGHT_TEXT_DEFAULT, COMPANY_EMAIL_ORG_SETTING_KEYS, JOB_DEFINITION_RESPONSIBILITIES_PAGE_COMPONENT_KEY, JOB_DEFINITION_SKILLS_PAGE_COMPONENT_KEY, RootConfig, buildCompanyEmailMergeDefaults, buildCompanyEmailMergeFromOrganization, buildCompanyLogoFileDownloadPath, configureOrgChartMergedBusinessUnitId, extractCompanyLogoFileId, getOrgChartMergedBusinessUnitId };
501
512
  export type { AXMOrgChartStructurePayload, AXMOrganizationManagementBusinessUnitEntityModel, AXMOrganizationManagementBusinessUnitTypeEntityModel, AXMOrganizationManagementChartEntityModel, AXMOrganizationManagementChartNodeEntityModel, AXMOrganizationManagementCompanyEntityModel, AXMOrganizationManagementJobDefinitionEntityModel, AXMOrganizationManagementJobLevelEntityModel, AXMOrganizationManagementPositionEntityModel, AXMOrganizationManagementResponsibilityEntityModel, AXMOrganizationManagementResponsibilityLevelEntityModel, AXMOrganizationManagementTeamBusinessUnitEntityModel, AXMOrganizationManagementTeamEntityModel, AXMOrganizationManagementTeamMemberEntityModel, AXMOrganizationManagementTeamMemberRoleEntityModel, BuildCompanyEmailMergeInput, CompanyEmailTenantSnapshot };
@@ -0,0 +1,12 @@
1
+ import * as _angular_core from '@angular/core';
2
+ export { organizationManagementLocalEntityCatalog } from '@acorex-platform/module-organization-management-client/contracts/entity-catalog';
3
+
4
+ /**
5
+ * Registers organization-management layouts on the client from packaged factories.
6
+ * Each `import()` targets a secondary entry so unused entities stay out of the
7
+ * bundle. Do not add this to the demo app; demo continues to load layouts via
8
+ * `Domain:GetEntityLayout`.
9
+ */
10
+ declare function provideOrganizationManagementLocalEntities(): _angular_core.EnvironmentProviders;
11
+
12
+ export { provideOrganizationManagementLocalEntities };