solid-panes 3.5.16 → 3.5.18-18e626a8

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 +7 -4
  60. package/lib/index.d.ts.map +1 -1
  61. package/lib/index.js +14 -14
  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 +0 -0
  68. package/lib/mainPage/footer.d.ts.map +0 -0
  69. package/lib/mainPage/footer.js +0 -0
  70. package/lib/mainPage/footer.js.map +0 -0
  71. package/lib/mainPage/header.d.ts +0 -0
  72. package/lib/mainPage/header.d.ts.map +1 -1
  73. package/lib/mainPage/header.js +4 -2
  74. package/lib/mainPage/header.js.map +1 -1
  75. package/lib/mainPage/index.d.ts +0 -0
  76. package/lib/mainPage/index.d.ts.map +0 -0
  77. package/lib/mainPage/index.js +0 -0
  78. package/lib/mainPage/index.js.map +0 -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 +0 -0
  84. package/lib/outline/context.d.ts.map +0 -0
  85. package/lib/outline/context.js +0 -0
  86. package/lib/outline/context.js.map +0 -0
  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 +213 -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 +13 -13
  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 +24 -19
  228. package/src/internal/internalPane.ts +0 -0
  229. package/src/mainPage/footer.ts +0 -0
  230. package/src/mainPage/header.ts +3 -2
  231. package/src/mainPage/index.ts +0 -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 +0 -0
  252. package/src/outline/dragDrop.js +5 -4
  253. package/src/outline/licenseOptions.js +4 -5
  254. package/src/outline/manager.js +42 -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
517
+ podStorage = new URL(url); // check for predicate pim:Storage in containers up the path tree
504
518
 
505
- if (pods.some(function (pod) {
506
- return pod.uri.includes(podStorage.origin);
507
- })) {
508
- _context3.next = 10;
509
- break;
510
- }
511
-
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,26 +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();
654
687
 
655
688
  if (me) {
656
- _context7.next = 7;
689
+ _context8.next = 7;
657
690
  break;
658
691
  }
659
692
 
660
- return _context7.abrupt("return", []);
693
+ return _context8.abrupt("return", []);
661
694
 
662
695
  case 7:
663
696
  div = dom.createElement('div');
664
- _context7.next = 10;
697
+ _context8.next = 10;
665
698
  return Promise.all([getAddressBooks(), getPods()]);
666
699
 
667
700
  case 10:
668
- _yield$Promise$all = _context7.sent;
701
+ _yield$Promise$all = _context8.sent;
669
702
  _yield$Promise$all2 = _slicedToArray(_yield$Promise$all, 2);
670
703
  books = _yield$Promise$all2[0];
671
704
  pods = _yield$Promise$all2[1];
672
- return _context7.abrupt("return", [{
705
+ return _context8.abrupt("return", [{
673
706
  paneName: 'home',
674
707
  label: 'Your stuff',
675
708
  icon: UI.icons.iconBase + 'noun_547570.svg'
@@ -685,10 +718,10 @@ function _default(context) {
685
718
 
686
719
  case 15:
687
720
  case "end":
688
- return _context7.stop();
721
+ return _context8.stop();
689
722
  }
690
723
  }
691
- }, _callee6);
724
+ }, _callee7);
692
725
  }));
693
726
  return _getDashboardItems.apply(this, arguments);
694
727
  }
@@ -707,7 +740,7 @@ function _default(context) {
707
740
  }
708
741
 
