@veltdev/react 4.5.0-beta.2 → 4.5.0-beta.21

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.
Files changed (202) hide show
  1. package/cjs/index.js +441 -19
  2. package/cjs/index.js.map +1 -1
  3. package/cjs/types/components/Snippyly/Snippyly.d.ts +1 -0
  4. package/cjs/types/components/SnippylyCommentBubble/SnippylyCommentBubble.d.ts +6 -0
  5. package/cjs/types/components/SnippylyCommentTool/SnippylyCommentTool.d.ts +5 -0
  6. package/cjs/types/components/SnippylyComments/SnippylyComments.d.ts +1 -0
  7. package/cjs/types/components/SnippylyCommentsSidebar/SnippylyCommentsSidebar.d.ts +5 -0
  8. package/cjs/types/components/SnippylyRecorderControlPanel/SnippylyRecorderControlPanel.d.ts +2 -2
  9. package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarDocumentFilterDropdownWireframe/VeltCommentsSidebarDocumentFilterDropdownContent/VeltCommentsSidebarDocumentFilterDropdownContent.d.ts +8 -0
  10. package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarDocumentFilterDropdownWireframe/VeltCommentsSidebarDocumentFilterDropdownContent/index.d.ts +1 -0
  11. package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarDocumentFilterDropdownWireframe/VeltCommentsSidebarDocumentFilterDropdownTrigger/VeltCommentsSidebarDocumentFilterDropdownTrigger.d.ts +10 -0
  12. package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarDocumentFilterDropdownWireframe/VeltCommentsSidebarDocumentFilterDropdownTrigger/VeltCommentsSidebarDocumentFilterDropdownTriggerLabel/VeltCommentsSidebarDocumentFilterDropdownTriggerLabel.d.ts +8 -0
  13. package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarDocumentFilterDropdownWireframe/VeltCommentsSidebarDocumentFilterDropdownTrigger/VeltCommentsSidebarDocumentFilterDropdownTriggerLabel/index.d.ts +1 -0
  14. package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarDocumentFilterDropdownWireframe/VeltCommentsSidebarDocumentFilterDropdownTrigger/index.d.ts +1 -0
  15. package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarDocumentFilterDropdownWireframe/VeltCommentsSidebarDocumentFilterDropdownWireframe.d.ts +12 -0
  16. package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarDocumentFilterDropdownWireframe/index.d.ts +1 -0
  17. package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilter.d.ts +2 -0
  18. package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilterDocument/VeltCommentsSidebarFilterDocument.d.ts +16 -0
  19. package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilterDocument/index.d.ts +1 -0
  20. package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarWireframe.d.ts +2 -0
  21. package/cjs/types/components/VeltNotificationsPanel/VeltNotificationsPanel.d.ts +1 -0
  22. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsButtonWireframe/VeltNotificationsPanelSettingsButtonWireframe.d.ts +8 -0
  23. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsButtonWireframe/index.d.ts +1 -0
  24. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsBackButtonWireframe/VeltNotificationsPanelSettingsBackButtonWireframe.d.ts +8 -0
  25. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsBackButtonWireframe/index.d.ts +1 -0
  26. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsDescriptionWireframe/VeltNotificationsPanelSettingsDescriptionWireframe.d.ts +8 -0
  27. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsDescriptionWireframe/index.d.ts +1 -0
  28. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsFooterWireframe/VeltNotificationsPanelSettingsFooterWireframe.d.ts +8 -0
  29. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsFooterWireframe/index.d.ts +1 -0
  30. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsHeaderWireframe/VeltNotificationsPanelSettingsHeaderTitleWireframe/VeltNotificationsPanelSettingsHeaderTitleWireframe.d.ts +8 -0
  31. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsHeaderWireframe/VeltNotificationsPanelSettingsHeaderTitleWireframe/index.d.ts +1 -0
  32. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsHeaderWireframe/VeltNotificationsPanelSettingsHeaderWireframe.d.ts +10 -0
  33. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsHeaderWireframe/index.d.ts +1 -0
  34. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionContentWireframe/VeltNotificationsPanelSettingsAccordionContentItemWireframe/VeltNotificationsPanelSettingsAccordionContentItemIconWireframe/VeltNotificationsPanelSettingsAccordionContentItemIconWireframe.d.ts +8 -0
  35. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionContentWireframe/VeltNotificationsPanelSettingsAccordionContentItemWireframe/VeltNotificationsPanelSettingsAccordionContentItemIconWireframe/index.d.ts +1 -0
  36. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionContentWireframe/VeltNotificationsPanelSettingsAccordionContentItemWireframe/VeltNotificationsPanelSettingsAccordionContentItemLabelWireframe/VeltNotificationsPanelSettingsAccordionContentItemLabelWireframe.d.ts +8 -0
  37. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionContentWireframe/VeltNotificationsPanelSettingsAccordionContentItemWireframe/VeltNotificationsPanelSettingsAccordionContentItemLabelWireframe/index.d.ts +1 -0
  38. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionContentWireframe/VeltNotificationsPanelSettingsAccordionContentItemWireframe/VeltNotificationsPanelSettingsAccordionContentItemWireframe.d.ts +12 -0
  39. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionContentWireframe/VeltNotificationsPanelSettingsAccordionContentItemWireframe/index.d.ts +1 -0
  40. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionContentWireframe/VeltNotificationsPanelSettingsAccordionContentWireframe.d.ts +10 -0
  41. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionContentWireframe/index.d.ts +1 -0
  42. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionTriggerWireframe/VeltNotificationsPanelSettingsAccordionTriggerIconWireframe/VeltNotificationsPanelSettingsAccordionTriggerIconWireframe.d.ts +8 -0
  43. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionTriggerWireframe/VeltNotificationsPanelSettingsAccordionTriggerIconWireframe/index.d.ts +1 -0
  44. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionTriggerWireframe/VeltNotificationsPanelSettingsAccordionTriggerLabelWireframe/VeltNotificationsPanelSettingsAccordionTriggerLabelWireframe.d.ts +8 -0
  45. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionTriggerWireframe/VeltNotificationsPanelSettingsAccordionTriggerLabelWireframe/index.d.ts +1 -0
  46. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionTriggerWireframe/VeltNotificationsPanelSettingsAccordionTriggerSelectedValueWireframe/VeltNotificationsPanelSettingsAccordionTriggerSelectedValueWireframe.d.ts +8 -0
  47. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionTriggerWireframe/VeltNotificationsPanelSettingsAccordionTriggerSelectedValueWireframe/index.d.ts +1 -0
  48. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionTriggerWireframe/VeltNotificationsPanelSettingsAccordionTriggerWireframe.d.ts +14 -0
  49. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionTriggerWireframe/index.d.ts +1 -0
  50. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionWireframe.d.ts +12 -0
  51. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/index.d.ts +1 -0
  52. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsListWireframe.d.ts +10 -0
  53. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/index.d.ts +1 -0
  54. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsMuteAllDescriptionWireframe/VeltNotificationsPanelSettingsMuteAllDescriptionWireframe.d.ts +8 -0
  55. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsMuteAllDescriptionWireframe/index.d.ts +1 -0
  56. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsMuteAllTitleWireframe/VeltNotificationsPanelSettingsMuteAllTitleWireframe.d.ts +8 -0
  57. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsMuteAllTitleWireframe/index.d.ts +1 -0
  58. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsMuteAllToggleWireframe/VeltNotificationsPanelSettingsMuteAllToggleWireframe.d.ts +8 -0
  59. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsMuteAllToggleWireframe/index.d.ts +1 -0
  60. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsTitleWireframe/VeltNotificationsPanelSettingsTitleWireframe.d.ts +8 -0
  61. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsTitleWireframe/index.d.ts +1 -0
  62. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsWireframe.d.ts +26 -0
  63. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/index.d.ts +1 -0
  64. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelWireframe.d.ts +4 -0
  65. package/cjs/types/components/VeltNotificationsTool/VeltNotificationsTool.d.ts +1 -0
  66. package/cjs/types/components/VeltRecorderPlayerWireframe/VeltRecorderPlayerEditButtonWireframe/VeltRecorderPlayerEditButtonWireframe.d.ts +8 -0
  67. package/cjs/types/components/VeltRecorderPlayerWireframe/VeltRecorderPlayerEditButtonWireframe/index.d.ts +1 -0
  68. package/cjs/types/components/VeltRecorderPlayerWireframe/VeltRecorderPlayerVideoContainerWireframe/VeltRecorderPlayerVideoContainerWireframe.d.ts +2 -0
  69. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerDownloadButtonWireframe/VeltVideoEditorPlayerDownloadButtonWireframe.d.ts +8 -0
  70. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerDownloadButtonWireframe/index.d.ts +1 -0
  71. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTimelineWireframe/VeltVideoEditorPlayerTimelineContainerWireframe/VeltVideoEditorPlayerTimelineContainerWireframe.d.ts +8 -0
  72. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTimelineWireframe/VeltVideoEditorPlayerTimelineContainerWireframe/index.d.ts +1 -0
  73. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTimelineWireframe/VeltVideoEditorPlayerTimelineMarkerWireframe/VeltVideoEditorPlayerTimelineMarkerWireframe.d.ts +8 -0
  74. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTimelineWireframe/VeltVideoEditorPlayerTimelineMarkerWireframe/index.d.ts +1 -0
  75. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTimelineWireframe/VeltVideoEditorPlayerTimelinePlayheadWireframe/VeltVideoEditorPlayerTimelinePlayheadWireframe.d.ts +8 -0
  76. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTimelineWireframe/VeltVideoEditorPlayerTimelinePlayheadWireframe/index.d.ts +1 -0
  77. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTimelineWireframe/VeltVideoEditorPlayerTimelineScaleWireframe/VeltVideoEditorPlayerTimelineScaleWireframe.d.ts +10 -0
  78. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTimelineWireframe/VeltVideoEditorPlayerTimelineScaleWireframe/index.d.ts +1 -0
  79. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTimelineWireframe/VeltVideoEditorPlayerTimelineTrimWireframe/VeltVideoEditorPlayerTimelineTrimWireframe.d.ts +8 -0
  80. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTimelineWireframe/VeltVideoEditorPlayerTimelineTrimWireframe/index.d.ts +1 -0
  81. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTimelineWireframe/VeltVideoEditorPlayerTimelineWireframe.d.ts +10 -0
  82. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerWireframe.d.ts +2 -0
  83. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerZoomButtonWireframe/VeltVideoEditorPlayerZoomButtonOptionsWireframe/VeltVideoEditorPlayerZoomButtonOptionsInputWireframe/VeltVideoEditorPlayerZoomButtonOptionsInputWireframe.d.ts +8 -0
  84. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerZoomButtonWireframe/VeltVideoEditorPlayerZoomButtonOptionsWireframe/VeltVideoEditorPlayerZoomButtonOptionsInputWireframe/index.d.ts +1 -0
  85. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerZoomButtonWireframe/VeltVideoEditorPlayerZoomButtonOptionsWireframe/VeltVideoEditorPlayerZoomButtonOptionsListWireframe/VeltVideoEditorPlayerZoomButtonOptionsListItemWireframe/VeltVideoEditorPlayerZoomButtonOptionsListItemWireframe.d.ts +8 -0
  86. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerZoomButtonWireframe/VeltVideoEditorPlayerZoomButtonOptionsWireframe/VeltVideoEditorPlayerZoomButtonOptionsListWireframe/VeltVideoEditorPlayerZoomButtonOptionsListItemWireframe/index.d.ts +1 -0
  87. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerZoomButtonWireframe/VeltVideoEditorPlayerZoomButtonOptionsWireframe/VeltVideoEditorPlayerZoomButtonOptionsListWireframe/VeltVideoEditorPlayerZoomButtonOptionsListWireframe.d.ts +10 -0
  88. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerZoomButtonWireframe/VeltVideoEditorPlayerZoomButtonOptionsWireframe/VeltVideoEditorPlayerZoomButtonOptionsListWireframe/index.d.ts +1 -0
  89. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerZoomButtonWireframe/VeltVideoEditorPlayerZoomButtonOptionsWireframe/VeltVideoEditorPlayerZoomButtonOptionsWireframe.d.ts +12 -0
  90. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerZoomButtonWireframe/VeltVideoEditorPlayerZoomButtonOptionsWireframe/index.d.ts +1 -0
  91. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerZoomButtonWireframe/VeltVideoEditorPlayerZoomButtonTriggerWireframe/VeltVideoEditorPlayerZoomButtonTriggerWireframe.d.ts +8 -0
  92. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerZoomButtonWireframe/VeltVideoEditorPlayerZoomButtonTriggerWireframe/index.d.ts +1 -0
  93. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerZoomButtonWireframe/VeltVideoEditorPlayerZoomButtonWireframe.d.ts +12 -0
  94. package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerZoomButtonWireframe/index.d.ts +1 -0
  95. package/cjs/types/constants.d.ts +2 -1
  96. package/cjs/types/hooks/Client.d.ts +10 -1
  97. package/cjs/types/hooks/NotificationsActions.d.ts +2 -0
  98. package/cjs/types/hooks/PresenceElement.d.ts +5 -1
  99. package/cjs/types/hooks/index.d.ts +3 -2
  100. package/cjs/types/loadSnippyly.d.ts +1 -1
  101. package/esm/index.js +437 -20
  102. package/esm/index.js.map +1 -1
  103. package/esm/types/components/Snippyly/Snippyly.d.ts +1 -0
  104. package/esm/types/components/SnippylyCommentBubble/SnippylyCommentBubble.d.ts +6 -0
  105. package/esm/types/components/SnippylyCommentTool/SnippylyCommentTool.d.ts +5 -0
  106. package/esm/types/components/SnippylyComments/SnippylyComments.d.ts +1 -0
  107. package/esm/types/components/SnippylyCommentsSidebar/SnippylyCommentsSidebar.d.ts +5 -0
  108. package/esm/types/components/SnippylyRecorderControlPanel/SnippylyRecorderControlPanel.d.ts +2 -2
  109. package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarDocumentFilterDropdownWireframe/VeltCommentsSidebarDocumentFilterDropdownContent/VeltCommentsSidebarDocumentFilterDropdownContent.d.ts +8 -0
  110. package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarDocumentFilterDropdownWireframe/VeltCommentsSidebarDocumentFilterDropdownContent/index.d.ts +1 -0
  111. package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarDocumentFilterDropdownWireframe/VeltCommentsSidebarDocumentFilterDropdownTrigger/VeltCommentsSidebarDocumentFilterDropdownTrigger.d.ts +10 -0
  112. package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarDocumentFilterDropdownWireframe/VeltCommentsSidebarDocumentFilterDropdownTrigger/VeltCommentsSidebarDocumentFilterDropdownTriggerLabel/VeltCommentsSidebarDocumentFilterDropdownTriggerLabel.d.ts +8 -0
  113. package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarDocumentFilterDropdownWireframe/VeltCommentsSidebarDocumentFilterDropdownTrigger/VeltCommentsSidebarDocumentFilterDropdownTriggerLabel/index.d.ts +1 -0
  114. package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarDocumentFilterDropdownWireframe/VeltCommentsSidebarDocumentFilterDropdownTrigger/index.d.ts +1 -0
  115. package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarDocumentFilterDropdownWireframe/VeltCommentsSidebarDocumentFilterDropdownWireframe.d.ts +12 -0
  116. package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarDocumentFilterDropdownWireframe/index.d.ts +1 -0
  117. package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilter.d.ts +2 -0
  118. package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilterDocument/VeltCommentsSidebarFilterDocument.d.ts +16 -0
  119. package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilterDocument/index.d.ts +1 -0
  120. package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarWireframe.d.ts +2 -0
  121. package/esm/types/components/VeltNotificationsPanel/VeltNotificationsPanel.d.ts +1 -0
  122. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsButtonWireframe/VeltNotificationsPanelSettingsButtonWireframe.d.ts +8 -0
  123. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsButtonWireframe/index.d.ts +1 -0
  124. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsBackButtonWireframe/VeltNotificationsPanelSettingsBackButtonWireframe.d.ts +8 -0
  125. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsBackButtonWireframe/index.d.ts +1 -0
  126. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsDescriptionWireframe/VeltNotificationsPanelSettingsDescriptionWireframe.d.ts +8 -0
  127. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsDescriptionWireframe/index.d.ts +1 -0
  128. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsFooterWireframe/VeltNotificationsPanelSettingsFooterWireframe.d.ts +8 -0
  129. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsFooterWireframe/index.d.ts +1 -0
  130. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsHeaderWireframe/VeltNotificationsPanelSettingsHeaderTitleWireframe/VeltNotificationsPanelSettingsHeaderTitleWireframe.d.ts +8 -0
  131. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsHeaderWireframe/VeltNotificationsPanelSettingsHeaderTitleWireframe/index.d.ts +1 -0
  132. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsHeaderWireframe/VeltNotificationsPanelSettingsHeaderWireframe.d.ts +10 -0
  133. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsHeaderWireframe/index.d.ts +1 -0
  134. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionContentWireframe/VeltNotificationsPanelSettingsAccordionContentItemWireframe/VeltNotificationsPanelSettingsAccordionContentItemIconWireframe/VeltNotificationsPanelSettingsAccordionContentItemIconWireframe.d.ts +8 -0
  135. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionContentWireframe/VeltNotificationsPanelSettingsAccordionContentItemWireframe/VeltNotificationsPanelSettingsAccordionContentItemIconWireframe/index.d.ts +1 -0
  136. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionContentWireframe/VeltNotificationsPanelSettingsAccordionContentItemWireframe/VeltNotificationsPanelSettingsAccordionContentItemLabelWireframe/VeltNotificationsPanelSettingsAccordionContentItemLabelWireframe.d.ts +8 -0
  137. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionContentWireframe/VeltNotificationsPanelSettingsAccordionContentItemWireframe/VeltNotificationsPanelSettingsAccordionContentItemLabelWireframe/index.d.ts +1 -0
  138. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionContentWireframe/VeltNotificationsPanelSettingsAccordionContentItemWireframe/VeltNotificationsPanelSettingsAccordionContentItemWireframe.d.ts +12 -0
  139. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionContentWireframe/VeltNotificationsPanelSettingsAccordionContentItemWireframe/index.d.ts +1 -0
  140. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionContentWireframe/VeltNotificationsPanelSettingsAccordionContentWireframe.d.ts +10 -0
  141. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionContentWireframe/index.d.ts +1 -0
  142. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionTriggerWireframe/VeltNotificationsPanelSettingsAccordionTriggerIconWireframe/VeltNotificationsPanelSettingsAccordionTriggerIconWireframe.d.ts +8 -0
  143. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionTriggerWireframe/VeltNotificationsPanelSettingsAccordionTriggerIconWireframe/index.d.ts +1 -0
  144. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionTriggerWireframe/VeltNotificationsPanelSettingsAccordionTriggerLabelWireframe/VeltNotificationsPanelSettingsAccordionTriggerLabelWireframe.d.ts +8 -0
  145. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionTriggerWireframe/VeltNotificationsPanelSettingsAccordionTriggerLabelWireframe/index.d.ts +1 -0
  146. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionTriggerWireframe/VeltNotificationsPanelSettingsAccordionTriggerSelectedValueWireframe/VeltNotificationsPanelSettingsAccordionTriggerSelectedValueWireframe.d.ts +8 -0
  147. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionTriggerWireframe/VeltNotificationsPanelSettingsAccordionTriggerSelectedValueWireframe/index.d.ts +1 -0
  148. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionTriggerWireframe/VeltNotificationsPanelSettingsAccordionTriggerWireframe.d.ts +14 -0
  149. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionTriggerWireframe/index.d.ts +1 -0
  150. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionWireframe.d.ts +12 -0
  151. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/index.d.ts +1 -0
  152. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsListWireframe.d.ts +10 -0
  153. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/index.d.ts +1 -0
  154. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsMuteAllDescriptionWireframe/VeltNotificationsPanelSettingsMuteAllDescriptionWireframe.d.ts +8 -0
  155. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsMuteAllDescriptionWireframe/index.d.ts +1 -0
  156. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsMuteAllTitleWireframe/VeltNotificationsPanelSettingsMuteAllTitleWireframe.d.ts +8 -0
  157. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsMuteAllTitleWireframe/index.d.ts +1 -0
  158. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsMuteAllToggleWireframe/VeltNotificationsPanelSettingsMuteAllToggleWireframe.d.ts +8 -0
  159. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsMuteAllToggleWireframe/index.d.ts +1 -0
  160. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsTitleWireframe/VeltNotificationsPanelSettingsTitleWireframe.d.ts +8 -0
  161. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsTitleWireframe/index.d.ts +1 -0
  162. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsWireframe.d.ts +26 -0
  163. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/index.d.ts +1 -0
  164. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelWireframe.d.ts +4 -0
  165. package/esm/types/components/VeltNotificationsTool/VeltNotificationsTool.d.ts +1 -0
  166. package/esm/types/components/VeltRecorderPlayerWireframe/VeltRecorderPlayerEditButtonWireframe/VeltRecorderPlayerEditButtonWireframe.d.ts +8 -0
  167. package/esm/types/components/VeltRecorderPlayerWireframe/VeltRecorderPlayerEditButtonWireframe/index.d.ts +1 -0
  168. package/esm/types/components/VeltRecorderPlayerWireframe/VeltRecorderPlayerVideoContainerWireframe/VeltRecorderPlayerVideoContainerWireframe.d.ts +2 -0
  169. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerDownloadButtonWireframe/VeltVideoEditorPlayerDownloadButtonWireframe.d.ts +8 -0
  170. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerDownloadButtonWireframe/index.d.ts +1 -0
  171. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTimelineWireframe/VeltVideoEditorPlayerTimelineContainerWireframe/VeltVideoEditorPlayerTimelineContainerWireframe.d.ts +8 -0
  172. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTimelineWireframe/VeltVideoEditorPlayerTimelineContainerWireframe/index.d.ts +1 -0
  173. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTimelineWireframe/VeltVideoEditorPlayerTimelineMarkerWireframe/VeltVideoEditorPlayerTimelineMarkerWireframe.d.ts +8 -0
  174. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTimelineWireframe/VeltVideoEditorPlayerTimelineMarkerWireframe/index.d.ts +1 -0
  175. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTimelineWireframe/VeltVideoEditorPlayerTimelinePlayheadWireframe/VeltVideoEditorPlayerTimelinePlayheadWireframe.d.ts +8 -0
  176. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTimelineWireframe/VeltVideoEditorPlayerTimelinePlayheadWireframe/index.d.ts +1 -0
  177. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTimelineWireframe/VeltVideoEditorPlayerTimelineScaleWireframe/VeltVideoEditorPlayerTimelineScaleWireframe.d.ts +10 -0
  178. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTimelineWireframe/VeltVideoEditorPlayerTimelineScaleWireframe/index.d.ts +1 -0
  179. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTimelineWireframe/VeltVideoEditorPlayerTimelineTrimWireframe/VeltVideoEditorPlayerTimelineTrimWireframe.d.ts +8 -0
  180. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTimelineWireframe/VeltVideoEditorPlayerTimelineTrimWireframe/index.d.ts +1 -0
  181. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerTimelineWireframe/VeltVideoEditorPlayerTimelineWireframe.d.ts +10 -0
  182. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerWireframe.d.ts +2 -0
  183. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerZoomButtonWireframe/VeltVideoEditorPlayerZoomButtonOptionsWireframe/VeltVideoEditorPlayerZoomButtonOptionsInputWireframe/VeltVideoEditorPlayerZoomButtonOptionsInputWireframe.d.ts +8 -0
  184. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerZoomButtonWireframe/VeltVideoEditorPlayerZoomButtonOptionsWireframe/VeltVideoEditorPlayerZoomButtonOptionsInputWireframe/index.d.ts +1 -0
  185. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerZoomButtonWireframe/VeltVideoEditorPlayerZoomButtonOptionsWireframe/VeltVideoEditorPlayerZoomButtonOptionsListWireframe/VeltVideoEditorPlayerZoomButtonOptionsListItemWireframe/VeltVideoEditorPlayerZoomButtonOptionsListItemWireframe.d.ts +8 -0
  186. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerZoomButtonWireframe/VeltVideoEditorPlayerZoomButtonOptionsWireframe/VeltVideoEditorPlayerZoomButtonOptionsListWireframe/VeltVideoEditorPlayerZoomButtonOptionsListItemWireframe/index.d.ts +1 -0
  187. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerZoomButtonWireframe/VeltVideoEditorPlayerZoomButtonOptionsWireframe/VeltVideoEditorPlayerZoomButtonOptionsListWireframe/VeltVideoEditorPlayerZoomButtonOptionsListWireframe.d.ts +10 -0
  188. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerZoomButtonWireframe/VeltVideoEditorPlayerZoomButtonOptionsWireframe/VeltVideoEditorPlayerZoomButtonOptionsListWireframe/index.d.ts +1 -0
  189. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerZoomButtonWireframe/VeltVideoEditorPlayerZoomButtonOptionsWireframe/VeltVideoEditorPlayerZoomButtonOptionsWireframe.d.ts +12 -0
  190. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerZoomButtonWireframe/VeltVideoEditorPlayerZoomButtonOptionsWireframe/index.d.ts +1 -0
  191. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerZoomButtonWireframe/VeltVideoEditorPlayerZoomButtonTriggerWireframe/VeltVideoEditorPlayerZoomButtonTriggerWireframe.d.ts +8 -0
  192. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerZoomButtonWireframe/VeltVideoEditorPlayerZoomButtonTriggerWireframe/index.d.ts +1 -0
  193. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerZoomButtonWireframe/VeltVideoEditorPlayerZoomButtonWireframe.d.ts +12 -0
  194. package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerZoomButtonWireframe/index.d.ts +1 -0
  195. package/esm/types/constants.d.ts +2 -1
  196. package/esm/types/hooks/Client.d.ts +10 -1
  197. package/esm/types/hooks/NotificationsActions.d.ts +2 -0
  198. package/esm/types/hooks/PresenceElement.d.ts +5 -1
  199. package/esm/types/hooks/index.d.ts +3 -2
  200. package/esm/types/loadSnippyly.d.ts +1 -1
  201. package/index.d.ts +274 -3
  202. package/package.json +1 -1
