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.
Files changed (163) hide show
  1. package/LICENSE +1 -1
  2. package/dist/indexLibrary.d.ts +7 -7
  3. package/dist/manucap/CompleteButton.d.ts +2 -2
  4. package/dist/manucap/CompleteButton.spec.d.ts +0 -1
  5. package/dist/manucap/CueListToolbar.d.ts +2 -2
  6. package/dist/manucap/CueListToolbar.spec.d.ts +0 -1
  7. package/dist/manucap/ManuCap.d.ts +2 -4
  8. package/dist/manucap/ManuCap.spec.d.ts +0 -1
  9. package/dist/manucap/common/DateTime.d.ts +1 -1
  10. package/dist/manucap/common/JoiError.d.ts +2 -2
  11. package/dist/manucap/cues/CueErrorAlert.d.ts +1 -1
  12. package/dist/manucap/cues/CueErrorAlert.spec.d.ts +0 -1
  13. package/dist/manucap/cues/CueErrorLine.d.ts +2 -2
  14. package/dist/manucap/cues/CueErrorLine.spec.d.ts +0 -1
  15. package/dist/manucap/cues/comments/CueComments.d.ts +2 -2
  16. package/dist/manucap/cues/comments/CueComments.spec.d.ts +0 -1
  17. package/dist/manucap/cues/comments/commentsSlices.d.ts +2 -2
  18. package/dist/manucap/cues/cueLine/CueActionsPanel.d.ts +2 -2
  19. package/dist/manucap/cues/cueLine/CueActionsPanel.spec.d.ts +0 -2
  20. package/dist/manucap/cues/cueLine/CueLine.d.ts +2 -2
  21. package/dist/manucap/cues/cueLine/CueLine.fake.children.spec.d.ts +0 -3
  22. package/dist/manucap/cues/cueLine/CueLineCounts.d.ts +2 -2
  23. package/dist/manucap/cues/cueLine/CueLineCounts.spec.d.ts +0 -2
  24. package/dist/manucap/cues/cueLine/CueLineFlap.d.ts +2 -2
  25. package/dist/manucap/cues/cueLine/CueLineFlap.spec.d.ts +0 -1
  26. package/dist/manucap/cues/cueLine/PlayCueButton.d.ts +2 -2
  27. package/dist/manucap/cues/cueLine/PlayCueButton.spec.d.ts +0 -2
  28. package/dist/manucap/cues/cueUtils.d.ts +1 -1
  29. package/dist/manucap/cues/cueUtils.spec.d.ts +0 -1
  30. package/dist/manucap/cues/cueVerifications.d.ts +2 -2
  31. package/dist/manucap/cues/cuesList/CuesList.d.ts +2 -2
  32. package/dist/manucap/cues/cuesList/CuesList.fake.line.spec.d.ts +0 -1
  33. package/dist/manucap/cues/cuesList/CuesList.spec.d.ts +0 -1
  34. package/dist/manucap/cues/cuesList/cuesListActions.d.ts +8 -9
  35. package/dist/manucap/cues/cuesList/cuesListActions.spec.d.ts +0 -1
  36. package/dist/manucap/cues/cuesList/cuesListScrollSlice.d.ts +6 -6
  37. package/dist/manucap/cues/cuesList/cuesListSlices.d.ts +24 -24
  38. package/dist/manucap/cues/cuesList/cuesListTestUtils.d.ts +1 -1
  39. package/dist/manucap/cues/cuesList/cuesListTimeMatching.d.ts +1 -1
  40. package/dist/manucap/cues/cuesList/useMatchedCuesAsCsv.d.ts +1 -1
  41. package/dist/manucap/cues/cuesList/useMatchedCuesAsCsv.spec.d.ts +0 -1
  42. package/dist/manucap/cues/edit/AddCueLineButton.d.ts +1 -1
  43. package/dist/manucap/cues/edit/AddCueLineButton.spec.d.ts +0 -2
  44. package/dist/manucap/cues/edit/CueCategoryButton.d.ts +2 -2
  45. package/dist/manucap/cues/edit/CueCategoryButton.spec.d.ts +0 -1
  46. package/dist/manucap/cues/edit/CueEdit.d.ts +2 -2
  47. package/dist/manucap/cues/edit/CueEdit.fake.debounce.spec.d.ts +0 -2
  48. package/dist/manucap/cues/edit/CueEdit.fake.editor.spec.d.ts +0 -2
  49. package/dist/manucap/cues/edit/CueExtraCharacters.d.ts +1 -1
  50. package/dist/manucap/cues/edit/CueExtraCharacters.spec.d.ts +0 -1
  51. package/dist/manucap/cues/edit/CueTextEditor.composition.spec.d.ts +0 -2
  52. package/dist/manucap/cues/edit/CueTextEditor.d.ts +3 -3
  53. package/dist/manucap/cues/edit/CueTextEditor.fake.debounce.spec.d.ts +0 -2
  54. package/dist/manucap/cues/edit/CueTextEditor.real.debounce.spec.d.ts +0 -2
  55. package/dist/manucap/cues/edit/CueTextEditor.spellcheck.keyboard.shortcuts.spec.d.ts +0 -2
  56. package/dist/manucap/cues/edit/DeleteCueLineButton.d.ts +1 -1
  57. package/dist/manucap/cues/edit/DeleteCueLineButton.spec.d.ts +0 -2
  58. package/dist/manucap/cues/edit/InlineStyleButton.d.ts +2 -2
  59. package/dist/manucap/cues/edit/InlineStyleButton.spec.d.ts +0 -1
  60. package/dist/manucap/cues/edit/PositionButton.d.ts +2 -2
  61. package/dist/manucap/cues/edit/PositionButton.spec.d.ts +0 -2
  62. package/dist/manucap/cues/edit/SplitCueLineButton.d.ts +1 -1
  63. package/dist/manucap/cues/edit/SplitCueLineButton.spec.d.ts +0 -2
  64. package/dist/manucap/cues/edit/TimeEditor.d.ts +1 -1
  65. package/dist/manucap/cues/edit/TimeEditor.spec.d.ts +0 -1
  66. package/dist/manucap/cues/edit/cueEditorSlices.d.ts +9 -9
  67. package/dist/manucap/cues/edit/cueEditorSlices.spec.d.ts +0 -1
  68. package/dist/manucap/cues/edit/cueTextConverter.d.ts +1 -1
  69. package/dist/manucap/cues/edit/editUtils.d.ts +1 -1
  70. package/dist/manucap/cues/merge/MergeEditor.d.ts +1 -1
  71. package/dist/manucap/cues/merge/MergeEditor.spec.d.ts +0 -1
  72. package/dist/manucap/cues/merge/mergeSlices.d.ts +7 -7
  73. package/dist/manucap/cues/saveCueDeleteSlices.d.ts +4 -4
  74. package/dist/manucap/cues/saveCueUpdateSlices.d.ts +5 -5
  75. package/dist/manucap/cues/saveSlices.d.ts +5 -5
  76. package/dist/manucap/cues/searchReplace/SearchReplaceEditor.d.ts +1 -1
  77. package/dist/manucap/cues/searchReplace/SearchReplaceEditor.spec.d.ts +0 -1
  78. package/dist/manucap/cues/searchReplace/SearchReplaceMatch.d.ts +1 -1
  79. package/dist/manucap/cues/searchReplace/SearchReplaceMatch.spec.d.ts +0 -1
  80. package/dist/manucap/cues/searchReplace/searchReplaceSlices.d.ts +11 -11
  81. package/dist/manucap/cues/spellCheck/SpellCheckIssue.d.ts +2 -2
  82. package/dist/manucap/cues/spellCheck/SpellCheckIssue.spec.d.ts +0 -1
  83. package/dist/manucap/cues/spellCheck/spellCheckFetch.d.ts +3 -3
  84. package/dist/manucap/cues/spellCheck/spellCheckerUtils.d.ts +1 -1
  85. package/dist/manucap/cues/spellCheck/spellCheckerUtils.spec.d.ts +0 -1
  86. package/dist/manucap/cues/view/ClickCueWrapper.d.ts +1 -1
  87. package/dist/manucap/cues/view/ClickCueWrapper.spec.d.ts +0 -2
  88. package/dist/manucap/cues/view/CueView.d.ts +2 -2
  89. package/dist/manucap/cues/view/CueView.spec.d.ts +0 -2
  90. package/dist/manucap/cues/view/InsertCueButton.d.ts +1 -1
  91. package/dist/manucap/cues/view/sourceCueSlices.d.ts +5 -5
  92. package/dist/manucap/cues/view/sourceCueSlices.spec.d.ts +0 -1
  93. package/dist/manucap/loadingIndicatorSlices.d.ts +2 -2
  94. package/dist/manucap/manuCapReducers.d.ts +43 -43
  95. package/dist/manucap/model.d.ts +1 -1
  96. package/dist/manucap/player/EditingVideoPlayer.d.ts +1 -1
  97. package/dist/manucap/player/EditingVideoPlayer.fake.player.spec.d.ts +0 -2
  98. package/dist/manucap/player/EditingVideoPlayer.spec.d.ts +0 -1
  99. package/dist/manucap/player/VideoPlayer.d.ts +5 -6
  100. package/dist/manucap/player/VideoPlayer.fake.player.spec.d.ts +0 -1
  101. package/dist/manucap/player/VideoPlayer.spec.d.ts +0 -1
  102. package/dist/manucap/player/VideoPlayer.wavesurfer.spec.d.ts +0 -1
  103. package/dist/manucap/player/playbackSlices.d.ts +5 -5
  104. package/dist/manucap/player/textTrackOptionsConversion.d.ts +2 -2
  105. package/dist/manucap/player/waveformSlices.d.ts +2 -2
  106. package/dist/manucap/spellcheckerSettingsSlice.d.ts +2 -2
  107. package/dist/manucap/toolbox/CaptionOverlapToggle.d.ts +2 -2
  108. package/dist/manucap/toolbox/CaptionOverlapToggle.spec.d.ts +0 -1
  109. package/dist/manucap/toolbox/CueCommentsToggle.d.ts +1 -1
  110. package/dist/manucap/toolbox/CueCommentsToggle.spec.d.ts +0 -1
  111. package/dist/manucap/toolbox/ImportTrackCuesButton.d.ts +1 -1
  112. package/dist/manucap/toolbox/ImportTrackCuesButton.spec.d.ts +0 -1
  113. package/dist/manucap/toolbox/MergeCuesButton.d.ts +1 -1
  114. package/dist/manucap/toolbox/MergeCuesButton.spec.d.ts +0 -1
  115. package/dist/manucap/toolbox/SeachReplaceButton.spec.d.ts +0 -1
  116. package/dist/manucap/toolbox/SearchReplaceButton.d.ts +1 -1
  117. package/dist/manucap/toolbox/SyncCuesButton.d.ts +1 -1
  118. package/dist/manucap/toolbox/SyncCuesButton.spec.d.ts +0 -1
  119. package/dist/manucap/toolbox/TimecodesLockToggle.d.ts +1 -1
  120. package/dist/manucap/toolbox/TimecodesLockToggle.spec.d.ts +0 -1
  121. package/dist/manucap/toolbox/ToggleButton.d.ts +1 -1
  122. package/dist/manucap/toolbox/ToggleButton.spec.d.ts +0 -1
  123. package/dist/manucap/toolbox/Toolbox.d.ts +2 -2
  124. package/dist/manucap/toolbox/Toolbox.spec.d.ts +0 -1
  125. package/dist/manucap/toolbox/WaveformToggle.d.ts +1 -1
  126. package/dist/manucap/toolbox/WaveformToggle.spec.d.ts +0 -1
  127. package/dist/manucap/toolbox/captionSpecifications/CaptionSpecificationsButton.d.ts +1 -1
  128. package/dist/manucap/toolbox/captionSpecifications/CaptionSpecificationsButton.spec.d.ts +0 -2
  129. package/dist/manucap/toolbox/captionSpecifications/CaptionSpecificationsForm.d.ts +2 -2
  130. package/dist/manucap/toolbox/captionSpecifications/CaptionSpecificationsForm.spec.d.ts +0 -1
  131. package/dist/manucap/toolbox/captionSpecifications/CaptionSpecificationsModal.d.ts +1 -1
  132. package/dist/manucap/toolbox/captionSpecifications/CaptionSpecificationsModal.spec.d.ts +0 -1
  133. package/dist/manucap/toolbox/captionSpecifications/captionSpecificationSlice.d.ts +6 -6
  134. package/dist/manucap/toolbox/captionSpecifications/captionSpecificationSlice.spec.d.ts +0 -1
  135. package/dist/manucap/toolbox/export/ExportSourceTrackCuesButton.d.ts +1 -1
  136. package/dist/manucap/toolbox/export/ExportSourceTrackCuesButton.spec.d.ts +0 -1
  137. package/dist/manucap/toolbox/export/ExportTrackCuesButton.d.ts +2 -2
  138. package/dist/manucap/toolbox/export/ExportTrackCuesButton.spec.d.ts +0 -1
  139. package/dist/manucap/toolbox/keyboardShortcuts/KeyboardShortcutLabel.d.ts +1 -1
  140. package/dist/manucap/toolbox/keyboardShortcuts/KeyboardShortcutLabel.spec.d.ts +0 -1
  141. package/dist/manucap/toolbox/keyboardShortcuts/KeyboardShortcuts.d.ts +1 -1
  142. package/dist/manucap/toolbox/keyboardShortcuts/KeyboardShortcuts.spec.d.ts +0 -1
  143. package/dist/manucap/toolbox/keyboardShortcuts/KeyboardShortcutsModal.d.ts +0 -1
  144. package/dist/manucap/toolbox/shift/ShiftTimeButton.d.ts +1 -1
  145. package/dist/manucap/toolbox/shift/ShiftTimeButton.spec.d.ts +0 -1
  146. package/dist/manucap/toolbox/shift/ShiftTimeModal.d.ts +1 -1
  147. package/dist/manucap/toolbox/shift/ShiftTimeModal.spec.d.ts +0 -2
  148. package/dist/manucap/trackSlices.d.ts +5 -5
  149. package/dist/manucap/userSlices.d.ts +5 -5
  150. package/dist/manucap/utils/manuCapUtils.d.ts +1 -1
  151. package/dist/manucap/utils/shortcutConstants.d.ts +1 -1
  152. package/dist/manucap/utils/timeUtils.spec.d.ts +0 -1
  153. package/dist/manucap.css +1 -0
  154. package/dist/manucap.js +303 -0
  155. package/dist/manucap.mjs +82889 -0
  156. package/dist/testUtils/testUtils.d.ts +4 -3
  157. package/dist/testUtils/testingStore.d.ts +2 -2
  158. package/package.json +29 -39
  159. package/dist/@types/index.d.ts +0 -62
  160. package/dist/dist.css +0 -3727
  161. package/dist/index.d.ts +0 -4
  162. package/dist/index.js +0 -209323
  163. package/dist/index.js.map +0 -1
