@e-llm-studio/requirement-ai 0.0.351-alpha.0 → 0.0.352

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 (199) hide show
  1. package/dist/cjs/features/RequirementAI/components/RequirementAIWrapper/RequirementAIWrapper.js +1 -1
  2. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/Editor.js +1 -1
  3. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/plugins/InitialHtml.js +1 -1
  4. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/plugins/InsertNode.js +1 -1
  5. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/plugins/ManualNode.js +1 -1
  6. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/plugins/UpdateNode.js +1 -1
  7. package/dist/cjs/features/RequirementAI/components/RichTextEditor/RichTextEditor.js +1 -1
  8. package/dist/cjs/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CitationAnchor.js +1 -1
  9. package/dist/cjs/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CognitiveComponent.js +1 -1
  10. package/dist/cjs/features/RequirementAI/components/UserStoryCard/UserStoryCard.js +1 -1
  11. package/dist/cjs/features/RequirementAI/components/ai-reasoning/AiReasonMarkdownWrapper.js +1 -1
  12. package/dist/cjs/features/RequirementAI/components/ai-reasoning/AiReasoningCitationContent.js +1 -1
  13. package/dist/cjs/features/RequirementAI/components/ai-reasoning/AiReasoningCitationContent.module.css.js +1 -1
  14. package/dist/cjs/features/RequirementAI/components/ai-reasoning/CitationPdfRendererWrapper.js +2 -0
  15. package/dist/cjs/features/RequirementAI/components/ai-reasoning/CitationPdfRendererWrapper.js.map +1 -0
  16. package/dist/cjs/features/RequirementAI/components/ai-reasoning/CitationPdfViewer.js +2 -0
  17. package/dist/cjs/features/RequirementAI/components/ai-reasoning/CitationPdfViewer.js.map +1 -0
  18. package/dist/cjs/features/RequirementAI/components/ai-reasoning/pdfCitationUtils.js +2 -0
  19. package/dist/cjs/features/RequirementAI/components/ai-reasoning/pdfCitationUtils.js.map +1 -0
  20. package/dist/cjs/features/RequirementAI/components/userstory-with-citation/UserStoryWithCitation.js +1 -1
  21. package/dist/cjs/index.js +1 -1
  22. package/dist/cjs/service/redlineService.js +1 -1
  23. package/dist/cjs/utils/tagHelper.js +1 -1
  24. package/dist/features/RequirementAI/components/RequirementAIWrapper/RequirementAIWrapper.js +1 -1
  25. package/dist/features/RequirementAI/components/RichTextEditor/Editor/Editor.js +1 -1
  26. package/dist/features/RequirementAI/components/RichTextEditor/Editor/plugins/InitialHtml.js +1 -1
  27. package/dist/features/RequirementAI/components/RichTextEditor/Editor/plugins/InsertNode.js +1 -1
  28. package/dist/features/RequirementAI/components/RichTextEditor/Editor/plugins/ManualNode.js +1 -1
  29. package/dist/features/RequirementAI/components/RichTextEditor/Editor/plugins/UpdateNode.js +1 -1
  30. package/dist/features/RequirementAI/components/RichTextEditor/RichTextEditor.js +1 -1
  31. package/dist/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CitationAnchor.js +1 -1
  32. package/dist/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CognitiveComponent.js +1 -1
  33. package/dist/features/RequirementAI/components/UserStoryCard/UserStoryCard.js +1 -1
  34. package/dist/features/RequirementAI/components/ai-reasoning/AiReasonMarkdownWrapper.js +1 -1
  35. package/dist/features/RequirementAI/components/ai-reasoning/AiReasoningCitationContent.js +1 -1
  36. package/dist/features/RequirementAI/components/ai-reasoning/AiReasoningCitationContent.module.css.js +1 -1
  37. package/dist/features/RequirementAI/components/ai-reasoning/CitationPdfRendererWrapper.js +2 -0
  38. package/dist/features/RequirementAI/components/ai-reasoning/CitationPdfRendererWrapper.js.map +1 -0
  39. package/dist/features/RequirementAI/components/ai-reasoning/CitationPdfViewer.js +2 -0
  40. package/dist/features/RequirementAI/components/ai-reasoning/CitationPdfViewer.js.map +1 -0
  41. package/dist/features/RequirementAI/components/ai-reasoning/pdfCitationUtils.js +2 -0
  42. package/dist/features/RequirementAI/components/ai-reasoning/pdfCitationUtils.js.map +1 -0
  43. package/dist/features/RequirementAI/components/userstory-with-citation/UserStoryWithCitation.js +1 -1
  44. package/dist/index.js +1 -1
  45. package/dist/service/redlineService.js +1 -1
  46. package/dist/types/src/RedlineEditorTest.d.ts.map +1 -1
  47. package/dist/types/src/RequirementAiTest.d.ts +0 -6
  48. package/dist/types/src/RequirementAiTest.d.ts.map +1 -1
  49. package/dist/types/src/features/RequirementAI/components/RequirementAIWrapper/RequirementAIWrapper.d.ts +2 -33
  50. package/dist/types/src/features/RequirementAI/components/RequirementAIWrapper/RequirementAIWrapper.d.ts.map +1 -1
  51. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/Editor.d.ts.map +1 -1
  52. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/InitialHtml.d.ts.map +1 -1
  53. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/InsertNode.d.ts +1 -3
  54. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/InsertNode.d.ts.map +1 -1
  55. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/ManualNode.d.ts +0 -2
  56. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/ManualNode.d.ts.map +1 -1
  57. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/UpdateNode.d.ts +1 -5
  58. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/UpdateNode.d.ts.map +1 -1
  59. package/dist/types/src/features/RequirementAI/components/RichTextEditor/RichTextEditor.d.ts.map +1 -1
  60. package/dist/types/src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CitationAnchor.d.ts +0 -3
  61. package/dist/types/src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CitationAnchor.d.ts.map +1 -1
  62. package/dist/types/src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CognitiveComponent.d.ts +0 -1
  63. package/dist/types/src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CognitiveComponent.d.ts.map +1 -1
  64. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/ManualEditPopup.d.ts.map +1 -1
  65. package/dist/types/src/features/RequirementAI/components/UserStoryCard/UserStoryCard.d.ts +2 -23
  66. package/dist/types/src/features/RequirementAI/components/UserStoryCard/UserStoryCard.d.ts.map +1 -1
  67. package/dist/types/src/features/RequirementAI/components/ai-reasoning/AiReasonMarkdownWrapper.d.ts.map +1 -1
  68. package/dist/types/src/features/RequirementAI/components/ai-reasoning/AiReasoningCitationContent.d.ts.map +1 -1
  69. package/dist/types/src/features/RequirementAI/components/userstory-with-citation/UserStoryWithCitation.d.ts.map +1 -1
  70. package/dist/types/src/features/RequirementAI/interfaces/citation.interface.d.ts +0 -52
  71. package/dist/types/src/features/RequirementAI/interfaces/citation.interface.d.ts.map +1 -1
  72. package/dist/types/src/features/RequirementAI/types/aiReasoning.type.d.ts +2 -4
  73. package/dist/types/src/features/RequirementAI/types/aiReasoning.type.d.ts.map +1 -1
  74. package/dist/types/src/index.d.ts +2 -3
  75. package/dist/types/src/index.d.ts.map +1 -1
  76. package/dist/types/src/service/redlineService.d.ts +0 -61
  77. package/dist/types/src/service/redlineService.d.ts.map +1 -1
  78. package/dist/types/src/utils/tagHelper.d.ts +0 -9
  79. package/dist/types/src/utils/tagHelper.d.ts.map +1 -1
  80. package/dist/utils/tagHelper.js +1 -1
  81. package/package.json +1 -1
  82. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/constants/updateTags.js +0 -2
  83. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/constants/updateTags.js.map +0 -1
  84. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/codeBlockSerialization.js +0 -2
  85. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/codeBlockSerialization.js.map +0 -1
  86. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/markdownTableSerialization.js +0 -2
  87. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/markdownTableSerialization.js.map +0 -1
  88. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/normalizeRedlineMarkdown.js +0 -2
  89. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/normalizeRedlineMarkdown.js.map +0 -1
  90. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownEmphasis.js +0 -2
  91. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownEmphasis.js.map +0 -1
  92. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownEscapes.js +0 -2
  93. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownEscapes.js.map +0 -1
  94. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownLineBreaks.js +0 -2
  95. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownLineBreaks.js.map +0 -1
  96. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownListFormatting.js +0 -2
  97. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownListFormatting.js.map +0 -1
  98. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveReviewBlocks.js +0 -2
  99. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveReviewBlocks.js.map +0 -1
  100. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveReviewBoundaryWhitespace.js +0 -2
  101. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveReviewBoundaryWhitespace.js.map +0 -1
  102. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveTableDelimiters.js +0 -2
  103. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveTableDelimiters.js.map +0 -1
  104. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/reviewNodeSerialization.js +0 -2
  105. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/reviewNodeSerialization.js.map +0 -1
  106. package/dist/cjs/features/RequirementAI/components/UserStoryCard/CognitiveComponents/onDemandCitations/href.js +0 -2
  107. package/dist/cjs/features/RequirementAI/components/UserStoryCard/CognitiveComponents/onDemandCitations/href.js.map +0 -1
  108. package/dist/cjs/features/RequirementAI/components/UserStoryCard/CognitiveComponents/onDemandCitations/payload.js +0 -2
  109. package/dist/cjs/features/RequirementAI/components/UserStoryCard/CognitiveComponents/onDemandCitations/payload.js.map +0 -1
  110. package/dist/cjs/features/RequirementAI/components/userstory-with-citation/utils/inlineMarkdown.js +0 -2
  111. package/dist/cjs/features/RequirementAI/components/userstory-with-citation/utils/inlineMarkdown.js.map +0 -1
  112. package/dist/cjs/features/RequirementAI/utils/exponential-retry.js +0 -2
  113. package/dist/cjs/features/RequirementAI/utils/exponential-retry.js.map +0 -1
  114. package/dist/features/RequirementAI/components/RichTextEditor/Editor/constants/updateTags.js +0 -2
  115. package/dist/features/RequirementAI/components/RichTextEditor/Editor/constants/updateTags.js.map +0 -1
  116. package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/codeBlockSerialization.js +0 -2
  117. package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/codeBlockSerialization.js.map +0 -1
  118. package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/markdownTableSerialization.js +0 -2
  119. package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/markdownTableSerialization.js.map +0 -1
  120. package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/normalizeRedlineMarkdown.js +0 -2
  121. package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/normalizeRedlineMarkdown.js.map +0 -1
  122. package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownEmphasis.js +0 -2
  123. package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownEmphasis.js.map +0 -1
  124. package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownEscapes.js +0 -2
  125. package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownEscapes.js.map +0 -1
  126. package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownLineBreaks.js +0 -2
  127. package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownLineBreaks.js.map +0 -1
  128. package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownListFormatting.js +0 -2
  129. package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownListFormatting.js.map +0 -1
  130. package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveReviewBlocks.js +0 -2
  131. package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveReviewBlocks.js.map +0 -1
  132. package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveReviewBoundaryWhitespace.js +0 -2
  133. package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveReviewBoundaryWhitespace.js.map +0 -1
  134. package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveTableDelimiters.js +0 -2
  135. package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveTableDelimiters.js.map +0 -1
  136. package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/reviewNodeSerialization.js +0 -2
  137. package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/reviewNodeSerialization.js.map +0 -1
  138. package/dist/features/RequirementAI/components/UserStoryCard/CognitiveComponents/onDemandCitations/href.js +0 -2
  139. package/dist/features/RequirementAI/components/UserStoryCard/CognitiveComponents/onDemandCitations/href.js.map +0 -1
  140. package/dist/features/RequirementAI/components/UserStoryCard/CognitiveComponents/onDemandCitations/payload.js +0 -2
  141. package/dist/features/RequirementAI/components/UserStoryCard/CognitiveComponents/onDemandCitations/payload.js.map +0 -1
  142. package/dist/features/RequirementAI/components/userstory-with-citation/utils/inlineMarkdown.js +0 -2
  143. package/dist/features/RequirementAI/components/userstory-with-citation/utils/inlineMarkdown.js.map +0 -1
  144. package/dist/features/RequirementAI/utils/exponential-retry.js +0 -2
  145. package/dist/features/RequirementAI/utils/exponential-retry.js.map +0 -1
  146. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/constants/updateTags.d.ts +0 -2
  147. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/constants/updateTags.d.ts.map +0 -1
  148. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/codeBlockSerialization.d.ts +0 -5
  149. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/codeBlockSerialization.d.ts.map +0 -1
  150. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/manualEditEdgeCases.test.d.ts +0 -2
  151. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/manualEditEdgeCases.test.d.ts.map +0 -1
  152. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/markdownTableSerialization.d.ts +0 -16
  153. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/markdownTableSerialization.d.ts.map +0 -1
  154. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/markdownTableStructure.test.d.ts +0 -2
  155. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/markdownTableStructure.test.d.ts.map +0 -1
  156. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/normalizeRedlineMarkdown.d.ts +0 -8
  157. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/normalizeRedlineMarkdown.d.ts.map +0 -1
  158. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownEmphasis.d.ts +0 -58
  159. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownEmphasis.d.ts.map +0 -1
  160. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownEscapes.d.ts +0 -14
  161. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownEscapes.d.ts.map +0 -1
  162. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownLineBreaks.d.ts +0 -14
  163. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownLineBreaks.d.ts.map +0 -1
  164. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownListFormatting.d.ts +0 -3
  165. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownListFormatting.d.ts.map +0 -1
  166. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveReviewBlocks.d.ts +0 -4
  167. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveReviewBlocks.d.ts.map +0 -1
  168. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveReviewBoundaryWhitespace.d.ts +0 -86
  169. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveReviewBoundaryWhitespace.d.ts.map +0 -1
  170. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveTableDelimiters.d.ts +0 -7
  171. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveTableDelimiters.d.ts.map +0 -1
  172. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/randomEditSerialization.audit.test.d.ts +0 -2
  173. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/randomEditSerialization.audit.test.d.ts.map +0 -1
  174. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/reviewNodeSerialization.d.ts +0 -15
  175. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/reviewNodeSerialization.d.ts.map +0 -1
  176. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/serializationPreservation.test.d.ts +0 -2
  177. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/serializationPreservation.test.d.ts.map +0 -1
  178. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/tableMarkdownReviewRoundTrip.test.d.ts +0 -2
  179. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/tableMarkdownReviewRoundTrip.test.d.ts.map +0 -1
  180. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/tableNumberingFix.test.d.ts +0 -2
  181. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/tableNumberingFix.test.d.ts.map +0 -1
  182. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/tableNumberingIssue.test.d.ts +0 -2
  183. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/tableNumberingIssue.test.d.ts.map +0 -1
  184. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/tableNumberingSample.fixture.d.ts +0 -2
  185. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/tableNumberingSample.fixture.d.ts.map +0 -1
  186. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/tableNumberingValidation.test.d.ts +0 -2
  187. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/tableNumberingValidation.test.d.ts.map +0 -1
  188. package/dist/types/src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/onDemandCitations/href.d.ts +0 -13
  189. package/dist/types/src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/onDemandCitations/href.d.ts.map +0 -1
  190. package/dist/types/src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/onDemandCitations/index.d.ts +0 -3
  191. package/dist/types/src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/onDemandCitations/index.d.ts.map +0 -1
  192. package/dist/types/src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/onDemandCitations/payload.d.ts +0 -30
  193. package/dist/types/src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/onDemandCitations/payload.d.ts.map +0 -1
  194. package/dist/types/src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/userstory.mock.data.d.ts +0 -3006
  195. package/dist/types/src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/userstory.mock.data.d.ts.map +0 -1
  196. package/dist/types/src/features/RequirementAI/components/userstory-with-citation/utils/inlineMarkdown.d.ts +0 -9
  197. package/dist/types/src/features/RequirementAI/components/userstory-with-citation/utils/inlineMarkdown.d.ts.map +0 -1
  198. package/dist/types/src/features/RequirementAI/utils/exponential-retry.d.ts +0 -12
  199. package/dist/types/src/features/RequirementAI/utils/exponential-retry.d.ts.map +0 -1
