geonetwork-ui 2.4.0-dev.f6f2f023 → 2.4.0-dev.fe59f179
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/esm2022/libs/api/repository/src/lib/gn4/gn4-repository.mjs +10 -1
- package/esm2022/libs/api/repository/src/lib/gn4/organizations/organizations-from-groups.service.mjs +2 -1
- package/esm2022/libs/api/repository/src/lib/gn4/organizations/organizations-from-metadata.service.mjs +3 -1
- package/esm2022/libs/api/repository/src/lib/gn4/platform/gn4-platform.mapper.mjs +2 -2
- package/esm2022/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.mjs +9 -5
- package/esm2022/libs/common/domain/src/lib/model/record/organization.model.mjs +1 -1
- package/esm2022/libs/common/domain/src/lib/platform.service.interface.mjs +1 -1
- package/esm2022/libs/common/domain/src/lib/repository/records-repository.interface.mjs +1 -1
- package/esm2022/libs/data-access/gn4/src/openapi/model/user.api.model.mjs +1 -1
- package/esm2022/libs/feature/catalog/src/index.mjs +2 -1
- package/esm2022/libs/feature/catalog/src/lib/feature-catalog.module.mjs +1 -1
- package/esm2022/libs/feature/catalog/src/lib/organisations/organisations.component.mjs +6 -6
- package/esm2022/libs/feature/catalog/src/lib/organization-url.token.mjs +4 -0
- package/esm2022/libs/feature/catalog/src/lib/records/records.service.mjs +4 -6
- package/esm2022/libs/feature/dataviz/src/lib/chart-view/chart-view.component.mjs +4 -4
- package/esm2022/libs/feature/dataviz/src/lib/feature-dataviz.module.mjs +7 -4
- package/esm2022/libs/feature/dataviz/src/lib/table-view/table-view.component.mjs +1 -1
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.mjs +16 -44
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.mjs +2 -2
- package/esm2022/libs/feature/record/src/lib/feature-record.module.mjs +7 -4
- package/esm2022/libs/feature/record/src/lib/map-view/map-view.component.mjs +3 -3
- package/esm2022/libs/feature/record/src/lib/state/mdview.facade.mjs +8 -12
- package/esm2022/libs/feature/router/src/lib/default/constants.mjs +2 -1
- package/esm2022/libs/feature/router/src/lib/default/router.config.mjs +1 -1
- package/esm2022/libs/feature/router/src/lib/default/router.service.mjs +9 -2
- package/esm2022/libs/feature/router/src/lib/default/state/router.facade.mjs +8 -1
- package/esm2022/libs/feature/search/src/index.mjs +2 -2
- package/esm2022/libs/feature/search/src/lib/feature-search.module.mjs +7 -4
- package/esm2022/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.mjs +3 -3
- package/esm2022/libs/feature/search/src/lib/results-table/results-table-container.component.mjs +49 -0
- package/esm2022/libs/feature/search/src/lib/state/search.facade.mjs +3 -2
- package/esm2022/libs/feature/search/src/lib/state/selectors.mjs +4 -1
- package/esm2022/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.mjs +5 -5
- package/esm2022/libs/ui/catalog/src/lib/ui-catalog.module.mjs +5 -2
- package/esm2022/libs/ui/dataviz/src/lib/figure/figure.component.mjs +5 -8
- package/esm2022/libs/ui/elements/src/index.mjs +1 -2
- package/esm2022/libs/ui/elements/src/lib/error/error.component.mjs +5 -3
- package/esm2022/libs/ui/elements/src/lib/metadata-info/metadata-info.component.mjs +2 -3
- package/esm2022/libs/ui/elements/src/lib/related-record-card/related-record-card.component.mjs +24 -5
- package/esm2022/libs/ui/elements/src/lib/ui-elements.module.mjs +1 -6
- package/esm2022/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.mjs +59 -26
- package/esm2022/libs/ui/inputs/src/lib/ui-inputs.module.mjs +2 -7
- package/esm2022/libs/ui/layout/src/index.mjs +2 -1
- package/esm2022/libs/ui/layout/src/lib/max-lines/max-lines.component.mjs +71 -0
- package/esm2022/libs/ui/layout/src/lib/ui-layout.module.mjs +1 -1
- package/esm2022/libs/ui/search/src/index.mjs +2 -1
- package/esm2022/libs/ui/search/src/lib/results-table/results-table.component.mjs +120 -0
- package/esm2022/libs/ui/widgets/src/lib/popup-alert/popup-alert.component.mjs +5 -3
- package/esm2022/libs/ui/widgets/src/lib/ui-widgets.module.mjs +1 -6
- package/esm2022/translations/de.json +27 -4
- package/esm2022/translations/en.json +30 -4
- package/esm2022/translations/es.json +27 -4
- package/esm2022/translations/fr.json +31 -5
- package/esm2022/translations/it.json +27 -4
- package/esm2022/translations/nl.json +27 -4
- package/esm2022/translations/pt.json +27 -4
- package/fesm2022/geonetwork-ui.mjs +774 -525
- package/fesm2022/geonetwork-ui.mjs.map +1 -1
- package/libs/api/repository/src/lib/gn4/gn4-repository.d.ts +1 -0
- package/libs/api/repository/src/lib/gn4/gn4-repository.d.ts.map +1 -1
- package/libs/api/repository/src/lib/gn4/organizations/organizations-from-groups.service.d.ts.map +1 -1
- package/libs/api/repository/src/lib/gn4/organizations/organizations-from-metadata.service.d.ts.map +1 -1
- package/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.d.ts +2 -1
- package/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.d.ts.map +1 -1
- package/libs/common/domain/src/lib/model/record/organization.model.d.ts +1 -0
- package/libs/common/domain/src/lib/model/record/organization.model.d.ts.map +1 -1
- package/libs/common/domain/src/lib/platform.service.interface.d.ts +2 -1
- package/libs/common/domain/src/lib/platform.service.interface.d.ts.map +1 -1
- package/libs/common/domain/src/lib/repository/records-repository.interface.d.ts +2 -0
- package/libs/common/domain/src/lib/repository/records-repository.interface.d.ts.map +1 -1
- package/libs/data-access/gn4/src/openapi/model/user.api.model.d.ts +1 -1
- package/libs/feature/catalog/src/index.d.ts +1 -0
- package/libs/feature/catalog/src/index.d.ts.map +1 -1
- package/libs/feature/catalog/src/lib/feature-catalog.module.d.ts.map +1 -1
- package/libs/feature/catalog/src/lib/organisations/organisations.component.d.ts.map +1 -1
- package/libs/feature/catalog/src/lib/organization-url.token.d.ts +3 -0
- package/libs/feature/catalog/src/lib/organization-url.token.d.ts.map +1 -0
- package/libs/feature/catalog/src/lib/records/records.service.d.ts.map +1 -1
- package/libs/feature/dataviz/src/lib/feature-dataviz.module.d.ts +2 -1
- package/libs/feature/dataviz/src/lib/feature-dataviz.module.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.d.ts +14 -24
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.d.ts.map +1 -1
- package/libs/feature/record/src/lib/feature-record.module.d.ts +2 -1
- package/libs/feature/record/src/lib/feature-record.module.d.ts.map +1 -1
- package/libs/feature/record/src/lib/state/mdview.facade.d.ts.map +1 -1
- package/libs/feature/router/src/lib/default/constants.d.ts +1 -0
- package/libs/feature/router/src/lib/default/constants.d.ts.map +1 -1
- package/libs/feature/router/src/lib/default/router.config.d.ts +1 -0
- package/libs/feature/router/src/lib/default/router.config.d.ts.map +1 -1
- package/libs/feature/router/src/lib/default/router.service.d.ts +1 -0
- package/libs/feature/router/src/lib/default/router.service.d.ts.map +1 -1
- package/libs/feature/router/src/lib/default/state/router.facade.d.ts +1 -0
- package/libs/feature/router/src/lib/default/state/router.facade.d.ts.map +1 -1
- package/libs/feature/search/src/index.d.ts +1 -1
- package/libs/feature/search/src/index.d.ts.map +1 -1
- package/libs/feature/search/src/lib/feature-search.module.d.ts +2 -1
- package/libs/feature/search/src/lib/feature-search.module.d.ts.map +1 -1
- package/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.d.ts.map +1 -1
- package/libs/feature/search/src/lib/results-table/results-table-container.component.d.ts +25 -0
- package/libs/feature/search/src/lib/results-table/results-table-container.component.d.ts.map +1 -0
- package/libs/feature/search/src/lib/state/search.facade.d.ts +1 -0
- package/libs/feature/search/src/lib/state/search.facade.d.ts.map +1 -1
- package/libs/feature/search/src/lib/state/selectors.d.ts +1 -0
- package/libs/feature/search/src/lib/state/selectors.d.ts.map +1 -1
- package/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.d.ts +2 -2
- package/libs/ui/catalog/src/lib/ui-catalog.module.d.ts +2 -1
- package/libs/ui/catalog/src/lib/ui-catalog.module.d.ts.map +1 -1
- package/libs/ui/dataviz/src/lib/figure/figure.component.d.ts +1 -2
- package/libs/ui/dataviz/src/lib/figure/figure.component.d.ts.map +1 -1
- package/libs/ui/elements/src/index.d.ts +0 -1
- package/libs/ui/elements/src/index.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/error/error.component.d.ts +3 -1
- package/libs/ui/elements/src/lib/error/error.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/related-record-card/related-record-card.component.d.ts +5 -1
- package/libs/ui/elements/src/lib/related-record-card/related-record-card.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/ui-elements.module.d.ts +18 -19
- package/libs/ui/elements/src/lib/ui-elements.module.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.d.ts +7 -4
- package/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts +35 -36
- package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts.map +1 -1
- package/libs/ui/layout/src/index.d.ts +1 -0
- package/libs/ui/layout/src/index.d.ts.map +1 -1
- package/libs/ui/{elements → layout}/src/lib/max-lines/max-lines.component.d.ts +2 -2
- package/libs/ui/layout/src/lib/max-lines/max-lines.component.d.ts.map +1 -0
- package/libs/ui/layout/src/lib/ui-layout.module.d.ts.map +1 -1
- package/libs/ui/search/src/index.d.ts +1 -0
- package/libs/ui/search/src/index.d.ts.map +1 -1
- package/libs/ui/search/src/lib/results-table/results-table.component.d.ts +30 -0
- package/libs/ui/search/src/lib/results-table/results-table.component.d.ts.map +1 -0
- package/libs/ui/widgets/src/lib/popup-alert/popup-alert.component.d.ts +1 -1
- package/libs/ui/widgets/src/lib/popup-alert/popup-alert.component.d.ts.map +1 -1
- package/libs/ui/widgets/src/lib/ui-widgets.module.d.ts +10 -11
- package/libs/ui/widgets/src/lib/ui-widgets.module.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/libs/api/repository/src/lib/gn4/gn4-repository.ts +14 -0
- package/src/libs/api/repository/src/lib/gn4/organizations/organizations-from-groups.service.ts +1 -0
- package/src/libs/api/repository/src/lib/gn4/organizations/organizations-from-metadata.service.ts +3 -1
- package/src/libs/api/repository/src/lib/gn4/platform/gn4-platform.mapper.ts +1 -1
- package/src/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.ts +26 -15
- package/src/libs/common/domain/src/lib/model/record/organization.model.ts +1 -0
- package/src/libs/common/domain/src/lib/platform.service.interface.ts +5 -1
- package/src/libs/common/domain/src/lib/repository/records-repository.interface.ts +3 -0
- package/src/libs/common/fixtures/src/lib/organisations.fixture.ts +28 -0
- package/src/libs/common/fixtures/src/lib/records.fixtures.ts +8 -0
- package/src/libs/data-access/datafeeder/src/openapi/model/datasetMetadata.api.model.ts +4 -0
- package/src/libs/data-access/datafeeder/src/openapi/model/datasetUploadStatus.api.model.ts +2 -0
- package/src/libs/data-access/gn4/src/openapi/model/user.api.model.ts +1 -1
- package/src/libs/feature/catalog/src/index.ts +1 -0
- package/src/libs/feature/catalog/src/lib/feature-catalog.module.ts +0 -1
- package/src/libs/feature/catalog/src/lib/organisations/organisations.component.html +1 -1
- package/src/libs/feature/catalog/src/lib/organisations/organisations.component.ts +2 -2
- package/src/libs/feature/catalog/src/lib/organization-url.token.ts +6 -0
- package/src/libs/feature/catalog/src/lib/records/records.service.ts +6 -8
- package/src/libs/feature/dataviz/src/lib/feature-dataviz.module.ts +2 -1
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.html +2 -3
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.ts +23 -63
- package/src/libs/feature/record/src/lib/feature-record.module.ts +3 -2
- package/src/libs/feature/record/src/lib/state/mdview.facade.ts +42 -31
- package/src/libs/feature/router/src/lib/default/constants.ts +1 -0
- package/src/libs/feature/router/src/lib/default/router.config.ts +1 -0
- package/src/libs/feature/router/src/lib/default/router.service.ts +13 -1
- package/src/libs/feature/router/src/lib/default/state/router.facade.ts +9 -1
- package/src/libs/feature/search/src/index.ts +1 -1
- package/src/libs/feature/search/src/lib/feature-search.module.ts +2 -1
- package/src/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.ts +2 -2
- package/src/libs/feature/search/src/lib/results-table/results-table-container.component.html +9 -0
- package/src/libs/feature/search/src/lib/results-table/results-table-container.component.ts +49 -0
- package/src/libs/feature/search/src/lib/state/search.facade.ts +5 -0
- package/src/libs/feature/search/src/lib/state/selectors.ts +7 -0
- package/src/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.html +8 -6
- package/src/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.ts +2 -2
- package/src/libs/ui/catalog/src/lib/ui-catalog.module.ts +2 -0
- package/src/libs/ui/dataviz/src/lib/figure/figure.component.html +11 -3
- package/src/libs/ui/dataviz/src/lib/figure/figure.component.ts +3 -7
- package/src/libs/ui/elements/src/index.ts +0 -1
- package/src/libs/ui/elements/src/lib/error/error.component.html +30 -6
- package/src/libs/ui/elements/src/lib/error/error.component.ts +2 -0
- package/src/libs/ui/elements/src/lib/related-record-card/related-record-card.component.html +1 -1
- package/src/libs/ui/elements/src/lib/related-record-card/related-record-card.component.ts +22 -1
- package/src/libs/ui/elements/src/lib/ui-elements.module.ts +0 -3
- package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.css +0 -1
- package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.html +23 -19
- package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.ts +79 -27
- package/src/libs/ui/inputs/src/lib/ui-inputs.module.ts +0 -3
- package/src/libs/ui/layout/src/index.ts +1 -0
- package/src/libs/ui/{elements → layout}/src/lib/max-lines/max-lines.component.ts +9 -5
- package/src/libs/ui/layout/src/lib/ui-layout.module.ts +0 -1
- package/src/libs/ui/search/src/index.ts +1 -0
- package/src/libs/ui/search/src/lib/results-table/results-table.component.css +0 -0
- package/src/libs/{feature → ui}/search/src/lib/results-table/results-table.component.html +8 -8
- package/src/libs/ui/search/src/lib/results-table/results-table.component.ts +138 -0
- package/src/libs/ui/widgets/src/lib/popup-alert/popup-alert.component.ts +4 -0
- package/src/libs/ui/widgets/src/lib/ui-widgets.module.ts +0 -3
- package/translations/de.json +27 -4
- package/translations/en.json +30 -4
- package/translations/es.json +27 -4
- package/translations/fr.json +31 -5
- package/translations/it.json +27 -4
- package/translations/nl.json +27 -4
- package/translations/pt.json +27 -4
- package/translations/sk.json +28 -5
- package/esm2022/libs/feature/search/src/lib/results-table/results-table.component.mjs +0 -136
- package/esm2022/libs/ui/elements/src/lib/max-lines/max-lines.component.mjs +0 -69
- package/libs/feature/search/src/lib/results-table/results-table.component.d.ts +0 -36
- package/libs/feature/search/src/lib/results-table/results-table.component.d.ts.map +0 -1
- package/libs/ui/elements/src/lib/max-lines/max-lines.component.d.ts.map +0 -1
- package/src/libs/feature/search/src/lib/results-table/results-table.component.ts +0 -171
- /package/src/libs/feature/search/src/lib/results-table/{results-table.component.css → results-table-container.component.css} +0 -0
- /package/src/libs/ui/{elements → layout}/src/lib/max-lines/max-lines.component.css +0 -0
- /package/src/libs/ui/{elements → layout}/src/lib/max-lines/max-lines.component.html +0 -0
|
@@ -3,6 +3,7 @@ export * from './lib/carousel/carousel.component'
|
|
|
3
3
|
export * from './lib/expandable-panel-button/expandable-panel-button.component'
|
|
4
4
|
export * from './lib/expandable-panel/expandable-panel.component'
|
|
5
5
|
export * from './lib/form-field-wrapper/form-field-wrapper.component'
|
|
6
|
+
export * from './lib/max-lines/max-lines.component'
|
|
6
7
|
export * from './lib/interactive-table/interactive-table-column/interactive-table-column.component'
|
|
7
8
|
export * from './lib/interactive-table/interactive-table.component'
|
|
8
9
|
export * from './lib/sticky-header/sticky-header.component'
|
|
@@ -1,19 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
+
AfterViewInit,
|
|
3
|
+
ChangeDetectionStrategy,
|
|
4
|
+
ChangeDetectorRef,
|
|
2
5
|
Component,
|
|
3
|
-
Input,
|
|
4
6
|
ElementRef,
|
|
5
|
-
|
|
6
|
-
AfterViewInit,
|
|
7
|
-
ViewChild,
|
|
7
|
+
Input,
|
|
8
8
|
OnDestroy,
|
|
9
|
-
|
|
9
|
+
ViewChild,
|
|
10
10
|
} from '@angular/core'
|
|
11
|
+
import { CommonModule } from '@angular/common'
|
|
12
|
+
import { TranslateModule } from '@ngx-translate/core'
|
|
11
13
|
|
|
12
14
|
@Component({
|
|
13
15
|
selector: 'gn-ui-max-lines',
|
|
14
16
|
templateUrl: './max-lines.component.html',
|
|
15
17
|
styleUrls: ['./max-lines.component.css'],
|
|
16
18
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
19
|
+
standalone: true,
|
|
20
|
+
imports: [CommonModule, TranslateModule],
|
|
17
21
|
})
|
|
18
22
|
export class MaxLinesComponent implements AfterViewInit, OnDestroy {
|
|
19
23
|
@Input() maxLines = 6
|
|
@@ -6,7 +6,6 @@ import { StickyHeaderComponent } from './sticky-header/sticky-header.component'
|
|
|
6
6
|
import { AnchorLinkDirective } from './anchor-link/anchor-link.directive'
|
|
7
7
|
import { ExpandablePanelButtonComponent } from './expandable-panel-button/expandable-panel-button.component'
|
|
8
8
|
import { MatIconModule } from '@angular/material/icon'
|
|
9
|
-
import { CarouselComponent } from './carousel/carousel.component'
|
|
10
9
|
|
|
11
10
|
@NgModule({
|
|
12
11
|
imports: [CommonModule, MatIconModule, TranslateModule.forChild()],
|
|
@@ -17,3 +17,4 @@ export * from './lib/record-preview-title/record-preview-title.component'
|
|
|
17
17
|
export * from './lib/record-metric/record-metric.component'
|
|
18
18
|
export * from './lib/results-list-item/results-list-item.component'
|
|
19
19
|
export * from './lib/results-hits-number/results-hits-number.component'
|
|
20
|
+
export * from './lib/results-table/results-table.component'
|
|
File without changes
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
<gn-ui-interactive-table
|
|
2
|
-
[items]="records
|
|
2
|
+
[items]="records"
|
|
3
3
|
(itemClick)="handleRecordClick($event)"
|
|
4
4
|
>
|
|
5
5
|
<!-- SELECTED COLUMN -->
|
|
6
6
|
<gn-ui-interactive-table-column>
|
|
7
7
|
<ng-template #header>
|
|
8
8
|
<gn-ui-checkbox
|
|
9
|
-
[checked]="isAllSelected()
|
|
10
|
-
[indeterminate]="isSomeSelected()
|
|
9
|
+
[checked]="isAllSelected()"
|
|
10
|
+
[indeterminate]="isSomeSelected()"
|
|
11
11
|
(changed)="toggleSelectAll()"
|
|
12
12
|
type="default"
|
|
13
13
|
class="-m-2 mr-3"
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
</ng-template>
|
|
17
17
|
<ng-template #cell let-item>
|
|
18
18
|
<gn-ui-checkbox
|
|
19
|
-
[checked]="isChecked(item)
|
|
19
|
+
[checked]="isChecked(item)"
|
|
20
20
|
(changed)="handleRecordSelectedChange($event, item)"
|
|
21
21
|
class="-m-2"
|
|
22
22
|
type="default"
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
<!-- TITLE COLUMN -->
|
|
28
28
|
<gn-ui-interactive-table-column
|
|
29
29
|
[sortable]="true"
|
|
30
|
-
[activeSort]="isSortedBy('resourceTitleObject.default.keyword')
|
|
30
|
+
[activeSort]="isSortedBy('resourceTitleObject.default.keyword')"
|
|
31
31
|
(sortChange)="setSortBy('resourceTitleObject.default.keyword', $event)"
|
|
32
32
|
>
|
|
33
33
|
<ng-template #header>
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
<div class="flex flex-row items-center gap-2 max-w-full">
|
|
38
38
|
<span class="overflow-hidden text-ellipsis">{{ item.title }}</span>
|
|
39
39
|
<gn-ui-badge
|
|
40
|
-
*ngIf="
|
|
40
|
+
*ngIf="recordHasDraft(item)"
|
|
41
41
|
[style.--gn-ui-badge-padding]="'0.4em 0.6em'"
|
|
42
42
|
[style.--gn-ui-badge-text-color]="'#3d2006'"
|
|
43
43
|
[style.--gn-ui-badge-background-color]="'#ffbc7b'"
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
<!-- OWNER COLUMN -->
|
|
86
86
|
<gn-ui-interactive-table-column
|
|
87
87
|
[sortable]="true"
|
|
88
|
-
[activeSort]="isSortedBy('recordOwner')
|
|
88
|
+
[activeSort]="isSortedBy('recordOwner')"
|
|
89
89
|
(sortChange)="setSortBy('recordOwner', $event)"
|
|
90
90
|
>
|
|
91
91
|
<ng-template #header>
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
<!-- UPDATE DATE COLUMN -->
|
|
111
111
|
<gn-ui-interactive-table-column
|
|
112
112
|
[sortable]="true"
|
|
113
|
-
[activeSort]="isSortedBy('changeDate')
|
|
113
|
+
[activeSort]="isSortedBy('changeDate')"
|
|
114
114
|
(sortChange)="setSortBy('changeDate', $event)"
|
|
115
115
|
>
|
|
116
116
|
<ng-template #header>
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
import { Component, EventEmitter, Input, Output } from '@angular/core'
|
|
2
|
+
import { CatalogRecord } from '../../../../../../libs/common/domain/src/lib/model/record'
|
|
3
|
+
import {
|
|
4
|
+
FileFormat,
|
|
5
|
+
getBadgeColor,
|
|
6
|
+
getFileFormat,
|
|
7
|
+
getFormatPriority,
|
|
8
|
+
} from '../../../../../../libs/util/shared/src'
|
|
9
|
+
import { BadgeComponent, UiInputsModule } from '../../../../../../libs/ui/inputs/src'
|
|
10
|
+
import {
|
|
11
|
+
InteractiveTableColumnComponent,
|
|
12
|
+
InteractiveTableComponent,
|
|
13
|
+
} from '../../../../../../libs/ui/layout/src'
|
|
14
|
+
import { MatIconModule } from '@angular/material/icon'
|
|
15
|
+
import { TranslateModule } from '@ngx-translate/core'
|
|
16
|
+
import { CommonModule } from '@angular/common'
|
|
17
|
+
import {
|
|
18
|
+
FieldSort,
|
|
19
|
+
SortByField,
|
|
20
|
+
} from '../../../../../../libs/common/domain/src/lib/model/search'
|
|
21
|
+
|
|
22
|
+
@Component({
|
|
23
|
+
selector: 'gn-ui-results-table',
|
|
24
|
+
templateUrl: './results-table.component.html',
|
|
25
|
+
styleUrls: ['./results-table.component.css'],
|
|
26
|
+
standalone: true,
|
|
27
|
+
imports: [
|
|
28
|
+
CommonModule,
|
|
29
|
+
UiInputsModule,
|
|
30
|
+
InteractiveTableComponent,
|
|
31
|
+
InteractiveTableColumnComponent,
|
|
32
|
+
MatIconModule,
|
|
33
|
+
TranslateModule,
|
|
34
|
+
BadgeComponent,
|
|
35
|
+
],
|
|
36
|
+
})
|
|
37
|
+
export class ResultsTableComponent {
|
|
38
|
+
@Input() records: CatalogRecord[] = []
|
|
39
|
+
@Input() selectedRecordsIdentifiers: string[] = []
|
|
40
|
+
@Input() sortOrder: SortByField = null
|
|
41
|
+
@Input() recordHasDraft: (record: CatalogRecord) => boolean = () => false
|
|
42
|
+
|
|
43
|
+
// emits the column (field) as well as the order
|
|
44
|
+
@Output() sortByChange = new EventEmitter<[string, 'asc' | 'desc']>()
|
|
45
|
+
@Output() recordClick = new EventEmitter<CatalogRecord>()
|
|
46
|
+
@Output() recordsSelectedChange = new EventEmitter<
|
|
47
|
+
[CatalogRecord[], boolean]
|
|
48
|
+
>()
|
|
49
|
+
|
|
50
|
+
dateToString(date: Date): string {
|
|
51
|
+
return date?.toLocaleDateString(undefined, {
|
|
52
|
+
year: 'numeric',
|
|
53
|
+
month: 'long',
|
|
54
|
+
day: 'numeric',
|
|
55
|
+
timeZone: 'UTC',
|
|
56
|
+
})
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
getStatus(isPublishedToAll: boolean | unknown) {
|
|
60
|
+
return isPublishedToAll ? 'published' : 'not published'
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
getRecordFormats(record: CatalogRecord): FileFormat[] {
|
|
64
|
+
if (record.kind === 'service' || !('distributions' in record)) {
|
|
65
|
+
return []
|
|
66
|
+
}
|
|
67
|
+
const formats = Array.from(
|
|
68
|
+
new Set(
|
|
69
|
+
record.distributions.map((distribution) => getFileFormat(distribution))
|
|
70
|
+
)
|
|
71
|
+
).filter((format) => !!format)
|
|
72
|
+
formats.sort((a, b) => getFormatPriority(b) - getFormatPriority(a))
|
|
73
|
+
return formats
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
formatUserInfo(userInfo: string | unknown): string {
|
|
77
|
+
const infos = (typeof userInfo === 'string' ? userInfo : '').split('|')
|
|
78
|
+
if (infos && infos.length === 4) {
|
|
79
|
+
return `${infos[2]} ${infos[1]}`
|
|
80
|
+
}
|
|
81
|
+
return undefined
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
getBadgeColor(format: FileFormat): string {
|
|
85
|
+
return getBadgeColor(format)
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
handleRecordClick(item: unknown) {
|
|
89
|
+
this.recordClick.emit(item as CatalogRecord)
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
setSortBy(col: string, order: 'asc' | 'desc') {
|
|
93
|
+
this.sortByChange.emit([col, order])
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
isSortedBy(col: string): 'desc' | 'asc' | null {
|
|
97
|
+
if (!this.sortOrder) {
|
|
98
|
+
return null
|
|
99
|
+
}
|
|
100
|
+
const sortArray = Array.isArray(this.sortOrder[0])
|
|
101
|
+
? (this.sortOrder as FieldSort[])
|
|
102
|
+
: ([this.sortOrder] as FieldSort[])
|
|
103
|
+
for (const sort of sortArray) {
|
|
104
|
+
if (sort[1] === col) {
|
|
105
|
+
return sort[0]
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
return null
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
isChecked(record: CatalogRecord): boolean {
|
|
112
|
+
return this.selectedRecordsIdentifiers.includes(record.uniqueIdentifier)
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
handleRecordSelectedChange(selected: boolean, record: CatalogRecord) {
|
|
116
|
+
this.recordsSelectedChange.emit([[record], selected])
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
async toggleSelectAll() {
|
|
120
|
+
this.recordsSelectedChange.emit([this.records, !this.isAllSelected()])
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
isAllSelected(): boolean {
|
|
124
|
+
return this.records.every((record) =>
|
|
125
|
+
this.selectedRecordsIdentifiers.includes(record.uniqueIdentifier)
|
|
126
|
+
)
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
isSomeSelected(): boolean {
|
|
130
|
+
const allSelected = this.records.every((record) =>
|
|
131
|
+
this.selectedRecordsIdentifiers.includes(record.uniqueIdentifier)
|
|
132
|
+
)
|
|
133
|
+
const someSelected = this.records.some((record) =>
|
|
134
|
+
this.selectedRecordsIdentifiers.includes(record.uniqueIdentifier)
|
|
135
|
+
)
|
|
136
|
+
return !allSelected && someSelected
|
|
137
|
+
}
|
|
138
|
+
}
|
|
@@ -7,12 +7,16 @@ import {
|
|
|
7
7
|
OnInit,
|
|
8
8
|
ViewChild,
|
|
9
9
|
} from '@angular/core'
|
|
10
|
+
import { CommonModule } from '@angular/common'
|
|
11
|
+
import { MatIconModule } from '@angular/material/icon'
|
|
10
12
|
|
|
11
13
|
@Component({
|
|
12
14
|
selector: 'gn-ui-popup-alert',
|
|
13
15
|
templateUrl: './popup-alert.component.html',
|
|
14
16
|
styleUrls: ['./popup-alert.component.css'],
|
|
15
17
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
18
|
+
standalone: true,
|
|
19
|
+
imports: [CommonModule, MatIconModule],
|
|
16
20
|
})
|
|
17
21
|
export class PopupAlertComponent implements OnInit {
|
|
18
22
|
@Input() icon: string
|
|
@@ -9,7 +9,6 @@ import { TagInputModule } from 'ngx-chips'
|
|
|
9
9
|
import { FormsModule, ReactiveFormsModule } from '@angular/forms'
|
|
10
10
|
import { LoadingMaskComponent } from './loading-mask/loading-mask.component'
|
|
11
11
|
import { MatProgressSpinnerModule } from '@angular/material/progress-spinner'
|
|
12
|
-
import { PopupAlertComponent } from './popup-alert/popup-alert.component'
|
|
13
12
|
import { MatIconModule } from '@angular/material/icon'
|
|
14
13
|
import { SpinningLoaderComponent } from './spinning-loader/spinning-loader.component'
|
|
15
14
|
import { CommonModule } from '@angular/common'
|
|
@@ -20,7 +19,6 @@ import { CommonModule } from '@angular/common'
|
|
|
20
19
|
ProgressBarComponent,
|
|
21
20
|
StepBarComponent,
|
|
22
21
|
LoadingMaskComponent,
|
|
23
|
-
PopupAlertComponent,
|
|
24
22
|
SpinningLoaderComponent,
|
|
25
23
|
],
|
|
26
24
|
imports: [
|
|
@@ -38,7 +36,6 @@ import { CommonModule } from '@angular/common'
|
|
|
38
36
|
ProgressBarComponent,
|
|
39
37
|
StepBarComponent,
|
|
40
38
|
LoadingMaskComponent,
|
|
41
|
-
PopupAlertComponent,
|
|
42
39
|
SpinningLoaderComponent,
|
|
43
40
|
],
|
|
44
41
|
})
|
package/translations/de.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
+
"Add Layer As": "",
|
|
2
3
|
"button.login": "",
|
|
3
4
|
"catalog.figures.datasets": "{count, plural, =0{Datensätze} one{Datensatz} other{Datensätze}}",
|
|
4
|
-
"catalog.figures.
|
|
5
|
+
"catalog.figures.organizations": "{count, plural, =0{Organisationen} one{Organisation} other{Organisationen}}",
|
|
5
6
|
"chart.aggregation.average": "Durchschnitt",
|
|
6
7
|
"chart.aggregation.count": "Anzahl",
|
|
7
8
|
"chart.aggregation.max": "Maximum",
|
|
@@ -17,16 +18,22 @@
|
|
|
17
18
|
"chart.type.line": "Liniendiagramm",
|
|
18
19
|
"chart.type.lineSmooth": "Geglättes Liniendiagramm",
|
|
19
20
|
"chart.type.pie": "Kreisdiagramm",
|
|
21
|
+
"dashboard.catalog.allRecords": "Metadatenkatalog",
|
|
22
|
+
"dashboard.catalog.calendar": "Kalender",
|
|
23
|
+
"dashboard.catalog.contacts": "Kontakte",
|
|
24
|
+
"dashboard.catalog.discussion": "Diskussion",
|
|
25
|
+
"dashboard.catalog.thesaurus": "Thesaurus",
|
|
20
26
|
"dashboard.createRecord": "Neuer Eintrag",
|
|
27
|
+
"dashboard.labels.catalog": "Katalog",
|
|
21
28
|
"dashboard.labels.mySpace": "Mein Bereich",
|
|
22
29
|
"dashboard.records.all": "Katalog",
|
|
23
30
|
"dashboard.records.hasDraft": "",
|
|
24
31
|
"dashboard.records.myDraft": "Meine Entwürfe",
|
|
25
32
|
"dashboard.records.myLibrary": "Meine Bibliothek",
|
|
26
|
-
"dashboard.records.myOrg": "Meine Organisation",
|
|
27
33
|
"dashboard.records.myRecords": "Meine Datensätze",
|
|
28
34
|
"dashboard.records.publishedRecords": "{count, plural, =1{veröffentlichter Datensatz} other{veröffentlichte Datensätze}}",
|
|
29
35
|
"dashboard.records.search": "Suche nach \"{searchText}\"",
|
|
36
|
+
"dashboard.records.templates": "Vorlagen",
|
|
30
37
|
"dashboard.records.userDetail": "Name",
|
|
31
38
|
"dashboard.records.userEmail": "E-Mail",
|
|
32
39
|
"dashboard.records.username": "Benutzername",
|
|
@@ -98,6 +105,15 @@
|
|
|
98
105
|
"datafeeder.upload.title": "Laden Sie Ihren Datensatz hoch",
|
|
99
106
|
"datafeeder.upload.uploadButton": "Hochladen",
|
|
100
107
|
"datafeeder.validation.encoding": "Codierung",
|
|
108
|
+
"datafeeder.validation.csv.delimiter": "",
|
|
109
|
+
"datafeeder.validation.csv.delimiter.comma": "",
|
|
110
|
+
"datafeeder.validation.csv.delimiter.semicolon": "",
|
|
111
|
+
"datafeeder.validation.csv.lat.field": "",
|
|
112
|
+
"datafeeder.validation.csv.lng.field": "",
|
|
113
|
+
"datafeeder.validation.csv.quote.double": "",
|
|
114
|
+
"datafeeder.validation.csv.quote.none": "",
|
|
115
|
+
"datafeeder.validation.csv.quote.simple": "",
|
|
116
|
+
"datafeeder.validation.csv.quoteChar": "",
|
|
101
117
|
"datafeeder.validation.extent.title": "Hier ist der Datensatzumfang",
|
|
102
118
|
"datafeeder.validation.extent.title.unknown": "Das Projektionssystem ist unbekannt",
|
|
103
119
|
"datafeeder.validation.projection": "Raumbezugssystem:",
|
|
@@ -110,7 +126,7 @@
|
|
|
110
126
|
"datahub.header.lastRecords": "Die neuesten",
|
|
111
127
|
"datahub.header.myfavorites": "Meine Favoriten",
|
|
112
128
|
"datahub.header.news": "Startseite",
|
|
113
|
-
"datahub.header.
|
|
129
|
+
"datahub.header.organizations": "Organisationen",
|
|
114
130
|
"datahub.header.popularRecords": "Die beliebtesten",
|
|
115
131
|
"datahub.header.title.html": "<div class=\"text-white\">Entdecken Sie offene<br> Daten meiner Organisation</div>",
|
|
116
132
|
"datahub.news.contact.contactus": "Kontaktieren Sie uns",
|
|
@@ -146,6 +162,7 @@
|
|
|
146
162
|
"downloads.format.unknown": "unbekannt",
|
|
147
163
|
"downloads.wfs.featuretype.not.found": "Der Layer wurde nicht gefunden",
|
|
148
164
|
"dropFile": "Datei ablegen",
|
|
165
|
+
"editor.record.form.keywords": "Schlagwörter",
|
|
149
166
|
"editor.record.form.license": "Lizenz",
|
|
150
167
|
"editor.record.form.license.cc-by": "",
|
|
151
168
|
"editor.record.form.license.cc-by-sa": "",
|
|
@@ -245,6 +262,10 @@
|
|
|
245
262
|
"organisations.sortBy.nameDesc": "Name Z → A",
|
|
246
263
|
"organisations.sortBy.recordCountAsc": "Veröffentlichungen 0 → 9",
|
|
247
264
|
"organisations.sortBy.recordCountDesc": "Veröffentlichungen 9 → 0",
|
|
265
|
+
"organization.details.lastPublishedDatasets": "",
|
|
266
|
+
"organization.details.lastPublishedDatasets.searchAllButton": "",
|
|
267
|
+
"organization.details.mailContact": "",
|
|
268
|
+
"organization.header.recordCount": "{count, plural, =0{} one{} other{}}",
|
|
248
269
|
"pagination.nextPage": "Nächste Seite",
|
|
249
270
|
"pagination.page": "Seite",
|
|
250
271
|
"pagination.pageOf": "von",
|
|
@@ -282,7 +303,7 @@
|
|
|
282
303
|
"record.metadata.preview": "Vorschau",
|
|
283
304
|
"record.metadata.producer": "Datenproduzent",
|
|
284
305
|
"record.metadata.publication": "Veröffentlichungsdatum",
|
|
285
|
-
"record.metadata.publications": "Veröffentlichungen",
|
|
306
|
+
"record.metadata.publications": "{count, plural, =0{Veröffentlichungsdatum} one{Veröffentlichungsdatum} other{Veröffentlichungen}}",
|
|
286
307
|
"record.metadata.quality": "Metadatenqualität",
|
|
287
308
|
"record.metadata.quality.contact.failed": "Kontakt nicht angegeben",
|
|
288
309
|
"record.metadata.quality.contact.success": "Kontakt angegeben",
|
|
@@ -342,6 +363,8 @@
|
|
|
342
363
|
"results.sortBy.relevancy": "Relevanz",
|
|
343
364
|
"search.autocomplete.error": "Vorschläge konnten nicht abgerufen werden:",
|
|
344
365
|
"search.error.couldNotReachApi": "Die API konnte nicht erreicht werden",
|
|
366
|
+
"search.error.organizationHasNoDataset": "",
|
|
367
|
+
"search.error.organizationNotFound": "",
|
|
345
368
|
"search.error.receivedError": "Ein Fehler ist aufgetreten",
|
|
346
369
|
"search.error.recordHasnolink": "",
|
|
347
370
|
"search.error.recordNotFound": "Der Datensatz mit der Kennung \"{ id }\" konnte nicht gefunden werden.",
|
package/translations/en.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
+
"Add Layer As": "",
|
|
2
3
|
"button.login": "Log in",
|
|
3
4
|
"catalog.figures.datasets": "{count, plural, =0{datasets} one{dataset} other{datasets}}",
|
|
4
|
-
"catalog.figures.
|
|
5
|
+
"catalog.figures.organizations": "{count, plural, =0{organizations} one{organization} other{organizations}}",
|
|
5
6
|
"chart.aggregation.average": "average",
|
|
6
7
|
"chart.aggregation.count": "count",
|
|
7
8
|
"chart.aggregation.max": "max",
|
|
@@ -17,16 +18,22 @@
|
|
|
17
18
|
"chart.type.line": "line chart",
|
|
18
19
|
"chart.type.lineSmooth": "smooth line chart",
|
|
19
20
|
"chart.type.pie": "pie chart",
|
|
21
|
+
"dashboard.catalog.allRecords": "Metadata records",
|
|
22
|
+
"dashboard.catalog.calendar": "Calendar",
|
|
23
|
+
"dashboard.catalog.contacts": "Contacts",
|
|
24
|
+
"dashboard.catalog.discussion": "Discussion",
|
|
25
|
+
"dashboard.catalog.thesaurus": "Thesaurus",
|
|
20
26
|
"dashboard.createRecord": "New record",
|
|
27
|
+
"dashboard.labels.catalog": "Catalog",
|
|
21
28
|
"dashboard.labels.mySpace": "My space",
|
|
22
29
|
"dashboard.records.all": "Metadata records",
|
|
23
30
|
"dashboard.records.hasDraft": "draft",
|
|
24
31
|
"dashboard.records.myDraft": "My drafts",
|
|
25
32
|
"dashboard.records.myLibrary": "My library",
|
|
26
|
-
"dashboard.records.myOrg": "Organization",
|
|
27
33
|
"dashboard.records.myRecords": "My Records",
|
|
28
34
|
"dashboard.records.publishedRecords": "{count, plural, =1{published record} other{published records}}",
|
|
29
35
|
"dashboard.records.search": "Search for \"{searchText}\"",
|
|
36
|
+
"dashboard.records.templates": "Templates",
|
|
30
37
|
"dashboard.records.userDetail": "Name",
|
|
31
38
|
"dashboard.records.userEmail": "Email",
|
|
32
39
|
"dashboard.records.username": "Username",
|
|
@@ -39,6 +46,8 @@
|
|
|
39
46
|
"datafeeder.analysisProgressBar.subtitle": "The analysis may take several minutes, please wait.",
|
|
40
47
|
"datafeeder.analysisProgressBar.title": "Analyze in progress",
|
|
41
48
|
"datafeeder.datasetValidation.datasetInformation": "The provided dataset contains {number} entities",
|
|
49
|
+
"datafeeder.datasetValidationCsv.lineNumbers": "Sample of the first 5 lines* of the dataset:",
|
|
50
|
+
"datafeeder.datasetValidationCsv.explicitLineNumbers": "*The table must display the first 5 lines (excluding the header)<br>If this is not the case, check that the file is correctly formatted",
|
|
42
51
|
"datafeeder.datasetValidation.submitButton": "OK, my data are correct",
|
|
43
52
|
"datafeeder.datasetValidation.title": "Make sure your data are correct",
|
|
44
53
|
"datafeeder.datasetValidation.unknown": " - ",
|
|
@@ -69,6 +78,7 @@
|
|
|
69
78
|
"datafeeder.publishSuccess.geonetworkRecord": "Metadata record",
|
|
70
79
|
"datafeeder.publishSuccess.illustration.title": "Done, all is good!",
|
|
71
80
|
"datafeeder.publishSuccess.mapViewer": "Map viewer",
|
|
81
|
+
"datafeeder.publishSuccess.ogcFeature": "OGC API",
|
|
72
82
|
"datafeeder.publishSuccess.subtitle": "View your data in:",
|
|
73
83
|
"datafeeder.publishSuccess.title": "Congratulation! \n Your dataset has been published",
|
|
74
84
|
"datafeeder.publishSuccess.uploadAnotherData": "Upload another dataset",
|
|
@@ -97,6 +107,15 @@
|
|
|
97
107
|
"datafeeder.upload.maxFileSize": "Maximum file size is {size} MB",
|
|
98
108
|
"datafeeder.upload.title": "Upload your dataset",
|
|
99
109
|
"datafeeder.upload.uploadButton": "Upload",
|
|
110
|
+
"datafeeder.validation.csv.delimiter": "Delimiter",
|
|
111
|
+
"datafeeder.validation.csv.delimiter.comma": "Comma",
|
|
112
|
+
"datafeeder.validation.csv.delimiter.semicolon": "Semicolon",
|
|
113
|
+
"datafeeder.validation.csv.lat.field": "Latitude column",
|
|
114
|
+
"datafeeder.validation.csv.lng.field": "Longitude column",
|
|
115
|
+
"datafeeder.validation.csv.quote.double": "Double quote",
|
|
116
|
+
"datafeeder.validation.csv.quote.none": "None",
|
|
117
|
+
"datafeeder.validation.csv.quote.simple": "Simple quote",
|
|
118
|
+
"datafeeder.validation.csv.quoteChar": "Quote separator",
|
|
100
119
|
"datafeeder.validation.encoding": "encoding",
|
|
101
120
|
"datafeeder.validation.extent.title": "Here is the dataset extent",
|
|
102
121
|
"datafeeder.validation.extent.title.unknown": "The projection system is unknown",
|
|
@@ -110,7 +129,7 @@
|
|
|
110
129
|
"datahub.header.lastRecords": "The latest",
|
|
111
130
|
"datahub.header.myfavorites": "My favorites",
|
|
112
131
|
"datahub.header.news": "Home",
|
|
113
|
-
"datahub.header.
|
|
132
|
+
"datahub.header.organizations": "Organizations",
|
|
114
133
|
"datahub.header.popularRecords": "The most popular",
|
|
115
134
|
"datahub.header.title.html": "<div class=\"text-white\">Discover open<br> data from my Organization</div>",
|
|
116
135
|
"datahub.news.contact.contactus": "Contact us",
|
|
@@ -146,6 +165,7 @@
|
|
|
146
165
|
"downloads.format.unknown": "unknown",
|
|
147
166
|
"downloads.wfs.featuretype.not.found": "The layer was not found",
|
|
148
167
|
"dropFile": "drop file",
|
|
168
|
+
"editor.record.form.keywords": "Keywords",
|
|
149
169
|
"editor.record.form.license": "License",
|
|
150
170
|
"editor.record.form.license.cc-by": "Creative Commons CC-BY",
|
|
151
171
|
"editor.record.form.license.cc-by-sa": "Creative Commons CC-BY-SA",
|
|
@@ -245,6 +265,10 @@
|
|
|
245
265
|
"organisations.sortBy.nameDesc": "Name Z → A",
|
|
246
266
|
"organisations.sortBy.recordCountAsc": "Publications 0 → 9",
|
|
247
267
|
"organisations.sortBy.recordCountDesc": "Publications 9 → 0",
|
|
268
|
+
"organization.details.lastPublishedDatasets": "Last published datasets",
|
|
269
|
+
"organization.details.lastPublishedDatasets.searchAllButton": "Search all",
|
|
270
|
+
"organization.details.mailContact": "Contact by email",
|
|
271
|
+
"organization.header.recordCount": "{count, plural, =0{data} one{data} other{datas}}",
|
|
248
272
|
"pagination.nextPage": "Next page",
|
|
249
273
|
"pagination.page": "page",
|
|
250
274
|
"pagination.pageOf": "of",
|
|
@@ -282,7 +306,7 @@
|
|
|
282
306
|
"record.metadata.preview": "Preview",
|
|
283
307
|
"record.metadata.producer": "Data producer",
|
|
284
308
|
"record.metadata.publication": "Date of publication",
|
|
285
|
-
"record.metadata.publications": "publications",
|
|
309
|
+
"record.metadata.publications": "{count, plural, =0{publication} one{publication} other{publications}}",
|
|
286
310
|
"record.metadata.quality": "Metadata Quality",
|
|
287
311
|
"record.metadata.quality.contact.failed": "Contact is not specified",
|
|
288
312
|
"record.metadata.quality.contact.success": "Contact is specified",
|
|
@@ -342,6 +366,8 @@
|
|
|
342
366
|
"results.sortBy.relevancy": "Relevancy",
|
|
343
367
|
"search.autocomplete.error": "Suggestions could not be fetched:",
|
|
344
368
|
"search.error.couldNotReachApi": "The API could not be reached",
|
|
369
|
+
"search.error.organizationHasNoDataset": "This organization has no dataset yet.",
|
|
370
|
+
"search.error.organizationNotFound": "This organization could not be found.",
|
|
345
371
|
"search.error.receivedError": "An error was received",
|
|
346
372
|
"search.error.recordHasnolink": "This record currently has no link yet, please come back later.",
|
|
347
373
|
"search.error.recordNotFound": "The record with identifier \"{ id }\" could not be found.",
|
package/translations/es.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
+
"Add Layer As": "",
|
|
2
3
|
"button.login": "",
|
|
3
4
|
"catalog.figures.datasets": "conjuntos de datos",
|
|
4
|
-
"catalog.figures.
|
|
5
|
+
"catalog.figures.organizations": "organizaciones",
|
|
5
6
|
"chart.aggregation.average": "promedio",
|
|
6
7
|
"chart.aggregation.count": "conteo",
|
|
7
8
|
"chart.aggregation.max": "máximo",
|
|
@@ -17,16 +18,22 @@
|
|
|
17
18
|
"chart.type.line": "gráfico de líneas",
|
|
18
19
|
"chart.type.lineSmooth": "gráfico de líneas suave",
|
|
19
20
|
"chart.type.pie": "gráfico circular",
|
|
21
|
+
"dashboard.catalog.allRecords": "",
|
|
22
|
+
"dashboard.catalog.calendar": "",
|
|
23
|
+
"dashboard.catalog.contacts": "",
|
|
24
|
+
"dashboard.catalog.discussion": "",
|
|
25
|
+
"dashboard.catalog.thesaurus": "",
|
|
20
26
|
"dashboard.createRecord": "",
|
|
27
|
+
"dashboard.labels.catalog": "Catálogo",
|
|
21
28
|
"dashboard.labels.mySpace": "Mi espacio",
|
|
22
29
|
"dashboard.records.all": "Catálogo",
|
|
23
30
|
"dashboard.records.hasDraft": "",
|
|
24
31
|
"dashboard.records.myDraft": "Mis borradores",
|
|
25
32
|
"dashboard.records.myLibrary": "Mi biblioteca",
|
|
26
|
-
"dashboard.records.myOrg": "Organización",
|
|
27
33
|
"dashboard.records.myRecords": "Mis Registros",
|
|
28
34
|
"dashboard.records.publishedRecords": "",
|
|
29
35
|
"dashboard.records.search": "Buscar \"{searchText}\"",
|
|
36
|
+
"dashboard.records.templates": "",
|
|
30
37
|
"dashboard.records.userDetail": "",
|
|
31
38
|
"dashboard.records.userEmail": "",
|
|
32
39
|
"dashboard.records.username": "",
|
|
@@ -97,6 +104,15 @@
|
|
|
97
104
|
"datafeeder.upload.maxFileSize": "",
|
|
98
105
|
"datafeeder.upload.title": "",
|
|
99
106
|
"datafeeder.upload.uploadButton": "",
|
|
107
|
+
"datafeeder.validation.csv.delimiter": "",
|
|
108
|
+
"datafeeder.validation.csv.delimiter.comma": "Coma",
|
|
109
|
+
"datafeeder.validation.csv.delimiter.semicolon": "Punto y coma",
|
|
110
|
+
"datafeeder.validation.csv.lat.field": "",
|
|
111
|
+
"datafeeder.validation.csv.lng.field": "",
|
|
112
|
+
"datafeeder.validation.csv.quote.double": "Comillas dobles",
|
|
113
|
+
"datafeeder.validation.csv.quote.none": "Ninguno",
|
|
114
|
+
"datafeeder.validation.csv.quote.simple": "Comillas simples",
|
|
115
|
+
"datafeeder.validation.csv.quoteChar": "",
|
|
100
116
|
"datafeeder.validation.encoding": "",
|
|
101
117
|
"datafeeder.validation.extent.title": "",
|
|
102
118
|
"datafeeder.validation.extent.title.unknown": "",
|
|
@@ -110,7 +126,7 @@
|
|
|
110
126
|
"datahub.header.lastRecords": "",
|
|
111
127
|
"datahub.header.myfavorites": "",
|
|
112
128
|
"datahub.header.news": "",
|
|
113
|
-
"datahub.header.
|
|
129
|
+
"datahub.header.organizations": "",
|
|
114
130
|
"datahub.header.popularRecords": "",
|
|
115
131
|
"datahub.header.title.html": "",
|
|
116
132
|
"datahub.news.contact.contactus": "",
|
|
@@ -146,6 +162,7 @@
|
|
|
146
162
|
"downloads.format.unknown": "",
|
|
147
163
|
"downloads.wfs.featuretype.not.found": "",
|
|
148
164
|
"dropFile": "",
|
|
165
|
+
"editor.record.form.keywords": "",
|
|
149
166
|
"editor.record.form.license": "",
|
|
150
167
|
"editor.record.form.license.cc-by": "",
|
|
151
168
|
"editor.record.form.license.cc-by-sa": "",
|
|
@@ -245,6 +262,10 @@
|
|
|
245
262
|
"organisations.sortBy.nameDesc": "",
|
|
246
263
|
"organisations.sortBy.recordCountAsc": "",
|
|
247
264
|
"organisations.sortBy.recordCountDesc": "",
|
|
265
|
+
"organization.details.lastPublishedDatasets": "",
|
|
266
|
+
"organization.details.lastPublishedDatasets.searchAllButton": "",
|
|
267
|
+
"organization.details.mailContact": "",
|
|
268
|
+
"organization.header.recordCount": "{count, plural, =0{} one{} other{}}",
|
|
248
269
|
"pagination.nextPage": "",
|
|
249
270
|
"pagination.page": "",
|
|
250
271
|
"pagination.pageOf": "",
|
|
@@ -282,7 +303,7 @@
|
|
|
282
303
|
"record.metadata.preview": "",
|
|
283
304
|
"record.metadata.producer": "",
|
|
284
305
|
"record.metadata.publication": "",
|
|
285
|
-
"record.metadata.publications": "",
|
|
306
|
+
"record.metadata.publications": "{count, plural, =0{} one{} other{}}",
|
|
286
307
|
"record.metadata.quality": "",
|
|
287
308
|
"record.metadata.quality.contact.failed": "",
|
|
288
309
|
"record.metadata.quality.contact.success": "",
|
|
@@ -342,6 +363,8 @@
|
|
|
342
363
|
"results.sortBy.relevancy": "",
|
|
343
364
|
"search.autocomplete.error": "",
|
|
344
365
|
"search.error.couldNotReachApi": "",
|
|
366
|
+
"search.error.organizationHasNoDataset": "",
|
|
367
|
+
"search.error.organizationNotFound": "",
|
|
345
368
|
"search.error.receivedError": "",
|
|
346
369
|
"search.error.recordHasnolink": "",
|
|
347
370
|
"search.error.recordNotFound": "",
|