@viswa-test/test-citation 0.0.251 → 0.0.253

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 (230) hide show
  1. package/README.md +202 -26
  2. package/dist/cjs/features/BPACitationRenderer/BPACitationRenderer.js +2 -0
  3. package/dist/cjs/features/BPACitationRenderer/BPACitationRenderer.js.map +1 -0
  4. package/dist/cjs/features/BPACitationRenderer/citationTypes.js +2 -0
  5. package/dist/cjs/features/BPACitationRenderer/citationTypes.js.map +1 -0
  6. package/dist/cjs/features/CognitiveCompare/CitationAnchor.js +1 -1
  7. package/dist/cjs/features/CognitiveCompare/CitationRenderer.js +1 -1
  8. package/dist/cjs/features/CognitiveCompare/CognitiveCompare.js +1 -1
  9. package/dist/cjs/features/CognitiveCompare/CognitiveComparehelpers.js +1 -1
  10. package/dist/cjs/features/CognitiveCompare/CognitivePopup.js +1 -1
  11. package/dist/cjs/features/CognitiveCompare/MoreFunctionsPopup.js +1 -1
  12. package/dist/cjs/features/CognitiveCompare/components/RHSSectionRow.js +1 -1
  13. package/dist/cjs/features/CognitiveCompare/components/SectionAccordion.js +1 -1
  14. package/dist/cjs/features/CognitiveCompare/components/SubSectionAccordion.js +1 -1
  15. package/dist/cjs/features/CognitiveCompare/components/SvgConnectors.js +1 -1
  16. package/dist/cjs/features/CognitiveCompare/components/connectedLines.js +1 -1
  17. package/dist/cjs/features/CognitiveCompare/hooks/memoizedMarkdown.js +1 -1
  18. package/dist/cjs/features/CognitiveCompare/hooks/useCompareData.js +1 -1
  19. package/dist/cjs/features/CognitiveCompare/hooks/useLinesCalculator.js +1 -1
  20. package/dist/cjs/features/CognitiveCompare/hooks/useSideBySide.js +1 -1
  21. package/dist/cjs/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.js +1 -1
  22. package/dist/cjs/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.js +1 -1
  23. package/dist/cjs/features/CognitiveInternalgptReasoning/CognitiveNonWebSearchReasoning.module.css.js +1 -1
  24. package/dist/cjs/features/DualCitation/RuleBookCitationApiComponent.js +2 -0
  25. package/dist/cjs/features/DualCitation/RuleBookCitationApiComponent.js.map +1 -0
  26. package/dist/cjs/features/DualCitation/RuleBookCitationComponent.js +2 -0
  27. package/dist/cjs/features/DualCitation/RuleBookCitationComponent.js.map +1 -0
  28. package/dist/cjs/features/DualCitation/SourceBQDataCompnent.js +2 -0
  29. package/dist/cjs/features/DualCitation/SourceBQDataCompnent.js.map +1 -0
  30. package/dist/cjs/features/DualCitation/SourceBQDataCompnent.module.css.js +2 -0
  31. package/dist/cjs/features/DualCitation/SourceBQDataCompnent.module.css.js.map +1 -0
  32. package/dist/cjs/features/GptWebCitation/GptWebCitationMarkdown.js +2 -0
  33. package/dist/cjs/features/GptWebCitation/GptWebCitationMarkdown.js.map +1 -0
  34. package/dist/cjs/features/InstantLearningCitation/InstantLearningCitationComponent.js +1 -1
  35. package/dist/cjs/features/PromptemonBlockViewer/PromptemonBlockViewer.js +2 -0
  36. package/dist/cjs/features/PromptemonBlockViewer/PromptemonBlockViewer.js.map +1 -0
  37. package/dist/cjs/features/PromptemonViewer/PromptemonViewer.js +2 -0
  38. package/dist/cjs/features/PromptemonViewer/PromptemonViewer.js.map +1 -0
  39. package/dist/cjs/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CitationAnchor.js +1 -1
  40. package/dist/cjs/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CognitiveComponent.js +1 -1
  41. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Popups/RedlineToast.js +1 -1
  42. package/dist/cjs/features/RequirementAI/components/UserStoryCard/UserStoryCard.js +1 -1
  43. package/dist/cjs/features/RulebookCitations/RuleBookCitationApi.js +1 -1
  44. package/dist/cjs/features/RulebookCitations/RuleBookCitationWrapper.js +1 -1
  45. package/dist/cjs/features/SplitterCitations/SplitterCitationsComponent.js +1 -1
  46. package/dist/cjs/features/SplitterCitations/icons/icons.js +2 -0
  47. package/dist/cjs/features/SplitterCitations/icons/icons.js.map +1 -0
  48. package/dist/cjs/features/TextualGuidelines/TextualGuideLinesComponent.js +1 -1
  49. package/dist/cjs/features/TextualGuidelines/TextualGuidelines.module.css.js +1 -1
  50. package/dist/cjs/hooks/useOnDemandCitationFetch.js +1 -1
  51. package/dist/cjs/index.js +1 -1
  52. package/dist/cjs/service/onDemandApi.js +1 -1
  53. package/dist/features/BPACitationRenderer/BPACitationRenderer.js +2 -0
  54. package/dist/features/BPACitationRenderer/BPACitationRenderer.js.map +1 -0
  55. package/dist/features/BPACitationRenderer/citationTypes.js +2 -0
  56. package/dist/features/BPACitationRenderer/citationTypes.js.map +1 -0
  57. package/dist/features/CognitiveCompare/CitationAnchor.js +1 -1
  58. package/dist/features/CognitiveCompare/CitationRenderer.js +1 -1
  59. package/dist/features/CognitiveCompare/CognitiveCompare.js +1 -1
  60. package/dist/features/CognitiveCompare/CognitiveComparehelpers.js +1 -1
  61. package/dist/features/CognitiveCompare/CognitivePopup.js +1 -1
  62. package/dist/features/CognitiveCompare/MoreFunctionsPopup.js +1 -1
  63. package/dist/features/CognitiveCompare/components/RHSSectionRow.js +1 -1
  64. package/dist/features/CognitiveCompare/components/SectionAccordion.js +1 -1
  65. package/dist/features/CognitiveCompare/components/SubSectionAccordion.js +1 -1
  66. package/dist/features/CognitiveCompare/components/SvgConnectors.js +1 -1
  67. package/dist/features/CognitiveCompare/components/connectedLines.js +1 -1
  68. package/dist/features/CognitiveCompare/hooks/memoizedMarkdown.js +1 -1
  69. package/dist/features/CognitiveCompare/hooks/useCompareData.js +1 -1
  70. package/dist/features/CognitiveCompare/hooks/useLinesCalculator.js +1 -1
  71. package/dist/features/CognitiveCompare/hooks/useSideBySide.js +1 -1
  72. package/dist/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.js +1 -1
  73. package/dist/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.js +1 -1
  74. package/dist/features/CognitiveInternalgptReasoning/CognitiveNonWebSearchReasoning.module.css.js +1 -1
  75. package/dist/features/DualCitation/RuleBookCitationApiComponent.js +2 -0
  76. package/dist/features/DualCitation/RuleBookCitationApiComponent.js.map +1 -0
  77. package/dist/features/DualCitation/RuleBookCitationComponent.js +2 -0
  78. package/dist/features/DualCitation/RuleBookCitationComponent.js.map +1 -0
  79. package/dist/features/DualCitation/SourceBQDataCompnent.js +2 -0
  80. package/dist/features/DualCitation/SourceBQDataCompnent.js.map +1 -0
  81. package/dist/features/DualCitation/SourceBQDataCompnent.module.css.js +2 -0
  82. package/dist/features/DualCitation/SourceBQDataCompnent.module.css.js.map +1 -0
  83. package/dist/features/GptWebCitation/GptWebCitationMarkdown.js +2 -0
  84. package/dist/features/GptWebCitation/GptWebCitationMarkdown.js.map +1 -0
  85. package/dist/features/InstantLearningCitation/InstantLearningCitationComponent.js +1 -1
  86. package/dist/features/PromptemonBlockViewer/PromptemonBlockViewer.js +2 -0
  87. package/dist/features/PromptemonBlockViewer/PromptemonBlockViewer.js.map +1 -0
  88. package/dist/features/PromptemonViewer/PromptemonViewer.js +2 -0
  89. package/dist/features/PromptemonViewer/PromptemonViewer.js.map +1 -0
  90. package/dist/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CitationAnchor.js +1 -1
  91. package/dist/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CognitiveComponent.js +1 -1
  92. package/dist/features/RequirementAI/components/UserStoryCard/Popups/RedlineToast.js +1 -1
  93. package/dist/features/RequirementAI/components/UserStoryCard/UserStoryCard.js +1 -1
  94. package/dist/features/RulebookCitations/RuleBookCitationApi.js +1 -1
  95. package/dist/features/RulebookCitations/RuleBookCitationWrapper.js +1 -1
  96. package/dist/features/SplitterCitations/SplitterCitationsComponent.js +1 -1
  97. package/dist/features/SplitterCitations/icons/icons.js +2 -0
  98. package/dist/features/SplitterCitations/icons/icons.js.map +1 -0
  99. package/dist/features/TextualGuidelines/TextualGuideLinesComponent.js +1 -1
  100. package/dist/features/TextualGuidelines/TextualGuidelines.module.css.js +1 -1
  101. package/dist/hooks/useOnDemandCitationFetch.js +1 -1
  102. package/dist/index.js +1 -1
  103. package/dist/service/onDemandApi.js +1 -1
  104. package/dist/types/src/CognitiveCompareTest.d.ts.map +1 -1
  105. package/dist/types/src/PromptemonBlockViewerTest.d.ts +3 -0
  106. package/dist/types/src/PromptemonBlockViewerTest.d.ts.map +1 -0
  107. package/dist/types/src/PromptemonViewerTest.d.ts +3 -0
  108. package/dist/types/src/PromptemonViewerTest.d.ts.map +1 -0
  109. package/dist/types/src/RedlineApprovalCardTest.d.ts +1 -0
  110. package/dist/types/src/RedlineApprovalCardTest.d.ts.map +1 -0
  111. package/dist/types/src/RedlineEditorTest2.d.ts +3 -0
  112. package/dist/types/src/RedlineEditorTest2.d.ts.map +1 -0
  113. package/dist/types/src/commonConstants.d.ts +31103 -0
  114. package/dist/types/src/commonConstants.d.ts.map +1 -0
  115. package/dist/types/src/features/BPACitationRenderer/BPACitationRenderer.d.ts +5 -0
  116. package/dist/types/src/features/BPACitationRenderer/BPACitationRenderer.d.ts.map +1 -0
  117. package/dist/types/src/features/BPACitationRenderer/BPACitationRenderer.types.d.ts +229 -0
  118. package/dist/types/src/features/BPACitationRenderer/BPACitationRenderer.types.d.ts.map +1 -0
  119. package/dist/types/src/features/BPACitationRenderer/BPACitationRendererTest.d.ts +6 -0
  120. package/dist/types/src/features/BPACitationRenderer/BPACitationRendererTest.d.ts.map +1 -0
  121. package/dist/types/src/features/BPACitationRenderer/DualRuleBookBqCitationTest.d.ts +4 -0
  122. package/dist/types/src/features/BPACitationRenderer/DualRuleBookBqCitationTest.d.ts.map +1 -0
  123. package/dist/types/src/features/BPACitationRenderer/DualRuleBookGptCitationTest.d.ts +4 -0
  124. package/dist/types/src/features/BPACitationRenderer/DualRuleBookGptCitationTest.d.ts.map +1 -0
  125. package/dist/types/src/features/BPACitationRenderer/ILRuleBookCitationTest.d.ts +4 -0
  126. package/dist/types/src/features/BPACitationRenderer/ILRuleBookCitationTest.d.ts.map +1 -0
  127. package/dist/types/src/features/BPACitationRenderer/citationTypes.d.ts +15 -0
  128. package/dist/types/src/features/BPACitationRenderer/citationTypes.d.ts.map +1 -0
  129. package/dist/types/src/features/CognitiveCompare/CitationAnchor.d.ts +0 -2
  130. package/dist/types/src/features/CognitiveCompare/CitationAnchor.d.ts.map +1 -1
  131. package/dist/types/src/features/CognitiveCompare/CitationRenderer.d.ts +1 -2
  132. package/dist/types/src/features/CognitiveCompare/CitationRenderer.d.ts.map +1 -1
  133. package/dist/types/src/features/CognitiveCompare/CognitiveCompare.d.ts +1 -1
  134. package/dist/types/src/features/CognitiveCompare/CognitiveCompare.d.ts.map +1 -1
  135. package/dist/types/src/features/CognitiveCompare/CognitiveCompareTypes.d.ts +0 -19
  136. package/dist/types/src/features/CognitiveCompare/CognitiveCompareTypes.d.ts.map +1 -1
  137. package/dist/types/src/features/CognitiveCompare/CognitiveComparehelpers.d.ts +1 -19
  138. package/dist/types/src/features/CognitiveCompare/CognitiveComparehelpers.d.ts.map +1 -1
  139. package/dist/types/src/features/CognitiveCompare/CognitivePopup.d.ts.map +1 -1
  140. package/dist/types/src/features/CognitiveCompare/CompareContext.d.ts +1 -5
  141. package/dist/types/src/features/CognitiveCompare/CompareContext.d.ts.map +1 -1
  142. package/dist/types/src/features/CognitiveCompare/Guidelines/constants/guidelines.mockData.d.ts +1256 -553
  143. package/dist/types/src/features/CognitiveCompare/Guidelines/constants/guidelines.mockData.d.ts.map +1 -1
  144. package/dist/types/src/features/CognitiveCompare/MoreFunctionsPopup.d.ts +0 -2
  145. package/dist/types/src/features/CognitiveCompare/MoreFunctionsPopup.d.ts.map +1 -1
  146. package/dist/types/src/features/CognitiveCompare/components/RHSSectionRow.d.ts.map +1 -1
  147. package/dist/types/src/features/CognitiveCompare/components/SectionAccordion.d.ts.map +1 -1
  148. package/dist/types/src/features/CognitiveCompare/components/SubSectionAccordion.d.ts +0 -1
  149. package/dist/types/src/features/CognitiveCompare/components/SubSectionAccordion.d.ts.map +1 -1
  150. package/dist/types/src/features/CognitiveCompare/components/SvgConnectors.d.ts +1 -2
  151. package/dist/types/src/features/CognitiveCompare/components/SvgConnectors.d.ts.map +1 -1
  152. package/dist/types/src/features/CognitiveCompare/components/connectedLines.d.ts +0 -1
  153. package/dist/types/src/features/CognitiveCompare/components/connectedLines.d.ts.map +1 -1
  154. package/dist/types/src/features/CognitiveCompare/hooks/memoizedMarkdown.d.ts.map +1 -1
  155. package/dist/types/src/features/CognitiveCompare/hooks/useCompareData.d.ts +1 -2
  156. package/dist/types/src/features/CognitiveCompare/hooks/useCompareData.d.ts.map +1 -1
  157. package/dist/types/src/features/CognitiveCompare/hooks/useCompareLayout.d.ts +1 -0
  158. package/dist/types/src/features/CognitiveCompare/hooks/useCompareLayout.d.ts.map +1 -1
  159. package/dist/types/src/features/CognitiveCompare/hooks/useLinesCalculator.d.ts +1 -1
  160. package/dist/types/src/features/CognitiveCompare/hooks/useLinesCalculator.d.ts.map +1 -1
  161. package/dist/types/src/features/CognitiveCompare/hooks/useSideBySide.d.ts +1 -1
  162. package/dist/types/src/features/CognitiveCompare/hooks/useSideBySide.d.ts.map +1 -1
  163. package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.d.ts +4 -0
  164. package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.d.ts.map +1 -1
  165. package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.d.ts +2 -0
  166. package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.d.ts.map +1 -1
  167. package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveNonWebSearchReasoning.types.d.ts +162 -0
  168. package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveNonWebSearchReasoning.types.d.ts.map +1 -0
  169. package/dist/types/src/features/DualCitation/RuleBookCitationApiComponent.d.ts +20 -0
  170. package/dist/types/src/features/DualCitation/RuleBookCitationApiComponent.d.ts.map +1 -0
  171. package/dist/types/src/features/DualCitation/RuleBookCitationComponent.d.ts +31 -0
  172. package/dist/types/src/features/DualCitation/RuleBookCitationComponent.d.ts.map +1 -0
  173. package/dist/types/src/features/DualCitation/SourceBQDataCompnent.d.ts +36 -0
  174. package/dist/types/src/features/DualCitation/SourceBQDataCompnent.d.ts.map +1 -0
  175. package/dist/types/src/features/InstantLearningCitation/InstantLearningCitationComponent.d.ts +15 -2
  176. package/dist/types/src/features/InstantLearningCitation/InstantLearningCitationComponent.d.ts.map +1 -1
  177. package/dist/types/src/features/InstantLearningCitation/InstantLearningCitationTest.d.ts.map +1 -1
  178. package/dist/types/src/features/InstantLearningCitation/types/Types.d.ts +5 -1
  179. package/dist/types/src/features/InstantLearningCitation/types/Types.d.ts.map +1 -1
  180. package/dist/types/src/features/PromptemonBlockViewer/PromptemonBlockViewer.d.ts +11 -0
  181. package/dist/types/src/features/PromptemonBlockViewer/PromptemonBlockViewer.d.ts.map +1 -0
  182. package/dist/types/src/features/PromptemonBlockViewer/index.d.ts +3 -0
  183. package/dist/types/src/features/PromptemonBlockViewer/index.d.ts.map +1 -0
  184. package/dist/types/src/features/PromptemonViewer/PromptemonViewer.d.ts +43 -0
  185. package/dist/types/src/features/PromptemonViewer/PromptemonViewer.d.ts.map +1 -0
  186. package/dist/types/src/features/PromptemonViewer/index.d.ts +3 -0
  187. package/dist/types/src/features/PromptemonViewer/index.d.ts.map +1 -0
  188. package/dist/types/src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CitationAnchor.d.ts +8 -0
  189. package/dist/types/src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CitationAnchor.d.ts.map +1 -1
  190. package/dist/types/src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CognitiveComponent.d.ts +1 -1
  191. package/dist/types/src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CognitiveComponent.d.ts.map +1 -1
  192. package/dist/types/src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/userstory.mock.data.d.ts +3047 -0
  193. package/dist/types/src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/userstory.mock.data.d.ts.map +1 -1
  194. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/RedlineToast.d.ts +2 -1
  195. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/RedlineToast.d.ts.map +1 -1
  196. package/dist/types/src/features/RequirementAI/components/UserStoryCard/UserStoryCard.d.ts.map +1 -1
  197. package/dist/types/src/features/RulebookCitations/RuleBookCitation.types.d.ts +40 -0
  198. package/dist/types/src/features/RulebookCitations/RuleBookCitation.types.d.ts.map +1 -0
  199. package/dist/types/src/features/RulebookCitations/RuleBookCitationApi.d.ts +2 -15
  200. package/dist/types/src/features/RulebookCitations/RuleBookCitationApi.d.ts.map +1 -1
  201. package/dist/types/src/features/RulebookCitations/RuleBookCitationWrapper.d.ts +19 -5
  202. package/dist/types/src/features/RulebookCitations/RuleBookCitationWrapper.d.ts.map +1 -1
  203. package/dist/types/src/features/RulebookCitations/RuleBookCitationWrapperTest.d.ts +0 -2
  204. package/dist/types/src/features/RulebookCitations/RuleBookCitationWrapperTest.d.ts.map +1 -1
  205. package/dist/types/src/features/SplitterCitations/SplitterCitationsComponent.d.ts +1 -20
  206. package/dist/types/src/features/SplitterCitations/SplitterCitationsComponent.d.ts.map +1 -1
  207. package/dist/types/src/features/SplitterCitations/icons/icons.d.ts +17 -0
  208. package/dist/types/src/features/SplitterCitations/icons/icons.d.ts.map +1 -0
  209. package/dist/types/src/features/SplitterCitations/types.d.ts +78 -0
  210. package/dist/types/src/features/SplitterCitations/types.d.ts.map +1 -0
  211. package/dist/types/src/features/TextualGuidelines/TextualGuideLinesComponent.d.ts +13 -1
  212. package/dist/types/src/features/TextualGuidelines/TextualGuideLinesComponent.d.ts.map +1 -1
  213. package/dist/types/src/features/TextualGuidelines/TextualGuidelines.types.d.ts +81 -0
  214. package/dist/types/src/features/TextualGuidelines/TextualGuidelines.types.d.ts.map +1 -0
  215. package/dist/types/src/index.d.ts +10 -1
  216. package/dist/types/src/index.d.ts.map +1 -1
  217. package/dist/types/src/service/onDemandApi.d.ts.map +1 -1
  218. package/package.json +17 -7
  219. package/dist/cjs/features/CognitiveCompare/Guidelines/utils/helper.js +0 -2
  220. package/dist/cjs/features/CognitiveCompare/Guidelines/utils/helper.js.map +0 -1
  221. package/dist/features/CognitiveCompare/Guidelines/utils/helper.js +0 -2
  222. package/dist/features/CognitiveCompare/Guidelines/utils/helper.js.map +0 -1
  223. package/dist/types/src/constants/deviationData.d.ts +0 -887
  224. package/dist/types/src/constants/deviationData.d.ts.map +0 -1
  225. package/dist/types/src/constants/treeData.d.ts +0 -732
  226. package/dist/types/src/constants/treeData.d.ts.map +0 -1
  227. package/dist/types/src/features/CognitiveCompare/Guidelines/utils/helper.d.ts +0 -11
  228. package/dist/types/src/features/CognitiveCompare/Guidelines/utils/helper.d.ts.map +0 -1
  229. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/BlockedPopup.d.ts +0 -8
  230. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/BlockedPopup.d.ts.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PromptemonBlockViewer.d.ts","sourceRoot":"","sources":["../../../../../src/features/PromptemonBlockViewer/PromptemonBlockViewer.tsx"],"names":[],"mappings":"AAgBA,MAAM,WAAW,0BAA0B;IACvC,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC9B;AAwQD,QAAA,MAAM,qBAAqB,6EAOxB,0BAA0B,4CA6G5B,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { default as PromptemonBlockViewer } from "./PromptemonBlockViewer";
