@viswa-test/test-citation 0.0.132 → 0.0.133

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 (124) hide show
  1. package/dist/cjs/features/CognitiveCompare/CognitiveCompare.js +1 -1
  2. package/dist/cjs/features/CognitiveCompare/CompareContext.js +2 -0
  3. package/dist/cjs/features/CognitiveCompare/CompareContext.js.map +1 -0
  4. package/dist/cjs/features/CognitiveCompare/components/LHSSectionRow.js +2 -0
  5. package/dist/cjs/features/CognitiveCompare/components/LHSSectionRow.js.map +1 -0
  6. package/dist/cjs/features/CognitiveCompare/components/RHSSectionRow.js +2 -0
  7. package/dist/cjs/features/CognitiveCompare/components/RHSSectionRow.js.map +1 -0
  8. package/dist/cjs/features/CognitiveCompare/components/SectionAccordion.js +1 -1
  9. package/dist/cjs/features/CognitiveCompare/components/SubSectionAccordion.js +1 -1
  10. package/dist/cjs/features/CognitiveCompare/components/SvgConnectors.js +2 -0
  11. package/dist/cjs/features/CognitiveCompare/components/SvgConnectors.js.map +1 -0
  12. package/dist/cjs/features/CognitiveCompare/hooks/useComparePopups.js +1 -1
  13. package/dist/cjs/features/CognitiveCompare/hooks/useLinesCalculator.js +2 -0
  14. package/dist/cjs/features/CognitiveCompare/hooks/useLinesCalculator.js.map +1 -0
  15. package/dist/cjs/features/CognitiveCompare/hooks/useResizeHandler.js +2 -0
  16. package/dist/cjs/features/CognitiveCompare/hooks/useResizeHandler.js.map +1 -0
  17. package/dist/cjs/features/CognitiveCompare/hooks/useSideBySide.js +2 -0
  18. package/dist/cjs/features/CognitiveCompare/hooks/useSideBySide.js.map +1 -0
  19. package/dist/cjs/features/CognitiveCompare/hooks/useStyles.js +2 -0
  20. package/dist/cjs/features/CognitiveCompare/hooks/useStyles.js.map +1 -0
  21. package/dist/cjs/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.js +2 -0
  22. package/dist/cjs/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.js.map +1 -0
  23. package/dist/cjs/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.js +1 -1
  24. package/dist/cjs/features/CognitiveInternalgptReasoning/CognitiveNonWebSearchReasoning.module.css.js +1 -1
  25. package/dist/cjs/features/IngestionStatus/IngestionStatusComponent.js +2 -0
  26. package/dist/cjs/features/IngestionStatus/IngestionStatusComponent.js.map +1 -0
  27. package/dist/cjs/features/IngestionStatus/ingestion.module.css.js +2 -0
  28. package/dist/cjs/features/IngestionStatus/ingestion.module.css.js.map +1 -0
  29. package/dist/cjs/features/IngestionStatus/useIngestionStatus.js +2 -0
  30. package/dist/cjs/features/IngestionStatus/useIngestionStatus.js.map +1 -0
  31. package/dist/cjs/features/SplitterCitations/Splitter.module.css.js +1 -1
  32. package/dist/cjs/features/SplitterCitations/SplitterCitationsComponent.js +1 -1
  33. package/dist/cjs/features/TextualGuidelines/TextualGuideLinesComponent.js +2 -0
  34. package/dist/cjs/features/TextualGuidelines/TextualGuideLinesComponent.js.map +1 -0
  35. package/dist/cjs/features/TextualGuidelines/TextualGuidelines.module.css.js +2 -0
  36. package/dist/cjs/features/TextualGuidelines/TextualGuidelines.module.css.js.map +1 -0
  37. package/dist/cjs/index.js +1 -1
  38. package/dist/features/CognitiveCompare/CognitiveCompare.js +1 -1
  39. package/dist/features/CognitiveCompare/CompareContext.js +2 -0
  40. package/dist/features/CognitiveCompare/CompareContext.js.map +1 -0
  41. package/dist/features/CognitiveCompare/components/LHSSectionRow.js +2 -0
  42. package/dist/features/CognitiveCompare/components/LHSSectionRow.js.map +1 -0
  43. package/dist/features/CognitiveCompare/components/RHSSectionRow.js +2 -0
  44. package/dist/features/CognitiveCompare/components/RHSSectionRow.js.map +1 -0
  45. package/dist/features/CognitiveCompare/components/SectionAccordion.js +1 -1
  46. package/dist/features/CognitiveCompare/components/SubSectionAccordion.js +1 -1
  47. package/dist/features/CognitiveCompare/components/SvgConnectors.js +2 -0
  48. package/dist/features/CognitiveCompare/components/SvgConnectors.js.map +1 -0
  49. package/dist/features/CognitiveCompare/hooks/useComparePopups.js +1 -1
  50. package/dist/features/CognitiveCompare/hooks/useLinesCalculator.js +2 -0
  51. package/dist/features/CognitiveCompare/hooks/useLinesCalculator.js.map +1 -0
  52. package/dist/features/CognitiveCompare/hooks/useResizeHandler.js +2 -0
  53. package/dist/features/CognitiveCompare/hooks/useResizeHandler.js.map +1 -0
  54. package/dist/features/CognitiveCompare/hooks/useSideBySide.js +2 -0
  55. package/dist/features/CognitiveCompare/hooks/useSideBySide.js.map +1 -0
  56. package/dist/features/CognitiveCompare/hooks/useStyles.js +2 -0
  57. package/dist/features/CognitiveCompare/hooks/useStyles.js.map +1 -0
  58. package/dist/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.js +2 -0
  59. package/dist/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.js.map +1 -0
  60. package/dist/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.js +1 -1
  61. package/dist/features/CognitiveInternalgptReasoning/CognitiveNonWebSearchReasoning.module.css.js +1 -1
  62. package/dist/features/IngestionStatus/IngestionStatusComponent.js +2 -0
  63. package/dist/features/IngestionStatus/IngestionStatusComponent.js.map +1 -0
  64. package/dist/features/IngestionStatus/ingestion.module.css.js +2 -0
  65. package/dist/features/IngestionStatus/ingestion.module.css.js.map +1 -0
  66. package/dist/features/IngestionStatus/useIngestionStatus.js +2 -0
  67. package/dist/features/IngestionStatus/useIngestionStatus.js.map +1 -0
  68. package/dist/features/SplitterCitations/Splitter.module.css.js +1 -1
  69. package/dist/features/SplitterCitations/SplitterCitationsComponent.js +1 -1
  70. package/dist/features/TextualGuidelines/TextualGuideLinesComponent.js +2 -0
  71. package/dist/features/TextualGuidelines/TextualGuideLinesComponent.js.map +1 -0
  72. package/dist/features/TextualGuidelines/TextualGuidelines.module.css.js +2 -0
  73. package/dist/features/TextualGuidelines/TextualGuidelines.module.css.js.map +1 -0
  74. package/dist/index.js +1 -1
  75. package/dist/types/src/features/CognitiveCompare/CognitiveCompare.d.ts.map +1 -1
  76. package/dist/types/src/features/CognitiveCompare/CognitiveCompareTypes.d.ts +1 -0
  77. package/dist/types/src/features/CognitiveCompare/CognitiveCompareTypes.d.ts.map +1 -1
  78. package/dist/types/src/features/CognitiveCompare/CompareContext.d.ts +64 -0
  79. package/dist/types/src/features/CognitiveCompare/CompareContext.d.ts.map +1 -0
  80. package/dist/types/src/features/CognitiveCompare/components/LHSSectionRow.d.ts +9 -0
  81. package/dist/types/src/features/CognitiveCompare/components/LHSSectionRow.d.ts.map +1 -0
  82. package/dist/types/src/features/CognitiveCompare/components/RHSSectionRow.d.ts +9 -0
  83. package/dist/types/src/features/CognitiveCompare/components/RHSSectionRow.d.ts.map +1 -0
  84. package/dist/types/src/features/CognitiveCompare/components/SectionAccordion.d.ts +2 -30
  85. package/dist/types/src/features/CognitiveCompare/components/SectionAccordion.d.ts.map +1 -1
  86. package/dist/types/src/features/CognitiveCompare/components/SubSectionAccordion.d.ts +1 -24
  87. package/dist/types/src/features/CognitiveCompare/components/SubSectionAccordion.d.ts.map +1 -1
  88. package/dist/types/src/features/CognitiveCompare/components/SvgConnectors.d.ts +36 -0
  89. package/dist/types/src/features/CognitiveCompare/components/SvgConnectors.d.ts.map +1 -0
  90. package/dist/types/src/features/CognitiveCompare/hooks/useCompareLayout.d.ts +0 -1
  91. package/dist/types/src/features/CognitiveCompare/hooks/useCompareLayout.d.ts.map +1 -1
  92. package/dist/types/src/features/CognitiveCompare/hooks/useComparePopups.d.ts +2 -0
  93. package/dist/types/src/features/CognitiveCompare/hooks/useComparePopups.d.ts.map +1 -1
  94. package/dist/types/src/features/CognitiveCompare/hooks/useLinesCalculator.d.ts +27 -0
  95. package/dist/types/src/features/CognitiveCompare/hooks/useLinesCalculator.d.ts.map +1 -0
  96. package/dist/types/src/features/CognitiveCompare/hooks/useResizeHandler.d.ts +5 -0
  97. package/dist/types/src/features/CognitiveCompare/hooks/useResizeHandler.d.ts.map +1 -0
  98. package/dist/types/src/features/CognitiveCompare/hooks/useSectionRefs.d.ts +1 -2
  99. package/dist/types/src/features/CognitiveCompare/hooks/useSectionRefs.d.ts.map +1 -1
  100. package/dist/types/src/features/CognitiveCompare/hooks/useSideBySide.d.ts +34 -0
  101. package/dist/types/src/features/CognitiveCompare/hooks/useSideBySide.d.ts.map +1 -1
  102. package/dist/types/src/features/CognitiveCompare/hooks/useStyles.d.ts +14 -0
  103. package/dist/types/src/features/CognitiveCompare/hooks/useStyles.d.ts.map +1 -1
  104. package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.d.ts +16 -0
  105. package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.d.ts.map +1 -0
  106. package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.d.ts.map +1 -1
  107. package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningTest.d.ts +2 -0
  108. package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningTest.d.ts.map +1 -1
  109. package/dist/types/src/features/IngestionStatus/IngestionStatusComponent.d.ts +26 -0
  110. package/dist/types/src/features/IngestionStatus/IngestionStatusComponent.d.ts.map +1 -0
  111. package/dist/types/src/features/IngestionStatus/IngestionStatusComponentTest.d.ts +7 -0
  112. package/dist/types/src/features/IngestionStatus/IngestionStatusComponentTest.d.ts.map +1 -0
  113. package/dist/types/src/features/IngestionStatus/useIngestionStatus.d.ts +40 -0
  114. package/dist/types/src/features/IngestionStatus/useIngestionStatus.d.ts.map +1 -0
  115. package/dist/types/src/features/SplitterCitations/SplitterCitationsComponent.d.ts +2 -0
  116. package/dist/types/src/features/SplitterCitations/SplitterCitationsComponent.d.ts.map +1 -1
  117. package/dist/types/src/features/SplitterCitations/SplitterCitationsTest.d.ts.map +1 -1
  118. package/dist/types/src/features/TextualGuidelines/TextualGudelinesTest.d.ts +5 -0
  119. package/dist/types/src/features/TextualGuidelines/TextualGudelinesTest.d.ts.map +1 -0
  120. package/dist/types/src/features/TextualGuidelines/TextualGuideLinesComponent.d.ts +13 -0
  121. package/dist/types/src/features/TextualGuidelines/TextualGuideLinesComponent.d.ts.map +1 -0
  122. package/dist/types/src/index.d.ts +5 -0
  123. package/dist/types/src/index.d.ts.map +1 -1
  124. package/package.json +50 -11
