@veltdev/react 4.5.6 → 4.5.8-beta.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/cjs/index.js +6 -6
- package/cjs/index.js.map +1 -1
- package/cjs/types/components/SnippylyRecorderControlPanel/SnippylyRecorderControlPanel.d.ts +1 -0
- package/cjs/types/components/SnippylyRecorderNotes/SnippylyRecorderNotes.d.ts +1 -0
- package/cjs/types/constants.d.ts +1 -1
- package/esm/index.js +6 -6
- package/esm/index.js.map +1 -1
- package/esm/types/components/SnippylyRecorderControlPanel/SnippylyRecorderControlPanel.d.ts +1 -0
- package/esm/types/components/SnippylyRecorderNotes/SnippylyRecorderNotes.d.ts +1 -0
- package/esm/types/constants.d.ts +1 -1
- package/index.d.ts +2 -0
- package/package.json +1 -1
|
@@ -13,6 +13,7 @@ export interface IVeltRecorderControlPanelProps {
|
|
|
13
13
|
retakeOnVideoEditor?: boolean;
|
|
14
14
|
pictureInPicture?: boolean;
|
|
15
15
|
maxLength?: number;
|
|
16
|
+
videoEditorTimelinePreview?: boolean;
|
|
16
17
|
}
|
|
17
18
|
declare const SnippylyRecorderControlPanel: React.FC<IVeltRecorderControlPanelProps>;
|
|
18
19
|
export default SnippylyRecorderControlPanel;
|
|
@@ -5,6 +5,7 @@ export interface IVeltRecorderNotesProps extends React.DetailedHTMLProps<React.H
|
|
|
5
5
|
recordingCountdown?: boolean;
|
|
6
6
|
recordingTranscription?: boolean;
|
|
7
7
|
playVideoInFullScreen?: boolean;
|
|
8
|
+
videoEditorTimelinePreview?: boolean;
|
|
8
9
|
}
|
|
9
10
|
declare const SnippylyRecorderNotes: React.FC<IVeltRecorderNotesProps>;
|
|
10
11
|
export default SnippylyRecorderNotes;
|
package/cjs/types/constants.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const VELT_SDK_VERSION = "4.5.
|
|
2
|
+
export declare const VELT_SDK_VERSION = "4.5.8-beta.1";
|
|
3
3
|
export declare const VELT_SDK_INIT_EVENT = "onVeltInit";
|
|
4
4
|
export declare const VELT_TAB_ID = "veltTabId";
|
|
5
5
|
export declare const INTEGRITY_MAP: Record<string, string>;
|
package/esm/index.js
CHANGED
|
@@ -137,13 +137,13 @@ var loadVelt = function (callback, version, staging, develop, proxyDomain, integ
|
|
|
137
137
|
}
|
|
138
138
|
};
|
|
139
139
|
|
|
140
|
-
var VELT_SDK_VERSION = '4.5.
|
|
140
|
+
var VELT_SDK_VERSION = '4.5.8-beta.1';
|
|
141
141
|
var VELT_SDK_INIT_EVENT = 'onVeltInit';
|
|
142
142
|
var VELT_TAB_ID = 'veltTabId';
|
|
143
143
|
// integrity map for the Velt SDK
|
|
144
144
|
// Note: generate integrity hashes with: https://www.srihash.org/
|
|
145
145
|
var INTEGRITY_MAP = {
|
|
146
|
-
'4.5.
|
|
146
|
+
'4.5.8-beta.1': 'sha384-+sNtcwvxA+eblFHXgGVODgOuTrp7FtfzblVZIXjbiWxw9RMj/uNFPYc5F177rOCR',
|
|
147
147
|
};
|
|
148
148
|
|
|
149
149
|
var SnippylyProvider = function (props) {
|
|
@@ -628,7 +628,7 @@ var SnippylyPresence = function (props) {
|
|
|
628
628
|
};
|
|
629
629
|
|
|
630
630
|
var SnippylyRecorderControlPanel = function (props) {
|
|
631
|
-
var mode = props.mode, panelId = props.panelId, onRecordedData = props.onRecordedData, recordingCountdown = props.recordingCountdown, recordingTranscription = props.recordingTranscription, videoEditor = props.videoEditor, settingsEmbedded = props.settingsEmbedded, autoOpenVideoEditor = props.autoOpenVideoEditor, playVideoInFullScreen = props.playVideoInFullScreen, retakeOnVideoEditor = props.retakeOnVideoEditor, pictureInPicture = props.pictureInPicture, maxLength = props.maxLength;
|
|
631
|
+
var mode = props.mode, panelId = props.panelId, onRecordedData = props.onRecordedData, recordingCountdown = props.recordingCountdown, recordingTranscription = props.recordingTranscription, videoEditor = props.videoEditor, settingsEmbedded = props.settingsEmbedded, autoOpenVideoEditor = props.autoOpenVideoEditor, playVideoInFullScreen = props.playVideoInFullScreen, retakeOnVideoEditor = props.retakeOnVideoEditor, pictureInPicture = props.pictureInPicture, maxLength = props.maxLength, videoEditorTimelinePreview = props.videoEditorTimelinePreview;
|
|
632
632
|
var ref = useRef();
|
|
633
633
|
var onRecordedDataRef = useRef(onRecordedData);
|
|
634
634
|
// Update the ref to always point to the latest callback function
|
|
@@ -654,12 +654,12 @@ var SnippylyRecorderControlPanel = function (props) {
|
|
|
654
654
|
}
|
|
655
655
|
};
|
|
656
656
|
}, []);
|
|
657
|
-
return (React.createElement("velt-recorder-control-panel", { ref: ref, mode: mode, "panel-id": panelId, "retake-on-video-editor": [true, false].includes(retakeOnVideoEditor) ? (retakeOnVideoEditor ? 'true' : 'false') : undefined, "recording-countdown": [true, false].includes(recordingCountdown) ? (recordingCountdown ? 'true' : 'false') : undefined, "recording-transcription": [true, false].includes(recordingTranscription) ? (recordingTranscription ? 'true' : 'false') : undefined, "video-editor": [true, false].includes(videoEditor) ? (videoEditor ? 'true' : 'false') : undefined, "settings-embedded": [true, false].includes(settingsEmbedded) ? (settingsEmbedded ? 'true' : 'false') : undefined, "auto-open-video-editor": [true, false].includes(autoOpenVideoEditor) ? (autoOpenVideoEditor ? 'true' : 'false') : undefined, "play-video-in-full-screen": [true, false].includes(playVideoInFullScreen) ? (playVideoInFullScreen ? 'true' : 'false') : undefined, "picture-in-picture": [true, false].includes(pictureInPicture) ? (pictureInPicture ? 'true' : 'false') : undefined, "max-length": maxLength }));
|
|
657
|
+
return (React.createElement("velt-recorder-control-panel", { ref: ref, mode: mode, "panel-id": panelId, "retake-on-video-editor": [true, false].includes(retakeOnVideoEditor) ? (retakeOnVideoEditor ? 'true' : 'false') : undefined, "recording-countdown": [true, false].includes(recordingCountdown) ? (recordingCountdown ? 'true' : 'false') : undefined, "recording-transcription": [true, false].includes(recordingTranscription) ? (recordingTranscription ? 'true' : 'false') : undefined, "video-editor": [true, false].includes(videoEditor) ? (videoEditor ? 'true' : 'false') : undefined, "settings-embedded": [true, false].includes(settingsEmbedded) ? (settingsEmbedded ? 'true' : 'false') : undefined, "auto-open-video-editor": [true, false].includes(autoOpenVideoEditor) ? (autoOpenVideoEditor ? 'true' : 'false') : undefined, "play-video-in-full-screen": [true, false].includes(playVideoInFullScreen) ? (playVideoInFullScreen ? 'true' : 'false') : undefined, "picture-in-picture": [true, false].includes(pictureInPicture) ? (pictureInPicture ? 'true' : 'false') : undefined, "max-length": maxLength, "video-editor-timeline-preview": [true, false].includes(videoEditorTimelinePreview) ? (videoEditorTimelinePreview ? 'true' : 'false') : undefined }));
|
|
658
658
|
};
|
|
659
659
|
|
|
660
660
|
var SnippylyRecorderNotes = function (props) {
|
|
661
|
-
var shadowDom = props.shadowDom, children = props.children, videoEditor = props.videoEditor, recordingCountdown = props.recordingCountdown, recordingTranscription = props.recordingTranscription, playVideoInFullScreen = props.playVideoInFullScreen;
|
|
662
|
-
return (React.createElement("velt-recorder-notes", { "shadow-dom": [true, false].includes(shadowDom) ? (shadowDom ? 'true' : 'false') : undefined, "video-editor": [true, false].includes(videoEditor) ? (videoEditor ? 'true' : 'false') : undefined, "recording-countdown": [true, false].includes(recordingCountdown) ? (recordingCountdown ? 'true' : 'false') : undefined, "recording-transcription": [true, false].includes(recordingTranscription) ? (recordingTranscription ? 'true' : 'false') : undefined, "play-video-in-full-screen": [true, false].includes(playVideoInFullScreen) ? (playVideoInFullScreen ? 'true' : 'false') : undefined }, children));
|
|
661
|
+
var shadowDom = props.shadowDom, children = props.children, videoEditor = props.videoEditor, recordingCountdown = props.recordingCountdown, recordingTranscription = props.recordingTranscription, playVideoInFullScreen = props.playVideoInFullScreen, videoEditorTimelinePreview = props.videoEditorTimelinePreview;
|
|
662
|
+
return (React.createElement("velt-recorder-notes", { "shadow-dom": [true, false].includes(shadowDom) ? (shadowDom ? 'true' : 'false') : undefined, "video-editor": [true, false].includes(videoEditor) ? (videoEditor ? 'true' : 'false') : undefined, "recording-countdown": [true, false].includes(recordingCountdown) ? (recordingCountdown ? 'true' : 'false') : undefined, "recording-transcription": [true, false].includes(recordingTranscription) ? (recordingTranscription ? 'true' : 'false') : undefined, "play-video-in-full-screen": [true, false].includes(playVideoInFullScreen) ? (playVideoInFullScreen ? 'true' : 'false') : undefined, "video-editor-timeline-preview": [true, false].includes(videoEditorTimelinePreview) ? (videoEditorTimelinePreview ? 'true' : 'false') : undefined }, children));
|
|
663
663
|
};
|
|
664
664
|
|
|
665
665
|
var SnippylyRecorderPlayer = function (props) {
|