geonetwork-ui 2.11.0-dev.2478042b2 → 2.11.0-dev.4976ded4f
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 +595 -183
- package/fesm2022/geonetwork-ui.mjs.map +1 -1
- package/index.d.ts +133 -31
- package/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.ts +47 -7
- package/src/libs/common/domain/src/lib/model/search/filter.model.ts +13 -1
- package/src/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.html +1 -0
- package/src/libs/feature/notifications/src/lib/notifications.service.ts +6 -4
- package/src/libs/feature/router/src/lib/default/state/query-params.utils.ts +1 -1
- package/src/libs/feature/search/src/lib/filter-dropdown/filter-dropdown.component.html +9 -4
- package/src/libs/feature/search/src/lib/filter-dropdown/filter-dropdown.component.ts +46 -19
- package/src/libs/feature/search/src/lib/search-filters-summary-item/search-filters-summary-item.component.ts +17 -8
- package/src/libs/feature/search/src/lib/utils/service/fields.service.ts +3 -1
- package/src/libs/feature/search/src/lib/utils/service/fields.ts +27 -2
- package/src/libs/ui/inputs/src/index.ts +2 -0
- 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 +1 -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 +191 -0
- package/src/libs/ui/map/src/lib/components/map-container/map-container.component.ts +6 -5
- package/src/libs/util/app-config/src/lib/app-config.ts +3 -0
- package/src/libs/util/app-config/src/lib/model.ts +1 -0
- 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/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 +8 -0
- package/src/libs/util/shared/src/lib/utils/index.ts +1 -0
- package/tailwind.base.css +5 -0
- package/translations/de.json +12 -2
- package/translations/en.json +11 -1
- package/translations/es.json +10 -0
- package/translations/fr.json +12 -2
- package/translations/it.json +10 -0
- package/translations/nl.json +10 -0
- package/translations/pt.json +10 -0
- package/translations/sk.json +10 -0
package/src/libs/ui/inputs/src/lib/spatial-extent-dropdown/spatial-extent-dropdown.component.ts
ADDED
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ChangeDetectionStrategy,
|
|
3
|
+
ChangeDetectorRef,
|
|
4
|
+
Component,
|
|
5
|
+
EventEmitter,
|
|
6
|
+
Input,
|
|
7
|
+
Output,
|
|
8
|
+
ViewChild,
|
|
9
|
+
inject,
|
|
10
|
+
} from '@angular/core'
|
|
11
|
+
import {
|
|
12
|
+
CdkConnectedOverlay,
|
|
13
|
+
CdkOverlayOrigin,
|
|
14
|
+
ConnectedPosition,
|
|
15
|
+
OverlayModule,
|
|
16
|
+
ScrollStrategyOptions,
|
|
17
|
+
} from '@angular/cdk/overlay'
|
|
18
|
+
|
|
19
|
+
import { ButtonComponent } from '../button/button.component'
|
|
20
|
+
import { NgIcon, provideIcons } from '@ng-icons/core'
|
|
21
|
+
import {
|
|
22
|
+
iconoirCheckCircle,
|
|
23
|
+
iconoirImport,
|
|
24
|
+
iconoirSquareDashed,
|
|
25
|
+
iconoirTrash,
|
|
26
|
+
} from '@ng-icons/iconoir'
|
|
27
|
+
import {
|
|
28
|
+
matClose,
|
|
29
|
+
matExpandLess,
|
|
30
|
+
matExpandMore,
|
|
31
|
+
} from '@ng-icons/material-icons/baseline'
|
|
32
|
+
import { TranslatePipe } from '@ngx-translate/core'
|
|
33
|
+
import { marker } from '@biesbjerg/ngx-translate-extract-marker'
|
|
34
|
+
import {
|
|
35
|
+
BoundingBox,
|
|
36
|
+
getGeometryBoundingBox,
|
|
37
|
+
getGeometryFromGeoJSON,
|
|
38
|
+
propagateToDocumentOnly,
|
|
39
|
+
readFileAsText,
|
|
40
|
+
} from '../../../../../../libs/util/shared/src'
|
|
41
|
+
import {
|
|
42
|
+
DragAndDropFileInputComponent,
|
|
43
|
+
DragAndDropFileInputError,
|
|
44
|
+
} from '../drag-and-drop-file-input/drag-and-drop-file-input.component'
|
|
45
|
+
|
|
46
|
+
marker('search.filters.spatialExtent.import')
|
|
47
|
+
marker('search.filters.spatialExtent.helpText')
|
|
48
|
+
marker('search.filters.spatialExtent.error.title')
|
|
49
|
+
marker('search.filters.spatialExtent.bboxPrefix')
|
|
50
|
+
|
|
51
|
+
export interface SpatialExtentDropdownError {
|
|
52
|
+
key: string
|
|
53
|
+
params?: Record<string, string | number>
|
|
54
|
+
}
|
|
55
|
+
marker('search.filters.spatialExtent.bboxDelete')
|
|
56
|
+
|
|
57
|
+
@Component({
|
|
58
|
+
selector: 'gn-ui-spatial-extent-dropdown',
|
|
59
|
+
standalone: true,
|
|
60
|
+
imports: [
|
|
61
|
+
ButtonComponent,
|
|
62
|
+
NgIcon,
|
|
63
|
+
OverlayModule,
|
|
64
|
+
TranslatePipe,
|
|
65
|
+
DragAndDropFileInputComponent,
|
|
66
|
+
],
|
|
67
|
+
providers: [
|
|
68
|
+
provideIcons({
|
|
69
|
+
iconoirCheckCircle,
|
|
70
|
+
iconoirImport,
|
|
71
|
+
iconoirSquareDashed,
|
|
72
|
+
iconoirTrash,
|
|
73
|
+
matClose,
|
|
74
|
+
matExpandLess,
|
|
75
|
+
matExpandMore,
|
|
76
|
+
}),
|
|
77
|
+
],
|
|
78
|
+
templateUrl: './spatial-extent-dropdown.component.html',
|
|
79
|
+
styleUrls: ['./spatial-extent-dropdown.component.css'],
|
|
80
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
81
|
+
})
|
|
82
|
+
export class SpatialExtentDropdownComponent {
|
|
83
|
+
private cd = inject(ChangeDetectorRef)
|
|
84
|
+
private scrollStrategies = inject(ScrollStrategyOptions)
|
|
85
|
+
|
|
86
|
+
@Input() title: string
|
|
87
|
+
@Input() maxFileSizeMb: number | null = null
|
|
88
|
+
|
|
89
|
+
@Output() bboxChange = new EventEmitter<BoundingBox | null>()
|
|
90
|
+
@Output() errorChange = new EventEmitter<SpatialExtentDropdownError>()
|
|
91
|
+
|
|
92
|
+
bbox: BoundingBox | null = null
|
|
93
|
+
fileName = ''
|
|
94
|
+
|
|
95
|
+
@ViewChild('overlayOrigin') overlayOrigin: CdkOverlayOrigin
|
|
96
|
+
@ViewChild(CdkConnectedOverlay) overlay: CdkConnectedOverlay
|
|
97
|
+
@ViewChild(DragAndDropFileInputComponent)
|
|
98
|
+
fileInput: DragAndDropFileInputComponent
|
|
99
|
+
|
|
100
|
+
overlayPositions: ConnectedPosition[] = [
|
|
101
|
+
{
|
|
102
|
+
originX: 'start',
|
|
103
|
+
originY: 'bottom',
|
|
104
|
+
overlayX: 'start',
|
|
105
|
+
overlayY: 'top',
|
|
106
|
+
offsetY: 8,
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
originX: 'start',
|
|
110
|
+
originY: 'top',
|
|
111
|
+
overlayX: 'start',
|
|
112
|
+
overlayY: 'bottom',
|
|
113
|
+
offsetY: -8,
|
|
114
|
+
},
|
|
115
|
+
]
|
|
116
|
+
scrollStrategy = this.scrollStrategies.reposition()
|
|
117
|
+
overlayOpen = false
|
|
118
|
+
overlayMinWidth = 'none'
|
|
119
|
+
|
|
120
|
+
errorKey: string | null = null
|
|
121
|
+
|
|
122
|
+
get hasSelection() {
|
|
123
|
+
return !!this.bbox
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
openOverlay() {
|
|
127
|
+
this.overlayMinWidth =
|
|
128
|
+
this.overlayOrigin.elementRef.nativeElement.getBoundingClientRect()
|
|
129
|
+
.width + 'px'
|
|
130
|
+
this.overlayOpen = true
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
closeOverlay() {
|
|
134
|
+
this.overlayOpen = false
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
toggleOverlay() {
|
|
138
|
+
if (this.overlayOpen) {
|
|
139
|
+
this.closeOverlay()
|
|
140
|
+
} else {
|
|
141
|
+
this.openOverlay()
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
async handleFileSelected(file: File) {
|
|
146
|
+
this.errorKey = null
|
|
147
|
+
let content: string
|
|
148
|
+
try {
|
|
149
|
+
content = await readFileAsText(file)
|
|
150
|
+
const parsed = JSON.parse(content)
|
|
151
|
+
const geometry = getGeometryFromGeoJSON(parsed)
|
|
152
|
+
if (!geometry) {
|
|
153
|
+
this.setError(marker('search.filters.spatialExtent.error.noGeometry'))
|
|
154
|
+
return
|
|
155
|
+
}
|
|
156
|
+
const bbox = getGeometryBoundingBox(geometry)
|
|
157
|
+
this.bbox = bbox
|
|
158
|
+
this.fileName = file.name
|
|
159
|
+
this.bboxChange.emit(bbox)
|
|
160
|
+
this.cd.markForCheck()
|
|
161
|
+
} catch {
|
|
162
|
+
this.setError(marker('search.filters.spatialExtent.error.invalidFormat'))
|
|
163
|
+
return
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
handleFileError(error: DragAndDropFileInputError) {
|
|
168
|
+
if (error === 'file-too-large') {
|
|
169
|
+
this.setError(marker('search.filters.spatialExtent.error.fileTooLarge'), {
|
|
170
|
+
maxSize: this.maxFileSizeMb,
|
|
171
|
+
})
|
|
172
|
+
} else {
|
|
173
|
+
this.setError(marker('search.filters.spatialExtent.error.invalidFormat'))
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
private setError(errorKey: string, params?: Record<string, string | number>) {
|
|
178
|
+
this.errorKey = errorKey
|
|
179
|
+
this.errorChange.emit({ key: errorKey, params })
|
|
180
|
+
this.cd.markForCheck()
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
removeSelection(event: Event) {
|
|
184
|
+
this.bbox = null
|
|
185
|
+
this.fileName = ''
|
|
186
|
+
this.errorKey = null
|
|
187
|
+
this.fileInput?.clear()
|
|
188
|
+
this.bboxChange.emit(null)
|
|
189
|
+
propagateToDocumentOnly(event)
|
|
190
|
+
}
|
|
191
|
+
}
|
|
@@ -29,11 +29,11 @@ import {
|
|
|
29
29
|
MapExtentChangeEvent,
|
|
30
30
|
MapExtentChangeEventType,
|
|
31
31
|
MapContext,
|
|
32
|
-
MapContextLayerXyz,
|
|
33
32
|
MapContextView,
|
|
34
33
|
MapEventsByType,
|
|
35
34
|
SourceLoadErrorEvent,
|
|
36
35
|
SourceLoadErrorType,
|
|
36
|
+
MapContextLayerMapLibreStyle,
|
|
37
37
|
} from '@geospatial-sdk/core'
|
|
38
38
|
import {
|
|
39
39
|
applyContextDiffToMap,
|
|
@@ -55,10 +55,11 @@ import {
|
|
|
55
55
|
import { matSwipeOutline } from '@ng-icons/material-icons/outline'
|
|
56
56
|
import { transformExtent } from 'ol/proj.js'
|
|
57
57
|
|
|
58
|
-
const DEFAULT_BASEMAP_LAYER:
|
|
59
|
-
type: '
|
|
60
|
-
|
|
61
|
-
|
|
58
|
+
export const DEFAULT_BASEMAP_LAYER: MapContextLayerMapLibreStyle = {
|
|
59
|
+
type: 'maplibre-style',
|
|
60
|
+
styleUrl: `https://basemaps.cartocdn.com/gl/positron-gl-style/style.json`,
|
|
61
|
+
clickable: false,
|
|
62
|
+
hoverable: false,
|
|
62
63
|
}
|
|
63
64
|
|
|
64
65
|
const DEFAULT_VIEW: MapContextView = {
|
|
@@ -252,6 +252,7 @@ export function loadAppConfig(configUrl = 'assets/configuration/default.toml') {
|
|
|
252
252
|
'search_preset',
|
|
253
253
|
'advanced_filters',
|
|
254
254
|
'limit',
|
|
255
|
+
'spatial_extent_max_file_size',
|
|
255
256
|
],
|
|
256
257
|
warnings,
|
|
257
258
|
errors
|
|
@@ -281,6 +282,8 @@ export function loadAppConfig(configUrl = 'assets/configuration/default.toml') {
|
|
|
281
282
|
})),
|
|
282
283
|
ADVANCED_FILTERS: parsedSearchSection.advanced_filters,
|
|
283
284
|
LIMIT: parsedSearchSection.limit,
|
|
285
|
+
SPATIAL_EXTENT_MAX_FILE_SIZE:
|
|
286
|
+
parsedSearchSection.spatial_extent_max_file_size,
|
|
284
287
|
} as SearchConfig)
|
|
285
288
|
|
|
286
289
|
const parsedMetadataQualitySection = parseConfigSection(
|
|
@@ -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
|
+
}
|
|
@@ -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
|
+
}
|
|
@@ -38,6 +38,14 @@ export function getGeometryFromGeoJSON(
|
|
|
38
38
|
// FIXME: this type should be more generic across the project
|
|
39
39
|
export type BoundingBox = [number, number, number, number]
|
|
40
40
|
|
|
41
|
+
export function isBoundingBox(value: unknown): value is BoundingBox {
|
|
42
|
+
return (
|
|
43
|
+
Array.isArray(value) &&
|
|
44
|
+
value.length === 4 &&
|
|
45
|
+
value.every((item) => typeof item === 'number')
|
|
46
|
+
)
|
|
47
|
+
}
|
|
48
|
+
|
|
41
49
|
export function getGeometryBoundingBox(geometry: Geometry): BoundingBox {
|
|
42
50
|
// use the bounding box if specified in the GeoJSON object
|
|
43
51
|
if (geometry.bbox) {
|
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",
|
|
@@ -690,6 +691,15 @@
|
|
|
690
691
|
"search.filters.recordKind.service": "Dienste",
|
|
691
692
|
"search.filters.representationType": "Repräsentationstyp",
|
|
692
693
|
"search.filters.resourceType": "Ressourcentyp",
|
|
694
|
+
"search.filters.spatialExtent": "",
|
|
695
|
+
"search.filters.spatialExtent.bboxDelete": "",
|
|
696
|
+
"search.filters.spatialExtent.bboxPrefix": "",
|
|
697
|
+
"search.filters.spatialExtent.error.fileTooLarge": "",
|
|
698
|
+
"search.filters.spatialExtent.error.invalidFormat": "",
|
|
699
|
+
"search.filters.spatialExtent.error.noGeometry": "",
|
|
700
|
+
"search.filters.spatialExtent.error.title": "",
|
|
701
|
+
"search.filters.spatialExtent.helpText": "",
|
|
702
|
+
"search.filters.spatialExtent.import": "",
|
|
693
703
|
"search.filters.standard": "Standard",
|
|
694
704
|
"search.filters.summaryLabel.changeDate": "Geändert am: ",
|
|
695
705
|
"search.filters.summaryLabel.user": "Geändert von: ",
|
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",
|
|
@@ -690,6 +691,15 @@
|
|
|
690
691
|
"search.filters.recordKind.service": "Services",
|
|
691
692
|
"search.filters.representationType": "Representation type",
|
|
692
693
|
"search.filters.resourceType": "Resource type",
|
|
694
|
+
"search.filters.spatialExtent": "Spatial extent",
|
|
695
|
+
"search.filters.spatialExtent.bboxDelete": "Delete",
|
|
696
|
+
"search.filters.spatialExtent.bboxPrefix": "bbox from",
|
|
697
|
+
"search.filters.spatialExtent.error.fileTooLarge": "The file exceeds the maximum allowed size ({maxSize} MB)",
|
|
698
|
+
"search.filters.spatialExtent.error.invalidFormat": "The file could not be read as a valid GeoJSON",
|
|
699
|
+
"search.filters.spatialExtent.error.noGeometry": "No geometry could be found in the file",
|
|
700
|
+
"search.filters.spatialExtent.error.title": "GeoJSON import error",
|
|
701
|
+
"search.filters.spatialExtent.helpText": "The selected item for the spatial extent will be converted to a bbox",
|
|
702
|
+
"search.filters.spatialExtent.import": "Import a GeoJSON",
|
|
693
703
|
"search.filters.standard": "Standard",
|
|
694
704
|
"search.filters.summaryLabel.changeDate": "Updated: ",
|
|
695
705
|
"search.filters.summaryLabel.user": "Editor: ",
|
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": "",
|
|
@@ -690,6 +691,15 @@
|
|
|
690
691
|
"search.filters.recordKind.service": "",
|
|
691
692
|
"search.filters.representationType": "",
|
|
692
693
|
"search.filters.resourceType": "",
|
|
694
|
+
"search.filters.spatialExtent": "",
|
|
695
|
+
"search.filters.spatialExtent.bboxDelete": "",
|
|
696
|
+
"search.filters.spatialExtent.bboxPrefix": "",
|
|
697
|
+
"search.filters.spatialExtent.error.fileTooLarge": "",
|
|
698
|
+
"search.filters.spatialExtent.error.invalidFormat": "",
|
|
699
|
+
"search.filters.spatialExtent.error.noGeometry": "",
|
|
700
|
+
"search.filters.spatialExtent.error.title": "",
|
|
701
|
+
"search.filters.spatialExtent.helpText": "",
|
|
702
|
+
"search.filters.spatialExtent.import": "",
|
|
693
703
|
"search.filters.standard": "",
|
|
694
704
|
"search.filters.summaryLabel.changeDate": "",
|
|
695
705
|
"search.filters.summaryLabel.user": "",
|
package/translations/fr.json
CHANGED
|
@@ -65,9 +65,10 @@
|
|
|
65
65
|
"dataset.error.restrictedAccess": "L’accès à cette ressource est restreint",
|
|
66
66
|
"dataset.error.unknown": "Les données ne peuvent être affichées: \"{ info }\"",
|
|
67
67
|
"dataset.error.unsupportedType": "Le type de contenu suivant n'est pas pris en charge: \"{ info }\"",
|
|
68
|
-
"daterange.filter.
|
|
68
|
+
"daterange.filter.datePlaceholder": "jj/mm/aaaa",
|
|
69
|
+
"daterange.filter.from": "A partir du",
|
|
69
70
|
"daterange.filter.period": "Choix de la période",
|
|
70
|
-
"daterange.filter.to": "
|
|
71
|
+
"daterange.filter.to": "Jusqu'au",
|
|
71
72
|
"domain.contact.role.author": "Auteur",
|
|
72
73
|
"domain.contact.role.collaborator": "Collaborateur",
|
|
73
74
|
"domain.contact.role.contributor": "Contributeur",
|
|
@@ -690,6 +691,15 @@
|
|
|
690
691
|
"search.filters.recordKind.service": "Services",
|
|
691
692
|
"search.filters.representationType": "Type de représentation",
|
|
692
693
|
"search.filters.resourceType": "Type de ressource",
|
|
694
|
+
"search.filters.spatialExtent": "Étendue spatiale",
|
|
695
|
+
"search.filters.spatialExtent.bboxDelete": "Supprimer",
|
|
696
|
+
"search.filters.spatialExtent.bboxPrefix": "bbox de",
|
|
697
|
+
"search.filters.spatialExtent.error.fileTooLarge": "Le fichier dépasse la taille maximale autorisée ({maxSize} Mo)",
|
|
698
|
+
"search.filters.spatialExtent.error.invalidFormat": "Le fichier n'a pas pu être lu comme un GeoJSON valide",
|
|
699
|
+
"search.filters.spatialExtent.error.noGeometry": "Aucune géométrie n'a pu être trouvée dans le fichier",
|
|
700
|
+
"search.filters.spatialExtent.error.title": "Erreur d'importation GeoJSON",
|
|
701
|
+
"search.filters.spatialExtent.helpText": "L’élément sélectionné pour l'étendue sera converti en bbox",
|
|
702
|
+
"search.filters.spatialExtent.import": "Importer un GeoJSON",
|
|
693
703
|
"search.filters.standard": "Standard",
|
|
694
704
|
"search.filters.summaryLabel.changeDate": "Mise à jour : ",
|
|
695
705
|
"search.filters.summaryLabel.user": "Éditeur : ",
|
package/translations/it.json
CHANGED
|
@@ -65,6 +65,7 @@
|
|
|
65
65
|
"dataset.error.restrictedAccess": "L'accesso a questa risorsa è limitato",
|
|
66
66
|
"dataset.error.unknown": "Impossibile visualizzare i dati: \"{info}\"",
|
|
67
67
|
"dataset.error.unsupportedType": "Il seguente tipo di contenuto non è supportato: \"{info}\"",
|
|
68
|
+
"daterange.filter.datePlaceholder": "gg/mm/aaaa",
|
|
68
69
|
"daterange.filter.from": "",
|
|
69
70
|
"daterange.filter.period": "",
|
|
70
71
|
"daterange.filter.to": "",
|
|
@@ -690,6 +691,15 @@
|
|
|
690
691
|
"search.filters.recordKind.service": "Servizi",
|
|
691
692
|
"search.filters.representationType": "Tipo di rappresentazione",
|
|
692
693
|
"search.filters.resourceType": "Tipo di risorsa",
|
|
694
|
+
"search.filters.spatialExtent": "",
|
|
695
|
+
"search.filters.spatialExtent.bboxDelete": "",
|
|
696
|
+
"search.filters.spatialExtent.bboxPrefix": "",
|
|
697
|
+
"search.filters.spatialExtent.error.fileTooLarge": "",
|
|
698
|
+
"search.filters.spatialExtent.error.invalidFormat": "",
|
|
699
|
+
"search.filters.spatialExtent.error.noGeometry": "",
|
|
700
|
+
"search.filters.spatialExtent.error.title": "",
|
|
701
|
+
"search.filters.spatialExtent.helpText": "",
|
|
702
|
+
"search.filters.spatialExtent.import": "",
|
|
693
703
|
"search.filters.standard": "Standard",
|
|
694
704
|
"search.filters.summaryLabel.changeDate": "Aggiornato: ",
|
|
695
705
|
"search.filters.summaryLabel.user": "Editor: ",
|
package/translations/nl.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-jjjj",
|
|
68
69
|
"daterange.filter.from": "",
|
|
69
70
|
"daterange.filter.period": "",
|
|
70
71
|
"daterange.filter.to": "",
|
|
@@ -690,6 +691,15 @@
|
|
|
690
691
|
"search.filters.recordKind.service": "",
|
|
691
692
|
"search.filters.representationType": "",
|
|
692
693
|
"search.filters.resourceType": "",
|
|
694
|
+
"search.filters.spatialExtent": "",
|
|
695
|
+
"search.filters.spatialExtent.bboxDelete": "",
|
|
696
|
+
"search.filters.spatialExtent.bboxPrefix": "",
|
|
697
|
+
"search.filters.spatialExtent.error.fileTooLarge": "",
|
|
698
|
+
"search.filters.spatialExtent.error.invalidFormat": "",
|
|
699
|
+
"search.filters.spatialExtent.error.noGeometry": "",
|
|
700
|
+
"search.filters.spatialExtent.error.title": "",
|
|
701
|
+
"search.filters.spatialExtent.helpText": "",
|
|
702
|
+
"search.filters.spatialExtent.import": "",
|
|
693
703
|
"search.filters.standard": "",
|
|
694
704
|
"search.filters.summaryLabel.changeDate": "",
|
|
695
705
|
"search.filters.summaryLabel.user": "",
|
package/translations/pt.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": "",
|
|
@@ -690,6 +691,15 @@
|
|
|
690
691
|
"search.filters.recordKind.service": "",
|
|
691
692
|
"search.filters.representationType": "",
|
|
692
693
|
"search.filters.resourceType": "",
|
|
694
|
+
"search.filters.spatialExtent": "",
|
|
695
|
+
"search.filters.spatialExtent.bboxDelete": "",
|
|
696
|
+
"search.filters.spatialExtent.bboxPrefix": "",
|
|
697
|
+
"search.filters.spatialExtent.error.fileTooLarge": "",
|
|
698
|
+
"search.filters.spatialExtent.error.invalidFormat": "",
|
|
699
|
+
"search.filters.spatialExtent.error.noGeometry": "",
|
|
700
|
+
"search.filters.spatialExtent.error.title": "",
|
|
701
|
+
"search.filters.spatialExtent.helpText": "",
|
|
702
|
+
"search.filters.spatialExtent.import": "",
|
|
693
703
|
"search.filters.standard": "",
|
|
694
704
|
"search.filters.summaryLabel.changeDate": "",
|
|
695
705
|
"search.filters.summaryLabel.user": "",
|
package/translations/sk.json
CHANGED
|
@@ -65,6 +65,7 @@
|
|
|
65
65
|
"dataset.error.restrictedAccess": "",
|
|
66
66
|
"dataset.error.unknown": "Dáta nie je možné zobraziť: \"{ info }\"",
|
|
67
67
|
"dataset.error.unsupportedType": "Nepodporovaný typ obsahu: \"{ info }\"",
|
|
68
|
+
"daterange.filter.datePlaceholder": "d. m. rrrr",
|
|
68
69
|
"daterange.filter.from": "",
|
|
69
70
|
"daterange.filter.period": "",
|
|
70
71
|
"daterange.filter.to": "",
|
|
@@ -690,6 +691,15 @@
|
|
|
690
691
|
"search.filters.recordKind.service": "",
|
|
691
692
|
"search.filters.representationType": "Typ reprezentácie",
|
|
692
693
|
"search.filters.resourceType": "Typ zdroja",
|
|
694
|
+
"search.filters.spatialExtent": "",
|
|
695
|
+
"search.filters.spatialExtent.bboxDelete": "",
|
|
696
|
+
"search.filters.spatialExtent.bboxPrefix": "",
|
|
697
|
+
"search.filters.spatialExtent.error.fileTooLarge": "",
|
|
698
|
+
"search.filters.spatialExtent.error.invalidFormat": "",
|
|
699
|
+
"search.filters.spatialExtent.error.noGeometry": "",
|
|
700
|
+
"search.filters.spatialExtent.error.title": "",
|
|
701
|
+
"search.filters.spatialExtent.helpText": "",
|
|
702
|
+
"search.filters.spatialExtent.import": "",
|
|
693
703
|
"search.filters.standard": "Štandard",
|
|
694
704
|
"search.filters.summaryLabel.changeDate": "",
|
|
695
705
|
"search.filters.summaryLabel.user": "",
|