@veltdev/react 4.5.3 → 4.5.4-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/index.js +90 -6
- package/cjs/index.js.map +1 -1
- package/cjs/types/components/SnippylyComments/SnippylyComments.d.ts +2 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogHideReply/VeltCommentDialogHideReply.d.ts +8 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogHideReply/index.d.ts +1 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogThreadCard/VeltCommentDialogThreadCard.d.ts +2 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogThreadCard/VeltCommentDialogThreadCardReply/VeltCommentDialogThreadCardReply.d.ts +8 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogThreadCard/VeltCommentDialogThreadCardReply/index.d.ts +1 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogWireframe.d.ts +2 -0
- package/cjs/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionFilterDropdownWireframe/VeltInlineCommentsSectionFilterDropdownContentWireframe/VeltInlineCommentsSectionFilterDropdownContentApplyButtonWireframe/VeltInlineCommentsSectionFilterDropdownContentApplyButtonWireframe.d.ts +8 -0
- package/cjs/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionFilterDropdownWireframe/VeltInlineCommentsSectionFilterDropdownContentWireframe/VeltInlineCommentsSectionFilterDropdownContentApplyButtonWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionFilterDropdownWireframe/VeltInlineCommentsSectionFilterDropdownContentWireframe/VeltInlineCommentsSectionFilterDropdownContentListWireframe/VeltInlineCommentsSectionFilterDropdownContentListItemWireframe/VeltInlineCommentsSectionFilterDropdownContentListItemCheckboxWireframe/VeltInlineCommentsSectionFilterDropdownContentListItemCheckboxWireframe.d.ts +8 -0
- package/cjs/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionFilterDropdownWireframe/VeltInlineCommentsSectionFilterDropdownContentWireframe/VeltInlineCommentsSectionFilterDropdownContentListWireframe/VeltInlineCommentsSectionFilterDropdownContentListItemWireframe/VeltInlineCommentsSectionFilterDropdownContentListItemCheckboxWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionFilterDropdownWireframe/VeltInlineCommentsSectionFilterDropdownContentWireframe/VeltInlineCommentsSectionFilterDropdownContentListWireframe/VeltInlineCommentsSectionFilterDropdownContentListItemWireframe/VeltInlineCommentsSectionFilterDropdownContentListItemLabelWireframe/VeltInlineCommentsSectionFilterDropdownContentListItemLabelWireframe.d.ts +8 -0
- package/cjs/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionFilterDropdownWireframe/VeltInlineCommentsSectionFilterDropdownContentWireframe/VeltInlineCommentsSectionFilterDropdownContentListWireframe/VeltInlineCommentsSectionFilterDropdownContentListItemWireframe/VeltInlineCommentsSectionFilterDropdownContentListItemLabelWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionFilterDropdownWireframe/VeltInlineCommentsSectionFilterDropdownContentWireframe/VeltInlineCommentsSectionFilterDropdownContentListWireframe/VeltInlineCommentsSectionFilterDropdownContentListItemWireframe/VeltInlineCommentsSectionFilterDropdownContentListItemWireframe.d.ts +12 -0
- package/cjs/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionFilterDropdownWireframe/VeltInlineCommentsSectionFilterDropdownContentWireframe/VeltInlineCommentsSectionFilterDropdownContentListWireframe/VeltInlineCommentsSectionFilterDropdownContentListItemWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionFilterDropdownWireframe/VeltInlineCommentsSectionFilterDropdownContentWireframe/VeltInlineCommentsSectionFilterDropdownContentListWireframe/VeltInlineCommentsSectionFilterDropdownContentListWireframe.d.ts +10 -0
- package/cjs/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionFilterDropdownWireframe/VeltInlineCommentsSectionFilterDropdownContentWireframe/VeltInlineCommentsSectionFilterDropdownContentListWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionFilterDropdownWireframe/VeltInlineCommentsSectionFilterDropdownContentWireframe/VeltInlineCommentsSectionFilterDropdownContentWireframe.d.ts +12 -0
- package/cjs/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionFilterDropdownWireframe/VeltInlineCommentsSectionFilterDropdownContentWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionFilterDropdownWireframe/VeltInlineCommentsSectionFilterDropdownTriggerWireframe/VeltInlineCommentsSectionFilterDropdownTriggerIconWireframe/VeltInlineCommentsSectionFilterDropdownTriggerIconWireframe.d.ts +8 -0
- package/cjs/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionFilterDropdownWireframe/VeltInlineCommentsSectionFilterDropdownTriggerWireframe/VeltInlineCommentsSectionFilterDropdownTriggerIconWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionFilterDropdownWireframe/VeltInlineCommentsSectionFilterDropdownTriggerWireframe/VeltInlineCommentsSectionFilterDropdownTriggerNameWireframe/VeltInlineCommentsSectionFilterDropdownTriggerNameWireframe.d.ts +8 -0
- package/cjs/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionFilterDropdownWireframe/VeltInlineCommentsSectionFilterDropdownTriggerWireframe/VeltInlineCommentsSectionFilterDropdownTriggerNameWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionFilterDropdownWireframe/VeltInlineCommentsSectionFilterDropdownTriggerWireframe/VeltInlineCommentsSectionFilterDropdownTriggerWireframe.d.ts +12 -0
- package/cjs/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionFilterDropdownWireframe/VeltInlineCommentsSectionFilterDropdownTriggerWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionFilterDropdownWireframe/VeltInlineCommentsSectionFilterDropdownWireframe.d.ts +12 -0
- package/cjs/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionFilterDropdownWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionWireframe.d.ts +2 -0
- package/cjs/types/constants.d.ts +1 -1
- package/esm/index.js +90 -6
- package/esm/index.js.map +1 -1
- package/esm/types/components/SnippylyComments/SnippylyComments.d.ts +2 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogHideReply/VeltCommentDialogHideReply.d.ts +8 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogHideReply/index.d.ts +1 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogThreadCard/VeltCommentDialogThreadCard.d.ts +2 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogThreadCard/VeltCommentDialogThreadCardReply/VeltCommentDialogThreadCardReply.d.ts +8 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogThreadCard/VeltCommentDialogThreadCardReply/index.d.ts +1 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogWireframe.d.ts +2 -0
- package/esm/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionFilterDropdownWireframe/VeltInlineCommentsSectionFilterDropdownContentWireframe/VeltInlineCommentsSectionFilterDropdownContentApplyButtonWireframe/VeltInlineCommentsSectionFilterDropdownContentApplyButtonWireframe.d.ts +8 -0
- package/esm/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionFilterDropdownWireframe/VeltInlineCommentsSectionFilterDropdownContentWireframe/VeltInlineCommentsSectionFilterDropdownContentApplyButtonWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionFilterDropdownWireframe/VeltInlineCommentsSectionFilterDropdownContentWireframe/VeltInlineCommentsSectionFilterDropdownContentListWireframe/VeltInlineCommentsSectionFilterDropdownContentListItemWireframe/VeltInlineCommentsSectionFilterDropdownContentListItemCheckboxWireframe/VeltInlineCommentsSectionFilterDropdownContentListItemCheckboxWireframe.d.ts +8 -0
- package/esm/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionFilterDropdownWireframe/VeltInlineCommentsSectionFilterDropdownContentWireframe/VeltInlineCommentsSectionFilterDropdownContentListWireframe/VeltInlineCommentsSectionFilterDropdownContentListItemWireframe/VeltInlineCommentsSectionFilterDropdownContentListItemCheckboxWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionFilterDropdownWireframe/VeltInlineCommentsSectionFilterDropdownContentWireframe/VeltInlineCommentsSectionFilterDropdownContentListWireframe/VeltInlineCommentsSectionFilterDropdownContentListItemWireframe/VeltInlineCommentsSectionFilterDropdownContentListItemLabelWireframe/VeltInlineCommentsSectionFilterDropdownContentListItemLabelWireframe.d.ts +8 -0
- package/esm/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionFilterDropdownWireframe/VeltInlineCommentsSectionFilterDropdownContentWireframe/VeltInlineCommentsSectionFilterDropdownContentListWireframe/VeltInlineCommentsSectionFilterDropdownContentListItemWireframe/VeltInlineCommentsSectionFilterDropdownContentListItemLabelWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionFilterDropdownWireframe/VeltInlineCommentsSectionFilterDropdownContentWireframe/VeltInlineCommentsSectionFilterDropdownContentListWireframe/VeltInlineCommentsSectionFilterDropdownContentListItemWireframe/VeltInlineCommentsSectionFilterDropdownContentListItemWireframe.d.ts +12 -0
- package/esm/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionFilterDropdownWireframe/VeltInlineCommentsSectionFilterDropdownContentWireframe/VeltInlineCommentsSectionFilterDropdownContentListWireframe/VeltInlineCommentsSectionFilterDropdownContentListItemWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionFilterDropdownWireframe/VeltInlineCommentsSectionFilterDropdownContentWireframe/VeltInlineCommentsSectionFilterDropdownContentListWireframe/VeltInlineCommentsSectionFilterDropdownContentListWireframe.d.ts +10 -0
- package/esm/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionFilterDropdownWireframe/VeltInlineCommentsSectionFilterDropdownContentWireframe/VeltInlineCommentsSectionFilterDropdownContentListWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionFilterDropdownWireframe/VeltInlineCommentsSectionFilterDropdownContentWireframe/VeltInlineCommentsSectionFilterDropdownContentWireframe.d.ts +12 -0
- package/esm/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionFilterDropdownWireframe/VeltInlineCommentsSectionFilterDropdownContentWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionFilterDropdownWireframe/VeltInlineCommentsSectionFilterDropdownTriggerWireframe/VeltInlineCommentsSectionFilterDropdownTriggerIconWireframe/VeltInlineCommentsSectionFilterDropdownTriggerIconWireframe.d.ts +8 -0
- package/esm/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionFilterDropdownWireframe/VeltInlineCommentsSectionFilterDropdownTriggerWireframe/VeltInlineCommentsSectionFilterDropdownTriggerIconWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionFilterDropdownWireframe/VeltInlineCommentsSectionFilterDropdownTriggerWireframe/VeltInlineCommentsSectionFilterDropdownTriggerNameWireframe/VeltInlineCommentsSectionFilterDropdownTriggerNameWireframe.d.ts +8 -0
- package/esm/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionFilterDropdownWireframe/VeltInlineCommentsSectionFilterDropdownTriggerWireframe/VeltInlineCommentsSectionFilterDropdownTriggerNameWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionFilterDropdownWireframe/VeltInlineCommentsSectionFilterDropdownTriggerWireframe/VeltInlineCommentsSectionFilterDropdownTriggerWireframe.d.ts +12 -0
- package/esm/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionFilterDropdownWireframe/VeltInlineCommentsSectionFilterDropdownTriggerWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionFilterDropdownWireframe/VeltInlineCommentsSectionFilterDropdownWireframe.d.ts +12 -0
- package/esm/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionFilterDropdownWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionWireframe.d.ts +2 -0
- package/esm/types/constants.d.ts +1 -1
- package/index.d.ts +74 -0
- package/package.json +1 -1
package/cjs/index.js
CHANGED
|
@@ -145,13 +145,13 @@ var loadVelt = function (callback, version, staging, develop, proxyDomain, integ
|
|
|
145
145
|
}
|
|
146
146
|
};
|
|
147
147
|
|
|
148
|
-
var VELT_SDK_VERSION = '4.5.
|
|
148
|
+
var VELT_SDK_VERSION = '4.5.4-beta.2';
|
|
149
149
|
var VELT_SDK_INIT_EVENT = 'onVeltInit';
|
|
150
150
|
var VELT_TAB_ID = 'veltTabId';
|
|
151
151
|
// integrity map for the Velt SDK
|
|
152
152
|
// Note: generate integrity hashes with: https://www.srihash.org/
|
|
153
153
|
var INTEGRITY_MAP = {
|
|
154
|
-
'4.5.
|
|
154
|
+
'4.5.4-beta.2': 'sha384-uQolTT8KeFW3Xgr0z7OdAUl64PAdMAgSLx63k2s4NFrqYr4WNWAbimS97j0VT6EJ',
|
|
155
155
|
};
|
|
156
156
|
|
|
157
157
|
var SnippylyProvider = function (props) {
|
|
@@ -287,7 +287,7 @@ var SnippylyCommentBubble = function (props) {
|
|
|
287
287
|
};
|
|
288
288
|
|
|
289
289
|
var SnippylyComments = function (props) {
|
|
290
|
-
var autoCategorize = props.autoCategorize, streamViewContainerId = props.streamViewContainerId, onSignIn = props.onSignIn, onUpgrade = props.onUpgrade, textMode = props.textMode, popoverMode = props.popoverMode, popoverTriangleComponent = props.popoverTriangleComponent, floatingCommentDialog = props.floatingCommentDialog, moderatorMode = props.moderatorMode, streamMode = props.streamMode, signInButton = props.signInButton, upgradeButton = props.upgradeButton, attachments = props.attachments, recordings = props.recordings, reactions = props.reactions, deviceInfo = props.deviceInfo, commentIndex = props.commentIndex, dialogOnHover = props.dialogOnHover, dialogOnTargetElementClick = props.dialogOnTargetElementClick, priority = props.priority, inboxMode = props.inboxMode, suggestionMode = props.suggestionMode, mobileMode = props.mobileMode, inlineCommentMode = props.inlineCommentMode, privateCommentMode = props.privateCommentMode, minimap = props.minimap, minimapPosition = props.minimapPosition, persistentCommentMode = props.persistentCommentMode, ghostComments = props.ghostComments, ghostCommentsIndicator = props.ghostCommentsIndicator, commentsOnDom = props.commentsOnDom, resolvedCommentsOnDom = props.resolvedCommentsOnDom, filterCommentsOnDom = props.filterCommentsOnDom, bubbleOnPin = props.bubbleOnPin, bubbleOnPinHover = props.bubbleOnPinHover, commentTool = props.commentTool, sidebarButtonOnCommentDialog = props.sidebarButtonOnCommentDialog, deviceIndicatorOnCommentPins = props.deviceIndicatorOnCommentPins, scrollToComment = props.scrollToComment, userMentions = props.userMentions, deleteOnBackspace = props.deleteOnBackspace, hotkey = props.hotkey, recordingSummary = props.recordingSummary, recordingTranscription = props.recordingTranscription, recordingCountdown = props.recordingCountdown, unreadIndicatorMode = props.unreadIndicatorMode, enterKeyToSubmit = props.enterKeyToSubmit, pinShadowDom = props.pinShadowDom, dialogShadowDom = props.dialogShadowDom, persistentCommentShadowDom = props.persistentCommentShadowDom, shadowDom = props.shadowDom, changeDetectionInCommentMode = props.changeDetectionInCommentMode, areaComment = props.areaComment, pinCursorImage = props.pinCursorImage, allowedElementIds = props.allowedElementIds, allowedElementClassNames = props.allowedElementClassNames, allowedElementQuerySelectors = props.allowedElementQuerySelectors, commentPinHighlighter = props.commentPinHighlighter, customReactions = props.customReactions, onCommentAdd = props.onCommentAdd, onCommentUpdate = props.onCommentUpdate, onCommentAccept = props.onCommentAccept, onCommentReject = props.onCommentReject, onSidebarButtonOnCommentDialogClick = props.onSidebarButtonOnCommentDialogClick, onCommentSelectionChange = props.onCommentSelectionChange, customStatus = props.customStatus, customListDataOnAnnotation = props.customListDataOnAnnotation, customListDataOnComment = props.customListDataOnComment, customPriority = props.customPriority, customCategory = props.customCategory, status = props.status, resolveButton = props.resolveButton, darkMode = props.darkMode, onCustomPinInject = props.onCustomPinInject, children = props.children, textCommentToolShadowDom = props.textCommentToolShadowDom, textCommentToolbarShadowDom = props.textCommentToolbarShadowDom, dialogDarkMode = props.dialogDarkMode, pinDarkMode = props.pinDarkMode, textCommentToolDarkMode = props.textCommentToolDarkMode, textCommentToolbarDarkMode = props.textCommentToolbarDarkMode, composerMode = props.composerMode, atHereLabel = props.atHereLabel, atHereDescription = props.atHereDescription, multiThreadMode = props.multiThreadMode, multiThread = props.multiThread, groupMultipleMatch = props.groupMultipleMatch, groupMatchedComments = props.groupMatchedComments, onCopyLink = props.onCopyLink, deleteReplyConfirmation = props.deleteReplyConfirmation, collapsedComments = props.collapsedComments, shortUserName = props.shortUserName, resolveStatusAccessAdminOnly = props.resolveStatusAccessAdminOnly, svgAsImg = props.svgAsImg, seenByUsers = props.seenByUsers, readOnly = props.readOnly, atHereEnabled = props.atHereEnabled, customAutocompleteSearch = props.customAutocompleteSearch, deleteThreadWithFirstComment = props.deleteThreadWithFirstComment, expandMentionGroups = props.expandMentionGroups, showMentionGroupsFirst = props.showMentionGroupsFirst, showMentionGroupsOnly = props.showMentionGroupsOnly, fullExpanded = props.fullExpanded, commentToNearestAllowedElement = props.commentToNearestAllowedElement, draftMode = props.draftMode, maxReplyAvatars = props.maxReplyAvatars, replyAvatars = props.replyAvatars, linkCallback = props.linkCallback, replyPlaceholder = props.replyPlaceholder, commentPlaceholder = props.commentPlaceholder;
|
|
290
|
+
var autoCategorize = props.autoCategorize, streamViewContainerId = props.streamViewContainerId, onSignIn = props.onSignIn, onUpgrade = props.onUpgrade, textMode = props.textMode, popoverMode = props.popoverMode, popoverTriangleComponent = props.popoverTriangleComponent, floatingCommentDialog = props.floatingCommentDialog, moderatorMode = props.moderatorMode, streamMode = props.streamMode, signInButton = props.signInButton, upgradeButton = props.upgradeButton, attachments = props.attachments, recordings = props.recordings, reactions = props.reactions, deviceInfo = props.deviceInfo, commentIndex = props.commentIndex, dialogOnHover = props.dialogOnHover, dialogOnTargetElementClick = props.dialogOnTargetElementClick, priority = props.priority, inboxMode = props.inboxMode, suggestionMode = props.suggestionMode, mobileMode = props.mobileMode, inlineCommentMode = props.inlineCommentMode, privateCommentMode = props.privateCommentMode, minimap = props.minimap, minimapPosition = props.minimapPosition, persistentCommentMode = props.persistentCommentMode, ghostComments = props.ghostComments, ghostCommentsIndicator = props.ghostCommentsIndicator, commentsOnDom = props.commentsOnDom, resolvedCommentsOnDom = props.resolvedCommentsOnDom, filterCommentsOnDom = props.filterCommentsOnDom, bubbleOnPin = props.bubbleOnPin, bubbleOnPinHover = props.bubbleOnPinHover, commentTool = props.commentTool, sidebarButtonOnCommentDialog = props.sidebarButtonOnCommentDialog, deviceIndicatorOnCommentPins = props.deviceIndicatorOnCommentPins, scrollToComment = props.scrollToComment, userMentions = props.userMentions, deleteOnBackspace = props.deleteOnBackspace, hotkey = props.hotkey, recordingSummary = props.recordingSummary, recordingTranscription = props.recordingTranscription, recordingCountdown = props.recordingCountdown, unreadIndicatorMode = props.unreadIndicatorMode, enterKeyToSubmit = props.enterKeyToSubmit, pinShadowDom = props.pinShadowDom, dialogShadowDom = props.dialogShadowDom, persistentCommentShadowDom = props.persistentCommentShadowDom, shadowDom = props.shadowDom, changeDetectionInCommentMode = props.changeDetectionInCommentMode, areaComment = props.areaComment, pinCursorImage = props.pinCursorImage, allowedElementIds = props.allowedElementIds, allowedElementClassNames = props.allowedElementClassNames, allowedElementQuerySelectors = props.allowedElementQuerySelectors, commentPinHighlighter = props.commentPinHighlighter, customReactions = props.customReactions, onCommentAdd = props.onCommentAdd, onCommentUpdate = props.onCommentUpdate, onCommentAccept = props.onCommentAccept, onCommentReject = props.onCommentReject, onSidebarButtonOnCommentDialogClick = props.onSidebarButtonOnCommentDialogClick, onCommentSelectionChange = props.onCommentSelectionChange, customStatus = props.customStatus, customListDataOnAnnotation = props.customListDataOnAnnotation, customListDataOnComment = props.customListDataOnComment, customPriority = props.customPriority, customCategory = props.customCategory, status = props.status, resolveButton = props.resolveButton, darkMode = props.darkMode, onCustomPinInject = props.onCustomPinInject, children = props.children, textCommentToolShadowDom = props.textCommentToolShadowDom, textCommentToolbarShadowDom = props.textCommentToolbarShadowDom, dialogDarkMode = props.dialogDarkMode, pinDarkMode = props.pinDarkMode, textCommentToolDarkMode = props.textCommentToolDarkMode, textCommentToolbarDarkMode = props.textCommentToolbarDarkMode, composerMode = props.composerMode, atHereLabel = props.atHereLabel, atHereDescription = props.atHereDescription, multiThreadMode = props.multiThreadMode, multiThread = props.multiThread, groupMultipleMatch = props.groupMultipleMatch, groupMatchedComments = props.groupMatchedComments, onCopyLink = props.onCopyLink, deleteReplyConfirmation = props.deleteReplyConfirmation, collapsedComments = props.collapsedComments, shortUserName = props.shortUserName, resolveStatusAccessAdminOnly = props.resolveStatusAccessAdminOnly, svgAsImg = props.svgAsImg, seenByUsers = props.seenByUsers, readOnly = props.readOnly, atHereEnabled = props.atHereEnabled, customAutocompleteSearch = props.customAutocompleteSearch, deleteThreadWithFirstComment = props.deleteThreadWithFirstComment, expandMentionGroups = props.expandMentionGroups, showMentionGroupsFirst = props.showMentionGroupsFirst, showMentionGroupsOnly = props.showMentionGroupsOnly, fullExpanded = props.fullExpanded, commentToNearestAllowedElement = props.commentToNearestAllowedElement, draftMode = props.draftMode, maxReplyAvatars = props.maxReplyAvatars, replyAvatars = props.replyAvatars, linkCallback = props.linkCallback, replyPlaceholder = props.replyPlaceholder, commentPlaceholder = props.commentPlaceholder, allowedFileTypes = props.allowedFileTypes, attachmentNameInMessage = props.attachmentNameInMessage;
|
|
291
291
|
var ref = React.useRef();
|
|
292
292
|
var onSignInRef = React.useRef(onSignIn);
|
|
293
293
|
var onUpgradeRef = React.useRef(onUpgrade);
|
|
@@ -412,11 +412,11 @@ var SnippylyComments = function (props) {
|
|
|
412
412
|
}
|
|
413
413
|
};
|
|
414
414
|
}, []);
|
|
415
|
-
return (React__default["default"].createElement("velt-comments", { ref: ref, "at-here-label": atHereLabel, "at-here-description": atHereDescription, "at-here-enabled": [true, false].includes(atHereEnabled) ? (atHereEnabled ? 'true' : 'false') : undefined, "composer-mode": composerMode, "seen-by-users": [true, false].includes(seenByUsers) ? (seenByUsers ? 'true' : 'false') : undefined, "collapsed-comments": [true, false].includes(collapsedComments) ? (collapsedComments ? 'true' : 'false') : undefined, "short-user-name": [true, false].includes(shortUserName) ? (shortUserName ? 'true' : 'false') : undefined, "resolve-status-access-admin-only": [true, false].includes(resolveStatusAccessAdminOnly) ? (resolveStatusAccessAdminOnly ? 'true' : 'false') : undefined, "delete-reply-confirmation": [true, false].includes(deleteReplyConfirmation) ? (deleteReplyConfirmation ? 'true' : 'false') : undefined, "auto-categorize": [true, false].includes(autoCategorize) ? (autoCategorize ? 'true' : 'false') : undefined, "data-stream-view-container-id": streamViewContainerId, "text-mode": [true, false].includes(textMode) ? (textMode ? 'true' : 'false') : undefined, "popover-mode": [true, false].includes(popoverMode) ? (popoverMode ? 'true' : 'false') : undefined, "popover-triangle-component": [true, false].includes(popoverTriangleComponent) ? (popoverTriangleComponent ? 'true' : 'false') : undefined, "floating-comment-dialog": [true, false].includes(floatingCommentDialog) ? (floatingCommentDialog ? 'true' : 'false') : undefined, "moderator-mode": [true, false].includes(moderatorMode) ? (moderatorMode ? 'true' : 'false') : undefined, "stream-mode": [true, false].includes(streamMode) ? (streamMode ? 'true' : 'false') : undefined, "sign-in-button": [true, false].includes(signInButton) ? (signInButton ? 'true' : 'false') : undefined, "upgrade-button": [true, false].includes(upgradeButton) ? (upgradeButton ? 'true' : 'false') : undefined, attachments: [true, false].includes(attachments) ? (attachments ? 'true' : 'false') : undefined, recordings: recordings, reactions: [true, false].includes(reactions) ? (reactions ? 'true' : 'false') : undefined, "device-info": [true, false].includes(deviceInfo) ? (deviceInfo ? 'true' : 'false') : undefined, "comment-index": [true, false].includes(commentIndex) ? (commentIndex ? 'true' : 'false') : undefined, "dialog-on-hover": [true, false].includes(dialogOnHover) ? (dialogOnHover ? 'true' : 'false') : undefined, "dialog-on-target-element-click": [true, false].includes(dialogOnTargetElementClick) ? (dialogOnTargetElementClick ? 'true' : 'false') : undefined, priority: [true, false].includes(priority) ? (priority ? 'true' : 'false') : undefined, status: [true, false].includes(status) ? (status ? 'true' : 'false') : undefined, "resolve-button": [true, false].includes(resolveButton) ? (resolveButton ? 'true' : 'false') : undefined, "inbox-mode": [true, false].includes(inboxMode) ? (inboxMode ? 'true' : 'false') : undefined, "suggestion-mode": [true, false].includes(suggestionMode) ? (suggestionMode ? 'true' : 'false') : undefined, "mobile-mode": [true, false].includes(mobileMode) ? (mobileMode ? 'true' : 'false') : undefined, "inline-comment-mode": [true, false].includes(inlineCommentMode) ? (inlineCommentMode ? 'true' : 'false') : undefined, "private-comment-mode": [true, false].includes(privateCommentMode) ? (privateCommentMode ? 'true' : 'false') : undefined, minimap: [true, false].includes(minimap) ? (minimap ? 'true' : 'false') : undefined, "minimap-position": minimapPosition, "persistent-comment-mode": [true, false].includes(persistentCommentMode) ? (persistentCommentMode ? 'true' : 'false') : undefined, "ghost-comments": [true, false].includes(ghostComments) ? (ghostComments ? 'true' : 'false') : undefined, "ghost-comments-indicator": [true, false].includes(ghostCommentsIndicator) ? (ghostCommentsIndicator ? 'true' : 'false') : undefined, "comments-on-dom": [true, false].includes(commentsOnDom) ? (commentsOnDom ? 'true' : 'false') : undefined, "resolved-comments-on-dom": [true, false].includes(resolvedCommentsOnDom) ? (resolvedCommentsOnDom ? 'true' : 'false') : undefined, "filter-comments-on-dom": [true, false].includes(filterCommentsOnDom) ? (filterCommentsOnDom ? 'true' : 'false') : undefined, "bubble-on-pin": [true, false].includes(bubbleOnPin) ? (bubbleOnPin ? 'true' : 'false') : undefined, "bubble-on-pin-hover": [true, false].includes(bubbleOnPinHover) ? (bubbleOnPinHover ? 'true' : 'false') : undefined, "comment-tool": [true, false].includes(commentTool) ? (commentTool ? 'true' : 'false') : undefined, "sidebar-button-on-comment-dialog": [true, false].includes(sidebarButtonOnCommentDialog) ? (sidebarButtonOnCommentDialog ? 'true' : 'false') : undefined, "device-indicator-on-comment-pins": [true, false].includes(deviceIndicatorOnCommentPins) ? (deviceIndicatorOnCommentPins ? 'true' : 'false') : undefined, "scroll-to-comment": [true, false].includes(scrollToComment) ? (scrollToComment ? 'true' : 'false') : undefined, "user-mentions": [true, false].includes(userMentions) ? (userMentions ? 'true' : 'false') : undefined, "delete-on-backspace": [true, false].includes(deleteOnBackspace) ? (deleteOnBackspace ? 'true' : 'false') : undefined, hotkey: [true, false].includes(hotkey) ? (hotkey ? 'true' : 'false') : undefined, "recording-summary": [true, false].includes(recordingSummary) ? (recordingSummary ? 'true' : 'false') : undefined, "recording-transcription": [true, false].includes(recordingTranscription) ? (recordingTranscription ? 'true' : 'false') : undefined, "recording-countdown": [true, false].includes(recordingCountdown) ? (recordingCountdown ? 'true' : 'false') : undefined, "unread-indicator-mode": unreadIndicatorMode, "enter-key-to-submit": [true, false].includes(enterKeyToSubmit) ? (enterKeyToSubmit ? 'true' : 'false') : undefined, "pin-shadow-dom": [true, false].includes(pinShadowDom) ? (pinShadowDom ? 'true' : 'false') : undefined, "dialog-shadow-dom": [true, false].includes(dialogShadowDom) ? (dialogShadowDom ? 'true' : 'false') : undefined, "shadow-dom": [true, false].includes(shadowDom) ? (shadowDom ? 'true' : 'false') : undefined, "text-comment-tool-shadow-dom": [true, false].includes(textCommentToolShadowDom) ? (textCommentToolShadowDom ? 'true' : 'false') : undefined, "text-comment-toolbar-shadow-dom": [true, false].includes(textCommentToolbarShadowDom) ? (textCommentToolbarShadowDom ? 'true' : 'false') : undefined, "persistent-comment-shadow-dom": [true, false].includes(persistentCommentShadowDom) ? (persistentCommentShadowDom ? 'true' : 'false') : undefined, "change-detection-in-comment-mode": [true, false].includes(changeDetectionInCommentMode) ? (changeDetectionInCommentMode ? 'true' : 'false') : undefined, "area-comment": [true, false].includes(areaComment) ? (areaComment ? 'true' : 'false') : undefined, "pin-cursor-image": pinCursorImage, "allowed-element-ids": JSON.stringify(allowedElementIds), "allowed-element-class-names": JSON.stringify(allowedElementClassNames), "allowed-element-query-selectors": JSON.stringify(allowedElementQuerySelectors), "comment-pin-highlighter": [true, false].includes(commentPinHighlighter) ? (commentPinHighlighter ? 'true' : 'false') : undefined, "custom-reactions": JSON.stringify(customReactions), "custom-status": JSON.stringify(customStatus), "custom-list-data-on-annotation": JSON.stringify(customListDataOnAnnotation), "custom-list-data-on-comment": JSON.stringify(customListDataOnComment), "custom-priority": JSON.stringify(customPriority), "custom-category": JSON.stringify(customCategory), "dark-mode": [true, false].includes(darkMode) ? (darkMode ? 'true' : 'false') : undefined, "dialog-dark-mode": [true, false].includes(dialogDarkMode) ? (dialogDarkMode ? 'true' : 'false') : undefined, "pin-dark-mode": [true, false].includes(pinDarkMode) ? (pinDarkMode ? 'true' : 'false') : undefined, "text-comment-tool-dark-mode": [true, false].includes(textCommentToolDarkMode) ? (textCommentToolDarkMode ? 'true' : 'false') : undefined, "text-comment-toolbar-dark-mode": [true, false].includes(textCommentToolbarDarkMode) ? (textCommentToolbarDarkMode ? 'true' : 'false') : undefined, "multi-thread-mode": [true, false].includes(multiThreadMode) ? (multiThreadMode ? 'true' : 'false') : undefined, "multi-thread": [true, false].includes(multiThread) ? (multiThread ? 'true' : 'false') : undefined, "group-multiple-match": [true, false].includes(groupMultipleMatch) ? (groupMultipleMatch ? 'true' : 'false') : undefined, "group-matched-comments": [true, false].includes(groupMatchedComments) ? (groupMatchedComments ? 'true' : 'false') : undefined, "read-only": [true, false].includes(readOnly) ? (readOnly ? 'true' : 'false') : undefined, "custom-autocomplete-search": [true, false].includes(customAutocompleteSearch) ? (customAutocompleteSearch ? 'true' : 'false') : undefined, "delete-thread-with-first-comment": [true, false].includes(deleteThreadWithFirstComment) ? (deleteThreadWithFirstComment ? 'true' : 'false') : undefined, "svg-as-img": [true, false].includes(svgAsImg) ? (svgAsImg ? 'true' : 'false') : undefined, "expand-mention-groups": [true, false].includes(expandMentionGroups) ? (expandMentionGroups ? 'true' : 'false') : undefined, "show-mention-groups-first": [true, false].includes(showMentionGroupsFirst) ? (showMentionGroupsFirst ? 'true' : 'false') : undefined, "show-mention-groups-only": [true, false].includes(showMentionGroupsOnly) ? (showMentionGroupsOnly ? 'true' : 'false') : undefined, "full-expanded": [true, false].includes(fullExpanded) ? (fullExpanded ? 'true' : 'false') : undefined, "comment-to-nearest-allowed-element": [true, false].includes(commentToNearestAllowedElement) ? (commentToNearestAllowedElement ? 'true' : 'false') : undefined, "draft-mode": [true, false].includes(draftMode) ? (draftMode ? 'true' : 'false') : undefined, "max-reply-avatars": maxReplyAvatars, "reply-avatars": [true, false].includes(replyAvatars) ? (replyAvatars ? 'true' : 'false') : undefined, "link-callback": [true, false].includes(linkCallback) ? (linkCallback ? 'true' : 'false') : undefined, "reply-placeholder": replyPlaceholder, "comment-placeholder": commentPlaceholder }, children));
|
|
415
|
+
return (React__default["default"].createElement("velt-comments", { ref: ref, "at-here-label": atHereLabel, "at-here-description": atHereDescription, "at-here-enabled": [true, false].includes(atHereEnabled) ? (atHereEnabled ? 'true' : 'false') : undefined, "composer-mode": composerMode, "seen-by-users": [true, false].includes(seenByUsers) ? (seenByUsers ? 'true' : 'false') : undefined, "collapsed-comments": [true, false].includes(collapsedComments) ? (collapsedComments ? 'true' : 'false') : undefined, "short-user-name": [true, false].includes(shortUserName) ? (shortUserName ? 'true' : 'false') : undefined, "resolve-status-access-admin-only": [true, false].includes(resolveStatusAccessAdminOnly) ? (resolveStatusAccessAdminOnly ? 'true' : 'false') : undefined, "delete-reply-confirmation": [true, false].includes(deleteReplyConfirmation) ? (deleteReplyConfirmation ? 'true' : 'false') : undefined, "auto-categorize": [true, false].includes(autoCategorize) ? (autoCategorize ? 'true' : 'false') : undefined, "data-stream-view-container-id": streamViewContainerId, "text-mode": [true, false].includes(textMode) ? (textMode ? 'true' : 'false') : undefined, "popover-mode": [true, false].includes(popoverMode) ? (popoverMode ? 'true' : 'false') : undefined, "popover-triangle-component": [true, false].includes(popoverTriangleComponent) ? (popoverTriangleComponent ? 'true' : 'false') : undefined, "floating-comment-dialog": [true, false].includes(floatingCommentDialog) ? (floatingCommentDialog ? 'true' : 'false') : undefined, "moderator-mode": [true, false].includes(moderatorMode) ? (moderatorMode ? 'true' : 'false') : undefined, "stream-mode": [true, false].includes(streamMode) ? (streamMode ? 'true' : 'false') : undefined, "sign-in-button": [true, false].includes(signInButton) ? (signInButton ? 'true' : 'false') : undefined, "upgrade-button": [true, false].includes(upgradeButton) ? (upgradeButton ? 'true' : 'false') : undefined, attachments: [true, false].includes(attachments) ? (attachments ? 'true' : 'false') : undefined, recordings: recordings, reactions: [true, false].includes(reactions) ? (reactions ? 'true' : 'false') : undefined, "device-info": [true, false].includes(deviceInfo) ? (deviceInfo ? 'true' : 'false') : undefined, "comment-index": [true, false].includes(commentIndex) ? (commentIndex ? 'true' : 'false') : undefined, "dialog-on-hover": [true, false].includes(dialogOnHover) ? (dialogOnHover ? 'true' : 'false') : undefined, "dialog-on-target-element-click": [true, false].includes(dialogOnTargetElementClick) ? (dialogOnTargetElementClick ? 'true' : 'false') : undefined, priority: [true, false].includes(priority) ? (priority ? 'true' : 'false') : undefined, status: [true, false].includes(status) ? (status ? 'true' : 'false') : undefined, "resolve-button": [true, false].includes(resolveButton) ? (resolveButton ? 'true' : 'false') : undefined, "inbox-mode": [true, false].includes(inboxMode) ? (inboxMode ? 'true' : 'false') : undefined, "suggestion-mode": [true, false].includes(suggestionMode) ? (suggestionMode ? 'true' : 'false') : undefined, "mobile-mode": [true, false].includes(mobileMode) ? (mobileMode ? 'true' : 'false') : undefined, "inline-comment-mode": [true, false].includes(inlineCommentMode) ? (inlineCommentMode ? 'true' : 'false') : undefined, "private-comment-mode": [true, false].includes(privateCommentMode) ? (privateCommentMode ? 'true' : 'false') : undefined, minimap: [true, false].includes(minimap) ? (minimap ? 'true' : 'false') : undefined, "minimap-position": minimapPosition, "persistent-comment-mode": [true, false].includes(persistentCommentMode) ? (persistentCommentMode ? 'true' : 'false') : undefined, "ghost-comments": [true, false].includes(ghostComments) ? (ghostComments ? 'true' : 'false') : undefined, "ghost-comments-indicator": [true, false].includes(ghostCommentsIndicator) ? (ghostCommentsIndicator ? 'true' : 'false') : undefined, "comments-on-dom": [true, false].includes(commentsOnDom) ? (commentsOnDom ? 'true' : 'false') : undefined, "resolved-comments-on-dom": [true, false].includes(resolvedCommentsOnDom) ? (resolvedCommentsOnDom ? 'true' : 'false') : undefined, "filter-comments-on-dom": [true, false].includes(filterCommentsOnDom) ? (filterCommentsOnDom ? 'true' : 'false') : undefined, "bubble-on-pin": [true, false].includes(bubbleOnPin) ? (bubbleOnPin ? 'true' : 'false') : undefined, "bubble-on-pin-hover": [true, false].includes(bubbleOnPinHover) ? (bubbleOnPinHover ? 'true' : 'false') : undefined, "comment-tool": [true, false].includes(commentTool) ? (commentTool ? 'true' : 'false') : undefined, "sidebar-button-on-comment-dialog": [true, false].includes(sidebarButtonOnCommentDialog) ? (sidebarButtonOnCommentDialog ? 'true' : 'false') : undefined, "device-indicator-on-comment-pins": [true, false].includes(deviceIndicatorOnCommentPins) ? (deviceIndicatorOnCommentPins ? 'true' : 'false') : undefined, "scroll-to-comment": [true, false].includes(scrollToComment) ? (scrollToComment ? 'true' : 'false') : undefined, "user-mentions": [true, false].includes(userMentions) ? (userMentions ? 'true' : 'false') : undefined, "delete-on-backspace": [true, false].includes(deleteOnBackspace) ? (deleteOnBackspace ? 'true' : 'false') : undefined, hotkey: [true, false].includes(hotkey) ? (hotkey ? 'true' : 'false') : undefined, "recording-summary": [true, false].includes(recordingSummary) ? (recordingSummary ? 'true' : 'false') : undefined, "recording-transcription": [true, false].includes(recordingTranscription) ? (recordingTranscription ? 'true' : 'false') : undefined, "recording-countdown": [true, false].includes(recordingCountdown) ? (recordingCountdown ? 'true' : 'false') : undefined, "unread-indicator-mode": unreadIndicatorMode, "enter-key-to-submit": [true, false].includes(enterKeyToSubmit) ? (enterKeyToSubmit ? 'true' : 'false') : undefined, "pin-shadow-dom": [true, false].includes(pinShadowDom) ? (pinShadowDom ? 'true' : 'false') : undefined, "dialog-shadow-dom": [true, false].includes(dialogShadowDom) ? (dialogShadowDom ? 'true' : 'false') : undefined, "shadow-dom": [true, false].includes(shadowDom) ? (shadowDom ? 'true' : 'false') : undefined, "text-comment-tool-shadow-dom": [true, false].includes(textCommentToolShadowDom) ? (textCommentToolShadowDom ? 'true' : 'false') : undefined, "text-comment-toolbar-shadow-dom": [true, false].includes(textCommentToolbarShadowDom) ? (textCommentToolbarShadowDom ? 'true' : 'false') : undefined, "persistent-comment-shadow-dom": [true, false].includes(persistentCommentShadowDom) ? (persistentCommentShadowDom ? 'true' : 'false') : undefined, "change-detection-in-comment-mode": [true, false].includes(changeDetectionInCommentMode) ? (changeDetectionInCommentMode ? 'true' : 'false') : undefined, "area-comment": [true, false].includes(areaComment) ? (areaComment ? 'true' : 'false') : undefined, "pin-cursor-image": pinCursorImage, "allowed-element-ids": JSON.stringify(allowedElementIds), "allowed-element-class-names": JSON.stringify(allowedElementClassNames), "allowed-element-query-selectors": JSON.stringify(allowedElementQuerySelectors), "comment-pin-highlighter": [true, false].includes(commentPinHighlighter) ? (commentPinHighlighter ? 'true' : 'false') : undefined, "custom-reactions": JSON.stringify(customReactions), "custom-status": JSON.stringify(customStatus), "custom-list-data-on-annotation": JSON.stringify(customListDataOnAnnotation), "custom-list-data-on-comment": JSON.stringify(customListDataOnComment), "custom-priority": JSON.stringify(customPriority), "custom-category": JSON.stringify(customCategory), "dark-mode": [true, false].includes(darkMode) ? (darkMode ? 'true' : 'false') : undefined, "dialog-dark-mode": [true, false].includes(dialogDarkMode) ? (dialogDarkMode ? 'true' : 'false') : undefined, "pin-dark-mode": [true, false].includes(pinDarkMode) ? (pinDarkMode ? 'true' : 'false') : undefined, "text-comment-tool-dark-mode": [true, false].includes(textCommentToolDarkMode) ? (textCommentToolDarkMode ? 'true' : 'false') : undefined, "text-comment-toolbar-dark-mode": [true, false].includes(textCommentToolbarDarkMode) ? (textCommentToolbarDarkMode ? 'true' : 'false') : undefined, "multi-thread-mode": [true, false].includes(multiThreadMode) ? (multiThreadMode ? 'true' : 'false') : undefined, "multi-thread": [true, false].includes(multiThread) ? (multiThread ? 'true' : 'false') : undefined, "group-multiple-match": [true, false].includes(groupMultipleMatch) ? (groupMultipleMatch ? 'true' : 'false') : undefined, "group-matched-comments": [true, false].includes(groupMatchedComments) ? (groupMatchedComments ? 'true' : 'false') : undefined, "read-only": [true, false].includes(readOnly) ? (readOnly ? 'true' : 'false') : undefined, "custom-autocomplete-search": [true, false].includes(customAutocompleteSearch) ? (customAutocompleteSearch ? 'true' : 'false') : undefined, "delete-thread-with-first-comment": [true, false].includes(deleteThreadWithFirstComment) ? (deleteThreadWithFirstComment ? 'true' : 'false') : undefined, "svg-as-img": [true, false].includes(svgAsImg) ? (svgAsImg ? 'true' : 'false') : undefined, "expand-mention-groups": [true, false].includes(expandMentionGroups) ? (expandMentionGroups ? 'true' : 'false') : undefined, "show-mention-groups-first": [true, false].includes(showMentionGroupsFirst) ? (showMentionGroupsFirst ? 'true' : 'false') : undefined, "show-mention-groups-only": [true, false].includes(showMentionGroupsOnly) ? (showMentionGroupsOnly ? 'true' : 'false') : undefined, "full-expanded": [true, false].includes(fullExpanded) ? (fullExpanded ? 'true' : 'false') : undefined, "comment-to-nearest-allowed-element": [true, false].includes(commentToNearestAllowedElement) ? (commentToNearestAllowedElement ? 'true' : 'false') : undefined, "draft-mode": [true, false].includes(draftMode) ? (draftMode ? 'true' : 'false') : undefined, "max-reply-avatars": maxReplyAvatars, "reply-avatars": [true, false].includes(replyAvatars) ? (replyAvatars ? 'true' : 'false') : undefined, "link-callback": [true, false].includes(linkCallback) ? (linkCallback ? 'true' : 'false') : undefined, "reply-placeholder": replyPlaceholder, "comment-placeholder": commentPlaceholder, "allowed-file-types": JSON.stringify(allowedFileTypes), "attachment-name-in-message": [true, false].includes(attachmentNameInMessage) ? (attachmentNameInMessage ? 'true' : 'false') : undefined }, children));
|
|
416
416
|
};
|
|
417
417
|
|
|
418
418
|
var SnippylyCommentsSidebar = function (props) {
|
|
419
|
-
var embedMode = props.embedMode
|
|
419
|
+
var embedMode = props.embedMode, floatingMode = props.floatingMode, enableUrlNavigation = props.enableUrlNavigation, urlNavigation = props.urlNavigation, queryParamsComments = props.queryParamsComments, pageMode = props.pageMode, currentLocationSuffix = props.currentLocationSuffix, sortData = props.sortData, filterConfig = props.filterConfig, groupConfig = props.groupConfig, filters = props.filters, excludeLocationIds = props.excludeLocationIds, variant = props.variant, pageModeComposerVariant = props.pageModeComposerVariant, dialogVariant = props.dialogVariant, shadowDom = props.shadowDom, searchPlaceholder = props.searchPlaceholder, openSidebar = props.openSidebar, onSidebarOpen = props.onSidebarOpen, onSidebarCommentClick = props.onSidebarCommentClick, onCommentClick = props.onCommentClick, onSidebarClose = props.onSidebarClose, darkMode = props.darkMode, position = props.position, filterPanelLayout = props.filterPanelLayout, customActions = props.customActions, focusedThreadDialogVariant = props.focusedThreadDialogVariant, focusedThreadMode = props.focusedThreadMode, onCommentNavigationButtonClick = props.onCommentNavigationButtonClick, filterOptionLayout = props.filterOptionLayout, filterCount = props.filterCount, fullExpanded = props.fullExpanded, systemFiltersOperator = props.systemFiltersOperator, sidebarButtonCountType = props.sidebarButtonCountType, filterGhostCommentsInSidebar = props.filterGhostCommentsInSidebar, fullScreen = props.fullScreen;
|
|
420
420
|
var ref = React.useRef();
|
|
421
421
|
var openSidebarRef = React.useRef(openSidebar);
|
|
422
422
|
var onSidebarOpenRef = React.useRef(onSidebarOpen);
|
|
@@ -489,7 +489,7 @@ var SnippylyCommentsSidebar = function (props) {
|
|
|
489
489
|
}
|
|
490
490
|
};
|
|
491
491
|
}, []);
|
|
492
|
-
return (React__default["default"].createElement("velt-comments-sidebar", { ref: ref, position: position, "filter-panel-layout": filterPanelLayout, "focused-thread-mode": [true, false].includes(focusedThreadMode) ? (focusedThreadMode ? 'true' : 'false') : undefined, "focused-thread-dialog-variant": focusedThreadDialogVariant, "custom-actions": [true, false].includes(customActions) ? (customActions ? 'true' : 'false') : undefined, "shadow-dom": [true, false].includes(shadowDom) ? (shadowDom ? 'true' : 'false') : undefined, "embed-mode": [true, false].includes(embedMode) ? (embedMode ? 'true' : 'false') : undefined, "enable-url-navigation": [true, false].includes(enableUrlNavigation) ? (enableUrlNavigation ? 'true' : 'false') : undefined, "url-navigation": [true, false].includes(urlNavigation) ? (urlNavigation ? 'true' : 'false') : undefined, "query-params-comments": [true, false].includes(queryParamsComments) ? (queryParamsComments ? 'true' : 'false') : undefined, "page-mode": [true, false].includes(pageMode) ? (pageMode ? 'true' : 'false') : undefined, "current-location-suffix": [true, false].includes(currentLocationSuffix) ? (currentLocationSuffix ? 'true' : 'false') : undefined, "filter-config": filterConfig ? JSON.stringify(filterConfig) : undefined, "group-config": groupConfig ? JSON.stringify(groupConfig) : undefined, filters: filters ? JSON.stringify(filters) : undefined, "exclude-location-ids": excludeLocationIds ? JSON.stringify(excludeLocationIds) : undefined, variant: variant, "page-mode-composer-variant": pageModeComposerVariant, "dialog-variant": dialogVariant, "sort-data": sortData, "search-placeholder": searchPlaceholder, "dark-mode": [true, false].includes(darkMode) ? (darkMode ? 'true' : 'false') : undefined, "floating-mode": [true, false].includes(
|
|
492
|
+
return (React__default["default"].createElement("velt-comments-sidebar", { ref: ref, position: position, "filter-panel-layout": filterPanelLayout, "focused-thread-mode": [true, false].includes(focusedThreadMode) ? (focusedThreadMode ? 'true' : 'false') : undefined, "focused-thread-dialog-variant": focusedThreadDialogVariant, "custom-actions": [true, false].includes(customActions) ? (customActions ? 'true' : 'false') : undefined, "shadow-dom": [true, false].includes(shadowDom) ? (shadowDom ? 'true' : 'false') : undefined, "embed-mode": [true, false].includes(embedMode) ? (embedMode ? 'true' : 'false') : undefined, "enable-url-navigation": [true, false].includes(enableUrlNavigation) ? (enableUrlNavigation ? 'true' : 'false') : undefined, "url-navigation": [true, false].includes(urlNavigation) ? (urlNavigation ? 'true' : 'false') : undefined, "query-params-comments": [true, false].includes(queryParamsComments) ? (queryParamsComments ? 'true' : 'false') : undefined, "page-mode": [true, false].includes(pageMode) ? (pageMode ? 'true' : 'false') : undefined, "current-location-suffix": [true, false].includes(currentLocationSuffix) ? (currentLocationSuffix ? 'true' : 'false') : undefined, "filter-config": filterConfig ? JSON.stringify(filterConfig) : undefined, "group-config": groupConfig ? JSON.stringify(groupConfig) : undefined, filters: filters ? JSON.stringify(filters) : undefined, "exclude-location-ids": excludeLocationIds ? JSON.stringify(excludeLocationIds) : undefined, variant: variant, "page-mode-composer-variant": pageModeComposerVariant, "dialog-variant": dialogVariant, "sort-data": sortData, "search-placeholder": searchPlaceholder, "dark-mode": [true, false].includes(darkMode) ? (darkMode ? 'true' : 'false') : undefined, "floating-mode": [true, false].includes(floatingMode) ? (floatingMode ? 'true' : 'false') : undefined, "filter-option-layout": filterOptionLayout, "filter-count": [true, false].includes(filterCount) ? (filterCount ? 'true' : 'false') : undefined, "full-expanded": [true, false].includes(fullExpanded) ? (fullExpanded ? 'true' : 'false') : undefined, "system-filters-operator": systemFiltersOperator, "sidebar-button-count-type": sidebarButtonCountType, "filter-ghost-comments-in-sidebar": [true, false].includes(filterGhostCommentsInSidebar) ? (filterGhostCommentsInSidebar ? 'true' : 'false') : undefined, "full-screen": [true, false].includes(fullScreen) ? (fullScreen ? 'true' : 'false') : undefined }));
|
|
493
493
|
};
|
|
494
494
|
|
|
495
495
|
var SnippylyCommentTool = function (props) {
|
|
@@ -2314,6 +2314,12 @@ var VeltCommentDialogThreadCardEdited = function (props) {
|
|
|
2314
2314
|
return (React__default["default"].createElement("velt-comment-dialog-thread-card-edited-wireframe", __assign({}, transformedProps), children));
|
|
2315
2315
|
};
|
|
2316
2316
|
|
|
2317
|
+
var VeltCommentDialogThreadCardReply = function (props) {
|
|
2318
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
2319
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
2320
|
+
return (React__default["default"].createElement("velt-comment-dialog-thread-card-reply-wireframe", __assign({}, transformedProps), children));
|
|
2321
|
+
};
|
|
2322
|
+
|
|
2317
2323
|
// Main Thread Card component
|
|
2318
2324
|
var VeltCommentDialogThreadCard = function (props) {
|
|
2319
2325
|
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
@@ -2335,6 +2341,7 @@ VeltCommentDialogThreadCard.Unread = VeltCommentDialogThreadCardUnread;
|
|
|
2335
2341
|
VeltCommentDialogThreadCard.Draft = VeltCommentDialogThreadCardDraft;
|
|
2336
2342
|
VeltCommentDialogThreadCard.SeenDropdown = VeltCommentDialogThreadCardSeenDropdown;
|
|
2337
2343
|
VeltCommentDialogThreadCard.Edited = VeltCommentDialogThreadCardEdited;
|
|
2344
|
+
VeltCommentDialogThreadCard.Reply = VeltCommentDialogThreadCardReply;
|
|
2338
2345
|
|
|
2339
2346
|
var VeltCommentDialogThreads = function (props) {
|
|
2340
2347
|
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
@@ -2508,6 +2515,12 @@ var VeltCommentDialogCommentNumber = function (props) {
|
|
|
2508
2515
|
return (React__default["default"].createElement("velt-comment-dialog-comment-number-wireframe", __assign({}, transformedProps), children));
|
|
2509
2516
|
};
|
|
2510
2517
|
|
|
2518
|
+
var VeltCommentDialogHideReply = function (props) {
|
|
2519
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
2520
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
2521
|
+
return (React__default["default"].createElement("velt-comment-dialog-hide-reply-wireframe", __assign({}, transformedProps), children));
|
|
2522
|
+
};
|
|
2523
|
+
|
|
2511
2524
|
var VeltCommentDialogWireframe = function (props) {
|
|
2512
2525
|
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
2513
2526
|
var transformedProps = transformWireframeProps(remainingProps);
|
|
@@ -2544,6 +2557,7 @@ VeltCommentDialogWireframe.DeleteButton = VeltCommentDialogDeleteButton;
|
|
|
2544
2557
|
VeltCommentDialogWireframe.CloseButton = VeltCommentDialogCloseButton;
|
|
2545
2558
|
VeltCommentDialogWireframe.NavigationButton = VeltCommentDialogNavigationButton;
|
|
2546
2559
|
VeltCommentDialogWireframe.ReplyAvatars = VeltCommentDialogReplyAvatars;
|
|
2560
|
+
VeltCommentDialogWireframe.HideReply = VeltCommentDialogHideReply;
|
|
2547
2561
|
|
|
2548
2562
|
var VeltCommentsSidebarCloseButton = function (props) {
|
|
2549
2563
|
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
@@ -3644,6 +3658,75 @@ var VeltInlineCommentsSectionSortingDropdownWireframe = function (props) {
|
|
|
3644
3658
|
VeltInlineCommentsSectionSortingDropdownWireframe.Content = VeltInlineCommentsSectionSortingDropdownContentWireframe;
|
|
3645
3659
|
VeltInlineCommentsSectionSortingDropdownWireframe.Trigger = VeltInlineCommentsSectionSortingDropdownTriggerWireframe;
|
|
3646
3660
|
|
|
3661
|
+
var VeltInlineCommentsSectionFilterDropdownContentListItemLabelWireframe = function (props) {
|
|
3662
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3663
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
3664
|
+
return (React__default["default"].createElement("velt-inline-comments-section-filter-dropdown-content-list-item-label-wireframe", __assign({}, transformedProps), children));
|
|
3665
|
+
};
|
|
3666
|
+
|
|
3667
|
+
var VeltInlineCommentsSectionFilterDropdownContentListItemCheckboxWireframe = function (props) {
|
|
3668
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3669
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
3670
|
+
return (React__default["default"].createElement("velt-inline-comments-section-filter-dropdown-content-list-item-checkbox-wireframe", __assign({}, transformedProps), children));
|
|
3671
|
+
};
|
|
3672
|
+
|
|
3673
|
+
var VeltInlineCommentsSectionFilterDropdownContentListItemWireframe = function (props) {
|
|
3674
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3675
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
3676
|
+
return (React__default["default"].createElement("velt-inline-comments-section-filter-dropdown-content-list-item-wireframe", __assign({}, transformedProps), children));
|
|
3677
|
+
};
|
|
3678
|
+
VeltInlineCommentsSectionFilterDropdownContentListItemWireframe.Label = VeltInlineCommentsSectionFilterDropdownContentListItemLabelWireframe;
|
|
3679
|
+
VeltInlineCommentsSectionFilterDropdownContentListItemWireframe.Checkbox = VeltInlineCommentsSectionFilterDropdownContentListItemCheckboxWireframe;
|
|
3680
|
+
|
|
3681
|
+
var VeltInlineCommentsSectionFilterDropdownContentListWireframe = function (props) {
|
|
3682
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3683
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
3684
|
+
return (React__default["default"].createElement("velt-inline-comments-section-filter-dropdown-content-list-wireframe", __assign({}, transformedProps), children));
|
|
3685
|
+
};
|
|
3686
|
+
VeltInlineCommentsSectionFilterDropdownContentListWireframe.Item = VeltInlineCommentsSectionFilterDropdownContentListItemWireframe;
|
|
3687
|
+
|
|
3688
|
+
var VeltInlineCommentsSectionFilterDropdownContentApplyButtonWireframe = function (props) {
|
|
3689
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3690
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
3691
|
+
return (React__default["default"].createElement("velt-inline-comments-section-filter-dropdown-content-apply-button-wireframe", __assign({}, transformedProps), children));
|
|
3692
|
+
};
|
|
3693
|
+
|
|
3694
|
+
var VeltInlineCommentsSectionFilterDropdownContentWireframe = function (props) {
|
|
3695
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3696
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
3697
|
+
return (React__default["default"].createElement("velt-inline-comments-section-filter-dropdown-content-wireframe", __assign({}, transformedProps), children));
|
|
3698
|
+
};
|
|
3699
|
+
VeltInlineCommentsSectionFilterDropdownContentWireframe.List = VeltInlineCommentsSectionFilterDropdownContentListWireframe;
|
|
3700
|
+
VeltInlineCommentsSectionFilterDropdownContentWireframe.ApplyButton = VeltInlineCommentsSectionFilterDropdownContentApplyButtonWireframe;
|
|
3701
|
+
|
|
3702
|
+
var VeltInlineCommentsSectionFilterDropdownTriggerIconWireframe = function (props) {
|
|
3703
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3704
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
3705
|
+
return (React__default["default"].createElement("velt-inline-comments-section-filter-dropdown-trigger-icon-wireframe", __assign({}, transformedProps), children));
|
|
3706
|
+
};
|
|
3707
|
+
|
|
3708
|
+
var VeltInlineCommentsSectionFilterDropdownTriggerNameWireframe = function (props) {
|
|
3709
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3710
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
3711
|
+
return (React__default["default"].createElement("velt-inline-comments-section-filter-dropdown-trigger-name-wireframe", __assign({}, transformedProps), children));
|
|
3712
|
+
};
|
|
3713
|
+
|
|
3714
|
+
var VeltInlineCommentsSectionFilterDropdownTriggerWireframe = function (props) {
|
|
3715
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3716
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
3717
|
+
return (React__default["default"].createElement("velt-inline-comments-section-filter-dropdown-trigger-wireframe", __assign({}, transformedProps), children));
|
|
3718
|
+
};
|
|
3719
|
+
VeltInlineCommentsSectionFilterDropdownTriggerWireframe.Icon = VeltInlineCommentsSectionFilterDropdownTriggerIconWireframe;
|
|
3720
|
+
VeltInlineCommentsSectionFilterDropdownTriggerWireframe.Name = VeltInlineCommentsSectionFilterDropdownTriggerNameWireframe;
|
|
3721
|
+
|
|
3722
|
+
var VeltInlineCommentsSectionFilterDropdownWireframe = function (props) {
|
|
3723
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3724
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
3725
|
+
return (React__default["default"].createElement("velt-inline-comments-section-filter-dropdown-wireframe", __assign({}, transformedProps), children));
|
|
3726
|
+
};
|
|
3727
|
+
VeltInlineCommentsSectionFilterDropdownWireframe.Content = VeltInlineCommentsSectionFilterDropdownContentWireframe;
|
|
3728
|
+
VeltInlineCommentsSectionFilterDropdownWireframe.Trigger = VeltInlineCommentsSectionFilterDropdownTriggerWireframe;
|
|
3729
|
+
|
|
3647
3730
|
var VeltInlineCommentsSectionWireframe = function (props) {
|
|
3648
3731
|
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3649
3732
|
var transformedProps = transformWireframeProps(remainingProps);
|
|
@@ -3655,6 +3738,7 @@ VeltInlineCommentsSectionWireframe.List = VeltInlineCommentsSectionListWireframe
|
|
|
3655
3738
|
VeltInlineCommentsSectionWireframe.Panel = VeltInlineCommentsSectionPanelWireframe;
|
|
3656
3739
|
VeltInlineCommentsSectionWireframe.Skeleton = VeltInlineCommentsSectionSkeletonWireframe;
|
|
3657
3740
|
VeltInlineCommentsSectionWireframe.SortingDropdown = VeltInlineCommentsSectionSortingDropdownWireframe;
|
|
3741
|
+
VeltInlineCommentsSectionWireframe.FilterDropdown = VeltInlineCommentsSectionFilterDropdownWireframe;
|
|
3658
3742
|
|
|
3659
3743
|
var VeltNotificationsPanelContentAllListItemContentWireframe = function (props) {
|
|
3660
3744
|
var children = props.children, remainingProps = __rest(props, ["children"]);
|