@veltdev/react 4.5.2-beta.12 → 4.5.2-beta.13
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 +20 -6
- package/cjs/index.js.map +1 -1
- package/cjs/types/components/SnippylyRecorderControlPanel/SnippylyRecorderControlPanel.d.ts +2 -0
- package/cjs/types/components/SnippylyRecorderTool/SnippylyRecorderTool.d.ts +2 -0
- package/cjs/types/components/VeltRecorderControlPanelWireframe/VeltRecorderControlPanelActionBarWireframe/VeltRecorderControlPanelActionBarPipWireframe/VeltRecorderControlPanelActionBarPipWireframe.d.ts +8 -0
- package/cjs/types/components/VeltRecorderControlPanelWireframe/VeltRecorderControlPanelActionBarWireframe/VeltRecorderControlPanelActionBarPipWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltRecorderControlPanelWireframe/VeltRecorderControlPanelActionBarWireframe/VeltRecorderControlPanelActionBarWireframe.d.ts +2 -0
- package/cjs/types/components/VeltRecordingPreviewStepsDialogWireframe/VeltRecordingPreviewStepsDialogScreenPlayerWireframe/VeltRecordingPreviewStepsDialogScreenPlayerWireframe.d.ts +8 -0
- package/cjs/types/components/VeltRecordingPreviewStepsDialogWireframe/VeltRecordingPreviewStepsDialogScreenPlayerWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltRecordingPreviewStepsDialogWireframe/VeltRecordingPreviewStepsDialogVideoWireframe/VeltRecordingPreviewStepsDialogVideoWireframe.d.ts +2 -0
- package/cjs/types/constants.d.ts +1 -1
- package/esm/index.js +20 -6
- package/esm/index.js.map +1 -1
- package/esm/types/components/SnippylyRecorderControlPanel/SnippylyRecorderControlPanel.d.ts +2 -0
- package/esm/types/components/SnippylyRecorderTool/SnippylyRecorderTool.d.ts +2 -0
- package/esm/types/components/VeltRecorderControlPanelWireframe/VeltRecorderControlPanelActionBarWireframe/VeltRecorderControlPanelActionBarPipWireframe/VeltRecorderControlPanelActionBarPipWireframe.d.ts +8 -0
- package/esm/types/components/VeltRecorderControlPanelWireframe/VeltRecorderControlPanelActionBarWireframe/VeltRecorderControlPanelActionBarPipWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltRecorderControlPanelWireframe/VeltRecorderControlPanelActionBarWireframe/VeltRecorderControlPanelActionBarWireframe.d.ts +2 -0
- package/esm/types/components/VeltRecordingPreviewStepsDialogWireframe/VeltRecordingPreviewStepsDialogScreenPlayerWireframe/VeltRecordingPreviewStepsDialogScreenPlayerWireframe.d.ts +8 -0
- package/esm/types/components/VeltRecordingPreviewStepsDialogWireframe/VeltRecordingPreviewStepsDialogScreenPlayerWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltRecordingPreviewStepsDialogWireframe/VeltRecordingPreviewStepsDialogVideoWireframe/VeltRecordingPreviewStepsDialogVideoWireframe.d.ts +2 -0
- package/esm/types/constants.d.ts +1 -1
- package/index.d.ts +16 -0
- package/package.json +1 -1
package/cjs/index.js
CHANGED
|
@@ -145,13 +145,13 @@ var loadVelt = function (callback, version, staging, develop, proxyDomain, integ
|
|
|
145
145
|
}
|
|
146
146
|
};
|
|
147
147
|
|
|
148
|
-
var VELT_SDK_VERSION = '4.5.2-beta.
|
|
148
|
+
var VELT_SDK_VERSION = '4.5.2-beta.13';
|
|
149
149
|
var VELT_SDK_INIT_EVENT = 'onVeltInit';
|
|
150
150
|
var VELT_TAB_ID = 'veltTabId';
|
|
151
151
|
// integrity map for the Velt SDK
|
|
152
152
|
// Note: generate integrity hashes with: https://www.srihash.org/
|
|
153
153
|
var INTEGRITY_MAP = {
|
|
154
|
-
'4.5.2-beta.
|
|
154
|
+
'4.5.2-beta.13': 'sha384-9fs09QQnU0co3WsdHf2mQriSxbEKITWuSF6zSus29XbBJYrOZTR27Duzwq27MWFO',
|
|
155
155
|
};
|
|
156
156
|
|
|
157
157
|
var SnippylyProvider = function (props) {
|
|
@@ -629,7 +629,7 @@ var SnippylyPresence = function (props) {
|
|
|
629
629
|
};
|
|
630
630
|
|
|
631
631
|
var SnippylyRecorderControlPanel = function (props) {
|
|
632
|
-
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;
|
|
632
|
+
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;
|
|
633
633
|
var ref = React.useRef();
|
|
634
634
|
var onRecordedDataRef = React.useRef(onRecordedData);
|
|
635
635
|
// Update the ref to always point to the latest callback function
|
|
@@ -655,7 +655,7 @@ var SnippylyRecorderControlPanel = function (props) {
|
|
|
655
655
|
}
|
|
656
656
|
};
|
|
657
657
|
}, []);
|
|
658
|
-
return (React__default["default"].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 }));
|
|
658
|
+
return (React__default["default"].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 }));
|
|
659
659
|
};
|
|
660
660
|
|
|
661
661
|
var SnippylyRecorderNotes = function (props) {
|
|
@@ -694,8 +694,8 @@ var SnippylyRecorderPlayer = function (props) {
|
|
|
694
694
|
};
|
|
695
695
|
|
|
696
696
|
var SnippylyRecorderTool = function (props) {
|
|
697
|
-
var type = props.type, panelId = props.panelId, buttonLabel = props.buttonLabel, children = props.children, darkMode = props.darkMode, shadowDom = props.shadowDom, recordingCountdown = props.recordingCountdown, variant = props.variant, retakeOnVideoEditor = props.retakeOnVideoEditor;
|
|
698
|
-
return (React__default["default"].createElement("velt-recorder-tool", { type: type, "panel-id": panelId, "button-label": buttonLabel, "dark-mode": [true, false].includes(darkMode) ? (darkMode ? 'true' : 'false') : undefined, "shadow-dom": [true, false].includes(shadowDom) ? (shadowDom ? 'true' : 'false') : undefined, "retake-on-video-editor": [true, false].includes(retakeOnVideoEditor) ? (retakeOnVideoEditor ? 'true' : 'false') : undefined, variant: variant, "recording-countdown": [true, false].includes(recordingCountdown) ? (recordingCountdown ? 'true' : 'false') : undefined }, children));
|
|
697
|
+
var type = props.type, panelId = props.panelId, buttonLabel = props.buttonLabel, children = props.children, darkMode = props.darkMode, shadowDom = props.shadowDom, recordingCountdown = props.recordingCountdown, variant = props.variant, retakeOnVideoEditor = props.retakeOnVideoEditor, pictureInPicture = props.pictureInPicture, maxLength = props.maxLength;
|
|
698
|
+
return (React__default["default"].createElement("velt-recorder-tool", { type: type, "panel-id": panelId, "button-label": buttonLabel, "dark-mode": [true, false].includes(darkMode) ? (darkMode ? 'true' : 'false') : undefined, "shadow-dom": [true, false].includes(shadowDom) ? (shadowDom ? 'true' : 'false') : undefined, "retake-on-video-editor": [true, false].includes(retakeOnVideoEditor) ? (retakeOnVideoEditor ? 'true' : 'false') : undefined, variant: variant, "recording-countdown": [true, false].includes(recordingCountdown) ? (recordingCountdown ? 'true' : 'false') : undefined, "picture-in-picture": [true, false].includes(pictureInPicture) ? (pictureInPicture ? 'true' : 'false') : undefined, "max-length": maxLength }, children));
|
|
699
699
|
};
|
|
700
700
|
|
|
701
701
|
var SnippylySidebarButton = function (props) {
|
|
@@ -4669,6 +4669,12 @@ var VeltRecordingPreviewStepsDialogVideoPlayerWireframe = function (props) {
|
|
|
4669
4669
|
return (React__default["default"].createElement("velt-recording-preview-steps-dialog-video-player-wireframe", __assign({}, transformedProps), children));
|
|
4670
4670
|
};
|
|
4671
4671
|
|
|
4672
|
+
var VeltRecordingPreviewStepsDialogScreenPlayerWireframe = function (props) {
|
|
4673
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
4674
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
4675
|
+
return (React__default["default"].createElement("velt-recording-preview-steps-dialog-screen-player-wireframe", __assign({}, transformedProps), children));
|
|
4676
|
+
};
|
|
4677
|
+
|
|
4672
4678
|
var VeltRecordingPreviewStepsDialogVideoWireframe = function (props) {
|
|
4673
4679
|
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
4674
4680
|
var transformedProps = transformWireframeProps(remainingProps);
|
|
@@ -4686,6 +4692,7 @@ VeltRecordingPreviewStepsDialogVideoWireframe.StartRecording = VeltRecordingPrev
|
|
|
4686
4692
|
VeltRecordingPreviewStepsDialogVideoWireframe.Timer = VeltRecordingPreviewStepsDialogTimerWireframe;
|
|
4687
4693
|
VeltRecordingPreviewStepsDialogVideoWireframe.VideoPlayer = VeltRecordingPreviewStepsDialogVideoPlayerWireframe;
|
|
4688
4694
|
VeltRecordingPreviewStepsDialogVideoWireframe.Waveform = VeltRecordingPreviewStepsDialogWaveformWireframe;
|
|
4695
|
+
VeltRecordingPreviewStepsDialogVideoWireframe.ScreenPlayer = VeltRecordingPreviewStepsDialogScreenPlayerWireframe;
|
|
4689
4696
|
|
|
4690
4697
|
var VeltRecordingPreviewStepsDialogWireframe = function (props) {
|
|
4691
4698
|
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
@@ -4757,6 +4764,12 @@ var VeltRecorderControlPanelActionBarTypeIconWireframe = function (props) {
|
|
|
4757
4764
|
return (React__default["default"].createElement("velt-recorder-control-panel-action-bar-type-icon-wireframe", __assign({}, transformedProps), children));
|
|
4758
4765
|
};
|
|
4759
4766
|
|
|
4767
|
+
var VeltRecorderControlPanelActionBarPipWireframe = function (props) {
|
|
4768
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
4769
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
4770
|
+
return (React__default["default"].createElement("velt-recorder-control-panel-action-bar-pip-wireframe", __assign({}, transformedProps), children));
|
|
4771
|
+
};
|
|
4772
|
+
|
|
4760
4773
|
var VeltRecorderControlPanelActionBarWireframe = function (props) {
|
|
4761
4774
|
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
4762
4775
|
var transformedProps = transformWireframeProps(remainingProps);
|
|
@@ -4768,6 +4781,7 @@ VeltRecorderControlPanelActionBarWireframe.Time = VeltRecorderControlPanelAction
|
|
|
4768
4781
|
VeltRecorderControlPanelActionBarWireframe.Toggle = VeltRecorderControlPanelActionBarToggleWireframe;
|
|
4769
4782
|
VeltRecorderControlPanelActionBarWireframe.TypeIcon = VeltRecorderControlPanelActionBarTypeIconWireframe;
|
|
4770
4783
|
VeltRecorderControlPanelActionBarWireframe.Waveform = VeltRecorderControlPanelActionBarWaveformWireframe;
|
|
4784
|
+
VeltRecorderControlPanelActionBarWireframe.Pip = VeltRecorderControlPanelActionBarPipWireframe;
|
|
4771
4785
|
|
|
4772
4786
|
var VeltRecorderControlPanelCollapsedButtonOffWireframe = function (props) {
|
|
4773
4787
|
var children = props.children, remainingProps = __rest(props, ["children"]);
|