@@ -0,0 +1,36 @@
1
+ /// <reference types="react" />
2
+ import { SectionBlock, SectionPopupState, StyleVariant } from "../CognitiveCompareTypes";
3
+ type SvgConnectorsProps = {
4
+ svgContainerRef: React.MutableRefObject<SVGSVGElement | null>;
5
+ svgDimensions: {
6
+ width: number;
7
+ height: number;
8
+ };
9
+ isResizing: boolean;
10
+ overallConnector: {
11
+ x1: number;
12
+ x2: number;
13
+ y: number;
14
+ } | null;
15
+ rootDeviationStyle: {
16
+ badgeBorder: string;
17
+ };
18
+ lines: Record<string, any>[];
19
+ isSideBySide: boolean;
20
+ activeSideBySideSection: number | string | null;
21
+ isArrowVisible: boolean;
22
+ maintainRelativeOrder: boolean | undefined;
23
+ proposedSections: SectionBlock[];
24
+ existingSections: SectionBlock[];
25
+ cognitivePopup: SectionPopupState;
26
+ activeBadgeId: string | null;
27
+ closeCognitivePopup: () => void;
28
+ setActiveBadgeId: React.Dispatch<React.SetStateAction<string | null>>;
29
+ openCognitivePopupFromState: (nextPopup: SectionPopupState) => void;
30
+ buildSectionPopupState: (anchorEl: HTMLElement | null, baseSec: SectionBlock | null, refSec: SectionBlock | null, sectionIdx: number | string, isOrphan?: boolean, style?: StyleVariant | null, rootNode?: boolean) => SectionPopupState;
31
+ connectedLines: Record<string, any>[];
32
+ pathRefs: React.MutableRefObject<Record<string, SVGPathElement | null>>;
33
+ };
34
+ export default function SvgConnectors({ svgContainerRef, svgDimensions, isResizing, overallConnector, rootDeviationStyle, lines, isSideBySide, activeSideBySideSection, isArrowVisible, maintainRelativeOrder, proposedSections, existingSections, cognitivePopup, activeBadgeId, closeCognitivePopup, setActiveBadgeId, openCognitivePopupFromState, buildSectionPopupState, connectedLines, pathRefs, }: SvgConnectorsProps): import("react/jsx-runtime").JSX.Element;
35
+ export {};
36
+ //# sourceMappingURL=SvgConnectors.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SvgConnectors.d.ts","sourceRoot":"","sources":["../../../../../../src/features/CognitiveCompare/components/SvgConnectors.tsx"],"names":[],"mappings":";AAOA,OAAO,EACL,YAAY,EACZ,iBAAiB,EACjB,YAAY,EACb,MAAM,0BAA0B,CAAC;AAgBlC,KAAK,kBAAkB,GAAG;IACxB,eAAe,EAAE,KAAK,CAAC,gBAAgB,CAAC,aAAa,GAAG,IAAI,CAAC,CAAC;IAC9D,aAAa,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;IACjD,UAAU,EAAE,OAAO,CAAC;IACpB,gBAAgB,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,EAAE,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC;IAC/D,kBAAkB,EAAE;QAAE,WAAW,EAAE,MAAM,CAAA;KAAE,CAAC;IAC5C,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,CAAC;IAC7B,YAAY,EAAE,OAAO,CAAC;IACtB,uBAAuB,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;IAChD,cAAc,EAAE,OAAO,CAAC;IACxB,qBAAqB,EAAE,OAAO,GAAG,SAAS,CAAC;IAC3C,gBAAgB,EAAE,YAAY,EAAE,CAAC;IACjC,gBAAgB,EAAE,YAAY,EAAE,CAAC;IACjC,cAAc,EAAE,iBAAiB,CAAC;IAClC,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,mBAAmB,EAAE,MAAM,IAAI,CAAC;IAChC,gBAAgB,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC,CAAC;IACtE,2BAA2B,EAAE,CAAC,SAAS,EAAE,iBAAiB,KAAK,IAAI,CAAC;IACpE,sBAAsB,EAAE,CACtB,QAAQ,EAAE,WAAW,GAAG,IAAI,EAC5B,OAAO,EAAE,YAAY,GAAG,IAAI,EAC5B,MAAM,EAAE,YAAY,GAAG,IAAI,EAC3B,UAAU,EAAE,MAAM,GAAG,MAAM,EAC3B,QAAQ,CAAC,EAAE,OAAO,EAClB,KAAK,CAAC,EAAE,YAAY,GAAG,IAAI,EAC3B,QAAQ,CAAC,EAAE,OAAO,KACf,iBAAiB,CAAC;IACvB,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,CAAC;IACtC,QAAQ,EAAE,KAAK,CAAC,gBAAgB,CAAC,MAAM,CAAC,MAAM,EAAE,cAAc,GAAG,IAAI,CAAC,CAAC,CAAC;CACzE,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,EACpC,eAAe,EACf,aAAa,EACb,UAAU,EACV,gBAAgB,EAChB,kBAAkB,EAClB,KAAK,EACL,YAAY,EACZ,uBAAuB,EACvB,cAAc,EACd,qBAAqB,EACrB,gBAAgB,EAChB,gBAAgB,EAChB,cAAc,EACd,aAAa,EACb,mBAAmB,EACnB,gBAAgB,EAChB,2BAA2B,EAC3B,sBAAsB,EACtB,cAAc,EACd,QAAQ,GACT,EAAE,kBAAkB,2CA8MpB"}
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare const useCompareLayout: (initialMaintainOrder: boolean, scrollContainerRef: React.RefObject<HTMLDivElement>, lhsBadgeRefs: any, rhsBadgeRefs: any, proposedSections: any[], existingSections: any[]) => {
3
2
  maintainRelativeOrder: boolean;
4
3
  setMaintainRelativeOrder: import("react").Dispatch<import("react").SetStateAction<boolean>>;
@@ -1 +1 @@
1
- {"version":3,"file":"useCompareLayout.d.ts","sourceRoot":"","sources":["../../../../../../src/features/CognitiveCompare/hooks/useCompareLayout.tsx"],"names":[],"mappings":";AAGA,eAAO,MAAM,gBAAgB,yBACL,OAAO,sBACT,MAAM,SAAS,CAAC,cAAc,CAAC,gBACrC,GAAG,gBACH,GAAG,oBACC,GAAG,EAAE,oBACL,GAAG,EAAE;;;;;;;;;;;;;;;;;;;;;;CAkFxB,CAAC"}
1
+ {"version":3,"file":"useCompareLayout.d.ts","sourceRoot":"","sources":["../../../../../../src/features/CognitiveCompare/hooks/useCompareLayout.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,gBAAgB,yBACL,OAAO,sBACT,MAAM,SAAS,CAAC,cAAc,CAAC,gBACrC,GAAG,gBACH,GAAG,oBACC,GAAG,EAAE,oBACL,GAAG,EAAE;;;;;;;;;;;;;;;;;;;;;;CAkFxB,CAAC"}
@@ -16,5 +16,7 @@ export declare const useComparePopups: (scrollContainerRef: React.RefObject<HTML
16
16
  closeCognitivePopup: () => void;
17
17
  closeMoreFunctionsPopup: () => void;
18
18
  recalcPosition: () => void;
19
+ handleOpenCognitiveCompare: () => void;
20
+ openCognitivePopupFromState: (nextPopup: SectionPopupState) => void;
19
21
  };
20
22
  //# sourceMappingURL=useComparePopups.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useComparePopups.d.ts","sourceRoot":"","sources":["../../../../../../src/features/CognitiveCompare/hooks/useComparePopups.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAC;AACxE,OAAO,EAAE,iBAAiB,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAG/F,eAAO,MAAM,gBAAgB,uBAAwB,MAAM,SAAS,CAAC,cAAc,CAAC;;;;;;;;;;;;;;;;CA0HnF,CAAC"}
1
+ {"version":3,"file":"useComparePopups.d.ts","sourceRoot":"","sources":["../../../../../../src/features/CognitiveCompare/hooks/useComparePopups.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAC;AACxE,OAAO,EAAE,iBAAiB,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAG/F,eAAO,MAAM,gBAAgB,uBAAwB,MAAM,SAAS,CAAC,cAAc,CAAC;;;;;;;;;;;;;;;;;6CA2GlE,iBAAiB;CAuClC,CAAC"}
@@ -0,0 +1,27 @@
1
+ /// <reference types="react" />
2
+ export declare const useLinesCalculator: ({ containerRef, leftContainerRef, rightContainerRef, svgContainerRef, pathRefs, leftHeaderRef, rightHeaderRef, proposedSections, existingSections, visibleFields, leftRefs, rightRefs, sectionLeftRefs, sectionRightRefs, subSectionLeftRefs, subSectionRightRefs, lhsBadgeRefs, rhsBadgeRefs, sectionRowRefs, expandedSections, expandedSubSections, connectedSections, isSideBySide, activeSideBySideSection, maintainRelativeOrder, cognitiveMap, getSectionCompareStyle, getSubSectionCompareStyle, getDeviationStyleByKey, isArrowVisible, isAnimatingRef, isSideBySideRef, sideBySideCacheRef, sideBySideLineRef, activeSideBySideSectionRef, activeSideBySideRightSectionRef, connectedLines: providedConnectedLines, setConnectedLines: providedSetConnectedLines, cachedConnectedPositions: providedCachedConnectedPositions, calculateLinesRef, resizeTimerRef, scrollLock, handleResizeRef, activeProposed, existingRule, analysisData, pendingScrollTargetRef, pendingScrollCallbackRef, resolvedComparisonConfig, getFieldData }: any) => {
3
+ lines: Record<string, any>[];
4
+ setLines: import("react").Dispatch<import("react").SetStateAction<Record<string, any>[]>>;
5
+ overallConnector: {
6
+ x1: number;
7
+ x2: number;
8
+ y: number;
9
+ } | null;
10
+ setOverallConnector: import("react").Dispatch<import("react").SetStateAction<{
11
+ x1: number;
12
+ x2: number;
13
+ y: number;
14
+ } | null>>;
15
+ connectedLines: any;
16
+ setConnectedLines: any;
17
+ svgDimensions: {
18
+ width: number;
19
+ height: number;
20
+ };
21
+ cachedConnectedPositions: any;
22
+ calculateLines: () => void;
23
+ calculateLinesRef: any;
24
+ calculateLinesDebounced: () => void;
25
+ handleColumnScroll: (e: any) => void;
26
+ };
27
+ //# sourceMappingURL=useLinesCalculator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useLinesCalculator.d.ts","sourceRoot":"","sources":["../../../../../../src/features/CognitiveCompare/hooks/useLinesCalculator.tsx"],"names":[],"mappings":";AAKA,eAAO,MAAM,kBAAkB,k/BAyC5B,GAAG;;;;YAG6D,MAAM;YAAM,MAAM;WAAK,MAAM;;;YAA7B,MAAM;YAAM,MAAM;WAAK,MAAM;;;;;eAIhC,MAAM;gBAAU,MAAM;;;;;;4BAgvBrC,GAAG;CAuInD,CAAA"}
@@ -0,0 +1,5 @@
1
+ export declare const useResizeHandler: ({ timerRef, ruleComponentRef, scrollContainerRef, containerRef, maintainRelativeOrder, proposedSections, existingSections, isSideBySideRef, activeSideBySideSectionRef, activeSideBySideRightSectionRef, sectionRowRefs, sectionRightRowRefs, sectionLeftRefs, sectionRightRefs, subSectionLeftRefs, subSectionRightRefs, lhsBadgeRefs, rhsBadgeRefs, leftContainerRef, rightContainerRef, calculateLinesRef, handleResizeRef: externalHandleResizeRef, setIsResizing, setIsArrowVisible, sideBySideCacheRef, cachedConnectedPositions }: any) => {
2
+ handleResize: () => void;
3
+ handleResizeRef: any;
4
+ };
5
+ //# sourceMappingURL=useResizeHandler.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useResizeHandler.d.ts","sourceRoot":"","sources":["../../../../../../src/features/CognitiveCompare/hooks/useResizeHandler.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,gBAAgB,6gBA2B1B,GAAG;;;CA6NL,CAAA"}
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- type DivRefMap<Key extends string | number = string | number> = Record<Key, React.RefObject<HTMLDivElement>>;
2
+ import { DivRefMap } from "../CognitiveCompareTypes";
3
3
  export declare const useSectionRefs: (visibleFieldKeys: string[], sectionCount: number) => {
4
4
  leftRefs: React.MutableRefObject<DivRefMap<string>>;
5
5
  rightRefs: React.MutableRefObject<DivRefMap<string>>;
@@ -16,5 +16,4 @@ export declare const useSectionRefs: (visibleFieldKeys: string[], sectionCount:
16
16
  getSubSectionRef: (side: "left" | "right", keyPath: string) => React.RefObject<HTMLDivElement>;
17
17
  getBadgeRef: (side: "left" | "right", key: string | number) => React.RefObject<HTMLDivElement>;
18
18
  };
19
- export {};
20
19
  //# sourceMappingURL=useSectionRefs.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useSectionRefs.d.ts","sourceRoot":"","sources":["../../../../../../src/features/CognitiveCompare/hooks/useSectionRefs.ts"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,KAAK,SAAS,CAAC,GAAG,SAAS,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,IAAI,MAAM,CACpE,GAAG,EACH,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,CAChC,CAAC;AAIF,eAAO,MAAM,cAAc,qBACP,MAAM,EAAE,gBACZ,MAAM;;;;;;;;;;;wBAcX,MAAM,GAAG,OAAO,OAAO,MAAM;4BAkC9B,MAAM,GAAG,MAAM;6BAKd,MAAM,GAAG,OAAO,WAAW,MAAM;wBAYjC,MAAM,GAAG,OAAO,OAAO,MAAM,GAAG,MAAM;CAuBhD,CAAC"}
1
+ {"version":3,"file":"useSectionRefs.d.ts","sourceRoot":"","sources":["../../../../../../src/features/CognitiveCompare/hooks/useSectionRefs.ts"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAMrD,eAAO,MAAM,cAAc,qBACP,MAAM,EAAE,gBACZ,MAAM;;;;;;;;;;;wBAcX,MAAM,GAAG,OAAO,OAAO,MAAM;4BAkC9B,MAAM,GAAG,MAAM;6BAKd,MAAM,GAAG,OAAO,WAAW,MAAM;wBAYjC,MAAM,GAAG,OAAO,OAAO,MAAM,GAAG,MAAM;CAuBhD,CAAC"}
@@ -1 +1,35 @@
1
+ /// <reference types="react" />
2
+ export declare const useSideBySide: ({ maintainRelativeOrder, proposedSections, existingSections, leftContainerRef, rightContainerRef, scrollContainerRef, sectionLeftRefs, sectionRightRefs, subSectionLeftRefs, subSectionRightRefs, lhsBadgeRefs, rhsBadgeRefs, sectionRowRefs, sectionRightRowRefs, rhsTopSpacerRef, rhsBottomSpacerRef, lhsTopSpacerRef, lhsBottomSpacerRef, calculateLinesRef, setConnectedSections, setConnectedLines, cachedConnectedPositions, closeMoreFunctionsPopup, setErrorToast, moreFunctions, closeSummaryPopup, }: any) => {
3
+ isSideBySide: boolean;
4
+ setIsSideBySide: import("react").Dispatch<import("react").SetStateAction<boolean>>;
5
+ isArrowVisible: boolean;
6
+ setIsArrowVisible: import("react").Dispatch<import("react").SetStateAction<boolean>>;
7
+ isResizing: boolean;
8
+ setIsResizing: import("react").Dispatch<import("react").SetStateAction<boolean>>;
9
+ isSideBySideLoading: boolean;
10
+ setIsSideBySideLoading: import("react").Dispatch<import("react").SetStateAction<boolean>>;
11
+ activeSideBySideSection: string | number | null;
12
+ setActiveSideBySideSection: import("react").Dispatch<import("react").SetStateAction<string | number | null>>;
13
+ scrollLock: import("react").MutableRefObject<boolean>;
14
+ sideBySideCacheRef: import("react").MutableRefObject<{
15
+ badgeScreenY: number;
16
+ initialScrollTop: number;
17
+ leftTop: number;
18
+ leftBottom: number;
19
+ cTop: number;
20
+ } | null>;
21
+ isSideBySideRef: import("react").MutableRefObject<boolean>;
22
+ activeSideBySideSectionRef: import("react").MutableRefObject<string | number | null>;
23
+ activeSideBySideRightSectionRef: import("react").MutableRefObject<string | number | null>;
24
+ sideBySideLineRef: import("react").MutableRefObject<SVGLineElement | null>;
25
+ highlightedClauseRefs: import("react").MutableRefObject<Set<HTMLElement>>;
26
+ clearClauseHighlight: () => void;
27
+ applyAlignmentPadding: (isSub: boolean, idx: any, activeRightIdx: any) => void;
28
+ resetSideBySide: () => void;
29
+ activateSideBySide: (idx: number | string, isOrphan: boolean, options?: {
30
+ toggleIfSame?: boolean | undefined;
31
+ onReady?: (() => void) | undefined;
32
+ sourceSide?: "left" | "right" | undefined;
33
+ } | undefined) => void;
34
+ };
1
35
  //# sourceMappingURL=useSideBySide.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useSideBySide.d.ts","sourceRoot":"","sources":["../../../../../../src/features/CognitiveCompare/hooks/useSideBySide.tsx"],"names":[],"mappings":""}
1
+ {"version":3,"file":"useSideBySide.d.ts","sourceRoot":"","sources":["../../../../../../src/features/CognitiveCompare/hooks/useSideBySide.tsx"],"names":[],"mappings":";AAGA,eAAO,MAAM,aAAa,mfAavB,GAAG;;;;;;;;;;;;;sBAUgD,MAAM;0BAAoB,MAAM;iBAAW,MAAM;oBAAc,MAAM;cAAQ,MAAM;;;;;;;;mCAe/F,OAAO,OAAO,GAAG,kBAAkB,GAAG;;8BAgG/D,MAAM,GAAG,MAAM,YACV,OAAO;;yBACmC,IAAI;;;CA0PnE,CAAA"}
@@ -1 +1,15 @@
1
+ import { SectionBlock, StyleVariant } from "../CognitiveCompareTypes";
2
+ export declare const useStyleHelpers: ({ proposedSections, existingSections, maintainRelativeOrder, cognitiveMap, deviationData, treeData, resolvedComparisonConfig }: {
3
+ proposedSections: SectionBlock[];
4
+ existingSections: SectionBlock[];
5
+ maintainRelativeOrder: boolean;
6
+ cognitiveMap: any;
7
+ deviationData: any;
8
+ treeData: any;
9
+ resolvedComparisonConfig: any;
10
+ }) => {
11
+ getSectionCompareStyle: (idx: number, side?: "left" | "right") => StyleVariant | null;
12
+ getSubSectionCompareStyle: (keyPath: string) => StyleVariant | null;
13
+ getDeviationStyleByKey: (nodeId: string, deviationKey: string) => StyleVariant | null;
14
+ };
1
15
  //# sourceMappingURL=useStyles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useStyles.d.ts","sourceRoot":"","sources":["../../../../../../src/features/CognitiveCompare/hooks/useStyles.tsx"],"names":[],"mappings":""}
1
+ {"version":3,"file":"useStyles.d.ts","sourceRoot":"","sources":["../../../../../../src/features/CognitiveCompare/hooks/useStyles.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAEtE,eAAO,MAAM,eAAe;sBAAuJ,YAAY,EAAE;sBAAoB,YAAY,EAAE;2BAAyB,OAAO;kBAAgB,GAAG;mBAAiB,GAAG;cAAY,GAAG;8BAA4B,GAAG;;kCAE9U,MAAM,SAAQ,MAAM,GAAG,OAAO,KAAY,YAAY,GAAG,IAAI;yCA0DrD,MAAM,KAAG,YAAY,GAAG,IAAI;qCA0D7B,MAAM,gBAAgB,MAAM,KAAG,YAAY,GAAG,IAAI;CA0ClE,CAAA"}
@@ -0,0 +1,16 @@
1
+ /// <reference types="react" />
2
+ import type { INonReasoningSource, NonWebReasoningIconsConfig } from "./CognitiveInternalgptReasoningComponent";
3
+ export type CognitiveInternalgptCoreProps = {
4
+ item: INonReasoningSource;
5
+ headerTitle: string;
6
+ index?: number;
7
+ iconsConfig?: NonWebReasoningIconsConfig;
8
+ DocumentTitle?: string;
9
+ previewCallback?: () => void;
10
+ bodyHeight?: string;
11
+ disableMaximize?: boolean;
12
+ splitterCustomStyle?: boolean;
13
+ };
14
+ declare const CognitiveInternalgptCoreComponent: React.FC<CognitiveInternalgptCoreProps>;
15
+ export default CognitiveInternalgptCoreComponent;
16
+ //# sourceMappingURL=CognitiveInternalgptCoreComponent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CognitiveInternalgptCoreComponent.d.ts","sourceRoot":"","sources":["../../../../../src/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.tsx"],"names":[],"mappings":";AAGA,OAAO,KAAK,EAAE,mBAAmB,EAAE,0BAA0B,EAAE,MAAM,0CAA0C,CAAC;AAgBhH,MAAM,MAAM,6BAA6B,GAAG;IAC1C,IAAI,EAAE,mBAAmB,CAAC;IAC1B,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,0BAA0B,CAAC;IACzC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,eAAe,CAAC,EAAE,MAAM,IAAI,CAAC;IAC7B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,mBAAmB,CAAC,EAAE,OAAO,CAAC;CAC/B,CAAC;AAiBF,QAAA,MAAM,iCAAiC,EAAE,KAAK,CAAC,EAAE,CAAC,6BAA6B,CA4V9E,CAAC;AAEF,eAAe,iCAAiC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"CognitiveInternalgptReasoningComponent.d.ts","sourceRoot":"","sources":["../../../../../src/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.tsx"],"names":[],"mappings":";AAKA,MAAM,MAAM,mBAAmB,GAAG;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG;IACvC,eAAe,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC;IACpC,aAAa,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC;IAClC,YAAY,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC;IACjC,SAAS,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC;CAC/B,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IACjC,IAAI,EAAE,mBAAmB,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,0BAA0B,CAAC;IACzC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,IAAI,CAAC;IAC7B,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,QAAA,MAAM,6BAA6B,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAsdjE,CAAC;AAEF,eAAe,6BAA6B,CAAC"}
1
+ {"version":3,"file":"CognitiveInternalgptReasoningComponent.d.ts","sourceRoot":"","sources":["../../../../../src/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.tsx"],"names":[],"mappings":";AAIA,MAAM,MAAM,mBAAmB,GAAG;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG;IACvC,eAAe,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC;IACpC,aAAa,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC;IAClC,YAAY,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC;IACjC,SAAS,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC;CAC/B,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IACjC,IAAI,EAAE,mBAAmB,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,0BAA0B,CAAC;IACzC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,IAAI,CAAC;IAC7B,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,QAAA,MAAM,6BAA6B,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAkDjE,CAAC;AAEF,eAAe,6BAA6B,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { INonReasoningSource } from "./CognitiveInternalgptReasoningComponent";
2
+ export declare const dummyNonWebReasoningData: INonReasoningSource;
1
3
  declare const InternalgptReasoningTest: () => import("react/jsx-runtime").JSX.Element;
2
4
  export default InternalgptReasoningTest;
3
5
  //# sourceMappingURL=CognitiveInternalgptReasoningTest.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CognitiveInternalgptReasoningTest.d.ts","sourceRoot":"","sources":["../../../../../src/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningTest.tsx"],"names":[],"mappings":"AAWA,QAAA,MAAM,wBAAwB,+CA0B7B,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
1
+ {"version":3,"file":"CognitiveInternalgptReasoningTest.d.ts","sourceRoot":"","sources":["../../../../../src/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningTest.tsx"],"names":[],"mappings":"AACA,OAAsC,EAAE,mBAAmB,EAAE,MAAM,0CAA0C,CAAC;AAI9G,eAAO,MAAM,wBAAwB,EAAE,mBAOtC,CAAC;AASF,QAAA,MAAM,wBAAwB,+CAgD7B,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
@@ -0,0 +1,26 @@
1
+ import React from "react";
2
+ export interface CustomChipConfig {
3
+ label: string;
4
+ borderColor: string;
5
+ background: string;
6
+ color: string;
7
+ dotColor?: string;
8
+ }
9
+ interface IngestionStatusChipProps {
10
+ status: string;
11
+ label?: string;
12
+ percentage?: number;
13
+ customConfig?: CustomChipConfig;
14
+ }
15
+ export declare const IngestionStatusChip: React.FC<IngestionStatusChipProps>;
16
+ interface IngestionStatusComponentProps {
17
+ ingestionId?: string;
18
+ status?: string;
19
+ wsBaseUrl?: string;
20
+ showPercentage?: boolean;
21
+ statusMap?: Record<string, string>;
22
+ customStatusConfigs?: Record<string, CustomChipConfig>;
23
+ }
24
+ export declare const IngestionStatusComponent: React.FC<IngestionStatusComponentProps>;
25
+ export {};
26
+ //# sourceMappingURL=IngestionStatusComponent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IngestionStatusComponent.d.ts","sourceRoot":"","sources":["../../../../../src/features/IngestionStatus/IngestionStatusComponent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAe1B,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAYD,UAAU,wBAAwB;IAChC,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,gBAAgB,CAAC;CACjC;AAED,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,wBAAwB,CAwClE,CAAC;AAKF,UAAU,6BAA6B;IACrC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACnC,mBAAmB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAC;CACxD;AAED,eAAO,MAAM,wBAAwB,EAAE,KAAK,CAAC,EAAE,CAAC,6BAA6B,CAmC5E,CAAC"}
@@ -0,0 +1,7 @@
1
+ export declare const DEFAULT_STATUS_MAP: Record<string, string>;
2
+ interface IngestionStatusComponentTestProps {
3
+ wsBaseUrl?: string;
4
+ }
5
+ declare const IngestionStatusComponentTest: ({ wsBaseUrl }: IngestionStatusComponentTestProps) => import("react/jsx-runtime").JSX.Element;
6
+ export default IngestionStatusComponentTest;
7
+ //# sourceMappingURL=IngestionStatusComponentTest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IngestionStatusComponentTest.d.ts","sourceRoot":"","sources":["../../../../../src/features/IngestionStatus/IngestionStatusComponentTest.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAQrD,CAAC;AAqBF,UAAU,iCAAiC;IACzC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,QAAA,MAAM,4BAA4B,kBAAmB,iCAAiC,4CA6FrF,CAAC;AAEF,eAAe,4BAA4B,CAAC"}
@@ -0,0 +1,40 @@
1
+ export interface ArtifactLayer {
2
+ label: string;
3
+ layerStatus: string;
4
+ currentProgress: number;
5
+ chunks: {
6
+ total: number;
7
+ completed: number;
8
+ failed: number;
9
+ };
10
+ }
11
+ export interface Artifact {
12
+ artifactId: string;
13
+ name: string;
14
+ status: string;
15
+ artifactSize: string;
16
+ layers: ArtifactLayer[];
17
+ }
18
+ export interface WebSocketIngestionData {
19
+ ingestionStatus: string;
20
+ ingestionId: string;
21
+ currentProgress: number;
22
+ createdAt: string;
23
+ completedAt?: string | null;
24
+ eta?: string | null;
25
+ artifacts: Artifact[];
26
+ total_artifacts?: number;
27
+ layer_orchestration_count?: number;
28
+ artifactStatus?: {
29
+ "in-progress": number;
30
+ completed: number;
31
+ queued: number;
32
+ };
33
+ }
34
+ export declare function useIngestionWebSocket(ingestionId: string | null, wsBaseUrl?: string): {
35
+ data: WebSocketIngestionData | null;
36
+ connected: boolean;
37
+ error: string | null;
38
+ disconnect: () => void;
39
+ };
40
+ //# sourceMappingURL=useIngestionStatus.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useIngestionStatus.d.ts","sourceRoot":"","sources":["../../../../../src/features/IngestionStatus/useIngestionStatus.tsx"],"names":[],"mappings":"AAEA,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,eAAe,EAAE,MAAM,CAAC;IACxB,MAAM,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;CAC9D;AAED,MAAM,WAAW,QAAQ;IACvB,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,aAAa,EAAE,CAAC;CACzB;AAED,MAAM,WAAW,sBAAsB;IACrC,eAAe,EAAE,MAAM,CAAC;IACxB,WAAW,EAAE,MAAM,CAAC;IACpB,eAAe,EAAE,MAAM,CAAC;IACxB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,SAAS,EAAE,QAAQ,EAAE,CAAC;IACtB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,cAAc,CAAC,EAAE;QACf,aAAa,EAAE,MAAM,CAAC;QACtB,SAAS,EAAE,MAAM,CAAC;QAClB,MAAM,EAAE,MAAM,CAAC;KAChB,CAAC;CACH;AAID,wBAAgB,qBAAqB,CAAC,WAAW,EAAE,MAAM,GAAG,IAAI,EAAE,SAAS,CAAC,EAAE,MAAM;;;;;EA4DnF"}
@@ -16,6 +16,8 @@ interface SplitterProps {
16
16
  width?: string | number;
17
17
  header?: SplitterHeader;
18
18
  onLeftWidthChange?: (width: number) => void;
19
+ openInFullscreen?: boolean;
20
+ onFullscreenClose?: () => void;
19
21
  }
20
22
  declare const SplitterCitationsComponent: React.FC<SplitterProps>;
21
23
  export default SplitterCitationsComponent;
@@ -1 +1 @@
1
- {"version":3,"file":"SplitterCitationsComponent.d.ts","sourceRoot":"","sources":["../../../../../src/features/SplitterCitations/SplitterCitationsComponent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAkB3D,UAAU,cAAc;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,UAAU,aAAa;IACrB,IAAI,EAAE,KAAK,CAAC,SAAS,CAAC;IACtB,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,MAAM,CAAC,EAAE,cAAc,CAAC;IACxB,iBAAiB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CAC7C;AAEA,QAAA,MAAM,0BAA0B,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAkQxD,CAAC;AACF,eAAe,0BAA0B,CAAC"}
1
+ {"version":3,"file":"SplitterCitationsComponent.d.ts","sourceRoot":"","sources":["../../../../../src/features/SplitterCitations/SplitterCitationsComponent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AA8B3D,UAAU,cAAc;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,UAAU,aAAa;IACrB,IAAI,EAAE,KAAK,CAAC,SAAS,CAAC;IACtB,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,MAAM,CAAC,EAAE,cAAc,CAAC;IACxB,iBAAiB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5C,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,iBAAiB,CAAC,EAAE,MAAM,IAAI,CAAC;CAChC;AAEA,QAAA,MAAM,0BAA0B,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CA0YxD,CAAC;AACF,eAAe,0BAA0B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"SplitterCitationsTest.d.ts","sourceRoot":"","sources":["../../../../../src/features/SplitterCitations/SplitterCitationsTest.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,QAAA,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAiBlC,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
1
+ {"version":3,"file":"SplitterCitationsTest.d.ts","sourceRoot":"","sources":["../../../../../src/features/SplitterCitations/SplitterCitationsTest.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAexC,QAAA,MAAM,qBAAqB,EAAE,KAAK,CAAC,EA4ClC,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { INonReasoningSource } from "../CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent";
2
+ export declare const dummyNonWebReasoningData: INonReasoningSource[];
3
+ declare const TextualGuideLinesComponentTest: () => import("react/jsx-runtime").JSX.Element;
4
+ export default TextualGuideLinesComponentTest;
5
+ //# sourceMappingURL=TextualGudelinesTest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TextualGudelinesTest.d.ts","sourceRoot":"","sources":["../../../../../src/features/TextualGuidelines/TextualGudelinesTest.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,yEAAyE,CAAC;AAS9G,eAAO,MAAM,wBAAwB,EAAE,mBAAmB,EAiBzD,CAAC;AAMF,QAAA,MAAM,8BAA8B,+CAMnC,CAAC;AAEF,eAAe,8BAA8B,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { INonReasoningSource } from "../CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent";
2
+ interface ITextualGuideLinesComponentProps {
3
+ TextualGuideLines: string;
4
+ HighlightedWords: string[];
5
+ InternalGptReasoningData: INonReasoningSource[];
6
+ index: number;
7
+ headerTitle?: string;
8
+ useVariantHighlight?: boolean;
9
+ fuzzyThreshold?: number;
10
+ }
11
+ declare const TextualGuideLinesComponent: ({ index, TextualGuideLines, HighlightedWords, InternalGptReasoningData, headerTitle, useVariantHighlight, fuzzyThreshold, }: ITextualGuideLinesComponentProps) => import("react/jsx-runtime").JSX.Element;
12
+ export default TextualGuideLinesComponent;
13
+ //# sourceMappingURL=TextualGuideLinesComponent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TextualGuideLinesComponent.d.ts","sourceRoot":"","sources":["../../../../../src/features/TextualGuidelines/TextualGuideLinesComponent.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,mBAAmB,EAAE,MAAM,yEAAyE,CAAC;AAG9G,UAAU,gCAAgC;IACxC,iBAAiB,EAAE,MAAM,CAAC;IAC1B,gBAAgB,EAAE,MAAM,EAAE,CAAC;IAC3B,wBAAwB,EAAE,mBAAmB,EAAE,CAAC;IAChD,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAsFA,QAAA,MAAM,0BAA0B,gIAQ9B,gCAAgC,4CA+OlC,CAAC;AACF,eAAe,0BAA0B,CAAC"}
@@ -27,4 +27,9 @@ export type { ChatDrawerProps } from "./features/ChatDrawer/types/ChatDrawer.typ
27
27
  export { FILE_INGESTION_STATUS, SUMMARY_EXPAND_HEIGHT_NUDGE, TRUNCATE_THRESHOLD } from "./features/ChatDrawer/constants/ChatDrawer";
28
28
  export { default as SplitterCitationsComponent } from './features/SplitterCitations/SplitterCitationsComponent';
29
29
  export { default as CognitiveCompare } from "./features/CognitiveCompare/CognitiveCompare";
30
+ export { default as CognitiveInternalgptCoreComponent } from "./features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent";
31
+ export { default as InternalgptReasoningComponent } from "./features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent";
32
+ export { default as TextualGuideLinesComponent } from "./features/TextualGuidelines/TextualGuideLinesComponent";
33
+ export { IngestionStatusComponent } from "./features/IngestionStatus/IngestionStatusComponent";
34
+ export { IngestionStatusChip } from "./features/IngestionStatus/IngestionStatusComponent";
30
35
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,sCAAsC,CAAC;AAC/E,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,8CAA8C,CAAC;AAC3F,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,sCAAsC,CAAC;AAC/E,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACnE,OAAO,EAAE,iBAAiB,IAAI,WAAW,EAAE,MAAM,gDAAgD,CAAC;AAClG,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,8CAA8C,CAAC;AAC3F,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,8CAA8C,CAAC;AAC3F,OAAO,EAAE,kBAAkB,IAAI,kBAAkB,EAAE,MAAM,gDAAgD,CAAC;AAC1G,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,0CAA0C,CAAC;AACrF,OAAO,EAAE,OAAO,IAAI,wBAAwB,EAAE,MAAM,iFAAiF,CAAC;AACtI,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,8CAA8C,CAAC;AACvF,OAAO,EAAE,OAAO,IAAI,wBAAwB,EAAE,MAAM,6DAA6D,CAAC;AAClH,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,gCAAgC,CAAC;AACtE,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,yDAAyD,CAAC;AAEjG,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,sEAAsE,CAAC;AACvH,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,sEAAsE,CAAC;AACvH,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,oEAAoE,CAAC;AACpH,OAAO,EAAE,OAAO,IAAI,2BAA2B,EAAE,MAAM,2EAA2E,CAAC;AACnI,OAAO,EAAE,OAAO,IAAI,yBAAyB,EAAE,MAAM,gEAAgE,CAAC;AACtH,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,mEAAmE,CAAC;AACnH,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAC,MAAM,+CAA+C,CAAC;AAC/F,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,2CAA2C,CAAC;AACvF,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,yCAAyC,CAAC;AACnF,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,kDAAkD,CAAC;AACjG,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,kCAAkC,CAAC;AACzE,YAAY,EAAE,eAAe,EAAE,MAAM,8CAA8C,CAAC;AACpF,OAAO,EAAE,qBAAqB,EAAE,2BAA2B,EAAE,kBAAkB,EAAE,MAAM,4CAA4C,CAAC;AACpI,OAAO,EAAE,OAAO,IAAI,0BAA0B,EAAC,MAAM,yDAAyD,CAAA;AAC9G,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,8CAA8C,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,sCAAsC,CAAC;AAC/E,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,8CAA8C,CAAC;AAC3F,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,sCAAsC,CAAC;AAC/E,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACnE,OAAO,EAAE,iBAAiB,IAAI,WAAW,EAAE,MAAM,gDAAgD,CAAC;AAClG,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,8CAA8C,CAAC;AAC3F,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,8CAA8C,CAAC;AAC3F,OAAO,EAAE,kBAAkB,IAAI,kBAAkB,EAAE,MAAM,gDAAgD,CAAC;AAC1G,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,0CAA0C,CAAC;AACrF,OAAO,EAAE,OAAO,IAAI,wBAAwB,EAAE,MAAM,iFAAiF,CAAC;AACtI,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,8CAA8C,CAAC;AACvF,OAAO,EAAE,OAAO,IAAI,wBAAwB,EAAE,MAAM,6DAA6D,CAAC;AAClH,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,gCAAgC,CAAC;AACtE,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,yDAAyD,CAAC;AAEjG,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,sEAAsE,CAAC;AACvH,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,sEAAsE,CAAC;AACvH,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,oEAAoE,CAAC;AACpH,OAAO,EAAE,OAAO,IAAI,2BAA2B,EAAE,MAAM,2EAA2E,CAAC;AACnI,OAAO,EAAE,OAAO,IAAI,yBAAyB,EAAE,MAAM,gEAAgE,CAAC;AACtH,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,mEAAmE,CAAC;AACnH,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAC,MAAM,+CAA+C,CAAC;AAC/F,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,2CAA2C,CAAC;AACvF,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,yCAAyC,CAAC;AACnF,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,kDAAkD,CAAC;AACjG,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,kCAAkC,CAAC;AACzE,YAAY,EAAE,eAAe,EAAE,MAAM,8CAA8C,CAAC;AACpF,OAAO,EAAE,qBAAqB,EAAE,2BAA2B,EAAE,kBAAkB,EAAE,MAAM,4CAA4C,CAAC;AACpI,OAAO,EAAE,OAAO,IAAI,0BAA0B,EAAC,MAAM,yDAAyD,CAAA;AAC9G,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,8CAA8C,CAAC;AAC3F,OAAO,EAAC,OAAO,IAAI,iCAAiC,EAAC,MAAM,4EAA4E,CAAC;AACxI,OAAO,EAAC,OAAO,IAAI,6BAA6B,EAAC,MAAM,iFAAiF,CAAC;AACzI,OAAO,EAAC,OAAO,IAAI,0BAA0B,EAAC,MAAM,yDAAyD,CAAC;AAC9G,OAAO,EAAC,wBAAwB,EAAC,MAAM,qDAAqD,CAAC;AAC7F,OAAO,EAAC,mBAAmB,EAAC,MAAM,qDAAqD,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@viswa-test/test-citation",
3
- "version": "0.0.132",
3
+ "version": "0.0.133",
4
4
  "author": "Viswa Koduru",
5
5
  "description": "",
6
6
  "license": "MIT",
@@ -77,6 +77,11 @@
77
77
  "require": "./dist/cjs/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.js",
78
78
  "types": "./dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.d.ts"
79
79
  },
80
+ "./CognitiveInternalgptCoreComponent": {
81
+ "import": "./dist/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.js",
82
+ "require": "./dist/cjs/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.js",
83
+ "types": "./dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.d.ts"
84
+ },
80
85
  "./CitationViewer": {
81
86
  "import": "./dist/features/CitationViewer/CitationsViewer.js",
82
87
  "require": "./dist/cjs/features/CitationViewer/CitationsViewer.js",
@@ -131,6 +136,16 @@
131
136
  "import": "./dist/features/CognitiveCompare/CognitiveCompare.js",
132
137
  "require": "./dist/cjs/features/CognitiveCompare/CognitiveCompare.js",
133
138
  "types": "./dist/types/src/features/CognitiveCompare/CognitiveCompare.d.ts"
139
+ },
140
+ "./TextualGuideLinesComponent": {
141
+ "import": "./dist/features/TextualGuidelines/TextualGuideLinesComponent.js",
142
+ "require": "./dist/cjs/features/TextualGuidelines/TextualGuideLinesComponent.js",
143
+ "types": "./dist/types/src/features/TextualGuidelines/TextualGuideLinesComponent.d.ts"
144
+ },
145
+ "./IngestionStatusComponent": {
146
+ "import": "./dist/features/IngestionStatus/IngestionStatusComponent.js",
147
+ "require": "./dist/cjs/features/IngestionStatus/IngestionStatusComponent.js",
148
+ "types": "./dist/types/src/features/IngestionStatus/IngestionStatusComponent.d.ts"
134
149
  }
135
150
  },
136
151
  "repository": {
@@ -243,7 +258,15 @@
243
258
  "react-dom": ">=16.8.0 <19.0.0",
244
259
  "react-player": "^3.4.0",
245
260
  "react-reader": "^2.0.13",
246
- "wavesurfer.js": "^7.12.1"
261
+ "wavesurfer.js": "^7.12.1",
262
+ "lucide-react": "^0.474.0",
263
+ "react-markdown": ">=8.0.0",
264
+ "react-resizable-panels": ">=2.0.0",
265
+ "react-syntax-highlighter": ">=15.0.0",
266
+ "remark-gfm": ">=4.0.0",
267
+ "remark-breaks": ">=4.0.0",
268
+ "rehype-raw": ">=7.0.0",
269
+ "dompurify": ">=3.0.0"
247
270
  },
248
271
  "peerDependenciesMeta": {
249
272
  "@mui/icons-material": {
@@ -278,22 +301,38 @@
278
301
  },
279
302
  "highlight.js": {
280
303
  "optional": true
304
+ },
305
+ "lucide-react": {
306
+ "optional": false
307
+ },
308
+ "react-markdown": {
309
+ "optional": false
310
+ },
311
+ "react-resizable-panels": {
312
+ "optional": false
313
+ },
314
+ "react-syntax-highlighter": {
315
+ "optional": false
316
+ },
317
+ "remark-gfm": {
318
+ "optional": false
319
+ },
320
+ "remark-breaks": {
321
+ "optional": false
322
+ },
323
+ "rehype-raw": {
324
+ "optional": false
325
+ },
326
+ "dompurify": {
327
+ "optional": false
281
328
  }
282
329
  },
283
330
  "dependencies": {
284
331
  "@react-pdf-viewer/highlight": "^3.12.0",
285
332
  "axios": "^1.7.9",
286
333
  "dayjs": "^1.11.19",
287
- "dompurify": "^3.3.1",
288
- "lucide-react": "^0.562.0",
289
334
  "pdf-collaborative-tool": "^0.7.0",
290
- "react-markdown": "^8.0.7",
291
- "react-resizable-panels": "^3.0.6",
292
- "react-syntax-highlighter": "^15.6.1",
293
335
  "react-virtualized-auto-sizer": "^1.0.26",
294
- "react-window": "^1.8.11",
295
- "rehype-raw": "^7.0.0",
296
- "remark-breaks": "^4.0.0",
297
- "remark-gfm": "^4.0.1"
336
+ "react-window": "^1.8.11"
298
337
  }
299
338
  }