@@ -1,58 +0,0 @@
1
- interface MarkdownEmphasisRange {
2
- openIndex: number;
3
- closeIndex: number;
4
- marker: "*" | "_";
5
- markerLength: 1 | 2 | 3;
6
- }
7
- /**
8
- * Protect literal intraword underscores in the rendering copy passed to
9
- * Showdown. The persisted Markdown is not modified. Showdown's built-in
10
- * literalMidWordUnderscores option uses ASCII word boundaries, so this
11
- * Unicode-aware guard is still needed for file names such as `résumé_日本`.
12
- */
13
- export declare const protectLiteralMidWordUnderscoresForRendering: (value: string) => string;
14
- export declare const preserveLiteralMidWordUnderscoresFromSource: (source: string, generated: string) => string;
15
- /**
16
- * Lexical can export one visual format as nested or adjacent equivalent tags,
17
- * especially after typing in a formatted table cell. Turndown serializes each
18
- * wrapper independently, producing runs such as `****text****` and
19
- * `**left****right**`. Flatten and merge only attribute-free equivalent tags
20
- * before Markdown conversion so the edit has one stable delimiter pair.
21
- */
22
- export declare const normalizeRedundantInlineFormattingElements: (root: ParentNode) => void;
23
- export declare const collectMarkdownEmphasisRanges: (value: string) => MarkdownEmphasisRange[];
24
- export declare const normalizeCombinedEmphasisForRendering: (value: string) => string;
25
- /**
26
- * Move emphasis delimiters outside a review block when legacy redline data
27
- * opens the same delimiter inside both <del> and <ins>, but closes it after
28
- * </manual>/<upt>. Passing that overlapping structure to Showdown produces
29
- * invalid HTML, which DOMParser then repairs by moving text out of <ins>.
30
- *
31
- * Example:
32
- * <manual><del>**old</del><ins>**new</ins></manual> tail**
33
- * becomes:
34
- * **<manual><del>old</del><ins>new</ins></manual> tail**
35
- *
36
- * This is a rendering-only normalization. The original source remains the
37
- * editor's persistence baseline and is restored by the preservation helpers.
38
- */
39
- export declare const normalizeReviewBoundaryEmphasisForRendering: (value: string) => string;
40
- /**
41
- * Keep an outer bold span valid when a bold+italic insertion is made inside a
42
- * review tag. `text** ***inserted*** **text` is how the edit is persisted, but
43
- * Showdown otherwise closes the outer bold at the inner `**` boundaries.
44
- * This normalization is rendering-only; the persisted source is restored.
45
- */
46
- export declare const normalizeNestedReviewEmphasisForRendering: (value: string) => string;
47
- /**
48
- * Restore exact source emphasis when a review paragraph's visible text and
49
- * tags are unchanged. A four-plus-star run is also restored in an unchanged
50
- * ordinary paragraph because it can only be serializer formatting leakage.
51
- */
52
- export declare const preserveUnchangedEmphasisParagraphsFromSource: (source: string, generated: string) => string;
53
- /** Remove only delimiter runs that were parsed as emphasis, leaving literals/code intact. */
54
- export declare const markdownWithoutEmphasisMarkers: (value: string) => string;
55
- /** Preserve the source choice of `*`/`_` for both emphasis and strong text. */
56
- export declare const preserveEmphasisMarkersFromSource: (source: string, generated: string) => string;
57
- export {};
58
- //# sourceMappingURL=preserveMarkdownEmphasis.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"preserveMarkdownEmphasis.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownEmphasis.ts"],"names":[],"mappings":"AAAA,UAAU,qBAAqB;IAC7B,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,GAAG,GAAG,GAAG,CAAC;IAClB,YAAY,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;CACzB;AA8GD;;;;;GAKG;AACH,eAAO,MAAM,4CAA4C,UAAW,MAAM,WAiBtE,CAAC;AAgDL,eAAO,MAAM,2CAA2C,WAC9C,MAAM,aACH,MAAM,WA8DlB,CAAC;AA2BF;;;;;;GAMG;AACH,eAAO,MAAM,0CAA0C,SAAU,UAAU,SA8C1E,CAAC;AAEF,eAAO,MAAM,6BAA6B,UAAW,MAAM,KAAG,qBAAqB,EA8ElF,CAAC;AAEF,eAAO,MAAM,qCAAqC,UAAW,MAAM,WA6BlE,CAAC;AAEF;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,2CAA2C,UAAW,MAAM,WAMtE,CAAC;AAEJ;;;;;GAKG;AACH,eAAO,MAAM,yCAAyC,UAAW,MAAM,WAuBpE,CAAC;AAeJ;;;;GAIG;AACH,eAAO,MAAM,6CAA6C,WAChD,MAAM,aACH,MAAM,WAkBlB,CAAC;AAiGF,6FAA6F;AAC7F,eAAO,MAAM,8BAA8B,UAAW,MAAM,WAa3D,CAAC;AAgDF,+EAA+E;AAC/E,eAAO,MAAM,iCAAiC,WAAY,MAAM,aAAa,MAAM,WAoFlF,CAAC"}
@@ -1,14 +0,0 @@
1
- /**
2
- * Reduce Markdown escape spelling to the text it represents. Turndown escapes
3
- * literal Markdown punctuation even when the source safely stored it without
4
- * a backslash, so source and generated paragraphs need a representation that
5
- * treats those spellings as equivalent.
6
- */
7
- export declare const markdownWithoutEscapeSpelling: (value: string) => string;
8
- /**
9
- * Restore exact source spelling for paragraphs whose only serialization
10
- * difference is Turndown-added Markdown escapes. Paragraph alignment allows
11
- * this to keep working when the user adds or removes a different paragraph.
12
- */
13
- export declare const preserveUnchangedMarkdownEscapesFromSource: (source: string, generated: string) => string;
14
- //# sourceMappingURL=preserveMarkdownEscapes.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"preserveMarkdownEscapes.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownEscapes.ts"],"names":[],"mappings":"AAyDA;;;;;GAKG;AACH,eAAO,MAAM,6BAA6B,UAAW,MAAM,WA4B1D,CAAC;AAyLF;;;;GAIG;AACH,eAAO,MAAM,0CAA0C,WAC7C,MAAM,aACH,MAAM,WAuIlB,CAAC"}
@@ -1,14 +0,0 @@
1
- /**
2
- * Preserve the original representation of existing line boundaries. Showdown
3
- * converts a Markdown soft newline to `<br>` before Lexical imports it, so the
4
- * final serializer otherwise cannot distinguish it from an explicit `<br>`.
5
- */
6
- export declare const preserveLineBreaksFromSource: (source: string, generated: string) => string;
7
- /**
8
- * Restore an untouched paragraph boundary exactly, including NBSP-only spacer
9
- * paragraphs and trailing spaces. Both neighboring contexts must still match.
10
- * Ordinary added or removed blank lines are left untouched; restoration is
11
- * limited to known lossy NBSP and same-boundary normalization.
12
- */
13
- export declare const preserveUnchangedWhitespaceRunsFromSource: (source: string, generated: string, unchangedEditorStructure?: boolean) => string;
14
- //# sourceMappingURL=preserveMarkdownLineBreaks.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"preserveMarkdownLineBreaks.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownLineBreaks.ts"],"names":[],"mappings":"AAqFA;;;;GAIG;AACH,eAAO,MAAM,4BAA4B,WAAY,MAAM,aAAa,MAAM,WA8B7E,CAAC;AAgCF;;;;;GAKG;AACH,eAAO,MAAM,yCAAyC,WAC5C,MAAM,aACH,MAAM,+CA2BlB,CAAC"}
@@ -1,3 +0,0 @@
1
- /** Preserve existing bullet marker and spacing while retaining edited text. */
2
- export declare const preserveListFormattingFromSource: (source: string, generated: string) => string;
3
- //# sourceMappingURL=preserveMarkdownListFormatting.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"preserveMarkdownListFormatting.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownListFormatting.ts"],"names":[],"mappings":"AAoCA,+EAA+E;AAC/E,eAAO,MAAM,gCAAgC,WAAY,MAAM,aAAa,MAAM,WAyCjF,CAAC"}
@@ -1,4 +0,0 @@
1
- export declare const getReviewId: (attributes: string) => string;
2
- /** Restore source review markup and recover a missing manual/update wrapper. */
3
- export declare const preserveUnchangedReviewBlocksFromSource: (source: string, generated: string) => string;
4
- //# sourceMappingURL=preserveReviewBlocks.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"preserveReviewBlocks.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveReviewBlocks.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,WAAW,eAAgB,MAAM,WACyC,CAAC;AAgIxF,gFAAgF;AAChF,eAAO,MAAM,uCAAuC,WAC1C,MAAM,aACH,MAAM,WAwClB,CAAC"}
@@ -1,86 +0,0 @@
1
- /**
2
- * Utility module for preserving and restoring whitespace around review boundary tags
3
- * (<manual> and <upt>) during markdown-to-lexical-to-markdown conversions.
4
- *
5
- * Problem being solved:
6
- * When converting HTML with review boundary tags to markdown (via Turndown) and back,
7
- * trailing whitespace before and leading whitespace after these tags can be trimmed,
8
- * causing text like "Both <manual>text</manual>parties" to lose the space before "Both".
9
- *
10
- * Solution approach:
11
- * 1. BEFORE converting to markdown, extract and store whitespace around boundaries
12
- * 2. During markdown conversion, preserve the stored whitespace separately
13
- * 3. AFTER conversion back to lexical, restore whitespace to the correct positions
14
- */
15
- /**
16
- * Represents whitespace preserved around a review boundary node.
17
- * Used to maintain spacing through conversion processes that may trim whitespace.
18
- */
19
- export interface ReviewBoundaryWhitespace {
20
- /** Whitespace (spaces/tabs) immediately before the review boundary node */
21
- before: string;
22
- /** Whitespace (spaces/tabs) immediately after the review boundary node */
23
- after: string;
24
- }
25
- /**
26
- * Collects whitespace from around review boundary elements in a DOM tree.
27
- * This function should be called BEFORE converting to markdown to capture
28
- * whitespace that may be trimmed by markdown processors (e.g., Turndown).
29
- *
30
- * Algorithm:
31
- * 1. For each <manual> and <upt> tag in the DOM
32
- * 2. Check if previous sibling is a text node
33
- * - Extract trailing whitespace from that text node
34
- * 3. Check if next sibling is a text node
35
- * - Extract leading whitespace from that text node
36
- * 4. Store both in a map keyed by tag name and ID
37
- *
38
- * @param dom The DOM Document to scan for review boundaries
39
- * @returns A Map of review boundary keys to their preserved whitespace
40
- *
41
- * @example
42
- * // Given: "Both <manual id='x'> content</manual>parties"
43
- * // Returns: Map { "manual:x" => { before: " ", after: "" } }
44
- */
45
- export declare const collectReviewBoundaryWhitespace: (dom: Document) => Map<string, ReviewBoundaryWhitespace>;
46
- /**
47
- * Restores previously collected whitespace around review boundary nodes
48
- * in the current Lexical editor state.
49
- *
50
- * This function must be called AFTER the markdown has been converted back
51
- * to a Lexical editor state and the nodes have been appended to the root.
52
- *
53
- * Algorithm for each review boundary node:
54
- * 1. Look up stored whitespace using node ID
55
- * 2. If previous sibling is text node:
56
- * - Remove trailing whitespace from it
57
- * - Append the stored "before" whitespace
58
- * 3. Else if we have "before" whitespace to restore:
59
- * - Insert a new text node before the boundary with the whitespace
60
- * 4. If next sibling is text node:
61
- * - Remove leading whitespace from it
62
- * - Prepend the stored "after" whitespace
63
- * 5. Else if we have "after" whitespace to restore:
64
- * - Insert a new text node after the boundary with the whitespace
65
- *
66
- * @param boundaries A Map of preserved whitespace from collectReviewBoundaryWhitespace
67
- *
68
- * @example
69
- * // Given: boundaries with "manual:x" => { before: " ", after: "" }
70
- * // Finds the ManualNode with ID "x" and ensures the space before it is restored
71
- * // Even if text was "BothContent" after markdown, becomes "Both Content"
72
- */
73
- export declare const restoreReviewBoundaryWhitespace: (boundaries: ReadonlyMap<string, ReviewBoundaryWhitespace>) => void;
74
- /**
75
- * Validates that whitespace has been properly preserved around review boundaries.
76
- * This is primarily for testing and debugging purposes.
77
- *
78
- * @param dom The DOM to check for whitespace preservation
79
- * @param expectedBoundaries The map of expected whitespace
80
- * @returns An object with validation results and any issues found
81
- */
82
- export declare const validateReviewBoundaryWhitespace: (dom: Document, expectedBoundaries: ReadonlyMap<string, ReviewBoundaryWhitespace>) => {
83
- isValid: boolean;
84
- issues: string[];
85
- };
86
- //# sourceMappingURL=preserveReviewBoundaryWhitespace.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"preserveReviewBoundaryWhitespace.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveReviewBoundaryWhitespace.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAWH;;;GAGG;AACH,MAAM,WAAW,wBAAwB;IACvC,2EAA2E;IAC3E,MAAM,EAAE,MAAM,CAAC;IACf,0EAA0E;IAC1E,KAAK,EAAE,MAAM,CAAC;CACf;AAaD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,+BAA+B,QACrC,QAAQ,KACZ,IAAI,MAAM,EAAE,wBAAwB,CAwBtC,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,eAAO,MAAM,+BAA+B,eAC9B,YAAY,MAAM,EAAE,wBAAwB,CAAC,KACxD,IA2CF,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,gCAAgC,QACtC,QAAQ,sBACO,YAAY,MAAM,EAAE,wBAAwB,CAAC;aACrD,OAAO;YAAU,MAAM,EAAE;CAoCtC,CAAC"}
@@ -1,7 +0,0 @@
1
- /**
2
- * Preserve Markdown table delimiter rows byte-for-byte from the backend
3
- * source. Lexical/Turndown do not retain alignment and serialize :---, :---:
4
- * and ---: as ---. Delimiters are structural, not editable table content.
5
- */
6
- export declare const preserveTableDelimiterRowsFromSource: (source: string, draft: string) => string;
7
- //# sourceMappingURL=preserveTableDelimiters.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"preserveTableDelimiters.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveTableDelimiters.ts"],"names":[],"mappings":"AAuEA;;;;GAIG;AACH,eAAO,MAAM,oCAAoC,WACvC,MAAM,SACP,MAAM,WAgCd,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=randomEditSerialization.audit.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"randomEditSerialization.audit.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/features/RequirementAI/components/RichTextEditor/Editor/utils/randomEditSerialization.audit.test.ts"],"names":[],"mappings":""}
@@ -1,15 +0,0 @@
1
- import type TurndownService from "turndown";
2
- export interface SerializedReviewNode {
3
- html: string;
4
- placeholder: string;
5
- }
6
- /**
7
- * Serialize custom review markup without letting Turndown discard its tags.
8
- * Table context is passed explicitly because the cloned node is detached from
9
- * its TD/TH while its contents are converted.
10
- */
11
- export declare const serializeReviewNodeToMarkdown: (node: HTMLElement, turndownService: TurndownService, insideTableCell?: boolean) => string;
12
- /** Replace only outer review tags; nested review tags are handled recursively. */
13
- export declare const replaceReviewNodesWithMarkdownPlaceholders: (root: ParentNode, turndownService: TurndownService) => SerializedReviewNode[];
14
- export declare const restoreReviewNodePlaceholders: (markdown: string, serializedNodes: SerializedReviewNode[]) => string;
15
- //# sourceMappingURL=reviewNodeSerialization.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"reviewNodeSerialization.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/features/RequirementAI/components/RichTextEditor/Editor/utils/reviewNodeSerialization.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,eAAe,MAAM,UAAU,CAAC;AAe5C,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;CACrB;AAeD;;;;GAIG;AACH,eAAO,MAAM,6BAA6B,SAClC,WAAW,mBACA,eAAe,gCAE/B,MA+DF,CAAC;AAEF,kFAAkF;AAClF,eAAO,MAAM,0CAA0C,SAC/C,UAAU,mBACC,eAAe,KAC/B,oBAAoB,EA0BtB,CAAC;AAEF,eAAO,MAAM,6BAA6B,aAC9B,MAAM,mBACC,oBAAoB,EAAE,WAQxC,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=serializationPreservation.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"serializationPreservation.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/features/RequirementAI/components/RichTextEditor/Editor/utils/serializationPreservation.test.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=tableMarkdownReviewRoundTrip.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tableMarkdownReviewRoundTrip.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/features/RequirementAI/components/RichTextEditor/Editor/utils/tableMarkdownReviewRoundTrip.test.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=tableNumberingFix.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tableNumberingFix.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/features/RequirementAI/components/RichTextEditor/Editor/utils/tableNumberingFix.test.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=tableNumberingIssue.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tableNumberingIssue.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/features/RequirementAI/components/RichTextEditor/Editor/utils/tableNumberingIssue.test.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- export declare const paymentTableNumberingSample: string;
2
- //# sourceMappingURL=tableNumberingSample.fixture.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tableNumberingSample.fixture.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/features/RequirementAI/components/RichTextEditor/Editor/utils/tableNumberingSample.fixture.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,2BAA2B,QAkB9B,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=tableNumberingValidation.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tableNumberingValidation.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/features/RequirementAI/components/RichTextEditor/Editor/utils/tableNumberingValidation.test.ts"],"names":[],"mappings":""}
@@ -1,13 +0,0 @@
1
- export type RedlineCitationHrefParts = {
2
- citationType: string;
3
- localCitationId: string;
4
- citationNumber: string;
5
- queryParams: URLSearchParams;
6
- };
7
- export declare const parseRedlineCitationHref: (href?: string) => RedlineCitationHrefParts;
8
- export type RedlineCitationTextRef = {
9
- href: string;
10
- citedText: string;
11
- };
12
- export declare const extractRedlineCitationRefs: (text?: string) => RedlineCitationTextRef[];
13
- //# sourceMappingURL=href.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"href.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/onDemandCitations/href.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,wBAAwB,GAAG;IACnC,YAAY,EAAE,MAAM,CAAC;IACrB,eAAe,EAAE,MAAM,CAAC;IACxB,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,EAAE,eAAe,CAAC;CAChC,CAAC;AAEF,eAAO,MAAM,wBAAwB,qBAAgB,wBAapD,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;CACrB,CAAC;AAQF,eAAO,MAAM,0BAA0B,qBAAgB,sBAAsB,EAiB5E,CAAC"}
@@ -1,3 +0,0 @@
1
- export * from "./href";
2
- export * from "./payload";
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/onDemandCitations/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC"}
@@ -1,30 +0,0 @@
1
- import { RedlineOnDemandCitationBuildContext, RedlineOnDemandCitationConfig } from "../../../../interfaces/citation.interface";
2
- type BuildPayloadParams = {
3
- href: string;
4
- sourceText?: string;
5
- citationSection?: string;
6
- aiReasoning?: any;
7
- treeData?: any;
8
- docData?: any;
9
- config?: RedlineOnDemandCitationConfig;
10
- };
11
- type PrefetchPayloadParams = Omit<BuildPayloadParams, "href" | "sourceText" | "citationSection"> & {
12
- texts: {
13
- text?: string;
14
- citationSection?: string;
15
- }[];
16
- };
17
- export declare const buildRedlineOnDemandCitationPayload: ({ href, sourceText, citationSection, aiReasoning, treeData, docData, config, }: BuildPayloadParams) => {
18
- context: RedlineOnDemandCitationBuildContext;
19
- payload: any;
20
- };
21
- export declare const buildRedlineOnDemandPrefetchPayloads: ({ texts, aiReasoning, treeData, docData, config, }: PrefetchPayloadParams) => {
22
- context: RedlineOnDemandCitationBuildContext;
23
- payload: any;
24
- }[];
25
- export declare const normalizeRedlineOnDemandStrategy: (strategy?: RedlineOnDemandCitationConfig["strategy"]) => "onExpand" | "prefetchOnOpen";
26
- export declare const getRedlineOnDemandRequestUrl: (config?: RedlineOnDemandCitationConfig) => string;
27
- export declare const buildRedlineOnDemandRequestInit: (config: RedlineOnDemandCitationConfig, payload: any, context: RedlineOnDemandCitationBuildContext) => RequestInit;
28
- export declare const fetchRedlineOnDemandCitation: (config: RedlineOnDemandCitationConfig, payload: any, context: RedlineOnDemandCitationBuildContext) => Promise<any>;
29
- export {};
30
- //# sourceMappingURL=payload.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/onDemandCitations/payload.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,mCAAmC,EACnC,6BAA6B,EAChC,MAAM,2CAA2C,CAAC;AAGnD,KAAK,kBAAkB,GAAG;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,WAAW,CAAC,EAAE,GAAG,CAAC;IAClB,QAAQ,CAAC,EAAE,GAAG,CAAC;IACf,OAAO,CAAC,EAAE,GAAG,CAAC;IACd,MAAM,CAAC,EAAE,6BAA6B,CAAC;CAC1C,CAAC;AAEF,KAAK,qBAAqB,GAAG,IAAI,CAAC,kBAAkB,EAAE,MAAM,GAAG,YAAY,GAAG,iBAAiB,CAAC,GAAG;IAC/F,KAAK,EAAE;QACH,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,eAAe,CAAC,EAAE,MAAM,CAAC;KAC5B,EAAE,CAAC;CACP,CAAC;AAgMF,eAAO,MAAM,mCAAmC,mFAQ7C,kBAAkB;;;CAiDpB,CAAC;AAEF,eAAO,MAAM,oCAAoC,uDAM9C,qBAAqB;;;GAoBvB,CAAC;AAEF,eAAO,MAAM,gCAAgC,cAC9B,6BAA6B,CAAC,UAAU,CAAC,kCAGxC,CAAC;AAEjB,eAAO,MAAM,4BAA4B,YAAa,6BAA6B,WAElF,CAAC;AAEF,eAAO,MAAM,+BAA+B,WAChC,6BAA6B,WAC5B,GAAG,WACH,mCAAmC,KAC7C,WAkBF,CAAC;AAEF,eAAO,MAAM,4BAA4B,WAC7B,6BAA6B,WAC5B,GAAG,WACH,mCAAmC,iBAmC/C,CAAC"}