geonetwork-ui 2.8.2 → 2.8.3-dev.035c07269

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.
@@ -25519,7 +25519,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImpo
25519
25519
  }] } });
25520
25520
 
25521
25521
  var name = "geonetwork-ui";
25522
- var version = "2.8.2";
25522
+ var version = "2.8.3-dev.035c07269";
25523
25523
  var engines = {
25524
25524
  node: ">=20"
25525
25525
  };
@@ -25615,7 +25615,7 @@ var packageJson = {
25615
25615
  };
25616
25616
 
25617
25617
  const GEONETWORK_UI_VERSION = packageJson.version;
25618
- const GEONETWORK_UI_TAG_NAME = GEONETWORK_UI_VERSION.split('-')[1] === 'dev'
25618
+ const GEONETWORK_UI_TAG_NAME = GEONETWORK_UI_VERSION.split('-')[1]?.startsWith('dev')
25619
25619
  ? '2.8.x'
25620
25620
  : `v${packageJson.version}`;
25621
25621
 
@@ -38358,13 +38358,15 @@ class DataService {
38358
38358
  }
38359
38359
  async getDownloadLinksFromOgcApiFeatures(ogcApiLink) {
38360
38360
  const collectionInfo = await this.getDownloadUrlsFromOgcApi(ogcApiLink.url.href);
38361
- return Object.keys(collectionInfo.bulkDownloadLinks).map((downloadLink) => {
38361
+ return Object.keys(collectionInfo.bulkDownloadLinks).map((mimeType) => {
38362
+ const urlWithoutLimit = new URL(collectionInfo.bulkDownloadLinks[mimeType]);
38363
+ urlWithoutLimit.searchParams.delete('limit');
38362
38364
  return {
38363
38365
  ...ogcApiLink,
38364
38366
  name: collectionInfo.id,
38365
38367
  type: 'download',
38366
- url: new URL(collectionInfo.bulkDownloadLinks[downloadLink]),
38367
- mimeType: getMimeTypeForFormat(getFileFormatFromServiceOutput(downloadLink)),
38368
+ url: urlWithoutLimit,
38369
+ mimeType: getMimeTypeForFormat(getFileFormatFromServiceOutput(mimeType)),
38368
38370
  };
38369
38371
  });
38370
38372
  }