solid-ui 2.4.9-beta-d2215c66 → 2.4.10-5712614f
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/lib/authn/authn.d.ts.map +1 -1
- package/lib/authn/authn.js +44 -10
- package/lib/authn/authn.js.map +1 -1
- package/lib/header/index.d.ts +5 -1
- package/lib/header/index.d.ts.map +1 -1
- package/lib/header/index.js +59 -5
- package/lib/header/index.js.map +1 -1
- package/lib/header/styleMap.d.ts +16 -1
- package/lib/header/styleMap.d.ts.map +1 -1
- package/lib/header/styleMap.js +21 -2
- package/lib/header/styleMap.js.map +1 -1
- package/lib/versionInfo.js +5 -5
- package/lib/versionInfo.js.map +1 -1
- package/lib/webpack-bundle.js +139 -32
- package/lib/webpack-bundle.js.map +1 -1
- package/lib/widgets/forms/autocomplete/publicData.d.ts.map +1 -1
- package/lib/widgets/forms/autocomplete/publicData.js.map +1 -1
- package/package.json +9 -9
package/lib/webpack-bundle.js
CHANGED
|
@@ -3247,7 +3247,7 @@ function _loadIndex() {
|
|
|
3247
3247
|
case 0:
|
|
3248
3248
|
_context7.next = 2;
|
|
3249
3249
|
return _logic.solidLogicSingleton.loadIndexes(context.me, isPublic ? context.publicProfile || null : null, isPublic ? null : context.preferencesFile || null, /*#__PURE__*/function () {
|
|
3250
|
-
var
|
|
3250
|
+
var _ref4 = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee6(err) {
|
|
3251
3251
|
return _regenerator["default"].wrap(function _callee6$(_context6) {
|
|
3252
3252
|
while (1) {
|
|
3253
3253
|
switch (_context6.prev = _context6.next) {
|
|
@@ -3263,7 +3263,7 @@ function _loadIndex() {
|
|
|
3263
3263
|
}));
|
|
3264
3264
|
|
|
3265
3265
|
return function (_x21) {
|
|
3266
|
-
return
|
|
3266
|
+
return _ref4.apply(this, arguments);
|
|
3267
3267
|
};
|
|
3268
3268
|
}());
|
|
3269
3269
|
|
|
@@ -3302,7 +3302,7 @@ function _loadTypeIndexes() {
|
|
|
3302
3302
|
case 0:
|
|
3303
3303
|
_context9.next = 2;
|
|
3304
3304
|
return _logic.solidLogicSingleton.loadIndexes(context.me, context.publicProfile || null, context.preferencesFile || null, /*#__PURE__*/function () {
|
|
3305
|
-
var
|
|
3305
|
+
var _ref5 = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee8(err) {
|
|
3306
3306
|
return _regenerator["default"].wrap(function _callee8$(_context8) {
|
|
3307
3307
|
while (1) {
|
|
3308
3308
|
switch (_context8.prev = _context8.next) {
|
|
@@ -3318,7 +3318,7 @@ function _loadTypeIndexes() {
|
|
|
3318
3318
|
}));
|
|
3319
3319
|
|
|
3320
3320
|
return function (_x22) {
|
|
3321
|
-
return
|
|
3321
|
+
return _ref5.apply(this, arguments);
|
|
3322
3322
|
};
|
|
3323
3323
|
}());
|
|
3324
3324
|
|
|
@@ -4236,7 +4236,7 @@ function renderSignInPopup(dom) {
|
|
|
4236
4236
|
issuerBottonLabel.innerText = 'Or pick an identity provider from the list below:';
|
|
4237
4237
|
issuerBottonLabel.setAttribute('style', 'color: #888');
|
|
4238
4238
|
issuerButtonContainer.appendChild(issuerBottonLabel);
|
|
4239
|
-
|
|
4239
|
+
getSuggestedIssuers().forEach(function (issuerInfo) {
|
|
4240
4240
|
var issuerButton = dom.createElement('button');
|
|
4241
4241
|
issuerButton.innerText = issuerInfo.name;
|
|
4242
4242
|
issuerButton.setAttribute('style', 'height: 38px; margin-top: 10px');
|
|
@@ -4247,6 +4247,40 @@ function renderSignInPopup(dom) {
|
|
|
4247
4247
|
});
|
|
4248
4248
|
issuerPopupBox.appendChild(issuerButtonContainer);
|
|
4249
4249
|
}
|
|
4250
|
+
/**
|
|
4251
|
+
* @returns - A list of suggested OIDC issuers
|
|
4252
|
+
*/
|
|
4253
|
+
|
|
4254
|
+
|
|
4255
|
+
function getSuggestedIssuers() {
|
|
4256
|
+
// Suggest a default list of OIDC issuers
|
|
4257
|
+
var issuers = [].concat(DEFAULT_ISSUERS); // Suggest the current host if not already included
|
|
4258
|
+
|
|
4259
|
+
var _URL = new URL(location.href),
|
|
4260
|
+
host = _URL.host,
|
|
4261
|
+
origin = _URL.origin;
|
|
4262
|
+
|
|
4263
|
+
var hosts = issuers.map(function (_ref2) {
|
|
4264
|
+
var uri = _ref2.uri;
|
|
4265
|
+
return new URL(uri).host;
|
|
4266
|
+
});
|
|
4267
|
+
|
|
4268
|
+
if (!hosts.includes(host) && !hosts.some(function (existing) {
|
|
4269
|
+
return isSubdomainOf(host, existing);
|
|
4270
|
+
})) {
|
|
4271
|
+
issuers.unshift({
|
|
4272
|
+
name: host,
|
|
4273
|
+
uri: origin
|
|
4274
|
+
});
|
|
4275
|
+
}
|
|
4276
|
+
|
|
4277
|
+
return issuers;
|
|
4278
|
+
}
|
|
4279
|
+
|
|
4280
|
+
function isSubdomainOf(subdomain, domain) {
|
|
4281
|
+
var dot = subdomain.length - domain.length - 1;
|
|
4282
|
+
return dot > 0 && subdomain[dot] === '.' && subdomain.endsWith(domain);
|
|
4283
|
+
}
|
|
4250
4284
|
/**
|
|
4251
4285
|
* @returns {Promise<string|null>} Resolves with WebID URI or null
|
|
4252
4286
|
*/
|
|
@@ -4576,8 +4610,8 @@ function selectWorkspace(dom, appDetails, callbackWS) {
|
|
|
4576
4610
|
div: box
|
|
4577
4611
|
};
|
|
4578
4612
|
|
|
4579
|
-
function say(s) {
|
|
4580
|
-
box.appendChild(widgets.errorMessageBlock(dom, s));
|
|
4613
|
+
function say(s, background) {
|
|
4614
|
+
box.appendChild(widgets.errorMessageBlock(dom, s, background));
|
|
4581
4615
|
}
|
|
4582
4616
|
|
|
4583
4617
|
function figureOutBase(ws) {
|
|
@@ -4665,17 +4699,17 @@ function selectWorkspace(dom, appDetails, callbackWS) {
|
|
|
4665
4699
|
|
|
4666
4700
|
|
|
4667
4701
|
if (w.length === 0 && storages) {
|
|
4668
|
-
say("You don't seem to have any workspaces. You have ".concat(storages.length, " storage spaces."));
|
|
4702
|
+
say("You don't seem to have any workspaces. You have ".concat(storages.length, " storage spaces."), 'white');
|
|
4669
4703
|
storages.map(function (s) {
|
|
4670
4704
|
w = w.concat(_logic.solidLogicSingleton.store.each(s, ns.ldp('contains')));
|
|
4671
4705
|
return w;
|
|
4672
4706
|
}).filter(function (file) {
|
|
4673
|
-
return ['public', 'private'].includes(file.id().toLowerCase());
|
|
4707
|
+
return file.id ? ['public', 'private'].includes(file.id().toLowerCase()) : '';
|
|
4674
4708
|
});
|
|
4675
4709
|
}
|
|
4676
4710
|
|
|
4677
4711
|
if (w.length === 1) {
|
|
4678
|
-
say("Workspace used: ".concat(w[0].uri)); // @@ allow user to see URI
|
|
4712
|
+
say("Workspace used: ".concat(w[0].uri), 'white'); // @@ allow user to see URI
|
|
4679
4713
|
|
|
4680
4714
|
newBase = figureOutBase(w[0]); // callbackWS(w[0], newBase)
|
|
4681
4715
|
// } else if (w.length === 0) {
|
|
@@ -8576,6 +8610,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
8576
8610
|
value: true
|
|
8577
8611
|
});
|
|
8578
8612
|
exports.createBanner = createBanner;
|
|
8613
|
+
exports.createHelpMenu = createHelpMenu;
|
|
8579
8614
|
exports.createLoginSignUpButtons = createLoginSignUpButtons;
|
|
8580
8615
|
exports.createUserMenu = createUserMenu;
|
|
8581
8616
|
exports.createUserMenuButton = createUserMenuButton;
|
|
@@ -8589,6 +8624,8 @@ var _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime
|
|
|
8589
8624
|
|
|
8590
8625
|
var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ "./node_modules/@babel/runtime/helpers/asyncToGenerator.js"));
|
|
8591
8626
|
|
|
8627
|
+
var _ = __webpack_require__(/*! .. */ "./lib/index.js");
|
|
8628
|
+
|
|
8592
8629
|
var _authn = __webpack_require__(/*! ../authn/authn */ "./lib/authn/authn.js");
|
|
8593
8630
|
|
|
8594
8631
|
var widgets = _interopRequireWildcard(__webpack_require__(/*! ../widgets */ "./lib/widgets/index.js"));
|
|
@@ -8697,7 +8734,7 @@ function createBanner(_x3, _x4, _x5, _x6) {
|
|
|
8697
8734
|
|
|
8698
8735
|
function _createBanner() {
|
|
8699
8736
|
_createBanner = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee3(store, pod, user, options) {
|
|
8700
|
-
var podLink, image,
|
|
8737
|
+
var podLink, image, userMenu, helpMenu, banner, leftSideOfHeader;
|
|
8701
8738
|
return _regenerator["default"].wrap(function _callee3$(_context3) {
|
|
8702
8739
|
while (1) {
|
|
8703
8740
|
switch (_context3.prev = _context3.next) {
|
|
@@ -8731,14 +8768,19 @@ function _createBanner() {
|
|
|
8731
8768
|
_context3.t0 = createLoginSignUpButtons();
|
|
8732
8769
|
|
|
8733
8770
|
case 14:
|
|
8734
|
-
|
|
8771
|
+
userMenu = _context3.t0;
|
|
8772
|
+
helpMenu = createHelpMenu();
|
|
8735
8773
|
banner = document.createElement('div');
|
|
8736
8774
|
(0, _headerHelpers.addStyleClassToElement)(banner, ['header-banner']);
|
|
8737
8775
|
banner.appendChild(podLink);
|
|
8738
|
-
|
|
8776
|
+
leftSideOfHeader = document.createElement('div');
|
|
8777
|
+
(0, _headerHelpers.addStyleClassToElement)(leftSideOfHeader, ['header-banner__right-menu']);
|
|
8778
|
+
leftSideOfHeader.appendChild(userMenu);
|
|
8779
|
+
leftSideOfHeader.appendChild(helpMenu);
|
|
8780
|
+
banner.appendChild(leftSideOfHeader);
|
|
8739
8781
|
return _context3.abrupt("return", banner);
|
|
8740
8782
|
|
|
8741
|
-
case
|
|
8783
|
+
case 25:
|
|
8742
8784
|
case "end":
|
|
8743
8785
|
return _context3.stop();
|
|
8744
8786
|
}
|
|
@@ -8748,6 +8790,51 @@ function _createBanner() {
|
|
|
8748
8790
|
return _createBanner.apply(this, arguments);
|
|
8749
8791
|
}
|
|
8750
8792
|
|
|
8793
|
+
function createHelpMenu() {
|
|
8794
|
+
var helpMenuList = document.createElement('ul');
|
|
8795
|
+
(0, _headerHelpers.addStyleClassToElement)(helpMenuList, ['header-user-menu__list']);
|
|
8796
|
+
helpMenuList.appendChild(createUserMenuItem(createUserMenuLink('User guide', 'https://github.com/solid/userguide', '_blank')));
|
|
8797
|
+
helpMenuList.appendChild(createUserMenuItem(createUserMenuLink('Report a problem', 'https://github.com/solid/solidos/issues', '_blank')));
|
|
8798
|
+
var helpMenu = document.createElement('nav');
|
|
8799
|
+
(0, _headerHelpers.addStyleClassToElement)(helpMenu, ['header-user-menu__navigation-menu']);
|
|
8800
|
+
helpMenu.setAttribute('aria-hidden', 'true');
|
|
8801
|
+
helpMenu.appendChild(helpMenuList);
|
|
8802
|
+
var helpIcon = _.icons.iconBase + 'noun_144.svg';
|
|
8803
|
+
var helpMenuContainer = document.createElement('div');
|
|
8804
|
+
(0, _headerHelpers.addStyleClassToElement)(helpMenuContainer, ['header-banner__user-menu']);
|
|
8805
|
+
(0, _headerHelpers.addStyleClassToElement)(helpMenuContainer, ['header-user-menu']);
|
|
8806
|
+
helpMenuContainer.appendChild(helpMenu);
|
|
8807
|
+
var helpMenuTrigger = document.createElement('button');
|
|
8808
|
+
(0, _headerHelpers.addStyleClassToElement)(helpMenuTrigger, ['header-user-menu__trigger']);
|
|
8809
|
+
helpMenuTrigger.type = 'button';
|
|
8810
|
+
var helpMenuIcon = document.createElement('img');
|
|
8811
|
+
helpMenuIcon.src = helpIcon;
|
|
8812
|
+
(0, _headerHelpers.addStyleClassToElement)(helpMenuIcon, ['header-banner__help-icon']);
|
|
8813
|
+
helpMenuContainer.appendChild(helpMenuTrigger);
|
|
8814
|
+
helpMenuTrigger.appendChild(helpMenuIcon);
|
|
8815
|
+
var throttledMenuToggle = (0, _headerHelpers.throttle)(function (event) {
|
|
8816
|
+
return toggleMenu(event, helpMenuTrigger, helpMenu);
|
|
8817
|
+
}, 50);
|
|
8818
|
+
helpMenuTrigger.addEventListener('click', throttledMenuToggle);
|
|
8819
|
+
var timer = setTimeout(function () {
|
|
8820
|
+
return null;
|
|
8821
|
+
}, 0);
|
|
8822
|
+
helpMenuContainer.addEventListener('mouseover', function (event) {
|
|
8823
|
+
clearTimeout(timer);
|
|
8824
|
+
throttledMenuToggle(event);
|
|
8825
|
+
});
|
|
8826
|
+
helpMenuContainer.addEventListener('mouseout', function (event) {
|
|
8827
|
+
timer = setTimeout(function () {
|
|
8828
|
+
return throttledMenuToggle(event);
|
|
8829
|
+
}, 200);
|
|
8830
|
+
});
|
|
8831
|
+
return helpMenuContainer;
|
|
8832
|
+
}
|
|
8833
|
+
/**
|
|
8834
|
+
* @ignore exporting this only for the unit test
|
|
8835
|
+
*/
|
|
8836
|
+
|
|
8837
|
+
|
|
8751
8838
|
function createLoginSignUpButtons() {
|
|
8752
8839
|
var profileLoginButtonPre = document.createElement('div');
|
|
8753
8840
|
(0, _headerHelpers.addStyleClassToElement)(profileLoginButtonPre, ['header-banner__login']);
|
|
@@ -8771,11 +8858,12 @@ function createUserMenuButton(label, onClick) {
|
|
|
8771
8858
|
*/
|
|
8772
8859
|
|
|
8773
8860
|
|
|
8774
|
-
function createUserMenuLink(label, href) {
|
|
8861
|
+
function createUserMenuLink(label, href, target) {
|
|
8775
8862
|
var link = document.createElement('a');
|
|
8776
8863
|
(0, _headerHelpers.addStyleClassToElement)(link, ['header-user-menu__link']);
|
|
8777
8864
|
link.href = href;
|
|
8778
8865
|
link.innerText = label;
|
|
8866
|
+
if (target) link.target = target;
|
|
8779
8867
|
return link;
|
|
8780
8868
|
}
|
|
8781
8869
|
/**
|
|
@@ -8956,7 +9044,11 @@ var styleMap = {
|
|
|
8956
9044
|
padding: '1em',
|
|
8957
9045
|
width: '100%',
|
|
8958
9046
|
'&:focus, &:hover': {
|
|
8959
|
-
backgroundColor: 'linear-gradient(to right, #7C4DFF 0%, #18A9E6 50%, #01C9EA 100%)'
|
|
9047
|
+
backgroundColor: 'linear-gradient(to right, #7C4DFF 0%, #18A9E6 50%, #01C9EA 100%)' // backgroundColor: '#eee'
|
|
9048
|
+
|
|
9049
|
+
},
|
|
9050
|
+
a: {
|
|
9051
|
+
textDecoration: 'none'
|
|
8960
9052
|
}
|
|
8961
9053
|
},
|
|
8962
9054
|
'header-user-menu__trigger': {
|
|
@@ -9021,7 +9113,6 @@ var styleMap = {
|
|
|
9021
9113
|
backgroundPosition: 'center',
|
|
9022
9114
|
backgroundRepeat: 'no-repeat',
|
|
9023
9115
|
backgroundSize: 'cover',
|
|
9024
|
-
margin: '5px',
|
|
9025
9116
|
height: '50px',
|
|
9026
9117
|
// $icon-size - $image-margin * 2 image-margin was 5px in mashlib and icon size 60px
|
|
9027
9118
|
width: '50px'
|
|
@@ -9030,12 +9121,16 @@ var styleMap = {
|
|
|
9030
9121
|
boxShadow: '0px 1px 4px #000000',
|
|
9031
9122
|
// the color was defined in mashlib as a SASS variable $divider_color
|
|
9032
9123
|
display: 'flex',
|
|
9124
|
+
justifyContent: 'space-between',
|
|
9033
9125
|
padding: '0 1.5em',
|
|
9034
9126
|
marginBottom: '4px'
|
|
9035
9127
|
},
|
|
9036
9128
|
'header-banner__link': {
|
|
9037
9129
|
display: 'block'
|
|
9038
9130
|
},
|
|
9131
|
+
'header-banner__right-menu': {
|
|
9132
|
+
display: 'flex'
|
|
9133
|
+
},
|
|
9039
9134
|
'header-banner__login': {
|
|
9040
9135
|
marginLeft: 'auto',
|
|
9041
9136
|
input: {
|
|
@@ -9049,12 +9144,24 @@ var styleMap = {
|
|
|
9049
9144
|
// the color was defined in mashlib as a SASS variable $divider_color
|
|
9050
9145
|
marginLeft: 'auto'
|
|
9051
9146
|
},
|
|
9147
|
+
'header-banner__help-menu': {
|
|
9148
|
+
borderLeft: 'solid 1px #000000',
|
|
9149
|
+
// the color was defined in mashlib as a SASS variable $divider_color
|
|
9150
|
+
marginLeft: 'auto'
|
|
9151
|
+
},
|
|
9052
9152
|
'header-banner__icon': {
|
|
9053
9153
|
backgroundSize: '65px 60px',
|
|
9054
9154
|
height: '60px !important',
|
|
9055
9155
|
// this is the icon size
|
|
9056
9156
|
width: '65px !important' // may just be 65px round($icon-size * 352 / 322);
|
|
9057
9157
|
|
|
9158
|
+
},
|
|
9159
|
+
'header-banner__help-icon': {
|
|
9160
|
+
backgroundSize: '55px 50px',
|
|
9161
|
+
height: '50px !important',
|
|
9162
|
+
// this is the icon size
|
|
9163
|
+
width: '55px !important' // may just be 65px round($icon-size * 352 / 430);
|
|
9164
|
+
|
|
9058
9165
|
}
|
|
9059
9166
|
};
|
|
9060
9167
|
exports.styleMap = styleMap;
|
|
@@ -15315,20 +15422,20 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
15315
15422
|
});
|
|
15316
15423
|
exports["default"] = void 0;
|
|
15317
15424
|
var _default = {
|
|
15318
|
-
buildTime: '2021-
|
|
15319
|
-
commit: '
|
|
15425
|
+
buildTime: '2021-11-02T14:04:43Z',
|
|
15426
|
+
commit: '5712614f2edaefaea3707a8ac18d6a1a3bb78b5e',
|
|
15320
15427
|
npmInfo: {
|
|
15321
|
-
'solid-ui': '2.4.
|
|
15428
|
+
'solid-ui': '2.4.10',
|
|
15322
15429
|
npm: '6.14.15',
|
|
15323
15430
|
ares: '1.17.2',
|
|
15324
15431
|
brotli: '1.0.9',
|
|
15325
15432
|
cldr: '39.0',
|
|
15326
15433
|
icu: '69.1',
|
|
15327
|
-
llhttp: '2.1.
|
|
15434
|
+
llhttp: '2.1.4',
|
|
15328
15435
|
modules: '83',
|
|
15329
15436
|
napi: '8',
|
|
15330
15437
|
nghttp2: '1.42.0',
|
|
15331
|
-
node: '14.18.
|
|
15438
|
+
node: '14.18.1',
|
|
15332
15439
|
openssl: '1.1.1l',
|
|
15333
15440
|
tz: '2021a',
|
|
15334
15441
|
unicode: '13.0',
|
|
@@ -78335,7 +78442,7 @@ var SolidAuthnLogic = /** @class */ (function () {
|
|
|
78335
78442
|
}
|
|
78336
78443
|
SolidAuthnLogic.prototype.currentUser = function () {
|
|
78337
78444
|
var _a;
|
|
78338
|
-
return ((_a = this.session) === null || _a === void 0 ? void 0 : _a.info.webId) ? rdflib_1.sym(this.session.info.webId) : null;
|
|
78445
|
+
return ((_a = this.session) === null || _a === void 0 ? void 0 : _a.info.webId) ? (0, rdflib_1.sym)(this.session.info.webId) : null;
|
|
78339
78446
|
};
|
|
78340
78447
|
return SolidAuthnLogic;
|
|
78341
78448
|
}());
|
|
@@ -78460,11 +78567,11 @@ var ChatLogic = /** @class */ (function () {
|
|
|
78460
78567
|
return [4 /*yield*/, this.store.fetcher.load(privateTypeIndex)];
|
|
78461
78568
|
case 1:
|
|
78462
78569
|
_a.sent();
|
|
78463
|
-
reg = uri_1.newThing(privateTypeIndex);
|
|
78570
|
+
reg = (0, uri_1.newThing)(privateTypeIndex);
|
|
78464
78571
|
ins = [
|
|
78465
|
-
rdflib_1.st(reg, this.ns.rdf("type"), this.ns.solid("TypeRegistration"), privateTypeIndex.doc()),
|
|
78466
|
-
rdflib_1.st(reg, this.ns.solid("forClass"), this.ns.meeting("LongChat"), privateTypeIndex.doc()),
|
|
78467
|
-
rdflib_1.st(reg, this.ns.solid("instance"), chatThing, privateTypeIndex.doc()),
|
|
78572
|
+
(0, rdflib_1.st)(reg, this.ns.rdf("type"), this.ns.solid("TypeRegistration"), privateTypeIndex.doc()),
|
|
78573
|
+
(0, rdflib_1.st)(reg, this.ns.solid("forClass"), this.ns.meeting("LongChat"), privateTypeIndex.doc()),
|
|
78574
|
+
(0, rdflib_1.st)(reg, this.ns.solid("instance"), chatThing, privateTypeIndex.doc()),
|
|
78468
78575
|
];
|
|
78469
78576
|
return [4 /*yield*/, new Promise(function (resolve, reject) {
|
|
78470
78577
|
_this.store.updater.update([], ins, function (_uri, ok, errm) {
|
|
@@ -78494,7 +78601,7 @@ var ChatLogic = /** @class */ (function () {
|
|
|
78494
78601
|
return [4 /*yield*/, this.profile.getPodRoot(me)];
|
|
78495
78602
|
case 2:
|
|
78496
78603
|
podRoot = _a.sent();
|
|
78497
|
-
chatContainer = determineChatContainer_1.determineChatContainer(invitee, podRoot);
|
|
78604
|
+
chatContainer = (0, determineChatContainer_1.determineChatContainer)(invitee, podRoot);
|
|
78498
78605
|
exists = true;
|
|
78499
78606
|
_a.label = 3;
|
|
78500
78607
|
case 3:
|
|
@@ -78540,7 +78647,7 @@ var ChatLogic = /** @class */ (function () {
|
|
|
78540
78647
|
var newChatDoc = newInstance.doc();
|
|
78541
78648
|
kb.add(newInstance, this.ns.rdf("type"), this.ns.meeting("LongChat"), newChatDoc);
|
|
78542
78649
|
kb.add(newInstance, this.ns.dc("title"), "Chat channel", newChatDoc);
|
|
78543
|
-
kb.add(newInstance, this.ns.dc("created"), rdflib_1.term(new Date(Date.now())), newChatDoc);
|
|
78650
|
+
kb.add(newInstance, this.ns.dc("created"), (0, rdflib_1.term)(new Date(Date.now())), newChatDoc);
|
|
78544
78651
|
if (newPaneOptions.me) {
|
|
78545
78652
|
kb.add(newInstance, this.ns.dc("author"), newPaneOptions.me, newChatDoc);
|
|
78546
78653
|
}
|
|
@@ -78796,7 +78903,7 @@ var ProfileLogic_1 = __webpack_require__(/*! ./profile/ProfileLogic */ "./node_m
|
|
|
78796
78903
|
var UtilityLogic_1 = __webpack_require__(/*! ./util/UtilityLogic */ "./node_modules/solid-logic/lib/util/UtilityLogic.js");
|
|
78797
78904
|
var UtilityLogic_2 = __webpack_require__(/*! ./util/UtilityLogic */ "./node_modules/solid-logic/lib/util/UtilityLogic.js");
|
|
78798
78905
|
Object.defineProperty(exports, "ACL_LINK", { enumerable: true, get: function () { return UtilityLogic_2.ACL_LINK; } });
|
|
78799
|
-
var ns = solid_namespace_1.default(rdf);
|
|
78906
|
+
var ns = (0, solid_namespace_1.default)(rdf);
|
|
78800
78907
|
var SolidLogic = /** @class */ (function () {
|
|
78801
78908
|
function SolidLogic(fetcher, solidAuthSession) {
|
|
78802
78909
|
this.store = rdf.graph(); // Make a Quad store
|
|
@@ -79222,7 +79329,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
79222
79329
|
exports.newThing = void 0;
|
|
79223
79330
|
var rdflib_1 = __webpack_require__(/*! rdflib */ "./node_modules/rdflib/esm/index.js");
|
|
79224
79331
|
function newThing(doc) {
|
|
79225
|
-
return rdflib_1.sym(doc.uri + "#" + "id" + ("" + Date.now()));
|
|
79332
|
+
return (0, rdflib_1.sym)(doc.uri + "#" + "id" + ("" + Date.now()));
|
|
79226
79333
|
}
|
|
79227
79334
|
exports.newThing = newThing;
|
|
79228
79335
|
//# sourceMappingURL=uri.js.map
|
|
@@ -79277,7 +79384,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
79277
79384
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
79278
79385
|
exports.UtilityLogic = exports.ACL_LINK = void 0;
|
|
79279
79386
|
var rdflib_1 = __webpack_require__(/*! rdflib */ "./node_modules/rdflib/esm/index.js");
|
|
79280
|
-
exports.ACL_LINK = rdflib_1.sym("http://www.iana.org/assignments/link-relations/acl");
|
|
79387
|
+
exports.ACL_LINK = (0, rdflib_1.sym)("http://www.iana.org/assignments/link-relations/acl");
|
|
79281
79388
|
/**
|
|
79282
79389
|
* Utility-related logic
|
|
79283
79390
|
*/
|