@viswa-test/test-citation 0.0.378 → 0.0.381

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 (586) 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/CognitiveComparehelpers.js +1 -1
  10. package/dist/cjs/features/CognitiveCompare/CognitivePopup.js +1 -1
  11. package/dist/cjs/features/CognitiveCompare/Guidelines/components/GuidelinePanel.js +1 -1
  12. package/dist/cjs/features/CognitiveCompare/Guidelines/components/WebGptPanel.js +1 -1
  13. package/dist/cjs/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.js +1 -1
  14. package/dist/cjs/features/CognitiveCompare/components/SectionAccordion.js +1 -1
  15. package/dist/cjs/features/CognitiveCompare/components/SubSectionAccordion.js +1 -1
  16. package/dist/cjs/features/CognitiveCompare/hooks/memoizedMarkdown.js +1 -1
  17. package/dist/cjs/features/CognitiveCompare/hooks/useCompareData.js +1 -1
  18. package/dist/cjs/features/CognitiveCompare/hooks/useLinesCalculator.js +1 -1
  19. package/dist/cjs/features/CognitiveCompare/hooks/useSideBySide.js +1 -1
  20. package/dist/cjs/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.js +1 -1
  21. package/dist/cjs/features/GptWebCitation/GptWebCitation.js +1 -1
  22. package/dist/cjs/features/GptWebCitation/GptWebCitationImageCitation.js +1 -1
  23. package/dist/cjs/features/GptWebCitation/utils/fixedHeight.utils.js +1 -1
  24. package/dist/cjs/features/ParentCitationComponent/ParentCitationComponent.js +2 -0
  25. package/dist/cjs/features/ParentCitationComponent/ParentCitationComponent.js.map +1 -0
  26. package/dist/cjs/features/PdfViewer/PdfContainer.js +1 -1
  27. package/dist/cjs/features/PdfViewer/PdfStyle.js +1 -1
  28. package/dist/cjs/features/PdfViewer/PdfToolbar.js +1 -1
  29. package/dist/cjs/features/PdfViewer/PdfViewer.js +1 -1
  30. package/dist/cjs/features/PdfViewer/nyc-components/BoundaryCard.js +2 -0
  31. package/dist/cjs/features/PdfViewer/nyc-components/BoundaryCard.js.map +1 -0
  32. package/dist/cjs/features/PdfViewer/nyc-components/CardWrapper.js +2 -0
  33. package/dist/cjs/features/PdfViewer/nyc-components/CardWrapper.js.map +1 -0
  34. package/dist/cjs/features/PdfViewer/nyc-components/CognitiveIcon.js +2 -0
  35. package/dist/cjs/features/PdfViewer/nyc-components/CognitiveIcon.js.map +1 -0
  36. package/dist/cjs/features/PdfViewer/nyc-components/LabelCheck.js +2 -0
  37. package/dist/cjs/features/PdfViewer/nyc-components/LabelCheck.js.map +1 -0
  38. package/dist/cjs/features/PdfViewer/nyc-components/SegmentReviewPdfWrapper.js +2 -0
  39. package/dist/cjs/features/PdfViewer/nyc-components/SegmentReviewPdfWrapper.js.map +1 -0
  40. package/dist/cjs/features/PdfViewer/nyc-components/infoAlert.js +2 -0
  41. package/dist/cjs/features/PdfViewer/nyc-components/infoAlert.js.map +1 -0
  42. package/dist/cjs/features/PdfViewer/nyc-components/reviewStepAdapters.js +2 -0
  43. package/dist/cjs/features/PdfViewer/nyc-components/reviewStepAdapters.js.map +1 -0
  44. package/dist/cjs/features/PdfViewer/rotationManager.js +2 -0
  45. package/dist/cjs/features/PdfViewer/rotationManager.js.map +1 -0
  46. package/dist/cjs/features/PdfViewer/usePdfHighlight.js +1 -1
  47. package/dist/cjs/features/PromptCitation/CitationDependencyGraph.js +2 -0
  48. package/dist/cjs/features/PromptCitation/CitationDependencyGraph.js.map +1 -0
  49. package/dist/cjs/features/PromptCitation/PromptCitation.js +2 -0
  50. package/dist/cjs/features/PromptCitation/PromptCitation.js.map +1 -0
  51. package/dist/cjs/features/PromptCitation/_components/CodeEditor.js +2 -0
  52. package/dist/cjs/features/PromptCitation/_components/CodeEditor.js.map +1 -0
  53. package/dist/cjs/features/PromptCitation/_components/Markdownrenderer.js +2 -0
  54. package/dist/cjs/features/PromptCitation/_components/Markdownrenderer.js.map +1 -0
  55. package/dist/cjs/features/RequirementAI/components/RequirementAIWrapper/RequirementAIWrapper.js +1 -1
  56. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/plugins/InitialHtml.js +1 -1
  57. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/plugins/ManualNode.js +1 -1
  58. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/plugins/UpdateNode.js +1 -1
  59. package/dist/cjs/features/RequirementAI/components/RichTextEditor/RichTextEditor.js +1 -1
  60. package/dist/cjs/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CitationAnchor.js +1 -1
  61. package/dist/cjs/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CognitiveComponent.js +1 -1
  62. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Popups/DeviationSummary.js +1 -1
  63. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Popups/HistoryMenu.js +1 -1
  64. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Popups/ManualEditPopup.js +1 -1
  65. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Popups/RedlineStatusCard.js +1 -1
  66. package/dist/cjs/features/RequirementAI/components/UserStoryCard/UserStoryCard.js +1 -1
  67. package/dist/cjs/features/RequirementAI/components/UserStoryCard/UserStoryCard.module.css.js +1 -1
  68. package/dist/cjs/features/RequirementAI/components/UserStoryCard/cws/CwsEvent.js +1 -1
  69. package/dist/cjs/features/RequirementAI/components/UserStoryCard/cws/CwsEventProvider.js +1 -1
  70. package/dist/cjs/features/RequirementAI/components/UserStoryCard/cws/SocketManager.js +1 -1
  71. package/dist/cjs/features/RequirementAI/components/UserStoryCard/cws/useCwsEvent.js +1 -1
  72. package/dist/cjs/features/RequirementAI/components/ai-reasoning/AiReasonMarkdownWrapper.js +1 -1
  73. package/dist/cjs/features/RequirementAI/components/ai-reasoning/AiReasoningCitationContent.js +1 -1
  74. package/dist/cjs/features/RequirementAI/components/citations/file-citation/FileCitationContent.js +1 -1
  75. package/dist/cjs/features/RequirementAI/components/citations/file-citation/FileCitationContent.module.css.js +1 -1
  76. package/dist/cjs/features/RequirementAI/components/citations/file-citation/FileCitationRender.js +1 -1
  77. package/dist/cjs/features/RequirementAI/components/citations/readfile-citation/ReadFileCitationContent.js +1 -1
  78. package/dist/cjs/features/RequirementAI/components/lsc-reason-gap/CustomChatCrRedirection.js +1 -1
  79. package/dist/cjs/features/RequirementAI/components/lsc-reason-gap/GapFilterBlock.js +1 -1
  80. package/dist/cjs/features/RequirementAI/components/segment/Segment.js +1 -1
  81. package/dist/cjs/features/RequirementAI/components/segment/SegmentWrapper.js +1 -1
  82. package/dist/cjs/features/RequirementAI/components/userstory-approval-screen/UserStoryApprovalScreen.js +1 -1
  83. package/dist/cjs/features/RequirementAI/components/userstory-with-citation/UserStoryWithCitation.js +1 -1
  84. package/dist/cjs/features/RequirementAI/components/userstory-with-citation/UserStoryWithCitation.module.css.js +1 -1
  85. package/dist/cjs/features/RequirementAI/components/userstory-with-citation/components/InlineUpdatedComponent.js +1 -1
  86. package/dist/cjs/features/RequirementAI/hooks/useStreamContentHandler.js +1 -1
  87. package/dist/cjs/features/RequirementAI/utils/helpers.js +1 -1
  88. package/dist/cjs/features/RequirementAI/utils/proccess-stream.utils.js +1 -1
  89. package/dist/cjs/features/ReviewPanel/ReviewPanel.js +2 -0
  90. package/dist/cjs/features/ReviewPanel/ReviewPanel.js.map +1 -0
  91. package/dist/cjs/features/SegmentReviewComponents/BoundaryCard.js +2 -0
  92. package/dist/cjs/features/SegmentReviewComponents/BoundaryCard.js.map +1 -0
  93. package/dist/cjs/features/SegmentReviewComponents/CardWrapper.js +2 -0
  94. package/dist/cjs/features/SegmentReviewComponents/CardWrapper.js.map +1 -0
  95. package/dist/cjs/features/SegmentReviewComponents/ChartBreakoutCircle.js +2 -0
  96. package/dist/cjs/features/SegmentReviewComponents/ChartBreakoutCircle.js.map +1 -0
  97. package/dist/cjs/features/SegmentReviewComponents/CognitiveIcon.js +2 -0
  98. package/dist/cjs/features/SegmentReviewComponents/CognitiveIcon.js.map +1 -0
  99. package/dist/cjs/features/SegmentReviewComponents/CognitiveIntegrity.js +2 -0
  100. package/dist/cjs/features/SegmentReviewComponents/CognitiveIntegrity.js.map +1 -0
  101. package/dist/cjs/features/SegmentReviewComponents/CognitiveScoreBadge.js +2 -0
  102. package/dist/cjs/features/SegmentReviewComponents/CognitiveScoreBadge.js.map +1 -0
  103. package/dist/cjs/features/SegmentReviewComponents/LabelCheck.js +2 -0
  104. package/dist/cjs/features/SegmentReviewComponents/LabelCheck.js.map +1 -0
  105. package/dist/cjs/features/SegmentReviewComponents/PageCheck.js +2 -0
  106. package/dist/cjs/features/SegmentReviewComponents/PageCheck.js.map +1 -0
  107. package/dist/cjs/features/SegmentReviewComponents/PageTypeChoiceCheck.js +2 -0
  108. package/dist/cjs/features/SegmentReviewComponents/PageTypeChoiceCheck.js.map +1 -0
  109. package/dist/cjs/features/SegmentReviewComponents/RevertCard.js +2 -0
  110. package/dist/cjs/features/SegmentReviewComponents/RevertCard.js.map +1 -0
  111. package/dist/cjs/features/SegmentReviewComponents/RevertSuccessCard.js +2 -0
  112. package/dist/cjs/features/SegmentReviewComponents/RevertSuccessCard.js.map +1 -0
  113. package/dist/cjs/features/SegmentReviewComponents/RevertSummaryNotice.js +2 -0
  114. package/dist/cjs/features/SegmentReviewComponents/RevertSummaryNotice.js.map +1 -0
  115. package/dist/cjs/features/SegmentReviewComponents/ReviewedBoundaryActions.js +2 -0
  116. package/dist/cjs/features/SegmentReviewComponents/ReviewedBoundaryActions.js.map +1 -0
  117. package/dist/cjs/features/SegmentReviewComponents/ReviewedCard.js +2 -0
  118. package/dist/cjs/features/SegmentReviewComponents/ReviewedCard.js.map +1 -0
  119. package/dist/cjs/features/SegmentReviewComponents/SegmentReviewPdfWrapper.js +2 -0
  120. package/dist/cjs/features/SegmentReviewComponents/SegmentReviewPdfWrapper.js.map +1 -0
  121. package/dist/cjs/features/SegmentReviewComponents/helper.js +2 -0
  122. package/dist/cjs/features/SegmentReviewComponents/helper.js.map +1 -0
  123. package/dist/cjs/features/SegmentReviewComponents/reviewScore.js +2 -0
  124. package/dist/cjs/features/SegmentReviewComponents/reviewScore.js.map +1 -0
  125. package/dist/cjs/features/SegmentReviewComponents/reviewStepAdapters.js +2 -0
  126. package/dist/cjs/features/SegmentReviewComponents/reviewStepAdapters.js.map +1 -0
  127. package/dist/cjs/index.js +1 -1
  128. package/dist/cjs/service/redlineService.js +1 -1
  129. package/dist/cjs/utils/tagHelper.js +1 -1
  130. package/dist/features/BPACitationRenderer/BPACitationRenderer.js +1 -1
  131. package/dist/features/CognitiveCompare/CitationAnchor.js +1 -1
  132. package/dist/features/CognitiveCompare/CognitiveCompare.js +1 -1
  133. package/dist/features/CognitiveCompare/CognitiveComparehelpers.js +1 -1
  134. package/dist/features/CognitiveCompare/CognitivePopup.js +1 -1
  135. package/dist/features/CognitiveCompare/Guidelines/components/GuidelinePanel.js +1 -1
  136. package/dist/features/CognitiveCompare/Guidelines/components/WebGptPanel.js +1 -1
  137. package/dist/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.js +1 -1
  138. package/dist/features/CognitiveCompare/components/SectionAccordion.js +1 -1
  139. package/dist/features/CognitiveCompare/components/SubSectionAccordion.js +1 -1
  140. package/dist/features/CognitiveCompare/hooks/memoizedMarkdown.js +1 -1
  141. package/dist/features/CognitiveCompare/hooks/useCompareData.js +1 -1
  142. package/dist/features/CognitiveCompare/hooks/useLinesCalculator.js +1 -1
  143. package/dist/features/CognitiveCompare/hooks/useSideBySide.js +1 -1
  144. package/dist/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.js +1 -1
  145. package/dist/features/GptWebCitation/GptWebCitation.js +1 -1
  146. package/dist/features/GptWebCitation/GptWebCitationImageCitation.js +1 -1
  147. package/dist/features/GptWebCitation/utils/fixedHeight.utils.js +1 -1
  148. package/dist/features/ParentCitationComponent/ParentCitationComponent.js +2 -0
  149. package/dist/features/ParentCitationComponent/ParentCitationComponent.js.map +1 -0
  150. package/dist/features/PdfViewer/PdfContainer.js +1 -1
  151. package/dist/features/PdfViewer/PdfStyle.js +1 -1
  152. package/dist/features/PdfViewer/PdfToolbar.js +1 -1
  153. package/dist/features/PdfViewer/PdfViewer.js +1 -1
  154. package/dist/features/PdfViewer/nyc-components/BoundaryCard.js +2 -0
  155. package/dist/features/PdfViewer/nyc-components/BoundaryCard.js.map +1 -0
  156. package/dist/features/PdfViewer/nyc-components/CardWrapper.js +2 -0
  157. package/dist/features/PdfViewer/nyc-components/CardWrapper.js.map +1 -0
  158. package/dist/features/PdfViewer/nyc-components/CognitiveIcon.js +2 -0
  159. package/dist/features/PdfViewer/nyc-components/CognitiveIcon.js.map +1 -0
  160. package/dist/features/PdfViewer/nyc-components/LabelCheck.js +2 -0
  161. package/dist/features/PdfViewer/nyc-components/LabelCheck.js.map +1 -0
  162. package/dist/features/PdfViewer/nyc-components/SegmentReviewPdfWrapper.js +2 -0
  163. package/dist/features/PdfViewer/nyc-components/SegmentReviewPdfWrapper.js.map +1 -0
  164. package/dist/features/PdfViewer/nyc-components/infoAlert.js +2 -0
  165. package/dist/features/PdfViewer/nyc-components/infoAlert.js.map +1 -0
  166. package/dist/features/PdfViewer/nyc-components/reviewStepAdapters.js +2 -0
  167. package/dist/features/PdfViewer/nyc-components/reviewStepAdapters.js.map +1 -0
  168. package/dist/features/PdfViewer/rotationManager.js +2 -0
  169. package/dist/features/PdfViewer/rotationManager.js.map +1 -0
  170. package/dist/features/PdfViewer/usePdfHighlight.js +1 -1
  171. package/dist/features/PromptCitation/CitationDependencyGraph.js +2 -0
  172. package/dist/features/PromptCitation/CitationDependencyGraph.js.map +1 -0
  173. package/dist/features/PromptCitation/PromptCitation.js +2 -0
  174. package/dist/features/PromptCitation/PromptCitation.js.map +1 -0
  175. package/dist/features/PromptCitation/_components/CodeEditor.js +2 -0
  176. package/dist/features/PromptCitation/_components/CodeEditor.js.map +1 -0
  177. package/dist/features/PromptCitation/_components/Markdownrenderer.js +2 -0
  178. package/dist/features/PromptCitation/_components/Markdownrenderer.js.map +1 -0
  179. package/dist/features/RequirementAI/components/RequirementAIWrapper/RequirementAIWrapper.js +1 -1
  180. package/dist/features/RequirementAI/components/RichTextEditor/Editor/plugins/InitialHtml.js +1 -1
  181. package/dist/features/RequirementAI/components/RichTextEditor/Editor/plugins/ManualNode.js +1 -1
  182. package/dist/features/RequirementAI/components/RichTextEditor/Editor/plugins/UpdateNode.js +1 -1
  183. package/dist/features/RequirementAI/components/RichTextEditor/RichTextEditor.js +1 -1
  184. package/dist/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CitationAnchor.js +1 -1
  185. package/dist/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CognitiveComponent.js +1 -1
  186. package/dist/features/RequirementAI/components/UserStoryCard/Popups/DeviationSummary.js +1 -1
  187. package/dist/features/RequirementAI/components/UserStoryCard/Popups/HistoryMenu.js +1 -1
  188. package/dist/features/RequirementAI/components/UserStoryCard/Popups/ManualEditPopup.js +1 -1
  189. package/dist/features/RequirementAI/components/UserStoryCard/Popups/RedlineStatusCard.js +1 -1
  190. package/dist/features/RequirementAI/components/UserStoryCard/UserStoryCard.js +1 -1
  191. package/dist/features/RequirementAI/components/UserStoryCard/UserStoryCard.module.css.js +1 -1
  192. package/dist/features/RequirementAI/components/UserStoryCard/cws/CwsEvent.js +1 -1
  193. package/dist/features/RequirementAI/components/UserStoryCard/cws/CwsEventProvider.js +1 -1
  194. package/dist/features/RequirementAI/components/UserStoryCard/cws/SocketManager.js +1 -1
  195. package/dist/features/RequirementAI/components/UserStoryCard/cws/useCwsEvent.js +1 -1
  196. package/dist/features/RequirementAI/components/ai-reasoning/AiReasonMarkdownWrapper.js +1 -1
  197. package/dist/features/RequirementAI/components/ai-reasoning/AiReasoningCitationContent.js +1 -1
  198. package/dist/features/RequirementAI/components/citations/file-citation/FileCitationContent.js +1 -1
  199. package/dist/features/RequirementAI/components/citations/file-citation/FileCitationContent.module.css.js +1 -1
  200. package/dist/features/RequirementAI/components/citations/file-citation/FileCitationRender.js +1 -1
  201. package/dist/features/RequirementAI/components/citations/readfile-citation/ReadFileCitationContent.js +1 -1
  202. package/dist/features/RequirementAI/components/lsc-reason-gap/CustomChatCrRedirection.js +1 -1
  203. package/dist/features/RequirementAI/components/lsc-reason-gap/GapFilterBlock.js +1 -1
  204. package/dist/features/RequirementAI/components/segment/Segment.js +1 -1
  205. package/dist/features/RequirementAI/components/segment/SegmentWrapper.js +1 -1
  206. package/dist/features/RequirementAI/components/userstory-approval-screen/UserStoryApprovalScreen.js +1 -1
  207. package/dist/features/RequirementAI/components/userstory-with-citation/UserStoryWithCitation.js +1 -1
  208. package/dist/features/RequirementAI/components/userstory-with-citation/UserStoryWithCitation.module.css.js +1 -1
  209. package/dist/features/RequirementAI/components/userstory-with-citation/components/InlineUpdatedComponent.js +1 -1
  210. package/dist/features/RequirementAI/hooks/useStreamContentHandler.js +1 -1
  211. package/dist/features/RequirementAI/utils/helpers.js +1 -1
  212. package/dist/features/RequirementAI/utils/proccess-stream.utils.js +1 -1
  213. package/dist/features/ReviewPanel/ReviewPanel.js +2 -0
  214. package/dist/features/ReviewPanel/ReviewPanel.js.map +1 -0
  215. package/dist/features/SegmentReviewComponents/BoundaryCard.js +2 -0
  216. package/dist/features/SegmentReviewComponents/BoundaryCard.js.map +1 -0
  217. package/dist/features/SegmentReviewComponents/CardWrapper.js +2 -0
  218. package/dist/features/SegmentReviewComponents/CardWrapper.js.map +1 -0
  219. package/dist/features/SegmentReviewComponents/ChartBreakoutCircle.js +2 -0
  220. package/dist/features/SegmentReviewComponents/ChartBreakoutCircle.js.map +1 -0
  221. package/dist/features/SegmentReviewComponents/CognitiveIcon.js +2 -0
  222. package/dist/features/SegmentReviewComponents/CognitiveIcon.js.map +1 -0
  223. package/dist/features/SegmentReviewComponents/CognitiveIntegrity.js +2 -0
  224. package/dist/features/SegmentReviewComponents/CognitiveIntegrity.js.map +1 -0
  225. package/dist/features/SegmentReviewComponents/CognitiveScoreBadge.js +2 -0
  226. package/dist/features/SegmentReviewComponents/CognitiveScoreBadge.js.map +1 -0
  227. package/dist/features/SegmentReviewComponents/LabelCheck.js +2 -0
  228. package/dist/features/SegmentReviewComponents/LabelCheck.js.map +1 -0
  229. package/dist/features/SegmentReviewComponents/PageCheck.js +2 -0
  230. package/dist/features/SegmentReviewComponents/PageCheck.js.map +1 -0
  231. package/dist/features/SegmentReviewComponents/PageTypeChoiceCheck.js +2 -0
  232. package/dist/features/SegmentReviewComponents/PageTypeChoiceCheck.js.map +1 -0
  233. package/dist/features/SegmentReviewComponents/RevertCard.js +2 -0
  234. package/dist/features/SegmentReviewComponents/RevertCard.js.map +1 -0
  235. package/dist/features/SegmentReviewComponents/RevertSuccessCard.js +2 -0
  236. package/dist/features/SegmentReviewComponents/RevertSuccessCard.js.map +1 -0
  237. package/dist/features/SegmentReviewComponents/RevertSummaryNotice.js +2 -0
  238. package/dist/features/SegmentReviewComponents/RevertSummaryNotice.js.map +1 -0
  239. package/dist/features/SegmentReviewComponents/ReviewedBoundaryActions.js +2 -0
  240. package/dist/features/SegmentReviewComponents/ReviewedBoundaryActions.js.map +1 -0
  241. package/dist/features/SegmentReviewComponents/ReviewedCard.js +2 -0
  242. package/dist/features/SegmentReviewComponents/ReviewedCard.js.map +1 -0
  243. package/dist/features/SegmentReviewComponents/SegmentReviewPdfWrapper.js +2 -0
  244. package/dist/features/SegmentReviewComponents/SegmentReviewPdfWrapper.js.map +1 -0
  245. package/dist/features/SegmentReviewComponents/helper.js +2 -0
  246. package/dist/features/SegmentReviewComponents/helper.js.map +1 -0
  247. package/dist/features/SegmentReviewComponents/reviewScore.js +2 -0
  248. package/dist/features/SegmentReviewComponents/reviewScore.js.map +1 -0
  249. package/dist/features/SegmentReviewComponents/reviewStepAdapters.js +2 -0
  250. package/dist/features/SegmentReviewComponents/reviewStepAdapters.js.map +1 -0
  251. package/dist/index.js +1 -1
  252. package/dist/service/redlineService.js +1 -1
  253. package/dist/types/src/CitationDependencyGraphTest.d.ts +4 -0
  254. package/dist/types/src/CitationDependencyGraphTest.d.ts.map +1 -0
  255. package/dist/types/src/RedlineApprovalCardTest.d.ts +1 -0
  256. package/dist/types/src/RedlineApprovalCardTest.d.ts.map +1 -0
  257. package/dist/types/src/RedlineEditorTest.d.ts.map +1 -1
  258. package/dist/types/src/RedlineEditorTest2.d.ts +3 -0
  259. package/dist/types/src/RedlineEditorTest2.d.ts.map +1 -0
  260. package/dist/types/src/RequirementAiTest.d.ts.map +1 -1
  261. package/dist/types/src/assests/icons/ChartSplitIcon.d.ts +3 -0
  262. package/dist/types/src/assests/icons/ChartSplitIcon.d.ts.map +1 -0
  263. package/dist/types/src/assests/icons/InfoAlert.d.ts +3 -0
  264. package/dist/types/src/assests/icons/InfoAlert.d.ts.map +1 -0
  265. package/dist/types/src/commonConstants.d.ts +31103 -0
  266. package/dist/types/src/commonConstants.d.ts.map +1 -0
  267. package/dist/types/src/features/BPACitationRenderer/BPACitationRenderer.d.ts.map +1 -1
  268. package/dist/types/src/features/BPACitationRenderer/BPACitationRenderer.types.d.ts +1 -0
  269. package/dist/types/src/features/BPACitationRenderer/BPACitationRenderer.types.d.ts.map +1 -1
  270. package/dist/types/src/features/CognitiveCompare/CitationAnchor.d.ts.map +1 -1
  271. package/dist/types/src/features/CognitiveCompare/CognitiveCompare.d.ts +1 -1
  272. package/dist/types/src/features/CognitiveCompare/CognitiveCompare.d.ts.map +1 -1
  273. package/dist/types/src/features/CognitiveCompare/CognitiveCompareTypes.d.ts +1 -1
  274. package/dist/types/src/features/CognitiveCompare/CognitiveCompareTypes.d.ts.map +1 -1
  275. package/dist/types/src/features/CognitiveCompare/CognitiveComparehelpers.d.ts +0 -12
  276. package/dist/types/src/features/CognitiveCompare/CognitiveComparehelpers.d.ts.map +1 -1
  277. package/dist/types/src/features/CognitiveCompare/Guidelines/components/GuidelinePanel.d.ts.map +1 -1
  278. package/dist/types/src/features/CognitiveCompare/Guidelines/components/WebGptPanel.d.ts.map +1 -1
  279. package/dist/types/src/features/CognitiveCompare/Guidelines/constants/guidelines.mockData.d.ts +456 -11335
  280. package/dist/types/src/features/CognitiveCompare/Guidelines/constants/guidelines.mockData.d.ts.map +1 -1
  281. package/dist/types/src/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.d.ts +1 -14
  282. package/dist/types/src/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.d.ts.map +1 -1
  283. package/dist/types/src/features/CognitiveCompare/components/SectionAccordion.d.ts.map +1 -1
  284. package/dist/types/src/features/CognitiveCompare/components/SubSectionAccordion.d.ts.map +1 -1
  285. package/dist/types/src/features/CognitiveCompare/hooks/memoizedMarkdown.d.ts +1 -2
  286. package/dist/types/src/features/CognitiveCompare/hooks/memoizedMarkdown.d.ts.map +1 -1
  287. package/dist/types/src/features/CognitiveCompare/hooks/useCompareData.d.ts +1 -1
  288. package/dist/types/src/features/CognitiveCompare/hooks/useCompareData.d.ts.map +1 -1
  289. package/dist/types/src/features/CognitiveCompare/hooks/useLinesCalculator.d.ts.map +1 -1
  290. package/dist/types/src/features/CognitiveCompare/hooks/useSideBySide.d.ts.map +1 -1
  291. package/dist/types/src/features/CognitiveCompare/utils/buildComparisonRows.test.d.ts +2 -0
  292. package/dist/types/src/features/CognitiveCompare/utils/buildComparisonRows.test.d.ts.map +1 -0
  293. package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.d.ts +0 -1
  294. package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.d.ts.map +1 -1
  295. package/dist/types/src/features/GptWebCitation/GptWebCitation.d.ts.map +1 -1
  296. package/dist/types/src/features/GptWebCitation/GptWebCitationImageCitation.d.ts +1 -2
  297. package/dist/types/src/features/GptWebCitation/GptWebCitationImageCitation.d.ts.map +1 -1
  298. package/dist/types/src/features/GptWebCitation/types.d.ts +0 -11
  299. package/dist/types/src/features/GptWebCitation/types.d.ts.map +1 -1
  300. package/dist/types/src/features/GptWebCitation/utils/fixedHeight.utils.d.ts +0 -2
  301. package/dist/types/src/features/GptWebCitation/utils/fixedHeight.utils.d.ts.map +1 -1
  302. package/dist/types/src/features/ParentCitationComponent/ParentCitationComponent.d.ts +128 -0
  303. package/dist/types/src/features/ParentCitationComponent/ParentCitationComponent.d.ts.map +1 -0
  304. package/dist/types/src/features/ParentCitationComponent/ParentCitationComponentTest.d.ts +13 -0
  305. package/dist/types/src/features/ParentCitationComponent/ParentCitationComponentTest.d.ts.map +1 -0
  306. package/dist/types/src/features/PdfViewer/PdfContainer.d.ts +4 -2
  307. package/dist/types/src/features/PdfViewer/PdfContainer.d.ts.map +1 -1
  308. package/dist/types/src/features/PdfViewer/PdfStyle.d.ts.map +1 -1
  309. package/dist/types/src/features/PdfViewer/PdfToolbar.d.ts +4 -1
  310. package/dist/types/src/features/PdfViewer/PdfToolbar.d.ts.map +1 -1
  311. package/dist/types/src/features/PdfViewer/PdfViewer.d.ts +19 -2
  312. package/dist/types/src/features/PdfViewer/PdfViewer.d.ts.map +1 -1
  313. package/dist/types/src/features/PdfViewer/coordinateTransformer.d.ts +41 -0
  314. package/dist/types/src/features/PdfViewer/coordinateTransformer.d.ts.map +1 -0
  315. package/dist/types/src/features/PdfViewer/nyc-components/BoundaryCard.d.ts +59 -0
  316. package/dist/types/src/features/PdfViewer/nyc-components/BoundaryCard.d.ts.map +1 -0
  317. package/dist/types/src/features/PdfViewer/nyc-components/CardWrapper.d.ts +19 -0
  318. package/dist/types/src/features/PdfViewer/nyc-components/CardWrapper.d.ts.map +1 -0
  319. package/dist/types/src/features/PdfViewer/nyc-components/CognitiveIcon.d.ts +3 -0
  320. package/dist/types/src/features/PdfViewer/nyc-components/CognitiveIcon.d.ts.map +1 -0
  321. package/dist/types/src/features/PdfViewer/nyc-components/LabelCheck.d.ts +77 -0
  322. package/dist/types/src/features/PdfViewer/nyc-components/LabelCheck.d.ts.map +1 -0
  323. package/dist/types/src/features/PdfViewer/nyc-components/SegmentReviewPdfWrapper.d.ts +47 -0
  324. package/dist/types/src/features/PdfViewer/nyc-components/SegmentReviewPdfWrapper.d.ts.map +1 -0
  325. package/dist/types/src/features/PdfViewer/nyc-components/index.d.ts +15 -0
  326. package/dist/types/src/features/PdfViewer/nyc-components/index.d.ts.map +1 -0
  327. package/dist/types/src/features/PdfViewer/nyc-components/infoAlert.d.ts +3 -0
  328. package/dist/types/src/features/PdfViewer/nyc-components/infoAlert.d.ts.map +1 -0
  329. package/dist/types/src/features/PdfViewer/nyc-components/reviewStepAdapters.d.ts +36 -0
  330. package/dist/types/src/features/PdfViewer/nyc-components/reviewStepAdapters.d.ts.map +1 -0
  331. package/dist/types/src/features/PdfViewer/rotationManager.d.ts +23 -0
  332. package/dist/types/src/features/PdfViewer/rotationManager.d.ts.map +1 -0
  333. package/dist/types/src/features/PdfViewer/usePdfHighlight.d.ts +1 -0
  334. package/dist/types/src/features/PdfViewer/usePdfHighlight.d.ts.map +1 -1
  335. package/dist/types/src/features/PromptCitation/CitationDependencyGraph.d.ts +56 -0
  336. package/dist/types/src/features/PromptCitation/CitationDependencyGraph.d.ts.map +1 -0
  337. package/dist/types/src/features/PromptCitation/PromptCitation.d.ts +326 -0
  338. package/dist/types/src/features/PromptCitation/PromptCitation.d.ts.map +1 -0
  339. package/dist/types/src/features/PromptCitation/PromptCitationTest.d.ts +4 -0
  340. package/dist/types/src/features/PromptCitation/PromptCitationTest.d.ts.map +1 -0
  341. package/dist/types/src/features/PromptCitation/_components/CodeEditor.d.ts +30 -0
  342. package/dist/types/src/features/PromptCitation/_components/CodeEditor.d.ts.map +1 -0
  343. package/dist/types/src/features/PromptCitation/_components/HighlightedCodeDetails.d.ts +16 -0
  344. package/dist/types/src/features/PromptCitation/_components/HighlightedCodeDetails.d.ts.map +1 -0
  345. package/dist/types/src/features/PromptCitation/_components/Markdownrenderer.d.ts +23 -0
  346. package/dist/types/src/features/PromptCitation/_components/Markdownrenderer.d.ts.map +1 -0
  347. package/dist/types/src/features/PromptCitation/_components/ThemeToggle.d.ts +12 -0
  348. package/dist/types/src/features/PromptCitation/_components/ThemeToggle.d.ts.map +1 -0
  349. package/dist/types/src/features/PromptCitation/_components/TooltipComponent.d.ts +8 -0
  350. package/dist/types/src/features/PromptCitation/_components/TooltipComponent.d.ts.map +1 -0
  351. package/dist/types/src/features/RequirementAI/components/RequirementAIWrapper/RequirementAIWrapper.d.ts +29 -39
  352. package/dist/types/src/features/RequirementAI/components/RequirementAIWrapper/RequirementAIWrapper.d.ts.map +1 -1
  353. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/InitialHtml.d.ts.map +1 -1
  354. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/ManualNode.d.ts +0 -2
  355. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/ManualNode.d.ts.map +1 -1
  356. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/UpdateNode.d.ts +0 -2
  357. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/UpdateNode.d.ts.map +1 -1
  358. package/dist/types/src/features/RequirementAI/components/RichTextEditor/RichTextEditor.d.ts.map +1 -1
  359. package/dist/types/src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CitationAnchor.d.ts.map +1 -1
  360. package/dist/types/src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CognitiveComponent.d.ts +1 -1
  361. package/dist/types/src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CognitiveComponent.d.ts.map +1 -1
  362. package/dist/types/src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/userstory.mock.data.d.ts +5439 -84
  363. package/dist/types/src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/userstory.mock.data.d.ts.map +1 -1
  364. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/DeviationSummary.d.ts +1 -1
  365. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/DeviationSummary.d.ts.map +1 -1
  366. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/ManualEditPopup.d.ts +1 -1
  367. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/ManualEditPopup.d.ts.map +1 -1
  368. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/RedlineStatusCard.d.ts +2 -2
  369. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/RedlineStatusCard.d.ts.map +1 -1
  370. package/dist/types/src/features/RequirementAI/components/UserStoryCard/UserStoryCard.d.ts +2 -20
  371. package/dist/types/src/features/RequirementAI/components/UserStoryCard/UserStoryCard.d.ts.map +1 -1
  372. package/dist/types/src/features/RequirementAI/components/UserStoryCard/cws/CwsEvent.d.ts +2 -7
  373. package/dist/types/src/features/RequirementAI/components/UserStoryCard/cws/CwsEvent.d.ts.map +1 -1
  374. package/dist/types/src/features/RequirementAI/components/UserStoryCard/cws/CwsEventProvider.d.ts.map +1 -1
  375. package/dist/types/src/features/RequirementAI/components/UserStoryCard/cws/SocketManager.d.ts +1 -15
  376. package/dist/types/src/features/RequirementAI/components/UserStoryCard/cws/SocketManager.d.ts.map +1 -1
  377. package/dist/types/src/features/RequirementAI/components/UserStoryCard/cws/useCwsEvent.d.ts +1 -2
  378. package/dist/types/src/features/RequirementAI/components/UserStoryCard/cws/useCwsEvent.d.ts.map +1 -1
  379. package/dist/types/src/features/RequirementAI/components/ai-reasoning/AiReasonMarkdownWrapper.d.ts +2 -3
  380. package/dist/types/src/features/RequirementAI/components/ai-reasoning/AiReasonMarkdownWrapper.d.ts.map +1 -1
  381. package/dist/types/src/features/RequirementAI/components/ai-reasoning/AiReasoningCitationContent.d.ts.map +1 -1
  382. package/dist/types/src/features/RequirementAI/components/citations/file-citation/FileCitationContent.d.ts +0 -1
  383. package/dist/types/src/features/RequirementAI/components/citations/file-citation/FileCitationContent.d.ts.map +1 -1
  384. package/dist/types/src/features/RequirementAI/components/citations/file-citation/FileCitationRender.d.ts +0 -1
  385. package/dist/types/src/features/RequirementAI/components/citations/file-citation/FileCitationRender.d.ts.map +1 -1
  386. package/dist/types/src/features/RequirementAI/components/citations/readfile-citation/ReadFileCitationContent.d.ts.map +1 -1
  387. package/dist/types/src/features/RequirementAI/components/lsc-reason-gap/CustomChatCrRedirection.d.ts +2 -3
  388. package/dist/types/src/features/RequirementAI/components/lsc-reason-gap/CustomChatCrRedirection.d.ts.map +1 -1
  389. package/dist/types/src/features/RequirementAI/components/lsc-reason-gap/GapFilterBlock.d.ts +1 -1
  390. package/dist/types/src/features/RequirementAI/components/lsc-reason-gap/GapFilterBlock.d.ts.map +1 -1
  391. package/dist/types/src/features/RequirementAI/components/segment/Segment.d.ts +1 -3
  392. package/dist/types/src/features/RequirementAI/components/segment/Segment.d.ts.map +1 -1
  393. package/dist/types/src/features/RequirementAI/components/segment/SegmentWrapper.d.ts +1 -2
  394. package/dist/types/src/features/RequirementAI/components/segment/SegmentWrapper.d.ts.map +1 -1
  395. package/dist/types/src/features/RequirementAI/components/userstory-approval-screen/UserStoryApprovalContext.d.ts +0 -1
  396. package/dist/types/src/features/RequirementAI/components/userstory-approval-screen/UserStoryApprovalContext.d.ts.map +1 -1
  397. package/dist/types/src/features/RequirementAI/components/userstory-approval-screen/UserStoryApprovalScreen.d.ts +0 -2
  398. package/dist/types/src/features/RequirementAI/components/userstory-approval-screen/UserStoryApprovalScreen.d.ts.map +1 -1
  399. package/dist/types/src/features/RequirementAI/components/userstory-with-citation/UserStoryWithCitation.d.ts +1 -2
  400. package/dist/types/src/features/RequirementAI/components/userstory-with-citation/UserStoryWithCitation.d.ts.map +1 -1
  401. package/dist/types/src/features/RequirementAI/components/userstory-with-citation/components/InlineUpdatedComponent.d.ts +1 -2
  402. package/dist/types/src/features/RequirementAI/components/userstory-with-citation/components/InlineUpdatedComponent.d.ts.map +1 -1
  403. package/dist/types/src/features/RequirementAI/hooks/useStreamContentHandler.d.ts +1 -1
  404. package/dist/types/src/features/RequirementAI/hooks/useStreamContentHandler.d.ts.map +1 -1
  405. package/dist/types/src/features/RequirementAI/interfaces/userstory.interface.d.ts +0 -2
  406. package/dist/types/src/features/RequirementAI/interfaces/userstory.interface.d.ts.map +1 -1
  407. package/dist/types/src/features/RequirementAI/types/aiReasoning.type.d.ts +0 -7
  408. package/dist/types/src/features/RequirementAI/types/aiReasoning.type.d.ts.map +1 -1
  409. package/dist/types/src/features/RequirementAI/types/segment.type.d.ts +1 -2
  410. package/dist/types/src/features/RequirementAI/types/segment.type.d.ts.map +1 -1
  411. package/dist/types/src/features/RequirementAI/utils/helpers.d.ts +0 -2
  412. package/dist/types/src/features/RequirementAI/utils/helpers.d.ts.map +1 -1
  413. package/dist/types/src/features/RequirementAI/utils/proccess-stream.utils.d.ts.map +1 -1
  414. package/dist/types/src/features/SegmentReviewComponents/BoundaryCard.d.ts +85 -0
  415. package/dist/types/src/features/SegmentReviewComponents/BoundaryCard.d.ts.map +1 -0
  416. package/dist/types/src/features/SegmentReviewComponents/CardWrapper.d.ts +26 -0
  417. package/dist/types/src/features/SegmentReviewComponents/CardWrapper.d.ts.map +1 -0
  418. package/dist/types/src/features/SegmentReviewComponents/ChartBreakoutCircle.d.ts +3 -0
  419. package/dist/types/src/features/SegmentReviewComponents/ChartBreakoutCircle.d.ts.map +1 -0
  420. package/dist/types/src/features/SegmentReviewComponents/CognitiveIcon.d.ts +3 -0
  421. package/dist/types/src/features/SegmentReviewComponents/CognitiveIcon.d.ts.map +1 -0
  422. package/dist/types/src/features/SegmentReviewComponents/CognitiveIntegrity.d.ts +33 -0
  423. package/dist/types/src/features/SegmentReviewComponents/CognitiveIntegrity.d.ts.map +1 -0
  424. package/dist/types/src/features/SegmentReviewComponents/CognitiveScoreBadge.d.ts +7 -0
  425. package/dist/types/src/features/SegmentReviewComponents/CognitiveScoreBadge.d.ts.map +1 -0
  426. package/dist/types/src/features/SegmentReviewComponents/LabelCheck.d.ts +87 -0
  427. package/dist/types/src/features/SegmentReviewComponents/LabelCheck.d.ts.map +1 -0
  428. package/dist/types/src/features/SegmentReviewComponents/PageCheck.d.ts +57 -0
  429. package/dist/types/src/features/SegmentReviewComponents/PageCheck.d.ts.map +1 -0
  430. package/dist/types/src/features/SegmentReviewComponents/PageTypeChoiceCheck.d.ts +28 -0
  431. package/dist/types/src/features/SegmentReviewComponents/PageTypeChoiceCheck.d.ts.map +1 -0
  432. package/dist/types/src/features/SegmentReviewComponents/RevertCard.d.ts +37 -0
  433. package/dist/types/src/features/SegmentReviewComponents/RevertCard.d.ts.map +1 -0
  434. package/dist/types/src/features/SegmentReviewComponents/RevertSuccessCard.d.ts +9 -0
  435. package/dist/types/src/features/SegmentReviewComponents/RevertSuccessCard.d.ts.map +1 -0
  436. package/dist/types/src/features/SegmentReviewComponents/RevertSummaryNotice.d.ts +7 -0
  437. package/dist/types/src/features/SegmentReviewComponents/RevertSummaryNotice.d.ts.map +1 -0
  438. package/dist/types/src/features/SegmentReviewComponents/ReviewedBoundaryActions.d.ts +17 -0
  439. package/dist/types/src/features/SegmentReviewComponents/ReviewedBoundaryActions.d.ts.map +1 -0
  440. package/dist/types/src/features/SegmentReviewComponents/ReviewedCard.d.ts +33 -0
  441. package/dist/types/src/features/SegmentReviewComponents/ReviewedCard.d.ts.map +1 -0
  442. package/dist/types/src/features/SegmentReviewComponents/SegmentReviewPdfWrapper.d.ts +124 -0
  443. package/dist/types/src/features/SegmentReviewComponents/SegmentReviewPdfWrapper.d.ts.map +1 -0
  444. package/dist/types/src/features/SegmentReviewComponents/SegmentReviewRedirectionTest.d.ts +13 -0
  445. package/dist/types/src/features/SegmentReviewComponents/SegmentReviewRedirectionTest.d.ts.map +1 -0
  446. package/dist/types/src/features/SegmentReviewComponents/helper.d.ts +51 -0
  447. package/dist/types/src/features/SegmentReviewComponents/helper.d.ts.map +1 -0
  448. package/dist/types/src/features/SegmentReviewComponents/helper.test.d.ts +2 -0
  449. package/dist/types/src/features/SegmentReviewComponents/helper.test.d.ts.map +1 -0
  450. package/dist/types/src/features/SegmentReviewComponents/index.d.ts +25 -0
  451. package/dist/types/src/features/SegmentReviewComponents/index.d.ts.map +1 -0
  452. package/dist/types/src/features/SegmentReviewComponents/reviewScore.d.ts +4 -0
  453. package/dist/types/src/features/SegmentReviewComponents/reviewScore.d.ts.map +1 -0
  454. package/dist/types/src/features/SegmentReviewComponents/reviewStepAdapters.d.ts +243 -0
  455. package/dist/types/src/features/SegmentReviewComponents/reviewStepAdapters.d.ts.map +1 -0
  456. package/dist/types/src/features/SegmentReviewComponents/segmentReviewEdgeCases.test.d.ts +2 -0
  457. package/dist/types/src/features/SegmentReviewComponents/segmentReviewEdgeCases.test.d.ts.map +1 -0
  458. package/dist/types/src/index.d.ts +8 -0
  459. package/dist/types/src/index.d.ts.map +1 -1
  460. package/dist/types/src/service/redlineService.d.ts.map +1 -1
  461. package/dist/types/src/utils/tagHelper.d.ts +0 -9
  462. package/dist/types/src/utils/tagHelper.d.ts.map +1 -1
  463. package/dist/utils/tagHelper.js +1 -1
  464. package/package.json +12 -2
  465. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/constants/updateTags.js +0 -2
  466. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/constants/updateTags.js.map +0 -1
  467. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/plugins/ProtectTableCellBoundaries.js +0 -2
  468. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/plugins/ProtectTableCellBoundaries.js.map +0 -1
  469. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/manualEditSerialization.js +0 -2
  470. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/manualEditSerialization.js.map +0 -1
  471. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/normalizeRedlineMarkdown.js +0 -2
  472. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/normalizeRedlineMarkdown.js.map +0 -1
  473. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownEmphasis.js +0 -2
  474. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownEmphasis.js.map +0 -1
  475. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownLineBreaks.js +0 -2
  476. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownLineBreaks.js.map +0 -1
  477. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownListFormatting.js +0 -2
  478. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownListFormatting.js.map +0 -1
  479. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveReviewBoundaryWhitespace.js +0 -2
  480. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveReviewBoundaryWhitespace.js.map +0 -1
  481. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveTableDelimiters.js +0 -2
  482. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveTableDelimiters.js.map +0 -1
  483. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/tableBoundaryRedlines.js +0 -2
  484. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/tableBoundaryRedlines.js.map +0 -1
  485. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/Avatar.css.js +0 -2
  486. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/Avatar.css.js.map +0 -1
  487. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/Avatar.js +0 -2
  488. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/Avatar.js.map +0 -1
  489. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsGroup.css.js +0 -2
  490. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsGroup.css.js.map +0 -1
  491. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsGroup.js +0 -2
  492. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsGroup.js.map +0 -1
  493. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsPopup.css.js +0 -2
  494. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsPopup.css.js.map +0 -1
  495. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsPopup.js +0 -2
  496. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsPopup.js.map +0 -1
  497. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/avatarUtils.js +0 -2
  498. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/avatarUtils.js.map +0 -1
  499. package/dist/cjs/features/RequirementAI/components/userstory-with-citation/utils/inlineMarkdown.js +0 -2
  500. package/dist/cjs/features/RequirementAI/components/userstory-with-citation/utils/inlineMarkdown.js.map +0 -1
  501. package/dist/cjs/features/RequirementAI/utils/exponential-retry.js +0 -2
  502. package/dist/cjs/features/RequirementAI/utils/exponential-retry.js.map +0 -1
  503. package/dist/features/RequirementAI/components/RichTextEditor/Editor/constants/updateTags.js +0 -2
  504. package/dist/features/RequirementAI/components/RichTextEditor/Editor/constants/updateTags.js.map +0 -1
  505. package/dist/features/RequirementAI/components/RichTextEditor/Editor/plugins/ProtectTableCellBoundaries.js +0 -2
  506. package/dist/features/RequirementAI/components/RichTextEditor/Editor/plugins/ProtectTableCellBoundaries.js.map +0 -1
  507. package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/manualEditSerialization.js +0 -2
  508. package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/manualEditSerialization.js.map +0 -1
  509. package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/normalizeRedlineMarkdown.js +0 -2
  510. package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/normalizeRedlineMarkdown.js.map +0 -1
  511. package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownEmphasis.js +0 -2
  512. package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownEmphasis.js.map +0 -1
  513. package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownLineBreaks.js +0 -2
  514. package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownLineBreaks.js.map +0 -1
  515. package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownListFormatting.js +0 -2
  516. package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownListFormatting.js.map +0 -1
  517. package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveReviewBoundaryWhitespace.js +0 -2
  518. package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveReviewBoundaryWhitespace.js.map +0 -1
  519. package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveTableDelimiters.js +0 -2
  520. package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveTableDelimiters.js.map +0 -1
  521. package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/tableBoundaryRedlines.js +0 -2
  522. package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/tableBoundaryRedlines.js.map +0 -1
  523. package/dist/features/RequirementAI/components/UserStoryCard/Avatar/Avatar.css.js +0 -2
  524. package/dist/features/RequirementAI/components/UserStoryCard/Avatar/Avatar.css.js.map +0 -1
  525. package/dist/features/RequirementAI/components/UserStoryCard/Avatar/Avatar.js +0 -2
  526. package/dist/features/RequirementAI/components/UserStoryCard/Avatar/Avatar.js.map +0 -1
  527. package/dist/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsGroup.css.js +0 -2
  528. package/dist/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsGroup.css.js.map +0 -1
  529. package/dist/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsGroup.js +0 -2
  530. package/dist/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsGroup.js.map +0 -1
  531. package/dist/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsPopup.css.js +0 -2
  532. package/dist/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsPopup.css.js.map +0 -1
  533. package/dist/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsPopup.js +0 -2
  534. package/dist/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsPopup.js.map +0 -1
  535. package/dist/features/RequirementAI/components/UserStoryCard/Avatar/avatarUtils.js +0 -2
  536. package/dist/features/RequirementAI/components/UserStoryCard/Avatar/avatarUtils.js.map +0 -1
  537. package/dist/features/RequirementAI/components/userstory-with-citation/utils/inlineMarkdown.js +0 -2
  538. package/dist/features/RequirementAI/components/userstory-with-citation/utils/inlineMarkdown.js.map +0 -1
  539. package/dist/features/RequirementAI/utils/exponential-retry.js +0 -2
  540. package/dist/features/RequirementAI/utils/exponential-retry.js.map +0 -1
  541. package/dist/types/src/CitationAccordionTest.d.ts +0 -1
  542. package/dist/types/src/CitationAccordionTest.d.ts.map +0 -1
  543. package/dist/types/src/MockDeviationSummary.d.ts +0 -1
  544. package/dist/types/src/MockDeviationSummary.d.ts.map +0 -1
  545. package/dist/types/src/features/CognitiveCompare/Guidelines/constants/new-guidelines.mockData.d.ts +0 -33
  546. package/dist/types/src/features/CognitiveCompare/Guidelines/constants/new-guidelines.mockData.d.ts.map +0 -1
  547. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/constants/updateTags.d.ts +0 -2
  548. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/constants/updateTags.d.ts.map +0 -1
  549. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/ProtectTableCellBoundaries.d.ts +0 -3
  550. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/ProtectTableCellBoundaries.d.ts.map +0 -1
  551. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/reviewBoundaryLexical.test.d.ts +0 -2
  552. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/reviewBoundaryLexical.test.d.ts.map +0 -1
  553. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/manualEditSerialization.d.ts +0 -7
  554. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/manualEditSerialization.d.ts.map +0 -1
  555. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/normalizeRedlineMarkdown.d.ts +0 -2
  556. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/normalizeRedlineMarkdown.d.ts.map +0 -1
  557. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownEmphasis.d.ts +0 -29
  558. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownEmphasis.d.ts.map +0 -1
  559. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownEmphasis.test.d.ts +0 -2
  560. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownEmphasis.test.d.ts.map +0 -1
  561. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownLineBreaks.d.ts +0 -7
  562. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownLineBreaks.d.ts.map +0 -1
  563. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownListFormatting.d.ts +0 -3
  564. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownListFormatting.d.ts.map +0 -1
  565. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveReviewBoundaryWhitespace.d.ts +0 -86
  566. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveReviewBoundaryWhitespace.d.ts.map +0 -1
  567. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveReviewBoundaryWhitespace.test.d.ts +0 -9
  568. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveReviewBoundaryWhitespace.test.d.ts.map +0 -1
  569. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveTableDelimiters.d.ts +0 -7
  570. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveTableDelimiters.d.ts.map +0 -1
  571. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/tableBoundaryRedlines.d.ts +0 -5
  572. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/tableBoundaryRedlines.d.ts.map +0 -1
  573. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Avatar/Avatar.d.ts +0 -10
  574. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Avatar/Avatar.d.ts.map +0 -1
  575. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsGroup.d.ts +0 -17
  576. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsGroup.d.ts.map +0 -1
  577. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsPopup.d.ts +0 -23
  578. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsPopup.d.ts.map +0 -1
  579. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Avatar/avatarUtils.d.ts +0 -3
  580. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Avatar/avatarUtils.d.ts.map +0 -1
  581. package/dist/types/src/features/RequirementAI/components/common/onDemandCitationButton.d.ts +0 -12
  582. package/dist/types/src/features/RequirementAI/components/common/onDemandCitationButton.d.ts.map +0 -1
  583. package/dist/types/src/features/RequirementAI/components/userstory-with-citation/utils/inlineMarkdown.d.ts +0 -9
  584. package/dist/types/src/features/RequirementAI/components/userstory-with-citation/utils/inlineMarkdown.d.ts.map +0 -1
  585. package/dist/types/src/features/RequirementAI/utils/exponential-retry.d.ts +0 -12
  586. package/dist/types/src/features/RequirementAI/utils/exponential-retry.d.ts.map +0 -1
