geonetwork-ui 2.11.0-dev.5f9922c2e → 2.11.0-dev.6804f3b43

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 (50) hide show
  1. package/fesm2022/geonetwork-ui.mjs +1293 -1283
  2. package/fesm2022/geonetwork-ui.mjs.map +1 -1
  3. package/index.d.ts +116 -80
  4. package/index.d.ts.map +1 -1
  5. package/package.json +2 -1
  6. package/src/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.ts +90 -31
  7. package/src/libs/common/domain/src/lib/model/search/aggregation.model.ts +2 -0
  8. package/src/libs/common/domain/src/lib/model/search/filter.model.ts +12 -2
  9. package/src/libs/feature/map/src/index.ts +0 -2
  10. package/src/libs/feature/map/src/lib/feature-map.module.ts +1 -8
  11. package/src/libs/feature/notify-reuse/src/lib/notify-reuse-form/notify-reuse-form.component.ts +8 -3
  12. package/src/libs/feature/search/src/index.ts +2 -0
  13. package/src/libs/feature/search/src/lib/filter-dropdown/filter-dropdown.component.html +3 -0
  14. package/src/libs/feature/search/src/lib/filter-dropdown/filter-dropdown.component.ts +21 -4
  15. package/src/libs/feature/{map/src/lib → search/src/lib/geocoding}/geocoding.service.ts +16 -7
  16. package/src/libs/feature/search/src/lib/location-search/location-search.component.html +8 -0
  17. package/src/libs/feature/search/src/lib/location-search/location-search.component.ts +40 -0
  18. package/src/libs/feature/search/src/lib/search-filters-summary-item/search-filters-summary-item.component.ts +2 -0
  19. package/src/libs/feature/search/src/lib/state/reducer.ts +1 -4
  20. package/src/libs/feature/search/src/lib/utils/service/fields.service.ts +56 -4
  21. package/src/libs/feature/search/src/lib/utils/service/fields.ts +67 -9
  22. package/src/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.ts +2 -1
  23. package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.html +10 -1
  24. package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.ts +8 -0
  25. package/src/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.component.html +7 -4
  26. package/src/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.component.ts +12 -9
  27. package/src/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.model.ts +2 -2
  28. package/src/libs/ui/inputs/src/lib/spatial-extent-dropdown/spatial-extent-dropdown.component.html +5 -11
  29. package/src/libs/ui/inputs/src/lib/spatial-extent-dropdown/spatial-extent-dropdown.component.ts +34 -4
  30. package/src/libs/ui/layout/src/lib/block-list/block-list.component.css +1 -0
  31. package/src/libs/ui/map/src/lib/components/map-container/map-container.component.ts +2 -0
  32. package/src/libs/util/app-config/src/lib/app-config.ts +22 -0
  33. package/src/libs/util/app-config/src/lib/fixtures.ts +33 -1
  34. package/src/libs/util/app-config/src/lib/model.ts +14 -1
  35. package/src/libs/util/shared/src/lib/links/link-utils.ts +19 -10
  36. package/src/libs/util/shared/src/lib/utils/geojson.ts +16 -0
  37. package/translations/de.json +10 -3
  38. package/translations/en.json +11 -4
  39. package/translations/es.json +10 -3
  40. package/translations/fr.json +15 -8
  41. package/translations/it.json +10 -3
  42. package/translations/nl.json +10 -3
  43. package/translations/pt.json +10 -3
  44. package/translations/sk.json +10 -3
  45. package/src/libs/feature/map/src/lib/geocoding/geocoding.component.css +0 -0
  46. package/src/libs/feature/map/src/lib/geocoding/geocoding.component.html +0 -41
  47. package/src/libs/feature/map/src/lib/geocoding/geocoding.component.ts +0 -112
  48. package/src/libs/feature/map/src/lib/style/index.ts +0 -2
  49. package/src/libs/feature/map/src/lib/style/map-style.fixtures.ts +0 -47
  50. package/src/libs/feature/map/src/lib/style/map-style.service.ts +0 -108
