geonetwork-ui 2.11.0-dev.e7b8ec331 → 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.
- package/fesm2022/geonetwork-ui.mjs +2654 -1669
- package/fesm2022/geonetwork-ui.mjs.map +1 -1
- package/index.d.ts +465 -187
- package/index.d.ts.map +1 -1
- package/package.json +13 -11
- package/src/libs/api/metadata-converter/src/lib/dcat-ap/dcat-ap.converter.ts +2 -0
- package/src/libs/api/metadata-converter/src/lib/fixtures/mel.records.dataset+featurecatalog.ts +395 -0
- package/src/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.ts +78 -21
- package/src/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.ts +19 -0
- package/src/libs/api/metadata-converter/src/lib/iso19115-3/iso19115-3.converter.ts +17 -6
- package/src/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.ts +110 -0
- package/src/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.ts +131 -0
- package/src/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.ts +9 -0
- package/src/libs/api/metadata-converter/src/lib/iso19139/read-parts.ts +2 -1
- package/src/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.ts +160 -54
- package/src/libs/api/repository/src/lib/gn4/gn4-repository.ts +119 -51
- package/src/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.ts +11 -0
- package/src/libs/common/domain/src/lib/model/record/flags.model.ts +1 -0
- package/src/libs/common/domain/src/lib/model/record/index.ts +1 -0
- package/src/libs/common/domain/src/lib/model/record/metadata.model.ts +26 -18
- package/src/libs/common/domain/src/lib/model/search/aggregation.model.ts +2 -0
- package/src/libs/common/domain/src/lib/model/search/filter.model.ts +24 -2
- package/src/libs/common/domain/src/lib/platform.service.interface.ts +1 -0
- package/src/libs/common/domain/src/lib/repository/records-repository.interface.ts +22 -3
- package/src/libs/common/fixtures/src/lib/records.fixtures.ts +42 -62
- package/src/libs/feature/dataviz/src/lib/chart-view/chart-view.component.ts +3 -2
- package/src/libs/feature/dataviz/src/lib/geo-table-view/geo-table-view.component.ts +2 -1
- package/src/libs/feature/dataviz/src/lib/service/data.service.ts +54 -41
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints/form-field-constraints.component.ts +3 -5
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts/form-field-contacts.component.ts +2 -2
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-record-flags/form-field-record-flag-component.html +18 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-record-flags/form-field-record-flag-component.ts +86 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.html +100 -88
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.ts +11 -4
- package/src/libs/feature/editor/src/lib/components/record-form/record-form.component.ts +18 -4
- package/src/libs/feature/editor/src/lib/expressions.ts +67 -0
- package/src/libs/feature/editor/src/lib/fields.config.ts +13 -0
- package/src/libs/feature/editor/src/lib/models/editor-config.model.ts +10 -4
- package/src/libs/feature/map/src/index.ts +0 -2
- package/src/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.html +1 -0
- package/src/libs/feature/map/src/lib/feature-map.module.ts +1 -8
- package/src/libs/feature/notifications/src/lib/notifications.service.ts +6 -4
- package/src/libs/feature/notify-reuse/src/lib/notify-reuse-form/notify-reuse-form.component.ts +8 -3
- package/src/libs/feature/record/src/lib/state/mdview.actions.ts +4 -8
- package/src/libs/feature/record/src/lib/state/mdview.effects.ts +10 -17
- package/src/libs/feature/record/src/lib/state/mdview.facade.ts +2 -4
- package/src/libs/feature/record/src/lib/state/mdview.reducer.ts +4 -9
- package/src/libs/feature/record/src/lib/state/mdview.selectors.ts +2 -7
- package/src/libs/feature/router/src/lib/default/state/query-params.utils.ts +1 -1
- package/src/libs/feature/search/src/index.ts +2 -0
- package/src/libs/feature/search/src/lib/filter-dropdown/filter-dropdown.component.html +18 -4
- package/src/libs/feature/search/src/lib/filter-dropdown/filter-dropdown.component.ts +80 -19
- package/src/libs/feature/search/src/lib/geocoding/geocoding.service.ts +105 -0
- package/src/libs/feature/search/src/lib/location-search/location-search.component.html +18 -0
- package/src/libs/feature/search/src/lib/location-search/location-search.component.ts +114 -0
- package/src/libs/feature/search/src/lib/search-filters-summary-item/search-filters-summary-item.component.ts +19 -8
- package/src/libs/feature/search/src/lib/state/reducer.ts +1 -4
- package/src/libs/feature/search/src/lib/utils/service/fields.service.ts +64 -4
- package/src/libs/feature/search/src/lib/utils/service/fields.ts +94 -10
- package/src/libs/ui/dataviz/src/lib/data-table/data-table.component.html +6 -7
- package/src/libs/ui/dataviz/src/lib/data-table/data-table.component.ts +31 -19
- package/src/libs/ui/dataviz/src/lib/data-table/data-table.fixtures.ts +2 -2
- package/src/libs/ui/elements/src/lib/record-feature-catalog/feature-catalog-list/feature-catalog-list.component.html +3 -3
- package/src/libs/ui/elements/src/lib/record-feature-catalog/feature-catalog-list/feature-catalog-list.component.ts +2 -2
- package/src/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.ts +2 -1
- package/src/libs/ui/inputs/src/index.ts +2 -0
- package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.css +0 -4
- package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.html +12 -3
- package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.ts +11 -3
- package/src/libs/ui/inputs/src/lib/date-adapter.providers.ts +30 -0
- package/src/libs/ui/inputs/src/lib/date-picker/date-picker.component.ts +3 -24
- package/src/libs/ui/inputs/src/lib/date-range-dropdown/date-range-dropdown.component.css +37 -3
- package/src/libs/ui/inputs/src/lib/date-range-dropdown/date-range-dropdown.component.html +135 -16
- package/src/libs/ui/inputs/src/lib/date-range-dropdown/date-range-dropdown.component.ts +166 -29
- package/src/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.ts +3 -7
- package/src/libs/ui/inputs/src/lib/drag-and-drop-file-input/drag-and-drop-file-input.component.css +1 -0
- package/src/libs/ui/inputs/src/lib/drag-and-drop-file-input/drag-and-drop-file-input.component.html +20 -7
- package/src/libs/ui/inputs/src/lib/drag-and-drop-file-input/drag-and-drop-file-input.component.ts +46 -5
- package/src/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.component.html +7 -4
- package/src/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.component.ts +12 -9
- package/src/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.model.ts +2 -2
- package/src/libs/ui/inputs/src/lib/search-feature-catalog/search-feature-catalog.component.ts +2 -1
- package/src/libs/ui/inputs/src/lib/spatial-extent-dropdown/spatial-extent-dropdown.component.css +0 -0
- package/src/libs/ui/inputs/src/lib/spatial-extent-dropdown/spatial-extent-dropdown.component.html +117 -0
- package/src/libs/ui/inputs/src/lib/spatial-extent-dropdown/spatial-extent-dropdown.component.ts +244 -0
- package/src/libs/ui/layout/src/lib/block-list/block-list.component.css +1 -0
- package/src/libs/ui/map/src/lib/components/map-container/map-container.component.ts +6 -5
- package/src/libs/util/app-config/src/index.ts +1 -0
- package/src/libs/util/app-config/src/lib/app-config.ts +338 -247
- package/src/libs/util/app-config/src/lib/fixtures.ts +37 -1
- package/src/libs/util/app-config/src/lib/model.ts +42 -1
- package/src/libs/util/app-config/src/lib/parse-utils.ts +8 -4
- package/src/libs/util/data-fetcher/src/lib/data-fetcher.ts +19 -22
- package/src/libs/util/data-fetcher/src/lib/engine/duckdb.ts +185 -0
- package/src/libs/util/data-fetcher/src/lib/engine/results.ts +63 -0
- package/src/libs/util/data-fetcher/src/lib/{sql-utils.ts → engine/sql-utils.ts} +28 -13
- package/src/libs/util/data-fetcher/src/lib/model.ts +2 -1
- package/src/libs/util/data-fetcher/src/lib/readers/base-file.ts +53 -38
- package/src/libs/util/data-fetcher/src/lib/readers/base.ts +11 -0
- package/src/libs/util/data-fetcher/src/lib/readers/csv.ts +9 -47
- package/src/libs/util/data-fetcher/src/lib/readers/excel.ts +27 -27
- package/src/libs/util/data-fetcher/src/lib/readers/geojson.ts +5 -24
- package/src/libs/util/data-fetcher/src/lib/readers/gml.ts +5 -49
- package/src/libs/util/data-fetcher/src/lib/readers/json.ts +5 -23
- package/src/libs/util/data-fetcher/src/lib/readers/wfs.ts +184 -128
- package/src/libs/util/data-fetcher/src/lib/utils.ts +0 -143
- package/src/libs/util/shared/src/index.ts +1 -0
- package/src/libs/util/shared/src/lib/autofocus.directive.ts +26 -0
- package/src/libs/util/shared/src/lib/links/link-utils.ts +19 -10
- package/src/libs/util/shared/src/lib/services/date.service.ts +3 -3
- package/src/libs/util/shared/src/lib/utils/file.ts +15 -0
- package/src/libs/util/shared/src/lib/utils/geojson.ts +45 -10
- package/src/libs/util/shared/src/lib/utils/index.ts +1 -0
- package/tailwind.base.css +5 -0
- package/translations/de.json +29 -4
- package/translations/en.json +28 -3
- package/translations/es.json +27 -2
- package/translations/fr.json +33 -8
- package/translations/it.json +27 -2
- package/translations/nl.json +27 -2
- package/translations/pt.json +27 -2
- package/translations/sk.json +27 -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/util/data-fetcher/src/lib/readers/base-cache.ts +0 -14
- /package/src/libs/feature/{map/src/lib/geocoding/geocoding.component.css → editor/src/lib/components/record-form/form-field/form-field-record-flags/form-field-record-flag-component.css} +0 -0
|
@@ -2,14 +2,11 @@ import {
|
|
|
2
2
|
DataItem,
|
|
3
3
|
DatasetHeaders,
|
|
4
4
|
FetchError,
|
|
5
|
-
PropertyInfo,
|
|
6
5
|
SupportedType,
|
|
7
6
|
SupportedTypes,
|
|
8
7
|
} from './model'
|
|
9
8
|
import { sharedFetch, useCache } from '@camptocamp/ogc-client'
|
|
10
9
|
import { parseHeaders } from './headers'
|
|
11
|
-
import { parse as parseDate } from 'date-fns/parse'
|
|
12
|
-
import { parseISO as parseIsoDate } from 'date-fns/parseISO'
|
|
13
10
|
|
|
14
11
|
export async function inferDatasetType(
|
|
15
12
|
url: string,
|
|
@@ -95,146 +92,6 @@ export function fetchDataAsArrayBuffer(
|
|
|
95
92
|
})
|
|
96
93
|
}
|
|
97
94
|
|
|
98
|
-
export function tryParseDate(input: unknown): Date | null {
|
|
99
|
-
if (typeof input !== 'string') return null
|
|
100
|
-
|
|
101
|
-
function tryIso(value: string) {
|
|
102
|
-
const parsed = parseIsoDate(value)
|
|
103
|
-
return isNaN(parsed.getDate()) ? null : parsed
|
|
104
|
-
}
|
|
105
|
-
function tryFormat(value: string, format: string) {
|
|
106
|
-
const parsed = parseDate(value, format, new Date())
|
|
107
|
-
return isNaN(parsed.getDate()) ? null : parsed
|
|
108
|
-
}
|
|
109
|
-
return (
|
|
110
|
-
tryIso(input) ||
|
|
111
|
-
tryFormat(input, 'dd/MM/yyyy') ||
|
|
112
|
-
tryFormat(input, 'dd.MM.yyyy') ||
|
|
113
|
-
tryFormat(input, 'MM/dd/yyyy') ||
|
|
114
|
-
null
|
|
115
|
-
)
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
export function tryParseNumber(input: string): number | null {
|
|
119
|
-
if (isNaN(input as any)) return null
|
|
120
|
-
const parsed = parseFloat(input)
|
|
121
|
-
return isNaN(parsed) ? null : parsed
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
export function jsonToGeojsonFeature(object: { [key: string]: any }): DataItem {
|
|
125
|
-
const { id, properties } = Object.keys(object)
|
|
126
|
-
.map((property) => (property ? property : 'unknown')) //prevent empty strings
|
|
127
|
-
.reduce(
|
|
128
|
-
(prev, curr) =>
|
|
129
|
-
curr.toLowerCase().endsWith('id')
|
|
130
|
-
? {
|
|
131
|
-
...prev,
|
|
132
|
-
id: object[curr],
|
|
133
|
-
}
|
|
134
|
-
: {
|
|
135
|
-
...prev,
|
|
136
|
-
properties: { ...prev.properties, [curr]: object[curr] },
|
|
137
|
-
},
|
|
138
|
-
{ id: undefined, properties: {} }
|
|
139
|
-
)
|
|
140
|
-
return {
|
|
141
|
-
type: 'Feature',
|
|
142
|
-
geometry: null,
|
|
143
|
-
properties,
|
|
144
|
-
...(id !== undefined && { id }),
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
function mutateProperties(
|
|
149
|
-
items: DataItem[],
|
|
150
|
-
mutators: { [fieldName: string]: (value: unknown) => unknown }
|
|
151
|
-
): DataItem[] {
|
|
152
|
-
const mutatorKeys = Object.keys(mutators)
|
|
153
|
-
for (let i = 0, ii = items.length; i < ii; i++) {
|
|
154
|
-
const item = items[i]
|
|
155
|
-
for (const mutatorField of mutatorKeys) {
|
|
156
|
-
if (!(mutatorField in item.properties)) continue
|
|
157
|
-
item.properties[mutatorField] = mutators[mutatorField](
|
|
158
|
-
item.properties[mutatorField]
|
|
159
|
-
)
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
return items
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
const SAMPLE_SIZE = 20
|
|
166
|
-
|
|
167
|
-
/**
|
|
168
|
-
* This will infer field types from a list of data items and cast the values accordingly
|
|
169
|
-
* @param items
|
|
170
|
-
* @param inferTypes
|
|
171
|
-
*/
|
|
172
|
-
export function processItemProperties(
|
|
173
|
-
items: DataItem[],
|
|
174
|
-
inferTypes = false
|
|
175
|
-
): {
|
|
176
|
-
items: DataItem[]
|
|
177
|
-
properties: PropertyInfo[]
|
|
178
|
-
} {
|
|
179
|
-
const foundFields: { [name: string]: PropertyInfo } = {}
|
|
180
|
-
for (let i = 0, ii = Math.min(SAMPLE_SIZE, items.length); i < ii; i++) {
|
|
181
|
-
const item = items[i]
|
|
182
|
-
const fields = Object.keys(item.properties)
|
|
183
|
-
for (const field of fields) {
|
|
184
|
-
if (!(field in foundFields)) {
|
|
185
|
-
foundFields[field] = {
|
|
186
|
-
label: field,
|
|
187
|
-
name: field,
|
|
188
|
-
type: null,
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
const value = item.properties[field]
|
|
192
|
-
const info = foundFields[field]
|
|
193
|
-
if (value === undefined || value === '' || value === null) continue
|
|
194
|
-
|
|
195
|
-
if (!inferTypes) {
|
|
196
|
-
if (info.type === null && typeof value === 'number') {
|
|
197
|
-
info.type = 'number'
|
|
198
|
-
} else if (info.type === 'number' && typeof value !== 'number') {
|
|
199
|
-
info.type = 'string'
|
|
200
|
-
}
|
|
201
|
-
continue
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
const parsedNumber = tryParseNumber(value)
|
|
205
|
-
if (info.type === null && parsedNumber !== null) {
|
|
206
|
-
info.type = 'number'
|
|
207
|
-
continue
|
|
208
|
-
} else if (info.type === 'number' && parsedNumber === null) {
|
|
209
|
-
info.type = 'string'
|
|
210
|
-
continue
|
|
211
|
-
}
|
|
212
|
-
const parsedDate = tryParseDate(value)
|
|
213
|
-
if (info.type === null && parsedDate !== null) {
|
|
214
|
-
info.type = 'date'
|
|
215
|
-
} else if (info.type === 'date' && parsedDate === null) {
|
|
216
|
-
info.type = 'string'
|
|
217
|
-
}
|
|
218
|
-
}
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
const properties: PropertyInfo[] = []
|
|
222
|
-
const mutators = {}
|
|
223
|
-
for (const field in foundFields) {
|
|
224
|
-
const info = foundFields[field]
|
|
225
|
-
if (info.type === 'number') {
|
|
226
|
-
mutators[field] = tryParseNumber
|
|
227
|
-
} else if (info.type === 'date') {
|
|
228
|
-
mutators[field] = tryParseDate
|
|
229
|
-
}
|
|
230
|
-
properties.push({ ...info, type: info.type || 'string' })
|
|
231
|
-
}
|
|
232
|
-
if (inferTypes) {
|
|
233
|
-
mutateProperties(items, mutators)
|
|
234
|
-
}
|
|
235
|
-
return { items, properties }
|
|
236
|
-
}
|
|
237
|
-
|
|
238
95
|
/**
|
|
239
96
|
* This creates a Proxy that allows reading and writing to the data item properties
|
|
240
97
|
* as if it was a simple array of JSON objects
|
|
@@ -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(
|
|
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 =
|
|
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
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
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
|
-
|
|
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.
|
|
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
|
|
124
|
+
* Builds the GeoJSON Geometry matching the given bounding box.
|
|
107
125
|
*/
|
|
108
|
-
export function
|
|
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
|
|
167
|
+
if (extent.bbox) return bboxToGeometry(extent.bbox)
|
|
133
168
|
return null
|
|
134
169
|
}
|
|
135
170
|
|
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;
|
package/translations/de.json
CHANGED
|
@@ -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.
|
|
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.
|
|
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",
|
|
@@ -550,6 +554,7 @@
|
|
|
550
554
|
"record.metadata.languages": "Sprachen",
|
|
551
555
|
"record.metadata.link.postgis.table": "Tabelle:",
|
|
552
556
|
"record.metadata.link.postgis.tooltip": "PostGIS-Ressourcen haben keinen Zugriffslink.",
|
|
557
|
+
"record.metadata.linked.associatedRecords": "",
|
|
553
558
|
"record.metadata.linked.datasets": "Verknüpfte Datensätze",
|
|
554
559
|
"record.metadata.linked.records": "Verknüpfte Inhalte",
|
|
555
560
|
"record.metadata.linked.reuses": "Verknüpfte Wiederverwendungen",
|
|
@@ -657,6 +662,7 @@
|
|
|
657
662
|
"search.filters.changeDate": "Letzte Aktualisierung",
|
|
658
663
|
"search.filters.clear": "Zurücksetzen",
|
|
659
664
|
"search.filters.contact": "Kontakte",
|
|
665
|
+
"search.filters.documentStandard": "Dokumentenstandard",
|
|
660
666
|
"search.filters.format": "Formate",
|
|
661
667
|
"search.filters.inspireKeyword": "INSPIRE-Schlüsselwort",
|
|
662
668
|
"search.filters.isSpatial": "Ist räumliche Daten",
|
|
@@ -688,10 +694,29 @@
|
|
|
688
694
|
"search.filters.recordKind.reuse": "Wiederverwendungen",
|
|
689
695
|
"search.filters.recordKind.service": "Dienste",
|
|
690
696
|
"search.filters.representationType": "Repräsentationstyp",
|
|
697
|
+
"search.filters.resourceCreationRevisionDate": "Ressourcendatum",
|
|
691
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": "",
|
|
692
714
|
"search.filters.standard": "Standard",
|
|
693
715
|
"search.filters.summaryLabel.changeDate": "Geändert am: ",
|
|
716
|
+
"search.filters.summaryLabel.resourceCreationRevisionDate": "Ressourcendatum: ",
|
|
717
|
+
"search.filters.summaryLabel.temporalExtent": "Zeitlicher Umfang: ",
|
|
694
718
|
"search.filters.summaryLabel.user": "Geändert von: ",
|
|
719
|
+
"search.filters.temporalExtent": "Zeitlicher Umfang",
|
|
695
720
|
"search.filters.title": "Ergebnisse filtern",
|
|
696
721
|
"search.filters.topic": "Themen",
|
|
697
722
|
"search.filters.useSpatialFilter": "Zuerst Ressourcen im Interessenbereich anzeigen",
|
package/translations/en.json
CHANGED
|
@@ -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": "
|
|
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.
|
|
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",
|
|
@@ -550,6 +554,7 @@
|
|
|
550
554
|
"record.metadata.languages": "Languages",
|
|
551
555
|
"record.metadata.link.postgis.table": "table :",
|
|
552
556
|
"record.metadata.link.postgis.tooltip": "PostGIS resources do not have access links",
|
|
557
|
+
"record.metadata.linked.associatedRecords": "Records referencing the current one",
|
|
553
558
|
"record.metadata.linked.datasets": "Associated datasets",
|
|
554
559
|
"record.metadata.linked.records": "Associated content",
|
|
555
560
|
"record.metadata.linked.reuses": "Associated reuses",
|
|
@@ -657,6 +662,7 @@
|
|
|
657
662
|
"search.filters.changeDate": "Updated",
|
|
658
663
|
"search.filters.clear": "Reset",
|
|
659
664
|
"search.filters.contact": "Contacts",
|
|
665
|
+
"search.filters.documentStandard": "Document standard",
|
|
660
666
|
"search.filters.format": "Formats",
|
|
661
667
|
"search.filters.inspireKeyword": "INSPIRE keyword",
|
|
662
668
|
"search.filters.isSpatial": "Is spatial data",
|
|
@@ -688,10 +694,29 @@
|
|
|
688
694
|
"search.filters.recordKind.reuse": "Reuses",
|
|
689
695
|
"search.filters.recordKind.service": "Services",
|
|
690
696
|
"search.filters.representationType": "Representation type",
|
|
697
|
+
"search.filters.resourceCreationRevisionDate": "Resource date",
|
|
691
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",
|
|
692
714
|
"search.filters.standard": "Standard",
|
|
693
715
|
"search.filters.summaryLabel.changeDate": "Updated: ",
|
|
716
|
+
"search.filters.summaryLabel.resourceCreationRevisionDate": "Resource date: ",
|
|
717
|
+
"search.filters.summaryLabel.temporalExtent": "Temporal extent: ",
|
|
694
718
|
"search.filters.summaryLabel.user": "Editor: ",
|
|
719
|
+
"search.filters.temporalExtent": "Temporal extent",
|
|
695
720
|
"search.filters.title": "Filter your results",
|
|
696
721
|
"search.filters.topic": "Topics",
|
|
697
722
|
"search.filters.useSpatialFilter": "Show records in the area of interest first",
|
package/translations/es.json
CHANGED
|
@@ -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.
|
|
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": "",
|
|
@@ -550,6 +554,7 @@
|
|
|
550
554
|
"record.metadata.languages": "",
|
|
551
555
|
"record.metadata.link.postgis.table": "",
|
|
552
556
|
"record.metadata.link.postgis.tooltip": "",
|
|
557
|
+
"record.metadata.linked.associatedRecords": "",
|
|
553
558
|
"record.metadata.linked.datasets": "",
|
|
554
559
|
"record.metadata.linked.records": "",
|
|
555
560
|
"record.metadata.linked.reuses": "",
|
|
@@ -657,6 +662,7 @@
|
|
|
657
662
|
"search.filters.changeDate": "Última actualización",
|
|
658
663
|
"search.filters.clear": "",
|
|
659
664
|
"search.filters.contact": "",
|
|
665
|
+
"search.filters.documentStandard": "",
|
|
660
666
|
"search.filters.format": "",
|
|
661
667
|
"search.filters.inspireKeyword": "",
|
|
662
668
|
"search.filters.isSpatial": "",
|
|
@@ -688,10 +694,29 @@
|
|
|
688
694
|
"search.filters.recordKind.reuse": "",
|
|
689
695
|
"search.filters.recordKind.service": "",
|
|
690
696
|
"search.filters.representationType": "",
|
|
697
|
+
"search.filters.resourceCreationRevisionDate": "",
|
|
691
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": "",
|
|
692
714
|
"search.filters.standard": "",
|
|
693
715
|
"search.filters.summaryLabel.changeDate": "",
|
|
716
|
+
"search.filters.summaryLabel.resourceCreationRevisionDate": "",
|
|
717
|
+
"search.filters.summaryLabel.temporalExtent": "",
|
|
694
718
|
"search.filters.summaryLabel.user": "",
|
|
719
|
+
"search.filters.temporalExtent": "",
|
|
695
720
|
"search.filters.title": "",
|
|
696
721
|
"search.filters.topic": "",
|
|
697
722
|
"search.filters.useSpatialFilter": "",
|