solid-panes 3.5.29-alpha.1 → 3.5.30-6cc8fb8a

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 -0
  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 +10 -2
  18. package/lib/RDFXMLPane.js.map +1 -1
  19. package/lib/argument/argumentPane.js +7 -5
  20. package/lib/argument/argumentPane.js.map +1 -1
  21. package/lib/attach/attachPane.js +13 -7
  22. package/lib/attach/attachPane.js.map +1 -1
  23. package/lib/audio/audioPane.js +13 -6
  24. package/lib/audio/audioPane.js.map +1 -1
  25. package/lib/classInstancePane.js +11 -3
  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 +96 -104
  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 +0 -0
  34. package/lib/dashboard/dashboardPane.js.map +0 -0
  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 +27 -31
  38. package/lib/dashboard/homepage.js.map +1 -1
  39. package/lib/dataContentPane.js +12 -4
  40. package/lib/dataContentPane.js.map +1 -1
  41. package/lib/defaultPane.js +11 -3
  42. package/lib/defaultPane.js.map +1 -1
  43. package/lib/dokieli/dokieliPane.js +15 -11
  44. package/lib/dokieli/dokieliPane.js.map +1 -1
  45. package/lib/dokieli/new.js +6 -1
  46. package/lib/dokieli/new.js.map +1 -1
  47. package/lib/form/pane.js +8 -5
  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 +35 -49
  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 +11 -2
  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 +2 -2
  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 +0 -0
  73. package/lib/mainPage/header.js +65 -73
  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 +17 -19
  78. package/lib/mainPage/index.js.map +1 -1
  79. package/lib/microblogPane/microblogPane.js +82 -84
  80. package/lib/microblogPane/microblogPane.js.map +1 -1
  81. package/lib/n3Pane.js +11 -2
  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 -0
  86. package/lib/outline/context.js.map +0 -0
  87. package/lib/outline/licenseOptions.js +13 -11
  88. package/lib/outline/licenseOptions.js.map +1 -1
  89. package/lib/outline/manager.js +581 -615
  90. package/lib/outline/manager.js.map +1 -1
  91. package/lib/outline/manager.test.js +16 -15
  92. package/lib/outline/manager.test.js.map +1 -1
  93. package/lib/outline/outlineIcons.js +10 -2
  94. package/lib/outline/outlineIcons.js.map +1 -1
  95. package/lib/outline/propertyViews.d.ts +3 -2
  96. package/lib/outline/propertyViews.d.ts.map +1 -1
  97. package/lib/outline/propertyViews.js +7 -5
  98. package/lib/outline/propertyViews.js.map +1 -1
  99. package/lib/outline/propertyViews.test.js +6 -4
  100. package/lib/outline/propertyViews.test.js.map +1 -1
  101. package/lib/outline/queryByExample.js +6 -6
  102. package/lib/outline/queryByExample.js.map +1 -1
  103. package/lib/outline/userInput.js +7 -5
  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 -0
  108. package/lib/outline/viewAsImage.js.map +0 -0
  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 +0 -0
  112. package/lib/outline/viewAsMbox.js.map +0 -0
  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 +0 -0
  116. package/lib/pad/padPane.js.map +0 -0
  117. package/lib/playlist/playlistPane.js +13 -6
  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 +1 -1
  121. package/lib/profile/editProfile.view.js +16 -0
  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 -0
  126. package/lib/profile/profile.dom.js.map +0 -0
  127. package/lib/registerPanes.js +93 -50
  128. package/lib/registerPanes.js.map +1 -1
  129. package/lib/schedule/formsForSchedule.js +6 -1
  130. package/lib/schedule/formsForSchedule.js.map +1 -1
  131. package/lib/schedule/schedulePane.js +9 -4
  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 +0 -0
  136. package/lib/sharing/sharingPane.js.map +0 -0
  137. package/lib/slideshow/slideshowPane.js +16 -11
  138. package/lib/slideshow/slideshowPane.js.map +1 -1
  139. package/lib/socialPane.js +16 -12
  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 +32 -34
  144. package/lib/tabbed/tabbedPane.js.map +1 -1
  145. package/lib/tableViewPane.js +12 -3
  146. package/lib/tableViewPane.js.map +1 -1
  147. package/lib/test-import-export/common.js +6 -2
  148. package/lib/test-import-export/common.js.map +1 -1
  149. package/lib/test-import-export/edit-importer.js +9 -11
  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 +12 -6
  154. package/lib/transaction/pane.js.map +1 -1
  155. package/lib/transaction/period.js +11 -4
  156. package/lib/transaction/period.js.map +1 -1
  157. package/lib/trip/tripPane.js +12 -5
  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 +4 -1
  162. package/lib/trustedApplications/trustedApplications.dom.js.map +1 -1
  163. package/lib/trustedApplications/trustedApplications.test.js +3 -0
  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 +1 -1
  168. package/lib/trustedApplications/trustedApplications.utils.js.map +0 -0
  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 +38 -40
  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 +12 -5
  178. package/lib/ui/pane.js.map +1 -1
  179. package/lib/versionInfo.d.ts +0 -2
  180. package/lib/versionInfo.d.ts.map +1 -1
  181. package/lib/versionInfo.js +12 -14
  182. package/lib/versionInfo.js.map +1 -1
  183. package/lib/video/videoPane.js +12 -5
  184. package/lib/video/videoPane.js.map +1 -1
  185. package/package.json +21 -23
  186. package/src/RDFXMLPane.js +2 -2
  187. package/src/argument/argumentPane.js +1 -1
  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 +3 -3
  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 +3 -3
  196. package/src/chatPreferencesForm.ttl +0 -0
  197. package/src/classInstancePane.js +3 -3
  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 +3 -4
  210. package/src/defaultPane.js +3 -3
  211. package/src/dokieli/Makefile +0 -0
  212. package/src/dokieli/dokieliPane.js +5 -5
  213. package/src/dokieli/new.html +0 -0
  214. package/src/dokieli/new.js +1 -1
  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 +2 -2
  220. package/src/form/psuedocode-notes.txt +0 -0
  221. package/src/global.d.ts +0 -0
  222. package/src/home/homePane.ts +1 -14
  223. package/src/humanReadablePane.js +0 -0
  224. package/src/imagePane.js +2 -2
  225. package/src/index.ts +1 -1
  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 +1 -1
  248. package/src/n3Pane.js +2 -2
  249. package/src/outline/context.ts +0 -0
  250. package/src/outline/licenseOptions.js +9 -8
  251. package/src/outline/manager.js +18 -20
  252. package/src/outline/manager.test.ts +6 -0
  253. package/src/outline/outlineIcons.js +4 -2
  254. package/src/outline/propertyViews.test.ts +7 -1
  255. package/src/outline/propertyViews.ts +3 -3
  256. package/src/outline/queryByExample.js +3 -9
  257. package/src/outline/userInput.js +1 -1
  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 +3 -3
  266. package/src/profile/editProfile.view.ts +20 -0
  267. package/src/profile/profile.dom.ts +0 -0
  268. package/src/profile/profileFormText.ttl +0 -0
  269. package/src/registerPanes.js +92 -52
  270. package/src/schedule/Makefile +0 -0
  271. package/src/schedule/formsForSchedule.js +1 -1
  272. package/src/schedule/formsForSchedule.ttl +0 -0
  273. package/src/schedule/schedulePane.js +6 -2
  274. package/src/sharing/sharingPane.ts +0 -0
  275. package/src/slideshow/slideshowPane.js +3 -6
  276. package/src/socialPane.js +4 -5
  277. package/src/style/tabbedtab.css +0 -0
  278. package/src/tabbed/tabbedPane.ts +0 -0
  279. package/src/tableViewPane.js +3 -3
  280. package/src/test-import-export/common.js +1 -1
  281. package/src/test-import-export/edit-importer.js +5 -10
  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 +3 -3
  287. package/src/transaction/period.js +2 -2
  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 +3 -3
  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 +4 -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 +3 -3
  302. package/src/versionInfo.ts +12 -14
  303. package/src/video/videoPane.js +3 -3
  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 +3 -1
