geonetwork-ui 2.4.0-dev.573bccd7 → 2.4.0-dev.656babc7
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 +2 -1
- package/esm2022/libs/api/metadata-converter/src/lib/gn4/types/keywords.model.mjs +2 -0
- 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 +11 -3
- package/esm2022/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.mjs +34 -14
- 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-keywords/form-field-keywords.component.mjs +87 -0
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.mjs +8 -3
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/index.mjs +2 -1
- package/esm2022/libs/feature/editor/src/lib/feature-editor.module.mjs +4 -3
- package/esm2022/libs/feature/editor/src/lib/fields.config.mjs +8 -1
- 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 +2 -1
- package/esm2022/libs/ui/inputs/src/lib/badge/badge.component.mjs +28 -0
- package/esm2022/libs/ui/inputs/src/lib/ui-inputs.module.mjs +10 -4
- package/esm2022/libs/ui/widgets/src/index.mjs +1 -2
- package/fesm2022/geonetwork-ui.mjs +163 -37
- package/fesm2022/geonetwork-ui.mjs.map +1 -1
- package/libs/api/metadata-converter/src/lib/gn4/types/index.d.ts +1 -0
- package/libs/api/metadata-converter/src/lib/gn4/types/index.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/gn4/types/keywords.model.d.ts +31 -0
- package/libs/api/metadata-converter/src/lib/gn4/types/keywords.model.d.ts.map +1 -0
- package/libs/api/metadata-converter/src/lib/iso19139/read-parts.d.ts +3 -2
- 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 +3 -2
- 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 +8 -5
- 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 +4 -7
- 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 +12 -5
- 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-keywords/form-field-keywords.component.d.ts +35 -0
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.d.ts.map +1 -0
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.d.ts +1 -0
- 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 +1 -0
- 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 +1 -0
- package/libs/ui/inputs/src/index.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/badge/badge.component.d.ts +11 -0
- package/libs/ui/inputs/src/lib/badge/badge.component.d.ts.map +1 -0
- package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts +2 -1
- package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts.map +1 -1
- package/libs/ui/widgets/src/index.d.ts +0 -1
- package/libs/ui/widgets/src/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/libs/api/metadata-converter/src/lib/gn4/types/index.ts +1 -0
- package/src/libs/api/metadata-converter/src/lib/gn4/types/keywords.model.ts +31 -0
- 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 +24 -3
- package/src/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.ts +70 -21
- package/src/libs/common/domain/src/lib/model/record/metadata.model.ts +4 -9
- package/src/libs/common/domain/src/lib/model/thesaurus/thesaurus.model.ts +13 -6
- 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-keywords/form-field-keywords.component.html +20 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.ts +119 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.html +5 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.ts +5 -0
- 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 +2 -1
- package/src/libs/feature/editor/src/lib/fields.config.ts +7 -0
- package/src/libs/feature/search/src/lib/results-table/results-table.component.ts +1 -2
- package/src/libs/ui/elements/src/lib/ui-elements.module.ts +2 -2
- package/src/libs/ui/inputs/src/index.ts +1 -0
- package/src/libs/ui/inputs/src/lib/badge/badge.component.css +0 -0
- package/src/libs/ui/inputs/src/lib/badge/badge.component.html +18 -0
- package/src/libs/ui/inputs/src/lib/badge/badge.component.ts +27 -0
- package/src/libs/ui/inputs/src/lib/ui-inputs.module.ts +3 -0
- package/src/libs/ui/widgets/src/index.ts +0 -1
- package/esm2022/libs/ui/widgets/src/lib/badge/badge.component.mjs +0 -18
- package/libs/ui/widgets/src/lib/badge/badge.component.d.ts +0 -7
- package/libs/ui/widgets/src/lib/badge/badge.component.d.ts.map +0 -1
- package/src/libs/ui/widgets/src/lib/badge/badge.component.html +0 -10
- package/src/libs/ui/widgets/src/lib/badge/badge.component.ts +0 -14
- /package/src/libs/{ui/widgets/src/lib/badge/badge.component.css → feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.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;AAChC,cAAc,kBAAkB,CAAA"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export interface KeywordApiResponse {
|
|
2
|
+
values?: {
|
|
3
|
+
eng: string;
|
|
4
|
+
};
|
|
5
|
+
definitions?: {
|
|
6
|
+
eng: string;
|
|
7
|
+
};
|
|
8
|
+
coordEast?: string;
|
|
9
|
+
coordWest?: string;
|
|
10
|
+
coordSouth?: string;
|
|
11
|
+
coordNorth?: string;
|
|
12
|
+
thesaurusKey?: string;
|
|
13
|
+
definition?: string;
|
|
14
|
+
value?: string;
|
|
15
|
+
uri?: string;
|
|
16
|
+
}
|
|
17
|
+
export interface ThesaurusApiResponse {
|
|
18
|
+
key?: string;
|
|
19
|
+
dname?: string;
|
|
20
|
+
description?: string[] | string;
|
|
21
|
+
filename?: string;
|
|
22
|
+
title?: string;
|
|
23
|
+
multilingualTitles?: string[];
|
|
24
|
+
dublinCoreMultilinguals?: string[];
|
|
25
|
+
date?: string;
|
|
26
|
+
url?: string;
|
|
27
|
+
defaultNamespace?: string;
|
|
28
|
+
type?: string;
|
|
29
|
+
activated?: string;
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=keywords.model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"keywords.model.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/api/metadata-converter/src/lib/gn4/types/keywords.model.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,kBAAkB;IACjC,MAAM,CAAC,EAAE;QACP,GAAG,EAAE,MAAM,CAAA;KACZ,CAAA;IACD,WAAW,CAAC,EAAE;QACZ,GAAG,EAAE,MAAM,CAAA;KACZ,CAAA;IACD,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,GAAG,CAAC,EAAE,MAAM,CAAA;CACb;AAED,MAAM,WAAW,oBAAoB;IACnC,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,CAAA;IAC/B,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,kBAAkB,CAAC,EAAE,MAAM,EAAE,CAAA;IAC7B,uBAAuB,CAAC,EAAE,MAAM,EAAE,CAAA;IAClC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { Constraint, DatasetDistribution, GraphicOverview, Individual, Keyword,
|
|
1
|
+
import { Constraint, DatasetDistribution, GraphicOverview, Individual, Keyword, 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';
|
|
4
5
|
export declare function extractCharacterString(): ChainableFunction<XmlElement, string>;
|
|
5
6
|
export declare function extractDateTime(): ChainableFunction<XmlElement, Date>;
|
|
6
7
|
export declare function extractUrl(): ChainableFunction<XmlElement, URL>;
|
|
@@ -39,7 +40,7 @@ export declare function readTitle(rootEl: XmlElement): string;
|
|
|
39
40
|
export declare function readAbstract(rootEl: XmlElement): string;
|
|
40
41
|
export declare function readContacts(rootEl: XmlElement): Individual[];
|
|
41
42
|
export declare function readContactsForResource(rootEl: XmlElement): Individual[];
|
|
42
|
-
export declare function readThesaurus(rootEl: XmlElement):
|
|
43
|
+
export declare function readThesaurus(rootEl: XmlElement): ThesaurusModel;
|
|
43
44
|
export declare function readKeywordGroup(rootEl: XmlElement): Keyword[];
|
|
44
45
|
export declare function readKeywords(rootEl: XmlElement): Keyword[];
|
|
45
46
|
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,
|
|
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;AAMrB,OAAO,EAAE,cAAc,EAAE,MAAM,8DAA8D,CAAA;AAE7F,wBAAgB,sBAAsB,IAAI,iBAAiB,CACzD,UAAU,EACV,MAAM,CACP,CAQA;AAED,wBAAgB,eAAe,IAAI,iBAAiB,CAAC,UAAU,EAAE,IAAI,CAAC,CASrE;AAED,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gB,YAAY,CAAC,MAAM,EAAE,UAAU,GAAG,UAAU,EAAE,CAM7D;AAGD,wBAAgB,aAAa,CAAC,MAAM,EAAE,UAAU,GAAG,MAAM,EAAE,CAM1D;AAED,wBAAgB,yBAAyB,CACvC,MAAM,EAAE,UAAU,GACjB,yBAAyB,GAAG,IAAI,CAUlC;AAED,wBAAgB,aAAa,CAAC,MAAM,EAAE,UAAU,GAAG,eAAe,EAAE,CAenE;AAED,wBAAgB,WAAW,CAAC,MAAM,EAAE,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/thesaurus';
|
|
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,iEAAiE,CAAA;AAE7F,wBAAgB,iCAAiC,CAC/C,QAAQ,EAAE,MAAM,GACf,WAAW,CAWb"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { CatalogRecord, Constraint, DatasetDistribution, DatasetRecord, DatasetServiceDistribution, Individual, Keyword,
|
|
1
|
+
import { CatalogRecord, Constraint, DatasetDistribution, DatasetRecord, DatasetServiceDistribution, Individual, Keyword, 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';
|
|
4
5
|
export declare function writeCharacterString(text: string): ChainableFunction<XmlElement, XmlElement>;
|
|
5
6
|
export declare function writeLinkage(url: URL): ChainableFunction<XmlElement, XmlElement>;
|
|
6
7
|
export declare function writeAnchor(url: URL, text?: string): ChainableFunction<XmlElement, XmlElement>;
|
|
@@ -15,7 +16,7 @@ export declare function appendResponsibleParty(contact: Individual): ChainableFu
|
|
|
15
16
|
export declare function updateCitationDate(date: Date, type: 'revision' | 'creation' | 'publication'): ChainableFunction<XmlElement, XmlElement>;
|
|
16
17
|
export declare function appendCitationDate(date: Date, type: 'revision' | 'creation' | 'publication'): ChainableFunction<XmlElement, XmlElement>;
|
|
17
18
|
export declare function removeKeywords(): ChainableFunction<XmlElement, XmlElement>;
|
|
18
|
-
export declare function createThesaurus(thesaurus:
|
|
19
|
+
export declare function createThesaurus(thesaurus: ThesaurusModel): ChainableFunction<void, XmlElement>;
|
|
19
20
|
export declare function appendKeywords(keywords: Keyword[]): ChainableFunction<XmlElement, XmlElement>;
|
|
20
21
|
export declare function createConstraint(constraint: Constraint, type: 'legal' | 'security' | 'other'): ChainableFunction<void, XmlElement>;
|
|
21
22
|
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,
|
|
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;AAGrB,OAAO,EAAE,cAAc,EAAE,MAAM,8DAA8D,CAAA;AAE7F,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,G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AAa,EACrB,MAAM,EAAE,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 { Keyword, UserFeedback, UserFeedbackViewModel } from '../../../../../../../libs/common/domain/src/lib/model/record';
|
|
6
|
+
import { KeywordApiResponse, ThesaurusApiResponse } from '../../../../../../../libs/api/metadata-converter/src';
|
|
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
|
+
keywordsFromApi(keywords: KeywordApiResponse[], thesaurus: ThesaurusApiResponse[], lang3?: string): Keyword[];
|
|
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,EACL,OAAO,EACP,YAAY,EACZ,qBAAqB,EACtB,MAAM,8DAA8D,CAAA;AACrE,OAAO,EACL,kBAAkB,EAClB,oBAAoB,EACrB,MAAM,sDAAsD,CAAA;;AAG7D,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,eAAe,CACb,QAAQ,EAAE,kBAAkB,EAAE,EAC9B,SAAS,EAAE,oBAAoB,EAAE,EACjC,KAAK,CAAC,EAAE,MAAM,GACb,OAAO,EAAE;IAiCZ,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;yCA1GtB,iBAAiB;6CAAjB,iBAAiB;CAoH7B"}
|
|
@@ -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 { Organization, UserFeedback } from '../../../../../../../libs/common/domain/src/lib/model/record';
|
|
5
|
+
import { Keyword, 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';
|
|
8
7
|
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,6 +16,7 @@ export declare class Gn4PlatformService implements PlatformServiceInterface {
|
|
|
16
16
|
private registriesApiService;
|
|
17
17
|
private langService;
|
|
18
18
|
private userfeedbackApiService;
|
|
19
|
+
private httpClient;
|
|
19
20
|
private readonly type;
|
|
20
21
|
private readonly me$;
|
|
21
22
|
private readonly users$;
|
|
@@ -27,8 +28,8 @@ export declare class Gn4PlatformService implements PlatformServiceInterface {
|
|
|
27
28
|
* A map of already loaded thesauri (groups of keywords); the key is a URI
|
|
28
29
|
* @private
|
|
29
30
|
*/
|
|
30
|
-
private
|
|
31
|
-
constructor(siteApiService: SiteApiService, meApi: MeApiService, usersApi: UsersApiService, mapper: Gn4PlatformMapper, toolsApiService: ToolsApiService, registriesApiService: RegistriesApiService, langService: LangService, userfeedbackApiService: UserfeedbackApiService);
|
|
31
|
+
private keywordsByThesauri;
|
|
32
|
+
constructor(siteApiService: SiteApiService, meApi: MeApiService, usersApi: UsersApiService, mapper: Gn4PlatformMapper, toolsApiService: ToolsApiService, registriesApiService: RegistriesApiService, langService: LangService, userfeedbackApiService: UserfeedbackApiService, httpClient: HttpClient);
|
|
32
33
|
getType(): string;
|
|
33
34
|
getApiVersion(): Observable<string>;
|
|
34
35
|
getMe(): Observable<UserModel>;
|
|
@@ -37,7 +38,9 @@ export declare class Gn4PlatformService implements PlatformServiceInterface {
|
|
|
37
38
|
getUsersByOrganization(organisation: Organization): Observable<UserModel[]>;
|
|
38
39
|
getUsers(): Observable<UserModel[]>;
|
|
39
40
|
translateKey(key: string): Observable<string>;
|
|
40
|
-
|
|
41
|
+
private allThesaurus$;
|
|
42
|
+
searchKeywords(query: string): Observable<Keyword[]>;
|
|
43
|
+
getKeywordsByUri(uri: string): Observable<Keyword[]>;
|
|
41
44
|
getUserFeedbacks(uuid: string): Observable<UserFeedback[]>;
|
|
42
45
|
postUserFeedbacks(userFeedback: UserFeedback): Observable<void>;
|
|
43
46
|
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,EAAgC,MAAM,MAAM,CAAA;AAE/D,OAAO,EACL,YAAY,EACZ,oBAAoB,EACpB,cAAc,EAEd,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,OAAO,EACP,YAAY,EACZ,YAAY,EACb,MAAM,8DAA8D,CAAA;AACrE,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAA;AAEzD,OAAO,EAAE,WAAW,EAAE,MAAM,yCAAyC,CAAA;AACrE,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;;AAQjD,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;IAC5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CpD,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG,UAAU,CAAC,YAAY,EAAE,CAAC;IAY1D,iBAAiB,CAAC,YAAY,EAAE,YAAY,GAAG,UAAU,CAAC,IAAI,CAAC;yCAjMpD,kBAAkB;6CAAlB,kBAAkB;CA2M9B"}
|
|
@@ -1,6 +1,7 @@
|
|
|
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';
|
|
4
5
|
type Uuid = string;
|
|
5
6
|
export type UpdateFrequencyCode = 'unknown' | 'notPlanned' | 'asNeeded' | 'irregular' | 'continual' | 'periodic';
|
|
6
7
|
export type UpdateFrequencyCustom = {
|
|
@@ -16,16 +17,12 @@ export type Constraint = {
|
|
|
16
17
|
url?: URL;
|
|
17
18
|
};
|
|
18
19
|
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
|
-
};
|
|
25
20
|
export interface Keyword {
|
|
21
|
+
key?: string;
|
|
26
22
|
label: string;
|
|
23
|
+
description?: string;
|
|
27
24
|
type: KeywordType;
|
|
28
|
-
thesaurus?:
|
|
25
|
+
thesaurus?: ThesaurusModel;
|
|
29
26
|
}
|
|
30
27
|
export type LanguageCode = string;
|
|
31
28
|
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;AACvC,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAE1D,KAAK,IAAI,GAAG,MAAM,CAAA;AASlB,MAAM,MAAM,mBAAmB,GAC3B,SAAS,GACT,YAAY,GACZ,UAAU,GACV,WAAW,GACX,WAAW,GACX,UAAU,CAAA;AAOd,MAAM,MAAM,qBAAqB,GAAG;IAClC,YAAY,EAAE,MAAM,CAAA;IACpB,GAAG,EAAE,KAAK,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,CAAA;CACvC,CAAA;AACD,MAAM,MAAM,eAAe,GAAG,mBAAmB,GAAG,qBAAqB,CAAA;AAEzE,MAAM,MAAM,UAAU,GAAG,SAAS,GAAG,SAAS,CAAA;AAQ9C,eAAO,MAAM,kBAAkB,UAM9B,CAAA;AACD,MAAM,MAAM,YAAY,GAAG,OAAO,kBAAkB,CAAC,MAAM,CAAC,CAAA;AAE5D,MAAM,MAAM,UAAU,GAAG;IACvB,IAAI,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,GAAG,CAAA;CACV,CAAA;AAED,MAAM,MAAM,yBAAyB,GACjC,MAAM,GACN,QAAQ,GACR,KAAK,GACL,OAAO,GACP,OAAO,CAAA;AAEX,MAAM,WAAW,OAAO;IACtB,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,IA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;IAC/C,IAAI,EAAE,SAAS,CAAA;IACf,MAAM,EAAE,YAAY,CAAA;IACpB,OAAO,EAAE,MAAM,CAAA;IACf,aAAa,EAAE,KAAK,CAAC,mBAAmB,CAAC,CAAA;IACzC,cAAc,EAAE,KAAK,CAAC,oBAAoB,CAAC,CAAA;IAC3C,eAAe,EAAE,KAAK,CAAC,qBAAqB,CAAC,CAAA;IAC7C,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,7 +1,14 @@
|
|
|
1
|
-
export
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
export type KeywordType = 'place' | 'temporal' | 'theme' | 'other';
|
|
2
|
+
export interface ThesaurusModel {
|
|
3
|
+
id: string;
|
|
4
|
+
name?: string;
|
|
5
|
+
url?: URL;
|
|
6
|
+
thesaurusKey?: string;
|
|
7
|
+
definition?: string;
|
|
8
|
+
definitions?: object;
|
|
9
|
+
uri?: string;
|
|
10
|
+
value?: string;
|
|
11
|
+
values?: object;
|
|
12
|
+
type?: KeywordType;
|
|
5
13
|
}
|
|
6
|
-
export type ThesaurusModel = ThesaurusItemModel[];
|
|
7
14
|
//# 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,WAAW,
|
|
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,MAAM,WAAW,GAAG,OAAO,GAAG,UAAU,GAAG,OAAO,GAAG,OAAO,CAAA;AAElE,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,GAAG,CAAC,EAAE,GAAG,CAAA;IACT,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,IAAI,CAAC,EAAE,WAAW,CAAA;CACnB"}
|
|
@@ -1,8 +1,7 @@
|
|
|
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
|
|
5
|
-
import { UserFeedback } from './model/record';
|
|
4
|
+
import { Keyword, UserFeedback } from './model/record';
|
|
6
5
|
export declare abstract class PlatformServiceInterface {
|
|
7
6
|
abstract getType(): string;
|
|
8
7
|
abstract getApiVersion(): Observable<string>;
|
|
@@ -12,7 +11,8 @@ export declare abstract class PlatformServiceInterface {
|
|
|
12
11
|
abstract getUsersByOrganization(organisation: Organization): Observable<UserModel[]>;
|
|
13
12
|
abstract getOrganizations(): Observable<Organization[]>;
|
|
14
13
|
abstract translateKey(key: string): Observable<string>;
|
|
15
|
-
abstract
|
|
14
|
+
abstract searchKeywords(query: string): Observable<Keyword[]>;
|
|
15
|
+
abstract getKeywordsByUri(uri: string): Observable<Keyword[]>;
|
|
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,
|
|
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;AAEtD,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,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,UAAU,CAAC,OAAO,EAAE,CAAC;IAC7D,QAAQ,CAAC,gBAAgB,CAAC,GAAG,EAAE,MAAM,GAAG,UAAU,CAAC,OAAO,EAAE,CAAC;IAC7D,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"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { FormControl } from '@angular/forms';
|
|
3
|
+
import { KeywordType, ThesaurusModel } from '../../../../../../../../../libs/common/domain/src/lib/model/thesaurus';
|
|
4
|
+
import { PlatformServiceInterface } from '../../../../../../../../../libs/common/domain/src/lib/platform.service.interface';
|
|
5
|
+
import { Observable } from 'rxjs';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class FormFieldKeywordsComponent implements OnInit {
|
|
8
|
+
private platformService;
|
|
9
|
+
control: FormControl<any>;
|
|
10
|
+
itemSelected: EventEmitter<string>;
|
|
11
|
+
inputSubmitted: EventEmitter<string>;
|
|
12
|
+
searchInputValue$: Observable<void | {
|
|
13
|
+
title: string;
|
|
14
|
+
}>;
|
|
15
|
+
allThesaurus$: Observable<any[]>;
|
|
16
|
+
displayWithFn: (item: any) => string;
|
|
17
|
+
autoCompleteAction: (query: string) => Observable<{
|
|
18
|
+
title: string;
|
|
19
|
+
value: ThesaurusModel;
|
|
20
|
+
}[]>;
|
|
21
|
+
constructor(platformService: PlatformServiceInterface);
|
|
22
|
+
ngOnInit(): void;
|
|
23
|
+
handleItemSelection(item: any): void;
|
|
24
|
+
handleInputSubmission(any: string): void;
|
|
25
|
+
handleInputCleared(): Promise<void>;
|
|
26
|
+
addKeyword(item: {
|
|
27
|
+
label: string;
|
|
28
|
+
thesaurus: ThesaurusModel;
|
|
29
|
+
type: KeywordType;
|
|
30
|
+
}): void;
|
|
31
|
+
removeKeyword(index: number): void;
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldKeywordsComponent, never>;
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldKeywordsComponent, "gn-ui-form-field-keywords", never, { "control": { "alias": "control"; "required": false; }; }, { "itemSelected": "itemSelected"; "inputSubmitted": "inputSubmitted"; }, never, never, true, never>;
|
|
34
|
+
}
|
|
35
|
+
//# sourceMappingURL=form-field-keywords.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form-field-keywords.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,YAAY,EAEZ,MAAM,EAEP,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAC5C,OAAO,EACL,WAAW,EACX,cAAc,EACf,MAAM,uEAAuE,CAAA;AAC9E,OAAO,EAAE,wBAAwB,EAAE,MAAM,kFAAkF,CAAA;AAM3H,OAAO,EAAE,UAAU,EAAO,MAAM,MAAM,CAAA;;AAEtC,qBAaa,0BAA2B,YAAW,MAAM;IA0B3C,OAAO,CAAC,eAAe;IAzB1B,OAAO,EAAE,WAAW,CAAC,GAAG,CAAC,CAAA;IACxB,YAAY,uBAA6B;IACzC,cAAc,uBAA6B;IACrD,iBAAiB,EAAE,UAAU,CAAC,IAAI,GAAG;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAA;IACvD,aAAa,EAAE,UAAU,CAAC,GAAG,EAAE,CAAC,CAAA;IAEhC,aAAa,wBAKZ;IAED,kBAAkB,UAAW,MAAM;;;SAUlC;gBAEmB,eAAe,EAAE,wBAAwB;IAE7D,QAAQ,IAAI,IAAI;IAKhB,mBAAmB,CAAC,IAAI,KAAA;IAQxB,qBAAqB,CAAC,GAAG,EAAE,MAAM;IAU3B,kBAAkB;IAIxB,UAAU,CAAC,IAAI,EAAE;QACf,KAAK,EAAE,MAAM,CAAA;QACb,SAAS,EAAE,cAAc,CAAA;QACzB,IAAI,EAAE,WAAW,CAAA;KAClB;IAmBD,aAAa,CAAC,KAAK,EAAE,MAAM;yCA9EhB,0BAA0B;2CAA1B,0BAA0B;CAmFtC"}
|
package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.d.ts
CHANGED
|
@@ -27,6 +27,7 @@ export declare class FormFieldComponent {
|
|
|
27
27
|
get isResourceUpdated(): boolean;
|
|
28
28
|
get isUpdateFrequency(): boolean;
|
|
29
29
|
get isTemporalExtents(): boolean;
|
|
30
|
+
get isKeywords(): boolean;
|
|
30
31
|
get withoutWrapper(): boolean;
|
|
31
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldComponent, never>;
|
|
32
33
|
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;;AAIpD,qBA2Ba,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;IACD,IAAI,UAAU,YAEb;IAED,IAAI,cAAc,YAEjB;yCAzFU,kBAAkB;2CAAlB,kBAAkB;CA0F9B"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export * from './form-field-keywords/form-field-keywords.component';
|
|
1
2
|
export * from './form-field-license/form-field-license.component';
|
|
2
3
|
export * from './form-field-resource-updated/form-field-resource-updated.component';
|
|
3
4
|
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,mDAAmD,CAAA;AACjE,cAAc,qEAAqE,CAAA;AACnF,cAAc,qEAAqE,CAAA;
|
|
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,qDAAqD,CAAA;AACnE,cAAc,mDAAmD,CAAA;AACjE,cAAc,qEAAqE,CAAA;AACnF,cAAc,qEAAqE,CAAA;AACnF,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":";;;;;;;;;;;;;;AAmBA,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,kBAmE5B,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,CAA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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 "../../../inputs/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,+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"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/ui/inputs/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,2CAA2C,CAAA;AACzD,cAAc,6BAA6B,CAAA;AAC3C,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"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class BadgeComponent {
|
|
4
|
+
clickable?: boolean;
|
|
5
|
+
removable?: boolean;
|
|
6
|
+
badgeRemoveClicked: EventEmitter<void>;
|
|
7
|
+
removeBadge(): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BadgeComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BadgeComponent, "gn-ui-badge", never, { "clickable": { "alias": "clickable"; "required": false; }; "removable": { "alias": "removable"; "required": false; }; }, { "badgeRemoveClicked": "badgeRemoveClicked"; }, never, ["*"], true, never>;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=badge.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"badge.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/inputs/src/lib/badge/badge.component.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,YAAY,EAGb,MAAM,eAAe,CAAA;;AAGtB,qBAQa,cAAc;IAChB,SAAS,CAAC,UAAQ;IAClB,SAAS,CAAC,UAAQ;IACjB,kBAAkB,qBAA2B;IAEvD,WAAW;yCALA,cAAc;2CAAd,cAAc;CAQ1B"}
|
|
@@ -33,9 +33,10 @@ 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";
|
|
36
37
|
export declare class UiInputsModule {
|
|
37
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<UiInputsModule, never>;
|
|
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]>;
|
|
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, typeof i35.BadgeComponent], [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, typeof i35.BadgeComponent]>;
|
|
39
40
|
static ɵinj: i0.ɵɵInjectorDeclaration<UiInputsModule>;
|
|
40
41
|
}
|
|
41
42
|
//# 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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqCA,qBA+Da,cAAc;yCAAd,cAAc;0CAAd,cAAc;0CAAd,cAAc;CAAG"}
|
|
@@ -1,7 +1,6 @@
|
|
|
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';
|
|
5
4
|
export * from './lib/color-scale/color-scale.component';
|
|
6
5
|
export * from './lib/popup-alert/popup-alert.component';
|
|
7
6
|
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,
|
|
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"}
|
package/package.json
CHANGED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export interface KeywordApiResponse {
|
|
2
|
+
values?: {
|
|
3
|
+
eng: string
|
|
4
|
+
}
|
|
5
|
+
definitions?: {
|
|
6
|
+
eng: string
|
|
7
|
+
}
|
|
8
|
+
coordEast?: string
|
|
9
|
+
coordWest?: string
|
|
10
|
+
coordSouth?: string
|
|
11
|
+
coordNorth?: string
|
|
12
|
+
thesaurusKey?: string
|
|
13
|
+
definition?: string
|
|
14
|
+
value?: string
|
|
15
|
+
uri?: string
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export interface ThesaurusApiResponse {
|
|
19
|
+
key?: string
|
|
20
|
+
dname?: string
|
|
21
|
+
description?: string[] | string
|
|
22
|
+
filename?: string
|
|
23
|
+
title?: string
|
|
24
|
+
multilingualTitles?: string[]
|
|
25
|
+
dublinCoreMultilinguals?: string[]
|
|
26
|
+
date?: string
|
|
27
|
+
url?: string
|
|
28
|
+
defaultNamespace?: string
|
|
29
|
+
type?: string
|
|
30
|
+
activated?: string
|
|
31
|
+
}
|
|
@@ -4,7 +4,6 @@ import {
|
|
|
4
4
|
GraphicOverview,
|
|
5
5
|
Individual,
|
|
6
6
|
Keyword,
|
|
7
|
-
KeywordThesaurus,
|
|
8
7
|
Organization,
|
|
9
8
|
RecordKind,
|
|
10
9
|
RecordStatus,
|
|
@@ -41,6 +40,7 @@ import { getKeywordTypeFromKeywordTypeCode } from './utils/keyword.mapper'
|
|
|
41
40
|
import { getRoleFromRoleCode } from './utils/role.mapper'
|
|
42
41
|
import { getStatusFromStatusCode } from './utils/status.mapper'
|
|
43
42
|
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): ThesaurusModel {
|
|
613
613
|
if (!rootEl) return null
|
|
614
614
|
|
|
615
615
|
const findIdentifier = findNestedElement(
|