@veltdev/react 3.0.26 → 3.0.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/cjs/index.js +64 -5
  2. package/cjs/index.js.map +1 -1
  3. package/cjs/types/components/SnippylyComments/SnippylyComments.d.ts +2 -0
  4. package/cjs/types/components/VeltData/VeltData.d.ts +1 -0
  5. package/cjs/types/components/VeltMultiThreadCommentDialogWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownContentWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownContentMarkAllReadWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownContentMarkAllReadWireframe.d.ts +8 -0
  6. package/cjs/types/components/VeltMultiThreadCommentDialogWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownContentWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownContentMarkAllReadWireframe/index.d.ts +1 -0
  7. package/cjs/types/components/VeltMultiThreadCommentDialogWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownContentWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownContentMarkAllResolvedWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownContentMarkAllResolvedWireframe.d.ts +8 -0
  8. package/cjs/types/components/VeltMultiThreadCommentDialogWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownContentWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownContentMarkAllResolvedWireframe/index.d.ts +1 -0
  9. package/cjs/types/components/VeltMultiThreadCommentDialogWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownContentWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownContentWireframe.d.ts +12 -0
  10. package/cjs/types/components/VeltMultiThreadCommentDialogWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownContentWireframe/index.d.ts +1 -0
  11. package/cjs/types/components/VeltMultiThreadCommentDialogWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownTriggerWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownTriggerWireframe.d.ts +8 -0
  12. package/cjs/types/components/VeltMultiThreadCommentDialogWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownTriggerWireframe/index.d.ts +1 -0
  13. package/cjs/types/components/VeltMultiThreadCommentDialogWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownWireframe.d.ts +12 -0
  14. package/cjs/types/components/VeltMultiThreadCommentDialogWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownWireframe/index.d.ts +1 -0
  15. package/cjs/types/components/VeltMultiThreadCommentDialogWireframe/VeltMultiThreadCommentDialogWireframe.d.ts +2 -0
  16. package/cjs/types/constants.d.ts +1 -1
  17. package/cjs/types/hooks/CommentElement.d.ts +3 -0
  18. package/cjs/types/hooks/index.d.ts +1 -1
  19. package/esm/index.js +64 -6
  20. package/esm/index.js.map +1 -1
  21. package/esm/types/components/SnippylyComments/SnippylyComments.d.ts +2 -0
  22. package/esm/types/components/VeltData/VeltData.d.ts +1 -0
  23. package/esm/types/components/VeltMultiThreadCommentDialogWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownContentWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownContentMarkAllReadWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownContentMarkAllReadWireframe.d.ts +8 -0
  24. package/esm/types/components/VeltMultiThreadCommentDialogWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownContentWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownContentMarkAllReadWireframe/index.d.ts +1 -0
  25. package/esm/types/components/VeltMultiThreadCommentDialogWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownContentWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownContentMarkAllResolvedWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownContentMarkAllResolvedWireframe.d.ts +8 -0
  26. package/esm/types/components/VeltMultiThreadCommentDialogWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownContentWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownContentMarkAllResolvedWireframe/index.d.ts +1 -0
  27. package/esm/types/components/VeltMultiThreadCommentDialogWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownContentWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownContentWireframe.d.ts +12 -0
  28. package/esm/types/components/VeltMultiThreadCommentDialogWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownContentWireframe/index.d.ts +1 -0
  29. package/esm/types/components/VeltMultiThreadCommentDialogWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownTriggerWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownTriggerWireframe.d.ts +8 -0
  30. package/esm/types/components/VeltMultiThreadCommentDialogWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownTriggerWireframe/index.d.ts +1 -0
  31. package/esm/types/components/VeltMultiThreadCommentDialogWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownWireframe.d.ts +12 -0
  32. package/esm/types/components/VeltMultiThreadCommentDialogWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownWireframe/index.d.ts +1 -0
  33. package/esm/types/components/VeltMultiThreadCommentDialogWireframe/VeltMultiThreadCommentDialogWireframe.d.ts +2 -0
  34. package/esm/types/constants.d.ts +1 -1
  35. package/esm/types/hooks/CommentElement.d.ts +3 -0
  36. package/esm/types/hooks/index.d.ts +1 -1
  37. package/index.d.ts +42 -1
  38. package/package.json +1 -1
package/cjs/index.js CHANGED
@@ -140,7 +140,7 @@ var loadVelt = function (callback, version, staging, develop, proxyDomain) {
140
140
  }
141
141
  };
142
142
 
143
- var VELT_SDK_VERSION = '3.0.26';
143
+ var VELT_SDK_VERSION = '3.0.27';
144
144
  var VELT_SDK_INIT_EVENT = 'onVeltInit';
145
145
  var VELT_TAB_ID = 'veltTabId';
146
146
 
@@ -234,7 +234,7 @@ var SnippylyCommentBubble = function (props) {
234
234
  };
235
235
 