@@ -0,0 +1,243 @@
1
+ import type { BoundaryReviewAction, BoundaryReviewMetadata } from './BoundaryCard';
2
+ import type { LabelReviewAction, LabelReviewMetadata } from './LabelCheck';
3
+ import type { PageCheckAction, PageCheckMetadata, PageCheckPageType, PageCheckTypeChoice } from './PageCheck';
4
+ export interface ReviewStepReview {
5
+ action: BoundaryReviewAction | LabelReviewAction | PageCheckAction;
6
+ reviewed_by: string;
7
+ reviewed_at: string;
8
+ }
9
+ export interface ReviewStepPerformedAction {
10
+ action: string;
11
+ performed_by: string;
12
+ performed_at: string;
13
+ human_revision: number;
14
+ segment_version: number;
15
+ change_summary: string | null;
16
+ operation_id: string | null;
17
+ }
18
+ export interface ReviewStepValueSnapshot {
19
+ label?: string | null;
20
+ type_id?: string | null;
21
+ start_page?: number | null;
22
+ end_page?: number | null;
23
+ }
24
+ export interface ReviewStepHumanResolution {
25
+ state: string;
26
+ changed_by_human: boolean;
27
+ changed_by: string | null;
28
+ changed_at: string | null;
29
+ human_revision: number;
30
+ segment_version: number | null;
31
+ action: string | null;
32
+ change_summary: string | null;
33
+ before: ReviewStepValueSnapshot | null;
34
+ after: ReviewStepValueSnapshot | null;
35
+ operation_id: string | null;
36
+ }
37
+ export interface ReviewStepMetadata {
38
+ focus_page?: number | null;
39
+ boundary_margin?: number | null;
40
+ current_label?: string | null;
41
+ custom_label?: string | null;
42
+ group_id?: string | null;
43
+ page_type?: PageCheckPageType | null;
44
+ page_num?: number | null;
45
+ classification_id?: string | null;
46
+ type_choices?: readonly PageCheckTypeChoice[];
47
+ user_actions?: readonly string[];
48
+ performed_actions?: readonly ReviewStepPerformedAction[];
49
+ }
50
+ export interface ReviewStepSource {
51
+ type: string;
52
+ confirmed?: boolean | null;
53
+ title?: string | null;
54
+ question?: string | null;
55
+ operation_id?: string | null;
56
+ revert?: SegmentRevertInfo | null;
57
+ format?: string | null;
58
+ confidence?: string | null;
59
+ summary?: string;
60
+ decided_by?: string | null;
61
+ human_action_enum?: string | null;
62
+ llm_decision_awaited?: boolean | null;
63
+ reason?: string | null;
64
+ reasons?: readonly SegmentConfidenceReason[] | null;
65
+ score?: string | number | null;
66
+ gap?: string | null;
67
+ details?: readonly string[];
68
+ /** Object when reviewed; null while this individual check is pending. */
69
+ review: ReviewStepReview | null;
70
+ human_resolution?: ReviewStepHumanResolution | null;
71
+ metadata?: ReviewStepMetadata | null;
72
+ }
73
+ export interface SegmentConfidenceReason {
74
+ text: string;
75
+ type: string;
76
+ }
77
+ export interface SegmentConfidence {
78
+ level: string;
79
+ summary: string;
80
+ decided_by: string;
81
+ awaiting_llm: boolean;
82
+ classification_confidence: string | null;
83
+ reasons: readonly SegmentConfidenceReason[];
84
+ }
85
+ export interface SegmentReviewAction {
86
+ focus_page: number | null;
87
+ allowed_decisions: readonly string[];
88
+ additional_decisions: Readonly<Record<string, readonly string[]>>;
89
+ }
90
+ export interface SegmentTimings {
91
+ pages: number;
92
+ total_ms: number;
93
+ allocated: boolean;
94
+ stage0_ms: number;
95
+ stage1_ms: number;
96
+ tables_ms: number;
97
+ table_llm_ms: number;
98
+ stage3_llm_ms: number;
99
+ docai_tables_ms: number;
100
+ }
101
+ export interface SegmentHumanActionLogEntry extends ReviewStepPerformedAction {
102
+ step: string;
103
+ before: ReviewStepValueSnapshot | null;
104
+ after: ReviewStepValueSnapshot | null;
105
+ }
106
+ export interface PageClassificationQuestionSource {
107
+ id?: string | null;
108
+ confirmed?: boolean | null;
109
+ page_type?: string | null;
110
+ severity?: string | null;
111
+ score?: string | number | null;
112
+ machine_classification?: {
113
+ verdict?: string | null;
114
+ confidence?: string | null;
115
+ score?: string | number | null;
116
+ decisioning_method?: string | null;
117
+ } | null;
118
+ human_action?: {
119
+ verdict?: string | null;
120
+ reviewed_by?: string | null;
121
+ reviewed_at?: string | null;
122
+ } | null;
123
+ reasons?: readonly SegmentConfidenceReason[] | null;
124
+ }
125
+ export interface PageClassificationSource extends PageClassificationQuestionSource {
126
+ page_num?: number | null;
127
+ page_image_url?: string | null;
128
+ needs_type_choice?: boolean | null;
129
+ ambiguity_reason?: string | null;
130
+ summary?: string | null;
131
+ questions?: readonly PageClassificationQuestionSource[];
132
+ }
133
+ export interface SegmentRevertSnapshot {
134
+ label?: string | null;
135
+ title?: string | null;
136
+ start_page: number;
137
+ end_page: number;
138
+ page_count?: number;
139
+ segmentation_index?: number;
140
+ stable_key: string;
141
+ version?: number;
142
+ type_id?: string | null;
143
+ confidence?: string | null;
144
+ status?: string | null;
145
+ reviewed_by?: string | null;
146
+ }
147
+ export interface SegmentRevertInfo {
148
+ operation_id: string;
149
+ type?: 'boundary' | 'label';
150
+ decision: string;
151
+ is_redo: boolean;
152
+ performed_by: string;
153
+ performed_at: string;
154
+ revertable: boolean;
155
+ blocked_reason?: string | null;
156
+ summary?: string | null;
157
+ state_hash?: string | null;
158
+ current_segment_ids: readonly string[];
159
+ previous_state: readonly SegmentRevertSnapshot[];
160
+ }
161
+ export interface SegmentReviewSource {
162
+ bundle_id?: string;
163
+ run_id?: string;
164
+ segmentation_index?: number;
165
+ stable_key?: string;
166
+ question?: string;
167
+ segment_id?: string;
168
+ version?: number;
169
+ title: string;
170
+ label?: string | null;
171
+ category?: string | null;
172
+ type_id?: string | null;
173
+ start_page: number;
174
+ end_page: number;
175
+ page_count?: number;
176
+ sensitivity?: string | null;
177
+ status?: string;
178
+ reviewed_by?: string | null;
179
+ reviewed_at?: string | null;
180
+ updated_at?: string | null;
181
+ confidence?: SegmentConfidence | null;
182
+ review_action?: SegmentReviewAction | null;
183
+ ingest_mode?: string | null;
184
+ segment_type?: string | null;
185
+ special_tags?: readonly string[];
186
+ table_pages?: readonly number[];
187
+ tables_detected_count?: number;
188
+ table_detection_confidence?: string | null;
189
+ table_detection_confidence_reason?: string | null;
190
+ drawing_pages?: readonly number[];
191
+ drawings_detected_count?: number;
192
+ drawing_detection_confidence?: string | null;
193
+ drawing_detection_confidence_reason?: string | null;
194
+ boundary_margin?: number | null;
195
+ timings?: SegmentTimings | null;
196
+ classification_method?: string | null;
197
+ classification_confidence_reason?: string | null;
198
+ matched_phrase?: string | null;
199
+ runner_up_type_id?: string | null;
200
+ runner_up_evidence?: string | null;
201
+ segment_pdf_gs_url?: string | null;
202
+ page_image_urls?: readonly string[];
203
+ operation_id?: string | null;
204
+ api_status?: string | null;
205
+ revert?: SegmentRevertInfo | null;
206
+ update_stage?: string | null;
207
+ processing_updated_at?: string | null;
208
+ provisional?: boolean;
209
+ page_classifications?: readonly PageClassificationSource[];
210
+ human_action_log?: readonly SegmentHumanActionLogEntry[];
211
+ review_steps?: readonly ReviewStepSource[];
212
+ segment_score?: string | number | null;
213
+ }
214
+ export interface ExtractedBoundaryReview<TSegment extends SegmentReviewSource> {
215
+ id: string;
216
+ reviewStepIndex: number;
217
+ segment: TSegment;
218
+ review_step: ReviewStepSource;
219
+ metadata: BoundaryReviewMetadata;
220
+ human_resolution?: ReviewStepHumanResolution | null;
221
+ }
222
+ export interface ExtractedLabelReview<TSegment extends SegmentReviewSource> {
223
+ id: string;
224
+ reviewStepIndex: number;
225
+ segment: TSegment;
226
+ review_step: ReviewStepSource;
227
+ metadata: LabelReviewMetadata;
228
+ }
229
+ export interface ExtractedPageReview<TSegment extends SegmentReviewSource> {
230
+ id: string;
231
+ reviewStepIndex: number;
232
+ segment: TSegment;
233
+ review_step: ReviewStepSource;
234
+ metadata: PageCheckMetadata;
235
+ }
236
+ export declare const getSegmentReviewKey: (segment: SegmentReviewSource, index?: number) => string;
237
+ /** Converts backend-shaped segments into card-ready boundary, label, and page reviews. */
238
+ export declare const extractSegmentReviewData: <TSegment extends SegmentReviewSource>(segments: readonly TSegment[]) => {
239
+ boundaryReviews: ExtractedBoundaryReview<TSegment>[];
240
+ labelReviews: ExtractedLabelReview<TSegment>[];
241
+ pageReviews: ExtractedPageReview<TSegment>[];
242
+ };
243
+ //# sourceMappingURL=reviewStepAdapters.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reviewStepAdapters.d.ts","sourceRoot":"","sources":["../../../../../src/features/SegmentReviewComponents/reviewStepAdapters.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,sBAAsB,EAAE,MAAM,gBAAgB,CAAC;AAEnF,OAAO,KAAK,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAE3E,OAAO,KAAK,EACV,eAAe,EACf,iBAAiB,EACjB,iBAAiB,EACjB,mBAAmB,EACpB,MAAM,aAAa,CAAC;AAGrB,MAAM,WAAW,gBAAgB;IAC/B,MAAM,EAAE,oBAAoB,GAAG,iBAAiB,GAAG,eAAe,CAAC;IACnE,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,yBAAyB;IACxC,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,EAAE,MAAM,CAAC;IACxB,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;CAC7B;AAED,MAAM,WAAW,uBAAuB;IACtC,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC1B;AAED,MAAM,WAAW,yBAAyB;IACxC,KAAK,EAAE,MAAM,CAAC;IACd,gBAAgB,E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AC3D,gBAAgB,CAAC,EAAE,SAAS,0BAA0B,EAAE,CAAC;IACzD,YAAY,CAAC,EAAE,SAAS,gBAAgB,EAAE,CAAC;IAC3C,aAAa,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;CACxC;AAED,MAAM,WAAW,uBAAuB,CAAC,QAAQ,SAAS,mBAAmB;IAC3E,EAAE,EAAE,MAAM,CAAC;IACX,eAAe,EAAE,MAAM,CAAC;IACxB,OAAO,EAAE,QAAQ,CAAC;IAClB,WAAW,EAAE,gBAAgB,CAAC;IAC9B,QAAQ,EAAE,sBAAsB,CAAC;IACjC,gBAAgB,CAAC,EAAE,yBAAyB,GAAG,IAAI,CAAC;CACrD;AAED,MAAM,WAAW,oBAAoB,CAAC,QAAQ,SAAS,mBAAmB;IACxE,EAAE,EAAE,MAAM,CAAC;IACX,eAAe,EAAE,MAAM,CAAC;IACxB,OAAO,EAAE,QAAQ,CAAC;IAClB,WAAW,EAAE,gBAAgB,CAAC;IAC9B,QAAQ,EAAE,mBAAmB,CAAC;CAC/B;AAED,MAAM,WAAW,mBAAmB,CAAC,QAAQ,SAAS,mBAAmB;IACvE,EAAE,EAAE,MAAM,CAAC;IACX,eAAe,EAAE,MAAM,CAAC;IACxB,OAAO,EAAE,QAAQ,CAAC;IAClB,WAAW,EAAE,gBAAgB,CAAC;IAC9B,QAAQ,EAAE,iBAAiB,CAAC;CAC7B;AA4BD,eAAO,MAAM,mBAAmB,YAAa,mBAAmB,2BAGV,CAAC;AAyLvD,0FAA0F;AAC1F,eAAO,MAAM,wBAAwB;;;;CAoHpC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=segmentReviewEdgeCases.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"segmentReviewEdgeCases.test.d.ts","sourceRoot":"","sources":["../../../../../src/features/SegmentReviewComponents/segmentReviewEdgeCases.test.ts"],"names":[],"mappings":""}
@@ -11,6 +11,8 @@ export { default as NonWebReasoningComponent } from "./features/CognitiveInterna
11
11
  export { default as ChatCitation } from "./features/ChatCitation/ChatCitationRenderer";
