@e-llm-studio/citation 0.0.249 → 0.0.251-beta.1

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 (2362) hide show
  1. package/README.md +36 -183
  2. package/dist/BPACitationRenderer.js +2 -0
  3. package/dist/BPACitationRenderer.js.map +1 -0
  4. package/dist/BookCitation.js +2 -0
  5. package/dist/BookCitation.js.map +1 -0
  6. package/dist/Bookemon.js +2 -0
  7. package/dist/Bookemon.js.map +1 -0
  8. package/dist/ChatCitation.js +2 -0
  9. package/dist/ChatCitation.js.map +1 -0
  10. package/dist/ChatDrawer.js +2 -0
  11. package/dist/ChatDrawer.js.map +1 -0
  12. package/dist/CitationRenderer.js +2 -0
  13. package/dist/CitationRenderer.js.map +1 -0
  14. package/dist/CodeCitation.js +2 -0
  15. package/dist/CodeCitation.js.map +1 -0
  16. package/dist/CognitiveInternalgptCoreComponent.js +2 -0
  17. package/dist/CognitiveInternalgptCoreComponent.js.map +1 -0
  18. package/dist/CognitiveInternalgptReasoning.js +2 -0
  19. package/dist/CognitiveInternalgptReasoning.js.map +1 -0
  20. package/dist/GptWebCitation.js +2 -0
  21. package/dist/GptWebCitation.js.map +1 -0
  22. package/dist/IngestionStatusComponent.js +2 -0
  23. package/dist/IngestionStatusComponent.js.map +1 -0
  24. package/dist/PdfViewer.js +2 -0
  25. package/dist/PdfViewer.js.map +1 -0
  26. package/dist/ProjectAccordion.js +2 -0
  27. package/dist/ProjectAccordion.js.map +1 -0
  28. package/dist/SplitterCitationsComponent.js +2 -0
  29. package/dist/SplitterCitationsComponent.js.map +1 -0
  30. package/dist/TextualGuideLinesComponent.js +2 -0
  31. package/dist/TextualGuideLinesComponent.js.map +1 -0
  32. package/dist/assests/icons/CitationsIcon.js +1 -1
  33. package/dist/assests/icons/CitationsIcon.js.map +1 -1
  34. package/dist/assests/icons/CitationsSparkleIcon.js +1 -1
  35. package/dist/assests/icons/CitationsSparkleIcon.js.map +1 -1
  36. package/dist/assests/icons/InfoAlert.js +1 -1
  37. package/dist/assests/icons/InfoAlert.js.map +1 -1
  38. package/dist/assests/svg/ButtonCognitiveIcon.js +1 -1
  39. package/dist/assests/svg/ButtonCognitiveIcon.js.map +1 -1
  40. package/dist/assests/svg/NeuralNetworkIcon.js +1 -1
  41. package/dist/assests/svg/NeuralNetworkIcon.js.map +1 -1
  42. package/dist/assests/svg/PdfViewerIcons.js +1 -1
  43. package/dist/assests/svg/PdfViewerIcons.js.map +1 -1
  44. package/dist/assests/svg/SparkleIcon.js +1 -1
  45. package/dist/assests/svg/SparkleIcon.js.map +1 -1
  46. package/dist/assests/svg/chevronDownArrow.svg.js.map +1 -1
  47. package/dist/assests/svg/chevronUp.svg.js.map +1 -1
  48. package/dist/cjs/BPACitationRenderer.js +2 -0
  49. package/dist/cjs/BPACitationRenderer.js.map +1 -0
  50. package/dist/cjs/BookCitation.js +2 -0
  51. package/dist/cjs/BookCitation.js.map +1 -0
  52. package/dist/cjs/Bookemon.js +2 -0
  53. package/dist/cjs/Bookemon.js.map +1 -0
  54. package/dist/cjs/ChatCitation.js +2 -0
  55. package/dist/cjs/ChatCitation.js.map +1 -0
  56. package/dist/cjs/ChatDrawer.js +2 -0
  57. package/dist/cjs/ChatDrawer.js.map +1 -0
  58. package/dist/cjs/CitationRenderer.js +2 -0
  59. package/dist/cjs/CitationRenderer.js.map +1 -0
  60. package/dist/cjs/CodeCitation.js +2 -0
  61. package/dist/cjs/CodeCitation.js.map +1 -0
  62. package/dist/cjs/CognitiveInternalgptCoreComponent.js +2 -0
  63. package/dist/cjs/CognitiveInternalgptCoreComponent.js.map +1 -0
  64. package/dist/cjs/CognitiveInternalgptReasoning.js +2 -0
  65. package/dist/cjs/CognitiveInternalgptReasoning.js.map +1 -0
  66. package/dist/cjs/GptWebCitation.js +2 -0
  67. package/dist/cjs/GptWebCitation.js.map +1 -0
  68. package/dist/cjs/IngestionStatusComponent.js +2 -0
  69. package/dist/cjs/IngestionStatusComponent.js.map +1 -0
  70. package/dist/cjs/PdfViewer.js +2 -0
  71. package/dist/cjs/PdfViewer.js.map +1 -0
  72. package/dist/cjs/ProjectAccordion.js +2 -0
  73. package/dist/cjs/ProjectAccordion.js.map +1 -0
  74. package/dist/cjs/SplitterCitationsComponent.js +2 -0
  75. package/dist/cjs/SplitterCitationsComponent.js.map +1 -0
  76. package/dist/cjs/TextualGuideLinesComponent.js +2 -0
  77. package/dist/cjs/TextualGuideLinesComponent.js.map +1 -0
  78. package/dist/cjs/assests/icons/CitationsIcon.js +1 -1
  79. package/dist/cjs/assests/icons/CitationsIcon.js.map +1 -1
  80. package/dist/cjs/assests/icons/CitationsSparkleIcon.js +1 -1
  81. package/dist/cjs/assests/icons/CitationsSparkleIcon.js.map +1 -1
  82. package/dist/cjs/assests/icons/InfoAlert.js +1 -1
  83. package/dist/cjs/assests/icons/InfoAlert.js.map +1 -1
  84. package/dist/cjs/assests/svg/ButtonCognitiveIcon.js +1 -1
  85. package/dist/cjs/assests/svg/ButtonCognitiveIcon.js.map +1 -1
  86. package/dist/cjs/assests/svg/NeuralNetworkIcon.js +1 -1
  87. package/dist/cjs/assests/svg/NeuralNetworkIcon.js.map +1 -1
  88. package/dist/cjs/assests/svg/PdfViewerIcons.js +1 -1
  89. package/dist/cjs/assests/svg/PdfViewerIcons.js.map +1 -1
  90. package/dist/cjs/assests/svg/SparkleIcon.js +1 -1
  91. package/dist/cjs/assests/svg/SparkleIcon.js.map +1 -1
  92. package/dist/cjs/assests/svg/chevronDownArrow.svg.js.map +1 -1
  93. package/dist/cjs/assests/svg/chevronUp.svg.js.map +1 -1
  94. package/dist/cjs/constants/diagnosticStylesBySeverity.js +1 -1
  95. package/dist/cjs/constants/diagnosticStylesBySeverity.js.map +1 -1
  96. package/dist/cjs/features/BPACitationRenderer/BPACitationRenderer.js +1 -1
  97. package/dist/cjs/features/BPACitationRenderer/BPACitationRenderer.js.map +1 -1
  98. package/dist/cjs/features/BPACitationRenderer/citationTypes.js.map +1 -1
  99. package/dist/cjs/features/BookCitation/BookCitation.js +1 -1
  100. package/dist/cjs/features/BookCitation/BookCitation.js.map +1 -1
  101. package/dist/cjs/features/BookCitation/BookCitation.module.css.js +1 -1
  102. package/dist/cjs/features/BookCitation/text-cleaner.js +1 -1
  103. package/dist/cjs/features/BookCitation/text-cleaner.js.map +1 -1
  104. package/dist/cjs/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.js +1 -1
  105. package/dist/cjs/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.js.map +1 -1
  106. package/dist/cjs/features/Bookemon/BookDetailsCard/BookDetailsCard.css.js +2 -0
  107. package/dist/cjs/features/Bookemon/BookDetailsCard/BookDetailsCard.css.js.map +1 -0
  108. package/dist/cjs/features/Bookemon/BookDetailsCard/BookDetailsCard.js +1 -1
  109. package/dist/cjs/features/Bookemon/BookDetailsCard/BookDetailsCard.js.map +1 -1
  110. package/dist/cjs/features/Bookemon/BookElementsCard/BookElementsCard.css.js +2 -0
  111. package/dist/cjs/features/Bookemon/BookElementsCard/BookElementsCard.css.js.map +1 -0
  112. package/dist/cjs/features/Bookemon/BookElementsCard/BookElementsCard.js +1 -1
  113. package/dist/cjs/features/Bookemon/BookElementsCard/BookElementsCard.js.map +1 -1
  114. package/dist/cjs/features/Bookemon/BookOverviewCard/BookOverviewCard.css.js +2 -0
  115. package/dist/cjs/features/Bookemon/BookOverviewCard/BookOverviewCard.css.js.map +1 -0
  116. package/dist/cjs/features/Bookemon/BookOverviewCard/BookOverviewCard.js +1 -1
  117. package/dist/cjs/features/Bookemon/BookOverviewCard/BookOverviewCard.js.map +1 -1
  118. package/dist/cjs/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.css.js +2 -0
  119. package/dist/cjs/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.css.js.map +1 -0
  120. package/dist/cjs/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.js +1 -1
  121. package/dist/cjs/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.js.map +1 -1
  122. package/dist/cjs/features/Bookemon/BookPreview/BookPreview.css.js +2 -0
  123. package/dist/cjs/features/Bookemon/BookPreview/BookPreview.css.js.map +1 -0
  124. package/dist/cjs/features/Bookemon/BookPreview/BookPreview.js +1 -1
  125. package/dist/cjs/features/Bookemon/BookPreview/BookPreview.js.map +1 -1
  126. package/dist/cjs/features/Bookemon/Bookemon.js +1 -1
  127. package/dist/cjs/features/Bookemon/Bookemon.js.map +1 -1
  128. package/dist/cjs/features/Bookemon/BookemonCitationLayer.js +1 -1
  129. package/dist/cjs/features/Bookemon/BookemonCitationLayer.js.map +1 -1
  130. package/dist/cjs/features/Bookemon/BookemonContent.js +1 -1
  131. package/dist/cjs/features/Bookemon/BookemonContent.js.map +1 -1
  132. package/dist/cjs/features/Bookemon/utils/highlight.js +1 -1
  133. package/dist/cjs/features/Bookemon/utils/highlight.js.map +1 -1
  134. package/dist/cjs/features/ChatCitation/BigQueryTable.js +1 -1
  135. package/dist/cjs/features/ChatCitation/BigQueryTable.js.map +1 -1
  136. package/dist/cjs/features/ChatCitation/ChatCitationRenderer.js +1 -1
  137. package/dist/cjs/features/ChatCitation/ChatCitationRenderer.js.map +1 -1
  138. package/dist/cjs/features/ChatCitation/InternalChatCitationRenderer.js +1 -1
  139. package/dist/cjs/features/ChatCitation/InternalChatCitationRenderer.js.map +1 -1
  140. package/dist/cjs/features/ChatCitation/assets/cw_chat.svg.js.map +1 -1
  141. package/dist/cjs/features/ChatCitation/assets/message-chat-square.svg.js.map +1 -1
  142. package/dist/cjs/features/ChatCitation/components/AssistantChatItem.js +1 -1
  143. package/dist/cjs/features/ChatCitation/components/AssistantChatItem.js.map +1 -1
  144. package/dist/cjs/features/ChatCitation/components/ChatCitation.js +1 -1
  145. package/dist/cjs/features/ChatCitation/components/ChatCitation.js.map +1 -1
  146. package/dist/cjs/features/ChatCitation/components/Chip.js +1 -1
  147. package/dist/cjs/features/ChatCitation/components/Chip.js.map +1 -1
  148. package/dist/cjs/features/ChatCitation/components/DetailedView.js +1 -1
  149. package/dist/cjs/features/ChatCitation/components/DetailedView.js.map +1 -1
  150. package/dist/cjs/features/ChatCitation/components/IconContainer.js +1 -1
  151. package/dist/cjs/features/ChatCitation/components/IconContainer.js.map +1 -1
  152. package/dist/cjs/features/ChatCitation/components/InViewNavigation.js +1 -1
  153. package/dist/cjs/features/ChatCitation/components/InViewNavigation.js.map +1 -1
  154. package/dist/cjs/features/ChatCitation/components/MarkdownRenderer.js +1 -1
  155. package/dist/cjs/features/ChatCitation/components/MarkdownRenderer.js.map +1 -1
  156. package/dist/cjs/features/ChatCitation/components/RuleBook.js +1 -1
  157. package/dist/cjs/features/ChatCitation/components/RuleBook.js.map +1 -1
  158. package/dist/cjs/features/ChatCitation/components/SummarizedView.js +1 -1
  159. package/dist/cjs/features/ChatCitation/components/SummarizedView.js.map +1 -1
  160. package/dist/cjs/features/ChatCitation/components/UserChatItem.js +1 -1
  161. package/dist/cjs/features/ChatCitation/components/UserChatItem.js.map +1 -1
  162. package/dist/cjs/features/ChatCitation/components/UserInitialsAsAvatar.js +1 -1
  163. package/dist/cjs/features/ChatCitation/components/UserInitialsAsAvatar.js.map +1 -1
  164. package/dist/cjs/features/ChatCitation/components/wrappers/Modal.js +1 -1
  165. package/dist/cjs/features/ChatCitation/components/wrappers/Modal.js.map +1 -1
  166. package/dist/cjs/features/ChatCitation/constants/renderer.js +1 -1
  167. package/dist/cjs/features/ChatCitation/constants/renderer.js.map +1 -1
  168. package/dist/cjs/features/ChatCitation/styles/common.css.js +2 -0
  169. package/dist/cjs/features/ChatCitation/styles/common.css.js.map +1 -0
  170. package/dist/cjs/features/ChatCitation/utils/helpers.js +1 -1
  171. package/dist/cjs/features/ChatCitation/utils/helpers.js.map +1 -1
  172. package/dist/cjs/features/ChatDrawer/ChatDrawer.js +1 -1
  173. package/dist/cjs/features/ChatDrawer/ChatDrawer.js.map +1 -1
  174. package/dist/cjs/features/ChatDrawer/constants/ChatDrawer.js.map +1 -1
  175. package/dist/cjs/features/CitationRenderer/CitationRenderer.js +1 -1
  176. package/dist/cjs/features/CitationRenderer/CitationRenderer.js.map +1 -1
  177. package/dist/cjs/features/CitationRenderer/CitationRenderer.module.css.js +1 -1
  178. package/dist/cjs/features/CitationRenderer/MarkdownRenderer.js +1 -1
  179. package/dist/cjs/features/CitationRenderer/MarkdownRenderer.js.map +1 -1
  180. package/dist/cjs/features/CitationRenderer/MarkdownRenderer.module.css.js +1 -1
  181. package/dist/cjs/features/CitationViewer/CitationsViewer.js +1 -1
  182. package/dist/cjs/features/CitationViewer/CitationsViewer.js.map +1 -1
  183. package/dist/cjs/features/CitationViewer/components/AudioWaveform.js +1 -1
  184. package/dist/cjs/features/CitationViewer/components/AudioWaveform.js.map +1 -1
  185. package/dist/cjs/features/CitationViewer/components/Header.js +1 -1
  186. package/dist/cjs/features/CitationViewer/components/Header.js.map +1 -1
  187. package/dist/cjs/features/CitationViewer/components/KeyTakeaways.js +1 -1
  188. package/dist/cjs/features/CitationViewer/components/KeyTakeaways.js.map +1 -1
  189. package/dist/cjs/features/CitationViewer/components/StormeeChatCitation.module.css.js +1 -1
  190. package/dist/cjs/features/CitationViewer/components/Transcript.js +1 -1
  191. package/dist/cjs/features/CitationViewer/components/Transcript.js.map +1 -1
  192. package/dist/cjs/features/CitationViewer/config/apiConfig.js +1 -1
  193. package/dist/cjs/features/CitationViewer/config/apiConfig.js.map +1 -1
  194. package/dist/cjs/features/CitationViewer/hooks/getSignedUrl.js +1 -1
  195. package/dist/cjs/features/CitationViewer/hooks/getSignedUrl.js.map +1 -1
  196. package/dist/cjs/features/CitationViewer/hooks/useResolvedAudioUrl.js +1 -1
  197. package/dist/cjs/features/CitationViewer/hooks/useResolvedAudioUrl.js.map +1 -1
  198. package/dist/cjs/features/CodeCitation/CodeCitation.js +1 -1
  199. package/dist/cjs/features/CodeCitation/CodeCitation.js.map +1 -1
  200. package/dist/cjs/features/CodeCitation/CodeCitation.module.css.js +1 -1
  201. package/dist/cjs/features/CodeCitation/_components/Accordian.js +1 -1
  202. package/dist/cjs/features/CodeCitation/_components/Accordian.js.map +1 -1
  203. package/dist/cjs/features/CodeCitation/_components/CodeCitationPopup.js +1 -1
  204. package/dist/cjs/features/CodeCitation/_components/CodeCitationPopup.js.map +1 -1
  205. package/dist/cjs/features/CodeCitation/_components/CodeCitationsStats.js +1 -1
  206. package/dist/cjs/features/CodeCitation/_components/CodeCitationsStats.js.map +1 -1
  207. package/dist/cjs/features/CodeCitation/_components/CodeEditor.js +1 -1
  208. package/dist/cjs/features/CodeCitation/_components/CodeEditor.js.map +1 -1
  209. package/dist/cjs/features/CodeCitation/_components/DescriptionWithToggle.js +1 -1
  210. package/dist/cjs/features/CodeCitation/_components/DescriptionWithToggle.js.map +1 -1
  211. package/dist/cjs/features/CodeCitation/_components/HighlightedCodeDetails.js +1 -1
  212. package/dist/cjs/features/CodeCitation/_components/HighlightedCodeDetails.js.map +1 -1
  213. package/dist/cjs/features/CodeCitation/_components/RepoAndBranchTag.js +1 -1
  214. package/dist/cjs/features/CodeCitation/_components/RepoAndBranchTag.js.map +1 -1
  215. package/dist/cjs/features/CodeCitation/_components/Spinner.js +1 -1
  216. package/dist/cjs/features/CodeCitation/_components/Spinner.js.map +1 -1
  217. package/dist/cjs/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.js +1 -1
  218. package/dist/cjs/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.js.map +1 -1
  219. package/dist/cjs/features/CodeCitation/_components/StatsComponents/DbStatsComponent.js +1 -1
  220. package/dist/cjs/features/CodeCitation/_components/StatsComponents/DbStatsComponent.js.map +1 -1
  221. package/dist/cjs/features/CodeCitation/_components/StatsComponents/StatsComponent.js +1 -1
  222. package/dist/cjs/features/CodeCitation/_components/StatsComponents/StatsComponent.js.map +1 -1
  223. package/dist/cjs/features/CodeCitation/_components/ThemeToggle.js +1 -1
  224. package/dist/cjs/features/CodeCitation/_components/ThemeToggle.js.map +1 -1
  225. package/dist/cjs/features/CodeCitation/_components/TooltipComponent.js +1 -1
  226. package/dist/cjs/features/CodeCitation/_components/TooltipComponent.js.map +1 -1
  227. package/dist/cjs/features/CognitiveCompare/CitationAnchor.js +1 -1
  228. package/dist/cjs/features/CognitiveCompare/CitationAnchor.js.map +1 -1
  229. package/dist/cjs/features/CognitiveCompare/CitationRenderer.js +1 -1
  230. package/dist/cjs/features/CognitiveCompare/CitationRenderer.js.map +1 -1
  231. package/dist/cjs/features/CognitiveCompare/CognitiveCompare.js +1 -1
  232. package/dist/cjs/features/CognitiveCompare/CognitiveCompare.js.map +1 -1
  233. package/dist/cjs/features/CognitiveCompare/CognitiveCompareConfig.js +1 -1
  234. package/dist/cjs/features/CognitiveCompare/CognitiveCompareConfig.js.map +1 -1
  235. package/dist/cjs/features/CognitiveCompare/CognitiveCompareConstants.js.map +1 -1
  236. package/dist/cjs/features/CognitiveCompare/CognitiveComparehelpers.js +1 -1
  237. package/dist/cjs/features/CognitiveCompare/CognitiveComparehelpers.js.map +1 -1
  238. package/dist/cjs/features/CognitiveCompare/CognitivePopup.js +1 -1
  239. package/dist/cjs/features/CognitiveCompare/CognitivePopup.js.map +1 -1
  240. package/dist/cjs/features/CognitiveCompare/CompareContext.js +1 -1
  241. package/dist/cjs/features/CognitiveCompare/CompareContext.js.map +1 -1
  242. package/dist/cjs/features/CognitiveCompare/Guidelines/components/GuidelinePanel.js +1 -1
  243. package/dist/cjs/features/CognitiveCompare/Guidelines/components/GuidelinePanel.js.map +1 -1
  244. package/dist/cjs/features/CognitiveCompare/Guidelines/components/WebGptPanel.js +1 -1
  245. package/dist/cjs/features/CognitiveCompare/Guidelines/components/WebGptPanel.js.map +1 -1
  246. package/dist/cjs/features/CognitiveCompare/Guidelines/utils/helper.js +1 -1
  247. package/dist/cjs/features/CognitiveCompare/Guidelines/utils/helper.js.map +1 -1
  248. package/dist/cjs/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.js +1 -1
  249. package/dist/cjs/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.js.map +1 -1
  250. package/dist/cjs/features/CognitiveCompare/LoaderComponent.js +1 -1
  251. package/dist/cjs/features/CognitiveCompare/LoaderComponent.js.map +1 -1
  252. package/dist/cjs/features/CognitiveCompare/MoreFunctionsPopup.js +1 -1
  253. package/dist/cjs/features/CognitiveCompare/MoreFunctionsPopup.js.map +1 -1
  254. package/dist/cjs/features/CognitiveCompare/OverlayComponent.js +1 -1
  255. package/dist/cjs/features/CognitiveCompare/OverlayComponent.js.map +1 -1
  256. package/dist/cjs/features/CognitiveCompare/ResizableSplitPane.js +1 -1
  257. package/dist/cjs/features/CognitiveCompare/ResizableSplitPane.js.map +1 -1
  258. package/dist/cjs/features/CognitiveCompare/components/CognitiveSummaryPopup.js +1 -1
  259. package/dist/cjs/features/CognitiveCompare/components/CognitiveSummaryPopup.js.map +1 -1
  260. package/dist/cjs/features/CognitiveCompare/components/CompareHeader.js +1 -1
  261. package/dist/cjs/features/CognitiveCompare/components/CompareHeader.js.map +1 -1
  262. package/dist/cjs/features/CognitiveCompare/components/LHSSectionRow.js +1 -1
  263. package/dist/cjs/features/CognitiveCompare/components/LHSSectionRow.js.map +1 -1
  264. package/dist/cjs/features/CognitiveCompare/components/RHSSectionRow.js +1 -1
  265. package/dist/cjs/features/CognitiveCompare/components/RHSSectionRow.js.map +1 -1
  266. package/dist/cjs/features/CognitiveCompare/components/ScrollLockToggle.js +1 -1
  267. package/dist/cjs/features/CognitiveCompare/components/ScrollLockToggle.js.map +1 -1
  268. package/dist/cjs/features/CognitiveCompare/components/SectionAccordion.js +1 -1
  269. package/dist/cjs/features/CognitiveCompare/components/SectionAccordion.js.map +1 -1
  270. package/dist/cjs/features/CognitiveCompare/components/SubSectionAccordion.js +1 -1
  271. package/dist/cjs/features/CognitiveCompare/components/SubSectionAccordion.js.map +1 -1
  272. package/dist/cjs/features/CognitiveCompare/components/SvgConnectors.js +1 -1
  273. package/dist/cjs/features/CognitiveCompare/components/SvgConnectors.js.map +1 -1
  274. package/dist/cjs/features/CognitiveCompare/components/ThreeDotsLoader.js +1 -1
  275. package/dist/cjs/features/CognitiveCompare/components/ThreeDotsLoader.js.map +1 -1
  276. package/dist/cjs/features/CognitiveCompare/components/connectedLines.js +1 -1
  277. package/dist/cjs/features/CognitiveCompare/components/connectedLines.js.map +1 -1
  278. package/dist/cjs/features/CognitiveCompare/hooks/memoizedMarkdown.js +1 -1
  279. package/dist/cjs/features/CognitiveCompare/hooks/memoizedMarkdown.js.map +1 -1
  280. package/dist/cjs/features/CognitiveCompare/hooks/useAccordionState.js +1 -1
  281. package/dist/cjs/features/CognitiveCompare/hooks/useAccordionState.js.map +1 -1
  282. package/dist/cjs/features/CognitiveCompare/hooks/useCompareData.js +1 -1
  283. package/dist/cjs/features/CognitiveCompare/hooks/useCompareData.js.map +1 -1
  284. package/dist/cjs/features/CognitiveCompare/hooks/useComparePopups.js +1 -1
  285. package/dist/cjs/features/CognitiveCompare/hooks/useComparePopups.js.map +1 -1
  286. package/dist/cjs/features/CognitiveCompare/hooks/useDeviationNavigation.js +1 -1
  287. package/dist/cjs/features/CognitiveCompare/hooks/useDeviationNavigation.js.map +1 -1
  288. package/dist/cjs/features/CognitiveCompare/hooks/useLinesCalculator.js +1 -1
  289. package/dist/cjs/features/CognitiveCompare/hooks/useLinesCalculator.js.map +1 -1
  290. package/dist/cjs/features/CognitiveCompare/hooks/useResizeHandler.js +1 -1
  291. package/dist/cjs/features/CognitiveCompare/hooks/useResizeHandler.js.map +1 -1
  292. package/dist/cjs/features/CognitiveCompare/hooks/useSectionRefs.js +1 -1
  293. package/dist/cjs/features/CognitiveCompare/hooks/useSectionRefs.js.map +1 -1
  294. package/dist/cjs/features/CognitiveCompare/hooks/useSideBySide.js +1 -1
  295. package/dist/cjs/features/CognitiveCompare/hooks/useSideBySide.js.map +1 -1
  296. package/dist/cjs/features/CognitiveCompare/hooks/useStyles.js +1 -1
  297. package/dist/cjs/features/CognitiveCompare/hooks/useStyles.js.map +1 -1
  298. package/dist/cjs/features/CognitiveCompare/utils/buildComparisonRows.js +1 -1
  299. package/dist/cjs/features/CognitiveCompare/utils/buildComparisonRows.js.map +1 -1
  300. package/dist/cjs/features/CognitiveDecisioning/CognitiveDecisioningWrapper.js +1 -1
  301. package/dist/cjs/features/CognitiveDecisioning/CognitiveDecisioningWrapper.js.map +1 -1
  302. package/dist/cjs/features/CognitiveDecisioning/CognitiveDecisioningWrapper.module.css.js +1 -1
  303. package/dist/cjs/features/CognitiveDecisioning/FaqCitation/FaqCitation.js +1 -1
  304. package/dist/cjs/features/CognitiveDecisioning/FaqCitation/FaqCitation.js.map +1 -1
  305. package/dist/cjs/features/CognitiveDecisioning/FaqCitation/FaqCitation.module.css.js +1 -1
  306. package/dist/cjs/features/CognitiveDecisioning/shared/Audacy/GapIcon.js +1 -1
  307. package/dist/cjs/features/CognitiveDecisioning/shared/Audacy/GapIcon.js.map +1 -1
  308. package/dist/cjs/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.js +1 -1
  309. package/dist/cjs/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.js.map +1 -1
  310. package/dist/cjs/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.js +1 -1
  311. package/dist/cjs/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.js.map +1 -1
  312. package/dist/cjs/features/CognitiveInternalgptReasoning/CognitiveNonWebSearchReasoning.module.css.js +1 -1
  313. package/dist/cjs/features/DualCitation/RuleBookCitationApiComponent.js +1 -1
  314. package/dist/cjs/features/DualCitation/RuleBookCitationApiComponent.js.map +1 -1
  315. package/dist/cjs/features/DualCitation/RuleBookCitationComponent.js +1 -1
  316. package/dist/cjs/features/DualCitation/RuleBookCitationComponent.js.map +1 -1
  317. package/dist/cjs/features/DualCitation/SourceBQDataCompnent.js +1 -1
  318. package/dist/cjs/features/DualCitation/SourceBQDataCompnent.js.map +1 -1
  319. package/dist/cjs/features/DualCitation/SourceBQDataCompnent.module.css.js +1 -1
  320. package/dist/cjs/features/ExcelCitation/ExcelCitations.js +1 -1
  321. package/dist/cjs/features/ExcelCitation/ExcelCitations.js.map +1 -1
  322. package/dist/cjs/features/ExcelCitation/css/excel-citation.css.js +2 -0
  323. package/dist/cjs/features/ExcelCitation/css/excel-citation.css.js.map +1 -0
  324. package/dist/cjs/features/ExcelCitation/utils/helper.js +1 -1
  325. package/dist/cjs/features/ExcelCitation/utils/helper.js.map +1 -1
  326. package/dist/cjs/features/GptWebCitation/GptWebCitation.js +1 -1
  327. package/dist/cjs/features/GptWebCitation/GptWebCitation.js.map +1 -1
  328. package/dist/cjs/features/GptWebCitation/GptWebCitation.module.css.js +1 -1
  329. package/dist/cjs/features/GptWebCitation/GptWebCitationImageCitation.js +1 -1
  330. package/dist/cjs/features/GptWebCitation/GptWebCitationImageCitation.js.map +1 -1
  331. package/dist/cjs/features/GptWebCitation/GptWebCitationImageFullScreenView.js +1 -1
  332. package/dist/cjs/features/GptWebCitation/GptWebCitationImageFullScreenView.js.map +1 -1
  333. package/dist/cjs/features/GptWebCitation/GptWebCitationSkeleton.js +1 -1
  334. package/dist/cjs/features/GptWebCitation/GptWebCitationSkeleton.js.map +1 -1
  335. package/dist/cjs/features/GptWebCitation/types.js +1 -1
  336. package/dist/cjs/features/GptWebCitation/types.js.map +1 -1
  337. package/dist/cjs/features/GptWebCitation/utils/citationData.utils.js +1 -1
  338. package/dist/cjs/features/GptWebCitation/utils/citationData.utils.js.map +1 -1
  339. package/dist/cjs/features/GptWebCitation/utils/fixedHeight.utils.js +1 -1
  340. package/dist/cjs/features/GptWebCitation/utils/fixedHeight.utils.js.map +1 -1
  341. package/dist/cjs/features/GptWebCitation/utils/styleOverrides.utils.js +1 -1
  342. package/dist/cjs/features/GptWebCitation/utils/styleOverrides.utils.js.map +1 -1
  343. package/dist/cjs/features/IngestionStatus/IngestionStatusComponent.js +1 -1
  344. package/dist/cjs/features/IngestionStatus/IngestionStatusComponent.js.map +1 -1
  345. package/dist/cjs/features/IngestionStatus/ingestion.module.css.js +1 -1
  346. package/dist/cjs/features/IngestionStatus/useIngestionStatus.js +1 -1
  347. package/dist/cjs/features/IngestionStatus/useIngestionStatus.js.map +1 -1
  348. package/dist/cjs/features/InstantLearningCitation/CongnitiveDecisioningComponent.js +1 -1
  349. package/dist/cjs/features/InstantLearningCitation/CongnitiveDecisioningComponent.js.map +1 -1
  350. package/dist/cjs/features/InstantLearningCitation/HistorySkeleton.js +1 -1
  351. package/dist/cjs/features/InstantLearningCitation/HistorySkeleton.js.map +1 -1
  352. package/dist/cjs/features/InstantLearningCitation/InstantLearningCitation.js +1 -1
  353. package/dist/cjs/features/InstantLearningCitation/InstantLearningCitation.js.map +1 -1
  354. package/dist/cjs/features/InstantLearningCitation/InstantLearningCitationComponent.js +1 -1
  355. package/dist/cjs/features/InstantLearningCitation/InstantLearningCitationComponent.js.map +1 -1
  356. package/dist/cjs/features/InstantLearningCitation/OverrideTimeline.js +1 -1
  357. package/dist/cjs/features/InstantLearningCitation/OverrideTimeline.js.map +1 -1
  358. package/dist/cjs/features/InstantLearningCitation/RuleConditionBlock.js +1 -1
  359. package/dist/cjs/features/InstantLearningCitation/RuleConditionBlock.js.map +1 -1
  360. package/dist/cjs/features/InstantLearningCitation/RuleContentComponent.js +1 -1
  361. package/dist/cjs/features/InstantLearningCitation/RuleContentComponent.js.map +1 -1
  362. package/dist/cjs/features/InstantLearningCitation/SlashLoader.js +1 -1
  363. package/dist/cjs/features/InstantLearningCitation/SlashLoader.js.map +1 -1
  364. package/dist/cjs/features/InstantLearningCitation/css/CongnitiveDecisioning.module.css.js +1 -1
  365. package/dist/cjs/features/InstantLearningCitation/css/Override.module.css.js +1 -1
  366. package/dist/cjs/features/InstantLearningCitation/css/RuleAccordian.module.css.js +1 -1
  367. package/dist/cjs/features/InstantLearningCitation/css/common.module.css.js +1 -1
  368. package/dist/cjs/features/InstantLearningCitation/types/Types.js +1 -1
  369. package/dist/cjs/features/InstantLearningCitation/types/Types.js.map +1 -1
  370. package/dist/cjs/features/ManageRemainders/AssigneeCalendarView.js +1 -1
  371. package/dist/cjs/features/ManageRemainders/AssigneeCalendarView.js.map +1 -1
  372. package/dist/cjs/features/ManageRemainders/ManageRemainder.module.css.js +1 -1
  373. package/dist/cjs/features/ManageRemainders/ManageReminders.js +1 -1
  374. package/dist/cjs/features/ManageRemainders/ManageReminders.js.map +1 -1
  375. package/dist/cjs/features/ManageRemainders/ReminderFrequencyAutocomplete.js +1 -1
  376. package/dist/cjs/features/ManageRemainders/ReminderFrequencyAutocomplete.js.map +1 -1
  377. package/dist/cjs/features/MarkdownWithImageCitation/MarkdownWithImageCitation.js +1 -1
  378. package/dist/cjs/features/MarkdownWithImageCitation/MarkdownWithImageCitation.js.map +1 -1
  379. package/dist/cjs/features/MarkdownWithImageCitation/MarkdownWithImageCitation.module.css.js +1 -1
  380. package/dist/cjs/features/PaginatedTable/PaginatedTable.js +1 -1
  381. package/dist/cjs/features/PaginatedTable/PaginatedTable.js.map +1 -1
  382. package/dist/cjs/features/PaginatedTable/paginatedTable.module.css.js +1 -1
  383. package/dist/cjs/features/PdfEditorCitation/PdfEditorCitation.js +1 -1
  384. package/dist/cjs/features/PdfEditorCitation/PdfEditorCitation.js.map +1 -1
  385. package/dist/cjs/features/PdfEditorCitation/PdfEditorCitation.module.css.js +1 -1
  386. package/dist/cjs/features/PdfViewer/PdfContainer.js +1 -1
  387. package/dist/cjs/features/PdfViewer/PdfContainer.js.map +1 -1
  388. package/dist/cjs/features/PdfViewer/PdfStyle.js.map +1 -1
  389. package/dist/cjs/features/PdfViewer/PdfToolbar.js +1 -1
  390. package/dist/cjs/features/PdfViewer/PdfToolbar.js.map +1 -1
  391. package/dist/cjs/features/PdfViewer/PdfViewer.css.js +2 -0
  392. package/dist/cjs/features/PdfViewer/PdfViewer.css.js.map +1 -0
  393. package/dist/cjs/features/PdfViewer/PdfViewer.js +1 -1
  394. package/dist/cjs/features/PdfViewer/PdfViewer.js.map +1 -1
  395. package/dist/cjs/features/PdfViewer/rotationManager.js +1 -1
  396. package/dist/cjs/features/PdfViewer/rotationManager.js.map +1 -1
  397. package/dist/cjs/features/PdfViewer/usePdfHighlight.js +1 -1
  398. package/dist/cjs/features/PdfViewer/usePdfHighlight.js.map +1 -1
  399. package/dist/cjs/features/PdfViewer/zoomStateManager.js +2 -0
  400. package/dist/cjs/features/PdfViewer/zoomStateManager.js.map +1 -0
  401. package/dist/cjs/features/ProjectAccordion/ProjectAccordion.js +1 -1
  402. package/dist/cjs/features/ProjectAccordion/ProjectAccordion.js.map +1 -1
  403. package/dist/cjs/features/ProjectAccordion/ProjectAccordion.module.css.js +1 -1
  404. package/dist/cjs/features/ProjectAccordion/_components/Markdown.js +1 -1
  405. package/dist/cjs/features/ProjectAccordion/_components/Markdown.js.map +1 -1
  406. package/dist/cjs/features/PromptCitation/CitationDependencyGraph.js +1 -1
  407. package/dist/cjs/features/PromptCitation/CitationDependencyGraph.js.map +1 -1
  408. package/dist/cjs/features/PromptCitation/PromptCitation.js +1 -1
  409. package/dist/cjs/features/PromptCitation/PromptCitation.js.map +1 -1
  410. package/dist/cjs/features/PromptCitation/_components/CodeEditor.js +1 -1
  411. package/dist/cjs/features/PromptCitation/_components/CodeEditor.js.map +1 -1
  412. package/dist/cjs/features/PromptCitation/_components/Markdownrenderer.js +1 -1
  413. package/dist/cjs/features/PromptCitation/_components/Markdownrenderer.js.map +1 -1
  414. package/dist/cjs/features/PromptemonBlockViewer/PromptemonBlockViewer.js +1 -1
  415. package/dist/cjs/features/PromptemonBlockViewer/PromptemonBlockViewer.js.map +1 -1
  416. package/dist/cjs/features/PromptemonViewer/PromptemonViewer.js +1 -1
  417. package/dist/cjs/features/PromptemonViewer/PromptemonViewer.js.map +1 -1
  418. package/dist/cjs/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.js +1 -1
  419. package/dist/cjs/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.js.map +1 -1
  420. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.js +1 -1
  421. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.js.map +1 -1
  422. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.module.css.js +1 -1
  423. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.js +1 -1
  424. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.js.map +1 -1
  425. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.module.css.js +1 -1
  426. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.js +1 -1
  427. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.js.map +1 -1
  428. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.module.css.js +1 -1
  429. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.js +1 -1
  430. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.js.map +1 -1
  431. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.module.css.js +1 -1
  432. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.js +1 -1
  433. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.js.map +1 -1
  434. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.module.css.js +1 -1
  435. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.js +1 -1
  436. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.js.map +1 -1
  437. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.js +1 -1
  438. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.js.map +1 -1
  439. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.js +1 -1
  440. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.js.map +1 -1
  441. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.js +1 -1
  442. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.js.map +1 -1
  443. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.js +1 -1
  444. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.js.map +1 -1
  445. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.js +1 -1
  446. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.js.map +1 -1
  447. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/DocumentCitationIcon.js +1 -1
  448. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/DocumentCitationIcon.js.map +1 -1
  449. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.js +1 -1
  450. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.js.map +1 -1
  451. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.js +1 -1
  452. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.js.map +1 -1
  453. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.js +1 -1
  454. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.js.map +1 -1
  455. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.js +1 -1
  456. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.js.map +1 -1
  457. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.js +1 -1
  458. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.js.map +1 -1
  459. package/dist/cjs/features/RequirementAiCitations/FileCitation/FileCitationContent.js +1 -1
  460. package/dist/cjs/features/RequirementAiCitations/FileCitation/FileCitationContent.js.map +1 -1
  461. package/dist/cjs/features/RequirementAiCitations/FileCitation/FileCitationContent.module.css.js +1 -1
  462. package/dist/cjs/features/RequirementAiCitations/ImageCitation/ImageCitationContent.js +1 -1
  463. package/dist/cjs/features/RequirementAiCitations/ImageCitation/ImageCitationContent.js.map +1 -1
  464. package/dist/cjs/features/RequirementAiCitations/ImageCitation/ImageCitationContent.module.css.js +1 -1
  465. package/dist/cjs/features/RequirementAiCitations/VideoCitation/VideoCitationContent.js +1 -1
  466. package/dist/cjs/features/RequirementAiCitations/VideoCitation/VideoCitationContent.js.map +1 -1
  467. package/dist/cjs/features/RequirementAiCitations/VideoCitation/VideoCitationContent.module.css.js +1 -1
  468. package/dist/cjs/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.js +1 -1
  469. package/dist/cjs/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.js.map +1 -1
  470. package/dist/cjs/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.module.css.js +1 -1
  471. package/dist/cjs/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.js +1 -1
  472. package/dist/cjs/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.js.map +1 -1
  473. package/dist/cjs/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.module.css.js +1 -1
  474. package/dist/cjs/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.js +1 -1
  475. package/dist/cjs/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.js.map +1 -1
  476. package/dist/cjs/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.module.css.js +1 -1
  477. package/dist/cjs/features/ReviewPanel/ReviewPanel.css.js +2 -0
  478. package/dist/cjs/features/ReviewPanel/ReviewPanel.css.js.map +1 -0
  479. package/dist/cjs/features/ReviewPanel/ReviewPanel.js +1 -1
  480. package/dist/cjs/features/ReviewPanel/ReviewPanel.js.map +1 -1
  481. package/dist/cjs/features/RulebookCitations/RuleBookCitationApi.js +1 -1
  482. package/dist/cjs/features/RulebookCitations/RuleBookCitationApi.js.map +1 -1
  483. package/dist/cjs/features/RulebookCitations/RuleBookCitationWrapper.js +1 -1
  484. package/dist/cjs/features/RulebookCitations/RuleBookCitationWrapper.js.map +1 -1
  485. package/dist/cjs/features/SPBAnalysisPanel/Cognitivereasoningpanel.js +1 -1
  486. package/dist/cjs/features/SPBAnalysisPanel/Cognitivereasoningpanel.js.map +1 -1
  487. package/dist/cjs/features/SPBAnalysisPanel/DependencyGraph.js +1 -1
  488. package/dist/cjs/features/SPBAnalysisPanel/DependencyGraph.js.map +1 -1
  489. package/dist/cjs/features/SPBAnalysisPanel/Internaleditor.js +1 -1
  490. package/dist/cjs/features/SPBAnalysisPanel/Internaleditor.js.map +1 -1
  491. package/dist/cjs/features/SPBAnalysisPanel/Markdownrenderer.js +1 -1
  492. package/dist/cjs/features/SPBAnalysisPanel/Markdownrenderer.js.map +1 -1
  493. package/dist/cjs/features/SPBAnalysisPanel/Spbanalysispanel.js +1 -1
  494. package/dist/cjs/features/SPBAnalysisPanel/Spbanalysispanel.js.map +1 -1
  495. package/dist/cjs/features/ScannedDocCitation/ScannedDocCitation.js +1 -1
  496. package/dist/cjs/features/ScannedDocCitation/ScannedDocCitation.js.map +1 -1
  497. package/dist/cjs/features/SegmentReviewComponents/BoundaryCard.js +1 -1
  498. package/dist/cjs/features/SegmentReviewComponents/BoundaryCard.js.map +1 -1
  499. package/dist/cjs/features/SegmentReviewComponents/CardWrapper.js +1 -1
  500. package/dist/cjs/features/SegmentReviewComponents/CardWrapper.js.map +1 -1
  501. package/dist/cjs/features/SegmentReviewComponents/ChartBreakoutCircle.js +1 -1
  502. package/dist/cjs/features/SegmentReviewComponents/ChartBreakoutCircle.js.map +1 -1
  503. package/dist/cjs/features/SegmentReviewComponents/CognitiveIcon.js +1 -1
  504. package/dist/cjs/features/SegmentReviewComponents/CognitiveIcon.js.map +1 -1
  505. package/dist/cjs/features/SegmentReviewComponents/CognitiveIntegrity.js +1 -1
  506. package/dist/cjs/features/SegmentReviewComponents/CognitiveIntegrity.js.map +1 -1
  507. package/dist/cjs/features/SegmentReviewComponents/CognitiveScoreBadge.js +1 -1
  508. package/dist/cjs/features/SegmentReviewComponents/CognitiveScoreBadge.js.map +1 -1
  509. package/dist/cjs/features/SegmentReviewComponents/LabelCheck.js +1 -1
  510. package/dist/cjs/features/SegmentReviewComponents/LabelCheck.js.map +1 -1
  511. package/dist/cjs/features/SegmentReviewComponents/PageCheck.js +1 -1
  512. package/dist/cjs/features/SegmentReviewComponents/PageCheck.js.map +1 -1
  513. package/dist/cjs/features/SegmentReviewComponents/PageTypeChoiceCheck.js +1 -1
  514. package/dist/cjs/features/SegmentReviewComponents/PageTypeChoiceCheck.js.map +1 -1
  515. package/dist/cjs/features/SegmentReviewComponents/RevertCard.js +1 -1
  516. package/dist/cjs/features/SegmentReviewComponents/RevertCard.js.map +1 -1
  517. package/dist/cjs/features/SegmentReviewComponents/RevertSuccessCard.js +1 -1
  518. package/dist/cjs/features/SegmentReviewComponents/RevertSuccessCard.js.map +1 -1
  519. package/dist/cjs/features/SegmentReviewComponents/RevertSummaryNotice.js +1 -1
  520. package/dist/cjs/features/SegmentReviewComponents/RevertSummaryNotice.js.map +1 -1
  521. package/dist/cjs/features/SegmentReviewComponents/ReviewedBoundaryActions.js +1 -1
  522. package/dist/cjs/features/SegmentReviewComponents/ReviewedBoundaryActions.js.map +1 -1
  523. package/dist/cjs/features/SegmentReviewComponents/ReviewedCard.js +1 -1
  524. package/dist/cjs/features/SegmentReviewComponents/ReviewedCard.js.map +1 -1
  525. package/dist/cjs/features/SegmentReviewComponents/SegmentReviewPdfWrapper.js +1 -1
  526. package/dist/cjs/features/SegmentReviewComponents/SegmentReviewPdfWrapper.js.map +1 -1
  527. package/dist/cjs/features/SegmentReviewComponents/helper.js +1 -1
  528. package/dist/cjs/features/SegmentReviewComponents/helper.js.map +1 -1
  529. package/dist/cjs/features/SegmentReviewComponents/reviewScore.js +1 -1
  530. package/dist/cjs/features/SegmentReviewComponents/reviewScore.js.map +1 -1
  531. package/dist/cjs/features/SegmentReviewComponents/reviewStepAdapters.js +1 -1
  532. package/dist/cjs/features/SegmentReviewComponents/reviewStepAdapters.js.map +1 -1
  533. package/dist/cjs/features/SplitterCitations/Splitter.module.css.js +1 -1
  534. package/dist/cjs/features/SplitterCitations/SplitterCitationsComponent.js +1 -1
  535. package/dist/cjs/features/SplitterCitations/SplitterCitationsComponent.js.map +1 -1
  536. package/dist/cjs/features/SplitterCitations/icons/icons.js +1 -1
  537. package/dist/cjs/features/SplitterCitations/icons/icons.js.map +1 -1
  538. package/dist/cjs/features/TableCitation/TableCitationContent.js +1 -1
  539. package/dist/cjs/features/TableCitation/TableCitationContent.js.map +1 -1
  540. package/dist/cjs/features/TableCitation/TableCitationContent.module.css.js +1 -1
  541. package/dist/cjs/features/TextualGuidelines/TextualGuideLinesComponent.js +1 -1
  542. package/dist/cjs/features/TextualGuidelines/TextualGuideLinesComponent.js.map +1 -1
  543. package/dist/cjs/features/TextualGuidelines/TextualGuidelines.module.css.js +1 -1
  544. package/dist/cjs/hooks/useOnDemandCitationFetch.js +1 -1
  545. package/dist/cjs/hooks/useOnDemandCitationFetch.js.map +1 -1
  546. package/dist/cjs/index.js +1 -1
  547. package/dist/cjs/node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js +2 -0
  548. package/dist/cjs/node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js.map +1 -0
  549. package/dist/cjs/service/apicache.service.js +1 -1
  550. package/dist/cjs/service/apicache.service.js.map +1 -1
  551. package/dist/cjs/service/onDemandApi.js +1 -1
  552. package/dist/cjs/service/onDemandApi.js.map +1 -1
  553. package/dist/cjs/types/onDemandApi.types.js +1 -1
  554. package/dist/cjs/types/onDemandApi.types.js.map +1 -1
  555. package/dist/cjs/utils/codeCitations.utils.js +1 -1
  556. package/dist/cjs/utils/codeCitations.utils.js.map +1 -1
  557. package/dist/cjs/utils/helper.js +2 -0
  558. package/dist/cjs/utils/helper.js.map +1 -0
  559. package/dist/cjs/utils/sanitizeHtml.js +1 -1
  560. package/dist/cjs/utils/sanitizeHtml.js.map +1 -1
  561. package/dist/cjs/utils/themeManager.js +1 -1
  562. package/dist/cjs/utils/themeManager.js.map +1 -1
  563. package/dist/constants/diagnosticStylesBySeverity.js +1 -1
  564. package/dist/constants/diagnosticStylesBySeverity.js.map +1 -1
  565. package/dist/features/BPACitationRenderer/BPACitationRenderer.js +1 -1
  566. package/dist/features/BPACitationRenderer/BPACitationRenderer.js.map +1 -1
  567. package/dist/features/BPACitationRenderer/citationTypes.js +1 -1
  568. package/dist/features/BPACitationRenderer/citationTypes.js.map +1 -1
  569. package/dist/features/BookCitation/BookCitation.js +1 -1
  570. package/dist/features/BookCitation/BookCitation.js.map +1 -1
  571. package/dist/features/BookCitation/BookCitation.module.css.js +1 -1
  572. package/dist/features/BookCitation/text-cleaner.js +1 -1
  573. package/dist/features/BookCitation/text-cleaner.js.map +1 -1
  574. package/dist/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.js +1 -1
  575. package/dist/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.js.map +1 -1
  576. package/dist/features/Bookemon/BookDetailsCard/BookDetailsCard.css.js +2 -0
  577. package/dist/features/Bookemon/BookDetailsCard/BookDetailsCard.css.js.map +1 -0
  578. package/dist/features/Bookemon/BookDetailsCard/BookDetailsCard.js +1 -1
  579. package/dist/features/Bookemon/BookDetailsCard/BookDetailsCard.js.map +1 -1
  580. package/dist/features/Bookemon/BookElementsCard/BookElementsCard.css.js +2 -0
  581. package/dist/features/Bookemon/BookElementsCard/BookElementsCard.css.js.map +1 -0
  582. package/dist/features/Bookemon/BookElementsCard/BookElementsCard.js +1 -1
  583. package/dist/features/Bookemon/BookElementsCard/BookElementsCard.js.map +1 -1
  584. package/dist/features/Bookemon/BookOverviewCard/BookOverviewCard.css.js +2 -0
  585. package/dist/features/Bookemon/BookOverviewCard/BookOverviewCard.css.js.map +1 -0
  586. package/dist/features/Bookemon/BookOverviewCard/BookOverviewCard.js +1 -1
  587. package/dist/features/Bookemon/BookOverviewCard/BookOverviewCard.js.map +1 -1
  588. package/dist/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.css.js +2 -0
  589. package/dist/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.css.js.map +1 -0
  590. package/dist/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.js +1 -1
  591. package/dist/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.js.map +1 -1
  592. package/dist/features/Bookemon/BookPreview/BookPreview.css.js +2 -0
  593. package/dist/features/Bookemon/BookPreview/BookPreview.css.js.map +1 -0
  594. package/dist/features/Bookemon/BookPreview/BookPreview.js +1 -1
  595. package/dist/features/Bookemon/BookPreview/BookPreview.js.map +1 -1
  596. package/dist/features/Bookemon/Bookemon.js +1 -1
  597. package/dist/features/Bookemon/Bookemon.js.map +1 -1
  598. package/dist/features/Bookemon/BookemonCitationLayer.js +1 -1
  599. package/dist/features/Bookemon/BookemonCitationLayer.js.map +1 -1
  600. package/dist/features/Bookemon/BookemonContent.js +1 -1
  601. package/dist/features/Bookemon/BookemonContent.js.map +1 -1
  602. package/dist/features/Bookemon/utils/highlight.js +1 -1
  603. package/dist/features/Bookemon/utils/highlight.js.map +1 -1
  604. package/dist/features/ChatCitation/BigQueryTable.js +1 -1
  605. package/dist/features/ChatCitation/BigQueryTable.js.map +1 -1
  606. package/dist/features/ChatCitation/ChatCitationRenderer.js +1 -1
  607. package/dist/features/ChatCitation/ChatCitationRenderer.js.map +1 -1
  608. package/dist/features/ChatCitation/InternalChatCitationRenderer.js +1 -1
  609. package/dist/features/ChatCitation/InternalChatCitationRenderer.js.map +1 -1
  610. package/dist/features/ChatCitation/assets/cw_chat.svg.js.map +1 -1
  611. package/dist/features/ChatCitation/assets/message-chat-square.svg.js.map +1 -1
  612. package/dist/features/ChatCitation/components/AssistantChatItem.js +1 -1
  613. package/dist/features/ChatCitation/components/AssistantChatItem.js.map +1 -1
  614. package/dist/features/ChatCitation/components/ChatCitation.js +1 -1
  615. package/dist/features/ChatCitation/components/ChatCitation.js.map +1 -1
  616. package/dist/features/ChatCitation/components/Chip.js +1 -1
  617. package/dist/features/ChatCitation/components/Chip.js.map +1 -1
  618. package/dist/features/ChatCitation/components/DetailedView.js +1 -1
  619. package/dist/features/ChatCitation/components/DetailedView.js.map +1 -1
  620. package/dist/features/ChatCitation/components/IconContainer.js +1 -1
  621. package/dist/features/ChatCitation/components/IconContainer.js.map +1 -1
  622. package/dist/features/ChatCitation/components/InViewNavigation.js +1 -1
  623. package/dist/features/ChatCitation/components/InViewNavigation.js.map +1 -1
  624. package/dist/features/ChatCitation/components/MarkdownRenderer.js +1 -1
  625. package/dist/features/ChatCitation/components/MarkdownRenderer.js.map +1 -1
  626. package/dist/features/ChatCitation/components/RuleBook.js +1 -1
  627. package/dist/features/ChatCitation/components/RuleBook.js.map +1 -1
  628. package/dist/features/ChatCitation/components/SummarizedView.js +1 -1
  629. package/dist/features/ChatCitation/components/SummarizedView.js.map +1 -1
  630. package/dist/features/ChatCitation/components/UserChatItem.js +1 -1
  631. package/dist/features/ChatCitation/components/UserChatItem.js.map +1 -1
  632. package/dist/features/ChatCitation/components/UserInitialsAsAvatar.js +1 -1
  633. package/dist/features/ChatCitation/components/UserInitialsAsAvatar.js.map +1 -1
  634. package/dist/features/ChatCitation/components/wrappers/Modal.js +1 -1
  635. package/dist/features/ChatCitation/components/wrappers/Modal.js.map +1 -1
  636. package/dist/features/ChatCitation/constants/renderer.js +1 -1
  637. package/dist/features/ChatCitation/constants/renderer.js.map +1 -1
  638. package/dist/features/ChatCitation/styles/common.css.js +2 -0
  639. package/dist/features/ChatCitation/styles/common.css.js.map +1 -0
  640. package/dist/features/ChatCitation/utils/helpers.js +1 -1
  641. package/dist/features/ChatCitation/utils/helpers.js.map +1 -1
  642. package/dist/features/ChatDrawer/ChatDrawer.js +1 -1
  643. package/dist/features/ChatDrawer/ChatDrawer.js.map +1 -1
  644. package/dist/features/ChatDrawer/constants/ChatDrawer.js +1 -1
  645. package/dist/features/ChatDrawer/constants/ChatDrawer.js.map +1 -1
  646. package/dist/features/CitationRenderer/CitationRenderer.js +1 -1
  647. package/dist/features/CitationRenderer/CitationRenderer.js.map +1 -1
  648. package/dist/features/CitationRenderer/CitationRenderer.module.css.js +1 -1
  649. package/dist/features/CitationRenderer/MarkdownRenderer.js +1 -1
  650. package/dist/features/CitationRenderer/MarkdownRenderer.js.map +1 -1
  651. package/dist/features/CitationRenderer/MarkdownRenderer.module.css.js +1 -1
  652. package/dist/features/CitationViewer/CitationsViewer.js +1 -1
  653. package/dist/features/CitationViewer/CitationsViewer.js.map +1 -1
  654. package/dist/features/CitationViewer/components/AudioWaveform.js +1 -1
  655. package/dist/features/CitationViewer/components/AudioWaveform.js.map +1 -1
  656. package/dist/features/CitationViewer/components/Header.js +1 -1
  657. package/dist/features/CitationViewer/components/Header.js.map +1 -1
  658. package/dist/features/CitationViewer/components/KeyTakeaways.js +1 -1
  659. package/dist/features/CitationViewer/components/KeyTakeaways.js.map +1 -1
  660. package/dist/features/CitationViewer/components/StormeeChatCitation.module.css.js +1 -1
  661. package/dist/features/CitationViewer/components/Transcript.js +1 -1
  662. package/dist/features/CitationViewer/components/Transcript.js.map +1 -1
  663. package/dist/features/CitationViewer/config/apiConfig.js +1 -1
  664. package/dist/features/CitationViewer/config/apiConfig.js.map +1 -1
  665. package/dist/features/CitationViewer/hooks/getSignedUrl.js +1 -1
  666. package/dist/features/CitationViewer/hooks/getSignedUrl.js.map +1 -1
  667. package/dist/features/CitationViewer/hooks/useResolvedAudioUrl.js +1 -1
  668. package/dist/features/CitationViewer/hooks/useResolvedAudioUrl.js.map +1 -1
  669. package/dist/features/CodeCitation/CodeCitation.js +1 -1
  670. package/dist/features/CodeCitation/CodeCitation.js.map +1 -1
  671. package/dist/features/CodeCitation/CodeCitation.module.css.js +1 -1
  672. package/dist/features/CodeCitation/_components/Accordian.js +1 -1
  673. package/dist/features/CodeCitation/_components/Accordian.js.map +1 -1
  674. package/dist/features/CodeCitation/_components/CodeCitationPopup.js +1 -1
  675. package/dist/features/CodeCitation/_components/CodeCitationPopup.js.map +1 -1
  676. package/dist/features/CodeCitation/_components/CodeCitationsStats.js +1 -1
  677. package/dist/features/CodeCitation/_components/CodeCitationsStats.js.map +1 -1
  678. package/dist/features/CodeCitation/_components/CodeEditor.js +1 -1
  679. package/dist/features/CodeCitation/_components/CodeEditor.js.map +1 -1
  680. package/dist/features/CodeCitation/_components/DescriptionWithToggle.js +1 -1
  681. package/dist/features/CodeCitation/_components/DescriptionWithToggle.js.map +1 -1
  682. package/dist/features/CodeCitation/_components/HighlightedCodeDetails.js +1 -1
  683. package/dist/features/CodeCitation/_components/HighlightedCodeDetails.js.map +1 -1
  684. package/dist/features/CodeCitation/_components/RepoAndBranchTag.js +1 -1
  685. package/dist/features/CodeCitation/_components/RepoAndBranchTag.js.map +1 -1
  686. package/dist/features/CodeCitation/_components/Spinner.js +1 -1
  687. package/dist/features/CodeCitation/_components/Spinner.js.map +1 -1
  688. package/dist/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.js +1 -1
  689. package/dist/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.js.map +1 -1
  690. package/dist/features/CodeCitation/_components/StatsComponents/DbStatsComponent.js +1 -1
  691. package/dist/features/CodeCitation/_components/StatsComponents/DbStatsComponent.js.map +1 -1
  692. package/dist/features/CodeCitation/_components/StatsComponents/StatsComponent.js +1 -1
  693. package/dist/features/CodeCitation/_components/StatsComponents/StatsComponent.js.map +1 -1
  694. package/dist/features/CodeCitation/_components/ThemeToggle.js +1 -1
  695. package/dist/features/CodeCitation/_components/ThemeToggle.js.map +1 -1
  696. package/dist/features/CodeCitation/_components/TooltipComponent.js +1 -1
  697. package/dist/features/CodeCitation/_components/TooltipComponent.js.map +1 -1
  698. package/dist/features/CognitiveCompare/CitationAnchor.js +1 -1
  699. package/dist/features/CognitiveCompare/CitationAnchor.js.map +1 -1
  700. package/dist/features/CognitiveCompare/CitationRenderer.js +1 -1
  701. package/dist/features/CognitiveCompare/CitationRenderer.js.map +1 -1
  702. package/dist/features/CognitiveCompare/CognitiveCompare.js +1 -1
  703. package/dist/features/CognitiveCompare/CognitiveCompare.js.map +1 -1
  704. package/dist/features/CognitiveCompare/CognitiveCompareConfig.js +1 -1
  705. package/dist/features/CognitiveCompare/CognitiveCompareConfig.js.map +1 -1
  706. package/dist/features/CognitiveCompare/CognitiveCompareConstants.js +1 -1
  707. package/dist/features/CognitiveCompare/CognitiveCompareConstants.js.map +1 -1
  708. package/dist/features/CognitiveCompare/CognitiveComparehelpers.js +1 -1
  709. package/dist/features/CognitiveCompare/CognitiveComparehelpers.js.map +1 -1
  710. package/dist/features/CognitiveCompare/CognitivePopup.js +1 -1
  711. package/dist/features/CognitiveCompare/CognitivePopup.js.map +1 -1
  712. package/dist/features/CognitiveCompare/CompareContext.js +1 -1
  713. package/dist/features/CognitiveCompare/CompareContext.js.map +1 -1
  714. package/dist/features/CognitiveCompare/Guidelines/components/GuidelinePanel.js +1 -1
  715. package/dist/features/CognitiveCompare/Guidelines/components/GuidelinePanel.js.map +1 -1
  716. package/dist/features/CognitiveCompare/Guidelines/components/WebGptPanel.js +1 -1
  717. package/dist/features/CognitiveCompare/Guidelines/components/WebGptPanel.js.map +1 -1
  718. package/dist/features/CognitiveCompare/Guidelines/utils/helper.js +1 -1
  719. package/dist/features/CognitiveCompare/Guidelines/utils/helper.js.map +1 -1
  720. package/dist/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.js +1 -1
  721. package/dist/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.js.map +1 -1
  722. package/dist/features/CognitiveCompare/LoaderComponent.js +1 -1
  723. package/dist/features/CognitiveCompare/LoaderComponent.js.map +1 -1
  724. package/dist/features/CognitiveCompare/MoreFunctionsPopup.js +1 -1
  725. package/dist/features/CognitiveCompare/MoreFunctionsPopup.js.map +1 -1
  726. package/dist/features/CognitiveCompare/OverlayComponent.js +1 -1
  727. package/dist/features/CognitiveCompare/OverlayComponent.js.map +1 -1
  728. package/dist/features/CognitiveCompare/ResizableSplitPane.js +1 -1
  729. package/dist/features/CognitiveCompare/ResizableSplitPane.js.map +1 -1
  730. package/dist/features/CognitiveCompare/components/CognitiveSummaryPopup.js +1 -1
  731. package/dist/features/CognitiveCompare/components/CognitiveSummaryPopup.js.map +1 -1
  732. package/dist/features/CognitiveCompare/components/CompareHeader.js +1 -1
  733. package/dist/features/CognitiveCompare/components/CompareHeader.js.map +1 -1
  734. package/dist/features/CognitiveCompare/components/LHSSectionRow.js +1 -1
  735. package/dist/features/CognitiveCompare/components/LHSSectionRow.js.map +1 -1
  736. package/dist/features/CognitiveCompare/components/RHSSectionRow.js +1 -1
  737. package/dist/features/CognitiveCompare/components/RHSSectionRow.js.map +1 -1
  738. package/dist/features/CognitiveCompare/components/ScrollLockToggle.js +1 -1
  739. package/dist/features/CognitiveCompare/components/ScrollLockToggle.js.map +1 -1
  740. package/dist/features/CognitiveCompare/components/SectionAccordion.js +1 -1
  741. package/dist/features/CognitiveCompare/components/SectionAccordion.js.map +1 -1
  742. package/dist/features/CognitiveCompare/components/SubSectionAccordion.js +1 -1
  743. package/dist/features/CognitiveCompare/components/SubSectionAccordion.js.map +1 -1
  744. package/dist/features/CognitiveCompare/components/SvgConnectors.js +1 -1
  745. package/dist/features/CognitiveCompare/components/SvgConnectors.js.map +1 -1
  746. package/dist/features/CognitiveCompare/components/ThreeDotsLoader.js +1 -1
  747. package/dist/features/CognitiveCompare/components/ThreeDotsLoader.js.map +1 -1
  748. package/dist/features/CognitiveCompare/components/connectedLines.js +1 -1
  749. package/dist/features/CognitiveCompare/components/connectedLines.js.map +1 -1
  750. package/dist/features/CognitiveCompare/hooks/memoizedMarkdown.js +1 -1
  751. package/dist/features/CognitiveCompare/hooks/memoizedMarkdown.js.map +1 -1
  752. package/dist/features/CognitiveCompare/hooks/useAccordionState.js +1 -1
  753. package/dist/features/CognitiveCompare/hooks/useAccordionState.js.map +1 -1
  754. package/dist/features/CognitiveCompare/hooks/useCompareData.js +1 -1
  755. package/dist/features/CognitiveCompare/hooks/useCompareData.js.map +1 -1
  756. package/dist/features/CognitiveCompare/hooks/useComparePopups.js +1 -1
  757. package/dist/features/CognitiveCompare/hooks/useComparePopups.js.map +1 -1
  758. package/dist/features/CognitiveCompare/hooks/useDeviationNavigation.js +1 -1
  759. package/dist/features/CognitiveCompare/hooks/useDeviationNavigation.js.map +1 -1
  760. package/dist/features/CognitiveCompare/hooks/useLinesCalculator.js +1 -1
  761. package/dist/features/CognitiveCompare/hooks/useLinesCalculator.js.map +1 -1
  762. package/dist/features/CognitiveCompare/hooks/useResizeHandler.js +1 -1
  763. package/dist/features/CognitiveCompare/hooks/useResizeHandler.js.map +1 -1
  764. package/dist/features/CognitiveCompare/hooks/useSectionRefs.js +1 -1
  765. package/dist/features/CognitiveCompare/hooks/useSectionRefs.js.map +1 -1
  766. package/dist/features/CognitiveCompare/hooks/useSideBySide.js +1 -1
  767. package/dist/features/CognitiveCompare/hooks/useSideBySide.js.map +1 -1
  768. package/dist/features/CognitiveCompare/hooks/useStyles.js +1 -1
  769. package/dist/features/CognitiveCompare/hooks/useStyles.js.map +1 -1
  770. package/dist/features/CognitiveCompare/utils/buildComparisonRows.js +1 -1
  771. package/dist/features/CognitiveCompare/utils/buildComparisonRows.js.map +1 -1
  772. package/dist/features/CognitiveDecisioning/CognitiveDecisioningWrapper.js +1 -1
  773. package/dist/features/CognitiveDecisioning/CognitiveDecisioningWrapper.js.map +1 -1
  774. package/dist/features/CognitiveDecisioning/CognitiveDecisioningWrapper.module.css.js +1 -1
  775. package/dist/features/CognitiveDecisioning/FaqCitation/FaqCitation.js +1 -1
  776. package/dist/features/CognitiveDecisioning/FaqCitation/FaqCitation.js.map +1 -1
  777. package/dist/features/CognitiveDecisioning/FaqCitation/FaqCitation.module.css.js +1 -1
  778. package/dist/features/CognitiveDecisioning/shared/Audacy/GapIcon.js +1 -1
  779. package/dist/features/CognitiveDecisioning/shared/Audacy/GapIcon.js.map +1 -1
  780. package/dist/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.js +1 -1
  781. package/dist/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.js.map +1 -1
  782. package/dist/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.js +1 -1
  783. package/dist/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.js.map +1 -1
  784. package/dist/features/CognitiveInternalgptReasoning/CognitiveNonWebSearchReasoning.module.css.js +1 -1
  785. package/dist/features/DualCitation/RuleBookCitationApiComponent.js +1 -1
  786. package/dist/features/DualCitation/RuleBookCitationApiComponent.js.map +1 -1
  787. package/dist/features/DualCitation/RuleBookCitationComponent.js +1 -1
  788. package/dist/features/DualCitation/RuleBookCitationComponent.js.map +1 -1
  789. package/dist/features/DualCitation/SourceBQDataCompnent.js +1 -1
  790. package/dist/features/DualCitation/SourceBQDataCompnent.js.map +1 -1
  791. package/dist/features/DualCitation/SourceBQDataCompnent.module.css.js +1 -1
  792. package/dist/features/ExcelCitation/ExcelCitations.js +1 -1
  793. package/dist/features/ExcelCitation/ExcelCitations.js.map +1 -1
  794. package/dist/features/ExcelCitation/css/excel-citation.css.js +2 -0
  795. package/dist/features/ExcelCitation/css/excel-citation.css.js.map +1 -0
  796. package/dist/features/ExcelCitation/utils/helper.js +1 -1
  797. package/dist/features/ExcelCitation/utils/helper.js.map +1 -1
  798. package/dist/features/GptWebCitation/GptWebCitation.js +1 -1
  799. package/dist/features/GptWebCitation/GptWebCitation.js.map +1 -1
  800. package/dist/features/GptWebCitation/GptWebCitation.module.css.js +1 -1
  801. package/dist/features/GptWebCitation/GptWebCitationImageCitation.js +1 -1
  802. package/dist/features/GptWebCitation/GptWebCitationImageCitation.js.map +1 -1
  803. package/dist/features/GptWebCitation/GptWebCitationImageFullScreenView.js +1 -1
  804. package/dist/features/GptWebCitation/GptWebCitationImageFullScreenView.js.map +1 -1
  805. package/dist/features/GptWebCitation/GptWebCitationSkeleton.js +1 -1
  806. package/dist/features/GptWebCitation/GptWebCitationSkeleton.js.map +1 -1
  807. package/dist/features/GptWebCitation/types.js +1 -1
  808. package/dist/features/GptWebCitation/types.js.map +1 -1
  809. package/dist/features/GptWebCitation/utils/citationData.utils.js +1 -1
  810. package/dist/features/GptWebCitation/utils/citationData.utils.js.map +1 -1
  811. package/dist/features/GptWebCitation/utils/fixedHeight.utils.js +1 -1
  812. package/dist/features/GptWebCitation/utils/fixedHeight.utils.js.map +1 -1
  813. package/dist/features/GptWebCitation/utils/styleOverrides.utils.js +1 -1
  814. package/dist/features/GptWebCitation/utils/styleOverrides.utils.js.map +1 -1
  815. package/dist/features/IngestionStatus/IngestionStatusComponent.js +1 -1
  816. package/dist/features/IngestionStatus/IngestionStatusComponent.js.map +1 -1
  817. package/dist/features/IngestionStatus/ingestion.module.css.js +1 -1
  818. package/dist/features/IngestionStatus/useIngestionStatus.js +1 -1
  819. package/dist/features/IngestionStatus/useIngestionStatus.js.map +1 -1
  820. package/dist/features/InstantLearningCitation/CongnitiveDecisioningComponent.js +1 -1
  821. package/dist/features/InstantLearningCitation/CongnitiveDecisioningComponent.js.map +1 -1
  822. package/dist/features/InstantLearningCitation/HistorySkeleton.js +1 -1
  823. package/dist/features/InstantLearningCitation/HistorySkeleton.js.map +1 -1
  824. package/dist/features/InstantLearningCitation/InstantLearningCitation.js +1 -1
  825. package/dist/features/InstantLearningCitation/InstantLearningCitation.js.map +1 -1
  826. package/dist/features/InstantLearningCitation/InstantLearningCitationComponent.js +1 -1
  827. package/dist/features/InstantLearningCitation/InstantLearningCitationComponent.js.map +1 -1
  828. package/dist/features/InstantLearningCitation/OverrideTimeline.js +1 -1
  829. package/dist/features/InstantLearningCitation/OverrideTimeline.js.map +1 -1
  830. package/dist/features/InstantLearningCitation/RuleConditionBlock.js +1 -1
  831. package/dist/features/InstantLearningCitation/RuleConditionBlock.js.map +1 -1
  832. package/dist/features/InstantLearningCitation/RuleContentComponent.js +1 -1
  833. package/dist/features/InstantLearningCitation/RuleContentComponent.js.map +1 -1
  834. package/dist/features/InstantLearningCitation/SlashLoader.js +1 -1
  835. package/dist/features/InstantLearningCitation/SlashLoader.js.map +1 -1
  836. package/dist/features/InstantLearningCitation/css/CongnitiveDecisioning.module.css.js +1 -1
  837. package/dist/features/InstantLearningCitation/css/Override.module.css.js +1 -1
  838. package/dist/features/InstantLearningCitation/css/RuleAccordian.module.css.js +1 -1
  839. package/dist/features/InstantLearningCitation/css/common.module.css.js +1 -1
  840. package/dist/features/InstantLearningCitation/types/Types.js +1 -1
  841. package/dist/features/InstantLearningCitation/types/Types.js.map +1 -1
  842. package/dist/features/ManageRemainders/AssigneeCalendarView.js +1 -1
  843. package/dist/features/ManageRemainders/AssigneeCalendarView.js.map +1 -1
  844. package/dist/features/ManageRemainders/ManageRemainder.module.css.js +1 -1
  845. package/dist/features/ManageRemainders/ManageReminders.js +1 -1
  846. package/dist/features/ManageRemainders/ManageReminders.js.map +1 -1
  847. package/dist/features/ManageRemainders/ReminderFrequencyAutocomplete.js +1 -1
  848. package/dist/features/ManageRemainders/ReminderFrequencyAutocomplete.js.map +1 -1
  849. package/dist/features/MarkdownWithImageCitation/MarkdownWithImageCitation.js +1 -1
  850. package/dist/features/MarkdownWithImageCitation/MarkdownWithImageCitation.js.map +1 -1
  851. package/dist/features/MarkdownWithImageCitation/MarkdownWithImageCitation.module.css.js +1 -1
  852. package/dist/features/PaginatedTable/PaginatedTable.js +1 -1
  853. package/dist/features/PaginatedTable/PaginatedTable.js.map +1 -1
  854. package/dist/features/PaginatedTable/paginatedTable.module.css.js +1 -1
  855. package/dist/features/PdfEditorCitation/PdfEditorCitation.js +1 -1
  856. package/dist/features/PdfEditorCitation/PdfEditorCitation.js.map +1 -1
  857. package/dist/features/PdfEditorCitation/PdfEditorCitation.module.css.js +1 -1
  858. package/dist/features/PdfViewer/PdfContainer.js +1 -1
  859. package/dist/features/PdfViewer/PdfContainer.js.map +1 -1
  860. package/dist/features/PdfViewer/PdfStyle.js +1 -1
  861. package/dist/features/PdfViewer/PdfStyle.js.map +1 -1
  862. package/dist/features/PdfViewer/PdfToolbar.js +1 -1
  863. package/dist/features/PdfViewer/PdfToolbar.js.map +1 -1
  864. package/dist/features/PdfViewer/PdfViewer.css.js +2 -0
  865. package/dist/features/PdfViewer/PdfViewer.css.js.map +1 -0
  866. package/dist/features/PdfViewer/PdfViewer.js +1 -1
  867. package/dist/features/PdfViewer/PdfViewer.js.map +1 -1
  868. package/dist/features/PdfViewer/rotationManager.js +1 -1
  869. package/dist/features/PdfViewer/rotationManager.js.map +1 -1
  870. package/dist/features/PdfViewer/usePdfHighlight.js +1 -1
  871. package/dist/features/PdfViewer/usePdfHighlight.js.map +1 -1
  872. package/dist/features/PdfViewer/zoomStateManager.js +2 -0
  873. package/dist/features/PdfViewer/zoomStateManager.js.map +1 -0
  874. package/dist/features/ProjectAccordion/ProjectAccordion.js +1 -1
  875. package/dist/features/ProjectAccordion/ProjectAccordion.js.map +1 -1
  876. package/dist/features/ProjectAccordion/ProjectAccordion.module.css.js +1 -1
  877. package/dist/features/ProjectAccordion/_components/Markdown.js +1 -1
  878. package/dist/features/ProjectAccordion/_components/Markdown.js.map +1 -1
  879. package/dist/features/PromptCitation/CitationDependencyGraph.js +1 -1
  880. package/dist/features/PromptCitation/CitationDependencyGraph.js.map +1 -1
  881. package/dist/features/PromptCitation/PromptCitation.js +1 -1
  882. package/dist/features/PromptCitation/PromptCitation.js.map +1 -1
  883. package/dist/features/PromptCitation/_components/CodeEditor.js +1 -1
  884. package/dist/features/PromptCitation/_components/CodeEditor.js.map +1 -1
  885. package/dist/features/PromptCitation/_components/Markdownrenderer.js +1 -1
  886. package/dist/features/PromptCitation/_components/Markdownrenderer.js.map +1 -1
  887. package/dist/features/PromptemonBlockViewer/PromptemonBlockViewer.js +1 -1
  888. package/dist/features/PromptemonBlockViewer/PromptemonBlockViewer.js.map +1 -1
  889. package/dist/features/PromptemonViewer/PromptemonViewer.js +1 -1
  890. package/dist/features/PromptemonViewer/PromptemonViewer.js.map +1 -1
  891. package/dist/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.js +1 -1
  892. package/dist/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.js.map +1 -1
  893. package/dist/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.js +1 -1
  894. package/dist/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.js.map +1 -1
  895. package/dist/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.module.css.js +1 -1
  896. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.js +1 -1
  897. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.js.map +1 -1
  898. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.module.css.js +1 -1
  899. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.js +1 -1
  900. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.js.map +1 -1
  901. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.module.css.js +1 -1
  902. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.js +1 -1
  903. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.js.map +1 -1
  904. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.module.css.js +1 -1
  905. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.js +1 -1
  906. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.js.map +1 -1
  907. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.module.css.js +1 -1
  908. package/dist/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.js +1 -1
  909. package/dist/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.js.map +1 -1
  910. package/dist/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.js +1 -1
  911. package/dist/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.js.map +1 -1
  912. package/dist/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.js +1 -1
  913. package/dist/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.js.map +1 -1
  914. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.js +1 -1
  915. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.js.map +1 -1
  916. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.js +1 -1
  917. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.js.map +1 -1
  918. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.js +1 -1
  919. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.js.map +1 -1
  920. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/DocumentCitationIcon.js +1 -1
  921. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/DocumentCitationIcon.js.map +1 -1
  922. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.js +1 -1
  923. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.js.map +1 -1
  924. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.js +1 -1
  925. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.js.map +1 -1
  926. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.js +1 -1
  927. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.js.map +1 -1
  928. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.js +1 -1
  929. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.js.map +1 -1
  930. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.js +1 -1
  931. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.js.map +1 -1
  932. package/dist/features/RequirementAiCitations/FileCitation/FileCitationContent.js +1 -1
  933. package/dist/features/RequirementAiCitations/FileCitation/FileCitationContent.js.map +1 -1
  934. package/dist/features/RequirementAiCitations/FileCitation/FileCitationContent.module.css.js +1 -1
  935. package/dist/features/RequirementAiCitations/ImageCitation/ImageCitationContent.js +1 -1
  936. package/dist/features/RequirementAiCitations/ImageCitation/ImageCitationContent.js.map +1 -1
  937. package/dist/features/RequirementAiCitations/ImageCitation/ImageCitationContent.module.css.js +1 -1
  938. package/dist/features/RequirementAiCitations/VideoCitation/VideoCitationContent.js +1 -1
  939. package/dist/features/RequirementAiCitations/VideoCitation/VideoCitationContent.js.map +1 -1
  940. package/dist/features/RequirementAiCitations/VideoCitation/VideoCitationContent.module.css.js +1 -1
  941. package/dist/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.js +1 -1
  942. package/dist/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.js.map +1 -1
  943. package/dist/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.module.css.js +1 -1
  944. package/dist/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.js +1 -1
  945. package/dist/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.js.map +1 -1
  946. package/dist/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.module.css.js +1 -1
  947. package/dist/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.js +1 -1
  948. package/dist/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.js.map +1 -1
  949. package/dist/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.module.css.js +1 -1
  950. package/dist/features/ReviewPanel/ReviewPanel.css.js +2 -0
  951. package/dist/features/ReviewPanel/ReviewPanel.css.js.map +1 -0
  952. package/dist/features/ReviewPanel/ReviewPanel.js +1 -1
  953. package/dist/features/ReviewPanel/ReviewPanel.js.map +1 -1
  954. package/dist/features/RulebookCitations/RuleBookCitationApi.js +1 -1
  955. package/dist/features/RulebookCitations/RuleBookCitationApi.js.map +1 -1
  956. package/dist/features/RulebookCitations/RuleBookCitationWrapper.js +1 -1
  957. package/dist/features/RulebookCitations/RuleBookCitationWrapper.js.map +1 -1
  958. package/dist/features/SPBAnalysisPanel/Cognitivereasoningpanel.js +1 -1
  959. package/dist/features/SPBAnalysisPanel/Cognitivereasoningpanel.js.map +1 -1
  960. package/dist/features/SPBAnalysisPanel/DependencyGraph.js +1 -1
  961. package/dist/features/SPBAnalysisPanel/DependencyGraph.js.map +1 -1
  962. package/dist/features/SPBAnalysisPanel/Internaleditor.js +1 -1
  963. package/dist/features/SPBAnalysisPanel/Internaleditor.js.map +1 -1
  964. package/dist/features/SPBAnalysisPanel/Markdownrenderer.js +1 -1
  965. package/dist/features/SPBAnalysisPanel/Markdownrenderer.js.map +1 -1
  966. package/dist/features/SPBAnalysisPanel/Spbanalysispanel.js +1 -1
  967. package/dist/features/SPBAnalysisPanel/Spbanalysispanel.js.map +1 -1
  968. package/dist/features/ScannedDocCitation/ScannedDocCitation.js +1 -1
  969. package/dist/features/ScannedDocCitation/ScannedDocCitation.js.map +1 -1
  970. package/dist/features/SegmentReviewComponents/BoundaryCard.js +1 -1
  971. package/dist/features/SegmentReviewComponents/BoundaryCard.js.map +1 -1
  972. package/dist/features/SegmentReviewComponents/CardWrapper.js +1 -1
  973. package/dist/features/SegmentReviewComponents/CardWrapper.js.map +1 -1
  974. package/dist/features/SegmentReviewComponents/ChartBreakoutCircle.js +1 -1
  975. package/dist/features/SegmentReviewComponents/ChartBreakoutCircle.js.map +1 -1
  976. package/dist/features/SegmentReviewComponents/CognitiveIcon.js +1 -1
  977. package/dist/features/SegmentReviewComponents/CognitiveIcon.js.map +1 -1
  978. package/dist/features/SegmentReviewComponents/CognitiveIntegrity.js +1 -1
  979. package/dist/features/SegmentReviewComponents/CognitiveIntegrity.js.map +1 -1
  980. package/dist/features/SegmentReviewComponents/CognitiveScoreBadge.js +1 -1
  981. package/dist/features/SegmentReviewComponents/CognitiveScoreBadge.js.map +1 -1
  982. package/dist/features/SegmentReviewComponents/LabelCheck.js +1 -1
  983. package/dist/features/SegmentReviewComponents/LabelCheck.js.map +1 -1
  984. package/dist/features/SegmentReviewComponents/PageCheck.js +1 -1
  985. package/dist/features/SegmentReviewComponents/PageCheck.js.map +1 -1
  986. package/dist/features/SegmentReviewComponents/PageTypeChoiceCheck.js +1 -1
  987. package/dist/features/SegmentReviewComponents/PageTypeChoiceCheck.js.map +1 -1
  988. package/dist/features/SegmentReviewComponents/RevertCard.js +1 -1
  989. package/dist/features/SegmentReviewComponents/RevertCard.js.map +1 -1
  990. package/dist/features/SegmentReviewComponents/RevertSuccessCard.js +1 -1
  991. package/dist/features/SegmentReviewComponents/RevertSuccessCard.js.map +1 -1
  992. package/dist/features/SegmentReviewComponents/RevertSummaryNotice.js +1 -1
  993. package/dist/features/SegmentReviewComponents/RevertSummaryNotice.js.map +1 -1
  994. package/dist/features/SegmentReviewComponents/ReviewedBoundaryActions.js +1 -1
  995. package/dist/features/SegmentReviewComponents/ReviewedBoundaryActions.js.map +1 -1
  996. package/dist/features/SegmentReviewComponents/ReviewedCard.js +1 -1
  997. package/dist/features/SegmentReviewComponents/ReviewedCard.js.map +1 -1
  998. package/dist/features/SegmentReviewComponents/SegmentReviewPdfWrapper.js +1 -1
  999. package/dist/features/SegmentReviewComponents/SegmentReviewPdfWrapper.js.map +1 -1
  1000. package/dist/features/SegmentReviewComponents/helper.js +1 -1
  1001. package/dist/features/SegmentReviewComponents/helper.js.map +1 -1
  1002. package/dist/features/SegmentReviewComponents/reviewScore.js +1 -1
  1003. package/dist/features/SegmentReviewComponents/reviewScore.js.map +1 -1
  1004. package/dist/features/SegmentReviewComponents/reviewStepAdapters.js +1 -1
  1005. package/dist/features/SegmentReviewComponents/reviewStepAdapters.js.map +1 -1
  1006. package/dist/features/SplitterCitations/Splitter.module.css.js +1 -1
  1007. package/dist/features/SplitterCitations/SplitterCitationsComponent.js +1 -1
  1008. package/dist/features/SplitterCitations/SplitterCitationsComponent.js.map +1 -1
  1009. package/dist/features/SplitterCitations/icons/icons.js +1 -1
  1010. package/dist/features/SplitterCitations/icons/icons.js.map +1 -1
  1011. package/dist/features/TableCitation/TableCitationContent.js +1 -1
  1012. package/dist/features/TableCitation/TableCitationContent.js.map +1 -1
  1013. package/dist/features/TableCitation/TableCitationContent.module.css.js +1 -1
  1014. package/dist/features/TextualGuidelines/TextualGuideLinesComponent.js +1 -1
  1015. package/dist/features/TextualGuidelines/TextualGuideLinesComponent.js.map +1 -1
  1016. package/dist/features/TextualGuidelines/TextualGuidelines.module.css.js +1 -1
  1017. package/dist/hooks/useOnDemandCitationFetch.js +1 -1
  1018. package/dist/hooks/useOnDemandCitationFetch.js.map +1 -1
  1019. package/dist/index.js +1 -1
  1020. package/dist/node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js +2 -0
  1021. package/dist/node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js.map +1 -0
  1022. package/dist/service/apicache.service.js +1 -1
  1023. package/dist/service/apicache.service.js.map +1 -1
  1024. package/dist/service/onDemandApi.js +1 -1
  1025. package/dist/service/onDemandApi.js.map +1 -1
  1026. package/dist/types/AutopilotStyle.d.ts +2 -0
  1027. package/dist/types/AutopilotStyle.d.ts.map +1 -0
  1028. package/dist/types/BPACitationRenderer.d.ts +3 -0
  1029. package/dist/types/BPACitationRenderer.d.ts.map +1 -0
  1030. package/dist/types/BookCitation.d.ts +3 -0
  1031. package/dist/types/BookCitation.d.ts.map +1 -0
  1032. package/dist/types/Bookemon.d.ts +3 -0
  1033. package/dist/types/Bookemon.d.ts.map +1 -0
  1034. package/dist/types/ChatCitation.d.ts +3 -0
  1035. package/dist/types/ChatCitation.d.ts.map +1 -0
  1036. package/dist/types/ChatDrawer.d.ts +3 -0
  1037. package/dist/types/ChatDrawer.d.ts.map +1 -0
  1038. package/dist/types/CitationRenderer.d.ts +3 -0
  1039. package/dist/types/CitationRenderer.d.ts.map +1 -0
  1040. package/dist/types/CodeCitation.d.ts +3 -0
  1041. package/dist/types/CodeCitation.d.ts.map +1 -0
  1042. package/dist/types/CognitiveInternalgptCoreComponent.d.ts +3 -0
  1043. package/dist/types/CognitiveInternalgptCoreComponent.d.ts.map +1 -0
  1044. package/dist/types/CognitiveInternalgptReasoning.d.ts +3 -0
  1045. package/dist/types/CognitiveInternalgptReasoning.d.ts.map +1 -0
  1046. package/dist/types/CommonConstants/CommonConstants.d.ts +5 -0
  1047. package/dist/types/CommonConstants/CommonConstants.d.ts.map +1 -0
  1048. package/dist/types/GptWebCitation.d.ts +3 -0
  1049. package/dist/types/GptWebCitation.d.ts.map +1 -0
  1050. package/dist/types/IngestionStatusComponent.d.ts +2 -0
  1051. package/dist/types/IngestionStatusComponent.d.ts.map +1 -0
  1052. package/dist/types/PdfViewer.d.ts +3 -0
  1053. package/dist/types/PdfViewer.d.ts.map +1 -0
  1054. package/dist/types/ProjectAccordion.d.ts +3 -0
  1055. package/dist/types/ProjectAccordion.d.ts.map +1 -0
  1056. package/dist/types/SplitterCitationsComponent.d.ts +3 -0
  1057. package/dist/types/SplitterCitationsComponent.d.ts.map +1 -0
  1058. package/dist/types/TextualGuideLinesComponent.d.ts +3 -0
  1059. package/dist/types/TextualGuideLinesComponent.d.ts.map +1 -0
  1060. package/dist/types/assests/icons/CitationsIcon.d.ts +2 -0
  1061. package/dist/types/assests/icons/CitationsIcon.d.ts.map +1 -0
  1062. package/dist/types/assests/icons/CitationsSparkleIcon.d.ts +9 -0
  1063. package/dist/types/assests/icons/CitationsSparkleIcon.d.ts.map +1 -0
  1064. package/dist/types/assests/icons/InfoAlert.d.ts +3 -0
  1065. package/dist/types/assests/icons/InfoAlert.d.ts.map +1 -0
  1066. package/dist/types/assests/svg/ButtonCognitiveIcon.d.ts +2 -0
  1067. package/dist/types/assests/svg/ButtonCognitiveIcon.d.ts.map +1 -0
  1068. package/dist/types/assests/svg/NeuralNetworkIcon.d.ts +10 -0
  1069. package/dist/types/assests/svg/NeuralNetworkIcon.d.ts.map +1 -0
  1070. package/dist/types/assests/svg/PdfViewerIcons.d.ts +6 -0
  1071. package/dist/types/assests/svg/PdfViewerIcons.d.ts.map +1 -0
  1072. package/dist/types/assests/svg/SparkleIcon.d.ts +3 -0
  1073. package/dist/types/assests/svg/SparkleIcon.d.ts.map +1 -0
  1074. package/dist/types/constants/diagnosticStylesBySeverity.d.ts +3 -0
  1075. package/dist/types/constants/diagnosticStylesBySeverity.d.ts.map +1 -0
  1076. package/dist/types/context/DataSelectedContext.d.ts +73 -0
  1077. package/dist/types/context/DataSelectedContext.d.ts.map +1 -0
  1078. package/dist/types/features/BPACitationRenderer/BPACitationRenderer.d.ts +5 -0
  1079. package/dist/types/features/BPACitationRenderer/BPACitationRenderer.d.ts.map +1 -0
  1080. package/dist/types/features/BPACitationRenderer/BPACitationRenderer.types.d.ts +230 -0
  1081. package/dist/types/features/BPACitationRenderer/BPACitationRenderer.types.d.ts.map +1 -0
  1082. package/dist/types/features/BPACitationRenderer/citationTypes.d.ts +15 -0
  1083. package/dist/types/features/BPACitationRenderer/citationTypes.d.ts.map +1 -0
  1084. package/dist/types/features/BookCitation/BookCitation.d.ts +42 -0
  1085. package/dist/types/features/BookCitation/BookCitation.d.ts.map +1 -0
  1086. package/dist/types/features/BookCitation/text-cleaner.d.ts +2 -0
  1087. package/dist/types/features/BookCitation/text-cleaner.d.ts.map +1 -0
  1088. package/dist/types/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.d.ts +22 -0
  1089. package/dist/types/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.d.ts.map +1 -0
  1090. package/dist/types/features/Bookemon/BookDetailsCard/BookDetailsCard.d.ts +14 -0
  1091. package/dist/types/features/Bookemon/BookDetailsCard/BookDetailsCard.d.ts.map +1 -0
  1092. package/dist/types/features/Bookemon/BookElementsCard/BookElementsCard.d.ts +53 -0
  1093. package/dist/types/features/Bookemon/BookElementsCard/BookElementsCard.d.ts.map +1 -0
  1094. package/dist/types/features/Bookemon/BookOverviewCard/BookOverviewCard.d.ts +21 -0
  1095. package/dist/types/features/Bookemon/BookOverviewCard/BookOverviewCard.d.ts.map +1 -0
  1096. package/dist/types/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.d.ts +36 -0
  1097. package/dist/types/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.d.ts.map +1 -0
  1098. package/dist/types/features/Bookemon/BookPreview/BookPreview.d.ts +51 -0
  1099. package/dist/types/features/Bookemon/BookPreview/BookPreview.d.ts.map +1 -0
  1100. package/dist/types/features/Bookemon/Bookemon.d.ts +9 -0
  1101. package/dist/types/features/Bookemon/Bookemon.d.ts.map +1 -0
  1102. package/dist/types/features/Bookemon/BookemonCitationLayer.d.ts +8 -0
  1103. package/dist/types/features/Bookemon/BookemonCitationLayer.d.ts.map +1 -0
  1104. package/dist/types/features/Bookemon/BookemonContent.d.ts +3 -0
  1105. package/dist/types/features/Bookemon/BookemonContent.d.ts.map +1 -0
  1106. package/dist/types/features/Bookemon/types/citation.types.d.ts +65 -0
  1107. package/dist/types/features/Bookemon/types/citation.types.d.ts.map +1 -0
  1108. package/dist/types/features/Bookemon/utils/highlight.d.ts +7 -0
  1109. package/dist/types/features/Bookemon/utils/highlight.d.ts.map +1 -0
  1110. package/dist/types/features/ChatCitation/BigQueryTable.d.ts +8 -0
  1111. package/dist/types/features/ChatCitation/BigQueryTable.d.ts.map +1 -0
  1112. package/dist/types/features/ChatCitation/ChatCitationRenderer.d.ts +25 -0
  1113. package/dist/types/features/ChatCitation/ChatCitationRenderer.d.ts.map +1 -0
  1114. package/dist/types/features/ChatCitation/InternalChatCitationRenderer.d.ts +13 -0
  1115. package/dist/types/features/ChatCitation/InternalChatCitationRenderer.d.ts.map +1 -0
  1116. package/dist/types/features/ChatCitation/assets/collapse.d.ts +4 -0
  1117. package/dist/types/features/ChatCitation/assets/collapse.d.ts.map +1 -0
  1118. package/dist/types/features/ChatCitation/components/AssistantChatItem.d.ts +7 -0
  1119. package/dist/types/features/ChatCitation/components/AssistantChatItem.d.ts.map +1 -0
  1120. package/dist/types/features/ChatCitation/components/ChatCitation.d.ts +16 -0
  1121. package/dist/types/features/ChatCitation/components/ChatCitation.d.ts.map +1 -0
  1122. package/dist/types/features/ChatCitation/components/Chip.d.ts +8 -0
  1123. package/dist/types/features/ChatCitation/components/Chip.d.ts.map +1 -0
  1124. package/dist/types/features/ChatCitation/components/DetailedView.d.ts +11 -0
  1125. package/dist/types/features/ChatCitation/components/DetailedView.d.ts.map +1 -0
  1126. package/dist/types/features/ChatCitation/components/IconContainer.d.ts +8 -0
  1127. package/dist/types/features/ChatCitation/components/IconContainer.d.ts.map +1 -0
  1128. package/dist/types/features/ChatCitation/components/InViewNavigation.d.ts +12 -0
  1129. package/dist/types/features/ChatCitation/components/InViewNavigation.d.ts.map +1 -0
  1130. package/dist/types/features/ChatCitation/components/MarkdownRenderer.d.ts +9 -0
  1131. package/dist/types/features/ChatCitation/components/MarkdownRenderer.d.ts.map +1 -0
  1132. package/dist/types/features/ChatCitation/components/RuleBook.d.ts +10 -0
  1133. package/dist/types/features/ChatCitation/components/RuleBook.d.ts.map +1 -0
  1134. package/dist/types/features/ChatCitation/components/SummarizedView.d.ts +19 -0
  1135. package/dist/types/features/ChatCitation/components/SummarizedView.d.ts.map +1 -0
  1136. package/dist/types/features/ChatCitation/components/UserChatItem.d.ts +7 -0
  1137. package/dist/types/features/ChatCitation/components/UserChatItem.d.ts.map +1 -0
  1138. package/dist/types/features/ChatCitation/components/UserInitialsAsAvatar.d.ts +11 -0
  1139. package/dist/types/features/ChatCitation/components/UserInitialsAsAvatar.d.ts.map +1 -0
  1140. package/dist/types/features/ChatCitation/components/wrappers/Modal.d.ts +10 -0
  1141. package/dist/types/features/ChatCitation/components/wrappers/Modal.d.ts.map +1 -0
  1142. package/dist/types/features/ChatCitation/constants/icons.d.ts +9 -0
  1143. package/dist/types/features/ChatCitation/constants/icons.d.ts.map +1 -0
  1144. package/dist/types/features/ChatCitation/constants/renderer.d.ts +7 -0
  1145. package/dist/types/features/ChatCitation/constants/renderer.d.ts.map +1 -0
  1146. package/dist/types/features/ChatCitation/types/citations.types.d.ts +113 -0
  1147. package/dist/types/features/ChatCitation/types/citations.types.d.ts.map +1 -0
  1148. package/dist/types/features/ChatCitation/utils/helpers.d.ts +16 -0
  1149. package/dist/types/features/ChatCitation/utils/helpers.d.ts.map +1 -0
  1150. package/dist/types/features/ChatDrawer/ChatDrawer.d.ts +5 -0
  1151. package/dist/types/features/ChatDrawer/ChatDrawer.d.ts.map +1 -0
  1152. package/dist/types/features/ChatDrawer/constants/ChatDrawer.d.ts +17 -0
  1153. package/dist/types/features/ChatDrawer/constants/ChatDrawer.d.ts.map +1 -0
  1154. package/dist/types/features/ChatDrawer/types/ChatDrawer.types.d.ts +51 -0
  1155. package/dist/types/features/ChatDrawer/types/ChatDrawer.types.d.ts.map +1 -0
  1156. package/dist/types/features/CitationRenderer/CitationRenderer.d.ts +21 -0
  1157. package/dist/types/features/CitationRenderer/CitationRenderer.d.ts.map +1 -0
  1158. package/dist/types/features/CitationRenderer/MarkdownRenderer.d.ts +25 -0
  1159. package/dist/types/features/CitationRenderer/MarkdownRenderer.d.ts.map +1 -0
  1160. package/dist/types/features/CitationViewer/CitationsViewer.d.ts +4 -0
  1161. package/dist/types/features/CitationViewer/CitationsViewer.d.ts.map +1 -0
  1162. package/dist/types/features/CitationViewer/components/AudioWaveform.d.ts +17 -0
  1163. package/dist/types/features/CitationViewer/components/AudioWaveform.d.ts.map +1 -0
  1164. package/dist/types/features/CitationViewer/components/Header.d.ts +12 -0
  1165. package/dist/types/features/CitationViewer/components/Header.d.ts.map +1 -0
  1166. package/dist/types/features/CitationViewer/components/KeyTakeaways.d.ts +8 -0
  1167. package/dist/types/features/CitationViewer/components/KeyTakeaways.d.ts.map +1 -0
  1168. package/dist/types/features/CitationViewer/components/Transcript.d.ts +10 -0
  1169. package/dist/types/features/CitationViewer/components/Transcript.d.ts.map +1 -0
  1170. package/dist/types/features/CitationViewer/config/apiConfig.d.ts +3 -0
  1171. package/dist/types/features/CitationViewer/config/apiConfig.d.ts.map +1 -0
  1172. package/dist/types/features/CitationViewer/hooks/getSignedUrl.d.ts +2 -0
  1173. package/dist/types/features/CitationViewer/hooks/getSignedUrl.d.ts.map +1 -0
  1174. package/dist/types/features/CitationViewer/hooks/useResolvedAudioUrl.d.ts +2 -0
  1175. package/dist/types/features/CitationViewer/hooks/useResolvedAudioUrl.d.ts.map +1 -0
  1176. package/dist/types/features/CitationViewer/types/artifact.d.ts +58 -0
  1177. package/dist/types/features/CitationViewer/types/artifact.d.ts.map +1 -0
  1178. package/dist/types/features/CodeCitation/CodeCitation.d.ts +51 -0
  1179. package/dist/types/features/CodeCitation/CodeCitation.d.ts.map +1 -0
  1180. package/dist/types/features/CodeCitation/_components/Accordian.d.ts +10 -0
  1181. package/dist/types/features/CodeCitation/_components/Accordian.d.ts.map +1 -0
  1182. package/dist/types/features/CodeCitation/_components/CodeCitationPopup.d.ts +34 -0
  1183. package/dist/types/features/CodeCitation/_components/CodeCitationPopup.d.ts.map +1 -0
  1184. package/dist/types/features/CodeCitation/_components/CodeCitationsStats.d.ts +13 -0
  1185. package/dist/types/features/CodeCitation/_components/CodeCitationsStats.d.ts.map +1 -0
  1186. package/dist/types/features/CodeCitation/_components/CodeEditor.d.ts +30 -0
  1187. package/dist/types/features/CodeCitation/_components/CodeEditor.d.ts.map +1 -0
  1188. package/dist/types/features/CodeCitation/_components/DescriptionWithToggle.d.ts +7 -0
  1189. package/dist/types/features/CodeCitation/_components/DescriptionWithToggle.d.ts.map +1 -0
  1190. package/dist/types/features/CodeCitation/_components/HighlightedCodeDetails.d.ts +16 -0
  1191. package/dist/types/features/CodeCitation/_components/HighlightedCodeDetails.d.ts.map +1 -0
  1192. package/dist/types/features/CodeCitation/_components/RepoAndBranchTag.d.ts +9 -0
  1193. package/dist/types/features/CodeCitation/_components/RepoAndBranchTag.d.ts.map +1 -0
  1194. package/dist/types/features/CodeCitation/_components/Spinner.d.ts +4 -0
  1195. package/dist/types/features/CodeCitation/_components/Spinner.d.ts.map +1 -0
  1196. package/dist/types/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.d.ts +12 -0
  1197. package/dist/types/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.d.ts.map +1 -0
  1198. package/dist/types/features/CodeCitation/_components/StatsComponents/DbStatsComponent.d.ts +10 -0
  1199. package/dist/types/features/CodeCitation/_components/StatsComponents/DbStatsComponent.d.ts.map +1 -0
  1200. package/dist/types/features/CodeCitation/_components/StatsComponents/StatsComponent.d.ts +13 -0
  1201. package/dist/types/features/CodeCitation/_components/StatsComponents/StatsComponent.d.ts.map +1 -0
  1202. package/dist/types/features/CodeCitation/_components/ThemeToggle.d.ts +12 -0
  1203. package/dist/types/features/CodeCitation/_components/ThemeToggle.d.ts.map +1 -0
  1204. package/dist/types/features/CodeCitation/_components/TooltipComponent.d.ts +8 -0
  1205. package/dist/types/features/CodeCitation/_components/TooltipComponent.d.ts.map +1 -0
  1206. package/dist/types/features/CognitiveCompare/CitationAnchor.d.ts +30 -0
  1207. package/dist/types/features/CognitiveCompare/CitationAnchor.d.ts.map +1 -0
  1208. package/dist/types/features/CognitiveCompare/CitationRenderer.d.ts +14 -0
  1209. package/dist/types/features/CognitiveCompare/CitationRenderer.d.ts.map +1 -0
  1210. package/dist/types/features/CognitiveCompare/CognitiveCompare.d.ts +7 -0
  1211. package/dist/types/features/CognitiveCompare/CognitiveCompare.d.ts.map +1 -0
  1212. package/dist/types/features/CognitiveCompare/CognitiveCompareConfig.d.ts +64 -0
  1213. package/dist/types/features/CognitiveCompare/CognitiveCompareConfig.d.ts.map +1 -0
  1214. package/dist/types/features/CognitiveCompare/CognitiveCompareConstants.d.ts +11 -0
  1215. package/dist/types/features/CognitiveCompare/CognitiveCompareConstants.d.ts.map +1 -0
  1216. package/dist/types/features/CognitiveCompare/CognitiveCompareTypes.d.ts +321 -0
  1217. package/dist/types/features/CognitiveCompare/CognitiveCompareTypes.d.ts.map +1 -0
  1218. package/dist/types/features/CognitiveCompare/CognitiveComparehelpers.d.ts +83 -0
  1219. package/dist/types/features/CognitiveCompare/CognitiveComparehelpers.d.ts.map +1 -0
  1220. package/dist/types/features/CognitiveCompare/CognitivePopup.d.ts +7 -0
  1221. package/dist/types/features/CognitiveCompare/CognitivePopup.d.ts.map +1 -0
  1222. package/dist/types/features/CognitiveCompare/CompareContext.d.ts +72 -0
  1223. package/dist/types/features/CognitiveCompare/CompareContext.d.ts.map +1 -0
  1224. package/dist/types/features/CognitiveCompare/Guidelines/components/GuidelinePanel.d.ts +4 -0
  1225. package/dist/types/features/CognitiveCompare/Guidelines/components/GuidelinePanel.d.ts.map +1 -0
  1226. package/dist/types/features/CognitiveCompare/Guidelines/components/WebGptPanel.d.ts +9 -0
  1227. package/dist/types/features/CognitiveCompare/Guidelines/components/WebGptPanel.d.ts.map +1 -0
  1228. package/dist/types/features/CognitiveCompare/Guidelines/utils/helper.d.ts +11 -0
  1229. package/dist/types/features/CognitiveCompare/Guidelines/utils/helper.d.ts.map +1 -0
  1230. package/dist/types/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.d.ts +6 -0
  1231. package/dist/types/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.d.ts.map +1 -0
  1232. package/dist/types/features/CognitiveCompare/LoaderComponent.d.ts +4 -0
  1233. package/dist/types/features/CognitiveCompare/LoaderComponent.d.ts.map +1 -0
  1234. package/dist/types/features/CognitiveCompare/MoreFunctionsPopup.d.ts +19 -0
  1235. package/dist/types/features/CognitiveCompare/MoreFunctionsPopup.d.ts.map +1 -0
  1236. package/dist/types/features/CognitiveCompare/OverlayComponent.d.ts +5 -0
  1237. package/dist/types/features/CognitiveCompare/OverlayComponent.d.ts.map +1 -0
  1238. package/dist/types/features/CognitiveCompare/ResizableSplitPane.d.ts +9 -0
  1239. package/dist/types/features/CognitiveCompare/ResizableSplitPane.d.ts.map +1 -0
  1240. package/dist/types/features/CognitiveCompare/components/CognitiveSummaryPopup.d.ts +3 -0
  1241. package/dist/types/features/CognitiveCompare/components/CognitiveSummaryPopup.d.ts.map +1 -0
  1242. package/dist/types/features/CognitiveCompare/components/CompareHeader.d.ts +13 -0
  1243. package/dist/types/features/CognitiveCompare/components/CompareHeader.d.ts.map +1 -0
  1244. package/dist/types/features/CognitiveCompare/components/LHSSectionRow.d.ts +9 -0
  1245. package/dist/types/features/CognitiveCompare/components/LHSSectionRow.d.ts.map +1 -0
  1246. package/dist/types/features/CognitiveCompare/components/RHSSectionRow.d.ts +9 -0
  1247. package/dist/types/features/CognitiveCompare/components/RHSSectionRow.d.ts.map +1 -0
  1248. package/dist/types/features/CognitiveCompare/components/ScrollLockToggle.d.ts +11 -0
  1249. package/dist/types/features/CognitiveCompare/components/ScrollLockToggle.d.ts.map +1 -0
  1250. package/dist/types/features/CognitiveCompare/components/SectionAccordion.d.ts +17 -0
  1251. package/dist/types/features/CognitiveCompare/components/SectionAccordion.d.ts.map +1 -0
  1252. package/dist/types/features/CognitiveCompare/components/SubSectionAccordion.d.ts +14 -0
  1253. package/dist/types/features/CognitiveCompare/components/SubSectionAccordion.d.ts.map +1 -0
  1254. package/dist/types/features/CognitiveCompare/components/SvgConnectors.d.ts +36 -0
  1255. package/dist/types/features/CognitiveCompare/components/SvgConnectors.d.ts.map +1 -0
  1256. package/dist/types/features/CognitiveCompare/components/ThreeDotsLoader.d.ts +8 -0
  1257. package/dist/types/features/CognitiveCompare/components/ThreeDotsLoader.d.ts.map +1 -0
  1258. package/dist/types/features/CognitiveCompare/components/connectedLines.d.ts +9 -0
  1259. package/dist/types/features/CognitiveCompare/components/connectedLines.d.ts.map +1 -0
  1260. package/dist/types/features/CognitiveCompare/hooks/memoizedMarkdown.d.ts +13 -0
  1261. package/dist/types/features/CognitiveCompare/hooks/memoizedMarkdown.d.ts.map +1 -0
  1262. package/dist/types/features/CognitiveCompare/hooks/useAccordionState.d.ts +32 -0
  1263. package/dist/types/features/CognitiveCompare/hooks/useAccordionState.d.ts.map +1 -0
  1264. package/dist/types/features/CognitiveCompare/hooks/useCompareData.d.ts +20 -0
  1265. package/dist/types/features/CognitiveCompare/hooks/useCompareData.d.ts.map +1 -0
  1266. package/dist/types/features/CognitiveCompare/hooks/useComparePopups.d.ts +22 -0
  1267. package/dist/types/features/CognitiveCompare/hooks/useComparePopups.d.ts.map +1 -0
  1268. package/dist/types/features/CognitiveCompare/hooks/useDeviationNavigation.d.ts +32 -0
  1269. package/dist/types/features/CognitiveCompare/hooks/useDeviationNavigation.d.ts.map +1 -0
  1270. package/dist/types/features/CognitiveCompare/hooks/useLinesCalculator.d.ts +26 -0
  1271. package/dist/types/features/CognitiveCompare/hooks/useLinesCalculator.d.ts.map +1 -0
  1272. package/dist/types/features/CognitiveCompare/hooks/useResizeHandler.d.ts +5 -0
  1273. package/dist/types/features/CognitiveCompare/hooks/useResizeHandler.d.ts.map +1 -0
  1274. package/dist/types/features/CognitiveCompare/hooks/useSectionRefs.d.ts +19 -0
  1275. package/dist/types/features/CognitiveCompare/hooks/useSectionRefs.d.ts.map +1 -0
  1276. package/dist/types/features/CognitiveCompare/hooks/useSideBySide.d.ts +34 -0
  1277. package/dist/types/features/CognitiveCompare/hooks/useSideBySide.d.ts.map +1 -0
  1278. package/dist/types/features/CognitiveCompare/hooks/useStyles.d.ts +16 -0
  1279. package/dist/types/features/CognitiveCompare/hooks/useStyles.d.ts.map +1 -0
  1280. package/dist/types/features/CognitiveCompare/utils/buildComparisonRows.d.ts +11 -0
  1281. package/dist/types/features/CognitiveCompare/utils/buildComparisonRows.d.ts.map +1 -0
  1282. package/dist/types/features/CognitiveDecisioning/CognitiveDecisioningWrapper.d.ts +47 -0
  1283. package/dist/types/features/CognitiveDecisioning/CognitiveDecisioningWrapper.d.ts.map +1 -0
  1284. package/dist/types/features/CognitiveDecisioning/FaqCitation/FaqCitation.d.ts +8 -0
  1285. package/dist/types/features/CognitiveDecisioning/FaqCitation/FaqCitation.d.ts.map +1 -0
  1286. package/dist/types/features/CognitiveDecisioning/shared/Audacy/GapIcon.d.ts +7 -0
  1287. package/dist/types/features/CognitiveDecisioning/shared/Audacy/GapIcon.d.ts.map +1 -0
  1288. package/dist/types/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.d.ts +19 -0
  1289. package/dist/types/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.d.ts.map +1 -0
  1290. package/dist/types/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.d.ts +26 -0
  1291. package/dist/types/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.d.ts.map +1 -0
  1292. package/dist/types/features/CognitiveInternalgptReasoning/CognitiveNonWebSearchReasoning.types.d.ts +162 -0
  1293. package/dist/types/features/CognitiveInternalgptReasoning/CognitiveNonWebSearchReasoning.types.d.ts.map +1 -0
  1294. package/dist/types/features/DataSelector/DataSelector.d.ts +18 -0
  1295. package/dist/types/features/DataSelector/DataSelector.d.ts.map +1 -0
  1296. package/dist/types/features/DataSelector/components/DataSelectionOptionsScreen.d.ts +3 -0
  1297. package/dist/types/features/DataSelector/components/DataSelectionOptionsScreen.d.ts.map +1 -0
  1298. package/dist/types/features/DataSelector/components/RLEFDataPointsListInSelectedDataSetCollection.d.ts +3 -0
  1299. package/dist/types/features/DataSelector/components/RLEFDataPointsListInSelectedDataSetCollection.d.ts.map +1 -0
  1300. package/dist/types/features/DataSelector/components/RLEFDataSetCollectionsList.d.ts +3 -0
  1301. package/dist/types/features/DataSelector/components/RLEFDataSetCollectionsList.d.ts.map +1 -0
  1302. package/dist/types/features/DataSelector/components/RlefDataTabsComponent.d.ts +4 -0
  1303. package/dist/types/features/DataSelector/components/RlefDataTabsComponent.d.ts.map +1 -0
  1304. package/dist/types/features/DataSelector/components/RlefHistoricalCopilotData.d.ts +4 -0
  1305. package/dist/types/features/DataSelector/components/RlefHistoricalCopilotData.d.ts.map +1 -0
  1306. package/dist/types/features/DataSelector/components/SavedDataSetListScreen.d.ts +13 -0
  1307. package/dist/types/features/DataSelector/components/SavedDataSetListScreen.d.ts.map +1 -0
  1308. package/dist/types/features/DataSelector/components/SelectedDataList.d.ts +3 -0
  1309. package/dist/types/features/DataSelector/components/SelectedDataList.d.ts.map +1 -0
  1310. package/dist/types/features/DataSelector/components/subcomponents/DataSetElement/DataSetElement.d.ts +10 -0
  1311. package/dist/types/features/DataSelector/components/subcomponents/DataSetElement/DataSetElement.d.ts.map +1 -0
  1312. package/dist/types/features/DualCitation/RuleBookCitationApiComponent.d.ts +20 -0
  1313. package/dist/types/features/DualCitation/RuleBookCitationApiComponent.d.ts.map +1 -0
  1314. package/dist/types/features/DualCitation/RuleBookCitationComponent.d.ts +31 -0
  1315. package/dist/types/features/DualCitation/RuleBookCitationComponent.d.ts.map +1 -0
  1316. package/dist/types/features/DualCitation/SourceBQDataCompnent.d.ts +36 -0
  1317. package/dist/types/features/DualCitation/SourceBQDataCompnent.d.ts.map +1 -0
  1318. package/dist/types/features/ExcelCitation/ExcelCitations.d.ts +15 -0
  1319. package/dist/types/features/ExcelCitation/ExcelCitations.d.ts.map +1 -0
  1320. package/dist/types/features/ExcelCitation/utils/helper.d.ts +2 -0
  1321. package/dist/types/features/ExcelCitation/utils/helper.d.ts.map +1 -0
  1322. package/dist/types/features/GptWebCitation/GptWebCitation.d.ts +15 -0
  1323. package/dist/types/features/GptWebCitation/GptWebCitation.d.ts.map +1 -0
  1324. package/dist/types/features/GptWebCitation/GptWebCitationImageCitation.d.ts +16 -0
  1325. package/dist/types/features/GptWebCitation/GptWebCitationImageCitation.d.ts.map +1 -0
  1326. package/dist/types/features/GptWebCitation/GptWebCitationImageFullScreenView.d.ts +10 -0
  1327. package/dist/types/features/GptWebCitation/GptWebCitationImageFullScreenView.d.ts.map +1 -0
  1328. package/dist/types/features/GptWebCitation/GptWebCitationSkeleton.d.ts +14 -0
  1329. package/dist/types/features/GptWebCitation/GptWebCitationSkeleton.d.ts.map +1 -0
  1330. package/dist/types/features/GptWebCitation/types.d.ts +405 -0
  1331. package/dist/types/features/GptWebCitation/types.d.ts.map +1 -0
  1332. package/dist/types/features/GptWebCitation/utils/citationData.utils.d.ts +10 -0
  1333. package/dist/types/features/GptWebCitation/utils/citationData.utils.d.ts.map +1 -0
  1334. package/dist/types/features/GptWebCitation/utils/fixedHeight.utils.d.ts +10 -0
  1335. package/dist/types/features/GptWebCitation/utils/fixedHeight.utils.d.ts.map +1 -0
  1336. package/dist/types/features/GptWebCitation/utils/styleOverrides.utils.d.ts +6 -0
  1337. package/dist/types/features/GptWebCitation/utils/styleOverrides.utils.d.ts.map +1 -0
  1338. package/dist/types/features/IngestionStatus/IngestionStatusComponent.d.ts +28 -0
  1339. package/dist/types/features/IngestionStatus/IngestionStatusComponent.d.ts.map +1 -0
  1340. package/dist/types/features/IngestionStatus/useIngestionStatus.d.ts +40 -0
  1341. package/dist/types/features/IngestionStatus/useIngestionStatus.d.ts.map +1 -0
  1342. package/dist/types/features/InstantLearningCitation/CongnitiveDecisioningComponent.d.ts +5 -0
  1343. package/dist/types/features/InstantLearningCitation/CongnitiveDecisioningComponent.d.ts.map +1 -0
  1344. package/dist/types/features/InstantLearningCitation/HistorySkeleton.d.ts +10 -0
  1345. package/dist/types/features/InstantLearningCitation/HistorySkeleton.d.ts.map +1 -0
  1346. package/dist/types/features/InstantLearningCitation/InstantLearningCitation.d.ts +2 -0
  1347. package/dist/types/features/InstantLearningCitation/InstantLearningCitation.d.ts.map +1 -0
  1348. package/dist/types/features/InstantLearningCitation/InstantLearningCitationComponent.d.ts +23 -0
  1349. package/dist/types/features/InstantLearningCitation/InstantLearningCitationComponent.d.ts.map +1 -0
  1350. package/dist/types/features/InstantLearningCitation/OverrideTimeline.d.ts +13 -0
  1351. package/dist/types/features/InstantLearningCitation/OverrideTimeline.d.ts.map +1 -0
  1352. package/dist/types/features/InstantLearningCitation/RuleConditionBlock.d.ts +13 -0
  1353. package/dist/types/features/InstantLearningCitation/RuleConditionBlock.d.ts.map +1 -0
  1354. package/dist/types/features/InstantLearningCitation/RuleContentComponent.d.ts +5 -0
  1355. package/dist/types/features/InstantLearningCitation/RuleContentComponent.d.ts.map +1 -0
  1356. package/dist/types/features/InstantLearningCitation/SlashLoader.d.ts +12 -0
  1357. package/dist/types/features/InstantLearningCitation/SlashLoader.d.ts.map +1 -0
  1358. package/dist/types/features/InstantLearningCitation/types/Types.d.ts +356 -0
  1359. package/dist/types/features/InstantLearningCitation/types/Types.d.ts.map +1 -0
  1360. package/dist/types/features/ManageRemainders/AssigneeCalendarView.d.ts +19 -0
  1361. package/dist/types/features/ManageRemainders/AssigneeCalendarView.d.ts.map +1 -0
  1362. package/dist/types/features/ManageRemainders/ManageReminders.d.ts +48 -0
  1363. package/dist/types/features/ManageRemainders/ManageReminders.d.ts.map +1 -0
  1364. package/dist/types/features/ManageRemainders/ReminderFrequencyAutocomplete.d.ts +17 -0
  1365. package/dist/types/features/ManageRemainders/ReminderFrequencyAutocomplete.d.ts.map +1 -0
  1366. package/dist/types/features/ManageRemainders/types/type.d.ts +78 -0
  1367. package/dist/types/features/ManageRemainders/types/type.d.ts.map +1 -0
  1368. package/dist/types/features/MarkdownWithImageCitation/MarkdownWithImageCitation.d.ts +37 -0
  1369. package/dist/types/features/MarkdownWithImageCitation/MarkdownWithImageCitation.d.ts.map +1 -0
  1370. package/dist/types/features/PaginatedTable/PaginatedTable.d.ts +27 -0
  1371. package/dist/types/features/PaginatedTable/PaginatedTable.d.ts.map +1 -0
  1372. package/dist/types/features/PdfEditorCitation/PdfEditorCitation.d.ts +19 -0
  1373. package/dist/types/features/PdfEditorCitation/PdfEditorCitation.d.ts.map +1 -0
  1374. package/dist/types/features/PdfViewer/PdfContainer.d.ts +16 -0
  1375. package/dist/types/features/PdfViewer/PdfContainer.d.ts.map +1 -0
  1376. package/dist/types/features/PdfViewer/PdfStyle.d.ts +33 -0
  1377. package/dist/types/features/PdfViewer/PdfStyle.d.ts.map +1 -0
  1378. package/dist/types/features/PdfViewer/PdfToolbar.d.ts +34 -0
  1379. package/dist/types/features/PdfViewer/PdfToolbar.d.ts.map +1 -0
  1380. package/dist/types/features/PdfViewer/PdfViewer.d.ts +94 -0
  1381. package/dist/types/features/PdfViewer/PdfViewer.d.ts.map +1 -0
  1382. package/dist/types/features/PdfViewer/rotationManager.d.ts +23 -0
  1383. package/dist/types/features/PdfViewer/rotationManager.d.ts.map +1 -0
  1384. package/dist/types/features/PdfViewer/usePdfHighlight.d.ts +25 -0
  1385. package/dist/types/features/PdfViewer/usePdfHighlight.d.ts.map +1 -0
  1386. package/dist/types/features/PdfViewer/zoomStateManager.d.ts +21 -0
  1387. package/dist/types/features/PdfViewer/zoomStateManager.d.ts.map +1 -0
  1388. package/dist/types/features/ProjectAccordion/ProjectAccordion.d.ts +24 -0
  1389. package/dist/types/features/ProjectAccordion/ProjectAccordion.d.ts.map +1 -0
  1390. package/dist/types/features/ProjectAccordion/_components/Markdown.d.ts +5 -0
  1391. package/dist/types/features/ProjectAccordion/_components/Markdown.d.ts.map +1 -0
  1392. package/dist/types/features/PromptCitation/CitationDependencyGraph.d.ts +56 -0
  1393. package/dist/types/features/PromptCitation/CitationDependencyGraph.d.ts.map +1 -0
  1394. package/dist/types/features/PromptCitation/PromptCitation.d.ts +326 -0
  1395. package/dist/types/features/PromptCitation/PromptCitation.d.ts.map +1 -0
  1396. package/dist/types/features/PromptCitation/_components/CodeEditor.d.ts +30 -0
  1397. package/dist/types/features/PromptCitation/_components/CodeEditor.d.ts.map +1 -0
  1398. package/dist/types/features/PromptCitation/_components/Markdownrenderer.d.ts +23 -0
  1399. package/dist/types/features/PromptCitation/_components/Markdownrenderer.d.ts.map +1 -0
  1400. package/dist/types/features/PromptCitation/_components/ThemeToggle.d.ts +12 -0
  1401. package/dist/types/features/PromptCitation/_components/ThemeToggle.d.ts.map +1 -0
  1402. package/dist/types/features/PromptemonBlockViewer/PromptemonBlockViewer.d.ts +23 -0
  1403. package/dist/types/features/PromptemonBlockViewer/PromptemonBlockViewer.d.ts.map +1 -0
  1404. package/dist/types/features/PromptemonViewer/PromptemonViewer.d.ts +43 -0
  1405. package/dist/types/features/PromptemonViewer/PromptemonViewer.d.ts.map +1 -0
  1406. package/dist/types/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.d.ts +125 -0
  1407. package/dist/types/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.d.ts.map +1 -0
  1408. package/dist/types/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.d.ts +6 -0
  1409. package/dist/types/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.d.ts.map +1 -0
  1410. package/dist/types/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.d.ts +26 -0
  1411. package/dist/types/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.d.ts.map +1 -0
  1412. package/dist/types/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.d.ts +26 -0
  1413. package/dist/types/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.d.ts.map +1 -0
  1414. package/dist/types/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.d.ts +123 -0
  1415. package/dist/types/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.d.ts.map +1 -0
  1416. package/dist/types/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.d.ts +92 -0
  1417. package/dist/types/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.d.ts.map +1 -0
  1418. package/dist/types/features/RequirementAiCitations/AiReasoning/components/ChatCitationTestForAiReasoning.d.ts +7 -0
  1419. package/dist/types/features/RequirementAiCitations/AiReasoning/components/ChatCitationTestForAiReasoning.d.ts.map +1 -0
  1420. package/dist/types/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.d.ts +12 -0
  1421. package/dist/types/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.d.ts.map +1 -0
  1422. package/dist/types/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.d.ts +12 -0
  1423. package/dist/types/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.d.ts.map +1 -0
  1424. package/dist/types/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.d.ts +12 -0
  1425. package/dist/types/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.d.ts.map +1 -0
  1426. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.d.ts +7 -0
  1427. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.d.ts.map +1 -0
  1428. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.d.ts +7 -0
  1429. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.d.ts.map +1 -0
  1430. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.d.ts +7 -0
  1431. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.d.ts.map +1 -0
  1432. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/DocumentCitationIcon.d.ts +4 -0
  1433. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/DocumentCitationIcon.d.ts.map +1 -0
  1434. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.d.ts +7 -0
  1435. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.d.ts.map +1 -0
  1436. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.d.ts +4 -0
  1437. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.d.ts.map +1 -0
  1438. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.d.ts +7 -0
  1439. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.d.ts.map +1 -0
  1440. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.d.ts +6 -0
  1441. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.d.ts.map +1 -0
  1442. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.d.ts +3 -0
  1443. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.d.ts.map +1 -0
  1444. package/dist/types/features/RequirementAiCitations/AiReasoning/types/interface.d.ts +207 -0
  1445. package/dist/types/features/RequirementAiCitations/AiReasoning/types/interface.d.ts.map +1 -0
  1446. package/dist/types/features/RequirementAiCitations/FileCitation/FileCitationContent.d.ts +31 -0
  1447. package/dist/types/features/RequirementAiCitations/FileCitation/FileCitationContent.d.ts.map +1 -0
  1448. package/dist/types/features/RequirementAiCitations/ImageCitation/ImageCitationContent.d.ts +33 -0
  1449. package/dist/types/features/RequirementAiCitations/ImageCitation/ImageCitationContent.d.ts.map +1 -0
  1450. package/dist/types/features/RequirementAiCitations/VideoCitation/VideoCitationContent.d.ts +45 -0
  1451. package/dist/types/features/RequirementAiCitations/VideoCitation/VideoCitationContent.d.ts.map +1 -0
  1452. package/dist/types/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.d.ts +47 -0
  1453. package/dist/types/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.d.ts.map +1 -0
  1454. package/dist/types/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.d.ts +16 -0
  1455. package/dist/types/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.d.ts.map +1 -0
  1456. package/dist/types/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.d.ts +4 -0
  1457. package/dist/types/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.d.ts.map +1 -0
  1458. package/dist/types/features/ReviewPanel/ReviewPanel.d.ts +52 -0
  1459. package/dist/types/features/ReviewPanel/ReviewPanel.d.ts.map +1 -0
  1460. package/dist/types/features/RulebookCitations/RuleBookCitation.types.d.ts +40 -0
  1461. package/dist/types/features/RulebookCitations/RuleBookCitation.types.d.ts.map +1 -0
  1462. package/dist/types/features/RulebookCitations/RuleBookCitationApi.d.ts +18 -0
  1463. package/dist/types/features/RulebookCitations/RuleBookCitationApi.d.ts.map +1 -0
  1464. package/dist/types/features/RulebookCitations/RuleBookCitationWrapper.d.ts +26 -0
  1465. package/dist/types/features/RulebookCitations/RuleBookCitationWrapper.d.ts.map +1 -0
  1466. package/dist/types/features/SPBAnalysisPanel/Cognitivereasoningpanel.d.ts +52 -0
  1467. package/dist/types/features/SPBAnalysisPanel/Cognitivereasoningpanel.d.ts.map +1 -0
  1468. package/dist/types/features/SPBAnalysisPanel/DependencyGraph.d.ts +71 -0
  1469. package/dist/types/features/SPBAnalysisPanel/DependencyGraph.d.ts.map +1 -0
  1470. package/dist/types/features/SPBAnalysisPanel/Internaleditor.d.ts +12 -0
  1471. package/dist/types/features/SPBAnalysisPanel/Internaleditor.d.ts.map +1 -0
  1472. package/dist/types/features/SPBAnalysisPanel/Markdownrenderer.d.ts +16 -0
  1473. package/dist/types/features/SPBAnalysisPanel/Markdownrenderer.d.ts.map +1 -0
  1474. package/dist/types/features/SPBAnalysisPanel/Spbanalysispanel.d.ts +134 -0
  1475. package/dist/types/features/SPBAnalysisPanel/Spbanalysispanel.d.ts.map +1 -0
  1476. package/dist/types/features/SPBAnalysisPanel/index.d.ts +10 -0
  1477. package/dist/types/features/SPBAnalysisPanel/index.d.ts.map +1 -0
  1478. package/dist/types/features/ScannedDocCitation/ScannedDocCitation.d.ts +56 -0
  1479. package/dist/types/features/ScannedDocCitation/ScannedDocCitation.d.ts.map +1 -0
  1480. package/dist/types/features/SegmentReviewComponents/BoundaryCard.d.ts +85 -0
  1481. package/dist/types/features/SegmentReviewComponents/BoundaryCard.d.ts.map +1 -0
  1482. package/dist/types/features/SegmentReviewComponents/CardWrapper.d.ts +26 -0
  1483. package/dist/types/features/SegmentReviewComponents/CardWrapper.d.ts.map +1 -0
  1484. package/dist/types/features/SegmentReviewComponents/ChartBreakoutCircle.d.ts +2 -0
  1485. package/dist/types/features/SegmentReviewComponents/ChartBreakoutCircle.d.ts.map +1 -0
  1486. package/dist/types/features/SegmentReviewComponents/CognitiveIcon.d.ts +3 -0
  1487. package/dist/types/features/SegmentReviewComponents/CognitiveIcon.d.ts.map +1 -0
  1488. package/dist/types/features/SegmentReviewComponents/CognitiveIntegrity.d.ts +33 -0
  1489. package/dist/types/features/SegmentReviewComponents/CognitiveIntegrity.d.ts.map +1 -0
  1490. package/dist/types/features/SegmentReviewComponents/CognitiveScoreBadge.d.ts +7 -0
  1491. package/dist/types/features/SegmentReviewComponents/CognitiveScoreBadge.d.ts.map +1 -0
  1492. package/dist/types/features/SegmentReviewComponents/LabelCheck.d.ts +87 -0
  1493. package/dist/types/features/SegmentReviewComponents/LabelCheck.d.ts.map +1 -0
  1494. package/dist/types/features/SegmentReviewComponents/PageCheck.d.ts +57 -0
  1495. package/dist/types/features/SegmentReviewComponents/PageCheck.d.ts.map +1 -0
  1496. package/dist/types/features/SegmentReviewComponents/PageTypeChoiceCheck.d.ts +28 -0
  1497. package/dist/types/features/SegmentReviewComponents/PageTypeChoiceCheck.d.ts.map +1 -0
  1498. package/dist/types/features/SegmentReviewComponents/RevertCard.d.ts +37 -0
  1499. package/dist/types/features/SegmentReviewComponents/RevertCard.d.ts.map +1 -0
  1500. package/dist/types/features/SegmentReviewComponents/RevertSuccessCard.d.ts +9 -0
  1501. package/dist/types/features/SegmentReviewComponents/RevertSuccessCard.d.ts.map +1 -0
  1502. package/dist/types/features/SegmentReviewComponents/RevertSummaryNotice.d.ts +7 -0
  1503. package/dist/types/features/SegmentReviewComponents/RevertSummaryNotice.d.ts.map +1 -0
  1504. package/dist/types/features/SegmentReviewComponents/ReviewedBoundaryActions.d.ts +17 -0
  1505. package/dist/types/features/SegmentReviewComponents/ReviewedBoundaryActions.d.ts.map +1 -0
  1506. package/dist/types/features/SegmentReviewComponents/ReviewedCard.d.ts +33 -0
  1507. package/dist/types/features/SegmentReviewComponents/ReviewedCard.d.ts.map +1 -0
  1508. package/dist/types/features/SegmentReviewComponents/SegmentReviewPdfWrapper.d.ts +124 -0
  1509. package/dist/types/features/SegmentReviewComponents/SegmentReviewPdfWrapper.d.ts.map +1 -0
  1510. package/dist/types/features/SegmentReviewComponents/helper.d.ts +51 -0
  1511. package/dist/types/features/SegmentReviewComponents/helper.d.ts.map +1 -0
  1512. package/dist/types/features/SegmentReviewComponents/index.d.ts +23 -0
  1513. package/dist/types/features/SegmentReviewComponents/index.d.ts.map +1 -0
  1514. package/dist/types/features/SegmentReviewComponents/reviewScore.d.ts +4 -0
  1515. package/dist/types/features/SegmentReviewComponents/reviewScore.d.ts.map +1 -0
  1516. package/dist/types/features/SegmentReviewComponents/reviewStepAdapters.d.ts +243 -0
  1517. package/dist/types/features/SegmentReviewComponents/reviewStepAdapters.d.ts.map +1 -0
  1518. package/dist/types/features/SplitterCitations/SplitterCitationsComponent.d.ts +5 -0
  1519. package/dist/types/features/SplitterCitations/SplitterCitationsComponent.d.ts.map +1 -0
  1520. package/dist/types/features/SplitterCitations/icons/icons.d.ts +17 -0
  1521. package/dist/types/features/SplitterCitations/icons/icons.d.ts.map +1 -0
  1522. package/dist/types/features/SplitterCitations/types.d.ts +77 -0
  1523. package/dist/types/features/SplitterCitations/types.d.ts.map +1 -0
  1524. package/dist/types/features/TableCitation/TableCitationContent.d.ts +14 -0
  1525. package/dist/types/features/TableCitation/TableCitationContent.d.ts.map +1 -0
  1526. package/dist/types/features/TextualGuidelines/TextualGuideLinesComponent.d.ts +25 -0
  1527. package/dist/types/features/TextualGuidelines/TextualGuideLinesComponent.d.ts.map +1 -0
  1528. package/dist/types/features/TextualGuidelines/TextualGuidelines.types.d.ts +81 -0
  1529. package/dist/types/features/TextualGuidelines/TextualGuidelines.types.d.ts.map +1 -0
  1530. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/Components/Dataset-collection.d.ts +14 -0
  1531. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/Components/Dataset-collection.d.ts.map +1 -0
  1532. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/Components/ProjectTaskSelect.d.ts +13 -0
  1533. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/Components/ProjectTaskSelect.d.ts.map +1 -0
  1534. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/collections.d.ts +1107 -0
  1535. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/collections.d.ts.map +1 -0
  1536. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/common.d.ts +57 -0
  1537. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/common.d.ts.map +1 -0
  1538. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/data.d.ts +643 -0
  1539. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/data.d.ts.map +1 -0
  1540. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/modelGroup.type.d.ts +24 -0
  1541. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/modelGroup.type.d.ts.map +1 -0
  1542. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/models.d.ts +283 -0
  1543. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/models.d.ts.map +1 -0
  1544. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/projects.d.ts +58 -0
  1545. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/projects.d.ts.map +1 -0
  1546. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/tags.d.ts +20 -0
  1547. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/tags.d.ts.map +1 -0
  1548. package/dist/types/features/UploadData/main.d.ts +9 -0
  1549. package/dist/types/features/UploadData/main.d.ts.map +1 -0
  1550. package/dist/types/hooks/useOnDemandCitationFetch.d.ts +11 -0
  1551. package/dist/types/hooks/useOnDemandCitationFetch.d.ts.map +1 -0
  1552. package/dist/types/index.d.ts +63 -0
  1553. package/dist/types/index.d.ts.map +1 -0
  1554. package/dist/types/methodsToExpose.d.ts +18 -0
  1555. package/dist/types/methodsToExpose.d.ts.map +1 -0
  1556. package/dist/types/onDemandApi.types.js +1 -1
  1557. package/dist/types/onDemandApi.types.js.map +1 -1
  1558. package/dist/types/service/API.d.ts +6 -0
  1559. package/dist/types/service/API.d.ts.map +1 -0
  1560. package/dist/types/service/DataService.d.ts +73 -0
  1561. package/dist/types/service/DataService.d.ts.map +1 -0
  1562. package/dist/types/service/ModelService.d.ts +68 -0
  1563. package/dist/types/service/ModelService.d.ts.map +1 -0
  1564. package/dist/types/service/ProjectService.d.ts +16 -0
  1565. package/dist/types/service/ProjectService.d.ts.map +1 -0
  1566. package/dist/types/service/SavedDataSetService.d.ts +27 -0
  1567. package/dist/types/service/SavedDataSetService.d.ts.map +1 -0
  1568. package/dist/types/service/apicache.service.d.ts +43 -0
  1569. package/dist/types/service/apicache.service.d.ts.map +1 -0
  1570. package/dist/types/service/constants.d.ts +3 -0
  1571. package/dist/types/service/constants.d.ts.map +1 -0
  1572. package/dist/types/service/envHelperService.d.ts +5 -0
  1573. package/dist/types/service/envHelperService.d.ts.map +1 -0
  1574. package/dist/types/service/onDemandApi.d.ts +27 -0
  1575. package/dist/types/service/onDemandApi.d.ts.map +1 -0
  1576. package/dist/types/service/variableHelperService.d.ts +6 -0
  1577. package/dist/types/service/variableHelperService.d.ts.map +1 -0
  1578. package/dist/types/theme.d.ts +4 -0
  1579. package/dist/types/theme.d.ts.map +1 -0
  1580. package/dist/types/types/CodeCitationTypes.d.ts +46 -0
  1581. package/dist/types/types/CodeCitationTypes.d.ts.map +1 -0
  1582. package/dist/types/types/onDemandApi.types.d.ts +63 -0
  1583. package/dist/types/types/onDemandApi.types.d.ts.map +1 -0
  1584. package/dist/types/types/useOnDemandCitationFetch.types.d.ts +70 -0
  1585. package/dist/types/types/useOnDemandCitationFetch.types.d.ts.map +1 -0
  1586. package/dist/types/userProvidedConfig.d.ts +8 -0
  1587. package/dist/types/userProvidedConfig.d.ts.map +1 -0
  1588. package/dist/types/utils/api.d.ts +2 -0
  1589. package/dist/types/utils/api.d.ts.map +1 -0
  1590. package/dist/types/utils/codeCitations.utils.d.ts +9 -0
  1591. package/dist/types/utils/codeCitations.utils.d.ts.map +1 -0
  1592. package/dist/types/utils/helper.d.ts +5 -0
  1593. package/dist/types/utils/helper.d.ts.map +1 -0
  1594. package/dist/types/utils/sanitizeHtml.d.ts +5 -0
  1595. package/dist/types/utils/sanitizeHtml.d.ts.map +1 -0
  1596. package/dist/types/utils/themeManager.d.ts +13 -0
  1597. package/dist/types/utils/themeManager.d.ts.map +1 -0
  1598. package/dist/utils/codeCitations.utils.js +1 -1
  1599. package/dist/utils/codeCitations.utils.js.map +1 -1
  1600. package/dist/utils/helper.js +2 -0
  1601. package/dist/utils/helper.js.map +1 -0
  1602. package/dist/utils/sanitizeHtml.js +1 -1
  1603. package/dist/utils/sanitizeHtml.js.map +1 -1
  1604. package/dist/utils/themeManager.js +1 -1
  1605. package/dist/utils/themeManager.js.map +1 -1
  1606. package/package.json +135 -278
  1607. package/dist/types/src/AccordianHeadTest.d.ts +0 -2
  1608. package/dist/types/src/AccordianHeadTest.d.ts.map +0 -1
  1609. package/dist/types/src/App.d.ts +0 -3
  1610. package/dist/types/src/App.d.ts.map +0 -1
  1611. package/dist/types/src/AutopilotStyle.d.ts +0 -2
  1612. package/dist/types/src/AutopilotStyle.d.ts.map +0 -1
  1613. package/dist/types/src/BookCitationTest.d.ts +0 -3
  1614. package/dist/types/src/BookCitationTest.d.ts.map +0 -1
  1615. package/dist/types/src/BookemonTest.d.ts +0 -83
  1616. package/dist/types/src/BookemonTest.d.ts.map +0 -1
  1617. package/dist/types/src/ChatCitationTest.d.ts +0 -7
  1618. package/dist/types/src/ChatCitationTest.d.ts.map +0 -1
  1619. package/dist/types/src/ChatDrawerTest.d.ts +0 -17
  1620. package/dist/types/src/ChatDrawerTest.d.ts.map +0 -1
  1621. package/dist/types/src/CitationDependencyGraphTest.d.ts +0 -4
  1622. package/dist/types/src/CitationDependencyGraphTest.d.ts.map +0 -1
  1623. package/dist/types/src/CodeCitationTest.d.ts +0 -3
  1624. package/dist/types/src/CodeCitationTest.d.ts.map +0 -1
  1625. package/dist/types/src/CognitiveCompareTest.d.ts +0 -3
  1626. package/dist/types/src/CognitiveCompareTest.d.ts.map +0 -1
  1627. package/dist/types/src/CommonComponents/AccordianHead/AccordianHead.d.ts +0 -9
  1628. package/dist/types/src/CommonComponents/AccordianHead/AccordianHead.d.ts.map +0 -1
  1629. package/dist/types/src/CommonComponents/CustomDropdown.d.ts +0 -4
  1630. package/dist/types/src/CommonComponents/CustomDropdown.d.ts.map +0 -1
  1631. package/dist/types/src/CommonComponents/HelloWorld.d.ts +0 -2
  1632. package/dist/types/src/CommonComponents/HelloWorld.d.ts.map +0 -1
  1633. package/dist/types/src/CommonComponents/NoTableData.d.ts +0 -6
  1634. package/dist/types/src/CommonComponents/NoTableData.d.ts.map +0 -1
  1635. package/dist/types/src/CommonComponents/Spinner.d.ts +0 -4
  1636. package/dist/types/src/CommonComponents/Spinner.d.ts.map +0 -1
  1637. package/dist/types/src/CommonConstants/CommonConstants.d.ts +0 -5
  1638. package/dist/types/src/CommonConstants/CommonConstants.d.ts.map +0 -1
  1639. package/dist/types/src/CustomStylesProvider.d.ts +0 -6
  1640. package/dist/types/src/CustomStylesProvider.d.ts.map +0 -1
  1641. package/dist/types/src/CustomThemeProvider.d.ts +0 -7
  1642. package/dist/types/src/CustomThemeProvider.d.ts.map +0 -1
  1643. package/dist/types/src/DatagestMonTest.d.ts +0 -3
  1644. package/dist/types/src/DatagestMonTest.d.ts.map +0 -1
  1645. package/dist/types/src/DbCodeCitationTest.d.ts +0 -3
  1646. package/dist/types/src/DbCodeCitationTest.d.ts.map +0 -1
  1647. package/dist/types/src/EmailCitationTest.d.ts +0 -3
  1648. package/dist/types/src/EmailCitationTest.d.ts.map +0 -1
  1649. package/dist/types/src/ExcelCitationTest.d.ts +0 -2
  1650. package/dist/types/src/ExcelCitationTest.d.ts.map +0 -1
  1651. package/dist/types/src/GoogleFilePickerDemo.d.ts +0 -2
  1652. package/dist/types/src/GoogleFilePickerDemo.d.ts.map +0 -1
  1653. package/dist/types/src/MarkdownWithImageCitationTest.d.ts +0 -3
  1654. package/dist/types/src/MarkdownWithImageCitationTest.d.ts.map +0 -1
  1655. package/dist/types/src/PaginatedTableTest/PaginatedTableTest.d.ts +0 -3
  1656. package/dist/types/src/PaginatedTableTest/PaginatedTableTest.d.ts.map +0 -1
  1657. package/dist/types/src/PaginatedTableTest/useFetchData.d.ts +0 -15
  1658. package/dist/types/src/PaginatedTableTest/useFetchData.d.ts.map +0 -1
  1659. package/dist/types/src/PdfViewerTest.d.ts +0 -5
  1660. package/dist/types/src/PdfViewerTest.d.ts.map +0 -1
  1661. package/dist/types/src/ProjectAccordianTest.d.ts +0 -3
  1662. package/dist/types/src/ProjectAccordianTest.d.ts.map +0 -1
  1663. package/dist/types/src/PromptemonBlockViewerTest.d.ts +0 -3
  1664. package/dist/types/src/PromptemonBlockViewerTest.d.ts.map +0 -1
  1665. package/dist/types/src/PromptemonViewerTest.d.ts +0 -3
  1666. package/dist/types/src/PromptemonViewerTest.d.ts.map +0 -1
  1667. package/dist/types/src/RequirementAICitationTest.d.ts +0 -3
  1668. package/dist/types/src/RequirementAICitationTest.d.ts.map +0 -1
  1669. package/dist/types/src/ScannedDocCitationTest.d.ts +0 -2
  1670. package/dist/types/src/ScannedDocCitationTest.d.ts.map +0 -1
  1671. package/dist/types/src/Spbanalysispaneltest.d.ts +0 -3
  1672. package/dist/types/src/Spbanalysispaneltest.d.ts.map +0 -1
  1673. package/dist/types/src/TableCitationTest.d.ts +0 -3
  1674. package/dist/types/src/TableCitationTest.d.ts.map +0 -1
  1675. package/dist/types/src/assests/icons/ChartSplitIcon.d.ts +0 -3
  1676. package/dist/types/src/assests/icons/ChartSplitIcon.d.ts.map +0 -1
  1677. package/dist/types/src/assests/icons/CitationsIcon.d.ts +0 -2
  1678. package/dist/types/src/assests/icons/CitationsIcon.d.ts.map +0 -1
  1679. package/dist/types/src/assests/icons/CitationsSparkleIcon.d.ts +0 -10
  1680. package/dist/types/src/assests/icons/CitationsSparkleIcon.d.ts.map +0 -1
  1681. package/dist/types/src/assests/icons/InfoAlert.d.ts +0 -3
  1682. package/dist/types/src/assests/icons/InfoAlert.d.ts.map +0 -1
  1683. package/dist/types/src/assests/svg/ButtonCognitiveIcon.d.ts +0 -2
  1684. package/dist/types/src/assests/svg/ButtonCognitiveIcon.d.ts.map +0 -1
  1685. package/dist/types/src/assests/svg/NeuralNetworkIcon.d.ts +0 -9
  1686. package/dist/types/src/assests/svg/NeuralNetworkIcon.d.ts.map +0 -1
  1687. package/dist/types/src/assests/svg/PdfViewerIcons.d.ts +0 -6
  1688. package/dist/types/src/assests/svg/PdfViewerIcons.d.ts.map +0 -1
  1689. package/dist/types/src/assests/svg/SparkleIcon.d.ts +0 -3
  1690. package/dist/types/src/assests/svg/SparkleIcon.d.ts.map +0 -1
  1691. package/dist/types/src/constants/diagnosticStylesBySeverity.d.ts +0 -3
  1692. package/dist/types/src/constants/diagnosticStylesBySeverity.d.ts.map +0 -1
  1693. package/dist/types/src/context/DataSelectedContext.d.ts +0 -73
  1694. package/dist/types/src/context/DataSelectedContext.d.ts.map +0 -1
  1695. package/dist/types/src/features/BPACitationRenderer/BPACitationRenderer.d.ts +0 -5
  1696. package/dist/types/src/features/BPACitationRenderer/BPACitationRenderer.d.ts.map +0 -1
  1697. package/dist/types/src/features/BPACitationRenderer/BPACitationRenderer.types.d.ts +0 -230
  1698. package/dist/types/src/features/BPACitationRenderer/BPACitationRenderer.types.d.ts.map +0 -1
  1699. package/dist/types/src/features/BPACitationRenderer/BPACitationRendererTest.d.ts +0 -6
  1700. package/dist/types/src/features/BPACitationRenderer/BPACitationRendererTest.d.ts.map +0 -1
  1701. package/dist/types/src/features/BPACitationRenderer/DualRuleBookBqCitationTest.d.ts +0 -4
  1702. package/dist/types/src/features/BPACitationRenderer/DualRuleBookBqCitationTest.d.ts.map +0 -1
  1703. package/dist/types/src/features/BPACitationRenderer/DualRuleBookGptCitationTest.d.ts +0 -4
  1704. package/dist/types/src/features/BPACitationRenderer/DualRuleBookGptCitationTest.d.ts.map +0 -1
  1705. package/dist/types/src/features/BPACitationRenderer/ILRuleBookCitationTest.d.ts +0 -4
  1706. package/dist/types/src/features/BPACitationRenderer/ILRuleBookCitationTest.d.ts.map +0 -1
  1707. package/dist/types/src/features/BPACitationRenderer/citationTypes.d.ts +0 -15
  1708. package/dist/types/src/features/BPACitationRenderer/citationTypes.d.ts.map +0 -1
  1709. package/dist/types/src/features/BookCitation/BookCitation.d.ts +0 -42
  1710. package/dist/types/src/features/BookCitation/BookCitation.d.ts.map +0 -1
  1711. package/dist/types/src/features/BookCitation/text-cleaner.d.ts +0 -2
  1712. package/dist/types/src/features/BookCitation/text-cleaner.d.ts.map +0 -1
  1713. package/dist/types/src/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.d.ts +0 -21
  1714. package/dist/types/src/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.d.ts.map +0 -1
  1715. package/dist/types/src/features/Bookemon/BookDetailsCard/BookDetailsCard.d.ts +0 -13
  1716. package/dist/types/src/features/Bookemon/BookDetailsCard/BookDetailsCard.d.ts.map +0 -1
  1717. package/dist/types/src/features/Bookemon/BookElementsCard/BookElementsCard.d.ts +0 -52
  1718. package/dist/types/src/features/Bookemon/BookElementsCard/BookElementsCard.d.ts.map +0 -1
  1719. package/dist/types/src/features/Bookemon/BookOverviewCard/BookOverviewCard.d.ts +0 -20
  1720. package/dist/types/src/features/Bookemon/BookOverviewCard/BookOverviewCard.d.ts.map +0 -1
  1721. package/dist/types/src/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.d.ts +0 -35
  1722. package/dist/types/src/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.d.ts.map +0 -1
  1723. package/dist/types/src/features/Bookemon/BookPreview/BookPreview.d.ts +0 -51
  1724. package/dist/types/src/features/Bookemon/BookPreview/BookPreview.d.ts.map +0 -1
  1725. package/dist/types/src/features/Bookemon/Bookemon.d.ts +0 -9
  1726. package/dist/types/src/features/Bookemon/Bookemon.d.ts.map +0 -1
  1727. package/dist/types/src/features/Bookemon/BookemonCitationLayer.d.ts +0 -7
  1728. package/dist/types/src/features/Bookemon/BookemonCitationLayer.d.ts.map +0 -1
  1729. package/dist/types/src/features/Bookemon/BookemonContent.d.ts +0 -3
  1730. package/dist/types/src/features/Bookemon/BookemonContent.d.ts.map +0 -1
  1731. package/dist/types/src/features/Bookemon/types/citation.types.d.ts +0 -65
  1732. package/dist/types/src/features/Bookemon/types/citation.types.d.ts.map +0 -1
  1733. package/dist/types/src/features/Bookemon/utils/highlight.d.ts +0 -7
  1734. package/dist/types/src/features/Bookemon/utils/highlight.d.ts.map +0 -1
  1735. package/dist/types/src/features/ChatCitation/BigQueryTable.d.ts +0 -8
  1736. package/dist/types/src/features/ChatCitation/BigQueryTable.d.ts.map +0 -1
  1737. package/dist/types/src/features/ChatCitation/ChatCitationRenderer.d.ts +0 -26
  1738. package/dist/types/src/features/ChatCitation/ChatCitationRenderer.d.ts.map +0 -1
  1739. package/dist/types/src/features/ChatCitation/InternalChatCitationRenderer.d.ts +0 -13
  1740. package/dist/types/src/features/ChatCitation/InternalChatCitationRenderer.d.ts.map +0 -1
  1741. package/dist/types/src/features/ChatCitation/assets/collapse.d.ts +0 -3
  1742. package/dist/types/src/features/ChatCitation/assets/collapse.d.ts.map +0 -1
  1743. package/dist/types/src/features/ChatCitation/components/AssistantChatItem.d.ts +0 -8
  1744. package/dist/types/src/features/ChatCitation/components/AssistantChatItem.d.ts.map +0 -1
  1745. package/dist/types/src/features/ChatCitation/components/ChatCitation.d.ts +0 -16
  1746. package/dist/types/src/features/ChatCitation/components/ChatCitation.d.ts.map +0 -1
  1747. package/dist/types/src/features/ChatCitation/components/Chip.d.ts +0 -8
  1748. package/dist/types/src/features/ChatCitation/components/Chip.d.ts.map +0 -1
  1749. package/dist/types/src/features/ChatCitation/components/DetailedView.d.ts +0 -10
  1750. package/dist/types/src/features/ChatCitation/components/DetailedView.d.ts.map +0 -1
  1751. package/dist/types/src/features/ChatCitation/components/IconContainer.d.ts +0 -8
  1752. package/dist/types/src/features/ChatCitation/components/IconContainer.d.ts.map +0 -1
  1753. package/dist/types/src/features/ChatCitation/components/InViewNavigation.d.ts +0 -11
  1754. package/dist/types/src/features/ChatCitation/components/InViewNavigation.d.ts.map +0 -1
  1755. package/dist/types/src/features/ChatCitation/components/MarkdownRenderer.d.ts +0 -10
  1756. package/dist/types/src/features/ChatCitation/components/MarkdownRenderer.d.ts.map +0 -1
  1757. package/dist/types/src/features/ChatCitation/components/RuleBook.d.ts +0 -9
  1758. package/dist/types/src/features/ChatCitation/components/RuleBook.d.ts.map +0 -1
  1759. package/dist/types/src/features/ChatCitation/components/SummarizedView.d.ts +0 -19
  1760. package/dist/types/src/features/ChatCitation/components/SummarizedView.d.ts.map +0 -1
  1761. package/dist/types/src/features/ChatCitation/components/UserChatItem.d.ts +0 -8
  1762. package/dist/types/src/features/ChatCitation/components/UserChatItem.d.ts.map +0 -1
  1763. package/dist/types/src/features/ChatCitation/components/UserInitialsAsAvatar.d.ts +0 -11
  1764. package/dist/types/src/features/ChatCitation/components/UserInitialsAsAvatar.d.ts.map +0 -1
  1765. package/dist/types/src/features/ChatCitation/components/wrappers/Modal.d.ts +0 -10
  1766. package/dist/types/src/features/ChatCitation/components/wrappers/Modal.d.ts.map +0 -1
  1767. package/dist/types/src/features/ChatCitation/constants/icons.d.ts +0 -9
  1768. package/dist/types/src/features/ChatCitation/constants/icons.d.ts.map +0 -1
  1769. package/dist/types/src/features/ChatCitation/constants/renderer.d.ts +0 -7
  1770. package/dist/types/src/features/ChatCitation/constants/renderer.d.ts.map +0 -1
  1771. package/dist/types/src/features/ChatCitation/types/citations.types.d.ts +0 -114
  1772. package/dist/types/src/features/ChatCitation/types/citations.types.d.ts.map +0 -1
  1773. package/dist/types/src/features/ChatCitation/utils/helpers.d.ts +0 -16
  1774. package/dist/types/src/features/ChatCitation/utils/helpers.d.ts.map +0 -1
  1775. package/dist/types/src/features/ChatDrawer/ChatDrawer.d.ts +0 -5
  1776. package/dist/types/src/features/ChatDrawer/ChatDrawer.d.ts.map +0 -1
  1777. package/dist/types/src/features/ChatDrawer/UploadedFilesList.types.d.ts +0 -33
  1778. package/dist/types/src/features/ChatDrawer/UploadedFilesList.types.d.ts.map +0 -1
  1779. package/dist/types/src/features/ChatDrawer/Uploadedfileslist.d.ts +0 -5
  1780. package/dist/types/src/features/ChatDrawer/Uploadedfileslist.d.ts.map +0 -1
  1781. package/dist/types/src/features/ChatDrawer/constants/ChatDrawer.d.ts +0 -17
  1782. package/dist/types/src/features/ChatDrawer/constants/ChatDrawer.d.ts.map +0 -1
  1783. package/dist/types/src/features/ChatDrawer/context/ChatDrawerContext.d.ts +0 -8
  1784. package/dist/types/src/features/ChatDrawer/context/ChatDrawerContext.d.ts.map +0 -1
  1785. package/dist/types/src/features/ChatDrawer/types/ChatDrawer.types.d.ts +0 -51
  1786. package/dist/types/src/features/ChatDrawer/types/ChatDrawer.types.d.ts.map +0 -1
  1787. package/dist/types/src/features/CitationRenderer/CitationRenderer.d.ts +0 -21
  1788. package/dist/types/src/features/CitationRenderer/CitationRenderer.d.ts.map +0 -1
  1789. package/dist/types/src/features/CitationRenderer/MarkdownRenderer.d.ts +0 -25
  1790. package/dist/types/src/features/CitationRenderer/MarkdownRenderer.d.ts.map +0 -1
  1791. package/dist/types/src/features/CitationViewer/CitationsViewer.d.ts +0 -5
  1792. package/dist/types/src/features/CitationViewer/CitationsViewer.d.ts.map +0 -1
  1793. package/dist/types/src/features/CitationViewer/components/AudioPlayer.d.ts +0 -8
  1794. package/dist/types/src/features/CitationViewer/components/AudioPlayer.d.ts.map +0 -1
  1795. package/dist/types/src/features/CitationViewer/components/AudioWaveform.d.ts +0 -17
  1796. package/dist/types/src/features/CitationViewer/components/AudioWaveform.d.ts.map +0 -1
  1797. package/dist/types/src/features/CitationViewer/components/ChatHistory.d.ts +0 -8
  1798. package/dist/types/src/features/CitationViewer/components/ChatHistory.d.ts.map +0 -1
  1799. package/dist/types/src/features/CitationViewer/components/Header.d.ts +0 -12
  1800. package/dist/types/src/features/CitationViewer/components/Header.d.ts.map +0 -1
  1801. package/dist/types/src/features/CitationViewer/components/KeyTakeaways.d.ts +0 -8
  1802. package/dist/types/src/features/CitationViewer/components/KeyTakeaways.d.ts.map +0 -1
  1803. package/dist/types/src/features/CitationViewer/components/Transcript.d.ts +0 -10
  1804. package/dist/types/src/features/CitationViewer/components/Transcript.d.ts.map +0 -1
  1805. package/dist/types/src/features/CitationViewer/config/apiConfig.d.ts +0 -3
  1806. package/dist/types/src/features/CitationViewer/config/apiConfig.d.ts.map +0 -1
  1807. package/dist/types/src/features/CitationViewer/hooks/getSignedUrl.d.ts +0 -2
  1808. package/dist/types/src/features/CitationViewer/hooks/getSignedUrl.d.ts.map +0 -1
  1809. package/dist/types/src/features/CitationViewer/hooks/useResolvedAudioUrl.d.ts +0 -2
  1810. package/dist/types/src/features/CitationViewer/hooks/useResolvedAudioUrl.d.ts.map +0 -1
  1811. package/dist/types/src/features/CitationViewer/types/artifact.d.ts +0 -59
  1812. package/dist/types/src/features/CitationViewer/types/artifact.d.ts.map +0 -1
  1813. package/dist/types/src/features/CodeCitation/CodeCitation.d.ts +0 -51
  1814. package/dist/types/src/features/CodeCitation/CodeCitation.d.ts.map +0 -1
  1815. package/dist/types/src/features/CodeCitation/_components/Accordian.d.ts +0 -10
  1816. package/dist/types/src/features/CodeCitation/_components/Accordian.d.ts.map +0 -1
  1817. package/dist/types/src/features/CodeCitation/_components/CodeCitationPopup.d.ts +0 -34
  1818. package/dist/types/src/features/CodeCitation/_components/CodeCitationPopup.d.ts.map +0 -1
  1819. package/dist/types/src/features/CodeCitation/_components/CodeCitationsStats.d.ts +0 -13
  1820. package/dist/types/src/features/CodeCitation/_components/CodeCitationsStats.d.ts.map +0 -1
  1821. package/dist/types/src/features/CodeCitation/_components/CodeEditor.d.ts +0 -30
  1822. package/dist/types/src/features/CodeCitation/_components/CodeEditor.d.ts.map +0 -1
  1823. package/dist/types/src/features/CodeCitation/_components/DescriptionWithToggle.d.ts +0 -6
  1824. package/dist/types/src/features/CodeCitation/_components/DescriptionWithToggle.d.ts.map +0 -1
  1825. package/dist/types/src/features/CodeCitation/_components/HighlightedCodeDetails.d.ts +0 -16
  1826. package/dist/types/src/features/CodeCitation/_components/HighlightedCodeDetails.d.ts.map +0 -1
  1827. package/dist/types/src/features/CodeCitation/_components/RepoAndBranchTag.d.ts +0 -8
  1828. package/dist/types/src/features/CodeCitation/_components/RepoAndBranchTag.d.ts.map +0 -1
  1829. package/dist/types/src/features/CodeCitation/_components/Spinner.d.ts +0 -4
  1830. package/dist/types/src/features/CodeCitation/_components/Spinner.d.ts.map +0 -1
  1831. package/dist/types/src/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.d.ts +0 -12
  1832. package/dist/types/src/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.d.ts.map +0 -1
  1833. package/dist/types/src/features/CodeCitation/_components/StatsComponents/DbStatsComponent.d.ts +0 -10
  1834. package/dist/types/src/features/CodeCitation/_components/StatsComponents/DbStatsComponent.d.ts.map +0 -1
  1835. package/dist/types/src/features/CodeCitation/_components/StatsComponents/StatsComponent.d.ts +0 -13
  1836. package/dist/types/src/features/CodeCitation/_components/StatsComponents/StatsComponent.d.ts.map +0 -1
  1837. package/dist/types/src/features/CodeCitation/_components/ThemeToggle.d.ts +0 -12
  1838. package/dist/types/src/features/CodeCitation/_components/ThemeToggle.d.ts.map +0 -1
  1839. package/dist/types/src/features/CodeCitation/_components/TooltipComponent.d.ts +0 -8
  1840. package/dist/types/src/features/CodeCitation/_components/TooltipComponent.d.ts.map +0 -1
  1841. package/dist/types/src/features/CognitiveCompare/CitationAnchor.d.ts +0 -30
  1842. package/dist/types/src/features/CognitiveCompare/CitationAnchor.d.ts.map +0 -1
  1843. package/dist/types/src/features/CognitiveCompare/CitationRenderer.d.ts +0 -13
  1844. package/dist/types/src/features/CognitiveCompare/CitationRenderer.d.ts.map +0 -1
  1845. package/dist/types/src/features/CognitiveCompare/CognitiveCompare.d.ts +0 -6
  1846. package/dist/types/src/features/CognitiveCompare/CognitiveCompare.d.ts.map +0 -1
  1847. package/dist/types/src/features/CognitiveCompare/CognitiveCompareConfig.d.ts +0 -64
  1848. package/dist/types/src/features/CognitiveCompare/CognitiveCompareConfig.d.ts.map +0 -1
  1849. package/dist/types/src/features/CognitiveCompare/CognitiveCompareConstants.d.ts +0 -11
  1850. package/dist/types/src/features/CognitiveCompare/CognitiveCompareConstants.d.ts.map +0 -1
  1851. package/dist/types/src/features/CognitiveCompare/CognitiveCompareTypes.d.ts +0 -322
  1852. package/dist/types/src/features/CognitiveCompare/CognitiveCompareTypes.d.ts.map +0 -1
  1853. package/dist/types/src/features/CognitiveCompare/CognitiveComparehelpers.d.ts +0 -83
  1854. package/dist/types/src/features/CognitiveCompare/CognitiveComparehelpers.d.ts.map +0 -1
  1855. package/dist/types/src/features/CognitiveCompare/CognitivePopup.d.ts +0 -7
  1856. package/dist/types/src/features/CognitiveCompare/CognitivePopup.d.ts.map +0 -1
  1857. package/dist/types/src/features/CognitiveCompare/CompareContext.d.ts +0 -72
  1858. package/dist/types/src/features/CognitiveCompare/CompareContext.d.ts.map +0 -1
  1859. package/dist/types/src/features/CognitiveCompare/Guidelines/components/GuidelinePanel.d.ts +0 -3
  1860. package/dist/types/src/features/CognitiveCompare/Guidelines/components/GuidelinePanel.d.ts.map +0 -1
  1861. package/dist/types/src/features/CognitiveCompare/Guidelines/components/WebGptPanel.d.ts +0 -8
  1862. package/dist/types/src/features/CognitiveCompare/Guidelines/components/WebGptPanel.d.ts.map +0 -1
  1863. package/dist/types/src/features/CognitiveCompare/Guidelines/constants/guidelines.mockData.d.ts +0 -2524
  1864. package/dist/types/src/features/CognitiveCompare/Guidelines/constants/guidelines.mockData.d.ts.map +0 -1
  1865. package/dist/types/src/features/CognitiveCompare/Guidelines/utils/helper.d.ts +0 -11
  1866. package/dist/types/src/features/CognitiveCompare/Guidelines/utils/helper.d.ts.map +0 -1
  1867. package/dist/types/src/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.d.ts +0 -6
  1868. package/dist/types/src/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.d.ts.map +0 -1
  1869. package/dist/types/src/features/CognitiveCompare/LoaderComponent.d.ts +0 -3
  1870. package/dist/types/src/features/CognitiveCompare/LoaderComponent.d.ts.map +0 -1
  1871. package/dist/types/src/features/CognitiveCompare/MoreFunctionsPopup.d.ts +0 -19
  1872. package/dist/types/src/features/CognitiveCompare/MoreFunctionsPopup.d.ts.map +0 -1
  1873. package/dist/types/src/features/CognitiveCompare/OverlayComponent.d.ts +0 -5
  1874. package/dist/types/src/features/CognitiveCompare/OverlayComponent.d.ts.map +0 -1
  1875. package/dist/types/src/features/CognitiveCompare/ResizableSplitPane.d.ts +0 -9
  1876. package/dist/types/src/features/CognitiveCompare/ResizableSplitPane.d.ts.map +0 -1
  1877. package/dist/types/src/features/CognitiveCompare/components/CognitiveSummaryPopup.d.ts +0 -3
  1878. package/dist/types/src/features/CognitiveCompare/components/CognitiveSummaryPopup.d.ts.map +0 -1
  1879. package/dist/types/src/features/CognitiveCompare/components/CompareHeader.d.ts +0 -12
  1880. package/dist/types/src/features/CognitiveCompare/components/CompareHeader.d.ts.map +0 -1
  1881. package/dist/types/src/features/CognitiveCompare/components/LHSSectionRow.d.ts +0 -9
  1882. package/dist/types/src/features/CognitiveCompare/components/LHSSectionRow.d.ts.map +0 -1
  1883. package/dist/types/src/features/CognitiveCompare/components/RHSSectionRow.d.ts +0 -9
  1884. package/dist/types/src/features/CognitiveCompare/components/RHSSectionRow.d.ts.map +0 -1
  1885. package/dist/types/src/features/CognitiveCompare/components/ScrollLockToggle.d.ts +0 -11
  1886. package/dist/types/src/features/CognitiveCompare/components/ScrollLockToggle.d.ts.map +0 -1
  1887. package/dist/types/src/features/CognitiveCompare/components/SectionAccordion.d.ts +0 -17
  1888. package/dist/types/src/features/CognitiveCompare/components/SectionAccordion.d.ts.map +0 -1
  1889. package/dist/types/src/features/CognitiveCompare/components/SubSectionAccordion.d.ts +0 -14
  1890. package/dist/types/src/features/CognitiveCompare/components/SubSectionAccordion.d.ts.map +0 -1
  1891. package/dist/types/src/features/CognitiveCompare/components/SvgConnectors.d.ts +0 -37
  1892. package/dist/types/src/features/CognitiveCompare/components/SvgConnectors.d.ts.map +0 -1
  1893. package/dist/types/src/features/CognitiveCompare/components/ThreeDotsLoader.d.ts +0 -8
  1894. package/dist/types/src/features/CognitiveCompare/components/ThreeDotsLoader.d.ts.map +0 -1
  1895. package/dist/types/src/features/CognitiveCompare/components/connectedLines.d.ts +0 -9
  1896. package/dist/types/src/features/CognitiveCompare/components/connectedLines.d.ts.map +0 -1
  1897. package/dist/types/src/features/CognitiveCompare/hooks/memoizedMarkdown.d.ts +0 -13
  1898. package/dist/types/src/features/CognitiveCompare/hooks/memoizedMarkdown.d.ts.map +0 -1
  1899. package/dist/types/src/features/CognitiveCompare/hooks/useAccordionState.d.ts +0 -32
  1900. package/dist/types/src/features/CognitiveCompare/hooks/useAccordionState.d.ts.map +0 -1
  1901. package/dist/types/src/features/CognitiveCompare/hooks/useCompareData.d.ts +0 -20
  1902. package/dist/types/src/features/CognitiveCompare/hooks/useCompareData.d.ts.map +0 -1
  1903. package/dist/types/src/features/CognitiveCompare/hooks/useCompareLayout.d.ts +0 -24
  1904. package/dist/types/src/features/CognitiveCompare/hooks/useCompareLayout.d.ts.map +0 -1
  1905. package/dist/types/src/features/CognitiveCompare/hooks/useComparePopups.d.ts +0 -22
  1906. package/dist/types/src/features/CognitiveCompare/hooks/useComparePopups.d.ts.map +0 -1
  1907. package/dist/types/src/features/CognitiveCompare/hooks/useDeviationNavigation.d.ts +0 -32
  1908. package/dist/types/src/features/CognitiveCompare/hooks/useDeviationNavigation.d.ts.map +0 -1
  1909. package/dist/types/src/features/CognitiveCompare/hooks/useLinesCalculator.d.ts +0 -27
  1910. package/dist/types/src/features/CognitiveCompare/hooks/useLinesCalculator.d.ts.map +0 -1
  1911. package/dist/types/src/features/CognitiveCompare/hooks/useResizeHandler.d.ts +0 -5
  1912. package/dist/types/src/features/CognitiveCompare/hooks/useResizeHandler.d.ts.map +0 -1
  1913. package/dist/types/src/features/CognitiveCompare/hooks/useSectionRefs.d.ts +0 -19
  1914. package/dist/types/src/features/CognitiveCompare/hooks/useSectionRefs.d.ts.map +0 -1
  1915. package/dist/types/src/features/CognitiveCompare/hooks/useSideBySide.d.ts +0 -35
  1916. package/dist/types/src/features/CognitiveCompare/hooks/useSideBySide.d.ts.map +0 -1
  1917. package/dist/types/src/features/CognitiveCompare/hooks/useStyles.d.ts +0 -16
  1918. package/dist/types/src/features/CognitiveCompare/hooks/useStyles.d.ts.map +0 -1
  1919. package/dist/types/src/features/CognitiveCompare/utils/buildComparisonRows.d.ts +0 -11
  1920. package/dist/types/src/features/CognitiveCompare/utils/buildComparisonRows.d.ts.map +0 -1
  1921. package/dist/types/src/features/CognitiveDecisioning/CognitiveDecisioningWrapper.d.ts +0 -47
  1922. package/dist/types/src/features/CognitiveDecisioning/CognitiveDecisioningWrapper.d.ts.map +0 -1
  1923. package/dist/types/src/features/CognitiveDecisioning/FaqCitation/FaqCitation.d.ts +0 -8
  1924. package/dist/types/src/features/CognitiveDecisioning/FaqCitation/FaqCitation.d.ts.map +0 -1
  1925. package/dist/types/src/features/CognitiveDecisioning/shared/Audacy/DecisioningIcon.d.ts +0 -7
  1926. package/dist/types/src/features/CognitiveDecisioning/shared/Audacy/DecisioningIcon.d.ts.map +0 -1
  1927. package/dist/types/src/features/CognitiveDecisioning/shared/Audacy/GapIcon.d.ts +0 -7
  1928. package/dist/types/src/features/CognitiveDecisioning/shared/Audacy/GapIcon.d.ts.map +0 -1
  1929. package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.d.ts +0 -20
  1930. package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.d.ts.map +0 -1
  1931. package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.d.ts +0 -27
  1932. package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.d.ts.map +0 -1
  1933. package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningTest.d.ts +0 -5
  1934. package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningTest.d.ts.map +0 -1
  1935. package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveNonWebSearchReasoning.types.d.ts +0 -162
  1936. package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveNonWebSearchReasoning.types.d.ts.map +0 -1
  1937. package/dist/types/src/features/DataSelector/DataSelector.d.ts +0 -18
  1938. package/dist/types/src/features/DataSelector/DataSelector.d.ts.map +0 -1
  1939. package/dist/types/src/features/DataSelector/components/DataSelectionOptionsScreen.d.ts +0 -3
  1940. package/dist/types/src/features/DataSelector/components/DataSelectionOptionsScreen.d.ts.map +0 -1
  1941. package/dist/types/src/features/DataSelector/components/RLEFDataPointsListInSelectedDataSetCollection.d.ts +0 -3
  1942. package/dist/types/src/features/DataSelector/components/RLEFDataPointsListInSelectedDataSetCollection.d.ts.map +0 -1
  1943. package/dist/types/src/features/DataSelector/components/RLEFDataSetCollectionsList.d.ts +0 -3
  1944. package/dist/types/src/features/DataSelector/components/RLEFDataSetCollectionsList.d.ts.map +0 -1
  1945. package/dist/types/src/features/DataSelector/components/RlefDataTabsComponent.d.ts +0 -3
  1946. package/dist/types/src/features/DataSelector/components/RlefDataTabsComponent.d.ts.map +0 -1
  1947. package/dist/types/src/features/DataSelector/components/RlefHistoricalCopilotData.d.ts +0 -3
  1948. package/dist/types/src/features/DataSelector/components/RlefHistoricalCopilotData.d.ts.map +0 -1
  1949. package/dist/types/src/features/DataSelector/components/SavedDataSetListScreen.d.ts +0 -13
  1950. package/dist/types/src/features/DataSelector/components/SavedDataSetListScreen.d.ts.map +0 -1
  1951. package/dist/types/src/features/DataSelector/components/SelectedDataList.d.ts +0 -3
  1952. package/dist/types/src/features/DataSelector/components/SelectedDataList.d.ts.map +0 -1
  1953. package/dist/types/src/features/DataSelector/components/subcomponents/DataSetElement/DataSetElement.d.ts +0 -11
  1954. package/dist/types/src/features/DataSelector/components/subcomponents/DataSetElement/DataSetElement.d.ts.map +0 -1
  1955. package/dist/types/src/features/DataSelector/components/subcomponents/Pagination/Pagination.d.ts +0 -7
  1956. package/dist/types/src/features/DataSelector/components/subcomponents/Pagination/Pagination.d.ts.map +0 -1
  1957. package/dist/types/src/features/DataSelector/tables/ShowSelectedDataTable.d.ts +0 -4
  1958. package/dist/types/src/features/DataSelector/tables/ShowSelectedDataTable.d.ts.map +0 -1
  1959. package/dist/types/src/features/DatagestMon/DatagestMon.d.ts +0 -21
  1960. package/dist/types/src/features/DatagestMon/DatagestMon.d.ts.map +0 -1
  1961. package/dist/types/src/features/DatagestMon/DynamicDataPreviiewer/DynamicDataPreviewer.d.ts +0 -19
  1962. package/dist/types/src/features/DatagestMon/DynamicDataPreviiewer/DynamicDataPreviewer.d.ts.map +0 -1
  1963. package/dist/types/src/features/DatagestMon/EpubPreviewer/EpubPreview.d.ts +0 -7
  1964. package/dist/types/src/features/DatagestMon/EpubPreviewer/EpubPreview.d.ts.map +0 -1
  1965. package/dist/types/src/features/DualCitation/RuleBookCitationApiComponent.d.ts +0 -20
  1966. package/dist/types/src/features/DualCitation/RuleBookCitationApiComponent.d.ts.map +0 -1
  1967. package/dist/types/src/features/DualCitation/RuleBookCitationComponent.d.ts +0 -31
  1968. package/dist/types/src/features/DualCitation/RuleBookCitationComponent.d.ts.map +0 -1
  1969. package/dist/types/src/features/DualCitation/SourceBQDataCompnent.d.ts +0 -36
  1970. package/dist/types/src/features/DualCitation/SourceBQDataCompnent.d.ts.map +0 -1
  1971. package/dist/types/src/features/EmailCitation/EmailCitation.d.ts +0 -43
  1972. package/dist/types/src/features/EmailCitation/EmailCitation.d.ts.map +0 -1
  1973. package/dist/types/src/features/EmailCitation/components/EmailMetaDropdown.d.ts +0 -10
  1974. package/dist/types/src/features/EmailCitation/components/EmailMetaDropdown.d.ts.map +0 -1
  1975. package/dist/types/src/features/ExcelCitation/ExcelCitations.d.ts +0 -15
  1976. package/dist/types/src/features/ExcelCitation/ExcelCitations.d.ts.map +0 -1
  1977. package/dist/types/src/features/ExcelCitation/utils/helper.d.ts +0 -2
  1978. package/dist/types/src/features/ExcelCitation/utils/helper.d.ts.map +0 -1
  1979. package/dist/types/src/features/GptWebCitation/GptWebCitation.d.ts +0 -15
  1980. package/dist/types/src/features/GptWebCitation/GptWebCitation.d.ts.map +0 -1
  1981. package/dist/types/src/features/GptWebCitation/GptWebCitationImageCitation.d.ts +0 -16
  1982. package/dist/types/src/features/GptWebCitation/GptWebCitationImageCitation.d.ts.map +0 -1
  1983. package/dist/types/src/features/GptWebCitation/GptWebCitationImageFullScreenView.d.ts +0 -10
  1984. package/dist/types/src/features/GptWebCitation/GptWebCitationImageFullScreenView.d.ts.map +0 -1
  1985. package/dist/types/src/features/GptWebCitation/GptWebCitationMarkdown.d.ts +0 -9
  1986. package/dist/types/src/features/GptWebCitation/GptWebCitationMarkdown.d.ts.map +0 -1
  1987. package/dist/types/src/features/GptWebCitation/GptWebCitationSkeleton.d.ts +0 -14
  1988. package/dist/types/src/features/GptWebCitation/GptWebCitationSkeleton.d.ts.map +0 -1
  1989. package/dist/types/src/features/GptWebCitation/GptWebCitationTest.d.ts +0 -4
  1990. package/dist/types/src/features/GptWebCitation/GptWebCitationTest.d.ts.map +0 -1
  1991. package/dist/types/src/features/GptWebCitation/WebCitationSampleResponse.d.ts +0 -4
  1992. package/dist/types/src/features/GptWebCitation/WebCitationSampleResponse.d.ts.map +0 -1
  1993. package/dist/types/src/features/GptWebCitation/types.d.ts +0 -405
  1994. package/dist/types/src/features/GptWebCitation/types.d.ts.map +0 -1
  1995. package/dist/types/src/features/GptWebCitation/utils/citationData.utils.d.ts +0 -10
  1996. package/dist/types/src/features/GptWebCitation/utils/citationData.utils.d.ts.map +0 -1
  1997. package/dist/types/src/features/GptWebCitation/utils/fixedHeight.utils.d.ts +0 -10
  1998. package/dist/types/src/features/GptWebCitation/utils/fixedHeight.utils.d.ts.map +0 -1
  1999. package/dist/types/src/features/GptWebCitation/utils/styleOverrides.utils.d.ts +0 -6
  2000. package/dist/types/src/features/GptWebCitation/utils/styleOverrides.utils.d.ts.map +0 -1
  2001. package/dist/types/src/features/IngestionStatus/IngestionStatusComponent.d.ts +0 -28
  2002. package/dist/types/src/features/IngestionStatus/IngestionStatusComponent.d.ts.map +0 -1
  2003. package/dist/types/src/features/IngestionStatus/IngestionStatusComponentTest.d.ts +0 -7
  2004. package/dist/types/src/features/IngestionStatus/IngestionStatusComponentTest.d.ts.map +0 -1
  2005. package/dist/types/src/features/IngestionStatus/useIngestionStatus.d.ts +0 -40
  2006. package/dist/types/src/features/IngestionStatus/useIngestionStatus.d.ts.map +0 -1
  2007. package/dist/types/src/features/InstantLearningCitation/CongnitiveDecisioningComponent.d.ts +0 -5
  2008. package/dist/types/src/features/InstantLearningCitation/CongnitiveDecisioningComponent.d.ts.map +0 -1
  2009. package/dist/types/src/features/InstantLearningCitation/HistorySkeleton.d.ts +0 -10
  2010. package/dist/types/src/features/InstantLearningCitation/HistorySkeleton.d.ts.map +0 -1
  2011. package/dist/types/src/features/InstantLearningCitation/InstantLearningCitation.d.ts +0 -2
  2012. package/dist/types/src/features/InstantLearningCitation/InstantLearningCitation.d.ts.map +0 -1
  2013. package/dist/types/src/features/InstantLearningCitation/InstantLearningCitationComponent.d.ts +0 -23
  2014. package/dist/types/src/features/InstantLearningCitation/InstantLearningCitationComponent.d.ts.map +0 -1
  2015. package/dist/types/src/features/InstantLearningCitation/InstantLearningCitationTest.d.ts +0 -6
  2016. package/dist/types/src/features/InstantLearningCitation/InstantLearningCitationTest.d.ts.map +0 -1
  2017. package/dist/types/src/features/InstantLearningCitation/OverrideTimeline.d.ts +0 -13
  2018. package/dist/types/src/features/InstantLearningCitation/OverrideTimeline.d.ts.map +0 -1
  2019. package/dist/types/src/features/InstantLearningCitation/RuleConditionBlock.d.ts +0 -13
  2020. package/dist/types/src/features/InstantLearningCitation/RuleConditionBlock.d.ts.map +0 -1
  2021. package/dist/types/src/features/InstantLearningCitation/RuleContentComponent.d.ts +0 -5
  2022. package/dist/types/src/features/InstantLearningCitation/RuleContentComponent.d.ts.map +0 -1
  2023. package/dist/types/src/features/InstantLearningCitation/SlashLoader.d.ts +0 -12
  2024. package/dist/types/src/features/InstantLearningCitation/SlashLoader.d.ts.map +0 -1
  2025. package/dist/types/src/features/InstantLearningCitation/types/Types.d.ts +0 -356
  2026. package/dist/types/src/features/InstantLearningCitation/types/Types.d.ts.map +0 -1
  2027. package/dist/types/src/features/ManageRemainders/AssigneeCalendarView.d.ts +0 -19
  2028. package/dist/types/src/features/ManageRemainders/AssigneeCalendarView.d.ts.map +0 -1
  2029. package/dist/types/src/features/ManageRemainders/ManageRemainderUsage.d.ts +0 -2
  2030. package/dist/types/src/features/ManageRemainders/ManageRemainderUsage.d.ts.map +0 -1
  2031. package/dist/types/src/features/ManageRemainders/ManageReminders.d.ts +0 -49
  2032. package/dist/types/src/features/ManageRemainders/ManageReminders.d.ts.map +0 -1
  2033. package/dist/types/src/features/ManageRemainders/ReminderFrequencyAutocomplete.d.ts +0 -17
  2034. package/dist/types/src/features/ManageRemainders/ReminderFrequencyAutocomplete.d.ts.map +0 -1
  2035. package/dist/types/src/features/ManageRemainders/types/type.d.ts +0 -79
  2036. package/dist/types/src/features/ManageRemainders/types/type.d.ts.map +0 -1
  2037. package/dist/types/src/features/MarkdownWithImageCitation/MarkdownWithImageCitation.d.ts +0 -37
  2038. package/dist/types/src/features/MarkdownWithImageCitation/MarkdownWithImageCitation.d.ts.map +0 -1
  2039. package/dist/types/src/features/PaginatedTable/PaginatedTable.d.ts +0 -27
  2040. package/dist/types/src/features/PaginatedTable/PaginatedTable.d.ts.map +0 -1
  2041. package/dist/types/src/features/PdfEditorCitation/PdfEditorCitation.d.ts +0 -19
  2042. package/dist/types/src/features/PdfEditorCitation/PdfEditorCitation.d.ts.map +0 -1
  2043. package/dist/types/src/features/PdfEditorCitation/PdfEditorCitationTest/PdfEditorCitationTest.d.ts +0 -2
  2044. package/dist/types/src/features/PdfEditorCitation/PdfEditorCitationTest/PdfEditorCitationTest.d.ts.map +0 -1
  2045. package/dist/types/src/features/PdfViewer/PdfContainer.d.ts +0 -16
  2046. package/dist/types/src/features/PdfViewer/PdfContainer.d.ts.map +0 -1
  2047. package/dist/types/src/features/PdfViewer/PdfStyle.d.ts +0 -33
  2048. package/dist/types/src/features/PdfViewer/PdfStyle.d.ts.map +0 -1
  2049. package/dist/types/src/features/PdfViewer/PdfToolbar.d.ts +0 -34
  2050. package/dist/types/src/features/PdfViewer/PdfToolbar.d.ts.map +0 -1
  2051. package/dist/types/src/features/PdfViewer/PdfViewer.d.ts +0 -94
  2052. package/dist/types/src/features/PdfViewer/PdfViewer.d.ts.map +0 -1
  2053. package/dist/types/src/features/PdfViewer/coordinateTransformer.d.ts +0 -41
  2054. package/dist/types/src/features/PdfViewer/coordinateTransformer.d.ts.map +0 -1
  2055. package/dist/types/src/features/PdfViewer/rotationManager.d.ts +0 -23
  2056. package/dist/types/src/features/PdfViewer/rotationManager.d.ts.map +0 -1
  2057. package/dist/types/src/features/PdfViewer/usePdfHighlight.d.ts +0 -27
  2058. package/dist/types/src/features/PdfViewer/usePdfHighlight.d.ts.map +0 -1
  2059. package/dist/types/src/features/ProjectAccordion/ProjectAccordion.d.ts +0 -24
  2060. package/dist/types/src/features/ProjectAccordion/ProjectAccordion.d.ts.map +0 -1
  2061. package/dist/types/src/features/ProjectAccordion/_components/Markdown.d.ts +0 -5
  2062. package/dist/types/src/features/ProjectAccordion/_components/Markdown.d.ts.map +0 -1
  2063. package/dist/types/src/features/ProjectAccordion/index.d.ts +0 -2
  2064. package/dist/types/src/features/ProjectAccordion/index.d.ts.map +0 -1
  2065. package/dist/types/src/features/PromptCitation/CitationDependencyGraph.d.ts +0 -56
  2066. package/dist/types/src/features/PromptCitation/CitationDependencyGraph.d.ts.map +0 -1
  2067. package/dist/types/src/features/PromptCitation/PromptCitation.d.ts +0 -326
  2068. package/dist/types/src/features/PromptCitation/PromptCitation.d.ts.map +0 -1
  2069. package/dist/types/src/features/PromptCitation/PromptCitationTest.d.ts +0 -4
  2070. package/dist/types/src/features/PromptCitation/PromptCitationTest.d.ts.map +0 -1
  2071. package/dist/types/src/features/PromptCitation/_components/CodeEditor.d.ts +0 -30
  2072. package/dist/types/src/features/PromptCitation/_components/CodeEditor.d.ts.map +0 -1
  2073. package/dist/types/src/features/PromptCitation/_components/HighlightedCodeDetails.d.ts +0 -16
  2074. package/dist/types/src/features/PromptCitation/_components/HighlightedCodeDetails.d.ts.map +0 -1
  2075. package/dist/types/src/features/PromptCitation/_components/Markdownrenderer.d.ts +0 -23
  2076. package/dist/types/src/features/PromptCitation/_components/Markdownrenderer.d.ts.map +0 -1
  2077. package/dist/types/src/features/PromptCitation/_components/ThemeToggle.d.ts +0 -12
  2078. package/dist/types/src/features/PromptCitation/_components/ThemeToggle.d.ts.map +0 -1
  2079. package/dist/types/src/features/PromptCitation/_components/TooltipComponent.d.ts +0 -8
  2080. package/dist/types/src/features/PromptCitation/_components/TooltipComponent.d.ts.map +0 -1
  2081. package/dist/types/src/features/PromptemonBlockViewer/PromptemonBlockViewer.d.ts +0 -24
  2082. package/dist/types/src/features/PromptemonBlockViewer/PromptemonBlockViewer.d.ts.map +0 -1
  2083. package/dist/types/src/features/PromptemonBlockViewer/index.d.ts +0 -3
  2084. package/dist/types/src/features/PromptemonBlockViewer/index.d.ts.map +0 -1
  2085. package/dist/types/src/features/PromptemonViewer/PromptemonViewer.d.ts +0 -43
  2086. package/dist/types/src/features/PromptemonViewer/PromptemonViewer.d.ts.map +0 -1
  2087. package/dist/types/src/features/PromptemonViewer/index.d.ts +0 -3
  2088. package/dist/types/src/features/PromptemonViewer/index.d.ts.map +0 -1
  2089. package/dist/types/src/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.d.ts +0 -125
  2090. package/dist/types/src/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.d.ts.map +0 -1
  2091. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.d.ts +0 -6
  2092. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.d.ts.map +0 -1
  2093. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.d.ts +0 -26
  2094. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.d.ts.map +0 -1
  2095. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.d.ts +0 -26
  2096. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.d.ts.map +0 -1
  2097. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.d.ts +0 -123
  2098. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.d.ts.map +0 -1
  2099. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.d.ts +0 -92
  2100. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.d.ts.map +0 -1
  2101. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/ChatCitationTestForAiReasoning.d.ts +0 -7
  2102. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/ChatCitationTestForAiReasoning.d.ts.map +0 -1
  2103. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.d.ts +0 -12
  2104. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.d.ts.map +0 -1
  2105. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.d.ts +0 -12
  2106. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.d.ts.map +0 -1
  2107. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.d.ts +0 -12
  2108. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.d.ts.map +0 -1
  2109. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.d.ts +0 -7
  2110. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.d.ts.map +0 -1
  2111. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.d.ts +0 -7
  2112. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.d.ts.map +0 -1
  2113. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.d.ts +0 -7
  2114. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.d.ts.map +0 -1
  2115. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/DocumentCitationIcon.d.ts +0 -4
  2116. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/DocumentCitationIcon.d.ts.map +0 -1
  2117. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.d.ts +0 -7
  2118. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.d.ts.map +0 -1
  2119. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.d.ts +0 -4
  2120. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.d.ts.map +0 -1
  2121. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.d.ts +0 -7
  2122. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.d.ts.map +0 -1
  2123. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.d.ts +0 -6
  2124. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.d.ts.map +0 -1
  2125. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.d.ts +0 -3
  2126. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.d.ts.map +0 -1
  2127. package/dist/types/src/features/RequirementAiCitations/AiReasoning/types/interface.d.ts +0 -207
  2128. package/dist/types/src/features/RequirementAiCitations/AiReasoning/types/interface.d.ts.map +0 -1
  2129. package/dist/types/src/features/RequirementAiCitations/FileCitation/FileCitationContent.d.ts +0 -32
  2130. package/dist/types/src/features/RequirementAiCitations/FileCitation/FileCitationContent.d.ts.map +0 -1
  2131. package/dist/types/src/features/RequirementAiCitations/ImageCitation/ImageCitationContent.d.ts +0 -33
  2132. package/dist/types/src/features/RequirementAiCitations/ImageCitation/ImageCitationContent.d.ts.map +0 -1
  2133. package/dist/types/src/features/RequirementAiCitations/VideoCitation/VideoCitationContent.d.ts +0 -45
  2134. package/dist/types/src/features/RequirementAiCitations/VideoCitation/VideoCitationContent.d.ts.map +0 -1
  2135. package/dist/types/src/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.d.ts +0 -48
  2136. package/dist/types/src/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.d.ts.map +0 -1
  2137. package/dist/types/src/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.d.ts +0 -17
  2138. package/dist/types/src/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.d.ts.map +0 -1
  2139. package/dist/types/src/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.d.ts +0 -4
  2140. package/dist/types/src/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.d.ts.map +0 -1
  2141. package/dist/types/src/features/ReviewPanel/ReviewPanel.d.ts +0 -52
  2142. package/dist/types/src/features/ReviewPanel/ReviewPanel.d.ts.map +0 -1
  2143. package/dist/types/src/features/ReviewPanel/ReviewPanelTest/ReviewPanelTest.d.ts +0 -4
  2144. package/dist/types/src/features/ReviewPanel/ReviewPanelTest/ReviewPanelTest.d.ts.map +0 -1
  2145. package/dist/types/src/features/RulebookCitations/RuleBookCitation.types.d.ts +0 -40
  2146. package/dist/types/src/features/RulebookCitations/RuleBookCitation.types.d.ts.map +0 -1
  2147. package/dist/types/src/features/RulebookCitations/RuleBookCitationApi.d.ts +0 -18
  2148. package/dist/types/src/features/RulebookCitations/RuleBookCitationApi.d.ts.map +0 -1
  2149. package/dist/types/src/features/RulebookCitations/RuleBookCitationWrapper.d.ts +0 -26
  2150. package/dist/types/src/features/RulebookCitations/RuleBookCitationWrapper.d.ts.map +0 -1
  2151. package/dist/types/src/features/RulebookCitations/RuleBookCitationWrapperTest.d.ts +0 -1
  2152. package/dist/types/src/features/RulebookCitations/RuleBookCitationWrapperTest.d.ts.map +0 -1
  2153. package/dist/types/src/features/SPBAnalysisPanel/Cognitivereasoningpanel.d.ts +0 -52
  2154. package/dist/types/src/features/SPBAnalysisPanel/Cognitivereasoningpanel.d.ts.map +0 -1
  2155. package/dist/types/src/features/SPBAnalysisPanel/DependencyGraph.d.ts +0 -71
  2156. package/dist/types/src/features/SPBAnalysisPanel/DependencyGraph.d.ts.map +0 -1
  2157. package/dist/types/src/features/SPBAnalysisPanel/Internaleditor.d.ts +0 -11
  2158. package/dist/types/src/features/SPBAnalysisPanel/Internaleditor.d.ts.map +0 -1
  2159. package/dist/types/src/features/SPBAnalysisPanel/Markdownrenderer.d.ts +0 -16
  2160. package/dist/types/src/features/SPBAnalysisPanel/Markdownrenderer.d.ts.map +0 -1
  2161. package/dist/types/src/features/SPBAnalysisPanel/Spbanalysispanel.d.ts +0 -124
  2162. package/dist/types/src/features/SPBAnalysisPanel/Spbanalysispanel.d.ts.map +0 -1
  2163. package/dist/types/src/features/SPBAnalysisPanel/index.d.ts +0 -10
  2164. package/dist/types/src/features/SPBAnalysisPanel/index.d.ts.map +0 -1
  2165. package/dist/types/src/features/ScannedDocCitation/ScannedDocCitation.d.ts +0 -57
  2166. package/dist/types/src/features/ScannedDocCitation/ScannedDocCitation.d.ts.map +0 -1
  2167. package/dist/types/src/features/SegmentReviewComponents/BoundaryCard.d.ts +0 -85
  2168. package/dist/types/src/features/SegmentReviewComponents/BoundaryCard.d.ts.map +0 -1
  2169. package/dist/types/src/features/SegmentReviewComponents/CardWrapper.d.ts +0 -26
  2170. package/dist/types/src/features/SegmentReviewComponents/CardWrapper.d.ts.map +0 -1
  2171. package/dist/types/src/features/SegmentReviewComponents/ChartBreakoutCircle.d.ts +0 -3
  2172. package/dist/types/src/features/SegmentReviewComponents/ChartBreakoutCircle.d.ts.map +0 -1
  2173. package/dist/types/src/features/SegmentReviewComponents/CognitiveIcon.d.ts +0 -3
  2174. package/dist/types/src/features/SegmentReviewComponents/CognitiveIcon.d.ts.map +0 -1
  2175. package/dist/types/src/features/SegmentReviewComponents/CognitiveIntegrity.d.ts +0 -33
  2176. package/dist/types/src/features/SegmentReviewComponents/CognitiveIntegrity.d.ts.map +0 -1
  2177. package/dist/types/src/features/SegmentReviewComponents/CognitiveScoreBadge.d.ts +0 -7
  2178. package/dist/types/src/features/SegmentReviewComponents/CognitiveScoreBadge.d.ts.map +0 -1
  2179. package/dist/types/src/features/SegmentReviewComponents/LabelCheck.d.ts +0 -87
  2180. package/dist/types/src/features/SegmentReviewComponents/LabelCheck.d.ts.map +0 -1
  2181. package/dist/types/src/features/SegmentReviewComponents/PageCheck.d.ts +0 -57
  2182. package/dist/types/src/features/SegmentReviewComponents/PageCheck.d.ts.map +0 -1
  2183. package/dist/types/src/features/SegmentReviewComponents/PageTypeChoiceCheck.d.ts +0 -28
  2184. package/dist/types/src/features/SegmentReviewComponents/PageTypeChoiceCheck.d.ts.map +0 -1
  2185. package/dist/types/src/features/SegmentReviewComponents/RevertCard.d.ts +0 -37
  2186. package/dist/types/src/features/SegmentReviewComponents/RevertCard.d.ts.map +0 -1
  2187. package/dist/types/src/features/SegmentReviewComponents/RevertSuccessCard.d.ts +0 -9
  2188. package/dist/types/src/features/SegmentReviewComponents/RevertSuccessCard.d.ts.map +0 -1
  2189. package/dist/types/src/features/SegmentReviewComponents/RevertSummaryNotice.d.ts +0 -7
  2190. package/dist/types/src/features/SegmentReviewComponents/RevertSummaryNotice.d.ts.map +0 -1
  2191. package/dist/types/src/features/SegmentReviewComponents/ReviewedBoundaryActions.d.ts +0 -17
  2192. package/dist/types/src/features/SegmentReviewComponents/ReviewedBoundaryActions.d.ts.map +0 -1
  2193. package/dist/types/src/features/SegmentReviewComponents/ReviewedCard.d.ts +0 -33
  2194. package/dist/types/src/features/SegmentReviewComponents/ReviewedCard.d.ts.map +0 -1
  2195. package/dist/types/src/features/SegmentReviewComponents/SegmentReviewPdfWrapper.d.ts +0 -124
  2196. package/dist/types/src/features/SegmentReviewComponents/SegmentReviewPdfWrapper.d.ts.map +0 -1
  2197. package/dist/types/src/features/SegmentReviewComponents/SegmentReviewRedirectionTest.d.ts +0 -13
  2198. package/dist/types/src/features/SegmentReviewComponents/SegmentReviewRedirectionTest.d.ts.map +0 -1
  2199. package/dist/types/src/features/SegmentReviewComponents/helper.d.ts +0 -51
  2200. package/dist/types/src/features/SegmentReviewComponents/helper.d.ts.map +0 -1
  2201. package/dist/types/src/features/SegmentReviewComponents/index.d.ts +0 -23
  2202. package/dist/types/src/features/SegmentReviewComponents/index.d.ts.map +0 -1
  2203. package/dist/types/src/features/SegmentReviewComponents/reviewScore.d.ts +0 -4
  2204. package/dist/types/src/features/SegmentReviewComponents/reviewScore.d.ts.map +0 -1
  2205. package/dist/types/src/features/SegmentReviewComponents/reviewStepAdapters.d.ts +0 -243
  2206. package/dist/types/src/features/SegmentReviewComponents/reviewStepAdapters.d.ts.map +0 -1
  2207. package/dist/types/src/features/SplitterCitations/SplitterCitationsComponent.d.ts +0 -5
  2208. package/dist/types/src/features/SplitterCitations/SplitterCitationsComponent.d.ts.map +0 -1
  2209. package/dist/types/src/features/SplitterCitations/SplitterCitationsTest.d.ts +0 -4
  2210. package/dist/types/src/features/SplitterCitations/SplitterCitationsTest.d.ts.map +0 -1
  2211. package/dist/types/src/features/SplitterCitations/icons/icons.d.ts +0 -17
  2212. package/dist/types/src/features/SplitterCitations/icons/icons.d.ts.map +0 -1
  2213. package/dist/types/src/features/SplitterCitations/types.d.ts +0 -78
  2214. package/dist/types/src/features/SplitterCitations/types.d.ts.map +0 -1
  2215. package/dist/types/src/features/TableCitation/TableCitationContent.d.ts +0 -14
  2216. package/dist/types/src/features/TableCitation/TableCitationContent.d.ts.map +0 -1
  2217. package/dist/types/src/features/TextualGuidelines/TextualGudelinesTest.d.ts +0 -5
  2218. package/dist/types/src/features/TextualGuidelines/TextualGudelinesTest.d.ts.map +0 -1
  2219. package/dist/types/src/features/TextualGuidelines/TextualGuideLinesComponent.d.ts +0 -25
  2220. package/dist/types/src/features/TextualGuidelines/TextualGuideLinesComponent.d.ts.map +0 -1
  2221. package/dist/types/src/features/TextualGuidelines/TextualGuidelines.types.d.ts +0 -81
  2222. package/dist/types/src/features/TextualGuidelines/TextualGuidelines.types.d.ts.map +0 -1
  2223. package/dist/types/src/features/UploadData/Components/SelectDataFromGoogleDrive/SelectDataFromGoogleDrive.d.ts +0 -3
  2224. package/dist/types/src/features/UploadData/Components/SelectDataFromGoogleDrive/SelectDataFromGoogleDrive.d.ts.map +0 -1
  2225. package/dist/types/src/features/UploadData/Components/SelectDataFromGoogleDrive/SelectDataFromGoogleDriveButton.d.ts +0 -3
  2226. package/dist/types/src/features/UploadData/Components/SelectDataFromGoogleDrive/SelectDataFromGoogleDriveButton.d.ts.map +0 -1
  2227. package/dist/types/src/features/UploadData/Components/SelectDataFromLocalSystem/SelectDataFromLocalSystem.d.ts +0 -3
  2228. package/dist/types/src/features/UploadData/Components/SelectDataFromLocalSystem/SelectDataFromLocalSystem.d.ts.map +0 -1
  2229. package/dist/types/src/features/UploadData/Components/SelectDataFromLocalSystem/SelectDataFromLocalSystemButton.d.ts +0 -3
  2230. package/dist/types/src/features/UploadData/Components/SelectDataFromLocalSystem/SelectDataFromLocalSystemButton.d.ts.map +0 -1
  2231. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/Dataset-collection.d.ts +0 -14
  2232. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/Dataset-collection.d.ts.map +0 -1
  2233. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/DatasetCollectionInfo.d.ts +0 -3
  2234. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/DatasetCollectionInfo.d.ts.map +0 -1
  2235. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/ProjectTaskSelect.d.ts +0 -13
  2236. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/ProjectTaskSelect.d.ts.map +0 -1
  2237. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/Tooltip.d.ts +0 -3
  2238. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/Tooltip.d.ts.map +0 -1
  2239. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/ConfidenceScoreColumnMenu.d.ts +0 -21
  2240. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/ConfidenceScoreColumnMenu.d.ts.map +0 -1
  2241. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/FilterHandlerUtility.d.ts +0 -33
  2242. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/FilterHandlerUtility.d.ts.map +0 -1
  2243. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/LabelColumnMenu.d.ts +0 -19
  2244. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/LabelColumnMenu.d.ts.map +0 -1
  2245. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/TableColumnResetFilterButton.d.ts +0 -8
  2246. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/TableColumnResetFilterButton.d.ts.map +0 -1
  2247. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/TagColumnMenu.d.ts +0 -17
  2248. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/TagColumnMenu.d.ts.map +0 -1
  2249. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dropdown-with-radio.d.ts +0 -26
  2250. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dropdown-with-radio.d.ts.map +0 -1
  2251. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/input-label-with-info.d.ts +0 -11
  2252. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/input-label-with-info.d.ts.map +0 -1
  2253. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/RELFInterfaces.d.ts +0 -3
  2254. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/RELFInterfaces.d.ts.map +0 -1
  2255. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/SelectDataFromRLEF.d.ts +0 -3
  2256. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/SelectDataFromRLEF.d.ts.map +0 -1
  2257. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/SelectDataFromRLEFButton.d.ts +0 -3
  2258. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/SelectDataFromRLEFButton.d.ts.map +0 -1
  2259. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/collections.d.ts +0 -1108
  2260. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/collections.d.ts.map +0 -1
  2261. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/common.d.ts +0 -57
  2262. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/common.d.ts.map +0 -1
  2263. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/data.d.ts +0 -643
  2264. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/data.d.ts.map +0 -1
  2265. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/modelGroup.type.d.ts +0 -24
  2266. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/modelGroup.type.d.ts.map +0 -1
  2267. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/models.d.ts +0 -283
  2268. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/models.d.ts.map +0 -1
  2269. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/projects.d.ts +0 -58
  2270. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/projects.d.ts.map +0 -1
  2271. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/tags.d.ts +0 -20
  2272. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/tags.d.ts.map +0 -1
  2273. package/dist/types/src/features/UploadData/Components/SelectDataFromSavedDataSet/SelectDataFromSavedDataSet.d.ts +0 -3
  2274. package/dist/types/src/features/UploadData/Components/SelectDataFromSavedDataSet/SelectDataFromSavedDataSet.d.ts.map +0 -1
  2275. package/dist/types/src/features/UploadData/Components/SelectDataFromSavedDataSet/SelectDataFromSavedDataSetButton.d.ts +0 -3
  2276. package/dist/types/src/features/UploadData/Components/SelectDataFromSavedDataSet/SelectDataFromSavedDataSetButton.d.ts.map +0 -1
  2277. package/dist/types/src/features/UploadData/NotFound.d.ts +0 -4
  2278. package/dist/types/src/features/UploadData/NotFound.d.ts.map +0 -1
  2279. package/dist/types/src/features/UploadData/main.d.ts +0 -10
  2280. package/dist/types/src/features/UploadData/main.d.ts.map +0 -1
  2281. package/dist/types/src/hooks/useDebounce.d.ts +0 -2
  2282. package/dist/types/src/hooks/useDebounce.d.ts.map +0 -1
  2283. package/dist/types/src/hooks/useOnDemandCitationFetch.d.ts +0 -11
  2284. package/dist/types/src/hooks/useOnDemandCitationFetch.d.ts.map +0 -1
  2285. package/dist/types/src/hooks/useOnDemandCitationFetchTest.d.ts +0 -4
  2286. package/dist/types/src/hooks/useOnDemandCitationFetchTest.d.ts.map +0 -1
  2287. package/dist/types/src/hooks/useTableHeadCellsCount.d.ts +0 -6
  2288. package/dist/types/src/hooks/useTableHeadCellsCount.d.ts.map +0 -1
  2289. package/dist/types/src/hooks/useURLQuery.d.ts +0 -10
  2290. package/dist/types/src/hooks/useURLQuery.d.ts.map +0 -1
  2291. package/dist/types/src/index.d.ts +0 -63
  2292. package/dist/types/src/index.d.ts.map +0 -1
  2293. package/dist/types/src/lib/styles/viewerLayout.d.ts +0 -6
  2294. package/dist/types/src/lib/styles/viewerLayout.d.ts.map +0 -1
  2295. package/dist/types/src/methodsToExpose.d.ts +0 -13
  2296. package/dist/types/src/methodsToExpose.d.ts.map +0 -1
  2297. package/dist/types/src/routes/ErrorBoundary.d.ts +0 -20
  2298. package/dist/types/src/routes/ErrorBoundary.d.ts.map +0 -1
  2299. package/dist/types/src/routes/Routes.d.ts +0 -2
  2300. package/dist/types/src/routes/Routes.d.ts.map +0 -1
  2301. package/dist/types/src/service/API.d.ts +0 -6
  2302. package/dist/types/src/service/API.d.ts.map +0 -1
  2303. package/dist/types/src/service/DataService.d.ts +0 -73
  2304. package/dist/types/src/service/DataService.d.ts.map +0 -1
  2305. package/dist/types/src/service/GoogleFilePickerService.d.ts +0 -61
  2306. package/dist/types/src/service/GoogleFilePickerService.d.ts.map +0 -1
  2307. package/dist/types/src/service/JavascriptFileService.d.ts +0 -4
  2308. package/dist/types/src/service/JavascriptFileService.d.ts.map +0 -1
  2309. package/dist/types/src/service/ModelService.d.ts +0 -68
  2310. package/dist/types/src/service/ModelService.d.ts.map +0 -1
  2311. package/dist/types/src/service/ProjectService.d.ts +0 -16
  2312. package/dist/types/src/service/ProjectService.d.ts.map +0 -1
  2313. package/dist/types/src/service/SavedDataSetService.d.ts +0 -22
  2314. package/dist/types/src/service/SavedDataSetService.d.ts.map +0 -1
  2315. package/dist/types/src/service/apicache.service.d.ts +0 -43
  2316. package/dist/types/src/service/apicache.service.d.ts.map +0 -1
  2317. package/dist/types/src/service/constants.d.ts +0 -3
  2318. package/dist/types/src/service/constants.d.ts.map +0 -1
  2319. package/dist/types/src/service/envHelperService.d.ts +0 -5
  2320. package/dist/types/src/service/envHelperService.d.ts.map +0 -1
  2321. package/dist/types/src/service/onDemandApi.d.ts +0 -27
  2322. package/dist/types/src/service/onDemandApi.d.ts.map +0 -1
  2323. package/dist/types/src/service/variableHelperService.d.ts +0 -6
  2324. package/dist/types/src/service/variableHelperService.d.ts.map +0 -1
  2325. package/dist/types/src/theme.d.ts +0 -4
  2326. package/dist/types/src/theme.d.ts.map +0 -1
  2327. package/dist/types/src/types/CodeCitationTypes.d.ts +0 -46
  2328. package/dist/types/src/types/CodeCitationTypes.d.ts.map +0 -1
  2329. package/dist/types/src/types/GoogleFilePicker/GoogleFilePickerCallbackFunctionType.d.ts +0 -23
  2330. package/dist/types/src/types/GoogleFilePicker/GoogleFilePickerCallbackFunctionType.d.ts.map +0 -1
  2331. package/dist/types/src/types/epubItems.d.ts +0 -23
  2332. package/dist/types/src/types/epubItems.d.ts.map +0 -1
  2333. package/dist/types/src/types/onDemandApi.types.d.ts +0 -63
  2334. package/dist/types/src/types/onDemandApi.types.d.ts.map +0 -1
  2335. package/dist/types/src/types/useOnDemandCitationFetch.types.d.ts +0 -70
  2336. package/dist/types/src/types/useOnDemandCitationFetch.types.d.ts.map +0 -1
  2337. package/dist/types/src/userProvidedConfig.d.ts +0 -8
  2338. package/dist/types/src/userProvidedConfig.d.ts.map +0 -1
  2339. package/dist/types/src/utils/CustomSkeleton.d.ts +0 -2
  2340. package/dist/types/src/utils/CustomSkeleton.d.ts.map +0 -1
  2341. package/dist/types/src/utils/SkeletonLoader.d.ts +0 -3
  2342. package/dist/types/src/utils/SkeletonLoader.d.ts.map +0 -1
  2343. package/dist/types/src/utils/api.d.ts +0 -2
  2344. package/dist/types/src/utils/api.d.ts.map +0 -1
  2345. package/dist/types/src/utils/codeCitations.utils.d.ts +0 -9
  2346. package/dist/types/src/utils/codeCitations.utils.d.ts.map +0 -1
  2347. package/dist/types/src/utils/colors.d.ts +0 -5
  2348. package/dist/types/src/utils/colors.d.ts.map +0 -1
  2349. package/dist/types/src/utils/date.d.ts +0 -1
  2350. package/dist/types/src/utils/date.d.ts.map +0 -1
  2351. package/dist/types/src/utils/helperFunctions.d.ts +0 -6
  2352. package/dist/types/src/utils/helperFunctions.d.ts.map +0 -1
  2353. package/dist/types/src/utils/regexHelperService.d.ts +0 -9
  2354. package/dist/types/src/utils/regexHelperService.d.ts.map +0 -1
  2355. package/dist/types/src/utils/sanitizeHtml.d.ts +0 -5
  2356. package/dist/types/src/utils/sanitizeHtml.d.ts.map +0 -1
  2357. package/dist/types/src/utils/themeManager.d.ts +0 -13
  2358. package/dist/types/src/utils/themeManager.d.ts.map +0 -1
  2359. package/dist/types/src/utils/urlQueryParamService.d.ts +0 -2
  2360. package/dist/types/src/utils/urlQueryParamService.d.ts.map +0 -1
  2361. package/dist/types/src/utils/variableHelperService.d.ts +0 -7
  2362. package/dist/types/src/utils/variableHelperService.d.ts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"LabelCheck.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"LabelCheck.js","sources":["../../../src/features/SegmentReviewComponents/LabelCheck.tsx"],"sourcesContent":["import { useMemo, useState, type ReactNode } from 'react';\nimport ChevronRightIcon from '@mui/icons-material/ChevronRight';\nimport CloseIcon from '@mui/icons-material/Close';\nimport ExpandMoreIcon from '@mui/icons-material/ExpandMore';\nimport Box from '@mui/material/Box';\nimport Button from '@mui/material/Button';\nimport ButtonBase from '@mui/material/ButtonBase';\nimport Divider from '@mui/material/Divider';\nimport IconButton from '@mui/material/IconButton';\nimport Paper from '@mui/material/Paper';\nimport Radio from '@mui/material/Radio';\nimport Stack from '@mui/material/Stack';\nimport TextField from '@mui/material/TextField';\nimport Typography from '@mui/material/Typography';\nimport RevertSummaryNotice from './RevertSummaryNotice';\nimport type { SxProps, Theme } from '@mui/material/styles';\nimport CognitiveIcon from './CognitiveIcon';\nimport CognitiveScoreBadge from './CognitiveScoreBadge';\nimport InfoAlert from '../../assests/icons/InfoAlert';\n\nconst mergeSx = (\n base: SxProps<Theme>,\n override?: SxProps<Theme>\n): SxProps<Theme> => [\n base,\n ...(Array.isArray(override) ? override : override == null ? [] : [override]),\n] as SxProps<Theme>;\n\nexport interface LabelCheckOption {\n /** Stable value returned with the selected option. */\n id: string;\n title: ReactNode;\n description?: ReactNode;\n /** Displays the custom-label field when this option is selected. */\n requiresInput?: boolean;\n inputPlaceholder?: string;\n disabled?: boolean;\n}\n\nexport enum LabelReviewActionEnum {\n KEEP_LABEL = 'KEEP_LABEL',\n SET_CUSTOM_LABEL = 'SET_CUSTOM_LABEL',\n}\n\nexport type LabelReviewAction = `${LabelReviewActionEnum}`;\n\n/** Metadata supplied by a `Label Review` review step. */\nexport interface LabelReviewMetadata {\n current_label?: string | null;\n custom_label?: string | null;\n group_id?: string | null;\n user_actions: readonly LabelReviewAction[];\n}\n\nexport interface LabelReviewConfirmDetails {\n selectedIndex: number;\n option: LabelCheckOption;\n customLabel?: string;\n metadata?: LabelReviewMetadata;\n}\n\nexport const createLabelCheckOptions = (\n metadata: LabelReviewMetadata\n): LabelCheckOption[] => metadata.user_actions.map((action) => {\n switch (action) {\n case 'KEEP_LABEL':\n return {\n id: action,\n title: 'Keep as is',\n description: metadata.current_label\n ? `Label stays \"${metadata.current_label}\"`\n : 'Keep the current document label',\n };\n case 'SET_CUSTOM_LABEL':\n return {\n id: action,\n title: 'Fix a document title',\n description: \"Correct the page title if it's not right\",\n requiresInput: true,\n inputPlaceholder: metadata.current_label\n ? `e.g. ${metadata.current_label}`\n : 'Enter a document label',\n };\n }\n});\n\nexport const isLabelReviewAction = (value: string): value is LabelReviewAction =>\n Object.values(LabelReviewActionEnum).includes(value as LabelReviewActionEnum);\n\nexport interface LabelCheckStyles {\n root?: SxProps<Theme>;\n header?: SxProps<Theme>;\n option?: SxProps<Theme>;\n confirmButton?: SxProps<Theme>;\n customInput?: SxProps<Theme>;\n confirmationWarning?: SxProps<Theme>;\n footer?: SxProps<Theme>;\n}\n\nexport interface LabelCheckProps {\n headerName?: ReactNode;\n title: ReactNode;\n pageNo?: ReactNode;\n content?: ReactNode;\n /** Replaces content when the API provides an operation-level revert summary. */\n revertSummary?: ReactNode;\n cognitiveScore?: ReactNode;\n /** Explicit options. When omitted, options are derived from metadata.user_actions. */\n config?: readonly LabelCheckOption[];\n /** Metadata from a review step whose type is `Label Review`. */\n metadata?: LabelReviewMetadata;\n\n /** Controlled selection. Omit to let LabelCheck manage it internally. */\n selectedIndex?: number | null;\n defaultSelectedIndex?: number | null;\n onSelectionChange?: (selectedIndex: number, option: LabelCheckOption) => void;\n\n /** Controlled custom-label value. Omit to use internal state. */\n customLabel?: string;\n defaultCustomLabel?: string;\n onCustomLabelChange?: (value: string) => void;\n\n /** Legacy/index-based callback retained for explicitly configured options. */\n onConfirm?: (\n selectedIndex: number,\n option: LabelCheckOption,\n customLabel?: string\n ) => void;\n /** Preferred callback when options come from Label Review metadata. */\n onActionConfirm?: (\n action: LabelReviewAction,\n details: LabelReviewConfirmDetails\n ) => void;\n onCognitiveClick?: () => void;\n onAdjustManually?: () => void;\n onClose?: () => void;\n\n confirmLabel?: ReactNode;\n customInputAriaLabel?: string;\n manualPrompt?: ReactNode;\n manualActionLabel?: ReactNode;\n cognitiveLabel?: ReactNode;\n showAdjustManually?: boolean;\n showCognitiveIntegrity?: boolean;\n showCloseButton?: boolean;\n confirmDisabled?: boolean;\n confirmationBlocked?: boolean;\n confirmationWarning?: ReactNode;\n disableAllActions?: boolean;\n width?: number | string;\n maxWidth?: number | string;\n className?: string;\n styles?: LabelCheckStyles;\n}\n\nexport default function LabelCheck({\n headerName = 'Title Check',\n title,\n pageNo,\n content = \"We're not fully confident about this label. Confirm it, choose a different type, or add a new one.\",\n revertSummary,\n cognitiveScore,\n config,\n metadata,\n selectedIndex,\n defaultSelectedIndex = null,\n onSelectionChange,\n customLabel,\n defaultCustomLabel,\n onCustomLabelChange,\n onConfirm,\n onActionConfirm,\n onCognitiveClick,\n onAdjustManually,\n onClose,\n confirmLabel = 'Confirm',\n customInputAriaLabel = 'Custom document label',\n manualPrompt = \"Didn't find the right option?\",\n manualActionLabel = 'Adjust Manually',\n cognitiveLabel = 'Cognitive Integrity',\n showAdjustManually = true,\n showCognitiveIntegrity = true,\n showCloseButton = true,\n confirmDisabled = false,\n confirmationBlocked = false,\n confirmationWarning,\n disableAllActions = false,\n width = 260,\n maxWidth = 260,\n className,\n styles,\n}: LabelCheckProps) {\n const resolvedConfig = useMemo(\n () => config ?? (metadata ? createLabelCheckOptions(metadata) : []),\n [config, metadata]\n );\n const [internalSelectedIndex, setInternalSelectedIndex] = useState<number | null>(\n defaultSelectedIndex\n );\n const [internalCustomLabel, setInternalCustomLabel] = useState(\n defaultCustomLabel ?? metadata?.custom_label ?? ''\n );\n\n const resolvedSelectedIndex = selectedIndex === undefined\n ? internalSelectedIndex\n : selectedIndex;\n const resolvedCustomLabel = customLabel === undefined\n ? internalCustomLabel\n : customLabel;\n const selectedOption = resolvedSelectedIndex == null\n ? undefined\n : resolvedConfig[resolvedSelectedIndex];\n const needsCustomLabel = Boolean(selectedOption?.requiresInput);\n const isConfirmDisabled =\n confirmationBlocked ||\n disableAllActions ||\n confirmDisabled ||\n (!onConfirm && !onActionConfirm) ||\n !selectedOption ||\n selectedOption.disabled === true ||\n (needsCustomLabel && resolvedCustomLabel.trim().length === 0);\n\n const handleSelect = (index: number, option: LabelCheckOption) => {\n if (confirmDisabled || option.disabled) return;\n if (selectedIndex === undefined) setInternalSelectedIndex(index);\n onSelectionChange?.(index, option);\n };\n\n const handleCustomLabelChange = (value: string) => {\n if (customLabel === undefined) setInternalCustomLabel(value);\n onCustomLabelChange?.(value);\n };\n\n const handleConfirm = () => {\n if (isConfirmDisabled || resolvedSelectedIndex == null || !selectedOption) return;\n const confirmedCustomLabel = needsCustomLabel\n ? resolvedCustomLabel.trim()\n : undefined;\n\n onConfirm?.(resolvedSelectedIndex, selectedOption, confirmedCustomLabel);\n\n if (onActionConfirm && isLabelReviewAction(selectedOption.id)) {\n onActionConfirm(selectedOption.id, {\n selectedIndex: resolvedSelectedIndex,\n option: selectedOption,\n customLabel: confirmedCustomLabel,\n metadata,\n });\n }\n };\n\n return (\n <Paper\n className={className}\n elevation={0}\n sx={mergeSx(\n {\n width,\n maxWidth,\n borderTop: '4px solid',\n borderColor: 'error.main',\n borderRadius: 2,\n bgcolor: 'background.paper',\n boxSizing: 'border-box',\n boxShadow: '0 8px 16px rgba(16, 24, 40, 0.2)',\n '@media (max-width: 372px)': { width: 'calc(100vw - 32px)' },\n },\n styles?.root\n )}\n >\n <Box sx={{ overflow: 'hidden' }}>\n <Stack spacing={0.75} sx={{ p: 1 }}>\n <Stack\n direction=\"row\"\n alignItems=\"center\"\n spacing={0.75}\n sx={styles?.header}\n >\n <InfoAlert color=\"error\" height={16} width={16} />\n <Typography\n sx={{\n flex: 1,\n color: 'error.main',\n fontSize: 12,\n fontWeight: 500,\n lineHeight: 1.25,\n textTransform: 'uppercase',\n }}\n >\n {headerName}\n </Typography>\n {showCloseButton && (\n <IconButton\n size=\"small\"\n onClick={onClose}\n disabled={!onClose}\n aria-label=\"Close label check\"\n sx={{ p: 0, '&.Mui-disabled': { color: 'text.secondary' } }}\n >\n <CloseIcon sx={{ fontSize: 17 }} />\n </IconButton>\n )}\n </Stack>\n\n <Box>\n <Typography sx={{ color: 'text.primary', fontSize: 14, fontWeight: 500 }}>\n {title}\n </Typography>\n {pageNo != null && (\n <Typography sx={{ mt: 0.125, color: 'text.secondary', fontSize: 12 }}>\n {pageNo}\n </Typography>\n )}\n <Divider sx={{ my: 0.625 }} />\n {revertSummary != null ? (\n <RevertSummaryNotice>{revertSummary}</RevertSummaryNotice>\n ) : content != null && (\n <Typography\n component=\"div\"\n sx={{ color: 'text.secondary', fontSize: 11.5, lineHeight: 1.3 }}\n >\n {content}\n </Typography>\n )}\n </Box>\n\n <Stack spacing={0.625} role=\"radiogroup\" aria-label=\"Label options\">\n {confirmationWarning != null && (\n <Stack\n direction=\"row\"\n alignItems=\"flex-start\"\n spacing={0.5}\n role=\"alert\"\n sx={mergeSx(\n {\n px: 0.75,\n py: 0.625,\n borderRadius: 1,\n bgcolor: \"#FEFCE8\",\n color: \"#CA8A04\"\n },\n styles?.confirmationWarning\n )}\n >\n <InfoAlert color=\"inherit\" height={15} width={15} />\n <Typography sx={{ color: 'inherit', fontSize: 11.5, lineHeight: 1.3 }}>\n {confirmationWarning}\n </Typography>\n </Stack>\n )}\n {resolvedConfig.map((item, index) => {\n const isSelected = resolvedSelectedIndex === index;\n\n return (\n <Paper\n key={item.id}\n variant=\"outlined\"\n sx={mergeSx(\n {\n borderColor: isSelected ? '#1976d2' : 'divider',\n borderRadius: 2,\n overflow: 'hidden',\n },\n styles?.option\n )}\n >\n <ButtonBase\n role=\"radio\"\n aria-checked={isSelected}\n disabled={confirmDisabled || item.disabled || confirmationBlocked}\n onClick={() => handleSelect(index, item)}\n sx={{\n width: '100%',\n justifyContent: 'flex-start',\n px: 0.75,\n py: 0.5,\n textAlign: 'left',\n cursor: 'pointer',\n '&.Mui-disabled': {\n cursor: 'not-allowed',\n },\n }}\n >\n <Radio\n checked={isSelected}\n disabled={confirmDisabled || item.disabled || confirmationBlocked}\n tabIndex={-1}\n size=\"small\"\n sx={{\n p: 0.25,\n mr: 0.5,\n cursor: 'pointer',\n '&.Mui-disabled': {\n cursor: 'not-allowed',\n },\n }}\n />\n <Box sx={{ minWidth: 0 }}>\n <Typography sx={{ color: 'text.primary', fontSize: 12.5, fontWeight: 500 }}>\n {item.title}\n </Typography>\n {item.description != null && (\n <Typography sx={{ mt: 0.125, color: 'text.secondary', fontSize: 11 }}>\n {item.description}\n </Typography>\n )}\n </Box>\n </ButtonBase>\n\n {isSelected && item.requiresInput && (\n <Box sx={{ px: 1.25, pb: 1 }}>\n <TextField\n autoFocus\n fullWidth\n size=\"small\"\n value={resolvedCustomLabel}\n disabled={confirmDisabled}\n placeholder={item.inputPlaceholder}\n inputProps={{ 'aria-label': customInputAriaLabel }}\n onChange={(event) => handleCustomLabelChange(event.target.value)}\n onKeyDown={(event) => {\n if (event.key === 'Enter') handleConfirm();\n }}\n variant=\"outlined\"\n InputProps={{\n sx: {\n height: 36,\n borderRadius: 2,\n backgroundColor: 'background.paper',\n '& .MuiOutlinedInput-notchedOutline': {\n borderColor: '#D0D5DD',\n borderWidth: '1px',\n },\n '&:hover .MuiOutlinedInput-notchedOutline': {\n borderColor: '#D0D5DD',\n },\n '&.Mui-focused .MuiOutlinedInput-notchedOutline': {\n borderColor: '#D0D5DD',\n borderWidth: '1.5px',\n },\n '& .MuiOutlinedInput-input': {\n height: '100%',\n boxSizing: 'border-box',\n px: 1.25,\n py: 0,\n fontSize: 12,\n lineHeight: 1.25,\n },\n '& .MuiOutlinedInput-input::placeholder': {\n color: '#98A2B3',\n opacity: 1,\n },\n },\n }}\n sx={styles?.customInput}\n />\n </Box>\n )}\n </Paper>\n );\n })}\n\n \n\n <Button\n variant=\"contained\"\n fullWidth\n disabled={isConfirmDisabled}\n onClick={handleConfirm}\n sx={mergeSx(\n {\n minHeight: 32,\n mt: 0.25,\n borderRadius: 2,\n fontSize: 13,\n fontWeight: 600,\n textTransform: 'none',\n backgroundColor: '#5925DC',\n '&:hover': { backgroundColor: '#4A1FB8' },\n '&.Mui-disabled': {\n backgroundColor: '#D9D6FE',\n color: '#FFFFFF',\n },\n },\n styles?.confirmButton\n )}\n >\n {confirmLabel}\n </Button>\n </Stack>\n\n <Stack spacing={0.625} sx={styles?.footer}>\n {/* {showAdjustManually && (\n <ButtonBase\n onClick={onAdjustManually}\n disabled={!onAdjustManually}\n sx={{\n justifyContent: 'space-between',\n borderRadius: 1,\n textAlign: 'left',\n }}\n >\n <Box>\n <Typography sx={{ color: 'text.primary', fontSize: 14 }}>\n {manualPrompt}\n </Typography>\n <Typography sx={{ mt: 0.25, color: 'text.primary', fontSize: 14 }}>\n {manualActionLabel}\n </Typography>\n </Box>\n <ExpandMoreIcon sx={{ color: 'text.secondary' }} />\n </ButtonBase>\n )} */}\n\n {showCognitiveIntegrity && (\n <>\n <Divider />\n <ButtonBase\n onClick={onCognitiveClick}\n disabled={!onCognitiveClick}\n sx={{\n justifyContent: 'space-between',\n borderRadius: 1,\n textAlign: 'left',\n cursor: onCognitiveClick ? 'pointer' : 'not-allowed',\n }}\n >\n <Stack direction=\"row\" alignItems=\"center\" spacing={1}>\n <CognitiveIcon sx={{ color: 'text.secondary' }} />\n <Typography sx={{ color: 'text.primary', fontSize: 12 }}>\n {cognitiveLabel}\n </Typography>\n </Stack>\n <Stack direction=\"row\" alignItems=\"center\" spacing={0.75}>\n <CognitiveScoreBadge score={cognitiveScore} />\n <ChevronRightIcon sx={{ color: 'text.secondary', fontSize: 18 }} />\n </Stack>\n </ButtonBase>\n </>\n )}\n </Stack>\n </Stack>\n </Box>\n </Paper>\n );\n}\n"],"names":["mergeSx","base","override","Array","isArray","LabelReviewActionEnum","createLabelCheckOptions","metadata","user_actions","map","action","id","title","description","current_label","requiresInput","inputPlaceholder","isLabelReviewAction","value","Object","values","includes","LabelCheck","headerName","pageNo","content","revertSummary","cognitiveScore","config","selectedIndex","defaultSelectedIndex","onSelectionChange","customLabel","defaultCustomLabel","onCustomLabelChange","onConfirm","onActionConfirm","onCognitiveClick","onAdjustManually","onClose","confirmLabel","customInputAriaLabel","manualPrompt","manualActionLabel","cognitiveLabel","showAdjustManually","showCognitiveIntegrity","showCloseButton","confirmDisabled","confirmationBlocked","confirmationWarning","disableAllActions","width","maxWidth","className","styles","resolvedConfig","useMemo","internalSelectedIndex","setInternalSelectedIndex","useState","internalCustomLabel","setInternalCustomLabel","custom_label","resolvedSelectedIndex","resolvedCustomLabel","selectedOption","needsCustomLabel","Boolean","isConfirmDisabled","disabled","trim","length","handleConfirm","confirmedCustomLabel","option","jsx","Paper","elevation","sx","borderTop","borderColor","borderRadius","bgcolor","boxSizing","boxShadow","root","children","Box","overflow","jsxs","Stack","spacing","p","direction","alignItems","header","InfoAlert","color","height","Typography","flex","fontSize","fontWeight","lineHeight","textTransform","IconButton","size","onClick","CloseIcon","mt","Divider","my","RevertSummaryNotice","component","role","px","py","item","index","isSelected","variant","ButtonBase","handleSelect","justifyContent","textAlign","cursor","Radio","checked","tabIndex","mr","minWidth","pb","TextField","autoFocus","fullWidth","placeholder","inputProps","onChange","event","handleCustomLabelChange","target","onKeyDown","key","InputProps","backgroundColor","borderWidth","opacity","customInput","Button","minHeight","confirmButton","footer","Fragment","CognitiveIcon","CognitiveScoreBadge","score","ChevronRightIcon"],"mappings":"2tBAoBA,MAAMA,EAAU,CACdC,EACAC,IACmB,CACnBD,KACIE,MAAMC,QAAQF,GAAYA,EAAuB,MAAZA,EAAmB,GAAK,CAACA,IAcxD,IAAAG,GAAAA,IACVA,EAAa,WAAA,aACb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
1
- import{__assign as o,__spreadArray as e}from"tslib";import{jsx as i,jsxs as r,Fragment as t}from"react/jsx-runtime";import{useCallback as n}from"react";import l from"@mui/icons-material/ChevronRight";import a from"@mui/icons-material/Close";import d from"@mui/material/Box";import c from"@mui/material/Button";import s from"@mui/material/Divider";import m from"@mui/material/IconButton";import u from"@mui/material/Paper";import p from"@mui/material/Stack";import h from"@mui/material/Typography";import f from"./CognitiveIcon.js";import g from"./CognitiveScoreBadge.js";import x from"../../assests/icons/InfoAlert.js";var b,v=function(o,i){return e([o],Array.isArray(i)?i:null==i?[]:[i],!0)};!function(o){o.YES="YES",o.NO="NO"}(b||(b={}));var C=function(o){return Object.values(b).includes(o)};function y(e){var C,y=e.headerName,F=void 0===y?"Page Type Check":y,S=e.title,w=e.pageNo,k=e.content,D=e.cognitiveScore,z=e.pageType,A=e.metadata,I=e.onActionConfirm,B=e.onCognitiveClick,N=e.onClose,T=e.showCognitiveIntegrity,W=void 0===T||T,E=e.showCloseButton,j=void 0===E||E,O=e.confirmDisabled,R=void 0!==O&&O,Y=e.disableAllActions,H=void 0!==Y&&Y,M=e.width,P=void 0===M?260:M,_=e.maxWidth,q=void 0===_?260:_,G=e.className,J=e.styles,K=null!==(C=null!=z?z:null==A?void 0:A.page_type)&&void 0!==C?C:"table",L=null!=k?k:"We're not fully confident about the format of this page. Is this page a ".concat(K,"?"),Q=H||R||!I,U=n(function(){Q||null==I||I(b.YES,{action:b.YES,pageType:K,metadata:A})},[Q,I,K,A]),V=n(function(){Q||null==I||I(b.NO,{action:b.NO,pageType:K,metadata:A})},[Q,I,K,A]);return i(u,o({className:G,elevation:0,sx:v({width:P,maxWidth:q,borderTop:"4px solid",borderColor:"error.main",borderRadius:2,bgcolor:"background.paper",boxSizing:"border-box",boxShadow:"0 8px 16px rgba(16, 24, 40, 0.2)","@media (max-width: 372px)":{width:"calc(100vw - 32px)"}},null==J?void 0:J.root)},{children:i(d,o({sx:{overflow:"hidden"}},{children:r(p,o({spacing:.75,sx:{p:1}},{children:[r(p,o({direction:"row",alignItems:"center",spacing:.75,sx:null==J?void 0:J.header},{children:[i(x,{color:"error",height:16,width:16}),i(h,o({sx:{flex:1,color:"error.main",fontSize:12,fontWeight:500,lineHeight:1.25,textTransform:"uppercase"}},{children:F})),j&&i(m,o({size:"small",onClick:N,disabled:!N,"aria-label":"Close page check",sx:{p:0,"&.Mui-disabled":{color:"text.secondary"}}},{children:i(a,{sx:{fontSize:17}})}))]})),r(d,{children:[i(h,o({sx:{color:"text.primary",fontSize:14,fontWeight:500}},{children:S})),null!=w&&i(h,o({sx:{mt:.125,color:"text.secondary",fontSize:12}},{children:w})),i(s,{sx:{my:.625}}),null!=L&&i(h,o({component:"div",sx:{color:"text.secondary",fontSize:11.5,lineHeight:1.3}},{children:L}))]}),r(p,o({direction:"row",spacing:.75},{children:[i(c,o({variant:"outlined",fullWidth:!0,disabled:Q,onClick:V,sx:v({minHeight:32,borderRadius:2,fontSize:13,fontWeight:600,textTransform:"none",borderColor:"#D0D5DD",color:"#475569",backgroundColor:"#FFFFFF","&:hover":{backgroundColor:"#F8FAFC",borderColor:"#D0D5DD"},"&.Mui-disabled":{backgroundColor:"#F3F4F6",color:"#9CA3AF",borderColor:"#E5E7EB"}},null==J?void 0:J.noButton)},{children:"No"})),i(c,o({variant:"contained",fullWidth:!0,disabled:Q,onClick:U,sx:v({minHeight:32,borderRadius:2,fontSize:13,fontWeight:600,textTransform:"none",backgroundColor:"#5925DC","&:hover":{backgroundColor:"#4A1FB8"},"&.Mui-disabled":{backgroundColor:"#D9D6FE",color:"#FFFFFF"}},null==J?void 0:J.yesButton)},{children:"Yes"}))]})),i(p,o({spacing:.625,sx:null==J?void 0:J.footer},{children:W&&r(t,{children:[i(s,{}),r(d,o({onClick:B,sx:{display:"flex",justifyContent:"space-between",alignItems:"center",borderRadius:1,cursor:B?"pointer":"not-allowed","&:hover":B?{opacity:.8}:{}}},{children:[r(p,o({direction:"row",alignItems:"center",spacing:1},{children:[i(f,{sx:{color:"text.secondary"}}),i(h,o({sx:{color:"text.primary",fontSize:12}},{children:"Cognitive Integrity"}))]})),r(p,o({direction:"row",alignItems:"center",spacing:.75},{children:[i(g,{score:D}),i(l,{sx:{color:"text.secondary",fontSize:18}})]}))]}))]})}))]}))}))}))}export{b as PageCheckActionEnum,y as default,C as isPageCheckAction};
1
+ import{jsx as o,jsxs as e,Fragment as r}from"react/jsx-runtime";import{useCallback as i}from"react";import t from"@mui/icons-material/ChevronRight";import n from"@mui/icons-material/Close";import a from"@mui/material/Box";import l from"@mui/material/Button";import c from"@mui/material/Divider";import s from"@mui/material/IconButton";import d from"@mui/material/Paper";import m from"@mui/material/Stack";import p from"@mui/material/Typography";import h from"./CognitiveIcon.js";import g from"./CognitiveScoreBadge.js";import f from"../../assests/icons/InfoAlert.js";const u=(o,e)=>[o,...Array.isArray(e)?e:null==e?[]:[e]];var x=(o=>(o.YES="YES",o.NO="NO",o))(x||{});const b=o=>Object.values(x).includes(o);function C({headerName:x="Page Type Check",title:b,pageNo:C,content:y,cognitiveScore:F,pageType:v,metadata:S,onActionConfirm:w,onCognitiveClick:k,onClose:D,showCognitiveIntegrity:z=!0,showCloseButton:A=!0,confirmDisabled:I=!1,disableAllActions:B=!1,width:N=260,maxWidth:T=260,className:W,styles:E}){const j=v??S?.page_type??"table",O=y??`We're not fully confident about the format of this page. Is this page a ${j}?`,R=B||I||!w,Y=i(()=>{R||w?.("YES",{action:"YES",pageType:j,metadata:S})},[R,w,j,S]),H=i(()=>{R||w?.("NO",{action:"NO",pageType:j,metadata:S})},[R,w,j,S]);return o(d,{className:W,elevation:0,sx:u({width:N,maxWidth:T,borderTop:"4px solid",borderColor:"error.main",borderRadius:2,bgcolor:"background.paper",boxSizing:"border-box",boxShadow:"0 8px 16px rgba(16, 24, 40, 0.2)","@media (max-width: 372px)":{width:"calc(100vw - 32px)"}},E?.root),children:o(a,{sx:{overflow:"hidden"},children:e(m,{spacing:.75,sx:{p:1},children:[e(m,{direction:"row",alignItems:"center",spacing:.75,sx:E?.header,children:[o(f,{color:"error",height:16,width:16}),o(p,{sx:{flex:1,color:"error.main",fontSize:12,fontWeight:500,lineHeight:1.25,textTransform:"uppercase"},children:x}),A&&o(s,{size:"small",onClick:D,disabled:!D,"aria-label":"Close page check",sx:{p:0,"&.Mui-disabled":{color:"text.secondary"}},children:o(n,{sx:{fontSize:17}})})]}),e(a,{children:[o(p,{sx:{color:"text.primary",fontSize:14,fontWeight:500},children:b}),null!=C&&o(p,{sx:{mt:.125,color:"text.secondary",fontSize:12},children:C}),o(c,{sx:{my:.625}}),null!=O&&o(p,{component:"div",sx:{color:"text.secondary",fontSize:11.5,lineHeight:1.3},children:O})]}),e(m,{direction:"row",spacing:.75,children:[o(l,{variant:"outlined",fullWidth:!0,disabled:R,onClick:H,sx:u({minHeight:32,borderRadius:2,fontSize:13,fontWeight:600,textTransform:"none",borderColor:"#D0D5DD",color:"#475569",backgroundColor:"#FFFFFF","&:hover":{backgroundColor:"#F8FAFC",borderColor:"#D0D5DD"},"&.Mui-disabled":{backgroundColor:"#F3F4F6",color:"#9CA3AF",borderColor:"#E5E7EB"}},E?.noButton),children:"No"}),o(l,{variant:"contained",fullWidth:!0,disabled:R,onClick:Y,sx:u({minHeight:32,borderRadius:2,fontSize:13,fontWeight:600,textTransform:"none",backgroundColor:"#5925DC","&:hover":{backgroundColor:"#4A1FB8"},"&.Mui-disabled":{backgroundColor:"#D9D6FE",color:"#FFFFFF"}},E?.yesButton),children:"Yes"})]}),o(m,{spacing:.625,sx:E?.footer,children:z&&e(r,{children:[o(c,{}),e(a,{onClick:k,sx:{display:"flex",justifyContent:"space-between",alignItems:"center",borderRadius:1,cursor:k?"pointer":"not-allowed","&:hover":k?{opacity:.8}:{}},children:[e(m,{direction:"row",alignItems:"center",spacing:1,children:[o(h,{sx:{color:"text.secondary"}}),o(p,{sx:{color:"text.primary",fontSize:12},children:"Cognitive Integrity"})]}),e(m,{direction:"row",alignItems:"center",spacing:.75,children:[o(g,{score:F}),o(t,{sx:{color:"text.secondary",fontSize:18}})]})]})]})})]})})})}export{x as PageCheckActionEnum,C as default,b as isPageCheckAction};
2
2
  //# sourceMappingURL=PageCheck.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"PageCheck.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"PageCheck.js","sources":["../../../src/features/SegmentReviewComponents/PageCheck.tsx"],"sourcesContent":["import { useCallback, type ReactNode } from 'react';\nimport ChevronRightIcon from '@mui/icons-material/ChevronRight';\nimport CloseIcon from '@mui/icons-material/Close';\nimport Box from '@mui/material/Box';\nimport Button from '@mui/material/Button';\nimport Divider from '@mui/material/Divider';\nimport IconButton from '@mui/material/IconButton';\nimport Paper from '@mui/material/Paper';\nimport Stack from '@mui/material/Stack';\nimport Typography from '@mui/material/Typography';\nimport type { SxProps, Theme } from '@mui/material/styles';\nimport CognitiveIcon from './CognitiveIcon';\nimport CognitiveScoreBadge from './CognitiveScoreBadge';\nimport InfoAlert from '../../assests/icons/InfoAlert';\n\nconst mergeSx = (\n base: SxProps<Theme>,\n override?: SxProps<Theme>\n): SxProps<Theme> => [\n base,\n ...(Array.isArray(override) ? override : override == null ? [] : [override]),\n] as SxProps<Theme>;\n\nexport enum PageCheckActionEnum {\n YES = 'YES',\n NO = 'NO',\n}\n\nexport type PageCheckAction = `${PageCheckActionEnum}`;\nexport type PageCheckPageType = 'table' | 'drawing';\n\nexport interface PageCheckTypeChoice {\n page_type: PageCheckPageType;\n classification_id: string;\n}\n\n/** Metadata supplied by a `Page Type Check` review step. */\nexport interface PageCheckMetadata {\n user_actions: readonly PageCheckAction[];\n page_type?: PageCheckPageType | null;\n page_num?: number | null;\n classification_id?: string | null;\n /** Original questions combined into one table/drawing choice. */\n type_choices?: readonly PageCheckTypeChoice[];\n}\n\nexport interface PageCheckConfirmDetails {\n action: PageCheckAction;\n pageType?: PageCheckPageType | null;\n metadata?: PageCheckMetadata;\n}\n\nexport const isPageCheckAction = (value: string): value is PageCheckAction =>\n Object.values(PageCheckActionEnum).includes(value as PageCheckActionEnum);\n\nexport interface PageCheckStyles {\n root?: SxProps<Theme>;\n header?: SxProps<Theme>;\n yesButton?: SxProps<Theme>;\n noButton?: SxProps<Theme>;\n footer?: SxProps<Theme>;\n}\n\nexport interface PageCheckProps {\n headerName?: ReactNode;\n title: ReactNode;\n pageNo?: ReactNode;\n content?: ReactNode;\n cognitiveScore?: ReactNode;\n pageType?: PageCheckPageType | null;\n metadata?: PageCheckMetadata;\n\n /** Metadata from a review step whose type is `Page Type Check`. */\n onActionConfirm?: (\n action: PageCheckAction,\n details: PageCheckConfirmDetails\n ) => void;\n onCognitiveClick?: () => void;\n onClose?: () => void;\n\n showCognitiveIntegrity?: boolean;\n showCloseButton?: boolean;\n confirmDisabled?: boolean;\n disableAllActions?: boolean;\n width?: number | string;\n maxWidth?: number | string;\n className?: string;\n styles?: PageCheckStyles;\n}\n\nexport default function PageCheck({\n headerName = 'Page Type Check',\n title,\n pageNo,\n content,\n cognitiveScore,\n pageType,\n metadata,\n onActionConfirm,\n onCognitiveClick,\n onClose,\n showCognitiveIntegrity = true,\n showCloseButton = true,\n confirmDisabled = false,\n disableAllActions = false,\n width = 260,\n maxWidth = 260,\n className,\n styles,\n}: PageCheckProps) {\n const resolvedPageType = pageType ?? metadata?.page_type ?? 'table';\n const resolvedContent = content ??\n `We're not fully confident about the format of this page. Is this page a ${resolvedPageType}?`;\n const isActionDisabled = disableAllActions || confirmDisabled || !onActionConfirm;\n\n const handleYes = useCallback(() => {\n if (isActionDisabled) return;\n onActionConfirm?.(PageCheckActionEnum.YES, {\n action: PageCheckActionEnum.YES,\n pageType: resolvedPageType,\n metadata,\n });\n }, [isActionDisabled, onActionConfirm, resolvedPageType, metadata]);\n\n const handleNo = useCallback(() => {\n if (isActionDisabled) return;\n onActionConfirm?.(PageCheckActionEnum.NO, {\n action: PageCheckActionEnum.NO,\n pageType: resolvedPageType,\n metadata,\n });\n }, [isActionDisabled, onActionConfirm, resolvedPageType, metadata]);\n\n return (\n <Paper\n className={className}\n elevation={0}\n sx={mergeSx(\n {\n width,\n maxWidth,\n borderTop: '4px solid',\n borderColor: 'error.main',\n borderRadius: 2,\n bgcolor: 'background.paper',\n boxSizing: 'border-box',\n boxShadow: '0 8px 16px rgba(16, 24, 40, 0.2)',\n '@media (max-width: 372px)': { width: 'calc(100vw - 32px)' },\n },\n styles?.root\n )}\n >\n <Box sx={{ overflow: 'hidden' }}>\n <Stack spacing={0.75} sx={{ p: 1 }}>\n {/* Header */}\n <Stack\n direction=\"row\"\n alignItems=\"center\"\n spacing={0.75}\n sx={styles?.header}\n >\n <InfoAlert color=\"error\" height={16} width={16} />\n <Typography\n sx={{\n flex: 1,\n color: 'error.main',\n fontSize: 12,\n fontWeight: 500,\n lineHeight: 1.25,\n textTransform: 'uppercase',\n }}\n >\n {headerName}\n </Typography>\n {showCloseButton && (\n <IconButton\n size=\"small\"\n onClick={onClose}\n disabled={!onClose}\n aria-label=\"Close page check\"\n sx={{ p: 0, '&.Mui-disabled': { color: 'text.secondary' } }}\n >\n <CloseIcon sx={{ fontSize: 17 }} />\n </IconButton>\n )}\n </Stack>\n\n {/* Title and Page Info */}\n <Box>\n <Typography sx={{ color: 'text.primary', fontSize: 14, fontWeight: 500 }}>\n {title}\n </Typography>\n {pageNo != null && (\n <Typography sx={{ mt: 0.125, color: 'text.secondary', fontSize: 12 }}>\n {pageNo}\n </Typography>\n )}\n <Divider sx={{ my: 0.625 }} />\n {resolvedContent != null && (\n <Typography\n component=\"div\"\n sx={{ color: 'text.secondary', fontSize: 11.5, lineHeight: 1.3 }}\n >\n {resolvedContent}\n </Typography>\n )}\n </Box>\n\n {/* Yes/No Buttons */}\n <Stack direction=\"row\" spacing={0.75}>\n <Button\n variant=\"outlined\"\n fullWidth\n disabled={isActionDisabled}\n onClick={handleNo}\n sx={mergeSx(\n {\n minHeight: 32,\n borderRadius: 2,\n fontSize: 13,\n fontWeight: 600,\n textTransform: 'none',\n borderColor: '#D0D5DD',\n color: '#475569',\n backgroundColor: '#FFFFFF',\n '&:hover': {\n backgroundColor: '#F8FAFC',\n borderColor: '#D0D5DD',\n },\n '&.Mui-disabled': {\n backgroundColor: '#F3F4F6',\n color: '#9CA3AF',\n borderColor: '#E5E7EB',\n },\n },\n styles?.noButton\n )}\n >\n No\n </Button>\n <Button\n variant=\"contained\"\n fullWidth\n disabled={isActionDisabled}\n onClick={handleYes}\n sx={mergeSx(\n {\n minHeight: 32,\n borderRadius: 2,\n fontSize: 13,\n fontWeight: 600,\n textTransform: 'none',\n backgroundColor: '#5925DC',\n '&:hover': { backgroundColor: '#4A1FB8' },\n '&.Mui-disabled': {\n backgroundColor: '#D9D6FE',\n color: '#FFFFFF',\n },\n },\n styles?.yesButton\n )}\n >\n Yes\n </Button>\n </Stack>\n\n {/* Footer - Cognitive Integrity */}\n <Stack spacing={0.625} sx={styles?.footer}>\n {showCognitiveIntegrity && (\n <>\n <Divider />\n <Box\n onClick={onCognitiveClick}\n sx={{\n display: 'flex',\n justifyContent: 'space-between',\n alignItems: 'center',\n borderRadius: 1,\n cursor: onCognitiveClick ? 'pointer' : 'not-allowed',\n '&:hover': onCognitiveClick ? { opacity: 0.8 } : {},\n }}\n >\n <Stack direction=\"row\" alignItems=\"center\" spacing={1}>\n <CognitiveIcon sx={{ color: 'text.secondary' }} />\n <Typography sx={{ color: 'text.primary', fontSize: 12 }}>\n Cognitive Integrity\n </Typography>\n </Stack>\n <Stack direction=\"row\" alignItems=\"center\" spacing={0.75}>\n <CognitiveScoreBadge score={cognitiveScore} />\n <ChevronRightIcon sx={{ color: 'text.secondary', fontSize: 18 }} />\n </Stack>\n </Box>\n </>\n )}\n </Stack>\n </Stack>\n </Box>\n </Paper>\n );\n}\n"],"names":["mergeSx","base","override","Array","isArray","PageCheckActionEnum","isPageCheckAction","value","Object","values","includes","PageCheck","headerName","title","pageNo","content","cognitiveScore","pageType","metadata","onActionConfirm","onCognitiveClick","onClose","showCognitiveIntegrity","showCloseButton","confirmDisabled","disableAllActions","width","maxWidth","className","styles","resolvedPageType","page_type","resolvedContent","isActionDisabled","handleYes","useCallback","action","handleNo","jsx","Paper","elevation","sx","borderTop","borderColor","borderRadius","bgcolor","boxSizing","boxShadow","root","children","Box","overflow","jsxs","Stack","spacing","p","direction","alignItems","header","InfoAlert","color","height","Typography","flex","fontSize","fontWeight","lineHeight","textTransform","IconButton","size","onClick","disabled","CloseIcon","mt","Divider","my","component","Button","variant","fullWidth","minHeight","backgroundColor","noButton","yesButton","footer","Fragment","display","justifyContent","cursor","opacity","CognitiveIcon","CognitiveScoreBadge","score","ChevronRightIcon"],"mappings":"ujBAeA,MAAMA,EAAU,CACdC,EACAC,IACmB,CACnBD,KACIE,MAAMC,QAAQF,GAAYA,EAAuB,MAAZA,EAAmB,GAAK,CAACA,IAGxD,IAAAG,GAAAA,IACVA,EAAM,IAAA,MACNA,EAAK,GAAA,KAFKA,IAAAA,GAAA,CAAA,GA6BC,MAAAC,EAAqBC,GAChCC,OAAOC,OAAOJ,GAAqBK,SAASH,GAqC9C,SAAwBI,GAAUC,WAChCA,EAAa,kBAAAC,MACbA,EAAAC,OACAA,EAAAC,QACAA,EAAAC,eACAA,EAAAC,SACAA,EAAAC,SACAA,EAAAC,gBACAA,EAAAC,iBACAA,EAAAC,QACAA,EAAAC,uBACAA,GAAyB,EAAAC,gBACzBA,GAAkB,EAAAC,gBAClBA,GAAkB,EAAAC,kBAClBA,GAAoB,EAAAC,MACpBA,EAAQ,IAAAC,SACRA,EAAW,IAAAC,UACXA,EAAAC,OACAA,IAEM,MAAAC,EAAmBb,GAAYC,GAAUa,WAAa,QACtDC,EAAkBjB,GACtB,2EAA2Ee,KACvEG,EAAmBR,GAAqBD,IAAoBL,EAE5De,EAAYC,EAAY,KACxBF,GACJd,IAAkB,MAAyB,CACzCiB,OAAQ,MACRnB,SAAUa,EACVZ,cAED,CAACe,EAAkBd,EAAiBW,EAAkBZ,IAEnDmB,EAAWF,EAAY,KACvBF,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UAAU,MAAMC,WAAW,SAASH,QAAS,IAClDL,SAAA,CAACX,EAAAqD,EAAA,CAAoBC,MAAO5E,IAC5BsB,EAACuD,GAAiBpD,GAAI,CAAEmB,MAAO,iBAAkBI,SAAU,uBAU/E"}
@@ -1,2 +1,2 @@
1
- import{__assign as e,__spreadArray as i}from"tslib";import{jsx as o,jsxs as r}from"react/jsx-runtime";import{useState as t}from"react";import n from"@mui/icons-material/ChevronRight";import a from"@mui/icons-material/Close";import l from"@mui/material/Box";import c from"@mui/material/Button";import d from"@mui/material/ButtonBase";import s from"@mui/material/Checkbox";import m from"@mui/material/Divider";import p from"@mui/material/IconButton";import h from"@mui/material/Paper";import f from"@mui/material/Stack";import g from"@mui/material/Typography";import u from"../../assests/icons/InfoAlert.js";import x from"./CognitiveIcon.js";import b from"./CognitiveScoreBadge.js";var v=function(e,o){return i([e],Array.isArray(o)?o:null==o?[]:[o],!0)};function y(i){var y=i.title,C=i.pageNo,w=i.content,F=void 0===w?"Please check the type of this page.":w,S=i.choices,z=i.cognitiveScore,k=i.onConfirm,B=i.onCognitiveClick,I=i.onClose,A=i.showCognitiveIntegrity,T=void 0===A||A,W=i.showCloseButton,j=void 0===W||W,D=i.confirmDisabled,R=void 0!==D&&D,_=i.width,H=void 0===_?260:_,E=i.maxWidth,P=void 0===E?260:E,M=i.styles,N=t(function(){return new Set}),q=N[0],G=N[1],J=R||!k||0===q.size;return o(h,e({elevation:4,sx:v({width:H,maxWidth:P,borderTop:"4px solid",borderColor:"error.main",borderRadius:2,bgcolor:"background.paper",overflow:"hidden",boxSizing:"border-box","@media (max-width: 372px)":{width:"calc(100vw - 32px)"}},null==M?void 0:M.root)},{children:r(f,e({spacing:.75,sx:{p:1}},{children:[r(f,e({direction:"row",alignItems:"center",spacing:.75,sx:null==M?void 0:M.header},{children:[o(u,{color:"error",height:16,width:16}),o(g,e({sx:{flex:1,color:"error.main",fontSize:12,fontWeight:500,lineHeight:1.25,textTransform:"uppercase"}},{children:"Page Type Check"})),j&&o(p,e({size:"small",onClick:I,disabled:!I,"aria-label":"Close page type check",sx:{p:0,"&.Mui-disabled":{color:"text.secondary"}}},{children:o(a,{sx:{fontSize:17}})}))]})),r(l,{children:[o(g,e({sx:{color:"text.primary",fontSize:14,fontWeight:500}},{children:y})),null!=C&&o(g,e({sx:{mt:.125,color:"text.secondary",fontSize:12}},{children:C})),o(m,{sx:{my:.625}}),null!=F&&o(g,e({sx:{color:"text.secondary",fontSize:11.5,lineHeight:1.3}},{children:F}))]}),o(f,e({spacing:.625,role:"group","aria-label":"Select page types"},{children:S.map(function(i){var t,n=q.has(i.page_type);return o(h,e({variant:"outlined",sx:v({borderColor:n?"#A5B4FC":"#E2E8F0",borderRadius:2,bgcolor:n?"#F5F3FF":"#FFFFFF",overflow:"hidden"},null==M?void 0:M.option)},{children:r(d,e({disabled:R,onClick:function(){return e=i.page_type,void(R||G(function(i){var o=new Set(i);return o.has(e)?o.delete(e):o.add(e),o}));var e},sx:{width:"100%",minHeight:58,px:.75,py:.625,alignItems:"flex-start",justifyContent:"flex-start",textAlign:"left"}},{children:[o(s,{checked:n,tabIndex:-1,disableRipple:!0,inputProps:{"aria-label":i.page_type},sx:{p:.25,mr:.625,pointerEvents:"none"}}),r(l,e({sx:{minWidth:0,pt:.125}},{children:[o(g,e({sx:{color:"text.primary",fontSize:12.5,fontWeight:500}},{children:"table"===i.page_type?"Table":"Drawing"})),o(g,e({sx:{mt:.125,color:"text.secondary",fontSize:11,lineHeight:1.35}},{children:(t=i.page_type,"table"===t?"This page contains tabular data.":"This page contains an engineering drawing.")}))]}))]}))}),i.classification_id)})})),o(c,e({variant:"contained",fullWidth:!0,disabled:J,onClick:function(){return null==k?void 0:k(Array.from(q))},sx:v({minHeight:36,borderRadius:2,bgcolor:"#5925DC",fontSize:13,fontWeight:600,textTransform:"none",boxShadow:"none","&:hover":{bgcolor:"#4A1FB8",boxShadow:"none"},"&.Mui-disabled":{bgcolor:"#D9D6FE",color:"#FFFFFF"}},null==M?void 0:M.confirmButton)},{children:"Confirm"})),T&&r(f,e({spacing:.625,sx:null==M?void 0:M.footer},{children:[o(m,{}),r(d,e({onClick:B,disabled:!B,sx:{width:"100%",justifyContent:"space-between",borderRadius:1,textAlign:"left"}},{children:[r(f,e({direction:"row",alignItems:"center",spacing:1},{children:[o(x,{sx:{color:"text.secondary"}}),o(g,e({sx:{color:"text.primary",fontSize:12}},{children:"Cognitive Integrity"}))]})),r(f,e({direction:"row",alignItems:"center",spacing:.5},{children:[o(b,{score:z}),o(n,{sx:{color:"text.secondary",fontSize:18}})]}))]}))]}))]}))}))}export{y as default};
1
+ import{jsx as e,jsxs as i}from"react/jsx-runtime";import{useState as o}from"react";import r from"@mui/icons-material/ChevronRight";import t from"@mui/icons-material/Close";import n from"@mui/material/Box";import a from"@mui/material/Button";import l from"@mui/material/ButtonBase";import s from"@mui/material/Checkbox";import c from"@mui/material/Divider";import d from"@mui/material/IconButton";import m from"@mui/material/Paper";import p from"@mui/material/Stack";import h from"@mui/material/Typography";import g from"../../assests/icons/InfoAlert.js";import x from"./CognitiveIcon.js";import f from"./CognitiveScoreBadge.js";const u=(e,i)=>[e,...Array.isArray(i)?i:null==i?[]:[i]];function b({title:b,pageNo:y,content:C="Please check the type of this page.",choices:w,cognitiveScore:F,onConfirm:v,onCognitiveClick:S,onClose:z,showCognitiveIntegrity:k=!0,showCloseButton:B=!0,confirmDisabled:I=!1,width:A=260,maxWidth:T=260,styles:W}){const[j,D]=o(()=>new Set),R=I||!v||0===j.size;return e(m,{elevation:4,sx:u({width:A,maxWidth:T,borderTop:"4px solid",borderColor:"error.main",borderRadius:2,bgcolor:"background.paper",overflow:"hidden",boxSizing:"border-box","@media (max-width: 372px)":{width:"calc(100vw - 32px)"}},W?.root),children:i(p,{spacing:.75,sx:{p:1},children:[i(p,{direction:"row",alignItems:"center",spacing:.75,sx:W?.header,children:[e(g,{color:"error",height:16,width:16}),e(h,{sx:{flex:1,color:"error.main",fontSize:12,fontWeight:500,lineHeight:1.25,textTransform:"uppercase"},children:"Page Type Check"}),B&&e(d,{size:"small",onClick:z,disabled:!z,"aria-label":"Close page type check",sx:{p:0,"&.Mui-disabled":{color:"text.secondary"}},children:e(t,{sx:{fontSize:17}})})]}),i(n,{children:[e(h,{sx:{color:"text.primary",fontSize:14,fontWeight:500},children:b}),null!=y&&e(h,{sx:{mt:.125,color:"text.secondary",fontSize:12},children:y}),e(c,{sx:{my:.625}}),null!=C&&e(h,{sx:{color:"text.secondary",fontSize:11.5,lineHeight:1.3},children:C})]}),e(p,{spacing:.625,role:"group","aria-label":"Select page types",children:w.map(o=>{const r=j.has(o.page_type);return e(m,{variant:"outlined",sx:u({borderColor:r?"#A5B4FC":"#E2E8F0",borderRadius:2,bgcolor:r?"#F5F3FF":"#FFFFFF",overflow:"hidden"},W?.option),children:i(l,{disabled:I,onClick:()=>{return e=o.page_type,void(I||D(i=>{const o=new Set(i);return o.has(e)?o.delete(e):o.add(e),o}));var e},sx:{width:"100%",minHeight:58,px:.75,py:.625,alignItems:"flex-start",justifyContent:"flex-start",textAlign:"left"},children:[e(s,{checked:r,tabIndex:-1,disableRipple:!0,inputProps:{"aria-label":o.page_type},sx:{p:.25,mr:.625,pointerEvents:"none"}}),i(n,{sx:{minWidth:0,pt:.125},children:[e(h,{sx:{color:"text.primary",fontSize:12.5,fontWeight:500},children:"table"===o.page_type?"Table":"Drawing"}),e(h,{sx:{mt:.125,color:"text.secondary",fontSize:11,lineHeight:1.35},children:(t=o.page_type,"table"===t?"This page contains tabular data.":"This page contains an engineering drawing.")})]})]})},o.classification_id);var t})}),e(a,{variant:"contained",fullWidth:!0,disabled:R,onClick:()=>v?.(Array.from(j)),sx:u({minHeight:36,borderRadius:2,bgcolor:"#5925DC",fontSize:13,fontWeight:600,textTransform:"none",boxShadow:"none","&:hover":{bgcolor:"#4A1FB8",boxShadow:"none"},"&.Mui-disabled":{bgcolor:"#D9D6FE",color:"#FFFFFF"}},W?.confirmButton),children:"Confirm"}),k&&i(p,{spacing:.625,sx:W?.footer,children:[e(c,{}),i(l,{onClick:S,disabled:!S,sx:{width:"100%",justifyContent:"space-between",borderRadius:1,textAlign:"left"},children:[i(p,{direction:"row",alignItems:"center",spacing:1,children:[e(x,{sx:{color:"text.secondary"}}),e(h,{sx:{color:"text.primary",fontSize:12},children:"Cognitive Integrity"})]}),i(p,{direction:"row",alignItems:"center",spacing:.5,children:[e(f,{score:F}),e(r,{sx:{color:"text.secondary",fontSize:18}})]})]})]})]})})}export{b as default};
2
2
  //# sourceMappingURL=PageTypeChoiceCheck.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"PageTypeChoiceCheck.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"PageTypeChoiceCheck.js","sources":["../../../src/features/SegmentReviewComponents/PageTypeChoiceCheck.tsx"],"sourcesContent":["import { useState, type ReactNode } from 'react';\nimport ChevronRightIcon from '@mui/icons-material/ChevronRight';\nimport CloseIcon from '@mui/icons-material/Close';\nimport Box from '@mui/material/Box';\nimport Button from '@mui/material/Button';\nimport ButtonBase from '@mui/material/ButtonBase';\nimport Checkbox from '@mui/material/Checkbox';\nimport Divider from '@mui/material/Divider';\nimport IconButton from '@mui/material/IconButton';\nimport Paper from '@mui/material/Paper';\nimport Stack from '@mui/material/Stack';\nimport Typography from '@mui/material/Typography';\nimport type { SxProps, Theme } from '@mui/material/styles';\nimport InfoAlert from '../../assests/icons/InfoAlert';\nimport CognitiveIcon from './CognitiveIcon';\nimport CognitiveScoreBadge from './CognitiveScoreBadge';\nimport type { PageCheckPageType, PageCheckTypeChoice } from './PageCheck';\n\nconst mergeSx = (\n base: SxProps<Theme>,\n override?: SxProps<Theme>\n): SxProps<Theme> => [\n base,\n ...(Array.isArray(override) ? override : override == null ? [] : [override]),\n] as SxProps<Theme>;\n\nexport interface PageTypeChoiceCheckStyles {\n root?: SxProps<Theme>;\n header?: SxProps<Theme>;\n option?: SxProps<Theme>;\n confirmButton?: SxProps<Theme>;\n footer?: SxProps<Theme>;\n}\n\nexport interface PageTypeChoiceCheckProps {\n title: ReactNode;\n pageNo?: ReactNode;\n content?: ReactNode;\n choices: readonly PageCheckTypeChoice[];\n cognitiveScore?: ReactNode;\n onConfirm?: (selectedPageTypes: readonly PageCheckPageType[]) => void;\n onCognitiveClick?: () => void;\n onClose?: () => void;\n showCognitiveIntegrity?: boolean;\n showCloseButton?: boolean;\n confirmDisabled?: boolean;\n width?: number | string;\n maxWidth?: number | string;\n styles?: PageTypeChoiceCheckStyles;\n}\n\nconst getChoiceDescription = (pageType: PageCheckPageType) =>\n pageType === 'table'\n ? 'This page contains tabular data.'\n : 'This page contains an engineering drawing.';\n\nexport default function PageTypeChoiceCheck({\n title,\n pageNo,\n content = 'Please check the type of this page.',\n choices,\n cognitiveScore,\n onConfirm,\n onCognitiveClick,\n onClose,\n showCognitiveIntegrity = true,\n showCloseButton = true,\n confirmDisabled = false,\n width = 260,\n maxWidth = 260,\n styles,\n}: PageTypeChoiceCheckProps) {\n const [selectedPageTypes, setSelectedPageTypes] = useState<Set<PageCheckPageType>>(\n () => new Set()\n );\n const isConfirmDisabled = confirmDisabled || !onConfirm || selectedPageTypes.size === 0;\n\n const togglePageType = (pageType: PageCheckPageType) => {\n if (confirmDisabled) return;\n setSelectedPageTypes((current) => {\n const next = new Set(current);\n if (next.has(pageType)) next.delete(pageType);\n else next.add(pageType);\n return next;\n });\n };\n\n return (\n <Paper\n elevation={4}\n sx={mergeSx(\n {\n width,\n maxWidth,\n borderTop: '4px solid',\n borderColor: 'error.main',\n borderRadius: 2,\n bgcolor: 'background.paper',\n overflow: 'hidden',\n boxSizing: 'border-box',\n '@media (max-width: 372px)': { width: 'calc(100vw - 32px)' },\n },\n styles?.root\n )}\n >\n <Stack spacing={0.75} sx={{ p: 1 }}>\n <Stack direction=\"row\" alignItems=\"center\" spacing={0.75} sx={styles?.header}>\n <InfoAlert color=\"error\" height={16} width={16} />\n <Typography\n sx={{\n flex: 1,\n color: 'error.main',\n fontSize: 12,\n fontWeight: 500,\n lineHeight: 1.25,\n textTransform: 'uppercase',\n }}\n >\n Page Type Check\n </Typography>\n {showCloseButton && (\n <IconButton\n size=\"small\"\n onClick={onClose}\n disabled={!onClose}\n aria-label=\"Close page type check\"\n sx={{ p: 0, '&.Mui-disabled': { color: 'text.secondary' } }}\n >\n <CloseIcon sx={{ fontSize: 17 }} />\n </IconButton>\n )}\n </Stack>\n\n <Box>\n <Typography sx={{ color: 'text.primary', fontSize: 14, fontWeight: 500 }}>\n {title}\n </Typography>\n {pageNo != null && (\n <Typography sx={{ mt: 0.125, color: 'text.secondary', fontSize: 12 }}>\n {pageNo}\n </Typography>\n )}\n <Divider sx={{ my: 0.625 }} />\n {content != null && (\n <Typography sx={{ color: 'text.secondary', fontSize: 11.5, lineHeight: 1.3 }}>\n {content}\n </Typography>\n )}\n </Box>\n\n <Stack spacing={0.625} role=\"group\" aria-label=\"Select page types\">\n {choices.map((choice) => {\n const isSelected = selectedPageTypes.has(choice.page_type);\n return (\n <Paper\n key={choice.classification_id}\n variant=\"outlined\"\n sx={mergeSx(\n {\n borderColor: isSelected ? '#A5B4FC' : '#E2E8F0',\n borderRadius: 2,\n bgcolor: isSelected ? '#F5F3FF' : '#FFFFFF',\n overflow: 'hidden',\n },\n styles?.option\n )}\n >\n <ButtonBase\n disabled={confirmDisabled}\n onClick={() => togglePageType(choice.page_type)}\n sx={{\n width: '100%',\n minHeight: 58,\n px: 0.75,\n py: 0.625,\n alignItems: 'flex-start',\n justifyContent: 'flex-start',\n textAlign: 'left',\n }}\n >\n <Checkbox\n checked={isSelected}\n tabIndex={-1}\n disableRipple\n inputProps={{ 'aria-label': choice.page_type }}\n sx={{ p: 0.25, mr: 0.625, pointerEvents: 'none' }}\n />\n <Box sx={{ minWidth: 0, pt: 0.125 }}>\n <Typography\n sx={{ color: 'text.primary', fontSize: 12.5, fontWeight: 500 }}\n >\n {choice.page_type === 'table' ? 'Table' : 'Drawing'}\n </Typography>\n <Typography\n sx={{ mt: 0.125, color: 'text.secondary', fontSize: 11, lineHeight: 1.35 }}\n >\n {getChoiceDescription(choice.page_type)}\n </Typography>\n </Box>\n </ButtonBase>\n </Paper>\n );\n })}\n </Stack>\n\n <Button\n variant=\"contained\"\n fullWidth\n disabled={isConfirmDisabled}\n onClick={() => onConfirm?.(Array.from(selectedPageTypes))}\n sx={mergeSx(\n {\n minHeight: 36,\n borderRadius: 2,\n bgcolor: '#5925DC',\n fontSize: 13,\n fontWeight: 600,\n textTransform: 'none',\n boxShadow: 'none',\n '&:hover': { bgcolor: '#4A1FB8', boxShadow: 'none' },\n '&.Mui-disabled': { bgcolor: '#D9D6FE', color: '#FFFFFF' },\n },\n styles?.confirmButton\n )}\n >\n Confirm\n </Button>\n\n {showCognitiveIntegrity && (\n <Stack spacing={0.625} sx={styles?.footer}>\n <Divider />\n <ButtonBase\n onClick={onCognitiveClick}\n disabled={!onCognitiveClick}\n sx={{\n width: '100%',\n justifyContent: 'space-between',\n borderRadius: 1,\n textAlign: 'left',\n }}\n >\n <Stack direction=\"row\" alignItems=\"center\" spacing={1}>\n <CognitiveIcon sx={{ color: 'text.secondary' }} />\n <Typography sx={{ color: 'text.primary', fontSize: 12 }}>\n Cognitive Integrity\n </Typography>\n </Stack>\n <Stack direction=\"row\" alignItems=\"center\" spacing={0.5}>\n <CognitiveScoreBadge score={cognitiveScore} />\n <ChevronRightIcon sx={{ color: 'text.secondary', fontSize: 18 }} />\n </Stack>\n </ButtonBase>\n </Stack>\n )}\n </Stack>\n </Paper>\n );\n}\n"],"names":["mergeSx","base","override","Array","isArray","PageTypeChoiceCheck","title","pageNo","content","choices","cognitiveScore","onConfirm","onCognitiveClick","onClose","showCognitiveIntegrity","showCloseButton","confirmDisabled","width","maxWidth","styles","selectedPageTypes","setSelectedPageTypes","useState","Set","isConfirmDisabled","size","jsx","Paper","elevation","sx","borderTop","borderColor","borderRadius","bgcolor","overflow","boxSizing","root","children","jsxs","Stack","spacing","p","direction","alignItems","header","InfoAlert","color","height","Typography","flex","fontSize","fontWeight","lineHeight","textTransform","IconButton","onClick","disabled","CloseIcon","Box","mt","Divider","my","role","map","choice","isSelected","has","page_type","variant","option","ButtonBase","togglePageType","pageType","current","next","delete","add","minHeight","px","py","justifyContent","textAlign","Checkbox","checked","tabIndex","disableRipple","inputProps","mr","pointerEvents","minWidth","pt","classification_id","Button","fullWidth","from","boxShadow","confirmButton","footer","CognitiveIcon","CognitiveScoreBadge","score","ChevronRightIcon"],"mappings":"onBAkBA,MAAMA,EAAU,CACdC,EACAC,IACmB,CACnBD,KACIE,MAAMC,QAAQF,GAAYA,EAAuB,MAAZA,EAAmB,GAAK,CAACA,IAiCpE,SAAwBG,GAAoBC,MAC1CA,EAAAC,OACAA,EAAAC,QACAA,EAAU,sCAAAC,QACVA,EAAAC,eACAA,EAAAC,UACAA,EAAAC,iBACAA,EAAAC,QACAA,EAAAC,uBACAA,GAAyB,EAAAC,gBACzBA,GAAkB,EAAAC,gBAClBA,GAAkB,EAAAC,MAClBA,EAAQ,IAAAC,SACRA,EAAW,IAAAC,OACXA,IAEM,MAACC,EAAmBC,GAAwBC,EAChD,QAAUC,KAENC,EAAoBR,IAAoBL,GAAwC,IAA3BS,EAAkBK,KAa3E,OAAAC,EAACC,EAAA,CACCC,UAAW,EACXC,GAAI7B,EACF,CACEiB,QACAC,WACAY,UAAW,YACXC,YAAa,aACbC,aAAc,EACdC,QAAS,mBACTC,SAAU,SACVC,UAAW,aACX,4BAA6B,CAAElB,MAAO,uBAExCE,GAAQiB,MAGVC,SAAAC,EAACC,GAAMC,QAAS,IAAMX,GAAI,CAAEY,EAAG,GAC7BJ,SAAA,CAACC,EAAAC,EAAA,CAAMG,UAAU,MAAMC,WAAW,SAASH,QAAS,IAAMX,GAAIV,GAAQyB,OACpEP,SAAA,CAAAX,EAACmB,GAAUC,MAAM,QAAQC,OAAQ,GAAI9B,MAAO,KAC5CS,EAACsB,EAAA,CACCnB,GAAI,CACFoB,KAAM,EACNH,MAAO,aACPI,S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ACwE,EAAc,CAAArE,GAAI,CAAEiB,MAAO,oBAC5BpB,EAACsB,GAAWnB,GAAI,CAAEiB,MAAO,eAAgBI,SAAU,IAAMb,SAEzD,6BAEDE,EAAM,CAAAG,UAAU,MAAMC,WAAW,SAASH,QAAS,GAClDH,SAAA,CAACX,EAAAyE,EAAA,CAAoBC,MAAO1F,IAC5BgB,EAAC2E,GAAiBxE,GAAI,CAAEiB,MAAO,iBAAkBI,SAAU,mBAQ3E"}
@@ -1,2 +1,2 @@
1
- import{__assign as e,__awaiter as r,__generator as t}from"tslib";import{jsxs as i,jsx as n}from"react/jsx-runtime";import{useState as o}from"react";import a from"@mui/material/Box";import l from"@mui/material/Button";import c from"@mui/material/ButtonBase";import d from"@mui/material/Divider";import s from"@mui/material/Stack";import h from"@mui/material/Tooltip";import m from"@mui/material/Typography";import{ChevronLeft as f}from"lucide-react";var u=function(e){var r=e.startPage,t=e.endPage;return"Pages ".concat(r,"-").concat(t)},x=function(r){var t=r.segment;return i(a,e({sx:{px:.75,py:.625,minWidth:0}},{children:[n(m,e({sx:{color:"text.secondary",fontSize:11,lineHeight:1.3,overflowWrap:"anywhere"}},{children:t.title})),n(m,e({sx:{color:"text.primary",fontSize:12,fontWeight:400,lineHeight:1.3}},{children:u(t)}))]}))};function p(u){var p=this,v=u.icon,y=u.title,C=u.pageRange,S=u.description,R=u.onRevert,w=u.onRevertComplete,W=u.onRevertError,F=u.revertData,z=u.confirmDisabled,k=void 0!==z&&z,H=u.showDocumentHeader,A=void 0===H||H,B=o(!1),E=B[0],D=B[1],T=o(!1),P=T[0],I=T[1],L=F.previousSegments.length>0,j=function(){return r(p,void 0,void 0,function(){var e,r;return t(this,function(t){switch(t.label){case 0:if(P||k)return[2];I(!0),t.label=1;case 1:return t.trys.push([1,3,4,5]),[4,R()];case 2:return e=t.sent(),null==w||w(e),[3,5];case 3:return r=t.sent(),null==W||W(r),[3,5];case 4:return I(!1),[7];case 5:return[2]}})})};return i(s,e({spacing:.875,sx:{minWidth:0}},{children:[A&&i(a,e({sx:{minWidth:0}},{children:[n(m,e({sx:{color:"text.primary",fontSize:14,fontWeight:500,lineHeight:1.4,overflowWrap:"anywhere"}},{children:y})),n(m,e({sx:{color:"text.secondary",fontSize:12,lineHeight:1.4}},{children:C}))]})),S&&i(s,e({direction:"row",alignItems:"flex-start",spacing:.625,sx:{px:.75,py:.625,border:"1px solid #86EFAC",borderRadius:2,bgcolor:"#FFFFFF",color:"#16A34A"}},{children:[n(a,e({"aria-hidden":"true",sx:{display:"flex",flexShrink:0,mt:"1px",fontSize:14}},{children:v})),n(m,e({sx:{minWidth:0,color:"inherit",fontSize:11,lineHeight:1.5,overflowWrap:"anywhere"}},{children:S}))]})),n(d,{sx:{borderStyle:"dashed",borderColor:"#CBD5E1"}}),E?i(s,e({spacing:.75},{children:[i(c,e({onClick:function(){return D(!1)},"aria-label":"Back from revert confirmation",sx:{width:"fit-content",borderRadius:.5,color:"text.primary",fontSize:13,fontWeight:500,lineHeight:1.3,textAlign:"left"}},{children:[n(a,e({component:"span","aria-hidden":"true",sx:{mr:.625,alignItems:"center",display:"flex"}},{children:n(f,{size:16})})),"Revert"]})),i(a,L?e({sx:{p:.75,borderRadius:1,bgcolor:"#F8FAFC"}},{children:[n(m,e({sx:{mb:.375,color:"text.secondary",fontSize:12}},{children:"Current"})),n(a,e({sx:{mb:.75,border:"1px solid #E2E8F0",borderRadius:1,bgcolor:"background.paper"}},{children:n(x,{segment:F.currentSegment})})),n(m,e({sx:{mb:.375,color:"text.secondary",fontSize:12}},{children:"After Revert"})),n(a,e({sx:{border:"1px solid #E2E8F0",borderRadius:1,bgcolor:"background.paper",overflow:"hidden"}},{children:F.previousSegments.map(function(e,r){return i(a,{children:[r>0&&n(d,{sx:{borderColor:"#E2E8F0"}}),n(x,{segment:e})]},"".concat(e.title,"-").concat(e.startPage,"-").concat(e.endPage,"-").concat(r))})})),i(s,e({direction:"row",spacing:1,sx:{mt:.875}},{children:[n(l,e({variant:"outlined",fullWidth:!0,disabled:P,onClick:function(){return D(!1)},sx:g},{children:"Cancel"})),n(h,e({title:k?"Revert data is not present, cannot revert this":"",disableHoverListener:!k,arrow:!0},{children:n("span",e({style:{flex:1}},{children:n(l,e({variant:"contained",fullWidth:!0,disabled:P||k,onClick:function(){j()},sx:b},{children:P?"Reverting…":"Confirm"}))}))}))]}))]}):e({sx:{p:.875,borderRadius:1,bgcolor:"#F8FAFC"}},{children:[n(m,e({sx:{color:"text.secondary",fontSize:12,fontWeight:500}},{children:"Revert approval?"})),n(m,e({sx:{mt:.75,color:"text.secondary",fontSize:13,lineHeight:1.45}},{children:"This document will be moved back to pending review and will need to be confirmed again."})),i(s,e({direction:"row",spacing:1,sx:{mt:1}},{children:[n(l,e({variant:"outlined",fullWidth:!0,disabled:P,onClick:function(){return D(!1)},sx:g},{children:"Cancel"})),n(h,e({title:k?"Revert data is not present, cannot revert this":"",disableHoverListener:!k,arrow:!0},{children:n("span",e({style:{flex:1}},{children:n(l,e({variant:"contained",fullWidth:!0,disabled:P||k,onClick:function(){j()},sx:b},{children:P?"Reverting…":"Confirm"}))}))}))]}))]}))]})):n(l,e({variant:"outlined",fullWidth:!0,onClick:function(){return D(!0)},sx:{minHeight:36,borderColor:"#9B8AFB",color:"#5925DC",borderRadius:2,fontSize:13,fontWeight:600,textTransform:"none","&:hover":{borderColor:"secondary.dark",bgcolor:"rgba(79, 70, 229, 0.04)"}}},{children:"Revert"}))]}))}var g={minHeight:34,borderColor:"#94A3B8",color:"#64748B",borderRadius:"8px",fontSize:12,fontWeight:500,textTransform:"none"},b={minHeight:34,borderRadius:"8px",bgcolor:"#4F46E5",fontSize:12,fontWeight:500,textTransform:"none",boxShadow:"none","&:hover":{bgcolor:"#4338CA",boxShadow:"none"}};export{p as default};
1
+ import{jsxs as e,jsx as r}from"react/jsx-runtime";import{useState as i}from"react";import o from"@mui/material/Box";import t from"@mui/material/Button";import n from"@mui/material/ButtonBase";import l from"@mui/material/Divider";import a from"@mui/material/Stack";import d from"@mui/material/Tooltip";import c from"@mui/material/Typography";import{ChevronLeft as s}from"lucide-react";const h=({startPage:e,endPage:r})=>`Pages ${e}-${r}`,m=({segment:i})=>e(o,{sx:{px:.75,py:.625,minWidth:0},children:[r(c,{sx:{color:"text.secondary",fontSize:11,lineHeight:1.3,overflowWrap:"anywhere"},children:i.title}),r(c,{sx:{color:"text.primary",fontSize:12,fontWeight:400,lineHeight:1.3},children:h(i)})]});function f({icon:h,title:f,pageRange:g,description:b,onRevert:u,onRevertComplete:v,onRevertError:y,revertData:C,confirmDisabled:S=!1,showDocumentHeader:R=!0}){const[w,W]=i(!1),[F,z]=i(!1),k=C.previousSegments.length>0,H=async()=>{if(!F&&!S){z(!0);try{const e=await u();v?.(e)}catch(e){y?.(e)}finally{z(!1)}}};return e(a,{spacing:.875,sx:{minWidth:0},children:[R&&e(o,{sx:{minWidth:0},children:[r(c,{sx:{color:"text.primary",fontSize:14,fontWeight:500,lineHeight:1.4,overflowWrap:"anywhere"},children:f}),r(c,{sx:{color:"text.secondary",fontSize:12,lineHeight:1.4},children:g})]}),b&&e(a,{direction:"row",alignItems:"flex-start",spacing:.625,sx:{px:.75,py:.625,border:"1px solid #86EFAC",borderRadius:2,bgcolor:"#FFFFFF",color:"#16A34A"},children:[r(o,{"aria-hidden":"true",sx:{display:"flex",flexShrink:0,mt:"1px",fontSize:14},children:h}),r(c,{sx:{minWidth:0,color:"inherit",fontSize:11,lineHeight:1.5,overflowWrap:"anywhere"},children:b})]}),r(l,{sx:{borderStyle:"dashed",borderColor:"#CBD5E1"}}),w?e(a,{spacing:.75,children:[e(n,{onClick:()=>W(!1),"aria-label":"Back from revert confirmation",sx:{width:"fit-content",borderRadius:.5,color:"text.primary",fontSize:13,fontWeight:500,lineHeight:1.3,textAlign:"left"},children:[r(o,{component:"span","aria-hidden":"true",sx:{mr:.625,alignItems:"center",display:"flex"},children:r(s,{size:16})}),"Revert"]}),e(o,k?{sx:{p:.75,borderRadius:1,bgcolor:"#F8FAFC"},children:[r(c,{sx:{mb:.375,color:"text.secondary",fontSize:12},children:"Current"}),r(o,{sx:{mb:.75,border:"1px solid #E2E8F0",borderRadius:1,bgcolor:"background.paper"},children:r(m,{segment:C.currentSegment})}),r(c,{sx:{mb:.375,color:"text.secondary",fontSize:12},children:"After Revert"}),r(o,{sx:{border:"1px solid #E2E8F0",borderRadius:1,bgcolor:"background.paper",overflow:"hidden"},children:C.previousSegments.map((i,t)=>e(o,{children:[t>0&&r(l,{sx:{borderColor:"#E2E8F0"}}),r(m,{segment:i})]},`${i.title}-${i.startPage}-${i.endPage}-${t}`))}),e(a,{direction:"row",spacing:1,sx:{mt:.875},children:[r(t,{variant:"outlined",fullWidth:!0,disabled:F,onClick:()=>W(!1),sx:x,children:"Cancel"}),r(d,{title:S?"Revert data is not present, cannot revert this":"",disableHoverListener:!S,arrow:!0,children:r("span",{style:{flex:1},children:r(t,{variant:"contained",fullWidth:!0,disabled:F||S,onClick:()=>{H()},sx:p,children:F?"Reverting…":"Confirm"})})})]})]}:{sx:{p:.875,borderRadius:1,bgcolor:"#F8FAFC"},children:[r(c,{sx:{color:"text.secondary",fontSize:12,fontWeight:500},children:"Revert approval?"}),r(c,{sx:{mt:.75,color:"text.secondary",fontSize:13,lineHeight:1.45},children:"This document will be moved back to pending review and will need to be confirmed again."}),e(a,{direction:"row",spacing:1,sx:{mt:1},children:[r(t,{variant:"outlined",fullWidth:!0,disabled:F,onClick:()=>W(!1),sx:x,children:"Cancel"}),r(d,{title:S?"Revert data is not present, cannot revert this":"",disableHoverListener:!S,arrow:!0,children:r("span",{style:{flex:1},children:r(t,{variant:"contained",fullWidth:!0,disabled:F||S,onClick:()=>{H()},sx:p,children:F?"Reverting…":"Confirm"})})})]})]})]}):r(t,{variant:"outlined",fullWidth:!0,onClick:()=>W(!0),sx:{minHeight:36,borderColor:"#9B8AFB",color:"#5925DC",borderRadius:2,fontSize:13,fontWeight:600,textTransform:"none","&:hover":{borderColor:"secondary.dark",bgcolor:"rgba(79, 70, 229, 0.04)"}},children:"Revert"})]})}const x={minHeight:34,borderColor:"#94A3B8",color:"#64748B",borderRadius:"8px",fontSize:12,fontWeight:500,textTransform:"none"},p={minHeight:34,borderRadius:"8px",bgcolor:"#4F46E5",fontSize:12,fontWeight:500,textTransform:"none",boxShadow:"none","&:hover":{bgcolor:"#4338CA",boxShadow:"none"}};export{f as default};
2
2
  //# sourceMappingURL=RevertCard.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"RevertCard.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"RevertCard.js","sources":["../../../src/features/SegmentReviewComponents/RevertCard.tsx"],"sourcesContent":["import { useState, type ReactNode } from 'react';\nimport Box from '@mui/material/Box';\nimport Button from '@mui/material/Button';\nimport ButtonBase from '@mui/material/ButtonBase';\nimport Divider from '@mui/material/Divider';\nimport Stack from '@mui/material/Stack';\nimport Tooltip from '@mui/material/Tooltip';\nimport Typography from '@mui/material/Typography';\nimport { ChevronLeft } from 'lucide-react';\n\nexport interface SegmentData {\n title: string;\n startPage: number;\n endPage: number;\n}\n\nexport interface RevertData {\n currentSegment: SegmentData;\n previousSegments: SegmentData[];\n}\n\n/** Value returned by the host after the revert request and refresh complete. */\nexport interface RevertActionResult {\n message?: string | null;\n}\n\nexport interface RevertCardProps {\n icon: ReactNode;\n title: string;\n pageRange: string;\n description: string | null;\n onRevert: () => void | RevertActionResult | Promise<void | RevertActionResult>;\n /** Called only after `onRevert` completes successfully. */\n onRevertComplete?: (result: void | RevertActionResult) => void;\n onRevertError?: (error: unknown) => void;\n revertData: RevertData;\n /** Prevent submission when the host cannot provide a valid revert request. */\n confirmDisabled?: boolean;\n /** Hide when the surrounding reviewed-card shell already renders it. */\n showDocumentHeader?: boolean;\n}\n\nconst formatPageRange = ({ startPage, endPage }: SegmentData) =>\n `Pages ${startPage}-${endPage}`;\n\nconst SegmentSummary = ({ segment }: { segment: SegmentData }) => (\n <Box sx={{ px: 0.75, py: 0.625, minWidth: 0 }}>\n <Typography\n sx={{\n color: 'text.secondary',\n fontSize: 11,\n lineHeight: 1.3,\n overflowWrap: 'anywhere',\n }}\n >\n {segment.title}\n </Typography>\n <Typography\n sx={{\n color: 'text.primary',\n fontSize: 12,\n fontWeight: 400,\n lineHeight: 1.3,\n }}\n >\n {formatPageRange(segment)}\n </Typography>\n </Box>\n);\n\n/**\n * Displays an approved action summary and reveals the appropriate revert\n * confirmation after the user selects Revert. An empty `previousSegments`\n * collection represents keep-as-is; structural changes provide the segments\n * that will be restored after reverting.\n */\nexport default function RevertCard({\n icon,\n title,\n pageRange,\n description,\n onRevert,\n onRevertComplete,\n onRevertError,\n revertData,\n confirmDisabled = false,\n showDocumentHeader = true,\n}: RevertCardProps) {\n const [isConfirming, setIsConfirming] = useState(false);\n const [isReverting, setIsReverting] = useState(false);\n const hasStructuralChanges = revertData.previousSegments.length > 0;\n const handleConfirm = async () => {\n if (isReverting || confirmDisabled) return;\n setIsReverting(true);\n\n try {\n const result = await onRevert();\n onRevertComplete?.(result);\n } catch (error) {\n onRevertError?.(error);\n } finally {\n setIsReverting(false);\n }\n };\n\n return (\n <Stack spacing={0.875} sx={{ minWidth: 0 }}>\n {showDocumentHeader && (\n <Box sx={{ minWidth: 0 }}>\n <Typography\n sx={{\n color: 'text.primary',\n fontSize: 14,\n fontWeight: 500,\n lineHeight: 1.4,\n overflowWrap: 'anywhere',\n }}\n >\n {title}\n </Typography>\n <Typography\n sx={{ color: 'text.secondary', fontSize: 12, lineHeight: 1.4 }}\n >\n {pageRange}\n </Typography>\n </Box>\n )}\n\n {description && <Stack\n direction=\"row\"\n alignItems=\"flex-start\"\n spacing={0.625}\n sx={{\n px: 0.75,\n py: 0.625,\n border: '1px solid #86EFAC',\n borderRadius: 2,\n bgcolor: '#FFFFFF',\n color: '#16A34A',\n }}\n >\n <Box\n aria-hidden=\"true\"\n sx={{ display: 'flex', flexShrink: 0, mt: '1px', fontSize: 14 }}\n >\n {icon}\n </Box>\n <Typography\n sx={{\n minWidth: 0,\n color: 'inherit',\n fontSize: 11,\n lineHeight: 1.5,\n overflowWrap: 'anywhere',\n }}\n >\n {description}\n </Typography>\n </Stack>}\n\n <Divider sx={{ borderStyle: 'dashed', borderColor: '#CBD5E1' }} />\n\n {!isConfirming ? (\n <Button\n variant=\"outlined\"\n fullWidth\n onClick={() => setIsConfirming(true)}\n sx={{\n minHeight: 36,\n borderColor: '#9B8AFB',\n color: '#5925DC',\n borderRadius: 2,\n fontSize: 13,\n fontWeight: 600,\n textTransform: 'none',\n '&:hover': {\n borderColor: 'secondary.dark',\n bgcolor: 'rgba(79, 70, 229, 0.04)',\n },\n }}\n >\n Revert\n </Button>\n ) : (\n <Stack spacing={0.75}>\n <ButtonBase\n onClick={() => setIsConfirming(false)}\n aria-label=\"Back from revert confirmation\"\n sx={{\n width: 'fit-content',\n borderRadius: 0.5,\n color: 'text.primary',\n fontSize: 13,\n fontWeight: 500,\n lineHeight: 1.3,\n textAlign: 'left',\n }}\n >\n <Box component=\"span\" aria-hidden=\"true\" sx={{ mr: 0.625, alignItems :'center', display: \"flex\" }}>\n <ChevronLeft size={16} />\n </Box>\n Revert\n </ButtonBase>\n\n {hasStructuralChanges ? (\n <Box\n sx={{\n p: 0.75,\n borderRadius: 1,\n bgcolor: '#F8FAFC',\n }}\n >\n <Typography sx={{ mb: 0.375, color: 'text.secondary', fontSize: 12 }}>\n Current\n </Typography>\n <Box\n sx={{\n mb: 0.75,\n border: '1px solid #E2E8F0',\n borderRadius: 1,\n bgcolor: 'background.paper',\n }}\n >\n <SegmentSummary segment={revertData.currentSegment} />\n </Box>\n\n <Typography sx={{ mb: 0.375, color: 'text.secondary', fontSize: 12 }}>\n After Revert\n </Typography>\n <Box\n sx={{\n border: '1px solid #E2E8F0',\n borderRadius: 1,\n bgcolor: 'background.paper',\n overflow: 'hidden',\n }}\n >\n {revertData.previousSegments.map((segment, index) => (\n <Box key={`${segment.title}-${segment.startPage}-${segment.endPage}-${index}`}>\n {index > 0 && <Divider sx={{ borderColor: '#E2E8F0' }} />}\n <SegmentSummary segment={segment} />\n </Box>\n ))}\n </Box>\n\n <Stack direction=\"row\" spacing={1} sx={{ mt: 0.875 }}>\n <Button\n variant=\"outlined\"\n fullWidth\n disabled={isReverting}\n onClick={() => setIsConfirming(false)}\n sx={confirmationButtonSx}\n >\n Cancel\n </Button>\n <Tooltip\n title={confirmDisabled ? 'Revert data is not present, cannot revert this' : ''}\n disableHoverListener={!confirmDisabled}\n arrow\n >\n <span style={{ flex: 1 }}>\n <Button\n variant=\"contained\"\n fullWidth\n disabled={isReverting || confirmDisabled}\n onClick={() => { void handleConfirm(); }}\n sx={confirmButtonSx}\n >\n {isReverting ? 'Reverting…' : 'Confirm'}\n </Button>\n </span>\n </Tooltip>\n </Stack>\n </Box>\n ) : (\n <Box\n sx={{\n p: 0.875,\n borderRadius: 1,\n bgcolor: '#F8FAFC',\n }}\n >\n <Typography\n sx={{ color: 'text.secondary', fontSize: 12, fontWeight: 500 }}\n >\n Revert approval?\n </Typography>\n <Typography\n sx={{ mt: 0.75, color: 'text.secondary', fontSize: 13, lineHeight: 1.45 }}\n >\n This document will be moved back to pending review and will need\n to be confirmed again.\n </Typography>\n <Stack direction=\"row\" spacing={1} sx={{ mt: 1 }}>\n <Button\n variant=\"outlined\"\n fullWidth\n disabled={isReverting}\n onClick={() => setIsConfirming(false)}\n sx={confirmationButtonSx}\n >\n Cancel\n </Button>\n <Tooltip\n title={confirmDisabled ? 'Revert data is not present, cannot revert this' : ''}\n disableHoverListener={!confirmDisabled}\n arrow\n >\n <span style={{ flex: 1 }}>\n <Button\n variant=\"contained\"\n fullWidth\n disabled={isReverting || confirmDisabled}\n onClick={() => { void handleConfirm(); }}\n sx={confirmButtonSx}\n >\n {isReverting ? 'Reverting…' : 'Confirm'}\n </Button>\n </span>\n </Tooltip>\n </Stack>\n </Box>\n )}\n </Stack>\n )}\n </Stack>\n );\n}\n\nconst confirmationButtonSx = {\n minHeight: 34,\n borderColor: '#94A3B8',\n color: '#64748B',\n borderRadius: \"8px\",\n fontSize: 12,\n fontWeight: 500,\n textTransform: 'none',\n};\n\nconst confirmButtonSx = {\n minHeight: 34,\n borderRadius: \"8px\",\n bgcolor: '#4F46E5',\n fontSize: 12,\n fontWeight: 500,\n textTransform: 'none',\n boxShadow: 'none',\n '&:hover': { bgcolor: '#4338CA', boxShadow: 'none' },\n};\n"],"names":["formatPageRange","startPage","endPage","SegmentSummary","segment","jsxs","Box","sx","px","py","minWidth","children","jsx","Typography","color","fontSize","lineHeight","overflowWrap","title","fontWeight","RevertCard","icon","pageRange","description","onRevert","onRevertComplete","onRevertError","revertData","confirmDisabled","showDocumentHeader","isConfirming","setIsConfirming","useState","isReverting","setIsReverting","hasStructuralChanges","previousSegments","length","handleConfirm","async","result","error","Stack","spacing","direction","alignItems","border","borderRadius","bgcolor","display","flexShrink","mt","Divider","borderStyle","borderColor","ButtonBase","onClick","width","textAlign","component","mr","ChevronLeft","size","p","mb","currentSegment","overflow","map","index","Button","variant","fullWidth","disabled","confirmationButtonSx","Tooltip","disableHoverListener","arrow","style","flex","confirmButtonSx","minHeight","textTransform","boxShadow"],"mappings":"gYA0CA,MAAMA,EAAkB,EAAGC,YAAWC,aACpC,SAASD,KAAaC,IAElBC,EAAiB,EAAGC,aACvBC,EAAAC,EAAA,CAAIC,GAAI,CAAEC,GAAI,IAAMC,GAAI,KAAOC,SAAU,GACxCC,SAAA,CAAAC,EAACC,EAAA,CACCN,GAAI,CACFO,MAAO,iBACPC,SAAU,GACVC,WAAY,IACZC,aAAc,YAGfN,SAAQP,EAAAc,QAEXN,EAACC,EAAA,CACCN,GAAI,CACFO,MAAO,eACPC,SAAU,GACVI,WAAY,IACZH,WAAY,KAGbL,WAAgBP,QAWvB,SAAwBgB,GAAWC,KACjCA,EAAAH,MACAA,EAAAI,UACAA,EAAAC,YACAA,EAAAC,SACAA,EAAAC,iBACAA,EAAAC,cACAA,EAAAC,WACAA,EAAAC,gBACAA,GAAkB,EAAAC,mBA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MACdhC,SAAU,GACVI,WAAY,IACZ8D,cAAe,QAGXF,EAAkB,CACtBC,UAAW,GACXjC,aAAc,MACdC,QAAS,UACTjC,SAAU,GACVI,WAAY,IACZ8D,cAAe,OACfC,UAAW,OACX,UAAW,CAAElC,QAAS,UAAWkC,UAAW"}
@@ -1,2 +1,2 @@
1
- import{__assign as r}from"tslib";import{jsx as i,jsxs as o}from"react/jsx-runtime";import e from"@mui/icons-material/ArrowForward";import t from"@mui/material/Box";import l from"@mui/material/Button";import n from"@mui/material/Paper";import m from"@mui/material/Stack";import a from"@mui/material/Typography";import{CheckCircleIcon as d}from"lucide-react";function c(c){var s=c.title,h=c.description,p=c.onReview,u=c.reviewLabel,F=void 0===u?"Review":u;return i(n,r({elevation:0,role:"status",sx:{width:"100%",px:1.5,py:1.5,border:"1.5px solid #86EFAC",borderRadius:2,bgcolor:"#F0FDF4",boxSizing:"border-box"}},{children:o(m,r({alignItems:"center",spacing:1.5,sx:{textAlign:"center"}},{children:[i(t,r({sx:{display:"grid",placeItems:"center",width:58,height:58,border:"8px solid rgba(255, 255, 255, 0.9)",borderRadius:"50%",bgcolor:"#DCFCE7",color:"#0A9B49"}},{children:i(d,{height:36,width:36})})),o(t,{children:[i(a,r({sx:{color:"#166534",fontSize:15,fontWeight:600,lineHeight:1.4}},{children:s})),h?i(a,r({sx:{mt:.75,color:"#07883F",fontSize:14,lineHeight:1.55}},{children:h})):null]}),i(l,r({variant:"outlined",fullWidth:!0,onClick:p,endIcon:i(e,{}),sx:{minHeight:42,border:"1.5px solid #CBD5E1",borderRadius:2,bgcolor:"#FFFFFF",color:"#475569",fontSize:16,fontWeight:700,textTransform:"none","&:hover":{borderColor:"#94A3B8",bgcolor:"#FFFFFF"}}},{children:F}))]}))}))}export{c as default};
1
+ import{jsx as r,jsxs as i}from"react/jsx-runtime";import o from"@mui/icons-material/ArrowForward";import e from"@mui/material/Box";import t from"@mui/material/Button";import l from"@mui/material/Paper";import n from"@mui/material/Stack";import a from"@mui/material/Typography";import{CheckCircleIcon as m}from"lucide-react";function d({title:d,description:c,onReview:s,reviewLabel:h="Review"}){return r(l,{elevation:0,role:"status",sx:{width:"100%",px:1.5,py:1.5,border:"1.5px solid #86EFAC",borderRadius:2,bgcolor:"#F0FDF4",boxSizing:"border-box"},children:i(n,{alignItems:"center",spacing:1.5,sx:{textAlign:"center"},children:[r(e,{sx:{display:"grid",placeItems:"center",width:58,height:58,border:"8px solid rgba(255, 255, 255, 0.9)",borderRadius:"50%",bgcolor:"#DCFCE7",color:"#0A9B49"},children:r(m,{height:36,width:36})}),i(e,{children:[r(a,{sx:{color:"#166534",fontSize:15,fontWeight:600,lineHeight:1.4},children:d}),c?r(a,{sx:{mt:.75,color:"#07883F",fontSize:14,lineHeight:1.55},children:c}):null]}),r(t,{variant:"outlined",fullWidth:!0,onClick:s,endIcon:r(o,{}),sx:{minHeight:42,border:"1.5px solid #CBD5E1",borderRadius:2,bgcolor:"#FFFFFF",color:"#475569",fontSize:16,fontWeight:700,textTransform:"none","&:hover":{borderColor:"#94A3B8",bgcolor:"#FFFFFF"}},children:h})]})})}export{d as default};
2
2
  //# sourceMappingURL=RevertSuccessCard.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"RevertSuccessCard.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"RevertSuccessCard.js","sources":["../../../src/features/SegmentReviewComponents/RevertSuccessCard.tsx"],"sourcesContent":["import type { ReactNode } from 'react';\nimport ArrowForwardIcon from '@mui/icons-material/ArrowForward';\nimport CheckCircleOutlineIcon from '@mui/icons-material/CheckCircleOutline';\nimport Box from '@mui/material/Box';\nimport Button from '@mui/material/Button';\nimport Paper from '@mui/material/Paper';\nimport Stack from '@mui/material/Stack';\nimport Typography from '@mui/material/Typography';\nimport { CheckCircleIcon } from 'lucide-react';\n\nexport interface RevertSuccessCardProps {\n title: ReactNode;\n description: ReactNode;\n onReview: () => void;\n reviewLabel?: ReactNode;\n}\n\nexport default function RevertSuccessCard({\n title,\n description,\n onReview,\n reviewLabel = 'Review',\n}: RevertSuccessCardProps) {\n return (\n <Paper\n elevation={0}\n role=\"status\"\n sx={{\n width: '100%',\n px: 1.5,\n py: 1.5,\n border: '1.5px solid #86EFAC',\n borderRadius: 2,\n bgcolor: '#F0FDF4',\n boxSizing: 'border-box',\n }}\n >\n <Stack alignItems=\"center\" spacing={1.5} sx={{ textAlign: 'center' }}>\n <Box\n sx={{\n display: 'grid',\n placeItems: 'center',\n width: 58,\n height: 58,\n border: '8px solid rgba(255, 255, 255, 0.9)',\n borderRadius: '50%',\n bgcolor: '#DCFCE7',\n color: '#0A9B49',\n }}\n >\n <CheckCircleIcon height={36} width={36} />\n </Box>\n\n <Box>\n <Typography\n sx={{ color: '#166534', fontSize: 15, fontWeight: 600, lineHeight: 1.4 }}\n >\n {title}\n </Typography>\n {description ? (\n <Typography\n sx={{ mt: 0.75, color: '#07883F', fontSize: 14, lineHeight: 1.55 }}\n >\n {description}\n </Typography>\n ) : null}\n </Box>\n\n <Button\n variant=\"outlined\"\n fullWidth\n onClick={onReview}\n endIcon={<ArrowForwardIcon />}\n sx={{\n minHeight: 42,\n border: '1.5px solid #CBD5E1',\n borderRadius: 2,\n bgcolor: '#FFFFFF',\n color: '#475569',\n fontSize: 16,\n fontWeight: 700,\n textTransform: 'none',\n '&:hover': { borderColor: '#94A3B8', bgcolor: '#FFFFFF' },\n }}\n >\n {reviewLabel}\n </Button>\n </Stack>\n </Paper>\n );\n}\n"],"names":["RevertSuccessCard","title","description","onReview","reviewLabel","jsx","Paper","elevation","role","sx","width","px","py","border","borderRadius","bgcolor","boxSizing","children","jsxs","Stack","alignItems","spacing","textAlign","Box","display","placeItems","height","color","CheckCircleIcon","Typography","fontSize","fontWeight","lineHeight","mt","Button","variant","fullWidth","onClick","endIcon","ArrowForwardIcon","minHeight","textTransform","borderColor"],"mappings":"oUAiBA,SAAwBA,GAAkBC,MACxCA,EAAAC,YACAA,EAAAC,SACAA,EAAAC,YACAA,EAAc,WAGZ,OAAAC,EAACC,EAAA,CACCC,UAAW,EACXC,KAAK,SACLC,GAAI,CACFC,MAAO,OACPC,GAAI,IACJC,GAAI,IACJC,OAAQ,sBACRC,aAAc,EACdC,QAAS,UACTC,UAAW,cAGbC,SAAAC,EAACC,EAAM,CAAAC,WAAW,SAASC,QAAS,IAAKZ,GAAI,CAAEa,UAAW,UACxDL,SAAA,CAAAZ,EAACkB,EAAA,CACCd,GAAI,CACFe,QAAS,OACTC,WAAY,SACZf,MAAO,GACPgB,OAAQ,GACRb,OAAQ,qCACRC,aAAc,MACdC,QAAS,UACTY,MAAO,WAGTV,SAACZ,EAAAuB,EAAA,CAAgBF,OAAQ,GAAIhB,MAAO,SAGrCa,EACC,CAAAN,SAAA,CAAAZ,EAACwB,EAAA,CACCpB,GAAI,CAAEkB,MAAO,UAAWG,SAAU,GAAIC,WAAY,IAAKC,WAAY,KAElEf,SAAAhB,IAEFC,EACCG,EAACwB,EAAA,CACCpB,GAAI,CAAEwB,GAAI,IAAMN,MAAO,UAAWG,SAAU,GAAIE,WAAY,MAE3Df,SAAAf,IAED,QAGNG,EAAC6B,EAAA,CACCC,QAAQ,WACRC,WAAS,EACTC,QAASlC,EACTmC,UAAUC,EAAiB,IAC3B9B,GAAI,CACF+B,UAAW,GACX3B,OAAQ,sBACRC,aAAc,EACdC,QAAS,UACTY,MAAO,UACPG,SAAU,GACVC,WAAY,IACZU,cAAe,OACf,UAAW,CAAEC,YAAa,UAAW3B,QAAS,YAG/CE,SAAAb,QAKX"}
@@ -1,2 +1,2 @@
1
- import{__assign as r}from"tslib";import{jsxs as o,jsx as e}from"react/jsx-runtime";import i from"@mui/material/Box";import t from"@mui/material/Typography";import{GitMerge as l}from"lucide-react";function a(a){var m=a.children;return o(i,r({sx:{display:"flex",alignItems:"flex-start",gap:1,px:1,py:1.125,border:"1px solid #FACC15",borderRadius:1.5,bgcolor:"#FFFBEB",color:"#D18A00"}},{children:[e(l,{size:18,strokeWidth:2.25,style:{flex:"0 0 auto",marginTop:1}}),e(t,r({component:"div",sx:{color:"inherit",fontSize:12,lineHeight:1.5,overflowWrap:"anywhere"}},{children:m}))]}))}export{a as default};
1
+ import{jsxs as r,jsx as e}from"react/jsx-runtime";import o from"@mui/material/Box";import i from"@mui/material/Typography";import{GitMerge as t}from"lucide-react";function l({children:l}){return r(o,{sx:{display:"flex",alignItems:"flex-start",gap:1,px:1,py:1.125,border:"1px solid #FACC15",borderRadius:1.5,bgcolor:"#FFFBEB",color:"#D18A00"},children:[e(t,{size:18,strokeWidth:2.25,style:{flex:"0 0 auto",marginTop:1}}),e(i,{component:"div",sx:{color:"inherit",fontSize:12,lineHeight:1.5,overflowWrap:"anywhere"},children:l})]})}export{l as default};
2
2
  //# sourceMappingURL=RevertSummaryNotice.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"RevertSummaryNotice.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"RevertSummaryNotice.js","sources":["../../../src/features/SegmentReviewComponents/RevertSummaryNotice.tsx"],"sourcesContent":["import type { ReactNode } from 'react';\nimport Box from '@mui/material/Box';\nimport Typography from '@mui/material/Typography';\nimport { GitMerge } from 'lucide-react';\n\nexport interface RevertSummaryNoticeProps {\n children: ReactNode;\n}\n\n/** Operation summary shown in place of the normal review-step question. */\nexport default function RevertSummaryNotice({\n children,\n}: RevertSummaryNoticeProps) {\n return (\n <Box\n sx={{\n display: 'flex',\n alignItems: 'flex-start',\n gap: 1,\n px: 1,\n py: 1.125,\n border: '1px solid #FACC15',\n borderRadius: 1.5,\n bgcolor: '#FFFBEB',\n color: '#D18A00',\n }}\n >\n <GitMerge size={18} strokeWidth={2.25} style={{ flex: '0 0 auto', marginTop: 1 }} />\n <Typography\n component=\"div\"\n sx={{ color: 'inherit', fontSize: 12, lineHeight: 1.5, overflowWrap: 'anywhere' }}\n >\n {children}\n </Typography>\n </Box>\n );\n}\n"],"names":["RevertSummaryNotice","children","jsxs","Box","sx","display","alignItems","gap","px","py","border","borderRadius","bgcolor","color","jsx","GitMerge","size","strokeWidth","style","flex","marginTop","Typography","component","fontSize","lineHeight","overflowWrap"],"mappings":"mKAUA,SAAwBA,GAAoBC,SAC1CA,IAGE,OAAAC,EAACC,EAAA,CACCC,GAAI,CACFC,QAAS,OACTC,WAAY,aACZC,IAAK,EACLC,GAAI,EACJC,GAAI,MACJC,OAAQ,oBACRC,aAAc,IACdC,QAAS,UACTC,MAAO,WAGTZ,SAAA,CAACa,EAAAC,EAAA,CAASC,KAAM,GAAIC,YAAa,KAAMC,MAAO,CAAEC,KAAM,WAAYC,UAAW,KAC7EN,EAACO,EAAA,CACCC,UAAU,MACVlB,GAAI,CAAES,MAAO,UAAWU,SAAU,GAAIC,WAAY,IAAKC,aAAc,YAEpExB,eAIT"}
@@ -1,2 +1,2 @@
1
- import{__assign as e}from"tslib";import{jsxs as i,jsx as t}from"react/jsx-runtime";import{useMemo as r,useState as o}from"react";import n from"@mui/icons-material/ExpandMore";import l from"@mui/material/Box";import d from"@mui/material/Button";import a from"@mui/material/ButtonBase";import s from"@mui/material/Divider";import c from"@mui/material/Paper";import u from"@mui/material/Radio";import m from"@mui/material/Stack";import p from"@mui/material/TextField";import f from"@mui/material/Typography";import{BoundaryReviewActionEnum as h}from"./BoundaryCard.js";import x from"../../assests/icons/InfoAlert.js";var g="MERGE_ADJACENT",b=function(e){return(null==e?void 0:e.additional_decisions)?Array.from(new Set(Object.values(e.additional_decisions).flat())).filter(function(e){return Object.values(h).includes(e)}):[]};function E(E){var C=E.metadata,F=E.reviewAction,v=E.startPage,S=E.endPage,A=E.title,R=void 0===A?"this document":A,y=E.previousSegmentTitle,w=E.nextSegmentTitle,M=E.disabled,T=void 0!==M&&M,z=E.onConfirm,I=r(function(){return b(F)},[F]),_=r(function(){return function(e,i,t,r){var o=i.focus_page,n=null!=o&&o===t,l=null!=o&&(o===r||o===r+1),d=[];if(e.some(function(e){return e.includes("MERGE")})&&d.push(t===r||!n&&!l?{id:g,title:"Merge with an adjacent document",description:"Choose to merge with the previous or next document."}:n?{id:h.MERGE_PREVIOUS,title:"Merge with previous document",description:"Combine this document with the previous document."}:{id:h.MERGE_NEXT,title:"Merge with next document",description:"Combine this document with the next document."}),e.includes(h.SPLIT_HERE)){var a=null!=o&&o>t&&o<r;d.push({id:h.SPLIT_HERE,title:"Split to a separate document",description:a?"Start a new document at page ".concat(o,"."):"A valid page inside the document is required to split it.",disabled:!a})}return d}(I,C,v,S)},[I,S,C,v]),G=o(null),W=G[0],D=G[1],N=o(null),P=N[0],k=N[1],B=o(String(v)),j=B[0],H=B[1],O=o(String(S)),U=O[0],V=O[1],X=o(!1),L=X[0],q=X[1],J=o(!1),$=J[0],K=J[1],Q=I.includes(h.SET_RANGE);if(0===_.length&&!Q)return null;var Y=null==W?void 0:_[W],Z=(null==Y?void 0:Y.id)===g,ee=null!=y,ie=null!=w,te=function(e){return!0===e.disabled||e.id===h.MERGE_PREV&&!ee||e.id===h.MERGE_PREVIOUS&&!ee||e.id===h.MERGE_NEXT&&!ie||e.id===g&&!ee&&!ie},re=Number(j),oe=Number(U),ne=""!==j.trim()&&""!==U.trim()&&Number.isInteger(re)&&Number.isInteger(oe)&&re>0&&re<=oe,le=T||!Y||te(Y)||Z&&null==P;return i(m,e({spacing:.75},{children:[t(s,{}),t(f,e({sx:{color:"text.primary",fontSize:12,fontWeight:600}},{children:"Additional actions"})),t(m,e({spacing:.625,role:"radiogroup","aria-label":"Additional boundary actions"},{children:_.map(function(r,o){var n=W===o,d=te(r);return i(c,e({variant:"outlined",sx:{borderColor:n?"#7F56D9":"divider",borderRadius:2,bgcolor:d?"#F8FAFC":"background.paper",overflow:"hidden"}},{children:[i(a,e({role:"radio","aria-checked":n,disabled:T||d,onClick:function(){D(o),r.id!==g&&k(null)},sx:{width:"100%",justifyContent:"flex-start",px:.75,py:.5,textAlign:"left"}},{children:[t(u,{checked:n,disabled:T||d,tabIndex:-1,size:"small",sx:{p:.25,mr:.5}}),i(l,e({sx:{minWidth:0}},{children:[t(f,e({sx:{color:d?"#94A3B8":"text.primary",fontSize:12.5,fontWeight:500}},{children:r.title})),null!=r.description&&t(f,e({sx:{mt:.125,color:d?"#94A3B8":"text.secondary",fontSize:11}},{children:r.description}))]}))]})),n&&Z&&t(m,e({direction:"row",spacing:.75,sx:{px:.75,pb:.75}},{children:[["previous",null!=y?y:"No previous document",ee],["next",null!=w?w:"No next document",ie]].map(function(i){var r=i[0],o=i[1],n=i[2];return t(a,e({disabled:T||!n,onClick:function(){return k(r)},"aria-pressed":P===r,sx:{flex:1,minWidth:0,minHeight:42,alignItems:"flex-start",justifyContent:"flex-start",p:.625,border:"1px solid",borderColor:P===r?"#7F56D9":"#D0D5DD",borderRadius:1.5,color:n?"text.primary":"#98A2B3",textAlign:"left"}},{children:t(f,e({sx:{color:"inherit",fontSize:11,fontWeight:500,overflowWrap:"anywhere"}},{children:o}))}),r)})}))]}),r.id)})})),t(d,e({variant:"contained",fullWidth:!0,disabled:le,onClick:function(){if(!le&&Y&&null!=W){var i=Z?"previous"===P?h.MERGE_PREVIOUS:h.MERGE_NEXT:Y.id;z(i,{selectedIndex:W,option:e(e({},Y),{id:i}),metadata:C})}},sx:{minHeight:32,borderRadius:2,bgcolor:"#5925DC",fontSize:13,fontWeight:600,textTransform:"none","&:hover":{bgcolor:"#4A1FB8"}}},{children:"Confirm"})),Q&&i(m,e({spacing:.625},{children:[i(a,e({disabled:T,onClick:function(){var e=!L;q(e),K(!1),e&&(D(null),k(null))},"aria-expanded":L,sx:{width:"100%",justifyContent:"space-between",borderRadius:1,textAlign:"left"}},{children:[t(f,e({sx:{color:"text.primary",fontSize:12,fontWeight:600}},{children:"Set a custom boundary"})),t(n,{sx:{color:"text.secondary",fontSize:16,transform:L?"rotate(180deg)":"none",transition:"transform 150ms ease"}})]})),L&&!$&&i(l,e({sx:{pt:.5,fontFamily:'Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif'}},{children:[i(l,e({sx:{display:"grid",gridTemplateColumns:"1fr 1fr",columnGap:"8px",mb:"4px"}},{children:[t(f,e({sx:{fontSize:"10.5px",lineHeight:"14px",color:"#57697E"}},{children:"Starts"})),t(f,e({sx:{fontSize:"10.5px",lineHeight:"14px",color:"#57697E"}},{children:"Ends"}))]})),t(l,e({sx:{display:"grid",gridTemplateColumns:"1fr 1fr",columnGap:"8px",mb:"4px"}},{children:[[j,H],[U,V]].map(function(e,i){var r=e[0],o=e[1];return t(p,{size:"small",type:"text",value:r,disabled:T,error:1===i&&""!==j.trim()&&""!==U.trim()&&re>oe,onChange:function(e){return/^\d*$/.test(e.target.value)&&o(e.target.value)},inputProps:{inputMode:"numeric",pattern:"[0-9]*"},sx:{"& .MuiOutlinedInput-root":{height:"30px",bgcolor:"#FFFFFF","& fieldset":{borderColor:"#C3CFDC",borderRadius:"6px"},"&:hover fieldset":{borderColor:"#C3CFDC"},"&.Mui-focused fieldset":{borderColor:"#9488F6",borderWidth:"1px"}},"& .MuiOutlinedInput-input":{height:"30px",p:"0 10px",color:"#34445A",fontSize:"12px"}}},0===i?"starts":"ends")})})),t(d,e({onClick:function(){return K(!0)},disabled:T||!ne,sx:{height:"30px",px:"12px",bgcolor:"#FFFFFF",border:"1px solid #8E80F3",borderRadius:"6px",color:"#4A24CF",fontSize:"12px",fontWeight:600,textTransform:"none","&:hover":{bgcolor:"#FAF9FF",borderColor:"#7F6FF0"},"&.Mui-disabled":{bgcolor:"#FFFFFF",borderColor:"#C3CFDC",color:"#A0ABBE"}}},{children:"Apply"})),t(l,{sx:{width:"100%",height:"1px",mt:"8px",bgcolor:"#EEF0F2"}})]})),L&&$&&i(m,e({spacing:.75,sx:{p:.75,borderRadius:1.5,bgcolor:"#FFF7ED"}},{children:[i(m,e({direction:"row",alignItems:"center",spacing:.5},{children:[t(x,{color:"warning",height:14,width:14}),t(f,e({sx:{color:"#EA580C",fontSize:11,fontWeight:600}},{children:"Confirm this change?"}))]})),i(f,e({sx:{color:"text.secondary",fontSize:10.5,lineHeight:1.4}},{children:["Pages ",re,"-",oe," will become part of ",R,", including pages from other documents in this range."]})),i(m,e({direction:"row",spacing:.75},{children:[t(d,e({variant:"outlined",fullWidth:!0,onClick:function(){return K(!1)},sx:{minHeight:28,borderRadius:1.5,fontSize:11,textTransform:"none"}},{children:"Cancel"})),t(d,e({variant:"contained",fullWidth:!0,disabled:T,onClick:function(){if(!T&&ne){var e={id:h.SET_RANGE,title:"Set a custom boundary"};z(h.SET_RANGE,{selectedIndex:-1,option:e,metadata:C,startPage:re,endPage:oe})}},sx:{minHeight:28,borderRadius:1.5,bgcolor:"#EA580C",fontSize:11,textTransform:"none","&:hover":{bgcolor:"#C2410C"}}},{children:"Confirm"}))]}))]}))]}))]}))}export{E as default,b as getAdditionalBoundaryActions};
1
+ import{jsxs as e,jsx as i}from"react/jsx-runtime";import{useMemo as t,useState as r}from"react";import o from"@mui/icons-material/ExpandMore";import n from"@mui/material/Box";import l from"@mui/material/Button";import d from"@mui/material/ButtonBase";import a from"@mui/material/Divider";import s from"@mui/material/Paper";import c from"@mui/material/Radio";import m from"@mui/material/Stack";import u from"@mui/material/TextField";import p from"@mui/material/Typography";import{BoundaryReviewActionEnum as h}from"./BoundaryCard.js";import x from"../../assests/icons/InfoAlert.js";const f="MERGE_ADJACENT",g=e=>e?.additional_decisions?Array.from(new Set(Object.values(e.additional_decisions).flat())).filter(e=>Object.values(h).includes(e)):[];function b({metadata:b,reviewAction:E,startPage:C,endPage:F,title:S="this document",previousSegmentTitle:A,nextSegmentTitle:R,disabled:v=!1,onConfirm:y}){const w=t(()=>g(E),[E]),M=t(()=>((e,i,t,r)=>{const o=i.focus_page,n=null!=o&&o===t,l=null!=o&&(o===r||o===r+1),d=[];if(e.some(e=>e.includes("MERGE"))&&d.push(t===r||!n&&!l?{id:f,title:"Merge with an adjacent document",description:"Choose to merge with the previous or next document."}:n?{id:h.MERGE_PREVIOUS,title:"Merge with previous document",description:"Combine this document with the previous document."}:{id:h.MERGE_NEXT,title:"Merge with next document",description:"Combine this document with the next document."}),e.includes(h.SPLIT_HERE)){const e=null!=o&&o>t&&o<r;d.push({id:h.SPLIT_HERE,title:"Split to a separate document",description:e?`Start a new document at page ${o}.`:"A valid page inside the document is required to split it.",disabled:!e})}return d})(w,b,C,F),[w,F,b,C]),[T,z]=r(null),[I,_]=r(null),[G,W]=r(String(C)),[D,N]=r(String(F)),[P,k]=r(!1),[B,j]=r(!1),H=w.includes(h.SET_RANGE);if(0===M.length&&!H)return null;const O=null==T?void 0:M[T],U=O?.id===f,V=null!=A,X=null!=R,L=e=>!0===e.disabled||e.id===h.MERGE_PREV&&!V||e.id===h.MERGE_PREVIOUS&&!V||e.id===h.MERGE_NEXT&&!X||e.id===f&&!V&&!X,$=Number(G),q=Number(D),J=""!==G.trim()&&""!==D.trim()&&Number.isInteger($)&&Number.isInteger(q)&&$>0&&$<=q,K=v||!O||L(O)||U&&null==I;return e(m,{spacing:.75,children:[i(a,{}),i(p,{sx:{color:"text.primary",fontSize:12,fontWeight:600},children:"Additional actions"}),i(m,{spacing:.625,role:"radiogroup","aria-label":"Additional boundary actions",children:M.map((t,r)=>{const o=T===r,l=L(t);return e(s,{variant:"outlined",sx:{borderColor:o?"#7F56D9":"divider",borderRadius:2,bgcolor:l?"#F8FAFC":"background.paper",overflow:"hidden"},children:[e(d,{role:"radio","aria-checked":o,disabled:v||l,onClick:()=>{z(r),t.id!==f&&_(null)},sx:{width:"100%",justifyContent:"flex-start",px:.75,py:.5,textAlign:"left"},children:[i(c,{checked:o,disabled:v||l,tabIndex:-1,size:"small",sx:{p:.25,mr:.5}}),e(n,{sx:{minWidth:0},children:[i(p,{sx:{color:l?"#94A3B8":"text.primary",fontSize:12.5,fontWeight:500},children:t.title}),null!=t.description&&i(p,{sx:{mt:.125,color:l?"#94A3B8":"text.secondary",fontSize:11},children:t.description})]})]}),o&&U&&i(m,{direction:"row",spacing:.75,sx:{px:.75,pb:.75},children:[["previous",A??"No previous document",V],["next",R??"No next document",X]].map(([e,t,r])=>i(d,{disabled:v||!r,onClick:()=>_(e),"aria-pressed":I===e,sx:{flex:1,minWidth:0,minHeight:42,alignItems:"flex-start",justifyContent:"flex-start",p:.625,border:"1px solid",borderColor:I===e?"#7F56D9":"#D0D5DD",borderRadius:1.5,color:r?"text.primary":"#98A2B3",textAlign:"left"},children:i(p,{sx:{color:"inherit",fontSize:11,fontWeight:500,overflowWrap:"anywhere"},children:t})},e))})]},t.id)})}),i(l,{variant:"contained",fullWidth:!0,disabled:K,onClick:()=>{if(K||!O||null==T)return;const e=U?"previous"===I?h.MERGE_PREVIOUS:h.MERGE_NEXT:O.id;y(e,{selectedIndex:T,option:{...O,id:e},metadata:b})},sx:{minHeight:32,borderRadius:2,bgcolor:"#5925DC",fontSize:13,fontWeight:600,textTransform:"none","&:hover":{bgcolor:"#4A1FB8"}},children:"Confirm"}),H&&e(m,{spacing:.625,children:[e(d,{disabled:v,onClick:()=>{const e=!P;k(e),j(!1),e&&(z(null),_(null))},"aria-expanded":P,sx:{width:"100%",justifyContent:"space-between",borderRadius:1,textAlign:"left"},children:[i(p,{sx:{color:"text.primary",fontSize:12,fontWeight:600},children:"Set a custom boundary"}),i(o,{sx:{color:"text.secondary",fontSize:16,transform:P?"rotate(180deg)":"none",transition:"transform 150ms ease"}})]}),P&&!B&&e(n,{sx:{pt:.5,fontFamily:'Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif'},children:[e(n,{sx:{display:"grid",gridTemplateColumns:"1fr 1fr",columnGap:"8px",mb:"4px"},children:[i(p,{sx:{fontSize:"10.5px",lineHeight:"14px",color:"#57697E"},children:"Starts"}),i(p,{sx:{fontSize:"10.5px",lineHeight:"14px",color:"#57697E"},children:"Ends"})]}),i(n,{sx:{display:"grid",gridTemplateColumns:"1fr 1fr",columnGap:"8px",mb:"4px"},children:[[G,W],[D,N]].map(([e,t],r)=>i(u,{size:"small",type:"text",value:e,disabled:v,error:1===r&&""!==G.trim()&&""!==D.trim()&&$>q,onChange:e=>/^\d*$/.test(e.target.value)&&t(e.target.value),inputProps:{inputMode:"numeric",pattern:"[0-9]*"},sx:{"& .MuiOutlinedInput-root":{height:"30px",bgcolor:"#FFFFFF","& fieldset":{borderColor:"#C3CFDC",borderRadius:"6px"},"&:hover fieldset":{borderColor:"#C3CFDC"},"&.Mui-focused fieldset":{borderColor:"#9488F6",borderWidth:"1px"}},"& .MuiOutlinedInput-input":{height:"30px",p:"0 10px",color:"#34445A",fontSize:"12px"}}},0===r?"starts":"ends"))}),i(l,{onClick:()=>j(!0),disabled:v||!J,sx:{height:"30px",px:"12px",bgcolor:"#FFFFFF",border:"1px solid #8E80F3",borderRadius:"6px",color:"#4A24CF",fontSize:"12px",fontWeight:600,textTransform:"none","&:hover":{bgcolor:"#FAF9FF",borderColor:"#7F6FF0"},"&.Mui-disabled":{bgcolor:"#FFFFFF",borderColor:"#C3CFDC",color:"#A0ABBE"}},children:"Apply"}),i(n,{sx:{width:"100%",height:"1px",mt:"8px",bgcolor:"#EEF0F2"}})]}),P&&B&&e(m,{spacing:.75,sx:{p:.75,borderRadius:1.5,bgcolor:"#FFF7ED"},children:[e(m,{direction:"row",alignItems:"center",spacing:.5,children:[i(x,{color:"warning",height:14,width:14}),i(p,{sx:{color:"#EA580C",fontSize:11,fontWeight:600},children:"Confirm this change?"})]}),e(p,{sx:{color:"text.secondary",fontSize:10.5,lineHeight:1.4},children:["Pages ",$,"-",q," will become part of ",S,", including pages from other documents in this range."]}),e(m,{direction:"row",spacing:.75,children:[i(l,{variant:"outlined",fullWidth:!0,onClick:()=>j(!1),sx:{minHeight:28,borderRadius:1.5,fontSize:11,textTransform:"none"},children:"Cancel"}),i(l,{variant:"contained",fullWidth:!0,disabled:v,onClick:()=>{if(v||!J)return;const e={id:h.SET_RANGE,title:"Set a custom boundary"};y(h.SET_RANGE,{selectedIndex:-1,option:e,metadata:b,startPage:$,endPage:q})},sx:{minHeight:28,borderRadius:1.5,bgcolor:"#EA580C",fontSize:11,textTransform:"none","&:hover":{bgcolor:"#C2410C"}},children:"Confirm"})]})]})]})]})}export{b as default,g as getAdditionalBoundaryActions};
2
2
  //# sourceMappingURL=ReviewedBoundaryActions.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ReviewedBoundaryActions.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"ReviewedBoundaryActions.js","sources":["../../../src/features/SegmentReviewComponents/ReviewedBoundaryActions.tsx"],"sourcesContent":["import { useMemo, useState, type ReactNode } from 'react';\nimport ExpandMoreIcon from '@mui/icons-material/ExpandMore';\nimport Box from '@mui/material/Box';\nimport Button from '@mui/material/Button';\nimport ButtonBase from '@mui/material/ButtonBase';\nimport Divider from '@mui/material/Divider';\nimport Paper from '@mui/material/Paper';\nimport Radio from '@mui/material/Radio';\nimport Stack from '@mui/material/Stack';\nimport TextField from '@mui/material/TextField';\nimport Typography from '@mui/material/Typography';\nimport {\n BoundaryReviewActionEnum,\n type BoundaryCardOption,\n type BoundaryReviewAction,\n type BoundaryReviewConfirmDetails,\n type BoundaryReviewMetadata,\n} from './BoundaryCard';\nimport type { SegmentReviewAction } from './reviewStepAdapters';\nimport InfoAlert from '../../assests/icons/InfoAlert';\n\nconst MERGE_ADJACENT_OPTION_ID = 'MERGE_ADJACENT';\n\nexport const getAdditionalBoundaryActions = (\n reviewAction?: SegmentReviewAction\n): BoundaryReviewAction[] => {\n if (!reviewAction?.additional_decisions) return [];\n\n return Array.from(\n new Set(Object.values(reviewAction.additional_decisions).flat())\n ).filter((action): action is BoundaryReviewAction =>\n Object.values(BoundaryReviewActionEnum).includes(action as BoundaryReviewActionEnum)\n );\n};\n\nconst createReviewedOptions = (\n actions: readonly BoundaryReviewAction[],\n metadata: BoundaryReviewMetadata,\n startPage: number,\n endPage: number\n): BoundaryCardOption[] => {\n const focusPage = metadata.focus_page;\n const isAtStart = focusPage != null && focusPage === startPage;\n const isAtEnd = focusPage != null && (focusPage === endPage || focusPage === endPage + 1);\n const options: BoundaryCardOption[] = [];\n\n if (actions.some((action) => action.includes('MERGE'))) {\n options.push(startPage === endPage || (!isAtStart && !isAtEnd)\n ? {\n id: MERGE_ADJACENT_OPTION_ID,\n title: 'Merge with an adjacent document',\n description: 'Choose to merge with the previous or next document.',\n }\n : isAtStart\n ? {\n id: BoundaryReviewActionEnum.MERGE_PREVIOUS,\n title: 'Merge with previous document',\n description: 'Combine this document with the previous document.',\n }\n : {\n id: BoundaryReviewActionEnum.MERGE_NEXT,\n title: 'Merge with next document',\n description: 'Combine this document with the next document.',\n });\n }\n\n if (actions.includes(BoundaryReviewActionEnum.SPLIT_HERE)) {\n const canSplit = focusPage != null && focusPage > startPage && focusPage < endPage;\n options.push({\n id: BoundaryReviewActionEnum.SPLIT_HERE,\n title: 'Split to a separate document',\n description: canSplit\n ? `Start a new document at page ${focusPage}.`\n : 'A valid page inside the document is required to split it.',\n disabled: !canSplit,\n });\n }\n\n return options;\n};\n\nexport interface ReviewedBoundaryActionsProps {\n metadata: BoundaryReviewMetadata;\n reviewAction?: SegmentReviewAction;\n startPage: number;\n endPage: number;\n title?: ReactNode;\n previousSegmentTitle?: ReactNode;\n nextSegmentTitle?: ReactNode;\n disabled?: boolean;\n onConfirm: (\n action: BoundaryReviewAction,\n details: BoundaryReviewConfirmDetails\n ) => void;\n}\n\nexport default function ReviewedBoundaryActions({\n metadata,\n reviewAction,\n startPage,\n endPage,\n title = 'this document',\n previousSegmentTitle,\n nextSegmentTitle,\n disabled = false,\n onConfirm,\n}: ReviewedBoundaryActionsProps) {\n const actions = useMemo(() => getAdditionalBoundaryActions(reviewAction), [reviewAction]);\n const options = useMemo(\n () => createReviewedOptions(actions, metadata, startPage, endPage),\n [actions, endPage, metadata, startPage]\n );\n const [selectedIndex, setSelectedIndex] = useState<number | null>(null);\n const [mergeDirection, setMergeDirection] = useState<'previous' | 'next' | null>(null);\n const [startPageInput, setStartPageInput] = useState(String(startPage));\n const [endPageInput, setEndPageInput] = useState(String(endPage));\n const [isManualExpanded, setIsManualExpanded] = useState(false);\n const [isManualConfirmationOpen, setIsManualConfirmationOpen] = useState(false);\n const hasCustomBoundary = actions.includes(BoundaryReviewActionEnum.SET_RANGE);\n\n if (options.length === 0 && !hasCustomBoundary) return null;\n\n const selectedOption = selectedIndex == null ? undefined : options[selectedIndex];\n const isAdjacentMerge = selectedOption?.id === MERGE_ADJACENT_OPTION_ID;\n const canMergePrevious = previousSegmentTitle != null;\n const canMergeNext = nextSegmentTitle != null;\n const isOptionDisabled = (option: BoundaryCardOption) =>\n option.disabled === true ||\n (option.id === BoundaryReviewActionEnum.MERGE_PREV && !canMergePrevious) ||\n (option.id === BoundaryReviewActionEnum.MERGE_PREVIOUS && !canMergePrevious) ||\n (option.id === BoundaryReviewActionEnum.MERGE_NEXT && !canMergeNext) ||\n (option.id === MERGE_ADJACENT_OPTION_ID && !canMergePrevious && !canMergeNext);\n const parsedStartPage = Number(startPageInput);\n const parsedEndPage = Number(endPageInput);\n const isRangeValid =\n startPageInput.trim() !== '' &&\n endPageInput.trim() !== '' &&\n Number.isInteger(parsedStartPage) &&\n Number.isInteger(parsedEndPage) &&\n parsedStartPage > 0 &&\n parsedStartPage <= parsedEndPage;\n const isConfirmDisabled =\n disabled ||\n !selectedOption ||\n isOptionDisabled(selectedOption) ||\n (isAdjacentMerge && mergeDirection == null);\n\n const handleConfirm = () => {\n if (isConfirmDisabled || !selectedOption || selectedIndex == null) return;\n\n const action = isAdjacentMerge\n ? mergeDirection === 'previous'\n ? BoundaryReviewActionEnum.MERGE_PREVIOUS\n : BoundaryReviewActionEnum.MERGE_NEXT\n : selectedOption.id as BoundaryReviewAction;\n\n onConfirm(action, {\n selectedIndex,\n option: { ...selectedOption, id: action },\n metadata,\n });\n };\n\n const handleManualRangeConfirm = () => {\n if (disabled || !isRangeValid) return;\n\n const option: BoundaryCardOption = {\n id: BoundaryReviewActionEnum.SET_RANGE,\n title: 'Set a custom boundary',\n };\n onConfirm(BoundaryReviewActionEnum.SET_RANGE, {\n selectedIndex: -1,\n option,\n metadata,\n startPage: parsedStartPage,\n endPage: parsedEndPage,\n });\n };\n\n return (\n <Stack spacing={0.75}>\n <Divider />\n <Typography sx={{ color: 'text.primary', fontSize: 12, fontWeight: 600 }}>\n Additional actions\n </Typography>\n\n <Stack spacing={0.625} role=\"radiogroup\" aria-label=\"Additional boundary actions\">\n {options.map((option, index) => {\n const isSelected = selectedIndex === index;\n const isDisabled = isOptionDisabled(option);\n return (\n <Paper\n key={option.id}\n variant=\"outlined\"\n sx={{\n borderColor: isSelected ? '#7F56D9' : 'divider',\n borderRadius: 2,\n bgcolor: isDisabled ? '#F8FAFC' : 'background.paper',\n overflow: 'hidden',\n }}\n >\n <ButtonBase\n role=\"radio\"\n aria-checked={isSelected}\n disabled={disabled || isDisabled}\n onClick={() => {\n setSelectedIndex(index);\n if (option.id !== MERGE_ADJACENT_OPTION_ID) setMergeDirection(null);\n }}\n sx={{\n width: '100%',\n justifyContent: 'flex-start',\n px: 0.75,\n py: 0.5,\n textAlign: 'left',\n }}\n >\n <Radio\n checked={isSelected}\n disabled={disabled || isDisabled}\n tabIndex={-1}\n size=\"small\"\n sx={{ p: 0.25, mr: 0.5 }}\n />\n <Box sx={{ minWidth: 0 }}>\n <Typography sx={{ color: isDisabled ? '#94A3B8' : 'text.primary', fontSize: 12.5, fontWeight: 500 }}>\n {option.title}\n </Typography>\n {option.description != null && (\n <Typography sx={{ mt: 0.125, color: isDisabled ? '#94A3B8' : 'text.secondary', fontSize: 11 }}>\n {option.description}\n </Typography>\n )}\n </Box>\n </ButtonBase>\n\n {isSelected && isAdjacentMerge && (\n <Stack direction=\"row\" spacing={0.75} sx={{ px: 0.75, pb: 0.75 }}>\n {([\n ['previous', previousSegmentTitle ?? 'No previous document', canMergePrevious],\n ['next', nextSegmentTitle ?? 'No next document', canMergeNext],\n ] as const).map(([direction, title, available]) => (\n <ButtonBase\n key={direction}\n disabled={disabled || !available}\n onClick={() => setMergeDirection(direction)}\n aria-pressed={mergeDirection === direction}\n sx={{\n flex: 1,\n minWidth: 0,\n minHeight: 42,\n alignItems: 'flex-start',\n justifyContent: 'flex-start',\n p: 0.625,\n border: '1px solid',\n borderColor: mergeDirection === direction ? '#7F56D9' : '#D0D5DD',\n borderRadius: 1.5,\n color: available ? 'text.primary' : '#98A2B3',\n textAlign: 'left',\n }}\n >\n <Typography sx={{ color: 'inherit', fontSize: 11, fontWeight: 500, overflowWrap: 'anywhere' }}>\n {title}\n </Typography>\n </ButtonBase>\n ))}\n </Stack>\n )}\n\n </Paper>\n );\n })}\n </Stack>\n\n <Button\n variant=\"contained\"\n fullWidth\n disabled={isConfirmDisabled}\n onClick={handleConfirm}\n sx={{\n minHeight: 32,\n borderRadius: 2,\n bgcolor: '#5925DC',\n fontSize: 13,\n fontWeight: 600,\n textTransform: 'none',\n '&:hover': { bgcolor: '#4A1FB8' },\n }}\n >\n Confirm\n </Button>\n\n {hasCustomBoundary && (\n <Stack spacing={0.625}>\n <ButtonBase\n disabled={disabled}\n onClick={() => {\n const nextIsExpanded = !isManualExpanded;\n setIsManualExpanded(nextIsExpanded);\n setIsManualConfirmationOpen(false);\n if (nextIsExpanded) {\n setSelectedIndex(null);\n setMergeDirection(null);\n }\n }}\n aria-expanded={isManualExpanded}\n sx={{\n width: '100%',\n justifyContent: 'space-between',\n borderRadius: 1,\n textAlign: 'left',\n }}\n >\n <Typography sx={{ color: 'text.primary', fontSize: 12, fontWeight: 600 }}>\n Set a custom boundary\n </Typography>\n <ExpandMoreIcon\n sx={{\n color: 'text.secondary',\n fontSize: 16,\n transform: isManualExpanded ? 'rotate(180deg)' : 'none',\n transition: 'transform 150ms ease',\n }}\n />\n </ButtonBase>\n\n {isManualExpanded && !isManualConfirmationOpen && (\n <Box\n sx={{\n pt: 0.5,\n fontFamily:\n 'Inter, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Arial, sans-serif',\n }}\n >\n <Box\n sx={{\n display: 'grid',\n gridTemplateColumns: '1fr 1fr',\n columnGap: '8px',\n mb: '4px',\n }}\n >\n <Typography sx={{ fontSize: '10.5px', lineHeight: '14px', color: '#57697E' }}>\n Starts\n </Typography>\n <Typography sx={{ fontSize: '10.5px', lineHeight: '14px', color: '#57697E' }}>\n Ends\n </Typography>\n </Box>\n\n <Box\n sx={{\n display: 'grid',\n gridTemplateColumns: '1fr 1fr',\n columnGap: '8px',\n mb: '4px',\n }}\n >\n {([\n [startPageInput, setStartPageInput],\n [endPageInput, setEndPageInput],\n ] as const).map(([value, setValue], index) => (\n <TextField\n key={index === 0 ? 'starts' : 'ends'}\n size=\"small\"\n type=\"text\"\n value={value}\n disabled={disabled}\n error={index === 1 && startPageInput.trim() !== '' && endPageInput.trim() !== '' && parsedStartPage > parsedEndPage}\n onChange={(event) => /^\\d*$/.test(event.target.value) && setValue(event.target.value)}\n inputProps={{ inputMode: 'numeric', pattern: '[0-9]*' }}\n sx={{\n '& .MuiOutlinedInput-root': {\n height: '30px',\n bgcolor: '#FFFFFF',\n '& fieldset': { borderColor: '#C3CFDC', borderRadius: '6px' },\n '&:hover fieldset': { borderColor: '#C3CFDC' },\n '&.Mui-focused fieldset': { borderColor: '#9488F6', borderWidth: '1px' },\n },\n '& .MuiOutlinedInput-input': {\n height: '30px',\n p: '0 10px',\n color: '#34445A',\n fontSize: '12px',\n },\n }}\n />\n ))}\n </Box>\n\n <Button\n onClick={() => setIsManualConfirmationOpen(true)}\n disabled={disabled || !isRangeValid}\n sx={{\n height: '30px',\n px: '12px',\n bgcolor: '#FFFFFF',\n border: '1px solid #8E80F3',\n borderRadius: '6px',\n color: '#4A24CF',\n fontSize: '12px',\n fontWeight: 600,\n textTransform: 'none',\n '&:hover': { bgcolor: '#FAF9FF', borderColor: '#7F6FF0' },\n '&.Mui-disabled': {\n bgcolor: '#FFFFFF',\n borderColor: '#C3CFDC',\n color: '#A0ABBE',\n },\n }}\n >\n Apply\n </Button>\n <Box sx={{ width: '100%', height: '1px', mt: '8px', bgcolor: '#EEF0F2' }} />\n </Box>\n )}\n\n {isManualExpanded && isManualConfirmationOpen && (\n <Stack spacing={0.75} sx={{ p: 0.75, borderRadius: 1.5, bgcolor: '#FFF7ED' }}>\n <Stack direction=\"row\" alignItems=\"center\" spacing={0.5}>\n <InfoAlert color=\"warning\" height={14} width={14} />\n <Typography sx={{ color: '#EA580C', fontSize: 11, fontWeight: 600 }}>\n Confirm this change?\n </Typography>\n </Stack>\n <Typography sx={{ color: 'text.secondary', fontSize: 10.5, lineHeight: 1.4 }}>\n Pages {parsedStartPage}-{parsedEndPage} will become part of {title}, including\n pages from other documents in this range.\n </Typography>\n <Stack direction=\"row\" spacing={0.75}>\n <Button\n variant=\"outlined\"\n fullWidth\n onClick={() => setIsManualConfirmationOpen(false)}\n sx={{ minHeight: 28, borderRadius: 1.5, fontSize: 11, textTransform: 'none' }}\n >\n Cancel\n </Button>\n <Button\n variant=\"contained\"\n fullWidth\n disabled={disabled}\n onClick={handleManualRangeConfirm}\n sx={{\n minHeight: 28,\n borderRadius: 1.5,\n bgcolor: '#EA580C',\n fontSize: 11,\n textTransform: 'none',\n '&:hover': { bgcolor: '#C2410C' },\n }}\n >\n Confirm\n </Button>\n </Stack>\n </Stack>\n )}\n </Stack>\n )}\n </Stack>\n );\n}\n"],"names":["MERGE_ADJACENT_OPTION_ID","getAdditionalBoundaryActions","reviewAction","additional_decisions","Array","from","Set","Object","values","flat","filter","action","BoundaryReviewActionEnum","includes","ReviewedBoundaryActions","metadata","startPage","endPage","title","previousSegmentTitle","nextSegmentTitle","disabled","onConfirm","actions","useMemo","options","focusPage","focus_page","isAtStart","isAtEnd","some","push","id","description","MERGE_PREVIOUS","MERGE_NEXT","SPLIT_HERE","canSplit","createReviewedOptions","selectedIndex","setSelectedIndex","useState","mergeDirection","setMergeDirection","startPageInput","setStartPageInput","String","endPageInput","setEndPageInput","isManualExpanded","setIsManualExpanded","isManualConfirmationOpen","setIsManualConfirmationOpen","hasCustomBoundary","SET_RANGE","length","selectedOption","isAdjacentMerge","canMergePrevious","canMergeNext","isOptionDisabled","option","MERGE_PREV","parsedStartPage","Number","parsedEndPage","isRangeValid","trim","isInteger","isConfirmDisabled","jsxs","Stack","spacing","children","jsx","Divider","Typography","sx","color","fontSize","fontWeight","role","map","index","isSelected","isDisabled","Paper","variant","borderColor","borderRadius","bgcolor","overflow","ButtonBase","onClick","width","justifyContent","px","py","textAlign","Radio","checked","tabIndex","size","p","mr","Box","minWidth","mt","direction","pb","available","flex","minHeight","alignItems","border","overflowWrap","Button","fullWidth","textTransform","nextIsExpanded","ExpandMoreIcon","transform","transition","pt","fontFamily","display","gridTemplateColumns","columnGap","mb","lineHeight","value","setValue","TextField","type","error","onChange","event","test","target","inputProps","inputMode","pattern","height","borderWidth","InfoAlert"],"mappings":"qkBAqBA,MAAMA,EAA2B,iBAEpBC,EACXC,GAEKA,GAAcC,qBAEZC,MAAMC,KACX,IAAIC,IAAIC,OAAOC,OAAON,EAAaC,sBAAsBM,SACzDC,OAAQC,GACRJ,OAAOC,OAAOI,GAA0BC,SAASF,IALH,GAsElD,SAAwBG,GAAwBC,SAC9CA,EAAAb,aACAA,EAAAc,UACAA,EAAAC,QACAA,EAAAC,MACAA,EAAQ,gBAAAC,qBACRA,EAAAC,iBACAA,EAAAC,SACAA,GAAW,EAAAC,UACXA,IAEM,MAAAC,EAAUC,EAAQ,IAAMvB,EAA6BC,GAAe,CAACA,IACrEuB,EAAUD,EACd,IA1E0B,EAC5BD,EACAR,EACAC,EACAC,KAEA,MAAMS,EAAYX,EAASY,WACrBC,EAAyB,MAAbF,GAAqBA,IAAcV,EAC/Ca,EAAuB,MAAbH,IAAsBA,IAAcT,GAAWS,IAAcT,EAAU,GACjFQ,EAAgC,GAsBtC,GApBIF,EAAQO,KAAMnB,GAAWA,EAAOE,SAAS,WAC3CY,EAAQM,KAAKf,IAAcC,IAAaW,IAAcC,EAClD,CACEG,GAAIhC,EACJkB,MAAO,kCACPe,YAAa,uDAEfL,EACE,CACEI,GAAIpB,EAAyBsB,eAC7BhB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,SAAA,WAGDC,EAAC0C,EAAA,CACC7B,QAAQ,YACR8B,WAAS,EACThG,WACAwE,QAvRiB,KAC3B,GAAAxE,IAAa6C,EAAc,OAE/B,MAAML,EAA6B,CACjC7B,GAAIpB,EAAyB0C,UAC7BpC,MAAO,yBAETI,EAAUV,EAAyB0C,UAAW,CAC5Cf,eAAe,EACfsB,SACA9C,WACAC,UAAW+C,EACX9C,QAASgD,KA4QGY,GAAI,CACFmC,UAAW,GACXvB,aAAc,IACdC,QAAS,UACTX,SAAU,GACVuC,cAAe,OACf,UAAW,CAAE5B,QAAS,YAEzBjB,SAAA,uBAUjB"}
@@ -1,2 +1,2 @@
1
- import{__assign as i,__spreadArray as e}from"tslib";import{jsxs as o,jsx as r}from"react/jsx-runtime";import t from"@mui/icons-material/ChevronRight";import n from"@mui/icons-material/Close";import l from"@mui/material/Box";import a from"@mui/material/ButtonBase";import c from"@mui/material/Divider";import d from"@mui/material/IconButton";import s from"@mui/material/Paper";import m from"@mui/material/Stack";import h from"@mui/material/Typography";import p from"../../assests/icons/InfoAlert.js";import x from"./CognitiveIcon.js";import f from"./CognitiveScoreBadge.js";var u=function(i,o){return e([i],Array.isArray(o)?o:null==o?[]:[o],!0)};function g(e){var g=e.headerName,v=void 0===g?"Reviewed":g,w=e.headerIcon,y=e.title,b=e.pageNo,C=e.summary,W=e.additionalActions,S=e.cognitiveScore,I=e.onCognitiveClick,k=e.onClose,z=e.cognitiveLabel,A=void 0===z?"Cognitive Integrity":z,B=e.showCognitiveIntegrity,j=void 0===B||B,N=e.showCloseButton,R=void 0===N||N,D=e.width,F=void 0===D?260:D,T=e.maxWidth,E=void 0===T?260:T,H=e.className,L=e.styles;return o(s,i({className:H,elevation:4,sx:u({width:F,maxWidth:"min(".concat(E,"number"==typeof E?"px, 100%)":", 100%)"),minWidth:0,flexShrink:1,borderRadius:2,bgcolor:"background.paper",overflow:"hidden",boxSizing:"border-box",boxShadow:"0 8px 16px rgba(16, 24, 40, 0.16)","@media (max-width: 372px)":{width:"calc(100vw - 32px)"}},null==L?void 0:L.root)},{children:[o(m,i({direction:"row",alignItems:"center",spacing:.75,sx:u({minWidth:0,px:1.25,py:1,bgcolor:"#ECFDF5",color:"#16A34A"},null==L?void 0:L.header)},{children:[null!=w?w:r(p,{color:"success",height:16,width:16}),r(h,i({sx:{flex:1,minWidth:0,color:"inherit",fontSize:13,fontWeight:500,lineHeight:1.25,textTransform:"uppercase",overflowWrap:"anywhere"}},{children:v})),R&&r(d,i({size:"small",onClick:k,disabled:!k,"aria-label":"Close reviewed card",sx:{p:0,color:"#475569","&.Mui-disabled":{color:"text.secondary"}}},{children:r(n,{sx:{fontSize:17}})}))]})),o(m,i({spacing:.875,sx:{px:1.25,pt:1.25,pb:1}},{children:[o(l,{children:[r(h,i({sx:{color:"text.primary",fontSize:14,fontWeight:500,overflowWrap:"anywhere"}},{children:y})),null!=b&&r(h,i({sx:{mt:.125,color:"text.secondary",fontSize:12}},{children:b}))]}),null!=C&&r(m,i({sx:null==L?void 0:L.content},{children:C})),null!=W&&r(m,{children:W}),j&&o(m,i({spacing:.625,sx:null==L?void 0:L.footer},{children:[r(c,{}),o(a,i({onClick:I,disabled:!I,sx:{width:"100%",minWidth:0,justifyContent:"space-between",borderRadius:1,textAlign:"left",cursor:I?"pointer":"not-allowed"}},{children:[o(m,i({direction:"row",alignItems:"center",spacing:1,sx:{minWidth:0,flex:1}},{children:[r(x,{sx:{color:"text.secondary"}}),r(h,i({sx:{minWidth:0,color:"text.primary",fontSize:12,overflowWrap:"anywhere"}},{children:A}))]})),o(m,i({direction:"row",alignItems:"center",spacing:.5,sx:{flexShrink:0}},{children:[r(f,{score:S}),r(t,{sx:{color:"text.secondary"}})]}))]}))]}))]}))]}))}export{g as default};
1
+ import{jsxs as e,jsx as i}from"react/jsx-runtime";import r from"@mui/icons-material/ChevronRight";import o from"@mui/icons-material/Close";import t from"@mui/material/Box";import n from"@mui/material/ButtonBase";import a from"@mui/material/Divider";import l from"@mui/material/IconButton";import c from"@mui/material/Paper";import s from"@mui/material/Stack";import m from"@mui/material/Typography";import d from"../../assests/icons/InfoAlert.js";import h from"./CognitiveIcon.js";import p from"./CognitiveScoreBadge.js";const x=(e,i)=>[e,...Array.isArray(i)?i:null==i?[]:[i]];function f({headerName:f="Reviewed",headerIcon:g,title:u,pageNo:w,summary:y,additionalActions:b,cognitiveScore:v,onCognitiveClick:C,onClose:W,cognitiveLabel:S="Cognitive Integrity",showCognitiveIntegrity:I=!0,showCloseButton:k=!0,width:z=260,maxWidth:A=260,className:B,styles:j}){return e(c,{className:B,elevation:4,sx:x({width:z,maxWidth:"number"==typeof A?`min(${A}px, 100%)`:`min(${A}, 100%)`,minWidth:0,flexShrink:1,borderRadius:2,bgcolor:"background.paper",overflow:"hidden",boxSizing:"border-box",boxShadow:"0 8px 16px rgba(16, 24, 40, 0.16)","@media (max-width: 372px)":{width:"calc(100vw - 32px)"}},j?.root),children:[e(s,{direction:"row",alignItems:"center",spacing:.75,sx:x({minWidth:0,px:1.25,py:1,bgcolor:"#ECFDF5",color:"#16A34A"},j?.header),children:[g??i(d,{color:"success",height:16,width:16}),i(m,{sx:{flex:1,minWidth:0,color:"inherit",fontSize:13,fontWeight:500,lineHeight:1.25,textTransform:"uppercase",overflowWrap:"anywhere"},children:f}),k&&i(l,{size:"small",onClick:W,disabled:!W,"aria-label":"Close reviewed card",sx:{p:0,color:"#475569","&.Mui-disabled":{color:"text.secondary"}},children:i(o,{sx:{fontSize:17}})})]}),e(s,{spacing:.875,sx:{px:1.25,pt:1.25,pb:1},children:[e(t,{children:[i(m,{sx:{color:"text.primary",fontSize:14,fontWeight:500,overflowWrap:"anywhere"},children:u}),null!=w&&i(m,{sx:{mt:.125,color:"text.secondary",fontSize:12},children:w})]}),null!=y&&i(s,{sx:j?.content,children:y}),null!=b&&i(s,{children:b}),I&&e(s,{spacing:.625,sx:j?.footer,children:[i(a,{}),e(n,{onClick:C,disabled:!C,sx:{width:"100%",minWidth:0,justifyContent:"space-between",borderRadius:1,textAlign:"left",cursor:C?"pointer":"not-allowed"},children:[e(s,{direction:"row",alignItems:"center",spacing:1,sx:{minWidth:0,flex:1},children:[i(h,{sx:{color:"text.secondary"}}),i(m,{sx:{minWidth:0,color:"text.primary",fontSize:12,overflowWrap:"anywhere"},children:S})]}),e(s,{direction:"row",alignItems:"center",spacing:.5,sx:{flexShrink:0},children:[i(p,{score:v}),i(r,{sx:{color:"text.secondary"}})]})]})]})]})]})}export{f as default};
2
2
  //# sourceMappingURL=ReviewedCard.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ReviewedCard.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"ReviewedCard.js","sources":["../../../src/features/SegmentReviewComponents/ReviewedCard.tsx"],"sourcesContent":["import type { ReactNode } from 'react';\nimport ChevronRightIcon from '@mui/icons-material/ChevronRight';\nimport CloseIcon from '@mui/icons-material/Close';\nimport Box from '@mui/material/Box';\nimport ButtonBase from '@mui/material/ButtonBase';\nimport Divider from '@mui/material/Divider';\nimport IconButton from '@mui/material/IconButton';\nimport Paper from '@mui/material/Paper';\nimport Stack from '@mui/material/Stack';\nimport Typography from '@mui/material/Typography';\nimport type { SxProps, Theme } from '@mui/material/styles';\nimport InfoAlert from '../../assests/icons/InfoAlert';\nimport CognitiveIcon from './CognitiveIcon';\nimport CognitiveScoreBadge from './CognitiveScoreBadge';\n\nconst mergeSx = (\n base: SxProps<Theme>,\n override?: SxProps<Theme>\n): SxProps<Theme> => [\n base,\n ...(Array.isArray(override) ? override : override == null ? [] : [override]),\n] as SxProps<Theme>;\n\nexport interface ReviewedCardStyles {\n root?: SxProps<Theme>;\n header?: SxProps<Theme>;\n content?: SxProps<Theme>;\n footer?: SxProps<Theme>;\n}\n\nexport interface ReviewedCardProps {\n headerName?: ReactNode;\n headerIcon?: ReactNode;\n title: ReactNode;\n pageNo?: ReactNode;\n summary?: ReactNode;\n /** Actions exposed only after this review has been resolved. */\n additionalActions?: ReactNode;\n cognitiveScore?: ReactNode;\n onCognitiveClick?: () => void;\n onClose?: () => void;\n cognitiveLabel?: ReactNode;\n showCognitiveIntegrity?: boolean;\n showCloseButton?: boolean;\n width?: number | string;\n maxWidth?: number | string;\n className?: string;\n styles?: ReviewedCardStyles;\n}\n\n/**\n * Read-only review card shell. The middle stack is intentionally empty until\n * the reviewed-action content is introduced.\n */\nexport default function ReviewedCard({\n headerName = 'Reviewed',\n headerIcon,\n title,\n pageNo,\n summary,\n additionalActions,\n cognitiveScore,\n onCognitiveClick,\n onClose,\n cognitiveLabel = 'Cognitive Integrity',\n showCognitiveIntegrity = true,\n showCloseButton = true,\n width = 260,\n maxWidth = 260,\n className,\n styles,\n}: ReviewedCardProps) {\n return (\n <Paper\n className={className}\n elevation={4}\n sx={mergeSx(\n {\n width,\n maxWidth: typeof maxWidth === 'number'\n ? `min(${maxWidth}px, 100%)`\n : `min(${maxWidth}, 100%)`,\n minWidth: 0,\n flexShrink: 1,\n borderRadius: 2,\n bgcolor: 'background.paper',\n overflow: 'hidden',\n boxSizing: 'border-box',\n boxShadow: '0 8px 16px rgba(16, 24, 40, 0.16)',\n '@media (max-width: 372px)': { width: 'calc(100vw - 32px)' },\n },\n styles?.root\n )}\n >\n <Stack\n direction=\"row\"\n alignItems=\"center\"\n spacing={0.75}\n sx={mergeSx(\n {\n minWidth: 0,\n px: 1.25,\n py: 1,\n bgcolor: '#ECFDF5',\n color: '#16A34A',\n },\n styles?.header\n )}\n >\n {headerIcon ?? <InfoAlert color=\"success\" height={16} width={16} />}\n <Typography\n sx={{\n flex: 1,\n minWidth: 0,\n color: 'inherit',\n fontSize: 13,\n fontWeight: 500,\n lineHeight: 1.25,\n textTransform: 'uppercase',\n overflowWrap: 'anywhere',\n }}\n >\n {headerName}\n </Typography>\n {showCloseButton && (\n <IconButton\n size=\"small\"\n onClick={onClose}\n disabled={!onClose}\n aria-label=\"Close reviewed card\"\n sx={{ p: 0, color: '#475569', '&.Mui-disabled': { color: 'text.secondary' } }}\n >\n <CloseIcon sx={{ fontSize: 17 }} />\n </IconButton>\n )}\n </Stack>\n\n <Stack spacing={0.875} sx={{ px: 1.25, pt: 1.25, pb: 1 }}>\n <Box>\n <Typography\n sx={{\n color: 'text.primary',\n fontSize: 14,\n fontWeight: 500,\n overflowWrap: 'anywhere',\n }}\n >\n {title}\n </Typography>\n {pageNo != null && (\n <Typography sx={{ mt: 0.125, color: 'text.secondary', fontSize: 12 }}>\n {pageNo}\n </Typography>\n )}\n </Box>\n\n {summary != null && <Stack sx={styles?.content}>{summary}</Stack>}\n\n {additionalActions != null && <Stack>{additionalActions}</Stack>}\n\n {showCognitiveIntegrity && (\n <Stack spacing={0.625} sx={styles?.footer}>\n <Divider />\n <ButtonBase\n onClick={onCognitiveClick}\n disabled={!onCognitiveClick}\n sx={{\n width: '100%',\n minWidth: 0,\n justifyContent: 'space-between',\n borderRadius: 1,\n textAlign: 'left',\n cursor: onCognitiveClick ? 'pointer' : 'not-allowed',\n }}\n >\n <Stack\n direction=\"row\"\n alignItems=\"center\"\n spacing={1}\n sx={{ minWidth: 0, flex: 1 }}\n >\n <CognitiveIcon sx={{ color: 'text.secondary' }} />\n <Typography\n sx={{\n minWidth: 0,\n color: 'text.primary',\n fontSize: 12,\n overflowWrap: 'anywhere',\n }}\n >\n {cognitiveLabel}\n </Typography>\n </Stack>\n <Stack\n direction=\"row\"\n alignItems=\"center\"\n spacing={0.5}\n sx={{ flexShrink: 0 }}\n >\n <CognitiveScoreBadge score={cognitiveScore} />\n <ChevronRightIcon sx={{ color: 'text.secondary' }} />\n </Stack>\n </ButtonBase>\n </Stack>\n )}\n </Stack>\n </Paper>\n );\n}\n"],"names":["mergeSx","base","override","Array","isArray","ReviewedCard","headerName","headerIcon","title","pageNo","summary","additionalActions","cognitiveScore","onCognitiveClick","onClose","cognitiveLabel","showCognitiveIntegrity","showCloseButton","width","maxWidth","className","styles","jsxs","Paper","elevation","sx","minWidth","flexShrink","borderRadius","bgcolor","overflow","boxSizing","boxShadow","root","children","Stack","direction","alignItems","spacing","px","py","color","header","InfoAlert","height","jsx","Typography","flex","fontSize","fontWeight","lineHeight","textTransform","overflowWrap","IconButton","size","onClick","disabled","p","CloseIcon","pt","pb","Box","mt","content","footer","Divider","ButtonBase","justifyContent","textAlign","cursor","CognitiveIcon","CognitiveScoreBadge","score","ChevronRightIcon"],"mappings":"ygBAeA,MAAMA,EAAU,CACdC,EACAC,IACmB,CACnBD,KACIE,MAAMC,QAAQF,GAAYA,EAAuB,MAAZA,EAAmB,GAAK,CAACA,IAkCpE,SAAwBG,GAAaC,WACnCA,EAAa,WAAAC,WACbA,EAAAC,MACAA,EAAAC,OACAA,EAAAC,QACAA,EAAAC,kBACAA,EAAAC,eACAA,EAAAC,iBACAA,EAAAC,QACAA,EAAAC,eACAA,EAAiB,sBAAAC,uBACjBA,GAAyB,EAAAC,gBACzBA,GAAkB,EAAAC,MAClBA,EAAQ,IAAAC,SACRA,EAAW,IAAAC,UACXA,EAAAC,OACAA,IAGE,OAAAC,EAACC,EAAA,CACCH,YACAI,UAAW,EACXC,GAAIzB,EACF,CACEkB,QACAC,SAA8B,iBAAbA,EACb,OAAOA,aACP,OAAOA,WACXO,SAAU,EACVC,WAAY,EACZC,aAAc,EACdC,QAAS,mBACTC,SAAU,SACVC,UAAW,aACXC,UAAW,oCACX,4BAA6B,CAAEd,MAAO,uBAExCG,GAAQY,MAGVC,SAAA,CAAAZ,EAACa,EAAA,CACCC,UAAU,MACVC,WAAW,SACXC,QAAS,IACTb,GAAIzB,EACF,CACE0B,SAAU,EACVa,GAAI,KACJC,GAAI,EACJX,QAAS,UACTY,MAAO,WAETpB,GAAQqB,QAGPR,SAAA,CAAA3B,KAAeoC,EAAU,CAAAF,MAAM,UAAUG,OAAQ,GAAI1B,MAAO,KAC7D2B,EAACC,EAAA,CACCrB,GAAI,CACFsB,KAAM,EACNrB,SAAU,EACVe,MAAO,UACPO,SAAU,GACVC,WAAY,IACZC,WAAY,KACZC,cAAe,YACfC,aAA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