@arsedizioni/ars-utils 20.3.55 → 20.3.58
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/clipper.ui/index.d.ts
CHANGED
|
@@ -1033,7 +1033,7 @@ declare class ClipperDocumentMenuComponent implements OnInit, OnDestroy {
|
|
|
1033
1033
|
private changeDetector;
|
|
1034
1034
|
private clipperService;
|
|
1035
1035
|
readonly useSelections: _angular_core.InputSignal<boolean>;
|
|
1036
|
-
readonly selectionSource: _angular_core.InputSignal<"
|
|
1036
|
+
readonly selectionSource: _angular_core.InputSignal<"selection" | "bag" | "none">;
|
|
1037
1037
|
protected selection: () => ClipperDocumentInfo[];
|
|
1038
1038
|
readonly parent: _angular_core.InputSignal<ClipperSearchResultManager>;
|
|
1039
1039
|
readonly item: _angular_core.InputSignal<ClipperDocumentInfo>;
|
|
@@ -724,11 +724,9 @@ class ClipperDocumentMenuComponent {
|
|
|
724
724
|
*/
|
|
725
725
|
getSingleSelection() {
|
|
726
726
|
if (this.item()) {
|
|
727
|
-
console.log(JSON.stringify(this.item()));
|
|
728
727
|
return this.item();
|
|
729
728
|
}
|
|
730
729
|
else if (this.selection().length === 1) {
|
|
731
|
-
console.log(JSON.stringify(this.selection()[0]));
|
|
732
730
|
return this.selection()[0];
|
|
733
731
|
}
|
|
734
732
|
return undefined;
|