@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.
Files changed (84) hide show
  1. package/cjs/index.js +153 -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/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilter.d.ts +2 -0
  8. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerApplyButtonWireframe/VeltVideoEditorPlayerApplyButtonLoadingWireframe/VeltVideoEditorPlayerApplyButtonLoadingWireframe.d.ts +8 -0
  9. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerApplyButtonWireframe/VeltVideoEditorPlayerApplyButtonLoadingWireframe/index.d.ts +1 -0
  10. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerApplyButtonWireframe/VeltVideoEditorPlayerApplyButtonWireframe.d.ts +10 -0
  11. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerApplyButtonWireframe/index.d.ts +1 -0
  12. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerCloseButtonWireframe/VeltVideoEditorPlayerCloseButtonWireframe.d.ts +8 -0
  13. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerCloseButtonWireframe/index.d.ts +1 -0
  14. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerCurrentTimeWireframe/VeltVideoEditorPlayerCurrentTimeWireframe.d.ts +8 -0
  15. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerCurrentTimeWireframe/index.d.ts +1 -0
  16. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerDeleteButtonWireframe/VeltVideoEditorPlayerDeleteButtonWireframe.d.ts +8 -0
  17. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerDeleteButtonWireframe/index.d.ts +1 -0
  18. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerPreviewWireframe/VeltVideoEditorPlayerPreviewLoadingWireframe/VeltVideoEditorPlayerPreviewLoadingWireframe.d.ts +8 -0
  19. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerPreviewWireframe/VeltVideoEditorPlayerPreviewLoadingWireframe/index.d.ts +1 -0
  20. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerPreviewWireframe/VeltVideoEditorPlayerPreviewVideoWireframe/VeltVideoEditorPlayerPreviewVideoWireframe.d.ts +8 -0
  21. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerPreviewWireframe/VeltVideoEditorPlayerPreviewVideoWireframe/index.d.ts +1 -0
  22. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerPreviewWireframe/VeltVideoEditorPlayerPreviewWireframe.d.ts +12 -0
  23. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerPreviewWireframe/index.d.ts +1 -0
  24. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerSplitButtonWireframe/VeltVideoEditorPlayerSplitButtonWireframe.d.ts +8 -0
  25. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerSplitButtonWireframe/index.d.ts +1 -0
  26. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTimeWireframe/VeltVideoEditorPlayerTimeWireframe.d.ts +8 -0
  27. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTimeWireframe/index.d.ts +1 -0
  28. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTimelineWireframe/VeltVideoEditorPlayerTimelineWireframe.d.ts +8 -0
  29. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTimelineWireframe/index.d.ts +1 -0
  30. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTitleWireframe/VeltVideoEditorPlayerTitleWireframe.d.ts +8 -0
  31. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTitleWireframe/index.d.ts +1 -0
  32. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerToggleButtonWireframe/VeltVideoEditorPlayerToggleButtonWireframe.d.ts +8 -0
  33. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerToggleButtonWireframe/index.d.ts +1 -0
  34. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTotalTimeWireframe/VeltVideoEditorPlayerTotalTimeWireframe.d.ts +8 -0
  35. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTotalTimeWireframe/index.d.ts +1 -0
  36. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerWireframe.d.ts +30 -0
  37. package/cjs/types/components/VeltVideoEditorPlayerWireframe/index.d.ts +1 -0
  38. package/cjs/types/components/index.d.ts +1 -0
  39. package/cjs/types/constants.d.ts +1 -1
  40. package/cjs/types/hooks/RecorderElement.d.ts +6 -2
  41. package/cjs/types/hooks/index.d.ts +1 -1
  42. package/esm/index.js +152 -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/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilter.d.ts +2 -0
  49. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerApplyButtonWireframe/VeltVideoEditorPlayerApplyButtonLoadingWireframe/VeltVideoEditorPlayerApplyButtonLoadingWireframe.d.ts +8 -0
  50. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerApplyButtonWireframe/VeltVideoEditorPlayerApplyButtonLoadingWireframe/index.d.ts +1 -0
  51. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerApplyButtonWireframe/VeltVideoEditorPlayerApplyButtonWireframe.d.ts +10 -0
  52. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerApplyButtonWireframe/index.d.ts +1 -0
  53. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerCloseButtonWireframe/VeltVideoEditorPlayerCloseButtonWireframe.d.ts +8 -0
  54. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerCloseButtonWireframe/index.d.ts +1 -0
  55. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerCurrentTimeWireframe/VeltVideoEditorPlayerCurrentTimeWireframe.d.ts +8 -0
  56. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerCurrentTimeWireframe/index.d.ts +1 -0
  57. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerDeleteButtonWireframe/VeltVideoEditorPlayerDeleteButtonWireframe.d.ts +8 -0
  58. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerDeleteButtonWireframe/index.d.ts +1 -0
  59. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerPreviewWireframe/VeltVideoEditorPlayerPreviewLoadingWireframe/VeltVideoEditorPlayerPreviewLoadingWireframe.d.ts +8 -0
  60. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerPreviewWireframe/VeltVideoEditorPlayerPreviewLoadingWireframe/index.d.ts +1 -0
  61. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerPreviewWireframe/VeltVideoEditorPlayerPreviewVideoWireframe/VeltVideoEditorPlayerPreviewVideoWireframe.d.ts +8 -0
  62. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerPreviewWireframe/VeltVideoEditorPlayerPreviewVideoWireframe/index.d.ts +1 -0
  63. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerPreviewWireframe/VeltVideoEditorPlayerPreviewWireframe.d.ts +12 -0
  64. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerPreviewWireframe/index.d.ts +1 -0
  65. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerSplitButtonWireframe/VeltVideoEditorPlayerSplitButtonWireframe.d.ts +8 -0
  66. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerSplitButtonWireframe/index.d.ts +1 -0
  67. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTimeWireframe/VeltVideoEditorPlayerTimeWireframe.d.ts +8 -0
  68. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTimeWireframe/index.d.ts +1 -0
  69. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTimelineWireframe/VeltVideoEditorPlayerTimelineWireframe.d.ts +8 -0
  70. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTimelineWireframe/index.d.ts +1 -0
  71. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTitleWireframe/VeltVideoEditorPlayerTitleWireframe.d.ts +8 -0
  72. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTitleWireframe/index.d.ts +1 -0
  73. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerToggleButtonWireframe/VeltVideoEditorPlayerToggleButtonWireframe.d.ts +8 -0
  74. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerToggleButtonWireframe/index.d.ts +1 -0
  75. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTotalTimeWireframe/VeltVideoEditorPlayerTotalTimeWireframe.d.ts +8 -0
  76. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTotalTimeWireframe/index.d.ts +1 -0
  77. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerWireframe.d.ts +30 -0
  78. package/esm/types/components/VeltVideoEditorPlayerWireframe/index.d.ts +1 -0
  79. package/esm/types/components/index.d.ts +1 -0
  80. package/esm/types/constants.d.ts +1 -1
  81. package/esm/types/hooks/RecorderElement.d.ts +6 -2
  82. package/esm/types/hooks/index.d.ts +1 -1
  83. package/index.d.ts +107 -5
  84. package/package.json +1 -1
