geonetwork-ui 2.11.0-dev.96d0c6ce2 → 2.11.0-dev.a5c259d9e

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 (67) hide show
  1. package/fesm2022/geonetwork-ui.mjs +971 -585
  2. package/fesm2022/geonetwork-ui.mjs.map +1 -1
  3. package/index.d.ts +165 -59
  4. package/index.d.ts.map +1 -1
  5. package/package.json +11 -11
  6. package/src/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.ts +43 -13
  7. package/src/libs/api/metadata-converter/src/lib/gn4/types/elasticsearch.model.ts +13 -1
  8. package/src/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.ts +23 -3
  9. package/src/libs/api/repository/src/lib/gn4/gn4-repository.ts +40 -16
  10. package/src/libs/common/domain/src/lib/model/record/metadata.model.ts +12 -0
  11. package/src/libs/common/domain/src/lib/model/search/sort-by.model.ts +1 -5
  12. package/src/libs/common/domain/src/lib/repository/records-repository.interface.ts +2 -2
  13. package/src/libs/feature/dataviz/src/lib/chart-view/chart-view.component.ts +3 -2
  14. package/src/libs/feature/dataviz/src/lib/geo-table-view/geo-table-view.component.ts +2 -1
  15. package/src/libs/feature/dataviz/src/lib/service/data.service.ts +22 -22
  16. package/src/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.html +1 -0
  17. package/src/libs/feature/notifications/src/lib/notifications.service.ts +6 -4
  18. package/src/libs/feature/record/src/lib/state/mdview.actions.ts +4 -8
  19. package/src/libs/feature/record/src/lib/state/mdview.effects.ts +7 -16
  20. package/src/libs/feature/record/src/lib/state/mdview.facade.ts +1 -3
  21. package/src/libs/feature/record/src/lib/state/mdview.reducer.ts +4 -9
  22. package/src/libs/feature/record/src/lib/state/mdview.selectors.ts +2 -7
  23. package/src/libs/feature/router/src/lib/default/router.service.ts +1 -1
  24. package/src/libs/feature/search/src/lib/filter-dropdown/filter-dropdown.component.html +7 -0
  25. package/src/libs/feature/search/src/lib/filter-dropdown/filter-dropdown.component.ts +39 -0
  26. package/src/libs/feature/search/src/lib/sort-by/sort-by.component.ts +1 -1
  27. package/src/libs/feature/search/src/lib/utils/service/fields.service.ts +3 -1
  28. package/src/libs/feature/search/src/lib/utils/service/fields.ts +16 -1
  29. package/src/libs/ui/dataviz/src/lib/data-table/data-table.component.html +6 -7
  30. package/src/libs/ui/dataviz/src/lib/data-table/data-table.component.ts +31 -19
  31. package/src/libs/ui/dataviz/src/lib/data-table/data-table.fixtures.ts +2 -2
  32. package/src/libs/ui/inputs/src/index.ts +1 -0
  33. package/src/libs/ui/inputs/src/lib/drag-and-drop-file-input/drag-and-drop-file-input.component.css +1 -0
  34. package/src/libs/ui/inputs/src/lib/drag-and-drop-file-input/drag-and-drop-file-input.component.html +20 -7
  35. package/src/libs/ui/inputs/src/lib/drag-and-drop-file-input/drag-and-drop-file-input.component.ts +46 -5
  36. package/src/libs/ui/inputs/src/lib/spatial-extent-dropdown/spatial-extent-dropdown.component.css +0 -0
  37. package/src/libs/ui/inputs/src/lib/spatial-extent-dropdown/spatial-extent-dropdown.component.html +117 -0
  38. package/src/libs/ui/inputs/src/lib/spatial-extent-dropdown/spatial-extent-dropdown.component.ts +191 -0
  39. package/src/libs/ui/map/src/lib/components/map-container/map-container.component.ts +4 -5
  40. package/src/libs/util/app-config/src/lib/app-config.ts +3 -0
  41. package/src/libs/util/app-config/src/lib/model.ts +1 -0
  42. package/src/libs/util/data-fetcher/src/lib/data-fetcher.ts +19 -22
  43. package/src/libs/util/data-fetcher/src/lib/engine/duckdb.ts +185 -0
  44. package/src/libs/util/data-fetcher/src/lib/engine/results.ts +63 -0
  45. package/src/libs/util/data-fetcher/src/lib/{sql-utils.ts → engine/sql-utils.ts} +28 -13
  46. package/src/libs/util/data-fetcher/src/lib/model.ts +2 -1
  47. package/src/libs/util/data-fetcher/src/lib/readers/base-file.ts +53 -38
  48. package/src/libs/util/data-fetcher/src/lib/readers/base.ts +11 -0
  49. package/src/libs/util/data-fetcher/src/lib/readers/csv.ts +9 -47
  50. package/src/libs/util/data-fetcher/src/lib/readers/excel.ts +27 -27
  51. package/src/libs/util/data-fetcher/src/lib/readers/geojson.ts +5 -24
  52. package/src/libs/util/data-fetcher/src/lib/readers/gml.ts +5 -49
  53. package/src/libs/util/data-fetcher/src/lib/readers/json.ts +5 -23
  54. package/src/libs/util/data-fetcher/src/lib/readers/wfs.ts +184 -128
  55. package/src/libs/util/data-fetcher/src/lib/utils.ts +0 -143
  56. package/src/libs/util/shared/src/lib/utils/file.ts +15 -0
  57. package/src/libs/util/shared/src/lib/utils/index.ts +1 -0
  58. package/tailwind.base.css +5 -0
  59. package/translations/de.json +11 -1
  60. package/translations/en.json +11 -1
  61. package/translations/es.json +10 -0
  62. package/translations/fr.json +11 -1
  63. package/translations/it.json +11 -1
  64. package/translations/nl.json +10 -0
  65. package/translations/pt.json +10 -0
  66. package/translations/sk.json +11 -1
  67. package/src/libs/util/data-fetcher/src/lib/readers/base-cache.ts +0 -14
