@startinblox/components-ds4go 3.1.6 → 3.1.8

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/dist/index.js CHANGED
@@ -1 +1 @@
1
- import "./index-9p-uZ-aS.js";
1
+ import "./index-BnYzxewI.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@startinblox/components-ds4go",
3
- "version": "3.1.6",
3
+ "version": "3.1.8",
4
4
  "description": "Startin'blox DS4GO",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
@@ -190,26 +190,30 @@ export class Ds4goDsifExplorerPocHolder extends LitElement {
190
190
  });
191
191
  }
192
192
 
193
+ if (dataset.catalogTitle) {
194
+ tags.push({ name: formatCase(dataset.catalogTitle), type: "information" });
195
+ }
196
+
197
+ if (dataset.sectorName) {
198
+ tags.push({ name: formatCase(dataset.sectorName), type: "neutral" });
199
+ }
200
+
193
201
  if (dataset["dspace:assetId"]) {
194
202
  tags.push({
195
203
  name:
196
204
  dataset["dspace:assetId"].split(":").pop() ||
197
205
  dataset["dspace:assetId"],
198
- type: "info",
206
+ type: "neutral",
199
207
  });
200
208
  }
201
209
 
202
- if (dataset.sectorName) {
203
- tags.push({ name: formatCase(dataset.sectorName), type: "neutral" });
204
- }
205
-
206
210
  if (
207
211
  dataset["dsif:previewLinks"] &&
208
212
  dataset["dsif:previewLinks"].length > 0
209
213
  ) {
210
214
  tags.push({
211
215
  name: `${dataset["dsif:previewLinks"].length} previews`,
212
- type: "info",
216
+ type: "information",
213
217
  });
214
218
  }
215
219
 
@@ -164,7 +164,7 @@ export class SolidDsifExplorerPoc extends OrbitComponent {
164
164
  "@type": "dcat:Catalog",
165
165
  "dct:title": msg("All Catalogs"),
166
166
  "dct:description": "",
167
- "dcat:dataset": allDatasets,
167
+ "dcat:dataset": sort(allDatasets, "dct:title", "asc"),
168
168
  };
169
169
 
170
170
  return this.object;
@@ -213,6 +213,7 @@ export class SolidDsifExplorerPoc extends OrbitComponent {
213
213
  }
214
214
  return sort(this.catalogs, "catalogId", "asc");
215
215
  }
216
+
216
217
  return sort(this.sectors, "id", "asc");
217
218
  },
218
219
  args: () => [