@masterteam/delegations 0.0.17 → 0.0.18
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.18",
|
|
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/
|
|
23
|
+
"@masterteam/components": "^0.0.175",
|
|
24
24
|
"@masterteam/forms": "^0.0.80",
|
|
25
|
-
"@masterteam/
|
|
25
|
+
"@masterteam/icons": "^0.0.15"
|
|
26
26
|
},
|
|
27
27
|
"sideEffects": false,
|
|
28
28
|
"exports": {
|
|
@@ -77,6 +77,11 @@ interface DelegationScopeAction {
|
|
|
77
77
|
applicationKey: string;
|
|
78
78
|
operationKey: string;
|
|
79
79
|
operationKind: string;
|
|
80
|
+
displayName?: string | null;
|
|
81
|
+
displayLabel?: string | null;
|
|
82
|
+
operationDisplayName?: string | null;
|
|
83
|
+
operationLabel?: string | null;
|
|
84
|
+
label?: string | null;
|
|
80
85
|
permissionCommand?: string | null;
|
|
81
86
|
businessActionCode?: string | null;
|
|
82
87
|
isHighRisk?: boolean;
|
|
@@ -270,6 +275,8 @@ declare class StartSessionDialog {
|
|
|
270
275
|
readonly intent: _angular_core.InputSignal<"start" | "switch">;
|
|
271
276
|
private readonly ref;
|
|
272
277
|
private readonly facade;
|
|
278
|
+
private readonly toast;
|
|
279
|
+
private readonly transloco;
|
|
273
280
|
protected readonly isBusy: _angular_core.Signal<boolean>;
|
|
274
281
|
protected readonly bodyKey: _angular_core.Signal<"delegations.session.switchConfirmBody" | "delegations.session.startConfirmBody">;
|
|
275
282
|
confirm(): void;
|
|
@@ -447,6 +454,8 @@ declare class DelegationDetailDrawer implements OnInit {
|
|
|
447
454
|
ngOnInit(): void;
|
|
448
455
|
protected setTab(tab: DetailTab): void;
|
|
449
456
|
protected approvalLabel(): string;
|
|
457
|
+
protected getScopeTargetLabel(target: DelegationScopeTarget): string;
|
|
458
|
+
protected getScopeActionLabel(action: DelegationScopeAction): string;
|
|
450
459
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DelegationDetailDrawer, never>;
|
|
451
460
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DelegationDetailDrawer, "mt-delegation-detail-drawer", never, { "delegationId": { "alias": "delegationId"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
452
461
|
}
|
|
@@ -479,6 +488,7 @@ declare class ScopePicker {
|
|
|
479
488
|
protected readonly preview: _angular_core.Signal<_masterteam_delegations.DelegationScopePreview | null>;
|
|
480
489
|
protected readonly isLoadingOptions: _angular_core.Signal<boolean>;
|
|
481
490
|
protected readonly isPreviewing: _angular_core.Signal<boolean>;
|
|
491
|
+
protected readonly errorOptions: _angular_core.Signal<string | null>;
|
|
482
492
|
/** Grantable options grouped by target. */
|
|
483
493
|
protected readonly groups: _angular_core.Signal<TargetGroup[]>;
|
|
484
494
|
/** Selected grant keys for O(1) checkbox state. */
|
|
@@ -488,6 +498,10 @@ declare class ScopePicker {
|
|
|
488
498
|
protected isExpanded(group: TargetGroup): boolean;
|
|
489
499
|
protected toggleAccordion(group: TargetGroup): void;
|
|
490
500
|
protected isSelected(grant: DelegationGrant): boolean;
|
|
501
|
+
protected getTargetLabel(target: DelegationScopeTarget): string;
|
|
502
|
+
protected getActionLabel(grant: DelegationGrant): string;
|
|
503
|
+
protected formatDeniedOperation(value?: string | null): string;
|
|
504
|
+
protected formatDeniedTarget(value?: string | null): string;
|
|
491
505
|
protected toggleGrant(grant: DelegationGrant): void;
|
|
492
506
|
protected selectedCount(group: TargetGroup): number;
|
|
493
507
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ScopePicker, never>;
|
|
@@ -651,6 +665,7 @@ declare class DelegationsFacade {
|
|
|
651
665
|
readonly errorMy: _angular_core.Signal<string | null>;
|
|
652
666
|
readonly errorAssigned: _angular_core.Signal<string | null>;
|
|
653
667
|
readonly errorDetail: _angular_core.Signal<string | null>;
|
|
668
|
+
readonly errorScopeOptions: _angular_core.Signal<string | null>;
|
|
654
669
|
readonly errorSave: _angular_core.Signal<string | null>;
|
|
655
670
|
getMy(query?: DelegationListQuery): rxjs.Observable<void>;
|
|
656
671
|
getAssigned(query?: DelegationListQuery): rxjs.Observable<void>;
|