@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/cjs/index.js CHANGED
@@ -99,7 +99,7 @@ function useVeltClient() {
99
99
  return React.useContext(VeltContext);
100
100
  }
101
101
 
102
- var loadVelt = function (callback, version, staging, develop, proxyDomain) {
102
+ var loadVelt = function (callback, version, staging, develop, proxyDomain, integrity, integrityValue) {
103
103
  if (version === void 0) { version = 'latest'; }
104
104
  if (staging === void 0) { staging = false; }
105
105
  if (develop === void 0) { develop = false; }
@@ -126,6 +126,10 @@ var loadVelt = function (callback, version, staging, develop, proxyDomain) {
126
126
  }
127
127
  script.id = 'veltScript';
128
128
  script.type = 'module';
129
+ if (integrity && integrityValue) {
130
+ script.integrity = integrityValue;
131
+ script.crossOrigin = 'anonymous';
132
+ }
129
133
  document.body.appendChild(script);
130
134
  script.onload = function () {
131
135
  if (callback) {
@@ -140,18 +144,40 @@ var loadVelt = function (callback, version, staging, develop, proxyDomain) {
140
144
  }
141
145
  };
142
146
 
143
- var VELT_SDK_VERSION = '4.5.0-beta.2';
147
+ var VELT_SDK_VERSION = '4.5.0-beta.21';
144
148
  var VELT_SDK_INIT_EVENT = 'onVeltInit';
145
149
  var VELT_TAB_ID = 'veltTabId';
150
+ // integrity map for the Velt SDK
151
+ // Note: generate integrity hashes with: https://www.srihash.org/
152
+ var INTEGRITY_MAP = {
153
+ '4.5.0-beta.21': 'sha384-XP/A/Ivjv0sJqkArxIvX2ks08WBXY9Hw4b0x6yYj9lDEyj/wn0p/p1N42bSxnGlz',
154
+ };
146
155
 
147
156
  var SnippylyProvider = function (props) {
148
157
  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;
149
158
  var _a = React.useState(null), client = _a[0], setClient = _a[1];
150
159
  React.useEffect(function () {
151
160
  if (apiKey) {
161
+ var staging = config === null || config === void 0 ? void 0 : config.staging;
162
+ var develop = config === null || config === void 0 ? void 0 : config.develop;
163
+ var version = (config === null || config === void 0 ? void 0 : config.version) || VELT_SDK_VERSION;
164
+ var integrity = !!(config === null || config === void 0 ? void 0 : config.integrity);
165
+ var integrityValue = '';
166
+ if (integrity) {
167
+ if (develop || staging) {
168
+ if (config === null || config === void 0 ? void 0 : config.sriv) {
169
+ integrityValue = config === null || config === void 0 ? void 0 : config.sriv;
170
+ }
171
+ }
172
+ else {
173
+ if (INTEGRITY_MAP[version]) {
174
+ integrityValue = INTEGRITY_MAP[version];
175
+ }
176
+ }
177
+ }
152
178
  loadVelt(function () {
153
179
  initVelt();
154
- }, (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);
180
+ }, version, staging, develop, config === null || config === void 0 ? void 0 : config.proxyDomain, integrity, integrityValue);
155
181
  }
156
182
  }, []);
157
183
  React.useEffect(function () {
@@ -243,12 +269,12 @@ var SnippylyProvider = function (props) {
243
269
  };
244
270
 
245
271
  var SnippylyCommentBubble = function (props) {
246
- 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;
247
- return (React__default["default"].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));
272
+ 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;
273
+ return (React__default["default"].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));
248
274
  };
249
275
 
250
276
  var SnippylyComments = function (props) {
251
- var autoCategorize = props.autoCategorize, streamViewContainerId = props.streamViewContainerId, onSignIn = props.onSignIn, onUpgrade = props.onUpgrade, textMode = props.textMode, popoverMode = props.popoverMode, popoverTriangleComponent = props.popoverTriangleComponent, floatingCommentDialog = props.floatingCommentDialog, moderatorMode = props.moderatorMode, streamMode = props.streamMode, signInButton = props.signInButton, upgradeButton = props.upgradeButton, attachments = props.attachments, recordings = props.recordings, reactions = props.reactions, deviceInfo = props.deviceInfo, commentIndex = props.commentIndex, dialogOnHover = props.dialogOnHover, dialogOnTargetElementClick = props.dialogOnTargetElementClick, priority = props.priority, inboxMode = props.inboxMode, suggestionMode = props.suggestionMode, mobileMode = props.mobileMode, inlineCommentMode = props.inlineCommentMode, privateCommentMode = props.privateCommentMode, minimap = props.minimap, minimapPosition = props.minimapPosition, persistentCommentMode = props.persistentCommentMode, ghostComments = props.ghostComments, ghostCommentsIndicator = props.ghostCommentsIndicator, commentsOnDom = props.commentsOnDom, resolvedCommentsOnDom = props.resolvedCommentsOnDom, bubbleOnPin = props.bubbleOnPin, bubbleOnPinHover = props.bubbleOnPinHover, commentTool = props.commentTool, sidebarButtonOnCommentDialog = props.sidebarButtonOnCommentDialog, deviceIndicatorOnCommentPins = props.deviceIndicatorOnCommentPins, scrollToComment = props.scrollToComment, userMentions = props.userMentions, deleteOnBackspace = props.deleteOnBackspace, hotkey = props.hotkey, recordingSummary = props.recordingSummary, recordingTranscription = props.recordingTranscription, recordingCountdown = props.recordingCountdown, unreadIndicatorMode = props.unreadIndicatorMode, enterKeyToSubmit = props.enterKeyToSubmit, pinShadowDom = props.pinShadowDom, dialogShadowDom = props.dialogShadowDom, persistentCommentShadowDom = props.persistentCommentShadowDom, shadowDom = props.shadowDom, changeDetectionInCommentMode = props.changeDetectionInCommentMode, areaComment = props.areaComment, pinCursorImage = props.pinCursorImage, allowedElementIds = props.allowedElementIds, allowedElementClassNames = props.allowedElementClassNames, allowedElementQuerySelectors = props.allowedElementQuerySelectors, commentPinHighlighter = props.commentPinHighlighter, customReactions = props.customReactions, onCommentAdd = props.onCommentAdd, onCommentUpdate = props.onCommentUpdate, onCommentAccept = props.onCommentAccept, onCommentReject = props.onCommentReject, onSidebarButtonOnCommentDialogClick = props.onSidebarButtonOnCommentDialogClick, onCommentSelectionChange = props.onCommentSelectionChange, customStatus = props.customStatus, customListDataOnAnnotation = props.customListDataOnAnnotation, customListDataOnComment = props.customListDataOnComment, customPriority = props.customPriority, customCategory = props.customCategory, status = props.status, resolveButton = props.resolveButton, darkMode = props.darkMode, onCustomPinInject = props.onCustomPinInject, children = props.children, textCommentToolShadowDom = props.textCommentToolShadowDom, textCommentToolbarShadowDom = props.textCommentToolbarShadowDom, dialogDarkMode = props.dialogDarkMode, pinDarkMode = props.pinDarkMode, textCommentToolDarkMode = props.textCommentToolDarkMode, textCommentToolbarDarkMode = props.textCommentToolbarDarkMode, composerMode = props.composerMode, atHereLabel = props.atHereLabel, atHereDescription = props.atHereDescription, multiThreadMode = props.multiThreadMode, multiThread = props.multiThread, onCopyLink = props.onCopyLink, deleteReplyConfirmation = props.deleteReplyConfirmation, collapsedComments = props.collapsedComments, shortUserName = props.shortUserName, resolveStatusAccessAdminOnly = props.resolveStatusAccessAdminOnly, svgAsImg = props.svgAsImg, seenByUsers = props.seenByUsers, readOnly = props.readOnly, atHereEnabled = props.atHereEnabled, customAutocompleteSearch = props.customAutocompleteSearch, deleteThreadWithFirstComment = props.deleteThreadWithFirstComment, expandMentionGroups = props.expandMentionGroups, showMentionGroupsFirst = props.showMentionGroupsFirst, showMentionGroupsOnly = props.showMentionGroupsOnly, fullExpanded = props.fullExpanded, commentToNearestAllowedElement = props.commentToNearestAllowedElement, draftMode = props.draftMode;
277
+ 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;
252
278
  var ref = React.useRef();
253
279
  var onSignInRef = React.useRef(onSignIn);
254
280
  var onUpgradeRef = React.useRef(onUpgrade);
@@ -373,7 +399,7 @@ var SnippylyComments = function (props) {
373
399
  }
374
400
  };
375
401
  }, []);
376
- return (React__default["default"].createElement("velt-comments", { ref: ref, "at-here-label": atHereLabel, "at-here-description": atHereDescription, "at-here-enabled": [true, false].includes(atHereEnabled) ? (atHereEnabled ? 'true' : 'false') : undefined, "composer-mode": composerMode, "seen-by-users": [true, false].includes(seenByUsers) ? (seenByUsers ? 'true' : 'false') : undefined, "collapsed-comments": [true, false].includes(collapsedComments) ? (collapsedComments ? 'true' : 'false') : undefined, "short-user-name": [true, false].includes(shortUserName) ? (shortUserName ? 'true' : 'false') : undefined, "resolve-status-access-admin-only": [true, false].includes(resolveStatusAccessAdminOnly) ? (resolveStatusAccessAdminOnly ? 'true' : 'false') : undefined, "delete-reply-confirmation": [true, false].includes(deleteReplyConfirmation) ? (deleteReplyConfirmation ? 'true' : 'false') : undefined, "auto-categorize": [true, false].includes(autoCategorize) ? (autoCategorize ? 'true' : 'false') : undefined, "data-stream-view-container-id": streamViewContainerId, "text-mode": [true, false].includes(textMode) ? (textMode ? 'true' : 'false') : undefined, "popover-mode": [true, false].includes(popoverMode) ? (popoverMode ? 'true' : 'false') : undefined, "popover-triangle-component": [true, false].includes(popoverTriangleComponent) ? (popoverTriangleComponent ? 'true' : 'false') : undefined, "floating-comment-dialog": [true, false].includes(floatingCommentDialog) ? (floatingCommentDialog ? 'true' : 'false') : undefined, "moderator-mode": [true, false].includes(moderatorMode) ? (moderatorMode ? 'true' : 'false') : undefined, "stream-mode": [true, false].includes(streamMode) ? (streamMode ? 'true' : 'false') : undefined, "sign-in-button": [true, false].includes(signInButton) ? (signInButton ? 'true' : 'false') : undefined, "upgrade-button": [true, false].includes(upgradeButton) ? (upgradeButton ? 'true' : 'false') : undefined, attachments: [true, false].includes(attachments) ? (attachments ? 'true' : 'false') : undefined, recordings: recordings, reactions: [true, false].includes(reactions) ? (reactions ? 'true' : 'false') : undefined, "device-info": [true, false].includes(deviceInfo) ? (deviceInfo ? 'true' : 'false') : undefined, "comment-index": [true, false].includes(commentIndex) ? (commentIndex ? 'true' : 'false') : undefined, "dialog-on-hover": [true, false].includes(dialogOnHover) ? (dialogOnHover ? 'true' : 'false') : undefined, "dialog-on-target-element-click": [true, false].includes(dialogOnTargetElementClick) ? (dialogOnTargetElementClick ? 'true' : 'false') : undefined, priority: [true, false].includes(priority) ? (priority ? 'true' : 'false') : undefined, status: [true, false].includes(status) ? (status ? 'true' : 'false') : undefined, "resolve-button": [true, false].includes(resolveButton) ? (resolveButton ? 'true' : 'false') : undefined, "inbox-mode": [true, false].includes(inboxMode) ? (inboxMode ? 'true' : 'false') : undefined, "suggestion-mode": [true, false].includes(suggestionMode) ? (suggestionMode ? 'true' : 'false') : undefined, "mobile-mode": [true, false].includes(mobileMode) ? (mobileMode ? 'true' : 'false') : undefined, "inline-comment-mode": [true, false].includes(inlineCommentMode) ? (inlineCommentMode ? 'true' : 'false') : undefined, "private-comment-mode": [true, false].includes(privateCommentMode) ? (privateCommentMode ? 'true' : 'false') : undefined, minimap: [true, false].includes(minimap) ? (minimap ? 'true' : 'false') : undefined, "minimap-position": minimapPosition, "persistent-comment-mode": [true, false].includes(persistentCommentMode) ? (persistentCommentMode ? 'true' : 'false') : undefined, "ghost-comments": [true, false].includes(ghostComments) ? (ghostComments ? 'true' : 'false') : undefined, "ghost-comments-indicator": [true, false].includes(ghostCommentsIndicator) ? (ghostCommentsIndicator ? 'true' : 'false') : undefined, "comments-on-dom": [true, false].includes(commentsOnDom) ? (commentsOnDom ? 'true' : 'false') : undefined, "resolved-comments-on-dom": [true, false].includes(resolvedCommentsOnDom) ? (resolvedCommentsOnDom ? 'true' : 'false') : undefined, "bubble-on-pin": [true, false].includes(bubbleOnPin) ? (bubbleOnPin ? 'true' : 'false') : undefined, "bubble-on-pin-hover": [true, false].includes(bubbleOnPinHover) ? (bubbleOnPinHover ? 'true' : 'false') : undefined, "comment-tool": [true, false].includes(commentTool) ? (commentTool ? 'true' : 'false') : undefined, "sidebar-button-on-comment-dialog": [true, false].includes(sidebarButtonOnCommentDialog) ? (sidebarButtonOnCommentDialog ? 'true' : 'false') : undefined, "device-indicator-on-comment-pins": [true, false].includes(deviceIndicatorOnCommentPins) ? (deviceIndicatorOnCommentPins ? 'true' : 'false') : undefined, "scroll-to-comment": [true, false].includes(scrollToComment) ? (scrollToComment ? 'true' : 'false') : undefined, "user-mentions": [true, false].includes(userMentions) ? (userMentions ? 'true' : 'false') : undefined, "delete-on-backspace": [true, false].includes(deleteOnBackspace) ? (deleteOnBackspace ? 'true' : 'false') : undefined, hotkey: [true, false].includes(hotkey) ? (hotkey ? 'true' : 'false') : undefined, "recording-summary": [true, false].includes(recordingSummary) ? (recordingSummary ? 'true' : 'false') : undefined, "recording-transcription": [true, false].includes(recordingTranscription) ? (recordingTranscription ? 'true' : 'false') : undefined, "recording-countdown": [true, false].includes(recordingCountdown) ? (recordingCountdown ? 'true' : 'false') : undefined, "unread-indicator-mode": unreadIndicatorMode, "enter-key-to-submit": [true, false].includes(enterKeyToSubmit) ? (enterKeyToSubmit ? 'true' : 'false') : undefined, "pin-shadow-dom": [true, false].includes(pinShadowDom) ? (pinShadowDom ? 'true' : 'false') : undefined, "dialog-shadow-dom": [true, false].includes(dialogShadowDom) ? (dialogShadowDom ? 'true' : 'false') : undefined, "shadow-dom": [true, false].includes(shadowDom) ? (shadowDom ? 'true' : 'false') : undefined, "text-comment-tool-shadow-dom": [true, false].includes(textCommentToolShadowDom) ? (textCommentToolShadowDom ? 'true' : 'false') : undefined, "text-comment-toolbar-shadow-dom": [true, false].includes(textCommentToolbarShadowDom) ? (textCommentToolbarShadowDom ? 'true' : 'false') : undefined, "persistent-comment-shadow-dom": [true, false].includes(persistentCommentShadowDom) ? (persistentCommentShadowDom ? 'true' : 'false') : undefined, "change-detection-in-comment-mode": [true, false].includes(changeDetectionInCommentMode) ? (changeDetectionInCommentMode ? 'true' : 'false') : undefined, "area-comment": [true, false].includes(areaComment) ? (areaComment ? 'true' : 'false') : undefined, "pin-cursor-image": pinCursorImage, "allowed-element-ids": JSON.stringify(allowedElementIds), "allowed-element-class-names": JSON.stringify(allowedElementClassNames), "allowed-element-query-selectors": JSON.stringify(allowedElementQuerySelectors), "comment-pin-highlighter": [true, false].includes(commentPinHighlighter) ? (commentPinHighlighter ? 'true' : 'false') : undefined, "custom-reactions": JSON.stringify(customReactions), "custom-status": JSON.stringify(customStatus), "custom-list-data-on-annotation": JSON.stringify(customListDataOnAnnotation), "custom-list-data-on-comment": JSON.stringify(customListDataOnComment), "custom-priority": JSON.stringify(customPriority), "custom-category": JSON.stringify(customCategory), "dark-mode": [true, false].includes(darkMode) ? (darkMode ? 'true' : 'false') : undefined, "dialog-dark-mode": [true, false].includes(dialogDarkMode) ? (dialogDarkMode ? 'true' : 'false') : undefined, "pin-dark-mode": [true, false].includes(pinDarkMode) ? (pinDarkMode ? 'true' : 'false') : undefined, "text-comment-tool-dark-mode": [true, false].includes(textCommentToolDarkMode) ? (textCommentToolDarkMode ? 'true' : 'false') : undefined, "text-comment-toolbar-dark-mode": [true, false].includes(textCommentToolbarDarkMode) ? (textCommentToolbarDarkMode ? 'true' : 'false') : undefined, "multi-thread-mode": [true, false].includes(multiThreadMode) ? (multiThreadMode ? 'true' : 'false') : undefined, "multi-thread": [true, false].includes(multiThread) ? (multiThread ? 'true' : 'false') : undefined, "read-only": [true, false].includes(readOnly) ? (readOnly ? 'true' : 'false') : undefined, "custom-autocomplete-search": [true, false].includes(customAutocompleteSearch) ? (customAutocompleteSearch ? 'true' : 'false') : undefined, "delete-thread-with-first-comment": [true, false].includes(deleteThreadWithFirstComment) ? (deleteThreadWithFirstComment ? 'true' : 'false') : undefined, "svg-as-img": [true, false].includes(svgAsImg) ? (svgAsImg ? 'true' : 'false') : undefined, "expand-mention-groups": [true, false].includes(expandMentionGroups) ? (expandMentionGroups ? 'true' : 'false') : undefined, "show-mention-groups-first": [true, false].includes(showMentionGroupsFirst) ? (showMentionGroupsFirst ? 'true' : 'false') : undefined, "show-mention-groups-only": [true, false].includes(showMentionGroupsOnly) ? (showMentionGroupsOnly ? 'true' : 'false') : undefined, "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));
402
+ return (React__default["default"].createElement("velt-comments", { ref: ref, "at-here-label": atHereLabel, "at-here-description": atHereDescription, "at-here-enabled": [true, false].includes(atHereEnabled) ? (atHereEnabled ? 'true' : 'false') : undefined, "composer-mode": composerMode, "seen-by-users": [true, false].includes(seenByUsers) ? (seenByUsers ? 'true' : 'false') : undefined, "collapsed-comments": [true, false].includes(collapsedComments) ? (collapsedComments ? 'true' : 'false') : undefined, "short-user-name": [true, false].includes(shortUserName) ? (shortUserName ? 'true' : 'false') : undefined, "resolve-status-access-admin-only": [true, false].includes(resolveStatusAccessAdminOnly) ? (resolveStatusAccessAdminOnly ? 'true' : 'false') : undefined, "delete-reply-confirmation": [true, false].includes(deleteReplyConfirmation) ? (deleteReplyConfirmation ? 'true' : 'false') : undefined, "auto-categorize": [true, false].includes(autoCategorize) ? (autoCategorize ? 'true' : 'false') : undefined, "data-stream-view-container-id": streamViewContainerId, "text-mode": [true, false].includes(textMode) ? (textMode ? 'true' : 'false') : undefined, "popover-mode": [true, false].includes(popoverMode) ? (popoverMode ? 'true' : 'false') : undefined, "popover-triangle-component": [true, false].includes(popoverTriangleComponent) ? (popoverTriangleComponent ? 'true' : 'false') : undefined, "floating-comment-dialog": [true, false].includes(floatingCommentDialog) ? (floatingCommentDialog ? 'true' : 'false') : undefined, "moderator-mode": [true, false].includes(moderatorMode) ? (moderatorMode ? 'true' : 'false') : undefined, "stream-mode": [true, false].includes(streamMode) ? (streamMode ? 'true' : 'false') : undefined, "sign-in-button": [true, false].includes(signInButton) ? (signInButton ? 'true' : 'false') : undefined, "upgrade-button": [true, false].includes(upgradeButton) ? (upgradeButton ? 'true' : 'false') : undefined, attachments: [true, false].includes(attachments) ? (attachments ? 'true' : 'false') : undefined, recordings: recordings, reactions: [true, false].includes(reactions) ? (reactions ? 'true' : 'false') : undefined, "device-info": [true, false].includes(deviceInfo) ? (deviceInfo ? 'true' : 'false') : undefined, "comment-index": [true, false].includes(commentIndex) ? (commentIndex ? 'true' : 'false') : undefined, "dialog-on-hover": [true, false].includes(dialogOnHover) ? (dialogOnHover ? 'true' : 'false') : undefined, "dialog-on-target-element-click": [true, false].includes(dialogOnTargetElementClick) ? (dialogOnTargetElementClick ? 'true' : 'false') : undefined, priority: [true, false].includes(priority) ? (priority ? 'true' : 'false') : undefined, status: [true, false].includes(status) ? (status ? 'true' : 'false') : undefined, "resolve-button": [true, false].includes(resolveButton) ? (resolveButton ? 'true' : 'false') : undefined, "inbox-mode": [true, false].includes(inboxMode) ? (inboxMode ? 'true' : 'false') : undefined, "suggestion-mode": [true, false].includes(suggestionMode) ? (suggestionMode ? 'true' : 'false') : undefined, "mobile-mode": [true, false].includes(mobileMode) ? (mobileMode ? 'true' : 'false') : undefined, "inline-comment-mode": [true, false].includes(inlineCommentMode) ? (inlineCommentMode ? 'true' : 'false') : undefined, "private-comment-mode": [true, false].includes(privateCommentMode) ? (privateCommentMode ? 'true' : 'false') : undefined, minimap: [true, false].includes(minimap) ? (minimap ? 'true' : 'false') : undefined, "minimap-position": minimapPosition, "persistent-comment-mode": [true, false].includes(persistentCommentMode) ? (persistentCommentMode ? 'true' : 'false') : undefined, "ghost-comments": [true, false].includes(ghostComments) ? (ghostComments ? 'true' : 'false') : undefined, "ghost-comments-indicator": [true, false].includes(ghostCommentsIndicator) ? (ghostCommentsIndicator ? 'true' : 'false') : undefined, "comments-on-dom": [true, false].includes(commentsOnDom) ? (commentsOnDom ? 'true' : 'false') : undefined, "resolved-comments-on-dom": [true, false].includes(resolvedCommentsOnDom) ? (resolvedCommentsOnDom ? 'true' : 'false') : undefined, "filter-comments-on-dom": [true, false].includes(filterCommentsOnDom) ? (filterCommentsOnDom ? 'true' : 'false') : undefined, "bubble-on-pin": [true, false].includes(bubbleOnPin) ? (bubbleOnPin ? 'true' : 'false') : undefined, "bubble-on-pin-hover": [true, false].includes(bubbleOnPinHover) ? (bubbleOnPinHover ? 'true' : 'false') : undefined, "comment-tool": [true, false].includes(commentTool) ? (commentTool ? 'true' : 'false') : undefined, "sidebar-button-on-comment-dialog": [true, false].includes(sidebarButtonOnCommentDialog) ? (sidebarButtonOnCommentDialog ? 'true' : 'false') : undefined, "device-indicator-on-comment-pins": [true, false].includes(deviceIndicatorOnCommentPins) ? (deviceIndicatorOnCommentPins ? 'true' : 'false') : undefined, "scroll-to-comment": [true, false].includes(scrollToComment) ? (scrollToComment ? 'true' : 'false') : undefined, "user-mentions": [true, false].includes(userMentions) ? (userMentions ? 'true' : 'false') : undefined, "delete-on-backspace": [true, false].includes(deleteOnBackspace) ? (deleteOnBackspace ? 'true' : 'false') : undefined, hotkey: [true, false].includes(hotkey) ? (hotkey ? 'true' : 'false') : undefined, "recording-summary": [true, false].includes(recordingSummary) ? (recordingSummary ? 'true' : 'false') : undefined, "recording-transcription": [true, false].includes(recordingTranscription) ? (recordingTranscription ? 'true' : 'false') : undefined, "recording-countdown": [true, false].includes(recordingCountdown) ? (recordingCountdown ? 'true' : 'false') : undefined, "unread-indicator-mode": unreadIndicatorMode, "enter-key-to-submit": [true, false].includes(enterKeyToSubmit) ? (enterKeyToSubmit ? 'true' : 'false') : undefined, "pin-shadow-dom": [true, false].includes(pinShadowDom) ? (pinShadowDom ? 'true' : 'false') : undefined, "dialog-shadow-dom": [true, false].includes(dialogShadowDom) ? (dialogShadowDom ? 'true' : 'false') : undefined, "shadow-dom": [true, false].includes(shadowDom) ? (shadowDom ? 'true' : 'false') : undefined, "text-comment-tool-shadow-dom": [true, false].includes(textCommentToolShadowDom) ? (textCommentToolShadowDom ? 'true' : 'false') : undefined, "text-comment-toolbar-shadow-dom": [true, false].includes(textCommentToolbarShadowDom) ? (textCommentToolbarShadowDom ? 'true' : 'false') : undefined, "persistent-comment-shadow-dom": [true, false].includes(persistentCommentShadowDom) ? (persistentCommentShadowDom ? 'true' : 'false') : undefined, "change-detection-in-comment-mode": [true, false].includes(changeDetectionInCommentMode) ? (changeDetectionInCommentMode ? 'true' : 'false') : undefined, "area-comment": [true, false].includes(areaComment) ? (areaComment ? 'true' : 'false') : undefined, "pin-cursor-image": pinCursorImage, "allowed-element-ids": JSON.stringify(allowedElementIds), "allowed-element-class-names": JSON.stringify(allowedElementClassNames), "allowed-element-query-selectors": JSON.stringify(allowedElementQuerySelectors), "comment-pin-highlighter": [true, false].includes(commentPinHighlighter) ? (commentPinHighlighter ? 'true' : 'false') : undefined, "custom-reactions": JSON.stringify(customReactions), "custom-status": JSON.stringify(customStatus), "custom-list-data-on-annotation": JSON.stringify(customListDataOnAnnotation), "custom-list-data-on-comment": JSON.stringify(customListDataOnComment), "custom-priority": JSON.stringify(customPriority), "custom-category": JSON.stringify(customCategory), "dark-mode": [true, false].includes(darkMode) ? (darkMode ? 'true' : 'false') : undefined, "dialog-dark-mode": [true, false].includes(dialogDarkMode) ? (dialogDarkMode ? 'true' : 'false') : undefined, "pin-dark-mode": [true, false].includes(pinDarkMode) ? (pinDarkMode ? 'true' : 'false') : undefined, "text-comment-tool-dark-mode": [true, false].includes(textCommentToolDarkMode) ? (textCommentToolDarkMode ? 'true' : 'false') : undefined, "text-comment-toolbar-dark-mode": [true, false].includes(textCommentToolbarDarkMode) ? (textCommentToolbarDarkMode ? 'true' : 'false') : undefined, "multi-thread-mode": [true, false].includes(multiThreadMode) ? (multiThreadMode ? 'true' : 'false') : undefined, "multi-thread": [true, false].includes(multiThread) ? (multiThread ? 'true' : 'false') : undefined, "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));
377
403
  };
378
404
 
379
405
  var SnippylyCommentsSidebar = function (props) {
@@ -454,7 +480,7 @@ var SnippylyCommentsSidebar = function (props) {
454
480
  };
455
481
 
456
482
  var SnippylyCommentTool = function (props) {
457
- 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;
483
+ 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;
458
484
  var ref = React.useRef();
459
485
  var onCommentModeChangeRef = React.useRef(onCommentModeChange);
460
486
  // Update the ref to always point to the latest callback function
@@ -480,7 +506,7 @@ var SnippylyCommentTool = function (props) {
480
506
  }
481
507
  };
482
508
  }, []);
483
- return (React__default["default"].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));
509
+ return (React__default["default"].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));
484
510
  };
485
511
 
486
512
  var SnippylyCursor = function (props) {
@@ -849,7 +875,7 @@ var VeltCommentThread = function (props) {
849
875
  };
850
876
 
851
877
  var VeltNotificationsTool = function (props) {
852
- 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;
878
+ 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;
853
879
  var ref = React.useRef();
854
880
  var onNotificationClickRef = React.useRef(onNotificationClick);
855
881
  // Update the ref to always point to the latest callback function
@@ -875,11 +901,11 @@ var VeltNotificationsTool = function (props) {
875
901
  }
876
902
  };
877
903
  }, []);
878
- return (React__default["default"].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));
904
+ return (React__default["default"].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));
879
905
  };