package/esm/index.js CHANGED
@@ -91,7 +91,7 @@ function useVeltClient() {
91
91
  return useContext(VeltContext);
92
92
  }
93
93
 
94
- var loadVelt = function (callback, version, staging, develop, proxyDomain) {
94
+ var loadVelt = function (callback, version, staging, develop, proxyDomain, integrity, integrityValue) {
95
95
  if (version === void 0) { version = 'latest'; }
96
96
  if (staging === void 0) { staging = false; }
97
97
  if (develop === void 0) { develop = false; }
@@ -118,6 +118,10 @@ var loadVelt = function (callback, version, staging, develop, proxyDomain) {
118
118
  }
119
119
  script.id = 'veltScript';
120
120
  script.type = 'module';
121
+ if (integrity && integrityValue) {
122
+ script.integrity = integrityValue;
123
+ script.crossOrigin = 'anonymous';
124
+ }
121
125
  document.body.appendChild(script);
122
126
  script.onload = function () {
123
127
  if (callback) {
@@ -132,18 +136,40 @@ var loadVelt = function (callback, version, staging, develop, proxyDomain) {
132
136
  }
133
137
  };
134
138
 
135
- var VELT_SDK_VERSION = '4.5.0-beta.2';
139
+ var VELT_SDK_VERSION = '4.5.0-beta.21';
136
140
  var VELT_SDK_INIT_EVENT = 'onVeltInit';
137
141
  var VELT_TAB_ID = 'veltTabId';
142
+ // integrity map for the Velt SDK
143
+ // Note: generate integrity hashes with: https://www.srihash.org/
144
+ var INTEGRITY_MAP = {
145
+ '4.5.0-beta.21': 'sha384-XP/A/Ivjv0sJqkArxIvX2ks08WBXY9Hw4b0x6yYj9lDEyj/wn0p/p1N42bSxnGlz',
146
+ };
138
147
 
139
148
  var SnippylyProvider = function (props) {
140
149
  var apiKey = props.apiKey, user = props.user, config = props.config, documentId = props.documentId, language = props.language, translations = props.translations, autoTranslation = props.autoTranslation, userDataProvider = props.userDataProvider, dataProviders = props.dataProviders, onClientLoad = props.onClientLoad, children = props.children;
141
150
  var _a = useState(null), client = _a[0], setClient = _a[1];
142
151
  useEffect(function () {
143
152
  if (apiKey) {
153
+ var staging = config === null || config === void 0 ? void 0 : config.staging;
154
+ var develop = config === null || config === void 0 ? void 0 : config.develop;
155
+ var version = (config === null || config === void 0 ? void 0 : config.version) || VELT_SDK_VERSION;
156
+ var integrity = !!(config === null || config === void 0 ? void 0 : config.integrity);
157
+ var integrityValue = '';
158
+ if (integrity) {
159
+ if (develop || staging) {
160
+ if (config === null || config === void 0 ? void 0 : config.sriv) {
161
+ integrityValue = config === null || config === void 0 ? void 0 : config.sriv;
162
+ }
163
+ }
164
+ else {
165
+ if (INTEGRITY_MAP[version]) {
166
+ integrityValue = INTEGRITY_MAP[version];
167
+ }
168
+ }
169
+ }
144
170
  loadVelt(function () {
145
171
  initVelt();
146
- }, (config === null || config === void 0 ? void 0 : config.version) || VELT_SDK_VERSION, config === null || config === void 0 ? void 0 : config.staging, config === null || config === void 0 ? void 0 : config.develop, config === null || config === void 0 ? void 0 : config.proxyDomain);
172
+ }, version, staging, develop, config === null || config === void 0 ? void 0 : config.proxyDomain, integrity, integrityValue);
147
173
  }
148
174
  }, []);
149
175
  useEffect(function () {
@@ -235,12 +261,12 @@ var SnippylyProvider = function (props) {
235
261
  };
236
262
 
237
263
  var SnippylyCommentBubble = function (props) {
238
- var targetCommentElementId = props.targetCommentElementId, targetElementId = props.targetElementId, avatar = props.avatar, showAvatar = props.showAvatar, commentBubbleTargetPinHover = props.commentBubbleTargetPinHover, children = props.children, shadowDom = props.shadowDom, variant = props.variant, darkMode = props.darkMode, commentCountType = props.commentCountType;
239
- return (React.createElement("velt-comment-bubble", { "comment-count-type": commentCountType, "target-comment-element-id": targetCommentElementId, "target-element-id": targetElementId, "show-avatar": [true, false].includes(showAvatar) ? (showAvatar ? 'true' : 'false') : undefined, avatar: [true, false].includes(avatar) ? (avatar ? 'true' : 'false') : undefined, "comment-bubble-target-pin-hover": commentBubbleTargetPinHover ? 'true' : undefined, "shadow-dom": [true, false].includes(shadowDom) ? (shadowDom ? 'true' : 'false') : undefined, "dark-mode": [true, false].includes(darkMode) ? (darkMode ? 'true' : 'false') : undefined, variant: variant }, children));
264
+ var targetCommentElementId = props.targetCommentElementId, targetElementId = props.targetElementId, avatar = props.avatar, showAvatar = props.showAvatar, commentBubbleTargetPinHover = props.commentBubbleTargetPinHover, children = props.children, shadowDom = props.shadowDom, variant = props.variant, darkMode = props.darkMode, commentCountType = props.commentCountType, context = props.context, contextOptions = props.contextOptions, annotationId = props.annotationId;
265
+ return (React.createElement("velt-comment-bubble", { "annotation-id": annotationId, "comment-count-type": commentCountType, "target-comment-element-id": targetCommentElementId, "target-element-id": targetElementId, context: JSON.stringify(context), "context-options": JSON.stringify(contextOptions), "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));
240
266
  };
241
267
 
242
268
  var SnippylyComments = function (props) {
243
- 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, fullExpanded = props.fullExpanded, commentToNearestAllowedElement = props.commentToNearestAllowedElement, draftMode = props.draftMode;
269
+ var autoCategorize = props.autoCategorize, streamViewContainerId = props.streamViewContainerId, onSignIn = props.onSignIn, onUpgrade = props.onUpgrade, textMode = props.textMode, popoverMode = props.popoverMode, popoverTriangleComponent = props.popoverTriangleComponent, floatingCommentDialog = props.floatingCommentDialog, moderatorMode = props.moderatorMode, streamMode = props.streamMode, signInButton = props.signInButton, upgradeButton = props.upgradeButton, attachments = props.attachments, recordings = props.recordings, reactions = props.reactions, deviceInfo = props.deviceInfo, commentIndex = props.commentIndex, dialogOnHover = props.dialogOnHover, dialogOnTargetElementClick = props.dialogOnTargetElementClick, priority = props.priority, inboxMode = props.inboxMode, suggestionMode = props.suggestionMode, mobileMode = props.mobileMode, inlineCommentMode = props.inlineCommentMode, privateCommentMode = props.privateCommentMode, minimap = props.minimap, minimapPosition = props.minimapPosition, persistentCommentMode = props.persistentCommentMode, ghostComments = props.ghostComments, ghostCommentsIndicator = props.ghostCommentsIndicator, commentsOnDom = props.commentsOnDom, resolvedCommentsOnDom = props.resolvedCommentsOnDom, filterCommentsOnDom = props.filterCommentsOnDom, bubbleOnPin = props.bubbleOnPin, bubbleOnPinHover = props.bubbleOnPinHover, commentTool = props.commentTool, sidebarButtonOnCommentDialog = props.sidebarButtonOnCommentDialog, deviceIndicatorOnCommentPins = props.deviceIndicatorOnCommentPins, scrollToComment = props.scrollToComment, userMentions = props.userMentions, deleteOnBackspace = props.deleteOnBackspace, hotkey = props.hotkey, recordingSummary = props.recordingSummary, recordingTranscription = props.recordingTranscription, recordingCountdown = props.recordingCountdown, unreadIndicatorMode = props.unreadIndicatorMode, enterKeyToSubmit = props.enterKeyToSubmit, pinShadowDom = props.pinShadowDom, dialogShadowDom = props.dialogShadowDom, persistentCommentShadowDom = props.persistentCommentShadowDom, shadowDom = props.shadowDom, changeDetectionInCommentMode = props.changeDetectionInCommentMode, areaComment = props.areaComment, pinCursorImage = props.pinCursorImage, allowedElementIds = props.allowedElementIds, allowedElementClassNames = props.allowedElementClassNames, allowedElementQuerySelectors = props.allowedElementQuerySelectors, commentPinHighlighter = props.commentPinHighlighter, customReactions = props.customReactions, onCommentAdd = props.onCommentAdd, onCommentUpdate = props.onCommentUpdate, onCommentAccept = props.onCommentAccept, onCommentReject = props.onCommentReject, onSidebarButtonOnCommentDialogClick = props.onSidebarButtonOnCommentDialogClick, onCommentSelectionChange = props.onCommentSelectionChange, customStatus = props.customStatus, customListDataOnAnnotation = props.customListDataOnAnnotation, customListDataOnComment = props.customListDataOnComment, customPriority = props.customPriority, customCategory = props.customCategory, status = props.status, resolveButton = props.resolveButton, darkMode = props.darkMode, onCustomPinInject = props.onCustomPinInject, children = props.children, textCommentToolShadowDom = props.textCommentToolShadowDom, textCommentToolbarShadowDom = props.textCommentToolbarShadowDom, dialogDarkMode = props.dialogDarkMode, pinDarkMode = props.pinDarkMode, textCommentToolDarkMode = props.textCommentToolDarkMode, textCommentToolbarDarkMode = props.textCommentToolbarDarkMode, composerMode = props.composerMode, atHereLabel = props.atHereLabel, atHereDescription = props.atHereDescription, multiThreadMode = props.multiThreadMode, multiThread = props.multiThread, onCopyLink = props.onCopyLink, deleteReplyConfirmation = props.deleteReplyConfirmation, collapsedComments = props.collapsedComments, shortUserName = props.shortUserName, resolveStatusAccessAdminOnly = props.resolveStatusAccessAdminOnly, svgAsImg = props.svgAsImg, seenByUsers = props.seenByUsers, readOnly = props.readOnly, atHereEnabled = props.atHereEnabled, customAutocompleteSearch = props.customAutocompleteSearch, deleteThreadWithFirstComment = props.deleteThreadWithFirstComment, expandMentionGroups = props.expandMentionGroups, showMentionGroupsFirst = props.showMentionGroupsFirst, showMentionGroupsOnly = props.showMentionGroupsOnly, fullExpanded = props.fullExpanded, commentToNearestAllowedElement = props.commentToNearestAllowedElement, draftMode = props.draftMode;
244
270
  var ref = useRef();
245
271
  var onSignInRef = useRef(onSignIn);
246
272
  var onUpgradeRef = useRef(onUpgrade);
@@ -365,7 +391,7 @@ var SnippylyComments = function (props) {
365
391
  }
366
392
  };
367
393
  }, []);
368
- return (React.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, "full-expanded": [true, false].includes(fullExpanded) ? (fullExpanded ? 'true' : 'false') : undefined, "comment-to-nearest-allowed-element": [true, false].includes(commentToNearestAllowedElement) ? (commentToNearestAllowedElement ? 'true' : 'false') : undefined, "draft-mode": [true, false].includes(draftMode) ? (draftMode ? 'true' : 'false') : undefined }, children));
394
+ return (React.createElement("velt-comments", { ref: ref, "at-here-label": atHereLabel, "at-here-description": atHereDescription, "at-here-enabled": [true, false].includes(atHereEnabled) ? (atHereEnabled ? 'true' : 'false') : undefined, "composer-mode": composerMode, "seen-by-users": [true, false].includes(seenByUsers) ? (seenByUsers ? 'true' : 'false') : undefined, "collapsed-comments": [true, false].includes(collapsedComments) ? (collapsedComments ? 'true' : 'false') : undefined, "short-user-name": [true, false].includes(shortUserName) ? (shortUserName ? 'true' : 'false') : undefined, "resolve-status-access-admin-only": [true, false].includes(resolveStatusAccessAdminOnly) ? (resolveStatusAccessAdminOnly ? 'true' : 'false') : undefined, "delete-reply-confirmation": [true, false].includes(deleteReplyConfirmation) ? (deleteReplyConfirmation ? 'true' : 'false') : undefined, "auto-categorize": [true, false].includes(autoCategorize) ? (autoCategorize ? 'true' : 'false') : undefined, "data-stream-view-container-id": streamViewContainerId, "text-mode": [true, false].includes(textMode) ? (textMode ? 'true' : 'false') : undefined, "popover-mode": [true, false].includes(popoverMode) ? (popoverMode ? 'true' : 'false') : undefined, "popover-triangle-component": [true, false].includes(popoverTriangleComponent) ? (popoverTriangleComponent ? 'true' : 'false') : undefined, "floating-comment-dialog": [true, false].includes(floatingCommentDialog) ? (floatingCommentDialog ? 'true' : 'false') : undefined, "moderator-mode": [true, false].includes(moderatorMode) ? (moderatorMode ? 'true' : 'false') : undefined, "stream-mode": [true, false].includes(streamMode) ? (streamMode ? 'true' : 'false') : undefined, "sign-in-button": [true, false].includes(signInButton) ? (signInButton ? 'true' : 'false') : undefined, "upgrade-button": [true, false].includes(upgradeButton) ? (upgradeButton ? 'true' : 'false') : undefined, attachments: [true, false].includes(attachments) ? (attachments ? 'true' : 'false') : undefined, recordings: recordings, reactions: [true, false].includes(reactions) ? (reactions ? 'true' : 'false') : undefined, "device-info": [true, false].includes(deviceInfo) ? (deviceInfo ? 'true' : 'false') : undefined, "comment-index": [true, false].includes(commentIndex) ? (commentIndex ? 'true' : 'false') : undefined, "dialog-on-hover": [true, false].includes(dialogOnHover) ? (dialogOnHover ? 'true' : 'false') : undefined, "dialog-on-target-element-click": [true, false].includes(dialogOnTargetElementClick) ? (dialogOnTargetElementClick ? 'true' : 'false') : undefined, priority: [true, false].includes(priority) ? (priority ? 'true' : 'false') : undefined, status: [true, false].includes(status) ? (status ? 'true' : 'false') : undefined, "resolve-button": [true, false].includes(resolveButton) ? (resolveButton ? 'true' : 'false') : undefined, "inbox-mode": [true, false].includes(inboxMode) ? (inboxMode ? 'true' : 'false') : undefined, "suggestion-mode": [true, false].includes(suggestionMode) ? (suggestionMode ? 'true' : 'false') : undefined, "mobile-mode": [true, false].includes(mobileMode) ? (mobileMode ? 'true' : 'false') : undefined, "inline-comment-mode": [true, false].includes(inlineCommentMode) ? (inlineCommentMode ? 'true' : 'false') : undefined, "private-comment-mode": [true, false].includes(privateCommentMode) ? (privateCommentMode ? 'true' : 'false') : undefined, minimap: [true, false].includes(minimap) ? (minimap ? 'true' : 'false') : undefined, "minimap-position": minimapPosition, "persistent-comment-mode": [true, false].includes(persistentCommentMode) ? (persistentCommentMode ? 'true' : 'false') : undefined, "ghost-comments": [true, false].includes(ghostComments) ? (ghostComments ? 'true' : 'false') : undefined, "ghost-comments-indicator": [true, false].includes(ghostCommentsIndicator) ? (ghostCommentsIndicator ? 'true' : 'false') : undefined, "comments-on-dom": [true, false].includes(commentsOnDom) ? (commentsOnDom ? 'true' : 'false') : undefined, "resolved-comments-on-dom": [true, false].includes(resolvedCommentsOnDom) ? (resolvedCommentsOnDom ? 'true' : 'false') : undefined, "filter-comments-on-dom": [true, false].includes(filterCommentsOnDom) ? (filterCommentsOnDom ? 'true' : 'false') : undefined, "bubble-on-pin": [true, false].includes(bubbleOnPin) ? (bubbleOnPin ? 'true' : 'false') : undefined, "bubble-on-pin-hover": [true, false].includes(bubbleOnPinHover) ? (bubbleOnPinHover ? 'true' : 'false') : undefined, "comment-tool": [true, false].includes(commentTool) ? (commentTool ? 'true' : 'false') : undefined, "sidebar-button-on-comment-dialog": [true, false].includes(sidebarButtonOnCommentDialog) ? (sidebarButtonOnCommentDialog ? 'true' : 'false') : undefined, "device-indicator-on-comment-pins": [true, false].includes(deviceIndicatorOnCommentPins) ? (deviceIndicatorOnCommentPins ? 'true' : 'false') : undefined, "scroll-to-comment": [true, false].includes(scrollToComment) ? (scrollToComment ? 'true' : 'false') : undefined, "user-mentions": [true, false].includes(userMentions) ? (userMentions ? 'true' : 'false') : undefined, "delete-on-backspace": [true, false].includes(deleteOnBackspace) ? (deleteOnBackspace ? 'true' : 'false') : undefined, hotkey: [true, false].includes(hotkey) ? (hotkey ? 'true' : 'false') : undefined, "recording-summary": [true, false].includes(recordingSummary) ? (recordingSummary ? 'true' : 'false') : undefined, "recording-transcription": [true, false].includes(recordingTranscription) ? (recordingTranscription ? 'true' : 'false') : undefined, "recording-countdown": [true, false].includes(recordingCountdown) ? (recordingCountdown ? 'true' : 'false') : undefined, "unread-indicator-mode": unreadIndicatorMode, "enter-key-to-submit": [true, false].includes(enterKeyToSubmit) ? (enterKeyToSubmit ? 'true' : 'false') : undefined, "pin-shadow-dom": [true, false].includes(pinShadowDom) ? (pinShadowDom ? 'true' : 'false') : undefined, "dialog-shadow-dom": [true, false].includes(dialogShadowDom) ? (dialogShadowDom ? 'true' : 'false') : undefined, "shadow-dom": [true, false].includes(shadowDom) ? (shadowDom ? 'true' : 'false') : undefined, "text-comment-tool-shadow-dom": [true, false].includes(textCommentToolShadowDom) ? (textCommentToolShadowDom ? 'true' : 'false') : undefined, "text-comment-toolbar-shadow-dom": [true, false].includes(textCommentToolbarShadowDom) ? (textCommentToolbarShadowDom ? 'true' : 'false') : undefined, "persistent-comment-shadow-dom": [true, false].includes(persistentCommentShadowDom) ? (persistentCommentShadowDom ? 'true' : 'false') : undefined, "change-detection-in-comment-mode": [true, false].includes(changeDetectionInCommentMode) ? (changeDetectionInCommentMode ? 'true' : 'false') : undefined, "area-comment": [true, false].includes(areaComment) ? (areaComment ? 'true' : 'false') : undefined, "pin-cursor-image": pinCursorImage, "allowed-element-ids": JSON.stringify(allowedElementIds), "allowed-element-class-names": JSON.stringify(allowedElementClassNames), "allowed-element-query-selectors": JSON.stringify(allowedElementQuerySelectors), "comment-pin-highlighter": [true, false].includes(commentPinHighlighter) ? (commentPinHighlighter ? 'true' : 'false') : undefined, "custom-reactions": JSON.stringify(customReactions), "custom-status": JSON.stringify(customStatus), "custom-list-data-on-annotation": JSON.stringify(customListDataOnAnnotation), "custom-list-data-on-comment": JSON.stringify(customListDataOnComment), "custom-priority": JSON.stringify(customPriority), "custom-category": JSON.stringify(customCategory), "dark-mode": [true, false].includes(darkMode) ? (darkMode ? 'true' : 'false') : undefined, "dialog-dark-mode": [true, false].includes(dialogDarkMode) ? (dialogDarkMode ? 'true' : 'false') : undefined, "pin-dark-mode": [true, false].includes(pinDarkMode) ? (pinDarkMode ? 'true' : 'false') : undefined, "text-comment-tool-dark-mode": [true, false].includes(textCommentToolDarkMode) ? (textCommentToolDarkMode ? 'true' : 'false') : undefined, "text-comment-toolbar-dark-mode": [true, false].includes(textCommentToolbarDarkMode) ? (textCommentToolbarDarkMode ? 'true' : 'false') : undefined, "multi-thread-mode": [true, false].includes(multiThreadMode) ? (multiThreadMode ? 'true' : 'false') : undefined, "multi-thread": [true, false].includes(multiThread) ? (multiThread ? 'true' : 'false') : undefined, "read-only": [true, false].includes(readOnly) ? (readOnly ? 'true' : 'false') : undefined, "custom-autocomplete-search": [true, false].includes(customAutocompleteSearch) ? (customAutocompleteSearch ? 'true' : 'false') : undefined, "delete-thread-with-first-comment": [true, false].includes(deleteThreadWithFirstComment) ? (deleteThreadWithFirstComment ? 'true' : 'false') : undefined, "svg-as-img": [true, false].includes(svgAsImg) ? (svgAsImg ? 'true' : 'false') : undefined, "expand-mention-groups": [true, false].includes(expandMentionGroups) ? (expandMentionGroups ? 'true' : 'false') : undefined, "show-mention-groups-first": [true, false].includes(showMentionGroupsFirst) ? (showMentionGroupsFirst ? 'true' : 'false') : undefined, "show-mention-groups-only": [true, false].includes(showMentionGroupsOnly) ? (showMentionGroupsOnly ? 'true' : 'false') : undefined, "full-expanded": [true, false].includes(fullExpanded) ? (fullExpanded ? 'true' : 'false') : undefined, "comment-to-nearest-allowed-element": [true, false].includes(commentToNearestAllowedElement) ? (commentToNearestAllowedElement ? 'true' : 'false') : undefined, "draft-mode": [true, false].includes(draftMode) ? (draftMode ? 'true' : 'false') : undefined }, children));
369
395
  };
370
396
 
371
397
  var SnippylyCommentsSidebar = function (props) {
@@ -446,7 +472,7 @@ var SnippylyCommentsSidebar = function (props) {
446
472
  };
447
473
 
448
474
  var SnippylyCommentTool = function (props) {
449
- var targetCommentElementId = props.targetCommentElementId, targetElementId = props.targetElementId, onCommentModeChange = props.onCommentModeChange, sourceId = props.sourceId, children = props.children, darkMode = props.darkMode, variant = props.variant, shadowDom = props.shadowDom;
475
+ var targetCommentElementId = props.targetCommentElementId, targetElementId = props.targetElementId, onCommentModeChange = props.onCommentModeChange, sourceId = props.sourceId, children = props.children, darkMode = props.darkMode, variant = props.variant, shadowDom = props.shadowDom, context = props.context, contextOptions = props.contextOptions;
450
476
  var ref = useRef();
451
477
  var onCommentModeChangeRef = useRef(onCommentModeChange);
452
478
  // Update the ref to always point to the latest callback function
@@ -472,7 +498,7 @@ var SnippylyCommentTool = function (props) {
472
498
  }
473
499
  };
474
500
  }, []);
475
- return (React.createElement("velt-comment-tool", { ref: ref, "target-comment-element-id": targetCommentElementId, "target-element-id": targetElementId, "source-id": sourceId, variant: variant, "shadow-dom": [true, false].includes(shadowDom) ? (shadowDom ? 'true' : 'false') : undefined, "dark-mode": [true, false].includes(darkMode) ? (darkMode ? 'true' : 'false') : undefined }, children));
501
+ return (React.createElement("velt-comment-tool", { ref: ref, "target-comment-element-id": targetCommentElementId, "target-element-id": targetElementId, "source-id": sourceId, variant: variant, context: JSON.stringify(context), "context-options": JSON.stringify(contextOptions), "shadow-dom": [true, false].includes(shadowDom) ? (shadowDom ? 'true' : 'false') : undefined, "dark-mode": [true, false].includes(darkMode) ? (darkMode ? 'true' : 'false') : undefined }, children));
476
502
  };
