solid-ui 5.0.2-4 → 5.0.2-6

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 (282) hide show
  1. package/dist/acl/access-controller.cjs.js +1 -1
  2. package/dist/acl/access-controller.cjs.js.map +1 -1
  3. package/dist/acl/access-controller.esm.js +37 -37
  4. package/dist/acl/access-groups.cjs.js +2 -2
  5. package/dist/acl/access-groups.cjs.js.map +1 -1
  6. package/dist/acl/access-groups.esm.js +78 -78
  7. package/dist/acl/acl-control.cjs.js +1 -1
  8. package/dist/acl/acl-control.cjs.js.map +1 -1
  9. package/dist/acl/acl-control.esm.js +19 -19
  10. package/dist/acl/add-agent-buttons.cjs.js +1 -1
  11. package/dist/acl/add-agent-buttons.cjs.js.map +1 -1
  12. package/dist/acl/add-agent-buttons.esm.js +51 -51
  13. package/dist/chat/bookmarks.cjs.js +1 -1
  14. package/dist/chat/bookmarks.cjs.js.map +1 -1
  15. package/dist/chat/bookmarks.esm.js +44 -44
  16. package/dist/chat/bookmarks.esm.js.map +1 -1
  17. package/dist/chat/chatLogic.cjs.js +2 -2
  18. package/dist/chat/chatLogic.cjs.js.map +1 -1
  19. package/dist/chat/chatLogic.esm.js +54 -54
  20. package/dist/chat/dateFolder.cjs.js +1 -1
  21. package/dist/chat/dateFolder.cjs.js.map +1 -1
  22. package/dist/chat/dateFolder.esm.js +30 -30
  23. package/dist/chat/infinite.cjs.js +1 -1
  24. package/dist/chat/infinite.cjs.js.map +1 -1
  25. package/dist/chat/infinite.esm.js +49 -49
  26. package/dist/chat/keys.cjs.js +2 -2
  27. package/dist/chat/keys.cjs.js.map +1 -1
  28. package/dist/chat/keys.esm.js +17 -17
  29. package/dist/chat/message.cjs.js +4 -4
  30. package/dist/chat/message.cjs.js.map +1 -1
  31. package/dist/chat/message.esm.js +114 -114
  32. package/dist/chat/message.esm.js.map +1 -1
  33. package/dist/chat/messageTools.cjs.js +1 -1
  34. package/dist/chat/messageTools.cjs.js.map +1 -1
  35. package/dist/chat/messageTools.esm.js +51 -51
  36. package/dist/chunks/{ResourceActionsMenu-Bllpr4M5.js → ResourceActionsMenu-KFMLta44.js} +78 -69
  37. package/dist/chunks/ResourceActionsMenu-KFMLta44.js.map +1 -0
  38. package/dist/chunks/{access-control-modal-CwmY_Dod.js → access-control-modal-BZdBv6VD.js} +165 -165
  39. package/dist/chunks/{access-control-modal-CwmY_Dod.js.map → access-control-modal-BZdBv6VD.js.map} +1 -1
  40. package/dist/chunks/{account-CoHPKKDu.js → account-DWmMJre6.js} +22 -22
  41. package/dist/chunks/{account-CoHPKKDu.js.map → account-DWmMJre6.js.map} +1 -1
  42. package/dist/chunks/{auth-CocCqS1p.js → auth-EK-iYNYZ.js} +37 -37
  43. package/dist/chunks/{auth-CocCqS1p.js.map → auth-EK-iYNYZ.js.map} +1 -1
  44. package/dist/chunks/{avatar-sNdKdWVO.js → avatar-BBgvMlqv.js} +13 -13
  45. package/dist/chunks/{avatar-sNdKdWVO.js.map → avatar-BBgvMlqv.js.map} +1 -1
  46. package/dist/chunks/{combobox-fSTp9qoT.js → combobox-DS6byaf1.js} +3 -3
  47. package/dist/chunks/{combobox-fSTp9qoT.js.map → combobox-DS6byaf1.js.map} +1 -1
  48. package/dist/chunks/{error-state-BD4_Wrkz.js → error-state-jV9dlFX2.js} +2 -2
  49. package/dist/chunks/{error-state-BD4_Wrkz.js.map → error-state-jV9dlFX2.js.map} +1 -1
  50. package/dist/chunks/{file-explorer-header-D0TebSYR.js → file-explorer-header-BJzo6xDU.js} +50 -50
  51. package/dist/chunks/{file-explorer-header-D0TebSYR.js.map → file-explorer-header-BJzo6xDU.js.map} +1 -1
  52. package/dist/chunks/{guard-BOicu9dt.js → guard-SxVT1xr4.js} +13 -13
  53. package/dist/chunks/{guard-BOicu9dt.js.map → guard-SxVT1xr4.js.map} +1 -1
  54. package/dist/chunks/{index.esm-C9oV3H3X.js → index.esm-BQrkxchZ.js} +2 -2
  55. package/dist/chunks/{index.esm-C9oV3H3X.js.map → index.esm-BQrkxchZ.js.map} +1 -1
  56. package/dist/chunks/{jsonld-D-TE94B0.js → jsonld-C6IOQ1Tg.js} +2 -2
  57. package/dist/chunks/{jsonld-D-TE94B0.js.map → jsonld-C6IOQ1Tg.js.map} +1 -1
  58. package/dist/chunks/{login-button-clTw_9tX.js → login-button-Dd0rwZJk.js} +11 -11
  59. package/dist/chunks/{login-button-clTw_9tX.js.map → login-button-Dd0rwZJk.js.map} +1 -1
  60. package/dist/chunks/{logout-button-CP-Pz70O.js → logout-button-Da34Lrnq.js} +11 -11
  61. package/dist/chunks/{logout-button-CP-Pz70O.js.map → logout-button-Da34Lrnq.js.map} +1 -1
  62. package/dist/chunks/{menu-D0k2fkiE.js → menu-BNJU654v.js} +2 -2
  63. package/dist/chunks/{menu-D0k2fkiE.js.map → menu-BNJU654v.js.map} +1 -1
  64. package/dist/chunks/{provider-Cuv3Kp6G.js → provider-B3FoP2qW.js} +11 -11
  65. package/dist/chunks/{provider-Cuv3Kp6G.js.map → provider-B3FoP2qW.js.map} +1 -1
  66. package/dist/chunks/{rdf-form-DVmTw3RG.js → rdf-form-BkKDmFPD.js} +36 -36
  67. package/dist/chunks/{rdf-form-DVmTw3RG.js.map → rdf-form-BkKDmFPD.js.map} +1 -1
  68. package/dist/chunks/{rdf-input-CRYLK-27.js → rdf-input-BPePtqfS.js} +61 -61
  69. package/dist/chunks/{rdf-input-CRYLK-27.js.map → rdf-input-BPePtqfS.js.map} +1 -1
  70. package/dist/chunks/{signup-button-CexdMWj6.js → signup-button-DOInssOu.js} +11 -11
  71. package/dist/chunks/{signup-button-CexdMWj6.js.map → signup-button-DOInssOu.js.map} +1 -1
  72. package/dist/chunks/{solidLogicSingleton.esm-BXyHD7mn.js → solidLogicSingleton.esm-Bvt7E7Vl.js} +50 -29
  73. package/dist/chunks/solidLogicSingleton.esm-Bvt7E7Vl.js.map +1 -0
  74. package/dist/chunks/square-arrow-out-up-right-DaALlpHo.js +9 -0
  75. package/dist/chunks/square-arrow-out-up-right-DaALlpHo.js.map +1 -0
  76. package/dist/chunks/{src-DQgHAH3d.js → src-Cv9Lm1V-.js} +3009 -2980
  77. package/dist/chunks/src-Cv9Lm1V-.js.map +1 -0
  78. package/dist/chunks/{style-CXaw5EYi.js → style-Dlw9-wPn.js} +3 -3
  79. package/dist/chunks/{style-CXaw5EYi.js.map → style-Dlw9-wPn.js.map} +1 -1
  80. package/dist/chunks/{widgets-BBEQu0CS.js → widgets-C92ihtlF.js} +733 -737
  81. package/dist/chunks/widgets-C92ihtlF.js.map +1 -0
  82. package/dist/components/access-control-modal/AccessControlAddAccess.cjs.js +1 -1
  83. package/dist/components/access-control-modal/AccessControlAddAccess.esm.js +5 -5
  84. package/dist/components/access-control-modal/AccessControlGeneralAccess.cjs.js +2 -2
  85. package/dist/components/access-control-modal/AccessControlGeneralAccess.cjs.js.map +1 -1
  86. package/dist/components/access-control-modal/AccessControlGeneralAccess.esm.js +12 -12
  87. package/dist/components/access-control-modal/AccessControlModal.cjs.js +2 -2
  88. package/dist/components/access-control-modal/AccessControlModal.cjs.js.map +1 -1
  89. package/dist/components/access-control-modal/AccessControlModal.esm.js +35 -35
  90. package/dist/components/access-control-modal/AccessControlModal.esm.js.map +1 -1
  91. package/dist/components/access-control-modal/AccessControlSharedAccess.cjs.js +1 -1
  92. package/dist/components/access-control-modal/AccessControlSharedAccess.esm.js +2 -2
  93. package/dist/components/access-control-modal/accessTargetResolver.cjs.js +1 -1
  94. package/dist/components/access-control-modal/accessTargetResolver.cjs.js.map +1 -1
  95. package/dist/components/access-control-modal/accessTargetResolver.esm.js +21 -21
  96. package/dist/components/access-control-modal.js +1 -1
  97. package/dist/components/account/Account.cjs.js +1 -1
  98. package/dist/components/account/Account.esm.js +3 -3
  99. package/dist/components/account.js +1 -1
  100. package/dist/components/all.cjs.js +1 -1
  101. package/dist/components/all.esm.js +16 -16
  102. package/dist/components/avatar.js +1 -1
  103. package/dist/components/combobox/Combobox.cjs.js +1 -1
  104. package/dist/components/combobox/Combobox.esm.js +1 -1
  105. package/dist/components/combobox.js +1 -1
  106. package/dist/components/dialog/Dialog.cjs.js +2 -2
  107. package/dist/components/dialog/Dialog.cjs.js.map +1 -1
  108. package/dist/components/dialog/Dialog.esm.js +9 -9
  109. package/dist/components/dialog/Dialog.esm.js.map +1 -1
  110. package/dist/components/dialog-provider/DialogProvider.cjs.js +1 -1
  111. package/dist/components/dialog-provider/DialogProvider.cjs.js.map +1 -1
  112. package/dist/components/dialog-provider/DialogProvider.esm.js +6 -6
  113. package/dist/components/dialogs-root/DialogsRoot.cjs.js +2 -2
  114. package/dist/components/dialogs-root/DialogsRoot.cjs.js.map +1 -1
  115. package/dist/components/dialogs-root/DialogsRoot.esm.js +7 -7
  116. package/dist/components/error-state/ErrorState.cjs.js +1 -1
  117. package/dist/components/error-state/ErrorState.esm.js +1 -1
  118. package/dist/components/error-state.js +1 -1
  119. package/dist/components/file-explorer-header/FileExplorerHeaderControls.cjs.js +2 -2
  120. package/dist/components/file-explorer-header/FileExplorerHeaderControls.cjs.js.map +1 -1
  121. package/dist/components/file-explorer-header/FileExplorerHeaderControls.esm.js +10 -10
  122. package/dist/components/file-explorer-header/FileExplorerHeaderSummary.cjs.js +1 -1
  123. package/dist/components/file-explorer-header/FileExplorerHeaderSummary.esm.js +5 -5
  124. package/dist/components/file-explorer-header.js +1 -1
  125. package/dist/components/guard.js +1 -1
  126. package/dist/components/login-button/LoginButton.cjs.js +1 -1
  127. package/dist/components/login-button/LoginButton.esm.js +1 -1
  128. package/dist/components/login-button.js +1 -1
  129. package/dist/components/login-modal/LoginModal.cjs.js +1 -1
  130. package/dist/components/login-modal/LoginModal.esm.js +2 -2
  131. package/dist/components/login-modal.js +1 -1
  132. package/dist/components/logout-button/LogoutButton.cjs.js +1 -1
  133. package/dist/components/logout-button/LogoutButton.esm.js +1 -1
  134. package/dist/components/logout-button.js +1 -1
  135. package/dist/components/menu/Menu.cjs.js +1 -1
  136. package/dist/components/menu/Menu.cjs.js.map +1 -1
  137. package/dist/components/menu/Menu.esm.js +1 -1
  138. package/dist/components/menu/Menu.esm.js.map +1 -1
  139. package/dist/components/menu.js +1 -1
  140. package/dist/components/provider.js +1 -1
  141. package/dist/components/rdf-form/RDFForm.cjs.js +3 -3
  142. package/dist/components/rdf-form/RDFForm.cjs.js.map +1 -1
  143. package/dist/components/rdf-form/RDFForm.esm.js +13 -13
  144. package/dist/components/rdf-form/RDFForm.esm.js.map +1 -1
  145. package/dist/components/rdf-form.js +1 -1
  146. package/dist/components/rdf-input/RDFInput.cjs.js +2 -2
  147. package/dist/components/rdf-input/RDFInput.cjs.js.map +1 -1
  148. package/dist/components/rdf-input/RDFInput.esm.js +4 -4
  149. package/dist/components/rdf-input/RDFInput.esm.js.map +1 -1
  150. package/dist/components/rdf-input.js +1 -1
  151. package/dist/components/resource-actions-menu/ResourceActionsMenu.cjs.js +9 -3
  152. package/dist/components/resource-actions-menu/ResourceActionsMenu.cjs.js.map +1 -1
  153. package/dist/components/resource-actions-menu/ResourceActionsMenu.d.ts +1 -0
  154. package/dist/components/resource-actions-menu/ResourceActionsMenu.d.ts.map +1 -1
  155. package/dist/components/resource-actions-menu/ResourceActionsMenu.esm.js +18 -9
  156. package/dist/components/resource-actions-menu/ResourceActionsMenu.esm.js.map +1 -1
  157. package/dist/components/resource-actions-menu.js +1 -1
  158. package/dist/components/select/Select.cjs.js +1 -1
  159. package/dist/components/select/Select.cjs.js.map +1 -1
  160. package/dist/components/select/Select.esm.js +1 -1
  161. package/dist/components/signup-button/SignupButton.cjs.js +1 -1
  162. package/dist/components/signup-button/SignupButton.esm.js +1 -1
  163. package/dist/components/signup-button.js +1 -1
  164. package/dist/components.js +21 -21
  165. package/dist/create/create.cjs.js +1 -1
  166. package/dist/create/create.cjs.js.map +1 -1
  167. package/dist/create/create.esm.js +23 -23
  168. package/dist/header/index.cjs.js +1 -1
  169. package/dist/header/index.cjs.js.map +1 -1
  170. package/dist/header/index.esm.js +53 -53
  171. package/dist/index.cjs.js +1 -1
  172. package/dist/index.cjs.js.map +1 -1
  173. package/dist/index.esm.js +23 -22
  174. package/dist/index.esm.js.map +1 -1
  175. package/dist/index.js +11 -11
  176. package/dist/lib/auth/SolidAuth.cjs.js +1 -1
  177. package/dist/lib/auth/SolidAuth.cjs.js.map +1 -1
  178. package/dist/lib/auth/SolidAuth.esm.js +8 -8
  179. package/dist/lib/auth/SolidAuth.esm.js.map +1 -1
  180. package/dist/lib/code-editor/CodeEditor.cjs.js +1 -1
  181. package/dist/lib/code-editor/CodeEditor.cjs.js.map +1 -1
  182. package/dist/lib/code-editor/CodeEditor.d.ts.map +1 -1
  183. package/dist/lib/code-editor/CodeEditor.esm.js +34 -30
  184. package/dist/lib/code-editor/CodeEditor.esm.js.map +1 -1
  185. package/dist/lib/components/dialog-component/DialogComponent.cjs.js +1 -1
  186. package/dist/lib/components/dialog-component/DialogComponent.cjs.js.map +1 -1
  187. package/dist/lib/components/dialog-component/DialogComponent.esm.js +4 -4
  188. package/dist/lib/components/index.cjs.js +1 -1
  189. package/dist/lib/components/index.esm.js +3 -3
  190. package/dist/lib/dialogs/helpers.cjs.js +1 -1
  191. package/dist/lib/dialogs/helpers.cjs.js.map +1 -1
  192. package/dist/lib/dialogs/helpers.esm.js +4 -4
  193. package/dist/lib/file-explorer/index.cjs.js +1 -1
  194. package/dist/lib/file-explorer/index.d.ts +1 -0
  195. package/dist/lib/file-explorer/index.d.ts.map +1 -1
  196. package/dist/lib/file-explorer/index.esm.js +2 -1
  197. package/dist/lib/file-explorer/pane-menu-items.cjs.js +2 -0
  198. package/dist/lib/file-explorer/pane-menu-items.cjs.js.map +1 -0
  199. package/dist/lib/file-explorer/pane-menu-items.d.ts +22 -0
  200. package/dist/lib/file-explorer/pane-menu-items.d.ts.map +1 -0
  201. package/dist/lib/file-explorer/pane-menu-items.esm.js +20 -0
  202. package/dist/lib/file-explorer/pane-menu-items.esm.js.map +1 -0
  203. package/dist/lib/file-explorer/relevant-panes.cjs.js +1 -1
  204. package/dist/lib/file-explorer/relevant-panes.cjs.js.map +1 -1
  205. package/dist/lib/file-explorer/relevant-panes.esm.js +8 -8
  206. package/dist/lib/messageArea.cjs.js +1 -1
  207. package/dist/lib/messageArea.cjs.js.map +1 -1
  208. package/dist/lib/messageArea.esm.js +27 -27
  209. package/dist/lib/pad.cjs.js +1 -1
  210. package/dist/lib/pad.cjs.js.map +1 -1
  211. package/dist/lib/pad.esm.js +15 -15
  212. package/dist/lib/participation.cjs.js +1 -1
  213. package/dist/lib/participation.cjs.js.map +1 -1
  214. package/dist/lib/participation.esm.js +59 -59
  215. package/dist/lib/preferences.cjs.js +1 -1
  216. package/dist/lib/preferences.cjs.js.map +1 -1
  217. package/dist/lib/preferences.esm.js +28 -28
  218. package/dist/lib/table.cjs.js +3 -3
  219. package/dist/lib/table.cjs.js.map +1 -1
  220. package/dist/lib/table.esm.js +123 -123
  221. package/dist/lib/table.esm.js.map +1 -1
  222. package/dist/lib/tabs.cjs.js +1 -1
  223. package/dist/lib/tabs.cjs.js.map +1 -1
  224. package/dist/lib/tabs.esm.js +16 -16
  225. package/dist/loader.js +11 -11
  226. package/dist/login/login.cjs.js +6 -6
  227. package/dist/login/login.cjs.js.map +1 -1
  228. package/dist/login/login.esm.js +142 -142
  229. package/dist/media/media-capture.cjs.js +1 -1
  230. package/dist/media/media-capture.cjs.js.map +1 -1
  231. package/dist/media/media-capture.esm.js +6 -6
  232. package/dist/solid-ui.js +34 -28
  233. package/dist/solid-ui.min.js +34 -28
  234. package/dist/solid-ui.min.js.map +1 -1
  235. package/dist/utils/index.cjs.js +1 -1
  236. package/dist/utils/index.cjs.js.map +1 -1
  237. package/dist/utils/index.esm.js +4 -4
  238. package/dist/utils/keyHelpers/accessData.cjs.js +1 -1
  239. package/dist/utils/keyHelpers/accessData.cjs.js.map +1 -1
  240. package/dist/utils/keyHelpers/accessData.esm.js +15 -15
  241. package/dist/utils/label.cjs.js +1 -1
  242. package/dist/utils/label.cjs.js.map +1 -1
  243. package/dist/utils/label.esm.js +4 -4
  244. package/dist/widgets/buttons.cjs.js +12 -12
  245. package/dist/widgets/buttons.cjs.js.map +1 -1
  246. package/dist/widgets/buttons.esm.js +179 -179
  247. package/dist/widgets/error.cjs.js +1 -1
  248. package/dist/widgets/error.cjs.js.map +1 -1
  249. package/dist/widgets/error.esm.js +5 -5
  250. package/dist/widgets/forms/autocomplete/autocompleteBar.cjs.js +1 -1
  251. package/dist/widgets/forms/autocomplete/autocompleteBar.cjs.js.map +1 -1
  252. package/dist/widgets/forms/autocomplete/autocompleteBar.esm.js +17 -17
  253. package/dist/widgets/forms/autocomplete/autocompleteField.cjs.js +1 -1
  254. package/dist/widgets/forms/autocomplete/autocompleteField.cjs.js.map +1 -1
  255. package/dist/widgets/forms/autocomplete/autocompleteField.esm.js +23 -23
  256. package/dist/widgets/forms/autocomplete/autocompletePicker.cjs.js +1 -1
  257. package/dist/widgets/forms/autocomplete/autocompletePicker.cjs.js.map +1 -1
  258. package/dist/widgets/forms/autocomplete/autocompletePicker.esm.js +26 -26
  259. package/dist/widgets/forms/autocomplete/language.cjs.js +1 -1
  260. package/dist/widgets/forms/autocomplete/language.cjs.js.map +1 -1
  261. package/dist/widgets/forms/autocomplete/language.esm.js +9 -9
  262. package/dist/widgets/forms/autocomplete/publicData.cjs.js +5 -5
  263. package/dist/widgets/forms/autocomplete/publicData.cjs.js.map +1 -1
  264. package/dist/widgets/forms/autocomplete/publicData.esm.js +67 -67
  265. package/dist/widgets/forms/basic.cjs.js +1 -1
  266. package/dist/widgets/forms/basic.cjs.js.map +1 -1
  267. package/dist/widgets/forms/basic.esm.js +11 -11
  268. package/dist/widgets/forms.cjs.js +4 -4
  269. package/dist/widgets/forms.cjs.js.map +1 -1
  270. package/dist/widgets/forms.esm.js +561 -561
  271. package/dist/widgets/forms.esm.js.map +1 -1
  272. package/dist/widgets/index.cjs.js +1 -1
  273. package/dist/widgets/index.cjs.js.map +1 -1
  274. package/dist/widgets/index.esm.js +82 -82
  275. package/dist/widgets/peoplePicker.cjs.js +2 -2
  276. package/dist/widgets/peoplePicker.cjs.js.map +1 -1
  277. package/dist/widgets/peoplePicker.esm.js +82 -82
  278. package/package.json +3 -3
  279. package/dist/chunks/ResourceActionsMenu-Bllpr4M5.js.map +0 -1
  280. package/dist/chunks/solidLogicSingleton.esm-BXyHD7mn.js.map +0 -1
  281. package/dist/chunks/src-DQgHAH3d.js.map +0 -1
  282. package/dist/chunks/widgets-BBEQu0CS.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"file-explorer-header-D0TebSYR.js","names":["sym","customElement","WebComponent","utils","widgets","DEFAULT_FILE_EXPLORER_CONTEXT","fileExplorerContext","property","query","state","html","consume","styles","getContainerItemCount","isContainerSubject","_classDecs","_FileExplorerHeaderSu","_FileExplorerHeaderSu2","_A","WeakMap","_B","_C","_D","_E","_F","_ref","_fileExplorerContextDecs","context","subscribe","_paneIconDecs","attribute","_onBackClickDecs","_responseMetadataDecs","_resolvedPaneIconDecs","_titleHeadingDecs","_FileExplorerHeaderSummary","FileExplorerHeaderSummary","constructor","args","_defineProperty","_initProto","_classPrivateFieldInitSpec","_init_fileExplorerContext","_init_paneIcon","_init_onBackClick","_init_responseMetadata","modified","undefined","isPublic","_init_resolvedPaneIcon","_init_titleHeading","_classPrivateFieldGet","v","_classPrivateFieldSet","paneIcon","onBackClick","responseMetadata","resolvedPaneIcon","titleHeading","formatModifiedDate","date","Date","Number","isNaN","getTime","parts","Intl","DateTimeFormat","day","month","year","hour","minute","hour12","formatToParts","getPart","type","find","part","value","dayPeriod","toUpperCase","willUpdate","changedProperties","has","generation","_paneIconGeneration","resolvePaneIcon","updated","subjectUri","_draggableSubjectUri","makeDraggable","icon","error","console","warn","renderContainerResourceHeader","label","itemCount","store","renderResourceHeader","render","subject","isContainerResource","e","c","_initClass","_applyDecs","_Class","_identity","default","_Class","_A","_B","_C","_D","_E","_initProto","_initClass","_classDecs","_fileExplorerContextDecs","_init_fileExplorerContext","_paneIconDecs","_init_paneIcon","_responseMetadataDecs","_init_responseMetadata","_ref","_classPrivateFieldInitSpec","_checkPrivateRedeclaration","_classPrivateFieldSet","_assertClassBrand","_classPrivateFieldGet","_defineProperty","_toPropertyKey","_applyDecs","_setFunctionName","_checkInRHS","_toPrimitive","_identity","consume","property","state","query","sym","label","utils.label","styles","customElement","WebComponent","property","state","consume","html","nothing","styles","DEFAULT_FILE_EXPLORER_CONTEXT","fileExplorerContext","FILE_EXPLORER_MANAGE_ACCESS_EVENT","isContainerSubject","_classDecs","_FileExplorerHeaderCo","_FileExplorerHeaderCo2","_A","WeakMap","_B","_C","_D","_E","_ref","_fileExplorerContextDecs","context","subscribe","_menuItemsDecs","attribute","_canEditDecs","type","Boolean","_canManageAccessDecs","_isMobileDecs","_FileExplorerHeaderControls","FileExplorerHeaderControls","constructor","args","_defineProperty","_initProto","event","isMobile","matches","_classPrivateFieldInitSpec","_init_fileExplorerContext","_init_menuItems","_init_canEdit","_init_canManageAccess","_init_isMobile","window","matchMedia","subjectUri","dispatchEvent","CustomEvent","bubbles","composed","detail","_classPrivateFieldGet","v","_classPrivateFieldSet","menuItems","canEdit","canManageAccess","connectedCallback","mobileMediaQuery","mobileQuery","addEventListener","handleMobileMediaChange","disconnectedCallback","removeEventListener","undefined","getEditTooltip","renderDirtyIndicator","isDirty","render","isContainerResource","store","supportsEditing","handleManageAccess","beginEditing","e","c","_initClass","_applyDecs","_Class","_identity","default","_Class","_A","_B","_C","_D","_initProto","_initClass","_classDecs","_fileExplorerContextDecs","_init_fileExplorerContext","_menuItemsDecs","_init_menuItems","_ref","_classPrivateFieldInitSpec","_checkPrivateRedeclaration","_classPrivateFieldSet","_assertClassBrand","_classPrivateFieldGet","_defineProperty","_toPropertyKey","_applyDecs","_setFunctionName","_checkInRHS","_toPrimitive","_identity","consume","property","state","nothing","styles","sym","solidLogicSingleton","customElement","WebComponent","DEFAULT_FILE_EXPLORER_CONTEXT","fileExplorerContext","FILE_EXPLORER_BACK_EVENT","property","state","consume","html","styles","_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","_init_menuItems","_init_paneIcon","undefined","_init_responseMetadata","modified","isPublic","canEdit","canManageAccess","aclUri","dispatchEvent","CustomEvent","bubbles","composed","detail","subjectUri","_classPrivateFieldGet","v","_classPrivateFieldSet","menuItems","paneIcon","responseMetadata","getDefaultResponseMetadata","willUpdate","store","_loadedMetadataForUri","generation","_metadataGeneration","loadResponseMetadata","metadata","resource","fetchMetadata","access","error","console","warn","render","handleBack","e","c","_initClass","_applyDecs","_Class","_identity","default","consume","property","state","solidLogicSingleton","sym","styles","FileExplorerHeader","FileExplorerHeader","namedNode","label","makeDraggable","c$1","A","customElement","n","WebComponent","i","b","e","fileExplorerContext","DEFAULT_FILE_EXPLORER_CONTEXT","FILE_EXPLORER_MANAGE_ACCESS_EVENT","FILE_EXPLORER_BACK_EVENT","getContainerItemCount","isContainerSubject","iconlucideshare2","FileExplorerHeader_styles_default","iconlucidelockkeyhole","iconlucidearrowleft","FileExplorerHeaderSummary_styles_default","_Class$2","_FileExplorerHeaderSummary","_A$2","_B$2","_C$2","_D$2","_E$1","_F","_initProto$2","_initClass$2","_classDecs$2","_fileExplorerContextDecs$2","_init_fileExplorerContext$2","_paneIconDecs$1","_init_paneIcon$1","_onBackClickDecs","_init_onBackClick","_responseMetadataDecs$1","_init_responseMetadata$1","_resolvedPaneIconDecs","_init_resolvedPaneIcon","_titleHeadingDecs","_init_titleHeading","_FileExplorerHeaderSu2","_ref$2","_classPrivateFieldInitSpec$2","a","_checkPrivateRedeclaration$2","_classPrivateFieldSet$2","s","_assertClassBrand$2","r","_classPrivateFieldGet$2","_defineProperty$2","_toPropertyKey$2","t","_applyDecs$2","o","c","applyDec","m","h","y","v","g","u","w","S","d","p","_setFunctionName$2","P","j","D","I","F","l","f","N","_checkInRHS$2","_toPrimitive$2","_identity$2","_FileExplorerHeaderSu","args","modified","date","parts","getPart","part","type","changedProperties","generation","paneIcon","icon","error","itemCount","isPublic","subject","label$1","isContainerResource","FileExplorerHeaderControls_styles_default","_Class$1","_FileExplorerHeaderControls","_A$1","_B$1","_C$1","_D$1","_E","_initProto$1","_initClass$1","_classDecs$1","_fileExplorerContextDecs$1","_init_fileExplorerContext$1","_menuItemsDecs$1","_init_menuItems$1","_canEditDecs","_init_canEdit","_canManageAccessDecs","_init_canManageAccess","_isMobileDecs","_init_isMobile","_FileExplorerHeaderCo2","_ref$1","_classPrivateFieldInitSpec$1","_checkPrivateRedeclaration$1","_classPrivateFieldSet$1","_assertClassBrand$1","_classPrivateFieldGet$1","_defineProperty$1","_toPropertyKey$1","_applyDecs$1","_setFunctionName$1","_checkInRHS$1","_toPrimitive$1","_identity$1","_FileExplorerHeaderCo","event","subjectUri","supportsEditing","_Class","_FileExplorerHeader3","_A","_B","_C","_D","_initProto","_initClass","_classDecs","_fileExplorerContextDecs","_init_fileExplorerContext","_menuItemsDecs","_init_menuItems","_paneIconDecs","_init_paneIcon","_responseMetadataDecs","_init_responseMetadata","_FileExplorerHeader2","_ref","_classPrivateFieldInitSpec","_checkPrivateRedeclaration","_classPrivateFieldSet","_assertClassBrand","_classPrivateFieldGet","_defineProperty","_toPropertyKey","_applyDecs","_setFunctionName","_checkInRHS","_toPrimitive","_identity","_FileExplorerHeader","metadata","file_explorer_header_default"],"sources":["../../src/components/file-explorer-header/FileExplorerHeader.styles.css","../../src/components/file-explorer-header/FileExplorerHeaderSummary.styles.css","../../src/components/file-explorer-header/FileExplorerHeaderSummary.ts","../../src/components/file-explorer-header/FileExplorerHeaderControls.styles.css","../../src/components/file-explorer-header/FileExplorerHeaderControls.ts","../../src/components/file-explorer-header/FileExplorerHeader.ts","../../src/components/file-explorer-header/index.ts"],"sourcesContent":[":host {\n header {\n display: flex;\n justify-content: space-between;\n align-items: center;\n gap: 6px;\n flex-wrap: nowrap;\n box-sizing: border-box;\n width: 100%;\n text-align: right;\n padding: 10px;\n border-bottom: 1px solid var(--solid-ui-color-gray-200, #cbd5e1);\n }\n}\n"," :host {\n .file-explorer-header-summary {\n display: flex;\n justify-content: flex-start;\n align-items: center;\n gap: 6px;\n flex-wrap: wrap;\n flex: 1 1 auto;\n min-width: 0;\n text-align: left;\n }\n\n h1 {\n color: var(--solid-ui-color-gray-700, #364153);\n font-size: var(--solid-ui-font-size-xl, 1.25rem); /* while in expand; will go to 2xl when new design is complete */\n font-weight: 500;\n display: flex;\n align-items: center;\n gap: 8px;\n margin: 0;\n }\n\n .resource-info {\n display: flex;\n flex-direction: column;\n min-width: 0;\n }\n\n .container-info {\n display: flex;\n flex-direction: row;\n gap: 10px;\n min-width: 0;\n }\n\n .pane-icon {\n display: flex;\n width: 40px;\n height: 40px;\n padding: 7.5px 7px 6.5px 7px;\n justify-content: center;\n align-items: center;\n aspect-ratio: 1/1;\n /* border-radius: 100px; */\n /* background: var(--slate-600, #45556C); */\n }\n\n .pane-icon img {\n width: 100%;\n height: 100%;\n object-fit: contain;\n display: block;\n }\n\n p {\n display: flex;\n align-items: center;\n gap: 5px;\n color: var(--solid-ui-gray-500, #6A7282);\n font-size: var(--solid-ui-font-size-xs, .75rem);\n font-weight: 500;\n }\n\n .public {\n display: flex;\n padding: 2px 5px;\n justify-content: center;\n align-items: center;\n gap: 3px;\n color: var(--blue-400, #51A2FF);\n border-radius: 5px;\n background: var(--blue-50, #EFF6FF);\n }\n\n icon-lucide-globe {\n stroke-width: 1.021px;\n stroke: var(--blue-400, #51A2FF);\n }\n\n .private {\n display: flex;\n padding: 2px 5px;\n justify-content: center;\n align-items: center;\n gap: 3px;\n color: var(--yellow-600, #D08700);\n border-radius: 5px;\n background: var(--yellow-100, #FEF9C2);\n }\n\n icon-lucide-lock-keyhole {\n stroke-width: 1.021px;\n stroke: var(--yellow-600, #D08700);\n }\n\n icon-lucide-globe,\n icon-lucide-lock-keyhole {\n width: 0.875rem;\n height: 0.875rem;\n }\n\n .resource-date {\n font-size: inherit;\n }\n\n icon-lucide-arrow-left {\n width: 1.125rem;\n height: 1.125rem;\n }\n\n @media (max-width: 600px) {\n .file-explorer-header-summary {\n gap: 7px;\n }\n\n h1 {\n font-size: 14px;\n }\n\n .pane-icon {\n width: 18.2px;\n height: 18.2px;\n flex-shrink: 0;\n aspect-ratio: 1 / 1;\n padding: 0;\n }\n\n p {\n font-size: 14px;\n }\n\n .resource-date {\n font-size: 10px;\n }\n\n .public,\n .private {\n font-size: 9px;\n }\n\n icon-lucide-arrow-left {\n width: 15px;\n height: 18px;\n flex-shrink: 0;\n aspect-ratio: 5 / 6;\n }\n }\n}\n","import { sym } from 'rdflib'\nimport { customElement, WebComponent } from '@/lib/components'\nimport * as utils from '@/utils'\nimport * as widgets from '@/widgets/index'\nimport { DEFAULT_FILE_EXPLORER_CONTEXT, fileExplorerContext } from '@/lib/file-explorer/context'\nimport '@/components/button'\nimport { property, query, state } from 'lit/decorators.js'\nimport type { PropertyValues } from 'lit'\nimport { html } from 'lit'\nimport { consume } from '@lit/context'\nimport { PaneIcon } from './types'\nimport '~icons/lucide/globe'\nimport '~icons/lucide/lock-keyhole'\nimport '~icons/lucide/arrow-left'\nimport '~icons/lucide/folder'\nimport styles from './FileExplorerHeaderSummary.styles.css'\nimport { getContainerItemCount, isContainerSubject } from '@/utils/podUtils'\nimport type { FileExplorerResourceMetadata } from './types'\n\n@customElement('solid-ui-file-explorer-header-summary')\nexport default class FileExplorerHeaderSummary extends WebComponent {\n static styles = styles\n\n private _draggableSubjectUri: string | undefined\n private _paneIconGeneration = 0\n\n @consume({ context: fileExplorerContext, subscribe: true })\n accessor fileExplorerContext = DEFAULT_FILE_EXPLORER_CONTEXT\n\n @property({ attribute: false })\n accessor paneIcon: PaneIcon | undefined\n\n @property({ attribute: false })\n accessor onBackClick: (() => void) | undefined\n\n @property({ attribute: false })\n accessor responseMetadata: Pick<FileExplorerResourceMetadata, 'modified' | 'isPublic'> = {\n modified: undefined,\n isPublic: false\n }\n\n @state()\n accessor resolvedPaneIcon: string | undefined = undefined\n\n @query('h1')\n private accessor titleHeading: HTMLHeadingElement | null = null\n\n private formatModifiedDate (modified: string | undefined) {\n if (!modified) return ''\n\n const date = new Date(modified)\n if (Number.isNaN(date.getTime())) return modified\n\n const parts = new Intl.DateTimeFormat('en-GB', {\n day: '2-digit',\n month: 'short',\n year: 'numeric',\n hour: '2-digit',\n minute: '2-digit',\n hour12: true\n }).formatToParts(date)\n\n const getPart = (type: Intl.DateTimeFormatPartTypes) => parts.find(part => part.type === type)?.value ?? ''\n const day = getPart('day')\n const month = getPart('month')\n const year = getPart('year')\n const hour = getPart('hour')\n const minute = getPart('minute')\n const dayPeriod = getPart('dayPeriod').toUpperCase()\n\n return `${day} ${month}, ${year} at ${hour}:${minute} ${dayPeriod}`\n }\n\n protected willUpdate (changedProperties: PropertyValues<this>) {\n if (changedProperties.has('paneIcon')) {\n const generation = ++this._paneIconGeneration\n this.resolvedPaneIcon = undefined\n this.resolvePaneIcon(this.paneIcon, generation)\n }\n }\n\n protected updated () {\n if (!this.titleHeading || !this.fileExplorerContext?.subjectUri || this._draggableSubjectUri === this.fileExplorerContext.subjectUri) return\n\n widgets.makeDraggable(this.titleHeading, sym(this.fileExplorerContext.subjectUri)) // doing it this way for now, just to keep the same functionality\n this._draggableSubjectUri = this.fileExplorerContext.subjectUri\n }\n\n // Needed because humanReadable pane can return a promise for an icon.\n private async resolvePaneIcon (paneIcon: PaneIcon | undefined, generation: number) {\n try {\n if (paneIcon == null) return\n\n const icon = await paneIcon\n if (generation === this._paneIconGeneration) {\n this.resolvedPaneIcon = icon ?? undefined\n }\n } catch (error) {\n if (generation === this._paneIconGeneration) {\n this.resolvedPaneIcon = undefined\n console.warn('file-explorer-header-summary: failed to resolve pane icon', error)\n }\n }\n }\n\n private renderContainerResourceHeader (label: string, isPublic: boolean) {\n const itemCount = getContainerItemCount(this.fileExplorerContext?.store, this.fileExplorerContext?.subjectUri) ?? 0\n return html`\n <div class=\"container-info\">\n <h1>\n <span>${label}</span>\n </h1>\n <p>\n ${itemCount} items\n ${isPublic\n ? html`<span class=\"public\"><icon-lucide-globe aria-hidden=\"true\"></icon-lucide-globe><span class=\"sr-only\">Public</span></span>`\n : html`<span class=\"private\"><icon-lucide-lock-keyhole aria-hidden=\"true\"></icon-lucide-lock-keyhole><span class=\"sr-only\">Private</span></span>`}\n </p>\n </div>\n `\n }\n\n private renderResourceHeader (label: string, isPublic: boolean) {\n const modified = this.formatModifiedDate(this.responseMetadata.modified)\n\n return html`\n <div class=\"resource-info\">\n <h1>\n <span>${label}</span>\n </h1>\n <p><span class=\"resource-date\">${modified}</span> ${isPublic ? html`<span class=\"public\"><icon-lucide-globe></icon-lucide-globe> Public</span>` : html`<span class=\"private\"><icon-lucide-lock-keyhole></icon-lucide-lock-keyhole> Private</span>`}</p>\n </div>\n `\n }\n\n render () {\n const subject = this.fileExplorerContext?.subjectUri ? sym(this.fileExplorerContext.subjectUri) : undefined\n const label = subject ? utils.label(subject) : ''\n const isPublic = this.responseMetadata.isPublic\n const isContainerResource = isContainerSubject(this.fileExplorerContext?.store, this.fileExplorerContext?.subjectUri)\n\n return html`\n <div class=\"file-explorer-header-summary\">\n <solid-ui-button\n variant=\"ghost\"\n @click=${this.onBackClick}\n title=\"Back\"\n >\n <icon-lucide-arrow-left></icon-lucide-arrow-left>\n <span class=\"sr-only\">Back</span>\n </solid-ui-button>\n <span class=\"pane-icon\">\n ${this.resolvedPaneIcon ? html`<img src=${this.resolvedPaneIcon} alt=\"\" />` : ''}\n </span>\n ${isContainerResource ? this.renderContainerResourceHeader(label, isPublic) : this.renderResourceHeader(label, isPublic)}\n </div>\n </div>\n `\n }\n}\n",":host {\n flex: 0 1 auto;\n min-width: 0;\n\n div {\n display: flex;\n justify-content: flex-end;\n align-items: center;\n gap: 6px;\n flex: 0 0 auto;\n text-align: right;\n }\n\n /* generative ai */\n div > * {\n flex: 0 1 auto;\n }\n\n .file-explorer-header-action-button {\n width: var(--solid-ui-clickable-area, 42px);\n height: var(--solid-ui-clickable-area, 42px);\n padding: 0;\n }\n\n /* TODO: look into what colors to use this is just to show */\n .dirtyIndicator {\n display: inline-flex;\n align-items: center;\n border: 1px solid #F59E0B;\n color: #92400E;\n background: #FFFBEB;\n border-radius: 999px;\n font-size: 0.72rem;\n font-weight: 600;\n line-height: 1;\n padding: 4px 8px;\n white-space: nowrap;\n }\n\n icon-lucide-user-round-cog,\n icon-lucide-pencil {\n width: 16px;\n height: 16px;\n }\n\n @media (max-width: 900px) {\n div {\n padding-right: 3px;\n }\n }\n\n @media (max-width: 600px) {\n div {\n justify-content: flex-start;\n gap: 5px;\n }\n\n .file-explorer-header-action-button {\n display: none;\n }\n\n icon-lucide-ellipsis-vertical {\n width: 15.36px;\n height: 15.36px;\n flex-shrink: 0;\n aspect-ratio: 1 / 1;\n }\n }\n}\n","import { customElement, WebComponent } from '@/lib/components'\nimport { property, state } from 'lit/decorators.js'\nimport { consume } from '@lit/context'\nimport { html, nothing } from 'lit'\nimport '@/components/button'\nimport '~icons/lucide/user-round-cog'\nimport '~icons/lucide/pencil'\nimport styles from './FileExplorerHeaderControls.styles.css'\nimport '@/components/resource-actions-menu/ResourceActionsMenu'\nimport { DEFAULT_FILE_EXPLORER_CONTEXT, fileExplorerContext } from '@/lib/file-explorer/context'\nimport { FILE_EXPLORER_MANAGE_ACCESS_EVENT } from '@/lib/file-explorer/events'\nimport { isContainerSubject } from '@/utils/podUtils'\n\n@customElement('solid-ui-file-explorer-header-controls')\nexport default class FileExplorerHeaderControls extends WebComponent {\n static styles = styles\n\n private mobileMediaQuery: MediaQueryList | undefined\n private readonly mobileQuery = '(max-width: 600px)'\n private readonly handleMobileMediaChange = (event: MediaQueryListEvent) => {\n this.isMobile = event.matches\n }\n\n @consume({ context: fileExplorerContext, subscribe: true })\n accessor fileExplorerContext = DEFAULT_FILE_EXPLORER_CONTEXT\n\n @property({ attribute: false })\n accessor menuItems: Array<{ label: string, action: (event: Event) => void, icon?: HTMLElement }> = []\n\n @property({ type: Boolean })\n accessor canEdit: boolean = false\n\n @property({ type: Boolean })\n accessor canManageAccess = false\n\n @state()\n accessor isMobile = typeof window !== 'undefined' && typeof window.matchMedia === 'function'\n ? window.matchMedia('(max-width: 600px)').matches\n : false\n\n connectedCallback () {\n super.connectedCallback()\n\n if (typeof window === 'undefined' || typeof window.matchMedia !== 'function') {\n return\n }\n\n this.mobileMediaQuery = window.matchMedia(this.mobileQuery)\n this.isMobile = this.mobileMediaQuery.matches\n this.mobileMediaQuery.addEventListener('change', this.handleMobileMediaChange)\n }\n\n disconnectedCallback () {\n this.mobileMediaQuery?.removeEventListener('change', this.handleMobileMediaChange)\n this.mobileMediaQuery = undefined\n super.disconnectedCallback()\n }\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 getEditTooltip () {\n if (!this.canEdit) return 'No Access'\n return 'Edit'\n }\n\n private handleManageAccess = () => {\n const subjectUri = this.fileExplorerContext.subjectUri\n if (!subjectUri) return\n\n this.dispatchEvent(new CustomEvent(FILE_EXPLORER_MANAGE_ACCESS_EVENT, {\n bubbles: true,\n composed: true,\n detail: { subjectUri }\n }))\n }\n\n private renderDirtyIndicator () {\n if (!this.fileExplorerContext.isDirty) return nothing\n\n return html`<span class=\"dirtyIndicator\" title=\"This file has unsaved changes\">Unsaved</span>`\n }\n\n render () {\n const isContainerResource = isContainerSubject(this.fileExplorerContext.store, this.fileExplorerContext.subjectUri)\n const supportsEditing = this.fileExplorerContext.canEdit\n\n return html`\n <div>\n ${this.renderDirtyIndicator()}\n ${!isContainerResource && !this.isMobile && this.canManageAccess\n ? html`\n <solid-ui-button class=\"file-explorer-header-action-button\" variant=\"ghost\" title=\"Manage Access\" @click=${this.handleManageAccess}>\n <icon-lucide-user-round-cog slot=\"icon\"></icon-lucide-user-round-cog>\n <span class=\"sr-only\">Manage access</span>\n </solid-ui-button>\n ${supportsEditing\n ? html`\n <solid-ui-button\n class=\"file-explorer-header-action-button\"\n variant=\"ghost\"\n title=${this.getEditTooltip()}\n ?disabled=${!this.canEdit}\n @click=${this.fileExplorerContext.beginEditing}\n >\n <icon-lucide-pencil slot=\"icon\"></icon-lucide-pencil>\n <span class=\"sr-only\">Edit</span>\n </solid-ui-button>\n `\n : nothing}\n `\n : nothing}\n <solid-ui-resource-actions-menu\n .store=${this.fileExplorerContext.store}\n .handleAccessClick=${this.handleManageAccess}\n .handleEditingClick=${this.fileExplorerContext.beginEditing}\n .paneSupportsEditing=${this.fileExplorerContext.canEdit}\n .canEdit=${this.canEdit}\n .canManageAccess=${this.canManageAccess}\n .subjectUri=${this.fileExplorerContext.subjectUri}\n .menuItems=${this.menuItems}\n .isMobile=${this.isMobile}\n ></solid-ui-resource-actions-menu>\n </div>\n `\n }\n}\n","import { sym } from 'rdflib'\nimport { solidLogicSingleton } from 'solid-logic'\nimport { customElement, WebComponent } from '@/lib/components'\nimport { DEFAULT_FILE_EXPLORER_CONTEXT, fileExplorerContext } from '@/lib/file-explorer/context'\nimport { FILE_EXPLORER_BACK_EVENT } from '@/lib/file-explorer/events'\nimport { 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 { type FileExplorerResourceMetadata } from './types'\n\n@customElement('solid-ui-file-explorer-header')\nexport default class FileExplorerHeader extends WebComponent {\n static styles = styles\n\n private _loadedMetadataForUri: string | undefined\n private _metadataGeneration = 0\n\n @consume({ context: fileExplorerContext, subscribe: true })\n accessor fileExplorerContext = DEFAULT_FILE_EXPLORER_CONTEXT\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' | 'canManageAccess' | 'aclUri'> = {\n modified: undefined,\n isPublic: false,\n canEdit: false,\n canManageAccess: false,\n aclUri: undefined\n }\n\n private handleBack = () => {\n this.dispatchEvent(new CustomEvent(FILE_EXPLORER_BACK_EVENT, {\n bubbles: true,\n composed: true,\n detail: {\n subjectUri: this.fileExplorerContext.subjectUri\n }\n }))\n }\n\n private getDefaultResponseMetadata (): Pick<FileExplorerResourceMetadata, 'modified' | 'isPublic' | 'canEdit' | 'canManageAccess' | 'aclUri'> {\n return {\n modified: undefined,\n isPublic: false,\n canEdit: false,\n canManageAccess: false,\n aclUri: undefined\n }\n }\n\n protected willUpdate () {\n const subjectUri = this.fileExplorerContext?.subjectUri\n if (this.fileExplorerContext?.store && subjectUri && this._loadedMetadataForUri !== subjectUri) {\n this._loadedMetadataForUri = subjectUri\n const generation = ++this._metadataGeneration\n this.responseMetadata = this.getDefaultResponseMetadata()\n this.loadResponseMetadata(subjectUri, generation)\n }\n }\n\n private async loadResponseMetadata (subjectUri: string, generation: number) {\n try {\n const metadata = await solidLogicSingleton.resource.fetchMetadata(sym(subjectUri))\n if (generation === this._metadataGeneration && this.fileExplorerContext.subjectUri === subjectUri) {\n this.responseMetadata = {\n modified: metadata.modified,\n isPublic: metadata.access.isPublic,\n canEdit: metadata.access.canEdit,\n canManageAccess: metadata.access.canManageAccess,\n aclUri: metadata.aclUri\n }\n }\n } catch (error) {\n if (generation === this._metadataGeneration && this.fileExplorerContext.subjectUri === subjectUri) {\n this.responseMetadata = this.getDefaultResponseMetadata()\n console.warn('Failed to load response metadata', error)\n }\n }\n }\n\n render () {\n return html`\n <header>\n <solid-ui-file-explorer-header-summary\n .paneIcon=${this.paneIcon}\n .onBackClick=${this.handleBack}\n .responseMetadata=${this.responseMetadata}\n ></solid-ui-file-explorer-header-summary>\n <solid-ui-file-explorer-header-controls\n .menuItems=${this.menuItems}\n .canEdit=${this.responseMetadata.canEdit}\n .canManageAccess=${this.responseMetadata.canManageAccess}\n ></solid-ui-file-explorer-header-controls>\n </header>\n `\n }\n}\n","import FileExplorerHeader from './FileExplorerHeader'\n\nexport { FileExplorerHeader }\nexport default FileExplorerHeader\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AEgB4Ee,KAAA,CAG3Ed,EAAc,uCAAuC,CAAC;AAAA,IAAAe;AAAA,KAAAC,MAAAC,kBAAA,IAAAC,QAAA,GAAAC,kBAAA,IAAAD,QAAA,GAAAE,kBAAA,IAAAF,QAAA,GAAAG,kBAAA,IAAAH,QAAA,GAAAI,kBAAA,IAAAJ,QAAA,GAAAK,kBAAA,IAAAL,QAAA,GAAAM,MAAAC,KAOpDf,EAAQ;CAAEgB,SAASrB;CAAqBsB,WAAW;AAAK,CAAC,GAACC,KAG1DtB,EAAS,EAAEuB,WAAW,GAAM,CAAC,GAACC,KAG9BxB,EAAS,EAAEuB,WAAW,GAAM,CAAC,GAACE,KAG9BzB,EAAS,EAAEuB,WAAW,GAAM,CAAC,GAACG,KAM9BxB,EAAM,GAACyB,KAGP1B,EAAM,IAAI,GAAC,yBAAA2B,IAzBd,cACuDjC,EAAa;CAAAm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AA;CAAA;CAAA;EAAAC;EAAA;EAAA;CAAA;AAAA,GAAAf,IAAA,GAAA,KAAA,GA1F+CT,CAAY,GAAAyB,KAAAiD,KAAA,cAAAC,GAAA;CAAAhD,cAAA;EAAA,MAAAjB,CAAA,GAAAmB,EAAA,MAAA,UAC1CrB,CAAM,GAAAgE,GAAA;CAAA;AAAA,GAAA3C,EAAA6C,IAAA/D,IAAA,KAAA,CAAA,GAAA+D,IAAA;;AChBxB,IAAAyL,KAAehL"}
