geonetwork-ui 2.11.0-dev.1a868c66b → 2.11.0-dev.22978eb28

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.
@@ -14,7 +14,7 @@ import * as i4 from '@ngx-translate/core';
14
14
  import { TranslateLoader, TranslateCompiler, TranslateDefaultParser, TranslateParser, TranslateService, provideTranslateService, TranslateDirective, TranslatePipe, TranslateModule } from '@ngx-translate/core';
15
15
  import { TranslateMessageFormatCompiler } from 'ngx-translate-messageformat-compiler';
16
16
  import { TranslateHttpLoader, TRANSLATE_HTTP_LOADER_CONFIG } from '@ngx-translate/http-loader';
17
- import { map as map$1, shareReplay as shareReplay$1, catchError, tap as tap$1, withLatestFrom, filter as filter$1, startWith as startWith$1, switchMap as switchMap$1, take, mergeMap, delay, debounceTime, distinctUntilChanged, finalize, throttleTime, first as first$1, pairwise as pairwise$1, share, defaultIfEmpty, toArray } from 'rxjs/operators';
17
+ import { map as map$1, shareReplay as shareReplay$1, catchError, tap as tap$1, filter as filter$1, startWith as startWith$1, withLatestFrom, switchMap as switchMap$1, take, mergeMap, delay, debounceTime, distinctUntilChanged, finalize, throttleTime, first as first$1, pairwise as pairwise$1, share, defaultIfEmpty, toArray } from 'rxjs/operators';
18
18
  import { lt, valid, coerce, satisfies, ltr } from 'semver';
19
19
  import chroma from 'chroma-js';
20
20
  import * as i1$1 from '@angular/common';
@@ -20579,7 +20579,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImpo
20579
20579
  }] } });
20580
20580
 
20581
20581
  var name = "geonetwork-ui";
20582
- var version = "2.11.0-dev.1a868c66b";
20582
+ var version = "2.11.0-dev.22978eb28";
20583
20583
  var engines = {
20584
20584
  node: ">=24"
20585
20585
  };
@@ -21835,7 +21835,10 @@ class Gn4Repository {
21835
21835
  }));
21836
21836
  }
21837
21837
  getRecordFlag(uniqueIdentifier, flagName) {
21838
- return this.gn4RecordsApi.getRecordTags(uniqueIdentifier).pipe(withLatestFrom(this.getCategoryIdForFlag(flagName)), map$1(([tags, categoryId]) => {
21838
+ return combineLatest([
21839
+ this.getCategoryIdForFlag(flagName),
21840
+ this.gn4RecordsApi.getRecordTags(uniqueIdentifier),
21841
+ ]).pipe(map$1(([categoryId, tags]) => {
21839
21842
  if (categoryId === null)
21840
21843
  return false;
21841
21844
  return Array.from(tags).some((tag) => tag.id === categoryId);
@@ -27816,7 +27819,8 @@ class TranslatedSearchField extends SimpleSearchField {
27816
27819
  class MultilingualSearchField extends SimpleSearchField {
27817
27820
  // we're using a getter in case the token value changes over time
27818
27821
  get searchLanguage() {
27819
- return this.injector.get(METADATA_LANGUAGE, null);
27822
+ const language = this.injector.get(METADATA_LANGUAGE, null);
27823
+ return typeof language === 'function' ? language() : language;
27820
27824
  }
27821
27825
  constructor(esFieldName, injector, order = 'asc', orderType = 'key') {
27822
27826
  super(esFieldName, injector, order, orderType);