@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.
- package/cjs/index.js +178 -9
- package/cjs/index.js.map +1 -1
- package/cjs/types/components/SnippylyRecorderControlPanel/SnippylyRecorderControlPanel.d.ts +5 -1
- package/cjs/types/components/SnippylyRecorderNotes/SnippylyRecorderNotes.d.ts +2 -0
- package/cjs/types/components/SnippylyRecorderPlayer/SnippylyRecorderPlayer.d.ts +1 -0
- package/cjs/types/components/SnippylyRecorderTool/SnippylyRecorderTool.d.ts +3 -1
- package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerApplyButtonWireframe/VeltVideoEditorPlayerApplyButtonLoadingWireframe/VeltVideoEditorPlayerApplyButtonLoadingWireframe.d.ts +8 -0
- package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerApplyButtonWireframe/VeltVideoEditorPlayerApplyButtonLoadingWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerApplyButtonWireframe/VeltVideoEditorPlayerApplyButtonWireframe.d.ts +10 -0
- package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerApplyButtonWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerCloseButtonWireframe/VeltVideoEditorPlayerCloseButtonWireframe.d.ts +8 -0
- package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerCloseButtonWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerCurrentTimeWireframe/VeltVideoEditorPlayerCurrentTimeWireframe.d.ts +8 -0
- package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerCurrentTimeWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerDeleteButtonWireframe/VeltVideoEditorPlayerDeleteButtonWireframe.d.ts +8 -0
- package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerDeleteButtonWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerPreviewWireframe/VeltVideoEditorPlayerPreviewLoadingWireframe/VeltVideoEditorPlayerPreviewLoadingWireframe.d.ts +8 -0
- package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerPreviewWireframe/VeltVideoEditorPlayerPreviewLoadingWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerPreviewWireframe/VeltVideoEditorPlayerPreviewVideoWireframe/VeltVideoEditorPlayerPreviewVideoWireframe.d.ts +8 -0
- package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerPreviewWireframe/VeltVideoEditorPlayerPreviewVideoWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerPreviewWireframe/VeltVideoEditorPlayerPreviewWireframe.d.ts +12 -0
- package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerPreviewWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerSplitButtonWireframe/VeltVideoEditorPlayerSplitButtonWireframe.d.ts +8 -0
- package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerSplitButtonWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTimeWireframe/VeltVideoEditorPlayerTimeWireframe.d.ts +8 -0
- package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTimeWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTimelineWireframe/VeltVideoEditorPlayerTimelineWireframe.d.ts +8 -0
- package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTimelineWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTitleWireframe/VeltVideoEditorPlayerTitleWireframe.d.ts +8 -0
- package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTitleWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerToggleButtonWireframe/VeltVideoEditorPlayerToggleButtonWireframe.d.ts +8 -0
- package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerToggleButtonWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTotalTimeWireframe/VeltVideoEditorPlayerTotalTimeWireframe.d.ts +8 -0
- package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTotalTimeWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerWireframe.d.ts +30 -0
- package/cjs/types/components/VeltVideoEditorPlayerWireframe/index.d.ts +1 -0
- package/cjs/types/components/index.d.ts +1 -0
- package/cjs/types/constants.d.ts +1 -1
- package/cjs/types/hooks/ContactElement.d.ts +2 -1
- package/cjs/types/hooks/RecorderElement.d.ts +6 -2
- package/cjs/types/hooks/index.d.ts +2 -2
- package/esm/index.js +176 -10
- package/esm/index.js.map +1 -1
- package/esm/types/components/SnippylyRecorderControlPanel/SnippylyRecorderControlPanel.d.ts +5 -1
- package/esm/types/components/SnippylyRecorderNotes/SnippylyRecorderNotes.d.ts +2 -0
- package/esm/types/components/SnippylyRecorderPlayer/SnippylyRecorderPlayer.d.ts +1 -0
- package/esm/types/components/SnippylyRecorderTool/SnippylyRecorderTool.d.ts +3 -1
- package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerApplyButtonWireframe/VeltVideoEditorPlayerApplyButtonLoadingWireframe/VeltVideoEditorPlayerApplyButtonLoadingWireframe.d.ts +8 -0
- package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerApplyButtonWireframe/VeltVideoEditorPlayerApplyButtonLoadingWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerApplyButtonWireframe/VeltVideoEditorPlayerApplyButtonWireframe.d.ts +10 -0
- package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerApplyButtonWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerCloseButtonWireframe/VeltVideoEditorPlayerCloseButtonWireframe.d.ts +8 -0
- package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerCloseButtonWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerCurrentTimeWireframe/VeltVideoEditorPlayerCurrentTimeWireframe.d.ts +8 -0
- package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerCurrentTimeWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerDeleteButtonWireframe/VeltVideoEditorPlayerDeleteButtonWireframe.d.ts +8 -0
- package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerDeleteButtonWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerPreviewWireframe/VeltVideoEditorPlayerPreviewLoadingWireframe/VeltVideoEditorPlayerPreviewLoadingWireframe.d.ts +8 -0
- package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerPreviewWireframe/VeltVideoEditorPlayerPreviewLoadingWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerPreviewWireframe/VeltVideoEditorPlayerPreviewVideoWireframe/VeltVideoEditorPlayerPreviewVideoWireframe.d.ts +8 -0
- package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerPreviewWireframe/VeltVideoEditorPlayerPreviewVideoWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerPreviewWireframe/VeltVideoEditorPlayerPreviewWireframe.d.ts +12 -0
- package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerPreviewWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerSplitButtonWireframe/VeltVideoEditorPlayerSplitButtonWireframe.d.ts +8 -0
- package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerSplitButtonWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTimeWireframe/VeltVideoEditorPlayerTimeWireframe.d.ts +8 -0
- package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTimeWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTimelineWireframe/VeltVideoEditorPlayerTimelineWireframe.d.ts +8 -0
- package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTimelineWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTitleWireframe/VeltVideoEditorPlayerTitleWireframe.d.ts +8 -0
- package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTitleWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerToggleButtonWireframe/VeltVideoEditorPlayerToggleButtonWireframe.d.ts +8 -0
- package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerToggleButtonWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTotalTimeWireframe/VeltVideoEditorPlayerTotalTimeWireframe.d.ts +8 -0
- package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTotalTimeWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerWireframe.d.ts +30 -0
- package/esm/types/components/VeltVideoEditorPlayerWireframe/index.d.ts +1 -0
- package/esm/types/components/index.d.ts +1 -0
- package/esm/types/constants.d.ts +1 -1
- package/esm/types/hooks/ContactElement.d.ts +2 -1
- package/esm/types/hooks/RecorderElement.d.ts +6 -2
- package/esm/types/hooks/index.d.ts +2 -2
- package/index.d.ts +107 -5
- 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?:
|
|
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;
|
|
@@ -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?:
|
|
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;
|
|
@@ -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 @@
|
|
|
1
|
+
export { default } from './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 @@
|
|
|
1
|
+
export { default } from './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';
|
package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerWireframe.d.ts
ADDED
|
@@ -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";
|
package/cjs/types/constants.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const VELT_SDK_VERSION = "4.3.0-beta.
|
|
2
|
+
export declare const VELT_SDK_VERSION = "4.3.0-beta.6";
|
|
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,3 +1,4 @@
|
|
|
1
|
-
import { ContactElement, SelectedUserContact } from "@veltdev/types";
|
|
1
|
+
import { ContactElement, GetContactListResponse, SelectedUserContact } from "@veltdev/types";
|
|
2
2
|
export declare function useContactUtils(): ContactElement | undefined;
|
|
3
3
|
export declare function useContactSelected(): SelectedUserContact | undefined;
|
|
4
|
+
export declare function useContactList(): GetContactListResponse | null;
|
|
@@ -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
|
-
|
|
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';
|
|
@@ -14,4 +14,4 @@ export { useTagUtils, useTagAnnotations, } from './TagElement';
|
|
|
14
14
|
export { useViewsUtils, useUniqueViewsByDate, useUniqueViewsByUser, } from './ViewsElement';
|
|
15
15
|
export { useNotificationUtils, useNotificationsData, useUnreadNotificationsCount } from './NotificationElement';
|
|
16
16
|
export { useAutocompleteUtils, useAutocompleteChipClick, } from './AutocompleteElement';
|
|
17
|
-
export { useContactUtils, useContactSelected, } from './ContactElement';
|
|
17
|
+
export { useContactUtils, useContactSelected, useContactList, } from './ContactElement';
|
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.
|
|
135
|
+
var VELT_SDK_VERSION = '4.3.0-beta.6';
|
|
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) {
|
|
@@ -4853,6 +4853,110 @@ VeltVideoPlayerWireframe.Panel = VeltVideoPlayerPanelWireframe;
|
|
|
4853
4853
|
VeltVideoPlayerWireframe.Subtitles = VeltVideoPlayerSubtitlesWireframe;
|
|
4854
4854
|
VeltVideoPlayerWireframe.Transcription = VeltVideoPlayerTranscriptionWireframe;
|
|
4855
4855
|
|
|
4856
|
+
var VeltVideoEditorPlayerTitleWireframe = function (props) {
|
|
4857
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
4858
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
4859
|
+
return (React.createElement("velt-video-editor-player-title-wireframe", __assign({}, transformedProps), children));
|
|
4860
|
+
};
|
|
4861
|
+
|
|
4862
|
+
var VeltVideoEditorPlayerApplyButtonLoadingWireframe = function (props) {
|
|
4863
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
4864
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
4865
|
+
return (React.createElement("velt-video-editor-player-apply-button-loading-wireframe", __assign({}, transformedProps), children));
|
|
4866
|
+
};
|
|
4867
|
+
|
|
4868
|
+
var VeltVideoEditorPlayerApplyButtonWireframe = function (props) {
|
|
4869
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
4870
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
4871
|
+
return (React.createElement("velt-video-editor-player-apply-button-wireframe", __assign({}, transformedProps), children));
|
|
4872
|
+
};
|
|
4873
|
+
VeltVideoEditorPlayerApplyButtonWireframe.Loading = VeltVideoEditorPlayerApplyButtonLoadingWireframe;
|
|
4874
|
+
|
|
4875
|
+
var VeltVideoEditorPlayerCloseButtonWireframe = function (props) {
|
|
4876
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
4877
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
4878
|
+
return (React.createElement("velt-video-editor-player-close-button-wireframe", __assign({}, transformedProps), children));
|
|
4879
|
+
};
|
|
4880
|
+
|
|
4881
|
+
var VeltVideoEditorPlayerPreviewLoadingWireframe = function (props) {
|
|
4882
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
4883
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
4884
|
+
return (React.createElement("velt-video-editor-player-preview-loading-wireframe", __assign({}, transformedProps), children));
|
|
4885
|
+
};
|
|
4886
|
+
|
|
4887
|
+
var VeltVideoEditorPlayerPreviewVideoWireframe = function (props) {
|
|
4888
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
4889
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
4890
|
+
return (React.createElement("velt-video-editor-player-preview-video-wireframe", __assign({}, transformedProps), children));
|
|
4891
|
+
};
|
|
4892
|
+
|
|
4893
|
+
var VeltVideoEditorPlayerPreviewWireframe = function (props) {
|
|
4894
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
4895
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
4896
|
+
return (React.createElement("velt-video-editor-player-preview-wireframe", __assign({}, transformedProps), children));
|
|
4897
|
+
};
|
|
4898
|
+
VeltVideoEditorPlayerPreviewWireframe.Loading = VeltVideoEditorPlayerPreviewLoadingWireframe;
|
|
4899
|
+
VeltVideoEditorPlayerPreviewWireframe.Video = VeltVideoEditorPlayerPreviewVideoWireframe;
|
|
4900
|
+
|
|
4901
|
+
var VeltVideoEditorPlayerToggleButtonWireframe = function (props) {
|
|
4902
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
4903
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
4904
|
+
return (React.createElement("velt-video-editor-player-toggle-button-wireframe", __assign({}, transformedProps), children));
|
|
4905
|
+
};
|
|
4906
|
+
|
|
4907
|
+
var VeltVideoEditorPlayerTimeWireframe = function (props) {
|
|
4908
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
4909
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
4910
|
+
return (React.createElement("velt-video-editor-player-time-wireframe", __assign({}, transformedProps), children));
|
|
4911
|
+
};
|
|
4912
|
+
|
|
4913
|
+
var VeltVideoEditorPlayerCurrentTimeWireframe = function (props) {
|
|
4914
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
4915
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
4916
|
+
return (React.createElement("velt-video-editor-player-current-time-wireframe", __assign({}, transformedProps), children));
|
|
4917
|
+
};
|
|
4918
|
+
|
|
4919
|
+
var VeltVideoEditorPlayerTotalTimeWireframe = function (props) {
|
|
4920
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
4921
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
4922
|
+
return (React.createElement("velt-video-editor-player-total-time-wireframe", __assign({}, transformedProps), children));
|
|
4923
|
+
};
|
|
4924
|
+
|
|
4925
|
+
var VeltVideoEditorPlayerSplitButtonWireframe = function (props) {
|
|
4926
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
4927
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
4928
|
+
return (React.createElement("velt-video-editor-player-split-button-wireframe", __assign({}, transformedProps), children));
|
|
4929
|
+
};
|
|
4930
|
+
|
|
4931
|
+
var VeltVideoEditorPlayerDeleteButtonWireframe = function (props) {
|
|
4932
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
4933
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
4934
|
+
return (React.createElement("velt-video-editor-player-delete-button-wireframe", __assign({}, transformedProps), children));
|
|
4935
|
+
};
|
|
4936
|
+
|
|
4937
|
+
var VeltVideoEditorPlayerTimelineWireframe = function (props) {
|
|
4938
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
4939
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
4940
|
+
return (React.createElement("velt-video-editor-player-timeline-wireframe", __assign({}, transformedProps), children));
|
|
4941
|
+
};
|
|
4942
|
+
|
|
4943
|
+
var VeltVideoEditorPlayerWireframe = function (props) {
|
|
4944
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
4945
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
4946
|
+
return (React.createElement("velt-video-editor-player-wireframe", __assign({}, transformedProps), children));
|
|
4947
|
+
};
|
|
4948
|
+
VeltVideoEditorPlayerWireframe.Title = VeltVideoEditorPlayerTitleWireframe;
|
|
4949
|
+
VeltVideoEditorPlayerWireframe.ApplyButton = VeltVideoEditorPlayerApplyButtonWireframe;
|
|
4950
|
+
VeltVideoEditorPlayerWireframe.CloseButton = VeltVideoEditorPlayerCloseButtonWireframe;
|
|
4951
|
+
VeltVideoEditorPlayerWireframe.Preview = VeltVideoEditorPlayerPreviewWireframe;
|
|
4952
|
+
VeltVideoEditorPlayerWireframe.ToggleButton = VeltVideoEditorPlayerToggleButtonWireframe;
|
|
4953
|
+
VeltVideoEditorPlayerWireframe.Time = VeltVideoEditorPlayerTimeWireframe;
|
|
4954
|
+
VeltVideoEditorPlayerWireframe.CurrentTime = VeltVideoEditorPlayerCurrentTimeWireframe;
|
|
4955
|
+
VeltVideoEditorPlayerWireframe.TotalTime = VeltVideoEditorPlayerTotalTimeWireframe;
|
|
4956
|
+
VeltVideoEditorPlayerWireframe.SplitButton = VeltVideoEditorPlayerSplitButtonWireframe;
|
|
4957
|
+
VeltVideoEditorPlayerWireframe.DeleteButton = VeltVideoEditorPlayerDeleteButtonWireframe;
|
|
4958
|
+
VeltVideoEditorPlayerWireframe.Timeline = VeltVideoEditorPlayerTimelineWireframe;
|
|
4959
|
+
|
|
4856
4960
|
var VeltSubtitlesTextWireframe = function (props) {
|
|
4857
4961
|
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
4858
4962
|
var transformedProps = transformWireframeProps(remainingProps);
|
|
@@ -6218,6 +6322,9 @@ function useRecorderUtils() {
|
|
|
6218
6322
|
}, [client, setRecorderElement, recorderElement]);
|
|
6219
6323
|
return recorderElement;
|
|
6220
6324
|
}
|
|
6325
|
+
/**
|
|
6326
|
+
* @deprecated Use `useRecorderEventCallback('recordingDone')` hook instead
|
|
6327
|
+
*/
|
|
6221
6328
|
function useRecorderAddHandler() {
|
|
6222
6329
|
var recorderElement = useRecorderUtils();
|
|
6223
6330
|
var _a = React.useState(), data = _a[0], setData = _a[1];
|
|
@@ -6251,6 +6358,40 @@ function useRecordingDataByRecorderId(recorderId) {
|
|
|
6251
6358
|
}, [recorderElement]);
|
|
6252
6359
|
return data;
|
|
6253
6360
|
}
|
|
6361
|
+
function useRecordings(query) {
|
|
6362
|
+
var recorderElement = useRecorderUtils();
|
|
6363
|
+
var _a = React.useState({ data: null }), data = _a[0], setData = _a[1];
|
|
6364
|
+
var subscriptionRef = React.useRef();
|
|
6365
|
+
// Memoize the inputs
|
|
6366
|
+
var memoizedData = React.useMemo(function () {
|
|
6367
|
+
return query;
|
|
6368
|
+
}, [JSON.stringify(query)]);
|
|
6369
|
+
useEffect(function () {
|
|
6370
|
+
if (!(recorderElement === null || recorderElement === void 0 ? void 0 : recorderElement.getRecordings))
|
|
6371
|
+
return;
|
|
6372
|
+
// Unsubscribe from the previous subscription if it exists
|
|
6373
|
+
if (subscriptionRef.current) {
|
|
6374
|
+
subscriptionRef.current.unsubscribe();
|
|
6375
|
+
}
|
|
6376
|
+
var subscription = recorderElement === null || recorderElement === void 0 ? void 0 : recorderElement.getRecordings(memoizedData).subscribe(function (res) {
|
|
6377
|
+
if (res) {
|
|
6378
|
+
setData(res);
|
|
6379
|
+
}
|
|
6380
|
+
else {
|
|
6381
|
+
setData({ data: null });
|
|
6382
|
+
}
|
|
6383
|
+
});
|
|
6384
|
+
// Store the new subscription
|
|
6385
|
+
subscriptionRef.current = subscription;
|
|
6386
|
+
// Cleanup function
|
|
6387
|
+
return function () {
|
|
6388
|
+
if (subscriptionRef.current) {
|
|
6389
|
+
subscriptionRef.current.unsubscribe();
|
|
6390
|
+
}
|
|
6391
|
+
};
|
|
6392
|
+
}, [recorderElement === null || recorderElement === void 0 ? void 0 : recorderElement.getRecordings, memoizedData]);
|
|
6393
|
+
return data;
|
|
6394
|
+
}
|
|
6254
6395
|
|
|
6255
6396
|
function useRecorderEventCallback(action) {
|
|
6256
6397
|
var recorderElement = useRecorderUtils();
|
|
@@ -6504,6 +6645,31 @@ function useContactSelected() {
|
|
|
6504
6645
|
}, [contactElement === null || contactElement === void 0 ? void 0 : contactElement.onContactSelected]);
|
|
6505
6646
|
return data;
|
|
6506
6647
|
}
|
|
6648
|
+
function useContactList() {
|
|
6649
|
+
var contactElement = useContactUtils();
|
|
6650
|
+
var _a = React.useState(null), data = _a[0], setData = _a[1];
|
|
6651
|
+
var subscriptionRef = React.useRef();
|
|
6652
|
+
useEffect(function () {
|
|
6653
|
+
if (!contactElement)
|
|
6654
|
+
return;
|
|
6655
|
+
// Unsubscribe from the previous subscription if it exists
|
|
6656
|
+
if (subscriptionRef.current) {
|
|
6657
|
+
subscriptionRef.current.unsubscribe();
|
|
6658
|
+
}
|
|
6659
|
+
var subscription = contactElement.getContactList().subscribe(function (res) {
|
|
6660
|
+
setData(res);
|
|
6661
|
+
});
|
|
6662
|
+
// Store the new subscription
|
|
6663
|
+
subscriptionRef.current = subscription;
|
|
6664
|
+
// Cleanup function
|
|
6665
|
+
return function () {
|
|
6666
|
+
if (subscriptionRef.current) {
|
|
6667
|
+
subscriptionRef.current.unsubscribe();
|
|
6668
|
+
}
|
|
6669
|
+
};
|
|
6670
|
+
}, [contactElement === null || contactElement === void 0 ? void 0 : contactElement.getContactList]);
|
|
6671
|
+
return data;
|
|
6672
|
+
}
|
|
6507
6673
|
|
|
6508
6674
|
var sessionId = Math.random().toString(36).substring(2, 15) + Math.random().toString(36).substring(2, 15);
|
|
6509
6675
|
var getSessionId = function () {
|
|
@@ -6596,5 +6762,5 @@ var logLiveState = function (action, liveStateDataId) {
|
|
|
6596
6762
|
}
|
|
6597
6763
|
};
|
|
6598
6764
|
|
|
6599
|
-
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, 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 };
|
|
6765
|
+
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 };
|
|
6600
6766
|
//# sourceMappingURL=index.js.map
|