solid-panes 4.4.2-7 → 4.5.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 +40 -10
  2. package/dist/0314353e28ce6e5539af.svg +9 -0
  3. package/dist/04567ff683933c35c465.png +0 -0
  4. package/dist/10163fd9b5a0e00d63a0.png +0 -0
  5. package/dist/1234dcb2eec2e45f252b.png +0 -0
  6. package/dist/20899934157df4db56cb.png +0 -0
  7. package/dist/33760bf79f097f449da5.png +0 -0
  8. package/dist/4cceba29ab33b1ddd9bb.svg +6 -0
  9. package/dist/578d2b6ed32e7624164e.png +0 -0
  10. package/dist/5f62a5b2b7e99b9640c7.png +0 -0
  11. package/dist/6525766ecd288ec60129.png +0 -0
  12. package/dist/7800be6f6c4b5b0f4f20.png +0 -0
  13. package/dist/7b7538c6f6b317968009.svg +9 -0
  14. package/dist/92d03142abe6efc0b42d.svg +6 -0
  15. package/dist/976473cf5fe24d657d4b.png +0 -0
  16. package/dist/RDFXMLPane.css +70 -0
  17. package/dist/RDFXMLPane.d.ts +3 -2
  18. package/dist/RDFXMLPane.js +100 -0
  19. package/dist/argument/argumentPane.js +60 -0
  20. package/dist/attach/attachPane.js +393 -0
  21. package/dist/audio/audioPane.js +181 -0
  22. package/dist/bda84f59e7216675a208.png +0 -0
  23. package/dist/cd68e8f3990ba8b2139e.png +0 -0
  24. package/dist/classInstancePane.js +91 -0
  25. package/dist/dashboard/basicPreferences.d.ts +1 -1
  26. package/dist/dashboard/basicPreferences.js +147 -0
  27. package/dist/dashboard/dashboardPane.d.ts +1 -1
  28. package/dist/dashboard/dashboardPane.js +73 -0
  29. package/dist/dashboard/homepage.d.ts +1 -1
  30. package/dist/dashboard/homepage.js +42 -0
  31. package/dist/dataContentPane.css +271 -0
  32. package/dist/dataContentPane.d.ts +3 -2
  33. package/dist/dataContentPane.js +226 -0
  34. package/dist/defaultPane.css +97 -0
  35. package/dist/defaultPane.d.ts +3 -2
  36. package/dist/defaultPane.js +81 -0
  37. package/dist/dokieli/dokieliPane.js +74 -0
  38. package/dist/dokieli/{new.cjs.js → new.js} +10 -4
  39. package/dist/e7074a7e2cb69e51cfd3.png +0 -0
  40. package/dist/f3772696fb7ee53c23d8.png +0 -0
  41. package/dist/form/formPane.css +120 -0
  42. package/dist/form/pane.d.ts +2 -1
  43. package/dist/form/pane.js +250 -0
  44. package/dist/home/homePane.d.ts +1 -1
  45. package/dist/home/homePane.js +74 -0
  46. package/dist/humanReadablePane.css +129 -0
  47. package/dist/humanReadablePane.d.ts +3 -2
  48. package/dist/humanReadablePane.js +243 -0
  49. package/dist/icons/clock.svg +7 -0
  50. package/dist/icons/comment.svg +6 -0
  51. package/dist/icons/dashboard.svg +9 -0
  52. package/dist/icons/downArrow.svg +6 -0
  53. package/dist/icons/folder.svg +6 -0
  54. package/dist/icons/friends.svg +9 -0
  55. package/dist/icons/help.svg +8 -0
  56. package/dist/icons/iconHelper.js +23 -0
  57. package/dist/icons/menu.svg +8 -0
  58. package/dist/icons/person.svg +6 -0
  59. package/dist/icons/personInCircle.svg +8 -0
  60. package/dist/icons/sharing.svg +10 -0
  61. package/dist/icons/signOut.svg +8 -0
  62. package/dist/icons/signUp.svg +9 -0
  63. package/dist/icons/star.svg +3 -0
  64. package/dist/imagePane.css +4 -0
  65. package/dist/imagePane.d.ts +3 -2
  66. package/dist/imagePane.js +67 -0
  67. package/dist/index.d.ts +4 -4
  68. package/dist/index.js +123 -0
  69. package/dist/internal/internalPane.css +14 -0
  70. package/dist/internal/internalPane.d.ts +2 -1
  71. package/dist/internal/internalPane.js +183 -0
  72. package/dist/mainPage/footer.d.ts +15 -0
  73. package/dist/mainPage/footer.d.ts.map +1 -0
  74. package/dist/mainPage/footer.js +29 -0
  75. package/dist/mainPage/header.d.ts +15 -1
  76. package/dist/mainPage/header.d.ts.map +1 -1
  77. package/dist/mainPage/header.js +203 -0
  78. package/dist/mainPage/index.d.ts +15 -3
  79. package/dist/mainPage/index.d.ts.map +1 -1
  80. package/dist/mainPage/index.js +78 -0
  81. package/dist/mainPage/menu.css +243 -0
  82. package/dist/mainPage/menu.d.ts +7 -0
  83. package/dist/mainPage/menu.d.ts.map +1 -0
  84. package/dist/mainPage/menu.js +436 -0
  85. package/dist/microblogPane/mbStyle.css +267 -0
  86. package/dist/microblogPane/microblogPane.js +1031 -0
  87. package/dist/n3Pane.css +49 -0
  88. package/dist/n3Pane.d.ts +3 -2
  89. package/dist/n3Pane.js +88 -0
  90. package/dist/outline/context.d.ts +3 -3
  91. package/dist/outline/context.js +21 -0
  92. package/dist/outline/manager.css +78 -0
  93. package/dist/outline/manager.js +2115 -0
  94. package/dist/outline/outlineIcons.js +126 -0
  95. package/dist/outline/propertyViews.js +43 -0
  96. package/dist/outline/queryByExample.js +285 -0
  97. package/dist/outline/userInput.js +1821 -0
  98. package/dist/outline/viewAsImage.js +14 -0
  99. package/dist/outline/viewAsMbox.js +21 -0
  100. package/dist/pad/padPane.css +40 -0
  101. package/dist/pad/padPane.d.ts +2 -1
  102. package/dist/pad/padPane.js +421 -0
  103. package/dist/playlist/playlistPane.js +119 -0
  104. package/dist/profileUtils/ownerProfile.d.ts +5 -0
  105. package/dist/profileUtils/ownerProfile.d.ts.map +1 -0
  106. package/dist/profileUtils/ownerProfile.js +84 -0
  107. package/dist/registerPanes.js +145 -0
  108. package/dist/schedule/schedulePane.css +294 -0
  109. package/dist/schedule/schedulePane.d.ts +4 -2
  110. package/dist/schedule/schedulePane.js +1022 -0
  111. package/dist/sharing/sharingPane.js +48 -0
  112. package/dist/slideshow/slideshowPane.js +79 -0
  113. package/dist/social/editProfileDetails.d.ts +2 -1
  114. package/dist/social/editProfileDetails.js +362 -0
  115. package/dist/social/{icons.esm.js → icons.js} +18 -12
  116. package/dist/social/socialPane.css +1464 -0
  117. package/dist/social/socialPane.d.ts +3 -2
  118. package/dist/social/socialPane.js +651 -0
  119. package/dist/social/socialSections.d.ts +2 -2
  120. package/dist/social/socialSections.js +393 -0
  121. package/dist/social/spinner.js +13 -0
  122. package/dist/social/triage.d.ts +2 -2
  123. package/dist/social/triage.js +79 -0
  124. package/dist/solid-panes.js +84629 -0
  125. package/dist/solid-panes.js.map +1 -0
  126. package/dist/solid-panes.min.js +3933 -0
  127. package/dist/solid-panes.min.js.map +1 -0
  128. package/dist/styles/tabbedtab.css +1066 -0
  129. package/dist/styles/utilities.css +5 -0
  130. package/dist/tabbed/tabbedPane.d.ts +1 -1
  131. package/dist/tabbed/tabbedPane.js +59 -0
  132. package/dist/tableViewPane.js +56 -0
  133. package/dist/transaction/pane.js +477 -0
  134. package/dist/transaction/period.js +323 -0
  135. package/dist/trip/tripPane.js +174 -0
  136. package/dist/trustedApplications/trustedApplications.dom.d.ts +1 -1
  137. package/dist/trustedApplications/trustedApplications.dom.js +145 -0
  138. package/dist/trustedApplications/trustedApplications.utils.d.ts +1 -1
  139. package/dist/trustedApplications/trustedApplications.utils.js +23 -0
  140. package/dist/trustedApplications/trustedApplications.view.d.ts +1 -1
  141. package/dist/trustedApplications/trustedApplications.view.js +55 -0
  142. package/dist/ui/pane.js +146 -0
  143. package/dist/versionInfo.js +41 -0
  144. package/dist/video/videoPane.js +42 -0
  145. package/package.json +66 -51
  146. package/dist/RDFXMLPane2.cjs.js +0 -3
  147. package/dist/RDFXMLPane2.cjs.js.map +0 -1
  148. package/dist/RDFXMLPane2.esm.js +0 -55
  149. package/dist/RDFXMLPane2.esm.js.map +0 -1
  150. package/dist/_virtual/_rolldown/runtime.cjs.js +0 -1
  151. package/dist/_virtual/~icons/lucide/arrow-left.cjs.js +0 -2
  152. package/dist/_virtual/~icons/lucide/arrow-left.cjs.js.map +0 -1
  153. package/dist/_virtual/~icons/lucide/arrow-left.esm.js +0 -11
  154. package/dist/_virtual/~icons/lucide/arrow-left.esm.js.map +0 -1
  155. package/dist/_virtual/~icons/lucide/ellipsis-vertical.cjs.js +0 -2
  156. package/dist/_virtual/~icons/lucide/ellipsis-vertical.cjs.js.map +0 -1
  157. package/dist/_virtual/~icons/lucide/ellipsis-vertical.esm.js +0 -11
  158. package/dist/_virtual/~icons/lucide/ellipsis-vertical.esm.js.map +0 -1
  159. package/dist/_virtual/~icons/lucide/folder-open.cjs.js +0 -2
  160. package/dist/_virtual/~icons/lucide/folder-open.cjs.js.map +0 -1
  161. package/dist/_virtual/~icons/lucide/folder-open.esm.js +0 -11
  162. package/dist/_virtual/~icons/lucide/folder-open.esm.js.map +0 -1
  163. package/dist/_virtual/~icons/lucide/globe.cjs.js +0 -2
  164. package/dist/_virtual/~icons/lucide/globe.cjs.js.map +0 -1
  165. package/dist/_virtual/~icons/lucide/globe.esm.js +0 -11
  166. package/dist/_virtual/~icons/lucide/globe.esm.js.map +0 -1
  167. package/dist/_virtual/~icons/lucide/help-circle.cjs.js +0 -2
  168. package/dist/_virtual/~icons/lucide/help-circle.cjs.js.map +0 -1
  169. package/dist/_virtual/~icons/lucide/help-circle.esm.js +0 -11
  170. package/dist/_virtual/~icons/lucide/help-circle.esm.js.map +0 -1
  171. package/dist/_virtual/~icons/lucide/layout-dashboard.cjs.js +0 -2
  172. package/dist/_virtual/~icons/lucide/layout-dashboard.cjs.js.map +0 -1
  173. package/dist/_virtual/~icons/lucide/layout-dashboard.esm.js +0 -11
  174. package/dist/_virtual/~icons/lucide/layout-dashboard.esm.js.map +0 -1
  175. package/dist/_virtual/~icons/lucide/lock-keyhole.cjs.js +0 -2
  176. package/dist/_virtual/~icons/lucide/lock-keyhole.cjs.js.map +0 -1
  177. package/dist/_virtual/~icons/lucide/lock-keyhole.esm.js +0 -11
  178. package/dist/_virtual/~icons/lucide/lock-keyhole.esm.js.map +0 -1
  179. package/dist/_virtual/~icons/lucide/pencil.cjs.js +0 -2
  180. package/dist/_virtual/~icons/lucide/pencil.cjs.js.map +0 -1
  181. package/dist/_virtual/~icons/lucide/pencil.esm.js +0 -11
  182. package/dist/_virtual/~icons/lucide/pencil.esm.js.map +0 -1
  183. package/dist/_virtual/~icons/lucide/settings-2.cjs.js +0 -2
  184. package/dist/_virtual/~icons/lucide/settings-2.cjs.js.map +0 -1
  185. package/dist/_virtual/~icons/lucide/settings-2.esm.js +0 -11
  186. package/dist/_virtual/~icons/lucide/settings-2.esm.js.map +0 -1
  187. package/dist/_virtual/~icons/lucide/share-2.cjs.js +0 -2
  188. package/dist/_virtual/~icons/lucide/share-2.cjs.js.map +0 -1
  189. package/dist/_virtual/~icons/lucide/share-2.esm.js +0 -11
  190. package/dist/_virtual/~icons/lucide/share-2.esm.js.map +0 -1
  191. package/dist/_virtual/~icons/lucide/trash-2.cjs.js +0 -2
  192. package/dist/_virtual/~icons/lucide/trash-2.cjs.js.map +0 -1
  193. package/dist/_virtual/~icons/lucide/trash-2.esm.js +0 -11
  194. package/dist/_virtual/~icons/lucide/trash-2.esm.js.map +0 -1
  195. package/dist/_virtual/~icons/lucide/user.cjs.js +0 -2
  196. package/dist/_virtual/~icons/lucide/user.cjs.js.map +0 -1
  197. package/dist/_virtual/~icons/lucide/user.esm.js +0 -11
  198. package/dist/_virtual/~icons/lucide/user.esm.js.map +0 -1
  199. package/dist/_virtual/~icons/lucide/users.cjs.js +0 -2
  200. package/dist/_virtual/~icons/lucide/users.cjs.js.map +0 -1
  201. package/dist/_virtual/~icons/lucide/users.esm.js +0 -11
  202. package/dist/_virtual/~icons/lucide/users.esm.js.map +0 -1
  203. package/dist/audio/audioPane.cjs.js +0 -2
  204. package/dist/audio/audioPane.cjs.js.map +0 -1
  205. package/dist/audio/audioPane.esm.js +0 -99
  206. package/dist/audio/audioPane.esm.js.map +0 -1
  207. package/dist/classInstancePane.cjs.js +0 -2
  208. package/dist/classInstancePane.cjs.js.map +0 -1
  209. package/dist/classInstancePane.esm.js +0 -50
  210. package/dist/classInstancePane.esm.js.map +0 -1
  211. package/dist/components/file-explorer-header/FileExplorerHeader.cjs.js +0 -14
  212. package/dist/components/file-explorer-header/FileExplorerHeader.cjs.js.map +0 -1
  213. package/dist/components/file-explorer-header/FileExplorerHeader.d.ts +0 -19
  214. package/dist/components/file-explorer-header/FileExplorerHeader.d.ts.map +0 -1
  215. package/dist/components/file-explorer-header/FileExplorerHeader.esm.js +0 -292
  216. package/dist/components/file-explorer-header/FileExplorerHeader.esm.js.map +0 -1
  217. package/dist/components/file-explorer-header/FileExplorerHeader.styles.cjs.js +0 -2
  218. package/dist/components/file-explorer-header/FileExplorerHeader.styles.cjs.js.map +0 -1
  219. package/dist/components/file-explorer-header/FileExplorerHeader.styles.esm.js +0 -7
  220. package/dist/components/file-explorer-header/FileExplorerHeader.styles.esm.js.map +0 -1
  221. package/dist/components/file-explorer-header/FileExplorerHeaderControls.cjs.js +0 -22
  222. package/dist/components/file-explorer-header/FileExplorerHeaderControls.cjs.js.map +0 -1
  223. package/dist/components/file-explorer-header/FileExplorerHeaderControls.d.ts +0 -15
  224. package/dist/components/file-explorer-header/FileExplorerHeaderControls.d.ts.map +0 -1
  225. package/dist/components/file-explorer-header/FileExplorerHeaderControls.esm.js +0 -266
  226. package/dist/components/file-explorer-header/FileExplorerHeaderControls.esm.js.map +0 -1
  227. package/dist/components/file-explorer-header/FileExplorerHeaderControls.styles.cjs.js +0 -2
  228. package/dist/components/file-explorer-header/FileExplorerHeaderControls.styles.cjs.js.map +0 -1
  229. package/dist/components/file-explorer-header/FileExplorerHeaderControls.styles.esm.js +0 -7
  230. package/dist/components/file-explorer-header/FileExplorerHeaderControls.styles.esm.js.map +0 -1
  231. package/dist/components/file-explorer-header/FileExplorerHeaderSummary.cjs.js +0 -19
  232. package/dist/components/file-explorer-header/FileExplorerHeaderSummary.cjs.js.map +0 -1
  233. package/dist/components/file-explorer-header/FileExplorerHeaderSummary.d.ts +0 -19
  234. package/dist/components/file-explorer-header/FileExplorerHeaderSummary.d.ts.map +0 -1
  235. package/dist/components/file-explorer-header/FileExplorerHeaderSummary.esm.js +0 -321
  236. package/dist/components/file-explorer-header/FileExplorerHeaderSummary.esm.js.map +0 -1
  237. package/dist/components/file-explorer-header/FileExplorerHeaderSummary.styles.cjs.js +0 -2
  238. package/dist/components/file-explorer-header/FileExplorerHeaderSummary.styles.cjs.js.map +0 -1
  239. package/dist/components/file-explorer-header/FileExplorerHeaderSummary.styles.esm.js +0 -7
  240. package/dist/components/file-explorer-header/FileExplorerHeaderSummary.styles.esm.js.map +0 -1
  241. package/dist/components/file-explorer-header/FileExplorerProvider.cjs.js +0 -13
  242. package/dist/components/file-explorer-header/FileExplorerProvider.cjs.js.map +0 -1
  243. package/dist/components/file-explorer-header/FileExplorerProvider.d.ts +0 -36
  244. package/dist/components/file-explorer-header/FileExplorerProvider.d.ts.map +0 -1
  245. package/dist/components/file-explorer-header/FileExplorerProvider.esm.js +0 -468
  246. package/dist/components/file-explorer-header/FileExplorerProvider.esm.js.map +0 -1
  247. package/dist/components/file-explorer-header/FileExplorerProvider.styles.cjs.js +0 -2
  248. package/dist/components/file-explorer-header/FileExplorerProvider.styles.cjs.js.map +0 -1
  249. package/dist/components/file-explorer-header/FileExplorerProvider.styles.esm.js +0 -7
  250. package/dist/components/file-explorer-header/FileExplorerProvider.styles.esm.js.map +0 -1
  251. package/dist/components/file-explorer-header/helper.cjs.js +0 -2
  252. package/dist/components/file-explorer-header/helper.cjs.js.map +0 -1
  253. package/dist/components/file-explorer-header/helper.d.ts +0 -15
  254. package/dist/components/file-explorer-header/helper.d.ts.map +0 -1
  255. package/dist/components/file-explorer-header/helper.esm.js +0 -64
  256. package/dist/components/file-explorer-header/helper.esm.js.map +0 -1
  257. package/dist/components/file-explorer-header/types.d.ts +0 -2
  258. package/dist/components/file-explorer-header/types.d.ts.map +0 -1
  259. package/dist/components/header/Header.cjs.js +0 -19
  260. package/dist/components/header/Header.cjs.js.map +0 -1
  261. package/dist/components/header/Header.d.ts +0 -8
  262. package/dist/components/header/Header.d.ts.map +0 -1
  263. package/dist/components/header/Header.esm.js +0 -228
  264. package/dist/components/header/Header.esm.js.map +0 -1
  265. package/dist/components/header/Header.styles.cjs.js +0 -2
  266. package/dist/components/header/Header.styles.cjs.js.map +0 -1
  267. package/dist/components/header/Header.styles.esm.js +0 -7
  268. package/dist/components/header/Header.styles.esm.js.map +0 -1
  269. package/dist/components/header/index.cjs.js +0 -1
  270. package/dist/components/header/index.d.ts +0 -4
  271. package/dist/components/header/index.d.ts.map +0 -1
  272. package/dist/components/header/index.esm.js +0 -1
  273. package/dist/components/navbar/Navbar.cjs.js +0 -15
  274. package/dist/components/navbar/Navbar.cjs.js.map +0 -1
  275. package/dist/components/navbar/Navbar.d.ts +0 -14
  276. package/dist/components/navbar/Navbar.d.ts.map +0 -1
  277. package/dist/components/navbar/Navbar.esm.js +0 -232
  278. package/dist/components/navbar/Navbar.esm.js.map +0 -1
  279. package/dist/components/navbar/Navbar.styles.cjs.js +0 -2
  280. package/dist/components/navbar/Navbar.styles.cjs.js.map +0 -1
  281. package/dist/components/navbar/Navbar.styles.esm.js +0 -7
  282. package/dist/components/navbar/Navbar.styles.esm.js.map +0 -1
  283. package/dist/components/navbar/index.cjs.js +0 -1
  284. package/dist/components/navbar/index.d.ts +0 -4
  285. package/dist/components/navbar/index.d.ts.map +0 -1
  286. package/dist/components/navbar/index.esm.js +0 -1
  287. package/dist/components/resource-actions-menu/DeleteResourceDialog.cjs.js +0 -16
  288. package/dist/components/resource-actions-menu/DeleteResourceDialog.cjs.js.map +0 -1
  289. package/dist/components/resource-actions-menu/DeleteResourceDialog.d.ts +0 -8
  290. package/dist/components/resource-actions-menu/DeleteResourceDialog.d.ts.map +0 -1
  291. package/dist/components/resource-actions-menu/DeleteResourceDialog.esm.js +0 -215
  292. package/dist/components/resource-actions-menu/DeleteResourceDialog.esm.js.map +0 -1
  293. package/dist/components/resource-actions-menu/ResourceActionsMenu.cjs.js +0 -18
  294. package/dist/components/resource-actions-menu/ResourceActionsMenu.cjs.js.map +0 -1
  295. package/dist/components/resource-actions-menu/ResourceActionsMenu.d.ts +0 -16
  296. package/dist/components/resource-actions-menu/ResourceActionsMenu.d.ts.map +0 -1
  297. package/dist/components/resource-actions-menu/ResourceActionsMenu.esm.js +0 -260
  298. package/dist/components/resource-actions-menu/ResourceActionsMenu.esm.js.map +0 -1
  299. package/dist/dashboard/basicPreferences.cjs.js +0 -2
  300. package/dist/dashboard/basicPreferences.cjs.js.map +0 -1
  301. package/dist/dashboard/basicPreferences.esm.js +0 -70
  302. package/dist/dashboard/basicPreferences.esm.js.map +0 -1
  303. package/dist/dashboard/dashboardPane.cjs.js +0 -2
  304. package/dist/dashboard/dashboardPane.cjs.js.map +0 -1
  305. package/dist/dashboard/dashboardPane.esm.js +0 -7
  306. package/dist/dashboard/dashboardPane.esm.js.map +0 -1
  307. package/dist/dashboard/homepage.cjs.js +0 -2
  308. package/dist/dashboard/homepage.cjs.js.map +0 -1
  309. package/dist/dashboard/homepage.esm.js +0 -26
  310. package/dist/dashboard/homepage.esm.js.map +0 -1
  311. package/dist/dashboard/ontologyData.cjs.js +0 -37
  312. package/dist/dashboard/ontologyData.cjs.js.map +0 -1
  313. package/dist/dashboard/ontologyData.esm.js +0 -6
  314. package/dist/dashboard/ontologyData.esm.js.map +0 -1
  315. package/dist/dashboard/preferencesFormText.cjs.js +0 -20
  316. package/dist/dashboard/preferencesFormText.cjs.js.map +0 -1
  317. package/dist/dashboard/preferencesFormText.esm.js +0 -6
  318. package/dist/dashboard/preferencesFormText.esm.js.map +0 -1
  319. package/dist/dataContentPane2.cjs.js +0 -2
  320. package/dist/dataContentPane2.cjs.js.map +0 -1
  321. package/dist/dataContentPane2.esm.js +0 -109
  322. package/dist/dataContentPane2.esm.js.map +0 -1
  323. package/dist/defaultPane2.cjs.js +0 -2
  324. package/dist/defaultPane2.cjs.js.map +0 -1
  325. package/dist/defaultPane2.esm.js +0 -41
  326. package/dist/defaultPane2.esm.js.map +0 -1
  327. package/dist/dev.d.ts +0 -10
  328. package/dist/dev.d.ts.map +0 -1
  329. package/dist/dokieli/dokieliPane.cjs.js +0 -2
  330. package/dist/dokieli/dokieliPane.cjs.js.map +0 -1
  331. package/dist/dokieli/dokieliPane.esm.js +0 -39
  332. package/dist/dokieli/dokieliPane.esm.js.map +0 -1
  333. package/dist/dokieli/new.cjs.js.map +0 -1
  334. package/dist/dokieli/new.esm.js +0 -6
  335. package/dist/dokieli/new.esm.js.map +0 -1
  336. package/dist/form/pane.cjs.js +0 -4
  337. package/dist/form/pane.cjs.js.map +0 -1
  338. package/dist/form/pane.esm.js +0 -122
  339. package/dist/form/pane.esm.js.map +0 -1
  340. package/dist/home/homePane.cjs.js +0 -2
  341. package/dist/home/homePane.cjs.js.map +0 -1
  342. package/dist/home/homePane.esm.js +0 -35
  343. package/dist/home/homePane.esm.js.map +0 -1
  344. package/dist/humanReadablePane2.cjs.js +0 -2
  345. package/dist/humanReadablePane2.cjs.js.map +0 -1
  346. package/dist/humanReadablePane2.esm.js +0 -123
  347. package/dist/humanReadablePane2.esm.js.map +0 -1
  348. package/dist/icons/folder.cjs.js +0 -2
  349. package/dist/icons/folder.cjs.js.map +0 -1
  350. package/dist/icons/folder.esm.js +0 -6
  351. package/dist/icons/folder.esm.js.map +0 -1
  352. package/dist/icons/friends.cjs.js +0 -2
  353. package/dist/icons/friends.cjs.js.map +0 -1
  354. package/dist/icons/friends.esm.js +0 -6
  355. package/dist/icons/friends.esm.js.map +0 -1
  356. package/dist/icons/person.cjs.js +0 -2
  357. package/dist/icons/person.cjs.js.map +0 -1
  358. package/dist/icons/person.esm.js +0 -6
  359. package/dist/icons/person.esm.js.map +0 -1
  360. package/dist/imagePane2.cjs.js +0 -2
  361. package/dist/imagePane2.cjs.js.map +0 -1
  362. package/dist/imagePane2.esm.js +0 -32
  363. package/dist/imagePane2.esm.js.map +0 -1
  364. package/dist/index.cjs.js +0 -2
  365. package/dist/index.cjs.js.map +0 -1
  366. package/dist/index.esm.js +0 -31
  367. package/dist/index.esm.js.map +0 -1
  368. package/dist/internal/internalPane2.cjs.js +0 -2
  369. package/dist/internal/internalPane2.cjs.js.map +0 -1
  370. package/dist/internal/internalPane2.esm.js +0 -104
  371. package/dist/internal/internalPane2.esm.js.map +0 -1
  372. package/dist/mainPage/header.cjs.js +0 -2
  373. package/dist/mainPage/header.cjs.js.map +0 -1
  374. package/dist/mainPage/header.esm.js +0 -72
  375. package/dist/mainPage/header.esm.js.map +0 -1
  376. package/dist/mainPage/index.cjs.js +0 -2
  377. package/dist/mainPage/index.cjs.js.map +0 -1
  378. package/dist/mainPage/index.esm.js +0 -36
  379. package/dist/mainPage/index.esm.js.map +0 -1
  380. package/dist/mainPage/navbar.cjs.js +0 -2
  381. package/dist/mainPage/navbar.cjs.js.map +0 -1
  382. package/dist/mainPage/navbar.d.ts +0 -3
  383. package/dist/mainPage/navbar.d.ts.map +0 -1
  384. package/dist/mainPage/navbar.esm.js +0 -66
  385. package/dist/mainPage/navbar.esm.js.map +0 -1
  386. package/dist/n3Pane2.cjs.js +0 -3
  387. package/dist/n3Pane2.cjs.js.map +0 -1
  388. package/dist/n3Pane2.esm.js +0 -52
  389. package/dist/n3Pane2.esm.js.map +0 -1
  390. package/dist/outline/context.cjs.js +0 -2
  391. package/dist/outline/context.cjs.js.map +0 -1
  392. package/dist/outline/context.esm.js +0 -18
  393. package/dist/outline/context.esm.js.map +0 -1
  394. package/dist/outline/manager2.cjs.js +0 -2
  395. package/dist/outline/manager2.cjs.js.map +0 -1
  396. package/dist/outline/manager2.esm.js +0 -711
  397. package/dist/outline/manager2.esm.js.map +0 -1
  398. package/dist/outline/outlineIcons.cjs.js +0 -2
  399. package/dist/outline/outlineIcons.cjs.js.map +0 -1
  400. package/dist/outline/outlineIcons.esm.js +0 -10
  401. package/dist/outline/outlineIcons.esm.js.map +0 -1
  402. package/dist/outline/propertyViews.cjs.js +0 -2
  403. package/dist/outline/propertyViews.cjs.js.map +0 -1
  404. package/dist/outline/propertyViews.esm.js +0 -19
  405. package/dist/outline/propertyViews.esm.js.map +0 -1
  406. package/dist/outline/queryByExample.cjs.js +0 -2
  407. package/dist/outline/queryByExample.cjs.js.map +0 -1
  408. package/dist/outline/queryByExample.esm.js +0 -26
  409. package/dist/outline/queryByExample.esm.js.map +0 -1
  410. package/dist/outline/sourcePaneIcon.d.ts +0 -2
  411. package/dist/outline/sourcePaneIcon.d.ts.map +0 -1
  412. package/dist/outline/userInput.cjs.js +0 -61
  413. package/dist/outline/userInput.cjs.js.map +0 -1
  414. package/dist/outline/userInput.esm.js +0 -784
  415. package/dist/outline/userInput.esm.js.map +0 -1
  416. package/dist/outline/viewAsImage.cjs.js +0 -2
  417. package/dist/outline/viewAsImage.cjs.js.map +0 -1
  418. package/dist/outline/viewAsImage.esm.js +0 -10
  419. package/dist/outline/viewAsImage.esm.js.map +0 -1
  420. package/dist/outline/viewAsMbox.cjs.js +0 -2
  421. package/dist/outline/viewAsMbox.cjs.js.map +0 -1
  422. package/dist/outline/viewAsMbox.esm.js +0 -9
  423. package/dist/outline/viewAsMbox.esm.js.map +0 -1
  424. package/dist/pad/padPane2.cjs.js +0 -2
  425. package/dist/pad/padPane2.cjs.js.map +0 -1
  426. package/dist/pad/padPane2.esm.js +0 -173
  427. package/dist/pad/padPane2.esm.js.map +0 -1
  428. package/dist/playlist/playlistPane.cjs.js +0 -2
  429. package/dist/playlist/playlistPane.cjs.js.map +0 -1
  430. package/dist/playlist/playlistPane.esm.js +0 -49
  431. package/dist/playlist/playlistPane.esm.js.map +0 -1
  432. package/dist/registerPanes.cjs.js +0 -2
  433. package/dist/registerPanes.cjs.js.map +0 -1
  434. package/dist/registerPanes.esm.js +0 -46
  435. package/dist/registerPanes.esm.js.map +0 -1
  436. package/dist/schedule/formsForSchedule.cjs.js +0 -117
  437. package/dist/schedule/formsForSchedule.cjs.js.map +0 -1
  438. package/dist/schedule/formsForSchedule.esm.js +0 -6
  439. package/dist/schedule/formsForSchedule.esm.js.map +0 -1
  440. package/dist/schedule/schedulePane2.cjs.js +0 -8
  441. package/dist/schedule/schedulePane2.cjs.js.map +0 -1
  442. package/dist/schedule/schedulePane2.esm.js +0 -385
  443. package/dist/schedule/schedulePane2.esm.js.map +0 -1
  444. package/dist/sharing/sharingPane.cjs.js +0 -2
  445. package/dist/sharing/sharingPane.cjs.js.map +0 -1
  446. package/dist/sharing/sharingPane.esm.js +0 -22
  447. package/dist/sharing/sharingPane.esm.js.map +0 -1
  448. package/dist/slideshow/slideshowPane.cjs.js +0 -2
  449. package/dist/slideshow/slideshowPane.cjs.js.map +0 -1
  450. package/dist/slideshow/slideshowPane.esm.js +0 -46
  451. package/dist/slideshow/slideshowPane.esm.js.map +0 -1
  452. package/dist/social/editProfileDetails.cjs.js +0 -2
  453. package/dist/social/editProfileDetails.cjs.js.map +0 -1
  454. package/dist/social/editProfileDetails.esm.js +0 -12
  455. package/dist/social/editProfileDetails.esm.js.map +0 -1
  456. package/dist/social/icons.cjs.js +0 -82
  457. package/dist/social/icons.cjs.js.map +0 -1
  458. package/dist/social/icons.esm.js.map +0 -1
  459. package/dist/social/socialPane2.cjs.js +0 -6
  460. package/dist/social/socialPane2.cjs.js.map +0 -1
  461. package/dist/social/socialPane2.esm.js +0 -326
  462. package/dist/social/socialPane2.esm.js.map +0 -1
  463. package/dist/social/socialSections.cjs.js +0 -2
  464. package/dist/social/socialSections.cjs.js.map +0 -1
  465. package/dist/social/socialSections.esm.js +0 -222
  466. package/dist/social/socialSections.esm.js.map +0 -1
  467. package/dist/social/spinner.cjs.js +0 -1
  468. package/dist/social/spinner.esm.js +0 -1
  469. package/dist/social/triage.cjs.js +0 -2
  470. package/dist/social/triage.cjs.js.map +0 -1
  471. package/dist/social/triage.esm.js +0 -44
  472. package/dist/social/triage.esm.js.map +0 -1
  473. package/dist/tabbed/tabbedPane.cjs.js +0 -2
  474. package/dist/tabbed/tabbedPane.cjs.js.map +0 -1
  475. package/dist/tabbed/tabbedPane.esm.js +0 -38
  476. package/dist/tabbed/tabbedPane.esm.js.map +0 -1
  477. package/dist/tableViewPane.cjs.js +0 -2
  478. package/dist/tableViewPane.cjs.js.map +0 -1
  479. package/dist/tableViewPane.esm.js +0 -20
  480. package/dist/tableViewPane.esm.js.map +0 -1
  481. package/dist/transaction/pane.cjs.js +0 -8
  482. package/dist/transaction/pane.cjs.js.map +0 -1
  483. package/dist/transaction/pane.esm.js +0 -212
  484. package/dist/transaction/pane.esm.js.map +0 -1
  485. package/dist/transaction/period.cjs.js +0 -4
  486. package/dist/transaction/period.cjs.js.map +0 -1
  487. package/dist/transaction/period.esm.js +0 -126
  488. package/dist/transaction/period.esm.js.map +0 -1
  489. package/dist/trip/tripPane.cjs.js +0 -2
  490. package/dist/trip/tripPane.cjs.js.map +0 -1
  491. package/dist/trip/tripPane.esm.js +0 -85
  492. package/dist/trip/tripPane.esm.js.map +0 -1
  493. package/dist/trustedApplications/trustedApplications.dom.cjs.js +0 -2
  494. package/dist/trustedApplications/trustedApplications.dom.cjs.js.map +0 -1
  495. package/dist/trustedApplications/trustedApplications.dom.esm.js +0 -108
  496. package/dist/trustedApplications/trustedApplications.dom.esm.js.map +0 -1
  497. package/dist/trustedApplications/trustedApplications.utils.cjs.js +0 -2
  498. package/dist/trustedApplications/trustedApplications.utils.cjs.js.map +0 -1
  499. package/dist/trustedApplications/trustedApplications.utils.esm.js +0 -20
  500. package/dist/trustedApplications/trustedApplications.utils.esm.js.map +0 -1
  501. package/dist/trustedApplications/trustedApplications.view.cjs.js +0 -2
  502. package/dist/trustedApplications/trustedApplications.view.cjs.js.map +0 -1
  503. package/dist/trustedApplications/trustedApplications.view.esm.js +0 -41
  504. package/dist/trustedApplications/trustedApplications.view.esm.js.map +0 -1
  505. package/dist/ui/pane.cjs.js +0 -4
  506. package/dist/ui/pane.cjs.js.map +0 -1
  507. package/dist/ui/pane.esm.js +0 -56
  508. package/dist/ui/pane.esm.js.map +0 -1
  509. package/dist/utils/paneUtils.cjs.js +0 -2
  510. package/dist/utils/paneUtils.cjs.js.map +0 -1
  511. package/dist/utils/paneUtils.d.ts +0 -19
  512. package/dist/utils/paneUtils.d.ts.map +0 -1
  513. package/dist/utils/paneUtils.esm.js +0 -52
  514. package/dist/utils/paneUtils.esm.js.map +0 -1
  515. package/dist/utils/podUtils.cjs.js +0 -2
  516. package/dist/utils/podUtils.cjs.js.map +0 -1
  517. package/dist/utils/podUtils.d.ts +0 -4
  518. package/dist/utils/podUtils.d.ts.map +0 -1
  519. package/dist/utils/podUtils.esm.js +0 -46
  520. package/dist/utils/podUtils.esm.js.map +0 -1
  521. package/dist/utils/webIdUtils.cjs.js +0 -2
  522. package/dist/utils/webIdUtils.cjs.js.map +0 -1
  523. package/dist/utils/webIdUtils.d.ts +0 -6
  524. package/dist/utils/webIdUtils.d.ts.map +0 -1
  525. package/dist/utils/webIdUtils.esm.js +0 -48
  526. package/dist/utils/webIdUtils.esm.js.map +0 -1
  527. package/dist/versionInfo.cjs.js +0 -2
  528. package/dist/versionInfo.cjs.js.map +0 -1
  529. package/dist/versionInfo.esm.js +0 -40
  530. package/dist/versionInfo.esm.js.map +0 -1
  531. package/dist/video/videoPane.cjs.js +0 -2
  532. package/dist/video/videoPane.cjs.js.map +0 -1
  533. package/dist/video/videoPane.esm.js +0 -25
  534. package/dist/video/videoPane.esm.js.map +0 -1
