@masterteam/delegations 0.0.36 → 0.0.38
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.38",
|
|
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.179",
|
|
24
23
|
"@masterteam/forms": "^0.0.81",
|
|
25
|
-
"@masterteam/icons": "^0.0.15"
|
|
24
|
+
"@masterteam/icons": "^0.0.15",
|
|
25
|
+
"@masterteam/components": "^0.0.179"
|
|
26
26
|
},
|
|
27
27
|
"sideEffects": false,
|
|
28
28
|
"exports": {
|
|
@@ -390,9 +390,10 @@ declare class TopbarDelegationMenu implements OnInit {
|
|
|
390
390
|
readonly showManageLink: _angular_core.InputSignal<boolean>;
|
|
391
391
|
readonly promptOnCandidates: _angular_core.InputSignal<boolean>;
|
|
392
392
|
/**
|
|
393
|
-
*
|
|
394
|
-
*
|
|
395
|
-
*
|
|
393
|
+
* Suppress the *candidates* trigger (surface them elsewhere, e.g. the user
|
|
394
|
+
* dropdown via {@link DelegationMenuPanel}) while keeping candidate loading +
|
|
395
|
+
* the post-login prompt. The *active* "Acting on behalf of" pill stays visible
|
|
396
|
+
* even when headless — an active delegated session must always be obvious.
|
|
396
397
|
*/
|
|
397
398
|
readonly headless: _angular_core.InputSignal<boolean>;
|
|
398
399
|
private readonly facade;
|
|
@@ -674,6 +675,8 @@ declare class DelegationForm implements OnInit {
|
|
|
674
675
|
value: number;
|
|
675
676
|
}[]>;
|
|
676
677
|
protected readonly formConfig: _angular_core.Signal<DynamicFormConfig>;
|
|
678
|
+
private editPrefilled;
|
|
679
|
+
private createInitialized;
|
|
677
680
|
constructor();
|
|
678
681
|
ngOnInit(): void;
|
|
679
682
|
protected readonly canSubmit: _angular_core.Signal<boolean>;
|
|
@@ -763,9 +766,22 @@ declare class ScopePicker {
|
|
|
763
766
|
/** Stable operation-node keys for the current scope grants. */
|
|
764
767
|
protected readonly selectedKeys: _angular_core.Signal<Set<string>>;
|
|
765
768
|
protected readonly selectedCount: _angular_core.Signal<number>;
|
|
769
|
+
/** Every selectable operation key (for the "select all" master toggle). */
|
|
770
|
+
protected readonly allLeafKeys: _angular_core.Signal<string[]>;
|
|
771
|
+
protected readonly selectAllState: _angular_core.Signal<NodeCheckState>;
|
|
766
772
|
protected readonly searchTerm: _angular_core.WritableSignal<string>;
|
|
767
773
|
protected readonly expandedKeys: _angular_core.WritableSignal<Set<string>>;
|
|
768
774
|
protected readonly filteredTree: _angular_core.Signal<DelegationScopeTreeNode[]>;
|
|
775
|
+
/**
|
|
776
|
+
* Flattened list of currently-visible rows (respecting expand state + search)
|
|
777
|
+
* for CDK virtual scrolling — only the on-screen rows render, so large
|
|
778
|
+
* permission catalogs stay fast. Recomputes on tree/expand/search changes,
|
|
779
|
+
* NOT on selection toggles.
|
|
780
|
+
*/
|
|
781
|
+
protected readonly visibleNodes: _angular_core.Signal<{
|
|
782
|
+
node: DelegationScopeTreeNode;
|
|
783
|
+
depth: number;
|
|
784
|
+
}[]>;
|
|
769
785
|
protected readonly appAccessibilities: _angular_core.Signal<DelegationAppAccessibility[]>;
|
|
770
786
|
protected readonly selectedAccessibilityKeys: _angular_core.WritableSignal<Set<string>>;
|
|
771
787
|
protected readonly selectedAccessibilityCount: _angular_core.Signal<number>;
|
|
@@ -781,6 +797,11 @@ declare class ScopePicker {
|
|
|
781
797
|
protected toggle(node: DelegationScopeTreeNode): void;
|
|
782
798
|
private applySelection;
|
|
783
799
|
protected clearSelection(): void;
|
|
800
|
+
/** Master "select all" toggle in the tree header. */
|
|
801
|
+
protected toggleAll(): void;
|
|
802
|
+
protected trackVisible(_index: number, item: {
|
|
803
|
+
node: DelegationScopeTreeNode;
|
|
804
|
+
}): string;
|
|
784
805
|
protected toggleAccessibility(key: string): void;
|
|
785
806
|
protected isAccessibilitySelected(key: string): boolean;
|
|
786
807
|
private accessibilityFacts;
|