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
@@ -0,0 +1,711 @@
1
+ (function(){try{if(typeof document<`u`){var e=document.createElement(`style`);e.appendChild(document.createTextNode(`.obj{vertical-align:top;border:none;margin:.2em;padding:0}.iconTD{vertical-align:top;border:none;width:0;margin:.2em;padding:0}.labelTD{width:100%}.file-explorer-header{flex-wrap:wrap;justify-content:flex-start;align-items:center;display:flex}.strongHeader{margin:0 .6rem 0 0;padding:.1rem .4rem;font-size:150%}.tableFullWidth{width:100%;background:var(--color-background,#f8f9fb)!important}.placeholderTable{width:100%}.tdFlex{vertical-align:top;border-radius:5px;flex-direction:row;justify-content:space-between;display:flex;overflow:hidden}.paneDiv,.exceptionPane{width:100%;min-width:0;display:block}.objectValue--literal{white-space:pre-wrap}.objectValue--integer,.objectValue--decimal,.objectValue--double{text-align:right;display:block}.objectValueAccessIcon,.objectValueLinkIcon,.phoneIcon{vertical-align:middle;display:inline-block}.objectValueLinkIcon,.phoneIcon{width:12px;height:12px}`)),document.head.appendChild(e)}}catch(e){console.error(`vite-plugin-css-injected-by-js`,e)}})();
2
+ import { propertyViews as e } from "./propertyViews.esm.js";
3
+ import { outlineIcons as t } from "./outlineIcons.esm.js";
4
+ import { UserInput as n } from "./userInput.esm.js";
5
+ import { QuerySource as r } from "./queryByExample.esm.js";
6
+ import { isWebIdUri as i } from "../utils/webIdUtils.esm.js";
7
+ import { loadContainerRepresentation as a } from "../utils/podUtils.esm.js";
8
+ import "../components/file-explorer-header/FileExplorerProvider.esm.js";
9
+ import * as o from "solid-ui";
10
+ import { store as s } from "solid-logic";
11
+ import * as c from "pane-registry";
12
+ import * as l from "rdflib";
13
+ //#region src/outline/manager.js
14
+ /* istanbul ignore file */
15
+ function u(u) {
16
+ let d = u.dom;
17
+ this.document = u.dom, this.context = u, this.outlineIcons = t, this.labeller = this.labeller || {}, this.labeller.LanguagePreference = "";
18
+ let f = this, p = this, m = [];
19
+ this.selection = m, this.ancestor = o.utils.ancestor, this.sparql = l.UpdateManager, this.kb = s;
20
+ let h = s, g = s.fetcher;
21
+ d.outline = this, this.qs = new r(), this.UserInput = new n(this), this.clipboardAddress = "tabulator:clipboard", this.UserInput.clipboardInit(this.clipboardAddress);
22
+ let _ = this.outlineElement;
23
+ this.init = function() {
24
+ let e = b();
25
+ e.outline = this;
26
+ }, this.getLayoutMode = function() {
27
+ let e = this.context?.environment?.layout;
28
+ if (e === "mobile" || e === "desktop") return e;
29
+ if (typeof window < "u" && window.matchMedia) {
30
+ let e = Math.round(Math.min(window.innerWidth, window.visualViewport?.width || window.innerWidth)), t = window.matchMedia("(pointer: coarse)").matches || navigator.maxTouchPoints > 0;
31
+ return e <= 768 || t && e <= 1024 ? "mobile" : "desktop";
32
+ }
33
+ return "desktop";
34
+ }, v.lastkbsize = 0;
35
+ function v(e) {
36
+ let t = [];
37
+ for (let e = arguments.length - 1; e > 0; e--) t[e - 1] = arguments[e];
38
+ let n = (/* @__PURE__ */ new Date()).getTime(), r = e.apply(e, t), i = (/* @__PURE__ */ new Date()).getTime();
39
+ return o.log.info("BENCHMARK: kb delta: " + (h.statements.length - v.lastkbsize) + ", time elapsed for " + e + " was " + (i - n) + "ms"), v.lastkbsize = h.statements.length, r;
40
+ }
41
+ function y(e, n, r) {
42
+ let i = o.utils.AJARImage(t.src.icon_remove_node, "remove", void 0, d);
43
+ return i.addEventListener("click", K), i.node = r, i.setAttribute("about", n.toNT()), i.style.marginLeft = "5px", i.style.marginRight = "10px", e.appendChild(i), i;
44
+ }
45
+ this.appendAccessIcons = function(e, t, n) {
46
+ if (n.termType !== "NamedNode") return;
47
+ let r = e.uris(n);
48
+ r.sort();
49
+ let i = null;
50
+ for (let e = 0; e < r.length; e++) r[e] !== i && (i = r[e], p.appendAccessIcon(t, i));
51
+ }, this.appendAccessIcon = function(e, n) {
52
+ if (!n) return "";
53
+ let r = l.uri.docpart(n);
54
+ if (r.slice(0, 5) !== "http:") return "";
55
+ let i = g.getState(r), a, s, c;
56
+ switch (i) {
57
+ case "unrequested":
58
+ a = t.src.icon_unrequested, s = "fetch", c = G;
59
+ break;
60
+ case "requested":
61
+ a = t.src.icon_requested, s = "fetching", c = U;
62
+ break;
63
+ case "fetched":
64
+ a = t.src.icon_fetched, c = W, s = "loaded";
65
+ break;
66
+ case "failed":
67
+ a = t.src.icon_failed, s = "failed", c = U;
68
+ break;
69
+ case "unpermitted":
70
+ a = t.src.icon_failed, c = U, s = "no perm";
71
+ break;
72
+ case "unfetchable":
73
+ a = t.src.icon_failed, c = U, s = "cannot fetch";
74
+ break;
75
+ default: o.log.error("?? state = " + i);
76
+ }
77
+ let u = o.utils.AJARImage(a, s, t.tooltips[a].replace(/[Tt]his resource/, r), d);
78
+ return u.classList.add("objectValueAccessIcon"), u.setAttribute("uri", n), u.addEventListener("click", c), P(u, r), e.appendChild(u), u;
79
+ }, this.outlineObjectTD = function(e, t, n, r) {
80
+ let i = d.createElement("td");
81
+ return i.classList.add("obj"), i.setAttribute("notSelectable", "false"), e ? ((e.termType === "NamedNode" || e.termType === "BlankNode" || e.termType === "Literal" && e.value.slice && (e.value.slice(0, 6) === "ftp://" || e.value.slice(0, 8) === "https://" || e.value.slice(0, 7) === "http://")) && (i.setAttribute("about", e.toNT()), i.appendChild(o.utils.AJARImage(o.icons.originalIconBase + "tbl-expand-trans.png", "expand", void 0, d)).addEventListener("click", V)), i.setAttribute("class", "obj"), h.whether(e, o.ns.rdf("type"), o.ns.link("Request")) && (i.className = "undetermined"), t ||= ne, i.appendChild(t(e)), n && y(i, e, n), i.tabulatorSelect = function() {
82
+ z(this, !0);
83
+ }, i.tabulatorDeselect = function() {
84
+ z(this, !1);
85
+ }, i.addEventListener("click", q), i) : (i.textContent = "No object available.", i);
86
+ }, this.outlinePredicateTD = function(e, n, r, i) {
87
+ let a = d.createElement("TD");
88
+ a.setAttribute("about", e.toNT()), a.setAttribute("class", i ? "pred internal" : "pred");
89
+ let s;
90
+ switch (e.termType) {
91
+ case "BlankNode":
92
+ a.className = "undetermined";
93
+ break;
94
+ case "NamedNode":
95
+ s = o.utils.predicateLabelForXML(e, r);
96
+ break;
97
+ case "Collection": s = o.utils.predicateLabelForXML(e.elements[0], r);
98
+ }
99
+ s = s ? s.slice(0, 1).toUpperCase() + s.slice(1) : "...";
100
+ let c = d.createElement("TD");
101
+ c.classList.add("labelTD"), c.setAttribute("notSelectable", "true"), c.appendChild(d.createTextNode(s)), a.appendChild(c), c.style.width = "100%", a.appendChild(N.construct(d));
102
+ for (let e in t.termWidgets) {
103
+ if (!n || !n.AJAR_statement) break;
104
+ t.termWidgets[e].filter && t.termWidgets[e].filter(n.AJAR_statement, "pred", r) && N.addIcon(a, t.termWidgets[e]);
105
+ }
106
+ return a.tabulatorSelect = function() {
107
+ z(this, !0);
108
+ }, a.tabulatorDeselect = function() {
109
+ z(this, !1);
110
+ }, a.addEventListener("click", q), a;
111
+ };
112
+ function b() {
113
+ return C("OutlineView", "Resource browser");
114
+ }
115
+ function x() {
116
+ return document.querySelector("solid-panes-navbar");
117
+ }
118
+ function S() {
119
+ let e = x();
120
+ e && e.classList.remove("navbar--hidden");
121
+ }
122
+ function C(e) {
123
+ if (document.getElementById("MainContent") || document.body, e === "OutlineView") {
124
+ let e = document.getElementById("OutlineView");
125
+ if (e) return e;
126
+ let t = document.getElementById("MainContent") || document.body;
127
+ if (t) {
128
+ let e = document.createElement("table");
129
+ return e.id = "OutlineView", e.classList.add("outline-view"), e.setAttribute("aria-label", "Resource browser"), t.appendChild(e), e;
130
+ }
131
+ }
132
+ }
133
+ async function w(e, t) {
134
+ e.uri.endsWith("/") && await a(e);
135
+ let n = t.session.paneRegistry, r = n.list.filter((n) => n.label(e, t) && !n.global && n.name !== "sharing");
136
+ if (r.length === 0) return [n.byName("internal")];
137
+ let i = await o.login.filterAvailablePanes(r);
138
+ return i.length === 0 ? [r[0]] : n.list.indexOf(r[0]) < n.list.indexOf(i[0]) ? [r[0]].concat(i) : i;
139
+ }
140
+ function T(e, t) {
141
+ return e.find((e) => e.shouldGetFocus && e.shouldGetFocus(t)) || e[0];
142
+ }
143
+ function E(e) {
144
+ let t = d.getElementById("queryButton");
145
+ t && (e ? t.removeAttribute("style") : t.setAttribute("style", "display:none;"));
146
+ }
147
+ function D(e, t, n, r) {
148
+ if (!e || !n) return;
149
+ let i;
150
+ try {
151
+ o.log.info("outline: Rendering pane (menu): " + n.name), i = n.render(t, u, r);
152
+ } catch (e) {
153
+ i = d.createElement("div"), i.setAttribute("class", "exceptionPane");
154
+ let t = d.createElement("pre");
155
+ i.appendChild(t), t.appendChild(d.createTextNode(o.utils.stackString(e)));
156
+ }
157
+ i.classList.add("paneDiv");
158
+ let a = e.querySelector(".paneDiv");
159
+ a ? a.replaceWith(i) : e.appendChild(i);
160
+ }
161
+ function O(e, t) {
162
+ let n = d.getElementById("OutlineView");
163
+ if (!n) return;
164
+ let r = e.toNT(), i = n.querySelector("td.paneView[about=\"" + r + "\"]");
165
+ if (!i) return;
166
+ let a = i.querySelector("file-explorer-provider");
167
+ if (a) {
168
+ if (!t) {
169
+ o.log.warn("outline: Unable to open pane in place: pane is undefined.");
170
+ return;
171
+ }
172
+ E(!!t.requireQueryButton), a.openSelectedPane?.(t), D(a, e, t, a.paneRenderOptions);
173
+ }
174
+ }
175
+ async function ee(e, t, n) {
176
+ n ||= {};
177
+ let r = d.createElement("tr");
178
+ n.hover && r.classList.add("hoverControl");
179
+ let a = r.appendChild(d.createElement("td"));
180
+ a.classList.add("paneView", "tdFlex"), a.setAttribute("notSelectable", "true"), a.setAttribute("about", e.toNT()), a.setAttribute("colspan", "2");
181
+ let o = a.appendChild(d.createElement("file-explorer-provider"));
182
+ o.context = u, o.subjectUri = e.uri, o.onBack = () => H({ target: o });
183
+ let s = n.hideList ? [] : await w(e, u);
184
+ return o.relevantPanes = s, o.pane = t || T(s, e), o.showHeader = !(e && e.uri && e.site && e.site().uri === e.uri) && !i(e), o.paneRenderOptions = n, o.soloPane = n.solo, o.openPane = (e, t) => O(e, c.byName(t)), o.handleSharingClick = () => O(e, c.byName("sharing")), o.pane && (r.classList.add("outlinePaneRow"), D(o, e, o.pane, n)), r;
185
+ }
186
+ function k(e) {
187
+ let t = e.parentNode, n = t.parentNode, r = d.createElement("table");
188
+ r.classList.add("placeholderTable"), n.replaceChild(r, t), t.removeChild(e), n.replaceChild(t, r);
189
+ }
190
+ let A = this.propertyTable = function(e, t, n, r) {
191
+ return o.log.debug("Property table for: " + e), e = h.canon(e), t ? (o.log.info("Re-expand: " + t), t) : (t = d.createElement("table"), t.classList.add("tableFullWidth"), ee(e, n, r).then((e) => {
192
+ t.appendChild(e);
193
+ }), t);
194
+ };
195
+ function j(e, t, n) {
196
+ let r = e.createElement("TR");
197
+ r.AJAR_statement = t, r.AJAR_inverse = n, r.setAttribute("predTR", "true");
198
+ let i = p.outlinePredicateTD(t.predicate, r, n);
199
+ return r.appendChild(i), r;
200
+ }
201
+ this.propertyTR = j;
202
+ function M(e, t, n, r) {
203
+ if (o.log.debug("Property list length = " + t.length), t.length === 0) return "";
204
+ let i, a, s;
205
+ n ? (i = function(e) {
206
+ return e.subject;
207
+ }, t = t.sort(o.utils.RDFComparePredicateSubject)) : (i = function(e) {
208
+ return e.object;
209
+ }, t = t.sort(o.utils.RDFComparePredicateObject));
210
+ let c = t.length;
211
+ for (a = 0; a < c; a++) {
212
+ let l = t[a];
213
+ if (r && !r(l.predicate, n)) continue;
214
+ let u = j(d, l, n);
215
+ e.appendChild(u);
216
+ let m = u.firstChild, g = $.defaults[l.predicate.uri], _ = 0, v = 0, y = 0;
217
+ for (s = 0; s + a < c && t[a + s].predicate.sameTerm(l.predicate); s++) s > 0 && i(t[a + s]).sameTerm(i(t[a + s - 1])) && _++, i(t[a + s]).lang && f.labeller.LanguagePreference && (v += 1, i(t[a + s]).lang.indexOf(f.labeller.LanguagePreference) >= 0 && y++);
218
+ if (y > 0 && v === _ + 1) {
219
+ for (let e = a; e <= a + _; e++) if (f.labeller.LanguagePreference && i(t[e]).lang.indexOf(f.labeller.LanguagePreference) >= 0) {
220
+ u.appendChild(p.outlineObjectTD(i(t[e]), g, void 0, l));
221
+ break;
222
+ }
223
+ a += _;
224
+ continue;
225
+ }
226
+ u.appendChild(p.outlineObjectTD(i(l), g, void 0, l)), u.showNobj = function(r) {
227
+ let c = s - _, u = 2 * r < c ? r : c, f = [];
228
+ if (c !== 1) {
229
+ m.setAttribute("rowspan", u === c ? c : r + 1);
230
+ let _;
231
+ u < c && u === 1 && m.setAttribute("rowspan", 2);
232
+ let v = 0;
233
+ for (_ = 1; _ < s; _++) if (h.canon(i(t[a + _])).sameTerm(h.canon(i(t[a + _ - 1])))) o.log.info("there are duplicates here: %s", t[a + _ - 1]);
234
+ else {
235
+ v++, l = t[a + _], g = $.defaults[l.predicate.uri];
236
+ let r = d.createElement("tr");
237
+ r.style.colspan = "1", r.appendChild(p.outlineObjectTD(i(t[a + _]), g, void 0, l)), r.AJAR_statement = l, r.AJAR_inverse = n, e.appendChild(r), v >= u && (r.style.display = "none", f.push(r));
238
+ }
239
+ u === c && m.setAttribute("rowspan", v + 1);
240
+ }
241
+ if (u < c) {
242
+ let t = d.createElement("tr"), n = t.appendChild(d.createElement("td"));
243
+ if (n.setAttribute("style", "margin: 0.2em; border: none; padding: 0; vertical-align: top;"), n.setAttribute("notSelectable", "false"), c > r) {
244
+ let e = d.createElement("a");
245
+ n.appendChild(e);
246
+ let t = (function(e) {
247
+ return e(m, s, _, r);
248
+ })(function(t, n, r, i) {
249
+ return function(n) {
250
+ e.innerHTML = "", n === "none" ? (e.appendChild(o.utils.AJARImage(o.icons.originalIconBase + "tbl-more-trans.png", "more", "See all", d)), e.appendChild(d.createTextNode(c - i + " more...")), t.setAttribute("rowspan", i + 1)) : (e.appendChild(o.utils.AJARImage(o.icons.originalIconBase + "tbl-shrink.png", "(less)", void 0, d)), t.setAttribute("rowspan", c + 1));
251
+ for (let e = 0; e < f.length; e++) {
252
+ let t = f[e];
253
+ t.style.display = n;
254
+ }
255
+ };
256
+ }), i = "none", a = function(e) {
257
+ return t(i), i = i === "none" ? "" : "none", e && e.stopPropagation(), !1;
258
+ };
259
+ a(), e.addEventListener("click", a, !1);
260
+ }
261
+ e.appendChild(t);
262
+ }
263
+ }, u.showAllobj = function() {
264
+ u.showNobj(s - _);
265
+ }, u.showNobj(10), a += s - 1;
266
+ }
267
+ }
268
+ this.appendPropertyTRs = M;
269
+ let N = {};
270
+ globalThis.termWidget = N, N.construct = function(e) {
271
+ e ||= document;
272
+ let t = e.createElement("TD");
273
+ return t.setAttribute("style", "margin: 0.2em; border: none; padding: 0; vertical-align: top;"), t.setAttribute("class", "iconTD"), t.setAttribute("notSelectable", "true"), t.style.width = "0px", t;
274
+ }, N.addIcon = function(e, t, n) {
275
+ let r = e.childNodes[1];
276
+ if (!r) return;
277
+ let i = r.style.width, a = o.utils.AJARImage(t.src, t.alt, t.tooltip, d);
278
+ i = parseInt(i), i += t.width, r.style.width = i + "px", r.appendChild(a), n && a.addEventListener("click", n);
279
+ }, N.removeIcon = function(e, t) {
280
+ let n = e.childNodes[1], r;
281
+ if (!n) return;
282
+ let i = n.style.width;
283
+ i = parseInt(i), i -= t.width, n.style.width = i + "px";
284
+ for (let e = 0; e < n.childNodes.length; e++) {
285
+ let i = n.childNodes[e], a = i.src;
286
+ try {
287
+ r = d.location.href.split("?")[0];
288
+ } catch {
289
+ r = "";
290
+ }
291
+ a === l.uri.join(t.src, r) && n.removeChild(i);
292
+ }
293
+ }, N.replaceIcon = function(e, t, n, r) {
294
+ N.removeIcon(e, t), N.addIcon(e, n, r);
295
+ };
296
+ function P(e, n) {
297
+ o.log.debug("Button callbacks for " + n + " added");
298
+ let r = function(r) {
299
+ return function(i) {
300
+ return i.indexOf("#"), !e || !f.ancestor(e, "DIV") ? !1 : (i === n && (e.src = r, e.title = t.tooltips[r]), !0);
301
+ };
302
+ };
303
+ g.addCallback("request", r(t.src.icon_requested)), g.addCallback("done", r(t.src.icon_fetched)), g.addCallback("fail", r(t.src.icon_failed));
304
+ }
305
+ function F(e) {
306
+ let t = e.getAttribute("class");
307
+ return !!(t && t.indexOf("selected") >= 0);
308
+ }
309
+ function I(e) {
310
+ let n = p.targetOf(e).parentNode;
311
+ N.replaceIcon(n.parentNode, t.termWidgets.optOn, t.termWidgets.optOff, L), n.parentNode.parentNode.removeAttribute("optional");
312
+ }
313
+ function L(e) {
314
+ let n = p.targetOf(e).parentNode;
315
+ N.replaceIcon(n.parentNode, t.termWidgets.optOff, t.termWidgets.optOn, I), n.parentNode.parentNode.setAttribute("optional", "true");
316
+ }
317
+ function R(e, n) {
318
+ let r = t.termWidgets.optOn, i = t.termWidgets.optOff;
319
+ for (let t = e; t.parentNode; t = t.parentNode) for (;;) if (t.getAttribute("predTR")) {
320
+ let e = t.getAttribute("parentOfSelected");
321
+ e = e ? parseInt(e) : 0, e === 0 && n > 0 && N.addIcon(t.childNodes[0], t.getAttribute("optional") ? r : i, t.getAttribute("optional") ? I : L), e += n, t.setAttribute("parentOfSelected", e), e === 0 && (t.removeAttribute("parentOfSelected"), N.removeIcon(t.childNodes[0], t.getAttribute("optional") ? r : i));
322
+ break;
323
+ } else if (t.previousSibling && t.previousSibling.nodeName === "TR") t = t.previousSibling;
324
+ else break;
325
+ }
326
+ this.statusBarClick = function(e) {
327
+ let t = o.utils.getTarget(e);
328
+ t.label && (window.content.location = t.label);
329
+ }, this.showURI = function(e) {
330
+ e && d.getElementById("UserURI") && (d.getElementById("UserURI").value = e.termType === "NamedNode" ? e.uri : "");
331
+ }, this.showSource = function() {
332
+ if (!(typeof sourceWidget > "u")) {
333
+ for (let e in sourceWidget.sources) sourceWidget.sources[e].setAttribute("class", "");
334
+ for (let e = 0; e < m.length; e++) {
335
+ if (!m[e].parentNode) continue;
336
+ let t = m[e].parentNode.AJAR_statement;
337
+ if (!t) continue;
338
+ let n = t.why;
339
+ n && n.uri && sourceWidget.highlight(n, !0);
340
+ }
341
+ }
342
+ }, this.getSelection = function() {
343
+ return m;
344
+ };
345
+ function z(e, n) {
346
+ if (e.nodeName !== "TD") throw o.log.debug("down" + e.nodeName), Error("Expected TD in setSelected: " + e.nodeName + " : " + e.textContent);
347
+ o.log.debug("pass");
348
+ let r = e.getAttribute("class");
349
+ if (r ||= "", n) {
350
+ r += " selected", (r.indexOf("pred") >= 0 || r.indexOf("obj") >= 0) && R(e, 1), m.push(e);
351
+ let n = o.utils.getTerm(e);
352
+ p.showURI(n);
353
+ let i = e.AJAR_statement;
354
+ if (i === void 0 && e.parentNode && (i = e.parentNode.AJAR_statement), i) {
355
+ let n = i.why;
356
+ s.updater.editable(n.uri, h) && r.indexOf("pred") >= 0 && N.addIcon(e, t.termWidgets.addTri);
357
+ }
358
+ } else o.log.debug("cla=$" + r + "$"), r === "selected" && (r = ""), r = r.replace(" selected", ""), (r.indexOf("pred") >= 0 || r.indexOf("obj") >= 0) && R(e, -1), r.indexOf("pred") >= 0 && N.removeIcon(e, t.termWidgets.addTri), m = m.filter(function(t) {
359
+ return t === e;
360
+ }), o.log.info("Deselecting " + e.textContent);
361
+ typeof sourceWidget < "u" && p.showSource(), e.setAttribute("class", r);
362
+ }
363
+ function B() {
364
+ let e = m.length;
365
+ for (let t = e - 1; t >= 0; t--) z(m[t], !1);
366
+ m = [];
367
+ }
368
+ this.targetOf = function(e) {
369
+ let t;
370
+ if (e ||= window.event, e.target) t = e.target;
371
+ else if (e.srcElement) t = e.srcElement;
372
+ else return o.log.error("can't get target for event " + e), !1;
373
+ return t.nodeType === 3 && (t = t.parentNode), t;
374
+ }, this.walk = function(e, t) {
375
+ let n = t || m[0], r;
376
+ switch (e) {
377
+ case "down":
378
+ try {
379
+ r = n.parentNode.nextSibling.lastChild;
380
+ } catch {
381
+ this.walk("up");
382
+ return;
383
+ }
384
+ B(), z(r, !0);
385
+ break;
386
+ case "up":
387
+ try {
388
+ r = n.parentNode.previousSibling.lastChild;
389
+ } catch {
390
+ return;
391
+ }
392
+ B(), z(r, !0);
393
+ break;
394
+ case "right":
395
+ if (B(), n.nextSibling || n.lastChild.tagName === "strong") z(n.nextSibling, !0);
396
+ else {
397
+ let e = d.evaluate("table/div/tr/td[2]", n, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue;
398
+ z(e, !0);
399
+ }
400
+ break;
401
+ case "left":
402
+ if (B(), n.previousSibling && n.previousSibling.className === "undetermined") return z(n.previousSibling, !0), !0;
403
+ z(o.utils.ancestor(n.parentNode, "TD"), !0);
404
+ break;
405
+ case "moveTo": B(), z(t, !0);
406
+ }
407
+ (e === "down" || e === "up") && (r.tabulatorSelect || this.walk(e));
408
+ }, this.OutlinerKeypressPanel = function(e) {
409
+ o.log.info("Key " + e.keyCode + " pressed");
410
+ function t(e) {
411
+ e && d.getElementById("UserURI") && (d.getElementById("UserURI").value = e.termType === "NamedNode" ? e.uri : "");
412
+ }
413
+ function n(e) {
414
+ return arguments[3] ? !0 : (l("right", a), t(o.utils.getAbout(h, m[0])), !0);
415
+ }
416
+ let r, i;
417
+ if (o.utils.getTarget(e).tagName === "TEXTAREA" || o.utils.getTarget(e).id === "UserURI" || m.length > 1) return;
418
+ if (m.length === 0) {
419
+ (e.keyCode === 13 || e.keyCode === 38 || e.keyCode === 40 || e.keyCode === 37 || e.keyCode === 39) && (this.walk("right", p.focusTd), t(o.utils.getAbout(h, m[0])));
420
+ return;
421
+ }
422
+ let a = m[0];
423
+ switch (g.removeCallback("done", "setSelectedAfterward"), g.removeCallback("fail", "setSelectedAfterward"), e.keyCode) {
424
+ case 13:
425
+ if (o.utils.getTarget(e).tagName === "HTML") {
426
+ let e = o.utils.getAbout(h, a);
427
+ r = a.parentNode.AJAR_statement.why, i = s.updater.editable(r.uri, h), e ? f.GotoSubject(e, !0) : i && p.UserInput.Enter(a);
428
+ } else this.UserInput.Keypress(e), this.walk("down"), e.stopPropagation();
429
+ return;
430
+ case 38:
431
+ this.walk("up"), e.stopPropagation(), e.preventDefault();
432
+ break;
433
+ case 40: this.walk("down"), e.stopPropagation(), e.preventDefault();
434
+ }
435
+ if (o.utils.getTarget(e).tagName === "INPUT") return;
436
+ let l;
437
+ switch (e.keyCode) {
438
+ case 46:
439
+ case 8:
440
+ r = a.parentNode.AJAR_statement.why, i = s.updater.editable(r.uri, h), i && (e.preventDefault(), this.UserInput.Delete(a));
441
+ break;
442
+ case 37: {
443
+ if (this.walk("left")) return;
444
+ let e = o.utils.ancestor(a.parentNode, "TD");
445
+ Z(a, o.utils.getAbout(h, e));
446
+ break;
447
+ }
448
+ case 39:
449
+ {
450
+ let e = o.utils.getAbout(h, a);
451
+ if (e) {
452
+ if (l = this.walk, a.nextSibling) {
453
+ this.walk("right");
454
+ return;
455
+ }
456
+ a.firstChild.tagName !== "TABLE" && (g.addCallback("done", n), g.addCallback("fail", n), X(a, e, { pane: c.byName("defaultPane") })), n();
457
+ }
458
+ }
459
+ break;
460
+ case 38:
461
+ case 40: break;
462
+ default: switch (e.charCode) {
463
+ case 99:
464
+ if (e.ctrlKey) {
465
+ p.UserInput.copyToClipboard(p.clipboardAddress, a);
466
+ break;
467
+ }
468
+ break;
469
+ case 118:
470
+ case 112:
471
+ if (e.ctrlKey) {
472
+ p.UserInput.pasteFromClipboard(p.clipboardAddress, a);
473
+ break;
474
+ }
475
+ break;
476
+ default: o.utils.getTarget(e).tagName;
477
+ }
478
+ }
479
+ t(o.utils.getAbout(h, m[0]));
480
+ }, this.OutlinerMouseclickPanel = function(e) {
481
+ switch (p.UserInput._tabulatorMode) {
482
+ case 0:
483
+ J(e);
484
+ break;
485
+ case 1: p.UserInput.Click(e);
486
+ }
487
+ };
488
+ function V(e) {
489
+ let t = p.targetOf(e), n = t.parentNode, r = o.utils.getAbout(h, t), i = e.altKey ? c.byName("internal") : void 0;
490
+ e.shiftKey ? Q(n, r, i) : e.altKey ? X(n, r, {
491
+ pane: c.byName("internal"),
492
+ immediate: !0
493
+ }) : X(n, r);
494
+ }
495
+ function H(e) {
496
+ let t = p.targetOf(e), n = o.utils.getAbout(h, t), r = e.altKey ? c.byName("internal") : void 0, i = t.parentNode.parentNode;
497
+ Z(i, n, r);
498
+ }
499
+ function U(e) {
500
+ let t = p.targetOf(e).getAttribute("uri");
501
+ e.altKey ? g.fetch(l.uri.docpart(t), { force: !0 }) : g.refresh(h.sym(l.uri.docpart(t)));
502
+ }
503
+ function W(e) {
504
+ let t = p.targetOf(e).getAttribute("uri");
505
+ e.altKey ? g.fetch(l.uri.docpart(t), { force: !0 }) : g.refresh(h.sym(l.uri.docpart(t)));
506
+ }
507
+ function G(e) {
508
+ let t = p.targetOf(e).getAttribute("uri");
509
+ g.fetch(l.uri.docpart(t));
510
+ }
511
+ function K(e) {
512
+ let t = p.targetOf(e), n = t.node;
513
+ n.childNodes.length > 1 && (n = t.parentNode), k(n);
514
+ }
515
+ function q(e) {
516
+ if (p.UserInput._tabulatorMode) return p.UserInput.Click(e);
517
+ let t = p.targetOf(e), n;
518
+ for (n = o.utils.ancestor(t, "TD"); n && n.getAttribute("notSelectable") !== "false"; n = o.utils.ancestor(n.parentNode, "TD"));
519
+ if (!n) return;
520
+ let r = F(n);
521
+ if (o.log.debug("Was node selected before: " + r), e.altKey) z(n, !F(n));
522
+ else if (e.shiftKey) z(n, !0);
523
+ else {
524
+ if (B(), p.UserInput.clearInputAndSave(e), z(n, !0), e.detail === 2) {
525
+ e.stopPropagation();
526
+ return;
527
+ }
528
+ let t;
529
+ if (n.parentNode && (t = n.parentNode.AJAR_statement), !t) return;
530
+ let i = t.why, a = s.updater.editable(i.uri, h);
531
+ r && a && p.UserInput.Click(e, m[0]);
532
+ }
533
+ o.log.debug("Was node selected after: " + F(n) + ", count=" + m.length), e.stopPropagation();
534
+ }
535
+ function J(e) {
536
+ o.log.info("@TabulatorMousedown, dom.location is now " + d.location);
537
+ let n = p.targetOf(e);
538
+ if (!n) return;
539
+ let r = n.tagName;
540
+ r !== "INPUT" && r !== "TEXTAREA" && (p.UserInput.clearMenu(), p.UserInput.lastModified && p.UserInput.lastModified.parentNode.nextSibling && p.UserInput.backOut(), (!n.src || n.src.slice(n.src.indexOf("/icons/") + 1) !== t.src.icon_show_choices && n.src.slice(n.src.indexOf("/icons/") + 1) !== t.src.icon_add_triple) && p.UserInput.clearInputAndSave(e), (!n.src || n.src.slice(n.src.indexOf("/icons/") + 1) !== t.src.icon_show_choices) && p.UserInput.clearMenu(), e && e.stopPropagation());
541
+ }
542
+ function Y(e) {
543
+ d.title = o.utils.label(e), d.location.href.startsWith(e.site().uri);
544
+ }
545
+ function X(e, t, n) {
546
+ n ||= {};
547
+ let r = n.pane, i = !!n.already, a = n.immediate;
548
+ o.log.info("@outlineExpand, dom is now " + d.location), g.removeCallback("done", "expand"), g.removeCallback("fail", "expand");
549
+ let s = h.canon(t);
550
+ function c() {
551
+ if (s = h.canon(s), !e || !e.parentNode || !e.parentNode.parentNode) return !1;
552
+ let t;
553
+ if (o.log.info("@@ REPAINTING "), !i) t = A(s, void 0, r, n);
554
+ else {
555
+ for (o.log.info(" ... p is " + e), t = e.firstChild; t.nextSibling && (o.log.info(" ... checking node " + t), t.nodeName !== "table"); t = t.nextSibling);
556
+ t = A(s, t, r, n);
557
+ }
558
+ i = !0, o.utils.ancestor(e, "TABLE") && o.utils.ancestor(e, "TABLE").style.backgroundColor === "white" ? t.style.backgroundColor = "#eee" : t.style.backgroundColor = "white", o.utils.emptyNode(e).appendChild(t), p.focusTd = e, o.log.debug("expand: Node for " + s + " expanded");
559
+ let a = h.each(s, o.ns.rdfs("seeAlso"));
560
+ for (let e = 0; e < a.length; e++) e === 25 && o.log.warn("expand: Warning: many (" + a.length + ") seeAlso links for " + s), g.lookUpThing(a[e], s);
561
+ }
562
+ function u(e) {
563
+ if (arguments[3]) return !0;
564
+ let t = h.canon(s);
565
+ o.log.info("@@ expand: relevant subject=" + t + ", uri=" + e + ", already=" + i);
566
+ let n = h.sym(l.uri.docpart(e));
567
+ if (e.indexOf("#") >= 0) throw Error("Internal error: hash in " + e);
568
+ return !function() {
569
+ if (!t.uri) return !0;
570
+ let r = h.uris(t);
571
+ if (!r) return !1;
572
+ for (let t = 0; t < r.length; t++) for (let n = l.uri.docpart(r[t]); n; n = h.HTTPRedirects[n]) if (e === n) return !0;
573
+ return !!h.anyStatementMatching(t, void 0, void 0, n);
574
+ }() || (o.log.success("@@ expand OK: relevant subject=" + t + ", uri=" + e + ", source=" + i), c(), !1);
575
+ }
576
+ n.solo && Y(s), o.log.debug("outlineExpand: dereferencing " + s);
577
+ let f = d.createElement("span");
578
+ e.appendChild(f), g.addCallback("done", u), g.addCallback("fail", u);
579
+ let m = [];
580
+ if (s.uri && s.uri.split(":")[0] === "rdf") {
581
+ c();
582
+ return;
583
+ }
584
+ for (let e = 0; e < m.length; e++) {
585
+ let t;
586
+ if (t === m[e](s)) {
587
+ c(), o.log.debug("outline 1815"), t[1] && _.removeChild(_.lastChild);
588
+ return;
589
+ }
590
+ }
591
+ if (s.uri && !a && !o.widgets.isAudio(s) && !o.widgets.isVideo(s)) {
592
+ let t = s.doc() && s.doc().uri ? s.doc().uri : "" + s.doc(), r = function(e) {
593
+ let t = !!(s && s.uri && s.site && s.site().uri === s.uri);
594
+ return e === 403 ? t ? "This root resource is not accessible with your current permissions. Try logging in with an authorized account or opening a public profile document." : "This resource is not accessible with your current permissions." : t ? "This root resource is not publicly readable. Try logging in or opening a profile document." : "This resource is not publicly readable. Try logging in or opening a different public resource.";
595
+ }, i = function(e, t) {
596
+ let n = typeof e == "string" ? e : String(e || ""), r = t?.status || t?.response?.status;
597
+ return r === 401 || r === 403 ? r : n.includes("status: 403") || n.includes("status 403") ? 403 : n.includes("status: 401") || n.includes("status 401") ? 401 : null;
598
+ }, a = function(n, a) {
599
+ if (e.querySelector && t && e.querySelector("[data-outline-error-for=\"" + t + "\"]")) return;
600
+ let s = i(n, a), c = s ? r(s) : n, l = o.widgets.errorMessageBlock(d, c, "#fee", a instanceof Error ? a : void 0);
601
+ t && l.setAttribute("data-outline-error-for", t), e.appendChild(l);
602
+ }, l = !1, u = g.nowOrWhenFetched(s.doc(), void 0, function(e, t) {
603
+ e ? (g.lookUpThing(s), c(), n.solo && Y(s)) : (l = !0, a(t, void 0));
604
+ });
605
+ u && typeof u.catch == "function" && u.catch(function(e) {
606
+ l || (l = !0, a(e, e));
607
+ });
608
+ } else c();
609
+ }
610
+ function Z(e, t) {
611
+ let n = o.utils.ancestor(e, "TR");
612
+ n = o.utils.ancestor(n.parentNode, "TR");
613
+ let r;
614
+ n && (r = n.AJAR_statement);
615
+ let i;
616
+ for (i = e.parentNode; i.tagName !== "TD"; i = i.parentNode) if (i === void 0) {
617
+ alert("Not enclosed in TD!");
618
+ return;
619
+ }
620
+ o.log.debug("Collapsing subject " + t);
621
+ let a;
622
+ r && (o.log.debug("looking up pred " + r.predicate.uri + "in defaults"), a = $.defaults[r.predicate.uri]), o.log.debug("view= " + a);
623
+ let s;
624
+ i.parentNode.parentNode.id === "outline" && (s = i.parentNode), p.replaceTD(p.outlineObjectTD(t, a, s, r), i);
625
+ }
626
+ this.replaceTD = function(e, t) {
627
+ let n;
628
+ F(t) && (n = !0);
629
+ for (let e = m.length - 1; e > -1; e--) for (let n = m[e]; n.parentNode; n = n.parentNode) n === t && z(m[e], !1);
630
+ t.parentNode.replaceChild(e, t), n && z(e, !0);
631
+ };
632
+ function Q(e, t) {
633
+ let n = null;
634
+ for (let t = e.parentNode; t; t = t.parentNode) o.log.debug("level " + t.tagName), t.tagName === "TD" && (n = t);
635
+ o.utils.emptyNode(n).appendChild(A(t)), Y(t), n.setAttribute("about", t.toNT());
636
+ }
637
+ f.outlineRefocus = Q, this.GotoFormURI_enterKey = function(e) {
638
+ e.keyCode === 13 && f.GotoFormURI(e);
639
+ }, this.GotoFormURI = function(e) {
640
+ te(d.getElementById("UserURI").value);
641
+ };
642
+ function te(e) {
643
+ let t = h.sym(e);
644
+ this.GotoSubject(t, !0);
645
+ }
646
+ this.GotoURIinit = function(e) {
647
+ let t = h.sym(e);
648
+ this.GotoSubject(t);
649
+ }, this.GotoSubject = function(e, t, n, r, i, a, s = !0) {
650
+ let c = b();
651
+ s && (!a || a === c) && S(), a ||= c, r && (o.utils.emptyNode(a), a.style.width = "100%");
652
+ function l() {
653
+ let t = d.createElement("tr");
654
+ t.classList.add("outlineRow1"), t.style.verticalAlign = "top", a.appendChild(t);
655
+ let n = p.outlineObjectTD(e, void 0, t);
656
+ return t.appendChild(n), n;
657
+ }
658
+ let u = l();
659
+ if (r && Y(e), t && X(u, e, {
660
+ pane: n,
661
+ solo: r
662
+ }), r && d && d.defaultView && d.defaultView.history) {
663
+ let t = d.defaultView.history.state || {}, r = n ? { paneName: n.name } : {};
664
+ n && n.subject && typeof n.subject.uri == "string" && (r.paneUri = n.subject.uri);
665
+ let i = {
666
+ ...t,
667
+ ...r
668
+ };
669
+ try {
670
+ let n = new URL(document.location.href), r = new URL(e.uri, document.location.href);
671
+ n.origin === r.origin && (document.location.href === e.uri ? JSON.stringify(t) !== JSON.stringify(i) && d.defaultView.history.replaceState(i, e.uri, e.uri) : d.defaultView.history.pushState(i, e.uri, e.uri));
672
+ } catch {}
673
+ }
674
+ return e;
675
+ };
676
+ let $ = e(d);
677
+ function ne(e) {
678
+ let n;
679
+ if (e.termType === "Literal") {
680
+ if (n = d.createElement("span"), n.classList.add("objectValue", "objectValue--literal"), n.textContent = e.value, e.datatype && e.datatype.uri) {
681
+ let t = o.ns.xsd("").uri;
682
+ e.datatype.uri.slice(0, t.length) === t && n.classList.add("objectValue--" + e.datatype.uri.slice(t.length));
683
+ }
684
+ } else if (e.termType === "NamedNode" || e.termType === "BlankNode") {
685
+ if (n = d.createElement("span"), n.classList.add("objectValue", "objectValue--resource"), n.setAttribute("about", e.toNT()), p.appendAccessIcons(h, n, e), e.termType === "NamedNode") {
686
+ if (e.uri.slice(0, 4) === "tel:") {
687
+ let r = e.uri.slice(4), i = d.createElement("a");
688
+ n.appendChild(d.createTextNode(r)), i.setAttribute("href", e.uri), i.appendChild(o.utils.AJARImage(t.src.icon_telephone, "phone", "phone " + r, d)), n.appendChild(i), i.firstChild.setAttribute("class", "phoneIcon"), i.firstChild.classList.add("objectValueLinkIcon");
689
+ } else {
690
+ n.appendChild(d.createTextNode(o.utils.label(e)));
691
+ let t = o.widgets.linkIcon(d, e);
692
+ t.firstChild && t.firstChild.classList.add("objectValueLinkIcon"), n.appendChild(t), o.widgets.makeDraggable(n, e);
693
+ }
694
+ } else n.appendChild(d.createTextNode(o.utils.label(e)));
695
+ } else if (e.termType === "Collection") {
696
+ n = d.createElement("table"), n.classList.add("tableFullWidth"), n.setAttribute("about", e.toNT());
697
+ for (let t = 0; t < e.elements.length; t++) {
698
+ let r = e.elements[t], i = n.appendChild(d.createElement("tr")), a = i.appendChild(d.createElement("td"));
699
+ a.classList.add("obj"), a.setAttribute("notSelectable", "false"), a.setAttribute("about", e.toNT()), a.innerHTML = t + 1 + ")", i.appendChild(p.outlineObjectTD(r));
700
+ }
701
+ } else e.termType === "Graph" ? (n = c.byName("dataContentPane").statementsAsTables(e.statements, u), n.setAttribute("class", "nestedFormula")) : (o.log.error("Object " + e + " has unknown term type: " + e.termType), n = d.createTextNode("[unknownTermType:" + e.termType + "]"));
702
+ return o.log.debug("contents: " + n.innerHTML), n;
703
+ }
704
+ return this.createTabURI = function() {
705
+ d.getElementById("UserURI").value = d.URL + "?uri=" + d.getElementById("UserURI").value;
706
+ }, this.UserInput.setSelected = z, this.UserInput.deselectAll = B, this.UserInput.views = $, this.outlineExpand = X, this;
707
+ }
708
+ //#endregion
709
+ export { u as default };
710
+
711
+ //# sourceMappingURL=manager2.esm.js.map