@arsedizioni/ars-utils 18.2.278 → 18.2.280

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.
@@ -33,7 +33,7 @@ import { MatTabsModule } from '@angular/material/tabs';
33
33
  import * as i3 from '@angular/material/tooltip';
34
34
  import { MatTooltipModule } from '@angular/material/tooltip';
35
35
  import { ClipperSearchFacetsSnapshot, ClipperFacet, ClipperService, ClipperMessages, ClipperModel, ClipperQueryReferencesMode, ClipperModule, ClipperSearchResult, ClipperSearchParams, ClipperSort, ClipperUtils, ClipperSectors, ClipperRegions, ClipperChannels, ClipperSources, ClipperAuthors, ClipperSectorTypes, ClipperSearchUtils, ClipperModels, ClipperDocumentChangeReasons } from '@arsedizioni/ars-utils/clipper.common';
36
- import { BroadcastService, SystemUtils, DateInterval, ScreenService, DateFormat, FormatPipe, SelectableModel, SafeUrlPipe, DateIntervalChangeDirective, SafeHtmlPipe } from '@arsedizioni/ars-utils/core';
36
+ import { BroadcastService, SystemUtils, DateInterval, ThemeService, ScreenService, DateFormat, FormatPipe, SelectableModel, SafeUrlPipe, DateIntervalChangeDirective, SafeHtmlPipe } from '@arsedizioni/ars-utils/core';
37
37
  import { Subject, takeUntil, fromEvent } from 'rxjs';
38
38
  import { takeUntil as takeUntil$1, debounceTime } from 'rxjs/operators';
39
39
  import { Router } from '@angular/router';
@@ -873,6 +873,7 @@ class ClipperSearchResultManager extends ClipperDocumentManager {
873
873
  this.unsubscribe = new Subject();
874
874
  this.changeDetector = inject(ChangeDetectorRef);
875
875
  this.breakpointObserver = inject(BreakpointObserver);
876
+ this.themeService = inject(ThemeService);
876
877
  this.screenService = inject(ScreenService);
877
878
  this.selection = null;
878
879
  this.snapshot = new ClipperSearchResult();
@@ -1304,7 +1305,7 @@ class ClipperSearchResultManager extends ClipperDocumentManager {
1304
1305
  openDocument(documentId, query = null) {
1305
1306
  if (!documentId)
1306
1307
  return;
1307
- ClipperDocumentsUtils.openDocument(this.dialogService, this.clipperService, documentId, query ?? this.filterParams.text);
1308
+ ClipperDocumentsUtils.openDocument(this.dialogService, this.clipperService, documentId, query ?? this.filterParams.text, null, this.themeService.getTheme());
1308
1309
  }
1309
1310
  ///
1310
1311
  // Restorable