477
503
 
478
504
  var SnippylyCursor = function (props) {
@@ -841,7 +867,7 @@ var VeltCommentThread = function (props) {
841
867
  };
842
868
 
843
869
  var VeltNotificationsTool = function (props) {
844
- var children = props.children, darkMode = props.darkMode, onNotificationClick = props.onNotificationClick, shadowDom = props.shadowDom, panelShadowDom = props.panelShadowDom, variant = props.variant, maxDays = props.maxDays, tabConfig = props.tabConfig, panelOpenMode = props.panelOpenMode, panelVariant = props.panelVariant, readNotificationsOnForYouTab = props.readNotificationsOnForYouTab;
870
+ var children = props.children, darkMode = props.darkMode, onNotificationClick = props.onNotificationClick, shadowDom = props.shadowDom, panelShadowDom = props.panelShadowDom, variant = props.variant, maxDays = props.maxDays, tabConfig = props.tabConfig, panelOpenMode = props.panelOpenMode, panelVariant = props.panelVariant, readNotificationsOnForYouTab = props.readNotificationsOnForYouTab, settings = props.settings;
845
871
  var ref = useRef();
846
872
  var onNotificationClickRef = useRef(onNotificationClick);
847
873
  // Update the ref to always point to the latest callback function
@@ -867,11 +893,11 @@ var VeltNotificationsTool = function (props) {
867
893
  }
868
894
  };
869
895
  }, []);
