@arsedizioni/ars-utils 19.0.159 → 19.0.160
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.
|
@@ -13,7 +13,7 @@ export declare class ClipperDocumentMenuComponent implements OnInit, OnDestroy {
|
|
|
13
13
|
private changeDetector;
|
|
14
14
|
private clipperService;
|
|
15
15
|
readonly useSelections: import("@angular/core").InputSignal<boolean>;
|
|
16
|
-
readonly selectionSource: import("@angular/core").InputSignal<"
|
|
16
|
+
readonly selectionSource: import("@angular/core").InputSignal<"bag" | "selection" | "none">;
|
|
17
17
|
protected selection: () => ClipperDocumentInfo[];
|
|
18
18
|
readonly parent: import("@angular/core").InputSignal<ClipperSearchResultManager>;
|
|
19
19
|
readonly item: import("@angular/core").InputSignal<ClipperDocumentInfo>;
|
|
@@ -732,7 +732,7 @@ class ClipperDocumentMenuComponent {
|
|
|
732
732
|
* @returns true if only one element is selected
|
|
733
733
|
*/
|
|
734
734
|
hasSingleSelection() {
|
|
735
|
-
return this.item()
|
|
735
|
+
return this.item()?.documentId?.length > 0 || this.selection().length === 1;
|
|
736
736
|
}
|
|
737
737
|
/**
|
|
738
738
|
* Show and hide sub menus
|