@veltdev/react 4.5.2-beta.9 → 4.5.2
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 +54 -11
- package/cjs/index.js.map +1 -1
- package/cjs/types/components/SnippylyComments/SnippylyComments.d.ts +2 -0
- package/cjs/types/components/SnippylyCommentsSidebar/SnippylyCommentsSidebar.d.ts +1 -0
- package/cjs/types/components/SnippylyRecorderControlPanel/SnippylyRecorderControlPanel.d.ts +2 -0
- package/cjs/types/components/SnippylyRecorderTool/SnippylyRecorderTool.d.ts +2 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogCommentNumber/VeltCommentDialogCommentNumber.d.ts +8 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogCommentNumber/index.d.ts +1 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogWireframe.d.ts +2 -0
- package/cjs/types/components/VeltCommentPinWireframe/VeltCommentPinNumber/VeltCommentPinIndex.d.ts +8 -0
- package/cjs/types/components/VeltCommentPinWireframe/VeltCommentPinNumber/index.d.ts +1 -0
- package/cjs/types/components/VeltCommentPinWireframe/VeltCommentPinWireframe.d.ts +2 -0
- package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFullscreenButton/VeltCommentsSidebarFullscreenButton.d.ts +8 -0
- package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFullscreenButton/index.d.ts +1 -0
- package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarWireframe.d.ts +2 -0
- package/cjs/types/components/VeltRecorderControlPanelWireframe/VeltRecorderControlPanelActionBarWireframe/VeltRecorderControlPanelActionBarPipWireframe/VeltRecorderControlPanelActionBarPipWireframe.d.ts +8 -0
- package/cjs/types/components/VeltRecorderControlPanelWireframe/VeltRecorderControlPanelActionBarWireframe/VeltRecorderControlPanelActionBarPipWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltRecorderControlPanelWireframe/VeltRecorderControlPanelActionBarWireframe/VeltRecorderControlPanelActionBarWireframe.d.ts +2 -0
- package/cjs/types/components/VeltRecordingPreviewStepsDialogWireframe/VeltRecordingPreviewStepsDialogScreenPlayerWireframe/VeltRecordingPreviewStepsDialogScreenPlayerWireframe.d.ts +8 -0
- package/cjs/types/components/VeltRecordingPreviewStepsDialogWireframe/VeltRecordingPreviewStepsDialogScreenPlayerWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltRecordingPreviewStepsDialogWireframe/VeltRecordingPreviewStepsDialogVideoWireframe/VeltRecordingPreviewStepsDialogVideoWireframe.d.ts +2 -0
- package/cjs/types/constants.d.ts +1 -1
- package/esm/index.js +54 -11
- package/esm/index.js.map +1 -1
- package/esm/types/components/SnippylyComments/SnippylyComments.d.ts +2 -0
- package/esm/types/components/SnippylyCommentsSidebar/SnippylyCommentsSidebar.d.ts +1 -0
- package/esm/types/components/SnippylyRecorderControlPanel/SnippylyRecorderControlPanel.d.ts +2 -0
- package/esm/types/components/SnippylyRecorderTool/SnippylyRecorderTool.d.ts +2 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogCommentNumber/VeltCommentDialogCommentNumber.d.ts +8 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogCommentNumber/index.d.ts +1 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogWireframe.d.ts +2 -0
- package/esm/types/components/VeltCommentPinWireframe/VeltCommentPinNumber/VeltCommentPinIndex.d.ts +8 -0
- package/esm/types/components/VeltCommentPinWireframe/VeltCommentPinNumber/index.d.ts +1 -0
- package/esm/types/components/VeltCommentPinWireframe/VeltCommentPinWireframe.d.ts +2 -0
- package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFullscreenButton/VeltCommentsSidebarFullscreenButton.d.ts +8 -0
- package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFullscreenButton/index.d.ts +1 -0
- package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarWireframe.d.ts +2 -0
- package/esm/types/components/VeltRecorderControlPanelWireframe/VeltRecorderControlPanelActionBarWireframe/VeltRecorderControlPanelActionBarPipWireframe/VeltRecorderControlPanelActionBarPipWireframe.d.ts +8 -0
- package/esm/types/components/VeltRecorderControlPanelWireframe/VeltRecorderControlPanelActionBarWireframe/VeltRecorderControlPanelActionBarPipWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltRecorderControlPanelWireframe/VeltRecorderControlPanelActionBarWireframe/VeltRecorderControlPanelActionBarWireframe.d.ts +2 -0
- package/esm/types/components/VeltRecordingPreviewStepsDialogWireframe/VeltRecordingPreviewStepsDialogScreenPlayerWireframe/VeltRecordingPreviewStepsDialogScreenPlayerWireframe.d.ts +8 -0
- package/esm/types/components/VeltRecordingPreviewStepsDialogWireframe/VeltRecordingPreviewStepsDialogScreenPlayerWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltRecordingPreviewStepsDialogWireframe/VeltRecordingPreviewStepsDialogVideoWireframe/VeltRecordingPreviewStepsDialogVideoWireframe.d.ts +2 -0
- package/esm/types/constants.d.ts +1 -1
- package/index.d.ts +37 -0
- package/package.json +1 -1
|
@@ -146,6 +146,8 @@ export interface IVeltCommentsProps extends React.DetailedHTMLProps<React.HTMLAt
|
|
|
146
146
|
maxReplyAvatars?: number;
|
|
147
147
|
replyAvatars?: boolean;
|
|
148
148
|
linkCallback?: boolean;
|
|
149
|
+
replyPlaceholder?: string;
|
|
150
|
+
commentPlaceholder?: string;
|
|
149
151
|
}
|
|
150
152
|
declare const SnippylyComments: React.FC<IVeltCommentsProps>;
|
|
151
153
|
export default SnippylyComments;
|
|
@@ -45,6 +45,7 @@ export interface IVeltCommentsSidebarProps {
|
|
|
45
45
|
systemFiltersOperator?: 'and' | 'or';
|
|
46
46
|
sidebarButtonCountType?: 'default' | 'filter';
|
|
47
47
|
filterGhostCommentsInSidebar?: boolean;
|
|
48
|
+
fullScreen?: boolean;
|
|
48
49
|
}
|
|
49
50
|
declare const SnippylyCommentsSidebar: React.FC<IVeltCommentsSidebarProps>;
|
|
50
51
|
export default SnippylyCommentsSidebar;
|
|
@@ -11,6 +11,8 @@ export interface IVeltRecorderControlPanelProps {
|
|
|
11
11
|
autoOpenVideoEditor?: boolean;
|
|
12
12
|
playVideoInFullScreen?: boolean;
|
|
13
13
|
retakeOnVideoEditor?: boolean;
|
|
14
|
+
pictureInPicture?: boolean;
|
|
15
|
+
maxLength?: number;
|
|
14
16
|
}
|
|
15
17
|
declare const SnippylyRecorderControlPanel: React.FC<IVeltRecorderControlPanelProps>;
|
|
16
18
|
export default SnippylyRecorderControlPanel;
|
|
@@ -9,6 +9,8 @@ export interface IVeltRecorderToolProps extends React.DetailedHTMLProps<React.HT
|
|
|
9
9
|
recordingCountdown?: boolean;
|
|
10
10
|
variant?: string;
|
|
11
11
|
retakeOnVideoEditor?: boolean;
|
|
12
|
+
pictureInPicture?: boolean;
|
|
13
|
+
maxLength?: number;
|
|
12
14
|
}
|
|
13
15
|
declare const SnippylyRecorderTool: React.FC<IVeltRecorderToolProps>;
|
|
14
16
|
export default SnippylyRecorderTool;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IVeltWireframeCommonProps } from '../../../constants';
|
|
3
|
+
export interface IVeltCommentDialogCommentNumberProps extends IVeltWireframeCommonProps {
|
|
4
|
+
}
|
|
5
|
+
export interface IVeltCommentDialogCommentNumber extends React.FC<IVeltCommentDialogCommentNumberProps> {
|
|
6
|
+
}
|
|
7
|
+
declare const VeltCommentDialogCommentNumber: IVeltCommentDialogCommentNumber;
|
|
8
|
+
export default VeltCommentDialogCommentNumber;
|
package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogCommentNumber/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./VeltCommentDialogCommentNumber";
|
|
@@ -30,6 +30,7 @@ import { IVeltCommentDialogUnresolveButtonProps } from "./VeltCommentDialogUnres
|
|
|
30
30
|
import { IVeltCommentDialogNavigationButtonProps } from "./VeltCommentDialogNavigationButton/VeltCommentDialogNavigationButton";
|
|
31
31
|
import { IVeltCommentDialogReplyAvatars } from "./VeltCommentDialogReplyAvatars/VeltCommentDialogReplyAvatars";
|
|
32
32
|
import { IVeltWireframeCommonProps } from "../../constants";
|
|
33
|
+
import { IVeltCommentDialogCommentNumber } from "./VeltCommentDialogCommentNumber/VeltCommentDialogCommentNumber";
|
|
33
34
|
export interface IVeltCommentDialogWireframeProps extends IVeltWireframeCommonProps {
|
|
34
35
|
}
|
|
35
36
|
declare const VeltCommentDialogWireframe: React.FC<IVeltCommentDialogWireframeProps> & {
|
|
@@ -40,6 +41,7 @@ declare const VeltCommentDialogWireframe: React.FC<IVeltCommentDialogWireframePr
|
|
|
40
41
|
Body: React.FC<IVeltCommentDialogBodyProps>;
|
|
41
42
|
CommentCategory: React.FC<IVeltCommentDialogCommentCategoryProps>;
|
|
42
43
|
CommentIndex: React.FC<IVeltCommentDialogCommentIndexProps>;
|
|
44
|
+
CommentNumber: IVeltCommentDialogCommentNumber;
|
|
43
45
|
CommentSuggestionStatus: React.FC<IVeltCommentDialogCommentSuggestionStatusProps>;
|
|
44
46
|
Composer: IVeltCommentDialogComposer;
|
|
45
47
|
CopyLink: React.FC<IVeltCommentDialogCopyLinkProps>;
|
package/cjs/types/components/VeltCommentPinWireframe/VeltCommentPinNumber/VeltCommentPinIndex.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IVeltWireframeCommonProps } from '../../../constants';
|
|
3
|
+
export interface IVeltCommentPinNumberProps extends IVeltWireframeCommonProps {
|
|
4
|
+
}
|
|
5
|
+
export interface IVeltCommentPinNumber extends React.FC<IVeltCommentPinNumberProps> {
|
|
6
|
+
}
|
|
7
|
+
declare const VeltCommentPinNumber: IVeltCommentPinNumber;
|
|
8
|
+
export default VeltCommentPinNumber;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./VeltCommentPinIndex";
|
|
@@ -5,11 +5,13 @@ import { IVeltCommentPinIndexProps } from './VeltCommentPinIndex/VeltCommentPinI
|
|
|
5
5
|
import { IVeltCommentPinTriangleProps } from './VeltCommentPinTriangle/VeltCommentPinTriangle';
|
|
6
6
|
import { IVeltCommentPinUnreadCommentIndicatorProps } from './VeltCommentPinUnreadCommentIndicator/VeltCommentPinUnreadCommentIndicator';
|
|
7
7
|
import { IVeltCommentPinPrivateCommentIndicatorProps } from './VeltCommentPinPrivateCommentIndicator/VeltCommentPinPrivateCommentIndicator';
|
|
8
|
+
import { IVeltCommentPinNumber } from './VeltCommentPinNumber/VeltCommentPinIndex';
|
|
8
9
|
export interface IVeltCommentPinWireframeProps extends IVeltWireframeCommonProps {
|
|
9
10
|
}
|
|
10
11
|
declare const VeltCommentPinWireframe: React.FC<IVeltCommentPinWireframeProps> & {
|
|
11
12
|
GhostCommentIndicator: React.FC<IVeltCommentPinGhostCommentIndicatorProps>;
|
|
12
13
|
Index: React.FC<IVeltCommentPinIndexProps>;
|
|
14
|
+
Number: IVeltCommentPinNumber;
|
|
13
15
|
PrivateCommentIndicator: React.FC<IVeltCommentPinPrivateCommentIndicatorProps>;
|
|
14
16
|
Triangle: React.FC<IVeltCommentPinTriangleProps>;
|
|
15
17
|
UnreadCommentIndicator: React.FC<IVeltCommentPinUnreadCommentIndicatorProps>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IVeltWireframeCommonProps } from '../../../constants';
|
|
3
|
+
export interface IVeltCommentsSidebarFullscreenButtonProps extends IVeltWireframeCommonProps {
|
|
4
|
+
}
|
|
5
|
+
export interface IVeltCommentsSidebarFullscreenButton extends React.FC<IVeltCommentsSidebarFullscreenButtonProps> {
|
|
6
|
+
}
|
|
7
|
+
declare const VeltCommentsSidebarFullscreenButton: IVeltCommentsSidebarFullscreenButton;
|
|
8
|
+
export default VeltCommentsSidebarFullscreenButton;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./VeltCommentsSidebarFullscreenButton";
|
|
@@ -18,6 +18,7 @@ import { IVeltCommentsSidebarStatus } from './VeltCommentsSidebarStatus/VeltComm
|
|
|
18
18
|
import { IVeltCommentsSidebarResetFilterButtonWireframeProps } from './VeltCommentsSidebarResetFilterButtonWireframe/VeltCommentsSidebarResetFilterButtonWireframe';
|
|
19
19
|
import { IVeltCommentsSidebarActionButtonProps } from './VeltCommentsSidebarActionButton/VeltCommentsSidebarActionButton';
|
|
20
20
|
import { IVeltCommentsSidebarFocusedThread } from './VeltCommentsSidebarFocusedThread/VeltCommentsSidebarFocusedThread';
|
|
21
|
+
import { IVeltCommentsSidebarFullscreenButton } from './VeltCommentsSidebarFullscreenButton/VeltCommentsSidebarFullscreenButton';
|
|
21
22
|
export interface IVeltCommentsSidebarWireframeProps extends IVeltWireframeCommonProps {
|
|
22
23
|
}
|
|
23
24
|
declare const VeltCommentsSidebarWireframe: React.FC<IVeltCommentsSidebarWireframeProps> & {
|
|
@@ -39,5 +40,6 @@ declare const VeltCommentsSidebarWireframe: React.FC<IVeltCommentsSidebarWirefra
|
|
|
39
40
|
ResetFilterButton: React.FC<IVeltCommentsSidebarResetFilterButtonWireframeProps>;
|
|
40
41
|
ActionButton: React.FC<IVeltCommentsSidebarActionButtonProps>;
|
|
41
42
|
FocusedThread: IVeltCommentsSidebarFocusedThread;
|
|
43
|
+
FullscreenButton: IVeltCommentsSidebarFullscreenButton;
|
|
42
44
|
};
|
|
43
45
|
export default VeltCommentsSidebarWireframe;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IVeltWireframeCommonProps } from '../../../../constants';
|
|
3
|
+
export interface IVeltRecorderControlPanelActionBarPipWireframeProps extends IVeltWireframeCommonProps {
|
|
4
|
+
}
|
|
5
|
+
export interface IVeltRecorderControlPanelActionBarPipWireframe extends React.FC<IVeltRecorderControlPanelActionBarPipWireframeProps> {
|
|
6
|
+
}
|
|
7
|
+
declare const VeltRecorderControlPanelActionBarPipWireframe: IVeltRecorderControlPanelActionBarPipWireframe;
|
|
8
|
+
export default VeltRecorderControlPanelActionBarPipWireframe;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './VeltRecorderControlPanelActionBarPipWireframe';
|
|
@@ -6,6 +6,7 @@ import { IVeltRecorderControlPanelActionBarStopWireframe } from './VeltRecorderC
|
|
|
6
6
|
import { IVeltRecorderControlPanelActionBarTimeWireframe } from './VeltRecorderControlPanelActionBarTimeWireframe/VeltRecorderControlPanelActionBarTimeWireframe';
|
|
7
7
|
import { IVeltRecorderControlPanelActionBarToggleWireframe } from './VeltRecorderControlPanelActionBarToggleWireframe/VeltRecorderControlPanelActionBarToggleWireframe';
|
|
8
8
|
import { IVeltRecorderControlPanelActionBarTypeIconWireframe } from './VeltRecorderControlPanelActionBarTypeIconWireframe/VeltRecorderControlPanelActionBarTypeIconWireframe';
|
|
9
|
+
import { IVeltRecorderControlPanelActionBarPipWireframe } from './VeltRecorderControlPanelActionBarPipWireframe/VeltRecorderControlPanelActionBarPipWireframe';
|
|
9
10
|
export interface IVeltRecorderControlPanelActionBarWireframeProps extends IVeltWireframeCommonProps {
|
|
10
11
|
}
|
|
11
12
|
export interface IVeltRecorderControlPanelActionBarWireframe extends React.FC<IVeltRecorderControlPanelActionBarWireframeProps> {
|
|
@@ -15,6 +16,7 @@ export interface IVeltRecorderControlPanelActionBarWireframe extends React.FC<IV
|
|
|
15
16
|
Toggle: IVeltRecorderControlPanelActionBarToggleWireframe;
|
|
16
17
|
TypeIcon: IVeltRecorderControlPanelActionBarTypeIconWireframe;
|
|
17
18
|
Waveform: IVeltRecorderControlPanelActionBarWaveformWireframe;
|
|
19
|
+
Pip: IVeltRecorderControlPanelActionBarPipWireframe;
|
|
18
20
|
}
|
|
19
21
|
declare const VeltRecorderControlPanelActionBarWireframe: IVeltRecorderControlPanelActionBarWireframe;
|
|
20
22
|
export default VeltRecorderControlPanelActionBarWireframe;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IVeltWireframeCommonProps } from '../../../constants';
|
|
3
|
+
export interface IVeltRecordingPreviewStepsDialogScreenPlayerWireframeProps extends IVeltWireframeCommonProps {
|
|
4
|
+
}
|
|
5
|
+
export interface IVeltRecordingPreviewStepsDialogScreenPlayerWireframe extends React.FC<IVeltRecordingPreviewStepsDialogScreenPlayerWireframeProps> {
|
|
6
|
+
}
|
|
7
|
+
declare const VeltRecordingPreviewStepsDialogScreenPlayerWireframe: IVeltRecordingPreviewStepsDialogScreenPlayerWireframe;
|
|
8
|
+
export default VeltRecordingPreviewStepsDialogScreenPlayerWireframe;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './VeltRecordingPreviewStepsDialogScreenPlayerWireframe';
|
|
@@ -11,6 +11,7 @@ import { IVeltRecordingPreviewStepsDialogTimerWireframe } from '../VeltRecording
|
|
|
11
11
|
import { IVeltRecordingPreviewStepsDialogVideoPlayerWireframe } from '../VeltRecordingPreviewStepsDialogVideoPlayerWireframe/VeltRecordingPreviewStepsDialogVideoPlayerWireframe';
|
|
12
12
|
import { IVeltRecordingPreviewStepsDialogWaveformWireframe } from '../VeltRecordingPreviewStepsDialogWaveformWireframe/VeltRecordingPreviewStepsDialogWaveformWireframe';
|
|
13
13
|
import { IVeltRecordingPreviewStepsDialogStartRecordingWireframe } from '../VeltRecordingPreviewStepsDialogStartRecordingWireframe/VeltRecordingPreviewStepsDialogStartRecordingWireframe';
|
|
14
|
+
import { IVeltRecordingPreviewStepsDialogScreenPlayerWireframe } from '../VeltRecordingPreviewStepsDialogScreenPlayerWireframe/VeltRecordingPreviewStepsDialogScreenPlayerWireframe';
|
|
14
15
|
import { IVeltWireframeCommonProps } from '../../../constants';
|
|
15
16
|
export interface IVeltRecordingPreviewStepsDialogVideoWireframeProps extends IVeltWireframeCommonProps {
|
|
16
17
|
}
|
|
@@ -26,6 +27,7 @@ export interface IVeltRecordingPreviewStepsDialogVideoWireframe extends React.FC
|
|
|
26
27
|
StartRecording: IVeltRecordingPreviewStepsDialogStartRecordingWireframe;
|
|
27
28
|
Timer: IVeltRecordingPreviewStepsDialogTimerWireframe;
|
|
28
29
|
VideoPlayer: IVeltRecordingPreviewStepsDialogVideoPlayerWireframe;
|
|
30
|
+
ScreenPlayer: IVeltRecordingPreviewStepsDialogScreenPlayerWireframe;
|
|
29
31
|
Waveform: IVeltRecordingPreviewStepsDialogWaveformWireframe;
|
|
30
32
|
}
|
|
31
33
|
declare const VeltRecordingPreviewStepsDialogVideoWireframe: IVeltRecordingPreviewStepsDialogVideoWireframe;
|
package/cjs/types/constants.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const VELT_SDK_VERSION = "4.5.2
|
|
2
|
+
export declare const VELT_SDK_VERSION = "4.5.2";
|
|
3
3
|
export declare const VELT_SDK_INIT_EVENT = "onVeltInit";
|
|
4
4
|
export declare const VELT_TAB_ID = "veltTabId";
|
|
5
5
|
export declare const INTEGRITY_MAP: Record<string, string>;
|
package/esm/index.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React, { createContext, useContext, useState, useEffect, useRef, useMemo } from 'react';
|
|
2
|
+
import { flushSync } from 'react-dom';
|
|
2
3
|
|
|
3
4
|
/******************************************************************************
|
|
4
5
|
Copyright (c) Microsoft Corporation.
|
|
@@ -136,13 +137,13 @@ var loadVelt = function (callback, version, staging, develop, proxyDomain, integ
|
|
|
136
137
|
}
|
|
137
138
|
};
|
|
138
139
|
|
|
139
|
-
var VELT_SDK_VERSION = '4.5.2
|
|
140
|
+
var VELT_SDK_VERSION = '4.5.2';
|
|
140
141
|
var VELT_SDK_INIT_EVENT = 'onVeltInit';
|
|
141
142
|
var VELT_TAB_ID = 'veltTabId';
|
|
142
143
|
// integrity map for the Velt SDK
|
|
143
144
|
// Note: generate integrity hashes with: https://www.srihash.org/
|
|
144
145
|
var INTEGRITY_MAP = {
|
|
145
|
-
'4.5.2
|
|
146
|
+
'4.5.2': 'sha384-wv8xKKl0fddxiuEgnhnZ/vV4DOH6zrMRb22I7V1mMPJ5lZINEbCIDwNt2AOqaJdo',
|
|
146
147
|
};
|
|
147
148
|
|
|
148
149
|
var SnippylyProvider = function (props) {
|
|
@@ -278,7 +279,7 @@ var SnippylyCommentBubble = function (props) {
|
|
|
278
279
|
};
|
|
279
280
|
|
|
280
281
|
var SnippylyComments = function (props) {
|
|
281
|
-
var autoCategorize = props.autoCategorize, streamViewContainerId = props.streamViewContainerId, onSignIn = props.onSignIn, onUpgrade = props.onUpgrade, textMode = props.textMode, popoverMode = props.popoverMode, popoverTriangleComponent = props.popoverTriangleComponent, floatingCommentDialog = props.floatingCommentDialog, moderatorMode = props.moderatorMode, streamMode = props.streamMode, signInButton = props.signInButton, upgradeButton = props.upgradeButton, attachments = props.attachments, recordings = props.recordings, reactions = props.reactions, deviceInfo = props.deviceInfo, commentIndex = props.commentIndex, dialogOnHover = props.dialogOnHover, dialogOnTargetElementClick = props.dialogOnTargetElementClick, priority = props.priority, inboxMode = props.inboxMode, suggestionMode = props.suggestionMode, mobileMode = props.mobileMode, inlineCommentMode = props.inlineCommentMode, privateCommentMode = props.privateCommentMode, minimap = props.minimap, minimapPosition = props.minimapPosition, persistentCommentMode = props.persistentCommentMode, ghostComments = props.ghostComments, ghostCommentsIndicator = props.ghostCommentsIndicator, commentsOnDom = props.commentsOnDom, resolvedCommentsOnDom = props.resolvedCommentsOnDom, filterCommentsOnDom = props.filterCommentsOnDom, bubbleOnPin = props.bubbleOnPin, bubbleOnPinHover = props.bubbleOnPinHover, commentTool = props.commentTool, sidebarButtonOnCommentDialog = props.sidebarButtonOnCommentDialog, deviceIndicatorOnCommentPins = props.deviceIndicatorOnCommentPins, scrollToComment = props.scrollToComment, userMentions = props.userMentions, deleteOnBackspace = props.deleteOnBackspace, hotkey = props.hotkey, recordingSummary = props.recordingSummary, recordingTranscription = props.recordingTranscription, recordingCountdown = props.recordingCountdown, unreadIndicatorMode = props.unreadIndicatorMode, enterKeyToSubmit = props.enterKeyToSubmit, pinShadowDom = props.pinShadowDom, dialogShadowDom = props.dialogShadowDom, persistentCommentShadowDom = props.persistentCommentShadowDom, shadowDom = props.shadowDom, changeDetectionInCommentMode = props.changeDetectionInCommentMode, areaComment = props.areaComment, pinCursorImage = props.pinCursorImage, allowedElementIds = props.allowedElementIds, allowedElementClassNames = props.allowedElementClassNames, allowedElementQuerySelectors = props.allowedElementQuerySelectors, commentPinHighlighter = props.commentPinHighlighter, customReactions = props.customReactions, onCommentAdd = props.onCommentAdd, onCommentUpdate = props.onCommentUpdate, onCommentAccept = props.onCommentAccept, onCommentReject = props.onCommentReject, onSidebarButtonOnCommentDialogClick = props.onSidebarButtonOnCommentDialogClick, onCommentSelectionChange = props.onCommentSelectionChange, customStatus = props.customStatus, customListDataOnAnnotation = props.customListDataOnAnnotation, customListDataOnComment = props.customListDataOnComment, customPriority = props.customPriority, customCategory = props.customCategory, status = props.status, resolveButton = props.resolveButton, darkMode = props.darkMode, onCustomPinInject = props.onCustomPinInject, children = props.children, textCommentToolShadowDom = props.textCommentToolShadowDom, textCommentToolbarShadowDom = props.textCommentToolbarShadowDom, dialogDarkMode = props.dialogDarkMode, pinDarkMode = props.pinDarkMode, textCommentToolDarkMode = props.textCommentToolDarkMode, textCommentToolbarDarkMode = props.textCommentToolbarDarkMode, composerMode = props.composerMode, atHereLabel = props.atHereLabel, atHereDescription = props.atHereDescription, multiThreadMode = props.multiThreadMode, multiThread = props.multiThread, groupMultipleMatch = props.groupMultipleMatch, groupMatchedComments = props.groupMatchedComments, onCopyLink = props.onCopyLink, deleteReplyConfirmation = props.deleteReplyConfirmation, collapsedComments = props.collapsedComments, shortUserName = props.shortUserName, resolveStatusAccessAdminOnly = props.resolveStatusAccessAdminOnly, svgAsImg = props.svgAsImg, seenByUsers = props.seenByUsers, readOnly = props.readOnly, atHereEnabled = props.atHereEnabled, customAutocompleteSearch = props.customAutocompleteSearch, deleteThreadWithFirstComment = props.deleteThreadWithFirstComment, expandMentionGroups = props.expandMentionGroups, showMentionGroupsFirst = props.showMentionGroupsFirst, showMentionGroupsOnly = props.showMentionGroupsOnly, fullExpanded = props.fullExpanded, commentToNearestAllowedElement = props.commentToNearestAllowedElement, draftMode = props.draftMode, maxReplyAvatars = props.maxReplyAvatars, replyAvatars = props.replyAvatars, linkCallback = props.linkCallback;
|
|
282
|
+
var autoCategorize = props.autoCategorize, streamViewContainerId = props.streamViewContainerId, onSignIn = props.onSignIn, onUpgrade = props.onUpgrade, textMode = props.textMode, popoverMode = props.popoverMode, popoverTriangleComponent = props.popoverTriangleComponent, floatingCommentDialog = props.floatingCommentDialog, moderatorMode = props.moderatorMode, streamMode = props.streamMode, signInButton = props.signInButton, upgradeButton = props.upgradeButton, attachments = props.attachments, recordings = props.recordings, reactions = props.reactions, deviceInfo = props.deviceInfo, commentIndex = props.commentIndex, dialogOnHover = props.dialogOnHover, dialogOnTargetElementClick = props.dialogOnTargetElementClick, priority = props.priority, inboxMode = props.inboxMode, suggestionMode = props.suggestionMode, mobileMode = props.mobileMode, inlineCommentMode = props.inlineCommentMode, privateCommentMode = props.privateCommentMode, minimap = props.minimap, minimapPosition = props.minimapPosition, persistentCommentMode = props.persistentCommentMode, ghostComments = props.ghostComments, ghostCommentsIndicator = props.ghostCommentsIndicator, commentsOnDom = props.commentsOnDom, resolvedCommentsOnDom = props.resolvedCommentsOnDom, filterCommentsOnDom = props.filterCommentsOnDom, bubbleOnPin = props.bubbleOnPin, bubbleOnPinHover = props.bubbleOnPinHover, commentTool = props.commentTool, sidebarButtonOnCommentDialog = props.sidebarButtonOnCommentDialog, deviceIndicatorOnCommentPins = props.deviceIndicatorOnCommentPins, scrollToComment = props.scrollToComment, userMentions = props.userMentions, deleteOnBackspace = props.deleteOnBackspace, hotkey = props.hotkey, recordingSummary = props.recordingSummary, recordingTranscription = props.recordingTranscription, recordingCountdown = props.recordingCountdown, unreadIndicatorMode = props.unreadIndicatorMode, enterKeyToSubmit = props.enterKeyToSubmit, pinShadowDom = props.pinShadowDom, dialogShadowDom = props.dialogShadowDom, persistentCommentShadowDom = props.persistentCommentShadowDom, shadowDom = props.shadowDom, changeDetectionInCommentMode = props.changeDetectionInCommentMode, areaComment = props.areaComment, pinCursorImage = props.pinCursorImage, allowedElementIds = props.allowedElementIds, allowedElementClassNames = props.allowedElementClassNames, allowedElementQuerySelectors = props.allowedElementQuerySelectors, commentPinHighlighter = props.commentPinHighlighter, customReactions = props.customReactions, onCommentAdd = props.onCommentAdd, onCommentUpdate = props.onCommentUpdate, onCommentAccept = props.onCommentAccept, onCommentReject = props.onCommentReject, onSidebarButtonOnCommentDialogClick = props.onSidebarButtonOnCommentDialogClick, onCommentSelectionChange = props.onCommentSelectionChange, customStatus = props.customStatus, customListDataOnAnnotation = props.customListDataOnAnnotation, customListDataOnComment = props.customListDataOnComment, customPriority = props.customPriority, customCategory = props.customCategory, status = props.status, resolveButton = props.resolveButton, darkMode = props.darkMode, onCustomPinInject = props.onCustomPinInject, children = props.children, textCommentToolShadowDom = props.textCommentToolShadowDom, textCommentToolbarShadowDom = props.textCommentToolbarShadowDom, dialogDarkMode = props.dialogDarkMode, pinDarkMode = props.pinDarkMode, textCommentToolDarkMode = props.textCommentToolDarkMode, textCommentToolbarDarkMode = props.textCommentToolbarDarkMode, composerMode = props.composerMode, atHereLabel = props.atHereLabel, atHereDescription = props.atHereDescription, multiThreadMode = props.multiThreadMode, multiThread = props.multiThread, groupMultipleMatch = props.groupMultipleMatch, groupMatchedComments = props.groupMatchedComments, onCopyLink = props.onCopyLink, deleteReplyConfirmation = props.deleteReplyConfirmation, collapsedComments = props.collapsedComments, shortUserName = props.shortUserName, resolveStatusAccessAdminOnly = props.resolveStatusAccessAdminOnly, svgAsImg = props.svgAsImg, seenByUsers = props.seenByUsers, readOnly = props.readOnly, atHereEnabled = props.atHereEnabled, customAutocompleteSearch = props.customAutocompleteSearch, deleteThreadWithFirstComment = props.deleteThreadWithFirstComment, expandMentionGroups = props.expandMentionGroups, showMentionGroupsFirst = props.showMentionGroupsFirst, showMentionGroupsOnly = props.showMentionGroupsOnly, fullExpanded = props.fullExpanded, commentToNearestAllowedElement = props.commentToNearestAllowedElement, draftMode = props.draftMode, maxReplyAvatars = props.maxReplyAvatars, replyAvatars = props.replyAvatars, linkCallback = props.linkCallback, replyPlaceholder = props.replyPlaceholder, commentPlaceholder = props.commentPlaceholder;
|
|
282
283
|
var ref = useRef();
|
|
283
284
|
var onSignInRef = useRef(onSignIn);
|
|
284
285
|
var onUpgradeRef = useRef(onUpgrade);
|
|
@@ -403,11 +404,11 @@ var SnippylyComments = function (props) {
|
|
|
403
404
|
}
|
|
404
405
|
};
|
|
405
406
|
}, []);
|
|
406
|
-
return (React.createElement("velt-comments", { ref: ref, "at-here-label": atHereLabel, "at-here-description": atHereDescription, "at-here-enabled": [true, false].includes(atHereEnabled) ? (atHereEnabled ? 'true' : 'false') : undefined, "composer-mode": composerMode, "seen-by-users": [true, false].includes(seenByUsers) ? (seenByUsers ? 'true' : 'false') : undefined, "collapsed-comments": [true, false].includes(collapsedComments) ? (collapsedComments ? 'true' : 'false') : undefined, "short-user-name": [true, false].includes(shortUserName) ? (shortUserName ? 'true' : 'false') : undefined, "resolve-status-access-admin-only": [true, false].includes(resolveStatusAccessAdminOnly) ? (resolveStatusAccessAdminOnly ? 'true' : 'false') : undefined, "delete-reply-confirmation": [true, false].includes(deleteReplyConfirmation) ? (deleteReplyConfirmation ? 'true' : 'false') : undefined, "auto-categorize": [true, false].includes(autoCategorize) ? (autoCategorize ? 'true' : 'false') : undefined, "data-stream-view-container-id": streamViewContainerId, "text-mode": [true, false].includes(textMode) ? (textMode ? 'true' : 'false') : undefined, "popover-mode": [true, false].includes(popoverMode) ? (popoverMode ? 'true' : 'false') : undefined, "popover-triangle-component": [true, false].includes(popoverTriangleComponent) ? (popoverTriangleComponent ? 'true' : 'false') : undefined, "floating-comment-dialog": [true, false].includes(floatingCommentDialog) ? (floatingCommentDialog ? 'true' : 'false') : undefined, "moderator-mode": [true, false].includes(moderatorMode) ? (moderatorMode ? 'true' : 'false') : undefined, "stream-mode": [true, false].includes(streamMode) ? (streamMode ? 'true' : 'false') : undefined, "sign-in-button": [true, false].includes(signInButton) ? (signInButton ? 'true' : 'false') : undefined, "upgrade-button": [true, false].includes(upgradeButton) ? (upgradeButton ? 'true' : 'false') : undefined, attachments: [true, false].includes(attachments) ? (attachments ? 'true' : 'false') : undefined, recordings: recordings, reactions: [true, false].includes(reactions) ? (reactions ? 'true' : 'false') : undefined, "device-info": [true, false].includes(deviceInfo) ? (deviceInfo ? 'true' : 'false') : undefined, "comment-index": [true, false].includes(commentIndex) ? (commentIndex ? 'true' : 'false') : undefined, "dialog-on-hover": [true, false].includes(dialogOnHover) ? (dialogOnHover ? 'true' : 'false') : undefined, "dialog-on-target-element-click": [true, false].includes(dialogOnTargetElementClick) ? (dialogOnTargetElementClick ? 'true' : 'false') : undefined, priority: [true, false].includes(priority) ? (priority ? 'true' : 'false') : undefined, status: [true, false].includes(status) ? (status ? 'true' : 'false') : undefined, "resolve-button": [true, false].includes(resolveButton) ? (resolveButton ? 'true' : 'false') : undefined, "inbox-mode": [true, false].includes(inboxMode) ? (inboxMode ? 'true' : 'false') : undefined, "suggestion-mode": [true, false].includes(suggestionMode) ? (suggestionMode ? 'true' : 'false') : undefined, "mobile-mode": [true, false].includes(mobileMode) ? (mobileMode ? 'true' : 'false') : undefined, "inline-comment-mode": [true, false].includes(inlineCommentMode) ? (inlineCommentMode ? 'true' : 'false') : undefined, "private-comment-mode": [true, false].includes(privateCommentMode) ? (privateCommentMode ? 'true' : 'false') : undefined, minimap: [true, false].includes(minimap) ? (minimap ? 'true' : 'false') : undefined, "minimap-position": minimapPosition, "persistent-comment-mode": [true, false].includes(persistentCommentMode) ? (persistentCommentMode ? 'true' : 'false') : undefined, "ghost-comments": [true, false].includes(ghostComments) ? (ghostComments ? 'true' : 'false') : undefined, "ghost-comments-indicator": [true, false].includes(ghostCommentsIndicator) ? (ghostCommentsIndicator ? 'true' : 'false') : undefined, "comments-on-dom": [true, false].includes(commentsOnDom) ? (commentsOnDom ? 'true' : 'false') : undefined, "resolved-comments-on-dom": [true, false].includes(resolvedCommentsOnDom) ? (resolvedCommentsOnDom ? 'true' : 'false') : undefined, "filter-comments-on-dom": [true, false].includes(filterCommentsOnDom) ? (filterCommentsOnDom ? 'true' : 'false') : undefined, "bubble-on-pin": [true, false].includes(bubbleOnPin) ? (bubbleOnPin ? 'true' : 'false') : undefined, "bubble-on-pin-hover": [true, false].includes(bubbleOnPinHover) ? (bubbleOnPinHover ? 'true' : 'false') : undefined, "comment-tool": [true, false].includes(commentTool) ? (commentTool ? 'true' : 'false') : undefined, "sidebar-button-on-comment-dialog": [true, false].includes(sidebarButtonOnCommentDialog) ? (sidebarButtonOnCommentDialog ? 'true' : 'false') : undefined, "device-indicator-on-comment-pins": [true, false].includes(deviceIndicatorOnCommentPins) ? (deviceIndicatorOnCommentPins ? 'true' : 'false') : undefined, "scroll-to-comment": [true, false].includes(scrollToComment) ? (scrollToComment ? 'true' : 'false') : undefined, "user-mentions": [true, false].includes(userMentions) ? (userMentions ? 'true' : 'false') : undefined, "delete-on-backspace": [true, false].includes(deleteOnBackspace) ? (deleteOnBackspace ? 'true' : 'false') : undefined, hotkey: [true, false].includes(hotkey) ? (hotkey ? 'true' : 'false') : undefined, "recording-summary": [true, false].includes(recordingSummary) ? (recordingSummary ? 'true' : 'false') : undefined, "recording-transcription": [true, false].includes(recordingTranscription) ? (recordingTranscription ? 'true' : 'false') : undefined, "recording-countdown": [true, false].includes(recordingCountdown) ? (recordingCountdown ? 'true' : 'false') : undefined, "unread-indicator-mode": unreadIndicatorMode, "enter-key-to-submit": [true, false].includes(enterKeyToSubmit) ? (enterKeyToSubmit ? 'true' : 'false') : undefined, "pin-shadow-dom": [true, false].includes(pinShadowDom) ? (pinShadowDom ? 'true' : 'false') : undefined, "dialog-shadow-dom": [true, false].includes(dialogShadowDom) ? (dialogShadowDom ? 'true' : 'false') : undefined, "shadow-dom": [true, false].includes(shadowDom) ? (shadowDom ? 'true' : 'false') : undefined, "text-comment-tool-shadow-dom": [true, false].includes(textCommentToolShadowDom) ? (textCommentToolShadowDom ? 'true' : 'false') : undefined, "text-comment-toolbar-shadow-dom": [true, false].includes(textCommentToolbarShadowDom) ? (textCommentToolbarShadowDom ? 'true' : 'false') : undefined, "persistent-comment-shadow-dom": [true, false].includes(persistentCommentShadowDom) ? (persistentCommentShadowDom ? 'true' : 'false') : undefined, "change-detection-in-comment-mode": [true, false].includes(changeDetectionInCommentMode) ? (changeDetectionInCommentMode ? 'true' : 'false') : undefined, "area-comment": [true, false].includes(areaComment) ? (areaComment ? 'true' : 'false') : undefined, "pin-cursor-image": pinCursorImage, "allowed-element-ids": JSON.stringify(allowedElementIds), "allowed-element-class-names": JSON.stringify(allowedElementClassNames), "allowed-element-query-selectors": JSON.stringify(allowedElementQuerySelectors), "comment-pin-highlighter": [true, false].includes(commentPinHighlighter) ? (commentPinHighlighter ? 'true' : 'false') : undefined, "custom-reactions": JSON.stringify(customReactions), "custom-status": JSON.stringify(customStatus), "custom-list-data-on-annotation": JSON.stringify(customListDataOnAnnotation), "custom-list-data-on-comment": JSON.stringify(customListDataOnComment), "custom-priority": JSON.stringify(customPriority), "custom-category": JSON.stringify(customCategory), "dark-mode": [true, false].includes(darkMode) ? (darkMode ? 'true' : 'false') : undefined, "dialog-dark-mode": [true, false].includes(dialogDarkMode) ? (dialogDarkMode ? 'true' : 'false') : undefined, "pin-dark-mode": [true, false].includes(pinDarkMode) ? (pinDarkMode ? 'true' : 'false') : undefined, "text-comment-tool-dark-mode": [true, false].includes(textCommentToolDarkMode) ? (textCommentToolDarkMode ? 'true' : 'false') : undefined, "text-comment-toolbar-dark-mode": [true, false].includes(textCommentToolbarDarkMode) ? (textCommentToolbarDarkMode ? 'true' : 'false') : undefined, "multi-thread-mode": [true, false].includes(multiThreadMode) ? (multiThreadMode ? 'true' : 'false') : undefined, "multi-thread": [true, false].includes(multiThread) ? (multiThread ? 'true' : 'false') : undefined, "group-multiple-match": [true, false].includes(groupMultipleMatch) ? (groupMultipleMatch ? 'true' : 'false') : undefined, "group-matched-comments": [true, false].includes(groupMatchedComments) ? (groupMatchedComments ? 'true' : 'false') : undefined, "read-only": [true, false].includes(readOnly) ? (readOnly ? 'true' : 'false') : undefined, "custom-autocomplete-search": [true, false].includes(customAutocompleteSearch) ? (customAutocompleteSearch ? 'true' : 'false') : undefined, "delete-thread-with-first-comment": [true, false].includes(deleteThreadWithFirstComment) ? (deleteThreadWithFirstComment ? 'true' : 'false') : undefined, "svg-as-img": [true, false].includes(svgAsImg) ? (svgAsImg ? 'true' : 'false') : undefined, "expand-mention-groups": [true, false].includes(expandMentionGroups) ? (expandMentionGroups ? 'true' : 'false') : undefined, "show-mention-groups-first": [true, false].includes(showMentionGroupsFirst) ? (showMentionGroupsFirst ? 'true' : 'false') : undefined, "show-mention-groups-only": [true, false].includes(showMentionGroupsOnly) ? (showMentionGroupsOnly ? 'true' : 'false') : undefined, "full-expanded": [true, false].includes(fullExpanded) ? (fullExpanded ? 'true' : 'false') : undefined, "comment-to-nearest-allowed-element": [true, false].includes(commentToNearestAllowedElement) ? (commentToNearestAllowedElement ? 'true' : 'false') : undefined, "draft-mode": [true, false].includes(draftMode) ? (draftMode ? 'true' : 'false') : undefined, "max-reply-avatars": maxReplyAvatars, "reply-avatars": [true, false].includes(replyAvatars) ? (replyAvatars ? 'true' : 'false') : undefined, "link-callback": [true, false].includes(linkCallback) ? (linkCallback ? 'true' : 'false') : undefined }, children));
|
|
407
|
+
return (React.createElement("velt-comments", { ref: ref, "at-here-label": atHereLabel, "at-here-description": atHereDescription, "at-here-enabled": [true, false].includes(atHereEnabled) ? (atHereEnabled ? 'true' : 'false') : undefined, "composer-mode": composerMode, "seen-by-users": [true, false].includes(seenByUsers) ? (seenByUsers ? 'true' : 'false') : undefined, "collapsed-comments": [true, false].includes(collapsedComments) ? (collapsedComments ? 'true' : 'false') : undefined, "short-user-name": [true, false].includes(shortUserName) ? (shortUserName ? 'true' : 'false') : undefined, "resolve-status-access-admin-only": [true, false].includes(resolveStatusAccessAdminOnly) ? (resolveStatusAccessAdminOnly ? 'true' : 'false') : undefined, "delete-reply-confirmation": [true, false].includes(deleteReplyConfirmation) ? (deleteReplyConfirmation ? 'true' : 'false') : undefined, "auto-categorize": [true, false].includes(autoCategorize) ? (autoCategorize ? 'true' : 'false') : undefined, "data-stream-view-container-id": streamViewContainerId, "text-mode": [true, false].includes(textMode) ? (textMode ? 'true' : 'false') : undefined, "popover-mode": [true, false].includes(popoverMode) ? (popoverMode ? 'true' : 'false') : undefined, "popover-triangle-component": [true, false].includes(popoverTriangleComponent) ? (popoverTriangleComponent ? 'true' : 'false') : undefined, "floating-comment-dialog": [true, false].includes(floatingCommentDialog) ? (floatingCommentDialog ? 'true' : 'false') : undefined, "moderator-mode": [true, false].includes(moderatorMode) ? (moderatorMode ? 'true' : 'false') : undefined, "stream-mode": [true, false].includes(streamMode) ? (streamMode ? 'true' : 'false') : undefined, "sign-in-button": [true, false].includes(signInButton) ? (signInButton ? 'true' : 'false') : undefined, "upgrade-button": [true, false].includes(upgradeButton) ? (upgradeButton ? 'true' : 'false') : undefined, attachments: [true, false].includes(attachments) ? (attachments ? 'true' : 'false') : undefined, recordings: recordings, reactions: [true, false].includes(reactions) ? (reactions ? 'true' : 'false') : undefined, "device-info": [true, false].includes(deviceInfo) ? (deviceInfo ? 'true' : 'false') : undefined, "comment-index": [true, false].includes(commentIndex) ? (commentIndex ? 'true' : 'false') : undefined, "dialog-on-hover": [true, false].includes(dialogOnHover) ? (dialogOnHover ? 'true' : 'false') : undefined, "dialog-on-target-element-click": [true, false].includes(dialogOnTargetElementClick) ? (dialogOnTargetElementClick ? 'true' : 'false') : undefined, priority: [true, false].includes(priority) ? (priority ? 'true' : 'false') : undefined, status: [true, false].includes(status) ? (status ? 'true' : 'false') : undefined, "resolve-button": [true, false].includes(resolveButton) ? (resolveButton ? 'true' : 'false') : undefined, "inbox-mode": [true, false].includes(inboxMode) ? (inboxMode ? 'true' : 'false') : undefined, "suggestion-mode": [true, false].includes(suggestionMode) ? (suggestionMode ? 'true' : 'false') : undefined, "mobile-mode": [true, false].includes(mobileMode) ? (mobileMode ? 'true' : 'false') : undefined, "inline-comment-mode": [true, false].includes(inlineCommentMode) ? (inlineCommentMode ? 'true' : 'false') : undefined, "private-comment-mode": [true, false].includes(privateCommentMode) ? (privateCommentMode ? 'true' : 'false') : undefined, minimap: [true, false].includes(minimap) ? (minimap ? 'true' : 'false') : undefined, "minimap-position": minimapPosition, "persistent-comment-mode": [true, false].includes(persistentCommentMode) ? (persistentCommentMode ? 'true' : 'false') : undefined, "ghost-comments": [true, false].includes(ghostComments) ? (ghostComments ? 'true' : 'false') : undefined, "ghost-comments-indicator": [true, false].includes(ghostCommentsIndicator) ? (ghostCommentsIndicator ? 'true' : 'false') : undefined, "comments-on-dom": [true, false].includes(commentsOnDom) ? (commentsOnDom ? 'true' : 'false') : undefined, "resolved-comments-on-dom": [true, false].includes(resolvedCommentsOnDom) ? (resolvedCommentsOnDom ? 'true' : 'false') : undefined, "filter-comments-on-dom": [true, false].includes(filterCommentsOnDom) ? (filterCommentsOnDom ? 'true' : 'false') : undefined, "bubble-on-pin": [true, false].includes(bubbleOnPin) ? (bubbleOnPin ? 'true' : 'false') : undefined, "bubble-on-pin-hover": [true, false].includes(bubbleOnPinHover) ? (bubbleOnPinHover ? 'true' : 'false') : undefined, "comment-tool": [true, false].includes(commentTool) ? (commentTool ? 'true' : 'false') : undefined, "sidebar-button-on-comment-dialog": [true, false].includes(sidebarButtonOnCommentDialog) ? (sidebarButtonOnCommentDialog ? 'true' : 'false') : undefined, "device-indicator-on-comment-pins": [true, false].includes(deviceIndicatorOnCommentPins) ? (deviceIndicatorOnCommentPins ? 'true' : 'false') : undefined, "scroll-to-comment": [true, false].includes(scrollToComment) ? (scrollToComment ? 'true' : 'false') : undefined, "user-mentions": [true, false].includes(userMentions) ? (userMentions ? 'true' : 'false') : undefined, "delete-on-backspace": [true, false].includes(deleteOnBackspace) ? (deleteOnBackspace ? 'true' : 'false') : undefined, hotkey: [true, false].includes(hotkey) ? (hotkey ? 'true' : 'false') : undefined, "recording-summary": [true, false].includes(recordingSummary) ? (recordingSummary ? 'true' : 'false') : undefined, "recording-transcription": [true, false].includes(recordingTranscription) ? (recordingTranscription ? 'true' : 'false') : undefined, "recording-countdown": [true, false].includes(recordingCountdown) ? (recordingCountdown ? 'true' : 'false') : undefined, "unread-indicator-mode": unreadIndicatorMode, "enter-key-to-submit": [true, false].includes(enterKeyToSubmit) ? (enterKeyToSubmit ? 'true' : 'false') : undefined, "pin-shadow-dom": [true, false].includes(pinShadowDom) ? (pinShadowDom ? 'true' : 'false') : undefined, "dialog-shadow-dom": [true, false].includes(dialogShadowDom) ? (dialogShadowDom ? 'true' : 'false') : undefined, "shadow-dom": [true, false].includes(shadowDom) ? (shadowDom ? 'true' : 'false') : undefined, "text-comment-tool-shadow-dom": [true, false].includes(textCommentToolShadowDom) ? (textCommentToolShadowDom ? 'true' : 'false') : undefined, "text-comment-toolbar-shadow-dom": [true, false].includes(textCommentToolbarShadowDom) ? (textCommentToolbarShadowDom ? 'true' : 'false') : undefined, "persistent-comment-shadow-dom": [true, false].includes(persistentCommentShadowDom) ? (persistentCommentShadowDom ? 'true' : 'false') : undefined, "change-detection-in-comment-mode": [true, false].includes(changeDetectionInCommentMode) ? (changeDetectionInCommentMode ? 'true' : 'false') : undefined, "area-comment": [true, false].includes(areaComment) ? (areaComment ? 'true' : 'false') : undefined, "pin-cursor-image": pinCursorImage, "allowed-element-ids": JSON.stringify(allowedElementIds), "allowed-element-class-names": JSON.stringify(allowedElementClassNames), "allowed-element-query-selectors": JSON.stringify(allowedElementQuerySelectors), "comment-pin-highlighter": [true, false].includes(commentPinHighlighter) ? (commentPinHighlighter ? 'true' : 'false') : undefined, "custom-reactions": JSON.stringify(customReactions), "custom-status": JSON.stringify(customStatus), "custom-list-data-on-annotation": JSON.stringify(customListDataOnAnnotation), "custom-list-data-on-comment": JSON.stringify(customListDataOnComment), "custom-priority": JSON.stringify(customPriority), "custom-category": JSON.stringify(customCategory), "dark-mode": [true, false].includes(darkMode) ? (darkMode ? 'true' : 'false') : undefined, "dialog-dark-mode": [true, false].includes(dialogDarkMode) ? (dialogDarkMode ? 'true' : 'false') : undefined, "pin-dark-mode": [true, false].includes(pinDarkMode) ? (pinDarkMode ? 'true' : 'false') : undefined, "text-comment-tool-dark-mode": [true, false].includes(textCommentToolDarkMode) ? (textCommentToolDarkMode ? 'true' : 'false') : undefined, "text-comment-toolbar-dark-mode": [true, false].includes(textCommentToolbarDarkMode) ? (textCommentToolbarDarkMode ? 'true' : 'false') : undefined, "multi-thread-mode": [true, false].includes(multiThreadMode) ? (multiThreadMode ? 'true' : 'false') : undefined, "multi-thread": [true, false].includes(multiThread) ? (multiThread ? 'true' : 'false') : undefined, "group-multiple-match": [true, false].includes(groupMultipleMatch) ? (groupMultipleMatch ? 'true' : 'false') : undefined, "group-matched-comments": [true, false].includes(groupMatchedComments) ? (groupMatchedComments ? 'true' : 'false') : undefined, "read-only": [true, false].includes(readOnly) ? (readOnly ? 'true' : 'false') : undefined, "custom-autocomplete-search": [true, false].includes(customAutocompleteSearch) ? (customAutocompleteSearch ? 'true' : 'false') : undefined, "delete-thread-with-first-comment": [true, false].includes(deleteThreadWithFirstComment) ? (deleteThreadWithFirstComment ? 'true' : 'false') : undefined, "svg-as-img": [true, false].includes(svgAsImg) ? (svgAsImg ? 'true' : 'false') : undefined, "expand-mention-groups": [true, false].includes(expandMentionGroups) ? (expandMentionGroups ? 'true' : 'false') : undefined, "show-mention-groups-first": [true, false].includes(showMentionGroupsFirst) ? (showMentionGroupsFirst ? 'true' : 'false') : undefined, "show-mention-groups-only": [true, false].includes(showMentionGroupsOnly) ? (showMentionGroupsOnly ? 'true' : 'false') : undefined, "full-expanded": [true, false].includes(fullExpanded) ? (fullExpanded ? 'true' : 'false') : undefined, "comment-to-nearest-allowed-element": [true, false].includes(commentToNearestAllowedElement) ? (commentToNearestAllowedElement ? 'true' : 'false') : undefined, "draft-mode": [true, false].includes(draftMode) ? (draftMode ? 'true' : 'false') : undefined, "max-reply-avatars": maxReplyAvatars, "reply-avatars": [true, false].includes(replyAvatars) ? (replyAvatars ? 'true' : 'false') : undefined, "link-callback": [true, false].includes(linkCallback) ? (linkCallback ? 'true' : 'false') : undefined, "reply-placeholder": replyPlaceholder, "comment-placeholder": commentPlaceholder }, children));
|
|
407
408
|
};
|
|
408
409
|
|
|
409
410
|
var SnippylyCommentsSidebar = function (props) {
|
|
410
|
-
var embedMode = props.embedMode; props.floatingMode; var enableUrlNavigation = props.enableUrlNavigation, urlNavigation = props.urlNavigation, queryParamsComments = props.queryParamsComments, pageMode = props.pageMode, currentLocationSuffix = props.currentLocationSuffix, sortData = props.sortData, filterConfig = props.filterConfig, groupConfig = props.groupConfig, filters = props.filters, excludeLocationIds = props.excludeLocationIds, variant = props.variant, pageModeComposerVariant = props.pageModeComposerVariant, dialogVariant = props.dialogVariant, shadowDom = props.shadowDom, searchPlaceholder = props.searchPlaceholder, openSidebar = props.openSidebar, onSidebarOpen = props.onSidebarOpen, onSidebarCommentClick = props.onSidebarCommentClick, onCommentClick = props.onCommentClick, onSidebarClose = props.onSidebarClose, darkMode = props.darkMode, position = props.position, filterPanelLayout = props.filterPanelLayout, customActions = props.customActions, focusedThreadDialogVariant = props.focusedThreadDialogVariant, focusedThreadMode = props.focusedThreadMode, onCommentNavigationButtonClick = props.onCommentNavigationButtonClick, filterOptionLayout = props.filterOptionLayout, filterCount = props.filterCount, fullExpanded = props.fullExpanded, systemFiltersOperator = props.systemFiltersOperator, sidebarButtonCountType = props.sidebarButtonCountType, filterGhostCommentsInSidebar = props.filterGhostCommentsInSidebar;
|
|
411
|
+
var embedMode = props.embedMode; props.floatingMode; var enableUrlNavigation = props.enableUrlNavigation, urlNavigation = props.urlNavigation, queryParamsComments = props.queryParamsComments, pageMode = props.pageMode, currentLocationSuffix = props.currentLocationSuffix, sortData = props.sortData, filterConfig = props.filterConfig, groupConfig = props.groupConfig, filters = props.filters, excludeLocationIds = props.excludeLocationIds, variant = props.variant, pageModeComposerVariant = props.pageModeComposerVariant, dialogVariant = props.dialogVariant, shadowDom = props.shadowDom, searchPlaceholder = props.searchPlaceholder, openSidebar = props.openSidebar, onSidebarOpen = props.onSidebarOpen, onSidebarCommentClick = props.onSidebarCommentClick, onCommentClick = props.onCommentClick, onSidebarClose = props.onSidebarClose, darkMode = props.darkMode, position = props.position, filterPanelLayout = props.filterPanelLayout, customActions = props.customActions, focusedThreadDialogVariant = props.focusedThreadDialogVariant, focusedThreadMode = props.focusedThreadMode, onCommentNavigationButtonClick = props.onCommentNavigationButtonClick, filterOptionLayout = props.filterOptionLayout, filterCount = props.filterCount, fullExpanded = props.fullExpanded, systemFiltersOperator = props.systemFiltersOperator, sidebarButtonCountType = props.sidebarButtonCountType, filterGhostCommentsInSidebar = props.filterGhostCommentsInSidebar, fullScreen = props.fullScreen;
|
|
411
412
|
var ref = useRef();
|
|
412
413
|
var openSidebarRef = useRef(openSidebar);
|
|
413
414
|
var onSidebarOpenRef = useRef(onSidebarOpen);
|
|
@@ -480,7 +481,7 @@ var SnippylyCommentsSidebar = function (props) {
|
|
|
480
481
|
}
|
|
481
482
|
};
|
|
482
483
|
}, []);
|
|
483
|
-
return (React.createElement("velt-comments-sidebar", { ref: ref, position: position, "filter-panel-layout": filterPanelLayout, "focused-thread-mode": [true, false].includes(focusedThreadMode) ? (focusedThreadMode ? 'true' : 'false') : undefined, "focused-thread-dialog-variant": focusedThreadDialogVariant, "custom-actions": [true, false].includes(customActions) ? (customActions ? 'true' : 'false') : undefined, "shadow-dom": [true, false].includes(shadowDom) ? (shadowDom ? 'true' : 'false') : undefined, "embed-mode": [true, false].includes(embedMode) ? (embedMode ? 'true' : 'false') : undefined, "enable-url-navigation": [true, false].includes(enableUrlNavigation) ? (enableUrlNavigation ? 'true' : 'false') : undefined, "url-navigation": [true, false].includes(urlNavigation) ? (urlNavigation ? 'true' : 'false') : undefined, "query-params-comments": [true, false].includes(queryParamsComments) ? (queryParamsComments ? 'true' : 'false') : undefined, "page-mode": [true, false].includes(pageMode) ? (pageMode ? 'true' : 'false') : undefined, "current-location-suffix": [true, false].includes(currentLocationSuffix) ? (currentLocationSuffix ? 'true' : 'false') : undefined, "filter-config": filterConfig ? JSON.stringify(filterConfig) : undefined, "group-config": groupConfig ? JSON.stringify(groupConfig) : undefined, filters: filters ? JSON.stringify(filters) : undefined, "exclude-location-ids": excludeLocationIds ? JSON.stringify(excludeLocationIds) : undefined, variant: variant, "page-mode-composer-variant": pageModeComposerVariant, "dialog-variant": dialogVariant, "sort-data": sortData, "search-placeholder": searchPlaceholder, "dark-mode": [true, false].includes(darkMode) ? (darkMode ? 'true' : 'false') : undefined, "floating-mode": [true, false].includes(embedMode) ? (embedMode ? 'true' : 'false') : undefined, "filter-option-layout": filterOptionLayout, "filter-count": [true, false].includes(filterCount) ? (filterCount ? 'true' : 'false') : undefined, "full-expanded": [true, false].includes(fullExpanded) ? (fullExpanded ? 'true' : 'false') : undefined, "system-filters-operator": systemFiltersOperator, "sidebar-button-count-type": sidebarButtonCountType, "filter-ghost-comments-in-sidebar": [true, false].includes(filterGhostCommentsInSidebar) ? (filterGhostCommentsInSidebar ? 'true' : 'false') : undefined }));
|
|
484
|
+
return (React.createElement("velt-comments-sidebar", { ref: ref, position: position, "filter-panel-layout": filterPanelLayout, "focused-thread-mode": [true, false].includes(focusedThreadMode) ? (focusedThreadMode ? 'true' : 'false') : undefined, "focused-thread-dialog-variant": focusedThreadDialogVariant, "custom-actions": [true, false].includes(customActions) ? (customActions ? 'true' : 'false') : undefined, "shadow-dom": [true, false].includes(shadowDom) ? (shadowDom ? 'true' : 'false') : undefined, "embed-mode": [true, false].includes(embedMode) ? (embedMode ? 'true' : 'false') : undefined, "enable-url-navigation": [true, false].includes(enableUrlNavigation) ? (enableUrlNavigation ? 'true' : 'false') : undefined, "url-navigation": [true, false].includes(urlNavigation) ? (urlNavigation ? 'true' : 'false') : undefined, "query-params-comments": [true, false].includes(queryParamsComments) ? (queryParamsComments ? 'true' : 'false') : undefined, "page-mode": [true, false].includes(pageMode) ? (pageMode ? 'true' : 'false') : undefined, "current-location-suffix": [true, false].includes(currentLocationSuffix) ? (currentLocationSuffix ? 'true' : 'false') : undefined, "filter-config": filterConfig ? JSON.stringify(filterConfig) : undefined, "group-config": groupConfig ? JSON.stringify(groupConfig) : undefined, filters: filters ? JSON.stringify(filters) : undefined, "exclude-location-ids": excludeLocationIds ? JSON.stringify(excludeLocationIds) : undefined, variant: variant, "page-mode-composer-variant": pageModeComposerVariant, "dialog-variant": dialogVariant, "sort-data": sortData, "search-placeholder": searchPlaceholder, "dark-mode": [true, false].includes(darkMode) ? (darkMode ? 'true' : 'false') : undefined, "floating-mode": [true, false].includes(embedMode) ? (embedMode ? 'true' : 'false') : undefined, "filter-option-layout": filterOptionLayout, "filter-count": [true, false].includes(filterCount) ? (filterCount ? 'true' : 'false') : undefined, "full-expanded": [true, false].includes(fullExpanded) ? (fullExpanded ? 'true' : 'false') : undefined, "system-filters-operator": systemFiltersOperator, "sidebar-button-count-type": sidebarButtonCountType, "filter-ghost-comments-in-sidebar": [true, false].includes(filterGhostCommentsInSidebar) ? (filterGhostCommentsInSidebar ? 'true' : 'false') : undefined, "full-screen": [true, false].includes(fullScreen) ? (fullScreen ? 'true' : 'false') : undefined }));
|
|
484
485
|
};
|
|
485
486
|
|
|
486
487
|
var SnippylyCommentTool = function (props) {
|
|
@@ -620,7 +621,7 @@ var SnippylyPresence = function (props) {
|
|
|
620
621
|
};
|
|
621
622
|
|
|
622
623
|
var SnippylyRecorderControlPanel = function (props) {
|
|
623
|
-
var mode = props.mode, panelId = props.panelId, onRecordedData = props.onRecordedData, recordingCountdown = props.recordingCountdown, recordingTranscription = props.recordingTranscription, videoEditor = props.videoEditor, settingsEmbedded = props.settingsEmbedded, autoOpenVideoEditor = props.autoOpenVideoEditor, playVideoInFullScreen = props.playVideoInFullScreen, retakeOnVideoEditor = props.retakeOnVideoEditor;
|
|
624
|
+
var mode = props.mode, panelId = props.panelId, onRecordedData = props.onRecordedData, recordingCountdown = props.recordingCountdown, recordingTranscription = props.recordingTranscription, videoEditor = props.videoEditor, settingsEmbedded = props.settingsEmbedded, autoOpenVideoEditor = props.autoOpenVideoEditor, playVideoInFullScreen = props.playVideoInFullScreen, retakeOnVideoEditor = props.retakeOnVideoEditor, pictureInPicture = props.pictureInPicture, maxLength = props.maxLength;
|
|
624
625
|
var ref = useRef();
|
|
625
626
|
var onRecordedDataRef = useRef(onRecordedData);
|
|
626
627
|
// Update the ref to always point to the latest callback function
|
|
@@ -646,7 +647,7 @@ var SnippylyRecorderControlPanel = function (props) {
|
|
|
646
647
|
}
|
|
647
648
|
};
|
|
648
649
|
}, []);
|
|
649
|
-
return (React.createElement("velt-recorder-control-panel", { ref: ref, mode: mode, "panel-id": panelId, "retake-on-video-editor": [true, false].includes(retakeOnVideoEditor) ? (retakeOnVideoEditor ? 'true' : 'false') : undefined, "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, "settings-embedded": [true, false].includes(settingsEmbedded) ? (settingsEmbedded ? 'true' : 'false') : undefined, "auto-open-video-editor": [true, false].includes(autoOpenVideoEditor) ? (autoOpenVideoEditor ? 'true' : 'false') : undefined, "play-video-in-full-screen": [true, false].includes(playVideoInFullScreen) ? (playVideoInFullScreen ? 'true' : 'false') : undefined }));
|
|
650
|
+
return (React.createElement("velt-recorder-control-panel", { ref: ref, mode: mode, "panel-id": panelId, "retake-on-video-editor": [true, false].includes(retakeOnVideoEditor) ? (retakeOnVideoEditor ? 'true' : 'false') : undefined, "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, "settings-embedded": [true, false].includes(settingsEmbedded) ? (settingsEmbedded ? 'true' : 'false') : undefined, "auto-open-video-editor": [true, false].includes(autoOpenVideoEditor) ? (autoOpenVideoEditor ? 'true' : 'false') : undefined, "play-video-in-full-screen": [true, false].includes(playVideoInFullScreen) ? (playVideoInFullScreen ? 'true' : 'false') : undefined, "picture-in-picture": [true, false].includes(pictureInPicture) ? (pictureInPicture ? 'true' : 'false') : undefined, "max-length": maxLength }));
|
|
650
651
|
};
|
|
651
652
|
|
|
652
653
|
var SnippylyRecorderNotes = function (props) {
|
|
@@ -685,8 +686,8 @@ var SnippylyRecorderPlayer = function (props) {
|
|
|
685
686
|
};
|
|
686
687
|
|
|
687
688
|
var SnippylyRecorderTool = function (props) {
|
|
688
|
-
var type = props.type, panelId = props.panelId, buttonLabel = props.buttonLabel, children = props.children, darkMode = props.darkMode, shadowDom = props.shadowDom, recordingCountdown = props.recordingCountdown, variant = props.variant, retakeOnVideoEditor = props.retakeOnVideoEditor;
|
|
689
|
-
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, "retake-on-video-editor": [true, false].includes(retakeOnVideoEditor) ? (retakeOnVideoEditor ? 'true' : 'false') : undefined, variant: variant, "recording-countdown": [true, false].includes(recordingCountdown) ? (recordingCountdown ? 'true' : 'false') : undefined }, children));
|
|
689
|
+
var type = props.type, panelId = props.panelId, buttonLabel = props.buttonLabel, children = props.children, darkMode = props.darkMode, shadowDom = props.shadowDom, recordingCountdown = props.recordingCountdown, variant = props.variant, retakeOnVideoEditor = props.retakeOnVideoEditor, pictureInPicture = props.pictureInPicture, maxLength = props.maxLength;
|
|
690
|
+
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, "retake-on-video-editor": [true, false].includes(retakeOnVideoEditor) ? (retakeOnVideoEditor ? 'true' : 'false') : undefined, variant: variant, "recording-countdown": [true, false].includes(recordingCountdown) ? (recordingCountdown ? 'true' : 'false') : undefined, "picture-in-picture": [true, false].includes(pictureInPicture) ? (pictureInPicture ? 'true' : 'false') : undefined, "max-length": maxLength }, children));
|
|
690
691
|
};
|
|
691
692
|
|
|
692
693
|
var SnippylySidebarButton = function (props) {
|
|
@@ -2493,6 +2494,12 @@ var VeltCommentDialogReplyAvatars = function (props) {
|
|
|
2493
2494
|
VeltCommentDialogReplyAvatars.List = VeltCommentDialogReplyAvatarsList;
|
|
2494
2495
|
VeltCommentDialogReplyAvatars.RemainingCount = VeltCommentDialogReplyAvatarsRemainingCount;
|
|
2495
2496
|
|
|
2497
|
+
var VeltCommentDialogCommentNumber = function (props) {
|
|
2498
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
2499
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
2500
|
+
return (React.createElement("velt-comment-dialog-comment-number-wireframe", __assign({}, transformedProps), children));
|
|
2501
|
+
};
|
|
2502
|
+
|
|
2496
2503
|
var VeltCommentDialogWireframe = function (props) {
|
|
2497
2504
|
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
2498
2505
|
var transformedProps = transformWireframeProps(remainingProps);
|
|
@@ -2505,6 +2512,7 @@ VeltCommentDialogWireframe.AssignMenu = VeltCommentDialogAssignMenu;
|
|
|
2505
2512
|
VeltCommentDialogWireframe.Body = VeltCommentDialogBody;
|
|
2506
2513
|
VeltCommentDialogWireframe.CommentCategory = VeltCommentDialogCommentCategory;
|
|
2507
2514
|
VeltCommentDialogWireframe.CommentIndex = VeltCommentDialogCommentIndex;
|
|
2515
|
+
VeltCommentDialogWireframe.CommentNumber = VeltCommentDialogCommentNumber;
|
|
2508
2516
|
VeltCommentDialogWireframe.CommentSuggestionStatus = VeltCommentDialogCommentSuggestionStatus;
|
|
2509
2517
|
VeltCommentDialogWireframe.Composer = VeltCommentDialogComposer;
|
|
2510
2518
|
VeltCommentDialogWireframe.CopyLink = VeltCommentDialogCopyLink;
|
|
@@ -3178,6 +3186,12 @@ var VeltCommentsSidebarFocusedThread = function (props) {
|
|
|
3178
3186
|
VeltCommentsSidebarFocusedThread.BackButton = VeltCommentsSidebarFocusedThreadBackButton;
|
|
3179
3187
|
VeltCommentsSidebarFocusedThread.DialogContainer = VeltCommentsSidebarFocusedThreadDialogContainer;
|
|
3180
3188
|
|
|
3189
|
+
var VeltCommentsSidebarFullscreenButton = function (props) {
|
|
3190
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3191
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
3192
|
+
return (React.createElement("velt-comments-sidebar-fullscreen-button-wireframe", __assign({}, transformedProps), children));
|
|
3193
|
+
};
|
|
3194
|
+
|
|
3181
3195
|
var VeltCommentsSidebarWireframe = function (props) {
|
|
3182
3196
|
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3183
3197
|
var transformedProps = transformWireframeProps(remainingProps);
|
|
@@ -3201,6 +3215,7 @@ VeltCommentsSidebarWireframe.MinimalActionsDropdown = VeltCommentsSidebarMinimal
|
|
|
3201
3215
|
VeltCommentsSidebarWireframe.ResetFilterButton = VeltCommentsSidebarResetFilterButtonWireframe;
|
|
3202
3216
|
VeltCommentsSidebarWireframe.ActionButton = VeltCommentsSidebarActionButton;
|
|
3203
3217
|
VeltCommentsSidebarWireframe.FocusedThread = VeltCommentsSidebarFocusedThread;
|
|
3218
|
+
VeltCommentsSidebarWireframe.FullscreenButton = VeltCommentsSidebarFullscreenButton;
|
|
3204
3219
|
|
|
3205
3220
|
var VeltCommentPinGhostCommentIndicator = function (props) {
|
|
3206
3221
|
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
@@ -3232,6 +3247,12 @@ var VeltCommentPinPrivateCommentIndicator = function (props) {
|
|
|
3232
3247
|
return (React.createElement("velt-comment-pin-private-comment-indicator-wireframe", __assign({}, transformedProps), children));
|
|
3233
3248
|
};
|
|
3234
3249
|
|
|
3250
|
+
var VeltCommentPinNumber = function (props) {
|
|
3251
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3252
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
3253
|
+
return (React.createElement("velt-comment-pin-number-wireframe", __assign({}, transformedProps), children));
|
|
3254
|
+
};
|
|
3255
|
+
|
|
3235
3256
|
var VeltCommentPinWireframe = function (props) {
|
|
3236
3257
|
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3237
3258
|
var transformedProps = transformWireframeProps(remainingProps);
|
|
@@ -3242,6 +3263,7 @@ VeltCommentPinWireframe.Index = VeltCommentPinIndex;
|
|
|
3242
3263
|
VeltCommentPinWireframe.PrivateCommentIndicator = VeltCommentPinPrivateCommentIndicator;
|
|
3243
3264
|
VeltCommentPinWireframe.Triangle = VeltCommentPinTriangle;
|
|
3244
3265
|
VeltCommentPinWireframe.UnreadCommentIndicator = VeltCommentPinUnreadCommentIndicator;
|
|
3266
|
+
VeltCommentPinWireframe.Number = VeltCommentPinNumber;
|
|
3245
3267
|
|
|
3246
3268
|
var VeltSidebarButtonCommentsCount = function (props) {
|
|
3247
3269
|
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
@@ -4660,6 +4682,12 @@ var VeltRecordingPreviewStepsDialogVideoPlayerWireframe = function (props) {
|
|
|
4660
4682
|
return (React.createElement("velt-recording-preview-steps-dialog-video-player-wireframe", __assign({}, transformedProps), children));
|
|
4661
4683
|
};
|
|
4662
4684
|
|
|
4685
|
+
var VeltRecordingPreviewStepsDialogScreenPlayerWireframe = function (props) {
|
|
4686
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
4687
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
4688
|
+
return (React.createElement("velt-recording-preview-steps-dialog-screen-player-wireframe", __assign({}, transformedProps), children));
|
|
4689
|
+
};
|
|
4690
|
+
|
|
4663
4691
|
var VeltRecordingPreviewStepsDialogVideoWireframe = function (props) {
|
|
4664
4692
|
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
4665
4693
|
var transformedProps = transformWireframeProps(remainingProps);
|
|
@@ -4677,6 +4705,7 @@ VeltRecordingPreviewStepsDialogVideoWireframe.StartRecording = VeltRecordingPrev
|
|
|
4677
4705
|
VeltRecordingPreviewStepsDialogVideoWireframe.Timer = VeltRecordingPreviewStepsDialogTimerWireframe;
|
|
4678
4706
|
VeltRecordingPreviewStepsDialogVideoWireframe.VideoPlayer = VeltRecordingPreviewStepsDialogVideoPlayerWireframe;
|
|
4679
4707
|
VeltRecordingPreviewStepsDialogVideoWireframe.Waveform = VeltRecordingPreviewStepsDialogWaveformWireframe;
|
|
4708
|
+
VeltRecordingPreviewStepsDialogVideoWireframe.ScreenPlayer = VeltRecordingPreviewStepsDialogScreenPlayerWireframe;
|
|
4680
4709
|
|
|
4681
4710
|
var VeltRecordingPreviewStepsDialogWireframe = function (props) {
|
|
4682
4711
|
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
@@ -4748,6 +4777,12 @@ var VeltRecorderControlPanelActionBarTypeIconWireframe = function (props) {
|
|
|
4748
4777
|
return (React.createElement("velt-recorder-control-panel-action-bar-type-icon-wireframe", __assign({}, transformedProps), children));
|
|
4749
4778
|
};
|
|
4750
4779
|
|
|
4780
|
+
var VeltRecorderControlPanelActionBarPipWireframe = function (props) {
|
|
4781
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
4782
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
4783
|
+
return (React.createElement("velt-recorder-control-panel-action-bar-pip-wireframe", __assign({}, transformedProps), children));
|
|
4784
|
+
};
|
|
4785
|
+
|
|
4751
4786
|
var VeltRecorderControlPanelActionBarWireframe = function (props) {
|
|
4752
4787
|
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
4753
4788
|
var transformedProps = transformWireframeProps(remainingProps);
|
|
@@ -4759,6 +4794,7 @@ VeltRecorderControlPanelActionBarWireframe.Time = VeltRecorderControlPanelAction
|
|
|
4759
4794
|
VeltRecorderControlPanelActionBarWireframe.Toggle = VeltRecorderControlPanelActionBarToggleWireframe;
|
|
4760
4795
|
VeltRecorderControlPanelActionBarWireframe.TypeIcon = VeltRecorderControlPanelActionBarTypeIconWireframe;
|
|
4761
4796
|
VeltRecorderControlPanelActionBarWireframe.Waveform = VeltRecorderControlPanelActionBarWaveformWireframe;
|
|
4797
|
+
VeltRecorderControlPanelActionBarWireframe.Pip = VeltRecorderControlPanelActionBarPipWireframe;
|
|
4762
4798
|
|
|
4763
4799
|
var VeltRecorderControlPanelCollapsedButtonOffWireframe = function (props) {
|
|
4764
4800
|
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
@@ -6795,7 +6831,14 @@ function useVeltEventCallback(action) {
|
|
|
6795
6831
|
subscriptionRef.current.unsubscribe();
|
|
6796
6832
|
}
|
|
6797
6833
|
var subscription = (_a = client === null || client === void 0 ? void 0 : client.on(memoizedAction)) === null || _a === void 0 ? void 0 : _a.subscribe(function (data) {
|
|
6798
|
-
|
|
6834
|
+
if (memoizedAction === 'initUpdate') {
|
|
6835
|
+
flushSync(function () {
|
|
6836
|
+
setData(data);
|
|
6837
|
+
});
|
|
6838
|
+
}
|
|
6839
|
+
else {
|
|
6840
|
+
setData(data);
|
|
6841
|
+
}
|
|
6799
6842
|
});
|
|
6800
6843
|
// Store the new subscription
|
|
6801
6844
|
subscriptionRef.current = subscription;
|