@veltdev/react 1.0.137 → 1.0.139
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 +80 -74
- package/cjs/index.js.map +1 -1
- package/cjs/types/components/SnippylyCommentBubble/SnippylyCommentBubble.d.ts +1 -0
- package/cjs/types/components/SnippylyComments/SnippylyComments.d.ts +4 -0
- package/cjs/types/components/SnippylyCommentsSidebar/SnippylyCommentsSidebar.d.ts +1 -0
- package/cjs/types/components/VeltCommentDialogOptionsDropdownContentWireframe/VeltCommentDialogOptionsDropdownContentAssignWireframe/VeltCommentDialogOptionsDropdownContentAssignWireframe.d.ts +3 -3
- package/cjs/types/components/VeltCommentDialogOptionsDropdownContentWireframe/VeltCommentDialogOptionsDropdownContentDeleteWireframe/VeltCommentDialogOptionsDropdownContentDeleteCommentWireframe/VeltCommentDialogOptionsDropdownContentDeleteCommentWireframe.d.ts +3 -3
- package/cjs/types/components/VeltCommentDialogOptionsDropdownContentWireframe/VeltCommentDialogOptionsDropdownContentDeleteWireframe/VeltCommentDialogOptionsDropdownContentDeleteThreadWireframe/VeltCommentDialogOptionsDropdownContentDeleteThreadWireframe.d.ts +3 -3
- package/cjs/types/components/VeltCommentDialogOptionsDropdownContentWireframe/VeltCommentDialogOptionsDropdownContentDeleteWireframe/VeltCommentDialogOptionsDropdownContentDeleteWireframe.d.ts +8 -8
- package/cjs/types/components/VeltCommentDialogOptionsDropdownContentWireframe/VeltCommentDialogOptionsDropdownContentEditWireframe/VeltCommentDialogOptionsDropdownContentEditWireframe.d.ts +3 -3
- package/cjs/types/components/VeltCommentDialogOptionsDropdownContentWireframe/VeltCommentDialogOptionsDropdownContentMakePrivateWireframe/VeltCommentDialogOptionsDropdownContentMakePrivateDisableWireframe/VeltCommentDialogOptionsDropdownContentMakePrivateDisableWireframe.d.ts +3 -3
- package/cjs/types/components/VeltCommentDialogOptionsDropdownContentWireframe/VeltCommentDialogOptionsDropdownContentMakePrivateWireframe/VeltCommentDialogOptionsDropdownContentMakePrivateEnableWireframe/VeltCommentDialogOptionsDropdownContentMakePrivateEnableWireframe.d.ts +3 -3
- package/cjs/types/components/VeltCommentDialogOptionsDropdownContentWireframe/VeltCommentDialogOptionsDropdownContentMakePrivateWireframe/VeltCommentDialogOptionsDropdownContentMakePrivateWireframe.d.ts +8 -8
- package/cjs/types/components/VeltCommentDialogOptionsDropdownContentWireframe/VeltCommentDialogOptionsDropdownContentWireframe.d.ts +12 -12
- package/cjs/types/components/VeltCommentDialogOptionsDropdownTriggerWireframe/VeltCommentDialogOptionsDropdownTriggerWireframe.d.ts +4 -4
- package/cjs/types/components/VeltCommentDialogPriorityDropdownContentWireframe/VeltCommentDialogPriorityDropdownContentItemWireframe/VeltCommentDialogPriorityDropdownContentItemIconWireframe/VeltCommentDialogPriorityDropdownContentItemIconWireframe.d.ts +3 -3
- package/cjs/types/components/VeltCommentDialogPriorityDropdownContentWireframe/VeltCommentDialogPriorityDropdownContentItemWireframe/VeltCommentDialogPriorityDropdownContentItemNameWireframe/VeltCommentDialogPriorityDropdownContentItemNameWireframe.d.ts +3 -3
- package/cjs/types/components/VeltCommentDialogPriorityDropdownContentWireframe/VeltCommentDialogPriorityDropdownContentItemWireframe/VeltCommentDialogPriorityDropdownContentItemTickWireframe/VeltCommentDialogPriorityDropdownContentItemTickWireframe.d.ts +3 -3
- package/cjs/types/components/VeltCommentDialogPriorityDropdownContentWireframe/VeltCommentDialogPriorityDropdownContentItemWireframe/VeltCommentDialogPriorityDropdownContentItemWireframe.d.ts +10 -10
- package/cjs/types/components/VeltCommentDialogPriorityDropdownContentWireframe/VeltCommentDialogPriorityDropdownContentWireframe.d.ts +6 -6
- package/cjs/types/components/VeltCommentDialogPriorityDropdownTriggerWireframe/VeltCommentDialogPriorityDropdownTriggerArrowWireframe/VeltCommentDialogPriorityDropdownTriggerArrowWireframe.d.ts +3 -3
- package/cjs/types/components/VeltCommentDialogPriorityDropdownTriggerWireframe/VeltCommentDialogPriorityDropdownTriggerIconWireframe/VeltCommentDialogPriorityDropdownTriggerIconWireframe.d.ts +3 -3
- package/cjs/types/components/VeltCommentDialogPriorityDropdownTriggerWireframe/VeltCommentDialogPriorityDropdownTriggerNameWireframe/VeltCommentDialogPriorityDropdownTriggerNameWireframe.d.ts +3 -3
- package/cjs/types/components/VeltCommentDialogPriorityDropdownTriggerWireframe/VeltCommentDialogPriorityDropdownTriggerWireframe.d.ts +10 -10
- package/cjs/types/components/VeltCommentDialogStatusDropdownContentWireframe/VeltCommentDialogStatusDropdownContentItemWireframe/VeltCommentDialogStatusDropdownContentItemIconWireframe/VeltCommentDialogStatusDropdownContentItemIconWireframe.d.ts +3 -3
- package/cjs/types/components/VeltCommentDialogStatusDropdownContentWireframe/VeltCommentDialogStatusDropdownContentItemWireframe/VeltCommentDialogStatusDropdownContentItemNameWireframe/VeltCommentDialogStatusDropdownContentItemNameWireframe.d.ts +3 -3
- package/cjs/types/components/VeltCommentDialogStatusDropdownContentWireframe/VeltCommentDialogStatusDropdownContentItemWireframe/VeltCommentDialogStatusDropdownContentItemWireframe.d.ts +8 -8
- package/cjs/types/components/VeltCommentDialogStatusDropdownContentWireframe/VeltCommentDialogStatusDropdownContentWireframe.d.ts +6 -6
- package/cjs/types/components/VeltCommentDialogStatusDropdownTriggerWireframe/VeltCommentDialogStatusDropdownTriggerArrowWireframe/VeltCommentDialogStatusDropdownTriggerArrowWireframe.d.ts +3 -3
- package/cjs/types/components/VeltCommentDialogStatusDropdownTriggerWireframe/VeltCommentDialogStatusDropdownTriggerIconWireframe/VeltCommentDialogStatusDropdownTriggerIconWireframe.d.ts +3 -3
- package/cjs/types/components/VeltCommentDialogStatusDropdownTriggerWireframe/VeltCommentDialogStatusDropdownTriggerNameWireframe/VeltCommentDialogStatusDropdownTriggerNameWireframe.d.ts +3 -3
- package/cjs/types/components/VeltCommentDialogStatusDropdownTriggerWireframe/VeltCommentDialogStatusDropdownTriggerWireframe.d.ts +10 -10
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogOptions/VeltCommentDialogOptions.d.ts +4 -4
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogPriority/VeltCommentDialogPriority.d.ts +4 -4
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogStatus/VeltCommentDialogStatus.d.ts +4 -4
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogThreadCard/VeltCommentDialogThreadCardOptions/VeltCommentDialogThreadCardOptions.d.ts +4 -4
- package/cjs/types/components/index.d.ts +7 -8
- package/cjs/types/constants.d.ts +1 -1
- package/cjs/types/hooks/LiveStateSyncElement.d.ts +2 -1
- package/esm/index.js +74 -67
- package/esm/index.js.map +1 -1
- package/esm/types/components/SnippylyCommentBubble/SnippylyCommentBubble.d.ts +1 -0
- package/esm/types/components/SnippylyComments/SnippylyComments.d.ts +4 -0
- package/esm/types/components/SnippylyCommentsSidebar/SnippylyCommentsSidebar.d.ts +1 -0
- package/esm/types/components/VeltCommentDialogOptionsDropdownContentWireframe/VeltCommentDialogOptionsDropdownContentAssignWireframe/VeltCommentDialogOptionsDropdownContentAssignWireframe.d.ts +3 -3
- package/esm/types/components/VeltCommentDialogOptionsDropdownContentWireframe/VeltCommentDialogOptionsDropdownContentDeleteWireframe/VeltCommentDialogOptionsDropdownContentDeleteCommentWireframe/VeltCommentDialogOptionsDropdownContentDeleteCommentWireframe.d.ts +3 -3
- package/esm/types/components/VeltCommentDialogOptionsDropdownContentWireframe/VeltCommentDialogOptionsDropdownContentDeleteWireframe/VeltCommentDialogOptionsDropdownContentDeleteThreadWireframe/VeltCommentDialogOptionsDropdownContentDeleteThreadWireframe.d.ts +3 -3
- package/esm/types/components/VeltCommentDialogOptionsDropdownContentWireframe/VeltCommentDialogOptionsDropdownContentDeleteWireframe/VeltCommentDialogOptionsDropdownContentDeleteWireframe.d.ts +8 -8
- package/esm/types/components/VeltCommentDialogOptionsDropdownContentWireframe/VeltCommentDialogOptionsDropdownContentEditWireframe/VeltCommentDialogOptionsDropdownContentEditWireframe.d.ts +3 -3
- package/esm/types/components/VeltCommentDialogOptionsDropdownContentWireframe/VeltCommentDialogOptionsDropdownContentMakePrivateWireframe/VeltCommentDialogOptionsDropdownContentMakePrivateDisableWireframe/VeltCommentDialogOptionsDropdownContentMakePrivateDisableWireframe.d.ts +3 -3
- package/esm/types/components/VeltCommentDialogOptionsDropdownContentWireframe/VeltCommentDialogOptionsDropdownContentMakePrivateWireframe/VeltCommentDialogOptionsDropdownContentMakePrivateEnableWireframe/VeltCommentDialogOptionsDropdownContentMakePrivateEnableWireframe.d.ts +3 -3
- package/esm/types/components/VeltCommentDialogOptionsDropdownContentWireframe/VeltCommentDialogOptionsDropdownContentMakePrivateWireframe/VeltCommentDialogOptionsDropdownContentMakePrivateWireframe.d.ts +8 -8
- package/esm/types/components/VeltCommentDialogOptionsDropdownContentWireframe/VeltCommentDialogOptionsDropdownContentWireframe.d.ts +12 -12
- package/esm/types/components/VeltCommentDialogOptionsDropdownTriggerWireframe/VeltCommentDialogOptionsDropdownTriggerWireframe.d.ts +4 -4
- package/esm/types/components/VeltCommentDialogPriorityDropdownContentWireframe/VeltCommentDialogPriorityDropdownContentItemWireframe/VeltCommentDialogPriorityDropdownContentItemIconWireframe/VeltCommentDialogPriorityDropdownContentItemIconWireframe.d.ts +3 -3
- package/esm/types/components/VeltCommentDialogPriorityDropdownContentWireframe/VeltCommentDialogPriorityDropdownContentItemWireframe/VeltCommentDialogPriorityDropdownContentItemNameWireframe/VeltCommentDialogPriorityDropdownContentItemNameWireframe.d.ts +3 -3
- package/esm/types/components/VeltCommentDialogPriorityDropdownContentWireframe/VeltCommentDialogPriorityDropdownContentItemWireframe/VeltCommentDialogPriorityDropdownContentItemTickWireframe/VeltCommentDialogPriorityDropdownContentItemTickWireframe.d.ts +3 -3
- package/esm/types/components/VeltCommentDialogPriorityDropdownContentWireframe/VeltCommentDialogPriorityDropdownContentItemWireframe/VeltCommentDialogPriorityDropdownContentItemWireframe.d.ts +10 -10
- package/esm/types/components/VeltCommentDialogPriorityDropdownContentWireframe/VeltCommentDialogPriorityDropdownContentWireframe.d.ts +6 -6
- package/esm/types/components/VeltCommentDialogPriorityDropdownTriggerWireframe/VeltCommentDialogPriorityDropdownTriggerArrowWireframe/VeltCommentDialogPriorityDropdownTriggerArrowWireframe.d.ts +3 -3
- package/esm/types/components/VeltCommentDialogPriorityDropdownTriggerWireframe/VeltCommentDialogPriorityDropdownTriggerIconWireframe/VeltCommentDialogPriorityDropdownTriggerIconWireframe.d.ts +3 -3
- package/esm/types/components/VeltCommentDialogPriorityDropdownTriggerWireframe/VeltCommentDialogPriorityDropdownTriggerNameWireframe/VeltCommentDialogPriorityDropdownTriggerNameWireframe.d.ts +3 -3
- package/esm/types/components/VeltCommentDialogPriorityDropdownTriggerWireframe/VeltCommentDialogPriorityDropdownTriggerWireframe.d.ts +10 -10
- package/esm/types/components/VeltCommentDialogStatusDropdownContentWireframe/VeltCommentDialogStatusDropdownContentItemWireframe/VeltCommentDialogStatusDropdownContentItemIconWireframe/VeltCommentDialogStatusDropdownContentItemIconWireframe.d.ts +3 -3
- package/esm/types/components/VeltCommentDialogStatusDropdownContentWireframe/VeltCommentDialogStatusDropdownContentItemWireframe/VeltCommentDialogStatusDropdownContentItemNameWireframe/VeltCommentDialogStatusDropdownContentItemNameWireframe.d.ts +3 -3
- package/esm/types/components/VeltCommentDialogStatusDropdownContentWireframe/VeltCommentDialogStatusDropdownContentItemWireframe/VeltCommentDialogStatusDropdownContentItemWireframe.d.ts +8 -8
- package/esm/types/components/VeltCommentDialogStatusDropdownContentWireframe/VeltCommentDialogStatusDropdownContentWireframe.d.ts +6 -6
- package/esm/types/components/VeltCommentDialogStatusDropdownTriggerWireframe/VeltCommentDialogStatusDropdownTriggerArrowWireframe/VeltCommentDialogStatusDropdownTriggerArrowWireframe.d.ts +3 -3
- package/esm/types/components/VeltCommentDialogStatusDropdownTriggerWireframe/VeltCommentDialogStatusDropdownTriggerIconWireframe/VeltCommentDialogStatusDropdownTriggerIconWireframe.d.ts +3 -3
- package/esm/types/components/VeltCommentDialogStatusDropdownTriggerWireframe/VeltCommentDialogStatusDropdownTriggerNameWireframe/VeltCommentDialogStatusDropdownTriggerNameWireframe.d.ts +3 -3
- package/esm/types/components/VeltCommentDialogStatusDropdownTriggerWireframe/VeltCommentDialogStatusDropdownTriggerWireframe.d.ts +10 -10
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogOptions/VeltCommentDialogOptions.d.ts +4 -4
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogPriority/VeltCommentDialogPriority.d.ts +4 -4
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogStatus/VeltCommentDialogStatus.d.ts +4 -4
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogThreadCard/VeltCommentDialogThreadCardOptions/VeltCommentDialogThreadCardOptions.d.ts +4 -4
- package/esm/types/components/index.d.ts +7 -8
- package/esm/types/constants.d.ts +1 -1
- package/esm/types/hooks/LiveStateSyncElement.d.ts +2 -1
- package/index.d.ts +90 -76
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EditorAccessTimer, LiveStateSyncElement, User, UserEditorAccess } from "@veltdev/types";
|
|
2
2
|
export declare function useLiveStateSyncUtils(): LiveStateSyncElement | undefined;
|
|
3
|
-
export declare function useLiveStateData(liveStateDataId?: string): any;
|
|
3
|
+
export declare function useLiveStateData(liveStateDataId?: string, listenToNewChangesOnly?: boolean): any;
|
|
4
4
|
export declare function useSetLiveStateData(liveStateDataId: string, liveStateData: any): any;
|
|
5
5
|
export declare function useUserEditorState(): UserEditorAccess | null;
|
|
6
6
|
export declare function useEditor(): User | null;
|
|
@@ -12,4 +12,5 @@ export declare function useEditorAccessRequestHandler(): {
|
|
|
12
12
|
export declare function useLiveState<T>(liveStateDataId: string, initialValue?: any, options?: {
|
|
13
13
|
syncDuration?: number;
|
|
14
14
|
resetLiveState?: boolean;
|
|
15
|
+
listenToNewChangesOnly?: boolean;
|
|
15
16
|
}): [T, (value: T) => void];
|
package/esm/index.js
CHANGED
|
@@ -132,7 +132,7 @@ var loadVelt = function (callback, version, staging, develop, proxyDomain) {
|
|
|
132
132
|
}
|
|
133
133
|
};
|
|
134
134
|
|
|
135
|
-
var VELT_SDK_VERSION = '1.0.
|
|
135
|
+
var VELT_SDK_VERSION = '1.0.156';
|
|
136
136
|
var VELT_SDK_INIT_EVENT = 'onVeltInit';
|
|
137
137
|
|
|
138
138
|
var SnippylyProvider = function (props) {
|
|
@@ -220,12 +220,12 @@ var SnippylyProvider = function (props) {
|
|
|
220
220
|
};
|
|
221
221
|
|
|
222
222
|
var SnippylyCommentBubble = function (props) {
|
|
223
|
-
var targetCommentElementId = props.targetCommentElementId, avatar = props.avatar, showAvatar = props.showAvatar, commentBubbleTargetPinHover = props.commentBubbleTargetPinHover, children = props.children, shadowDom = props.shadowDom, variant = props.variant;
|
|
224
|
-
return (React.createElement("velt-comment-bubble", { "target-comment-element-id": targetCommentElementId, "show-avatar": [true, false].includes(showAvatar) ? (showAvatar ? 'true' : 'false') : undefined, avatar: [true, false].includes(avatar) ? (avatar ? 'true' : 'false') : undefined, "comment-bubble-target-pin-hover": commentBubbleTargetPinHover ? 'true' : undefined, "shadow-dom": [true, false].includes(shadowDom) ? (shadowDom ? 'true' : 'false') : undefined, variant: variant }, children));
|
|
223
|
+
var targetCommentElementId = props.targetCommentElementId, avatar = props.avatar, showAvatar = props.showAvatar, commentBubbleTargetPinHover = props.commentBubbleTargetPinHover, children = props.children, shadowDom = props.shadowDom, variant = props.variant, darkMode = props.darkMode;
|
|
224
|
+
return (React.createElement("velt-comment-bubble", { "target-comment-element-id": targetCommentElementId, "show-avatar": [true, false].includes(showAvatar) ? (showAvatar ? 'true' : 'false') : undefined, avatar: [true, false].includes(avatar) ? (avatar ? 'true' : 'false') : undefined, "comment-bubble-target-pin-hover": commentBubbleTargetPinHover ? 'true' : undefined, "shadow-dom": [true, false].includes(shadowDom) ? (shadowDom ? 'true' : 'false') : undefined, "dark-mode": [true, false].includes(darkMode) ? (darkMode ? 'true' : 'false') : undefined, variant: variant }, children));
|
|
225
225
|
};
|
|
226
226
|
|
|
227
227
|
var SnippylyComments = function (props) {
|
|
228
|
-
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, persistentCommentMode = props.persistentCommentMode, ghostComments = props.ghostComments, ghostCommentsIndicator = props.ghostCommentsIndicator, commentsOnDom = props.commentsOnDom, resolvedCommentsOnDom = props.resolvedCommentsOnDom, commentTool = props.commentTool, sidebarButtonOnCommentDialog = props.sidebarButtonOnCommentDialog, deviceIndicatorOnCommentPins = props.deviceIndicatorOnCommentPins, scrollToComment = props.scrollToComment, userMentions = props.userMentions, deleteOnBackspace = props.deleteOnBackspace, hotkey = props.hotkey, recordingSummary = props.recordingSummary, recordingCountdown = props.recordingCountdown, unreadIndicatorMode = props.unreadIndicatorMode, enterKeyToSubmit = props.enterKeyToSubmit, pinShadowDom = props.pinShadowDom, dialogShadowDom = props.dialogShadowDom, shadowDom = props.shadowDom, changeDetectionInCommentMode = props.changeDetectionInCommentMode, allowedElementIds = props.allowedElementIds, allowedElementClassNames = props.allowedElementClassNames, allowedElementQuerySelectors = props.allowedElementQuerySelectors, commentPinHighlighter = props.commentPinHighlighter, customReactions = props.customReactions, onCommentAdd = props.onCommentAdd, onCommentUpdate = props.onCommentUpdate, onCommentAccept = props.onCommentAccept, onCommentReject = props.onCommentReject, onSidebarButtonOnCommentDialogClick = props.onSidebarButtonOnCommentDialogClick, onCommentSelectionChange = props.onCommentSelectionChange, customStatus = props.customStatus, customPriority = props.customPriority, customCategory = props.customCategory, status = props.status, resolveButton = props.resolveButton, darkMode = props.darkMode, onCustomPinInject = props.onCustomPinInject, children = props.children, textCommentToolShadowDom = props.textCommentToolShadowDom, textCommentToolbarShadowDom = props.textCommentToolbarShadowDom;
|
|
228
|
+
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, persistentCommentMode = props.persistentCommentMode, ghostComments = props.ghostComments, ghostCommentsIndicator = props.ghostCommentsIndicator, commentsOnDom = props.commentsOnDom, resolvedCommentsOnDom = props.resolvedCommentsOnDom, commentTool = props.commentTool, sidebarButtonOnCommentDialog = props.sidebarButtonOnCommentDialog, deviceIndicatorOnCommentPins = props.deviceIndicatorOnCommentPins, scrollToComment = props.scrollToComment, userMentions = props.userMentions, deleteOnBackspace = props.deleteOnBackspace, hotkey = props.hotkey, recordingSummary = props.recordingSummary, recordingCountdown = props.recordingCountdown, unreadIndicatorMode = props.unreadIndicatorMode, enterKeyToSubmit = props.enterKeyToSubmit, pinShadowDom = props.pinShadowDom, dialogShadowDom = props.dialogShadowDom, shadowDom = props.shadowDom, changeDetectionInCommentMode = props.changeDetectionInCommentMode, allowedElementIds = props.allowedElementIds, allowedElementClassNames = props.allowedElementClassNames, allowedElementQuerySelectors = props.allowedElementQuerySelectors, commentPinHighlighter = props.commentPinHighlighter, customReactions = props.customReactions, onCommentAdd = props.onCommentAdd, onCommentUpdate = props.onCommentUpdate, onCommentAccept = props.onCommentAccept, onCommentReject = props.onCommentReject, onSidebarButtonOnCommentDialogClick = props.onSidebarButtonOnCommentDialogClick, onCommentSelectionChange = props.onCommentSelectionChange, customStatus = props.customStatus, customPriority = props.customPriority, customCategory = props.customCategory, status = props.status, resolveButton = props.resolveButton, darkMode = props.darkMode, onCustomPinInject = props.onCustomPinInject, children = props.children, textCommentToolShadowDom = props.textCommentToolShadowDom, textCommentToolbarShadowDom = props.textCommentToolbarShadowDom, dialogDarkMode = props.dialogDarkMode, pinDarkMode = props.pinDarkMode, textCommentToolDarkMode = props.textCommentToolDarkMode, textCommentToolbarDarkMode = props.textCommentToolbarDarkMode;
|
|
229
229
|
var ref = useRef();
|
|
230
230
|
var onSignInRef = useRef(onSignIn);
|
|
231
231
|
var onUpgradeRef = useRef(onUpgrade);
|
|
@@ -314,11 +314,11 @@ var SnippylyComments = function (props) {
|
|
|
314
314
|
});
|
|
315
315
|
}
|
|
316
316
|
}, []);
|
|
317
|
-
return (React.createElement("velt-comments", { ref: ref, "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, "persistent-comment-mode": [true, false].includes(persistentCommentMode) ? (persistentCommentMode ? 'true' : 'false') : undefined, "ghost-comments": [true, false].includes(ghostComments) ? (ghostComments ? 'true' : 'false') : undefined, "ghost-comments-indicator": [true, false].includes(ghostCommentsIndicator) ? (ghostCommentsIndicator ? 'true' : 'false') : undefined, "comments-on-dom": [true, false].includes(commentsOnDom) ? (commentsOnDom ? 'true' : 'false') : undefined, "resolved-comments-on-dom": [true, false].includes(resolvedCommentsOnDom) ? (resolvedCommentsOnDom ? 'true' : 'false') : undefined, "comment-tool": [true, false].includes(commentTool) ? (commentTool ? 'true' : 'false') : undefined, "sidebar-button-on-comment-dialog": [true, false].includes(sidebarButtonOnCommentDialog) ? (sidebarButtonOnCommentDialog ? 'true' : 'false') : undefined, "device-indicator-on-comment-pins": [true, false].includes(deviceIndicatorOnCommentPins) ? (deviceIndicatorOnCommentPins ? 'true' : 'false') : undefined, "scroll-to-comment": [true, false].includes(scrollToComment) ? (scrollToComment ? 'true' : 'false') : undefined, "user-mentions": [true, false].includes(userMentions) ? (userMentions ? 'true' : 'false') : undefined, "delete-on-backspace": [true, false].includes(deleteOnBackspace) ? (deleteOnBackspace ? 'true' : 'false') : undefined, hotkey: [true, false].includes(hotkey) ? (hotkey ? 'true' : 'false') : undefined, "recording-summary": [true, false].includes(recordingSummary) ? (recordingSummary ? 'true' : 'false') : undefined, "recording-countdown": [true, false].includes(recordingCountdown) ? (recordingCountdown ? 'true' : 'false') : undefined, "unread-indicator-mode": unreadIndicatorMode, "enter-key-to-submit": [true, false].includes(enterKeyToSubmit) ? (enterKeyToSubmit ? 'true' : 'false') : undefined, "pin-shadow-dom": [true, false].includes(pinShadowDom) ? (pinShadowDom ? 'true' : 'false') : undefined, "dialog-shadow-dom": [true, false].includes(dialogShadowDom) ? (dialogShadowDom ? 'true' : 'false') : undefined, "shadow-dom": [true, false].includes(shadowDom) ? (shadowDom ? 'true' : 'false') : undefined, "text-comment-tool-shadow-dom": [true, false].includes(textCommentToolShadowDom) ? (textCommentToolShadowDom ? 'true' : 'false') : undefined, "text-comment-toolbar-shadow-dom": [true, false].includes(textCommentToolbarShadowDom) ? (textCommentToolbarShadowDom ? 'true' : 'false') : undefined, "change-detection-in-comment-mode": [true, false].includes(changeDetectionInCommentMode) ? (changeDetectionInCommentMode ? 'true' : 'false') : undefined, "allowed-element-ids": JSON.stringify(allowedElementIds), "allowed-element-class-names": JSON.stringify(allowedElementClassNames), "allowed-element-query-selectors": JSON.stringify(allowedElementQuerySelectors), "comment-pin-highlighter": [true, false].includes(commentPinHighlighter) ? (commentPinHighlighter ? 'true' : 'false') : undefined, "custom-reactions": JSON.stringify(customReactions), "custom-status": JSON.stringify(customStatus), "custom-priority": JSON.stringify(customPriority), "custom-category": JSON.stringify(customCategory), "dark-mode": [true, false].includes(darkMode) ? (darkMode ? 'true' : 'false') : undefined }, children));
|
|
317
|
+
return (React.createElement("velt-comments", { ref: ref, "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, "persistent-comment-mode": [true, false].includes(persistentCommentMode) ? (persistentCommentMode ? 'true' : 'false') : undefined, "ghost-comments": [true, false].includes(ghostComments) ? (ghostComments ? 'true' : 'false') : undefined, "ghost-comments-indicator": [true, false].includes(ghostCommentsIndicator) ? (ghostCommentsIndicator ? 'true' : 'false') : undefined, "comments-on-dom": [true, false].includes(commentsOnDom) ? (commentsOnDom ? 'true' : 'false') : undefined, "resolved-comments-on-dom": [true, false].includes(resolvedCommentsOnDom) ? (resolvedCommentsOnDom ? 'true' : 'false') : undefined, "comment-tool": [true, false].includes(commentTool) ? (commentTool ? 'true' : 'false') : undefined, "sidebar-button-on-comment-dialog": [true, false].includes(sidebarButtonOnCommentDialog) ? (sidebarButtonOnCommentDialog ? 'true' : 'false') : undefined, "device-indicator-on-comment-pins": [true, false].includes(deviceIndicatorOnCommentPins) ? (deviceIndicatorOnCommentPins ? 'true' : 'false') : undefined, "scroll-to-comment": [true, false].includes(scrollToComment) ? (scrollToComment ? 'true' : 'false') : undefined, "user-mentions": [true, false].includes(userMentions) ? (userMentions ? 'true' : 'false') : undefined, "delete-on-backspace": [true, false].includes(deleteOnBackspace) ? (deleteOnBackspace ? 'true' : 'false') : undefined, hotkey: [true, false].includes(hotkey) ? (hotkey ? 'true' : 'false') : undefined, "recording-summary": [true, false].includes(recordingSummary) ? (recordingSummary ? 'true' : 'false') : undefined, "recording-countdown": [true, false].includes(recordingCountdown) ? (recordingCountdown ? 'true' : 'false') : undefined, "unread-indicator-mode": unreadIndicatorMode, "enter-key-to-submit": [true, false].includes(enterKeyToSubmit) ? (enterKeyToSubmit ? 'true' : 'false') : undefined, "pin-shadow-dom": [true, false].includes(pinShadowDom) ? (pinShadowDom ? 'true' : 'false') : undefined, "dialog-shadow-dom": [true, false].includes(dialogShadowDom) ? (dialogShadowDom ? 'true' : 'false') : undefined, "shadow-dom": [true, false].includes(shadowDom) ? (shadowDom ? 'true' : 'false') : undefined, "text-comment-tool-shadow-dom": [true, false].includes(textCommentToolShadowDom) ? (textCommentToolShadowDom ? 'true' : 'false') : undefined, "text-comment-toolbar-shadow-dom": [true, false].includes(textCommentToolbarShadowDom) ? (textCommentToolbarShadowDom ? 'true' : 'false') : undefined, "change-detection-in-comment-mode": [true, false].includes(changeDetectionInCommentMode) ? (changeDetectionInCommentMode ? 'true' : 'false') : undefined, "allowed-element-ids": JSON.stringify(allowedElementIds), "allowed-element-class-names": JSON.stringify(allowedElementClassNames), "allowed-element-query-selectors": JSON.stringify(allowedElementQuerySelectors), "comment-pin-highlighter": [true, false].includes(commentPinHighlighter) ? (commentPinHighlighter ? 'true' : 'false') : undefined, "custom-reactions": JSON.stringify(customReactions), "custom-status": JSON.stringify(customStatus), "custom-priority": JSON.stringify(customPriority), "custom-category": JSON.stringify(customCategory), "dark-mode": [true, false].includes(darkMode) ? (darkMode ? 'true' : 'false') : undefined, "dialog-dark-mode": [true, false].includes(dialogDarkMode) ? (dialogDarkMode ? 'true' : 'false') : undefined, "pin-dark-mode": [true, false].includes(pinDarkMode) ? (pinDarkMode ? 'true' : 'false') : undefined, "text-comment-tool-dark-mode": [true, false].includes(textCommentToolDarkMode) ? (textCommentToolDarkMode ? 'true' : 'false') : undefined, "text-comment-toolbar-dark-mode": [true, false].includes(textCommentToolbarDarkMode) ? (textCommentToolbarDarkMode ? 'true' : 'false') : undefined }, children));
|
|
318
318
|
};
|
|
319
319
|
|
|
320
320
|
var SnippylyCommentsSidebar = function (props) {
|
|
321
|
-
var embedMode = props.embedMode, enableUrlNavigation = props.enableUrlNavigation, urlNavigation = props.urlNavigation, pageMode = props.pageMode, currentLocationSuffix = props.currentLocationSuffix, sortData = props.sortData, filterConfig = props.filterConfig, groupConfig = props.groupConfig, filters = props.filters, variant = props.variant, pageModeComposerVariant = props.pageModeComposerVariant, dialogVariant = props.dialogVariant, shadowDom = props.shadowDom, openSidebar = props.openSidebar, onSidebarOpen = props.onSidebarOpen, onSidebarCommentClick = props.onSidebarCommentClick, onCommentClick = props.onCommentClick;
|
|
321
|
+
var embedMode = props.embedMode, enableUrlNavigation = props.enableUrlNavigation, urlNavigation = props.urlNavigation, pageMode = props.pageMode, currentLocationSuffix = props.currentLocationSuffix, sortData = props.sortData, filterConfig = props.filterConfig, groupConfig = props.groupConfig, filters = props.filters, variant = props.variant, pageModeComposerVariant = props.pageModeComposerVariant, dialogVariant = props.dialogVariant, shadowDom = props.shadowDom, openSidebar = props.openSidebar, onSidebarOpen = props.onSidebarOpen, onSidebarCommentClick = props.onSidebarCommentClick, onCommentClick = props.onCommentClick, darkMode = props.darkMode;
|
|
322
322
|
var ref = useRef();
|
|
323
323
|
var openSidebarRef = useRef(openSidebar);
|
|
324
324
|
var onSidebarOpenRef = useRef(onSidebarOpen);
|
|
@@ -358,7 +358,7 @@ var SnippylyCommentsSidebar = function (props) {
|
|
|
358
358
|
});
|
|
359
359
|
}
|
|
360
360
|
}, []);
|
|
361
|
-
return (React.createElement("velt-comments-sidebar", { ref: ref, "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, "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, variant: variant, "page-mode-composer-variant": pageModeComposerVariant, "dialog-variant": dialogVariant, "sort-data": sortData }));
|
|
361
|
+
return (React.createElement("velt-comments-sidebar", { ref: ref, "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, "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, variant: variant, "page-mode-composer-variant": pageModeComposerVariant, "dialog-variant": dialogVariant, "sort-data": sortData, "dark-mode": [true, false].includes(darkMode) ? (darkMode ? 'true' : 'false') : undefined }));
|
|
362
362
|
};
|
|
363
363
|
|
|
364
364
|
var SnippylyCommentTool = function (props) {
|
|
@@ -1333,60 +1333,60 @@ var VeltCommentDialogMoreReply = function (props) {
|
|
|
1333
1333
|
return (React.createElement("velt-comment-dialog-more-reply-wireframe", __assign({}, remainingProp), children));
|
|
1334
1334
|
};
|
|
1335
1335
|
|
|
1336
|
-
var
|
|
1336
|
+
var VeltCommentDialogOptionsDropdownContentAssignWireframe = function (props) {
|
|
1337
1337
|
var children = props.children, remainingProp = __rest(props, ["children"]);
|
|
1338
1338
|
return (React.createElement("velt-comment-dialog-options-dropdown-content-assign-wireframe", __assign({}, remainingProp), children));
|
|
1339
1339
|
};
|
|
1340
1340
|
|
|
1341
|
-
var
|
|
1341
|
+
var VeltCommentDialogOptionsDropdownContentDeleteCommentWireframe = function (props) {
|
|
1342
1342
|
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
1343
1343
|
return (React.createElement("velt-comment-dialog-options-dropdown-content-delete-comment-wireframe", __assign({}, remainingProps), children));
|
|
1344
1344
|
};
|
|
1345
1345
|
|
|
1346
|
-
var
|
|
1346
|
+
var VeltCommentDialogOptionsDropdownContentDeleteThreadWireframe = function (props) {
|
|
1347
1347
|
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
1348
1348
|
return (React.createElement("velt-comment-dialog-options-dropdown-content-delete-thread-wireframe", __assign({}, remainingProps), children));
|
|
1349
1349
|
};
|
|
1350
1350
|
|
|
1351
|
-
var
|
|
1351
|
+
var VeltCommentDialogOptionsDropdownContentDeleteWireframe = function (props) {
|
|
1352
1352
|
var children = props.children, remainingProp = __rest(props, ["children"]);
|
|
1353
1353
|
return (React.createElement("velt-comment-dialog-options-dropdown-content-delete-wireframe", __assign({}, remainingProp), children));
|
|
1354
1354
|
};
|
|
1355
|
-
|
|
1356
|
-
|
|
1355
|
+
VeltCommentDialogOptionsDropdownContentDeleteWireframe.Comment = VeltCommentDialogOptionsDropdownContentDeleteCommentWireframe;
|
|
1356
|
+
VeltCommentDialogOptionsDropdownContentDeleteWireframe.Thread = VeltCommentDialogOptionsDropdownContentDeleteThreadWireframe;
|
|
1357
1357
|
|
|
1358
|
-
var
|
|
1358
|
+
var VeltCommentDialogOptionsDropdownContentEditWireframe = function (props) {
|
|
1359
1359
|
var children = props.children, remainingProp = __rest(props, ["children"]);
|
|
1360
1360
|
return (React.createElement("velt-comment-dialog-options-dropdown-content-edit-wireframe", __assign({}, remainingProp), children));
|
|
1361
1361
|
};
|
|
1362
1362
|
|
|
1363
|
-
var
|
|
1363
|
+
var VeltCommentDialogOptionsDropdownContentMakePrivateDisableWireframe = function (props) {
|
|
1364
1364
|
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
1365
1365
|
return (React.createElement("velt-comment-dialog-options-dropdown-content-make-private-disable-wireframe", __assign({}, remainingProps), children));
|
|
1366
1366
|
};
|
|
1367
1367
|
|
|
1368
|
-
var
|
|
1368
|
+
var VeltCommentDialogOptionsDropdownContentMakePrivateEnableWireframe = function (props) {
|
|
1369
1369
|
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
1370
1370
|
return (React.createElement("velt-comment-dialog-options-dropdown-content-make-private-enable-wireframe", __assign({}, remainingProps), children));
|
|
1371
1371
|
};
|
|
1372
1372
|
|
|
1373
|
-
var
|
|
1373
|
+
var VeltCommentDialogOptionsDropdownContentMakePrivateWireframe = function (props) {
|
|
1374
1374
|
var children = props.children, remainingProp = __rest(props, ["children"]);
|
|
1375
1375
|
return (React.createElement("velt-comment-dialog-options-dropdown-content-make-private-wireframe", __assign({}, remainingProp), children));
|
|
1376
1376
|
};
|
|
1377
|
-
|
|
1378
|
-
|
|
1377
|
+
VeltCommentDialogOptionsDropdownContentMakePrivateWireframe.Enable = VeltCommentDialogOptionsDropdownContentMakePrivateEnableWireframe;
|
|
1378
|
+
VeltCommentDialogOptionsDropdownContentMakePrivateWireframe.Disable = VeltCommentDialogOptionsDropdownContentMakePrivateDisableWireframe;
|
|
1379
1379
|
|
|
1380
|
-
var
|
|
1380
|
+
var VeltCommentDialogOptionsDropdownContentWireframe = function (props) {
|
|
1381
1381
|
var children = props.children, remainingProp = __rest(props, ["children"]);
|
|
1382
1382
|
return (React.createElement("velt-comment-dialog-options-dropdown-content-wireframe", __assign({}, remainingProp), children));
|
|
1383
1383
|
};
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1384
|
+
VeltCommentDialogOptionsDropdownContentWireframe.Assign = VeltCommentDialogOptionsDropdownContentAssignWireframe;
|
|
1385
|
+
VeltCommentDialogOptionsDropdownContentWireframe.MakePrivate = VeltCommentDialogOptionsDropdownContentMakePrivateWireframe;
|
|
1386
|
+
VeltCommentDialogOptionsDropdownContentWireframe.Edit = VeltCommentDialogOptionsDropdownContentEditWireframe;
|
|
1387
|
+
VeltCommentDialogOptionsDropdownContentWireframe.Delete = VeltCommentDialogOptionsDropdownContentDeleteWireframe;
|
|
1388
1388
|
|
|
1389
|
-
var
|
|
1389
|
+
var VeltCommentDialogOptionsDropdownTriggerWireframe = function (props) {
|
|
1390
1390
|
var children = props.children, remainingProp = __rest(props, ["children"]);
|
|
1391
1391
|
return (React.createElement("velt-comment-dialog-options-dropdown-trigger-wireframe", __assign({}, remainingProp), children));
|
|
1392
1392
|
};
|
|
@@ -1395,67 +1395,67 @@ var VeltCommentDialogOptions = function (props) {
|
|
|
1395
1395
|
var children = props.children, remainingProp = __rest(props, ["children"]);
|
|
1396
1396
|
return (React.createElement("velt-comment-dialog-options-wireframe", __assign({}, remainingProp), children));
|
|
1397
1397
|
};
|
|
1398
|
-
VeltCommentDialogOptions.Content =
|
|
1399
|
-
VeltCommentDialogOptions.Trigger =
|
|
1398
|
+
VeltCommentDialogOptions.Content = VeltCommentDialogOptionsDropdownContentWireframe;
|
|
1399
|
+
VeltCommentDialogOptions.Trigger = VeltCommentDialogOptionsDropdownTriggerWireframe;
|
|
1400
1400
|
|
|
1401
|
-
var
|
|
1401
|
+
var VeltCommentDialogPriorityDropdownContentItemIconWireframe = function (props) {
|
|
1402
1402
|
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
1403
1403
|
return (React.createElement("velt-comment-dialog-priority-dropdown-content-item-icon-wireframe", __assign({}, remainingProps), children));
|
|
1404
1404
|
};
|
|
1405
1405
|
|
|
1406
|
-
var
|
|
1406
|
+
var VeltCommentDialogPriorityDropdownContentItemNameWireframe = function (props) {
|
|
1407
1407
|
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
1408
1408
|
return (React.createElement("velt-comment-dialog-priority-dropdown-content-item-name-wireframe", __assign({}, remainingProps), children));
|
|
1409
1409
|
};
|
|
1410
1410
|
|
|
1411
|
-
var
|
|
1411
|
+
var VeltCommentDialogPriorityDropdownContentItemTickWireframe = function (props) {
|
|
1412
1412
|
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
1413
1413
|
return (React.createElement("velt-comment-dialog-priority-dropdown-content-item-tick-wireframe", __assign({}, remainingProps), children));
|
|
1414
1414
|
};
|
|
1415
1415
|
|
|
1416
|
-
var
|
|
1416
|
+
var VeltCommentDialogPriorityDropdownContentItemWireframe = function (props) {
|
|
1417
1417
|
var children = props.children, remainingProp = __rest(props, ["children"]);
|
|
1418
1418
|
return (React.createElement("velt-comment-dialog-priority-dropdown-content-item-wireframe", __assign({}, remainingProp), children));
|
|
1419
1419
|
};
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1420
|
+
VeltCommentDialogPriorityDropdownContentItemWireframe.Icon = VeltCommentDialogPriorityDropdownContentItemIconWireframe;
|
|
1421
|
+
VeltCommentDialogPriorityDropdownContentItemWireframe.Name = VeltCommentDialogPriorityDropdownContentItemNameWireframe;
|
|
1422
|
+
VeltCommentDialogPriorityDropdownContentItemWireframe.Tick = VeltCommentDialogPriorityDropdownContentItemTickWireframe;
|
|
1423
1423
|
|
|
1424
|
-
var
|
|
1424
|
+
var VeltCommentDialogPriorityDropdownContentWireframe = function (props) {
|
|
1425
1425
|
var children = props.children, remainingProp = __rest(props, ["children"]);
|
|
1426
1426
|
return (React.createElement("velt-comment-dialog-priority-dropdown-content-wireframe", __assign({}, remainingProp), children));
|
|
1427
1427
|
};
|
|
1428
|
-
|
|
1428
|
+
VeltCommentDialogPriorityDropdownContentWireframe.Item = VeltCommentDialogPriorityDropdownContentItemWireframe;
|
|
1429
1429
|
|
|
1430
|
-
var
|
|
1430
|
+
var VeltCommentDialogPriorityDropdownTriggerArrowWireframe = function (props) {
|
|
1431
1431
|
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
1432
1432
|
return (React.createElement("velt-comment-dialog-priority-dropdown-trigger-arrow-wireframe", __assign({}, remainingProps), children));
|
|
1433
1433
|
};
|
|
1434
1434
|
|
|
1435
|
-
var
|
|
1435
|
+
var VeltCommentDialogPriorityDropdownTriggerIconWireframe = function (props) {
|
|
1436
1436
|
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
1437
1437
|
return (React.createElement("velt-comment-dialog-priority-dropdown-trigger-icon-wireframe", __assign({}, remainingProps), children));
|
|
1438
1438
|
};
|
|
1439
1439
|
|
|
1440
|
-
var
|
|
1440
|
+
var VeltCommentDialogPriorityDropdownTriggerNameWireframe = function (props) {
|
|
1441
1441
|
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
1442
1442
|
return (React.createElement("velt-comment-dialog-priority-dropdown-trigger-name-wireframe", __assign({}, remainingProps), children));
|
|
1443
1443
|
};
|
|
1444
1444
|
|
|
1445
|
-
var
|
|
1445
|
+
var VeltCommentDialogPriorityDropdownTriggerWireframe = function (props) {
|
|
1446
1446
|
var children = props.children, remainingProp = __rest(props, ["children"]);
|
|
1447
1447
|
return (React.createElement("velt-comment-dialog-priority-dropdown-trigger-wireframe", __assign({}, remainingProp), children));
|
|
1448
1448
|
};
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1449
|
+
VeltCommentDialogPriorityDropdownTriggerWireframe.Arrow = VeltCommentDialogPriorityDropdownTriggerArrowWireframe;
|
|
1450
|
+
VeltCommentDialogPriorityDropdownTriggerWireframe.Name = VeltCommentDialogPriorityDropdownTriggerNameWireframe;
|
|
1451
|
+
VeltCommentDialogPriorityDropdownTriggerWireframe.Icon = VeltCommentDialogPriorityDropdownTriggerIconWireframe;
|
|
1452
1452
|
|
|
1453
1453
|
var VeltCommentDialogPriority = function (props) {
|
|
1454
1454
|
var children = props.children, remainingProp = __rest(props, ["children"]);
|
|
1455
1455
|
return (React.createElement("velt-comment-dialog-priority-wireframe", __assign({}, remainingProp), children));
|
|
1456
1456
|
};
|
|
1457
|
-
VeltCommentDialogPriority.Content =
|
|
1458
|
-
VeltCommentDialogPriority.Trigger =
|
|
1457
|
+
VeltCommentDialogPriority.Content = VeltCommentDialogPriorityDropdownContentWireframe;
|
|
1458
|
+
VeltCommentDialogPriority.Trigger = VeltCommentDialogPriorityDropdownTriggerWireframe;
|
|
1459
1459
|
|
|
1460
1460
|
var VeltCommentDialogPrivateBadge = function (props) {
|
|
1461
1461
|
var children = props.children, remainingProp = __rest(props, ["children"]);
|
|
@@ -1477,58 +1477,58 @@ var VeltCommentDialogSignIn = function (props) {
|
|
|
1477
1477
|
return (React.createElement("velt-comment-dialog-sign-in-wireframe", __assign({}, remainingProp), children));
|
|
1478
1478
|
};
|
|
1479
1479
|
|
|
1480
|
-
var
|
|
1480
|
+
var VeltCommentDialogStatusDropdownContentItemIconWireframe = function (props) {
|
|
1481
1481
|
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
1482
1482
|
return (React.createElement("velt-comment-dialog-status-dropdown-content-item-icon-wireframe", __assign({}, remainingProps), children));
|
|
1483
1483
|
};
|
|
1484
1484
|
|
|
1485
|
-
var
|
|
1485
|
+
var VeltCommentDialogStatusDropdownContentItemNameWireframe = function (props) {
|
|
1486
1486
|
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
1487
1487
|
return (React.createElement("velt-comment-dialog-status-dropdown-content-item-name-wireframe", __assign({}, remainingProps), children));
|
|
1488
1488
|
};
|
|
1489
1489
|
|
|
1490
|
-
var
|
|
1490
|
+
var VeltCommentDialogStatusDropdownContentItemWireframe = function (props) {
|
|
1491
1491
|
var children = props.children, remainingProp = __rest(props, ["children"]);
|
|
1492
1492
|
return (React.createElement("velt-comment-dialog-status-dropdown-content-item-wireframe", __assign({}, remainingProp), children));
|
|
1493
1493
|
};
|
|
1494
|
-
|
|
1495
|
-
|
|
1494
|
+
VeltCommentDialogStatusDropdownContentItemWireframe.Icon = VeltCommentDialogStatusDropdownContentItemIconWireframe;
|
|
1495
|
+
VeltCommentDialogStatusDropdownContentItemWireframe.Name = VeltCommentDialogStatusDropdownContentItemNameWireframe;
|
|
1496
1496
|
|
|
1497
|
-
var
|
|
1497
|
+
var VeltCommentDialogStatusDropdownContentWireframe = function (props) {
|
|
1498
1498
|
var children = props.children, remainingProp = __rest(props, ["children"]);
|
|
1499
1499
|
return (React.createElement("velt-comment-dialog-status-dropdown-content-wireframe", __assign({}, remainingProp), children));
|
|
1500
1500
|
};
|
|
1501
|
-
|
|
1501
|
+
VeltCommentDialogStatusDropdownContentWireframe.Item = VeltCommentDialogStatusDropdownContentItemWireframe;
|
|
1502
1502
|
|
|
1503
|
-
var
|
|
1503
|
+
var VeltCommentDialogStatusDropdownTriggerArrowWireframe = function (props) {
|
|
1504
1504
|
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
1505
1505
|
return (React.createElement("velt-comment-dialog-status-dropdown-trigger-arrow-wireframe", __assign({}, remainingProps), children));
|
|
1506
1506
|
};
|
|
1507
1507
|
|
|
1508
|
-
var
|
|
1508
|
+
var VeltCommentDialogStatusDropdownTriggerIconWireframe = function (props) {
|
|
1509
1509
|
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
1510
1510
|
return (React.createElement("velt-comment-dialog-status-dropdown-trigger-icon-wireframe", __assign({}, remainingProps), children));
|
|
1511
1511
|
};
|
|
1512
1512
|
|
|
1513
|
-
var
|
|
1513
|
+
var VeltCommentDialogStatusDropdownTriggerNameWireframe = function (props) {
|
|
1514
1514
|
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
1515
1515
|
return (React.createElement("velt-comment-dialog-status-dropdown-trigger-name-wireframe", __assign({}, remainingProps), children));
|
|
1516
1516
|
};
|
|
1517
1517
|
|
|
1518
|
-
var
|
|
1518
|
+
var VeltCommentDialogStatusDropdownTriggerWireframe = function (props) {
|
|
1519
1519
|
var children = props.children, remainingProp = __rest(props, ["children"]);
|
|
1520
1520
|
return (React.createElement("velt-comment-dialog-status-dropdown-trigger-wireframe", __assign({}, remainingProp), children));
|
|
1521
1521
|
};
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1522
|
+
VeltCommentDialogStatusDropdownTriggerWireframe.Arrow = VeltCommentDialogStatusDropdownTriggerArrowWireframe;
|
|
1523
|
+
VeltCommentDialogStatusDropdownTriggerWireframe.Name = VeltCommentDialogStatusDropdownTriggerNameWireframe;
|
|
1524
|
+
VeltCommentDialogStatusDropdownTriggerWireframe.Icon = VeltCommentDialogStatusDropdownTriggerIconWireframe;
|
|
1525
1525
|
|
|
1526
1526
|
var VeltCommentDialogStatus = function (props) {
|
|
1527
1527
|
var children = props.children, remainingProp = __rest(props, ["children"]);
|
|
1528
1528
|
return (React.createElement("velt-comment-dialog-status-wireframe", __assign({}, remainingProp), children));
|
|
1529
1529
|
};
|
|
1530
|
-
VeltCommentDialogStatus.Content =
|
|
1531
|
-
VeltCommentDialogStatus.Trigger =
|
|
1530
|
+
VeltCommentDialogStatus.Content = VeltCommentDialogStatusDropdownContentWireframe;
|
|
1531
|
+
VeltCommentDialogStatus.Trigger = VeltCommentDialogStatusDropdownTriggerWireframe;
|
|
1532
1532
|
|
|
1533
1533
|
var VeltCommentDialogSuggestionActionAccept = function (props) {
|
|
1534
1534
|
var children = props.children, remainingProp = __rest(props, ["children"]);
|
|
@@ -1636,8 +1636,8 @@ var VeltCommentDialogThreadCardOptions = function (props) {
|
|
|
1636
1636
|
var children = props.children, remainingProp = __rest(props, ["children"]);
|
|
1637
1637
|
return (React.createElement("velt-comment-dialog-thread-card-options-wireframe", __assign({}, remainingProp), children));
|
|
1638
1638
|
};
|
|
1639
|
-
VeltCommentDialogThreadCardOptions.Content =
|
|
1640
|
-
VeltCommentDialogThreadCardOptions.Trigger =
|
|
1639
|
+
VeltCommentDialogThreadCardOptions.Content = VeltCommentDialogOptionsDropdownContentWireframe;
|
|
1640
|
+
VeltCommentDialogThreadCardOptions.Trigger = VeltCommentDialogOptionsDropdownTriggerWireframe;
|
|
1641
1641
|
|
|
1642
1642
|
var VeltCommentDialogThreadCardReactionTool = function (props) {
|
|
1643
1643
|
var children = props.children, remainingProp = __rest(props, ["children"]);
|
|
@@ -2052,6 +2052,13 @@ var VeltCommentBubbleCommentsCount = function (props) {
|
|
|
2052
2052
|
return (React.createElement("velt-comment-bubble-comments-count-wireframe", null, children));
|
|
2053
2053
|
};
|
|
2054
2054
|
|
|
2055
|
+
var VeltCommentBubbleWireframe = function (props) {
|
|
2056
|
+
var children = props.children, remainingProp = __rest(props, ["children"]);
|
|
2057
|
+
return (React.createElement("velt-comment-bubble-wireframe", __assign({}, remainingProp), children));
|
|
2058
|
+
};
|
|
2059
|
+
VeltCommentBubbleWireframe.Avatar = VeltCommentBubbleAvatar;
|
|
2060
|
+
VeltCommentBubbleWireframe.CommentsCount = VeltCommentBubbleCommentsCount;
|
|
2061
|
+
|
|
2055
2062
|
var VeltReactionToolWireframe = function (props) {
|
|
2056
2063
|
var children = props.children, remainingProp = __rest(props, ["children"]);
|
|
2057
2064
|
return (React.createElement("velt-reaction-tool-wireframe", __assign({}, remainingProp), children));
|
|
@@ -2328,13 +2335,13 @@ function useLiveStateSyncUtils() {
|
|
|
2328
2335
|
}, [client, setLiveStateSyncElement, liveStateSyncElement]);
|
|
2329
2336
|
return liveStateSyncElement;
|
|
2330
2337
|
}
|
|
2331
|
-
function useLiveStateData(liveStateDataId) {
|
|
2338
|
+
function useLiveStateData(liveStateDataId, listenToNewChangesOnly) {
|
|
2332
2339
|
var liveStateSyncElement = useLiveStateSyncUtils();
|
|
2333
2340
|
var _a = React.useState(), data = _a[0], setData = _a[1];
|
|
2334
2341
|
useEffect(function () {
|
|
2335
2342
|
if (!(liveStateSyncElement === null || liveStateSyncElement === void 0 ? void 0 : liveStateSyncElement.getLiveStateData))
|
|
2336
2343
|
return;
|
|
2337
|
-
var subscription = liveStateSyncElement.getLiveStateData(liveStateDataId).subscribe(function (res) {
|
|
2344
|
+
var subscription = liveStateSyncElement.getLiveStateData(liveStateDataId, listenToNewChangesOnly).subscribe(function (res) {
|
|
2338
2345
|
setData(res);
|
|
2339
2346
|
});
|
|
2340
2347
|
return function () {
|
|
@@ -2443,7 +2450,7 @@ function useLiveState(liveStateDataId, initialValue, options) {
|
|
|
2443
2450
|
}
|
|
2444
2451
|
});
|
|
2445
2452
|
}
|
|
2446
|
-
var subscription = liveStateSyncElement.getLiveStateData(liveStateDataId).subscribe(function (res) {
|
|
2453
|
+
var subscription = liveStateSyncElement.getLiveStateData(liveStateDataId, options === null || options === void 0 ? void 0 : options.listenToNewChangesOnly).subscribe(function (res) {
|
|
2447
2454
|
setData(res);
|
|
2448
2455
|
});
|
|
2449
2456
|
return function () {
|
|
@@ -2772,5 +2779,5 @@ var logLiveState = function (action, liveStateDataId) {
|
|
|
2772
2779
|
}
|
|
2773
2780
|
};
|
|
2774
2781
|
|
|
2775
|
-
export { SnippylyArrowTool as VeltArrowTool, SnippylyArrows as VeltArrows, VeltAutocomplete, VeltAutocompleteChipTooltipWireframe, VeltAutocompleteOptionWireframe, VeltChartComment, SnippylyCommentBubble as VeltCommentBubble,
|
|
2782
|
+
export { SnippylyArrowTool as VeltArrowTool, SnippylyArrows as VeltArrows, VeltAutocomplete, VeltAutocompleteChipTooltipWireframe, VeltAutocompleteOptionWireframe, VeltChartComment, SnippylyCommentBubble as VeltCommentBubble, VeltCommentBubbleWireframe, VeltCommentDialogOptionsDropdownContentWireframe, VeltCommentDialogOptionsDropdownTriggerWireframe, VeltCommentDialogPriorityDropdownContentWireframe, VeltCommentDialogPriorityDropdownTriggerWireframe, VeltCommentDialogStatusDropdownContentWireframe, VeltCommentDialogStatusDropdownTriggerWireframe, VeltCommentDialogWireframe, VeltCommentPinWireframe, VeltCommentPlayerTimeline, VeltCommentThread, SnippylyCommentTool as VeltCommentTool, VeltCommentToolWireframe, SnippylyComments as VeltComments, SnippylyCommentsSidebar as VeltCommentsSidebar, VeltCommentsSidebarWireframe, SnippylyCursor as VeltCursor, VeltHighChartComments, SnippylyHuddle as VeltHuddle, SnippylyHuddleTool as VeltHuddleTool, VeltNivoChartComments, VeltNotificationsHistoryPanel, VeltNotificationsPanel, VeltNotificationsTool, SnippylyPresence as VeltPresence, SnippylyProvider as VeltProvider, VeltReactionPinTooltipWireframe, VeltReactionPinWireframe, VeltReactionToolWireframe, VeltReactionsPanelWireframe, SnippylyRecorderControlPanel as VeltRecorderControlPanel, SnippylyRecorderNotes as VeltRecorderNotes, SnippylyRecorderPlayer as VeltRecorderPlayer, SnippylyRecorderTool as VeltRecorderTool, SnippylySidebarButton as VeltSidebarButton, VeltSidebarButtonWireframe, SnippylyTagTool as VeltTagTool, SnippylyTags as VeltTags, VeltTextCommentToolWireframe, VeltTextCommentToolbar as VeltTextCommentToolbarWireframe, SnippylyUserInviteTool as VeltUserInviteTool, SnippylyUserRequestTool as VeltUserRequestTool, VeltUserSelectorDropdown as VeltUserSelectorDropdownWireframe, VeltVideoPlayer, VeltViewAnalytics, VeltWireframe, createLiveStateMiddleware, useAIRewriterUtils, useAutocompleteChipClick, useAutocompleteUtils, useClient, useCommentAddHandler, useCommentAnnotations, useCommentDialogSidebarClickHandler, useCommentModeState, useCommentSelectionChangeHandler, useCommentUpdateHandler, useCommentUtils, useCursorUsers, useCursorUtils, useEditor, useEditorAccessRequestHandler, useEditorAccessTimer, useHuddleUtils, useIdentify, useLiveSelectionUtils, useLiveState, useLiveStateData, useLiveStateSyncUtils, useNotificationUtils, useNotificationsData, usePresenceUsers, usePresenceUtils, useRecorderAddHandler, useRecorderUtils, useSetDocumentId, useSetLiveStateData, useSetLocation, useTagAnnotations, useTagUtils, useUniqueViewsByDate, useUniqueViewsByUser, useUnsetDocumentId, useUserEditorState, useVeltClient, useVeltInitState, useViewsUtils };
|
|
2776
2783
|
//# sourceMappingURL=index.js.map
|