package/index.d.ts CHANGED
@@ -11,20 +11,22 @@ import { ContentType } from 'rdflib/lib/types';
11
11
  import { HttpParameterCodec, HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpInterceptor, HttpRequest, HttpHandler } from '@angular/common/http';
12
12
  import { TranslateService, TranslateModuleConfig } from '@ngx-translate/core';
13
13
  import * as _geospatial_sdk_core from '@geospatial-sdk/core';
14
- import { MapContext, MapContextLayer, Extent, SourceLoadErrorEvent, MapContextLayerGeojson } from '@geospatial-sdk/core';
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
17
  import { Style } from 'ol/style.js';
18
18
  import { StyleLike } from 'ol/style/Style.js';
19
19
  import * as _ngrx_effects from '@ngrx/effects';
20
20
  import * as geonetwork_ui from 'geonetwork-ui';
21
+ import * as _angular_cdk_overlay from '@angular/cdk/overlay';
22
+ import { CdkOverlayOrigin, CdkConnectedOverlay, ConnectedPosition, CdkScrollable } from '@angular/cdk/overlay';
21
23
  import { UntypedFormControl, FormControl } from '@angular/forms';
22
24
  import { MatAutocompleteTrigger, MatAutocomplete, MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
23
25
  import * as _camptocamp_ogc_client from '@camptocamp/ogc-client';
24
26
  import { OgcApiEndpoint, WfsEndpoint, MimeType, WfsFeatureTypeFull, WmsLayerFull, WmtsLayer, StacItem, WfsVersion, OgcApiCollectionInfo, OgcApiRecord, GetCollectionItemsOptions, StacItemsDocument } from '@camptocamp/ogc-client';
25
27
  import OlMap from 'ol/Map.js';
26
28
  import { Extent as Extent$1, MapContext as MapContext$1 } from '@geospatial-sdk/core/dist/model';
27
- import { MatSort } from '@angular/material/sort';
29
+ import { MatSort, Sort } from '@angular/material/sort';
28
30
  import { DataSource } from '@angular/cdk/collections';
29
31
  import { MatPaginator } from '@angular/material/paginator';
30
32
  import { MatDialog, MatDialogRef } from '@angular/material/dialog';
@@ -38,8 +40,6 @@ import * as chart_js from 'chart.js';
38
40
  import { Chart, ChartType, ChartData, ChartOptions } from 'chart.js';
39
41
  import Duration from 'duration-relativetimeformat';
40
42
  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
43
  import { CdkScrollable as CdkScrollable$1 } from '@angular/cdk/scrolling';
44
44
  import { EmblaCarouselType } from 'embla-carousel';
45
45
  import { CdkDragDrop } from '@angular/cdk/drag-drop';
@@ -242,6 +242,16 @@ interface AssociatedRecord {
242
242
  uniqueIdentifier: string;
243
243
  associationType: AssociationType;
244
244
  }
245
+ /**
246
+ * Nature of the link between a record and another one; the association type is
247
+ * only known for 'sibling' relations, as it is held by the declaring record.
248
+ */
249
+ type RecordRelation = 'source' | 'sourceOf' | 'sibling' | 'associated';
250
+ interface LinkedRecord {
251
+ record: CatalogRecord;
252
+ relation: RecordRelation;
253
+ associationType?: AssociationType;
254
+ }
245
255
  interface DatasetRecord extends BaseRecord {
246
256
  kind: 'dataset';
247
257
  status: RecordStatus;
@@ -359,7 +369,19 @@ type SortOrder = 'asc' | 'desc';
359
369
  interface SortParam {
360
370
  [key: string]: SortOrder;
361
371
  }
362
- type SortParams = string | SortParam | (string | SortParam)[];
372
+ type EsFieldSort = {
373
+ order: SortOrder;
374
+ mode?: 'max' | 'min';
375
+ missing?: '_last';
376
+ nested?: {
377
+ path: string;
378
+ };
379
+ };
380
+ type SortParams = string | SortParam | {
381
+ [property: string]: EsFieldSort;
382
+ } | (string | SortParam | {
383
+ [property: string]: EsFieldSort;
384
+ })[];
363
385
  interface EsRequestAggTerm {
364
386
  field?: string;
365
387
  size?: number;
@@ -1039,8 +1061,7 @@ declare abstract class RecordsRepositoryInterface {
1039
1061
  abstract getFeatureCatalog(record: CatalogRecord): Observable<DatasetFeatureCatalog | null>;
1040
1062
  abstract aggregate(params: AggregationsParams): Observable<Aggregations>;
1041
1063
  abstract getSimilarRecords(similarTo: CatalogRecord): Observable<CatalogRecord[]>;
1042
- abstract getSources(record: CatalogRecord): Observable<CatalogRecord[]>;
1043
- abstract getSourceOf(record: CatalogRecord): Observable<CatalogRecord[]>;
1064
+ abstract getLinkedRecords(record: CatalogRecord): Observable<LinkedRecord[]>;
1044
1065
  abstract fuzzySearch(query: string): Observable<SearchResults>;
1045
1066
  abstract canDuplicate(record: CatalogRecord): boolean;
1046
1067
  abstract canDelete(record: CatalogRecord): Observable<boolean>;
@@ -1126,8 +1147,7 @@ declare class Gn4Repository implements RecordsRepositoryInterface {
1126
1147
  private mapEmbeddedFeatureCatalog;
1127
1148
  getFeatureCatalog(record: CatalogRecord, visited?: Set<string>): Observable<DatasetFeatureCatalog | null>;
1128
1149
  getSimilarRecords(similarTo: CatalogRecord): Observable<CatalogRecord[]>;
1129
- getSources(record: CatalogRecord): Observable<CatalogRecord[]>;
1130
- getSourceOf(record: CatalogRecord): Observable<CatalogRecord[]>;
1150
+ getLinkedRecords(record: CatalogRecord): Observable<LinkedRecord[]>;
1131
1151
  aggregate(params: AggregationsParams): Observable<Aggregations>;
1132
1152
  fuzzySearch(query: string): Observable<SearchResults>;
1133
1153
  getRecordPublicationStatus(uniqueIdentifier: string): Observable<boolean>;
@@ -2144,6 +2164,9 @@ declare function bytesToMegabytes(bytes: number): number;
2144
2164
  */
2145
2165
  declare function propagateToDocumentOnly(event: Event): void;
2146
2166
 
2167
+ declare function isFileExtensionValid(fileName: string, acceptedExtensions: string[]): boolean;
2168
+ declare function readFileAsText(file: File): Promise<string>;
2169
+
2147
2170
  declare function formatUserInfo(userInfo: string | unknown, displayCount?: boolean): string;
2148
2171
 
2149
2172
  type FuzzyFilter = (input: string) => boolean;
@@ -2854,15 +2877,27 @@ declare class DateRangePickerComponent {
2854
2877
  }
2855
2878
 
2856
2879
  declare const placeholder = "dropFile";
2880
+ type DragAndDropFileInputError = 'invalid-extension' | 'file-too-large';
2857
2881
  declare class DragAndDropFileInputComponent {
2858
2882
  placeholder: string;
2859
2883
  accept: string;
2860
- fileChange: EventEmitter<any>;
2884
+ maxFileSizeMb: number | null;
2885
+ icon: string | null;
2886
+ dropzoneBackgroundColor: string | null;
2887
+ textClass: string;
2888
+ extraClass: string;
2889
+ showFileName: boolean;
2890
+ fileChange: EventEmitter<File>;
2891
+ errorChange: EventEmitter<DragAndDropFileInputError>;
2861
2892
  selectedFile: File;
2893
+ private dropzone;
2862
2894
  get fileName(): string | null;
2895
+ get maxFileSizeBytes(): number | null;
2863
2896
  selectFile(event: any): void;
2897
+ openFileSelector(): void;
2898
+ clear(): void;
2864
2899
  static ɵfac: i0.ɵɵFactoryDeclaration<DragAndDropFileInputComponent, never>;
2865
- 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>;
2900
+ 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>;
2866
2901
  }
2867
2902
 
2868
2903
  interface Choice$1 {
@@ -3147,6 +3182,39 @@ declare class DateRangeInputsComponent {
3147
3182
  static ɵcmp: i0.ɵɵComponentDeclaration<DateRangeInputsComponent, "gn-ui-date-range-inputs", never, { "temporalExtent": { "alias": "temporalExtent"; "required": false; }; }, { "temporalExtentChange": "temporalExtentChange"; }, never, never, true, never>;
3148
3183
  }
3149
3184
 
3185
+ interface SpatialExtentDropdownError {
3186
+ key: string;
3187
+ params?: Record<string, string | number>;
3188
+ }
3189
+ declare class SpatialExtentDropdownComponent {
3190
+ private cd;
3191
+ private scrollStrategies;
3192
+ title: string;
3193
+ maxFileSizeMb: number | null;
3194
+ bboxChange: EventEmitter<BoundingBox>;
3195
+ errorChange: EventEmitter<SpatialExtentDropdownError>;
3196
+ bbox: BoundingBox | null;
3197
+ fileName: string;
3198
+ overlayOrigin: CdkOverlayOrigin;
3199
+ overlay: CdkConnectedOverlay;
3200
+ fileInput: DragAndDropFileInputComponent;
3201
+ overlayPositions: ConnectedPosition[];
3202
+ scrollStrategy: _angular_cdk_overlay.RepositionScrollStrategy;
3203
+ overlayOpen: boolean;
3204
+ overlayMinWidth: string;
3205
+ errorKey: string | null;
3206
+ get hasSelection(): boolean;
3207
+ openOverlay(): void;
3208
+ closeOverlay(): void;
3209
+ toggleOverlay(): void;
3210
+ handleFileSelected(file: File): Promise<void>;
3211
+ handleFileError(error: DragAndDropFileInputError): void;
3212
+ private setError;
3213
+ removeSelection(event: Event): void;
3214
+ static ɵfac: i0.ɵɵFactoryDeclaration<SpatialExtentDropdownComponent, never>;
3215
+ 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>;
3216
+ }
3217
+
3150
3218
  declare class ResultsHitsSearchKindComponent implements OnChanges {
3151
3219
  selected: string[];
3152
3220
  choices: Choice$1[];
@@ -3295,7 +3363,7 @@ type NotificationWithIdentity = NotificationContent & {
3295
3363
  };
3296
3364
  declare class NotificationsService {
3297
3365
  notifications$: BehaviorSubject<NotificationWithIdentity[]>;
3298
- showNotification(content: NotificationContent, timeoutMs?: number, error?: Error): void;
3366
+ showNotification(content: NotificationContent, timeoutMs?: number, error?: Error): number;
3299
3367
  removeNotificationById(id: number): void;
3300
3368
  static ɵfac: i0.ɵɵFactoryDeclaration<NotificationsService, never>;
3301
3369
  static ɵprov: i0.ɵɵInjectableDeclaration<NotificationsService>;
@@ -3621,7 +3689,7 @@ declare class SearchService implements SearchServiceI {
3621
3689
  static ɵprov: i0.ɵɵInjectableDeclaration<SearchService>;
3622
3690
  }
3623
3691
 
3624
- type FieldType = 'values' | 'dateRange';
3692
+ type FieldType = 'values' | 'dateRange' | 'spatialExtent';
3625
3693
  type FieldValue = string | number;
3626
3694
  interface FieldAvailableValue {
3627
3695
  value: FieldValue;
@@ -3719,6 +3787,11 @@ declare class DateRangeSearchField extends SimpleSearchField {
3719
3787
  getAvailableValues(): Observable<FieldAvailableValue[]>;
3720
3788
  getType(): FieldType;
3721
3789
  }
3790
+ declare class SpatialExtentSearchField extends SimpleSearchField {
3791
+ constructor(injector: Injector);
3792
+ getAvailableValues(): Observable<FieldAvailableValue[]>;
3793
+ getType(): FieldType;
3794
+ }
3722
3795
  declare class AvailableServicesField extends SimpleSearchField {
3723
3796
  private translateService;
3724
3797
  constructor(injector: Injector);
@@ -4624,14 +4697,21 @@ declare class FilterDropdownComponent implements OnInit {
4624
4697
  private searchFacade;
4625
4698
  private searchService;
4626
4699
  private fieldsService;
4700
+ private notificationsService;
4701
+ private translateService;
4627
4702
  fieldName: string;
4628
4703
  title: string;
4704
+ spatialExtentMaxFileSize: number;
4629
4705
  fieldType: FieldType;
4630
4706
  dateRange: DateRange;
4631
4707
  choices$: Observable<Choice$1[]>;
4632
4708
  selected$: Observable<FieldValue[]>;
4633
4709
  selectedDateRange$: Observable<DateRange>;
4634
4710
  onSelectedValues(values: unknown[]): void;
4711
+ private spatialExtentErrorNotificationId;
4712
+ onBboxChange(bbox: BoundingBox | null): void;
4713
+ onSpatialExtentError(error: SpatialExtentDropdownError): void;
4714
+ private clearSpatialExtentErrorNotification;
4635
4715
  ngOnInit(): void;
4636
4716
  onStartDateChange(start: Date): void;
4637
4717
  onEndDateChange(end: Date): void;
@@ -4878,10 +4958,11 @@ interface DatasetHeaders {
4878
4958
  interface PropertyInfo {
4879
4959
  name: string;
4880
4960
  label: string;
4881
- type: 'number' | 'date' | 'url' | 'string';
4961
+ type: 'number' | 'date' | 'boolean' | 'string' | 'other';
4882
4962
  }
4883
4963
  interface DatasetInfo {
4884
4964
  itemsCount: number;
4965
+ hasGeometry: boolean;
4885
4966
  }
4886
4967
  type FieldName = string;
4887
4968
  type SumOperation = ['sum', FieldName];
@@ -4913,8 +4994,12 @@ declare class BaseReader {
4913
4994
  protected sort: FieldSort[];
4914
4995
  protected startIndex: number;
4915
4996
  protected count: number;
4997
+ protected loadPromise_: Promise<void>;
4998
+ protected cacheEnabled: boolean;
4916
4999
  constructor(url: string);
5000
+ enableCache(enabled: boolean): void;
4917
5001
  load(): void;
5002
+ get isLoaded(): Promise<void>;
4918
5003
  get properties(): Promise<PropertyInfo[]>;
4919
5004
  get info(): Promise<DatasetInfo>;
4920
5005
  read(): Promise<DataItem[]>;
@@ -4927,21 +5012,22 @@ declare class BaseReader {
4927
5012
  limit(startIndex: number, count: number): this;
4928
5013
  }
4929
5014
 
4930
- declare function openDataset(url: string, typeHint?: SupportedType, options?: {
4931
- namespace?: string;
4932
- wfsVersion?: WfsVersion;
5015
+ interface OpenDatasetOptions {
5016
+ typeHint?: SupportedType;
4933
5017
  wfsFeatureType?: string;
4934
- }, cacheActive?: boolean): Promise<BaseReader>;
5018
+ enableCache?: boolean;
5019
+ }
5020
+ declare function openDataset(url: string, options?: OpenDatasetOptions): Promise<BaseReader>;
4935
5021
  /**
4936
5022
  * This fetches the full dataset at the given URL and parses it according to its mime type.
4937
5023
  * All items in the dataset are converted to GeoJSON features, even if they do not bear any spatial geometry.
4938
5024
  * File type can be either inferred (from the HTTP headers or the URL), or hinted using the 2nd argument
4939
- * File type is determined liked so:
5025
+ * File type is determined like so:
4940
5026
  * 1. if a type hint is given, use it
4941
5027
  * 2. otherwise, look for a Content-Type header in the response with a supported mime type
4942
5028
  * 3. if no valid mime type was found, look for an explicit file extension in the url (.csv, .geojson etc.)
4943
5029
  */
4944
- declare function readDataset(url: string, typeHint?: SupportedType, options?: any, cacheActive?: boolean): Promise<DataItem[]>;
5030
+ declare function readDataset(url: string, options?: OpenDatasetOptions): Promise<DataItem[]>;
4945
5031
  /**
4946
5032
  * This fetches only the header of the dataset at the given URL, giving info on size, mime-type and last update if available.
4947
5033
  */
@@ -4954,31 +5040,51 @@ declare function readDatasetHeaders(url: string): Promise<DatasetHeaders>;
4954
5040
  */
4955
5041
  declare function getJsonDataItemsProxy(items: DataItem[]): Record<string, unknown>[];
4956
5042
 
4957
- declare abstract class BaseCacheReader extends BaseReader {
4958
- protected url: string;
4959
- protected cacheActive: boolean;
4960
- constructor(url: string, cacheActive?: boolean);
4961
- setCacheActive(value: boolean): void;
5043
+ declare class Engine {
5044
+ private db;
5045
+ private init_;
5046
+ private makeInit;
5047
+ isReady(): Promise<Engine>;
5048
+ /**
5049
+ * Returns information about a dataset once it's loaded:
5050
+ * - a list of properties description
5051
+ * - the name of the dataset geometry column (null if no geometry present)
5052
+ * @param datasetId name of the table under which the dataset will be stored
5053
+ * @param loadQuery duckdb-specific query for creating a table out of the data
5054
+ * @param forceReload if true, any existing data will be dropped and redownloaded
5055
+ */
5056
+ loadFile(datasetId: string, loadQuery: string, forceReload?: boolean): Promise<{
5057
+ properties: PropertyInfo[];
5058
+ geometryColumn: string | null;
5059
+ rowsCount: number;
5060
+ }>;
5061
+ registerData(name: string, buffer: Uint8Array): Promise<void>;
5062
+ /**
5063
+ * @param query duckdb-specific query for fetching items
5064
+ */
5065
+ queryItems(query: string): Promise<DataItem[]>;
5066
+ close(): void;
4962
5067
  }
4963
5068
 
4964
- type ParseResult = {
4965
- items: DataItem[];
4966
- properties: PropertyInfo[];
4967
- };
4968
- declare class BaseFileReader extends BaseCacheReader {
4969
- private parseResult_;
4970
- protected getData(): Promise<ParseResult>;
4971
- load(): void;
5069
+ /**
5070
+ * This reader handles file formats supported natively by DuckDB
5071
+ */
5072
+ declare class BaseFileReader extends BaseReader {
5073
+ protected engine: Engine;
5074
+ protected datasetId: string;
5075
+ protected properties_: PropertyInfo[];
5076
+ protected geometryColumn: string;
5077
+ protected rowsCount: number;
5078
+ protected generateDatasetId(): string;
5079
+ protected getLoadQuery(): Promise<string>;
5080
+ load(): Promise<void>;
4972
5081
  get properties(): Promise<PropertyInfo[]>;
4973
5082
  get info(): Promise<DatasetInfo>;
4974
5083
  read(): Promise<DataItem[]>;
4975
5084
  }
4976
5085
 
4977
5086
  declare class GeojsonReader extends BaseFileReader {
4978
- getData(): Promise<{
4979
- items: DataItem[];
4980
- properties: PropertyInfo[];
4981
- }>;
5087
+ getLoadQuery(): Promise<string>;
4982
5088
  }
4983
5089
 
4984
5090
  interface WfsDownloadUrls {
@@ -5022,7 +5128,7 @@ declare class ChartViewComponent {
5022
5128
  set link(value: DatasetOnlineResource);
5023
5129
  private currentLink$;
5024
5130
  set aggregation(value: FieldAggregation[0]);
5025
- aggregation$: BehaviorSubject<"count" | "sum" | "min" | "max" | "average">;
5131
+ aggregation$: BehaviorSubject<"max" | "min" | "count" | "sum" | "average">;
5026
5132
  set xProperty(value: string);
5027
5133
  xProperty$: BehaviorSubject<string>;
5028
5134
  set yProperty(value: string);
@@ -5031,7 +5137,7 @@ declare class ChartViewComponent {
5031
5137
  chartType$: BehaviorSubject<"line" | "bar" | "bar-horizontal" | "line-interpolated" | "scatter" | "pie">;
5032
5138
  set userChartConfig(config: DatavizChartConfigModel);
5033
5139
  chartConfig$: Observable<{
5034
- aggregation: "count" | "sum" | "min" | "max" | "average";
5140
+ aggregation: "max" | "min" | "count" | "sum" | "average";
5035
5141
  xProperty: string;
5036
5142
  yProperty: string;
5037
5143
  chartType: "line" | "bar" | "bar-horizontal" | "line-interpolated" | "scatter" | "pie";
@@ -5102,31 +5208,37 @@ interface TableItemModel {
5102
5208
  id: TableItemId;
5103
5209
  [key: string]: TableItemType;
5104
5210
  }
5211
+ interface TableColumn {
5212
+ name: string;
5213
+ label: string;
5214
+ }
5105
5215
  declare class DataTableComponent implements OnInit, AfterViewInit, OnChanges {
5106
5216
  private eltRef;
5107
5217
  private cdr;
5108
5218
  private translateService;
5109
- _featureAttributes: any[];
5219
+ columnsFromFeatureCatalog: TableColumn[];
5110
5220
  set featureAttributes(value: {
5111
5221
  value: string;
5112
5222
  label: string;
5113
5223
  }[]);
5224
+ columnsFromDataset: TableColumn[];
5114
5225
  set dataset(value: BaseReader);
5115
5226
  activeId: TableItemId;
5116
5227
  selected: EventEmitter<any>;
5117
5228
  sort: MatSort;
5118
5229
  paginator: MatPaginator;
5119
5230
  dataset_: BaseReader;
5120
- properties$: BehaviorSubject<string[]>;
5121
5231
  dataSource: DataTableDataSource;
5122
5232
  headerHeight: number;
5123
5233
  count: number;
5124
5234
  loading$: BehaviorSubject<boolean>;
5125
5235
  error: any;
5236
+ get columns(): TableColumn[];
5237
+ get columnNames(): string[];
5126
5238
  ngOnInit(): void;
5127
5239
  ngAfterViewInit(): void;
5128
5240
  ngOnChanges(): void;
5129
- setSort(sort: MatSort): void;
5241
+ setSort(sort: Sort): void;
5130
5242
  setPagination(): void;
5131
5243
  readData(): Promise<void>;
5132
5244
  scrollToItem(itemId: TableItemId): void;
@@ -5162,6 +5274,7 @@ declare class FigureContainerComponent implements OnChanges {
5162
5274
  static ɵcmp: i0.ɵɵComponentDeclaration<FigureContainerComponent, "gn-ui-figure-container", never, { "dataset": { "alias": "dataset"; "required": false; }; "expression": { "alias": "expression"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "title": { "alias": "title"; "required": false; }; "unit": { "alias": "unit"; "required": false; }; "digits": { "alias": "digits"; "required": false; }; }, {}, never, never, true, never>;
5163
5275
  }
5164
5276
 
5277
+ declare const DEFAULT_BASEMAP_LAYER: MapContextLayerMapLibreStyle;
5165
5278
  declare class MapContainerComponent implements AfterViewInit, OnChanges {
5166
5279
  private doNotUseDefaultBasemap;
5167
5280
  private basemapLayers;
@@ -5323,8 +5436,7 @@ declare class MdViewFacade {
5323
5436
  otherError?: string;
5324
5437
  }>;
5325
5438
  related$: rxjs.Observable<CatalogRecord[]>;
5326
- sources$: rxjs.Observable<CatalogRecord[]>;
5327
- sourceOf$: rxjs.Observable<CatalogRecord[]>;
5439
+ linkedRecords$: rxjs.Observable<LinkedRecord[]>;
5328
5440
  chartConfig$: rxjs.Observable<DatavizChartConfigModel>;
5329
5441
  allLinks$: rxjs.Observable<DatasetOnlineResource[] | ServiceOnlineResource[]>;
5330
5442
  resourceDoi$: rxjs.Observable<{
@@ -5410,16 +5522,11 @@ declare const setRelated: _ngrx_store.ActionCreator<"[Metadata view] Set related
5410
5522
  }) => {
5411
5523
  related: CatalogRecord[];
5412
5524
  } & _ngrx_store.Action<"[Metadata view] Set related records">>;
5413
- declare const setSources: _ngrx_store.ActionCreator<"[Metadata view] Set sources", (props: {
5414
- sources: CatalogRecord[];
5415
- }) => {
5416
- sources: CatalogRecord[];
5417
- } & _ngrx_store.Action<"[Metadata view] Set sources">>;
5418
- declare const setSourceOf: _ngrx_store.ActionCreator<"[Metadata view] Set has sources", (props: {
5419
- sourceOf: CatalogRecord[];
5525
+ declare const setLinkedRecords: _ngrx_store.ActionCreator<"[Metadata view] Set associated records", (props: {
5526
+ linkedRecords: LinkedRecord[];
5420
5527
  }) => {
5421
- sourceOf: CatalogRecord[];
5422
- } & _ngrx_store.Action<"[Metadata view] Set has sources">>;
5528
+ linkedRecords: LinkedRecord[];
5529
+ } & _ngrx_store.Action<"[Metadata view] Set associated records">>;
5423
5530
  declare const setChartConfig: _ngrx_store.ActionCreator<"[Metadata view] Set chart config", (props: {
5424
5531
  chartConfig: DatavizChartConfigModel;
5425
5532
  }) => {
@@ -5475,9 +5582,8 @@ declare const mdview_actions_d_loadUserFeedbacksFailure: typeof loadUserFeedback
5475
5582
  declare const mdview_actions_d_loadUserFeedbacksSuccess: typeof loadUserFeedbacksSuccess;
5476
5583
  declare const mdview_actions_d_setChartConfig: typeof setChartConfig;
5477
5584
  declare const mdview_actions_d_setIncompleteMetadata: typeof setIncompleteMetadata;
5585
+ declare const mdview_actions_d_setLinkedRecords: typeof setLinkedRecords;
5478
5586
  declare const mdview_actions_d_setRelated: typeof setRelated;
5479
- declare const mdview_actions_d_setSourceOf: typeof setSourceOf;
5480
- declare const mdview_actions_d_setSources: typeof setSources;
5481
5587
  declare namespace mdview_actions_d {
5482
5588
  export {
5483
5589
  mdview_actions_d_addUserFeedback as addUserFeedback,
@@ -5495,9 +5601,8 @@ declare namespace mdview_actions_d {
5495
5601
  mdview_actions_d_loadUserFeedbacksSuccess as loadUserFeedbacksSuccess,
5496
5602
  mdview_actions_d_setChartConfig as setChartConfig,
5497
5603
  mdview_actions_d_setIncompleteMetadata as setIncompleteMetadata,
5604
+ mdview_actions_d_setLinkedRecords as setLinkedRecords,
5498
5605
  mdview_actions_d_setRelated as setRelated,
5499
- mdview_actions_d_setSourceOf as setSourceOf,
5500
- mdview_actions_d_setSources as setSources,
5501
5606
  };
5502
5607
  }
5503
5608
 
@@ -6900,6 +7005,7 @@ interface SearchConfig {
6900
7005
  SEARCH_PRESET?: SearchPreset[];
6901
7006
  ADVANCED_FILTERS?: [];
6902
7007
  LIMIT?: number;
7008
+ SPATIAL_EXTENT_MAX_FILE_SIZE?: number;
6903
7009
  }
6904
7010
  interface SearchConfig {
6905
7011
  FILTER_GEOMETRY?: Geometry;
@@ -6928,6 +7034,6 @@ declare const unrecognizedKeysConfigFixture: () => string;
6928
7034
 
6929
7035
  declare function getMapContextLayerFromConfig(config: LayerConfig): MapContextLayer;
6930
7036
 
6931
- 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_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 };
6932
- 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, 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, 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 };
7037
+ 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, SpatialExtentDropdownComponent, SpatialExtentSearchField, 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, 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, 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 };
7038
+ 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, 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, 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, SpatialExtentDropdownError, SpatialExtentLayerStyle, SpatialExtentTranslations, SpatialRepresentationType, StacFilterState, StyleByGeometryType, SupportedType, SwitchToggleOption, TableItemId, TableItemModel, TermBucket, TermsAggregationParams, TermsAggregationResult, ThemeConfig, Thesaurus, ThesaurusApiResponse, UpdateFrequency, UpdateFrequencyCode, UpdateFrequencyCustom, UploadEvent, UserFeedback, UserFeedbackViewModel, ValidatorMapperKeys };
6933
7039
  //# sourceMappingURL=index.d.ts.map