geonetwork-ui 2.4.2-dev.9237c52b5 → 2.4.2-dev.a73b34bf9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/libs/api/metadata-converter/src/lib/iso19139/read-parts.mjs +2 -3
- package/esm2022/libs/api/metadata-converter/src/lib/iso19139/write-parts.mjs +4 -1
- package/esm2022/libs/common/domain/src/lib/model/record/metadata.model.mjs +1 -1
- package/esm2022/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.mjs +3 -3
- package/esm2022/libs/feature/editor/src/lib/components/import-record/import-record.component.mjs +3 -4
- package/esm2022/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.mjs +3 -3
- package/esm2022/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.mjs +31 -40
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts/form-field-contacts.component.mjs +3 -3
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.mjs +3 -3
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.mjs +3 -3
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-link-resources/form-field-online-link-resources.component.mjs +8 -9
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-resources/form-field-online-resources.component.mjs +5 -25
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.mjs +5 -4
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.mjs +3 -3
- package/esm2022/libs/feature/editor/src/lib/fields.config.mjs +10 -2
- package/esm2022/libs/feature/record/src/lib/data-view-share/data-view-share.component.mjs +3 -3
- package/esm2022/libs/ui/search/src/lib/record-preview-feed/record-preview-feed.component.mjs +3 -1
- package/esm2022/libs/ui/search/src/lib/results-table/results-table.component.mjs +3 -3
- package/esm2022/translations/de.json +13 -5
- package/esm2022/translations/en.json +22 -14
- package/esm2022/translations/es.json +13 -5
- package/esm2022/translations/fr.json +23 -15
- package/esm2022/translations/it.json +32 -26
- package/esm2022/translations/nl.json +13 -5
- package/esm2022/translations/pt.json +13 -5
- package/fesm2022/geonetwork-ui.mjs +198 -162
- package/fesm2022/geonetwork-ui.mjs.map +1 -1
- package/libs/api/metadata-converter/src/lib/iso19139/read-parts.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/iso19139/write-parts.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/import-record/import-record.component.d.ts +0 -1
- package/libs/feature/editor/src/lib/components/import-record/import-record.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.d.ts +7 -14
- package/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-link-resources/form-field-online-link-resources.component.d.ts +2 -2
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-link-resources/form-field-online-link-resources.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-resources/form-field-online-resources.component.d.ts +1 -6
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-resources/form-field-online-resources.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/fields.config.d.ts.map +1 -1
- package/libs/ui/search/src/lib/record-preview-feed/record-preview-feed.component.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/libs/api/metadata-converter/src/lib/fixtures/geocat-ch.records.ts +1 -0
- package/src/libs/api/metadata-converter/src/lib/iso19139/read-parts.ts +1 -2
- package/src/libs/api/metadata-converter/src/lib/iso19139/write-parts.ts +3 -0
- package/src/libs/common/domain/src/lib/model/record/metadata.model.ts +1 -1
- package/src/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.html +1 -1
- package/src/libs/feature/editor/src/lib/components/import-record/import-record.component.html +4 -1
- package/src/libs/feature/editor/src/lib/components/import-record/import-record.component.ts +0 -4
- package/src/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.ts +2 -2
- package/src/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.html +8 -8
- package/src/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.ts +32 -45
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts/form-field-contacts.component.html +1 -1
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.html +3 -1
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.html +1 -1
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-link-resources/form-field-online-link-resources.component.html +0 -1
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-link-resources/form-field-online-link-resources.component.ts +6 -6
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-resources/form-field-online-resources.component.html +24 -17
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-resources/form-field-online-resources.component.ts +2 -27
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.html +1 -1
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.ts +2 -1
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.html +1 -1
- package/src/libs/feature/editor/src/lib/fields.config.ts +9 -1
- package/src/libs/feature/record/src/lib/data-view-share/data-view-share.component.html +1 -1
- package/src/libs/ui/search/src/lib/record-preview-feed/record-preview-feed.component.ts +3 -0
- package/src/libs/ui/search/src/lib/results-table/results-table.component.html +1 -1
- package/translations/de.json +13 -5
- package/translations/en.json +22 -14
- package/translations/es.json +13 -5
- package/translations/fr.json +23 -15
- package/translations/it.json +32 -26
- package/translations/nl.json +13 -5
- package/translations/pt.json +13 -5
- package/translations/sk.json +14 -6
|
@@ -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,EAEV,qBAAqB,EAErB,eAAe,EACf,UAAU,EACV,OAAO,EAEP,YAAY,EACZ,iBAAiB,EACjB,kBAAkB,EAClB,cAAc,EAEd,YAAY,EAEZ,UAAU,EACV,YAAY,EACZ,kBAAkB,EAClB,SAAS,EACT,IAAI,EACJ,qBAAqB,EACrB,yBAAyB,EACzB,eAAe,EACf,qBAAqB,EACtB,MAAM,2DAA2D,CAAA;AAClE,OAAO,EAAE,cAAc,EAAE,MAAM,8DAA8D,CAAA;AAC7F,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAElC,OAAO,EACL,iBAAiB,EASlB,MAAM,mBAAmB,CAAA;AAC1B,OAAO,EASL,UAAU,EACX,MAAM,cAAc,CAAA;AAUrB,wBAAgB,sBAAsB,IAAI,iBAAiB,CACzD,UAAU,EACV,MAAM,CACP,CAQA;AAED;;GAEG;AACH,wBAAgB,+BAA+B,CAAC,CAAC,SAAS,iBAAiB,EACzE,SAAS,EAAE,MAAM,EACjB,YAAY,CAAC,EAAE,CAAC,GACf,iBAAiB,CAAC,UAAU,EAAE,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,CAqC5C;AAED,wBAAgB,eAAe,IAAI,iBAAiB,CAAC,UAAU,EAAE,IAAI,CAAC,CASrE;AAED,wBAAgB,cAAc,IAAI,iBAAiB,CAAC,UAAU,EAAE,MAAM,CAAC,CAMtE;AAED,wBAAgB,UAAU,IAAI,iBAAiB,CAAC,UAAU,EAAE,GAAG,CAAC,CAoB/D;AAED,wBAAgB,mBAAmB,uCAElC;AAGD,wBAAgB,WAAW,IAAI,iBAAiB,CAAC,UAAU,EAAE,IAAI,CAAC,CAMjE;AAGD,wBAAgB,mBAAmB,IAAI,iBAAiB,CACtD,UAAU,EACV,YAAY,CACb,CA0BA;AAGD,wBAAgB,iBAAiB,IAAI,iBAAiB,CAAC,UAAU,EAAE,UAAU,CAAC,CAwE7E;AAED,wBAAgB,aAAa,IAAI,iBAAiB,CAAC,UAAU,EAAE,YAAY,CAAC,CAM3E;AAGD,wBAAgB,uBAAuB,IAAI,iBAAiB,CAC1D,UAAU,EACV,KAAK,CAAC,UAAU,CAAC,CAClB,CA8BA;AAGD,wBAAgB,0BAA0B,IAAI,iBAAiB,CAC7D,UAAU,EACV,KAAK,CAAC,UAAU,CAAC,CAClB,CAgBA;AAGD,wBAAgB,uBAAuB,IAAI,iBAAiB,CAC1D,UAAU,EACV,KAAK,CAAC,UAAU,CAAC,CAClB,CAgBA;AAGD,wBAAgB,eAAe,IAAI,iBAAiB,CAClD,UAAU,EACV,KAAK,CAAC,UAAU,CAAC,CAClB,CA8BA;AASD;;;GAGG;AACH,wBAAgB,6BAA6B,CAC3C,aAAa,EAAE,iBAAiB,CAAC,UAAU,EAAE,MAAM,CAAC,GACnD,iBAAiB,CAAC,UAAU,EAAE,qBAAqB,EAAE,CAAC,
|
|
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,EAEV,qBAAqB,EAErB,eAAe,EACf,UAAU,EACV,OAAO,EAEP,YAAY,EACZ,iBAAiB,EACjB,kBAAkB,EAClB,cAAc,EAEd,YAAY,EAEZ,UAAU,EACV,YAAY,EACZ,kBAAkB,EAClB,SAAS,EACT,IAAI,EACJ,qBAAqB,EACrB,yBAAyB,EACzB,eAAe,EACf,qBAAqB,EACtB,MAAM,2DAA2D,CAAA;AAClE,OAAO,EAAE,cAA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BAA2B,IAAI,iBAAiB,CAC9D,UAAU,EACV,kBAAkB,EAAE,CACrB,CAyCA;AAED,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,UAAU,GAAG,cAAc,EAAE,CAcxE;AAED,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,UAAU;;IAkDrD;AAED,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,UAAU;;;;;IA+DpD;AAED,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,UAAU,GAAG,YAAY,EAAE,CAarE;AAED,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,UAAU,GAAG,YAAY,CAOpE;AAED,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,UAAU,GAAG,MAAM,CAYjE"}
|
|
@@ -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,qBAAqB,EACrB,aAAa,EACb,0BAA0B,EAC1B,gBAAgB,EAEhB,OAAO,EACP,YAAY,EACZ,YAAY,EACZ,kBAAkB,EAClB,WAAW,EACX,IAAI,EACJ,eAAe,EACf,qBAAqB,EACrB,aAAa,EACb,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,2DAA2D,CAAA;AAClE,OAAO,EAAE,cAAc,EAAE,MAAM,8DAA8D,CAAA;AAG7F,OAAO,EACL,iBAAiB,EAOlB,MAAM,mBAAmB,CAAA;AAC1B,OAAO,EAkBL,UAAU,EACX,MAAM,cAAc,CAAA;AAkCrB,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,MAAM,GACX,iBAAiB,CAAC,UAAU,EAAE,UAAU,CAAC,CAI3C;AAED,wBAAgB,6BAA6B,CAC3C,IAAI,EAAE,MAAM,EACZ,YAAY,EAAE,gBAAgB,EAC9B,eAAe,EAAE,YAAY,GAC5B,iBAAiB,CAAC,UAAU,EAAE,UAAU,CAAC,CAO3C;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,oBAAoB,CAClC,GAAG,EAAE,GAAG,EACR,IAAI,EAAE,MAAM,EACZ,YAAY,EAAE,gBAAgB,EAC9B,eAAe,EAAE,YAAY,GAC5B,iBAAiB,CAAC,UAAU,EAAE,UAAU,CAAC,CAO3C;AAED,wBAAgB,aAAa,CAC3B,IAAI,EAAE,IAAI,GACT,iBAAiB,CAAC,UAAU,EAAE,UAAU,CAAC,CAK3C;AAED,wBAAgB,SAAS,CACvB,IAAI,EAAE,IAAI,GACT,iBAAiB,CAAC,UAAU,EAAE,UAAU,CAAC,CAO3C;AAED,wBAAgB,YAAY,CAC1B,OAAO,EAAE,MAAM,GACd,iBAAiB,CAAC,UAAU,EAAE,UAAU,CAAC,CAI3C;AAED,wBAAgB,eAAe,CAAC,MAAM,EAAE,YAAY,GAAG,MAAM,CAiB5D;AAED,wBAAgB,WAAW,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM,CA+C9C;AAED,wBAAgB,8BAA8B,CAC5C,YAAY,EAAE,0BAA0B,GACvC,MAAM,
|
|
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,qBAAqB,EACrB,aAAa,EACb,0BAA0B,EAC1B,gBAAgB,EAEhB,OAAO,EACP,YAAY,EACZ,YAAY,EACZ,kBAAkB,EAClB,WAAW,EACX,IAAI,EACJ,eAAe,EACf,qBAAqB,EACrB,aAAa,EACb,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,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}
|
|
@@ -22,7 +22,6 @@ export declare class ImportRecordComponent {
|
|
|
22
22
|
importMenuItems: ImportMenuItems[];
|
|
23
23
|
isRecordImportInProgress: boolean;
|
|
24
24
|
sectionDisplayed: ImportMenuPage;
|
|
25
|
-
externalImportBackLabel: any;
|
|
26
25
|
constructor(router: Router, translateService: TranslateService, cdr: ChangeDetectorRef, notificationsService: NotificationsService, recordsRepository: RecordsRepositoryInterface);
|
|
27
26
|
displayMainMenu(): void;
|
|
28
27
|
displayImportExternal(): void;
|
package/libs/feature/editor/src/lib/components/import-record/import-record.component.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"import-record.component.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/feature/editor/src/lib/components/import-record/import-record.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,iBAAiB,EAEjB,YAAY,EAEb,MAAM,eAAe,CAAA;AAItB,OAAO,EAAmB,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;AACvE,OAAO,EAAE,oBAAoB,EAAE,MAAM,qDAAqD,CAAA;AAC1F,OAAO,EAAE,0BAA0B,EAAE,MAAM,yFAAyF,CAAA;AACpI,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;;AAaxC,UAAU,eAAe;IACvB,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,MAAM,GAAG,CAAA;IACjB,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAED,KAAK,cAAc,GAAG,UAAU,GAAG,oBAAoB,CAAA;AAEvD,qBAyBa,qBAAqB;
|
|
1
|
+
{"version":3,"file":"import-record.component.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/feature/editor/src/lib/components/import-record/import-record.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,iBAAiB,EAEjB,YAAY,EAEb,MAAM,eAAe,CAAA;AAItB,OAAO,EAAmB,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;AACvE,OAAO,EAAE,oBAAoB,EAAE,MAAM,qDAAqD,CAAA;AAC1F,OAAO,EAAE,0BAA0B,EAAE,MAAM,yFAAyF,CAAA;AACpI,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;;AAaxC,UAAU,eAAe;IACvB,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,MAAM,GAAG,CAAA;IACjB,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAED,KAAK,cAAc,GAAG,UAAU,GAAG,oBAAoB,CAAA;AAEvD,qBAyBa,qBAAqB;IA0B9B,OAAO,CAAC,MAAM;IACd,OAAO,CAAC,gBAAgB;IACxB,OAAO,CAAC,GAAG;IACX,OAAO,CAAC,oBAAoB;IAC5B,OAAO,CAAC,iBAAiB;IA7BjB,eAAe,qBAA2B;IAEpD,eAAe,EAAE,eAAe,EAAE,CAgBjC;IAED,wBAAwB,UAAQ;IAEhC,gBAAgB,EAAE,cAAc,CAAa;gBAGnC,MAAM,EAAE,MAAM,EACd,gBAAgB,EAAE,gBAAgB,EAClC,GAAG,EAAE,iBAAiB,EACtB,oBAAoB,EAAE,oBAAoB,EAC1C,iBAAiB,EAAE,0BAA0B;IAGvD,eAAe;IAKf,qBAAqB;IAKrB,YAAY,CAAC,GAAG,EAAE,MAAM;yCA3Cb,qBAAqB;2CAArB,qBAAqB;CAuFjC"}
|
|
@@ -1,21 +1,16 @@
|
|
|
1
|
-
import { ChangeDetectorRef, EventEmitter
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter } from '@angular/core';
|
|
2
2
|
import { DatasetServiceDistribution, ServiceProtocol } from '../../../../../../../libs/common/domain/src/lib/model/record';
|
|
3
3
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class OnlineServiceResourceInputComponent
|
|
5
|
+
export declare class OnlineServiceResourceInputComponent {
|
|
6
6
|
private cdr;
|
|
7
|
-
|
|
7
|
+
_service: DatasetServiceDistribution;
|
|
8
|
+
set service(service: DatasetServiceDistribution);
|
|
8
9
|
protocolHint?: string;
|
|
9
10
|
disabled?: boolean;
|
|
10
11
|
modifyMode?: boolean;
|
|
11
|
-
|
|
12
|
-
identifierSubmit: EventEmitter<{
|
|
13
|
-
url: string;
|
|
14
|
-
identifier: string;
|
|
15
|
-
}>;
|
|
12
|
+
serviceChange: EventEmitter<DatasetServiceDistribution>;
|
|
16
13
|
errorMessage: boolean;
|
|
17
|
-
selectedProtocol: ServiceProtocol;
|
|
18
|
-
url: string;
|
|
19
14
|
layersSubject: BehaviorSubject<{
|
|
20
15
|
name: string;
|
|
21
16
|
title: string;
|
|
@@ -30,13 +25,11 @@ export declare class OnlineServiceResourceInputComponent implements OnChanges, O
|
|
|
30
25
|
}[];
|
|
31
26
|
constructor(cdr: ChangeDetectorRef);
|
|
32
27
|
get activeLayerSuggestion(): boolean;
|
|
33
|
-
ngOnChanges(): void;
|
|
34
|
-
ngOnInit(): void;
|
|
35
28
|
handleUrlValueChange(url: string): void;
|
|
36
29
|
handleUploadClick(url: string): Promise<void>;
|
|
37
30
|
resetAllFormFields(): void;
|
|
38
31
|
resetLayersSuggestion(): void;
|
|
39
|
-
|
|
32
|
+
submit(): void;
|
|
40
33
|
getIdentifierPlaceholder(): string;
|
|
41
34
|
/**
|
|
42
35
|
* gn-ui-autocomplete
|
|
@@ -60,6 +53,6 @@ export declare class OnlineServiceResourceInputComponent implements OnChanges, O
|
|
|
60
53
|
title: string;
|
|
61
54
|
}): void;
|
|
62
55
|
static ɵfac: i0.ɵɵFactoryDeclaration<OnlineServiceResourceInputComponent, never>;
|
|
63
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OnlineServiceResourceInputComponent, "gn-ui-online-service-resource-input", never, { "service": { "alias": "service"; "required": false; }; "protocolHint": { "alias": "protocolHint"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "modifyMode": { "alias": "modifyMode"; "required": false; }; }, { "
|
|
56
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OnlineServiceResourceInputComponent, "gn-ui-online-service-resource-input", never, { "service": { "alias": "service"; "required": false; }; "protocolHint": { "alias": "protocolHint"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "modifyMode": { "alias": "modifyMode"; "required": false; }; }, { "serviceChange": "serviceChange"; }, never, ["*"], true, never>;
|
|
64
57
|
}
|
|
65
58
|
//# sourceMappingURL=online-service-resource-input.component.d.ts.map
|
|
@@ -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,
|
|
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;IAmDlC,OAAO,CAAC,GAAG;IAlDvB,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;IAEpB,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;IAKlB,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;cA3GP,MAAM;eAAS,MAAM;SAoHhD;IAED;;OAEG;IACH,iBAAiB,CAAC,GAAG,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE;yCAvI3C,mCAAmC;2CAAnC,mCAAmC;CA2I/C"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { ChangeDetectorRef, EventEmitter, TemplateRef } from '@angular/core';
|
|
2
|
+
import { MatDialog } from '@angular/material/dialog';
|
|
2
3
|
import { OnlineLinkResource, OnlineResource } from '../../../../../../../../../libs/common/domain/src/lib/model/record';
|
|
4
|
+
import { PlatformServiceInterface } from '../../../../../../../../../libs/common/domain/src/lib/platform.service.interface';
|
|
3
5
|
import { NotificationsService } from '../../../../../../../../../libs/feature/notifications/src';
|
|
4
6
|
import { TranslateService } from '@ngx-translate/core';
|
|
5
|
-
import { PlatformServiceInterface } from '../../../../../../../../../libs/common/domain/src/lib/platform.service.interface';
|
|
6
7
|
import { Subscription } from 'rxjs';
|
|
7
|
-
import { MatDialog } from '@angular/material/dialog';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export declare class FormFieldOnlineLinkResourcesComponent {
|
|
10
10
|
private notificationsService;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-field-online-link-resources.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-link-resources/form-field-online-link-resources.component.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"form-field-online-link-resources.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-link-resources/form-field-online-link-resources.component.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,iBAAiB,EAEjB,YAAY,EAGZ,WAAW,EAEZ,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAA;AACpD,OAAO,EACL,kBAAkB,EAClB,cAAc,EACf,MAAM,oEAAoE,CAAA;AAC3E,OAAO,EAAE,wBAAwB,EAAE,MAAM,kFAAkF,CAAA;AAC3H,OAAO,EAAE,oBAAoB,EAAE,MAAM,2DAA2D,CAAA;AAWhG,OAAO,EAAmB,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;AACvE,OAAO,EAAE,YAAY,EAAE,MAAM,MAAM,CAAA;;AAInC,qBAiBa,qCAAqC;IAqB9C,OAAO,CAAC,oBAAoB;IAC5B,OAAO,CAAC,gBAAgB;IACxB,OAAO,CAAC,eAAe;IACvB,OAAO,CAAC,EAAE;IACV,OAAO,CAAC,MAAM;IAxBP,YAAY,EAAE,MAAM,CAAA;IAC7B,IAAa,KAAK,CAAC,eAAe,EAAE,KAAK,CAAC,cAAc,CAAC,EAKxD;IACS,WAAW,EAAE,YAAY,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CACtC;IAES,cAAc,EAAE,WAAW,CAAC,cAAc,CAAC,CAAA;IAExE,OAAO,CAAC,YAAY,CAAuB;IAC3C,aAAa,EAAE,kBAAkB,EAAE,CAAK;IACxC,cAAc,CAAC,EAAE,MAAM,CAAY;IACnC,kBAAkB,EAAE,YAAY,CAAO;IAEvC,SAAS,CAAC,kBAAkB,SAAqB;gBAGvC,oBAAoB,EAAE,oBAAoB,EAC1C,gBAAgB,EAAE,gBAAgB,EAClC,eAAe,EAAE,wBAAwB,EACzC,EAAE,EAAE,iBAAiB,EACrB,MAAM,EAAE,SAAS;IAG3B,gBAAgB,CAAC,IAAI,EAAE,IAAI;IAwB3B,kBAAkB;IAOlB,eAAe,CAAC,GAAG,EAAE,MAAM;IAc3B,qBAAqB,CAAC,KAAK,EAAE,OAAO,EAAE;IAStC,oBAAoB,CAAC,QAAQ,EAAE,kBAAkB,EAAE,KAAK,EAAE,MAAM;IAIhE,OAAO,CAAC,WAAW;IAqBnB,OAAO,CAAC,cAAc;yCA3GX,qCAAqC;2CAArC,qCAAqC;CA2IjD"}
|
|
@@ -31,12 +31,7 @@ export declare class FormFieldOnlineResourcesComponent {
|
|
|
31
31
|
handleFileChange(file: File): void;
|
|
32
32
|
handleUploadCancel(): void;
|
|
33
33
|
handleDownloadUrlChange(url: string): void;
|
|
34
|
-
|
|
35
|
-
handleIdentifierSubmit(payload: {
|
|
36
|
-
url: string;
|
|
37
|
-
identifier: string;
|
|
38
|
-
}): void;
|
|
39
|
-
handleServiceModify(oldService: DatasetServiceDistribution, newService: DatasetServiceDistribution): void;
|
|
34
|
+
handleServiceChange(service: DatasetServiceDistribution): void;
|
|
40
35
|
handleResourcesChange(items: unknown[]): void;
|
|
41
36
|
handleResourceModify(resource: OnlineNotLinkResource, index: number): void;
|
|
42
37
|
private handleError;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-field-online-resources.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-resources/form-field-online-resources.component.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,iBAAiB,EAEjB,YA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,EAAE,wBAAwB,EACzC,EAAE,EAAE,iBAAiB,EACrB,MAAM,EAAE,SAAS;IAG3B,oBAAoB,CAAC,YAAY,EAAE,OAAO;IAI1C,gBAAgB,CAAC,IAAI,EAAE,IAAI;IAyB3B,kBAAkB;IAOlB,uBAAuB,CAAC,GAAG,EAAE,MAAM;IAcnC,
|
|
1
|
+
{"version":3,"file":"form-field-online-resources.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-resources/form-field-online-resources.component.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,iBAAiB,EAEjB,YAAY,EAGZ,WAAW,EAEZ,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAA;AAEpD,OAAO,EACL,2BAA2B,EAC3B,0BAA0B,EAC1B,cAAc,EACd,eAAe,EAChB,MAAM,oEAAoE,CAAA;AAC3E,OAAO,EAAE,wBAAwB,EAAE,MAAM,kFAAkF,CAAA;AAC3H,OAAO,EAAE,oBAAoB,EAAE,MAAM,2DAA2D,CAAA;AAChG,OAAO,EAGL,kBAAkB,EAInB,MAAM,+CAA+C,CAAA;AAKtD,OAAO,EAAmB,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;AACvE,OAAO,EAAE,YAAY,EAAE,MAAM,MAAM,CAAA;;AAKnC,KAAK,qBAAqB,GACtB,2BAA2B,GAC3B,0BAA0B,GAC1B,eAAe,CAAA;AAEnB,qBAmBa,iCAAiC;IAyC1C,OAAO,CAAC,oBAAoB;IAC5B,OAAO,CAAC,gBAAgB;IACxB,OAAO,CAAC,eAAe;IACvB,OAAO,CAAC,EAAE;IACV,OAAO,CAAC,MAAM;IA5CP,YAAY,EAAE,MAAM,CAAA;IAC7B,IAAa,KAAK,CAAC,eAAe,EAAE,KAAK,CAAC,cAAc,CAAC,EAKxD;IACS,WAAW,EAAE,YAAY,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CACtC;IAES,cAAc,EAAE,WAAW,CAAC,cAAc,CAAC,CAAA;IAExE,WAAW,EAAE,kBAAkB,EAAE,CAWhC;IACD,YAAY,EAAE,UAAU,GAAG,SAAS,CAAa;IAEjD,OAAO,CAAC,YAAY,CAAuB;IAC3C,gBAAgB,EAAE,qBAAqB,EAAE,CAAK;IAC9C,cAAc,MAAY;IAC1B,kBAAkB,EAAE,YAAY,CAAO;IACvC,UAAU,EAAI,0BAA0B,CAKvC;IAED,SAAS,CAAC,kBAAkB,SAAqB;gBAGvC,oBAAoB,EAAE,oBAAoB,EAC1C,gBAAgB,EAAE,gBAAgB,EAClC,eAAe,EAAE,wBAAwB,EACzC,EAAE,EAAE,iBAAiB,EACrB,MAAM,EAAE,SAAS;IAG3B,oBAAoB,CAAC,YAAY,EAAE,OAAO;IAI1C,gBAAgB,CAAC,IAAI,EAAE,IAAI;IAyB3B,kBAAkB;IAOlB,uBAAuB,CAAC,GAAG,EAAE,MAAM;IAcnC,mBAAmB,CAAC,OAAO,EAAE,0BAA0B;IAIvD,qBAAqB,CAAC,KAAK,EAAE,OAAO,EAAE;IAStC,oBAAoB,CAAC,QAAQ,EAAE,qBAAqB,EAAE,KAAK,EAAE,MAAM;IAInE,OAAO,CAAC,WAAW;IAoBnB,OAAO,CAAC,cAAc;yCAvIX,iCAAiC;2CAAjC,iCAAiC;CAuK7C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-field-spatial-extent.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,oBAAoB,EACpB,OAAO,EACR,MAAM,oEAAoE,CAAA;AAE3E,OAAO,EAAE,wBAAwB,EAAE,MAAM,kFAAkF,CAAA;AAE3H,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAA;AAG/D,OAAO,
|
|
1
|
+
{"version":3,"file":"form-field-spatial-extent.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,oBAAoB,EACpB,OAAO,EACR,MAAM,oEAAoE,CAAA;AAE3E,OAAO,EAAE,wBAAwB,EAAE,MAAM,kFAAkF,CAAA;AAE3H,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAA;AAG/D,OAAO,EAAmB,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;;AAKvE,KAAK,iBAAiB,GAAG,OAAO,GAAG;IACjC,aAAa,EAAE,oBAAoB,CAAA;IACnC,UAAU,EAAE,OAAO,CAAA;CACpB,CAAA;AAED;;;;GAIG;AAEH,qBAaa,+BAA+B;IAkExC,OAAO,CAAC,eAAe;IACvB,OAAO,CAAC,YAAY;IACpB,OAAO,CAAC,gBAAgB;IAnE1B,eAAe,oDAEd;IAED,YAAY,uCAEX;IAED,cAAc,uCAsDb;gBAGS,eAAe,EAAE,wBAAwB,EACzC,YAAY,EAAE,YAAY,EAC1B,gBAAgB,EAAE,gBAAgB;IAGtC,mBAAmB,CAAC,OAAO,EAAE,OAAO;IAcpC,gBAAgB,CAAC,OAAO,EAAE,OAAO;IAiBjC,WAAW,CACf,aAAa,EAAE,iBAAiB,EAAE,EAClC,cAAc,EAAE,oBAAoB,EAAE;yCAxG7B,+BAA+B;2CAA/B,+BAA+B;CA4I3C"}
|
|
@@ -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,EACL,YAAY,EACZ,WAAW,EACX,aAAa,EACd,MAAM,8BAA8B,CAAA;AACrC,OAAO,EAAE,OAAO,EAAE,MAAM,wDAAwD,CAAA;AAEhF;;;;;GAKG;AAEH;;;GAGG;AAEH,eAAO,MAAM,8BAA8B,EAAE,WAM5C,CAAA;AAED,eAAO,MAAM,qBAAqB,EAAE,WAKnC,CAAA;AAED,eAAO,MAAM,uBAAuB,EAAE,WAKrC,CAAA;AACD,eAAO,MAAM,0BAA0B,EAAE,WAKxC,CAAA;AACD,eAAO,MAAM,uBAAuB,EAAE,WAKrC,CAAA;AAED,eAAO,MAAM,oBAAoB,EAAE,WAKlC,CAAA;AAED,eAAO,MAAM,qBAAqB,EAAE,WAGnC,CAAA;
|
|
1
|
+
{"version":3,"file":"fields.config.d.ts","sourceRoot":"","sources":["../../../../../src/libs/feature/editor/src/lib/fields.config.ts"],"names":[],"mappings":"AACA,OAAO,EACL,YAAY,EACZ,WAAW,EACX,aAAa,EACd,MAAM,8BAA8B,CAAA;AACrC,OAAO,EAAE,OAAO,EAAE,MAAM,wDAAwD,CAAA;AAEhF;;;;;GAKG;AAEH;;;GAGG;AAEH,eAAO,MAAM,8BAA8B,EAAE,WAM5C,CAAA;AAED,eAAO,MAAM,qBAAqB,EAAE,WAKnC,CAAA;AAED,eAAO,MAAM,uBAAuB,EAAE,WAKrC,CAAA;AACD,eAAO,MAAM,0BAA0B,EAAE,WAKxC,CAAA;AACD,eAAO,MAAM,uBAAuB,EAAE,WAKrC,CAAA;AAED,eAAO,MAAM,oBAAoB,EAAE,WAKlC,CAAA;AAED,eAAO,MAAM,qBAAqB,EAAE,WAGnC,CAAA;AAID,eAAO,MAAM,6BAA6B,EAAE,WAM3C,CAAA;AAED,eAAO,MAAM,yBAAyB,EAAE,WAKvC,CAAA;AAED,eAAO,MAAM,6BAA6B,EAAE,WAM3C,CAAA;AAED,eAAO,MAAM,oBAAoB,EAAE,WAQlC,CAAA;AAED,eAAO,MAAM,6BAA6B,EAAE,WAG3C,CAAA;AAID,eAAO,MAAM,6BAA6B,EAAE,WAK3C,CAAA;AAED,eAAO,MAAM,kBAAkB,EAAE,WAKhC,CAAA;AAED,eAAO,MAAM,qBAAqB,EAAE,WAKnC,CAAA;AAED,eAAO,MAAM,2BAA2B,EAAE,WAKzC,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,WAKtB,CAAA;AAED,eAAO,MAAM,+BAA+B,EAAE,WAK7C,CAAA;AAED,eAAO,MAAM,2BAA2B,EAAE,WAIzC,CAAA;AAED,eAAO,MAAM,4BAA4B,EAAE,WAG1C,CAAA;AAID,eAAO,MAAM,uBAAuB,EAAE,WAIrC,CAAA;AAID,eAAO,MAAM,4BAA4B,EAAE,WAI1C,CAAA;AAID;;;GAGG;AAEH,eAAO,MAAM,aAAa,EAAE,aAO3B,CAAA;AAED,eAAO,MAAM,aAAa,EAAE,aAa3B,CAAA;AAED,eAAO,MAAM,6BAA6B,EAAE,aAI3C,CAAA;AAED,eAAO,MAAM,4BAA4B,EAAE,aAO1C,CAAA;AAED,eAAO,MAAM,eAAe,EAAE,aAK7B,CAAA;AAED,eAAO,MAAM,sBAAsB,EAAE,aAOpC,CAAA;AAED,eAAO,MAAM,iCAAiC,EAAE,aAU/C,CAAA;AAED,eAAO,MAAM,qBAAqB,EAAE,aAKnC,CAAA;AAED,eAAO,MAAM,iCAAiC,EAAE,aAO/C,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,qBAAqB,EAAE,YAwBnC,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,kBAAkB,EAAE,MAAM,EAUtC,CAAA;AAED,eAAO,MAAM,iBAAiB,WAAW,CAAA;AAYzC,eAAO,MAAM,kBAAkB,KAAK,CAAA;AACpC;;;GAGG;AAEH,eAAO,MAAM,cAAc,EAAE,OAAO,EAanC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"record-preview-feed.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/search/src/lib/record-preview-feed/record-preview-feed.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsC,UAAU,EAAE,MAAM,eAAe,CAAA;AAC9E,OAAO,EAAE,sBAAsB,EAAE,MAAM,4CAA4C,CAAA;AACnF,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;AACtD,OAAO,QAAQ,MAAM,6BAA6B,CAAA;;
|
|
1
|
+
{"version":3,"file":"record-preview-feed.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/search/src/lib/record-preview-feed/record-preview-feed.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsC,UAAU,EAAE,MAAM,eAAe,CAAA;AAC9E,OAAO,EAAE,sBAAsB,EAAE,MAAM,4CAA4C,CAAA;AACnF,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;AACtD,OAAO,QAAQ,MAAM,6BAA6B,CAAA;;AAKlD,qBAMa,0BAA2B,SAAQ,sBAAsB;IAIlE,SAAS,CAAC,UAAU,EAAE,UAAU;IAChC,OAAO,CAAC,SAAS;IAJnB,UAAU,WAA+C;gBAG7C,UAAU,EAAE,UAAU,EACxB,SAAS,EAAE,gBAAgB;IAKrC,IAAI,eAAe,YAElB;IACD,IAAI,OAAO,YAEV;IACD,IAAI,aAAa,YAEhB;IACD,IAAI,IAAI,WAEP;yCArBU,0BAA0B;2CAA1B,0BAA0B;CAsBtC"}
|
package/package.json
CHANGED
|
@@ -506,6 +506,7 @@ export const GEOCAT_CH_DATASET_RECORD: DatasetRecord = {
|
|
|
506
506
|
),
|
|
507
507
|
accessServiceProtocol: 'esriRest',
|
|
508
508
|
description: 'RESTful API von geo.admin.ch',
|
|
509
|
+
identifierInService: 'RESTful API von geo.admin.ch',
|
|
509
510
|
name: 'RESTful API von geo.admin.ch',
|
|
510
511
|
translations: {
|
|
511
512
|
description: {
|
|
@@ -478,12 +478,11 @@ export function extractDatasetOnlineResources(
|
|
|
478
478
|
...descriptionTranslations,
|
|
479
479
|
}
|
|
480
480
|
if (isService) {
|
|
481
|
-
const hasIdentifier = protocol === 'wms' || protocol === 'wfs'
|
|
482
481
|
return {
|
|
483
482
|
type: 'service',
|
|
484
483
|
url: url,
|
|
485
484
|
accessServiceProtocol: protocol,
|
|
486
|
-
...(name &&
|
|
485
|
+
...(name && { identifierInService: name }), // should we keep the identifierInService? read-write duplicate with name
|
|
487
486
|
...(name && { name }),
|
|
488
487
|
...(description && { description }),
|
|
489
488
|
translations,
|
|
@@ -242,6 +242,8 @@ export function getServiceDistributionProtocol(
|
|
|
242
242
|
distribution: DatasetServiceDistribution
|
|
243
243
|
): string {
|
|
244
244
|
switch (distribution.accessServiceProtocol.toLowerCase()) {
|
|
245
|
+
case 'ogcfeatures':
|
|
246
|
+
return 'OGC API Features'
|
|
245
247
|
case 'wfs':
|
|
246
248
|
return 'OGC:WFS'
|
|
247
249
|
case 'wms':
|
|
@@ -755,6 +757,7 @@ export function appendOnlineResource(
|
|
|
755
757
|
let functionCode: string
|
|
756
758
|
let protocol: string
|
|
757
759
|
if (onlineResource.type === 'service') {
|
|
760
|
+
// should we keep the identifierInService? read-write duplicate with name
|
|
758
761
|
name = onlineResource.identifierInService // this is for GeoNetwork to know the layer name
|
|
759
762
|
functionCode = 'download'
|
|
760
763
|
protocol = getServiceDistributionProtocol(onlineResource)
|
|
@@ -160,7 +160,7 @@ export interface DatasetServiceDistribution {
|
|
|
160
160
|
type: 'service'
|
|
161
161
|
url: URL
|
|
162
162
|
accessServiceProtocol: ServiceProtocol
|
|
163
|
-
identifierInService?: string
|
|
163
|
+
identifierInService?: string // should we keep the identifierInService? read-write duplicate with name
|
|
164
164
|
name?: string
|
|
165
165
|
description?: string
|
|
166
166
|
translations?: OnlineResourceTranslations
|
package/src/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.html
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
|
|
19
19
|
<ng-icon
|
|
20
20
|
*ngIf="isPlaceWithoutExtent(keyword)"
|
|
21
|
-
[title]="'editor.form.
|
|
21
|
+
[title]="'editor.record.form.keywords.place.withoutExtent' | translate"
|
|
22
22
|
class="badge-warning"
|
|
23
23
|
name="matWarningAmberOutline"
|
|
24
24
|
></ng-icon>
|
package/src/libs/feature/editor/src/lib/components/import-record/import-record.component.html
CHANGED
|
@@ -35,7 +35,10 @@
|
|
|
35
35
|
>
|
|
36
36
|
<ng-icon name="iconoirArrowLeft"></ng-icon>
|
|
37
37
|
</gn-ui-button>
|
|
38
|
-
<span class="font-bold"
|
|
38
|
+
<span class="font-bold" translate
|
|
39
|
+
>dashboard.importRecord.importExternal.title</span
|
|
40
|
+
>
|
|
41
|
+
<span translate>dashboard.importRecord.importExternal.subtitle</span>
|
|
39
42
|
</div>
|
|
40
43
|
<gn-ui-url-input
|
|
41
44
|
(uploadClick)="importRecord($event)"
|
|
@@ -84,10 +84,6 @@ export class ImportRecordComponent {
|
|
|
84
84
|
|
|
85
85
|
sectionDisplayed: ImportMenuPage = 'mainMenu'
|
|
86
86
|
|
|
87
|
-
externalImportBackLabel = this.translateService.instant(
|
|
88
|
-
'dashboard.importRecord.importExternalLabel'
|
|
89
|
-
)
|
|
90
|
-
|
|
91
87
|
constructor(
|
|
92
88
|
private router: Router,
|
|
93
89
|
private translateService: TranslateService,
|
|
@@ -54,8 +54,8 @@ export class OnlineResourceCardComponent {
|
|
|
54
54
|
case 'service':
|
|
55
55
|
case 'download':
|
|
56
56
|
return (
|
|
57
|
-
this.onlineResource.
|
|
58
|
-
this.onlineResource.
|
|
57
|
+
this.onlineResource.description ||
|
|
58
|
+
this.onlineResource.name ||
|
|
59
59
|
'(unknown)'
|
|
60
60
|
)
|
|
61
61
|
case 'endpoint':
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
<mat-radio-group
|
|
16
16
|
aria-labelledby="example-radio-group-label"
|
|
17
17
|
class="flex flex-row gap-[8px]"
|
|
18
|
-
[(ngModel)]="
|
|
18
|
+
[(ngModel)]="_service.accessServiceProtocol"
|
|
19
19
|
[disabled]="disabled"
|
|
20
20
|
(change)="resetAllFormFields()"
|
|
21
21
|
>
|
|
@@ -34,11 +34,11 @@
|
|
|
34
34
|
(uploadClick)="handleUploadClick($event)"
|
|
35
35
|
(valueChange)="handleUrlValueChange($event)"
|
|
36
36
|
[disabled]="disabled"
|
|
37
|
-
[value]="url"
|
|
37
|
+
[value]="_service.url?.toString()"
|
|
38
38
|
[showValidateButton]="activeLayerSuggestion"
|
|
39
39
|
>
|
|
40
40
|
<ng-content *ngIf="activeLayerSuggestion">
|
|
41
|
-
<ng-icon name="
|
|
41
|
+
<ng-icon name="iconoirRefresh"></ng-icon>
|
|
42
42
|
</ng-content>
|
|
43
43
|
</gn-ui-url-input>
|
|
44
44
|
|
|
@@ -48,13 +48,13 @@
|
|
|
48
48
|
|
|
49
49
|
<gn-ui-text-input
|
|
50
50
|
class="grow border-b border-gray-300 pb-4"
|
|
51
|
-
[(value)]="
|
|
51
|
+
[(value)]="_service.identifierInService"
|
|
52
52
|
[placeholder]="getIdentifierPlaceholder() | translate"
|
|
53
53
|
data-cy="identifier-in-service"
|
|
54
54
|
[disabled]="disabled"
|
|
55
55
|
*ngIf="
|
|
56
56
|
!activeLayerSuggestion ||
|
|
57
|
-
(url && errorMessage) ||
|
|
57
|
+
(_service.url && errorMessage) ||
|
|
58
58
|
(modifyMode && (layers$ | async).length === 0)
|
|
59
59
|
"
|
|
60
60
|
></gn-ui-text-input>
|
|
@@ -73,14 +73,14 @@
|
|
|
73
73
|
>
|
|
74
74
|
</gn-ui-autocomplete>
|
|
75
75
|
<gn-ui-button
|
|
76
|
-
(buttonClick)="
|
|
77
|
-
[disabled]="disabled || !
|
|
76
|
+
(buttonClick)="submit()"
|
|
77
|
+
[disabled]="disabled || !_service.identifierInService"
|
|
78
78
|
type="primary"
|
|
79
79
|
*ngIf="
|
|
80
80
|
!modifyMode &&
|
|
81
81
|
((activeLayerSuggestion && (layers$ | async)) ||
|
|
82
82
|
!activeLayerSuggestion ||
|
|
83
|
-
(url && errorMessage))
|
|
83
|
+
(_service.url && errorMessage))
|
|
84
84
|
"
|
|
85
85
|
>
|
|
86
86
|
<span class="text-white font-bold" translate>
|
|
@@ -5,8 +5,6 @@ import {
|
|
|
5
5
|
Component,
|
|
6
6
|
EventEmitter,
|
|
7
7
|
Input,
|
|
8
|
-
OnChanges,
|
|
9
|
-
OnInit,
|
|
10
8
|
Output,
|
|
11
9
|
} from '@angular/core'
|
|
12
10
|
import { FormsModule } from '@angular/forms'
|
|
@@ -23,23 +21,27 @@ import {
|
|
|
23
21
|
TextInputComponent,
|
|
24
22
|
UrlInputComponent,
|
|
25
23
|
} from '../../../../../../../libs/ui/inputs/src'
|
|
26
|
-
import {
|
|
24
|
+
import { createFuzzyFilter, getLayers } from '../../../../../../../libs/util/shared/src'
|
|
27
25
|
import {
|
|
28
26
|
NgIconComponent,
|
|
29
27
|
provideIcons,
|
|
30
28
|
provideNgIconsConfig,
|
|
31
29
|
} from '@ng-icons/core'
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
30
|
+
import { iconoirRefresh } from '@ng-icons/iconoir'
|
|
31
|
+
import { TranslateModule } from '@ngx-translate/core'
|
|
34
32
|
import {
|
|
35
33
|
BehaviorSubject,
|
|
36
34
|
debounceTime,
|
|
37
35
|
distinctUntilChanged,
|
|
38
|
-
map,
|
|
39
36
|
Observable,
|
|
40
37
|
switchMap,
|
|
41
38
|
} from 'rxjs'
|
|
42
39
|
|
|
40
|
+
marker('editor.record.form.field.onlineResource.edit.identifier.placeholder')
|
|
41
|
+
marker(
|
|
42
|
+
'editor.record.form.field.onlineResource.edit.identifier.placeholder.wps'
|
|
43
|
+
)
|
|
44
|
+
|
|
43
45
|
@Component({
|
|
44
46
|
selector: 'gn-ui-online-service-resource-input',
|
|
45
47
|
templateUrl: './online-service-resource-input.component.html',
|
|
@@ -59,26 +61,25 @@ import {
|
|
|
59
61
|
UrlInputComponent,
|
|
60
62
|
],
|
|
61
63
|
providers: [
|
|
62
|
-
provideIcons({
|
|
64
|
+
provideIcons({ iconoirRefresh }),
|
|
63
65
|
provideNgIconsConfig({
|
|
64
66
|
size: '1.5em',
|
|
65
67
|
}),
|
|
66
68
|
],
|
|
67
69
|
})
|
|
68
|
-
export class OnlineServiceResourceInputComponent
|
|
69
|
-
|
|
70
|
+
export class OnlineServiceResourceInputComponent {
|
|
71
|
+
_service: DatasetServiceDistribution
|
|
72
|
+
@Input() set service(service: DatasetServiceDistribution) {
|
|
73
|
+
this._service = { ...service }
|
|
74
|
+
}
|
|
70
75
|
@Input() protocolHint?: string
|
|
71
76
|
@Input() disabled? = false
|
|
72
77
|
@Input() modifyMode? = false
|
|
73
|
-
@Output()
|
|
74
|
-
|
|
75
|
-
url: string
|
|
76
|
-
identifier: string
|
|
77
|
-
}> = new EventEmitter()
|
|
78
|
+
@Output() serviceChange: EventEmitter<DatasetServiceDistribution> =
|
|
79
|
+
new EventEmitter()
|
|
78
80
|
|
|
79
81
|
errorMessage = false
|
|
80
|
-
|
|
81
|
-
url = ''
|
|
82
|
+
|
|
82
83
|
layersSubject = new BehaviorSubject<{ name: string; title: string }[]>([])
|
|
83
84
|
layers$: Observable<{ name: string; title: string }[]> =
|
|
84
85
|
this.layersSubject.asObservable()
|
|
@@ -121,35 +122,18 @@ export class OnlineServiceResourceInputComponent implements OnChanges, OnInit {
|
|
|
121
122
|
|
|
122
123
|
get activeLayerSuggestion() {
|
|
123
124
|
return !['wps', 'GPFDL', 'esriRest', 'other'].includes(
|
|
124
|
-
this.
|
|
125
|
+
this._service.accessServiceProtocol
|
|
125
126
|
)
|
|
126
127
|
}
|
|
127
128
|
|
|
128
|
-
ngOnChanges() {
|
|
129
|
-
this.selectedProtocol =
|
|
130
|
-
this.protocolOptions.find(
|
|
131
|
-
(option) => option.value === this.service.accessServiceProtocol
|
|
132
|
-
)?.value ?? 'other'
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
ngOnInit() {
|
|
136
|
-
if (this.service.url) {
|
|
137
|
-
this.url = this.service.url.toString()
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
|
|
141
129
|
handleUrlValueChange(url: string) {
|
|
142
|
-
this.url = url
|
|
143
|
-
this.service.url = url ? new URL(url) : undefined
|
|
130
|
+
this._service.url = url ? new URL(url) : undefined
|
|
144
131
|
this.resetLayersSuggestion()
|
|
145
|
-
this.urlChange.emit(this.url)
|
|
146
132
|
}
|
|
147
133
|
|
|
148
134
|
async handleUploadClick(url: string) {
|
|
149
|
-
this.url = url
|
|
150
|
-
|
|
151
135
|
try {
|
|
152
|
-
const layers = await getLayers(url, this.
|
|
136
|
+
const layers = await getLayers(url, this._service.accessServiceProtocol)
|
|
153
137
|
|
|
154
138
|
if (layers.length === 0) {
|
|
155
139
|
throw new Error('No layers found')
|
|
@@ -165,27 +149,29 @@ export class OnlineServiceResourceInputComponent implements OnChanges, OnInit {
|
|
|
165
149
|
}
|
|
166
150
|
|
|
167
151
|
resetAllFormFields() {
|
|
168
|
-
this.url =
|
|
169
|
-
this.service.url = null
|
|
152
|
+
this._service.url = null
|
|
170
153
|
this.resetLayersSuggestion()
|
|
171
154
|
}
|
|
172
155
|
|
|
173
156
|
resetLayersSuggestion() {
|
|
174
157
|
this.errorMessage = false
|
|
175
158
|
this.layersSubject.next([])
|
|
176
|
-
this.
|
|
159
|
+
this._service.identifierInService = null
|
|
177
160
|
}
|
|
178
161
|
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
162
|
+
submit() {
|
|
163
|
+
this.serviceChange.emit({
|
|
164
|
+
...this._service,
|
|
165
|
+
name: this._service.identifierInService, // should we keep the identifierInService? read-write duplicate with name
|
|
166
|
+
})
|
|
167
|
+
this._service.accessServiceProtocol = 'ogcFeatures'
|
|
168
|
+
this.resetAllFormFields()
|
|
183
169
|
}
|
|
184
170
|
|
|
185
171
|
getIdentifierPlaceholder(): string {
|
|
186
172
|
const baseKey =
|
|
187
173
|
'editor.record.form.field.onlineResource.edit.identifier.placeholder'
|
|
188
|
-
return this.
|
|
174
|
+
return this._service.accessServiceProtocol === 'wps'
|
|
189
175
|
? `${baseKey}.wps`
|
|
190
176
|
: baseKey
|
|
191
177
|
}
|
|
@@ -217,6 +203,7 @@ export class OnlineServiceResourceInputComponent implements OnChanges, OnInit {
|
|
|
217
203
|
* gn-ui-autocomplete
|
|
218
204
|
*/
|
|
219
205
|
handleSelectValue(val: { name: string; title: string }) {
|
|
220
|
-
this.
|
|
206
|
+
this._service.identifierInService = val.name // should we keep the identifierInService? read-write duplicate with name
|
|
207
|
+
this._service.description = val.title
|
|
221
208
|
}
|
|
222
209
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<div class="flex flex-col gap-3">
|
|
2
2
|
<gn-ui-autocomplete
|
|
3
|
-
[placeholder]="'
|
|
3
|
+
[placeholder]="'editor.record.form.field.contacts.placeholder' | translate"
|
|
4
4
|
[action]="autoCompleteAction"
|
|
5
5
|
(itemSelected)="addContact($event)"
|
|
6
6
|
[displayWithFn]="displayWithFn"
|
|
@@ -31,7 +31,9 @@
|
|
|
31
31
|
</div>
|
|
32
32
|
|
|
33
33
|
<gn-ui-autocomplete
|
|
34
|
-
[placeholder]="
|
|
34
|
+
[placeholder]="
|
|
35
|
+
'editor.record.form.field.contactsForResource.placeholder' | translate
|
|
36
|
+
"
|
|
35
37
|
[action]="autoCompleteAction"
|
|
36
38
|
(itemSelected)="addContact($event, role)"
|
|
37
39
|
[displayWithFn]="displayWithFn"
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<gn-ui-generic-keywords
|
|
3
3
|
[keywords]="filteredKeywords"
|
|
4
4
|
[keywordTypes]="keywordTypes"
|
|
5
|
-
[placeholder]="'editor.form.keywords.placeholder' | translate"
|
|
5
|
+
[placeholder]="'editor.record.form.keywords.placeholder' | translate"
|
|
6
6
|
(changedKeywords)="handleKeywordsChange($event)"
|
|
7
7
|
[allowSubmit]="false"
|
|
8
8
|
>
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { CommonModule } from '@angular/common'
|
|
1
2
|
import {
|
|
2
3
|
ChangeDetectionStrategy,
|
|
3
4
|
ChangeDetectorRef,
|
|
@@ -8,28 +9,27 @@ import {
|
|
|
8
9
|
TemplateRef,
|
|
9
10
|
ViewChild,
|
|
10
11
|
} from '@angular/core'
|
|
12
|
+
import { MatDialog } from '@angular/material/dialog'
|
|
11
13
|
import {
|
|
12
14
|
OnlineLinkResource,
|
|
13
15
|
OnlineResource,
|
|
14
16
|
} from '../../../../../../../../../libs/common/domain/src/lib/model/record'
|
|
17
|
+
import { PlatformServiceInterface } from '../../../../../../../../../libs/common/domain/src/lib/platform.service.interface'
|
|
18
|
+
import { NotificationsService } from '../../../../../../../../../libs/feature/notifications/src'
|
|
15
19
|
import {
|
|
16
20
|
FileInputComponent,
|
|
17
21
|
TextAreaComponent,
|
|
18
22
|
TextInputComponent,
|
|
19
23
|
UrlInputComponent,
|
|
20
24
|
} from '../../../../../../../../../libs/ui/inputs/src'
|
|
21
|
-
import { CommonModule } from '@angular/common'
|
|
22
|
-
import { OnlineResourceCardComponent } from '../../../online-resource-card/online-resource-card.component'
|
|
23
25
|
import {
|
|
24
26
|
ModalDialogComponent,
|
|
25
27
|
SortableListComponent,
|
|
26
28
|
} from '../../../../../../../../../libs/ui/layout/src'
|
|
27
|
-
import { NotificationsService } from '../../../../../../../../../libs/feature/notifications/src'
|
|
28
29
|
import { TranslateModule, TranslateService } from '@ngx-translate/core'
|
|
29
|
-
import {
|
|
30
|
-
import { map, Subscription } from 'rxjs'
|
|
31
|
-
import { MatDialog } from '@angular/material/dialog'
|
|
30
|
+
import { Subscription } from 'rxjs'
|
|
32
31
|
import { MAX_UPLOAD_SIZE_MB } from '../../../../fields.config'
|
|
32
|
+
import { OnlineResourceCardComponent } from '../../../online-resource-card/online-resource-card.component'
|
|
33
33
|
|
|
34
34
|
@Component({
|
|
35
35
|
selector: 'gn-ui-form-field-online-link-resources',
|