@@ -1,8 +1,12 @@
1
+ import { RecorderLayoutMode } from '@veltdev/types';
1
2
  import React from 'react';
2
3
  export interface IVeltRecorderControlPanelProps {
3
- mode?: string;
4
+ mode?: RecorderLayoutMode;
4
5
  panelId?: string;
5
6
  onRecordedData?: Function;
7
+ recordingCountdown?: boolean;
8
+ recordingTranscription?: boolean;
9
+ videoEditor?: boolean;
6
10
  }
7
11
  declare const SnippylyRecorderControlPanel: React.FC<IVeltRecorderControlPanelProps>;
8
12
  export default SnippylyRecorderControlPanel;
@@ -2,6 +2,8 @@ import React from 'react';
2
2
  export interface IVeltRecorderNotesProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
3
3
  shadowDom?: boolean;
4
4
  videoEditor?: boolean;
5
+ recordingCountdown?: boolean;
6
+ recordingTranscription?: boolean;
5
7
  }
6
8
  declare const SnippylyRecorderNotes: React.FC<IVeltRecorderNotesProps>;
7
9
  export default SnippylyRecorderNotes;
@@ -8,6 +8,7 @@ export interface IVeltRecorderPlayerProps {
8
8
  showSummary?: boolean;
9
9
  summary?: boolean;
10
10
  shadowDom?: boolean;
11
+ videoEditor?: boolean;
11
12
  }
12
13
  declare const SnippylyRecorderPlayer: React.FC<IVeltRecorderPlayerProps>;
13
14
  export default SnippylyRecorderPlayer;
@@ -1,10 +1,12 @@
1
+ import { RecorderMode } from '@veltdev/types';
1
2
  import React from 'react';
2
3
  export interface IVeltRecorderToolProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
3
- type?: string;
4
+ type?: RecorderMode;
4
5
  panelId?: string;
5
6
  buttonLabel?: string;
6
7
  darkMode?: boolean;
7
8
  shadowDom?: boolean;
9
+ recordingCountdown?: boolean;
8
10
  }
9
11
  declare const SnippylyRecorderTool: React.FC<IVeltRecorderToolProps>;
10
12
  export default SnippylyRecorderTool;
@@ -12,6 +12,7 @@ import { IVeltCommentsSidebarFilterTitleProps } from './VeltCommentsSidebarFilte
12
12
  import { IVeltCommentsSidebarFilterVersions } from './VeltCommentsSidebarFilterVersions/VeltCommentsSidebarFilterVersions';
13
13
  import { IVeltCommentsSidebarFilterItem } from './VeltCommentsSidebarFilterItem/VeltCommentsSidebarFilterItem';
14
14
  import { IVeltCommentsSidebarFilterStatus } from './VeltCommentsSidebarFilterStatus/VeltCommentsSidebarFilterStatus';
15
+ import { IVeltCommentsSidebarFilterSearch } from './VeltCommentsSidebarFilterSearch/VeltCommentsSidebarFilterSearch';
15
16
  import { IVeltCommentsSidebarFilterResetButtonProps } from './VeltCommentsSidebarFilterResetButton/VeltCommentsSidebarFilterResetButton';
16
17
  import { IVeltCommentsSidebarFilterAssigned } from './VeltCommentsSidebarFilterAssigned/VeltCommentsSidebarFilterAssigned';
17
18
  import { IVeltCommentsSidebarFilterTagged } from './VeltCommentsSidebarFilterTagged/VeltCommentsSidebarFilterTagged';
@@ -33,6 +34,7 @@ export interface IVeltCommentsSidebarFilter extends React.FC<IVeltCommentsSideba
33
34
  Item: IVeltCommentsSidebarFilterItem;
34
35
  Status: IVeltCommentsSidebarFilterStatus;
35
36
  ResetButton: React.FC<IVeltCommentsSidebarFilterResetButtonProps>;
37
+ Search: IVeltCommentsSidebarFilterSearch;
36
38
  }
37
39
  declare const VeltCommentsSidebarFilter: IVeltCommentsSidebarFilter;
38
40
  export default VeltCommentsSidebarFilter;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { IVeltWireframeCommonProps } from '../../../../constants';
