solid-ui 2.4.21-78a8a64a → 2.4.21-aae892c8

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.
Files changed (47) hide show
  1. package/README.md +8 -8
  2. package/dist/main.js +123 -114
  3. package/dist/main.js.map +1 -1
  4. package/lib/acl/access-controller.js +2 -2
  5. package/lib/acl/access-controller.js.map +1 -1
  6. package/lib/acl/access-groups.d.ts +1 -1
  7. package/lib/acl/access-groups.js +1 -1
  8. package/lib/acl/access-groups.js.map +1 -1
  9. package/lib/acl/acl-control.d.ts +2 -2
  10. package/lib/acl/acl-control.js +5 -5
  11. package/lib/acl/acl-control.js.map +1 -1
  12. package/lib/acl/acl.d.ts +1 -1
  13. package/lib/acl/acl.js +1 -1
  14. package/lib/acl/acl.js.map +1 -1
  15. package/lib/acl/add-agent-buttons.d.ts +1 -1
  16. package/lib/acl/add-agent-buttons.js +1 -1
  17. package/lib/acl/add-agent-buttons.js.map +1 -1
  18. package/lib/acl/styles.d.ts +1 -1
  19. package/lib/acl/styles.js +1 -1
  20. package/lib/acl/styles.js.map +1 -1
  21. package/lib/chat/infinite.js.map +1 -1
  22. package/lib/iconBase.d.ts.map +1 -1
  23. package/lib/iconBase.js +2 -2
  24. package/lib/iconBase.js.map +1 -1
  25. package/lib/index.js +1 -1
  26. package/lib/index.js.map +1 -1
  27. package/lib/jss/index.d.ts +2 -2
  28. package/lib/jss/index.js +2 -2
  29. package/lib/jss/index.js.map +1 -1
  30. package/lib/login/login.d.ts +57 -57
  31. package/lib/login/login.d.ts.map +1 -1
  32. package/lib/login/login.js +74 -72
  33. package/lib/login/login.js.map +1 -1
  34. package/lib/participation.js +1 -1
  35. package/lib/participation.js.map +1 -1
  36. package/lib/tabs.d.ts +1 -1
  37. package/lib/tabs.d.ts.map +1 -1
  38. package/lib/tabs.js +5 -3
  39. package/lib/tabs.js.map +1 -1
  40. package/lib/utils/headerFooterHelpers.js +24 -19
  41. package/lib/utils/headerFooterHelpers.js.map +1 -1
  42. package/lib/versionInfo.js +2 -2
  43. package/lib/versionInfo.js.map +1 -1
  44. package/lib/widgets/forms/autocomplete/language.js.map +1 -1
  45. package/lib/widgets/forms/autocomplete/publicData.js +1 -1
  46. package/lib/widgets/forms/autocomplete/publicData.js.map +1 -1
  47. package/package.json +4 -4
package/README.md CHANGED
@@ -25,7 +25,7 @@ Clone this repo, and in the repo root run:
25
25
 
26
26
  This will generate a `lib/` folder containing, among other artifacts, `lib/webpack-bundle.js`.
27
27
  Now run `npx serve` and go to http://localhost:5000/examples/ with your browser to see some examples.
