solid-panes 3.5.14 → 3.5.16-alpha-07d0f77b

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 (312) hide show
  1. package/.babelrc +0 -0
  2. package/.eslintignore +0 -0
  3. package/.eslintrc +0 -0
  4. package/.github/workflows/ci.yml +45 -6
  5. package/.nvmrc +0 -0
  6. package/Documentation/VisualLanguage.html +0 -0
  7. package/Documentation/conventions.md +0 -0
  8. package/LICENSE.md +0 -0
  9. package/README.md +0 -0
  10. package/dev/index.html +0 -0
  11. package/dev/loader.ts +11 -11
  12. package/dev/pane/index.ts +0 -0
  13. package/doc/images/panes-for-classes.epgz +0 -0
  14. package/doc/images/panes-for-classes.svg +0 -0
  15. package/jest.config.js +0 -0
  16. package/jest.setup.ts +0 -0
  17. package/lib/RDFXMLPane.js +0 -0
  18. package/lib/RDFXMLPane.js.map +0 -0
  19. package/lib/argument/argumentPane.js +15 -7
  20. package/lib/argument/argumentPane.js.map +1 -1
  21. package/lib/attach/attachPane.js +0 -0
  22. package/lib/attach/attachPane.js.map +0 -0
  23. package/lib/audio/audioPane.js +0 -0
  24. package/lib/audio/audioPane.js.map +0 -0
  25. package/lib/classInstancePane.js +0 -0
  26. package/lib/classInstancePane.js.map +0 -0
  27. package/lib/dashboard/basicPreferences.d.ts +0 -0
  28. package/lib/dashboard/basicPreferences.d.ts.map +1 -1
  29. package/lib/dashboard/basicPreferences.js +6 -6
  30. package/lib/dashboard/basicPreferences.js.map +1 -1
  31. package/lib/dashboard/dashboardPane.d.ts +0 -0
  32. package/lib/dashboard/dashboardPane.d.ts.map +1 -1
  33. package/lib/dashboard/dashboardPane.js +6 -4
  34. package/lib/dashboard/dashboardPane.js.map +1 -1
  35. package/lib/dashboard/homepage.d.ts +0 -0
  36. package/lib/dashboard/homepage.d.ts.map +0 -0
  37. package/lib/dashboard/homepage.js +0 -0
  38. package/lib/dashboard/homepage.js.map +0 -0
  39. package/lib/dataContentPane.js +1 -1
  40. package/lib/dataContentPane.js.map +1 -1
  41. package/lib/defaultPane.js +0 -0
  42. package/lib/defaultPane.js.map +0 -0
  43. package/lib/dokieli/dokieliPane.js +0 -0
  44. package/lib/dokieli/dokieliPane.js.map +0 -0
  45. package/lib/dokieli/new.js +0 -0
  46. package/lib/dokieli/new.js.map +0 -0
  47. package/lib/form/pane.js +15 -6
  48. package/lib/form/pane.js.map +1 -1
  49. package/lib/global.d.js +0 -0
  50. package/lib/global.d.js.map +0 -0
  51. package/lib/home/homePane.d.ts +0 -0
  52. package/lib/home/homePane.d.ts.map +1 -1
  53. package/lib/home/homePane.js +7 -5
  54. package/lib/home/homePane.js.map +1 -1
  55. package/lib/humanReadablePane.js +0 -0
  56. package/lib/humanReadablePane.js.map +0 -0
  57. package/lib/imagePane.js +0 -0
  58. package/lib/imagePane.js.map +0 -0
  59. package/lib/index.d.ts +8 -4
  60. package/lib/index.d.ts.map +1 -1
  61. package/lib/index.js +21 -13
  62. package/lib/index.js.map +1 -1
  63. package/lib/internal/internalPane.d.ts +0 -0
  64. package/lib/internal/internalPane.d.ts.map +0 -0
  65. package/lib/internal/internalPane.js +0 -0
  66. package/lib/internal/internalPane.js.map +0 -0
  67. package/lib/mainPage/footer.d.ts +3 -0
  68. package/lib/mainPage/footer.d.ts.map +1 -0
  69. package/lib/mainPage/footer.js +26 -0
  70. package/lib/mainPage/footer.js.map +1 -0
  71. package/lib/mainPage/header.d.ts +2 -0
  72. package/lib/mainPage/header.d.ts.map +1 -0
  73. package/lib/mainPage/header.js +192 -0
  74. package/lib/mainPage/header.js.map +1 -0
  75. package/lib/mainPage/index.d.ts +3 -0
  76. package/lib/mainPage/index.d.ts.map +1 -0
  77. package/lib/mainPage/index.js +51 -0
  78. package/lib/mainPage/index.js.map +1 -0
  79. package/lib/microblogPane/microblogPane.js +16 -14
  80. package/lib/microblogPane/microblogPane.js.map +1 -1
  81. package/lib/n3Pane.js +0 -0
  82. package/lib/n3Pane.js.map +0 -0
  83. package/lib/outline/context.d.ts +2 -1
  84. package/lib/outline/context.d.ts.map +1 -1
  85. package/lib/outline/context.js +0 -0
  86. package/lib/outline/context.js.map +1 -1
  87. package/lib/outline/dragDrop.js +16 -6
  88. package/lib/outline/dragDrop.js.map +1 -1
  89. package/lib/outline/licenseOptions.js +12 -5
  90. package/lib/outline/licenseOptions.js.map +1 -1
  91. package/lib/outline/manager.js +222 -176
  92. package/lib/outline/manager.js.map +1 -1
  93. package/lib/outline/manager.test.js +0 -0
  94. package/lib/outline/manager.test.js.map +0 -0
  95. package/lib/outline/outlineIcons.js +0 -0
  96. package/lib/outline/outlineIcons.js.map +0 -0
  97. package/lib/outline/propertyViews.d.ts +0 -0
  98. package/lib/outline/propertyViews.d.ts.map +0 -0
  99. package/lib/outline/propertyViews.js +0 -0
  100. package/lib/outline/propertyViews.js.map +0 -0
  101. package/lib/outline/propertyViews.test.js +0 -0
  102. package/lib/outline/propertyViews.test.js.map +0 -0
  103. package/lib/outline/queryByExample.js +14 -6
  104. package/lib/outline/queryByExample.js.map +1 -1
  105. package/lib/outline/userInput.js +90 -80
  106. package/lib/outline/userInput.js.map +1 -1
  107. package/lib/outline/viewAsImage.d.ts +0 -0
  108. package/lib/outline/viewAsImage.d.ts.map +0 -0
  109. package/lib/outline/viewAsImage.js +0 -0
  110. package/lib/outline/viewAsImage.js.map +0 -0
  111. package/lib/outline/viewAsMbox.d.ts +0 -0
  112. package/lib/outline/viewAsMbox.d.ts.map +0 -0
  113. package/lib/outline/viewAsMbox.js +0 -0
  114. package/lib/outline/viewAsMbox.js.map +0 -0
  115. package/lib/pad/padPane.d.ts +0 -0
  116. package/lib/pad/padPane.d.ts.map +1 -1
  117. package/lib/pad/padPane.js +6 -4
  118. package/lib/pad/padPane.js.map +1 -1
  119. package/lib/playlist/playlistPane.js +0 -0
  120. package/lib/playlist/playlistPane.js.map +0 -0
  121. package/lib/profile/editProfile.view.d.ts +0 -0
  122. package/lib/profile/editProfile.view.d.ts.map +1 -1
  123. package/lib/profile/editProfile.view.js +3 -3
  124. package/lib/profile/editProfile.view.js.map +1 -1
  125. package/lib/profile/profile.dom.d.ts +0 -0
  126. package/lib/profile/profile.dom.d.ts.map +0 -0
  127. package/lib/profile/profile.dom.js +0 -0
  128. package/lib/profile/profile.dom.js.map +0 -0
  129. package/lib/registerPanes.js +0 -0
  130. package/lib/registerPanes.js.map +0 -0
  131. package/lib/schedule/formsForSchedule.js +0 -0
  132. package/lib/schedule/formsForSchedule.js.map +0 -0
  133. package/lib/schedule/schedulePane.js +26 -14
  134. package/lib/schedule/schedulePane.js.map +1 -1
  135. package/lib/sharing/sharingPane.d.ts +0 -0
  136. package/lib/sharing/sharingPane.d.ts.map +0 -0
  137. package/lib/sharing/sharingPane.js +0 -0
  138. package/lib/sharing/sharingPane.js.map +0 -0
  139. package/lib/slideshow/slideshowPane.js +0 -0
  140. package/lib/slideshow/slideshowPane.js.map +0 -0
  141. package/lib/socialPane.js +16 -6
  142. package/lib/socialPane.js.map +1 -1
  143. package/lib/tabbed/tabbedPane.d.ts +0 -0
  144. package/lib/tabbed/tabbedPane.d.ts.map +0 -0
  145. package/lib/tabbed/tabbedPane.js +0 -0
  146. package/lib/tabbed/tabbedPane.js.map +0 -0
  147. package/lib/tableViewPane.js +0 -0
  148. package/lib/tableViewPane.js.map +0 -0
  149. package/lib/test-import-export/common.js +0 -0
  150. package/lib/test-import-export/common.js.map +0 -0
  151. package/lib/test-import-export/edit-importer.js +0 -0
  152. package/lib/test-import-export/edit-importer.js.map +0 -0
  153. package/lib/test-import-export/testImportExport.js +0 -0
  154. package/lib/test-import-export/testImportExport.js.map +0 -0
  155. package/lib/transaction/pane.js +1 -1
  156. package/lib/transaction/pane.js.map +1 -1
  157. package/lib/transaction/period.js +1 -1
  158. package/lib/transaction/period.js.map +1 -1
  159. package/lib/trip/tripPane.js +1 -1
  160. package/lib/trip/tripPane.js.map +1 -1
  161. package/lib/trustedApplications/trustedApplications.dom.d.ts +0 -0
  162. package/lib/trustedApplications/trustedApplications.dom.d.ts.map +1 -1
  163. package/lib/trustedApplications/trustedApplications.dom.js +11 -9
  164. package/lib/trustedApplications/trustedApplications.dom.js.map +1 -1
  165. package/lib/trustedApplications/trustedApplications.test.js +0 -0
  166. package/lib/trustedApplications/trustedApplications.test.js.map +0 -0
  167. package/lib/trustedApplications/trustedApplications.utils.d.ts +0 -0
  168. package/lib/trustedApplications/trustedApplications.utils.d.ts.map +0 -0
  169. package/lib/trustedApplications/trustedApplications.utils.js +0 -0
  170. package/lib/trustedApplications/trustedApplications.utils.js.map +0 -0
  171. package/lib/trustedApplications/trustedApplications.view.d.ts +0 -0
  172. package/lib/trustedApplications/trustedApplications.view.d.ts.map +1 -1
  173. package/lib/trustedApplications/trustedApplications.view.js +5 -3
  174. package/lib/trustedApplications/trustedApplications.view.js.map +1 -1
  175. package/lib/types.d.ts +0 -0
  176. package/lib/types.d.ts.map +0 -0
  177. package/lib/types.js +0 -0
  178. package/lib/types.js.map +0 -0
  179. package/lib/ui/pane.js +0 -0
  180. package/lib/ui/pane.js.map +0 -0
  181. package/lib/versionInfo.d.ts +0 -0
  182. package/lib/versionInfo.d.ts.map +0 -0
  183. package/lib/versionInfo.js +14 -14
  184. package/lib/versionInfo.js.map +1 -1
  185. package/lib/video/videoPane.js +0 -0
  186. package/lib/video/videoPane.js.map +0 -0
  187. package/package.json +14 -14
  188. package/src/RDFXMLPane.js +0 -0
  189. package/src/argument/argumentPane.js +5 -5
  190. package/src/argument/argument_icon_v04.jpg +0 -0
  191. package/src/argument/icon_argument.png +0 -0
  192. package/src/argument/transparentyingyang.png +0 -0
  193. package/src/attach/attachPane.js +0 -0
  194. package/src/attach/tbl-paperclip-128.png +0 -0
  195. package/src/attach/tbl-paperclip-22.png +0 -0
  196. package/src/attach/tbl-paperclip-22a.png +0 -0
  197. package/src/audio/audioPane.js +0 -0
  198. package/src/chatPreferencesForm.ttl +0 -0
  199. package/src/classInstancePane.js +0 -0
  200. package/src/dashboard/basicPreferences.ts +4 -5
  201. package/src/dashboard/dashboardPane.ts +4 -3
  202. package/src/dashboard/homepage.ts +0 -0
  203. package/src/dashboard/languages/codes.html +0 -0
  204. package/src/dashboard/languages/codes.xml +0 -0
  205. package/src/dashboard/languages/codes2.txt +0 -0
  206. package/src/dashboard/languages/foo +0 -0
  207. package/src/dashboard/languages/foo.ttl +0 -0
  208. package/src/dashboard/languages/get-language-names.sh +0 -0
  209. package/src/dashboard/ontologyData.ttl +0 -0
  210. package/src/dashboard/preferencesFormText.ttl +0 -0
  211. package/src/dataContentPane.js +1 -1
  212. package/src/defaultPane.js +0 -0
  213. package/src/dokieli/Makefile +0 -0
  214. package/src/dokieli/dokieliPane.js +0 -0
  215. package/src/dokieli/new.html +0 -0
  216. package/src/dokieli/new.js +0 -0
  217. package/src/form/form-22.png +0 -0
  218. package/src/form/form-b-22.png +0 -0
  219. package/src/form/form.graffle +0 -0
  220. package/src/form/form.png +0 -0
  221. package/src/form/pane.js +5 -4
  222. package/src/form/psuedocode-notes.txt +0 -0
  223. package/src/global.d.ts +0 -0
  224. package/src/home/homePane.ts +7 -6
  225. package/src/humanReadablePane.js +0 -0
  226. package/src/imagePane.js +0 -0
  227. package/src/index.ts +27 -21
  228. package/src/internal/internalPane.ts +0 -0
  229. package/src/mainPage/footer.ts +19 -0
  230. package/src/mainPage/header.ts +76 -0
  231. package/src/mainPage/index.ts +20 -0
  232. package/src/meeting/Makefile +0 -0
  233. package/src/meeting/test/meeting1/Actions/actions.ttl +0 -0
  234. package/src/meeting/test/meeting1/Actions/config.ttl +0 -0
  235. package/src/meeting/test/meeting1/Actions/state.ttl +0 -0
  236. package/src/meeting/test/meeting1/Schedule/details.ttl +0 -0
  237. package/src/meeting/test/meeting1/Schedule/details.ttl.acl +0 -0
  238. package/src/meeting/test/meeting1/Schedule/forms.ttl +0 -0
  239. package/src/meeting/test/meeting1/Schedule/forms.ttl.acl +0 -0
  240. package/src/meeting/test/meeting1/Schedule/index.html +0 -0
  241. package/src/meeting/test/meeting1/Schedule/index.html.acl +0 -0
  242. package/src/meeting/test/meeting1/Schedule/results.ttl +0 -0
  243. package/src/meeting/test/meeting1/Schedule/results.ttl.acl +0 -0
  244. package/src/meeting/test/meeting1/SharedNotes/pad.ttl +0 -0
  245. package/src/meeting/test/meeting1/chat/chat.ttl +0 -0
  246. package/src/meeting/test/meeting1/details.ttl +0 -0
  247. package/src/meeting/test/meeting1/pad/pad.ttl +0 -0
  248. package/src/microblogPane/mbStyle.css +0 -0
  249. package/src/microblogPane/microblogPane.js +9 -8
  250. package/src/n3Pane.js +0 -0
  251. package/src/outline/context.ts +2 -1
  252. package/src/outline/dragDrop.js +5 -4
  253. package/src/outline/licenseOptions.js +4 -5
  254. package/src/outline/manager.js +43 -27
  255. package/src/outline/manager.test.ts +0 -0
  256. package/src/outline/outlineIcons.js +0 -0
  257. package/src/outline/propertyViews.test.ts +0 -0
  258. package/src/outline/propertyViews.ts +0 -0
  259. package/src/outline/queryByExample.js +4 -4
  260. package/src/outline/userInput.js +72 -72
  261. package/src/outline/viewAsImage.ts +0 -0
  262. package/src/outline/viewAsMbox.ts +0 -0
  263. package/src/pad/images/ColourOff.ai +0 -0
  264. package/src/pad/images/ColourOff.png +0 -0
  265. package/src/pad/images/ColourOn.ai +0 -0
  266. package/src/pad/images/ColourOn.png +0 -0
  267. package/src/pad/padPane.ts +3 -3
  268. package/src/playlist/playlistPane.js +0 -0
  269. package/src/profile/editProfile.view.ts +5 -8
  270. package/src/profile/profile.dom.ts +0 -0
  271. package/src/profile/profileFormText.ttl +0 -0
  272. package/src/registerPanes.js +0 -0
  273. package/src/schedule/Makefile +0 -0
  274. package/src/schedule/formsForSchedule.js +0 -0
  275. package/src/schedule/formsForSchedule.ttl +0 -0
  276. package/src/schedule/schedulePane.js +14 -13
  277. package/src/sharing/sharingPane.ts +0 -0
  278. package/src/slideshow/slideshowPane.js +0 -0
  279. package/src/socialPane.js +5 -4
  280. package/src/style/tabbedtab.css +0 -0
  281. package/src/tabbed/tabbedPane.ts +0 -0
  282. package/src/tableViewPane.js +0 -0
  283. package/src/test-import-export/common.js +0 -0
  284. package/src/test-import-export/edit-importer.js +0 -0
  285. package/src/test-import-export/testImportExport.js +0 -0
  286. package/src/transaction/068010-3d-transparent-glass-icon-alphanumeric-dollar-sign.png +0 -0
  287. package/src/transaction/075988-3d-transparent-glass-icon-business-currency-british-pound-sc35.png +0 -0
  288. package/src/transaction/22-pixel-068010-3d-transparent-glass-icon-alphanumeric-dollar-sign.png +0 -0
  289. package/src/transaction/pane.js +1 -1
  290. package/src/transaction/period.js +1 -1
  291. package/src/transaction/thumbs_075987-3d-transparent-glass-icon-business-creditcard2.png +0 -0
  292. package/src/transaction/thumbs_075989-3d-transparent-glass-icon-business-currency-cent-sc35.png +0 -0
  293. package/src/trip/tripPane.js +1 -1
  294. package/src/trustedApplications/__snapshots__/trustedApplications.test.ts.snap +0 -0
  295. package/src/trustedApplications/trustedApplications.dom.ts +2 -1
  296. package/src/trustedApplications/trustedApplications.test.ts +0 -0
  297. package/src/trustedApplications/trustedApplications.utils.ts +0 -0
  298. package/src/trustedApplications/trustedApplications.view.ts +4 -4
  299. package/src/types.ts +0 -0
  300. package/src/ui/22-builder.png +0 -0
  301. package/src/ui/builder.graffle +0 -0
  302. package/src/ui/builder.png +0 -0
  303. package/src/ui/builder2.png +0 -0
  304. package/src/ui/pane.js +0 -0
  305. package/src/versionInfo.ts +14 -14
  306. package/src/video/videoPane.js +0 -0
  307. package/timestamp.sh +0 -0
  308. package/travis/bumpversion.js +0 -0
  309. package/tsconfig.json +0 -0
  310. package/typings/raw-loader.d.ts +0 -0
  311. package/typings/solid-namespace/index.d.ts +0 -0
  312. package/webpack.config.js +0 -0