12
12
  export { default as CognitiveDecisioningCard } from "./features/CognitiveDecisioning/CognitiveDecisioningWrapper";
13
13
  export { default as PdfViewer } from "./features/PdfViewer/PdfViewer";
14
+ export { CognitiveIntegrity, RevertCard, RevertSuccessCard, SegmentPdfSpecialZoomLevel, PageCheck, SegmentReviewPdfWrapper, createBoundaryCardOptions, createLabelCheckOptions, extractSegmentReviewData, isBoundaryReviewAction, isLabelReviewAction, isPageCheckAction } from "./features/SegmentReviewComponents";
15
+ export type { BoundaryCardOption, BoundaryCardProps, BoundaryCardStyles, BoundaryReviewAction, BoundaryReviewConfirmDetails, BoundaryReviewMetadata, CardWrapperProps, CognitiveIntegrityProps, CognitiveIntegrityStyles, ExtractedBoundaryReview, ExtractedLabelReview, LabelCheckOption, LabelCheckProps, LabelCheckStyles, LabelReviewAction, LabelReviewConfirmDetails, LabelReviewMetadata, RedirectionData, ReviewRedirectionType, ReviewStepSource, ReviewConfidence, ReviewConfidenceFilter, SegmentReviewSource, SegmentReviewActionContext, SegmentReviewPdfWrapperProps } from "./features/SegmentReviewComponents";
14
16
  export { default as FaqCitation } from "./features/CognitiveDecisioning/FaqCitation/FaqCitation";
