{ if (e.detail === false) { onClose(); } }} >
{ if (fileUploadEnabled) { uploadFilesHandler(); } }} >
{$i18n.t('Upload Files')}
{ if (fileUploadEnabled) { if (!detectMobile()) { screenCaptureHandler(); } else { const cameraInputElement = document.getElementById('camera-input'); if (cameraInputElement) { cameraInputElement.click(); } } } }} >
{$i18n.t('Capture')}
{ if (fileUploadEnabled) { if (!detectMobile()) { screenCaptureHandler(); } else { const cameraInputElement = document.getElementById('camera-input'); if (cameraInputElement) { cameraInputElement.click(); } } } }} >
{$i18n.t('Attach Notes')}
{ if (fileUploadEnabled) { if (!detectMobile()) { screenCaptureHandler(); } else { const cameraInputElement = document.getElementById('camera-input'); if (cameraInputElement) { cameraInputElement.click(); } } } }} >
{$i18n.t('Attach Knowledge')}
{#if fileUploadEnabled} {#if $config?.features?.enable_google_drive_integration} { uploadGoogleDriveHandler(); }} >
{$i18n.t('Google Drive')}
{/if} {#if $config?.features?.enable_onedrive_integration}
{$i18n.t('Microsoft OneDrive')}
{ uploadOneDriveHandler('personal'); }} >
{$i18n.t('Microsoft OneDrive (personal)')}
{ uploadOneDriveHandler('organizations'); }} >
{$i18n.t('Microsoft OneDrive (work/school)')}
{$i18n.t('Includes SharePoint')}
{/if} {/if}