geonetwork-ui 2.11.0-dev.e430b2fe8 → 2.11.0-dev.ec9587d24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (107) hide show
  1. package/fesm2022/geonetwork-ui.mjs +2034 -1177
  2. package/fesm2022/geonetwork-ui.mjs.map +1 -1
  3. package/index.d.ts +384 -139
  4. package/index.d.ts.map +1 -1
  5. package/package.json +7 -5
  6. package/src/libs/api/metadata-converter/src/lib/dcat-ap/dcat-ap.converter.ts +2 -0
  7. package/src/libs/api/metadata-converter/src/lib/fixtures/mel.records.dataset+featurecatalog.ts +395 -0
  8. package/src/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.ts +35 -8
  9. package/src/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.ts +19 -0
  10. package/src/libs/api/metadata-converter/src/lib/iso19115-3/iso19115-3.converter.ts +17 -6
  11. package/src/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.ts +110 -0
  12. package/src/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.ts +131 -0
  13. package/src/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.ts +9 -0
  14. package/src/libs/api/metadata-converter/src/lib/iso19139/read-parts.ts +2 -1
  15. package/src/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.ts +159 -54
  16. package/src/libs/api/repository/src/lib/gn4/gn4-repository.ts +79 -35
  17. package/src/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.ts +11 -0
  18. package/src/libs/common/domain/src/lib/model/record/flags.model.ts +1 -0
  19. package/src/libs/common/domain/src/lib/model/record/index.ts +1 -0
  20. package/src/libs/common/domain/src/lib/model/record/metadata.model.ts +14 -18
  21. package/src/libs/common/domain/src/lib/model/search/aggregation.model.ts +2 -0
  22. package/src/libs/common/domain/src/lib/model/search/filter.model.ts +24 -2
  23. package/src/libs/common/domain/src/lib/platform.service.interface.ts +1 -0
  24. package/src/libs/common/domain/src/lib/repository/records-repository.interface.ts +20 -1
  25. package/src/libs/common/fixtures/src/lib/records.fixtures.ts +42 -62
  26. package/src/libs/feature/dataviz/src/lib/service/data.service.ts +32 -19
  27. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints/form-field-constraints.component.ts +3 -5
  28. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts/form-field-contacts.component.ts +2 -2
  29. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-record-flags/form-field-record-flag-component.html +18 -0
  30. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-record-flags/form-field-record-flag-component.ts +86 -0
  31. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.html +100 -88
  32. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.ts +11 -4
  33. package/src/libs/feature/editor/src/lib/components/record-form/record-form.component.ts +18 -4
  34. package/src/libs/feature/editor/src/lib/expressions.ts +67 -0
  35. package/src/libs/feature/editor/src/lib/fields.config.ts +13 -0
  36. package/src/libs/feature/editor/src/lib/models/editor-config.model.ts +10 -4
  37. package/src/libs/feature/map/src/index.ts +0 -2
  38. package/src/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.html +1 -0
  39. package/src/libs/feature/map/src/lib/feature-map.module.ts +1 -8
  40. package/src/libs/feature/notifications/src/lib/notifications.service.ts +6 -4
  41. package/src/libs/feature/notify-reuse/src/lib/notify-reuse-form/notify-reuse-form.component.ts +8 -3
  42. package/src/libs/feature/record/src/lib/state/mdview.effects.ts +3 -1
  43. package/src/libs/feature/record/src/lib/state/mdview.facade.ts +1 -1
  44. package/src/libs/feature/router/src/lib/default/state/query-params.utils.ts +1 -1
  45. package/src/libs/feature/search/src/index.ts +2 -0
  46. package/src/libs/feature/search/src/lib/filter-dropdown/filter-dropdown.component.html +18 -4
  47. package/src/libs/feature/search/src/lib/filter-dropdown/filter-dropdown.component.ts +80 -19
  48. package/src/libs/feature/search/src/lib/geocoding/geocoding.service.ts +105 -0
  49. package/src/libs/feature/search/src/lib/location-search/location-search.component.html +18 -0
  50. package/src/libs/feature/search/src/lib/location-search/location-search.component.ts +114 -0
  51. package/src/libs/feature/search/src/lib/search-filters-summary-item/search-filters-summary-item.component.ts +19 -8
  52. package/src/libs/feature/search/src/lib/state/reducer.ts +1 -4
  53. package/src/libs/feature/search/src/lib/utils/service/fields.service.ts +64 -4
  54. package/src/libs/feature/search/src/lib/utils/service/fields.ts +94 -10
  55. package/src/libs/ui/elements/src/lib/record-feature-catalog/feature-catalog-list/feature-catalog-list.component.html +3 -3
  56. package/src/libs/ui/elements/src/lib/record-feature-catalog/feature-catalog-list/feature-catalog-list.component.ts +2 -2
  57. package/src/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.ts +2 -1
  58. package/src/libs/ui/inputs/src/index.ts +2 -0
  59. package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.css +0 -4
  60. package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.html +12 -3
  61. package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.ts +11 -3
  62. package/src/libs/ui/inputs/src/lib/date-adapter.providers.ts +30 -0
  63. package/src/libs/ui/inputs/src/lib/date-picker/date-picker.component.ts +3 -24
  64. package/src/libs/ui/inputs/src/lib/date-range-dropdown/date-range-dropdown.component.css +37 -3
  65. package/src/libs/ui/inputs/src/lib/date-range-dropdown/date-range-dropdown.component.html +135 -16
  66. package/src/libs/ui/inputs/src/lib/date-range-dropdown/date-range-dropdown.component.ts +166 -29
  67. package/src/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.ts +3 -7
  68. package/src/libs/ui/inputs/src/lib/drag-and-drop-file-input/drag-and-drop-file-input.component.css +1 -0
  69. package/src/libs/ui/inputs/src/lib/drag-and-drop-file-input/drag-and-drop-file-input.component.html +20 -7
  70. package/src/libs/ui/inputs/src/lib/drag-and-drop-file-input/drag-and-drop-file-input.component.ts +46 -5
  71. package/src/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.component.html +7 -4
  72. package/src/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.component.ts +12 -9
  73. package/src/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.model.ts +2 -2
  74. package/src/libs/ui/inputs/src/lib/search-feature-catalog/search-feature-catalog.component.ts +2 -1
  75. package/src/libs/ui/inputs/src/lib/spatial-extent-dropdown/spatial-extent-dropdown.component.css +0 -0
  76. package/src/libs/ui/inputs/src/lib/spatial-extent-dropdown/spatial-extent-dropdown.component.html +117 -0
  77. package/src/libs/ui/inputs/src/lib/spatial-extent-dropdown/spatial-extent-dropdown.component.ts +244 -0
  78. package/src/libs/ui/layout/src/lib/block-list/block-list.component.css +1 -0
  79. package/src/libs/ui/map/src/lib/components/map-container/map-container.component.ts +2 -0
  80. package/src/libs/util/app-config/src/index.ts +1 -0
  81. package/src/libs/util/app-config/src/lib/app-config.ts +338 -247
  82. package/src/libs/util/app-config/src/lib/fixtures.ts +37 -1
  83. package/src/libs/util/app-config/src/lib/model.ts +42 -1
  84. package/src/libs/util/app-config/src/lib/parse-utils.ts +8 -4
  85. package/src/libs/util/shared/src/index.ts +1 -0
  86. package/src/libs/util/shared/src/lib/autofocus.directive.ts +26 -0
  87. package/src/libs/util/shared/src/lib/links/link-utils.ts +19 -10
  88. package/src/libs/util/shared/src/lib/services/date.service.ts +3 -3
  89. package/src/libs/util/shared/src/lib/utils/file.ts +15 -0
  90. package/src/libs/util/shared/src/lib/utils/geojson.ts +45 -10
  91. package/src/libs/util/shared/src/lib/utils/index.ts +1 -0
  92. package/tailwind.base.css +5 -0
  93. package/translations/de.json +28 -4
  94. package/translations/en.json +27 -3
  95. package/translations/es.json +26 -2
  96. package/translations/fr.json +32 -8
  97. package/translations/it.json +26 -2
  98. package/translations/nl.json +26 -2
  99. package/translations/pt.json +26 -2
  100. package/translations/sk.json +26 -2
  101. package/src/libs/feature/map/src/lib/geocoding/geocoding.component.html +0 -41
  102. package/src/libs/feature/map/src/lib/geocoding/geocoding.component.ts +0 -112
  103. package/src/libs/feature/map/src/lib/geocoding.service.ts +0 -57
  104. package/src/libs/feature/map/src/lib/style/index.ts +0 -2
  105. package/src/libs/feature/map/src/lib/style/map-style.fixtures.ts +0 -47
  106. package/src/libs/feature/map/src/lib/style/map-style.service.ts +0 -108
  107. /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