3
+ export interface IVeltVideoEditorPlayerApplyButtonLoadingWireframeProps extends IVeltWireframeCommonProps {
4
+ }
5
+ export interface IVeltVideoEditorPlayerApplyButtonLoadingWireframe extends React.FC<IVeltVideoEditorPlayerApplyButtonLoadingWireframeProps> {
6
+ }
7
+ declare const VeltVideoEditorPlayerApplyButtonLoadingWireframe: IVeltVideoEditorPlayerApplyButtonLoadingWireframe;
8
+ export default VeltVideoEditorPlayerApplyButtonLoadingWireframe;
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import { IVeltWireframeCommonProps } from '../../../constants';
3
+ import { IVeltVideoEditorPlayerApplyButtonLoadingWireframe } from './VeltVideoEditorPlayerApplyButtonLoadingWireframe/VeltVideoEditorPlayerApplyButtonLoadingWireframe';
4
+ export interface IVeltVideoEditorPlayerApplyButtonWireframeProps extends IVeltWireframeCommonProps {
5
+ }
6
+ export interface IVeltVideoEditorPlayerApplyButtonWireframe extends React.FC<IVeltVideoEditorPlayerApplyButtonWireframeProps> {
7
+ Loading: IVeltVideoEditorPlayerApplyButtonLoadingWireframe;
8
+ }
9
+ declare const VeltVideoEditorPlayerApplyButtonWireframe: IVeltVideoEditorPlayerApplyButtonWireframe;
10
+ export default VeltVideoEditorPlayerApplyButtonWireframe;
@@ -0,0 +1 @@
1
+ export { default } from './VeltVideoEditorPlayerApplyButtonWireframe';
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { IVeltWireframeCommonProps } from '../../../constants';
3
+ export interface IVeltVideoEditorPlayerCloseButtonWireframeProps extends IVeltWireframeCommonProps {
4
+ }
5
+ export interface IVeltVideoEditorPlayerCloseButtonWireframe extends React.FC<IVeltVideoEditorPlayerCloseButtonWireframeProps> {
6
+ }
7
+ declare const VeltVideoEditorPlayerCloseButtonWireframe: IVeltVideoEditorPlayerCloseButtonWireframe;
8
+ export default VeltVideoEditorPlayerCloseButtonWireframe;
@@ -0,0 +1 @@
1
+ export { default } from './VeltVideoEditorPlayerCloseButtonWireframe';
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { IVeltWireframeCommonProps } from '../../../constants';
3
+ export interface IVeltVideoEditorPlayerCurrentTimeWireframeProps extends IVeltWireframeCommonProps {
4
+ }
5
+ export interface IVeltVideoEditorPlayerCurrentTimeWireframe extends React.FC<IVeltVideoEditorPlayerCurrentTimeWireframeProps> {
6
+ }
7
+ declare const VeltVideoEditorPlayerCurrentTimeWireframe: IVeltVideoEditorPlayerCurrentTimeWireframe;
8
+ export default VeltVideoEditorPlayerCurrentTimeWireframe;
@@ -0,0 +1 @@
1
+ export { default } from './VeltVideoEditorPlayerCurrentTimeWireframe';
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { IVeltWireframeCommonProps } from '../../../constants';
3
+ export interface IVeltVideoEditorPlayerDeleteButtonWireframeProps extends IVeltWireframeCommonProps {
4
+ }
5
+ export interface IVeltVideoEditorPlayerDeleteButtonWireframe extends React.FC<IVeltVideoEditorPlayerDeleteButtonWireframeProps> {
6
+ }
7
+ declare const VeltVideoEditorPlayerDeleteButtonWireframe: IVeltVideoEditorPlayerDeleteButtonWireframe;
8
+ export default VeltVideoEditorPlayerDeleteButtonWireframe;
@@ -0,0 +1 @@
1
+ export { default } from './VeltVideoEditorPlayerDeleteButtonWireframe';
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { IVeltWireframeCommonProps } from '../../../../constants';
3
+ export interface IVeltVideoEditorPlayerPreviewLoadingWireframeProps extends IVeltWireframeCommonProps {
4
+ }
5
+ export interface IVeltVideoEditorPlayerPreviewLoadingWireframe extends React.FC<IVeltVideoEditorPlayerPreviewLoadingWireframeProps> {
6
+ }
7
+ declare const VeltVideoEditorPlayerPreviewLoadingWireframe: IVeltVideoEditorPlayerPreviewLoadingWireframe;
8
+ export default VeltVideoEditorPlayerPreviewLoadingWireframe;
@@ -0,0 +1 @@
1
+ export { default } from './VeltVideoEditorPlayerPreviewLoadingWireframe';
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { IVeltWireframeCommonProps } from '../../../../constants';
3
+ export interface IVeltVideoEditorPlayerPreviewVideoWireframeProps extends IVeltWireframeCommonProps {
4
+ }
5
+ export interface IVeltVideoEditorPlayerPreviewVideoWireframe extends React.FC<IVeltVideoEditorPlayerPreviewVideoWireframeProps> {
6
+ }
7
+ declare const VeltVideoEditorPlayerPreviewVideoWireframe: IVeltVideoEditorPlayerPreviewVideoWireframe;
8
+ export default VeltVideoEditorPlayerPreviewVideoWireframe;
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import { IVeltWireframeCommonProps } from '../../../constants';
3
+ import { IVeltVideoEditorPlayerPreviewLoadingWireframe } from './VeltVideoEditorPlayerPreviewLoadingWireframe/VeltVideoEditorPlayerPreviewLoadingWireframe';
4
+ import { IVeltVideoEditorPlayerPreviewVideoWireframe } from './VeltVideoEditorPlayerPreviewVideoWireframe/VeltVideoEditorPlayerPreviewVideoWireframe';
5
+ export interface IVeltVideoEditorPlayerPreviewWireframeProps extends IVeltWireframeCommonProps {
6
+ }
7
+ export interface IVeltVideoEditorPlayerPreviewWireframe extends React.FC<IVeltVideoEditorPlayerPreviewWireframeProps> {
8
+ Loading: IVeltVideoEditorPlayerPreviewLoadingWireframe;
9
+ Video: IVeltVideoEditorPlayerPreviewVideoWireframe;
10
+ }
11
+ declare const VeltVideoEditorPlayerPreviewWireframe: IVeltVideoEditorPlayerPreviewWireframe;
12
+ export default VeltVideoEditorPlayerPreviewWireframe;
@@ -0,0 +1 @@
1
+ export { default } from './VeltVideoEditorPlayerPreviewWireframe';
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { IVeltWireframeCommonProps } from '../../../constants';
3
+ export interface IVeltVideoEditorPlayerSplitButtonWireframeProps extends IVeltWireframeCommonProps {
4
+ }
5
+ export interface IVeltVideoEditorPlayerSplitButtonWireframe extends React.FC<IVeltVideoEditorPlayerSplitButtonWireframeProps> {
6
+ }
7
+ declare const VeltVideoEditorPlayerSplitButtonWireframe: IVeltVideoEditorPlayerSplitButtonWireframe;
8
+ export default VeltVideoEditorPlayerSplitButtonWireframe;
@@ -0,0 +1 @@
1
+ export { default } from './VeltVideoEditorPlayerSplitButtonWireframe';
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { IVeltWireframeCommonProps } from '../../../constants';
3
+ export interface IVeltVideoEditorPlayerTimeWireframeProps extends IVeltWireframeCommonProps {
4
+ }
5
+ export interface IVeltVideoEditorPlayerTimeWireframe extends React.FC<IVeltVideoEditorPlayerTimeWireframeProps> {
6
+ }
7
+ declare const VeltVideoEditorPlayerTimeWireframe: IVeltVideoEditorPlayerTimeWireframe;
8
+ export default VeltVideoEditorPlayerTimeWireframe;
@@ -0,0 +1 @@
1
+ export { default } from './VeltVideoEditorPlayerTimeWireframe';
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { IVeltWireframeCommonProps } from '../../../constants';
3
+ export interface IVeltVideoEditorPlayerTimelineWireframeProps extends IVeltWireframeCommonProps {
4
+ }
5
+ export interface IVeltVideoEditorPlayerTimelineWireframe extends React.FC<IVeltVideoEditorPlayerTimelineWireframeProps> {
6
+ }
7
+ declare const VeltVideoEditorPlayerTimelineWireframe: IVeltVideoEditorPlayerTimelineWireframe;
8
+ export default VeltVideoEditorPlayerTimelineWireframe;
@@ -0,0 +1 @@
1
+ export { default } from './VeltVideoEditorPlayerTimelineWireframe';
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { IVeltWireframeCommonProps } from '../../../constants';
3
+ export interface IVeltVideoEditorPlayerTitleWireframeProps extends IVeltWireframeCommonProps {
4
+ }
5
+ export interface IVeltVideoEditorPlayerTitleWireframe extends React.FC<IVeltVideoEditorPlayerTitleWireframeProps> {
6
+ }
7
+ declare const VeltVideoEditorPlayerTitleWireframe: IVeltVideoEditorPlayerTitleWireframe;
8
+ export default VeltVideoEditorPlayerTitleWireframe;
@@ -0,0 +1 @@
1
+ export { default } from './VeltVideoEditorPlayerTitleWireframe';
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { IVeltWireframeCommonProps } from '../../../constants';
3
+ export interface IVeltVideoEditorPlayerToggleButtonWireframeProps extends IVeltWireframeCommonProps {
4
+ }
5
+ export interface IVeltVideoEditorPlayerToggleButtonWireframe extends React.FC<IVeltVideoEditorPlayerToggleButtonWireframeProps> {
6
+ }
7
+ declare const VeltVideoEditorPlayerToggleButtonWireframe: IVeltVideoEditorPlayerToggleButtonWireframe;
8
+ export default VeltVideoEditorPlayerToggleButtonWireframe;
@@ -0,0 +1 @@
1
+ export { default } from './VeltVideoEditorPlayerToggleButtonWireframe';
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { IVeltWireframeCommonProps } from '../../../constants';
3
+ export interface IVeltVideoEditorPlayerTotalTimeWireframeProps extends IVeltWireframeCommonProps {
4
+ }
5
+ export interface IVeltVideoEditorPlayerTotalTimeWireframe extends React.FC<IVeltVideoEditorPlayerTotalTimeWireframeProps> {
6
+ }
7
+ declare const VeltVideoEditorPlayerTotalTimeWireframe: IVeltVideoEditorPlayerTotalTimeWireframe;
8
+ export default VeltVideoEditorPlayerTotalTimeWireframe;
@@ -0,0 +1 @@
1
+ export { default } from './VeltVideoEditorPlayerTotalTimeWireframe';
@@ -0,0 +1,30 @@
1
+ import React from 'react';
2
+ import { IVeltWireframeCommonProps } from '../../constants';
3
+ import { IVeltVideoEditorPlayerTitleWireframe } from './VeltVideoEditorPlayerTitleWireframe/VeltVideoEditorPlayerTitleWireframe';
4
+ import { IVeltVideoEditorPlayerApplyButtonWireframe } from './VeltVideoEditorPlayerApplyButtonWireframe/VeltVideoEditorPlayerApplyButtonWireframe';
5
+ import { IVeltVideoEditorPlayerCloseButtonWireframe } from './VeltVideoEditorPlayerCloseButtonWireframe/VeltVideoEditorPlayerCloseButtonWireframe';
6
+ import { IVeltVideoEditorPlayerPreviewWireframe } from './VeltVideoEditorPlayerPreviewWireframe/VeltVideoEditorPlayerPreviewWireframe';
7
+ import { IVeltVideoEditorPlayerToggleButtonWireframe } from './VeltVideoEditorPlayerToggleButtonWireframe/VeltVideoEditorPlayerToggleButtonWireframe';
8
+ import { IVeltVideoEditorPlayerTimeWireframe } from './VeltVideoEditorPlayerTimeWireframe/VeltVideoEditorPlayerTimeWireframe';
9
+ import { IVeltVideoEditorPlayerCurrentTimeWireframe } from './VeltVideoEditorPlayerCurrentTimeWireframe/VeltVideoEditorPlayerCurrentTimeWireframe';
10
+ import { IVeltVideoEditorPlayerTotalTimeWireframe } from './VeltVideoEditorPlayerTotalTimeWireframe/VeltVideoEditorPlayerTotalTimeWireframe';
11
+ import { IVeltVideoEditorPlayerSplitButtonWireframe } from './VeltVideoEditorPlayerSplitButtonWireframe/VeltVideoEditorPlayerSplitButtonWireframe';
12
+ import { IVeltVideoEditorPlayerDeleteButtonWireframe } from './VeltVideoEditorPlayerDeleteButtonWireframe/VeltVideoEditorPlayerDeleteButtonWireframe';
13
+ import { IVeltVideoEditorPlayerTimelineWireframe } from './VeltVideoEditorPlayerTimelineWireframe/VeltVideoEditorPlayerTimelineWireframe';
14
+ export interface IVeltVideoEditorPlayerWireframeProps extends IVeltWireframeCommonProps {
15
+ }
16
+ export interface IVeltVideoEditorPlayerWireframe extends React.FC<IVeltVideoEditorPlayerWireframeProps> {
17
+ Title: IVeltVideoEditorPlayerTitleWireframe;
18
+ ApplyButton: IVeltVideoEditorPlayerApplyButtonWireframe;
19
+ CloseButton: IVeltVideoEditorPlayerCloseButtonWireframe;
20
+ Preview: IVeltVideoEditorPlayerPreviewWireframe;
21
+ ToggleButton: IVeltVideoEditorPlayerToggleButtonWireframe;
22
+ Time: IVeltVideoEditorPlayerTimeWireframe;
23
+ CurrentTime: IVeltVideoEditorPlayerCurrentTimeWireframe;
24
+ TotalTime: IVeltVideoEditorPlayerTotalTimeWireframe;
25
+ SplitButton: IVeltVideoEditorPlayerSplitButtonWireframe;
26
+ DeleteButton: IVeltVideoEditorPlayerDeleteButtonWireframe;
27
+ Timeline: IVeltVideoEditorPlayerTimelineWireframe;
28
+ }
29
+ declare const VeltVideoEditorPlayerWireframe: IVeltVideoEditorPlayerWireframe;
30
+ export default VeltVideoEditorPlayerWireframe;
@@ -0,0 +1 @@
1
+ export { default } from './VeltVideoEditorPlayerWireframe';
@@ -83,6 +83,7 @@ export { default as VeltRecordingPreviewStepsDialogWireframe } from "./VeltRecor
83
83
  export { default as VeltRecorderControlPanelWireframe } from "./VeltRecorderControlPanelWireframe";
