@viswa-test/test-citation 0.0.379 → 0.0.382

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 (599) hide show
  1. package/README.md +151 -0
  2. package/dist/assests/icons/InfoAlert.js +2 -0
  3. package/dist/assests/icons/InfoAlert.js.map +1 -0
  4. package/dist/cjs/assests/icons/InfoAlert.js +2 -0
  5. package/dist/cjs/assests/icons/InfoAlert.js.map +1 -0
  6. package/dist/cjs/features/BPACitationRenderer/BPACitationRenderer.js +1 -1
  7. package/dist/cjs/features/CognitiveCompare/CitationAnchor.js +1 -1
  8. package/dist/cjs/features/CognitiveCompare/CognitiveCompare.js +1 -1
  9. package/dist/cjs/features/CognitiveCompare/CognitiveCompareConstants.js +1 -1
  10. package/dist/cjs/features/CognitiveCompare/CognitiveComparehelpers.js +1 -1
  11. package/dist/cjs/features/CognitiveCompare/CognitivePopup.js +1 -1
  12. package/dist/cjs/features/CognitiveCompare/Guidelines/components/GuidelinePanel.js +1 -1
  13. package/dist/cjs/features/CognitiveCompare/Guidelines/components/WebGptPanel.js +1 -1
  14. package/dist/cjs/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.js +1 -1
  15. package/dist/cjs/features/CognitiveCompare/components/SectionAccordion.js +1 -1
  16. package/dist/cjs/features/CognitiveCompare/components/SubSectionAccordion.js +1 -1
  17. package/dist/cjs/features/CognitiveCompare/hooks/memoizedMarkdown.js +1 -1
  18. package/dist/cjs/features/CognitiveCompare/hooks/useCompareData.js +1 -1
  19. package/dist/cjs/features/CognitiveCompare/hooks/useLinesCalculator.js +1 -1
  20. package/dist/cjs/features/CognitiveCompare/hooks/useSideBySide.js +1 -1
  21. package/dist/cjs/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.js +1 -1
  22. package/dist/cjs/features/GptWebCitation/GptWebCitation.js +1 -1
  23. package/dist/cjs/features/GptWebCitation/GptWebCitationImageCitation.js +1 -1
  24. package/dist/cjs/features/GptWebCitation/utils/fixedHeight.utils.js +1 -1
  25. package/dist/cjs/features/ParentCitationComponent/ParentCitationComponent.js +2 -0
  26. package/dist/cjs/features/ParentCitationComponent/ParentCitationComponent.js.map +1 -0
  27. package/dist/cjs/features/PdfViewer/PdfContainer.js +1 -1
  28. package/dist/cjs/features/PdfViewer/PdfStyle.js +1 -1
  29. package/dist/cjs/features/PdfViewer/PdfToolbar.js +1 -1
  30. package/dist/cjs/features/PdfViewer/PdfViewer.js +1 -1
  31. package/dist/cjs/features/PdfViewer/nyc-components/BoundaryCard.js +2 -0
  32. package/dist/cjs/features/PdfViewer/nyc-components/BoundaryCard.js.map +1 -0
  33. package/dist/cjs/features/PdfViewer/nyc-components/CardWrapper.js +2 -0
  34. package/dist/cjs/features/PdfViewer/nyc-components/CardWrapper.js.map +1 -0
  35. package/dist/cjs/features/PdfViewer/nyc-components/CognitiveIcon.js +2 -0
  36. package/dist/cjs/features/PdfViewer/nyc-components/CognitiveIcon.js.map +1 -0
  37. package/dist/cjs/features/PdfViewer/nyc-components/LabelCheck.js +2 -0
  38. package/dist/cjs/features/PdfViewer/nyc-components/LabelCheck.js.map +1 -0
  39. package/dist/cjs/features/PdfViewer/nyc-components/SegmentReviewPdfWrapper.js +2 -0
  40. package/dist/cjs/features/PdfViewer/nyc-components/SegmentReviewPdfWrapper.js.map +1 -0
  41. package/dist/cjs/features/PdfViewer/nyc-components/infoAlert.js +2 -0
  42. package/dist/cjs/features/PdfViewer/nyc-components/infoAlert.js.map +1 -0
  43. package/dist/cjs/features/PdfViewer/nyc-components/reviewStepAdapters.js +2 -0
  44. package/dist/cjs/features/PdfViewer/nyc-components/reviewStepAdapters.js.map +1 -0
  45. package/dist/cjs/features/PdfViewer/rotationManager.js +2 -0
  46. package/dist/cjs/features/PdfViewer/rotationManager.js.map +1 -0
  47. package/dist/cjs/features/PdfViewer/usePdfHighlight.js +1 -1
  48. package/dist/cjs/features/PromptCitation/CitationDependencyGraph.js +2 -0
  49. package/dist/cjs/features/PromptCitation/CitationDependencyGraph.js.map +1 -0
  50. package/dist/cjs/features/PromptCitation/PromptCitation.js +2 -0
  51. package/dist/cjs/features/PromptCitation/PromptCitation.js.map +1 -0
  52. package/dist/cjs/features/PromptCitation/_components/CodeEditor.js +2 -0
  53. package/dist/cjs/features/PromptCitation/_components/CodeEditor.js.map +1 -0
  54. package/dist/cjs/features/PromptCitation/_components/Markdownrenderer.js +2 -0
  55. package/dist/cjs/features/PromptCitation/_components/Markdownrenderer.js.map +1 -0
  56. package/dist/cjs/features/RequirementAI/components/RequirementAIWrapper/RequirementAIWrapper.js +1 -1
  57. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/plugins/InitialHtml.js +1 -1
  58. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/plugins/ManualNode.js +1 -1
  59. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/plugins/UpdateNode.js +1 -1
  60. package/dist/cjs/features/RequirementAI/components/RichTextEditor/RichTextEditor.js +1 -1
  61. package/dist/cjs/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CitationAnchor.js +1 -1
  62. package/dist/cjs/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CognitiveComponent.js +1 -1
  63. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Popups/DeviationSummary.js +1 -1
  64. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Popups/HistoryMenu.js +1 -1
  65. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Popups/ManualEditPopup.js +1 -1
  66. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Popups/RedlineStatusCard.js +1 -1
  67. package/dist/cjs/features/RequirementAI/components/UserStoryCard/UserStoryCard.js +1 -1
  68. package/dist/cjs/features/RequirementAI/components/UserStoryCard/UserStoryCard.module.css.js +1 -1
  69. package/dist/cjs/features/RequirementAI/components/UserStoryCard/cws/CwsEvent.js +1 -1
  70. package/dist/cjs/features/RequirementAI/components/UserStoryCard/cws/CwsEventProvider.js +1 -1
  71. package/dist/cjs/features/RequirementAI/components/UserStoryCard/cws/SocketManager.js +1 -1
  72. package/dist/cjs/features/RequirementAI/components/UserStoryCard/cws/useCwsEvent.js +1 -1
  73. package/dist/cjs/features/RequirementAI/components/ai-reasoning/AiReasonMarkdownWrapper.js +1 -1
  74. package/dist/cjs/features/RequirementAI/components/ai-reasoning/AiReasoningCitationContent.js +1 -1
  75. package/dist/cjs/features/RequirementAI/components/citations/file-citation/FileCitationContent.js +1 -1
  76. package/dist/cjs/features/RequirementAI/components/citations/file-citation/FileCitationContent.module.css.js +1 -1
  77. package/dist/cjs/features/RequirementAI/components/citations/file-citation/FileCitationRender.js +1 -1
  78. package/dist/cjs/features/RequirementAI/components/citations/readfile-citation/ReadFileCitationContent.js +1 -1
  79. package/dist/cjs/features/RequirementAI/components/lsc-reason-gap/CustomChatCrRedirection.js +1 -1
  80. package/dist/cjs/features/RequirementAI/components/lsc-reason-gap/GapFilterBlock.js +1 -1
  81. package/dist/cjs/features/RequirementAI/components/segment/Segment.js +1 -1
  82. package/dist/cjs/features/RequirementAI/components/segment/SegmentWrapper.js +1 -1
  83. package/dist/cjs/features/RequirementAI/components/userstory-approval-screen/UserStoryApprovalScreen.js +1 -1
  84. package/dist/cjs/features/RequirementAI/components/userstory-with-citation/UserStoryWithCitation.js +1 -1
  85. package/dist/cjs/features/RequirementAI/components/userstory-with-citation/UserStoryWithCitation.module.css.js +1 -1
  86. package/dist/cjs/features/RequirementAI/components/userstory-with-citation/components/InlineUpdatedComponent.js +1 -1
  87. package/dist/cjs/features/RequirementAI/hooks/useStreamContentHandler.js +1 -1
  88. package/dist/cjs/features/RequirementAI/utils/helpers.js +1 -1
  89. package/dist/cjs/features/RequirementAI/utils/proccess-stream.utils.js +1 -1
  90. package/dist/cjs/features/ReviewPanel/ReviewPanel.js +2 -0
  91. package/dist/cjs/features/ReviewPanel/ReviewPanel.js.map +1 -0
  92. package/dist/cjs/features/SegmentReviewComponents/BoundaryCard.js +2 -0
  93. package/dist/cjs/features/SegmentReviewComponents/BoundaryCard.js.map +1 -0
  94. package/dist/cjs/features/SegmentReviewComponents/CardWrapper.js +2 -0
  95. package/dist/cjs/features/SegmentReviewComponents/CardWrapper.js.map +1 -0
  96. package/dist/cjs/features/SegmentReviewComponents/ChartBreakoutCircle.js +2 -0
  97. package/dist/cjs/features/SegmentReviewComponents/ChartBreakoutCircle.js.map +1 -0
  98. package/dist/cjs/features/SegmentReviewComponents/CognitiveIcon.js +2 -0
  99. package/dist/cjs/features/SegmentReviewComponents/CognitiveIcon.js.map +1 -0
  100. package/dist/cjs/features/SegmentReviewComponents/CognitiveIntegrity.js +2 -0
  101. package/dist/cjs/features/SegmentReviewComponents/CognitiveIntegrity.js.map +1 -0
  102. package/dist/cjs/features/SegmentReviewComponents/CognitiveScoreBadge.js +2 -0
  103. package/dist/cjs/features/SegmentReviewComponents/CognitiveScoreBadge.js.map +1 -0
  104. package/dist/cjs/features/SegmentReviewComponents/LabelCheck.js +2 -0
  105. package/dist/cjs/features/SegmentReviewComponents/LabelCheck.js.map +1 -0
  106. package/dist/cjs/features/SegmentReviewComponents/PageCheck.js +2 -0
  107. package/dist/cjs/features/SegmentReviewComponents/PageCheck.js.map +1 -0
  108. package/dist/cjs/features/SegmentReviewComponents/PageTypeChoiceCheck.js +2 -0
  109. package/dist/cjs/features/SegmentReviewComponents/PageTypeChoiceCheck.js.map +1 -0
  110. package/dist/cjs/features/SegmentReviewComponents/RevertCard.js +2 -0
  111. package/dist/cjs/features/SegmentReviewComponents/RevertCard.js.map +1 -0
  112. package/dist/cjs/features/SegmentReviewComponents/RevertSuccessCard.js +2 -0
  113. package/dist/cjs/features/SegmentReviewComponents/RevertSuccessCard.js.map +1 -0
  114. package/dist/cjs/features/SegmentReviewComponents/RevertSummaryNotice.js +2 -0
  115. package/dist/cjs/features/SegmentReviewComponents/RevertSummaryNotice.js.map +1 -0
  116. package/dist/cjs/features/SegmentReviewComponents/ReviewedBoundaryActions.js +2 -0
  117. package/dist/cjs/features/SegmentReviewComponents/ReviewedBoundaryActions.js.map +1 -0
  118. package/dist/cjs/features/SegmentReviewComponents/ReviewedCard.js +2 -0
  119. package/dist/cjs/features/SegmentReviewComponents/ReviewedCard.js.map +1 -0
  120. package/dist/cjs/features/SegmentReviewComponents/SegmentReviewPdfWrapper.js +2 -0
  121. package/dist/cjs/features/SegmentReviewComponents/SegmentReviewPdfWrapper.js.map +1 -0
  122. package/dist/cjs/features/SegmentReviewComponents/helper.js +2 -0
  123. package/dist/cjs/features/SegmentReviewComponents/helper.js.map +1 -0
  124. package/dist/cjs/features/SegmentReviewComponents/reviewScore.js +2 -0
  125. package/dist/cjs/features/SegmentReviewComponents/reviewScore.js.map +1 -0
  126. package/dist/cjs/features/SegmentReviewComponents/reviewStepAdapters.js +2 -0
  127. package/dist/cjs/features/SegmentReviewComponents/reviewStepAdapters.js.map +1 -0
  128. package/dist/cjs/index.js +1 -1
  129. package/dist/cjs/service/redlineService.js +1 -1
  130. package/dist/cjs/utils/tagHelper.js +1 -1
  131. package/dist/features/BPACitationRenderer/BPACitationRenderer.js +1 -1
  132. package/dist/features/CognitiveCompare/CitationAnchor.js +1 -1
  133. package/dist/features/CognitiveCompare/CognitiveCompare.js +1 -1
  134. package/dist/features/CognitiveCompare/CognitiveCompareConstants.js +1 -1
  135. package/dist/features/CognitiveCompare/CognitiveComparehelpers.js +1 -1
  136. package/dist/features/CognitiveCompare/CognitivePopup.js +1 -1
  137. package/dist/features/CognitiveCompare/Guidelines/components/GuidelinePanel.js +1 -1
  138. package/dist/features/CognitiveCompare/Guidelines/components/WebGptPanel.js +1 -1
  139. package/dist/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.js +1 -1
  140. package/dist/features/CognitiveCompare/components/SectionAccordion.js +1 -1
  141. package/dist/features/CognitiveCompare/components/SubSectionAccordion.js +1 -1
  142. package/dist/features/CognitiveCompare/hooks/memoizedMarkdown.js +1 -1
  143. package/dist/features/CognitiveCompare/hooks/useCompareData.js +1 -1
  144. package/dist/features/CognitiveCompare/hooks/useLinesCalculator.js +1 -1
  145. package/dist/features/CognitiveCompare/hooks/useSideBySide.js +1 -1
  146. package/dist/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.js +1 -1
  147. package/dist/features/GptWebCitation/GptWebCitation.js +1 -1
  148. package/dist/features/GptWebCitation/GptWebCitationImageCitation.js +1 -1
  149. package/dist/features/GptWebCitation/utils/fixedHeight.utils.js +1 -1
  150. package/dist/features/ParentCitationComponent/ParentCitationComponent.js +2 -0
  151. package/dist/features/ParentCitationComponent/ParentCitationComponent.js.map +1 -0
  152. package/dist/features/PdfViewer/PdfContainer.js +1 -1
  153. package/dist/features/PdfViewer/PdfStyle.js +1 -1
  154. package/dist/features/PdfViewer/PdfToolbar.js +1 -1
  155. package/dist/features/PdfViewer/PdfViewer.js +1 -1
  156. package/dist/features/PdfViewer/nyc-components/BoundaryCard.js +2 -0
  157. package/dist/features/PdfViewer/nyc-components/BoundaryCard.js.map +1 -0
  158. package/dist/features/PdfViewer/nyc-components/CardWrapper.js +2 -0
  159. package/dist/features/PdfViewer/nyc-components/CardWrapper.js.map +1 -0
  160. package/dist/features/PdfViewer/nyc-components/CognitiveIcon.js +2 -0
  161. package/dist/features/PdfViewer/nyc-components/CognitiveIcon.js.map +1 -0
  162. package/dist/features/PdfViewer/nyc-components/LabelCheck.js +2 -0
  163. package/dist/features/PdfViewer/nyc-components/LabelCheck.js.map +1 -0
  164. package/dist/features/PdfViewer/nyc-components/SegmentReviewPdfWrapper.js +2 -0
  165. package/dist/features/PdfViewer/nyc-components/SegmentReviewPdfWrapper.js.map +1 -0
  166. package/dist/features/PdfViewer/nyc-components/infoAlert.js +2 -0
  167. package/dist/features/PdfViewer/nyc-components/infoAlert.js.map +1 -0
  168. package/dist/features/PdfViewer/nyc-components/reviewStepAdapters.js +2 -0
  169. package/dist/features/PdfViewer/nyc-components/reviewStepAdapters.js.map +1 -0
  170. package/dist/features/PdfViewer/rotationManager.js +2 -0
  171. package/dist/features/PdfViewer/rotationManager.js.map +1 -0
  172. package/dist/features/PdfViewer/usePdfHighlight.js +1 -1
  173. package/dist/features/PromptCitation/CitationDependencyGraph.js +2 -0
  174. package/dist/features/PromptCitation/CitationDependencyGraph.js.map +1 -0
  175. package/dist/features/PromptCitation/PromptCitation.js +2 -0
  176. package/dist/features/PromptCitation/PromptCitation.js.map +1 -0
  177. package/dist/features/PromptCitation/_components/CodeEditor.js +2 -0
  178. package/dist/features/PromptCitation/_components/CodeEditor.js.map +1 -0
  179. package/dist/features/PromptCitation/_components/Markdownrenderer.js +2 -0
  180. package/dist/features/PromptCitation/_components/Markdownrenderer.js.map +1 -0
  181. package/dist/features/RequirementAI/components/RequirementAIWrapper/RequirementAIWrapper.js +1 -1
  182. package/dist/features/RequirementAI/components/RichTextEditor/Editor/plugins/InitialHtml.js +1 -1
  183. package/dist/features/RequirementAI/components/RichTextEditor/Editor/plugins/ManualNode.js +1 -1
  184. package/dist/features/RequirementAI/components/RichTextEditor/Editor/plugins/UpdateNode.js +1 -1
  185. package/dist/features/RequirementAI/components/RichTextEditor/RichTextEditor.js +1 -1
  186. package/dist/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CitationAnchor.js +1 -1
  187. package/dist/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CognitiveComponent.js +1 -1
  188. package/dist/features/RequirementAI/components/UserStoryCard/Popups/DeviationSummary.js +1 -1
  189. package/dist/features/RequirementAI/components/UserStoryCard/Popups/HistoryMenu.js +1 -1
  190. package/dist/features/RequirementAI/components/UserStoryCard/Popups/ManualEditPopup.js +1 -1
  191. package/dist/features/RequirementAI/components/UserStoryCard/Popups/RedlineStatusCard.js +1 -1
  192. package/dist/features/RequirementAI/components/UserStoryCard/UserStoryCard.js +1 -1
  193. package/dist/features/RequirementAI/components/UserStoryCard/UserStoryCard.module.css.js +1 -1
  194. package/dist/features/RequirementAI/components/UserStoryCard/cws/CwsEvent.js +1 -1
  195. package/dist/features/RequirementAI/components/UserStoryCard/cws/CwsEventProvider.js +1 -1
  196. package/dist/features/RequirementAI/components/UserStoryCard/cws/SocketManager.js +1 -1
  197. package/dist/features/RequirementAI/components/UserStoryCard/cws/useCwsEvent.js +1 -1
  198. package/dist/features/RequirementAI/components/ai-reasoning/AiReasonMarkdownWrapper.js +1 -1
  199. package/dist/features/RequirementAI/components/ai-reasoning/AiReasoningCitationContent.js +1 -1
  200. package/dist/features/RequirementAI/components/citations/file-citation/FileCitationContent.js +1 -1
  201. package/dist/features/RequirementAI/components/citations/file-citation/FileCitationContent.module.css.js +1 -1
  202. package/dist/features/RequirementAI/components/citations/file-citation/FileCitationRender.js +1 -1
  203. package/dist/features/RequirementAI/components/citations/readfile-citation/ReadFileCitationContent.js +1 -1
  204. package/dist/features/RequirementAI/components/lsc-reason-gap/CustomChatCrRedirection.js +1 -1
  205. package/dist/features/RequirementAI/components/lsc-reason-gap/GapFilterBlock.js +1 -1
  206. package/dist/features/RequirementAI/components/segment/Segment.js +1 -1
  207. package/dist/features/RequirementAI/components/segment/SegmentWrapper.js +1 -1
  208. package/dist/features/RequirementAI/components/userstory-approval-screen/UserStoryApprovalScreen.js +1 -1
  209. package/dist/features/RequirementAI/components/userstory-with-citation/UserStoryWithCitation.js +1 -1
  210. package/dist/features/RequirementAI/components/userstory-with-citation/UserStoryWithCitation.module.css.js +1 -1
  211. package/dist/features/RequirementAI/components/userstory-with-citation/components/InlineUpdatedComponent.js +1 -1
  212. package/dist/features/RequirementAI/hooks/useStreamContentHandler.js +1 -1
  213. package/dist/features/RequirementAI/utils/helpers.js +1 -1
  214. package/dist/features/RequirementAI/utils/proccess-stream.utils.js +1 -1
  215. package/dist/features/ReviewPanel/ReviewPanel.js +2 -0
  216. package/dist/features/ReviewPanel/ReviewPanel.js.map +1 -0
  217. package/dist/features/SegmentReviewComponents/BoundaryCard.js +2 -0
  218. package/dist/features/SegmentReviewComponents/BoundaryCard.js.map +1 -0
  219. package/dist/features/SegmentReviewComponents/CardWrapper.js +2 -0
  220. package/dist/features/SegmentReviewComponents/CardWrapper.js.map +1 -0
  221. package/dist/features/SegmentReviewComponents/ChartBreakoutCircle.js +2 -0
  222. package/dist/features/SegmentReviewComponents/ChartBreakoutCircle.js.map +1 -0
  223. package/dist/features/SegmentReviewComponents/CognitiveIcon.js +2 -0
  224. package/dist/features/SegmentReviewComponents/CognitiveIcon.js.map +1 -0
  225. package/dist/features/SegmentReviewComponents/CognitiveIntegrity.js +2 -0
  226. package/dist/features/SegmentReviewComponents/CognitiveIntegrity.js.map +1 -0
  227. package/dist/features/SegmentReviewComponents/CognitiveScoreBadge.js +2 -0
  228. package/dist/features/SegmentReviewComponents/CognitiveScoreBadge.js.map +1 -0
  229. package/dist/features/SegmentReviewComponents/LabelCheck.js +2 -0
  230. package/dist/features/SegmentReviewComponents/LabelCheck.js.map +1 -0
  231. package/dist/features/SegmentReviewComponents/PageCheck.js +2 -0
  232. package/dist/features/SegmentReviewComponents/PageCheck.js.map +1 -0
  233. package/dist/features/SegmentReviewComponents/PageTypeChoiceCheck.js +2 -0
  234. package/dist/features/SegmentReviewComponents/PageTypeChoiceCheck.js.map +1 -0
  235. package/dist/features/SegmentReviewComponents/RevertCard.js +2 -0
  236. package/dist/features/SegmentReviewComponents/RevertCard.js.map +1 -0
  237. package/dist/features/SegmentReviewComponents/RevertSuccessCard.js +2 -0
  238. package/dist/features/SegmentReviewComponents/RevertSuccessCard.js.map +1 -0
  239. package/dist/features/SegmentReviewComponents/RevertSummaryNotice.js +2 -0
  240. package/dist/features/SegmentReviewComponents/RevertSummaryNotice.js.map +1 -0
  241. package/dist/features/SegmentReviewComponents/ReviewedBoundaryActions.js +2 -0
  242. package/dist/features/SegmentReviewComponents/ReviewedBoundaryActions.js.map +1 -0
  243. package/dist/features/SegmentReviewComponents/ReviewedCard.js +2 -0
  244. package/dist/features/SegmentReviewComponents/ReviewedCard.js.map +1 -0
  245. package/dist/features/SegmentReviewComponents/SegmentReviewPdfWrapper.js +2 -0
  246. package/dist/features/SegmentReviewComponents/SegmentReviewPdfWrapper.js.map +1 -0
  247. package/dist/features/SegmentReviewComponents/helper.js +2 -0
  248. package/dist/features/SegmentReviewComponents/helper.js.map +1 -0
  249. package/dist/features/SegmentReviewComponents/reviewScore.js +2 -0
  250. package/dist/features/SegmentReviewComponents/reviewScore.js.map +1 -0
  251. package/dist/features/SegmentReviewComponents/reviewStepAdapters.js +2 -0
  252. package/dist/features/SegmentReviewComponents/reviewStepAdapters.js.map +1 -0
  253. package/dist/index.js +1 -1
  254. package/dist/service/redlineService.js +1 -1
  255. package/dist/types/src/CitationDependencyGraphTest.d.ts +4 -0
  256. package/dist/types/src/CitationDependencyGraphTest.d.ts.map +1 -0
  257. package/dist/types/src/RedlineApprovalCardTest.d.ts +1 -0
  258. package/dist/types/src/RedlineApprovalCardTest.d.ts.map +1 -0
  259. package/dist/types/src/RedlineEditorTest.d.ts.map +1 -1
  260. package/dist/types/src/RedlineEditorTest2.d.ts +3 -0
  261. package/dist/types/src/RedlineEditorTest2.d.ts.map +1 -0
  262. package/dist/types/src/RequirementAiTest.d.ts.map +1 -1
  263. package/dist/types/src/assests/icons/ChartSplitIcon.d.ts +3 -0
  264. package/dist/types/src/assests/icons/ChartSplitIcon.d.ts.map +1 -0
  265. package/dist/types/src/assests/icons/InfoAlert.d.ts +3 -0
  266. package/dist/types/src/assests/icons/InfoAlert.d.ts.map +1 -0
  267. package/dist/types/src/commonConstants.d.ts +31103 -0
  268. package/dist/types/src/commonConstants.d.ts.map +1 -0
  269. package/dist/types/src/features/BPACitationRenderer/BPACitationRenderer.d.ts.map +1 -1
  270. package/dist/types/src/features/BPACitationRenderer/BPACitationRenderer.types.d.ts +1 -0
  271. package/dist/types/src/features/BPACitationRenderer/BPACitationRenderer.types.d.ts.map +1 -1
  272. package/dist/types/src/features/CognitiveCompare/CitationAnchor.d.ts.map +1 -1
  273. package/dist/types/src/features/CognitiveCompare/CognitiveCompare.d.ts +1 -1
  274. package/dist/types/src/features/CognitiveCompare/CognitiveCompare.d.ts.map +1 -1
  275. package/dist/types/src/features/CognitiveCompare/CognitiveCompareConstants.d.ts +1 -1
  276. package/dist/types/src/features/CognitiveCompare/CognitiveCompareConstants.d.ts.map +1 -1
  277. package/dist/types/src/features/CognitiveCompare/CognitiveCompareTypes.d.ts +1 -1
  278. package/dist/types/src/features/CognitiveCompare/CognitiveCompareTypes.d.ts.map +1 -1
  279. package/dist/types/src/features/CognitiveCompare/CognitiveComparehelpers.d.ts +0 -12
  280. package/dist/types/src/features/CognitiveCompare/CognitiveComparehelpers.d.ts.map +1 -1
  281. package/dist/types/src/features/CognitiveCompare/CognitivePopup.d.ts.map +1 -1
  282. package/dist/types/src/features/CognitiveCompare/Guidelines/components/GuidelinePanel.d.ts.map +1 -1
  283. package/dist/types/src/features/CognitiveCompare/Guidelines/components/WebGptPanel.d.ts.map +1 -1
  284. package/dist/types/src/features/CognitiveCompare/Guidelines/constants/guidelines.mockData.d.ts +456 -11335
  285. package/dist/types/src/features/CognitiveCompare/Guidelines/constants/guidelines.mockData.d.ts.map +1 -1
  286. package/dist/types/src/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.d.ts +1 -14
  287. package/dist/types/src/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.d.ts.map +1 -1
  288. package/dist/types/src/features/CognitiveCompare/components/SectionAccordion.d.ts.map +1 -1
  289. package/dist/types/src/features/CognitiveCompare/components/SubSectionAccordion.d.ts.map +1 -1
  290. package/dist/types/src/features/CognitiveCompare/hooks/memoizedMarkdown.d.ts +1 -2
  291. package/dist/types/src/features/CognitiveCompare/hooks/memoizedMarkdown.d.ts.map +1 -1
  292. package/dist/types/src/features/CognitiveCompare/hooks/useCompareData.d.ts +1 -1
  293. package/dist/types/src/features/CognitiveCompare/hooks/useCompareData.d.ts.map +1 -1
  294. package/dist/types/src/features/CognitiveCompare/hooks/useCompareLayout.d.ts +1 -0
  295. package/dist/types/src/features/CognitiveCompare/hooks/useCompareLayout.d.ts.map +1 -1
  296. package/dist/types/src/features/CognitiveCompare/hooks/useLinesCalculator.d.ts.map +1 -1
  297. package/dist/types/src/features/CognitiveCompare/hooks/useSideBySide.d.ts.map +1 -1
  298. package/dist/types/src/features/CognitiveCompare/utils/buildComparisonRows.test.d.ts +2 -0
  299. package/dist/types/src/features/CognitiveCompare/utils/buildComparisonRows.test.d.ts.map +1 -0
  300. package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.d.ts +0 -1
  301. package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.d.ts.map +1 -1
  302. package/dist/types/src/features/GptWebCitation/GptWebCitation.d.ts.map +1 -1
  303. package/dist/types/src/features/GptWebCitation/GptWebCitationImageCitation.d.ts +1 -2
  304. package/dist/types/src/features/GptWebCitation/GptWebCitationImageCitation.d.ts.map +1 -1
  305. package/dist/types/src/features/GptWebCitation/types.d.ts +0 -11
  306. package/dist/types/src/features/GptWebCitation/types.d.ts.map +1 -1
  307. package/dist/types/src/features/GptWebCitation/utils/fixedHeight.utils.d.ts +0 -2
  308. package/dist/types/src/features/GptWebCitation/utils/fixedHeight.utils.d.ts.map +1 -1
  309. package/dist/types/src/features/ParentCitationComponent/ParentCitationComponent.d.ts +128 -0
  310. package/dist/types/src/features/ParentCitationComponent/ParentCitationComponent.d.ts.map +1 -0
  311. package/dist/types/src/features/ParentCitationComponent/ParentCitationComponentTest.d.ts +13 -0
  312. package/dist/types/src/features/ParentCitationComponent/ParentCitationComponentTest.d.ts.map +1 -0
  313. package/dist/types/src/features/PdfViewer/PdfContainer.d.ts +4 -2
  314. package/dist/types/src/features/PdfViewer/PdfContainer.d.ts.map +1 -1
  315. package/dist/types/src/features/PdfViewer/PdfStyle.d.ts.map +1 -1
  316. package/dist/types/src/features/PdfViewer/PdfToolbar.d.ts +4 -1
  317. package/dist/types/src/features/PdfViewer/PdfToolbar.d.ts.map +1 -1
  318. package/dist/types/src/features/PdfViewer/PdfViewer.d.ts +19 -2
  319. package/dist/types/src/features/PdfViewer/PdfViewer.d.ts.map +1 -1
  320. package/dist/types/src/features/PdfViewer/coordinateTransformer.d.ts +41 -0
  321. package/dist/types/src/features/PdfViewer/coordinateTransformer.d.ts.map +1 -0
  322. package/dist/types/src/features/PdfViewer/nyc-components/BoundaryCard.d.ts +59 -0
  323. package/dist/types/src/features/PdfViewer/nyc-components/BoundaryCard.d.ts.map +1 -0
  324. package/dist/types/src/features/PdfViewer/nyc-components/CardWrapper.d.ts +19 -0
  325. package/dist/types/src/features/PdfViewer/nyc-components/CardWrapper.d.ts.map +1 -0
  326. package/dist/types/src/features/PdfViewer/nyc-components/CognitiveIcon.d.ts +3 -0
  327. package/dist/types/src/features/PdfViewer/nyc-components/CognitiveIcon.d.ts.map +1 -0
  328. package/dist/types/src/features/PdfViewer/nyc-components/LabelCheck.d.ts +77 -0
  329. package/dist/types/src/features/PdfViewer/nyc-components/LabelCheck.d.ts.map +1 -0
  330. package/dist/types/src/features/PdfViewer/nyc-components/SegmentReviewPdfWrapper.d.ts +47 -0
  331. package/dist/types/src/features/PdfViewer/nyc-components/SegmentReviewPdfWrapper.d.ts.map +1 -0
  332. package/dist/types/src/features/PdfViewer/nyc-components/index.d.ts +15 -0
  333. package/dist/types/src/features/PdfViewer/nyc-components/index.d.ts.map +1 -0
  334. package/dist/types/src/features/PdfViewer/nyc-components/infoAlert.d.ts +3 -0
  335. package/dist/types/src/features/PdfViewer/nyc-components/infoAlert.d.ts.map +1 -0
  336. package/dist/types/src/features/PdfViewer/nyc-components/reviewStepAdapters.d.ts +36 -0
  337. package/dist/types/src/features/PdfViewer/nyc-components/reviewStepAdapters.d.ts.map +1 -0
  338. package/dist/types/src/features/PdfViewer/rotationManager.d.ts +23 -0
  339. package/dist/types/src/features/PdfViewer/rotationManager.d.ts.map +1 -0
  340. package/dist/types/src/features/PdfViewer/usePdfHighlight.d.ts +1 -0
  341. package/dist/types/src/features/PdfViewer/usePdfHighlight.d.ts.map +1 -1
  342. package/dist/types/src/features/PromptCitation/CitationDependencyGraph.d.ts +56 -0
  343. package/dist/types/src/features/PromptCitation/CitationDependencyGraph.d.ts.map +1 -0
  344. package/dist/types/src/features/PromptCitation/PromptCitation.d.ts +326 -0
  345. package/dist/types/src/features/PromptCitation/PromptCitation.d.ts.map +1 -0
  346. package/dist/types/src/features/PromptCitation/PromptCitationTest.d.ts +4 -0
  347. package/dist/types/src/features/PromptCitation/PromptCitationTest.d.ts.map +1 -0
  348. package/dist/types/src/features/PromptCitation/_components/CodeEditor.d.ts +30 -0
  349. package/dist/types/src/features/PromptCitation/_components/CodeEditor.d.ts.map +1 -0
  350. package/dist/types/src/features/PromptCitation/_components/HighlightedCodeDetails.d.ts +16 -0
  351. package/dist/types/src/features/PromptCitation/_components/HighlightedCodeDetails.d.ts.map +1 -0
  352. package/dist/types/src/features/PromptCitation/_components/Markdownrenderer.d.ts +23 -0
  353. package/dist/types/src/features/PromptCitation/_components/Markdownrenderer.d.ts.map +1 -0
  354. package/dist/types/src/features/PromptCitation/_components/ThemeToggle.d.ts +12 -0
  355. package/dist/types/src/features/PromptCitation/_components/ThemeToggle.d.ts.map +1 -0
  356. package/dist/types/src/features/PromptCitation/_components/TooltipComponent.d.ts +8 -0
  357. package/dist/types/src/features/PromptCitation/_components/TooltipComponent.d.ts.map +1 -0
  358. package/dist/types/src/features/RequirementAI/components/RequirementAIWrapper/RequirementAIWrapper.d.ts +29 -39
  359. package/dist/types/src/features/RequirementAI/components/RequirementAIWrapper/RequirementAIWrapper.d.ts.map +1 -1
  360. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/InitialHtml.d.ts.map +1 -1
  361. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/ManualNode.d.ts +0 -2
  362. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/ManualNode.d.ts.map +1 -1
  363. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/UpdateNode.d.ts +0 -2
  364. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/UpdateNode.d.ts.map +1 -1
  365. package/dist/types/src/features/RequirementAI/components/RichTextEditor/RichTextEditor.d.ts.map +1 -1
  366. package/dist/types/src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CitationAnchor.d.ts.map +1 -1
  367. package/dist/types/src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CognitiveComponent.d.ts +1 -1
  368. package/dist/types/src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CognitiveComponent.d.ts.map +1 -1
  369. package/dist/types/src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/userstory.mock.data.d.ts +5439 -84
  370. package/dist/types/src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/userstory.mock.data.d.ts.map +1 -1
  371. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/DeviationSummary.d.ts +1 -1
  372. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/DeviationSummary.d.ts.map +1 -1
  373. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/ManualEditPopup.d.ts +1 -1
  374. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/ManualEditPopup.d.ts.map +1 -1
  375. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/RedlineStatusCard.d.ts +2 -2
  376. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/RedlineStatusCard.d.ts.map +1 -1
  377. package/dist/types/src/features/RequirementAI/components/UserStoryCard/UserStoryCard.d.ts +2 -20
  378. package/dist/types/src/features/RequirementAI/components/UserStoryCard/UserStoryCard.d.ts.map +1 -1
  379. package/dist/types/src/features/RequirementAI/components/UserStoryCard/cws/CwsEvent.d.ts +2 -7
  380. package/dist/types/src/features/RequirementAI/components/UserStoryCard/cws/CwsEvent.d.ts.map +1 -1
  381. package/dist/types/src/features/RequirementAI/components/UserStoryCard/cws/CwsEventProvider.d.ts.map +1 -1
  382. package/dist/types/src/features/RequirementAI/components/UserStoryCard/cws/SocketManager.d.ts +1 -15
  383. package/dist/types/src/features/RequirementAI/components/UserStoryCard/cws/SocketManager.d.ts.map +1 -1
  384. package/dist/types/src/features/RequirementAI/components/UserStoryCard/cws/useCwsEvent.d.ts +1 -2
  385. package/dist/types/src/features/RequirementAI/components/UserStoryCard/cws/useCwsEvent.d.ts.map +1 -1
  386. package/dist/types/src/features/RequirementAI/components/ai-reasoning/AiReasonMarkdownWrapper.d.ts +2 -3
  387. package/dist/types/src/features/RequirementAI/components/ai-reasoning/AiReasonMarkdownWrapper.d.ts.map +1 -1
  388. package/dist/types/src/features/RequirementAI/components/ai-reasoning/AiReasoningCitationContent.d.ts.map +1 -1
  389. package/dist/types/src/features/RequirementAI/components/citations/file-citation/FileCitationContent.d.ts +0 -1
  390. package/dist/types/src/features/RequirementAI/components/citations/file-citation/FileCitationContent.d.ts.map +1 -1
  391. package/dist/types/src/features/RequirementAI/components/citations/file-citation/FileCitationRender.d.ts +0 -1
  392. package/dist/types/src/features/RequirementAI/components/citations/file-citation/FileCitationRender.d.ts.map +1 -1
  393. package/dist/types/src/features/RequirementAI/components/citations/readfile-citation/ReadFileCitationContent.d.ts.map +1 -1
  394. package/dist/types/src/features/RequirementAI/components/lsc-reason-gap/CustomChatCrRedirection.d.ts +2 -3
  395. package/dist/types/src/features/RequirementAI/components/lsc-reason-gap/CustomChatCrRedirection.d.ts.map +1 -1
  396. package/dist/types/src/features/RequirementAI/components/lsc-reason-gap/GapFilterBlock.d.ts +1 -1
  397. package/dist/types/src/features/RequirementAI/components/lsc-reason-gap/GapFilterBlock.d.ts.map +1 -1
  398. package/dist/types/src/features/RequirementAI/components/segment/Segment.d.ts +1 -3
  399. package/dist/types/src/features/RequirementAI/components/segment/Segment.d.ts.map +1 -1
  400. package/dist/types/src/features/RequirementAI/components/segment/SegmentWrapper.d.ts +1 -2
  401. package/dist/types/src/features/RequirementAI/components/segment/SegmentWrapper.d.ts.map +1 -1
  402. package/dist/types/src/features/RequirementAI/components/userstory-approval-screen/UserStoryApprovalContext.d.ts +0 -1
  403. package/dist/types/src/features/RequirementAI/components/userstory-approval-screen/UserStoryApprovalContext.d.ts.map +1 -1
  404. package/dist/types/src/features/RequirementAI/components/userstory-approval-screen/UserStoryApprovalScreen.d.ts +0 -2
  405. package/dist/types/src/features/RequirementAI/components/userstory-approval-screen/UserStoryApprovalScreen.d.ts.map +1 -1
  406. package/dist/types/src/features/RequirementAI/components/userstory-with-citation/UserStoryWithCitation.d.ts +1 -2
  407. package/dist/types/src/features/RequirementAI/components/userstory-with-citation/UserStoryWithCitation.d.ts.map +1 -1
  408. package/dist/types/src/features/RequirementAI/components/userstory-with-citation/components/InlineUpdatedComponent.d.ts +1 -2
  409. package/dist/types/src/features/RequirementAI/components/userstory-with-citation/components/InlineUpdatedComponent.d.ts.map +1 -1
  410. package/dist/types/src/features/RequirementAI/hooks/useStreamContentHandler.d.ts +1 -1
  411. package/dist/types/src/features/RequirementAI/hooks/useStreamContentHandler.d.ts.map +1 -1
  412. package/dist/types/src/features/RequirementAI/interfaces/userstory.interface.d.ts +0 -2
  413. package/dist/types/src/features/RequirementAI/interfaces/userstory.interface.d.ts.map +1 -1
  414. package/dist/types/src/features/RequirementAI/types/aiReasoning.type.d.ts +0 -7
  415. package/dist/types/src/features/RequirementAI/types/aiReasoning.type.d.ts.map +1 -1
  416. package/dist/types/src/features/RequirementAI/types/segment.type.d.ts +1 -2
  417. package/dist/types/src/features/RequirementAI/types/segment.type.d.ts.map +1 -1
  418. package/dist/types/src/features/RequirementAI/utils/helpers.d.ts +0 -2
  419. package/dist/types/src/features/RequirementAI/utils/helpers.d.ts.map +1 -1
  420. package/dist/types/src/features/RequirementAI/utils/proccess-stream.utils.d.ts.map +1 -1
  421. package/dist/types/src/features/SegmentReviewComponents/BoundaryCard.d.ts +85 -0
  422. package/dist/types/src/features/SegmentReviewComponents/BoundaryCard.d.ts.map +1 -0
  423. package/dist/types/src/features/SegmentReviewComponents/CardWrapper.d.ts +26 -0
  424. package/dist/types/src/features/SegmentReviewComponents/CardWrapper.d.ts.map +1 -0
  425. package/dist/types/src/features/SegmentReviewComponents/ChartBreakoutCircle.d.ts +3 -0
  426. package/dist/types/src/features/SegmentReviewComponents/ChartBreakoutCircle.d.ts.map +1 -0
  427. package/dist/types/src/features/SegmentReviewComponents/CognitiveIcon.d.ts +3 -0
  428. package/dist/types/src/features/SegmentReviewComponents/CognitiveIcon.d.ts.map +1 -0
  429. package/dist/types/src/features/SegmentReviewComponents/CognitiveIntegrity.d.ts +33 -0
  430. package/dist/types/src/features/SegmentReviewComponents/CognitiveIntegrity.d.ts.map +1 -0
  431. package/dist/types/src/features/SegmentReviewComponents/CognitiveScoreBadge.d.ts +7 -0
  432. package/dist/types/src/features/SegmentReviewComponents/CognitiveScoreBadge.d.ts.map +1 -0
  433. package/dist/types/src/features/SegmentReviewComponents/LabelCheck.d.ts +87 -0
  434. package/dist/types/src/features/SegmentReviewComponents/LabelCheck.d.ts.map +1 -0
  435. package/dist/types/src/features/SegmentReviewComponents/PageCheck.d.ts +57 -0
  436. package/dist/types/src/features/SegmentReviewComponents/PageCheck.d.ts.map +1 -0
  437. package/dist/types/src/features/SegmentReviewComponents/PageTypeChoiceCheck.d.ts +28 -0
  438. package/dist/types/src/features/SegmentReviewComponents/PageTypeChoiceCheck.d.ts.map +1 -0
  439. package/dist/types/src/features/SegmentReviewComponents/RevertCard.d.ts +37 -0
  440. package/dist/types/src/features/SegmentReviewComponents/RevertCard.d.ts.map +1 -0
  441. package/dist/types/src/features/SegmentReviewComponents/RevertSuccessCard.d.ts +9 -0
  442. package/dist/types/src/features/SegmentReviewComponents/RevertSuccessCard.d.ts.map +1 -0
  443. package/dist/types/src/features/SegmentReviewComponents/RevertSummaryNotice.d.ts +7 -0
  444. package/dist/types/src/features/SegmentReviewComponents/RevertSummaryNotice.d.ts.map +1 -0
  445. package/dist/types/src/features/SegmentReviewComponents/ReviewedBoundaryActions.d.ts +17 -0
  446. package/dist/types/src/features/SegmentReviewComponents/ReviewedBoundaryActions.d.ts.map +1 -0
  447. package/dist/types/src/features/SegmentReviewComponents/ReviewedCard.d.ts +33 -0
  448. package/dist/types/src/features/SegmentReviewComponents/ReviewedCard.d.ts.map +1 -0
  449. package/dist/types/src/features/SegmentReviewComponents/SegmentReviewPdfWrapper.d.ts +124 -0
  450. package/dist/types/src/features/SegmentReviewComponents/SegmentReviewPdfWrapper.d.ts.map +1 -0
  451. package/dist/types/src/features/SegmentReviewComponents/SegmentReviewRedirectionTest.d.ts +13 -0
  452. package/dist/types/src/features/SegmentReviewComponents/SegmentReviewRedirectionTest.d.ts.map +1 -0
  453. package/dist/types/src/features/SegmentReviewComponents/helper.d.ts +51 -0
  454. package/dist/types/src/features/SegmentReviewComponents/helper.d.ts.map +1 -0
  455. package/dist/types/src/features/SegmentReviewComponents/helper.test.d.ts +2 -0
  456. package/dist/types/src/features/SegmentReviewComponents/helper.test.d.ts.map +1 -0
  457. package/dist/types/src/features/SegmentReviewComponents/index.d.ts +25 -0
  458. package/dist/types/src/features/SegmentReviewComponents/index.d.ts.map +1 -0
  459. package/dist/types/src/features/SegmentReviewComponents/reviewScore.d.ts +4 -0
  460. package/dist/types/src/features/SegmentReviewComponents/reviewScore.d.ts.map +1 -0
  461. package/dist/types/src/features/SegmentReviewComponents/reviewStepAdapters.d.ts +243 -0
  462. package/dist/types/src/features/SegmentReviewComponents/reviewStepAdapters.d.ts.map +1 -0
  463. package/dist/types/src/features/SegmentReviewComponents/segmentReviewEdgeCases.test.d.ts +2 -0
  464. package/dist/types/src/features/SegmentReviewComponents/segmentReviewEdgeCases.test.d.ts.map +1 -0
  465. package/dist/types/src/index.d.ts +8 -0
  466. package/dist/types/src/index.d.ts.map +1 -1
  467. package/dist/types/src/service/redlineService.d.ts.map +1 -1
  468. package/dist/types/src/utils/tagHelper.d.ts +0 -9
  469. package/dist/types/src/utils/tagHelper.d.ts.map +1 -1
  470. package/dist/utils/tagHelper.js +1 -1
  471. package/package.json +12 -2
  472. package/dist/cjs/features/CognitiveCompare/utils/normalizeInlineMarkdown.js +0 -2
  473. package/dist/cjs/features/CognitiveCompare/utils/normalizeInlineMarkdown.js.map +0 -1
  474. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/constants/updateTags.js +0 -2
  475. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/constants/updateTags.js.map +0 -1
  476. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/plugins/ProtectTableCellBoundaries.js +0 -2
  477. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/plugins/ProtectTableCellBoundaries.js.map +0 -1
  478. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/manualEditSerialization.js +0 -2
  479. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/manualEditSerialization.js.map +0 -1
  480. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/normalizeRedlineMarkdown.js +0 -2
  481. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/normalizeRedlineMarkdown.js.map +0 -1
  482. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownEmphasis.js +0 -2
  483. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownEmphasis.js.map +0 -1
  484. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownLineBreaks.js +0 -2
  485. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownLineBreaks.js.map +0 -1
  486. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownListFormatting.js +0 -2
  487. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownListFormatting.js.map +0 -1
  488. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveReviewBoundaryWhitespace.js +0 -2
  489. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveReviewBoundaryWhitespace.js.map +0 -1
  490. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveTableDelimiters.js +0 -2
  491. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveTableDelimiters.js.map +0 -1
  492. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/tableBoundaryRedlines.js +0 -2
  493. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/tableBoundaryRedlines.js.map +0 -1
  494. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/Avatar.css.js +0 -2
  495. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/Avatar.css.js.map +0 -1
  496. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/Avatar.js +0 -2
  497. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/Avatar.js.map +0 -1
  498. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsGroup.css.js +0 -2
  499. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsGroup.css.js.map +0 -1
  500. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsGroup.js +0 -2
  501. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsGroup.js.map +0 -1
  502. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsPopup.css.js +0 -2
  503. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsPopup.css.js.map +0 -1
  504. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsPopup.js +0 -2
  505. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsPopup.js.map +0 -1
  506. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/avatarUtils.js +0 -2
  507. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/avatarUtils.js.map +0 -1
  508. package/dist/cjs/features/RequirementAI/components/userstory-with-citation/utils/inlineMarkdown.js +0 -2
  509. package/dist/cjs/features/RequirementAI/components/userstory-with-citation/utils/inlineMarkdown.js.map +0 -1
  510. package/dist/cjs/features/RequirementAI/utils/exponential-retry.js +0 -2
  511. package/dist/cjs/features/RequirementAI/utils/exponential-retry.js.map +0 -1
  512. package/dist/features/CognitiveCompare/utils/normalizeInlineMarkdown.js +0 -2
  513. package/dist/features/CognitiveCompare/utils/normalizeInlineMarkdown.js.map +0 -1
  514. package/dist/features/RequirementAI/components/RichTextEditor/Editor/constants/updateTags.js +0 -2
  515. package/dist/features/RequirementAI/components/RichTextEditor/Editor/constants/updateTags.js.map +0 -1
  516. package/dist/features/RequirementAI/components/RichTextEditor/Editor/plugins/ProtectTableCellBoundaries.js +0 -2
  517. package/dist/features/RequirementAI/components/RichTextEditor/Editor/plugins/ProtectTableCellBoundaries.js.map +0 -1
  518. package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/manualEditSerialization.js +0 -2
  519. package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/manualEditSerialization.js.map +0 -1
  520. package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/normalizeRedlineMarkdown.js +0 -2
  521. package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/normalizeRedlineMarkdown.js.map +0 -1
  522. package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownEmphasis.js +0 -2
  523. package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownEmphasis.js.map +0 -1
  524. package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownLineBreaks.js +0 -2
  525. package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownLineBreaks.js.map +0 -1
  526. package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownListFormatting.js +0 -2
  527. package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownListFormatting.js.map +0 -1
  528. package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveReviewBoundaryWhitespace.js +0 -2
  529. package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveReviewBoundaryWhitespace.js.map +0 -1
  530. package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveTableDelimiters.js +0 -2
  531. package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveTableDelimiters.js.map +0 -1
  532. package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/tableBoundaryRedlines.js +0 -2
  533. package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/tableBoundaryRedlines.js.map +0 -1
  534. package/dist/features/RequirementAI/components/UserStoryCard/Avatar/Avatar.css.js +0 -2
  535. package/dist/features/RequirementAI/components/UserStoryCard/Avatar/Avatar.css.js.map +0 -1
  536. package/dist/features/RequirementAI/components/UserStoryCard/Avatar/Avatar.js +0 -2
  537. package/dist/features/RequirementAI/components/UserStoryCard/Avatar/Avatar.js.map +0 -1
  538. package/dist/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsGroup.css.js +0 -2
  539. package/dist/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsGroup.css.js.map +0 -1
  540. package/dist/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsGroup.js +0 -2
  541. package/dist/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsGroup.js.map +0 -1
  542. package/dist/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsPopup.css.js +0 -2
  543. package/dist/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsPopup.css.js.map +0 -1
  544. package/dist/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsPopup.js +0 -2
  545. package/dist/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsPopup.js.map +0 -1
  546. package/dist/features/RequirementAI/components/UserStoryCard/Avatar/avatarUtils.js +0 -2
  547. package/dist/features/RequirementAI/components/UserStoryCard/Avatar/avatarUtils.js.map +0 -1
  548. package/dist/features/RequirementAI/components/userstory-with-citation/utils/inlineMarkdown.js +0 -2
  549. package/dist/features/RequirementAI/components/userstory-with-citation/utils/inlineMarkdown.js.map +0 -1
  550. package/dist/features/RequirementAI/utils/exponential-retry.js +0 -2
  551. package/dist/features/RequirementAI/utils/exponential-retry.js.map +0 -1
  552. package/dist/types/src/CitationAccordionTest.d.ts +0 -1
  553. package/dist/types/src/CitationAccordionTest.d.ts.map +0 -1
  554. package/dist/types/src/MockDeviationSummary.d.ts +0 -1
  555. package/dist/types/src/MockDeviationSummary.d.ts.map +0 -1
  556. package/dist/types/src/features/CognitiveCompare/Guidelines/constants/new-guidelines.mockData.d.ts +0 -33
  557. package/dist/types/src/features/CognitiveCompare/Guidelines/constants/new-guidelines.mockData.d.ts.map +0 -1
  558. package/dist/types/src/features/CognitiveCompare/utils/normalizeInlineMarkdown.d.ts +0 -25
  559. package/dist/types/src/features/CognitiveCompare/utils/normalizeInlineMarkdown.d.ts.map +0 -1
  560. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/constants/updateTags.d.ts +0 -2
  561. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/constants/updateTags.d.ts.map +0 -1
  562. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/ProtectTableCellBoundaries.d.ts +0 -3
  563. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/ProtectTableCellBoundaries.d.ts.map +0 -1
  564. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/reviewBoundaryLexical.test.d.ts +0 -2
  565. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/reviewBoundaryLexical.test.d.ts.map +0 -1
  566. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/manualEditSerialization.d.ts +0 -7
  567. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/manualEditSerialization.d.ts.map +0 -1
  568. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/normalizeRedlineMarkdown.d.ts +0 -2
  569. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/normalizeRedlineMarkdown.d.ts.map +0 -1
  570. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownEmphasis.d.ts +0 -29
  571. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownEmphasis.d.ts.map +0 -1
  572. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownEmphasis.test.d.ts +0 -2
  573. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownEmphasis.test.d.ts.map +0 -1
  574. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownLineBreaks.d.ts +0 -7
  575. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownLineBreaks.d.ts.map +0 -1
  576. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownListFormatting.d.ts +0 -3
  577. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownListFormatting.d.ts.map +0 -1
  578. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveReviewBoundaryWhitespace.d.ts +0 -86
  579. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveReviewBoundaryWhitespace.d.ts.map +0 -1
  580. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveReviewBoundaryWhitespace.test.d.ts +0 -9
  581. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveReviewBoundaryWhitespace.test.d.ts.map +0 -1
  582. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveTableDelimiters.d.ts +0 -7
  583. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveTableDelimiters.d.ts.map +0 -1
  584. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/tableBoundaryRedlines.d.ts +0 -5
  585. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/tableBoundaryRedlines.d.ts.map +0 -1
  586. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Avatar/Avatar.d.ts +0 -10
  587. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Avatar/Avatar.d.ts.map +0 -1
  588. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsGroup.d.ts +0 -17
  589. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsGroup.d.ts.map +0 -1
  590. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsPopup.d.ts +0 -23
  591. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsPopup.d.ts.map +0 -1
  592. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Avatar/avatarUtils.d.ts +0 -3
  593. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Avatar/avatarUtils.d.ts.map +0 -1
  594. package/dist/types/src/features/RequirementAI/components/common/onDemandCitationButton.d.ts +0 -12
  595. package/dist/types/src/features/RequirementAI/components/common/onDemandCitationButton.d.ts.map +0 -1
  596. package/dist/types/src/features/RequirementAI/components/userstory-with-citation/utils/inlineMarkdown.d.ts +0 -9
  597. package/dist/types/src/features/RequirementAI/components/userstory-with-citation/utils/inlineMarkdown.d.ts.map +0 -1
  598. package/dist/types/src/features/RequirementAI/utils/exponential-retry.d.ts +0 -12
  599. package/dist/types/src/features/RequirementAI/utils/exponential-retry.d.ts.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PageTypeChoiceCheck.d.ts","sourceRoot":"","sources":["../../../../../src/features/SegmentReviewComponents/PageTypeChoiceCheck.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAYjD,OAAO,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAI3D,OAAO,KAAK,EAAE,iBAAiB,EAAE,mBAAmB,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1