@@ -55,14 +55,38 @@ export interface SearchPreset {
55
55
  filters: Record<string, string[] | string>
56
56
  }
57
57
 
58
+ export type GeocodingProviderName = 'geoadmin' | 'geonames' | 'geoplateforme'
59
+
60
+ export interface CustomSearchFieldConfig {
61
+ name: string
62
+ baseFilter: string
63
+ excludeValues?: string[]
64
+ includeValues?: string[]
65
+ labelKey?: string
66
+ }
67
+
68
+ export interface GeocodingProviderLabelsConfig {
69
+ MAIN?: string
70
+ SECONDARY?: string
71
+ TERTIARY?: string
72
+ }
73
+
58
74
  export interface SearchConfig {
59
75
  RECORD_KIND_QUICK_FILTER?: boolean
60
76
  FILTER_GEOMETRY_URL?: string
61
77
  FILTER_GEOMETRY_DATA?: string
62
78
  DO_NOT_USE_DEFAULT_SEARCH_PRESET?: boolean
63
79
  SEARCH_PRESET?: SearchPreset[]
64
- ADVANCED_FILTERS?: []
80
+ ADVANCED_FILTERS?: string[]
81
+ CUSTOM_FILTERS?: CustomSearchFieldConfig[]
65
82
  LIMIT?: number
83
+ SPATIAL_EXTENT_MAX_FILE_SIZE?: number
84
+ GEOCODING_PROVIDER?: GeocodingProviderName
85
+ GEOCODING_PROVIDER_OPTIONS?: Record<
86
+ string,
87
+ string | number | boolean | string[]
88
+ >
89
+ GEOCODING_PROVIDER_LABELS?: GeocodingProviderLabelsConfig
66
90
  }
