@arsedizioni/ars-utils 21.1.17 → 21.1.18

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.
@@ -1402,6 +1402,7 @@ class ClipperDocumentComponent extends ClipperDocumentManager {
1402
1402
  */
1403
1403
  open(documentId, query, queryChunks, newWindow) {
1404
1404
  if (!newWindow) {
1405
+ console.log("Opening document " + documentId);
1405
1406
  if (this.opening)
1406
1407
  this.opening.emit(documentId);
1407
1408
  else
@@ -1536,6 +1537,7 @@ class ClipperDocumentsUtils {
1536
1537
  dialogService.error("Documento non valido.");
1537
1538
  return undefined;
1538
1539
  }
1540
+ console.log("Opening document dialog " + documentId);
1539
1541
  return dialogService.open(ClipperDocumentComponent, {
1540
1542
  ariaLabel: 'documento',
1541
1543
  autoFocus: false,
@@ -2343,6 +2345,7 @@ class ClipperSearchResultManager extends ClipperDocumentManager {
2343
2345
  openDocument(documentId, query, queryChunks) {
2344
2346
  if (!documentId)
2345
2347
  return;
2348
+ console.log("Opening document " + documentId);
2346
2349
  ClipperDocumentsUtils.openDocument(this.injector, documentId, query ?? this.filterParams.text, queryChunks, this.selectionMode(), null, this.themeService.getTheme(), this.canUseArchive(), this.canHandleTooManyResults());
2347
2350
  }
2348
2351
  ///