1
+ {"version":3,"file":"file-explorer-header-BJzo6xDU.js","names":["sym","customElement","WebComponent","utils","widgets","DEFAULT_FILE_EXPLORER_CONTEXT","fileExplorerContext","property","query","state","html","consume","styles","getContainerItemCount","isContainerSubject","_classDecs","_FileExplorerHeaderSu","_FileExplorerHeaderSu2","_A","WeakMap","_B","_C","_D","_E","_F","_ref","_fileExplorerContextDecs","context","subscribe","_paneIconDecs","attribute","_onBackClickDecs","_responseMetadataDecs","_resolvedPaneIconDecs","_titleHeadingDecs","_FileExplorerHeaderSummary","FileExplorerHeaderSummary","constructor","args","_defineProperty","_initProto","_classPrivateFieldInitSpec","_init_fileExplorerContext","_init_paneIcon","_init_onBackClick","_init_responseMetadata","modified","undefined","isPublic","_init_resolvedPaneIcon","_init_titleHeading","_classPrivateFieldGet","v","_classPrivateFieldSet","paneIcon","onBackClick","responseMetadata","resolvedPaneIcon","titleHeading","formatModifiedDate","date","Date","Number","isNaN","getTime","parts","Intl","DateTimeFormat","day","month","year","hour","minute","hour12","formatToParts","getPart","type","find","part","value","dayPeriod","toUpperCase","willUpdate","changedProperties","has","generation","_paneIconGeneration","resolvePaneIcon","updated","subjectUri","_draggableSubjectUri","makeDraggable","icon","error","console","warn","renderContainerResourceHeader","label","itemCount","store","renderResourceHeader","render","subject","isContainerResource","e","c","_initClass","_applyDecs","_Class","_identity","default","_Class","_A","_B","_C","_D","_E","_initProto","_initClass","_classDecs","_fileExplorerContextDecs","_init_fileExplorerContext","_paneIconDecs","_init_paneIcon","_responseMetadataDecs","_init_responseMetadata","_ref","_classPrivateFieldInitSpec","_checkPrivateRedeclaration","_classPrivateFieldSet","_assertClassBrand","_classPrivateFieldGet","_defineProperty","_toPropertyKey","_applyDecs","_setFunctionName","_checkInRHS","_toPrimitive","_identity","consume","property","state","query","sym","label","utils.label","styles","customElement","WebComponent","property","state","consume","html","nothing","styles","DEFAULT_FILE_EXPLORER_CONTEXT","fileExplorerContext","FILE_EXPLORER_MANAGE_ACCESS_EVENT","isContainerSubject","_classDecs","_FileExplorerHeaderCo","_FileExplorerHeaderCo2","_A","WeakMap","_B","_C","_D","_E","_ref","_fileExplorerContextDecs","context","subscribe","_menuItemsDecs","attribute","_canEditDecs","type","Boolean","_canManageAccessDecs","_isMobileDecs","_FileExplorerHeaderControls","FileExplorerHeaderControls","constructor","args","_defineProperty","_initProto","event","isMobile","matches","_classPrivateFieldInitSpec","_init_fileExplorerContext","_init_menuItems","_init_canEdit","_init_canManageAccess","_init_isMobile","window","matchMedia","subjectUri","dispatchEvent","CustomEvent","bubbles","composed","detail","_classPrivateFieldGet","v","_classPrivateFieldSet","menuItems","canEdit","canManageAccess","connectedCallback","mobileMediaQuery","mobileQuery","addEventListener","handleMobileMediaChange","disconnectedCallback","removeEventListener","undefined","getEditTooltip","renderDirtyIndicator","isDirty","render","isContainerResource","store","supportsEditing","handleManageAccess","beginEditing","e","c","_initClass","_applyDecs","_Class","_identity","default","_Class","_A","_B","_C","_D","_initProto","_initClass","_classDecs","_fileExplorerContextDecs","_init_fileExplorerContext","_menuItemsDecs","_init_menuItems","_ref","_classPrivateFieldInitSpec","_checkPrivateRedeclaration","_classPrivateFieldSet","_assertClassBrand","_classPrivateFieldGet","_defineProperty","_toPropertyKey","_applyDecs","_setFunctionName","_checkInRHS","_toPrimitive","_identity","consume","property","state","nothing","styles","sym","solidLogicSingleton","customElement","WebComponent","DEFAULT_FILE_EXPLORER_CONTEXT","fileExplorerContext","FILE_EXPLORER_BACK_EVENT","property","state","consume","html","styles","_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","_init_menuItems","_init_paneIcon","undefined","_init_responseMetadata","modified","isPublic","canEdit","canManageAccess","aclUri","dispatchEvent","CustomEvent","bubbles","composed","detail","subjectUri","_classPrivateFieldGet","v","_classPrivateFieldSet","menuItems","paneIcon","responseMetadata","getDefaultResponseMetadata","willUpdate","store","_loadedMetadataForUri","generation","_metadataGeneration","loadResponseMetadata","metadata","resource","fetchMetadata","access","error","console","warn","render","handleBack","e","c","_initClass","_applyDecs","_Class","_identity","default","consume","property","state","solidLogicSingleton","sym","styles","FileExplorerHeader","FileExplorerHeader","namedNode","c$1","A","customElement","n","i","b","fileExplorerContext","DEFAULT_FILE_EXPLORER_CONTEXT","FILE_EXPLORER_MANAGE_ACCESS_EVENT","FILE_EXPLORER_BACK_EVENT","e","getContainerItemCount","isContainerSubject","label","makeDraggable","iconlucideshare2","FileExplorerHeader_styles_default","iconlucidelockkeyhole","iconlucidearrowleft","FileExplorerHeaderSummary_styles_default","_Class$2","_FileExplorerHeaderSummary","_A$2","_B$2","_C$2","_D$2","_E$1","_F","_initProto$2","_initClass$2","_classDecs$2","_fileExplorerContextDecs$2","_init_fileExplorerContext$2","_paneIconDecs$1","_init_paneIcon$1","_onBackClickDecs","_init_onBackClick","_responseMetadataDecs$1","_init_responseMetadata$1","_resolvedPaneIconDecs","_init_resolvedPaneIcon","_titleHeadingDecs","_init_titleHeading","_FileExplorerHeaderSu2","_ref$2","_classPrivateFieldInitSpec$2","a","_checkPrivateRedeclaration$2","_classPrivateFieldSet$2","s","_assertClassBrand$2","r","_classPrivateFieldGet$2","_defineProperty$2","_toPropertyKey$2","t","_applyDecs$2","o","c","applyDec","m","h","y","v","g","u","w","S","d","p","_setFunctionName$2","P","j","D","I","F","l","f","N","_checkInRHS$2","_toPrimitive$2","_identity$2","_FileExplorerHeaderSu","WebComponent","args","modified","date","parts","getPart","part","type","changedProperties","generation","paneIcon","icon","error","itemCount","isPublic","subject","label$1","isContainerResource","FileExplorerHeaderControls_styles_default","_Class$1","_FileExplorerHeaderControls","_A$1","_B$1","_C$1","_D$1","_E","_initProto$1","_initClass$1","_classDecs$1","_fileExplorerContextDecs$1","_init_fileExplorerContext$1","_menuItemsDecs$1","_init_menuItems$1","_canEditDecs","_init_canEdit","_canManageAccessDecs","_init_canManageAccess","_isMobileDecs","_init_isMobile","_FileExplorerHeaderCo2","_ref$1","_classPrivateFieldInitSpec$1","_checkPrivateRedeclaration$1","_classPrivateFieldSet$1","_assertClassBrand$1","_classPrivateFieldGet$1","_defineProperty$1","_toPropertyKey$1","_applyDecs$1","_setFunctionName$1","_checkInRHS$1","_toPrimitive$1","_identity$1","_FileExplorerHeaderCo","event","subjectUri","supportsEditing","_Class","_FileExplorerHeader3","_A","_B","_C","_D","_initProto","_initClass","_classDecs","_fileExplorerContextDecs","_init_fileExplorerContext","_menuItemsDecs","_init_menuItems","_paneIconDecs","_init_paneIcon","_responseMetadataDecs","_init_responseMetadata","_FileExplorerHeader2","_ref","_classPrivateFieldInitSpec","_checkPrivateRedeclaration","_classPrivateFieldSet","_assertClassBrand","_classPrivateFieldGet","_defineProperty","_toPropertyKey","_applyDecs","_setFunctionName","_checkInRHS","_toPrimitive","_identity","_FileExplorerHeader","metadata","file_explorer_header_default"],"sources":["../../src/components/file-explorer-header/FileExplorerHeader.styles.css","../../src/components/file-explorer-header/FileExplorerHeaderSummary.styles.css","../../src/components/file-explorer-header/FileExplorerHeaderSummary.ts","../../src/components/file-explorer-header/FileExplorerHeaderControls.styles.css","../../src/components/file-explorer-header/FileExplorerHeaderControls.ts","../../src/components/file-explorer-header/FileExplorerHeader.ts","../../src/components/file-explorer-header/index.ts"],"sourcesContent":[":host {\n header {\n display: flex;\n justify-content: space-between;\n align-items: center;\n gap: 6px;\n flex-wrap: nowrap;\n box-sizing: border-box;\n width: 100%;\n text-align: right;\n padding: 10px;\n border-bottom: 1px solid var(--solid-ui-color-gray-200, #cbd5e1);\n }\n}\n"," :host {\n .file-explorer-header-summary {\n display: flex;\n justify-content: flex-start;\n align-items: center;\n gap: 6px;\n flex-wrap: wrap;\n flex: 1 1 auto;\n min-width: 0;\n text-align: left;\n }\n\n h1 {\n color: var(--solid-ui-color-gray-700, #364153);\n font-size: var(--solid-ui-font-size-xl, 1.25rem); /* while in expand; will go to 2xl when new design is complete */\n font-weight: 500;\n display: flex;\n align-items: center;\n gap: 8px;\n margin: 0;\n }\n\n .resource-info {\n display: flex;\n flex-direction: column;\n min-width: 0;\n }\n\n .container-info {\n display: flex;\n flex-direction: row;\n gap: 10px;\n min-width: 0;\n }\n\n .pane-icon {\n display: flex;\n width: 40px;\n height: 40px;\n padding: 7.5px 7px 6.5px 7px;\n justify-content: center;\n align-items: center;\n aspect-ratio: 1/1;\n /* border-radius: 100px; */\n /* background: var(--slate-600, #45556C); */\n }\n\n .pane-icon img {\n width: 100%;\n height: 100%;\n object-fit: contain;\n display: block;\n }\n\n p {\n display: flex;\n align-items: center;\n gap: 5px;\n color: var(--solid-ui-gray-500, #6A7282);\n font-size: var(--solid-ui-font-size-xs, .75rem);\n font-weight: 500;\n }\n\n .public {\n display: flex;\n padding: 2px 5px;\n justify-content: center;\n align-items: center;\n gap: 3px;\n color: var(--blue-400, #51A2FF);\n border-radius: 5px;\n background: var(--blue-50, #EFF6FF);\n }\n\n icon-lucide-globe {\n stroke-width: 1.021px;\n stroke: var(--blue-400, #51A2FF);\n }\n\n .private {\n display: flex;\n padding: 2px 5px;\n justify-content: center;\n align-items: center;\n gap: 3px;\n color: var(--yellow-600, #D08700);\n border-radius: 5px;\n background: var(--yellow-100, #FEF9C2);\n }\n\n icon-lucide-lock-keyhole {\n stroke-width: 1.021px;\n stroke: var(--yellow-600, #D08700);\n }\n\n icon-lucide-globe,\n icon-lucide-lock-keyhole {\n width: 0.875rem;\n height: 0.875rem;\n }\n\n .resource-date {\n font-size: inherit;\n }\n\n icon-lucide-arrow-left {\n width: 1.125rem;\n height: 1.125rem;\n }\n\n @media (max-width: 600px) {\n .file-explorer-header-summary {\n gap: 7px;\n }\n\n h1 {\n font-size: 14px;\n }\n\n .pane-icon {\n width: 18.2px;\n height: 18.2px;\n flex-shrink: 0;\n aspect-ratio: 1 / 1;\n padding: 0;\n }\n\n p {\n font-size: 14px;\n }\n\n .resource-date {\n font-size: 10px;\n }\n\n .public,\n .private {\n font-size: 9px;\n }\n\n icon-lucide-arrow-left {\n width: 15px;\n height: 18px;\n flex-shrink: 0;\n aspect-ratio: 5 / 6;\n }\n }\n}\n","import { sym } from 'rdflib'\nimport { customElement, WebComponent } from '@/lib/components'\nimport * as utils from '@/utils'\nimport * as widgets from '@/widgets/index'\nimport { DEFAULT_FILE_EXPLORER_CONTEXT, fileExplorerContext } from '@/lib/file-explorer/context'\nimport '@/components/button'\nimport { property, query, state } from 'lit/decorators.js'\nimport type { PropertyValues } from 'lit'\nimport { html } from 'lit'\nimport { consume } from '@lit/context'\nimport { PaneIcon } from './types'\nimport '~icons/lucide/globe'\nimport '~icons/lucide/lock-keyhole'\nimport '~icons/lucide/arrow-left'\nimport '~icons/lucide/folder'\nimport styles from './FileExplorerHeaderSummary.styles.css'\nimport { getContainerItemCount, isContainerSubject } from '@/utils/podUtils'\nimport type { FileExplorerResourceMetadata } from './types'\n\n@customElement('solid-ui-file-explorer-header-summary')\nexport default class FileExplorerHeaderSummary extends WebComponent {\n static styles = styles\n\n private _draggableSubjectUri: string | undefined\n private _paneIconGeneration = 0\n\n @consume({ context: fileExplorerContext, subscribe: true })\n accessor fileExplorerContext = DEFAULT_FILE_EXPLORER_CONTEXT\n\n @property({ attribute: false })\n accessor paneIcon: PaneIcon | undefined\n\n @property({ attribute: false })\n accessor onBackClick: (() => void) | undefined\n\n @property({ attribute: false })\n accessor responseMetadata: Pick<FileExplorerResourceMetadata, 'modified' | 'isPublic'> = {\n modified: undefined,\n isPublic: false\n }\n\n @state()\n accessor resolvedPaneIcon: string | undefined = undefined\n\n @query('h1')\n private accessor titleHeading: HTMLHeadingElement | null = null\n\n private formatModifiedDate (modified: string | undefined) {\n if (!modified) return ''\n\n const date = new Date(modified)\n if (Number.isNaN(date.getTime())) return modified\n\n const parts = new Intl.DateTimeFormat('en-GB', {\n day: '2-digit',\n month: 'short',\n year: 'numeric',\n hour: '2-digit',\n minute: '2-digit',\n hour12: true\n }).formatToParts(date)\n\n const getPart = (type: Intl.DateTimeFormatPartTypes) => parts.find(part => part.type === type)?.value ?? ''\n const day = getPart('day')\n const month = getPart('month')\n const year = getPart('year')\n const hour = getPart('hour')\n const minute = getPart('minute')\n const dayPeriod = getPart('dayPeriod').toUpperCase()\n\n return `${day} ${month}, ${year} at ${hour}:${minute} ${dayPeriod}`\n }\n\n protected willUpdate (changedProperties: PropertyValues<this>) {\n if (changedProperties.has('paneIcon')) {\n const generation = ++this._paneIconGeneration\n this.resolvedPaneIcon = undefined\n this.resolvePaneIcon(this.paneIcon, generation)\n }\n }\n\n protected updated () {\n if (!this.titleHeading || !this.fileExplorerContext?.subjectUri || this._draggableSubjectUri === this.fileExplorerContext.subjectUri) return\n\n widgets.makeDraggable(this.titleHeading, sym(this.fileExplorerContext.subjectUri)) // doing it this way for now, just to keep the same functionality\n this._draggableSubjectUri = this.fileExplorerContext.subjectUri\n }\n\n // Needed because humanReadable pane can return a promise for an icon.\n private async resolvePaneIcon (paneIcon: PaneIcon | undefined, generation: number) {\n try {\n if (paneIcon == null) return\n\n const icon = await paneIcon\n if (generation === this._paneIconGeneration) {\n this.resolvedPaneIcon = icon ?? undefined\n }\n } catch (error) {\n if (generation === this._paneIconGeneration) {\n this.resolvedPaneIcon = undefined\n console.warn('file-explorer-header-summary: failed to resolve pane icon', error)\n }\n }\n }\n\n private renderContainerResourceHeader (label: string, isPublic: boolean) {\n const itemCount = getContainerItemCount(this.fileExplorerContext?.store, this.fileExplorerContext?.subjectUri) ?? 0\n return html`\n <div class=\"container-info\">\n <h1>\n <span>${label}</span>\n </h1>\n <p>\n ${itemCount} items\n ${isPublic\n ? html`<span class=\"public\"><icon-lucide-globe aria-hidden=\"true\"></icon-lucide-globe><span class=\"sr-only\">Public</span></span>`\n : html`<span class=\"private\"><icon-lucide-lock-keyhole aria-hidden=\"true\"></icon-lucide-lock-keyhole><span class=\"sr-only\">Private</span></span>`}\n </p>\n </div>\n `\n }\n\n private renderResourceHeader (label: string, isPublic: boolean) {\n const modified = this.formatModifiedDate(this.responseMetadata.modified)\n\n return html`\n <div class=\"resource-info\">\n <h1>\n <span>${label}</span>\n </h1>\n <p><span class=\"resource-date\">${modified}</span> ${isPublic ? html`<span class=\"public\"><icon-lucide-globe></icon-lucide-globe> Public</span>` : html`<span class=\"private\"><icon-lucide-lock-keyhole></icon-lucide-lock-keyhole> Private</span>`}</p>\n </div>\n `\n }\n\n render () {\n const subject = this.fileExplorerContext?.subjectUri ? sym(this.fileExplorerContext.subjectUri) : undefined\n const label = subject ? utils.label(subject) : ''\n const isPublic = this.responseMetadata.isPublic\n const isContainerResource = isContainerSubject(this.fileExplorerContext?.store, this.fileExplorerContext?.subjectUri)\n\n return html`\n <div class=\"file-explorer-header-summary\">\n <solid-ui-button\n variant=\"ghost\"\n @click=${this.onBackClick}\n title=\"Back\"\n >\n <icon-lucide-arrow-left></icon-lucide-arrow-left>\n <span class=\"sr-only\">Back</span>\n </solid-ui-button>\n <span class=\"pane-icon\">\n ${this.resolvedPaneIcon ? html`<img src=${this.resolvedPaneIcon} alt=\"\" />` : ''}\n </span>\n ${isContainerResource ? this.renderContainerResourceHeader(label, isPublic) : this.renderResourceHeader(label, isPublic)}\n </div>\n </div>\n `\n }\n}\n",":host {\n flex: 0 1 auto;\n min-width: 0;\n\n div {\n display: flex;\n justify-content: flex-end;\n align-items: center;\n gap: 6px;\n flex: 0 0 auto;\n text-align: right;\n }\n\n /* generative ai */\n div > * {\n flex: 0 1 auto;\n }\n\n .file-explorer-header-action-button {\n width: var(--solid-ui-clickable-area, 42px);\n height: var(--solid-ui-clickable-area, 42px);\n padding: 0;\n }\n\n /* TODO: look into what colors to use this is just to show */\n .dirtyIndicator {\n display: inline-flex;\n align-items: center;\n border: 1px solid #F59E0B;\n color: #92400E;\n background: #FFFBEB;\n border-radius: 999px;\n font-size: 0.72rem;\n font-weight: 600;\n line-height: 1;\n padding: 4px 8px;\n white-space: nowrap;\n }\n\n icon-lucide-user-round-cog,\n icon-lucide-pencil {\n width: 16px;\n height: 16px;\n }\n\n @media (max-width: 900px) {\n div {\n padding-right: 3px;\n }\n }\n\n @media (max-width: 600px) {\n div {\n justify-content: flex-start;\n gap: 5px;\n }\n\n .file-explorer-header-action-button {\n display: none;\n }\n\n icon-lucide-ellipsis-vertical {\n width: 15.36px;\n height: 15.36px;\n flex-shrink: 0;\n aspect-ratio: 1 / 1;\n }\n }\n}\n","import { customElement, WebComponent } from '@/lib/components'\nimport { property, state } from 'lit/decorators.js'\nimport { consume } from '@lit/context'\nimport { html, nothing } from 'lit'\nimport '@/components/button'\nimport '~icons/lucide/user-round-cog'\nimport '~icons/lucide/pencil'\nimport styles from './FileExplorerHeaderControls.styles.css'\nimport '@/components/resource-actions-menu/ResourceActionsMenu'\nimport { DEFAULT_FILE_EXPLORER_CONTEXT, fileExplorerContext } from '@/lib/file-explorer/context'\nimport { FILE_EXPLORER_MANAGE_ACCESS_EVENT } from '@/lib/file-explorer/events'\nimport { isContainerSubject } from '@/utils/podUtils'\n\n@customElement('solid-ui-file-explorer-header-controls')\nexport default class FileExplorerHeaderControls extends WebComponent {\n static styles = styles\n\n private mobileMediaQuery: MediaQueryList | undefined\n private readonly mobileQuery = '(max-width: 600px)'\n private readonly handleMobileMediaChange = (event: MediaQueryListEvent) => {\n this.isMobile = event.matches\n }\n\n @consume({ context: fileExplorerContext, subscribe: true })\n accessor fileExplorerContext = DEFAULT_FILE_EXPLORER_CONTEXT\n\n @property({ attribute: false })\n accessor menuItems: Array<{ label: string, action: (event: Event) => void, icon?: HTMLElement }> = []\n\n @property({ type: Boolean })\n accessor canEdit: boolean = false\n\n @property({ type: Boolean })\n accessor canManageAccess = false\n\n @state()\n accessor isMobile = typeof window !== 'undefined' && typeof window.matchMedia === 'function'\n ? window.matchMedia('(max-width: 600px)').matches\n : false\n\n connectedCallback () {\n super.connectedCallback()\n\n if (typeof window === 'undefined' || typeof window.matchMedia !== 'function') {\n return\n }\n\n this.mobileMediaQuery = window.matchMedia(this.mobileQuery)\n this.isMobile = this.mobileMediaQuery.matches\n this.mobileMediaQuery.addEventListener('change', this.handleMobileMediaChange)\n }\n\n disconnectedCallback () {\n this.mobileMediaQuery?.removeEventListener('change', this.handleMobileMediaChange)\n this.mobileMediaQuery = undefined\n super.disconnectedCallback()\n }\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 getEditTooltip () {\n if (!this.canEdit) return 'No Access'\n return 'Edit'\n }\n\n private handleManageAccess = () => {\n const subjectUri = this.fileExplorerContext.subjectUri\n if (!subjectUri) return\n\n this.dispatchEvent(new CustomEvent(FILE_EXPLORER_MANAGE_ACCESS_EVENT, {\n bubbles: true,\n composed: true,\n detail: { subjectUri }\n }))\n }\n\n private renderDirtyIndicator () {\n if (!this.fileExplorerContext.isDirty) return nothing\n\n return html`<span class=\"dirtyIndicator\" title=\"This file has unsaved changes\">Unsaved</span>`\n }\n\n render () {\n const isContainerResource = isContainerSubject(this.fileExplorerContext.store, this.fileExplorerContext.subjectUri)\n const supportsEditing = this.fileExplorerContext.canEdit\n\n return html`\n <div>\n ${this.renderDirtyIndicator()}\n ${!isContainerResource && !this.isMobile && this.canManageAccess\n ? html`\n <solid-ui-button class=\"file-explorer-header-action-button\" variant=\"ghost\" title=\"Manage Access\" @click=${this.handleManageAccess}>\n <icon-lucide-user-round-cog slot=\"icon\"></icon-lucide-user-round-cog>\n <span class=\"sr-only\">Manage access</span>\n </solid-ui-button>\n ${supportsEditing\n ? html`\n <solid-ui-button\n class=\"file-explorer-header-action-button\"\n variant=\"ghost\"\n title=${this.getEditTooltip()}\n ?disabled=${!this.canEdit}\n @click=${this.fileExplorerContext.beginEditing}\n >\n <icon-lucide-pencil slot=\"icon\"></icon-lucide-pencil>\n <span class=\"sr-only\">Edit</span>\n </solid-ui-button>\n `\n : nothing}\n `\n : nothing}\n <solid-ui-resource-actions-menu\n .store=${this.fileExplorerContext.store}\n .handleAccessClick=${this.handleManageAccess}\n .handleEditingClick=${this.fileExplorerContext.beginEditing}\n .paneSupportsEditing=${this.fileExplorerContext.canEdit}\n .canEdit=${this.canEdit}\n .canManageAccess=${this.canManageAccess}\n .subjectUri=${this.fileExplorerContext.subjectUri}\n .menuItems=${this.menuItems}\n .isMobile=${this.isMobile}\n ></solid-ui-resource-actions-menu>\n </div>\n `\n }\n}\n","import { sym } from 'rdflib'\nimport { solidLogicSingleton } from 'solid-logic'\nimport { customElement, WebComponent } from '@/lib/components'\nimport { DEFAULT_FILE_EXPLORER_CONTEXT, fileExplorerContext } from '@/lib/file-explorer/context'\nimport { FILE_EXPLORER_BACK_EVENT } from '@/lib/file-explorer/events'\nimport { 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 { type FileExplorerResourceMetadata } from './types'\n\n@customElement('solid-ui-file-explorer-header')\nexport default class FileExplorerHeader extends WebComponent {\n static styles = styles\n\n private _loadedMetadataForUri: string | undefined\n private _metadataGeneration = 0\n\n @consume({ context: fileExplorerContext, subscribe: true })\n accessor fileExplorerContext = DEFAULT_FILE_EXPLORER_CONTEXT\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' | 'canManageAccess' | 'aclUri'> = {\n modified: undefined,\n isPublic: false,\n canEdit: false,\n canManageAccess: false,\n aclUri: undefined\n }\n\n private handleBack = () => {\n this.dispatchEvent(new CustomEvent(FILE_EXPLORER_BACK_EVENT, {\n bubbles: true,\n composed: true,\n detail: {\n subjectUri: this.fileExplorerContext.subjectUri\n }\n }))\n }\n\n private getDefaultResponseMetadata (): Pick<FileExplorerResourceMetadata, 'modified' | 'isPublic' | 'canEdit' | 'canManageAccess' | 'aclUri'> {\n return {\n modified: undefined,\n isPublic: false,\n canEdit: false,\n canManageAccess: false,\n aclUri: undefined\n }\n }\n\n protected willUpdate () {\n const subjectUri = this.fileExplorerContext?.subjectUri\n if (this.fileExplorerContext?.store && subjectUri && this._loadedMetadataForUri !== subjectUri) {\n this._loadedMetadataForUri = subjectUri\n const generation = ++this._metadataGeneration\n this.responseMetadata = this.getDefaultResponseMetadata()\n this.loadResponseMetadata(subjectUri, generation)\n }\n }\n\n private async loadResponseMetadata (subjectUri: string, generation: number) {\n try {\n const metadata = await solidLogicSingleton.resource.fetchMetadata(sym(subjectUri))\n if (generation === this._metadataGeneration && this.fileExplorerContext.subjectUri === subjectUri) {\n this.responseMetadata = {\n modified: metadata.modified,\n isPublic: metadata.access.isPublic,\n canEdit: metadata.access.canEdit,\n canManageAccess: metadata.access.canManageAccess,\n aclUri: metadata.aclUri\n }\n }\n } catch (error) {\n if (generation === this._metadataGeneration && this.fileExplorerContext.subjectUri === subjectUri) {\n this.responseMetadata = this.getDefaultResponseMetadata()\n console.warn('Failed to load response metadata', error)\n }\n }\n }\n\n render () {\n return html`\n <header>\n <solid-ui-file-explorer-header-summary\n .paneIcon=${this.paneIcon}\n .onBackClick=${this.handleBack}\n .responseMetadata=${this.responseMetadata}\n ></solid-ui-file-explorer-header-summary>\n <solid-ui-file-explorer-header-controls\n .menuItems=${this.menuItems}\n .canEdit=${this.responseMetadata.canEdit}\n .canManageAccess=${this.responseMetadata.canManageAccess}\n ></solid-ui-file-explorer-header-controls>\n </header>\n `\n }\n}\n","import FileExplorerHeader from './FileExplorerHeader'\n\nexport { FileExplorerHeader }\nexport default FileExplorerHeader\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AEgB4Ee,KAAA,CAG3Ed,EAAc,uCAAuC,CAAC;AAAA,IAAAe;AAAA,KAAAC,MAAAC,kBAAA,IAAAC,QAAA,GAAAC,kBAAA,IAAAD,QAAA,GAAAE,kBAAA,IAAAF,QAAA,GAAAG,kBAAA,IAAAH,QAAA,GAAAI,kBAAA,IAAAJ,QAAA,GAAAK,kBAAA,IAAAL,QAAA,GAAAM,MAAAC,KAOpDf,EAAQ;CAAEgB,SAASrB;CAAqBsB,WAAW;AAAK,CAAC,GAACC,KAG1DtB,EAAS,EAAEuB,WAAW,GAAM,CAAC,GAACC,KAG9BxB,EAAS,EAAEuB,WAAW,GAAM,CAAC,GAACE,KAG9BzB,EAAS,EAAEuB,WAAW,GAAM,CAAC,GAACG,KAM9BxB,EAAM,GAACyB,KAGP1B,EAAM,IAAI,GAAC,yBAAA2B,IAzBd,cACuDjC,EAAa;CAAAmC,YAAA,GAAAC,GAAA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C;EAAA;EAAA;CAAA;AAAA,GAAAf,IAAA,GAAA,KAAA,GA1F+CT,CAAY,GAAAyB,KAAAiD,KAAA,cAAAC,GAAA;CAAAhD,cAAA;EAAA,MAAAjB,CAAA,GAAAmB,EAAA,MAAA,UAC1CrB,CAAM,GAAAgE,GAAA;CAAA;AAAA,GAAA3C,EAAA6C,IAAA/D,IAAA,KAAA,CAAA,GAAA+D,IAAA;;AChBxB,IAAAyL,KAAehL"}
@@ -1,5 +1,5 @@
1
- import { a as e, o as t } from "./auth-CocCqS1p.js";
2
- import { b as n, g as r, o as i, u as a } from "./components-C8c2Ucm5.js";
1
+ import { b as e, g as t, o as n, u as r } from "./components-C8c2Ucm5.js";
2
+ import { a as i, o as a } from "./auth-EK-iYNYZ.js";
3
3
  // src/components/guard/Guard.ts
4
4
  var o, s, c, l, u, d, f, p, m, h;
5
5
  function g(e, t, n) {
@@ -173,14 +173,14 @@ function E(e) {
173
173
  function D(e) {
174
174
  return e;
175
175
  }
176
- d = [r("solid-ui-guard")];
176
+ d = [t("solid-ui-guard")];
177
177
  var O;
178
- new (m = (c = /*#__PURE__*/ new WeakMap(), h = (f = n({
179
- context: t,
178
+ new (m = (c = /*#__PURE__*/ new WeakMap(), h = (f = e({
179
+ context: a,
180
180
  subscribe: !0
181
- }), "auth"), s = class extends i {
182
- constructor(...t) {
183
- super(...t), g(this, c, (l(this), p(this, e))), x(this, "unsubscribeSessionUpdated", void 0);
181
+ }), "auth"), s = class extends n {
182
+ constructor(...e) {
183
+ super(...e), g(this, c, (l(this), p(this, i))), x(this, "unsubscribeSessionUpdated", void 0);
184
184
  }
185
185
  get [h]() {
186
186
  return y(c, this);
@@ -195,11 +195,11 @@ new (m = (c = /*#__PURE__*/ new WeakMap(), h = (f = n({
195
195
  super.disconnectedCallback(), this.unsubscribeSessionUpdated?.();
196
196
  }
197
197
  render() {
198
- return this.auth.initialized ? this.auth.account ? a`
198
+ return this.auth.initialized ? this.auth.account ? r`
199
199
  <slot></slot>
200
- ` : a`
200
+ ` : r`
201
201
  <slot name="guest"></slot>
202
- ` : a`
202
+ ` : r`
203
203
  <slot name="initializing"></slot>
204
204
  `;
205
205
  }
@@ -207,7 +207,7 @@ new (m = (c = /*#__PURE__*/ new WeakMap(), h = (f = n({
207
207
  f,
208
208
  1,
209
209
  "auth"
210
- ]], d, 0, void 0, i), s), o = class extends D {
210
+ ]], d, 0, void 0, n), s), o = class extends D {
211
211
  constructor() {
212
212
  super(O), x(this, "states", {
213
213
  initializing: (e) => !e.auth.initialized,
@@ -219,4 +219,4 @@ new (m = (c = /*#__PURE__*/ new WeakMap(), h = (f = n({
219
219
  var k = O;
220
220
  export { O as n, k as t };
221
221
 
222
- //# sourceMappingURL=guard-BOicu9dt.js.map
222
+ //# sourceMappingURL=guard-SxVT1xr4.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"guard-BOicu9dt.js","names":["customElement","WebComponent","consume","html","authContext","DEFAULT_AUTH_CONTEXT","_classDecs","_Guard","_Guard2","_A","WeakMap","_ref","_authDecs","context","subscribe","_Guard3","Guard","constructor","args","_classPrivateFieldInitSpec","_initProto","_init_auth","_defineProperty","_classPrivateFieldGet","auth","v","_classPrivateFieldSet","connectedCallback","unsubscribeSessionUpdated","onSessionUpdated","requestUpdate","disconnectedCallback","render","initialized","account","e","c","_initClass","_applyDecs","_Class","_identity","initializing","component","loggedIn","default","consume","Guard","Guard","DEFAULT_AUTH_CONTEXT","authContext","c","customElement","WebComponent","b","_Class","_Guard3","_A","_initProto","_initClass","_classDecs","_authDecs","_init_auth","_Guard2","_ref","_classPrivateFieldInitSpec","a","_checkPrivateRedeclaration","_classPrivateFieldSet","s","_assertClassBrand","r","_classPrivateFieldGet","_defineProperty","_toPropertyKey","t","_applyDecs","i","n","o","applyDec","m","h","y","v","g","u","w","S","A","d","p","_setFunctionName","P","j","D","E","I","O","k","F","l","f","N","_checkInRHS","_toPrimitive","e","_identity","_Guard","args","component","guard_default"],"sources":["../../src/components/guard/Guard.ts","../../src/components/guard/index.ts"],"sourcesContent":["import { customElement, WebComponent } from '@/lib/components'\nimport { consume } from '@lit/context'\nimport { html } from 'lit'\nimport { authContext, AuthContext, DEFAULT_AUTH_CONTEXT } from '@/lib/auth'\n\n@customElement('solid-ui-guard')\nexport default class Guard extends WebComponent {\n static states = {\n initializing: (component: Guard) => !component.auth.initialized,\n loggedIn: (component: Guard) => !!component.auth.account,\n }\n\n @consume({ context: authContext, subscribe: true })\n private accessor auth: AuthContext = DEFAULT_AUTH_CONTEXT\n\n private unsubscribeSessionUpdated?: () => void\n\n connectedCallback () {\n super.connectedCallback()\n\n this.unsubscribeSessionUpdated = this.auth.onSessionUpdated(() => this.requestUpdate())\n }\n\n disconnectedCallback () {\n super.disconnectedCallback()\n\n this.unsubscribeSessionUpdated?.()\n }\n\n protected render () {\n if (!this.auth.initialized) {\n return html`\n <slot name=\"initializing\"></slot>\n `\n }\n\n if (!this.auth.account) {\n return html`\n <slot name=\"guest\"></slot>\n `\n }\n\n return html`\n <slot></slot>\n `\n }\n}\n","import Guard from './Guard'\n\nexport { Guard }\nexport default Guard\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAG2EM,IAAA,CAE1EN,EAAc,gBAAgB,CAAC;AAAA,IAAAO;AAAA,KAAAC,KAAAC,kBAAA,IAAAC,QAAA,GAAAC,KAAAC,IAO7BV,EAAQ;CAAEW,SAAST;CAAaU,WAAW;AAAK,CAAC,GAAC,SAAAC,IAPrD,cACmCd,EAAa;CAAAgB,YAAA,GAAAC,GAAA;EAOWI,AAPX,MAAA,GAAAJ,CAAA,GAAAC,EAAA,MAAAV,IAAAW,EAAA,IAAA,GAAAC,EAAA,MAOThB,CAAoB,EAAA,GAAAiB,EAAA,MAAA,6BAAA,KAAA,CAAA;CAAA;CAAA,KAAAX,KAAA;EAAA,OAAAY,EAAAd,GAAA,IAAA;CAAA;CAAA,IAAxCe,KAAIC,GAAA;EAAAC,EAAAjB,GAAA,MAAAgB,CAAA;CAAA;CAIrBE,oBAAqB;EAGnB,AAFA,MAAMA,kBAAkB,GAExB,KAAKC,4BAA4B,KAAKJ,KAAKK,uBAAuB,KAAKC,cAAc,CAAC;CACxF;CAEAC,uBAAwB;EAGtB,AAFA,MAAMA,qBAAqB,GAE3B,KAAKH,4BAA4B;CACnC;CAEUI,SAAU;EAalB,OAZK,KAAKR,KAAKS,cAMV,KAAKT,KAAKU,UAMR/B,CAAI;;QALFA,CAAI;;UANJA,CAAI;;;CAcf;AACF,GAAC,CAAAgC,GAAA,CAAAd,GAAAD,IAAAgB,GAAA,CAAA7B,GAAA8B,MAAAC,EAAAvB,GAAA,CAAA;CAAAH;CAAA;CAAA;AAAA,CAAA,GAAAN,GAAA,GAAA,KAAA,GAxCkCL,CAAY,GAAAc,IAAAwB,IAAA,cAAAC,EAAA;CAAAvB,cAAA;EAAA,MAAAV,CAAA,GAAAe,EAAA,MAAA,UAC7B;GACdmB,eAAeC,MAAqB,CAACA,EAAUlB,KAAKS;GACpDU,WAAWD,MAAqB,CAAC,CAACA,EAAUlB,KAAKU;EACnD,CAAC,GAAAG,EAAA;CAAA;AAAA,GAAAf,EAAAiB,GAAA/B,GAAA,KAAA,CAAA,GAAA+B,GAAA;;ACPH,IAAAuE,IAAehE"}
1
+ {"version":3,"file":"guard-SxVT1xr4.js","names":["customElement","WebComponent","consume","html","authContext","DEFAULT_AUTH_CONTEXT","_classDecs","_Guard","_Guard2","_A","WeakMap","_ref","_authDecs","context","subscribe","_Guard3","Guard","constructor","args","_classPrivateFieldInitSpec","_initProto","_init_auth","_defineProperty","_classPrivateFieldGet","auth","v","_classPrivateFieldSet","connectedCallback","unsubscribeSessionUpdated","onSessionUpdated","requestUpdate","disconnectedCallback","render","initialized","account","e","c","_initClass","_applyDecs","_Class","_identity","initializing","component","loggedIn","default","consume","Guard","Guard","c","customElement","WebComponent","b","DEFAULT_AUTH_CONTEXT","authContext","_Class","_Guard3","_A","_initProto","_initClass","_classDecs","_authDecs","_init_auth","_Guard2","_ref","_classPrivateFieldInitSpec","a","_checkPrivateRedeclaration","_classPrivateFieldSet","s","_assertClassBrand","r","_classPrivateFieldGet","_defineProperty","_toPropertyKey","t","_applyDecs","i","n","o","applyDec","m","h","y","v","g","u","w","S","A","d","p","_setFunctionName","P","j","D","E","I","O","k","F","l","f","N","_checkInRHS","_toPrimitive","e","_identity","_Guard","args","component","guard_default"],"sources":["../../src/components/guard/Guard.ts","../../src/components/guard/index.ts"],"sourcesContent":["import { customElement, WebComponent } from '@/lib/components'\nimport { consume } from '@lit/context'\nimport { html } from 'lit'\nimport { authContext, AuthContext, DEFAULT_AUTH_CONTEXT } from '@/lib/auth'\n\n@customElement('solid-ui-guard')\nexport default class Guard extends WebComponent {\n static states = {\n initializing: (component: Guard) => !component.auth.initialized,\n loggedIn: (component: Guard) => !!component.auth.account,\n }\n\n @consume({ context: authContext, subscribe: true })\n private accessor auth: AuthContext = DEFAULT_AUTH_CONTEXT\n\n private unsubscribeSessionUpdated?: () => void\n\n connectedCallback () {\n super.connectedCallback()\n\n this.unsubscribeSessionUpdated = this.auth.onSessionUpdated(() => this.requestUpdate())\n }\n\n disconnectedCallback () {\n super.disconnectedCallback()\n\n this.unsubscribeSessionUpdated?.()\n }\n\n protected render () {\n if (!this.auth.initialized) {\n return html`\n <slot name=\"initializing\"></slot>\n `\n }\n\n if (!this.auth.account) {\n return html`\n <slot name=\"guest\"></slot>\n `\n }\n\n return html`\n <slot></slot>\n `\n }\n}\n","import Guard from './Guard'\n\nexport { Guard }\nexport default Guard\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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D,MAAqB,CAAC,CAACA,EAAUlB,KAAKU;EACnD,CAAC,GAAAG,EAAA;CAAA;AAAA,GAAAf,EAAAiB,GAAA/B,GAAA,KAAA,CAAA,GAAA+B,GAAA;;ACPH,IAAAuE,IAAehE"}
@@ -1,6 +1,6 @@
1
- import { t as e } from "./solidLogicSingleton.esm-BXyHD7mn.js";
1
+ import { t as e } from "./solidLogicSingleton.esm-Bvt7E7Vl.js";
2
2
  // node_modules/solid-logic/dist/index.esm.js
3
3
  var t = e.authn, n = e.authn.authSession, r = e.store;
4
4
  export { n, r, t };
5
5
 
6
- //# sourceMappingURL=index.esm-C9oV3H3X.js.map
6
+ //# sourceMappingURL=index.esm-BQrkxchZ.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.esm-C9oV3H3X.js","names":["w","c","D","O","k"],"sources":["../../node_modules/solid-logic/dist/index.esm.js"],"sourcesContent":["import { reloadOnIdentityReplaced as e } from \"./authSession/identityState.esm.js\";\nimport { ACCESS_ROLES as t, ACL_LINK as n, Authenticated as r, PUBLIC_ACCESS_ROLES as i, Public as a, WRITE_LOCKED_OWNER_ROLE as o, analyzeContainerAccessScope as s, classifyAuthorizationScope as c, classifyContainerAccessScope as l, filterAuthorizationsByContainerScope as u } from \"./acl/aclLogic.esm.js\";\nimport { appContext as d, offlineTestID as f } from \"./authn/authUtil.esm.js\";\nimport { CrossOriginForbiddenError as p, FetchError as m, NotEditableError as h, NotFoundError as g, SameOriginForbiddenError as _, UnauthorizedError as v, WebOperationError as y } from \"./logic/CustomError.esm.js\";\nimport { createTypeIndexLogic as b } from \"./typeIndex/typeIndexLogic.esm.js\";\nimport { DEFAULT_DIRECTORY_CATALOG_URL as x, DEFAULT_DIRECTORY_SOURCES as S, createDirectoryLogic as C } from \"./directory/directoryLogic.esm.js\";\nimport { solidLogicSingleton as w } from \"./logic/solidLogicSingleton.esm.js\";\nimport { performServerSideLogout as T } from \"./authn/serverLogout.esm.js\";\nimport { getSuggestedIssuers as E } from \"./issuer/issuerLogic.esm.js\";\n//#region src/index.ts\nvar D = w.authn, O = w.authn.authSession, k = w.store;\n//#endregion\nexport { t as ACCESS_ROLES, n as ACL_LINK, r as Authenticated, p as CrossOriginForbiddenError, x as DEFAULT_DIRECTORY_CATALOG_URL, S as DEFAULT_DIRECTORY_SOURCES, m as FetchError, h as NotEditableError, g as NotFoundError, i as PUBLIC_ACCESS_ROLES, a as Public, _ as SameOriginForbiddenError, v as UnauthorizedError, o as WRITE_LOCKED_OWNER_ROLE, y as WebOperationError, s as analyzeContainerAccessScope, d as appContext, O as authSession, D as authn, c as classifyAuthorizationScope, l as classifyContainerAccessScope, C as createDirectoryLogic, b as createTypeIndexLogic, u as filterAuthorizationsByContainerScope, E as getSuggestedIssuers, f as offlineTestID, T as performServerSideLogout, e as reloadOnIdentityReplaced, w as solidLogicSingleton, k as store };\n\n//# sourceMappingURL=index.esm.js.map"],"ignoreList":[0],"mappings":";;AAUA,IAAIE,IAAIF,EAAE,OAAOG,IAAIH,EAAE,MAAM,aAAaI,IAAIJ,EAAE"}
1
+ {"version":3,"file":"index.esm-BQrkxchZ.js","names":["w","c","D","O","k"],"sources":["../../node_modules/solid-logic/dist/index.esm.js"],"sourcesContent":["import { reloadOnIdentityReplaced as e } from \"./authSession/identityState.esm.js\";\nimport { ACCESS_ROLES as t, ACL_LINK as n, Authenticated as r, PUBLIC_ACCESS_ROLES as i, Public as a, WRITE_LOCKED_OWNER_ROLE as o, analyzeContainerAccessScope as s, classifyAuthorizationScope as c, classifyContainerAccessScope as l, filterAuthorizationsByContainerScope as u } from \"./acl/aclLogic.esm.js\";\nimport { appContext as d, offlineTestID as f } from \"./authn/authUtil.esm.js\";\nimport { CrossOriginForbiddenError as p, FetchError as m, NotEditableError as h, NotFoundError as g, SameOriginForbiddenError as _, UnauthorizedError as v, WebOperationError as y } from \"./logic/CustomError.esm.js\";\nimport { createTypeIndexLogic as b } from \"./typeIndex/typeIndexLogic.esm.js\";\nimport { DEFAULT_DIRECTORY_CATALOG_URL as x, DEFAULT_DIRECTORY_SOURCES as S, createDirectoryLogic as C } from \"./directory/directoryLogic.esm.js\";\nimport { solidLogicSingleton as w } from \"./logic/solidLogicSingleton.esm.js\";\nimport { performServerSideLogout as T } from \"./authn/serverLogout.esm.js\";\nimport { getSuggestedIssuers as E } from \"./issuer/issuerLogic.esm.js\";\n//#region src/index.ts\nvar D = w.authn, O = w.authn.authSession, k = w.store;\n//#endregion\nexport { t as ACCESS_ROLES, n as ACL_LINK, r as Authenticated, p as CrossOriginForbiddenError, x as DEFAULT_DIRECTORY_CATALOG_URL, S as DEFAULT_DIRECTORY_SOURCES, m as FetchError, h as NotEditableError, g as NotFoundError, i as PUBLIC_ACCESS_ROLES, a as Public, _ as SameOriginForbiddenError, v as UnauthorizedError, o as WRITE_LOCKED_OWNER_ROLE, y as WebOperationError, s as analyzeContainerAccessScope, d as appContext, O as authSession, D as authn, c as classifyAuthorizationScope, l as classifyContainerAccessScope, C as createDirectoryLogic, b as createTypeIndexLogic, u as filterAuthorizationsByContainerScope, E as getSuggestedIssuers, f as offlineTestID, T as performServerSideLogout, e as reloadOnIdentityReplaced, w as solidLogicSingleton, k as store };\n\n//# sourceMappingURL=index.esm.js.map"],"ignoreList":[0],"mappings":";;AAUA,IAAIE,IAAIF,EAAE,OAAOG,IAAIH,EAAE,MAAM,aAAaI,IAAIJ,EAAE"}
@@ -1,4 +1,4 @@
1
- import { W as e } from "./solidLogicSingleton.esm-BXyHD7mn.js";
1
+ import { W as e } from "./solidLogicSingleton.esm-Bvt7E7Vl.js";
2
2
  // node_modules/rdf-canonize/lib/IdentifierIssuer.js
3
3
  var t = /* @__PURE__ */ e(((e, t) => {
4
4
  t.exports = class e {
@@ -4121,4 +4121,4 @@ var t = /* @__PURE__ */ e(((e, t) => {
4121
4121
  }));
4122
4122
  export default L();
4123
4123
 
4124
- //# sourceMappingURL=jsonld-D-TE94B0.js.map
4124
+ //# sourceMappingURL=jsonld-C6IOQ1Tg.js.map