@@ -9,12 +9,6 @@
9
9
  import { store } from 'solid-logic'
10
10
  import * as UI from 'solid-ui'
11
11
 
12
- module.exports = {
13
- makeQueryRow,
14
- QuerySource,
15
- viewAndSaveQuery // Main function to generate and use the query
16
- }
17
-
18
12
  const optionalSubqueriesIndex = []
19
13
 
20
14
  function predParentOf (node) {
@@ -31,7 +25,7 @@ function predParentOf (node) {
31
25
  }
32
26
  }
33
27
 
34
- function makeQueryRow (q, tr, constraint) {
28
+ export function makeQueryRow (q, tr, constraint) {
35
29
  // predtr = predParentOf(tr)
36
30
  // var nodes = tr.childNodes
37
31
  // var n = tr.childNodes.length
@@ -193,7 +187,7 @@ function saveQuery (selection, qs) {
193
187
 
194
188
  // When the user asks for all list of all matching parts of the data
195
189
  //
196
- function viewAndSaveQuery (outline, selection) {
190
+ export function viewAndSaveQuery (outline, selection) {
197
191
  const qs = outline.qs
198
192
  UI.log.info('outline.doucment is now ' + outline.document.location)
199
193
  const q = saveQuery(selection, qs)
@@ -219,7 +213,7 @@ function viewAndSaveQuery (outline, selection) {
219
213
  * @author jambo
220
214
  */
221
215
 
222
- function QuerySource () {
216
+ export function QuerySource () {
223
217
  /**
224
218
  * stores all of the queries currently held by this source,
225
219
  * indexed by ID number.
@@ -21,7 +21,7 @@ let UserInputFormula // Formula to store references of user's work
21
21
  let TempFormula // Formula to store incomplete triples (Requests),
22
22
  // temporarily disjoint with kb to avoid bugs
23
23
 
24
- module.exports = function UserInput (outline) {
24
+ export function UserInput (outline) {
25
25
  const myDocument = outline.document // is this ok?
26
26
  // UI.log.warn("myDocument when it's set is "+myDocument.location);
27
27
  this.menuId = 'predicateMenu1'
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -3,11 +3,11 @@
3
3
  ** This pane allows playlists and playlists slots to be viewed
4
4
  ** seeAlso: http://smiy.sourceforge.net/pbo/spec/playbackontology.html
5
5
  */
6
- const UI = require('solid-ui')
7
- const $rdf = require('rdflib')
6
+ import * as UI from 'solid-ui'
7
+ import * as $rdf from 'rdflib'
8
8
  const ns = UI.ns
9
9
 
10
- module.exports = {
10
+ export default {
11
11
  icon: UI.icons.iconBase + 'noun_1619.svg',
12
12
 
13
13
  name: 'playlistSlot',
@@ -110,6 +110,7 @@ const editProfileView: PaneDefinition = {
110
110
 
111
111
  main.appendChild(paneDiv(context, me, 'contact'))
112
112
 
113
+
113
114
  heading('People you know who have WebIDs')
114
115
 
115
116
  comment(`This is your public social network.
@@ -130,6 +131,25 @@ const editProfileView: PaneDefinition = {
130
131
  noun: 'friend'
131
132
  })
132
133
 
134
+ heading('Communities you participate in')
135
+
136
+ comment(`These are organizations and projects (etc) whose stuff you share`)
137
+
138
+ // TODO: would be useful to explain what it means to "drag organizations"
139
+ // what is it that is being dragged?
140
+ // is there a way to search for people (or things to drag) on this page?
141
+ // Also provide a way of using cut and paste
142
+ if (editableProfile) {
143
+ comment('Drag organizations onto the target below to add organizations.')
144
+ }
145
+
146
+ widgets.attachmentList(dom, me, main, {
147
+ doc: profile,
148
+ modify: !!editableProfile,
149
+ predicate: ns.solid('community'),
150
+ noun: 'community'
151
+ })
152
+
133
153
  // heading('The style of your public profile') headings are in form now
134
154
  renderProfileForm(main, me)
135
155
 
File without changes
File without changes
@@ -1,76 +1,116 @@
1
- module.exports = function registerPanes (register) {
1
+ import profilePane from 'profile-pane'
2
+ import editProfileView from './profile/editProfile.view'
3
+ import trustedApplications from './trustedApplications/trustedApplications.view'
4
+ import dashboardPane from './dashboard/dashboardPane'
5
+ import basicPreferences from './dashboard/basicPreferences'
6
+ import issuePane from 'issue-pane'
7
+ import contactsPane from 'contacts-pane'
8
+ import activityStreamsPane from 'activitystreams-pane'
9
+ import padPane from './pad/padPane'
10
+ // import argumentPane from './argument/argumentPane.js'
11
+ import transactionPane from './transaction/pane.js'
12
+ import financialPeriodPane from './transaction/period.js'
13
+ import meetingPane from 'meeting-pane'
14
+ import tabbedPane from './tabbed/tabbedPane'
15
+ import { longChatPane, shortChatPane } from 'chat-pane'
16
+ import { schedulePane } from './schedule/schedulePane.js'
17
+ // import publicationPane from './publication/publicationPane.js'
18
+ import tripPane from './trip/tripPane.js'
19
+ import { imagePane } from './imagePane.js'
20
+ import playListPane from './playlist/playlistPane.js'
21
+ import videoPane from './video/videoPane.js'
22
+ import audioPane from './audio/audioPane.js'
23
+ import dokieliPane from './dokieli/dokieliPane.js'
24
+ import folderPane from 'folder-pane'
25
+ import { classInstancePane } from './classInstancePane.js'
26
+ import { slideshowPane } from './slideshow/slideshowPane.js'
27
+ import { socialPane } from './socialPane.js'
28
+ import humanReadablePane from './humanReadablePane.js'
29
+
30
+ import { dataContentPane } from './dataContentPane.js'
31
+ import sourcePane from 'source-pane'
32
+ import { n3Pane } from './n3Pane.js'
33
+ import { RDFXMLPane } from './RDFXMLPane.js'
34
+ import { formPane } from './form/pane.js'
35
+ import { tableViewPane } from './tableViewPane.js'
36
+ import { defaultPane } from './defaultPane.js'
37
+ import uiPane from './ui/pane.js'
38
+
39
+ import sharingPane from './sharing/sharingPane'
40
+ import internalPane from './internal/internalPane'
41
+
42
+ import homePane from './home/homePane'
43
+
44
+ export function registerPanes (register) {
2
45
  /* Note that the earliest panes have priority. So the most specific ones are first.
3
46
  **
4
47
  */
5
48
  // Developer designed:
6
49
 
7
- register(require('profile-pane')) // View someone's public profile - dominates all other panes.
8
-
9
- register(require('./profile/editProfile.view')) // Edit my profile. App. 201900802
10
- register(require('./trustedApplications/trustedApplications.view')) // must be registered before basicPreferences
11
- register(require('./dashboard/dashboardPane'))
12
- register(require('./dashboard/basicPreferences')) // 20190702
13
- register(require('issue-pane'))
14
- register(require('contacts-pane'))
15
- register(require('activitystreams-pane'))
16
-
17
- register(require('./pad/padPane'))
18
- // register(require('./argument/argumentPane.js')) // A position in an argument tree
19
-
20
- register(require('./transaction/pane.js'))
21
- register(require('./transaction/period.js'))
22
-
23
- const chatPanes = require('chat-pane')
24
- // FIXME: https://github.com/solidos/chat-pane/issues/40
25
- if (chatPanes.longChatPane) {
26
- register(chatPanes.longChatPane) // Long pane must have prio in case short pane tries to do a long pane
27
- register(chatPanes.shortChatPane) // was './chat/chatPane.js'
28
- } else {
29
- register(chatPanes)
30
- }
31
- // register(require('./publication/publicationPane.js'))
32
- register(require('meeting-pane'))
33
- register(require('./tabbed/tabbedPane'))
34
- register(require('./schedule/schedulePane.js'))
35
-
36
- register(require('./trip/tripPane.js'))
50
+ register(profilePane) // View someone's public profile - dominates all other panes.
51
+ register(editProfileView) // Edit my profile. App. 201900802
52
+
53
+ register(trustedApplications) // must be registered before basicPreferences
54
+ register(dashboardPane)
55
+ register(basicPreferences)
56
+ register(issuePane)
57
+ register(contactsPane)
58
+ register(activityStreamsPane)
59
+
60
+ register(padPane)
61
+ // register(argumentPane) // A position in an argument tree
62
+
63
+ register(transactionPane)
64
+ register(financialPeriodPane)
65
+
66
+ register(meetingPane)
67
+ register(tabbedPane)
68
+
69
+ register(longChatPane) // Long pane must have prio in case short pane tries to do a long pane
70
+ register(shortChatPane) // was './chat/chatPane.js'
71
+
72
+ // register(publicationPane) // Suppress for now
73
+
74
+ register(schedulePane) // doodle poll
75
+
76
+ register(tripPane)
37
77
  // register(require('./airPane.js'))
38
78
 
39
79
  // Content views
40
80
 
41
- register(require('./imagePane.js')) // Basic image view
42
- register(require('./playlist/playlistPane.js')) // Basic playlist view
81
+ register(imagePane) // Basic image view
82
+ register(playListPane) // Basic playlist view
43
83
 
44
- register(require('./video/videoPane.js')) // Video clip player
45
- register(require('./audio/audioPane.js')) // Audio clip player
84
+ register(videoPane) // Video clip player
85
+ register(audioPane) // Audio clip player
46
86
 
47
- register(require('./dokieli/dokieliPane.js')) // Should be above dataContentPane
48
- register(require('folder-pane')) // Should be above dataContentPane
49
- register(require('./classInstancePane.js')) // Should be above dataContentPane
87
+ register(dokieliPane) // Should be above dataContentPane
88
+ register(folderPane) // Should be above dataContentPane
89
+ register(classInstancePane) // Should be above dataContentPane
50
90
  // register(require('./dynamic/dynamicPanes.js')) // warp etc warp broken 2017/8
51
- register(require('./slideshow/slideshowPane.js'))
91
+ register(slideshowPane)
52
92
 
53
- register(require('./socialPane.js'))
93
+ register(socialPane)
54
94
 
55
- register(require('./humanReadablePane.js')) // A web page as a web page -- how to escape to tabr?
95
+ register(humanReadablePane) // A web page as a web page -- how to escape to tabr?
56
96
  // register(require('markdown-pane').Pane) // replaced by markdown in humanReadablePane
57
97
 
58
- register(require('./dataContentPane.js')) // Preferred for a data file
59
- register(require('source-pane')) // edit source
60
- register(require('./n3Pane.js'))
61
- register(require('./RDFXMLPane.js'))
98
+ register(dataContentPane) // Preferred for a data file
99
+ register(sourcePane) // edit source
100
+ register(n3Pane)
101
+ register(RDFXMLPane)
62
102
 
63
103
  // User configured - data driven
64
- register(require('./form/pane.js'))
104
+ register(formPane)
65
105
 
66
106
  // Generic:
67
107
 
68
- register(require('./tableViewPane.js'))
108
+ register(tableViewPane)
69
109
 
70
110
  // Fallback totally generic:
71
- register(require('./defaultPane.js'))
111
+ register(defaultPane)
72
112
 
73
- register(require('./ui/pane.js'))
113
+ register(uiPane)
74
114
 
75
115
  // register(require("categoryPane.js")) // Not useful enough
76
116
  // register(require("pubsPane.js")) // not finished
@@ -91,12 +131,12 @@ module.exports = function registerPanes (register) {
91
131
  // register(require("photoImportPane.js"))
92
132
 
93
133
  // The sharing pane is fairly generic and administrative 201
94
- register(require('./sharing/sharingPane'))
134
+ register(sharingPane)
95
135
 
96
136
  // The internals pane is always (almost?) the last as it is the least user-friendly
97
- register(require('./internal/internalPane'))
137
+ register(internalPane)
98
138
 
99
- register(require('./home/homePane'))
139
+ register(homePane) // This is a global pane
100
140
 
101
141
  // ENDS
102
142
  }
File without changes
@@ -1,4 +1,4 @@
1
- module.exports = `
1
+ export default `
2
2
  @prefix dc: <http://purl.org/dc/elements/1.1/>.
3
3
  @prefix foaf: <http://xmlns.com/foaf/0.1/>.
4
4
  @prefix cal: <http://www.w3.org/2002/12/cal/ical#>.
File without changes
@@ -9,6 +9,11 @@ import { authn } from 'solid-logic'
9
9
  const $rdf = UI.rdf
10
10
  const ns = UI.ns
11
11
 
12
+ import formText from './formsForSchedule.js'
13
+
14
+
15
+
16
+
12
17
  // @@ Give other combos too-- see schedule ontology
13
18
  const possibleAvailabilities = [
14
19
  ns.sched('No'),
@@ -16,7 +21,7 @@ const possibleAvailabilities = [
16
21
  ns.sched('Yes')
17
22
  ]
18
23
 
19
- module.exports = {
24
+ export const schedulePane = {
20
25
  icon: UI.icons.iconBase + 'noun_346777.svg', // @@ better?
21
26
 
22
27
  name: 'schedule',
@@ -343,7 +348,6 @@ module.exports = {
343
348
  const form2 = kb.sym(formsURI + '#form2')
344
349
  const form3 = kb.sym(formsURI + '#form3')
345
350
 
346
- const formText = require('./formsForSchedule.js')
347
351
  $rdf.parse(formText, kb, formsURI, 'text/turtle') // Load forms directly
348
352
 
349
353
  const inputStyle =
File without changes
@@ -1,15 +1,12 @@
1
1
  /* slideshow Pane
2
2
  **
3
3
  */
4
- const UI = require('solid-ui')
4
+ import * as UI from 'solid-ui'
5
5
  const ns = UI.ns
6
6
 
7
- // tabulator.loadScript("js/panes/slideshow/better-simple-slideshow/js/better-simple-slideshow.js")
7
+ import makeBSS from '@solid/better-simple-slideshow'
8
8
 
9
- const makeBSS = require('@solid/better-simple-slideshow')
10
- // load also js/panes/slideshow/better-simple-slideshow/css/simple-slideshow-styles.css
11
-
12
- module.exports = {
9
+ export const slideshowPane = {
13
10
  icon: UI.icons.iconBase + 'noun_138712.svg',
14
11
 
15
12
  name: 'slideshow',
package/src/socialPane.js CHANGED
@@ -10,9 +10,8 @@
10
10
 
11
11
  import * as UI from 'solid-ui'
12
12
  import { authn } from 'solid-logic'
13
- import * as $rdf from 'rdflib'
14
13
 
15
- module.exports = {
14
+ export const socialPane = {
16
15
  icon: UI.icons.originalIconBase + 'foaf/foafTiny.gif',
17
16
 
18
17
  name: 'social',
@@ -376,7 +375,7 @@ module.exports = {
376
375
  // @@ Does not look up profiles
377
376
  // Does distinguish reciprocated from unreciprocated friendships
378
377
  //
379
- function triageFriends (s) {
378
+ function _triageFriends (s) {
380
379
  outgoing = kb.each(s, foaf('knows'))
381
380
  incoming = kb.each(undefined, foaf('knows'), s) // @@ have to load the friends
382
381
  const confirmed = []
@@ -443,9 +442,9 @@ module.exports = {
443
442
  }
444
443
  }
445
444
  }
446
- if ($rdf.keepThisCodeForLaterButDisableFerossConstantConditionPolice) {
445
+ /* if ($rdf.keepThisCodeForLaterButDisableFerossConstantConditionPolice) {
447
446
  triageFriends(s)
448
- }
447
+ } */
449
448
  // //////////////////////////////////// Basic info on left
450
449
 
451
450
  h3 = dom.createElement('h3')
File without changes
File without changes
@@ -14,10 +14,10 @@
14
14
 
15
15
  // ///////////////////////////////////////////////////////////////////
16
16
 
17
- // Table view pane -- view of a class/
18
- const UI = require('solid-ui')
17
+ // Table view pane -- view of a class as a table of properties of class members
18
+ import * as UI from 'solid-ui'
19
19
 
20
- module.exports = {
20
+ export const tableViewPane = {
21
21
  icon: UI.icons.originalIconBase + 'table.png',
22
22
 
23
23
  name: 'tableOfClass',
@@ -1,6 +1,6 @@
1
1
  console.log('This is common.js')
2
2
  // https://2ality.com/2019/04/nodejs-esm-impl.html#importing-commonjs-from-esm
3
3
 
4
- module.exports = {
4
+ export default {
5
5
  foo: 123
6
6
  }
@@ -1,4 +1,6 @@
1
1
  'use strict'
2
+ // Suspect this is unsed test code
3
+
2
4
  /* Profile Editing Appp Pane
3
5
  **
4
6
  ** Unlike view panes, this is available any place whatever the real subject,
@@ -7,19 +9,12 @@
7
9
  ** Usage: paneRegistry.register('profile/profilePane')
8
10
  ** or standalone script adding onto existing mashlib.
9
11
  */
10
- exports.__esModule = true
12
+
11
13
  // import UI from 'solid-ui'
12
14
  // import solidUi, { SolidUi } from 'solid-ui'
13
15
  // @@ TODO: Write away the need for exception on next line
14
16
  // eslint-disable-next-line camelcase
15
- const solid_UI_1 = require('solid-UI')
16
- const UI2 = require('solid-UI')
17
- // let panes: any
18
- // let UI
19
- const UI0 = require('solid-ui')
20
- console.log('UI0.rdf ' + UI0.rdf)
21
- console.log('UI1.rdf ' + solid_UI_1.default.rdf)
22
- console.log('UI2.rdf ' + UI2.rdf)
17
+
23
18
  const thisPane = { foo: 'bar' }
24
- exports.default = thisPane
19
+ export default thisPane
25
20
  // ENDS
File without changes
@@ -5,11 +5,11 @@
5
5
  ** trips, etc
6
6
  */
7
7
 
8
- const UI = require('solid-ui')
9
- const $rdf = require('rdflib')
8
+ import * as UI from 'solid-ui'
9
+ import * as $rdf from 'rdflib'
10
10
  const ns = UI.ns
11
11
 
12
- module.exports = {
12
+ export default {
13
13
  // icon: (module.__dirname || __dirname) + '22-pixel-068010-3d-transparent-glass-icon-alphanumeric-dollar-sign.png',
14
14
  icon: UI.icons.iconBase + 'noun_106746.svg',
15
15
 
@@ -5,10 +5,10 @@
5
5
  ** trips, etc
6
6
  */
7
7
 
8
- const UI = require('solid-ui')
8
+ import * as UI from 'solid-ui'
9
9
  const ns = UI.ns
10
10
 
11
- module.exports = {
11
+ export default {
12
12
  icon: UI.icons.iconBase + 'noun_142708.svg',
13
13
 
14
14
  name: 'period',
@@ -8,11 +8,11 @@
8
8
  ** trips, etc
9
9
  */
10
10
 
11
- const UI = require('solid-ui')
12
- const $rdf = require('rdflib')
11
+ import * as UI from 'solid-ui'
12
+ import * as $rdf from 'rdflib'
13
13
  const ns = UI.ns
14
14
 
15
- module.exports = {
15
+ export default {
16
16
  icon: UI.icons.iconBase + 'noun_62007.svg',
17
17
 
18
18
  name: 'travel expenses',
@@ -1,4 +1,8 @@
1
1
  /* eslint-env jest */
2
+ import { TextEncoder, TextDecoder } from 'util'
3
+ global.TextEncoder = TextEncoder as any
4
+ global.TextDecoder = TextDecoder as any
5
+
2
6
  import * as $rdf from 'rdflib'
3
7
  import solidNamespace from 'solid-namespace'
4
8
  import { generateRandomString, getStatementsToDelete, getStatementsToAdd } from './trustedApplications.utils'
package/src/types.ts CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
package/src/ui/pane.js CHANGED
@@ -2,11 +2,11 @@
2
2
  **
3
3
  */
4
4
 
5
- const UI = require('solid-ui')
6
- const $rdf = require('rdflib')
5
+ import * as UI from 'solid-ui'
6
+ import * as $rdf from 'rdflib'
7
7
  const ns = UI.ns
8
8
 
9
- module.exports = {
9
+ export default {
10
10
  // noun_170702.svg' builder noun_122196.svg form
11
11
  icon: UI.icons.iconBase + 'noun_170702.svg',
12
12
 
@@ -1,26 +1,24 @@
1
1
  export default {
2
- buildTime: "2022-11-29T11:51:42Z",
3
- commit: "b025463b5e9cc01466eebddaf08de79cbd8341de",
2
+ buildTime: "2023-02-06T17:53:31Z",
3
+ commit: "6cc8fb8a5139d754b84c06e177b755fe61c0223a",
4
4
  npmInfo:
5
5
  {
6
- 'solid-panes': '3.5.29-alpha.1',
6
+ 'solid-panes': '3.5.30',
7
7
  npm: '8.19.3',
8
- node: '16.14.0',
9
- v8: '9.4.146.24-node.20',
10
- uv: '1.43.0',
8
+ node: '14.21.2',
9
+ v8: '8.4.371.23-node.88',
10
+ uv: '1.42.0',
11
11
  zlib: '1.2.11',
12
12
  brotli: '1.0.9',
13
13
  ares: '1.18.1',
14
- modules: '93',
15
- nghttp2: '1.45.1',
14
+ modules: '83',
15
+ nghttp2: '1.42.0',
16
16
  napi: '8',
17
- llhttp: '6.0.4',
18
- openssl: '1.1.1m+quic',
17
+ llhttp: '2.1.6',
18
+ openssl: '1.1.1s',
19
19
  cldr: '40.0',
20
20
  icu: '70.1',
21
- tz: '2021a3',
22
- unicode: '14.0',
23
- ngtcp2: '0.1.0-DEV',
24
- nghttp3: '0.1.0-DEV'
21
+ tz: '2022f',
22
+ unicode: '14.0'
25
23
  }
26
24
  };
@@ -1,10 +1,10 @@
1
1
  /* Single video play Pane
2
2
  **
3
3
  */
4
- const UI = require('solid-ui')
5
- const $rdf = require('rdflib')
4
+ import * as UI from 'solid-ui'
5
+ import * as $rdf from 'rdflib'
6
6
 
7
- module.exports = {
7
+ export default {
8
8
  icon: UI.icons.iconBase + 'noun_1619.svg',
9
9
 
10
10
  name: 'video',
package/timestamp.sh CHANGED
File without changes
File without changes
package/tsconfig.json CHANGED
File without changes
File without changes
File without changes