geonetwork-ui 2.5.0-dev.17046547b → 2.5.0-dev.1f2cf2cee
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/libs/api/repository/src/lib/gn4/gn4-repository.mjs +4 -8
- package/esm2022/libs/feature/editor/src/lib/components/constraint-card/constraint-card.component.mjs +2 -2
- package/esm2022/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.mjs +2 -2
- package/esm2022/libs/feature/editor/src/lib/components/import-record/import-record.component.mjs +5 -5
- package/esm2022/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.mjs +5 -3
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts/form-field-contacts.component.mjs +2 -2
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.mjs +9 -12
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-link-resources/form-field-online-link-resources.component.mjs +2 -2
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-resources/form-field-online-resources.component.mjs +2 -2
- package/esm2022/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.mjs +1 -1
- package/esm2022/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.mjs +12 -3
- package/esm2022/libs/ui/elements/src/lib/image-input/image-input.component.mjs +7 -8
- package/esm2022/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.mjs +23 -3
- package/esm2022/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.mjs +53 -7
- package/esm2022/libs/ui/inputs/src/lib/file-input/file-input.component.mjs +2 -2
- package/esm2022/libs/ui/inputs/src/lib/url-input/url-input.component.mjs +10 -3
- package/esm2022/libs/ui/search/src/lib/record-preview-row/record-preview-row.component.mjs +3 -3
- package/esm2022/libs/ui/widgets/src/lib/progress-bar/progress-bar.component.mjs +10 -3
- package/esm2022/translations/de.json +1 -1
- package/esm2022/translations/en.json +1 -1
- package/esm2022/translations/fr.json +1 -1
- package/esm2022/translations/it.json +1 -1
- package/fesm2022/geonetwork-ui.mjs +138 -60
- package/fesm2022/geonetwork-ui.mjs.map +1 -1
- package/libs/api/repository/src/lib/gn4/gn4-repository.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.d.ts +1 -0
- package/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.d.ts +1 -0
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.d.ts.map +1 -1
- package/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.d.ts +4 -1
- package/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/image-input/image-input.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.d.ts +8 -1
- package/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/url-input/url-input.component.d.ts +5 -3
- package/libs/ui/inputs/src/lib/url-input/url-input.component.d.ts.map +1 -1
- package/libs/ui/widgets/src/lib/progress-bar/progress-bar.component.d.ts +1 -1
- package/libs/ui/widgets/src/lib/progress-bar/progress-bar.component.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/libs/api/repository/src/lib/gn4/gn4-repository.ts +3 -11
- package/src/libs/common/fixtures/src/lib/records.fixtures.ts +90 -0
- package/src/libs/feature/editor/src/lib/components/import-record/import-record.component.ts +3 -3
- package/src/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.html +1 -0
- package/src/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.ts +2 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.html +1 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.ts +10 -11
- package/src/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.html +2 -0
- package/src/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.ts +6 -0
- package/src/libs/ui/elements/src/lib/image-input/image-input.component.html +8 -8
- package/src/libs/ui/elements/src/lib/image-input/image-input.component.ts +4 -6
- package/src/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.html +21 -9
- package/src/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.ts +13 -0
- package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.html +36 -19
- package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.ts +43 -2
- package/src/libs/ui/inputs/src/lib/url-input/url-input.component.ts +8 -1
- package/src/libs/ui/search/src/lib/record-preview-row/record-preview-row.component.html +1 -1
- package/src/libs/ui/widgets/src/lib/progress-bar/progress-bar.component.html +36 -11
- package/src/libs/ui/widgets/src/lib/progress-bar/progress-bar.component.ts +9 -1
- package/translations/de.json +1 -1
- package/translations/en.json +1 -1
- package/translations/fr.json +1 -1
- package/translations/it.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gn4-repository.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/api/repository/src/lib/gn4/gn4-repository.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EAGX,MAAM,sBAAsB,CAAA;AAE7B,OAAO,EAGL,YAAY,EAGb,MAAM,mDAAmD,CAAA;AAE1D,OAAO,EACL,aAAa,EACb,qBAAqB,EACtB,MAAM,2DAA2D,CAAA;AAClE,OAAO,EACL,YAAY,EACZ,kBAAkB,EAClB,YAAY,EACb,MAAM,2DAA2D,CAAA;AAClE,OAAO,EACL,YAAY,EACZ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AE,CAAC;IAgBxE,SAAS,CAAC,MAAM,EAAE,kBAAkB,GAAG,UAAU,CAAC,YAAY,CAAC;IA2B/D,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,UAAU,CAAC,aAAa,CAAC;IAiBrD,0BAA0B,CAAC,gBAAgB,EAAE,MAAM,GAAG,UAAU,CAAC,OAAO,CAAC;IAQzE,aAAa,CAAC,gBAAgB,EAAE,MAAM,GAAG,UAAU,CAAC,OAAO,CAAC;IAQ5D,oBAAoB,CAClB,gBAAgB,EAAE,MAAM,GACvB,UAAU,CAAC,CAAC,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;IAkBtD,wBAAwB,CACtB,gBAAgB,EAAE,MAAM,GACvB,UAAU,CAAC,CAAC,aAAa,EAAE,MAAM,EAAE,IAAI,CAAC,GAAG,IAAI,CAAC;IAmCnD,UAAU,CACR,MAAM,EAAE,aAAa,EACrB,qBAAqB,CAAC,EAAE,MAAM,EAC9B,YAAY,UAAO,GAClB,UAAU,CAAC,MAAM,CAAC;IAkCrB,uBAAuB,CAAC,iBAAiB,EAAE,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"gn4-repository.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/api/repository/src/lib/gn4/gn4-repository.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EAGX,MAAM,sBAAsB,CAAA;AAE7B,OAAO,EAGL,YAAY,EAGb,MAAM,mDAAmD,CAAA;AAE1D,OAAO,EACL,aAAa,EACb,qBAAqB,EACtB,MAAM,2DAA2D,CAAA;AAClE,OAAO,EACL,YAAY,EACZ,kBAAkB,EAClB,YAAY,EACb,MAAM,2DAA2D,CAAA;AAClE,OAAO,EACL,YAAY,EACZ,aAAa,EACd,MAAM,wEAAwE,CAAA;AAC/E,OAAO,EAAE,wBAAwB,EAAE,MAAM,yEAAyE,CAAA;AAClH,OAAO,EAAE,0BAA0B,EAAE,MAAM,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A4B;yCA3dzB,aAAa;6CAAb,aAAa;CA8dzB"}
|
|
@@ -11,6 +11,7 @@ export declare class OnlineServiceResourceInputComponent {
|
|
|
11
11
|
modifyMode?: boolean;
|
|
12
12
|
serviceChange: EventEmitter<DatasetServiceDistribution>;
|
|
13
13
|
errorMessage: boolean;
|
|
14
|
+
resetUrlOnChange: number;
|
|
14
15
|
layersSubject: BehaviorSubject<{
|
|
15
16
|
name: string;
|
|
16
17
|
title: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"online-service-resource-input.component.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,iBAAiB,EAEjB,YAAY,EAGb,MAAM,eAAe,CAAA;AAKtB,OAAO,EACL,0BAA0B,EAC1B,eAAe,EAChB,MAAM,8DAA8D,CAAA;AAerE,OAAO,EACL,eAAe,EAGf,UAAU,EAEX,MAAM,MAAM,CAAA;;AAOb,qBAyBa,mCAAmC;
|
|
1
|
+
{"version":3,"file":"online-service-resource-input.component.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,iBAAiB,EAEjB,YAAY,EAGb,MAAM,eAAe,CAAA;AAKtB,OAAO,EACL,0BAA0B,EAC1B,eAAe,EAChB,MAAM,8DAA8D,CAAA;AAerE,OAAO,EACL,eAAe,EAGf,UAAU,EAEX,MAAM,MAAM,CAAA;;AAOb,qBAyBa,mCAAmC;IAoDlC,OAAO,CAAC,GAAG;IAnDvB,QAAQ,EAAE,0BAA0B,CAAA;IACpC,IAAa,OAAO,CAAC,OAAO,EAAE,0BAA0B,EAEvD;IACQ,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,UAAQ;IACjB,UAAU,CAAC,UAAQ;IAClB,aAAa,EAAE,YAAY,CAAC,0BAA0B,CAAC,CAC7C;IAEpB,YAAY,UAAQ;IACpB,gBAAgB,SAAgB;IAEhC,aAAa;cAA+B,MAAM;eAAS,MAAM;SAAS;IAC1E,OAAO,EAAE,UAAU,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC,CACnB;IAEnC,eAAe,EAAE;QACf,KAAK,EAAE,MAAM,CAAA;QACb,KAAK,EAAE,eAAe,CAAA;KACvB,EAAE,CA6BF;gBAEmB,GAAG,EAAE,iBAAiB;IAE1C,IAAI,qBAAqB,YAIxB;IAED,oBAAoB,CAAC,GAAG,EAAE,MAAM;IAK1B,iBAAiB,CAAC,GAAG,EAAE,MAAM;IAiBnC,kBAAkB;IAMlB,qBAAqB;IAMrB,MAAM;IASN,wBAAwB,IAAI,MAAM;IAQlC;;OAEG;IACH,aAAa,CAAC,IAAI,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE;IAMnD;;OAEG;IACH,kBAAkB,UAAW,MAAM;cA5GP,MAAM;eAAS,MAAM;SAqHhD;IAED;;OAEG;IACH,iBAAiB,CAAC,GAAG,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE;yCAzI3C,mCAAmC;2CAAnC,mCAAmC;CA6I/C"}
|
|
@@ -10,6 +10,7 @@ export declare class FormFieldContactsForResourceComponent implements OnChanges,
|
|
|
10
10
|
value: Individual[];
|
|
11
11
|
valueChange: EventEmitter<Individual[]>;
|
|
12
12
|
contactsForRessourceByRole: Map<Role, Individual[]>;
|
|
13
|
+
roleValues: string[];
|
|
13
14
|
rolesToPick: Role[];
|
|
14
15
|
roleSectionsToDisplay: Role[];
|
|
15
16
|
allOrganizations: Map<string, Organization>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-field-contacts-for-resource.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,YAAY,EAEZ,SAAS,EACT,MAAM,EAEP,MAAM,eAAe,CAAA;AACtB,OAAO,EACL,UAAU,EACV,YAAY,EACZ,IAAI,EAEL,MAAM,oEAAoE,CAAA;AAC3E,OAAO,EAAE,SAAS,EAAE,MAAM,kEAAkE,CAAA;AAC5F,OAAO,EAAE,6BAA6B,EAAE,MAAM,uFAAuF,CAAA;AACrI,OAAO,EAAE,wBAAwB,EAAE,MAAM,kFAAkF,CAAA;;
|
|
1
|
+
{"version":3,"file":"form-field-contacts-for-resource.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,YAAY,EAEZ,SAAS,EACT,MAAM,EAEP,MAAM,eAAe,CAAA;AACtB,OAAO,EACL,UAAU,EACV,YAAY,EACZ,IAAI,EAEL,MAAM,oEAAoE,CAAA;AAC3E,OAAO,EAAE,SAAS,EAAE,MAAM,kEAAkE,CAAA;AAC5F,OAAO,EAAE,6BAA6B,EAAE,MAAM,uFAAuF,CAAA;AACrI,OAAO,EAAE,wBAAwB,EAAE,MAAM,kFAAkF,CAAA;;AA0B3H,qBAwBa,qCACX,YAAW,SAAS,EAAE,MAAM;IAiB1B,OAAO,CAAC,wBAAwB;IAChC,OAAO,CAAC,6BAA6B;IAhB9B,KAAK,EAAE,UAAU,EAAE,CAAA;IAClB,WAAW,EAAE,YAAY,CAAC,UAAU,EAAE,CAAC,CAAqB;IAEtE,0BAA0B,EAAE,GAAG,CAAC,IAAI,EAAE,UAAU,EAAE,CAAC,CAAY;IAC/D,UAAU,WAAa;IAEvB,WAAW,EAAE,IAAI,EAAE,CAElB;IAED,qBAAqB,EAAE,IAAI,EAAE,CAAK;IAElC,gBAAgB,EAAE,GAAG,CAAC,MAAM,EAAE,YAAY,CAAC,CAAY;gBAG7C,wBAAwB,EAAE,wBAAwB,EAClD,6BAA6B,EAAE,6BAA6B;IAGtE,WAAW;IAML,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC;IAW/B,gBAAgB,CAAC,SAAS,EAAE,MAAM;IAKlC,iBAAiB;IAMjB,0BAA0B;IAsB1B,2BAA2B,CAAC,mBAAmB,EAAE,UAAU,EAAE;IAY7D,aAAa,CAAC,KAAK,EAAE,MAAM;IAK3B,qBAAqB,CAAC,KAAK,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,IAAI;IAYlD,SAAS,CAAC,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM;IAI3C;;OAEG;IACH,aAAa,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,MAAM,CAKlC;IAER;;OAEG;IACH,kBAAkB,UAAW,MAAM,4CAUlC;IAED;;OAEG;IACH,UAAU,CAAC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM;yCArI9B,qCAAqC;2CAArC,qCAAqC;CAwJjD"}
|
|
@@ -13,8 +13,10 @@ export declare class FuzzySearchComponent implements OnInit {
|
|
|
13
13
|
autocomplete: AutocompleteComponent;
|
|
14
14
|
autoFocus: boolean;
|
|
15
15
|
forceTrackPosition: boolean;
|
|
16
|
+
enterButton: boolean;
|
|
16
17
|
itemSelected: EventEmitter<CatalogRecord>;
|
|
17
18
|
inputSubmitted: EventEmitter<string>;
|
|
19
|
+
isSearchActive: EventEmitter<boolean>;
|
|
18
20
|
searchInputValue$: Observable<{
|
|
19
21
|
title: string;
|
|
20
22
|
}>;
|
|
@@ -31,7 +33,8 @@ export declare class FuzzySearchComponent implements OnInit {
|
|
|
31
33
|
handleItemSelection(item: AutocompleteItem): void;
|
|
32
34
|
handleInputSubmission(any: string): void;
|
|
33
35
|
handleInputCleared(): Promise<void>;
|
|
36
|
+
handleSearchActive(event: boolean): void;
|
|
34
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<FuzzySearchComponent, never>;
|
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FuzzySearchComponent, "gn-ui-fuzzy-search", never, { "autoFocus": { "alias": "autoFocus"; "required": false; }; "forceTrackPosition": { "alias": "forceTrackPosition"; "required": false; }; }, { "itemSelected": "itemSelected"; "inputSubmitted": "inputSubmitted"; }, never, never, false, never>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FuzzySearchComponent, "gn-ui-fuzzy-search", never, { "autoFocus": { "alias": "autoFocus"; "required": false; }; "forceTrackPosition": { "alias": "forceTrackPosition"; "required": false; }; "enterButton": { "alias": "enterButton"; "required": false; }; }, { "itemSelected": "itemSelected"; "inputSubmitted": "inputSubmitted"; "isSearchActive": "isSearchActive"; }, never, never, false, never>;
|
|
36
39
|
}
|
|
37
40
|
//# sourceMappingURL=fuzzy-search.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fuzzy-search.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,YAAY,EAEZ,MAAM,EAGP,MAAM,eAAe,CAAA;AACtB,OAAO,EACL,qBAAqB,EACrB,gBAAgB,EACjB,MAAM,sCAAsC,CAAA;AAC7C,OAAO,EAAkB,UAAU,EAAE,MAAM,MAAM,CAAA;AAEjD,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AACrD,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAA;AAC/D,OAAO,EAAE,aAAa,EAAE,MAAM,2DAA2D,CAAA;AACzF,OAAO,EAAE,0BAA0B,EAAE,MAAM,sFAAsF,CAAA;;AAGjI,qBAMa,oBAAqB,YAAW,MAAM;
|
|
1
|
+
{"version":3,"file":"fuzzy-search.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.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["../../../../../../src/libs/ui/elements/src/lib/image-input/image-input.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AACjD,OAAO,EAEL,iBAAiB,EAEjB,YAAY,EAGb,MAAM,eAAe,CAAA;;AA2BtB,qBA+Ba,mBAAmB;IA0B5B,OAAO,CAAC,IAAI;IACZ,OAAO,CAAC,EAAE;IA1BH,SAAS,EAAE,MAAM,CAAA;IACjB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAQ;IACzB,UAAU,EAAE,YAAY,CAAC,IAAI,CAAC,CAAqB;IACnD,SAAS,EAAE,YAAY,CAAC,MAAM,CAAC,CAAqB;IACpD,YAAY,EAAE,YAAY,CAAC,IAAI,CAAC,CAAqB;IACrD,MAAM,EAAE,YAAY,CAAC,IAAI,CAAC,CAAqB;IAC/C,aAAa,EAAE,YAAY,CAAC,MAAM,CAAC,CAAqB;IAElE,aAAa,UAAQ;IACrB,YAAY,UAAQ;IACpB,aAAa,UAAQ;IACrB,gBAAgB,UAAQ;IAExB,cAAc,CAAC,EAAE,MAAM,GAAG,KAAK,CAAA;IAC/B,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAEjC,IAAI,kBAAkB,YAErB;gBAGS,IAAI,EAAE,UAAU,EAChB,EAAE,EAAE,iBAAiB;IAG/B,cAAc;IAUd,gBAAgB;IAUhB,mBAAmB,CAAC,aAAa,EAAE,OAAO;IAO1C,eAAe,CAAC,KAAK,EAAE,IAAI,EAAE;
|
|
1
|
+
{"version":3,"file":"image-input.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/elements/src/lib/image-input/image-input.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAs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vB,OAAO,CAAC,aAAa;yCAxJV,mBAAmB;2CAAnB,mBAAmB;CA+J/B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"metadata-quality.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,SAAS,EACT,aAAa,EACd,MAAM,eAAe,CAAA;AACtB,OAAO,EACL,mBAAmB,EAEpB,MAAM,0DAA0D,CAAA;AACjE,OAAO,EAAE,aAAa,EAAE,MAAM,2DAA2D,CAAA;;
|
|
1
|
+
{"version":3,"file":"metadata-quality.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,SAAS,EACT,aAAa,EACd,MAAM,eAAe,CAAA;AACtB,OAAO,EACL,mBAAmB,EAEpB,MAAM,0DAA0D,CAAA;AACjE,OAAO,EAAE,aAAa,EAAE,MAAM,2DAA2D,CAAA;;AAWzF,qBAwBa,wBAAyB,YAAW,SAAS;IAC/C,QAAQ,EAAE,OAAO,CAAC,aAAa,CAAC,CAAA;IAChC,OAAO,UAAQ;IACf,sBAAsB,EAAE,OAAO,CAAA;IAExC,KAAK,EAAE,mBAAmB,EAAE,CAAK;IAEjC,IAAI,YAAY,WAKf;IAED,IAAI,sBAAsB,IAAI,MAAM,CAInC;IAED,OAAO,CAAC,GAAG;IAMX,UAAU;IAaV,WAAW,CAAC,OAAO,EAAE,aAAa,GAAG,IAAI;yCAvC9B,wBAAwB;2CAAxB,wBAAwB;CA4CpC"}
|
|
@@ -7,6 +7,7 @@ export type AutocompleteItem = unknown;
|
|
|
7
7
|
export declare class AutocompleteComponent implements OnInit, AfterViewInit, OnDestroy, OnChanges {
|
|
8
8
|
private cdRef;
|
|
9
9
|
placeholder: string;
|
|
10
|
+
enterButton: boolean;
|
|
10
11
|
action: (value: string) => Observable<AutocompleteItem[]>;
|
|
11
12
|
value?: AutocompleteItem;
|
|
12
13
|
clearOnSelection: boolean;
|
|
@@ -18,6 +19,7 @@ export declare class AutocompleteComponent implements OnInit, AfterViewInit, OnD
|
|
|
18
19
|
itemSelected: EventEmitter<unknown>;
|
|
19
20
|
inputSubmitted: EventEmitter<string>;
|
|
20
21
|
inputCleared: EventEmitter<void>;
|
|
22
|
+
isSearchActive: EventEmitter<boolean>;
|
|
21
23
|
triggerRef: MatAutocompleteTrigger;
|
|
22
24
|
autocomplete: MatAutocomplete;
|
|
23
25
|
inputRef: ElementRef<HTMLInputElement>;
|
|
@@ -31,8 +33,12 @@ export declare class AutocompleteComponent implements OnInit, AfterViewInit, OnD
|
|
|
31
33
|
subscription: Subscription;
|
|
32
34
|
private lastPosition;
|
|
33
35
|
private intervalIdPosition;
|
|
36
|
+
enterBtnPosition: number;
|
|
37
|
+
searchActive: boolean;
|
|
34
38
|
displayWithFn: (item: AutocompleteItem) => string;
|
|
39
|
+
get displayEnterBtn(): boolean;
|
|
35
40
|
displayWithFnInternal: (item?: AutocompleteItem) => string;
|
|
41
|
+
getExtraClass(): string;
|
|
36
42
|
constructor(cdRef: ChangeDetectorRef);
|
|
37
43
|
ngOnChanges(changes: SimpleChanges): void;
|
|
38
44
|
ngOnInit(): void;
|
|
@@ -62,7 +68,8 @@ export declare class AutocompleteComponent implements OnInit, AfterViewInit, OnD
|
|
|
62
68
|
* @param event
|
|
63
69
|
*/
|
|
64
70
|
handleSelection(event: MatAutocompleteSelectedEvent): void;
|
|
71
|
+
handleInput(event: InputEvent): void;
|
|
65
72
|
static ɵfac: i0.ɵɵFactoryDeclaration<AutocompleteComponent, never>;
|
|
66
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AutocompleteComponent, "gn-ui-autocomplete", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "action": { "alias": "action"; "required": false; }; "value": { "alias": "value"; "required": false; }; "clearOnSelection": { "alias": "clearOnSelection"; "required": false; }; "preventCompleteOnSelection": { "alias": "preventCompleteOnSelection"; "required": false; }; "autoFocus": { "alias": "autoFocus"; "required": false; }; "minCharacterCount": { "alias": "minCharacterCount"; "required": false; }; "allowSubmit": { "alias": "allowSubmit"; "required": false; }; "forceTrackPosition": { "alias": "forceTrackPosition"; "required": false; }; "displayWithFn": { "alias": "displayWithFn"; "required": false; }; }, { "itemSelected": "itemSelected"; "inputSubmitted": "inputSubmitted"; "inputCleared": "inputCleared"; }, never, never, true, never>;
|
|
73
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AutocompleteComponent, "gn-ui-autocomplete", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "enterButton": { "alias": "enterButton"; "required": false; }; "action": { "alias": "action"; "required": false; }; "value": { "alias": "value"; "required": false; }; "clearOnSelection": { "alias": "clearOnSelection"; "required": false; }; "preventCompleteOnSelection": { "alias": "preventCompleteOnSelection"; "required": false; }; "autoFocus": { "alias": "autoFocus"; "required": false; }; "minCharacterCount": { "alias": "minCharacterCount"; "required": false; }; "allowSubmit": { "alias": "allowSubmit"; "required": false; }; "forceTrackPosition": { "alias": "forceTrackPosition"; "required": false; }; "displayWithFn": { "alias": "displayWithFn"; "required": false; }; }, { "itemSelected": "itemSelected"; "inputSubmitted": "inputSubmitted"; "inputCleared": "inputCleared"; "isSearchActive": "isSearchActive"; }, never, never, true, never>;
|
|
67
74
|
}
|
|
68
75
|
//# sourceMappingURL=autocomplete.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"autocomplete.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EAEb,iBAAiB,EAEjB,UAAU,EACV,YAAY,EAEZ,SAAS,EACT,SAAS,EACT,MAAM,EAEN,aAAa,EAEd,MAAM,eAAe,CAAA;AACtB,OAAO,EAAuB,kBAAkB,EAAE,MAAM,gBAAgB,CAAA;AACxE,OAAO,EACL,eAAe,EAEf,4BAA4B,EAC5B,sBAAsB,EACvB,MAAM,gCAAgC,CAAA;AACvC,OAAO,EAAgB,UAAU,EAAM,aAAa,EAAE,YAAY,EAAE,MAAM,MAAM,CAAA;;AAwBhF,MAAM,MAAM,gBAAgB,GAAG,OAAO,CAAA;AAEtC,
|
|
1
|
+
{"version":3,"file":"autocomplete.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EAEb,iBAAiB,EAEjB,UAAU,EACV,YAAY,EAEZ,SAAS,EACT,SAAS,EACT,MAAM,EAEN,aAAa,EAEd,MAAM,eAAe,CAAA;AACtB,OAAO,EAAuB,kBAAkB,EAAE,MAAM,gBAAgB,CAAA;AACxE,OAAO,EACL,eAAe,EAEf,4BAA4B,EAC5B,sBAAsB,EACvB,MAAM,gCAAgC,CAAA;AACvC,OAAO,EAAgB,UAAU,EAAM,aAAa,EAAE,YAAY,EAAE,MAAM,MAAM,CAAA;;AAwBhF,MAAM,MAAM,gBAAgB,GAAG,OAAO,CAAA;AAEtC,qBA0Ba,qBACX,YAAW,MAAM,EAAE,aAAa,EAAE,SAAS,EAAE,SAAS;IA6D1C,OAAO,CAAC,KAAK;IA3DhB,WAAW,EAAE,MAAM,CAAA;IACnB,WAAW,UAAQ;IACnB,MAAM,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,UAAU,CAAC,gBAAgB,EAAE,CAAC,CAAA;IACzD,KAAK,CAAC,EAAE,gBAAgB,CAAA;IACxB,gBAAgB,UAAQ;IACxB,0BAA0B,UAAQ;IAClC,SAAS,UAAQ;IACjB,iBAAiB,CAAC,SAAI;IAEtB,WAAW,UAAQ;IACnB,kBAAkB,UAAQ;IACzB,YAAY,wBAAuC;IACnD,cAAc,uBAA6B;IAC3C,YAAY,qBAA2B;IACvC,cAAc,wBAA8B;IACnB,UAAU,EAAE,sBAAsB,CAAA;IACzC,YAAY,EAAE,eAAe,CAAA;IAC/B,QAAQ,EAAE,UAAU,CAAC,gBAAgB,CAAC,CAAA;IAEhE,SAAS,EAAE,OAAO,CAAA;IAClB,OAAO,qBAA2B;IAClC,WAAW,UAAO;IAClB,gBAAgB,8CAAqD;IACrE,eAAe,wBAA+B;IAC9C,KAAK,EAAE,MAAM,GAAG,IAAI,CAAO;IAC3B,YAAY,EAAE,UAAU,CAAC,gBAAgB,EAAE,CAAC,CAAA;IAC5C,YAAY,eAAqB;IACjC,OAAO,CAAC,YAAY,CAAuB;IAC3C,OAAO,CAAC,kBAAkB,CAAoB;IAC9C,gBAAgB,SAAI;IACpB,YAAY,UAAQ;IAEX,aAAa,EAAE,CAAC,IAAI,EAAE,gBAAgB,KAAK,MAAM,CACzC;IAEjB,IAAI,eAAe,YAElB;IAED,qBAAqB,UAAW,gBAAgB,YAG/C;IAED,aAAa,IAAI,MAAM;gBAeH,KAAK,EAAE,iBAAiB;IAC5C,WAAW,CAAC,OAAO,EAAE,aAAa,GAAG,IAAI;IAkBzC,QAAQ,IAAI,IAAI;IAwEhB,eAAe,IAAI,IAAI;IAUvB;;;;OAIG;IACH,OAAO,CAAC,aAAa,CAepB;IAED;;;;OAIG;IACH,qBAAqB;IAMrB,WAAW,IAAI,IAAI;IAQnB,gBAAgB,CAAC,KAAK,EAAE,gBAAgB;IASxC,KAAK,IAAI,IAAI;IAWb,WAAW,CAAC,GAAG,EAAE,MAAM;IAQvB,iBAAiB;IAIjB;;;;;;OAMG;IACH,eAAe,CAAC,KAAK,EAAE,4BAA4B;IAenD,WAAW,CAAC,KAAK,EAAE,UAAU;yCAlQlB,qBAAqB;2CAArB,qBAAqB;CAuQjC"}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { ChangeDetectorRef, EventEmitter } from '@angular/core';
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class UrlInputComponent {
|
|
3
|
+
export declare class UrlInputComponent implements OnChanges {
|
|
4
4
|
private cd;
|
|
5
5
|
set value(v: string);
|
|
6
6
|
extraClass: string;
|
|
7
7
|
placeholder: string;
|
|
8
8
|
disabled: boolean;
|
|
9
9
|
showValidateButton: boolean;
|
|
10
|
+
resetUrlOnChange: number;
|
|
10
11
|
/**
|
|
11
12
|
* This will emit null if the field is emptied
|
|
12
13
|
*/
|
|
@@ -14,10 +15,11 @@ export declare class UrlInputComponent {
|
|
|
14
15
|
uploadClick: EventEmitter<string>;
|
|
15
16
|
inputValue: string;
|
|
16
17
|
constructor(cd: ChangeDetectorRef);
|
|
18
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
17
19
|
handleInput(event: Event): void;
|
|
18
20
|
handleUpload(element: HTMLInputElement): void;
|
|
19
21
|
isValidUrl(url: string): boolean;
|
|
20
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<UrlInputComponent, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UrlInputComponent, "gn-ui-url-input", never, { "value": { "alias": "value"; "required": false; }; "extraClass": { "alias": "extraClass"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "showValidateButton": { "alias": "showValidateButton"; "required": false; }; }, { "valueChange": "valueChange"; "uploadClick": "uploadClick"; }, never, ["*"], true, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UrlInputComponent, "gn-ui-url-input", never, { "value": { "alias": "value"; "required": false; }; "extraClass": { "alias": "extraClass"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "showValidateButton": { "alias": "showValidateButton"; "required": false; }; "resetUrlOnChange": { "alias": "resetUrlOnChange"; "required": false; }; }, { "valueChange": "valueChange"; "uploadClick": "uploadClick"; }, never, ["*"], true, never>;
|
|
22
24
|
}
|
|
23
25
|
//# sourceMappingURL=url-input.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"url-input.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/inputs/src/lib/url-input/url-input.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,iBAAiB,EAEjB,YAAY,
|
|
1
|
+
{"version":3,"file":"url-input.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/inputs/src/lib/url-input/url-input.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,iBAAiB,EAEjB,YAAY,EAEZ,SAAS,EAET,aAAa,EACd,MAAM,eAAe,CAAA;;AAUtB,qBAca,iBAAkB,YAAW,SAAS;IA2BrC,OAAO,CAAC,EAAE;IA1BtB,IAAa,KAAK,CAAC,CAAC,EAAE,MAAM,EAW3B;IACQ,UAAU,SAAK;IACf,WAAW,SAAa;IACxB,QAAQ,EAAE,OAAO,CAAA;IACjB,kBAAkB,UAAO;IACzB,gBAAgB,EAAE,MAAM,CAAA;IAEjC;;OAEG;IACO,WAAW,uBAAoC;IAC/C,WAAW,uBAA6B;IAElD,UAAU,SAAK;gBAEK,EAAE,EAAE,iBAAiB;IAEzC,WAAW,CAAC,OAAO,EAAE,aAAa;IAMlC,WAAW,CAAC,KAAK,EAAE,KAAK;IAWxB,YAAY,CAAC,OAAO,EAAE,gBAAgB;IAMtC,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO;yCApDrB,iBAAiB;2CAAjB,iBAAiB;CA4D7B"}
|
|
@@ -6,7 +6,7 @@ interface ColorScheme {
|
|
|
6
6
|
}
|
|
7
7
|
export declare class ProgressBarComponent {
|
|
8
8
|
value: number;
|
|
9
|
-
type: 'primary' | 'secondary' | 'default';
|
|
9
|
+
type: 'primary' | 'secondary' | 'default' | 'light';
|
|
10
10
|
get progress(): number;
|
|
11
11
|
get color(): ColorScheme;
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProgressBarComponent, never>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"progress-bar.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/widgets/src/lib/progress-bar/progress-bar.component.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"progress-bar.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/widgets/src/lib/progress-bar/progress-bar.component.ts"],"names":[],"mappings":";AAGA,UAAU,WAAW;IACnB,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,EAAE,MAAM,CAAA;IAChB,IAAI,EAAE,MAAM,CAAA;CACb;AAED,qBAOa,oBAAoB;IACtB,KAAK,SAAI;IACT,IAAI,EAAE,SAAS,GAAG,WAAW,GAAG,SAAS,GAAG,OAAO,CAAY;IAExE,IAAI,QAAQ,WAEX;IAED,IAAI,KAAK,IAAI,WAAW,CA2BvB;yCAnCU,oBAAoB;2CAApB,oBAAoB;CAoChC"}
|
package/package.json
CHANGED
|
@@ -352,21 +352,13 @@ export class Gn4Repository implements RecordsRepositoryInterface {
|
|
|
352
352
|
exhaustMap(async (fetchedRecordAsXml: string) => {
|
|
353
353
|
const converter = findConverterForDocument(fetchedRecordAsXml)
|
|
354
354
|
const record = await converter.readRecord(fetchedRecordAsXml)
|
|
355
|
-
const tempId = this.generateTemporaryId()
|
|
356
355
|
|
|
357
356
|
record.title = `${record.title} (Copy)`
|
|
358
|
-
record
|
|
357
|
+
await converter.writeRecord(record, fetchedRecordAsXml)
|
|
359
358
|
|
|
360
|
-
|
|
361
|
-
record,
|
|
362
|
-
fetchedRecordAsXml
|
|
363
|
-
)
|
|
364
|
-
|
|
365
|
-
this.saveRecordToLocalStorage(recordAsXml, record.uniqueIdentifier)
|
|
366
|
-
this._draftsChanged.next()
|
|
367
|
-
|
|
368
|
-
return tempId
|
|
359
|
+
return this.saveRecord(record, '', false)
|
|
369
360
|
}),
|
|
361
|
+
exhaustMap((uuidObservable: Observable<string>) => uuidObservable),
|
|
370
362
|
catchError((error: HttpErrorResponse) => {
|
|
371
363
|
return throwError(() => error)
|
|
372
364
|
})
|
|
@@ -705,6 +705,96 @@ export const duplicateDatasetRecordAsXmlFixture =
|
|
|
705
705
|
</mdb:resourceLineage>
|
|
706
706
|
</mdb:MD_Metadata>`
|
|
707
707
|
|
|
708
|
+
export const importDatasetRecordAsXmlFixture = (): string => `
|
|
709
|
+
<gmd:MD_Metadata
|
|
710
|
+
xmlns:gmd="http://www.isotc211.org/2005/gmd"
|
|
711
|
+
xmlns:gco="http://www.isotc211.org/2005/gco"
|
|
712
|
+
xmlns:srv="http://www.isotc211.org/2005/srv"
|
|
713
|
+
xmlns:gmx="http://www.isotc211.org/2005/gmx"
|
|
714
|
+
xmlns:gts="http://www.isotc211.org/2005/gts"
|
|
715
|
+
xmlns:gsr="http://www.isotc211.org/2005/gsr"
|
|
716
|
+
xmlns:gmi="http://www.isotc211.org/2005/gmi"
|
|
717
|
+
xmlns:gml="http://www.opengis.net/gml/3.2"
|
|
718
|
+
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
719
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.isotc211.org/2005/gmd http://schemas.opengis.net/csw/2.0.2/profiles/apiso/1.0.0/apiso.xsd">
|
|
720
|
+
<gmd:language>
|
|
721
|
+
<gmd:LanguageCode codeList="http://www.loc.gov/standards/iso639-2/" codeListValue="eng"/>
|
|
722
|
+
</gmd:language>
|
|
723
|
+
<gmd:characterSet>
|
|
724
|
+
<gmd:MD_CharacterSetCode codeListValue="utf8" codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_CharacterSetCode"/>
|
|
725
|
+
</gmd:characterSet>
|
|
726
|
+
<gmd:contact>
|
|
727
|
+
<gmd:CI_ResponsibleParty>
|
|
728
|
+
<gmd:individualName gco:nilReason="missing">
|
|
729
|
+
<gco:CharacterString/>
|
|
730
|
+
</gmd:individualName>
|
|
731
|
+
<gmd:organisationName gco:nilReason="missing">
|
|
732
|
+
<gco:CharacterString/>
|
|
733
|
+
</gmd:organisationName>
|
|
734
|
+
<gmd:positionName gco:nilReason="missing">
|
|
735
|
+
<gco:CharacterString/>
|
|
736
|
+
</gmd:positionName>
|
|
737
|
+
<gmd:role>
|
|
738
|
+
<gmd:CI_RoleCode codeListValue="pointOfContact" codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_RoleCode"/>
|
|
739
|
+
</gmd:role>
|
|
740
|
+
</gmd:CI_ResponsibleParty>
|
|
741
|
+
</gmd:contact>
|
|
742
|
+
<gmd:dateStamp>
|
|
743
|
+
<gco:DateTime>2024-05-31T10:18:45.429Z</gco:DateTime>
|
|
744
|
+
</gmd:dateStamp>
|
|
745
|
+
<gmd:metadataStandardName>
|
|
746
|
+
<gco:CharacterString>ISO 19115:2003/19139</gco:CharacterString>
|
|
747
|
+
</gmd:metadataStandardName>
|
|
748
|
+
<gmd:metadataStandardVersion>
|
|
749
|
+
<gco:CharacterString>1.0</gco:CharacterString>
|
|
750
|
+
</gmd:metadataStandardVersion>
|
|
751
|
+
<gmd:identificationInfo>
|
|
752
|
+
<gmd:MD_DataIdentification>
|
|
753
|
+
<gmd:citation>
|
|
754
|
+
<gmd:CI_Citation>
|
|
755
|
+
<gmd:title>
|
|
756
|
+
<gco:CharacterString>Record with no link</gco:CharacterString>
|
|
757
|
+
</gmd:title>
|
|
758
|
+
<gmd:date>
|
|
759
|
+
<gmd:CI_Date>
|
|
760
|
+
<gmd:date>
|
|
761
|
+
<gco:DateTime>2024-05-31T11:00:00+00:00</gco:DateTime>
|
|
762
|
+
</gmd:date>
|
|
763
|
+
<gmd:dateType>
|
|
764
|
+
<gmd:CI_DateTypeCode codeListValue="publication" codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_DateTypeCode"/>
|
|
765
|
+
</gmd:dateType>
|
|
766
|
+
</gmd:CI_Date>
|
|
767
|
+
</gmd:date>
|
|
768
|
+
<gmd:edition gco:nilReason="missing">
|
|
769
|
+
<gco:CharacterString/>
|
|
770
|
+
</gmd:edition>
|
|
771
|
+
</gmd:CI_Citation>
|
|
772
|
+
</gmd:citation>
|
|
773
|
+
<gmd:abstract>
|
|
774
|
+
<gco:CharacterString>Read the abstract and supplemental information provided in the Vector template for more details.</gco:CharacterString>
|
|
775
|
+
</gmd:abstract>
|
|
776
|
+
<gmd:purpose gco:nilReason="missing">
|
|
777
|
+
<gco:CharacterString/>
|
|
778
|
+
</gmd:purpose>
|
|
779
|
+
<gmd:status>
|
|
780
|
+
<gmd:MD_ProgressCode codeListValue="onGoing" codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_ProgressCode"/>
|
|
781
|
+
</gmd:status>
|
|
782
|
+
<gmd:language>
|
|
783
|
+
<gco:CharacterString>eng</gco:CharacterString>
|
|
784
|
+
</gmd:language>
|
|
785
|
+
<gmd:characterSet>
|
|
786
|
+
<gmd:MD_CharacterSetCode codeListValue="utf8" codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_CharacterSetCode"/>
|
|
787
|
+
</gmd:characterSet>
|
|
788
|
+
<gmd:topicCategory>
|
|
789
|
+
<gmd:MD_TopicCategoryCode>boundaries</gmd:MD_TopicCategoryCode>
|
|
790
|
+
</gmd:topicCategory>
|
|
791
|
+
<gmd:supplementalInformation gco:nilReason="missing">
|
|
792
|
+
<gco:CharacterString/>
|
|
793
|
+
</gmd:supplementalInformation>
|
|
794
|
+
</gmd:MD_DataIdentification>
|
|
795
|
+
</gmd:identificationInfo>
|
|
796
|
+
</gmd:MD_Metadata>`
|
|
797
|
+
|
|
708
798
|
export const NATIONAL_KEYWORD = {
|
|
709
799
|
key: 'http://inspire.ec.europa.eu/metadata-codelist/SpatialScope/national',
|
|
710
800
|
label: 'National',
|
|
@@ -106,8 +106,8 @@ export class ImportRecordComponent {
|
|
|
106
106
|
this.isRecordImportInProgress = true
|
|
107
107
|
|
|
108
108
|
this.recordsRepository.duplicateExternalRecord(url).subscribe({
|
|
109
|
-
next: (
|
|
110
|
-
if (
|
|
109
|
+
next: (uuid) => {
|
|
110
|
+
if (uuid) {
|
|
111
111
|
this.notificationsService.showNotification(
|
|
112
112
|
{
|
|
113
113
|
type: 'success',
|
|
@@ -122,7 +122,7 @@ export class ImportRecordComponent {
|
|
|
122
122
|
)
|
|
123
123
|
|
|
124
124
|
this.router
|
|
125
|
-
.navigate(['/edit',
|
|
125
|
+
.navigate(['/edit', uuid])
|
|
126
126
|
.catch((err) => console.error(err))
|
|
127
127
|
}
|
|
128
128
|
this.closeImportMenu.next()
|
|
@@ -79,6 +79,7 @@ export class OnlineServiceResourceInputComponent {
|
|
|
79
79
|
new EventEmitter()
|
|
80
80
|
|
|
81
81
|
errorMessage = false
|
|
82
|
+
resetUrlOnChange = Math.random()
|
|
82
83
|
|
|
83
84
|
layersSubject = new BehaviorSubject<{ name: string; title: string }[]>([])
|
|
84
85
|
layers$: Observable<{ name: string; title: string }[]> =
|
|
@@ -149,6 +150,7 @@ export class OnlineServiceResourceInputComponent {
|
|
|
149
150
|
}
|
|
150
151
|
|
|
151
152
|
resetAllFormFields() {
|
|
153
|
+
this.resetUrlOnChange = Math.random()
|
|
152
154
|
this._service.url = null
|
|
153
155
|
this.resetLayersSuggestion()
|
|
154
156
|
}
|
|
@@ -40,6 +40,7 @@ import {
|
|
|
40
40
|
provideNgIconsConfig,
|
|
41
41
|
} from '@ng-icons/core'
|
|
42
42
|
import { iconoirPlus } from '@ng-icons/iconoir'
|
|
43
|
+
import { RoleValues } from '../../../../../../../../../libs/common/domain/src/lib/model/record'
|
|
43
44
|
|
|
44
45
|
@Component({
|
|
45
46
|
selector: 'gn-ui-form-field-contacts-for-resource',
|
|
@@ -72,15 +73,11 @@ export class FormFieldContactsForResourceComponent
|
|
|
72
73
|
@Output() valueChange: EventEmitter<Individual[]> = new EventEmitter()
|
|
73
74
|
|
|
74
75
|
contactsForRessourceByRole: Map<Role, Individual[]> = new Map()
|
|
76
|
+
roleValues = RoleValues
|
|
75
77
|
|
|
76
|
-
rolesToPick: Role[] =
|
|
77
|
-
'
|
|
78
|
-
|
|
79
|
-
'owner',
|
|
80
|
-
'point_of_contact',
|
|
81
|
-
'author',
|
|
82
|
-
'publisher',
|
|
83
|
-
]
|
|
78
|
+
rolesToPick: Role[] = this.roleValues.filter(
|
|
79
|
+
(role) => role !== 'other' && role !== 'unspecified'
|
|
80
|
+
)
|
|
84
81
|
|
|
85
82
|
roleSectionsToDisplay: Role[] = []
|
|
86
83
|
|
|
@@ -178,9 +175,11 @@ export class FormFieldContactsForResourceComponent
|
|
|
178
175
|
* gn-ui-autocomplete
|
|
179
176
|
*/
|
|
180
177
|
displayWithFn: (user: UserModel) => string = (user) =>
|
|
181
|
-
|
|
182
|
-
user.
|
|
183
|
-
|
|
178
|
+
user.name
|
|
179
|
+
? `${user.name} ${user.surname} ${
|
|
180
|
+
user.organisation ? `(${user.organisation})` : ''
|
|
181
|
+
}`
|
|
182
|
+
: ``
|
|
184
183
|
|
|
185
184
|
/**
|
|
186
185
|
* gn-ui-autocomplete
|
|
@@ -5,9 +5,11 @@
|
|
|
5
5
|
(itemSelected)="handleItemSelection($event)"
|
|
6
6
|
(inputSubmitted)="handleInputSubmission($event)"
|
|
7
7
|
(inputCleared)="handleInputCleared()"
|
|
8
|
+
(isSearchActive)="handleSearchActive($event)"
|
|
8
9
|
[value]="searchInputValue$ | async"
|
|
9
10
|
[preventCompleteOnSelection]="true"
|
|
10
11
|
[autoFocus]="autoFocus"
|
|
11
12
|
[allowSubmit]="true"
|
|
12
13
|
[forceTrackPosition]="forceTrackPosition"
|
|
14
|
+
[enterButton]="enterButton"
|
|
13
15
|
></gn-ui-autocomplete>
|
|
@@ -29,8 +29,10 @@ export class FuzzySearchComponent implements OnInit {
|
|
|
29
29
|
@ViewChild(AutocompleteComponent) autocomplete: AutocompleteComponent
|
|
30
30
|
@Input() autoFocus = false
|
|
31
31
|
@Input() forceTrackPosition = false
|
|
32
|
+
@Input() enterButton = false
|
|
32
33
|
@Output() itemSelected = new EventEmitter<CatalogRecord>()
|
|
33
34
|
@Output() inputSubmitted = new EventEmitter<string>()
|
|
35
|
+
@Output() isSearchActive = new EventEmitter<boolean>()
|
|
34
36
|
searchInputValue$: Observable<{ title: string }>
|
|
35
37
|
|
|
36
38
|
displayWithFn: (record: CatalogRecord) => string = (record) => record.title
|
|
@@ -85,4 +87,8 @@ export class FuzzySearchComponent implements OnInit {
|
|
|
85
87
|
this.searchService.updateFilters({ any: '' })
|
|
86
88
|
}
|
|
87
89
|
}
|
|
90
|
+
|
|
91
|
+
handleSearchActive(event: boolean) {
|
|
92
|
+
this.isSearchActive.emit(event)
|
|
93
|
+
}
|
|
88
94
|
}
|
|
@@ -14,7 +14,11 @@
|
|
|
14
14
|
[disabled]="true"
|
|
15
15
|
></gn-ui-text-input>
|
|
16
16
|
<div class="flex flex-row gap-2 mt-2">
|
|
17
|
-
<gn-ui-button
|
|
17
|
+
<gn-ui-button
|
|
18
|
+
type="gray"
|
|
19
|
+
(buttonClick)="handleDelete()"
|
|
20
|
+
data-cy="delete-image"
|
|
21
|
+
>
|
|
18
22
|
<ng-icon class="me-1 text-primary" name="iconoirBin"></ng-icon>
|
|
19
23
|
{{ 'input.image.delete' | translate }}
|
|
20
24
|
</gn-ui-button>
|
|
@@ -39,12 +43,10 @@
|
|
|
39
43
|
'border-primary-lighter bg-primary-white': dragFilesOver,
|
|
40
44
|
'border-gray-300': !dragFilesOver,
|
|
41
45
|
'cursor-pointer hover:border-gray-500':
|
|
42
|
-
!isUploadInProgress && !uploadError && !
|
|
46
|
+
!isUploadInProgress && !uploadError && !disabled,
|
|
43
47
|
'cursor-not-allowed': disabled,
|
|
44
48
|
}"
|
|
45
|
-
[attr.tabindex]="
|
|
46
|
-
isUploadInProgress || uploadError || showUrlInput || disabled ? null : 0
|
|
47
|
-
"
|
|
49
|
+
[attr.tabindex]="isUploadInProgress || uploadError || disabled ? null : 0"
|
|
48
50
|
(keydown.enter)="fileInput.click()"
|
|
49
51
|
(dragFilesOver)="handleDragFilesOver($event)"
|
|
50
52
|
(dropFiles)="handleDropFiles($event)"
|
|
@@ -114,9 +116,7 @@
|
|
|
114
116
|
type="file"
|
|
115
117
|
class="hidden"
|
|
116
118
|
(change)="handleFileInput($event)"
|
|
117
|
-
[disabled]="
|
|
118
|
-
showUrlInput || isUploadInProgress || uploadError || disabled
|
|
119
|
-
"
|
|
119
|
+
[disabled]="isUploadInProgress || uploadError || disabled"
|
|
120
120
|
/>
|
|
121
121
|
</label>
|
|
122
122
|
|
|
@@ -123,11 +123,10 @@ export class ImageInputComponent {
|
|
|
123
123
|
}
|
|
124
124
|
|
|
125
125
|
handleDropFiles(files: File[]) {
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
}
|
|
126
|
+
const validFiles = this.filterTypeImage(files)
|
|
127
|
+
if (validFiles.length > 0) {
|
|
128
|
+
this.showUrlInput = false
|
|
129
|
+
this.resizeAndEmit(validFiles[0])
|
|
131
130
|
}
|
|
132
131
|
}
|
|
133
132
|
|
|
@@ -147,7 +146,6 @@ export class ImageInputComponent {
|
|
|
147
146
|
async downloadUrl(url: string) {
|
|
148
147
|
this.downloadError = false
|
|
149
148
|
const name = url.split('/').pop()
|
|
150
|
-
|
|
151
149
|
try {
|
|
152
150
|
const response = await firstValueFrom(
|
|
153
151
|
this.http.head(url, { observe: 'response' })
|
|
@@ -1,13 +1,25 @@
|
|
|
1
1
|
<div *ngIf="metadataQualityDisplay" class="mb-6 metadata-quality">
|
|
2
|
-
<
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
2
|
+
<div
|
|
3
|
+
class="flex items-center"
|
|
4
|
+
[class]="smaller ? 'leading-[8px] min-w-[120px]' : 'min-w-[200px]'"
|
|
5
|
+
>
|
|
6
|
+
<gn-ui-progress-bar
|
|
7
|
+
tabindex="0"
|
|
8
|
+
[value]="qualityScore"
|
|
9
|
+
[type]="'light'"
|
|
10
|
+
class="flex-grow"
|
|
11
|
+
></gn-ui-progress-bar>
|
|
12
|
+
<gn-ui-popover
|
|
13
|
+
[content]="popoverItems"
|
|
14
|
+
theme="light-border"
|
|
15
|
+
[class]="smaller ? 'ml-2' : 'ml-2 mt-1'"
|
|
16
|
+
>
|
|
17
|
+
<ng-icon
|
|
18
|
+
name="matInfoOutline"
|
|
19
|
+
class="flex-shrink-0 text-gray-600"
|
|
20
|
+
></ng-icon>
|
|
21
|
+
</gn-ui-popover>
|
|
22
|
+
</div>
|
|
11
23
|
</div>
|
|
12
24
|
<ng-template #popoverItems>
|
|
13
25
|
<div class="p-2 py-4">
|
|
@@ -16,6 +16,9 @@ import {
|
|
|
16
16
|
} from '../../../../../../libs/ui/widgets/src'
|
|
17
17
|
import { CommonModule } from '@angular/common'
|
|
18
18
|
import { TranslateModule } from '@ngx-translate/core'
|
|
19
|
+
import { NgIcon } from '@ng-icons/core'
|
|
20
|
+
import { matInfoOutline } from '@ng-icons/material-icons/outline'
|
|
21
|
+
import { provideIcons, provideNgIconsConfig } from '@ng-icons/core'
|
|
19
22
|
|
|
20
23
|
@Component({
|
|
21
24
|
selector: 'gn-ui-metadata-quality',
|
|
@@ -29,6 +32,16 @@ import { TranslateModule } from '@ngx-translate/core'
|
|
|
29
32
|
ProgressBarComponent,
|
|
30
33
|
MetadataQualityItemComponent,
|
|
31
34
|
TranslateModule,
|
|
35
|
+
NgIcon,
|
|
36
|
+
],
|
|
37
|
+
providers: [
|
|
38
|
+
provideIcons({
|
|
39
|
+
matInfoOutline,
|
|
40
|
+
}),
|
|
41
|
+
provideNgIconsConfig({
|
|
42
|
+
size: '1.2em',
|
|
43
|
+
strokeWidth: '1.5px',
|
|
44
|
+
}),
|
|
32
45
|
],
|
|
33
46
|
})
|
|
34
47
|
export class MetadataQualityComponent implements OnChanges {
|