solid-ui 5.0.2-2 → 5.0.2-3
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.
- package/dist/_virtual/~icons/lucide/arrow-left.cjs.js +2 -0
- package/dist/_virtual/~icons/lucide/arrow-left.cjs.js.map +1 -0
- package/dist/_virtual/~icons/lucide/arrow-left.esm.js +10 -0
- package/dist/_virtual/~icons/lucide/arrow-left.esm.js.map +1 -0
- package/dist/_virtual/~icons/lucide/ellipsis-vertical.cjs.js +2 -0
- package/dist/_virtual/~icons/lucide/ellipsis-vertical.cjs.js.map +1 -0
- package/dist/_virtual/~icons/lucide/ellipsis-vertical.esm.js +10 -0
- package/dist/_virtual/~icons/lucide/ellipsis-vertical.esm.js.map +1 -0
- package/dist/_virtual/~icons/lucide/file.cjs.js +2 -0
- package/dist/_virtual/~icons/lucide/file.cjs.js.map +1 -0
- package/dist/_virtual/~icons/lucide/file.esm.js +10 -0
- package/dist/_virtual/~icons/lucide/file.esm.js.map +1 -0
- package/dist/_virtual/~icons/lucide/lock-keyhole.cjs.js +2 -0
- package/dist/_virtual/~icons/lucide/lock-keyhole.cjs.js.map +1 -0
- package/dist/_virtual/~icons/lucide/lock-keyhole.esm.js +10 -0
- package/dist/_virtual/~icons/lucide/lock-keyhole.esm.js.map +1 -0
- package/dist/_virtual/~icons/lucide/pencil.cjs.js +2 -0
- package/dist/_virtual/~icons/lucide/pencil.cjs.js.map +1 -0
- package/dist/_virtual/~icons/lucide/pencil.esm.js +10 -0
- package/dist/_virtual/~icons/lucide/pencil.esm.js.map +1 -0
- package/dist/_virtual/~icons/lucide/share-2.cjs.js +2 -0
- package/dist/_virtual/~icons/lucide/share-2.cjs.js.map +1 -0
- package/dist/_virtual/~icons/lucide/share-2.esm.js +10 -0
- package/dist/_virtual/~icons/lucide/share-2.esm.js.map +1 -0
- package/dist/_virtual/~icons/lucide/user-round-cog.cjs.js +2 -0
- package/dist/_virtual/~icons/lucide/user-round-cog.cjs.js.map +1 -0
- package/dist/_virtual/~icons/lucide/user-round-cog.esm.js +10 -0
- package/dist/_virtual/~icons/lucide/user-round-cog.esm.js.map +1 -0
- package/dist/chunks/DialogProvider-dagk2fHm.js +209 -0
- package/dist/chunks/DialogProvider-dagk2fHm.js.map +1 -0
- package/dist/chunks/ResourceActionsMenu-o-8kWx8z.js +379 -0
- package/dist/chunks/ResourceActionsMenu-o-8kWx8z.js.map +1 -0
- package/dist/chunks/{access-control-modal-Dcg6-f4V.js → access-control-modal-CWH98HX3.js} +466 -478
- package/dist/chunks/access-control-modal-CWH98HX3.js.map +1 -0
- package/dist/chunks/{account-D6JK-n7u.js → account-Cocvv0H3.js} +21 -20
- package/dist/chunks/{account-D6JK-n7u.js.map → account-Cocvv0H3.js.map} +1 -1
- package/dist/chunks/{auth-B_abPDvH.js → auth-Df5uYksz.js} +41 -39
- package/dist/chunks/{auth-B_abPDvH.js.map → auth-Df5uYksz.js.map} +1 -1
- package/dist/chunks/{avatar-BR3COVSQ.js → avatar-DeotTinS.js} +11 -10
- package/dist/chunks/{avatar-BR3COVSQ.js.map → avatar-DeotTinS.js.map} +1 -1
- package/dist/chunks/{button-D6qO2idW.js → button-Dy1aFjqG.js} +11 -10
- package/dist/chunks/{button-D6qO2idW.js.map → button-Dy1aFjqG.js.map} +1 -1
- package/dist/chunks/{chunk.UEBQI7VV-lcP-fpUk.js → chunk.UEBQI7VV-9M5gO7Ew.js} +9 -12
- package/dist/chunks/chunk.UEBQI7VV-9M5gO7Ew.js.map +1 -0
- package/dist/chunks/{combobox-fSTp9qoT.js → combobox-BL0-8wef.js} +18 -17
- package/dist/chunks/{combobox-fSTp9qoT.js.map → combobox-BL0-8wef.js.map} +1 -1
- package/dist/chunks/{combobox-option-DOtGuKel.js → combobox-option-DjlmXt1O.js} +8 -7
- package/dist/chunks/{combobox-option-DOtGuKel.js.map → combobox-option-DjlmXt1O.js.map} +1 -1
- package/dist/chunks/{components-C8c2Ucm5.js → components-LxiwG5ae.js} +190 -201
- package/dist/chunks/components-LxiwG5ae.js.map +1 -0
- package/dist/chunks/context-By_u12WA.js +21 -0
- package/dist/chunks/context-By_u12WA.js.map +1 -0
- package/dist/chunks/custom-element-BW8Ua4c7.js +9 -0
- package/dist/chunks/custom-element-BW8Ua4c7.js.map +1 -0
- package/dist/chunks/decorators-V-B013l9.js +12 -0
- package/dist/chunks/decorators-V-B013l9.js.map +1 -0
- package/dist/chunks/{dialog-CgYK767T.js → dialog-CrmftB9c.js} +16 -15
- package/dist/chunks/{dialog-CgYK767T.js.map → dialog-CrmftB9c.js.map} +1 -1
- package/dist/chunks/{dialog-content-DjwRH1ci.js → dialog-content-Cw3xqJ45.js} +6 -5
- package/dist/chunks/{dialog-content-DjwRH1ci.js.map → dialog-content-Cw3xqJ45.js.map} +1 -1
- package/dist/chunks/{dialog-footer-GQWi8lfB.js → dialog-footer-sFQf-2zD.js} +6 -5
- package/dist/chunks/{dialog-footer-GQWi8lfB.js.map → dialog-footer-sFQf-2zD.js.map} +1 -1
- package/dist/chunks/{dialog-header-c3qOMQfb.js → dialog-header-xIWIqfZK.js} +6 -5
- package/dist/chunks/{dialog-header-c3qOMQfb.js.map → dialog-header-xIWIqfZK.js.map} +1 -1
- package/dist/chunks/{dialogs-BmtLjMzg.js → dialogs-B3tHtjMf.js} +2 -2
- package/dist/chunks/{dialogs-BmtLjMzg.js.map → dialogs-B3tHtjMf.js.map} +1 -1
- package/dist/chunks/{dialogs-root-BcQo2XMF.js → dialogs-root-Lh2u-3Cs.js} +9 -8
- package/dist/chunks/{dialogs-root-BcQo2XMF.js.map → dialogs-root-Lh2u-3Cs.js.map} +1 -1
- package/dist/chunks/{error-state-BD4_Wrkz.js → error-state-DnsXVj1z.js} +11 -10
- package/dist/chunks/{error-state-BD4_Wrkz.js.map → error-state-DnsXVj1z.js.map} +1 -1
- package/dist/chunks/events-CXQHDCs2.js +8 -0
- package/dist/chunks/events-CXQHDCs2.js.map +1 -0
- package/dist/chunks/file-explorer-header-B6-Q0i6V.js +963 -0
- package/dist/chunks/file-explorer-header-B6-Q0i6V.js.map +1 -0
- package/dist/chunks/file-explorer-provider-B3gUBkHg.js +296 -0
- package/dist/chunks/file-explorer-provider-B3gUBkHg.js.map +1 -0
- package/dist/chunks/globe-CsCgZcy5.js +16 -0
- package/dist/chunks/globe-CsCgZcy5.js.map +1 -0
- package/dist/chunks/{guard-bTeM7wd7.js → guard-C39y81In.js} +11 -10
- package/dist/chunks/{guard-bTeM7wd7.js.map → guard-C39y81In.js.map} +1 -1
- package/dist/chunks/index.esm-C9oV3H3X.js +6 -0
- package/dist/chunks/index.esm-C9oV3H3X.js.map +1 -0
- package/dist/chunks/{input-Bz3l514j.js → input-Bi6ZBZQw.js} +12 -11
- package/dist/chunks/{input-Bz3l514j.js.map → input-Bi6ZBZQw.js.map} +1 -1
- package/dist/chunks/{jsonld-CnfzCyCn.js → jsonld-D-TE94B0.js} +2 -2
- package/dist/chunks/{jsonld-CnfzCyCn.js.map → jsonld-D-TE94B0.js.map} +1 -1
- package/dist/chunks/{login-button-Div4ZT4J.js → login-button-fo0P8vym.js} +10 -9
- package/dist/chunks/{login-button-Div4ZT4J.js.map → login-button-fo0P8vym.js.map} +1 -1
- package/dist/chunks/{logout-button-D3lqlnCX.js → logout-button-CF2YFgID.js} +10 -9
- package/dist/chunks/{logout-button-D3lqlnCX.js.map → logout-button-CF2YFgID.js.map} +1 -1
- package/dist/chunks/{menu-D0k2fkiE.js → menu-RumUciM-.js} +49 -47
- package/dist/chunks/{menu-D0k2fkiE.js.map → menu-RumUciM-.js.map} +1 -1
- package/dist/chunks/{menu-item-nfPpH4dN.js → menu-item-CVAZyipz.js} +11 -10
- package/dist/chunks/{menu-item-nfPpH4dN.js.map → menu-item-CVAZyipz.js.map} +1 -1
- package/dist/chunks/{photo-capture-hJaJm4TM.js → photo-capture-CAfo7y6-.js} +21 -20
- package/dist/chunks/photo-capture-CAfo7y6-.js.map +1 -0
- package/dist/chunks/{photo-capture-modal-BsHv6wmh.js → photo-capture-modal-DWmDE_Ws.js} +29 -28
- package/dist/chunks/{photo-capture-modal-BsHv6wmh.js.map → photo-capture-modal-DWmDE_Ws.js.map} +1 -1
- package/dist/chunks/provide-B5NeVMM_.js +111 -0
- package/dist/chunks/provide-B5NeVMM_.js.map +1 -0
- package/dist/chunks/{provider-Dcd1NPYx.js → provider-BbT2duMy.js} +11 -10
- package/dist/chunks/{provider-Dcd1NPYx.js.map → provider-BbT2duMy.js.map} +1 -1
- package/dist/chunks/{rdf-form-CmPnHKR-.js → rdf-form-CH9bDx98.js} +30 -29
- package/dist/chunks/{rdf-form-CmPnHKR-.js.map → rdf-form-CH9bDx98.js.map} +1 -1
- package/dist/chunks/{rdf-input-3AgoeCkJ.js → rdf-input-C_V0pIS5.js} +56 -55
- package/dist/chunks/{rdf-input-3AgoeCkJ.js.map → rdf-input-C_V0pIS5.js.map} +1 -1
- package/dist/chunks/{select-option-DQan7rcB.js → select-option-U4ALXL20.js} +8 -7
- package/dist/chunks/{select-option-DQan7rcB.js.map → select-option-U4ALXL20.js.map} +1 -1
- package/dist/chunks/{select-ClPkDkGl.js → select-y1Z6fwmh.js} +10 -9
- package/dist/chunks/{select-ClPkDkGl.js.map → select-y1Z6fwmh.js.map} +1 -1
- package/dist/chunks/{signup-button-2fAoS0Nv.js → signup-button-DicFpAjD.js} +10 -9
- package/dist/chunks/{signup-button-2fAoS0Nv.js.map → signup-button-DicFpAjD.js.map} +1 -1
- package/dist/chunks/{solid-emblem-DwLdkGuO.js → solid-emblem-CeCXTpve.js} +8 -7
- package/dist/chunks/{solid-emblem-DwLdkGuO.js.map → solid-emblem-CeCXTpve.js.map} +1 -1
- package/dist/chunks/{index.esm-CECfD0e9.js → solidLogicSingleton.esm-BXyHD7mn.js} +1210 -1161
- package/dist/chunks/solidLogicSingleton.esm-BXyHD7mn.js.map +1 -0
- package/dist/chunks/{src-Dx7k_VIe.js → src-Bhtor0ZC.js} +2311 -2282
- package/dist/chunks/src-Bhtor0ZC.js.map +1 -0
- package/dist/chunks/{style-w0Fl0xnd.js → style-CXaw5EYi.js} +9 -8
- package/dist/chunks/{style-w0Fl0xnd.js.map → style-CXaw5EYi.js.map} +1 -1
- package/dist/chunks/{widgets-BWpm5CPx.js → widgets-BBEQu0CS.js} +722 -721
- package/dist/chunks/{widgets-BWpm5CPx.js.map → widgets-BBEQu0CS.js.map} +1 -1
- package/dist/components/access-control-modal/AccessControlAddAccess.esm.js.map +1 -1
- package/dist/components/access-control-modal/AccessControlErrors.esm.js.map +1 -1
- package/dist/components/access-control-modal/AccessControlGeneralAccess.esm.js.map +1 -1
- package/dist/components/access-control-modal/AccessControlModal.cjs.js +1 -1
- package/dist/components/access-control-modal/AccessControlModal.cjs.js.map +1 -1
- package/dist/components/access-control-modal/AccessControlModal.esm.js +1 -1
- package/dist/components/access-control-modal/AccessControlModal.esm.js.map +1 -1
- package/dist/components/access-control-modal/AccessControlSharedAccess.esm.js.map +1 -1
- package/dist/components/access-control-modal.js +1 -1
- package/dist/components/account/Account.esm.js.map +1 -1
- package/dist/components/account.js +1 -1
- package/dist/components/all.cjs.js +1 -1
- package/dist/components/all.esm.js +3 -0
- package/dist/components/avatar.js +1 -1
- package/dist/components/button/Button.esm.js.map +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/combobox/Combobox.esm.js.map +1 -1
- package/dist/components/combobox-option/ComboboxOption.esm.js.map +1 -1
- package/dist/components/combobox-option.js +1 -1
- package/dist/components/combobox.js +1 -1
- package/dist/components/dialog/Dialog.esm.js.map +1 -1
- package/dist/components/dialog-content.js +1 -1
- package/dist/components/dialog-footer.js +1 -1
- package/dist/components/dialog-header.js +1 -1
- package/dist/components/dialog-provider/DialogProvider.esm.js.map +1 -1
- package/dist/components/dialog-provider.js +1 -1
- package/dist/components/dialog.js +1 -1
- package/dist/components/dialogs-root/DialogsRoot.esm.js.map +1 -1
- package/dist/components/dialogs-root.js +1 -1
- package/dist/components/error-state/ErrorState.esm.js.map +1 -1
- package/dist/components/error-state.js +1 -1
- package/dist/components/file-explorer-header/FileExplorerHeader.cjs.js +15 -0
- package/dist/components/file-explorer-header/FileExplorerHeader.cjs.js.map +1 -0
- package/dist/components/file-explorer-header/FileExplorerHeader.d.ts +20 -0
- package/dist/components/file-explorer-header/FileExplorerHeader.d.ts.map +1 -0
- package/dist/components/file-explorer-header/FileExplorerHeader.esm.js +309 -0
- package/dist/components/file-explorer-header/FileExplorerHeader.esm.js.map +1 -0
- package/dist/components/file-explorer-header/FileExplorerHeader.styles.cjs.js +2 -0
- package/dist/components/file-explorer-header/FileExplorerHeader.styles.cjs.js.map +1 -0
- package/dist/components/file-explorer-header/FileExplorerHeader.styles.esm.js +6 -0
- package/dist/components/file-explorer-header/FileExplorerHeader.styles.esm.js.map +1 -0
- package/dist/components/file-explorer-header/FileExplorerHeaderControls.cjs.js +35 -0
- package/dist/components/file-explorer-header/FileExplorerHeaderControls.cjs.js.map +1 -0
- package/dist/components/file-explorer-header/FileExplorerHeaderControls.d.ts +23 -0
- package/dist/components/file-explorer-header/FileExplorerHeaderControls.d.ts.map +1 -0
- package/dist/components/file-explorer-header/FileExplorerHeaderControls.esm.js +317 -0
- package/dist/components/file-explorer-header/FileExplorerHeaderControls.esm.js.map +1 -0
- package/dist/components/file-explorer-header/FileExplorerHeaderControls.styles.cjs.js +2 -0
- package/dist/components/file-explorer-header/FileExplorerHeaderControls.styles.cjs.js.map +1 -0
- package/dist/components/file-explorer-header/FileExplorerHeaderControls.styles.esm.js +6 -0
- package/dist/components/file-explorer-header/FileExplorerHeaderControls.styles.esm.js.map +1 -0
- package/dist/components/file-explorer-header/FileExplorerHeaderSummary.cjs.js +35 -0
- package/dist/components/file-explorer-header/FileExplorerHeaderSummary.cjs.js.map +1 -0
- package/dist/components/file-explorer-header/FileExplorerHeaderSummary.d.ts +22 -0
- package/dist/components/file-explorer-header/FileExplorerHeaderSummary.d.ts.map +1 -0
- package/dist/components/file-explorer-header/FileExplorerHeaderSummary.esm.js +355 -0
- package/dist/components/file-explorer-header/FileExplorerHeaderSummary.esm.js.map +1 -0
- package/dist/components/file-explorer-header/FileExplorerHeaderSummary.styles.cjs.js +2 -0
- package/dist/components/file-explorer-header/FileExplorerHeaderSummary.styles.cjs.js.map +1 -0
- package/dist/components/file-explorer-header/FileExplorerHeaderSummary.styles.esm.js +6 -0
- package/dist/components/file-explorer-header/FileExplorerHeaderSummary.styles.esm.js.map +1 -0
- package/dist/components/file-explorer-header/index.cjs.js +2 -0
- package/dist/components/file-explorer-header/index.cjs.js.map +1 -0
- package/dist/components/file-explorer-header/index.d.ts +4 -0
- package/dist/components/file-explorer-header/index.d.ts.map +1 -0
- package/dist/components/file-explorer-header/index.esm.js +6 -0
- package/dist/components/file-explorer-header/index.esm.js.map +1 -0
- package/dist/components/file-explorer-header/types.d.ts +11 -0
- package/dist/components/file-explorer-header/types.d.ts.map +1 -0
- package/dist/components/file-explorer-header.js +1 -0
- package/dist/components/file-explorer-provider/FileExplorerProvider.cjs.js +2 -0
- package/dist/components/file-explorer-provider/FileExplorerProvider.cjs.js.map +1 -0
- package/dist/components/file-explorer-provider/FileExplorerProvider.d.ts +17 -0
- package/dist/components/file-explorer-provider/FileExplorerProvider.d.ts.map +1 -0
- package/dist/components/file-explorer-provider/FileExplorerProvider.esm.js +296 -0
- package/dist/components/file-explorer-provider/FileExplorerProvider.esm.js.map +1 -0
- package/dist/components/file-explorer-provider/index.cjs.js +2 -0
- package/dist/components/file-explorer-provider/index.cjs.js.map +1 -0
- package/dist/components/file-explorer-provider/index.d.ts +4 -0
- package/dist/components/file-explorer-provider/index.d.ts.map +1 -0
- package/dist/components/file-explorer-provider/index.esm.js +6 -0
- package/dist/components/file-explorer-provider/index.esm.js.map +1 -0
- package/dist/components/file-explorer-provider.js +1 -0
- package/dist/components/guard.js +1 -1
- package/dist/components/index.cjs.js +1 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.esm.js +1 -0
- package/dist/components/input/Input.esm.js.map +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/login-button.js +1 -1
- package/dist/components/login-modal/LoginModal.esm.js.map +1 -1
- package/dist/components/login-modal.js +1 -1
- package/dist/components/logout-button.js +1 -1
- package/dist/components/menu/Menu.esm.js.map +1 -1
- package/dist/components/menu-item/MenuItem.esm.js.map +1 -1
- package/dist/components/menu-item.js +1 -1
- package/dist/components/menu.js +1 -1
- package/dist/components/photo-capture/PhotoCapture.esm.js.map +1 -1
- package/dist/components/photo-capture-modal/PhotoCaptureModal.esm.js.map +1 -1
- package/dist/components/photo-capture-modal.js +1 -1
- package/dist/components/photo-capture.js +1 -1
- package/dist/components/provider/Provider.esm.js.map +1 -1
- package/dist/components/provider.js +1 -1
- package/dist/components/rdf-form/RDFForm.esm.js.map +1 -1
- package/dist/components/rdf-form.js +1 -1
- package/dist/components/rdf-input/RDFInput.esm.js.map +1 -1
- package/dist/components/rdf-input.js +1 -1
- package/dist/components/resource-actions-menu/DeleteResourceDialog.d.ts +8 -0
- package/dist/components/resource-actions-menu/DeleteResourceDialog.d.ts.map +1 -0
- package/dist/components/resource-actions-menu/ResourceActionsMenu.cjs.js +27 -0
- package/dist/components/resource-actions-menu/ResourceActionsMenu.cjs.js.map +1 -0
- package/dist/components/resource-actions-menu/ResourceActionsMenu.d.ts +23 -0
- package/dist/components/resource-actions-menu/ResourceActionsMenu.d.ts.map +1 -0
- package/dist/components/resource-actions-menu/ResourceActionsMenu.esm.js +343 -0
- package/dist/components/resource-actions-menu/ResourceActionsMenu.esm.js.map +1 -0
- package/dist/components/resource-actions-menu/ResourceActionsMenu.styles.cjs.js +2 -0
- package/dist/components/resource-actions-menu/ResourceActionsMenu.styles.cjs.js.map +1 -0
- package/dist/components/resource-actions-menu/ResourceActionsMenu.styles.esm.js +6 -0
- package/dist/components/resource-actions-menu/ResourceActionsMenu.styles.esm.js.map +1 -0
- package/dist/components/resource-actions-menu/ResourceActionsMenu.test.d.ts +1 -0
- package/dist/components/resource-actions-menu/ResourceActionsMenu.test.d.ts.map +1 -0
- package/dist/components/resource-actions-menu/index.cjs.js +1 -0
- package/dist/components/resource-actions-menu/index.d.ts +2 -0
- package/dist/components/resource-actions-menu/index.d.ts.map +1 -0
- package/dist/components/resource-actions-menu/index.esm.js +1 -0
- package/dist/components/resource-actions-menu.js +1 -0
- package/dist/components/select/Select.esm.js.map +1 -1
- package/dist/components/select-option/SelectOption.esm.js.map +1 -1
- package/dist/components/select-option.js +1 -1
- package/dist/components/select.js +1 -1
- package/dist/components/signup-button.js +1 -1
- package/dist/components/solid-emblem.js +1 -1
- package/dist/components.js +31 -28
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.esm.js +8 -4
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +12 -9
- package/dist/lib/context/noopContext.cjs.js +2 -0
- package/dist/lib/context/noopContext.cjs.js.map +1 -0
- package/dist/lib/context/noopContext.d.ts +2 -0
- package/dist/lib/context/noopContext.d.ts.map +1 -0
- package/dist/lib/context/noopContext.esm.js +18 -0
- package/dist/lib/context/noopContext.esm.js.map +1 -0
- package/dist/lib/file-explorer/compose-explorer.cjs.js +2 -0
- package/dist/lib/file-explorer/compose-explorer.cjs.js.map +1 -0
- package/dist/lib/file-explorer/compose-explorer.d.ts +17 -0
- package/dist/lib/file-explorer/compose-explorer.d.ts.map +1 -0
- package/dist/lib/file-explorer/compose-explorer.esm.js +18 -0
- package/dist/lib/file-explorer/compose-explorer.esm.js.map +1 -0
- package/dist/lib/file-explorer/context.cjs.js +1 -1
- package/dist/lib/file-explorer/context.cjs.js.map +1 -1
- package/dist/lib/file-explorer/context.d.ts +12 -14
- package/dist/lib/file-explorer/context.d.ts.map +1 -1
- package/dist/lib/file-explorer/context.esm.js +4 -3
- package/dist/lib/file-explorer/context.esm.js.map +1 -1
- package/dist/lib/file-explorer/events.cjs.js +2 -0
- package/dist/lib/file-explorer/events.cjs.js.map +1 -0
- package/dist/lib/file-explorer/events.d.ts +16 -0
- package/dist/lib/file-explorer/events.d.ts.map +1 -0
- package/dist/lib/file-explorer/events.esm.js +8 -0
- package/dist/lib/file-explorer/events.esm.js.map +1 -0
- package/dist/lib/file-explorer/index.cjs.js +1 -0
- package/dist/lib/file-explorer/index.d.ts +5 -0
- package/dist/lib/file-explorer/index.d.ts.map +1 -0
- package/dist/lib/file-explorer/index.esm.js +5 -0
- package/dist/lib/file-explorer/relevant-panes.cjs.js +2 -0
- package/dist/lib/file-explorer/relevant-panes.cjs.js.map +1 -0
- package/dist/lib/file-explorer/relevant-panes.d.ts +15 -0
- package/dist/lib/file-explorer/relevant-panes.d.ts.map +1 -0
- package/dist/lib/file-explorer/relevant-panes.esm.js +14 -0
- package/dist/lib/file-explorer/relevant-panes.esm.js.map +1 -0
- package/dist/loader.js +12 -9
- package/dist/solid-ui.js +211 -107
- package/dist/solid-ui.min.js +211 -107
- package/dist/solid-ui.min.js.map +1 -1
- package/dist/theme.css +1 -1
- package/dist/utils/podUtils.cjs.js +2 -0
- package/dist/utils/podUtils.cjs.js.map +1 -0
- package/dist/utils/podUtils.d.ts +6 -0
- package/dist/utils/podUtils.d.ts.map +1 -0
- package/dist/utils/podUtils.esm.js +22 -0
- package/dist/utils/podUtils.esm.js.map +1 -0
- package/dist/utils/webIdUtils.cjs.js +1 -0
- package/dist/utils/webIdUtils.d.ts +7 -0
- package/dist/utils/webIdUtils.d.ts.map +1 -0
- package/dist/utils/webIdUtils.esm.js +3 -0
- package/package.json +3 -3
- package/dist/chunks/DialogProvider-C89v7x0r.js +0 -314
- package/dist/chunks/DialogProvider-C89v7x0r.js.map +0 -1
- package/dist/chunks/access-control-modal-Dcg6-f4V.js.map +0 -1
- package/dist/chunks/chunk.UEBQI7VV-lcP-fpUk.js.map +0 -1
- package/dist/chunks/components-C8c2Ucm5.js.map +0 -1
- package/dist/chunks/index.esm-CECfD0e9.js.map +0 -1
- package/dist/chunks/photo-capture-hJaJm4TM.js.map +0 -1
- package/dist/chunks/src-Dx7k_VIe.js.map +0 -1
|
@@ -0,0 +1,355 @@
|
|
|
1
|
+
import { label as e } from "../../utils/label.esm.js";
|
|
2
|
+
import "../../utils/index.esm.js";
|
|
3
|
+
import { makeDraggable as t } from "../../widgets/dragAndDrop.esm.js";
|
|
4
|
+
import "../../widgets/index.esm.js";
|
|
5
|
+
import n from "../../lib/components/web-component/WebComponent.esm.js";
|
|
6
|
+
import "../../lib/components/index.esm.js";
|
|
7
|
+
import "../button/index.esm.js";
|
|
8
|
+
import { DEFAULT_FILE_EXPLORER_CONTEXT as r, fileExplorerContext as i } from "../../lib/file-explorer/context.esm.js";
|
|
9
|
+
import "../../_virtual/~icons/lucide/folder.esm.js";
|
|
10
|
+
import "../../_virtual/~icons/lucide/globe.esm.js";
|
|
11
|
+
import "../../_virtual/~icons/lucide/lock-keyhole.esm.js";
|
|
12
|
+
import "../../_virtual/~icons/lucide/arrow-left.esm.js";
|
|
13
|
+
import a from "./FileExplorerHeaderSummary.styles.esm.js";
|
|
14
|
+
import { getContainerItemCount as o, isContainerSubject as s } from "../../utils/podUtils.esm.js";
|
|
15
|
+
import { sym as c } from "rdflib";
|
|
16
|
+
import { consume as l } from "@lit/context";
|
|
17
|
+
import { html as u } from "lit";
|
|
18
|
+
import { customElement as d, property as f, query as p, state as m } from "lit/decorators.js";
|
|
19
|
+
// src/components/file-explorer-header/FileExplorerHeaderSummary.ts
|
|
20
|
+
var h, g, _, v, y, b, x, S, C, w, T, E, D, O, k, A, j, M, N, P, F, I, L, R, z;
|
|
21
|
+
function B(e, t, n) {
|
|
22
|
+
V(e, t), t.set(e, n);
|
|
23
|
+
}
|
|
24
|
+
function V(e, t) {
|
|
25
|
+
if (t.has(e)) throw TypeError("Cannot initialize the same private elements twice on an object");
|
|
26
|
+
}
|
|
27
|
+
function H(e, t, n) {
|
|
28
|
+
return e.set(W(e, t), n), n;
|
|
29
|
+
}
|
|
30
|
+
function U(e, t) {
|
|
31
|
+
return e.get(W(e, t));
|
|
32
|
+
}
|
|
33
|
+
function W(e, t, n) {
|
|
34
|
+
if (typeof e == "function" ? e === t : e.has(t)) return arguments.length < 3 ? t : n;
|
|
35
|
+
throw TypeError("Private element is not present on this object");
|
|
36
|
+
}
|
|
37
|
+
function G(e, t, n) {
|
|
38
|
+
return (t = q(t)) in e ? Object.defineProperty(e, t, {
|
|
39
|
+
value: n,
|
|
40
|
+
enumerable: !0,
|
|
41
|
+
configurable: !0,
|
|
42
|
+
writable: !0
|
|
43
|
+
}) : e[t] = n, e;
|
|
44
|
+
}
|
|
45
|
+
function K(e, t, n, r, i, a) {
|
|
46
|
+
function o(e, t, n) {
|
|
47
|
+
return function(r, i) {
|
|
48
|
+
return n && n(r), e[t].call(r, i);
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
function s(e, t) {
|
|
52
|
+
for (var n = 0; n < e.length; n++) e[n].call(t);
|
|
53
|
+
return t;
|
|
54
|
+
}
|
|
55
|
+
function c(e, t, n, r) {
|
|
56
|
+
if (typeof e != "function" && (r || e !== void 0)) throw TypeError(t + " must " + (n || "be") + " a function" + (r ? "" : " or undefined"));
|
|
57
|
+
return e;
|
|
58
|
+
}
|
|
59
|
+
function l(e, t, n, r, i, a, s, l, u, d, f, p, m) {
|
|
60
|
+
function h(e) {
|
|
61
|
+
if (!m(e)) throw TypeError("Attempted to access private element on non-instance");
|
|
62
|
+
}
|
|
63
|
+
var g, _ = t[0], v = t[3], y = !l;
|
|
64
|
+
if (!y) {
|
|
65
|
+
n || Array.isArray(_) || (_ = [_]);
|
|
66
|
+
var b = {}, x = [], S = i === 3 ? "get" : i === 4 || p ? "set" : "value";
|
|
67
|
+
d ? (f || p ? b = {
|
|
68
|
+
get: Y(function() {
|
|
69
|
+
return v(this);
|
|
70
|
+
}, r, "get"),
|
|
71
|
+
set: function(e) {
|
|
72
|
+
t[4](this, e);
|
|
73
|
+
}
|
|
74
|
+
} : b[S] = v, f || Y(b[S], r, i === 2 ? "" : S)) : f || (b = Object.getOwnPropertyDescriptor(e, r));
|
|
75
|
+
}
|
|
76
|
+
for (var C = e, w = _.length - 1; w >= 0; w -= n ? 2 : 1) {
|
|
77
|
+
var T = _[w], E = n ? _[w - 1] : void 0, D = {}, O = {
|
|
78
|
+
kind: [
|
|
79
|
+
"field",
|
|
80
|
+
"accessor",
|
|
81
|
+
"method",
|
|
82
|
+
"getter",
|
|
83
|
+
"setter",
|
|
84
|
+
"class"
|
|
85
|
+
][i],
|
|
86
|
+
name: r,
|
|
87
|
+
metadata: a,
|
|
88
|
+
addInitializer: function(e, t) {
|
|
89
|
+
if (e.v) throw Error("attempted to call addInitializer after decoration was finished");
|
|
90
|
+
c(t, "An initializer", "be", !0), s.push(t);
|
|
91
|
+
}.bind(null, D)
|
|
92
|
+
};
|
|
93
|
+
try {
|
|
94
|
+
if (y) (g = c(T.call(E, C, O), "class decorators", "return")) && (C = g);
|
|
95
|
+
else {
|
|
96
|
+
var k, A;
|
|
97
|
+
O.static = u, O.private = d, d ? i === 2 ? k = function(e) {
|
|
98
|
+
return h(e), b.value;
|
|
99
|
+
} : (i < 4 && (k = o(b, "get", h)), i !== 3 && (A = o(b, "set", h))) : (k = function(e) {
|
|
100
|
+
return e[r];
|
|
101
|
+
}, (i < 2 || i === 4) && (A = function(e, t) {
|
|
102
|
+
e[r] = t;
|
|
103
|
+
}));
|
|
104
|
+
var j = O.access = { has: d ? m.bind() : function(e) {
|
|
105
|
+
return r in e;
|
|
106
|
+
} };
|
|
107
|
+
if (k && (j.get = k), A && (j.set = A), C = T.call(E, p ? {
|
|
108
|
+
get: b.get,
|
|
109
|
+
set: b.set
|
|
110
|
+
} : b[S], O), p) {
|
|
111
|
+
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);
|
|
112
|
+
else if (C !== void 0) throw TypeError("accessor decorators must return an object with get, set, or init properties or void 0");
|
|
113
|
+
} else c(C, (f ? "field" : "method") + " decorators", "return") && (f ? x.push(C) : b[S] = C);
|
|
114
|
+
}
|
|
115
|
+
} finally {
|
|
116
|
+
D.v = !0;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
return (f || p) && l.push(function(e, t) {
|
|
120
|
+
for (var n = x.length - 1; n >= 0; n--) t = x[n].call(e, t);
|
|
121
|
+
return t;
|
|
122
|
+
}), 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;
|
|
123
|
+
}
|
|
124
|
+
function u(e, t) {
|
|
125
|
+
return Object.defineProperty(e, Symbol.metadata || Symbol.for("Symbol.metadata"), {
|
|
126
|
+
configurable: !0,
|
|
127
|
+
enumerable: !0,
|
|
128
|
+
value: t
|
|
129
|
+
});
|
|
130
|
+
}
|
|
131
|
+
if (arguments.length >= 6) var d = a[Symbol.metadata || Symbol.for("Symbol.metadata")];
|
|
132
|
+
var f = Object.create(d ?? null), p = function(e, t, n, r) {
|
|
133
|
+
var i, a, o = [], c = function(t) {
|
|
134
|
+
return X(t) === e;
|
|
135
|
+
}, u = /* @__PURE__ */ new Map();
|
|
136
|
+
function d(e) {
|
|
137
|
+
e && o.push(s.bind(null, e));
|
|
138
|
+
}
|
|
139
|
+
for (var f = 0; f < t.length; f++) {
|
|
140
|
+
var p = t[f];
|
|
141
|
+
if (Array.isArray(p)) {
|
|
142
|
+
var m = p[1], h = p[2], g = p.length > 3, _ = 16 & m, v = !!(8 & m), y = (m &= 7) == 0, b = h + "/" + v;
|
|
143
|
+
if (!y && !g) {
|
|
144
|
+
var x = u.get(b);
|
|
145
|
+
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);
|
|
146
|
+
u.set(b, !(m > 2) || m);
|
|
147
|
+
}
|
|
148
|
+
l(v ? e : e.prototype, p, _, g ? "#" + h : q(h), m, r, v ? a ||= [] : i ||= [], o, v, g, y, m === 1, v && g ? c : n);
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
return d(i), d(a), o;
|
|
152
|
+
}(e, t, i, f);
|
|
153
|
+
return n.length || u(e, f), {
|
|
154
|
+
e: p,
|
|
155
|
+
get c() {
|
|
156
|
+
var t = [];
|
|
157
|
+
return n.length && [u(l(e, [n], r, e.name, 5, f, t), f), s.bind(null, t, e)];
|
|
158
|
+
}
|
|
159
|
+
};
|
|
160
|
+
}
|
|
161
|
+
function q(e) {
|
|
162
|
+
var t = J(e, "string");
|
|
163
|
+
return typeof t == "symbol" ? t : t + "";
|
|
164
|
+
}
|
|
165
|
+
function J(e, t) {
|
|
166
|
+
if (typeof e != "object" || !e) return e;
|
|
167
|
+
var n;
|
|
168
|
+
if (typeof Symbol < "u" && (n = e[Symbol.toPrimitive]) !== void 0) {
|
|
169
|
+
var r = n.call(e, t || "default");
|
|
170
|
+
if (typeof r != "object") return r;
|
|
171
|
+
throw TypeError("@@toPrimitive must return a primitive value.");
|
|
172
|
+
}
|
|
173
|
+
return (t === "string" ? String : Number)(e);
|
|
174
|
+
}
|
|
175
|
+
function Y(e, t, n) {
|
|
176
|
+
typeof t == "symbol" && (t = (t = t.description) ? "[" + t + "]" : "");
|
|
177
|
+
try {
|
|
178
|
+
Object.defineProperty(e, "name", {
|
|
179
|
+
configurable: !0,
|
|
180
|
+
value: n ? n + " " + t : t
|
|
181
|
+
});
|
|
182
|
+
} catch {}
|
|
183
|
+
return e;
|
|
184
|
+
}
|
|
185
|
+
function X(e) {
|
|
186
|
+
if (Object(e) !== e) throw TypeError("right-hand side of 'in' should be an object, got " + (e === null ? "null" : typeof e));
|
|
187
|
+
return e;
|
|
188
|
+
}
|
|
189
|
+
function Z(e) {
|
|
190
|
+
return e;
|
|
191
|
+
}
|
|
192
|
+
T = [d("solid-ui-file-explorer-header-summary")];
|
|
193
|
+
var Q;
|
|
194
|
+
new (R = (_ = /*#__PURE__*/ new WeakMap(), v = /*#__PURE__*/ new WeakMap(), y = /*#__PURE__*/ new WeakMap(), b = /*#__PURE__*/ new WeakMap(), x = /*#__PURE__*/ new WeakMap(), S = /*#__PURE__*/ new WeakMap(), z = (E = l({
|
|
195
|
+
context: i,
|
|
196
|
+
subscribe: !0
|
|
197
|
+
}), O = f({ attribute: !1 }), A = f({ attribute: !1 }), M = f({ attribute: !1 }), P = m(), I = p("h1"), "_draggableSubjectUri"), g = class extends n {
|
|
198
|
+
constructor(...e) {
|
|
199
|
+
super(...e), G(this, z, void C(this)), G(this, "_paneIconGeneration", 0), B(this, _, D(this, r)), B(this, v, k(this)), B(this, y, j(this)), B(this, b, N(this, {
|
|
200
|
+
modified: void 0,
|
|
201
|
+
isPublic: !1
|
|
202
|
+
})), B(this, x, F(this, void 0)), B(this, S, L(this, null));
|
|
203
|
+
}
|
|
204
|
+
get fileExplorerContext() {
|
|
205
|
+
return U(_, this);
|
|
206
|
+
}
|
|
207
|
+
set fileExplorerContext(e) {
|
|
208
|
+
H(_, this, e);
|
|
209
|
+
}
|
|
210
|
+
get paneIcon() {
|
|
211
|
+
return U(v, this);
|
|
212
|
+
}
|
|
213
|
+
set paneIcon(e) {
|
|
214
|
+
H(v, this, e);
|
|
215
|
+
}
|
|
216
|
+
get onBackClick() {
|
|
217
|
+
return U(y, this);
|
|
218
|
+
}
|
|
219
|
+
set onBackClick(e) {
|
|
220
|
+
H(y, this, e);
|
|
221
|
+
}
|
|
222
|
+
get responseMetadata() {
|
|
223
|
+
return U(b, this);
|
|
224
|
+
}
|
|
225
|
+
set responseMetadata(e) {
|
|
226
|
+
H(b, this, e);
|
|
227
|
+
}
|
|
228
|
+
get resolvedPaneIcon() {
|
|
229
|
+
return U(x, this);
|
|
230
|
+
}
|
|
231
|
+
set resolvedPaneIcon(e) {
|
|
232
|
+
H(x, this, e);
|
|
233
|
+
}
|
|
234
|
+
get titleHeading() {
|
|
235
|
+
return U(S, this);
|
|
236
|
+
}
|
|
237
|
+
set titleHeading(e) {
|
|
238
|
+
H(S, this, e);
|
|
239
|
+
}
|
|
240
|
+
formatModifiedDate(e) {
|
|
241
|
+
if (!e) return "";
|
|
242
|
+
let t = new Date(e);
|
|
243
|
+
if (Number.isNaN(t.getTime())) return e;
|
|
244
|
+
let n = new Intl.DateTimeFormat("en-GB", {
|
|
245
|
+
day: "2-digit",
|
|
246
|
+
month: "short",
|
|
247
|
+
year: "numeric",
|
|
248
|
+
hour: "2-digit",
|
|
249
|
+
minute: "2-digit",
|
|
250
|
+
hour12: !0
|
|
251
|
+
}).formatToParts(t), r = (e) => n.find((t) => t.type === e)?.value ?? "";
|
|
252
|
+
return `${r("day")} ${r("month")}, ${r("year")} at ${r("hour")}:${r("minute")} ${r("dayPeriod").toUpperCase()}`;
|
|
253
|
+
}
|
|
254
|
+
willUpdate(e) {
|
|
255
|
+
if (e.has("paneIcon")) {
|
|
256
|
+
let e = ++this._paneIconGeneration;
|
|
257
|
+
this.resolvedPaneIcon = void 0, this.resolvePaneIcon(this.paneIcon, e);
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
updated() {
|
|
261
|
+
this.titleHeading && this.fileExplorerContext?.subjectUri && this._draggableSubjectUri !== this.fileExplorerContext.subjectUri && (t(this.titleHeading, c(this.fileExplorerContext.subjectUri)), this._draggableSubjectUri = this.fileExplorerContext.subjectUri);
|
|
262
|
+
}
|
|
263
|
+
async resolvePaneIcon(e, t) {
|
|
264
|
+
try {
|
|
265
|
+
if (e == null) return;
|
|
266
|
+
let n = await e;
|
|
267
|
+
t === this._paneIconGeneration && (this.resolvedPaneIcon = n ?? void 0);
|
|
268
|
+
} catch (e) {
|
|
269
|
+
t === this._paneIconGeneration && (this.resolvedPaneIcon = void 0, console.warn("file-explorer-header-summary: failed to resolve pane icon", e));
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
renderContainerResourceHeader(e, t) {
|
|
273
|
+
let n = o(this.fileExplorerContext?.store, this.fileExplorerContext?.subjectUri) ?? 0;
|
|
274
|
+
return u`
|
|
275
|
+
<div class="container-info">
|
|
276
|
+
<h1>
|
|
277
|
+
<span>${e}</span>
|
|
278
|
+
</h1>
|
|
279
|
+
<p>
|
|
280
|
+
${n} items
|
|
281
|
+
${t ? u`<span class="public"><icon-lucide-globe aria-hidden="true"></icon-lucide-globe><span class="sr-only">Public</span></span>` : u`<span class="private"><icon-lucide-lock-keyhole aria-hidden="true"></icon-lucide-lock-keyhole><span class="sr-only">Private</span></span>`}
|
|
282
|
+
</p>
|
|
283
|
+
</div>
|
|
284
|
+
`;
|
|
285
|
+
}
|
|
286
|
+
renderResourceHeader(e, t) {
|
|
287
|
+
let n = this.formatModifiedDate(this.responseMetadata.modified);
|
|
288
|
+
return u`
|
|
289
|
+
<div class="resource-info">
|
|
290
|
+
<h1>
|
|
291
|
+
<span>${e}</span>
|
|
292
|
+
</h1>
|
|
293
|
+
<p><span class="resource-date">${n}</span> ${t ? u`<span class="public"><icon-lucide-globe></icon-lucide-globe> Public</span>` : u`<span class="private"><icon-lucide-lock-keyhole></icon-lucide-lock-keyhole> Private</span>`}</p>
|
|
294
|
+
</div>
|
|
295
|
+
`;
|
|
296
|
+
}
|
|
297
|
+
render() {
|
|
298
|
+
let t = this.fileExplorerContext?.subjectUri ? c(this.fileExplorerContext.subjectUri) : void 0, n = t ? e(t) : "", r = this.responseMetadata.isPublic, i = s(this.fileExplorerContext?.store, this.fileExplorerContext?.subjectUri);
|
|
299
|
+
return u`
|
|
300
|
+
<div class="file-explorer-header-summary">
|
|
301
|
+
<solid-ui-button
|
|
302
|
+
variant="ghost"
|
|
303
|
+
@click=${this.onBackClick}
|
|
304
|
+
title="Back"
|
|
305
|
+
>
|
|
306
|
+
<icon-lucide-arrow-left></icon-lucide-arrow-left>
|
|
307
|
+
<span class="sr-only">Back</span>
|
|
308
|
+
</solid-ui-button>
|
|
309
|
+
<span class="pane-icon">
|
|
310
|
+
${this.resolvedPaneIcon ? u`<img src=${this.resolvedPaneIcon} alt="" />` : ""}
|
|
311
|
+
</span>
|
|
312
|
+
${i ? this.renderContainerResourceHeader(n, r) : this.renderResourceHeader(n, r)}
|
|
313
|
+
</div>
|
|
314
|
+
</div>
|
|
315
|
+
`;
|
|
316
|
+
}
|
|
317
|
+
}, {e: [D, k, j, N, F, L, C], c: [Q, w]} = K(g, [
|
|
318
|
+
[
|
|
319
|
+
E,
|
|
320
|
+
1,
|
|
321
|
+
"fileExplorerContext"
|
|
322
|
+
],
|
|
323
|
+
[
|
|
324
|
+
O,
|
|
325
|
+
1,
|
|
326
|
+
"paneIcon"
|
|
327
|
+
],
|
|
328
|
+
[
|
|
329
|
+
A,
|
|
330
|
+
1,
|
|
331
|
+
"onBackClick"
|
|
332
|
+
],
|
|
333
|
+
[
|
|
334
|
+
M,
|
|
335
|
+
1,
|
|
336
|
+
"responseMetadata"
|
|
337
|
+
],
|
|
338
|
+
[
|
|
339
|
+
P,
|
|
340
|
+
1,
|
|
341
|
+
"resolvedPaneIcon"
|
|
342
|
+
],
|
|
343
|
+
[
|
|
344
|
+
I,
|
|
345
|
+
1,
|
|
346
|
+
"titleHeading"
|
|
347
|
+
]
|
|
348
|
+
], T, 0, void 0, n), g), h = class extends Z {
|
|
349
|
+
constructor() {
|
|
350
|
+
super(Q), G(this, "styles", a), w();
|
|
351
|
+
}
|
|
352
|
+
}, G(h, R, void 0), h)();
|
|
353
|
+
export { Q as default };
|
|
354
|
+
|
|
355
|
+
//# sourceMappingURL=FileExplorerHeaderSummary.esm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FileExplorerHeaderSummary.esm.js","names":["sym","WebComponent","utils","widgets","DEFAULT_FILE_EXPLORER_CONTEXT","fileExplorerContext","customElement","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","label","utils.label","styles","WebComponent","FileExplorerHeaderSummary_styles_default","_Class","_FileExplorerHeaderSummary","_A","_B","_C","_D","_E","_F","_initProto","_initClass","_classDecs","_fileExplorerContextDecs","_init_fileExplorerContext","_paneIconDecs","_init_paneIcon","_onBackClickDecs","_init_onBackClick","_responseMetadataDecs","_init_responseMetadata","_resolvedPaneIconDecs","_init_resolvedPaneIcon","_titleHeadingDecs","_init_titleHeading","_FileExplorerHeaderSu2","_ref","_classPrivateFieldInitSpec","a","_checkPrivateRedeclaration","_classPrivateFieldSet","s","_assertClassBrand","r","_classPrivateFieldGet","_defineProperty","_toPropertyKey","t","_applyDecs","i","n","o","c","applyDec","m","h","y","v","g","b","u","w","S","A","d","p","_setFunctionName","P","j","D","I","F","l","f","N","_checkInRHS","_toPrimitive","e","_identity","customElement","_FileExplorerHeaderSu","consume","fileExplorerContext","property","state","query","args","DEFAULT_FILE_EXPLORER_CONTEXT","modified","date","parts","getPart","part","type","changedProperties","generation","makeDraggable","sym","paneIcon","icon","error","itemCount","getContainerItemCount","label","isPublic","subject","label$1","isContainerResource","isContainerSubject"],"sources":["../../../src/components/file-explorer-header/FileExplorerHeaderSummary.ts"],"sourcesContent":["import { sym } from 'rdflib'\nimport { 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 { customElement, 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"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgB4Ee,IAAA,CAG3ET,EAAc,uCAAuC,CAAC;AAAA,IAAAU;AAAA,KAAAC,KAAAC,kBAAA,IAAAC,QAAA,GAAAC,kBAAA,IAAAD,QAAA,GAAAE,kBAAA,IAAAF,QAAA,GAAAG,kBAAA,IAAAH,QAAA,GAAAI,kBAAA,IAAAJ,QAAA,GAAAK,kBAAA,IAAAL,QAAA,GAAAM,KAAAC,IAOpD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C,CAAI,YAAY,KAAK+C,iBAAgB,cAAe,GAAE;;UAEhF8C,IAAsB,KAAKP,8BAA8BC,GAAOjD,CAAQ,IAAI,KAAKoD,qBAAqBH,GAAOjD,CAAQ,EAAC;;;;CAI9H;AACF,GAAC,CAAAwD,GAAA,CAAA9D,GAAAC,GAAAC,GAAAC,GAAAI,GAAAC,GAAAV,IAAAiE,GAAA,CAAAzF,GAAA0F,MAAAC,EAAAxE,GAAA;CAAA;EAAAT;EAAA;EAAA;CAAA;CAAA;EAAAG;EAAA;EAAA;CAAA;CAAA;EAAAE;EAAA;EAAA;CAAA;CAAA;EAAAC;EAAA;EAAA;CAAA;CAAA;EAAAC;EAAA;EAAA;CAAA;CAAA;EAAAC;EAAA;EAAA;CAAA;AAAA,GAAAnB,GAAA,GAAA,KAAA,GA3IsDd,CAAY,GAAAkC,IAAAyE,IAAA,cAAAC,EAAA;CAAAxE,cAAA;EAAA,MAAArB,CAAA,GAAAuB,EAAA,MAAA,UACjD3B,CAAM,GAAA8F,EAAA;CAAA;AAAA,GAAAnE,EAAAqE,GAAA3F,GAAA,KAAA,CAAA,GAAA2F,GAAA"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var e=require("lit").css`:host .file-explorer-header-summary{text-align:left;flex-wrap:wrap;flex:auto;justify-content:flex-start;align-items:center;gap:6px;min-width:0;display:flex}:host h1{color:var(--solid-ui-color-gray-700,#364153);font-size:var(--solid-ui-font-size-xl,1.25rem);align-items:center;gap:8px;margin:0;font-weight:500;display:flex}:host .resource-info{flex-direction:column;min-width:0;display:flex}:host .container-info{flex-direction:row;gap:10px;min-width:0;display:flex}:host .pane-icon{aspect-ratio:1;justify-content:center;align-items:center;width:40px;height:40px;padding:7.5px 7px 6.5px;display:flex}:host .pane-icon img{object-fit:contain;width:100%;height:100%;display:block}:host p{color:var(--solid-ui-gray-500,#6a7282);font-size:var(--solid-ui-font-size-xs,.75rem);align-items:center;gap:5px;font-weight:500;display:flex}:host .public{color:var(--blue-400,#51a2ff);background:var(--blue-50,#eff6ff);border-radius:5px;justify-content:center;align-items:center;gap:3px;padding:2px 5px;display:flex}:host icon-lucide-globe{stroke-width:1.021px;stroke:var(--blue-400,#51a2ff)}:host .private{color:var(--yellow-600,#d08700);background:var(--yellow-100,#fef9c2);border-radius:5px;justify-content:center;align-items:center;gap:3px;padding:2px 5px;display:flex}:host icon-lucide-lock-keyhole{stroke-width:1.021px;stroke:var(--yellow-600,#d08700)}:host icon-lucide-globe,:host icon-lucide-lock-keyhole{width:.875rem;height:.875rem}:host .resource-date{font-size:inherit}:host icon-lucide-arrow-left{width:1.125rem;height:1.125rem}@media (width<=600px){:host .file-explorer-header-summary{gap:7px}:host h1{font-size:14px}:host .pane-icon{aspect-ratio:1;flex-shrink:0;width:18.2px;height:18.2px;padding:0}:host p{font-size:14px}:host .resource-date{font-size:10px}:host .public,:host .private{font-size:9px}:host icon-lucide-arrow-left{aspect-ratio:5/6;flex-shrink:0;width:15px;height:18px}}`;exports.default=e;
|
|
2
|
+
//# sourceMappingURL=FileExplorerHeaderSummary.styles.cjs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FileExplorerHeaderSummary.styles.cjs.js","names":["FileExplorerHeaderSummary_styles_default"],"sources":["../../../src/components/file-explorer-header/FileExplorerHeaderSummary.styles.css"],"sourcesContent":[" :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"],"mappings":""}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { css as e } from "lit";
|
|
2
|
+
// src/components/file-explorer-header/FileExplorerHeaderSummary.styles.css
|
|
3
|
+
var t = e`:host .file-explorer-header-summary{text-align:left;flex-wrap:wrap;flex:auto;justify-content:flex-start;align-items:center;gap:6px;min-width:0;display:flex}:host h1{color:var(--solid-ui-color-gray-700,#364153);font-size:var(--solid-ui-font-size-xl,1.25rem);align-items:center;gap:8px;margin:0;font-weight:500;display:flex}:host .resource-info{flex-direction:column;min-width:0;display:flex}:host .container-info{flex-direction:row;gap:10px;min-width:0;display:flex}:host .pane-icon{aspect-ratio:1;justify-content:center;align-items:center;width:40px;height:40px;padding:7.5px 7px 6.5px;display:flex}:host .pane-icon img{object-fit:contain;width:100%;height:100%;display:block}:host p{color:var(--solid-ui-gray-500,#6a7282);font-size:var(--solid-ui-font-size-xs,.75rem);align-items:center;gap:5px;font-weight:500;display:flex}:host .public{color:var(--blue-400,#51a2ff);background:var(--blue-50,#eff6ff);border-radius:5px;justify-content:center;align-items:center;gap:3px;padding:2px 5px;display:flex}:host icon-lucide-globe{stroke-width:1.021px;stroke:var(--blue-400,#51a2ff)}:host .private{color:var(--yellow-600,#d08700);background:var(--yellow-100,#fef9c2);border-radius:5px;justify-content:center;align-items:center;gap:3px;padding:2px 5px;display:flex}:host icon-lucide-lock-keyhole{stroke-width:1.021px;stroke:var(--yellow-600,#d08700)}:host icon-lucide-globe,:host icon-lucide-lock-keyhole{width:.875rem;height:.875rem}:host .resource-date{font-size:inherit}:host icon-lucide-arrow-left{width:1.125rem;height:1.125rem}@media (width<=600px){:host .file-explorer-header-summary{gap:7px}:host h1{font-size:14px}:host .pane-icon{aspect-ratio:1;flex-shrink:0;width:18.2px;height:18.2px;padding:0}:host p{font-size:14px}:host .resource-date{font-size:10px}:host .public,:host .private{font-size:9px}:host icon-lucide-arrow-left{aspect-ratio:5/6;flex-shrink:0;width:15px;height:18px}}`;
|
|
4
|
+
export { t as default };
|
|
5
|
+
|
|
6
|
+
//# sourceMappingURL=FileExplorerHeaderSummary.styles.esm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FileExplorerHeaderSummary.styles.esm.js","names":["FileExplorerHeaderSummary_styles_default"],"sources":["../../../src/components/file-explorer-header/FileExplorerHeaderSummary.styles.css"],"sourcesContent":[" :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"],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});const e=require("./FileExplorerHeader.cjs.js");var t=e.default;Object.defineProperty(exports,"FileExplorerHeader",{enumerable:!0,get:function(){return e.default}}),exports.default=t;
|
|
2
|
+
//# sourceMappingURL=index.cjs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs.js","names":["FileExplorerHeader","FileExplorerHeader","require_FileExplorerHeader","file_explorer_header_default"],"sources":["../../../src/components/file-explorer-header/index.ts"],"sourcesContent":["import FileExplorerHeader from './FileExplorerHeader'\n\nexport { FileExplorerHeader }\nexport default FileExplorerHeader\n"],"mappings":"A,8IAGA,IAAAG,EAAeH,EAAAA,Q"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/file-explorer-header/index.ts"],"names":[],"mappings":"AAAA,OAAO,kBAAkB,MAAM,sBAAsB,CAAA;AAErD,OAAO,EAAE,kBAAkB,EAAE,CAAA;AAC7B,eAAe,kBAAkB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.esm.js","names":["FileExplorerHeader","FileExplorerHeader","_FileExplorerHeader","file_explorer_header_default"],"sources":["../../../src/components/file-explorer-header/index.ts"],"sourcesContent":["import FileExplorerHeader from './FileExplorerHeader'\n\nexport { FileExplorerHeader }\nexport default FileExplorerHeader\n"],"mappings":";;AAGA,IAAAG,IAAeH"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export type PaneIcon = string | Promise<string> | null | undefined;
|
|
2
|
+
export type FileExplorerResourceMetadata = {
|
|
3
|
+
contentType: string | undefined;
|
|
4
|
+
canEdit: boolean;
|
|
5
|
+
canManageAccess: boolean;
|
|
6
|
+
isPublic: boolean;
|
|
7
|
+
aclUri: string | undefined;
|
|
8
|
+
eTag: string | undefined;
|
|
9
|
+
modified: string | undefined;
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/file-explorer-header/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,GAAG,IAAI,GAAG,SAAS,CAAA;AAElE,MAAM,MAAM,4BAA4B,GAAG;IACzC,WAAW,EAAE,MAAM,GAAG,SAAS,CAAA;IAC/B,OAAO,EAAE,OAAO,CAAA;IAChB,eAAe,EAAE,OAAO,CAAA;IACxB,QAAQ,EAAE,OAAO,CAAA;IACjB,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1B,IAAI,EAAE,MAAM,GAAG,SAAS,CAAA;IACxB,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAA;CAC7B,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { n as FileExplorerHeader, t as default } from "../chunks/file-explorer-header-B6-Q0i6V.js";
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
const e=require("../../lib/components/web-component/WebComponent.cjs.js");require("../../lib/components/index.cjs.js");const t=require("../../lib/file-explorer/context.cjs.js");let n=require("@lit/context"),r=require("lit/decorators.js"),i=require("lit-html");var a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,C,w,T;function E(e,t,n){return(t=N(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function D(e,t,n){O(e,t),t.set(e,n)}function O(e,t){if(t.has(e))throw TypeError(`Cannot initialize the same private elements twice on an object`)}function k(e,t,n){return e.set(j(e,t),n),n}function A(e,t){return e.get(j(e,t))}function j(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 M(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:F(function(){return v(this)},r,`get`),set:function(e){t[4](this,e)}}:b[S]=v,f||F(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,A;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&&(A=o(b,`set`,h))):(k=function(e){return e[r]},(i<2||i===4)&&(A=function(e,t){e[r]=t}));var j=O.access={has:d?m.bind():function(e){return r in e}};if(k&&(j.get=k),A&&(j.set=A),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 I(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:N(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 N(e){var t=P(e,`string`);return typeof t==`symbol`?t:t+``}function P(e,t){if(typeof e!=`object`||!e)return e;var n;if(typeof Symbol<`u`&&(n=e[Symbol.toPrimitive])!==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 F(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 I(e){if(Object(e)!==e)throw TypeError(`right-hand side of 'in' should be an object, got `+(e===null?`null`:typeof e));return e}c=[(0,r.customElement)(`solid-ui-file-explorer-provider`)];var L,R=new WeakMap,z=new WeakMap,B=new WeakMap,V=new WeakMap,H=new WeakMap,U=new WeakMap,W=new WeakMap,G=new WeakMap;T=(l=(0,r.property)({attribute:!1}),d=(0,r.property)({attribute:!1}),p=(0,r.property)({attribute:!1}),h=(0,r.property)({attribute:!1}),_=(0,r.property)({attribute:!1}),y=(0,r.state)(),x=(0,r.state)(),C=(0,n.provide)({context:t.fileExplorerContext}),`context`),a=class extends e.default{constructor(...e){super(...e),D(this,R,(o(this),u(this))),D(this,z,f(this)),D(this,B,m(this)),D(this,V,g(this,[])),D(this,H,v(this)),D(this,U,b(this)),D(this,W,S(this,!1)),D(this,G,w(this)),E(this,`registerEditor`,e=>(this.editor=e,()=>{this.editor===e&&(this.editor=void 0)}))}get[T](){return A(R,this)}set context(e){k(R,this,e)}get subjectUri(){return A(z,this)}set subjectUri(e){k(z,this,e)}get pane(){return A(B,this)}set pane(e){k(B,this,e)}get relevantPanes(){return A(V,this)}set relevantPanes(e){k(V,this,e)}get soloPane(){return A(H,this)}set soloPane(e){k(H,this,e)}get editor(){return A(U,this)}set editor(e){k(U,this,e)}get isDirty(){return A(W,this)}set isDirty(e){k(W,this,e)}get value(){return A(G,this)}set value(e){k(G,this,e)}willUpdate(){this.value={store:this.context?.session.store,subjectUri:this.subjectUri,pane:this.pane,isDirty:this.isDirty,canEdit:!!this.editor,registerEditor:this.registerEditor,beginEditing:()=>{this.editor?.beginEditing()},setDirty:e=>{this.isDirty=e}}}render(){return i.html`<slot></slot>`}},{e:[u,f,m,g,v,b,S,w,o],c:[L,s]}=M(a,[[l,1,`context`],[d,1,`subjectUri`],[p,1,`pane`],[h,1,`relevantPanes`],[_,1,`soloPane`],[y,1,`editor`],[x,1,`isDirty`],[C,1,`value`]],c,0,void 0,e.default),s(),Object.defineProperty(exports,"default",{enumerable:!0,get:function(){return L}});
|
|
2
|
+
//# sourceMappingURL=FileExplorerProvider.cjs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FileExplorerProvider.cjs.js","names":["html","provide","customElement","property","state","WebComponent","fileExplorerContext","_classDecs","_FileExplorerProvider","_A","WeakMap","_B","_C","_D","_E","_F","_G","_H","_ref","_contextDecs","attribute","_subjectUriDecs","_paneDecs","_relevantPanesDecs","_soloPaneDecs","_editorDecs","_isDirtyDecs","_valueDecs","context","FileExplorerProvider","constructor","args","_classPrivateFieldInitSpec","_initProto","_init_context","_init_subjectUri","_init_pane","_init_relevantPanes","_init_soloPane","_init_editor","_init_isDirty","_init_value","_defineProperty","editor","undefined","_classPrivateFieldGet","v","_classPrivateFieldSet","subjectUri","pane","relevantPanes","soloPane","isDirty","value","willUpdate","store","session","canEdit","registerEditor","beginEditing","setDirty","dirty","render","_FileExplorerProvider2","e","c","_initClass","_applyDecs","default","customElement","property","state","provide","fileExplorerContext","WebComponent","require_WebComponent","require_context","_lit_context","lit_decorators_js","lit_html","_FileExplorerProvider2","_initProto","_initClass","_classDecs","_contextDecs","_init_context","_subjectUriDecs","_init_subjectUri","_paneDecs","_init_pane","_relevantPanesDecs","_init_relevantPanes","_soloPaneDecs","_init_soloPane","_editorDecs","_init_editor","_isDirtyDecs","_init_isDirty","_valueDecs","_init_value","_ref","_defineProperty","_toPropertyKey","r","t","_classPrivateFieldInitSpec","_checkPrivateRedeclaration","a","_classPrivateFieldSet","s","_assertClassBrand","_classPrivateFieldGet","_applyDecs","i","n","o","c","applyDec","m","h","y","v","g","b","u","w","S","A","d","f","p","_setFunctionName","P","j","D","I","F","l","N","_checkInRHS","_toPrimitive","e","_FileExplorerProvider","_A","_B","_C","_D","_E","_F","_G","_H","args","editor","dirty"],"sources":["../../../src/components/file-explorer-provider/FileExplorerProvider.ts"],"sourcesContent":["import { html } from 'lit-html'\nimport { provide } from '@lit/context'\nimport { customElement, property, state } from 'lit/decorators.js'\nimport { DataBrowserContext, PaneDefinition } from 'pane-registry'\nimport { WebComponent } from '@/lib/components'\nimport { FileExplorerContext, FileExplorerEditor, fileExplorerContext } from '@/lib/file-explorer/context'\n\n@customElement('solid-ui-file-explorer-provider')\nexport default class FileExplorerProvider extends WebComponent {\n @property({ attribute: false })\n accessor context: DataBrowserContext | undefined\n\n @property({ attribute: false })\n accessor subjectUri: string | undefined\n\n @property({ attribute: false })\n accessor pane: PaneDefinition | undefined\n\n @property({ attribute: false })\n accessor relevantPanes: PaneDefinition[] = []\n\n @property({ attribute: false })\n accessor soloPane: boolean | undefined\n\n @state() private accessor editor: FileExplorerEditor | undefined\n @state() private accessor isDirty = false\n\n @provide({ context: fileExplorerContext })\n accessor value!: FileExplorerContext\n\n private registerEditor = (editor: FileExplorerEditor) => {\n this.editor = editor\n return () => { if (this.editor === editor) this.editor = undefined }\n }\n\n protected willUpdate () {\n this.value = {\n store: this.context?.session.store,\n subjectUri: this.subjectUri,\n pane: this.pane,\n isDirty: this.isDirty,\n canEdit: !!this.editor,\n registerEditor: this.registerEditor,\n beginEditing: () => { this.editor?.beginEditing() },\n setDirty: (dirty) => { this.isDirty = dirty }\n }\n }\n\n render () {\n return html`<slot></slot>`\n }\n}\n"],"mappings":"A,o2IAK0GO,EAAA,EAAA,EAEzGL,EAAAA,cAAAA,CAAc,iCAAiC,CAAC,EAAA,IAAAM,EAAAC,EAAA,IAAAC,QAAAC,EAA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QACdK,QAAS,CAAC,CAAC,KAAKd,OAChBe,eAAgB,KAAKA,eACrBC,iBAAoB,CAAE,KAAKhB,QAAQgB,aAAa,CAAE,EAClDC,SAAWC,GAAU,CAAE,KAAKT,QAAUS,CAAM,CAC9C,CACF,CAEAC,QAAU,CACR,MAAO9D,GAAAA,IAAI,eACb,CACF,EAAC,CAAAgE,EAAA,CAAA9B,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAR,GAAAgC,EAAA,CAAAzD,EAAA0D,IAAAC,EAAAJ,EAAA,CAAA,CAAA5C,EAAA,EAAA,SAAA,EAAA,CAAAE,EAAA,EAAA,YAAA,EAAA,CAAAC,EAAA,EAAA,MAAA,EAAA,CAAAC,EAAA,EAAA,eAAA,EAAA,CAAAC,EAAA,EAAA,UAAA,EAAA,CAAAC,EAAA,EAAA,QAAA,EAAA,CAAAC,EAAA,EAAA,SAAA,EAAA,CAAAC,EAAA,EAAA,OAAA,CAAA,EAAApB,EAAA,EAAA,IAAA,GA3CiDF,EAAAA,OAAY,EAAA6D,EAAA,E"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { DataBrowserContext, PaneDefinition } from 'pane-registry';
|
|
2
|
+
import { WebComponent } from '../../lib/components';
|
|
3
|
+
import { FileExplorerContext } from '../../lib/file-explorer/context';
|
|
4
|
+
export default class FileExplorerProvider extends WebComponent {
|
|
5
|
+
accessor context: DataBrowserContext | undefined;
|
|
6
|
+
accessor subjectUri: string | undefined;
|
|
7
|
+
accessor pane: PaneDefinition | undefined;
|
|
8
|
+
accessor relevantPanes: PaneDefinition[];
|
|
9
|
+
accessor soloPane: boolean | undefined;
|
|
10
|
+
private accessor editor;
|
|
11
|
+
private accessor isDirty;
|
|
12
|
+
accessor value: FileExplorerContext;
|
|
13
|
+
private registerEditor;
|
|
14
|
+
protected willUpdate(): void;
|
|
15
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=FileExplorerProvider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FileExplorerProvider.d.ts","sourceRoot":"","sources":["../../../src/components/file-explorer-provider/FileExplorerProvider.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,kBAAkB,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AAClE,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAA;AAC/C,OAAO,EAAE,mBAAmB,EAA2C,MAAM,6BAA6B,CAAA;AAG1G,MAAM,CAAC,OAAO,OAAO,oBAAqB,SAAQ,YAAY;IAE5D,QAAQ,CAAC,OAAO,EAAE,kBAAkB,GAAG,SAAS,CAAA;IAGhD,QAAQ,CAAC,UAAU,EAAE,MAAM,GAAG,SAAS,CAAA;IAGvC,QAAQ,CAAC,IAAI,EAAE,cAAc,GAAG,SAAS,CAAA;IAGzC,QAAQ,CAAC,aAAa,EAAE,cAAc,EAAE,CAAK;IAG7C,QAAQ,CAAC,QAAQ,EAAE,OAAO,GAAG,SAAS,CAAA;IAE7B,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAgC;IACvD,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAQ;IAGzC,QAAQ,CAAC,KAAK,EAAG,mBAAmB,CAAA;IAEpC,OAAO,CAAC,cAAc,CAGrB;IAED,SAAS,CAAC,UAAU;IAapB,MAAM;CAGP"}
|