geonetwork-ui 2.11.0-dev.fb3fea50c → 2.11.0-dev.fb48cfeee
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 +1675 -1322
- package/fesm2022/geonetwork-ui.mjs.map +1 -1
- package/index.d.ts +205 -111
- package/index.d.ts.map +1 -1
- package/package.json +6 -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 +67 -10
- package/src/libs/api/repository/src/lib/gn4/gn4-repository.ts +83 -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 +12 -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 +7 -1
- package/src/libs/feature/search/src/lib/filter-dropdown/filter-dropdown.component.ts +26 -4
- 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 +1 -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 +56 -4
- package/src/libs/feature/search/src/lib/utils/service/fields.ts +58 -16
- 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 +8 -2
- package/src/libs/ui/inputs/src/lib/spatial-extent-dropdown/spatial-extent-dropdown.component.ts +34 -5
- package/src/libs/ui/layout/src/lib/block-list/block-list.component.css +1 -0
- package/src/libs/util/app-config/src/lib/app-config.ts +34 -0
- package/src/libs/util/app-config/src/lib/fixtures.ts +37 -1
- package/src/libs/util/app-config/src/lib/model.ts +24 -1
- package/src/libs/util/shared/src/lib/links/link-utils.ts +19 -10
- package/src/libs/util/shared/src/lib/utils/geojson.ts +16 -0
- package/translations/de.json +12 -2
- package/translations/en.json +14 -4
- package/translations/es.json +12 -2
- package/translations/fr.json +19 -9
- package/translations/it.json +12 -2
- package/translations/nl.json +12 -2
- package/translations/pt.json +12 -2
- package/translations/sk.json +12 -2
- 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
|
@@ -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;
|
|
@@ -773,8 +791,9 @@ type QueryString = {
|
|
|
773
791
|
type QueryRange = {
|
|
774
792
|
range: Record<string, {
|
|
775
793
|
format: string;
|
|
776
|
-
gte
|
|
777
|
-
lte
|
|
794
|
+
gte?: string;
|
|
795
|
+
lte?: string;
|
|
796
|
+
relation?: string;
|
|
778
797
|
}>;
|
|
779
798
|
};
|
|
780
799
|
type QueryGeoShape = {
|
|
@@ -788,7 +807,12 @@ type QueryGeoShape = {
|
|
|
788
807
|
};
|
|
789
808
|
};
|
|
790
809
|
};
|
|
791
|
-
type
|
|
810
|
+
type QueryBool = {
|
|
811
|
+
bool: {
|
|
812
|
+
filter: QueryRange[];
|
|
813
|
+
};
|
|
814
|
+
};
|
|
815
|
+
type FilterQuery = Array<QueryString | QueryRange | QueryGeoShape | QueryBool>;
|
|
792
816
|
|
|
793
817
|
interface TermsAggregationParams {
|
|
794
818
|
type: 'terms';
|
|
@@ -796,6 +820,8 @@ interface TermsAggregationParams {
|
|
|
796
820
|
limit: number;
|
|
797
821
|
sort: AggregationSort;
|
|
798
822
|
filter?: string;
|
|
823
|
+
includeValues?: string[];
|
|
824
|
+
excludeValues?: string[];
|
|
799
825
|
}
|
|
800
826
|
interface HistogramAggregationParams {
|
|
801
827
|
type: 'histogram';
|
|
@@ -1070,7 +1096,7 @@ declare abstract class RecordsRepositoryInterface {
|
|
|
1070
1096
|
abstract search(params: SearchParams): Observable<SearchResults>;
|
|
1071
1097
|
abstract getMatchesCount(filters: FieldFilters): Observable<number>;
|
|
1072
1098
|
abstract getRecord(uniqueIdentifier: string): Observable<CatalogRecord | null>;
|
|
1073
|
-
abstract
|
|
1099
|
+
abstract queryLinkedFeatureCatalog(record: CatalogRecord): Observable<DatasetFeatureCatalog | null>;
|
|
1074
1100
|
abstract aggregate(params: AggregationsParams): Observable<Aggregations>;
|
|
1075
1101
|
abstract getSimilarRecords(similarTo: CatalogRecord): Observable<CatalogRecord[]>;
|
|
1076
1102
|
abstract getLinkedRecords(record: CatalogRecord): Observable<LinkedRecord[]>;
|
|
@@ -1134,6 +1160,15 @@ declare abstract class RecordsRepositoryInterface {
|
|
|
1134
1160
|
}>;
|
|
1135
1161
|
abstract getRecordPublicationStatus(uuid: string): Observable<boolean>;
|
|
1136
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>;
|
|
1137
1172
|
}
|
|
1138
1173
|
|
|
1139
1174
|
type RecordAsXml = string;
|
|
@@ -1148,6 +1183,7 @@ declare class Gn4Repository implements RecordsRepositoryInterface {
|
|
|
1148
1183
|
private platformService;
|
|
1149
1184
|
private gn4LanguagesApi;
|
|
1150
1185
|
private settingsService;
|
|
1186
|
+
private gn4TagsApi;
|
|
1151
1187
|
private disableDraft;
|
|
1152
1188
|
private defaultConverter;
|
|
1153
1189
|
_draftsChanged: Subject<void>;
|
|
@@ -1156,8 +1192,7 @@ declare class Gn4Repository implements RecordsRepositoryInterface {
|
|
|
1156
1192
|
getMatchesCount(filters: FieldFilters): Observable<number>;
|
|
1157
1193
|
getRecord(uniqueIdentifier: string): Observable<CatalogRecord | null>;
|
|
1158
1194
|
getMultipleRecords(uniqueIdentifiers: string[]): Observable<CatalogRecord[] | null>;
|
|
1159
|
-
|
|
1160
|
-
getFeatureCatalog(record: CatalogRecord, visited?: Set<string>): Observable<DatasetFeatureCatalog | null>;
|
|
1195
|
+
queryLinkedFeatureCatalog(record: CatalogRecord, visited?: Set<string>): Observable<DatasetFeatureCatalog | null>;
|
|
1161
1196
|
getSimilarRecords(similarTo: CatalogRecord): Observable<CatalogRecord[]>;
|
|
1162
1197
|
getLinkedRecords(record: CatalogRecord): Observable<LinkedRecord[]>;
|
|
1163
1198
|
aggregate(params: AggregationsParams): Observable<Aggregations>;
|
|
@@ -1191,6 +1226,10 @@ declare class Gn4Repository implements RecordsRepositoryInterface {
|
|
|
1191
1226
|
private saveRecordToLocalStorage;
|
|
1192
1227
|
private getRecordFromLocalStorage;
|
|
1193
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>;
|
|
1194
1233
|
static ɵfac: i0.ɵɵFactoryDeclaration<Gn4Repository, never>;
|
|
1195
1234
|
static ɵprov: i0.ɵɵInjectableDeclaration<Gn4Repository>;
|
|
1196
1235
|
}
|
|
@@ -1725,10 +1764,12 @@ declare class ElasticsearchService {
|
|
|
1725
1764
|
private translateService;
|
|
1726
1765
|
private injector;
|
|
1727
1766
|
private runtimeFields;
|
|
1767
|
+
private fieldAliases;
|
|
1728
1768
|
private get metadataLang();
|
|
1729
1769
|
getSearchRequestBody(aggregations?: any, size?: number, from?: number, sortBy?: SortByField, requestFields?: RequestFields, searchFilters?: SearchFilters, configFilters?: SearchFilters, uuids?: string[], geometry?: Geometry): EsSearchParams;
|
|
1730
1770
|
private processRuntimeFields;
|
|
1731
1771
|
registerRuntimeField(fieldName: string, expression: string, type?: 'keyword' | 'date'): void;
|
|
1772
|
+
registerFieldAlias(fieldIdentifier: string, esFieldName: string): void;
|
|
1732
1773
|
getMetadataByIdsPayload(uuids: string[]): EsSearchParams;
|
|
1733
1774
|
getRelatedRecordPayload(record: CatalogRecord, size?: number, _source?: string[]): EsSearchParams;
|
|
1734
1775
|
private buildPayloadSort;
|
|
@@ -1736,6 +1777,7 @@ declare class ElasticsearchService {
|
|
|
1736
1777
|
private getQueryLang;
|
|
1737
1778
|
private isCurrentSearchLang;
|
|
1738
1779
|
private findSpatialFilterExtent;
|
|
1780
|
+
private buildDateRangeQuery;
|
|
1739
1781
|
private filtersToQuery;
|
|
1740
1782
|
private mustNotFilters;
|
|
1741
1783
|
private buildPayloadQuery;
|
|
@@ -1836,6 +1878,7 @@ declare abstract class PlatformServiceInterface {
|
|
|
1836
1878
|
abstract supportsAuthentication(): boolean;
|
|
1837
1879
|
abstract getMe(): Observable<UserModel>;
|
|
1838
1880
|
abstract isAnonymous(): Observable<boolean>;
|
|
1881
|
+
abstract isAdministrator(): Observable<boolean>;
|
|
1839
1882
|
abstract getUsers(): Observable<UserModel[]>;
|
|
1840
1883
|
abstract getUserPermissionsByGroup(): Observable<GroupModel[]>;
|
|
1841
1884
|
abstract getUsersByOrganization(organisation: Organization): Observable<UserModel[]>;
|
|
@@ -2012,6 +2055,7 @@ declare class Gn4PlatformService implements PlatformServiceInterface {
|
|
|
2012
2055
|
private readonly gnParseVersion;
|
|
2013
2056
|
private keyTranslations$;
|
|
2014
2057
|
private me$;
|
|
2058
|
+
private isAdmin$;
|
|
2015
2059
|
/**
|
|
2016
2060
|
* A map of already loaded thesauri (groups of keywords); the key is a URI
|
|
2017
2061
|
* @private
|
|
@@ -2025,6 +2069,7 @@ declare class Gn4PlatformService implements PlatformServiceInterface {
|
|
|
2025
2069
|
getApiVersion(): Observable<string>;
|
|
2026
2070
|
getMe(): Observable<UserModel>;
|
|
2027
2071
|
isAnonymous(): Observable<boolean>;
|
|
2072
|
+
isAdministrator(): Observable<boolean>;
|
|
2028
2073
|
getOrganizations(): Observable<Organization[]>;
|
|
2029
2074
|
getUsersByOrganization(organisation: Organization): Observable<UserModel[]>;
|
|
2030
2075
|
getUsers(): Observable<UserModel[]>;
|
|
@@ -2196,6 +2241,11 @@ declare function createFuzzyFilter(pattern: string): FuzzyFilter;
|
|
|
2196
2241
|
declare function getGeometryFromGeoJSON(data: FeatureCollection | Feature | Geometry): Geometry | null;
|
|
2197
2242
|
type BoundingBox = [number, number, number, number];
|
|
2198
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;
|
|
2199
2249
|
declare function getGeometryBoundingBox(geometry: Geometry): BoundingBox;
|
|
2200
2250
|
/**
|
|
2201
2251
|
* Builds the closed GeoJSON Polygon matching the given bounding box.
|
|
@@ -2401,14 +2451,7 @@ declare function checkFileFormat(link: DatasetOnlineResource | ServiceOnlineReso
|
|
|
2401
2451
|
declare function getBadgeColor(linkFormat: FileFormat): string;
|
|
2402
2452
|
declare function getLinkId(link: DatasetOnlineResource): string;
|
|
2403
2453
|
declare function getLinkLabel(link: DatasetOnlineResource | ServiceOnlineResource): string;
|
|
2404
|
-
declare function getLayers(url: string, serviceProtocol: ServiceProtocol): Promise<
|
|
2405
|
-
name: string;
|
|
2406
|
-
hasRecords?: boolean;
|
|
2407
|
-
hasFeatures?: boolean;
|
|
2408
|
-
hasVectorTiles?: boolean;
|
|
2409
|
-
hasMapTiles?: boolean;
|
|
2410
|
-
hasDataQueries?: boolean;
|
|
2411
|
-
}[] | _camptocamp_ogc_client.WfsFeatureTypeFull[] | _camptocamp_ogc_client.WmsLayerFull[] | _camptocamp_ogc_client.WmtsLayer[]>;
|
|
2454
|
+
declare function getLayers(url: string, serviceProtocol: ServiceProtocol, deep?: boolean): Promise<any[]>;
|
|
2412
2455
|
declare function wmsLayerFlatten(layerFull: any): any[];
|
|
2413
2456
|
declare function getMimeTypeForFormat(format: FileFormat): string | null;
|
|
2414
2457
|
|
|
@@ -2492,30 +2535,6 @@ declare class MapUtilsService {
|
|
|
2492
2535
|
static ɵprov: i0.ɵɵInjectableDeclaration<MapUtilsService>;
|
|
2493
2536
|
}
|
|
2494
2537
|
|
|
2495
|
-
interface CreateStyleOptions {
|
|
2496
|
-
color: string;
|
|
2497
|
-
isFocused?: boolean;
|
|
2498
|
-
}
|
|
2499
|
-
type StyleByGeometryType = {
|
|
2500
|
-
line: Style | Style[];
|
|
2501
|
-
polygon: Style | Style[];
|
|
2502
|
-
point: Style | Style[];
|
|
2503
|
-
};
|
|
2504
|
-
declare class MapStyleService {
|
|
2505
|
-
styles: {
|
|
2506
|
-
default: StyleLike;
|
|
2507
|
-
defaultHL: StyleLike;
|
|
2508
|
-
};
|
|
2509
|
-
createGeometryStyles(options: CreateStyleOptions): StyleByGeometryType;
|
|
2510
|
-
createStyleFunction(styleByGeometryType: StyleByGeometryType): StyleLike;
|
|
2511
|
-
private computeTransparentFillColor;
|
|
2512
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MapStyleService, never>;
|
|
2513
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<MapStyleService>;
|
|
2514
|
-
}
|
|
2515
|
-
|
|
2516
|
-
declare const defaultMapStyleFixture: () => Style;
|
|
2517
|
-
declare const defaultMapStyleHlFixture: () => Style;
|
|
2518
|
-
|
|
2519
2538
|
declare class LayersPanelComponent {
|
|
2520
2539
|
private mapFacade;
|
|
2521
2540
|
layers$: rxjs.Observable<MapContextLayer[]>;
|
|
@@ -2761,6 +2780,13 @@ declare class AutocompleteComponent implements OnInit, AfterViewInit, OnDestroy,
|
|
|
2761
2780
|
triggerRef: MatAutocompleteTrigger;
|
|
2762
2781
|
autocomplete: MatAutocomplete;
|
|
2763
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
|
+
}>;
|
|
2764
2790
|
searching: boolean;
|
|
2765
2791
|
control: UntypedFormControl;
|
|
2766
2792
|
cancelEnter: boolean;
|
|
@@ -2806,7 +2832,7 @@ declare class AutocompleteComponent implements OnInit, AfterViewInit, OnDestroy,
|
|
|
2806
2832
|
handleSelection(event: MatAutocompleteSelectedEvent): void;
|
|
2807
2833
|
handleInput(event: InputEvent): void;
|
|
2808
2834
|
static ɵfac: i0.ɵɵFactoryDeclaration<AutocompleteComponent, never>;
|
|
2809
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AutocompleteComponent, "gn-ui-autocomplete", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "enterButton": { "alias": "enterButton"; "required": false; }; "action": { "alias": "action"; "required": false; }; "value": { "alias": "value"; "required": false; }; "clearOnSelection": { "alias": "clearOnSelection"; "required": false; }; "preventCompleteOnSelection": { "alias": "preventCompleteOnSelection"; "required": false; }; "autoFocus": { "alias": "autoFocus"; "required": false; }; "minCharacterCount": { "alias": "minCharacterCount"; "required": false; }; "allowSubmit": { "alias": "allowSubmit"; "required": false; }; "forceTrackPosition": { "alias": "forceTrackPosition"; "required": false; }; "displayWithFn": { "alias": "displayWithFn"; "required": false; }; }, { "itemSelected": "itemSelected"; "inputSubmitted": "inputSubmitted"; "inputCleared": "inputCleared"; "isSearchActive": "isSearchActive"; }, never, never, true, never>;
|
|
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>;
|
|
2810
2836
|
}
|
|
2811
2837
|
|
|
2812
2838
|
declare class BadgeComponent {
|
|
@@ -2940,20 +2966,20 @@ declare class DragAndDropFileInputComponent {
|
|
|
2940
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>;
|
|
2941
2967
|
}
|
|
2942
2968
|
|
|
2943
|
-
interface Choice$1 {
|
|
2944
|
-
value:
|
|
2969
|
+
interface Choice$1<T = unknown> {
|
|
2970
|
+
value: T;
|
|
2945
2971
|
label: string;
|
|
2946
2972
|
}
|
|
2947
2973
|
|
|
2948
|
-
declare class DropdownMultiselectComponent {
|
|
2974
|
+
declare class DropdownMultiselectComponent<T = unknown> {
|
|
2949
2975
|
private scrollStrategies;
|
|
2950
2976
|
title: string;
|
|
2951
|
-
choices: Choice$1[];
|
|
2952
|
-
selected:
|
|
2977
|
+
choices: Choice$1<T>[];
|
|
2978
|
+
selected: T[];
|
|
2953
2979
|
allowSearch: boolean;
|
|
2954
2980
|
maxRows: number;
|
|
2955
2981
|
searchInputValue: string;
|
|
2956
|
-
selectValues: EventEmitter<
|
|
2982
|
+
selectValues: EventEmitter<T[]>;
|
|
2957
2983
|
overlayOrigin: CdkOverlayOrigin;
|
|
2958
2984
|
overlay: CdkConnectedOverlay;
|
|
2959
2985
|
overlayContainer: ElementRef;
|
|
@@ -2966,8 +2992,8 @@ declare class DropdownMultiselectComponent {
|
|
|
2966
2992
|
overlayMaxHeight: string;
|
|
2967
2993
|
id: string;
|
|
2968
2994
|
get hasSelectedChoices(): boolean;
|
|
2969
|
-
get selectedChoices(): Choice$1[];
|
|
2970
|
-
get filteredChoicesByText(): Choice$1[];
|
|
2995
|
+
get selectedChoices(): Choice$1<T>[];
|
|
2996
|
+
get filteredChoicesByText(): Choice$1<T>[];
|
|
2971
2997
|
get focusedIndex(): number | -1;
|
|
2972
2998
|
private setFocus;
|
|
2973
2999
|
openOverlay(): Promise<[void, any]>;
|
|
@@ -2977,13 +3003,13 @@ declare class DropdownMultiselectComponent {
|
|
|
2977
3003
|
focusFirstItem(): void;
|
|
2978
3004
|
focusLastItem(): void;
|
|
2979
3005
|
shiftItemFocus(shift: number): void;
|
|
2980
|
-
isSelected(choice: Choice$1): boolean;
|
|
2981
|
-
select(choice: Choice$1
|
|
2982
|
-
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;
|
|
2983
3009
|
clearSelection(event: Event): void;
|
|
2984
3010
|
clearSearchInputValue(event: Event): void;
|
|
2985
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownMultiselectComponent
|
|
2986
|
-
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>;
|
|
2987
3013
|
}
|
|
2988
3014
|
|
|
2989
3015
|
interface DropdownChoice {
|
|
@@ -3236,6 +3262,7 @@ declare class SpatialExtentDropdownComponent {
|
|
|
3236
3262
|
errorChange: EventEmitter<SpatialExtentDropdownError>;
|
|
3237
3263
|
bbox: BoundingBox | null;
|
|
3238
3264
|
fileName: string;
|
|
3265
|
+
locationName: string;
|
|
3239
3266
|
overlayOrigin: CdkOverlayOrigin;
|
|
3240
3267
|
overlay: CdkConnectedOverlay;
|
|
3241
3268
|
fileInput: DragAndDropFileInputComponent;
|
|
@@ -3245,20 +3272,22 @@ declare class SpatialExtentDropdownComponent {
|
|
|
3245
3272
|
overlayMinWidth: string;
|
|
3246
3273
|
errorKey: string | null;
|
|
3247
3274
|
get hasSelection(): boolean;
|
|
3248
|
-
get selectionLabelKey(): "search.filters.spatialExtent.bboxFromFile" | "search.filters.spatialExtent.bboxInitial";
|
|
3249
|
-
get selectionDeleteLabelKey(): "search.filters.spatialExtent.bboxFromFileDelete" | "search.filters.spatialExtent.bboxInitialDelete";
|
|
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";
|
|
3250
3277
|
get selectionLabelParams(): {
|
|
3251
3278
|
fileName: string;
|
|
3279
|
+
locationName: string;
|
|
3252
3280
|
};
|
|
3253
3281
|
openOverlay(): void;
|
|
3254
3282
|
closeOverlay(): void;
|
|
3255
3283
|
toggleOverlay(): void;
|
|
3256
3284
|
handleFileSelected(file: File): Promise<void>;
|
|
3285
|
+
setLocationBbox(bbox: BoundingBox, name: string): void;
|
|
3257
3286
|
handleFileError(error: DragAndDropFileInputError): void;
|
|
3258
3287
|
private setError;
|
|
3259
3288
|
removeSelection(event: Event): void;
|
|
3260
3289
|
static ɵfac: i0.ɵɵFactoryDeclaration<SpatialExtentDropdownComponent, never>;
|
|
3261
|
-
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,
|
|
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>;
|
|
3262
3291
|
}
|
|
3263
3292
|
|
|
3264
3293
|
declare class ResultsHitsSearchKindComponent implements OnChanges {
|
|
@@ -3267,7 +3296,7 @@ declare class ResultsHitsSearchKindComponent implements OnChanges {
|
|
|
3267
3296
|
selectionChanged: EventEmitter<string[]>;
|
|
3268
3297
|
availableChoices: Choice$1[];
|
|
3269
3298
|
ngOnChanges(changes: SimpleChanges): void;
|
|
3270
|
-
buildFilterChoices(availableValues: Choice$1[]): Choice$1[];
|
|
3299
|
+
buildFilterChoices(availableValues: Choice$1[]): Choice$1<unknown>[];
|
|
3271
3300
|
onSelectedValues(values: string[]): void;
|
|
3272
3301
|
isSelectedChoice(choiceValue: string): boolean;
|
|
3273
3302
|
isAllChoice(choiceValue: string): boolean;
|
|
@@ -3377,26 +3406,6 @@ declare class AddLayerRecordPreviewComponent extends RecordPreviewComponent {
|
|
|
3377
3406
|
static ɵcmp: i0.ɵɵComponentDeclaration<AddLayerRecordPreviewComponent, "gn-ui-add-layer-record-preview", never, {}, {}, never, never, true, never>;
|
|
3378
3407
|
}
|
|
3379
3408
|
|
|
3380
|
-
declare class GeocodingComponent implements OnDestroy {
|
|
3381
|
-
private mapFacade;
|
|
3382
|
-
private geocodingService;
|
|
3383
|
-
searchText: string;
|
|
3384
|
-
results: any[];
|
|
3385
|
-
searchTextChanged: Subject<string>;
|
|
3386
|
-
destroy$: Subject<void>;
|
|
3387
|
-
errorMessage: string | null;
|
|
3388
|
-
constructor();
|
|
3389
|
-
ngOnDestroy(): void;
|
|
3390
|
-
onSearchChange(searchText: string): void;
|
|
3391
|
-
clearSearch(): void;
|
|
3392
|
-
zoomToLocation(result: any): Promise<void>;
|
|
3393
|
-
zoomToPoint(pointCoords: [number, number]): Promise<void>;
|
|
3394
|
-
zoomToPolygon(polygonCoords: [[number, number][]]): Promise<void>;
|
|
3395
|
-
onEnterPress(): void;
|
|
3396
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GeocodingComponent, never>;
|
|
3397
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GeocodingComponent, "gn-ui-geocoding", never, {}, {}, never, never, true, never>;
|
|
3398
|
-
}
|
|
3399
|
-
|
|
3400
3409
|
interface NotificationContent {
|
|
3401
3410
|
type: 'info' | 'warning' | 'error' | 'success';
|
|
3402
3411
|
title: string;
|
|
@@ -3430,6 +3439,48 @@ declare class FeatureSearchModule {
|
|
|
3430
3439
|
static ɵinj: i0.ɵɵInjectorDeclaration<FeatureSearchModule>;
|
|
3431
3440
|
}
|
|
3432
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
|
+
|
|
3433
3484
|
declare const FILTER_GEOMETRY: InjectionToken<Promise<Geometry>>;
|
|
3434
3485
|
|
|
3435
3486
|
declare const RECORD_DATASET_URL_TOKEN: InjectionToken<string>;
|
|
@@ -3755,13 +3806,19 @@ declare class SimpleSearchField implements AbstractSearchField {
|
|
|
3755
3806
|
protected orderType: 'key' | 'count';
|
|
3756
3807
|
protected repository: RecordsRepositoryInterface;
|
|
3757
3808
|
protected esService: ElasticsearchService;
|
|
3809
|
+
private customIdentifier?;
|
|
3810
|
+
protected get fieldIdentifier(): string;
|
|
3811
|
+
includeValues: string[];
|
|
3812
|
+
excludeValues: string[];
|
|
3758
3813
|
constructor(esFieldName: string, injector: Injector, order?: 'asc' | 'desc', orderType?: 'key' | 'count');
|
|
3814
|
+
setFieldIdentifier(fieldIdentifier: string): void;
|
|
3759
3815
|
protected getAggregations(): AggregationsParams;
|
|
3760
3816
|
protected getBucketLabel(bucket: TermBucket): Promise<string>;
|
|
3761
3817
|
getAvailableValues(): Observable<FieldAvailableValue[]>;
|
|
3762
3818
|
getFiltersForValues(values: FieldValue[] | DateRange[]): Observable<FieldFilters | string>;
|
|
3763
3819
|
getValuesForFilter(filters: FieldFilters): Observable<FieldValue[] | FieldValue | DateRange>;
|
|
3764
3820
|
getType(): FieldType;
|
|
3821
|
+
clone(): typeof this;
|
|
3765
3822
|
}
|
|
3766
3823
|
declare class TranslatedSearchField extends SimpleSearchField {
|
|
3767
3824
|
protected esFieldName: string;
|
|
@@ -3874,9 +3931,19 @@ declare class RecordKindField extends SimpleSearchField {
|
|
|
3874
3931
|
}
|
|
3875
3932
|
|
|
3876
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[]>;
|
|
3877
3941
|
declare class FieldsService {
|
|
3878
3942
|
protected injector: Injector;
|
|
3943
|
+
private customFields;
|
|
3944
|
+
private baseFields;
|
|
3879
3945
|
protected fields: Record<string, AbstractSearchField>;
|
|
3946
|
+
constructor();
|
|
3880
3947
|
get supportedFields(): string[];
|
|
3881
3948
|
getAvailableValues(fieldName: string): Observable<FieldAvailableValue[] | DateRange[]>;
|
|
3882
3949
|
private getFiltersForValues;
|
|
@@ -4743,6 +4810,7 @@ declare class ResultsListContainerComponent implements OnInit {
|
|
|
4743
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>;
|
|
4744
4811
|
}
|
|
4745
4812
|
|
|
4813
|
+
declare const SPATIAL_EXTENT_MAX_FILE_SIZE: InjectionToken<number>;
|
|
4746
4814
|
declare class FilterDropdownComponent implements OnInit {
|
|
4747
4815
|
private searchFacade;
|
|
4748
4816
|
private searchService;
|
|
@@ -4751,6 +4819,7 @@ declare class FilterDropdownComponent implements OnInit {
|
|
|
4751
4819
|
private translateService;
|
|
4752
4820
|
fieldName: string;
|
|
4753
4821
|
title: string;
|
|
4822
|
+
spatialExtentDropdown: SpatialExtentDropdownComponent;
|
|
4754
4823
|
spatialExtentMaxFileSize: number;
|
|
4755
4824
|
fieldType: FieldType;
|
|
4756
4825
|
choices$: Observable<Choice$1[]>;
|
|
@@ -4760,6 +4829,7 @@ declare class FilterDropdownComponent implements OnInit {
|
|
|
4760
4829
|
onSelectedValues(values: unknown[]): void;
|
|
4761
4830
|
private spatialExtentErrorNotificationId;
|
|
4762
4831
|
onBboxChange(bbox: BoundingBox | null): void;
|
|
4832
|
+
onLocationSelected({ bbox, label }: LocationBbox): void;
|
|
4763
4833
|
onSpatialExtentError(error: SpatialExtentDropdownError): void;
|
|
4764
4834
|
private clearSpatialExtentErrorNotification;
|
|
4765
4835
|
ngOnInit(): void;
|
|
@@ -5156,8 +5226,9 @@ declare class DataService {
|
|
|
5156
5226
|
getDownloadUrlFromEsriRest(apiUrl: string, format: string): string;
|
|
5157
5227
|
getDownloadLinksFromWfs(wfsLink: DatasetServiceDistribution): Observable<DatasetOnlineResource[]>;
|
|
5158
5228
|
getDownloadLinksFromOgcApiFeatures(ogcApiLink: DatasetServiceDistribution): Promise<DatasetOnlineResource[]>;
|
|
5159
|
-
|
|
5160
|
-
|
|
5229
|
+
private getTargetCollectionId;
|
|
5230
|
+
getDownloadUrlsFromOgcApi(url: string, collectionId?: string): Promise<OgcApiCollectionInfo>;
|
|
5231
|
+
getItemsFromOgcApi(url: string, collectionId?: string, limit?: number): Promise<OgcApiRecord[]>;
|
|
5161
5232
|
getItemsFromStacApi(url: string, options: GetCollectionItemsOptions): Promise<StacItemsDocument>;
|
|
5162
5233
|
getGeodataLinksFromTms(tmsLink: DatasetServiceDistribution, keepOriginalLink?: boolean): Promise<DatasetServiceDistribution[]>;
|
|
5163
5234
|
getDownloadLinksFromEsriRest(esriRestLink: DatasetServiceDistribution): DatasetOnlineResource[];
|
|
@@ -6025,15 +6096,16 @@ interface FormFieldConfig {
|
|
|
6025
6096
|
invalid?: boolean;
|
|
6026
6097
|
invalidHintKey?: string;
|
|
6027
6098
|
}
|
|
6099
|
+
type FormFieldModel = CatalogRecordKeys | 'flags';
|
|
6028
6100
|
type OnlineLinkResourceSpecifier = `onlineResourceType:link`;
|
|
6029
6101
|
type DatasetDistributionsSpecifier = `onlineResourceType:!link`;
|
|
6030
6102
|
type OnlineSingleLinkResourceSpecifier = `onlineResourceType:singleLink`;
|
|
6031
6103
|
type EditableContactDetailsSpecifier = `contact:editableDetails`;
|
|
6032
|
-
type
|
|
6104
|
+
type FormFieldModelSpecifier = OnlineLinkResourceSpecifier | DatasetDistributionsSpecifier | OnlineSingleLinkResourceSpecifier | EditableContactDetailsSpecifier | `flags:${RecordFlag}`;
|
|
6033
6105
|
type FormFieldComponentName = 'form-field-constraints-shortcuts' | 'form-field-spatial-toggle';
|
|
6034
6106
|
interface EditorFieldIdentification {
|
|
6035
|
-
model?:
|
|
6036
|
-
modelSpecifier?:
|
|
6107
|
+
model?: FormFieldModel;
|
|
6108
|
+
modelSpecifier?: FormFieldModelSpecifier;
|
|
6037
6109
|
componentName?: FormFieldComponentName;
|
|
6038
6110
|
}
|
|
6039
6111
|
interface EditorField extends EditorFieldIdentification {
|
|
@@ -6457,8 +6529,8 @@ declare class FormFieldSpatialExtentComponent {
|
|
|
6457
6529
|
declare class FormFieldComponent {
|
|
6458
6530
|
uniqueIdentifier: string;
|
|
6459
6531
|
recordKind: RecordKind;
|
|
6460
|
-
model:
|
|
6461
|
-
modelSpecifier:
|
|
6532
|
+
model: FormFieldModel;
|
|
6533
|
+
modelSpecifier: FormFieldModelSpecifier;
|
|
6462
6534
|
componentName: FormFieldComponentName;
|
|
6463
6535
|
config: FormFieldConfig;
|
|
6464
6536
|
value: unknown;
|
|
@@ -6481,6 +6553,7 @@ declare class FormFieldComponent {
|
|
|
6481
6553
|
get valueAsIndividuals(): Array<Individual>;
|
|
6482
6554
|
get valueAsOnlineResources(): Array<OnlineResource>;
|
|
6483
6555
|
get valueAsResourceIdentifierCode(): string;
|
|
6556
|
+
get recordFlag(): RecordFlag;
|
|
6484
6557
|
handleResourceIdentifierChange(code: string): void;
|
|
6485
6558
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldComponent, never>;
|
|
6486
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: {}; }]>;
|
|
@@ -6510,6 +6583,7 @@ declare class FormFieldTopicsComponent {
|
|
|
6510
6583
|
declare class RecordFormComponent implements OnInit, OnDestroy {
|
|
6511
6584
|
facade: EditorFacade;
|
|
6512
6585
|
notifications: NotificationsService;
|
|
6586
|
+
platform: PlatformServiceInterface;
|
|
6513
6587
|
subscription: Subscription;
|
|
6514
6588
|
recordUniqueIdentifier$: rxjs.Observable<string>;
|
|
6515
6589
|
recordKind$: rxjs.Observable<"dataset" | "service" | "reuse">;
|
|
@@ -6519,14 +6593,16 @@ declare class RecordFormComponent implements OnInit, OnDestroy {
|
|
|
6519
6593
|
focusField(model: CatalogRecordKeys, sectionIndex: number): void;
|
|
6520
6594
|
ngOnInit(): void;
|
|
6521
6595
|
ngOnDestroy(): void;
|
|
6522
|
-
handleFieldValueChange(model:
|
|
6523
|
-
fieldTracker(index: number, field: EditorFieldWithValue):
|
|
6596
|
+
handleFieldValueChange(model: FormFieldModel, newValue: EditorFieldValue): void;
|
|
6597
|
+
fieldTracker(index: number, field: EditorFieldWithValue): FormFieldModel;
|
|
6524
6598
|
sectionTracker(index: number, section: EditorSectionWithValues): string;
|
|
6525
6599
|
getFieldLocation(model: CatalogRecordKeys): Promise<{
|
|
6526
6600
|
page: number;
|
|
6527
6601
|
section: number;
|
|
6528
6602
|
} | null>;
|
|
6529
6603
|
private recordSignal;
|
|
6604
|
+
private userSignal;
|
|
6605
|
+
private isAdminSignal;
|
|
6530
6606
|
private expressionCache;
|
|
6531
6607
|
evaluateExpression(expressionOrValue: string | EditorFieldValue): Signal<EditorFieldValue>;
|
|
6532
6608
|
static ɵfac: i0.ɵɵFactoryDeclaration<RecordFormComponent, never>;
|
|
@@ -7033,6 +7109,19 @@ interface SearchPreset {
|
|
|
7033
7109
|
name: string;
|
|
7034
7110
|
filters: Record<string, string[] | string>;
|
|
7035
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
|
+
}
|
|
7036
7125
|
interface MetadataQualityConfig {
|
|
7037
7126
|
ENABLED: boolean;
|
|
7038
7127
|
}
|
|
@@ -7053,9 +7142,13 @@ interface SearchConfig {
|
|
|
7053
7142
|
FILTER_GEOMETRY_DATA?: string;
|
|
7054
7143
|
DO_NOT_USE_DEFAULT_SEARCH_PRESET?: boolean;
|
|
7055
7144
|
SEARCH_PRESET?: SearchPreset[];
|
|
7056
|
-
ADVANCED_FILTERS?: [];
|
|
7145
|
+
ADVANCED_FILTERS?: string[];
|
|
7146
|
+
CUSTOM_FILTERS?: CustomSearchFieldConfig[];
|
|
7057
7147
|
LIMIT?: number;
|
|
7058
7148
|
SPATIAL_EXTENT_MAX_FILE_SIZE?: number;
|
|
7149
|
+
GEOCODING_PROVIDER?: GeocodingProviderName;
|
|
7150
|
+
GEOCODING_PROVIDER_OPTIONS?: Record<string, string | number | boolean | string[]>;
|
|
7151
|
+
GEOCODING_PROVIDER_LABELS?: GeocodingProviderLabelsConfig;
|
|
7059
7152
|
}
|
|
7060
7153
|
interface SearchConfig {
|
|
7061
7154
|
FILTER_GEOMETRY?: Geometry;
|
|
@@ -7076,6 +7169,7 @@ declare const TRANSLATE_WITH_OVERRIDES_CONFIG: TranslateModuleConfig;
|
|
|
7076
7169
|
declare const okAppConfigFixture: () => string;
|
|
7077
7170
|
declare const appConfigWithTranslationFixture: () => string;
|
|
7078
7171
|
declare const minimalAppConfigFixture: () => string;
|
|
7172
|
+
declare const customFilterMissingMandatoryConfigFixture: () => string;
|
|
7079
7173
|
declare const mapConfigFixture: () => MapConfig;
|
|
7080
7174
|
declare const malformedConfigFixture: () => string;
|
|
7081
7175
|
declare const missingMandatoryConfigFixture: () => string;
|
|
@@ -7084,6 +7178,6 @@ declare const unrecognizedKeysConfigFixture: () => string;
|
|
|
7084
7178
|
|
|
7085
7179
|
declare function getMapContextLayerFromConfig(config: LayerConfig): MapContextLayer;
|
|
7086
7180
|
|
|
7087
|
-
export { ADD_RESULTS, ADD_SEARCH, AVAILABLE_LICENSES, AbstractAction, AbstractSearchField, ActionMenuComponent, AddLayerFromCatalogComponent, AddLayerRecordPreviewComponent, AddResults, AddSearch, AnchorLinkDirective, ApiCardComponent, ApplicationBannerComponent, AuthService, AutocompleteComponent, AutofocusDirective, AvailableServicesField, AvatarComponent, AvatarServiceInterface, BASEMAP_LAYERS, BadgeComponent, BaseConverter, BaseFileReader, BaseReader, BlockListComponent, BoundingBoxSearchField, ButtonComponent, CHART_TYPE_VALUES, CLEAR_ERROR, CLEAR_RESULTS, CarouselComponent, CatalogTitleComponent, CellPopinComponent, ChartComponent, ChartViewComponent, CheckToggleComponent, CheckboxComponent, ClearError, ClearResults, ColorScaleComponent, ConfirmationDialogComponent, ContactDetailsComponent, ContactDetailsFormComponent, ContactPillComponent, ContentGhostComponent, CopyTextButtonComponent, DEFAULT_BASEMAP_LAYER, DEFAULT_CONFIGURATION, DEFAULT_GN4_LOGIN_URL, DEFAULT_GN4_LOGOUT_URL, DEFAULT_GN4_SETTINGS_URL, DEFAULT_LANG, DEFAULT_PAGE_SIZE, DEFAULT_RECORD_CONVERTER, DEFAULT_RESULTS_LAYOUT_CONFIG, DEFAULT_SEARCH_KEY, DEFAULT_SPATIAL_EXTENT_STYLE, DISABLE_AUTH, DISABLE_DRAFT, DO_NOT_USE_DEFAULT_BASEMAP, DataService, DataTableComponent, DataViewComponent, DataViewPermalinkComponent, DataViewShareComponent, DataViewWebComponentComponent, DatePickerComponent, DateRangeDropdownComponent, DateRangeInputsComponent, DateRangePickerComponent, DateRangeSearchField, DateService, DcatApConverter, DefaultRouterModule, DownloadItemComponent, DownloadsListComponent, DragAndDropFileInputComponent, DropdownMultiselectComponent, DropdownSelectorComponent, EDITOR_FEATURE_KEY, ES_QUERY_FIELDS_PRIORITY, ES_RESOURCES_VALUES, ES_SOURCE_SUMMARY, EXTERNAL_VIEWER_OPEN_NEW_TAB, EXTERNAL_VIEWER_URL_TEMPLATE, EditableLabelDirective, EditorFacade, EditorService, ElasticsearchService, ErrorComponent, ErrorType, ExpandablePanelButtonComponent, ExpandablePanelComponent, ExternalLinkCardComponent, ExternalViewerButtonComponent, FIELDS_BRIEF, FIELDS_SUMMARY, FILTER_GEOMETRY, FILTER_SUMMARY_IGNORE_LIST, FORMATS, FacetBlockComponent, FacetItemComponent, FacetListComponent, FacetsContainerComponent, FavoriteStarComponent, FavoritesService, FeatureCatalogListComponent, FeatureDetailComponent, FeatureEditorModule, FeatureMapModule, FeatureRecordModule, FeatureSearchModule, FetchError, FieldFocusDirective, FieldsService, FigureComponent, FigureContainerComponent, FileInputComponent, FileTranslateLoader, FilesDropDirective, FilterDropdownComponent, FormFieldArrayComponent, FormFieldComponent, FormFieldDateComponent, FormFieldFileComponent, FormFieldKeywordsComponent, FormFieldLicenseComponent, FormFieldObjectComponent, FormFieldRichComponent, FormFieldSimpleComponent, FormFieldSpatialExtentComponent, FormFieldTemporalExtentsComponent, FormFieldTopicsComponent, FormFieldWrapperComponent, FullTextSearchField, FuzzySearchComponent, GEONETWORK_UI_TAG_NAME, GEONETWORK_UI_VERSION, GeoDataBadgeComponent, GeoTableViewComponent, GeocodingComponent, GeojsonReader, Gn4Converter, Gn4PlatformMapper, Gn4PlatformService, Gn4Repository, Gn4SettingsService, GnUiHumanizeDateDirective, GpfApiDlComponent, GravatarService, I18nInterceptor, ISO_TOPICS, ImageFallbackDirective, ImageInputComponent, ImageOverlayPreviewComponent, ImportRecordComponent, InlineFilterComponent, InteractiveTableColumnComponent, InteractiveTableComponent, InternalLinkCardComponent, IsSpatialSearchField, Iso191153Converter, Iso19139Converter, KeywordBadgeComponent, KindBadgeComponent, LANGUAGES_LIST, LANGUAGE_NAMES, LANGUAGE_STORAGE_KEY, LANG_2_TO_3_MAPPER, LOGIN_URL, LOGOUT_URL, LONLAT_CRS_CODES, LanguageSwitcherComponent, LayersPanelComponent, LicenseSearchField, LinkClassifierService, LinkUsage, LoadingMaskComponent, LogService, MAP_FEATURE_KEY, MAP_VIEW_CONSTRAINTS, MAX_UPLOAD_SIZE_MB, METADATA_LANGUAGE, MapContainerComponent, MapFacade, MapLegendComponent, MapStateContainerComponent, MapStyleService, MapUtilsService, MapViewComponent, MarkdownEditorComponent, MarkdownParserComponent, MaxLinesComponent, mdview_actions_d as MdViewActions, MdViewFacade, MetadataCatalogComponent, MetadataContactComponent, MetadataDoiComponent, MetadataInfoComponent, MetadataLinkType, MetadataMapperContext, MetadataQualityComponent, MetadataQualityItemComponent, MetadataQualityPanelComponent, ModalDialogComponent, MultilingualPanelComponent, MultilingualSearchField, MyOrgService, NAMESPACES, NOT_APPLICABLE_CONSTRAINT, NOT_KNOWN_CONSTRAINT, NotificationComponent, NotificationsContainerComponent, NotificationsService, OPEN_DATA_LICENSE, ORGANIZATIONS_STRATEGY, ORGANIZATION_PAGE_URL_TOKEN, ORGANIZATION_URL_TOKEN, OnlineResourceCardComponent, OnlineServiceResourceInputComponent, OrganisationPreviewComponent, OrganisationsComponent, OrganisationsFilterComponent, OrganisationsResultComponent, OrganizationSearchField, OrganizationsFromGroupsService, OrganizationsFromMetadataService, OrganizationsServiceInterface, OwnerSearchField, PAGINATE, PARSE_DELIMITER, PATCH_RESULTS_AGGREGATIONS, PROXY_PATH, Paginate, PaginationButtonsComponent, PaginationComponent, PaginationDotsComponent, PatchResultsAggregations, PlatformServiceInterface, PopoverComponent, PopupAlertComponent, PossibleResourceTypes, PossibleResourceTypesDefinition, PreviousNextButtonsComponent, ProgressBarComponent, ProxyService, QUERY_FIELDS, RECORD_DATASET_URL_TOKEN, RECORD_REUSE_URL_TOKEN, RECORD_SERVICE_URL_TOKEN, REQUEST_MORE_ON_AGGREGATION, REQUEST_MORE_RESULTS, REQUEST_NEW_RESULTS, RESULTS_LAYOUT_CONFIG, REUSE_LIGHT_CONFIGURATION, ROUTER_CONFIG, ROUTER_ROUTE_DATASET, ROUTER_ROUTE_ORGANIZATION, ROUTER_ROUTE_REUSE, ROUTER_ROUTE_SEARCH, ROUTER_ROUTE_SERVICE, ROUTER_STATE_KEY, ROUTE_PARAMS, RecordApiFormComponent, RecordFormComponent, RecordKindField, RecordMetaComponent, RecordMetricComponent, RecordPreviewCardComponent, RecordPreviewComponent, RecordPreviewFeedComponent, RecordPreviewListComponent, RecordPreviewRowComponent, RecordPreviewTextComponent, RecordPreviewTitleComponent, RecordStatusValues, RecordsMetricsComponent, RecordsRepositoryInterface, RecordsService, RequestMoreOnAggregation, RequestMoreResults, RequestNewResults, 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_SCOPES, SearchEffects, SearchFacade, SearchFeatureCatalogComponent, SearchFiltersSummaryComponent, SearchFiltersSummaryItemComponent, SearchInputComponent, SearchRouterContainerDirective, SearchService, SearchStateContainerDirective, SelectionService, ServiceCapabilitiesComponent, SetConfigAggregations, SetConfigFilters, SetConfigRequestFields, SetError, SetFavoritesOnly, SetFilters, SetIncludeOnAggregation, SetPageSize, SetResultsAggregations, SetResultsHits, SetResultsLayout, SetSearch, SetSortBy, SetSpatialFilterEnabled, SimpleSearchField, SiteTitleComponent, SortByComponent, SortByEnum, SortableListComponent, SourceLabelComponent, SourcesService, SpatialExtentComponent, SpatialExtentDropdownComponent, SpinningLoaderComponent, StacItemsResultGridComponent, StacViewComponent, StarToggleComponent, StickyHeaderComponent, SupportedTypes, SwitchToggleComponent, THUMBNAIL_PLACEHOLDER, TRANSLATE_DEBUG_CONFIG, TRANSLATE_DEFAULT_CONFIG, TRANSLATE_WITH_OVERRIDES_CONFIG, TableViewComponent, TextAreaComponent, TextInputComponent, ThemeService, ThumbnailComponent, TranslatedSearchField, TruncatedTextComponent, UPDATE_CONFIG_AGGREGATIONS, UPDATE_FILTERS, UPDATE_REQUEST_AGGREGATION_TERM, UpdateConfigAggregations, UpdateFilters, UrlInputComponent, UserFeedbackItemComponent, UserPreviewComponent, UserSearchField, VECTOR_STYLE_DEFAULT, ViewportIntersectorComponent, WEB_COMPONENT_EMBEDDER_URL, XmlParseError, _reset, allChildrenElement, appConfigWithTranslationFixture, appendChildTree, appendChildren, assertValidXml, associationTypeValues, bboxToPolygon, blockModelFixture, bytesToMegabytes, canEditRecord, checkFileFormat, clearSelectedFeatures, createChild, createDocument, createElement, createFuzzyFilter, createNestedChild, createNestedElement, createSpatialExtentLayer, currentPage, defaultMapStyleFixture, defaultMapStyleHlFixture, downgradeImage, downsizeImage, draftSaveSuccess, dragPanCondition, dropEmptyTranslations, editorReducer, emptyBlockModelFixture, findChildElement, findChildOrCreate, findChildrenElement, findConverterForDocument, findNestedChildOrCreate, findNestedElement, findNestedElements, findParent, firstChildElement, formatDate, formatUserInfo, getAddressLines, getAllKeysValidator, getArrayItem, getAsArray, getAsUrl, getBadgeColor, getCustomTranslations, getError, getFavoritesOnly, getFileFormat, getFileFormatFromServiceOutput, getFirstValue, getFormatPriority, getGeometryBoundingBox, getGeometryFromGeoJSON, getGlobalConfig, getIndividualDisplayName, getIsMobile, getJsonDataItemsProxy, getKeywordHierarchyPath, getLayers, getLinkId, getLinkLabel, getLinkPriority, getMapContext, getMapContextLayerFromConfig, getMapState, getMetadataQualityConfig, getMimeTypeForFormat, getNamespace, getOptionalEditorConfig, getOptionalMapConfig, getOptionalSearchConfig, getPageSize, getQualityValidators, getResourceType, getReusePresentationForm, getReuseType, getRootElement, getSearchConfigAggregations, getSearchFilters, getSearchResults, getSearchResultsAggregations, getSearchResultsHits, getSearchResultsLayout, getSearchResultsLoading, getSearchSortBy, getSearchState, getSearchStateSearch, getSelectedFeatures, getSpatialFilterEnabled, getTemporalRangeUnion, getThemeConfig, handleScrollOnNavigation, hasRecordChangedSinceDraft, hasRecordChangedSinceDraftSuccess, initSearch, initialEditorState, initialMapState, initialState, isBoundingBox, isConfigLoaded, isDateRange, isFileExtensionValid, isFormatInQueryParam, isPublished, itemModelFixture, kindToCodeListValue, loadAppConfig, malformedConfigFixture, mapConfigFixture, mapContact, mapKeywords, mapLogo, mapOrganization, mapReducer, markRecordAsChanged, matchesNoApplicableConstraint, matchesNoKnownConstraint, megabytesToBytes, mimeTypeToFormat, minimalAppConfigFixture, missingMandatoryConfigFixture, mouseWheelZoomCondition, noDuplicateFileName, okAppConfigFixture, openDataset, openRecord, organizationsServiceFactory, parse, parseXmlString, placeholder, prioritizePageScroll, propagateToDocumentOnly, provideGn4, provideI18n, provideLocalizedDateAdapter, provideRepositoryUrl, readAttribute, readDataset, readDatasetHeaders, readFileAsText, readText, reducer, reducerSearch, removeAllChildren, removeChildren, removeChildrenByName, removeSearchParams, removeWhitespace, renameElements, saveRecord, saveRecordFailure, saveRecordSuccess, selectCanEditRecord, selectCurrentPage, selectEditorConfig, selectEditorState, selectFallback, selectFallbackFields, selectField, selectHasRecordChanged, selectIsPublished, selectRecord, selectRecordChangedSinceSave, selectRecordSaveError, selectRecordSaving, selectRecordSections, selectRecordSource, selectTranslatedField, selectTranslatedValue, setContext, setCurrentPage, setEditorConfiguration, setFieldVisibility, setFocusedField, setSelectedFeatures, setTextContent, sortByFromString, sortByToString, sortByToStrings, spatialExtentToGeometry, spatialExtentsToFeatureCollection, stripHtml, stripNamespace, toDate, toIndividual, toLang2, toLang3, totalPages, undoRecordDraft, unrecognizedKeysConfigFixture, updateFrequencyCodeValues, updateLanguages, updateRecordField, updateRecordLanguages, wmsLayerFlatten, writeAttribute, wrongLanguageCodeConfigFixture, xmlToString };
|
|
7088
|
-
export type { Aggregation, AggregationBuckets, AggregationCounts, AggregationParams, AggregationResult, AggregationSort, AggregationTypes, Aggregations, AggregationsParams, AggregationsResults, AggregationsTypes, AssociatedRecord, AssociationType, AutocompleteItem, BaseRecord, BoundingBox, Bucket, CatalogRecord, CatalogRecordKeys, CatalogSource, Choice$1 as Choice, ConfirmationDialogData, Constraint, ConstraintTranslations,
|
|
7181
|
+
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, bboxToPolygon, blockModelFixture, bytesToMegabytes, canEditRecord, checkFileFormat, clearSelectedFeatures, createChild, createDocument, createElement, createFuzzyFilter, createNestedChild, createNestedElement, createSpatialExtentLayer, currentPage, customFilterMissingMandatoryConfigFixture, downgradeImage, downsizeImage, draftSaveSuccess, dragPanCondition, dropEmptyTranslations, editorReducer, emptyBlockModelFixture, findChildElement, findChildOrCreate, findChildrenElement, findConverterForDocument, findNestedChildOrCreate, findNestedElement, findNestedElements, findParent, firstChildElement, formatDate, formatUserInfo, getAddressLines, getAllKeysValidator, getArrayItem, getAsArray, getAsUrl, getBadgeColor, getCustomTranslations, getError, getFavoritesOnly, getFileFormat, getFileFormatFromServiceOutput, getFirstValue, getFormatPriority, getGeometryBoundingBox, getGeometryFromGeoJSON, getGlobalConfig, getIndividualDisplayName, getIsMobile, getJsonDataItemsProxy, getKeywordHierarchyPath, getLayers, getLinkId, getLinkLabel, getLinkPriority, getMapContext, getMapContextLayerFromConfig, getMapState, getMetadataQualityConfig, getMimeTypeForFormat, getNamespace, getOptionalEditorConfig, getOptionalMapConfig, getOptionalSearchConfig, getPageSize, getQualityValidators, getResourceType, getReusePresentationForm, getReuseType, getRootElement, getSearchConfigAggregations, getSearchFilters, getSearchResults, getSearchResultsAggregations, getSearchResultsHits, getSearchResultsLayout, getSearchResultsLoading, getSearchSortBy, getSearchState, getSearchStateSearch, getSelectedFeatures, getSpatialFilterEnabled, getTemporalRangeUnion, getThemeConfig, handleScrollOnNavigation, hasRecordChangedSinceDraft, hasRecordChangedSinceDraftSuccess, initSearch, initialEditorState, initialMapState, initialState, isBoundingBox, isBoundingBoxWithinWorldExtent, isConfigLoaded, isDateRange, isFileExtensionValid, isFormatInQueryParam, isPublished, itemModelFixture, kindToCodeListValue, loadAppConfig, malformedConfigFixture, mapConfigFixture, mapContact, mapKeywords, mapLogo, mapOrganization, mapReducer, markRecordAsChanged, matchesNoApplicableConstraint, matchesNoKnownConstraint, megabytesToBytes, mimeTypeToFormat, minimalAppConfigFixture, missingMandatoryConfigFixture, mouseWheelZoomCondition, noDuplicateFileName, okAppConfigFixture, openDataset, openRecord, organizationsServiceFactory, parse, parseXmlString, placeholder, prioritizePageScroll, propagateToDocumentOnly, provideGn4, provideI18n, provideLocalizedDateAdapter, provideRepositoryUrl, readAttribute, readDataset, readDatasetHeaders, readFileAsText, readText, reducer, reducerSearch, removeAllChildren, removeChildren, removeChildrenByName, removeSearchParams, removeWhitespace, renameElements, saveRecord, saveRecordFailure, saveRecordSuccess, selectCanEditRecord, selectCurrentPage, selectEditorConfig, selectEditorState, selectFallback, selectFallbackFields, selectField, selectHasRecordChanged, selectIsPublished, selectRecord, selectRecordChangedSinceSave, selectRecordSaveError, selectRecordSaving, selectRecordSections, selectRecordSource, selectTranslatedField, selectTranslatedValue, setContext, setCurrentPage, setEditorConfiguration, setFieldVisibility, setFocusedField, setSelectedFeatures, setTextContent, sortByFromString, sortByToString, sortByToStrings, spatialExtentToGeometry, spatialExtentsToFeatureCollection, stripHtml, stripNamespace, toDate, toIndividual, toLang2, toLang3, totalPages, undoRecordDraft, unrecognizedKeysConfigFixture, updateFrequencyCodeValues, updateLanguages, updateRecordField, updateRecordLanguages, wmsLayerFlatten, writeAttribute, wrongLanguageCodeConfigFixture, xmlToString };
|
|
7182
|
+
export type { Aggregation, AggregationBuckets, AggregationCounts, AggregationParams, AggregationResult, AggregationSort, AggregationTypes, Aggregations, AggregationsParams, AggregationsResults, AggregationsTypes, AssociatedRecord, AssociationType, AutocompleteItem, BaseRecord, BoundingBox, Bucket, CatalogRecord, CatalogRecordKeys, CatalogSource, Choice$1 as Choice, ConfirmationDialogData, Constraint, ConstraintTranslations, CustomSearchField, CustomSearchFieldConfig, CustomTranslations, CustomTranslationsAllLanguages, DataItem, DatasetDownloadDistribution, DatasetFeatureAttribute, DatasetFeatureAttributeValue, DatasetFeatureCatalog, DatasetFeatureType, DatasetOnlineResource, DatasetRecord, DatasetServiceDistribution, DatasetSpatialExtent, DatasetTemporalExtent, DatavizChartConfigModel, DatavizConfigModel, DateRange, DateRangeBound, DragAndDropFileInputError, DropdownChoice, EditorConfig, EditorFieldWithValue, EditorPartialState, EditorSectionWithValues, EditorState, EsQueryFieldsPriorityType, EsRequestAggTerm, EsRequestAggTermPatch, EsRequestSource, EsResourceType, EsResourceTypeValues, EsSearchParams, EsSearchResponse, EsTemplateType, EsTemplateValues, FacetPath, FacetSelectEvent, 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 };
|
|
7089
7183
|
//# sourceMappingURL=index.d.ts.map
|