@arsedizioni/ars-utils 20.3.54 → 20.3.55
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<"bag" | "selection" | "none">;
|
|
1037
1037
|
protected selection: () => ClipperDocumentInfo[];
|
|
1038
1038
|
readonly parent: _angular_core.InputSignal<ClipperSearchResultManager>;
|
|
1039
1039
|
readonly item: _angular_core.InputSignal<ClipperDocumentInfo>;
|
|
@@ -724,9 +724,11 @@ class ClipperDocumentMenuComponent {
|
|
|
724
724
|
*/
|
|
725
725
|
getSingleSelection() {
|
|
726
726
|
if (this.item()) {
|
|
727
|
+
console.log(JSON.stringify(this.item()));
|
|
727
728
|
return this.item();
|
|
728
729
|
}
|
|
729
730
|
else if (this.selection().length === 1) {
|
|
731
|
+
console.log(JSON.stringify(this.selection()[0]));
|
|
730
732
|
return this.selection()[0];
|
|
731
733
|
}
|
|
732
734
|
return undefined;
|