@veltdev/react 4.3.0-beta.5 → 4.3.0-beta.6
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 +152 -9
- package/cjs/index.js.map +1 -1
- package/cjs/types/components/SnippylyRecorderControlPanel/SnippylyRecorderControlPanel.d.ts +5 -1
- package/cjs/types/components/SnippylyRecorderNotes/SnippylyRecorderNotes.d.ts +2 -0
- package/cjs/types/components/SnippylyRecorderPlayer/SnippylyRecorderPlayer.d.ts +1 -0
- package/cjs/types/components/SnippylyRecorderTool/SnippylyRecorderTool.d.ts +3 -1
- package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerApplyButtonWireframe/VeltVideoEditorPlayerApplyButtonLoadingWireframe/VeltVideoEditorPlayerApplyButtonLoadingWireframe.d.ts +8 -0
- package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerApplyButtonWireframe/VeltVideoEditorPlayerApplyButtonLoadingWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerApplyButtonWireframe/VeltVideoEditorPlayerApplyButtonWireframe.d.ts +10 -0
- package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerApplyButtonWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerCloseButtonWireframe/VeltVideoEditorPlayerCloseButtonWireframe.d.ts +8 -0
- package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerCloseButtonWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerCurrentTimeWireframe/VeltVideoEditorPlayerCurrentTimeWireframe.d.ts +8 -0
- package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerCurrentTimeWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerDeleteButtonWireframe/VeltVideoEditorPlayerDeleteButtonWireframe.d.ts +8 -0
- package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerDeleteButtonWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerPreviewWireframe/VeltVideoEditorPlayerPreviewLoadingWireframe/VeltVideoEditorPlayerPreviewLoadingWireframe.d.ts +8 -0
- package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerPreviewWireframe/VeltVideoEditorPlayerPreviewLoadingWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerPreviewWireframe/VeltVideoEditorPlayerPreviewVideoWireframe/VeltVideoEditorPlayerPreviewVideoWireframe.d.ts +8 -0
- package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerPreviewWireframe/VeltVideoEditorPlayerPreviewVideoWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerPreviewWireframe/VeltVideoEditorPlayerPreviewWireframe.d.ts +12 -0
- package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerPreviewWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerSplitButtonWireframe/VeltVideoEditorPlayerSplitButtonWireframe.d.ts +8 -0
- package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerSplitButtonWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTimeWireframe/VeltVideoEditorPlayerTimeWireframe.d.ts +8 -0
- package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTimeWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTimelineWireframe/VeltVideoEditorPlayerTimelineWireframe.d.ts +8 -0
- package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTimelineWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTitleWireframe/VeltVideoEditorPlayerTitleWireframe.d.ts +8 -0
- package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTitleWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerToggleButtonWireframe/VeltVideoEditorPlayerToggleButtonWireframe.d.ts +8 -0
- package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerToggleButtonWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTotalTimeWireframe/VeltVideoEditorPlayerTotalTimeWireframe.d.ts +8 -0
- package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTotalTimeWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerWireframe.d.ts +30 -0
- package/cjs/types/components/VeltVideoEditorPlayerWireframe/index.d.ts +1 -0
- package/cjs/types/components/index.d.ts +1 -0
- package/cjs/types/constants.d.ts +1 -1
- package/cjs/types/hooks/RecorderElement.d.ts +6 -2
- package/cjs/types/hooks/index.d.ts +1 -1
- package/esm/index.js +151 -10
- package/esm/index.js.map +1 -1
- package/esm/types/components/SnippylyRecorderControlPanel/SnippylyRecorderControlPanel.d.ts +5 -1
- package/esm/types/components/SnippylyRecorderNotes/SnippylyRecorderNotes.d.ts +2 -0
- package/esm/types/components/SnippylyRecorderPlayer/SnippylyRecorderPlayer.d.ts +1 -0
- package/esm/types/components/SnippylyRecorderTool/SnippylyRecorderTool.d.ts +3 -1
- package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerApplyButtonWireframe/VeltVideoEditorPlayerApplyButtonLoadingWireframe/VeltVideoEditorPlayerApplyButtonLoadingWireframe.d.ts +8 -0
- package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerApplyButtonWireframe/VeltVideoEditorPlayerApplyButtonLoadingWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerApplyButtonWireframe/VeltVideoEditorPlayerApplyButtonWireframe.d.ts +10 -0
- package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerApplyButtonWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerCloseButtonWireframe/VeltVideoEditorPlayerCloseButtonWireframe.d.ts +8 -0
- package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerCloseButtonWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerCurrentTimeWireframe/VeltVideoEditorPlayerCurrentTimeWireframe.d.ts +8 -0
- package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerCurrentTimeWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerDeleteButtonWireframe/VeltVideoEditorPlayerDeleteButtonWireframe.d.ts +8 -0
- package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerDeleteButtonWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerPreviewWireframe/VeltVideoEditorPlayerPreviewLoadingWireframe/VeltVideoEditorPlayerPreviewLoadingWireframe.d.ts +8 -0
- package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerPreviewWireframe/VeltVideoEditorPlayerPreviewLoadingWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerPreviewWireframe/VeltVideoEditorPlayerPreviewVideoWireframe/VeltVideoEditorPlayerPreviewVideoWireframe.d.ts +8 -0
- package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerPreviewWireframe/VeltVideoEditorPlayerPreviewVideoWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerPreviewWireframe/VeltVideoEditorPlayerPreviewWireframe.d.ts +12 -0
- package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerPreviewWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerSplitButtonWireframe/VeltVideoEditorPlayerSplitButtonWireframe.d.ts +8 -0
- package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerSplitButtonWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTimeWireframe/VeltVideoEditorPlayerTimeWireframe.d.ts +8 -0
- package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTimeWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTimelineWireframe/VeltVideoEditorPlayerTimelineWireframe.d.ts +8 -0
- package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTimelineWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTitleWireframe/VeltVideoEditorPlayerTitleWireframe.d.ts +8 -0
- package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTitleWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerToggleButtonWireframe/VeltVideoEditorPlayerToggleButtonWireframe.d.ts +8 -0
- package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerToggleButtonWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTotalTimeWireframe/VeltVideoEditorPlayerTotalTimeWireframe.d.ts +8 -0
- package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTotalTimeWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerWireframe.d.ts +30 -0
- package/esm/types/components/VeltVideoEditorPlayerWireframe/index.d.ts +1 -0
- package/esm/types/components/index.d.ts +1 -0
- package/esm/types/constants.d.ts +1 -1
- package/esm/types/hooks/RecorderElement.d.ts +6 -2
- package/esm/types/hooks/index.d.ts +1 -1
- package/index.d.ts +106 -5
- package/package.json +1 -1
package/cjs/index.js
CHANGED
|
@@ -140,7 +140,7 @@ var loadVelt = function (callback, version, staging, develop, proxyDomain) {
|
|
|
140
140
|
}
|
|
141
141
|
};
|
|
142
142
|
|
|
143
|
-
var VELT_SDK_VERSION = '4.3.0-beta.
|
|
143
|
+
var VELT_SDK_VERSION = '4.3.0-beta.6';
|
|
144
144
|
var VELT_SDK_INIT_EVENT = 'onVeltInit';
|
|
145
145
|
var VELT_TAB_ID = 'veltTabId';
|
|
146
146
|
|
|
@@ -590,7 +590,7 @@ var SnippylyPresence = function (props) {
|
|
|
590
590
|
};
|
|
591
591
|
|
|
592
592
|
var SnippylyRecorderControlPanel = function (props) {
|
|
593
|
-
var mode = props.mode, panelId = props.panelId, onRecordedData = props.onRecordedData;
|
|
593
|
+
var mode = props.mode, panelId = props.panelId, onRecordedData = props.onRecordedData, recordingCountdown = props.recordingCountdown, recordingTranscription = props.recordingTranscription, videoEditor = props.videoEditor;
|
|
594
594
|
var ref = React.useRef();
|
|
595
595
|
var onRecordedDataRef = React.useRef(onRecordedData);
|
|
596
596
|
// Update the ref to always point to the latest callback function
|
|
@@ -616,16 +616,16 @@ var SnippylyRecorderControlPanel = function (props) {
|
|
|
616
616
|
}
|
|
617
617
|
};
|
|
618
618
|
}, []);
|
|
619
|
-
return (React__default["default"].createElement("velt-recorder-control-panel", { ref: ref, mode: mode, "panel-id": panelId }));
|
|
619
|
+
return (React__default["default"].createElement("velt-recorder-control-panel", { ref: ref, mode: mode, "panel-id": panelId, "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 }));
|
|
620
620
|
};
|
|
621
621
|
|
|
622
622
|
var SnippylyRecorderNotes = function (props) {
|
|
623
|
-
var shadowDom = props.shadowDom, children = props.children, videoEditor = props.videoEditor;
|
|
624
|
-
return (React__default["default"].createElement("velt-recorder-notes", { "shadow-dom": [true, false].includes(shadowDom) ? (shadowDom ? 'true' : 'false') : undefined, "video-editor": [true, false].includes(videoEditor) ? (videoEditor ? 'true' : 'false') : undefined }, children));
|
|
623
|
+
var shadowDom = props.shadowDom, children = props.children, videoEditor = props.videoEditor, recordingCountdown = props.recordingCountdown, recordingTranscription = props.recordingTranscription;
|
|
624
|
+
return (React__default["default"].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 }, children));
|
|
625
625
|
};
|
|
626
626
|
|
|
627
627
|
var SnippylyRecorderPlayer = function (props) {
|
|
628
|
-
var recorderId = props.recorderId, onDelete = props.onDelete, showSummary = props.showSummary, summary = props.summary, shadowDom = props.shadowDom;
|
|
628
|
+
var recorderId = props.recorderId, onDelete = props.onDelete, showSummary = props.showSummary, summary = props.summary, shadowDom = props.shadowDom, videoEditor = props.videoEditor;
|
|
629
629
|
var ref = React.useRef();
|
|
630
630
|
var onDeleteRef = React.useRef(onDelete);
|
|
631
631
|
// Update the ref to always point to the latest callback function
|
|
@@ -651,12 +651,12 @@ var SnippylyRecorderPlayer = function (props) {
|
|
|
651
651
|
}
|
|
652
652
|
};
|
|
653
653
|
}, []);
|
|
654
|
-
return (React__default["default"].createElement("velt-recorder-player", { ref: ref, "recorder-id": recorderId, "shadow-dom": [true, false].includes(shadowDom) ? (shadowDom ? 'true' : 'false') : undefined, "show-summary": [true, false].includes(showSummary) ? (showSummary ? 'true' : 'false') : undefined, summary: [true, false].includes(summary) ? (summary ? 'true' : 'false') : undefined }));
|
|
654
|
+
return (React__default["default"].createElement("velt-recorder-player", { ref: ref, "recorder-id": recorderId, "shadow-dom": [true, false].includes(shadowDom) ? (shadowDom ? 'true' : 'false') : undefined, "show-summary": [true, false].includes(showSummary) ? (showSummary ? 'true' : 'false') : undefined, summary: [true, false].includes(summary) ? (summary ? 'true' : 'false') : undefined, "video-editor": [true, false].includes(videoEditor) ? (videoEditor ? 'true' : 'false') : undefined }));
|
|
655
655
|
};
|
|
656
656
|
|
|
657
657
|
var SnippylyRecorderTool = function (props) {
|
|
658
|
-
var type = props.type, panelId = props.panelId, buttonLabel = props.buttonLabel, children = props.children, darkMode = props.darkMode, shadowDom = props.shadowDom;
|
|
659
|
-
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 }, children));
|
|
658
|
+
var type = props.type, panelId = props.panelId, buttonLabel = props.buttonLabel, children = props.children, darkMode = props.darkMode, shadowDom = props.shadowDom, recordingCountdown = props.recordingCountdown;
|
|
659
|
+
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, "recording-countdown": [true, false].includes(recordingCountdown) ? (recordingCountdown ? 'true' : 'false') : undefined }, children));
|
|
660
660
|
};
|
|
661
661
|
|
|
662
662
|
var SnippylySidebarButton = function (props) {
|
|
@@ -4861,6 +4861,110 @@ VeltVideoPlayerWireframe.Panel = VeltVideoPlayerPanelWireframe;
|
|
|
4861
4861
|
VeltVideoPlayerWireframe.Subtitles = VeltVideoPlayerSubtitlesWireframe;
|
|
4862
4862
|
VeltVideoPlayerWireframe.Transcription = VeltVideoPlayerTranscriptionWireframe;
|
|
4863
4863
|
|
|
4864
|
+
var VeltVideoEditorPlayerTitleWireframe = function (props) {
|
|
4865
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
4866
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
4867
|
+
return (React__default["default"].createElement("velt-video-editor-player-title-wireframe", __assign({}, transformedProps), children));
|
|
4868
|
+
};
|
|
4869
|
+
|
|
4870
|
+
var VeltVideoEditorPlayerApplyButtonLoadingWireframe = function (props) {
|
|
4871
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
4872
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
4873
|
+
return (React__default["default"].createElement("velt-video-editor-player-apply-button-loading-wireframe", __assign({}, transformedProps), children));
|
|
4874
|
+
};
|
|
4875
|
+
|
|
4876
|
+
var VeltVideoEditorPlayerApplyButtonWireframe = function (props) {
|
|
4877
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
4878
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
4879
|
+
return (React__default["default"].createElement("velt-video-editor-player-apply-button-wireframe", __assign({}, transformedProps), children));
|
|
4880
|
+
};
|
|
4881
|
+
VeltVideoEditorPlayerApplyButtonWireframe.Loading = VeltVideoEditorPlayerApplyButtonLoadingWireframe;
|
|
4882
|
+
|
|
4883
|
+
var VeltVideoEditorPlayerCloseButtonWireframe = function (props) {
|
|
4884
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
4885
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
4886
|
+
return (React__default["default"].createElement("velt-video-editor-player-close-button-wireframe", __assign({}, transformedProps), children));
|
|
4887
|
+
};
|
|
4888
|
+
|
|
4889
|
+
var VeltVideoEditorPlayerPreviewLoadingWireframe = function (props) {
|
|
4890
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
4891
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
4892
|
+
return (React__default["default"].createElement("velt-video-editor-player-preview-loading-wireframe", __assign({}, transformedProps), children));
|
|
4893
|
+
};
|
|
4894
|
+
|
|
4895
|
+
var VeltVideoEditorPlayerPreviewVideoWireframe = function (props) {
|
|
4896
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
4897
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
4898
|
+
return (React__default["default"].createElement("velt-video-editor-player-preview-video-wireframe", __assign({}, transformedProps), children));
|
|
4899
|
+
};
|
|
4900
|
+
|
|
4901
|
+
var VeltVideoEditorPlayerPreviewWireframe = function (props) {
|
|
4902
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
4903
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
4904
|
+
return (React__default["default"].createElement("velt-video-editor-player-preview-wireframe", __assign({}, transformedProps), children));
|
|
4905
|
+
};
|
|
4906
|
+
VeltVideoEditorPlayerPreviewWireframe.Loading = VeltVideoEditorPlayerPreviewLoadingWireframe;
|
|
4907
|
+
VeltVideoEditorPlayerPreviewWireframe.Video = VeltVideoEditorPlayerPreviewVideoWireframe;
|
|
4908
|
+
|
|
4909
|
+
var VeltVideoEditorPlayerToggleButtonWireframe = function (props) {
|
|
4910
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
4911
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
4912
|
+
return (React__default["default"].createElement("velt-video-editor-player-toggle-button-wireframe", __assign({}, transformedProps), children));
|
|
4913
|
+
};
|
|
4914
|
+
|
|
4915
|
+
var VeltVideoEditorPlayerTimeWireframe = function (props) {
|
|
4916
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
4917
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
4918
|
+
return (React__default["default"].createElement("velt-video-editor-player-time-wireframe", __assign({}, transformedProps), children));
|
|
4919
|
+
};
|
|
4920
|
+
|
|
4921
|
+
var VeltVideoEditorPlayerCurrentTimeWireframe = function (props) {
|
|
4922
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
4923
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
4924
|
+
return (React__default["default"].createElement("velt-video-editor-player-current-time-wireframe", __assign({}, transformedProps), children));
|
|
4925
|
+
};
|
|
4926
|
+
|
|
4927
|
+
var VeltVideoEditorPlayerTotalTimeWireframe = function (props) {
|
|
4928
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
4929
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
4930
|
+
return (React__default["default"].createElement("velt-video-editor-player-total-time-wireframe", __assign({}, transformedProps), children));
|
|
4931
|
+
};
|
|
4932
|
+
|
|
4933
|
+
var VeltVideoEditorPlayerSplitButtonWireframe = function (props) {
|
|
4934
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
4935
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
4936
|
+
return (React__default["default"].createElement("velt-video-editor-player-split-button-wireframe", __assign({}, transformedProps), children));
|
|
4937
|
+
};
|
|
4938
|
+
|
|
4939
|
+
var VeltVideoEditorPlayerDeleteButtonWireframe = function (props) {
|
|
4940
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
4941
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
4942
|
+
return (React__default["default"].createElement("velt-video-editor-player-delete-button-wireframe", __assign({}, transformedProps), children));
|
|
4943
|
+
};
|
|
4944
|
+
|
|
4945
|
+
var VeltVideoEditorPlayerTimelineWireframe = function (props) {
|
|
4946
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
4947
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
4948
|
+
return (React__default["default"].createElement("velt-video-editor-player-timeline-wireframe", __assign({}, transformedProps), children));
|
|
4949
|
+
};
|
|
4950
|
+
|
|
4951
|
+
var VeltVideoEditorPlayerWireframe = function (props) {
|
|
4952
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
4953
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
4954
|
+
return (React__default["default"].createElement("velt-video-editor-player-wireframe", __assign({}, transformedProps), children));
|
|
4955
|
+
};
|
|
4956
|
+
VeltVideoEditorPlayerWireframe.Title = VeltVideoEditorPlayerTitleWireframe;
|
|
4957
|
+
VeltVideoEditorPlayerWireframe.ApplyButton = VeltVideoEditorPlayerApplyButtonWireframe;
|
|
4958
|
+
VeltVideoEditorPlayerWireframe.CloseButton = VeltVideoEditorPlayerCloseButtonWireframe;
|
|
4959
|
+
VeltVideoEditorPlayerWireframe.Preview = VeltVideoEditorPlayerPreviewWireframe;
|
|
4960
|
+
VeltVideoEditorPlayerWireframe.ToggleButton = VeltVideoEditorPlayerToggleButtonWireframe;
|
|
4961
|
+
VeltVideoEditorPlayerWireframe.Time = VeltVideoEditorPlayerTimeWireframe;
|
|
4962
|
+
VeltVideoEditorPlayerWireframe.CurrentTime = VeltVideoEditorPlayerCurrentTimeWireframe;
|
|
4963
|
+
VeltVideoEditorPlayerWireframe.TotalTime = VeltVideoEditorPlayerTotalTimeWireframe;
|
|
4964
|
+
VeltVideoEditorPlayerWireframe.SplitButton = VeltVideoEditorPlayerSplitButtonWireframe;
|
|
4965
|
+
VeltVideoEditorPlayerWireframe.DeleteButton = VeltVideoEditorPlayerDeleteButtonWireframe;
|
|
4966
|
+
VeltVideoEditorPlayerWireframe.Timeline = VeltVideoEditorPlayerTimelineWireframe;
|
|
4967
|
+
|
|
4864
4968
|
var VeltSubtitlesTextWireframe = function (props) {
|
|
4865
4969
|
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
4866
4970
|
var transformedProps = transformWireframeProps(remainingProps);
|
|
@@ -6226,6 +6330,9 @@ function useRecorderUtils() {
|
|
|
6226
6330
|
}, [client, setRecorderElement, recorderElement]);
|
|
6227
6331
|
return recorderElement;
|
|
6228
6332
|
}
|
|
6333
|
+
/**
|
|
6334
|
+
* @deprecated Use `useRecorderEventCallback('recordingDone')` hook instead
|
|
6335
|
+
*/
|
|
6229
6336
|
function useRecorderAddHandler() {
|
|
6230
6337
|
var recorderElement = useRecorderUtils();
|
|
6231
6338
|
var _a = React__default["default"].useState(), data = _a[0], setData = _a[1];
|
|
@@ -6259,6 +6366,40 @@ function useRecordingDataByRecorderId(recorderId) {
|
|
|
6259
6366
|
}, [recorderElement]);
|
|
6260
6367
|
return data;
|
|
6261
6368
|
}
|
|
6369
|
+
function useRecordings(query) {
|
|
6370
|
+
var recorderElement = useRecorderUtils();
|
|
6371
|
+
var _a = React__default["default"].useState({ data: null }), data = _a[0], setData = _a[1];
|
|
6372
|
+
var subscriptionRef = React__default["default"].useRef();
|
|
6373
|
+
// Memoize the inputs
|
|
6374
|
+
var memoizedData = React__default["default"].useMemo(function () {
|
|
6375
|
+
return query;
|
|
6376
|
+
}, [JSON.stringify(query)]);
|
|
6377
|
+
React.useEffect(function () {
|
|
6378
|
+
if (!(recorderElement === null || recorderElement === void 0 ? void 0 : recorderElement.getRecordings))
|
|
6379
|
+
return;
|
|
6380
|
+
// Unsubscribe from the previous subscription if it exists
|
|
6381
|
+
if (subscriptionRef.current) {
|
|
6382
|
+
subscriptionRef.current.unsubscribe();
|
|
6383
|
+
}
|
|
6384
|
+
var subscription = recorderElement === null || recorderElement === void 0 ? void 0 : recorderElement.getRecordings(memoizedData).subscribe(function (res) {
|
|
6385
|
+
if (res) {
|
|
6386
|
+
setData(res);
|
|
6387
|
+
}
|
|
6388
|
+
else {
|
|
6389
|
+
setData({ data: null });
|
|
6390
|
+
}
|
|
6391
|
+
});
|
|
6392
|
+
// Store the new subscription
|
|
6393
|
+
subscriptionRef.current = subscription;
|
|
6394
|
+
// Cleanup function
|
|
6395
|
+
return function () {
|
|
6396
|
+
if (subscriptionRef.current) {
|
|
6397
|
+
subscriptionRef.current.unsubscribe();
|
|
6398
|
+
}
|
|
6399
|
+
};
|
|
6400
|
+
}, [recorderElement === null || recorderElement === void 0 ? void 0 : recorderElement.getRecordings, memoizedData]);
|
|
6401
|
+
return data;
|
|
6402
|
+
}
|
|
6262
6403
|
|
|
6263
6404
|
function useRecorderEventCallback(action) {
|
|
6264
6405
|
var recorderElement = useRecorderUtils();
|
|
@@ -6713,6 +6854,7 @@ exports.VeltTranscriptionWireframe = VeltTranscriptionWireframe;
|
|
|
6713
6854
|
exports.VeltUserInviteTool = SnippylyUserInviteTool;
|
|
6714
6855
|
exports.VeltUserRequestTool = SnippylyUserRequestTool;
|
|
6715
6856
|
exports.VeltUserSelectorDropdownWireframe = VeltUserSelectorDropdown;
|
|
6857
|
+
exports.VeltVideoEditorPlayerWireframe = VeltVideoEditorPlayerWireframe;
|
|
6716
6858
|
exports.VeltVideoPlayer = VeltVideoPlayer;
|
|
6717
6859
|
exports.VeltVideoPlayerWireframe = VeltVideoPlayerWireframe;
|
|
6718
6860
|
exports.VeltViewAnalytics = VeltViewAnalytics;
|
|
@@ -6777,6 +6919,7 @@ exports.useRecorderAddHandler = useRecorderAddHandler;
|
|
|
6777
6919
|
exports.useRecorderEventCallback = useRecorderEventCallback;
|
|
6778
6920
|
exports.useRecorderUtils = useRecorderUtils;
|
|
6779
6921
|
exports.useRecordingDataByRecorderId = useRecordingDataByRecorderId;
|
|
6922
|
+
exports.useRecordings = useRecordings;
|
|
6780
6923
|
exports.useRejectCommentAnnotation = useRejectCommentAnnotation;
|
|
6781
6924
|
exports.useResolveCommentAnnotation = useResolveCommentAnnotation;
|
|
6782
6925
|
exports.useServerConnectionStateChangeHandler = useServerConnectionStateChangeHandler;
|