67
91
 
68
92
  export interface MetadataQualityConfig {
@@ -81,6 +105,23 @@ export type CustomTranslationsAllLanguages = {
81
105
  [lang: string]: CustomTranslations
82
106
  }
83
107
 
108
+ export interface ConfigIssues {
109
+ warnings: string[]
110
+ errors: string[]
111
+ }
112
+
113
+ export interface AppConfig {
114
+ global: GlobalConfig | null
115
+ theme: ThemeConfig | null
116
+ map: MapConfig | null
117
+ search: SearchConfig | null
118
+ metadataQuality: MetadataQualityConfig | null
119
+ editor: EditorConfig | null
120
+ translations: CustomTranslationsAllLanguages
121
+ }
122
+
123
+ export type ConfigSectionName = keyof AppConfig
124
+
84
125
  export interface SearchConfig {
85
126
  FILTER_GEOMETRY?: Geometry
86
127
  }
@@ -41,7 +41,7 @@ const checkKeys = (
41
41
  * pushes warnings and errors to the given arrays; returns null in case of error
42
42
  */
43
43
  export function parseConfigSection(
44
- fullConfigObj: Record<string, Record<string, unknown>>,
44
+ fullConfigObj: Record<string, unknown>,
45
45
  sectionName: string,
46
46
  mandatoryKeys: string[],
47
47
  optionalKeys: string[],
@@ -79,13 +79,17 @@ export function parseConfigSection(
79
79
  * This is optional
80
80
  */
81
81
  export function parseTranslationsConfigSection(
82
- fullConfigObj: Record<string, Record<string, unknown>>,
82
+ fullConfigObj: Record<string, unknown>,
83
83
  sectionName: string
84
84
  ): Record<string, unknown> {
85
85
  if (typeof fullConfigObj[sectionName] !== 'object') {
86
86
  return {}
87
87
  }
88
- return flatten('', fullConfigObj[sectionName], true)
88
+ return flatten(
89
+ '',
90
+ fullConfigObj[sectionName] as Record<string, unknown>,
91
+ true
92
+ )
89
93
  }
90
94
 
91
95
  /**
@@ -94,7 +98,7 @@ export function parseTranslationsConfigSection(
94
98
  * the sections
95
99
  */
96
100
  export function parseMultiConfigSection(
97
- fullConfigObj: Record<string, Record<string, unknown>[]>,
101
+ fullConfigObj: Record<string, unknown>,
98
102
  sectionName: string,
99
103
  mandatoryKeys: string[],
100
104
  optionalKeys: string[],
@@ -1,6 +1,7 @@
1
1
  export * from './lib/services'
2
2
  export * from './lib/utils'
3
3
  export * from './lib/links'
4
+ export * from './lib/autofocus.directive'
4
5
  export * from './lib/image-fallback.directive'
5
6
  export * from './lib/gn-ui-version'
6
7
  export * from './lib/record'
@@ -0,0 +1,26 @@
1
+ import {
2
+ Directive,
3
+ ElementRef,
4
+ Injector,
5
+ Input,
6
+ afterNextRender,
7
+ booleanAttribute,
8
+ inject,
9
+ } from '@angular/core'
10
+
11
+ @Directive({
12
+ selector: '[gnUiAutofocus]',
13
+ standalone: true,
14
+ })
15
+ export class AutofocusDirective {
16
+ private el = inject<ElementRef<HTMLElement>>(ElementRef)
17
+ private injector = inject(Injector)
18
+
19
+ @Input({ alias: 'gnUiAutofocus', transform: booleanAttribute })
20
+ set autofocus(active: boolean) {
21
+ if (!active) return
22
+ afterNextRender(() => this.el.nativeElement.focus(), {
23
+ injector: this.injector,
24
+ })
25
+ }
26
+ }
@@ -344,7 +344,11 @@ export function getLinkLabel(
344
344
  return format ? `${label} (${format})` : label
345
345
  }
346
346
 
347
- export async function getLayers(url: string, serviceProtocol: ServiceProtocol) {
347
+ export async function getLayers(
348
+ url: string,
349
+ serviceProtocol: ServiceProtocol,
350
+ deep = false
351
+ ) {
348
352
  switch (serviceProtocol) {
349
353
  case 'ogcFeatures': {
350
354
  const layers = await new OgcApiEndpoint(url).allCollections
@@ -352,7 +356,10 @@ export async function getLayers(url: string, serviceProtocol: ServiceProtocol) {
352
356
  }
353
357
  case 'wfs': {
354
358
  const endpointWfs = await new WfsEndpoint(url).isReady()
355
- const featureTypes = await endpointWfs.getFeatureTypes()
359
+ const featureTypes = endpointWfs.getFeatureTypes()
360
+ if (!deep) {
361
+ return featureTypes
362
+ }
356
363
  const layers = (
357
364
  await Promise.allSettled(
358
365
  featureTypes.map((collection) => {
@@ -366,14 +373,16 @@ export async function getLayers(url: string, serviceProtocol: ServiceProtocol) {
366
373
  }
367
374
  case 'wms': {
368
375
  const endpointWms = await new WmsEndpoint(url).isReady()
369
- const layers = (
370
- await endpointWms
371
- .getLayers()
372
- .flatMap(wmsLayerFlatten)
373
- .filter((l) => l.name)
374
- ).map((collection) => {
375
- return endpointWms.getLayerByName(collection.name)
376
- })
376
+ const layersSummary = endpointWms
377
+ .getLayers()
378
+ .flatMap(wmsLayerFlatten)
379
+ .filter((l) => l.name)
380
+ if (!deep) {
381
+ return layersSummary
382
+ }
383
+ const layers = layersSummary.map((collection) =>
384
+ endpointWms.getLayerByName(collection.name)
385
+ )
377
386
  return layers
378
387
  }
379
388
  case 'wmts': {
@@ -35,10 +35,10 @@ export class DateService {
35
35
  return { locale, dateObj }
36
36
  }
37
37
 
38
- private async getDateLocale(): Promise<Locale> {
38
+ async getDateFnsLocale(): Promise<Locale> {
39
39
  const lang = this.translateService.getCurrentLang() || DEFAULT_LANGUAGE
40
40
  const locales = await this.dateLocales
41
- return locales[lang]
41
+ return locales[lang] ?? locales[DEFAULT_LANGUAGE]
42
42
  }
43
43
 
44
44
  formatDate(
@@ -61,7 +61,7 @@ export class DateService {
61
61
  const dateObj = this.getDateObject(date)
62
62
 
63
63
  const now = new Date()
64
- const locale = await this.getDateLocale()
64
+ const locale = await this.getDateFnsLocale()
65
65
 
66
66
  return formatDistance(dateObj, now, {
67
67
  addSuffix: true,
@@ -0,0 +1,15 @@
1
+ export function isFileExtensionValid(
2
+ fileName: string,
3
+ acceptedExtensions: string[]
4
+ ): boolean {
5
+ return acceptedExtensions.some((ext) => fileName.toLowerCase().endsWith(ext))
6
+ }
7
+
8
+ export function readFileAsText(file: File): Promise<string> {
9
+ return new Promise((resolve, reject) => {
10
+ const reader = new FileReader()
11
+ reader.onload = () => resolve(reader.result as string)
12
+ reader.onerror = () => reject(reader.error)
13
+ reader.readAsText(file)
14
+ })
15
+ }
@@ -1,11 +1,5 @@
1
- import type {
2
- Feature,
3
- FeatureCollection,
4
- Geometry,
5
- Polygon,
6
- Position,
7
- } from 'geojson'
8
1
  import type { DatasetSpatialExtent } from '../../../../../../libs/common/domain/src/lib/model/record'
2
+ import type { Feature, FeatureCollection, Geometry, Position } from 'geojson'
9
3
 
10
4
  /**
11
5
  * @returns The geometry if available, otherwise null.
@@ -38,6 +32,30 @@ export function getGeometryFromGeoJSON(
38
32
  // FIXME: this type should be more generic across the project
39
33
  export type BoundingBox = [number, number, number, number]
40
34
 
35
+ export function isBoundingBox(value: unknown): value is BoundingBox {
36
+ return (
37
+ Array.isArray(value) &&
38
+ value.length === 4 &&
39
+ value.every((item) => typeof item === 'number')
40
+ )
41
+ }
42
+
43
+ /**
44
+ * Checks that a bounding box's coordinates stay within the valid
45
+ * longitude (-180/180) and latitude (-90/90) ranges.
46
+ */
47
+ export function isBoundingBoxWithinWorldExtent(bbox: BoundingBox): boolean {
48
+ const [minX, minY, maxX, maxY] = bbox
49
+ return (
50
+ minX >= -180 &&
51
+ maxX <= 180 &&
52
+ minY >= -90 &&
53
+ maxY <= 90 &&
54
+ minX <= maxX &&
55
+ minY <= maxY
56
+ )
57
+ }
58
+
41
59
  export function getGeometryBoundingBox(geometry: Geometry): BoundingBox {
42
60
  // use the bounding box if specified in the GeoJSON object
43
61
  if (geometry.bbox) {
@@ -103,10 +121,27 @@ export function getGeometryBoundingBox(geometry: Geometry): BoundingBox {
103
121
  }
104
122
 
105
123
  /**
106
- * Builds the closed GeoJSON Polygon matching the given bounding box.
124
+ * Builds the GeoJSON Geometry matching the given bounding box.
107
125
  */
108
- export function bboxToPolygon(bbox: BoundingBox): Polygon {
126
+ export function bboxToGeometry(bbox: BoundingBox): Geometry {
109
127
  const [minX, minY, maxX, maxY] = bbox
128
+ if (minX === maxX && minY === maxY) {
129
+ return {
130
+ type: 'Point',
131
+ coordinates: [minX, minY],
132
+ }
133
+ }
134
+
135
+ if (minX === maxX || minY === maxY) {
136
+ return {
137
+ type: 'LineString',
138
+ coordinates: [
139
+ [minX, minY],
140
+ [maxX, maxY],
141
+ ],
142
+ }
143
+ }
144
+
110
145
  return {
111
146
  type: 'Polygon',
112
147
  coordinates: [
@@ -129,7 +164,7 @@ export function spatialExtentToGeometry(
129
164
  extent: DatasetSpatialExtent
130
165
  ): Geometry | null {
131
166
  if (extent.geometry) return extent.geometry
132
- if (extent.bbox) return bboxToPolygon(extent.bbox)
167
+ if (extent.bbox) return bboxToGeometry(extent.bbox)
133
168
  return null
134
169
  }
135
170
 
@@ -1,5 +1,6 @@
1
1
  export * from './bytes-convert'
2
2
  export * from './event'
3
+ export * from './file'
3
4
  export * from './format-fields'
4
5
  export * from './fuzzy-filter'
5
6
  export * from './geojson'
package/tailwind.base.css CHANGED
@@ -224,6 +224,11 @@
224
224
  disabled:cursor-not-allowed disabled:border-gray-100 disabled:placeholder-gray-300 disabled:text-gray-700 disabled:bg-white;
225
225
  }
226
226
 
227
+ .gn-ui-gray-outline-input {
228
+ @apply bg-white rounded-lg
229
+ border border-gray-400 hover:border-neutral-300 hover:bg-black/10;
230
+ }
231
+
227
232
  /* GENERIC CARD */
228
233
  .gn-ui-card {
229
234
  @apply flex flex-row border border-gray-200 rounded-xl p-4 gap-2 w-full;
@@ -65,9 +65,10 @@
65
65
  "dataset.error.restrictedAccess": "",
66
66
  "dataset.error.unknown": "Die Daten können nicht angezeigt werden: \"{ info }\"",
67
67
  "dataset.error.unsupportedType": "Der folgende Inhaltstyp wird nicht unterstützt: \"{ info }\"",
68
- "daterange.filter.from": "Von",
68
+ "daterange.filter.datePlaceholder": "tt.mm.jjjj",
69
+ "daterange.filter.from": "Ab dem",
69
70
  "daterange.filter.period": "Zeitraum auswählen",
70
- "daterange.filter.to": "Bis",
71
+ "daterange.filter.to": "Bis zum",
71
72
  "domain.contact.role.author": "Autor",
72
73
  "domain.contact.role.collaborator": "Mitarbeiter",
73
74
  "domain.contact.role.contributor": "Beitragender",
@@ -165,6 +166,8 @@
165
166
  "editor.record.error.back": "Zurück zum Katalog",
166
167
  "editor.record.error.explanation": "Möglicherweise haben Sie keinen Zugriff auf diese Datei,<br>oder dieser Link ist ungültig.",
167
168
  "editor.record.error.message": "Etwas ist nicht wie erwartet gelaufen.",
169
+ "editor.record.flag.saveError.body": "",
170
+ "editor.record.flag.saveError.title": "",
168
171
  "editor.record.form.bottomButtons.comeBackLater": "Später wiederkommen",
169
172
  "editor.record.form.bottomButtons.next": "Nächste",
170
173
  "editor.record.form.bottomButtons.previous": "Vorherige",
@@ -197,6 +200,8 @@
197
200
  "editor.record.form.field.contacts.placeholder": "Kontakt auswählen",
198
201
  "editor.record.form.field.contactsForResource.noContact": "Bitte geben Sie mindestens einen Ansprechpartner an, der für die Daten verantwortlich ist.",
199
202
  "editor.record.form.field.contactsForResource.placeholder": "Kontakt auswählen",
203
+ "editor.record.form.field.flags.IS_REFERENCE_DATASET": "",
204
+ "editor.record.form.field.hint.flags.IS_REFERENCE_DATASET": "",
200
205
  "editor.record.form.field.keywords": "Schlagwörter",
201
206
  "editor.record.form.field.legalConstraints": "Rechtliche Einschränkung",
202
207
  "editor.record.form.field.license": "Lizenz",
@@ -371,7 +376,7 @@
371
376
  "favorite.starToggle.add": "Zu Favoriten hinzufügen",
372
377
  "favorite.starToggle.remove": "Aus Favoriten entfernen",
373
378
  "feature.catalog.attribute.code": "Code",
374
- "feature.catalog.attribute.definition": "Beschreibung",
379
+ "feature.catalog.attribute.description": "Beschreibung",
375
380
  "feature.catalog.attribute.name": "Name",
376
381
  "feature.catalog.attribute.type": "Typ",
377
382
  "feature.catalog.attribute.values": "Werte",
@@ -424,7 +429,6 @@
424
429
  "map.add.layer.wms": "Aus WMS",
425
430
  "map.addFromFile.placeholder": "Klicke hier oder ziehe eine Datei herein",
426
431
  "map.dropdown.placeholder": "Kein Vorschaulayer verfügbar",
427
- "map.geocoding.placeholder": "Nach einem Ort suchen",
428
432
  "map.help.addFromFile": "Klicke oder ziehe eine Datei herein um eine Karte hinzuzufügen (momentan wird nur das GeoJSON-Format unterstützt).",
429
433
  "map.layer.add": "Hinzufügen",
430
434
  "map.layers.available": "Verfügbare Layer",
@@ -658,6 +662,7 @@
658
662
  "search.filters.changeDate": "Letzte Aktualisierung",
659
663
  "search.filters.clear": "Zurücksetzen",
660
664
  "search.filters.contact": "Kontakte",
665
+ "search.filters.documentStandard": "Dokumentenstandard",
661
666
  "search.filters.format": "Formate",
662
667
  "search.filters.inspireKeyword": "INSPIRE-Schlüsselwort",
663
668
  "search.filters.isSpatial": "Ist räumliche Daten",
@@ -689,10 +694,29 @@
689
694
  "search.filters.recordKind.reuse": "Wiederverwendungen",
690
695
  "search.filters.recordKind.service": "Dienste",
691
696
  "search.filters.representationType": "Repräsentationstyp",
697
+ "search.filters.resourceCreationRevisionDate": "Ressourcendatum",
692
698
  "search.filters.resourceType": "Ressourcentyp",
699
+ "search.filters.spatialExtent": "",
700
+ "search.filters.spatialExtent.bboxFromFile": "",
701
+ "search.filters.spatialExtent.bboxFromFileDelete": "",
702
+ "search.filters.spatialExtent.bboxFromLocation": "",
703
+ "search.filters.spatialExtent.bboxFromLocationDelete": "",
704
+ "search.filters.spatialExtent.bboxInitial": "",
705
+ "search.filters.spatialExtent.bboxInitialDelete": "",
706
+ "search.filters.spatialExtent.error.fileTooLarge": "",
707
+ "search.filters.spatialExtent.error.invalidFormat": "",
708
+ "search.filters.spatialExtent.error.noGeometry": "",
709
+ "search.filters.spatialExtent.error.outOfBounds": "",
710
+ "search.filters.spatialExtent.error.title": "",
711
+ "search.filters.spatialExtent.helpText": "",
712
+ "search.filters.spatialExtent.import": "",
713
+ "search.filters.spatialExtent.searchLocation": "",
693
714
  "search.filters.standard": "Standard",
694
715
  "search.filters.summaryLabel.changeDate": "Geändert am: ",
716
+ "search.filters.summaryLabel.resourceCreationRevisionDate": "Ressourcendatum: ",
717
+ "search.filters.summaryLabel.temporalExtent": "Zeitlicher Umfang: ",
695
718
  "search.filters.summaryLabel.user": "Geändert von: ",
719
+ "search.filters.temporalExtent": "Zeitlicher Umfang",
696
720
  "search.filters.title": "Ergebnisse filtern",
697
721
  "search.filters.topic": "Themen",
698
722
  "search.filters.useSpatialFilter": "Zuerst Ressourcen im Interessenbereich anzeigen",
@@ -65,9 +65,10 @@
65
65
  "dataset.error.restrictedAccess": "Access to this resource is restricted",
66
66
  "dataset.error.unknown": "The data cannot be displayed: \"{ info }\"",
67
67
  "dataset.error.unsupportedType": "The following content type is unsupported: \"{ info }\"",
68
+ "daterange.filter.datePlaceholder": "mm/dd/yyyy",
68
69
  "daterange.filter.from": "From",
69
70
  "daterange.filter.period": "Period",
70
- "daterange.filter.to": "To",
71
+ "daterange.filter.to": "Until",
71
72
  "domain.contact.role.author": "Author",
72
73
  "domain.contact.role.collaborator": "Collaborator",
73
74
  "domain.contact.role.contributor": "Contributor",
@@ -165,6 +166,8 @@
165
166
  "editor.record.error.back": "Go back to the catalog",
166
167
  "editor.record.error.explanation": "You might not have access to this record,<br> Or this link might not be valid.",
167
168
  "editor.record.error.message": "Something went wrong",
169
+ "editor.record.flag.saveError.body": "The {recordKind, select, dataset{dataset} service{service} reuse{reuse} other{record}} could not be modified:",
170
+ "editor.record.flag.saveError.title": "Record modification failed",
168
171
  "editor.record.form.bottomButtons.comeBackLater": "Come back later",
169
172
  "editor.record.form.bottomButtons.next": "Next",
170
173
  "editor.record.form.bottomButtons.previous": "Previous",
@@ -197,6 +200,8 @@
197
200
  "editor.record.form.field.contacts.placeholder": "Choose a contact",
198
201
  "editor.record.form.field.contactsForResource.noContact": "Please provide at least one point of contact responsible for the data.",
199
202
  "editor.record.form.field.contactsForResource.placeholder": "Choose a contact",
203
+ "editor.record.form.field.flags.IS_REFERENCE_DATASET": "Reference dataset",
204
+ "editor.record.form.field.hint.flags.IS_REFERENCE_DATASET": "Enabling this toggle will turn this dataset into a \"reference dataset\". It will be put forward and advertised as such in the search results.",
200
205
  "editor.record.form.field.keywords": "Keywords",
201
206
  "editor.record.form.field.legalConstraints": "Legal constraint",
202
207
  "editor.record.form.field.license": "License",
@@ -371,7 +376,7 @@
371
376
  "favorite.starToggle.add": "Add to favorites",
372
377
  "favorite.starToggle.remove": "Remove from favorites",
373
378
  "feature.catalog.attribute.code": "Code",
374
- "feature.catalog.attribute.definition": "Description",
379
+ "feature.catalog.attribute.description": "Description",
375
380
  "feature.catalog.attribute.name": "Name",
376
381
  "feature.catalog.attribute.type": "Type",
377
382
  "feature.catalog.attribute.values": "Values",
@@ -424,7 +429,6 @@
424
429
  "map.add.layer.wms": "From WMS",
425
430
  "map.addFromFile.placeholder": "Click or drop a file here",
426
431
  "map.dropdown.placeholder": "No preview layer available",
427
- "map.geocoding.placeholder": "Search for a place",
428
432
  "map.help.addFromFile": "Click or drag and drop a file to add to the map (currently supports GeoJSON format only).",
429
433
  "map.layer.add": "Add",
430
434
  "map.layers.available": "Available Layers",
@@ -658,6 +662,7 @@
658
662
  "search.filters.changeDate": "Updated",
659
663
  "search.filters.clear": "Reset",
660
664
  "search.filters.contact": "Contacts",
665
+ "search.filters.documentStandard": "Document standard",
661
666
  "search.filters.format": "Formats",
662
667
  "search.filters.inspireKeyword": "INSPIRE keyword",
663
668
  "search.filters.isSpatial": "Is spatial data",
@@ -689,10 +694,29 @@
689
694
  "search.filters.recordKind.reuse": "Reuses",
690
695
  "search.filters.recordKind.service": "Services",
691
696
  "search.filters.representationType": "Representation type",
697
+ "search.filters.resourceCreationRevisionDate": "Resource date",
692
698
  "search.filters.resourceType": "Resource type",
699
+ "search.filters.spatialExtent": "Spatial extent",
700
+ "search.filters.spatialExtent.bboxFromFile": "Extent from {fileName}",
701
+ "search.filters.spatialExtent.bboxFromFileDelete": "Delete {fileName}",
702
+ "search.filters.spatialExtent.bboxFromLocation": "Extent from {locationName}",
703
+ "search.filters.spatialExtent.bboxFromLocationDelete": "Delete {locationName}",
704
+ "search.filters.spatialExtent.bboxInitial": "Pre-selected extent",
705
+ "search.filters.spatialExtent.bboxInitialDelete": "Delete selection",
706
+ "search.filters.spatialExtent.error.fileTooLarge": "The file exceeds the maximum allowed size ({maxSize} MB)",
707
+ "search.filters.spatialExtent.error.invalidFormat": "The file could not be read as a valid GeoJSON",
708
+ "search.filters.spatialExtent.error.noGeometry": "No geometry could be found in the file",
709
+ "search.filters.spatialExtent.error.outOfBounds": "The geometry of the GeoJSON file is not compliant; either some coordinates are out of bounds ([-180, 180] for longitude and [-90, 90] for latitude), or the file uses projected coordinates instead of longitude and latitude",
710
+ "search.filters.spatialExtent.error.title": "GeoJSON import error",
711
+ "search.filters.spatialExtent.helpText": "The extent of the selected geometry will be used",
712
+ "search.filters.spatialExtent.import": "Import a GeoJSON",
713
+ "search.filters.spatialExtent.searchLocation": "Search in the list",
693
714
  "search.filters.standard": "Standard",
694
715
  "search.filters.summaryLabel.changeDate": "Updated: ",
716
+ "search.filters.summaryLabel.resourceCreationRevisionDate": "Resource date: ",
717
+ "search.filters.summaryLabel.temporalExtent": "Temporal extent: ",
695
718
  "search.filters.summaryLabel.user": "Editor: ",
719
+ "search.filters.temporalExtent": "Temporal extent",
696
720
  "search.filters.title": "Filter your results",
697
721
  "search.filters.topic": "Topics",
698
722
  "search.filters.useSpatialFilter": "Show records in the area of interest first",
@@ -65,6 +65,7 @@
65
65
  "dataset.error.restrictedAccess": "",
66
66
  "dataset.error.unknown": "",
67
67
  "dataset.error.unsupportedType": "",
68
+ "daterange.filter.datePlaceholder": "dd/mm/aaaa",
68
69
  "daterange.filter.from": "",
69
70
  "daterange.filter.period": "",
70
71
  "daterange.filter.to": "",
@@ -165,6 +166,8 @@
165
166
  "editor.record.error.back": "",
166
167
  "editor.record.error.explanation": "",
167
168
  "editor.record.error.message": "",
169
+ "editor.record.flag.saveError.body": "",
170
+ "editor.record.flag.saveError.title": "",
168
171
  "editor.record.form.bottomButtons.comeBackLater": "",
169
172
  "editor.record.form.bottomButtons.next": "",
170
173
  "editor.record.form.bottomButtons.previous": "",
@@ -197,6 +200,8 @@
197
200
  "editor.record.form.field.contacts.placeholder": "",
198
201
  "editor.record.form.field.contactsForResource.noContact": "",
199
202
  "editor.record.form.field.contactsForResource.placeholder": "",
203
+ "editor.record.form.field.flags.IS_REFERENCE_DATASET": "",
204
+ "editor.record.form.field.hint.flags.IS_REFERENCE_DATASET": "",
200
205
  "editor.record.form.field.keywords": "",
201
206
  "editor.record.form.field.legalConstraints": "",
202
207
  "editor.record.form.field.license": "",
@@ -371,7 +376,7 @@
371
376
  "favorite.starToggle.add": "Añadir a favoritos",
372
377
  "favorite.starToggle.remove": "Eliminar de favoritos",
373
378
  "feature.catalog.attribute.code": "Código",
374
- "feature.catalog.attribute.definition": "Descripción",
379
+ "feature.catalog.attribute.description": "Descripción",
375
380
  "feature.catalog.attribute.name": "Nombre",
376
381
  "feature.catalog.attribute.type": "Tipo",
377
382
  "feature.catalog.attribute.values": "Valores",
@@ -424,7 +429,6 @@
424
429
  "map.add.layer.wms": "",
425
430
  "map.addFromFile.placeholder": "",
426
431
  "map.dropdown.placeholder": "",
427
- "map.geocoding.placeholder": "",
428
432
  "map.help.addFromFile": "",
429
433
  "map.layer.add": "",
430
434
  "map.layers.available": "",
@@ -658,6 +662,7 @@
658
662
  "search.filters.changeDate": "Última actualización",
659
663
  "search.filters.clear": "",
660
664
  "search.filters.contact": "",
665
+ "search.filters.documentStandard": "",
661
666
  "search.filters.format": "",
662
667
  "search.filters.inspireKeyword": "",
663
668
  "search.filters.isSpatial": "",
@@ -689,10 +694,29 @@
689
694
  "search.filters.recordKind.reuse": "",
690
695
  "search.filters.recordKind.service": "",
691
696
  "search.filters.representationType": "",
697
+ "search.filters.resourceCreationRevisionDate": "",
692
698
  "search.filters.resourceType": "",
699
+ "search.filters.spatialExtent": "",
700
+ "search.filters.spatialExtent.bboxFromFile": "",
701
+ "search.filters.spatialExtent.bboxFromFileDelete": "",
702
+ "search.filters.spatialExtent.bboxFromLocation": "",
703
+ "search.filters.spatialExtent.bboxFromLocationDelete": "",
704
+ "search.filters.spatialExtent.bboxInitial": "",
705
+ "search.filters.spatialExtent.bboxInitialDelete": "",
706
+ "search.filters.spatialExtent.error.fileTooLarge": "",
707
+ "search.filters.spatialExtent.error.invalidFormat": "",
708
+ "search.filters.spatialExtent.error.noGeometry": "",
709
+ "search.filters.spatialExtent.error.outOfBounds": "",
710
+ "search.filters.spatialExtent.error.title": "",
711
+ "search.filters.spatialExtent.helpText": "",
712
+ "search.filters.spatialExtent.import": "",
713
+ "search.filters.spatialExtent.searchLocation": "",
693
714
  "search.filters.standard": "",
694
715
  "search.filters.summaryLabel.changeDate": "",
716
+ "search.filters.summaryLabel.resourceCreationRevisionDate": "",
717
+ "search.filters.summaryLabel.temporalExtent": "",
695
718
  "search.filters.summaryLabel.user": "",
719
+ "search.filters.temporalExtent": "",
696
720
  "search.filters.title": "",
697
721
  "search.filters.topic": "",
698
722
  "search.filters.useSpatialFilter": "",