geonetwork-ui 2.10.0-dev.a9cc01fc7 → 2.10.0-dev.d0cd0940b

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.
Files changed (22) hide show
  1. package/fesm2022/geonetwork-ui.mjs +15 -9
  2. package/fesm2022/geonetwork-ui.mjs.map +1 -1
  3. package/index.d.ts +1 -0
  4. package/index.d.ts.map +1 -1
  5. package/package.json +1 -1
  6. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-single-link-resource/form-field-online-single-link-resource.component.css +0 -0
  7. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-single-link-resource/form-field-online-single-link-resource.component.html +5 -0
  8. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-single-link-resource/form-field-online-single-link-resource.component.ts +89 -0
  9. package/src/libs/feature/notify-reuse/src/index.ts +1 -0
  10. package/src/libs/feature/notify-reuse/src/lib/notify-reuse-form/notify-reuse-form.component.css +0 -0
  11. package/src/libs/feature/notify-reuse/src/lib/notify-reuse-form/notify-reuse-form.component.html +1 -0
  12. package/src/libs/feature/notify-reuse/src/lib/notify-reuse-form/notify-reuse-form.component.ts +21 -0
  13. package/src/libs/ui/map/src/lib/components/map-container/map-container.component.ts +2 -1
  14. package/src/libs/ui/map/src/lib/components/spatial-extent/spatial-extent.component.ts +11 -10
  15. package/translations/de.json +1 -0
  16. package/translations/en.json +1 -0
  17. package/translations/es.json +1 -0
  18. package/translations/fr.json +1 -0
  19. package/translations/it.json +1 -0
  20. package/translations/nl.json +1 -0
  21. package/translations/pt.json +1 -0
  22. package/translations/sk.json +1 -0
