@masterteam/delegations 0.0.35 → 0.0.36

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@masterteam/delegations",
3
- "version": "0.0.35",
3
+ "version": "0.0.36",
4
4
  "publishConfig": {
5
5
  "directory": "../../../dist/masterteam/delegations",
6
6
  "linkDirectory": false,
@@ -20,9 +20,9 @@
20
20
  "tailwindcss": "^4.2.2",
21
21
  "tailwindcss-primeui": "^0.6.1",
22
22
  "@ngxs/store": "^20.1.0",
23
- "@masterteam/icons": "^0.0.15",
24
23
  "@masterteam/components": "^0.0.179",
25
- "@masterteam/forms": "^0.0.81"
24
+ "@masterteam/forms": "^0.0.81",
25
+ "@masterteam/icons": "^0.0.15"
26
26
  },
27
27
  "sideEffects": false,
28
28
  "exports": {
@@ -1,9 +1,9 @@
1
- import * as _masterteam_components_entities from '@masterteam/components/entities';
2
- import { EntityUserValue } from '@masterteam/components/entities';
3
1
  import * as _masterteam_delegations from '@masterteam/delegations';
4
2
  import * as _angular_core from '@angular/core';
5
3
  import { OnInit } from '@angular/core';
6
4
  import { Popover } from 'primeng/popover';
5
+ import * as _masterteam_components_entities from '@masterteam/components/entities';
6
+ import { EntityUserValue } from '@masterteam/components/entities';
7
7
  import { PageHeaderTab } from '@masterteam/components/page-header';
8
8
  import { TableAction, TableStatusMapValue, ColumnDef } from '@masterteam/components/table';
9
9
  import { FormControl } from '@angular/forms';
@@ -11,7 +11,6 @@ import { HttpContext, HttpInterceptorFn } from '@angular/common/http';
11
11
  import { DynamicFormConfig } from '@masterteam/components';
12
12
  import { ModalRef } from '@masterteam/components/dialog';
13
13
  import { ModalService } from '@masterteam/components/modal';
14
- import { TreeNode, TreeActionEvent } from '@masterteam/components/tree';
15
14
  import * as rxjs from 'rxjs';
16
15
  import { StateContext } from '@ngxs/store';
17
16
 
@@ -74,6 +73,8 @@ interface DelegationScopeTarget {
74
73
  applicationKey: string;
75
74
  targetType: string;
76
75
  targetKey: string;
76
+ /** Backend-localized name (preferred display source in the new contract). */
77
+ name?: DelegationDisplayValue;
77
78
  parentTargetType?: string | null;
78
79
  parentTargetKey?: string | null;
79
80
  parentDisplayName?: DelegationDisplayValue;
@@ -95,6 +96,8 @@ interface DelegationScopeAction {
95
96
  applicationKey: string;
96
97
  operationKey: string;
97
98
  operationKind: string;
99
+ /** Backend-localized name (preferred display source in the new contract). */
100
+ name?: DelegationDisplayValue;
98
101
  displayName?: DelegationDisplayValue;
99
102
  displayLabel?: DelegationDisplayValue;
100
103
  operationDisplayName?: DelegationDisplayValue;
@@ -158,7 +161,60 @@ interface DelegationScopeHierarchyGroup {
158
161
  sortOrder?: number | null;
159
162
  targets: DelegationScopeHierarchyTarget[];
160
163
  }
164
+ /**
165
+ * New `scope/options` contract (doc 03): `permissions` is a Template -> Level ->
166
+ * Module hierarchy where Level and Level Module are both selectable permission
167
+ * surfaces, each carrying its own backend-filtered `operations`. `appAccessibility`
168
+ * lists optional accessibility grants with backend-localized names.
169
+ */
170
+ interface DelegationScopeModuleNode {
171
+ applicationKey: string;
172
+ targetType: string;
173
+ targetKey: string;
174
+ name?: DelegationDisplayValue;
175
+ legacyModuleId?: number | null;
176
+ levelId?: number | null;
177
+ levelModuleId?: number | null;
178
+ domainModuleId?: number | null;
179
+ targetId?: number | null;
180
+ moduleKey?: string | null;
181
+ permissionModuleType?: string | null;
182
+ permissionTargetId?: number | null;
183
+ sortOrder?: number | null;
184
+ operations?: DelegationScopeAction[] | null;
185
+ }
186
+ interface DelegationScopeLevelNode {
187
+ applicationKey: string;
188
+ targetType: string;
189
+ targetKey: string;
190
+ name?: DelegationDisplayValue;
191
+ legacyModuleId?: number | null;
192
+ levelId?: number | null;
193
+ targetId?: number | null;
194
+ permissionModuleType?: string | null;
195
+ permissionTargetId?: number | null;
196
+ sortOrder?: number | null;
197
+ operations?: DelegationScopeAction[] | null;
198
+ modules?: DelegationScopeModuleNode[] | null;
199
+ }
200
+ interface DelegationScopePermissionGroup {
201
+ groupType: string;
202
+ groupKey: string;
203
+ name?: DelegationDisplayValue;
204
+ templateId?: number | null;
205
+ sortOrder?: number | null;
206
+ levels?: DelegationScopeLevelNode[] | null;
207
+ }
208
+ interface DelegationAppAccessibility {
209
+ accessibilityGroupId?: number | null;
210
+ applicationKey: string;
211
+ accessibilityKey: string;
212
+ name?: DelegationDisplayValue;
213
+ labelKey?: string | null;
214
+ }
161
215
  interface DelegationScopeOptions {
216
+ permissions?: DelegationScopePermissionGroup[] | null;
217
+ appAccessibility?: DelegationAppAccessibility[] | null;
162
218
  hierarchy?: DelegationScopeHierarchyGroup[] | null;
163
219
  grants?: DelegationGrant[] | null;
164
220
  metadata?: Record<string, unknown>;
@@ -314,12 +370,18 @@ interface DelegationsStateModel extends LoadingStateShape<DelegationsActionKey>
314
370
  }
315
371
 
316
372
  /**
317
- * Topbar surface for the delegation runtime (doc 05, 09).
373
+ * Topbar surface + controller for the delegation runtime (doc 05, 09).
374
+ *
375
+ * Always-mounted controller: loads the delegation candidates and shows the
376
+ * post-login prompt. Visible trigger states:
377
+ * - hidden — no candidates, no active session;
378
+ * - candidates — icon button (matches sibling topbar icons) + count badge;
379
+ * - active — delegator avatar + "Acting on behalf of {delegator}".
318
380
  *
319
- * State A no candidates, no active session: renders nothing.
320
- * State B candidates exist, no active session: lets the user start a session.
321
- * State C active delegated session: shows "Acting on behalf of {delegator}" +
322
- * "Executed by {actual user}", plus Back / Switch.
381
+ * The popover content is the shared {@link DelegationMenuPanel}, which can also
382
+ * be embedded directly in a host menu (e.g. the user-avatar dropdown). Set
383
+ * `headless` to keep this controller mounted (loading + prompt) while rendering
384
+ * the panel elsewhere.
323
385
  */
324
386
  declare class TopbarDelegationMenu implements OnInit {
325
387
  /** Path to the management page, e.g. `/control-panel/delegations` or `/delegations`. */
@@ -327,10 +389,16 @@ declare class TopbarDelegationMenu implements OnInit {
327
389
  readonly compact: _angular_core.InputSignal<boolean>;
328
390
  readonly showManageLink: _angular_core.InputSignal<boolean>;
329
391
  readonly promptOnCandidates: _angular_core.InputSignal<boolean>;
392
+ /**
393
+ * Render no visible trigger/popover but keep loading candidates + the prompt.
394
+ * Use when the delegation menu is embedded elsewhere (e.g. the user dropdown
395
+ * via {@link DelegationMenuPanel}).
396
+ */
397
+ readonly headless: _angular_core.InputSignal<boolean>;
330
398
  private readonly facade;
331
399
  private readonly modal;
332
400
  private readonly transloco;
333
- protected readonly popover: _angular_core.Signal<Popover>;
401
+ protected readonly popover: _angular_core.Signal<Popover | undefined>;
334
402
  protected readonly active: _angular_core.Signal<_masterteam_delegations.ActiveDelegationSession | null>;
335
403
  protected readonly candidates: _angular_core.Signal<DelegationRow[]>;
336
404
  protected readonly hasCandidates: _angular_core.Signal<boolean>;
@@ -340,16 +408,49 @@ declare class TopbarDelegationMenu implements OnInit {
340
408
  protected readonly mode: _angular_core.Signal<"active" | "candidates" | "hidden">;
341
409
  constructor();
342
410
  ngOnInit(): void;
343
- protected formatScopeSummary(summary: DelegationRow['scopeSummary']): string;
344
- protected userEntity(party: DelegationRow['delegator'] | null | undefined, showEmail?: boolean): _masterteam_components_entities.EntityData;
411
+ /** Two-letter initials for a delegator avatar (matches the user-menu pattern). */
412
+ protected initials(party: DelegationRow['delegator'] | null | undefined): string;
345
413
  togglePopover(event: Event): void;
346
- start(row: DelegationRow, event: MouseEvent): void;
347
- switchTo(row: DelegationRow, event: MouseEvent): void;
348
- endSession(event: MouseEvent): void;
414
+ closePopover(): void;
349
415
  private openConfirm;
350
416
  private openCandidatesPrompt;
351
417
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<TopbarDelegationMenu, never>;
352
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<TopbarDelegationMenu, "mt-topbar-delegation-menu", never, { "managePath": { "alias": "managePath"; "required": false; "isSignal": true; }; "compact": { "alias": "compact"; "required": false; "isSignal": true; }; "showManageLink": { "alias": "showManageLink"; "required": false; "isSignal": true; }; "promptOnCandidates": { "alias": "promptOnCandidates"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
418
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<TopbarDelegationMenu, "mt-topbar-delegation-menu", never, { "managePath": { "alias": "managePath"; "required": false; "isSignal": true; }; "compact": { "alias": "compact"; "required": false; "isSignal": true; }; "showManageLink": { "alias": "showManageLink"; "required": false; "isSignal": true; }; "promptOnCandidates": { "alias": "promptOnCandidates"; "required": false; "isSignal": true; }; "headless": { "alias": "headless"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
419
+ }
420
+
421
+ /**
422
+ * Embeddable delegation menu content (doc 05, 09): renders the candidate /
423
+ * active-session rows and the start / switch / end actions, with no trigger of
424
+ * its own. Designed to be dropped inside a host menu (e.g. the user-avatar
425
+ * dropdown) or the topbar popover. Reads the shared `DelegationSessionFacade`
426
+ * signals; candidate loading + the post-login prompt stay in the always-mounted
427
+ * `TopbarDelegationMenu` controller.
428
+ *
429
+ * Emits `closeRequested` after any action so the host overlay can dismiss.
430
+ */
431
+ declare class DelegationMenuPanel {
432
+ /** Path to the management page, e.g. `/control-panel/delegations` or `/delegations`. */
433
+ readonly managePath: _angular_core.InputSignal<string>;
434
+ readonly showManageLink: _angular_core.InputSignal<boolean>;
435
+ readonly closeRequested: _angular_core.OutputEmitterRef<void>;
436
+ private readonly facade;
437
+ private readonly modal;
438
+ private readonly transloco;
439
+ protected readonly active: _angular_core.Signal<_masterteam_delegations.ActiveDelegationSession | null>;
440
+ protected readonly candidates: _angular_core.Signal<DelegationRow[]>;
441
+ protected readonly hasCandidates: _angular_core.Signal<boolean>;
442
+ protected readonly onBehalfOf: _angular_core.Signal<_masterteam_delegations.DelegationParty | null>;
443
+ protected readonly executedBy: _angular_core.Signal<_masterteam_delegations.DelegationParty | null>;
444
+ protected readonly mode: _angular_core.Signal<"active" | "candidates" | "hidden">;
445
+ /** Two-letter initials for a delegator avatar (matches the user-menu pattern). */
446
+ protected initials(party: DelegationRow['delegator'] | null | undefined): string;
447
+ protected start(row: DelegationRow, event: MouseEvent): void;
448
+ protected switchTo(row: DelegationRow, event: MouseEvent): void;
449
+ protected endSession(event: MouseEvent): void;
450
+ protected onManage(): void;
451
+ private openConfirm;
452
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<DelegationMenuPanel, never>;
453
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<DelegationMenuPanel, "mt-delegation-menu-panel", never, { "managePath": { "alias": "managePath"; "required": false; "isSignal": true; }; "showManageLink": { "alias": "showManageLink"; "required": false; "isSignal": true; }; }, { "closeRequested": "closeRequested"; }, never, never, true, never>;
353
454
  }
354
455
 
355
456
  interface StatusVisual {
@@ -493,6 +594,11 @@ declare class DelegationsList implements OnInit {
493
594
  protected readonly emptyStateKey: _angular_core.Signal<string>;
494
595
  protected readonly tableActions: _angular_core.Signal<TableAction[]>;
495
596
  protected readonly rowActions: _angular_core.WritableSignal<TableAction[]>;
597
+ /**
598
+ * Table status accent colors. Kept in visual sync with the canonical palette
599
+ * in `delegation-status-chip` (its light-mode text colors) so the list table
600
+ * and the status chip render the same hue for each status.
601
+ */
496
602
  private readonly statusColors;
497
603
  protected readonly statusMap: _angular_core.WritableSignal<Record<DelegationEffectiveStatus, TableStatusMapValue>>;
498
604
  protected readonly tableColumns: _angular_core.WritableSignal<ColumnDef[]>;
@@ -587,16 +693,17 @@ declare class DelegationDetailDrawer implements OnInit {
587
693
  private readonly facade;
588
694
  private readonly transloco;
589
695
  protected readonly ref: ModalRef;
590
- protected readonly tabs: {
591
- key: DetailTab;
592
- i18n: string;
593
- }[];
594
696
  protected readonly activeTab: _angular_core.WritableSignal<DetailTab>;
697
+ protected readonly tabOptions: _angular_core.Signal<{
698
+ value: DetailTab;
699
+ label: string;
700
+ }[]>;
701
+ private readonly weekdayKeys;
595
702
  protected readonly isLoading: _angular_core.Signal<boolean>;
596
703
  protected readonly detail: _angular_core.Signal<_masterteam_delegations.DelegationDetail | null>;
597
704
  protected readonly row: _angular_core.Signal<_masterteam_delegations.DelegationRow | null>;
598
705
  ngOnInit(): void;
599
- protected setTab(tab: DetailTab): void;
706
+ protected formatSpecificDays(days: readonly number[] | null | undefined): string;
600
707
  protected approvalLabel(): string;
601
708
  protected getScopeTargetLabel(target: DelegationScopeTarget): string;
602
709
  protected getScopeActionLabel(action: DelegationScopeAction): string;
@@ -606,29 +713,29 @@ declare class DelegationDetailDrawer implements OnInit {
606
713
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<DelegationDetailDrawer, "mt-delegation-detail-drawer", never, { "delegationId": { "alias": "delegationId"; "required": true; "isSignal": true; }; "adminMode": { "alias": "adminMode"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
607
714
  }
608
715
 
609
- interface DelegationGrantableTargetGroup {
610
- key: string;
611
- target: DelegationScopeTarget;
612
- grants: DelegationGrant[];
613
- sortOrder: number;
614
- }
615
- interface DelegationGrantableHierarchyGroup {
716
+ type DelegationScopeNodeKind = 'template' | 'level' | 'module' | 'operation';
717
+ interface DelegationScopeTreeNode {
616
718
  key: string;
617
- groupType: string;
719
+ kind: DelegationScopeNodeKind;
618
720
  displayName?: DelegationDisplayValue;
619
- sortOrder: number;
620
- targets: DelegationGrantableTargetGroup[];
721
+ fallbackKey?: string | null;
722
+ isHighRisk?: boolean;
723
+ /** Present only on operation leaves — the explicit grant to persist/preview. */
724
+ grant?: DelegationGrant;
725
+ children?: DelegationScopeTreeNode[];
621
726
  }
622
727
 
728
+ type NodeCheckState = 'checked' | 'indeterminate' | 'unchecked';
623
729
  /**
624
730
  * Hierarchy-based scope picker (doc 03). Driven entirely by `scope/options`:
625
- * - renders backend-owned Level -> Level Module -> operations hierarchy,
626
- * - lets the user toggle each explicit grant,
731
+ * - renders the backend-owned Template -> Level -> Module -> operation tree as a
732
+ * clean, accessible checkbox tree (parents propagate to descendant operations),
733
+ * - offers optional app-accessibility grants,
627
734
  * - calls `scope/preview` (debounced) and surfaces summary / warnings / denied.
628
735
  *
629
- * `[(scope)]` two-way binds a `DelegationScopeSelection`. The component never
630
- * invents permission metadata it only echoes targets/actions returned by
631
- * options.
736
+ * `[(scope)]` two-way binds a `DelegationScopeSelection`. Scope grants are the
737
+ * single source of truth for selection; the component never invents permission
738
+ * metadata — it only echoes targets/actions/accessibilities returned by options.
632
739
  */
633
740
  declare class ScopePicker {
634
741
  readonly scope: _angular_core.ModelSignal<DelegationScopeSelection>;
@@ -647,25 +754,42 @@ declare class ScopePicker {
647
754
  protected readonly isLoadingOptions: _angular_core.Signal<boolean>;
648
755
  protected readonly isPreviewing: _angular_core.Signal<boolean>;
649
756
  protected readonly errorOptions: _angular_core.Signal<string | null>;
650
- protected readonly groups: _angular_core.Signal<DelegationGrantableHierarchyGroup[]>;
651
757
  protected readonly activeLang: _angular_core.Signal<string>;
652
- /** Selected grant keys for O(1) checkbox state. */
653
- protected readonly selectedKeys: _angular_core.Signal<Set<string>>;
654
- protected readonly treeSelection: _angular_core.WritableSignal<TreeNode<any>[] | null>;
655
- protected readonly treeNodes: _angular_core.Signal<TreeNode<any>[]>;
758
+ protected readonly treeModel: _angular_core.Signal<DelegationScopeTreeNode[]>;
759
+ protected readonly hasOptions: _angular_core.Signal<boolean>;
656
760
  protected readonly grantIndex: _angular_core.Signal<Map<string, DelegationGrant>>;
761
+ /** nodeKey -> all descendant operation-leaf keys (self for operation nodes). */
762
+ protected readonly opKeyMap: _angular_core.Signal<Map<string, string[]>>;
763
+ /** Stable operation-node keys for the current scope grants. */
764
+ protected readonly selectedKeys: _angular_core.Signal<Set<string>>;
765
+ protected readonly selectedCount: _angular_core.Signal<number>;
766
+ protected readonly searchTerm: _angular_core.WritableSignal<string>;
767
+ protected readonly expandedKeys: _angular_core.WritableSignal<Set<string>>;
768
+ protected readonly filteredTree: _angular_core.Signal<DelegationScopeTreeNode[]>;
769
+ protected readonly appAccessibilities: _angular_core.Signal<DelegationAppAccessibility[]>;
770
+ protected readonly selectedAccessibilityKeys: _angular_core.WritableSignal<Set<string>>;
771
+ protected readonly selectedAccessibilityCount: _angular_core.Signal<number>;
772
+ protected readonly hasAccessibility: _angular_core.Signal<boolean>;
773
+ /** Inner view switch: permission tree vs app-accessibility grants. */
774
+ protected readonly activeScopeTab: _angular_core.WritableSignal<"permissions" | "accessibility">;
657
775
  constructor();
658
- protected onTreeAction(event: TreeActionEvent): void;
776
+ protected isExpanded(node: DelegationScopeTreeNode): boolean;
777
+ protected toggleExpand(node: DelegationScopeTreeNode): void;
778
+ protected hasChildren(node: DelegationScopeTreeNode): boolean;
779
+ protected nodeState(node: DelegationScopeTreeNode): NodeCheckState;
780
+ protected onRowClick(node: DelegationScopeTreeNode): void;
781
+ protected toggle(node: DelegationScopeTreeNode): void;
782
+ private applySelection;
783
+ protected clearSelection(): void;
784
+ protected toggleAccessibility(key: string): void;
785
+ protected isAccessibilitySelected(key: string): boolean;
786
+ private accessibilityFacts;
787
+ protected nodeLabel(node: DelegationScopeTreeNode): string;
788
+ protected accessibilityLabel(item: DelegationAppAccessibility): string;
659
789
  protected getPreviewSummary(summary: DelegationDisplayValue | undefined): string;
660
790
  protected formatDeniedOperation(value?: string | null): string;
661
791
  protected formatDeniedTarget(value?: string | null): string;
662
- protected groupTargetCount(group: DelegationGrantableHierarchyGroup): number;
663
- protected targetGrantCount(targetGroup: DelegationGrantableTargetGroup): number;
664
- private buildTreeNodes;
665
- private buildTargetNode;
666
- private getGroupLabel;
667
- private getTargetLabel;
668
- private getActionLabel;
792
+ protected trackNode(_index: number, node: DelegationScopeTreeNode): string;
669
793
  private currentLanguage;
670
794
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ScopePicker, never>;
671
795
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<ScopePicker, "mt-scope-picker", never, { "scope": { "alias": "scope"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "adminMode": { "alias": "adminMode"; "required": false; "isSignal": true; }; "delegatorUserId": { "alias": "delegatorUserId"; "required": false; "isSignal": true; }; }, { "scope": "scopeChange"; }, never, never, true, never>;
@@ -969,5 +1093,5 @@ declare class DelegationSessionFacade {
969
1093
  static ɵprov: _angular_core.ɵɵInjectableDeclaration<DelegationSessionFacade>;
970
1094
  }
971
1095
 
972
- export { ApproveDelegation, CancelDelegation, ClearDelegationDetail, ClearScopePreview, CreateDelegationLegacy, CreateDelegationV2, DelegationDetailDrawer, DelegationForm, DelegationSessionActionKey, DelegationSessionFacade, DelegationSessionState, DelegationStatusChip, Delegations, DelegationsActionKey, DelegationsFacade, DelegationsList, DelegationsState, EndDelegationSession, GetActiveAssignedDelegations, GetAdminDelegations, GetApprovalDelegations, GetAssignedDelegations, GetDelegationDetail, GetMyDelegations, GetScopeOptions, LoadDelegationCandidates, PreviewScope, RejectDelegation, RejectDelegationDialog, ScopePicker, StartDelegationSession, StartSessionDialog, SwitchDelegationSession, TopbarDelegationMenu, UpdateDelegationLegacy, UpdateDelegationV2, appDelegationInterceptor };
973
- export type { ActiveDelegationSession, AdminCreateDelegationV2Request, AdminUpdateDelegationV2Request, ApproveDelegationRequest, CreateDelegationLegacyRequest, CreateDelegationV2Request, DelegationAllowedAction, DelegationApprovalInfo, DelegationApprovalStatus, DelegationCancellationInfo, DelegationDayRuleMode, DelegationDetail, DelegationDisplayValue, DelegationDto, DelegationEffectiveStatus, DelegationGrant, DelegationListQuery, DelegationPage, DelegationParty, DelegationRow, DelegationScopeAction, DelegationScopeCombinationRule, DelegationScopeDeniedItem, DelegationScopeFact, DelegationScopeHierarchyGroup, DelegationScopeHierarchyTarget, DelegationScopeOptions, DelegationScopePreview, DelegationScopePreviewRequest, DelegationScopeSelection, DelegationScopeTarget, DelegationScopeWarning, DelegationSessionInvalidationReason, DelegationSessionStateModel, DelegationSortDirection, DelegationStatusInfo, DelegationsStateModel, RejectDelegationRequest, UpdateDelegationLegacyRequest, UpdateDelegationV2Request };
1096
+ export { ApproveDelegation, CancelDelegation, ClearDelegationDetail, ClearScopePreview, CreateDelegationLegacy, CreateDelegationV2, DelegationDetailDrawer, DelegationForm, DelegationMenuPanel, DelegationSessionActionKey, DelegationSessionFacade, DelegationSessionState, DelegationStatusChip, Delegations, DelegationsActionKey, DelegationsFacade, DelegationsList, DelegationsState, EndDelegationSession, GetActiveAssignedDelegations, GetAdminDelegations, GetApprovalDelegations, GetAssignedDelegations, GetDelegationDetail, GetMyDelegations, GetScopeOptions, LoadDelegationCandidates, PreviewScope, RejectDelegation, RejectDelegationDialog, ScopePicker, StartDelegationSession, StartSessionDialog, SwitchDelegationSession, TopbarDelegationMenu, UpdateDelegationLegacy, UpdateDelegationV2, appDelegationInterceptor };
1097
+ export type { ActiveDelegationSession, AdminCreateDelegationV2Request, AdminUpdateDelegationV2Request, ApproveDelegationRequest, CreateDelegationLegacyRequest, CreateDelegationV2Request, DelegationAllowedAction, DelegationAppAccessibility, DelegationApprovalInfo, DelegationApprovalStatus, DelegationCancellationInfo, DelegationDayRuleMode, DelegationDetail, DelegationDisplayValue, DelegationDto, DelegationEffectiveStatus, DelegationGrant, DelegationListQuery, DelegationPage, DelegationParty, DelegationRow, DelegationScopeAction, DelegationScopeCombinationRule, DelegationScopeDeniedItem, DelegationScopeFact, DelegationScopeHierarchyGroup, DelegationScopeHierarchyTarget, DelegationScopeLevelNode, DelegationScopeModuleNode, DelegationScopeOptions, DelegationScopePermissionGroup, DelegationScopePreview, DelegationScopePreviewRequest, DelegationScopeSelection, DelegationScopeTarget, DelegationScopeWarning, DelegationSessionInvalidationReason, DelegationSessionStateModel, DelegationSortDirection, DelegationStatusInfo, DelegationsStateModel, RejectDelegationRequest, UpdateDelegationLegacyRequest, UpdateDelegationV2Request };