@acorex-platform/module-organization-management-client 0.0.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/acorex-platform-module-organization-management-client-acorex-platform-module-organization-management-client-Dn8Ss1nL.mjs +433 -0
- package/fesm2022/acorex-platform-module-organization-management-client-acorex-platform-module-organization-management-client-Dn8Ss1nL.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-organization-management-client-add-business-unit-to-business-unit.command-CA2uZQyC.mjs +161 -0
- package/fesm2022/acorex-platform-module-organization-management-client-add-business-unit-to-business-unit.command-CA2uZQyC.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-organization-management-client-add-position-to-business-unit.command-F7jD3jKs.mjs +137 -0
- package/fesm2022/acorex-platform-module-organization-management-client-add-position-to-business-unit.command-F7jD3jKs.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-organization-management-client-add-team-to-business-unit.command-BLQFjhS5.mjs +127 -0
- package/fesm2022/acorex-platform-module-organization-management-client-add-team-to-business-unit.command-BLQFjhS5.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts.mjs +468 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-organization-management-client-feature-definition.provider-BQKtvXOM.mjs +19 -0
- package/fesm2022/acorex-platform-module-organization-management-client-feature-definition.provider-BQKtvXOM.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-organization-management-client-generate-org-chart.command-DJnFJKuo.mjs +91 -0
- package/fesm2022/acorex-platform-module-organization-management-client-generate-org-chart.command-DJnFJKuo.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-organization-management-client-job-definition-matrix-page.utils-DD3jLujN.mjs +61 -0
- package/fesm2022/acorex-platform-module-organization-management-client-job-definition-matrix-page.utils-DD3jLujN.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-organization-management-client-job-definition-pages-component.provider-BNhXJfjr.mjs +28 -0
- package/fesm2022/acorex-platform-module-organization-management-client-job-definition-pages-component.provider-BNhXJfjr.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-organization-management-client-job-definition-responsibilities-page.component-BlUzsSy3.mjs +237 -0
- package/fesm2022/acorex-platform-module-organization-management-client-job-definition-responsibilities-page.component-BlUzsSy3.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-organization-management-client-job-definition-skills-page.component--pyAaXB4.mjs +233 -0
- package/fesm2022/acorex-platform-module-organization-management-client-job-definition-skills-page.component--pyAaXB4.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-organization-management-client-menu.provider-BgRoEC48.mjs +175 -0
- package/fesm2022/acorex-platform-module-organization-management-client-menu.provider-BgRoEC48.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-organization-management-client-org-chart-default-node-contribution.provider-BQ0ihb43.mjs +229 -0
- package/fesm2022/acorex-platform-module-organization-management-client-org-chart-default-node-contribution.provider-BQ0ihb43.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-organization-management-client-org-chart-employee-flyout-contribution.provider-Bz8nVm04.mjs +179 -0
- package/fesm2022/acorex-platform-module-organization-management-client-org-chart-employee-flyout-contribution.provider-Bz8nVm04.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-organization-management-client-org-chart-position-employee-node-contribution.provider-BTicXn9n.mjs +168 -0
- package/fesm2022/acorex-platform-module-organization-management-client-org-chart-position-employee-node-contribution.provider-BTicXn9n.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-organization-management-client-org-chart-ux-node-contribution.provider-C5TItnOp.mjs +338 -0
- package/fesm2022/acorex-platform-module-organization-management-client-org-chart-ux-node-contribution.provider-C5TItnOp.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-organization-management-client-org-chart.page-g_3oPPH0.mjs +3744 -0
- package/fesm2022/acorex-platform-module-organization-management-client-org-chart.page-g_3oPPH0.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-organization-management-client-permission-definition.provider-CiCdTBGo.mjs +43 -0
- package/fesm2022/acorex-platform-module-organization-management-client-permission-definition.provider-CiCdTBGo.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-organization-management-client-remove-position-from-business-unit.command-BFQVTpfy.mjs +91 -0
- package/fesm2022/acorex-platform-module-organization-management-client-remove-position-from-business-unit.command-BFQVTpfy.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-organization-management-client-replace-position-assignee.command-CSgERqLG.mjs +64 -0
- package/fesm2022/acorex-platform-module-organization-management-client-replace-position-assignee.command-CSgERqLG.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-organization-management-client-responsibilities-matrix-widget-edit.component-DHmUxlnu.mjs +143 -0
- package/fesm2022/acorex-platform-module-organization-management-client-responsibilities-matrix-widget-edit.component-DHmUxlnu.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-organization-management-client-responsibilities-matrix-widget-view.component-BkLZhXhM.mjs +65 -0
- package/fesm2022/acorex-platform-module-organization-management-client-responsibilities-matrix-widget-view.component-BkLZhXhM.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-organization-management-client-responsibilities-matrix.component-DqO6xE2p.mjs +400 -0
- package/fesm2022/acorex-platform-module-organization-management-client-responsibilities-matrix.component-DqO6xE2p.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-organization-management-client-settings.provider-Dnrkq9Ku.mjs +432 -0
- package/fesm2022/acorex-platform-module-organization-management-client-settings.provider-Dnrkq9Ku.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-organization-management-client.mjs +2 -0
- package/fesm2022/acorex-platform-module-organization-management-client.mjs.map +1 -0
- package/package.json +28 -0
- package/types/acorex-platform-module-organization-management-client-contracts.d.ts +501 -0
- package/types/acorex-platform-module-organization-management-client.d.ts +273 -0
|
@@ -0,0 +1,273 @@
|
|
|
1
|
+
import { AXPMultiLanguageString, AXPEntityReference } from '@acorex-platform/framework-shared/core';
|
|
2
|
+
import { AXStyleColorType } from '@acorex/cdk/common';
|
|
3
|
+
import * as i0 from '@angular/core';
|
|
4
|
+
import { InjectionToken } from '@angular/core';
|
|
5
|
+
import * as i1 from '@angular/common';
|
|
6
|
+
import * as i2 from '@acorex-platform/framework-client/layout/widget-core';
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Chart node data types for organization chart.
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Chart nodes use {@link AXPMultiLanguageString} for every user-visible string on the card
|
|
14
|
+
* (`title`, `subtitle`, `description`) so stored chart JSON and the UI respect locale.
|
|
15
|
+
*
|
|
16
|
+
* - Prefer **locale maps** `{ 'en-US': '…', 'fa-IR': '…' }` (see `createMultiLanguageString` in platform core).
|
|
17
|
+
* - A **plain string** is allowed as a narrow fallback; the resolver treats it as the value for any locale.
|
|
18
|
+
* - **`metadata`** fields that are shown in templates must also be `AXPMultiLanguageString` (or plain string
|
|
19
|
+
* with the same rules), not English-only literals baked into feature code.
|
|
20
|
+
*/
|
|
21
|
+
declare enum AXMOrgChartNodeType {
|
|
22
|
+
Company = "Company",
|
|
23
|
+
BusinessUnit = "BusinessUnit",
|
|
24
|
+
Position = "Position",
|
|
25
|
+
Employee = "Employee"
|
|
26
|
+
}
|
|
27
|
+
/** Card layout for organizational (and compatible geographic) charts — see README merging strategy. */
|
|
28
|
+
type AXMOrgChartCardTemplate = 'merged-executive' | 'merged-unit' | 'merged-manager' | 'position-ic' | 'employee-card' | 'compact';
|
|
29
|
+
/** Structured head / CEO block for merged cards; `positionTitle` is always localized. */
|
|
30
|
+
interface AXMOrgChartMergedRoleBlock {
|
|
31
|
+
positionTitle: AXPMultiLanguageString;
|
|
32
|
+
positionId?: string;
|
|
33
|
+
employeeName?: string;
|
|
34
|
+
employeeId?: string;
|
|
35
|
+
vacant: boolean;
|
|
36
|
+
}
|
|
37
|
+
declare enum AXMOrgChartCategory {
|
|
38
|
+
Company = "Company",
|
|
39
|
+
BusinessUnit = "BusinessUnit",
|
|
40
|
+
Position = "Position",
|
|
41
|
+
Employee = "Employee"
|
|
42
|
+
}
|
|
43
|
+
/** User-selectable hierarchy chart view in the organization chart page. */
|
|
44
|
+
type OrgChartMode = 'location' | 'structure' | 'reporting' | 'positionHierarchy';
|
|
45
|
+
interface AXMOrganizationNode {
|
|
46
|
+
id: string;
|
|
47
|
+
/** Primary label; must be multi-language when content is not a proper name. */
|
|
48
|
+
title: AXPMultiLanguageString;
|
|
49
|
+
/** Secondary line (e.g. head summary); use locale map when mixing labels and entity titles. */
|
|
50
|
+
subtitle?: AXPMultiLanguageString;
|
|
51
|
+
/** Body / mission text. */
|
|
52
|
+
description?: AXPMultiLanguageString;
|
|
53
|
+
isExpanded?: boolean;
|
|
54
|
+
children?: AXMOrganizationNode[];
|
|
55
|
+
icon?: string;
|
|
56
|
+
type?: AXMOrgChartNodeType;
|
|
57
|
+
parentId?: string | null;
|
|
58
|
+
entity?: AXPEntityReference;
|
|
59
|
+
/** Rich card data; any **display** field here should use `AXPMultiLanguageString` like the core node fields. */
|
|
60
|
+
metadata?: Record<string, any>;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Pill badge on org chart node cards (icon + label). {@link title} is translated in the template.
|
|
64
|
+
*/
|
|
65
|
+
interface AXMOrgChartNodeBadgeItem {
|
|
66
|
+
/** Font Awesome class segment (e.g. `fa-light fa-building`). */
|
|
67
|
+
icon: string;
|
|
68
|
+
title: AXPMultiLanguageString;
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Footer metric cell: icon, numeric or short value, and translated label.
|
|
72
|
+
*/
|
|
73
|
+
interface AXMOrgChartNodeFooterMetric {
|
|
74
|
+
icon: string;
|
|
75
|
+
/** Plain display value (formatted number or short text). */
|
|
76
|
+
value: string;
|
|
77
|
+
title: AXPMultiLanguageString;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* Injected by org chart node components to access colors, i18n labels, and expand/collapse.
|
|
82
|
+
*/
|
|
83
|
+
interface AXMOrgChartHostApi {
|
|
84
|
+
getNodeColors(color: string): Record<string, string>;
|
|
85
|
+
isNodeSelected(data: AXMOrganizationNode): boolean;
|
|
86
|
+
selectNode(data: AXMOrganizationNode): void;
|
|
87
|
+
openNodeContextMenuFromMore(event: unknown, data: AXMOrganizationNode): void;
|
|
88
|
+
readonly chartML: {
|
|
89
|
+
vacant: AXPMultiLanguageString;
|
|
90
|
+
directReports: AXPMultiLanguageString;
|
|
91
|
+
teams: AXPMultiLanguageString;
|
|
92
|
+
people: AXPMultiLanguageString;
|
|
93
|
+
positions: AXPMultiLanguageString;
|
|
94
|
+
chiefExecutive: AXPMultiLanguageString;
|
|
95
|
+
/** Business unit detail rows: unit head display name and role title from `metadata.unitHead`. */
|
|
96
|
+
buHead: AXPMultiLanguageString;
|
|
97
|
+
buPosition: AXPMultiLanguageString;
|
|
98
|
+
unitType: AXPMultiLanguageString;
|
|
99
|
+
businessUnit: AXPMultiLanguageString;
|
|
100
|
+
location: AXPMultiLanguageString;
|
|
101
|
+
code: AXPMultiLanguageString;
|
|
102
|
+
capacity: AXPMultiLanguageString;
|
|
103
|
+
level: AXPMultiLanguageString;
|
|
104
|
+
email: AXPMultiLanguageString;
|
|
105
|
+
phone: AXPMultiLanguageString;
|
|
106
|
+
employmentType: AXPMultiLanguageString;
|
|
107
|
+
workMode: AXPMultiLanguageString;
|
|
108
|
+
/** i18n key for the node “more” control (translate pipe). */
|
|
109
|
+
more: string;
|
|
110
|
+
/** i18n key when the context menu has no runnable actions. */
|
|
111
|
+
noActionsAvailable: string;
|
|
112
|
+
};
|
|
113
|
+
getTeamsMembershipCount(data: AXMOrganizationNode): number | null;
|
|
114
|
+
/** When the card body already shows the assignee (merged unit / manager seat), hide `subtitle` so it is not duplicated. */
|
|
115
|
+
shouldShowOrgCardSubtitle(data: AXMOrganizationNode): boolean;
|
|
116
|
+
/** Subtree / seat strip: BU & company snapshot stats, or `position-ic` seats (1 position; people from vacant state or subtree). */
|
|
117
|
+
getSubtreeRosterCounts(data: AXMOrganizationNode): {
|
|
118
|
+
people: number;
|
|
119
|
+
positions: number;
|
|
120
|
+
} | null;
|
|
121
|
+
/** Key-value rows for the side detail panel only (not rendered on node cards). */
|
|
122
|
+
getNodeInfoItems(data: AXMOrganizationNode): Array<{
|
|
123
|
+
label: AXPMultiLanguageString;
|
|
124
|
+
value: string;
|
|
125
|
+
}>;
|
|
126
|
+
toggleNode(data: AXMOrganizationNode, el?: HTMLDivElement | null): void;
|
|
127
|
+
/** Shows or hides the chart detail panel. */
|
|
128
|
+
toggleDetailPanel(): void;
|
|
129
|
+
/**
|
|
130
|
+
* Sets explicit expand/collapse for a branch and redraws the chart.
|
|
131
|
+
* @param expanded When false, children are hidden on the next layout (`isExpanded === false`).
|
|
132
|
+
*/
|
|
133
|
+
setNodeBranchExpanded(data: AXMOrganizationNode, expanded: boolean): void;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
type AXMOrgChartNodeKind = 'company-root' | 'business-unit' | 'position' | 'employee' | 'other';
|
|
137
|
+
/** Section separator for org chart context menu rows built from {@link AXMOrgChartNodeMenuAction}. */
|
|
138
|
+
type AXMOrgChartNodeMenuBreak = 'before' | 'after' | 'both';
|
|
139
|
+
interface AXMOrgChartNodeContributionContext {
|
|
140
|
+
node: AXMOrganizationNode;
|
|
141
|
+
nodeKind: AXMOrgChartNodeKind;
|
|
142
|
+
selectedMode: 'location' | 'structure' | 'reporting' | 'positionHierarchy';
|
|
143
|
+
refreshChart: () => Promise<void>;
|
|
144
|
+
/** Page host (detail panel, branch expand/collapse, selection). */
|
|
145
|
+
host: AXMOrgChartHostApi;
|
|
146
|
+
}
|
|
147
|
+
interface AXMOrgChartNodeMenuAction {
|
|
148
|
+
id: string;
|
|
149
|
+
/** i18n key (`@scope:...`) or {@link AXPMultiLanguageString} locale map (`ax-menu-item` pipes `translate` without forwarding params — use maps for interpolated copy). */
|
|
150
|
+
title: string | AXPMultiLanguageString;
|
|
151
|
+
/** Interpolation helper for contributors; the org chart host does not pipe params into menu `translate` (use `title` maps). */
|
|
152
|
+
titleParams?: Record<string, string | number>;
|
|
153
|
+
icon?: string;
|
|
154
|
+
color?: AXStyleColorType;
|
|
155
|
+
order?: number;
|
|
156
|
+
disabled?: boolean;
|
|
157
|
+
/**
|
|
158
|
+
* Section separator for this row (and for `submenuGroupId` buckets: `before` / `after` / `both` also move the
|
|
159
|
+
* parent flyout's separator relative to siblings). `before` is implemented by setting `AXMenuItem.break` on the
|
|
160
|
+
* **previous** sibling at the same level (no-op when first).
|
|
161
|
+
*/
|
|
162
|
+
break?: AXMOrgChartNodeMenuBreak;
|
|
163
|
+
/**
|
|
164
|
+
* Adds a separator after this row. Applies at any menu level (including root when a `submenuGroupId` flyout is
|
|
165
|
+
* flattened, e.g. Employee actions on an employee node). Does not set the parent bucket's trailing break; use
|
|
166
|
+
* {@link break} `after` / `both` on a member when the parent flyout row should also end a section.
|
|
167
|
+
*/
|
|
168
|
+
submenuSectionBreak?: boolean;
|
|
169
|
+
/**
|
|
170
|
+
* When true, nested under the chart **Add …** submenu (business unit kinds, add position, and similar).
|
|
171
|
+
*/
|
|
172
|
+
nestedInAddFlyout?: boolean;
|
|
173
|
+
/**
|
|
174
|
+
* Optional flyout: actions that share the same `submenuGroupId` render as children of one parent row.
|
|
175
|
+
* Use the same `submenuGroupTitle` for every member; `submenuGroupIcon` may be set on any member (first wins).
|
|
176
|
+
* On grouped members: {@link break} `after` / `both` adds a line inside the flyout below that child and sets the
|
|
177
|
+
* parent row's section break after the flyout; `before` / `both` on any member adds a line before the parent row
|
|
178
|
+
* (previous top-level sibling gets `break`). Use {@link submenuSectionBreak} for a separator after that child
|
|
179
|
+
* without affecting the parent bucket's trailing break.
|
|
180
|
+
* Cross-module chat + email on the org chart should use the communication constants in
|
|
181
|
+
* `org-chart-communication-submenu.const.ts` (`AXM_ORG_CHART_COMMUNICATION_SUBMENU_GROUP_ID`, title key, icon).
|
|
182
|
+
*/
|
|
183
|
+
submenuGroupId?: string;
|
|
184
|
+
submenuGroupTitle?: string | AXPMultiLanguageString;
|
|
185
|
+
submenuGroupIcon?: string;
|
|
186
|
+
execute: (context: AXMOrgChartNodeContributionContext) => Promise<void>;
|
|
187
|
+
}
|
|
188
|
+
interface AXMOrgChartNodeInfoContribution {
|
|
189
|
+
id: string;
|
|
190
|
+
title: AXPMultiLanguageString;
|
|
191
|
+
order?: number;
|
|
192
|
+
load: (context: AXMOrgChartNodeContributionContext) => Promise<unknown>;
|
|
193
|
+
}
|
|
194
|
+
interface AXMOrgChartNodeContributionProvider {
|
|
195
|
+
getMenuActions(context: AXMOrgChartNodeContributionContext): Promise<AXMOrgChartNodeMenuAction[]>;
|
|
196
|
+
getInfoContributions?(context: AXMOrgChartNodeContributionContext): Promise<AXMOrgChartNodeInfoContribution[]>;
|
|
197
|
+
}
|
|
198
|
+
/**
|
|
199
|
+
* One multi-provider slot: an eager instance or a promise from a lazy provider factory (`provideLazyProvider`).
|
|
200
|
+
*/
|
|
201
|
+
type AXMOrgChartNodeContributorRef = AXMOrgChartNodeContributionProvider | Promise<AXMOrgChartNodeContributionProvider>;
|
|
202
|
+
declare const AXM_ORG_CHART_NODE_CONTRIBUTOR: InjectionToken<AXMOrgChartNodeContributorRef>;
|
|
203
|
+
|
|
204
|
+
/**
|
|
205
|
+
* Employee id for org chart **Employee** flyout actions: card occupant, unit head, top role, or an `employee` node.
|
|
206
|
+
* Returns undefined when the seat is vacant or no person is linked.
|
|
207
|
+
*/
|
|
208
|
+
declare function axmResolveOrgChartFlyoutEmployeeId(context: AXMOrgChartNodeContributionContext): string | undefined;
|
|
209
|
+
|
|
210
|
+
/**
|
|
211
|
+
* Stable {@link AXMOrgChartNodeMenuAction.submenuGroupId} for actions that target the person on a card
|
|
212
|
+
* (chief executive, unit head, seat occupant) or the {@link AXMOrgChartNodeKind} `employee` node itself.
|
|
213
|
+
* Private chat/email move here from the Communication group.
|
|
214
|
+
*/
|
|
215
|
+
declare const AXM_ORG_CHART_EMPLOYEE_SUBMENU_GROUP_ID: "organization-management.org-chart.employee-submenu";
|
|
216
|
+
/**
|
|
217
|
+
* i18n key: `organization-chart.employee-submenu.title` in `organization-management` assets.
|
|
218
|
+
*/
|
|
219
|
+
declare const AXM_ORG_CHART_EMPLOYEE_SUBMENU_TITLE_I18N_KEY: "@organization-management:organization-chart.employee-submenu.title";
|
|
220
|
+
declare const AXM_ORG_CHART_EMPLOYEE_SUBMENU_ICON: "fa-light fa-user";
|
|
221
|
+
|
|
222
|
+
/**
|
|
223
|
+
* Stable {@link AXMOrgChartNodeMenuAction.submenuGroupId} for panel toggle and branch expand/collapse.
|
|
224
|
+
*/
|
|
225
|
+
declare const AXM_ORG_CHART_LAYOUT_SUBMENU_GROUP_ID: "organization-management.org-chart.layout-submenu";
|
|
226
|
+
/**
|
|
227
|
+
* i18n key: `organization-chart.layout-submenu.title` in `organization-management` assets.
|
|
228
|
+
*/
|
|
229
|
+
declare const AXM_ORG_CHART_LAYOUT_SUBMENU_TITLE_I18N_KEY: "@organization-management:organization-chart.layout-submenu.title";
|
|
230
|
+
declare const AXM_ORG_CHART_LAYOUT_SUBMENU_ICON: "fa-light fa-sidebar";
|
|
231
|
+
|
|
232
|
+
/**
|
|
233
|
+
* Stable {@link AXMOrgChartNodeMenuAction.submenuGroupId} so chat and email extensions merge
|
|
234
|
+
* their org-chart context actions under one parent flyout.
|
|
235
|
+
*/
|
|
236
|
+
declare const AXM_ORG_CHART_COMMUNICATION_SUBMENU_GROUP_ID: "organization-management.org-chart.communication-submenu";
|
|
237
|
+
/**
|
|
238
|
+
* i18n key for the flyout parent label (`apps/.../organization-management.json`:
|
|
239
|
+
* `organization-chart.communication-submenu.title`).
|
|
240
|
+
*/
|
|
241
|
+
declare const AXM_ORG_CHART_COMMUNICATION_SUBMENU_TITLE_I18N_KEY: "@organization-management:organization-chart.communication-submenu.title";
|
|
242
|
+
/** Parent row icon when actions from multiple modules supply the same group id. */
|
|
243
|
+
declare const AXM_ORG_CHART_COMMUNICATION_SUBMENU_ICON: "fa-light fa-comments";
|
|
244
|
+
|
|
245
|
+
/**
|
|
246
|
+
* Broadcasts when persisted org chart structure was rebuilt (server regen or optional client listener template).
|
|
247
|
+
* The chart page reloads from storage when {@link structureDataRevision} increments.
|
|
248
|
+
*/
|
|
249
|
+
declare class AXMOrgChartStructureRefreshHub {
|
|
250
|
+
private readonly revision;
|
|
251
|
+
readonly structureDataRevision: i0.Signal<number>;
|
|
252
|
+
notifyStructureRebuilt(): void;
|
|
253
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXMOrgChartStructureRefreshHub, never>;
|
|
254
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXMOrgChartStructureRefreshHub>;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
/**
|
|
258
|
+
* Registers organization chart node contributors and chart-scoped commands for Organization Management.
|
|
259
|
+
*/
|
|
260
|
+
declare class AXMOrganizationChartModule {
|
|
261
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXMOrganizationChartModule, never>;
|
|
262
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXMOrganizationChartModule, never, never, never>;
|
|
263
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AXMOrganizationChartModule>;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
declare class AXMOrganizationManagementModule {
|
|
267
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXMOrganizationManagementModule, never>;
|
|
268
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXMOrganizationManagementModule, never, [typeof i1.CommonModule, typeof i2.AXPWidgetCoreModule, typeof AXMOrganizationChartModule], never>;
|
|
269
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AXMOrganizationManagementModule>;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
export { AXMOrgChartCategory, AXMOrgChartNodeType, AXMOrgChartStructureRefreshHub, AXMOrganizationManagementModule, AXM_ORG_CHART_COMMUNICATION_SUBMENU_GROUP_ID, AXM_ORG_CHART_COMMUNICATION_SUBMENU_ICON, AXM_ORG_CHART_COMMUNICATION_SUBMENU_TITLE_I18N_KEY, AXM_ORG_CHART_EMPLOYEE_SUBMENU_GROUP_ID, AXM_ORG_CHART_EMPLOYEE_SUBMENU_ICON, AXM_ORG_CHART_EMPLOYEE_SUBMENU_TITLE_I18N_KEY, AXM_ORG_CHART_LAYOUT_SUBMENU_GROUP_ID, AXM_ORG_CHART_LAYOUT_SUBMENU_ICON, AXM_ORG_CHART_LAYOUT_SUBMENU_TITLE_I18N_KEY, AXM_ORG_CHART_NODE_CONTRIBUTOR, axmResolveOrgChartFlyoutEmployeeId };
|
|
273
|
+
export type { AXMOrgChartCardTemplate, AXMOrgChartMergedRoleBlock, AXMOrgChartNodeBadgeItem, AXMOrgChartNodeContributionContext, AXMOrgChartNodeContributionProvider, AXMOrgChartNodeContributorRef, AXMOrgChartNodeFooterMetric, AXMOrgChartNodeInfoContribution, AXMOrgChartNodeKind, AXMOrgChartNodeMenuAction, AXMOrgChartNodeMenuBreak, AXMOrganizationNode, OrgChartMode };
|