@@ -18746,6 +18746,7 @@ var de = {
18746
18746
  "editor.record.form.field.legalConstraints": "Rechtliche Einschränkung",
18747
18747
  "editor.record.form.field.license": "Lizenz",
18748
18748
  "editor.record.form.field.onlineLinkResources": "Beigefügte Ressourcen",
18749
+ "editor.record.form.field.onlineLinkageResource.defaultName": "Link",
18749
18750
  "editor.record.form.field.onlineResource.cancel": "Abbrechen",
18750
18751
  "editor.record.form.field.onlineResource.confirm": "Bestätigen",
18751
18752
  "editor.record.form.field.onlineResource.dialogTitle": "Vorschau des Datensatzes bearbeiten",
@@ -19421,6 +19422,7 @@ var en = {
19421
19422
  "editor.record.form.field.legalConstraints": "Legal constraint",
19422
19423
  "editor.record.form.field.license": "License",
19423
19424
  "editor.record.form.field.onlineLinkResources": "Attached resources",
19425
+ "editor.record.form.field.onlineLinkageResource.defaultName": "Link",
19424
19426
  "editor.record.form.field.onlineResource.cancel": "Cancel",
19425
19427
  "editor.record.form.field.onlineResource.confirm": "Confirm",
19426
19428
  "editor.record.form.field.onlineResource.dialogTitle": "Modify the dataset preview",
@@ -20096,6 +20098,7 @@ var es = {
20096
20098
  "editor.record.form.field.legalConstraints": "",
20097
20099
  "editor.record.form.field.license": "",
20098
20100
  "editor.record.form.field.onlineLinkResources": "",
20101
+ "editor.record.form.field.onlineLinkageResource.defaultName": "",
20099
20102
  "editor.record.form.field.onlineResource.cancel": "",
20100
20103
  "editor.record.form.field.onlineResource.confirm": "",
20101
20104
  "editor.record.form.field.onlineResource.dialogTitle": "",
@@ -20771,6 +20774,7 @@ var fr = {
20771
20774
  "editor.record.form.field.legalConstraints": "Contrainte légale",
20772
20775
  "editor.record.form.field.license": "Licence",
20773
20776
  "editor.record.form.field.onlineLinkResources": "Ressources attachées",
20777
+ "editor.record.form.field.onlineLinkageResource.defaultName": "Lien",
20774
20778
  "editor.record.form.field.onlineResource.cancel": "Annuler",
20775
20779
  "editor.record.form.field.onlineResource.confirm": "Valider",
20776
20780
  "editor.record.form.field.onlineResource.dialogTitle": "Modifier l'aperçu du jeu de données",
@@ -21446,6 +21450,7 @@ var it = {
21446
21450
  "editor.record.form.field.legalConstraints": "Vincolo legale",
21447
21451
  "editor.record.form.field.license": "Licenza",
21448
21452
  "editor.record.form.field.onlineLinkResources": "Risorse allegate",
21453
+ "editor.record.form.field.onlineLinkageResource.defaultName": "Link",
21449
21454
  "editor.record.form.field.onlineResource.cancel": "Annulla",
21450
21455
  "editor.record.form.field.onlineResource.confirm": "Convalida",
21451
21456
  "editor.record.form.field.onlineResource.dialogTitle": "Modifica anteprima dataset",
@@ -22121,6 +22126,7 @@ var nl = {
22121
22126
  "editor.record.form.field.legalConstraints": "",
22122
22127
  "editor.record.form.field.license": "",
22123
22128
  "editor.record.form.field.onlineLinkResources": "",
22129
+ "editor.record.form.field.onlineLinkageResource.defaultName": "",
22124
22130
  "editor.record.form.field.onlineResource.cancel": "",
22125
22131
  "editor.record.form.field.onlineResource.confirm": "",
22126
22132
  "editor.record.form.field.onlineResource.dialogTitle": "",
@@ -22796,6 +22802,7 @@ var pt = {
22796
22802
  "editor.record.form.field.legalConstraints": "",
22797
22803
  "editor.record.form.field.license": "",
22798
22804
  "editor.record.form.field.onlineLinkResources": "",
22805
+ "editor.record.form.field.onlineLinkageResource.defaultName": "",
22799
22806
  "editor.record.form.field.onlineResource.cancel": "",
22800
22807
  "editor.record.form.field.onlineResource.confirm": "",
22801
22808
  "editor.record.form.field.onlineResource.dialogTitle": "",
@@ -23471,6 +23478,7 @@ var sk = {
23471
23478
  "editor.record.form.field.legalConstraints": "",
23472
23479
  "editor.record.form.field.license": "Licencia",
23473
23480
  "editor.record.form.field.onlineLinkResources": "",
23481
+ "editor.record.form.field.onlineLinkageResource.defaultName": "",
23474
23482
  "editor.record.form.field.onlineResource.cancel": "",
23475
23483
  "editor.record.form.field.onlineResource.confirm": "",
23476
23484
  "editor.record.form.field.onlineResource.dialogTitle": "",
@@ -25555,7 +25563,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImpo
25555
25563
  }] } });
25556
25564
 
25557
25565
  var name = "geonetwork-ui";
25558
- var version = "2.10.0-dev.a9cc01fc7";
25566
+ var version = "2.10.0-dev.d0cd0940b";
25559
25567
  var engines = {
25560
25568
  node: ">=20"
25561
25569
  };
@@ -27780,8 +27788,9 @@ class MapContainerComponent {
27780
27788
  }
27781
27789
  async ngOnChanges(changes) {
27782
27790
  if ('context' in changes && !changes['context'].isFirstChange()) {
27791
+ const olMap = await this.openlayersMap;
27783
27792
  const diff = computeMapContextDiff(this.processContext(changes['context'].currentValue), this.processContext(changes['context'].previousValue));
27784
- await applyContextDiffToMap(this.olMap, diff);
27793
+ await applyContextDiffToMap(olMap, diff);
27785
27794
  if (this._resolvedExtentChange && diff.viewChanges) {
27786
27795
  this._resolvedExtentChange.emit(this.calculateCurrentMapExtent());
27787
27796
  }
@@ -27987,10 +27996,11 @@ function mouseWheelZoomCondition(event) {
27987
27996
 
27988
27997
  class SpatialExtentComponent {
27989
27998
  constructor() {
27999
+ this._cdr = inject(ChangeDetectorRef);
27990
28000
  this.spatialExtents$ = new BehaviorSubject([]);
27991
- this.mapContext$ = this.spatialExtents$.pipe(switchMap$1(async (extents) => {
28001
+ this.mapContext$ = this.spatialExtents$.pipe(switchMap$1((extents) => {
27992
28002
  if (extents.length === 0) {
27993
- return null; // null extent means default view
28003
+ return of(null);
27994
28004
  }
27995
28005
  const featureCollection = {
27996
28006
  type: 'FeatureCollection',
@@ -28022,11 +28032,7 @@ class SpatialExtentComponent {
28022
28032
  'fill-color': 'rgba(153, 153, 153, 0.3)',
28023
28033
  },
28024
28034
  };
28025
- const view = await createViewFromLayer(layer);
28026
- return {
28027
- view,
28028
- layers: [layer],
28029
- };
28035
+ return from(createViewFromLayer(layer)).pipe(map$1((view) => ({ view, layers: [layer] })), tap$1(() => this._cdr.markForCheck()));
28030
28036
  }));
28031
28037
  this.error = '';
28032
28038
  }