geonetwork-ui 2.4.2-dev.ff0aab388 → 2.4.3
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/metadata-converter/src/lib/iso19139/read-parts.mjs +2 -3
- package/esm2022/libs/api/metadata-converter/src/lib/iso19139/write-parts.mjs +4 -1
- package/esm2022/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.mjs +31 -16
- package/esm2022/libs/api/repository/src/lib/gn4/gn4-repository.mjs +2 -2
- package/esm2022/libs/common/domain/src/lib/model/record/metadata.model.mjs +1 -1
- package/esm2022/libs/feature/dataviz/src/lib/geo-table-view/geo-table-view.component.mjs +18 -16
- package/esm2022/libs/feature/dataviz/src/lib/service/data.service.mjs +20 -20
- package/esm2022/libs/feature/dataviz/src/lib/table-view/table-view.component.mjs +12 -17
- package/esm2022/libs/feature/editor/src/lib/components/contact-card/contact-card.component.mjs +3 -3
- package/esm2022/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.mjs +3 -3
- package/esm2022/libs/feature/editor/src/lib/components/import-record/import-record.component.mjs +3 -4
- package/esm2022/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.mjs +3 -3
- package/esm2022/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.mjs +31 -40
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts/form-field-contacts.component.mjs +3 -3
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.mjs +3 -3
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.mjs +3 -3
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-link-resources/form-field-online-link-resources.component.mjs +8 -9
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-resources/form-field-online-resources.component.mjs +5 -25
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.mjs +5 -4
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.mjs +3 -3
- package/esm2022/libs/feature/editor/src/lib/components/wizard-summarize/wizard-summarize.component.mjs +11 -11
- package/esm2022/libs/feature/editor/src/lib/fields.config.mjs +10 -2
- package/esm2022/libs/feature/record/src/lib/data-view/data-view.component.mjs +6 -3
- package/esm2022/libs/feature/record/src/lib/data-view-share/data-view-share.component.mjs +3 -3
- package/esm2022/libs/feature/record/src/lib/feature-record.module.mjs +6 -7
- package/esm2022/libs/feature/record/src/lib/map-view/map-view.component.mjs +6 -3
- package/esm2022/libs/feature/search/src/lib/utils/service/fields.mjs +46 -1
- package/esm2022/libs/feature/search/src/lib/utils/service/fields.service.mjs +3 -2
- package/esm2022/libs/ui/dataviz/src/index.mjs +3 -3
- package/esm2022/libs/ui/dataviz/src/lib/data-table/custom.mat.paginator.intl.mjs +51 -0
- package/esm2022/libs/ui/dataviz/src/lib/data-table/data-table.component.mjs +133 -0
- package/esm2022/libs/ui/dataviz/src/lib/data-table/data-table.data.source.mjs +24 -0
- package/esm2022/libs/ui/dataviz/src/lib/data-table/data-table.fixtures.mjs +82 -0
- package/esm2022/libs/ui/elements/src/index.mjs +2 -1
- package/esm2022/libs/ui/elements/src/lib/application-banner/application-banner.component.mjs +78 -0
- package/esm2022/libs/ui/elements/src/lib/metadata-info/metadata-info.component.mjs +18 -10
- package/esm2022/libs/ui/elements/src/lib/record-api-form/record-api-form.component.mjs +2 -1
- package/esm2022/libs/ui/elements/src/lib/ui-elements.module.mjs +10 -4
- package/esm2022/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.mjs +7 -2
- package/esm2022/libs/ui/search/src/lib/record-preview-feed/record-preview-feed.component.mjs +3 -1
- package/esm2022/libs/ui/search/src/lib/results-table/results-table.component.mjs +15 -13
- package/esm2022/libs/util/data-fetcher/src/index.mjs +3 -1
- package/esm2022/libs/util/data-fetcher/src/lib/data-fetcher.mjs +5 -1
- package/esm2022/libs/util/data-fetcher/src/lib/headers.mjs +3 -2
- package/esm2022/libs/util/data-fetcher/src/lib/model.mjs +8 -3
- package/esm2022/libs/util/data-fetcher/src/lib/readers/wfs.mjs +97 -0
- package/esm2022/libs/util/data-fetcher/src/lib/utils.mjs +3 -3
- package/esm2022/libs/util/shared/src/lib/services/date.service.mjs +41 -0
- package/esm2022/libs/util/shared/src/lib/services/index.mjs +2 -1
- package/esm2022/libs/util/shared/src/lib/utils/temporal-extent-union.mjs +4 -4
- package/esm2022/translations/de.json +20 -5
- package/esm2022/translations/en.json +29 -14
- package/esm2022/translations/es.json +20 -5
- package/esm2022/translations/fr.json +30 -15
- package/esm2022/translations/it.json +39 -26
- package/esm2022/translations/nl.json +20 -5
- package/esm2022/translations/pt.json +20 -5
- package/fesm2022/geonetwork-ui.mjs +1105 -556
- package/fesm2022/geonetwork-ui.mjs.map +1 -1
- package/libs/api/metadata-converter/src/lib/iso19139/read-parts.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/iso19139/write-parts.d.ts.map +1 -1
- package/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.d.ts +2 -1
- package/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.d.ts.map +1 -1
- package/libs/api/repository/src/lib/gn4/gn4-repository.d.ts.map +1 -1
- package/libs/feature/dataviz/src/lib/geo-table-view/geo-table-view.component.d.ts +7 -9
- package/libs/feature/dataviz/src/lib/geo-table-view/geo-table-view.component.d.ts.map +1 -1
- package/libs/feature/dataviz/src/lib/service/data.service.d.ts.map +1 -1
- package/libs/feature/dataviz/src/lib/table-view/table-view.component.d.ts +3 -6
- package/libs/feature/dataviz/src/lib/table-view/table-view.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/import-record/import-record.component.d.ts +0 -1
- package/libs/feature/editor/src/lib/components/import-record/import-record.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.d.ts +7 -14
- package/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-link-resources/form-field-online-link-resources.component.d.ts +2 -2
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-link-resources/form-field-online-link-resources.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-resources/form-field-online-resources.component.d.ts +1 -6
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-resources/form-field-online-resources.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/wizard-summarize/wizard-summarize.component.d.ts +3 -3
- package/libs/feature/editor/src/lib/components/wizard-summarize/wizard-summarize.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/fields.config.d.ts.map +1 -1
- package/libs/feature/record/src/lib/data-view/data-view.component.d.ts +2 -1
- package/libs/feature/record/src/lib/data-view/data-view.component.d.ts.map +1 -1
- package/libs/feature/record/src/lib/feature-record.module.d.ts +2 -2
- package/libs/feature/record/src/lib/feature-record.module.d.ts.map +1 -1
- package/libs/feature/record/src/lib/map-view/map-view.component.d.ts +2 -1
- package/libs/feature/record/src/lib/map-view/map-view.component.d.ts.map +1 -1
- package/libs/feature/search/src/lib/utils/service/fields.d.ts +10 -0
- package/libs/feature/search/src/lib/utils/service/fields.d.ts.map +1 -1
- package/libs/feature/search/src/lib/utils/service/fields.service.d.ts.map +1 -1
- package/libs/ui/dataviz/src/index.d.ts +2 -2
- package/libs/ui/dataviz/src/index.d.ts.map +1 -1
- package/libs/ui/dataviz/src/lib/data-table/custom.mat.paginator.intl.d.ts +14 -0
- package/libs/ui/dataviz/src/lib/data-table/custom.mat.paginator.intl.d.ts.map +1 -0
- package/libs/ui/dataviz/src/lib/data-table/data-table.component.d.ts +45 -0
- package/libs/ui/dataviz/src/lib/data-table/data-table.component.d.ts.map +1 -0
- package/libs/ui/dataviz/src/lib/data-table/data-table.data.source.d.ts +12 -0
- package/libs/ui/dataviz/src/lib/data-table/data-table.data.source.d.ts.map +1 -0
- package/libs/ui/dataviz/src/lib/data-table/data-table.fixtures.d.ts +10 -0
- package/libs/ui/dataviz/src/lib/data-table/data-table.fixtures.d.ts.map +1 -0
- package/libs/ui/elements/src/index.d.ts +1 -0
- package/libs/ui/elements/src/index.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/application-banner/application-banner.component.d.ts +16 -0
- package/libs/ui/elements/src/lib/application-banner/application-banner.component.d.ts.map +1 -0
- package/libs/ui/elements/src/lib/metadata-info/metadata-info.component.d.ts +5 -0
- package/libs/ui/elements/src/lib/metadata-info/metadata-info.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/record-api-form/record-api-form.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/ui-elements.module.d.ts +2 -1
- 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.map +1 -1
- package/libs/ui/search/src/lib/record-preview-feed/record-preview-feed.component.d.ts.map +1 -1
- package/libs/ui/search/src/lib/results-table/results-table.component.d.ts +3 -2
- package/libs/ui/search/src/lib/results-table/results-table.component.d.ts.map +1 -1
- package/libs/util/data-fetcher/src/index.d.ts +3 -1
- package/libs/util/data-fetcher/src/index.d.ts.map +1 -1
- package/libs/util/data-fetcher/src/lib/data-fetcher.d.ts +3 -2
- package/libs/util/data-fetcher/src/lib/data-fetcher.d.ts.map +1 -1
- package/libs/util/data-fetcher/src/lib/headers.d.ts.map +1 -1
- package/libs/util/data-fetcher/src/lib/model.d.ts +2 -2
- package/libs/util/data-fetcher/src/lib/model.d.ts.map +1 -1
- package/libs/util/data-fetcher/src/lib/readers/wfs.d.ts +21 -0
- package/libs/util/data-fetcher/src/lib/readers/wfs.d.ts.map +1 -0
- package/libs/util/shared/src/lib/services/date.service.d.ts +13 -0
- package/libs/util/shared/src/lib/services/date.service.d.ts.map +1 -0
- package/libs/util/shared/src/lib/services/index.d.ts +1 -0
- package/libs/util/shared/src/lib/services/index.d.ts.map +1 -1
- package/libs/util/shared/src/lib/utils/temporal-extent-union.d.ts +2 -1
- package/libs/util/shared/src/lib/utils/temporal-extent-union.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/libs/api/metadata-converter/src/lib/fixtures/geocat-ch.records.ts +1 -0
- package/src/libs/api/metadata-converter/src/lib/iso19139/read-parts.ts +1 -2
- package/src/libs/api/metadata-converter/src/lib/iso19139/write-parts.ts +3 -0
- package/src/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.ts +33 -16
- package/src/libs/api/repository/src/lib/gn4/gn4-repository.ts +1 -5
- package/src/libs/common/domain/src/lib/model/record/metadata.model.ts +1 -1
- package/src/libs/feature/dataviz/src/lib/geo-table-view/geo-table-view.component.html +3 -3
- package/src/libs/feature/dataviz/src/lib/geo-table-view/geo-table-view.component.ts +17 -15
- package/src/libs/feature/dataviz/src/lib/service/data.service.ts +25 -25
- package/src/libs/feature/dataviz/src/lib/table-view/table-view.component.html +4 -3
- package/src/libs/feature/dataviz/src/lib/table-view/table-view.component.ts +9 -18
- package/src/libs/feature/editor/src/lib/components/contact-card/contact-card.component.html +1 -1
- package/src/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.html +1 -1
- package/src/libs/feature/editor/src/lib/components/import-record/import-record.component.html +4 -1
- package/src/libs/feature/editor/src/lib/components/import-record/import-record.component.ts +0 -4
- package/src/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.ts +2 -2
- package/src/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.html +8 -8
- package/src/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.ts +32 -45
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts/form-field-contacts.component.html +1 -1
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.html +3 -1
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.html +1 -1
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-link-resources/form-field-online-link-resources.component.html +0 -1
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-link-resources/form-field-online-link-resources.component.ts +6 -6
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-resources/form-field-online-resources.component.html +24 -17
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-resources/form-field-online-resources.component.ts +2 -27
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.html +1 -1
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.ts +2 -1
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.html +1 -1
- package/src/libs/feature/editor/src/lib/components/wizard-summarize/wizard-summarize.component.ts +3 -4
- package/src/libs/feature/editor/src/lib/fields.config.ts +9 -1
- package/src/libs/feature/record/src/lib/data-view/data-view.component.html +2 -1
- package/src/libs/feature/record/src/lib/data-view/data-view.component.ts +1 -0
- package/src/libs/feature/record/src/lib/data-view-share/data-view-share.component.html +1 -1
- package/src/libs/feature/record/src/lib/feature-record.module.ts +6 -4
- package/src/libs/feature/record/src/lib/map-view/map-view.component.html +1 -0
- package/src/libs/feature/record/src/lib/map-view/map-view.component.ts +1 -0
- package/src/libs/feature/search/src/lib/utils/service/fields.service.ts +2 -0
- package/src/libs/feature/search/src/lib/utils/service/fields.ts +55 -0
- package/src/libs/ui/dataviz/src/index.ts +2 -2
- package/src/libs/ui/dataviz/src/lib/data-table/custom.mat.paginator.intl.ts +52 -0
- package/src/libs/ui/dataviz/src/lib/{table/table.component.css → data-table/data-table.component.css} +4 -0
- package/src/libs/ui/dataviz/src/lib/data-table/data-table.component.html +67 -0
- package/src/libs/ui/dataviz/src/lib/data-table/data-table.component.ts +173 -0
- package/src/libs/ui/dataviz/src/lib/data-table/data-table.data.source.ts +33 -0
- package/src/libs/ui/dataviz/src/lib/data-table/data-table.fixtures.ts +84 -0
- package/src/libs/ui/elements/src/index.ts +1 -0
- package/src/libs/ui/elements/src/lib/application-banner/application-banner.component.css +0 -0
- package/src/libs/ui/elements/src/lib/application-banner/application-banner.component.html +25 -0
- package/src/libs/ui/elements/src/lib/application-banner/application-banner.component.ts +70 -0
- package/src/libs/ui/elements/src/lib/metadata-info/metadata-info.component.html +3 -3
- package/src/libs/ui/elements/src/lib/metadata-info/metadata-info.component.ts +12 -2
- package/src/libs/ui/elements/src/lib/record-api-form/record-api-form.component.ts +2 -0
- package/src/libs/ui/elements/src/lib/ui-elements.module.ts +3 -0
- package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.ts +6 -0
- package/src/libs/ui/search/src/lib/record-preview-feed/record-preview-feed.component.ts +3 -0
- package/src/libs/ui/search/src/lib/results-table/results-table.component.html +1 -1
- package/src/libs/ui/search/src/lib/results-table/results-table.component.ts +4 -2
- package/src/libs/util/data-fetcher/src/index.ts +3 -0
- package/src/libs/util/data-fetcher/src/lib/data-fetcher.ts +9 -1
- package/src/libs/util/data-fetcher/src/lib/headers.ts +4 -3
- package/src/libs/util/data-fetcher/src/lib/model.ts +7 -2
- package/src/libs/util/data-fetcher/src/lib/readers/wfs.ts +134 -0
- package/src/libs/util/data-fetcher/src/lib/utils.ts +2 -2
- package/src/libs/util/shared/src/lib/services/date.service.ts +45 -0
- package/src/libs/util/shared/src/lib/services/index.ts +1 -0
- package/src/libs/util/shared/src/lib/utils/temporal-extent-union.ts +6 -3
- package/translations/de.json +20 -5
- package/translations/en.json +29 -14
- package/translations/es.json +20 -5
- package/translations/fr.json +30 -15
- package/translations/it.json +39 -26
- package/translations/nl.json +20 -5
- package/translations/pt.json +20 -5
- package/translations/sk.json +21 -6
- package/esm2022/libs/ui/dataviz/src/lib/table/table.component.mjs +0 -61
- package/esm2022/libs/ui/dataviz/src/lib/table/table.fixtures.mjs +0 -40
- package/libs/ui/dataviz/src/lib/table/table.component.d.ts +0 -29
- package/libs/ui/dataviz/src/lib/table/table.component.d.ts.map +0 -1
- package/libs/ui/dataviz/src/lib/table/table.fixtures.d.ts +0 -11
- package/libs/ui/dataviz/src/lib/table/table.fixtures.d.ts.map +0 -1
- package/src/libs/ui/dataviz/src/lib/table/table.component.html +0 -40
- package/src/libs/ui/dataviz/src/lib/table/table.component.ts +0 -80
- package/src/libs/ui/dataviz/src/lib/table/table.fixtures.ts +0 -40
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { DataSource } from '@angular/cdk/collections';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { DataItem } from '../../../../../../libs/util/data-fetcher/src';
|
|
4
|
+
import { TableItemModel } from './data-table.component';
|
|
5
|
+
export declare class DataTableDataSource implements DataSource<TableItemModel> {
|
|
6
|
+
private dataItems$;
|
|
7
|
+
connect(): Observable<TableItemModel[]>;
|
|
8
|
+
disconnect(): void;
|
|
9
|
+
showData(itemsPromise: Promise<DataItem[]>): Promise<void>;
|
|
10
|
+
clearData(): void;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=data-table.data.source.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data-table.data.source.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/dataviz/src/lib/data-table/data-table.data.source.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAA;AACrD,OAAO,EAAmB,UAAU,EAAE,MAAM,MAAM,CAAA;AAClD,OAAO,EAAE,QAAQ,EAAE,MAAM,8CAA8C,CAAA;AAEvE,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAA;AAEvD,qBAAa,mBAAoB,YAAW,UAAU,CAAC,cAAc,CAAC;IACpE,OAAO,CAAC,UAAU,CAAsC;IAExD,OAAO,IAAI,UAAU,CAAC,cAAc,EAAE,CAAC;IAWvC,UAAU,IAAI,IAAI;IAIZ,QAAQ,CAAC,YAAY,EAAE,OAAO,CAAC,QAAQ,EAAE,CAAC;IAKhD,SAAS;CAGV"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { DataItem, PropertyInfo } from '../../../../../../libs/util/data-fetcher/src';
|
|
2
|
+
export declare const tableItemsFixture: {
|
|
3
|
+
items: DataItem[];
|
|
4
|
+
properties: PropertyInfo[];
|
|
5
|
+
};
|
|
6
|
+
export declare const someHabTableItemFixture: {
|
|
7
|
+
items: DataItem[];
|
|
8
|
+
properties: PropertyInfo[];
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=data-table.fixtures.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data-table.fixtures.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/dataviz/src/lib/data-table/data-table.fixtures.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,8CAA8C,CAAA;AAErF,eAAO,MAAM,iBAAiB;WA6BvB,QAAQ,EAAE;gBAKV,YAAY,EAAE;CACpB,CAAA;AAED,eAAO,MAAM,uBAAuB;WAsC7B,QAAQ,EAAE;gBAKV,YAAY,EAAE;CACpB,CAAA"}
|
|
@@ -22,4 +22,5 @@ export * from './lib/thumbnail/thumbnail.component';
|
|
|
22
22
|
export * from './lib/ui-elements.module';
|
|
23
23
|
export * from './lib/user-feedback-item/user-feedback-item.component';
|
|
24
24
|
export * from './lib/user-preview/user-preview.component';
|
|
25
|
+
export * from './lib/application-banner/application-banner.component';
|
|
25
26
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/ui/elements/src/index.ts"],"names":[],"mappings":"AAA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AAc,iDAAiD,CAAA;AAC/D,cAAc,yDAAyD,CAAA;AACvE,cAAc,qCAAqC,CAAA;AACnD,cAAc,0BAA0B,CAAA;AACxC,cAAc,uDAAuD,CAAA;AACrE,cAAc,2CAA2C,CAAA;AACzD,cAAc,uDAAuD,CAAA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ApplicationBannerComponent {
|
|
3
|
+
message: string;
|
|
4
|
+
title: string;
|
|
5
|
+
closeEnabled: boolean;
|
|
6
|
+
extraClass: string;
|
|
7
|
+
icon: string;
|
|
8
|
+
msgClass: string;
|
|
9
|
+
bannerOpen: boolean;
|
|
10
|
+
set type(value: 'primary' | 'secondary' | 'light');
|
|
11
|
+
get classList(): string;
|
|
12
|
+
closeMessage(): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ApplicationBannerComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ApplicationBannerComponent, "gn-ui-application-banner", never, { "message": { "alias": "message"; "required": false; }; "title": { "alias": "title"; "required": false; }; "closeEnabled": { "alias": "closeEnabled"; "required": false; }; "extraClass": { "alias": "extraClass"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, {}, never, never, true, never>;
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=application-banner.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"application-banner.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/elements/src/lib/application-banner/application-banner.component.ts"],"names":[],"mappings":";AAcA,qBAiBa,0BAA0B;IAC5B,OAAO,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,MAAM,CAAA;IACb,YAAY,UAAQ;IACpB,UAAU,SAAK;IACf,IAAI,SAAK;IAClB,QAAQ,SAAK;IACb,UAAU,UAAO;IAEjB,IAAa,IAAI,CAAC,KAAK,EAAE,SAAS,GAAG,WAAW,GAAG,OAAO,EAiBzD;IAED,IAAI,SAAS,WAKZ;IAED,YAAY;yCAnCD,0BAA0B;2CAA1B,0BAA0B;CAsCtC"}
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { DatasetRecord, Keyword } from '../../../../../../libs/common/domain/src/lib/model/record';
|
|
3
|
+
import { DateService } from '../../../../../../libs/util/shared/src';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class MetadataInfoComponent {
|
|
6
|
+
private dateService;
|
|
5
7
|
metadata: Partial<DatasetRecord>;
|
|
6
8
|
incomplete: boolean;
|
|
7
9
|
keyword: EventEmitter<Keyword>;
|
|
8
10
|
updatedTimes: number;
|
|
11
|
+
constructor(dateService: DateService);
|
|
9
12
|
get hasUsage(): boolean;
|
|
10
13
|
get legalConstraints(): any[];
|
|
11
14
|
get otherConstraints(): any[];
|
|
@@ -22,6 +25,8 @@ export declare class MetadataInfoComponent {
|
|
|
22
25
|
get resourceContact(): import("../../../../../common/domain/src/lib/model/record/contact.model").Individual;
|
|
23
26
|
fieldReady(propName: string): boolean;
|
|
24
27
|
onKeywordClick(keyword: Keyword): void;
|
|
28
|
+
formatDate(date: Date): string;
|
|
29
|
+
formatDateTime(date: Date): string;
|
|
25
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<MetadataInfoComponent, never>;
|
|
26
31
|
static ɵcmp: i0.ɵɵComponentDeclaration<MetadataInfoComponent, "gn-ui-metadata-info", never, { "metadata": { "alias": "metadata"; "required": false; }; "incomplete": { "alias": "incomplete"; "required": false; }; }, { "keyword": "keyword"; }, never, never, true, never>;
|
|
27
32
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"metadata-info.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/elements/src/lib/metadata-info/metadata-info.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,YAAY,EAGb,MAAM,eAAe,CAAA;AACtB,OAAO,EACL,aAAa,EACb,OAAO,EACR,MAAM,2DAA2D,CAAA;;
|
|
1
|
+
{"version":3,"file":"metadata-info.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/elements/src/lib/metadata-info/metadata-info.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,YAAY,EAGb,MAAM,eAAe,CAAA;AACtB,OAAO,EACL,aAAa,EACb,OAAO,EACR,MAAM,2DAA2D,CAAA;AAClE,OAAO,EAAE,WAAW,EAAyB,MAAM,wCAAwC,CAAA;;AAmB3F,qBA0Ba,qBAAqB;IAMpB,OAAO,CAAC,WAAW;IALtB,QAAQ,EAAE,OAAO,CAAC,aAAa,CAAC,CAAA;IAChC,UAAU,EAAE,OAAO,CAAA;IAClB,OAAO,wBAA8B;IAC/C,YAAY,EAAE,MAAM,CAAA;gBAEA,WAAW,EAAE,WAAW;IAE5C,IAAI,QAAQ,YASX;IAED,IAAI,gBAAgB,UAanB;IAED,IAAI,gBAAgB,UAQnB;IAED,IAAI,QAAQ,IAAI;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,EAAE,CAU9C;IAED,IAAI,eAAe,IAAI,MAAM,CAS5B;IAED,IAAI,cAAc,IAAI;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,CAGnD;IAED,IAAI,iBAAiB,gGAEpB;IAED,IAAI,eAAe,yFAElB;IAED,UAAU,CAAC,QAAQ,EAAE,MAAM;IAI3B,cAAc,CAAC,OAAO,EAAE,OAAO;IAI/B,UAAU,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM;IAI9B,cAAc,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM;yCA5FvB,qBAAqB;2CAArB,qBAAqB;CA+FjC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"record-api-form.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/elements/src/lib/record-api-form/record-api-form.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAA;AAC9E,OAAO,EACL,0BAA0B,EAC1B,eAAe,EAChB,MAAM,2DAA2D,CAAA;AAElE,OAAO,EAAE,eAAe,EAAyC,MAAM,MAAM,CAAA;AAC7E,OAAO,EAEL,cAAc,EAGf,MAAM,sCAAsC,CAAA;;AAU7C,qBAca,sBAAsB;IACjC,IAAa,OAAO,CAAC,KAAK,EAAE,0BAA0B,EASrD;IAED,OAAO,0BAA6C;IACpD,MAAM,0BAA4C;IAClD,OAAO,0BAA6C;IACpD,SAAS,gDAER;IACD,UAAU,EAAE,MAAM,CAAA;IAClB,cAAc,EAAE,MAAM,CAAA;IACtB,aAAa,UAAO;IACpB,qBAAqB,EAAE,eAAe,GAAG,SAAS,CAAA;IAClD,aAAa,EAAE,cAAc,EAAE,CAE9B;IACD,QAAQ,EAAE,WAAW,GAAG,cAAc,GAAG,SAAS,CAAA;IAElD,YAAY,oCAUX;IAED,eAAe,qCAEd;IACD,aAAa,oCAEZ;IAED,SAAS,CAAC,KAAK,EAAE,MAAM;IAIvB,QAAQ,CAAC,KAAK,EAAE,MAAM;IAItB,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO;IAIjC,QAAQ;IAMF,kBAAkB;IAexB,oBAAoB,CAAC,QAAQ,EAAE,QAAQ,GAAG,cAAc,GAAG,IAAI;IAOzD,gBAAgB,IAAI,OAAO,CAAC,QAAQ,EAAE,CAAC;IAWvC,cAAc;IAgBd,mBAAmB,CACvB,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,MAAM,GACb,OAAO,CAAC,MAAM,CAAC;yCArHP,sBAAsB;2CAAtB,sBAAsB;
|
|
1
|
+
{"version":3,"file":"record-api-form.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/elements/src/lib/record-api-form/record-api-form.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAA;AAC9E,OAAO,EACL,0BAA0B,EAC1B,eAAe,EAChB,MAAM,2DAA2D,CAAA;AAElE,OAAO,EAAE,eAAe,EAAyC,MAAM,MAAM,CAAA;AAC7E,OAAO,EAEL,cAAc,EAGf,MAAM,sCAAsC,CAAA;;AAU7C,qBAca,sBAAsB;IACjC,IAAa,OAAO,CAAC,KAAK,EAAE,0BAA0B,EASrD;IAED,OAAO,0BAA6C;IACpD,MAAM,0BAA4C;IAClD,OAAO,0BAA6C;IACpD,SAAS,gDAER;IACD,UAAU,EAAE,MAAM,CAAA;IAClB,cAAc,EAAE,MAAM,CAAA;IACtB,aAAa,UAAO;IACpB,qBAAqB,EAAE,eAAe,GAAG,SAAS,CAAA;IAClD,aAAa,EAAE,cAAc,EAAE,CAE9B;IACD,QAAQ,EAAE,WAAW,GAAG,cAAc,GAAG,SAAS,CAAA;IAElD,YAAY,oCAUX;IAED,eAAe,qCAEd;IACD,aAAa,oCAEZ;IAED,SAAS,CAAC,KAAK,EAAE,MAAM;IAIvB,QAAQ,CAAC,KAAK,EAAE,MAAM;IAItB,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO;IAIjC,QAAQ;IAMF,kBAAkB;IAexB,oBAAoB,CAAC,QAAQ,EAAE,QAAQ,GAAG,cAAc,GAAG,IAAI;IAOzD,gBAAgB,IAAI,OAAO,CAAC,QAAQ,EAAE,CAAC;IAWvC,cAAc;IAgBd,mBAAmB,CACvB,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,MAAM,GACb,OAAO,CAAC,MAAM,CAAC;yCArHP,sBAAsB;2CAAtB,sBAAsB;CA6IlC"}
|
|
@@ -18,9 +18,10 @@ import * as i16 from "../../../inputs/src/lib/badge/badge.component";
|
|
|
18
18
|
import * as i17 from "../../../layout/src/lib/max-lines/max-lines.component";
|
|
19
19
|
import * as i18 from "../../../inputs/src/lib/text-input/text-input.component";
|
|
20
20
|
import * as i19 from "./image-input/image-input.component";
|
|
21
|
+
import * as i20 from "./application-banner/application-banner.component";
|
|
21
22
|
export declare class UiElementsModule {
|
|
22
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<UiElementsModule, never>;
|
|
23
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<UiElementsModule, [typeof i1.AvatarComponent, typeof i2.UserPreviewComponent], [typeof i3.CommonModule, typeof i4.MatTooltipModule, typeof i5.UiWidgetsModule, typeof i6.UiLayoutModule, typeof i7.TranslateModule, typeof i8.UtilSharedModule, typeof i9.RouterModule, typeof i10.UiInputsModule, typeof i11.FormsModule, typeof i3.NgOptimizedImage, typeof i12.PopoverComponent, typeof i13.MarkdownParserComponent, typeof i14.ThumbnailComponent, typeof i15.TimeSincePipe, typeof i16.BadgeComponent, typeof i17.MaxLinesComponent, typeof i18.TextInputComponent, typeof i19.ImageInputComponent], [typeof i14.ThumbnailComponent, typeof i1.AvatarComponent, typeof i2.UserPreviewComponent, typeof i13.MarkdownParserComponent, typeof i19.ImageInputComponent]>;
|
|
24
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<UiElementsModule, [typeof i1.AvatarComponent, typeof i2.UserPreviewComponent], [typeof i3.CommonModule, typeof i4.MatTooltipModule, typeof i5.UiWidgetsModule, typeof i6.UiLayoutModule, typeof i7.TranslateModule, typeof i8.UtilSharedModule, typeof i9.RouterModule, typeof i10.UiInputsModule, typeof i11.FormsModule, typeof i3.NgOptimizedImage, typeof i12.PopoverComponent, typeof i13.MarkdownParserComponent, typeof i14.ThumbnailComponent, typeof i15.TimeSincePipe, typeof i16.BadgeComponent, typeof i17.MaxLinesComponent, typeof i18.TextInputComponent, typeof i19.ImageInputComponent, typeof i20.ApplicationBannerComponent], [typeof i14.ThumbnailComponent, typeof i1.AvatarComponent, typeof i2.UserPreviewComponent, typeof i13.MarkdownParserComponent, typeof i19.ImageInputComponent, typeof i20.ApplicationBannerComponent]>;
|
|
24
25
|
static ɵinj: i0.ɵɵInjectorDeclaration<UiElementsModule>;
|
|
25
26
|
}
|
|
26
27
|
//# sourceMappingURL=ui-elements.module.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui-elements.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/ui/elements/src/lib/ui-elements.module.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ui-elements.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/ui/elements/src/lib/ui-elements.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAuBA,qBAqCa,gBAAgB;yCAAhB,gBAAgB;0CAAhB,gBAAgB;0CAAhB,gBAAgB;CAAG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"autocomplete.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EAEb,iBAAiB,EAEjB,UAAU,EACV,YAAY,EAEZ,SAAS,EACT,SAAS,EACT,MAAM,EAEN,aAAa,EAEd,MAAM,eAAe,CAAA;AACtB,OAAO,EAAuB,kBAAkB,EAAE,MAAM,gBAAgB,CAAA;AACxE,OAAO,EACL,eAAe,EAEf,4BAA4B,EAC5B,sBAAsB,EACvB,MAAM,gCAAgC,CAAA;AACvC,OAAO,EAAgB,UAAU,EAAM,aAAa,EAAE,YAAY,EAAE,MAAM,MAAM,CAAA;;AAwBhF,MAAM,MAAM,gBAAgB,GAAG,OAAO,CAAA;AAEtC,qBAyBa,qBACX,YAAW,MAAM,EAAE,aAAa,EAAE,SAAS,EAAE,SAAS;IAmC1C,OAAO,CAAC,KAAK;IAjChB,WAAW,EAAE,MAAM,CAAA;IACnB,MAAM,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,UAAU,CAAC,gBAAgB,EAAE,CAAC,CAAA;IACzD,KAAK,CAAC,EAAE,gBAAgB,CAAA;IACxB,gBAAgB,UAAQ;IACxB,0BAA0B,UAAQ;IAClC,SAAS,UAAQ;IACjB,iBAAiB,CAAC,SAAI;IAEtB,WAAW,UAAQ;IAClB,YAAY,wBAAuC;IACnD,cAAc,uBAA6B;IAC3C,YAAY,qBAA2B;IACd,UAAU,EAAE,sBAAsB,CAAA;IACzC,YAAY,EAAE,eAAe,CAAA;IAC/B,QAAQ,EAAE,UAAU,CAAC,gBAAgB,CAAC,CAAA;IAEhE,SAAS,EAAE,OAAO,CAAA;IAClB,OAAO,qBAA2B;IAClC,WAAW,UAAO;IAClB,gBAAgB,8CAAqD;IACrE,eAAe,wBAA+B;IAC9C,KAAK,EAAE,MAAM,GAAG,IAAI,CAAO;IAC3B,YAAY,EAAE,UAAU,CAAC,gBAAgB,EAAE,CAAC,CAAA;IAC5C,YAAY,eAAqB;IAExB,aAAa,EAAE,CAAC,IAAI,EAAE,gBAAgB,KAAK,MAAM,CACzC;IAEjB,qBAAqB,UAAW,gBAAgB,YAG/C;gBAEmB,KAAK,EAAE,iBAAiB;IAC5C,WAAW,CAAC,OAAO,EAAE,aAAa,GAAG,IAAI;IAWzC,QAAQ,IAAI,IAAI;
|
|
1
|
+
{"version":3,"file":"autocomplete.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EAEb,iBAAiB,EAEjB,UAAU,EACV,YAAY,EAEZ,SAAS,EACT,SAAS,EACT,MAAM,EAEN,aAAa,EAEd,MAAM,eAAe,CAAA;AACtB,OAAO,EAAuB,kBAAkB,EAAE,MAAM,gBAAgB,CAAA;AACxE,OAAO,EACL,eAAe,EAEf,4BAA4B,EAC5B,sBAAsB,EACvB,MAAM,gCAAgC,CAAA;AACvC,OAAO,EAAgB,UAAU,EAAM,aAAa,EAAE,YAAY,EAAE,MAAM,MAAM,CAAA;;AAwBhF,MAAM,MAA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CAvKxC,qBAAqB;2CAArB,qBAAqB;CAqLjC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"record-preview-feed.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/search/src/lib/record-preview-feed/record-preview-feed.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsC,UAAU,EAAE,MAAM,eAAe,CAAA;AAC9E,OAAO,EAAE,sBAAsB,EAAE,MAAM,4CAA4C,CAAA;AACnF,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;AACtD,OAAO,QAAQ,MAAM,6BAA6B,CAAA;;
|
|
1
|
+
{"version":3,"file":"record-preview-feed.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/search/src/lib/record-preview-feed/record-preview-feed.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsC,UAAU,EAAE,MAAM,eAAe,CAAA;AAC9E,OAAO,EAAE,sBAAsB,EAAE,MAAM,4CAA4C,CAAA;AACnF,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;AACtD,OAAO,QAAQ,MAAM,6BAA6B,CAAA;;AAKlD,qBAMa,0BAA2B,SAAQ,sBAAsB;IAIlE,SAAS,CAAC,UAAU,EAAE,UAAU;IAChC,OAAO,CAAC,SAAS;IAJnB,UAAU,WAA+C;gBAG7C,UAAU,EAAE,UAAU,EACxB,SAAS,EAAE,gBAAgB;IAKrC,IAAI,eAAe,YAElB;IACD,IAAI,OAAO,YAEV;IACD,IAAI,aAAa,YAEhB;IACD,IAAI,IAAI,WAEP;yCArBU,0BAA0B;2CAA1B,0BAA0B;CAsBtC"}
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { ChangeDetectorRef, ElementRef, EventEmitter, QueryList, ViewContainerRef } from '@angular/core';
|
|
2
2
|
import { CatalogRecord } from '../../../../../../libs/common/domain/src/lib/model/record';
|
|
3
3
|
import { SortByField } from '../../../../../../libs/common/domain/src/lib/model/search';
|
|
4
|
-
import { FileFormat } from '../../../../../../libs/util/shared/src';
|
|
4
|
+
import { DateService, FileFormat } from '../../../../../../libs/util/shared/src';
|
|
5
5
|
import { Overlay } from '@angular/cdk/overlay';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class ResultsTableComponent {
|
|
8
8
|
private overlay;
|
|
9
9
|
private viewContainerRef;
|
|
10
10
|
private cdr;
|
|
11
|
+
private dateService;
|
|
11
12
|
records: CatalogRecord[];
|
|
12
13
|
selectedRecordsIdentifiers: string[];
|
|
13
14
|
sortOrder: SortByField;
|
|
@@ -24,7 +25,7 @@ export declare class ResultsTableComponent {
|
|
|
24
25
|
actionMenuButtons: QueryList<ElementRef>;
|
|
25
26
|
private overlayRef;
|
|
26
27
|
isActionMenuOpen: boolean;
|
|
27
|
-
constructor(overlay: Overlay, viewContainerRef: ViewContainerRef, cdr: ChangeDetectorRef);
|
|
28
|
+
constructor(overlay: Overlay, viewContainerRef: ViewContainerRef, cdr: ChangeDetectorRef, dateService: DateService);
|
|
28
29
|
openActionMenu(item: any, template: any): void;
|
|
29
30
|
closeActionMenu(): void;
|
|
30
31
|
dateToString(date: Date): string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"results-table.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/search/src/lib/results-table/results-table.component.ts"],"names":[],"mappings":"AACA,OAAO,EACL,iBAAiB,EAEjB,UAAU,EACV,YAAY,EAGZ,SAAS,EAET,gBAAgB,EACjB,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,aAAa,EAAE,MAAM,2DAA2D,CAAA;AACzF,OAAO,EAEL,WAAW,EACZ,MAAM,2DAA2D,CAAA;AAMlE,OAAO,EACL,UAAU,EAKX,MAAM,wCAAwC,CAAA;AAK/C,OAAO,EAGL,OAAO,EAER,MAAM,sBAAsB,CAAA;;AAI7B,qBAkBa,qBAAqB;IA0B9B,OAAO,CAAC,OAAO;IACf,OAAO,CAAC,gBAAgB;IACxB,OAAO,CAAC,GAAG;
|
|
1
|
+
{"version":3,"file":"results-table.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/search/src/lib/results-table/results-table.component.ts"],"names":[],"mappings":"AACA,OAAO,EACL,iBAAiB,EAEjB,UAAU,EACV,YAAY,EAGZ,SAAS,EAET,gBAAgB,EACjB,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,aAAa,EAAE,MAAM,2DAA2D,CAAA;AACzF,OAAO,EAEL,WAAW,EACZ,MAAM,2DAA2D,CAAA;AAMlE,OAAO,EACL,WAAW,EACX,UAAU,EAKX,MAAM,wCAAwC,CAAA;AAK/C,OAAO,EAGL,OAAO,EAER,MAAM,sBAAsB,CAAA;;AAI7B,qBAkBa,qBAAqB;IA0B9B,OAAO,CAAC,OAAO;IACf,OAAO,CAAC,gBAAgB;IACxB,OAAO,CAAC,GAAG;IACX,OAAO,CAAC,WAAW;IA5BZ,OAAO,EAAE,aAAa,EAAE,CAAK;IAC7B,0BAA0B,EAAE,MAAM,EAAE,CAAK;IACzC,SAAS,EAAE,WAAW,CAAO;IAC7B,QAAQ,EAAE,CAAC,MAAM,EAAE,aAAa,KAAK,OAAO,CAAc;IAC1D,YAAY,EAAE,CAAC,MAAM,EAAE,aAAa,KAAK,OAAO,CAAa;IAC7D,SAAS,EAAE,CAAC,MAAM,EAAE,aAAa,KAAK,OAAO,CAAa;IAC1D,WAAW,UAAQ;IACnB,aAAa,UAAQ;IAGpB,YAAY,yCAA+C;IAC3D,WAAW,8BAAoC;IAC/C,eAAe,8BAAoC;IACnD,YAAY,8BAAoC;IAChD,qBAAqB,2CAE5B;IAGH,iBAAiB,EAAG,SAAS,CAAC,UAAU,CAAC,CAAA;IACzC,OAAO,CAAC,UAAU,CAAa;IAE/B,gBAAgB,UAAQ;gBAGd,OAAO,EAAE,OAAO,EAChB,gBAAgB,EAAE,gBAAgB,EAClC,GAAG,EAAE,iBAAiB,EACtB,WAAW,EAAE,WAAW;IAGlC,cAAc,CAAC,IAAI,KAAA,EAAE,QAAQ,KAAA;IAyC7B,eAAe;IAQf,YAAY,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM;IAShC,gBAAgB,CAAC,MAAM,EAAE,aAAa,GAAG,UAAU,EAAE;IAerD,cAAc,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,GAAG,MAAM;IAIlD,aAAa,CAAC,MAAM,EAAE,UAAU,GAAG,MAAM;IAIzC,iBAAiB,CAAC,IAAI,EAAE,aAAa;IAKrC,eAAe,CAAC,IAAI,EAAE,OAAO;IAI7B,YAAY,CAAC,IAAI,EAAE,OAAO;IAK1B,SAAS,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,GAAG,MAAM;IAI5C,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,KAAK,GAAG,IAAI;IAe9C,SAAS,CAAC,MAAM,EAAE,aAAa,GAAG,OAAO;IAIzC,0BAA0B,CAAC,QAAQ,EAAE,OAAO,EAAE,MAAM,EAAE,aAAa;yCAtJxD,qBAAqB;2CAArB,qBAAqB;CAyJjC"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export * from './lib/data-fetcher';
|
|
2
|
-
export { SupportedType, SupportedTypes, DataItem, FetchError, FieldAggregation, } from './lib/model';
|
|
2
|
+
export { SupportedType, SupportedTypes, DataItem, FetchError, FieldAggregation, PropertyInfo, } from './lib/model';
|
|
3
3
|
export { getJsonDataItemsProxy } from './lib/utils';
|
|
4
4
|
export { BaseReader } from './lib/readers/base';
|
|
5
|
+
export { BaseFileReader } from './lib/readers/base-file';
|
|
6
|
+
export { GeojsonReader } from './lib/readers/geojson';
|
|
5
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/util/data-fetcher/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA;AAClC,OAAO,EACL,aAAa,EACb,cAAc,EACd,QAAQ,EACR,UAAU,EACV,gBAAgB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/util/data-fetcher/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA;AAClC,OAAO,EACL,aAAa,EACb,cAAc,EACd,QAAQ,EACR,UAAU,EACV,gBAAgB,EAChB,YAAY,GACb,MAAM,aAAa,CAAA;AACpB,OAAO,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAA;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAC/C,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAA;AACxD,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAA"}
|
|
@@ -2,8 +2,9 @@ import { DataItem, DatasetHeaders, SupportedType } from './model';
|
|
|
2
2
|
import { BaseReader } from './readers/base';
|
|
3
3
|
import { WfsVersion } from '@camptocamp/ogc-client';
|
|
4
4
|
export declare function openDataset(url: string, typeHint?: SupportedType, options?: {
|
|
5
|
-
namespace
|
|
6
|
-
wfsVersion
|
|
5
|
+
namespace?: string;
|
|
6
|
+
wfsVersion?: WfsVersion;
|
|
7
|
+
wfsFeatureType?: string;
|
|
7
8
|
}): Promise<BaseReader>;
|
|
8
9
|
/**
|
|
9
10
|
* This fetches the full dataset at the given URL and parses it according to its mime type.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-fetcher.d.ts","sourceRoot":"","sources":["../../../../../src/libs/util/data-fetcher/src/lib/data-fetcher.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAc,aAAa,EAAE,MAAM,SAAS,CAAA;AAE7E,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAA;AAE3C,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAA;
|
|
1
|
+
{"version":3,"file":"data-fetcher.d.ts","sourceRoot":"","sources":["../../../../../src/libs/util/data-fetcher/src/lib/data-fetcher.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAc,aAAa,EAAE,MAAM,SAAS,CAAA;AAE7E,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAA;AAE3C,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAA;AAGnD,wBAAsB,WAAW,CAC/B,GAAG,EAAE,MAAM,EACX,QAAQ,CAAC,EAAE,aAAa,EACxB,OAAO,CAAC,EAAE;IACR,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,UAAU,CAAC,EAAE,UAAU,CAAA;IACvB,cAAc,CAAC,EAAE,MAAM,CAAA;CACxB,GACA,OAAO,CAAC,UAAU,CAAC,CA6BrB;AAED;;;;;;;;GAQG;AACH,wBAAsB,WAAW,CAC/B,GAAG,EAAE,MAAM,EACX,QAAQ,CAAC,EAAE,aAAa,EACxB,OAAO,CAAC,EAAE,GAAG,GACZ,OAAO,CAAC,QAAQ,EAAE,CAAC,CAOrB;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,cAAc,CAAC,CAEvE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"headers.d.ts","sourceRoot":"","sources":["../../../../../src/libs/util/data-fetcher/src/lib/headers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,cAAc,EAAkB,MAAM,SAAS,CAAA;AAEtE,wBAAgB,YAAY,CAAC,WAAW,EAAE,OAAO,GAAG,cAAc,
|
|
1
|
+
{"version":3,"file":"headers.d.ts","sourceRoot":"","sources":["../../../../../src/libs/util/data-fetcher/src/lib/headers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,cAAc,EAAkB,MAAM,SAAS,CAAA;AAEtE,wBAAgB,YAAY,CAAC,WAAW,EAAE,OAAO,GAAG,cAAc,CAoBjE"}
|
|
@@ -7,7 +7,7 @@ export declare class FetchError {
|
|
|
7
7
|
message: string;
|
|
8
8
|
stack: any;
|
|
9
9
|
constructor(type: 'http' | 'network' | 'parse' | 'unsupportedType' | 'unknown', info: string, httpStatus?: number);
|
|
10
|
-
static http(code: number): FetchError;
|
|
10
|
+
static http(code: number, body?: string): FetchError;
|
|
11
11
|
static corsOrNetwork(message: string): FetchError;
|
|
12
12
|
static parsingFailed(info: string): FetchError;
|
|
13
13
|
static unsupportedType(mimeType: string): FetchError;
|
|
@@ -19,7 +19,7 @@ export declare const GeoJsonMimeTypes: readonly ["application/geo+json", "applic
|
|
|
19
19
|
export declare const ExcelMimeTypes: readonly ["application/vnd.ms-excel", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"];
|
|
20
20
|
export declare const GmlMimeTypes: readonly ["application/gml+xml"];
|
|
21
21
|
export type SupportedMimeType = (typeof CsvMimeTypes)[number] | (typeof JsonMimeTypes)[number] | (typeof GeoJsonMimeTypes)[number] | (typeof ExcelMimeTypes)[number] | (typeof GmlMimeTypes)[number];
|
|
22
|
-
export declare const SupportedTypes: readonly ["csv", "json", "geojson", "excel", "gml"];
|
|
22
|
+
export declare const SupportedTypes: readonly ["csv", "json", "geojson", "excel", "gml", "wfs"];
|
|
23
23
|
export type SupportedType = (typeof SupportedTypes)[number];
|
|
24
24
|
export declare const AllMimeTypes: {
|
|
25
25
|
csv: readonly ["text/csv", "application/csv"];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model.d.ts","sourceRoot":"","sources":["../../../../../src/libs/util/data-fetcher/src/lib/model.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AAEtC,MAAM,MAAM,QAAQ,GAAG,OAAO,CAAA;AAE9B,qBAAa,UAAU;IAKZ,IAAI,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,GAAG,iBAAiB,GAAG,SAAS;IAClE,IAAI,EAAE,MAAM;IACZ,UAAU;IANnB,OAAO,EAAE,MAAM,CAAA;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C,KAAK,CAAC,CAAA;AAC3B,KAAK,iBAAiB,GAAG,CAAC,UAAU,EAAE,SAAS,CAAC,CAAA;AAChD,KAAK,qBAAqB,GAAG,CAAC,cAAc,EAAE,SAAS,EAAE,MAAM,CAAC,CAAA;AAChE,MAAM,MAAM,YAAY,GACpB,YAAY,GACZ,iBAAiB,GACjB,qBAAqB,CAAA;AAEzB,MAAM,MAAM,SAAS,GAAG,CAAC,MAAM,GAAG,KAAK,EAAE,SAAS,CAAC,CAAA;AAEnD,KAAK,kBAAkB,GAAG,GAAG,GAAG,GAAG,GAAG,IAAI,GAAG,IAAI,GAAG,GAAG,GAAG,IAAI,CAAA;AAC9D,KAAK,UAAU,GAAG,CAAC,kBAAkB,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,CAAC,CAAA;AAClE,KAAK,YAAY,GAAG,CAAC,KAAK,EAAE,GAAG,WAAW,EAAE,CAAC,CAAA;AAC7C,KAAK,WAAW,GAAG,CAAC,IAAI,EAAE,GAAG,WAAW,EAAE,CAAC,CAAA;AAC3C,KAAK,YAAY,GAAG,CAAC,KAAK,EAAE,WAAW,CAAC,CAAA;AACxC,KAAK,WAAW,GAAG,CAAC,IAAI,EAAE,SAAS,EAAE,GAAG,CAAC,MAAM,EAAE,GAAG,MAAM,EAAE,CAAC,CAAC,CAAA;AAC9D,KAAK,aAAa,GAAG,CAAC,MAAM,EAAE,SAAS,EAAE,MAAM,CAAC,CAAA;AAChD,MAAM,MAAM,WAAW,GACnB,UAAU,GACV,YAAY,GACZ,WAAW,GACX,YAAY,GACZ,WAAW,GACX,aAAa,CAAA"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { WfsEndpoint, WfsVersion } from '@camptocamp/ogc-client';
|
|
2
|
+
import { DataItem, DatasetInfo, PropertyInfo } from '../model';
|
|
3
|
+
import { BaseReader } from './base';
|
|
4
|
+
import { GmlReader } from './gml';
|
|
5
|
+
import { GeojsonReader } from './geojson';
|
|
6
|
+
export declare class WfsReader extends BaseReader {
|
|
7
|
+
endpoint: WfsEndpoint;
|
|
8
|
+
featureTypeName: string;
|
|
9
|
+
version: WfsVersion;
|
|
10
|
+
constructor(url: string, wfsEndpoint: WfsEndpoint, featureTypeName: string);
|
|
11
|
+
get properties(): Promise<PropertyInfo[]>;
|
|
12
|
+
get info(): Promise<DatasetInfo>;
|
|
13
|
+
static createReader(wfsUrlEndpoint: string, featureTypeName?: string): Promise<GeojsonReader | GmlReader | WfsReader>;
|
|
14
|
+
protected getData(): Promise<{
|
|
15
|
+
items: DataItem[];
|
|
16
|
+
properties: PropertyInfo[];
|
|
17
|
+
}>;
|
|
18
|
+
load(): void;
|
|
19
|
+
read(): Promise<DataItem[]>;
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=wfs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wfs.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/util/data-fetcher/src/lib/readers/wfs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAA;AAChE,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AAE9D,OAAO,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAA;AACnC,OAAO,EAAE,SAAS,EAAY,MAAM,OAAO,CAAA;AAC3C,OAAO,EAAE,aAAa,EAAgB,MAAM,WAAW,CAAA;AAGvD,qBAAa,SAAU,SAAQ,UAAU;IACvC,QAAQ,EAAE,WAAW,CAAA;IACrB,eAAe,EAAE,MAAM,CAAA;IACvB,OAAO,EAAE,UAAU,CAAA;gBAEP,GAAG,EAAE,MAAM,EAAE,WAAW,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM;IAO1E,IAAI,UAAU,IAAI,OAAO,CAAC,YAAY,EAAE,CAAC,CAiBxC;IAED,IAAI,IAAI,IAAI,OAAO,CAAC,WAAW,CAAC,CAO/B;WAEY,YAAY,CAAC,cAAc,EAAE,MAAM,EAAE,eAAe,CAAC,EAAE,MAAM;IA4C1E,SAAS,CAAC,OAAO;;;;IAkCjB,IAAI;IAIE,IAAI,IAAI,OAAO,CAAC,QAAQ,EAAE,CAAC;CAGlC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class DateService {
|
|
4
|
+
private translateService;
|
|
5
|
+
constructor(translateService: TranslateService);
|
|
6
|
+
private getDateObject;
|
|
7
|
+
private getLocaleAndDate;
|
|
8
|
+
formatDate(date: Date | string, options?: Intl.DateTimeFormatOptions): string;
|
|
9
|
+
formatDateTime(date: Date | string, options?: Intl.DateTimeFormatOptions): string;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DateService, never>;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DateService>;
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=date.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"date.service.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/util/shared/src/lib/services/date.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;;AAEtD,qBAGa,WAAW;IACV,OAAO,CAAC,gBAAgB;gBAAhB,gBAAgB,EAAE,gBAAgB;IAEtD,OAAO,CAAC,aAAa;IAWrB,OAAO,CAAC,gBAAgB;IASxB,UAAU,CACR,IAAI,EAAE,IAAI,GAAG,MAAM,EACnB,OAAO,CAAC,EAAE,IAAI,CAAC,qBAAqB,GACnC,MAAM;IAKT,cAAc,CACZ,IAAI,EAAE,IAAI,GAAG,MAAM,EACnB,OAAO,CAAC,EAAE,IAAI,CAAC,qBAAqB,GACnC,MAAM;yCAlCE,WAAW;6CAAX,WAAW;CAsCvB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/util/shared/src/lib/services/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA;AAC/B,cAAc,eAAe,CAAA;AAC7B,cAAc,iBAAiB,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/util/shared/src/lib/services/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA;AAC/B,cAAc,eAAe,CAAA;AAC7B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,gBAAgB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"temporal-extent-union.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/util/shared/src/lib/utils/temporal-extent-union.ts"],"names":[],"mappings":"AAAA,wBAAgB,qBAAqB,CACnC,MAAM,EAAE;IACN,KAAK,CAAC,EAAE,IAAI,CAAA;IACZ,GAAG,CAAC,EAAE,IAAI,CAAA;CACX,EAAE;;;
|
|
1
|
+
{"version":3,"file":"temporal-extent-union.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/util/shared/src/lib/utils/temporal-extent-union.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAEzC,wBAAgB,qBAAqB,CACnC,MAAM,EAAE;IACN,KAAK,CAAC,EAAE,IAAI,CAAA;IACZ,GAAG,CAAC,EAAE,IAAI,CAAA;CACX,EAAE,EACH,WAAW,EAAE,WAAW;;;EAgCzB"}
|
package/package.json
CHANGED
|
@@ -506,6 +506,7 @@ export const GEOCAT_CH_DATASET_RECORD: DatasetRecord = {
|
|
|
506
506
|
),
|
|
507
507
|
accessServiceProtocol: 'esriRest',
|
|
508
508
|
description: 'RESTful API von geo.admin.ch',
|
|
509
|
+
identifierInService: 'RESTful API von geo.admin.ch',
|
|
509
510
|
name: 'RESTful API von geo.admin.ch',
|
|
510
511
|
translations: {
|
|
511
512
|
description: {
|
|
@@ -478,12 +478,11 @@ export function extractDatasetOnlineResources(
|
|
|
478
478
|
...descriptionTranslations,
|
|
479
479
|
}
|
|
480
480
|
if (isService) {
|
|
481
|
-
const hasIdentifier = protocol === 'wms' || protocol === 'wfs'
|
|
482
481
|
return {
|
|
483
482
|
type: 'service',
|
|
484
483
|
url: url,
|
|
485
484
|
accessServiceProtocol: protocol,
|
|
486
|
-
...(name &&
|
|
485
|
+
...(name && { identifierInService: name }), // should we keep the identifierInService? read-write duplicate with name
|
|
487
486
|
...(name && { name }),
|
|
488
487
|
...(description && { description }),
|
|
489
488
|
translations,
|
|
@@ -242,6 +242,8 @@ export function getServiceDistributionProtocol(
|
|
|
242
242
|
distribution: DatasetServiceDistribution
|
|
243
243
|
): string {
|
|
244
244
|
switch (distribution.accessServiceProtocol.toLowerCase()) {
|
|
245
|
+
case 'ogcfeatures':
|
|
246
|
+
return 'OGC API Features'
|
|
245
247
|
case 'wfs':
|
|
246
248
|
return 'OGC:WFS'
|
|
247
249
|
case 'wms':
|
|
@@ -755,6 +757,7 @@ export function appendOnlineResource(
|
|
|
755
757
|
let functionCode: string
|
|
756
758
|
let protocol: string
|
|
757
759
|
if (onlineResource.type === 'service') {
|
|
760
|
+
// should we keep the identifierInService? read-write duplicate with name
|
|
758
761
|
name = onlineResource.identifierInService // this is for GeoNetwork to know the layer name
|
|
759
762
|
functionCode = 'download'
|
|
760
763
|
protocol = getServiceDistributionProtocol(onlineResource)
|
|
@@ -28,6 +28,7 @@ import {
|
|
|
28
28
|
} from '../../../../../../../libs/api/metadata-converter/src'
|
|
29
29
|
import { LangService } from '../../../../../../../libs/util/i18n/src'
|
|
30
30
|
import { formatDate, isDateRange } from './date-range.utils'
|
|
31
|
+
import { CatalogRecord } from '../../../../../../../libs/common/domain/src/lib/model/record'
|
|
31
32
|
|
|
32
33
|
export type DateRange = { start?: Date; end?: Date }
|
|
33
34
|
|
|
@@ -50,7 +51,7 @@ export class ElasticsearchService {
|
|
|
50
51
|
size = 0,
|
|
51
52
|
from = 0,
|
|
52
53
|
sortBy: SortByField = null,
|
|
53
|
-
requestFields: RequestFields =
|
|
54
|
+
requestFields: RequestFields = null,
|
|
54
55
|
searchFilters: SearchFilters = {},
|
|
55
56
|
configFilters: SearchFilters = {},
|
|
56
57
|
uuids?: string[],
|
|
@@ -68,7 +69,7 @@ export class ElasticsearchService {
|
|
|
68
69
|
geometry
|
|
69
70
|
),
|
|
70
71
|
...(size > 0 ? { track_total_hits: true } : {}),
|
|
71
|
-
_source: requestFields,
|
|
72
|
+
...(requestFields && { _source: requestFields }),
|
|
72
73
|
}
|
|
73
74
|
this.processRuntimeFields(payload)
|
|
74
75
|
return payload
|
|
@@ -134,8 +135,7 @@ export class ElasticsearchService {
|
|
|
134
135
|
}
|
|
135
136
|
|
|
136
137
|
getRelatedRecordPayload(
|
|
137
|
-
|
|
138
|
-
uuid: string,
|
|
138
|
+
record: CatalogRecord,
|
|
139
139
|
size = 6,
|
|
140
140
|
_source = [...ES_SOURCE_SUMMARY, 'allKeywords', 'createDate']
|
|
141
141
|
): EsSearchParams {
|
|
@@ -148,9 +148,23 @@ export class ElasticsearchService {
|
|
|
148
148
|
fields: [
|
|
149
149
|
'resourceTitleObject.default',
|
|
150
150
|
'resourceAbstractObject.default',
|
|
151
|
-
'
|
|
151
|
+
'allKeywords',
|
|
152
|
+
],
|
|
153
|
+
like: [
|
|
154
|
+
{
|
|
155
|
+
doc: {
|
|
156
|
+
resourceTitleObject: {
|
|
157
|
+
default: record.title,
|
|
158
|
+
},
|
|
159
|
+
resourceAbstractObject: {
|
|
160
|
+
default: record.abstract,
|
|
161
|
+
},
|
|
162
|
+
allKeywords: record.keywords.map(
|
|
163
|
+
(keyword) => keyword.label
|
|
164
|
+
),
|
|
165
|
+
},
|
|
166
|
+
},
|
|
152
167
|
],
|
|
153
|
-
like: title,
|
|
154
168
|
min_term_freq: 1,
|
|
155
169
|
max_query_terms: 12,
|
|
156
170
|
},
|
|
@@ -166,7 +180,7 @@ export class ElasticsearchService {
|
|
|
166
180
|
},
|
|
167
181
|
},
|
|
168
182
|
],
|
|
169
|
-
must_not: [{ wildcard: { uuid:
|
|
183
|
+
must_not: [{ wildcard: { uuid: record.uniqueIdentifier } }],
|
|
170
184
|
},
|
|
171
185
|
},
|
|
172
186
|
size,
|
|
@@ -220,6 +234,7 @@ export class ElasticsearchService {
|
|
|
220
234
|
private filtersToQuery(
|
|
221
235
|
filters: FieldFilters | FiltersAggregationParams | string
|
|
222
236
|
): FilterQuery {
|
|
237
|
+
const addQuote = (key: string) => (/^\/.+\/$/.test(key) ? key : `"${key}"`)
|
|
223
238
|
const makeQuery = (filter: FieldFilter): string => {
|
|
224
239
|
if (typeof filter === 'string') {
|
|
225
240
|
return filter
|
|
@@ -227,9 +242,9 @@ export class ElasticsearchService {
|
|
|
227
242
|
return Object.keys(filter)
|
|
228
243
|
.map((key) => {
|
|
229
244
|
if (filter[key] === true) {
|
|
230
|
-
return
|
|
245
|
+
return addQuote(key)
|
|
231
246
|
}
|
|
232
|
-
return
|
|
247
|
+
return `-${addQuote(key)}`
|
|
233
248
|
})
|
|
234
249
|
.join(' OR ')
|
|
235
250
|
}
|
|
@@ -518,13 +533,15 @@ export class ElasticsearchService {
|
|
|
518
533
|
switch (aggregation.type) {
|
|
519
534
|
case 'filters':
|
|
520
535
|
return {
|
|
521
|
-
filters:
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
536
|
+
filters: {
|
|
537
|
+
filters: Object.keys(aggregation.filters).reduce((prev, curr) => {
|
|
538
|
+
const filter = aggregation.filters[curr]
|
|
539
|
+
return {
|
|
540
|
+
...prev,
|
|
541
|
+
[curr]: this.filtersToQuery(filter)[0],
|
|
542
|
+
}
|
|
543
|
+
}, {}),
|
|
544
|
+
},
|
|
528
545
|
}
|
|
529
546
|
case 'terms':
|
|
530
547
|
return {
|
|
@@ -143,11 +143,7 @@ export class Gn4Repository implements RecordsRepositoryInterface {
|
|
|
143
143
|
'bucket',
|
|
144
144
|
null,
|
|
145
145
|
JSON.stringify(
|
|
146
|
-
this.gn4SearchHelper.getRelatedRecordPayload(
|
|
147
|
-
similarTo.title,
|
|
148
|
-
similarTo.uniqueIdentifier,
|
|
149
|
-
3
|
|
150
|
-
)
|
|
146
|
+
this.gn4SearchHelper.getRelatedRecordPayload(similarTo, 3)
|
|
151
147
|
)
|
|
152
148
|
)
|
|
153
149
|
.pipe(
|
|
@@ -160,7 +160,7 @@ export interface DatasetServiceDistribution {
|
|
|
160
160
|
type: 'service'
|
|
161
161
|
url: URL
|
|
162
162
|
accessServiceProtocol: ServiceProtocol
|
|
163
|
-
identifierInService?: string
|
|
163
|
+
identifierInService?: string // should we keep the identifierInService? read-write duplicate with name
|
|
164
164
|
name?: string
|
|
165
165
|
description?: string
|
|
166
166
|
translations?: OnlineResourceTranslations
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
<div class="flex flex-row h-full overflow-auto">
|
|
2
|
-
<gn-ui-table
|
|
2
|
+
<gn-ui-data-table
|
|
3
3
|
#table
|
|
4
4
|
class="w-1/2 overflow-auto"
|
|
5
|
-
[
|
|
5
|
+
[dataset]="dataset"
|
|
6
6
|
[activeId]="selectionId"
|
|
7
7
|
(selected)="onTableSelect($event)"
|
|
8
|
-
></gn-ui-table>
|
|
8
|
+
></gn-ui-data-table>
|
|
9
9
|
<gn-ui-map-container
|
|
10
10
|
#mapContainer
|
|
11
11
|
class="w-1/2 h-full"
|