- Updated the cloud synchronization logic in ImportLocal and Manager components to check for the 'isDisableAutoSync' setting before executing the sync function.
- Improved code readability by consolidating the conditional statements for synchronization.
- Ensured consistent behavior across components when handling book imports and synchronization.
- Added `toBlob` utility function to convert content strings to Blob objects with appropriate MIME types.
- Implemented `groupByBook` function to group notes and highlights by book name.
- Introduced `sanitizeFileName` function to replace illegal characters in file names with underscores.
- Created `convertNotesData` and `convertHighlightsData` functions to convert notes and highlights to various text formats.
- Updated `exportNotes` and `exportHighlights` functions to support exporting multiple books as ZIP files, including individual files for each book.
- Refactored PDF generation logic to handle multiple books and fallback to HTML if necessary.
- Improved overall code organization and readability.
- Updated zh-CN.json to include a new translation for "Recommended layout".
- Modified dropdownList.tsx to add "Recommended layout" option for book layout selection.
- Introduced kookit.min.css with comprehensive styling rules for various HTML elements, enhancing the visual presentation of content.
- Introduced Tufte CSS for enhanced typography and layout.
- Added Typebase CSS for foundational typography styles.
- Included Typo CSS for comprehensive typographic control and responsive design.
- Updated various components to remove checks for "DJVU" format, focusing solely on "PDF".
- Adjusted conditions in BookCardItem, BookCoverItem, BookListItem, and others to streamline format handling.
- Removed "DJVU" support from routing and supported formats.
- Ensured consistency across components regarding PDF handling and configuration checks.