28
- See the ['examples' folder](https://github.com/solid/solid-ui/tree/examples/examples) for the
28
+ See the ['examples' folder](https://github.com/solidos/solid-ui/tree/examples/examples) for the
29
29
  source code of those examples.
30
30
 
31
31
  While viewing one of those examples, you can open the web console in your browser and for instance
@@ -53,9 +53,9 @@ document.body.appendChild(aclControlBox)
53
53
 
54
54
 
55
55
  ## Documentation
56
- - [talk presentation](https://solid.github.io/solid-ui/Documentation/talks/FormsTalk.html)
57
- - API https://solid.github.io/solid-ui/Documentation/api/ for the API documentation.
58
- - The UI components are presented in a [storybook](http://solid.github.io/solid-ui/examples/storybook/).
56
+ - [talk presentation](https://solidos.github.io/solid-ui/Documentation/talks/FormsTalk.html)
57
+ - API https://solidos.github.io/solid-ui/Documentation/api/ for the API documentation.
58
+ - The UI components are presented in a [storybook](http://solidos.github.io/solid-ui/examples/storybook/).
59
59
 
60
60
  ## Overview
61
61
  This has been a place to put any functionality from solid views which has been generalized to be usable in other views.
@@ -67,7 +67,7 @@ This has been a place to put any functionality from solid views which has been g
67
67
  - Acess Control Logic
68
68
  - Create a new object from modules/extensions which have registered their ability to create things
69
69
 
70
- - A [form system](https://solid.github.io/solid-ui/Documentation/forms-intro.html): Forms are defined in RDF, and create/edit RDF data, including form definitions
70
+ - A [form system](https://solidos.github.io/solid-ui/Documentation/forms-intro.html): Forms are defined in RDF, and create/edit RDF data, including form definitions
71
71
  - A collection of shortcut namespace objects for a selection of relevant RDF vocabularies.
72
72
  - Small atomic widgets (buttons etc) of which the others are constructed.
73
73
  - An error message panel
@@ -88,7 +88,7 @@ To see how these are used, see the panes which use them within the data browser.
88
88
 
89
89
  The level of support for this varies.
90
90
 
91
- See also: [A short introduction to the Form system](https://solid.github.io/solid-ui/Documentation/forms-intro.html)
91
+ See also: [A short introduction to the Form system](https://solidos.github.io/solid-ui/Documentation/forms-intro.html)
92
92
 
93
93
  Contributions of bug fixes and new functionality, documentation, and tests are
94
94
  always appreciated.
@@ -104,5 +104,5 @@ npm run storybook
104
104
 
105
105
  If there is no story for the component yet, add a new one to `./src/stories`.
106
106
 
107
- When you want to test the component within a solid-pane, you can use the [development mode of solid-panes](https://github.com/solid/solid-panes#development) or
108
- [mashlib-dev](https://github.com/solid/mashlib-dev).
107
+ When you want to test the component within a solid-pane, you can use the [development mode of solid-panes](https://github.com/solidos/solid-panes#development) or
108
+ [mashlib-dev](https://github.com/solidos/mashlib-dev).
package/dist/main.js CHANGED
@@ -219,7 +219,7 @@ var AccessController = /*#__PURE__*/function () {
219
219
  value: function renderTemporaryStatus(message) {
220
220
  var _this5 = this;
221
221
 
222
- // @@ TODO Introduce better system for error notification to user https://github.com/solid/mashlib/issues/87
222
+ // @@ TODO Introduce better system for error notification to user https://github.com/solidos/mashlib/issues/87
223
223
  this.statusElement.classList.add(this.classes.aclControlBoxStatusRevealed);
224
224
  this.statusElement.innerText = message;
225
225
  this.statusElement.classList.add(this.classes.temporaryStatusInit);
@@ -233,7 +233,7 @@ var AccessController = /*#__PURE__*/function () {
233
233
  }, {
234
234
  key: "renderStatus",
235
235
  value: function renderStatus(message) {
236
- // @@ TODO Introduce better system for error notification to user https://github.com/solid/mashlib/issues/87
236
+ // @@ TODO Introduce better system for error notification to user https://github.com/solidos/mashlib/issues/87
237
237
  this.statusElement.classList.toggle(this.classes.aclControlBoxStatusRevealed, !!message);
238
238
  this.statusElement.innerText = message;
239
239
  }
@@ -555,7 +555,7 @@ var EXPLANATION = {
555
555
 
556
556
  /**
557
557
  * Renders the table of Owners, Editors, Posters, Submitters, Viewers
558
- * for https://github.com/solid/userguide/blob/main/views/sharing/userguide.md
558
+ * for https://github.com/solidos/userguide/blob/main/views/sharing/userguide.md
559
559
  */
560
560
  var AccessGroups = /*#__PURE__*/function () {
561
561
  // @@ was LiveStore but does not need to be connected to web
@@ -1058,7 +1058,7 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
1058
1058
 
1059
1059
  /**
1060
1060
  * Functions for rendering the ACL User Interface.
1061
- * See https://github.com/solid/userguide/blob/main/views/sharing/userguide.md#view
1061
+ * See https://github.com/solidos/userguide/blob/main/views/sharing/userguide.md#view
1062
1062
  * for a screenshot.
1063
1063
  * @packageDocumentation
1064
1064
  */
@@ -1155,7 +1155,7 @@ function shortNameForFolder(x) {
1155
1155
  if (slash >= 0) {
1156
1156
  str = str.slice(slash + 1);
1157
1157
  } // Return the folder's filename, or '/' if nothing found
1158
- // (but see https://github.com/solid/solid-ui/issues/196
1158
+ // (but see https://github.com/solidos/solid-ui/issues/196
1159
1159
  // regarding whether this happens at the domain root or
1160
1160
  // not)
1161
1161
 
@@ -1168,7 +1168,7 @@ function shortNameForFolder(x) {
1168
1168
  * Presumably the '5' is a version number of some sort,
1169
1169
  * but all we know is it was already called ACLControlBox5
1170
1170
  * when it was introduced into solid-ui in
1171
- * https://github.com/solid/solid-ui/commit/948b874bd93e7bf5160e6e224821b888f07d15f3#diff-4192a29f38a0ababd563b36b47eba5bbR54
1171
+ * https://github.com/solidos/solid-ui/commit/948b874bd93e7bf5160e6e224821b888f07d15f3#diff-4192a29f38a0ababd563b36b47eba5bbR54
1172
1172
  */
1173
1173
 
1174
1174
 
@@ -1285,13 +1285,13 @@ function getDirectory(doc) {
1285
1285
  function isStorage(doc, aclDoc, store) {
1286
1286
  // @@ TODO: The methods used for targetIsStorage are HACKs - it should not be relied upon, and work is
1287
1287
  // @@ underway to standardize a behavior that does not rely upon this hack
1288
- // @@ hopefully fixed as part of https://github.com/solid/data-interoperability-panel/issues/10
1288
+ // @@ hopefully fixed as part of https://github.com/solidos/data-interoperability-panel/issues/10
1289
1289
  return store.holds(doc, ns.rdf('type'), ns.space('Storage'), aclDoc);
1290
1290
  }
1291
1291
 
1292
1292
  function hasProtectedAcl(targetDoc) {
1293
1293
  // @@ TODO: This is hacky way of knowing whether or not a certain ACL file can be removed
1294
- // Hopefully we'll find a better, standardized solution to this - https://github.com/solid/specification/issues/37
1294
+ // Hopefully we'll find a better, standardized solution to this - https://github.com/solidos/specification/issues/37
1295
1295
  return targetDoc.uri === targetDoc.site().uri;
1296
1296
  }
1297
1297
  /** @internal */
@@ -1360,7 +1360,7 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
1360
1360
 
1361
1361
  /**
1362
1362
  * Non-UI functions for access control.
1363
- * See https://github.com/solid/web-access-control-spec
1363
+ * See https://github.com/solidos/web-access-control-spec
1364
1364
  * for the spec that defines how ACL documents work.
1365
1365
  * @packageDocumentation
1366
1366
  */
@@ -1962,7 +1962,7 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
1962
1962
 
1963
1963
  /**
1964
1964
  * Renders the Sharing pane's "+" button and the menus behind it,
1965
- * see https://github.com/solid/userguide/blob/main/views/sharing/userguide.md#add
1965
+ * see https://github.com/solidos/userguide/blob/main/views/sharing/userguide.md#add
1966
1966
  */
1967
1967
  var AddAgentButtons = /*#__PURE__*/function () {
1968
1968
  function AddAgentButtons(groupList) {
@@ -2531,7 +2531,7 @@ exports.styles = void 0;
2531
2531
 
2532
2532
  /**
2533
2533
  * Contains CSS styles for the Sharing pane,
2534
- * see https://github.com/solid/userguide/blob/main/views/sharing/userguide.md
2534
+ * see https://github.com/solidos/userguide/blob/main/views/sharing/userguide.md
2535
2535
  * @packageDocumentation
2536
2536
  */
2537
2537
  var styles = {
@@ -7102,11 +7102,11 @@ var _debug = __webpack_require__(/*! ./debug */ "./lib/debug.js");
7102
7102
  *
7103
7103
  * You can also use it if you want to just run a mashlib whhich takes its
7104
7104
  * icons seved by other than github.
7105
- */
7105
+ */
7106
7106
 
7107
7107
  /* eslint-disable multiline-ternary */
7108
7108
  // Do not export. lways us this module to find the icons, as it varies
7109
- var iconsOnGithub = 'https://solid.github.io/solid-ui/src';
7109
+ var iconsOnGithub = 'https://solidos.github.io/solid-ui/src';
7110
7110
  var icons = module.scriptURI // Firefox extension
7111
7111
  ? {
7112
7112
  iconBase: module.scriptURI.slice(0, module.scriptURI.lastIndexOf('/')) + '/icons/',
@@ -7162,7 +7162,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
7162
7162
  SOFTWARE.
7163
7163
 
7164
7164
  If you would like to know more about the solid Solid project, please see
7165
- https://github.com/solid/solid
7165
+ https://github.com/solidos/solid
7166
7166
  */
7167
7167
 
7168
7168
  /**
@@ -7436,7 +7436,7 @@ var stylesheetsMap = new Map();
7436
7436
  /**
7437
7437
  * returns a StyleSheet object.
7438
7438
  * See https://cssinjs.org/ for more info about JSS.
7439
- * (despite the name, see https://github.com/solid/solid-ui/issues/199)
7439
+ * (despite the name, see https://github.com/solidos/solid-ui/issues/199)
7440
7440
  */
7441
7441
 
7442
7442
  function getClasses(insertionPoint, styles) {
@@ -7446,7 +7446,7 @@ function getClasses(insertionPoint, styles) {
7446
7446
  /**
7447
7447
  * returns a JSS object.
7448
7448
  * See https://cssinjs.org/ for more info about JSS.
7449
- * (despite the name, see https://github.com/solid/solid-ui/issues/199)
7449
+ * (despite the name, see https://github.com/solidos/solid-ui/issues/199)
7450
7450
  */
7451
7451
 
7452
7452
 
@@ -7783,6 +7783,8 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
7783
7783
 
7784
7784
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
7785
7785
 
7786
+ /* eslint-disable camelcase */
7787
+
7786
7788
  /**
7787
7789
  * Signing in, signing up, profile and preferences reloading
7788
7790
  * Type index management
@@ -7809,10 +7811,10 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
7809
7811
  */
7810
7812
 
7811
7813
  /**
7812
- * Resolves with the logged in user's WebID
7813
- *
7814
- * @param context
7815
- */
7814
+ * Resolves with the logged in user's WebID
7815
+ *
7816
+ * @param context
7817
+ */
7816
7818
  // used to be logIn
7817
7819
  function ensureLoggedIn(context) {
7818
7820
  var me = _solidLogic.authn.currentUser();
@@ -8006,11 +8008,11 @@ function ensureLoadedProfile(_x3) {
8006
8008
  return _ensureLoadedProfile.apply(this, arguments);
8007
8009
  }
8008
8010
  /**
8009
- * Returns promise of context with arrays of symbols
8010
- *
8011
- * 2016-12-11 change to include forClass arc a la
8012
- * https://github.com/solid/solid/blob/main/proposals/data-discovery.md
8013
- */
8011
+ * Returns promise of context with arrays of symbols
8012
+ *
8013
+ * 2016-12-11 change to include forClass arc a la
8014
+ * https://github.com/solidos/solid/blob/main/proposals/data-discovery.md
8015
+ */
8014
8016
 
8015
8017
 
8016
8018
  function _ensureLoadedProfile() {
@@ -8078,8 +8080,8 @@ function findAppInstances(_x4, _x5, _x6) {
8078
8080
  return _findAppInstances.apply(this, arguments);
8079
8081
  }
8080
8082
  /**
8081
- * UI to control registration of instance
8082
- */
8083
+ * UI to control registration of instance
8084
+ */
8083
8085
 
8084
8086
 
8085
8087
  function _findAppInstances() {
@@ -8228,8 +8230,8 @@ function registrationControl(_x7, _x8, _x9) {
8228
8230
  return _registrationControl.apply(this, arguments);
8229
8231
  }
8230
8232
  /**
8231
- * UI to List at all registered things
8232
- */
8233
+ * UI to List at all registered things
8234
+ */
8233
8235
 
8234
8236
 
8235
8237
  function _registrationControl() {
@@ -8455,14 +8457,14 @@ function getDefaultSignInButtonStyle() {
8455
8457
  return 'padding: 1em; border-radius:0.5em; font-size: 100%;';
8456
8458
  }
8457
8459
  /**
8458
- * Bootstrapping identity
8459
- * (Called by `loginStatusBox()`)
8460
- *
8461
- * @param dom
8462
- * @param setUserCallback
8463
- *
8464
- * @returns
8465
- */
8460
+ * Bootstrapping identity
8461
+ * (Called by `loginStatusBox()`)
8462
+ *
8463
+ * @param dom
8464
+ * @param setUserCallback
8465
+ *
8466
+ * @returns
8467
+ */
8466
8468
 
8467
8469
 
8468
8470
  function signInOrSignUpBox(dom, setUserCallback) {
@@ -8540,8 +8542,8 @@ function signInOrSignUpBox(dom, setUserCallback) {
8540
8542
 
8541
8543
  function renderSignInPopup(dom) {
8542
8544
  /**
8543
- * Issuer Menu
8544
- */
8545
+ * Issuer Menu
8546
+ */
8545
8547
  var issuerPopup = dom.createElement('div');
8546
8548
  issuerPopup.setAttribute('style', 'position: fixed; top: 0; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; align-items: center;');
8547
8549
  dom.body.appendChild(issuerPopup);
@@ -8555,7 +8557,7 @@ function renderSignInPopup(dom) {
8555
8557
  issuerPopupBoxLabel.setAttribute('style', 'margin-right: 5px; font-weight: 800');
8556
8558
  issuerPopupBoxLabel.innerText = 'Select an identity provider';
8557
8559
  var issuerPopupBoxCloseButton = dom.createElement('button');
8558
- issuerPopupBoxCloseButton.innerHTML = '<img src="https://solid.github.io/solid-ui/src/icons/noun_1180156.svg" style="width: 2em; height: 2em;" title="Cancel">';
8560
+ issuerPopupBoxCloseButton.innerHTML = '<img src="https://solidos.github.io/solid-ui/src/icons/noun_1180156.svg" style="width: 2em; height: 2em;" title="Cancel">';
8559
8561
  issuerPopupBoxCloseButton.setAttribute('style', 'background-color: transparent; border: none;');
8560
8562
  issuerPopupBoxCloseButton.addEventListener('click', function () {
8561
8563
  issuerPopup.remove();
@@ -8608,8 +8610,8 @@ function renderSignInPopup(dom) {
8608
8610
  };
8609
8611
  }();
8610
8612
  /**
8611
- * Text-based idp selection
8612
- */
8613
+ * Text-based idp selection
8614
+ */
8613
8615
 
8614
8616
 
8615
8617
  var issuerTextContainer = dom.createElement('div');
@@ -8636,8 +8638,8 @@ function renderSignInPopup(dom) {
8636
8638
  issuerTextContainer.appendChild(issuerTextInputContainer);
8637
8639
  issuerPopupBox.appendChild(issuerTextContainer);
8638
8640
  /**
8639
- * Button-based idp selection
8640
- */
8641
+ * Button-based idp selection
8642
+ */
8641
8643
 
8642
8644
  var issuerButtonContainer = dom.createElement('div');
8643
8645
  issuerButtonContainer.setAttribute('style', "\n display: flex;\n flex-direction: column;\n padding-top: 10px;\n ");
@@ -8657,15 +8659,15 @@ function renderSignInPopup(dom) {
8657
8659
  issuerPopupBox.appendChild(issuerButtonContainer);
8658
8660
  }
8659
8661
  /**
8660
- * Login status box
8661
- *
8662
- * A big sign-up/sign in box or a logout box depending on the state
8663
- *
8664
- * @param dom
8665
- * @param listener
8666
- *
8667
- * @returns
8668
- */
8662
+ * Login status box
8663
+ *
8664
+ * A big sign-up/sign in box or a logout box depending on the state
8665
+ *
8666
+ * @param dom
8667
+ * @param listener
8668
+ *
8669
+ * @returns
8670
+ */
8669
8671
 
8670
8672
 
8671
8673
  function loginStatusBox(dom) {
@@ -8826,28 +8828,28 @@ _solidLogic.authSession.onLogout( /*#__PURE__*/(0, _asyncToGenerator2["default"]
8826
8828
  }, _callee2, null, [[2, 17]]);
8827
8829
  })));
8828
8830
  /**
8829
- * Workspace selection etc
8830
- * See https://github.com/solid/userguide/issues/16
8831
- */
8831
+ * Workspace selection etc
8832
+ * See https://github.com/solidos/userguide/issues/16
8833
+ */
8832
8834
 
8833
8835
  /**
8834
- * Returns a UI object which, if it selects a workspace,
8835
- * will callback(workspace, newBase).
8836
- * See https://github.com/solid/userguide/issues/16 for more info on workspaces.
8837
- *
8838
- * If necessary, will get an account, preference file, etc. In sequence:
8839
- *
8840
- * - If not logged in, log in.
8841
- * - Load preference file
8842
- * - Prompt user for workspaces
8843
- * - Allows the user to just type in a URI by hand
8844
- *
8845
- * Calls back with the workspace and the base URI
8846
- *
8847
- * @param dom
8848
- * @param appDetails
8849
- * @param callbackWS
8850
- */
8836
+ * Returns a UI object which, if it selects a workspace,
8837
+ * will callback(workspace, newBase).
8838
+ * See https://github.com/solidos/userguide/issues/16 for more info on workspaces.
8839
+ *
8840
+ * If necessary, will get an account, preference file, etc. In sequence:
8841
+ *
8842
+ * - If not logged in, log in.
8843
+ * - Load preference file
8844
+ * - Prompt user for workspaces
8845
+ * - Allows the user to just type in a URI by hand
8846
+ *
8847
+ * Calls back with the workspace and the base URI
8848
+ *
8849
+ * @param dom
8850
+ * @param appDetails
8851
+ * @param callbackWS
8852
+ */
8851
8853
 
8852
8854
 
8853
8855
  function selectWorkspace(dom, appDetails, callbackWS) {
@@ -9110,21 +9112,21 @@ function selectWorkspace(dom, appDetails, callbackWS) {
9110
9112
  } // selectWorkspace
9111
9113
 
9112
9114
  /**
9113
- * Creates a new instance of an app.
9114
- *
9115
- * An instance of an app could be e.g. an issue tracker for a given project,
9116
- * or a chess game, or calendar, or a health/fitness record for a person.
9117
- *
9118
- * Note that this use of the term 'app' refers more to entries in the user's
9119
- * type index than to actual software applications that use the personal data
9120
- * to which these entries point.
9121
- *
9122
- * @param dom
9123
- * @param appDetails
9124
- * @param callback
9125
- *
9126
- * @returns A div with a button in it for making a new app instance
9127
- */
9115
+ * Creates a new instance of an app.
9116
+ *
9117
+ * An instance of an app could be e.g. an issue tracker for a given project,
9118
+ * or a chess game, or calendar, or a health/fitness record for a person.
9119
+ *
9120
+ * Note that this use of the term 'app' refers more to entries in the user's
9121
+ * type index than to actual software applications that use the personal data
9122
+ * to which these entries point.
9123
+ *
9124
+ * @param dom
9125
+ * @param appDetails
9126
+ * @param callback
9127
+ *
9128
+ * @returns A div with a button in it for making a new app instance
9129
+ */
9128
9130
 
9129
9131
 
9130
9132
  function newAppInstance(dom, appDetails, callback) {
@@ -11405,7 +11407,7 @@ function participationObject(subject, padDoc, me) {
11405
11407
  });
11406
11408
 
11407
11409
  if (parps.length > 1) {
11408
- // This can happen. https://github.com/solid/chat-pane/issues/71
11410
+ // This can happen. https://github.com/solidos/chat-pane/issues/71
11409
11411
  var candidates = [];
11410
11412
 
11411
11413
  var _iterator = _createForOfIteratorHelper(parps),
@@ -13750,7 +13752,7 @@ var TabElement = /*#__PURE__*/function (_HTMLElement3) {
13750
13752
  /**
13751
13753
  * Use this widget to generate tabs from triples set in the global store.
13752
13754
  *
13753
- * [Here you can see examples of the tabs](https://solid.github.io/solid-ui/examples/tabs/).
13755
+ * [Here you can see examples of the tabs](https://solidos.github.io/solid-ui/examples/tabs/).
13754
13756
  *
13755
13757
  * It assumes that items to use for tabs will be in a collection by default,
13756
13758
  * e.g.:
@@ -13930,7 +13932,9 @@ function tabWidget(options) {
13930
13932
  var selectedTabURI = options.selectedTab.uri;
13931
13933
  var selectedTab1 = Array.from(tabContainer.children) // @ts-ignore
13932
13934
  .find(function (tab) {
13933
- return tab.subject && tab.subject.uri && tab.subject.uri === selectedTabURI;
13935
+ return tab.subject && // @ts-ignore
13936
+ tab.subject.uri && // @ts-ignore
13937
+ tab.subject.uri === selectedTabURI;
13934
13938
  });
13935
13939
  var tab = selectedTab1 || selectedTab0 || tabContainer.children[0];
13936
13940
  var clickMe = tab.firstChild; // @ts-ignore
@@ -13945,7 +13949,7 @@ function tabWidget(options) {
13945
13949
  function addCancelButton(tabContainer) {
13946
13950
  if (tabContainer.dataset.onCloseSet) {
13947
13951
  // @@ TODO: this is only here to make the browser tests work
13948
- // Discussion at https://github.com/solid/solid-ui/pull/110#issuecomment-527080663
13952
+ // Discussion at https://github.com/solidos/solid-ui/pull/110#issuecomment-527080663
13949
13953
  var existingCancelButton = tabContainer.querySelector('.unstyled');
13950
13954
  tabContainer.removeChild(existingCancelButton);
13951
13955
  }
@@ -14281,63 +14285,68 @@ function _getPodOwner() {
14281
14285
  podOwner = store.any(pod, _.ns.solid('owner'), null, pod) || store.any(null, _.ns.space('storage'), pod, pod);
14282
14286
 
14283
14287
  if (!podOwner) {
14284
- _context.next = 30;
14288
+ _context.next = 31;
14285
14289
  break;
14286
14290
  }
14287
14291
 
14288
14292
  _context.prev = 18;
14289
- store.fetcher.load(podOwner.doc());
14290
- _context.next = 26;
14293
+ _context.next = 21;
14294
+ return store.fetcher.load(podOwner.doc());
14295
+
14296
+ case 21:
14297
+ _context.next = 27;
14291
14298
  break;
14292
14299
 
14293
- case 22:
14294
- _context.prev = 22;
14300
+ case 23:
14301
+ _context.prev = 23;
14295
14302
  _context.t1 = _context["catch"](18);
14296
14303
  console.warn('Unable to load profile of pod owner ' + podOwner);
14297
14304
  return _context.abrupt("return", null);
14298
14305
 
14299
- case 26:
14306
+ case 27:
14300
14307
  if (!store.holds(podOwner, _.ns.space('storage'), pod, podOwner.doc())) {
14301
14308
  console.warn("Pod owner ".concat(podOwner, " does NOT list pod ").concat(pod, " as their storage"));
14302
14309
  }
14303
14310
 
14304
14311
  return _context.abrupt("return", podOwner);
14305
14312
 
14306
- case 30:
14313
+ case 31:
14307
14314
  // pod owner not declared in pod
14308
14315
  // @@ TODO: This is given the structure that NSS provides
14309
14316
  // This is a massive guess. For old pods which don't have owner link
14310
14317
  guess = (0, _rdflib.sym)("".concat(pod.uri, "profile/card#me"));
14311
- _context.prev = 31;
14312
- // @ts-ignore LiveStore always has fetcher
14313
- store.fetcher.load(guess);
14314
- _context.next = 39;
14315
- break;
14318
+ _context.prev = 32;
14319
+ _context.next = 35;
14320
+ return store.fetcher.load(guess);
14316
14321
 
14317
14322
  case 35:
14318
- _context.prev = 35;
14319
- _context.t2 = _context["catch"](31);
14323
+ _context.next = 41;
14324
+ break;
14325
+
14326
+ case 37:
14327
+ _context.prev = 37;
14328
+ _context.t2 = _context["catch"](32);
14320
14329
  console.error('Ooops. Guessed wrong pod owner webid {$guess} : can\'t load it.');
14321
14330
  return _context.abrupt("return", null);
14322
14331
 
14323
- case 39:
14332
+ case 41:
14324
14333
  if (!store.holds(guess, _.ns.space('storage'), pod, guess.doc())) {
14325
- _context.next = 42;
14334
+ _context.next = 44;
14326
14335
  break;
14327
14336
  }
14328
14337
 
14329
14338
  console.warn('Using guessed pod owner webid but it links back.');
14330
14339
  return _context.abrupt("return", guess);
14331
14340
 
14332
- case 42:
14341
+ case 44:
14333
14342
  return _context.abrupt("return", null);
14334
14343
 
14335
- case 43:
14344
+ case 45:
14336
14345
  case "end":
14337
14346
  return _context.stop();
14338
14347
  }
14339
14348
  }
14340
- }, _callee, null, [[0, 9], [18, 22], [31, 35]]);
14349
+ }, _callee, null, [[0, 9], [18, 23], [32, 37]]);
14341
14350
  }));
14342
14351
  return _getPodOwner.apply(this, arguments);
14343
14352
  }
@@ -15183,8 +15192,8 @@ Object.defineProperty(exports, "__esModule", ({
15183
15192
  }));
15184
15193
  exports.versionInfo = void 0;
15185
15194
  var versionInfo = {
15186
- buildTime: '2022-04-07T12:43:13Z',
15187
- commit: '78a8a64a53653a8adaf286cb0df2d99d939c0d51',
15195
+ buildTime: '2022-04-14T14:08:17Z',
15196
+ commit: 'aae892c86fa4fe9cb94b175ee31d76453e9175b2',
15188
15197
  npmInfo: {
15189
15198
  'solid-ui': '2.4.21',
15190
15199
  npm: '6.14.16',
@@ -20767,7 +20776,7 @@ function queryESCODataByName(_x, _x2, _x3) {
20767
20776
  *
20768
20777
  * Wikidata bug: https://phabricator.wikimedia.org/T283962
20769
20778
  * This will not be needed whn that WDQS bug fixed.
20770
- * This is aptured in https://github.com/solid/solid-ui/issues/403
20779
+ * This is aptured in https://github.com/solidos/solid-ui/issues/403
20771
20780
  */
20772
20781
 
20773
20782