@arsedizioni/ars-utils 19.0.72 → 19.0.73
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>;
|
|
@@ -1533,10 +1533,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0", ngImpor
|
|
|
1533
1533
|
}] });
|
|
1534
1534
|
|
|
1535
1535
|
class ClipperReferencesService {
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
this.broacastService = inject(BroadcastService);
|
|
1539
|
-
}
|
|
1536
|
+
//private dialogService = inject(DialogService);
|
|
1537
|
+
// private broacastService = inject(BroadcastService);
|
|
1540
1538
|
/**
|
|
1541
1539
|
* Browse document references
|
|
1542
1540
|
* @param document id : the document id
|
|
@@ -1545,24 +1543,25 @@ class ClipperReferencesService {
|
|
|
1545
1543
|
openReferences(documentId, mode = ClipperQueryReferencesMode.ReferencesIn) {
|
|
1546
1544
|
if (!documentId)
|
|
1547
1545
|
return;
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1546
|
+
console.log(mode);
|
|
1547
|
+
/* const d = this.dialogService.open(ClipperReferencesComponent, {
|
|
1548
|
+
ariaLabel: 'riferimenti legati al documento',
|
|
1549
|
+
autoFocus: false,
|
|
1550
|
+
restoreFocus: false,
|
|
1551
|
+
disableClose: false,
|
|
1552
|
+
closeOnNavigation: false,
|
|
1553
|
+
data: { documentId: documentId, mode: mode },
|
|
1554
|
+
minWidth: '375px',
|
|
1555
|
+
maxWidth: '1200px',
|
|
1556
|
+
width: '100%',
|
|
1557
|
+
height: '100%',
|
|
1558
|
+
});
|
|
1559
|
+
d.afterClosed()
|
|
1560
|
+
.subscribe((r: ClipperReferenceDialogResult) => {
|
|
1561
|
+
if (r && r.documentId) {
|
|
1562
|
+
this.broacastService.sendMessage(ClipperMessages.DOCUMENT_NAVIGATE, {data: r.documentId}) ;
|
|
1563
|
+
}
|
|
1564
|
+
});*/
|
|
1566
1565
|
}
|
|
1567
1566
|
}
|
|
1568
1567
|
|