solid-panes 4.5.0 → 5.0.0-0

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 (534) hide show
  1. package/README.md +10 -40
  2. package/dist/RDFXMLPane.d.ts +2 -3
  3. package/dist/RDFXMLPane2.cjs.js +3 -0
  4. package/dist/RDFXMLPane2.cjs.js.map +1 -0
  5. package/dist/RDFXMLPane2.esm.js +55 -0
  6. package/dist/RDFXMLPane2.esm.js.map +1 -0
  7. package/dist/_virtual/_rolldown/runtime.cjs.js +1 -0
  8. package/dist/_virtual/~icons/lucide/arrow-left.cjs.js +2 -0
  9. package/dist/_virtual/~icons/lucide/arrow-left.cjs.js.map +1 -0
  10. package/dist/_virtual/~icons/lucide/arrow-left.esm.js +11 -0
  11. package/dist/_virtual/~icons/lucide/arrow-left.esm.js.map +1 -0
  12. package/dist/_virtual/~icons/lucide/ellipsis-vertical.cjs.js +2 -0
  13. package/dist/_virtual/~icons/lucide/ellipsis-vertical.cjs.js.map +1 -0
  14. package/dist/_virtual/~icons/lucide/ellipsis-vertical.esm.js +11 -0
  15. package/dist/_virtual/~icons/lucide/ellipsis-vertical.esm.js.map +1 -0
  16. package/dist/_virtual/~icons/lucide/folder-open.cjs.js +2 -0
  17. package/dist/_virtual/~icons/lucide/folder-open.cjs.js.map +1 -0
  18. package/dist/_virtual/~icons/lucide/folder-open.esm.js +11 -0
  19. package/dist/_virtual/~icons/lucide/folder-open.esm.js.map +1 -0
  20. package/dist/_virtual/~icons/lucide/globe.cjs.js +2 -0
  21. package/dist/_virtual/~icons/lucide/globe.cjs.js.map +1 -0
  22. package/dist/_virtual/~icons/lucide/globe.esm.js +11 -0
  23. package/dist/_virtual/~icons/lucide/globe.esm.js.map +1 -0
  24. package/dist/_virtual/~icons/lucide/help-circle.cjs.js +2 -0
  25. package/dist/_virtual/~icons/lucide/help-circle.cjs.js.map +1 -0
  26. package/dist/_virtual/~icons/lucide/help-circle.esm.js +11 -0
  27. package/dist/_virtual/~icons/lucide/help-circle.esm.js.map +1 -0
  28. package/dist/_virtual/~icons/lucide/layout-dashboard.cjs.js +2 -0
  29. package/dist/_virtual/~icons/lucide/layout-dashboard.cjs.js.map +1 -0
  30. package/dist/_virtual/~icons/lucide/layout-dashboard.esm.js +11 -0
  31. package/dist/_virtual/~icons/lucide/layout-dashboard.esm.js.map +1 -0
  32. package/dist/_virtual/~icons/lucide/lock-keyhole.cjs.js +2 -0
  33. package/dist/_virtual/~icons/lucide/lock-keyhole.cjs.js.map +1 -0
  34. package/dist/_virtual/~icons/lucide/lock-keyhole.esm.js +11 -0
  35. package/dist/_virtual/~icons/lucide/lock-keyhole.esm.js.map +1 -0
  36. package/dist/_virtual/~icons/lucide/pencil.cjs.js +2 -0
  37. package/dist/_virtual/~icons/lucide/pencil.cjs.js.map +1 -0
  38. package/dist/_virtual/~icons/lucide/pencil.esm.js +11 -0
  39. package/dist/_virtual/~icons/lucide/pencil.esm.js.map +1 -0
  40. package/dist/_virtual/~icons/lucide/settings-2.cjs.js +2 -0
  41. package/dist/_virtual/~icons/lucide/settings-2.cjs.js.map +1 -0
  42. package/dist/_virtual/~icons/lucide/settings-2.esm.js +11 -0
  43. package/dist/_virtual/~icons/lucide/settings-2.esm.js.map +1 -0
  44. package/dist/_virtual/~icons/lucide/share-2.cjs.js +2 -0
  45. package/dist/_virtual/~icons/lucide/share-2.cjs.js.map +1 -0
  46. package/dist/_virtual/~icons/lucide/share-2.esm.js +11 -0
  47. package/dist/_virtual/~icons/lucide/share-2.esm.js.map +1 -0
  48. package/dist/_virtual/~icons/lucide/trash-2.cjs.js +2 -0
  49. package/dist/_virtual/~icons/lucide/trash-2.cjs.js.map +1 -0
  50. package/dist/_virtual/~icons/lucide/trash-2.esm.js +11 -0
  51. package/dist/_virtual/~icons/lucide/trash-2.esm.js.map +1 -0
  52. package/dist/_virtual/~icons/lucide/user.cjs.js +2 -0
  53. package/dist/_virtual/~icons/lucide/user.cjs.js.map +1 -0
  54. package/dist/_virtual/~icons/lucide/user.esm.js +11 -0
  55. package/dist/_virtual/~icons/lucide/user.esm.js.map +1 -0
  56. package/dist/_virtual/~icons/lucide/users.cjs.js +2 -0
  57. package/dist/_virtual/~icons/lucide/users.cjs.js.map +1 -0
  58. package/dist/_virtual/~icons/lucide/users.esm.js +11 -0
  59. package/dist/_virtual/~icons/lucide/users.esm.js.map +1 -0
  60. package/dist/audio/audioPane.cjs.js +2 -0
  61. package/dist/audio/audioPane.cjs.js.map +1 -0
  62. package/dist/audio/audioPane.esm.js +99 -0
  63. package/dist/audio/audioPane.esm.js.map +1 -0
  64. package/dist/classInstancePane.cjs.js +2 -0
  65. package/dist/classInstancePane.cjs.js.map +1 -0
  66. package/dist/classInstancePane.esm.js +50 -0
  67. package/dist/classInstancePane.esm.js.map +1 -0
  68. package/dist/components/file-explorer-header/FileExplorerHeader.cjs.js +14 -0
  69. package/dist/components/file-explorer-header/FileExplorerHeader.cjs.js.map +1 -0
  70. package/dist/components/file-explorer-header/FileExplorerHeader.d.ts +19 -0
  71. package/dist/components/file-explorer-header/FileExplorerHeader.d.ts.map +1 -0
  72. package/dist/components/file-explorer-header/FileExplorerHeader.esm.js +292 -0
  73. package/dist/components/file-explorer-header/FileExplorerHeader.esm.js.map +1 -0
  74. package/dist/components/file-explorer-header/FileExplorerHeader.styles.cjs.js +2 -0
  75. package/dist/components/file-explorer-header/FileExplorerHeader.styles.cjs.js.map +1 -0
  76. package/dist/components/file-explorer-header/FileExplorerHeader.styles.esm.js +7 -0
  77. package/dist/components/file-explorer-header/FileExplorerHeader.styles.esm.js.map +1 -0
  78. package/dist/components/file-explorer-header/FileExplorerHeaderControls.cjs.js +22 -0
  79. package/dist/components/file-explorer-header/FileExplorerHeaderControls.cjs.js.map +1 -0
  80. package/dist/components/file-explorer-header/FileExplorerHeaderControls.d.ts +15 -0
  81. package/dist/components/file-explorer-header/FileExplorerHeaderControls.d.ts.map +1 -0
  82. package/dist/components/file-explorer-header/FileExplorerHeaderControls.esm.js +266 -0
  83. package/dist/components/file-explorer-header/FileExplorerHeaderControls.esm.js.map +1 -0
  84. package/dist/components/file-explorer-header/FileExplorerHeaderControls.styles.cjs.js +2 -0
  85. package/dist/components/file-explorer-header/FileExplorerHeaderControls.styles.cjs.js.map +1 -0
  86. package/dist/components/file-explorer-header/FileExplorerHeaderControls.styles.esm.js +7 -0
  87. package/dist/components/file-explorer-header/FileExplorerHeaderControls.styles.esm.js.map +1 -0
  88. package/dist/components/file-explorer-header/FileExplorerHeaderSummary.cjs.js +19 -0
  89. package/dist/components/file-explorer-header/FileExplorerHeaderSummary.cjs.js.map +1 -0
  90. package/dist/components/file-explorer-header/FileExplorerHeaderSummary.d.ts +19 -0
  91. package/dist/components/file-explorer-header/FileExplorerHeaderSummary.d.ts.map +1 -0
  92. package/dist/components/file-explorer-header/FileExplorerHeaderSummary.esm.js +321 -0
  93. package/dist/components/file-explorer-header/FileExplorerHeaderSummary.esm.js.map +1 -0
  94. package/dist/components/file-explorer-header/FileExplorerHeaderSummary.styles.cjs.js +2 -0
  95. package/dist/components/file-explorer-header/FileExplorerHeaderSummary.styles.cjs.js.map +1 -0
  96. package/dist/components/file-explorer-header/FileExplorerHeaderSummary.styles.esm.js +7 -0
  97. package/dist/components/file-explorer-header/FileExplorerHeaderSummary.styles.esm.js.map +1 -0
  98. package/dist/components/file-explorer-header/FileExplorerProvider.cjs.js +13 -0
  99. package/dist/components/file-explorer-header/FileExplorerProvider.cjs.js.map +1 -0
  100. package/dist/components/file-explorer-header/FileExplorerProvider.d.ts +36 -0
  101. package/dist/components/file-explorer-header/FileExplorerProvider.d.ts.map +1 -0
  102. package/dist/components/file-explorer-header/FileExplorerProvider.esm.js +468 -0
  103. package/dist/components/file-explorer-header/FileExplorerProvider.esm.js.map +1 -0
  104. package/dist/components/file-explorer-header/FileExplorerProvider.styles.cjs.js +2 -0
  105. package/dist/components/file-explorer-header/FileExplorerProvider.styles.cjs.js.map +1 -0
  106. package/dist/components/file-explorer-header/FileExplorerProvider.styles.esm.js +7 -0
  107. package/dist/components/file-explorer-header/FileExplorerProvider.styles.esm.js.map +1 -0
  108. package/dist/components/file-explorer-header/helper.cjs.js +2 -0
  109. package/dist/components/file-explorer-header/helper.cjs.js.map +1 -0
  110. package/dist/components/file-explorer-header/helper.d.ts +15 -0
  111. package/dist/components/file-explorer-header/helper.d.ts.map +1 -0
  112. package/dist/components/file-explorer-header/helper.esm.js +64 -0
  113. package/dist/components/file-explorer-header/helper.esm.js.map +1 -0
  114. package/dist/components/file-explorer-header/types.d.ts +2 -0
  115. package/dist/components/file-explorer-header/types.d.ts.map +1 -0
  116. package/dist/components/header/Header.cjs.js +19 -0
  117. package/dist/components/header/Header.cjs.js.map +1 -0
  118. package/dist/components/header/Header.d.ts +8 -0
  119. package/dist/components/header/Header.d.ts.map +1 -0
  120. package/dist/components/header/Header.esm.js +228 -0
  121. package/dist/components/header/Header.esm.js.map +1 -0
  122. package/dist/components/header/Header.styles.cjs.js +2 -0
  123. package/dist/components/header/Header.styles.cjs.js.map +1 -0
  124. package/dist/components/header/Header.styles.esm.js +7 -0
  125. package/dist/components/header/Header.styles.esm.js.map +1 -0
  126. package/dist/components/header/index.cjs.js +1 -0
  127. package/dist/components/header/index.d.ts +4 -0
  128. package/dist/components/header/index.d.ts.map +1 -0
  129. package/dist/components/header/index.esm.js +1 -0
  130. package/dist/components/navbar/Navbar.cjs.js +15 -0
  131. package/dist/components/navbar/Navbar.cjs.js.map +1 -0
  132. package/dist/components/navbar/Navbar.d.ts +14 -0
  133. package/dist/components/navbar/Navbar.d.ts.map +1 -0
  134. package/dist/components/navbar/Navbar.esm.js +232 -0
  135. package/dist/components/navbar/Navbar.esm.js.map +1 -0
  136. package/dist/components/navbar/Navbar.styles.cjs.js +2 -0
  137. package/dist/components/navbar/Navbar.styles.cjs.js.map +1 -0
  138. package/dist/components/navbar/Navbar.styles.esm.js +7 -0
  139. package/dist/components/navbar/Navbar.styles.esm.js.map +1 -0
  140. package/dist/components/navbar/index.cjs.js +1 -0
  141. package/dist/components/navbar/index.d.ts +4 -0
  142. package/dist/components/navbar/index.d.ts.map +1 -0
  143. package/dist/components/navbar/index.esm.js +1 -0
  144. package/dist/components/resource-actions-menu/DeleteResourceDialog.cjs.js +16 -0
  145. package/dist/components/resource-actions-menu/DeleteResourceDialog.cjs.js.map +1 -0
  146. package/dist/components/resource-actions-menu/DeleteResourceDialog.d.ts +8 -0
  147. package/dist/components/resource-actions-menu/DeleteResourceDialog.d.ts.map +1 -0
  148. package/dist/components/resource-actions-menu/DeleteResourceDialog.esm.js +215 -0
  149. package/dist/components/resource-actions-menu/DeleteResourceDialog.esm.js.map +1 -0
  150. package/dist/components/resource-actions-menu/ResourceActionsMenu.cjs.js +18 -0
  151. package/dist/components/resource-actions-menu/ResourceActionsMenu.cjs.js.map +1 -0
  152. package/dist/components/resource-actions-menu/ResourceActionsMenu.d.ts +16 -0
  153. package/dist/components/resource-actions-menu/ResourceActionsMenu.d.ts.map +1 -0
  154. package/dist/components/resource-actions-menu/ResourceActionsMenu.esm.js +260 -0
  155. package/dist/components/resource-actions-menu/ResourceActionsMenu.esm.js.map +1 -0
  156. package/dist/dashboard/basicPreferences.cjs.js +2 -0
  157. package/dist/dashboard/basicPreferences.cjs.js.map +1 -0
  158. package/dist/dashboard/basicPreferences.d.ts +1 -1
  159. package/dist/dashboard/basicPreferences.esm.js +70 -0
  160. package/dist/dashboard/basicPreferences.esm.js.map +1 -0
  161. package/dist/dashboard/dashboardPane.cjs.js +2 -0
  162. package/dist/dashboard/dashboardPane.cjs.js.map +1 -0
  163. package/dist/dashboard/dashboardPane.d.ts +1 -1
  164. package/dist/dashboard/dashboardPane.esm.js +7 -0
  165. package/dist/dashboard/dashboardPane.esm.js.map +1 -0
  166. package/dist/dashboard/homepage.cjs.js +2 -0
  167. package/dist/dashboard/homepage.cjs.js.map +1 -0
  168. package/dist/dashboard/homepage.d.ts +1 -1
  169. package/dist/dashboard/homepage.esm.js +26 -0
  170. package/dist/dashboard/homepage.esm.js.map +1 -0
  171. package/dist/dashboard/ontologyData.cjs.js +37 -0
  172. package/dist/dashboard/ontologyData.cjs.js.map +1 -0
  173. package/dist/dashboard/ontologyData.esm.js +6 -0
  174. package/dist/dashboard/ontologyData.esm.js.map +1 -0
  175. package/dist/dashboard/preferencesFormText.cjs.js +20 -0
  176. package/dist/dashboard/preferencesFormText.cjs.js.map +1 -0
  177. package/dist/dashboard/preferencesFormText.esm.js +6 -0
  178. package/dist/dashboard/preferencesFormText.esm.js.map +1 -0
  179. package/dist/dataContentPane.d.ts +2 -3
  180. package/dist/dataContentPane2.cjs.js +2 -0
  181. package/dist/dataContentPane2.cjs.js.map +1 -0
  182. package/dist/dataContentPane2.esm.js +109 -0
  183. package/dist/dataContentPane2.esm.js.map +1 -0
  184. package/dist/defaultPane.d.ts +2 -3
  185. package/dist/defaultPane2.cjs.js +2 -0
  186. package/dist/defaultPane2.cjs.js.map +1 -0
  187. package/dist/defaultPane2.esm.js +41 -0
  188. package/dist/defaultPane2.esm.js.map +1 -0
  189. package/dist/dev.d.ts +10 -0
  190. package/dist/dev.d.ts.map +1 -0
  191. package/dist/dokieli/dokieliPane.cjs.js +2 -0
  192. package/dist/dokieli/dokieliPane.cjs.js.map +1 -0
  193. package/dist/dokieli/dokieliPane.esm.js +39 -0
  194. package/dist/dokieli/dokieliPane.esm.js.map +1 -0
  195. package/dist/dokieli/{new.js → new.cjs.js} +4 -10
  196. package/dist/dokieli/new.cjs.js.map +1 -0
  197. package/dist/dokieli/new.esm.js +6 -0
  198. package/dist/dokieli/new.esm.js.map +1 -0
  199. package/dist/form/pane.cjs.js +4 -0
  200. package/dist/form/pane.cjs.js.map +1 -0
  201. package/dist/form/pane.d.ts +1 -2
  202. package/dist/form/pane.esm.js +122 -0
  203. package/dist/form/pane.esm.js.map +1 -0
  204. package/dist/home/homePane.cjs.js +2 -0
  205. package/dist/home/homePane.cjs.js.map +1 -0
  206. package/dist/home/homePane.d.ts +1 -1
  207. package/dist/home/homePane.esm.js +35 -0
  208. package/dist/home/homePane.esm.js.map +1 -0
  209. package/dist/humanReadablePane.d.ts +2 -3
  210. package/dist/humanReadablePane2.cjs.js +2 -0
  211. package/dist/humanReadablePane2.cjs.js.map +1 -0
  212. package/dist/humanReadablePane2.esm.js +123 -0
  213. package/dist/humanReadablePane2.esm.js.map +1 -0
  214. package/dist/icons/folder.cjs.js +2 -0
  215. package/dist/icons/folder.cjs.js.map +1 -0
  216. package/dist/icons/folder.esm.js +6 -0
  217. package/dist/icons/folder.esm.js.map +1 -0
  218. package/dist/icons/friends.cjs.js +2 -0
  219. package/dist/icons/friends.cjs.js.map +1 -0
  220. package/dist/icons/friends.esm.js +6 -0
  221. package/dist/icons/friends.esm.js.map +1 -0
  222. package/dist/icons/person.cjs.js +2 -0
  223. package/dist/icons/person.cjs.js.map +1 -0
  224. package/dist/icons/person.esm.js +6 -0
  225. package/dist/icons/person.esm.js.map +1 -0
  226. package/dist/imagePane.d.ts +2 -3
  227. package/dist/imagePane2.cjs.js +2 -0
  228. package/dist/imagePane2.cjs.js.map +1 -0
  229. package/dist/imagePane2.esm.js +32 -0
  230. package/dist/imagePane2.esm.js.map +1 -0
  231. package/dist/index.cjs.js +2 -0
  232. package/dist/index.cjs.js.map +1 -0
  233. package/dist/index.d.ts +4 -4
  234. package/dist/index.esm.js +31 -0
  235. package/dist/index.esm.js.map +1 -0
  236. package/dist/internal/internalPane.d.ts +1 -2
  237. package/dist/internal/internalPane2.cjs.js +2 -0
  238. package/dist/internal/internalPane2.cjs.js.map +1 -0
  239. package/dist/internal/internalPane2.esm.js +104 -0
  240. package/dist/internal/internalPane2.esm.js.map +1 -0
  241. package/dist/mainPage/header.cjs.js +2 -0
  242. package/dist/mainPage/header.cjs.js.map +1 -0
  243. package/dist/mainPage/header.d.ts +1 -15
  244. package/dist/mainPage/header.d.ts.map +1 -1
  245. package/dist/mainPage/header.esm.js +72 -0
  246. package/dist/mainPage/header.esm.js.map +1 -0
  247. package/dist/mainPage/index.cjs.js +2 -0
  248. package/dist/mainPage/index.cjs.js.map +1 -0
  249. package/dist/mainPage/index.d.ts +3 -15
  250. package/dist/mainPage/index.d.ts.map +1 -1
  251. package/dist/mainPage/index.esm.js +36 -0
  252. package/dist/mainPage/index.esm.js.map +1 -0
  253. package/dist/mainPage/navbar.cjs.js +2 -0
  254. package/dist/mainPage/navbar.cjs.js.map +1 -0
  255. package/dist/mainPage/navbar.d.ts +3 -0
  256. package/dist/mainPage/navbar.d.ts.map +1 -0
  257. package/dist/mainPage/navbar.esm.js +66 -0
  258. package/dist/mainPage/navbar.esm.js.map +1 -0
  259. package/dist/n3Pane.d.ts +2 -3
  260. package/dist/n3Pane2.cjs.js +3 -0
  261. package/dist/n3Pane2.cjs.js.map +1 -0
  262. package/dist/n3Pane2.esm.js +52 -0
  263. package/dist/n3Pane2.esm.js.map +1 -0
  264. package/dist/outline/context.cjs.js +2 -0
  265. package/dist/outline/context.cjs.js.map +1 -0
  266. package/dist/outline/context.d.ts +3 -3
  267. package/dist/outline/context.esm.js +18 -0
  268. package/dist/outline/context.esm.js.map +1 -0
  269. package/dist/outline/manager2.cjs.js +2 -0
  270. package/dist/outline/manager2.cjs.js.map +1 -0
  271. package/dist/outline/manager2.esm.js +711 -0
  272. package/dist/outline/manager2.esm.js.map +1 -0
  273. package/dist/outline/outlineIcons.cjs.js +2 -0
  274. package/dist/outline/outlineIcons.cjs.js.map +1 -0
  275. package/dist/outline/outlineIcons.esm.js +10 -0
  276. package/dist/outline/outlineIcons.esm.js.map +1 -0
  277. package/dist/outline/propertyViews.cjs.js +2 -0
  278. package/dist/outline/propertyViews.cjs.js.map +1 -0
  279. package/dist/outline/propertyViews.esm.js +19 -0
  280. package/dist/outline/propertyViews.esm.js.map +1 -0
  281. package/dist/outline/queryByExample.cjs.js +2 -0
  282. package/dist/outline/queryByExample.cjs.js.map +1 -0
  283. package/dist/outline/queryByExample.esm.js +26 -0
  284. package/dist/outline/queryByExample.esm.js.map +1 -0
  285. package/dist/outline/sourcePaneIcon.d.ts +2 -0
  286. package/dist/outline/sourcePaneIcon.d.ts.map +1 -0
  287. package/dist/outline/userInput.cjs.js +61 -0
  288. package/dist/outline/userInput.cjs.js.map +1 -0
  289. package/dist/outline/userInput.esm.js +784 -0
  290. package/dist/outline/userInput.esm.js.map +1 -0
  291. package/dist/outline/viewAsImage.cjs.js +2 -0
  292. package/dist/outline/viewAsImage.cjs.js.map +1 -0
  293. package/dist/outline/viewAsImage.esm.js +10 -0
  294. package/dist/outline/viewAsImage.esm.js.map +1 -0
  295. package/dist/outline/viewAsMbox.cjs.js +2 -0
  296. package/dist/outline/viewAsMbox.cjs.js.map +1 -0
  297. package/dist/outline/viewAsMbox.esm.js +9 -0
  298. package/dist/outline/viewAsMbox.esm.js.map +1 -0
  299. package/dist/pad/padPane.d.ts +1 -2
  300. package/dist/pad/padPane2.cjs.js +2 -0
  301. package/dist/pad/padPane2.cjs.js.map +1 -0
  302. package/dist/pad/padPane2.esm.js +173 -0
  303. package/dist/pad/padPane2.esm.js.map +1 -0
  304. package/dist/playlist/playlistPane.cjs.js +2 -0
  305. package/dist/playlist/playlistPane.cjs.js.map +1 -0
  306. package/dist/playlist/playlistPane.esm.js +49 -0
  307. package/dist/playlist/playlistPane.esm.js.map +1 -0
  308. package/dist/registerPanes.cjs.js +2 -0
  309. package/dist/registerPanes.cjs.js.map +1 -0
  310. package/dist/registerPanes.esm.js +46 -0
  311. package/dist/registerPanes.esm.js.map +1 -0
  312. package/dist/schedule/formsForSchedule.cjs.js +117 -0
  313. package/dist/schedule/formsForSchedule.cjs.js.map +1 -0
  314. package/dist/schedule/formsForSchedule.esm.js +6 -0
  315. package/dist/schedule/formsForSchedule.esm.js.map +1 -0
  316. package/dist/schedule/schedulePane.d.ts +2 -4
  317. package/dist/schedule/schedulePane2.cjs.js +8 -0
  318. package/dist/schedule/schedulePane2.cjs.js.map +1 -0
  319. package/dist/schedule/schedulePane2.esm.js +385 -0
  320. package/dist/schedule/schedulePane2.esm.js.map +1 -0
  321. package/dist/sharing/sharingPane.cjs.js +2 -0
  322. package/dist/sharing/sharingPane.cjs.js.map +1 -0
  323. package/dist/sharing/sharingPane.esm.js +22 -0
  324. package/dist/sharing/sharingPane.esm.js.map +1 -0
  325. package/dist/slideshow/slideshowPane.cjs.js +2 -0
  326. package/dist/slideshow/slideshowPane.cjs.js.map +1 -0
  327. package/dist/slideshow/slideshowPane.esm.js +46 -0
  328. package/dist/slideshow/slideshowPane.esm.js.map +1 -0
  329. package/dist/social/editProfileDetails.cjs.js +2 -0
  330. package/dist/social/editProfileDetails.cjs.js.map +1 -0
  331. package/dist/social/editProfileDetails.d.ts +1 -2
  332. package/dist/social/editProfileDetails.esm.js +12 -0
  333. package/dist/social/editProfileDetails.esm.js.map +1 -0
  334. package/dist/social/icons.cjs.js +82 -0
  335. package/dist/social/icons.cjs.js.map +1 -0
  336. package/dist/social/{icons.js → icons.esm.js} +12 -18
  337. package/dist/social/icons.esm.js.map +1 -0
  338. package/dist/social/socialPane.d.ts +2 -3
  339. package/dist/social/socialPane2.cjs.js +6 -0
  340. package/dist/social/socialPane2.cjs.js.map +1 -0
  341. package/dist/social/socialPane2.esm.js +326 -0
  342. package/dist/social/socialPane2.esm.js.map +1 -0
  343. package/dist/social/socialSections.cjs.js +2 -0
  344. package/dist/social/socialSections.cjs.js.map +1 -0
  345. package/dist/social/socialSections.d.ts +2 -2
  346. package/dist/social/socialSections.esm.js +222 -0
  347. package/dist/social/socialSections.esm.js.map +1 -0
  348. package/dist/social/spinner.cjs.js +1 -0
  349. package/dist/social/spinner.esm.js +1 -0
  350. package/dist/social/triage.cjs.js +2 -0
  351. package/dist/social/triage.cjs.js.map +1 -0
  352. package/dist/social/triage.d.ts +2 -2
  353. package/dist/social/triage.esm.js +44 -0
  354. package/dist/social/triage.esm.js.map +1 -0
  355. package/dist/tabbed/tabbedPane.cjs.js +2 -0
  356. package/dist/tabbed/tabbedPane.cjs.js.map +1 -0
  357. package/dist/tabbed/tabbedPane.d.ts +1 -1
  358. package/dist/tabbed/tabbedPane.esm.js +38 -0
  359. package/dist/tabbed/tabbedPane.esm.js.map +1 -0
  360. package/dist/tableViewPane.cjs.js +2 -0
  361. package/dist/tableViewPane.cjs.js.map +1 -0
  362. package/dist/tableViewPane.esm.js +20 -0
  363. package/dist/tableViewPane.esm.js.map +1 -0
  364. package/dist/transaction/pane.cjs.js +8 -0
  365. package/dist/transaction/pane.cjs.js.map +1 -0
  366. package/dist/transaction/pane.esm.js +212 -0
  367. package/dist/transaction/pane.esm.js.map +1 -0
  368. package/dist/transaction/period.cjs.js +4 -0
  369. package/dist/transaction/period.cjs.js.map +1 -0
  370. package/dist/transaction/period.esm.js +126 -0
  371. package/dist/transaction/period.esm.js.map +1 -0
  372. package/dist/trip/tripPane.cjs.js +2 -0
  373. package/dist/trip/tripPane.cjs.js.map +1 -0
  374. package/dist/trip/tripPane.esm.js +85 -0
  375. package/dist/trip/tripPane.esm.js.map +1 -0
  376. package/dist/trustedApplications/trustedApplications.dom.cjs.js +2 -0
  377. package/dist/trustedApplications/trustedApplications.dom.cjs.js.map +1 -0
  378. package/dist/trustedApplications/trustedApplications.dom.d.ts +1 -1
  379. package/dist/trustedApplications/trustedApplications.dom.esm.js +108 -0
  380. package/dist/trustedApplications/trustedApplications.dom.esm.js.map +1 -0
  381. package/dist/trustedApplications/trustedApplications.utils.cjs.js +2 -0
  382. package/dist/trustedApplications/trustedApplications.utils.cjs.js.map +1 -0
  383. package/dist/trustedApplications/trustedApplications.utils.d.ts +1 -1
  384. package/dist/trustedApplications/trustedApplications.utils.esm.js +20 -0
  385. package/dist/trustedApplications/trustedApplications.utils.esm.js.map +1 -0
  386. package/dist/trustedApplications/trustedApplications.view.cjs.js +2 -0
  387. package/dist/trustedApplications/trustedApplications.view.cjs.js.map +1 -0
  388. package/dist/trustedApplications/trustedApplications.view.d.ts +1 -1
  389. package/dist/trustedApplications/trustedApplications.view.esm.js +41 -0
  390. package/dist/trustedApplications/trustedApplications.view.esm.js.map +1 -0
  391. package/dist/ui/pane.cjs.js +4 -0
  392. package/dist/ui/pane.cjs.js.map +1 -0
  393. package/dist/ui/pane.esm.js +56 -0
  394. package/dist/ui/pane.esm.js.map +1 -0
  395. package/dist/utils/paneUtils.cjs.js +2 -0
  396. package/dist/utils/paneUtils.cjs.js.map +1 -0
  397. package/dist/utils/paneUtils.d.ts +19 -0
  398. package/dist/utils/paneUtils.d.ts.map +1 -0
  399. package/dist/utils/paneUtils.esm.js +52 -0
  400. package/dist/utils/paneUtils.esm.js.map +1 -0
  401. package/dist/utils/podUtils.cjs.js +2 -0
  402. package/dist/utils/podUtils.cjs.js.map +1 -0
  403. package/dist/utils/podUtils.d.ts +4 -0
  404. package/dist/utils/podUtils.d.ts.map +1 -0
  405. package/dist/utils/podUtils.esm.js +46 -0
  406. package/dist/utils/podUtils.esm.js.map +1 -0
  407. package/dist/utils/webIdUtils.cjs.js +2 -0
  408. package/dist/utils/webIdUtils.cjs.js.map +1 -0
  409. package/dist/utils/webIdUtils.d.ts +6 -0
  410. package/dist/utils/webIdUtils.d.ts.map +1 -0
  411. package/dist/utils/webIdUtils.esm.js +48 -0
  412. package/dist/utils/webIdUtils.esm.js.map +1 -0
  413. package/dist/versionInfo.cjs.js +2 -0
  414. package/dist/versionInfo.cjs.js.map +1 -0
  415. package/dist/versionInfo.esm.js +40 -0
  416. package/dist/versionInfo.esm.js.map +1 -0
  417. package/dist/video/videoPane.cjs.js +2 -0
  418. package/dist/video/videoPane.cjs.js.map +1 -0
  419. package/dist/video/videoPane.esm.js +25 -0
  420. package/dist/video/videoPane.esm.js.map +1 -0
  421. package/package.json +51 -66
  422. package/dist/0314353e28ce6e5539af.svg +0 -9
  423. package/dist/04567ff683933c35c465.png +0 -0
  424. package/dist/10163fd9b5a0e00d63a0.png +0 -0
  425. package/dist/1234dcb2eec2e45f252b.png +0 -0
  426. package/dist/20899934157df4db56cb.png +0 -0
  427. package/dist/33760bf79f097f449da5.png +0 -0
  428. package/dist/4cceba29ab33b1ddd9bb.svg +0 -6
  429. package/dist/578d2b6ed32e7624164e.png +0 -0
  430. package/dist/5f62a5b2b7e99b9640c7.png +0 -0
  431. package/dist/6525766ecd288ec60129.png +0 -0
  432. package/dist/7800be6f6c4b5b0f4f20.png +0 -0
  433. package/dist/7b7538c6f6b317968009.svg +0 -9
  434. package/dist/92d03142abe6efc0b42d.svg +0 -6
  435. package/dist/976473cf5fe24d657d4b.png +0 -0
  436. package/dist/RDFXMLPane.css +0 -70
  437. package/dist/RDFXMLPane.js +0 -100
  438. package/dist/argument/argumentPane.js +0 -60
  439. package/dist/attach/attachPane.js +0 -393
  440. package/dist/audio/audioPane.js +0 -181
  441. package/dist/bda84f59e7216675a208.png +0 -0
  442. package/dist/cd68e8f3990ba8b2139e.png +0 -0
  443. package/dist/classInstancePane.js +0 -91
  444. package/dist/dashboard/basicPreferences.js +0 -147
  445. package/dist/dashboard/dashboardPane.js +0 -73
  446. package/dist/dashboard/homepage.js +0 -42
  447. package/dist/dataContentPane.css +0 -271
  448. package/dist/dataContentPane.js +0 -226
  449. package/dist/defaultPane.css +0 -97
  450. package/dist/defaultPane.js +0 -81
  451. package/dist/dokieli/dokieliPane.js +0 -74
  452. package/dist/e7074a7e2cb69e51cfd3.png +0 -0
  453. package/dist/f3772696fb7ee53c23d8.png +0 -0
  454. package/dist/form/formPane.css +0 -120
  455. package/dist/form/pane.js +0 -250
  456. package/dist/home/homePane.js +0 -74
  457. package/dist/humanReadablePane.css +0 -129
  458. package/dist/humanReadablePane.js +0 -243
  459. package/dist/icons/clock.svg +0 -7
  460. package/dist/icons/comment.svg +0 -6
  461. package/dist/icons/dashboard.svg +0 -9
  462. package/dist/icons/downArrow.svg +0 -6
  463. package/dist/icons/folder.svg +0 -6
  464. package/dist/icons/friends.svg +0 -9
  465. package/dist/icons/help.svg +0 -8
  466. package/dist/icons/iconHelper.js +0 -23
  467. package/dist/icons/menu.svg +0 -8
  468. package/dist/icons/person.svg +0 -6
  469. package/dist/icons/personInCircle.svg +0 -8
  470. package/dist/icons/sharing.svg +0 -10
  471. package/dist/icons/signOut.svg +0 -8
  472. package/dist/icons/signUp.svg +0 -9
  473. package/dist/icons/star.svg +0 -3
  474. package/dist/imagePane.css +0 -4
  475. package/dist/imagePane.js +0 -67
  476. package/dist/index.js +0 -123
  477. package/dist/internal/internalPane.css +0 -14
  478. package/dist/internal/internalPane.js +0 -183
  479. package/dist/mainPage/footer.d.ts +0 -15
  480. package/dist/mainPage/footer.d.ts.map +0 -1
  481. package/dist/mainPage/footer.js +0 -29
  482. package/dist/mainPage/header.js +0 -203
  483. package/dist/mainPage/index.js +0 -78
  484. package/dist/mainPage/menu.css +0 -243
  485. package/dist/mainPage/menu.d.ts +0 -7
  486. package/dist/mainPage/menu.d.ts.map +0 -1
  487. package/dist/mainPage/menu.js +0 -436
  488. package/dist/microblogPane/mbStyle.css +0 -267
  489. package/dist/microblogPane/microblogPane.js +0 -1031
  490. package/dist/n3Pane.css +0 -49
  491. package/dist/n3Pane.js +0 -88
  492. package/dist/outline/context.js +0 -21
  493. package/dist/outline/manager.css +0 -78
  494. package/dist/outline/manager.js +0 -2115
  495. package/dist/outline/outlineIcons.js +0 -126
  496. package/dist/outline/propertyViews.js +0 -43
  497. package/dist/outline/queryByExample.js +0 -285
  498. package/dist/outline/userInput.js +0 -1821
  499. package/dist/outline/viewAsImage.js +0 -14
  500. package/dist/outline/viewAsMbox.js +0 -21
  501. package/dist/pad/padPane.css +0 -40
  502. package/dist/pad/padPane.js +0 -421
  503. package/dist/playlist/playlistPane.js +0 -119
  504. package/dist/profileUtils/ownerProfile.d.ts +0 -5
  505. package/dist/profileUtils/ownerProfile.d.ts.map +0 -1
  506. package/dist/profileUtils/ownerProfile.js +0 -84
  507. package/dist/registerPanes.js +0 -145
  508. package/dist/schedule/schedulePane.css +0 -294
  509. package/dist/schedule/schedulePane.js +0 -1022
  510. package/dist/sharing/sharingPane.js +0 -48
  511. package/dist/slideshow/slideshowPane.js +0 -79
  512. package/dist/social/editProfileDetails.js +0 -362
  513. package/dist/social/socialPane.css +0 -1464
  514. package/dist/social/socialPane.js +0 -651
  515. package/dist/social/socialSections.js +0 -393
  516. package/dist/social/spinner.js +0 -13
  517. package/dist/social/triage.js +0 -79
  518. package/dist/solid-panes.js +0 -84629
  519. package/dist/solid-panes.js.map +0 -1
  520. package/dist/solid-panes.min.js +0 -3933
  521. package/dist/solid-panes.min.js.map +0 -1
  522. package/dist/styles/tabbedtab.css +0 -1066
  523. package/dist/styles/utilities.css +0 -5
  524. package/dist/tabbed/tabbedPane.js +0 -59
  525. package/dist/tableViewPane.js +0 -56
  526. package/dist/transaction/pane.js +0 -477
  527. package/dist/transaction/period.js +0 -323
  528. package/dist/trip/tripPane.js +0 -174
  529. package/dist/trustedApplications/trustedApplications.dom.js +0 -145
  530. package/dist/trustedApplications/trustedApplications.utils.js +0 -23
  531. package/dist/trustedApplications/trustedApplications.view.js +0 -55
  532. package/dist/ui/pane.js +0 -146
  533. package/dist/versionInfo.js +0 -41
  534. package/dist/video/videoPane.js +0 -42