2
+ export type { PromptemonBlockViewerProps } from "./PromptemonBlockViewer";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/PromptemonBlockViewer/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAC3E,YAAY,EAAE,0BAA0B,EAAE,MAAM,yBAAyB,CAAC"}
@@ -0,0 +1,43 @@
1
+ export interface SPBCategory {
2
+ category_id: string;
3
+ category_name: string;
4
+ description?: string | null;
5
+ }
6
+ export interface SPBSubCategory {
7
+ sub_category_id: string;
8
+ sub_category_name: string;
9
+ category_id: string;
10
+ description?: string | null;
11
+ }
12
+ export interface PromptemonViewerProps {
13
+ block: any;
14
+ onBlockUpdate: (updatedBlock: any) => void;
15
+ isExtracting: boolean;
16
+ isExtracted: boolean;
17
+ onExtractSegments: () => void;
18
+ isSaving: boolean;
19
+ isSaved: boolean;
20
+ onSave: () => void;
21
+ onBack: () => void;
22
+ title?: string;
23
+ categories: SPBCategory[];
24
+ subCategories: SPBSubCategory[];
25
+ selectedCategoryId: string;
26
+ selectedSubCategoryId: string;
27
+ onCategoryChange: (id: string) => void;
28
+ onSubCategoryChange: (id: string) => void;
29
+ onAddCategory?: (data: {
30
+ name: string;
31
+ description: string;
32
+ }) => Promise<void>;
33
+ onAddSubCategory?: (data: {
34
+ name: string;
35
+ description: string;
36
+ categoryId: string;
37
+ }) => Promise<void>;
38
+ showEditMode?: boolean;
39
+ showExtractSegments?: boolean;
40
+ }
41
+ declare const PromptemonViewer: ({ block, onBlockUpdate, isExtracting, isExtracted, onExtractSegments, isSaving, isSaved, onSave, onBack, title, categories, subCategories, selectedCategoryId, selectedSubCategoryId, onCategoryChange, onSubCategoryChange, showEditMode, showExtractSegments, }: PromptemonViewerProps) => import("react/jsx-runtime").JSX.Element;
42
+ export default PromptemonViewer;
43
+ //# sourceMappingURL=PromptemonViewer.d.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C;IAC/E,gBAAgB,CAAC,EAAE,CAAC,IAAI,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,WAAW,EAAE,MAAM,CAAC;QAAC,UAAU,EAAE,MAAM,CAAA;KAAE,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACtG,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,mBAAmB,CAAC,EAAE,OAAO,CAAC;CACjC;AAuoBD,QAAA,MAAM,gBAAgB,sQAmBnB,qBAAqB,4CA0IvB,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { default as PromptemonViewer } from "./PromptemonViewer";
2
+ export type { PromptemonViewerProps, SPBCategory, SPBSubCategory } from "./PromptemonViewer";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/PromptemonViewer/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACjE,YAAY,EAAE,qBAAqB,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC"}
@@ -2,6 +2,14 @@ import React, { CSSProperties } from "react";
2
2
  interface CitationAnchorProps {
3
3
  href: string;
4
4
  children: any;
5
+ secondaryCitation?: {
6
+ href?: string;
7
+ title?: string;
8
+ type?: string;
9
+ reason?: string;
10
+ phraseToHighlight?: string;
11
+ occurrenceIndex?: number;
12
+ };
5
13
  chevronUpComponent?: React.ReactNode;
6
14
  chevronDownComponent?: React.ReactNode;
7
15
  customStyle?: {
@@ -1 +1 @@
1
- {"version":3,"file":"CitationAnchor.d.ts","sourceRoot":"","sources":["../../../../../../../../src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CitationAnchor.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,EACV,aAAa,EAIhB,MAAM,OAAO,CAAC;AAKf,UAAU,mBAAmB;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,GAAG,CAAC;IACd,kBAAkB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACrC,oBAAoB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvC,WAAW,CAAC,EAAE;QACV,qBAAqB,CAAC,EAAE,aAAa,CAAC;QACtC,KAAK,CAAC,EAAE,aAAa,CAAC;QACtB,cAAc,CAAC,EAAE,aAAa,CAAC;QAC/B,iBAAiB,CAAC,EAAE,aAAa,CAAC;QAClC,UAAU,CAAC,EAAE,aAAa,CAAC;QAC3B,QAAQ,CAAC,EAAE,aAAa,CAAC;QACzB,SAAS,CAAC,EAAE,aAAa,CAAC;QAC1B,eAAe,CAAC,EAAE,aAAa,CAAC;QAChC,eAAe,CAAC,EAAE,aAAa,CAAC;QAChC,mBAAmB,CAAC,EAAE,aAAa,CAAC;QACpC,eAAe,CAAC,EAAE,aAAa,CAAC;QAChC,oBAAoB,CAAC,EAAE,aAAa,CAAC;QACrC,eAAe,CAAC,EAAE,aAAa,CAAC;KACnC,CAAC;IACF,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,QAAQ,CAAC,EAAE,GAAG,CAAC;CAClB;AAuFD,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CA+JjD,CAAC;AAEF,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"CitationAnchor.d.ts","sourceRoot":"","sources":["../../../../../../../../src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CitationAnchor.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,EACV,aAAa,EAIhB,MAAM,OAAO,CAAC;AAef,UAAU,mBAAmB;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,GAAG,CAAC;IACd,iBAAiB,CAAC,EAAE;QAChB,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,iBAAiB,CAAC,EAAE,MAAM,CAAC;QAC3B,eAAe,CAAC,EAAE,MAAM,CAAC;KAC5B,CAAC;IACF,kBAAkB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACrC,oBAAoB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvC,WAAW,CAAC,EAAE;QACV,qBAAqB,CAAC,EAAE,aAAa,CAAC;QACtC,KAAK,CAAC,EAAE,aAAa,CAAC;QACtB,cAAc,CAAC,EAAE,aAAa,CAAC;QAC/B,iBAAiB,CAAC,EAAE,aAAa,CAAC;QAClC,UAAU,CAAC,EAAE,aAAa,CAAC;QAC3B,QAAQ,CAAC,EAAE,aAAa,CAAC;QACzB,SAAS,CAAC,EAAE,aAAa,CAAC;QAC1B,eAAe,CAAC,EAAE,aAAa,CAAC;QAChC,eAAe,CAAC,EAAE,aAAa,CAAC;QAChC,mBAAmB,CAAC,EAAE,aAAa,CAAC;QACpC,eAAe,CAAC,EAAE,aAAa,CAAC;QAChC,oBAAoB,CAAC,EAAE,aAAa,CAAC;QACrC,eAAe,CAAC,EAAE,aAAa,CAAC;KACnC,CAAC;IACF,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,QAAQ,CAAC,EAAE,GAAG,CAAC;CAClB;AAoWD,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAiKjD,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -64,6 +64,6 @@ type Props = {
64
64
  redlineId: string;
65
65
  aiReasonId?: string;
66
66
  };
67
- declare const _default: React.MemoExoticComponent<({ item, title, relevanceScore, showRelevanceScore, reason, impact, explaination, gap, onClose, onActionTrigger, showResolveBtns, sections, leftIcon, scoreIcon, className, customStyles, markdownStyles, citationStyles, customIcons, actions, disableAllActions, actionBtnDisabledStyle, onBackClick, isImpactNeeded, cognitiveTitle, labels, chatHistory, openInFullscreenOnClick, redlineId, aiReasonId, }: Props) => import("react/jsx-runtime").JSX.Element>;
67
+ declare const _default: React.MemoExoticComponent<(props: Props) => import("react/jsx-runtime").JSX.Element>;
68
68
  export default _default;
69
69
  //# sourceMappingURL=CognitiveComponent.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CognitiveComponent.d.ts","sourceRoot":"","sources":["../../../../../../../../src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CognitiveComponent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwB,MAAM,OAAO,CAAC;AAU7C,OAAO,EAAE,yBAAyB,EAAE,oBAAoB,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAKlH,KAAK,OAAO,GAAG;IACX,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IAClC,IAAI,CAAC,EAAE,GAAG,CAAC;IACX,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,aAAa,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC;AAGF,MAAM,WAAW,oBAAoB;IACjC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CACvC;AAED,KAAK,KAAK,GAAG;IAET,IAAI,CAAC,EAAE,GAAG,CAAC;IACX,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,GA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,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,aAAa,CAAC,EAAE,MAAM,CAAC;KAC1B,CAAC;IACF,WAAW,CAAC,EAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACjC,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC;;AAiUF,wBAAsD"}
1
+ {"version":3,"file":"CognitiveComponent.d.ts","sourceRoot":"","sources":["../../../../../../../../src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CognitiveComponent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6C,MAAM,OAAO,CAAC;AAUlE,OAAO,EAAE,yBAAyB,EAAE,oBAAoB,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAKlH,KAAK,OAAO,GAAG;IACX,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IAClC,IAAI,CAAC,EAAE,GAAG,CAAC;IACX,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,aAAa,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC;AAGF,MAAM,WAAW,oBAAoB;IACjC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CACvC;AAED,KAAK,KAAK,GAAG;IAET,IAAI,CAAC,EAAE,GAAG,CAAC;IACX,KAAK,C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