84
84
  export { default as VeltRecorderPlayerWireframe } from "./VeltRecorderPlayerWireframe";
85
85
  export { default as VeltVideoPlayerWireframe } from "./VeltVideoPlayerWireframe";
86
+ export { default as VeltVideoEditorPlayerWireframe } from "./VeltVideoEditorPlayerWireframe";
86
87
  export { default as VeltSubtitlesWireframe } from "./VeltSubtitlesWireframe";
87
88
  export { default as VeltTranscriptionWireframe } from "./VeltTranscriptionWireframe";
88
89
  export { default as VeltButtonWireframe } from "./VeltButtonWireframe";
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- export declare const VELT_SDK_VERSION = "4.3.0-beta.5";
2
+ export declare const VELT_SDK_VERSION = "4.3.0-beta.7";
3
3
  export declare const VELT_SDK_INIT_EVENT = "onVeltInit";
4
4
  export declare const VELT_TAB_ID = "veltTabId";
5
5
  export interface IVeltWireframeCommonProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
@@ -1,7 +1,11 @@
1
- import { RecorderElement, RecordedData } from "@veltdev/types";
1
+ import { RecorderElement, RecordedData, RecorderRequestQuery, GetRecordingsResponse } from "@veltdev/types";
2
2
  export declare function useRecorderUtils(): RecorderElement | undefined;
3
- export declare function useRecorderAddHandler(): any;
3
+ /**
4
+ * @deprecated Use `useRecorderEventCallback('recordingDone')` hook instead
5
+ */
6
+ export declare function useRecorderAddHandler(): RecordedData | null | undefined;
4
7
  /**
5
8
  * @deprecated Use `recorderUtils.getRecordingData()` method instead
6
9
  */
7
10
  export declare function useRecordingDataByRecorderId(recorderId: string): RecordedData | null;
11
+ export declare function useRecordings(query?: RecorderRequestQuery): GetRecordingsResponse[];
@@ -6,7 +6,7 @@ export { useCursorUtils, useCursorUsers, } from './CursorElement';
6
6
  export { useHuddleUtils, } from './HuddleElement';
7
7
  export { useLiveStateSyncUtils, useLiveStateData, useSetLiveStateData, useUserEditorState, useEditor, useEditorAccessTimer, useEditorAccessRequestHandler, useServerConnectionStateChangeHandler, useLiveState, } from './LiveStateSyncElement';
