@arsedizioni/ars-utils 21.0.24 → 21.0.26
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.
|
@@ -1427,8 +1427,8 @@ class ClipperDocumentComponent extends ClipperDocumentManager {
|
|
|
1427
1427
|
* @param mode : the mode
|
|
1428
1428
|
*/
|
|
1429
1429
|
openReferences(documentId, mode = ClipperQueryReferencesMode.ReferencesIn, model = null, anchor = null, anchorTitle = null, update = true) {
|
|
1430
|
-
console.log(this.dialogData
|
|
1431
|
-
|
|
1430
|
+
console.log(JSON.stringify(this.dialogData));
|
|
1431
|
+
this.dialogService.open(ClipperReferencesComponent, {
|
|
1432
1432
|
ariaLabel: 'riferimenti legati al documento',
|
|
1433
1433
|
autoFocus: false,
|
|
1434
1434
|
restoreFocus: false,
|
|
@@ -1448,8 +1448,7 @@ class ClipperDocumentComponent extends ClipperDocumentManager {
|
|
|
1448
1448
|
maxWidth: '1200px',
|
|
1449
1449
|
width: '100%',
|
|
1450
1450
|
height: '100%',
|
|
1451
|
-
})
|
|
1452
|
-
d.afterClosed()
|
|
1451
|
+
}).afterClosed()
|
|
1453
1452
|
.subscribe((r) => {
|
|
1454
1453
|
if (r && r.documentId) {
|
|
1455
1454
|
this.navigate(r.documentId);
|
|
@@ -2346,7 +2345,7 @@ class ClipperSearchResultManager extends ClipperDocumentManager {
|
|
|
2346
2345
|
return;
|
|
2347
2346
|
ClipperDocumentsUtils.openDocument(this.dialogService.baseService, this.clipperService, documentId, query ?? this.filterParams.expandTextQueryUsingAI
|
|
2348
2347
|
? (this.filterParams.augmentedText ?? this.filterParams.text)
|
|
2349
|
-
: this.filterParams.text, this.selectionMode(), null, this.themeService.getTheme(), this.canUseArchive());
|
|
2348
|
+
: this.filterParams.text, this.selectionMode(), null, this.themeService.getTheme(), this.canUseArchive(), this.canHandleTooManyResults());
|
|
2350
2349
|
}
|
|
2351
2350
|
///
|
|
2352
2351
|
// Restorable
|