geonetwork-ui 2.11.0-dev.aed5b2e5b → 2.11.0-dev.b42374ab5
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 +1511 -1027
- package/fesm2022/geonetwork-ui.mjs.map +1 -1
- package/index.d.ts +276 -117
- package/index.d.ts.map +1 -1
- package/package.json +7 -5
- 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 +35 -8
- 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 +159 -54
- package/src/libs/api/repository/src/lib/gn4/gn4-repository.ts +79 -35
- 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 +14 -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 +20 -1
- package/src/libs/common/fixtures/src/lib/records.fixtures.ts +42 -62
- package/src/libs/feature/dataviz/src/lib/service/data.service.ts +32 -19
- 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/feature-map.module.ts +1 -8
- 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.effects.ts +3 -1
- package/src/libs/feature/record/src/lib/state/mdview.facade.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 +10 -1
- package/src/libs/feature/search/src/lib/filter-dropdown/filter-dropdown.component.ts +39 -5
- 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 +2 -0
- 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 -6
- package/src/libs/feature/search/src/lib/utils/service/fields.ts +82 -13
- 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/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/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.html +11 -11
- package/src/libs/ui/inputs/src/lib/spatial-extent-dropdown/spatial-extent-dropdown.component.ts +57 -4
- 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 +2 -0
- package/src/libs/util/app-config/src/index.ts +1 -0
- package/src/libs/util/app-config/src/lib/app-config.ts +338 -250
- package/src/libs/util/app-config/src/lib/fixtures.ts +37 -1
- package/src/libs/util/app-config/src/lib/model.ts +41 -1
- package/src/libs/util/app-config/src/lib/parse-utils.ts +8 -4
- package/src/libs/util/shared/src/lib/links/link-utils.ts +19 -10
- package/src/libs/util/shared/src/lib/utils/geojson.ts +45 -10
- package/translations/de.json +18 -4
- package/translations/en.json +19 -5
- package/translations/es.json +18 -4
- package/translations/fr.json +24 -10
- package/translations/it.json +18 -4
- package/translations/nl.json +18 -4
- package/translations/pt.json +18 -4
- package/translations/sk.json +18 -4
- 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/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,5 +1,5 @@
|
|
|
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';
|
|
@@ -14,15 +14,13 @@ import * as _geospatial_sdk_core from '@geospatial-sdk/core';
|
|
|
14
14
|
import { MapContext, MapContextLayer, MapContextLayerMapLibreStyle, Extent, SourceLoadErrorEvent, MapContextLayerGeojson } from '@geospatial-sdk/core';
|
|
15
15
|
import * as _ngrx_store from '@ngrx/store';
|
|
16
16
|
import { Action } from '@ngrx/store';
|
|
17
|
-
import { Style } from 'ol/style.js';
|
|
18
|
-
import { StyleLike } from 'ol/style/Style.js';
|
|
19
17
|
import * as _ngrx_effects from '@ngrx/effects';
|
|
18
|
+
import { GeoadminOptions, GeonamesOptions, GeoplateformeOptions, GeocodingResult } from '@geospatial-sdk/geocoding';
|
|
19
|
+
import { UntypedFormControl, FormControl } from '@angular/forms';
|
|
20
|
+
import { MatAutocompleteTrigger, MatAutocomplete, MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
|
|
20
21
|
import * as geonetwork_ui from 'geonetwork-ui';
|
|
21
22
|
import * as _angular_cdk_overlay from '@angular/cdk/overlay';
|
|
22
23
|
import { CdkOverlayOrigin, ConnectedPosition, CdkConnectedOverlay, CdkScrollable } from '@angular/cdk/overlay';
|
|
23
|
-
import { UntypedFormControl, FormControl } from '@angular/forms';
|
|
24
|
-
import { MatAutocompleteTrigger, MatAutocomplete, MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
|
|
25
|
-
import * as _camptocamp_ogc_client from '@camptocamp/ogc-client';
|
|
26
24
|
import { OgcApiEndpoint, WfsEndpoint, MimeType, WfsFeatureTypeFull, WmsLayerFull, WmtsLayer, StacItem, WfsVersion, OgcApiCollectionInfo, OgcApiRecord, GetCollectionItemsOptions, StacItemsDocument } from '@camptocamp/ogc-client';
|
|
27
25
|
import OlMap from 'ol/Map.js';
|
|
28
26
|
import { Extent as Extent$1, MapContext as MapContext$1 } from '@geospatial-sdk/core/dist/model';
|
|
@@ -262,6 +260,7 @@ interface DatasetRecord extends BaseRecord {
|
|
|
262
260
|
spatialExtents: Array<DatasetSpatialExtent>;
|
|
263
261
|
temporalExtents: Array<DatasetTemporalExtent>;
|
|
264
262
|
spatialRepresentation?: SpatialRepresentationType;
|
|
263
|
+
featureTypeDescriptions?: Array<DatasetFeatureType>;
|
|
265
264
|
}
|
|
266
265
|
interface ServiceEndpoint {
|
|
267
266
|
url: URL;
|
|
@@ -288,33 +287,28 @@ interface ReuseRecord extends BaseRecord {
|
|
|
288
287
|
spatialExtents: Array<DatasetSpatialExtent>;
|
|
289
288
|
temporalExtents: Array<DatasetTemporalExtent>;
|
|
290
289
|
}
|
|
290
|
+
interface DatasetFeatureType {
|
|
291
|
+
name: string;
|
|
292
|
+
label?: string;
|
|
293
|
+
description?: string;
|
|
294
|
+
attributes: DatasetFeatureAttribute[];
|
|
295
|
+
}
|
|
291
296
|
type DatasetFeatureCatalog = {
|
|
292
|
-
featureTypes: Array<
|
|
293
|
-
name: string;
|
|
294
|
-
definition: string;
|
|
295
|
-
attributes: DatasetFeatureAttribute[];
|
|
296
|
-
}>;
|
|
297
|
+
featureTypes: Array<DatasetFeatureType>;
|
|
297
298
|
};
|
|
298
299
|
interface DatasetFeatureAttributeValue {
|
|
299
|
-
|
|
300
|
-
definition?: string;
|
|
300
|
+
value: string;
|
|
301
301
|
label?: string;
|
|
302
|
+
description?: string;
|
|
302
303
|
}
|
|
303
304
|
interface DatasetFeatureAttribute {
|
|
304
305
|
name: string;
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
306
|
+
label?: string;
|
|
307
|
+
description?: string;
|
|
308
|
+
type?: string;
|
|
309
|
+
code?: string;
|
|
308
310
|
values?: Array<DatasetFeatureAttributeValue>;
|
|
309
311
|
}
|
|
310
|
-
interface DatasetFeatureType {
|
|
311
|
-
aliases: string;
|
|
312
|
-
code: string;
|
|
313
|
-
isAbstract: string;
|
|
314
|
-
typeName: string;
|
|
315
|
-
definition: string;
|
|
316
|
-
attributeTable: Array<DatasetFeatureAttribute>;
|
|
317
|
-
}
|
|
318
312
|
type ReuseType = 'application' | 'map' | 'other';
|
|
319
313
|
type OnlineResource = DatasetOnlineResource | ServiceOnlineResource;
|
|
320
314
|
type CatalogRecord = DatasetRecord | ReuseRecord | ServiceRecord;
|
|
@@ -335,6 +329,8 @@ interface UserFeedbackViewModel extends UserFeedback {
|
|
|
335
329
|
avatarUrl: string;
|
|
336
330
|
}
|
|
337
331
|
|
|
332
|
+
type RecordFlag = 'IS_REFERENCE_DATASET';
|
|
333
|
+
|
|
338
334
|
declare class MetadataMapperContext {
|
|
339
335
|
readonly location?: any;
|
|
340
336
|
}
|
|
@@ -481,6 +477,26 @@ interface Link {
|
|
|
481
477
|
applicationProfile?: string;
|
|
482
478
|
group?: number;
|
|
483
479
|
}
|
|
480
|
+
interface FeatureTypeAttribute {
|
|
481
|
+
name: string;
|
|
482
|
+
code: string;
|
|
483
|
+
link: string;
|
|
484
|
+
definition: string;
|
|
485
|
+
type: string;
|
|
486
|
+
values?: Array<{
|
|
487
|
+
code?: string;
|
|
488
|
+
label?: string;
|
|
489
|
+
description?: string;
|
|
490
|
+
}>;
|
|
491
|
+
}
|
|
492
|
+
interface FeatureType {
|
|
493
|
+
typeName: string;
|
|
494
|
+
definition: string;
|
|
495
|
+
code: string;
|
|
496
|
+
aliases: string;
|
|
497
|
+
isAbstract: string;
|
|
498
|
+
attributeTable: FeatureTypeAttribute[];
|
|
499
|
+
}
|
|
484
500
|
type MetadataObject = Partial<{
|
|
485
501
|
MD_ConstraintsUseLimitationObject: MultilingualField[];
|
|
486
502
|
MD_LegalConstraintsOtherConstraintsObject: MultilingualField[];
|
|
@@ -511,6 +527,7 @@ type MetadataObject = Partial<{
|
|
|
511
527
|
extentDescriptionObject: MultilingualField[];
|
|
512
528
|
extra: string;
|
|
513
529
|
featureOfRecord: string;
|
|
530
|
+
featureTypes: FeatureType[];
|
|
514
531
|
feedbackCount: string;
|
|
515
532
|
geom: Geometry | Geometry[];
|
|
516
533
|
groupOwner: string;
|
|
@@ -747,6 +764,7 @@ declare class Gn4FieldMapper {
|
|
|
747
764
|
private get getLocalizedIndexKey();
|
|
748
765
|
protected fields: Record<string, EsFieldMapperFn>;
|
|
749
766
|
private genericField;
|
|
767
|
+
private featureTypesField;
|
|
750
768
|
private constraintField;
|
|
751
769
|
getMappingFn(fieldName: string): EsFieldMapperFn | ((output: any) => any);
|
|
752
770
|
getLinkType(url: string, protocol?: string): OnlineResourceType;
|
|
@@ -764,7 +782,8 @@ type FieldFilterByRange = {
|
|
|
764
782
|
start?: Date;
|
|
765
783
|
end?: Date;
|
|
766
784
|
};
|
|
767
|
-
type
|
|
785
|
+
type FieldFilterByBoundingBox = [number, number, number, number];
|
|
786
|
+
type FieldFilter$1 = FieldFilterByExpression | FieldFilterByValues | FieldFilterByRange | FieldFilterByBoundingBox;
|
|
768
787
|
type FieldFilters = Record<FieldName$1, FieldFilter$1>;
|
|
769
788
|
type QueryString = {
|
|
770
789
|
query_string: string;
|
|
@@ -772,11 +791,28 @@ type QueryString = {
|
|
|
772
791
|
type QueryRange = {
|
|
773
792
|
range: Record<string, {
|
|
774
793
|
format: string;
|
|
775
|
-
gte
|
|
776
|
-
lte
|
|
794
|
+
gte?: string;
|
|
795
|
+
lte?: string;
|
|
796
|
+
relation?: string;
|
|
777
797
|
}>;
|
|
778
798
|
};
|
|
779
|
-
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>;
|
|
780
816
|
|
|
781
817
|
interface TermsAggregationParams {
|
|
782
818
|
type: 'terms';
|
|
@@ -784,6 +820,8 @@ interface TermsAggregationParams {
|
|
|
784
820
|
limit: number;
|
|
785
821
|
sort: AggregationSort;
|
|
786
822
|
filter?: string;
|
|
823
|
+
includeValues?: string[];
|
|
824
|
+
excludeValues?: string[];
|
|
787
825
|
}
|
|
788
826
|
interface HistogramAggregationParams {
|
|
789
827
|
type: 'histogram';
|
|
@@ -1058,7 +1096,7 @@ declare abstract class RecordsRepositoryInterface {
|
|
|
1058
1096
|
abstract search(params: SearchParams): Observable<SearchResults>;
|
|
1059
1097
|
abstract getMatchesCount(filters: FieldFilters): Observable<number>;
|
|
1060
1098
|
abstract getRecord(uniqueIdentifier: string): Observable<CatalogRecord | null>;
|
|
1061
|
-
abstract
|
|
1099
|
+
abstract queryLinkedFeatureCatalog(record: CatalogRecord): Observable<DatasetFeatureCatalog | null>;
|
|
1062
1100
|
abstract aggregate(params: AggregationsParams): Observable<Aggregations>;
|
|
1063
1101
|
abstract getSimilarRecords(similarTo: CatalogRecord): Observable<CatalogRecord[]>;
|
|
1064
1102
|
abstract getLinkedRecords(record: CatalogRecord): Observable<LinkedRecord[]>;
|
|
@@ -1122,6 +1160,15 @@ declare abstract class RecordsRepositoryInterface {
|
|
|
1122
1160
|
}>;
|
|
1123
1161
|
abstract getRecordPublicationStatus(uuid: string): Observable<boolean>;
|
|
1124
1162
|
abstract getApplicationLanguages(): Observable<LanguageCode[]>;
|
|
1163
|
+
/**
|
|
1164
|
+
* Sets a given flag on a record. Flags are not part of the metadata document, which is why they are
|
|
1165
|
+
* not part of the Record model.
|
|
1166
|
+
*/
|
|
1167
|
+
abstract setRecordFlag(uniqueIdentifier: string, flagName: RecordFlag, value: boolean): Observable<void>;
|
|
1168
|
+
/**
|
|
1169
|
+
* Checks whether a given flag is enabled for a record.
|
|
1170
|
+
*/
|
|
1171
|
+
abstract getRecordFlag(uniqueIdentifier: string, flagName: RecordFlag): Observable<boolean>;
|
|
1125
1172
|
}
|
|
1126
1173
|
|
|
1127
1174
|
type RecordAsXml = string;
|
|
@@ -1136,6 +1183,7 @@ declare class Gn4Repository implements RecordsRepositoryInterface {
|
|
|
1136
1183
|
private platformService;
|
|
1137
1184
|
private gn4LanguagesApi;
|
|
1138
1185
|
private settingsService;
|
|
1186
|
+
private gn4TagsApi;
|
|
1139
1187
|
private disableDraft;
|
|
1140
1188
|
private defaultConverter;
|
|
1141
1189
|
_draftsChanged: Subject<void>;
|
|
@@ -1144,8 +1192,7 @@ declare class Gn4Repository implements RecordsRepositoryInterface {
|
|
|
1144
1192
|
getMatchesCount(filters: FieldFilters): Observable<number>;
|
|
1145
1193
|
getRecord(uniqueIdentifier: string): Observable<CatalogRecord | null>;
|
|
1146
1194
|
getMultipleRecords(uniqueIdentifiers: string[]): Observable<CatalogRecord[] | null>;
|
|
1147
|
-
|
|
1148
|
-
getFeatureCatalog(record: CatalogRecord, visited?: Set<string>): Observable<DatasetFeatureCatalog | null>;
|
|
1195
|
+
queryLinkedFeatureCatalog(record: CatalogRecord, visited?: Set<string>): Observable<DatasetFeatureCatalog | null>;
|
|
1149
1196
|
getSimilarRecords(similarTo: CatalogRecord): Observable<CatalogRecord[]>;
|
|
1150
1197
|
getLinkedRecords(record: CatalogRecord): Observable<LinkedRecord[]>;
|
|
1151
1198
|
aggregate(params: AggregationsParams): Observable<Aggregations>;
|
|
@@ -1179,6 +1226,10 @@ declare class Gn4Repository implements RecordsRepositoryInterface {
|
|
|
1179
1226
|
private saveRecordToLocalStorage;
|
|
1180
1227
|
private getRecordFromLocalStorage;
|
|
1181
1228
|
private removeRecordFromLocalStorage;
|
|
1229
|
+
categoriesIdentifierForFlags: Observable<Record<RecordFlag, number>>;
|
|
1230
|
+
private getCategoryIdForFlag;
|
|
1231
|
+
setRecordFlag(uniqueIdentifier: string, flagName: RecordFlag, value: boolean): Observable<void>;
|
|
1232
|
+
getRecordFlag(uniqueIdentifier: string, flagName: RecordFlag): Observable<boolean>;
|
|
1182
1233
|
static ɵfac: i0.ɵɵFactoryDeclaration<Gn4Repository, never>;
|
|
1183
1234
|
static ɵprov: i0.ɵɵInjectableDeclaration<Gn4Repository>;
|
|
1184
1235
|
}
|
|
@@ -1713,16 +1764,20 @@ declare class ElasticsearchService {
|
|
|
1713
1764
|
private translateService;
|
|
1714
1765
|
private injector;
|
|
1715
1766
|
private runtimeFields;
|
|
1767
|
+
private fieldAliases;
|
|
1716
1768
|
private get metadataLang();
|
|
1717
1769
|
getSearchRequestBody(aggregations?: any, size?: number, from?: number, sortBy?: SortByField, requestFields?: RequestFields, searchFilters?: SearchFilters, configFilters?: SearchFilters, uuids?: string[], geometry?: Geometry): EsSearchParams;
|
|
1718
1770
|
private processRuntimeFields;
|
|
1719
|
-
registerRuntimeField(fieldName: string, expression: string): void;
|
|
1771
|
+
registerRuntimeField(fieldName: string, expression: string, type?: 'keyword' | 'date'): void;
|
|
1772
|
+
registerFieldAlias(fieldIdentifier: string, esFieldName: string): void;
|
|
1720
1773
|
getMetadataByIdsPayload(uuids: string[]): EsSearchParams;
|
|
1721
1774
|
getRelatedRecordPayload(record: CatalogRecord, size?: number, _source?: string[]): EsSearchParams;
|
|
1722
1775
|
private buildPayloadSort;
|
|
1723
1776
|
private injectLangInQueryStringFields;
|
|
1724
1777
|
private getQueryLang;
|
|
1725
1778
|
private isCurrentSearchLang;
|
|
1779
|
+
private findSpatialFilterExtent;
|
|
1780
|
+
private buildDateRangeQuery;
|
|
1726
1781
|
private filtersToQuery;
|
|
1727
1782
|
private mustNotFilters;
|
|
1728
1783
|
private buildPayloadQuery;
|
|
@@ -1823,6 +1878,7 @@ declare abstract class PlatformServiceInterface {
|
|
|
1823
1878
|
abstract supportsAuthentication(): boolean;
|
|
1824
1879
|
abstract getMe(): Observable<UserModel>;
|
|
1825
1880
|
abstract isAnonymous(): Observable<boolean>;
|
|
1881
|
+
abstract isAdministrator(): Observable<boolean>;
|
|
1826
1882
|
abstract getUsers(): Observable<UserModel[]>;
|
|
1827
1883
|
abstract getUserPermissionsByGroup(): Observable<GroupModel[]>;
|
|
1828
1884
|
abstract getUsersByOrganization(organisation: Organization): Observable<UserModel[]>;
|
|
@@ -1999,6 +2055,7 @@ declare class Gn4PlatformService implements PlatformServiceInterface {
|
|
|
1999
2055
|
private readonly gnParseVersion;
|
|
2000
2056
|
private keyTranslations$;
|
|
2001
2057
|
private me$;
|
|
2058
|
+
private isAdmin$;
|
|
2002
2059
|
/**
|
|
2003
2060
|
* A map of already loaded thesauri (groups of keywords); the key is a URI
|
|
2004
2061
|
* @private
|
|
@@ -2012,6 +2069,7 @@ declare class Gn4PlatformService implements PlatformServiceInterface {
|
|
|
2012
2069
|
getApiVersion(): Observable<string>;
|
|
2013
2070
|
getMe(): Observable<UserModel>;
|
|
2014
2071
|
isAnonymous(): Observable<boolean>;
|
|
2072
|
+
isAdministrator(): Observable<boolean>;
|
|
2015
2073
|
getOrganizations(): Observable<Organization[]>;
|
|
2016
2074
|
getUsersByOrganization(organisation: Organization): Observable<UserModel[]>;
|
|
2017
2075
|
getUsers(): Observable<UserModel[]>;
|
|
@@ -2182,11 +2240,17 @@ declare function createFuzzyFilter(pattern: string): FuzzyFilter;
|
|
|
2182
2240
|
*/
|
|
2183
2241
|
declare function getGeometryFromGeoJSON(data: FeatureCollection | Feature | Geometry): Geometry | null;
|
|
2184
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;
|
|
2185
2249
|
declare function getGeometryBoundingBox(geometry: Geometry): BoundingBox;
|
|
2186
2250
|
/**
|
|
2187
|
-
* Builds the
|
|
2251
|
+
* Builds the GeoJSON Geometry matching the given bounding box.
|
|
2188
2252
|
*/
|
|
2189
|
-
declare function
|
|
2253
|
+
declare function bboxToGeometry(bbox: BoundingBox): Geometry;
|
|
2190
2254
|
/**
|
|
2191
2255
|
* Returns the geometry carried by a spatial extent, falling back to the polygon
|
|
2192
2256
|
* derived from its bounding box. Returns null when the extent has neither.
|
|
@@ -2387,14 +2451,7 @@ declare function checkFileFormat(link: DatasetOnlineResource | ServiceOnlineReso
|
|
|
2387
2451
|
declare function getBadgeColor(linkFormat: FileFormat): string;
|
|
2388
2452
|
declare function getLinkId(link: DatasetOnlineResource): string;
|
|
2389
2453
|
declare function getLinkLabel(link: DatasetOnlineResource | ServiceOnlineResource): string;
|
|
2390
|
-
declare function getLayers(url: string, serviceProtocol: ServiceProtocol): Promise<
|
|
2391
|
-
name: string;
|
|
2392
|
-
hasRecords?: boolean;
|
|
2393
|
-
hasFeatures?: boolean;
|
|
2394
|
-
hasVectorTiles?: boolean;
|
|
2395
|
-
hasMapTiles?: boolean;
|
|
2396
|
-
hasDataQueries?: boolean;
|
|
2397
|
-
}[] | _camptocamp_ogc_client.WfsFeatureTypeFull[] | _camptocamp_ogc_client.WmsLayerFull[] | _camptocamp_ogc_client.WmtsLayer[]>;
|
|
2454
|
+
declare function getLayers(url: string, serviceProtocol: ServiceProtocol, deep?: boolean): Promise<any[]>;
|
|
2398
2455
|
declare function wmsLayerFlatten(layerFull: any): any[];
|
|
2399
2456
|
declare function getMimeTypeForFormat(format: FileFormat): string | null;
|
|
2400
2457
|
|
|
@@ -2478,30 +2535,6 @@ declare class MapUtilsService {
|
|
|
2478
2535
|
static ɵprov: i0.ɵɵInjectableDeclaration<MapUtilsService>;
|
|
2479
2536
|
}
|
|
2480
2537
|
|
|
2481
|
-
interface CreateStyleOptions {
|
|
2482
|
-
color: string;
|
|
2483
|
-
isFocused?: boolean;
|
|
2484
|
-
}
|
|
2485
|
-
type StyleByGeometryType = {
|
|
2486
|
-
line: Style | Style[];
|
|
2487
|
-
polygon: Style | Style[];
|
|
2488
|
-
point: Style | Style[];
|
|
2489
|
-
};
|
|
2490
|
-
declare class MapStyleService {
|
|
2491
|
-
styles: {
|
|
2492
|
-
default: StyleLike;
|
|
2493
|
-
defaultHL: StyleLike;
|
|
2494
|
-
};
|
|
2495
|
-
createGeometryStyles(options: CreateStyleOptions): StyleByGeometryType;
|
|
2496
|
-
createStyleFunction(styleByGeometryType: StyleByGeometryType): StyleLike;
|
|
2497
|
-
private computeTransparentFillColor;
|
|
2498
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MapStyleService, never>;
|
|
2499
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<MapStyleService>;
|
|
2500
|
-
}
|
|
2501
|
-
|
|
2502
|
-
declare const defaultMapStyleFixture: () => Style;
|
|
2503
|
-
declare const defaultMapStyleHlFixture: () => Style;
|
|
2504
|
-
|
|
2505
2538
|
declare class LayersPanelComponent {
|
|
2506
2539
|
private mapFacade;
|
|
2507
2540
|
layers$: rxjs.Observable<MapContextLayer[]>;
|
|
@@ -2747,6 +2780,13 @@ declare class AutocompleteComponent implements OnInit, AfterViewInit, OnDestroy,
|
|
|
2747
2780
|
triggerRef: MatAutocompleteTrigger;
|
|
2748
2781
|
autocomplete: MatAutocomplete;
|
|
2749
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
|
+
}>;
|
|
2750
2790
|
searching: boolean;
|
|
2751
2791
|
control: UntypedFormControl;
|
|
2752
2792
|
cancelEnter: boolean;
|
|
@@ -2792,7 +2832,7 @@ declare class AutocompleteComponent implements OnInit, AfterViewInit, OnDestroy,
|
|
|
2792
2832
|
handleSelection(event: MatAutocompleteSelectedEvent): void;
|
|
2793
2833
|
handleInput(event: InputEvent): void;
|
|
2794
2834
|
static ɵfac: i0.ɵɵFactoryDeclaration<AutocompleteComponent, never>;
|
|
2795
|
-
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>;
|
|
2796
2836
|
}
|
|
2797
2837
|
|
|
2798
2838
|
declare class BadgeComponent {
|
|
@@ -2926,20 +2966,20 @@ declare class DragAndDropFileInputComponent {
|
|
|
2926
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>;
|
|
2927
2967
|
}
|
|
2928
2968
|
|
|
2929
|
-
interface Choice$1 {
|
|
2930
|
-
value:
|
|
2969
|
+
interface Choice$1<T = unknown> {
|
|
2970
|
+
value: T;
|
|
2931
2971
|
label: string;
|
|
2932
2972
|
}
|
|
2933
2973
|
|
|
2934
|
-
declare class DropdownMultiselectComponent {
|
|
2974
|
+
declare class DropdownMultiselectComponent<T = unknown> {
|
|
2935
2975
|
private scrollStrategies;
|
|
2936
2976
|
title: string;
|
|
2937
|
-
choices: Choice$1[];
|
|
2938
|
-
selected:
|
|
2977
|
+
choices: Choice$1<T>[];
|
|
2978
|
+
selected: T[];
|
|
2939
2979
|
allowSearch: boolean;
|
|
2940
2980
|
maxRows: number;
|
|
2941
2981
|
searchInputValue: string;
|
|
2942
|
-
selectValues: EventEmitter<
|
|
2982
|
+
selectValues: EventEmitter<T[]>;
|
|
2943
2983
|
overlayOrigin: CdkOverlayOrigin;
|
|
2944
2984
|
overlay: CdkConnectedOverlay;
|
|
2945
2985
|
overlayContainer: ElementRef;
|
|
@@ -2952,8 +2992,8 @@ declare class DropdownMultiselectComponent {
|
|
|
2952
2992
|
overlayMaxHeight: string;
|
|
2953
2993
|
id: string;
|
|
2954
2994
|
get hasSelectedChoices(): boolean;
|
|
2955
|
-
get selectedChoices(): Choice$1[];
|
|
2956
|
-
get filteredChoicesByText(): Choice$1[];
|
|
2995
|
+
get selectedChoices(): Choice$1<T>[];
|
|
2996
|
+
get filteredChoicesByText(): Choice$1<T>[];
|
|
2957
2997
|
get focusedIndex(): number | -1;
|
|
2958
2998
|
private setFocus;
|
|
2959
2999
|
openOverlay(): Promise<[void, any]>;
|
|
@@ -2963,13 +3003,13 @@ declare class DropdownMultiselectComponent {
|
|
|
2963
3003
|
focusFirstItem(): void;
|
|
2964
3004
|
focusLastItem(): void;
|
|
2965
3005
|
shiftItemFocus(shift: number): void;
|
|
2966
|
-
isSelected(choice: Choice$1): boolean;
|
|
2967
|
-
select(choice: Choice$1
|
|
2968
|
-
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;
|
|
2969
3009
|
clearSelection(event: Event): void;
|
|
2970
3010
|
clearSearchInputValue(event: Event): void;
|
|
2971
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownMultiselectComponent
|
|
2972
|
-
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>;
|
|
2973
3013
|
}
|
|
2974
3014
|
|
|
2975
3015
|
interface DropdownChoice {
|
|
@@ -3217,10 +3257,12 @@ declare class SpatialExtentDropdownComponent {
|
|
|
3217
3257
|
private scrollStrategies;
|
|
3218
3258
|
title: string;
|
|
3219
3259
|
maxFileSizeMb: number | null;
|
|
3260
|
+
set initialBbox(value: BoundingBox | null);
|
|
3220
3261
|
bboxChange: EventEmitter<BoundingBox>;
|
|
3221
3262
|
errorChange: EventEmitter<SpatialExtentDropdownError>;
|
|
3222
3263
|
bbox: BoundingBox | null;
|
|
3223
3264
|
fileName: string;
|
|
3265
|
+
locationName: string;
|
|
3224
3266
|
overlayOrigin: CdkOverlayOrigin;
|
|
3225
3267
|
overlay: CdkConnectedOverlay;
|
|
3226
3268
|
fileInput: DragAndDropFileInputComponent;
|
|
@@ -3230,15 +3272,22 @@ declare class SpatialExtentDropdownComponent {
|
|
|
3230
3272
|
overlayMinWidth: string;
|
|
3231
3273
|
errorKey: string | null;
|
|
3232
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
|
+
};
|
|
3233
3281
|
openOverlay(): void;
|
|
3234
3282
|
closeOverlay(): void;
|
|
3235
3283
|
toggleOverlay(): void;
|
|
3236
3284
|
handleFileSelected(file: File): Promise<void>;
|
|
3285
|
+
setLocationBbox(bbox: BoundingBox, name: string): void;
|
|
3237
3286
|
handleFileError(error: DragAndDropFileInputError): void;
|
|
3238
3287
|
private setError;
|
|
3239
3288
|
removeSelection(event: Event): void;
|
|
3240
3289
|
static ɵfac: i0.ɵɵFactoryDeclaration<SpatialExtentDropdownComponent, never>;
|
|
3241
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SpatialExtentDropdownComponent, "gn-ui-spatial-extent-dropdown", never, { "title": { "alias": "title"; "required": false; }; "maxFileSizeMb": { "alias": "maxFileSizeMb"; "required": false; }; }, { "bboxChange": "bboxChange"; "errorChange": "errorChange"; }, never,
|
|
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>;
|
|
3242
3291
|
}
|
|
3243
3292
|
|
|
3244
3293
|
declare class ResultsHitsSearchKindComponent implements OnChanges {
|
|
@@ -3247,7 +3296,7 @@ declare class ResultsHitsSearchKindComponent implements OnChanges {
|
|
|
3247
3296
|
selectionChanged: EventEmitter<string[]>;
|
|
3248
3297
|
availableChoices: Choice$1[];
|
|
3249
3298
|
ngOnChanges(changes: SimpleChanges): void;
|
|
3250
|
-
buildFilterChoices(availableValues: Choice$1[]): Choice$1[];
|
|
3299
|
+
buildFilterChoices(availableValues: Choice$1[]): Choice$1<unknown>[];
|
|
3251
3300
|
onSelectedValues(values: string[]): void;
|
|
3252
3301
|
isSelectedChoice(choiceValue: string): boolean;
|
|
3253
3302
|
isAllChoice(choiceValue: string): boolean;
|
|
@@ -3357,26 +3406,6 @@ declare class AddLayerRecordPreviewComponent extends RecordPreviewComponent {
|
|
|
3357
3406
|
static ɵcmp: i0.ɵɵComponentDeclaration<AddLayerRecordPreviewComponent, "gn-ui-add-layer-record-preview", never, {}, {}, never, never, true, never>;
|
|
3358
3407
|
}
|
|
3359
3408
|
|
|
3360
|
-
declare class GeocodingComponent implements OnDestroy {
|
|
3361
|
-
private mapFacade;
|
|
3362
|
-
private geocodingService;
|
|
3363
|
-
searchText: string;
|
|
3364
|
-
results: any[];
|
|
3365
|
-
searchTextChanged: Subject<string>;
|
|
3366
|
-
destroy$: Subject<void>;
|
|
3367
|
-
errorMessage: string | null;
|
|
3368
|
-
constructor();
|
|
3369
|
-
ngOnDestroy(): void;
|
|
3370
|
-
onSearchChange(searchText: string): void;
|
|
3371
|
-
clearSearch(): void;
|
|
3372
|
-
zoomToLocation(result: any): Promise<void>;
|
|
3373
|
-
zoomToPoint(pointCoords: [number, number]): Promise<void>;
|
|
3374
|
-
zoomToPolygon(polygonCoords: [[number, number][]]): Promise<void>;
|
|
3375
|
-
onEnterPress(): void;
|
|
3376
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GeocodingComponent, never>;
|
|
3377
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GeocodingComponent, "gn-ui-geocoding", never, {}, {}, never, never, true, never>;
|
|
3378
|
-
}
|
|
3379
|
-
|
|
3380
3409
|
interface NotificationContent {
|
|
3381
3410
|
type: 'info' | 'warning' | 'error' | 'success';
|
|
3382
3411
|
title: string;
|
|
@@ -3410,6 +3439,48 @@ declare class FeatureSearchModule {
|
|
|
3410
3439
|
static ɵinj: i0.ɵɵInjectorDeclaration<FeatureSearchModule>;
|
|
3411
3440
|
}
|
|
3412
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
|
+
|
|
3413
3484
|
declare const FILTER_GEOMETRY: InjectionToken<Promise<Geometry>>;
|
|
3414
3485
|
|
|
3415
3486
|
declare const RECORD_DATASET_URL_TOKEN: InjectionToken<string>;
|
|
@@ -3735,13 +3806,19 @@ declare class SimpleSearchField implements AbstractSearchField {
|
|
|
3735
3806
|
protected orderType: 'key' | 'count';
|
|
3736
3807
|
protected repository: RecordsRepositoryInterface;
|
|
3737
3808
|
protected esService: ElasticsearchService;
|
|
3809
|
+
private customIdentifier?;
|
|
3810
|
+
protected get fieldIdentifier(): string;
|
|
3811
|
+
includeValues: string[];
|
|
3812
|
+
excludeValues: string[];
|
|
3738
3813
|
constructor(esFieldName: string, injector: Injector, order?: 'asc' | 'desc', orderType?: 'key' | 'count');
|
|
3814
|
+
setFieldIdentifier(fieldIdentifier: string): void;
|
|
3739
3815
|
protected getAggregations(): AggregationsParams;
|
|
3740
3816
|
protected getBucketLabel(bucket: TermBucket): Promise<string>;
|
|
3741
3817
|
getAvailableValues(): Observable<FieldAvailableValue[]>;
|
|
3742
3818
|
getFiltersForValues(values: FieldValue[] | DateRange[]): Observable<FieldFilters | string>;
|
|
3743
3819
|
getValuesForFilter(filters: FieldFilters): Observable<FieldValue[] | FieldValue | DateRange>;
|
|
3744
3820
|
getType(): FieldType;
|
|
3821
|
+
clone(): typeof this;
|
|
3745
3822
|
}
|
|
3746
3823
|
declare class TranslatedSearchField extends SimpleSearchField {
|
|
3747
3824
|
protected esFieldName: string;
|
|
@@ -3813,9 +3890,13 @@ declare class DateRangeSearchField extends SimpleSearchField {
|
|
|
3813
3890
|
getAvailableValues(): Observable<FieldAvailableValue[]>;
|
|
3814
3891
|
getType(): FieldType;
|
|
3815
3892
|
}
|
|
3816
|
-
declare class
|
|
3817
|
-
constructor(injector: Injector);
|
|
3893
|
+
declare class ResourceCreationRevisionDateSearchField extends DateRangeSearchField {
|
|
3894
|
+
constructor(injector: Injector, order?: 'asc' | 'desc');
|
|
3895
|
+
}
|
|
3896
|
+
declare class BoundingBoxSearchField extends SimpleSearchField {
|
|
3818
3897
|
getAvailableValues(): Observable<FieldAvailableValue[]>;
|
|
3898
|
+
getFiltersForValues(values: FieldValue[]): Observable<FieldFilters>;
|
|
3899
|
+
getValuesForFilter(filters: FieldFilters): Observable<FieldValue[]>;
|
|
3819
3900
|
getType(): FieldType;
|
|
3820
3901
|
}
|
|
3821
3902
|
declare class AvailableServicesField extends SimpleSearchField {
|
|
@@ -3850,9 +3931,19 @@ declare class RecordKindField extends SimpleSearchField {
|
|
|
3850
3931
|
}
|
|
3851
3932
|
|
|
3852
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[]>;
|
|
3853
3941
|
declare class FieldsService {
|
|
3854
3942
|
protected injector: Injector;
|
|
3943
|
+
private customFields;
|
|
3944
|
+
private baseFields;
|
|
3855
3945
|
protected fields: Record<string, AbstractSearchField>;
|
|
3946
|
+
constructor();
|
|
3856
3947
|
get supportedFields(): string[];
|
|
3857
3948
|
getAvailableValues(fieldName: string): Observable<FieldAvailableValue[] | DateRange[]>;
|
|
3858
3949
|
private getFiltersForValues;
|
|
@@ -4719,6 +4810,7 @@ declare class ResultsListContainerComponent implements OnInit {
|
|
|
4719
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>;
|
|
4720
4811
|
}
|
|
4721
4812
|
|
|
4813
|
+
declare const SPATIAL_EXTENT_MAX_FILE_SIZE: InjectionToken<number>;
|
|
4722
4814
|
declare class FilterDropdownComponent implements OnInit {
|
|
4723
4815
|
private searchFacade;
|
|
4724
4816
|
private searchService;
|
|
@@ -4727,14 +4819,17 @@ declare class FilterDropdownComponent implements OnInit {
|
|
|
4727
4819
|
private translateService;
|
|
4728
4820
|
fieldName: string;
|
|
4729
4821
|
title: string;
|
|
4822
|
+
spatialExtentDropdown: SpatialExtentDropdownComponent;
|
|
4730
4823
|
spatialExtentMaxFileSize: number;
|
|
4731
4824
|
fieldType: FieldType;
|
|
4732
4825
|
choices$: Observable<Choice$1[]>;
|
|
4733
4826
|
selected$: Observable<FieldValue[]>;
|
|
4734
4827
|
selectedDateRange$: Observable<DateRange>;
|
|
4828
|
+
selectedBoundingBox$: Observable<BoundingBox | null>;
|
|
4735
4829
|
onSelectedValues(values: unknown[]): void;
|
|
4736
4830
|
private spatialExtentErrorNotificationId;
|
|
4737
4831
|
onBboxChange(bbox: BoundingBox | null): void;
|
|
4832
|
+
onLocationSelected({ bbox, label }: LocationBbox): void;
|
|
4738
4833
|
onSpatialExtentError(error: SpatialExtentDropdownError): void;
|
|
4739
4834
|
private clearSpatialExtentErrorNotification;
|
|
4740
4835
|
ngOnInit(): void;
|
|
@@ -5131,8 +5226,9 @@ declare class DataService {
|
|
|
5131
5226
|
getDownloadUrlFromEsriRest(apiUrl: string, format: string): string;
|
|
5132
5227
|
getDownloadLinksFromWfs(wfsLink: DatasetServiceDistribution): Observable<DatasetOnlineResource[]>;
|
|
5133
5228
|
getDownloadLinksFromOgcApiFeatures(ogcApiLink: DatasetServiceDistribution): Promise<DatasetOnlineResource[]>;
|
|
5134
|
-
|
|
5135
|
-
|
|
5229
|
+
private getTargetCollectionId;
|
|
5230
|
+
getDownloadUrlsFromOgcApi(url: string, collectionId?: string): Promise<OgcApiCollectionInfo>;
|
|
5231
|
+
getItemsFromOgcApi(url: string, collectionId?: string, limit?: number): Promise<OgcApiRecord[]>;
|
|
5136
5232
|
getItemsFromStacApi(url: string, options: GetCollectionItemsOptions): Promise<StacItemsDocument>;
|
|
5137
5233
|
getGeodataLinksFromTms(tmsLink: DatasetServiceDistribution, keepOriginalLink?: boolean): Promise<DatasetServiceDistribution[]>;
|
|
5138
5234
|
getDownloadLinksFromEsriRest(esriRestLink: DatasetServiceDistribution): DatasetOnlineResource[];
|
|
@@ -6000,15 +6096,16 @@ interface FormFieldConfig {
|
|
|
6000
6096
|
invalid?: boolean;
|
|
6001
6097
|
invalidHintKey?: string;
|
|
6002
6098
|
}
|
|
6099
|
+
type FormFieldModel = CatalogRecordKeys | 'flags';
|
|
6003
6100
|
type OnlineLinkResourceSpecifier = `onlineResourceType:link`;
|
|
6004
6101
|
type DatasetDistributionsSpecifier = `onlineResourceType:!link`;
|
|
6005
6102
|
type OnlineSingleLinkResourceSpecifier = `onlineResourceType:singleLink`;
|
|
6006
6103
|
type EditableContactDetailsSpecifier = `contact:editableDetails`;
|
|
6007
|
-
type
|
|
6104
|
+
type FormFieldModelSpecifier = OnlineLinkResourceSpecifier | DatasetDistributionsSpecifier | OnlineSingleLinkResourceSpecifier | EditableContactDetailsSpecifier | `flags:${RecordFlag}`;
|
|
6008
6105
|
type FormFieldComponentName = 'form-field-constraints-shortcuts' | 'form-field-spatial-toggle';
|
|
6009
6106
|
interface EditorFieldIdentification {
|
|
6010
|
-
model?:
|
|
6011
|
-
modelSpecifier?:
|
|
6107
|
+
model?: FormFieldModel;
|
|
6108
|
+
modelSpecifier?: FormFieldModelSpecifier;
|
|
6012
6109
|
componentName?: FormFieldComponentName;
|
|
6013
6110
|
}
|
|
6014
6111
|
interface EditorField extends EditorFieldIdentification {
|
|
@@ -6432,8 +6529,8 @@ declare class FormFieldSpatialExtentComponent {
|
|
|
6432
6529
|
declare class FormFieldComponent {
|
|
6433
6530
|
uniqueIdentifier: string;
|
|
6434
6531
|
recordKind: RecordKind;
|
|
6435
|
-
model:
|
|
6436
|
-
modelSpecifier:
|
|
6532
|
+
model: FormFieldModel;
|
|
6533
|
+
modelSpecifier: FormFieldModelSpecifier;
|
|
6437
6534
|
componentName: FormFieldComponentName;
|
|
6438
6535
|
config: FormFieldConfig;
|
|
6439
6536
|
value: unknown;
|
|
@@ -6456,6 +6553,7 @@ declare class FormFieldComponent {
|
|
|
6456
6553
|
get valueAsIndividuals(): Array<Individual>;
|
|
6457
6554
|
get valueAsOnlineResources(): Array<OnlineResource>;
|
|
6458
6555
|
get valueAsResourceIdentifierCode(): string;
|
|
6556
|
+
get recordFlag(): RecordFlag;
|
|
6459
6557
|
handleResourceIdentifierChange(code: string): void;
|
|
6460
6558
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldComponent, never>;
|
|
6461
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: {}; }]>;
|
|
@@ -6485,6 +6583,7 @@ declare class FormFieldTopicsComponent {
|
|
|
6485
6583
|
declare class RecordFormComponent implements OnInit, OnDestroy {
|
|
6486
6584
|
facade: EditorFacade;
|
|
6487
6585
|
notifications: NotificationsService;
|
|
6586
|
+
platform: PlatformServiceInterface;
|
|
6488
6587
|
subscription: Subscription;
|
|
6489
6588
|
recordUniqueIdentifier$: rxjs.Observable<string>;
|
|
6490
6589
|
recordKind$: rxjs.Observable<"dataset" | "service" | "reuse">;
|
|
@@ -6494,14 +6593,16 @@ declare class RecordFormComponent implements OnInit, OnDestroy {
|
|
|
6494
6593
|
focusField(model: CatalogRecordKeys, sectionIndex: number): void;
|
|
6495
6594
|
ngOnInit(): void;
|
|
6496
6595
|
ngOnDestroy(): void;
|
|
6497
|
-
handleFieldValueChange(model:
|
|
6498
|
-
fieldTracker(index: number, field: EditorFieldWithValue):
|
|
6596
|
+
handleFieldValueChange(model: FormFieldModel, newValue: EditorFieldValue): void;
|
|
6597
|
+
fieldTracker(index: number, field: EditorFieldWithValue): FormFieldModel;
|
|
6499
6598
|
sectionTracker(index: number, section: EditorSectionWithValues): string;
|
|
6500
6599
|
getFieldLocation(model: CatalogRecordKeys): Promise<{
|
|
6501
6600
|
page: number;
|
|
6502
6601
|
section: number;
|
|
6503
6602
|
} | null>;
|
|
6504
6603
|
private recordSignal;
|
|
6604
|
+
private userSignal;
|
|
6605
|
+
private isAdminSignal;
|
|
6505
6606
|
private expressionCache;
|
|
6506
6607
|
evaluateExpression(expressionOrValue: string | EditorFieldValue): Signal<EditorFieldValue>;
|
|
6507
6608
|
static ɵfac: i0.ɵɵFactoryDeclaration<RecordFormComponent, never>;
|
|
@@ -7008,6 +7109,19 @@ interface SearchPreset {
|
|
|
7008
7109
|
name: string;
|
|
7009
7110
|
filters: Record<string, string[] | string>;
|
|
7010
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
|
+
}
|
|
7011
7125
|
interface MetadataQualityConfig {
|
|
7012
7126
|
ENABLED: boolean;
|
|
7013
7127
|
}
|
|
@@ -7022,15 +7136,33 @@ type CustomTranslations = {
|
|
|
7022
7136
|
type CustomTranslationsAllLanguages = {
|
|
7023
7137
|
[lang: string]: CustomTranslations;
|
|
7024
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;
|
|
7025
7153
|
interface SearchConfig {
|
|
7026
7154
|
RECORD_KIND_QUICK_FILTER?: boolean;
|
|
7027
7155
|
FILTER_GEOMETRY_URL?: string;
|
|
7028
7156
|
FILTER_GEOMETRY_DATA?: string;
|
|
7029
7157
|
DO_NOT_USE_DEFAULT_SEARCH_PRESET?: boolean;
|
|
7030
7158
|
SEARCH_PRESET?: SearchPreset[];
|
|
7031
|
-
ADVANCED_FILTERS?: [];
|
|
7159
|
+
ADVANCED_FILTERS?: string[];
|
|
7160
|
+
CUSTOM_FILTERS?: CustomSearchFieldConfig[];
|
|
7032
7161
|
LIMIT?: number;
|
|
7033
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;
|
|
7034
7166
|
}
|
|
7035
7167
|
interface SearchConfig {
|
|
7036
7168
|
FILTER_GEOMETRY?: Geometry;
|
|
@@ -7043,7 +7175,12 @@ declare function getOptionalSearchConfig(): SearchConfig | null;
|
|
|
7043
7175
|
declare function getOptionalEditorConfig(): EditorConfig | null;
|
|
7044
7176
|
declare function getMetadataQualityConfig(): MetadataQualityConfig;
|
|
7045
7177
|
declare function getCustomTranslations(langCode: string): CustomTranslations;
|
|
7046
|
-
|
|
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>>;
|
|
7047
7184
|
declare function isConfigLoaded(): boolean;
|
|
7048
7185
|
declare function _reset(): void;
|
|
7049
7186
|
declare const TRANSLATE_WITH_OVERRIDES_CONFIG: TranslateModuleConfig;
|
|
@@ -7051,6 +7188,7 @@ declare const TRANSLATE_WITH_OVERRIDES_CONFIG: TranslateModuleConfig;
|
|
|
7051
7188
|
declare const okAppConfigFixture: () => string;
|
|
7052
7189
|
declare const appConfigWithTranslationFixture: () => string;
|
|
7053
7190
|
declare const minimalAppConfigFixture: () => string;
|
|
7191
|
+
declare const customFilterMissingMandatoryConfigFixture: () => string;
|
|
7054
7192
|
declare const mapConfigFixture: () => MapConfig;
|
|
7055
7193
|
declare const malformedConfigFixture: () => string;
|
|
7056
7194
|
declare const missingMandatoryConfigFixture: () => string;
|
|
@@ -7059,6 +7197,27 @@ declare const unrecognizedKeysConfigFixture: () => string;
|
|
|
7059
7197
|
|
|
7060
7198
|
declare function getMapContextLayerFromConfig(config: LayerConfig): MapContextLayer;
|
|
7061
7199
|
|
|
7062
|
-
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, ButtonComponent, CHART_TYPE_VALUES, CLEAR_ERROR, CLEAR_RESULTS, CarouselComponent, CatalogTitleComponent, CellPopinComponent, ChartComponent, ChartViewComponent, CheckToggleComponent, CheckboxComponent, ClearError, ClearResults, ColorScaleComponent, ConfirmationDialogComponent, ContactDetailsComponent, ContactDetailsFormComponent, ContactPillComponent, ContentGhostComponent, CopyTextButtonComponent, DEFAULT_BASEMAP_LAYER, DEFAULT_CONFIGURATION, DEFAULT_GN4_LOGIN_URL, DEFAULT_GN4_LOGOUT_URL, DEFAULT_GN4_SETTINGS_URL, DEFAULT_LANG, DEFAULT_PAGE_SIZE, DEFAULT_RECORD_CONVERTER, DEFAULT_RESULTS_LAYOUT_CONFIG, DEFAULT_SEARCH_KEY, DEFAULT_SPATIAL_EXTENT_STYLE, DISABLE_AUTH, DISABLE_DRAFT, DO_NOT_USE_DEFAULT_BASEMAP, DataService, DataTableComponent, DataViewComponent, DataViewPermalinkComponent, DataViewShareComponent, DataViewWebComponentComponent, DatePickerComponent, DateRangeDropdownComponent, DateRangeInputsComponent, DateRangePickerComponent, DateRangeSearchField, DateService, DcatApConverter, DefaultRouterModule, DownloadItemComponent, DownloadsListComponent, DragAndDropFileInputComponent, DropdownMultiselectComponent, DropdownSelectorComponent, EDITOR_FEATURE_KEY, ES_QUERY_FIELDS_PRIORITY, ES_RESOURCES_VALUES, ES_SOURCE_SUMMARY, EXTERNAL_VIEWER_OPEN_NEW_TAB, EXTERNAL_VIEWER_URL_TEMPLATE, EditableLabelDirective, EditorFacade, EditorService, ElasticsearchService, ErrorComponent, ErrorType, ExpandablePanelButtonComponent, ExpandablePanelComponent, ExternalLinkCardComponent, ExternalViewerButtonComponent, FIELDS_BRIEF, FIELDS_SUMMARY, FILTER_GEOMETRY, FILTER_SUMMARY_IGNORE_LIST, FORMATS, FacetBlockComponent, FacetItemComponent, FacetListComponent, FacetsContainerComponent, FavoriteStarComponent, FavoritesService, FeatureCatalogListComponent, FeatureDetailComponent, FeatureEditorModule, FeatureMapModule, FeatureRecordModule, FeatureSearchModule, FetchError, FieldFocusDirective, FieldsService, FigureComponent, FigureContainerComponent, FileInputComponent, FileTranslateLoader, FilesDropDirective, FilterDropdownComponent, FormFieldArrayComponent, FormFieldComponent, FormFieldDateComponent, FormFieldFileComponent, FormFieldKeywordsComponent, FormFieldLicenseComponent, FormFieldObjectComponent, FormFieldRichComponent, FormFieldSimpleComponent, FormFieldSpatialExtentComponent, FormFieldTemporalExtentsComponent, FormFieldTopicsComponent, FormFieldWrapperComponent, FullTextSearchField, FuzzySearchComponent, GEONETWORK_UI_TAG_NAME, GEONETWORK_UI_VERSION, GeoDataBadgeComponent, GeoTableViewComponent, GeocodingComponent, GeojsonReader, Gn4Converter, Gn4PlatformMapper, Gn4PlatformService, Gn4Repository, Gn4SettingsService, GnUiHumanizeDateDirective, GpfApiDlComponent, GravatarService, I18nInterceptor, ISO_TOPICS, ImageFallbackDirective, ImageInputComponent, ImageOverlayPreviewComponent, ImportRecordComponent, InlineFilterComponent, InteractiveTableColumnComponent, InteractiveTableComponent, InternalLinkCardComponent, IsSpatialSearchField, Iso191153Converter, Iso19139Converter, KeywordBadgeComponent, KindBadgeComponent, LANGUAGES_LIST, LANGUAGE_NAMES, LANGUAGE_STORAGE_KEY, LANG_2_TO_3_MAPPER, LOGIN_URL, LOGOUT_URL, LONLAT_CRS_CODES, LanguageSwitcherComponent, LayersPanelComponent, LicenseSearchField, LinkClassifierService, LinkUsage, LoadingMaskComponent, LogService, MAP_FEATURE_KEY, MAP_VIEW_CONSTRAINTS, MAX_UPLOAD_SIZE_MB, METADATA_LANGUAGE, MapContainerComponent, MapFacade, MapLegendComponent, MapStateContainerComponent, MapStyleService, MapUtilsService, MapViewComponent, MarkdownEditorComponent, MarkdownParserComponent, MaxLinesComponent, mdview_actions_d as MdViewActions, MdViewFacade, MetadataCatalogComponent, MetadataContactComponent, MetadataDoiComponent, MetadataInfoComponent, MetadataLinkType, MetadataMapperContext, MetadataQualityComponent, MetadataQualityItemComponent, MetadataQualityPanelComponent, ModalDialogComponent, MultilingualPanelComponent, MultilingualSearchField, MyOrgService, NAMESPACES, NOT_APPLICABLE_CONSTRAINT, NOT_KNOWN_CONSTRAINT, NotificationComponent, NotificationsContainerComponent, NotificationsService, OPEN_DATA_LICENSE, ORGANIZATIONS_STRATEGY, ORGANIZATION_PAGE_URL_TOKEN, ORGANIZATION_URL_TOKEN, OnlineResourceCardComponent, OnlineServiceResourceInputComponent, OrganisationPreviewComponent, OrganisationsComponent, OrganisationsFilterComponent, OrganisationsResultComponent, OrganizationSearchField, OrganizationsFromGroupsService, OrganizationsFromMetadataService, OrganizationsServiceInterface, OwnerSearchField, PAGINATE, PARSE_DELIMITER, PATCH_RESULTS_AGGREGATIONS, PROXY_PATH, Paginate, PaginationButtonsComponent, PaginationComponent, PaginationDotsComponent, PatchResultsAggregations, PlatformServiceInterface, PopoverComponent, PopupAlertComponent, PossibleResourceTypes, PossibleResourceTypesDefinition, PreviousNextButtonsComponent, ProgressBarComponent, ProxyService, QUERY_FIELDS, RECORD_DATASET_URL_TOKEN, RECORD_REUSE_URL_TOKEN, RECORD_SERVICE_URL_TOKEN, REQUEST_MORE_ON_AGGREGATION, REQUEST_MORE_RESULTS, REQUEST_NEW_RESULTS, RESULTS_LAYOUT_CONFIG, REUSE_LIGHT_CONFIGURATION, ROUTER_CONFIG, ROUTER_ROUTE_DATASET, ROUTER_ROUTE_ORGANIZATION, ROUTER_ROUTE_REUSE, ROUTER_ROUTE_SEARCH, ROUTER_ROUTE_SERVICE, ROUTER_STATE_KEY, ROUTE_PARAMS, RecordApiFormComponent, RecordFormComponent, RecordKindField, RecordMetaComponent, RecordMetricComponent, RecordPreviewCardComponent, RecordPreviewComponent, RecordPreviewFeedComponent, RecordPreviewListComponent, RecordPreviewRowComponent, RecordPreviewTextComponent, RecordPreviewTitleComponent, RecordStatusValues, RecordsMetricsComponent, RecordsRepositoryInterface, RecordsService, RequestMoreOnAggregation, RequestMoreResults, RequestNewResults, ResourceTypeLegacyField, ResultsHitsContainerComponent, ResultsHitsNumberComponent, ResultsHitsSearchKindComponent, ResultsLayoutComponent, ResultsLayoutConfigItem, ResultsListComponent, ResultsListContainerComponent, ResultsListItemComponent, ResultsTableComponent, ResultsTableContainerComponent, ReusePresentationForms, RoleLabels, RoleValues, RouterEffects, RouterFacade, RouterService, SEARCH_FEATURE_KEY, SETTINGS_URL, SET_CONFIG_AGGREGATIONS, SET_CONFIG_FILTERS, SET_CONFIG_REQUEST_FIELDS, SET_ERROR, SET_FAVORITES_ONLY, SET_FILTERS, SET_INCLUDE_ON_AGGREGATION, SET_PAGE_SIZE, SET_RESULTS_AGGREGATIONS, SET_RESULTS_HITS, SET_RESULTS_LAYOUT, SET_SEARCH, SET_SORT_BY, SET_SPATIAL_FILTER_ENABLED, SPATIAL_SCOPES, SearchEffects, SearchFacade, SearchFeatureCatalogComponent, SearchFiltersSummaryComponent, SearchFiltersSummaryItemComponent, SearchInputComponent, SearchRouterContainerDirective, SearchService, SearchStateContainerDirective, SelectionService, ServiceCapabilitiesComponent, SetConfigAggregations, SetConfigFilters, SetConfigRequestFields, SetError, SetFavoritesOnly, SetFilters, SetIncludeOnAggregation, SetPageSize, SetResultsAggregations, SetResultsHits, SetResultsLayout, SetSearch, SetSortBy, SetSpatialFilterEnabled, SimpleSearchField, SiteTitleComponent, SortByComponent, SortByEnum, SortableListComponent, SourceLabelComponent, SourcesService, SpatialExtentComponent, SpatialExtentDropdownComponent, SpatialExtentSearchField, SpinningLoaderComponent, StacItemsResultGridComponent, StacViewComponent, StarToggleComponent, StickyHeaderComponent, SupportedTypes, SwitchToggleComponent, THUMBNAIL_PLACEHOLDER, TRANSLATE_DEBUG_CONFIG, TRANSLATE_DEFAULT_CONFIG, TRANSLATE_WITH_OVERRIDES_CONFIG, TableViewComponent, TextAreaComponent, TextInputComponent, ThemeService, ThumbnailComponent, TranslatedSearchField, TruncatedTextComponent, UPDATE_CONFIG_AGGREGATIONS, UPDATE_FILTERS, UPDATE_REQUEST_AGGREGATION_TERM, UpdateConfigAggregations, UpdateFilters, UrlInputComponent, UserFeedbackItemComponent, UserPreviewComponent, UserSearchField, VECTOR_STYLE_DEFAULT, ViewportIntersectorComponent, WEB_COMPONENT_EMBEDDER_URL, XmlParseError, _reset, allChildrenElement, appConfigWithTranslationFixture, appendChildTree, appendChildren, assertValidXml, associationTypeValues, bboxToPolygon, blockModelFixture, bytesToMegabytes, canEditRecord, checkFileFormat, clearSelectedFeatures, createChild, createDocument, createElement, createFuzzyFilter, createNestedChild, createNestedElement, createSpatialExtentLayer, currentPage, defaultMapStyleFixture, defaultMapStyleHlFixture, downgradeImage, downsizeImage, draftSaveSuccess, dragPanCondition, dropEmptyTranslations, editorReducer, emptyBlockModelFixture, findChildElement, findChildOrCreate, findChildrenElement, findConverterForDocument, findNestedChildOrCreate, findNestedElement, findNestedElements, findParent, firstChildElement, formatDate, formatUserInfo, getAddressLines, getAllKeysValidator, getArrayItem, getAsArray, getAsUrl, getBadgeColor, getCustomTranslations, getError, getFavoritesOnly, getFileFormat, getFileFormatFromServiceOutput, getFirstValue, getFormatPriority, getGeometryBoundingBox, getGeometryFromGeoJSON, getGlobalConfig, getIndividualDisplayName, getIsMobile, getJsonDataItemsProxy, getKeywordHierarchyPath, getLayers, getLinkId, getLinkLabel, getLinkPriority, getMapContext, getMapContextLayerFromConfig, getMapState, getMetadataQualityConfig, getMimeTypeForFormat, getNamespace, getOptionalEditorConfig, getOptionalMapConfig, getOptionalSearchConfig, getPageSize, getQualityValidators, getResourceType, getReusePresentationForm, getReuseType, getRootElement, getSearchConfigAggregations, getSearchFilters, getSearchResults, getSearchResultsAggregations, getSearchResultsHits, getSearchResultsLayout, getSearchResultsLoading, getSearchSortBy, getSearchState, getSearchStateSearch, getSelectedFeatures, getSpatialFilterEnabled, getTemporalRangeUnion, getThemeConfig, handleScrollOnNavigation, hasRecordChangedSinceDraft, hasRecordChangedSinceDraftSuccess, initSearch, initialEditorState, initialMapState, initialState, isConfigLoaded, isDateRange, isFileExtensionValid, isFormatInQueryParam, isPublished, itemModelFixture, kindToCodeListValue, loadAppConfig, malformedConfigFixture, mapConfigFixture, mapContact, mapKeywords, mapLogo, mapOrganization, mapReducer, markRecordAsChanged, matchesNoApplicableConstraint, matchesNoKnownConstraint, megabytesToBytes, mimeTypeToFormat, minimalAppConfigFixture, missingMandatoryConfigFixture, mouseWheelZoomCondition, noDuplicateFileName, okAppConfigFixture, openDataset, openRecord, organizationsServiceFactory, parse, parseXmlString, placeholder, prioritizePageScroll, propagateToDocumentOnly, provideGn4, provideI18n, 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 };
|
|
7063
|
-
|
|
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 };
|
|
7064
7223
|
//# sourceMappingURL=index.d.ts.map
|