709
742
  function _showDashboard() {
710
- _showDashboard = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee7() {
743
+ _showDashboard = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee8() {
711
744
  var options,
712
745
  dashboardContainer,
713
746
  outlineContainer,
@@ -715,23 +748,23 @@ function _default(context) {
715
748
  dashboard,
716
749
  tab,
717
750
  closeDashboard,
718
- _args7 = arguments;
751
+ _args8 = arguments;
719
752
 
720
- return regeneratorRuntime.wrap(function _callee7$(_context8) {
753
+ return regeneratorRuntime.wrap(function _callee8$(_context9) {
721
754
  while (1) {
722
- switch (_context8.prev = _context8.next) {
755
+ switch (_context9.prev = _context9.next) {
723
756
  case 0:
724
757
  closeDashboard = function _closeDashboard() {
725
758
  dashboardContainer.style.display = 'none';
726
759
  outlineContainer.style.display = 'inherit';
727
760
  };
728
761
 
729
- options = _args7.length > 0 && _args7[0] !== undefined ? _args7[0] : {};
762
+ options = _args8.length > 0 && _args8[0] !== undefined ? _args8[0] : {};
730
763
  dashboardContainer = getDashboardContainer();
731
764
  outlineContainer = getOutlineContainer(); // reuse dashboard if already children already is inserted
732
765
 
733
766
  if (!(dashboardContainer.childNodes.length > 0 && options.pane)) {
734
- _context8.next = 12;
767
+ _context9.next = 12;
735
768
  break;
736
769
  }
737
770
 
@@ -740,28 +773,30 @@ function _default(context) {
740
773
  _tab = dashboardContainer.querySelector("[data-global-pane-name=\"".concat(options.pane, "\"]"));
741
774
 
742
775
  if (!_tab) {
743
- _context8.next = 11;
776
+ _context9.next = 11;
744
777
  break;
745
778
  }
746
779
 
747
780
  _tab.click();
748
781
 
749
- return _context8.abrupt("return");
782
+ return _context9.abrupt("return");
750
783
 
751
784
  case 11:
752
785
  console.warn('Did not find the referred tab in global dashboard, will open first one');
753
786
 
754
787
  case 12:
755
- _context8.next = 14;
788
+ _context9.next = 14;
756
789
  return globalAppTabs({
757
790
  selectedTab: options.pane,
758
791
  onClose: closeDashboard
759
792
  });
760
793
 
761
794
  case 14:
762
- dashboard = _context8.sent;
795
+ dashboard = _context9.sent;
796
+
763
797
  // close the dashboard if user log out
764
- UI.authn.authSession.onLogout(closeDashboard); // finally - switch to showing dashboard
798
+ _solidLogic.authSession.onLogout(closeDashboard); // finally - switch to showing dashboard
799
+
765
800
 
766
801
  outlineContainer.style.display = 'none';
767
802
  dashboardContainer.appendChild(dashboard);
@@ -773,10 +808,10 @@ function _default(context) {
773
808
 
774
809
  case 20:
775
810
  case "end":
776
- return _context8.stop();
811
+ return _context9.stop();
777
812
  }
778
813
  }
779
- }, _callee7);
814
+ }, _callee8);
780
815
  }));
781
816
  return _showDashboard.apply(this, arguments);
782
817
  }
@@ -807,23 +842,23 @@ function _default(context) {
807
842
  }();
808
843
  }
809
844
 
810
- function checkForContainerRepresentation(_x) {
811
- return _checkForContainerRepresentation.apply(this, arguments);
845
+ function loadContainerRepresentation(_x) {
846
+ return _loadContainerRepresentation.apply(this, arguments);
812
847
  }
813
848
 
814
- function _checkForContainerRepresentation() {
815
- _checkForContainerRepresentation = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee8(subject) {
849
+ function _loadContainerRepresentation() {
850
+ _loadContainerRepresentation = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee9(subject) {
816
851
  var response, containerTurtle;
817
- return regeneratorRuntime.wrap(function _callee8$(_context9) {
852
+ return regeneratorRuntime.wrap(function _callee9$(_context10) {
818
853
  while (1) {
819
- switch (_context9.prev = _context9.next) {
854
+ switch (_context10.prev = _context10.next) {
820
855
  case 0:
821
856
  if (kb.any(subject, ns.ldp('contains'), undefined, subject.doc())) {
822
- _context9.next = 6;
857
+ _context10.next = 6;
823
858
  break;
824
859
  }
825
860
 
826
- _context9.next = 3;
861
+ _context10.next = 3;
827
862
  return kb.fetcher.webOperation('GET', subject.uri, kb.fetcher.initFetchOptions(subject.uri, {
828
863
  headers: {
829
864
  accept: 'text/turtle'
@@ -831,18 +866,18 @@ function _default(context) {
831
866
  }));
832
867
 
833
868
  case 3:
834
- response = _context9.sent;
869
+ response = _context10.sent;
835
870
  containerTurtle = response.responseText;
836
871
  $rdf.parse(containerTurtle, kb, subject.uri, 'text/turtle');
837
872
 
838
873
  case 6:
839
874
  case "end":
840
- return _context9.stop();
875
+ return _context10.stop();
841
876
  }
842
877
  }
843
- }, _callee8);
878
+ }, _callee9);
844
879
  }));
845
- return _checkForContainerRepresentation.apply(this, arguments);
880
+ return _loadContainerRepresentation.apply(this, arguments);
846
881
  }
847
882
 
848
883
  function getRelevantPanes(_x2, _x3) {
@@ -850,19 +885,19 @@ function _default(context) {
850
885
  }
851
886
 
852
887
  function _getRelevantPanes() {
853
- _getRelevantPanes = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee9(subject, context) {
888
+ _getRelevantPanes = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee10(subject, context) {
854
889
  var panes, relevantPanes, filteredPanes, firstRelevantPaneIndex, firstFilteredPaneIndex;
855
- return regeneratorRuntime.wrap(function _callee9$(_context10) {
890
+ return regeneratorRuntime.wrap(function _callee10$(_context11) {
856
891
  while (1) {
857
- switch (_context10.prev = _context10.next) {
892
+ switch (_context11.prev = _context11.next) {
858
893
  case 0:
859
894
  if (!subject.uri.endsWith('/')) {
860
- _context10.next = 3;
895
+ _context11.next = 3;
861
896
  break;
862
897
  }
863
898
 
864
- _context10.next = 3;
865
- return checkForContainerRepresentation(subject);
899
+ _context11.next = 3;
900
+ return loadContainerRepresentation(subject);
866
901
 
867
902
  case 3:
868
903
  panes = context.session.paneRegistry;
@@ -871,38 +906,38 @@ function _default(context) {
871
906
  });
872
907
 
873
908
  if (!(relevantPanes.length === 0)) {
874
- _context10.next = 7;
909
+ _context11.next = 7;
875
910
  break;
876
911
  }
877
912
 
878
- return _context10.abrupt("return", [panes.byName('internal')]);
913
+ return _context11.abrupt("return", [panes.byName('internal')]);
879
914
 
880
915
  case 7:
881
- _context10.next = 9;
882
- return UI.authn.filterAvailablePanes(relevantPanes);
916
+ _context11.next = 9;
917
+ return UI.login.filterAvailablePanes(relevantPanes);
883
918
 
884
919
  case 9:
885
- filteredPanes = _context10.sent;
920
+ filteredPanes = _context11.sent;
886
921
 
887
922
  if (!(filteredPanes.length === 0)) {
888
- _context10.next = 12;
923
+ _context11.next = 12;
889
924
  break;
890
925
  }
891
926
 
892
- return _context10.abrupt("return", [relevantPanes[0]]);
927
+ return _context11.abrupt("return", [relevantPanes[0]]);
893
928
 
894
929
  case 12:
895
930
  firstRelevantPaneIndex = panes.list.indexOf(relevantPanes[0]);
896
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
897
932
 
898
- return _context10.abrupt("return", firstRelevantPaneIndex < firstFilteredPaneIndex ? [relevantPanes[0]].concat(filteredPanes) : filteredPanes);
933
+ return _context11.abrupt("return", firstRelevantPaneIndex < firstFilteredPaneIndex ? [relevantPanes[0]].concat(filteredPanes) : filteredPanes);
899
934
 
900
935
  case 15:
901
936
  case "end":
902
- return _context10.stop();
937
+ return _context11.stop();
903
938
  }
904
939
  }
905
- }, _callee9);
940
+ }, _callee10);
906
941
  }));
907
942
  return _getRelevantPanes.apply(this, arguments);
908
943
  }
@@ -940,50 +975,50 @@ function _default(context) {
940
975
 
941
976
 
942
977
  function _expandedHeaderTR() {
943
- _expandedHeaderTR = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee11(subject, requiredPane, options) {
978
+ _expandedHeaderTR = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee12(subject, requiredPane, options) {
944
979
  var renderPaneIconTray, _renderPaneIconTray, tr, td, header, showHeader, icon, strong;
945
980
 
946
- return regeneratorRuntime.wrap(function _callee11$(_context12) {
981
+ return regeneratorRuntime.wrap(function _callee12$(_context13) {
947
982
  while (1) {
948
- switch (_context12.prev = _context12.next) {
983
+ switch (_context13.prev = _context13.next) {
949
984
  case 0:
950
985
  _renderPaneIconTray = function _renderPaneIconTray3() {
951
- _renderPaneIconTray = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee10(td) {
986
+ _renderPaneIconTray = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee11(td) {
952
987
  var options,
953
988
  paneShownStyle,
954
989
  paneHiddenStyle,
955
990
  paneIconTray,
956
991
  relevantPanes,
957
992
  paneNumber,
958
- _args10 = arguments;
959
- return regeneratorRuntime.wrap(function _callee10$(_context11) {
993
+ _args11 = arguments;
994
+ return regeneratorRuntime.wrap(function _callee11$(_context12) {
960
995
  while (1) {
961
- switch (_context11.prev = _context11.next) {
996
+ switch (_context12.prev = _context12.next) {
962
997
  case 0:
963
- options = _args10.length > 1 && _args10[1] !== undefined ? _args10[1] : {};
998
+ options = _args11.length > 1 && _args11[1] !== undefined ? _args11[1] : {};
964
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;';
965
1000
  paneHiddenStyle = 'width: 24px; border-radius: 0.5em; margin-left: 1em; padding: 3px';
966
1001
  paneIconTray = td.appendChild(dom.createElement('nav'));
967
1002
  paneIconTray.style = 'display:flex; justify-content: flex-start; align-items: center;';
968
1003
 
969
1004
  if (!options.hideList) {
970
- _context11.next = 9;
1005
+ _context12.next = 9;
971
1006
  break;
972
1007
  }
973
1008
 
974
- _context11.t0 = [];
975
- _context11.next = 12;
1009
+ _context12.t0 = [];
1010
+ _context12.next = 12;
976
1011
  break;
977
1012
 
978
1013
  case 9:
979
- _context11.next = 11;
1014
+ _context12.next = 11;
980
1015
  return getRelevantPanes(subject, context);
981
1016
 
982
1017
  case 11:
983
- _context11.t0 = _context11.sent;
1018
+ _context12.t0 = _context12.sent;
984
1019
 
985
1020
  case 12:
986
- relevantPanes = _context11.t0;
1021
+ relevantPanes = _context12.t0;
987
1022
  tr.firstPane = requiredPane || getPane(relevantPanes, subject);
988
1023
  paneNumber = relevantPanes.indexOf(tr.firstPane);
989
1024
 
@@ -1100,19 +1135,19 @@ function _default(context) {
1100
1135
  });
1101
1136
  }
1102
1137
 
1103
- return _context11.abrupt("return", paneIconTray);
1138
+ return _context12.abrupt("return", paneIconTray);
1104
1139
 
1105
1140
  case 17:
1106
1141
  case "end":
1107
- return _context11.stop();
1142
+ return _context12.stop();
1108
1143
  }
1109
1144
  }
1110
- }, _callee10);
1145
+ }, _callee11);
1111
1146
  }));
1112
1147
  return _renderPaneIconTray.apply(this, arguments);
1113
1148
  };
1114
1149
 
1115
- renderPaneIconTray = function _renderPaneIconTray2(_x9) {
1150
+ renderPaneIconTray = function _renderPaneIconTray2(_x10) {
1116
1151
  return _renderPaneIconTray.apply(this, arguments);
1117
1152
  };
1118
1153
 
@@ -1144,16 +1179,16 @@ function _default(context) {
1144
1179
  UI.widgets.makeDraggable(strong, subject);
1145
1180
  }
1146
1181
 
1147
- _context12.t0 = header;
1148
- _context12.next = 16;
1182
+ _context13.t0 = header;
1183
+ _context13.next = 16;
1149
1184
  return renderPaneIconTray(td, {
1150
1185
  hideList: showHeader
1151
1186
  });
1152
1187
 
1153
1188
  case 16:
1154
- _context12.t1 = _context12.sent;
1189
+ _context13.t1 = _context13.sent;
1155
1190
 
1156
- _context12.t0.appendChild.call(_context12.t0, _context12.t1);
1191
+ _context13.t0.appendChild.call(_context13.t0, _context13.t1);
1157
1192
 
1158
1193
  // set DOM methods
1159
1194
  tr.firstChild.tabulatorSelect = function () {
@@ -1164,14 +1199,14 @@ function _default(context) {
1164
1199
  setSelected(this, false);
1165
1200
  };
1166
1201
 
1167
- return _context12.abrupt("return", tr);
1202
+ return _context13.abrupt("return", tr);
1168
1203
 
1169
1204
  case 21:
1170
1205
  case "end":
1171
- return _context12.stop();
1206
+ return _context13.stop();
1172
1207
  }
1173
1208
  }
1174
- }, _callee11);
1209
+ }, _callee12);
1175
1210
  }));
1176
1211
  return _expandedHeaderTR.apply(this, arguments);
1177
1212
  }
@@ -1661,7 +1696,7 @@ function _default(context) {
1661
1696
 
1662
1697
  if (target.label) {
1663
1698
  window.content.location = target.label; // The following alternative does not work in the extension.
1664
- // var s = UI.store.sym(target.label);
1699
+ // var s = store.sym(target.label);
1665
1700
  // outline.GotoSubject(s, true);
1666
1701
  }
1667
1702
  };
@@ -1735,7 +1770,7 @@ function _default(context) {
1735
1770
  // don't do these for headers or base nodes
1736
1771
  var source = st.why; // var target = st.why
1737
1772
 
1738
- var editable = UI.store.updater.editable(source.uri, kb);
1773
+ var editable = _solidLogic.store.updater.editable(source.uri, kb);
1739
1774
 
1740
1775
  if (!editable) {// let target = node.parentNode.AJAR_inverse ? st.object : st.subject
1741
1776
  } // left hand side
@@ -1923,7 +1958,7 @@ function _default(context) {
1923
1958
  // I don't know why 'HTML'
1924
1959
  var object = UI.utils.getAbout(kb, selectedTd);
1925
1960
  target = selectedTd.parentNode.AJAR_statement.why;
1926
- editable = UI.store.updater.editable(target.uri, kb);
1961
+ editable = _solidLogic.store.updater.editable(target.uri, kb);
1927
1962
 
1928
1963
  if (object) {
1929
1964
  // <Feature about='enterToExpand'>
@@ -1984,7 +2019,7 @@ function _default(context) {
1984
2019
  case 8:
1985
2020
  // backspace
1986
2021
  target = selectedTd.parentNode.AJAR_statement.why;
1987
- editable = UI.store.updater.editable(target.uri, kb);
2022
+ editable = _solidLogic.store.updater.editable(target.uri, kb);
1988
2023
 
1989
2024
  if (editable) {
1990
2025
  e.preventDefault(); // prevent from going back
@@ -2253,7 +2288,9 @@ function _default(context) {
2253
2288
  if (!st) return; // For example in the title TD of an expanded pane
2254
2289
 
2255
2290
  var _target = st.why;
2256
- var editable = UI.store.updater.editable(_target.uri, kb);
2291
+
2292
+ var editable = _solidLogic.store.updater.editable(_target.uri, kb);
2293
+
2257
2294
  if (sel && editable) thisOutline.UserInput.Click(e, selection[0]); // was next 2 lines
2258
2295
  // var text='TabulatorMouseDown@Outline()';
2259
2296
  // HCIoptions['able to edit in Discovery Mode by mouse'].setupHere([sel,e,thisOutline,selection[0]],text);