8
8
  export { usePresenceUtils, usePresenceUsers, } from './PresenceElement';
9
- export { useRecorderUtils, useRecorderAddHandler, useRecordingDataByRecorderId, } from './RecorderElement';
9
+ export { useRecorderUtils, useRecorderAddHandler, useRecordingDataByRecorderId, useRecordings, } from './RecorderElement';
10
10
  export { useRecorderEventCallback, } from './RecorderActions';
11
11
  export { useAIRewriterUtils, } from './RewriterElement';
12
12
  export { useLiveSelectionUtils, useLiveSelectionDataHandler, } from './SelectionElement';
package/esm/index.js CHANGED
@@ -132,7 +132,7 @@ var loadVelt = function (callback, version, staging, develop, proxyDomain) {
132
132
  }
133
133
  };
134
134
 
135
- var VELT_SDK_VERSION = '4.3.0-beta.5';
135
+ var VELT_SDK_VERSION = '4.3.0-beta.7';
136
136
  var VELT_SDK_INIT_EVENT = 'onVeltInit';
137
137
  var VELT_TAB_ID = 'veltTabId';
138
138
 
@@ -582,7 +582,7 @@ var SnippylyPresence = function (props) {
582
582
  };
583
583
 
584
584
  var SnippylyRecorderControlPanel = function (props) {
585
- var mode = props.mode, panelId = props.panelId, onRecordedData = props.onRecordedData;
585
+ var mode = props.mode, panelId = props.panelId, onRecordedData = props.onRecordedData, recordingCountdown = props.recordingCountdown, recordingTranscription = props.recordingTranscription, videoEditor = props.videoEditor;
586
586
  var ref = useRef();
587
587
  var onRecordedDataRef = useRef(onRecordedData);
588
588
  // Update the ref to always point to the latest callback function
@@ -608,16 +608,16 @@ var SnippylyRecorderControlPanel = function (props) {
608
608
  }
609
609
  };
610
610
  }, []);
611
- return (React.createElement("velt-recorder-control-panel", { ref: ref, mode: mode, "panel-id": panelId }));
611
+ return (React.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 }));
612
612
  };
613
613
 
614
614
  var SnippylyRecorderNotes = function (props) {
615
- var shadowDom = props.shadowDom, children = props.children, videoEditor = props.videoEditor;
616
- return (React.createElement("velt-recorder-notes", { "shadow-dom": [true, false].includes(shadowDom) ? (shadowDom ? 'true' : 'false') : undefined, "video-editor": [true, false].includes(videoEditor) ? (videoEditor ? 'true' : 'false') : undefined }, children));
615
+ var shadowDom = props.shadowDom, children = props.children, videoEditor = props.videoEditor, recordingCountdown = props.recordingCountdown, recordingTranscription = props.recordingTranscription;
616
+ return (React.createElement("velt-recorder-notes", { "shadow-dom": [true, false].includes(shadowDom) ? (shadowDom ? 'true' : 'false') : undefined, "video-editor": [true, false].includes(videoEditor) ? (videoEditor ? 'true' : 'false') : undefined, "recording-countdown": [true, false].includes(recordingCountdown) ? (recordingCountdown ? 'true' : 'false') : undefined, "recording-transcription": [true, false].includes(recordingTranscription) ? (recordingTranscription ? 'true' : 'false') : undefined }, children));
617
617
  };
618
618
 
619
619
  var SnippylyRecorderPlayer = function (props) {
620
- var recorderId = props.recorderId, onDelete = props.onDelete, showSummary = props.showSummary, summary = props.summary, shadowDom = props.shadowDom;
620
+ var recorderId = props.recorderId, onDelete = props.onDelete, showSummary = props.showSummary, summary = props.summary, shadowDom = props.shadowDom, videoEditor = props.videoEditor;
621
621
  var ref = useRef();
622
622
  var onDeleteRef = useRef(onDelete);
623
623
  // Update the ref to always point to the latest callback function
@@ -643,12 +643,12 @@ var SnippylyRecorderPlayer = function (props) {
643
643
  }
644
644
  };
645
645
  }, []);
646
- return (React.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 }));
646
+ return (React.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 }));
647
647
  };
648
648
 
649
649
  var SnippylyRecorderTool = function (props) {
650
- var type = props.type, panelId = props.panelId, buttonLabel = props.buttonLabel, children = props.children, darkMode = props.darkMode, shadowDom = props.shadowDom;
651
- return (React.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));
650
+ var type = props.type, panelId = props.panelId, buttonLabel = props.buttonLabel, children = props.children, darkMode = props.darkMode, shadowDom = props.shadowDom, recordingCountdown = props.recordingCountdown;
651
+ return (React.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));
652
652
  };
653
653
 
