@veltdev/react 4.3.0-beta.4 → 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.
Files changed (84) hide show
  1. package/cjs/index.js +178 -9
  2. package/cjs/index.js.map +1 -1
  3. package/cjs/types/components/SnippylyRecorderControlPanel/SnippylyRecorderControlPanel.d.ts +5 -1
  4. package/cjs/types/components/SnippylyRecorderNotes/SnippylyRecorderNotes.d.ts +2 -0
  5. package/cjs/types/components/SnippylyRecorderPlayer/SnippylyRecorderPlayer.d.ts +1 -0
  6. package/cjs/types/components/SnippylyRecorderTool/SnippylyRecorderTool.d.ts +3 -1
  7. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerApplyButtonWireframe/VeltVideoEditorPlayerApplyButtonLoadingWireframe/VeltVideoEditorPlayerApplyButtonLoadingWireframe.d.ts +8 -0
  8. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerApplyButtonWireframe/VeltVideoEditorPlayerApplyButtonLoadingWireframe/index.d.ts +1 -0
  9. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerApplyButtonWireframe/VeltVideoEditorPlayerApplyButtonWireframe.d.ts +10 -0
  10. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerApplyButtonWireframe/index.d.ts +1 -0
  11. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerCloseButtonWireframe/VeltVideoEditorPlayerCloseButtonWireframe.d.ts +8 -0
  12. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerCloseButtonWireframe/index.d.ts +1 -0
  13. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerCurrentTimeWireframe/VeltVideoEditorPlayerCurrentTimeWireframe.d.ts +8 -0
  14. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerCurrentTimeWireframe/index.d.ts +1 -0
  15. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerDeleteButtonWireframe/VeltVideoEditorPlayerDeleteButtonWireframe.d.ts +8 -0
  16. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerDeleteButtonWireframe/index.d.ts +1 -0
  17. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerPreviewWireframe/VeltVideoEditorPlayerPreviewLoadingWireframe/VeltVideoEditorPlayerPreviewLoadingWireframe.d.ts +8 -0
  18. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerPreviewWireframe/VeltVideoEditorPlayerPreviewLoadingWireframe/index.d.ts +1 -0
  19. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerPreviewWireframe/VeltVideoEditorPlayerPreviewVideoWireframe/VeltVideoEditorPlayerPreviewVideoWireframe.d.ts +8 -0
  20. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerPreviewWireframe/VeltVideoEditorPlayerPreviewVideoWireframe/index.d.ts +1 -0
  21. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerPreviewWireframe/VeltVideoEditorPlayerPreviewWireframe.d.ts +12 -0
  22. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerPreviewWireframe/index.d.ts +1 -0
  23. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerSplitButtonWireframe/VeltVideoEditorPlayerSplitButtonWireframe.d.ts +8 -0
  24. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerSplitButtonWireframe/index.d.ts +1 -0
  25. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTimeWireframe/VeltVideoEditorPlayerTimeWireframe.d.ts +8 -0
  26. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTimeWireframe/index.d.ts +1 -0
  27. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTimelineWireframe/VeltVideoEditorPlayerTimelineWireframe.d.ts +8 -0
  28. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTimelineWireframe/index.d.ts +1 -0
  29. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTitleWireframe/VeltVideoEditorPlayerTitleWireframe.d.ts +8 -0
  30. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTitleWireframe/index.d.ts +1 -0
  31. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerToggleButtonWireframe/VeltVideoEditorPlayerToggleButtonWireframe.d.ts +8 -0
  32. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerToggleButtonWireframe/index.d.ts +1 -0
  33. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTotalTimeWireframe/VeltVideoEditorPlayerTotalTimeWireframe.d.ts +8 -0
  34. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTotalTimeWireframe/index.d.ts +1 -0
  35. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerWireframe.d.ts +30 -0
  36. package/cjs/types/components/VeltVideoEditorPlayerWireframe/index.d.ts +1 -0
  37. package/cjs/types/components/index.d.ts +1 -0
  38. package/cjs/types/constants.d.ts +1 -1
  39. package/cjs/types/hooks/ContactElement.d.ts +2 -1
  40. package/cjs/types/hooks/RecorderElement.d.ts +6 -2
  41. package/cjs/types/hooks/index.d.ts +2 -2
  42. package/esm/index.js +176 -10
  43. package/esm/index.js.map +1 -1
  44. package/esm/types/components/SnippylyRecorderControlPanel/SnippylyRecorderControlPanel.d.ts +5 -1
  45. package/esm/types/components/SnippylyRecorderNotes/SnippylyRecorderNotes.d.ts +2 -0
  46. package/esm/types/components/SnippylyRecorderPlayer/SnippylyRecorderPlayer.d.ts +1 -0
  47. package/esm/types/components/SnippylyRecorderTool/SnippylyRecorderTool.d.ts +3 -1
  48. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerApplyButtonWireframe/VeltVideoEditorPlayerApplyButtonLoadingWireframe/VeltVideoEditorPlayerApplyButtonLoadingWireframe.d.ts +8 -0
  49. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerApplyButtonWireframe/VeltVideoEditorPlayerApplyButtonLoadingWireframe/index.d.ts +1 -0
  50. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerApplyButtonWireframe/VeltVideoEditorPlayerApplyButtonWireframe.d.ts +10 -0
  51. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerApplyButtonWireframe/index.d.ts +1 -0
  52. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerCloseButtonWireframe/VeltVideoEditorPlayerCloseButtonWireframe.d.ts +8 -0
  53. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerCloseButtonWireframe/index.d.ts +1 -0
  54. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerCurrentTimeWireframe/VeltVideoEditorPlayerCurrentTimeWireframe.d.ts +8 -0
  55. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerCurrentTimeWireframe/index.d.ts +1 -0
  56. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerDeleteButtonWireframe/VeltVideoEditorPlayerDeleteButtonWireframe.d.ts +8 -0
  57. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerDeleteButtonWireframe/index.d.ts +1 -0
  58. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerPreviewWireframe/VeltVideoEditorPlayerPreviewLoadingWireframe/VeltVideoEditorPlayerPreviewLoadingWireframe.d.ts +8 -0
  59. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerPreviewWireframe/VeltVideoEditorPlayerPreviewLoadingWireframe/index.d.ts +1 -0
  60. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerPreviewWireframe/VeltVideoEditorPlayerPreviewVideoWireframe/VeltVideoEditorPlayerPreviewVideoWireframe.d.ts +8 -0
  61. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerPreviewWireframe/VeltVideoEditorPlayerPreviewVideoWireframe/index.d.ts +1 -0
  62. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerPreviewWireframe/VeltVideoEditorPlayerPreviewWireframe.d.ts +12 -0
  63. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerPreviewWireframe/index.d.ts +1 -0
  64. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerSplitButtonWireframe/VeltVideoEditorPlayerSplitButtonWireframe.d.ts +8 -0
  65. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerSplitButtonWireframe/index.d.ts +1 -0
  66. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTimeWireframe/VeltVideoEditorPlayerTimeWireframe.d.ts +8 -0
  67. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTimeWireframe/index.d.ts +1 -0
  68. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTimelineWireframe/VeltVideoEditorPlayerTimelineWireframe.d.ts +8 -0
  69. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTimelineWireframe/index.d.ts +1 -0
  70. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTitleWireframe/VeltVideoEditorPlayerTitleWireframe.d.ts +8 -0
  71. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTitleWireframe/index.d.ts +1 -0
  72. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerToggleButtonWireframe/VeltVideoEditorPlayerToggleButtonWireframe.d.ts +8 -0
  73. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerToggleButtonWireframe/index.d.ts +1 -0
  74. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTotalTimeWireframe/VeltVideoEditorPlayerTotalTimeWireframe.d.ts +8 -0
  75. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTotalTimeWireframe/index.d.ts +1 -0
  76. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerWireframe.d.ts +30 -0
  77. package/esm/types/components/VeltVideoEditorPlayerWireframe/index.d.ts +1 -0
  78. package/esm/types/components/index.d.ts +1 -0
  79. package/esm/types/constants.d.ts +1 -1
  80. package/esm/types/hooks/ContactElement.d.ts +2 -1
  81. package/esm/types/hooks/RecorderElement.d.ts +6 -2
  82. package/esm/types/hooks/index.d.ts +2 -2
  83. package/index.d.ts +107 -5
  84. 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.4';
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();
@@ -6512,6 +6653,31 @@ function useContactSelected() {
6512
6653
  }, [contactElement === null || contactElement === void 0 ? void 0 : contactElement.onContactSelected]);
