@veltdev/react 4.3.0-beta.5 → 4.3.0-beta.7
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 +153 -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/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilter.d.ts +2 -0
- 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 +152 -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/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilter.d.ts +2 -0
- 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 +107 -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.7';
|
|
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) {
|
|
@@ -2700,6 +2700,7 @@ VeltCommentsSidebarFilter.Versions = VeltCommentsSidebarFilterVersions;
|
|
|
2700
2700
|
VeltCommentsSidebarFilter.Item = VeltCommentsSidebarFilterItem;
|
|
2701
2701
|
VeltCommentsSidebarFilter.Status = VeltCommentsSidebarFilterStatus;
|
|
2702
2702
|
VeltCommentsSidebarFilter.ResetButton = VeltCommentsSidebarFilterResetButton;
|
|
2703
|
+
VeltCommentsSidebarFilter.Search = VeltCommentsSidebarFilterSearch;
|
|
2703
2704
|
|
|
2704
2705
|
var VeltCommentsSidebarFilterButton = function (props) {
|
|
2705
2706
|
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
@@ -4861,6 +4862,110 @@ VeltVideoPlayerWireframe.Panel = VeltVideoPlayerPanelWireframe;
|
|
|
4861
4862
|
VeltVideoPlayerWireframe.Subtitles = VeltVideoPlayerSubtitlesWireframe;
|
|
4862
4863
|
VeltVideoPlayerWireframe.Transcription = VeltVideoPlayerTranscriptionWireframe;
|
|
4863
4864
|
|
|
4865
|
+
var VeltVideoEditorPlayerTitleWireframe = function (props) {
|
|
4866
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
4867
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
4868
|
+
return (React__default["default"].createElement("velt-video-editor-player-title-wireframe", __assign({}, transformedProps), children));
|
|
4869
|
+
};
|
|
4870
|
+
|
|
4871
|
+
var VeltVideoEditorPlayerApplyButtonLoadingWireframe = function (props) {
|
|
4872
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
4873
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
4874
|
+
return (React__default["default"].createElement("velt-video-editor-player-apply-button-loading-wireframe", __assign({}, transformedProps), children));
|
|
4875
|
+
};
|
|
4876
|
+
|
|
4877
|
+
var VeltVideoEditorPlayerApplyButtonWireframe = function (props) {
|
|
4878
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
4879
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
4880
|
+
return (React__default["default"].createElement("velt-video-editor-player-apply-button-wireframe", __assign({}, transformedProps), children));
|
|
4881
|
+
};
|
|
4882
|
+
VeltVideoEditorPlayerApplyButtonWireframe.Loading = VeltVideoEditorPlayerApplyButtonLoadingWireframe;
|
|
4883
|
+
|
|
4884
|
+
var VeltVideoEditorPlayerCloseButtonWireframe = function (props) {
|
|
4885
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
4886
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
4887
|
+
return (React__default["default"].createElement("velt-video-editor-player-close-button-wireframe", __assign({}, transformedProps), children));
|
|
4888
|
+
};
|
|
4889
|
+
|
|
4890
|
+
var VeltVideoEditorPlayerPreviewLoadingWireframe = function (props) {
|
|
4891
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
4892
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
4893
|
+
return (React__default["default"].createElement("velt-video-editor-player-preview-loading-wireframe", __assign({}, transformedProps), children));
|
|
4894
|
+
};
|
|
4895
|
+
|
|
4896
|
+
var VeltVideoEditorPlayerPreviewVideoWireframe = function (props) {
|
|
4897
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
4898
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
4899
|
+
return (React__default["default"].createElement("velt-video-editor-player-preview-video-wireframe", __assign({}, transformedProps), children));
|
|
4900
|
+
};
|
|
4901
|
+
|
|
4902
|
+
var VeltVideoEditorPlayerPreviewWireframe = function (props) {
|
|
4903
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
4904
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
4905
|
+
return (React__default["default"].createElement("velt-video-editor-player-preview-wireframe", __assign({}, transformedProps), children));
|
|
4906
|
+
};
|
|
4907
|
+
VeltVideoEditorPlayerPreviewWireframe.Loading = VeltVideoEditorPlayerPreviewLoadingWireframe;
|
|
4908
|
+
VeltVideoEditorPlayerPreviewWireframe.Video = VeltVideoEditorPlayerPreviewVideoWireframe;
|
|
4909
|
+
|
|
4910
|
+
var VeltVideoEditorPlayerToggleButtonWireframe = function (props) {
|
|
4911
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
4912
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
4913
|
+
return (React__default["default"].createElement("velt-video-editor-player-toggle-button-wireframe", __assign({}, transformedProps), children));
|
|
4914
|
+
};
|
|
4915
|
+
|
|
4916
|
+
var VeltVideoEditorPlayerTimeWireframe = function (props) {
|
|
4917
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
4918
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
4919
|
+
return (React__default["default"].createElement("velt-video-editor-player-time-wireframe", __assign({}, transformedProps), children));
|
|
4920
|
+
};
|
|
4921
|
+
|
|
4922
|
+
var VeltVideoEditorPlayerCurrentTimeWireframe = function (props) {
|
|
4923
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
4924
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
4925
|
+
return (React__default["default"].createElement("velt-video-editor-player-current-time-wireframe", __assign({}, transformedProps), children));
|
|
4926
|
+
};
|
|
4927
|
+
|
|
4928
|
+
var VeltVideoEditorPlayerTotalTimeWireframe = function (props) {
|
|
4929
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
4930
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
4931
|
+
return (React__default["default"].createElement("velt-video-editor-player-total-time-wireframe", __assign({}, transformedProps), children));
|
|
4932
|
+
};
|
|
4933
|
+
|
|
4934
|
+
var VeltVideoEditorPlayerSplitButtonWireframe = function (props) {
|
|
4935
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
4936
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
4937
|
+
return (React__default["default"].createElement("velt-video-editor-player-split-button-wireframe", __assign({}, transformedProps), children));
|
|
4938
|
+
};
|
|
4939
|
+
|
|
4940
|
+
var VeltVideoEditorPlayerDeleteButtonWireframe = function (props) {
|
|
4941
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
4942
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
4943
|
+
return (React__default["default"].createElement("velt-video-editor-player-delete-button-wireframe", __assign({}, transformedProps), children));
|
|
4944
|
+
};
|
|
4945
|
+
|
|
4946
|
+
var VeltVideoEditorPlayerTimelineWireframe = function (props) {
|
|
4947
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
4948
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
4949
|
+
return (React__default["default"].createElement("velt-video-editor-player-timeline-wireframe", __assign({}, transformedProps), children));
|
|
4950
|
+
};
|
|
4951
|
+
|
|
4952
|
+
var VeltVideoEditorPlayerWireframe = function (props) {
|
|
4953
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
4954
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
4955
|
+
return (React__default["default"].createElement("velt-video-editor-player-wireframe", __assign({}, transformedProps), children));
|
|
4956
|
+
};
|
|
4957
|
+
VeltVideoEditorPlayerWireframe.Title = VeltVideoEditorPlayerTitleWireframe;
|
|
4958
|
+
VeltVideoEditorPlayerWireframe.ApplyButton = VeltVideoEditorPlayerApplyButtonWireframe;
|
|
4959
|
+
VeltVideoEditorPlayerWireframe.CloseButton = VeltVideoEditorPlayerCloseButtonWireframe;
|
|
4960
|
+
VeltVideoEditorPlayerWireframe.Preview = VeltVideoEditorPlayerPreviewWireframe;
|
|
4961
|
+
VeltVideoEditorPlayerWireframe.ToggleButton = VeltVideoEditorPlayerToggleButtonWireframe;
|
|
4962
|
+
VeltVideoEditorPlayerWireframe.Time = VeltVideoEditorPlayerTimeWireframe;
|
|
4963
|
+
VeltVideoEditorPlayerWireframe.CurrentTime = VeltVideoEditorPlayerCurrentTimeWireframe;
|
|
4964
|
+
VeltVideoEditorPlayerWireframe.TotalTime = VeltVideoEditorPlayerTotalTimeWireframe;
|
|
4965
|
+
VeltVideoEditorPlayerWireframe.SplitButton = VeltVideoEditorPlayerSplitButtonWireframe;
|
|
4966
|
+
VeltVideoEditorPlayerWireframe.DeleteButton = VeltVideoEditorPlayerDeleteButtonWireframe;
|
|
4967
|
+
VeltVideoEditorPlayerWireframe.Timeline = VeltVideoEditorPlayerTimelineWireframe;
|
|
4968
|
+
|
|
4864
4969
|
var VeltSubtitlesTextWireframe = function (props) {
|
|
4865
4970
|
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
4866
4971
|
var transformedProps = transformWireframeProps(remainingProps);
|
|
@@ -6226,6 +6331,9 @@ function useRecorderUtils() {
|
|
|
6226
6331
|
}, [client, setRecorderElement, recorderElement]);
|
|
6227
6332
|
return recorderElement;
|
|
6228
6333
|
}
|
|
6334
|
+
/**
|
|
6335
|
+
* @deprecated Use `useRecorderEventCallback('recordingDone')` hook instead
|
|
6336
|
+
*/
|
|
6229
6337
|
function useRecorderAddHandler() {
|
|
6230
6338
|
var recorderElement = useRecorderUtils();
|
|
6231
6339
|
var _a = React__default["default"].useState(), data = _a[0], setData = _a[1];
|
|
@@ -6259,6 +6367,40 @@ function useRecordingDataByRecorderId(recorderId) {
|
|
|
6259
6367
|
}, [recorderElement]);
|
|
6260
6368
|
return data;
|
|
6261
6369
|
}
|
|
6370
|
+
function useRecordings(query) {
|
|
6371
|
+
var recorderElement = useRecorderUtils();
|
|
6372
|
+
var _a = React__default["default"].useState([]), data = _a[0], setData = _a[1];
|
|
6373
|
+
var subscriptionRef = React__default["default"].useRef();
|
|
6374
|
+
// Memoize the inputs
|
|
6375
|
+
var memoizedData = React__default["default"].useMemo(function () {
|
|
6376
|
+
return query;
|
|
6377
|
+
}, [JSON.stringify(query)]);
|
|
6378
|
+
React.useEffect(function () {
|
|
6379
|
+
if (!(recorderElement === null || recorderElement === void 0 ? void 0 : recorderElement.getRecordings))
|
|
6380
|
+
return;
|
|
6381
|
+
// Unsubscribe from the previous subscription if it exists
|
|
6382
|
+
if (subscriptionRef.current) {
|
|
6383
|
+
subscriptionRef.current.unsubscribe();
|
|
6384
|
+
}
|
|
6385
|
+
var subscription = recorderElement === null || recorderElement === void 0 ? void 0 : recorderElement.getRecordings(memoizedData).subscribe(function (res) {
|
|
6386
|
+
if (res) {
|
|
6387
|
+
setData(res);
|
|
6388
|
+
}
|
|
6389
|
+
else {
|
|
6390
|
+
setData([]);
|
|
6391
|
+
}
|
|
6392
|
+
});
|
|
6393
|
+
// Store the new subscription
|
|
6394
|
+
subscriptionRef.current = subscription;
|
|
6395
|
+
// Cleanup function
|
|
6396
|
+
return function () {
|
|
6397
|
+
if (subscriptionRef.current) {
|
|
6398
|
+
subscriptionRef.current.unsubscribe();
|
|
6399
|
+
}
|
|
6400
|
+
};
|
|
6401
|
+
}, [recorderElement === null || recorderElement === void 0 ? void 0 : recorderElement.getRecordings, memoizedData]);
|
|
6402
|
+
return data;
|
|
6403
|
+
}
|
|
6262
6404
|
|
|
6263
6405
|
function useRecorderEventCallback(action) {
|
|
6264
6406
|
var recorderElement = useRecorderUtils();
|
|
@@ -6713,6 +6855,7 @@ exports.VeltTranscriptionWireframe = VeltTranscriptionWireframe;
|
|
|
6713
6855
|
exports.VeltUserInviteTool = SnippylyUserInviteTool;
|
|
6714
6856
|
exports.VeltUserRequestTool = SnippylyUserRequestTool;
|
|
6715
6857
|
exports.VeltUserSelectorDropdownWireframe = VeltUserSelectorDropdown;
|
|
6858
|
+
exports.VeltVideoEditorPlayerWireframe = VeltVideoEditorPlayerWireframe;
|
|
6716
6859
|
exports.VeltVideoPlayer = VeltVideoPlayer;
|
|
6717
6860
|
exports.VeltVideoPlayerWireframe = VeltVideoPlayerWireframe;
|
|
6718
6861
|
exports.VeltViewAnalytics = VeltViewAnalytics;
|
|
@@ -6777,6 +6920,7 @@ exports.useRecorderAddHandler = useRecorderAddHandler;
|
|
|
6777
6920
|
exports.useRecorderEventCallback = useRecorderEventCallback;
|
|
6778
6921
|
exports.useRecorderUtils = useRecorderUtils;
|
|
6779
6922
|
exports.useRecordingDataByRecorderId = useRecordingDataByRecorderId;
|
|
6923
|
+
exports.useRecordings = useRecordings;
|
|
6780
6924
|
exports.useRejectCommentAnnotation = useRejectCommentAnnotation;
|
|
6781
6925
|
exports.useResolveCommentAnnotation = useResolveCommentAnnotation;
|
|
6782
6926
|
exports.useServerConnectionStateChangeHandler = useServerConnectionStateChangeHandler;
|