package/index.d.ts CHANGED
@@ -14,15 +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';
18
+ import { GeoadminOptions, GeonamesOptions, GeoplateformeOptions, GeocodingResult } from '@geospatial-sdk/geocoding';
19
+ import { UntypedFormControl, FormControl } from '@angular/forms';
20
+ import { MatAutocompleteTrigger, MatAutocomplete, MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
20
21
  import * as geonetwork_ui from 'geonetwork-ui';
21
22
  import * as _angular_cdk_overlay from '@angular/cdk/overlay';
22
23
  import { CdkOverlayOrigin, ConnectedPosition, CdkConnectedOverlay, CdkScrollable } from '@angular/cdk/overlay';
23
- import { UntypedFormControl, FormControl } from '@angular/forms';
24
- import { MatAutocompleteTrigger, MatAutocomplete, MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
25
- import * as _camptocamp_ogc_client from '@camptocamp/ogc-client';
26
24
  import { OgcApiEndpoint, WfsEndpoint, MimeType, WfsFeatureTypeFull, WmsLayerFull, WmtsLayer, StacItem, WfsVersion, OgcApiCollectionInfo, OgcApiRecord, GetCollectionItemsOptions, StacItemsDocument } from '@camptocamp/ogc-client';
27
25
  import OlMap from 'ol/Map.js';
28
26
  import { Extent as Extent$1, MapContext as MapContext$1 } from '@geospatial-sdk/core/dist/model';
@@ -773,8 +771,9 @@ type QueryString = {
773
771
  type QueryRange = {
774
772
  range: Record<string, {
775
773
  format: string;
776
- gte: string;
777
- lte: string;
774
+ gte?: string;
775
+ lte?: string;
776
+ relation?: string;
778
777
  }>;
779
778
  };
780
779
  type QueryGeoShape = {
@@ -788,7 +787,12 @@ type QueryGeoShape = {
788
787
  };
789
788
  };
790
789
  };
791
- type FilterQuery = Array<QueryString | QueryRange | QueryGeoShape>;
790
+ type QueryBool = {
791
+ bool: {
792
+ filter: QueryRange[];
793
+ };
794
+ };
795
+ type FilterQuery = Array<QueryString | QueryRange | QueryGeoShape | QueryBool>;
792
796
 
793
797
  interface TermsAggregationParams {
794
798
  type: 'terms';
@@ -796,6 +800,8 @@ interface TermsAggregationParams {
796
800
  limit: number;
797
801
  sort: AggregationSort;
798
802
  filter?: string;
803
+ includeValues?: string[];
804
+ excludeValues?: string[];
799
805
  }
800
806
  interface HistogramAggregationParams {
801
807
  type: 'histogram';
@@ -1725,10 +1731,12 @@ declare class ElasticsearchService {
1725
1731
  private translateService;
1726
1732
  private injector;
1727
1733
  private runtimeFields;
1734
+ private fieldAliases;
1728
1735
  private get metadataLang();
1729
1736
  getSearchRequestBody(aggregations?: any, size?: number, from?: number, sortBy?: SortByField, requestFields?: RequestFields, searchFilters?: SearchFilters, configFilters?: SearchFilters, uuids?: string[], geometry?: Geometry): EsSearchParams;
1730
1737
  private processRuntimeFields;
1731
- registerRuntimeField(fieldName: string, expression: string): void;
1738
+ registerRuntimeField(fieldName: string, expression: string, type?: 'keyword' | 'date'): void;
1739
+ registerFieldAlias(fieldIdentifier: string, esFieldName: string): void;
1732
1740
  getMetadataByIdsPayload(uuids: string[]): EsSearchParams;
1733
1741
  getRelatedRecordPayload(record: CatalogRecord, size?: number, _source?: string[]): EsSearchParams;
1734
1742
  private buildPayloadSort;
@@ -1736,6 +1744,7 @@ declare class ElasticsearchService {
1736
1744
  private getQueryLang;
1737
1745
  private isCurrentSearchLang;
1738
1746
  private findSpatialFilterExtent;
1747
+ private buildDateRangeQuery;
1739
1748
  private filtersToQuery;
1740
1749
  private mustNotFilters;
1741
1750
  private buildPayloadQuery;
@@ -2196,6 +2205,11 @@ declare function createFuzzyFilter(pattern: string): FuzzyFilter;
2196
2205
  declare function getGeometryFromGeoJSON(data: FeatureCollection | Feature | Geometry): Geometry | null;
2197
2206
  type BoundingBox = [number, number, number, number];
2198
2207
  declare function isBoundingBox(value: unknown): value is BoundingBox;
2208
+ /**
2209
+ * Checks that a bounding box's coordinates stay within the valid
2210
+ * longitude (-180/180) and latitude (-90/90) ranges.
2211
+ */
2212
+ declare function isBoundingBoxWithinWorldExtent(bbox: BoundingBox): boolean;
2199
2213
  declare function getGeometryBoundingBox(geometry: Geometry): BoundingBox;
2200
2214
  /**
2201
2215
  * Builds the closed GeoJSON Polygon matching the given bounding box.
@@ -2401,14 +2415,7 @@ declare function checkFileFormat(link: DatasetOnlineResource | ServiceOnlineReso
2401
2415
  declare function getBadgeColor(linkFormat: FileFormat): string;
2402
2416
  declare function getLinkId(link: DatasetOnlineResource): string;
2403
2417
  declare function getLinkLabel(link: DatasetOnlineResource | ServiceOnlineResource): string;
2404
- declare function getLayers(url: string, serviceProtocol: ServiceProtocol): Promise<{
2405
- name: string;
2406
- hasRecords?: boolean;
2407
- hasFeatures?: boolean;
2408
- hasVectorTiles?: boolean;
2409
- hasMapTiles?: boolean;
2410
- hasDataQueries?: boolean;
2411
- }[] | _camptocamp_ogc_client.WfsFeatureTypeFull[] | _camptocamp_ogc_client.WmsLayerFull[] | _camptocamp_ogc_client.WmtsLayer[]>;
2418
+ declare function getLayers(url: string, serviceProtocol: ServiceProtocol, deep?: boolean): Promise<any[]>;
2412
2419
  declare function wmsLayerFlatten(layerFull: any): any[];
2413
2420
  declare function getMimeTypeForFormat(format: FileFormat): string | null;
2414
2421
 
@@ -2492,30 +2499,6 @@ declare class MapUtilsService {
2492
2499
  static ɵprov: i0.ɵɵInjectableDeclaration<MapUtilsService>;
2493
2500
  }
2494
2501
 
2495
- interface CreateStyleOptions {
2496
- color: string;
2497
- isFocused?: boolean;
2498
- }
2499
- type StyleByGeometryType = {
2500
- line: Style | Style[];
2501
- polygon: Style | Style[];
2502
- point: Style | Style[];
2503
- };
2504
- declare class MapStyleService {
2505
- styles: {
2506
- default: StyleLike;
2507
- defaultHL: StyleLike;
2508
- };
2509
- createGeometryStyles(options: CreateStyleOptions): StyleByGeometryType;
2510
- createStyleFunction(styleByGeometryType: StyleByGeometryType): StyleLike;
2511
- private computeTransparentFillColor;
2512
- static ɵfac: i0.ɵɵFactoryDeclaration<MapStyleService, never>;
2513
- static ɵprov: i0.ɵɵInjectableDeclaration<MapStyleService>;
2514
- }
2515
-
2516
- declare const defaultMapStyleFixture: () => Style;
2517
- declare const defaultMapStyleHlFixture: () => Style;
2518
-
2519
2502
  declare class LayersPanelComponent {
2520
2503
  private mapFacade;
2521
2504
  layers$: rxjs.Observable<MapContextLayer[]>;
@@ -2761,6 +2744,13 @@ declare class AutocompleteComponent implements OnInit, AfterViewInit, OnDestroy,
2761
2744
  triggerRef: MatAutocompleteTrigger;
2762
2745
  autocomplete: MatAutocomplete;
2763
2746
  inputRef: ElementRef<HTMLInputElement>;
2747
+ /**
2748
+ * Custom template to render each suggestion. Takes precedence over
2749
+ * `displayWithFn` when set.
2750
+ */
2751
+ displayWithTemplate?: TemplateRef<{
2752
+ $implicit: AutocompleteItem;
2753
+ }>;
2764
2754
  searching: boolean;
2765
2755
  control: UntypedFormControl;
2766
2756
  cancelEnter: boolean;
@@ -2806,7 +2796,7 @@ declare class AutocompleteComponent implements OnInit, AfterViewInit, OnDestroy,
2806
2796
  handleSelection(event: MatAutocompleteSelectedEvent): void;
2807
2797
  handleInput(event: InputEvent): void;
2808
2798
  static ɵfac: i0.ɵɵFactoryDeclaration<AutocompleteComponent, never>;
2809
- 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>;
2799
+ 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>;
2810
2800
  }
2811
2801
 
2812
2802
  declare class BadgeComponent {
@@ -2940,20 +2930,20 @@ declare class DragAndDropFileInputComponent {
2940
2930
  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>;
2941
2931
  }
2942
2932
 
2943
- interface Choice$1 {
2944
- value: unknown;
2933
+ interface Choice$1<T = unknown> {
2934
+ value: T;
2945
2935
  label: string;
2946
2936
  }
2947
2937
 
2948
- declare class DropdownMultiselectComponent {
2938
+ declare class DropdownMultiselectComponent<T = unknown> {
2949
2939
  private scrollStrategies;
2950
2940
  title: string;
2951
- choices: Choice$1[];
2952
- selected: unknown[];
2941
+ choices: Choice$1<T>[];
2942
+ selected: T[];
2953
2943
  allowSearch: boolean;
2954
2944
  maxRows: number;
2955
2945
  searchInputValue: string;
2956
- selectValues: EventEmitter<unknown[]>;
2946
+ selectValues: EventEmitter<T[]>;
2957
2947
  overlayOrigin: CdkOverlayOrigin;
2958
2948
  overlay: CdkConnectedOverlay;
2959
2949
  overlayContainer: ElementRef;
@@ -2966,8 +2956,8 @@ declare class DropdownMultiselectComponent {
2966
2956
  overlayMaxHeight: string;
2967
2957
  id: string;
2968
2958
  get hasSelectedChoices(): boolean;
2969
- get selectedChoices(): Choice$1[];
2970
- get filteredChoicesByText(): Choice$1[];
2959
+ get selectedChoices(): Choice$1<T>[];
2960
+ get filteredChoicesByText(): Choice$1<T>[];
2971
2961
  get focusedIndex(): number | -1;
2972
2962
  private setFocus;
2973
2963
  openOverlay(): Promise<[void, any]>;
@@ -2977,13 +2967,13 @@ declare class DropdownMultiselectComponent {
2977
2967
  focusFirstItem(): void;
2978
2968
  focusLastItem(): void;
2979
2969
  shiftItemFocus(shift: number): void;
2980
- isSelected(choice: Choice$1): boolean;
2981
- select(choice: Choice$1, selected: boolean): void;
2982
- toggle(choice: Choice$1): void;
2970
+ isSelected(choice: Choice$1<T>): boolean;
2971
+ select(choice: Choice$1<T>, selected: boolean): void;
2972
+ toggle(choice: Choice$1<T>): void;
2983
2973
  clearSelection(event: Event): void;
2984
2974
  clearSearchInputValue(event: Event): void;
2985
- static ɵfac: i0.ɵɵFactoryDeclaration<DropdownMultiselectComponent, never>;
2986
- 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>;
2975
+ static ɵfac: i0.ɵɵFactoryDeclaration<DropdownMultiselectComponent<any>, never>;
2976
+ 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>;
2987
2977
  }
2988
2978
 
2989
2979
  interface DropdownChoice {
@@ -3231,6 +3221,7 @@ declare class SpatialExtentDropdownComponent {
3231
3221
  private scrollStrategies;
3232
3222
  title: string;
3233
3223
  maxFileSizeMb: number | null;
3224
+ set initialBbox(value: BoundingBox | null);
3234
3225
  bboxChange: EventEmitter<BoundingBox>;
3235
3226
  errorChange: EventEmitter<SpatialExtentDropdownError>;
3236
3227
  bbox: BoundingBox | null;
@@ -3244,6 +3235,11 @@ declare class SpatialExtentDropdownComponent {
3244
3235
  overlayMinWidth: string;
3245
3236
  errorKey: string | null;
3246
3237
  get hasSelection(): boolean;
3238
+ get selectionLabelKey(): "search.filters.spatialExtent.bboxFromFile" | "search.filters.spatialExtent.bboxInitial";
3239
+ get selectionDeleteLabelKey(): "search.filters.spatialExtent.bboxFromFileDelete" | "search.filters.spatialExtent.bboxInitialDelete";
3240
+ get selectionLabelParams(): {
3241
+ fileName: string;
3242
+ };
3247
3243
  openOverlay(): void;
3248
3244
  closeOverlay(): void;
3249
3245
  toggleOverlay(): void;
@@ -3252,7 +3248,7 @@ declare class SpatialExtentDropdownComponent {
3252
3248
  private setError;
3253
3249
  removeSelection(event: Event): void;
3254
3250
  static ɵfac: i0.ɵɵFactoryDeclaration<SpatialExtentDropdownComponent, never>;
3255
- static ɵcmp: i0.ɵɵComponentDeclaration<SpatialExtentDropdownComponent, "gn-ui-spatial-extent-dropdown", never, { "title": { "alias": "title"; "required": false; }; "maxFileSizeMb": { "alias": "maxFileSizeMb"; "required": false; }; }, { "bboxChange": "bboxChange"; "errorChange": "errorChange"; }, never, never, true, never>;
3251
+ 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, never, true, never>;
3256
3252
  }
3257
3253
 
3258
3254
  declare class ResultsHitsSearchKindComponent implements OnChanges {
@@ -3261,7 +3257,7 @@ declare class ResultsHitsSearchKindComponent implements OnChanges {
3261
3257
  selectionChanged: EventEmitter<string[]>;
3262
3258
  availableChoices: Choice$1[];
3263
3259
  ngOnChanges(changes: SimpleChanges): void;
3264
- buildFilterChoices(availableValues: Choice$1[]): Choice$1[];
3260
+ buildFilterChoices(availableValues: Choice$1[]): Choice$1<unknown>[];
3265
3261
  onSelectedValues(values: string[]): void;
3266
3262
  isSelectedChoice(choiceValue: string): boolean;
3267
3263
  isAllChoice(choiceValue: string): boolean;
@@ -3371,26 +3367,6 @@ declare class AddLayerRecordPreviewComponent extends RecordPreviewComponent {
3371
3367
  static ɵcmp: i0.ɵɵComponentDeclaration<AddLayerRecordPreviewComponent, "gn-ui-add-layer-record-preview", never, {}, {}, never, never, true, never>;
3372
3368
  }
3373
3369
 
3374
- declare class GeocodingComponent implements OnDestroy {
3375
- private mapFacade;
3376
- private geocodingService;
3377
- searchText: string;
3378
- results: any[];
3379
- searchTextChanged: Subject<string>;
3380
- destroy$: Subject<void>;
3381
- errorMessage: string | null;
3382
- constructor();
3383
- ngOnDestroy(): void;
3384
- onSearchChange(searchText: string): void;
3385
- clearSearch(): void;
3386
- zoomToLocation(result: any): Promise<void>;
3387
- zoomToPoint(pointCoords: [number, number]): Promise<void>;
3388
- zoomToPolygon(polygonCoords: [[number, number][]]): Promise<void>;
3389
- onEnterPress(): void;
3390
- static ɵfac: i0.ɵɵFactoryDeclaration<GeocodingComponent, never>;
3391
- static ɵcmp: i0.ɵɵComponentDeclaration<GeocodingComponent, "gn-ui-geocoding", never, {}, {}, never, never, true, never>;
3392
- }
3393
-
3394
3370
  interface NotificationContent {
3395
3371
  type: 'info' | 'warning' | 'error' | 'success';
3396
3372
  title: string;
@@ -3424,6 +3400,33 @@ declare class FeatureSearchModule {
3424
3400
  static ɵinj: i0.ɵɵInjectorDeclaration<FeatureSearchModule>;
3425
3401
  }
3426
3402
 
3403
+ type GeoadminGeocodingProvider = ['geoadmin', GeoadminOptions];
3404
+ type GeonamesGeocodingProvider = ['geonames', GeonamesOptions];
3405
+ type GeoplateformeGeocodingProvider = ['geoplateforme', GeoplateformeOptions];
3406
+ type GeocodingProvider = GeoadminGeocodingProvider | GeonamesGeocodingProvider | GeoplateformeGeocodingProvider;
3407
+ declare const DEFAULT_GEOCODING_PROVIDER: GeocodingProvider;
3408
+ declare const GEOCODING_PROVIDER: InjectionToken<GeocodingProvider>;
3409
+ declare class GeocodingService {
3410
+ private provider;
3411
+ query(text: string): Observable<GeocodingResult[]>;
3412
+ static ɵfac: i0.ɵɵFactoryDeclaration<GeocodingService, never>;
3413
+ static ɵprov: i0.ɵɵInjectableDeclaration<GeocodingService>;
3414
+ }
3415
+
3416
+ declare class LocationSearchComponent {
3417
+ private geocodingService;
3418
+ placeholder: string;
3419
+ displayWithTemplate?: TemplateRef<{
3420
+ $implicit: GeocodingResult;
3421
+ }>;
3422
+ resultSelected: EventEmitter<GeocodingResult>;
3423
+ displayWithFn: (item: AutocompleteItem) => string;
3424
+ searchAction: (text: string) => Observable<AutocompleteItem[]>;
3425
+ handleItemSelected(item: AutocompleteItem): void;
3426
+ static ɵfac: i0.ɵɵFactoryDeclaration<LocationSearchComponent, never>;
3427
+ static ɵcmp: i0.ɵɵComponentDeclaration<LocationSearchComponent, "gn-ui-location-search", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "displayWithTemplate": { "alias": "displayWithTemplate"; "required": false; }; }, { "resultSelected": "resultSelected"; }, never, never, true, never>;
3428
+ }
3429
+
3427
3430
  declare const FILTER_GEOMETRY: InjectionToken<Promise<Geometry>>;
3428
3431
 
3429
3432
  declare const RECORD_DATASET_URL_TOKEN: InjectionToken<string>;
@@ -3749,13 +3752,19 @@ declare class SimpleSearchField implements AbstractSearchField {
3749
3752
  protected orderType: 'key' | 'count';
3750
3753
  protected repository: RecordsRepositoryInterface;
3751
3754
  protected esService: ElasticsearchService;
3755
+ private customIdentifier?;
3756
+ protected get fieldIdentifier(): string;
3757
+ includeValues: string[];
3758
+ excludeValues: string[];
3752
3759
  constructor(esFieldName: string, injector: Injector, order?: 'asc' | 'desc', orderType?: 'key' | 'count');
3760
+ setFieldIdentifier(fieldIdentifier: string): void;
3753
3761
  protected getAggregations(): AggregationsParams;
3754
3762
  protected getBucketLabel(bucket: TermBucket): Promise<string>;
3755
3763
  getAvailableValues(): Observable<FieldAvailableValue[]>;
3756
3764
  getFiltersForValues(values: FieldValue[] | DateRange[]): Observable<FieldFilters | string>;
3757
3765
  getValuesForFilter(filters: FieldFilters): Observable<FieldValue[] | FieldValue | DateRange>;
3758
3766
  getType(): FieldType;
3767
+ clone(): typeof this;
3759
3768
  }
3760
3769
  declare class TranslatedSearchField extends SimpleSearchField {
3761
3770
  protected esFieldName: string;
@@ -3827,6 +3836,9 @@ declare class DateRangeSearchField extends SimpleSearchField {
3827
3836
  getAvailableValues(): Observable<FieldAvailableValue[]>;
3828
3837
  getType(): FieldType;
3829
3838
  }
3839
+ declare class ResourceCreationRevisionDateSearchField extends DateRangeSearchField {
3840
+ constructor(injector: Injector, order?: 'asc' | 'desc');
3841
+ }
3830
3842
  declare class BoundingBoxSearchField extends SimpleSearchField {
3831
3843
  getAvailableValues(): Observable<FieldAvailableValue[]>;
3832
3844
  getFiltersForValues(values: FieldValue[]): Observable<FieldFilters>;
@@ -3865,9 +3877,19 @@ declare class RecordKindField extends SimpleSearchField {
3865
3877
  }
3866
3878
 
3867
3879
  type FieldValues = Record<string, FieldValue[] | FieldValue | DateRange>;
3880
+ interface CustomSearchField {
3881
+ name: string;
3882
+ baseFilter: string;
3883
+ excludeValues?: string[];
3884
+ includeValues?: string[];
3885
+ }
3886
+ declare const CUSTOM_FIELDS: InjectionToken<CustomSearchField[]>;
3868
3887
  declare class FieldsService {
3869
3888
  protected injector: Injector;
3889
+ private customFields;
3890
+ private baseFields;
3870
3891
  protected fields: Record<string, AbstractSearchField>;
3892
+ constructor();
3871
3893
  get supportedFields(): string[];
3872
3894
  getAvailableValues(fieldName: string): Observable<FieldAvailableValue[] | DateRange[]>;
3873
3895
  private getFiltersForValues;
@@ -4734,6 +4756,7 @@ declare class ResultsListContainerComponent implements OnInit {
4734
4756
  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>;
4735
4757
  }
4736
4758
 
4759
+ declare const SPATIAL_EXTENT_MAX_FILE_SIZE: InjectionToken<number>;
4737
4760
  declare class FilterDropdownComponent implements OnInit {
4738
4761
  private searchFacade;
4739
4762
  private searchService;
@@ -4747,6 +4770,7 @@ declare class FilterDropdownComponent implements OnInit {
4747
4770
  choices$: Observable<Choice$1[]>;
4748
4771
  selected$: Observable<FieldValue[]>;
4749
4772
  selectedDateRange$: Observable<DateRange>;
4773
+ selectedBoundingBox$: Observable<BoundingBox | null>;
4750
4774
  onSelectedValues(values: unknown[]): void;
4751
4775
  private spatialExtentErrorNotificationId;
4752
4776
  onBboxChange(bbox: BoundingBox | null): void;
@@ -7023,6 +7047,14 @@ interface SearchPreset {
7023
7047
  name: string;
7024
7048
  filters: Record<string, string[] | string>;
7025
7049
  }
7050
+ type GeocodingProviderName = 'geoadmin' | 'geonames' | 'geoplateforme';
7051
+ interface CustomSearchFieldConfig {
7052
+ name: string;
7053
+ baseFilter: string;
7054
+ excludeValues?: string[];
7055
+ includeValues?: string[];
7056
+ labelKey?: string;
7057
+ }
7026
7058
  interface MetadataQualityConfig {
7027
7059
  ENABLED: boolean;
7028
7060
  }
@@ -7043,9 +7075,12 @@ interface SearchConfig {
7043
7075
  FILTER_GEOMETRY_DATA?: string;
7044
7076
  DO_NOT_USE_DEFAULT_SEARCH_PRESET?: boolean;
7045
7077
  SEARCH_PRESET?: SearchPreset[];
7046
- ADVANCED_FILTERS?: [];
7078
+ ADVANCED_FILTERS?: string[];
7079
+ CUSTOM_FILTERS?: CustomSearchFieldConfig[];
7047
7080
  LIMIT?: number;
7048
7081
  SPATIAL_EXTENT_MAX_FILE_SIZE?: number;
7082
+ GEOCODING_PROVIDER?: GeocodingProviderName;
7083
+ GEOCODING_PROVIDER_OPTIONS?: Record<string, string | number>;
7049
7084
  }
7050
7085
  interface SearchConfig {
7051
7086
  FILTER_GEOMETRY?: Geometry;
@@ -7066,6 +7101,7 @@ declare const TRANSLATE_WITH_OVERRIDES_CONFIG: TranslateModuleConfig;
7066
7101
  declare const okAppConfigFixture: () => string;
7067
7102
  declare const appConfigWithTranslationFixture: () => string;
7068
7103
  declare const minimalAppConfigFixture: () => string;
7104
+ declare const customFilterMissingMandatoryConfigFixture: () => string;
7069
7105
  declare const mapConfigFixture: () => MapConfig;
7070
7106
  declare const malformedConfigFixture: () => string;
7071
7107
  declare const missingMandatoryConfigFixture: () => string;
@@ -7074,6 +7110,6 @@ declare const unrecognizedKeysConfigFixture: () => string;
7074
7110
 
7075
7111
  declare function getMapContextLayerFromConfig(config: LayerConfig): MapContextLayer;
7076
7112
 
7077
- 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, 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, 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, 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, isBoundingBox, 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, 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 };
7078
- 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, DateRangeBound, DragAndDropFileInputError, 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, 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, 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, QueryGeoShape, 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, SpatialExtentDropdownError, SpatialExtentLayerStyle, SpatialExtentTranslations, SpatialRepresentationType, StacFilterState, StyleByGeometryType, SupportedType, SwitchToggleOption, TableItemId, TableItemModel, TermBucket, TermsAggregationParams, TermsAggregationResult, ThemeConfig, Thesaurus, ThesaurusApiResponse, UpdateFrequency, UpdateFrequencyCode, UpdateFrequencyCustom, UploadEvent, UserFeedback, UserFeedbackViewModel, ValidatorMapperKeys };
7113
+ 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, 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, bboxToPolygon, blockModelFixture, bytesToMegabytes, canEditRecord, checkFileFormat, 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, 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 };
7114
+ 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, 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, 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, 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, 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, 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 };
7079
7115
  //# sourceMappingURL=index.d.ts.map