manucap 4.0.0 → 4.1.1
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/dist/indexLibrary.spec.d.ts +0 -1
- package/dist/manucap/cues/cueLine/CueLine.d.ts +2 -2
- package/dist/manucap/cues/cueLine/CueLine.real.children.spec.d.ts +0 -1
- package/dist/manucap/player/VideoPlayer.d.ts +4 -4
- package/dist/manucap/toolbox/ToggleButton.d.ts +2 -2
- package/dist/manucap/toolbox/keyboardShortcuts/KeyboardShortcutsModal.d.ts +1 -1
- package/dist/manucap.js +156 -141
- package/dist/manucap.mjs +22235 -20429
- package/dist/setupTests.d.ts +0 -0
- package/dist/testUtils/testUtils.d.ts +0 -2
- package/package.json +18 -34
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -11,8 +11,8 @@ export interface CueLineProps {
|
|
|
11
11
|
rowIndex: number;
|
|
12
12
|
data: CueLineDto;
|
|
13
13
|
rowProps: CueLineRowProps;
|
|
14
|
-
rowRef: React.RefObject<HTMLDivElement>;
|
|
14
|
+
rowRef: React.RefObject<HTMLDivElement | null>;
|
|
15
15
|
editDisabled?: boolean;
|
|
16
16
|
}
|
|
17
|
-
declare const _default: React.MemoExoticComponent<(props: CueLineProps) => ReactElement<
|
|
17
|
+
declare const _default: React.MemoExoticComponent<(props: CueLineProps) => ReactElement<unknown, string | React.JSXElementConstructor<any>>>;
|
|
18
18
|
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -4,7 +4,7 @@ import { ReactElement } from 'react';
|
|
|
4
4
|
import { PlayVideoAction } from './playbackSlices';
|
|
5
5
|
import { default as WaveSurfer } from 'wavesurfer.js';
|
|
6
6
|
import * as React from "react";
|
|
7
|
-
export interface
|
|
7
|
+
export interface VideoPlayerProps {
|
|
8
8
|
mp4: string;
|
|
9
9
|
poster: string;
|
|
10
10
|
waveform?: string;
|
|
@@ -21,7 +21,7 @@ export interface Props {
|
|
|
21
21
|
lastCueChange: CueChange | null;
|
|
22
22
|
trackFontSizePercent?: number;
|
|
23
23
|
}
|
|
24
|
-
declare class VideoPlayer extends React.Component<
|
|
24
|
+
declare class VideoPlayer extends React.Component<VideoPlayerProps> {
|
|
25
25
|
player: VideoJsPlayer;
|
|
26
26
|
private readonly videoNode?;
|
|
27
27
|
playSegmentPauseTimeout?: number;
|
|
@@ -29,9 +29,9 @@ declare class VideoPlayer extends React.Component<Props> {
|
|
|
29
29
|
wavesurfer: WaveSurfer;
|
|
30
30
|
private readonly waveformRef?;
|
|
31
31
|
private readonly waveformTimelineRef?;
|
|
32
|
-
constructor(props:
|
|
32
|
+
constructor(props: VideoPlayerProps);
|
|
33
33
|
componentDidMount(): void;
|
|
34
|
-
componentDidUpdate(prevProps:
|
|
34
|
+
componentDidUpdate(prevProps: VideoPlayerProps): void;
|
|
35
35
|
private loadWaveform;
|
|
36
36
|
private formatRegionTime;
|
|
37
37
|
private addRegion;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { MouseEvent, ReactElement } from 'react';
|
|
2
2
|
interface Props {
|
|
3
3
|
className?: string;
|
|
4
4
|
onClick?: (event: MouseEvent<HTMLButtonElement>) => void;
|
|
@@ -7,5 +7,5 @@ interface Props {
|
|
|
7
7
|
title?: string;
|
|
8
8
|
render: (toggle: boolean) => ReactElement;
|
|
9
9
|
}
|
|
10
|
-
declare const ToggleButton:
|
|
10
|
+
declare const ToggleButton: (props: Props) => import("react/jsx-runtime").JSX.Element;
|
|
11
11
|
export default ToggleButton;
|
|
@@ -2,5 +2,5 @@ interface Props {
|
|
|
2
2
|
onClose: () => void;
|
|
3
3
|
show: boolean;
|
|
4
4
|
}
|
|
5
|
-
declare const KeyboardShortcutsModal: ({ show, onClose }: Props) => JSX.Element;
|
|
5
|
+
declare const KeyboardShortcutsModal: ({ show, onClose }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
export default KeyboardShortcutsModal;
|