| 1 | import BookModel from "../../models/Book"; |
| 2 | import HtmlBookModel from "../../models/HtmlBook"; |
| 3 | export interface ReaderProps { |
| 4 | currentBook: BookModel; |
| 5 | percentage: number; |
| 6 | t: (title: string) => string; |
| 7 | htmlBook: HtmlBookModel; |
| 8 | isNavLocked: boolean; |
| 9 | isSettingLocked: boolean; |
| 10 | isConvertOpen: boolean; |
| 11 | isSpeechOpen: boolean; |
| 12 | isOpenPopupOptionDialog: boolean; |
| 13 | isSearch: boolean; |
| 14 | isAuthed: boolean; |
| 15 | isHidePageButton: boolean; |
| 16 | isSettingOpen: boolean; |
| 17 | isHideMenuButton: boolean; |
| 18 | isHideAudiobookButton: boolean; |
| 19 | isHideAIButton: boolean; |
| 20 | isHidePDFConvertButton: boolean; |
| 21 | isHideScaleButton: boolean; |
| 22 | readerMode: string; |
| 23 | scale: string; |
| 24 | handleFetchNotes: () => void; |
| 25 | handleReaderMode: (readerMode: string) => void; |
| 26 | handleConvertDialog: (isConvertOpen: boolean) => void; |
| 27 | handleSpeechDialog: (isSpeechOpen: boolean) => void; |
| 28 | handleMenuMode: (menuMode: string) => void; |
| 29 | handleOriginalText: (originalText: string) => void; |
| 30 | handleFetchBooks: () => void; |
| 31 | handleOpenMenu: (isOpen: boolean) => void; |
| 32 | handleFetchBookmarks: () => void; |
| 33 | handleFetchPercentage: (currentBook: BookModel) => void; |
| 34 | handleReadingBook: (book: BookModel) => void; |
| 35 | handleScale: (scale: string) => void; |
| 36 | renderBookFunc: () => void; |
| 37 | handleFetchAuthed: () => void; |
| 38 | handleFetchUserInfo: () => Promise<any>; |
| 39 | } |
| 40 | |
| 41 | export interface ReaderState { |
| 42 | isOpenRightPanel: boolean; |
nothing calls this directly
no outgoing calls
no test coverage detected