@@ -1,74 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
- var UI = _interopRequireWildcard(require("solid-ui"));
8
- var $rdf = _interopRequireWildcard(require("rdflib"));
9
- var mime = _interopRequireWildcard(require("mime-types"));
10
- var _new = _interopRequireDefault(require("./new.js"));
11
- function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
12
- function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
13
- /* Human-readable editable "Dokieli" Pane
14
- **
15
- ** This outline pane contains the document contents for a Dokieli document
16
- ** The dokeili system allows the user to edit a document including anotations
17
- ** review. It does not use turtle, but RDF/a
18
- */
19
- // const DOKIELI_TEMPLATE_URI = 'https://dokie.li/new' // Copy to make new dok
20
- // Distributed with this library
21
- var _default = exports.default = {
22
- icon: UI.icons.iconBase + 'dokieli-logo.png',
23
- // @@ improve? more like doccument?
24
-
25
- name: 'Dokieli',
26
- mintClass: UI.ns.solid('DokieliDocument'),
27
- // @@ A better class?
28
-
29
- // Don't provide viewing - let humanReadablePane handle that with appropriate icon
30
- label: function (subject, context) {
31
- return null; // Viewing now handled by humanReadablePane
32
- },
33
- // Create a new folder in a Solid system, with a dokieli editable document in it
34
- mintNew: function (context, newPaneOptions) {
35
- const kb = context.session.store;
36
- let newInstance = newPaneOptions.newInstance;
37
- if (!newInstance) {
38
- let uri = newPaneOptions.newBase;
39
- if (uri.endsWith('/')) {
40
- uri = uri.slice(0, -1);
41
- newPaneOptions.newBase = uri;
42
- }
43
- newInstance = kb.sym(uri);
44
- }
45
- const contentType = mime.lookup(newInstance.uri);
46
- if (!contentType || !contentType.includes('html')) {
47
- newInstance = $rdf.sym(newInstance.uri + '.html');
48
- }
49
- newPaneOptions.newInstance = newInstance; // Save for creation system
50
-
51
- // console.log('New dokieli will make: ' + newInstance)
52
-
53
- let htmlContents = _new.default;
54
- let filename = newInstance.uri.split('/').slice(-1)[0];
55
- filename = decodeURIComponent(filename.split('.')[0]);
56
- const encodedTitle = filename.replace(/&/g, '&amp;').replace(/</g, '&lt;').replace(/>/g, '&gt;');
57
- htmlContents = htmlContents.replace('<title>', '<title>' + encodedTitle);
58
- htmlContents = htmlContents.replace('</article>', '<h1>' + encodedTitle + '</h1></article>');
59
- // console.log('@@ New HTML for Dok:' + htmlContents)
60
- return new Promise(function (resolve) {
61
- kb.fetcher.webOperation('PUT', newInstance.uri, {
62
- data: htmlContents,
63
- contentType: 'text/html'
64
- }).then(function () {
65
- console.log('new Dokieli document created at ' + newPaneOptions.newInstance);
66
- resolve(newPaneOptions);
67
- }).catch(function (err) {
68
- console.log('Error creating dokieli doc at ' + newPaneOptions.newInstance + ': ' + err);
69
- });
70
- });
71
- }
72
-
73
- // render: removed - now handled by humanReadablePane with appropriate dokieli icon
74
- }; // ends
Binary file
Binary file
@@ -1,120 +0,0 @@
1
- .formPane a {
2
- color: var(--color-text-link, #3b5998);
3
- text-decoration: none;
4
- }
5
-
6
- .formPane a:link {
7
- color: var(--color-text-link, #3b5998);
8
- text-decoration: none;
9
- }
10
-
11
- .formPane a:visited {
12
- color: var(--color-text-link-visited, #3b5998);
13
- text-decoration: none;
14
- }
15
-
16
- .formPane a:hover {
17
- color: var(--color-text-link-hover, #3b5998);
18
- font-weight: bold;
19
- }
20
-
21
- .formPane a:active {
22
- color: var(--color-text-link-active, #888);
23
- text-decoration: none;
24
- }
25
-
26
- .formPane__message,
27
- .formPaneMessage {
28
- color: #666;
29
- margin: var(--spacing-xs, 0.5em) 0;
30
- padding: var(--spacing-xs, 0.35em) var(--spacing-xs, 0.5em);
31
- }
32
-
33
- .formPane__message--info {
34
- background-color: var(--color-main-block-bg, #eee);
35
- }
36
-
37
- .formPane__message--error {
38
- background-color: var(--color-log-error-bg, #fee);
39
- }
40
-
41
- .formPane__editButton {
42
- margin-left: auto;
43
- align-self: center;
44
- padding: var(--spacing-xs, 0.5rem);
45
- border: .5rem solid white;
46
- font-size: 100%;
47
- float: none;
48
- }
49
-
50
- .formPane .formPane__mobileTextareaValue > div {
51
- display: block;
52
- min-width: 0;
53
- position: relative;
54
- }
55
-
56
- .formPane .formPane__mobileTextareaValue > div > textarea {
57
- box-sizing: border-box;
58
- max-width: 100%;
59
- min-width: 0;
60
- width: 100%;
61
- }
62
-
63
- .formPane .formPane__mobileTextareaValue > div > button[type='button'] {
64
- float: none !important;
65
- position: absolute;
66
- right: 0;
67
- top: 0;
68
- }
69
-
70
- .formPane[data-layout='mobile'] .formPane__mobileTextareaRow {
71
- flex-direction: column !important;
72
- align-items: stretch;
73
- }
74
-
75
- .formPane[data-layout='mobile'] .formPane__mobileTextareaLabel {
76
- width: auto !important;
77
- padding-bottom: 0;
78
- }
79
-
80
- .formPane[data-layout='mobile'] .formPane__mobileTextareaValue {
81
- box-sizing: border-box;
82
- min-width: 0;
83
- padding-right: var(--spacing-sm, 0.75rem);
84
- width: 100%;
85
- }
86
-
87
- .formPane[data-layout='mobile'] .formPane__mobileTextareaValue textarea {
88
- box-sizing: border-box;
89
- margin-left: 0 !important;
90
- margin-right: 0 !important;
91
- max-width: 100%;
92
- width: 100%;
93
- }
94
-
95
- @media (max-width: 960px) {
96
- .formPane .formPane__mobileTextareaRow {
97
- flex-direction: column !important;
98
- align-items: stretch;
99
- }
100
-
101
- .formPane .formPane__mobileTextareaLabel {
102
- width: auto !important;
103
- padding-bottom: 0;
104
- }
105
-
106
- .formPane .formPane__mobileTextareaValue {
107
- box-sizing: border-box;
108
- min-width: 0;
109
- padding-right: var(--spacing-sm, 0.75rem);
110
- width: 100%;
111
- }
112
-
113
- .formPane .formPane__mobileTextareaValue textarea {
114
- box-sizing: border-box;
115
- margin-left: 0 !important;
116
- margin-right: 0 !important;
117
- max-width: 100%;
118
- width: 100%;
119
- }
120
- }
package/dist/form/pane.js DELETED
@@ -1,250 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.formPane = void 0;
7
- var UI = _interopRequireWildcard(require("solid-ui"));
8
- var _solidLogic = require("solid-logic");
9
- var $rdf = _interopRequireWildcard(require("rdflib"));
10
- require("./formPane.css");
11
- function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
12
- /*
13
- ** Pane for running existing forms for any object
14
- **
15
- */
16
-
17
- const ns = UI.ns;
18
- function isNamedNode(term) {
19
- return term?.termType === 'NamedNode';
20
- }
21
-
22
- /* The following helper was generated by AI GPT-5.4 Model */
23
- /* Prompt: Add a compatibility shim in the form pane for mixed `ui:Group` plus field typing. */
24
- function normalizeAmbiguousFieldTypes(store, form) {
25
- const formDoc = form.doc ? form.doc() : undefined;
26
- const types = store.each(form, ns.rdf('type'), undefined, formDoc).filter(isNamedNode);
27
- const hasGroupType = types.some(type => type.sameTerm(ns.ui('Group')));
28
- const hasOtherFieldType = types.some(type => !type.sameTerm(ns.ui('Group')) && !type.sameTerm(ns.ui('Form')));
29
- const hasProperty = !!store.any(form, ns.ui('property'), undefined, formDoc);
30
- const partsList = store.any(form, ns.ui('parts'), undefined, formDoc);
31
- const hasParts = !!partsList?.elements?.length || store.each(form, ns.ui('part'), undefined, formDoc).length > 0;
32
-
33
- // Some legacy forms mark a leaf field as both ui:Group and a concrete input type.
34
- // solid-ui may then choose the Group renderer and produce an empty nested box.
35
- if (hasGroupType && hasOtherFieldType && hasProperty && !hasParts) {
36
- store.removeMany(form, ns.rdf('type'), ns.ui('Group'), formDoc);
37
- }
38
- const listParts = partsList?.elements ?? [];
39
- for (const part of listParts) {
40
- if (isNamedNode(part)) {
41
- normalizeAmbiguousFieldTypes(store, part);
42
- }
43
- }
44
- const unorderedParts = store.each(form, ns.ui('part'), undefined, formDoc);
45
- for (const part of unorderedParts) {
46
- if (isNamedNode(part)) {
47
- normalizeAmbiguousFieldTypes(store, part);
48
- }
49
- }
50
- }
51
- function tagMobileTextareaRows(renderedForm) {
52
- const textareas = Array.from(renderedForm.querySelectorAll('textarea'));
53
- for (const textarea of textareas) {
54
- let row = textarea.parentElement;
55
- while (row) {
56
- const firstChild = row.firstElementChild;
57
- const hasLabelColumn = !!firstChild && (firstChild.classList.contains('formFieldName') || firstChild.querySelector('a') !== null);
58
- if (hasLabelColumn && row.children.length >= 2) {
59
- row.classList.add('formPane__mobileTextareaRow');
60
- firstChild.classList.add('formPane__mobileTextareaLabel');
61
- const valueColumn = row.children[1];
62
- valueColumn.classList.add('formPane__mobileTextareaValue');
63
- break;
64
- }
65
- row = row.parentElement;
66
- }
67
- }
68
- }
69
- const formPane = exports.formPane = {
70
- icon: UI.icons.iconBase + 'noun_122196.svg',
71
- name: 'form',
72
- audience: [ns.solid('PowerUser')],
73
- // Does the subject deserve this pane?
74
- label: function (subject, _context) {
75
- const n = UI.widgets.formsFor(subject).length;
76
- UI.log.debug('Form pane: forms for ' + subject + ': ' + n);
77
- if (!n) return null;
78
- return '' + n + ' forms';
79
- },
80
- render: function (subject, context) {
81
- const kb = context.session.store;
82
- const dom = context.dom;
83
- const box = dom.createElement('div');
84
- box.setAttribute('class', 'formPane');
85
- function applyEnvironmentAttributes(element) {
86
- const environment = context.environment ?? {};
87
- element.dataset.layout = environment.layout ?? 'desktop';
88
- }
89
- applyEnvironmentAttributes(box);
90
- const mention = function (message, modifier = 'info') {
91
- const pre = dom.createElement('p');
92
- pre.className = `formPane__message formPane__message--${modifier}`;
93
- box.appendChild(pre).textContent = message;
94
- return pre;
95
- };
96
- const complain = function (message) {
97
- return mention(message, 'error');
98
- };
99
- const complainIfBad = function (ok, body) {
100
- if (ok) {
101
- // setModifiedDate(store, kb, store);
102
- // rerender(box); // Deleted forms at the moment
103
- } else complain('Sorry, failed to save your change:\n' + body);
104
- };
105
-
106
- // The question of where to store this data about subject
107
- // This in general needs a whole lot more thought
108
- // and it connects to the discoverbility through links
109
-
110
- // const t = kb.findTypeURIs(subject)
111
-
112
- const me = _solidLogic.authn.currentUser();
113
- if (!me) {
114
- mention('You are not logged in. If you log in and have ' + 'workspaces then you would be able to select workspace in which ' + 'to put this new information');
115
- } else {
116
- const ws = kb.each(me, ns.ui('workspace'));
117
- if (ws.length === 0) {
118
- mention('You don\'t seem to have any workspaces defined. ' + 'A workspace is a place on the web (http://..) or in ' + 'the file system (file:///) to store application data.\n');
119
- } else {
120
- // @@
121
- }
122
- }
123
-
124
- // Render forms using a given store
125
-
126
- const renderFormsFor = function (storeNode, targetSubject) {
127
- kb.fetcher.nowOrWhenFetched(storeNode.uri, targetSubject, function (ok, body) {
128
- if (!ok) return complain('Cannot load store ' + storeNode.uri + ': ' + body);
129
-
130
- // Render the forms
131
-
132
- const forms = UI.widgets.formsFor(targetSubject);
133
-
134
- // complain('Form for editing this form:');
135
- for (const form of forms) {
136
- normalizeAmbiguousFieldTypes(kb, form);
137
- const heading = dom.createElement('h4');
138
- heading.classList.add('formPane__heading');
139
- box.appendChild(heading);
140
- /* The edit Form is not working in the local environment. it does not find
141
- the ui FormForm ontology. Need to research further and check in production. */
142
- if (form.uri) {
143
- const formStore = $rdf.Util.uri.document(form.uri);
144
- if (formStore.uri !== form.uri) {
145
- const editButton = box.appendChild(UI.widgets.editFormButton(dom, box, form, formStore, complainIfBad));
146
- editButton.classList.add('formPane__editButton');
147
- }
148
- }
149
- const anchor = dom.createElement('a');
150
- anchor.classList.add('formPane__headingLink');
151
- anchor.setAttribute('href', form.uri);
152
- heading.insertBefore(anchor, heading.firstChild);
153
- anchor.textContent = UI.utils.label(form, true);
154
-
155
- /* Keep tis as a reminder to let a New one have its URI given by user
156
- mention("Where will this information be stored?")
157
- const ele = dom.createElement('input');
158
- box.appendChild(ele);
159
- ele.setAttribute('type', 'text');
160
- ele.setAttribute('size', '72');
161
- ele.setAttribute('maxlength', '1024');
162
- ele.setAttribute('style', 'font-size: 80%; color:#222;');
163
- ele.value = store.uri
164
- */
165
-
166
- UI.widgets.appendForm(dom, box, {}, targetSubject, form, storeNode, complainIfBad);
167
- tagMobileTextareaRows(box);
168
- }
169
- }); // end: when store loded
170
- }; // renderFormsFor
171
-
172
- // Figure out what store
173
-
174
- // Which places are editable and have stuff about the subject?
175
-
176
- let targetStore = null;
177
-
178
- // 1. The document URI of the subject itself
179
- const docuri = $rdf.Util.uri.docpart(subject.uri);
180
- if (kb.updater.editable(docuri, kb)) {
181
- targetStore = subject.doc();
182
- } // an editable data file with hash
183
-
184
- const annotationStore = kb.any(kb.sym(docuri), ns.link('annotationStore'));
185
- if (!targetStore && isNamedNode(annotationStore)) {
186
- targetStore = annotationStore;
187
- }
188
-
189
- // 2. where stuff is already stored
190
- if (!targetStore) {
191
- const docs = new Map();
192
- kb.statementsMatching(subject).forEach(function (st) {
193
- if (st.why.value) {
194
- docs.set(st.why.value, 1);
195
- }
196
- });
197
- kb.statementsMatching(undefined, undefined, subject).forEach(function (st) {
198
- if (st.why.value) {
199
- docs.set(st.why.value, 2);
200
- }
201
- });
202
- const docList = Array.from(docs.entries()).sort(function ([uriA, scoreA], [uriB, scoreB]) {
203
- return scoreA - scoreB || uriA.localeCompare(uriB);
204
- });
205
- for (const [uri] of docList) {
206
- if (uri && kb.updater.editable(uri, kb)) {
207
- targetStore = kb.sym(uri);
208
- break;
209
- }
210
- }
211
- }
212
-
213
- // 3. In a workspace store
214
- const date = '2014'; // @@@@@@@@@@@@ pass as parameter
215
-
216
- if (targetStore) {
217
- // mention("@@ Ok, we have a store <" + store.uri + ">.");
218
- renderFormsFor(targetStore, subject);
219
- } else {
220
- complain('No suitable store is known, to edit <' + subject.uri + '>.');
221
- const workspaceDetails = {
222
- noun: 'form',
223
- appPathSegment: 'form'
224
- };
225
- const foobarbaz = UI.login.selectWorkspace(dom, workspaceDetails, function (workspaceUri) {
226
- const workspace = workspaceUri ? kb.sym(workspaceUri) : null;
227
- if (!workspace) {
228
- complain('Workspace selection was cancelled.');
229
- return;
230
- }
231
- mention('Workspace selected OK: ' + workspace.uri);
232
- const activities = kb.each(undefined, ns.space('workspace'), workspace).filter(isNamedNode);
233
- for (let j = 0; j < activities.length; j++) {
234
- const act = activities[j];
235
- const subjectDoc2 = kb.any(act, ns.space('store'));
236
- const start = kb.any(act, ns.cal('dtstart'))?.value;
237
- const end = kb.any(act, ns.cal('dtend'))?.value;
238
- if (isNamedNode(subjectDoc2) && start && end && start <= date && end > date) {
239
- renderFormsFor(subjectDoc2, subject);
240
- break;
241
- } else {
242
- complain('Note no suitable annotation store in activity: ' + act);
243
- }
244
- }
245
- });
246
- box.appendChild(foobarbaz);
247
- }
248
- return box;
249
- }
250
- };
@@ -1,74 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
- var _solidLogic = require("solid-logic");
8
- var _solidUi = require("solid-ui");
9
- /* Home Pane
10
- **
11
- ** The home pane is avaiable everywhere and allows a user
12
- ** to
13
- ** - keep track of their stuff
14
- ** - make new things, and possibly
15
- ** - keep track of accounts and workspaces etc
16
- **
17
- */
18
-
19
- const HomePaneSource = {
20
- icon: _solidUi.icons.iconBase + 'noun_547570.svg',
21
- // noun_25830
22
-
23
- global: true,
24
- name: 'home',
25
- // Does the subject deserve an home pane?
26
- //
27
- // yes, always!
28
- //
29
- label: function () {
30
- return 'home';
31
- },
32
- audience: [_solidUi.ns.solid('PowerUser')],
33
- render: function (subject, context) {
34
- const dom = context.dom;
35
- const showContent = async function () {
36
- const homePaneContext = {
37
- div,
38
- dom,
39
- statusArea: div,
40
- me
41
- };
42
- /*
43
- div.appendChild(dom.createElement('h4')).textContent = 'Login status'
44
- var loginStatusDiv = div.appendChild(context.dom.createElement('div'))
45
- // TODO: Find out what the actual type is:
46
- type UriType = unknown;
47
- loginStatusDiv.appendChild(UI.login.loginStatusBox(context.dom, () => {
48
- // Here we know new log in status
49
- }))
50
- */
51
- div.appendChild(dom.createElement('h4')).textContent = 'Create new thing somewhere';
52
- const creationDiv = div.appendChild(dom.createElement('div'));
53
- const creationContext = {
54
- div: creationDiv,
55
- dom,
56
- statusArea: div,
57
- me
58
- };
59
- const relevantPanes = await _solidUi.login.filterAvailablePanes(context.session.paneRegistry.list);
60
- // @ts-ignore
61
- _solidUi.create.newThingUI(creationContext, context, relevantPanes); // newUI Have to pass panes down
62
-
63
- _solidUi.login.registrationList(homePaneContext, {}).then(function () {});
64
- };
65
- const div = dom.createElement('div');
66
- const me = _solidLogic.authn.currentUser(); // this will be incorrect if not logged in
67
-
68
- showContent();
69
- return div;
70
- }
71
- }; // pane object
72
-
73
- // ends
74
- var _default = exports.default = HomePaneSource;
@@ -1,129 +0,0 @@
1
- .human-readable-pane {
2
- display: block;
3
- min-width: 0;
4
- width: 100%;
5
- max-width: 100%;
6
- box-sizing: border-box;
7
- }
8
-
9
- .human-readable-pane__container {
10
- display: block;
11
- min-width: 0;
12
- width: 100%;
13
- max-width: 100%;
14
- box-sizing: border-box;
15
- overflow-x: hidden;
16
- }
17
-
18
- .human-readable-pane__frame {
19
- display: block;
20
- border: 1px solid;
21
- padding: 1rem;
22
- height: var(--human-readable-pane-height, 30rem);
23
- min-width: 0;
24
- max-width: 100%;
25
- width: 100%;
26
- box-sizing: border-box;
27
- resize: both;
28
- overflow: auto;
29
- }
30
-
31
- .human-readable-pane__frame--iframe {
32
- padding: 0;
33
- overflow: hidden;
34
- width: 100%;
35
- max-width: 100%;
36
- min-height: 18rem;
37
- background: var(--color-background, white);
38
- }
39
-
40
- .human-readable-pane__frame--markdown {
41
- overflow-wrap: anywhere;
42
- word-break: break-word;
43
- }
44
-
45
- .human-readable-pane__frame--plain-text {
46
- font-family: monospace;
47
- white-space: pre-wrap;
48
- overflow-wrap: anywhere;
49
- word-break: break-word;
50
- }
51
-
52
- .human-readable-pane__frame--markdown > * {
53
- max-width: 100%;
54
- box-sizing: border-box;
55
- }
56
-
57
- .human-readable-pane__frame--markdown img,
58
- .human-readable-pane__frame--markdown video,
59
- .human-readable-pane__frame--markdown canvas,
60
- .human-readable-pane__frame--markdown iframe {
61
- max-width: 100%;
62
- height: auto;
63
- }
64
-
65
- .human-readable-pane__frame--markdown pre,
66
- .human-readable-pane__frame--markdown code {
67
- max-width: 100%;
68
- overflow-wrap: anywhere;
69
- word-break: break-word;
70
- }
71
-
72
- .human-readable-pane__frame--markdown pre {
73
- white-space: pre-wrap;
74
- }
75
-
76
- .human-readable-pane__frame--markdown table {
77
- display: block;
78
- width: 100%;
79
- max-width: 100%;
80
- overflow-x: auto;
81
- box-sizing: border-box;
82
- }
83
-
84
- .human-readable-pane__frame--markdown th,
85
- .human-readable-pane__frame--markdown td {
86
- white-space: normal;
87
- overflow-wrap: anywhere;
88
- word-break: break-word;
89
- }
90
-
91
- .human-readable-pane[data-layout='mobile'] .human-readable-pane__frame {
92
- padding: 0.75rem;
93
- resize: none;
94
- min-width: 0;
95
- }
96
-
97
- .human-readable-pane[data-layout='mobile'] .human-readable-pane__frame--markdown,
98
- .human-readable-pane[data-layout='mobile'] .human-readable-pane__frame--plain-text {
99
- overflow-wrap: anywhere;
100
- word-break: break-word;
101
- }
102
-
103
- .human-readable-pane[data-layout='mobile'] .human-readable-pane__frame--iframe {
104
- width: 100%;
105
- max-width: 100%;
106
- min-height: 16rem;
107
- height: min(var(--human-readable-pane-height, 30rem), 75vh);
108
- }
109
-
110
- @media (max-width: 576px) {
111
- .human-readable-pane__frame {
112
- padding: 0.75rem;
113
- resize: none;
114
- min-width: 0;
115
- }
116
-
117
- .human-readable-pane__frame--markdown,
118
- .human-readable-pane__frame--plain-text {
119
- overflow-wrap: anywhere;
120
- word-break: break-word;
121
- }
122
-
123
- .human-readable-pane__frame--iframe {
124
- width: 100%;
125
- max-width: 100%;
126
- min-height: 16rem;
127
- height: min(var(--human-readable-pane-height, 30rem), 75vh);
128
- }
129
- }