@pod-os/core 0.16.2-rc.e91f9f4.0 → 0.17.1-rc.d4c6cc6.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.
- package/dist/index.js +131 -28
- package/lib/index.js +414 -311
- package/package.json +6 -6
- package/types/thing/Thing.d.ts +1 -1
package/dist/index.js
CHANGED
|
@@ -6990,8 +6990,8 @@ var require_lunr = __commonJS({
|
|
|
6990
6990
|
return tokens;
|
|
6991
6991
|
};
|
|
6992
6992
|
lunr2.Pipeline.prototype.runString = function(str, metadata2) {
|
|
6993
|
-
var
|
|
6994
|
-
return this.run([
|
|
6993
|
+
var token2 = new lunr2.Token(str, metadata2);
|
|
6994
|
+
return this.run([token2]).map(function(t) {
|
|
6995
6995
|
return t.toString();
|
|
6996
6996
|
});
|
|
6997
6997
|
};
|
|
@@ -7250,8 +7250,8 @@ var require_lunr = __commonJS({
|
|
|
7250
7250
|
}
|
|
7251
7251
|
return w;
|
|
7252
7252
|
};
|
|
7253
|
-
return function(
|
|
7254
|
-
return
|
|
7253
|
+
return function(token2) {
|
|
7254
|
+
return token2.update(porterStemmer);
|
|
7255
7255
|
};
|
|
7256
7256
|
}();
|
|
7257
7257
|
lunr2.Pipeline.registerFunction(lunr2.stemmer, "stemmer");
|
|
@@ -7260,8 +7260,8 @@ var require_lunr = __commonJS({
|
|
|
7260
7260
|
memo[stopWord] = stopWord;
|
|
7261
7261
|
return memo;
|
|
7262
7262
|
}, {});
|
|
7263
|
-
return function(
|
|
7264
|
-
if (
|
|
7263
|
+
return function(token2) {
|
|
7264
|
+
if (token2 && words[token2.toString()] !== token2.toString()) return token2;
|
|
7265
7265
|
};
|
|
7266
7266
|
};
|
|
7267
7267
|
lunr2.stopWordFilter = lunr2.generateStopWordFilter([
|
|
@@ -7386,8 +7386,8 @@ var require_lunr = __commonJS({
|
|
|
7386
7386
|
"your"
|
|
7387
7387
|
]);
|
|
7388
7388
|
lunr2.Pipeline.registerFunction(lunr2.stopWordFilter, "stopWordFilter");
|
|
7389
|
-
lunr2.trimmer = function(
|
|
7390
|
-
return
|
|
7389
|
+
lunr2.trimmer = function(token2) {
|
|
7390
|
+
return token2.update(function(s) {
|
|
7391
7391
|
return s.replace(/^\W+/, "").replace(/\W+$/, "");
|
|
7392
7392
|
});
|
|
7393
7393
|
};
|
|
@@ -8455,15 +8455,15 @@ var require_slugify = __commonJS({
|
|
|
8455
8455
|
})("slugify", exports, function() {
|
|
8456
8456
|
var charMap = JSON.parse(`{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","\xA2":"cent","\xA3":"pound","\xA4":"currency","\xA5":"yen","\xA9":"(c)","\xAA":"a","\xAE":"(r)","\xBA":"o","\xC0":"A","\xC1":"A","\xC2":"A","\xC3":"A","\xC4":"A","\xC5":"A","\xC6":"AE","\xC7":"C","\xC8":"E","\xC9":"E","\xCA":"E","\xCB":"E","\xCC":"I","\xCD":"I","\xCE":"I","\xCF":"I","\xD0":"D","\xD1":"N","\xD2":"O","\xD3":"O","\xD4":"O","\xD5":"O","\xD6":"O","\xD8":"O","\xD9":"U","\xDA":"U","\xDB":"U","\xDC":"U","\xDD":"Y","\xDE":"TH","\xDF":"ss","\xE0":"a","\xE1":"a","\xE2":"a","\xE3":"a","\xE4":"a","\xE5":"a","\xE6":"ae","\xE7":"c","\xE8":"e","\xE9":"e","\xEA":"e","\xEB":"e","\xEC":"i","\xED":"i","\xEE":"i","\xEF":"i","\xF0":"d","\xF1":"n","\xF2":"o","\xF3":"o","\xF4":"o","\xF5":"o","\xF6":"o","\xF8":"o","\xF9":"u","\xFA":"u","\xFB":"u","\xFC":"u","\xFD":"y","\xFE":"th","\xFF":"y","\u0100":"A","\u0101":"a","\u0102":"A","\u0103":"a","\u0104":"A","\u0105":"a","\u0106":"C","\u0107":"c","\u010C":"C","\u010D":"c","\u010E":"D","\u010F":"d","\u0110":"DJ","\u0111":"dj","\u0112":"E","\u0113":"e","\u0116":"E","\u0117":"e","\u0118":"e","\u0119":"e","\u011A":"E","\u011B":"e","\u011E":"G","\u011F":"g","\u0122":"G","\u0123":"g","\u0128":"I","\u0129":"i","\u012A":"i","\u012B":"i","\u012E":"I","\u012F":"i","\u0130":"I","\u0131":"i","\u0136":"k","\u0137":"k","\u013B":"L","\u013C":"l","\u013D":"L","\u013E":"l","\u0141":"L","\u0142":"l","\u0143":"N","\u0144":"n","\u0145":"N","\u0146":"n","\u0147":"N","\u0148":"n","\u014C":"O","\u014D":"o","\u0150":"O","\u0151":"o","\u0152":"OE","\u0153":"oe","\u0154":"R","\u0155":"r","\u0158":"R","\u0159":"r","\u015A":"S","\u015B":"s","\u015E":"S","\u015F":"s","\u0160":"S","\u0161":"s","\u0162":"T","\u0163":"t","\u0164":"T","\u0165":"t","\u0168":"U","\u0169":"u","\u016A":"u","\u016B":"u","\u016E":"U","\u016F":"u","\u0170":"U","\u0171":"u","\u0172":"U","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017A":"z","\u017B":"Z","\u017C":"z","\u017D":"Z","\u017E":"z","\u018F":"E","\u0192":"f","\u01A0":"O","\u01A1":"o","\u01AF":"U","\u01B0":"u","\u01C8":"LJ","\u01C9":"lj","\u01CB":"NJ","\u01CC":"nj","\u0218":"S","\u0219":"s","\u021A":"T","\u021B":"t","\u0259":"e","\u02DA":"o","\u0386":"A","\u0388":"E","\u0389":"H","\u038A":"I","\u038C":"O","\u038E":"Y","\u038F":"W","\u0390":"i","\u0391":"A","\u0392":"B","\u0393":"G","\u0394":"D","\u0395":"E","\u0396":"Z","\u0397":"H","\u0398":"8","\u0399":"I","\u039A":"K","\u039B":"L","\u039C":"M","\u039D":"N","\u039E":"3","\u039F":"O","\u03A0":"P","\u03A1":"R","\u03A3":"S","\u03A4":"T","\u03A5":"Y","\u03A6":"F","\u03A7":"X","\u03A8":"PS","\u03A9":"W","\u03AA":"I","\u03AB":"Y","\u03AC":"a","\u03AD":"e","\u03AE":"h","\u03AF":"i","\u03B0":"y","\u03B1":"a","\u03B2":"b","\u03B3":"g","\u03B4":"d","\u03B5":"e","\u03B6":"z","\u03B7":"h","\u03B8":"8","\u03B9":"i","\u03BA":"k","\u03BB":"l","\u03BC":"m","\u03BD":"n","\u03BE":"3","\u03BF":"o","\u03C0":"p","\u03C1":"r","\u03C2":"s","\u03C3":"s","\u03C4":"t","\u03C5":"y","\u03C6":"f","\u03C7":"x","\u03C8":"ps","\u03C9":"w","\u03CA":"i","\u03CB":"y","\u03CC":"o","\u03CD":"y","\u03CE":"w","\u0401":"Yo","\u0402":"DJ","\u0404":"Ye","\u0406":"I","\u0407":"Yi","\u0408":"J","\u0409":"LJ","\u040A":"NJ","\u040B":"C","\u040F":"DZ","\u0410":"A","\u0411":"B","\u0412":"V","\u0413":"G","\u0414":"D","\u0415":"E","\u0416":"Zh","\u0417":"Z","\u0418":"I","\u0419":"J","\u041A":"K","\u041B":"L","\u041C":"M","\u041D":"N","\u041E":"O","\u041F":"P","\u0420":"R","\u0421":"S","\u0422":"T","\u0423":"U","\u0424":"F","\u0425":"H","\u0426":"C","\u0427":"Ch","\u0428":"Sh","\u0429":"Sh","\u042A":"U","\u042B":"Y","\u042C":"","\u042D":"E","\u042E":"Yu","\u042F":"Ya","\u0430":"a","\u0431":"b","\u0432":"v","\u0433":"g","\u0434":"d","\u0435":"e","\u0436":"zh","\u0437":"z","\u0438":"i","\u0439":"j","\u043A":"k","\u043B":"l","\u043C":"m","\u043D":"n","\u043E":"o","\u043F":"p","\u0440":"r","\u0441":"s","\u0442":"t","\u0443":"u","\u0444":"f","\u0445":"h","\u0446":"c","\u0447":"ch","\u0448":"sh","\u0449":"sh","\u044A":"u","\u044B":"y","\u044C":"","\u044D":"e","\u044E":"yu","\u044F":"ya","\u0451":"yo","\u0452":"dj","\u0454":"ye","\u0456":"i","\u0457":"yi","\u0458":"j","\u0459":"lj","\u045A":"nj","\u045B":"c","\u045D":"u","\u045F":"dz","\u0490":"G","\u0491":"g","\u0492":"GH","\u0493":"gh","\u049A":"KH","\u049B":"kh","\u04A2":"NG","\u04A3":"ng","\u04AE":"UE","\u04AF":"ue","\u04B0":"U","\u04B1":"u","\u04BA":"H","\u04BB":"h","\u04D8":"AE","\u04D9":"ae","\u04E8":"OE","\u04E9":"oe","\u0531":"A","\u0532":"B","\u0533":"G","\u0534":"D","\u0535":"E","\u0536":"Z","\u0537":"E'","\u0538":"Y'","\u0539":"T'","\u053A":"JH","\u053B":"I","\u053C":"L","\u053D":"X","\u053E":"C'","\u053F":"K","\u0540":"H","\u0541":"D'","\u0542":"GH","\u0543":"TW","\u0544":"M","\u0545":"Y","\u0546":"N","\u0547":"SH","\u0549":"CH","\u054A":"P","\u054B":"J","\u054C":"R'","\u054D":"S","\u054E":"V","\u054F":"T","\u0550":"R","\u0551":"C","\u0553":"P'","\u0554":"Q'","\u0555":"O''","\u0556":"F","\u0587":"EV","\u0621":"a","\u0622":"aa","\u0623":"a","\u0624":"u","\u0625":"i","\u0626":"e","\u0627":"a","\u0628":"b","\u0629":"h","\u062A":"t","\u062B":"th","\u062C":"j","\u062D":"h","\u062E":"kh","\u062F":"d","\u0630":"th","\u0631":"r","\u0632":"z","\u0633":"s","\u0634":"sh","\u0635":"s","\u0636":"dh","\u0637":"t","\u0638":"z","\u0639":"a","\u063A":"gh","\u0641":"f","\u0642":"q","\u0643":"k","\u0644":"l","\u0645":"m","\u0646":"n","\u0647":"h","\u0648":"w","\u0649":"a","\u064A":"y","\u064B":"an","\u064C":"on","\u064D":"en","\u064E":"a","\u064F":"u","\u0650":"e","\u0652":"","\u0660":"0","\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u067E":"p","\u0686":"ch","\u0698":"zh","\u06A9":"k","\u06AF":"g","\u06CC":"y","\u06F0":"0","\u06F1":"1","\u06F2":"2","\u06F3":"3","\u06F4":"4","\u06F5":"5","\u06F6":"6","\u06F7":"7","\u06F8":"8","\u06F9":"9","\u0E3F":"baht","\u10D0":"a","\u10D1":"b","\u10D2":"g","\u10D3":"d","\u10D4":"e","\u10D5":"v","\u10D6":"z","\u10D7":"t","\u10D8":"i","\u10D9":"k","\u10DA":"l","\u10DB":"m","\u10DC":"n","\u10DD":"o","\u10DE":"p","\u10DF":"zh","\u10E0":"r","\u10E1":"s","\u10E2":"t","\u10E3":"u","\u10E4":"f","\u10E5":"k","\u10E6":"gh","\u10E7":"q","\u10E8":"sh","\u10E9":"ch","\u10EA":"ts","\u10EB":"dz","\u10EC":"ts","\u10ED":"ch","\u10EE":"kh","\u10EF":"j","\u10F0":"h","\u1E62":"S","\u1E63":"s","\u1E80":"W","\u1E81":"w","\u1E82":"W","\u1E83":"w","\u1E84":"W","\u1E85":"w","\u1E9E":"SS","\u1EA0":"A","\u1EA1":"a","\u1EA2":"A","\u1EA3":"a","\u1EA4":"A","\u1EA5":"a","\u1EA6":"A","\u1EA7":"a","\u1EA8":"A","\u1EA9":"a","\u1EAA":"A","\u1EAB":"a","\u1EAC":"A","\u1EAD":"a","\u1EAE":"A","\u1EAF":"a","\u1EB0":"A","\u1EB1":"a","\u1EB2":"A","\u1EB3":"a","\u1EB4":"A","\u1EB5":"a","\u1EB6":"A","\u1EB7":"a","\u1EB8":"E","\u1EB9":"e","\u1EBA":"E","\u1EBB":"e","\u1EBC":"E","\u1EBD":"e","\u1EBE":"E","\u1EBF":"e","\u1EC0":"E","\u1EC1":"e","\u1EC2":"E","\u1EC3":"e","\u1EC4":"E","\u1EC5":"e","\u1EC6":"E","\u1EC7":"e","\u1EC8":"I","\u1EC9":"i","\u1ECA":"I","\u1ECB":"i","\u1ECC":"O","\u1ECD":"o","\u1ECE":"O","\u1ECF":"o","\u1ED0":"O","\u1ED1":"o","\u1ED2":"O","\u1ED3":"o","\u1ED4":"O","\u1ED5":"o","\u1ED6":"O","\u1ED7":"o","\u1ED8":"O","\u1ED9":"o","\u1EDA":"O","\u1EDB":"o","\u1EDC":"O","\u1EDD":"o","\u1EDE":"O","\u1EDF":"o","\u1EE0":"O","\u1EE1":"o","\u1EE2":"O","\u1EE3":"o","\u1EE4":"U","\u1EE5":"u","\u1EE6":"U","\u1EE7":"u","\u1EE8":"U","\u1EE9":"u","\u1EEA":"U","\u1EEB":"u","\u1EEC":"U","\u1EED":"u","\u1EEE":"U","\u1EEF":"u","\u1EF0":"U","\u1EF1":"u","\u1EF2":"Y","\u1EF3":"y","\u1EF4":"Y","\u1EF5":"y","\u1EF6":"Y","\u1EF7":"y","\u1EF8":"Y","\u1EF9":"y","\u2013":"-","\u2018":"'","\u2019":"'","\u201C":"\\"","\u201D":"\\"","\u201E":"\\"","\u2020":"+","\u2022":"*","\u2026":"...","\u20A0":"ecu","\u20A2":"cruzeiro","\u20A3":"french franc","\u20A4":"lira","\u20A5":"mill","\u20A6":"naira","\u20A7":"peseta","\u20A8":"rupee","\u20A9":"won","\u20AA":"new shequel","\u20AB":"dong","\u20AC":"euro","\u20AD":"kip","\u20AE":"tugrik","\u20AF":"drachma","\u20B0":"penny","\u20B1":"peso","\u20B2":"guarani","\u20B3":"austral","\u20B4":"hryvnia","\u20B5":"cedi","\u20B8":"kazakhstani tenge","\u20B9":"indian rupee","\u20BA":"turkish lira","\u20BD":"russian ruble","\u20BF":"bitcoin","\u2120":"sm","\u2122":"tm","\u2202":"d","\u2206":"delta","\u2211":"sum","\u221E":"infinity","\u2665":"love","\u5143":"yuan","\u5186":"yen","\uFDFC":"rial","\uFEF5":"laa","\uFEF7":"laa","\uFEF9":"lai","\uFEFB":"la"}`);
|
|
8457
8457
|
var locales = JSON.parse('{"bg":{"\u0419":"Y","\u0426":"Ts","\u0429":"Sht","\u042A":"A","\u042C":"Y","\u0439":"y","\u0446":"ts","\u0449":"sht","\u044A":"a","\u044C":"y"},"de":{"\xC4":"AE","\xE4":"ae","\xD6":"OE","\xF6":"oe","\xDC":"UE","\xFC":"ue","\xDF":"ss","%":"prozent","&":"und","|":"oder","\u2211":"summe","\u221E":"unendlich","\u2665":"liebe"},"es":{"%":"por ciento","&":"y","<":"menor que",">":"mayor que","|":"o","\xA2":"centavos","\xA3":"libras","\xA4":"moneda","\u20A3":"francos","\u2211":"suma","\u221E":"infinito","\u2665":"amor"},"fr":{"%":"pourcent","&":"et","<":"plus petit",">":"plus grand","|":"ou","\xA2":"centime","\xA3":"livre","\xA4":"devise","\u20A3":"franc","\u2211":"somme","\u221E":"infini","\u2665":"amour"},"pt":{"%":"porcento","&":"e","<":"menor",">":"maior","|":"ou","\xA2":"centavo","\u2211":"soma","\xA3":"libra","\u221E":"infinito","\u2665":"amor"},"uk":{"\u0418":"Y","\u0438":"y","\u0419":"Y","\u0439":"y","\u0426":"Ts","\u0446":"ts","\u0425":"Kh","\u0445":"kh","\u0429":"Shch","\u0449":"shch","\u0413":"H","\u0433":"h"},"vi":{"\u0110":"D","\u0111":"d"},"da":{"\xD8":"OE","\xF8":"oe","\xC5":"AA","\xE5":"aa","%":"procent","&":"og","|":"eller","$":"dollar","<":"mindre end",">":"st\xF8rre end"},"nb":{"&":"og","\xC5":"AA","\xC6":"AE","\xD8":"OE","\xE5":"aa","\xE6":"ae","\xF8":"oe"},"it":{"&":"e"},"nl":{"&":"en"},"sv":{"&":"och","\xC5":"AA","\xC4":"AE","\xD6":"OE","\xE5":"aa","\xE4":"ae","\xF6":"oe"}}');
|
|
8458
|
-
function replace(
|
|
8459
|
-
if (typeof
|
|
8458
|
+
function replace(string3, options) {
|
|
8459
|
+
if (typeof string3 !== "string") {
|
|
8460
8460
|
throw new Error("slugify: string argument expected");
|
|
8461
8461
|
}
|
|
8462
8462
|
options = typeof options === "string" ? { replacement: options } : options || {};
|
|
8463
8463
|
var locale = locales[options.locale] || {};
|
|
8464
8464
|
var replacement = options.replacement === void 0 ? "-" : options.replacement;
|
|
8465
8465
|
var trim = options.trim === void 0 ? true : options.trim;
|
|
8466
|
-
var slug =
|
|
8466
|
+
var slug = string3.normalize().split("").reduce(function(result6, ch) {
|
|
8467
8467
|
var appendChar = locale[ch];
|
|
8468
8468
|
if (appendChar === void 0) appendChar = charMap[ch];
|
|
8469
8469
|
if (appendChar === void 0) appendChar = ch;
|
|
@@ -11011,7 +11011,7 @@ async function compactVerify(jws2, key3, options) {
|
|
|
11011
11011
|
}
|
|
11012
11012
|
|
|
11013
11013
|
// ../node_modules/@inrupt/solid-client-authn-core/node_modules/jose/dist/browser/lib/epoch.js
|
|
11014
|
-
var epoch_default = (
|
|
11014
|
+
var epoch_default = (date6) => Math.floor(date6.getTime() / 1e3);
|
|
11015
11015
|
|
|
11016
11016
|
// ../node_modules/@inrupt/solid-client-authn-core/node_modules/jose/dist/browser/lib/secs.js
|
|
11017
11017
|
var minute = 60;
|
|
@@ -11399,8 +11399,8 @@ var LocalJWKSet = class {
|
|
|
11399
11399
|
}
|
|
11400
11400
|
this._jwks = clone(jwks);
|
|
11401
11401
|
}
|
|
11402
|
-
async getKey(protectedHeader,
|
|
11403
|
-
const { alg, kid } = { ...protectedHeader, ...
|
|
11402
|
+
async getKey(protectedHeader, token2) {
|
|
11403
|
+
const { alg, kid } = { ...protectedHeader, ...token2?.header };
|
|
11404
11404
|
const kty = getKtyFromAlg(alg);
|
|
11405
11405
|
const candidates = this._jwks.keys.filter((jwk2) => {
|
|
11406
11406
|
let candidate4 = kty === jwk2.kty;
|
|
@@ -11470,7 +11470,7 @@ async function importWithAlgCache(cache, jwk, alg) {
|
|
|
11470
11470
|
}
|
|
11471
11471
|
function createLocalJWKSet(jwks) {
|
|
11472
11472
|
const set = new LocalJWKSet(jwks);
|
|
11473
|
-
const localJWKSet = async (protectedHeader,
|
|
11473
|
+
const localJWKSet = async (protectedHeader, token2) => set.getKey(protectedHeader, token2);
|
|
11474
11474
|
Object.defineProperties(localJWKSet, {
|
|
11475
11475
|
jwks: {
|
|
11476
11476
|
value: () => clone(set._jwks),
|
|
@@ -11563,17 +11563,17 @@ var RemoteJWKSet = class {
|
|
|
11563
11563
|
fresh() {
|
|
11564
11564
|
return typeof this._jwksTimestamp === "number" ? Date.now() < this._jwksTimestamp + this._cacheMaxAge : false;
|
|
11565
11565
|
}
|
|
11566
|
-
async getKey(protectedHeader,
|
|
11566
|
+
async getKey(protectedHeader, token2) {
|
|
11567
11567
|
if (!this._local || !this.fresh()) {
|
|
11568
11568
|
await this.reload();
|
|
11569
11569
|
}
|
|
11570
11570
|
try {
|
|
11571
|
-
return await this._local(protectedHeader,
|
|
11571
|
+
return await this._local(protectedHeader, token2);
|
|
11572
11572
|
} catch (err) {
|
|
11573
11573
|
if (err instanceof JWKSNoMatchingKey) {
|
|
11574
11574
|
if (this.coolingDown() === false) {
|
|
11575
11575
|
await this.reload();
|
|
11576
|
-
return this._local(protectedHeader,
|
|
11576
|
+
return this._local(protectedHeader, token2);
|
|
11577
11577
|
}
|
|
11578
11578
|
}
|
|
11579
11579
|
throw err;
|
|
@@ -11605,7 +11605,7 @@ var RemoteJWKSet = class {
|
|
|
11605
11605
|
};
|
|
11606
11606
|
function createRemoteJWKSet(url7, options) {
|
|
11607
11607
|
const set = new RemoteJWKSet(url7, options);
|
|
11608
|
-
const remoteJWKSet = async (protectedHeader,
|
|
11608
|
+
const remoteJWKSet = async (protectedHeader, token2) => set.getKey(protectedHeader, token2);
|
|
11609
11609
|
Object.defineProperties(remoteJWKSet, {
|
|
11610
11610
|
coolingDown: {
|
|
11611
11611
|
get: () => set.coolingDown(),
|
|
@@ -12081,8 +12081,8 @@ function maybeBuildRpInitiatedLogout({ endSessionEndpoint, idTokenHint }) {
|
|
|
12081
12081
|
});
|
|
12082
12082
|
};
|
|
12083
12083
|
}
|
|
12084
|
-
function isSupportedTokenType(
|
|
12085
|
-
return typeof
|
|
12084
|
+
function isSupportedTokenType(token2) {
|
|
12085
|
+
return typeof token2 === "string" && ["DPoP", "Bearer"].includes(token2);
|
|
12086
12086
|
}
|
|
12087
12087
|
function isValidUrl(url7) {
|
|
12088
12088
|
try {
|
|
@@ -13693,13 +13693,16 @@ var Thing = class {
|
|
|
13693
13693
|
values: values2[predicate4]
|
|
13694
13694
|
}));
|
|
13695
13695
|
}
|
|
13696
|
-
relations() {
|
|
13697
|
-
const statements = this.store.statementsMatching(
|
|
13696
|
+
relations(predicate4) {
|
|
13697
|
+
const statements = this.store.statementsMatching(
|
|
13698
|
+
namedNode(this.uri),
|
|
13699
|
+
predicate4 ? namedNode(predicate4) : null
|
|
13700
|
+
);
|
|
13698
13701
|
const values2 = statements.filter((it) => isNamedNode(it.object) && !isRdfType(it.predicate)).reduce(accumulateValues, {});
|
|
13699
|
-
return Object.keys(values2).map((
|
|
13700
|
-
predicate:
|
|
13701
|
-
label: labelFromUri(
|
|
13702
|
-
uris: values2[
|
|
13702
|
+
return Object.keys(values2).map((predicate5) => ({
|
|
13703
|
+
predicate: predicate5,
|
|
13704
|
+
label: labelFromUri(predicate5),
|
|
13705
|
+
uris: values2[predicate5]
|
|
13703
13706
|
}));
|
|
13704
13707
|
}
|
|
13705
13708
|
reverseRelations() {
|
|
@@ -14251,7 +14254,8 @@ __export(index_es_exports, {
|
|
|
14251
14254
|
tabont: () => tabont,
|
|
14252
14255
|
trip: () => trip3,
|
|
14253
14256
|
vcard: () => vcard,
|
|
14254
|
-
wf: () => wf
|
|
14257
|
+
wf: () => wf,
|
|
14258
|
+
xsd: () => xsd
|
|
14255
14259
|
});
|
|
14256
14260
|
|
|
14257
14261
|
// ../node_modules/rdf-namespaces/dist/acl-6c2719b4.js
|
|
@@ -35268,6 +35272,104 @@ var wfImport = /* @__PURE__ */ Object.freeze({
|
|
|
35268
35272
|
transactionStore
|
|
35269
35273
|
});
|
|
35270
35274
|
|
|
35275
|
+
// ../node_modules/rdf-namespaces/dist/xsd-7381cf16.js
|
|
35276
|
+
var ID = "http://www.w3.org/2001/XMLSchema#ID";
|
|
35277
|
+
var IDREF = "http://www.w3.org/2001/XMLSchema#IDREF";
|
|
35278
|
+
var ENTITY = "http://www.w3.org/2001/XMLSchema#ENTITY";
|
|
35279
|
+
var NCName = "http://www.w3.org/2001/XMLSchema#NCName";
|
|
35280
|
+
var NMTOKEN = "http://www.w3.org/2001/XMLSchema#NMTOKEN";
|
|
35281
|
+
var Name2 = "http://www.w3.org/2001/XMLSchema#Name";
|
|
35282
|
+
var totalDigits = "http://www.w3.org/2001/XMLSchema#totalDigits";
|
|
35283
|
+
var fractionDigits = "http://www.w3.org/2001/XMLSchema#fractionDigits";
|
|
35284
|
+
var pattern6 = "http://www.w3.org/2001/XMLSchema#pattern";
|
|
35285
|
+
var maxInclusive2 = "http://www.w3.org/2001/XMLSchema#maxInclusive";
|
|
35286
|
+
var maxExclusive2 = "http://www.w3.org/2001/XMLSchema#maxExclusive";
|
|
35287
|
+
var minInclusive2 = "http://www.w3.org/2001/XMLSchema#minInclusive";
|
|
35288
|
+
var minExclusive2 = "http://www.w3.org/2001/XMLSchema#minExclusive";
|
|
35289
|
+
var QName = "http://www.w3.org/2001/XMLSchema#QName";
|
|
35290
|
+
var anyURI = "http://www.w3.org/2001/XMLSchema#anyURI";
|
|
35291
|
+
var base64Binary2 = "http://www.w3.org/2001/XMLSchema#base64Binary";
|
|
35292
|
+
var boolean2 = "http://www.w3.org/2001/XMLSchema#boolean";
|
|
35293
|
+
var byte = "http://www.w3.org/2001/XMLSchema#byte";
|
|
35294
|
+
var date5 = "http://www.w3.org/2001/XMLSchema#date";
|
|
35295
|
+
var dateTime2 = "http://www.w3.org/2001/XMLSchema#dateTime";
|
|
35296
|
+
var decimal2 = "http://www.w3.org/2001/XMLSchema#decimal";
|
|
35297
|
+
var double = "http://www.w3.org/2001/XMLSchema#double";
|
|
35298
|
+
var duration6 = "http://www.w3.org/2001/XMLSchema#duration";
|
|
35299
|
+
var float = "http://www.w3.org/2001/XMLSchema#float";
|
|
35300
|
+
var gDay = "http://www.w3.org/2001/XMLSchema#gDay";
|
|
35301
|
+
var gMonth = "http://www.w3.org/2001/XMLSchema#gMonth";
|
|
35302
|
+
var gMonthDay = "http://www.w3.org/2001/XMLSchema#gMonthDay";
|
|
35303
|
+
var gYear = "http://www.w3.org/2001/XMLSchema#gYear";
|
|
35304
|
+
var gYearMonth = "http://www.w3.org/2001/XMLSchema#gYearMonth";
|
|
35305
|
+
var hexBinary = "http://www.w3.org/2001/XMLSchema#hexBinary";
|
|
35306
|
+
var int = "http://www.w3.org/2001/XMLSchema#int";
|
|
35307
|
+
var integer2 = "http://www.w3.org/2001/XMLSchema#integer";
|
|
35308
|
+
var language8 = "http://www.w3.org/2001/XMLSchema#language";
|
|
35309
|
+
var long = "http://www.w3.org/2001/XMLSchema#long";
|
|
35310
|
+
var negativeInteger = "http://www.w3.org/2001/XMLSchema#negativeInteger";
|
|
35311
|
+
var nonNegativeInteger = "http://www.w3.org/2001/XMLSchema#nonNegativeInteger";
|
|
35312
|
+
var nonPositiveInteger = "http://www.w3.org/2001/XMLSchema#nonPositiveInteger";
|
|
35313
|
+
var normalizedString = "http://www.w3.org/2001/XMLSchema#normalizedString";
|
|
35314
|
+
var positiveInteger = "http://www.w3.org/2001/XMLSchema#positiveInteger";
|
|
35315
|
+
var short2 = "http://www.w3.org/2001/XMLSchema#short";
|
|
35316
|
+
var string2 = "http://www.w3.org/2001/XMLSchema#string";
|
|
35317
|
+
var time2 = "http://www.w3.org/2001/XMLSchema#time";
|
|
35318
|
+
var token = "http://www.w3.org/2001/XMLSchema#token";
|
|
35319
|
+
var unsignedByte = "http://www.w3.org/2001/XMLSchema#unsignedByte";
|
|
35320
|
+
var unsignedInt2 = "http://www.w3.org/2001/XMLSchema#unsignedInt";
|
|
35321
|
+
var unsignedLong = "http://www.w3.org/2001/XMLSchema#unsignedLong";
|
|
35322
|
+
var unsignedShort = "http://www.w3.org/2001/XMLSchema#unsignedShort";
|
|
35323
|
+
var xsdImport = /* @__PURE__ */ Object.freeze({
|
|
35324
|
+
ID,
|
|
35325
|
+
IDREF,
|
|
35326
|
+
ENTITY,
|
|
35327
|
+
NCName,
|
|
35328
|
+
NMTOKEN,
|
|
35329
|
+
Name: Name2,
|
|
35330
|
+
totalDigits,
|
|
35331
|
+
fractionDigits,
|
|
35332
|
+
pattern: pattern6,
|
|
35333
|
+
maxInclusive: maxInclusive2,
|
|
35334
|
+
maxExclusive: maxExclusive2,
|
|
35335
|
+
minInclusive: minInclusive2,
|
|
35336
|
+
minExclusive: minExclusive2,
|
|
35337
|
+
QName,
|
|
35338
|
+
anyURI,
|
|
35339
|
+
base64Binary: base64Binary2,
|
|
35340
|
+
boolean: boolean2,
|
|
35341
|
+
byte,
|
|
35342
|
+
date: date5,
|
|
35343
|
+
dateTime: dateTime2,
|
|
35344
|
+
decimal: decimal2,
|
|
35345
|
+
double,
|
|
35346
|
+
duration: duration6,
|
|
35347
|
+
float,
|
|
35348
|
+
gDay,
|
|
35349
|
+
gMonth,
|
|
35350
|
+
gMonthDay,
|
|
35351
|
+
gYear,
|
|
35352
|
+
gYearMonth,
|
|
35353
|
+
hexBinary,
|
|
35354
|
+
int,
|
|
35355
|
+
integer: integer2,
|
|
35356
|
+
language: language8,
|
|
35357
|
+
long,
|
|
35358
|
+
negativeInteger,
|
|
35359
|
+
nonNegativeInteger,
|
|
35360
|
+
nonPositiveInteger,
|
|
35361
|
+
normalizedString,
|
|
35362
|
+
positiveInteger,
|
|
35363
|
+
short: short2,
|
|
35364
|
+
string: string2,
|
|
35365
|
+
time: time2,
|
|
35366
|
+
token,
|
|
35367
|
+
unsignedByte,
|
|
35368
|
+
unsignedInt: unsignedInt2,
|
|
35369
|
+
unsignedLong,
|
|
35370
|
+
unsignedShort
|
|
35371
|
+
});
|
|
35372
|
+
|
|
35271
35373
|
// ../node_modules/rdf-namespaces/dist/index.es.js
|
|
35272
35374
|
var acl = aclImport;
|
|
35273
35375
|
var arg = argImport;
|
|
@@ -35303,6 +35405,7 @@ var tab = tabImport;
|
|
|
35303
35405
|
var tabont = tabontImport;
|
|
35304
35406
|
var vcard = vcardImport;
|
|
35305
35407
|
var wf = wfImport;
|
|
35408
|
+
var xsd = xsdImport;
|
|
35306
35409
|
|
|
35307
35410
|
// src/terms/createListOfTerms.ts
|
|
35308
35411
|
var createListOfTerms = (terms) => Object.keys(terms).flatMap((prefix3) => {
|