@@ -1,292 +0,0 @@
1
- import "../../_virtual/~icons/lucide/share-2.esm.js";
2
- import "../../_virtual/~icons/lucide/pencil.esm.js";
3
- import "../../_virtual/~icons/lucide/ellipsis-vertical.esm.js";
4
- import e from "./FileExplorerHeader.styles.esm.js";
5
- import "./FileExplorerHeaderSummary.esm.js";
6
- import "./FileExplorerHeaderControls.esm.js";
7
- import { fetchContentAndMetadata as t } from "./helper.esm.js";
8
- import { WebComponent as n, fileExplorerContext as r } from "solid-ui";
9
- import { sym as i } from "rdflib";
10
- import { html as a } from "lit";
11
- import { consume as o } from "@lit/context";
12
- import { customElement as s, property as c, state as l } from "lit/decorators.js";
13
- //#region src/components/file-explorer-header/FileExplorerHeader.ts
14
- var u, d, f, p, m, h, g, _, v, y, b, x, S, C, w, T, E, D, O;
15
- function k(e, t, n) {
16
- A(e, t), t.set(e, n);
17
- }
18
- function A(e, t) {
19
- if (t.has(e)) throw TypeError("Cannot initialize the same private elements twice on an object");
20
- }
21
- function j(e, t, n) {
22
- return e.set(N(e, t), n), n;
23
- }
24
- function M(e, t) {
25
- return e.get(N(e, t));
26
- }
27
- function N(e, t, n) {
28
- if (typeof e == "function" ? e === t : e.has(t)) return arguments.length < 3 ? t : n;
29
- throw TypeError("Private element is not present on this object");
30
- }
31
- function P(e, t, n) {
32
- return (t = I(t)) in e ? Object.defineProperty(e, t, {
33
- value: n,
34
- enumerable: !0,
35
- configurable: !0,
36
- writable: !0
37
- }) : e[t] = n, e;
38
- }
39
- function F(e, t, n, r, i, a) {
40
- function o(e, t, n) {
41
- return function(r, i) {
42
- return n && n(r), e[t].call(r, i);
43
- };
44
- }
45
- function s(e, t) {
46
- for (var n = 0; n < e.length; n++) e[n].call(t);
47
- return t;
48
- }
49
- function c(e, t, n, r) {
50
- if (typeof e != "function" && (r || e !== void 0)) throw TypeError(t + " must " + (n || "be") + " a function" + (r ? "" : " or undefined"));
51
- return e;
52
- }
53
- function l(e, t, n, r, i, a, s, l, u, d, f, p, m) {
54
- function h(e) {
55
- if (!m(e)) throw TypeError("Attempted to access private element on non-instance");
56
- }
57
- var g, _ = t[0], v = t[3], y = !l;
58
- if (!y) {
59
- n || Array.isArray(_) || (_ = [_]);
60
- var b = {}, x = [], S = i === 3 ? "get" : i === 4 || p ? "set" : "value";
61
- d ? (f || p ? b = {
62
- get: R(function() {
63
- return v(this);
64
- }, r, "get"),
65
- set: function(e) {
66
- t[4](this, e);
67
- }
68
- } : b[S] = v, f || R(b[S], r, i === 2 ? "" : S)) : f || (b = Object.getOwnPropertyDescriptor(e, r));
69
- }
70
- for (var C = e, w = _.length - 1; w >= 0; w -= n ? 2 : 1) {
71
- var T = _[w], E = n ? _[w - 1] : void 0, D = {}, O = {
72
- kind: [
73
- "field",
74
- "accessor",
75
- "method",
76
- "getter",
77
- "setter",
78
- "class"
79
- ][i],
80
- name: r,
81
- metadata: a,
82
- addInitializer: function(e, t) {
83
- if (e.v) throw Error("attempted to call addInitializer after decoration was finished");
84
- c(t, "An initializer", "be", !0), s.push(t);
85
- }.bind(null, D)
86
- };
87
- try {
88
- if (y) (g = c(T.call(E, C, O), "class decorators", "return")) && (C = g);
89
- else {
90
- var k, A;
91
- O.static = u, O.private = d, d ? i === 2 ? k = function(e) {
92
- return h(e), b.value;
93
- } : (i < 4 && (k = o(b, "get", h)), i !== 3 && (A = o(b, "set", h))) : (k = function(e) {
94
- return e[r];
95
- }, (i < 2 || i === 4) && (A = function(e, t) {
96
- e[r] = t;
97
- }));
98
- var j = O.access = { has: d ? m.bind() : function(e) {
99
- return r in e;
100
- } };
101
- if (k && (j.get = k), A && (j.set = A), C = T.call(E, p ? {
102
- get: b.get,
103
- set: b.set
104
- } : b[S], O), p) {
105
- if (typeof C == "object" && C) (g = c(C.get, "accessor.get")) && (b.get = g), (g = c(C.set, "accessor.set")) && (b.set = g), (g = c(C.init, "accessor.init")) && x.push(g);
106
- else if (C !== void 0) throw TypeError("accessor decorators must return an object with get, set, or init properties or void 0");
107
- } else c(C, (f ? "field" : "method") + " decorators", "return") && (f ? x.push(C) : b[S] = C);
108
- }
109
- } finally {
110
- D.v = !0;
111
- }
112
- }
113
- return (f || p) && l.push(function(e, t) {
114
- for (var n = x.length - 1; n >= 0; n--) t = x[n].call(e, t);
115
- return t;
116
- }), f || y || (d ? p ? l.push(o(b, "get"), o(b, "set")) : l.push(i === 2 ? b[S] : o.call.bind(b[S])) : Object.defineProperty(e, r, b)), C;
117
- }
118
- function u(e, t) {
119
- return Object.defineProperty(e, Symbol.metadata || Symbol.for("Symbol.metadata"), {
120
- configurable: !0,
121
- enumerable: !0,
122
- value: t
123
- });
124
- }
125
- if (arguments.length >= 6) var d = a[Symbol.metadata || Symbol.for("Symbol.metadata")];
126
- var f = Object.create(d ?? null), p = function(e, t, n, r) {
127
- var i, a, o = [], c = function(t) {
128
- return z(t) === e;
129
- }, u = /* @__PURE__ */ new Map();
130
- function d(e) {
131
- e && o.push(s.bind(null, e));
132
- }
133
- for (var f = 0; f < t.length; f++) {
134
- var p = t[f];
135
- if (Array.isArray(p)) {
136
- var m = p[1], h = p[2], g = p.length > 3, _ = 16 & m, v = !!(8 & m), y = (m &= 7) == 0, b = h + "/" + v;
137
- if (!y && !g) {
138
- var x = u.get(b);
139
- if (!0 === x || x === 3 && m !== 4 || x === 4 && m !== 3) throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: " + h);
140
- u.set(b, !(m > 2) || m);
141
- }
142
- l(v ? e : e.prototype, p, _, g ? "#" + h : I(h), m, r, v ? a ||= [] : i ||= [], o, v, g, y, m === 1, v && g ? c : n);
143
- }
144
- }
145
- return d(i), d(a), o;
146
- }(e, t, i, f);
147
- return n.length || u(e, f), {
148
- e: p,
149
- get c() {
150
- var t = [];
151
- return n.length && [u(l(e, [n], r, e.name, 5, f, t), f), s.bind(null, t, e)];
152
- }
153
- };
154
- }
155
- function I(e) {
156
- var t = L(e, "string");
157
- return typeof t == "symbol" ? t : t + "";
158
- }
159
- function L(e, t) {
160
- if (typeof e != "object" || !e) return e;
161
- var n = e[Symbol.toPrimitive];
162
- if (n !== void 0) {
163
- var r = n.call(e, t || "default");
164
- if (typeof r != "object") return r;
165
- throw TypeError("@@toPrimitive must return a primitive value.");
166
- }
167
- return (t === "string" ? String : Number)(e);
168
- }
169
- function R(e, t, n) {
170
- typeof t == "symbol" && (t = (t = t.description) ? "[" + t + "]" : "");
171
- try {
172
- Object.defineProperty(e, "name", {
173
- configurable: !0,
174
- value: n ? n + " " + t : t
175
- });
176
- } catch {}
177
- return e;
178
- }
179
- function z(e) {
180
- if (Object(e) !== e) throw TypeError("right-hand side of 'in' should be an object, got " + (e === null ? "null" : typeof e));
181
- return e;
182
- }
183
- function B(e) {
184
- return e;
185
- }
186
- v = [s("file-explorer-header")];
187
- var V;
188
- new (D = (f = /*#__PURE__*/ new WeakMap(), p = /*#__PURE__*/ new WeakMap(), m = /*#__PURE__*/ new WeakMap(), h = /*#__PURE__*/ new WeakMap(), O = (y = o({
189
- context: r,
190
- subscribe: !0
191
- }), x = c({ attribute: !1 }), C = c({ attribute: !1 }), T = l(), "_loadedMetadataForUri"), d = class extends n {
192
- constructor(...e) {
193
- super(...e), P(this, O, void g(this)), k(this, f, b(this, void 0)), k(this, p, S(this, [])), k(this, m, w(this, void 0)), k(this, h, E(this, {
194
- modified: void 0,
195
- isPublic: !1,
196
- canEdit: !1,
197
- aclUri: void 0
198
- }));
199
- }
200
- get fileExplorerContext() {
201
- return M(f, this);
202
- }
203
- set fileExplorerContext(e) {
204
- j(f, this, e);
205
- }
206
- get menuItems() {
207
- return M(p, this);
208
- }
209
- set menuItems(e) {
210
- j(p, this, e);
211
- }
212
- get paneIcon() {
213
- return M(m, this);
214
- }
215
- set paneIcon(e) {
216
- j(m, this, e);
217
- }
218
- get responseMetadata() {
219
- return M(h, this);
220
- }
221
- set responseMetadata(e) {
222
- j(h, this, e);
223
- }
224
- getDefaultResponseMetadata() {
225
- return {
226
- modified: void 0,
227
- isPublic: !1,
228
- canEdit: !1,
229
- aclUri: void 0
230
- };
231
- }
232
- updated() {
233
- this.fileExplorerContext?.store && this.fileExplorerContext.subjectUri && this._loadedMetadataForUri !== this.fileExplorerContext.subjectUri && (this._loadedMetadataForUri = this.fileExplorerContext.subjectUri, this.loadResponseMetadata());
234
- }
235
- async loadResponseMetadata() {
236
- if (!(!this.fileExplorerContext?.store || !this.fileExplorerContext.subjectUri)) try {
237
- let { metadata: e } = await t(this.fileExplorerContext.store, i(this.fileExplorerContext.subjectUri));
238
- this.responseMetadata = {
239
- modified: e.modified,
240
- isPublic: e.isPublic,
241
- canEdit: e.canEdit,
242
- aclUri: e.aclUri
243
- };
244
- } catch (e) {
245
- this.responseMetadata = this.getDefaultResponseMetadata(), console.warn("Failed to load response metadata", e);
246
- }
247
- }
248
- render() {
249
- return a`
250
- <header>
251
- <file-explorer-header-summary
252
- .paneIcon=${this.paneIcon}
253
- .onBackClick=${this.fileExplorerContext?.onBack}
254
- .responseMetadata=${this.responseMetadata}
255
- ></file-explorer-header-summary>
256
- <file-explorer-header-controls
257
- .menuItems=${this.menuItems}
258
- .canEdit=${this.responseMetadata.canEdit}
259
- ></file-explorer-header-controls>
260
- </header>
261
- `;
262
- }
263
- }, {e: [b, S, w, E, g], c: [V, _]} = F(d, [
264
- [
265
- y,
266
- 1,
267
- "fileExplorerContext"
268
- ],
269
- [
270
- x,
271
- 1,
272
- "menuItems"
273
- ],
274
- [
275
- C,
276
- 1,
277
- "paneIcon"
278
- ],
279
- [
280
- T,
281
- 1,
282
- "responseMetadata"
283
- ]
284
- ], v, 0, void 0, n), d), u = class extends B {
285
- constructor() {
286
- super(V), P(this, "styles", e), _();
287
- }
288
- }, P(u, D, void 0), u)();
289
- //#endregion
290
- export { V as default };
291
-
292
- //# sourceMappingURL=FileExplorerHeader.esm.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FileExplorerHeader.esm.js","names":["sym","WebComponent","fileExplorerContext","customElement","property","state","consume","html","styles","fetchContentAndMetadata","_classDecs","_FileExplorerHeader","_FileExplorerHeader2","_A","WeakMap","_B","_C","_D","_ref","_fileExplorerContextDecs","context","subscribe","_menuItemsDecs","attribute","_paneIconDecs","_responseMetadataDecs","_FileExplorerHeader3","FileExplorerHeader","constructor","args","_defineProperty","_initProto","_classPrivateFieldInitSpec","_init_fileExplorerContext","undefined","_init_menuItems","_init_paneIcon","_init_responseMetadata","modified","isPublic","canEdit","aclUri","_classPrivateFieldGet","v","_classPrivateFieldSet","menuItems","paneIcon","responseMetadata","getDefaultResponseMetadata","updated","store","subjectUri","_loadedMetadataForUri","loadResponseMetadata","metadata","error","console","warn","render","onBack","e","c","_initClass","_applyDecs","_Class","_identity","default"],"sources":["../../../src/components/file-explorer-header/FileExplorerHeader.ts"],"sourcesContent":["import { sym } from 'rdflib'\nimport { WebComponent, type FileExplorerContext, fileExplorerContext } from 'solid-ui'\nimport { customElement, property, state } from 'lit/decorators.js'\nimport { consume } from '@lit/context'\nimport { html } from 'lit'\nimport '~icons/lucide/share-2'\nimport '~icons/lucide/pencil'\nimport '~icons/lucide/ellipsis-vertical'\nimport styles from './FileExplorerHeader.styles.css'\nimport './FileExplorerHeaderSummary'\nimport './FileExplorerHeaderControls'\nimport { PaneIcon } from './types'\nimport { fetchContentAndMetadata, type FileExplorerResourceMetadata } from './helper'\n\n@customElement('file-explorer-header')\nexport default class FileExplorerHeader extends WebComponent {\n static styles = styles\n\n private _loadedMetadataForUri: string | undefined\n\n @consume({ context: fileExplorerContext, subscribe: true })\n accessor fileExplorerContext: FileExplorerContext = undefined as unknown as FileExplorerContext\n\n @property({ attribute: false })\n accessor menuItems: Array<{ label: string, action: (event: Event) => void }> = []\n\n @property({ attribute: false })\n accessor paneIcon: PaneIcon = undefined as unknown as PaneIcon\n\n @state()\n accessor responseMetadata: Pick<FileExplorerResourceMetadata, 'modified' | 'isPublic' | 'canEdit' | 'aclUri'> = {\n modified: undefined,\n isPublic: false,\n canEdit: false,\n aclUri: undefined\n }\n\n private getDefaultResponseMetadata (): Pick<FileExplorerResourceMetadata, 'modified' | 'isPublic' | 'canEdit' | 'aclUri'> {\n return {\n modified: undefined,\n isPublic: false,\n canEdit: false,\n aclUri: undefined\n }\n }\n\n protected updated () {\n if (this.fileExplorerContext?.store && this.fileExplorerContext.subjectUri && this._loadedMetadataForUri !== this.fileExplorerContext.subjectUri) {\n this._loadedMetadataForUri = this.fileExplorerContext.subjectUri\n this.loadResponseMetadata()\n }\n }\n\n private async loadResponseMetadata () {\n if (!this.fileExplorerContext?.store || !this.fileExplorerContext.subjectUri) return\n\n try {\n const { metadata } = await fetchContentAndMetadata(this.fileExplorerContext.store, sym(this.fileExplorerContext.subjectUri))\n this.responseMetadata = {\n modified: metadata.modified,\n isPublic: metadata.isPublic,\n canEdit: metadata.canEdit,\n aclUri: metadata.aclUri\n }\n } catch (error) {\n this.responseMetadata = this.getDefaultResponseMetadata()\n console.warn('Failed to load response metadata', error)\n }\n }\n\n render () {\n return html`\n <header>\n <file-explorer-header-summary\n .paneIcon=${this.paneIcon}\n .onBackClick=${this.fileExplorerContext?.onBack}\n .responseMetadata=${this.responseMetadata}\n ></file-explorer-header-summary>\n <file-explorer-header-controls\n .menuItems=${this.menuItems}\n .canEdit=${this.responseMetadata.canEdit}\n ></file-explorer-header-controls>\n </header>\n `\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAYqFU,IAAA,CAEpFP,EAAc,sBAAsB,CAAC;AAAA,IAAAQ;AAAA,KAAAC,KAAAC,kBAAA,IAAAC,QAAA,GAAAC,kBAAA,IAAAD,QAAA,GAAAE,kBAAA,IAAAF,QAAA,GAAAG,kBAAA,IAAAH,QAAA,GAAAI,KAAAC,IAMnCb,EAAQ;CAAEc,SAASlB;CAAqBmB,WAAW;AAAK,CAAC,GAACC,IAG1DlB,EAAS,EAAEmB,WAAW,GAAM,CAAC,GAACC,IAG9BpB,EAAS,EAAEmB,WAAW,GAAM,CAAC,GAACE,IAG9BpB,EAAM,GAAC,0BAAAqB,IAfV,cACgDzB,EAAa;CAAA2B,YAAA,GAAAC,GAAA;EAYpBG,AAZoB,MAAA,GAAAH,CAAA,GAAAC,EAAA,MAAAZ,GAAA,KAAAa,EAAA,IAAA,CAAA,GAAAC,EAAA,MAAAnB,GAAAoB,EAAA,MAMPC,KAAAA,CAAS,CAAA,GAAAF,EAAA,MAAAjB,GAAAoB,EAAA,MAGkB,CAAA,CAAE,CAAA,GAAAH,EAAA,MAAAhB,GAAAoB,EAAA,MAGnDF,KAAAA,CAAS,CAAA,GAAAF,EAAA,MAAAf,GAAAoB,EAAA,MAGyE;GAC9GC,UAAUJ,KAAAA;GACVK,UAAU;GACVC,SAAS;GACTC,QAAQP,KAAAA;EACV,CAAC,CAAA;CAAA;CAAA,IAdQhC,sBAAmB;EAAA,OAAAwC,EAAA7B,GAAA,IAAA;CAAA;CAAA,IAAnBX,oBAAmByC,GAAA;EAAAC,EAAA/B,GAAA,MAAA8B,CAAA;CAAA;CAAA,IAGnBE,YAAS;EAAA,OAAAH,EAAA3B,GAAA,IAAA;CAAA;CAAA,IAAT8B,UAASF,GAAA;EAAAC,EAAA7B,GAAA,MAAA4B,CAAA;CAAA;CAAA,IAGTG,WAAQ;EAAA,OAAAJ,EAAA1B,GAAA,IAAA;CAAA;CAAA,IAAR8B,SAAQH,GAAA;EAAAC,EAAA5B,GAAA,MAAA2B,CAAA;CAAA;CAAA,IAGRI,mBAAgB;EAAA,OAAAL,EAAAzB,GAAA,IAAA;CAAA;CAAA,IAAhB8B,iBAAgBJ,GAAA;EAAAC,EAAA3B,GAAA,MAAA0B,CAAA;CAAA;CAOjBK,6BAAkH;EACxH,OAAO;GACLV,UAAUJ,KAAAA;GACVK,UAAU;GACVC,SAAS;GACTC,QAAQP,KAAAA;EACV;CACF;CAEUe,UAAW;EACnB,AAAI,KAAK/C,qBAAqBgD,SAAS,KAAKhD,oBAAoBiD,cAAc,KAAKC,0BAA0B,KAAKlD,oBAAoBiD,eACpI,KAAKC,wBAAwB,KAAKlD,oBAAoBiD,YACtD,KAAKE,qBAAqB;CAE9B;CAEA,MAAcA,uBAAwB;EAChC,OAAC,KAAKnD,qBAAqBgD,SAAS,CAAC,KAAKhD,oBAAoBiD,aAElE,IAAI;GACF,IAAM,EAAEG,gBAAa,MAAM7C,EAAwB,KAAKP,oBAAoBgD,OAAOlD,EAAI,KAAKE,oBAAoBiD,UAAU,CAAC;GAC3H,KAAKJ,mBAAmB;IACtBT,UAAUgB,EAAShB;IACnBC,UAAUe,EAASf;IACnBC,SAASc,EAASd;IAClBC,QAAQa,EAASb;GACnB;EACF,SAASc,GAAO;GAEdC,AADA,KAAKT,mBAAmB,KAAKC,2BAA2B,GACxDQ,QAAQC,KAAK,oCAAoCF,CAAK;EACxD;CACF;CAEAG,SAAU;EACR,OAAOnD,CAAI;;;sBAGO,KAAKuC,SAAQ;yBACV,KAAK5C,qBAAqByD,OAAM;8BAC3B,KAAKZ,iBAAgB;;;uBAG5B,KAAKF,UAAS;qBAChB,KAAKE,iBAAiBP,QAAO;;;;CAIhD;AACF,GAAC,CAAAoB,GAAA,CAAA3B,GAAAE,GAAAC,GAAAC,GAAAN,IAAA8B,GAAA,CAAAlD,GAAAmD,MAAAC,EAAArC,GAAA;CAAA;EAAAP;EAAA;EAAA;CAAA;CAAA;EAAAG;EAAA;EAAA;CAAA;CAAA;EAAAE;EAAA;EAAA;CAAA;CAAA;EAAAC;EAAA;EAAA;CAAA;AAAA,GAAAf,GAAA,GAAA,KAAA,GAtE+CT,CAAY,GAAAyB,IAAAsC,IAAA,cAAAC,EAAA;CAAArC,cAAA;EAAA,MAAAjB,CAAA,GAAAmB,EAAA,MAAA,UAC1CtB,CAAM,GAAAsD,EAAA;CAAA;AAAA,GAAAhC,EAAAkC,GAAApD,GAAA,KAAA,CAAA,GAAAoD,GAAA"}
@@ -1,2 +0,0 @@
1
- var e=require("lit").css`:host header{text-align:right;flex-wrap:nowrap;justify-content:space-between;align-items:center;gap:6px;width:100%;padding:15px;display:flex}`;exports.default=e;
2
- //# sourceMappingURL=FileExplorerHeader.styles.cjs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FileExplorerHeader.styles.cjs.js","names":[],"sources":["../../../src/components/file-explorer-header/FileExplorerHeader.styles.css"],"sourcesContent":[":host {\n header {\n display: flex;\n justify-content: space-between;\n align-items: center;\n gap: 6px;\n flex-wrap: nowrap;\n width: 100%;\n text-align: right;\n padding: 15px;\n }\n}\n"],"mappings":""}
@@ -1,7 +0,0 @@
1
- import { css as e } from "lit";
2
- //#region src/components/file-explorer-header/FileExplorerHeader.styles.css
3
- var t = e`:host header{text-align:right;flex-wrap:nowrap;justify-content:space-between;align-items:center;gap:6px;width:100%;padding:15px;display:flex}`;
4
- //#endregion
5
- export { t as default };
6
-
7
- //# sourceMappingURL=FileExplorerHeader.styles.esm.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FileExplorerHeader.styles.esm.js","names":[],"sources":["../../../src/components/file-explorer-header/FileExplorerHeader.styles.css"],"sourcesContent":[":host {\n header {\n display: flex;\n justify-content: space-between;\n align-items: center;\n gap: 6px;\n flex-wrap: nowrap;\n width: 100%;\n text-align: right;\n padding: 15px;\n }\n}\n"],"mappings":""}
@@ -1,22 +0,0 @@
1
- require("../../_virtual/~icons/lucide/share-2.cjs.js"),require("../../_virtual/~icons/lucide/pencil.cjs.js");const e=require("./FileExplorerHeaderControls.styles.cjs.js");require("../resource-actions-menu/ResourceActionsMenu.cjs.js");let t=require("solid-ui"),n=require("lit"),r=require("@lit/context"),i=require("lit/decorators.js");require("solid-ui/components/button");var a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b;function x(e,t,n){S(e,t),t.set(e,n)}function S(e,t){if(t.has(e))throw TypeError(`Cannot initialize the same private elements twice on an object`)}function C(e,t,n){return e.set(T(e,t),n),n}function w(e,t){return e.get(T(e,t))}function T(e,t,n){if(typeof e==`function`?e===t:e.has(t))return arguments.length<3?t:n;throw TypeError(`Private element is not present on this object`)}function E(e,t,n){return(t=O(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function D(e,t,n,r,i,a){function o(e,t,n){return function(r,i){return n&&n(r),e[t].call(r,i)}}function s(e,t){for(var n=0;n<e.length;n++)e[n].call(t);return t}function c(e,t,n,r){if(typeof e!=`function`&&(r||e!==void 0))throw TypeError(t+` must `+(n||`be`)+` a function`+(r?``:` or undefined`));return e}function l(e,t,n,r,i,a,s,l,u,d,f,p,m){function h(e){if(!m(e))throw TypeError(`Attempted to access private element on non-instance`)}var g,_=t[0],v=t[3],y=!l;if(!y){n||Array.isArray(_)||(_=[_]);var b={},x=[],S=i===3?`get`:i===4||p?`set`:`value`;d?(f||p?b={get:A(function(){return v(this)},r,`get`),set:function(e){t[4](this,e)}}:b[S]=v,f||A(b[S],r,i===2?``:S)):f||(b=Object.getOwnPropertyDescriptor(e,r))}for(var C=e,w=_.length-1;w>=0;w-=n?2:1){var T=_[w],E=n?_[w-1]:void 0,D={},O={kind:[`field`,`accessor`,`method`,`getter`,`setter`,`class`][i],name:r,metadata:a,addInitializer:function(e,t){if(e.v)throw Error(`attempted to call addInitializer after decoration was finished`);c(t,`An initializer`,`be`,!0),s.push(t)}.bind(null,D)};try{if(y)(g=c(T.call(E,C,O),`class decorators`,`return`))&&(C=g);else{var k,j;O.static=u,O.private=d,d?i===2?k=function(e){return h(e),b.value}:(i<4&&(k=o(b,`get`,h)),i!==3&&(j=o(b,`set`,h))):(k=function(e){return e[r]},(i<2||i===4)&&(j=function(e,t){e[r]=t}));var M=O.access={has:d?m.bind():function(e){return r in e}};if(k&&(M.get=k),j&&(M.set=j),C=T.call(E,p?{get:b.get,set:b.set}:b[S],O),p){if(typeof C==`object`&&C)(g=c(C.get,`accessor.get`))&&(b.get=g),(g=c(C.set,`accessor.set`))&&(b.set=g),(g=c(C.init,`accessor.init`))&&x.push(g);else if(C!==void 0)throw TypeError(`accessor decorators must return an object with get, set, or init properties or void 0`)}else c(C,(f?`field`:`method`)+` decorators`,`return`)&&(f?x.push(C):b[S]=C)}}finally{D.v=!0}}return(f||p)&&l.push(function(e,t){for(var n=x.length-1;n>=0;n--)t=x[n].call(e,t);return t}),f||y||(d?p?l.push(o(b,`get`),o(b,`set`)):l.push(i===2?b[S]:o.call.bind(b[S])):Object.defineProperty(e,r,b)),C}function u(e,t){return Object.defineProperty(e,Symbol.metadata||Symbol.for(`Symbol.metadata`),{configurable:!0,enumerable:!0,value:t})}if(arguments.length>=6)var d=a[Symbol.metadata||Symbol.for(`Symbol.metadata`)];var f=Object.create(d??null),p=function(e,t,n,r){var i,a,o=[],c=function(t){return j(t)===e},u=new Map;function d(e){e&&o.push(s.bind(null,e))}for(var f=0;f<t.length;f++){var p=t[f];if(Array.isArray(p)){var m=p[1],h=p[2],g=p.length>3,_=16&m,v=!!(8&m),y=(m&=7)==0,b=h+`/`+v;if(!y&&!g){var x=u.get(b);if(!0===x||x===3&&m!==4||x===4&&m!==3)throw Error(`Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: `+h);u.set(b,!(m>2)||m)}l(v?e:e.prototype,p,_,g?`#`+h:O(h),m,r,v?a||=[]:i||=[],o,v,g,y,m===1,v&&g?c:n)}}return d(i),d(a),o}(e,t,i,f);return n.length||u(e,f),{e:p,get c(){var t=[];return n.length&&[u(l(e,[n],r,e.name,5,f,t),f),s.bind(null,t,e)]}}}function O(e){var t=k(e,`string`);return typeof t==`symbol`?t:t+``}function k(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function A(e,t,n){typeof t==`symbol`&&(t=(t=t.description)?`[`+t+`]`:``);try{Object.defineProperty(e,"name",{configurable:!0,value:n?n+` `+t:t})}catch{}return e}function j(e){if(Object(e)!==e)throw TypeError(`right-hand side of 'in' should be an object, got `+(e===null?`null`:typeof e));return e}function M(e){return e}f=[(0,i.customElement)(`file-explorer-header-controls`)];var N;new(y=(s=new WeakMap,c=new WeakMap,l=new WeakMap,b=(p=(0,r.consume)({context:t.fileExplorerContext,subscribe:!0}),h=(0,i.property)({attribute:!1}),_=(0,i.property)({type:Boolean}),`fileExplorerContext`),o=class extends t.WebComponent{constructor(...e){super(...e),x(this,s,(u(this),m(this,void 0))),x(this,c,g(this,[])),x(this,l,v(this,!1))}get[b](){return w(s,this)}set fileExplorerContext(e){C(s,this,e)}get menuItems(){return w(c,this)}set menuItems(e){C(c,this,e)}get canEdit(){return w(l,this)}set canEdit(e){C(l,this,e)}handleEditingClick(){this.fileExplorerContext.edit?.onEdit?.()}getEditTooltip(){return this.fileExplorerContext.paneSupportsEditing?this.canEdit?`Edit`:`No Access`:`Not Supported`}renderDirtyIndicator(){return this.fileExplorerContext.edit?.isDirty?n.html`<span class="dirtyIndicator" title="This file has unsaved changes">Unsaved</span>`:n.nothing}render(){return n.html`
2
- <div>
3
- ${this.renderDirtyIndicator()}
4
- <solid-ui-button variant="ghost" title="Share" @click=${this.fileExplorerContext.handleSharingClick}>
5
- <icon-lucide-share-2 slot="icon"></icon-lucide-share-2>
6
- </solid-ui-button>
7
- <solid-ui-button
8
- variant="ghost"
9
- title=${this.getEditTooltip()}
10
- ?disabled=${!this.fileExplorerContext.paneSupportsEditing||!this.canEdit}
11
- @click=${this.handleEditingClick}
12
- >
13
- <icon-lucide-pencil slot="icon"></icon-lucide-pencil>
14
- </solid-ui-button>
15
- <resource-actions-menu
16
- .store=${this.fileExplorerContext?.store}
17
- .subjectUri=${this.fileExplorerContext?.subjectUri}
18
- .menuItems=${this.menuItems}
19
- ></resource-actions-menu>
20
- </div>
21
- `}},{e:[m,g,v,u],c:[N,d]}=D(o,[[p,1,`fileExplorerContext`],[h,1,`menuItems`],[_,1,`canEdit`]],f,0,void 0,t.WebComponent),o),a=class extends M{constructor(){super(N),E(this,`styles`,e.default),d()}},E(a,y,void 0),a),Object.defineProperty(exports,"default",{enumerable:!0,get:function(){return N}});
22
- //# sourceMappingURL=FileExplorerHeaderControls.cjs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FileExplorerHeaderControls.cjs.js","names":["WebComponent","customElement","property","consume","html","nothing","styles","fileExplorerContext","_classDecs","_FileExplorerHeaderCo","_FileExplorerHeaderCo2","_A","WeakMap","_B","_C","_ref","_fileExplorerContextDecs","context","subscribe","_menuItemsDecs","attribute","_canEditDecs","type","Boolean","_FileExplorerHeaderControls","FileExplorerHeaderControls","constructor","args","_classPrivateFieldInitSpec","_initProto","_init_fileExplorerContext","undefined","_init_menuItems","_init_canEdit","_classPrivateFieldGet","v","_classPrivateFieldSet","menuItems","canEdit","handleEditingClick","edit","onEdit","getEditTooltip","paneSupportsEditing","renderDirtyIndicator","isDirty","render","handleSharingClick","store","subjectUri","e","c","_initClass","_applyDecs","_Class","_identity","_defineProperty","default"],"sources":["../../../src/components/file-explorer-header/FileExplorerHeaderControls.ts"],"sourcesContent":["import { WebComponent } from 'solid-ui'\nimport { customElement, property } from 'lit/decorators.js'\nimport { consume } from '@lit/context'\nimport { html, nothing } from 'lit'\nimport 'solid-ui/components/button'\nimport '~icons/lucide/share-2'\nimport '~icons/lucide/pencil'\nimport styles from './FileExplorerHeaderControls.styles.css'\nimport '../resource-actions-menu/ResourceActionsMenu'\nimport { fileExplorerContext, type FileExplorerContext } from 'solid-ui'\n\n@customElement('file-explorer-header-controls')\nexport default class FileExplorerHeaderControls extends WebComponent {\n static styles = styles\n\n @consume({ context: fileExplorerContext, subscribe: true })\n accessor fileExplorerContext: FileExplorerContext = undefined as unknown as FileExplorerContext\n\n @property({ attribute: false })\n accessor menuItems: Array<{ label: string, action: (event: Event) => void }> = []\n\n @property({ type: Boolean })\n accessor canEdit: boolean = false\n\n // TODO: Add broken then use this function to set tooltip and disable edit button\n /* private setEditable() {\n const sourcePaneState = this.sourceContext?.sourcePaneState\n const { canEdit } = this.sourceContext?.headerMetadata ?? { canEdit: false }\n const subject = this.sourceContext?.subject\n if (!sourcePaneState || !canEdit || sourcePaneState.broken || (subject && subject.endsWith('/'))) return\n\n this.sourceContext?.setEditing?.()\n } */\n\n private handleEditingClick () {\n this.fileExplorerContext.edit?.onEdit?.()\n }\n\n private getEditTooltip () {\n if (!this.fileExplorerContext.paneSupportsEditing) return 'Not Supported'\n if (!this.canEdit) return 'No Access'\n return 'Edit'\n }\n\n private renderDirtyIndicator () {\n if (!this.fileExplorerContext.edit?.isDirty) return nothing\n\n return html`<span class=\"dirtyIndicator\" title=\"This file has unsaved changes\">Unsaved</span>`\n }\n\n render () {\n return html`\n <div>\n ${this.renderDirtyIndicator()}\n <solid-ui-button variant=\"ghost\" title=\"Share\" @click=${this.fileExplorerContext.handleSharingClick}>\n <icon-lucide-share-2 slot=\"icon\"></icon-lucide-share-2>\n </solid-ui-button>\n <solid-ui-button\n variant=\"ghost\"\n title=${this.getEditTooltip()}\n ?disabled=${!this.fileExplorerContext.paneSupportsEditing || !this.canEdit}\n @click=${this.handleEditingClick}\n >\n <icon-lucide-pencil slot=\"icon\"></icon-lucide-pencil>\n </solid-ui-button>\n <resource-actions-menu\n .store=${this.fileExplorerContext?.store}\n .subjectUri=${this.fileExplorerContext?.subjectUri}\n .menuItems=${this.menuItems}\n ></resource-actions-menu>\n </div>\n `\n }\n}\n"],"mappings":"48IASwEQ,EAAA,EAAA,EAEvEP,EAAAA,cAAAA,CAAc,+BAA+B,CAAC,EAAA,IAAAQ,EAAA,IAAAC,GAAAC,EAAA,IAAAC,QAAAC,EAAA,IAAAD,QAAAE,EAAA,IAAAF,QAAAG,GAAAC,GAAAA,EAI5Cb,EAAAA,QAAAA,CAAQ,CAAEc,QAASV,EAAAA,oBAAqBW,UAAW,EAAK,CAAC,EAACC,GAAAA,EAG1DjB,EAAAA,SAAAA,CAAS,CAAEkB,UAAW,EAAM,CAAC,EAACC,GAAAA,EAG9BnB,EAAAA,SAAAA,CAAS,CAAEoB,KAAMC,OAAQ,CAAC,EAAC,uBAAAC,EAV9B,cACwDxB,EAAAA,YAAa,CAAA0B,YAAA,GAAAC,EAAA,CAAA,MAAA,GAAAA,CAAA,EAAAC,EAAA,KAAAjB,GAAAkB,EAAA,IAAA,EAAAC,EAAA,KAIfC,IAAAA,EAAS,EAAA,EAAAH,EAAA,KAAAf,EAAAmB,EAAA,KAGkB,CAAA,CAAE,CAAA,EAAAJ,EAAA,KAAAd,EAAAmB,EAAA,KAGrD,EAAK,CAAA,CAAA,CAAA,IAAAlB,IAAA,CAAA,OAAAmB,EAAAvB,EAAA,IAAA,CAAA,CAAA,IANxBJ,oBAAmB4B,EAAA,CAAAC,EAAAzB,EAAA,KAAAwB,CAAA,CAAA,CAAA,IAGnBE,WAAS,CAAA,OAAAH,EAAArB,EAAA,IAAA,CAAA,CAAA,IAATwB,UAASF,EAAA,CAAAC,EAAAvB,EAAA,KAAAsB,CAAA,CAAA,CAMlB,IAHSG,SAAO,CAAA,OAAAJ,EAAApB,EAAA,IAAA,CAAA,CAAA,IAAPwB,QAAOH,EAAA,CAAAC,EAAAtB,EAAA,KAAAqB,CAAA,CAAA,CAYRI,oBAAsB,CAC5B,KAAKhC,oBAAoBiC,MAAMC,SAAS,CAC1C,CAEQC,gBAAkB,CAGxB,OAFK,KAAKnC,oBAAoBoC,oBACzB,KAAKL,QACH,OADmB,YADgC,eAG5D,CAEQM,sBAAwB,CAG9B,OAFK,KAAKrC,oBAAoBiC,MAAMK,QAE7BzC,EAAAA,IAAI,oFAFyCC,EAAAA,OAGtD,CAEAyC,QAAU,CACR,MAAO1C,GAAAA,IAAI;;UAEL,KAAKwC,qBAAqB,EAAC;gEAC2B,KAAKrC,oBAAoBwC,mBAAkB;;;;;kBAKzF,KAAKL,eAAe,EAAC;sBACjB,CAAC,KAAKnC,oBAAoBoC,qBAAuB,CAAC,KAAKL,QAAO;mBACjE,KAAKC,mBAAkB;;;;;mBAKvB,KAAKhC,qBAAqByC,MAAK;wBAC1B,KAAKzC,qBAAqB0C,WAAU;uBACrC,KAAKZ,UAAS;;;KAInC,CACF,EAAC,CAAAa,EAAA,CAAApB,EAAAE,EAAAC,EAAAJ,GAAAsB,EAAA,CAAA1C,EAAA2C,IAAAC,EAAA7B,EAAA,CAAA,CAAAR,EAAA,EAAA,qBAAA,EAAA,CAAAG,EAAA,EAAA,WAAA,EAAA,CAAAE,EAAA,EAAA,SAAA,CAAA,EAAAb,EAAA,EAAA,IAAA,GA7DuDR,EAAAA,YAAY,EAAAwB,GAAA8B,EAAA,cAAAC,CAAA,CAAA7B,aAAA,CAAA,MAAAjB,CAAA,EAAA+C,EAAA,KAAA,SAClDlD,EAAAA,OAAM,EAAA8C,EAAA,CAAA,CAAA,EAAAI,EAAAF,EAAA5C,EAAA,IAAA,EAAA,EAAA4C"}
@@ -1,15 +0,0 @@
1
- import { WebComponent, FileExplorerContext } from 'solid-ui';
2
- export default class FileExplorerHeaderControls extends WebComponent {
3
- static styles: any;
4
- accessor fileExplorerContext: FileExplorerContext;
5
- accessor menuItems: Array<{
6
- label: string;
7
- action: (event: Event) => void;
8
- }>;
9
- accessor canEdit: boolean;
10
- private handleEditingClick;
11
- private getEditTooltip;
12
- private renderDirtyIndicator;
13
- render(): import('lit-html').TemplateResult<1>;
14
- }
15
- //# sourceMappingURL=FileExplorerHeaderControls.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FileExplorerHeaderControls.d.ts","sourceRoot":"","sources":["../../../src/components/file-explorer-header/FileExplorerHeaderControls.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AAIvC,OAAO,4BAA4B,CAAA;AACnC,OAAO,uBAAuB,CAAA;AAC9B,OAAO,sBAAsB,CAAA;AAE7B,OAAO,8CAA8C,CAAA;AACrD,OAAO,EAAuB,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAA;AAGxE,MAAM,CAAC,OAAO,OAAO,0BAA2B,SAAQ,YAAY;IAClE,MAAM,CAAC,MAAM,MAAS;IAGtB,QAAQ,CAAC,mBAAmB,EAAE,mBAAmB,CAA8C;IAG/F,QAAQ,CAAC,SAAS,EAAE,KAAK,CAAC;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAA;KAAE,CAAC,CAAK;IAGjF,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAQ;IAYjC,OAAO,CAAC,kBAAkB;IAI1B,OAAO,CAAC,cAAc;IAMtB,OAAO,CAAC,oBAAoB;IAM5B,MAAM;CAuBP"}
@@ -1,266 +0,0 @@
1
- import "../../_virtual/~icons/lucide/share-2.esm.js";
2
- import "../../_virtual/~icons/lucide/pencil.esm.js";
3
- import e from "./FileExplorerHeaderControls.styles.esm.js";
4
- import "../resource-actions-menu/ResourceActionsMenu.esm.js";
5
- import { WebComponent as t, fileExplorerContext as n } from "solid-ui";
6
- import { html as r, nothing as i } from "lit";
7
- import { consume as a } from "@lit/context";
8
- import { customElement as o, property as s } from "lit/decorators.js";
9
- import "solid-ui/components/button";
10
- //#region src/components/file-explorer-header/FileExplorerHeaderControls.ts
11
- var c, l, u, d, f, p, m, h, g, _, v, y, b, x, S, C;
12
- function w(e, t, n) {
13
- T(e, t), t.set(e, n);
14
- }
15
- function T(e, t) {
16
- if (t.has(e)) throw TypeError("Cannot initialize the same private elements twice on an object");
17
- }
18
- function E(e, t, n) {
19
- return e.set(O(e, t), n), n;
20
- }
21
- function D(e, t) {
22
- return e.get(O(e, t));
23
- }
24
- function O(e, t, n) {
25
- if (typeof e == "function" ? e === t : e.has(t)) return arguments.length < 3 ? t : n;
26
- throw TypeError("Private element is not present on this object");
27
- }
28
- function k(e, t, n) {
29
- return (t = j(t)) in e ? Object.defineProperty(e, t, {
30
- value: n,
31
- enumerable: !0,
32
- configurable: !0,
33
- writable: !0
34
- }) : e[t] = n, e;
35
- }
36
- function A(e, t, n, r, i, a) {
37
- function o(e, t, n) {
38
- return function(r, i) {
39
- return n && n(r), e[t].call(r, i);
40
- };
41
- }
42
- function s(e, t) {
43
- for (var n = 0; n < e.length; n++) e[n].call(t);
44
- return t;
45
- }
46
- function c(e, t, n, r) {
47
- if (typeof e != "function" && (r || e !== void 0)) throw TypeError(t + " must " + (n || "be") + " a function" + (r ? "" : " or undefined"));
48
- return e;
49
- }
50
- function l(e, t, n, r, i, a, s, l, u, d, f, p, m) {
51
- function h(e) {
52
- if (!m(e)) throw TypeError("Attempted to access private element on non-instance");
53
- }
54
- var g, _ = t[0], v = t[3], y = !l;
55
- if (!y) {
56
- n || Array.isArray(_) || (_ = [_]);
57
- var b = {}, x = [], S = i === 3 ? "get" : i === 4 || p ? "set" : "value";
58
- d ? (f || p ? b = {
59
- get: N(function() {
60
- return v(this);
61
- }, r, "get"),
62
- set: function(e) {
63
- t[4](this, e);
64
- }
65
- } : b[S] = v, f || N(b[S], r, i === 2 ? "" : S)) : f || (b = Object.getOwnPropertyDescriptor(e, r));
66
- }
67
- for (var C = e, w = _.length - 1; w >= 0; w -= n ? 2 : 1) {
68
- var T = _[w], E = n ? _[w - 1] : void 0, D = {}, O = {
69
- kind: [
70
- "field",
71
- "accessor",
72
- "method",
73
- "getter",
74
- "setter",
75
- "class"
76
- ][i],
77
- name: r,
78
- metadata: a,
79
- addInitializer: function(e, t) {
80
- if (e.v) throw Error("attempted to call addInitializer after decoration was finished");
81
- c(t, "An initializer", "be", !0), s.push(t);
82
- }.bind(null, D)
83
- };
84
- try {
85
- if (y) (g = c(T.call(E, C, O), "class decorators", "return")) && (C = g);
86
- else {
87
- var k, A;
88
- O.static = u, O.private = d, d ? i === 2 ? k = function(e) {
89
- return h(e), b.value;
90
- } : (i < 4 && (k = o(b, "get", h)), i !== 3 && (A = o(b, "set", h))) : (k = function(e) {
91
- return e[r];
92
- }, (i < 2 || i === 4) && (A = function(e, t) {
93
- e[r] = t;
94
- }));
95
- var j = O.access = { has: d ? m.bind() : function(e) {
96
- return r in e;
97
- } };
98
- if (k && (j.get = k), A && (j.set = A), C = T.call(E, p ? {
99
- get: b.get,
100
- set: b.set
101
- } : b[S], O), p) {
102
- if (typeof C == "object" && C) (g = c(C.get, "accessor.get")) && (b.get = g), (g = c(C.set, "accessor.set")) && (b.set = g), (g = c(C.init, "accessor.init")) && x.push(g);
103
- else if (C !== void 0) throw TypeError("accessor decorators must return an object with get, set, or init properties or void 0");
104
- } else c(C, (f ? "field" : "method") + " decorators", "return") && (f ? x.push(C) : b[S] = C);
105
- }
106
- } finally {
107
- D.v = !0;
108
- }
109
- }
110
- return (f || p) && l.push(function(e, t) {
111
- for (var n = x.length - 1; n >= 0; n--) t = x[n].call(e, t);
112
- return t;
113
- }), f || y || (d ? p ? l.push(o(b, "get"), o(b, "set")) : l.push(i === 2 ? b[S] : o.call.bind(b[S])) : Object.defineProperty(e, r, b)), C;
114
- }
115
- function u(e, t) {
116
- return Object.defineProperty(e, Symbol.metadata || Symbol.for("Symbol.metadata"), {
117
- configurable: !0,
118
- enumerable: !0,
119
- value: t
120
- });
121
- }
122
- if (arguments.length >= 6) var d = a[Symbol.metadata || Symbol.for("Symbol.metadata")];
123
- var f = Object.create(d ?? null), p = function(e, t, n, r) {
124
- var i, a, o = [], c = function(t) {
125
- return P(t) === e;
126
- }, u = /* @__PURE__ */ new Map();
127
- function d(e) {
128
- e && o.push(s.bind(null, e));
129
- }
130
- for (var f = 0; f < t.length; f++) {
131
- var p = t[f];
132
- if (Array.isArray(p)) {
133
- var m = p[1], h = p[2], g = p.length > 3, _ = 16 & m, v = !!(8 & m), y = (m &= 7) == 0, b = h + "/" + v;
134
- if (!y && !g) {
135
- var x = u.get(b);
136
- if (!0 === x || x === 3 && m !== 4 || x === 4 && m !== 3) throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: " + h);
137
- u.set(b, !(m > 2) || m);
138
- }
139
- l(v ? e : e.prototype, p, _, g ? "#" + h : j(h), m, r, v ? a ||= [] : i ||= [], o, v, g, y, m === 1, v && g ? c : n);
140
- }
141
- }
142
- return d(i), d(a), o;
143
- }(e, t, i, f);
144
- return n.length || u(e, f), {
145
- e: p,
146
- get c() {
147
- var t = [];
148
- return n.length && [u(l(e, [n], r, e.name, 5, f, t), f), s.bind(null, t, e)];
149
- }
150
- };
151
- }
152
- function j(e) {
153
- var t = M(e, "string");
154
- return typeof t == "symbol" ? t : t + "";
155
- }
156
- function M(e, t) {
157
- if (typeof e != "object" || !e) return e;
158
- var n = e[Symbol.toPrimitive];
159
- if (n !== void 0) {
160
- var r = n.call(e, t || "default");
161
- if (typeof r != "object") return r;
162
- throw TypeError("@@toPrimitive must return a primitive value.");
163
- }
164
- return (t === "string" ? String : Number)(e);
165
- }
166
- function N(e, t, n) {
167
- typeof t == "symbol" && (t = (t = t.description) ? "[" + t + "]" : "");
168
- try {
169
- Object.defineProperty(e, "name", {
170
- configurable: !0,
171
- value: n ? n + " " + t : t
172
- });
173
- } catch {}
174
- return e;
175
- }
176
- function P(e) {
177
- if (Object(e) !== e) throw TypeError("right-hand side of 'in' should be an object, got " + (e === null ? "null" : typeof e));
178
- return e;
179
- }
180
- function F(e) {
181
- return e;
182
- }
183
- h = [o("file-explorer-header-controls")];
184
- var I;
185
- new (S = (u = /*#__PURE__*/ new WeakMap(), d = /*#__PURE__*/ new WeakMap(), f = /*#__PURE__*/ new WeakMap(), C = (g = a({
186
- context: n,
187
- subscribe: !0
188
- }), v = s({ attribute: !1 }), b = s({ type: Boolean }), "fileExplorerContext"), l = class extends t {
189
- constructor(...e) {
190
- super(...e), w(this, u, (p(this), _(this, void 0))), w(this, d, y(this, [])), w(this, f, x(this, !1));
191
- }
192
- get [C]() {
193
- return D(u, this);
194
- }
195
- set fileExplorerContext(e) {
196
- E(u, this, e);
197
- }
198
- get menuItems() {
199
- return D(d, this);
200
- }
201
- set menuItems(e) {
202
- E(d, this, e);
203
- }
204
- get canEdit() {
205
- return D(f, this);
206
- }
207
- set canEdit(e) {
208
- E(f, this, e);
209
- }
210
- handleEditingClick() {
211
- this.fileExplorerContext.edit?.onEdit?.();
212
- }
213
- getEditTooltip() {
214
- return this.fileExplorerContext.paneSupportsEditing ? this.canEdit ? "Edit" : "No Access" : "Not Supported";
215
- }
216
- renderDirtyIndicator() {
217
- return this.fileExplorerContext.edit?.isDirty ? r`<span class="dirtyIndicator" title="This file has unsaved changes">Unsaved</span>` : i;
218
- }
219
- render() {
220
- return r`
221
- <div>
222
- ${this.renderDirtyIndicator()}
223
- <solid-ui-button variant="ghost" title="Share" @click=${this.fileExplorerContext.handleSharingClick}>
224
- <icon-lucide-share-2 slot="icon"></icon-lucide-share-2>
225
- </solid-ui-button>
226
- <solid-ui-button
227
- variant="ghost"
228
- title=${this.getEditTooltip()}
229
- ?disabled=${!this.fileExplorerContext.paneSupportsEditing || !this.canEdit}
230
- @click=${this.handleEditingClick}
231
- >
232
- <icon-lucide-pencil slot="icon"></icon-lucide-pencil>
233
- </solid-ui-button>
234
- <resource-actions-menu
235
- .store=${this.fileExplorerContext?.store}
236
- .subjectUri=${this.fileExplorerContext?.subjectUri}
237
- .menuItems=${this.menuItems}
238
- ></resource-actions-menu>
239
- </div>
240
- `;
241
- }
242
- }, {e: [_, y, x, p], c: [I, m]} = A(l, [
243
- [
244
- g,
245
- 1,
246
- "fileExplorerContext"
247
- ],
248
- [
249
- v,
250
- 1,
251
- "menuItems"
252
- ],
253
- [
254
- b,
255
- 1,
256
- "canEdit"
257
- ]
258
- ], h, 0, void 0, t), l), c = class extends F {
259
- constructor() {
260
- super(I), k(this, "styles", e), m();
261
- }
262
- }, k(c, S, void 0), c)();
263
- //#endregion
264
- export { I as default };
265
-
266
- //# sourceMappingURL=FileExplorerHeaderControls.esm.js.map