@veltdev/react 3.0.7 → 3.0.9
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 +59 -11
- package/cjs/index.js.map +1 -1
- package/cjs/types/components/SnippylyCommentBubble/SnippylyCommentBubble.d.ts +4 -0
- package/cjs/types/components/SnippylyCommentTool/SnippylyCommentTool.d.ts +4 -0
- package/cjs/types/components/SnippylyComments/SnippylyComments.d.ts +1 -0
- package/cjs/types/components/VeltCommentsSidebarButtonWireframe/VeltCommentsSidebarButtonCommentsCount/VeltCommentsSidebarButtonCommentsCount.d.ts +5 -0
- package/cjs/types/components/VeltCommentsSidebarButtonWireframe/VeltCommentsSidebarButtonCommentsCount/index.d.ts +1 -0
- package/cjs/types/components/VeltCommentsSidebarButtonWireframe/VeltCommentsSidebarButtonIcon/VeltCommentsSidebarButtonIcon.d.ts +5 -0
- package/cjs/types/components/VeltCommentsSidebarButtonWireframe/VeltCommentsSidebarButtonIcon/index.d.ts +1 -0
- package/cjs/types/components/VeltCommentsSidebarButtonWireframe/VeltCommentsSidebarButtonWireframe.d.ts +11 -0
- package/cjs/types/components/VeltCommentsSidebarButtonWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltInlineCommentsSection/VeltInlineCommentsSection.d.ts +4 -0
- package/cjs/types/components/VeltInlineReactionsSection/VeltInlineReactionsSection.d.ts +2 -0
- package/cjs/types/components/VeltMultiThreadCommentDialogWireframe/VeltMultiThreadCommentDialogCloseButtonWireframe/VeltMultiThreadCommentDialogCloseButtonWireframe.d.ts +6 -0
- package/cjs/types/components/VeltMultiThreadCommentDialogWireframe/VeltMultiThreadCommentDialogCloseButtonWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltMultiThreadCommentDialogWireframe/VeltMultiThreadCommentDialogCommentCountWireframe/VeltMultiThreadCommentDialogCommentCountWireframe.d.ts +6 -0
- package/cjs/types/components/VeltMultiThreadCommentDialogWireframe/VeltMultiThreadCommentDialogCommentCountWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltMultiThreadCommentDialogWireframe/VeltMultiThreadCommentDialogComposerContainerWireframe/VeltMultiThreadCommentDialogComposerContainerWireframe.d.ts +6 -0
- package/cjs/types/components/VeltMultiThreadCommentDialogWireframe/VeltMultiThreadCommentDialogComposerContainerWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltMultiThreadCommentDialogWireframe/VeltMultiThreadCommentDialogListWireframe/VeltMultiThreadCommentDialogListWireframe.d.ts +6 -0
- package/cjs/types/components/VeltMultiThreadCommentDialogWireframe/VeltMultiThreadCommentDialogListWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltMultiThreadCommentDialogWireframe/VeltMultiThreadCommentDialogWireframe.d.ts +16 -0
- package/cjs/types/components/VeltMultiThreadCommentDialogWireframe/index.d.ts +1 -0
- package/cjs/types/components/index.d.ts +2 -0
- package/cjs/types/constants.d.ts +1 -1
- package/esm/index.js +58 -12
- package/esm/index.js.map +1 -1
- package/esm/types/components/SnippylyCommentBubble/SnippylyCommentBubble.d.ts +4 -0
- package/esm/types/components/SnippylyCommentTool/SnippylyCommentTool.d.ts +4 -0
- package/esm/types/components/SnippylyComments/SnippylyComments.d.ts +1 -0
- package/esm/types/components/VeltCommentsSidebarButtonWireframe/VeltCommentsSidebarButtonCommentsCount/VeltCommentsSidebarButtonCommentsCount.d.ts +5 -0
- package/esm/types/components/VeltCommentsSidebarButtonWireframe/VeltCommentsSidebarButtonCommentsCount/index.d.ts +1 -0
- package/esm/types/components/VeltCommentsSidebarButtonWireframe/VeltCommentsSidebarButtonIcon/VeltCommentsSidebarButtonIcon.d.ts +5 -0
- package/esm/types/components/VeltCommentsSidebarButtonWireframe/VeltCommentsSidebarButtonIcon/index.d.ts +1 -0
- package/esm/types/components/VeltCommentsSidebarButtonWireframe/VeltCommentsSidebarButtonWireframe.d.ts +11 -0
- package/esm/types/components/VeltCommentsSidebarButtonWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltInlineCommentsSection/VeltInlineCommentsSection.d.ts +4 -0
- package/esm/types/components/VeltInlineReactionsSection/VeltInlineReactionsSection.d.ts +2 -0
- package/esm/types/components/VeltMultiThreadCommentDialogWireframe/VeltMultiThreadCommentDialogCloseButtonWireframe/VeltMultiThreadCommentDialogCloseButtonWireframe.d.ts +6 -0
- package/esm/types/components/VeltMultiThreadCommentDialogWireframe/VeltMultiThreadCommentDialogCloseButtonWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltMultiThreadCommentDialogWireframe/VeltMultiThreadCommentDialogCommentCountWireframe/VeltMultiThreadCommentDialogCommentCountWireframe.d.ts +6 -0
- package/esm/types/components/VeltMultiThreadCommentDialogWireframe/VeltMultiThreadCommentDialogCommentCountWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltMultiThreadCommentDialogWireframe/VeltMultiThreadCommentDialogComposerContainerWireframe/VeltMultiThreadCommentDialogComposerContainerWireframe.d.ts +6 -0
- package/esm/types/components/VeltMultiThreadCommentDialogWireframe/VeltMultiThreadCommentDialogComposerContainerWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltMultiThreadCommentDialogWireframe/VeltMultiThreadCommentDialogListWireframe/VeltMultiThreadCommentDialogListWireframe.d.ts +6 -0
- package/esm/types/components/VeltMultiThreadCommentDialogWireframe/VeltMultiThreadCommentDialogListWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltMultiThreadCommentDialogWireframe/VeltMultiThreadCommentDialogWireframe.d.ts +16 -0
- package/esm/types/components/VeltMultiThreadCommentDialogWireframe/index.d.ts +1 -0
- package/esm/types/components/index.d.ts +2 -0
- package/esm/types/constants.d.ts +1 -1
- package/index.d.ts +56 -1
- 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.
|
|
143
|
+
var VELT_SDK_VERSION = '3.0.9';
|
|
144
144
|
var VELT_SDK_INIT_EVENT = 'onVeltInit';
|
|
145
145
|
var VELT_TAB_ID = 'veltTabId';
|
|
146
146
|
|
|
@@ -229,12 +229,12 @@ var SnippylyProvider = function (props) {
|
|
|
229
229
|
};
|
|
230
230
|
|
|
231
231
|
var SnippylyCommentBubble = function (props) {
|
|
232
|
-
var targetCommentElementId = props.targetCommentElementId, avatar = props.avatar, showAvatar = props.showAvatar, commentBubbleTargetPinHover = props.commentBubbleTargetPinHover, children = props.children, shadowDom = props.shadowDom, variant = props.variant, darkMode = props.darkMode, commentCountType = props.commentCountType;
|
|
233
|
-
return (React__default["default"].createElement("velt-comment-bubble", { "comment-count-type": commentCountType, "target-comment-element-id": targetCommentElementId, "show-avatar": [true, false].includes(showAvatar) ? (showAvatar ? 'true' : 'false') : undefined, avatar: [true, false].includes(avatar) ? (avatar ? 'true' : 'false') : undefined, "comment-bubble-target-pin-hover": commentBubbleTargetPinHover ? 'true' : undefined, "shadow-dom": [true, false].includes(shadowDom) ? (shadowDom ? 'true' : 'false') : undefined, "dark-mode": [true, false].includes(darkMode) ? (darkMode ? 'true' : 'false') : undefined, variant: variant }, children));
|
|
232
|
+
var targetCommentElementId = props.targetCommentElementId, targetElementId = props.targetElementId, avatar = props.avatar, showAvatar = props.showAvatar, commentBubbleTargetPinHover = props.commentBubbleTargetPinHover, children = props.children, shadowDom = props.shadowDom, variant = props.variant, darkMode = props.darkMode, commentCountType = props.commentCountType;
|
|
233
|
+
return (React__default["default"].createElement("velt-comment-bubble", { "comment-count-type": commentCountType, "target-comment-element-id": targetCommentElementId, "target-element-id": targetElementId, "show-avatar": [true, false].includes(showAvatar) ? (showAvatar ? 'true' : 'false') : undefined, avatar: [true, false].includes(avatar) ? (avatar ? 'true' : 'false') : undefined, "comment-bubble-target-pin-hover": commentBubbleTargetPinHover ? 'true' : undefined, "shadow-dom": [true, false].includes(shadowDom) ? (shadowDom ? 'true' : 'false') : undefined, "dark-mode": [true, false].includes(darkMode) ? (darkMode ? 'true' : 'false') : undefined, variant: variant }, children));
|
|
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, 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;
|
|
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, 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, multiThreadMode = props.multiThreadMode;
|
|
238
238
|
var ref = React.useRef();
|
|
239
239
|
var onSignInRef = React.useRef(onSignIn);
|
|
240
240
|
var onUpgradeRef = React.useRef(onUpgrade);
|
|
@@ -348,7 +348,7 @@ var SnippylyComments = function (props) {
|
|
|
348
348
|
}
|
|
349
349
|
};
|
|
350
350
|
}, []);
|
|
351
|
-
return (React__default["default"].createElement("velt-comments", { ref: ref, "at-here-label": atHereLabel, "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, "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 }, children));
|
|
351
|
+
return (React__default["default"].createElement("velt-comments", { ref: ref, "at-here-label": atHereLabel, "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, "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 }, children));
|
|
352
352
|
};
|
|
353
353
|
|
|
354
354
|
var SnippylyCommentsSidebar = function (props) {
|
|
@@ -418,7 +418,7 @@ var SnippylyCommentsSidebar = function (props) {
|
|
|
418
418
|
};
|
|
419
419
|
|
|
420
420
|
var SnippylyCommentTool = function (props) {
|
|
421
|
-
var targetCommentElementId = props.targetCommentElementId, onCommentModeChange = props.onCommentModeChange, children = props.children, darkMode = props.darkMode, variant = props.variant, shadowDom = props.shadowDom;
|
|
421
|
+
var targetCommentElementId = props.targetCommentElementId, targetElementId = props.targetElementId, onCommentModeChange = props.onCommentModeChange, children = props.children, darkMode = props.darkMode, variant = props.variant, shadowDom = props.shadowDom;
|
|
422
422
|
var ref = React.useRef();
|
|
423
423
|
var onCommentModeChangeRef = React.useRef(onCommentModeChange);
|
|
424
424
|
// Update the ref to always point to the latest callback function
|
|
@@ -444,7 +444,7 @@ var SnippylyCommentTool = function (props) {
|
|
|
444
444
|
}
|
|
445
445
|
};
|
|
446
446
|
}, []);
|
|
447
|
-
return (React__default["default"].createElement("velt-comment-tool", { ref: ref, "target-comment-element-id": targetCommentElementId, variant: variant, "shadow-dom": [true, false].includes(shadowDom) ? (shadowDom ? 'true' : 'false') : undefined, "dark-mode": [true, false].includes(darkMode) ? (darkMode ? 'true' : 'false') : undefined }, children));
|
|
447
|
+
return (React__default["default"].createElement("velt-comment-tool", { ref: ref, "target-comment-element-id": targetCommentElementId, "target-element-id": targetElementId, variant: variant, "shadow-dom": [true, false].includes(shadowDom) ? (shadowDom ? 'true' : 'false') : undefined, "dark-mode": [true, false].includes(darkMode) ? (darkMode ? 'true' : 'false') : undefined }, children));
|
|
448
448
|
};
|
|
449
449
|
|
|
450
450
|
var SnippylyCursor = function (props) {
|
|
@@ -1371,8 +1371,8 @@ var VeltAutocomplete = function (props) {
|
|
|
1371
1371
|
};
|
|
1372
1372
|
|
|
1373
1373
|
var VeltInlineCommentsSection = function (props) {
|
|
1374
|
-
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;
|
|
1375
|
-
return (React__default["default"].createElement("velt-inline-comments-section", { "target-inline-comment-element-id": targetInlineCommentElementId, "target-comment-element-id": targetCommentElementId, config: JSON.stringify(config), variant: variant, "dialog-variant": dialogVariant, "shadow-dom": [true, false].includes(shadowDom) ? (shadowDom ? 'true' : 'false') : undefined, "dark-mode": [true, false].includes(darkMode) ? (darkMode ? 'true' : 'false') : undefined }, children));
|
|
1374
|
+
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;
|
|
1375
|
+
return (React__default["default"].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, "shadow-dom": [true, false].includes(shadowDom) ? (shadowDom ? 'true' : 'false') : undefined, "dark-mode": [true, false].includes(darkMode) ? (darkMode ? 'true' : 'false') : undefined }, children));
|
|
1376
1376
|
};
|
|
1377
1377
|
|
|
1378
1378
|
var VeltCommentPin = function (props) {
|
|
@@ -1426,8 +1426,8 @@ var VeltReactionTool = function (props) {
|
|
|
1426
1426
|
};
|
|
1427
1427
|
|
|
1428
1428
|
var VeltInlineReactionsSection = function (props) {
|
|
1429
|
-
var children = props.children, darkMode = props.darkMode, variant = props.variant, shadowDom = props.shadowDom, targetReactionElementId = props.targetReactionElementId;
|
|
1430
|
-
return (React__default["default"].createElement("velt-inline-reactions-section", { "target-reaction-element-id": targetReactionElementId, variant: variant, "shadow-dom": [true, false].includes(shadowDom) ? (shadowDom ? 'true' : 'false') : undefined, "dark-mode": [true, false].includes(darkMode) ? (darkMode ? 'true' : 'false') : undefined }, children));
|
|
1429
|
+
var children = props.children, darkMode = props.darkMode, variant = props.variant, shadowDom = props.shadowDom, targetReactionElementId = props.targetReactionElementId, customReactions = props.customReactions;
|
|
1430
|
+
return (React__default["default"].createElement("velt-inline-reactions-section", { "target-reaction-element-id": targetReactionElementId, variant: variant, "custom-reactions": JSON.stringify(customReactions), "shadow-dom": [true, false].includes(shadowDom) ? (shadowDom ? 'true' : 'false') : undefined, "dark-mode": [true, false].includes(darkMode) ? (darkMode ? 'true' : 'false') : undefined }, children));
|
|
1431
1431
|
};
|
|
1432
1432
|
|
|
1433
1433
|
var VeltWireframe = function (props) {
|
|
@@ -3196,6 +3196,52 @@ var VeltPersistentCommentModeWireframe = function (props) {
|
|
|
3196
3196
|
VeltPersistentCommentModeWireframe.CloseButton = VeltPersistentCommentModeCloseButtonWireframe;
|
|
3197
3197
|
VeltPersistentCommentModeWireframe.Label = VeltPersistentCommentModeLabelWireframe;
|
|
3198
3198
|
|
|
3199
|
+
var VeltMultiThreadCommentDialogCommentCountWireframe = function (props) {
|
|
3200
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3201
|
+
return (React__default["default"].createElement("velt-multi-thread-comment-dialog-comment-count-wireframe", __assign({}, remainingProps), children));
|
|
3202
|
+
};
|
|
3203
|
+
|
|
3204
|
+
var VeltMultiThreadCommentDialogComposerContainerWireframe = function (props) {
|
|
3205
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3206
|
+
return (React__default["default"].createElement("velt-multi-thread-comment-dialog-composer-container-wireframe", __assign({}, remainingProps), children));
|
|
3207
|
+
};
|
|
3208
|
+
|
|
3209
|
+
var VeltMultiThreadCommentDialogListWireframe = function (props) {
|
|
3210
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3211
|
+
return (React__default["default"].createElement("velt-multi-thread-comment-dialog-list-wireframe", __assign({}, remainingProps), children));
|
|
3212
|
+
};
|
|
3213
|
+
|
|
3214
|
+
var VeltMultiThreadCommentDialogCloseButtonWireframe = function (props) {
|
|
3215
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3216
|
+
return (React__default["default"].createElement("velt-multi-thread-comment-dialog-close-button-wireframe", __assign({}, remainingProps), children));
|
|
3217
|
+
};
|
|
3218
|
+
|
|
3219
|
+
var VeltMultiThreadCommentDialogWireframe = function (props) {
|
|
3220
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3221
|
+
return (React__default["default"].createElement("velt-multi-thread-comment-dialog-wireframe", __assign({}, remainingProps), children));
|
|
3222
|
+
};
|
|
3223
|
+
VeltMultiThreadCommentDialogWireframe.CommentCount = VeltMultiThreadCommentDialogCommentCountWireframe;
|
|
3224
|
+
VeltMultiThreadCommentDialogWireframe.ComposerContainer = VeltMultiThreadCommentDialogComposerContainerWireframe;
|
|
3225
|
+
VeltMultiThreadCommentDialogWireframe.List = VeltMultiThreadCommentDialogListWireframe;
|
|
3226
|
+
VeltMultiThreadCommentDialogWireframe.CloseButton = VeltMultiThreadCommentDialogCloseButtonWireframe;
|
|
3227
|
+
|
|
3228
|
+
var VeltCommentsSidebarButtonCommentsCount = function (props) {
|
|
3229
|
+
var children = props.children;
|
|
3230
|
+
return (React__default["default"].createElement("velt-comments-sidebar-button-comments-count-wireframe", null, children));
|
|
3231
|
+
};
|
|
3232
|
+
|
|
3233
|
+
var VeltCommentsSidebarButtonIcon = function (props) {
|
|
3234
|
+
var children = props.children;
|
|
3235
|
+
return (React__default["default"].createElement("velt-comments-sidebar-button-icon-wireframe", null, children));
|
|
3236
|
+
};
|
|
3237
|
+
|
|
3238
|
+
var VeltCommentsSidebarButtonWireframe = function (props) {
|
|
3239
|
+
var children = props.children, remainingProp = __rest(props, ["children"]);
|
|
3240
|
+
return (React__default["default"].createElement("velt-comments-sidebar-button-wireframe", __assign({}, remainingProp), children));
|
|
3241
|
+
};
|
|
3242
|
+
VeltCommentsSidebarButtonWireframe.CommentsCount = VeltCommentsSidebarButtonCommentsCount;
|
|
3243
|
+
VeltCommentsSidebarButtonWireframe.Icon = VeltCommentsSidebarButtonIcon;
|
|
3244
|
+
|
|
3199
3245
|
function useClient() {
|
|
3200
3246
|
var client = useVeltClient().client;
|
|
3201
3247
|
var _a = React__default["default"].useState(), veltClient = _a[0], setVeltClient = _a[1];
|
|
@@ -3992,6 +4038,7 @@ exports.VeltComments = SnippylyComments;
|
|
|
3992
4038
|
exports.VeltCommentsMinimap = VeltCommentsMinimap;
|
|
3993
4039
|
exports.VeltCommentsSidebar = SnippylyCommentsSidebar;
|
|
3994
4040
|
exports.VeltCommentsSidebarButton = VeltCommentsSidebarButton;
|
|
4041
|
+
exports.VeltCommentsSidebarButtonWireframe = VeltCommentsSidebarButtonWireframe;
|
|
3995
4042
|
exports.VeltCommentsSidebarStatusDropdownWireframe = VeltCommentsSidebarStatusDropdownWireframe;
|
|
3996
4043
|
exports.VeltCommentsSidebarWireframe = VeltCommentsSidebarWireframe;
|
|
3997
4044
|
exports.VeltConfirmDialogWireframe = VeltConfirmDialogWireframe;
|
|
@@ -4004,6 +4051,7 @@ exports.VeltInlineCommentsSection = VeltInlineCommentsSection;
|
|
|
4004
4051
|
exports.VeltInlineCommentsSectionWireframe = VeltInlineCommentsSectionWireframe;
|
|
4005
4052
|
exports.VeltInlineReactionsSection = VeltInlineReactionsSection;
|
|
4006
4053
|
exports.VeltInlineReactionsSectionWireframe = VeltInlineReactionsSectionWireframe;
|
|
4054
|
+
exports.VeltMultiThreadCommentDialogWireframe = VeltMultiThreadCommentDialogWireframe;
|
|
4007
4055
|
exports.VeltNivoChartComments = VeltNivoChartComments;
|
|
4008
4056
|
exports.VeltNotificationsHistoryPanel = VeltNotificationsHistoryPanel;
|
|
4009
4057
|
exports.VeltNotificationsPanel = VeltNotificationsPanel;
|