solid-panes 3.5.28-alpha → 3.5.28-c8510ffa

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 (309) hide show
  1. package/.babelrc +0 -0
  2. package/.eslintignore +0 -0
  3. package/.eslintrc +0 -0
  4. package/.github/workflows/ci.yml +0 -0
  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 -2
  10. package/dev/index.html +0 -0
  11. package/dev/loader.ts +0 -0
  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 +6 -8
  18. package/lib/RDFXMLPane.js.map +1 -1
  19. package/lib/argument/argumentPane.js +10 -11
  20. package/lib/argument/argumentPane.js.map +1 -1
  21. package/lib/attach/attachPane.js +47 -85
  22. package/lib/attach/attachPane.js.map +1 -1
  23. package/lib/audio/audioPane.js +11 -36
  24. package/lib/audio/audioPane.js.map +1 -1
  25. package/lib/classInstancePane.js +11 -20
  26. package/lib/classInstancePane.js.map +1 -1
  27. package/lib/dashboard/basicPreferences.d.ts +0 -0
  28. package/lib/dashboard/basicPreferences.d.ts.map +0 -0
  29. package/lib/dashboard/basicPreferences.js +3 -53
  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 +0 -0
  33. package/lib/dashboard/dashboardPane.js +2 -18
  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 +1 -19
  38. package/lib/dashboard/homepage.js.map +1 -1
  39. package/lib/dataContentPane.js +15 -58
  40. package/lib/dataContentPane.js.map +1 -1
  41. package/lib/defaultPane.js +13 -21
  42. package/lib/defaultPane.js.map +1 -1
  43. package/lib/dokieli/dokieliPane.js +19 -28
  44. package/lib/dokieli/dokieliPane.js.map +1 -1
  45. package/lib/dokieli/new.js +0 -0
  46. package/lib/dokieli/new.js.map +1 -1
  47. package/lib/form/pane.js +26 -40
  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 +0 -0
  53. package/lib/home/homePane.js +7 -23
  54. package/lib/home/homePane.js.map +1 -1
  55. package/lib/humanReadablePane.js +14 -28
  56. package/lib/humanReadablePane.js.map +1 -1
  57. package/lib/imagePane.js +9 -13
  58. package/lib/imagePane.js.map +1 -1
  59. package/lib/index.d.ts +0 -0
  60. package/lib/index.d.ts.map +0 -0
  61. package/lib/index.js +4 -18
  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 +10 -41
  66. package/lib/internal/internalPane.js.map +1 -1
  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 -4
  70. package/lib/mainPage/footer.js.map +1 -1
  71. package/lib/mainPage/header.d.ts +0 -0
  72. package/lib/mainPage/header.d.ts.map +0 -0
  73. package/lib/mainPage/header.js +2 -28
  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 +1 -12
  78. package/lib/mainPage/index.js.map +1 -1
  79. package/lib/microblogPane/microblogPane.js +100 -237
  80. package/lib/microblogPane/microblogPane.js.map +1 -1
  81. package/lib/n3Pane.js +2 -7
  82. package/lib/n3Pane.js.map +1 -1
  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 -2
  86. package/lib/outline/context.js.map +1 -1
  87. package/lib/outline/licenseOptions.js +9 -25
  88. package/lib/outline/licenseOptions.js.map +1 -1
  89. package/lib/outline/manager.js +180 -581
  90. package/lib/outline/manager.js.map +1 -1
  91. package/lib/outline/manager.test.js +1 -11
  92. package/lib/outline/manager.test.js.map +1 -1
  93. package/lib/outline/outlineIcons.js +30 -25
  94. package/lib/outline/outlineIcons.js.map +1 -1
  95. package/lib/outline/propertyViews.d.ts +0 -0
  96. package/lib/outline/propertyViews.d.ts.map +0 -0
  97. package/lib/outline/propertyViews.js +0 -10
  98. package/lib/outline/propertyViews.js.map +1 -1
  99. package/lib/outline/propertyViews.test.js +1 -3
  100. package/lib/outline/propertyViews.test.js.map +1 -1
  101. package/lib/outline/queryByExample.js +24 -76
  102. package/lib/outline/queryByExample.js.map +1 -1
  103. package/lib/outline/userInput.js +214 -454
  104. package/lib/outline/userInput.js.map +1 -1
  105. package/lib/outline/viewAsImage.d.ts +0 -0
  106. package/lib/outline/viewAsImage.d.ts.map +0 -0
  107. package/lib/outline/viewAsImage.js +0 -6
  108. package/lib/outline/viewAsImage.js.map +1 -1
  109. package/lib/outline/viewAsMbox.d.ts +0 -0
  110. package/lib/outline/viewAsMbox.d.ts.map +0 -0
  111. package/lib/outline/viewAsMbox.js +3 -4
  112. package/lib/outline/viewAsMbox.js.map +1 -1
  113. package/lib/pad/padPane.d.ts +0 -0
  114. package/lib/pad/padPane.d.ts.map +0 -0
  115. package/lib/pad/padPane.js +45 -93
  116. package/lib/pad/padPane.js.map +1 -1
  117. package/lib/playlist/playlistPane.js +3 -20
  118. package/lib/playlist/playlistPane.js.map +1 -1
  119. package/lib/profile/editProfile.view.d.ts +0 -0
  120. package/lib/profile/editProfile.view.d.ts.map +0 -0
  121. package/lib/profile/editProfile.view.js +7 -24
  122. package/lib/profile/editProfile.view.js.map +1 -1
  123. package/lib/profile/profile.dom.d.ts +0 -0
  124. package/lib/profile/profile.dom.d.ts.map +0 -0
  125. package/lib/profile/profile.dom.js +0 -3
  126. package/lib/profile/profile.dom.js.map +1 -1
  127. package/lib/registerPanes.js +29 -27
  128. package/lib/registerPanes.js.map +1 -1
  129. package/lib/schedule/formsForSchedule.js +0 -0
  130. package/lib/schedule/formsForSchedule.js.map +1 -1
  131. package/lib/schedule/schedulePane.js +62 -122
  132. package/lib/schedule/schedulePane.js.map +1 -1
  133. package/lib/sharing/sharingPane.d.ts +0 -0
  134. package/lib/sharing/sharingPane.d.ts.map +0 -0
  135. package/lib/sharing/sharingPane.js +2 -10
  136. package/lib/sharing/sharingPane.js.map +1 -1
  137. package/lib/slideshow/slideshowPane.js +9 -14
  138. package/lib/slideshow/slideshowPane.js.map +1 -1
  139. package/lib/socialPane.js +45 -126
  140. package/lib/socialPane.js.map +1 -1
  141. package/lib/tabbed/tabbedPane.d.ts +0 -0
  142. package/lib/tabbed/tabbedPane.d.ts.map +0 -0
  143. package/lib/tabbed/tabbedPane.js +1 -15
  144. package/lib/tabbed/tabbedPane.js.map +1 -1
  145. package/lib/tableViewPane.js +4 -7
  146. package/lib/tableViewPane.js.map +1 -1
  147. package/lib/test-import-export/common.js +2 -1
  148. package/lib/test-import-export/common.js.map +1 -1
  149. package/lib/test-import-export/edit-importer.js +7 -9
  150. package/lib/test-import-export/edit-importer.js.map +1 -1
  151. package/lib/test-import-export/testImportExport.js +0 -0
  152. package/lib/test-import-export/testImportExport.js.map +0 -0
  153. package/lib/transaction/pane.js +31 -90
  154. package/lib/transaction/pane.js.map +1 -1
  155. package/lib/transaction/period.js +20 -71
  156. package/lib/transaction/period.js.map +1 -1
  157. package/lib/trip/tripPane.js +30 -34
  158. package/lib/trip/tripPane.js.map +1 -1
  159. package/lib/trustedApplications/trustedApplications.dom.d.ts +0 -0
  160. package/lib/trustedApplications/trustedApplications.dom.d.ts.map +0 -0
  161. package/lib/trustedApplications/trustedApplications.dom.js +8 -34
  162. package/lib/trustedApplications/trustedApplications.dom.js.map +1 -1
  163. package/lib/trustedApplications/trustedApplications.test.js +3 -8
  164. package/lib/trustedApplications/trustedApplications.test.js.map +1 -1
  165. package/lib/trustedApplications/trustedApplications.utils.d.ts +0 -0
  166. package/lib/trustedApplications/trustedApplications.utils.d.ts.map +0 -0
  167. package/lib/trustedApplications/trustedApplications.utils.js +0 -10
  168. package/lib/trustedApplications/trustedApplications.utils.js.map +1 -1
  169. package/lib/trustedApplications/trustedApplications.view.d.ts +0 -0
  170. package/lib/trustedApplications/trustedApplications.view.d.ts.map +0 -0
  171. package/lib/trustedApplications/trustedApplications.view.js +1 -22
  172. package/lib/trustedApplications/trustedApplications.view.js.map +1 -1
  173. package/lib/types.d.ts +0 -0
  174. package/lib/types.d.ts.map +0 -0
  175. package/lib/types.js +0 -0
  176. package/lib/types.js.map +0 -0
  177. package/lib/ui/pane.js +22 -28
  178. package/lib/ui/pane.js.map +1 -1
  179. package/lib/versionInfo.d.ts +0 -0
  180. package/lib/versionInfo.d.ts.map +0 -0
  181. package/lib/versionInfo.js +14 -14
  182. package/lib/versionInfo.js.map +1 -1
  183. package/lib/video/videoPane.js +2 -5
  184. package/lib/video/videoPane.js.map +1 -1
  185. package/package.json +25 -25
  186. package/src/RDFXMLPane.js +0 -0
  187. package/src/argument/argumentPane.js +0 -0
  188. package/src/argument/argument_icon_v04.jpg +0 -0
  189. package/src/argument/icon_argument.png +0 -0
  190. package/src/argument/transparentyingyang.png +0 -0
  191. package/src/attach/attachPane.js +0 -0
  192. package/src/attach/tbl-paperclip-128.png +0 -0
  193. package/src/attach/tbl-paperclip-22.png +0 -0
  194. package/src/attach/tbl-paperclip-22a.png +0 -0
  195. package/src/audio/audioPane.js +0 -0
  196. package/src/chatPreferencesForm.ttl +0 -0
  197. package/src/classInstancePane.js +0 -0
  198. package/src/dashboard/basicPreferences.ts +0 -0
  199. package/src/dashboard/dashboardPane.ts +0 -0
  200. package/src/dashboard/homepage.ts +0 -0
  201. package/src/dashboard/languages/codes.html +0 -0
  202. package/src/dashboard/languages/codes.xml +0 -0
  203. package/src/dashboard/languages/codes2.txt +0 -0
  204. package/src/dashboard/languages/foo +0 -0
  205. package/src/dashboard/languages/foo.ttl +0 -0
  206. package/src/dashboard/languages/get-language-names.sh +0 -0
  207. package/src/dashboard/ontologyData.ttl +0 -0
  208. package/src/dashboard/preferencesFormText.ttl +0 -0
  209. package/src/dataContentPane.js +0 -0
  210. package/src/defaultPane.js +0 -0
  211. package/src/dokieli/Makefile +0 -0
  212. package/src/dokieli/dokieliPane.js +0 -0
  213. package/src/dokieli/new.html +0 -0
  214. package/src/dokieli/new.js +0 -0
  215. package/src/form/form-22.png +0 -0
  216. package/src/form/form-b-22.png +0 -0
  217. package/src/form/form.graffle +0 -0
  218. package/src/form/form.png +0 -0
  219. package/src/form/pane.js +0 -0
  220. package/src/form/psuedocode-notes.txt +0 -0
  221. package/src/global.d.ts +0 -0
  222. package/src/home/homePane.ts +0 -0
  223. package/src/humanReadablePane.js +0 -0
  224. package/src/imagePane.js +0 -0
  225. package/src/index.ts +0 -0
  226. package/src/internal/internalPane.ts +0 -0
  227. package/src/mainPage/footer.ts +0 -0
  228. package/src/mainPage/header.ts +0 -0
  229. package/src/mainPage/index.ts +0 -0
  230. package/src/meeting/Makefile +0 -0
  231. package/src/meeting/test/meeting1/Actions/actions.ttl +0 -0
  232. package/src/meeting/test/meeting1/Actions/config.ttl +0 -0
  233. package/src/meeting/test/meeting1/Actions/state.ttl +0 -0
  234. package/src/meeting/test/meeting1/Schedule/details.ttl +0 -0
  235. package/src/meeting/test/meeting1/Schedule/details.ttl.acl +0 -0
  236. package/src/meeting/test/meeting1/Schedule/forms.ttl +0 -0
  237. package/src/meeting/test/meeting1/Schedule/forms.ttl.acl +0 -0
  238. package/src/meeting/test/meeting1/Schedule/index.html +0 -0
  239. package/src/meeting/test/meeting1/Schedule/index.html.acl +0 -0
  240. package/src/meeting/test/meeting1/Schedule/results.ttl +0 -0
  241. package/src/meeting/test/meeting1/Schedule/results.ttl.acl +0 -0
  242. package/src/meeting/test/meeting1/SharedNotes/pad.ttl +0 -0
  243. package/src/meeting/test/meeting1/chat/chat.ttl +0 -0
  244. package/src/meeting/test/meeting1/details.ttl +0 -0
  245. package/src/meeting/test/meeting1/pad/pad.ttl +0 -0
  246. package/src/microblogPane/mbStyle.css +0 -0
  247. package/src/microblogPane/microblogPane.js +0 -0
  248. package/src/n3Pane.js +0 -0
  249. package/src/outline/context.ts +0 -0
  250. package/src/outline/licenseOptions.js +0 -0
  251. package/src/outline/manager.js +2 -1
  252. package/src/outline/manager.test.ts +0 -0
  253. package/src/outline/outlineIcons.js +0 -0
  254. package/src/outline/propertyViews.test.ts +0 -0
  255. package/src/outline/propertyViews.ts +0 -0
  256. package/src/outline/queryByExample.js +0 -0
  257. package/src/outline/userInput.js +0 -0
  258. package/src/outline/viewAsImage.ts +0 -0
  259. package/src/outline/viewAsMbox.ts +0 -0
  260. package/src/pad/images/ColourOff.ai +0 -0
  261. package/src/pad/images/ColourOff.png +0 -0
  262. package/src/pad/images/ColourOn.ai +0 -0
  263. package/src/pad/images/ColourOn.png +0 -0
  264. package/src/pad/padPane.ts +0 -0
  265. package/src/playlist/playlistPane.js +0 -0
  266. package/src/profile/editProfile.view.ts +0 -0
  267. package/src/profile/profile.dom.ts +0 -0
  268. package/src/profile/profileFormText.ttl +0 -0
  269. package/src/registerPanes.js +0 -0
  270. package/src/schedule/Makefile +0 -0
  271. package/src/schedule/formsForSchedule.js +0 -0
  272. package/src/schedule/formsForSchedule.ttl +0 -0
  273. package/src/schedule/schedulePane.js +0 -0
  274. package/src/sharing/sharingPane.ts +0 -0
  275. package/src/slideshow/slideshowPane.js +0 -0
  276. package/src/socialPane.js +2 -2
  277. package/src/style/tabbedtab.css +0 -0
  278. package/src/tabbed/tabbedPane.ts +0 -0
  279. package/src/tableViewPane.js +0 -0
  280. package/src/test-import-export/common.js +0 -0
  281. package/src/test-import-export/edit-importer.js +0 -0
  282. package/src/test-import-export/testImportExport.js +0 -0
  283. package/src/transaction/068010-3d-transparent-glass-icon-alphanumeric-dollar-sign.png +0 -0
  284. package/src/transaction/075988-3d-transparent-glass-icon-business-currency-british-pound-sc35.png +0 -0
  285. package/src/transaction/22-pixel-068010-3d-transparent-glass-icon-alphanumeric-dollar-sign.png +0 -0
  286. package/src/transaction/pane.js +0 -0
  287. package/src/transaction/period.js +0 -0
  288. package/src/transaction/thumbs_075987-3d-transparent-glass-icon-business-creditcard2.png +0 -0
  289. package/src/transaction/thumbs_075989-3d-transparent-glass-icon-business-currency-cent-sc35.png +0 -0
  290. package/src/trip/tripPane.js +0 -0
  291. package/src/trustedApplications/__snapshots__/trustedApplications.test.ts.snap +0 -0
  292. package/src/trustedApplications/trustedApplications.dom.ts +0 -0
  293. package/src/trustedApplications/trustedApplications.test.ts +0 -0
  294. package/src/trustedApplications/trustedApplications.utils.ts +0 -0
  295. package/src/trustedApplications/trustedApplications.view.ts +0 -0
  296. package/src/types.ts +0 -0
  297. package/src/ui/22-builder.png +0 -0
  298. package/src/ui/builder.graffle +0 -0
  299. package/src/ui/builder.png +0 -0
  300. package/src/ui/builder2.png +0 -0
  301. package/src/ui/pane.js +0 -0
  302. package/src/versionInfo.ts +14 -14
  303. package/src/video/videoPane.js +0 -0
  304. package/timestamp.sh +0 -0
  305. package/travis/bumpversion.js +0 -0
  306. package/tsconfig.json +0 -0
  307. package/typings/raw-loader.d.ts +0 -0
  308. package/typings/solid-namespace/index.d.ts +0 -0
  309. package/webpack.config.js +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"editProfile.view.js","names":["highlightColor","style","editProfileView","global","icon","icons","iconBase","name","label","render","subject","context","dom","store","session","complainIfBad","ok","mess","div","appendChild","widgets","errorMessageBlock","renderProfileForm","preferencesForm","sym","preferencesFormDoc","doc","holds","undefined","parse","profileFormText","uri","appendForm","editableProfile","createElement","setAttribute","table","main","bottom","statusArea","comment","str","p","textContent","heading","h","profileContext","me","login","ensureLoadedProfile","then","theContext","profile","updater","Error","any","ns","solid","editable","paneDiv","attachmentList","modify","predicate","foaf","noun","error"],"sources":["../../src/profile/editProfile.view.ts"],"sourcesContent":["/**\n * Profile Editing App Pane\n *\n * Unlike view panes, this is available any place whatever the real subject,\n * and allows the user to edit their own profile.\n *\n * Usage: paneRegistry.register('profile/profilePane')\n * or standalone script adding onto existing mashlib.\n */\n\nimport { PaneDefinition } from 'pane-registry'\nimport { NamedNode, parse, Store, sym } from 'rdflib'\nimport { icons, login, ns, style, widgets } from 'solid-ui'\nimport { paneDiv } from './profile.dom'\nimport profileFormText from './profileFormText.ttl'\n\nconst highlightColor = style.highlightColor || '#7C4DFF'\n\nconst editProfileView: PaneDefinition = {\n global: true,\n\n icon: icons.iconBase + 'noun_492246.svg',\n\n name: 'editProfile',\n\n label: () => null,\n\n render: function (subject, context) {\n const dom = context.dom\n const store = context.session.store as Store\n\n function complainIfBad (ok: Boolean, mess: any) {\n if (ok) return\n div.appendChild(widgets.errorMessageBlock(dom, mess, '#fee'))\n }\n\n function renderProfileForm (div: HTMLElement, subject: NamedNode) {\n const preferencesForm = sym('https://solidos.github.io/solid-panes/dashboard/profileStyle.ttl#this')\n const preferencesFormDoc = preferencesForm.doc()\n if (!store.holds(undefined, undefined, undefined, preferencesFormDoc)) {\n // If not loaded already\n parse(profileFormText, store, preferencesFormDoc.uri, 'text/turtle', () => null) // Load form directly\n }\n\n widgets.appendForm(\n dom,\n div,\n {},\n subject,\n preferencesForm,\n editableProfile,\n complainIfBad\n )\n } // renderProfileForm\n\n const div = dom.createElement('div')\n let editableProfile: NamedNode | null\n div.setAttribute('style', `border: 0.3em solid ${highlightColor}; border-radius: 0.5em; padding: 0.7em; margin-top:0.7em;`)\n\n const table = div.appendChild(dom.createElement('table'))\n // const top = table.appendChild(dom.createElement('tr'))\n const main = table.appendChild(dom.createElement('tr'))\n const bottom = table.appendChild(dom.createElement('tr'))\n const statusArea = bottom.appendChild(dom.createElement('div'))\n statusArea.setAttribute('style', 'padding: 0.7em;')\n\n function comment (str: string) {\n const p = main.appendChild(dom.createElement('p'))\n p.setAttribute('style', 'padding: 1em;')\n p.textContent = str\n return p\n }\n\n function heading (str: string) {\n const h = main.appendChild(dom.createElement('h3'))\n h.setAttribute('style', 'color:' + highlightColor + ';')\n h.textContent = str\n return h\n }\n\n const profileContext = {\n dom: dom,\n div: main,\n statusArea: statusArea,\n me: null\n }\n login.ensureLoadedProfile(profileContext)\n .then(theContext => {\n const me = theContext.me!\n\n heading('Edit your public profile')\n\n const profile = me.doc()\n if (!store.updater) {\n throw new Error('Store has no updater')\n }\n if (store.any(me, ns.solid('editableProfile'))) {\n editableProfile = store.any(me as any, ns.solid('editableProfile')) as NamedNode\n } else if (store.updater.editable(profile.uri, store)) {\n editableProfile = profile\n } else {\n statusArea.appendChild(widgets.errorMessageBlock(dom, `⚠️ Your profile ${profile} is not editable, so we cannot do much here.`, 'straw'))\n return\n }\n\n comment(`Everything you put here will be public.\n There will be other places to record private things.`)\n\n heading('Your contact information')\n\n main.appendChild(paneDiv(context, me, 'contact'))\n\n heading('People you know who have WebIDs')\n\n comment(`This is your public social network.\n Only put people here to whom you are happy to be publicly connected.\n (You can always keep private track of friends and family in your contacts.)`)\n\n // TODO: would be useful to explain what it means to \"drag people\"\n // what is it that is being dragged?\n // is there a way to search for people (or things to drag) on this page?\n if (editableProfile) {\n comment('Drag people onto the target below to add people.')\n }\n\n widgets.attachmentList(dom, me, main, {\n doc: profile,\n modify: !!editableProfile,\n predicate: ns.foaf('knows'),\n noun: 'friend'\n })\n\n // heading('The style of your public profile') headings are in form now\n renderProfileForm(main, me)\n\n heading('Thank you for filling your profile.')\n }).catch(error => {\n statusArea.appendChild(widgets.errorMessageBlock(dom, error, '#fee'))\n })\n return div\n }\n}\n\nexport default editProfileView\n"],"mappings":";;;;;;;AAWA;;AACA;;AACA;;AAbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;AAQA,IAAMA,cAAc,GAAGC,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+B;QAEpCS,MAAM,EAAE,CAAC,CAAC5B,eAF0B;QAGpC6B,SAAS,EAAEN,WAAA,CAAGO,IAAH,CAAQ,OAAR,CAHyB;QAIpCC,IAAI,EAAE;MAJ8B,CAAtC,EAtCkB,CA6ClB;;;MACA1C,iBAAiB,CAACe,IAAD,EAAOU,EAAP,CAAjB;MAEAH,OAAO,CAAC,qCAAD,CAAP;IACD,CAlDH,WAkDW,UAAAqB,KAAK,EAAI;MAChB1B,UAAU,CAACpB,WAAX,CAAuBC,gBAAA,CAAQC,iBAAR,CAA0BT,GAA1B,EAA+BqD,KAA/B,EAAsC,MAAtC,CAAvB;IACD,CApDH;;IAqDA,OAAO/C,GAAP;EACD;AA1HqC,CAAxC;eA6HehB,e"}
