@veltdev/react 4.0.0-beta.2 → 4.0.0-beta.20
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 +130 -69
- package/cjs/index.js.map +1 -1
- package/cjs/types/components/Snippyly/Snippyly.d.ts +2 -1
- package/cjs/types/components/SnippylyComments/SnippylyComments.d.ts +1 -0
- package/cjs/types/components/SnippylyRecorderNotes/SnippylyRecorderNotes.d.ts +2 -1
- package/cjs/types/components/SnippylyRecorderTool/SnippylyRecorderTool.d.ts +1 -0
- package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilter.d.ts +2 -0
- package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilterStatus/VeltCommentsSidebarFilterStatus.d.ts +12 -0
- package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilterStatus/index.d.ts +1 -0
- package/cjs/types/components/VeltInlineCommentsSection/VeltInlineCommentsSection.d.ts +6 -0
- package/cjs/types/constants.d.ts +1 -1
- package/cjs/types/hooks/Client.d.ts +1 -0
- package/cjs/types/hooks/CommentActions.d.ts +28 -28
- package/cjs/types/hooks/RecorderActions.d.ts +2 -0
- package/cjs/types/hooks/index.d.ts +2 -1
- package/esm/index.js +129 -70
- package/esm/index.js.map +1 -1
- package/esm/types/components/Snippyly/Snippyly.d.ts +2 -1
- package/esm/types/components/SnippylyComments/SnippylyComments.d.ts +1 -0
- package/esm/types/components/SnippylyRecorderNotes/SnippylyRecorderNotes.d.ts +2 -1
- package/esm/types/components/SnippylyRecorderTool/SnippylyRecorderTool.d.ts +1 -0
- package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilter.d.ts +2 -0
- package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilterStatus/VeltCommentsSidebarFilterStatus.d.ts +12 -0
- package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilterStatus/index.d.ts +1 -0
- package/esm/types/components/VeltInlineCommentsSection/VeltInlineCommentsSection.d.ts +6 -0
- package/esm/types/constants.d.ts +1 -1
- package/esm/types/hooks/Client.d.ts +1 -0
- package/esm/types/hooks/CommentActions.d.ts +28 -28
- package/esm/types/hooks/RecorderActions.d.ts +2 -0
- package/esm/types/hooks/index.d.ts +2 -1
- package/index.d.ts +52 -30
- package/package.json +3 -3
package/esm/index.js
CHANGED
|
@@ -132,12 +132,12 @@ var loadVelt = function (callback, version, staging, develop, proxyDomain) {
|
|
|
132
132
|
}
|
|
133
133
|
};
|
|
134
134
|
|
|
135
|
-
var VELT_SDK_VERSION = '4.0.0-beta.
|
|
135
|
+
var VELT_SDK_VERSION = '4.0.0-beta.20';
|
|
136
136
|
var VELT_SDK_INIT_EVENT = 'onVeltInit';
|
|
137
137
|
var VELT_TAB_ID = 'veltTabId';
|
|
138
138
|
|
|
139
139
|
var SnippylyProvider = function (props) {
|
|
140
|
-
var apiKey = props.apiKey, user = props.user, config = props.config, documentId = props.documentId, language = props.language, translations = props.translations, autoTranslation = props.autoTranslation, onClientLoad = props.onClientLoad, children = props.children;
|
|
140
|
+
var apiKey = props.apiKey, user = props.user, config = props.config, documentId = props.documentId, language = props.language, translations = props.translations, autoTranslation = props.autoTranslation, userDataProvider = props.userDataProvider, onClientLoad = props.onClientLoad, children = props.children;
|
|
141
141
|
var _a = useState(null), client = _a[0], setClient = _a[1];
|
|
142
142
|
useEffect(function () {
|
|
143
143
|
if (apiKey) {
|
|
@@ -146,6 +146,13 @@ var SnippylyProvider = function (props) {
|
|
|
146
146
|
}, (config === null || config === void 0 ? void 0 : config.version) || VELT_SDK_VERSION, config === null || config === void 0 ? void 0 : config.staging, config === null || config === void 0 ? void 0 : config.develop, config === null || config === void 0 ? void 0 : config.proxyDomain);
|
|
147
147
|
}
|
|
148
148
|
}, []);
|
|
149
|
+
useEffect(function () {
|
|
150
|
+
if (client && userDataProvider) {
|
|
151
|
+
if (typeof (client === null || client === void 0 ? void 0 : client.setUserDataProvider) === 'function') {
|
|
152
|
+
client === null || client === void 0 ? void 0 : client.setUserDataProvider(userDataProvider);
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
}, [client, userDataProvider]);
|
|
149
156
|
var initVelt = function () { return __awaiter(void 0, void 0, void 0, function () {
|
|
150
157
|
var velt, event;
|
|
151
158
|
var _a, _b;
|
|
@@ -226,7 +233,7 @@ var SnippylyCommentBubble = function (props) {
|
|
|
226
233
|
};
|
|
227
234
|
|
|
228
235
|
var SnippylyComments = function (props) {
|
|
229
|
-
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, 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, onCopyLink = props.onCopyLink, deleteReplyConfirmation = props.deleteReplyConfirmation, collapsedComments = props.collapsedComments, shortUserName = props.shortUserName, resolveStatusAccessAdminOnly = props.resolveStatusAccessAdminOnly, seenByUsers = props.seenByUsers, readOnly = props.readOnly;
|
|
236
|
+
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, 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, onCopyLink = props.onCopyLink, deleteReplyConfirmation = props.deleteReplyConfirmation, collapsedComments = props.collapsedComments, shortUserName = props.shortUserName, resolveStatusAccessAdminOnly = props.resolveStatusAccessAdminOnly, seenByUsers = props.seenByUsers, readOnly = props.readOnly, atHereEnabled = props.atHereEnabled;
|
|
230
237
|
var ref = useRef();
|
|
231
238
|
var onSignInRef = useRef(onSignIn);
|
|
232
239
|
var onUpgradeRef = useRef(onUpgrade);
|
|
@@ -351,7 +358,7 @@ var SnippylyComments = function (props) {
|
|
|
351
358
|
}
|
|
352
359
|
};
|
|
353
360
|
}, []);
|
|
354
|
-
return (React.createElement("velt-comments", { ref: ref, "at-here-label": atHereLabel, "at-here-description": atHereDescription, "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, "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, "read-only": [true, false].includes(readOnly) ? (readOnly ? 'true' : 'false') : undefined }, children));
|
|
361
|
+
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, "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, "read-only": [true, false].includes(readOnly) ? (readOnly ? 'true' : 'false') : undefined }, children));
|
|
355
362
|
};
|
|
356
363
|
|
|
357
364
|
var SnippylyCommentsSidebar = function (props) {
|
|
@@ -598,7 +605,8 @@ var SnippylyRecorderControlPanel = function (props) {
|
|
|
598
605
|
};
|
|
599
606
|
|
|
600
607
|
var SnippylyRecorderNotes = function (props) {
|
|
601
|
-
|
|
608
|
+
var shadowDom = props.shadowDom, children = props.children;
|
|
609
|
+
return (React.createElement("velt-recorder-notes", { "shadow-dom": [true, false].includes(shadowDom) ? (shadowDom ? 'true' : 'false') : undefined }, children));
|
|
602
610
|
};
|
|
603
611
|
|
|
604
612
|
var SnippylyRecorderPlayer = function (props) {
|
|
@@ -632,8 +640,8 @@ var SnippylyRecorderPlayer = function (props) {
|
|
|
632
640
|
};
|
|
633
641
|
|
|
634
642
|
var SnippylyRecorderTool = function (props) {
|
|
635
|
-
var type = props.type, panelId = props.panelId, buttonLabel = props.buttonLabel, children = props.children, darkMode = props.darkMode;
|
|
636
|
-
return (React.createElement("velt-recorder-tool", { type: type, "panel-id": panelId, "button-label": buttonLabel, "dark-mode": [true, false].includes(darkMode) ? (darkMode ? 'true' : 'false') : undefined }, children));
|
|
643
|
+
var type = props.type, panelId = props.panelId, buttonLabel = props.buttonLabel, children = props.children, darkMode = props.darkMode, shadowDom = props.shadowDom;
|
|
644
|
+
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));
|
|
637
645
|
};
|
|
638
646
|
|
|
639
647
|
var SnippylySidebarButton = function (props) {
|
|
@@ -1385,8 +1393,8 @@ var VeltAutocomplete = function (props) {
|
|
|
1385
1393
|
};
|
|
1386
1394
|
|
|
1387
1395
|
var VeltInlineCommentsSection = function (props) {
|
|
1388
|
-
var config = props.config, children = props.children, darkMode = props.darkMode, variant = props.variant, shadowDom = props.shadowDom, dialogVariant = props.dialogVariant, targetInlineCommentElementId = props.targetInlineCommentElementId, targetCommentElementId = props.targetCommentElementId, targetElementId = props.targetElementId, multiThread = props.multiThread, sortData = props.sortData, composerVariant = props.composerVariant;
|
|
1389
|
-
return (React.createElement("velt-inline-comments-section", { "target-inline-comment-element-id": targetInlineCommentElementId, "target-comment-element-id": targetCommentElementId, "target-element-id": targetElementId, config: JSON.stringify(config), variant: variant, "dialog-variant": dialogVariant, "sort-data": sortData, "shadow-dom": [true, false].includes(shadowDom) ? (shadowDom ? 'true' : 'false') : undefined, "dark-mode": [true, false].includes(darkMode) ? (darkMode ? 'true' : 'false') : undefined, "multi-thread": [true, false].includes(multiThread) ? (multiThread ? 'true' : 'false') : undefined, "composer-variant": composerVariant }, children));
|
|
1396
|
+
var config = props.config, children = props.children, darkMode = props.darkMode, variant = props.variant, shadowDom = props.shadowDom, dialogVariant = props.dialogVariant, targetInlineCommentElementId = props.targetInlineCommentElementId, targetCommentElementId = props.targetCommentElementId, targetElementId = props.targetElementId, multiThread = props.multiThread, sortData = props.sortData, composerVariant = props.composerVariant, composerPosition = props.composerPosition, sortBy = props.sortBy, sortOrder = props.sortOrder;
|
|
1397
|
+
return (React.createElement("velt-inline-comments-section", { "target-inline-comment-element-id": targetInlineCommentElementId, "target-comment-element-id": targetCommentElementId, "target-element-id": targetElementId, config: JSON.stringify(config), variant: variant, "dialog-variant": dialogVariant, "sort-data": sortData, "shadow-dom": [true, false].includes(shadowDom) ? (shadowDom ? 'true' : 'false') : undefined, "dark-mode": [true, false].includes(darkMode) ? (darkMode ? 'true' : 'false') : undefined, "multi-thread": [true, false].includes(multiThread) ? (multiThread ? 'true' : 'false') : undefined, "composer-variant": composerVariant, "composer-position": composerPosition, "sort-by": sortBy, "sort-order": sortOrder }, children));
|
|
1390
1398
|
};
|
|
1391
1399
|
|
|
1392
1400
|
var VeltCommentPin = function (props) {
|
|
@@ -2386,6 +2394,13 @@ var VeltCommentsSidebarFilterVersions = function (props) {
|
|
|
2386
2394
|
VeltCommentsSidebarFilterVersions.Name = VeltCommentsSidebarFilterName;
|
|
2387
2395
|
VeltCommentsSidebarFilterVersions.Item = VeltCommentsSidebarFilterItem;
|
|
2388
2396
|
|
|
2397
|
+
var VeltCommentsSidebarFilterStatus = function (props) {
|
|
2398
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
2399
|
+
return (React.createElement("velt-comments-sidebar-filter-status-wireframe", __assign({}, remainingProps), children));
|
|
2400
|
+
};
|
|
2401
|
+
VeltCommentsSidebarFilterStatus.Name = VeltCommentsSidebarFilterName;
|
|
2402
|
+
VeltCommentsSidebarFilterStatus.Item = VeltCommentsSidebarFilterItem;
|
|
2403
|
+
|
|
2389
2404
|
var VeltCommentsSidebarFilter = function (props) {
|
|
2390
2405
|
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
2391
2406
|
return (React.createElement("velt-comments-sidebar-filter-wireframe", __assign({}, remainingProps), children));
|
|
@@ -2401,6 +2416,7 @@ VeltCommentsSidebarFilter.Priority = VeltCommentsSidebarFilterPriority;
|
|
|
2401
2416
|
VeltCommentsSidebarFilter.Title = VeltCommentsSidebarFilterTitle;
|
|
2402
2417
|
VeltCommentsSidebarFilter.Versions = VeltCommentsSidebarFilterVersions;
|
|
2403
2418
|
VeltCommentsSidebarFilter.Item = VeltCommentsSidebarFilterItem;
|
|
2419
|
+
VeltCommentsSidebarFilter.Status = VeltCommentsSidebarFilterStatus;
|
|
2404
2420
|
|
|
2405
2421
|
var VeltCommentsSidebarFilterButton = function (props) {
|
|
2406
2422
|
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
@@ -4401,6 +4417,12 @@ function useUnsetDocumentId() {
|
|
|
4401
4417
|
client && client.unsetDocumentId && client.unsetDocumentId();
|
|
4402
4418
|
}, [client]);
|
|
4403
4419
|
}
|
|
4420
|
+
function useUnsetDocuments() {
|
|
4421
|
+
var client = useVeltClient().client;
|
|
4422
|
+
React.useEffect(function () {
|
|
4423
|
+
client && client.unsetDocuments && client.unsetDocuments();
|
|
4424
|
+
}, [client]);
|
|
4425
|
+
}
|
|
4404
4426
|
function useSetLocation(location, appendLocation) {
|
|
4405
4427
|
var client = useVeltClient().client;
|
|
4406
4428
|
// Memoize the setLocation call
|
|
@@ -4759,11 +4781,11 @@ function useCommentSidebarData() {
|
|
|
4759
4781
|
function useAddCommentAnnotation() {
|
|
4760
4782
|
var commentElement = useCommentUtils();
|
|
4761
4783
|
return {
|
|
4762
|
-
addCommentAnnotation: function (
|
|
4784
|
+
addCommentAnnotation: function (request) {
|
|
4763
4785
|
return new Promise(function (resolve, reject) {
|
|
4764
4786
|
if (!(commentElement === null || commentElement === void 0 ? void 0 : commentElement.addCommentAnnotation))
|
|
4765
4787
|
return reject(new Error('Velt SDK is not initialized.'));
|
|
4766
|
-
commentElement.addCommentAnnotation(
|
|
4788
|
+
commentElement.addCommentAnnotation(request).then(resolve).catch(reject);
|
|
4767
4789
|
});
|
|
4768
4790
|
}
|
|
4769
4791
|
};
|
|
@@ -4771,11 +4793,11 @@ function useAddCommentAnnotation() {
|
|
|
4771
4793
|
function useApproveCommentAnnotation() {
|
|
4772
4794
|
var commentElement = useCommentUtils();
|
|
4773
4795
|
return {
|
|
4774
|
-
approveCommentAnnotation: function (
|
|
4796
|
+
approveCommentAnnotation: function (request) {
|
|
4775
4797
|
return new Promise(function (resolve, reject) {
|
|
4776
4798
|
if (!(commentElement === null || commentElement === void 0 ? void 0 : commentElement.approveCommentAnnotation))
|
|
4777
4799
|
return reject(new Error('Velt SDK is not initialized.'));
|
|
4778
|
-
commentElement.approveCommentAnnotation(
|
|
4800
|
+
commentElement.approveCommentAnnotation(request).then(resolve).catch(reject);
|
|
4779
4801
|
});
|
|
4780
4802
|
}
|
|
4781
4803
|
};
|
|
@@ -4783,11 +4805,11 @@ function useApproveCommentAnnotation() {
|
|
|
4783
4805
|
function useRejectCommentAnnotation() {
|
|
4784
4806
|
var commentElement = useCommentUtils();
|
|
4785
4807
|
return {
|
|
4786
|
-
rejectCommentAnnotation: function (
|
|
4808
|
+
rejectCommentAnnotation: function (request) {
|
|
4787
4809
|
return new Promise(function (resolve, reject) {
|
|
4788
4810
|
if (!(commentElement === null || commentElement === void 0 ? void 0 : commentElement.rejectCommentAnnotation))
|
|
4789
4811
|
return reject(new Error('Velt SDK is not initialized.'));
|
|
4790
|
-
commentElement.rejectCommentAnnotation(
|
|
4812
|
+
commentElement.rejectCommentAnnotation(request).then(resolve).catch(reject);
|
|
4791
4813
|
});
|
|
4792
4814
|
}
|
|
4793
4815
|
};
|
|
@@ -4795,11 +4817,11 @@ function useRejectCommentAnnotation() {
|
|
|
4795
4817
|
function useSubscribeCommentAnnotation() {
|
|
4796
4818
|
var commentElement = useCommentUtils();
|
|
4797
4819
|
return {
|
|
4798
|
-
subscribeCommentAnnotation: function (
|
|
4820
|
+
subscribeCommentAnnotation: function (request) {
|
|
4799
4821
|
return new Promise(function (resolve, reject) {
|
|
4800
4822
|
if (!(commentElement === null || commentElement === void 0 ? void 0 : commentElement.subscribeCommentAnnotation))
|
|
4801
4823
|
return reject(new Error('Velt SDK is not initialized.'));
|
|
4802
|
-
commentElement.subscribeCommentAnnotation(
|
|
4824
|
+
commentElement.subscribeCommentAnnotation(request).then(resolve).catch(reject);
|
|
4803
4825
|
});
|
|
4804
4826
|
}
|
|
4805
4827
|
};
|
|
@@ -4807,11 +4829,11 @@ function useSubscribeCommentAnnotation() {
|
|
|
4807
4829
|
function useUnsubscribeCommentAnnotation() {
|
|
4808
4830
|
var commentElement = useCommentUtils();
|
|
4809
4831
|
return {
|
|
4810
|
-
unsubscribeCommentAnnotation: function (
|
|
4832
|
+
unsubscribeCommentAnnotation: function (request) {
|
|
4811
4833
|
return new Promise(function (resolve, reject) {
|
|
4812
4834
|
if (!(commentElement === null || commentElement === void 0 ? void 0 : commentElement.unsubscribeCommentAnnotation))
|
|
4813
4835
|
return reject(new Error('Velt SDK is not initialized.'));
|
|
4814
|
-
commentElement.unsubscribeCommentAnnotation(
|
|
4836
|
+
commentElement.unsubscribeCommentAnnotation(request).then(resolve).catch(reject);
|
|
4815
4837
|
});
|
|
4816
4838
|
}
|
|
4817
4839
|
};
|
|
@@ -4819,23 +4841,23 @@ function useUnsubscribeCommentAnnotation() {
|
|
|
4819
4841
|
function useDeleteCommentAnnotation() {
|
|
4820
4842
|
var commentElement = useCommentUtils();
|
|
4821
4843
|
return {
|
|
4822
|
-
deleteCommentAnnotation: function (
|
|
4844
|
+
deleteCommentAnnotation: function (request) {
|
|
4823
4845
|
return new Promise(function (resolve, reject) {
|
|
4824
4846
|
if (!(commentElement === null || commentElement === void 0 ? void 0 : commentElement.deleteCommentAnnotation))
|
|
4825
4847
|
return reject(new Error('Velt SDK is not initialized.'));
|
|
4826
|
-
commentElement.deleteCommentAnnotation(
|
|
4848
|
+
commentElement.deleteCommentAnnotation(request).then(resolve).catch(reject);
|
|
4827
4849
|
});
|
|
4828
4850
|
}
|
|
4829
4851
|
};
|
|
4830
4852
|
}
|
|
4831
|
-
function useGetCommentAnnotations(
|
|
4853
|
+
function useGetCommentAnnotations(query) {
|
|
4832
4854
|
var commentElement = useCommentUtils();
|
|
4833
|
-
var _a = useState(null), data = _a[0], setData = _a[1];
|
|
4855
|
+
var _a = useState({ data: null }), data = _a[0], setData = _a[1];
|
|
4834
4856
|
var subscriptionRef = useRef();
|
|
4835
4857
|
// Memoize the inputs
|
|
4836
4858
|
var memoizedData = useMemo(function () {
|
|
4837
|
-
return
|
|
4838
|
-
}, [JSON.stringify(
|
|
4859
|
+
return query;
|
|
4860
|
+
}, [JSON.stringify(query)]);
|
|
4839
4861
|
useEffect(function () {
|
|
4840
4862
|
if (!(commentElement === null || commentElement === void 0 ? void 0 : commentElement.getCommentAnnotations))
|
|
4841
4863
|
return;
|
|
@@ -4845,7 +4867,12 @@ function useGetCommentAnnotations(getCommentAnnotationsRequest) {
|
|
|
4845
4867
|
}
|
|
4846
4868
|
var subscription = commentElement.getCommentAnnotations(memoizedData)
|
|
4847
4869
|
.subscribe(function (res) {
|
|
4848
|
-
|
|
4870
|
+
if (res) {
|
|
4871
|
+
setData(res);
|
|
4872
|
+
}
|
|
4873
|
+
else {
|
|
4874
|
+
setData({ data: null });
|
|
4875
|
+
}
|
|
4849
4876
|
});
|
|
4850
4877
|
// Store the new subscription
|
|
4851
4878
|
subscriptionRef.current = subscription;
|
|
@@ -4858,14 +4885,14 @@ function useGetCommentAnnotations(getCommentAnnotationsRequest) {
|
|
|
4858
4885
|
}, [commentElement === null || commentElement === void 0 ? void 0 : commentElement.getCommentAnnotations, memoizedData]);
|
|
4859
4886
|
return data;
|
|
4860
4887
|
}
|
|
4861
|
-
function useCommentAnnotationsCount(
|
|
4888
|
+
function useCommentAnnotationsCount(query) {
|
|
4862
4889
|
var commentElement = useCommentUtils();
|
|
4863
|
-
var _a = useState(null), data = _a[0], setData = _a[1];
|
|
4890
|
+
var _a = useState({ data: null }), data = _a[0], setData = _a[1];
|
|
4864
4891
|
var subscriptionRef = useRef();
|
|
4865
4892
|
// Memoize the inputs
|
|
4866
4893
|
var memoizedData = useMemo(function () {
|
|
4867
|
-
return
|
|
4868
|
-
}, [JSON.stringify(
|
|
4894
|
+
return query;
|
|
4895
|
+
}, [JSON.stringify(query)]);
|
|
4869
4896
|
useEffect(function () {
|
|
4870
4897
|
if (!(commentElement === null || commentElement === void 0 ? void 0 : commentElement.getCommentAnnotationsCount))
|
|
4871
4898
|
return;
|
|
@@ -4875,7 +4902,12 @@ function useCommentAnnotationsCount(getCommentAnnotationsCountRequest) {
|
|
|
4875
4902
|
}
|
|
4876
4903
|
var subscription = commentElement.getCommentAnnotationsCount(memoizedData)
|
|
4877
4904
|
.subscribe(function (res) {
|
|
4878
|
-
|
|
4905
|
+
if (res) {
|
|
4906
|
+
setData(res);
|
|
4907
|
+
}
|
|
4908
|
+
else {
|
|
4909
|
+
setData({ data: null });
|
|
4910
|
+
}
|
|
4879
4911
|
});
|
|
4880
4912
|
// Store the new subscription
|
|
4881
4913
|
subscriptionRef.current = subscription;
|
|
@@ -4891,11 +4923,11 @@ function useCommentAnnotationsCount(getCommentAnnotationsCountRequest) {
|
|
|
4891
4923
|
function useAssignUser() {
|
|
4892
4924
|
var commentElement = useCommentUtils();
|
|
4893
4925
|
return {
|
|
4894
|
-
assignUser: function (
|
|
4926
|
+
assignUser: function (request) {
|
|
4895
4927
|
return new Promise(function (resolve, reject) {
|
|
4896
4928
|
if (!(commentElement === null || commentElement === void 0 ? void 0 : commentElement.assignUser))
|
|
4897
4929
|
return reject(new Error('Velt SDK is not initialized.'));
|
|
4898
|
-
commentElement.assignUser(
|
|
4930
|
+
commentElement.assignUser(request).then(resolve).catch(reject);
|
|
4899
4931
|
});
|
|
4900
4932
|
}
|
|
4901
4933
|
};
|
|
@@ -4903,11 +4935,11 @@ function useAssignUser() {
|
|
|
4903
4935
|
function useUpdatePriority() {
|
|
4904
4936
|
var commentElement = useCommentUtils();
|
|
4905
4937
|
return {
|
|
4906
|
-
updatePriority: function (
|
|
4938
|
+
updatePriority: function (request) {
|
|
4907
4939
|
return new Promise(function (resolve, reject) {
|
|
4908
4940
|
if (!(commentElement === null || commentElement === void 0 ? void 0 : commentElement.updatePriority))
|
|
4909
4941
|
return reject(new Error('Velt SDK is not initialized.'));
|
|
4910
|
-
commentElement.updatePriority(
|
|
4942
|
+
commentElement.updatePriority(request).then(resolve).catch(reject);
|
|
4911
4943
|
});
|
|
4912
4944
|
}
|
|
4913
4945
|
};
|
|
@@ -4915,11 +4947,11 @@ function useUpdatePriority() {
|
|
|
4915
4947
|
function useUpdateStatus() {
|
|
4916
4948
|
var commentElement = useCommentUtils();
|
|
4917
4949
|
return {
|
|
4918
|
-
updateStatus: function (
|
|
4950
|
+
updateStatus: function (request) {
|
|
4919
4951
|
return new Promise(function (resolve, reject) {
|
|
4920
4952
|
if (!(commentElement === null || commentElement === void 0 ? void 0 : commentElement.updateStatus))
|
|
4921
4953
|
return reject(new Error('Velt SDK is not initialized.'));
|
|
4922
|
-
commentElement.updateStatus(
|
|
4954
|
+
commentElement.updateStatus(request).then(resolve).catch(reject);
|
|
4923
4955
|
});
|
|
4924
4956
|
}
|
|
4925
4957
|
};
|
|
@@ -4927,11 +4959,11 @@ function useUpdateStatus() {
|
|
|
4927
4959
|
function useUpdateAccess() {
|
|
4928
4960
|
var commentElement = useCommentUtils();
|
|
4929
4961
|
return {
|
|
4930
|
-
updateAccess: function (
|
|
4962
|
+
updateAccess: function (request) {
|
|
4931
4963
|
return new Promise(function (resolve, reject) {
|
|
4932
4964
|
if (!(commentElement === null || commentElement === void 0 ? void 0 : commentElement.updateAccess))
|
|
4933
4965
|
return reject(new Error('Velt SDK is not initialized.'));
|
|
4934
|
-
commentElement.updateAccess(
|
|
4966
|
+
commentElement.updateAccess(request).then(resolve).catch(reject);
|
|
4935
4967
|
});
|
|
4936
4968
|
}
|
|
4937
4969
|
};
|
|
@@ -4939,11 +4971,11 @@ function useUpdateAccess() {
|
|
|
4939
4971
|
function useResolveCommentAnnotation() {
|
|
4940
4972
|
var commentElement = useCommentUtils();
|
|
4941
4973
|
return {
|
|
4942
|
-
resolveCommentAnnotation: function (
|
|
4974
|
+
resolveCommentAnnotation: function (request) {
|
|
4943
4975
|
return new Promise(function (resolve, reject) {
|
|
4944
4976
|
if (!(commentElement === null || commentElement === void 0 ? void 0 : commentElement.resolveCommentAnnotation))
|
|
4945
4977
|
return reject(new Error('Velt SDK is not initialized.'));
|
|
4946
|
-
commentElement.resolveCommentAnnotation(
|
|
4978
|
+
commentElement.resolveCommentAnnotation(request).then(resolve).catch(reject);
|
|
4947
4979
|
});
|
|
4948
4980
|
}
|
|
4949
4981
|
};
|
|
@@ -4951,11 +4983,11 @@ function useResolveCommentAnnotation() {
|
|
|
4951
4983
|
function useGetLink() {
|
|
4952
4984
|
var commentElement = useCommentUtils();
|
|
4953
4985
|
return {
|
|
4954
|
-
getLink: function (
|
|
4986
|
+
getLink: function (request) {
|
|
4955
4987
|
return new Promise(function (resolve, reject) {
|
|
4956
4988
|
if (!(commentElement === null || commentElement === void 0 ? void 0 : commentElement.getLink))
|
|
4957
4989
|
return reject(new Error('Velt SDK is not initialized.'));
|
|
4958
|
-
commentElement.getLink(
|
|
4990
|
+
commentElement.getLink(request).then(resolve).catch(reject);
|
|
4959
4991
|
});
|
|
4960
4992
|
}
|
|
4961
4993
|
};
|
|
@@ -4963,11 +4995,11 @@ function useGetLink() {
|
|
|
4963
4995
|
function useCopyLink() {
|
|
4964
4996
|
var commentElement = useCommentUtils();
|
|
4965
4997
|
return {
|
|
4966
|
-
copyLink: function (
|
|
4998
|
+
copyLink: function (request) {
|
|
4967
4999
|
return new Promise(function (resolve, reject) {
|
|
4968
5000
|
if (!(commentElement === null || commentElement === void 0 ? void 0 : commentElement.copyLink))
|
|
4969
5001
|
return reject(new Error('Velt SDK is not initialized.'));
|
|
4970
|
-
commentElement.copyLink(
|
|
5002
|
+
commentElement.copyLink(request).then(resolve).catch(reject);
|
|
4971
5003
|
});
|
|
4972
5004
|
}
|
|
4973
5005
|
};
|
|
@@ -4975,11 +5007,11 @@ function useCopyLink() {
|
|
|
4975
5007
|
function useAddComment() {
|
|
4976
5008
|
var commentElement = useCommentUtils();
|
|
4977
5009
|
return {
|
|
4978
|
-
addComment: function (
|
|
5010
|
+
addComment: function (request) {
|
|
4979
5011
|
return new Promise(function (resolve, reject) {
|
|
4980
5012
|
if (!(commentElement === null || commentElement === void 0 ? void 0 : commentElement.addComment))
|
|
4981
5013
|
return reject(new Error('Velt SDK is not initialized.'));
|
|
4982
|
-
commentElement.addComment(
|
|
5014
|
+
commentElement.addComment(request).then(resolve).catch(reject);
|
|
4983
5015
|
});
|
|
4984
5016
|
}
|
|
4985
5017
|
};
|
|
@@ -4987,11 +5019,11 @@ function useAddComment() {
|
|
|
4987
5019
|
function useUpdateComment() {
|
|
4988
5020
|
var commentElement = useCommentUtils();
|
|
4989
5021
|
return {
|
|
4990
|
-
updateComment: function (
|
|
5022
|
+
updateComment: function (request) {
|
|
4991
5023
|
return new Promise(function (resolve, reject) {
|
|
4992
5024
|
if (!(commentElement === null || commentElement === void 0 ? void 0 : commentElement.updateComment))
|
|
4993
5025
|
return reject(new Error('Velt SDK is not initialized.'));
|
|
4994
|
-
commentElement.updateComment(
|
|
5026
|
+
commentElement.updateComment(request).then(resolve).catch(reject);
|
|
4995
5027
|
});
|
|
4996
5028
|
}
|
|
4997
5029
|
};
|
|
@@ -4999,11 +5031,11 @@ function useUpdateComment() {
|
|
|
4999
5031
|
function useDeleteComment() {
|
|
5000
5032
|
var commentElement = useCommentUtils();
|
|
5001
5033
|
return {
|
|
5002
|
-
deleteComment: function (
|
|
5034
|
+
deleteComment: function (request) {
|
|
5003
5035
|
return new Promise(function (resolve, reject) {
|
|
5004
5036
|
if (!(commentElement === null || commentElement === void 0 ? void 0 : commentElement.deleteComment))
|
|
5005
5037
|
return reject(new Error('Velt SDK is not initialized.'));
|
|
5006
|
-
commentElement.deleteComment(
|
|
5038
|
+
commentElement.deleteComment(request).then(resolve).catch(reject);
|
|
5007
5039
|
});
|
|
5008
5040
|
}
|
|
5009
5041
|
};
|
|
@@ -5011,11 +5043,11 @@ function useDeleteComment() {
|
|
|
5011
5043
|
function useGetComment() {
|
|
5012
5044
|
var commentElement = useCommentUtils();
|
|
5013
5045
|
return {
|
|
5014
|
-
getComment: function (
|
|
5046
|
+
getComment: function (request) {
|
|
5015
5047
|
return new Promise(function (resolve, reject) {
|
|
5016
5048
|
if (!(commentElement === null || commentElement === void 0 ? void 0 : commentElement.getComment))
|
|
5017
5049
|
return reject(new Error('Velt SDK is not initialized.'));
|
|
5018
|
-
commentElement.getComment(
|
|
5050
|
+
commentElement.getComment(request).then(resolve).catch(reject);
|
|
5019
5051
|
});
|
|
5020
5052
|
}
|
|
5021
5053
|
};
|
|
@@ -5023,11 +5055,11 @@ function useGetComment() {
|
|
|
5023
5055
|
function useAddAttachment() {
|
|
5024
5056
|
var commentElement = useCommentUtils();
|
|
5025
5057
|
return {
|
|
5026
|
-
addAttachment: function (
|
|
5058
|
+
addAttachment: function (request) {
|
|
5027
5059
|
return new Promise(function (resolve, reject) {
|
|
5028
5060
|
if (!(commentElement === null || commentElement === void 0 ? void 0 : commentElement.addAttachment))
|
|
5029
5061
|
return reject(new Error('Velt SDK is not initialized.'));
|
|
5030
|
-
commentElement.addAttachment(
|
|
5062
|
+
commentElement.addAttachment(request).then(resolve).catch(reject);
|
|
5031
5063
|
});
|
|
5032
5064
|
}
|
|
5033
5065
|
};
|
|
@@ -5035,11 +5067,11 @@ function useAddAttachment() {
|
|
|
5035
5067
|
function useDeleteAttachment() {
|
|
5036
5068
|
var commentElement = useCommentUtils();
|
|
5037
5069
|
return {
|
|
5038
|
-
deleteAttachment: function (
|
|
5070
|
+
deleteAttachment: function (request) {
|
|
5039
5071
|
return new Promise(function (resolve, reject) {
|
|
5040
5072
|
if (!(commentElement === null || commentElement === void 0 ? void 0 : commentElement.deleteAttachment))
|
|
5041
5073
|
return reject(new Error('Velt SDK is not initialized.'));
|
|
5042
|
-
commentElement.deleteAttachment(
|
|
5074
|
+
commentElement.deleteAttachment(request).then(resolve).catch(reject);
|
|
5043
5075
|
});
|
|
5044
5076
|
}
|
|
5045
5077
|
};
|
|
@@ -5047,11 +5079,11 @@ function useDeleteAttachment() {
|
|
|
5047
5079
|
function useGetAttachment() {
|
|
5048
5080
|
var commentElement = useCommentUtils();
|
|
5049
5081
|
return {
|
|
5050
|
-
getAttachment: function (
|
|
5082
|
+
getAttachment: function (request) {
|
|
5051
5083
|
return new Promise(function (resolve, reject) {
|
|
5052
5084
|
if (!(commentElement === null || commentElement === void 0 ? void 0 : commentElement.getAttachment))
|
|
5053
5085
|
return reject(new Error('Velt SDK is not initialized.'));
|
|
5054
|
-
commentElement.getAttachment(
|
|
5086
|
+
commentElement.getAttachment(request).then(resolve).catch(reject);
|
|
5055
5087
|
});
|
|
5056
5088
|
}
|
|
5057
5089
|
};
|
|
@@ -5059,11 +5091,11 @@ function useGetAttachment() {
|
|
|
5059
5091
|
function useDeleteRecording() {
|
|
5060
5092
|
var commentElement = useCommentUtils();
|
|
5061
5093
|
return {
|
|
5062
|
-
deleteRecording: function (
|
|
5094
|
+
deleteRecording: function (request) {
|
|
5063
5095
|
return new Promise(function (resolve, reject) {
|
|
5064
5096
|
if (!(commentElement === null || commentElement === void 0 ? void 0 : commentElement.deleteRecording))
|
|
5065
5097
|
return reject(new Error('Velt SDK is not initialized.'));
|
|
5066
|
-
commentElement.deleteRecording(
|
|
5098
|
+
commentElement.deleteRecording(request).then(resolve).catch(reject);
|
|
5067
5099
|
});
|
|
5068
5100
|
}
|
|
5069
5101
|
};
|
|
@@ -5071,11 +5103,11 @@ function useDeleteRecording() {
|
|
|
5071
5103
|
function useGetRecording() {
|
|
5072
5104
|
var commentElement = useCommentUtils();
|
|
5073
5105
|
return {
|
|
5074
|
-
getRecording: function (
|
|
5106
|
+
getRecording: function (request) {
|
|
5075
5107
|
return new Promise(function (resolve, reject) {
|
|
5076
5108
|
if (!(commentElement === null || commentElement === void 0 ? void 0 : commentElement.getRecording))
|
|
5077
5109
|
return reject(new Error('Velt SDK is not initialized.'));
|
|
5078
|
-
commentElement.getRecording(
|
|
5110
|
+
commentElement.getRecording(request).then(resolve).catch(reject);
|
|
5079
5111
|
});
|
|
5080
5112
|
}
|
|
5081
5113
|
};
|
|
@@ -5083,11 +5115,11 @@ function useGetRecording() {
|
|
|
5083
5115
|
function useAddReaction() {
|
|
5084
5116
|
var commentElement = useCommentUtils();
|
|
5085
5117
|
return {
|
|
5086
|
-
addReaction: function (
|
|
5118
|
+
addReaction: function (request) {
|
|
5087
5119
|
return new Promise(function (resolve, reject) {
|
|
5088
5120
|
if (!(commentElement === null || commentElement === void 0 ? void 0 : commentElement.addReaction))
|
|
5089
5121
|
return reject(new Error('Velt SDK is not initialized.'));
|
|
5090
|
-
commentElement.addReaction(
|
|
5122
|
+
commentElement.addReaction(request).then(resolve).catch(reject);
|
|
5091
5123
|
});
|
|
5092
5124
|
}
|
|
5093
5125
|
};
|
|
@@ -5095,11 +5127,11 @@ function useAddReaction() {
|
|
|
5095
5127
|
function useDeleteReaction() {
|
|
5096
5128
|
var commentElement = useCommentUtils();
|
|
5097
5129
|
return {
|
|
5098
|
-
deleteReaction: function (
|
|
5130
|
+
deleteReaction: function (request) {
|
|
5099
5131
|
return new Promise(function (resolve, reject) {
|
|
5100
5132
|
if (!(commentElement === null || commentElement === void 0 ? void 0 : commentElement.deleteReaction))
|
|
5101
5133
|
return reject(new Error('Velt SDK is not initialized.'));
|
|
5102
|
-
commentElement.deleteReaction(
|
|
5134
|
+
commentElement.deleteReaction(request).then(resolve).catch(reject);
|
|
5103
5135
|
});
|
|
5104
5136
|
}
|
|
5105
5137
|
};
|
|
@@ -5107,11 +5139,11 @@ function useDeleteReaction() {
|
|
|
5107
5139
|
function useToggleReaction() {
|
|
5108
5140
|
var commentElement = useCommentUtils();
|
|
5109
5141
|
return {
|
|
5110
|
-
toggleReaction: function (
|
|
5142
|
+
toggleReaction: function (request) {
|
|
5111
5143
|
return new Promise(function (resolve, reject) {
|
|
5112
5144
|
if (!(commentElement === null || commentElement === void 0 ? void 0 : commentElement.toggleReaction))
|
|
5113
5145
|
return reject(new Error('Velt SDK is not initialized.'));
|
|
5114
|
-
commentElement.toggleReaction(
|
|
5146
|
+
commentElement.toggleReaction(request).then(resolve).catch(reject);
|
|
5115
5147
|
});
|
|
5116
5148
|
}
|
|
5117
5149
|
};
|
|
@@ -5504,6 +5536,33 @@ function useRecordingDataByRecorderId(recorderId) {
|
|
|
5504
5536
|
return data;
|
|
5505
5537
|
}
|
|
5506
5538
|
|
|
5539
|
+
function useRecorderEventCallback(action) {
|
|
5540
|
+
var recorderElement = useRecorderUtils();
|
|
5541
|
+
var _a = useState(null), data = _a[0], setData = _a[1];
|
|
5542
|
+
var subscriptionRef = useRef(null);
|
|
5543
|
+
var memoizedAction = useMemo(function () { return action; }, [action]);
|
|
5544
|
+
useEffect(function () {
|
|
5545
|
+
var _a;
|
|
5546
|
+
if (!(recorderElement === null || recorderElement === void 0 ? void 0 : recorderElement.on))
|
|
5547
|
+
return;
|
|
5548
|
+
if (subscriptionRef.current) {
|
|
5549
|
+
subscriptionRef.current.unsubscribe();
|
|
5550
|
+
}
|
|
5551
|
+
var subscription = (_a = recorderElement === null || recorderElement === void 0 ? void 0 : recorderElement.on(memoizedAction)) === null || _a === void 0 ? void 0 : _a.subscribe(function (data) {
|
|
5552
|
+
setData(data);
|
|
5553
|
+
});
|
|
5554
|
+
// Store the new subscription
|
|
5555
|
+
subscriptionRef.current = subscription;
|
|
5556
|
+
// Cleanup function
|
|
5557
|
+
return function () {
|
|
5558
|
+
if (subscriptionRef.current) {
|
|
5559
|
+
subscriptionRef.current.unsubscribe();
|
|
5560
|
+
}
|
|
5561
|
+
};
|
|
5562
|
+
}, [recorderElement === null || recorderElement === void 0 ? void 0 : recorderElement.on, memoizedAction]);
|
|
5563
|
+
return data;
|
|
5564
|
+
}
|
|
5565
|
+
|
|
5507
5566
|
function useAIRewriterUtils() {
|
|
5508
5567
|
var _a = React.useState(), rewriterElement = _a[0], setRewriterElement = _a[1];
|
|
5509
5568
|
var client = useVeltClient().client;
|
|
@@ -5821,5 +5880,5 @@ var logLiveState = function (action, liveStateDataId) {
|
|
|
5821
5880
|
}
|
|
5822
5881
|
};
|
|
5823
5882
|
|
|
5824
|
-
export { SnippylyArrowTool as VeltArrowTool, SnippylyArrows as VeltArrows, VeltAutocomplete, VeltAutocompleteChipTooltipWireframe, 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, VeltSubtitlesButtonWireframe as 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, useRecorderUtils, useRecordingDataByRecorderId, useRejectCommentAnnotation, useResolveCommentAnnotation, useServerConnectionStateChangeHandler, useSetDocument, useSetDocumentId, useSetDocuments, useSetLiveStateData, useSetLocation, useSubscribeCommentAnnotation, useTagAnnotations, useTagUtils, useToggleReaction, useUniqueViewsByDate, useUniqueViewsByUser, useUnreadCommentAnnotationCountByLocationId, useUnreadCommentAnnotationCountOnCurrentDocument, useUnreadCommentCountByAnnotationId, useUnreadCommentCountByLocationId, useUnreadCommentCountOnCurrentDocument, useUnreadNotificationsCount, useUnsetDocumentId, useUnsubscribeCommentAnnotation, useUpdateAccess, useUpdateComment, useUpdatePriority, useUpdateStatus, useUserEditorState, useVeltClient, useVeltEventCallback, useVeltInitState, useViewsUtils };
|
|
5883
|
+
export { SnippylyArrowTool as VeltArrowTool, SnippylyArrows as VeltArrows, VeltAutocomplete, VeltAutocompleteChipTooltipWireframe, 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, VeltSubtitlesButtonWireframe as 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 };
|
|
5825
5884
|
//# sourceMappingURL=index.js.map
|