@@ -9,6 +9,8 @@ exports["default"] = _default;
9
9
 
10
10
  var UI = _interopRequireWildcard(require("solid-ui"));
11
11
 
12
+ var _solidLogic = require("solid-logic");
13
+
12
14
  var panes = _interopRequireWildcard(require("pane-registry"));
13
15
 
14
16
  var $rdf = _interopRequireWildcard(require("rdflib"));
@@ -63,9 +65,9 @@ function _default(context) {
63
65
  this.ancestor = UI.utils.ancestor; // make available as outline.ancestor in callbacks
64
66
 
65
67
  this.sparql = UI.rdf.UpdateManager;
66
- this.kb = UI.store;
67
- var kb = UI.store;
68
- var sf = UI.store.fetcher;
68
+ this.kb = _solidLogic.store;
69
+ var kb = _solidLogic.store;
70
+ var sf = _solidLogic.store.fetcher;
69
71
  dom.outline = this;
70
72
  this.qs = new _queryByExample["default"].QuerySource(); // Track queries in queryByExample
71
73
  // var selection = [] // Array of statements which have been selected
@@ -368,7 +370,9 @@ function _default(context) {
368
370
 
369
371
  containerDiv.innerHTML = '';
370
372
  var table = containerDiv.appendChild(dom.createElement('table'));
371
- var me = UI.authn.currentUser();
373
+
374
+ var me = _solidLogic.authn.currentUser();
375
+
372
376
  thisOutline.GotoSubject(item.subject || me, true, pane, false, undefined, table);
373
377
  };
374
378
 
@@ -380,7 +384,7 @@ function _default(context) {
380
384
  options = _args.length > 0 && _args[0] !== undefined ? _args[0] : {};
381
385
  console.log('globalAppTabs @@');
382
386
  div = dom.createElement('div');
383
- me = UI.authn.currentUser();
387
+ me = _solidLogic.authn.currentUser();
384
388
 
385
389
  if (me) {
386
390
  _context.next = 9;
@@ -428,32 +432,32 @@ function _default(context) {
428
432
  }
429
433
 
430
434
  function _getDashboardItems() {
431
- _getDashboardItems = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee6() {
435
+ _getDashboardItems = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee7() {
432
436
  var me, div, _yield$Promise$all, _yield$Promise$all2, books, pods, getPods, _getPods, getAddressBooks, _getAddressBooks;
433
437
 
434
- return regeneratorRuntime.wrap(function _callee6$(_context7) {
438
+ return regeneratorRuntime.wrap(function _callee7$(_context8) {
435
439
  while (1) {
436
- switch (_context7.prev = _context7.next) {
440
+ switch (_context8.prev = _context8.next) {
437
441
  case 0:
438
442
  _getAddressBooks = function _getAddressBooks3() {
439
- _getAddressBooks = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee5() {
440
- var _context5;
443
+ _getAddressBooks = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee6() {
444
+ var _context6;
441
445
 
442
- return regeneratorRuntime.wrap(function _callee5$(_context6) {
446
+ return regeneratorRuntime.wrap(function _callee6$(_context7) {
443
447
  while (1) {
444
- switch (_context6.prev = _context6.next) {
448
+ switch (_context7.prev = _context7.next) {
445
449
  case 0:
446
- _context6.prev = 0;
447
- _context6.next = 3;
448
- return UI.authn.findAppInstances({
450
+ _context7.prev = 0;
451
+ _context7.next = 3;
452
+ return UI.login.findAppInstances({
449
453
  me: me,
450
454
  div: div,
451
455
  dom: dom
452
456
  }, ns.vcard('AddressBook'));
453
457
 
454
458
  case 3:
455
- _context5 = _context6.sent;
456
- return _context6.abrupt("return", (_context5.instances || []).map(function (book, index) {
459
+ _context6 = _context7.sent;
460
+ return _context7.abrupt("return", (_context6.instances || []).map(function (book, index) {
457
461
  return {
458
462
  paneName: 'contact',
459
463
  tabName: "contact-".concat(index),
@@ -464,19 +468,19 @@ function _default(context) {
464
468
  }));
465
469
 
466
470
  case 7:
467
- _context6.prev = 7;
468
- _context6.t0 = _context6["catch"](0);
471
+ _context7.prev = 7;
472
+ _context7.t0 = _context7["catch"](0);
469
473
  console.error('oops in globalAppTabs AddressBook');
470
474
 
471
475
  case 10:
472
- return _context6.abrupt("return", []);
476
+ return _context7.abrupt("return", []);
473
477
 
474
478
  case 11:
475
479
  case "end":
476
- return _context6.stop();
480
+ return _context7.stop();
477
481
  }
478
482
  }
479
- }, _callee5, null, [[0, 7]]);
483
+ }, _callee6, null, [[0, 7]]);
480
484
  }));
481
485
  return _getAddressBooks.apply(this, arguments);
482
486
  };
@@ -486,142 +490,171 @@ function _default(context) {
486
490
  };
487
491
 
488
492
  _getPods = function _getPods3() {
489
- _getPods = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee4() {
490
- var addPodRoot, _addPodRoot, addPodRootFromUrl, _addPodRootFromUrl, pods, uri, podUrl;
493
+ _getPods = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee5() {
494
+ var addPodStorage, _addPodStorage, addPodStorageFromUrl, _addPodStorageFromUrl, pods, uri, podUrl, uniques;
491
495
 
492
- return regeneratorRuntime.wrap(function _callee4$(_context4) {
496
+ return regeneratorRuntime.wrap(function _callee5$(_context5) {
493
497
  while (1) {
494
- switch (_context4.prev = _context4.next) {
498
+ switch (_context5.prev = _context5.next) {
495
499
  case 0:
496
- _addPodRootFromUrl = function _addPodRootFromUrl3() {
497
- _addPodRootFromUrl = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee3(url) {
498
- var podStorage;
499
- return regeneratorRuntime.wrap(function _callee3$(_context3) {
500
+ uniques = function _uniques(nodes) {
501
+ var uniqueNodes = [];
502
+ nodes.forEach(function (node) {
503
+ if (!uniqueNodes.find(function (uniqueNode) {
504
+ return uniqueNode.equals(node);
505
+ })) uniqueNodes.push(node);
506
+ });
507
+ return uniqueNodes;
508
+ };
509
+
510
+ _addPodStorageFromUrl = function _addPodStorageFromUrl3() {
511
+ _addPodStorageFromUrl = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee4(url) {
512
+ var podStorage, pathStorage;
513
+ return regeneratorRuntime.wrap(function _callee4$(_context4) {
500
514
  while (1) {
501
- switch (_context3.prev = _context3.next) {
515
+ switch (_context4.prev = _context4.next) {
502
516
  case 0:
503
- podStorage = new URL(url); // check that origin is not included in pods array
504
-
505
- if (pods.some(function (pod) {
506
- return pod.uri.includes(podStorage.origin);
507
- })) {
508
- _context3.next = 10;
509
- break;
510
- }
517
+ podStorage = new URL(url); // check for predicate pim:Storage in containers up the path tree
511
518
 
512
- _context3.t0 = podStorage.pathname === '/';
519
+ pathStorage = podStorage.pathname;
513
520
 
514
- if (_context3.t0) {
515
- _context3.next = 7;
521
+ case 2:
522
+ if (!pathStorage.length) {
523
+ _context4.next = 10;
516
524
  break;
517
525
  }
518
526
 
519
- _context3.next = 6;
520
- return addPodRoot(kb.sym("".concat(podStorage.origin, "/").concat(podStorage.pathname.split('/')[1], "/")));
527
+ pathStorage = pathStorage.substring(0, pathStorage.lastIndexOf('/'));
528
+ _context4.next = 6;
529
+ return addPodStorage(kb.sym("".concat(podStorage.origin).concat(pathStorage, "/")));
521
530
 
522
531
  case 6:
523
- _context3.t0 = !_context3.sent;
524
-
525
- case 7:
526
- if (!_context3.t0) {
527
- _context3.next = 10;
532
+ if (!_context4.sent) {
533
+ _context4.next = 8;
528
534
  break;
529
535
  }
530
536
 
531
- _context3.next = 10;
532
- return addPodRoot(kb.sym("".concat(podStorage.origin, "/")));
537
+ return _context4.abrupt("return");
538
+
539
+ case 8:
540
+ _context4.next = 2;
541
+ break;
533
542
 
534
543
  case 10:
535
544
  case "end":
536
- return _context3.stop();
545
+ return _context4.stop();
537
546
  }
538
547
  }
539
- }, _callee3);
548
+ }, _callee4);
540
549
  }));
541
- return _addPodRootFromUrl.apply(this, arguments);
550
+ return _addPodStorageFromUrl.apply(this, arguments);
542
551
  };
543
552
 
544
- addPodRootFromUrl = function _addPodRootFromUrl2(_x8) {
545
- return _addPodRootFromUrl.apply(this, arguments);
553
+ addPodStorageFromUrl = function _addPodStorageFromUrl2(_x8) {
554
+ return _addPodStorageFromUrl.apply(this, arguments);
546
555
  };
547
556
 
548
- _addPodRoot = function _addPodRoot3() {
549
- _addPodRoot = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2(pod) {
550
- return regeneratorRuntime.wrap(function _callee2$(_context2) {
557
+ _addPodStorage = function _addPodStorage3() {
558
+ _addPodStorage = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee3(pod) {
559
+ return regeneratorRuntime.wrap(function _callee3$(_context3) {
551
560
  while (1) {
552
- switch (_context2.prev = _context2.next) {
561
+ switch (_context3.prev = _context3.next) {
553
562
  case 0:
554
- _context2.next = 2;
555
- return checkForContainerRepresentation(pod);
563
+ _context3.next = 2;
564
+ return loadContainerRepresentation(pod);
556
565
 
557
566
  case 2:
558
567
  if (!kb.holds(pod, ns.rdf('type'), ns.space('Storage'), pod.doc())) {
559
- _context2.next = 5;
568
+ _context3.next = 5;
560
569
  break;
561
570
  }
562
571
 
563
572
  pods.push(pod);
564
- return _context2.abrupt("return", true);
573
+ return _context3.abrupt("return", true);
565
574
 
566
575
  case 5:
567
- return _context2.abrupt("return", false);
576
+ return _context3.abrupt("return", false);
568
577
 
569
578
  case 6:
570
579
  case "end":
571
- return _context2.stop();
580
+ return _context3.stop();
572
581
  }
573
582
  }
574
- }, _callee2);
583
+ }, _callee3);
575
584
  }));
576
- return _addPodRoot.apply(this, arguments);
585
+ return _addPodStorage.apply(this, arguments);
577
586
  };
578
587
 
579
- addPodRoot = function _addPodRoot2(_x7) {
580
- return _addPodRoot.apply(this, arguments);
588
+ addPodStorage = function _addPodStorage2(_x7) {
589
+ return _addPodStorage.apply(this, arguments);
581
590
  };
582
591
 
583
- _context4.prev = 4;
584
- _context4.next = 7;
592
+ _context5.prev = 5;
593
+ _context5.next = 8;
585
594
  return kb.fetcher.load(me.doc());
586
595
 
587
- case 7:
588
- _context4.next = 13;
596
+ case 8:
597
+ _context5.next = 14;
589
598
  break;
590
599
 
591
- case 9:
592
- _context4.prev = 9;
593
- _context4.t0 = _context4["catch"](4);
594
- console.error('Unable to load profile', _context4.t0);
595
- return _context4.abrupt("return", []);
600
+ case 10:
601
+ _context5.prev = 10;
602
+ _context5.t0 = _context5["catch"](5);
603
+ console.error('Unable to load profile', _context5.t0);
604
+ return _context5.abrupt("return", []);
596
605
 
597
- case 13:
606
+ case 14:
607
+ // load pod's storages from profile
598
608
  pods = kb.each(me, ns.space('storage'), null, me.doc());
599
- _context4.prev = 14;
609
+ pods.map( /*#__PURE__*/function () {
610
+ var _ref = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2(pod) {
611
+ return regeneratorRuntime.wrap(function _callee2$(_context2) {
612
+ while (1) {
613
+ switch (_context2.prev = _context2.next) {
614
+ case 0:
615
+ _context2.next = 2;
616
+ return loadContainerRepresentation(pod);
617
+
618
+ case 2:
619
+ case "end":
620
+ return _context2.stop();
621
+ }
622
+ }
623
+ }, _callee2);
624
+ }));
625
+
626
+ return function (_x9) {
627
+ return _ref.apply(this, arguments);
628
+ };
629
+ }());
630
+ _context5.prev = 16;
600
631
  // if uri then SolidOS is a browse.html web app
601
632
  uri = new URL(window.location.href).searchParams.get('uri');
602
633
  podUrl = uri || window.location.href;
603
- _context4.next = 19;
604
- return addPodRootFromUrl(podUrl.substring(0, podUrl.lastIndexOf('/') + 1));
634
+ _context5.next = 21;
635
+ return addPodStorageFromUrl(podUrl);
605
636
 
606
- case 19:
607
- _context4.next = 24;
637
+ case 21:
638
+ _context5.next = 26;
608
639
  break;
609
640
 
610
- case 21:
611
- _context4.prev = 21;
612
- _context4.t1 = _context4["catch"](14);
613
- console.error('cannot load container', _context4.t1);
641
+ case 23:
642
+ _context5.prev = 23;
643
+ _context5.t1 = _context5["catch"](16);
644
+ console.error('cannot load container', _context5.t1);
645
+
646
+ case 26:
647
+ pods = uniques(pods);
614
648
 
615
- case 24:
616
649
  if (pods.length) {
617
- _context4.next = 26;
650
+ _context5.next = 29;
618
651
  break;
619
652
  }
620
653
 
621
- return _context4.abrupt("return", []);
654
+ return _context5.abrupt("return", []);
622
655
 
623
- case 26:
624
- return _context4.abrupt("return", pods.map(function (pod, index) {
656
+ case 29:
657
+ return _context5.abrupt("return", pods.map(function (pod, index) {
625
658
  function split(item) {
626
659
  return item.uri.split('//')[1].slice(0, -1);
627
660
  }
@@ -636,12 +669,12 @@ function _default(context) {
636
669
  };
637
670
  }));
638
671
 
639
- case 27:
672
+ case 30:
640
673
  case "end":
641
- return _context4.stop();
674
+ return _context5.stop();
642
675
  }
643
676
  }
644
- }, _callee4, null, [[4, 9], [14, 21]]);
677
+ }, _callee5, null, [[5, 10], [16, 23]]);
645
678
  }));
646
679
  return _getPods.apply(this, arguments);
647
680
  };
@@ -650,17 +683,26 @@ function _default(context) {
650
683
  return _getPods.apply(this, arguments);
651
684
  };
652
685
 
653
- me = UI.authn.currentUser();
686
+ me = _solidLogic.authn.currentUser();
687
+
688
+ if (me) {
689
+ _context8.next = 7;
690
+ break;
691
+ }
692
+
693
+ return _context8.abrupt("return", []);
694
+
695
+ case 7:
654
696
  div = dom.createElement('div');
655
- _context7.next = 8;
697
+ _context8.next = 10;
656
698
  return Promise.all([getAddressBooks(), getPods()]);
657
699
 
658
- case 8:
659
- _yield$Promise$all = _context7.sent;
700
+ case 10:
701
+ _yield$Promise$all = _context8.sent;
660
702
  _yield$Promise$all2 = _slicedToArray(_yield$Promise$all, 2);
661
703
  books = _yield$Promise$all2[0];
662
704
  pods = _yield$Promise$all2[1];
663
- return _context7.abrupt("return", [{
705
+ return _context8.abrupt("return", [{
664
706
  paneName: 'home',
665
707
  label: 'Your stuff',
666
708
  icon: UI.icons.iconBase + 'noun_547570.svg'
@@ -674,12 +716,12 @@ function _default(context) {
674
716
  icon: UI.icons.iconBase + 'noun_492246.svg'
675
717
  }].concat(books).concat(pods));
676
718
 
677
- case 13:
719
+ case 15:
678
720
  case "end":
679
- return _context7.stop();
721
+ return _context8.stop();
680
722
  }
681
723
  }
682
- }, _callee6);
724
+ }, _callee7);
683
725
  }));
684
726
  return _getDashboardItems.apply(this, arguments);
685
727
  }
@@ -698,7 +740,7 @@ function _default(context) {
698
740
  }
699
741
 
700
742
  function _showDashboard() {
701
- _showDashboard = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee7() {
743
+ _showDashboard = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee8() {
702
744
  var options,
703
745
  dashboardContainer,
704
746
  outlineContainer,
@@ -706,23 +748,23 @@ function _default(context) {
706
748
  dashboard,
707
749
  tab,
708
750
  closeDashboard,
709
- _args7 = arguments;
751
+ _args8 = arguments;
710
752
 
711
- return regeneratorRuntime.wrap(function _callee7$(_context8) {
753
+ return regeneratorRuntime.wrap(function _callee8$(_context9) {
712
754
  while (1) {
713
- switch (_context8.prev = _context8.next) {
755
+ switch (_context9.prev = _context9.next) {
714
756
  case 0:
715
757
  closeDashboard = function _closeDashboard() {
716
758
  dashboardContainer.style.display = 'none';
717
759
  outlineContainer.style.display = 'inherit';
718
760
  };
719
761
 
720
- options = _args7.length > 0 && _args7[0] !== undefined ? _args7[0] : {};
762
+ options = _args8.length > 0 && _args8[0] !== undefined ? _args8[0] : {};
721
763
  dashboardContainer = getDashboardContainer();
722
764
  outlineContainer = getOutlineContainer(); // reuse dashboard if already children already is inserted
723
765
 
724
766
  if (!(dashboardContainer.childNodes.length > 0 && options.pane)) {
725
- _context8.next = 12;
767
+ _context9.next = 12;
726
768
  break;
727
769
  }
728
770
 
@@ -731,28 +773,30 @@ function _default(context) {
731
773
  _tab = dashboardContainer.querySelector("[data-global-pane-name=\"".concat(options.pane, "\"]"));
732
774
 
733
775
  if (!_tab) {
734
- _context8.next = 11;
776
+ _context9.next = 11;
735
777
  break;
736
778
  }
737
779
 
738
780
  _tab.click();
739
781
 
740
- return _context8.abrupt("return");
782
+ return _context9.abrupt("return");
741
783
 
742
784
  case 11:
743
785
  console.warn('Did not find the referred tab in global dashboard, will open first one');
744
786
 
745
787
  case 12:
746
- _context8.next = 14;
788
+ _context9.next = 14;
747
789
  return globalAppTabs({
748
790
  selectedTab: options.pane,
749
791
  onClose: closeDashboard
750
792
  });
751
793
 
752
794
  case 14:
753
- dashboard = _context8.sent;
795
+ dashboard = _context9.sent;
796
+
754
797
  // close the dashboard if user log out
755
- UI.authn.authSession.onLogout(closeDashboard); // finally - switch to showing dashboard
798
+ _solidLogic.authSession.onLogout(closeDashboard); // finally - switch to showing dashboard
799
+
756
800
 
757
801
  outlineContainer.style.display = 'none';
758
802
  dashboardContainer.appendChild(dashboard);
@@ -764,10 +808,10 @@ function _default(context) {
764
808
 
765
809
  case 20:
766
810
  case "end":
767
- return _context8.stop();
811
+ return _context9.stop();
768
812
  }
769
813
  }
770
- }, _callee7);
814
+ }, _callee8);
771
815
  }));
772
816
  return _showDashboard.apply(this, arguments);
773
817
  }
@@ -798,23 +842,23 @@ function _default(context) {
798
842
  }();
799
843
  }
800
844
 
801
- function checkForContainerRepresentation(_x) {
802
- return _checkForContainerRepresentation.apply(this, arguments);
845
+ function loadContainerRepresentation(_x) {
846
+ return _loadContainerRepresentation.apply(this, arguments);
803
847
  }
804
848
 
805
- function _checkForContainerRepresentation() {
806
- _checkForContainerRepresentation = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee8(subject) {
849
+ function _loadContainerRepresentation() {
850
+ _loadContainerRepresentation = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee9(subject) {
807
851
  var response, containerTurtle;
808
- return regeneratorRuntime.wrap(function _callee8$(_context9) {
852
+ return regeneratorRuntime.wrap(function _callee9$(_context10) {
809
853
  while (1) {
810
- switch (_context9.prev = _context9.next) {
854
+ switch (_context10.prev = _context10.next) {
811
855
  case 0:
812
856
  if (kb.any(subject, ns.ldp('contains'), undefined, subject.doc())) {
813
- _context9.next = 6;
857
+ _context10.next = 6;
814
858
  break;
815
859
  }
816
860
 
817
- _context9.next = 3;
861
+ _context10.next = 3;
818
862
  return kb.fetcher.webOperation('GET', subject.uri, kb.fetcher.initFetchOptions(subject.uri, {
819
863
  headers: {
820
864
  accept: 'text/turtle'
@@ -822,18 +866,18 @@ function _default(context) {
822
866
  }));
823
867
 
824
868
  case 3:
825
- response = _context9.sent;
869
+ response = _context10.sent;
826
870
  containerTurtle = response.responseText;
827
871
  $rdf.parse(containerTurtle, kb, subject.uri, 'text/turtle');
828
872
 
829
873
  case 6:
830
874
  case "end":
831
- return _context9.stop();
875
+ return _context10.stop();
832
876
  }
833
877
  }
834
- }, _callee8);
878
+ }, _callee9);
835
879
  }));
836
- return _checkForContainerRepresentation.apply(this, arguments);
880
+ return _loadContainerRepresentation.apply(this, arguments);
837
881
  }
838
882
 
839
883
  function getRelevantPanes(_x2, _x3) {
@@ -841,19 +885,19 @@ function _default(context) {
841
885
  }
842
886
 
843
887
  function _getRelevantPanes() {
844
- _getRelevantPanes = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee9(subject, context) {
888
+ _getRelevantPanes = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee10(subject, context) {
845
889
  var panes, relevantPanes, filteredPanes, firstRelevantPaneIndex, firstFilteredPaneIndex;
846
- return regeneratorRuntime.wrap(function _callee9$(_context10) {
890
+ return regeneratorRuntime.wrap(function _callee10$(_context11) {
847
891
  while (1) {
848
- switch (_context10.prev = _context10.next) {
892
+ switch (_context11.prev = _context11.next) {
849
893
  case 0:
850
894
  if (!subject.uri.endsWith('/')) {
851
- _context10.next = 3;
895
+ _context11.next = 3;
852
896
  break;
853
897
  }
854
898
 
855
- _context10.next = 3;
856
- return checkForContainerRepresentation(subject);
899
+ _context11.next = 3;
900
+ return loadContainerRepresentation(subject);
857
901
 
858
902
  case 3:
859
903
  panes = context.session.paneRegistry;
@@ -862,38 +906,38 @@ function _default(context) {
862
906
  });
863
907
 
864
908
  if (!(relevantPanes.length === 0)) {
865
- _context10.next = 7;
909
+ _context11.next = 7;
866
910
  break;
867
911
  }
868
912
 
869
- return _context10.abrupt("return", [panes.byName('internal')]);
913
+ return _context11.abrupt("return", [panes.byName('internal')]);
870
914
 
871
915
  case 7:
872
- _context10.next = 9;
873
- return UI.authn.filterAvailablePanes(relevantPanes);
916
+ _context11.next = 9;
917
+ return UI.login.filterAvailablePanes(relevantPanes);
874
918
 
875
919
  case 9:
876
- filteredPanes = _context10.sent;
920
+ filteredPanes = _context11.sent;
877
921
 
878
922
  if (!(filteredPanes.length === 0)) {
879
- _context10.next = 12;
923
+ _context11.next = 12;
880
924
  break;
881
925
  }
882
926
 
883
- return _context10.abrupt("return", [relevantPanes[0]]);
927
+ return _context11.abrupt("return", [relevantPanes[0]]);
884
928
 
885
929
  case 12:
886
930
  firstRelevantPaneIndex = panes.list.indexOf(relevantPanes[0]);
887
931
  firstFilteredPaneIndex = panes.list.indexOf(filteredPanes[0]); // if the first relevant pane is loaded before the panes available wrt role, we still want to offer the most relevant pane
888
932
 
889
- return _context10.abrupt("return", firstRelevantPaneIndex < firstFilteredPaneIndex ? [relevantPanes[0]].concat(filteredPanes) : filteredPanes);
933
+ return _context11.abrupt("return", firstRelevantPaneIndex < firstFilteredPaneIndex ? [relevantPanes[0]].concat(filteredPanes) : filteredPanes);
890
934
 
891
935
  case 15:
892
936
  case "end":
893
- return _context10.stop();
937
+ return _context11.stop();
894
938
  }
895
939
  }
896
- }, _callee9);
940
+ }, _callee10);
897
941
  }));
898
942
  return _getRelevantPanes.apply(this, arguments);
899
943
  }
@@ -931,50 +975,50 @@ function _default(context) {
931
975
 
932
976
 
933
977
  function _expandedHeaderTR() {
934
- _expandedHeaderTR = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee11(subject, requiredPane, options) {
978
+ _expandedHeaderTR = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee12(subject, requiredPane, options) {
935
979
  var renderPaneIconTray, _renderPaneIconTray, tr, td, header, showHeader, icon, strong;
936
980
 
937
- return regeneratorRuntime.wrap(function _callee11$(_context12) {
981
+ return regeneratorRuntime.wrap(function _callee12$(_context13) {
938
982
  while (1) {
939
- switch (_context12.prev = _context12.next) {
983
+ switch (_context13.prev = _context13.next) {
940
984
  case 0:
941
985
  _renderPaneIconTray = function _renderPaneIconTray3() {
942
- _renderPaneIconTray = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee10(td) {
986
+ _renderPaneIconTray = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee11(td) {
943
987
  var options,
944
988
  paneShownStyle,
945
989
  paneHiddenStyle,
946
990
  paneIconTray,
947
991
  relevantPanes,
948
992
  paneNumber,
949
- _args10 = arguments;
950
- return regeneratorRuntime.wrap(function _callee10$(_context11) {
993
+ _args11 = arguments;
994
+ return regeneratorRuntime.wrap(function _callee11$(_context12) {
951
995
  while (1) {
952
- switch (_context11.prev = _context11.next) {
996
+ switch (_context12.prev = _context12.next) {
953
997
  case 0:
954
- options = _args10.length > 1 && _args10[1] !== undefined ? _args10[1] : {};
998
+ options = _args11.length > 1 && _args11[1] !== undefined ? _args11[1] : {};
955
999
  paneShownStyle = 'width: 24px; border-radius: 0.5em; border-top: solid #222 1px; border-left: solid #222 0.1em; border-bottom: solid #eee 0.1em; border-right: solid #eee 0.1em; margin-left: 1em; padding: 3px; background-color: #ffd;';
956
1000
  paneHiddenStyle = 'width: 24px; border-radius: 0.5em; margin-left: 1em; padding: 3px';
957
1001
  paneIconTray = td.appendChild(dom.createElement('nav'));
958
1002
  paneIconTray.style = 'display:flex; justify-content: flex-start; align-items: center;';
959
1003
 
960
1004
  if (!options.hideList) {
961
- _context11.next = 9;
1005
+ _context12.next = 9;
962
1006
  break;
963
1007
  }
964
1008
 
965
- _context11.t0 = [];
966
- _context11.next = 12;
1009
+ _context12.t0 = [];
1010
+ _context12.next = 12;
967
1011
  break;
968
1012
 
969
1013
  case 9:
970
- _context11.next = 11;
1014
+ _context12.next = 11;
971
1015
  return getRelevantPanes(subject, context);
972
1016
 
973
1017
  case 11:
974
- _context11.t0 = _context11.sent;
1018
+ _context12.t0 = _context12.sent;
975
1019
 
976
1020
  case 12:
977
- relevantPanes = _context11.t0;
1021
+ relevantPanes = _context12.t0;
978
1022
  tr.firstPane = requiredPane || getPane(relevantPanes, subject);
979
1023
  paneNumber = relevantPanes.indexOf(tr.firstPane);
980
1024
 
@@ -1091,19 +1135,19 @@ function _default(context) {
1091
1135
  });
1092
1136
  }
1093
1137
 
1094
- return _context11.abrupt("return", paneIconTray);
1138
+ return _context12.abrupt("return", paneIconTray);
1095
1139
 
1096
1140
  case 17:
1097
1141
  case "end":
1098
- return _context11.stop();
1142
+ return _context12.stop();
1099
1143
  }
1100
1144
  }
1101
- }, _callee10);
1145
+ }, _callee11);
1102
1146
  }));
1103
1147
  return _renderPaneIconTray.apply(this, arguments);
1104
1148
  };
1105
1149
 
1106
- renderPaneIconTray = function _renderPaneIconTray2(_x9) {
1150
+ renderPaneIconTray = function _renderPaneIconTray2(_x10) {
1107
1151
  return _renderPaneIconTray.apply(this, arguments);
1108
1152
  };
1109
1153
 
@@ -1135,16 +1179,16 @@ function _default(context) {
1135
1179
  UI.widgets.makeDraggable(strong, subject);
1136
1180
  }
1137
1181
 
1138
- _context12.t0 = header;
1139
- _context12.next = 16;
1182
+ _context13.t0 = header;
1183
+ _context13.next = 16;
1140
1184
  return renderPaneIconTray(td, {
1141
1185
  hideList: showHeader
1142
1186
  });
1143
1187
 
1144
1188
  case 16:
1145
- _context12.t1 = _context12.sent;
1189
+ _context13.t1 = _context13.sent;
1146
1190
 
1147
- _context12.t0.appendChild.call(_context12.t0, _context12.t1);
1191
+ _context13.t0.appendChild.call(_context13.t0, _context13.t1);
1148
1192
 
1149
1193
  // set DOM methods
1150
1194
  tr.firstChild.tabulatorSelect = function () {
@@ -1155,14 +1199,14 @@ function _default(context) {
1155
1199
  setSelected(this, false);
1156
1200
  };
1157
1201
 
1158
- return _context12.abrupt("return", tr);
1202
+ return _context13.abrupt("return", tr);
1159
1203
 
1160
1204
  case 21:
1161
1205
  case "end":
1162
- return _context12.stop();
1206
+ return _context13.stop();
1163
1207
  }
1164
1208
  }
1165
- }, _callee11);
1209
+ }, _callee12);
1166
1210
  }));
1167
1211
  return _expandedHeaderTR.apply(this, arguments);
1168
1212
  }
@@ -1652,7 +1696,7 @@ function _default(context) {
1652
1696
 
1653
1697
  if (target.label) {
1654
1698
  window.content.location = target.label; // The following alternative does not work in the extension.
1655
- // var s = UI.store.sym(target.label);
1699
+ // var s = store.sym(target.label);
1656
1700
  // outline.GotoSubject(s, true);
1657
1701
  }
1658
1702
  };
@@ -1726,7 +1770,7 @@ function _default(context) {
1726
1770
  // don't do these for headers or base nodes
1727
1771
  var source = st.why; // var target = st.why
1728
1772
 
1729
- var editable = UI.store.updater.editable(source.uri, kb);
1773
+ var editable = _solidLogic.store.updater.editable(source.uri, kb);
1730
1774
 
1731
1775
  if (!editable) {// let target = node.parentNode.AJAR_inverse ? st.object : st.subject
1732
1776
  } // left hand side
@@ -1914,7 +1958,7 @@ function _default(context) {
1914
1958
  // I don't know why 'HTML'
1915
1959
  var object = UI.utils.getAbout(kb, selectedTd);
1916
1960
  target = selectedTd.parentNode.AJAR_statement.why;
1917
- editable = UI.store.updater.editable(target.uri, kb);
1961
+ editable = _solidLogic.store.updater.editable(target.uri, kb);
1918
1962
 
1919
1963
  if (object) {
1920
1964
  // <Feature about='enterToExpand'>
@@ -1975,7 +2019,7 @@ function _default(context) {
1975
2019
  case 8:
1976
2020
  // backspace
1977
2021
  target = selectedTd.parentNode.AJAR_statement.why;
1978
- editable = UI.store.updater.editable(target.uri, kb);
2022
+ editable = _solidLogic.store.updater.editable(target.uri, kb);
1979
2023
 
1980
2024
  if (editable) {
1981
2025
  e.preventDefault(); // prevent from going back
@@ -2244,7 +2288,9 @@ function _default(context) {
2244
2288
  if (!st) return; // For example in the title TD of an expanded pane
2245
2289
 
2246
2290
  var _target = st.why;
2247
- var editable = UI.store.updater.editable(_target.uri, kb);
2291
+
2292
+ var editable = _solidLogic.store.updater.editable(_target.uri, kb);
2293
+
2248
2294
  if (sel && editable) thisOutline.UserInput.Click(e, selection[0]); // was next 2 lines
2249
2295
  // var text='TabulatorMouseDown@Outline()';
2250
2296
  // HCIoptions['able to edit in Discovery Mode by mouse'].setupHere([sel,e,thisOutline,selection[0]],text);