@masterteam/delegations 0.0.37 → 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": {
|
|
@@ -406,7 +406,7 @@ declare class TopbarDelegationMenu implements OnInit {
|
|
|
406
406
|
protected readonly onBehalfOf: _angular_core.Signal<_masterteam_delegations.DelegationParty | null>;
|
|
407
407
|
protected readonly executedBy: _angular_core.Signal<_masterteam_delegations.DelegationParty | null>;
|
|
408
408
|
private readonly promptShown;
|
|
409
|
-
protected readonly mode: _angular_core.Signal<"
|
|
409
|
+
protected readonly mode: _angular_core.Signal<"active" | "candidates" | "hidden">;
|
|
410
410
|
constructor();
|
|
411
411
|
ngOnInit(): void;
|
|
412
412
|
/** Two-letter initials for a delegator avatar (matches the user-menu pattern). */
|
|
@@ -442,7 +442,7 @@ declare class DelegationMenuPanel {
|
|
|
442
442
|
protected readonly hasCandidates: _angular_core.Signal<boolean>;
|
|
443
443
|
protected readonly onBehalfOf: _angular_core.Signal<_masterteam_delegations.DelegationParty | null>;
|
|
444
444
|
protected readonly executedBy: _angular_core.Signal<_masterteam_delegations.DelegationParty | null>;
|
|
445
|
-
protected readonly mode: _angular_core.Signal<"
|
|
445
|
+
protected readonly mode: _angular_core.Signal<"active" | "candidates" | "hidden">;
|
|
446
446
|
/** Two-letter initials for a delegator avatar (matches the user-menu pattern). */
|
|
447
447
|
protected initials(party: DelegationRow['delegator'] | null | undefined): string;
|
|
448
448
|
protected start(row: DelegationRow, event: MouseEvent): void;
|
|
@@ -675,6 +675,8 @@ declare class DelegationForm implements OnInit {
|
|
|
675
675
|
value: number;
|
|
676
676
|
}[]>;
|
|
677
677
|
protected readonly formConfig: _angular_core.Signal<DynamicFormConfig>;
|
|
678
|
+
private editPrefilled;
|
|
679
|
+
private createInitialized;
|
|
678
680
|
constructor();
|
|
679
681
|
ngOnInit(): void;
|
|
680
682
|
protected readonly canSubmit: _angular_core.Signal<boolean>;
|
|
@@ -764,9 +766,22 @@ declare class ScopePicker {
|
|
|
764
766
|
/** Stable operation-node keys for the current scope grants. */
|
|
765
767
|
protected readonly selectedKeys: _angular_core.Signal<Set<string>>;
|
|
766
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>;
|
|
767
772
|
protected readonly searchTerm: _angular_core.WritableSignal<string>;
|
|
768
773
|
protected readonly expandedKeys: _angular_core.WritableSignal<Set<string>>;
|
|
769
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
|
+
}[]>;
|
|
770
785
|
protected readonly appAccessibilities: _angular_core.Signal<DelegationAppAccessibility[]>;
|
|
771
786
|
protected readonly selectedAccessibilityKeys: _angular_core.WritableSignal<Set<string>>;
|
|
772
787
|
protected readonly selectedAccessibilityCount: _angular_core.Signal<number>;
|
|
@@ -782,6 +797,11 @@ declare class ScopePicker {
|
|
|
782
797
|
protected toggle(node: DelegationScopeTreeNode): void;
|
|
783
798
|
private applySelection;
|
|
784
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;
|
|
785
805
|
protected toggleAccessibility(key: string): void;
|
|
786
806
|
protected isAccessibilitySelected(key: string): boolean;
|
|
787
807
|
private accessibilityFacts;
|