@@ -1 +0,0 @@
1
- import "../../../testUtils/initBrowserEnvironment";
@@ -1,11 +1,11 @@
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, {
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("@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;
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 "@reduxjs/toolkit";
2
- import { CueDto, SaveTrackCue } from "../model";
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("@reduxjs/toolkit").Slice<SaveCueDelete, {
7
- setDeleteCueCallback: (state: import("immer/dist/internal").WritableDraft<SaveCueDelete>, action: {
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 "@reduxjs/toolkit";
2
- import { SaveTrackCue } from "../model";
3
- import { AppThunk } from "../manuCapReducers";
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("@reduxjs/toolkit").Slice<SaveCueUpdateCallback, {
8
- setUpdateCueCallback: (state: import("immer/dist/internal").WritableDraft<SaveCueUpdateCallback>, action: {
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 "@reduxjs/toolkit";
2
- import { AppThunk } from "../manuCapReducers";
3
- import { Dispatch } from "react";
4
- import { CueDto, ManuCapAction, Track } from "../model";
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("@reduxjs/toolkit").Slice<Function | null, {
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,3 +1,3 @@
1
- import { ReactElement } from "react";
1
+ import { ReactElement } from 'react';
2
2
  declare const SearchReplaceEditor: () => ReactElement | null;
3
3
  export default SearchReplaceEditor;
@@ -1 +0,0 @@
1
- import "../../../testUtils/initBrowserEnvironment";
@@ -1,4 +1,4 @@
1
- import { ReactElement } from "react";
1
+ import { ReactElement } from 'react';
2
2
  interface Props {
3
3
  children: ReactElement;
4
4
  }
@@ -1 +0,0 @@
1
- import "../../../testUtils/initBrowserEnvironment";
@@ -1,16 +1,16 @@
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, {
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("@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;
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,5 +1,5 @@
1
- import { ReactElement, RefObject } from "react";
2
- import { SpellCheck } from "./model";
1
+ import { ReactElement, RefObject } from 'react';
2
+ import { SpellCheck } from './model';
3
3
  interface Props {
4
4
  children: ReactElement;
5
5
  spellCheck: SpellCheck;
@@ -1 +0,0 @@
1
- import "../../../testUtils/initBrowserEnvironment";
@@ -1,5 +1,5 @@
1
- import { SpellCheck } from "./model";
2
- import { SpellcheckerSettings, ManuCapAction } from "../../model";
3
- import { Dispatch } from "react";
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 "./model";
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,4 +1,4 @@
1
- import { ReactElement } from "react";
1
+ import { ReactElement } from 'react';
2
2
  export interface CueViewProps {
3
3
  targetCueIndex?: number;
4
4
  targetCuesLength: number;
@@ -1,2 +0,0 @@
1
- import "../../../testUtils/initBrowserEnvironment";
2
- import "video.js";
@@ -1,5 +1,5 @@
1
- import { ReactElement } from "react";
2
- import { CueDto, LanguageDirection } from "../../model";
1
+ import { ReactElement } from 'react';
2
+ import { CueDto, LanguageDirection } from '../../model';
3
3
  export interface CueViewProps {
4
4
  rowIndex: number;
5
5
  cue: CueDto;
@@ -1,2 +0,0 @@
1
- import "../../../testUtils/initBrowserEnvironment";
2
- import "video.js";
@@ -1,3 +1,3 @@
1
- import { ReactElement } from "react";
1
+ import { ReactElement } from 'react';
2
2
  declare const InsertCueButton: () => ReactElement;
3
3
  export default InsertCueButton;
@@ -1,11 +1,11 @@
1
- import { PayloadAction } from "@reduxjs/toolkit";
2
- import { CueDto, ManuCapAction } from "../../model";
3
- import { AppThunk } from "../../manuCapReducers";
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("@reduxjs/toolkit").Slice<CueDto[], {
8
- updateSourceCues: (_state: import("immer/dist/internal").WritableDraft<CueDto>[], action: PayloadAction<CuesAction>) => CueDto[];
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 "./model";
2
- export declare const loadingIndicatorSlices: import("@reduxjs/toolkit").Slice<LoadingIndicator, {}, "loadingIndicator">;
1
+ import { LoadingIndicator } from './model';
2
+ export declare const loadingIndicatorSlices: import('@reduxjs/toolkit').Slice<LoadingIndicator, {}, "loadingIndicator">;
@@ -1,59 +1,59 @@
1
- import { Action } from "@reduxjs/toolkit";
2
- import { ThunkAction } from "redux-thunk";
1
+ import { Action } from '@reduxjs/toolkit';
2
+ import { ThunkAction } from 'redux-thunk';
3
3
  export declare const Reducers: {
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>;
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("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;
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("./cues/saveCueUpdateSlices").SaveCueUpdateCallback;
39
- saveCueDelete: import("./cues/saveCueDeleteSlices").SaveCueDelete;
38
+ saveCueUpdate: import('./cues/saveCueUpdateSlices').SaveCueUpdateCallback;
39
+ saveCueDelete: import('./cues/saveCueDeleteSlices').SaveCueDelete;
40
40
  spellCheckerSettings: any;
41
- searchReplace: import("./cues/searchReplace/model").SearchReplace;
41
+ searchReplace: import('./cues/searchReplace/model').SearchReplace;
42
42
  searchReplaceVisible: boolean;
43
43
  mergeVisible: boolean;
44
- rowsToMerge: import("./model").CuesWithRowIndex[];
45
- captionUser: import("./model").User | null;
44
+ rowsToMerge: import('./model').CuesWithRowIndex[];
45
+ captionUser: import('./model').User | null;
46
46
  editingCueIndex: number;
47
- lastCueChange: import("./model").CueChange | null;
48
- validationErrors: import("./model").CueError[];
47
+ lastCueChange: import('./model').CueChange | null;
48
+ validationErrors: import('./model').CueError[];
49
49
  focusedCueIndex: number | null;
50
- matchedCues: import("./cues/cuesList/cuesListTimeMatching").MatchedCuesWithEditingFocus;
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("redux").AnyAction>;
56
+ }>, import('redux').AnyAction>;
57
57
  export default manuCapReducers;
58
58
  export declare type ManuCapState = ReturnType<typeof manuCapReducers>;
59
59
  /**
@@ -1,4 +1,4 @@
1
- import { SpellCheck } from "./cues/spellCheck/model";
1
+ import { SpellCheck } from './cues/spellCheck/model';
2
2
  export declare type TrackType = "CAPTION" | "TRANSLATION";
3
3
  export declare type LanguageDirection = "RTL" | "LTR";
4
4
  export interface Language {
@@ -1,4 +1,4 @@
1
- import { ReactElement } from "react";
1
+ import { ReactElement } from 'react';
2
2
  interface Props {
3
3
  mp4: string;
4
4
  poster: string;
@@ -1,2 +0,0 @@
1
- import "../../testUtils/initBrowserEnvironment";
2
- import "@testing-library/jest-dom/extend-expect";
@@ -1 +0,0 @@
1
- import "../../testUtils/initBrowserEnvironment";
@@ -1,10 +1,9 @@
1
- import "video.js/dist/video-js.css";
2
- import { CueChange, CueDto, LanguageCues, Track } from "../model";
3
- import { VideoJsPlayer } from "video.js";
4
- import { ReactElement } from "react";
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 "@reduxjs/toolkit";
2
- import { AppThunk } from "../manuCapReducers";
3
- import { ManuCapAction } from "../model";
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("@reduxjs/toolkit").Slice<PlayVideoAction, {
9
- playVideoSectionSlice: (_state: import("immer/dist/internal").WritableDraft<PlayVideoAction>, action: PayloadAction<PlayVideoAction>) => PlayVideoAction;
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 "../model";
2
- import videojs from "video.js";
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 "@reduxjs/toolkit";
2
- export declare const waveformVisibleSlice: import("@reduxjs/toolkit").Slice<boolean, {
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 "@reduxjs/toolkit";
2
- import { AppThunk } from "./manuCapReducers";
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 "react";
2
- import { SaveState } from "../model";
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,4 +1,4 @@
1
- import { MouseEvent, ReactElement } from "react";
1
+ import { MouseEvent, ReactElement } from 'react';
2
2
  interface Props {
3
3
  onClick: (event: MouseEvent<HTMLElement>) => void;
4
4
  }
@@ -1 +0,0 @@
1
- import "../../testUtils/initBrowserEnvironment";
@@ -1,4 +1,4 @@
1
- import { ReactElement } from "react";
1
+ import { ReactElement } from 'react';
2
2
  interface Props {
3
3
  handleImport: () => void;
4
4
  disabled?: boolean;
@@ -1 +0,0 @@
1
- import "../../testUtils/initBrowserEnvironment";
@@ -1,4 +1,4 @@
1
- import { MouseEvent, ReactElement } from "react";
1
+ import { MouseEvent, ReactElement } from 'react';
2
2
  interface Props {
3
3
  onClick: (event: MouseEvent<HTMLElement>) => void;
4
4
  }
@@ -1 +0,0 @@
1
- import "../../testUtils/initBrowserEnvironment";
@@ -1 +0,0 @@
1
- import "../../testUtils/initBrowserEnvironment";
@@ -1,3 +1,3 @@
1
- import { ReactElement } from "react";
1
+ import { ReactElement } from 'react';
2
2
  declare const SearchReplaceButton: () => ReactElement;
3
3
  export default SearchReplaceButton;
@@ -1,4 +1,4 @@
1
- import { MouseEvent, ReactElement } from "react";
1
+ import { MouseEvent, ReactElement } from 'react';
2
2
  interface Props {
3
3
  onClick: (event: MouseEvent<HTMLElement>) => void;
4
4
  }
@@ -1 +0,0 @@
1
- import "../../testUtils/initBrowserEnvironment";
@@ -1,4 +1,4 @@
1
- import { MouseEvent, ReactElement } from "react";
1
+ import { MouseEvent, ReactElement } from 'react';
2
2
  interface Props {
3
3
  onClick: (event: MouseEvent<HTMLElement>) => void;
4
4
  }
@@ -1 +0,0 @@
1
- import "../../testUtils/initBrowserEnvironment";
@@ -1,4 +1,4 @@
1
- import { FunctionComponent, MouseEvent, ReactElement } from "react";
1
+ import { FunctionComponent, MouseEvent, ReactElement } from 'react';
2
2
  interface Props {
3
3
  className?: string;
4
4
  onClick?: (event: MouseEvent<HTMLButtonElement>) => void;
@@ -1 +0,0 @@
1
- import "../../testUtils/initBrowserEnvironment";
@@ -1,5 +1,5 @@
1
- import { ReactElement } from "react";
2
- import { SaveState, Track } from "../model";
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,4 +1,4 @@
1
- import { MouseEvent, ReactElement } from "react";
1
+ import { MouseEvent, ReactElement } from 'react';
2
2
  interface Props {
3
3
  onClick: (event: MouseEvent<HTMLElement>) => void;
4
4
  }
@@ -1 +0,0 @@
1
- import "../../testUtils/initBrowserEnvironment";
@@ -1,3 +1,3 @@
1
- import { ReactElement } from "react";
1
+ import { ReactElement } from 'react';
2
2
  declare const CaptionSpecificationsButton: () => ReactElement;
3
3
  export default CaptionSpecificationsButton;
@@ -1,2 +0,0 @@
1
- import "../../../testUtils/initBrowserEnvironment";
2
- import "video.js";
@@ -1,5 +1,5 @@
1
- import { ReactElement } from "react";
2
- import { CaptionSpecification } from "../model";
1
+ import { ReactElement } from 'react';
2
+ import { CaptionSpecification } from '../model';
3
3
  export interface Props {
4
4
  captionSpecifications: CaptionSpecification;
5
5
  }
@@ -1 +0,0 @@
1
- import "../../../testUtils/initBrowserEnvironment";
@@ -1,4 +1,4 @@
1
- import { ReactElement } from "react";
1
+ import { ReactElement } from 'react';
2
2
  interface Props {
3
3
  show: boolean;
4
4
  onClose: () => void;
@@ -1 +0,0 @@
1
- import "../../../testUtils/initBrowserEnvironment";