@pod-os/elements 0.41.0-rc.4453840.0 → 0.41.0-rc.68feb28.0

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.
@@ -22140,7 +22140,7 @@ function listToCollection(kb, obj) {
22140
22140
  }
22141
22141
  async function jsonldParser(str, kb, base2) {
22142
22142
  const baseString = base2 && Object.prototype.hasOwnProperty.call(base2, "termType") ? base2.value : base2;
22143
- const jsonld = await Promise.resolve().then(function () { return require('./jsonld-V2RB47OZ-B6QDxKa1.js'); });
22143
+ const jsonld = await Promise.resolve().then(function () { return require('./jsonld-V2RB47OZ-C8WtYPnG.js'); });
22144
22144
  const flattened = await jsonld.default.flatten(JSON.parse(str), null, {
22145
22145
  base: baseString
22146
22146
  });
@@ -28128,6 +28128,9 @@ var Thing = class {
28128
28128
  var LdpContainer = class extends Thing {
28129
28129
  constructor(uri6, store, editable = false) {
28130
28130
  super(uri6, store, editable);
28131
+ this.uri = uri6;
28132
+ this.store = store;
28133
+ this.editable = editable;
28131
28134
  }
28132
28135
  /**
28133
28136
  * Resources that the LDP Container contains
@@ -28265,6 +28268,8 @@ var WebIdProfile = class extends Thing {
28265
28268
  constructor(webId, store, editable = false) {
28266
28269
  super(webId, store, editable);
28267
28270
  this.webId = webId;
28271
+ this.store = store;
28272
+ this.editable = editable;
28268
28273
  this.profileQuery = this.store.profileQuery(this.webId);
28269
28274
  }
28270
28275
  /**
@@ -28405,6 +28410,9 @@ var SearchIndex = class {
28405
28410
  var RdfDocument = class extends Thing {
28406
28411
  constructor(uri6, store, editable = false) {
28407
28412
  super(uri6, store, editable);
28413
+ this.uri = uri6;
28414
+ this.store = store;
28415
+ this.editable = editable;
28408
28416
  }
28409
28417
  subjects() {
28410
28418
  const matches = this.store.statementsMatching(
@@ -28426,6 +28434,9 @@ var RdfDocument = class extends Thing {
28426
28434
  var LabelIndex = class extends RdfDocument {
28427
28435
  constructor(uri6, store, editable = false) {
28428
28436
  super(uri6, store, editable);
28437
+ this.uri = uri6;
28438
+ this.store = store;
28439
+ this.editable = editable;
28429
28440
  }
28430
28441
  /**
28431
28442
  * Returns the URIs and labels for all the things listed in the document.
@@ -50262,6 +50273,8 @@ function listKnownTerms() {
50262
50273
  // src/uri/UriService.ts
50263
50274
  var import_slugify = __toESM(require_slugify(), 1);
50264
50275
  var UriService = class {
50276
+ // We expect to use the store for calculating the uris for things
50277
+ // e.g. looking up locations in type index
50265
50278
  constructor(store) {
50266
50279
  this.store = store;
50267
50280
  }
@@ -50464,6 +50477,9 @@ function proposeAppsFor(thing) {
50464
50477
  var TypeIndex2 = class extends Thing {
50465
50478
  constructor(uri6, store, editable = false) {
50466
50479
  super(uri6, store, editable);
50480
+ this.uri = uri6;
50481
+ this.store = store;
50482
+ this.editable = editable;
50467
50483
  }
50468
50484
  listAll() {
50469
50485
  const forClassStatements = this.store.statementsMatching(
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BP03J2RA.js');
3
+ var index = require('./index-CuopaY7U.js');
4
4
 
5
5
  // ../node_modules/rdf-canonize/lib/IdentifierIssuer.js
6
6
  var require_IdentifierIssuer = index.__commonJS({
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index-CFcC3IGM.js');
4
- var index$1 = require('./index-BP03J2RA.js');
4
+ var index$1 = require('./index-CuopaY7U.js');
5
5
  var PodOsAware = require('./PodOsAware-_Lsp4KsV.js');
6
6
  var ResourceAware = require('./ResourceAware-uqh9ZRDt.js');
7
7
  require('./chunk.ZGGPD2XJ-BhNheC5q.js');
@@ -3,7 +3,7 @@
3
3
  var index = require('./index-CFcC3IGM.js');
4
4
  var chunk_ZGGPD2XJ = require('./chunk.ZGGPD2XJ-BhNheC5q.js');
5
5
  var chunk_XQ2OKYYA = require('./chunk.XQ2OKYYA-Dfzydh50.js');
6
- var index$1 = require('./index-BP03J2RA.js');
6
+ var index$1 = require('./index-CuopaY7U.js');
7
7
  var index$2 = require('./index-DlHQ3blV.js');
8
8
  var chunk_URTPIBTY = require('./chunk.URTPIBTY-CyUQzrtC.js');
9
9
  var classMap = require('./class-map-DFvbJjpM.js');
@@ -3,7 +3,7 @@
3
3
  var index = require('./index-CFcC3IGM.js');
4
4
  var useResource = require('./useResource-IN7KmaP3.js');
5
5
  require('./chunk.ZGGPD2XJ-BhNheC5q.js');
6
- var index$1 = require('./index-BP03J2RA.js');
6
+ var index$1 = require('./index-CuopaY7U.js');
7
7
  var usePodOS = require('./usePodOS-BnFzjtlx.js');
8
8
 
9
9
  const posAddRelationCss = () => `:host{display:flex;align-items:center;gap:0.2rem}input{padding:var(--size-2);background-color:transparent;color:var(--pos-normal-text-color);border:none}input:focus{outline:2px solid var(--pos-primary-color);background-color:var(--pos-input-background-color);transition:outline 0.1s, background-color 0.1s}`;
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index-CFcC3IGM.js');
4
- var index$2 = require('./index-BP03J2RA.js');
4
+ var index$2 = require('./index-CuopaY7U.js');
5
5
  var ResourceAware = require('./ResourceAware-uqh9ZRDt.js');
6
6
  var index$1 = require('./index-DlHQ3blV.js');
7
7
 
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index-CFcC3IGM.js');
4
- var index$1 = require('./index-BP03J2RA.js');
4
+ var index$1 = require('./index-CuopaY7U.js');
5
5
  var ResourceAware = require('./ResourceAware-uqh9ZRDt.js');
6
6
 
7
7
  const posSubjectsCss = () => `:host{--background-base-color:color-mix(in srgb, var(--pos-background-color), var(--color-grey-800) 10%);--background-color-even:hsl(from var(--background-base-color) h s calc(l + 7));--background-color-odd:hsl(from var(--background-base-color) h s calc(l + 10));--border-color:var(--background-base-color)}ul{display:flex;flex-direction:column;gap:var(--size-2);margin:0;padding:0;li{border:var(--size-px) solid var(--border-color);padding:var(--size-4);list-style-type:none;&:nth-child(even){background-color:var(--background-color-even)}&:nth-child(odd){background-color:var(--background-color-odd)}}}`;