@veltdev/react 2.0.21 → 2.0.22
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 +65 -5
- package/cjs/index.js.map +1 -1
- package/cjs/types/components/SnippylyComments/SnippylyComments.d.ts +16 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogCustomAnnotationDropdown/VeltCommentDialogCustomAnnotationDropdown.d.ts +12 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogCustomAnnotationDropdown/VeltCommentDialogCustomAnnotationDropdownContent/VeltCommentDialogCustomAnnotationDropdownContent.d.ts +10 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogCustomAnnotationDropdown/VeltCommentDialogCustomAnnotationDropdownContent/VeltCommentDialogCustomAnnotationDropdownContentItem/VeltCommentDialogCustomAnnotationDropdownContentItem.d.ts +12 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogCustomAnnotationDropdown/VeltCommentDialogCustomAnnotationDropdownContent/VeltCommentDialogCustomAnnotationDropdownContentItem/VeltCommentDialogCustomAnnotationDropdownContentItemIcon/VeltCommentDialogCustomAnnotationDropdownContentItemIcon.d.ts +6 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogCustomAnnotationDropdown/VeltCommentDialogCustomAnnotationDropdownContent/VeltCommentDialogCustomAnnotationDropdownContentItem/VeltCommentDialogCustomAnnotationDropdownContentItemIcon/index.d.ts +1 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogCustomAnnotationDropdown/VeltCommentDialogCustomAnnotationDropdownContent/VeltCommentDialogCustomAnnotationDropdownContentItem/VeltCommentDialogCustomAnnotationDropdownContentItemLabel/VeltCommentDialogCustomAnnotationDropdownContentItemLabel.d.ts +6 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogCustomAnnotationDropdown/VeltCommentDialogCustomAnnotationDropdownContent/VeltCommentDialogCustomAnnotationDropdownContentItem/VeltCommentDialogCustomAnnotationDropdownContentItemLabel/index.d.ts +1 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogCustomAnnotationDropdown/VeltCommentDialogCustomAnnotationDropdownContent/VeltCommentDialogCustomAnnotationDropdownContentItem/index.d.ts +1 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogCustomAnnotationDropdown/VeltCommentDialogCustomAnnotationDropdownContent/index.d.ts +1 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogCustomAnnotationDropdown/VeltCommentDialogCustomAnnotationDropdownTrigger/VeltCommentDialogCustomAnnotationDropdownTrigger.d.ts +14 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogCustomAnnotationDropdown/VeltCommentDialogCustomAnnotationDropdownTrigger/VeltCommentDialogCustomAnnotationDropdownTriggerArrow/VeltCommentDialogCustomAnnotationDropdownTriggerArrow.d.ts +6 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogCustomAnnotationDropdown/VeltCommentDialogCustomAnnotationDropdownTrigger/VeltCommentDialogCustomAnnotationDropdownTriggerArrow/index.d.ts +1 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogCustomAnnotationDropdown/VeltCommentDialogCustomAnnotationDropdownTrigger/VeltCommentDialogCustomAnnotationDropdownTriggerList/VeltCommentDialogCustomAnnotationDropdownTriggerList.d.ts +10 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogCustomAnnotationDropdown/VeltCommentDialogCustomAnnotationDropdownTrigger/VeltCommentDialogCustomAnnotationDropdownTriggerList/VeltCommentDialogCustomAnnotationDropdownTriggerListItem/VeltCommentDialogCustomAnnotationDropdownTriggerListItem.d.ts +6 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogCustomAnnotationDropdown/VeltCommentDialogCustomAnnotationDropdownTrigger/VeltCommentDialogCustomAnnotationDropdownTriggerList/VeltCommentDialogCustomAnnotationDropdownTriggerListItem/index.d.ts +1 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogCustomAnnotationDropdown/VeltCommentDialogCustomAnnotationDropdownTrigger/VeltCommentDialogCustomAnnotationDropdownTriggerList/index.d.ts +1 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogCustomAnnotationDropdown/VeltCommentDialogCustomAnnotationDropdownTrigger/VeltCommentDialogCustomAnnotationDropdownTriggerRemainingCount/VeltCommentDialogCustomAnnotationDropdownTriggerRemainingCount.d.ts +6 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogCustomAnnotationDropdown/VeltCommentDialogCustomAnnotationDropdownTrigger/VeltCommentDialogCustomAnnotationDropdownTriggerRemainingCount/index.d.ts +1 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogCustomAnnotationDropdown/VeltCommentDialogCustomAnnotationDropdownTrigger/index.d.ts +1 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogCustomAnnotationDropdown/index.d.ts +1 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogWireframe.d.ts +2 -0
- package/cjs/types/components/VeltNotificationsTool/VeltNotificationsTool.d.ts +1 -0
- package/cjs/types/constants.d.ts +1 -1
- package/esm/index.js +65 -5
- package/esm/index.js.map +1 -1
- package/esm/types/components/SnippylyComments/SnippylyComments.d.ts +16 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogCustomAnnotationDropdown/VeltCommentDialogCustomAnnotationDropdown.d.ts +12 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogCustomAnnotationDropdown/VeltCommentDialogCustomAnnotationDropdownContent/VeltCommentDialogCustomAnnotationDropdownContent.d.ts +10 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogCustomAnnotationDropdown/VeltCommentDialogCustomAnnotationDropdownContent/VeltCommentDialogCustomAnnotationDropdownContentItem/VeltCommentDialogCustomAnnotationDropdownContentItem.d.ts +12 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogCustomAnnotationDropdown/VeltCommentDialogCustomAnnotationDropdownContent/VeltCommentDialogCustomAnnotationDropdownContentItem/VeltCommentDialogCustomAnnotationDropdownContentItemIcon/VeltCommentDialogCustomAnnotationDropdownContentItemIcon.d.ts +6 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogCustomAnnotationDropdown/VeltCommentDialogCustomAnnotationDropdownContent/VeltCommentDialogCustomAnnotationDropdownContentItem/VeltCommentDialogCustomAnnotationDropdownContentItemIcon/index.d.ts +1 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogCustomAnnotationDropdown/VeltCommentDialogCustomAnnotationDropdownContent/VeltCommentDialogCustomAnnotationDropdownContentItem/VeltCommentDialogCustomAnnotationDropdownContentItemLabel/VeltCommentDialogCustomAnnotationDropdownContentItemLabel.d.ts +6 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogCustomAnnotationDropdown/VeltCommentDialogCustomAnnotationDropdownContent/VeltCommentDialogCustomAnnotationDropdownContentItem/VeltCommentDialogCustomAnnotationDropdownContentItemLabel/index.d.ts +1 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogCustomAnnotationDropdown/VeltCommentDialogCustomAnnotationDropdownContent/VeltCommentDialogCustomAnnotationDropdownContentItem/index.d.ts +1 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogCustomAnnotationDropdown/VeltCommentDialogCustomAnnotationDropdownContent/index.d.ts +1 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogCustomAnnotationDropdown/VeltCommentDialogCustomAnnotationDropdownTrigger/VeltCommentDialogCustomAnnotationDropdownTrigger.d.ts +14 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogCustomAnnotationDropdown/VeltCommentDialogCustomAnnotationDropdownTrigger/VeltCommentDialogCustomAnnotationDropdownTriggerArrow/VeltCommentDialogCustomAnnotationDropdownTriggerArrow.d.ts +6 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogCustomAnnotationDropdown/VeltCommentDialogCustomAnnotationDropdownTrigger/VeltCommentDialogCustomAnnotationDropdownTriggerArrow/index.d.ts +1 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogCustomAnnotationDropdown/VeltCommentDialogCustomAnnotationDropdownTrigger/VeltCommentDialogCustomAnnotationDropdownTriggerList/VeltCommentDialogCustomAnnotationDropdownTriggerList.d.ts +10 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogCustomAnnotationDropdown/VeltCommentDialogCustomAnnotationDropdownTrigger/VeltCommentDialogCustomAnnotationDropdownTriggerList/VeltCommentDialogCustomAnnotationDropdownTriggerListItem/VeltCommentDialogCustomAnnotationDropdownTriggerListItem.d.ts +6 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogCustomAnnotationDropdown/VeltCommentDialogCustomAnnotationDropdownTrigger/VeltCommentDialogCustomAnnotationDropdownTriggerList/VeltCommentDialogCustomAnnotationDropdownTriggerListItem/index.d.ts +1 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogCustomAnnotationDropdown/VeltCommentDialogCustomAnnotationDropdownTrigger/VeltCommentDialogCustomAnnotationDropdownTriggerList/index.d.ts +1 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogCustomAnnotationDropdown/VeltCommentDialogCustomAnnotationDropdownTrigger/VeltCommentDialogCustomAnnotationDropdownTriggerRemainingCount/VeltCommentDialogCustomAnnotationDropdownTriggerRemainingCount.d.ts +6 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogCustomAnnotationDropdown/VeltCommentDialogCustomAnnotationDropdownTrigger/VeltCommentDialogCustomAnnotationDropdownTriggerRemainingCount/index.d.ts +1 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogCustomAnnotationDropdown/VeltCommentDialogCustomAnnotationDropdownTrigger/index.d.ts +1 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogCustomAnnotationDropdown/index.d.ts +1 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogWireframe.d.ts +2 -0
- package/esm/types/components/VeltNotificationsTool/VeltNotificationsTool.d.ts +1 -0
- package/esm/types/constants.d.ts +1 -1
- package/index.d.ts +77 -0
- 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 = '2.0.
|
|
143
|
+
var VELT_SDK_VERSION = '2.0.22';
|
|
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, 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, 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;
|
|
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, 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;
|
|
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, "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, "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-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, "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, "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));
|
|
352
352
|
};
|
|
353
353
|
|
|
354
354
|
var SnippylyCommentsSidebar = function (props) {
|
|
@@ -726,7 +726,7 @@ var VeltCommentThread = function (props) {
|
|
|
726
726
|
};
|
|
727
727
|
|
|
728
728
|
var VeltNotificationsTool = function (props) {
|
|
729
|
-
var children = props.children, darkMode = props.darkMode, onNotificationClick = props.onNotificationClick, shadowDom = props.shadowDom, panelShadowDom = props.panelShadowDom, variant = props.variant, tabConfig = props.tabConfig, panelOpenMode = props.panelOpenMode, panelVariant = props.panelVariant;
|
|
729
|
+
var children = props.children, darkMode = props.darkMode, onNotificationClick = props.onNotificationClick, shadowDom = props.shadowDom, panelShadowDom = props.panelShadowDom, variant = props.variant, maxDays = props.maxDays, tabConfig = props.tabConfig, panelOpenMode = props.panelOpenMode, panelVariant = props.panelVariant;
|
|
730
730
|
var ref = React.useRef();
|
|
731
731
|
var onNotificationClickRef = React.useRef(onNotificationClick);
|
|
732
732
|
// Update the ref to always point to the latest callback function
|
|
@@ -752,7 +752,7 @@ var VeltNotificationsTool = function (props) {
|
|
|
752
752
|
}
|
|
753
753
|
};
|
|
754
754
|
}, []);
|
|
755
|
-
return (React__default["default"].createElement("velt-notifications-tool", { ref: ref, "panel-open-mode": panelOpenMode, panelVariant: panelVariant, "tab-config": tabConfig, variant: variant, "panel-shadow-dom": [true, false].includes(panelShadowDom) ? (panelShadowDom ? 'true' : 'false') : undefined, "shadow-dom": [true, false].includes(shadowDom) ? (shadowDom ? 'true' : 'false') : undefined, "dark-mode": [true, false].includes(darkMode) ? (darkMode ? 'true' : 'false') : undefined }, children));
|
|
755
|
+
return (React__default["default"].createElement("velt-notifications-tool", { ref: ref, "panel-open-mode": panelOpenMode, panelVariant: panelVariant, "tab-config": tabConfig, variant: variant, "max-days": (maxDays && maxDays > 0) ? maxDays + '' : undefined, "panel-shadow-dom": [true, false].includes(panelShadowDom) ? (panelShadowDom ? 'true' : 'false') : undefined, "shadow-dom": [true, false].includes(shadowDom) ? (shadowDom ? 'true' : 'false') : undefined, "dark-mode": [true, false].includes(darkMode) ? (darkMode ? 'true' : 'false') : undefined }, children));
|
|
756
756
|
};
|
|
757
757
|
|
|
758
758
|
var VeltNotificationsPanel = function (props) {
|
|
@@ -1918,6 +1918,65 @@ var VeltCommentDialogUpgrade = function (props) {
|
|
|
1918
1918
|
return (React__default["default"].createElement("velt-comment-dialog-upgrade-wireframe", __assign({}, remainingProp), children));
|
|
1919
1919
|
};
|
|
1920
1920
|
|
|
1921
|
+
var VeltCommentDialogCustomAnnotationDropdownContentItemIcon = function (props) {
|
|
1922
|
+
var children = props.children, remainingProp = __rest(props, ["children"]);
|
|
1923
|
+
return (React__default["default"].createElement("velt-comment-dialog-custom-annotation-dropdown-content-item-icon-wireframe", __assign({}, remainingProp), children));
|
|
1924
|
+
};
|
|
1925
|
+
|
|
1926
|
+
var VeltCommentDialogCustomAnnotationDropdownContentItemLabel = function (props) {
|
|
1927
|
+
var children = props.children, remainingProp = __rest(props, ["children"]);
|
|
1928
|
+
return (React__default["default"].createElement("velt-comment-dialog-custom-annotation-dropdown-content-item-label-wireframe", __assign({}, remainingProp), children));
|
|
1929
|
+
};
|
|
1930
|
+
|
|
1931
|
+
var VeltCommentDialogCustomAnnotationDropdownContentItem = function (props) {
|
|
1932
|
+
var children = props.children, remainingProp = __rest(props, ["children"]);
|
|
1933
|
+
return (React__default["default"].createElement("velt-comment-dialog-custom-annotation-dropdown-content-item-wireframe", __assign({}, remainingProp), children));
|
|
1934
|
+
};
|
|
1935
|
+
VeltCommentDialogCustomAnnotationDropdownContentItem.Label = VeltCommentDialogCustomAnnotationDropdownContentItemLabel;
|
|
1936
|
+
VeltCommentDialogCustomAnnotationDropdownContentItem.Icon = VeltCommentDialogCustomAnnotationDropdownContentItemIcon;
|
|
1937
|
+
|
|
1938
|
+
var VeltCommentDialogCustomAnnotationDropdownContent = function (props) {
|
|
1939
|
+
var children = props.children, remainingProp = __rest(props, ["children"]);
|
|
1940
|
+
return (React__default["default"].createElement("velt-comment-dialog-custom-annotation-dropdown-content-wireframe", __assign({}, remainingProp), children));
|
|
1941
|
+
};
|
|
1942
|
+
VeltCommentDialogCustomAnnotationDropdownContent.Item = VeltCommentDialogCustomAnnotationDropdownContentItem;
|
|
1943
|
+
|
|
1944
|
+
var VeltCommentDialogCustomAnnotationDropdownTriggerArrow = function (props) {
|
|
1945
|
+
var children = props.children, remainingProp = __rest(props, ["children"]);
|
|
1946
|
+
return (React__default["default"].createElement("velt-comment-dialog-custom-annotation-dropdown-trigger-arrow-wireframe", __assign({}, remainingProp), children));
|
|
1947
|
+
};
|
|
1948
|
+
|
|
1949
|
+
var VeltCommentDialogCustomAnnotationDropdownTriggerListItem = function (props) {
|
|
1950
|
+
var children = props.children, remainingProp = __rest(props, ["children"]);
|
|
1951
|
+
return (React__default["default"].createElement("velt-comment-dialog-custom-annotation-dropdown-trigger-list-item-wireframe", __assign({}, remainingProp), children));
|
|
1952
|
+
};
|
|
1953
|
+
|
|
1954
|
+
var VeltCommentDialogCustomAnnotationDropdownTriggerList = function (props) {
|
|
1955
|
+
var children = props.children, remainingProp = __rest(props, ["children"]);
|
|
1956
|
+
return (React__default["default"].createElement("velt-comment-dialog-custom-annotation-dropdown-trigger-list-wireframe", __assign({}, remainingProp), children));
|
|
1957
|
+
};
|
|
1958
|
+
VeltCommentDialogCustomAnnotationDropdownTriggerList.Item = VeltCommentDialogCustomAnnotationDropdownTriggerListItem;
|
|
1959
|
+
|
|
1960
|
+
var VeltCommentDialogCustomAnnotationDropdownTriggerRemainingCount = function (props) {
|
|
1961
|
+
var children = props.children, remainingProp = __rest(props, ["children"]);
|
|
1962
|
+
return (React__default["default"].createElement("velt-comment-dialog-custom-annotation-dropdown-trigger-remaining-count-wireframe", __assign({}, remainingProp), children));
|
|
1963
|
+
};
|
|
1964
|
+
|
|
1965
|
+
var VeltCommentDialogCustomAnnotationDropdownTrigger = function (props) {
|
|
1966
|
+
var children = props.children, remainingProp = __rest(props, ["children"]);
|
|
1967
|
+
return (React__default["default"].createElement("velt-comment-dialog-custom-annotation-dropdown-trigger-wireframe", __assign({}, remainingProp), children));
|
|
1968
|
+
};
|
|
1969
|
+
VeltCommentDialogCustomAnnotationDropdownTrigger.Arrow = VeltCommentDialogCustomAnnotationDropdownTriggerArrow;
|
|
1970
|
+
VeltCommentDialogCustomAnnotationDropdownTrigger.List = VeltCommentDialogCustomAnnotationDropdownTriggerList;
|
|
1971
|
+
VeltCommentDialogCustomAnnotationDropdownTrigger.RemainingCount = VeltCommentDialogCustomAnnotationDropdownTriggerRemainingCount;
|
|
1972
|
+
|
|
1973
|
+
var VeltCommentDialogCustomAnnotationDropdown = function (props) {
|
|
1974
|
+
var children = props.children, remainingProp = __rest(props, ["children"]);
|
|
1975
|
+
return (React__default["default"].createElement("velt-comment-dialog-custom-annotation-dropdown-wireframe", __assign({}, remainingProp), children));
|
|
1976
|
+
};
|
|
1977
|
+
VeltCommentDialogCustomAnnotationDropdown.Content = VeltCommentDialogCustomAnnotationDropdownContent;
|
|
1978
|
+
VeltCommentDialogCustomAnnotationDropdown.Trigger = VeltCommentDialogCustomAnnotationDropdownTrigger;
|
|
1979
|
+
|
|
1921
1980
|
var VeltCommentDialogWireframe = function (props) {
|
|
1922
1981
|
var children = props.children, remainingProp = __rest(props, ["children"]);
|
|
1923
1982
|
return (React__default["default"].createElement("velt-comment-dialog-wireframe", __assign({}, remainingProp), children));
|
|
@@ -1946,6 +2005,7 @@ VeltCommentDialogWireframe.ThreadCard = VeltCommentDialogThreadCard;
|
|
|
1946
2005
|
VeltCommentDialogWireframe.Threads = VeltCommentDialogThreads;
|
|
1947
2006
|
VeltCommentDialogWireframe.ToggleReply = VeltCommentDialogToggleReply;
|
|
1948
2007
|
VeltCommentDialogWireframe.Upgrade = VeltCommentDialogUpgrade;
|
|
2008
|
+
VeltCommentDialogWireframe.CustomAnnotationDropdown = VeltCommentDialogCustomAnnotationDropdown;
|
|
1949
2009
|
|
|
1950
2010
|
var VeltCommentsSidebarCloseButton = function (props) {
|
|
1951
2011
|
props.children; var remainingProps = __rest(props, ["children"]);
|