solid-panes 3.5.28-bc882da5 → 3.5.28-c481e73e

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 (140) hide show
  1. package/lib/RDFXMLPane.js +10 -2
  2. package/lib/RDFXMLPane.js.map +1 -1
  3. package/lib/argument/argumentPane.js +7 -5
  4. package/lib/argument/argumentPane.js.map +1 -1
  5. package/lib/attach/attachPane.js +13 -7
  6. package/lib/attach/attachPane.js.map +1 -1
  7. package/lib/audio/audioPane.js +13 -6
  8. package/lib/audio/audioPane.js.map +1 -1
  9. package/lib/classInstancePane.js +11 -3
  10. package/lib/classInstancePane.js.map +1 -1
  11. package/lib/dashboard/basicPreferences.js +96 -104
  12. package/lib/dashboard/basicPreferences.js.map +1 -1
  13. package/lib/dashboard/homepage.js +27 -31
  14. package/lib/dashboard/homepage.js.map +1 -1
  15. package/lib/dataContentPane.js +12 -4
  16. package/lib/dataContentPane.js.map +1 -1
  17. package/lib/defaultPane.js +11 -3
  18. package/lib/defaultPane.js.map +1 -1
  19. package/lib/dokieli/dokieliPane.js +15 -11
  20. package/lib/dokieli/dokieliPane.js.map +1 -1
  21. package/lib/dokieli/new.js +6 -1
  22. package/lib/dokieli/new.js.map +1 -1
  23. package/lib/form/pane.js +8 -5
  24. package/lib/form/pane.js.map +1 -1
  25. package/lib/home/homePane.d.ts.map +1 -1
  26. package/lib/home/homePane.js +35 -49
  27. package/lib/home/homePane.js.map +1 -1
  28. package/lib/imagePane.js +11 -2
  29. package/lib/imagePane.js.map +1 -1
  30. package/lib/index.js +2 -2
  31. package/lib/index.js.map +1 -1
  32. package/lib/mainPage/header.js +65 -73
  33. package/lib/mainPage/header.js.map +1 -1
  34. package/lib/mainPage/index.js +17 -19
  35. package/lib/mainPage/index.js.map +1 -1
  36. package/lib/microblogPane/microblogPane.js +82 -84
  37. package/lib/microblogPane/microblogPane.js.map +1 -1
  38. package/lib/n3Pane.js +11 -2
  39. package/lib/n3Pane.js.map +1 -1
  40. package/lib/outline/licenseOptions.js +13 -11
  41. package/lib/outline/licenseOptions.js.map +1 -1
  42. package/lib/outline/manager.js +581 -616
  43. package/lib/outline/manager.js.map +1 -1
  44. package/lib/outline/manager.test.js +16 -15
  45. package/lib/outline/manager.test.js.map +1 -1
  46. package/lib/outline/outlineIcons.js +10 -2
  47. package/lib/outline/outlineIcons.js.map +1 -1
  48. package/lib/outline/propertyViews.d.ts +3 -2
  49. package/lib/outline/propertyViews.d.ts.map +1 -1
  50. package/lib/outline/propertyViews.js +7 -5
  51. package/lib/outline/propertyViews.js.map +1 -1
  52. package/lib/outline/propertyViews.test.js +6 -4
  53. package/lib/outline/propertyViews.test.js.map +1 -1
  54. package/lib/outline/queryByExample.js +6 -6
  55. package/lib/outline/queryByExample.js.map +1 -1
  56. package/lib/outline/userInput.js +7 -5
  57. package/lib/outline/userInput.js.map +1 -1
  58. package/lib/playlist/playlistPane.js +13 -6
  59. package/lib/playlist/playlistPane.js.map +1 -1
  60. package/lib/profile/editProfile.view.d.ts.map +1 -1
  61. package/lib/profile/editProfile.view.js +16 -0
  62. package/lib/profile/editProfile.view.js.map +1 -1
  63. package/lib/registerPanes.js +93 -50
  64. package/lib/registerPanes.js.map +1 -1
  65. package/lib/schedule/formsForSchedule.js +6 -1
  66. package/lib/schedule/formsForSchedule.js.map +1 -1
  67. package/lib/schedule/schedulePane.js +9 -4
  68. package/lib/schedule/schedulePane.js.map +1 -1
  69. package/lib/slideshow/slideshowPane.js +16 -11
  70. package/lib/slideshow/slideshowPane.js.map +1 -1
  71. package/lib/socialPane.js +13 -9
  72. package/lib/socialPane.js.map +1 -1
  73. package/lib/tabbed/tabbedPane.js +32 -34
  74. package/lib/tabbed/tabbedPane.js.map +1 -1
  75. package/lib/tableViewPane.js +12 -3
  76. package/lib/tableViewPane.js.map +1 -1
  77. package/lib/test-import-export/common.js +6 -2
  78. package/lib/test-import-export/common.js.map +1 -1
  79. package/lib/test-import-export/edit-importer.js +9 -11
  80. package/lib/test-import-export/edit-importer.js.map +1 -1
  81. package/lib/transaction/pane.js +12 -6
  82. package/lib/transaction/pane.js.map +1 -1
  83. package/lib/transaction/period.js +11 -4
  84. package/lib/transaction/period.js.map +1 -1
  85. package/lib/trip/tripPane.js +12 -5
  86. package/lib/trip/tripPane.js.map +1 -1
  87. package/lib/trustedApplications/trustedApplications.dom.js +4 -1
  88. package/lib/trustedApplications/trustedApplications.dom.js.map +1 -1
  89. package/lib/trustedApplications/trustedApplications.test.js +3 -0
  90. package/lib/trustedApplications/trustedApplications.test.js.map +1 -1
  91. package/lib/trustedApplications/trustedApplications.utils.js +1 -1
  92. package/lib/trustedApplications/trustedApplications.view.js +38 -40
  93. package/lib/trustedApplications/trustedApplications.view.js.map +1 -1
  94. package/lib/ui/pane.js +12 -5
  95. package/lib/ui/pane.js.map +1 -1
  96. package/lib/versionInfo.js +2 -2
  97. package/lib/versionInfo.js.map +1 -1
  98. package/lib/video/videoPane.js +12 -5
  99. package/lib/video/videoPane.js.map +1 -1
  100. package/package.json +2 -2
  101. package/src/RDFXMLPane.js +2 -2
  102. package/src/argument/argumentPane.js +1 -1
  103. package/src/attach/attachPane.js +3 -3
  104. package/src/audio/audioPane.js +3 -3
  105. package/src/classInstancePane.js +3 -3
  106. package/src/dataContentPane.js +3 -4
  107. package/src/defaultPane.js +3 -3
  108. package/src/dokieli/dokieliPane.js +5 -5
  109. package/src/dokieli/new.js +1 -1
  110. package/src/form/pane.js +2 -2
  111. package/src/home/homePane.ts +1 -14
  112. package/src/imagePane.js +2 -2
  113. package/src/index.ts +1 -1
  114. package/src/microblogPane/microblogPane.js +1 -1
  115. package/src/n3Pane.js +2 -2
  116. package/src/outline/licenseOptions.js +9 -8
  117. package/src/outline/manager.js +18 -21
  118. package/src/outline/manager.test.ts +6 -0
  119. package/src/outline/outlineIcons.js +4 -2
  120. package/src/outline/propertyViews.test.ts +7 -1
  121. package/src/outline/propertyViews.ts +3 -3
  122. package/src/outline/queryByExample.js +3 -9
  123. package/src/outline/userInput.js +1 -1
  124. package/src/playlist/playlistPane.js +3 -3
  125. package/src/profile/editProfile.view.ts +20 -0
  126. package/src/registerPanes.js +92 -52
  127. package/src/schedule/formsForSchedule.js +1 -1
  128. package/src/schedule/schedulePane.js +6 -2
  129. package/src/slideshow/slideshowPane.js +3 -6
  130. package/src/socialPane.js +2 -3
  131. package/src/tableViewPane.js +3 -3
  132. package/src/test-import-export/common.js +1 -1
  133. package/src/test-import-export/edit-importer.js +5 -10
  134. package/src/transaction/pane.js +3 -3
  135. package/src/transaction/period.js +2 -2
  136. package/src/trip/tripPane.js +3 -3
  137. package/src/trustedApplications/trustedApplications.test.ts +4 -0
  138. package/src/ui/pane.js +3 -3
  139. package/src/versionInfo.ts +2 -2
  140. package/src/video/videoPane.js +3 -3
@@ -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 =
@@ -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 = []
@@ -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
@@ -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/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,6 +1,6 @@
1
1
  export default {
2
- buildTime: "2023-01-27T01:51:08Z",
3
- commit: "bc882da5d8b17cbce97606a65bc50d907cf4a7c2",
2
+ buildTime: "2023-02-01T21:43:13Z",
3
+ commit: "c481e73e0db37b5e2e1e5b9e3ac8526d4d672123",
4
4
  npmInfo:
5
5
  {
6
6
  'solid-panes': '3.5.28',
@@ -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',