15
17
  export { default as ImageCitationContent } from "./features/RequirementAiCitations/ImageCitation/ImageCitationContent";
16
18
  export { default as VideoCitationContent } from "./features/RequirementAiCitations/VideoCitation/VideoCitationContent";
@@ -19,6 +21,8 @@ export { default as WebCitationWithImageContent } from "./features/RequirementAi
19
21
  export { default as MarkdownWithImageCitation } from "./features/MarkdownWithImageCitation/MarkdownWithImageCitation";
20
22
  export { default as AiReasoningCitation } from "./features/RequirementAiCitations/AiReasoning/AiReasoningCitation";
21
23
  export { default as TableCitationContent } from "./features/TableCitation/TableCitationContent";
24
+ export { ReviewPanel } from "./features/ReviewPanel/ReviewPanel";
25
+ export type { DefaultItemConfig, ReviewPanelClasses, ReviewPanelProps, ReviewStatus, } from "./features/ReviewPanel/ReviewPanel";
22
26
  export { default as CitationsViewer } from "./features/CitationViewer/CitationsViewer";
23
27
  export { default as ExcelCitation } from "./features/ExcelCitation/ExcelCitations";
24
28
  export { default as ScannedDocCitation } from "./features/ScannedDocCitation/ScannedDocCitation";
