@veltdev/react 4.3.0-beta.3 → 4.3.0-beta.5
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 +126 -5
- package/cjs/index.js.map +1 -1
- package/cjs/types/components/SnippylyComments/SnippylyComments.d.ts +3 -0
- package/cjs/types/components/SnippylyCommentsSidebar/SnippylyCommentsSidebar.d.ts +12 -0
- package/cjs/types/components/VeltAutocompleteGroupOptionWireframe/VeltAutocompleteGroupOptionWireframe.d.ts +6 -0
- package/cjs/types/components/VeltAutocompleteGroupOptionWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilter.d.ts +6 -0
- package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilterAssigned/VeltCommentsSidebarFilterAssigned.d.ts +14 -0
- package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilterAssigned/index.d.ts +1 -0
- package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilterCategory/VeltCommentsSidebarFilterCategory.d.ts +2 -0
- package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilterLocation/VeltCommentsSidebarFilterLocation.d.ts +2 -0
- package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilterPeople/VeltCommentsSidebarFilterPeople.d.ts +2 -0
- package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilterPriority/VeltCommentsSidebarFilterPriority.d.ts +2 -0
- package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilterResetButton/VeltCommentsSidebarFilterResetButton.d.ts +6 -0
- package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilterResetButton/index.d.ts +1 -0
- package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilterSearch/VeltCommentsSidebarFilterSearch.d.ts +16 -0
- package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilterSearch/VeltCommentsSidebarFilterSearchDropdownIcon/VeltCommentsSidebarFilterSearchDropdownIcon.d.ts +8 -0
- package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilterSearch/VeltCommentsSidebarFilterSearchDropdownIcon/index.d.ts +1 -0
- package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilterSearch/VeltCommentsSidebarFilterSearchHiddenCount/VeltCommentsSidebarFilterSearchHiddenCount.d.ts +8 -0
- package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilterSearch/VeltCommentsSidebarFilterSearchHiddenCount/index.d.ts +1 -0
- package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilterSearch/VeltCommentsSidebarFilterSearchInput/VeltCommentsSidebarFilterSearchInput.d.ts +8 -0
- package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilterSearch/VeltCommentsSidebarFilterSearchInput/index.d.ts +1 -0
- package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilterSearch/VeltCommentsSidebarFilterSearchTags/VeltCommentsSidebarFilterSearchTags.d.ts +10 -0
- package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilterSearch/VeltCommentsSidebarFilterSearchTags/VeltCommentsSidebarFilterSearchTagsItem/VeltCommentsSidebarFilterSearchTagItem.d.ts +12 -0
- package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilterSearch/VeltCommentsSidebarFilterSearchTags/VeltCommentsSidebarFilterSearchTagsItem/VeltCommentsSidebarFilterSearchTagsItemClose/VeltCommentsSidebarFilterSearchTagItemClose.d.ts +8 -0
- package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilterSearch/VeltCommentsSidebarFilterSearchTags/VeltCommentsSidebarFilterSearchTagsItem/VeltCommentsSidebarFilterSearchTagsItemClose/index.d.ts +1 -0
- package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilterSearch/VeltCommentsSidebarFilterSearchTags/VeltCommentsSidebarFilterSearchTagsItem/VeltCommentsSidebarFilterSearchTagsItemName/VeltCommentsSidebarFilterSearchTagItemName.d.ts +8 -0
- package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilterSearch/VeltCommentsSidebarFilterSearchTags/VeltCommentsSidebarFilterSearchTagsItem/VeltCommentsSidebarFilterSearchTagsItemName/index.d.ts +1 -0
- package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilterSearch/VeltCommentsSidebarFilterSearchTags/VeltCommentsSidebarFilterSearchTagsItem/index.d.ts +1 -0
- package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilterSearch/VeltCommentsSidebarFilterSearchTags/index.d.ts +1 -0
- package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilterSearch/index.d.ts +1 -0
- package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilterStatus/VeltCommentsSidebarFilterStatus.d.ts +2 -0
- package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilterTagged/VeltCommentsSidebarFilterTagged.d.ts +14 -0
- package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilterTagged/index.d.ts +1 -0
- package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilterVersions/VeltCommentsSidebarFilterVersions.d.ts +2 -0
- package/cjs/types/components/index.d.ts +1 -0
- package/cjs/types/constants.d.ts +1 -1
- package/cjs/types/hooks/ContactElement.d.ts +2 -1
- package/cjs/types/hooks/index.d.ts +1 -1
- package/esm/index.js +125 -6
- package/esm/index.js.map +1 -1
- package/esm/types/components/SnippylyComments/SnippylyComments.d.ts +3 -0
- package/esm/types/components/SnippylyCommentsSidebar/SnippylyCommentsSidebar.d.ts +12 -0
- package/esm/types/components/VeltAutocompleteGroupOptionWireframe/VeltAutocompleteGroupOptionWireframe.d.ts +6 -0
- package/esm/types/components/VeltAutocompleteGroupOptionWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilter.d.ts +6 -0
- package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilterAssigned/VeltCommentsSidebarFilterAssigned.d.ts +14 -0
- package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilterAssigned/index.d.ts +1 -0
- package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilterCategory/VeltCommentsSidebarFilterCategory.d.ts +2 -0
- package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilterLocation/VeltCommentsSidebarFilterLocation.d.ts +2 -0
- package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilterPeople/VeltCommentsSidebarFilterPeople.d.ts +2 -0
- package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilterPriority/VeltCommentsSidebarFilterPriority.d.ts +2 -0
- package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilterResetButton/VeltCommentsSidebarFilterResetButton.d.ts +6 -0
- package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilterResetButton/index.d.ts +1 -0
- package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilterSearch/VeltCommentsSidebarFilterSearch.d.ts +16 -0
- package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilterSearch/VeltCommentsSidebarFilterSearchDropdownIcon/VeltCommentsSidebarFilterSearchDropdownIcon.d.ts +8 -0
- package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilterSearch/VeltCommentsSidebarFilterSearchDropdownIcon/index.d.ts +1 -0
- package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilterSearch/VeltCommentsSidebarFilterSearchHiddenCount/VeltCommentsSidebarFilterSearchHiddenCount.d.ts +8 -0
- package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilterSearch/VeltCommentsSidebarFilterSearchHiddenCount/index.d.ts +1 -0
- package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilterSearch/VeltCommentsSidebarFilterSearchInput/VeltCommentsSidebarFilterSearchInput.d.ts +8 -0
- package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilterSearch/VeltCommentsSidebarFilterSearchInput/index.d.ts +1 -0
- package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilterSearch/VeltCommentsSidebarFilterSearchTags/VeltCommentsSidebarFilterSearchTags.d.ts +10 -0
- package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilterSearch/VeltCommentsSidebarFilterSearchTags/VeltCommentsSidebarFilterSearchTagsItem/VeltCommentsSidebarFilterSearchTagItem.d.ts +12 -0
- package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilterSearch/VeltCommentsSidebarFilterSearchTags/VeltCommentsSidebarFilterSearchTagsItem/VeltCommentsSidebarFilterSearchTagsItemClose/VeltCommentsSidebarFilterSearchTagItemClose.d.ts +8 -0
- package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilterSearch/VeltCommentsSidebarFilterSearchTags/VeltCommentsSidebarFilterSearchTagsItem/VeltCommentsSidebarFilterSearchTagsItemClose/index.d.ts +1 -0
- package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilterSearch/VeltCommentsSidebarFilterSearchTags/VeltCommentsSidebarFilterSearchTagsItem/VeltCommentsSidebarFilterSearchTagsItemName/VeltCommentsSidebarFilterSearchTagItemName.d.ts +8 -0
- package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilterSearch/VeltCommentsSidebarFilterSearchTags/VeltCommentsSidebarFilterSearchTagsItem/VeltCommentsSidebarFilterSearchTagsItemName/index.d.ts +1 -0
- package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilterSearch/VeltCommentsSidebarFilterSearchTags/VeltCommentsSidebarFilterSearchTagsItem/index.d.ts +1 -0
- package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilterSearch/VeltCommentsSidebarFilterSearchTags/index.d.ts +1 -0
- package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilterSearch/index.d.ts +1 -0
- package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilterStatus/VeltCommentsSidebarFilterStatus.d.ts +2 -0
- package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilterTagged/VeltCommentsSidebarFilterTagged.d.ts +14 -0
- package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilterTagged/index.d.ts +1 -0
- package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilterVersions/VeltCommentsSidebarFilterVersions.d.ts +2 -0
- package/esm/types/components/index.d.ts +1 -0
- package/esm/types/constants.d.ts +1 -1
- package/esm/types/hooks/ContactElement.d.ts +2 -1
- package/esm/types/hooks/index.d.ts +1 -1
- package/index.d.ts +97 -2
- 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 = '4.3.0-beta.
|
|
143
|
+
var VELT_SDK_VERSION = '4.3.0-beta.5';
|
|
144
144
|
var VELT_SDK_INIT_EVENT = 'onVeltInit';
|
|
145
145
|
var VELT_TAB_ID = 'veltTabId';
|
|
146
146
|
|
|
@@ -248,7 +248,7 @@ var SnippylyCommentBubble = function (props) {
|
|
|
248
248
|
};
|
|
249
249
|
|
|
250
250
|
var SnippylyComments = function (props) {
|
|
251
|
-
var autoCategorize = props.autoCategorize, streamViewContainerId = props.streamViewContainerId, onSignIn = props.onSignIn, onUpgrade = props.onUpgrade, textMode = props.textMode, popoverMode = props.popoverMode, popoverTriangleComponent = props.popoverTriangleComponent, floatingCommentDialog = props.floatingCommentDialog, moderatorMode = props.moderatorMode, streamMode = props.streamMode, signInButton = props.signInButton, upgradeButton = props.upgradeButton, attachments = props.attachments, recordings = props.recordings, reactions = props.reactions, deviceInfo = props.deviceInfo, commentIndex = props.commentIndex, dialogOnHover = props.dialogOnHover, dialogOnTargetElementClick = props.dialogOnTargetElementClick, priority = props.priority, inboxMode = props.inboxMode, suggestionMode = props.suggestionMode, mobileMode = props.mobileMode, inlineCommentMode = props.inlineCommentMode, privateCommentMode = props.privateCommentMode, minimap = props.minimap, minimapPosition = props.minimapPosition, persistentCommentMode = props.persistentCommentMode, ghostComments = props.ghostComments, ghostCommentsIndicator = props.ghostCommentsIndicator, commentsOnDom = props.commentsOnDom, resolvedCommentsOnDom = props.resolvedCommentsOnDom, bubbleOnPin = props.bubbleOnPin, bubbleOnPinHover = props.bubbleOnPinHover, commentTool = props.commentTool, sidebarButtonOnCommentDialog = props.sidebarButtonOnCommentDialog, deviceIndicatorOnCommentPins = props.deviceIndicatorOnCommentPins, scrollToComment = props.scrollToComment, userMentions = props.userMentions, deleteOnBackspace = props.deleteOnBackspace, hotkey = props.hotkey, recordingSummary = props.recordingSummary, recordingTranscription = props.recordingTranscription, recordingCountdown = props.recordingCountdown, unreadIndicatorMode = props.unreadIndicatorMode, enterKeyToSubmit = props.enterKeyToSubmit, pinShadowDom = props.pinShadowDom, dialogShadowDom = props.dialogShadowDom, persistentCommentShadowDom = props.persistentCommentShadowDom, shadowDom = props.shadowDom, changeDetectionInCommentMode = props.changeDetectionInCommentMode, areaComment = props.areaComment, pinCursorImage = props.pinCursorImage, allowedElementIds = props.allowedElementIds, allowedElementClassNames = props.allowedElementClassNames, allowedElementQuerySelectors = props.allowedElementQuerySelectors, commentPinHighlighter = props.commentPinHighlighter, customReactions = props.customReactions, onCommentAdd = props.onCommentAdd, onCommentUpdate = props.onCommentUpdate, onCommentAccept = props.onCommentAccept, onCommentReject = props.onCommentReject, onSidebarButtonOnCommentDialogClick = props.onSidebarButtonOnCommentDialogClick, onCommentSelectionChange = props.onCommentSelectionChange, customStatus = props.customStatus, customListDataOnAnnotation = props.customListDataOnAnnotation, customListDataOnComment = props.customListDataOnComment, customPriority = props.customPriority, customCategory = props.customCategory, status = props.status, resolveButton = props.resolveButton, darkMode = props.darkMode, onCustomPinInject = props.onCustomPinInject, children = props.children, textCommentToolShadowDom = props.textCommentToolShadowDom, textCommentToolbarShadowDom = props.textCommentToolbarShadowDom, dialogDarkMode = props.dialogDarkMode, pinDarkMode = props.pinDarkMode, textCommentToolDarkMode = props.textCommentToolDarkMode, textCommentToolbarDarkMode = props.textCommentToolbarDarkMode, composerMode = props.composerMode, atHereLabel = props.atHereLabel, atHereDescription = props.atHereDescription, multiThreadMode = props.multiThreadMode, multiThread = props.multiThread, onCopyLink = props.onCopyLink, deleteReplyConfirmation = props.deleteReplyConfirmation, collapsedComments = props.collapsedComments, shortUserName = props.shortUserName, resolveStatusAccessAdminOnly = props.resolveStatusAccessAdminOnly, svgAsImg = props.svgAsImg, seenByUsers = props.seenByUsers, readOnly = props.readOnly, atHereEnabled = props.atHereEnabled, customAutocompleteSearch = props.customAutocompleteSearch, deleteThreadWithFirstComment = props.deleteThreadWithFirstComment;
|
|
251
|
+
var autoCategorize = props.autoCategorize, streamViewContainerId = props.streamViewContainerId, onSignIn = props.onSignIn, onUpgrade = props.onUpgrade, textMode = props.textMode, popoverMode = props.popoverMode, popoverTriangleComponent = props.popoverTriangleComponent, floatingCommentDialog = props.floatingCommentDialog, moderatorMode = props.moderatorMode, streamMode = props.streamMode, signInButton = props.signInButton, upgradeButton = props.upgradeButton, attachments = props.attachments, recordings = props.recordings, reactions = props.reactions, deviceInfo = props.deviceInfo, commentIndex = props.commentIndex, dialogOnHover = props.dialogOnHover, dialogOnTargetElementClick = props.dialogOnTargetElementClick, priority = props.priority, inboxMode = props.inboxMode, suggestionMode = props.suggestionMode, mobileMode = props.mobileMode, inlineCommentMode = props.inlineCommentMode, privateCommentMode = props.privateCommentMode, minimap = props.minimap, minimapPosition = props.minimapPosition, persistentCommentMode = props.persistentCommentMode, ghostComments = props.ghostComments, ghostCommentsIndicator = props.ghostCommentsIndicator, commentsOnDom = props.commentsOnDom, resolvedCommentsOnDom = props.resolvedCommentsOnDom, bubbleOnPin = props.bubbleOnPin, bubbleOnPinHover = props.bubbleOnPinHover, commentTool = props.commentTool, sidebarButtonOnCommentDialog = props.sidebarButtonOnCommentDialog, deviceIndicatorOnCommentPins = props.deviceIndicatorOnCommentPins, scrollToComment = props.scrollToComment, userMentions = props.userMentions, deleteOnBackspace = props.deleteOnBackspace, hotkey = props.hotkey, recordingSummary = props.recordingSummary, recordingTranscription = props.recordingTranscription, recordingCountdown = props.recordingCountdown, unreadIndicatorMode = props.unreadIndicatorMode, enterKeyToSubmit = props.enterKeyToSubmit, pinShadowDom = props.pinShadowDom, dialogShadowDom = props.dialogShadowDom, persistentCommentShadowDom = props.persistentCommentShadowDom, shadowDom = props.shadowDom, changeDetectionInCommentMode = props.changeDetectionInCommentMode, areaComment = props.areaComment, pinCursorImage = props.pinCursorImage, allowedElementIds = props.allowedElementIds, allowedElementClassNames = props.allowedElementClassNames, allowedElementQuerySelectors = props.allowedElementQuerySelectors, commentPinHighlighter = props.commentPinHighlighter, customReactions = props.customReactions, onCommentAdd = props.onCommentAdd, onCommentUpdate = props.onCommentUpdate, onCommentAccept = props.onCommentAccept, onCommentReject = props.onCommentReject, onSidebarButtonOnCommentDialogClick = props.onSidebarButtonOnCommentDialogClick, onCommentSelectionChange = props.onCommentSelectionChange, customStatus = props.customStatus, customListDataOnAnnotation = props.customListDataOnAnnotation, customListDataOnComment = props.customListDataOnComment, customPriority = props.customPriority, customCategory = props.customCategory, status = props.status, resolveButton = props.resolveButton, darkMode = props.darkMode, onCustomPinInject = props.onCustomPinInject, children = props.children, textCommentToolShadowDom = props.textCommentToolShadowDom, textCommentToolbarShadowDom = props.textCommentToolbarShadowDom, dialogDarkMode = props.dialogDarkMode, pinDarkMode = props.pinDarkMode, textCommentToolDarkMode = props.textCommentToolDarkMode, textCommentToolbarDarkMode = props.textCommentToolbarDarkMode, composerMode = props.composerMode, atHereLabel = props.atHereLabel, atHereDescription = props.atHereDescription, multiThreadMode = props.multiThreadMode, multiThread = props.multiThread, onCopyLink = props.onCopyLink, deleteReplyConfirmation = props.deleteReplyConfirmation, collapsedComments = props.collapsedComments, shortUserName = props.shortUserName, resolveStatusAccessAdminOnly = props.resolveStatusAccessAdminOnly, 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;
|
|
252
252
|
var ref = React.useRef();
|
|
253
253
|
var onSignInRef = React.useRef(onSignIn);
|
|
254
254
|
var onUpgradeRef = React.useRef(onUpgrade);
|
|
@@ -373,11 +373,11 @@ var SnippylyComments = function (props) {
|
|
|
373
373
|
}
|
|
374
374
|
};
|
|
375
375
|
}, []);
|
|
376
|
-
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, "bubble-on-pin": [true, false].includes(bubbleOnPin) ? (bubbleOnPin ? 'true' : 'false') : undefined, "bubble-on-pin-hover": [true, false].includes(bubbleOnPinHover) ? (bubbleOnPinHover ? 'true' : 'false') : undefined, "comment-tool": [true, false].includes(commentTool) ? (commentTool ? 'true' : 'false') : undefined, "sidebar-button-on-comment-dialog": [true, false].includes(sidebarButtonOnCommentDialog) ? (sidebarButtonOnCommentDialog ? 'true' : 'false') : undefined, "device-indicator-on-comment-pins": [true, false].includes(deviceIndicatorOnCommentPins) ? (deviceIndicatorOnCommentPins ? 'true' : 'false') : undefined, "scroll-to-comment": [true, false].includes(scrollToComment) ? (scrollToComment ? 'true' : 'false') : undefined, "user-mentions": [true, false].includes(userMentions) ? (userMentions ? 'true' : 'false') : undefined, "delete-on-backspace": [true, false].includes(deleteOnBackspace) ? (deleteOnBackspace ? 'true' : 'false') : undefined, hotkey: [true, false].includes(hotkey) ? (hotkey ? 'true' : 'false') : undefined, "recording-summary": [true, false].includes(recordingSummary) ? (recordingSummary ? 'true' : 'false') : undefined, "recording-transcription": [true, false].includes(recordingTranscription) ? (recordingTranscription ? 'true' : 'false') : undefined, "recording-countdown": [true, false].includes(recordingCountdown) ? (recordingCountdown ? 'true' : 'false') : undefined, "unread-indicator-mode": unreadIndicatorMode, "enter-key-to-submit": [true, false].includes(enterKeyToSubmit) ? (enterKeyToSubmit ? 'true' : 'false') : undefined, "pin-shadow-dom": [true, false].includes(pinShadowDom) ? (pinShadowDom ? 'true' : 'false') : undefined, "dialog-shadow-dom": [true, false].includes(dialogShadowDom) ? (dialogShadowDom ? 'true' : 'false') : undefined, "shadow-dom": [true, false].includes(shadowDom) ? (shadowDom ? 'true' : 'false') : undefined, "text-comment-tool-shadow-dom": [true, false].includes(textCommentToolShadowDom) ? (textCommentToolShadowDom ? 'true' : 'false') : undefined, "text-comment-toolbar-shadow-dom": [true, false].includes(textCommentToolbarShadowDom) ? (textCommentToolbarShadowDom ? 'true' : 'false') : undefined, "persistent-comment-shadow-dom": [true, false].includes(persistentCommentShadowDom) ? (persistentCommentShadowDom ? 'true' : 'false') : undefined, "change-detection-in-comment-mode": [true, false].includes(changeDetectionInCommentMode) ? (changeDetectionInCommentMode ? 'true' : 'false') : undefined, "area-comment": [true, false].includes(areaComment) ? (areaComment ? 'true' : 'false') : undefined, "pin-cursor-image": pinCursorImage, "allowed-element-ids": JSON.stringify(allowedElementIds), "allowed-element-class-names": JSON.stringify(allowedElementClassNames), "allowed-element-query-selectors": JSON.stringify(allowedElementQuerySelectors), "comment-pin-highlighter": [true, false].includes(commentPinHighlighter) ? (commentPinHighlighter ? 'true' : 'false') : undefined, "custom-reactions": JSON.stringify(customReactions), "custom-status": JSON.stringify(customStatus), "custom-list-data-on-annotation": JSON.stringify(customListDataOnAnnotation), "custom-list-data-on-comment": JSON.stringify(customListDataOnComment), "custom-priority": JSON.stringify(customPriority), "custom-category": JSON.stringify(customCategory), "dark-mode": [true, false].includes(darkMode) ? (darkMode ? 'true' : 'false') : undefined, "dialog-dark-mode": [true, false].includes(dialogDarkMode) ? (dialogDarkMode ? 'true' : 'false') : undefined, "pin-dark-mode": [true, false].includes(pinDarkMode) ? (pinDarkMode ? 'true' : 'false') : undefined, "text-comment-tool-dark-mode": [true, false].includes(textCommentToolDarkMode) ? (textCommentToolDarkMode ? 'true' : 'false') : undefined, "text-comment-toolbar-dark-mode": [true, false].includes(textCommentToolbarDarkMode) ? (textCommentToolbarDarkMode ? 'true' : 'false') : undefined, "multi-thread-mode": [true, false].includes(multiThreadMode) ? (multiThreadMode ? 'true' : 'false') : undefined, "multi-thread": [true, false].includes(multiThread) ? (multiThread ? 'true' : 'false') : undefined, "read-only": [true, false].includes(readOnly) ? (readOnly ? 'true' : 'false') : undefined, "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 }, children));
|
|
376
|
+
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, "bubble-on-pin": [true, false].includes(bubbleOnPin) ? (bubbleOnPin ? 'true' : 'false') : undefined, "bubble-on-pin-hover": [true, false].includes(bubbleOnPinHover) ? (bubbleOnPinHover ? 'true' : 'false') : undefined, "comment-tool": [true, false].includes(commentTool) ? (commentTool ? 'true' : 'false') : undefined, "sidebar-button-on-comment-dialog": [true, false].includes(sidebarButtonOnCommentDialog) ? (sidebarButtonOnCommentDialog ? 'true' : 'false') : undefined, "device-indicator-on-comment-pins": [true, false].includes(deviceIndicatorOnCommentPins) ? (deviceIndicatorOnCommentPins ? 'true' : 'false') : undefined, "scroll-to-comment": [true, false].includes(scrollToComment) ? (scrollToComment ? 'true' : 'false') : undefined, "user-mentions": [true, false].includes(userMentions) ? (userMentions ? 'true' : 'false') : undefined, "delete-on-backspace": [true, false].includes(deleteOnBackspace) ? (deleteOnBackspace ? 'true' : 'false') : undefined, hotkey: [true, false].includes(hotkey) ? (hotkey ? 'true' : 'false') : undefined, "recording-summary": [true, false].includes(recordingSummary) ? (recordingSummary ? 'true' : 'false') : undefined, "recording-transcription": [true, false].includes(recordingTranscription) ? (recordingTranscription ? 'true' : 'false') : undefined, "recording-countdown": [true, false].includes(recordingCountdown) ? (recordingCountdown ? 'true' : 'false') : undefined, "unread-indicator-mode": unreadIndicatorMode, "enter-key-to-submit": [true, false].includes(enterKeyToSubmit) ? (enterKeyToSubmit ? 'true' : 'false') : undefined, "pin-shadow-dom": [true, false].includes(pinShadowDom) ? (pinShadowDom ? 'true' : 'false') : undefined, "dialog-shadow-dom": [true, false].includes(dialogShadowDom) ? (dialogShadowDom ? 'true' : 'false') : undefined, "shadow-dom": [true, false].includes(shadowDom) ? (shadowDom ? 'true' : 'false') : undefined, "text-comment-tool-shadow-dom": [true, false].includes(textCommentToolShadowDom) ? (textCommentToolShadowDom ? 'true' : 'false') : undefined, "text-comment-toolbar-shadow-dom": [true, false].includes(textCommentToolbarShadowDom) ? (textCommentToolbarShadowDom ? 'true' : 'false') : undefined, "persistent-comment-shadow-dom": [true, false].includes(persistentCommentShadowDom) ? (persistentCommentShadowDom ? 'true' : 'false') : undefined, "change-detection-in-comment-mode": [true, false].includes(changeDetectionInCommentMode) ? (changeDetectionInCommentMode ? 'true' : 'false') : undefined, "area-comment": [true, false].includes(areaComment) ? (areaComment ? 'true' : 'false') : undefined, "pin-cursor-image": pinCursorImage, "allowed-element-ids": JSON.stringify(allowedElementIds), "allowed-element-class-names": JSON.stringify(allowedElementClassNames), "allowed-element-query-selectors": JSON.stringify(allowedElementQuerySelectors), "comment-pin-highlighter": [true, false].includes(commentPinHighlighter) ? (commentPinHighlighter ? 'true' : 'false') : undefined, "custom-reactions": JSON.stringify(customReactions), "custom-status": JSON.stringify(customStatus), "custom-list-data-on-annotation": JSON.stringify(customListDataOnAnnotation), "custom-list-data-on-comment": JSON.stringify(customListDataOnComment), "custom-priority": JSON.stringify(customPriority), "custom-category": JSON.stringify(customCategory), "dark-mode": [true, false].includes(darkMode) ? (darkMode ? 'true' : 'false') : undefined, "dialog-dark-mode": [true, false].includes(dialogDarkMode) ? (dialogDarkMode ? 'true' : 'false') : undefined, "pin-dark-mode": [true, false].includes(pinDarkMode) ? (pinDarkMode ? 'true' : 'false') : undefined, "text-comment-tool-dark-mode": [true, false].includes(textCommentToolDarkMode) ? (textCommentToolDarkMode ? 'true' : 'false') : undefined, "text-comment-toolbar-dark-mode": [true, false].includes(textCommentToolbarDarkMode) ? (textCommentToolbarDarkMode ? 'true' : 'false') : undefined, "multi-thread-mode": [true, false].includes(multiThreadMode) ? (multiThreadMode ? 'true' : 'false') : undefined, "multi-thread": [true, false].includes(multiThread) ? (multiThread ? 'true' : 'false') : undefined, "read-only": [true, false].includes(readOnly) ? (readOnly ? 'true' : 'false') : undefined, "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 }, children));
|
|
377
377
|
};
|
|
378
378
|
|
|
379
379
|
var SnippylyCommentsSidebar = function (props) {
|
|
380
|
-
var embedMode = props.embedMode; props.floatingMode; var 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;
|
|
380
|
+
var embedMode = props.embedMode; props.floatingMode; var 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;
|
|
381
381
|
var ref = React.useRef();
|
|
382
382
|
var openSidebarRef = React.useRef(openSidebar);
|
|
383
383
|
var onSidebarOpenRef = React.useRef(onSidebarOpen);
|
|
@@ -450,7 +450,7 @@ var SnippylyCommentsSidebar = function (props) {
|
|
|
450
450
|
}
|
|
451
451
|
};
|
|
452
452
|
}, []);
|
|
453
|
-
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(embedMode) ? (embedMode ? 'true' : 'false') : undefined }));
|
|
453
|
+
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(embedMode) ? (embedMode ? 'true' : 'false') : undefined, "filter-option-layout": filterOptionLayout, "filter-count": [true, false].includes(filterCount) ? (filterCount ? 'true' : 'false') : undefined }));
|
|
454
454
|
};
|
|
455
455
|
|
|
456
456
|
var SnippylyCommentTool = function (props) {
|
|
@@ -2506,6 +2506,61 @@ var VeltCommentsSidebarFilterName = function (props) {
|
|
|
2506
2506
|
return (React__default["default"].createElement("velt-comments-sidebar-filter-name-wireframe", __assign({}, transformedProps), children));
|
|
2507
2507
|
};
|
|
2508
2508
|
|
|
2509
|
+
var VeltCommentsSidebarFilterSearchDropdownIcon = function (props) {
|
|
2510
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
2511
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
2512
|
+
return (React__default["default"].createElement("velt-comments-sidebar-filter-search-dropdown-icon-wireframe", __assign({}, transformedProps), children));
|
|
2513
|
+
};
|
|
2514
|
+
|
|
2515
|
+
var VeltCommentsSidebarFilterSearchHiddenCount = function (props) {
|
|
2516
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
2517
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
2518
|
+
return (React__default["default"].createElement("velt-comments-sidebar-filter-search-hidden-count-wireframe", __assign({}, transformedProps), children));
|
|
2519
|
+
};
|
|
2520
|
+
|
|
2521
|
+
var VeltCommentsSidebarFilterSearchInput = function (props) {
|
|
2522
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
2523
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
2524
|
+
return (React__default["default"].createElement("velt-comments-sidebar-filter-search-input-wireframe", __assign({}, transformedProps), children));
|
|
2525
|
+
};
|
|
2526
|
+
|
|
2527
|
+
var VeltCommentsSidebarFilterSearchTagsItemName = function (props) {
|
|
2528
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
2529
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
2530
|
+
return (React__default["default"].createElement("velt-comments-sidebar-filter-search-tags-item-name-wireframe", __assign({}, transformedProps), children));
|
|
2531
|
+
};
|
|
2532
|
+
|
|
2533
|
+
var VeltCommentsSidebarFilterSearchTagsItemClose = function (props) {
|
|
2534
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
2535
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
2536
|
+
return (React__default["default"].createElement("velt-comments-sidebar-filter-search-tags-item-close-wireframe", __assign({}, transformedProps), children));
|
|
2537
|
+
};
|
|
2538
|
+
|
|
2539
|
+
var VeltCommentsSidebarFilterSearchTagsItem = function (props) {
|
|
2540
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
2541
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
2542
|
+
return (React__default["default"].createElement("velt-comments-sidebar-filter-search-tags-item-wireframe", __assign({}, transformedProps), children));
|
|
2543
|
+
};
|
|
2544
|
+
VeltCommentsSidebarFilterSearchTagsItem.Name = VeltCommentsSidebarFilterSearchTagsItemName;
|
|
2545
|
+
VeltCommentsSidebarFilterSearchTagsItem.Close = VeltCommentsSidebarFilterSearchTagsItemClose;
|
|
2546
|
+
|
|
2547
|
+
var VeltCommentsSidebarFilterSearchTags = function (props) {
|
|
2548
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
2549
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
2550
|
+
return (React__default["default"].createElement("velt-comments-sidebar-filter-search-tags-wireframe", __assign({}, transformedProps), children));
|
|
2551
|
+
};
|
|
2552
|
+
VeltCommentsSidebarFilterSearchTags.Item = VeltCommentsSidebarFilterSearchTagsItem;
|
|
2553
|
+
|
|
2554
|
+
var VeltCommentsSidebarFilterSearch = function (props) {
|
|
2555
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
2556
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
2557
|
+
return (React__default["default"].createElement("velt-comments-sidebar-filter-search-wireframe", __assign({}, transformedProps), children));
|
|
2558
|
+
};
|
|
2559
|
+
VeltCommentsSidebarFilterSearch.DropdownIcon = VeltCommentsSidebarFilterSearchDropdownIcon;
|
|
2560
|
+
VeltCommentsSidebarFilterSearch.Tags = VeltCommentsSidebarFilterSearchTags;
|
|
2561
|
+
VeltCommentsSidebarFilterSearch.HiddenCount = VeltCommentsSidebarFilterSearchHiddenCount;
|
|
2562
|
+
VeltCommentsSidebarFilterSearch.Input = VeltCommentsSidebarFilterSearchInput;
|
|
2563
|
+
|
|
2509
2564
|
var VeltCommentsSidebarFilterCategory = function (props) {
|
|
2510
2565
|
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
2511
2566
|
var transformedProps = transformWireframeProps(remainingProps);
|
|
@@ -2513,6 +2568,7 @@ var VeltCommentsSidebarFilterCategory = function (props) {
|
|
|
2513
2568
|
};
|
|
2514
2569
|
VeltCommentsSidebarFilterCategory.Name = VeltCommentsSidebarFilterName;
|
|
2515
2570
|
VeltCommentsSidebarFilterCategory.Item = VeltCommentsSidebarFilterItem;
|
|
2571
|
+
VeltCommentsSidebarFilterCategory.Search = VeltCommentsSidebarFilterSearch;
|
|
2516
2572
|
|
|
2517
2573
|
var VeltCommentsSidebarFilterCloseButton = function (props) {
|
|
2518
2574
|
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
@@ -2556,6 +2612,7 @@ var VeltCommentsSidebarFilterLocation = function (props) {
|
|
|
2556
2612
|
VeltCommentsSidebarFilterLocation.Name = VeltCommentsSidebarFilterName;
|
|
2557
2613
|
VeltCommentsSidebarFilterLocation.Item = VeltCommentsSidebarFilterItem;
|
|
2558
2614
|
VeltCommentsSidebarFilterLocation.ViewAll = VeltCommentsSidebarFilterViewAll;
|
|
2615
|
+
VeltCommentsSidebarFilterLocation.Search = VeltCommentsSidebarFilterSearch;
|
|
2559
2616
|
|
|
2560
2617
|
var VeltCommentsSidebarFilterPeople = function (props) {
|
|
2561
2618
|
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
@@ -2564,6 +2621,7 @@ var VeltCommentsSidebarFilterPeople = function (props) {
|
|
|
2564
2621
|
};
|
|
2565
2622
|
VeltCommentsSidebarFilterPeople.Name = VeltCommentsSidebarFilterName;
|
|
2566
2623
|
VeltCommentsSidebarFilterPeople.Item = VeltCommentsSidebarFilterItem;
|
|
2624
|
+
VeltCommentsSidebarFilterPeople.Search = VeltCommentsSidebarFilterSearch;
|
|
2567
2625
|
|
|
2568
2626
|
var VeltCommentsSidebarFilterPriority = function (props) {
|
|
2569
2627
|
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
@@ -2572,6 +2630,7 @@ var VeltCommentsSidebarFilterPriority = function (props) {
|
|
|
2572
2630
|
};
|
|
2573
2631
|
VeltCommentsSidebarFilterPriority.Name = VeltCommentsSidebarFilterName;
|
|
2574
2632
|
VeltCommentsSidebarFilterPriority.Item = VeltCommentsSidebarFilterItem;
|
|
2633
|
+
VeltCommentsSidebarFilterPriority.Search = VeltCommentsSidebarFilterSearch;
|
|
2575
2634
|
|
|
2576
2635
|
var VeltCommentsSidebarFilterTitle = function (props) {
|
|
2577
2636
|
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
@@ -2586,6 +2645,7 @@ var VeltCommentsSidebarFilterVersions = function (props) {
|
|
|
2586
2645
|
};
|
|
2587
2646
|
VeltCommentsSidebarFilterVersions.Name = VeltCommentsSidebarFilterName;
|
|
2588
2647
|
VeltCommentsSidebarFilterVersions.Item = VeltCommentsSidebarFilterItem;
|
|
2648
|
+
VeltCommentsSidebarFilterVersions.Search = VeltCommentsSidebarFilterSearch;
|
|
2589
2649
|
|
|
2590
2650
|
var VeltCommentsSidebarFilterStatus = function (props) {
|
|
2591
2651
|
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
@@ -2594,6 +2654,31 @@ var VeltCommentsSidebarFilterStatus = function (props) {
|
|
|
2594
2654
|
};
|
|
2595
2655
|
VeltCommentsSidebarFilterStatus.Name = VeltCommentsSidebarFilterName;
|
|
2596
2656
|
VeltCommentsSidebarFilterStatus.Item = VeltCommentsSidebarFilterItem;
|
|
2657
|
+
VeltCommentsSidebarFilterStatus.Search = VeltCommentsSidebarFilterSearch;
|
|
2658
|
+
|
|
2659
|
+
var VeltCommentsSidebarFilterResetButton = function (props) {
|
|
2660
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
2661
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
2662
|
+
return (React__default["default"].createElement("velt-comments-sidebar-filter-reset-button-wireframe", __assign({}, transformedProps), children));
|
|
2663
|
+
};
|
|
2664
|
+
|
|
2665
|
+
var VeltCommentsSidebarFilterAssigned = function (props) {
|
|
2666
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
2667
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
2668
|
+
return (React__default["default"].createElement("velt-comments-sidebar-filter-assigned-wireframe", __assign({}, transformedProps), children));
|
|
2669
|
+
};
|
|
2670
|
+
VeltCommentsSidebarFilterAssigned.Name = VeltCommentsSidebarFilterName;
|
|
2671
|
+
VeltCommentsSidebarFilterAssigned.Item = VeltCommentsSidebarFilterItem;
|
|
2672
|
+
VeltCommentsSidebarFilterAssigned.Search = VeltCommentsSidebarFilterSearch;
|
|
2673
|
+
|
|
2674
|
+
var VeltCommentsSidebarFilterTagged = function (props) {
|
|
2675
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
2676
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
2677
|
+
return (React__default["default"].createElement("velt-comments-sidebar-filter-tagged-wireframe", __assign({}, transformedProps), children));
|
|
2678
|
+
};
|
|
2679
|
+
VeltCommentsSidebarFilterTagged.Name = VeltCommentsSidebarFilterName;
|
|
2680
|
+
VeltCommentsSidebarFilterTagged.Item = VeltCommentsSidebarFilterItem;
|
|
2681
|
+
VeltCommentsSidebarFilterTagged.Search = VeltCommentsSidebarFilterSearch;
|
|
2597
2682
|
|
|
2598
2683
|
var VeltCommentsSidebarFilter = function (props) {
|
|
2599
2684
|
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
@@ -2607,11 +2692,14 @@ VeltCommentsSidebarFilter.DoneButton = VeltCommentsSidebarFilterDoneButton;
|
|
|
2607
2692
|
VeltCommentsSidebarFilter.GroupBy = VeltCommentsSidebarFilterGroupBy;
|
|
2608
2693
|
VeltCommentsSidebarFilter.Location = VeltCommentsSidebarFilterLocation;
|
|
2609
2694
|
VeltCommentsSidebarFilter.People = VeltCommentsSidebarFilterPeople;
|
|
2695
|
+
VeltCommentsSidebarFilter.Assigned = VeltCommentsSidebarFilterAssigned;
|
|
2696
|
+
VeltCommentsSidebarFilter.Tagged = VeltCommentsSidebarFilterTagged;
|
|
2610
2697
|
VeltCommentsSidebarFilter.Priority = VeltCommentsSidebarFilterPriority;
|
|
2611
2698
|
VeltCommentsSidebarFilter.Title = VeltCommentsSidebarFilterTitle;
|
|
2612
2699
|
VeltCommentsSidebarFilter.Versions = VeltCommentsSidebarFilterVersions;
|
|
2613
2700
|
VeltCommentsSidebarFilter.Item = VeltCommentsSidebarFilterItem;
|
|
2614
2701
|
VeltCommentsSidebarFilter.Status = VeltCommentsSidebarFilterStatus;
|
|
2702
|
+
VeltCommentsSidebarFilter.ResetButton = VeltCommentsSidebarFilterResetButton;
|
|
2615
2703
|
|
|
2616
2704
|
var VeltCommentsSidebarFilterButton = function (props) {
|
|
2617
2705
|
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
@@ -3147,6 +3235,12 @@ VeltAutocompleteOptionWireframe.Description = VeltAutocompleteOptionDescriptionW
|
|
|
3147
3235
|
VeltAutocompleteOptionWireframe.ErrorIcon = VeltAutocompleteOptionErrorIconWireframe;
|
|
3148
3236
|
VeltAutocompleteOptionWireframe.Name = VeltAutocompleteOptionNameWireframe;
|
|
3149
3237
|
|
|
3238
|
+
var VeltAutocompleteGroupOptionWireframe = function (props) {
|
|
3239
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3240
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
3241
|
+
return (React__default["default"].createElement("velt-autocomplete-group-option-wireframe", __assign({}, transformedProps), children));
|
|
3242
|
+
};
|
|
3243
|
+
|
|
3150
3244
|
var VeltAutocompleteChipTooltipDescriptionWireframe = function (props) {
|
|
3151
3245
|
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3152
3246
|
var transformedProps = transformWireframeProps(remainingProps);
|
|
@@ -6418,6 +6512,31 @@ function useContactSelected() {
|
|
|
6418
6512
|
}, [contactElement === null || contactElement === void 0 ? void 0 : contactElement.onContactSelected]);
|
|
6419
6513
|
return data;
|
|
6420
6514
|
}
|
|
6515
|
+
function useContactList() {
|
|
6516
|
+
var contactElement = useContactUtils();
|
|
6517
|
+
var _a = React__default["default"].useState(null), data = _a[0], setData = _a[1];
|
|
6518
|
+
var subscriptionRef = React__default["default"].useRef();
|
|
6519
|
+
React.useEffect(function () {
|
|
6520
|
+
if (!contactElement)
|
|
6521
|
+
return;
|
|
6522
|
+
// Unsubscribe from the previous subscription if it exists
|
|
6523
|
+
if (subscriptionRef.current) {
|
|
6524
|
+
subscriptionRef.current.unsubscribe();
|
|
6525
|
+
}
|
|
6526
|
+
var subscription = contactElement.getContactList().subscribe(function (res) {
|
|
6527
|
+
setData(res);
|
|
6528
|
+
});
|
|
6529
|
+
// Store the new subscription
|
|
6530
|
+
subscriptionRef.current = subscription;
|
|
6531
|
+
// Cleanup function
|
|
6532
|
+
return function () {
|
|
6533
|
+
if (subscriptionRef.current) {
|
|
6534
|
+
subscriptionRef.current.unsubscribe();
|
|
6535
|
+
}
|
|
6536
|
+
};
|
|
6537
|
+
}, [contactElement === null || contactElement === void 0 ? void 0 : contactElement.getContactList]);
|
|
6538
|
+
return data;
|
|
6539
|
+
}
|
|
6421
6540
|
|
|
6422
6541
|
var sessionId = Math.random().toString(36).substring(2, 15) + Math.random().toString(36).substring(2, 15);
|
|
6423
6542
|
var getSessionId = function () {
|
|
@@ -6514,6 +6633,7 @@ exports.VeltArrowTool = SnippylyArrowTool;
|
|
|
6514
6633
|
exports.VeltArrows = SnippylyArrows;
|
|
6515
6634
|
exports.VeltAutocomplete = VeltAutocomplete;
|
|
6516
6635
|
exports.VeltAutocompleteChipTooltipWireframe = VeltAutocompleteChipTooltipWireframe;
|
|
6636
|
+
exports.VeltAutocompleteGroupOptionWireframe = VeltAutocompleteGroupOptionWireframe;
|
|
6517
6637
|
exports.VeltAutocompleteOptionWireframe = VeltAutocompleteOptionWireframe;
|
|
6518
6638
|
exports.VeltButtonWireframe = VeltButtonWireframe;
|
|
6519
6639
|
exports.VeltCanvasComment = VeltCanvasComment;
|
|
@@ -6623,6 +6743,7 @@ exports.useCommentSidebarData = useCommentSidebarData;
|
|
|
6623
6743
|
exports.useCommentSidebarInit = useCommentSidebarInit;
|
|
6624
6744
|
exports.useCommentUpdateHandler = useCommentUpdateHandler;
|
|
6625
6745
|
exports.useCommentUtils = useCommentUtils;
|
|
6746
|
+
exports.useContactList = useContactList;
|
|
6626
6747
|
exports.useContactSelected = useContactSelected;
|
|
6627
6748
|
exports.useContactUtils = useContactUtils;
|
|
6628
6749
|
exports.useCopyLink = useCopyLink;
|