geonetwork-ui 2.4.0-dev.656babc7 → 2.4.0-dev.6c8dcba0
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/gn4/types/index.mjs +1 -2
- package/esm2022/libs/api/metadata-converter/src/lib/iso19139/read-parts.mjs +1 -1
- package/esm2022/libs/api/metadata-converter/src/lib/iso19139/utils/keyword.mapper.mjs +1 -1
- package/esm2022/libs/api/metadata-converter/src/lib/iso19139/write-parts.mjs +1 -1
- package/esm2022/libs/api/repository/src/lib/gn4/platform/gn4-platform.mapper.mjs +3 -11
- package/esm2022/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.mjs +14 -34
- package/esm2022/libs/common/domain/src/lib/model/record/metadata.model.mjs +1 -1
- package/esm2022/libs/common/domain/src/lib/model/thesaurus/thesaurus.model.mjs +1 -1
- package/esm2022/libs/common/domain/src/lib/platform.service.interface.mjs +1 -1
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.mjs +3 -8
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/index.mjs +1 -2
- package/esm2022/libs/feature/editor/src/lib/feature-editor.module.mjs +3 -4
- package/esm2022/libs/feature/editor/src/lib/fields.config.mjs +1 -8
- package/esm2022/libs/feature/search/src/lib/results-table/results-table.component.mjs +6 -6
- package/esm2022/libs/ui/elements/src/lib/metadata-info/metadata-info.component.mjs +4 -4
- package/esm2022/libs/ui/elements/src/lib/ui-elements.module.mjs +3 -3
- package/esm2022/libs/ui/inputs/src/index.mjs +1 -2
- package/esm2022/libs/ui/inputs/src/lib/ui-inputs.module.mjs +4 -10
- package/esm2022/libs/ui/widgets/src/index.mjs +2 -1
- package/esm2022/libs/ui/widgets/src/lib/badge/badge.component.mjs +18 -0
- package/fesm2022/geonetwork-ui.mjs +37 -163
- package/fesm2022/geonetwork-ui.mjs.map +1 -1
- package/libs/api/metadata-converter/src/lib/gn4/types/index.d.ts +0 -1
- package/libs/api/metadata-converter/src/lib/gn4/types/index.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/iso19139/read-parts.d.ts +2 -3
- package/libs/api/metadata-converter/src/lib/iso19139/read-parts.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/iso19139/utils/keyword.mapper.d.ts +1 -1
- package/libs/api/metadata-converter/src/lib/iso19139/utils/keyword.mapper.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/iso19139/write-parts.d.ts +2 -3
- package/libs/api/metadata-converter/src/lib/iso19139/write-parts.d.ts.map +1 -1
- package/libs/api/repository/src/lib/gn4/platform/gn4-platform.mapper.d.ts +3 -3
- package/libs/api/repository/src/lib/gn4/platform/gn4-platform.mapper.d.ts.map +1 -1
- package/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.d.ts +5 -8
- package/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.d.ts.map +1 -1
- package/libs/common/domain/src/lib/model/record/metadata.model.d.ts +7 -4
- package/libs/common/domain/src/lib/model/record/metadata.model.d.ts.map +1 -1
- package/libs/common/domain/src/lib/model/thesaurus/thesaurus.model.d.ts +5 -12
- package/libs/common/domain/src/lib/model/thesaurus/thesaurus.model.d.ts.map +1 -1
- package/libs/common/domain/src/lib/platform.service.interface.d.ts +3 -3
- package/libs/common/domain/src/lib/platform.service.interface.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.d.ts +0 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/index.d.ts +0 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/index.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/feature-editor.module.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/fields.config.d.ts.map +1 -1
- package/libs/feature/search/src/lib/results-table/results-table.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/ui-elements.module.d.ts +1 -1
- package/libs/ui/inputs/src/index.d.ts +0 -1
- package/libs/ui/inputs/src/index.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts +1 -2
- package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts.map +1 -1
- package/libs/ui/widgets/src/index.d.ts +1 -0
- package/libs/ui/widgets/src/index.d.ts.map +1 -1
- package/libs/ui/widgets/src/lib/badge/badge.component.d.ts +7 -0
- package/libs/ui/widgets/src/lib/badge/badge.component.d.ts.map +1 -0
- package/package.json +1 -1
- package/src/libs/api/metadata-converter/src/lib/gn4/types/index.ts +0 -1
- package/src/libs/api/metadata-converter/src/lib/iso19139/read-parts.ts +2 -2
- package/src/libs/api/metadata-converter/src/lib/iso19139/utils/keyword.mapper.ts +1 -1
- package/src/libs/api/metadata-converter/src/lib/iso19139/write-parts.ts +2 -2
- package/src/libs/api/repository/src/lib/gn4/platform/gn4-platform.mapper.ts +3 -24
- package/src/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.ts +21 -70
- package/src/libs/common/domain/src/lib/model/record/metadata.model.ts +9 -4
- package/src/libs/common/domain/src/lib/model/thesaurus/thesaurus.model.ts +6 -13
- package/src/libs/common/domain/src/lib/platform.service.interface.ts +3 -3
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.html +0 -5
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.ts +0 -5
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/index.ts +1 -1
- package/src/libs/feature/editor/src/lib/feature-editor.module.ts +1 -2
- package/src/libs/feature/editor/src/lib/fields.config.ts +0 -7
- package/src/libs/feature/search/src/lib/results-table/results-table.component.ts +2 -1
- package/src/libs/ui/elements/src/lib/ui-elements.module.ts +2 -2
- package/src/libs/ui/inputs/src/index.ts +0 -1
- package/src/libs/ui/inputs/src/lib/ui-inputs.module.ts +0 -3
- package/src/libs/ui/widgets/src/index.ts +1 -0
- package/src/libs/ui/widgets/src/lib/badge/badge.component.html +10 -0
- package/src/libs/ui/widgets/src/lib/badge/badge.component.ts +14 -0
- package/esm2022/libs/api/metadata-converter/src/lib/gn4/types/keywords.model.mjs +0 -2
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.mjs +0 -87
- package/esm2022/libs/ui/inputs/src/lib/badge/badge.component.mjs +0 -28
- package/libs/api/metadata-converter/src/lib/gn4/types/keywords.model.d.ts +0 -31
- package/libs/api/metadata-converter/src/lib/gn4/types/keywords.model.d.ts.map +0 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.d.ts +0 -35
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.d.ts.map +0 -1
- package/libs/ui/inputs/src/lib/badge/badge.component.d.ts +0 -11
- package/libs/ui/inputs/src/lib/badge/badge.component.d.ts.map +0 -1
- package/src/libs/api/metadata-converter/src/lib/gn4/types/keywords.model.ts +0 -31
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.css +0 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.html +0 -20
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.ts +0 -119
- package/src/libs/ui/inputs/src/lib/badge/badge.component.html +0 -18
- package/src/libs/ui/inputs/src/lib/badge/badge.component.ts +0 -27
- /package/src/libs/ui/{inputs → widgets}/src/lib/badge/badge.component.css +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/api/metadata-converter/src/lib/gn4/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAA;AACrC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,kBAAkB,CAAA
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/api/metadata-converter/src/lib/gn4/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAA;AACrC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,kBAAkB,CAAA"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { Constraint, DatasetDistribution, GraphicOverview, Individual, Keyword, Organization, RecordKind, RecordStatus, Role, ServiceOnlineResource, SpatialRepresentationType, UpdateFrequency, UpdateFrequencyCustom } from '../../../../../../libs/common/domain/src/lib/model/record';
|
|
1
|
+
import { Constraint, DatasetDistribution, GraphicOverview, Individual, Keyword, KeywordThesaurus, Organization, RecordKind, RecordStatus, Role, ServiceOnlineResource, SpatialRepresentationType, UpdateFrequency, UpdateFrequencyCustom } from '../../../../../../libs/common/domain/src/lib/model/record';
|
|
2
2
|
import { ChainableFunction } from '../function-utils';
|
|
3
3
|
import { XmlElement } from '../xml-utils';
|
|
4
|
-
import { ThesaurusModel } from '../../../../../../libs/common/domain/src/lib/model/thesaurus';
|
|
5
4
|
export declare function extractCharacterString(): ChainableFunction<XmlElement, string>;
|
|
6
5
|
export declare function extractDateTime(): ChainableFunction<XmlElement, Date>;
|
|
7
6
|
export declare function extractUrl(): ChainableFunction<XmlElement, URL>;
|
|
@@ -40,7 +39,7 @@ export declare function readTitle(rootEl: XmlElement): string;
|
|
|
40
39
|
export declare function readAbstract(rootEl: XmlElement): string;
|
|
41
40
|
export declare function readContacts(rootEl: XmlElement): Individual[];
|
|
42
41
|
export declare function readContactsForResource(rootEl: XmlElement): Individual[];
|
|
43
|
-
export declare function readThesaurus(rootEl: XmlElement):
|
|
42
|
+
export declare function readThesaurus(rootEl: XmlElement): KeywordThesaurus;
|
|
44
43
|
export declare function readKeywordGroup(rootEl: XmlElement): Keyword[];
|
|
45
44
|
export declare function readKeywords(rootEl: XmlElement): Keyword[];
|
|
46
45
|
export declare function readStatus(rootEl: XmlElement): RecordStatus;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"read-parts.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/api/metadata-converter/src/lib/iso19139/read-parts.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EACV,mBAAmB,EACnB,eAAe,EACf,UAAU,EACV,OAAO,EACP,YAAY,EACZ,UAAU,EACV,YAAY,EACZ,IAAI,EACJ,qBAAqB,EACrB,yBAAyB,EACzB,eAAe,EACf,qBAAqB,EACtB,MAAM,2DAA2D,CAAA;AAElE,OAAO,EACL,iBAAiB,EASlB,MAAM,mBAAmB,CAAA;AAC1B,OAAO,EACL,UAAU,EAQX,MAAM,cAAc,CAAA;
|
|
1
|
+
{"version":3,"file":"read-parts.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/api/metadata-converter/src/lib/iso19139/read-parts.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EACV,mBAAmB,EACnB,eAAe,EACf,UAAU,EACV,OAAO,EACP,gBAAgB,EAChB,YAAY,EACZ,UAAU,EACV,YAAY,EACZ,IAAI,EACJ,qBAAqB,EACrB,yBAAyB,EACzB,eAAe,EACf,qBAAqB,EACtB,MAAM,2DAA2D,CAAA;AAElE,OAAO,EACL,iBAAiB,EASlB,MAAM,mBAAmB,CAAA;AAC1B,OAAO,EACL,UAAU,EAQX,MAAM,cAAc,CAAA;AAOrB,wBAAgB,sBAAsB,IAAI,iBAAiB,CACzD,UAAU,EACV,MAAM,CACP,CAQA;AAED,wBAAgB,eAAe,IAAI,iBAAiB,CAAC,UAAU,EAAE,IAAI,CAAC,CASrE;AAED,wBAAgB,UAAU,IAAI,iBAAiB,CAAC,UAAU,EAAE,GAAG,CAAC,CAoB/D;AAED,wBAAgB,mBAAmB,uCAElC;AAGD,wBAAgB,WAAW,IAAI,iBAAiB,CAAC,UAAU,EAAE,IAAI,CAAC,CAMjE;AAGD,wBAAgB,mBAAmB,IAAI,iBAAiB,CACtD,UAAU,EACV,YAAY,CACb,CAyBA;AAGD,wBAAgB,iBAAiB,IAAI,iBAAiB,CAAC,UAAU,EAAE,UAAU,CAAC,CAwE7E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UAAU,GAAG,MAAM,CAWtD;AAED,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,UAAU,GAAG,mBAAmB,EAAE,CAM3E;AAED,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,UAAU,GAAG,eAAe,CAUvE;AAED,wBAAgB,6BAA6B,IAAI,iBAAiB,CAChE,UAAU,EACV,qBAAqB,EAAE,CACxB,CA8CA;AAED,wBAAgB,mBAAmB,CACjC,MAAM,EAAE,UAAU,GACjB,qBAAqB,EAAE,CAMzB;AAED,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,UAAU;;IAkDrD"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { KeywordType } from '../../../../../../../libs/common/domain/src/lib/model/
|
|
1
|
+
import { KeywordType } from '../../../../../../../libs/common/domain/src/lib/model/record';
|
|
2
2
|
export declare function getKeywordTypeFromKeywordTypeCode(typeCode: string): KeywordType;
|
|
3
3
|
//# sourceMappingURL=keyword.mapper.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"keyword.mapper.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/api/metadata-converter/src/lib/iso19139/utils/keyword.mapper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"keyword.mapper.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/api/metadata-converter/src/lib/iso19139/utils/keyword.mapper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,8DAA8D,CAAA;AAE1F,wBAAgB,iCAAiC,CAC/C,QAAQ,EAAE,MAAM,GACf,WAAW,CAWb"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { CatalogRecord, Constraint, DatasetDistribution, DatasetRecord, DatasetServiceDistribution, Individual, Keyword, RecordStatus, Role, ServiceEndpoint, ServiceOnlineResource, ServiceRecord, UpdateFrequencyCode, UpdateFrequencyCustom } from '../../../../../../libs/common/domain/src/lib/model/record';
|
|
1
|
+
import { CatalogRecord, Constraint, DatasetDistribution, DatasetRecord, DatasetServiceDistribution, Individual, Keyword, KeywordThesaurus, RecordStatus, Role, ServiceEndpoint, ServiceOnlineResource, ServiceRecord, UpdateFrequencyCode, UpdateFrequencyCustom } from '../../../../../../libs/common/domain/src/lib/model/record';
|
|
2
2
|
import { ChainableFunction } from '../function-utils';
|
|
3
3
|
import { XmlElement } from '../xml-utils';
|
|
4
|
-
import { ThesaurusModel } from '../../../../../../libs/common/domain/src/lib/model/thesaurus';
|
|
5
4
|
export declare function writeCharacterString(text: string): ChainableFunction<XmlElement, XmlElement>;
|
|
6
5
|
export declare function writeLinkage(url: URL): ChainableFunction<XmlElement, XmlElement>;
|
|
7
6
|
export declare function writeAnchor(url: URL, text?: string): ChainableFunction<XmlElement, XmlElement>;
|
|
@@ -16,7 +15,7 @@ export declare function appendResponsibleParty(contact: Individual): ChainableFu
|
|
|
16
15
|
export declare function updateCitationDate(date: Date, type: 'revision' | 'creation' | 'publication'): ChainableFunction<XmlElement, XmlElement>;
|
|
17
16
|
export declare function appendCitationDate(date: Date, type: 'revision' | 'creation' | 'publication'): ChainableFunction<XmlElement, XmlElement>;
|
|
18
17
|
export declare function removeKeywords(): ChainableFunction<XmlElement, XmlElement>;
|
|
19
|
-
export declare function createThesaurus(thesaurus:
|
|
18
|
+
export declare function createThesaurus(thesaurus: KeywordThesaurus): ChainableFunction<void, XmlElement>;
|
|
20
19
|
export declare function appendKeywords(keywords: Keyword[]): ChainableFunction<XmlElement, XmlElement>;
|
|
21
20
|
export declare function createConstraint(constraint: Constraint, type: 'legal' | 'security' | 'other'): ChainableFunction<void, XmlElement>;
|
|
22
21
|
export declare function removeOtherConstraints(): ChainableFunction<XmlElement, XmlElement>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"write-parts.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/api/metadata-converter/src/lib/iso19139/write-parts.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EACb,UAAU,EACV,mBAAmB,EACnB,aAAa,EACb,0BAA0B,EAC1B,UAAU,EACV,OAAO,EACP,YAAY,EACZ,IAAI,EACJ,eAAe,EACf,qBAAqB,EACrB,aAAa,EACb,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,2DAA2D,CAAA;AAElE,OAAO,EACL,iBAAiB,EASlB,MAAM,mBAAmB,CAAA;AAC1B,OAAO,EACL,UAAU,EAeX,MAAM,cAAc,CAAA;
|
|
1
|
+
{"version":3,"file":"write-parts.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/api/metadata-converter/src/lib/iso19139/write-parts.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EACb,UAAU,EACV,mBAAmB,EACnB,aAAa,EACb,0BAA0B,EAC1B,UAAU,EACV,OAAO,EACP,gBAAgB,EAChB,YAAY,EACZ,IAAI,EACJ,eAAe,EACf,qBAAqB,EACrB,aAAa,EACb,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,2DAA2D,CAAA;AAElE,OAAO,EACL,iBAAiB,EASlB,MAAM,mBAAmB,CAAA;AAC1B,OAAO,EACL,UAAU,EAeX,MAAM,cAAc,CAAA;AAIrB,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,MAAM,GACX,iBAAiB,CAAC,UAAU,EAAE,UAAU,CAAC,CAI3C;AAED,wBAAgB,YAAY,CAC1B,GAAG,EAAE,GAAG,GACP,iBAAiB,CAAC,UAAU,EAAE,UAAU,CAAC,CAO3C;AAED,wBAAgB,WAAW,CACzB,GAAG,EAAE,GAAG,EACR,IAAI,CAAC,EAAE,MAAM,GACZ,iBAAiB,CAAC,UAAU,EAAE,UAAU,CAAC,CAQ3C;AAED,wBAAgB,aAAa,CAC3B,IAAI,EAAE,IAAI,GACT,iBAAiB,CAAC,UAAU,EAAE,UAAU,CAAC,CAO3C;AAED,wBAAgB,SAAS,CACvB,IAAI,EAAE,IAAI,GACT,iBAAiB,CAAC,UAAU,E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UAAU,QASnB;AAED,wBAAgB,oBAAoB,CAClC,MAAM,EAAE,aAAa,EACrB,MAAM,EAAE,UAAU,QA0BnB;AAED,wBAAgB,oBAAoB,CAClC,MAAM,EAAE,aAAa,EACrB,MAAM,EAAE,UAAU,QAWnB;AAED,wBAAgB,oBAAoB,CAClC,MAAM,EAAE,aAAa,EACrB,MAAM,EAAE,UAAU,QAWnB;AAED,wBAAgB,sBAAsB,CACpC,MAAM,EAAE,aAAa,EACrB,MAAM,EAAE,UAAU,QAWnB;AAED,wBAAgB,0BAA0B,CACxC,MAAM,EAAE,aAAa,EACrB,MAAM,EAAE,UAAU,QAcnB;AAED,wBAAgB,qBAAqB,CACnC,MAAM,EAAE,aAAa,EACrB,MAAM,EAAE,UAAU,QA4BnB;AAED,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,UAAU,QAY3E;AAED,wBAAgB,YAAY,CAAC,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,UAAU,QAWrE;AAED,wBAAgB,0BAA0B,CAAC,QAAQ,EAAE,eAAe,GAAG,MAAM,CAW5E;AAED,wBAAgB,oBAAoB,CAAC,cAAc,EAAE,qBAAqB,uCAqDzE;AAED,wBAAgB,oBAAoB,CAClC,MAAM,EAAE,aAAa,EACrB,MAAM,EAAE,UAAU,QAMnB;AAED,wBAAgB,oBAAoB,CAClC,MAAM,EAAE,aAAa,EACrB,MAAM,EAAE,UAAU,QAsDnB"}
|
|
@@ -2,15 +2,15 @@ import { MeResponseApiModel, UserApiModel, UserFeedbackDTOApiModel } from '../..
|
|
|
2
2
|
import { UserModel } from '../../../../../../../libs/common/domain/src/lib/model/user/user.model';
|
|
3
3
|
import { AvatarServiceInterface } from '../auth';
|
|
4
4
|
import { Observable } from 'rxjs';
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
5
|
+
import { ThesaurusModel } from '../../../../../../../libs/common/domain/src/lib/model/thesaurus/thesaurus.model';
|
|
6
|
+
import { UserFeedback, UserFeedbackViewModel } from '../../../../../../../libs/common/domain/src/lib/model/record';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class Gn4PlatformMapper {
|
|
9
9
|
private avatarService;
|
|
10
10
|
constructor(avatarService: AvatarServiceInterface);
|
|
11
11
|
userFromMeApi(apiUser: MeResponseApiModel): Observable<UserModel | null>;
|
|
12
12
|
userFromApi(apiUser: UserApiModel): UserModel;
|
|
13
|
-
|
|
13
|
+
thesaurusFromApi(thesaurus: any[], lang3?: string): ThesaurusModel;
|
|
14
14
|
userFeedbacksFromApi(userFeedback: any): UserFeedback;
|
|
15
15
|
userFeedbacksToApi(userFeedback: UserFeedback): Partial<UserFeedbackDTOApiModel>;
|
|
16
16
|
createUserFeedbackViewModel(baseUserFeedback: UserFeedback): Promise<UserFeedbackViewModel>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gn4-platform.mapper.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/api/repository/src/lib/gn4/platform/gn4-platform.mapper.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,YAAY,EACZ,uBAAuB,EACxB,MAAM,+CAA+C,CAAA;AACtD,OAAO,EAAE,SAAS,EAAE,MAAM,uEAAuE,CAAA;AAEjG,OAAO,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAA;AAEhD,OAAO,EAAE,UAAU,EAAM,MAAM,MAAM,CAAA;AACrC,OAAO,
|
|
1
|
+
{"version":3,"file":"gn4-platform.mapper.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/api/repository/src/lib/gn4/platform/gn4-platform.mapper.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,YAAY,EACZ,uBAAuB,EACxB,MAAM,+CAA+C,CAAA;AACtD,OAAO,EAAE,SAAS,EAAE,MAAM,uEAAuE,CAAA;AAEjG,OAAO,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAA;AAEhD,OAAO,EAAE,UAAU,EAAM,MAAM,MAAM,CAAA;AACrC,OAAO,EAAE,cAAc,EAAE,MAAM,iFAAiF,CAAA;AAChH,OAAO,EACL,YAAY,EACZ,qBAAqB,EACtB,MAAM,8DAA8D,CAAA;;AAErE,qBACa,iBAAiB;IAChB,OAAO,CAAC,aAAa;gBAAb,aAAa,EAAE,sBAAsB;IAEzD,aAAa,CAAC,OAAO,EAAE,kBAAkB,GAAG,UAAU,CAAC,SAAS,GAAG,IAAI,CAAC;IAiBxE,WAAW,CAAC,OAAO,EAAE,YAAY,GAAG,SAAS;IAiB7C,gBAAgB,CAAC,SAAS,EAAE,GAAG,EAAE,EAAE,KAAK,CAAC,EAAE,MAAM,GAAG,cAAc;IAqBlE,oBAAoB,CAAC,YAAY,EAAE,GAAG,GAAG,YAAY;IAcrD,kBAAkB,CAChB,YAAY,EAAE,YAAY,GACzB,OAAO,CAAC,uBAAuB,CAAC;IAc7B,2BAA2B,CAC/B,gBAAgB,EAAE,YAAY,GAC7B,OAAO,CAAC,qBAAqB,CAAC;yCA1FtB,iBAAiB;6CAAjB,iBAAiB;CAoG7B"}
|
|
@@ -2,10 +2,10 @@ import { Observable } from 'rxjs';
|
|
|
2
2
|
import { MeApiService, RegistriesApiService, SiteApiService, ToolsApiService, UserfeedbackApiService, UsersApiService } from '../../../../../../../libs/data-access/gn4/src';
|
|
3
3
|
import { PlatformServiceInterface } from '../../../../../../../libs/common/domain/src/lib/platform.service.interface';
|
|
4
4
|
import { UserModel } from '../../../../../../../libs/common/domain/src/lib/model/user/user.model';
|
|
5
|
-
import {
|
|
5
|
+
import { Organization, UserFeedback } from '../../../../../../../libs/common/domain/src/lib/model/record';
|
|
6
6
|
import { Gn4PlatformMapper } from './gn4-platform.mapper';
|
|
7
|
+
import { ThesaurusModel } from '../../../../../../../libs/common/domain/src/lib/model/thesaurus/thesaurus.model';
|
|
7
8
|
import { LangService } from '../../../../../../../libs/util/i18n/src';
|
|
8
|
-
import { HttpClient } from '@angular/common/http';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
export declare class Gn4PlatformService implements PlatformServiceInterface {
|
|
11
11
|
private siteApiService;
|
|
@@ -16,7 +16,6 @@ export declare class Gn4PlatformService implements PlatformServiceInterface {
|
|
|
16
16
|
private registriesApiService;
|
|
17
17
|
private langService;
|
|
18
18
|
private userfeedbackApiService;
|
|
19
|
-
private httpClient;
|
|
20
19
|
private readonly type;
|
|
21
20
|
private readonly me$;
|
|
22
21
|
private readonly users$;
|
|
@@ -28,8 +27,8 @@ export declare class Gn4PlatformService implements PlatformServiceInterface {
|
|
|
28
27
|
* A map of already loaded thesauri (groups of keywords); the key is a URI
|
|
29
28
|
* @private
|
|
30
29
|
*/
|
|
31
|
-
private
|
|
32
|
-
constructor(siteApiService: SiteApiService, meApi: MeApiService, usersApi: UsersApiService, mapper: Gn4PlatformMapper, toolsApiService: ToolsApiService, registriesApiService: RegistriesApiService, langService: LangService, userfeedbackApiService: UserfeedbackApiService
|
|
30
|
+
private thesauri;
|
|
31
|
+
constructor(siteApiService: SiteApiService, meApi: MeApiService, usersApi: UsersApiService, mapper: Gn4PlatformMapper, toolsApiService: ToolsApiService, registriesApiService: RegistriesApiService, langService: LangService, userfeedbackApiService: UserfeedbackApiService);
|
|
33
32
|
getType(): string;
|
|
34
33
|
getApiVersion(): Observable<string>;
|
|
35
34
|
getMe(): Observable<UserModel>;
|
|
@@ -38,9 +37,7 @@ export declare class Gn4PlatformService implements PlatformServiceInterface {
|
|
|
38
37
|
getUsersByOrganization(organisation: Organization): Observable<UserModel[]>;
|
|
39
38
|
getUsers(): Observable<UserModel[]>;
|
|
40
39
|
translateKey(key: string): Observable<string>;
|
|
41
|
-
|
|
42
|
-
searchKeywords(query: string): Observable<Keyword[]>;
|
|
43
|
-
getKeywordsByUri(uri: string): Observable<Keyword[]>;
|
|
40
|
+
getThesaurusByUri(uri: string): Observable<ThesaurusModel>;
|
|
44
41
|
getUserFeedbacks(uuid: string): Observable<UserFeedback[]>;
|
|
45
42
|
postUserFeedbacks(userFeedback: UserFeedback): Observable<void>;
|
|
46
43
|
static ɵfac: i0.ɵɵFactoryDeclaration<Gn4PlatformService, never>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gn4-platform.service.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,
|
|
1
|
+
{"version":3,"file":"gn4-platform.service.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAiB,MAAM,MAAM,CAAA;AAEhD,OAAO,EACL,YAAY,EACZ,oBAAoB,EACpB,cAAc,EACd,eAAe,EACf,sBAAsB,EACtB,eAAe,EAChB,MAAM,+CAA+C,CAAA;AACtD,OAAO,EAAE,wBAAwB,EAAE,MAAM,4EAA4E,CAAA;AACrH,OAAO,EAAE,SAAS,EAAE,MAAM,uEAAuE,CAAA;AACjG,OAAO,EACL,YAAY,EACZ,YAAY,EACb,MAAM,8DAA8D,CAAA;AACrE,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAA;AAEzD,OAAO,EAAE,cAAc,EAAE,MAAM,iFAAiF,CAAA;AAChH,OAAO,EAAE,WAAW,EAAE,MAAM,yCAAyC,CAAA;;AAIrE,qBACa,kBAAmB,YAAW,wBAAwB;IAwC/D,OAAO,CAAC,cAAc;IACtB,OAAO,CAAC,KAAK;IACb,OAAO,CAAC,QAAQ;IAChB,OAAO,CAAC,MAAM;IACd,OAAO,CAAC,eAAe;IACvB,OAAO,CAAC,oBAAoB;IAC5B,OAAO,CAAC,WAAW;IACnB,OAAO,CAAC,sBAAsB;IA9ChC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAe;IACpC,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAuB;IAC3C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAyB;IAChD,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAAqB;IAEtD,OAAO,CAAC,gBAAgB,CAQrB;IAEH,OAAO,CAAC,SAAS,CAGhB;IAED,OAAO,CAAC,QAAQ,CAAC,WAAW,CAU3B;IAED;;;OAGG;IACH,OAAO,CAAC,QAAQ,CAAiD;gBAGvD,cAAc,EAAE,cAAc,EAC9B,KAAK,EAAE,YAAY,EACnB,QAAQ,EAAE,eAAe,EACzB,MAAM,EAAE,iBAAiB,EACzB,eAAe,EAAE,eAAe,EAChC,oBAAoB,EAAE,oBAAoB,EAC1C,WAAW,EAAE,WAAW,EACxB,sBAAsB,EAAE,sBAAsB;IAiBxD,OAAO,IAAI,MAAM;IAIjB,aAAa,IAAI,UAAU,CAAC,MAAM,CAAC;IAInC,KAAK,IAAI,UAAU,CAAC,SAAS,CAAC;IAI9B,WAAW,IAAI,UAAU,CAAC,OAAO,CAAC;IAIlC,gBAAgB,IAAI,UAAU,CAAC,YAAY,EAAE,CAAC;IAI9C,sBAAsB,CAAC,YAAY,EAAE,YAAY,GAAG,UAAU,CAAC,SAAS,EAAE,CAAC;IAI3E,QAAQ,IAAI,UAAU,CAAC,SAAS,EAAE,CAAC;IAInC,YAAY,CAAC,GAAG,EAAE,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;IAkB7C,iBAAiB,CAAC,GAAG,EAAE,MAAM,GAAG,UAAU,CAAC,cAAc,CAAC;IA4B1D,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG,UAAU,CAAC,YAAY,EAAE,CAAC;IAY1D,iBAAiB,CAAC,YAAY,EAAE,YAAY,GAAG,UAAU,CAAC,IAAI,CAAC;yCAtJpD,kBAAkB;6CAAlB,kBAAkB;CAgK9B"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { Individual } from './contact.model';
|
|
2
2
|
import type { Organization } from './organization.model';
|
|
3
3
|
import type { Geometry } from 'geojson';
|
|
4
|
-
import { KeywordType, ThesaurusModel } from '../thesaurus';
|
|
5
4
|
type Uuid = string;
|
|
6
5
|
export type UpdateFrequencyCode = 'unknown' | 'notPlanned' | 'asNeeded' | 'irregular' | 'continual' | 'periodic';
|
|
7
6
|
export type UpdateFrequencyCustom = {
|
|
@@ -17,12 +16,16 @@ export type Constraint = {
|
|
|
17
16
|
url?: URL;
|
|
18
17
|
};
|
|
19
18
|
export type SpatialRepresentationType = 'grid' | 'vector' | 'tin' | 'table' | 'point';
|
|
19
|
+
export type KeywordType = 'place' | 'temporal' | 'theme' | 'other';
|
|
20
|
+
export type KeywordThesaurus = {
|
|
21
|
+
id: string;
|
|
22
|
+
name?: string;
|
|
23
|
+
url?: URL;
|
|
24
|
+
};
|
|
20
25
|
export interface Keyword {
|
|
21
|
-
key?: string;
|
|
22
26
|
label: string;
|
|
23
|
-
description?: string;
|
|
24
27
|
type: KeywordType;
|
|
25
|
-
thesaurus?:
|
|
28
|
+
thesaurus?: KeywordThesaurus;
|
|
26
29
|
}
|
|
27
30
|
export type LanguageCode = string;
|
|
28
31
|
export interface BaseRecord {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"metadata.model.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/common/domain/src/lib/model/record/metadata.model.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AACjD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AACxD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"metadata.model.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/common/domain/src/lib/model/record/metadata.model.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AACjD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AACxD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA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C,qBAAqB,CAAC,EAAE,yBAAyB,CAAA;CAClD;AAED,MAAM,MAAM,yBAAyB,GAAG,UAAU,GAAG,MAAM,CAAA;AAE3D,MAAM,WAAW,eAAe;IAC9B,WAAW,EAAE,GAAG,CAAA;IAChB,QAAQ,EAAE,MAAM,CAAA;IAChB,IAAI,EAAE,UAAU,CAAA;IAChB,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB;AAED,MAAM,MAAM,qBAAqB,GAAG,CAAC,eAAe,GAAG,kBAAkB,CAAC,GAAG;IAC3E,IAAI,EAAE,yBAAyB,CAAA;CAChC,CAAA;AAED,MAAM,WAAW,aAAc,SAAQ,UAAU;IAC/C,IAAI,EAAE,SAAS,CAAA;IACf,eAAe,EAAE,KAAK,CAAC,qBAAqB,CAAC,CAAA;CAC9C;AAED,MAAM,MAAM,aAAa,GAAG,aAAa,GAAG,aAAa,CAAA;AAEzD,MAAM,MAAM,iBAAiB,GAAG,MAAM,aAAa,GAAG,MAAM,aAAa,CAAA"}
|
|
@@ -1,14 +1,7 @@
|
|
|
1
|
-
export
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
url?: URL;
|
|
6
|
-
thesaurusKey?: string;
|
|
7
|
-
definition?: string;
|
|
8
|
-
definitions?: object;
|
|
9
|
-
uri?: string;
|
|
10
|
-
value?: string;
|
|
11
|
-
values?: object;
|
|
12
|
-
type?: KeywordType;
|
|
1
|
+
export interface ThesaurusItemModel {
|
|
2
|
+
key: string;
|
|
3
|
+
label: string;
|
|
4
|
+
description?: string;
|
|
13
5
|
}
|
|
6
|
+
export type ThesaurusModel = ThesaurusItemModel[];
|
|
14
7
|
//# sourceMappingURL=thesaurus.model.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"thesaurus.model.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/common/domain/src/lib/model/thesaurus/thesaurus.model.ts"],"names":[],"mappings":"AAAA,MAAM,
|
|
1
|
+
{"version":3,"file":"thesaurus.model.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/common/domain/src/lib/model/thesaurus/thesaurus.model.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,kBAAkB;IACjC,GAAG,EAAE,MAAM,CAAA;IACX,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB;AAED,MAAM,MAAM,cAAc,GAAG,kBAAkB,EAAE,CAAA"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { Observable } from 'rxjs';
|
|
2
2
|
import type { UserModel } from './model/user/user.model';
|
|
3
3
|
import type { Organization } from './model/record/organization.model';
|
|
4
|
-
import {
|
|
4
|
+
import type { ThesaurusModel } from './model/thesaurus/';
|
|
5
|
+
import { UserFeedback } from './model/record';
|
|
5
6
|
export declare abstract class PlatformServiceInterface {
|
|
6
7
|
abstract getType(): string;
|
|
7
8
|
abstract getApiVersion(): Observable<string>;
|
|
@@ -11,8 +12,7 @@ export declare abstract class PlatformServiceInterface {
|
|
|
11
12
|
abstract getUsersByOrganization(organisation: Organization): Observable<UserModel[]>;
|
|
12
13
|
abstract getOrganizations(): Observable<Organization[]>;
|
|
13
14
|
abstract translateKey(key: string): Observable<string>;
|
|
14
|
-
abstract
|
|
15
|
-
abstract getKeywordsByUri(uri: string): Observable<Keyword[]>;
|
|
15
|
+
abstract getThesaurusByUri(uri: string): Observable<ThesaurusModel>;
|
|
16
16
|
abstract getUserFeedbacks(recordUuid: string): Observable<UserFeedback[]>;
|
|
17
17
|
abstract postUserFeedbacks(recordUuid: UserFeedback): Observable<void>;
|
|
18
18
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"platform.service.interface.d.ts","sourceRoot":"","sources":["../../../../../src/libs/common/domain/src/lib/platform.service.interface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,MAAM,CAAA;AACtC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAA;AACxD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAA;AACrE,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;
|
|
1
|
+
{"version":3,"file":"platform.service.interface.d.ts","sourceRoot":"","sources":["../../../../../src/libs/common/domain/src/lib/platform.service.interface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,MAAM,CAAA;AACtC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAA;AACxD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAA;AACrE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAA;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAE7C,8BAAsB,wBAAwB;IAC5C,QAAQ,CAAC,OAAO,IAAI,MAAM;IAC1B,QAAQ,CAAC,aAAa,IAAI,UAAU,CAAC,MAAM,CAAC;IAE5C,QAAQ,CAAC,KAAK,IAAI,UAAU,CAAC,SAAS,CAAC;IACvC,QAAQ,CAAC,WAAW,IAAI,UAAU,CAAC,OAAO,CAAC;IAC3C,QAAQ,CAAC,QAAQ,IAAI,UAAU,CAAC,SAAS,EAAE,CAAC;IAC5C,QAAQ,CAAC,sBAAsB,CAC7B,YAAY,EAAE,YAAY,GACzB,UAAU,CAAC,SAAS,EAAE,CAAC;IAC1B,QAAQ,CAAC,gBAAgB,IAAI,UAAU,CAAC,YAAY,EAAE,CAAC;IACvD,QAAQ,CAAC,YAAY,CAAC,GAAG,EAAE,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;IACtD,QAAQ,CAAC,iBAAiB,CAAC,GAAG,EAAE,MAAM,GAAG,UAAU,CAAC,cAAc,CAAC;IACnE,QAAQ,CAAC,gBAAgB,CAAC,UAAU,EAAE,MAAM,GAAG,UAAU,CAAC,YAAY,EAAE,CAAC;IACzE,QAAQ,CAAC,iBAAiB,CAAC,UAAU,EAAE,YAAY,GAAG,UAAU,CAAC,IAAI,CAAC;CACvE"}
|
package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.d.ts
CHANGED
|
@@ -27,7 +27,6 @@ export declare class FormFieldComponent {
|
|
|
27
27
|
get isResourceUpdated(): boolean;
|
|
28
28
|
get isUpdateFrequency(): boolean;
|
|
29
29
|
get isTemporalExtents(): boolean;
|
|
30
|
-
get isKeywords(): boolean;
|
|
31
30
|
get withoutWrapper(): boolean;
|
|
32
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldComponent, never>;
|
|
33
32
|
static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldComponent, "gn-ui-form-field", never, { "model": { "alias": "model"; "required": false; }; "config": { "alias": "config"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-field.component.d.ts","sourceRoot":"","sources":["../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,UAAU,EAIX,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,WAAW,EAAuB,MAAM,gBAAgB,CAAA;AAMjE,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAA;AAYjC,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAA;;
|
|
1
|
+
{"version":3,"file":"form-field.component.d.ts","sourceRoot":"","sources":["../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,UAAU,EAIX,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,WAAW,EAAuB,MAAM,gBAAgB,CAAA;AAMjE,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAA;AAYjC,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAA;;AAGpD,qBA0Ba,kBAAkB;IACpB,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,eAAe,CAAA;IAChC,IAAa,KAAK,CAAC,CAAC,EAAE,OAAO,EAI5B;IACS,WAAW,EAAE,UAAU,CAAC,OAAO,CAAC,CAAA;IAEjB,UAAU,EAAE,UAAU,CAAA;IAE/C,WAAW,mBAAoB;;IAM/B,eAAe;IAIf,IAAI,UAAU,2DAQb;IAED,IAAI,aAAa,YAShB;IACD,IAAI,WAAW,YAEd;IACD,IAAI,oBAAoB,YAEvB;IACD,IAAI,YAAY,YAEf;IACD,IAAI,aAAa,YAEhB;IAED,IAAI,SAAS,YAEZ;IACD,IAAI,aAAa,YAEhB;IACD,IAAI,cAAc,YAEjB;IAED,IAAI,OAAO,YAEV;IACD,IAAI,UAAU,YAEb;IACD,IAAI,UAAU,YAEb;IACD,IAAI,iBAAiB,YAEpB;IACD,IAAI,iBAAiB,YAEpB;IACD,IAAI,iBAAiB,YAEpB;IAED,IAAI,cAAc,YAEjB;yCAtFU,kBAAkB;2CAAlB,kBAAkB;CAuF9B"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
export * from './form-field-keywords/form-field-keywords.component';
|
|
2
1
|
export * from './form-field-license/form-field-license.component';
|
|
3
2
|
export * from './form-field-resource-updated/form-field-resource-updated.component';
|
|
4
3
|
export * from './form-field-temporal-extents/form-field-temporal-extents.component';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/index.ts"],"names":[],"mappings":"AAAA,cAAc,mDAAmD,CAAA;AACjE,cAAc,qEAAqE,CAAA;AACnF,cAAc,qEAAqE,CAAA;AAEnF,cAAc,iDAAiD,CAAA;AAC/D,cAAc,6CAA6C,CAAA;AAC3D,cAAc,6CAA6C,CAAA;AAC3D,cAAc,iDAAiD,CAAA;AAC/D,cAAc,+CAA+C,CAAA;AAC7D,cAAc,iEAAiE,CAAA;AAC/E,cAAc,wBAAwB,CAAA;AACtC,cAAc,oBAAoB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"feature-editor.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/feature/editor/src/lib/feature-editor.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"feature-editor.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/feature/editor/src/lib/feature-editor.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAkBA,qBAyBa,mBAAmB;yCAAnB,mBAAmB;0CAAnB,mBAAmB;0CAAnB,mBAAmB;CAAG;AACnC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,2BAA2B,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fields.config.d.ts","sourceRoot":"","sources":["../../../../../src/libs/feature/editor/src/lib/fields.config.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAA;AAE1D,eAAO,MAAM,cAAc,EAAE,
|
|
1
|
+
{"version":3,"file":"fields.config.d.ts","sourceRoot":"","sources":["../../../../../src/libs/feature/editor/src/lib/fields.config.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAA;AAE1D,eAAO,MAAM,cAAc,EAAE,kBA4D5B,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"results-table.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/search/src/lib/results-table/results-table.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,YAAY,EAAU,MAAM,eAAe,CAAA;AAC/D,OAAO,EAAE,aAAa,EAAE,MAAM,2DAA2D,CAAA;AACzF,OAAO,EACL,UAAU,EAIX,MAAM,wCAAwC,CAAA;AAQ/C,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AACrD,OAAO,EAAE,gBAAgB,EAAE,MAAM,2CAA2C,CAAA;AAC5E,OAAO,EAAiC,UAAU,EAAE,MAAM,MAAM,CAAA;AAIhE,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAA;
|
|
1
|
+
{"version":3,"file":"results-table.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/search/src/lib/results-table/results-table.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,YAAY,EAAU,MAAM,eAAe,CAAA;AAC/D,OAAO,EAAE,aAAa,EAAE,MAAM,2DAA2D,CAAA;AACzF,OAAO,EACL,UAAU,EAIX,MAAM,wCAAwC,CAAA;AAQ/C,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AACrD,OAAO,EAAE,gBAAgB,EAAE,MAAM,2CAA2C,CAAA;AAC5E,OAAO,EAAiC,UAAU,EAAE,MAAM,MAAM,CAAA;AAIhE,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAA;AAE/D,OAAO,EAAE,0BAA0B,EAAE,MAAM,sFAAsF,CAAA;;AAEjI,qBAea,qBAAqB;IAO9B,OAAO,CAAC,YAAY;IACpB,OAAO,CAAC,aAAa;IACrB,OAAO,CAAC,gBAAgB;IACxB,OAAO,CAAC,iBAAiB;IATjB,WAAW,8BAAoC;IAEzD,QAAQ,8BAA6B;IACrC,gBAAgB,2CAAoD;gBAG1D,YAAY,EAAE,YAAY,EAC1B,aAAa,EAAE,aAAa,EAC5B,gBAAgB,EAAE,gBAAgB,EAClC,iBAAiB,EAAE,0BAA0B;IAGvD,YAAY,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM;IAShC,SAAS,CAAC,gBAAgB,EAAE,OAAO,GAAG,OAAO;IAI7C,gBAAgB,CAAC,MAAM,EAAE,aAAa,GAAG,UAAU,EAAE;IAarD,cAAc,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,GAAG,MAAM;IAQlD,aAAa,CAAC,MAAM,EAAE,UAAU,GAAG,MAAM;IAIzC,iBAAiB,CAAC,IAAI,EAAE,OAAO;IAI/B,SAAS,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,GAAG,MAAM;IAI5C,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,UAAU,CAAC,KAAK,GAAG,MAAM,GAAG,IAAI,CAAC;IAiB1D,SAAS,CAAC,MAAM,EAAE,aAAa,GAAG,UAAU,CAAC,OAAO,CAAC;IASrD,0BAA0B,CAAC,QAAQ,EAAE,OAAO,EAAE,MAAM,EAAE,aAAa;IAQ7D,eAAe;IASrB,aAAa,IAAI,UAAU,CAAC,OAAO,CAAC;IAWpC,cAAc,IAAI,UAAU,CAAC,OAAO,CAAC;IAerC,QAAQ,CAAC,MAAM,EAAE,aAAa,GAAG,OAAO;yCAhI7B,qBAAqB;2CAArB,qBAAqB;CAmIjC"}
|
|
@@ -32,7 +32,7 @@ import * as i30 from "@angular/forms";
|
|
|
32
32
|
import * as i31 from "./markdown-parser/markdown-parser.component";
|
|
33
33
|
import * as i32 from "./thumbnail/thumbnail.component";
|
|
34
34
|
import * as i33 from "./user-feedback-item/time-since.pipe";
|
|
35
|
-
import * as i34 from "../../../
|
|
35
|
+
import * as i34 from "../../../widgets/src/lib/badge/badge.component";
|
|
36
36
|
export declare class UiElementsModule {
|
|
37
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<UiElementsModule, never>;
|
|
38
38
|
static ɵmod: i0.ɵɵNgModuleDeclaration<UiElementsModule, [typeof i1.MetadataInfoComponent, typeof i2.ContentGhostComponent, typeof i3.DownloadItemComponent, typeof i4.DownloadsListComponent, typeof i5.ApiCardComponent, typeof i6.RelatedRecordCardComponent, typeof i7.MetadataContactComponent, typeof i8.MetadataCatalogComponent, typeof i9.MetadataQualityComponent, typeof i10.MetadataQualityItemComponent, typeof i11.ErrorComponent, typeof i12.PaginationComponent, typeof i13.AvatarComponent, typeof i14.UserPreviewComponent, typeof i15.GnUiLinkifyDirective, typeof i16.PaginationButtonsComponent, typeof i17.MaxLinesComponent, typeof i18.RecordApiFormComponent, typeof i19.UserFeedbackItemComponent, typeof i20.ImageOverlayPreviewComponent], [typeof i21.CommonModule, typeof i22.MatIconModule, typeof i23.MatTooltipModule, typeof i24.UiWidgetsModule, typeof i25.UiLayoutModule, typeof i26.TranslateModule, typeof i27.UtilSharedModule, typeof i28.RouterModule, typeof i29.UiInputsModule, typeof i30.FormsModule, typeof i21.NgOptimizedImage, typeof i31.MarkdownParserComponent, typeof i32.ThumbnailComponent, typeof i33.TimeSincePipe, typeof i34.BadgeComponent], [typeof i1.MetadataInfoComponent, typeof i2.ContentGhostComponent, typeof i3.DownloadItemComponent, typeof i4.DownloadsListComponent, typeof i5.ApiCardComponent, typeof i6.RelatedRecordCardComponent, typeof i7.MetadataContactComponent, typeof i8.MetadataCatalogComponent, typeof i9.MetadataQualityComponent, typeof i10.MetadataQualityItemComponent, typeof i11.ErrorComponent, typeof i12.PaginationComponent, typeof i32.ThumbnailComponent, typeof i13.AvatarComponent, typeof i14.UserPreviewComponent, typeof i16.PaginationButtonsComponent, typeof i17.MaxLinesComponent, typeof i18.RecordApiFormComponent, typeof i31.MarkdownParserComponent, typeof i19.UserFeedbackItemComponent, typeof i20.ImageOverlayPreviewComponent]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/ui/inputs/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,2CAA2C,CAAA;AACzD,cAAc
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/ui/inputs/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,2CAA2C,CAAA;AACzD,cAAc,+BAA+B,CAAA;AAC7C,cAAc,2CAA2C,CAAA;AACzD,cAAc,mCAAmC,CAAA;AACjD,cAAc,yCAAyC,CAAA;AACvD,cAAc,mDAAmD,CAAA;AACjE,cAAc,yCAAyC,CAAA;AACvD,cAAc,qDAAqD,CAAA;AACnE,cAAc,mEAAmE,CAAA;AACjF,cAAc,2DAA2D,CAAA;AACzE,cAAc,uDAAuD,CAAA;AACrE,cAAc,qDAAqD,CAAA;AACnE,cAAc,iDAAiD,CAAA;AAC/D,cAAc,+CAA+C,CAAA;AAC7D,cAAc,qDAAqD,CAAA;AACnE,cAAc,2CAA2C,CAAA;AACzD,cAAc,yCAAyC,CAAA;AACvD,cAAc,qCAAqC,CAAA;AACnD,cAAc,uCAAuC,CAAA;AACrD,cAAc,wBAAwB,CAAA;AACtC,cAAc,2DAA2D,CAAA;AACzE,cAAc,6DAA6D,CAAA"}
|
|
@@ -33,10 +33,9 @@ import * as i31 from "./image-input/image-input.component";
|
|
|
33
33
|
import * as i32 from "./dropdown-selector/dropdown-selector.component";
|
|
34
34
|
import * as i33 from "./date-range-picker/date-range-picker.component";
|
|
35
35
|
import * as i34 from "./check-toggle/check-toggle.component";
|
|
36
|
-
import * as i35 from "./badge/badge.component";
|
|
37
36
|
export declare class UiInputsModule {
|
|
38
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<UiInputsModule, never>;
|
|
39
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<UiInputsModule, [typeof i1.AutocompleteComponent, typeof i2.TextInputComponent, typeof i3.DragAndDropFileInputComponent, typeof i4.ChipsInputComponent, typeof i5.NavigationButtonComponent, typeof i6.StarToggleComponent, typeof i7.DropdownMultiselectComponent, typeof i8.ViewportIntersectorComponent, typeof i9.CopyTextButtonComponent, typeof i10.CheckboxComponent, typeof i11.SearchInputComponent], [typeof i12.CommonModule, typeof i13.TranslateModule, typeof i14.NgxDropzoneModule, typeof i15.FormsModule, typeof i15.ReactiveFormsModule, typeof i16.TagInputModule, typeof i17.UtilSharedModule, typeof i18.MatAutocompleteModule, typeof i19.MatIconModule, typeof i20.UiWidgetsModule, typeof i21.OverlayModule, typeof i22.MatCheckboxModule, typeof i23.MatTooltipModule, typeof i24.MatFormFieldModule, typeof i25.MatInputModule, typeof i26.MatDatepickerModule, typeof i27.MatNativeDateModule, typeof i28.EditableLabelDirective, typeof i29.TextAreaComponent, typeof i30.ButtonComponent, typeof i31.ImageInputComponent, typeof i32.DropdownSelectorComponent, typeof i33.DateRangePickerComponent, typeof i34.CheckToggleComponent
|
|
38
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<UiInputsModule, [typeof i1.AutocompleteComponent, typeof i2.TextInputComponent, typeof i3.DragAndDropFileInputComponent, typeof i4.ChipsInputComponent, typeof i5.NavigationButtonComponent, typeof i6.StarToggleComponent, typeof i7.DropdownMultiselectComponent, typeof i8.ViewportIntersectorComponent, typeof i9.CopyTextButtonComponent, typeof i10.CheckboxComponent, typeof i11.SearchInputComponent], [typeof i12.CommonModule, typeof i13.TranslateModule, typeof i14.NgxDropzoneModule, typeof i15.FormsModule, typeof i15.ReactiveFormsModule, typeof i16.TagInputModule, typeof i17.UtilSharedModule, typeof i18.MatAutocompleteModule, typeof i19.MatIconModule, typeof i20.UiWidgetsModule, typeof i21.OverlayModule, typeof i22.MatCheckboxModule, typeof i23.MatTooltipModule, typeof i24.MatFormFieldModule, typeof i25.MatInputModule, typeof i26.MatDatepickerModule, typeof i27.MatNativeDateModule, typeof i28.EditableLabelDirective, typeof i29.TextAreaComponent, typeof i30.ButtonComponent, typeof i31.ImageInputComponent, typeof i32.DropdownSelectorComponent, typeof i33.DateRangePickerComponent, typeof i34.CheckToggleComponent], [typeof i32.DropdownSelectorComponent, typeof i1.AutocompleteComponent, typeof i30.ButtonComponent, typeof i2.TextInputComponent, typeof i3.DragAndDropFileInputComponent, typeof i29.TextAreaComponent, typeof i4.ChipsInputComponent, typeof i5.NavigationButtonComponent, typeof i6.StarToggleComponent, typeof i7.DropdownMultiselectComponent, typeof i8.ViewportIntersectorComponent, typeof i34.CheckToggleComponent, typeof i9.CopyTextButtonComponent, typeof i10.CheckboxComponent, typeof i11.SearchInputComponent, typeof i33.DateRangePickerComponent, typeof i28.EditableLabelDirective, typeof i31.ImageInputComponent]>;
|
|
40
39
|
static ɵinj: i0.ɵɵInjectorDeclaration<UiInputsModule>;
|
|
41
40
|
}
|
|
42
41
|
//# sourceMappingURL=ui-inputs.module.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui-inputs.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/ui/inputs/src/lib/ui-inputs.module.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ui-inputs.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/ui/inputs/src/lib/ui-inputs.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoCA,qBA6Da,cAAc;yCAAd,cAAc;0CAAd,cAAc;0CAAd,cAAc;CAAG"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from './lib/ui-widgets.module';
|
|
2
2
|
export * from './lib/progress-bar/progress-bar.component';
|
|
3
3
|
export * from './lib/loading-mask/loading-mask.component';
|
|
4
|
+
export * from './lib/badge/badge.component';
|
|
4
5
|
export * from './lib/color-scale/color-scale.component';
|
|
5
6
|
export * from './lib/popup-alert/popup-alert.component';
|
|
6
7
|
export * from './lib/spinning-loader/spinning-loader.component';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/ui/widgets/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAA;AACvC,cAAc,2CAA2C,CAAA;AACzD,cAAc,2CAA2C,CAAA;AACzD,cAAc,yCAAyC,CAAA;AACvD,cAAc,yCAAyC,CAAA;AACvD,cAAc,iDAAiD,CAAA;AAC/D,cAAc,mCAAmC,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/ui/widgets/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAA;AACvC,cAAc,2CAA2C,CAAA;AACzD,cAAc,2CAA2C,CAAA;AACzD,cAAc,6BAA6B,CAAA;AAC3C,cAAc,yCAAyC,CAAA;AACvD,cAAc,yCAAyC,CAAA;AACvD,cAAc,iDAAiD,CAAA;AAC/D,cAAc,mCAAmC,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class BadgeComponent {
|
|
3
|
+
clickable: boolean;
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BadgeComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BadgeComponent, "gn-ui-badge", never, { "clickable": { "alias": "clickable"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=badge.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"badge.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/widgets/src/lib/badge/badge.component.ts"],"names":[],"mappings":";AAGA,qBAQa,cAAc;IAChB,SAAS,UAAQ;yCADf,cAAc;2CAAd,cAAc;CAE1B"}
|
package/package.json
CHANGED
|
@@ -4,6 +4,7 @@ import {
|
|
|
4
4
|
GraphicOverview,
|
|
5
5
|
Individual,
|
|
6
6
|
Keyword,
|
|
7
|
+
KeywordThesaurus,
|
|
7
8
|
Organization,
|
|
8
9
|
RecordKind,
|
|
9
10
|
RecordStatus,
|
|
@@ -40,7 +41,6 @@ import { getKeywordTypeFromKeywordTypeCode } from './utils/keyword.mapper'
|
|
|
40
41
|
import { getRoleFromRoleCode } from './utils/role.mapper'
|
|
41
42
|
import { getStatusFromStatusCode } from './utils/status.mapper'
|
|
42
43
|
import { getUpdateFrequencyFromFrequencyCode } from './utils/update-frequency.mapper'
|
|
43
|
-
import { ThesaurusModel } from '../../../../../../libs/common/domain/src/lib/model/thesaurus'
|
|
44
44
|
|
|
45
45
|
export function extractCharacterString(): ChainableFunction<
|
|
46
46
|
XmlElement,
|
|
@@ -609,7 +609,7 @@ export function readContactsForResource(rootEl: XmlElement): Individual[] {
|
|
|
609
609
|
}
|
|
610
610
|
|
|
611
611
|
// from gmd:thesaurusName
|
|
612
|
-
export function readThesaurus(rootEl: XmlElement):
|
|
612
|
+
export function readThesaurus(rootEl: XmlElement): KeywordThesaurus {
|
|
613
613
|
if (!rootEl) return null
|
|
614
614
|
|
|
615
615
|
const findIdentifier = findNestedElement(
|
|
@@ -6,6 +6,7 @@ import {
|
|
|
6
6
|
DatasetServiceDistribution,
|
|
7
7
|
Individual,
|
|
8
8
|
Keyword,
|
|
9
|
+
KeywordThesaurus,
|
|
9
10
|
RecordStatus,
|
|
10
11
|
Role,
|
|
11
12
|
ServiceEndpoint,
|
|
@@ -45,7 +46,6 @@ import {
|
|
|
45
46
|
} from '../xml-utils'
|
|
46
47
|
import { readKind } from './read-parts'
|
|
47
48
|
import { namePartsToFull } from './utils/individual-name'
|
|
48
|
-
import { ThesaurusModel } from '../../../../../../libs/common/domain/src/lib/model/thesaurus'
|
|
49
49
|
|
|
50
50
|
export function writeCharacterString(
|
|
51
51
|
text: string
|
|
@@ -367,7 +367,7 @@ export function removeKeywords() {
|
|
|
367
367
|
}
|
|
368
368
|
|
|
369
369
|
// returns a <gmd:thesaurusName> element
|
|
370
|
-
export function createThesaurus(thesaurus:
|
|
370
|
+
export function createThesaurus(thesaurus: KeywordThesaurus) {
|
|
371
371
|
return pipe(
|
|
372
372
|
createElement('gmd:thesaurusName'),
|
|
373
373
|
createChild('gmd:CI_Citation'),
|
|
@@ -8,16 +8,11 @@ import { Injectable } from '@angular/core'
|
|
|
8
8
|
import { AvatarServiceInterface } from '../auth'
|
|
9
9
|
import { map } from 'rxjs/operators'
|
|
10
10
|
import { Observable, of } from 'rxjs'
|
|
11
|
+
import { ThesaurusModel } from '../../../../../../../libs/common/domain/src/lib/model/thesaurus/thesaurus.model'
|
|
11
12
|
import {
|
|
12
|
-
Keyword,
|
|
13
13
|
UserFeedback,
|
|
14
14
|
UserFeedbackViewModel,
|
|
15
15
|
} from '../../../../../../../libs/common/domain/src/lib/model/record'
|
|
16
|
-
import {
|
|
17
|
-
KeywordApiResponse,
|
|
18
|
-
ThesaurusApiResponse,
|
|
19
|
-
} from '../../../../../../../libs/api/metadata-converter/src'
|
|
20
|
-
import { KeywordType } from '../../../../../../../libs/common/domain/src/lib/model/thesaurus'
|
|
21
16
|
|
|
22
17
|
@Injectable()
|
|
23
18
|
export class Gn4PlatformMapper {
|
|
@@ -57,12 +52,8 @@ export class Gn4PlatformMapper {
|
|
|
57
52
|
return { ...apiUser, id: id.toString() } as UserModel
|
|
58
53
|
}
|
|
59
54
|
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
thesaurus: ThesaurusApiResponse[],
|
|
63
|
-
lang3?: string
|
|
64
|
-
): Keyword[] {
|
|
65
|
-
return keywords.map((keyword): Keyword => {
|
|
55
|
+
thesaurusFromApi(thesaurus: any[], lang3?: string): ThesaurusModel {
|
|
56
|
+
return thesaurus.map((keyword) => {
|
|
66
57
|
let key = keyword.uri
|
|
67
58
|
// sometines GN can prefix an URI with an "all thesaurus" URI; only keep the last one
|
|
68
59
|
if (key.indexOf('@@@') > -1) {
|
|
@@ -74,22 +65,10 @@ export class Gn4PlatformMapper {
|
|
|
74
65
|
lang3 && lang3 in keyword.definitions
|
|
75
66
|
? keyword.definitions[lang3]
|
|
76
67
|
: keyword.definition
|
|
77
|
-
|
|
78
|
-
const matchedThesaurus = thesaurus.find(
|
|
79
|
-
(thes) => keyword.thesaurusKey === thes.key
|
|
80
|
-
)
|
|
81
|
-
|
|
82
68
|
return {
|
|
83
69
|
key,
|
|
84
70
|
label,
|
|
85
71
|
description,
|
|
86
|
-
type: matchedThesaurus?.dname as KeywordType,
|
|
87
|
-
thesaurus: {
|
|
88
|
-
id: matchedThesaurus?.key,
|
|
89
|
-
name: matchedThesaurus?.title,
|
|
90
|
-
url: new URL(matchedThesaurus?.url),
|
|
91
|
-
type: matchedThesaurus?.dname as KeywordType,
|
|
92
|
-
},
|
|
93
72
|
}
|
|
94
73
|
})
|
|
95
74
|
}
|