@masterteam/delegations 0.0.29 → 0.0.31

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.29",
3
+ "version": "0.0.31",
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/components": "^0.0.179",
23
24
  "@masterteam/forms": "^0.0.81",
24
- "@masterteam/icons": "^0.0.15",
25
- "@masterteam/components": "^0.0.179"
25
+ "@masterteam/icons": "^0.0.15"
26
26
  },
27
27
  "sideEffects": false,
28
28
  "exports": {
@@ -335,7 +335,7 @@ declare class TopbarDelegationMenu implements OnInit {
335
335
  protected readonly onBehalfOf: _angular_core.Signal<_masterteam_delegations.DelegationParty | null>;
336
336
  protected readonly executedBy: _angular_core.Signal<_masterteam_delegations.DelegationParty | null>;
337
337
  private readonly promptShown;
338
- protected readonly mode: _angular_core.Signal<"active" | "candidates" | "hidden">;
338
+ protected readonly mode: _angular_core.Signal<"active" | "hidden" | "candidates">;
339
339
  constructor();
340
340
  ngOnInit(): void;
341
341
  protected formatScopeSummary(summary: DelegationRow['scopeSummary']): string;
@@ -375,7 +375,7 @@ declare class StartSessionDialog {
375
375
  private readonly transloco;
376
376
  protected readonly isBusy: _angular_core.Signal<boolean>;
377
377
  protected readonly bodyKey: _angular_core.Signal<"delegations.session.switchConfirmBody" | "delegations.session.startConfirmBody">;
378
- protected readonly confirmLabelKey: _angular_core.Signal<"delegations.action.startSession" | "delegations.action.switchSession">;
378
+ protected readonly confirmLabelKey: _angular_core.Signal<"delegations.action.switchSession" | "delegations.action.startSession">;
379
379
  protected readonly successMessageKey: _angular_core.Signal<"delegations.session.switched" | "delegations.session.started">;
380
380
  protected formatScopeSummary(summary: DelegationRow['scopeSummary']): string;
381
381
  protected userEntity(party: DelegationRow['delegator']): _masterteam_components_entities.EntityData;
@@ -444,25 +444,25 @@ declare class DelegationsList implements OnInit {
444
444
  * `withComponentInputBinding()` — admin leaves it default; client passes
445
445
  * `data: { showBreadcrumb: false }`.
446
446
  */
447
- readonly showBreadcrumb: _angular_core.InputSignal<boolean>;
447
+ readonly showBreadcrumb: _angular_core.InputSignalWithTransform<boolean, unknown>;
448
448
  /**
449
449
  * Admin routes can embed the list under `mt-delegations`, which already owns
450
450
  * the page title, back button, and route tabs.
451
451
  */
452
- readonly showPageShell: _angular_core.InputSignal<boolean>;
452
+ readonly showPageShell: _angular_core.InputSignalWithTransform<boolean, unknown>;
453
453
  /**
454
454
  * Admin-managed surface: the create/edit form also collects the Delegator /
455
455
  * From user (admin creates a delegation between two users). Client
456
456
  * self-service leaves this false. Bound from route data via
457
457
  * `withComponentInputBinding()` — admin passes `data: { adminMode: true }`.
458
458
  */
459
- readonly adminMode: _angular_core.InputSignal<boolean>;
459
+ readonly adminMode: _angular_core.InputSignalWithTransform<boolean, unknown>;
460
460
  readonly surfaceTitleKey: _angular_core.InputSignal<string>;
461
461
  readonly assignedTabLabelKey: _angular_core.InputSignal<string>;
462
- readonly assignedDecisionTab: _angular_core.InputSignal<boolean>;
462
+ readonly assignedDecisionTab: _angular_core.InputSignalWithTransform<boolean, unknown>;
463
463
  readonly assignedEmptyStateKey: _angular_core.InputSignal<string>;
464
464
  readonly assignedStatus: _angular_core.InputSignal<DelegationEffectiveStatus | null>;
465
- readonly showApprovalTab: _angular_core.InputSignal<boolean>;
465
+ readonly showApprovalTab: _angular_core.InputSignalWithTransform<boolean, unknown>;
466
466
  readonly approvalTabLabelKey: _angular_core.InputSignal<string>;
467
467
  readonly approvalEmptyStateKey: _angular_core.InputSignal<string>;
468
468
  readonly approvalStatus: _angular_core.InputSignal<DelegationEffectiveStatus>;
@@ -508,6 +508,7 @@ declare class DelegationsList implements OnInit {
508
508
  protected has(row: DelegationRow, action: DelegationAllowedAction): boolean;
509
509
  protected formatDays(row: DelegationRow): string;
510
510
  protected getListedParty(row: DelegationRow): _masterteam_delegations.DelegationParty;
511
+ private translateTab;
511
512
  private viewDetails;
512
513
  private openForm;
513
514
  private approve;