geonetwork-ui 2.11.0-dev.e430b2fe8 → 2.11.0-dev.ec9587d24

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.
Files changed (107) hide show
  1. package/fesm2022/geonetwork-ui.mjs +2034 -1177
  2. package/fesm2022/geonetwork-ui.mjs.map +1 -1
  3. package/index.d.ts +384 -139
  4. package/index.d.ts.map +1 -1
  5. package/package.json +7 -5
  6. package/src/libs/api/metadata-converter/src/lib/dcat-ap/dcat-ap.converter.ts +2 -0
  7. package/src/libs/api/metadata-converter/src/lib/fixtures/mel.records.dataset+featurecatalog.ts +395 -0
  8. package/src/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.ts +35 -8
  9. package/src/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.ts +19 -0
  10. package/src/libs/api/metadata-converter/src/lib/iso19115-3/iso19115-3.converter.ts +17 -6
  11. package/src/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.ts +110 -0
  12. package/src/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.ts +131 -0
  13. package/src/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.ts +9 -0
  14. package/src/libs/api/metadata-converter/src/lib/iso19139/read-parts.ts +2 -1
  15. package/src/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.ts +159 -54
  16. package/src/libs/api/repository/src/lib/gn4/gn4-repository.ts +79 -35
  17. package/src/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.ts +11 -0
  18. package/src/libs/common/domain/src/lib/model/record/flags.model.ts +1 -0
  19. package/src/libs/common/domain/src/lib/model/record/index.ts +1 -0
  20. package/src/libs/common/domain/src/lib/model/record/metadata.model.ts +14 -18
  21. package/src/libs/common/domain/src/lib/model/search/aggregation.model.ts +2 -0
  22. package/src/libs/common/domain/src/lib/model/search/filter.model.ts +24 -2
  23. package/src/libs/common/domain/src/lib/platform.service.interface.ts +1 -0
  24. package/src/libs/common/domain/src/lib/repository/records-repository.interface.ts +20 -1
  25. package/src/libs/common/fixtures/src/lib/records.fixtures.ts +42 -62
  26. package/src/libs/feature/dataviz/src/lib/service/data.service.ts +32 -19
  27. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints/form-field-constraints.component.ts +3 -5
  28. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts/form-field-contacts.component.ts +2 -2
  29. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-record-flags/form-field-record-flag-component.html +18 -0
  30. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-record-flags/form-field-record-flag-component.ts +86 -0
  31. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.html +100 -88
  32. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.ts +11 -4
  33. package/src/libs/feature/editor/src/lib/components/record-form/record-form.component.ts +18 -4
  34. package/src/libs/feature/editor/src/lib/expressions.ts +67 -0
  35. package/src/libs/feature/editor/src/lib/fields.config.ts +13 -0
  36. package/src/libs/feature/editor/src/lib/models/editor-config.model.ts +10 -4
  37. package/src/libs/feature/map/src/index.ts +0 -2
  38. package/src/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.html +1 -0
  39. package/src/libs/feature/map/src/lib/feature-map.module.ts +1 -8
  40. package/src/libs/feature/notifications/src/lib/notifications.service.ts +6 -4
  41. package/src/libs/feature/notify-reuse/src/lib/notify-reuse-form/notify-reuse-form.component.ts +8 -3
  42. package/src/libs/feature/record/src/lib/state/mdview.effects.ts +3 -1
  43. package/src/libs/feature/record/src/lib/state/mdview.facade.ts +1 -1
  44. package/src/libs/feature/router/src/lib/default/state/query-params.utils.ts +1 -1
  45. package/src/libs/feature/search/src/index.ts +2 -0
  46. package/src/libs/feature/search/src/lib/filter-dropdown/filter-dropdown.component.html +18 -4
  47. package/src/libs/feature/search/src/lib/filter-dropdown/filter-dropdown.component.ts +80 -19
  48. package/src/libs/feature/search/src/lib/geocoding/geocoding.service.ts +105 -0
  49. package/src/libs/feature/search/src/lib/location-search/location-search.component.html +18 -0
  50. package/src/libs/feature/search/src/lib/location-search/location-search.component.ts +114 -0
  51. package/src/libs/feature/search/src/lib/search-filters-summary-item/search-filters-summary-item.component.ts +19 -8
  52. package/src/libs/feature/search/src/lib/state/reducer.ts +1 -4
  53. package/src/libs/feature/search/src/lib/utils/service/fields.service.ts +64 -4
  54. package/src/libs/feature/search/src/lib/utils/service/fields.ts +94 -10
  55. package/src/libs/ui/elements/src/lib/record-feature-catalog/feature-catalog-list/feature-catalog-list.component.html +3 -3
  56. package/src/libs/ui/elements/src/lib/record-feature-catalog/feature-catalog-list/feature-catalog-list.component.ts +2 -2
  57. package/src/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.ts +2 -1
  58. package/src/libs/ui/inputs/src/index.ts +2 -0
  59. package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.css +0 -4
  60. package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.html +12 -3
  61. package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.ts +11 -3
  62. package/src/libs/ui/inputs/src/lib/date-adapter.providers.ts +30 -0
  63. package/src/libs/ui/inputs/src/lib/date-picker/date-picker.component.ts +3 -24
  64. package/src/libs/ui/inputs/src/lib/date-range-dropdown/date-range-dropdown.component.css +37 -3
  65. package/src/libs/ui/inputs/src/lib/date-range-dropdown/date-range-dropdown.component.html +135 -16
  66. package/src/libs/ui/inputs/src/lib/date-range-dropdown/date-range-dropdown.component.ts +166 -29
  67. package/src/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.ts +3 -7
  68. package/src/libs/ui/inputs/src/lib/drag-and-drop-file-input/drag-and-drop-file-input.component.css +1 -0
  69. package/src/libs/ui/inputs/src/lib/drag-and-drop-file-input/drag-and-drop-file-input.component.html +20 -7
  70. package/src/libs/ui/inputs/src/lib/drag-and-drop-file-input/drag-and-drop-file-input.component.ts +46 -5
  71. package/src/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.component.html +7 -4
  72. package/src/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.component.ts +12 -9
  73. package/src/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.model.ts +2 -2
  74. package/src/libs/ui/inputs/src/lib/search-feature-catalog/search-feature-catalog.component.ts +2 -1
  75. package/src/libs/ui/inputs/src/lib/spatial-extent-dropdown/spatial-extent-dropdown.component.css +0 -0
  76. package/src/libs/ui/inputs/src/lib/spatial-extent-dropdown/spatial-extent-dropdown.component.html +117 -0
  77. package/src/libs/ui/inputs/src/lib/spatial-extent-dropdown/spatial-extent-dropdown.component.ts +244 -0
  78. package/src/libs/ui/layout/src/lib/block-list/block-list.component.css +1 -0
  79. package/src/libs/ui/map/src/lib/components/map-container/map-container.component.ts +2 -0
  80. package/src/libs/util/app-config/src/index.ts +1 -0
  81. package/src/libs/util/app-config/src/lib/app-config.ts +338 -247
  82. package/src/libs/util/app-config/src/lib/fixtures.ts +37 -1
  83. package/src/libs/util/app-config/src/lib/model.ts +42 -1
  84. package/src/libs/util/app-config/src/lib/parse-utils.ts +8 -4
  85. package/src/libs/util/shared/src/index.ts +1 -0
  86. package/src/libs/util/shared/src/lib/autofocus.directive.ts +26 -0
  87. package/src/libs/util/shared/src/lib/links/link-utils.ts +19 -10
  88. package/src/libs/util/shared/src/lib/services/date.service.ts +3 -3
  89. package/src/libs/util/shared/src/lib/utils/file.ts +15 -0
  90. package/src/libs/util/shared/src/lib/utils/geojson.ts +45 -10
  91. package/src/libs/util/shared/src/lib/utils/index.ts +1 -0
  92. package/tailwind.base.css +5 -0
  93. package/translations/de.json +28 -4
  94. package/translations/en.json +27 -3
  95. package/translations/es.json +26 -2
  96. package/translations/fr.json +32 -8
  97. package/translations/it.json +26 -2
  98. package/translations/nl.json +26 -2
  99. package/translations/pt.json +26 -2
  100. package/translations/sk.json +26 -2
  101. package/src/libs/feature/map/src/lib/geocoding/geocoding.component.html +0 -41
  102. package/src/libs/feature/map/src/lib/geocoding/geocoding.component.ts +0 -112
  103. package/src/libs/feature/map/src/lib/geocoding.service.ts +0 -57
  104. package/src/libs/feature/map/src/lib/style/index.ts +0 -2
  105. package/src/libs/feature/map/src/lib/style/map-style.fixtures.ts +0 -47
  106. package/src/libs/feature/map/src/lib/style/map-style.service.ts +0 -108
  107. /package/src/libs/feature/{map/src/lib/geocoding/geocoding.component.css → editor/src/lib/components/record-form/form-field/form-field-record-flags/form-field-record-flag-component.css} +0 -0
package/index.d.ts CHANGED
@@ -1,9 +1,9 @@
1
1
  import * as geojson from 'geojson';
2
- import { Geometry, Feature, Polygon, FeatureCollection } from 'geojson';
2
+ import { Geometry, Feature, FeatureCollection } from 'geojson';
3
3
  import { XmlElement, XmlDocument, XmlComment, XmlProcessingInstruction, XmlDeclaration, XmlDocumentType, XmlCdata, XmlText } from '@rgrove/parse-xml';
4
4
  export { XmlDocument, XmlElement } from '@rgrove/parse-xml';
5
5
  import * as i0 from '@angular/core';
6
- import { InjectionToken, Provider, OnInit, AfterViewInit, OnDestroy, OnChanges, ElementRef, EventEmitter, SimpleChanges, TemplateRef, Type, ViewContainerRef, AfterViewChecked, QueryList, Injector, Signal, ModuleWithProviders, EnvironmentProviders } from '@angular/core';
6
+ import { InjectionToken, Provider, OnInit, AfterViewInit, OnDestroy, OnChanges, ElementRef, EventEmitter, SimpleChanges, TemplateRef, Type, ViewContainerRef, QueryList, Injector, AfterViewChecked, Signal, ModuleWithProviders, EnvironmentProviders } from '@angular/core';
7
7
  import * as rxjs from 'rxjs';
8
8
  import { Observable, Subject, BehaviorSubject, Subscription, ReplaySubject } from 'rxjs';
9
9
  import { Store, NamedNode } from 'rdflib';
@@ -14,13 +14,13 @@ import * as _geospatial_sdk_core from '@geospatial-sdk/core';
14
14
  import { MapContext, MapContextLayer, MapContextLayerMapLibreStyle, Extent, SourceLoadErrorEvent, MapContextLayerGeojson } from '@geospatial-sdk/core';
15
15
  import * as _ngrx_store from '@ngrx/store';
16
16
  import { Action } from '@ngrx/store';
17
- import { Style } from 'ol/style.js';
18
- import { StyleLike } from 'ol/style/Style.js';
19
17
  import * as _ngrx_effects from '@ngrx/effects';
20
- import * as geonetwork_ui from 'geonetwork-ui';
18
+ import { GeoadminOptions, GeonamesOptions, GeoplateformeOptions, GeocodingResult } from '@geospatial-sdk/geocoding';
21
19
  import { UntypedFormControl, FormControl } from '@angular/forms';