654
654
  var SnippylySidebarButton = function (props) {
@@ -2692,6 +2692,7 @@ VeltCommentsSidebarFilter.Versions = VeltCommentsSidebarFilterVersions;
2692
2692
  VeltCommentsSidebarFilter.Item = VeltCommentsSidebarFilterItem;
2693
2693
  VeltCommentsSidebarFilter.Status = VeltCommentsSidebarFilterStatus;
2694
2694
  VeltCommentsSidebarFilter.ResetButton = VeltCommentsSidebarFilterResetButton;
2695
+ VeltCommentsSidebarFilter.Search = VeltCommentsSidebarFilterSearch;
2695
2696
 
2696
2697
  var VeltCommentsSidebarFilterButton = function (props) {
2697
2698
  var children = props.children, remainingProps = __rest(props, ["children"]);
@@ -4853,6 +4854,110 @@ VeltVideoPlayerWireframe.Panel = VeltVideoPlayerPanelWireframe;
4853
4854
  VeltVideoPlayerWireframe.Subtitles = VeltVideoPlayerSubtitlesWireframe;
4854
4855
  VeltVideoPlayerWireframe.Transcription = VeltVideoPlayerTranscriptionWireframe;
4855
4856
 
4857
+ var VeltVideoEditorPlayerTitleWireframe = function (props) {
4858
+ var children = props.children, remainingProps = __rest(props, ["children"]);
4859
+ var transformedProps = transformWireframeProps(remainingProps);
4860
+ return (React.createElement("velt-video-editor-player-title-wireframe", __assign({}, transformedProps), children));
4861
+ };
4862
+
4863
+ var VeltVideoEditorPlayerApplyButtonLoadingWireframe = function (props) {
4864
+ var children = props.children, remainingProps = __rest(props, ["children"]);
4865
+ var transformedProps = transformWireframeProps(remainingProps);
4866
+ return (React.createElement("velt-video-editor-player-apply-button-loading-wireframe", __assign({}, transformedProps), children));
4867
+ };
4868
+
4869
+ var VeltVideoEditorPlayerApplyButtonWireframe = function (props) {
4870
+ var children = props.children, remainingProps = __rest(props, ["children"]);
4871
+ var transformedProps = transformWireframeProps(remainingProps);
4872
+ return (React.createElement("velt-video-editor-player-apply-button-wireframe", __assign({}, transformedProps), children));
4873
+ };
4874
+ VeltVideoEditorPlayerApplyButtonWireframe.Loading = VeltVideoEditorPlayerApplyButtonLoadingWireframe;
4875
+
4876
+ var VeltVideoEditorPlayerCloseButtonWireframe = function (props) {
4877
+ var children = props.children, remainingProps = __rest(props, ["children"]);
4878
+ var transformedProps = transformWireframeProps(remainingProps);
4879
+ return (React.createElement("velt-video-editor-player-close-button-wireframe", __assign({}, transformedProps), children));
4880
+ };
4881
+
4882
+ var VeltVideoEditorPlayerPreviewLoadingWireframe = function (props) {
4883
+ var children = props.children, remainingProps = __rest(props, ["children"]);
4884
+ var transformedProps = transformWireframeProps(remainingProps);
4885
+ return (React.createElement("velt-video-editor-player-preview-loading-wireframe", __assign({}, transformedProps), children));
4886
+ };
4887
+
4888
+ var VeltVideoEditorPlayerPreviewVideoWireframe = function (props) {
4889
+ var children = props.children, remainingProps = __rest(props, ["children"]);
4890
+ var transformedProps = transformWireframeProps(remainingProps);
4891
+ return (React.createElement("velt-video-editor-player-preview-video-wireframe", __assign({}, transformedProps), children));
4892
+ };
4893
+
4894
+ var VeltVideoEditorPlayerPreviewWireframe = function (props) {
4895
+ var children = props.children, remainingProps = __rest(props, ["children"]);
4896
+ var transformedProps = transformWireframeProps(remainingProps);
4897
+ return (React.createElement("velt-video-editor-player-preview-wireframe", __assign({}, transformedProps), children));
4898
+ };
4899
+ VeltVideoEditorPlayerPreviewWireframe.Loading = VeltVideoEditorPlayerPreviewLoadingWireframe;
4900
+ VeltVideoEditorPlayerPreviewWireframe.Video = VeltVideoEditorPlayerPreviewVideoWireframe;
4901
+
4902
+ var VeltVideoEditorPlayerToggleButtonWireframe = function (props) {
4903
+ var children = props.children, remainingProps = __rest(props, ["children"]);
4904
+ var transformedProps = transformWireframeProps(remainingProps);
4905
+ return (React.createElement("velt-video-editor-player-toggle-button-wireframe", __assign({}, transformedProps), children));
4906
+ };
4907
+
4908
+ var VeltVideoEditorPlayerTimeWireframe = function (props) {
4909
+ var children = props.children, remainingProps = __rest(props, ["children"]);
4910
+ var transformedProps = transformWireframeProps(remainingProps);
4911
+ return (React.createElement("velt-video-editor-player-time-wireframe", __assign({}, transformedProps), children));
4912
+ };
4913
+
4914
+ var VeltVideoEditorPlayerCurrentTimeWireframe = function (props) {
4915
+ var children = props.children, remainingProps = __rest(props, ["children"]);
4916
+ var transformedProps = transformWireframeProps(remainingProps);
4917
+ return (React.createElement("velt-video-editor-player-current-time-wireframe", __assign({}, transformedProps), children));
4918
+ };
4919
+
4920
+ var VeltVideoEditorPlayerTotalTimeWireframe = function (props) {
4921
+ var children = props.children, remainingProps = __rest(props, ["children"]);
4922
+ var transformedProps = transformWireframeProps(remainingProps);
4923
+ return (React.createElement("velt-video-editor-player-total-time-wireframe", __assign({}, transformedProps), children));
4924
+ };
4925
+
4926
+ var VeltVideoEditorPlayerSplitButtonWireframe = function (props) {
4927
+ var children = props.children, remainingProps = __rest(props, ["children"]);
4928
+ var transformedProps = transformWireframeProps(remainingProps);
4929
+ return (React.createElement("velt-video-editor-player-split-button-wireframe", __assign({}, transformedProps), children));
4930
+ };
4931
+
4932
+ var VeltVideoEditorPlayerDeleteButtonWireframe = function (props) {
4933
+ var children = props.children, remainingProps = __rest(props, ["children"]);
4934
+ var transformedProps = transformWireframeProps(remainingProps);
4935
+ return (React.createElement("velt-video-editor-player-delete-button-wireframe", __assign({}, transformedProps), children));
4936
+ };
4937
+
4938
+ var VeltVideoEditorPlayerTimelineWireframe = function (props) {
4939
+ var children = props.children, remainingProps = __rest(props, ["children"]);
4940
+ var transformedProps = transformWireframeProps(remainingProps);
4941
+ return (React.createElement("velt-video-editor-player-timeline-wireframe", __assign({}, transformedProps), children));
4942
+ };
4943
+
4944
+ var VeltVideoEditorPlayerWireframe = function (props) {
4945
+ var children = props.children, remainingProps = __rest(props, ["children"]);
4946
+ var transformedProps = transformWireframeProps(remainingProps);
4947
+ return (React.createElement("velt-video-editor-player-wireframe", __assign({}, transformedProps), children));
4948
+ };
4949
+ VeltVideoEditorPlayerWireframe.Title = VeltVideoEditorPlayerTitleWireframe;
4950
+ VeltVideoEditorPlayerWireframe.ApplyButton = VeltVideoEditorPlayerApplyButtonWireframe;
4951
+ VeltVideoEditorPlayerWireframe.CloseButton = VeltVideoEditorPlayerCloseButtonWireframe;
4952
+ VeltVideoEditorPlayerWireframe.Preview = VeltVideoEditorPlayerPreviewWireframe;
4953
+ VeltVideoEditorPlayerWireframe.ToggleButton = VeltVideoEditorPlayerToggleButtonWireframe;
4954
+ VeltVideoEditorPlayerWireframe.Time = VeltVideoEditorPlayerTimeWireframe;
4955
+ VeltVideoEditorPlayerWireframe.CurrentTime = VeltVideoEditorPlayerCurrentTimeWireframe;
4956
+ VeltVideoEditorPlayerWireframe.TotalTime = VeltVideoEditorPlayerTotalTimeWireframe;
4957
+ VeltVideoEditorPlayerWireframe.SplitButton = VeltVideoEditorPlayerSplitButtonWireframe;
4958
+ VeltVideoEditorPlayerWireframe.DeleteButton = VeltVideoEditorPlayerDeleteButtonWireframe;
4959
+ VeltVideoEditorPlayerWireframe.Timeline = VeltVideoEditorPlayerTimelineWireframe;
4960
+
4856
4961
  var VeltSubtitlesTextWireframe = function (props) {
4857
4962
  var children = props.children, remainingProps = __rest(props, ["children"]);
4858
4963
  var transformedProps = transformWireframeProps(remainingProps);
@@ -6218,6 +6323,9 @@ function useRecorderUtils() {
6218
6323
  }, [client, setRecorderElement, recorderElement]);
6219
6324
  return recorderElement;
6220
6325
  }
6326
+ /**
6327
+ * @deprecated Use `useRecorderEventCallback('recordingDone')` hook instead
6328
+ */
6221
6329
  function useRecorderAddHandler() {
6222
6330
  var recorderElement = useRecorderUtils();
6223
6331
  var _a = React.useState(), data = _a[0], setData = _a[1];
@@ -6251,6 +6359,40 @@ function useRecordingDataByRecorderId(recorderId) {
6251
6359
  }, [recorderElement]);
6252
6360
  return data;
6253
6361
  }
