@masterteam/delegations 0.0.47 → 0.0.49

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.47",
3
+ "version": "0.0.49",
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.17",
24
- "@masterteam/components": "^0.0.197",
25
- "@masterteam/forms": "^0.0.96"
23
+ "@masterteam/forms": "^0.0.119",
24
+ "@masterteam/components": "^0.0.230",
25
+ "@masterteam/icons": "^0.0.17"
26
26
  },
27
27
  "sideEffects": false,
28
28
  "exports": {
@@ -428,7 +428,7 @@ declare class TopbarDelegationMenu implements OnInit {
428
428
  protected readonly executedBy: _angular_core.Signal<_masterteam_delegations.DelegationParty | null>;
429
429
  /** Per-instance guard; the persisted `facade.prompted()` guards across refresh. */
430
430
  private localPrompted;
431
- protected readonly mode: _angular_core.Signal<"active" | "candidates" | "hidden">;
431
+ protected readonly mode: _angular_core.Signal<"candidates" | "active" | "hidden">;
432
432
  constructor();
433
433
  ngOnInit(): void;
434
434
  /** Two-letter initials for a delegator avatar (matches the user-menu pattern). */
@@ -464,7 +464,7 @@ declare class DelegationMenuPanel {
464
464
  protected readonly hasCandidates: _angular_core.Signal<boolean>;
465
465
  protected readonly onBehalfOf: _angular_core.Signal<_masterteam_delegations.DelegationParty | null>;
466
466
  protected readonly executedBy: _angular_core.Signal<_masterteam_delegations.DelegationParty | null>;
467
- protected readonly mode: _angular_core.Signal<"active" | "candidates" | "hidden">;
467
+ protected readonly mode: _angular_core.Signal<"candidates" | "active" | "hidden">;
468
468
  /** Two-letter initials for a delegator avatar (matches the user-menu pattern). */
469
469
  protected initials(party: DelegationRow['delegator'] | null | undefined): string;
470
470
  protected start(row: DelegationRow, event: MouseEvent): void;
@@ -724,6 +724,10 @@ declare class DelegationForm implements OnInit {
724
724
  context: HttpContext;
725
725
  protected readonly scope: _angular_core.WritableSignal<DelegationScopeSelection>;
726
726
  protected readonly currentDelegator: _angular_core.WritableSignal<DelegationFormUserValue | null>;
727
+ /** Floor for both date pickers — captured once so it doesn't drift on recompute. */
728
+ protected readonly now: _angular_core.WritableSignal<Date>;
729
+ /** Currently-chosen start date, used to floor the end-date picker. */
730
+ protected readonly selectedStartDate: _angular_core.Signal<Date | undefined>;
727
731
  /** Selected delegator id drives scope/options loading and the admin payload. */
728
732
  protected readonly selectedDelegatorId: _angular_core.Signal<string | undefined>;
729
733
  /** Admin mode waits for a chosen delegator; self-service always has one. */