22
20
  import { MatAutocompleteTrigger, MatAutocomplete, MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
23
- import * as _camptocamp_ogc_client from '@camptocamp/ogc-client';
21
+ import * as geonetwork_ui from 'geonetwork-ui';
22
+ import * as _angular_cdk_overlay from '@angular/cdk/overlay';
23
+ import { CdkOverlayOrigin, ConnectedPosition, CdkConnectedOverlay, CdkScrollable } from '@angular/cdk/overlay';
24
24
  import { OgcApiEndpoint, WfsEndpoint, MimeType, WfsFeatureTypeFull, WmsLayerFull, WmtsLayer, StacItem, WfsVersion, OgcApiCollectionInfo, OgcApiRecord, GetCollectionItemsOptions, StacItemsDocument } from '@camptocamp/ogc-client';
25
25
  import OlMap from 'ol/Map.js';
26
26
  import { Extent as Extent$1, MapContext as MapContext$1 } from '@geospatial-sdk/core/dist/model';
@@ -38,8 +38,6 @@ import * as chart_js from 'chart.js';
38
38
  import { Chart, ChartType, ChartData, ChartOptions } from 'chart.js';
39
39
  import Duration from 'duration-relativetimeformat';
40
40
  import { MatMenuTrigger } from '@angular/material/menu';
41
- import * as _angular_cdk_overlay from '@angular/cdk/overlay';
42
- import { CdkOverlayOrigin, CdkConnectedOverlay, ConnectedPosition, CdkScrollable } from '@angular/cdk/overlay';
43
41
  import { CdkScrollable as CdkScrollable$1 } from '@angular/cdk/scrolling';
44
42
  import { EmblaCarouselType } from 'embla-carousel';
45
43
  import { CdkDragDrop } from '@angular/cdk/drag-drop';
@@ -262,6 +260,7 @@ interface DatasetRecord extends BaseRecord {
262
260
  spatialExtents: Array<DatasetSpatialExtent>;
263
261
  temporalExtents: Array<DatasetTemporalExtent>;
264
262
  spatialRepresentation?: SpatialRepresentationType;
263
+ featureTypeDescriptions?: Array<DatasetFeatureType>;
265
264
  }
266
265
  interface ServiceEndpoint {
267
266
  url: URL;
@@ -288,33 +287,28 @@ interface ReuseRecord extends BaseRecord {
288
287
  spatialExtents: Array<DatasetSpatialExtent>;
289
288
  temporalExtents: Array<DatasetTemporalExtent>;
290
289
  }
290
+ interface DatasetFeatureType {
291
+ name: string;
292
+ label?: string;
293
+ description?: string;
294
+ attributes: DatasetFeatureAttribute[];
295
+ }
291
296
  type DatasetFeatureCatalog = {
292
- featureTypes: Array<{
293
- name: string;
294
- definition: string;
295
- attributes: DatasetFeatureAttribute[];
296
- }>;
297
+ featureTypes: Array<DatasetFeatureType>;
297
298
  };
298
299
  interface DatasetFeatureAttributeValue {
299
- code?: string;
300
- definition?: string;
300
+ value: string;
301
301
  label?: string;
302
+ description?: string;
302
303
  }
303
304
  interface DatasetFeatureAttribute {
304
305
  name: string;
305
- definition: string;
306
- type: string;
307
- code: string;
306
+ label?: string;
307
+ description?: string;
308
+ type?: string;
309
+ code?: string;
308
310
  values?: Array<DatasetFeatureAttributeValue>;
309
311
  }
310
- interface DatasetFeatureType {
311
- aliases: string;
312
- code: string;
313
- isAbstract: string;
314
- typeName: string;
315
- definition: string;
316
- attributeTable: Array<DatasetFeatureAttribute>;
317
- }
318
312
  type ReuseType = 'application' | 'map' | 'other';
319
313
  type OnlineResource = DatasetOnlineResource | ServiceOnlineResource;
320
314
  type CatalogRecord = DatasetRecord | ReuseRecord | ServiceRecord;
@@ -335,6 +329,8 @@ interface UserFeedbackViewModel extends UserFeedback {
335
329
  avatarUrl: string;
336
330
  }
337
331
 
332
+ type RecordFlag = 'IS_REFERENCE_DATASET';
333
+
338
334
  declare class MetadataMapperContext {
339
335
  readonly location?: any;
340
336
  }
@@ -481,6 +477,26 @@ interface Link {
481
477
  applicationProfile?: string;
482
478
  group?: number;
483
479
  }
480
+ interface FeatureTypeAttribute {
481
+ name: string;
482
+ code: string;
483
+ link: string;
484
+ definition: string;
485
+ type: string;
486
+ values?: Array<{
487
+ code?: string;
488
+ label?: string;
489
+ description?: string;
490
+ }>;
491
+ }
492
+ interface FeatureType {
493
+ typeName: string;
494
+ definition: string;
495
+ code: string;
496
+ aliases: string;
497
+ isAbstract: string;
498
+ attributeTable: FeatureTypeAttribute[];
499
+ }
484
500
  type MetadataObject = Partial<{
485
501
  MD_ConstraintsUseLimitationObject: MultilingualField[];
486
502
  MD_LegalConstraintsOtherConstraintsObject: MultilingualField[];
@@ -511,6 +527,7 @@ type MetadataObject = Partial<{
511
527
  extentDescriptionObject: MultilingualField[];
512
528
  extra: string;
513
529
  featureOfRecord: string;
530
+ featureTypes: FeatureType[];
514
531
  feedbackCount: string;
515
532
  geom: Geometry | Geometry[];
516
533
  groupOwner: string;
@@ -747,6 +764,7 @@ declare class Gn4FieldMapper {
747
764
  private get getLocalizedIndexKey();
748
765
  protected fields: Record<string, EsFieldMapperFn>;
749
766
  private genericField;
767
+ private featureTypesField;
750
768
  private constraintField;
751
769
  getMappingFn(fieldName: string): EsFieldMapperFn | ((output: any) => any);
752
770
  getLinkType(url: string, protocol?: string): OnlineResourceType;
@@ -764,7 +782,8 @@ type FieldFilterByRange = {
764
782
  start?: Date;
765
783
  end?: Date;
766
784
  };
767
- type FieldFilter$1 = FieldFilterByExpression | FieldFilterByValues | FieldFilterByRange;
785
+ type FieldFilterByBoundingBox = [number, number, number, number];
786
+ type FieldFilter$1 = FieldFilterByExpression | FieldFilterByValues | FieldFilterByRange | FieldFilterByBoundingBox;
768
787
  type FieldFilters = Record<FieldName$1, FieldFilter$1>;
769
788
  type QueryString = {
770
789
  query_string: string;
@@ -772,11 +791,28 @@ type QueryString = {
772
791
  type QueryRange = {
773
792
  range: Record<string, {
774
793
  format: string;
775
- gte: string;
776
- lte: string;
794
+ gte?: string;
795
+ lte?: string;
796
+ relation?: string;
777
797
  }>;
778
798
  };
779
- type FilterQuery = Array<QueryString | QueryRange>;
799
+ type QueryGeoShape = {
800
+ geo_shape: {
801
+ geom: {
802
+ shape: {
803
+ type: string;
804
+ coordinates: number[][];
805
+ };
806
+ relation: string;
807
+ };
808
+ };
809
+ };
810
+ type QueryBool = {
811
+ bool: {
812
+ filter: QueryRange[];
813
+ };
814
+ };
815
+ type FilterQuery = Array<QueryString | QueryRange | QueryGeoShape | QueryBool>;
780
816
 
781
817
  interface TermsAggregationParams {
782
818
  type: 'terms';
@@ -784,6 +820,8 @@ interface TermsAggregationParams {
784
820
  limit: number;
785
821
  sort: AggregationSort;
786
822
  filter?: string;
823
+ includeValues?: string[];
824
+ excludeValues?: string[];
787
825
  }
788
826
  interface HistogramAggregationParams {
789
827
  type: 'histogram';
@@ -1058,7 +1096,7 @@ declare abstract class RecordsRepositoryInterface {
1058
1096
  abstract search(params: SearchParams): Observable<SearchResults>;
1059
1097
  abstract getMatchesCount(filters: FieldFilters): Observable<number>;
1060
1098
  abstract getRecord(uniqueIdentifier: string): Observable<CatalogRecord | null>;
1061
- abstract getFeatureCatalog(record: CatalogRecord): Observable<DatasetFeatureCatalog | null>;
1099
+ abstract queryLinkedFeatureCatalog(record: CatalogRecord): Observable<DatasetFeatureCatalog | null>;
1062
1100
  abstract aggregate(params: AggregationsParams): Observable<Aggregations>;
1063
1101
  abstract getSimilarRecords(similarTo: CatalogRecord): Observable<CatalogRecord[]>;
1064
1102
  abstract getLinkedRecords(record: CatalogRecord): Observable<LinkedRecord[]>;
@@ -1122,6 +1160,15 @@ declare abstract class RecordsRepositoryInterface {
1122
1160
  }>;
1123
1161
  abstract getRecordPublicationStatus(uuid: string): Observable<boolean>;
1124
1162
  abstract getApplicationLanguages(): Observable<LanguageCode[]>;
1163
+ /**
1164
+ * Sets a given flag on a record. Flags are not part of the metadata document, which is why they are
1165
+ * not part of the Record model.
1166
+ */
1167
+ abstract setRecordFlag(uniqueIdentifier: string, flagName: RecordFlag, value: boolean): Observable<void>;
1168
+ /**
1169
+ * Checks whether a given flag is enabled for a record.
1170
+ */
1171
+ abstract getRecordFlag(uniqueIdentifier: string, flagName: RecordFlag): Observable<boolean>;
1125
1172
  }
1126
1173
 
1127
1174
  type RecordAsXml = string;
@@ -1136,6 +1183,7 @@ declare class Gn4Repository implements RecordsRepositoryInterface {
1136
1183
  private platformService;
1137
1184
  private gn4LanguagesApi;
1138
1185
  private settingsService;
1186
+ private gn4TagsApi;
1139
1187
  private disableDraft;
1140
1188
  private defaultConverter;
1141
1189
  _draftsChanged: Subject<void>;
@@ -1144,8 +1192,7 @@ declare class Gn4Repository implements RecordsRepositoryInterface {
1144
1192
  getMatchesCount(filters: FieldFilters): Observable<number>;
1145
1193
  getRecord(uniqueIdentifier: string): Observable<CatalogRecord | null>;
1146
1194
  getMultipleRecords(uniqueIdentifiers: string[]): Observable<CatalogRecord[] | null>;
1147
- private mapEmbeddedFeatureCatalog;
1148
- getFeatureCatalog(record: CatalogRecord, visited?: Set<string>): Observable<DatasetFeatureCatalog | null>;
1195
+ queryLinkedFeatureCatalog(record: CatalogRecord, visited?: Set<string>): Observable<DatasetFeatureCatalog | null>;
1149
1196
  getSimilarRecords(similarTo: CatalogRecord): Observable<CatalogRecord[]>;
1150
1197
  getLinkedRecords(record: CatalogRecord): Observable<LinkedRecord[]>;
1151
1198
  aggregate(params: AggregationsParams): Observable<Aggregations>;
@@ -1179,6 +1226,10 @@ declare class Gn4Repository implements RecordsRepositoryInterface {
1179
1226
  private saveRecordToLocalStorage;
1180
1227
  private getRecordFromLocalStorage;
1181
1228
  private removeRecordFromLocalStorage;
1229
+ categoriesIdentifierForFlags: Observable<Record<RecordFlag, number>>;
1230
+ private getCategoryIdForFlag;
1231
+ setRecordFlag(uniqueIdentifier: string, flagName: RecordFlag, value: boolean): Observable<void>;
1232
+ getRecordFlag(uniqueIdentifier: string, flagName: RecordFlag): Observable<boolean>;
1182
1233
  static ɵfac: i0.ɵɵFactoryDeclaration<Gn4Repository, never>;
1183
1234
  static ɵprov: i0.ɵɵInjectableDeclaration<Gn4Repository>;
1184
1235
  }
@@ -1713,16 +1764,20 @@ declare class ElasticsearchService {
1713
1764
  private translateService;
1714
1765
  private injector;
1715
1766
  private runtimeFields;
1767
+ private fieldAliases;
1716
1768
  private get metadataLang();
1717
1769
  getSearchRequestBody(aggregations?: any, size?: number, from?: number, sortBy?: SortByField, requestFields?: RequestFields, searchFilters?: SearchFilters, configFilters?: SearchFilters, uuids?: string[], geometry?: Geometry): EsSearchParams;
1718
1770
  private processRuntimeFields;
1719
- registerRuntimeField(fieldName: string, expression: string): void;
1771
+ registerRuntimeField(fieldName: string, expression: string, type?: 'keyword' | 'date'): void;
1772
+ registerFieldAlias(fieldIdentifier: string, esFieldName: string): void;
1720
1773
  getMetadataByIdsPayload(uuids: string[]): EsSearchParams;
1721
1774
  getRelatedRecordPayload(record: CatalogRecord, size?: number, _source?: string[]): EsSearchParams;
1722
1775
  private buildPayloadSort;
1723
1776
  private injectLangInQueryStringFields;
1724
1777
  private getQueryLang;
1725
1778
  private isCurrentSearchLang;
1779
+ private findSpatialFilterExtent;
1780
+ private buildDateRangeQuery;
1726
1781
  private filtersToQuery;
1727
1782
  private mustNotFilters;
1728
1783
  private buildPayloadQuery;
@@ -1823,6 +1878,7 @@ declare abstract class PlatformServiceInterface {
1823
1878
  abstract supportsAuthentication(): boolean;
1824
1879
  abstract getMe(): Observable<UserModel>;
1825
1880
  abstract isAnonymous(): Observable<boolean>;
1881
+ abstract isAdministrator(): Observable<boolean>;
1826
1882
  abstract getUsers(): Observable<UserModel[]>;
1827
1883
  abstract getUserPermissionsByGroup(): Observable<GroupModel[]>;
1828
1884
  abstract getUsersByOrganization(organisation: Organization): Observable<UserModel[]>;
@@ -1999,6 +2055,7 @@ declare class Gn4PlatformService implements PlatformServiceInterface {
1999
2055
  private readonly gnParseVersion;
2000
2056
  private keyTranslations$;
2001
2057
  private me$;
2058
+ private isAdmin$;
2002
2059
  /**
2003
2060
  * A map of already loaded thesauri (groups of keywords); the key is a URI
2004
2061
  * @private
@@ -2012,6 +2069,7 @@ declare class Gn4PlatformService implements PlatformServiceInterface {
2012
2069
  getApiVersion(): Observable<string>;
2013
2070
  getMe(): Observable<UserModel>;
2014
2071
  isAnonymous(): Observable<boolean>;
2072
+ isAdministrator(): Observable<boolean>;
2015
2073
  getOrganizations(): Observable<Organization[]>;
2016
2074
  getUsersByOrganization(organisation: Organization): Observable<UserModel[]>;
2017
2075
  getUsers(): Observable<UserModel[]>;
@@ -2146,7 +2204,7 @@ declare class DateService {
2146
2204
  dateLocales: Promise<Record<geonetwork_ui.LanguageCode2, Locale>>;
2147
2205
  private getDateObject;
2148
2206
  private getLocaleAndDate;
2149
- private getDateLocale;
2207
+ getDateFnsLocale(): Promise<Locale>;
2150
2208
  formatDate(date: Date | string, options?: Intl.DateTimeFormatOptions): string;
2151
2209
  formatDateTime(date: Date | string, options?: Intl.DateTimeFormatOptions): string;
2152
2210
  formatRelativeDateTime(date: Date | string): Promise<string>;
@@ -2164,6 +2222,9 @@ declare function bytesToMegabytes(bytes: number): number;
2164
2222
  */
2165
2223
  declare function propagateToDocumentOnly(event: Event): void;
2166
2224
 
2225
+ declare function isFileExtensionValid(fileName: string, acceptedExtensions: string[]): boolean;
2226
+ declare function readFileAsText(file: File): Promise<string>;
2227
+
2167
2228
  declare function formatUserInfo(userInfo: string | unknown, displayCount?: boolean): string;
2168
2229
 
2169
2230
  type FuzzyFilter = (input: string) => boolean;
@@ -2179,11 +2240,17 @@ declare function createFuzzyFilter(pattern: string): FuzzyFilter;
2179
2240
  */
2180
2241
  declare function getGeometryFromGeoJSON(data: FeatureCollection | Feature | Geometry): Geometry | null;
2181
2242
  type BoundingBox = [number, number, number, number];
2243
+ declare function isBoundingBox(value: unknown): value is BoundingBox;
2244
+ /**
2245
+ * Checks that a bounding box's coordinates stay within the valid
2246
+ * longitude (-180/180) and latitude (-90/90) ranges.
2247
+ */
2248
+ declare function isBoundingBoxWithinWorldExtent(bbox: BoundingBox): boolean;
2182
2249
  declare function getGeometryBoundingBox(geometry: Geometry): BoundingBox;
2183
2250
  /**
2184
- * Builds the closed GeoJSON Polygon matching the given bounding box.
2251
+ * Builds the GeoJSON Geometry matching the given bounding box.
2185
2252
  */
2186
- declare function bboxToPolygon(bbox: BoundingBox): Polygon;
2253
+ declare function bboxToGeometry(bbox: BoundingBox): Geometry;
2187
2254
  /**
2188
2255
  * Returns the geometry carried by a spatial extent, falling back to the polygon
2189
2256
  * derived from its bounding box. Returns null when the extent has neither.
@@ -2384,14 +2451,7 @@ declare function checkFileFormat(link: DatasetOnlineResource | ServiceOnlineReso
2384
2451
  declare function getBadgeColor(linkFormat: FileFormat): string;
2385
2452
  declare function getLinkId(link: DatasetOnlineResource): string;
2386
2453
  declare function getLinkLabel(link: DatasetOnlineResource | ServiceOnlineResource): string;
2387
- declare function getLayers(url: string, serviceProtocol: ServiceProtocol): Promise<{
2388
- name: string;
2389
- hasRecords?: boolean;
2390
- hasFeatures?: boolean;
2391
- hasVectorTiles?: boolean;
2392
- hasMapTiles?: boolean;
2393
- hasDataQueries?: boolean;
2394
- }[] | _camptocamp_ogc_client.WfsFeatureTypeFull[] | _camptocamp_ogc_client.WmsLayerFull[] | _camptocamp_ogc_client.WmtsLayer[]>;
2454
+ declare function getLayers(url: string, serviceProtocol: ServiceProtocol, deep?: boolean): Promise<any[]>;
2395
2455
  declare function wmsLayerFlatten(layerFull: any): any[];
2396
2456
  declare function getMimeTypeForFormat(format: FileFormat): string | null;
2397
2457
 
@@ -2411,6 +2471,15 @@ declare class LinkClassifierService {
2411
2471
  static ɵprov: i0.ɵɵInjectableDeclaration<LinkClassifierService>;
2412
2472
  }
2413
2473
 
2474
+ declare class AutofocusDirective {
2475
+ private el;
2476
+ private injector;
2477
+ set autofocus(active: boolean);
2478
+ static ɵfac: i0.ɵɵFactoryDeclaration<AutofocusDirective, never>;
2479
+ static ɵdir: i0.ɵɵDirectiveDeclaration<AutofocusDirective, "[gnUiAutofocus]", never, { "autofocus": { "alias": "gnUiAutofocus"; "required": false; }; }, {}, never, never, true, never>;
2480
+ static ngAcceptInputType_autofocus: unknown;
2481
+ }
2482
+
2414
2483
  declare class ImageFallbackDirective {
2415
2484
  private el;
2416
2485
  fallbackUrl: string;
@@ -2466,30 +2535,6 @@ declare class MapUtilsService {
2466
2535
  static ɵprov: i0.ɵɵInjectableDeclaration<MapUtilsService>;
2467
2536
  }
2468
2537
 
2469
- interface CreateStyleOptions {
2470
- color: string;
2471
- isFocused?: boolean;
2472
- }
2473
- type StyleByGeometryType = {
2474
- line: Style | Style[];
2475
- polygon: Style | Style[];
2476
- point: Style | Style[];
2477
- };
2478
- declare class MapStyleService {
2479
- styles: {
2480
- default: StyleLike;
2481
- defaultHL: StyleLike;
2482
- };
2483
- createGeometryStyles(options: CreateStyleOptions): StyleByGeometryType;
2484
- createStyleFunction(styleByGeometryType: StyleByGeometryType): StyleLike;
2485
- private computeTransparentFillColor;
2486
- static ɵfac: i0.ɵɵFactoryDeclaration<MapStyleService, never>;
2487
- static ɵprov: i0.ɵɵInjectableDeclaration<MapStyleService>;
2488
- }
2489
-
2490
- declare const defaultMapStyleFixture: () => Style;
2491
- declare const defaultMapStyleHlFixture: () => Style;
2492
-
2493
2538
  declare class LayersPanelComponent {
2494
2539
  private mapFacade;
2495
2540
  layers$: rxjs.Observable<MapContextLayer[]>;
@@ -2735,6 +2780,13 @@ declare class AutocompleteComponent implements OnInit, AfterViewInit, OnDestroy,
2735
2780
  triggerRef: MatAutocompleteTrigger;
2736
2781
  autocomplete: MatAutocomplete;
2737
2782
  inputRef: ElementRef<HTMLInputElement>;
2783
+ /**
2784
+ * Custom template to render each suggestion. Takes precedence over
2785
+ * `displayWithFn` when set.
2786
+ */
2787
+ displayWithTemplate?: TemplateRef<{
2788
+ $implicit: AutocompleteItem;
2789
+ }>;
2738
2790
  searching: boolean;
2739
2791
  control: UntypedFormControl;
2740
2792
  cancelEnter: boolean;
@@ -2780,7 +2832,7 @@ declare class AutocompleteComponent implements OnInit, AfterViewInit, OnDestroy,
2780
2832
  handleSelection(event: MatAutocompleteSelectedEvent): void;
2781
2833
  handleInput(event: InputEvent): void;
2782
2834
  static ɵfac: i0.ɵɵFactoryDeclaration<AutocompleteComponent, never>;
2783
- static ɵcmp: i0.ɵɵComponentDeclaration<AutocompleteComponent, "gn-ui-autocomplete", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "enterButton": { "alias": "enterButton"; "required": false; }; "action": { "alias": "action"; "required": false; }; "value": { "alias": "value"; "required": false; }; "clearOnSelection": { "alias": "clearOnSelection"; "required": false; }; "preventCompleteOnSelection": { "alias": "preventCompleteOnSelection"; "required": false; }; "autoFocus": { "alias": "autoFocus"; "required": false; }; "minCharacterCount": { "alias": "minCharacterCount"; "required": false; }; "allowSubmit": { "alias": "allowSubmit"; "required": false; }; "forceTrackPosition": { "alias": "forceTrackPosition"; "required": false; }; "displayWithFn": { "alias": "displayWithFn"; "required": false; }; }, { "itemSelected": "itemSelected"; "inputSubmitted": "inputSubmitted"; "inputCleared": "inputCleared"; "isSearchActive": "isSearchActive"; }, never, never, true, never>;
2835
+ static ɵcmp: i0.ɵɵComponentDeclaration<AutocompleteComponent, "gn-ui-autocomplete", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "enterButton": { "alias": "enterButton"; "required": false; }; "action": { "alias": "action"; "required": false; }; "value": { "alias": "value"; "required": false; }; "clearOnSelection": { "alias": "clearOnSelection"; "required": false; }; "preventCompleteOnSelection": { "alias": "preventCompleteOnSelection"; "required": false; }; "autoFocus": { "alias": "autoFocus"; "required": false; }; "minCharacterCount": { "alias": "minCharacterCount"; "required": false; }; "allowSubmit": { "alias": "allowSubmit"; "required": false; }; "forceTrackPosition": { "alias": "forceTrackPosition"; "required": false; }; "displayWithTemplate": { "alias": "displayWithTemplate"; "required": false; }; "displayWithFn": { "alias": "displayWithFn"; "required": false; }; }, { "itemSelected": "itemSelected"; "inputSubmitted": "inputSubmitted"; "inputCleared": "inputCleared"; "isSearchActive": "isSearchActive"; }, never, never, true, never>;
2784
2836
  }
2785
2837
 
2786
2838
  declare class BadgeComponent {
@@ -2838,30 +2890,47 @@ declare class CopyTextButtonComponent {
2838
2890
  static ɵcmp: i0.ɵɵComponentDeclaration<CopyTextButtonComponent, "gn-ui-copy-text-button", never, { "text": { "alias": "text"; "required": false; }; "tooltipText": { "alias": "tooltipText"; "required": false; }; "displayText": { "alias": "displayText"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; }, {}, never, never, true, never>;
2839
2891
  }
2840
2892
 
2893
+ declare function provideLocalizedDateAdapter(): Provider[];
2894
+
2841
2895
  declare class DatePickerComponent {
2842
- private dateAdapter;
2843
- private translate;
2844
2896
  date: Date;
2845
2897
  dateChange: EventEmitter<Date>;
2846
- constructor();
2847
2898
  static ɵfac: i0.ɵɵFactoryDeclaration<DatePickerComponent, never>;
2848
2899
  static ɵcmp: i0.ɵɵComponentDeclaration<DatePickerComponent, "gn-ui-date-picker", never, { "date": { "alias": "date"; "required": false; }; }, { "dateChange": "dateChange"; }, never, never, true, never>;
2849
2900
  }
2850
2901
 
2851
- declare class DateRangeDropdownComponent implements AfterViewChecked {
2852
- private overlayContainer;
2902
+ type DateRangeBound = 'start' | 'end';
2903
+ declare class DateRangeDropdownComponent {
2904
+ private scrollStrategies;
2905
+ private dateAdapter;
2906
+ private dateFormats;
2853
2907
  private cdr;
2854
2908
  title: string;
2855
- startDate: Date;
2856
- endDate: Date;
2857
- startDateChange: EventEmitter<Date>;
2858
- endDateChange: EventEmitter<Date>;
2859
- picker: ElementRef;
2860
- isPickerDisplayed: boolean;
2861
- ngAfterViewChecked(): void;
2862
- checkPickerOverlay(): void;
2909
+ dateRange: FieldFilterByRange;
2910
+ dateRangeChange: EventEmitter<FieldFilterByRange>;
2911
+ overlayOrigin: CdkOverlayOrigin;
2912
+ overlayPositions: ConnectedPosition[];
2913
+ scrollStrategy: _angular_cdk_overlay.RepositionScrollStrategy;
2914
+ overlayOpen: boolean;
2915
+ expandedBound: DateRangeBound | null;
2916
+ invalidBounds: Record<DateRangeBound, boolean>;
2917
+ constructor();
2918
+ get startDate(): Date;
2919
+ get endDate(): Date;
2920
+ get selectedDatesCount(): number;
2921
+ openOverlay(): void;
2922
+ closeOverlay(): void;
2923
+ toggleBound(bound: DateRangeBound): void;
2924
+ formatDate(date: Date): string;
2925
+ onDateInput(bound: DateRangeBound, event: Event): void;
2926
+ normalizeDateInput(bound: DateRangeBound, event: Event): void;
2927
+ private isAcceptable;
2928
+ setStartDate(date: Date): void;
2929
+ setEndDate(date: Date): void;
2930
+ clearDates(event: Event): void;
2931
+ private applyDateRange;
2863
2932
  static ɵfac: i0.ɵɵFactoryDeclaration<DateRangeDropdownComponent, never>;
2864
- static ɵcmp: i0.ɵɵComponentDeclaration<DateRangeDropdownComponent, "gn-ui-date-range-dropdown", never, { "title": { "alias": "title"; "required": false; }; "startDate": { "alias": "startDate"; "required": false; }; "endDate": { "alias": "endDate"; "required": false; }; }, { "startDateChange": "startDateChange"; "endDateChange": "endDateChange"; }, never, never, true, never>;
2933
+ static ɵcmp: i0.ɵɵComponentDeclaration<DateRangeDropdownComponent, "gn-ui-date-range-dropdown", never, { "title": { "alias": "title"; "required": false; }; "dateRange": { "alias": "dateRange"; "required": false; }; }, { "dateRangeChange": "dateRangeChange"; }, never, never, true, never>;
2865
2934
  }
2866
2935
 
2867
2936
  declare class DateRangePickerComponent {
@@ -2874,31 +2943,43 @@ declare class DateRangePickerComponent {
2874
2943
  }
2875
2944
 
2876
2945
  declare const placeholder = "dropFile";
2946
+ type DragAndDropFileInputError = 'invalid-extension' | 'file-too-large';
2877
2947
  declare class DragAndDropFileInputComponent {
2878
2948
  placeholder: string;
2879
2949
  accept: string;
2880
- fileChange: EventEmitter<any>;
2950
+ maxFileSizeMb: number | null;
2951
+ icon: string | null;
2952
+ dropzoneBackgroundColor: string | null;
2953
+ textClass: string;
2954
+ extraClass: string;
2955
+ showFileName: boolean;
2956
+ fileChange: EventEmitter<File>;
2957
+ errorChange: EventEmitter<DragAndDropFileInputError>;
2881
2958
  selectedFile: File;
2959
+ private dropzone;
2882
2960
  get fileName(): string | null;
2961
+ get maxFileSizeBytes(): number | null;
2883
2962
  selectFile(event: any): void;
2963
+ openFileSelector(): void;
2964
+ clear(): void;
2884
2965
  static ɵfac: i0.ɵɵFactoryDeclaration<DragAndDropFileInputComponent, never>;
2885
- static ɵcmp: i0.ɵɵComponentDeclaration<DragAndDropFileInputComponent, "gn-ui-drag-and-drop-file-input", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "accept": { "alias": "accept"; "required": false; }; }, { "fileChange": "fileChange"; }, never, never, true, never>;
2966
+ static ɵcmp: i0.ɵɵComponentDeclaration<DragAndDropFileInputComponent, "gn-ui-drag-and-drop-file-input", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "accept": { "alias": "accept"; "required": false; }; "maxFileSizeMb": { "alias": "maxFileSizeMb"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "dropzoneBackgroundColor": { "alias": "dropzoneBackgroundColor"; "required": false; }; "textClass": { "alias": "textClass"; "required": false; }; "extraClass": { "alias": "extraClass"; "required": false; }; "showFileName": { "alias": "showFileName"; "required": false; }; }, { "fileChange": "fileChange"; "errorChange": "errorChange"; }, never, never, true, never>;
2886
2967
  }
2887
2968
 
2888
- interface Choice$1 {
2889
- value: unknown;
2969
+ interface Choice$1<T = unknown> {
2970
+ value: T;
2890
2971
  label: string;
2891
2972
  }
2892
2973
 
2893
- declare class DropdownMultiselectComponent {
2974
+ declare class DropdownMultiselectComponent<T = unknown> {
2894
2975
  private scrollStrategies;
2895
2976
  title: string;
2896
- choices: Choice$1[];
2897
- selected: unknown[];
2977
+ choices: Choice$1<T>[];
2978
+ selected: T[];
2898
2979
  allowSearch: boolean;
2899
2980
  maxRows: number;
2900
2981
  searchInputValue: string;
2901
- selectValues: EventEmitter<unknown[]>;
2982
+ selectValues: EventEmitter<T[]>;
2902
2983
  overlayOrigin: CdkOverlayOrigin;
2903
2984
  overlay: CdkConnectedOverlay;
2904
2985
  overlayContainer: ElementRef;
@@ -2911,8 +2992,8 @@ declare class DropdownMultiselectComponent {
2911
2992
  overlayMaxHeight: string;
2912
2993
  id: string;
2913
2994
  get hasSelectedChoices(): boolean;
2914
- get selectedChoices(): Choice$1[];
2915
- get filteredChoicesByText(): Choice$1[];
2995
+ get selectedChoices(): Choice$1<T>[];
2996
+ get filteredChoicesByText(): Choice$1<T>[];
2916
2997
  get focusedIndex(): number | -1;
2917
2998
  private setFocus;
2918
2999
  openOverlay(): Promise<[void, any]>;
@@ -2922,13 +3003,13 @@ declare class DropdownMultiselectComponent {
2922
3003
  focusFirstItem(): void;
2923
3004
  focusLastItem(): void;
2924
3005
  shiftItemFocus(shift: number): void;
2925
- isSelected(choice: Choice$1): boolean;
2926
- select(choice: Choice$1, selected: boolean): void;
2927
- toggle(choice: Choice$1): void;
3006
+ isSelected(choice: Choice$1<T>): boolean;
3007
+ select(choice: Choice$1<T>, selected: boolean): void;
3008
+ toggle(choice: Choice$1<T>): void;
2928
3009
  clearSelection(event: Event): void;
2929
3010
  clearSearchInputValue(event: Event): void;
2930
- static ɵfac: i0.ɵɵFactoryDeclaration<DropdownMultiselectComponent, never>;
2931
- static ɵcmp: i0.ɵɵComponentDeclaration<DropdownMultiselectComponent, "gn-ui-dropdown-multiselect", never, { "title": { "alias": "title"; "required": false; }; "choices": { "alias": "choices"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "allowSearch": { "alias": "allowSearch"; "required": false; }; "maxRows": { "alias": "maxRows"; "required": false; }; "searchInputValue": { "alias": "searchInputValue"; "required": false; }; }, { "selectValues": "selectValues"; }, never, never, true, never>;
3011
+ static ɵfac: i0.ɵɵFactoryDeclaration<DropdownMultiselectComponent<any>, never>;
3012
+ static ɵcmp: i0.ɵɵComponentDeclaration<DropdownMultiselectComponent<any>, "gn-ui-dropdown-multiselect", never, { "title": { "alias": "title"; "required": false; }; "choices": { "alias": "choices"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "allowSearch": { "alias": "allowSearch"; "required": false; }; "maxRows": { "alias": "maxRows"; "required": false; }; "searchInputValue": { "alias": "searchInputValue"; "required": false; }; }, { "selectValues": "selectValues"; }, never, never, true, never>;
2932
3013
  }
2933
3014
 
2934
3015
  interface DropdownChoice {
@@ -3167,13 +3248,55 @@ declare class DateRangeInputsComponent {
3167
3248
  static ɵcmp: i0.ɵɵComponentDeclaration<DateRangeInputsComponent, "gn-ui-date-range-inputs", never, { "temporalExtent": { "alias": "temporalExtent"; "required": false; }; }, { "temporalExtentChange": "temporalExtentChange"; }, never, never, true, never>;
3168
3249
  }
3169
3250
 
3251
+ interface SpatialExtentDropdownError {
3252
+ key: string;
3253
+ params?: Record<string, string | number>;
3254
+ }
3255
+ declare class SpatialExtentDropdownComponent {
3256
+ private cd;
3257
+ private scrollStrategies;
3258
+ title: string;
3259
+ maxFileSizeMb: number | null;
3260
+ set initialBbox(value: BoundingBox | null);
3261
+ bboxChange: EventEmitter<BoundingBox>;
3262
+ errorChange: EventEmitter<SpatialExtentDropdownError>;
3263
+ bbox: BoundingBox | null;
3264
+ fileName: string;
3265
+ locationName: string;
3266
+ overlayOrigin: CdkOverlayOrigin;
3267
+ overlay: CdkConnectedOverlay;
3268
+ fileInput: DragAndDropFileInputComponent;
3269
+ overlayPositions: ConnectedPosition[];
3270
+ scrollStrategy: _angular_cdk_overlay.RepositionScrollStrategy;
3271
+ overlayOpen: boolean;
3272
+ overlayMinWidth: string;
3273
+ errorKey: string | null;
3274
+ get hasSelection(): boolean;
3275
+ get selectionLabelKey(): "search.filters.spatialExtent.bboxFromFile" | "search.filters.spatialExtent.bboxFromLocation" | "search.filters.spatialExtent.bboxInitial";
3276
+ get selectionDeleteLabelKey(): "search.filters.spatialExtent.bboxFromFileDelete" | "search.filters.spatialExtent.bboxFromLocationDelete" | "search.filters.spatialExtent.bboxInitialDelete";
3277
+ get selectionLabelParams(): {
3278
+ fileName: string;
3279
+ locationName: string;
3280
+ };
3281
+ openOverlay(): void;
3282
+ closeOverlay(): void;
3283
+ toggleOverlay(): void;
3284
+ handleFileSelected(file: File): Promise<void>;
3285
+ setLocationBbox(bbox: BoundingBox, name: string): void;
3286
+ handleFileError(error: DragAndDropFileInputError): void;
3287
+ private setError;
3288
+ removeSelection(event: Event): void;
3289
+ static ɵfac: i0.ɵɵFactoryDeclaration<SpatialExtentDropdownComponent, never>;
3290
+ static ɵcmp: i0.ɵɵComponentDeclaration<SpatialExtentDropdownComponent, "gn-ui-spatial-extent-dropdown", never, { "title": { "alias": "title"; "required": false; }; "maxFileSizeMb": { "alias": "maxFileSizeMb"; "required": false; }; "initialBbox": { "alias": "initialBbox"; "required": false; }; }, { "bboxChange": "bboxChange"; "errorChange": "errorChange"; }, never, ["*"], true, never>;
3291
+ }
3292
+
3170
3293
  declare class ResultsHitsSearchKindComponent implements OnChanges {
3171
3294
  selected: string[];
3172
3295
  choices: Choice$1[];
3173
3296
  selectionChanged: EventEmitter<string[]>;
3174
3297
  availableChoices: Choice$1[];
3175
3298
  ngOnChanges(changes: SimpleChanges): void;
3176
- buildFilterChoices(availableValues: Choice$1[]): Choice$1[];
3299
+ buildFilterChoices(availableValues: Choice$1[]): Choice$1<unknown>[];
3177
3300
  onSelectedValues(values: string[]): void;
3178
3301
  isSelectedChoice(choiceValue: string): boolean;
3179
3302
  isAllChoice(choiceValue: string): boolean;
@@ -3283,26 +3406,6 @@ declare class AddLayerRecordPreviewComponent extends RecordPreviewComponent {
3283
3406
  static ɵcmp: i0.ɵɵComponentDeclaration<AddLayerRecordPreviewComponent, "gn-ui-add-layer-record-preview", never, {}, {}, never, never, true, never>;
3284
3407
  }
3285
3408
 
3286
- declare class GeocodingComponent implements OnDestroy {
3287
- private mapFacade;
3288
- private geocodingService;
3289
- searchText: string;
3290
- results: any[];
3291
- searchTextChanged: Subject<string>;
3292
- destroy$: Subject<void>;
3293
- errorMessage: string | null;
3294
- constructor();
3295
- ngOnDestroy(): void;
3296
- onSearchChange(searchText: string): void;
3297
- clearSearch(): void;
3298
- zoomToLocation(result: any): Promise<void>;
3299
- zoomToPoint(pointCoords: [number, number]): Promise<void>;
3300
- zoomToPolygon(polygonCoords: [[number, number][]]): Promise<void>;
3301
- onEnterPress(): void;
3302
- static ɵfac: i0.ɵɵFactoryDeclaration<GeocodingComponent, never>;
3303
- static ɵcmp: i0.ɵɵComponentDeclaration<GeocodingComponent, "gn-ui-geocoding", never, {}, {}, never, never, true, never>;
3304
- }
3305
-
3306
3409
  interface NotificationContent {
3307
3410
  type: 'info' | 'warning' | 'error' | 'success';
3308
3411
  title: string;
@@ -3315,7 +3418,7 @@ type NotificationWithIdentity = NotificationContent & {
3315
3418
  };
3316
3419
  declare class NotificationsService {
3317
3420
  notifications$: BehaviorSubject<NotificationWithIdentity[]>;
3318
- showNotification(content: NotificationContent, timeoutMs?: number, error?: Error): void;
3421
+ showNotification(content: NotificationContent, timeoutMs?: number, error?: Error): number;
3319
3422
  removeNotificationById(id: number): void;
3320
3423
  static ɵfac: i0.ɵɵFactoryDeclaration<NotificationsService, never>;
3321
3424
  static ɵprov: i0.ɵɵInjectableDeclaration<NotificationsService>;
@@ -3336,6 +3439,48 @@ declare class FeatureSearchModule {
3336
3439
  static ɵinj: i0.ɵɵInjectorDeclaration<FeatureSearchModule>;
3337
3440
  }
3338
3441
 
3442
+ type GeoadminGeocodingProvider = ['geoadmin', GeoadminOptions];
3443
+ type GeonamesGeocodingProvider = ['geonames', GeonamesOptions];
3444
+ type GeoplateformeGeocodingProvider = ['geoplateforme', GeoplateformeOptions];
3445
+ type GeocodingProvider = GeoadminGeocodingProvider | GeonamesGeocodingProvider | GeoplateformeGeocodingProvider;
3446
+ declare const DEFAULT_GEOCODING_PROVIDER: GeocodingProvider;
3447
+ declare const GEOCODING_PROVIDER: InjectionToken<GeocodingProvider>;
3448
+ declare class GeocodingService {
3449
+ private provider;
3450
+ query(text: string): Observable<GeocodingResult[]>;
3451
+ static ɵfac: i0.ɵɵFactoryDeclaration<GeocodingService, never>;
3452
+ static ɵprov: i0.ɵɵInjectableDeclaration<GeocodingService>;
3453
+ }
3454
+
3455
+ interface GeocodingProviderLabels {
3456
+ main?: string;
3457
+ secondary?: string;
3458
+ tertiary?: string;
3459
+ }
3460
+ interface LocationBbox {
3461
+ bbox: BoundingBox;
3462
+ label: string;
3463
+ }
3464
+ declare const GEOCODING_PROVIDER_LABELS: InjectionToken<GeocodingProviderLabels>;
3465
+ declare class LocationSearchComponent {
3466
+ private geocodingService;
3467
+ private labels;
3468
+ placeholder: string;
3469
+ resultSelected: EventEmitter<GeocodingResult>;
3470
+ bboxSelected: EventEmitter<LocationBbox>;
3471
+ displayWithFn: (item: AutocompleteItem) => string;
3472
+ searchAction: (text: string) => Observable<AutocompleteItem[]>;
3473
+ getSecondaryLabel(result: GeocodingResult): string | undefined;
3474
+ getMainLabel(result: GeocodingResult): string;
3475
+ getTertiaryLabel(result: GeocodingResult): string | undefined;
3476
+ getDisplayLabel(result: GeocodingResult): string;
3477
+ private resolveLabel;
3478
+ private getGeometry;
3479
+ handleItemSelected(item: AutocompleteItem): void;
3480
+ static ɵfac: i0.ɵɵFactoryDeclaration<LocationSearchComponent, never>;
3481
+ static ɵcmp: i0.ɵɵComponentDeclaration<LocationSearchComponent, "gn-ui-location-search", never, { "placeholder": { "alias": "placeholder"; "required": false; }; }, { "resultSelected": "resultSelected"; "bboxSelected": "bboxSelected"; }, never, never, true, never>;
3482
+ }
3483
+
3339
3484
  declare const FILTER_GEOMETRY: InjectionToken<Promise<Geometry>>;
3340
3485
 
3341
3486
  declare const RECORD_DATASET_URL_TOKEN: InjectionToken<string>;
@@ -3641,7 +3786,7 @@ declare class SearchService implements SearchServiceI {
3641
3786
  static ɵprov: i0.ɵɵInjectableDeclaration<SearchService>;
3642
3787
  }
3643
3788
 
3644
- type FieldType = 'values' | 'dateRange';
3789
+ type FieldType = 'values' | 'dateRange' | 'spatialExtent';
3645
3790
  type FieldValue = string | number;
3646
3791
  interface FieldAvailableValue {
3647
3792
  value: FieldValue;
@@ -3661,13 +3806,19 @@ declare class SimpleSearchField implements AbstractSearchField {
3661
3806
  protected orderType: 'key' | 'count';
3662
3807
  protected repository: RecordsRepositoryInterface;
3663
3808
  protected esService: ElasticsearchService;
3809
+ private customIdentifier?;
3810
+ protected get fieldIdentifier(): string;
3811
+ includeValues: string[];
3812
+ excludeValues: string[];
3664
3813
  constructor(esFieldName: string, injector: Injector, order?: 'asc' | 'desc', orderType?: 'key' | 'count');
3814
+ setFieldIdentifier(fieldIdentifier: string): void;
3665
3815
  protected getAggregations(): AggregationsParams;
3666
3816
  protected getBucketLabel(bucket: TermBucket): Promise<string>;
3667
3817
  getAvailableValues(): Observable<FieldAvailableValue[]>;
3668
3818
  getFiltersForValues(values: FieldValue[] | DateRange[]): Observable<FieldFilters | string>;
3669
3819
  getValuesForFilter(filters: FieldFilters): Observable<FieldValue[] | FieldValue | DateRange>;
3670
3820
  getType(): FieldType;
3821
+ clone(): typeof this;
3671
3822
  }
3672
3823
  declare class TranslatedSearchField extends SimpleSearchField {
3673
3824
  protected esFieldName: string;
@@ -3739,6 +3890,15 @@ declare class DateRangeSearchField extends SimpleSearchField {
3739
3890
  getAvailableValues(): Observable<FieldAvailableValue[]>;
3740
3891
  getType(): FieldType;
3741
3892
  }
3893
+ declare class ResourceCreationRevisionDateSearchField extends DateRangeSearchField {
3894
+ constructor(injector: Injector, order?: 'asc' | 'desc');
3895
+ }
3896
+ declare class BoundingBoxSearchField extends SimpleSearchField {
3897
+ getAvailableValues(): Observable<FieldAvailableValue[]>;
3898
+ getFiltersForValues(values: FieldValue[]): Observable<FieldFilters>;
3899
+ getValuesForFilter(filters: FieldFilters): Observable<FieldValue[]>;
3900
+ getType(): FieldType;
3901
+ }
3742
3902
  declare class AvailableServicesField extends SimpleSearchField {
3743
3903
  private translateService;
3744
3904
  constructor(injector: Injector);
@@ -3771,9 +3931,19 @@ declare class RecordKindField extends SimpleSearchField {
3771
3931
  }
3772
3932
 
3773
3933
  type FieldValues = Record<string, FieldValue[] | FieldValue | DateRange>;
3934
+ interface CustomSearchField {
3935
+ name: string;
3936
+ baseFilter: string;
3937
+ excludeValues?: string[];
3938
+ includeValues?: string[];
3939
+ }
3940
+ declare const CUSTOM_FIELDS: InjectionToken<CustomSearchField[]>;
3774
3941
  declare class FieldsService {
3775
3942
  protected injector: Injector;
3943
+ private customFields;
3944
+ private baseFields;
3776
3945
  protected fields: Record<string, AbstractSearchField>;
3946
+ constructor();
3777
3947
  get supportedFields(): string[];
3778
3948
  getAvailableValues(fieldName: string): Observable<FieldAvailableValue[] | DateRange[]>;
3779
3949
  private getFiltersForValues;
@@ -4640,21 +4810,30 @@ declare class ResultsListContainerComponent implements OnInit {
4640
4810
  static ɵcmp: i0.ɵɵComponentDeclaration<ResultsListContainerComponent, "gn-ui-results-list-container", never, { "metadataQualityDisplay": { "alias": "metadataQualityDisplay"; "required": false; }; "layout": { "alias": "layout"; "required": false; }; "showMore": { "alias": "showMore"; "required": false; }; }, { "mdSelect": "mdSelect"; }, never, never, true, never>;
4641
4811
  }
4642
4812
 
4813
+ declare const SPATIAL_EXTENT_MAX_FILE_SIZE: InjectionToken<number>;
4643
4814
  declare class FilterDropdownComponent implements OnInit {
4644
4815
  private searchFacade;
4645
4816
  private searchService;
4646
4817
  private fieldsService;
4818
+ private notificationsService;
4819
+ private translateService;
4647
4820
  fieldName: string;
4648
4821
  title: string;
4822
+ spatialExtentDropdown: SpatialExtentDropdownComponent;
4823
+ spatialExtentMaxFileSize: number;
4649
4824
  fieldType: FieldType;
4650
- dateRange: DateRange;
4651
4825
  choices$: Observable<Choice$1[]>;
4652
4826
  selected$: Observable<FieldValue[]>;
4653
4827
  selectedDateRange$: Observable<DateRange>;
4828
+ selectedBoundingBox$: Observable<BoundingBox | null>;
4654
4829
  onSelectedValues(values: unknown[]): void;
4830
+ private spatialExtentErrorNotificationId;
4831
+ onBboxChange(bbox: BoundingBox | null): void;
4832
+ onLocationSelected({ bbox, label }: LocationBbox): void;
4833
+ onSpatialExtentError(error: SpatialExtentDropdownError): void;
4834
+ private clearSpatialExtentErrorNotification;
4655
4835
  ngOnInit(): void;
4656
- onStartDateChange(start: Date): void;
4657
- onEndDateChange(end: Date): void;
4836
+ onDateRangeChange(dateRange: DateRange): void;
4658
4837
  static ɵfac: i0.ɵɵFactoryDeclaration<FilterDropdownComponent, never>;
4659
4838
  static ɵcmp: i0.ɵɵComponentDeclaration<FilterDropdownComponent, "gn-ui-filter-dropdown", never, { "fieldName": { "alias": "fieldName"; "required": false; }; "title": { "alias": "title"; "required": false; }; }, {}, never, never, true, never>;
4660
4839
  }
@@ -4851,7 +5030,7 @@ declare class SearchFiltersSummaryItemComponent implements OnInit {
4851
5030
  private searchFacade;
4852
5031
  private searchService;
4853
5032
  private fieldsService;
4854
- private datePipe;
5033
+ private dateService;
4855
5034
  private translate;
4856
5035
  fieldName: string;
4857
5036
  fieldType: FieldType;
@@ -4860,6 +5039,7 @@ declare class SearchFiltersSummaryItemComponent implements OnInit {
4860
5039
  ngOnInit(): void;
4861
5040
  translateLabel(): void;
4862
5041
  getReadableValues(fieldValues: FieldValue[] | DateRange[]): DisplayedValue[];
5042
+ private formatBound;
4863
5043
  removeFilterValue(fieldValue: FieldValue | DateRange): Promise<void>;
4864
5044
  static ɵfac: i0.ɵɵFactoryDeclaration<SearchFiltersSummaryItemComponent, never>;
4865
5045
  static ɵcmp: i0.ɵɵComponentDeclaration<SearchFiltersSummaryItemComponent, "gn-ui-search-filters-summary-item", never, { "fieldName": { "alias": "fieldName"; "required": false; }; }, {}, never, never, true, never>;
@@ -5046,8 +5226,9 @@ declare class DataService {
5046
5226
  getDownloadUrlFromEsriRest(apiUrl: string, format: string): string;
5047
5227
  getDownloadLinksFromWfs(wfsLink: DatasetServiceDistribution): Observable<DatasetOnlineResource[]>;
5048
5228
  getDownloadLinksFromOgcApiFeatures(ogcApiLink: DatasetServiceDistribution): Promise<DatasetOnlineResource[]>;
5049
- getDownloadUrlsFromOgcApi(url: string): Promise<OgcApiCollectionInfo>;
5050
- getItemsFromOgcApi(url: string, limit?: number): Promise<OgcApiRecord[]>;
5229
+ private getTargetCollectionId;
5230
+ getDownloadUrlsFromOgcApi(url: string, collectionId?: string): Promise<OgcApiCollectionInfo>;
5231
+ getItemsFromOgcApi(url: string, collectionId?: string, limit?: number): Promise<OgcApiRecord[]>;
5051
5232
  getItemsFromStacApi(url: string, options: GetCollectionItemsOptions): Promise<StacItemsDocument>;
5052
5233
  getGeodataLinksFromTms(tmsLink: DatasetServiceDistribution, keepOriginalLink?: boolean): Promise<DatasetServiceDistribution[]>;
5053
5234
  getDownloadLinksFromEsriRest(esriRestLink: DatasetServiceDistribution): DatasetOnlineResource[];
@@ -5915,15 +6096,16 @@ interface FormFieldConfig {
5915
6096
  invalid?: boolean;
5916
6097
  invalidHintKey?: string;
5917
6098
  }
6099
+ type FormFieldModel = CatalogRecordKeys | 'flags';
5918
6100
  type OnlineLinkResourceSpecifier = `onlineResourceType:link`;
5919
6101
  type DatasetDistributionsSpecifier = `onlineResourceType:!link`;
5920
6102
  type OnlineSingleLinkResourceSpecifier = `onlineResourceType:singleLink`;
5921
6103
  type EditableContactDetailsSpecifier = `contact:editableDetails`;
5922
- type FieldModelSpecifier = OnlineLinkResourceSpecifier | DatasetDistributionsSpecifier | OnlineSingleLinkResourceSpecifier | EditableContactDetailsSpecifier;
6104
+ type FormFieldModelSpecifier = OnlineLinkResourceSpecifier | DatasetDistributionsSpecifier | OnlineSingleLinkResourceSpecifier | EditableContactDetailsSpecifier | `flags:${RecordFlag}`;
5923
6105
  type FormFieldComponentName = 'form-field-constraints-shortcuts' | 'form-field-spatial-toggle';
5924
6106
  interface EditorFieldIdentification {
5925
- model?: CatalogRecordKeys;
5926
- modelSpecifier?: FieldModelSpecifier;
6107
+ model?: FormFieldModel;
6108
+ modelSpecifier?: FormFieldModelSpecifier;
5927
6109
  componentName?: FormFieldComponentName;
5928
6110
  }
5929
6111
  interface EditorField extends EditorFieldIdentification {
@@ -6347,8 +6529,8 @@ declare class FormFieldSpatialExtentComponent {
6347
6529
  declare class FormFieldComponent {
6348
6530
  uniqueIdentifier: string;
6349
6531
  recordKind: RecordKind;
6350
- model: CatalogRecordKeys;
6351
- modelSpecifier: FieldModelSpecifier;
6532
+ model: FormFieldModel;
6533
+ modelSpecifier: FormFieldModelSpecifier;
6352
6534
  componentName: FormFieldComponentName;
6353
6535
  config: FormFieldConfig;
6354
6536
  value: unknown;
@@ -6371,6 +6553,7 @@ declare class FormFieldComponent {
6371
6553
  get valueAsIndividuals(): Array<Individual>;
6372
6554
  get valueAsOnlineResources(): Array<OnlineResource>;
6373
6555
  get valueAsResourceIdentifierCode(): string;
6556
+ get recordFlag(): RecordFlag;
6374
6557
  handleResourceIdentifierChange(code: string): void;
6375
6558
  static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldComponent, never>;
6376
6559
  static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldComponent, "gn-ui-form-field", never, { "uniqueIdentifier": { "alias": "uniqueIdentifier"; "required": false; }; "recordKind": { "alias": "recordKind"; "required": false; }; "model": { "alias": "model"; "required": false; }; "modelSpecifier": { "alias": "modelSpecifier"; "required": false; }; "componentName": { "alias": "componentName"; "required": false; }; "config": { "alias": "config"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, [{ directive: typeof FieldFocusDirective; inputs: {}; outputs: {}; }]>;
@@ -6400,6 +6583,7 @@ declare class FormFieldTopicsComponent {
6400
6583
  declare class RecordFormComponent implements OnInit, OnDestroy {
6401
6584
  facade: EditorFacade;
6402
6585
  notifications: NotificationsService;
6586
+ platform: PlatformServiceInterface;
6403
6587
  subscription: Subscription;
6404
6588
  recordUniqueIdentifier$: rxjs.Observable<string>;
6405
6589
  recordKind$: rxjs.Observable<"dataset" | "service" | "reuse">;
@@ -6409,14 +6593,16 @@ declare class RecordFormComponent implements OnInit, OnDestroy {
6409
6593
  focusField(model: CatalogRecordKeys, sectionIndex: number): void;
6410
6594
  ngOnInit(): void;
6411
6595
  ngOnDestroy(): void;
6412
- handleFieldValueChange(model: CatalogRecordKeys, newValue: EditorFieldValue): void;
6413
- fieldTracker(index: number, field: EditorFieldWithValue): CatalogRecordKeys;
6596
+ handleFieldValueChange(model: FormFieldModel, newValue: EditorFieldValue): void;
6597
+ fieldTracker(index: number, field: EditorFieldWithValue): FormFieldModel;
6414
6598
  sectionTracker(index: number, section: EditorSectionWithValues): string;
6415
6599
  getFieldLocation(model: CatalogRecordKeys): Promise<{
6416
6600
  page: number;
6417
6601
  section: number;
6418
6602
  } | null>;
6419
6603
  private recordSignal;
6604
+ private userSignal;
6605
+ private isAdminSignal;
6420
6606
  private expressionCache;
6421
6607
  evaluateExpression(expressionOrValue: string | EditorFieldValue): Signal<EditorFieldValue>;
6422
6608
  static ɵfac: i0.ɵɵFactoryDeclaration<RecordFormComponent, never>;
@@ -6923,6 +7109,19 @@ interface SearchPreset {
6923
7109
  name: string;
6924
7110
  filters: Record<string, string[] | string>;
6925
7111
  }
7112
+ type GeocodingProviderName = 'geoadmin' | 'geonames' | 'geoplateforme';
7113
+ interface CustomSearchFieldConfig {
7114
+ name: string;
7115
+ baseFilter: string;
7116
+ excludeValues?: string[];
7117
+ includeValues?: string[];
7118
+ labelKey?: string;
7119
+ }
7120
+ interface GeocodingProviderLabelsConfig {
7121
+ MAIN?: string;
7122
+ SECONDARY?: string;
7123
+ TERTIARY?: string;
7124
+ }
6926
7125
  interface MetadataQualityConfig {
6927
7126
  ENABLED: boolean;
6928
7127
  }
@@ -6937,14 +7136,33 @@ type CustomTranslations = {
6937
7136
  type CustomTranslationsAllLanguages = {
6938
7137
  [lang: string]: CustomTranslations;
6939
7138
  };
7139
+ interface ConfigIssues {
7140
+ warnings: string[];
7141
+ errors: string[];
7142
+ }
7143
+ interface AppConfig {
7144
+ global: GlobalConfig | null;
7145
+ theme: ThemeConfig | null;
7146
+ map: MapConfig | null;
7147
+ search: SearchConfig | null;
7148
+ metadataQuality: MetadataQualityConfig | null;
7149
+ editor: EditorConfig | null;
7150
+ translations: CustomTranslationsAllLanguages;
7151
+ }
7152
+ type ConfigSectionName = keyof AppConfig;
6940
7153
  interface SearchConfig {
6941
7154
  RECORD_KIND_QUICK_FILTER?: boolean;
6942
7155
  FILTER_GEOMETRY_URL?: string;
6943
7156
  FILTER_GEOMETRY_DATA?: string;
6944
7157
  DO_NOT_USE_DEFAULT_SEARCH_PRESET?: boolean;
6945
7158
  SEARCH_PRESET?: SearchPreset[];
6946
- ADVANCED_FILTERS?: [];
7159
+ ADVANCED_FILTERS?: string[];
7160
+ CUSTOM_FILTERS?: CustomSearchFieldConfig[];
6947
7161
  LIMIT?: number;
7162
+ SPATIAL_EXTENT_MAX_FILE_SIZE?: number;
7163
+ GEOCODING_PROVIDER?: GeocodingProviderName;
7164
+ GEOCODING_PROVIDER_OPTIONS?: Record<string, string | number | boolean | string[]>;
7165
+ GEOCODING_PROVIDER_LABELS?: GeocodingProviderLabelsConfig;
6948
7166
  }
6949
7167
  interface SearchConfig {
6950
7168
  FILTER_GEOMETRY?: Geometry;
@@ -6957,7 +7175,12 @@ declare function getOptionalSearchConfig(): SearchConfig | null;
6957
7175
  declare function getOptionalEditorConfig(): EditorConfig | null;
6958
7176
  declare function getMetadataQualityConfig(): MetadataQualityConfig;
6959
7177
  declare function getCustomTranslations(langCode: string): CustomTranslations;
6960
- declare function loadAppConfig(configUrl?: string): Promise<void>;
7178
+ /**
7179
+ * Loads the configuration file and stores the given sections (all by default);
7180
+ * omitted sections are reset (their getters will throw or return null);
7181
+ * resolves with the parsed configuration file, e.g. to read sections with a custom parser
7182
+ */
7183
+ declare function loadAppConfig(configUrl?: string, sections?: ConfigSectionName[]): Promise<Record<string, unknown>>;
6961
7184
  declare function isConfigLoaded(): boolean;
6962
7185
  declare function _reset(): void;
6963
7186
  declare const TRANSLATE_WITH_OVERRIDES_CONFIG: TranslateModuleConfig;
@@ -6965,6 +7188,7 @@ declare const TRANSLATE_WITH_OVERRIDES_CONFIG: TranslateModuleConfig;
6965
7188
  declare const okAppConfigFixture: () => string;
6966
7189
  declare const appConfigWithTranslationFixture: () => string;
6967
7190
  declare const minimalAppConfigFixture: () => string;
7191
+ declare const customFilterMissingMandatoryConfigFixture: () => string;
6968
7192
  declare const mapConfigFixture: () => MapConfig;
6969
7193
  declare const malformedConfigFixture: () => string;
6970
7194
  declare const missingMandatoryConfigFixture: () => string;
@@ -6973,6 +7197,27 @@ declare const unrecognizedKeysConfigFixture: () => string;
6973
7197
 
6974
7198
  declare function getMapContextLayerFromConfig(config: LayerConfig): MapContextLayer;
6975
7199
 
6976
- export { ADD_RESULTS, ADD_SEARCH, AVAILABLE_LICENSES, AbstractAction, AbstractSearchField, ActionMenuComponent, AddLayerFromCatalogComponent, AddLayerRecordPreviewComponent, AddResults, AddSearch, AnchorLinkDirective, ApiCardComponent, ApplicationBannerComponent, AuthService, AutocompleteComponent, AvailableServicesField, AvatarComponent, AvatarServiceInterface, BASEMAP_LAYERS, BadgeComponent, BaseConverter, BaseFileReader, BaseReader, BlockListComponent, ButtonComponent, CHART_TYPE_VALUES, CLEAR_ERROR, CLEAR_RESULTS, CarouselComponent, CatalogTitleComponent, CellPopinComponent, ChartComponent, ChartViewComponent, CheckToggleComponent, CheckboxComponent, ClearError, ClearResults, ColorScaleComponent, ConfirmationDialogComponent, ContactDetailsComponent, ContactDetailsFormComponent, ContactPillComponent, ContentGhostComponent, CopyTextButtonComponent, DEFAULT_BASEMAP_LAYER, DEFAULT_CONFIGURATION, DEFAULT_GN4_LOGIN_URL, DEFAULT_GN4_LOGOUT_URL, DEFAULT_GN4_SETTINGS_URL, DEFAULT_LANG, DEFAULT_PAGE_SIZE, DEFAULT_RECORD_CONVERTER, DEFAULT_RESULTS_LAYOUT_CONFIG, DEFAULT_SEARCH_KEY, DEFAULT_SPATIAL_EXTENT_STYLE, DISABLE_AUTH, DISABLE_DRAFT, DO_NOT_USE_DEFAULT_BASEMAP, DataService, DataTableComponent, DataViewComponent, DataViewPermalinkComponent, DataViewShareComponent, DataViewWebComponentComponent, DatePickerComponent, DateRangeDropdownComponent, DateRangeInputsComponent, DateRangePickerComponent, DateRangeSearchField, DateService, DcatApConverter, DefaultRouterModule, DownloadItemComponent, DownloadsListComponent, DragAndDropFileInputComponent, DropdownMultiselectComponent, DropdownSelectorComponent, EDITOR_FEATURE_KEY, ES_QUERY_FIELDS_PRIORITY, ES_RESOURCES_VALUES, ES_SOURCE_SUMMARY, EXTERNAL_VIEWER_OPEN_NEW_TAB, EXTERNAL_VIEWER_URL_TEMPLATE, EditableLabelDirective, EditorFacade, EditorService, ElasticsearchService, ErrorComponent, ErrorType, ExpandablePanelButtonComponent, ExpandablePanelComponent, ExternalLinkCardComponent, ExternalViewerButtonComponent, FIELDS_BRIEF, FIELDS_SUMMARY, FILTER_GEOMETRY, FILTER_SUMMARY_IGNORE_LIST, FORMATS, FacetBlockComponent, FacetItemComponent, FacetListComponent, FacetsContainerComponent, FavoriteStarComponent, FavoritesService, FeatureCatalogListComponent, FeatureDetailComponent, FeatureEditorModule, FeatureMapModule, FeatureRecordModule, FeatureSearchModule, FetchError, FieldFocusDirective, FieldsService, FigureComponent, FigureContainerComponent, FileInputComponent, FileTranslateLoader, FilesDropDirective, FilterDropdownComponent, FormFieldArrayComponent, FormFieldComponent, FormFieldDateComponent, FormFieldFileComponent, FormFieldKeywordsComponent, FormFieldLicenseComponent, FormFieldObjectComponent, FormFieldRichComponent, FormFieldSimpleComponent, FormFieldSpatialExtentComponent, FormFieldTemporalExtentsComponent, FormFieldTopicsComponent, FormFieldWrapperComponent, FullTextSearchField, FuzzySearchComponent, GEONETWORK_UI_TAG_NAME, GEONETWORK_UI_VERSION, GeoDataBadgeComponent, GeoTableViewComponent, GeocodingComponent, GeojsonReader, Gn4Converter, Gn4PlatformMapper, Gn4PlatformService, Gn4Repository, Gn4SettingsService, GnUiHumanizeDateDirective, GpfApiDlComponent, GravatarService, I18nInterceptor, ISO_TOPICS, ImageFallbackDirective, ImageInputComponent, ImageOverlayPreviewComponent, ImportRecordComponent, InlineFilterComponent, InteractiveTableColumnComponent, InteractiveTableComponent, InternalLinkCardComponent, IsSpatialSearchField, Iso191153Converter, Iso19139Converter, KeywordBadgeComponent, KindBadgeComponent, LANGUAGES_LIST, LANGUAGE_NAMES, LANGUAGE_STORAGE_KEY, LANG_2_TO_3_MAPPER, LOGIN_URL, LOGOUT_URL, LONLAT_CRS_CODES, LanguageSwitcherComponent, LayersPanelComponent, LicenseSearchField, LinkClassifierService, LinkUsage, LoadingMaskComponent, LogService, MAP_FEATURE_KEY, MAP_VIEW_CONSTRAINTS, MAX_UPLOAD_SIZE_MB, METADATA_LANGUAGE, MapContainerComponent, MapFacade, MapLegendComponent, MapStateContainerComponent, MapStyleService, MapUtilsService, MapViewComponent, MarkdownEditorComponent, MarkdownParserComponent, MaxLinesComponent, mdview_actions_d as MdViewActions, MdViewFacade, MetadataCatalogComponent, MetadataContactComponent, MetadataDoiComponent, MetadataInfoComponent, MetadataLinkType, MetadataMapperContext, MetadataQualityComponent, MetadataQualityItemComponent, MetadataQualityPanelComponent, ModalDialogComponent, MultilingualPanelComponent, MultilingualSearchField, MyOrgService, NAMESPACES, NOT_APPLICABLE_CONSTRAINT, NOT_KNOWN_CONSTRAINT, NotificationComponent, NotificationsContainerComponent, NotificationsService, OPEN_DATA_LICENSE, ORGANIZATIONS_STRATEGY, ORGANIZATION_PAGE_URL_TOKEN, ORGANIZATION_URL_TOKEN, OnlineResourceCardComponent, OnlineServiceResourceInputComponent, OrganisationPreviewComponent, OrganisationsComponent, OrganisationsFilterComponent, OrganisationsResultComponent, OrganizationSearchField, OrganizationsFromGroupsService, OrganizationsFromMetadataService, OrganizationsServiceInterface, OwnerSearchField, PAGINATE, PARSE_DELIMITER, PATCH_RESULTS_AGGREGATIONS, PROXY_PATH, Paginate, PaginationButtonsComponent, PaginationComponent, PaginationDotsComponent, PatchResultsAggregations, PlatformServiceInterface, PopoverComponent, PopupAlertComponent, PossibleResourceTypes, PossibleResourceTypesDefinition, PreviousNextButtonsComponent, ProgressBarComponent, ProxyService, QUERY_FIELDS, RECORD_DATASET_URL_TOKEN, RECORD_REUSE_URL_TOKEN, RECORD_SERVICE_URL_TOKEN, REQUEST_MORE_ON_AGGREGATION, REQUEST_MORE_RESULTS, REQUEST_NEW_RESULTS, RESULTS_LAYOUT_CONFIG, REUSE_LIGHT_CONFIGURATION, ROUTER_CONFIG, ROUTER_ROUTE_DATASET, ROUTER_ROUTE_ORGANIZATION, ROUTER_ROUTE_REUSE, ROUTER_ROUTE_SEARCH, ROUTER_ROUTE_SERVICE, ROUTER_STATE_KEY, ROUTE_PARAMS, RecordApiFormComponent, RecordFormComponent, RecordKindField, RecordMetaComponent, RecordMetricComponent, RecordPreviewCardComponent, RecordPreviewComponent, RecordPreviewFeedComponent, RecordPreviewListComponent, RecordPreviewRowComponent, RecordPreviewTextComponent, RecordPreviewTitleComponent, RecordStatusValues, RecordsMetricsComponent, RecordsRepositoryInterface, RecordsService, RequestMoreOnAggregation, RequestMoreResults, RequestNewResults, ResourceTypeLegacyField, ResultsHitsContainerComponent, ResultsHitsNumberComponent, ResultsHitsSearchKindComponent, ResultsLayoutComponent, ResultsLayoutConfigItem, ResultsListComponent, ResultsListContainerComponent, ResultsListItemComponent, ResultsTableComponent, ResultsTableContainerComponent, ReusePresentationForms, RoleLabels, RoleValues, RouterEffects, RouterFacade, RouterService, SEARCH_FEATURE_KEY, SETTINGS_URL, SET_CONFIG_AGGREGATIONS, SET_CONFIG_FILTERS, SET_CONFIG_REQUEST_FIELDS, SET_ERROR, SET_FAVORITES_ONLY, SET_FILTERS, SET_INCLUDE_ON_AGGREGATION, SET_PAGE_SIZE, SET_RESULTS_AGGREGATIONS, SET_RESULTS_HITS, SET_RESULTS_LAYOUT, SET_SEARCH, SET_SORT_BY, SET_SPATIAL_FILTER_ENABLED, SPATIAL_SCOPES, SearchEffects, SearchFacade, SearchFeatureCatalogComponent, SearchFiltersSummaryComponent, SearchFiltersSummaryItemComponent, SearchInputComponent, SearchRouterContainerDirective, SearchService, SearchStateContainerDirective, SelectionService, ServiceCapabilitiesComponent, SetConfigAggregations, SetConfigFilters, SetConfigRequestFields, SetError, SetFavoritesOnly, SetFilters, SetIncludeOnAggregation, SetPageSize, SetResultsAggregations, SetResultsHits, SetResultsLayout, SetSearch, SetSortBy, SetSpatialFilterEnabled, SimpleSearchField, SiteTitleComponent, SortByComponent, SortByEnum, SortableListComponent, SourceLabelComponent, SourcesService, SpatialExtentComponent, SpinningLoaderComponent, StacItemsResultGridComponent, StacViewComponent, StarToggleComponent, StickyHeaderComponent, SupportedTypes, SwitchToggleComponent, THUMBNAIL_PLACEHOLDER, TRANSLATE_DEBUG_CONFIG, TRANSLATE_DEFAULT_CONFIG, TRANSLATE_WITH_OVERRIDES_CONFIG, TableViewComponent, TextAreaComponent, TextInputComponent, ThemeService, ThumbnailComponent, TranslatedSearchField, TruncatedTextComponent, UPDATE_CONFIG_AGGREGATIONS, UPDATE_FILTERS, UPDATE_REQUEST_AGGREGATION_TERM, UpdateConfigAggregations, UpdateFilters, UrlInputComponent, UserFeedbackItemComponent, UserPreviewComponent, UserSearchField, VECTOR_STYLE_DEFAULT, ViewportIntersectorComponent, WEB_COMPONENT_EMBEDDER_URL, XmlParseError, _reset, allChildrenElement, appConfigWithTranslationFixture, appendChildTree, appendChildren, assertValidXml, associationTypeValues, bboxToPolygon, blockModelFixture, bytesToMegabytes, canEditRecord, checkFileFormat, clearSelectedFeatures, createChild, createDocument, createElement, createFuzzyFilter, createNestedChild, createNestedElement, createSpatialExtentLayer, currentPage, defaultMapStyleFixture, defaultMapStyleHlFixture, downgradeImage, downsizeImage, draftSaveSuccess, dragPanCondition, dropEmptyTranslations, editorReducer, emptyBlockModelFixture, findChildElement, findChildOrCreate, findChildrenElement, findConverterForDocument, findNestedChildOrCreate, findNestedElement, findNestedElements, findParent, firstChildElement, formatDate, formatUserInfo, getAddressLines, getAllKeysValidator, getArrayItem, getAsArray, getAsUrl, getBadgeColor, getCustomTranslations, getError, getFavoritesOnly, getFileFormat, getFileFormatFromServiceOutput, getFirstValue, getFormatPriority, getGeometryBoundingBox, getGeometryFromGeoJSON, getGlobalConfig, getIndividualDisplayName, getIsMobile, getJsonDataItemsProxy, getKeywordHierarchyPath, getLayers, getLinkId, getLinkLabel, getLinkPriority, getMapContext, getMapContextLayerFromConfig, getMapState, getMetadataQualityConfig, getMimeTypeForFormat, getNamespace, getOptionalEditorConfig, getOptionalMapConfig, getOptionalSearchConfig, getPageSize, getQualityValidators, getResourceType, getReusePresentationForm, getReuseType, getRootElement, getSearchConfigAggregations, getSearchFilters, getSearchResults, getSearchResultsAggregations, getSearchResultsHits, getSearchResultsLayout, getSearchResultsLoading, getSearchSortBy, getSearchState, getSearchStateSearch, getSelectedFeatures, getSpatialFilterEnabled, getTemporalRangeUnion, getThemeConfig, handleScrollOnNavigation, hasRecordChangedSinceDraft, hasRecordChangedSinceDraftSuccess, initSearch, initialEditorState, initialMapState, initialState, isConfigLoaded, isDateRange, isFormatInQueryParam, isPublished, itemModelFixture, kindToCodeListValue, loadAppConfig, malformedConfigFixture, mapConfigFixture, mapContact, mapKeywords, mapLogo, mapOrganization, mapReducer, markRecordAsChanged, matchesNoApplicableConstraint, matchesNoKnownConstraint, megabytesToBytes, mimeTypeToFormat, minimalAppConfigFixture, missingMandatoryConfigFixture, mouseWheelZoomCondition, noDuplicateFileName, okAppConfigFixture, openDataset, openRecord, organizationsServiceFactory, parse, parseXmlString, placeholder, prioritizePageScroll, propagateToDocumentOnly, provideGn4, provideI18n, provideRepositoryUrl, readAttribute, readDataset, readDatasetHeaders, readText, reducer, reducerSearch, removeAllChildren, removeChildren, removeChildrenByName, removeSearchParams, removeWhitespace, renameElements, saveRecord, saveRecordFailure, saveRecordSuccess, selectCanEditRecord, selectCurrentPage, selectEditorConfig, selectEditorState, selectFallback, selectFallbackFields, selectField, selectHasRecordChanged, selectIsPublished, selectRecord, selectRecordChangedSinceSave, selectRecordSaveError, selectRecordSaving, selectRecordSections, selectRecordSource, selectTranslatedField, selectTranslatedValue, setContext, setCurrentPage, setEditorConfiguration, setFieldVisibility, setFocusedField, setSelectedFeatures, setTextContent, sortByFromString, sortByToString, sortByToStrings, spatialExtentToGeometry, spatialExtentsToFeatureCollection, stripHtml, stripNamespace, toDate, toIndividual, toLang2, toLang3, totalPages, undoRecordDraft, unrecognizedKeysConfigFixture, updateFrequencyCodeValues, updateLanguages, updateRecordField, updateRecordLanguages, wmsLayerFlatten, writeAttribute, wrongLanguageCodeConfigFixture, xmlToString };
6977
- export type { Aggregation, AggregationBuckets, AggregationCounts, AggregationParams, AggregationResult, AggregationSort, AggregationTypes, Aggregations, AggregationsParams, AggregationsResults, AggregationsTypes, AssociatedRecord, AssociationType, AutocompleteItem, BaseRecord, BoundingBox, Bucket, CatalogRecord, CatalogRecordKeys, CatalogSource, Choice$1 as Choice, ConfirmationDialogData, Constraint, ConstraintTranslations, CreateStyleOptions, CustomTranslations, CustomTranslationsAllLanguages, DataItem, DatasetDownloadDistribution, DatasetFeatureAttribute, DatasetFeatureAttributeValue, DatasetFeatureCatalog, DatasetFeatureType, DatasetOnlineResource, DatasetRecord, DatasetServiceDistribution, DatasetSpatialExtent, DatasetTemporalExtent, DatavizChartConfigModel, DatavizConfigModel, DateRange, DropdownChoice, EditorConfig, EditorFieldWithValue, EditorPartialState, EditorSectionWithValues, EditorState, EsQueryFieldsPriorityType, EsRequestAggTerm, EsRequestAggTermPatch, EsRequestSource, EsResourceType, EsResourceTypeValues, EsSearchParams, EsSearchResponse, EsTemplateType, EsTemplateValues, FacetPath, FacetSelectEvent, Field, FieldAggregation, FieldAvailableValue, FieldFilter$1 as FieldFilter, FieldFilterByExpression, FieldFilterByRange, FieldFilterByValues, FieldFilters, FieldName$1 as FieldName, FieldSort$1 as FieldSort, FieldTranslation, FieldType, FieldValue, FieldValues, FileFormat, FilterAggregationParams, FilterQuery, FiltersAggregationParams, FiltersAggregationResult, FiltersBucket, FormatProduit, FormatSortieProduit, GlobalConfig, Gn4Record, Gn4RecordRelated, Gn4SearchResults, GpfApiDlTermBucket, GraphicOverview, HasPath, HistogramAggregationParams, HistogramAggregationResult, HistogramBucket, ISOTopic, Individual, InputChartType, Iso3Langs, Keyword, KeywordApiResponse, KeywordTranslations, KeywordTree, Label, LanguageCode, LanguageCode2, LanguageCode3, LanguageCodeFactory, LanguageCodeLike, LayerConfig, Link, LinkedRecord, ListChoice, ListUrl, MapConfig, MapPartialState, MapState, MetadataContact, MetadataObject, MetadataQualityConfig, MetadataQualityItem, ModalDialogData, ModelBlock, ModelItem, ModelTranslations, NestedAggregationResult, NewRecordStandard, OnlineLinkResource, OnlineResource, OnlineResourceTranslations, OnlineResourceType, Organization, OrganizationTranslations, OrganizationsStrategy, Paginable, PropertyInfo, QueryRange, QueryString, RecordAsXml, RecordAttachment, RecordKind, RecordMetric, RecordRelation, RecordStatus, RecordTranslations, RequestFields, ResourceIdentifier$1 as ResourceIdentifier, ResultsLayoutConfigModel, ResultsListShowMoreStrategy, ReuseRecord, ReuseType, Role, RouterConfigModel, SaveRecordError, SearchActions, SearchConfig, SearchError, SearchFilters, SearchParams, SearchPreset, SearchResults, SearchRouteParams, SearchServiceI, SearchState, SearchStateParams, SearchStateSearch, ServiceEndpoint, ServiceOnlineResource, ServiceProtocol, ServiceRecord, SortByField, SortOrder, SortParams, SourceRecord, SourceWithUnknownProps, SpatialExtentLayerStyle, SpatialExtentTranslations, SpatialRepresentationType, StacFilterState, StyleByGeometryType, SupportedType, SwitchToggleOption, TableItemId, TableItemModel, TermBucket, TermsAggregationParams, TermsAggregationResult, ThemeConfig, Thesaurus, ThesaurusApiResponse, UpdateFrequency, UpdateFrequencyCode, UpdateFrequencyCustom, UploadEvent, UserFeedback, UserFeedbackViewModel, ValidatorMapperKeys };
7200
+ /**
7201
+ * Only keeps recognized keys, flatten nested values (to allow having "." in keys),
7202
+ * pushes warnings and errors to the given arrays; returns null in case of error
7203
+ */
7204
+ declare function parseConfigSection(fullConfigObj: Record<string, unknown>, sectionName: string, mandatoryKeys: string[], optionalKeys: string[], outWarnings: string[], outErrors: string[]): Record<string, unknown> | null;
7205
+ /**
7206
+ * Same as parseConfigSection but keeps all keys, recognized or not
7207
+ * Also the first level is the language code (e.g. 'en')
7208
+ * This is optional
7209
+ */
7210
+ declare function parseTranslationsConfigSection(fullConfigObj: Record<string, unknown>, sectionName: string): Record<string, unknown>;
7211
+ /**
7212
+ * Same as parseConfigSection but handles an array of configs; this is
7213
+ * considered optional; returns null in case of error in at least one of
7214
+ * the sections
7215
+ */
7216
+ declare function parseMultiConfigSection(fullConfigObj: Record<string, unknown>, sectionName: string, mandatoryKeys: string[], optionalKeys: string[], outWarnings: string[], outErrors: string[]): Record<string, unknown>[] | null;
7217
+ declare function checkMetadataLanguage(parsedConfigSection: any, outWarnings: string[]): any;
7218
+ declare function checkNewRecordDefaultLanguage(parsedConfigSection: any, outWarnings: string[]): any;
7219
+ declare function checkNewRecordStandard(parsedConfigSection: any, outWarnings: string[]): any;
7220
+
7221
+ export { ADD_RESULTS, ADD_SEARCH, AVAILABLE_LICENSES, AbstractAction, AbstractSearchField, ActionMenuComponent, AddLayerFromCatalogComponent, AddLayerRecordPreviewComponent, AddResults, AddSearch, AnchorLinkDirective, ApiCardComponent, ApplicationBannerComponent, AuthService, AutocompleteComponent, AutofocusDirective, AvailableServicesField, AvatarComponent, AvatarServiceInterface, BASEMAP_LAYERS, BadgeComponent, BaseConverter, BaseFileReader, BaseReader, BlockListComponent, BoundingBoxSearchField, ButtonComponent, CHART_TYPE_VALUES, CLEAR_ERROR, CLEAR_RESULTS, CUSTOM_FIELDS, CarouselComponent, CatalogTitleComponent, CellPopinComponent, ChartComponent, ChartViewComponent, CheckToggleComponent, CheckboxComponent, ClearError, ClearResults, ColorScaleComponent, ConfirmationDialogComponent, ContactDetailsComponent, ContactDetailsFormComponent, ContactPillComponent, ContentGhostComponent, CopyTextButtonComponent, DEFAULT_BASEMAP_LAYER, DEFAULT_CONFIGURATION, DEFAULT_GEOCODING_PROVIDER, DEFAULT_GN4_LOGIN_URL, DEFAULT_GN4_LOGOUT_URL, DEFAULT_GN4_SETTINGS_URL, DEFAULT_LANG, DEFAULT_PAGE_SIZE, DEFAULT_RECORD_CONVERTER, DEFAULT_RESULTS_LAYOUT_CONFIG, DEFAULT_SEARCH_KEY, DEFAULT_SPATIAL_EXTENT_STYLE, DISABLE_AUTH, DISABLE_DRAFT, DO_NOT_USE_DEFAULT_BASEMAP, DataService, DataTableComponent, DataViewComponent, DataViewPermalinkComponent, DataViewShareComponent, DataViewWebComponentComponent, DatePickerComponent, DateRangeDropdownComponent, DateRangeInputsComponent, DateRangePickerComponent, DateRangeSearchField, DateService, DcatApConverter, DefaultRouterModule, DownloadItemComponent, DownloadsListComponent, DragAndDropFileInputComponent, DropdownMultiselectComponent, DropdownSelectorComponent, EDITOR_FEATURE_KEY, ES_QUERY_FIELDS_PRIORITY, ES_RESOURCES_VALUES, ES_SOURCE_SUMMARY, EXTERNAL_VIEWER_OPEN_NEW_TAB, EXTERNAL_VIEWER_URL_TEMPLATE, EditableLabelDirective, EditorFacade, EditorService, ElasticsearchService, ErrorComponent, ErrorType, ExpandablePanelButtonComponent, ExpandablePanelComponent, ExternalLinkCardComponent, ExternalViewerButtonComponent, FIELDS_BRIEF, FIELDS_SUMMARY, FILTER_GEOMETRY, FILTER_SUMMARY_IGNORE_LIST, FORMATS, FacetBlockComponent, FacetItemComponent, FacetListComponent, FacetsContainerComponent, FavoriteStarComponent, FavoritesService, FeatureCatalogListComponent, FeatureDetailComponent, FeatureEditorModule, FeatureMapModule, FeatureRecordModule, FeatureSearchModule, FetchError, FieldFocusDirective, FieldsService, FigureComponent, FigureContainerComponent, FileInputComponent, FileTranslateLoader, FilesDropDirective, FilterDropdownComponent, FormFieldArrayComponent, FormFieldComponent, FormFieldDateComponent, FormFieldFileComponent, FormFieldKeywordsComponent, FormFieldLicenseComponent, FormFieldObjectComponent, FormFieldRichComponent, FormFieldSimpleComponent, FormFieldSpatialExtentComponent, FormFieldTemporalExtentsComponent, FormFieldTopicsComponent, FormFieldWrapperComponent, FullTextSearchField, FuzzySearchComponent, GEOCODING_PROVIDER, GEOCODING_PROVIDER_LABELS, GEONETWORK_UI_TAG_NAME, GEONETWORK_UI_VERSION, GeoDataBadgeComponent, GeoTableViewComponent, GeocodingService, GeojsonReader, Gn4Converter, Gn4PlatformMapper, Gn4PlatformService, Gn4Repository, Gn4SettingsService, GnUiHumanizeDateDirective, GpfApiDlComponent, GravatarService, I18nInterceptor, ISO_TOPICS, ImageFallbackDirective, ImageInputComponent, ImageOverlayPreviewComponent, ImportRecordComponent, InlineFilterComponent, InteractiveTableColumnComponent, InteractiveTableComponent, InternalLinkCardComponent, IsSpatialSearchField, Iso191153Converter, Iso19139Converter, KeywordBadgeComponent, KindBadgeComponent, LANGUAGES_LIST, LANGUAGE_NAMES, LANGUAGE_STORAGE_KEY, LANG_2_TO_3_MAPPER, LOGIN_URL, LOGOUT_URL, LONLAT_CRS_CODES, LanguageSwitcherComponent, LayersPanelComponent, LicenseSearchField, LinkClassifierService, LinkUsage, LoadingMaskComponent, LocationSearchComponent, LogService, MAP_FEATURE_KEY, MAP_VIEW_CONSTRAINTS, MAX_UPLOAD_SIZE_MB, METADATA_LANGUAGE, MapContainerComponent, MapFacade, MapLegendComponent, MapStateContainerComponent, MapUtilsService, MapViewComponent, MarkdownEditorComponent, MarkdownParserComponent, MaxLinesComponent, mdview_actions_d as MdViewActions, MdViewFacade, MetadataCatalogComponent, MetadataContactComponent, MetadataDoiComponent, MetadataInfoComponent, MetadataLinkType, MetadataMapperContext, MetadataQualityComponent, MetadataQualityItemComponent, MetadataQualityPanelComponent, ModalDialogComponent, MultilingualPanelComponent, MultilingualSearchField, MyOrgService, NAMESPACES, NOT_APPLICABLE_CONSTRAINT, NOT_KNOWN_CONSTRAINT, NotificationComponent, NotificationsContainerComponent, NotificationsService, OPEN_DATA_LICENSE, ORGANIZATIONS_STRATEGY, ORGANIZATION_PAGE_URL_TOKEN, ORGANIZATION_URL_TOKEN, OnlineResourceCardComponent, OnlineServiceResourceInputComponent, OrganisationPreviewComponent, OrganisationsComponent, OrganisationsFilterComponent, OrganisationsResultComponent, OrganizationSearchField, OrganizationsFromGroupsService, OrganizationsFromMetadataService, OrganizationsServiceInterface, OwnerSearchField, PAGINATE, PARSE_DELIMITER, PATCH_RESULTS_AGGREGATIONS, PROXY_PATH, Paginate, PaginationButtonsComponent, PaginationComponent, PaginationDotsComponent, PatchResultsAggregations, PlatformServiceInterface, PopoverComponent, PopupAlertComponent, PossibleResourceTypes, PossibleResourceTypesDefinition, PreviousNextButtonsComponent, ProgressBarComponent, ProxyService, QUERY_FIELDS, RECORD_DATASET_URL_TOKEN, RECORD_REUSE_URL_TOKEN, RECORD_SERVICE_URL_TOKEN, REQUEST_MORE_ON_AGGREGATION, REQUEST_MORE_RESULTS, REQUEST_NEW_RESULTS, RESULTS_LAYOUT_CONFIG, REUSE_LIGHT_CONFIGURATION, ROUTER_CONFIG, ROUTER_ROUTE_DATASET, ROUTER_ROUTE_ORGANIZATION, ROUTER_ROUTE_REUSE, ROUTER_ROUTE_SEARCH, ROUTER_ROUTE_SERVICE, ROUTER_STATE_KEY, ROUTE_PARAMS, RecordApiFormComponent, RecordFormComponent, RecordKindField, RecordMetaComponent, RecordMetricComponent, RecordPreviewCardComponent, RecordPreviewComponent, RecordPreviewFeedComponent, RecordPreviewListComponent, RecordPreviewRowComponent, RecordPreviewTextComponent, RecordPreviewTitleComponent, RecordStatusValues, RecordsMetricsComponent, RecordsRepositoryInterface, RecordsService, RequestMoreOnAggregation, RequestMoreResults, RequestNewResults, ResourceCreationRevisionDateSearchField, ResourceTypeLegacyField, ResultsHitsContainerComponent, ResultsHitsNumberComponent, ResultsHitsSearchKindComponent, ResultsLayoutComponent, ResultsLayoutConfigItem, ResultsListComponent, ResultsListContainerComponent, ResultsListItemComponent, ResultsTableComponent, ResultsTableContainerComponent, ReusePresentationForms, RoleLabels, RoleValues, RouterEffects, RouterFacade, RouterService, SEARCH_FEATURE_KEY, SETTINGS_URL, SET_CONFIG_AGGREGATIONS, SET_CONFIG_FILTERS, SET_CONFIG_REQUEST_FIELDS, SET_ERROR, SET_FAVORITES_ONLY, SET_FILTERS, SET_INCLUDE_ON_AGGREGATION, SET_PAGE_SIZE, SET_RESULTS_AGGREGATIONS, SET_RESULTS_HITS, SET_RESULTS_LAYOUT, SET_SEARCH, SET_SORT_BY, SET_SPATIAL_FILTER_ENABLED, SPATIAL_EXTENT_MAX_FILE_SIZE, SPATIAL_SCOPES, SearchEffects, SearchFacade, SearchFeatureCatalogComponent, SearchFiltersSummaryComponent, SearchFiltersSummaryItemComponent, SearchInputComponent, SearchRouterContainerDirective, SearchService, SearchStateContainerDirective, SelectionService, ServiceCapabilitiesComponent, SetConfigAggregations, SetConfigFilters, SetConfigRequestFields, SetError, SetFavoritesOnly, SetFilters, SetIncludeOnAggregation, SetPageSize, SetResultsAggregations, SetResultsHits, SetResultsLayout, SetSearch, SetSortBy, SetSpatialFilterEnabled, SimpleSearchField, SiteTitleComponent, SortByComponent, SortByEnum, SortableListComponent, SourceLabelComponent, SourcesService, SpatialExtentComponent, SpatialExtentDropdownComponent, SpinningLoaderComponent, StacItemsResultGridComponent, StacViewComponent, StarToggleComponent, StickyHeaderComponent, SupportedTypes, SwitchToggleComponent, THUMBNAIL_PLACEHOLDER, TRANSLATE_DEBUG_CONFIG, TRANSLATE_DEFAULT_CONFIG, TRANSLATE_WITH_OVERRIDES_CONFIG, TableViewComponent, TextAreaComponent, TextInputComponent, ThemeService, ThumbnailComponent, TranslatedSearchField, TruncatedTextComponent, UPDATE_CONFIG_AGGREGATIONS, UPDATE_FILTERS, UPDATE_REQUEST_AGGREGATION_TERM, UpdateConfigAggregations, UpdateFilters, UrlInputComponent, UserFeedbackItemComponent, UserPreviewComponent, UserSearchField, VECTOR_STYLE_DEFAULT, ViewportIntersectorComponent, WEB_COMPONENT_EMBEDDER_URL, XmlParseError, _reset, allChildrenElement, appConfigWithTranslationFixture, appendChildTree, appendChildren, assertValidXml, associationTypeValues, bboxToGeometry, blockModelFixture, bytesToMegabytes, canEditRecord, checkFileFormat, checkMetadataLanguage, checkNewRecordDefaultLanguage, checkNewRecordStandard, clearSelectedFeatures, createChild, createDocument, createElement, createFuzzyFilter, createNestedChild, createNestedElement, createSpatialExtentLayer, currentPage, customFilterMissingMandatoryConfigFixture, downgradeImage, downsizeImage, draftSaveSuccess, dragPanCondition, dropEmptyTranslations, editorReducer, emptyBlockModelFixture, findChildElement, findChildOrCreate, findChildrenElement, findConverterForDocument, findNestedChildOrCreate, findNestedElement, findNestedElements, findParent, firstChildElement, formatDate, formatUserInfo, getAddressLines, getAllKeysValidator, getArrayItem, getAsArray, getAsUrl, getBadgeColor, getCustomTranslations, getError, getFavoritesOnly, getFileFormat, getFileFormatFromServiceOutput, getFirstValue, getFormatPriority, getGeometryBoundingBox, getGeometryFromGeoJSON, getGlobalConfig, getIndividualDisplayName, getIsMobile, getJsonDataItemsProxy, getKeywordHierarchyPath, getLayers, getLinkId, getLinkLabel, getLinkPriority, getMapContext, getMapContextLayerFromConfig, getMapState, getMetadataQualityConfig, getMimeTypeForFormat, getNamespace, getOptionalEditorConfig, getOptionalMapConfig, getOptionalSearchConfig, getPageSize, getQualityValidators, getResourceType, getReusePresentationForm, getReuseType, getRootElement, getSearchConfigAggregations, getSearchFilters, getSearchResults, getSearchResultsAggregations, getSearchResultsHits, getSearchResultsLayout, getSearchResultsLoading, getSearchSortBy, getSearchState, getSearchStateSearch, getSelectedFeatures, getSpatialFilterEnabled, getTemporalRangeUnion, getThemeConfig, handleScrollOnNavigation, hasRecordChangedSinceDraft, hasRecordChangedSinceDraftSuccess, initSearch, initialEditorState, initialMapState, initialState, isBoundingBox, isBoundingBoxWithinWorldExtent, isConfigLoaded, isDateRange, isFileExtensionValid, isFormatInQueryParam, isPublished, itemModelFixture, kindToCodeListValue, loadAppConfig, malformedConfigFixture, mapConfigFixture, mapContact, mapKeywords, mapLogo, mapOrganization, mapReducer, markRecordAsChanged, matchesNoApplicableConstraint, matchesNoKnownConstraint, megabytesToBytes, mimeTypeToFormat, minimalAppConfigFixture, missingMandatoryConfigFixture, mouseWheelZoomCondition, noDuplicateFileName, okAppConfigFixture, openDataset, openRecord, organizationsServiceFactory, parse, parseConfigSection, parseMultiConfigSection, parseTranslationsConfigSection, parseXmlString, placeholder, prioritizePageScroll, propagateToDocumentOnly, provideGn4, provideI18n, provideLocalizedDateAdapter, provideRepositoryUrl, readAttribute, readDataset, readDatasetHeaders, readFileAsText, readText, reducer, reducerSearch, removeAllChildren, removeChildren, removeChildrenByName, removeSearchParams, removeWhitespace, renameElements, saveRecord, saveRecordFailure, saveRecordSuccess, selectCanEditRecord, selectCurrentPage, selectEditorConfig, selectEditorState, selectFallback, selectFallbackFields, selectField, selectHasRecordChanged, selectIsPublished, selectRecord, selectRecordChangedSinceSave, selectRecordSaveError, selectRecordSaving, selectRecordSections, selectRecordSource, selectTranslatedField, selectTranslatedValue, setContext, setCurrentPage, setEditorConfiguration, setFieldVisibility, setFocusedField, setSelectedFeatures, setTextContent, sortByFromString, sortByToString, sortByToStrings, spatialExtentToGeometry, spatialExtentsToFeatureCollection, stripHtml, stripNamespace, toDate, toIndividual, toLang2, toLang3, totalPages, undoRecordDraft, unrecognizedKeysConfigFixture, updateFrequencyCodeValues, updateLanguages, updateRecordField, updateRecordLanguages, wmsLayerFlatten, writeAttribute, wrongLanguageCodeConfigFixture, xmlToString };
7222
+ export type { Aggregation, AggregationBuckets, AggregationCounts, AggregationParams, AggregationResult, AggregationSort, AggregationTypes, Aggregations, AggregationsParams, AggregationsResults, AggregationsTypes, AppConfig, AssociatedRecord, AssociationType, AutocompleteItem, BaseRecord, BoundingBox, Bucket, CatalogRecord, CatalogRecordKeys, CatalogSource, Choice$1 as Choice, ConfigIssues, ConfigSectionName, ConfirmationDialogData, Constraint, ConstraintTranslations, CustomSearchField, CustomSearchFieldConfig, CustomTranslations, CustomTranslationsAllLanguages, DataItem, DatasetDownloadDistribution, DatasetFeatureAttribute, DatasetFeatureAttributeValue, DatasetFeatureCatalog, DatasetFeatureType, DatasetOnlineResource, DatasetRecord, DatasetServiceDistribution, DatasetSpatialExtent, DatasetTemporalExtent, DatavizChartConfigModel, DatavizConfigModel, DateRange, DateRangeBound, DragAndDropFileInputError, DropdownChoice, EditorConfig, EditorFieldWithValue, EditorPartialState, EditorSectionWithValues, EditorState, EsQueryFieldsPriorityType, EsRequestAggTerm, EsRequestAggTermPatch, EsRequestSource, EsResourceType, EsResourceTypeValues, EsSearchParams, EsSearchResponse, EsTemplateType, EsTemplateValues, FacetPath, FacetSelectEvent, FeatureType, Field, FieldAggregation, FieldAvailableValue, FieldFilter$1 as FieldFilter, FieldFilterByBoundingBox, FieldFilterByExpression, FieldFilterByRange, FieldFilterByValues, FieldFilters, FieldName$1 as FieldName, FieldSort$1 as FieldSort, FieldTranslation, FieldType, FieldValue, FieldValues, FileFormat, FilterAggregationParams, FilterQuery, FiltersAggregationParams, FiltersAggregationResult, FiltersBucket, FormatProduit, FormatSortieProduit, GeocodingProvider, GeocodingProviderLabels, GeocodingProviderLabelsConfig, GeocodingProviderName, GlobalConfig, Gn4Record, Gn4RecordRelated, Gn4SearchResults, GpfApiDlTermBucket, GraphicOverview, HasPath, HistogramAggregationParams, HistogramAggregationResult, HistogramBucket, ISOTopic, Individual, InputChartType, Iso3Langs, Keyword, KeywordApiResponse, KeywordTranslations, KeywordTree, Label, LanguageCode, LanguageCode2, LanguageCode3, LanguageCodeFactory, LanguageCodeLike, LayerConfig, Link, LinkedRecord, ListChoice, ListUrl, LocationBbox, MapConfig, MapPartialState, MapState, MetadataContact, MetadataObject, MetadataQualityConfig, MetadataQualityItem, ModalDialogData, ModelBlock, ModelItem, ModelTranslations, NestedAggregationResult, NewRecordStandard, OnlineLinkResource, OnlineResource, OnlineResourceTranslations, OnlineResourceType, Organization, OrganizationTranslations, OrganizationsStrategy, Paginable, PropertyInfo, QueryBool, QueryGeoShape, QueryRange, QueryString, RecordAsXml, RecordAttachment, RecordFlag, RecordKind, RecordMetric, RecordRelation, RecordStatus, RecordTranslations, RequestFields, ResourceIdentifier$1 as ResourceIdentifier, ResultsLayoutConfigModel, ResultsListShowMoreStrategy, ReuseRecord, ReuseType, Role, RouterConfigModel, SaveRecordError, SearchActions, SearchConfig, SearchError, SearchFilters, SearchParams, SearchPreset, SearchResults, SearchRouteParams, SearchServiceI, SearchState, SearchStateParams, SearchStateSearch, ServiceEndpoint, ServiceOnlineResource, ServiceProtocol, ServiceRecord, SortByField, SortOrder, SortParams, SourceRecord, SourceWithUnknownProps, SpatialExtentDropdownError, SpatialExtentLayerStyle, SpatialExtentTranslations, SpatialRepresentationType, StacFilterState, SupportedType, SwitchToggleOption, TableItemId, TableItemModel, TermBucket, TermsAggregationParams, TermsAggregationResult, ThemeConfig, Thesaurus, ThesaurusApiResponse, UpdateFrequency, UpdateFrequencyCode, UpdateFrequencyCustom, UploadEvent, UserFeedback, UserFeedbackViewModel, ValidatorMapperKeys };
6978
7223
  //# sourceMappingURL=index.d.ts.map