@masterteam/delegations 0.0.50 → 0.0.52

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,28 +1,28 @@
1
1
  {
2
2
  "name": "@masterteam/delegations",
3
- "version": "0.0.50",
3
+ "version": "0.0.52",
4
4
  "publishConfig": {
5
5
  "directory": "../../../dist/masterteam/delegations",
6
6
  "linkDirectory": false,
7
7
  "access": "public"
8
8
  },
9
9
  "peerDependencies": {
10
- "@angular/common": "catalog:angular21",
11
- "@angular/core": "catalog:angular21",
12
- "@angular/forms": "catalog:angular21",
13
- "@angular/cdk": "catalog:angular21",
14
- "@primeuix/themes": "catalog:",
15
- "@tailwindcss/postcss": "catalog:",
16
- "@jsverse/transloco": "catalog:i18n",
17
- "postcss": "catalog:",
18
- "primeng": "catalog:",
19
- "rxjs": "catalog:angular21",
20
- "tailwindcss": "catalog:",
21
- "tailwindcss-primeui": "catalog:",
10
+ "@angular/common": "^21.2.8",
11
+ "@angular/core": "^21.2.8",
12
+ "@angular/forms": "^21.2.8",
13
+ "@angular/cdk": "^21.2.6",
14
+ "@primeuix/themes": "^2.0.3",
15
+ "@tailwindcss/postcss": "^4.2.2",
16
+ "@jsverse/transloco": "^8.3.0",
17
+ "postcss": "^8.5.9",
18
+ "primeng": "21.1.5",
19
+ "rxjs": "^7.8.2",
20
+ "tailwindcss": "^4.2.2",
21
+ "tailwindcss-primeui": "^0.6.1",
22
22
  "@ngxs/store": "^20.1.0",
23
- "@masterteam/components": "^0.0.246",
24
- "@masterteam/forms": "^0.0.131",
25
- "@masterteam/icons": "^0.0.17"
23
+ "@masterteam/components": "^0.0.254",
24
+ "@masterteam/icons": "^0.0.17",
25
+ "@masterteam/forms": "^0.0.130"
26
26
  },
27
27
  "sideEffects": false,
28
28
  "exports": {
@@ -44,6 +44,6 @@
44
44
  "typings": "types/masterteam-delegations.d.ts",
45
45
  "type": "module",
46
46
  "dependencies": {
47
- "tslib": "catalog:angular21"
47
+ "tslib": "^2.8.1"
48
48
  }
49
- }
49
+ }
@@ -332,7 +332,6 @@ interface CreateDelegationV2Request {
332
332
  delegateToDateTime: string;
333
333
  delegationDaysType: DelegationDayRuleMode;
334
334
  specificDays?: number[];
335
- timeZoneId?: string;
336
335
  requiresApproval: boolean;
337
336
  scope: DelegationScopeSelection;
338
337
  }
@@ -344,7 +343,6 @@ interface AdminCreateDelegationV2Request {
344
343
  delegateToDateTime: string;
345
344
  delegationDaysType: DelegationDayRuleMode;
346
345
  specificDays?: number[];
347
- timeZoneId?: string;
348
346
  requiresApproval: boolean;
349
347
  scope: DelegationScopeSelection;
350
348
  }
@@ -436,7 +434,7 @@ declare class TopbarDelegationMenu implements OnInit {
436
434
  private promptPending;
437
435
  private promptRefreshQueued;
438
436
  private promptFlowOpen;
439
- protected readonly mode: _angular_core.Signal<"candidates" | "active" | "hidden">;
437
+ protected readonly mode: _angular_core.Signal<"active" | "candidates" | "hidden">;
440
438
  constructor();
441
439
  ngOnInit(): void;
442
440
  /** Two-letter initials for a delegator avatar (matches the user-menu pattern). */
@@ -476,7 +474,7 @@ declare class DelegationMenuPanel {
476
474
  protected readonly isLoadingCandidates: _angular_core.Signal<boolean>;
477
475
  protected readonly onBehalfOf: _angular_core.Signal<_masterteam_delegations.DelegationParty | null>;
478
476
  protected readonly executedBy: _angular_core.Signal<_masterteam_delegations.DelegationParty | null>;
479
- protected readonly mode: _angular_core.Signal<"candidates" | "active" | "hidden">;
477
+ protected readonly mode: _angular_core.Signal<"active" | "candidates" | "hidden">;
480
478
  /** Two-letter initials for a delegator avatar (matches the user-menu pattern). */
481
479
  protected initials(party: DelegationRow['delegator'] | null | undefined): string;
482
480
  protected start(row: DelegationRow, event: MouseEvent): void;
@@ -718,7 +716,7 @@ interface DelegationFormUserValue {
718
716
  *
719
717
  * - Delegator is server-derived; only the delegated user is collected.
720
718
  * - On edit, scope grants + rowVersion come from the loaded detail.
721
- * - Times are sent in UTC ISO alongside the browser/user IANA time zone.
719
+ * - Times are sent as UTC instants; Identity resolves the trusted user timezone.
722
720
  */
723
721
  declare class DelegationForm implements OnInit {
724
722
  readonly delegationForEdit: _angular_core.InputSignal<DelegationRow | null>;
@@ -735,7 +733,6 @@ declare class DelegationForm implements OnInit {
735
733
  ref: ModalRef;
736
734
  private readonly transloco;
737
735
  private readonly facade;
738
- private readonly runtime;
739
736
  delegationFormControl: FormControl<any>;
740
737
  formValue: _angular_core.Signal<any>;
741
738
  detail: _angular_core.Signal<_masterteam_delegations.DelegationDetail | null>;
@@ -1005,7 +1002,6 @@ interface DelegationContextChange {
1005
1002
  interface DelegationRuntimeConfig {
1006
1003
  resolveApplicationApiBaseUrl: () => string;
1007
1004
  resolvePromptNamespace: () => DelegationPromptNamespace;
1008
- resolveDefaultTimeZone: () => string;
1009
1005
  onContextChanged: (change: DelegationContextChange) => void | Promise<void>;
1010
1006
  }
1011
1007
  type DelegationRuntimeConfigFactory = () => DelegationRuntimeConfig;