236
236
  var SnippylyComments = function (props) {
237
- 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, 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;
237
+ 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, 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;
238
238
  var ref = React.useRef();
239
239
  var onSignInRef = React.useRef(onSignIn);
240
240
  var onUpgradeRef = React.useRef(onUpgrade);
@@ -245,10 +245,14 @@ var SnippylyComments = function (props) {
245
245
  var onSidebarButtonOnCommentDialogClickRef = React.useRef(onSidebarButtonOnCommentDialogClick);
246
246
  var onCustomPinInjectRef = React.useRef(onCustomPinInject);
247
247
  var onCommentSelectionChangeRef = React.useRef(onCommentSelectionChange);
248
+ var onCopyLinkRef = React.useRef(onCopyLink);
248
249
  // Update the ref to always point to the latest callback function
249
250
  React.useEffect(function () {
250
251
  onSignInRef.current = onSignIn;
251
252
  }, [onSignIn]);
253
+ React.useEffect(function () {
254
+ onCopyLinkRef.current = onCopyLink;
255
+ }, [onCopyLink]);
252
256
  React.useEffect(function () {
253
257
  onUpgradeRef.current = onUpgrade;
254
258
  }, [onUpgrade]);
@@ -320,6 +324,11 @@ var SnippylyComments = function (props) {
320
324
  onCommentSelectionChangeRef.current(event === null || event === void 0 ? void 0 : event.detail);
321
325
  }
322
326
  };
327
+ var handleCopyLink = function (event) {
328
+ if (onCopyLinkRef.current) {
329
+ onCopyLinkRef.current(event === null || event === void 0 ? void 0 : event.detail);
330
+ }
331
+ };
323
332
  if (ref.current) {
324
333
  element = ref.current;
325
334
  if (element) {
@@ -332,6 +341,7 @@ var SnippylyComments = function (props) {
332
341
  element.addEventListener('onSidebarButtonOnCommentDialogClick', handleSidebarButtonOnCommentDialogClick);
333
342
  element.addEventListener('onCustomPinInject', handleCustomPinInject);
334
343
  element.addEventListener('onCommentSelectionChange', handleCommentSelectionChange);
344
+ element.addEventListener('onCopyLink', handleCopyLink);
335
345
  }
336
346
  }
337
347
  return function () {
@@ -345,10 +355,11 @@ var SnippylyComments = function (props) {
345
355
  element.removeEventListener('onSidebarButtonOnCommentDialogClick', handleSidebarButtonOnCommentDialogClick);
346
356
  element.removeEventListener('onCustomPinInject', handleCustomPinInject);
347
357
  element.removeEventListener('onCommentSelectionChange', handleCommentSelectionChange);
358
+ element.removeEventListener('onCopyLink', handleCopyLink);
348
359
  }
349
360
  };
350
361
  }, []);