870
- return (React.createElement("velt-notifications-tool", { ref: ref, "panel-open-mode": panelOpenMode, panelVariant: panelVariant, "tab-config": JSON.stringify(tabConfig), variant: variant, "max-days": (maxDays && maxDays > 0) ? maxDays + '' : undefined, "panel-shadow-dom": [true, false].includes(panelShadowDom) ? (panelShadowDom ? 'true' : 'false') : undefined, "shadow-dom": [true, false].includes(shadowDom) ? (shadowDom ? 'true' : 'false') : undefined, "dark-mode": [true, false].includes(darkMode) ? (darkMode ? 'true' : 'false') : undefined, "read-notifications-on-for-you-tab": [true, false].includes(readNotificationsOnForYouTab) ? (readNotificationsOnForYouTab ? 'true' : 'false') : undefined }, children));
896
+ return (React.createElement("velt-notifications-tool", { ref: ref, "panel-open-mode": panelOpenMode, panelVariant: panelVariant, "tab-config": JSON.stringify(tabConfig), variant: variant, "max-days": (maxDays && maxDays > 0) ? maxDays + '' : undefined, "panel-shadow-dom": [true, false].includes(panelShadowDom) ? (panelShadowDom ? 'true' : 'false') : undefined, "shadow-dom": [true, false].includes(shadowDom) ? (shadowDom ? 'true' : 'false') : undefined, "dark-mode": [true, false].includes(darkMode) ? (darkMode ? 'true' : 'false') : undefined, settings: [true, false].includes(settings) ? (settings ? 'true' : 'false') : undefined, "read-notifications-on-for-you-tab": [true, false].includes(readNotificationsOnForYouTab) ? (readNotificationsOnForYouTab ? 'true' : 'false') : undefined }, children));
871
897
  };