880
906
 
881
907
  var VeltNotificationsPanel = function (props) {
882
- var darkMode = props.darkMode, onNotificationClick = props.onNotificationClick, shadowDom = props.shadowDom, tabConfig = props.tabConfig, variant = props.variant, readNotificationsOnForYouTab = props.readNotificationsOnForYouTab, panelOpenMode = props.panelOpenMode;
908
+ 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;
883
909
  var ref = React.useRef();
884
910
  var onNotificationClickRef = React.useRef(onNotificationClick);
885
911
  // Update the ref to always point to the latest callback function
@@ -905,7 +931,7 @@ var VeltNotificationsPanel = function (props) {
905
931
  }
906
932
  };
907
933
  }, []);
908
- return (React__default["default"].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 }));
934
+ return (React__default["default"].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 }));
909
935
  };
910
936
 
911
937
  var VeltNotificationsHistoryPanel = function (props) {
@@ -2686,6 +2712,16 @@ VeltCommentsSidebarFilterTagged.Name = VeltCommentsSidebarFilterName;
2686
2712
  VeltCommentsSidebarFilterTagged.Item = VeltCommentsSidebarFilterItem;
2687
2713
  VeltCommentsSidebarFilterTagged.Search = VeltCommentsSidebarFilterSearch;
2688
2714
 
2715
+ var VeltCommentsSidebarFilterDocument = function (props) {
2716
+ var children = props.children, remainingProps = __rest(props, ["children"]);
2717
+ var transformedProps = transformWireframeProps(remainingProps);
2718
+ return (React__default["default"].createElement("velt-comments-sidebar-filter-document-wireframe", __assign({}, transformedProps), children));
2719
+ };
2720
+ VeltCommentsSidebarFilterDocument.Name = VeltCommentsSidebarFilterName;
2721
+ VeltCommentsSidebarFilterDocument.Item = VeltCommentsSidebarFilterItem;
2722
+ VeltCommentsSidebarFilterDocument.ViewAll = VeltCommentsSidebarFilterViewAll;
2723
+ VeltCommentsSidebarFilterDocument.Search = VeltCommentsSidebarFilterSearch;
2724
+
2689
2725
  var VeltCommentsSidebarFilter = function (props) {
2690
2726
  var children = props.children, remainingProps = __rest(props, ["children"]);
2691
2727
  var transformedProps = transformWireframeProps(remainingProps);
@@ -2707,6 +2743,7 @@ VeltCommentsSidebarFilter.Item = VeltCommentsSidebarFilterItem;
2707
2743
  VeltCommentsSidebarFilter.Status = VeltCommentsSidebarFilterStatus;
2708
2744
  VeltCommentsSidebarFilter.ResetButton = VeltCommentsSidebarFilterResetButton;
2709
2745
  VeltCommentsSidebarFilter.Search = VeltCommentsSidebarFilterSearch;
2746
+ VeltCommentsSidebarFilter.Document = VeltCommentsSidebarFilterDocument;
2710
2747
 
2711
2748
  var VeltCommentsSidebarFilterButton = function (props) {
2712
2749
  var children = props.children, remainingProps = __rest(props, ["children"]);
@@ -2795,6 +2832,33 @@ var VeltCommentsSidebarLocationFilterDropdown = function (props) {
2795
2832
  VeltCommentsSidebarLocationFilterDropdown.Trigger = VeltCommentsSidebarLocationFilterDropdownTrigger;
2796
2833
  VeltCommentsSidebarLocationFilterDropdown.Content = VeltCommentsSidebarLocationFilterDropdownContent;
2797
2834
 
2835
+ var VeltCommentsSidebarDocumentFilterDropdownContent = function (props) {
2836
+ var children = props.children, remainingProps = __rest(props, ["children"]);
2837
+ var transformedProps = transformWireframeProps(remainingProps);
2838
+ return (React__default["default"].createElement("velt-comments-sidebar-document-filter-dropdown-content-wireframe", __assign({}, transformedProps), children));
2839
+ };
2840
+
2841
+ var VeltCommentsSidebarDocumentFilterDropdownTriggerLabel = function (props) {
2842
+ var children = props.children, remainingProps = __rest(props, ["children"]);
2843
+ var transformedProps = transformWireframeProps(remainingProps);
2844
+ return (React__default["default"].createElement("velt-comments-sidebar-document-filter-dropdown-trigger-label-wireframe", __assign({}, transformedProps), children));
2845
+ };
2846
+
2847
+ var VeltCommentsSidebarDocumentFilterDropdownTrigger = function (props) {
2848
+ var children = props.children, remainingProps = __rest(props, ["children"]);
2849
+ var transformedProps = transformWireframeProps(remainingProps);
2850
+ return (React__default["default"].createElement("velt-comments-sidebar-document-filter-dropdown-trigger-wireframe", __assign({}, transformedProps), children));
2851
+ };
2852
+ VeltCommentsSidebarDocumentFilterDropdownTrigger.Label = VeltCommentsSidebarDocumentFilterDropdownTriggerLabel;
2853
+
2854
+ var VeltCommentsSidebarDocumentFilterDropdownWireframe = function (props) {
2855
+ var children = props.children, remainingProps = __rest(props, ["children"]);
2856
+ var transformedProps = transformWireframeProps(remainingProps);
2857
+ return (React__default["default"].createElement("velt-comments-sidebar-document-filter-dropdown-wireframe", __assign({}, transformedProps), children));
2858
+ };
2859
+ VeltCommentsSidebarDocumentFilterDropdownWireframe.Trigger = VeltCommentsSidebarDocumentFilterDropdownTrigger;
2860
+ VeltCommentsSidebarDocumentFilterDropdownWireframe.Content = VeltCommentsSidebarDocumentFilterDropdownContent;
2861
+
2798
2862
  var VeltCommentsSidebarMinimalActionsDropdownContentMarkAllReadWireframe = function (props) {
2799
2863
  var children = props.children, remainingProps = __rest(props, ["children"]);
2800
2864
  var transformedProps = transformWireframeProps(remainingProps);
@@ -3062,6 +3126,7 @@ VeltCommentsSidebarWireframe.Skeleton = VeltCommentsSidebarSkeleton;
3062
3126
  VeltCommentsSidebarWireframe.Panel = VeltCommentsSidebarPanel;
3063
3127
  VeltCommentsSidebarWireframe.MinimalFilterDropdown = VeltCommentsSidebarMinimalFilterDropdown;
3064
3128
  VeltCommentsSidebarWireframe.LocationFilterDropdown = VeltCommentsSidebarLocationFilterDropdown;
3129
+ VeltCommentsSidebarWireframe.DocumentFilterDropdown = VeltCommentsSidebarDocumentFilterDropdownWireframe;
3065
3130
  VeltCommentsSidebarWireframe.MinimalActionsDropdown = VeltCommentsSidebarMinimalActionsDropdownWireframe;
3066
3131
  VeltCommentsSidebarWireframe.ResetFilterButton = VeltCommentsSidebarResetFilterButtonWireframe;
3067
3132
  VeltCommentsSidebarWireframe.ActionButton = VeltCommentsSidebarActionButton;
@@ -3771,6 +3836,151 @@ var VeltNotificationsPanelSkeletonWireframe = function (props) {
3771
3836
  return (React__default["default"].createElement("velt-notifications-panel-skeleton-wireframe", __assign({}, transformedProps), children));
3772
3837
  };
3773
3838
 
3839
+ var VeltNotificationsPanelSettingsButtonWireframe = function (props) {
3840
+ var children = props.children, remainingProps = __rest(props, ["children"]);
3841
+ var transformedProps = transformWireframeProps(remainingProps);
3842
+ return (React__default["default"].createElement("velt-notifications-panel-settings-button-wireframe", __assign({}, transformedProps), children));
3843
+ };
3844
+
3845
+ var VeltNotificationsPanelSettingsDescriptionWireframe = function (props) {
3846
+ var children = props.children, remainingProps = __rest(props, ["children"]);
3847
+ var transformedProps = transformWireframeProps(remainingProps);
3848
+ return (React__default["default"].createElement("velt-notifications-panel-settings-description-wireframe", __assign({}, transformedProps), children));
3849
+ };
3850
+
3851
+ var VeltNotificationsPanelSettingsBackButtonWireframe = function (props) {
3852
+ var children = props.children, remainingProps = __rest(props, ["children"]);
3853
+ var transformedProps = transformWireframeProps(remainingProps);
3854
+ return (React__default["default"].createElement("velt-notifications-panel-settings-back-button-wireframe", __assign({}, transformedProps), children));
3855
+ };
3856
+
3857
+ var VeltNotificationsPanelSettingsFooterWireframe = function (props) {
3858
+ var children = props.children, remainingProps = __rest(props, ["children"]);
3859
+ var transformedProps = transformWireframeProps(remainingProps);
3860
+ return (React__default["default"].createElement("velt-notifications-panel-settings-footer-wireframe", __assign({}, transformedProps), children));
3861
+ };
3862
+
3863
+ var VeltNotificationsPanelSettingsHeaderTitleWireframe = function (props) {
3864
+ var children = props.children, remainingProps = __rest(props, ["children"]);
3865
+ var transformedProps = transformWireframeProps(remainingProps);
3866
+ return (React__default["default"].createElement("velt-notifications-panel-settings-header-title-wireframe", __assign({}, transformedProps), children));
3867
+ };
3868
+
3869
+ var VeltNotificationsPanelSettingsHeaderWireframe = function (props) {
3870
+ var children = props.children, remainingProps = __rest(props, ["children"]);
3871
+ var transformedProps = transformWireframeProps(remainingProps);
3872
+ return (React__default["default"].createElement("velt-notifications-panel-settings-header-wireframe", __assign({}, transformedProps), children));
3873
+ };
3874
+ VeltNotificationsPanelSettingsHeaderWireframe.Title = VeltNotificationsPanelSettingsHeaderTitleWireframe;
3875
+
3876
+ var VeltNotificationsPanelSettingsAccordionTriggerSelectedValueWireframe = function (props) {
3877
+ var children = props.children, remainingProps = __rest(props, ["children"]);
3878
+ var transformedProps = transformWireframeProps(remainingProps);
3879
+ return (React__default["default"].createElement("velt-notifications-panel-settings-accordion-trigger-selected-value-wireframe", __assign({}, transformedProps), children));
3880
+ };
3881
+
3882
+ var VeltNotificationsPanelSettingsAccordionTriggerLabelWireframe = function (props) {
3883
+ var children = props.children, remainingProps = __rest(props, ["children"]);
3884
+ var transformedProps = transformWireframeProps(remainingProps);
3885
+ return (React__default["default"].createElement("velt-notifications-panel-settings-accordion-trigger-label-wireframe", __assign({}, transformedProps), children));
3886
+ };
3887
+
3888
+ var VeltNotificationsPanelSettingsAccordionTriggerIconWireframe = function (props) {
3889
+ var children = props.children, remainingProps = __rest(props, ["children"]);
3890
+ var transformedProps = transformWireframeProps(remainingProps);
3891
+ return (React__default["default"].createElement("velt-notifications-panel-settings-accordion-trigger-icon-wireframe", __assign({}, transformedProps), children));
3892
+ };
3893
+
3894
+ var VeltNotificationsPanelSettingsAccordionTriggerWireframe = function (props) {
3895
+ var children = props.children, remainingProps = __rest(props, ["children"]);
3896
+ var transformedProps = transformWireframeProps(remainingProps);
3897
+ return (React__default["default"].createElement("velt-notifications-panel-settings-accordion-trigger-wireframe", __assign({}, transformedProps), children));
3898
+ };
3899
+ VeltNotificationsPanelSettingsAccordionTriggerWireframe.SelectedValue = VeltNotificationsPanelSettingsAccordionTriggerSelectedValueWireframe;
3900
+ VeltNotificationsPanelSettingsAccordionTriggerWireframe.Label = VeltNotificationsPanelSettingsAccordionTriggerLabelWireframe;
3901
+ VeltNotificationsPanelSettingsAccordionTriggerWireframe.Icon = VeltNotificationsPanelSettingsAccordionTriggerIconWireframe;
3902
+
3903
+ var VeltNotificationsPanelSettingsAccordionContentItemLabelWireframe = function (props) {
3904
+ var children = props.children, remainingProps = __rest(props, ["children"]);
3905
+ var transformedProps = transformWireframeProps(remainingProps);
3906
+ return (React__default["default"].createElement("velt-notifications-panel-settings-accordion-content-item-label-wireframe", __assign({}, transformedProps), children));
3907
+ };
3908
+
3909
+ var VeltNotificationsPanelSettingsAccordionContentItemIconWireframe = function (props) {
3910
+ var children = props.children, remainingProps = __rest(props, ["children"]);
3911
+ var transformedProps = transformWireframeProps(remainingProps);
3912
+ return (React__default["default"].createElement("velt-notifications-panel-settings-accordion-content-item-icon-wireframe", __assign({}, transformedProps), children));
3913
+ };
3914
+
3915
+ var VeltNotificationsPanelSettingsAccordionContentItemWireframe = function (props) {
3916
+ var children = props.children, remainingProps = __rest(props, ["children"]);
3917
+ var transformedProps = transformWireframeProps(remainingProps);
3918
+ return (React__default["default"].createElement("velt-notifications-panel-settings-accordion-content-item-wireframe", __assign({}, transformedProps), children));
3919
+ };
3920
+ VeltNotificationsPanelSettingsAccordionContentItemWireframe.Icon = VeltNotificationsPanelSettingsAccordionContentItemIconWireframe;
3921
+ VeltNotificationsPanelSettingsAccordionContentItemWireframe.Label = VeltNotificationsPanelSettingsAccordionContentItemLabelWireframe;
3922
+
3923
+ var VeltNotificationsPanelSettingsAccordionContentWireframe = function (props) {
3924
+ var children = props.children, remainingProps = __rest(props, ["children"]);
3925
+ var transformedProps = transformWireframeProps(remainingProps);
3926
+ return (React__default["default"].createElement("velt-notifications-panel-settings-accordion-content-wireframe", __assign({}, transformedProps), children));
3927
+ };
3928
+ VeltNotificationsPanelSettingsAccordionContentWireframe.Item = VeltNotificationsPanelSettingsAccordionContentItemWireframe;
3929
+
3930
+ var VeltNotificationsPanelSettingsAccordionWireframe = function (props) {
3931
+ var children = props.children, remainingProps = __rest(props, ["children"]);
3932
+ var transformedProps = transformWireframeProps(remainingProps);
3933
+ return (React__default["default"].createElement("velt-notifications-panel-settings-accordion-wireframe", __assign({}, transformedProps), children));
3934
+ };
3935
+ VeltNotificationsPanelSettingsAccordionWireframe.Trigger = VeltNotificationsPanelSettingsAccordionTriggerWireframe;
3936
+ VeltNotificationsPanelSettingsAccordionWireframe.Content = VeltNotificationsPanelSettingsAccordionContentWireframe;
3937
+
3938
+ var VeltNotificationsPanelSettingsListWireframe = function (props) {
3939
+ var children = props.children, remainingProps = __rest(props, ["children"]);
3940
+ var transformedProps = transformWireframeProps(remainingProps);
3941
+ return (React__default["default"].createElement("velt-notifications-panel-settings-list-wireframe", __assign({}, transformedProps), children));
3942
+ };
3943
+ VeltNotificationsPanelSettingsListWireframe.Accordion = VeltNotificationsPanelSettingsAccordionWireframe;
3944
+
3945
+ var VeltNotificationsPanelSettingsMuteAllDescriptionWireframe = function (props) {
3946
+ var children = props.children, remainingProps = __rest(props, ["children"]);
3947
+ var transformedProps = transformWireframeProps(remainingProps);
3948
+ return (React__default["default"].createElement("velt-notifications-panel-settings-mute-all-description-wireframe", __assign({}, transformedProps), children));
3949
+ };
3950
+
3951
+ var VeltNotificationsPanelSettingsMuteAllTitleWireframe = function (props) {
3952
+ var children = props.children, remainingProps = __rest(props, ["children"]);
3953
+ var transformedProps = transformWireframeProps(remainingProps);
3954
+ return (React__default["default"].createElement("velt-notifications-panel-settings-mute-all-title-wireframe", __assign({}, transformedProps), children));
3955
+ };
3956
+
3957
+ var VeltNotificationsPanelSettingsMuteAllToggleWireframe = function (props) {
3958
+ var children = props.children, remainingProps = __rest(props, ["children"]);
3959
+ var transformedProps = transformWireframeProps(remainingProps);
3960
+ return (React__default["default"].createElement("velt-notifications-panel-settings-mute-all-toggle-wireframe", __assign({}, transformedProps), children));
3961
+ };
3962
+
3963
+ var VeltNotificationsPanelSettingsTitleWireframe = function (props) {
3964
+ var children = props.children, remainingProps = __rest(props, ["children"]);
3965
+ var transformedProps = transformWireframeProps(remainingProps);
3966
+ return (React__default["default"].createElement("velt-notifications-panel-settings-title-wireframe", __assign({}, transformedProps), children));
3967
+ };
3968
+
3969
+ var VeltNotificationsPanelSettingsWireframe = function (props) {
3970
+ var children = props.children, remainingProps = __rest(props, ["children"]);
3971
+ var transformedProps = transformWireframeProps(remainingProps);
3972
+ return (React__default["default"].createElement("velt-notifications-panel-settings-wireframe", __assign({}, transformedProps), children));
3973
+ };
3974
+ VeltNotificationsPanelSettingsWireframe.BackButton = VeltNotificationsPanelSettingsBackButtonWireframe;
3975
+ VeltNotificationsPanelSettingsWireframe.Description = VeltNotificationsPanelSettingsDescriptionWireframe;
3976
+ VeltNotificationsPanelSettingsWireframe.Footer = VeltNotificationsPanelSettingsFooterWireframe;
3977
+ VeltNotificationsPanelSettingsWireframe.Header = VeltNotificationsPanelSettingsHeaderWireframe;
3978
+ VeltNotificationsPanelSettingsWireframe.List = VeltNotificationsPanelSettingsListWireframe;
3979
+ VeltNotificationsPanelSettingsWireframe.MuteAllDescription = VeltNotificationsPanelSettingsMuteAllDescriptionWireframe;
3980
+ VeltNotificationsPanelSettingsWireframe.MuteAllTitle = VeltNotificationsPanelSettingsMuteAllTitleWireframe;
3981
+ VeltNotificationsPanelSettingsWireframe.MuteAllToggle = VeltNotificationsPanelSettingsMuteAllToggleWireframe;
3982
+ VeltNotificationsPanelSettingsWireframe.Title = VeltNotificationsPanelSettingsTitleWireframe;
3983
+
3774
3984
  var VeltNotificationsPanelWireframe = function (props) {
3775
3985
  var children = props.children, remainingProps = __rest(props, ["children"]);
3776
3986
  var transformedProps = transformWireframeProps(remainingProps);
@@ -3783,6 +3993,8 @@ VeltNotificationsPanelWireframe.Title = VeltNotificationsPanelTitleWireframe;
3783
3993
  VeltNotificationsPanelWireframe.ViewAllButton = VeltNotificationsPanelViewAllButtonWireframe;
3784
3994
  VeltNotificationsPanelWireframe.CloseButton = VeltNotificationsPanelCloseButtonWireframe;
3785
3995
  VeltNotificationsPanelWireframe.Skeleton = VeltNotificationsPanelSkeletonWireframe;
3996
+ VeltNotificationsPanelWireframe.SettingsButton = VeltNotificationsPanelSettingsButtonWireframe;
3997
+ VeltNotificationsPanelWireframe.Settings = VeltNotificationsPanelSettingsWireframe;
3786
3998
 
3787
3999
  var VeltNotificationsToolIconWireframe = function (props) {
3788
4000
  var children = props.children, remainingProps = __rest(props, ["children"]);
@@ -4690,6 +4902,12 @@ var VeltRecorderPlayerVideoWireframe = function (props) {
4690
4902
  return (React__default["default"].createElement("velt-recorder-player-video-wireframe", __assign({}, transformedProps), children));
4691
4903
  };
4692
4904
 
4905
+ var VeltRecorderPlayerEditButtonWireframe = function (props) {
4906
+ var children = props.children, remainingProps = __rest(props, ["children"]);
4907
+ var transformedProps = transformWireframeProps(remainingProps);
4908
+ return (React__default["default"].createElement("velt-recorder-player-edit-button-wireframe", __assign({}, transformedProps), children));
4909
+ };
4910
+
4693
4911
  var VeltRecorderPlayerVideoContainerWireframe = function (props) {
4694
4912
  var children = props.children, remainingProps = __rest(props, ["children"]);
4695
4913
  var transformedProps = transformWireframeProps(remainingProps);
@@ -4708,6 +4926,7 @@ VeltRecorderPlayerVideoContainerWireframe.Transcription = VeltRecorderPlayerTran
4708
4926
  VeltRecorderPlayerVideoContainerWireframe.CopyLink = VeltRecorderPlayerCopyLinkWireframe;
4709
4927
  VeltRecorderPlayerVideoContainerWireframe.Delete = VeltRecorderPlayerDeleteWireframe;
4710
4928
  VeltRecorderPlayerVideoContainerWireframe.Avatar = VeltRecorderPlayerAvatarWireframe;
4929
+ VeltRecorderPlayerVideoContainerWireframe.EditButton = VeltRecorderPlayerEditButtonWireframe;
4711
4930
 
4712
4931
  var VeltRecorderPlayerWireframe = function (props) {
4713
4932
  var children = props.children, remainingProps = __rest(props, ["children"]);
@@ -4965,11 +5184,94 @@ var VeltVideoEditorPlayerDeleteButtonWireframe = function (props) {
4965
5184
  return (React__default["default"].createElement("velt-video-editor-player-delete-button-wireframe", __assign({}, transformedProps), children));
4966
5185
  };
4967
5186
 
5187
+ var VeltVideoEditorPlayerTimelineMarkerWireframe = function (props) {
5188
+ var children = props.children, remainingProps = __rest(props, ["children"]);
5189
+ var transformedProps = transformWireframeProps(remainingProps);
5190
+ return (React__default["default"].createElement("velt-video-editor-player-timeline-marker-wireframe", __assign({}, transformedProps), children));
5191
+ };
5192
+
5193
+ var VeltVideoEditorPlayerZoomButtonTriggerWireframe = function (props) {
5194
+ var children = props.children, remainingProps = __rest(props, ["children"]);
5195
+ var transformedProps = transformWireframeProps(remainingProps);
5196
+ return (React__default["default"].createElement("velt-video-editor-player-zoom-button-trigger-wireframe", __assign({}, transformedProps), children));
5197
+ };
5198
+
5199
+ var VeltVideoEditorPlayerZoomButtonOptionsListItemWireframe = function (props) {
5200
+ var children = props.children, remainingProps = __rest(props, ["children"]);
5201
+ var transformedProps = transformWireframeProps(remainingProps);
5202
+ return (React__default["default"].createElement("velt-video-editor-player-zoom-button-options-list-item-wireframe", __assign({}, transformedProps), children));
5203
+ };
5204
+
5205
+ var VeltVideoEditorPlayerZoomButtonOptionsListWireframe = function (props) {
5206
+ var children = props.children, remainingProps = __rest(props, ["children"]);
5207
+ var transformedProps = transformWireframeProps(remainingProps);
5208
+ return (React__default["default"].createElement("velt-video-editor-player-zoom-button-options-list-wireframe", __assign({}, transformedProps), children));
5209
+ };
5210
+ VeltVideoEditorPlayerZoomButtonOptionsListWireframe.Item = VeltVideoEditorPlayerZoomButtonOptionsListItemWireframe;
5211
+
5212
+ var VeltVideoEditorPlayerZoomButtonOptionsInputWireframe = function (props) {
5213
+ var children = props.children, remainingProps = __rest(props, ["children"]);
5214
+ var transformedProps = transformWireframeProps(remainingProps);
5215
+ return (React__default["default"].createElement("velt-video-editor-player-zoom-button-options-input-wireframe", __assign({}, transformedProps), children));
5216
+ };
5217
+
5218
+ var VeltVideoEditorPlayerZoomButtonOptionsWireframe = function (props) {
5219
+ var children = props.children, remainingProps = __rest(props, ["children"]);
5220
+ var transformedProps = transformWireframeProps(remainingProps);
5221
+ return (React__default["default"].createElement("velt-video-editor-player-zoom-button-options-wireframe", __assign({}, transformedProps), children));
5222
+ };
5223
+ VeltVideoEditorPlayerZoomButtonOptionsWireframe.List = VeltVideoEditorPlayerZoomButtonOptionsListWireframe;
5224
+ VeltVideoEditorPlayerZoomButtonOptionsWireframe.Input = VeltVideoEditorPlayerZoomButtonOptionsInputWireframe;
5225
+
5226
+ var VeltVideoEditorPlayerZoomButtonWireframe = function (props) {
5227
+ var children = props.children, remainingProps = __rest(props, ["children"]);
5228
+ var transformedProps = transformWireframeProps(remainingProps);
5229
+ return (React__default["default"].createElement("velt-video-editor-player-zoom-button-wireframe", __assign({}, transformedProps), children));
5230
+ };
5231
+ VeltVideoEditorPlayerZoomButtonWireframe.Trigger = VeltVideoEditorPlayerZoomButtonTriggerWireframe;
5232
+ VeltVideoEditorPlayerZoomButtonWireframe.Options = VeltVideoEditorPlayerZoomButtonOptionsWireframe;
5233
+
5234
+ var VeltVideoEditorPlayerTimelineScaleWireframe = function (props) {
5235
+ var children = props.children, remainingProps = __rest(props, ["children"]);
5236
+ var transformedProps = transformWireframeProps(remainingProps);
5237
+ return (React__default["default"].createElement("velt-video-editor-player-timeline-scale-wireframe", __assign({}, transformedProps), children));
5238
+ };
5239
+ VeltVideoEditorPlayerTimelineScaleWireframe.ZoomButton = VeltVideoEditorPlayerZoomButtonWireframe;
5240
+
5241
+ var VeltVideoEditorPlayerTimelineTrimWireframe = function (props) {
5242
+ var children = props.children, remainingProps = __rest(props, ["children"]);
5243
+ var transformedProps = transformWireframeProps(remainingProps);
5244
+ return (React__default["default"].createElement("velt-video-editor-player-timeline-trim-wireframe", __assign({}, transformedProps), children));
5245
+ };
5246
+
5247
+ var VeltVideoEditorPlayerTimelineContainerWireframe = function (props) {
5248
+ var children = props.children, remainingProps = __rest(props, ["children"]);
5249
+ var transformedProps = transformWireframeProps(remainingProps);
5250
+ return (React__default["default"].createElement("velt-video-editor-player-timeline-container-wireframe", __assign({}, transformedProps), children));
5251
+ };
5252
+
5253
+ var VeltVideoEditorPlayerTimelinePlayheadWireframe = function (props) {
5254
+ var children = props.children, remainingProps = __rest(props, ["children"]);
5255
+ var transformedProps = transformWireframeProps(remainingProps);
5256
+ return (React__default["default"].createElement("velt-video-editor-player-timeline-playhead-wireframe", __assign({}, transformedProps), children));
5257
+ };
5258
+
4968
5259
  var VeltVideoEditorPlayerTimelineWireframe = function (props) {
4969
5260
  var children = props.children, remainingProps = __rest(props, ["children"]);
4970
5261
  var transformedProps = transformWireframeProps(remainingProps);
4971
5262
  return (React__default["default"].createElement("velt-video-editor-player-timeline-wireframe", __assign({}, transformedProps), children));
4972
5263
  };
5264
+ VeltVideoEditorPlayerTimelineWireframe.Marker = VeltVideoEditorPlayerTimelineMarkerWireframe;
5265
+ VeltVideoEditorPlayerTimelineWireframe.Scale = VeltVideoEditorPlayerTimelineScaleWireframe;
5266
+ VeltVideoEditorPlayerTimelineWireframe.Trim = VeltVideoEditorPlayerTimelineTrimWireframe;
5267
+ VeltVideoEditorPlayerTimelineWireframe.Container = VeltVideoEditorPlayerTimelineContainerWireframe;
5268
+ VeltVideoEditorPlayerTimelineWireframe.Playhead = VeltVideoEditorPlayerTimelinePlayheadWireframe;
5269
+
5270
+ var VeltVideoEditorPlayerDownloadButtonWireframe = function (props) {
5271
+ var children = props.children, remainingProps = __rest(props, ["children"]);
5272
+ var transformedProps = transformWireframeProps(remainingProps);
5273
+ return (React__default["default"].createElement("velt-video-editor-player-download-button-wireframe", __assign({}, transformedProps), children));
5274
+ };
4973
5275
 
4974
5276
  var VeltVideoEditorPlayerWireframe = function (props) {
4975
5277
  var children = props.children, remainingProps = __rest(props, ["children"]);
@@ -4987,6 +5289,7 @@ VeltVideoEditorPlayerWireframe.TotalTime = VeltVideoEditorPlayerTotalTimeWirefra
4987
5289
  VeltVideoEditorPlayerWireframe.SplitButton = VeltVideoEditorPlayerSplitButtonWireframe;
4988
5290
  VeltVideoEditorPlayerWireframe.DeleteButton = VeltVideoEditorPlayerDeleteButtonWireframe;
4989
5291
  VeltVideoEditorPlayerWireframe.Timeline = VeltVideoEditorPlayerTimelineWireframe;
5292
+ VeltVideoEditorPlayerWireframe.DownloadButton = VeltVideoEditorPlayerDownloadButtonWireframe;
4990
5293
 
4991
5294
  var VeltSubtitlesTextWireframe = function (props) {
4992
5295
  var children = props.children, remainingProps = __rest(props, ["children"]);
@@ -5304,15 +5607,15 @@ function useSetDocuments() {
5304
5607
  var client = useVeltClient().client;
5305
5608
  var _a = React__default["default"].useState(undefined), data = _a[0], setData = _a[1];
5306
5609
  // Memoize the setDocuments call
5307
- var memoizedData = React__default["default"].useMemo(function () {
5308
- return data;
5309
- }, [JSON.stringify(data === null || data === void 0 ? void 0 : data.documents), JSON.stringify(data === null || data === void 0 ? void 0 : data.options)]);
5610
+ // const memoizedData = React.useMemo(() => {
5611
+ // return data;
5612
+ // }, [JSON.stringify(data?.documents), JSON.stringify(data?.options)]);
5310
5613
  React__default["default"].useEffect(function () {
5311
5614
  var _a;
5312
- if (client && ((_a = memoizedData === null || memoizedData === void 0 ? void 0 : memoizedData.documents) === null || _a === void 0 ? void 0 : _a.length)) {
5313
- client.setDocuments(memoizedData.documents, memoizedData.options);
5615
+ 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)) {
5616
+ client.setDocuments(data.documents, data.options);
5314
5617
  }
5315
- }, [client === null || client === void 0 ? void 0 : client.setDocuments, memoizedData]);
5618
+ }, [client === null || client === void 0 ? void 0 : client.setDocuments, data]);
5316
5619
  // Memoize the setDocuments callback
5317
5620
  var setDocumentsCallback = React__default["default"].useCallback(function (documents, options) {
5318
5621
  setData({ documents: documents, options: options });
@@ -5321,6 +5624,22 @@ function useSetDocuments() {
5321
5624
  setDocuments: setDocumentsCallback
5322
5625
  };
5323
5626
  }
5627
+ function useSetRootDocument() {
5628
+ var client = useVeltClient().client;
5629
+ var _a = React__default["default"].useState(undefined), data = _a[0], setData = _a[1];
5630
+ React__default["default"].useEffect(function () {
5631
+ if ((client === null || client === void 0 ? void 0 : client.setRootDocument) && data) {
5632
+ client.setRootDocument(data);
5633
+ }
5634
+ }, [client === null || client === void 0 ? void 0 : client.setRootDocument, data]);
5635
+ // Memoize the setRootDocument callback
5636
+ var setRootDocumentCallback = React__default["default"].useCallback(function (document) {
5637
+ setData(document);
5638
+ }, []); // Empty dependency array since it only uses setState which is stable
5639
+ return {
5640
+ setRootDocument: setRootDocumentCallback
5641
+ };
5642
+ }
5324
5643
  function useUnsetDocumentId() {
5325
5644
  var client = useVeltClient().client;
5326
5645
  React__default["default"].useEffect(function () {
@@ -5345,6 +5664,39 @@ function useSetLocation(location, appendLocation) {
5345
5664
  }
5346
5665
  }, [client, shouldSetLocation]);
5347
5666
  }
5667
+ function useSetLocations() {
5668
+ var client = useVeltClient().client;
5669
+ var _a = React__default["default"].useState(undefined), data = _a[0], setData = _a[1];
5670
+ React__default["default"].useEffect(function () {
5671
+ var _a;
5672
+ 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)) {
5673
+ client.setLocations(data.locations, data.options);
5674
+ }
5675
+ }, [client === null || client === void 0 ? void 0 : client.setLocations, data]);
5676
+ // Memoize the setLocations callback
5677
+ var setLocationsCallback = React__default["default"].useCallback(function (locations, options) {
5678
+ setData({ locations: locations, options: options });
5679
+ }, []); // Empty dependency array since it only uses setState which is stable
5680
+ return {
5681
+ setLocations: setLocationsCallback
5682
+ };
5683
+ }
5684
+ function useSetRootLocation() {
5685
+ var client = useVeltClient().client;
5686
+ var _a = React__default["default"].useState(undefined), data = _a[0], setData = _a[1];
5687
+ React__default["default"].useEffect(function () {
5688
+ if ((client === null || client === void 0 ? void 0 : client.setRootLocation) && data) {
5689
+ client.setRootLocation(data);
5690
+ }
5691
+ }, [client === null || client === void 0 ? void 0 : client.setRootLocation, data]);
5692
+ // Memoize the setRootLocation callback
5693
+ var setRootLocationCallback = React__default["default"].useCallback(function (location) {
5694
+ setData(location);
5695
+ }, []); // Empty dependency array since it only uses setState which is stable
5696
+ return {
5697
+ setRootLocation: setRootLocationCallback
5698
+ };
5699
+ }
5348
5700
  function useVeltInitState() {
5349
5701
  var client = useVeltClient().client;
5350
5702
  var _a = React__default["default"].useState(), data = _a[0], setData = _a[1];
@@ -6415,6 +6767,9 @@ function usePresenceUtils() {
6415
6767
  }, [client, setPresenceElement, presenceElement]);
6416
6768
  return presenceElement;
6417
6769
  }
6770
+ /**
6771
+ * @deprecated Use `usePresenceData` hook instead.
6772
+ */
6418
6773
  function usePresenceUsers() {
6419
6774
  var presenceElement = usePresenceUtils();
6420
6775
  var _a = React__default["default"].useState(null), data = _a[0], setData = _a[1];
@@ -6430,6 +6785,41 @@ function usePresenceUsers() {
6430
6785
  }, [presenceElement]);
6431
6786
  return data;
6432
6787
  }
6788
+ function usePresenceData(query) {
6789
+ var presenceElement = usePresenceUtils();
6790
+ var _a = React.useState({ data: null }), data = _a[0], setData = _a[1];
6791
+ var subscriptionRef = React.useRef();
6792
+ // Memoize the inputs
6793
+ var memoizedData = React.useMemo(function () {
6794
+ return query;
6795
+ }, [JSON.stringify(query)]);
6796
+ React.useEffect(function () {
6797
+ if (!(presenceElement === null || presenceElement === void 0 ? void 0 : presenceElement.getData))
6798
+ return;
6799
+ // Unsubscribe from the previous subscription if it exists
6800
+ if (subscriptionRef.current) {
6801
+ subscriptionRef.current.unsubscribe();
6802
+ }
6803
+ var subscription = presenceElement.getData(memoizedData)
6804
+ .subscribe(function (res) {
6805
+ if (res) {
6806
+ setData(res);
6807
+ }
6808
+ else {
6809
+ setData({ data: null });
6810
+ }
6811
+ });
6812
+ // Store the new subscription
6813
+ subscriptionRef.current = subscription;
6814
+ // Cleanup function
6815
+ return function () {
6816
+ if (subscriptionRef.current) {
6817
+ subscriptionRef.current.unsubscribe();
6818
+ }
6819
+ };
6820
+ }, [presenceElement === null || presenceElement === void 0 ? void 0 : presenceElement.getData, memoizedData]);
6821
+ return data;
6822
+ }
6433
6823
 
6434
6824
  function usePresenceEventCallback(action) {
6435
6825
  var presenceElement = usePresenceUtils();
@@ -6739,6 +7129,33 @@ function useUnreadNotificationsCount() {
6739
7129
  return data;
6740
7130
  }
6741
7131
 
7132
+ function useNotificationEventCallback(action) {
7133
+ var notificationElement = useNotificationUtils();
7134
+ var _a = React.useState(null), data = _a[0], setData = _a[1];
7135
+ var subscriptionRef = React.useRef(null);
7136
+ var memoizedAction = React.useMemo(function () { return action; }, [action]);
7137
+ React.useEffect(function () {
7138
+ var _a;
7139
+ if (!(notificationElement === null || notificationElement === void 0 ? void 0 : notificationElement.on))
7140
+ return;
7141
+ if (subscriptionRef.current) {
7142
+ subscriptionRef.current.unsubscribe();
7143
+ }
7144
+ var subscription = (_a = notificationElement === null || notificationElement === void 0 ? void 0 : notificationElement.on(memoizedAction)) === null || _a === void 0 ? void 0 : _a.subscribe(function (data) {
7145
+ setData(data);
7146
+ });
7147
+ // Store the new subscription
7148
+ subscriptionRef.current = subscription;
7149
+ // Cleanup function
7150
+ return function () {
7151
+ if (subscriptionRef.current) {
7152
+ subscriptionRef.current.unsubscribe();
7153
+ }
7154
+ };
7155
+ }, [notificationElement === null || notificationElement === void 0 ? void 0 : notificationElement.on, memoizedAction]);
7156
+ return data;
7157
+ }
7158
+
6742
7159
  function useAutocompleteUtils() {
6743
7160
  var _a = React__default["default"].useState(), autocompleteElement = _a[0], setAutocompleteElement = _a[1];
6744
7161
  var client = useVeltClient().client;
@@ -7097,8 +7514,10 @@ exports.useLiveState = useLiveState;
7097
7514
  exports.useLiveStateData = useLiveStateData;
7098
7515
  exports.useLiveStateSyncEventCallback = useLiveStateSyncEventCallback;
7099
7516
  exports.useLiveStateSyncUtils = useLiveStateSyncUtils;
7517
+ exports.useNotificationEventCallback = useNotificationEventCallback;
7100
7518
  exports.useNotificationUtils = useNotificationUtils;
7101
7519
  exports.useNotificationsData = useNotificationsData;
7520
+ exports.usePresenceData = usePresenceData;
7102
7521
  exports.usePresenceEventCallback = usePresenceEventCallback;
7103
7522
  exports.usePresenceUsers = usePresenceUsers;
7104
7523
  exports.usePresenceUtils = usePresenceUtils;
@@ -7115,6 +7534,9 @@ exports.useSetDocumentId = useSetDocumentId;
7115
7534
  exports.useSetDocuments = useSetDocuments;
7116
7535
  exports.useSetLiveStateData = useSetLiveStateData;
7117
7536
  exports.useSetLocation = useSetLocation;
7537
+ exports.useSetLocations = useSetLocations;
7538
+ exports.useSetRootDocument = useSetRootDocument;
7539
+ exports.useSetRootLocation = useSetRootLocation;
7118
7540
  exports.useSubscribeCommentAnnotation = useSubscribeCommentAnnotation;
7119
7541
  exports.useTagAnnotations = useTagAnnotations;
7120
7542
  exports.useTagUtils = useTagUtils;