lyrics-transcriber 0.44.0__py3-none-any.whl → 0.45.0__py3-none-any.whl
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.
- lyrics_transcriber/frontend/dist/assets/{index-DVoI6Z16.js → index-ZCT0s9MG.js} +2635 -1967
- lyrics_transcriber/frontend/dist/assets/index-ZCT0s9MG.js.map +1 -0
- lyrics_transcriber/frontend/dist/index.html +1 -1
- lyrics_transcriber/frontend/src/App.tsx +1 -1
- lyrics_transcriber/frontend/src/components/EditActionBar.tsx +68 -0
- lyrics_transcriber/frontend/src/components/EditModal.tsx +376 -303
- lyrics_transcriber/frontend/src/components/EditTimelineSection.tsx +373 -0
- lyrics_transcriber/frontend/src/components/EditWordList.tsx +308 -0
- lyrics_transcriber/frontend/src/components/Header.tsx +7 -7
- lyrics_transcriber/frontend/src/components/LyricsAnalyzer.tsx +458 -62
- lyrics_transcriber/frontend/src/components/TranscriptionView.tsx +7 -7
- lyrics_transcriber/frontend/src/components/WordDivider.tsx +4 -3
- lyrics_transcriber/frontend/src/components/shared/components/Word.tsx +1 -2
- lyrics_transcriber/frontend/src/components/shared/utils/keyboardHandlers.ts +68 -46
- lyrics_transcriber/frontend/tsconfig.tsbuildinfo +1 -1
- {lyrics_transcriber-0.44.0.dist-info → lyrics_transcriber-0.45.0.dist-info}/METADATA +1 -1
- {lyrics_transcriber-0.44.0.dist-info → lyrics_transcriber-0.45.0.dist-info}/RECORD +20 -18
- lyrics_transcriber/frontend/dist/assets/index-DVoI6Z16.js.map +0 -1
- lyrics_transcriber/frontend/src/components/GlobalSyncEditor.tsx +0 -675
- {lyrics_transcriber-0.44.0.dist-info → lyrics_transcriber-0.45.0.dist-info}/LICENSE +0 -0
- {lyrics_transcriber-0.44.0.dist-info → lyrics_transcriber-0.45.0.dist-info}/WHEEL +0 -0
- {lyrics_transcriber-0.44.0.dist-info → lyrics_transcriber-0.45.0.dist-info}/entry_points.txt +0 -0
@@ -3,7 +3,7 @@ import LockIcon from '@mui/icons-material/Lock'
|
|
3
3
|
import UploadFileIcon from '@mui/icons-material/UploadFile'
|
4
4
|
import TextSnippetIcon from '@mui/icons-material/TextSnippet'
|
5
5
|
import FindReplaceIcon from '@mui/icons-material/FindReplace'
|
6
|
-
import
|
6
|
+
import EditIcon from '@mui/icons-material/Edit'
|
7
7
|
import { CorrectionData } from '../types'
|
8
8
|
import CorrectionMetrics from './CorrectionMetrics'
|
9
9
|
import ModeSelector from './ModeSelector'
|
@@ -31,7 +31,7 @@ interface HeaderProps {
|
|
31
31
|
onHandlerClick?: (handler: string) => void
|
32
32
|
onAddLyrics?: () => void
|
33
33
|
onFindReplace?: () => void
|
34
|
-
|
34
|
+
onEditAll?: () => void
|
35
35
|
}
|
36
36
|
|
37
37
|
export default function Header({
|
@@ -49,7 +49,7 @@ export default function Header({
|
|
49
49
|
onHandlerClick,
|
50
50
|
onAddLyrics,
|
51
51
|
onFindReplace,
|
52
|
-
|
52
|
+
onEditAll,
|
53
53
|
}: HeaderProps) {
|
54
54
|
const theme = useTheme()
|
55
55
|
const isMobile = useMediaQuery(theme.breakpoints.down('md'))
|
@@ -254,15 +254,15 @@ export default function Header({
|
|
254
254
|
Find/Replace
|
255
255
|
</Button>
|
256
256
|
)}
|
257
|
-
{!isReadOnly &&
|
257
|
+
{!isReadOnly && onEditAll && (
|
258
258
|
<Button
|
259
259
|
variant="outlined"
|
260
260
|
size="small"
|
261
|
-
onClick={
|
262
|
-
startIcon={<
|
261
|
+
onClick={onEditAll}
|
262
|
+
startIcon={<EditIcon />}
|
263
263
|
sx={{ minWidth: 'fit-content', height: '32px' }}
|
264
264
|
>
|
265
|
-
Edit
|
265
|
+
Edit All
|
266
266
|
</Button>
|
267
267
|
)}
|
268
268
|
<AudioPlayer
|