@@ -52,4 +56,8 @@ export type { TextualGuidelinesThemeTokens, TextualGuidelinesClassNames, Textual
52
56
  export type { CognitiveReasoningThemeTokens, CognitiveReasoningClassNames, CognitiveReasoningStyles, } from "./features/CognitiveInternalgptReasoning/CognitiveNonWebSearchReasoning.types";
53
57
  export type { RuleBookCitationThemeTokens, RuleBookCitationClassNames, RuleBookCitationStyles, } from "./features/RulebookCitations/RuleBookCitation.types";
54
58
  export type { SplitterProps as SplitterCitationsProps, SplitterClassNames as SplitterCitationsClassNames, SplitterStyles as SplitterCitationsStyles, SplitterIconProps as SplitterCitationsIconProps, SplitterHeader as SplitterCitationsHeader, } from './features/SplitterCitations/types';
59
+ export { default as PromptCitation } from './features/PromptCitation/PromptCitation';
60
+ export type { PromptCitationProps, PromptCitationStyles } from './features/PromptCitation/PromptCitation';
61
+ export { default as CitationDependencyGraph } from './features/PromptCitation/CitationDependencyGraph';
62
+ export type { CitationDependencyGraphProps, CitationDependencyGraphStyles } from './features/PromptCitation/CitationDependencyGraph';
55
63
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,sCAAsC,CAAC;AAC/E,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,8CAA8C,CAAC;AAC3F,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,sCAAsC,CAAC;AAC/E,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACnE,OAAO,EAAE,iBAAiB,IAAI,WAAW,EAAE,MAAM,gD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;CAC3B,SAAS,MAAM,iBA8Bf,CAAC;AAEF,eAAO,MAAM,2BAA2B,YAAmB;IACvD,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,EAAE,MAAM,CAAC;CAC3B,SAAS,MAAM,iBAsBf,CAAC"}
@@ -1,14 +1,5 @@
1
1
  export declare function splitTagAcrossParagraphs(text: string, tag: string, setMain?: boolean): string;
2
2
  export declare function escapeTagIds(markdown: string, tags: string[]): string;
3
3
  export declare function unescapeTagIds(markdown: string, tags: string[]): string;
4
- /** Convert standalone backend UUID comments into DOM-safe editor anchors. */
5
- export declare function normalizeCommentAnchorsForEditor(source: string): string;
6
- /** Restore exact source comments/invisible tags and their preceding blank lines. */
7
- export declare function preserveDocumentAnchorsFromSource(source: string, draft: string): string;
8
- /** Make legacy comment/redline anchors valid HTML before DOM parsing. */
9
- export declare function normalizeLegacyCommentRedlinesForEditor(source: string): string;
10
- /** Rebuild the exact legacy comment/tag shell after Lexical serialization. */
11
- export declare function preserveLegacyCommentRedlinesFromSource(source: string, draft: string): string;
12
- export declare function preserveInvisibleAnchorBeforeTablePipe(source: string, draft: string): string;
13
4
  export declare function mergeTagAcrossParagraphs(text: string, tag: string): string;
14
5
  //# sourceMappingURL=tagHelper.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tagHelper.d.ts","sourceRoot":"","sources":["../../../../src/utils/tagHelper.ts"],"names":[],"mappings":"AAAA,wBAAgB,wBAAwB,CAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,OAAO,UAAQ,UA8CnF;AAED,wBAAgB,YAAY,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,MAAM,CAerE;AAED,wBAAgB,cAAc,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,MAAM,CAiBvE;AA8BD,6EAA6E;AAC7E,wBAAgB,gCAAgC,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAMvE;AAQD,oFAAoF;AACpF,wBAAgB,iCAAiC,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CA0CvF;AAED,yEAAyE;AACzE,wBAAgB,uCAAuC,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAwB9E;AAED,8EAA8E;AAC9E,wBAAgB,uCAAuC,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAoE7F;AAED,wBAAgB,sCAAsC,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAmC5F;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,CAgH1E"}
1
+ {"version":3,"file":"tagHelper.d.ts","sourceRoot":"","sources":["../../../../src/utils/tagHelper.ts"],"names":[],"mappings":"AAAA,wBAAgB,wBAAwB,CAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,OAAO,UAAQ,UA0CnF;AAED,wBAAgB,YAAY,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,MAAM,CAerE;AAED,wBAAgB,cAAc,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,MAAM,CAiBvE;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,CAgH1E"}
@@ -1,2 +1,2 @@
1
- function e(e,n,i=!1){const s=new RegExp(`(<${n}(?:\\s[^>]*)?>)|(</${n}>)|([ \\t]*\\n(?:[ \\t]*\\n)+[ \\t]*)`,"gi");let l="",t=!1,r=!1;return e.replace(s,(e,s,a,d)=>s?(t=!0,l=s,i&&!r?(r=!0,s.replace(/^<([^\s>]+)/,"<$1 data-main")):s):a?(t=!1,l="",r=!1,a):d&&t?`</${n}>${d}${l}`:e)}function n(e,n){const i=n.map(e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")).join("|"),s=new RegExp(`<(${i})\\b([^>]*?)\\bid="([^"]*)"([^>]*)>`,"gi");return e.replace(s,(e,n,i,s,l)=>`<${n}${i}id="${s.replace(/</g,"@").replace(/>/g,"#")}"${l}>`)}function i(e,n){const i=n.map(e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")).join("|"),s=new RegExp(`<(${i})\\b([^>]*?)\\bid="([^"]*)"([^>]*)>`,"gi");return e.replace(s,(e,n,i,s,l)=>`<${n}${i}id="${s.replace(/@/g,"<").replace(/#/g,">")}"${l}>`)}const s=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),l=String.raw`<invisible\b(?=[^>]*\bid\s*=\s*(?:"([^"]*)"|'([^']*)'))[^>]*>(?:\s*<\/invisible\s*>)?`,t=String.raw`[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}`,r=String.raw`<!--\s*(${t})\s*-->`,a=String.raw`(?:[^>"']|"[^"]*"|'[^']*')*`,d="legacy-comment-anchor:",c=new RegExp(String.raw`(<!--[ \t]*([0-9a-f-]+)[ \t]*)(<manual\b${a}>)([ \t]*)(<del\b${a}>)([ \t]*-->)([\s\S]*?)<\/del\s*>([ \t]*)(<ins\b${a}>)([ \t]*-->)([\s\S]*?)<\/ins\s*>([ \t]*)<\/manual\s*>`,"gi");function $(e){return e?e.replace(new RegExp(r,"gi"),(e,n)=>`<invisible id="${n}"></invisible>`):""}function o(e,n){if(!e||!n)return n;const i=[],t=(n,s,l)=>{const t=new RegExp(`((?:[ \\t]*\\n){2,}[ \\t]*)?(${n})([ \\t]*)`,"gi");e.replace(t,(e,n,t,...r)=>{var a;const d=r.slice(0,s),c=l(d),$=null!==(a=r[s])&&void 0!==a?a:"";return c&&i.push({id:c,raw:`${t}${$}`,leadingBlankRun:n}),e})};t(l,2,([e,n])=>null!=e?e:n),t(r,1,([e])=>e);let a=n;return i.slice().reverse().forEach(({id:e,raw:n,leadingBlankRun:i})=>{const l=s(e),t=`(?:<invisible\\b(?=[^>]*\\bid\\s*=\\s*(?:"${l}"|'${l}'))[^>]*>(?:\\s*<\\/invisible\\s*>)?|\x3c!--\\s*${l}\\s*--\x3e)[ \\t]*`;a=a.replace(new RegExp(`((?:[ \\t]*\\n)+[ \\t]*)?${t}`,"i"),(e,s)=>{var l;return`${null!==(l=null!=i?i:s)&&void 0!==l?l:""}${n}`})}),a}function u(e){return e?e.replace(c,(e,n,i,s,l,t,r,a,c,$,o,u,p)=>`<invisible id="${d}${i}"></invisible> ${s}${l}${t}${a}</del>${c}${$}${u}</ins>${p}</manual>`):""}function p(e,n){if(!e||!n)return n;const i=[];e.replace(c,(e,n,s,l,t,r,a,d,c,$,o,u)=>{const p=e.indexOf(d),g=e.indexOf(u,p+d.length);var b,f,v;return i.push({anchorId:s,manualId:(b=l,null!==(v=null===(f=b.match(/\bid\s*=\s*(?:"([^"]*)"|'([^']*)')/i))||void 0===f?void 0:f.slice(1).find(Boolean))&&void 0!==v?v:""),beforeDeletedBody:`${n}${l}${t}${r}${a}`,betweenBodies:e.slice(p+d.length,g),afterInsertedBody:e.slice(g+u.length),deletedBody:d,insertedBody:u}),e});let l=n;return i.forEach(e=>{const n=s(`${d}${e.anchorId}`),i=s(e.manualId),t=new RegExp(String.raw`<invisible\b(?=[^>]*\bid\s*=\s*(?:"${n}"|'${n}'))[^>]*>(?:\s*<\/invisible\s*>)?\s*<manual\b(?=${a}\bid\s*=\s*(?:"${i}"|'${i}'))${a}>\s*<del\b${a}>([\s\S]*?)<\/del\s*>\s*<ins\b${a}>([\s\S]*?)<\/ins\s*>\s*<\/manual\s*>`,"i"),r=e=>e.replace(/&gt;/gi,">").replace(/&lt;/gi,"<").replace(/&quot;/gi,'"').replace(/&#39;|&apos;/gi,"'").replace(/&amp;/gi,"&");l=l.replace(t,(n,i,s)=>{const l=r(i)===r(e.deletedBody)?e.deletedBody:i,t=r(s)===r(e.insertedBody)?e.insertedBody:s;return`${e.beforeDeletedBody}${l}${e.betweenBodies}${t}`+e.afterInsertedBody})}),l}function g(e,n){if(!e||!n)return n;const i=new RegExp(`^([ \\t]*)(${l})([ \\t]*)(?=\\|)`,"gim"),t=[];e.replace(i,(e,n,i,s,l)=>{const r=null!=s?s:l;return void 0!==r&&t.push({id:r,prefix:e}),e});let r=n;return t.forEach(({id:e,prefix:n})=>{const i=s(e),l=new RegExp(`^[ \\t]*\\|[ \\t]*<invisible\\b(?=[^>]*\\bid\\s*=\\s*(?:"${i}"|'${i}'))[^>]*>(?:\\s*<\\/invisible\\s*>)?[ \\t]*(?=\\|)`,"im");r=r.replace(l,n)}),r}function b(e,n){var i,s,l,t;const r=["del","ins","preserved"].includes(n),a=["manual","upt"].includes(n),d=new RegExp(`(<${n}(?:\\s[^>]*)?>)|(</${n}>)|(${r?"</?(?:manual|upt)\\b[^>]*>":"$^"})`,"gi");let c,$="",o=0,u="",p="",g="",b="";for(;null!==(c=d.exec(e));){const n=e.slice(o,c.index),[,f,v,w]=c;if(g)if(b+=n,w)$+=g+b+w,u="",p="",g="",b="";else if(f){const e=a&&null!==(s=null===(i=f.match(/\bid\s*=\s*["']?([^"'\s>]+)["']?/i))||void 0===i?void 0:i[1])&&void 0!==s?s:"";/^\s*$/.test(b)&&(a&&e===p||r)?($+=b,b="",g=""):($+=g+b+f,u=f,p=e,g="",b="")}else v&&($+=g+b,g=v,b="");else u?($+=n,w?$+=w:v?g=v:f&&($+=f)):($+=n,w?$+=w:f?(u=f,p=a&&null!==(t=null===(l=f.match(/\bid\s*=\s*["']?([^"'\s>]+)["']?/i))||void 0===l?void 0:l[1])&&void 0!==t?t:"",$+=f):v&&($+=v));o=d.lastIndex}const f=e.slice(o);return $+=g?g+b+f:f,$}export{n as escapeTagIds,b as mergeTagAcrossParagraphs,$ as normalizeCommentAnchorsForEditor,u as normalizeLegacyCommentRedlinesForEditor,o as preserveDocumentAnchorsFromSource,g as preserveInvisibleAnchorBeforeTablePipe,p as preserveLegacyCommentRedlinesFromSource,e as splitTagAcrossParagraphs,i as unescapeTagIds};
1
+ function e(e,n,i=!1){const l=new RegExp(`(<${n}(?:\\s[^>]*)?>)|(</${n}>)|(\\s*\\n\\s*)`,"gi");let s="",c=!1,t=!1;return e.replace(l,(e,l,$,a)=>l?(c=!0,s=l,i&&!t?(t=!0,l.replace(/^<([^\s>]+)/,"<$1 data-main")):l):$?(c=!1,s="",t=!1,$):a&&c?`</${n}>${a}${s}`:e)}function n(e,n){const i=n.map(e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")).join("|"),l=new RegExp(`<(${i})\\b([^>]*?)\\bid="([^"]*)"([^>]*)>`,"gi");return e.replace(l,(e,n,i,l,s)=>`<${n}${i}id="${l.replace(/</g,"@").replace(/>/g,"#")}"${s}>`)}function i(e,n){const i=n.map(e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")).join("|"),l=new RegExp(`<(${i})\\b([^>]*?)\\bid="([^"]*)"([^>]*)>`,"gi");return e.replace(l,(e,n,i,l,s)=>`<${n}${i}id="${l.replace(/@/g,"<").replace(/#/g,">")}"${s}>`)}function l(e,n){var i,l,s,c;const t=["del","ins","preserved"].includes(n),$=["manual","upt"].includes(n),a=new RegExp(`(<${n}(?:\\s[^>]*)?>)|(</${n}>)|(${t?"</?(?:manual|upt)\\b[^>]*>":"$^"})`,"gi");let r,o="",p=0,d="",u="",g="",f="";for(;null!==(r=a.exec(e));){const n=e.slice(p,r.index),[,v,x,b]=r;if(g)if(f+=n,b)o+=g+f+b,d="",u="",g="",f="";else if(v){const e=$&&null!==(l=null===(i=v.match(/\bid\s*=\s*["']?([^"'\s>]+)["']?/i))||void 0===i?void 0:i[1])&&void 0!==l?l:"";/^\s*$/.test(f)&&($&&e===u||t)?(o+=f,f="",g=""):(o+=g+f+v,d=v,u=e,g="",f="")}else x&&(o+=g+f,g=x,f="");else d?(o+=n,b?o+=b:x?g=x:v&&(o+=v)):(o+=n,b?o+=b:v?(d=v,u=$&&null!==(c=null===(s=v.match(/\bid\s*=\s*["']?([^"'\s>]+)["']?/i))||void 0===s?void 0:s[1])&&void 0!==c?c:"",o+=v):x&&(o+=x));p=a.lastIndex}const v=e.slice(p);return o+=g?g+f+v:v,o}export{n as escapeTagIds,l as mergeTagAcrossParagraphs,e as splitTagAcrossParagraphs,i as unescapeTagIds};
2
2
  //# sourceMappingURL=tagHelper.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@viswa-test/test-citation",
3
- "version": "0.0.378",
3
+ "version": "0.0.381",
4
4
  "author": "Viswa Koduru",
5
5
  "description": "",
6
6
  "license": "MIT",
@@ -191,6 +191,16 @@
191
191
  "import": "./dist/features/SPBAnalysisPanel/Spbanalysispanel.js",
192
192
  "require": "./dist/cjs/features/SPBAnalysisPanel/Spbanalysispanel.js",
193
193
  "types": "./dist/types/src/features/SPBAnalysisPanel/Spbanalysispanel.d.ts"
194
+ },
195
+ "./PromptCitation": {
196
+ "import": "./dist/features/PromptCitation/PromptCitation.js",
197
+ "require": "./dist/cjs/features/PromptCitation/PromptCitation.js",
198
+ "types": "./dist/types/src/features/PromptCitation/PromptCitation.d.ts"
199
+ },
200
+ "./CitationDependencyGraph": {
201
+ "import": "./dist/features/PromptCitation/CitationDependencyGraph.js",
202
+ "require": "./dist/cjs/features/PromptCitation/CitationDependencyGraph.js",
203
+ "types": "./dist/types/src/features/PromptCitation/CitationDependencyGraph.d.ts"
194
204
  }
195
205
  },
196
206
  "repository": {
@@ -204,7 +214,7 @@
204
214
  "dist"
205
215
  ],
206
216
  "scripts": {
207
- "start": "PORT=3005 craco start",
217
+ "start": "PORT=3006 craco start",
208
218
  "build": "rollup -c",
209
219
  "tsupBuild": "tsup src/index.ts",
210
220
  "test": "craco test",
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.INITIAL_CONTENT_UPDATE_TAG="rich-text-editor-initial-content";
2
- //# sourceMappingURL=updateTags.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"updateTags.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("@lexical/react/LexicalComposerContext"),o=require("lexical"),r=require("@lexical/table");const n=(e,t,r)=>{var n;let l=e.getNode();if(!(o.$isTextNode(l)?e.offset===("start"===r?0:l.getTextContentSize()):!!o.$isElementNode(l)&&e.offset===("start"===r?0:l.getChildrenSize())))return!1;for(;l&&!l.is(t);){if("start"===r?l.getPreviousSibling():l.getNextSibling())return!1;l=l.getParent()}return null!==(n=null==l?void 0:l.is(t))&&void 0!==n&&n};exports.ProtectTableCellBoundaries=()=>{const[l]=t.useLexicalComposerContext();return e.useEffect(()=>{const e=()=>{const e=o.$getSelection();if(!o.$isRangeSelection(e)||e.isCollapsed())return!1;const t=r.$getTableCellNodeFromLexicalNode(e.anchor.getNode()),n=r.$getTableCellNodeFromLexicalNode(e.focus.getNode());return!(!t||!n||t.is(n))&&(e.anchor.set(e.focus.key,e.focus.offset,e.focus.type),!0)},t=l.registerCommand(o.KEY_DOWN_COMMAND,e=>{const t=o.$getSelection();if(!o.$isRangeSelection(t))return!1;const l=r.$getTableCellNodeFromLexicalNode(t.anchor.getNode()),s=r.$getTableCellNodeFromLexicalNode(t.focus.getNode());return!(!l||!s)&&(l.is(s)?!!t.isCollapsed()&&(("Backspace"===e.key&&n(t.anchor,l,"start")||!("Delete"!==e.key||!n(t.anchor,l,"end")))&&(e.preventDefault(),!0)):"Backspace"===e.key||"Delete"===e.key?(e.preventDefault(),!0):(1!==e.key.length||e.metaKey||e.ctrlKey||e.altKey||t.anchor.set(t.focus.key,t.focus.offset,t.focus.type),!1))},o.COMMAND_PRIORITY_CRITICAL),s=l.registerCommand(o.PASTE_COMMAND,()=>(e(),!1),o.COMMAND_PRIORITY_CRITICAL),i=l.registerCommand(o.CONTROLLED_TEXT_INSERTION_COMMAND,()=>(e(),!1),o.COMMAND_PRIORITY_CRITICAL),c=e=>{const t=e.target;if(!(t instanceof Element))return;const n=t.closest("td, th");n&&l.update(()=>{const e=o.$getNearestNodeFromDOMNode(n);if(!r.$isTableCellNode(e))return;const t=o.$getSelection();if(!o.$isRangeSelection(t)||!t.isCollapsed())return;const s=r.$getTableCellNodeFromLexicalNode(t.anchor.getNode());if(s&&!s.is(e)){const t=l.getElementByKey(s.getKey());!!t&&!!(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_FOLLOWING)?e.selectStart():e.selectEnd()}})},a=l.registerRootListener((e,t)=>{null==t||t.removeEventListener("pointerup",c),null==e||e.addEventListener("pointerup",c)});return()=>{t(),s(),i(),a()}},[l]),null};
2
- //# sourceMappingURL=ProtectTableCellBoundaries.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ProtectTableCellBoundaries.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";function e(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(require("turndown"));const t=/<table\b[^>]*>[\s\S]*?<\/table\s*>/gi,n=/<invisible\b[^>]*\bid\s*=\s*(["'])(.*?)\1[^>]*>\s*<\/invisible\s*>/gi,l=/<!--\s*([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})\s*-->/gi,a=e=>{const t=Array.from(e.rows);if(!t.length)return"";const n=(()=>{const e=new r.default({headingStyle:"atx",codeBlockStyle:"fenced"}),t=["invisible","manual","upt","ins","del","preserved","deleted","changed"];return e.keep(e=>t.includes(e.nodeName.toLowerCase())),e.addRule("table-cell-line-break",{filter:"br",replacement:()=>"<br>"}),e})(),l=t.map(e=>Array.from(e.cells)),a=Math.max(...l.map(e=>e.length)),i=e=>Array.from({length:a},(r,t)=>((e,r)=>{if(!e)return"";const t=[],n=e.cloneNode(!0);n.querySelectorAll("invisible").forEach(e=>{const r=`MANUALEDITINVISIBLE${t.length}TOKEN`;t.push(e.outerHTML),e.replaceWith(r)});let l=r.turndown(n.innerHTML).trim().replace(/\n{2,}/g,"<br><br>").replace(/\n/g,"<br>");return t.forEach((e,r)=>{l=l.replace(`MANUALEDITINVISIBLE${r}TOKEN`,e)}),l.split(/(<[^>]+>)/g).map(e=>e.startsWith("<")?e:e.replace(/(^|[^\\])\|/g,"$1\\|")).join("")})(e[t],n)),o=e=>`| ${e.join(" | ")} |`,s=l[0];return`\n\n${[o(i(s)),o(Array.from({length:a},(e,r)=>(e=>{const r=((null==e?void 0:e.getAttribute("align"))||(null==e?void 0:e.style.textAlign)||"").toLowerCase();return"center"===r?":---:":"right"===r?"---:":"left"===r?":---":"---"})(s[r]))),...l.slice(1).map(e=>o(i(e)))].join("\n")}\n\n`},i=e=>e&&/<table\b/i.test(e)?e.replace(t,e=>{const r=(new DOMParser).parseFromString(e,"text/html").querySelector("table");return r?a(r):e}):e||"";exports.convertHtmlTablesToMarkdownPipes=i,exports.restoreInvisibleTagsForEditor=e=>(e||"").replace(l,'<invisible id="$1"></invisible>'),exports.serializeUpdateManualPayload=e=>i(e).replace(n,(e,r,t)=>`\x3c!-- ${t} --\x3e`);
2
- //# sourceMappingURL=manualEditSerialization.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"manualEditSerialization.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const e=String.raw`(?:[^>"']|"[^"]*"|'[^']*')*`,t=new RegExp(String.raw`<updated\b(${e})>([\s\S]*?)<\/updated\s*>`,"gi"),n=new RegExp(String.raw`<upt\b(${e})>([\s\S]*?)<\/upt\s*>`,"gi"),r=new RegExp(String.raw`<(deleted|changed)\b(${e})>([\s\S]*?)<\/\1\s*>`,"gi"),i=e=>{const t=e.trim();if(!t.includes("|"))return null;const n=[];let r="";for(let e=0;e<t.length;e+=1){const i=t[e],s=e>0&&"\\"===t[e-1];"|"!==i||s?r+=i:(n.push(r.trim()),r="")}return n.push(r.trim()),t.startsWith("|")&&n.shift(),t.endsWith("|")&&n.pop(),n},s=e=>!!(null==e?void 0:e.length)&&e.every(e=>/^:?-{3,}:?$/.test(e)),d=e=>`| ${e.join(" | ")} |`,l=e=>e.replace(n,(e,t,n)=>{if(!(e=>{const t=e.split("\n");return t.some((e,n)=>{var r;return n>0&&s(i(e))&&!!(null===(r=i(t[n-1]))||void 0===r?void 0:r.length)})})(n))return e;return`<updated${t}>${n.replace(/<del\b([^>]*)>/gi,"<deleted$1>").replace(/<\/del\s*>/gi,"</deleted>").replace(/<ins\b([^>]*)>/gi,"<changed$1>").replace(/<\/ins\s*>/gi,"</changed>")}</updated>`});exports.normalizeRedlineMarkdown=n=>{if(!n)return"";let a=l(n).replace(t,(e,t,n)=>{if(!n.includes("|"))return e;if(!/\bid\s*=\s*["']ai_reasoning\$/i.test(t))return n;const r=/\bdata-main\b/i.test(t)?"":" data-main",i=((e,t)=>{const n=t.match(/\bid\s*=\s*["']([^"']+)["']/i);if(!n)return e;const r=encodeURIComponent(n[1]);return e.replace(/<(deleted|changed)\b([^>]*)>/gi,(e,t,n)=>/\bdata-upt-id\s*=/i.test(n)?e:`<${t}${n} data-upt-id="${r}">`)})(n,t);return`<upt${t}${r}></upt>\n\n${i}`});return a=(t=>{const n=new RegExp(String.raw`(<deleted\b${e}>(?:(?!<\/deleted\s*>)[\s\S])*?\|(?:(?!<\/deleted\s*>)[\s\S])*?<\/deleted\s*>)\s*(<changed\b${e}>[^|]*?<\/changed\s*>)\s*\|`,"gi"),d=t.replace(n,(e,t,n)=>{var r;return`${(null!==(r=t.replace(/<\/deleted\s*>$/i,"").trimEnd().split("\n").at(-1))&&void 0!==r?r:"").trimEnd().endsWith("|")?t:t.replace(/<\/deleted\s*>$/i," |</deleted>")}\n${n}`}),l=new RegExp(String.raw`(<deleted\b${e}>(?:(?!<\/deleted\s*>)[\s\S])*?\|(?:(?!<\/deleted\s*>)[\s\S])*?<\/deleted\s*>)\s*(?=<changed\b${e}>)`,"gi"),a=d.replace(l,"$1\n\n");return a.replace(r,(e,t,n,r,d)=>{if(!r.includes("|"))return e;const l=a.slice(0,d),c=/(?:^|\n)[ \t]*$/.test(l);return r.split("\n").map((e,r)=>{if(!e)return e;let d=e;d.includes("|")&&!/^\s*\|/.test(d)&&(r>0||c)&&(d=`| ${d}`);const l=i(d);return s(l)?d:d.split(/(\|)/).map(e=>"|"!==e&&e.trim()?`<${t}${n}>${e}</${t}>`:e).join("")}).join("\n")})})(a),a=a.replace(/([([])\s+(?=<(?:deleted|changed)>)/gi,"$1"),(e=>{const t=e.split("\n");for(let e=1;e<t.length;e+=1){const n=i(t[e]);if(!s(n))continue;const r=i(t[e-1]);if(!(null==r?void 0:r.length))continue;for(;r.length>n.length;){const e=r.findIndex(e=>""===e);if(-1===e)break;r.splice(e,1)}const l=Math.max(r.length,n.length);let a=e+1,c=0;for(;a<t.length&&""!==t[a].trim();){const e=i(t[a]);if(!e)break;for(;e.length>l;){const t=e.findIndex(e=>""===e);if(-1===t)break;e.splice(t,1)}t[a]=d(e),c=Math.max(c,e.length),a+=1}const o=Math.max(r.length,n.length,c);for(;r.length<o;)r.push("");for(;n.length<o;)n.push("---");t[e-1]=d(r),t[e]=d(n)}return t.join("\n")})(a)};
2
- //# sourceMappingURL=normalizeRedlineMarkdown.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"normalizeRedlineMarkdown.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const e=(e,n)=>{let t=0;for(let r=n-1;r>=0&&"\\"===e[r];r-=1)t+=1;return t%2==1},n=e=>/[\p{L}\p{N}]/u.test(e),t=t=>{var r,o,s;const l=[],a=[];let c="",d=!1,i=0;for(let p=0;p<t.length;p+=1){const g=t[p];if(d){c?g!==c||e(t,p)||(c=""):'"'===g||"'"===g?c=g:">"===g&&(d=!1);continue}if(!i&&"<"===g&&/[A-Za-z/!?]/.test(null!==(r=t[p+1])&&void 0!==r?r:"")){d=!0;continue}if("`"===g&&!e(t,p)){let e=1;for(;"`"===t[p+e];)e+=1;i?i===e&&(i=0):i=e,p+=e-1;continue}if(i||"*"!==g&&"_"!==g)continue;if(e(t,p))continue;let h=1;for(;t[p+h]===g;)h+=1;const x=null!==(o=t[p-1])&&void 0!==o?o:"",u=null!==(s=t[p+h])&&void 0!==s?s:"",m="_"===g&&n(x)&&n(u),I=""!==u&&!/\s/.test(u)&&!m;let f=0,k=h;if(""!==x&&!/\s/.test(x)&&!m){let e=a.at(-1);for(;e&&e.marker===g&&k>=e.markerLength;)l.push({...e,closeIndex:p+f}),f+=e.markerLength,k-=e.markerLength,a.pop(),e=a.at(-1)}I&&k>0&&k<=3&&a.push({openIndex:p+f,marker:g,markerLength:k}),p+=h-1}return l.sort((e,n)=>e.openIndex-n.openIndex)},r=e=>{const n=[];let t="",r=0;return e.split("\n").forEach(e=>{const o=e.match(/^\s*(`{3,}|~{3,})/);if(o){const n=o[1][0];return t?t===n&&(t=""):t=n,void(r+=e.length+1)}if(!t){let t=0;e.split(/(`+[^`]*`+)/g).forEach((e,o)=>{o%2==0&&Array.from(e.matchAll(/\*{3}([ \t]*)(\S(?:.*?\S)?)([ \t]*)\*{3}/g)).forEach(e=>{var o;const s=r+t+(null!==(o=e.index)&&void 0!==o?o:0);n.push({openIndex:s,closeIndex:s+e[0].length-3,leadingSpace:e[1],content:e[2],trailingSpace:e[3]})}),t+=e.length})}r+=e.length+1}),n},o=/(<(manual|upt)\b(?:[^>"']|"[^"]*"|'[^']*')*>[\s\S]*?<\/\2\s*>)/gi;exports.collectMarkdownEmphasisRanges=t,exports.markdownWithoutEmphasisMarkers=e=>t(e).flatMap(e=>[{index:e.openIndex,length:e.markerLength},{index:e.closeIndex,length:e.markerLength}]).sort((e,n)=>n.index-e.index).reduce((e,n)=>e.slice(0,n.index)+e.slice(n.index+n.length),e),exports.normalizeCombinedEmphasisForRendering=e=>{let n="";return e.split("\n").map(e=>{const t=e.match(/^\s*(`{3,}|~{3,})/);if(t){const r=t[1][0];return n?n===r&&(n=""):n=r,e}return n?e:e.split(/(`+[^`]*`+)/g).map((e,n)=>n%2==1?e:e.replace(/\*{3}([ \t]*)(\S(?:.*?\S)?)([ \t]*)\*{3}/g,(e,n,t,r)=>`${n}***${t}***${r}`)).join("")}).join("\n")},exports.normalizeReviewBoundaryEmphasisForRendering=e=>e.replace(/(<(?:manual|upt)\b(?:[^>"']|"[^"]*"|'[^']*')*>)(<del\b(?:[^>"']|"[^"]*"|'[^']*')*>)(\*{1,3}|_{1,3})([\s\S]*?)(<\/del\s*>)([ \t]*)(<ins\b(?:[^>"']|"[^"]*"|'[^']*')*>)\3([\s\S]*?)(<\/ins\s*>)(<\/(?:manual|upt)\s*>)([^\n]*?)\3/g,(e,n,t,r,o,s,l,a,c,d,i,p)=>`${r}${n}${t}${o}${s}${l}${a}${c}${d}${i}${p}${r}`),exports.preserveEmphasisMarkersFromSource=(e,n)=>{n=((e,n)=>{const t=r(e),o=r(n);if(!t.length||!o.length)return n;const s=[];if(t.length===o.length)o.forEach((e,n)=>{s.push({sourceIndex:n,generatedIndex:n})});else{let e=0;o.forEach((n,r)=>{const o=t.findIndex((t,r)=>r>=e&&t.content===n.content);-1!==o&&(s.push({sourceIndex:o,generatedIndex:r}),e=o+1)})}let l=n;return s.sort((e,n)=>o[n.generatedIndex].openIndex-o[e.generatedIndex].openIndex).forEach(({sourceIndex:e,generatedIndex:n})=>{const r=t[e],s=o[n],a=`***${r.leadingSpace}${s.content}${r.trailingSpace}***`;l=l.slice(0,s.openIndex)+a+l.slice(s.closeIndex+3)}),l})(e,n),n=((e,n)=>{const r=t(e).filter(n=>/<(?:manual|upt)\b/i.test(e.slice(n.openIndex+n.markerLength,n.closeIndex)));let s=n;return r.sort((e,n)=>n.openIndex-e.openIndex).forEach(n=>{const t=n.marker.repeat(n.markerLength),r="*".repeat(n.markerLength),l=e.slice(n.openIndex+n.markerLength,n.closeIndex),a=l.split(new RegExp(o.source,"gi")).filter((e,n)=>e&&(n%3==0||n%3==1)).map(e=>/^<(?:manual|upt)\b/i.test(e)?e:`${r}${e}${r}`).join(""),c=`${t}${l}${t}`;a&&s.includes(a)&&(s=s.replace(a,c))}),s})(e,n);const s=t(e),l=t(n),a=(e,n)=>e.slice(n.openIndex+n.markerLength,n.closeIndex).replace(/\r\n/g,"\n"),c=s.map(n=>a(e,n)),d=l.map(e=>a(n,e)),i=[],p=(e,n)=>s[e].markerLength===l[n].markerLength&&c[e]===d[n],g=Array.from({length:c.length+1},()=>Array(d.length+1).fill(0));for(let e=c.length-1;e>=0;e-=1)for(let n=d.length-1;n>=0;n-=1)g[e][n]=p(e,n)?g[e+1][n+1]+1:Math.max(g[e+1][n],g[e][n+1]);let h=0,x=0;for(;h<c.length&&x<d.length;)p(h,x)?(i.push({sourceIndex:h,generatedIndex:x}),h+=1,x+=1):g[h+1][x]>=g[h][x+1]?h+=1:x+=1;if(s.length===l.length){const e=new Set(i.map(e=>e.generatedIndex));for(let n=0;n<l.length;n+=1)e.has(n)||s[n].markerLength!==l[n].markerLength||i.push({sourceIndex:n,generatedIndex:n})}let u=n;return i.sort((e,n)=>n.generatedIndex-e.generatedIndex),i.forEach(({sourceIndex:e,generatedIndex:n})=>{const t=s[e],r=l[n],o=t.marker.repeat(t.markerLength);u=u.slice(0,r.closeIndex)+o+u.slice(r.closeIndex+r.markerLength),u=u.slice(0,r.openIndex)+o+u.slice(r.openIndex+r.markerLength)}),u};
2
- //# sourceMappingURL=preserveMarkdownEmphasis.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"preserveMarkdownEmphasis.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const e=/<br\s*\/?>|\r\n|\r|\n/gi,t=e=>e.replace(/<[^>]*>/g," ").replace(/[*_`~]+/g,"").replace(/&nbsp;|\u00a0/gi," ").replace(/&gt;/gi,">").replace(/&lt;/gi,"<").replace(/&quot;/gi,'"').replace(/&#39;|&apos;/gi,"'").replace(/&amp;/gi,"&").replace(/\s+/g," ").trim().toLocaleLowerCase(),r=r=>{const l=Array.from(r.matchAll(new RegExp(e.source,"gi")));return l.map((e,i)=>{var n,g,s,c;const h=null!==(n=e.index)&&void 0!==n?n:0,o=i>0?(null!==(g=l[i-1].index)&&void 0!==g?g:0)+l[i-1][0].length:0,a=null!==(c=null===(s=l[i+1])||void 0===s?void 0:s.index)&&void 0!==c?c:r.length;return{raw:e[0],left:t(r.slice(o,h).slice(-100)),right:t(r.slice(h+e[0].length,a).slice(0,100))}})};exports.preserveLineBreaksFromSource=(t,l)=>{if(!t||!l)return l;const i=r(t),n=r(l);if(!i.length||!n.length)return l;if(i.length===n.length){let t=0;return l.replace(e,()=>i[t++].raw)}let g=0,s=0;return l.replace(e,e=>{const t=n[s++],r=i.findIndex((e,r)=>r>=g&&((e,t)=>{const r=Boolean(e.left&&t.left&&(e.left.endsWith(t.left)||t.left.endsWith(e.left))),l=Boolean(e.right&&t.right&&(e.right.startsWith(t.right)||t.right.startsWith(e.right)));if(r||l)return!0;const i=e.left&&e.left.length>=50&&t.left&&t.left.length>=50,n=e.right&&e.right.length>=50&&t.right&&t.right.length>=50;if(i){const r=e.left.slice(-30),l=t.left.slice(-30);if(r.split("").filter((e,t)=>l[t]===e).length>=15)return!0}if(n){const r=e.right.slice(0,30),l=t.right.slice(0,30);if(r.split("").filter((e,t)=>l[t]===e).length>=15)return!0}return!1})(e,t));return-1===r?e:(g=r+1,i[r].raw)})};
2
- //# sourceMappingURL=preserveMarkdownLineBreaks.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"preserveMarkdownLineBreaks.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const e=e=>{const n=[];let t="";return e.forEach((e,r)=>{const o=e.match(/^\s*(`{3,}|~{3,})/);if(o){const e=o[1][0];return void(t?t===e&&(t=""):t=e)}if(t)return;const s=e.match(/^(\s*)([*+-])([ \t]+)(.*)$/);s&&n.push({lineIndex:r,indent:s[1],marker:s[2],spacing:s[3],content:s[4]})}),n};exports.preserveListFormattingFromSource=(n,t)=>{if(!n||!t)return t;const r=n.split("\n"),o=t.split("\n"),s=e(r),c=e(o);if(!s.length||!c.length)return t;const i=[];if(s.length===c.length)c.forEach((e,n)=>{i.push({sourceIndex:n,generatedIndex:n})});else{let e=0;c.forEach((n,t)=>{const r=s.findIndex((t,r)=>r>=e&&t.content===n.content);-1!==r&&(i.push({sourceIndex:r,generatedIndex:t}),e=r+1)})}return i.forEach(({sourceIndex:e,generatedIndex:n})=>{const t=s[e],r=c[n];o[r.lineIndex]=`${t.indent}${t.marker}${t.spacing}`+r.content}),o.join("\n")};
2
- //# sourceMappingURL=preserveMarkdownListFormatting.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"preserveMarkdownListFormatting.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("lexical"),t=require("../plugins/ManualNode.js"),o=require("../plugins/UpdateNode.js");const n=(e,t)=>`${e.toLowerCase()}:${t}`;exports.collectReviewBoundaryWhitespace=e=>{const t=new Map;return e.querySelectorAll("manual[id], upt[id]").forEach(e=>{var o,r,i,a,l,s;const d=e.getAttribute("id");if(!d)return;const u=null===(r=null===(o=e.previousSibling)||void 0===o?void 0:o.textContent)||void 0===r?void 0:r.match(/[ \t]+$/),c=null!==(i=null==u?void 0:u[0])&&void 0!==i?i:"",p=null===(l=null===(a=e.nextSibling)||void 0===a?void 0:a.textContent)||void 0===l?void 0:l.match(/^[ \t]+/),f=null!==(s=null==p?void 0:p[0])&&void 0!==s?s:"";t.set(n(e.tagName,d),{before:c,after:f})}),t},exports.restoreReviewBoundaryWhitespace=r=>{[...e.$nodesOfType(t.ManualNode).map(e=>({tag:"manual",node:e})),...e.$nodesOfType(o.UpdateNode).map(e=>({tag:"upt",node:e}))].forEach(({tag:t,node:o})=>{const i=o.getId(),a=r.get(n(t,i));if(!a)return;const l=o.getPreviousSibling();if(e.$isTextNode(l)){const e=l.getTextContent();l.setTextContent(`${e.replace(/[ \t]*$/,"")}${a.before}`)}else a.before&&o.insertBefore(e.$createTextNode(a.before));const s=o.getNextSibling();if(e.$isTextNode(s)){const e=s.getTextContent();s.setTextContent(`${a.after}${e.replace(/^[ \t]*/,"")}`)}else a.after&&o.insertAfter(e.$createTextNode(a.after))})};
2
- //# sourceMappingURL=preserveReviewBoundaryWhitespace.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"preserveReviewBoundaryWhitespace.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const e=e=>{const n=[],t=[],r=/\r\n|\n|\r|\\r\\n|\\n|\\r/g;let l,s=0;for(;null!==(l=r.exec(e));)n.push(e.slice(s,l.index)),t.push(l[0]),s=l.index+l[0].length;return n.push(e.slice(s)),{lines:n,separators:t}},n=(e,n)=>{let t=0;for(let r=n-1;r>=0&&"\\"===e[r];r-=1)t+=1;return t%2==1},t=e=>e.flatMap((e,t)=>{const r=(e=>{let t=e.trim();if(!t.includes("|"))return 0;t.startsWith("|")&&(t=t.slice(1)),t.endsWith("|")&&!n(t,t.length-1)&&(t=t.slice(0,-1));const r=[];let l="";for(let e=0;e<t.length;e+=1)"|"!==t[e]||n(t,e)?l+=t[e]:(r.push(l.trim()),l="");return r.push(l.trim()),r.length>=2&&r.every(e=>/^:?-{3,}:?$/.test(e))?r.length:0})(e);return r?[{lineIndex:t,columnCount:r,raw:e}]:[]});exports.preserveTableDelimiterRowsFromSource=(n,r)=>{if(!n||!r)return r;const l=e(n),s=e(r),u=t(l.lines),i=t(s.lines);if(!u.length||!i.length)return r;let o=0;return i.forEach((e,n)=>{let t=u.findIndex((n,t)=>t>=o&&n.columnCount===e.columnCount);if(t<0){const r=u[n];if(!r||r.columnCount!==e.columnCount)return;t=n}s.lines[e.lineIndex]=u[t].raw,o=t+1}),(({lines:e,separators:n})=>e.map((e,t)=>{var r;return`${e}${null!==(r=n[t])&&void 0!==r?r:""}`}).join(""))(s)};
2
- //# sourceMappingURL=preserveTableDelimiters.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"preserveTableDelimiters.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const e=String.raw`(?:[^>"']|"[^"]*"|'[^']*')*`,n=String.raw`(<manual\b${e}>)([\s\S]*?)<\/manual\s*>`,t="__LEXICAL_TABLE_BOUNDARY_PART_",r=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),s=(e,n)=>{let t=0;for(let r=n-1;r>=0&&"\\"===e[r];r-=1)t+=1;return t%2==1},l=(e,n)=>{const t=[];let r="",l=0,o=!1,i="";for(let a=0;a<e.length;a+=1){const d=e[a];o?(r+=d,i?d!==i||s(e,a)||(i=""):'"'===d||"'"===d?i=d:">"===d&&(o=!1)):"<"!==d?"|"!==d||s(e,a)?r+=d:(l<n?(t.push(r),r=""):r+="\\|",l+=1):(o=!0,r+=d)}return t.push(r),{parts:t,pipeCount:l}},o=e=>l(e,0).pipeCount,i=e=>{var n;return null!==(n=e.toLocaleLowerCase().match(/[\p{L}\p{N}]+/gu))&&void 0!==n?n:[]},a=(e,n,t)=>{if(e.length===t)return e;const r=Array(t).fill("");if(1===e.length){let s=0,l=-1;return n.forEach((n,t)=>{const r=((e,n)=>{const t=i(e).join(" "),r=i(n).join(" ");if(!t||!r)return 0;if(r.includes(t))return 4*t.length;if(t.includes(r))return 4*r.length;const s=new Set(i(n));return i(e).reduce((e,n)=>e+(s.has(n)?n.length:0),0)})(e[0],n);r>l&&(s=t,l=r)}),r[Math.min(s,t-1)]=e[0],r}return e.slice(0,t).forEach((e,n)=>{r[n]=e}),r},d=(e,n,r)=>`${e}${t}${n}_OF_${r}`,u=n=>{const t=n.match(new RegExp(String.raw`^(\s*)(<del\b${e}>)([\s\S]*?)<\/del\s*>(\s*)(<ins\b${e}>)([\s\S]*?)<\/ins\s*>(\s*)$`,"i"));if(t)return{prefix:t[1],deletedOpen:t[2],deletedBody:t[3],between:t[4],insertedOpen:t[5],insertedBody:t[6],suffix:t[7]};const r=n.match(new RegExp(String.raw`^(\s*)(<(del|ins)\b${e}>)([\s\S]*?)<\/\3\s*>(\s*)$`,"i"));return r?"del"===r[3].toLowerCase()?{prefix:r[1],deletedOpen:r[2],deletedBody:r[4],between:"",suffix:r[5]}:{prefix:r[1],between:"",insertedOpen:r[2],insertedBody:r[4],suffix:r[5]}:null},c=e=>{const n=e.trim();if(!n.includes("|"))return 0;let t=n;t.startsWith("|")&&(t=t.slice(1)),t.endsWith("|")&&!s(t,t.length-1)&&(t=t.slice(0,-1));const r=l(t,Number.MAX_SAFE_INTEGER).parts.map(e=>e.trim());return r.length>0&&r.every(e=>/^:?-{3,}:?$/.test(e))?r.length:0},p=(e,t)=>{const r=Array.from(e.matchAll(new RegExp(n,"gi")));if(!r.length)return{normalized:e,plans:[]};let s=e;r.forEach(e=>{s=s.replace(e[0],"")});let i=Math.max(0,t-o(s));const c=[];return{normalized:e.replace(new RegExp(n,"gi"),(e,n,t)=>{const r=null!==(p=null===(s=n.match(/\bid\s*=\s*(?:"([^"]*)"|'([^']*)')/i))||void 0===s?void 0:s.slice(1).find(Boolean))&&void 0!==p?p:"";var s,p;const f=(e=>{var n,t;const r=u(e);return r?Math.max(o(null!==(n=r.deletedBody)&&void 0!==n?n:""),o(null!==(t=r.insertedBody)&&void 0!==t?t:"")):o(e)})(t);if(!r||!f)return e;const m=Math.min(i,f);i-=m;const h=((e,n,t,r)=>{var s,o;const i=r+1,c=u(n);let p;if(c){const e=l(null!==(s=c.deletedBody)&&void 0!==s?s:"",r).parts,n=l(null!==(o=c.insertedBody)&&void 0!==o?o:"",r).parts,t=a(e,n,i),d=a(n,e,i);p=Array.from({length:i},(e,n)=>{const r=t[n],s=d[n],l=c.deletedOpen&&r?`${c.deletedOpen}${r}</del>`:"",o=c.insertedOpen&&s?`${c.insertedOpen}${s}</ins>`:"";return`${c.prefix}${l}${c.between}${o}${c.suffix}`})}else p=l(n,r).parts;const f=p.map((n,r)=>{return n?`${s=e,l=d(t,r,i),s.replace(/(\bid\s*=\s*)(?:"[^"]*"|'[^']*')/i,(e,n)=>`${n}"${l}"`)}${n}</manual>`:"";var s,l});return{normalized:f.join("|"),slots:f.map(Boolean)}})(n,t,r,m);return h.slots.some(Boolean)?(c.push({sourceBlock:e,manualId:r,fragmentSlots:h.slots}),h.normalized):e}),plans:c}},f=e=>{const n=e.split("\n"),t=(e=>{const n=new Map;for(let t=1;t<e.length;t+=1){if(!c(e[t])||!e[t-1].includes("|"))continue;const r=o(e[t]);n.set(t-1,r),n.set(t,r);let s=t+1;for(;s<e.length&&e[s].trim()&&e[s].includes("|");)n.set(s,r),s+=1;t=s-1}return n})(n),r=[];return t.forEach((e,t)=>{const s=p(n[t],e);n[t]=s.normalized,r.push(...s.plans)}),{normalized:n.join("\n"),plans:r}};exports.normalizeTableBoundaryManualRedlines=e=>e?f(e).normalized:"",exports.preserveTableBoundaryManualRedlinesFromSource=(n,s)=>{if(!n||!s)return s;const{plans:l}=f(n);let o=s;return l.forEach(({sourceBlock:n,manualId:t,fragmentSlots:s})=>{const l=s.length,i=s.map((n,s)=>{if(!n)return"";const o=r(d(t,s,l));return String.raw`<manual\b(?=${e}\bid\s*=\s*(?:"${o}"|'${o}'))${e}>[\s\S]*?<\/manual\s*>`}),a=String.raw`(?:\s|&nbsp;|<br\s*\/?>)*\\?\|(?:\s|&nbsp;|<br\s*\/?>)*`;o=o.replace(new RegExp(i.join(a),"i"),()=>n)}),o.replace(new RegExp(`${r(t)}\\d+_OF_\\d+`,"g"),"")};
2
- //# sourceMappingURL=tableBoundaryRedlines.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tableBoundaryRedlines.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=".avatar{align-items:center;border-radius:50%;box-sizing:border-box;color:#475467;display:flex;flex-shrink:0;font-family:Inter;font-weight:600;justify-content:center;line-height:1;position:relative;user-select:none}.avatar--bordered{border:2px solid #fff}.online-dot{background:#22c55e;border:2px solid #fff;border-radius:50%;bottom:-1px;position:absolute;right:-1px}";!function(){if("undefined"==typeof document)return;const t=document.createElement("style");t.type="text/css";const o=window.__CSP_NONCE__||document.querySelector('meta[name="csp-nonce"]')?.content;o&&t.setAttribute("nonce",o),t.appendChild(document.createTextNode(e));const n=document.head||document.getElementsByTagName("head")[0]||document.documentElement;n&&n.appendChild(t)}(),exports.default=e;
2
- //# sourceMappingURL=Avatar.css.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Avatar.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime");require("./Avatar.css.js");var a=require("./avatarUtils.js");exports.default=function({name:t,online:r=!1,size:s=56,bordered:i=!1}){return e.jsxs("div",{className:"avatar "+(i?"avatar--bordered":""),style:{width:s,height:s,background:a.getAvatarColor(t),fontSize:Math.max(12,.38*s)},children:[a.getInitials(t),r&&e.jsx("span",{className:"online-dot",style:{width:Math.max(8,.28*s),height:Math.max(8,.28*s)}})]})};
2
- //# sourceMappingURL=Avatar.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Avatar.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=".avatar-group{align-items:center;cursor:pointer;display:inline-flex;gap:6px;position:relative;user-select:none}.avatar-stack{align-items:center;display:flex}.avatar-wrapper{margin-left:-10px;position:relative}.avatar-wrapper:first-child{margin-left:0}.avatar-more{align-items:center;background:#f2f4f7;border:2px solid #fff;border-radius:50%;box-sizing:border-box;color:#667085;display:flex;font-size:11px;font-weight:600;height:32px;justify-content:center;line-height:1;user-select:none;width:32px}.avatar-chevron{color:#667085;cursor:pointer;height:16px;transition:transform .2s ease;width:16px}.avatar-chevron.open{transform:rotate(180deg)}.avatar-group-container{display:inline-block;position:relative}.collaborators-popup-wrapper{left:-100px;position:absolute;z-index:1000}";!function(){if("undefined"==typeof document)return;const t=document.createElement("style");t.type="text/css";const n=window.__CSP_NONCE__||document.querySelector('meta[name="csp-nonce"]')?.content;n&&t.setAttribute("nonce",n),t.appendChild(document.createTextNode(e));const r=document.head||document.getElementsByTagName("head")[0]||document.documentElement;r&&r.appendChild(t)}(),exports.default=e;
2
- //# sourceMappingURL=CollaboratorsGroup.css.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CollaboratorsGroup.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),r=require("react");require("./CollaboratorsGroup.css.js");var s=require("./Avatar.js"),a=require("./CollaboratorsPopup.js"),t=require("lucide-react");exports.default=function({users:n,owner:o,activeUsers:i,previousUsers:c=[],maxVisible:l=3}){const u=n.slice(0,l),d=n.length-u.length,[v,p]=r.useState(!1),m=r.useRef(null);return r.useEffect(()=>{function e(e){m.current&&!m.current.contains(e.target)&&p(!1)}return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]),e.jsxs("div",{className:"avatar-group-container",ref:m,children:[e.jsxs("div",{className:"avatar-group",onClick:()=>p(e=>!e),children:[e.jsxs("div",{className:"avatar-stack",children:[u.map((r,a)=>e.jsx("div",{className:"avatar-wrapper",style:{zIndex:a+1},children:e.jsx(s.default,{name:r.name,online:r.online,size:32,bordered:!0})},r.id)),d>0&&e.jsx("div",{className:"avatar-wrapper",style:{zIndex:u.length+1},children:e.jsxs("div",{className:"avatar-more",children:["+",d]})})]}),e.jsx(t.ChevronDown,{className:"avatar-chevron "+(v?"open":"")})]}),v&&e.jsx("div",{className:"collaborators-popup-wrapper",children:e.jsx(a.default,{owner:o,activeUsers:i,previousUsers:c})})]})};
2
- //# sourceMappingURL=CollaboratorsGroup.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CollaboratorsGroup.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=".collaborators-popover{background:#fff;border-radius:12px;box-shadow:0 10px 30px #0000001f,0 2px 8px #0000000f;font-family:Inter,sans-serif;max-height:400px;overflow-y:auto;padding:12px;width:280px}.owner-section,.user-row{align-items:center;display:flex}.user-row+.user-row{margin-top:10px}.user-info{margin-left:12px;min-width:0}.user-name{align-items:center;color:#344054;display:flex;font-size:14px;font-weight:600;gap:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.you{color:#667085;font-weight:400}.user-subtitle{color:#667085;font-size:13px;margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.divider{background:#eaecf0;height:1px;margin:12px 0}.section-title{color:#98a2b3;font-size:12px;font-weight:600;letter-spacing:.04em;margin-bottom:10px;text-transform:uppercase}.section-title.previous{margin-top:18px}.faded{opacity:.45}.user-text{display:inline-block;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}";!function(){if("undefined"==typeof document)return;const t=document.createElement("style");t.type="text/css";const o=window.__CSP_NONCE__||document.querySelector('meta[name="csp-nonce"]')?.content;o&&t.setAttribute("nonce",o),t.appendChild(document.createTextNode(e));const n=document.head||document.getElementsByTagName("head")[0]||document.documentElement;n&&n.appendChild(t)}(),exports.default=e;
2
- //# sourceMappingURL=CollaboratorsPopup.css.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CollaboratorsPopup.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime");require("./CollaboratorsPopup.css.js");var s=require("./Avatar.js"),i=require("@mui/material");function r({user:r}){return e.jsxs("div",{className:"user-row "+(r.faded?"faded":""),children:[e.jsx(s.default,{name:r.name,online:r.online,size:40}),e.jsxs("div",{className:"user-info",children:[e.jsxs("div",{className:"user-name",children:[e.jsx(i.Tooltip,{title:r.name,children:e.jsx("span",{className:"user-text",children:r.name})}),!!r.isUser&&e.jsx("span",{className:"you",children:"(You)"})]}),e.jsx("div",{className:"user-subtitle",children:e.jsx(i.Tooltip,{title:r.subtitle,children:e.jsx("span",{className:"user-text",children:r.subtitle})})})]})]})}exports.default=function({owner:a,activeUsers:l,previousUsers:n=[]}){return e.jsxs("div",{className:"collaborators-popover",children:[a&&e.jsxs("div",{className:"owner-section",children:[e.jsx(s.default,{name:a.name,online:a.online,size:40}),e.jsxs("div",{className:"user-info",children:[e.jsxs("div",{className:"user-name",children:[e.jsx(i.Tooltip,{title:a.name,children:e.jsx("span",{className:"user-text",children:a.name})}),!!a.isUser&&e.jsx("span",{className:"you",children:"(You)"})]}),e.jsx("div",{className:"user-subtitle",children:"Owner"})]})]}),(l.length>0||n.length>0)&&e.jsx("div",{className:"divider"}),l.length>0&&e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"section-title",children:"On this document"}),l.map(s=>e.jsx(r,{user:s},s.id))]}),n.length>0&&e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"section-title previous",children:"Previously active"}),n.map(s=>e.jsx(r,{user:{...s,faded:!0}},s.id))]})]})};
2
- //# sourceMappingURL=CollaboratorsPopup.js.map