6362
+ function useRecordings(query) {
6363
+ var recorderElement = useRecorderUtils();
6364
+ var _a = React.useState([]), data = _a[0], setData = _a[1];
6365
+ var subscriptionRef = React.useRef();
6366
+ // Memoize the inputs
6367
+ var memoizedData = React.useMemo(function () {
6368
+ return query;
6369
+ }, [JSON.stringify(query)]);
6370
+ useEffect(function () {
6371
+ if (!(recorderElement === null || recorderElement === void 0 ? void 0 : recorderElement.getRecordings))
6372
+ return;
6373
+ // Unsubscribe from the previous subscription if it exists
6374
+ if (subscriptionRef.current) {
6375
+ subscriptionRef.current.unsubscribe();
6376
+ }
6377
+ var subscription = recorderElement === null || recorderElement === void 0 ? void 0 : recorderElement.getRecordings(memoizedData).subscribe(function (res) {
6378
+ if (res) {
6379
+ setData(res);
6380
+ }
6381
+ else {
6382
+ setData([]);
6383
+ }
6384
+ });
6385
+ // Store the new subscription
6386
+ subscriptionRef.current = subscription;
6387
+ // Cleanup function
6388
+ return function () {
6389
+ if (subscriptionRef.current) {
6390
+ subscriptionRef.current.unsubscribe();
6391
+ }
6392
+ };
6393
+ }, [recorderElement === null || recorderElement === void 0 ? void 0 : recorderElement.getRecordings, memoizedData]);
6394
+ return data;
6395
+ }
6254
6396
 
6255
6397
  function useRecorderEventCallback(action) {
6256
6398
  var recorderElement = useRecorderUtils();
@@ -6621,5 +6763,5 @@ var logLiveState = function (action, liveStateDataId) {
6621
6763
  }
6622
6764
  };
6623
6765
 