872
898
 
873
899
  var VeltNotificationsPanel = function (props) {
874
- var darkMode = props.darkMode, onNotificationClick = props.onNotificationClick, shadowDom = props.shadowDom, tabConfig = props.tabConfig, variant = props.variant, readNotificationsOnForYouTab = props.readNotificationsOnForYouTab, panelOpenMode = props.panelOpenMode;
900
+ var darkMode = props.darkMode, onNotificationClick = props.onNotificationClick, shadowDom = props.shadowDom, tabConfig = props.tabConfig, variant = props.variant, readNotificationsOnForYouTab = props.readNotificationsOnForYouTab, panelOpenMode = props.panelOpenMode, settings = props.settings;
875
901
  var ref = useRef();
876
902
  var onNotificationClickRef = useRef(onNotificationClick);
877
903
  // Update the ref to always point to the latest callback function
@@ -897,7 +923,7 @@ var VeltNotificationsPanel = function (props) {
897
923
  }
898
924
  };
899
925
  }, []);
900
- return (React.createElement("velt-notifications-panel", { ref: ref, variant: variant, "tab-config": JSON.stringify(tabConfig), "shadow-dom": [true, false].includes(shadowDom) ? (shadowDom ? 'true' : 'false') : undefined, "dark-mode": [true, false].includes(darkMode) ? (darkMode ? 'true' : 'false') : undefined, "read-notifications-on-for-you-tab": [true, false].includes(readNotificationsOnForYouTab) ? (readNotificationsOnForYouTab ? 'true' : 'false') : undefined, "panel-open-mode": panelOpenMode }));
926
+ return (React.createElement("velt-notifications-panel", { ref: ref, variant: variant, "tab-config": JSON.stringify(tabConfig), "shadow-dom": [true, false].includes(shadowDom) ? (shadowDom ? 'true' : 'false') : undefined, "dark-mode": [true, false].includes(darkMode) ? (darkMode ? 'true' : 'false') : undefined, settings: [true, false].includes(settings) ? (settings ? 'true' : 'false') : undefined, "read-notifications-on-for-you-tab": [true, false].includes(readNotificationsOnForYouTab) ? (readNotificationsOnForYouTab ? 'true' : 'false') : undefined, "panel-open-mode": panelOpenMode }));
901
927
  };
902
928
 