351
- return (React__default["default"].createElement("velt-comments", { ref: ref, "at-here-label": atHereLabel, "at-here-description": atHereDescription, "composer-mode": composerMode, "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-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 }, children));
362
+ return (React__default["default"].createElement("velt-comments", { ref: ref, "at-here-label": atHereLabel, "at-here-description": atHereDescription, "composer-mode": composerMode, "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-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 }, children));
352
363
  };
353
364
 
354
365
  var SnippylyCommentsSidebar = function (props) {
@@ -1386,9 +1397,9 @@ var VeltCanvasComment = function (props) {
1386
1397
  };
1387
1398
 
1388
1399
  var VeltData = function (props) {
1389
- var path = props.path;
1400
+ var path = props.path, field = props.field;
1390
1401
  var ref = React.useRef();
1391
- return (React__default["default"].createElement("velt-data", { ref: ref, path: path }));
1402
+ return (React__default["default"].createElement("velt-data", { ref: ref, path: path, field: field }));
1392
1403
  };
1393
1404
 
1394
1405
  var VeltIf = function (props) {
@@ -3268,6 +3279,35 @@ var VeltMultiThreadCommentDialogListWireframe = function (props) {
3268
3279
  return (React__default["default"].createElement("velt-multi-thread-comment-dialog-list-wireframe", __assign({}, remainingProps), children));
3269
3280
  };
3270
3281
 
3282
+ var VeltMultiThreadCommentDialogMinimalActionsDropdownContentMarkAllReadWireframe = function (props) {
3283
+ var children = props.children, remainingProps = __rest(props, ["children"]);
3284
+ return (React__default["default"].createElement("velt-multi-thread-comment-dialog-minimal-actions-dropdown-content-mark-all-read-wireframe", __assign({}, remainingProps), children));
3285
+ };
3286
+
3287
+ var VeltMultiThreadCommentDialogMinimalActionsDropdownContentMarkAllResolvedWireframe = function (props) {
3288
+ var children = props.children, remainingProps = __rest(props, ["children"]);
3289
+ return (React__default["default"].createElement("velt-multi-thread-comment-dialog-minimal-actions-dropdown-content-mark-all-resolved-wireframe", __assign({}, remainingProps), children));
3290
+ };
3291
+
3292
+ var VeltMultiThreadCommentDialogMinimalActionsDropdownContentWireframe = function (props) {
3293
+ var children = props.children, remainingProps = __rest(props, ["children"]);
3294
+ return (React__default["default"].createElement("velt-multi-thread-comment-dialog-minimal-actions-dropdown-content-wireframe", __assign({}, remainingProps), children));
3295
+ };
3296
+ VeltMultiThreadCommentDialogMinimalActionsDropdownContentWireframe.MarkAllRead = VeltMultiThreadCommentDialogMinimalActionsDropdownContentMarkAllReadWireframe;
3297
+ VeltMultiThreadCommentDialogMinimalActionsDropdownContentWireframe.MarkAllResolved = VeltMultiThreadCommentDialogMinimalActionsDropdownContentMarkAllResolvedWireframe;
3298
+
3299
+ var VeltMultiThreadCommentDialogMinimalActionsDropdownTriggerWireframe = function (props) {
3300
+ var children = props.children, remainingProps = __rest(props, ["children"]);
3301
+ return (React__default["default"].createElement("velt-multi-thread-comment-dialog-minimal-actions-dropdown-trigger-wireframe", __assign({}, remainingProps), children));
3302
+ };
3303
+
3304
+ var VeltMultiThreadCommentDialogMinimalActionsDropdownWireframe = function (props) {
3305
+ var children = props.children, remainingProps = __rest(props, ["children"]);
3306
+ return (React__default["default"].createElement("velt-multi-thread-comment-dialog-minimal-actions-dropdown-wireframe", __assign({}, remainingProps), children));
3307
+ };
3308
+ VeltMultiThreadCommentDialogMinimalActionsDropdownWireframe.Content = VeltMultiThreadCommentDialogMinimalActionsDropdownContentWireframe;
3309
+ VeltMultiThreadCommentDialogMinimalActionsDropdownWireframe.Trigger = VeltMultiThreadCommentDialogMinimalActionsDropdownTriggerWireframe;
3310
+
3271
3311
  var VeltMultiThreadCommentDialogMinimalFilterDropdownContentFilterAllWireframe = function (props) {
3272
3312
  var children = props.children, remainingProps = __rest(props, ["children"]);
3273
3313
  return (React__default["default"].createElement("velt-multi-thread-comment-dialog-minimal-filter-dropdown-content-filter-all-wireframe", __assign({}, remainingProps), children));
@@ -3343,6 +3383,7 @@ VeltMultiThreadCommentDialogWireframe.CloseButton = VeltMultiThreadCommentDialog
3343
3383
  VeltMultiThreadCommentDialogWireframe.MinimalFilterDropdown = VeltMultiThreadCommentDialogMinimalFilterDropdownWireframe;
3344
3384
  VeltMultiThreadCommentDialogWireframe.EmptyPlaceholder = VeltMultiThreadCommentDialogEmptyPlaceholderWireframe;
3345
3385
  VeltMultiThreadCommentDialogWireframe.NewThreadButton = VeltMultiThreadCommentDialogNewThreadButtonWireframe;
3386
+ VeltMultiThreadCommentDialogWireframe.MinimalActionsDropdown = VeltMultiThreadCommentDialogMinimalActionsDropdownWireframe;
3346
3387
 
3347
3388
  var VeltCommentComposerWireframe = function (props) {
3348
3389
  var children = props.children, remainingProps = __rest(props, ["children"]);
@@ -3581,6 +3622,23 @@ function useCommentSelectionChangeHandler() {
3581
3622
  }, [commentElement === null || commentElement === void 0 ? void 0 : commentElement.onCommentSelectionChange]);
3582
3623
  return data;
3583
3624
  }
3625
+ function useCommentCopyLinkHandler() {
3626
+ var commentElement = useCommentUtils();
3627
+ var _a = React__default["default"].useState(undefined), data = _a[0], setData = _a[1];
3628
+ React.useEffect(function () {
3629
+ if (!(commentElement === null || commentElement === void 0 ? void 0 : commentElement.onCopyLink))
3630
+ return;
3631
+ var subscription = commentElement.onCopyLink().subscribe(function (res) {
3632
+ if (res) {
3633
+ setData({ link: res });
3634
+ }
3635
+ });
3636
+ return function () {
3637
+ subscription.unsubscribe();
3638
+ };
3639
+ }, [commentElement === null || commentElement === void 0 ? void 0 : commentElement.onCopyLink]);
3640
+ return data;
3641
+ }
3584
3642
 
3585
3643
  function useCursorUtils() {
3586
3644
  var _a = React__default["default"].useState(), cursorElement = _a[0], setCursorElement = _a[1];
@@ -4198,6 +4256,7 @@ exports.useAutocompleteUtils = useAutocompleteUtils;
4198
4256
  exports.useClient = useClient;
4199
4257
  exports.useCommentAddHandler = useCommentAddHandler;
4200
4258
  exports.useCommentAnnotations = useCommentAnnotations;
4259
+ exports.useCommentCopyLinkHandler = useCommentCopyLinkHandler;
4201
4260
  exports.useCommentDialogSidebarClickHandler = useCommentDialogSidebarClickHandler;
4202
4261
  exports.useCommentModeState = useCommentModeState;
4203
4262
  exports.useCommentSelectionChangeHandler = useCommentSelectionChangeHandler;