solid-panes 3.5.21 → 3.5.22-1138b2aa

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (312) hide show
  1. package/.babelrc +0 -0
  2. package/.eslintignore +0 -0
  3. package/.eslintrc +1 -1
  4. package/.github/workflows/ci.yml +0 -1
  5. package/.nvmrc +1 -1
  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 +1 -1
  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 +4 -4
  16. package/jest.setup.ts +0 -0
  17. package/lib/RDFXMLPane.js +0 -0
  18. package/lib/RDFXMLPane.js.map +0 -0
  19. package/lib/argument/argumentPane.js +0 -0
  20. package/lib/argument/argumentPane.js.map +0 -0
  21. package/lib/attach/attachPane.js +0 -0
  22. package/lib/attach/attachPane.js.map +0 -0
  23. package/lib/audio/audioPane.js +0 -0
  24. package/lib/audio/audioPane.js.map +0 -0
  25. package/lib/classInstancePane.js +0 -0
  26. package/lib/classInstancePane.js.map +0 -0
  27. package/lib/dashboard/basicPreferences.d.ts +0 -0
  28. package/lib/dashboard/basicPreferences.d.ts.map +0 -0
  29. package/lib/dashboard/basicPreferences.js +0 -0
  30. package/lib/dashboard/basicPreferences.js.map +0 -0
  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 +0 -0
  38. package/lib/dashboard/homepage.js.map +0 -0
  39. package/lib/dataContentPane.js +0 -0
  40. package/lib/dataContentPane.js.map +0 -0
  41. package/lib/defaultPane.js +0 -0
  42. package/lib/defaultPane.js.map +0 -0
  43. package/lib/dokieli/dokieliPane.js +0 -0
  44. package/lib/dokieli/dokieliPane.js.map +0 -0
  45. package/lib/dokieli/new.js +0 -0
  46. package/lib/dokieli/new.js.map +0 -0
  47. package/lib/form/pane.js +0 -0
  48. package/lib/form/pane.js.map +0 -0
  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 +0 -0
  54. package/lib/home/homePane.js.map +0 -0
  55. package/lib/humanReadablePane.js +0 -0
  56. package/lib/humanReadablePane.js.map +0 -0
  57. package/lib/imagePane.js +0 -0
  58. package/lib/imagePane.js.map +0 -0
  59. package/lib/index.d.ts +0 -0
  60. package/lib/index.d.ts.map +0 -0
  61. package/lib/index.js +0 -0
  62. package/lib/index.js.map +0 -0
  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 +2 -2
  68. package/lib/mainPage/footer.d.ts.map +1 -1
  69. package/lib/mainPage/footer.js +0 -0
  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 +0 -0
  74. package/lib/mainPage/header.js.map +0 -0
  75. package/lib/mainPage/index.d.ts +2 -2
  76. package/lib/mainPage/index.d.ts.map +1 -1
  77. package/lib/mainPage/index.js +0 -0
  78. package/lib/mainPage/index.js.map +1 -1
  79. package/lib/microblogPane/microblogPane.js +0 -0
  80. package/lib/microblogPane/microblogPane.js.map +0 -0
  81. package/lib/n3Pane.js +0 -0
  82. package/lib/n3Pane.js.map +0 -0
  83. package/lib/outline/context.d.ts +0 -0
  84. package/lib/outline/context.d.ts.map +0 -0
  85. package/lib/outline/context.js +0 -0
  86. package/lib/outline/context.js.map +0 -0
  87. package/lib/outline/licenseOptions.js +0 -0
  88. package/lib/outline/licenseOptions.js.map +0 -0
  89. package/lib/outline/manager.js +37 -80
  90. package/lib/outline/manager.js.map +1 -1
  91. package/lib/outline/manager.test.js +0 -0
  92. package/lib/outline/manager.test.js.map +0 -0
  93. package/lib/outline/outlineIcons.js +0 -0
  94. package/lib/outline/outlineIcons.js.map +0 -0
  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 -0
  98. package/lib/outline/propertyViews.js.map +0 -0
  99. package/lib/outline/propertyViews.test.js +0 -0
  100. package/lib/outline/propertyViews.test.js.map +0 -0
  101. package/lib/outline/queryByExample.js +0 -0
  102. package/lib/outline/queryByExample.js.map +0 -0
  103. package/lib/outline/userInput.js +0 -0
  104. package/lib/outline/userInput.js.map +0 -0
  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 +0 -0
  118. package/lib/playlist/playlistPane.js.map +0 -0
  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 +0 -0
  122. package/lib/profile/editProfile.view.js.map +0 -0
  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 +0 -0
  128. package/lib/registerPanes.js.map +0 -0
  129. package/lib/schedule/formsForSchedule.js +0 -0
  130. package/lib/schedule/formsForSchedule.js.map +0 -0
  131. package/lib/schedule/schedulePane.js +0 -0
  132. package/lib/schedule/schedulePane.js.map +0 -0
  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 +0 -0
  138. package/lib/slideshow/slideshowPane.js.map +0 -0
  139. package/lib/socialPane.js +0 -0
  140. package/lib/socialPane.js.map +0 -0
  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 +0 -0
  144. package/lib/tabbed/tabbedPane.js.map +0 -0
  145. package/lib/tableViewPane.js +0 -0
  146. package/lib/tableViewPane.js.map +0 -0
  147. package/lib/test-import-export/common.js +0 -0
  148. package/lib/test-import-export/common.js.map +0 -0
  149. package/lib/test-import-export/edit-importer.js +0 -0
  150. package/lib/test-import-export/edit-importer.js.map +0 -0
  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 +0 -0
  154. package/lib/transaction/pane.js.map +0 -0
  155. package/lib/transaction/period.js +0 -0
  156. package/lib/transaction/period.js.map +0 -0
  157. package/lib/trip/tripPane.js +0 -0
  158. package/lib/trip/tripPane.js.map +0 -0
  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 +0 -0
  162. package/lib/trustedApplications/trustedApplications.dom.js.map +0 -0
  163. package/lib/trustedApplications/trustedApplications.test.js +0 -0
  164. package/lib/trustedApplications/trustedApplications.test.js.map +0 -0
  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 -0
  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 +0 -0
  172. package/lib/trustedApplications/trustedApplications.view.js.map +0 -0
  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 +0 -0
  178. package/lib/ui/pane.js.map +0 -0
  179. package/lib/versionInfo.d.ts +0 -0
  180. package/lib/versionInfo.d.ts.map +1 -1
  181. package/lib/versionInfo.js +14 -14
  182. package/lib/versionInfo.js.map +1 -1
  183. package/lib/video/videoPane.js +0 -0
  184. package/lib/video/videoPane.js.map +0 -0
  185. package/package.json +36 -43
  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 +2 -2
  228. package/src/mainPage/header.ts +0 -0
  229. package/src/mainPage/index.ts +2 -2
  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 +6 -55
  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 +0 -0
  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 +16 -16
  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 +1 -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 +2 -9
  310. package/lib/outline/dragDrop.js +0 -406
  311. package/lib/outline/dragDrop.js.map +0 -1
  312. package/src/outline/dragDrop.js +0 -444