+ import { type ReactNode } from 'react';
2
+ export interface SegmentData {
3
+ title: string;
4
+ startPage: number;
5
+ endPage: number;
6
+ }
7
+ export interface RevertData {
8
+ currentSegment: SegmentData;
9
+ previousSegments: SegmentData[];
10
+ }
11
+ /** Value returned by the host after the revert request and refresh complete. */
12
+ export interface RevertActionResult {
13
+ message?: string | null;
14
+ }
15
+ export interface RevertCardProps {
16
+ icon: ReactNode;
17
+ title: string;
18
+ pageRange: string;
19
+ description: string | null;
20
+ onRevert: () => void | RevertActionResult | Promise<void | RevertActionResult>;
21
+ /** Called only after `onRevert` completes successfully. */
22
+ onRevertComplete?: (result: void | RevertActionResult) => void;
23
+ onRevertError?: (error: unknown) => void;
24
+ revertData: RevertData;
25
+ /** Prevent submission when the host cannot provide a valid revert request. */
26
+ confirmDisabled?: boolean;
27
+ /** Hide when the surrounding reviewed-card shell already renders it. */
28
+ showDocumentHeader?: boolean;
29
+ }
30
+ /**
31
+ * Displays an approved action summary and reveals the appropriate revert
32
+ * confirmation after the user selects Revert. An empty `previousSegments`
33
+ * collection represents keep-as-is; structural changes provide the segments
34
+ * that will be restored after reverting.
35
+ */
36
+ export default function RevertCard({ icon, title, pageRange, description, onRevert, onRevertComplete, onRevertError, revertData, confirmDisabled, showDocumentHeader, }: RevertCardProps): import("react/jsx-runtime").JSX.Element;
37
+ //# sourceMappingURL=RevertCard.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RevertCard.d.ts","sourceRoot":"","sources":["../../../../../src/features/SegmentReviewComponents/RevertCard.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAUjD,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,UAAU;IACzB,cAAc,EAAE,WAAW,CAAC;IAC5B,gBAAgB,EAAE,WAAW,EAAE,CAAC;CACjC;AAED,gFAAgF;AAChF,MAAM,WAAW,kBAAkB;IACjC,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACzB;AAED,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,SAAS,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,QAAQ,EAAE,MAAM,IAAI,GAAG,kBAAkB,GAAG,OAAO,CAAC,IAAI,GAAG,kBAAkB,CAAC,CAAC;IAC/E,2DAA2D;IAC3D,gBAAgB,CAAC,EAAE,CAAC,MAAM,EAAE,IAAI,GAAG,kBAAkB,KAAK,IAAI,CAAC;IAC/D,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACzC,UAAU,EAAE,UAAU,CAAC;IACvB,8EAA8E;IAC9E,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,wEAAwE;IACxE,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B;AA8BD;;;;;GAKG;AACH,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,EACjC,IAAI,EACJ,KAAK,EACL,SAAS,EACT,WAAW,EACX,QAAQ,EACR,gBAAgB,EAChB,aAAa,EACb,UAAU,EACV,eAAuB,EACvB,kBAAyB,GAC1B,EAAE,eAAe,2CAgPjB"}
@@ -0,0 +1,9 @@
1
+ import type { ReactNode } from 'react';
2
+ export interface RevertSuccessCardProps {
3
+ title: ReactNode;
4
+ description: ReactNode;
5
+ onReview: () => void;
6
+ reviewLabel?: ReactNode;
7
+ }
8
+ export default function RevertSuccessCard({ title, description, onReview, reviewLabel, }: RevertSuccessCardProps): import("react/jsx-runtime").JSX.Element;
9
+ //# sourceMappingURL=RevertSuccessCard.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RevertSuccessCard.d.ts","sourceRoot":"","sources":["../../../../../src/features/SegmentReviewComponents/RevertSuccessCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAUvC,MAAM,WAAW,sBAAsB;IACrC,KAAK,EAAE,SAAS,CAAC;IACjB,WAAW,EAAE,SAAS,CAAC;IACvB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,WAAW,CAAC,EAAE,SAAS,CAAC;CACzB;AAED,MAAM,CAAC,OAAO,UAAU,iBAAiB,CAAC,EACxC,KAAK,EACL,WAAW,EACX,QAAQ,EACR,WAAsB,GACvB,EAAE,sBAAsB,2CAoExB"}
@@ -0,0 +1,7 @@
1
+ import type { ReactNode } from 'react';
2
+ export interface RevertSummaryNoticeProps {
3
+ children: ReactNode;
4
+ }
5
+ /** Operation summary shown in place of the normal review-step question. */
6
+ export default function RevertSummaryNotice({ children, }: RevertSummaryNoticeProps): import("react/jsx-runtime").JSX.Element;
7
+ //# sourceMappingURL=RevertSummaryNotice.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RevertSummaryNotice.d.ts","sourceRoot":"","sources":["../../../../../src/features/SegmentReviewComponents/RevertSummaryNotice.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKvC,MAAM,WAAW,wBAAwB;IACvC,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,2EAA2E;AAC3E,MAAM,CAAC,OAAO,UAAU,mBAAmB,CAAC,EAC1C,QAAQ,GACT,EAAE,wBAAwB,2CAwB1B"}
@@ -0,0 +1,17 @@
1
+ import { type ReactNode } from 'react';
2
+ import { type BoundaryReviewAction, type BoundaryReviewConfirmDetails, type BoundaryReviewMetadata } from './BoundaryCard';
3
+ import type { SegmentReviewAction } from './reviewStepAdapters';
4
+ export declare const getAdditionalBoundaryActions: (reviewAction?: SegmentReviewAction) => BoundaryReviewAction[];
5
+ export interface ReviewedBoundaryActionsProps {
6
+ metadata: BoundaryReviewMetadata;
7
+ reviewAction?: SegmentReviewAction;
8
+ startPage: number;
9
+ endPage: number;
10
+ title?: ReactNode;
11
+ previousSegmentTitle?: ReactNode;
12
+ nextSegmentTitle?: ReactNode;
13
+ disabled?: boolean;
14
+ onConfirm: (action: BoundaryReviewAction, details: BoundaryReviewConfirmDetails) => void;
15
+ }
16
+ export default function ReviewedBoundaryActions({ metadata, reviewAction, startPage, endPage, title, previousSegmentTitle, nextSegmentTitle, disabled, onConfirm, }: ReviewedBoundaryActionsProps): import("react/jsx-runtime").JSX.Element | null;
17
+ //# sourceMappingURL=ReviewedBoundaryActions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReviewedBoundaryActions.d.ts","sourceRoot":"","sources":["../../../../../src/features/SegmentReviewComponents/ReviewedBoundaryActions.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAqB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAW1D,OAAO,EAGL,KAAK,oBAAoB,EACzB,KAAK,4BAA4B,EACjC,KAAK,sBAAsB,EAC5B,MAAM,gBAAgB,CAAC;AACxB,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAKhE,eAAO,MAAM,4BAA4B,kBACxB,mBAAmB,KACjC,oBAAoB,EAQtB,CAAC;AAgDF,MAAM,WAAW,4BAA4B;IAC3C,QAAQ,EAAE,sBAAsB,CAAC;IACjC,YAAY,CAAC,EAAE,mBAAmB,CAAC;IACnC,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,oBAAoB,CAAC,EAAE,SAAS,CAAC;IACjC,gBAAgB,CAAC,EAAE,SAAS,CAAC;IAC7B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,EAAE,CACT,MAAM,EAAE,oBAAoB,EAC5B,OAAO,EAAE,4BAA4B,KAClC,IAAI,CAAC;CACX;AAED,MAAM,CAAC,OAAO,UAAU,uBAAuB,CAAC,EAC9C,QAAQ,EACR,YAAY,EACZ,SAAS,EACT,OAAO,EACP,KAAuB,EACvB,oBAAoB,EACpB,gBAAgB,EAChB,QAAgB,EAChB,SAAS,GACV,EAAE,4BAA4B,kDAmW9B"}
@@ -0,0 +1,33 @@
1
+ import type { ReactNode } from 'react';
2
+ import type { SxProps, Theme } from '@mui/material/styles';
3
+ export interface ReviewedCardStyles {
4
+ root?: SxProps<Theme>;
5
+ header?: SxProps<Theme>;
6
+ content?: SxProps<Theme>;
7
+ footer?: SxProps<Theme>;
8
+ }
9
+ export interface ReviewedCardProps {
10
+ headerName?: ReactNode;
11
+ headerIcon?: ReactNode;
12
+ title: ReactNode;
13
+ pageNo?: ReactNode;
14
+ summary?: ReactNode;
15
+ /** Actions exposed only after this review has been resolved. */
16
+ additionalActions?: ReactNode;
17
+ cognitiveScore?: ReactNode;
18
+ onCognitiveClick?: () => void;
19
+ onClose?: () => void;
20
+ cognitiveLabel?: ReactNode;
21
+ showCognitiveIntegrity?: boolean;
22
+ showCloseButton?: boolean;
23
+ width?: number | string;
24
+ maxWidth?: number | string;
25
+ className?: string;
26
+ styles?: ReviewedCardStyles;
27
+ }
28
+ /**
29
+ * Read-only review card shell. The middle stack is intentionally empty until
30
+ * the reviewed-action content is introduced.
31
+ */
32
+ export default function ReviewedCard({ headerName, headerIcon, title, pageNo, summary, additionalActions, cognitiveScore, onCognitiveClick, onClose, cognitiveLabel, showCognitiveIntegrity, showCloseButton, width, maxWidth, className, styles, }: ReviewedCardProps): import("react/jsx-runtime").JSX.Element;
33
+ //# sourceMappingURL=ReviewedCard.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReviewedCard.d.ts","sourceRoot":"","sources":["../../../../../src/features/SegmentReviewComponents/ReviewedCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAUvC,OAAO,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,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{ type CSSProperties } from 'react';
2
+ import { type PdfViewerProps } from '../PdfViewer/PdfViewer';
3
+ import { type BoundaryReviewAction, type BoundaryReviewConfirmDetails } from './BoundaryCard';
4
+ import { type LabelReviewAction, type LabelReviewConfirmDetails } from './LabelCheck';
5
+ import { type PageCheckAction, type PageCheckConfirmDetails } from './PageCheck';
6
+ import { type SegmentRevertInfo, type SegmentReviewSource } from './reviewStepAdapters';
7
+ import { type RevertActionResult } from './RevertCard';
8
+ type ForwardedPdfViewerProps = Partial<Omit<PdfViewerProps, 'pdfUrl' | 'pdfName' | 'segments' | 'onCurrentPageChange' | 'navigationRequest' | 'onNavigationSettled' | 'renderPage' | 'setRenderRange'>>;
9
+ export type ReviewConfidence = 'low' | 'medium' | 'high';
10
+ export type ReviewConfidenceFilter = 'low' | 'high' | 'all';
11
+ export type ReviewRedirectionType = 'boundary' | 'label' | 'page' | 'pageGroup';
12
+ export declare enum SegmentPdfSpecialZoomLevel {
13
+ ActualSize = "ActualSize",
14
+ PageFit = "PageFit",
15
+ PageWidth = "PageWidth"
16
+ }
17
+ export interface SelectedBadgeData {
18
+ reviewId: string;
19
+ segment_id: string | null;
20
+ reviewStepIndex: number;
21
+ kind: 'boundary' | 'label' | 'page';
22
+ pageNumber: number;
23
+ metadata: Record<string, any>;
24
+ }
25
+ export interface SegmentReviewActionContext {
26
+ reviewId: string;
27
+ segment: SegmentReviewSource;
28
+ pageNumber: number;
29
+ }
30
+ export interface PageTypeRevertDetails {
31
+ classification_id: string;
32
+ human_verdict: 'No';
33
+ }
34
+ export interface RedirectionData {
35
+ /** Change for every redirect request, including repeated redirects to the same badge. */
36
+ requestKey?: string | number;
37
+ pageNumber?: string;
38
+ type?: ReviewRedirectionType;
39
+ /** Stable backend segment id used to disambiguate reviews on the same page. */
40
+ segmentId?: string;
41
+ /** Exact review id returned by the wrapper, if the parent has it. */
42
+ reviewId?: string;
43
+ /** Stable backend page_classifications[].questions[].id for page-type redirects. */
44
+ classificationId?: string;
45
+ /** Optional page-type disambiguation when table/drawing checks share a page. */
46
+ pageType?: string;
47
+ /** type: 'pageGroup' only — ordered pages to step through, e.g. a segment's tabular pages. */
48
+ pages?: number[];
49
+ /** type: 'pageGroup' only — which page in `pages` to land on first. Defaults to 0. */
50
+ pageIndex?: number;
51
+ /** type: 'pageGroup' only — short label for the floating pill, e.g. "Tabular". */
52
+ groupLabel?: string;
53
+ }
54
+ export interface SegmentReviewPdfWrapperProps {
55
+ pdfUrl: string;
56
+ pdfName?: string;
57
+ /** Live backend segments. Changes are re-extracted automatically. */
58
+ segments: readonly SegmentReviewSource[];
59
+ pdfViewerProps?: ForwardedPdfViewerProps;
60
+ totalPages?: number;
61
+ /** Special PDF zoom mode. Defaults to PageFit. */
62
+ specialZoomLevel?: SegmentPdfSpecialZoomLevel;
63
+ heightBuffer?: number;
64
+ showBadges?: boolean;
65
+ /** @deprecated Reviewed steps are always hidden from badges and navigation. */
66
+ showResolvedBadges?: boolean;
67
+ /** Confidence group placed first in the badge navigator. */
68
+ sortByConfidence?: ReviewConfidence;
69
+ /** Only render and navigate badges matching this confidence. */
70
+ filterByConfidence?: ReviewConfidenceFilter;
71
+ showBadgeNavigation?: boolean;
72
+ autoSelectReviewOnPageChange?: boolean;
73
+ autoAdvanceAfterConfirm?: boolean;
74
+ /** Restrict post-confirm auto-advance to pending reviews in this score band. */
75
+ autoAdvanceScoreBand?: ReviewConfidence;
76
+ /** Number of PDF page layers mounted before and after the visible range. */
77
+ badgePreloadPages?: number;
78
+ /** Vertical badge offset from the page's top-right edge. */
79
+ badgeOffsetTop?: number;
80
+ /** Horizontal inset from the external badge rail's right edge. */
81
+ badgeOffsetRight?: number;
82
+ badgeOffsetLeft?: number;
83
+ initialReviewId?: string;
84
+ onBoundaryAction?: (action: BoundaryReviewAction, details: BoundaryReviewConfirmDetails, context: SegmentReviewActionContext) => void | Promise<void>;
85
+ onLabelAction?: (action: LabelReviewAction, details: LabelReviewConfirmDetails, context: SegmentReviewActionContext) => void | Promise<void>;
86
+ onPageAction?: (action: PageCheckAction, details: PageCheckConfirmDetails, context: SegmentReviewActionContext) => void | Promise<void>;
87
+ /**
88
+ * Revert a confirmed page-type decision by submitting `human_verdict: "No"`.
89
+ * Refresh the latest classifications before resolving this callback.
90
+ */
91
+ onPageTypeRevert?: (details: PageTypeRevertDetails, context: SegmentReviewActionContext) => void | RevertActionResult | Promise<void | RevertActionResult>;
92
+ /**
93
+ * Submit the operation-level revert, poll it to completion, and refresh the
94
+ * latest segments before resolving this callback. `revert` is null when the
95
+ * current segment does not include revert metadata.
96
+ */
97
+ onRevert?: (revert: SegmentRevertInfo | null, context: SegmentReviewActionContext) => void | RevertActionResult | Promise<void | RevertActionResult>;
98
+ /** Called when a badge is selected, with its complete source segment. */
99
+ onActiveReviewChange?: (reviewId: string | null, segment: SegmentReviewSource | null) => void;
100
+ onBadgeSelected?: (data: SelectedBadgeData) => void;
101
+ onCurrentPageChange?: (pageNumber: number) => void;
102
+ onActionError?: (error: unknown, context: SegmentReviewActionContext) => void;
103
+ onAdjustManually?: (context: SegmentReviewActionContext) => void;
104
+ onCognitiveClick?: (context: SegmentReviewActionContext) => void;
105
+ className?: string;
106
+ style?: CSSProperties;
107
+ viewerStyle?: CSSProperties;
108
+ railStyle?: CSSProperties;
109
+ redirectionData?: RedirectionData;
110
+ styles?: Record<string, React.CSSProperties>;
111
+ disableAllActions?: boolean;
112
+ disablePdfAnnotations?: boolean;
113
+ /** Disable the transparent PDF text layer that can overflow rotated pages. */
114
+ disablePdfTextLayer?: boolean;
115
+ disableTitleCheckUntilBoundaryCheckCompleted?: boolean;
116
+ manualPrompt?: string;
117
+ }
118
+ /**
119
+ * Orchestrates the PDF, review badges, page navigation, active card and actions.
120
+ * It consumes backend-shaped segments directly; cards never parse the raw payload.
121
+ */
122
+ export default function SegmentReviewPdfWrapper({ pdfUrl, pdfName, segments, totalPages, styles, pdfViewerProps, specialZoomLevel, showBadges, sortByConfidence, filterByConfidence, showBadgeNavigation, autoSelectReviewOnPageChange, autoAdvanceAfterConfirm, autoAdvanceScoreBand, badgePreloadPages, badgeOffsetTop, badgeOffsetRight, badgeOffsetLeft, initialReviewId, manualPrompt, heightBuffer, onBoundaryAction, onLabelAction, onPageAction, onPageTypeRevert, onRevert, onActiveReviewChange, onCurrentPageChange, onActionError, disableAllActions, disablePdfAnnotations, disablePdfTextLayer, disableTitleCheckUntilBoundaryCheckCompleted, onAdjustManually, onCognitiveClick, className, style, viewerStyle, railStyle, redirectionData, onBadgeSelected, }: SegmentReviewPdfWrapperProps): import("react/jsx-runtime").JSX.Element;
123
+ export {};
124
+ //# sourceMappingURL=SegmentReviewPdfWrapper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SegmentReviewPdfWrapper.d.ts","sourceRoot":"","sources":["../../../../../src/features/SegmentReviewComponents/SegmentReviewPdfWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,aAAa,EACnB,MAAM,OAAO,CAAC;AAEf,OAAkB,EAGhB,KAAK,cAAc,EACpB,MAAM,wBAAwB,CAAC;AAChC,OAAqB,EAGnB,KAAK,oBAAoB,EACzB,KAAK,4BAA4B,EAClC,MAAM,gBAAgB,CAAC;AAGxB,OAAmB,EACjB,KAAK,iBAAiB,EACtB,KAAK,yBAAyB,EAC/B,MAAM,cAAc,CAAC;AACtB,OAAkB,EAEhB,KAAK,eAAe,EACpB,KAAK,uBAAuB,EAE7B,MAAM,aAAa,CAAC;AAErB,OAAO,EAML,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACzB,MAAM,sBAAsB,CAAC;AAK9B,OAAmB,EACjB,KAAK,kBAAkB,EAGxB,MAAM,cAAc,CAAC;AAkBtB,KAAK,uBAAuB,GAAG,OAAO,CAAC,IAAI,CACzC,cAAc,EACZ,QAAQ,GACR,SAAS,GACT,UAAU,GACV,qBAAqB,GACrB,mBAAmB,GACnB,qBAAqB,GACrB,YAAY,GACZ,gBAAgB,CACnB,CAAC,CAAC;AA+BH,MAAM,MAA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S,CAAC,EAAE,aAAa,CAAC;IAC1B,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC;IAC7C,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,8EAA8E;IAC9E,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,4CAA4C,CAAC,EAAE,OAAO,CAAC;IACvD,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAsBD;;;GAGG;AACH,MAAM,CAAC,OAAO,UAAU,uBAAuB,CAAC,EAC9C,MAAM,EACN,OAAO,EACP,QAAQ,EACR,UAAU,EACV,MAAM,EACN,cAAc,EACd,gBAAgB,EAChB,UAAiB,EACjB,gBAAwB,EACxB,kBAA0B,EAC1B,mBAA0B,EAC1B,4BAAoC,EACpC,uBAA8B,EAC9B,oBAAoB,EACpB,iBAAqB,EACrB,cAAmB,EACnB,gBAAqB,EACrB,eAAmB,EACnB,eAAe,EACf,YAAY,EACZ,YAAY,EACZ,gBAAgB,EAChB,aAAa,EACb,YAAY,EACZ,gBAAgB,EAChB,QAAQ,EACR,oBAAoB,EACpB,mBAAmB,EACnB,aAAa,EACb,iBAAyB,EACzB,qBAA6B,EAC7B,mBAA0B,EAC1B,4CAAoD,EACpD,gBAAgB,EAChB,gBAAgB,EAChB,SAAS,EACT,KAAK,EACL,WAAW,EACX,SAAS,EACT,eAAe,EACf,eAAe,GAChB,EAAE,4BAA4B,2CAuoE9B"}
@@ -0,0 +1,13 @@
1
+ import type { SegmentReviewSource } from './reviewStepAdapters';
2
+ export interface SegmentReviewRedirectionTestProps {
3
+ pdfUrl: string;
4
+ segments: readonly SegmentReviewSource[];
5
+ pageCheckPdfUrl?: string;
6
+ pageCheckSegments?: readonly SegmentReviewSource[];
7
+ }
8
+ /**
9
+ * Isolated development example for exercising prop-driven badge redirection.
10
+ * This file is intentionally not exported from the package entry point.
11
+ */
12
+ export default function SegmentReviewRedirectionTest({ pdfUrl, segments, pageCheckPdfUrl, pageCheckSegments, }: SegmentReviewRedirectionTestProps): import("react/jsx-runtime").JSX.Element;
13
+ //# sourceMappingURL=SegmentReviewRedirectionTest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SegmentReviewRedirectionTest.d.ts","sourceRoot":"","sources":["../../../../../src/features/SegmentReviewComponents/SegmentReviewRedirectionTest.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAEV,mBAAmB,EACpB,MAAM,sBAAsB,CAAC;AAE9B,MAAM,WAAW,iCAAiC;IAChD,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,SAAS,mBAAmB,EAAE,CAAC;IACzC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,iBAAiB,CAAC,EAAE,SAAS,mBAAmB,EAAE,CAAC;CACpD;AAwGD;;;GAGG;AACH,MAAM,CAAC,OAAO,UAAU,4BAA4B,CAAC,EACnD,MAAM,EACN,QAAQ,EACR,eAAoB,EACpB,iBAAsB,GACvB,EAAE,iCAAiC,2CAkSnC"}
@@ -0,0 +1,51 @@
1
+ import type { ReviewStepSource, SegmentReviewSource } from './reviewStepAdapters';
2
+ export { getNumericScore, getReviewScoreBand } from './reviewScore';
3
+ export type { ReviewScoreBand } from './reviewScore';
4
+ export declare const getFallbackScore: (confidence?: string | null) => 40 | 70 | 95 | null;
5
+ export declare const getResolvedScore: (score?: number | string | null, confidence?: string | null) => number | null;
6
+ export declare const formatScore: (score?: number | string | null, confidence?: string | null) => string;
7
+ /** Returns the user-facing badge text for structural segment actions. */
8
+ export declare const getHumanActionBadgeLabel: (humanAction?: string | null) => "Merged" | "Split" | null;
9
+ /** Resolves an action label from pending or approved review-step data. */
10
+ export declare const getReviewStepActionBadgeLabel: (step: ReviewStepSource) => "Merged" | "Split" | null;
11
+ export declare const isReviewStepResolutionCurrent: (step: ReviewStepSource, segment: SegmentReviewSource) => boolean;
12
+ export declare const isReviewStepResolved: (step: ReviewStepSource, segment: SegmentReviewSource) => boolean;
13
+ /** Returns whether this boundary step belongs to a split or merge operation. */
14
+ export declare const hasStructuralBoundaryAction: (step: ReviewStepSource) => boolean;
15
+ /**
16
+ * Resolves the structural label owned by this segment. Split history is copied
17
+ * to both outputs, so the retained `after` range is not the Split result. A
18
+ * merge result, on the other hand, is the expanded `after` range.
19
+ */
20
+ export declare const getStructuralResultBadgeLabel: (segment: SegmentReviewSource) => "Merged" | "Split" | null;
21
+ /**
22
+ * Title checks inherit only merge results from their segment. Split remains
23
+ * specific to the boundary step that performed it.
24
+ */
25
+ export declare const getTitleReviewActionBadgeLabel: (step: ReviewStepSource, segment: SegmentReviewSource, optimisticAction?: string | null) => "Merged" | "Split" | null;
26
+ /** Optimistic structural state wins over stale polling for boundary badges. */
27
+ export declare const getBoundaryReviewActionBadgeLabel: (step: ReviewStepSource, segment: SegmentReviewSource, optimisticAction?: string | null) => "Merged" | "Split" | null;
28
+ export declare const shouldHideStructuralBoundaryReview: (step: ReviewStepSource, segment: SegmentReviewSource, hasTitleReview: boolean, optimisticAction?: string | null) => boolean;
29
+ /** Polling has taken ownership only when it reflects the same optimistic action. */
30
+ export declare const hasPolledStructuralAction: (segment: SegmentReviewSource, optimisticAction?: string | null) => boolean;
31
+ /**
32
+ * Finds the adjacent merge input while optimistic data owns the UI. Once the
33
+ * same directional action is visible in polling, the polled-state helper owns
34
+ * adjacency so a newly-next unrelated segment is never hidden for one frame.
35
+ */
36
+ export declare const getOptimisticMergeImpactedSegmentKeys: (segments: readonly SegmentReviewSource[], optimisticActions: ReadonlyMap<string, string>, rangeAdjustedSegmentKeys?: ReadonlySet<string>) => Set<string>;
37
+ /**
38
+ * While a merge is applying, the action-bearing segment owns the Merged badge
39
+ * and its adjacent input segment is only impacted by that action. Once the
40
+ * resolution is committed, the adjacent input has disappeared and the
41
+ * expanded result remains badge-eligible.
42
+ */
43
+ export declare const getPendingMergeImpactedSegmentKeys: (segments: readonly SegmentReviewSource[]) => Set<string>;
44
+ export declare const getConfidenceColors: (score?: number | string | null, _confidence?: string | null, awaiting_llm?: boolean) => {
45
+ border: string;
46
+ cardBorder: string;
47
+ background: string;
48
+ text: string;
49
+ divider: string;
50
+ };
51
+ //# sourceMappingURL=helper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"helper.d.ts","sourceRoot":"","sources":["../../../../../src/features/SegmentReviewComponents/helper.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,gBAAgB,EAChB,mBAAmB,EACpB,MAAM,sBAAsB,CAAC;AAI9B,OAAO,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AACpE,YAAY,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAErD,eAAO,MAAM,gBAAgB,gBAAiB,MAAM,GAAG,IAAI,wBAW1D,CAAC;AAEF,eAAO,MAAM,gBAAgB,WAAY,MAAM,GAAG,MAAM,GAAG,IAAI,eAAe,MAAM,GAAG,IAAI,kBACnC,CAAC;AAEzD,eAAO,MAAM,WAAW,WAAY,MAAM,GAAG,MAAM,GAAG,IAAI,eAAe,MAAM,GAAG,IAAI,WAOrF,CAAC;AAEF,yEAAyE;AACzE,eAAO,MAAM,wBAAwB,iBAAkB,MAAM,GAAG,IAAI,8BAanE,CAAC;AA6LF,0EAA0E;AAC1E,eAAO,MAAM,6BAA6B,SAClC,gBAAgB,8BAWrB,CAAC;AAEJ,eAAO,MAAM,6BAA6B,SAClC,gBAAgB,WACb,mBAAmB,YAY7B,CAAC;AAEF,eAAO,MAAM,oBAAoB,SACzB,gBAAgB,WACb,mBAAmB,YAQ7B,CAAC;AAEF,gFAAgF;AAChF,eAAO,MAAM,2BAA2B,SAAU,gBAAgB,YAMtD,CAAC;AAEb;;;;GAIG;AACH,eAAO,MAAM,6BAA6B,YAC/B,mBAAmB,8BAqD7B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,8BAA8B,SACnC,gBAAgB,WACb,mBAAmB,qBACT,MAAM,GAAG,IAAI,8BASjC,CAAC;AAEF,+EAA+E;AAC/E,eAAO,MAAM,iCAAiC,SACtC,gBAAgB,WACb,mBAAmB,qBACT,MAAM,GAAG,IAAI,8BAGM,CAAC;AASzC,eAAO,MAAM,kCAAkC,SACvC,gBAAgB,WACb,mBAAmB,kBACZ,OAAO,qBACJ,MAAM,GAAG,IAAI,YAmBjC,CAAC;AAEF,oFAAoF;AACpF,eAAO,MAAM,yBAAyB,YAC3B,mBAAmB,qBACT,MAAM,GAAG,IAAI,YAmBjC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,qCAAqC,aACtC,SAAS,mBAAmB,EAAE,qBACrB,YAAY,MAAM,EAAE,MAAM,CAAC,6BACpB,YAAY,MAAM,CAAC,gBAuC9C,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,kCAAkC,aACnC,SAAS,mBAAmB,EAAE,gBAwCzC,CAAC;AAEF,eAAO,MAAM,mBAAmB,WAAY,MAAM,GAAG,MAAM,GAAG,IAAI,gBAAgB,MAAM,GAAG,IAAI,iBAAiB,OAAO;;;;;;CA6CtH,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=helper.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"helper.test.d.ts","sourceRoot":"","sources":["../../../../../src/features/SegmentReviewComponents/helper.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,25 @@
1
+ export { default as BoundaryCard } from './BoundaryCard';
2
+ export { createBoundaryCardOptions, isBoundaryReviewAction } from './BoundaryCard';
3
+ export type { BoundaryCardOption, BoundaryCardProps, BoundaryCardStyles, BoundaryReviewAction, BoundaryReviewConfirmDetails, BoundaryReviewMetadata, } from './BoundaryCard';
4
+ export { default as CardWrapper } from './CardWrapper';
5
+ export type { CardWrapperProps } from './CardWrapper';
6
+ export { default as CognitiveIcon } from './CognitiveIcon';
7
+ export { default as CognitiveIntegrity } from './CognitiveIntegrity';
8
+ export type { CognitiveIntegrityProps, CognitiveIntegrityStyles, } from './CognitiveIntegrity';
9
+ export { default as LabelCheck } from './LabelCheck';
10
+ export { createLabelCheckOptions, isLabelReviewAction } from './LabelCheck';
11
+ export type { LabelCheckOption, LabelCheckProps, LabelCheckStyles, LabelReviewAction, LabelReviewConfirmDetails, LabelReviewMetadata, } from './LabelCheck';
12
+ export { default as PageCheck } from './PageCheck';
13
+ export { isPageCheckAction } from './PageCheck';
14
+ export type { PageCheckAction, PageCheckConfirmDetails, PageCheckMetadata, PageCheckPageType, PageCheckTypeChoice, PageCheckProps, PageCheckStyles, } from './PageCheck';
15
+ export { default as PageTypeChoiceCheck } from './PageTypeChoiceCheck';
16
+ export type { PageTypeChoiceCheckProps, PageTypeChoiceCheckStyles, } from './PageTypeChoiceCheck';
17
+ export { extractSegmentReviewData } from './reviewStepAdapters';
18
+ export type { ExtractedBoundaryReview, ExtractedLabelReview, ExtractedPageReview, PageClassificationSource, ReviewStepMetadata, ReviewStepReview, ReviewStepSource, SegmentRevertInfo, SegmentRevertSnapshot, SegmentReviewSource, } from './reviewStepAdapters';
19
+ export { default as RevertCard } from './RevertCard';
20
+ export type { RevertActionResult, RevertCardProps, RevertData, SegmentData as RevertSegmentData, } from './RevertCard';
21
+ export { default as RevertSuccessCard } from './RevertSuccessCard';
22
+ export type { RevertSuccessCardProps } from './RevertSuccessCard';
23
+ export { default as SegmentReviewPdfWrapper, SegmentPdfSpecialZoomLevel, } from './SegmentReviewPdfWrapper';
24
+ export type { RedirectionData, ReviewConfidence, ReviewConfidenceFilter, ReviewRedirectionType, SegmentReviewActionContext, SegmentReviewPdfWrapperProps, } from './SegmentReviewPdfWrapper';
25
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/SegmentReviewComponents/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,gB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,EACnB,wBAAwB,EACxB,kBAAkB,EAClB,gBAAgB,EAChB,gBAAgB,EAChB,iBAAiB,EACjB,qBAAqB,EACrB,mBAAmB,GACpB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAC;AACrD,YAAY,EACV,kBAAkB,EAClB,eAAe,EACf,UAAU,EACV,WAAW,IAAI,iBAAiB,GACjC,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACnE,YAAY,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAClE,OAAO,EACL,OAAO,IAAI,uBAAuB,EAClC,0BAA0B,GAC3B,MAAM,2BAA2B,CAAC;AACnC,YAAY,EACV,eAAe,EACf,gBAAgB,EAChB,sBAAsB,EACtB,qBAAqB,EACrB,0BAA0B,EAC1B,4BAA4B,GAC7B,MAAM,2BAA2B,CAAC"}
@@ -0,0 +1,4 @@
1
+ export type ReviewScoreBand = 'low' | 'medium' | 'high';
2
+ export declare const getNumericScore: (score?: number | string | null) => number | null;
3
+ export declare const getReviewScoreBand: (score?: number | string | null) => ReviewScoreBand | null;
4
+ //# sourceMappingURL=reviewScore.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reviewScore.d.ts","sourceRoot":"","sources":["../../../../../src/features/SegmentReviewComponents/reviewScore.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,eAAe,GAAG,KAAK,GAAG,QAAQ,GAAG,MAAM,CAAC;AAExD,eAAO,MAAM,eAAe,WAAY,MAAM,GAAG,MAAM,GAAG,IAAI,kBAa7D,CAAC;AAEF,eAAO,MAAM,kBAAkB,WACrB,MAAM,GAAG,MAAM,GAAG,IAAI,KAC7B,eAAe,GAAG,IAUpB,CAAC"}