{#if isShareModalOpen} (isShareModalOpen = false)} /> {/if} {#if isPageSettingsOpen} (isPageSettingsOpen = false)} onApply={handlePageSettings} currentSettings={parseSettings()} /> {/if} {#if isPresentationOpen} (isPresentationOpen = false)} /> {/if} {#if $commentsSidebarOpen && docId} ($commentsSidebarOpen = false)} /> {/if} {#if $versionHistoryOpen && docId} ($versionHistoryOpen = false)} /> {/if} {#if showInfoModal} showInfoModal = false} role="presentation" onkeydown={(e) => { if (e.key === "Enter") { showInfoModal = false; } }}> e.stopPropagation()} role="dialog" tabindex="-1" onkeydown={(e) => e.stopPropagation()}> {docInfo?.title || title} Type Document {#if docInfo?.created_at} Created At {new Date(docInfo.created_at).toLocaleString()} {/if} {#if docInfo?.updated_at} Last Modified {new Date(docInfo.updated_at).toLocaleString()} {/if} showInfoModal = false} class="px-5 py-2 text-sm font-medium text-white bg-blue-600 hover:bg-blue-700 rounded-lg transition-colors"> Close {/if} {#if showRenameModal} showRenameModal = false} role="presentation" onkeydown={(e) => { if (e.key === "Enter") { showRenameModal = false; } }}> e.stopPropagation()} role="dialog" tabindex="-1" onkeydown={(e) => e.stopPropagation()}> Rename showRenameModal = false} class="px-4 py-2 text-sm font-medium text-gray-700 hover:text-gray-900 dark:text-gray-300 dark:hover:text-white hover:bg-gray-100 dark:hover:bg-white/10 rounded-lg transition-colors"> Cancel Save {/if} {#if showDeleteModal} showDeleteModal = false} role="presentation" onkeydown={(e) => { if (e.key === "Enter") { showDeleteModal = false; } }}> e.stopPropagation()} role="dialog" tabindex="-1" onkeydown={(e) => e.stopPropagation()}> Delete Document Are you sure you want to delete this document? This action cannot be undone. showDeleteModal = false} class="px-4 py-2 text-sm font-medium text-gray-700 hover:text-gray-900 dark:text-gray-300 dark:hover:text-white hover:bg-gray-100 dark:hover:bg-white/10 rounded-lg transition-colors"> Cancel Delete {/if}
Type
Document
Created At
{new Date(docInfo.created_at).toLocaleString()}
Last Modified
{new Date(docInfo.updated_at).toLocaleString()}
Are you sure you want to delete this document? This action cannot be undone.