geonetwork-ui 2.11.0-dev.5c2e5295e → 2.11.0-dev.62b98576f
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.
- package/fesm2022/geonetwork-ui.mjs +2654 -1669
- package/fesm2022/geonetwork-ui.mjs.map +1 -1
- package/index.d.ts +465 -187
- package/index.d.ts.map +1 -1
- package/package.json +13 -11
- package/src/libs/api/metadata-converter/src/lib/dcat-ap/dcat-ap.converter.ts +2 -0
- package/src/libs/api/metadata-converter/src/lib/fixtures/mel.records.dataset+featurecatalog.ts +395 -0
- package/src/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.ts +78 -21
- package/src/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.ts +19 -0
- package/src/libs/api/metadata-converter/src/lib/iso19115-3/iso19115-3.converter.ts +17 -6
- package/src/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.ts +110 -0
- package/src/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.ts +131 -0
- package/src/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.ts +9 -0
- package/src/libs/api/metadata-converter/src/lib/iso19139/read-parts.ts +2 -1
- package/src/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.ts +160 -54
- package/src/libs/api/repository/src/lib/gn4/gn4-repository.ts +119 -51
- package/src/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.ts +11 -0
- package/src/libs/common/domain/src/lib/model/record/flags.model.ts +1 -0
- package/src/libs/common/domain/src/lib/model/record/index.ts +1 -0
- package/src/libs/common/domain/src/lib/model/record/metadata.model.ts +26 -18
- package/src/libs/common/domain/src/lib/model/search/aggregation.model.ts +2 -0
- package/src/libs/common/domain/src/lib/model/search/filter.model.ts +24 -2
- package/src/libs/common/domain/src/lib/platform.service.interface.ts +1 -0
- package/src/libs/common/domain/src/lib/repository/records-repository.interface.ts +22 -3
- package/src/libs/common/fixtures/src/lib/records.fixtures.ts +42 -62
- package/src/libs/feature/dataviz/src/lib/chart-view/chart-view.component.ts +3 -2
- package/src/libs/feature/dataviz/src/lib/geo-table-view/geo-table-view.component.ts +2 -1
- package/src/libs/feature/dataviz/src/lib/service/data.service.ts +54 -41
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints/form-field-constraints.component.ts +3 -5
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts/form-field-contacts.component.ts +2 -2
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-record-flags/form-field-record-flag-component.html +18 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-record-flags/form-field-record-flag-component.ts +86 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.html +100 -88
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.ts +11 -4
- package/src/libs/feature/editor/src/lib/components/record-form/record-form.component.ts +18 -4
- package/src/libs/feature/editor/src/lib/expressions.ts +67 -0
- package/src/libs/feature/editor/src/lib/fields.config.ts +13 -0
- package/src/libs/feature/editor/src/lib/models/editor-config.model.ts +10 -4
- package/src/libs/feature/map/src/index.ts +0 -2
- package/src/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.html +1 -0
- package/src/libs/feature/map/src/lib/feature-map.module.ts +1 -8
- package/src/libs/feature/notifications/src/lib/notifications.service.ts +6 -4
- package/src/libs/feature/notify-reuse/src/lib/notify-reuse-form/notify-reuse-form.component.ts +8 -3
- package/src/libs/feature/record/src/lib/state/mdview.actions.ts +4 -8
- package/src/libs/feature/record/src/lib/state/mdview.effects.ts +10 -17
- package/src/libs/feature/record/src/lib/state/mdview.facade.ts +2 -4
- package/src/libs/feature/record/src/lib/state/mdview.reducer.ts +4 -9
- package/src/libs/feature/record/src/lib/state/mdview.selectors.ts +2 -7
- package/src/libs/feature/router/src/lib/default/state/query-params.utils.ts +1 -1
- package/src/libs/feature/search/src/index.ts +2 -0
- package/src/libs/feature/search/src/lib/filter-dropdown/filter-dropdown.component.html +18 -4
- package/src/libs/feature/search/src/lib/filter-dropdown/filter-dropdown.component.ts +80 -19
- package/src/libs/feature/search/src/lib/geocoding/geocoding.service.ts +105 -0
- package/src/libs/feature/search/src/lib/location-search/location-search.component.html +18 -0
- package/src/libs/feature/search/src/lib/location-search/location-search.component.ts +114 -0
- package/src/libs/feature/search/src/lib/search-filters-summary-item/search-filters-summary-item.component.ts +19 -8
- package/src/libs/feature/search/src/lib/state/reducer.ts +1 -4
- package/src/libs/feature/search/src/lib/utils/service/fields.service.ts +64 -4
- package/src/libs/feature/search/src/lib/utils/service/fields.ts +94 -10
- package/src/libs/ui/dataviz/src/lib/data-table/data-table.component.html +6 -7
- package/src/libs/ui/dataviz/src/lib/data-table/data-table.component.ts +31 -19
- package/src/libs/ui/dataviz/src/lib/data-table/data-table.fixtures.ts +2 -2
- package/src/libs/ui/elements/src/lib/record-feature-catalog/feature-catalog-list/feature-catalog-list.component.html +3 -3
- package/src/libs/ui/elements/src/lib/record-feature-catalog/feature-catalog-list/feature-catalog-list.component.ts +2 -2
- package/src/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.ts +2 -1
- package/src/libs/ui/inputs/src/index.ts +2 -0
- package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.css +0 -4
- package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.html +12 -3
- package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.ts +11 -3
- package/src/libs/ui/inputs/src/lib/date-adapter.providers.ts +30 -0
- package/src/libs/ui/inputs/src/lib/date-picker/date-picker.component.ts +3 -24
- package/src/libs/ui/inputs/src/lib/date-range-dropdown/date-range-dropdown.component.css +37 -3
- package/src/libs/ui/inputs/src/lib/date-range-dropdown/date-range-dropdown.component.html +135 -16
- package/src/libs/ui/inputs/src/lib/date-range-dropdown/date-range-dropdown.component.ts +166 -29
- package/src/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.ts +3 -7
- package/src/libs/ui/inputs/src/lib/drag-and-drop-file-input/drag-and-drop-file-input.component.css +1 -0
- package/src/libs/ui/inputs/src/lib/drag-and-drop-file-input/drag-and-drop-file-input.component.html +20 -7
- package/src/libs/ui/inputs/src/lib/drag-and-drop-file-input/drag-and-drop-file-input.component.ts +46 -5
- package/src/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.component.html +7 -4
- package/src/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.component.ts +12 -9
- package/src/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.model.ts +2 -2
- package/src/libs/ui/inputs/src/lib/search-feature-catalog/search-feature-catalog.component.ts +2 -1
- package/src/libs/ui/inputs/src/lib/spatial-extent-dropdown/spatial-extent-dropdown.component.css +0 -0
- package/src/libs/ui/inputs/src/lib/spatial-extent-dropdown/spatial-extent-dropdown.component.html +117 -0
- package/src/libs/ui/inputs/src/lib/spatial-extent-dropdown/spatial-extent-dropdown.component.ts +244 -0
- package/src/libs/ui/layout/src/lib/block-list/block-list.component.css +1 -0
- package/src/libs/ui/map/src/lib/components/map-container/map-container.component.ts +6 -5
- package/src/libs/util/app-config/src/index.ts +1 -0
- package/src/libs/util/app-config/src/lib/app-config.ts +338 -247
- package/src/libs/util/app-config/src/lib/fixtures.ts +37 -1
- package/src/libs/util/app-config/src/lib/model.ts +42 -1
- package/src/libs/util/app-config/src/lib/parse-utils.ts +8 -4
- package/src/libs/util/data-fetcher/src/lib/data-fetcher.ts +19 -22
- package/src/libs/util/data-fetcher/src/lib/engine/duckdb.ts +185 -0
- package/src/libs/util/data-fetcher/src/lib/engine/results.ts +63 -0
- package/src/libs/util/data-fetcher/src/lib/{sql-utils.ts → engine/sql-utils.ts} +28 -13
- package/src/libs/util/data-fetcher/src/lib/model.ts +2 -1
- package/src/libs/util/data-fetcher/src/lib/readers/base-file.ts +53 -38
- package/src/libs/util/data-fetcher/src/lib/readers/base.ts +11 -0
- package/src/libs/util/data-fetcher/src/lib/readers/csv.ts +9 -47
- package/src/libs/util/data-fetcher/src/lib/readers/excel.ts +27 -27
- package/src/libs/util/data-fetcher/src/lib/readers/geojson.ts +5 -24
- package/src/libs/util/data-fetcher/src/lib/readers/gml.ts +5 -49
- package/src/libs/util/data-fetcher/src/lib/readers/json.ts +5 -23
- package/src/libs/util/data-fetcher/src/lib/readers/wfs.ts +184 -128
- package/src/libs/util/data-fetcher/src/lib/utils.ts +0 -143
- package/src/libs/util/shared/src/index.ts +1 -0
- package/src/libs/util/shared/src/lib/autofocus.directive.ts +26 -0
- package/src/libs/util/shared/src/lib/links/link-utils.ts +19 -10
- package/src/libs/util/shared/src/lib/services/date.service.ts +3 -3
- package/src/libs/util/shared/src/lib/utils/file.ts +15 -0
- package/src/libs/util/shared/src/lib/utils/geojson.ts +45 -10
- package/src/libs/util/shared/src/lib/utils/index.ts +1 -0
- package/tailwind.base.css +5 -0
- package/translations/de.json +30 -5
- package/translations/en.json +29 -4
- package/translations/es.json +27 -2
- package/translations/fr.json +34 -9
- package/translations/it.json +28 -3
- package/translations/nl.json +27 -2
- package/translations/pt.json +27 -2
- package/translations/sk.json +28 -3
- package/src/libs/feature/map/src/lib/geocoding/geocoding.component.html +0 -41
- package/src/libs/feature/map/src/lib/geocoding/geocoding.component.ts +0 -112
- package/src/libs/feature/map/src/lib/geocoding.service.ts +0 -57
- package/src/libs/feature/map/src/lib/style/index.ts +0 -2
- package/src/libs/feature/map/src/lib/style/map-style.fixtures.ts +0 -47
- package/src/libs/feature/map/src/lib/style/map-style.service.ts +0 -108
- package/src/libs/util/data-fetcher/src/lib/readers/base-cache.ts +0 -14
- /package/src/libs/feature/{map/src/lib/geocoding/geocoding.component.css → editor/src/lib/components/record-form/form-field/form-field-record-flags/form-field-record-flag-component.css} +0 -0
package/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as geojson from 'geojson';
|
|
2
|
-
import { Geometry, Feature,
|
|
2
|
+
import { Geometry, Feature, FeatureCollection } from 'geojson';
|
|
3
3
|
import { XmlElement, XmlDocument, XmlComment, XmlProcessingInstruction, XmlDeclaration, XmlDocumentType, XmlCdata, XmlText } from '@rgrove/parse-xml';
|
|
4
4
|
export { XmlDocument, XmlElement } from '@rgrove/parse-xml';
|
|
5
5
|
import * as i0 from '@angular/core';
|
|
6
|
-
import { InjectionToken, Provider, OnInit, AfterViewInit, OnDestroy, OnChanges, ElementRef, EventEmitter, SimpleChanges, TemplateRef, Type, ViewContainerRef,
|
|
6
|
+
import { InjectionToken, Provider, OnInit, AfterViewInit, OnDestroy, OnChanges, ElementRef, EventEmitter, SimpleChanges, TemplateRef, Type, ViewContainerRef, QueryList, Injector, AfterViewChecked, Signal, ModuleWithProviders, EnvironmentProviders } from '@angular/core';
|
|
7
7
|
import * as rxjs from 'rxjs';
|
|
8
8
|
import { Observable, Subject, BehaviorSubject, Subscription, ReplaySubject } from 'rxjs';
|
|
9
9
|
import { Store, NamedNode } from 'rdflib';
|
|
@@ -11,20 +11,20 @@ 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
|
-
import { Style } from 'ol/style.js';
|
|
18
|
-
import { StyleLike } from 'ol/style/Style.js';
|
|
19
17
|
import * as _ngrx_effects from '@ngrx/effects';
|
|
20
|
-
import
|
|
18
|
+
import { GeoadminOptions, GeonamesOptions, GeoplateformeOptions, GeocodingResult } from '@geospatial-sdk/geocoding';
|
|
21
19
|
import { UntypedFormControl, FormControl } from '@angular/forms';
|
|
22
20
|
import { MatAutocompleteTrigger, MatAutocomplete, MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
|
|
23
|
-
import * as
|
|
21
|
+
import * as geonetwork_ui from 'geonetwork-ui';
|
|
22
|
+
import * as _angular_cdk_overlay from '@angular/cdk/overlay';
|
|
23
|
+
import { CdkOverlayOrigin, ConnectedPosition, CdkConnectedOverlay, CdkScrollable } from '@angular/cdk/overlay';
|
|
24
24
|
import { OgcApiEndpoint, WfsEndpoint, MimeType, WfsFeatureTypeFull, WmsLayerFull, WmtsLayer, StacItem, WfsVersion, OgcApiCollectionInfo, OgcApiRecord, GetCollectionItemsOptions, StacItemsDocument } from '@camptocamp/ogc-client';
|
|
25
25
|
import OlMap from 'ol/Map.js';
|
|
26
26
|
import { Extent as Extent$1, MapContext as MapContext$1 } from '@geospatial-sdk/core/dist/model';
|
|
27
|
-
import { MatSort } from '@angular/material/sort';
|
|
27
|
+
import { MatSort, Sort } from '@angular/material/sort';
|
|
28
28
|
import { DataSource } from '@angular/cdk/collections';
|
|
29
29
|
import { MatPaginator } from '@angular/material/paginator';
|
|
30
30
|
import { MatDialog, MatDialogRef } from '@angular/material/dialog';
|
|
@@ -38,8 +38,6 @@ import * as chart_js from 'chart.js';
|
|
|
38
38
|
import { Chart, ChartType, ChartData, ChartOptions } from 'chart.js';
|
|
39
39
|
import Duration from 'duration-relativetimeformat';
|
|
40
40
|
import { MatMenuTrigger } from '@angular/material/menu';
|
|
41
|
-
import * as _angular_cdk_overlay from '@angular/cdk/overlay';
|
|
42
|
-
import { CdkOverlayOrigin, CdkConnectedOverlay, ConnectedPosition, CdkScrollable } from '@angular/cdk/overlay';
|
|
43
41
|
import { CdkScrollable as CdkScrollable$1 } from '@angular/cdk/scrolling';
|
|
44
42
|
import { EmblaCarouselType } from 'embla-carousel';
|
|
45
43
|
import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
@@ -242,6 +240,16 @@ interface AssociatedRecord {
|
|
|
242
240
|
uniqueIdentifier: string;
|
|
243
241
|
associationType: AssociationType;
|
|
244
242
|
}
|
|
243
|
+
/**
|
|
244
|
+
* Nature of the link between a record and another one; the association type is
|
|
245
|
+
* only known for 'sibling' relations, as it is held by the declaring record.
|
|
246
|
+
*/
|
|
247
|
+
type RecordRelation = 'source' | 'sourceOf' | 'sibling' | 'associated';
|
|
248
|
+
interface LinkedRecord {
|
|
249
|
+
record: CatalogRecord;
|
|
250
|
+
relation: RecordRelation;
|
|
251
|
+
associationType?: AssociationType;
|
|
252
|
+
}
|
|
245
253
|
interface DatasetRecord extends BaseRecord {
|
|
246
254
|
kind: 'dataset';
|
|
247
255
|
status: RecordStatus;
|
|
@@ -252,6 +260,7 @@ interface DatasetRecord extends BaseRecord {
|
|
|
252
260
|
spatialExtents: Array<DatasetSpatialExtent>;
|
|
253
261
|
temporalExtents: Array<DatasetTemporalExtent>;
|
|
254
262
|
spatialRepresentation?: SpatialRepresentationType;
|
|
263
|
+
featureTypeDescriptions?: Array<DatasetFeatureType>;
|
|
255
264
|
}
|
|
256
265
|
interface ServiceEndpoint {
|
|
257
266
|
url: URL;
|
|
@@ -278,33 +287,28 @@ interface ReuseRecord extends BaseRecord {
|
|
|
278
287
|
spatialExtents: Array<DatasetSpatialExtent>;
|
|
279
288
|
temporalExtents: Array<DatasetTemporalExtent>;
|
|
280
289
|
}
|
|
290
|
+
interface DatasetFeatureType {
|
|
291
|
+
name: string;
|
|
292
|
+
label?: string;
|
|
293
|
+
description?: string;
|
|
294
|
+
attributes: DatasetFeatureAttribute[];
|
|
295
|
+
}
|
|
281
296
|
type DatasetFeatureCatalog = {
|
|
282
|
-
featureTypes: Array<
|
|
283
|
-
name: string;
|
|
284
|
-
definition: string;
|
|
285
|
-
attributes: DatasetFeatureAttribute[];
|
|
286
|
-
}>;
|
|
297
|
+
featureTypes: Array<DatasetFeatureType>;
|
|
287
298
|
};
|
|
288
299
|
interface DatasetFeatureAttributeValue {
|
|
289
|
-
|
|
290
|
-
definition?: string;
|
|
300
|
+
value: string;
|
|
291
301
|
label?: string;
|
|
302
|
+
description?: string;
|
|
292
303
|
}
|
|
293
304
|
interface DatasetFeatureAttribute {
|
|
294
305
|
name: string;
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
306
|
+
label?: string;
|
|
307
|
+
description?: string;
|
|
308
|
+
type?: string;
|
|
309
|
+
code?: string;
|
|
298
310
|
values?: Array<DatasetFeatureAttributeValue>;
|
|
299
311
|
}
|
|
300
|
-
interface DatasetFeatureType {
|
|
301
|
-
aliases: string;
|
|
302
|
-
code: string;
|
|
303
|
-
isAbstract: string;
|
|
304
|
-
typeName: string;
|
|
305
|
-
definition: string;
|
|
306
|
-
attributeTable: Array<DatasetFeatureAttribute>;
|
|
307
|
-
}
|
|
308
312
|
type ReuseType = 'application' | 'map' | 'other';
|
|
309
313
|
type OnlineResource = DatasetOnlineResource | ServiceOnlineResource;
|
|
310
314
|
type CatalogRecord = DatasetRecord | ReuseRecord | ServiceRecord;
|
|
@@ -325,6 +329,8 @@ interface UserFeedbackViewModel extends UserFeedback {
|
|
|
325
329
|
avatarUrl: string;
|
|
326
330
|
}
|
|
327
331
|
|
|
332
|
+
type RecordFlag = 'IS_REFERENCE_DATASET';
|
|
333
|
+
|
|
328
334
|
declare class MetadataMapperContext {
|
|
329
335
|
readonly location?: any;
|
|
330
336
|
}
|
|
@@ -471,6 +477,26 @@ interface Link {
|
|
|
471
477
|
applicationProfile?: string;
|
|
472
478
|
group?: number;
|
|
473
479
|
}
|
|
480
|
+
interface FeatureTypeAttribute {
|
|
481
|
+
name: string;
|
|
482
|
+
code: string;
|
|
483
|
+
link: string;
|
|
484
|
+
definition: string;
|
|
485
|
+
type: string;
|
|
486
|
+
values?: Array<{
|
|
487
|
+
code?: string;
|
|
488
|
+
label?: string;
|
|
489
|
+
description?: string;
|
|
490
|
+
}>;
|
|
491
|
+
}
|
|
492
|
+
interface FeatureType {
|
|
493
|
+
typeName: string;
|
|
494
|
+
definition: string;
|
|
495
|
+
code: string;
|
|
496
|
+
aliases: string;
|
|
497
|
+
isAbstract: string;
|
|
498
|
+
attributeTable: FeatureTypeAttribute[];
|
|
499
|
+
}
|
|
474
500
|
type MetadataObject = Partial<{
|
|
475
501
|
MD_ConstraintsUseLimitationObject: MultilingualField[];
|
|
476
502
|
MD_LegalConstraintsOtherConstraintsObject: MultilingualField[];
|
|
@@ -501,6 +527,7 @@ type MetadataObject = Partial<{
|
|
|
501
527
|
extentDescriptionObject: MultilingualField[];
|
|
502
528
|
extra: string;
|
|
503
529
|
featureOfRecord: string;
|
|
530
|
+
featureTypes: FeatureType[];
|
|
504
531
|
feedbackCount: string;
|
|
505
532
|
geom: Geometry | Geometry[];
|
|
506
533
|
groupOwner: string;
|
|
@@ -737,6 +764,7 @@ declare class Gn4FieldMapper {
|
|
|
737
764
|
private get getLocalizedIndexKey();
|
|
738
765
|
protected fields: Record<string, EsFieldMapperFn>;
|
|
739
766
|
private genericField;
|
|
767
|
+
private featureTypesField;
|
|
740
768
|
private constraintField;
|
|
741
769
|
getMappingFn(fieldName: string): EsFieldMapperFn | ((output: any) => any);
|
|
742
770
|
getLinkType(url: string, protocol?: string): OnlineResourceType;
|
|
@@ -754,7 +782,8 @@ type FieldFilterByRange = {
|
|
|
754
782
|
start?: Date;
|
|
755
783
|
end?: Date;
|
|
756
784
|
};
|
|
757
|
-
type
|
|
785
|
+
type FieldFilterByBoundingBox = [number, number, number, number];
|
|
786
|
+
type FieldFilter$1 = FieldFilterByExpression | FieldFilterByValues | FieldFilterByRange | FieldFilterByBoundingBox;
|
|
758
787
|
type FieldFilters = Record<FieldName$1, FieldFilter$1>;
|
|
759
788
|
type QueryString = {
|
|
760
789
|
query_string: string;
|
|
@@ -762,11 +791,28 @@ type QueryString = {
|
|
|
762
791
|
type QueryRange = {
|
|
763
792
|
range: Record<string, {
|
|
764
793
|
format: string;
|
|
765
|
-
gte
|
|
766
|
-
lte
|
|
794
|
+
gte?: string;
|
|
795
|
+
lte?: string;
|
|
796
|
+
relation?: string;
|
|
767
797
|
}>;
|
|
768
798
|
};
|
|
769
|
-
type
|
|
799
|
+
type QueryGeoShape = {
|
|
800
|
+
geo_shape: {
|
|
801
|
+
geom: {
|
|
802
|
+
shape: {
|
|
803
|
+
type: string;
|
|
804
|
+
coordinates: number[][];
|
|
805
|
+
};
|
|
806
|
+
relation: string;
|
|
807
|
+
};
|
|
808
|
+
};
|
|
809
|
+
};
|
|
810
|
+
type QueryBool = {
|
|
811
|
+
bool: {
|
|
812
|
+
filter: QueryRange[];
|
|
813
|
+
};
|
|
814
|
+
};
|
|
815
|
+
type FilterQuery = Array<QueryString | QueryRange | QueryGeoShape | QueryBool>;
|
|
770
816
|
|
|
771
817
|
interface TermsAggregationParams {
|
|
772
818
|
type: 'terms';
|
|
@@ -774,6 +820,8 @@ interface TermsAggregationParams {
|
|
|
774
820
|
limit: number;
|
|
775
821
|
sort: AggregationSort;
|
|
776
822
|
filter?: string;
|
|
823
|
+
includeValues?: string[];
|
|
824
|
+
excludeValues?: string[];
|
|
777
825
|
}
|
|
778
826
|
interface HistogramAggregationParams {
|
|
779
827
|
type: 'histogram';
|
|
@@ -1048,11 +1096,10 @@ declare abstract class RecordsRepositoryInterface {
|
|
|
1048
1096
|
abstract search(params: SearchParams): Observable<SearchResults>;
|
|
1049
1097
|
abstract getMatchesCount(filters: FieldFilters): Observable<number>;
|
|
1050
1098
|
abstract getRecord(uniqueIdentifier: string): Observable<CatalogRecord | null>;
|
|
1051
|
-
abstract
|
|
1099
|
+
abstract queryLinkedFeatureCatalog(record: CatalogRecord): Observable<DatasetFeatureCatalog | null>;
|
|
1052
1100
|
abstract aggregate(params: AggregationsParams): Observable<Aggregations>;
|
|
1053
1101
|
abstract getSimilarRecords(similarTo: CatalogRecord): Observable<CatalogRecord[]>;
|
|
1054
|
-
abstract
|
|
1055
|
-
abstract getSourceOf(record: CatalogRecord): Observable<CatalogRecord[]>;
|
|
1102
|
+
abstract getLinkedRecords(record: CatalogRecord): Observable<LinkedRecord[]>;
|
|
1056
1103
|
abstract fuzzySearch(query: string): Observable<SearchResults>;
|
|
1057
1104
|
abstract canDuplicate(record: CatalogRecord): boolean;
|
|
1058
1105
|
abstract canDelete(record: CatalogRecord): Observable<boolean>;
|
|
@@ -1113,6 +1160,15 @@ declare abstract class RecordsRepositoryInterface {
|
|
|
1113
1160
|
}>;
|
|
1114
1161
|
abstract getRecordPublicationStatus(uuid: string): Observable<boolean>;
|
|
1115
1162
|
abstract getApplicationLanguages(): Observable<LanguageCode[]>;
|
|
1163
|
+
/**
|
|
1164
|
+
* Sets a given flag on a record. Flags are not part of the metadata document, which is why they are
|
|
1165
|
+
* not part of the Record model.
|
|
1166
|
+
*/
|
|
1167
|
+
abstract setRecordFlag(uniqueIdentifier: string, flagName: RecordFlag, value: boolean): Observable<void>;
|
|
1168
|
+
/**
|
|
1169
|
+
* Checks whether a given flag is enabled for a record.
|
|
1170
|
+
*/
|
|
1171
|
+
abstract getRecordFlag(uniqueIdentifier: string, flagName: RecordFlag): Observable<boolean>;
|
|
1116
1172
|
}
|
|
1117
1173
|
|
|
1118
1174
|
type RecordAsXml = string;
|
|
@@ -1127,6 +1183,7 @@ declare class Gn4Repository implements RecordsRepositoryInterface {
|
|
|
1127
1183
|
private platformService;
|
|
1128
1184
|
private gn4LanguagesApi;
|
|
1129
1185
|
private settingsService;
|
|
1186
|
+
private gn4TagsApi;
|
|
1130
1187
|
private disableDraft;
|
|
1131
1188
|
private defaultConverter;
|
|
1132
1189
|
_draftsChanged: Subject<void>;
|
|
@@ -1135,11 +1192,9 @@ declare class Gn4Repository implements RecordsRepositoryInterface {
|
|
|
1135
1192
|
getMatchesCount(filters: FieldFilters): Observable<number>;
|
|
1136
1193
|
getRecord(uniqueIdentifier: string): Observable<CatalogRecord | null>;
|
|
1137
1194
|
getMultipleRecords(uniqueIdentifiers: string[]): Observable<CatalogRecord[] | null>;
|
|
1138
|
-
|
|
1139
|
-
getFeatureCatalog(record: CatalogRecord, visited?: Set<string>): Observable<DatasetFeatureCatalog | null>;
|
|
1195
|
+
queryLinkedFeatureCatalog(record: CatalogRecord, visited?: Set<string>): Observable<DatasetFeatureCatalog | null>;
|
|
1140
1196
|
getSimilarRecords(similarTo: CatalogRecord): Observable<CatalogRecord[]>;
|
|
1141
|
-
|
|
1142
|
-
getSourceOf(record: CatalogRecord): Observable<CatalogRecord[]>;
|
|
1197
|
+
getLinkedRecords(record: CatalogRecord): Observable<LinkedRecord[]>;
|
|
1143
1198
|
aggregate(params: AggregationsParams): Observable<Aggregations>;
|
|
1144
1199
|
fuzzySearch(query: string): Observable<SearchResults>;
|
|
1145
1200
|
getRecordPublicationStatus(uniqueIdentifier: string): Observable<boolean>;
|
|
@@ -1171,6 +1226,10 @@ declare class Gn4Repository implements RecordsRepositoryInterface {
|
|
|
1171
1226
|
private saveRecordToLocalStorage;
|
|
1172
1227
|
private getRecordFromLocalStorage;
|
|
1173
1228
|
private removeRecordFromLocalStorage;
|
|
1229
|
+
categoriesIdentifierForFlags: Observable<Record<RecordFlag, number>>;
|
|
1230
|
+
private getCategoryIdForFlag;
|
|
1231
|
+
setRecordFlag(uniqueIdentifier: string, flagName: RecordFlag, value: boolean): Observable<void>;
|
|
1232
|
+
getRecordFlag(uniqueIdentifier: string, flagName: RecordFlag): Observable<boolean>;
|
|
1174
1233
|
static ɵfac: i0.ɵɵFactoryDeclaration<Gn4Repository, never>;
|
|
1175
1234
|
static ɵprov: i0.ɵɵInjectableDeclaration<Gn4Repository>;
|
|
1176
1235
|
}
|
|
@@ -1705,16 +1764,20 @@ declare class ElasticsearchService {
|
|
|
1705
1764
|
private translateService;
|
|
1706
1765
|
private injector;
|
|
1707
1766
|
private runtimeFields;
|
|
1767
|
+
private fieldAliases;
|
|
1708
1768
|
private get metadataLang();
|
|
1709
1769
|
getSearchRequestBody(aggregations?: any, size?: number, from?: number, sortBy?: SortByField, requestFields?: RequestFields, searchFilters?: SearchFilters, configFilters?: SearchFilters, uuids?: string[], geometry?: Geometry): EsSearchParams;
|
|
1710
1770
|
private processRuntimeFields;
|
|
1711
|
-
registerRuntimeField(fieldName: string, expression: string): void;
|
|
1771
|
+
registerRuntimeField(fieldName: string, expression: string, type?: 'keyword' | 'date'): void;
|
|
1772
|
+
registerFieldAlias(fieldIdentifier: string, esFieldName: string): void;
|
|
1712
1773
|
getMetadataByIdsPayload(uuids: string[]): EsSearchParams;
|
|
1713
1774
|
getRelatedRecordPayload(record: CatalogRecord, size?: number, _source?: string[]): EsSearchParams;
|
|
1714
1775
|
private buildPayloadSort;
|
|
1715
1776
|
private injectLangInQueryStringFields;
|
|
1716
1777
|
private getQueryLang;
|
|
1717
1778
|
private isCurrentSearchLang;
|
|
1779
|
+
private findSpatialFilterExtent;
|
|
1780
|
+
private buildDateRangeQuery;
|
|
1718
1781
|
private filtersToQuery;
|
|
1719
1782
|
private mustNotFilters;
|
|
1720
1783
|
private buildPayloadQuery;
|
|
@@ -1815,6 +1878,7 @@ declare abstract class PlatformServiceInterface {
|
|
|
1815
1878
|
abstract supportsAuthentication(): boolean;
|
|
1816
1879
|
abstract getMe(): Observable<UserModel>;
|
|
1817
1880
|
abstract isAnonymous(): Observable<boolean>;
|
|
1881
|
+
abstract isAdministrator(): Observable<boolean>;
|
|
1818
1882
|
abstract getUsers(): Observable<UserModel[]>;
|
|
1819
1883
|
abstract getUserPermissionsByGroup(): Observable<GroupModel[]>;
|
|
1820
1884
|
abstract getUsersByOrganization(organisation: Organization): Observable<UserModel[]>;
|
|
@@ -1991,6 +2055,7 @@ declare class Gn4PlatformService implements PlatformServiceInterface {
|
|
|
1991
2055
|
private readonly gnParseVersion;
|
|
1992
2056
|
private keyTranslations$;
|
|
1993
2057
|
private me$;
|
|
2058
|
+
private isAdmin$;
|
|
1994
2059
|
/**
|
|
1995
2060
|
* A map of already loaded thesauri (groups of keywords); the key is a URI
|
|
1996
2061
|
* @private
|
|
@@ -2004,6 +2069,7 @@ declare class Gn4PlatformService implements PlatformServiceInterface {
|
|
|
2004
2069
|
getApiVersion(): Observable<string>;
|
|
2005
2070
|
getMe(): Observable<UserModel>;
|
|
2006
2071
|
isAnonymous(): Observable<boolean>;
|
|
2072
|
+
isAdministrator(): Observable<boolean>;
|
|
2007
2073
|
getOrganizations(): Observable<Organization[]>;
|
|
2008
2074
|
getUsersByOrganization(organisation: Organization): Observable<UserModel[]>;
|
|
2009
2075
|
getUsers(): Observable<UserModel[]>;
|
|
@@ -2138,7 +2204,7 @@ declare class DateService {
|
|
|
2138
2204
|
dateLocales: Promise<Record<geonetwork_ui.LanguageCode2, Locale>>;
|
|
2139
2205
|
private getDateObject;
|
|
2140
2206
|
private getLocaleAndDate;
|
|
2141
|
-
|
|
2207
|
+
getDateFnsLocale(): Promise<Locale>;
|
|
2142
2208
|
formatDate(date: Date | string, options?: Intl.DateTimeFormatOptions): string;
|
|
2143
2209
|
formatDateTime(date: Date | string, options?: Intl.DateTimeFormatOptions): string;
|
|
2144
2210
|
formatRelativeDateTime(date: Date | string): Promise<string>;
|
|
@@ -2156,6 +2222,9 @@ declare function bytesToMegabytes(bytes: number): number;
|
|
|
2156
2222
|
*/
|
|
2157
2223
|
declare function propagateToDocumentOnly(event: Event): void;
|
|
2158
2224
|
|
|
2225
|
+
declare function isFileExtensionValid(fileName: string, acceptedExtensions: string[]): boolean;
|
|
2226
|
+
declare function readFileAsText(file: File): Promise<string>;
|
|
2227
|
+
|
|
2159
2228
|
declare function formatUserInfo(userInfo: string | unknown, displayCount?: boolean): string;
|
|
2160
2229
|
|
|
2161
2230
|
type FuzzyFilter = (input: string) => boolean;
|
|
@@ -2171,11 +2240,17 @@ declare function createFuzzyFilter(pattern: string): FuzzyFilter;
|
|
|
2171
2240
|
*/
|
|
2172
2241
|
declare function getGeometryFromGeoJSON(data: FeatureCollection | Feature | Geometry): Geometry | null;
|
|
2173
2242
|
type BoundingBox = [number, number, number, number];
|
|
2243
|
+
declare function isBoundingBox(value: unknown): value is BoundingBox;
|
|
2244
|
+
/**
|
|
2245
|
+
* Checks that a bounding box's coordinates stay within the valid
|
|
2246
|
+
* longitude (-180/180) and latitude (-90/90) ranges.
|
|
2247
|
+
*/
|
|
2248
|
+
declare function isBoundingBoxWithinWorldExtent(bbox: BoundingBox): boolean;
|
|
2174
2249
|
declare function getGeometryBoundingBox(geometry: Geometry): BoundingBox;
|
|
2175
2250
|
/**
|
|
2176
|
-
* Builds the
|
|
2251
|
+
* Builds the GeoJSON Geometry matching the given bounding box.
|
|
2177
2252
|
*/
|
|
2178
|
-
declare function
|
|
2253
|
+
declare function bboxToGeometry(bbox: BoundingBox): Geometry;
|
|
2179
2254
|
/**
|
|
2180
2255
|
* Returns the geometry carried by a spatial extent, falling back to the polygon
|
|
2181
2256
|
* derived from its bounding box. Returns null when the extent has neither.
|
|
@@ -2376,14 +2451,7 @@ declare function checkFileFormat(link: DatasetOnlineResource | ServiceOnlineReso
|
|
|
2376
2451
|
declare function getBadgeColor(linkFormat: FileFormat): string;
|
|
2377
2452
|
declare function getLinkId(link: DatasetOnlineResource): string;
|
|
2378
2453
|
declare function getLinkLabel(link: DatasetOnlineResource | ServiceOnlineResource): string;
|
|
2379
|
-
declare function getLayers(url: string, serviceProtocol: ServiceProtocol): Promise<
|
|
2380
|
-
name: string;
|
|
2381
|
-
hasRecords?: boolean;
|
|
2382
|
-
hasFeatures?: boolean;
|
|
2383
|
-
hasVectorTiles?: boolean;
|
|
2384
|
-
hasMapTiles?: boolean;
|
|
2385
|
-
hasDataQueries?: boolean;
|
|
2386
|
-
}[] | _camptocamp_ogc_client.WfsFeatureTypeFull[] | _camptocamp_ogc_client.WmsLayerFull[] | _camptocamp_ogc_client.WmtsLayer[]>;
|
|
2454
|
+
declare function getLayers(url: string, serviceProtocol: ServiceProtocol, deep?: boolean): Promise<any[]>;
|
|
2387
2455
|
declare function wmsLayerFlatten(layerFull: any): any[];
|
|
2388
2456
|
declare function getMimeTypeForFormat(format: FileFormat): string | null;
|
|
2389
2457
|
|
|
@@ -2403,6 +2471,15 @@ declare class LinkClassifierService {
|
|
|
2403
2471
|
static ɵprov: i0.ɵɵInjectableDeclaration<LinkClassifierService>;
|
|
2404
2472
|
}
|
|
2405
2473
|
|
|
2474
|
+
declare class AutofocusDirective {
|
|
2475
|
+
private el;
|
|
2476
|
+
private injector;
|
|
2477
|
+
set autofocus(active: boolean);
|
|
2478
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AutofocusDirective, never>;
|
|
2479
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AutofocusDirective, "[gnUiAutofocus]", never, { "autofocus": { "alias": "gnUiAutofocus"; "required": false; }; }, {}, never, never, true, never>;
|
|
2480
|
+
static ngAcceptInputType_autofocus: unknown;
|
|
2481
|
+
}
|
|
2482
|
+
|
|
2406
2483
|
declare class ImageFallbackDirective {
|
|
2407
2484
|
private el;
|
|
2408
2485
|
fallbackUrl: string;
|
|
@@ -2458,30 +2535,6 @@ declare class MapUtilsService {
|
|
|
2458
2535
|
static ɵprov: i0.ɵɵInjectableDeclaration<MapUtilsService>;
|
|
2459
2536
|
}
|
|
2460
2537
|
|
|
2461
|
-
interface CreateStyleOptions {
|
|
2462
|
-
color: string;
|
|
2463
|
-
isFocused?: boolean;
|
|
2464
|
-
}
|
|
2465
|
-
type StyleByGeometryType = {
|
|
2466
|
-
line: Style | Style[];
|
|
2467
|
-
polygon: Style | Style[];
|
|
2468
|
-
point: Style | Style[];
|
|
2469
|
-
};
|
|
2470
|
-
declare class MapStyleService {
|
|
2471
|
-
styles: {
|
|
2472
|
-
default: StyleLike;
|
|
2473
|
-
defaultHL: StyleLike;
|
|
2474
|
-
};
|
|
2475
|
-
createGeometryStyles(options: CreateStyleOptions): StyleByGeometryType;
|
|
2476
|
-
createStyleFunction(styleByGeometryType: StyleByGeometryType): StyleLike;
|
|
2477
|
-
private computeTransparentFillColor;
|
|
2478
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MapStyleService, never>;
|
|
2479
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<MapStyleService>;
|
|
2480
|
-
}
|
|
2481
|
-
|
|
2482
|
-
declare const defaultMapStyleFixture: () => Style;
|
|
2483
|
-
declare const defaultMapStyleHlFixture: () => Style;
|
|
2484
|
-
|
|
2485
2538
|
declare class LayersPanelComponent {
|
|
2486
2539
|
private mapFacade;
|
|
2487
2540
|
layers$: rxjs.Observable<MapContextLayer[]>;
|
|
@@ -2727,6 +2780,13 @@ declare class AutocompleteComponent implements OnInit, AfterViewInit, OnDestroy,
|
|
|
2727
2780
|
triggerRef: MatAutocompleteTrigger;
|
|
2728
2781
|
autocomplete: MatAutocomplete;
|
|
2729
2782
|
inputRef: ElementRef<HTMLInputElement>;
|
|
2783
|
+
/**
|
|
2784
|
+
* Custom template to render each suggestion. Takes precedence over
|
|
2785
|
+
* `displayWithFn` when set.
|
|
2786
|
+
*/
|
|
2787
|
+
displayWithTemplate?: TemplateRef<{
|
|
2788
|
+
$implicit: AutocompleteItem;
|
|
2789
|
+
}>;
|
|
2730
2790
|
searching: boolean;
|
|
2731
2791
|
control: UntypedFormControl;
|
|
2732
2792
|
cancelEnter: boolean;
|
|
@@ -2772,7 +2832,7 @@ declare class AutocompleteComponent implements OnInit, AfterViewInit, OnDestroy,
|
|
|
2772
2832
|
handleSelection(event: MatAutocompleteSelectedEvent): void;
|
|
2773
2833
|
handleInput(event: InputEvent): void;
|
|
2774
2834
|
static ɵfac: i0.ɵɵFactoryDeclaration<AutocompleteComponent, never>;
|
|
2775
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AutocompleteComponent, "gn-ui-autocomplete", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "enterButton": { "alias": "enterButton"; "required": false; }; "action": { "alias": "action"; "required": false; }; "value": { "alias": "value"; "required": false; }; "clearOnSelection": { "alias": "clearOnSelection"; "required": false; }; "preventCompleteOnSelection": { "alias": "preventCompleteOnSelection"; "required": false; }; "autoFocus": { "alias": "autoFocus"; "required": false; }; "minCharacterCount": { "alias": "minCharacterCount"; "required": false; }; "allowSubmit": { "alias": "allowSubmit"; "required": false; }; "forceTrackPosition": { "alias": "forceTrackPosition"; "required": false; }; "displayWithFn": { "alias": "displayWithFn"; "required": false; }; }, { "itemSelected": "itemSelected"; "inputSubmitted": "inputSubmitted"; "inputCleared": "inputCleared"; "isSearchActive": "isSearchActive"; }, never, never, true, never>;
|
|
2835
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AutocompleteComponent, "gn-ui-autocomplete", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "enterButton": { "alias": "enterButton"; "required": false; }; "action": { "alias": "action"; "required": false; }; "value": { "alias": "value"; "required": false; }; "clearOnSelection": { "alias": "clearOnSelection"; "required": false; }; "preventCompleteOnSelection": { "alias": "preventCompleteOnSelection"; "required": false; }; "autoFocus": { "alias": "autoFocus"; "required": false; }; "minCharacterCount": { "alias": "minCharacterCount"; "required": false; }; "allowSubmit": { "alias": "allowSubmit"; "required": false; }; "forceTrackPosition": { "alias": "forceTrackPosition"; "required": false; }; "displayWithTemplate": { "alias": "displayWithTemplate"; "required": false; }; "displayWithFn": { "alias": "displayWithFn"; "required": false; }; }, { "itemSelected": "itemSelected"; "inputSubmitted": "inputSubmitted"; "inputCleared": "inputCleared"; "isSearchActive": "isSearchActive"; }, never, never, true, never>;
|
|
2776
2836
|
}
|
|
2777
2837
|
|
|
2778
2838
|
declare class BadgeComponent {
|
|
@@ -2830,30 +2890,47 @@ declare class CopyTextButtonComponent {
|
|
|
2830
2890
|
static ɵcmp: i0.ɵɵComponentDeclaration<CopyTextButtonComponent, "gn-ui-copy-text-button", never, { "text": { "alias": "text"; "required": false; }; "tooltipText": { "alias": "tooltipText"; "required": false; }; "displayText": { "alias": "displayText"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; }, {}, never, never, true, never>;
|
|
2831
2891
|
}
|
|
2832
2892
|
|
|
2893
|
+
declare function provideLocalizedDateAdapter(): Provider[];
|
|
2894
|
+
|
|
2833
2895
|
declare class DatePickerComponent {
|
|
2834
|
-
private dateAdapter;
|
|
2835
|
-
private translate;
|
|
2836
2896
|
date: Date;
|
|
2837
2897
|
dateChange: EventEmitter<Date>;
|
|
2838
|
-
constructor();
|
|
2839
2898
|
static ɵfac: i0.ɵɵFactoryDeclaration<DatePickerComponent, never>;
|
|
2840
2899
|
static ɵcmp: i0.ɵɵComponentDeclaration<DatePickerComponent, "gn-ui-date-picker", never, { "date": { "alias": "date"; "required": false; }; }, { "dateChange": "dateChange"; }, never, never, true, never>;
|
|
2841
2900
|
}
|
|
2842
2901
|
|
|
2843
|
-
|
|
2844
|
-
|
|
2902
|
+
type DateRangeBound = 'start' | 'end';
|
|
2903
|
+
declare class DateRangeDropdownComponent {
|
|
2904
|
+
private scrollStrategies;
|
|
2905
|
+
private dateAdapter;
|
|
2906
|
+
private dateFormats;
|
|
2845
2907
|
private cdr;
|
|
2846
2908
|
title: string;
|
|
2847
|
-
|
|
2848
|
-
|
|
2849
|
-
|
|
2850
|
-
|
|
2851
|
-
|
|
2852
|
-
|
|
2853
|
-
|
|
2854
|
-
|
|
2909
|
+
dateRange: FieldFilterByRange;
|
|
2910
|
+
dateRangeChange: EventEmitter<FieldFilterByRange>;
|
|
2911
|
+
overlayOrigin: CdkOverlayOrigin;
|
|
2912
|
+
overlayPositions: ConnectedPosition[];
|
|
2913
|
+
scrollStrategy: _angular_cdk_overlay.RepositionScrollStrategy;
|
|
2914
|
+
overlayOpen: boolean;
|
|
2915
|
+
expandedBound: DateRangeBound | null;
|
|
2916
|
+
invalidBounds: Record<DateRangeBound, boolean>;
|
|
2917
|
+
constructor();
|
|
2918
|
+
get startDate(): Date;
|
|
2919
|
+
get endDate(): Date;
|
|
2920
|
+
get selectedDatesCount(): number;
|
|
2921
|
+
openOverlay(): void;
|
|
2922
|
+
closeOverlay(): void;
|
|
2923
|
+
toggleBound(bound: DateRangeBound): void;
|
|
2924
|
+
formatDate(date: Date): string;
|
|
2925
|
+
onDateInput(bound: DateRangeBound, event: Event): void;
|
|
2926
|
+
normalizeDateInput(bound: DateRangeBound, event: Event): void;
|
|
2927
|
+
private isAcceptable;
|
|
2928
|
+
setStartDate(date: Date): void;
|
|
2929
|
+
setEndDate(date: Date): void;
|
|
2930
|
+
clearDates(event: Event): void;
|
|
2931
|
+
private applyDateRange;
|
|
2855
2932
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateRangeDropdownComponent, never>;
|
|
2856
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DateRangeDropdownComponent, "gn-ui-date-range-dropdown", never, { "title": { "alias": "title"; "required": false; }; "
|
|
2933
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DateRangeDropdownComponent, "gn-ui-date-range-dropdown", never, { "title": { "alias": "title"; "required": false; }; "dateRange": { "alias": "dateRange"; "required": false; }; }, { "dateRangeChange": "dateRangeChange"; }, never, never, true, never>;
|
|
2857
2934
|
}
|
|
2858
2935
|
|
|
2859
2936
|
declare class DateRangePickerComponent {
|
|
@@ -2866,31 +2943,43 @@ declare class DateRangePickerComponent {
|
|
|
2866
2943
|
}
|
|
2867
2944
|
|
|
2868
2945
|
declare const placeholder = "dropFile";
|
|
2946
|
+
type DragAndDropFileInputError = 'invalid-extension' | 'file-too-large';
|
|
2869
2947
|
declare class DragAndDropFileInputComponent {
|
|
2870
2948
|
placeholder: string;
|
|
2871
2949
|
accept: string;
|
|
2872
|
-
|
|
2950
|
+
maxFileSizeMb: number | null;
|
|
2951
|
+
icon: string | null;
|
|
2952
|
+
dropzoneBackgroundColor: string | null;
|
|
2953
|
+
textClass: string;
|
|
2954
|
+
extraClass: string;
|
|
2955
|
+
showFileName: boolean;
|
|
2956
|
+
fileChange: EventEmitter<File>;
|
|
2957
|
+
errorChange: EventEmitter<DragAndDropFileInputError>;
|
|
2873
2958
|
selectedFile: File;
|
|
2959
|
+
private dropzone;
|
|
2874
2960
|
get fileName(): string | null;
|
|
2961
|
+
get maxFileSizeBytes(): number | null;
|
|
2875
2962
|
selectFile(event: any): void;
|
|
2963
|
+
openFileSelector(): void;
|
|
2964
|
+
clear(): void;
|
|
2876
2965
|
static ɵfac: i0.ɵɵFactoryDeclaration<DragAndDropFileInputComponent, never>;
|
|
2877
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DragAndDropFileInputComponent, "gn-ui-drag-and-drop-file-input", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "accept": { "alias": "accept"; "required": false; }; }, { "fileChange": "fileChange"; }, never, never, true, never>;
|
|
2966
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DragAndDropFileInputComponent, "gn-ui-drag-and-drop-file-input", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "accept": { "alias": "accept"; "required": false; }; "maxFileSizeMb": { "alias": "maxFileSizeMb"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "dropzoneBackgroundColor": { "alias": "dropzoneBackgroundColor"; "required": false; }; "textClass": { "alias": "textClass"; "required": false; }; "extraClass": { "alias": "extraClass"; "required": false; }; "showFileName": { "alias": "showFileName"; "required": false; }; }, { "fileChange": "fileChange"; "errorChange": "errorChange"; }, never, never, true, never>;
|
|
2878
2967
|
}
|
|
2879
2968
|
|
|
2880
|
-
interface Choice$1 {
|
|
2881
|
-
value:
|
|
2969
|
+
interface Choice$1<T = unknown> {
|
|
2970
|
+
value: T;
|
|
2882
2971
|
label: string;
|
|
2883
2972
|
}
|
|
2884
2973
|
|
|
2885
|
-
declare class DropdownMultiselectComponent {
|
|
2974
|
+
declare class DropdownMultiselectComponent<T = unknown> {
|
|
2886
2975
|
private scrollStrategies;
|
|
2887
2976
|
title: string;
|
|
2888
|
-
choices: Choice$1[];
|
|
2889
|
-
selected:
|
|
2977
|
+
choices: Choice$1<T>[];
|
|
2978
|
+
selected: T[];
|
|
2890
2979
|
allowSearch: boolean;
|
|
2891
2980
|
maxRows: number;
|
|
2892
2981
|
searchInputValue: string;
|
|
2893
|
-
selectValues: EventEmitter<
|
|
2982
|
+
selectValues: EventEmitter<T[]>;
|
|
2894
2983
|
overlayOrigin: CdkOverlayOrigin;
|
|
2895
2984
|
overlay: CdkConnectedOverlay;
|
|
2896
2985
|
overlayContainer: ElementRef;
|
|
@@ -2903,8 +2992,8 @@ declare class DropdownMultiselectComponent {
|
|
|
2903
2992
|
overlayMaxHeight: string;
|
|
2904
2993
|
id: string;
|
|
2905
2994
|
get hasSelectedChoices(): boolean;
|
|
2906
|
-
get selectedChoices(): Choice$1[];
|
|
2907
|
-
get filteredChoicesByText(): Choice$1[];
|
|
2995
|
+
get selectedChoices(): Choice$1<T>[];
|
|
2996
|
+
get filteredChoicesByText(): Choice$1<T>[];
|
|
2908
2997
|
get focusedIndex(): number | -1;
|
|
2909
2998
|
private setFocus;
|
|
2910
2999
|
openOverlay(): Promise<[void, any]>;
|
|
@@ -2914,13 +3003,13 @@ declare class DropdownMultiselectComponent {
|
|
|
2914
3003
|
focusFirstItem(): void;
|
|
2915
3004
|
focusLastItem(): void;
|
|
2916
3005
|
shiftItemFocus(shift: number): void;
|
|
2917
|
-
isSelected(choice: Choice$1): boolean;
|
|
2918
|
-
select(choice: Choice$1
|
|
2919
|
-
toggle(choice: Choice$1): void;
|
|
3006
|
+
isSelected(choice: Choice$1<T>): boolean;
|
|
3007
|
+
select(choice: Choice$1<T>, selected: boolean): void;
|
|
3008
|
+
toggle(choice: Choice$1<T>): void;
|
|
2920
3009
|
clearSelection(event: Event): void;
|
|
2921
3010
|
clearSearchInputValue(event: Event): void;
|
|
2922
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownMultiselectComponent
|
|
2923
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DropdownMultiselectComponent
|
|
3011
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownMultiselectComponent<any>, never>;
|
|
3012
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DropdownMultiselectComponent<any>, "gn-ui-dropdown-multiselect", never, { "title": { "alias": "title"; "required": false; }; "choices": { "alias": "choices"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "allowSearch": { "alias": "allowSearch"; "required": false; }; "maxRows": { "alias": "maxRows"; "required": false; }; "searchInputValue": { "alias": "searchInputValue"; "required": false; }; }, { "selectValues": "selectValues"; }, never, never, true, never>;
|
|
2924
3013
|
}
|
|
2925
3014
|
|
|
2926
3015
|
interface DropdownChoice {
|
|
@@ -3159,13 +3248,55 @@ declare class DateRangeInputsComponent {
|
|
|
3159
3248
|
static ɵcmp: i0.ɵɵComponentDeclaration<DateRangeInputsComponent, "gn-ui-date-range-inputs", never, { "temporalExtent": { "alias": "temporalExtent"; "required": false; }; }, { "temporalExtentChange": "temporalExtentChange"; }, never, never, true, never>;
|
|
3160
3249
|
}
|
|
3161
3250
|
|
|
3251
|
+
interface SpatialExtentDropdownError {
|
|
3252
|
+
key: string;
|
|
3253
|
+
params?: Record<string, string | number>;
|
|
3254
|
+
}
|
|
3255
|
+
declare class SpatialExtentDropdownComponent {
|
|
3256
|
+
private cd;
|
|
3257
|
+
private scrollStrategies;
|
|
3258
|
+
title: string;
|
|
3259
|
+
maxFileSizeMb: number | null;
|
|
3260
|
+
set initialBbox(value: BoundingBox | null);
|
|
3261
|
+
bboxChange: EventEmitter<BoundingBox>;
|
|
3262
|
+
errorChange: EventEmitter<SpatialExtentDropdownError>;
|
|
3263
|
+
bbox: BoundingBox | null;
|
|
3264
|
+
fileName: string;
|
|
3265
|
+
locationName: string;
|
|
3266
|
+
overlayOrigin: CdkOverlayOrigin;
|
|
3267
|
+
overlay: CdkConnectedOverlay;
|
|
3268
|
+
fileInput: DragAndDropFileInputComponent;
|
|
3269
|
+
overlayPositions: ConnectedPosition[];
|
|
3270
|
+
scrollStrategy: _angular_cdk_overlay.RepositionScrollStrategy;
|
|
3271
|
+
overlayOpen: boolean;
|
|
3272
|
+
overlayMinWidth: string;
|
|
3273
|
+
errorKey: string | null;
|
|
3274
|
+
get hasSelection(): boolean;
|
|
3275
|
+
get selectionLabelKey(): "search.filters.spatialExtent.bboxFromFile" | "search.filters.spatialExtent.bboxFromLocation" | "search.filters.spatialExtent.bboxInitial";
|
|
3276
|
+
get selectionDeleteLabelKey(): "search.filters.spatialExtent.bboxFromFileDelete" | "search.filters.spatialExtent.bboxFromLocationDelete" | "search.filters.spatialExtent.bboxInitialDelete";
|
|
3277
|
+
get selectionLabelParams(): {
|
|
3278
|
+
fileName: string;
|
|
3279
|
+
locationName: string;
|
|
3280
|
+
};
|
|
3281
|
+
openOverlay(): void;
|
|
3282
|
+
closeOverlay(): void;
|
|
3283
|
+
toggleOverlay(): void;
|
|
3284
|
+
handleFileSelected(file: File): Promise<void>;
|
|
3285
|
+
setLocationBbox(bbox: BoundingBox, name: string): void;
|
|
3286
|
+
handleFileError(error: DragAndDropFileInputError): void;
|
|
3287
|
+
private setError;
|
|
3288
|
+
removeSelection(event: Event): void;
|
|
3289
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpatialExtentDropdownComponent, never>;
|
|
3290
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SpatialExtentDropdownComponent, "gn-ui-spatial-extent-dropdown", never, { "title": { "alias": "title"; "required": false; }; "maxFileSizeMb": { "alias": "maxFileSizeMb"; "required": false; }; "initialBbox": { "alias": "initialBbox"; "required": false; }; }, { "bboxChange": "bboxChange"; "errorChange": "errorChange"; }, never, ["*"], true, never>;
|
|
3291
|
+
}
|
|
3292
|
+
|
|
3162
3293
|
declare class ResultsHitsSearchKindComponent implements OnChanges {
|
|
3163
3294
|
selected: string[];
|
|
3164
3295
|
choices: Choice$1[];
|
|
3165
3296
|
selectionChanged: EventEmitter<string[]>;
|
|
3166
3297
|
availableChoices: Choice$1[];
|
|
3167
3298
|
ngOnChanges(changes: SimpleChanges): void;
|
|
3168
|
-
buildFilterChoices(availableValues: Choice$1[]): Choice$1[];
|
|
3299
|
+
buildFilterChoices(availableValues: Choice$1[]): Choice$1<unknown>[];
|
|
3169
3300
|
onSelectedValues(values: string[]): void;
|
|
3170
3301
|
isSelectedChoice(choiceValue: string): boolean;
|
|
3171
3302
|
isAllChoice(choiceValue: string): boolean;
|
|
@@ -3275,26 +3406,6 @@ declare class AddLayerRecordPreviewComponent extends RecordPreviewComponent {
|
|
|
3275
3406
|
static ɵcmp: i0.ɵɵComponentDeclaration<AddLayerRecordPreviewComponent, "gn-ui-add-layer-record-preview", never, {}, {}, never, never, true, never>;
|
|
3276
3407
|
}
|
|
3277
3408
|
|
|
3278
|
-
declare class GeocodingComponent implements OnDestroy {
|
|
3279
|
-
private mapFacade;
|
|
3280
|
-
private geocodingService;
|
|
3281
|
-
searchText: string;
|
|
3282
|
-
results: any[];
|
|
3283
|
-
searchTextChanged: Subject<string>;
|
|
3284
|
-
destroy$: Subject<void>;
|
|
3285
|
-
errorMessage: string | null;
|
|
3286
|
-
constructor();
|
|
3287
|
-
ngOnDestroy(): void;
|
|
3288
|
-
onSearchChange(searchText: string): void;
|
|
3289
|
-
clearSearch(): void;
|
|
3290
|
-
zoomToLocation(result: any): Promise<void>;
|
|
3291
|
-
zoomToPoint(pointCoords: [number, number]): Promise<void>;
|
|
3292
|
-
zoomToPolygon(polygonCoords: [[number, number][]]): Promise<void>;
|
|
3293
|
-
onEnterPress(): void;
|
|
3294
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GeocodingComponent, never>;
|
|
3295
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GeocodingComponent, "gn-ui-geocoding", never, {}, {}, never, never, true, never>;
|
|
3296
|
-
}
|
|
3297
|
-
|
|
3298
3409
|
interface NotificationContent {
|
|
3299
3410
|
type: 'info' | 'warning' | 'error' | 'success';
|
|
3300
3411
|
title: string;
|
|
@@ -3307,7 +3418,7 @@ type NotificationWithIdentity = NotificationContent & {
|
|
|
3307
3418
|
};
|
|
3308
3419
|
declare class NotificationsService {
|
|
3309
3420
|
notifications$: BehaviorSubject<NotificationWithIdentity[]>;
|
|
3310
|
-
showNotification(content: NotificationContent, timeoutMs?: number, error?: Error):
|
|
3421
|
+
showNotification(content: NotificationContent, timeoutMs?: number, error?: Error): number;
|
|
3311
3422
|
removeNotificationById(id: number): void;
|
|
3312
3423
|
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationsService, never>;
|
|
3313
3424
|
static ɵprov: i0.ɵɵInjectableDeclaration<NotificationsService>;
|
|
@@ -3328,6 +3439,48 @@ declare class FeatureSearchModule {
|
|
|
3328
3439
|
static ɵinj: i0.ɵɵInjectorDeclaration<FeatureSearchModule>;
|
|
3329
3440
|
}
|
|
3330
3441
|
|
|
3442
|
+
type GeoadminGeocodingProvider = ['geoadmin', GeoadminOptions];
|
|
3443
|
+
type GeonamesGeocodingProvider = ['geonames', GeonamesOptions];
|
|
3444
|
+
type GeoplateformeGeocodingProvider = ['geoplateforme', GeoplateformeOptions];
|
|
3445
|
+
type GeocodingProvider = GeoadminGeocodingProvider | GeonamesGeocodingProvider | GeoplateformeGeocodingProvider;
|
|
3446
|
+
declare const DEFAULT_GEOCODING_PROVIDER: GeocodingProvider;
|
|
3447
|
+
declare const GEOCODING_PROVIDER: InjectionToken<GeocodingProvider>;
|
|
3448
|
+
declare class GeocodingService {
|
|
3449
|
+
private provider;
|
|
3450
|
+
query(text: string): Observable<GeocodingResult[]>;
|
|
3451
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GeocodingService, never>;
|
|
3452
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<GeocodingService>;
|
|
3453
|
+
}
|
|
3454
|
+
|
|
3455
|
+
interface GeocodingProviderLabels {
|
|
3456
|
+
main?: string;
|
|
3457
|
+
secondary?: string;
|
|
3458
|
+
tertiary?: string;
|
|
3459
|
+
}
|
|
3460
|
+
interface LocationBbox {
|
|
3461
|
+
bbox: BoundingBox;
|
|
3462
|
+
label: string;
|
|
3463
|
+
}
|
|
3464
|
+
declare const GEOCODING_PROVIDER_LABELS: InjectionToken<GeocodingProviderLabels>;
|
|
3465
|
+
declare class LocationSearchComponent {
|
|
3466
|
+
private geocodingService;
|
|
3467
|
+
private labels;
|
|
3468
|
+
placeholder: string;
|
|
3469
|
+
resultSelected: EventEmitter<GeocodingResult>;
|
|
3470
|
+
bboxSelected: EventEmitter<LocationBbox>;
|
|
3471
|
+
displayWithFn: (item: AutocompleteItem) => string;
|
|
3472
|
+
searchAction: (text: string) => Observable<AutocompleteItem[]>;
|
|
3473
|
+
getSecondaryLabel(result: GeocodingResult): string | undefined;
|
|
3474
|
+
getMainLabel(result: GeocodingResult): string;
|
|
3475
|
+
getTertiaryLabel(result: GeocodingResult): string | undefined;
|
|
3476
|
+
getDisplayLabel(result: GeocodingResult): string;
|
|
3477
|
+
private resolveLabel;
|
|
3478
|
+
private getGeometry;
|
|
3479
|
+
handleItemSelected(item: AutocompleteItem): void;
|
|
3480
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LocationSearchComponent, never>;
|
|
3481
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LocationSearchComponent, "gn-ui-location-search", never, { "placeholder": { "alias": "placeholder"; "required": false; }; }, { "resultSelected": "resultSelected"; "bboxSelected": "bboxSelected"; }, never, never, true, never>;
|
|
3482
|
+
}
|
|
3483
|
+
|
|
3331
3484
|
declare const FILTER_GEOMETRY: InjectionToken<Promise<Geometry>>;
|
|
3332
3485
|
|
|
3333
3486
|
declare const RECORD_DATASET_URL_TOKEN: InjectionToken<string>;
|
|
@@ -3633,7 +3786,7 @@ declare class SearchService implements SearchServiceI {
|
|
|
3633
3786
|
static ɵprov: i0.ɵɵInjectableDeclaration<SearchService>;
|
|
3634
3787
|
}
|
|
3635
3788
|
|
|
3636
|
-
type FieldType = 'values' | 'dateRange';
|
|
3789
|
+
type FieldType = 'values' | 'dateRange' | 'spatialExtent';
|
|
3637
3790
|
type FieldValue = string | number;
|
|
3638
3791
|
interface FieldAvailableValue {
|
|
3639
3792
|
value: FieldValue;
|
|
@@ -3653,13 +3806,19 @@ declare class SimpleSearchField implements AbstractSearchField {
|
|
|
3653
3806
|
protected orderType: 'key' | 'count';
|
|
3654
3807
|
protected repository: RecordsRepositoryInterface;
|
|
3655
3808
|
protected esService: ElasticsearchService;
|
|
3809
|
+
private customIdentifier?;
|
|
3810
|
+
protected get fieldIdentifier(): string;
|
|
3811
|
+
includeValues: string[];
|
|
3812
|
+
excludeValues: string[];
|
|
3656
3813
|
constructor(esFieldName: string, injector: Injector, order?: 'asc' | 'desc', orderType?: 'key' | 'count');
|
|
3814
|
+
setFieldIdentifier(fieldIdentifier: string): void;
|
|
3657
3815
|
protected getAggregations(): AggregationsParams;
|
|
3658
3816
|
protected getBucketLabel(bucket: TermBucket): Promise<string>;
|
|
3659
3817
|
getAvailableValues(): Observable<FieldAvailableValue[]>;
|
|
3660
3818
|
getFiltersForValues(values: FieldValue[] | DateRange[]): Observable<FieldFilters | string>;
|
|
3661
3819
|
getValuesForFilter(filters: FieldFilters): Observable<FieldValue[] | FieldValue | DateRange>;
|
|
3662
3820
|
getType(): FieldType;
|
|
3821
|
+
clone(): typeof this;
|
|
3663
3822
|
}
|
|
3664
3823
|
declare class TranslatedSearchField extends SimpleSearchField {
|
|
3665
3824
|
protected esFieldName: string;
|
|
@@ -3731,6 +3890,15 @@ declare class DateRangeSearchField extends SimpleSearchField {
|
|
|
3731
3890
|
getAvailableValues(): Observable<FieldAvailableValue[]>;
|
|
3732
3891
|
getType(): FieldType;
|
|
3733
3892
|
}
|
|
3893
|
+
declare class ResourceCreationRevisionDateSearchField extends DateRangeSearchField {
|
|
3894
|
+
constructor(injector: Injector, order?: 'asc' | 'desc');
|
|
3895
|
+
}
|
|
3896
|
+
declare class BoundingBoxSearchField extends SimpleSearchField {
|
|
3897
|
+
getAvailableValues(): Observable<FieldAvailableValue[]>;
|
|
3898
|
+
getFiltersForValues(values: FieldValue[]): Observable<FieldFilters>;
|
|
3899
|
+
getValuesForFilter(filters: FieldFilters): Observable<FieldValue[]>;
|
|
3900
|
+
getType(): FieldType;
|
|
3901
|
+
}
|
|
3734
3902
|
declare class AvailableServicesField extends SimpleSearchField {
|
|
3735
3903
|
private translateService;
|
|
3736
3904
|
constructor(injector: Injector);
|
|
@@ -3763,9 +3931,19 @@ declare class RecordKindField extends SimpleSearchField {
|
|
|
3763
3931
|
}
|
|
3764
3932
|
|
|
3765
3933
|
type FieldValues = Record<string, FieldValue[] | FieldValue | DateRange>;
|
|
3934
|
+
interface CustomSearchField {
|
|
3935
|
+
name: string;
|
|
3936
|
+
baseFilter: string;
|
|
3937
|
+
excludeValues?: string[];
|
|
3938
|
+
includeValues?: string[];
|
|
3939
|
+
}
|
|
3940
|
+
declare const CUSTOM_FIELDS: InjectionToken<CustomSearchField[]>;
|
|
3766
3941
|
declare class FieldsService {
|
|
3767
3942
|
protected injector: Injector;
|
|
3943
|
+
private customFields;
|
|
3944
|
+
private baseFields;
|
|
3768
3945
|
protected fields: Record<string, AbstractSearchField>;
|
|
3946
|
+
constructor();
|
|
3769
3947
|
get supportedFields(): string[];
|
|
3770
3948
|
getAvailableValues(fieldName: string): Observable<FieldAvailableValue[] | DateRange[]>;
|
|
3771
3949
|
private getFiltersForValues;
|
|
@@ -4632,21 +4810,30 @@ declare class ResultsListContainerComponent implements OnInit {
|
|
|
4632
4810
|
static ɵcmp: i0.ɵɵComponentDeclaration<ResultsListContainerComponent, "gn-ui-results-list-container", never, { "metadataQualityDisplay": { "alias": "metadataQualityDisplay"; "required": false; }; "layout": { "alias": "layout"; "required": false; }; "showMore": { "alias": "showMore"; "required": false; }; }, { "mdSelect": "mdSelect"; }, never, never, true, never>;
|
|
4633
4811
|
}
|
|
4634
4812
|
|
|
4813
|
+
declare const SPATIAL_EXTENT_MAX_FILE_SIZE: InjectionToken<number>;
|
|
4635
4814
|
declare class FilterDropdownComponent implements OnInit {
|
|
4636
4815
|
private searchFacade;
|
|
4637
4816
|
private searchService;
|
|
4638
4817
|
private fieldsService;
|
|
4818
|
+
private notificationsService;
|
|
4819
|
+
private translateService;
|
|
4639
4820
|
fieldName: string;
|
|
4640
4821
|
title: string;
|
|
4822
|
+
spatialExtentDropdown: SpatialExtentDropdownComponent;
|
|
4823
|
+
spatialExtentMaxFileSize: number;
|
|
4641
4824
|
fieldType: FieldType;
|
|
4642
|
-
dateRange: DateRange;
|
|
4643
4825
|
choices$: Observable<Choice$1[]>;
|
|
4644
4826
|
selected$: Observable<FieldValue[]>;
|
|
4645
4827
|
selectedDateRange$: Observable<DateRange>;
|
|
4828
|
+
selectedBoundingBox$: Observable<BoundingBox | null>;
|
|
4646
4829
|
onSelectedValues(values: unknown[]): void;
|
|
4830
|
+
private spatialExtentErrorNotificationId;
|
|
4831
|
+
onBboxChange(bbox: BoundingBox | null): void;
|
|
4832
|
+
onLocationSelected({ bbox, label }: LocationBbox): void;
|
|
4833
|
+
onSpatialExtentError(error: SpatialExtentDropdownError): void;
|
|
4834
|
+
private clearSpatialExtentErrorNotification;
|
|
4647
4835
|
ngOnInit(): void;
|
|
4648
|
-
|
|
4649
|
-
onEndDateChange(end: Date): void;
|
|
4836
|
+
onDateRangeChange(dateRange: DateRange): void;
|
|
4650
4837
|
static ɵfac: i0.ɵɵFactoryDeclaration<FilterDropdownComponent, never>;
|
|
4651
4838
|
static ɵcmp: i0.ɵɵComponentDeclaration<FilterDropdownComponent, "gn-ui-filter-dropdown", never, { "fieldName": { "alias": "fieldName"; "required": false; }; "title": { "alias": "title"; "required": false; }; }, {}, never, never, true, never>;
|
|
4652
4839
|
}
|
|
@@ -4843,7 +5030,7 @@ declare class SearchFiltersSummaryItemComponent implements OnInit {
|
|
|
4843
5030
|
private searchFacade;
|
|
4844
5031
|
private searchService;
|
|
4845
5032
|
private fieldsService;
|
|
4846
|
-
private
|
|
5033
|
+
private dateService;
|
|
4847
5034
|
private translate;
|
|
4848
5035
|
fieldName: string;
|
|
4849
5036
|
fieldType: FieldType;
|
|
@@ -4852,6 +5039,7 @@ declare class SearchFiltersSummaryItemComponent implements OnInit {
|
|
|
4852
5039
|
ngOnInit(): void;
|
|
4853
5040
|
translateLabel(): void;
|
|
4854
5041
|
getReadableValues(fieldValues: FieldValue[] | DateRange[]): DisplayedValue[];
|
|
5042
|
+
private formatBound;
|
|
4855
5043
|
removeFilterValue(fieldValue: FieldValue | DateRange): Promise<void>;
|
|
4856
5044
|
static ɵfac: i0.ɵɵFactoryDeclaration<SearchFiltersSummaryItemComponent, never>;
|
|
4857
5045
|
static ɵcmp: i0.ɵɵComponentDeclaration<SearchFiltersSummaryItemComponent, "gn-ui-search-filters-summary-item", never, { "fieldName": { "alias": "fieldName"; "required": false; }; }, {}, never, never, true, never>;
|
|
@@ -4890,10 +5078,11 @@ interface DatasetHeaders {
|
|
|
4890
5078
|
interface PropertyInfo {
|
|
4891
5079
|
name: string;
|
|
4892
5080
|
label: string;
|
|
4893
|
-
type: 'number' | 'date' | '
|
|
5081
|
+
type: 'number' | 'date' | 'boolean' | 'string' | 'other';
|
|
4894
5082
|
}
|
|
4895
5083
|
interface DatasetInfo {
|
|
4896
5084
|
itemsCount: number;
|
|
5085
|
+
hasGeometry: boolean;
|
|
4897
5086
|
}
|
|
4898
5087
|
type FieldName = string;
|
|
4899
5088
|
type SumOperation = ['sum', FieldName];
|
|
@@ -4925,8 +5114,12 @@ declare class BaseReader {
|
|
|
4925
5114
|
protected sort: FieldSort[];
|
|
4926
5115
|
protected startIndex: number;
|
|
4927
5116
|
protected count: number;
|
|
5117
|
+
protected loadPromise_: Promise<void>;
|
|
5118
|
+
protected cacheEnabled: boolean;
|
|
4928
5119
|
constructor(url: string);
|
|
5120
|
+
enableCache(enabled: boolean): void;
|
|
4929
5121
|
load(): void;
|
|
5122
|
+
get isLoaded(): Promise<void>;
|
|
4930
5123
|
get properties(): Promise<PropertyInfo[]>;
|
|
4931
5124
|
get info(): Promise<DatasetInfo>;
|
|
4932
5125
|
read(): Promise<DataItem[]>;
|
|
@@ -4939,21 +5132,22 @@ declare class BaseReader {
|
|
|
4939
5132
|
limit(startIndex: number, count: number): this;
|
|
4940
5133
|
}
|
|
4941
5134
|
|
|
4942
|
-
|
|
4943
|
-
|
|
4944
|
-
wfsVersion?: WfsVersion;
|
|
5135
|
+
interface OpenDatasetOptions {
|
|
5136
|
+
typeHint?: SupportedType;
|
|
4945
5137
|
wfsFeatureType?: string;
|
|
4946
|
-
|
|
5138
|
+
enableCache?: boolean;
|
|
5139
|
+
}
|
|
5140
|
+
declare function openDataset(url: string, options?: OpenDatasetOptions): Promise<BaseReader>;
|
|
4947
5141
|
/**
|
|
4948
5142
|
* This fetches the full dataset at the given URL and parses it according to its mime type.
|
|
4949
5143
|
* All items in the dataset are converted to GeoJSON features, even if they do not bear any spatial geometry.
|
|
4950
5144
|
* File type can be either inferred (from the HTTP headers or the URL), or hinted using the 2nd argument
|
|
4951
|
-
* File type is determined
|
|
5145
|
+
* File type is determined like so:
|
|
4952
5146
|
* 1. if a type hint is given, use it
|
|
4953
5147
|
* 2. otherwise, look for a Content-Type header in the response with a supported mime type
|
|
4954
5148
|
* 3. if no valid mime type was found, look for an explicit file extension in the url (.csv, .geojson etc.)
|
|
4955
5149
|
*/
|
|
4956
|
-
declare function readDataset(url: string,
|
|
5150
|
+
declare function readDataset(url: string, options?: OpenDatasetOptions): Promise<DataItem[]>;
|
|
4957
5151
|
/**
|
|
4958
5152
|
* This fetches only the header of the dataset at the given URL, giving info on size, mime-type and last update if available.
|
|
4959
5153
|
*/
|
|
@@ -4966,31 +5160,51 @@ declare function readDatasetHeaders(url: string): Promise<DatasetHeaders>;
|
|
|
4966
5160
|
*/
|
|
4967
5161
|
declare function getJsonDataItemsProxy(items: DataItem[]): Record<string, unknown>[];
|
|
4968
5162
|
|
|
4969
|
-
declare
|
|
4970
|
-
|
|
4971
|
-
|
|
4972
|
-
|
|
4973
|
-
|
|
5163
|
+
declare class Engine {
|
|
5164
|
+
private db;
|
|
5165
|
+
private init_;
|
|
5166
|
+
private makeInit;
|
|
5167
|
+
isReady(): Promise<Engine>;
|
|
5168
|
+
/**
|
|
5169
|
+
* Returns information about a dataset once it's loaded:
|
|
5170
|
+
* - a list of properties description
|
|
5171
|
+
* - the name of the dataset geometry column (null if no geometry present)
|
|
5172
|
+
* @param datasetId name of the table under which the dataset will be stored
|
|
5173
|
+
* @param loadQuery duckdb-specific query for creating a table out of the data
|
|
5174
|
+
* @param forceReload if true, any existing data will be dropped and redownloaded
|
|
5175
|
+
*/
|
|
5176
|
+
loadFile(datasetId: string, loadQuery: string, forceReload?: boolean): Promise<{
|
|
5177
|
+
properties: PropertyInfo[];
|
|
5178
|
+
geometryColumn: string | null;
|
|
5179
|
+
rowsCount: number;
|
|
5180
|
+
}>;
|
|
5181
|
+
registerData(name: string, buffer: Uint8Array): Promise<void>;
|
|
5182
|
+
/**
|
|
5183
|
+
* @param query duckdb-specific query for fetching items
|
|
5184
|
+
*/
|
|
5185
|
+
queryItems(query: string): Promise<DataItem[]>;
|
|
5186
|
+
close(): void;
|
|
4974
5187
|
}
|
|
4975
5188
|
|
|
4976
|
-
|
|
4977
|
-
|
|
4978
|
-
|
|
4979
|
-
|
|
4980
|
-
|
|
4981
|
-
|
|
4982
|
-
protected
|
|
4983
|
-
|
|
5189
|
+
/**
|
|
5190
|
+
* This reader handles file formats supported natively by DuckDB
|
|
5191
|
+
*/
|
|
5192
|
+
declare class BaseFileReader extends BaseReader {
|
|
5193
|
+
protected engine: Engine;
|
|
5194
|
+
protected datasetId: string;
|
|
5195
|
+
protected properties_: PropertyInfo[];
|
|
5196
|
+
protected geometryColumn: string;
|
|
5197
|
+
protected rowsCount: number;
|
|
5198
|
+
protected generateDatasetId(): string;
|
|
5199
|
+
protected getLoadQuery(): Promise<string>;
|
|
5200
|
+
load(): Promise<void>;
|
|
4984
5201
|
get properties(): Promise<PropertyInfo[]>;
|
|
4985
5202
|
get info(): Promise<DatasetInfo>;
|
|
4986
5203
|
read(): Promise<DataItem[]>;
|
|
4987
5204
|
}
|
|
4988
5205
|
|
|
4989
5206
|
declare class GeojsonReader extends BaseFileReader {
|
|
4990
|
-
|
|
4991
|
-
items: DataItem[];
|
|
4992
|
-
properties: PropertyInfo[];
|
|
4993
|
-
}>;
|
|
5207
|
+
getLoadQuery(): Promise<string>;
|
|
4994
5208
|
}
|
|
4995
5209
|
|
|
4996
5210
|
interface WfsDownloadUrls {
|
|
@@ -5012,8 +5226,9 @@ declare class DataService {
|
|
|
5012
5226
|
getDownloadUrlFromEsriRest(apiUrl: string, format: string): string;
|
|
5013
5227
|
getDownloadLinksFromWfs(wfsLink: DatasetServiceDistribution): Observable<DatasetOnlineResource[]>;
|
|
5014
5228
|
getDownloadLinksFromOgcApiFeatures(ogcApiLink: DatasetServiceDistribution): Promise<DatasetOnlineResource[]>;
|
|
5015
|
-
|
|
5016
|
-
|
|
5229
|
+
private getTargetCollectionId;
|
|
5230
|
+
getDownloadUrlsFromOgcApi(url: string, collectionId?: string): Promise<OgcApiCollectionInfo>;
|
|
5231
|
+
getItemsFromOgcApi(url: string, collectionId?: string, limit?: number): Promise<OgcApiRecord[]>;
|
|
5017
5232
|
getItemsFromStacApi(url: string, options: GetCollectionItemsOptions): Promise<StacItemsDocument>;
|
|
5018
5233
|
getGeodataLinksFromTms(tmsLink: DatasetServiceDistribution, keepOriginalLink?: boolean): Promise<DatasetServiceDistribution[]>;
|
|
5019
5234
|
getDownloadLinksFromEsriRest(esriRestLink: DatasetServiceDistribution): DatasetOnlineResource[];
|
|
@@ -5114,31 +5329,37 @@ interface TableItemModel {
|
|
|
5114
5329
|
id: TableItemId;
|
|
5115
5330
|
[key: string]: TableItemType;
|
|
5116
5331
|
}
|
|
5332
|
+
interface TableColumn {
|
|
5333
|
+
name: string;
|
|
5334
|
+
label: string;
|
|
5335
|
+
}
|
|
5117
5336
|
declare class DataTableComponent implements OnInit, AfterViewInit, OnChanges {
|
|
5118
5337
|
private eltRef;
|
|
5119
5338
|
private cdr;
|
|
5120
5339
|
private translateService;
|
|
5121
|
-
|
|
5340
|
+
columnsFromFeatureCatalog: TableColumn[];
|
|
5122
5341
|
set featureAttributes(value: {
|
|
5123
5342
|
value: string;
|
|
5124
5343
|
label: string;
|
|
5125
5344
|
}[]);
|
|
5345
|
+
columnsFromDataset: TableColumn[];
|
|
5126
5346
|
set dataset(value: BaseReader);
|
|
5127
5347
|
activeId: TableItemId;
|
|
5128
5348
|
selected: EventEmitter<any>;
|
|
5129
5349
|
sort: MatSort;
|
|
5130
5350
|
paginator: MatPaginator;
|
|
5131
5351
|
dataset_: BaseReader;
|
|
5132
|
-
properties$: BehaviorSubject<string[]>;
|
|
5133
5352
|
dataSource: DataTableDataSource;
|
|
5134
5353
|
headerHeight: number;
|
|
5135
5354
|
count: number;
|
|
5136
5355
|
loading$: BehaviorSubject<boolean>;
|
|
5137
5356
|
error: any;
|
|
5357
|
+
get columns(): TableColumn[];
|
|
5358
|
+
get columnNames(): string[];
|
|
5138
5359
|
ngOnInit(): void;
|
|
5139
5360
|
ngAfterViewInit(): void;
|
|
5140
5361
|
ngOnChanges(): void;
|
|
5141
|
-
setSort(sort:
|
|
5362
|
+
setSort(sort: Sort): void;
|
|
5142
5363
|
setPagination(): void;
|
|
5143
5364
|
readData(): Promise<void>;
|
|
5144
5365
|
scrollToItem(itemId: TableItemId): void;
|
|
@@ -5174,6 +5395,7 @@ declare class FigureContainerComponent implements OnChanges {
|
|
|
5174
5395
|
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>;
|
|
5175
5396
|
}
|
|
5176
5397
|
|
|
5398
|
+
declare const DEFAULT_BASEMAP_LAYER: MapContextLayerMapLibreStyle;
|
|
5177
5399
|
declare class MapContainerComponent implements AfterViewInit, OnChanges {
|
|
5178
5400
|
private doNotUseDefaultBasemap;
|
|
5179
5401
|
private basemapLayers;
|
|
@@ -5335,8 +5557,7 @@ declare class MdViewFacade {
|
|
|
5335
5557
|
otherError?: string;
|
|
5336
5558
|
}>;
|
|
5337
5559
|
related$: rxjs.Observable<CatalogRecord[]>;
|
|
5338
|
-
|
|
5339
|
-
sourceOf$: rxjs.Observable<CatalogRecord[]>;
|
|
5560
|
+
linkedRecords$: rxjs.Observable<LinkedRecord[]>;
|
|
5340
5561
|
chartConfig$: rxjs.Observable<DatavizChartConfigModel>;
|
|
5341
5562
|
allLinks$: rxjs.Observable<DatasetOnlineResource[] | ServiceOnlineResource[]>;
|
|
5342
5563
|
resourceDoi$: rxjs.Observable<{
|
|
@@ -5422,16 +5643,11 @@ declare const setRelated: _ngrx_store.ActionCreator<"[Metadata view] Set related
|
|
|
5422
5643
|
}) => {
|
|
5423
5644
|
related: CatalogRecord[];
|
|
5424
5645
|
} & _ngrx_store.Action<"[Metadata view] Set related records">>;
|
|
5425
|
-
declare const
|
|
5426
|
-
|
|
5427
|
-
}) => {
|
|
5428
|
-
sources: CatalogRecord[];
|
|
5429
|
-
} & _ngrx_store.Action<"[Metadata view] Set sources">>;
|
|
5430
|
-
declare const setSourceOf: _ngrx_store.ActionCreator<"[Metadata view] Set has sources", (props: {
|
|
5431
|
-
sourceOf: CatalogRecord[];
|
|
5646
|
+
declare const setLinkedRecords: _ngrx_store.ActionCreator<"[Metadata view] Set associated records", (props: {
|
|
5647
|
+
linkedRecords: LinkedRecord[];
|
|
5432
5648
|
}) => {
|
|
5433
|
-
|
|
5434
|
-
} & _ngrx_store.Action<"[Metadata view] Set
|
|
5649
|
+
linkedRecords: LinkedRecord[];
|
|
5650
|
+
} & _ngrx_store.Action<"[Metadata view] Set associated records">>;
|
|
5435
5651
|
declare const setChartConfig: _ngrx_store.ActionCreator<"[Metadata view] Set chart config", (props: {
|
|
5436
5652
|
chartConfig: DatavizChartConfigModel;
|
|
5437
5653
|
}) => {
|
|
@@ -5487,9 +5703,8 @@ declare const mdview_actions_d_loadUserFeedbacksFailure: typeof loadUserFeedback
|
|
|
5487
5703
|
declare const mdview_actions_d_loadUserFeedbacksSuccess: typeof loadUserFeedbacksSuccess;
|
|
5488
5704
|
declare const mdview_actions_d_setChartConfig: typeof setChartConfig;
|
|
5489
5705
|
declare const mdview_actions_d_setIncompleteMetadata: typeof setIncompleteMetadata;
|
|
5706
|
+
declare const mdview_actions_d_setLinkedRecords: typeof setLinkedRecords;
|
|
5490
5707
|
declare const mdview_actions_d_setRelated: typeof setRelated;
|
|
5491
|
-
declare const mdview_actions_d_setSourceOf: typeof setSourceOf;
|
|
5492
|
-
declare const mdview_actions_d_setSources: typeof setSources;
|
|
5493
5708
|
declare namespace mdview_actions_d {
|
|
5494
5709
|
export {
|
|
5495
5710
|
mdview_actions_d_addUserFeedback as addUserFeedback,
|
|
@@ -5507,9 +5722,8 @@ declare namespace mdview_actions_d {
|
|
|
5507
5722
|
mdview_actions_d_loadUserFeedbacksSuccess as loadUserFeedbacksSuccess,
|
|
5508
5723
|
mdview_actions_d_setChartConfig as setChartConfig,
|
|
5509
5724
|
mdview_actions_d_setIncompleteMetadata as setIncompleteMetadata,
|
|
5725
|
+
mdview_actions_d_setLinkedRecords as setLinkedRecords,
|
|
5510
5726
|
mdview_actions_d_setRelated as setRelated,
|
|
5511
|
-
mdview_actions_d_setSourceOf as setSourceOf,
|
|
5512
|
-
mdview_actions_d_setSources as setSources,
|
|
5513
5727
|
};
|
|
5514
5728
|
}
|
|
5515
5729
|
|
|
@@ -5882,15 +6096,16 @@ interface FormFieldConfig {
|
|
|
5882
6096
|
invalid?: boolean;
|
|
5883
6097
|
invalidHintKey?: string;
|
|
5884
6098
|
}
|
|
6099
|
+
type FormFieldModel = CatalogRecordKeys | 'flags';
|
|
5885
6100
|
type OnlineLinkResourceSpecifier = `onlineResourceType:link`;
|
|
5886
6101
|
type DatasetDistributionsSpecifier = `onlineResourceType:!link`;
|
|
5887
6102
|
type OnlineSingleLinkResourceSpecifier = `onlineResourceType:singleLink`;
|
|
5888
6103
|
type EditableContactDetailsSpecifier = `contact:editableDetails`;
|
|
5889
|
-
type
|
|
6104
|
+
type FormFieldModelSpecifier = OnlineLinkResourceSpecifier | DatasetDistributionsSpecifier | OnlineSingleLinkResourceSpecifier | EditableContactDetailsSpecifier | `flags:${RecordFlag}`;
|
|
5890
6105
|
type FormFieldComponentName = 'form-field-constraints-shortcuts' | 'form-field-spatial-toggle';
|
|
5891
6106
|
interface EditorFieldIdentification {
|
|
5892
|
-
model?:
|
|
5893
|
-
modelSpecifier?:
|
|
6107
|
+
model?: FormFieldModel;
|
|
6108
|
+
modelSpecifier?: FormFieldModelSpecifier;
|
|
5894
6109
|
componentName?: FormFieldComponentName;
|
|
5895
6110
|
}
|
|
5896
6111
|
interface EditorField extends EditorFieldIdentification {
|
|
@@ -6314,8 +6529,8 @@ declare class FormFieldSpatialExtentComponent {
|
|
|
6314
6529
|
declare class FormFieldComponent {
|
|
6315
6530
|
uniqueIdentifier: string;
|
|
6316
6531
|
recordKind: RecordKind;
|
|
6317
|
-
model:
|
|
6318
|
-
modelSpecifier:
|
|
6532
|
+
model: FormFieldModel;
|
|
6533
|
+
modelSpecifier: FormFieldModelSpecifier;
|
|
6319
6534
|
componentName: FormFieldComponentName;
|
|
6320
6535
|
config: FormFieldConfig;
|
|
6321
6536
|
value: unknown;
|
|
@@ -6338,6 +6553,7 @@ declare class FormFieldComponent {
|
|
|
6338
6553
|
get valueAsIndividuals(): Array<Individual>;
|
|
6339
6554
|
get valueAsOnlineResources(): Array<OnlineResource>;
|
|
6340
6555
|
get valueAsResourceIdentifierCode(): string;
|
|
6556
|
+
get recordFlag(): RecordFlag;
|
|
6341
6557
|
handleResourceIdentifierChange(code: string): void;
|
|
6342
6558
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldComponent, never>;
|
|
6343
6559
|
static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldComponent, "gn-ui-form-field", never, { "uniqueIdentifier": { "alias": "uniqueIdentifier"; "required": false; }; "recordKind": { "alias": "recordKind"; "required": false; }; "model": { "alias": "model"; "required": false; }; "modelSpecifier": { "alias": "modelSpecifier"; "required": false; }; "componentName": { "alias": "componentName"; "required": false; }; "config": { "alias": "config"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, [{ directive: typeof FieldFocusDirective; inputs: {}; outputs: {}; }]>;
|
|
@@ -6367,6 +6583,7 @@ declare class FormFieldTopicsComponent {
|
|
|
6367
6583
|
declare class RecordFormComponent implements OnInit, OnDestroy {
|
|
6368
6584
|
facade: EditorFacade;
|
|
6369
6585
|
notifications: NotificationsService;
|
|
6586
|
+
platform: PlatformServiceInterface;
|
|
6370
6587
|
subscription: Subscription;
|
|
6371
6588
|
recordUniqueIdentifier$: rxjs.Observable<string>;
|
|
6372
6589
|
recordKind$: rxjs.Observable<"dataset" | "service" | "reuse">;
|
|
@@ -6376,14 +6593,16 @@ declare class RecordFormComponent implements OnInit, OnDestroy {
|
|
|
6376
6593
|
focusField(model: CatalogRecordKeys, sectionIndex: number): void;
|
|
6377
6594
|
ngOnInit(): void;
|
|
6378
6595
|
ngOnDestroy(): void;
|
|
6379
|
-
handleFieldValueChange(model:
|
|
6380
|
-
fieldTracker(index: number, field: EditorFieldWithValue):
|
|
6596
|
+
handleFieldValueChange(model: FormFieldModel, newValue: EditorFieldValue): void;
|
|
6597
|
+
fieldTracker(index: number, field: EditorFieldWithValue): FormFieldModel;
|
|
6381
6598
|
sectionTracker(index: number, section: EditorSectionWithValues): string;
|
|
6382
6599
|
getFieldLocation(model: CatalogRecordKeys): Promise<{
|
|
6383
6600
|
page: number;
|
|
6384
6601
|
section: number;
|
|
6385
6602
|
} | null>;
|
|
6386
6603
|
private recordSignal;
|
|
6604
|
+
private userSignal;
|
|
6605
|
+
private isAdminSignal;
|
|
6387
6606
|
private expressionCache;
|
|
6388
6607
|
evaluateExpression(expressionOrValue: string | EditorFieldValue): Signal<EditorFieldValue>;
|
|
6389
6608
|
static ɵfac: i0.ɵɵFactoryDeclaration<RecordFormComponent, never>;
|
|
@@ -6890,6 +7109,19 @@ interface SearchPreset {
|
|
|
6890
7109
|
name: string;
|
|
6891
7110
|
filters: Record<string, string[] | string>;
|
|
6892
7111
|
}
|
|
7112
|
+
type GeocodingProviderName = 'geoadmin' | 'geonames' | 'geoplateforme';
|
|
7113
|
+
interface CustomSearchFieldConfig {
|
|
7114
|
+
name: string;
|
|
7115
|
+
baseFilter: string;
|
|
7116
|
+
excludeValues?: string[];
|
|
7117
|
+
includeValues?: string[];
|
|
7118
|
+
labelKey?: string;
|
|
7119
|
+
}
|
|
7120
|
+
interface GeocodingProviderLabelsConfig {
|
|
7121
|
+
MAIN?: string;
|
|
7122
|
+
SECONDARY?: string;
|
|
7123
|
+
TERTIARY?: string;
|
|
7124
|
+
}
|
|
6893
7125
|
interface MetadataQualityConfig {
|
|
6894
7126
|
ENABLED: boolean;
|
|
6895
7127
|
}
|
|
@@ -6904,14 +7136,33 @@ type CustomTranslations = {
|
|
|
6904
7136
|
type CustomTranslationsAllLanguages = {
|
|
6905
7137
|
[lang: string]: CustomTranslations;
|
|
6906
7138
|
};
|
|
7139
|
+
interface ConfigIssues {
|
|
7140
|
+
warnings: string[];
|
|
7141
|
+
errors: string[];
|
|
7142
|
+
}
|
|
7143
|
+
interface AppConfig {
|
|
7144
|
+
global: GlobalConfig | null;
|
|
7145
|
+
theme: ThemeConfig | null;
|
|
7146
|
+
map: MapConfig | null;
|
|
7147
|
+
search: SearchConfig | null;
|
|
7148
|
+
metadataQuality: MetadataQualityConfig | null;
|
|
7149
|
+
editor: EditorConfig | null;
|
|
7150
|
+
translations: CustomTranslationsAllLanguages;
|
|
7151
|
+
}
|
|
7152
|
+
type ConfigSectionName = keyof AppConfig;
|
|
6907
7153
|
interface SearchConfig {
|
|
6908
7154
|
RECORD_KIND_QUICK_FILTER?: boolean;
|
|
6909
7155
|
FILTER_GEOMETRY_URL?: string;
|
|
6910
7156
|
FILTER_GEOMETRY_DATA?: string;
|
|
6911
7157
|
DO_NOT_USE_DEFAULT_SEARCH_PRESET?: boolean;
|
|
6912
7158
|
SEARCH_PRESET?: SearchPreset[];
|
|
6913
|
-
ADVANCED_FILTERS?: [];
|
|
7159
|
+
ADVANCED_FILTERS?: string[];
|
|
7160
|
+
CUSTOM_FILTERS?: CustomSearchFieldConfig[];
|
|
6914
7161
|
LIMIT?: number;
|
|
7162
|
+
SPATIAL_EXTENT_MAX_FILE_SIZE?: number;
|
|
7163
|
+
GEOCODING_PROVIDER?: GeocodingProviderName;
|
|
7164
|
+
GEOCODING_PROVIDER_OPTIONS?: Record<string, string | number | boolean | string[]>;
|
|
7165
|
+
GEOCODING_PROVIDER_LABELS?: GeocodingProviderLabelsConfig;
|
|
6915
7166
|
}
|
|
6916
7167
|
interface SearchConfig {
|
|
6917
7168
|
FILTER_GEOMETRY?: Geometry;
|
|
@@ -6924,7 +7175,12 @@ declare function getOptionalSearchConfig(): SearchConfig | null;
|
|
|
6924
7175
|
declare function getOptionalEditorConfig(): EditorConfig | null;
|
|
6925
7176
|
declare function getMetadataQualityConfig(): MetadataQualityConfig;
|
|
6926
7177
|
declare function getCustomTranslations(langCode: string): CustomTranslations;
|
|
6927
|
-
|
|
7178
|
+
/**
|
|
7179
|
+
* Loads the configuration file and stores the given sections (all by default);
|
|
7180
|
+
* omitted sections are reset (their getters will throw or return null);
|
|
7181
|
+
* resolves with the parsed configuration file, e.g. to read sections with a custom parser
|
|
7182
|
+
*/
|
|
7183
|
+
declare function loadAppConfig(configUrl?: string, sections?: ConfigSectionName[]): Promise<Record<string, unknown>>;
|
|
6928
7184
|
declare function isConfigLoaded(): boolean;
|
|
6929
7185
|
declare function _reset(): void;
|
|
6930
7186
|
declare const TRANSLATE_WITH_OVERRIDES_CONFIG: TranslateModuleConfig;
|
|
@@ -6932,6 +7188,7 @@ declare const TRANSLATE_WITH_OVERRIDES_CONFIG: TranslateModuleConfig;
|
|
|
6932
7188
|
declare const okAppConfigFixture: () => string;
|
|
6933
7189
|
declare const appConfigWithTranslationFixture: () => string;
|
|
6934
7190
|
declare const minimalAppConfigFixture: () => string;
|
|
7191
|
+
declare const customFilterMissingMandatoryConfigFixture: () => string;
|
|
6935
7192
|
declare const mapConfigFixture: () => MapConfig;
|
|
6936
7193
|
declare const malformedConfigFixture: () => string;
|
|
6937
7194
|
declare const missingMandatoryConfigFixture: () => string;
|
|
@@ -6940,6 +7197,27 @@ declare const unrecognizedKeysConfigFixture: () => string;
|
|
|
6940
7197
|
|
|
6941
7198
|
declare function getMapContextLayerFromConfig(config: LayerConfig): MapContextLayer;
|
|
6942
7199
|
|
|
6943
|
-
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 };
|
|
6944
|
-
|
|
7200
|
+
/**
|
|
7201
|
+
* Only keeps recognized keys, flatten nested values (to allow having "." in keys),
|
|
7202
|
+
* pushes warnings and errors to the given arrays; returns null in case of error
|
|
7203
|
+
*/
|
|
7204
|
+
declare function parseConfigSection(fullConfigObj: Record<string, unknown>, sectionName: string, mandatoryKeys: string[], optionalKeys: string[], outWarnings: string[], outErrors: string[]): Record<string, unknown> | null;
|
|
7205
|
+
/**
|
|
7206
|
+
* Same as parseConfigSection but keeps all keys, recognized or not
|
|
7207
|
+
* Also the first level is the language code (e.g. 'en')
|
|
7208
|
+
* This is optional
|
|
7209
|
+
*/
|
|
7210
|
+
declare function parseTranslationsConfigSection(fullConfigObj: Record<string, unknown>, sectionName: string): Record<string, unknown>;
|
|
7211
|
+
/**
|
|
7212
|
+
* Same as parseConfigSection but handles an array of configs; this is
|
|
7213
|
+
* considered optional; returns null in case of error in at least one of
|
|
7214
|
+
* the sections
|
|
7215
|
+
*/
|
|
7216
|
+
declare function parseMultiConfigSection(fullConfigObj: Record<string, unknown>, sectionName: string, mandatoryKeys: string[], optionalKeys: string[], outWarnings: string[], outErrors: string[]): Record<string, unknown>[] | null;
|
|
7217
|
+
declare function checkMetadataLanguage(parsedConfigSection: any, outWarnings: string[]): any;
|
|
7218
|
+
declare function checkNewRecordDefaultLanguage(parsedConfigSection: any, outWarnings: string[]): any;
|
|
7219
|
+
declare function checkNewRecordStandard(parsedConfigSection: any, outWarnings: string[]): any;
|
|
7220
|
+
|
|
7221
|
+
export { ADD_RESULTS, ADD_SEARCH, AVAILABLE_LICENSES, AbstractAction, AbstractSearchField, ActionMenuComponent, AddLayerFromCatalogComponent, AddLayerRecordPreviewComponent, AddResults, AddSearch, AnchorLinkDirective, ApiCardComponent, ApplicationBannerComponent, AuthService, AutocompleteComponent, AutofocusDirective, AvailableServicesField, AvatarComponent, AvatarServiceInterface, BASEMAP_LAYERS, BadgeComponent, BaseConverter, BaseFileReader, BaseReader, BlockListComponent, BoundingBoxSearchField, ButtonComponent, CHART_TYPE_VALUES, CLEAR_ERROR, CLEAR_RESULTS, CUSTOM_FIELDS, CarouselComponent, CatalogTitleComponent, CellPopinComponent, ChartComponent, ChartViewComponent, CheckToggleComponent, CheckboxComponent, ClearError, ClearResults, ColorScaleComponent, ConfirmationDialogComponent, ContactDetailsComponent, ContactDetailsFormComponent, ContactPillComponent, ContentGhostComponent, CopyTextButtonComponent, DEFAULT_BASEMAP_LAYER, DEFAULT_CONFIGURATION, DEFAULT_GEOCODING_PROVIDER, DEFAULT_GN4_LOGIN_URL, DEFAULT_GN4_LOGOUT_URL, DEFAULT_GN4_SETTINGS_URL, DEFAULT_LANG, DEFAULT_PAGE_SIZE, DEFAULT_RECORD_CONVERTER, DEFAULT_RESULTS_LAYOUT_CONFIG, DEFAULT_SEARCH_KEY, DEFAULT_SPATIAL_EXTENT_STYLE, DISABLE_AUTH, DISABLE_DRAFT, DO_NOT_USE_DEFAULT_BASEMAP, DataService, DataTableComponent, DataViewComponent, DataViewPermalinkComponent, DataViewShareComponent, DataViewWebComponentComponent, DatePickerComponent, DateRangeDropdownComponent, DateRangeInputsComponent, DateRangePickerComponent, DateRangeSearchField, DateService, DcatApConverter, DefaultRouterModule, DownloadItemComponent, DownloadsListComponent, DragAndDropFileInputComponent, DropdownMultiselectComponent, DropdownSelectorComponent, EDITOR_FEATURE_KEY, ES_QUERY_FIELDS_PRIORITY, ES_RESOURCES_VALUES, ES_SOURCE_SUMMARY, EXTERNAL_VIEWER_OPEN_NEW_TAB, EXTERNAL_VIEWER_URL_TEMPLATE, EditableLabelDirective, EditorFacade, EditorService, ElasticsearchService, ErrorComponent, ErrorType, ExpandablePanelButtonComponent, ExpandablePanelComponent, ExternalLinkCardComponent, ExternalViewerButtonComponent, FIELDS_BRIEF, FIELDS_SUMMARY, FILTER_GEOMETRY, FILTER_SUMMARY_IGNORE_LIST, FORMATS, FacetBlockComponent, FacetItemComponent, FacetListComponent, FacetsContainerComponent, FavoriteStarComponent, FavoritesService, FeatureCatalogListComponent, FeatureDetailComponent, FeatureEditorModule, FeatureMapModule, FeatureRecordModule, FeatureSearchModule, FetchError, FieldFocusDirective, FieldsService, FigureComponent, FigureContainerComponent, FileInputComponent, FileTranslateLoader, FilesDropDirective, FilterDropdownComponent, FormFieldArrayComponent, FormFieldComponent, FormFieldDateComponent, FormFieldFileComponent, FormFieldKeywordsComponent, FormFieldLicenseComponent, FormFieldObjectComponent, FormFieldRichComponent, FormFieldSimpleComponent, FormFieldSpatialExtentComponent, FormFieldTemporalExtentsComponent, FormFieldTopicsComponent, FormFieldWrapperComponent, FullTextSearchField, FuzzySearchComponent, GEOCODING_PROVIDER, GEOCODING_PROVIDER_LABELS, GEONETWORK_UI_TAG_NAME, GEONETWORK_UI_VERSION, GeoDataBadgeComponent, GeoTableViewComponent, GeocodingService, GeojsonReader, Gn4Converter, Gn4PlatformMapper, Gn4PlatformService, Gn4Repository, Gn4SettingsService, GnUiHumanizeDateDirective, GpfApiDlComponent, GravatarService, I18nInterceptor, ISO_TOPICS, ImageFallbackDirective, ImageInputComponent, ImageOverlayPreviewComponent, ImportRecordComponent, InlineFilterComponent, InteractiveTableColumnComponent, InteractiveTableComponent, InternalLinkCardComponent, IsSpatialSearchField, Iso191153Converter, Iso19139Converter, KeywordBadgeComponent, KindBadgeComponent, LANGUAGES_LIST, LANGUAGE_NAMES, LANGUAGE_STORAGE_KEY, LANG_2_TO_3_MAPPER, LOGIN_URL, LOGOUT_URL, LONLAT_CRS_CODES, LanguageSwitcherComponent, LayersPanelComponent, LicenseSearchField, LinkClassifierService, LinkUsage, LoadingMaskComponent, LocationSearchComponent, LogService, MAP_FEATURE_KEY, MAP_VIEW_CONSTRAINTS, MAX_UPLOAD_SIZE_MB, METADATA_LANGUAGE, MapContainerComponent, MapFacade, MapLegendComponent, MapStateContainerComponent, MapUtilsService, MapViewComponent, MarkdownEditorComponent, MarkdownParserComponent, MaxLinesComponent, mdview_actions_d as MdViewActions, MdViewFacade, MetadataCatalogComponent, MetadataContactComponent, MetadataDoiComponent, MetadataInfoComponent, MetadataLinkType, MetadataMapperContext, MetadataQualityComponent, MetadataQualityItemComponent, MetadataQualityPanelComponent, ModalDialogComponent, MultilingualPanelComponent, MultilingualSearchField, MyOrgService, NAMESPACES, NOT_APPLICABLE_CONSTRAINT, NOT_KNOWN_CONSTRAINT, NotificationComponent, NotificationsContainerComponent, NotificationsService, OPEN_DATA_LICENSE, ORGANIZATIONS_STRATEGY, ORGANIZATION_PAGE_URL_TOKEN, ORGANIZATION_URL_TOKEN, OnlineResourceCardComponent, OnlineServiceResourceInputComponent, OrganisationPreviewComponent, OrganisationsComponent, OrganisationsFilterComponent, OrganisationsResultComponent, OrganizationSearchField, OrganizationsFromGroupsService, OrganizationsFromMetadataService, OrganizationsServiceInterface, OwnerSearchField, PAGINATE, PARSE_DELIMITER, PATCH_RESULTS_AGGREGATIONS, PROXY_PATH, Paginate, PaginationButtonsComponent, PaginationComponent, PaginationDotsComponent, PatchResultsAggregations, PlatformServiceInterface, PopoverComponent, PopupAlertComponent, PossibleResourceTypes, PossibleResourceTypesDefinition, PreviousNextButtonsComponent, ProgressBarComponent, ProxyService, QUERY_FIELDS, RECORD_DATASET_URL_TOKEN, RECORD_REUSE_URL_TOKEN, RECORD_SERVICE_URL_TOKEN, REQUEST_MORE_ON_AGGREGATION, REQUEST_MORE_RESULTS, REQUEST_NEW_RESULTS, RESULTS_LAYOUT_CONFIG, REUSE_LIGHT_CONFIGURATION, ROUTER_CONFIG, ROUTER_ROUTE_DATASET, ROUTER_ROUTE_ORGANIZATION, ROUTER_ROUTE_REUSE, ROUTER_ROUTE_SEARCH, ROUTER_ROUTE_SERVICE, ROUTER_STATE_KEY, ROUTE_PARAMS, RecordApiFormComponent, RecordFormComponent, RecordKindField, RecordMetaComponent, RecordMetricComponent, RecordPreviewCardComponent, RecordPreviewComponent, RecordPreviewFeedComponent, RecordPreviewListComponent, RecordPreviewRowComponent, RecordPreviewTextComponent, RecordPreviewTitleComponent, RecordStatusValues, RecordsMetricsComponent, RecordsRepositoryInterface, RecordsService, RequestMoreOnAggregation, RequestMoreResults, RequestNewResults, ResourceCreationRevisionDateSearchField, ResourceTypeLegacyField, ResultsHitsContainerComponent, ResultsHitsNumberComponent, ResultsHitsSearchKindComponent, ResultsLayoutComponent, ResultsLayoutConfigItem, ResultsListComponent, ResultsListContainerComponent, ResultsListItemComponent, ResultsTableComponent, ResultsTableContainerComponent, ReusePresentationForms, RoleLabels, RoleValues, RouterEffects, RouterFacade, RouterService, SEARCH_FEATURE_KEY, SETTINGS_URL, SET_CONFIG_AGGREGATIONS, SET_CONFIG_FILTERS, SET_CONFIG_REQUEST_FIELDS, SET_ERROR, SET_FAVORITES_ONLY, SET_FILTERS, SET_INCLUDE_ON_AGGREGATION, SET_PAGE_SIZE, SET_RESULTS_AGGREGATIONS, SET_RESULTS_HITS, SET_RESULTS_LAYOUT, SET_SEARCH, SET_SORT_BY, SET_SPATIAL_FILTER_ENABLED, SPATIAL_EXTENT_MAX_FILE_SIZE, SPATIAL_SCOPES, SearchEffects, SearchFacade, SearchFeatureCatalogComponent, SearchFiltersSummaryComponent, SearchFiltersSummaryItemComponent, SearchInputComponent, SearchRouterContainerDirective, SearchService, SearchStateContainerDirective, SelectionService, ServiceCapabilitiesComponent, SetConfigAggregations, SetConfigFilters, SetConfigRequestFields, SetError, SetFavoritesOnly, SetFilters, SetIncludeOnAggregation, SetPageSize, SetResultsAggregations, SetResultsHits, SetResultsLayout, SetSearch, SetSortBy, SetSpatialFilterEnabled, SimpleSearchField, SiteTitleComponent, SortByComponent, SortByEnum, SortableListComponent, SourceLabelComponent, SourcesService, SpatialExtentComponent, SpatialExtentDropdownComponent, SpinningLoaderComponent, StacItemsResultGridComponent, StacViewComponent, StarToggleComponent, StickyHeaderComponent, SupportedTypes, SwitchToggleComponent, THUMBNAIL_PLACEHOLDER, TRANSLATE_DEBUG_CONFIG, TRANSLATE_DEFAULT_CONFIG, TRANSLATE_WITH_OVERRIDES_CONFIG, TableViewComponent, TextAreaComponent, TextInputComponent, ThemeService, ThumbnailComponent, TranslatedSearchField, TruncatedTextComponent, UPDATE_CONFIG_AGGREGATIONS, UPDATE_FILTERS, UPDATE_REQUEST_AGGREGATION_TERM, UpdateConfigAggregations, UpdateFilters, UrlInputComponent, UserFeedbackItemComponent, UserPreviewComponent, UserSearchField, VECTOR_STYLE_DEFAULT, ViewportIntersectorComponent, WEB_COMPONENT_EMBEDDER_URL, XmlParseError, _reset, allChildrenElement, appConfigWithTranslationFixture, appendChildTree, appendChildren, assertValidXml, associationTypeValues, bboxToGeometry, blockModelFixture, bytesToMegabytes, canEditRecord, checkFileFormat, checkMetadataLanguage, checkNewRecordDefaultLanguage, checkNewRecordStandard, clearSelectedFeatures, createChild, createDocument, createElement, createFuzzyFilter, createNestedChild, createNestedElement, createSpatialExtentLayer, currentPage, customFilterMissingMandatoryConfigFixture, downgradeImage, downsizeImage, draftSaveSuccess, dragPanCondition, dropEmptyTranslations, editorReducer, emptyBlockModelFixture, findChildElement, findChildOrCreate, findChildrenElement, findConverterForDocument, findNestedChildOrCreate, findNestedElement, findNestedElements, findParent, firstChildElement, formatDate, formatUserInfo, getAddressLines, getAllKeysValidator, getArrayItem, getAsArray, getAsUrl, getBadgeColor, getCustomTranslations, getError, getFavoritesOnly, getFileFormat, getFileFormatFromServiceOutput, getFirstValue, getFormatPriority, getGeometryBoundingBox, getGeometryFromGeoJSON, getGlobalConfig, getIndividualDisplayName, getIsMobile, getJsonDataItemsProxy, getKeywordHierarchyPath, getLayers, getLinkId, getLinkLabel, getLinkPriority, getMapContext, getMapContextLayerFromConfig, getMapState, getMetadataQualityConfig, getMimeTypeForFormat, getNamespace, getOptionalEditorConfig, getOptionalMapConfig, getOptionalSearchConfig, getPageSize, getQualityValidators, getResourceType, getReusePresentationForm, getReuseType, getRootElement, getSearchConfigAggregations, getSearchFilters, getSearchResults, getSearchResultsAggregations, getSearchResultsHits, getSearchResultsLayout, getSearchResultsLoading, getSearchSortBy, getSearchState, getSearchStateSearch, getSelectedFeatures, getSpatialFilterEnabled, getTemporalRangeUnion, getThemeConfig, handleScrollOnNavigation, hasRecordChangedSinceDraft, hasRecordChangedSinceDraftSuccess, initSearch, initialEditorState, initialMapState, initialState, isBoundingBox, isBoundingBoxWithinWorldExtent, isConfigLoaded, isDateRange, isFileExtensionValid, isFormatInQueryParam, isPublished, itemModelFixture, kindToCodeListValue, loadAppConfig, malformedConfigFixture, mapConfigFixture, mapContact, mapKeywords, mapLogo, mapOrganization, mapReducer, markRecordAsChanged, matchesNoApplicableConstraint, matchesNoKnownConstraint, megabytesToBytes, mimeTypeToFormat, minimalAppConfigFixture, missingMandatoryConfigFixture, mouseWheelZoomCondition, noDuplicateFileName, okAppConfigFixture, openDataset, openRecord, organizationsServiceFactory, parse, parseConfigSection, parseMultiConfigSection, parseTranslationsConfigSection, parseXmlString, placeholder, prioritizePageScroll, propagateToDocumentOnly, provideGn4, provideI18n, provideLocalizedDateAdapter, provideRepositoryUrl, readAttribute, readDataset, readDatasetHeaders, readFileAsText, readText, reducer, reducerSearch, removeAllChildren, removeChildren, removeChildrenByName, removeSearchParams, removeWhitespace, renameElements, saveRecord, saveRecordFailure, saveRecordSuccess, selectCanEditRecord, selectCurrentPage, selectEditorConfig, selectEditorState, selectFallback, selectFallbackFields, selectField, selectHasRecordChanged, selectIsPublished, selectRecord, selectRecordChangedSinceSave, selectRecordSaveError, selectRecordSaving, selectRecordSections, selectRecordSource, selectTranslatedField, selectTranslatedValue, setContext, setCurrentPage, setEditorConfiguration, setFieldVisibility, setFocusedField, setSelectedFeatures, setTextContent, sortByFromString, sortByToString, sortByToStrings, spatialExtentToGeometry, spatialExtentsToFeatureCollection, stripHtml, stripNamespace, toDate, toIndividual, toLang2, toLang3, totalPages, undoRecordDraft, unrecognizedKeysConfigFixture, updateFrequencyCodeValues, updateLanguages, updateRecordField, updateRecordLanguages, wmsLayerFlatten, writeAttribute, wrongLanguageCodeConfigFixture, xmlToString };
|
|
7222
|
+
export type { Aggregation, AggregationBuckets, AggregationCounts, AggregationParams, AggregationResult, AggregationSort, AggregationTypes, Aggregations, AggregationsParams, AggregationsResults, AggregationsTypes, AppConfig, AssociatedRecord, AssociationType, AutocompleteItem, BaseRecord, BoundingBox, Bucket, CatalogRecord, CatalogRecordKeys, CatalogSource, Choice$1 as Choice, ConfigIssues, ConfigSectionName, ConfirmationDialogData, Constraint, ConstraintTranslations, CustomSearchField, CustomSearchFieldConfig, CustomTranslations, CustomTranslationsAllLanguages, DataItem, DatasetDownloadDistribution, DatasetFeatureAttribute, DatasetFeatureAttributeValue, DatasetFeatureCatalog, DatasetFeatureType, DatasetOnlineResource, DatasetRecord, DatasetServiceDistribution, DatasetSpatialExtent, DatasetTemporalExtent, DatavizChartConfigModel, DatavizConfigModel, DateRange, DateRangeBound, DragAndDropFileInputError, DropdownChoice, EditorConfig, EditorFieldWithValue, EditorPartialState, EditorSectionWithValues, EditorState, EsQueryFieldsPriorityType, EsRequestAggTerm, EsRequestAggTermPatch, EsRequestSource, EsResourceType, EsResourceTypeValues, EsSearchParams, EsSearchResponse, EsTemplateType, EsTemplateValues, FacetPath, FacetSelectEvent, FeatureType, Field, FieldAggregation, FieldAvailableValue, FieldFilter$1 as FieldFilter, FieldFilterByBoundingBox, FieldFilterByExpression, FieldFilterByRange, FieldFilterByValues, FieldFilters, FieldName$1 as FieldName, FieldSort$1 as FieldSort, FieldTranslation, FieldType, FieldValue, FieldValues, FileFormat, FilterAggregationParams, FilterQuery, FiltersAggregationParams, FiltersAggregationResult, FiltersBucket, FormatProduit, FormatSortieProduit, GeocodingProvider, GeocodingProviderLabels, GeocodingProviderLabelsConfig, GeocodingProviderName, GlobalConfig, Gn4Record, Gn4RecordRelated, Gn4SearchResults, GpfApiDlTermBucket, GraphicOverview, HasPath, HistogramAggregationParams, HistogramAggregationResult, HistogramBucket, ISOTopic, Individual, InputChartType, Iso3Langs, Keyword, KeywordApiResponse, KeywordTranslations, KeywordTree, Label, LanguageCode, LanguageCode2, LanguageCode3, LanguageCodeFactory, LanguageCodeLike, LayerConfig, Link, LinkedRecord, ListChoice, ListUrl, LocationBbox, MapConfig, MapPartialState, MapState, MetadataContact, MetadataObject, MetadataQualityConfig, MetadataQualityItem, ModalDialogData, ModelBlock, ModelItem, ModelTranslations, NestedAggregationResult, NewRecordStandard, OnlineLinkResource, OnlineResource, OnlineResourceTranslations, OnlineResourceType, Organization, OrganizationTranslations, OrganizationsStrategy, Paginable, PropertyInfo, QueryBool, QueryGeoShape, QueryRange, QueryString, RecordAsXml, RecordAttachment, RecordFlag, RecordKind, RecordMetric, RecordRelation, RecordStatus, RecordTranslations, RequestFields, ResourceIdentifier$1 as ResourceIdentifier, ResultsLayoutConfigModel, ResultsListShowMoreStrategy, ReuseRecord, ReuseType, Role, RouterConfigModel, SaveRecordError, SearchActions, SearchConfig, SearchError, SearchFilters, SearchParams, SearchPreset, SearchResults, SearchRouteParams, SearchServiceI, SearchState, SearchStateParams, SearchStateSearch, ServiceEndpoint, ServiceOnlineResource, ServiceProtocol, ServiceRecord, SortByField, SortOrder, SortParams, SourceRecord, SourceWithUnknownProps, SpatialExtentDropdownError, SpatialExtentLayerStyle, SpatialExtentTranslations, SpatialRepresentationType, StacFilterState, SupportedType, SwitchToggleOption, TableItemId, TableItemModel, TermBucket, TermsAggregationParams, TermsAggregationResult, ThemeConfig, Thesaurus, ThesaurusApiResponse, UpdateFrequency, UpdateFrequencyCode, UpdateFrequencyCustom, UploadEvent, UserFeedback, UserFeedbackViewModel, ValidatorMapperKeys };
|
|
6945
7223
|
//# sourceMappingURL=index.d.ts.map
|