solid-panes 3.7.2 → 3.7.3-3425a37d

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 (354) hide show
  1. package/dist/dashboard/basicPreferences.js +155 -0
  2. package/dist/dashboard/basicPreferences.js.map +1 -0
  3. package/dist/dashboard/dashboardPane.js +63 -0
  4. package/dist/dashboard/dashboardPane.js.map +1 -0
  5. package/dist/dashboard/homepage.js +63 -0
  6. package/dist/dashboard/homepage.js.map +1 -0
  7. package/dist/home/homePane.js +68 -0
  8. package/dist/home/homePane.js.map +1 -0
  9. package/dist/index.js +48 -0
  10. package/dist/index.js.map +1 -0
  11. package/dist/internal/internalPane.js +195 -0
  12. package/dist/internal/internalPane.js.map +1 -0
  13. package/dist/mainPage/footer.js +16 -0
  14. package/dist/mainPage/footer.js.map +1 -0
  15. package/dist/mainPage/header.js +84 -0
  16. package/dist/mainPage/header.js.map +1 -0
  17. package/{lib → dist}/mainPage/index.d.ts.map +1 -1
  18. package/dist/mainPage/index.js +30 -0
  19. package/dist/mainPage/index.js.map +1 -0
  20. package/dist/outline/context.js +13 -0
  21. package/dist/outline/context.js.map +1 -0
  22. package/dist/outline/propertyViews.js +33 -0
  23. package/dist/outline/propertyViews.js.map +1 -0
  24. package/dist/outline/viewAsImage.js +7 -0
  25. package/dist/outline/viewAsImage.js.map +1 -0
  26. package/{lib → dist}/outline/viewAsMbox.js +4 -14
  27. package/dist/outline/viewAsMbox.js.map +1 -0
  28. package/dist/pad/padPane.js +420 -0
  29. package/dist/pad/padPane.js.map +1 -0
  30. package/dist/sharing/sharingPane.js +45 -0
  31. package/dist/sharing/sharingPane.js.map +1 -0
  32. package/dist/tabbed/tabbedPane.js +55 -0
  33. package/dist/tabbed/tabbedPane.js.map +1 -0
  34. package/dist/trustedApplications/trustedApplications.dom.js +158 -0
  35. package/dist/trustedApplications/trustedApplications.dom.js.map +1 -0
  36. package/dist/trustedApplications/trustedApplications.utils.js +24 -0
  37. package/dist/trustedApplications/trustedApplications.utils.js.map +1 -0
  38. package/dist/trustedApplications/trustedApplications.view.js +62 -0
  39. package/dist/trustedApplications/trustedApplications.view.js.map +1 -0
  40. package/dist/types.js +2 -0
  41. package/dist/types.js.map +1 -0
  42. package/dist/versionInfo.js +31 -0
  43. package/dist/versionInfo.js.map +1 -0
  44. package/package.json +34 -22
  45. package/Documentation/VisualLanguage.html +0 -538
  46. package/Documentation/conventions.md +0 -333
  47. package/coverage/clover.xml +0 -152
  48. package/coverage/coverage-final.json +0 -6
  49. package/coverage/lcov-report/base.css +0 -224
  50. package/coverage/lcov-report/block-navigation.js +0 -87
  51. package/coverage/lcov-report/favicon.png +0 -0
  52. package/coverage/lcov-report/index.html +0 -131
  53. package/coverage/lcov-report/outline/index.html +0 -161
  54. package/coverage/lcov-report/outline/outlineIcons.js.html +0 -565
  55. package/coverage/lcov-report/outline/propertyViews.ts.html +0 -196
  56. package/coverage/lcov-report/outline/viewAsImage.ts.html +0 -121
  57. package/coverage/lcov-report/outline/viewAsMbox.ts.html +0 -127
  58. package/coverage/lcov-report/prettify.css +0 -1
  59. package/coverage/lcov-report/prettify.js +0 -2
  60. package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  61. package/coverage/lcov-report/sorter.js +0 -210
  62. package/coverage/lcov-report/trustedApplications/index.html +0 -116
  63. package/coverage/lcov-report/trustedApplications/trustedApplications.utils.ts.html +0 -238
  64. package/coverage/lcov.info +0 -204
  65. package/dev/index.html +0 -28
  66. package/dev/loader.ts +0 -91
  67. package/dev/pane/index.ts +0 -10
  68. package/doc/images/panes-for-classes.epgz +0 -0
  69. package/doc/images/panes-for-classes.svg +0 -609
  70. package/eslint.config.mjs +0 -34
  71. package/jest.config.js +0 -27
  72. package/jest.setup.ts +0 -4
  73. package/lib/RDFXMLPane.js +0 -59
  74. package/lib/RDFXMLPane.js.map +0 -1
  75. package/lib/argument/argumentPane.js +0 -62
  76. package/lib/argument/argumentPane.js.map +0 -1
  77. package/lib/attach/attachPane.js +0 -404
  78. package/lib/attach/attachPane.js.map +0 -1
  79. package/lib/audio/audioPane.js +0 -183
  80. package/lib/audio/audioPane.js.map +0 -1
  81. package/lib/classInstancePane.js +0 -93
  82. package/lib/classInstancePane.js.map +0 -1
  83. package/lib/dashboard/basicPreferences.js +0 -229
  84. package/lib/dashboard/basicPreferences.js.map +0 -1
  85. package/lib/dashboard/dashboardPane.js +0 -73
  86. package/lib/dashboard/dashboardPane.js.map +0 -1
  87. package/lib/dashboard/homepage.js +0 -86
  88. package/lib/dashboard/homepage.js.map +0 -1
  89. package/lib/dataContentPane.js +0 -259
  90. package/lib/dataContentPane.js.map +0 -1
  91. package/lib/defaultPane.js +0 -76
  92. package/lib/defaultPane.js.map +0 -1
  93. package/lib/dokieli/dokieliPane.js +0 -173
  94. package/lib/dokieli/dokieliPane.js.map +0 -1
  95. package/lib/dokieli/new.js +0 -9
  96. package/lib/dokieli/new.js.map +0 -1
  97. package/lib/form/pane.js +0 -186
  98. package/lib/form/pane.js.map +0 -1
  99. package/lib/global.d.js +0 -2
  100. package/lib/global.d.js.map +0 -1
  101. package/lib/home/homePane.js +0 -91
  102. package/lib/home/homePane.js.map +0 -1
  103. package/lib/humanReadablePane.js +0 -138
  104. package/lib/humanReadablePane.js.map +0 -1
  105. package/lib/imagePane.js +0 -71
  106. package/lib/imagePane.js.map +0 -1
  107. package/lib/index.js +0 -112
  108. package/lib/index.js.map +0 -1
  109. package/lib/internal/internalPane.js +0 -184
  110. package/lib/internal/internalPane.js.map +0 -1
  111. package/lib/mainPage/footer.js +0 -22
  112. package/lib/mainPage/footer.js.map +0 -1
  113. package/lib/mainPage/header.js +0 -152
  114. package/lib/mainPage/header.js.map +0 -1
  115. package/lib/mainPage/index.js +0 -42
  116. package/lib/mainPage/index.js.map +0 -1
  117. package/lib/microblogPane/microblogPane.js +0 -1032
  118. package/lib/microblogPane/microblogPane.js.map +0 -1
  119. package/lib/n3Pane.js +0 -57
  120. package/lib/n3Pane.js.map +0 -1
  121. package/lib/outline/context.js +0 -19
  122. package/lib/outline/context.js.map +0 -1
  123. package/lib/outline/manager.js +0 -2264
  124. package/lib/outline/manager.js.map +0 -1
  125. package/lib/outline/manager.test.d.ts +0 -2
  126. package/lib/outline/manager.test.d.ts.map +0 -1
  127. package/lib/outline/manager.test.js +0 -210
  128. package/lib/outline/manager.test.js.map +0 -1
  129. package/lib/outline/outlineIcons.js +0 -128
  130. package/lib/outline/outlineIcons.js.map +0 -1
  131. package/lib/outline/propertyViews.js +0 -44
  132. package/lib/outline/propertyViews.js.map +0 -1
  133. package/lib/outline/propertyViews.test.d.ts +0 -2
  134. package/lib/outline/propertyViews.test.d.ts.map +0 -1
  135. package/lib/outline/propertyViews.test.js +0 -27
  136. package/lib/outline/propertyViews.test.js.map +0 -1
  137. package/lib/outline/queryByExample.js +0 -286
  138. package/lib/outline/queryByExample.js.map +0 -1
  139. package/lib/outline/userInput.js +0 -1817
  140. package/lib/outline/userInput.js.map +0 -1
  141. package/lib/outline/viewAsImage.js +0 -17
  142. package/lib/outline/viewAsImage.js.map +0 -1
  143. package/lib/outline/viewAsMbox.js.map +0 -1
  144. package/lib/pad/padPane.js +0 -417
  145. package/lib/pad/padPane.js.map +0 -1
  146. package/lib/playlist/playlistPane.js +0 -125
  147. package/lib/playlist/playlistPane.js.map +0 -1
  148. package/lib/registerPanes.js +0 -146
  149. package/lib/registerPanes.js.map +0 -1
  150. package/lib/schedule/formsForSchedule.js +0 -8
  151. package/lib/schedule/formsForSchedule.js.map +0 -1
  152. package/lib/schedule/schedulePane.js +0 -895
  153. package/lib/schedule/schedulePane.js.map +0 -1
  154. package/lib/sharing/sharingPane.js +0 -49
  155. package/lib/sharing/sharingPane.js.map +0 -1
  156. package/lib/slideshow/slideshowPane.js +0 -84
  157. package/lib/slideshow/slideshowPane.js.map +0 -1
  158. package/lib/socialPane.js +0 -431
  159. package/lib/socialPane.js.map +0 -1
  160. package/lib/tabbed/tabbedPane.js +0 -72
  161. package/lib/tabbed/tabbedPane.js.map +0 -1
  162. package/lib/tableViewPane.js +0 -58
  163. package/lib/tableViewPane.js.map +0 -1
  164. package/lib/test-import-export/common.js +0 -12
  165. package/lib/test-import-export/common.js.map +0 -1
  166. package/lib/test-import-export/edit-importer.js +0 -25
  167. package/lib/test-import-export/edit-importer.js.map +0 -1
  168. package/lib/test-import-export/testImportExport.js +0 -2
  169. package/lib/test-import-export/testImportExport.js.map +0 -1
  170. package/lib/transaction/pane.js +0 -479
  171. package/lib/transaction/pane.js.map +0 -1
  172. package/lib/transaction/period.js +0 -325
  173. package/lib/transaction/period.js.map +0 -1
  174. package/lib/trip/tripPane.js +0 -176
  175. package/lib/trip/tripPane.js.map +0 -1
  176. package/lib/trustedApplications/trustedApplications.dom.js +0 -177
  177. package/lib/trustedApplications/trustedApplications.dom.js.map +0 -1
  178. package/lib/trustedApplications/trustedApplications.test.d.ts +0 -2
  179. package/lib/trustedApplications/trustedApplications.test.d.ts.map +0 -1
  180. package/lib/trustedApplications/trustedApplications.test.js +0 -64
  181. package/lib/trustedApplications/trustedApplications.test.js.map +0 -1
  182. package/lib/trustedApplications/trustedApplications.utils.js +0 -34
  183. package/lib/trustedApplications/trustedApplications.utils.js.map +0 -1
  184. package/lib/trustedApplications/trustedApplications.view.js +0 -87
  185. package/lib/trustedApplications/trustedApplications.view.js.map +0 -1
  186. package/lib/types.js +0 -6
  187. package/lib/types.js.map +0 -1
  188. package/lib/ui/pane.js +0 -148
  189. package/lib/ui/pane.js.map +0 -1
  190. package/lib/versionInfo.d.ts +0 -34
  191. package/lib/versionInfo.d.ts.map +0 -1
  192. package/lib/versionInfo.js +0 -39
  193. package/lib/versionInfo.js.map +0 -1
  194. package/lib/video/videoPane.js +0 -44
  195. package/lib/video/videoPane.js.map +0 -1
  196. package/src/RDFXMLPane.js +0 -60
  197. package/src/argument/argumentPane.js +0 -65
  198. package/src/argument/argument_icon_v04.jpg +0 -0
  199. package/src/argument/icon_argument.png +0 -0
  200. package/src/argument/transparentyingyang.png +0 -0
  201. package/src/attach/attachPane.js +0 -508
  202. package/src/attach/tbl-paperclip-128.png +0 -0
  203. package/src/attach/tbl-paperclip-22.png +0 -0
  204. package/src/attach/tbl-paperclip-22a.png +0 -0
  205. package/src/audio/audioPane.js +0 -197
  206. package/src/chatPreferencesForm.ttl +0 -12
  207. package/src/classInstancePane.js +0 -110
  208. package/src/dashboard/basicPreferences.ts +0 -201
  209. package/src/dashboard/dashboardPane.ts +0 -83
  210. package/src/dashboard/homepage.ts +0 -72
  211. package/src/dashboard/languages/codes.html +0 -8611
  212. package/src/dashboard/languages/codes.xml +0 -3563
  213. package/src/dashboard/languages/codes2.txt +0 -170
  214. package/src/dashboard/languages/foo +0 -70
  215. package/src/dashboard/languages/foo.ttl +0 -0
  216. package/src/dashboard/languages/get-language-names.sh +0 -12
  217. package/src/dashboard/ontologyData.ttl +0 -35
  218. package/src/dashboard/preferencesFormText.ttl +0 -18
  219. package/src/dataContentPane.js +0 -290
  220. package/src/defaultPane.js +0 -102
  221. package/src/dokieli/Makefile +0 -6
  222. package/src/dokieli/dokieliPane.js +0 -190
  223. package/src/dokieli/new.html +0 -30
  224. package/src/dokieli/new.js +0 -22
  225. package/src/form/form-22.png +0 -0
  226. package/src/form/form-b-22.png +0 -0
  227. package/src/form/form.graffle +0 -0
  228. package/src/form/form.png +0 -0
  229. package/src/form/pane.js +0 -217
  230. package/src/form/psuedocode-notes.txt +0 -57
  231. package/src/global.d.ts +0 -4
  232. package/src/home/homePane.ts +0 -72
  233. package/src/humanReadablePane.js +0 -150
  234. package/src/imagePane.js +0 -75
  235. package/src/index.ts +0 -71
  236. package/src/internal/internalPane.ts +0 -263
  237. package/src/mainPage/footer.ts +0 -19
  238. package/src/mainPage/header.ts +0 -79
  239. package/src/mainPage/index.ts +0 -20
  240. package/src/meeting/Makefile +0 -3
  241. package/src/meeting/test/meeting1/Actions/actions.ttl +0 -14
  242. package/src/meeting/test/meeting1/Actions/config.ttl +0 -16
  243. package/src/meeting/test/meeting1/Actions/state.ttl +0 -30
  244. package/src/meeting/test/meeting1/Schedule/details.ttl +0 -34
  245. package/src/meeting/test/meeting1/Schedule/details.ttl.acl +0 -20
  246. package/src/meeting/test/meeting1/Schedule/forms.ttl +0 -75
  247. package/src/meeting/test/meeting1/Schedule/forms.ttl.acl +0 -20
  248. package/src/meeting/test/meeting1/Schedule/index.html +0 -72
  249. package/src/meeting/test/meeting1/Schedule/index.html.acl +0 -20
  250. package/src/meeting/test/meeting1/Schedule/results.ttl +0 -15
  251. package/src/meeting/test/meeting1/Schedule/results.ttl.acl +0 -20
  252. package/src/meeting/test/meeting1/SharedNotes/pad.ttl +0 -23
  253. package/src/meeting/test/meeting1/chat/chat.ttl +0 -1
  254. package/src/meeting/test/meeting1/details.ttl +0 -35
  255. package/src/meeting/test/meeting1/pad/pad.ttl +0 -16
  256. package/src/microblogPane/mbStyle.css +0 -267
  257. package/src/microblogPane/microblogPane.js +0 -1412
  258. package/src/n3Pane.js +0 -56
  259. package/src/outline/context.ts +0 -21
  260. package/src/outline/manager.js +0 -2384
  261. package/src/outline/manager.test.ts +0 -189
  262. package/src/outline/outlineIcons.js +0 -160
  263. package/src/outline/propertyViews.test.ts +0 -36
  264. package/src/outline/propertyViews.ts +0 -37
  265. package/src/outline/queryByExample.js +0 -296
  266. package/src/outline/userInput.js +0 -2373
  267. package/src/outline/viewAsImage.ts +0 -12
  268. package/src/outline/viewAsMbox.ts +0 -14
  269. package/src/pad/images/ColourOff.ai +2 -872
  270. package/src/pad/images/ColourOff.png +0 -0
  271. package/src/pad/images/ColourOn.ai +1 -935
  272. package/src/pad/images/ColourOn.png +0 -0
  273. package/src/pad/padPane.ts +0 -559
  274. package/src/playlist/playlistPane.js +0 -161
  275. package/src/registerPanes.js +0 -147
  276. package/src/schedule/Makefile +0 -6
  277. package/src/schedule/formsForSchedule.js +0 -117
  278. package/src/schedule/formsForSchedule.ttl +0 -115
  279. package/src/schedule/schedulePane.js +0 -1201
  280. package/src/sharing/sharingPane.ts +0 -49
  281. package/src/slideshow/slideshowPane.js +0 -80
  282. package/src/socialPane.js +0 -523
  283. package/src/style/tabbedtab.css +0 -1347
  284. package/src/tabbed/tabbedPane.ts +0 -60
  285. package/src/tableViewPane.js +0 -51
  286. package/src/test-import-export/common.js +0 -6
  287. package/src/test-import-export/edit-importer.js +0 -20
  288. package/src/test-import-export/testImportExport.js +0 -0
  289. package/src/transaction/068010-3d-transparent-glass-icon-alphanumeric-dollar-sign.png +0 -0
  290. package/src/transaction/075988-3d-transparent-glass-icon-business-currency-british-pound-sc35.png +0 -0
  291. package/src/transaction/22-pixel-068010-3d-transparent-glass-icon-alphanumeric-dollar-sign.png +0 -0
  292. package/src/transaction/pane.js +0 -629
  293. package/src/transaction/period.js +0 -374
  294. package/src/transaction/thumbs_075987-3d-transparent-glass-icon-business-creditcard2.png +0 -0
  295. package/src/transaction/thumbs_075989-3d-transparent-glass-icon-business-currency-cent-sc35.png +0 -0
  296. package/src/trip/tripPane.js +0 -176
  297. package/src/trustedApplications/__snapshots__/trustedApplications.test.ts.snap +0 -176
  298. package/src/trustedApplications/trustedApplications.dom.ts +0 -276
  299. package/src/trustedApplications/trustedApplications.test.ts +0 -82
  300. package/src/trustedApplications/trustedApplications.utils.ts +0 -51
  301. package/src/trustedApplications/trustedApplications.view.ts +0 -80
  302. package/src/types.ts +0 -34
  303. package/src/ui/22-builder.png +0 -0
  304. package/src/ui/builder.graffle +0 -0
  305. package/src/ui/builder.png +0 -0
  306. package/src/ui/builder2.png +0 -0
  307. package/src/ui/pane.js +0 -226
  308. package/src/versionInfo.ts +0 -32
  309. package/src/video/videoPane.js +0 -44
  310. package/timestamp.sh +0 -13
  311. package/travis/bumpversion.js +0 -29
  312. package/tsconfig.json +0 -78
  313. package/typings/raw-loader.d.ts +0 -4
  314. package/typings/solid-namespace/index.d.ts +0 -9
  315. package/webpack.config.js +0 -41
  316. /package/{lib → dist}/dashboard/basicPreferences.d.ts +0 -0
  317. /package/{lib → dist}/dashboard/basicPreferences.d.ts.map +0 -0
  318. /package/{lib → dist}/dashboard/dashboardPane.d.ts +0 -0
  319. /package/{lib → dist}/dashboard/dashboardPane.d.ts.map +0 -0
  320. /package/{lib → dist}/dashboard/homepage.d.ts +0 -0
  321. /package/{lib → dist}/dashboard/homepage.d.ts.map +0 -0
  322. /package/{lib → dist}/home/homePane.d.ts +0 -0
  323. /package/{lib → dist}/home/homePane.d.ts.map +0 -0
  324. /package/{lib → dist}/index.d.ts +0 -0
  325. /package/{lib → dist}/index.d.ts.map +0 -0
  326. /package/{lib → dist}/internal/internalPane.d.ts +0 -0
  327. /package/{lib → dist}/internal/internalPane.d.ts.map +0 -0
  328. /package/{lib → dist}/mainPage/footer.d.ts +0 -0
  329. /package/{lib → dist}/mainPage/footer.d.ts.map +0 -0
  330. /package/{lib → dist}/mainPage/header.d.ts +0 -0
  331. /package/{lib → dist}/mainPage/header.d.ts.map +0 -0
  332. /package/{lib → dist}/mainPage/index.d.ts +0 -0
  333. /package/{lib → dist}/outline/context.d.ts +0 -0
  334. /package/{lib → dist}/outline/context.d.ts.map +0 -0
  335. /package/{lib → dist}/outline/propertyViews.d.ts +0 -0
  336. /package/{lib → dist}/outline/propertyViews.d.ts.map +0 -0
  337. /package/{lib → dist}/outline/viewAsImage.d.ts +0 -0
  338. /package/{lib → dist}/outline/viewAsImage.d.ts.map +0 -0
  339. /package/{lib → dist}/outline/viewAsMbox.d.ts +0 -0
  340. /package/{lib → dist}/outline/viewAsMbox.d.ts.map +0 -0
  341. /package/{lib → dist}/pad/padPane.d.ts +0 -0
  342. /package/{lib → dist}/pad/padPane.d.ts.map +0 -0
  343. /package/{lib → dist}/sharing/sharingPane.d.ts +0 -0
  344. /package/{lib → dist}/sharing/sharingPane.d.ts.map +0 -0
  345. /package/{lib → dist}/tabbed/tabbedPane.d.ts +0 -0
  346. /package/{lib → dist}/tabbed/tabbedPane.d.ts.map +0 -0
  347. /package/{lib → dist}/trustedApplications/trustedApplications.dom.d.ts +0 -0
  348. /package/{lib → dist}/trustedApplications/trustedApplications.dom.d.ts.map +0 -0
  349. /package/{lib → dist}/trustedApplications/trustedApplications.utils.d.ts +0 -0
  350. /package/{lib → dist}/trustedApplications/trustedApplications.utils.d.ts.map +0 -0
  351. /package/{lib → dist}/trustedApplications/trustedApplications.view.d.ts +0 -0
  352. /package/{lib → dist}/trustedApplications/trustedApplications.view.d.ts.map +0 -0
  353. /package/{lib → dist}/types.d.ts +0 -0
  354. /package/{lib → dist}/types.d.ts.map +0 -0
