solid-ui 2.6.1-907cd78 → 2.6.1-9d411fa

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/solid-ui.js CHANGED
@@ -1055,7 +1055,6 @@ __webpack_require__.r(__webpack_exports__);
1055
1055
  __webpack_require__.d(__webpack_exports__, {
1056
1056
  acl: () => (/* reexport */ acl),
1057
1057
  aclControl: () => (/* reexport */ aclControl),
1058
- authn: () => (/* reexport */ external_SolidLogic_.authn),
1059
1058
  create: () => (/* reexport */ create),
1060
1059
  createTypes: () => (/* reexport */ types_namespaceObject),
1061
1060
  dom: () => (/* binding */ src_dom),
@@ -1073,8 +1072,6 @@ __webpack_require__.d(__webpack_exports__, {
1073
1072
  pad: () => (/* reexport */ pad_namespaceObject),
1074
1073
  participation: () => (/* reexport */ participation_namespaceObject),
1075
1074
  preferences: () => (/* reexport */ preferences_namespaceObject),
1076
- rdf: () => (/* reexport */ external_$rdf_),
1077
- store: () => (/* reexport */ external_SolidLogic_.store),
1078
1075
  style: () => (/* reexport */ style),
1079
1076
  table: () => (/* reexport */ renderTableViewPane),
1080
1077
  tabs: () => (/* reexport */ tabs_namespaceObject),
@@ -1335,11 +1332,11 @@ __webpack_require__.d(tabs_namespaceObject, {
1335
1332
  var types_namespaceObject = {};
1336
1333
  __webpack_require__.r(types_namespaceObject);
1337
1334
 
1338
- // EXTERNAL MODULE: external "$rdf"
1339
- var external_$rdf_ = __webpack_require__(264);
1340
1335
  // EXTERNAL MODULE: ./node_modules/solid-namespace/index.js
1341
1336
  var solid_namespace = __webpack_require__(386);
1342
1337
  var solid_namespace_default = /*#__PURE__*/__webpack_require__.n(solid_namespace);
1338
+ // EXTERNAL MODULE: external "$rdf"
1339
+ var external_$rdf_ = __webpack_require__(264);
1343
1340
  ;// ./src/ns.js
1344
1341
  // Namespaces we commonly use and have common prefixes for around Solid
1345
1342
 
@@ -1631,7 +1628,7 @@ function label_label(thing) {
1631
1628
  // Also encoded character in what was filenames like @ [] {}
1632
1629
  try {
1633
1630
  s = s.split('/').map(decodeURIComponent).join('/'); // If it is properly encoded
1634
- } catch (e) {
1631
+ } catch (_e) {
1635
1632
  // try individual decoding of ASCII code points
1636
1633
  for (var i = s.length - 3; i > 0; i--) {
1637
1634
  var hex = '0123456789abcefABCDEF'; // The while upacks multiple layers of encoding
@@ -4789,7 +4786,7 @@ function setFieldStyle(ele, field) {
4789
4786
  var cssAttribute = st.predicate.uri.slice(STYLE_URI_PREFIX.length);
4790
4787
  try {
4791
4788
  ele.style[cssAttribute] = st.object.value;
4792
- } catch (err) {
4789
+ } catch (_err) {
4793
4790
  console.warn("setFieldStyle: Error setting element style ".concat(cssAttribute, " to \"").concat(st.object.value, "\""));
4794
4791
  console.warn("setFieldStyle: ... Element tagName was \"".concat(ele.tagName || '???', "\""));
4795
4792
  }
@@ -10245,7 +10242,7 @@ function loginStatusBox(dom) {
10245
10242
  me = null;
10246
10243
  try {
10247
10244
  log_alert(message);
10248
- } catch (e) {
10245
+ } catch (_e) {
10249
10246
  window.alert(message);
10250
10247
  }
10251
10248
  box.refresh();
@@ -20104,13 +20101,11 @@ var bookmarks_UI = {
20104
20101
  ns: src_ns,
20105
20102
  media: media,
20106
20103
  pad: pad_namespaceObject,
20107
- rdf: external_$rdf_,
20108
20104
  style: style,
20109
20105
  utils: utils_namespaceObject,
20110
20106
  widgets: widgets_namespaceObject
20111
20107
  };
20112
- var bookmarks_$rdf = bookmarks_UI.rdf;
20113
- var BOOK = bookmarks_$rdf.Namespace('http://www.w3.org/2002/01/bookmark#');
20108
+ var BOOK = external_$rdf_.Namespace('http://www.w3.org/2002/01/bookmark#');
20114
20109
  var BOOKMARK_ICON = 'noun_45961.svg';
20115
20110
  var label = label_label;
20116
20111
  var dom = window.document || null;
@@ -20167,7 +20162,7 @@ function _findBookmarkDocument() {
20167
20162
  break;
20168
20163
  }
20169
20164
  // publicProfile or preferencesFile
20170
- newBookmarkFile = bookmarks_$rdf.sym(userContext.publicProfile.dir().uri + fileTail);
20165
+ newBookmarkFile = external_$rdf_.sym(userContext.publicProfile.dir().uri + fileTail);
20171
20166
  _context.prev = 3;
20172
20167
  src_debug/* log */.Rm('Creating new bookmark file ' + newBookmarkFile);
20173
20168
  _context.next = 4;
@@ -20232,7 +20227,7 @@ function _addBookmark() {
20232
20227
  title = label(author) + ': ' + external_SolidLogic_.store.anyValue(target, src_ns.sioc('content')).slice(0, 80); // @@ add chat title too?
20233
20228
  bookmarkDoc = context.bookmarkDocument;
20234
20229
  bookmark = bookmarks_UI.widgets.newThing(bookmarkDoc, title);
20235
- ins = [bookmarks_$rdf.st(bookmarkDoc, bookmarks_UI.ns.dct('references'), bookmark, bookmarkDoc), bookmarks_$rdf.st(bookmark, bookmarks_UI.ns.rdf('type'), BOOK('Bookmark'), bookmarkDoc), bookmarks_$rdf.st(bookmark, bookmarks_UI.ns.dct('created'), new Date(), bookmarkDoc), bookmarks_$rdf.st(bookmark, BOOK('recalls'), target, bookmarkDoc), bookmarks_$rdf.st(bookmark, bookmarks_UI.ns.foaf('maker'), me, bookmarkDoc), bookmarks_$rdf.st(bookmark, bookmarks_UI.ns.dct('title'), title, bookmarkDoc)];
20230
+ ins = [external_$rdf_.st(bookmarkDoc, bookmarks_UI.ns.dct('references'), bookmark, bookmarkDoc), external_$rdf_.st(bookmark, bookmarks_UI.ns.rdf('type'), BOOK('Bookmark'), bookmarkDoc), external_$rdf_.st(bookmark, bookmarks_UI.ns.dct('created'), new Date(), bookmarkDoc), external_$rdf_.st(bookmark, BOOK('recalls'), target, bookmarkDoc), external_$rdf_.st(bookmark, bookmarks_UI.ns.foaf('maker'), me, bookmarkDoc), external_$rdf_.st(bookmark, bookmarks_UI.ns.dct('title'), title, bookmarkDoc)];
20236
20231
  _context2.prev = 2;
20237
20232
  _context2.next = 3;
20238
20233
  return updatePromise([], ins);
@@ -25527,17 +25522,16 @@ https://github.com/solidos/solid
25527
25522
 
25528
25523
  /**
25529
25524
  * Provides a Solid client helper object (which exposes various static modules).
25530
- * @module solidUi.js
25531
- * @main solidUi.js
25525
+ * @module UI.js
25526
+ * @main UI.js
25532
25527
  */
25533
25528
 
25534
25529
  /**
25535
- * @class SolidUi
25530
+ * @class UI
25536
25531
  * @static
25537
25532
  */
25538
25533
 
25539
25534
  // REMOVE @ts-ignore as you migrate files to TypeScript
25540
- // pull in first avoid cross-refs
25541
25535
  // @ts-ignore
25542
25536
 
25543
25537
 
@@ -25570,16 +25564,12 @@ https://github.com/solidos/solid
25570
25564
 
25571
25565
 
25572
25566
 
25573
-
25574
25567
  var src_dom = window ? window.document : null; // Idea that UI.dom can be adapted in non-browser environments
25575
25568
 
25576
25569
  if (typeof window !== 'undefined') {
25577
25570
  ;
25578
25571
  window.UI = {
25579
- authn: external_SolidLogic_.authn,
25580
- store: external_SolidLogic_.store,
25581
25572
  ns: src_ns,
25582
- rdf: external_$rdf_,
25583
25573
  acl: acl,
25584
25574
  aclControl: aclControl,
25585
25575
  create: create,