@masterteam/delegations 0.0.51 → 0.0.53
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.
|
|
3
|
+
"version": "0.0.53",
|
|
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.
|
|
24
|
-
"@masterteam/
|
|
25
|
-
"@masterteam/
|
|
23
|
+
"@masterteam/components": "^0.0.255",
|
|
24
|
+
"@masterteam/icons": "^0.0.17",
|
|
25
|
+
"@masterteam/forms": "^0.0.130"
|
|
26
26
|
},
|
|
27
27
|
"sideEffects": false,
|
|
28
28
|
"exports": {
|
|
@@ -46,4 +46,4 @@
|
|
|
46
46
|
"dependencies": {
|
|
47
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<"
|
|
437
|
+
protected readonly mode: _angular_core.Signal<"hidden" | "active" | "candidates">;
|
|
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<"
|
|
477
|
+
protected readonly mode: _angular_core.Signal<"hidden" | "active" | "candidates">;
|
|
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
|
|
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;
|