@@ -1,79 +0,0 @@
1
- import { authSession, authn } from 'solid-logic'
2
- import { icons, initHeader } from 'solid-ui'
3
- /**
4
- * menu icons
5
- */
6
- const HELP_MENU_ICON = icons.iconBase + 'noun_help.svg'
7
- const SOLID_ICON_URL = 'https://solidproject.org/assets/img/solid-emblem.svg'
8
-
9
- /**
10
- * menu elements
11
- */
12
- const USER_GUIDE_MENU_ITEM = 'User guide'
13
- const REPORT_A_PROBLEM_MENU_ITEM = 'Report a problem'
14
- const SHOW_YOUR_PROFILE_MENU_ITEM = 'Show your profile'
15
- const LOG_OUT_MENU_ITEM = 'Log out'
16
-
17
- type UserMenuItem = { label: string; onclick: () => void } ;
18
- /**
19
- * URLS
20
- */
21
- const USER_GUIDE_MENU_URL = 'https://solidos.github.io/userguide/'
22
- const REPORT_A_PROBLEM_MENU_URL = 'https://github.com/solidos/solidos/issues'
23
-
24
- export async function createHeader (store, outliner) {
25
- initHeader(store, await setUserMenu(outliner), setHeaderOptions())
26
- }
27
-
28
- function setHeaderOptions () {
29
- const helpMenuList = [
30
- { label: USER_GUIDE_MENU_ITEM, url: USER_GUIDE_MENU_URL, target: '_blank' },
31
- { label: REPORT_A_PROBLEM_MENU_ITEM, url: REPORT_A_PROBLEM_MENU_URL, target: '_blank' }
32
- ]
33
- const headerOptions = { logo: SOLID_ICON_URL, helpIcon: HELP_MENU_ICON, helpMenuList: helpMenuList }
34
-
35
- return headerOptions
36
- }
37
-
38
- async function setUserMenu (outliner: any) {
39
- const showProfile = {
40
- label: SHOW_YOUR_PROFILE_MENU_ITEM,
41
- onclick: () => openUserProfile(outliner)
42
- }
43
-
44
- const logOut: UserMenuItem = {
45
- label: LOG_OUT_MENU_ITEM,
46
- onclick: () => {
47
- authSession.logout()
48
- }
49
- }
50
-
51
- // the order of the menu is important here, show profile first and logout last
52
- let userMenuList:UserMenuItem[] = [] // was [showProfile]
53
- userMenuList = userMenuList.concat(await getMenuItems(outliner));
54
- userMenuList.push(logOut)
55
-
56
- return userMenuList
57
- }
58
-
59
- // Does not work to jump to user profile,
60
- function openUserProfile (outliner: any) {
61
- outliner.GotoSubject(authn.currentUser(), true, undefined, true, undefined)
62
- location.reload()
63
- }
64
-
65
- async function getMenuItems (outliner: any) {
66
- const items = await outliner.getDashboardItems()
67
- return items.map((element) => {
68
- return {
69
- label: element.label,
70
- onclick: () => openDashboardPane(outliner, element.tabName || element.paneName)
71
- }
72
- })
73
- }
74
-
75
- async function openDashboardPane (outliner: any, pane: string): Promise<void> {
76
- outliner.showDashboard({
77
- pane
78
- })
79
- }
@@ -1,20 +0,0 @@
1
- /* Main Page
2
- **
3
- ** This code is called in mashlib and renders the header and footer of the Databrowser.
4
- */
5
-
6
- import { LiveStore, NamedNode } from 'rdflib'
7
- import { getOutliner } from '../index'
8
- import { createHeader } from './header'
9
- import { createFooter } from './footer'
10
-
11
- export default async function initMainPage (store: LiveStore, uri?: string|NamedNode|null) {
12
- const outliner = getOutliner(document)
13
- uri = uri || window.location.href
14
- let subject = uri
15
- if (typeof uri === 'string') subject = store.sym(uri)
16
- outliner.GotoSubject(subject, true, undefined, true, undefined)
17
- const header = await createHeader(store, outliner)
18
- const footer = createFooter(store)
19
- return Promise.all([header, footer])
20
- }
@@ -1,3 +0,0 @@
1
-
2
- meetingDetailsForm.js : meetingDetailsForm.ttl
3
- sed -f wrap-as-js.sed meetingDetailsForm.ttl > $@
@@ -1,14 +0,0 @@
1
- @prefix dc: <http://purl.org/dc/elements/1.1/>.
2
- @prefix flow: <http://www.w3.org/2005/01/wf/flow#>.
3
- @prefix n1: <http://xmlns.com/foaf/0.1/>.
4
-
5
- <#this>
6
- dc:title
7
- "Actions";
8
- a flow:Tracker, flow:Tracker;
9
- flow:assigneeClass
10
- n1:Person;
11
- flow:initialState
12
- flow:Open;
13
- flow:issueClass
14
- flow:Task.
@@ -1,16 +0,0 @@
1
- @prefix dc: <http://purl.org/dc/elements/1.1/>.
2
- @prefix flow: <http://www.w3.org/2005/01/wf/flow#>.
3
- @prefix n1: <http://xmlns.com/foaf/0.1/>.
4
-
5
- <#this>
6
- dc:title
7
- "Actions";
8
- a flow:Tracker, flow:Tracker;
9
- flow:assigneeClass
10
- n1:Person;
11
- flow:initialState
12
- flow:Open;
13
- flow:issueClass
14
- flow:Task;
15
- flow:stateStore
16
- <state.ttl>.
@@ -1,30 +0,0 @@
1
- @prefix n0: <http://purl.org/dc/elements/1.1/>.
2
- @prefix terms: <http://purl.org/dc/terms/>.
3
- @prefix XML: <http://www.w3.org/2001/XMLSchema#>.
4
- @prefix flow: <http://www.w3.org/2005/01/wf/flow#>.
5
- @prefix con: <config.ttl#>.
6
-
7
- <#Iss1468035881396>
8
- n0:title
9
- "Repair hole in bucket";
10
- terms:created
11
- "2016-07-09T03:44:41Z"^^XML:dateTime;
12
- a flow:Open, flow:Open;
13
- flow:tracker
14
- con:this.
15
- <#Iss1468108200988>
16
- n0:title
17
- "foo bat";
18
- terms:created
19
- "2016-07-09T23:50:00Z"^^XML:dateTime;
20
- a flow:Open;
21
- flow:tracker
22
- con:this.
23
- <#Iss1468108377764>
24
- n0:title
25
- "foo bar baz";
26
- terms:created
27
- "2016-07-09T23:52:57Z"^^XML:dateTime;
28
- a flow:Open;
29
- flow:tracker
30
- con:this.
@@ -1,34 +0,0 @@
1
- @prefix dc: <http://purl.org/dc/elements/1.1/>.
2
- @prefix c: <https://www.w3.org/People/Berners-Lee/card#>.
3
- @prefix XML: <http://www.w3.org/2001/XMLSchema#>.
4
- @prefix sch: <http://www.w3.org/ns/pim/schedule#>.
5
- @prefix ic: <http://www.w3.org/2002/12/cal/ical#>.
6
- @prefix n0: <http://xmlns.com/foaf/0.1/>.
7
- @prefix rd: <http://www.w3.org/2000/01/rdf-schema#>.
8
-
9
- <#event>
10
- dc:author
11
- c:i, c:i;
12
- dc:created
13
- "2016-06-30T02:15:58Z"^^XML:dateTime, "2016-06-30T02:31:46Z"^^XML:dateTime;
14
- a sch:SchedulableEvent, sch:SchedulableEvent;
15
- rd:comment
16
- "A test meeting";
17
- ic:location
18
- "MIT";
19
- sch:availabilityOptions
20
- sch:YesNoMaybe;
21
- sch:invitee
22
- <#id1467291038898>, <#id1467304803258>;
23
- sch:option
24
- <#id1467291038892>, <#id1467291038896>, <#id1467291658332>;
25
- sch:ready
26
- "2016-06-30T12:50:38Z"^^XML:dateTime;
27
- sch:results
28
- <results.ttl>.
29
- c:i n0:mbox "deiu@mit.edu"; n0:name "" .
30
- <#id1467291038892> ic:dtstart "2016-06-23" .
31
- <#id1467291038896> ic:dtstart "2016-06-16" .
32
- <#id1467291658332> ic:dtstart "2016-07-22" .
33
- <#id1467291038898> n0:mbox "timbl@w3.org" .
34
- <#id1467304803258> n0:mbox "ilaria@mit.edu" .
@@ -1,20 +0,0 @@
1
- @prefix n0: <http://www.w3.org/ns/auth/acl#>.
2
- @prefix c: <https://www.w3.org/People/Berners-Lee/card#>.
3
- @prefix n1: <http://xmlns.com/foaf/0.1/>.
4
-
5
- <#a1>
6
- a n0:Authorization;
7
- n0:accessTo
8
- <details.ttl>;
9
- n0:agent
10
- c:i;
11
- n0:mode
12
- n0:Control, n0:Read, n0:Write.
13
- <#a2>
14
- a n0:Authorization;
15
- n0:accessTo
16
- <details.ttl>;
17
- n0:agentClass
18
- n1:Agent;
19
- n0:mode
20
- n0:Read.
@@ -1,75 +0,0 @@
1
- @prefix dc: <http://purl.org/dc/elements/1.1/>.
2
- @prefix foaf: <http://xmlns.com/foaf/0.1/>.
3
- @prefix ical: <http://www.w3.org/2002/12/cal/ical#>.
4
- @prefix ui: <http://www.w3.org/ns/ui#>.
5
- @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.
6
- @prefix sched: <http://www.w3.org/ns/pim/schedule#>.
7
-
8
- ical:Vevent ui:annotationForm <#form2>, <#form3>; ui:creationForm <#form1> .
9
-
10
- <#bigForm>
11
- dc:title
12
- "Schedule event (single form).";
13
- a ui:Group;
14
- ui:part
15
- <#form1>, <#form2>, <#form3>.
16
-
17
- <#form1>
18
- dc:title
19
- "Schedule an event (wizard)";
20
- a ui:Form;
21
- ui:part
22
- <#form1header>,
23
- <#eventTitle>,
24
- <#eventLocation>,
25
- <#eventComment>,
26
- <#eventAuthor>.
27
- <#eventTitle>
28
- a ui:SingleLineTextField;
29
- ui:maxLength
30
- "128";
31
- ui:property
32
- dc:title;
33
- ui:size
34
- "40".
35
-
36
- <#eventLocation>
37
- a ui:SingleLineTextField;
38
- ui:maxLength
39
- "512";
40
- ui:property
41
- ical:location;
42
- ui:size
43
- "40".
44
-
45
- <#eventComment>
46
- a ui:MultiLineTextField;
47
- # ui:maxLength
48
- # "1048";
49
- # ui:size
50
- # "40".
51
- ui:property
52
- rdfs:comment.
53
-
54
- <#eventAuthor>
55
- a ui:Multiple; ui:min 1; ui:min 1; ui:part <#eventAuthorGroup>; ui:property dc:author.
56
-
57
- <#eventAuthorGroup> a ui:Group; ui:part <#authorName>, <#authorEmail> .
58
- <#authorName> a ui:SingleLineTextField; ui:property foaf:name .
59
- <#authorEmail> a ui:EmailField; ui:label "email"; ui:property foaf:mbox .
60
-
61
- <#form2> dc:title "Select possible days"; a ui:Form;
62
- ui:part <#id1118132113134>, <#id1417314641301> .
63
-
64
-
65
- <#id1417314641301>
66
- a ui:Multiple; ui:min 2; ui:part <#id1417314674292>; ui:property sched:option.
67
- <#id1417314674292> a ui:DateField; ui:property ical:dtstart; ui:label "Date".
68
-
69
- <#form3> dc:title "Select invited people"; a ui:Form; ui:part <#id1118132113135>, <#id1417314641301b> .
70
- <#id1417314641301b>
71
- a ui:Multiple; ui:min 1; ui:part <#id1417314674292b>; ui:property sched:invitee.
72
- <#id1417314674292b> a ui:EmailField; ui:label "email"; ui:property foaf:mbox .
73
- <#form1header> a ui:Heading; ui:contents "Schedule an event" .
74
- <#id1118132113134> a ui:Heading; ui:contents "Time proposals" .
75
- <#id1118132113135> a ui:Heading; ui:contents "Who to invite" .
@@ -1,20 +0,0 @@
1
- @prefix n0: <http://www.w3.org/ns/auth/acl#>.
2
- @prefix c: <https://www.w3.org/People/Berners-Lee/card#>.
3
- @prefix n1: <http://xmlns.com/foaf/0.1/>.
4
-
5
- <#a1>
6
- a n0:Authorization;
7
- n0:accessTo
8
- <forms.ttl>;
9
- n0:agent
10
- c:i;
11
- n0:mode
12
- n0:Control, n0:Read, n0:Write.
13
- <#a2>
14
- a n0:Authorization;
15
- n0:accessTo
16
- <forms.ttl>;
17
- n0:agentClass
18
- n1:Agent;
19
- n0:mode
20
- n0:Read.
@@ -1,72 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <meta charset="UTF-8" />
5
- <title>When can we meet? -- a SoLiD app</title>
6
- <link
7
- type="text/css"
8
- rel="stylesheet"
9
- href="https://linkeddata.github.io/tabulator-firefox/content/tabbedtab.css"
10
- />
11
- <style>
12
- body {
13
- margin: 10%;
14
- }
15
- input {
16
- background-color: #eef;
17
- padding: 0.5em;
18
- border: 0.5em solid white;
19
- font-size: 120%;
20
- }
21
-
22
- table {
23
- border-collapse: collapse;
24
- }
25
-
26
- .matrix tr td {
27
- background-color: #eef;
28
- border: 0.1em solid white;
29
- }
30
-
31
- h3 {
32
- color: black;
33
- }
34
-
35
- /* vertical-align: middle; for from */
36
- .MatrixCorner {
37
- background-color: white;
38
- }
39
- table.matrix td {
40
- padding: 0.3em;
41
- }
42
- tr.naviMenu {
43
- background-color: white;
44
- }
45
- tr.naviMenu td {
46
- text-align: middle;
47
- vertical-align: middle;
48
- padding-top: 4em;
49
- }
50
- </style>
51
- <!--
52
- <script type="text/javascript" src="https://code.jquery.com/jquery-2.1.3.min.js"></script>
53
- -->
54
- <!--
55
- <script type="text/javascript" src="https://linkeddata.github.io/tabulator/js/mashup/mashlib.js"></script>
56
- -->
57
- <script
58
- type="text/javascript"
59
- src="https://timbl.com/timbl/Automation/Library/Mashup/mashlib-alpha.js"
60
- ></script>
61
- <script
62
- type="text/javascript"
63
- src="https://linkeddata.github.io/app-schedule/schedule.js"
64
- ></script>
65
- </head>
66
- <body>
67
- <div class="TabulatorOutline" id="DummyUUID">
68
- <table id="outline"></table>
69
- </div>
70
- <div class="TabulatorOutline" id="FormTarget"></div>
71
- </body>
72
- </html>
@@ -1,20 +0,0 @@
1
- @prefix n0: <http://www.w3.org/ns/auth/acl#>.
2
- @prefix c: <https://www.w3.org/People/Berners-Lee/card#>.
3
- @prefix n1: <http://xmlns.com/foaf/0.1/>.
4
-
5
- <#a1>
6
- a n0:Authorization;
7
- n0:accessTo
8
- <index.html>;
9
- n0:agent
10
- c:i;
11
- n0:mode
12
- n0:Control, n0:Read, n0:Write.
13
- <#a2>
14
- a n0:Authorization;
15
- n0:accessTo
16
- <index.html>;
17
- n0:agentClass
18
- n1:Agent;
19
- n0:mode
20
- n0:Read.
@@ -1,15 +0,0 @@
1
- @prefix det: <details.ttl#>.
2
- @prefix sch: <http://www.w3.org/ns/pim/schedule#>.
3
- @prefix n0: <http://purl.org/dc/elements/1.1/>.
4
- @prefix c: <https://www.w3.org/People/Berners-Lee/card#>.
5
- @prefix ic: <http://www.w3.org/2002/12/cal/ical#>.
6
-
7
- det:event sch:response <#id1467291979007_response> .
8
- <#id1467291979007_response>
9
- n0:author
10
- c:i;
11
- sch:cell
12
- <#id1467291979007_0>, <#id1467291979007_1>, <#id1467291979007_2>.
13
- <#id1467291979007_0> ic:dtstart "2016-06-23"; sch:availabilty sch:Maybe .
14
- <#id1467291979007_1> ic:dtstart "2016-06-16"; sch:availabilty sch:No .
15
- <#id1467291979007_2> ic:dtstart "2016-07-22"; sch:availabilty sch:Yes .
@@ -1,20 +0,0 @@
1
- @prefix n0: <http://www.w3.org/ns/auth/acl#>.
2
- @prefix c: <https://www.w3.org/People/Berners-Lee/card#>.
3
- @prefix n1: <http://xmlns.com/foaf/0.1/>.
4
-
5
- <#a1>
6
- a n0:Authorization;
7
- n0:accessTo
8
- <results.ttl>;
9
- n0:agent
10
- c:i;
11
- n0:mode
12
- n0:Control, n0:Read, n0:Write.
13
- <#a2>
14
- a n0:Authorization;
15
- n0:accessTo
16
- <results.ttl>;
17
- n0:agentClass
18
- n1:Agent;
19
- n0:mode
20
- n0:Read, n0:Write.
@@ -1,23 +0,0 @@
1
- @prefix dc: <http://purl.org/dc/elements/1.1/>.
2
- @prefix c: <https://www.w3.org/People/Berners-Lee/card#>.
3
- @prefix XML: <http://www.w3.org/2001/XMLSchema#>.
4
- @prefix p: <http://www.w3.org/ns/pim/pad#>.
5
- @prefix n: <http://rdfs.org/sioc/ns#>.
6
-
7
- <#thisPad>
8
- dc:author
9
- c:i;
10
- dc:created
11
- "2016-06-28T23:36:43Z"^^XML:dateTime;
12
- a p:Notepad;
13
- p:next
14
- <#id1467157173832>.
15
- <#id1467157173832>
16
- dc:author c:i; n:content "Notes"; p:indent -2; p:next <#id1467160181795>.
17
- <#id1467160181795> dc:author c:i; n:content "2"; p:next <#id1467160183715> .
18
- <#id1467160183715> dc:author c:i; n:content "3"; p:next <#id1467160184290> .
19
- <#id1467160184290>
20
- dc:author c:i; n:content "More Notes"; p:indent -1; p:next <#id1467214145291>.
21
- <#id1467214145291> dc:author c:i; n:content "5"; p:next <#id1467214147635> .
22
- <#id1467214147635> dc:author c:i; n:content "6"; p:next <#id1467304941460> .
23
- <#id1467304941460> dc:author c:i; n:content "vvgbhh"; p:next <#thisPad> .
@@ -1,35 +0,0 @@
1
- @prefix dc: <http://purl.org/dc/elements/1.1/>.
2
- @prefix meeting: <http://www.w3.org/ns/pim/meeting#>.
3
- @prefix p1: <SharedNotes/pad.ttl#>.
4
- @prefix det: <Schedule/details.ttl#>.
5
- @prefix n0: <http://appear.in/>.
6
- @prefix www: <https://www.w3.org/>.
7
- @prefix flow: <http://www.w3.org/2005/01/wf/flow#>.
8
- @prefix con: <Actions/config.ttl#>.
9
-
10
- <#this>
11
- dc:title
12
- "Our first test meeting";
13
- a meeting:Meeting;
14
- flow:attachment
15
- <../../../../solid-ui/lib/icons/noun_25830.svg>;
16
- meeting:actions
17
- con:this;
18
- meeting:chat
19
- <chat/chat.ttl>;
20
- meeting:toolList
21
- ( <chat/chat.ttl>
22
- p1:thisPad
23
- det:event
24
- <chat/chat.ttl>
25
- www:
26
- n0:8424c698-1d30-4d8e-ac47-dfe610f331ba
27
- <../../../../solid-ui/lib/icons/noun_25830.svg>
28
- con:this );
29
- meeting:videoCallPage
30
- n0:8424c698-1d30-4d8e-ac47-dfe610f331ba.
31
- p1:thisPad dc:title "Shared notes" .
32
- <chat/chat.ttl> dc:title "Discusssion" .
33
- det:event dc:title "Schedule" .
34
- n0:8424c698-1d30-4d8e-ac47-dfe610f331ba
35
- dc:title "Video call"; a meeting:VideoCallPage.
@@ -1,16 +0,0 @@
1
- @prefix dc: <http://purl.org/dc/elements/1.1/>.
2
- @prefix c: <https://www.w3.org/People/Berners-Lee/card#>.
3
- @prefix XML: <http://www.w3.org/2001/XMLSchema#>.
4
- @prefix p: <http://www.w3.org/ns/pim/pad#>.
5
- @prefix n: <http://rdfs.org/sioc/ns#>.
6
-
7
- <#thisPad>
8
- dc:author
9
- c:i;
10
- dc:created
11
- "2016-06-26T15:24:36Z"^^XML:dateTime;
12
- a p:Notepad;
13
- p:next
14
- <#id1466956084891>.
15
- <#id1466956084891> dc:author c:i; n:content "Hmmmmmm"; p:next <#id1466957989616> .
16
- <#id1466957989616> dc:author c:i; n:content "..."; p:next <#thisPad> .