903
929
  var VeltNotificationsHistoryPanel = function (props) {
@@ -2678,6 +2704,16 @@ VeltCommentsSidebarFilterTagged.Name = VeltCommentsSidebarFilterName;
2678
2704
  VeltCommentsSidebarFilterTagged.Item = VeltCommentsSidebarFilterItem;
2679
2705
  VeltCommentsSidebarFilterTagged.Search = VeltCommentsSidebarFilterSearch;
2680
2706
 
2707
+ var VeltCommentsSidebarFilterDocument = function (props) {
2708
+ var children = props.children, remainingProps = __rest(props, ["children"]);
2709
+ var transformedProps = transformWireframeProps(remainingProps);
2710
+ return (React.createElement("velt-comments-sidebar-filter-document-wireframe", __assign({}, transformedProps), children));
2711
+ };
2712
+ VeltCommentsSidebarFilterDocument.Name = VeltCommentsSidebarFilterName;
2713
+ VeltCommentsSidebarFilterDocument.Item = VeltCommentsSidebarFilterItem;
2714
+ VeltCommentsSidebarFilterDocument.ViewAll = VeltCommentsSidebarFilterViewAll;
2715
+ VeltCommentsSidebarFilterDocument.Search = VeltCommentsSidebarFilterSearch;
2716
+
2681
2717
  var VeltCommentsSidebarFilter = function (props) {
2682
2718
  var children = props.children, remainingProps = __rest(props, ["children"]);
2683
2719
  var transformedProps = transformWireframeProps(remainingProps);
@@ -2699,6 +2735,7 @@ VeltCommentsSidebarFilter.Item = VeltCommentsSidebarFilterItem;
2699
2735
  VeltCommentsSidebarFilter.Status = VeltCommentsSidebarFilterStatus;
2700
2736
  VeltCommentsSidebarFilter.ResetButton = VeltCommentsSidebarFilterResetButton;
2701
2737
  VeltCommentsSidebarFilter.Search = VeltCommentsSidebarFilterSearch;
2738
+ VeltCommentsSidebarFilter.Document = VeltCommentsSidebarFilterDocument;
2702
2739
 
2703
2740
  var VeltCommentsSidebarFilterButton = function (props) {
2704
2741
  var children = props.children, remainingProps = __rest(props, ["children"]);
@@ -2787,6 +2824,33 @@ var VeltCommentsSidebarLocationFilterDropdown = function (props) {
2787
2824
  VeltCommentsSidebarLocationFilterDropdown.Trigger = VeltCommentsSidebarLocationFilterDropdownTrigger;
2788
2825
  VeltCommentsSidebarLocationFilterDropdown.Content = VeltCommentsSidebarLocationFilterDropdownContent;
2789
2826
 
2827
+ var VeltCommentsSidebarDocumentFilterDropdownContent = function (props) {
2828
+ var children = props.children, remainingProps = __rest(props, ["children"]);
2829
+ var transformedProps = transformWireframeProps(remainingProps);
2830
+ return (React.createElement("velt-comments-sidebar-document-filter-dropdown-content-wireframe", __assign({}, transformedProps), children));
2831
+ };
2832
+
2833
+ var VeltCommentsSidebarDocumentFilterDropdownTriggerLabel = function (props) {
2834
+ var children = props.children, remainingProps = __rest(props, ["children"]);
2835
+ var transformedProps = transformWireframeProps(remainingProps);
2836
+ return (React.createElement("velt-comments-sidebar-document-filter-dropdown-trigger-label-wireframe", __assign({}, transformedProps), children));
2837
+ };
2838
+
2839
+ var VeltCommentsSidebarDocumentFilterDropdownTrigger = function (props) {
2840
+ var children = props.children, remainingProps = __rest(props, ["children"]);
2841
+ var transformedProps = transformWireframeProps(remainingProps);
2842
+ return (React.createElement("velt-comments-sidebar-document-filter-dropdown-trigger-wireframe", __assign({}, transformedProps), children));
2843
+ };
2844
+ VeltCommentsSidebarDocumentFilterDropdownTrigger.Label = VeltCommentsSidebarDocumentFilterDropdownTriggerLabel;
2845
+
2846
+ var VeltCommentsSidebarDocumentFilterDropdownWireframe = function (props) {
2847
+ var children = props.children, remainingProps = __rest(props, ["children"]);
2848
+ var transformedProps = transformWireframeProps(remainingProps);
2849
+ return (React.createElement("velt-comments-sidebar-document-filter-dropdown-wireframe", __assign({}, transformedProps), children));
2850
+ };
2851
+ VeltCommentsSidebarDocumentFilterDropdownWireframe.Trigger = VeltCommentsSidebarDocumentFilterDropdownTrigger;
2852
+ VeltCommentsSidebarDocumentFilterDropdownWireframe.Content = VeltCommentsSidebarDocumentFilterDropdownContent;
2853
+
2790
2854
  var VeltCommentsSidebarMinimalActionsDropdownContentMarkAllReadWireframe = function (props) {
2791
2855
  var children = props.children, remainingProps = __rest(props, ["children"]);
2792
2856
  var transformedProps = transformWireframeProps(remainingProps);
@@ -3054,6 +3118,7 @@ VeltCommentsSidebarWireframe.Skeleton = VeltCommentsSidebarSkeleton;
3054
3118
  VeltCommentsSidebarWireframe.Panel = VeltCommentsSidebarPanel;
3055
3119
  VeltCommentsSidebarWireframe.MinimalFilterDropdown = VeltCommentsSidebarMinimalFilterDropdown;
3056
3120
  VeltCommentsSidebarWireframe.LocationFilterDropdown = VeltCommentsSidebarLocationFilterDropdown;
3121
+ VeltCommentsSidebarWireframe.DocumentFilterDropdown = VeltCommentsSidebarDocumentFilterDropdownWireframe;
3057
3122
  VeltCommentsSidebarWireframe.MinimalActionsDropdown = VeltCommentsSidebarMinimalActionsDropdownWireframe;
3058
3123
  VeltCommentsSidebarWireframe.ResetFilterButton = VeltCommentsSidebarResetFilterButtonWireframe;
3059
3124
  VeltCommentsSidebarWireframe.ActionButton = VeltCommentsSidebarActionButton;
@@ -3763,6 +3828,151 @@ var VeltNotificationsPanelSkeletonWireframe = function (props) {
3763
3828
  return (React.createElement("velt-notifications-panel-skeleton-wireframe", __assign({}, transformedProps), children));
3764
3829
  };
3765
3830
 
3831
+ var VeltNotificationsPanelSettingsButtonWireframe = function (props) {
3832
+ var children = props.children, remainingProps = __rest(props, ["children"]);
3833
+ var transformedProps = transformWireframeProps(remainingProps);
3834
+ return (React.createElement("velt-notifications-panel-settings-button-wireframe", __assign({}, transformedProps), children));
3835
+ };
3836
+
3837
+ var VeltNotificationsPanelSettingsDescriptionWireframe = function (props) {
3838
+ var children = props.children, remainingProps = __rest(props, ["children"]);
3839
+ var transformedProps = transformWireframeProps(remainingProps);
3840
+ return (React.createElement("velt-notifications-panel-settings-description-wireframe", __assign({}, transformedProps), children));
3841
+ };
3842
+
3843
+ var VeltNotificationsPanelSettingsBackButtonWireframe = function (props) {
3844
+ var children = props.children, remainingProps = __rest(props, ["children"]);
3845
+ var transformedProps = transformWireframeProps(remainingProps);
3846
+ return (React.createElement("velt-notifications-panel-settings-back-button-wireframe", __assign({}, transformedProps), children));
3847
+ };
3848
+
3849
+ var VeltNotificationsPanelSettingsFooterWireframe = function (props) {
3850
+ var children = props.children, remainingProps = __rest(props, ["children"]);
3851
+ var transformedProps = transformWireframeProps(remainingProps);
3852
+ return (React.createElement("velt-notifications-panel-settings-footer-wireframe", __assign({}, transformedProps), children));
3853
+ };
3854
+
3855
+ var VeltNotificationsPanelSettingsHeaderTitleWireframe = function (props) {
3856
+ var children = props.children, remainingProps = __rest(props, ["children"]);
3857
+ var transformedProps = transformWireframeProps(remainingProps);
3858
+ return (React.createElement("velt-notifications-panel-settings-header-title-wireframe", __assign({}, transformedProps), children));
3859
+ };
3860
+
3861
+ var VeltNotificationsPanelSettingsHeaderWireframe = function (props) {
3862
+ var children = props.children, remainingProps = __rest(props, ["children"]);
3863
+ var transformedProps = transformWireframeProps(remainingProps);
3864
+ return (React.createElement("velt-notifications-panel-settings-header-wireframe", __assign({}, transformedProps), children));
3865
+ };
3866
+ VeltNotificationsPanelSettingsHeaderWireframe.Title = VeltNotificationsPanelSettingsHeaderTitleWireframe;
3867
+
3868
+ var VeltNotificationsPanelSettingsAccordionTriggerSelectedValueWireframe = function (props) {
3869
+ var children = props.children, remainingProps = __rest(props, ["children"]);
3870
+ var transformedProps = transformWireframeProps(remainingProps);
3871
+ return (React.createElement("velt-notifications-panel-settings-accordion-trigger-selected-value-wireframe", __assign({}, transformedProps), children));
3872
+ };
3873
+
3874
+ var VeltNotificationsPanelSettingsAccordionTriggerLabelWireframe = function (props) {
3875
+ var children = props.children, remainingProps = __rest(props, ["children"]);
3876
+ var transformedProps = transformWireframeProps(remainingProps);
3877
+ return (React.createElement("velt-notifications-panel-settings-accordion-trigger-label-wireframe", __assign({}, transformedProps), children));
3878
+ };
3879
+
3880
+ var VeltNotificationsPanelSettingsAccordionTriggerIconWireframe = function (props) {
3881
+ var children = props.children, remainingProps = __rest(props, ["children"]);
3882
+ var transformedProps = transformWireframeProps(remainingProps);
3883
+ return (React.createElement("velt-notifications-panel-settings-accordion-trigger-icon-wireframe", __assign({}, transformedProps), children));
3884
+ };
3885
+
3886
+ var VeltNotificationsPanelSettingsAccordionTriggerWireframe = function (props) {
3887
+ var children = props.children, remainingProps = __rest(props, ["children"]);
3888
+ var transformedProps = transformWireframeProps(remainingProps);
3889
+ return (React.createElement("velt-notifications-panel-settings-accordion-trigger-wireframe", __assign({}, transformedProps), children));
3890
+ };
3891
+ VeltNotificationsPanelSettingsAccordionTriggerWireframe.SelectedValue = VeltNotificationsPanelSettingsAccordionTriggerSelectedValueWireframe;
3892
+ VeltNotificationsPanelSettingsAccordionTriggerWireframe.Label = VeltNotificationsPanelSettingsAccordionTriggerLabelWireframe;
3893
+ VeltNotificationsPanelSettingsAccordionTriggerWireframe.Icon = VeltNotificationsPanelSettingsAccordionTriggerIconWireframe;
3894
+
3895
+ var VeltNotificationsPanelSettingsAccordionContentItemLabelWireframe = function (props) {
3896
+ var children = props.children, remainingProps = __rest(props, ["children"]);
3897
+ var transformedProps = transformWireframeProps(remainingProps);
3898
+ return (React.createElement("velt-notifications-panel-settings-accordion-content-item-label-wireframe", __assign({}, transformedProps), children));
3899
+ };
3900
+
3901
+ var VeltNotificationsPanelSettingsAccordionContentItemIconWireframe = function (props) {
3902
+ var children = props.children, remainingProps = __rest(props, ["children"]);
3903
+ var transformedProps = transformWireframeProps(remainingProps);
3904
+ return (React.createElement("velt-notifications-panel-settings-accordion-content-item-icon-wireframe", __assign({}, transformedProps), children));
3905
+ };
3906
+
3907
+ var VeltNotificationsPanelSettingsAccordionContentItemWireframe = function (props) {
3908
+ var children = props.children, remainingProps = __rest(props, ["children"]);
3909
+ var transformedProps = transformWireframeProps(remainingProps);
3910
+ return (React.createElement("velt-notifications-panel-settings-accordion-content-item-wireframe", __assign({}, transformedProps), children));
3911
+ };
3912
+ VeltNotificationsPanelSettingsAccordionContentItemWireframe.Icon = VeltNotificationsPanelSettingsAccordionContentItemIconWireframe;
3913
+ VeltNotificationsPanelSettingsAccordionContentItemWireframe.Label = VeltNotificationsPanelSettingsAccordionContentItemLabelWireframe;
3914
+
3915
+ var VeltNotificationsPanelSettingsAccordionContentWireframe = function (props) {
3916
+ var children = props.children, remainingProps = __rest(props, ["children"]);
3917
+ var transformedProps = transformWireframeProps(remainingProps);
3918
+ return (React.createElement("velt-notifications-panel-settings-accordion-content-wireframe", __assign({}, transformedProps), children));
3919
+ };
3920
+ VeltNotificationsPanelSettingsAccordionContentWireframe.Item = VeltNotificationsPanelSettingsAccordionContentItemWireframe;
3921
+
3922
+ var VeltNotificationsPanelSettingsAccordionWireframe = function (props) {
3923
+ var children = props.children, remainingProps = __rest(props, ["children"]);
3924
+ var transformedProps = transformWireframeProps(remainingProps);
3925
+ return (React.createElement("velt-notifications-panel-settings-accordion-wireframe", __assign({}, transformedProps), children));
3926
+ };
3927
+ VeltNotificationsPanelSettingsAccordionWireframe.Trigger = VeltNotificationsPanelSettingsAccordionTriggerWireframe;
3928
+ VeltNotificationsPanelSettingsAccordionWireframe.Content = VeltNotificationsPanelSettingsAccordionContentWireframe;
3929
+
3930
+ var VeltNotificationsPanelSettingsListWireframe = function (props) {
3931
+ var children = props.children, remainingProps = __rest(props, ["children"]);
3932
+ var transformedProps = transformWireframeProps(remainingProps);
3933
+ return (React.createElement("velt-notifications-panel-settings-list-wireframe", __assign({}, transformedProps), children));
3934
+ };
3935
+ VeltNotificationsPanelSettingsListWireframe.Accordion = VeltNotificationsPanelSettingsAccordionWireframe;
3936
+
3937
+ var VeltNotificationsPanelSettingsMuteAllDescriptionWireframe = function (props) {
3938
+ var children = props.children, remainingProps = __rest(props, ["children"]);
3939
+ var transformedProps = transformWireframeProps(remainingProps);
3940
+ return (React.createElement("velt-notifications-panel-settings-mute-all-description-wireframe", __assign({}, transformedProps), children));
3941
+ };
3942
+
3943
+ var VeltNotificationsPanelSettingsMuteAllTitleWireframe = function (props) {
3944
+ var children = props.children, remainingProps = __rest(props, ["children"]);
3945
+ var transformedProps = transformWireframeProps(remainingProps);
3946
+ return (React.createElement("velt-notifications-panel-settings-mute-all-title-wireframe", __assign({}, transformedProps), children));
3947
+ };
3948
+
3949
+ var VeltNotificationsPanelSettingsMuteAllToggleWireframe = function (props) {
3950
+ var children = props.children, remainingProps = __rest(props, ["children"]);
3951
+ var transformedProps = transformWireframeProps(remainingProps);
3952
+ return (React.createElement("velt-notifications-panel-settings-mute-all-toggle-wireframe", __assign({}, transformedProps), children));
3953
+ };
3954
+
3955
+ var VeltNotificationsPanelSettingsTitleWireframe = function (props) {
3956
+ var children = props.children, remainingProps = __rest(props, ["children"]);
3957
+ var transformedProps = transformWireframeProps(remainingProps);
3958
+ return (React.createElement("velt-notifications-panel-settings-title-wireframe", __assign({}, transformedProps), children));
3959
+ };
3960
+
3961
+ var VeltNotificationsPanelSettingsWireframe = function (props) {
3962
+ var children = props.children, remainingProps = __rest(props, ["children"]);
3963
+ var transformedProps = transformWireframeProps(remainingProps);
3964
+ return (React.createElement("velt-notifications-panel-settings-wireframe", __assign({}, transformedProps), children));
3965
+ };
3966
+ VeltNotificationsPanelSettingsWireframe.BackButton = VeltNotificationsPanelSettingsBackButtonWireframe;
3967
+ VeltNotificationsPanelSettingsWireframe.Description = VeltNotificationsPanelSettingsDescriptionWireframe;
3968
+ VeltNotificationsPanelSettingsWireframe.Footer = VeltNotificationsPanelSettingsFooterWireframe;
3969
+ VeltNotificationsPanelSettingsWireframe.Header = VeltNotificationsPanelSettingsHeaderWireframe;
3970
+ VeltNotificationsPanelSettingsWireframe.List = VeltNotificationsPanelSettingsListWireframe;
3971
+ VeltNotificationsPanelSettingsWireframe.MuteAllDescription = VeltNotificationsPanelSettingsMuteAllDescriptionWireframe;
3972
+ VeltNotificationsPanelSettingsWireframe.MuteAllTitle = VeltNotificationsPanelSettingsMuteAllTitleWireframe;
3973
+ VeltNotificationsPanelSettingsWireframe.MuteAllToggle = VeltNotificationsPanelSettingsMuteAllToggleWireframe;
3974
+ VeltNotificationsPanelSettingsWireframe.Title = VeltNotificationsPanelSettingsTitleWireframe;
3975
+
3766
3976
  var VeltNotificationsPanelWireframe = function (props) {
3767
3977
  var children = props.children, remainingProps = __rest(props, ["children"]);
3768
3978
  var transformedProps = transformWireframeProps(remainingProps);
@@ -3775,6 +3985,8 @@ VeltNotificationsPanelWireframe.Title = VeltNotificationsPanelTitleWireframe;
3775
3985
  VeltNotificationsPanelWireframe.ViewAllButton = VeltNotificationsPanelViewAllButtonWireframe;
3776
3986
  VeltNotificationsPanelWireframe.CloseButton = VeltNotificationsPanelCloseButtonWireframe;
3777
3987
  VeltNotificationsPanelWireframe.Skeleton = VeltNotificationsPanelSkeletonWireframe;
3988
+ VeltNotificationsPanelWireframe.SettingsButton = VeltNotificationsPanelSettingsButtonWireframe;
3989
+ VeltNotificationsPanelWireframe.Settings = VeltNotificationsPanelSettingsWireframe;
3778
3990
 
3779
3991
  var VeltNotificationsToolIconWireframe = function (props) {
3780
3992
  var children = props.children, remainingProps = __rest(props, ["children"]);
@@ -4682,6 +4894,12 @@ var VeltRecorderPlayerVideoWireframe = function (props) {
4682
4894
  return (React.createElement("velt-recorder-player-video-wireframe", __assign({}, transformedProps), children));
4683
4895
  };
4684
4896
 
4897
+ var VeltRecorderPlayerEditButtonWireframe = function (props) {
4898
+ var children = props.children, remainingProps = __rest(props, ["children"]);
4899
+ var transformedProps = transformWireframeProps(remainingProps);
4900
+ return (React.createElement("velt-recorder-player-edit-button-wireframe", __assign({}, transformedProps), children));
4901
+ };
4902
+
4685
4903
  var VeltRecorderPlayerVideoContainerWireframe = function (props) {
4686
4904
  var children = props.children, remainingProps = __rest(props, ["children"]);
4687
4905
  var transformedProps = transformWireframeProps(remainingProps);
@@ -4700,6 +4918,7 @@ VeltRecorderPlayerVideoContainerWireframe.Transcription = VeltRecorderPlayerTran
4700
4918
  VeltRecorderPlayerVideoContainerWireframe.CopyLink = VeltRecorderPlayerCopyLinkWireframe;
4701
4919
  VeltRecorderPlayerVideoContainerWireframe.Delete = VeltRecorderPlayerDeleteWireframe;
4702
4920
  VeltRecorderPlayerVideoContainerWireframe.Avatar = VeltRecorderPlayerAvatarWireframe;
4921
+ VeltRecorderPlayerVideoContainerWireframe.EditButton = VeltRecorderPlayerEditButtonWireframe;
4703
4922
 
4704
4923
  var VeltRecorderPlayerWireframe = function (props) {
4705
4924
  var children = props.children, remainingProps = __rest(props, ["children"]);
@@ -4957,11 +5176,94 @@ var VeltVideoEditorPlayerDeleteButtonWireframe = function (props) {
4957
5176
  return (React.createElement("velt-video-editor-player-delete-button-wireframe", __assign({}, transformedProps), children));
4958
5177
  };
4959
5178
 
5179
+ var VeltVideoEditorPlayerTimelineMarkerWireframe = function (props) {
5180
+ var children = props.children, remainingProps = __rest(props, ["children"]);
5181
+ var transformedProps = transformWireframeProps(remainingProps);
5182
+ return (React.createElement("velt-video-editor-player-timeline-marker-wireframe", __assign({}, transformedProps), children));
5183
+ };
5184
+
5185
+ var VeltVideoEditorPlayerZoomButtonTriggerWireframe = function (props) {
5186
+ var children = props.children, remainingProps = __rest(props, ["children"]);
5187
+ var transformedProps = transformWireframeProps(remainingProps);
5188
+ return (React.createElement("velt-video-editor-player-zoom-button-trigger-wireframe", __assign({}, transformedProps), children));
5189
+ };
5190
+
5191
+ var VeltVideoEditorPlayerZoomButtonOptionsListItemWireframe = function (props) {
5192
+ var children = props.children, remainingProps = __rest(props, ["children"]);
5193
+ var transformedProps = transformWireframeProps(remainingProps);
5194
+ return (React.createElement("velt-video-editor-player-zoom-button-options-list-item-wireframe", __assign({}, transformedProps), children));
5195
+ };
5196
+
5197
+ var VeltVideoEditorPlayerZoomButtonOptionsListWireframe = function (props) {
5198
+ var children = props.children, remainingProps = __rest(props, ["children"]);
5199
+ var transformedProps = transformWireframeProps(remainingProps);
5200
+ return (React.createElement("velt-video-editor-player-zoom-button-options-list-wireframe", __assign({}, transformedProps), children));
5201
+ };
5202
+ VeltVideoEditorPlayerZoomButtonOptionsListWireframe.Item = VeltVideoEditorPlayerZoomButtonOptionsListItemWireframe;
5203
+
5204
+ var VeltVideoEditorPlayerZoomButtonOptionsInputWireframe = function (props) {
5205
+ var children = props.children, remainingProps = __rest(props, ["children"]);
5206
+ var transformedProps = transformWireframeProps(remainingProps);
5207
+ return (React.createElement("velt-video-editor-player-zoom-button-options-input-wireframe", __assign({}, transformedProps), children));
5208
+ };
5209
+
5210
+ var VeltVideoEditorPlayerZoomButtonOptionsWireframe = function (props) {
5211
+ var children = props.children, remainingProps = __rest(props, ["children"]);
5212
+ var transformedProps = transformWireframeProps(remainingProps);
5213
+ return (React.createElement("velt-video-editor-player-zoom-button-options-wireframe", __assign({}, transformedProps), children));
5214
+ };
5215
+ VeltVideoEditorPlayerZoomButtonOptionsWireframe.List = VeltVideoEditorPlayerZoomButtonOptionsListWireframe;
5216
+ VeltVideoEditorPlayerZoomButtonOptionsWireframe.Input = VeltVideoEditorPlayerZoomButtonOptionsInputWireframe;
5217
+
5218
+ var VeltVideoEditorPlayerZoomButtonWireframe = function (props) {
5219
+ var children = props.children, remainingProps = __rest(props, ["children"]);
5220
+ var transformedProps = transformWireframeProps(remainingProps);
5221
+ return (React.createElement("velt-video-editor-player-zoom-button-wireframe", __assign({}, transformedProps), children));
5222
+ };
5223
+ VeltVideoEditorPlayerZoomButtonWireframe.Trigger = VeltVideoEditorPlayerZoomButtonTriggerWireframe;
5224
+ VeltVideoEditorPlayerZoomButtonWireframe.Options = VeltVideoEditorPlayerZoomButtonOptionsWireframe;
5225
+
5226
+ var VeltVideoEditorPlayerTimelineScaleWireframe = function (props) {
5227
+ var children = props.children, remainingProps = __rest(props, ["children"]);
5228
+ var transformedProps = transformWireframeProps(remainingProps);
5229
+ return (React.createElement("velt-video-editor-player-timeline-scale-wireframe", __assign({}, transformedProps), children));
5230
+ };
5231
+ VeltVideoEditorPlayerTimelineScaleWireframe.ZoomButton = VeltVideoEditorPlayerZoomButtonWireframe;
5232
+
5233
+ var VeltVideoEditorPlayerTimelineTrimWireframe = function (props) {
5234
+ var children = props.children, remainingProps = __rest(props, ["children"]);
5235
+ var transformedProps = transformWireframeProps(remainingProps);
5236
+ return (React.createElement("velt-video-editor-player-timeline-trim-wireframe", __assign({}, transformedProps), children));
5237
+ };
5238
+
5239
+ var VeltVideoEditorPlayerTimelineContainerWireframe = function (props) {
5240
+ var children = props.children, remainingProps = __rest(props, ["children"]);
5241
+ var transformedProps = transformWireframeProps(remainingProps);
5242
+ return (React.createElement("velt-video-editor-player-timeline-container-wireframe", __assign({}, transformedProps), children));
5243
+ };
5244
+
5245
+ var VeltVideoEditorPlayerTimelinePlayheadWireframe = function (props) {
5246
+ var children = props.children, remainingProps = __rest(props, ["children"]);
5247
+ var transformedProps = transformWireframeProps(remainingProps);
5248
+ return (React.createElement("velt-video-editor-player-timeline-playhead-wireframe", __assign({}, transformedProps), children));
5249
+ };
5250
+
4960
5251
  var VeltVideoEditorPlayerTimelineWireframe = function (props) {
4961
5252
  var children = props.children, remainingProps = __rest(props, ["children"]);
4962
5253
  var transformedProps = transformWireframeProps(remainingProps);
4963
5254
  return (React.createElement("velt-video-editor-player-timeline-wireframe", __assign({}, transformedProps), children));
4964
5255
  };
5256
+ VeltVideoEditorPlayerTimelineWireframe.Marker = VeltVideoEditorPlayerTimelineMarkerWireframe;
5257
+ VeltVideoEditorPlayerTimelineWireframe.Scale = VeltVideoEditorPlayerTimelineScaleWireframe;
5258
+ VeltVideoEditorPlayerTimelineWireframe.Trim = VeltVideoEditorPlayerTimelineTrimWireframe;
5259
+ VeltVideoEditorPlayerTimelineWireframe.Container = VeltVideoEditorPlayerTimelineContainerWireframe;
5260
+ VeltVideoEditorPlayerTimelineWireframe.Playhead = VeltVideoEditorPlayerTimelinePlayheadWireframe;
5261
+
5262
+ var VeltVideoEditorPlayerDownloadButtonWireframe = function (props) {
5263
+ var children = props.children, remainingProps = __rest(props, ["children"]);
5264
+ var transformedProps = transformWireframeProps(remainingProps);
5265
+ return (React.createElement("velt-video-editor-player-download-button-wireframe", __assign({}, transformedProps), children));
5266
+ };
4965
5267
 
4966
5268
  var VeltVideoEditorPlayerWireframe = function (props) {
4967
5269
  var children = props.children, remainingProps = __rest(props, ["children"]);
@@ -4979,6 +5281,7 @@ VeltVideoEditorPlayerWireframe.TotalTime = VeltVideoEditorPlayerTotalTimeWirefra
4979
5281
  VeltVideoEditorPlayerWireframe.SplitButton = VeltVideoEditorPlayerSplitButtonWireframe;
4980
5282
  VeltVideoEditorPlayerWireframe.DeleteButton = VeltVideoEditorPlayerDeleteButtonWireframe;
4981
5283
  VeltVideoEditorPlayerWireframe.Timeline = VeltVideoEditorPlayerTimelineWireframe;
5284
+ VeltVideoEditorPlayerWireframe.DownloadButton = VeltVideoEditorPlayerDownloadButtonWireframe;
4982
5285
 
4983
5286
  var VeltSubtitlesTextWireframe = function (props) {
4984
5287
  var children = props.children, remainingProps = __rest(props, ["children"]);
@@ -5296,15 +5599,15 @@ function useSetDocuments() {
5296
5599
  var client = useVeltClient().client;
5297
5600
  var _a = React.useState(undefined), data = _a[0], setData = _a[1];
5298
5601
  // Memoize the setDocuments call
5299
- var memoizedData = React.useMemo(function () {
5300
- return data;
5301
- }, [JSON.stringify(data === null || data === void 0 ? void 0 : data.documents), JSON.stringify(data === null || data === void 0 ? void 0 : data.options)]);
5602
+ // const memoizedData = React.useMemo(() => {
5603
+ // return data;
5604
+ // }, [JSON.stringify(data?.documents), JSON.stringify(data?.options)]);
5302
5605
  React.useEffect(function () {
5303
5606
  var _a;
5304
- if (client && ((_a = memoizedData === null || memoizedData === void 0 ? void 0 : memoizedData.documents) === null || _a === void 0 ? void 0 : _a.length)) {
5305
- client.setDocuments(memoizedData.documents, memoizedData.options);
5607
+ if ((client === null || client === void 0 ? void 0 : client.setDocuments) && ((_a = data === null || data === void 0 ? void 0 : data.documents) === null || _a === void 0 ? void 0 : _a.length)) {
5608
+ client.setDocuments(data.documents, data.options);
5306
5609
  }
5307
- }, [client === null || client === void 0 ? void 0 : client.setDocuments, memoizedData]);
5610
+ }, [client === null || client === void 0 ? void 0 : client.setDocuments, data]);
5308
5611
  // Memoize the setDocuments callback
5309
5612
  var setDocumentsCallback = React.useCallback(function (documents, options) {
5310
5613
  setData({ documents: documents, options: options });
@@ -5313,6 +5616,22 @@ function useSetDocuments() {
5313
5616
  setDocuments: setDocumentsCallback
5314
5617
  };
5315
5618
  }
5619
+ function useSetRootDocument() {
5620
+ var client = useVeltClient().client;
5621
+ var _a = React.useState(undefined), data = _a[0], setData = _a[1];
5622
+ React.useEffect(function () {
5623
+ if ((client === null || client === void 0 ? void 0 : client.setRootDocument) && data) {
5624
+ client.setRootDocument(data);
5625
+ }
5626
+ }, [client === null || client === void 0 ? void 0 : client.setRootDocument, data]);
5627
+ // Memoize the setRootDocument callback
5628
+ var setRootDocumentCallback = React.useCallback(function (document) {
5629
+ setData(document);
5630
+ }, []); // Empty dependency array since it only uses setState which is stable
5631
+ return {
5632
+ setRootDocument: setRootDocumentCallback
5633
+ };
5634
+ }
5316
5635
  function useUnsetDocumentId() {
5317
5636
  var client = useVeltClient().client;
5318
5637
  React.useEffect(function () {
@@ -5337,6 +5656,39 @@ function useSetLocation(location, appendLocation) {
5337
5656
  }
5338
5657
  }, [client, shouldSetLocation]);
5339
5658
  }
5659
+ function useSetLocations() {
5660
+ var client = useVeltClient().client;
5661
+ var _a = React.useState(undefined), data = _a[0], setData = _a[1];
5662
+ React.useEffect(function () {
5663
+ var _a;
5664
+ if ((client === null || client === void 0 ? void 0 : client.setLocations) && ((_a = data === null || data === void 0 ? void 0 : data.locations) === null || _a === void 0 ? void 0 : _a.length)) {
5665
+ client.setLocations(data.locations, data.options);
5666
+ }
5667
+ }, [client === null || client === void 0 ? void 0 : client.setLocations, data]);
5668
+ // Memoize the setLocations callback
5669
+ var setLocationsCallback = React.useCallback(function (locations, options) {
5670
+ setData({ locations: locations, options: options });
5671
+ }, []); // Empty dependency array since it only uses setState which is stable
5672
+ return {
5673
+ setLocations: setLocationsCallback
5674
+ };
5675
+ }
5676
+ function useSetRootLocation() {
5677
+ var client = useVeltClient().client;
5678
+ var _a = React.useState(undefined), data = _a[0], setData = _a[1];
5679
+ React.useEffect(function () {
5680
+ if ((client === null || client === void 0 ? void 0 : client.setRootLocation) && data) {
5681
+ client.setRootLocation(data);
5682
+ }
5683
+ }, [client === null || client === void 0 ? void 0 : client.setRootLocation, data]);
5684
+ // Memoize the setRootLocation callback
5685
+ var setRootLocationCallback = React.useCallback(function (location) {
5686
+ setData(location);
5687
+ }, []); // Empty dependency array since it only uses setState which is stable
5688
+ return {
5689
+ setRootLocation: setRootLocationCallback
5690
+ };
5691
+ }
5340
5692
  function useVeltInitState() {
5341
5693
  var client = useVeltClient().client;
5342
5694
  var _a = React.useState(), data = _a[0], setData = _a[1];
@@ -6407,6 +6759,9 @@ function usePresenceUtils() {
6407
6759
  }, [client, setPresenceElement, presenceElement]);
6408
6760
  return presenceElement;
6409
6761
  }
6762
+ /**
6763
+ * @deprecated Use `usePresenceData` hook instead.
6764
+ */
6410
6765
  function usePresenceUsers() {
6411
6766
  var presenceElement = usePresenceUtils();
6412
6767
  var _a = React.useState(null), data = _a[0], setData = _a[1];
@@ -6422,6 +6777,41 @@ function usePresenceUsers() {
6422
6777
  }, [presenceElement]);
6423
6778
  return data;
6424
6779
  }
6780
+ function usePresenceData(query) {
6781
+ var presenceElement = usePresenceUtils();
6782
+ var _a = useState({ data: null }), data = _a[0], setData = _a[1];
6783
+ var subscriptionRef = useRef();
6784
+ // Memoize the inputs
6785
+ var memoizedData = useMemo(function () {
6786
+ return query;
6787
+ }, [JSON.stringify(query)]);
6788
+ useEffect(function () {
6789
+ if (!(presenceElement === null || presenceElement === void 0 ? void 0 : presenceElement.getData))
6790
+ return;
6791
+ // Unsubscribe from the previous subscription if it exists
6792
+ if (subscriptionRef.current) {
6793
+ subscriptionRef.current.unsubscribe();
6794
+ }
6795
+ var subscription = presenceElement.getData(memoizedData)
6796
+ .subscribe(function (res) {
6797
+ if (res) {
6798
+ setData(res);
6799
+ }
6800
+ else {
6801
+ setData({ data: null });
6802
+ }
6803
+ });
6804
+ // Store the new subscription
6805
+ subscriptionRef.current = subscription;
6806
+ // Cleanup function
6807
+ return function () {
6808
+ if (subscriptionRef.current) {
6809
+ subscriptionRef.current.unsubscribe();
6810
+ }
6811
+ };
6812
+ }, [presenceElement === null || presenceElement === void 0 ? void 0 : presenceElement.getData, memoizedData]);
6813
+ return data;
6814
+ }
6425
6815
 
6426
6816
  function usePresenceEventCallback(action) {
6427
6817
  var presenceElement = usePresenceUtils();
@@ -6731,6 +7121,33 @@ function useUnreadNotificationsCount() {
6731
7121
  return data;
6732
7122
  }
6733
7123
 
7124
+ function useNotificationEventCallback(action) {
7125
+ var notificationElement = useNotificationUtils();
7126
+ var _a = useState(null), data = _a[0], setData = _a[1];
7127
+ var subscriptionRef = useRef(null);
7128
+ var memoizedAction = useMemo(function () { return action; }, [action]);
7129
+ useEffect(function () {
7130
+ var _a;
7131
+ if (!(notificationElement === null || notificationElement === void 0 ? void 0 : notificationElement.on))
7132
+ return;
7133
+ if (subscriptionRef.current) {
7134
+ subscriptionRef.current.unsubscribe();
7135
+ }
7136
+ var subscription = (_a = notificationElement === null || notificationElement === void 0 ? void 0 : notificationElement.on(memoizedAction)) === null || _a === void 0 ? void 0 : _a.subscribe(function (data) {
7137
+ setData(data);
7138
+ });
7139
+ // Store the new subscription
7140
+ subscriptionRef.current = subscription;
7141
+ // Cleanup function
7142
+ return function () {
7143
+ if (subscriptionRef.current) {
7144
+ subscriptionRef.current.unsubscribe();
7145
+ }
7146
+ };
7147
+ }, [notificationElement === null || notificationElement === void 0 ? void 0 : notificationElement.on, memoizedAction]);
7148
+ return data;
7149
+ }
7150
+
6734
7151
  function useAutocompleteUtils() {
6735
7152
  var _a = React.useState(), autocompleteElement = _a[0], setAutocompleteElement = _a[1];
6736
7153
  var client = useVeltClient().client;
@@ -6945,5 +7362,5 @@ var logLiveState = function (action, liveStateDataId) {
6945
7362
  }
6946
7363
  };
6947
7364
 
6948
- export { SnippylyArrowTool as VeltArrowTool, SnippylyArrows as VeltArrows, VeltAutocomplete, VeltAutocompleteChipTooltipWireframe, VeltAutocompleteGroupOptionWireframe, VeltAutocompleteOptionWireframe, VeltButtonWireframe, VeltCanvasComment, VeltChartComment, SnippylyCommentBubble as VeltCommentBubble, VeltCommentBubbleWireframe, VeltCommentComposer, VeltCommentComposerWireframe, VeltCommentDialogOptionsDropdownContentWireframe, VeltCommentDialogOptionsDropdownTriggerWireframe, VeltCommentDialogPriorityDropdownContentWireframe, VeltCommentDialogPriorityDropdownTriggerWireframe, VeltCommentDialogStatusDropdownContentWireframe, VeltCommentDialogStatusDropdownTriggerWireframe, VeltCommentDialogWireframe, VeltCommentPin, VeltCommentPinWireframe, VeltCommentPlayerTimeline, VeltCommentText, VeltCommentThread, VeltCommentThreadWireframe, SnippylyCommentTool as VeltCommentTool, VeltCommentToolWireframe, SnippylyComments as VeltComments, VeltCommentsMinimap, SnippylyCommentsSidebar as VeltCommentsSidebar, VeltCommentsSidebarButton, VeltCommentsSidebarStatusDropdownWireframe, VeltCommentsSidebarWireframe, VeltConfirmDialogWireframe, SnippylyCursor as VeltCursor, VeltData, VeltHighChartComments, SnippylyHuddle as VeltHuddle, SnippylyHuddleTool as VeltHuddleTool, VeltIf, VeltInlineCommentsSection, VeltInlineCommentsSectionWireframe, VeltInlineReactionsSection, VeltInlineReactionsSectionWireframe, VeltMediaSourceSettingsWireframe, VeltMultiThreadCommentDialogWireframe, VeltNivoChartComments, VeltNotificationsHistoryPanel, VeltNotificationsPanel, VeltNotificationsPanelWireframe, VeltNotificationsTool, VeltNotificationsToolWireframe, VeltPersistentCommentModeWireframe, SnippylyPresence as VeltPresence, SnippylyProvider as VeltProvider, VeltReactionPinTooltipWireframe, VeltReactionPinWireframe, VeltReactionTool, VeltReactionToolWireframe, VeltReactionsPanelWireframe, VeltRecorderAllToolMenuWireframe, VeltRecorderAllToolWireframe, VeltRecorderAudioToolWireframe, SnippylyRecorderControlPanel as VeltRecorderControlPanel, VeltRecorderControlPanelWireframe, SnippylyRecorderNotes as VeltRecorderNotes, SnippylyRecorderPlayer as VeltRecorderPlayer, VeltRecorderPlayerExpandedWireframe, VeltRecorderPlayerWireframe, VeltRecorderScreenToolWireframe, SnippylyRecorderTool as VeltRecorderTool, VeltRecorderVideoToolWireframe, VeltRecordingPreviewStepsDialogWireframe, SnippylySidebarButton as VeltSidebarButton, VeltSidebarButtonWireframe, VeltSingleEditorModePanel, VeltSingleEditorModePanelWireframe, VeltSubtitlesWireframe, SnippylyTagTool as VeltTagTool, SnippylyTags as VeltTags, VeltTextCommentToolWireframe, VeltTextCommentToolbar as VeltTextCommentToolbarWireframe, VeltTranscriptionWireframe, SnippylyUserInviteTool as VeltUserInviteTool, SnippylyUserRequestTool as VeltUserRequestTool, VeltUserSelectorDropdown as VeltUserSelectorDropdownWireframe, VeltVideoEditorPlayerWireframe, VeltVideoPlayer, VeltViewAnalytics, VeltWireframe, createLiveStateMiddleware, useAIRewriterUtils, useAddAttachment, useAddComment, useAddCommentAnnotation, useAddReaction, useApproveCommentAnnotation, useAssignUser, useAutocompleteChipClick, useAutocompleteUtils, useClient, useCommentActionCallback, useCommentAddHandler, useCommentAnnotationById, useCommentAnnotations, useCommentAnnotationsCount, useCommentCopyLinkHandler, useCommentDialogSidebarClickHandler, useCommentEventCallback, useCommentModeState, useCommentSelectionChangeHandler, useCommentSidebarActionButtonClick, useCommentSidebarData, useCommentSidebarInit, useCommentUpdateHandler, useCommentUtils, useContactList, useContactSelected, useContactUtils, useCopyLink, useCursorUsers, useCursorUtils, useDeleteAttachment, useDeleteComment, useDeleteCommentAnnotation, useDeleteReaction, useDeleteRecording, useEditor, useEditorAccessRequestHandler, useEditorAccessTimer, useGetAttachment, useGetComment, useGetCommentAnnotations, useGetLink, useGetRecording, useHuddleUtils, useIdentify, useLiveSelectionDataHandler, useLiveSelectionUtils, useLiveState, useLiveStateData, useLiveStateSyncEventCallback, useLiveStateSyncUtils, useNotificationUtils, useNotificationsData, usePresenceEventCallback, usePresenceUsers, usePresenceUtils, useRecorderAddHandler, useRecorderEventCallback, useRecorderUtils, useRecordingDataByRecorderId, useRecordings, useRejectCommentAnnotation, useResolveCommentAnnotation, useServerConnectionStateChangeHandler, useSetDocument, useSetDocumentId, useSetDocuments, useSetLiveStateData, useSetLocation, useSubscribeCommentAnnotation, useTagAnnotations, useTagUtils, useToggleReaction, useUniqueViewsByDate, useUniqueViewsByUser, useUnreadCommentAnnotationCountByLocationId, useUnreadCommentAnnotationCountOnCurrentDocument, useUnreadCommentCountByAnnotationId, useUnreadCommentCountByLocationId, useUnreadCommentCountOnCurrentDocument, useUnreadNotificationsCount, useUnsetDocumentId, useUnsetDocuments, useUnsubscribeCommentAnnotation, useUpdateAccess, useUpdateComment, useUpdatePriority, useUpdateStatus, useUserEditorState, useVeltClient, useVeltEventCallback, useVeltInitState, useViewsUtils };
7365
+ export { SnippylyArrowTool as VeltArrowTool, SnippylyArrows as VeltArrows, VeltAutocomplete, VeltAutocompleteChipTooltipWireframe, VeltAutocompleteGroupOptionWireframe, VeltAutocompleteOptionWireframe, VeltButtonWireframe, VeltCanvasComment, VeltChartComment, SnippylyCommentBubble as VeltCommentBubble, VeltCommentBubbleWireframe, VeltCommentComposer, VeltCommentComposerWireframe, VeltCommentDialogOptionsDropdownContentWireframe, VeltCommentDialogOptionsDropdownTriggerWireframe, VeltCommentDialogPriorityDropdownContentWireframe, VeltCommentDialogPriorityDropdownTriggerWireframe, VeltCommentDialogStatusDropdownContentWireframe, VeltCommentDialogStatusDropdownTriggerWireframe, VeltCommentDialogWireframe, VeltCommentPin, VeltCommentPinWireframe, VeltCommentPlayerTimeline, VeltCommentText, VeltCommentThread, VeltCommentThreadWireframe, SnippylyCommentTool as VeltCommentTool, VeltCommentToolWireframe, SnippylyComments as VeltComments, VeltCommentsMinimap, SnippylyCommentsSidebar as VeltCommentsSidebar, VeltCommentsSidebarButton, VeltCommentsSidebarStatusDropdownWireframe, VeltCommentsSidebarWireframe, VeltConfirmDialogWireframe, SnippylyCursor as VeltCursor, VeltData, VeltHighChartComments, SnippylyHuddle as VeltHuddle, SnippylyHuddleTool as VeltHuddleTool, VeltIf, VeltInlineCommentsSection, VeltInlineCommentsSectionWireframe, VeltInlineReactionsSection, VeltInlineReactionsSectionWireframe, VeltMediaSourceSettingsWireframe, VeltMultiThreadCommentDialogWireframe, VeltNivoChartComments, VeltNotificationsHistoryPanel, VeltNotificationsPanel, VeltNotificationsPanelWireframe, VeltNotificationsTool, VeltNotificationsToolWireframe, VeltPersistentCommentModeWireframe, SnippylyPresence as VeltPresence, SnippylyProvider as VeltProvider, VeltReactionPinTooltipWireframe, VeltReactionPinWireframe, VeltReactionTool, VeltReactionToolWireframe, VeltReactionsPanelWireframe, VeltRecorderAllToolMenuWireframe, VeltRecorderAllToolWireframe, VeltRecorderAudioToolWireframe, SnippylyRecorderControlPanel as VeltRecorderControlPanel, VeltRecorderControlPanelWireframe, SnippylyRecorderNotes as VeltRecorderNotes, SnippylyRecorderPlayer as VeltRecorderPlayer, VeltRecorderPlayerExpandedWireframe, VeltRecorderPlayerWireframe, VeltRecorderScreenToolWireframe, SnippylyRecorderTool as VeltRecorderTool, VeltRecorderVideoToolWireframe, VeltRecordingPreviewStepsDialogWireframe, SnippylySidebarButton as VeltSidebarButton, VeltSidebarButtonWireframe, VeltSingleEditorModePanel, VeltSingleEditorModePanelWireframe, VeltSubtitlesWireframe, SnippylyTagTool as VeltTagTool, SnippylyTags as VeltTags, VeltTextCommentToolWireframe, VeltTextCommentToolbar as VeltTextCommentToolbarWireframe, VeltTranscriptionWireframe, SnippylyUserInviteTool as VeltUserInviteTool, SnippylyUserRequestTool as VeltUserRequestTool, VeltUserSelectorDropdown as VeltUserSelectorDropdownWireframe, VeltVideoEditorPlayerWireframe, VeltVideoPlayer, VeltViewAnalytics, VeltWireframe, createLiveStateMiddleware, useAIRewriterUtils, useAddAttachment, useAddComment, useAddCommentAnnotation, useAddReaction, useApproveCommentAnnotation, useAssignUser, useAutocompleteChipClick, useAutocompleteUtils, useClient, useCommentActionCallback, useCommentAddHandler, useCommentAnnotationById, useCommentAnnotations, useCommentAnnotationsCount, useCommentCopyLinkHandler, useCommentDialogSidebarClickHandler, useCommentEventCallback, useCommentModeState, useCommentSelectionChangeHandler, useCommentSidebarActionButtonClick, useCommentSidebarData, useCommentSidebarInit, useCommentUpdateHandler, useCommentUtils, useContactList, useContactSelected, useContactUtils, useCopyLink, useCursorUsers, useCursorUtils, useDeleteAttachment, useDeleteComment, useDeleteCommentAnnotation, useDeleteReaction, useDeleteRecording, useEditor, useEditorAccessRequestHandler, useEditorAccessTimer, useGetAttachment, useGetComment, useGetCommentAnnotations, useGetLink, useGetRecording, useHuddleUtils, useIdentify, useLiveSelectionDataHandler, useLiveSelectionUtils, useLiveState, useLiveStateData, useLiveStateSyncEventCallback, useLiveStateSyncUtils, useNotificationEventCallback, useNotificationUtils, useNotificationsData, usePresenceData, usePresenceEventCallback, usePresenceUsers, usePresenceUtils, useRecorderAddHandler, useRecorderEventCallback, useRecorderUtils, useRecordingDataByRecorderId, useRecordings, useRejectCommentAnnotation, useResolveCommentAnnotation, useServerConnectionStateChangeHandler, useSetDocument, useSetDocumentId, useSetDocuments, useSetLiveStateData, useSetLocation, useSetLocations, useSetRootDocument, useSetRootLocation, useSubscribeCommentAnnotation, useTagAnnotations, useTagUtils, useToggleReaction, useUniqueViewsByDate, useUniqueViewsByUser, useUnreadCommentAnnotationCountByLocationId, useUnreadCommentAnnotationCountOnCurrentDocument, useUnreadCommentCountByAnnotationId, useUnreadCommentCountByLocationId, useUnreadCommentCountOnCurrentDocument, useUnreadNotificationsCount, useUnsetDocumentId, useUnsetDocuments, useUnsubscribeCommentAnnotation, useUpdateAccess, useUpdateComment, useUpdatePriority, useUpdateStatus, useUserEditorState, useVeltClient, useVeltEventCallback, useVeltInitState, useViewsUtils };
6949
7366
  //# sourceMappingURL=index.js.map