@masterteam/delegations 0.0.27 → 0.0.28
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.28",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"directory": "../../../dist/masterteam/delegations",
|
|
6
6
|
"linkDirectory": false,
|
|
@@ -20,8 +20,8 @@
|
|
|
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/forms": "^0.0.81",
|
|
24
|
+
"@masterteam/icons": "^0.0.15",
|
|
25
25
|
"@masterteam/components": "^0.0.179"
|
|
26
26
|
},
|
|
27
27
|
"sideEffects": false,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as _masterteam_components_entities from '@masterteam/components/entities';
|
|
1
2
|
import * as _masterteam_delegations from '@masterteam/delegations';
|
|
2
3
|
import * as _angular_core from '@angular/core';
|
|
3
4
|
import { OnInit, TemplateRef } from '@angular/core';
|
|
@@ -337,6 +338,7 @@ declare class TopbarDelegationMenu implements OnInit {
|
|
|
337
338
|
constructor();
|
|
338
339
|
ngOnInit(): void;
|
|
339
340
|
protected formatScopeSummary(summary: DelegationRow['scopeSummary']): string;
|
|
341
|
+
protected userEntity(party: DelegationRow['delegator'] | null | undefined, showEmail?: boolean): _masterteam_components_entities.EntityData;
|
|
340
342
|
togglePopover(event: Event): void;
|
|
341
343
|
start(row: DelegationRow, event: MouseEvent): void;
|
|
342
344
|
switchTo(row: DelegationRow, event: MouseEvent): void;
|
|
@@ -375,6 +377,7 @@ declare class StartSessionDialog {
|
|
|
375
377
|
protected readonly confirmLabelKey: _angular_core.Signal<"delegations.action.switchSession" | "delegations.action.startSession">;
|
|
376
378
|
protected readonly successMessageKey: _angular_core.Signal<"delegations.session.switched" | "delegations.session.started">;
|
|
377
379
|
protected formatScopeSummary(summary: DelegationRow['scopeSummary']): string;
|
|
380
|
+
protected userEntity(party: DelegationRow['delegator']): _masterteam_components_entities.EntityData;
|
|
378
381
|
confirm(): void;
|
|
379
382
|
cancel(): void;
|
|
380
383
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<StartSessionDialog, never>;
|
|
@@ -396,6 +399,7 @@ declare class RejectDelegationDialog {
|
|
|
396
399
|
protected readonly isBusy: _angular_core.Signal<boolean>;
|
|
397
400
|
protected readonly isValid: _angular_core.Signal<boolean>;
|
|
398
401
|
protected onReasonInput(event: Event): void;
|
|
402
|
+
protected userEntity(party: DelegationRow['delegator']): _masterteam_components_entities.EntityData;
|
|
399
403
|
confirm(): void;
|
|
400
404
|
cancel(): void;
|
|
401
405
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RejectDelegationDialog, never>;
|
|
@@ -497,6 +501,7 @@ declare class DelegationsList implements OnInit {
|
|
|
497
501
|
protected has(row: DelegationRow, action: DelegationAllowedAction): boolean;
|
|
498
502
|
protected formatDays(row: DelegationRow): string;
|
|
499
503
|
protected getListedParty(row: DelegationRow): DelegationParty;
|
|
504
|
+
protected userEntity(party: DelegationParty | null | undefined): _masterteam_components_entities.EntityData;
|
|
500
505
|
private viewDetails;
|
|
501
506
|
private openForm;
|
|
502
507
|
private approve;
|
|
@@ -592,6 +597,7 @@ declare class DelegationDetailDrawer implements OnInit {
|
|
|
592
597
|
protected getScopeTargetLabel(target: DelegationScopeTarget): string;
|
|
593
598
|
protected getScopeActionLabel(action: DelegationScopeAction): string;
|
|
594
599
|
protected formatScopeSummary(summary: DelegationDisplayValue | undefined): string;
|
|
600
|
+
protected userEntity(party: DelegationParty, label?: string): _masterteam_components_entities.EntityData;
|
|
595
601
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DelegationDetailDrawer, never>;
|
|
596
602
|
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>;
|
|
597
603
|
}
|