@arsedizioni/ars-utils 18.5.26 → 18.5.28

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.
@@ -1429,7 +1429,9 @@ class ClipperSearchResultManager extends ClipperDocumentManager {
1429
1429
  openDocument(documentId, query = null) {
1430
1430
  if (!documentId)
1431
1431
  return;
1432
- ClipperDocumentsUtils.openDocument(this.dialogService.baseService, this.clipperService, documentId, query ?? this.filterParams.text, null, this.themeService.getTheme());
1432
+ ClipperDocumentsUtils.openDocument(this.dialogService.baseService, this.clipperService, documentId, query ?? this.filterParams.expandTextQueryUsingAI
1433
+ ? (this.filterParams.augmentedText ?? this.filterParams.text)
1434
+ : this.filterParams.text, null, this.themeService.getTheme());
1433
1435
  }
1434
1436
  ///
1435
1437
  // Restorable
@@ -3750,7 +3752,9 @@ class ClipperBrowserDialogComponent extends ClipperSearchResultManager {
3750
3752
  openDocument(documentId, query = null) {
3751
3753
  if (!documentId)
3752
3754
  return;
3753
- ClipperDocumentsUtils.openDocument(this.dialogService.baseService, this.clipperService, documentId, query ?? this.filterParams.text, this.dialogData.selectionMode, this.dialogData.theme);
3755
+ ClipperDocumentsUtils.openDocument(this.dialogService.baseService, this.clipperService, documentId, query ?? this.filterParams.expandTextQueryUsingAI
3756
+ ? (this.filterParams.augmentedText ?? this.filterParams.text)
3757
+ : this.filterParams.text, this.dialogData.selectionMode, this.dialogData.theme);
3754
3758
  }
3755
3759
  /**
3756
3760
  * Compose a free text search query