6513
6654
  return data;
6514
6655
  }
6656
+ function useContactList() {
6657
+ var contactElement = useContactUtils();
6658
+ var _a = React__default["default"].useState(null), data = _a[0], setData = _a[1];
6659
+ var subscriptionRef = React__default["default"].useRef();
6660
+ React.useEffect(function () {
6661
+ if (!contactElement)
6662
+ return;
6663
+ // Unsubscribe from the previous subscription if it exists
6664
+ if (subscriptionRef.current) {
6665
+ subscriptionRef.current.unsubscribe();
6666
+ }
6667
+ var subscription = contactElement.getContactList().subscribe(function (res) {
6668
+ setData(res);
6669
+ });
6670
+ // Store the new subscription
6671
+ subscriptionRef.current = subscription;
6672
+ // Cleanup function
6673
+ return function () {
6674
+ if (subscriptionRef.current) {
6675
+ subscriptionRef.current.unsubscribe();
6676
+ }
6677
+ };
6678
+ }, [contactElement === null || contactElement === void 0 ? void 0 : contactElement.getContactList]);
6679
+ return data;
6680
+ }
6515
6681
 
6516
6682
  var sessionId = Math.random().toString(36).substring(2, 15) + Math.random().toString(36).substring(2, 15);
6517
6683
  var getSessionId = function () {
@@ -6688,6 +6854,7 @@ exports.VeltTranscriptionWireframe = VeltTranscriptionWireframe;
6688
6854
  exports.VeltUserInviteTool = SnippylyUserInviteTool;
6689
6855
  exports.VeltUserRequestTool = SnippylyUserRequestTool;
6690
6856
  exports.VeltUserSelectorDropdownWireframe = VeltUserSelectorDropdown;
6857
+ exports.VeltVideoEditorPlayerWireframe = VeltVideoEditorPlayerWireframe;
6691
6858
  exports.VeltVideoPlayer = VeltVideoPlayer;
6692
6859
  exports.VeltVideoPlayerWireframe = VeltVideoPlayerWireframe;
6693
6860
  exports.VeltViewAnalytics = VeltViewAnalytics;
@@ -6718,6 +6885,7 @@ exports.useCommentSidebarData = useCommentSidebarData;
6718
6885
  exports.useCommentSidebarInit = useCommentSidebarInit;
6719
6886
  exports.useCommentUpdateHandler = useCommentUpdateHandler;
6720
6887
  exports.useCommentUtils = useCommentUtils;
6888
+ exports.useContactList = useContactList;
6721
6889
  exports.useContactSelected = useContactSelected;
6722
6890
  exports.useContactUtils = useContactUtils;
6723
6891
  exports.useCopyLink = useCopyLink;
@@ -6751,6 +6919,7 @@ exports.useRecorderAddHandler = useRecorderAddHandler;
6751
6919
  exports.useRecorderEventCallback = useRecorderEventCallback;
6752
6920
  exports.useRecorderUtils = useRecorderUtils;
6753
6921
  exports.useRecordingDataByRecorderId = useRecordingDataByRecorderId;
6922
+ exports.useRecordings = useRecordings;
6754
6923
  exports.useRejectCommentAnnotation = useRejectCommentAnnotation;
6755
6924
  exports.useResolveCommentAnnotation = useResolveCommentAnnotation;
6756
6925
  exports.useServerConnectionStateChangeHandler = useServerConnectionStateChangeHandler;