@arsedizioni/ars-utils 21.0.23 → 21.0.25

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,7 +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
- let d = this.dialogService.open(ClipperReferencesComponent, {
1430
+ console.log(JSON.stringify(this.dialogData));
1431
+ this.dialogService.open(ClipperReferencesComponent, {
1431
1432
  ariaLabel: 'riferimenti legati al documento',
1432
1433
  autoFocus: false,
1433
1434
  restoreFocus: false,
@@ -1447,8 +1448,7 @@ class ClipperDocumentComponent extends ClipperDocumentManager {
1447
1448
  maxWidth: '1200px',
1448
1449
  width: '100%',
1449
1450
  height: '100%',
1450
- });
1451
- d.afterClosed()
1451
+ }).afterClosed()
1452
1452
  .subscribe((r) => {
1453
1453
  if (r && r.documentId) {
1454
1454
  this.navigate(r.documentId);
@@ -2551,6 +2551,7 @@ class ClipperReferencesComponent extends ClipperSearchResultManager {
2551
2551
  if (this.dialogData.anchorTitle) {
2552
2552
  this.title += " - " + this.dialogData.anchorTitle;
2553
2553
  }
2554
+ console.log(this.dialogData.canHandleTooManyResults);
2554
2555
  // Use service snapshot
2555
2556
  this.snapshot = this.clipperService.referencesSnapshot() ?? { searchParams: new ClipperSearchParams(), interval: "-1" };
2556
2557
  if (this.filterParams.mode !== this.dialogData.mode ||