manucap 3.0.2 → 4.0.0
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.
- package/LICENSE +1 -1
- package/dist/indexLibrary.d.ts +7 -7
- package/dist/manucap/CompleteButton.d.ts +2 -2
- package/dist/manucap/CompleteButton.spec.d.ts +0 -1
- package/dist/manucap/CueListToolbar.d.ts +2 -2
- package/dist/manucap/CueListToolbar.spec.d.ts +0 -1
- package/dist/manucap/ManuCap.d.ts +2 -4
- package/dist/manucap/ManuCap.spec.d.ts +0 -1
- package/dist/manucap/common/DateTime.d.ts +1 -1
- package/dist/manucap/common/JoiError.d.ts +2 -2
- package/dist/manucap/cues/CueErrorAlert.d.ts +1 -1
- package/dist/manucap/cues/CueErrorAlert.spec.d.ts +0 -1
- package/dist/manucap/cues/CueErrorLine.d.ts +2 -2
- package/dist/manucap/cues/CueErrorLine.spec.d.ts +0 -1
- package/dist/manucap/cues/comments/CueComments.d.ts +2 -2
- package/dist/manucap/cues/comments/CueComments.spec.d.ts +0 -1
- package/dist/manucap/cues/comments/commentsSlices.d.ts +2 -2
- package/dist/manucap/cues/cueLine/CueActionsPanel.d.ts +2 -2
- package/dist/manucap/cues/cueLine/CueActionsPanel.spec.d.ts +0 -2
- package/dist/manucap/cues/cueLine/CueLine.d.ts +2 -2
- package/dist/manucap/cues/cueLine/CueLine.fake.children.spec.d.ts +0 -3
- package/dist/manucap/cues/cueLine/CueLineCounts.d.ts +2 -2
- package/dist/manucap/cues/cueLine/CueLineCounts.spec.d.ts +0 -2
- package/dist/manucap/cues/cueLine/CueLineFlap.d.ts +2 -2
- package/dist/manucap/cues/cueLine/CueLineFlap.spec.d.ts +0 -1
- package/dist/manucap/cues/cueLine/PlayCueButton.d.ts +2 -2
- package/dist/manucap/cues/cueLine/PlayCueButton.spec.d.ts +0 -2
- package/dist/manucap/cues/cueUtils.d.ts +1 -1
- package/dist/manucap/cues/cueUtils.spec.d.ts +0 -1
- package/dist/manucap/cues/cueVerifications.d.ts +2 -2
- package/dist/manucap/cues/cuesList/CuesList.d.ts +2 -2
- package/dist/manucap/cues/cuesList/CuesList.fake.line.spec.d.ts +0 -1
- package/dist/manucap/cues/cuesList/CuesList.spec.d.ts +0 -1
- package/dist/manucap/cues/cuesList/cuesListActions.d.ts +8 -9
- package/dist/manucap/cues/cuesList/cuesListActions.spec.d.ts +0 -1
- package/dist/manucap/cues/cuesList/cuesListScrollSlice.d.ts +6 -6
- package/dist/manucap/cues/cuesList/cuesListSlices.d.ts +24 -24
- package/dist/manucap/cues/cuesList/cuesListTestUtils.d.ts +1 -1
- package/dist/manucap/cues/cuesList/cuesListTimeMatching.d.ts +1 -1
- package/dist/manucap/cues/cuesList/useMatchedCuesAsCsv.d.ts +1 -1
- package/dist/manucap/cues/cuesList/useMatchedCuesAsCsv.spec.d.ts +0 -1
- package/dist/manucap/cues/edit/AddCueLineButton.d.ts +1 -1
- package/dist/manucap/cues/edit/AddCueLineButton.spec.d.ts +0 -2
- package/dist/manucap/cues/edit/CueCategoryButton.d.ts +2 -2
- package/dist/manucap/cues/edit/CueCategoryButton.spec.d.ts +0 -1
- package/dist/manucap/cues/edit/CueEdit.d.ts +2 -2
- package/dist/manucap/cues/edit/CueEdit.fake.debounce.spec.d.ts +0 -2
- package/dist/manucap/cues/edit/CueEdit.fake.editor.spec.d.ts +0 -2
- package/dist/manucap/cues/edit/CueExtraCharacters.d.ts +1 -1
- package/dist/manucap/cues/edit/CueExtraCharacters.spec.d.ts +0 -1
- package/dist/manucap/cues/edit/CueTextEditor.composition.spec.d.ts +0 -2
- package/dist/manucap/cues/edit/CueTextEditor.d.ts +3 -3
- package/dist/manucap/cues/edit/CueTextEditor.fake.debounce.spec.d.ts +0 -2
- package/dist/manucap/cues/edit/CueTextEditor.real.debounce.spec.d.ts +0 -2
- package/dist/manucap/cues/edit/CueTextEditor.spellcheck.keyboard.shortcuts.spec.d.ts +0 -2
- package/dist/manucap/cues/edit/DeleteCueLineButton.d.ts +1 -1
- package/dist/manucap/cues/edit/DeleteCueLineButton.spec.d.ts +0 -2
- package/dist/manucap/cues/edit/InlineStyleButton.d.ts +2 -2
- package/dist/manucap/cues/edit/InlineStyleButton.spec.d.ts +0 -1
- package/dist/manucap/cues/edit/PositionButton.d.ts +2 -2
- package/dist/manucap/cues/edit/PositionButton.spec.d.ts +0 -2
- package/dist/manucap/cues/edit/SplitCueLineButton.d.ts +1 -1
- package/dist/manucap/cues/edit/SplitCueLineButton.spec.d.ts +0 -2
- package/dist/manucap/cues/edit/TimeEditor.d.ts +1 -1
- package/dist/manucap/cues/edit/TimeEditor.spec.d.ts +0 -1
- package/dist/manucap/cues/edit/cueEditorSlices.d.ts +9 -9
- package/dist/manucap/cues/edit/cueEditorSlices.spec.d.ts +0 -1
- package/dist/manucap/cues/edit/cueTextConverter.d.ts +1 -1
- package/dist/manucap/cues/edit/editUtils.d.ts +1 -1
- package/dist/manucap/cues/merge/MergeEditor.d.ts +1 -1
- package/dist/manucap/cues/merge/MergeEditor.spec.d.ts +0 -1
- package/dist/manucap/cues/merge/mergeSlices.d.ts +7 -7
- package/dist/manucap/cues/saveCueDeleteSlices.d.ts +4 -4
- package/dist/manucap/cues/saveCueUpdateSlices.d.ts +5 -5
- package/dist/manucap/cues/saveSlices.d.ts +5 -5
- package/dist/manucap/cues/searchReplace/SearchReplaceEditor.d.ts +1 -1
- package/dist/manucap/cues/searchReplace/SearchReplaceEditor.spec.d.ts +0 -1
- package/dist/manucap/cues/searchReplace/SearchReplaceMatch.d.ts +1 -1
- package/dist/manucap/cues/searchReplace/SearchReplaceMatch.spec.d.ts +0 -1
- package/dist/manucap/cues/searchReplace/searchReplaceSlices.d.ts +11 -11
- package/dist/manucap/cues/spellCheck/SpellCheckIssue.d.ts +2 -2
- package/dist/manucap/cues/spellCheck/SpellCheckIssue.spec.d.ts +0 -1
- package/dist/manucap/cues/spellCheck/spellCheckFetch.d.ts +3 -3
- package/dist/manucap/cues/spellCheck/spellCheckerUtils.d.ts +1 -1
- package/dist/manucap/cues/spellCheck/spellCheckerUtils.spec.d.ts +0 -1
- package/dist/manucap/cues/view/ClickCueWrapper.d.ts +1 -1
- package/dist/manucap/cues/view/ClickCueWrapper.spec.d.ts +0 -2
- package/dist/manucap/cues/view/CueView.d.ts +2 -2
- package/dist/manucap/cues/view/CueView.spec.d.ts +0 -2
- package/dist/manucap/cues/view/InsertCueButton.d.ts +1 -1
- package/dist/manucap/cues/view/sourceCueSlices.d.ts +5 -5
- package/dist/manucap/cues/view/sourceCueSlices.spec.d.ts +0 -1
- package/dist/manucap/loadingIndicatorSlices.d.ts +2 -2
- package/dist/manucap/manuCapReducers.d.ts +43 -43
- package/dist/manucap/model.d.ts +1 -1
- package/dist/manucap/player/EditingVideoPlayer.d.ts +1 -1
- package/dist/manucap/player/EditingVideoPlayer.fake.player.spec.d.ts +0 -2
- package/dist/manucap/player/EditingVideoPlayer.spec.d.ts +0 -1
- package/dist/manucap/player/VideoPlayer.d.ts +5 -6
- package/dist/manucap/player/VideoPlayer.fake.player.spec.d.ts +0 -1
- package/dist/manucap/player/VideoPlayer.spec.d.ts +0 -1
- package/dist/manucap/player/VideoPlayer.wavesurfer.spec.d.ts +0 -1
- package/dist/manucap/player/playbackSlices.d.ts +5 -5
- package/dist/manucap/player/textTrackOptionsConversion.d.ts +2 -2
- package/dist/manucap/player/waveformSlices.d.ts +2 -2
- package/dist/manucap/spellcheckerSettingsSlice.d.ts +2 -2
- package/dist/manucap/toolbox/CaptionOverlapToggle.d.ts +2 -2
- package/dist/manucap/toolbox/CaptionOverlapToggle.spec.d.ts +0 -1
- package/dist/manucap/toolbox/CueCommentsToggle.d.ts +1 -1
- package/dist/manucap/toolbox/CueCommentsToggle.spec.d.ts +0 -1
- package/dist/manucap/toolbox/ImportTrackCuesButton.d.ts +1 -1
- package/dist/manucap/toolbox/ImportTrackCuesButton.spec.d.ts +0 -1
- package/dist/manucap/toolbox/MergeCuesButton.d.ts +1 -1
- package/dist/manucap/toolbox/MergeCuesButton.spec.d.ts +0 -1
- package/dist/manucap/toolbox/SeachReplaceButton.spec.d.ts +0 -1
- package/dist/manucap/toolbox/SearchReplaceButton.d.ts +1 -1
- package/dist/manucap/toolbox/SyncCuesButton.d.ts +1 -1
- package/dist/manucap/toolbox/SyncCuesButton.spec.d.ts +0 -1
- package/dist/manucap/toolbox/TimecodesLockToggle.d.ts +1 -1
- package/dist/manucap/toolbox/TimecodesLockToggle.spec.d.ts +0 -1
- package/dist/manucap/toolbox/ToggleButton.d.ts +1 -1
- package/dist/manucap/toolbox/ToggleButton.spec.d.ts +0 -1
- package/dist/manucap/toolbox/Toolbox.d.ts +2 -2
- package/dist/manucap/toolbox/Toolbox.spec.d.ts +0 -1
- package/dist/manucap/toolbox/WaveformToggle.d.ts +1 -1
- package/dist/manucap/toolbox/WaveformToggle.spec.d.ts +0 -1
- package/dist/manucap/toolbox/captionSpecifications/CaptionSpecificationsButton.d.ts +1 -1
- package/dist/manucap/toolbox/captionSpecifications/CaptionSpecificationsButton.spec.d.ts +0 -2
- package/dist/manucap/toolbox/captionSpecifications/CaptionSpecificationsForm.d.ts +2 -2
- package/dist/manucap/toolbox/captionSpecifications/CaptionSpecificationsForm.spec.d.ts +0 -1
- package/dist/manucap/toolbox/captionSpecifications/CaptionSpecificationsModal.d.ts +1 -1
- package/dist/manucap/toolbox/captionSpecifications/CaptionSpecificationsModal.spec.d.ts +0 -1
- package/dist/manucap/toolbox/captionSpecifications/captionSpecificationSlice.d.ts +6 -6
- package/dist/manucap/toolbox/captionSpecifications/captionSpecificationSlice.spec.d.ts +0 -1
- package/dist/manucap/toolbox/export/ExportSourceTrackCuesButton.d.ts +1 -1
- package/dist/manucap/toolbox/export/ExportSourceTrackCuesButton.spec.d.ts +0 -1
- package/dist/manucap/toolbox/export/ExportTrackCuesButton.d.ts +2 -2
- package/dist/manucap/toolbox/export/ExportTrackCuesButton.spec.d.ts +0 -1
- package/dist/manucap/toolbox/keyboardShortcuts/KeyboardShortcutLabel.d.ts +1 -1
- package/dist/manucap/toolbox/keyboardShortcuts/KeyboardShortcutLabel.spec.d.ts +0 -1
- package/dist/manucap/toolbox/keyboardShortcuts/KeyboardShortcuts.d.ts +1 -1
- package/dist/manucap/toolbox/keyboardShortcuts/KeyboardShortcuts.spec.d.ts +0 -1
- package/dist/manucap/toolbox/keyboardShortcuts/KeyboardShortcutsModal.d.ts +0 -1
- package/dist/manucap/toolbox/shift/ShiftTimeButton.d.ts +1 -1
- package/dist/manucap/toolbox/shift/ShiftTimeButton.spec.d.ts +0 -1
- package/dist/manucap/toolbox/shift/ShiftTimeModal.d.ts +1 -1
- package/dist/manucap/toolbox/shift/ShiftTimeModal.spec.d.ts +0 -2
- package/dist/manucap/trackSlices.d.ts +5 -5
- package/dist/manucap/userSlices.d.ts +5 -5
- package/dist/manucap/utils/manuCapUtils.d.ts +1 -1
- package/dist/manucap/utils/shortcutConstants.d.ts +1 -1
- package/dist/manucap/utils/timeUtils.spec.d.ts +0 -1
- package/dist/manucap.css +1 -0
- package/dist/manucap.js +303 -0
- package/dist/manucap.mjs +82889 -0
- package/dist/testUtils/testUtils.d.ts +4 -3
- package/dist/testUtils/testingStore.d.ts +2 -2
- package/package.json +29 -39
- package/dist/@types/index.d.ts +0 -62
- package/dist/dist.css +0 -3727
- package/dist/index.d.ts +0 -4
- package/dist/index.js +0 -209323
- package/dist/index.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "../../../testUtils/initBrowserEnvironment";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { PayloadAction } from
|
|
2
|
-
import { AppThunk } from
|
|
3
|
-
import { CuesWithRowIndex } from
|
|
4
|
-
export declare const mergeVisibleSlice: import(
|
|
1
|
+
import { PayloadAction } from '@reduxjs/toolkit';
|
|
2
|
+
import { AppThunk } from '../../manuCapReducers';
|
|
3
|
+
import { CuesWithRowIndex } from '../../model';
|
|
4
|
+
export declare const mergeVisibleSlice: import('@reduxjs/toolkit').Slice<boolean, {
|
|
5
5
|
setMergeVisible: (_state: boolean, action: PayloadAction<boolean>) => boolean;
|
|
6
6
|
}, "mergeVisible">;
|
|
7
7
|
export declare const showMerge: (visible: boolean) => AppThunk;
|
|
8
|
-
export declare const rowsToMergeSlice: import(
|
|
9
|
-
addRowCues: (state: import(
|
|
10
|
-
removeRowCues: (state: import(
|
|
8
|
+
export declare const rowsToMergeSlice: import('@reduxjs/toolkit').Slice<CuesWithRowIndex[], {
|
|
9
|
+
addRowCues: (state: import('immer/dist/internal').WritableDraft<CuesWithRowIndex>[], action: PayloadAction<CuesWithRowIndex>) => void;
|
|
10
|
+
removeRowCues: (state: import('immer/dist/internal').WritableDraft<CuesWithRowIndex>[], action: PayloadAction<CuesWithRowIndex>) => void;
|
|
11
11
|
}, "rowsToMerge">;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { PayloadAction } from
|
|
2
|
-
import { CueDto, SaveTrackCue } from
|
|
1
|
+
import { PayloadAction } from '@reduxjs/toolkit';
|
|
2
|
+
import { CueDto, SaveTrackCue } from '../model';
|
|
3
3
|
export interface SaveCueDelete {
|
|
4
4
|
deleteCue: ((trackCue: SaveTrackCue) => void) | null;
|
|
5
5
|
}
|
|
6
|
-
export declare const saveCueDeleteSlice: import(
|
|
7
|
-
setDeleteCueCallback: (state: import(
|
|
6
|
+
export declare const saveCueDeleteSlice: import('@reduxjs/toolkit').Slice<SaveCueDelete, {
|
|
7
|
+
setDeleteCueCallback: (state: import('immer/dist/internal').WritableDraft<SaveCueDelete>, action: {
|
|
8
8
|
payload: (trackCue: SaveTrackCue) => void;
|
|
9
9
|
type: string;
|
|
10
10
|
}) => void;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { PayloadAction } from
|
|
2
|
-
import { SaveTrackCue } from
|
|
3
|
-
import { AppThunk } from
|
|
1
|
+
import { PayloadAction } from '@reduxjs/toolkit';
|
|
2
|
+
import { SaveTrackCue } from '../model';
|
|
3
|
+
import { AppThunk } from '../manuCapReducers';
|
|
4
4
|
export interface SaveCueUpdateCallback {
|
|
5
5
|
updateCue: ((trackCue: SaveTrackCue) => void) | null;
|
|
6
6
|
}
|
|
7
|
-
export declare const saveCueUpdateSlice: import(
|
|
8
|
-
setUpdateCueCallback: (state: import(
|
|
7
|
+
export declare const saveCueUpdateSlice: import('@reduxjs/toolkit').Slice<SaveCueUpdateCallback, {
|
|
8
|
+
setUpdateCueCallback: (state: import('immer/dist/internal').WritableDraft<SaveCueUpdateCallback>, action: {
|
|
9
9
|
payload: (trackCue: SaveTrackCue) => void;
|
|
10
10
|
type: string;
|
|
11
11
|
}) => void;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { PayloadAction } from
|
|
2
|
-
import { AppThunk } from
|
|
3
|
-
import { Dispatch } from
|
|
4
|
-
import { CueDto, ManuCapAction, Track } from
|
|
1
|
+
import { PayloadAction } from '@reduxjs/toolkit';
|
|
2
|
+
import { AppThunk } from '../manuCapReducers';
|
|
3
|
+
import { Dispatch } from 'react';
|
|
4
|
+
import { CueDto, ManuCapAction, Track } from '../model';
|
|
5
5
|
interface SaveActionWithPayload extends ManuCapAction {
|
|
6
6
|
cues: CueDto[];
|
|
7
7
|
editingTrack: Track | null;
|
|
8
8
|
shouldCreateNewVersion: boolean;
|
|
9
9
|
}
|
|
10
|
-
export declare const saveTrackSlice: import(
|
|
10
|
+
export declare const saveTrackSlice: import('@reduxjs/toolkit').Slice<Function | null, {
|
|
11
11
|
set: (_state: Function | null, action: PayloadAction<Function>) => Function;
|
|
12
12
|
call: (state: Function | null, action: PayloadAction<SaveActionWithPayload>) => Function | null;
|
|
13
13
|
}, "callSaveTrack">;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "../../../testUtils/initBrowserEnvironment";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "../../../testUtils/initBrowserEnvironment";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { PayloadAction } from
|
|
2
|
-
import { AppThunk } from
|
|
3
|
-
import { SearchDirection, SearchReplace, SearchReplaceIndices } from
|
|
4
|
-
export declare const searchReplaceVisibleSlice: import(
|
|
1
|
+
import { PayloadAction } from '@reduxjs/toolkit';
|
|
2
|
+
import { AppThunk } from '../../manuCapReducers';
|
|
3
|
+
import { SearchDirection, SearchReplace, SearchReplaceIndices } from './model';
|
|
4
|
+
export declare const searchReplaceVisibleSlice: import('@reduxjs/toolkit').Slice<boolean, {
|
|
5
5
|
setSearchReplaceVisible: (_state: boolean, action: PayloadAction<boolean>) => boolean;
|
|
6
6
|
}, "searchReplaceVisible">;
|
|
7
|
-
export declare const searchReplaceSlice: import(
|
|
8
|
-
setFind: (_state: import(
|
|
9
|
-
setReplacement: (_state: import(
|
|
10
|
-
setMatchCase: (_state: import(
|
|
11
|
-
setDirection: (_state: import(
|
|
12
|
-
replaceMatchSignal: (state: import(
|
|
13
|
-
setIndices: (state: import(
|
|
7
|
+
export declare const searchReplaceSlice: import('@reduxjs/toolkit').Slice<SearchReplace, {
|
|
8
|
+
setFind: (_state: import('immer/dist/internal').WritableDraft<SearchReplace>, action: PayloadAction<string>) => void;
|
|
9
|
+
setReplacement: (_state: import('immer/dist/internal').WritableDraft<SearchReplace>, action: PayloadAction<string>) => void;
|
|
10
|
+
setMatchCase: (_state: import('immer/dist/internal').WritableDraft<SearchReplace>, action: PayloadAction<boolean>) => void;
|
|
11
|
+
setDirection: (_state: import('immer/dist/internal').WritableDraft<SearchReplace>, action: PayloadAction<SearchDirection>) => void;
|
|
12
|
+
replaceMatchSignal: (state: import('immer/dist/internal').WritableDraft<SearchReplace>, action: PayloadAction<string>) => void;
|
|
13
|
+
setIndices: (state: import('immer/dist/internal').WritableDraft<SearchReplace>, action: PayloadAction<SearchReplaceIndices>) => void;
|
|
14
14
|
}, "searchReplace">;
|
|
15
15
|
export declare const setFind: (find: string) => AppThunk;
|
|
16
16
|
export declare const setReplacement: (replacement: string) => AppThunk;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "../../../testUtils/initBrowserEnvironment";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SpellCheck } from
|
|
2
|
-
import { SpellcheckerSettings, ManuCapAction } from
|
|
3
|
-
import { Dispatch } from
|
|
1
|
+
import { SpellCheck } from './model';
|
|
2
|
+
import { SpellcheckerSettings, ManuCapAction } from '../../model';
|
|
3
|
+
import { Dispatch } from 'react';
|
|
4
4
|
export declare const addSpellCheck: (dispatch: Dispatch<ManuCapAction | void>, index: number, spellCheck: SpellCheck, trackId?: string) => void;
|
|
5
5
|
export declare const fetchSpellCheck: (text: string, spellCheckerSettings: SpellcheckerSettings, language: string) => Promise<SpellCheck>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Match } from
|
|
1
|
+
import { Match } from './model';
|
|
2
2
|
export declare const getMatchText: (match: Match) => string;
|
|
3
3
|
export declare const generateSpellcheckHash: (keyword: string, ruleId: string) => string;
|
|
4
4
|
export declare const addIgnoredKeyword: (trackId: string, keyword: string, ruleId: string) => void;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "../../../testUtils/initBrowserEnvironment";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { PayloadAction } from
|
|
2
|
-
import { CueDto, ManuCapAction } from
|
|
3
|
-
import { AppThunk } from
|
|
1
|
+
import { PayloadAction } from '@reduxjs/toolkit';
|
|
2
|
+
import { CueDto, ManuCapAction } from '../../model';
|
|
3
|
+
import { AppThunk } from '../../manuCapReducers';
|
|
4
4
|
interface CuesAction extends ManuCapAction {
|
|
5
5
|
cues: CueDto[];
|
|
6
6
|
}
|
|
7
|
-
export declare const sourceCuesSlice: import(
|
|
8
|
-
updateSourceCues: (_state: import(
|
|
7
|
+
export declare const sourceCuesSlice: import('@reduxjs/toolkit').Slice<CueDto[], {
|
|
8
|
+
updateSourceCues: (_state: import('immer/dist/internal').WritableDraft<CueDto>[], action: PayloadAction<CuesAction>) => CueDto[];
|
|
9
9
|
}, "sourceCues">;
|
|
10
10
|
export declare const updateSourceCues: (cues: CueDto[]) => AppThunk;
|
|
11
11
|
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "video.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { LoadingIndicator } from
|
|
2
|
-
export declare const loadingIndicatorSlices: import(
|
|
1
|
+
import { LoadingIndicator } from './model';
|
|
2
|
+
export declare const loadingIndicatorSlices: import('@reduxjs/toolkit').Slice<LoadingIndicator, {}, "loadingIndicator">;
|
|
@@ -1,59 +1,59 @@
|
|
|
1
|
-
import { Action } from
|
|
2
|
-
import { ThunkAction } from
|
|
1
|
+
import { Action } from '@reduxjs/toolkit';
|
|
2
|
+
import { ThunkAction } from 'redux-thunk';
|
|
3
3
|
export declare const Reducers: {
|
|
4
|
-
cues: import(
|
|
5
|
-
editingTrack: import(
|
|
6
|
-
captionSpecifications: import(
|
|
7
|
-
sourceCues: import(
|
|
8
|
-
videoSectionToPlay: import(
|
|
9
|
-
loadingIndicator: import(
|
|
10
|
-
saveTrack: import(
|
|
11
|
-
saveCueUpdate: import(
|
|
12
|
-
saveCueDelete: import(
|
|
13
|
-
spellCheckerSettings: import(
|
|
14
|
-
searchReplace: import(
|
|
15
|
-
searchReplaceVisible: import(
|
|
16
|
-
mergeVisible: import(
|
|
17
|
-
rowsToMerge: import(
|
|
18
|
-
captionUser: import(
|
|
19
|
-
editingCueIndex: import(
|
|
20
|
-
lastCueChange: import(
|
|
21
|
-
validationErrors: import(
|
|
22
|
-
focusedCueIndex: import(
|
|
23
|
-
matchedCues: import(
|
|
24
|
-
currentPlayerTime: import(
|
|
25
|
-
commentsVisible: import(
|
|
26
|
-
waveformVisible: import(
|
|
27
|
-
currentCueErrorIndex: import(
|
|
28
|
-
focusedInput: import(
|
|
4
|
+
cues: import('redux').Reducer<import('./model').CueDto[], import('redux').AnyAction>;
|
|
5
|
+
editingTrack: import('redux').Reducer<import('./model').Track | null, import('redux').AnyAction>;
|
|
6
|
+
captionSpecifications: import('redux').Reducer<import('./toolbox/model').CaptionSpecification | null, import('redux').AnyAction>;
|
|
7
|
+
sourceCues: import('redux').Reducer<import('./model').CueDto[], import('redux').AnyAction>;
|
|
8
|
+
videoSectionToPlay: import('redux').Reducer<import('./player/playbackSlices').PlayVideoAction, import('redux').AnyAction>;
|
|
9
|
+
loadingIndicator: import('redux').Reducer<import('./model').LoadingIndicator, import('redux').AnyAction>;
|
|
10
|
+
saveTrack: import('redux').Reducer<Function | null, import('redux').AnyAction>;
|
|
11
|
+
saveCueUpdate: import('redux').Reducer<import('./cues/saveCueUpdateSlices').SaveCueUpdateCallback, import('redux').AnyAction>;
|
|
12
|
+
saveCueDelete: import('redux').Reducer<import('./cues/saveCueDeleteSlices').SaveCueDelete, import('redux').AnyAction>;
|
|
13
|
+
spellCheckerSettings: import('redux').Reducer<any, import('redux').AnyAction>;
|
|
14
|
+
searchReplace: import('redux').Reducer<import('./cues/searchReplace/model').SearchReplace, import('redux').AnyAction>;
|
|
15
|
+
searchReplaceVisible: import('redux').Reducer<boolean, import('redux').AnyAction>;
|
|
16
|
+
mergeVisible: import('redux').Reducer<boolean, import('redux').AnyAction>;
|
|
17
|
+
rowsToMerge: import('redux').Reducer<import('./model').CuesWithRowIndex[], import('redux').AnyAction>;
|
|
18
|
+
captionUser: import('redux').Reducer<import('./model').User | null, import('redux').AnyAction>;
|
|
19
|
+
editingCueIndex: import('redux').Reducer<number, import('redux').AnyAction>;
|
|
20
|
+
lastCueChange: import('redux').Reducer<import('./model').CueChange | null, import('redux').AnyAction>;
|
|
21
|
+
validationErrors: import('redux').Reducer<import('./model').CueError[], import('redux').AnyAction>;
|
|
22
|
+
focusedCueIndex: import('redux').Reducer<number | null, import('redux').AnyAction>;
|
|
23
|
+
matchedCues: import('redux').Reducer<import('./cues/cuesList/cuesListTimeMatching').MatchedCuesWithEditingFocus, import('redux').AnyAction>;
|
|
24
|
+
currentPlayerTime: import('redux').Reducer<number, import('redux').AnyAction>;
|
|
25
|
+
commentsVisible: import('redux').Reducer<boolean, import('redux').AnyAction>;
|
|
26
|
+
waveformVisible: import('redux').Reducer<boolean, import('redux').AnyAction>;
|
|
27
|
+
currentCueErrorIndex: import('redux').Reducer<number, import('redux').AnyAction>;
|
|
28
|
+
focusedInput: import('redux').Reducer<"EDITOR" | "START_TIME", import('redux').AnyAction>;
|
|
29
29
|
};
|
|
30
|
-
declare const manuCapReducers: import(
|
|
31
|
-
cues: import(
|
|
32
|
-
editingTrack: import(
|
|
33
|
-
captionSpecifications: import(
|
|
34
|
-
sourceCues: import(
|
|
35
|
-
videoSectionToPlay: import(
|
|
36
|
-
loadingIndicator: import(
|
|
30
|
+
declare const manuCapReducers: import('redux').Reducer<import('redux').CombinedState<{
|
|
31
|
+
cues: import('./model').CueDto[];
|
|
32
|
+
editingTrack: import('./model').Track | null;
|
|
33
|
+
captionSpecifications: import('./toolbox/model').CaptionSpecification | null;
|
|
34
|
+
sourceCues: import('./model').CueDto[];
|
|
35
|
+
videoSectionToPlay: import('./player/playbackSlices').PlayVideoAction;
|
|
36
|
+
loadingIndicator: import('./model').LoadingIndicator;
|
|
37
37
|
saveTrack: Function | null;
|
|
38
|
-
saveCueUpdate: import(
|
|
39
|
-
saveCueDelete: import(
|
|
38
|
+
saveCueUpdate: import('./cues/saveCueUpdateSlices').SaveCueUpdateCallback;
|
|
39
|
+
saveCueDelete: import('./cues/saveCueDeleteSlices').SaveCueDelete;
|
|
40
40
|
spellCheckerSettings: any;
|
|
41
|
-
searchReplace: import(
|
|
41
|
+
searchReplace: import('./cues/searchReplace/model').SearchReplace;
|
|
42
42
|
searchReplaceVisible: boolean;
|
|
43
43
|
mergeVisible: boolean;
|
|
44
|
-
rowsToMerge: import(
|
|
45
|
-
captionUser: import(
|
|
44
|
+
rowsToMerge: import('./model').CuesWithRowIndex[];
|
|
45
|
+
captionUser: import('./model').User | null;
|
|
46
46
|
editingCueIndex: number;
|
|
47
|
-
lastCueChange: import(
|
|
48
|
-
validationErrors: import(
|
|
47
|
+
lastCueChange: import('./model').CueChange | null;
|
|
48
|
+
validationErrors: import('./model').CueError[];
|
|
49
49
|
focusedCueIndex: number | null;
|
|
50
|
-
matchedCues: import(
|
|
50
|
+
matchedCues: import('./cues/cuesList/cuesListTimeMatching').MatchedCuesWithEditingFocus;
|
|
51
51
|
currentPlayerTime: number;
|
|
52
52
|
commentsVisible: boolean;
|
|
53
53
|
waveformVisible: boolean;
|
|
54
54
|
currentCueErrorIndex: number;
|
|
55
55
|
focusedInput: "EDITOR" | "START_TIME";
|
|
56
|
-
}>, import(
|
|
56
|
+
}>, import('redux').AnyAction>;
|
|
57
57
|
export default manuCapReducers;
|
|
58
58
|
export declare type ManuCapState = ReturnType<typeof manuCapReducers>;
|
|
59
59
|
/**
|
package/dist/manucap/model.d.ts
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "../../testUtils/initBrowserEnvironment";
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { CueChange, CueDto, LanguageCues, Track } from '../model';
|
|
2
|
+
import { VideoJsPlayer } from 'video.js';
|
|
3
|
+
import { ReactElement } from 'react';
|
|
4
|
+
import { PlayVideoAction } from './playbackSlices';
|
|
5
|
+
import { default as WaveSurfer } from 'wavesurfer.js';
|
|
5
6
|
import * as React from "react";
|
|
6
|
-
import { PlayVideoAction } from "./playbackSlices";
|
|
7
|
-
import WaveSurfer from "wavesurfer.js";
|
|
8
7
|
export interface Props {
|
|
9
8
|
mp4: string;
|
|
10
9
|
poster: string;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "../../testUtils/initBrowserEnvironment";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "../../testUtils/initBrowserEnvironment";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "../../testUtils/initBrowserEnvironment";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { PayloadAction } from
|
|
2
|
-
import { AppThunk } from
|
|
3
|
-
import { ManuCapAction } from
|
|
1
|
+
import { PayloadAction } from '@reduxjs/toolkit';
|
|
2
|
+
import { AppThunk } from '../manuCapReducers';
|
|
3
|
+
import { ManuCapAction } from '../model';
|
|
4
4
|
export interface PlayVideoAction extends ManuCapAction {
|
|
5
5
|
startTime: number;
|
|
6
6
|
endTime?: number;
|
|
7
7
|
}
|
|
8
|
-
export declare const playVideoSectionSlice: import(
|
|
9
|
-
playVideoSectionSlice: (_state: import(
|
|
8
|
+
export declare const playVideoSectionSlice: import('@reduxjs/toolkit').Slice<PlayVideoAction, {
|
|
9
|
+
playVideoSectionSlice: (_state: import('immer/dist/internal').WritableDraft<PlayVideoAction>, action: PayloadAction<PlayVideoAction>) => PlayVideoAction;
|
|
10
10
|
}, "playVideoSection">;
|
|
11
11
|
export declare const playVideoSection: (startTime: number, endTime?: number) => AppThunk;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { Track } from
|
|
2
|
-
import videojs from
|
|
1
|
+
import { Track } from '../model';
|
|
2
|
+
import { default as videojs } from 'video.js';
|
|
3
3
|
export declare const convertToTextTrackOptions: (track: Track) => videojs.TextTrackOptions;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PayloadAction } from
|
|
2
|
-
export declare const waveformVisibleSlice: import(
|
|
1
|
+
import { PayloadAction } from '@reduxjs/toolkit';
|
|
2
|
+
export declare const waveformVisibleSlice: import('@reduxjs/toolkit').Slice<boolean, {
|
|
3
3
|
setWaveformVisible: (_state: boolean, action: PayloadAction<boolean>) => boolean;
|
|
4
4
|
}, "waveformVisible">;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Slice } from
|
|
2
|
-
import { AppThunk } from
|
|
1
|
+
import { Slice } from '@reduxjs/toolkit';
|
|
2
|
+
import { AppThunk } from './manuCapReducers';
|
|
3
3
|
export declare const spellcheckerSettingsSlice: Slice;
|
|
4
4
|
export declare const setSpellCheckDomain: (spellCheckDomain: string | null | undefined) => AppThunk;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { MouseEvent, ReactElement } from
|
|
2
|
-
import { SaveState } from
|
|
1
|
+
import { MouseEvent, ReactElement } from 'react';
|
|
2
|
+
import { SaveState } from '../model';
|
|
3
3
|
interface Props {
|
|
4
4
|
onClick: (event: MouseEvent<HTMLElement>) => void;
|
|
5
5
|
saveState: SaveState;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "../../testUtils/initBrowserEnvironment";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "../../testUtils/initBrowserEnvironment";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "../../testUtils/initBrowserEnvironment";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "../../testUtils/initBrowserEnvironment";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "../../testUtils/initBrowserEnvironment";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "../../testUtils/initBrowserEnvironment";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "../../testUtils/initBrowserEnvironment";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "../../testUtils/initBrowserEnvironment";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ReactElement } from
|
|
2
|
-
import { SaveState, Track } from
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
import { SaveState, Track } from '../model';
|
|
3
3
|
interface Props {
|
|
4
4
|
handleExportFile: (trackVersionExport: Track | null) => void;
|
|
5
5
|
handleExportSourceFile: () => void;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "../../testUtils/initBrowserEnvironment";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "../../testUtils/initBrowserEnvironment";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "../../../testUtils/initBrowserEnvironment";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "../../../testUtils/initBrowserEnvironment";
|