1
+ {"version":3,"file":"editProfile.view.js","names":["highlightColor","style","editProfileView","global","icon","icons","iconBase","name","label","render","subject","context","dom","store","session","complainIfBad","ok","mess","div","appendChild","widgets","errorMessageBlock","renderProfileForm","preferencesForm","sym","preferencesFormDoc","doc","holds","undefined","parse","profileFormText","uri","appendForm","editableProfile","createElement","setAttribute","table","main","bottom","statusArea","comment","str","p","textContent","heading","h","profileContext","me","login","ensureLoadedProfile","then","theContext","profile","updater","Error","any","ns","solid","editable","paneDiv","attachmentList","modify","predicate","foaf","noun","error"],"sources":["../../src/profile/editProfile.view.ts"],"sourcesContent":["/**\n * Profile Editing App Pane\n *\n * Unlike view panes, this is available any place whatever the real subject,\n * and allows the user to edit their own profile.\n *\n * Usage: paneRegistry.register('profile/profilePane')\n * or standalone script adding onto existing mashlib.\n */\n\nimport { PaneDefinition } from 'pane-registry'\nimport { NamedNode, parse, Store, sym } from 'rdflib'\nimport { icons, login, ns, style, widgets } from 'solid-ui'\nimport { paneDiv } from './profile.dom'\nimport profileFormText from './profileFormText.ttl'\n\nconst highlightColor = style.highlightColor || '#7C4DFF'\n\nconst editProfileView: PaneDefinition = {\n global: true,\n\n icon: icons.iconBase + 'noun_492246.svg',\n\n name: 'editProfile',\n\n label: () => null,\n\n render: function (subject, context) {\n const dom = context.dom\n const store = context.session.store as Store\n\n function complainIfBad (ok: Boolean, mess: any) {\n if (ok) return\n div.appendChild(widgets.errorMessageBlock(dom, mess, '#fee'))\n }\n\n function renderProfileForm (div: HTMLElement, subject: NamedNode) {\n const preferencesForm = sym('https://solidos.github.io/solid-panes/dashboard/profileStyle.ttl#this')\n const preferencesFormDoc = preferencesForm.doc()\n if (!store.holds(undefined, undefined, undefined, preferencesFormDoc)) {\n // If not loaded already\n parse(profileFormText, store, preferencesFormDoc.uri, 'text/turtle', () => null) // Load form directly\n }\n\n widgets.appendForm(\n dom,\n div,\n {},\n subject,\n preferencesForm,\n editableProfile,\n complainIfBad\n )\n } // renderProfileForm\n\n const div = dom.createElement('div')\n let editableProfile: NamedNode | null\n div.setAttribute('style', `border: 0.3em solid ${highlightColor}; border-radius: 0.5em; padding: 0.7em; margin-top:0.7em;`)\n\n const table = div.appendChild(dom.createElement('table'))\n // const top = table.appendChild(dom.createElement('tr'))\n const main = table.appendChild(dom.createElement('tr'))\n const bottom = table.appendChild(dom.createElement('tr'))\n const statusArea = bottom.appendChild(dom.createElement('div'))\n statusArea.setAttribute('style', 'padding: 0.7em;')\n\n function comment (str: string) {\n const p = main.appendChild(dom.createElement('p'))\n p.setAttribute('style', 'padding: 1em;')\n p.textContent = str\n return p\n }\n\n function heading (str: string) {\n const h = main.appendChild(dom.createElement('h3'))\n h.setAttribute('style', 'color:' + highlightColor + ';')\n h.textContent = str\n return h\n }\n\n const profileContext = {\n dom: dom,\n div: main,\n statusArea: statusArea,\n me: null\n }\n login.ensureLoadedProfile(profileContext)\n .then(theContext => {\n const me = theContext.me!\n\n heading('Edit your public profile')\n\n const profile = me.doc()\n if (!store.updater) {\n throw new Error('Store has no updater')\n }\n if (store.any(me, ns.solid('editableProfile'))) {\n editableProfile = store.any(me as any, ns.solid('editableProfile')) as NamedNode\n } else if (store.updater.editable(profile.uri, store)) {\n editableProfile = profile\n } else {\n statusArea.appendChild(widgets.errorMessageBlock(dom, `⚠️ Your profile ${profile} is not editable, so we cannot do much here.`, 'straw'))\n return\n }\n\n comment(`Everything you put here will be public.\n There will be other places to record private things.`)\n\n heading('Your contact information')\n\n main.appendChild(paneDiv(context, me, 'contact'))\n\n heading('People you know who have WebIDs')\n\n comment(`This is your public social network.\n Only put people here to whom you are happy to be publicly connected.\n (You can always keep private track of friends and family in your contacts.)`)\n\n // TODO: would be useful to explain what it means to \"drag people\"\n // what is it that is being dragged?\n // is there a way to search for people (or things to drag) on this page?\n if (editableProfile) {\n comment('Drag people onto the target below to add people.')\n }\n\n widgets.attachmentList(dom, me, main, {\n doc: profile,\n modify: !!editableProfile,\n predicate: ns.foaf('knows'),\n noun: 'friend'\n })\n\n // heading('The style of your public profile') headings are in form now\n renderProfileForm(main, me)\n\n heading('Thank you for filling your profile.')\n }).catch(error => {\n statusArea.appendChild(widgets.errorMessageBlock(dom, error, '#fee'))\n })\n return div\n }\n}\n\nexport default editProfileView\n"],"mappings":";;;;;;AAWA;AACA;AACA;AAbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AARA;AAAA;AAgBA,IAAMA,cAAc,GAAGC,cAAK,CAACD,cAAc,IAAI,SAAS;AAExD,IAAME,eAA+B,GAAG;EACtCC,MAAM,EAAE,IAAI;EAEZC,IAAI,EAAEC,cAAK,CAACC,QAAQ,GAAG,iBAAiB;EAExCC,IAAI,EAAE,aAAa;EAEnBC,KAAK,EAAE;IAAA,OAAM,IAAI;EAAA;EAEjBC,MAAM,EAAE,gBAAUC,OAAO,EAAEC,OAAO,EAAE;IAClC,IAAMC,GAAG,GAAGD,OAAO,CAACC,GAAG;IACvB,IAAMC,KAAK,GAAGF,OAAO,CAACG,OAAO,CAACD,KAAc;IAE5C,SAASE,aAAa,CAAEC,EAAW,EAAEC,IAAS,EAAE;MAC9C,IAAID,EAAE,EAAE;MACRE,GAAG,CAACC,WAAW,CAACC,gBAAO,CAACC,iBAAiB,CAACT,GAAG,EAAEK,I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,KAAK,CAAC,EAAE;QACrDoB,eAAe,GAAGmB,OAAO;MAC3B,CAAC,MAAM;QACLb,UAAU,CAACpB,WAAW,CAACC,gBAAO,CAACC,iBAAiB,CAACT,GAAG,sCAAqBwC,OAAO,mDAAgD,OAAO,CAAC,CAAC;QACzI;MACF;MAEAZ,OAAO,yGAC+C;MAEtDI,OAAO,CAAC,0BAA0B,CAAC;MAEnCP,IAAI,CAAClB,WAAW,CAAC,IAAAwC,gBAAO,EAAChD,OAAO,EAAEoC,EAAE,EAAE,SAAS,CAAC,CAAC;MAEjDH,OAAO,CAAC,iCAAiC,CAAC;MAE1CJ,OAAO,0MAEsE;;MAE7E;MACA;MACA;MACA,IAAIP,eAAe,EAAE;QACnBO,OAAO,CAAC,kDAAkD,CAAC;MAC7D;MAEApB,gBAAO,CAACwC,cAAc,CAAChD,GAAG,EAAEmC,EAAE,EAAEV,IAAI,EAAE;QACpCX,GAAG,EAAE0B,OAAO;QACZS,MAAM,EAAE,CAAC,CAAC5B,eAAe;QACzB6B,SAAS,EAAEN,WAAE,CAACO,IAAI,CAAC,OAAO,CAAC;QAC3BC,IAAI,EAAE;MACR,CAAC,CAAC;;MAEF;MACA1C,iBAAiB,CAACe,IAAI,EAAEU,EAAE,CAAC;MAE3BH,OAAO,CAAC,qCAAqC,CAAC;IAChD,CAAC,CAAC,SAAM,CAAC,UAAAqB,KAAK,EAAI;MAChB1B,UAAU,CAACpB,WAAW,CAACC,gBAAO,CAACC,iBAAiB,CAACT,GAAG,EAAEqD,KAAK,EAAE,MAAM,CAAC,CAAC;IACvE,CAAC,CAAC;IACJ,OAAO/C,GAAG;EACZ;AACF,CAAC;AAAA,eAEchB,eAAe;AAAA"}
File without changes
File without changes
@@ -4,16 +4,13 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.paneDiv = paneDiv;
7
-
8
7
  function paneDiv(context, subject, paneName) {
9
8
  var view = context.session.paneRegistry.byName(paneName);
10
-
11
9
  if (!view) {
12
10
  var warning = context.dom.createElement('div');
13
11
  warning.innerText = "Unable to load view: ".concat(paneName);
14
12
  return warning;
15
13
  }
16
-
17
14
  var viewContainer = view.render(subject, context);
18
15
  viewContainer.setAttribute('style', 'border: 0.3em solid #444; border-radius: 0.5em');
19
16
  return viewContainer;
@@ -1 +1 @@
1
- {"version":3,"file":"profile.dom.js","names":["paneDiv","context","subject","paneName","view","session","paneRegistry","byName","warning","dom","createElement","innerText","viewContainer","render","setAttribute"],"sources":["../../src/profile/profile.dom.ts"],"sourcesContent":["import { DataBrowserContext } from 'pane-registry'\nimport { NamedNode } from 'rdflib'\n\nexport function paneDiv (\n context: DataBrowserContext,\n subject: NamedNode,\n paneName: string\n): HTMLElement {\n const view = context.session.paneRegistry.byName(paneName)\n if (!view) {\n const warning = context.dom.createElement('div')\n warning.innerText = `Unable to load view: ${paneName}`\n return warning\n }\n const viewContainer = view.render(subject, context)\n viewContainer.setAttribute(\n 'style', 'border: 0.3em solid #444; border-radius: 0.5em'\n )\n return viewContainer\n}\n"],"mappings":";;;;;;;AAGO,SAASA,OAAT,CACLC,OADK,EAELC,OAFK,EAGLC,QAHK,EAIQ;EACb,IAAMC,IAAI,GAAGH,OAAO,CAACI,OAAR,CAAgBC,YAAhB,CAA6BC,MAA7B,CAAoCJ,QAApC,CAAb;;EACA,IAAI,CAACC,IAAL,EAAW;IACT,IAAMI,OAAO,GAAGP,OAAO,CAACQ,GAAR,CAAYC,aAAZ,CAA0B,KAA1B,CAAhB;IACAF,OAAO,CAACG,SAAR,kCAA4CR,QAA5C;IACA,OAAOK,OAAP;EACD;;EACD,IAAMI,aAAa,GAAGR,IAAI,CAACS,MAAL,CAAYX,OAAZ,EAAqBD,OAArB,CAAtB;EACAW,aAAa,CAACE,YAAd,CACE,OADF,EACW,gDADX;EAGA,OAAOF,aAAP;AACD"}
1
+ {"version":3,"file":"profile.dom.js","names":["paneDiv","context","subject","paneName","view","session","paneRegistry","byName","warning","dom","createElement","innerText","viewContainer","render","setAttribute"],"sources":["../../src/profile/profile.dom.ts"],"sourcesContent":["import { DataBrowserContext } from 'pane-registry'\nimport { NamedNode } from 'rdflib'\n\nexport function paneDiv (\n context: DataBrowserContext,\n subject: NamedNode,\n paneName: string\n): HTMLElement {\n const view = context.session.paneRegistry.byName(paneName)\n if (!view) {\n const warning = context.dom.createElement('div')\n warning.innerText = `Unable to load view: ${paneName}`\n return warning\n }\n const viewContainer = view.render(subject, context)\n viewContainer.setAttribute(\n 'style', 'border: 0.3em solid #444; border-radius: 0.5em'\n )\n return viewContainer\n}\n"],"mappings":";;;;;;AAGO,SAASA,OAAO,CACrBC,OAA2B,EAC3BC,OAAkB,EAClBC,QAAgB,EACH;EACb,IAAMC,IAAI,GAAGH,OAAO,CAACI,OAAO,CAACC,YAAY,CAACC,MAAM,CAACJ,QAAQ,CAAC;EAC1D,IAAI,CAACC,IAAI,EAAE;IACT,IAAMI,OAAO,GAAGP,OAAO,CAACQ,GAAG,CAACC,aAAa,CAAC,KAAK,CAAC;IAChDF,OAAO,CAACG,SAAS,kCAA2BR,QAAQ,CAAE;IACtD,OAAOK,OAAO;EAChB;EACA,IAAMI,aAAa,GAAGR,IAAI,CAACS,MAAM,CAACX,OAAO,EAAED,OAAO,CAAC;EACnDW,aAAa,CAACE,YAAY,CACxB,OAAO,EAAE,gDAAgD,CAC1D;EACD,OAAOF,aAAa;AACtB"}
@@ -5,79 +5,78 @@ module.exports = function registerPanes(register) {
5
5
  **
6
6
  */
7
7
  // Developer designed:
8
+
8
9
  register(require('profile-pane')); // View someone's public profile - dominates all other panes.
9
10
 
10
11
  register(require('./profile/editProfile.view')); // Edit my profile. App. 201900802
11
-
12
12
  register(require('./trustedApplications/trustedApplications.view')); // must be registered before basicPreferences
13
-
14
13
  register(require('./dashboard/dashboardPane'));
15
14
  register(require('./dashboard/basicPreferences')); // 20190702
16
-
17
15
  register(require('issue-pane'));
18
16
  register(require('contacts-pane'));
19
17
  register(require('activitystreams-pane'));
20
- register(require('./pad/padPane')); // register(require('./argument/argumentPane.js')) // A position in an argument tree
18
+ register(require('./pad/padPane'));
19
+ // register(require('./argument/argumentPane.js')) // A position in an argument tree
21
20
 
22
21
  register(require('./transaction/pane.js'));
23
22
  register(require('./transaction/period.js'));
24
-
25
- var chatPanes = require('chat-pane'); // FIXME: https://github.com/solidos/chat-pane/issues/40
26
-
27
-
23
+ var chatPanes = require('chat-pane');
24
+ // FIXME: https://github.com/solidos/chat-pane/issues/40
28
25
  if (chatPanes.longChatPane) {
29
26
  register(chatPanes.longChatPane); // Long pane must have prio in case short pane tries to do a long pane
30
-
31
27
  register(chatPanes.shortChatPane); // was './chat/chatPane.js'
32
28
  } else {
33
29
  register(chatPanes);
34
- } // register(require('./publication/publicationPane.js'))
35
-
36
-
30
+ }
31
+ // register(require('./publication/publicationPane.js'))
37
32
  register(require('meeting-pane'));
38
33
  register(require('./tabbed/tabbedPane'));
39
34
  register(require('./schedule/schedulePane.js'));
40
- register(require('./trip/tripPane.js')); // register(require('./airPane.js'))
35
+ register(require('./trip/tripPane.js'));
36
+ // register(require('./airPane.js'))
37
+
41
38
  // Content views
42
39
 
43
40
  register(require('./imagePane.js')); // Basic image view
44
-
45
41
  register(require('./playlist/playlistPane.js')); // Basic playlist view
46
42
 
47
43
  register(require('./video/videoPane.js')); // Video clip player
48
-
49
44
  register(require('./audio/audioPane.js')); // Audio clip player
50
45
 
51
46
  register(require('./dokieli/dokieliPane.js')); // Should be above dataContentPane
52
-
53
47
  register(require('folder-pane')); // Should be above dataContentPane
54
-
55
48
  register(require('./classInstancePane.js')); // Should be above dataContentPane
56
49
  // register(require('./dynamic/dynamicPanes.js')) // warp etc warp broken 2017/8
57
-
58
50
  register(require('./slideshow/slideshowPane.js'));
59
51
  register(require('./socialPane.js'));
60
52
  register(require('./humanReadablePane.js')); // A web page as a web page -- how to escape to tabr?
61
53
  // register(require('markdown-pane').Pane) // replaced by markdown in humanReadablePane
62
54
 
63
55
  register(require('./dataContentPane.js')); // Preferred for a data file
64
-
65
56
  register(require('source-pane')); // edit source
66
-
67
57
  register(require('./n3Pane.js'));
68
- register(require('./RDFXMLPane.js')); // User configured - data driven
58
+ register(require('./RDFXMLPane.js'));
59
+
60
+ // User configured - data driven
61
+ register(require('./form/pane.js'));
69
62
 
70
- register(require('./form/pane.js')); // Generic:
63
+ // Generic:
71
64
 
72
- register(require('./tableViewPane.js')); // Fallback totally generic:
65
+ register(require('./tableViewPane.js'));
73
66
 
67
+ // Fallback totally generic:
74
68
  register(require('./defaultPane.js'));
75
- register(require('./ui/pane.js')); // register(require("categoryPane.js")) // Not useful enough
69
+ register(require('./ui/pane.js'));
70
+
71
+ // register(require("categoryPane.js")) // Not useful enough
76
72
  // register(require("pubsPane.js")) // not finished
73
+
77
74
  // @@ jambo commented these things out to pare things down temporarily.
78
75
  // Note must use // not /* to comment out to make sure expander sees it
79
76
  // register(require("lawPane.js"))
77
+
80
78
  // register(require('./microblogPane/microblogPane.js'))
79
+
81
80
  // register(require("./social/pane.js")) // competitor to other social
82
81
  // register(require("./airPane.js"))
83
82
  // register(require("./lawPane.js"))
@@ -86,11 +85,14 @@ module.exports = function registerPanes(register) {
86
85
  // register(require("photoPane.js"))
87
86
  // register(require("tagPane.js"))
88
87
  // register(require("photoImportPane.js"))
89
- // The sharing pane is fairly generic and administrative 201
90
88
 
91
- register(require('./sharing/sharingPane')); // The internals pane is always (almost?) the last as it is the least user-friendly
89
+ // The sharing pane is fairly generic and administrative 201
90
+ register(require('./sharing/sharingPane'));
92
91
 
92
+ // The internals pane is always (almost?) the last as it is the least user-friendly
93
93
  register(require('./internal/internalPane'));
94
- register(require('./home/homePane')); // ENDS
94
+ register(require('./home/homePane'));
95
+
96
+ // ENDS
95
97
  };
96
98
  //# sourceMappingURL=registerPanes.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"registerPanes.js","names":["module","exports","registerPanes","register","require","chatPanes","longChatPane","shortChatPane"],"sources":["../src/registerPanes.js"],"sourcesContent":["module.exports = function registerPanes (register) {\n /* Note that the earliest panes have priority. So the most specific ones are first.\n **\n */\n // Developer designed:\n\n register(require('profile-pane')) // View someone's public profile - dominates all other panes.\n\n register(require('./profile/editProfile.view')) // Edit my profile. App. 201900802\n register(require('./trustedApplications/trustedApplications.view')) // must be registered before basicPreferences\n register(require('./dashboard/dashboardPane'))\n register(require('./dashboard/basicPreferences')) // 20190702\n register(require('issue-pane'))\n register(require('contacts-pane'))\n register(require('activitystreams-pane'))\n\n register(require('./pad/padPane'))\n // register(require('./argument/argumentPane.js')) // A position in an argument tree\n\n register(require('./transaction/pane.js'))\n register(require('./transaction/period.js'))\n\n const chatPanes = require('chat-pane')\n // FIXME: https://github.com/solidos/chat-pane/issues/40\n if (chatPanes.longChatPane) {\n register(chatPanes.longChatPane) // Long pane must have prio in case short pane tries to do a long pane\n register(chatPanes.shortChatPane) // was './chat/chatPane.js'\n } else {\n register(chatPanes)\n }\n // register(require('./publication/publicationPane.js'))\n register(require('meeting-pane'))\n register(require('./tabbed/tabbedPane'))\n register(require('./schedule/schedulePane.js'))\n\n register(require('./trip/tripPane.js'))\n // register(require('./airPane.js'))\n\n // Content views\n\n register(require('./imagePane.js')) // Basic image view\n register(require('./playlist/playlistPane.js')) // Basic playlist view\n\n register(require('./video/videoPane.js')) // Video clip player\n register(require('./audio/audioPane.js')) // Audio clip player\n\n register(require('./dokieli/dokieliPane.js')) // Should be above dataContentPane\n register(require('folder-pane')) // Should be above dataContentPane\n register(require('./classInstancePane.js')) // Should be above dataContentPane\n // register(require('./dynamic/dynamicPanes.js')) // warp etc warp broken 2017/8\n register(require('./slideshow/slideshowPane.js'))\n\n register(require('./socialPane.js'))\n\n register(require('./humanReadablePane.js')) // A web page as a web page -- how to escape to tabr?\n // register(require('markdown-pane').Pane) // replaced by markdown in humanReadablePane\n\n register(require('./dataContentPane.js')) // Preferred for a data file\n register(require('source-pane')) // edit source\n register(require('./n3Pane.js'))\n register(require('./RDFXMLPane.js'))\n\n // User configured - data driven\n register(require('./form/pane.js'))\n\n // Generic:\n\n register(require('./tableViewPane.js'))\n\n // Fallback totally generic:\n register(require('./defaultPane.js'))\n\n register(require('./ui/pane.js'))\n\n // register(require(\"categoryPane.js\")) // Not useful enough\n // register(require(\"pubsPane.js\")) // not finished\n\n // @@ jambo commented these things out to pare things down temporarily.\n // Note must use // not /* to comment out to make sure expander sees it\n // register(require(\"lawPane.js\"))\n\n // register(require('./microblogPane/microblogPane.js'))\n\n // register(require(\"./social/pane.js\")) // competitor to other social\n // register(require(\"./airPane.js\"))\n // register(require(\"./lawPane.js\"))\n // register(require(\"pushbackPane.js\"))\n // register(require(\"CVPane.js\"))\n // register(require(\"photoPane.js\"))\n // register(require(\"tagPane.js\"))\n // register(require(\"photoImportPane.js\"))\n\n // The sharing pane is fairly generic and administrative 201\n register(require('./sharing/sharingPane'))\n\n // The internals pane is always (almost?) the last as it is the least user-friendly\n register(require('./internal/internalPane'))\n\n register(require('./home/homePane'))\n\n // ENDS\n}\n"],"mappings":";;AAAAA,MAAM,CAACC,OAAP,GAAiB,SAASC,aAAT,CAAwBC,QAAxB,EAAkC;EACjD;AACF;AACA;EACE;EAEAA,QAAQ,CAACC,OAAO,CAAC,cAAD,CAAR,CAAR,CANiD,CAMf;;EAElCD,QAAQ,CAACC,OAAO,CAAC,4BAAD,CAAR,CAAR,CARiD,CAQD;;EAChDD,QAAQ,CAACC,OAAO,CAAC,gDAAD,CAAR,CAAR,CATiD,CASmB;;EACpED,QAAQ,CAACC,OAAO,CAAC,2BAAD,CAAR,CAAR;EACAD,QAAQ,CAACC,OAAO,CAAC,8BAAD,CAAR,CAAR,CAXiD,CAWC;;EAClDD,QAAQ,CAACC,OAAO,CAAC,YAAD,CAAR,CAAR;EACAD,QAAQ,CAACC,OAAO,CAAC,eAAD,CAAR,CAAR;EACAD,QAAQ,CAACC,OAAO,CAAC,sBAAD,CAAR,CAAR;EAEAD,QAAQ,CAACC,OAAO,CAAC,eAAD,CAAR,CAAR,CAhBiD,CAiBjD;;EAEAD,QAA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C,OAAO,CAAC,wBAAD,CAAR,CAAR,CAtDiD,CAsDL;EAC5C;;EAEAD,QAAQ,CAACC,OAAO,CAAC,sBAAD,CAAR,CAAR,CAzDiD,CAyDP;;EAC1CD,QAAQ,CAACC,OAAO,CAAC,aAAD,CAAR,CAAR,CA1DiD,CA0DhB;;EACjCD,QAAQ,CAACC,OAAO,CAAC,aAAD,CAAR,CAAR;EACAD,QAAQ,CAACC,OAAO,CAAC,iBAAD,CAAR,CAAR,CA5DiD,CA8DjD;;EACAD,QAAQ,CAACC,OAAO,CAAC,gBAAD,CAAR,CAAR,CA/DiD,CAiEjD;;EAEAD,QAAQ,CAACC,OAAO,CAAC,oBAAD,CAAR,CAAR,CAnEiD,CAqEjD;;EACAD,QAAQ,CAACC,OAAO,CAAC,kBAAD,CAAR,CAAR;EAEAD,QAAQ,CAACC,OAAO,CAAC,cAAD,CAAR,CAAR,CAxEiD,CA0EjD;EACA;EAEA;EACA;EACA;EAEA;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;;EACAD,QAAQ,CAACC,OAAO,CAAC,uBAAD,CAAR,CAAR,CA7FiD,CA+FjD;;EACAD,QAAQ,CAACC,OAAO,CAAC,yBAAD,CAAR,CAAR;EAEAD,QAAQ,CAACC,OAAO,CAAC,iBAAD,CAAR,CAAR,CAlGiD,CAoGjD;AACD,CArGD"}
1
+ {"version":3,"file":"registerPanes.js","names":["module","exports","registerPanes","register","require","chatPanes","longChatPane","shortChatPane"],"sources":["../src/registerPanes.js"],"sourcesContent":["module.exports = function registerPanes (register) {\n /* Note that the earliest panes have priority. So the most specific ones are first.\n **\n */\n // Developer designed:\n\n register(require('profile-pane')) // View someone's public profile - dominates all other panes.\n\n register(require('./profile/editProfile.view')) // Edit my profile. App. 201900802\n register(require('./trustedApplications/trustedApplications.view')) // must be registered before basicPreferences\n register(require('./dashboard/dashboardPane'))\n register(require('./dashboard/basicPreferences')) // 20190702\n register(require('issue-pane'))\n register(require('contacts-pane'))\n register(require('activitystreams-pane'))\n\n register(require('./pad/padPane'))\n // register(require('./argument/argumentPane.js')) // A position in an argument tree\n\n register(require('./transaction/pane.js'))\n register(require('./transaction/period.js'))\n\n const chatPanes = require('chat-pane')\n // FIXME: https://github.com/solidos/chat-pane/issues/40\n if (chatPanes.longChatPane) {\n register(chatPanes.longChatPane) // Long pane must have prio in case short pane tries to do a long pane\n register(chatPanes.shortChatPane) // was './chat/chatPane.js'\n } else {\n register(chatPanes)\n }\n // register(require('./publication/publicationPane.js'))\n register(require('meeting-pane'))\n register(require('./tabbed/tabbedPane'))\n register(require('./schedule/schedulePane.js'))\n\n register(require('./trip/tripPane.js'))\n // register(require('./airPane.js'))\n\n // Content views\n\n register(require('./imagePane.js')) // Basic image view\n register(require('./playlist/playlistPane.js')) // Basic playlist view\n\n register(require('./video/videoPane.js')) // Video clip player\n register(require('./audio/audioPane.js')) // Audio clip player\n\n register(require('./dokieli/dokieliPane.js')) // Should be above dataContentPane\n register(require('folder-pane')) // Should be above dataContentPane\n register(require('./classInstancePane.js')) // Should be above dataContentPane\n // register(require('./dynamic/dynamicPanes.js')) // warp etc warp broken 2017/8\n register(require('./slideshow/slideshowPane.js'))\n\n register(require('./socialPane.js'))\n\n register(require('./humanReadablePane.js')) // A web page as a web page -- how to escape to tabr?\n // register(require('markdown-pane').Pane) // replaced by markdown in humanReadablePane\n\n register(require('./dataContentPane.js')) // Preferred for a data file\n register(require('source-pane')) // edit source\n register(require('./n3Pane.js'))\n register(require('./RDFXMLPane.js'))\n\n // User configured - data driven\n register(require('./form/pane.js'))\n\n // Generic:\n\n register(require('./tableViewPane.js'))\n\n // Fallback totally generic:\n register(require('./defaultPane.js'))\n\n register(require('./ui/pane.js'))\n\n // register(require(\"categoryPane.js\")) // Not useful enough\n // register(require(\"pubsPane.js\")) // not finished\n\n // @@ jambo commented these things out to pare things down temporarily.\n // Note must use // not /* to comment out to make sure expander sees it\n // register(require(\"lawPane.js\"))\n\n // register(require('./microblogPane/microblogPane.js'))\n\n // register(require(\"./social/pane.js\")) // competitor to other social\n // register(require(\"./airPane.js\"))\n // register(require(\"./lawPane.js\"))\n // register(require(\"pushbackPane.js\"))\n // register(require(\"CVPane.js\"))\n // register(require(\"photoPane.js\"))\n // register(require(\"tagPane.js\"))\n // register(require(\"photoImportPane.js\"))\n\n // The sharing pane is fairly generic and administrative 201\n register(require('./sharing/sharingPane'))\n\n // The internals pane is always (almost?) the last as it is the least user-friendly\n register(require('./internal/internalPane'))\n\n register(require('./home/homePane'))\n\n // ENDS\n}\n"],"mappings":";;AAAAA,MAAM,CAACC,OAAO,GAAG,SAASC,aAAa,CAAEC,QAAQ,EAAE;EACjD;AACF;AACA;EACE;;EAEAA,QAAQ,CAACC,OAAO,CAAC,cAAc,CAAC,CAAC,EAAC;;EAElCD,QAAQ,CAACC,OAAO,CAAC,4BAA4B,CAAC,CAAC,EAAC;EAChDD,QAAQ,CAACC,OAAO,CAAC,gDAAgD,CAAC,CAAC,EAAC;EACpED,QAAQ,CAACC,OAAO,CAAC,2BAA2B,CAAC,CAAC;EAC9CD,QAAQ,CAACC,OAAO,CAAC,8BAA8B,CAAC,CAAC,EAAC;EAClDD,QAAQ,CAACC,OAAO,CAAC,YAAY,CAAC,CAAC;EAC/BD,QAAQ,CAACC,OAAO,CAAC,eAAe,CAAC,CAAC;EAClCD,QAAQ,CAACC,OAAO,CAAC,sBAAsB,CAAC,CAAC;EAEzCD,QAAQ,CAACC,OAAO,CAAC,eAAe,CAAC,CAAC;EAClC;;EAEAD,QAAQ,CAACC,OAAO,CAAC,uBAAuB,CAAC,CAAC;EAC1CD,QAAQ,CAACC,OAAO,CAAC,yBAAyB,CAAC,CAAC;EAE5C,IAAMC,SAAS,GAAGD,OAAO,CAAC,WAAW,CAAC;EACtC;EACA,IAAIC,SAAS,CAACC,YAAY,EAAE;IAC1BH,QAAQ,CAACE,SAAS,CAACC,YAAY,CAAC,EAAC;IACjCH,QAAQ,CAACE,SAAS,CAACE,aAAa,CAAC,EAAC;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vC;EACAD,QAAQ,CAACC,OAAO,CAAC,kBAAkB,CAAC,CAAC;EAErCD,QAAQ,CAACC,OAAO,CAAC,cAAc,CAAC,CAAC;;EAEjC;EACA;;EAEA;EACA;EACA;;EAEA;;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;EAEA;EACAD,QAAQ,CAACC,OAAO,CAAC,uBAAuB,CAAC,CAAC;;EAE1C;EACAD,QAAQ,CAACC,OAAO,CAAC,yBAAyB,CAAC,CAAC;EAE5CD,QAAQ,CAACC,OAAO,CAAC,iBAAiB,CAAC,CAAC;;EAEpC;AACF,CAAC"}
File without changes
@@ -1 +1 @@
1
- {"version":3,"file":"formsForSchedule.js","names":["module","exports"],"sources":["../../src/schedule/formsForSchedule.js"],"sourcesContent":["module.exports = `\n@prefix dc: <http://purl.org/dc/elements/1.1/>.\n@prefix foaf: <http://xmlns.com/foaf/0.1/>.\n@prefix cal: <http://www.w3.org/2002/12/cal/ical#>.\n@prefix ui: <http://www.w3.org/ns/ui#>.\n@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.\n@prefix sched: <http://www.w3.org/ns/pim/schedule#>.\n\n cal:Vevent ui:annotationForm <#form2>, <#form3>; ui:creationForm <#form1> .\n\n<#bigForm>\n dc:title\n \"Schedule event (single form).\";\n a ui:Group;\n ui:parts ( <#form1> <#form2> <#form3> ).\n\n<#form1>\n dc:title\n \"Schedule an event (wizard)\";\n a ui:Form;\n ui:parts (\n <#form1header>\n <#eventTitle>\n <#eventLocation>\n <#eventType>\n <#eventSwitch>\n <#eventComment>\n <#eventAuthor> ).\n\n<#form1header> a ui:Heading; ui:contents \"Schedule an event\" .\n\n<#eventTitle>\n a ui:SingleLineTextField;\n ui:maxLength\n \"128\";\n ui:property\n cal:summary;\n ui:size\n \"40\".\n\n<#eventLocation>\n a ui:SingleLineTextField;\n ui:maxLength\n \"512\";\n ui:property\n cal:location;\n ui:size\n \"40\".\n\n<#eventType> a ui:BooleanField;\n ui:property sched:allDay;\n ui:default true . # Used to be the only way\n\n<#eventSwitch> a ui:Options;\n ui:dependingOn sched:allDay;\n ui:case [ ui:for true; ui:use <#AllDayForm> ];\n ui:case [ ui:for false; ui:use <#NotAllDayForm> ].\n\n <#AllDayForm> a ui:IntegerField ;\n ui:property sched:durationInDays;\n ui:label \"How many days?\";\n ui:min 1;\n ui:default 1 .\n\n <#NotAllDayForm> a ui:IntegerField ;\n ui:property sched:durationInMinutes;\n ui:label \"Duration (mins)\";\n ui:min 5;\n ui:default 55 .\n\n<#eventComment>\n a ui:MultiLineTextField;\n# ui:maxLength\n# \"1048\";\n# ui:size\n# \"40\".\n ui:property\n cal:comment.\n\n<#eventAuthor>\n a ui:Multiple; ui:min 1; ui:part <#eventAuthorGroup>; ui:property dc:author.\n\n <#eventAuthorGroup> a ui:Group; ui:parts ( <#authorName> <#authorEmail> ) .\n <#authorName> a ui:SingleLineTextField; ui:property foaf:name .\n <#authorEmail> a ui:EmailField; ui:label \"email\"; ui:property foaf:mbox .\n\n\n#####################\n\n<#form2> dc:title \"Select possible days or times\"; a ui:Form;\n ui:parts ( <#id1118132113134> <#possibleSwitch> ).\n\n <#id1118132113134> a ui:Heading; ui:contents \"Time proposals\" .\n\n <#possibleSwitch> a ui:Options;\n ui:dependingOn sched:allDay;\n ui:case [ ui:for true; ui:use <#AllDayForm2> ];\n ui:case [ ui:for false; ui:use <#NotAllDayForm2> ].\n\n <#AllDayForm2>\n a ui:Multiple; ui:min 2; ui:part <#posssibleDate>; ui:property sched:option.\n <#posssibleDate> a ui:DateField; ui:property cal:dtstart; ui:label \"date\".\n\n <#NotAllDayForm2>\n a ui:Multiple; ui:min 2; ui:part <#posssibleTime>; ui:property sched:option.\n <#posssibleTime> a ui:DateTimeField; ui:property cal:dtstart; ui:label \"date and time\".\n\n ##################################\n\n <#form3> dc:title \"Select invited people\"; a ui:Form; ui:parts ( <#id1118132113135> <#id1417314641301b> ) .\n<#id1417314641301b>\n a ui:Multiple; ui:min 1; ui:part <#id1417314674292b>; ui:property sched:invitee.\n <#id1417314674292b> a ui:EmailField; ui:label \"email\"; ui:property foaf:mbox .\n <#id1118132113135> a ui:Heading; ui:contents \"Who to invite\" .\n\n# ENDS\n`\n"],"mappings":";;AAAAA,MAAM,CAACC,OAAP"}
1
+ {"version":3,"file":"formsForSchedule.js","names":["module","exports"],"sources":["../../src/schedule/formsForSchedule.js"],"sourcesContent":["module.exports = `\n@prefix dc: <http://purl.org/dc/elements/1.1/>.\n@prefix foaf: <http://xmlns.com/foaf/0.1/>.\n@prefix cal: <http://www.w3.org/2002/12/cal/ical#>.\n@prefix ui: <http://www.w3.org/ns/ui#>.\n@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.\n@prefix sched: <http://www.w3.org/ns/pim/schedule#>.\n\n cal:Vevent ui:annotationForm <#form2>, <#form3>; ui:creationForm <#form1> .\n\n<#bigForm>\n dc:title\n \"Schedule event (single form).\";\n a ui:Group;\n ui:parts ( <#form1> <#form2> <#form3> ).\n\n<#form1>\n dc:title\n \"Schedule an event (wizard)\";\n a ui:Form;\n ui:parts (\n <#form1header>\n <#eventTitle>\n <#eventLocation>\n <#eventType>\n <#eventSwitch>\n <#eventComment>\n <#eventAuthor> ).\n\n<#form1header> a ui:Heading; ui:contents \"Schedule an event\" .\n\n<#eventTitle>\n a ui:SingleLineTextField;\n ui:maxLength\n \"128\";\n ui:property\n cal:summary;\n ui:size\n \"40\".\n\n<#eventLocation>\n a ui:SingleLineTextField;\n ui:maxLength\n \"512\";\n ui:property\n cal:location;\n ui:size\n \"40\".\n\n<#eventType> a ui:BooleanField;\n ui:property sched:allDay;\n ui:default true . # Used to be the only way\n\n<#eventSwitch> a ui:Options;\n ui:dependingOn sched:allDay;\n ui:case [ ui:for true; ui:use <#AllDayForm> ];\n ui:case [ ui:for false; ui:use <#NotAllDayForm> ].\n\n <#AllDayForm> a ui:IntegerField ;\n ui:property sched:durationInDays;\n ui:label \"How many days?\";\n ui:min 1;\n ui:default 1 .\n\n <#NotAllDayForm> a ui:IntegerField ;\n ui:property sched:durationInMinutes;\n ui:label \"Duration (mins)\";\n ui:min 5;\n ui:default 55 .\n\n<#eventComment>\n a ui:MultiLineTextField;\n# ui:maxLength\n# \"1048\";\n# ui:size\n# \"40\".\n ui:property\n cal:comment.\n\n<#eventAuthor>\n a ui:Multiple; ui:min 1; ui:part <#eventAuthorGroup>; ui:property dc:author.\n\n <#eventAuthorGroup> a ui:Group; ui:parts ( <#authorName> <#authorEmail> ) .\n <#authorName> a ui:SingleLineTextField; ui:property foaf:name .\n <#authorEmail> a ui:EmailField; ui:label \"email\"; ui:property foaf:mbox .\n\n\n#####################\n\n<#form2> dc:title \"Select possible days or times\"; a ui:Form;\n ui:parts ( <#id1118132113134> <#possibleSwitch> ).\n\n <#id1118132113134> a ui:Heading; ui:contents \"Time proposals\" .\n\n <#possibleSwitch> a ui:Options;\n ui:dependingOn sched:allDay;\n ui:case [ ui:for true; ui:use <#AllDayForm2> ];\n ui:case [ ui:for false; ui:use <#NotAllDayForm2> ].\n\n <#AllDayForm2>\n a ui:Multiple; ui:min 2; ui:part <#posssibleDate>; ui:property sched:option.\n <#posssibleDate> a ui:DateField; ui:property cal:dtstart; ui:label \"date\".\n\n <#NotAllDayForm2>\n a ui:Multiple; ui:min 2; ui:part <#posssibleTime>; ui:property sched:option.\n <#posssibleTime> a ui:DateTimeField; ui:property cal:dtstart; ui:label \"date and time\".\n\n ##################################\n\n <#form3> dc:title \"Select invited people\"; a ui:Form; ui:parts ( <#id1118132113135> <#id1417314641301b> ) .\n<#id1417314641301b>\n a ui:Multiple; ui:min 1; ui:part <#id1417314674292b>; ui:property sched:invitee.\n <#id1417314674292b> a ui:EmailField; ui:label \"email\"; ui:property foaf:mbox .\n <#id1118132113135> a ui:Heading; ui:contents \"Who to invite\" .\n\n# ENDS\n`\n"],"mappings":";;AAAAA,MAAM,CAACC,OAAO,m6GAoHb"}