6624
- export { SnippylyArrowTool as VeltArrowTool, SnippylyArrows as VeltArrows, VeltAutocomplete, VeltAutocompleteChipTooltipWireframe, VeltAutocompleteGroupOptionWireframe, VeltAutocompleteOptionWireframe, VeltButtonWireframe, VeltCanvasComment, VeltChartComment, SnippylyCommentBubble as VeltCommentBubble, VeltCommentBubbleWireframe, VeltCommentComposer, VeltCommentComposerWireframe, VeltCommentDialogOptionsDropdownContentWireframe, VeltCommentDialogOptionsDropdownTriggerWireframe, VeltCommentDialogPriorityDropdownContentWireframe, VeltCommentDialogPriorityDropdownTriggerWireframe, VeltCommentDialogStatusDropdownContentWireframe, VeltCommentDialogStatusDropdownTriggerWireframe, VeltCommentDialogWireframe, VeltCommentPin, VeltCommentPinWireframe, VeltCommentPlayerTimeline, VeltCommentText, VeltCommentThread, VeltCommentThreadWireframe, SnippylyCommentTool as VeltCommentTool, VeltCommentToolWireframe, SnippylyComments as VeltComments, VeltCommentsMinimap, SnippylyCommentsSidebar as VeltCommentsSidebar, VeltCommentsSidebarButton, VeltCommentsSidebarStatusDropdownWireframe, VeltCommentsSidebarWireframe, VeltConfirmDialogWireframe, SnippylyCursor as VeltCursor, VeltData, VeltHighChartComments, SnippylyHuddle as VeltHuddle, SnippylyHuddleTool as VeltHuddleTool, VeltIf, VeltInlineCommentsSection, VeltInlineCommentsSectionWireframe, VeltInlineReactionsSection, VeltInlineReactionsSectionWireframe, VeltMediaSourceSettingsWireframe, VeltMultiThreadCommentDialogWireframe, VeltNivoChartComments, VeltNotificationsHistoryPanel, VeltNotificationsPanel, VeltNotificationsPanelWireframe, VeltNotificationsTool, VeltNotificationsToolWireframe, VeltPersistentCommentModeWireframe, SnippylyPresence as VeltPresence, SnippylyProvider as VeltProvider, VeltReactionPinTooltipWireframe, VeltReactionPinWireframe, VeltReactionTool, VeltReactionToolWireframe, VeltReactionsPanelWireframe, VeltRecorderAllToolMenuWireframe, VeltRecorderAllToolWireframe, VeltRecorderAudioToolWireframe, SnippylyRecorderControlPanel as VeltRecorderControlPanel, VeltRecorderControlPanelWireframe, SnippylyRecorderNotes as VeltRecorderNotes, SnippylyRecorderPlayer as VeltRecorderPlayer, VeltRecorderPlayerWireframe, VeltRecorderScreenToolWireframe, SnippylyRecorderTool as VeltRecorderTool, VeltRecorderVideoToolWireframe, VeltRecordingPreviewStepsDialogWireframe, SnippylySidebarButton as VeltSidebarButton, VeltSidebarButtonWireframe, VeltSubtitlesWireframe, SnippylyTagTool as VeltTagTool, SnippylyTags as VeltTags, VeltTextCommentToolWireframe, VeltTextCommentToolbar as VeltTextCommentToolbarWireframe, VeltTranscriptionWireframe, SnippylyUserInviteTool as VeltUserInviteTool, SnippylyUserRequestTool as VeltUserRequestTool, VeltUserSelectorDropdown as VeltUserSelectorDropdownWireframe, VeltVideoPlayer, VeltVideoPlayerWireframe, VeltViewAnalytics, VeltWireframe, createLiveStateMiddleware, useAIRewriterUtils, useAddAttachment, useAddComment, useAddCommentAnnotation, useAddReaction, useApproveCommentAnnotation, useAssignUser, useAutocompleteChipClick, useAutocompleteUtils, useClient, useCommentActionCallback, useCommentAddHandler, useCommentAnnotationById, useCommentAnnotations, useCommentAnnotationsCount, useCommentCopyLinkHandler, useCommentDialogSidebarClickHandler, useCommentEventCallback, useCommentModeState, useCommentSelectionChangeHandler, useCommentSidebarActionButtonClick, useCommentSidebarData, useCommentSidebarInit, useCommentUpdateHandler, useCommentUtils, useContactList, useContactSelected, useContactUtils, useCopyLink, useCursorUsers, useCursorUtils, useDeleteAttachment, useDeleteComment, useDeleteCommentAnnotation, useDeleteReaction, useDeleteRecording, useEditor, useEditorAccessRequestHandler, useEditorAccessTimer, useGetAttachment, useGetComment, useGetCommentAnnotations, useGetLink, useGetRecording, useHuddleUtils, useIdentify, useLiveSelectionDataHandler, useLiveSelectionUtils, useLiveState, useLiveStateData, useLiveStateSyncUtils, useNotificationUtils, useNotificationsData, usePresenceUsers, usePresenceUtils, useRecorderAddHandler, useRecorderEventCallback, useRecorderUtils, useRecordingDataByRecorderId, useRejectCommentAnnotation, useResolveCommentAnnotation, useServerConnectionStateChangeHandler, useSetDocument, useSetDocumentId, useSetDocuments, useSetLiveStateData, useSetLocation, useSubscribeCommentAnnotation, useTagAnnotations, useTagUtils, useToggleReaction, useUniqueViewsByDate, useUniqueViewsByUser, useUnreadCommentAnnotationCountByLocationId, useUnreadCommentAnnotationCountOnCurrentDocument, useUnreadCommentCountByAnnotationId, useUnreadCommentCountByLocationId, useUnreadCommentCountOnCurrentDocument, useUnreadNotificationsCount, useUnsetDocumentId, useUnsetDocuments, useUnsubscribeCommentAnnotation, useUpdateAccess, useUpdateComment, useUpdatePriority, useUpdateStatus, useUserEditorState, useVeltClient, useVeltEventCallback, useVeltInitState, useViewsUtils };
6766
+ export { SnippylyArrowTool as VeltArrowTool, SnippylyArrows as VeltArrows, VeltAutocomplete, VeltAutocompleteChipTooltipWireframe, VeltAutocompleteGroupOptionWireframe, VeltAutocompleteOptionWireframe, VeltButtonWireframe, VeltCanvasComment, VeltChartComment, SnippylyCommentBubble as VeltCommentBubble, VeltCommentBubbleWireframe, VeltCommentComposer, VeltCommentComposerWireframe, VeltCommentDialogOptionsDropdownContentWireframe, VeltCommentDialogOptionsDropdownTriggerWireframe, VeltCommentDialogPriorityDropdownContentWireframe, VeltCommentDialogPriorityDropdownTriggerWireframe, VeltCommentDialogStatusDropdownContentWireframe, VeltCommentDialogStatusDropdownTriggerWireframe, VeltCommentDialogWireframe, VeltCommentPin, VeltCommentPinWireframe, VeltCommentPlayerTimeline, VeltCommentText, VeltCommentThread, VeltCommentThreadWireframe, SnippylyCommentTool as VeltCommentTool, VeltCommentToolWireframe, SnippylyComments as VeltComments, VeltCommentsMinimap, SnippylyCommentsSidebar as VeltCommentsSidebar, VeltCommentsSidebarButton, VeltCommentsSidebarStatusDropdownWireframe, VeltCommentsSidebarWireframe, VeltConfirmDialogWireframe, SnippylyCursor as VeltCursor, VeltData, VeltHighChartComments, SnippylyHuddle as VeltHuddle, SnippylyHuddleTool as VeltHuddleTool, VeltIf, VeltInlineCommentsSection, VeltInlineCommentsSectionWireframe, VeltInlineReactionsSection, VeltInlineReactionsSectionWireframe, VeltMediaSourceSettingsWireframe, VeltMultiThreadCommentDialogWireframe, VeltNivoChartComments, VeltNotificationsHistoryPanel, VeltNotificationsPanel, VeltNotificationsPanelWireframe, VeltNotificationsTool, VeltNotificationsToolWireframe, VeltPersistentCommentModeWireframe, SnippylyPresence as VeltPresence, SnippylyProvider as VeltProvider, VeltReactionPinTooltipWireframe, VeltReactionPinWireframe, VeltReactionTool, VeltReactionToolWireframe, VeltReactionsPanelWireframe, VeltRecorderAllToolMenuWireframe, VeltRecorderAllToolWireframe, VeltRecorderAudioToolWireframe, SnippylyRecorderControlPanel as VeltRecorderControlPanel, VeltRecorderControlPanelWireframe, SnippylyRecorderNotes as VeltRecorderNotes, SnippylyRecorderPlayer as VeltRecorderPlayer, VeltRecorderPlayerWireframe, VeltRecorderScreenToolWireframe, SnippylyRecorderTool as VeltRecorderTool, VeltRecorderVideoToolWireframe, VeltRecordingPreviewStepsDialogWireframe, SnippylySidebarButton as VeltSidebarButton, VeltSidebarButtonWireframe, VeltSubtitlesWireframe, SnippylyTagTool as VeltTagTool, SnippylyTags as VeltTags, VeltTextCommentToolWireframe, VeltTextCommentToolbar as VeltTextCommentToolbarWireframe, VeltTranscriptionWireframe, SnippylyUserInviteTool as VeltUserInviteTool, SnippylyUserRequestTool as VeltUserRequestTool, VeltUserSelectorDropdown as VeltUserSelectorDropdownWireframe, VeltVideoEditorPlayerWireframe, VeltVideoPlayer, VeltVideoPlayerWireframe, VeltViewAnalytics, VeltWireframe, createLiveStateMiddleware, useAIRewriterUtils, useAddAttachment, useAddComment, useAddCommentAnnotation, useAddReaction, useApproveCommentAnnotation, useAssignUser, useAutocompleteChipClick, useAutocompleteUtils, useClient, useCommentActionCallback, useCommentAddHandler, useCommentAnnotationById, useCommentAnnotations, useCommentAnnotationsCount, useCommentCopyLinkHandler, useCommentDialogSidebarClickHandler, useCommentEventCallback, useCommentModeState, useCommentSelectionChangeHandler, useCommentSidebarActionButtonClick, useCommentSidebarData, useCommentSidebarInit, useCommentUpdateHandler, useCommentUtils, useContactList, useContactSelected, useContactUtils, useCopyLink, useCursorUsers, useCursorUtils, useDeleteAttachment, useDeleteComment, useDeleteCommentAnnotation, useDeleteReaction, useDeleteRecording, useEditor, useEditorAccessRequestHandler, useEditorAccessTimer, useGetAttachment, useGetComment, useGetCommentAnnotations, useGetLink, useGetRecording, useHuddleUtils, useIdentify, useLiveSelectionDataHandler, useLiveSelectionUtils, useLiveState, useLiveStateData, useLiveStateSyncUtils, useNotificationUtils, useNotificationsData, usePresenceUsers, usePresenceUtils, useRecorderAddHandler, useRecorderEventCallback, useRecorderUtils, useRecordingDataByRecorderId, useRecordings, useRejectCommentAnnotation, useResolveCommentAnnotation, useServerConnectionStateChangeHandler, useSetDocument, useSetDocumentId, useSetDocuments, useSetLiveStateData, useSetLocation, useSubscribeCommentAnnotation, useTagAnnotations, useTagUtils, useToggleReaction, useUniqueViewsByDate, useUniqueViewsByUser, useUnreadCommentAnnotationCountByLocationId, useUnreadCommentAnnotationCountOnCurrentDocument, useUnreadCommentCountByAnnotationId, useUnreadCommentCountByLocationId, useUnreadCommentCountOnCurrentDocument, useUnreadNotificationsCount, useUnsetDocumentId, useUnsetDocuments, useUnsubscribeCommentAnnotation, useUpdateAccess, useUpdateComment, useUpdatePriority, useUpdateStatus, useUserEditorState, useVeltClient, useVeltEventCallback, useVeltInitState, useViewsUtils };
6625
6767
  //# sourceMappingURL=index.js.map