package/.babelrc CHANGED
File without changes
package/.eslintignore CHANGED
File without changes
package/.eslintrc CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
+ "root": true,
2
3
  "env": {
3
4
  "browser": true,
4
5
  "es6": true,
5
6
  "node": true
6
7
  },
7
- "extends": "standard",
8
8
  "globals": {
9
9
  "Atomics": "readonly",
10
10
  "SharedArrayBuffer": "readonly"
@@ -20,7 +20,6 @@ jobs:
20
20
  strategy:
21
21
  matrix:
22
22
  node-version:
23
- - 12.x
24
23
  - 14.x
25
24
  - 16.x
26
25
 
package/.nvmrc CHANGED
@@ -1 +1 @@
1
- v12.7.0
1
+ v16.14.0
File without changes
File without changes
package/LICENSE.md CHANGED
File without changes
package/README.md CHANGED
File without changes
package/dev/index.html CHANGED
File without changes
package/dev/loader.ts CHANGED
@@ -2,7 +2,7 @@ import * as paneRegistry from 'pane-registry'
2
2
  import * as $rdf from 'rdflib'
3
3
  import { solidLogicSingleton, store, authSession } from 'solid-logic'
4
4
  import { getOutliner } from '../src'
5
- import * as Pane from './pane'
5
+ import Pane from 'profile-pane'
6
6
 
7
7
  // FIXME:
8
8
  window.$rdf = $rdf
package/dev/pane/index.ts CHANGED
File without changes
File without changes
File without changes
package/jest.config.js CHANGED
@@ -11,10 +11,10 @@ module.exports = {
11
11
  // https://github.com/gotwarlost/istanbul/blob/master/ignoring-code-for-coverage.md
12
12
  coverageThreshold: {
13
13
  global: {
14
- branches: 20,
15
- functions: 33,
16
- lines: 35,
17
- statements: 35
14
+ branches: 10,
15
+ functions: 25,
16
+ lines: 20,
17
+ statements: 20
18
18
  }
19
19
  },
20
20
  setupFilesAfterEnv: ['./jest.setup.ts']
package/jest.setup.ts CHANGED
File without changes
package/lib/RDFXMLPane.js CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/lib/form/pane.js CHANGED
File without changes
File without changes
package/lib/global.d.js CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/lib/imagePane.js CHANGED
File without changes
File without changes
package/lib/index.d.ts CHANGED
File without changes
File without changes
package/lib/index.js CHANGED
File without changes
package/lib/index.js.map CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -1,3 +1,3 @@
1
- import { IndexedFormula } from 'rdflib';
2
- export declare function createFooter(store: IndexedFormula): void;
1
+ import { LiveStore } from 'rdflib';
2
+ export declare function createFooter(store: LiveStore): void;
3
3
  //# sourceMappingURL=footer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"footer.d.ts","sourceRoot":"","sources":["../../src/mainPage/footer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAA;AASvC,wBAAgB,YAAY,CAAE,KAAK,EAAE,cAAc,QAElD"}
1
+ {"version":3,"file":"footer.d.ts","sourceRoot":"","sources":["../../src/mainPage/footer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAA;AASlC,wBAAgB,YAAY,CAAE,KAAK,EAAE,SAAS,QAE7C"}
File without changes
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/mainPage/footer.ts"],"names":["SOLID_PROJECT_URL","SOLID_PROJECT_NAME","createFooter","store","setFooterOptions","solidProjectUrl","solidProjectName"],"mappings":";;;;;;;AACA;;AAEA;AACA;AACA;AACA,IAAMA,iBAAiB,GAAG,0BAA1B;AACA,IAAMC,kBAAkB,GAAG,kBAA3B;;AAEO,SAASC,YAAT,CAAuBC,KAAvB,EAA8C;AACnD,2BAAWA,KAAX,EAAkBC,gBAAgB,EAAlC;AACD;;AAED,SAASA,gBAAT,GAA6B;AAC3B,SAAO;AACLC,IAAAA,eAAe,EAAEL,iBADZ;AAELM,IAAAA,gBAAgB,EAAEL;AAFb,GAAP;AAID","sourcesContent":["import { IndexedFormula } from 'rdflib'\nimport { initFooter } from 'solid-ui'\n\n/**\n * links in the footer\n*/\nconst SOLID_PROJECT_URL = 'https://solidproject.org'\nconst SOLID_PROJECT_NAME = 'solidproject.org'\n\nexport function createFooter (store: IndexedFormula) {\n initFooter(store, setFooterOptions())\n}\n\nfunction setFooterOptions () {\n return {\n solidProjectUrl: SOLID_PROJECT_URL,\n solidProjectName: SOLID_PROJECT_NAME\n }\n}\n"],"file":"footer.js"}
1
+ {"version":3,"sources":["../../src/mainPage/footer.ts"],"names":["SOLID_PROJECT_URL","SOLID_PROJECT_NAME","createFooter","store","setFooterOptions","solidProjectUrl","solidProjectName"],"mappings":";;;;;;;AACA;;AAEA;AACA;AACA;AACA,IAAMA,iBAAiB,GAAG,0BAA1B;AACA,IAAMC,kBAAkB,GAAG,kBAA3B;;AAEO,SAASC,YAAT,CAAuBC,KAAvB,EAAyC;AAC9C,2BAAWA,KAAX,EAAkBC,gBAAgB,EAAlC;AACD;;AAED,SAASA,gBAAT,GAA6B;AAC3B,SAAO;AACLC,IAAAA,eAAe,EAAEL,iBADZ;AAELM,IAAAA,gBAAgB,EAAEL;AAFb,GAAP;AAID","sourcesContent":["import { LiveStore } from 'rdflib'\nimport { initFooter } from 'solid-ui'\n\n/**\n * links in the footer\n*/\nconst SOLID_PROJECT_URL = 'https://solidproject.org'\nconst SOLID_PROJECT_NAME = 'solidproject.org'\n\nexport function createFooter (store: LiveStore) {\n initFooter(store, setFooterOptions())\n}\n\nfunction setFooterOptions () {\n return {\n solidProjectUrl: SOLID_PROJECT_URL,\n solidProjectName: SOLID_PROJECT_NAME\n }\n}\n"],"file":"footer.js"}
File without changes
File without changes
File without changes
File without changes
@@ -1,3 +1,3 @@
1
- import { IndexedFormula, NamedNode } from 'rdflib';
2
- export default function initMainPage(store: IndexedFormula, uri?: string | NamedNode | null): Promise<[void, void]>;
1
+ import { LiveStore, NamedNode } from 'rdflib';
2
+ export default function initMainPage(store: LiveStore, uri?: string | NamedNode | null): Promise<[void, void]>;
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/mainPage/index.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAA;AAKlD,wBAA8B,YAAY,CAAE,KAAK,EAAE,cAAc,EAAE,GAAG,CAAC,EAAE,MAAM,GAAC,SAAS,GAAC,IAAI,yBAS7F"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/mainPage/index.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAA;AAK7C,wBAA8B,YAAY,CAAE,KAAK,EAAE,SAAS,EAAE,GAAG,CAAC,EAAE,MAAM,GAAC,SAAS,GAAC,IAAI,yBASxF"}
File without changes
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/mainPage/index.ts"],"names":["initMainPage","store","uri","outliner","document","window","location","href","subject","sym","GotoSubject","undefined","header","footer","Promise","all"],"mappings":";;;;;;;AAMA;;AACA;;AACA;;;;;;SAE8BA,Y;;;;;0EAAf,iBAA6BC,KAA7B,EAAoDC,GAApD;AAAA;AAAA;AAAA;AAAA;AAAA;AACPC,YAAAA,QADO,GACI,wBAAYC,QAAZ,CADJ;AAEbF,YAAAA,GAAG,GAAGA,GAAG,IAAIG,MAAM,CAACC,QAAP,CAAgBC,IAA7B;AACIC,YAAAA,OAHS,GAGCN,GAHD;AAIb,gBAAI,OAAOA,GAAP,KAAe,QAAnB,EAA6BM,OAAO,GAAGP,KAAK,CAACQ,GAAN,CAAUP,GAAV,CAAV;AAC7BC,YAAAA,QAAQ,CAACO,WAAT,CAAqBF,OAArB,EAA8B,IAA9B,EAAoCG,SAApC,EAA+C,IAA/C,EAAqDA,SAArD;AALa;AAAA,mBAMQ,0BAAaV,KAAb,EAAoBE,QAApB,CANR;;AAAA;AAMPS,YAAAA,MANO;AAOPC,YAAAA,MAPO,GAOE,0BAAaZ,KAAb,CAPF;AAAA,6CAQNa,OAAO,CAACC,GAAR,CAAY,CAACH,MAAD,EAASC,MAAT,CAAZ,CARM;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,G","sourcesContent":["/* Main Page\n **\n ** This code is called in mashlib and renders the header and footer of the Databrowser.\n */\n\nimport { IndexedFormula, NamedNode } from 'rdflib'\nimport { getOutliner } from '../index'\nimport { createHeader } from './header'\nimport { createFooter } from './footer'\n\nexport default async function initMainPage (store: IndexedFormula, uri?: string|NamedNode|null) {\n const outliner = getOutliner(document)\n uri = uri || window.location.href\n let subject = uri\n if (typeof uri === 'string') subject = store.sym(uri)\n outliner.GotoSubject(subject, true, undefined, true, undefined)\n const header = await createHeader(store, outliner)\n const footer = createFooter(store)\n return Promise.all([header, footer])\n}\n"],"file":"index.js"}
1
+ {"version":3,"sources":["../../src/mainPage/index.ts"],"names":["initMainPage","store","uri","outliner","document","window","location","href","subject","sym","GotoSubject","undefined","header","footer","Promise","all"],"mappings":";;;;;;;AAMA;;AACA;;AACA;;;;;;SAE8BA,Y;;;;;0EAAf,iBAA6BC,KAA7B,EAA+CC,GAA/C;AAAA;AAAA;AAAA;AAAA;AAAA;AACPC,YAAAA,QADO,GACI,wBAAYC,QAAZ,CADJ;AAEbF,YAAAA,GAAG,GAAGA,GAAG,IAAIG,MAAM,CAACC,QAAP,CAAgBC,IAA7B;AACIC,YAAAA,OAHS,GAGCN,GAHD;AAIb,gBAAI,OAAOA,GAAP,KAAe,QAAnB,EAA6BM,OAAO,GAAGP,KAAK,CAACQ,GAAN,CAAUP,GAAV,CAAV;AAC7BC,YAAAA,QAAQ,CAACO,WAAT,CAAqBF,OAArB,EAA8B,IAA9B,EAAoCG,SAApC,EAA+C,IAA/C,EAAqDA,SAArD;AALa;AAAA,mBAMQ,0BAAaV,KAAb,EAAoBE,QAApB,CANR;;AAAA;AAMPS,YAAAA,MANO;AAOPC,YAAAA,MAPO,GAOE,0BAAaZ,KAAb,CAPF;AAAA,6CAQNa,OAAO,CAACC,GAAR,CAAY,CAACH,MAAD,EAASC,MAAT,CAAZ,CARM;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,G","sourcesContent":["/* Main Page\n **\n ** This code is called in mashlib and renders the header and footer of the Databrowser.\n */\n\nimport { LiveStore, NamedNode } from 'rdflib'\nimport { getOutliner } from '../index'\nimport { createHeader } from './header'\nimport { createFooter } from './footer'\n\nexport default async function initMainPage (store: LiveStore, uri?: string|NamedNode|null) {\n const outliner = getOutliner(document)\n uri = uri || window.location.href\n let subject = uri\n if (typeof uri === 'string') subject = store.sym(uri)\n outliner.GotoSubject(subject, true, undefined, true, undefined)\n const header = await createHeader(store, outliner)\n const footer = createFooter(store)\n return Promise.all([header, footer])\n}\n"],"file":"index.js"}
File without changes
File without changes
package/lib/n3Pane.js CHANGED
File without changes
package/lib/n3Pane.js.map CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -7,21 +7,13 @@ Object.defineProperty(exports, "__esModule", {
7
7
  });
8
8
  exports["default"] = _default;
9
9
 
10
- var UI = _interopRequireWildcard(require("solid-ui"));
11
-
12
- var _solidLogic = require("solid-logic");
13
-
14
10
  var paneRegistry = _interopRequireWildcard(require("pane-registry"));
15
11
 
16
12
  var $rdf = _interopRequireWildcard(require("rdflib"));
17
13
 
18
- var _dragDrop = _interopRequireDefault(require("./dragDrop"));
19
-
20
- var _outlineIcons = _interopRequireDefault(require("./outlineIcons"));
21
-
22
- var _userInput = _interopRequireDefault(require("./userInput"));
14
+ var UI = _interopRequireWildcard(require("solid-ui"));
23
15
 
24
- var _queryByExample = _interopRequireDefault(require("./queryByExample"));
16
+ var _solidLogic = require("solid-logic");
25
17
 
26
18
  var _propertyViews = _interopRequireDefault(require("./propertyViews"));
27
19
 
@@ -47,13 +39,20 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try
47
39
 
48
40
  function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
49
41
 
42
+ var outlineIcons = require('./outlineIcons.js');
43
+
44
+ var UserInput = require('./userInput.js');
45
+
46
+ var queryByExample = require('./queryByExample.js');
50
47
  /* global alert XPathResult sourceWidget */
51
48
  // XPathResult?
52
49
  // const iconHeight = '24px'
50
+
51
+
53
52
  function _default(context) {
54
53
  var dom = context.dom;
55
54
  this.document = context.dom;
56
- this.outlineIcons = _outlineIcons["default"];
55
+ this.outlineIcons = outlineIcons;
57
56
  this.labeller = this.labeller || {};
58
57
  this.labeller.LanguagePreference = ''; // for now
59
58
 
@@ -69,11 +68,11 @@ function _default(context) {
69
68
  var kb = _solidLogic.store;
70
69
  var sf = _solidLogic.store.fetcher;
71
70
  dom.outline = this;
72
- this.qs = new _queryByExample["default"].QuerySource(); // Track queries in queryByExample
71
+ this.qs = new queryByExample.QuerySource(); // Track queries in queryByExample
73
72
  // var selection = [] // Array of statements which have been selected
74
73
  // this.focusTd // the <td> that is being observed
75
74
 
76
- this.UserInput = new _userInput["default"](this);
75
+ this.UserInput = new UserInput(this);
77
76
  this.clipboardAddress = 'tabulator:clipboard'; // Weird
78
77
 
79
78
  this.UserInput.clipboardInit(this.clipboardAddress);
@@ -108,7 +107,7 @@ function _default(context) {
108
107
 
109
108
 
110
109
  function appendRemoveIcon(node, subject, removeNode) {
111
- var image = UI.utils.AJARImage(_outlineIcons["default"].src.icon_remove_node, 'remove', undefined, dom);
110
+ var image = UI.utils.AJARImage(outlineIcons.src.icon_remove_node, 'remove', undefined, dom);
112
111
  image.addEventListener('click', removeNodeIconMouseDownListener); // image.setAttribute('align', 'right') Causes icon to be moved down
113
112
 
114
113
  image.node = removeNode;
@@ -142,38 +141,38 @@ function _default(context) {
142
141
 
143
142
  switch (state) {
144
143
  case 'unrequested':
145
- icon = _outlineIcons["default"].src.icon_unrequested;
144
+ icon = outlineIcons.src.icon_unrequested;
146
145
  alt = 'fetch';
147
146
  listener = unrequestedIconMouseDownListener;
148
147
  break;
149
148
 
150
149
  case 'requested':
151
- icon = _outlineIcons["default"].src.icon_requested;
150
+ icon = outlineIcons.src.icon_requested;
152
151
  alt = 'fetching';
153
152
  listener = failedIconMouseDownListener; // new: can retry yello blob
154
153
 
155
154
  break;
156
155
 
157
156
  case 'fetched':
158
- icon = _outlineIcons["default"].src.icon_fetched;
157
+ icon = outlineIcons.src.icon_fetched;
159
158
  listener = fetchedIconMouseDownListener;
160
159
  alt = 'loaded';
161
160
  break;
162
161
 
163
162
  case 'failed':
164
- icon = _outlineIcons["default"].src.icon_failed;
163
+ icon = outlineIcons.src.icon_failed;
165
164
  alt = 'failed';
166
165
  listener = failedIconMouseDownListener;
167
166
  break;
168
167
 
169
168
  case 'unpermitted':
170
- icon = _outlineIcons["default"].src.icon_failed;
169
+ icon = outlineIcons.src.icon_failed;
171
170
  listener = failedIconMouseDownListener;
172
171
  alt = 'no perm';
173
172
  break;
174
173
 
175
174
  case 'unfetchable':
176
- icon = _outlineIcons["default"].src.icon_failed;
175
+ icon = outlineIcons.src.icon_failed;
177
176
  listener = failedIconMouseDownListener;
178
177
  alt = 'cannot fetch';
179
178
  break;
@@ -184,7 +183,7 @@ function _default(context) {
184
183
  } // switch
185
184
 
186
185
 
187
- var img = UI.utils.AJARImage(icon, alt, _outlineIcons["default"].tooltips[icon].replace(/[Tt]his resource/, docuri), dom);
186
+ var img = UI.utils.AJARImage(icon, alt, outlineIcons.tooltips[icon].replace(/[Tt]his resource/, docuri), dom);
188
187
  img.setAttribute('uri', uri);
189
188
  img.addEventListener('click', listener); // @@ seemed to be missing 2017-08
190
189
 
@@ -192,13 +191,6 @@ function _default(context) {
192
191
  node.appendChild(img);
193
192
  return img;
194
193
  }; // appendAccessIcon
195
- // Six different Creative Commons Licenses:
196
- // 1. http://creativecommons.org/licenses/by-nc-nd/3.0/
197
- // 2. http://creativecommons.org/licenses/by-nc-sa/3.0/
198
- // 3. http://creativecommons.org/licenses/by-nc/3.0/
199
- // 4. http://creativecommons.org/licenses/by-nd/3.0/
200
- // 5. http://creativecommons.org/licenses/by-sa/3.0/
201
- // 6. http://creativecommons.org/licenses/by/3.0/
202
194
 
203
195
  /** make the td for an object (grammatical object)
204
196
  * @param obj - an RDF term
@@ -250,29 +242,7 @@ function _default(context) {
250
242
 
251
243
  td.tabulatorDeselect = function () {
252
244
  setSelected(this, false);
253
- }; // Create an inquiry icon if there is proof about this triple
254
-
255
-
256
- if (statement) {
257
- var oneStatementFormula = new UI.rdf.IndexedFormula();
258
- oneStatementFormula.statements.push(statement); // st.asFormula()
259
- // The following works because Formula.hashString works fine for
260
- // one statement formula
261
-
262
- var reasons = kb.each(oneStatementFormula, kb.sym('http://dig.csail.mit.edu/TAMI/2007/amord/tms#justification'));
263
-
264
- if (reasons.length) {
265
- var inquirySpan = dom.createElement('span');
266
-
267
- if (reasons.length > 1) {
268
- inquirySpan.innerHTML = ' &times; ' + reasons.length;
269
- }
270
-
271
- inquirySpan.setAttribute('class', 'inquiry');
272
- inquirySpan.insertBefore(UI.utils.AJARImage(_outlineIcons["default"].src.icon_display_reasons, 'explain', undefined, dom), inquirySpan.firstChild);
273
- td.appendChild(inquirySpan);
274
- }
275
- }
245
+ };
276
246
 
277
247
  td.addEventListener('click', selectableTDClickListener);
278
248
  return td;
@@ -310,18 +280,13 @@ function _default(context) {
310
280
  labelTD.style.width = '100%';
311
281
  predicateTD.appendChild(termWidget.construct(dom)); // termWidget is global???
312
282
 
313
- for (var w in _outlineIcons["default"].termWidgets) {
283
+ for (var w in outlineIcons.termWidgets) {
314
284
  if (!newTr || !newTr.AJAR_statement) break; // case for TBD as predicate
315
285
  // alert(Icon.termWidgets[w]+' '+Icon.termWidgets[w].filter)
316
286
 
317
- if (_outlineIcons["default"].termWidgets[w].filter && _outlineIcons["default"].termWidgets[w].filter(newTr.AJAR_statement, 'pred', inverse)) {
318
- termWidget.addIcon(predicateTD, _outlineIcons["default"].termWidgets[w]);
287
+ if (outlineIcons.termWidgets[w].filter && outlineIcons.termWidgets[w].filter(newTr.AJAR_statement, 'pred', inverse)) {
288
+ termWidget.addIcon(predicateTD, outlineIcons.termWidgets[w]);
319
289
  }
320
- }
321
-
322
- try {// new YAHOO.util.DDExternalProxy(predicateTD)
323
- } catch (e) {
324
- UI.log.error('drag and drop not supported');
325
290
  } // set DOM methods
326
291
 
327
292
 
@@ -1625,16 +1590,16 @@ function _default(context) {
1625
1590
 
1626
1591
  if (req === fireOn) {
1627
1592
  target.src = icon;
1628
- target.title = _outlineIcons["default"].tooltips[icon];
1593
+ target.title = outlineIcons.tooltips[icon];
1629
1594
  }
1630
1595
 
1631
1596
  return true;
1632
1597
  };
1633
1598
  };
1634
1599
 
1635
- sf.addCallback('request', makeIconCallback(_outlineIcons["default"].src.icon_requested));
1636
- sf.addCallback('done', makeIconCallback(_outlineIcons["default"].src.icon_fetched));
1637
- sf.addCallback('fail', makeIconCallback(_outlineIcons["default"].src.icon_failed));
1600
+ sf.addCallback('request', makeIconCallback(outlineIcons.src.icon_requested));
1601
+ sf.addCallback('done', makeIconCallback(outlineIcons.src.icon_fetched));
1602
+ sf.addCallback('fail', makeIconCallback(outlineIcons.src.icon_failed));
1638
1603
  } // Selection support
1639
1604
 
1640
1605
 
@@ -1649,7 +1614,7 @@ function _default(context) {
1649
1614
  // outlineIcons.src.icon_opton needed?
1650
1615
  var target = thisOutline.targetOf(e);
1651
1616
  var p = target.parentNode;
1652
- termWidget.replaceIcon(p.parentNode, _outlineIcons["default"].termWidgets.optOn, _outlineIcons["default"].termWidgets.optOff, optOffIconMouseDownListener);
1617
+ termWidget.replaceIcon(p.parentNode, outlineIcons.termWidgets.optOn, outlineIcons.termWidgets.optOff, optOffIconMouseDownListener);
1653
1618
  p.parentNode.parentNode.removeAttribute('optional');
1654
1619
  }
1655
1620
 
@@ -1657,13 +1622,13 @@ function _default(context) {
1657
1622
  // outlineIcons.src.icon_optoff needed?
1658
1623
  var target = thisOutline.targetOf(e);
1659
1624
  var p = target.parentNode;
1660
- termWidget.replaceIcon(p.parentNode, _outlineIcons["default"].termWidgets.optOff, _outlineIcons["default"].termWidgets.optOn, optOnIconMouseDownListener);
1625
+ termWidget.replaceIcon(p.parentNode, outlineIcons.termWidgets.optOff, outlineIcons.termWidgets.optOn, optOnIconMouseDownListener);
1661
1626
  p.parentNode.parentNode.setAttribute('optional', 'true');
1662
1627
  }
1663
1628
 
1664
1629
  function setSelectedParent(node, inc) {
1665
- var onIcon = _outlineIcons["default"].termWidgets.optOn;
1666
- var offIcon = _outlineIcons["default"].termWidgets.optOff;
1630
+ var onIcon = outlineIcons.termWidgets.optOn;
1631
+ var offIcon = outlineIcons.termWidgets.optOff;
1667
1632
 
1668
1633
  for (var n = node; n.parentNode; n = n.parentNode) {
1669
1634
  while (true) {
@@ -1779,7 +1744,7 @@ function _default(context) {
1779
1744
 
1780
1745
 
1781
1746
  if (editable && cla.indexOf('pred') >= 0) {
1782
- termWidget.addIcon(node, _outlineIcons["default"].termWidgets.addTri);
1747
+ termWidget.addIcon(node, outlineIcons.termWidgets.addTri);
1783
1748
  } // Add blue plus
1784
1749
 
1785
1750
  }
@@ -1794,7 +1759,7 @@ function _default(context) {
1794
1759
  }
1795
1760
 
1796
1761
  if (cla.indexOf('pred') >= 0) {
1797
- termWidget.removeIcon(node, _outlineIcons["default"].termWidgets.addTri);
1762
+ termWidget.removeIcon(node, outlineIcons.termWidgets.addTri);
1798
1763
  }
1799
1764
 
1800
1765
  selection = selection.filter(function (x) {
@@ -2330,11 +2295,11 @@ function _default(context) {
2330
2295
  // have to put this here or this conflicts with deselectAll()
2331
2296
 
2332
2297
 
2333
- if (!target.src || target.src.slice(target.src.indexOf('/icons/') + 1) !== _outlineIcons["default"].src.icon_show_choices && target.src.slice(target.src.indexOf('/icons/') + 1) !== _outlineIcons["default"].src.icon_add_triple) {
2298
+ if (!target.src || target.src.slice(target.src.indexOf('/icons/') + 1) !== outlineIcons.src.icon_show_choices && target.src.slice(target.src.indexOf('/icons/') + 1) !== outlineIcons.src.icon_add_triple) {
2334
2299
  thisOutline.UserInput.clearInputAndSave(e);
2335
2300
  }
2336
2301
 
2337
- if (!target.src || target.src.slice(target.src.indexOf('/icons/') + 1) !== _outlineIcons["default"].src.icon_show_choices) {
2302
+ if (!target.src || target.src.slice(target.src.indexOf('/icons/') + 1) !== outlineIcons.src.icon_show_choices) {
2338
2303
  thisOutline.UserInput.clearMenu();
2339
2304
  }
2340
2305
 
@@ -2392,14 +2357,6 @@ function _default(context) {
2392
2357
  newTable.style.backgroundColor = 'white';
2393
2358
  }
2394
2359
 
2395
- try {
2396
- if (_dragDrop["default"].util.Event.off) {
2397
- _dragDrop["default"].util.Event.off(p, 'mousedown', 'dragMouseDown');
2398
- }
2399
- } catch (e) {
2400
- console.log('YAHOO ' + e);
2401
- }
2402
-
2403
2360
  UI.utils.emptyNode(p).appendChild(newTable);
2404
2361
  thisOutline.focusTd = p; // I don't know why I couldn't use 'this'...because not defined in callbacks
2405
2362
 
@@ -2722,7 +2679,7 @@ function _default(context) {
2722
2679
  var anchor = dom.createElement('a');
2723
2680
  rep.appendChild(dom.createTextNode(num));
2724
2681
  anchor.setAttribute('href', obj.uri);
2725
- anchor.appendChild(UI.utils.AJARImage(_outlineIcons["default"].src.icon_telephone, 'phone', 'phone ' + num, dom));
2682
+ anchor.appendChild(UI.utils.AJARImage(outlineIcons.src.icon_telephone, 'phone', 'phone ' + num, dom));
2726
2683
  rep.appendChild(anchor);
2727
2684
  anchor.firstChild.setAttribute('class', 'phoneIcon');
2728
2685
  } else {