@viswa-test/test-citation 0.0.350 → 0.0.351
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.
- package/dist/cjs/features/SegmentReviewComponents/CardWrapper.js +1 -1
- package/dist/cjs/features/SegmentReviewComponents/CognitiveIntegrity.js +1 -1
- package/dist/features/SegmentReviewComponents/CardWrapper.js +1 -1
- package/dist/features/SegmentReviewComponents/CognitiveIntegrity.js +1 -1
- package/dist/types/src/features/SegmentReviewComponents/CognitiveIntegrity.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),t=require("react/jsx-runtime"),n=require("react"),i=require("@mui/material/Box"),o=require("@mui/material/Popper");function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var l=r(i),a=r(o);exports.default=function(i){var o,r,u=i.anchorRef,s=i.anchorElement,d=i.children,c=i.className,f=i.offset,v=void 0===f?{}:f,h=i.placement,m=void 0===h?"bottom-start":h,p=i.width,x=i.maxWidth;i.customStyles;var w=n.useState(null),b=w[0],g=w[1],y=n.useState(!0),E=y[0],S=y[1],z=n.useState(null),R=z[0],q=z[1],L=n.useState(null),O=L[0],W=L[1],_=n.useRef(null);return n.useLayoutEffect(function(){var e,t=null!==(e=null!=s?s:null==u?void 0:u.current)&&void 0!==e?e:null;g(function(e){return e===t?e:t})},[s,u]),n.useLayoutEffect(function(){if(b){var e=null,t=function(){var t,n,i=b.getBoundingClientRect(),o=null!==(n=null===(t=window.visualViewport)||void 0===t?void 0:t.height)&&void 0!==n?n:window.innerHeight;S(b.isConnected&&"hidden"!==b.style.visibility),q(Math.max(0,window.innerWidth-i.left-8)),W(Math.max(0,o-i.top-2*i.height)),null!=e&&cancelAnimationFrame(e),e=requestAnimationFrame(function(){var t;e=null,null===(t=_.current)||void 0===t||t.update()})},n=new MutationObserver(t);n.observe(b,{attributes:!0,attributeFilter:["style","class"]});var i="undefined"==typeof ResizeObserver?null:new ResizeObserver(t);return null==i||i.observe(b),window.addEventListener("resize",t),window.addEventListener("scroll",t,!0),t(),function(){n.disconnect(),null==i||i.disconnect(),window.removeEventListener("resize",t),window.removeEventListener("scroll",t,!0),null!=e&&cancelAnimationFrame(e)}}S(!1)},[b]),t.jsx(a.default,e.__assign({open:Boolean(b)&&E,anchorEl:b,popperRef:_,placement:m,className:c,popperOptions:{strategy:"fixed"},modifiers:[{name:"offset",options:{offset:[null!==(o=v.left)&&void 0!==o?o:0,null!==(r=v.top)&&void 0!==r?r:0]}},{name:"flip",enabled:!1},{name:"preventOverflow",options:{mainAxis:!1,altAxis:!0,tether:!1}}],sx:{zIndex:function(e){return e.zIndex.tooltip},width:p,maxWidth:null==R?x:"min(".concat("number"==typeof x?"".concat(x,"px"):null!=x?x:"100vw",", ").concat(R,"px)"),minWidth:0,height:"fit-content",maxHeight:null==O?"calc(
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),t=require("react/jsx-runtime"),n=require("react"),i=require("@mui/material/Box"),o=require("@mui/material/Popper");function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var l=r(i),a=r(o);exports.default=function(i){var o,r,u=i.anchorRef,s=i.anchorElement,d=i.children,c=i.className,f=i.offset,v=void 0===f?{}:f,h=i.placement,m=void 0===h?"bottom-start":h,p=i.width,x=i.maxWidth;i.customStyles;var w=n.useState(null),b=w[0],g=w[1],y=n.useState(!0),E=y[0],S=y[1],z=n.useState(null),R=z[0],q=z[1],L=n.useState(null),O=L[0],W=L[1],_=n.useRef(null);return n.useLayoutEffect(function(){var e,t=null!==(e=null!=s?s:null==u?void 0:u.current)&&void 0!==e?e:null;g(function(e){return e===t?e:t})},[s,u]),n.useLayoutEffect(function(){if(b){var e=null,t=function(){var t,n,i=b.getBoundingClientRect(),o=null!==(n=null===(t=window.visualViewport)||void 0===t?void 0:t.height)&&void 0!==n?n:window.innerHeight;S(b.isConnected&&"hidden"!==b.style.visibility),q(Math.max(0,window.innerWidth-i.left-8)),W(Math.max(0,o-i.top-2*i.height)),null!=e&&cancelAnimationFrame(e),e=requestAnimationFrame(function(){var t;e=null,null===(t=_.current)||void 0===t||t.update()})},n=new MutationObserver(t);n.observe(b,{attributes:!0,attributeFilter:["style","class"]});var i="undefined"==typeof ResizeObserver?null:new ResizeObserver(t);return null==i||i.observe(b),window.addEventListener("resize",t),window.addEventListener("scroll",t,!0),t(),function(){n.disconnect(),null==i||i.disconnect(),window.removeEventListener("resize",t),window.removeEventListener("scroll",t,!0),null!=e&&cancelAnimationFrame(e)}}S(!1)},[b]),t.jsx(a.default,e.__assign({open:Boolean(b)&&E,anchorEl:b,popperRef:_,placement:m,className:c,popperOptions:{strategy:"fixed"},modifiers:[{name:"offset",options:{offset:[null!==(o=v.left)&&void 0!==o?o:0,null!==(r=v.top)&&void 0!==r?r:0]}},{name:"flip",enabled:!1},{name:"preventOverflow",options:{mainAxis:!1,altAxis:!0,tether:!1}}],sx:{zIndex:function(e){return e.zIndex.tooltip},width:p,maxWidth:null==R?x:"min(".concat("number"==typeof x?"".concat(x,"px"):null!=x?x:"100vw",", ").concat(R,"px)"),minWidth:0,height:"fit-content",maxHeight:null==O?"calc(95vh - 10px)":"".concat(O,"px"),alignSelf:"flex-start",flex:"0 0 auto",overflowX:"hidden",overflowY:"hidden",borderRadius:2,boxShadow:function(e){return e.shadows[4]},boxSizing:"border-box"}},{children:t.jsx(l.default,e.__assign({sx:{width:"100%",maxWidth:"100%",minWidth:0,height:"fit-content",minHeight:0,maxHeight:null==O?"calc(85vh - 10px)":"".concat(O-100,"px"),overflowX:"hidden",overflowY:"auto",pointerEvents:"auto",boxSizing:"border-box"}},{children:d}))}))};
|
|
2
2
|
//# sourceMappingURL=CardWrapper.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),i=require("react/jsx-runtime"),n=require("@mui/icons-material/ChevronLeft"),t=require("@mui/icons-material/Close"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),i=require("react/jsx-runtime"),n=require("@mui/icons-material/ChevronLeft"),t=require("@mui/icons-material/Close"),l=require("@mui/material/Box"),r=require("@mui/material/Divider"),a=require("@mui/material/IconButton"),s=require("@mui/material/Paper"),o=require("@mui/material/Stack"),u=require("@mui/material/Typography"),d=require("../CitationRenderer/MarkdownRenderer.js"),c=require("./CognitiveIcon.js"),g=require("./CognitiveScoreBadge.js");function m(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var h=m(n),f=m(t),x=m(l),_=m(r),p=m(a),v=m(s),j=m(o),y=m(u),b=function(i,n){return e.__spreadArray([i],Array.isArray(n)?n:null==n?[]:[n],!0)};exports.default=function(n){var t=n.reasons,l=n.reason,r=n.gap,a=n.score,s=n.headerName,o=void 0===s?"Cognitive Integrity":s,u=n.onBack,m=n.onClose,C=n.showCloseButton,H=void 0===C||C,S=n.width,z=void 0===S?260:S,w=n.maxWidth,k=void 0===w?260:w,q=n.className,A=n.styles,B=(null!=t?t:[]).filter(function(e){return"evidence"===e.type.trim().toLowerCase()}).map(function(e){return e.text.trim()}).filter(Boolean),W=(null!=t?t:[]).filter(function(e){return"gap"===e.type.trim().toLowerCase()}).map(function(e){return e.text.trim()}).filter(Boolean),R=null==l?void 0:l.trim(),I=null==r?void 0:r.trim();if(0===B.length&&R&&B.push(R),0===W.length&&I&&W.push(I),0===B.length&&0===W.length)return null;var F,M=(F=null==A?void 0:A.markdown,e.__assign(e.__assign({},F),{containerWrapper:e.__assign(e.__assign({},null==F?void 0:F.containerWrapper),{display:"block",height:"auto",minHeight:0,maxHeight:"fit-content",flex:"0 0 auto"}),mainCard:e.__assign(e.__assign({},null==F?void 0:F.mainCard),{height:"auto",minHeight:0,maxHeight:"none",flex:"0 0 auto",padding:0,border:"none",borderRadius:0,boxShadow:"none",backgroundColor:"transparent"}),scrollArea:e.__assign({height:"auto",minHeight:0,maxHeight:"none",overflowY:"visible",paddingRight:0,color:"#475467",fontSize:11.5,lineHeight:1.3},null==F?void 0:F.scrollArea),list:e.__assign({margin:"0",padding:"0 0 0 18px",fontSize:"11.5px",lineHeight:"1.3"},null==F?void 0:F.list)})),D=e.__assign(e.__assign({},M),{scrollArea:e.__assign(e.__assign({},M.scrollArea),{fontSize:"inherit",lineHeight:"inherit"}),summary:e.__assign(e.__assign({},M.summary),{display:"inline-flex",padding:0,fontSize:"inherit",lineHeight:"inherit"})});return i.jsx(v.default,e.__assign({className:q,elevation:4,sx:b({width:z,maxWidth:k,height:"fit-content",minHeight:0,alignSelf:"flex-start",flex:"0 0 auto",borderRadius:2,bgcolor:"background.paper",overflow:"hidden",boxSizing:"border-box","@media (max-width: 372px)":{width:"calc(100vw - 32px)"}},null==A?void 0:A.root)},{children:i.jsxs(j.default,e.__assign({spacing:.75,sx:{p:1,height:"auto",minHeight:0}},{children:[i.jsxs(j.default,e.__assign({direction:"row",alignItems:"center",spacing:.75,sx:null==A?void 0:A.header},{children:[u&&i.jsx(p.default,e.__assign({size:"small",onClick:u,"aria-label":"Return to review check",sx:{p:0,color:"#6941C6"}},{children:i.jsx(h.default,{sx:{fontSize:17}})})),i.jsx(c.default,{sx:{color:"#6941C6"}}),i.jsx(y.default,e.__assign({sx:{flex:1,fontSize:12,fontWeight:500,alignItems:"center",display:"flex",lineHeight:1.25,textTransform:"capitalise"}},{children:o})),i.jsx(g.default,{score:a}),H&&i.jsx(p.default,e.__assign({size:"small",onClick:m,disabled:!m,"aria-label":"Close cognitive integrity",sx:{p:0,"&.Mui-disabled":{color:"text.secondary"}}},{children:i.jsx(f.default,{sx:{fontSize:17}})}))]})),i.jsx(_.default,{sx:{m:0}}),i.jsx(x.default,e.__assign({sx:b({bgcolor:"#F9FAFB",px:1.5,py:1.25,height:"auto",minHeight:0,flex:"0 0 auto"},null==A?void 0:A.content)},{children:i.jsxs(j.default,e.__assign({spacing:1.5},{children:[B.length>0&&i.jsxs(x.default,{children:[i.jsx(y.default,e.__assign({sx:{mb:1,color:"#344054",fontSize:12,fontWeight:600,lineHeight:1.4}},{children:"Decision Making Factors"})),i.jsx(x.default,e.__assign({component:"ol",sx:{m:0,pl:2.25,"& li":{pl:.25,mb:.75,color:"#667085",fontSize:11.5,lineHeight:1.65},"& li:last-child":{mb:0},"& li::marker":{color:"#475467",fontSize:11.5},"& p":{margin:0,color:"#667085",fontSize:11.5,lineHeight:1.65}},style:M.list},{children:B.map(function(n,t){return i.jsx(x.default,e.__assign({component:"li"},{children:i.jsx(d.default,{value:"<summary>".concat(n,"</summary>"),styles:D})}),"evidence-".concat(t))})}))]}),B.length>0&&W.length>0&&i.jsx(_.default,{sx:{my:"2px !important",borderColor:"#E4E7EC"}}),W.length>0&&i.jsxs(x.default,{children:[i.jsx(y.default,e.__assign({sx:{mb:1,color:"#344054",fontSize:12,fontWeight:600,lineHeight:1.4}},{children:"Gaps in Decision"})),i.jsx(x.default,e.__assign({component:"ol",sx:{m:0,pl:2.25,"& li":{pl:.25,mb:.75,color:"#667085",fontSize:11.5,lineHeight:1.65},"& li:last-child":{mb:0},"& li::marker":{color:"#475467",fontSize:11.5},"& p":{margin:0,color:"#667085",fontSize:11.5,lineHeight:1.65}},style:M.list},{children:W.map(function(n,t){return i.jsx(x.default,e.__assign({component:"li"},{children:i.jsx(d.default,{value:"<summary>".concat(n,"</summary>"),styles:D})}),"gap-".concat(t))})}))]})]}))}))]}))}))};
|
|
2
2
|
//# sourceMappingURL=CognitiveIntegrity.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__assign as e}from"tslib";import{jsx as n}from"react/jsx-runtime";import{useState as t,useRef as i,useLayoutEffect as o}from"react";import l from"@mui/material/Box";import r from"@mui/material/Popper";function a(a){var d,u,c=a.anchorRef,s=a.anchorElement,m=a.children,f=a.className,v=a.offset,h=void 0===v?{}:v,p=a.placement,x=void 0===p?"bottom-start":p,w=a.width,b=a.maxWidth;a.customStyles;var g=t(null),z=g[0],y=g[1],E=t(!0),R=E[0],W=E[1],A=t(null),O=A[0],S=A[1],F=t(null),H=F[0],L=F[1],B=i(null);return o(function(){var e,n=null!==(e=null!=s?s:null==c?void 0:c.current)&&void 0!==e?e:null;y(function(e){return e===n?e:n})},[s,c]),o(function(){if(z){var e=null,n=function(){var n,t,i=z.getBoundingClientRect(),o=null!==(t=null===(n=window.visualViewport)||void 0===n?void 0:n.height)&&void 0!==t?t:window.innerHeight;W(z.isConnected&&"hidden"!==z.style.visibility),S(Math.max(0,window.innerWidth-i.left-8)),L(Math.max(0,o-i.top-2*i.height)),null!=e&&cancelAnimationFrame(e),e=requestAnimationFrame(function(){var n;e=null,null===(n=B.current)||void 0===n||n.update()})},t=new MutationObserver(n);t.observe(z,{attributes:!0,attributeFilter:["style","class"]});var i="undefined"==typeof ResizeObserver?null:new ResizeObserver(n);return null==i||i.observe(z),window.addEventListener("resize",n),window.addEventListener("scroll",n,!0),n(),function(){t.disconnect(),null==i||i.disconnect(),window.removeEventListener("resize",n),window.removeEventListener("scroll",n,!0),null!=e&&cancelAnimationFrame(e)}}W(!1)},[z]),n(r,e({open:Boolean(z)&&R,anchorEl:z,popperRef:B,placement:x,className:f,popperOptions:{strategy:"fixed"},modifiers:[{name:"offset",options:{offset:[null!==(d=h.left)&&void 0!==d?d:0,null!==(u=h.top)&&void 0!==u?u:0]}},{name:"flip",enabled:!1},{name:"preventOverflow",options:{mainAxis:!1,altAxis:!0,tether:!1}}],sx:{zIndex:function(e){return e.zIndex.tooltip},width:w,maxWidth:null==O?b:"min(".concat("number"==typeof b?"".concat(b,"px"):null!=b?b:"100vw",", ").concat(O,"px)"),minWidth:0,height:"fit-content",maxHeight:null==H?"calc(
|
|
1
|
+
import{__assign as e}from"tslib";import{jsx as n}from"react/jsx-runtime";import{useState as t,useRef as i,useLayoutEffect as o}from"react";import l from"@mui/material/Box";import r from"@mui/material/Popper";function a(a){var d,u,c=a.anchorRef,s=a.anchorElement,m=a.children,f=a.className,v=a.offset,h=void 0===v?{}:v,p=a.placement,x=void 0===p?"bottom-start":p,w=a.width,b=a.maxWidth;a.customStyles;var g=t(null),z=g[0],y=g[1],E=t(!0),R=E[0],W=E[1],A=t(null),O=A[0],S=A[1],F=t(null),H=F[0],L=F[1],B=i(null);return o(function(){var e,n=null!==(e=null!=s?s:null==c?void 0:c.current)&&void 0!==e?e:null;y(function(e){return e===n?e:n})},[s,c]),o(function(){if(z){var e=null,n=function(){var n,t,i=z.getBoundingClientRect(),o=null!==(t=null===(n=window.visualViewport)||void 0===n?void 0:n.height)&&void 0!==t?t:window.innerHeight;W(z.isConnected&&"hidden"!==z.style.visibility),S(Math.max(0,window.innerWidth-i.left-8)),L(Math.max(0,o-i.top-2*i.height)),null!=e&&cancelAnimationFrame(e),e=requestAnimationFrame(function(){var n;e=null,null===(n=B.current)||void 0===n||n.update()})},t=new MutationObserver(n);t.observe(z,{attributes:!0,attributeFilter:["style","class"]});var i="undefined"==typeof ResizeObserver?null:new ResizeObserver(n);return null==i||i.observe(z),window.addEventListener("resize",n),window.addEventListener("scroll",n,!0),n(),function(){t.disconnect(),null==i||i.disconnect(),window.removeEventListener("resize",n),window.removeEventListener("scroll",n,!0),null!=e&&cancelAnimationFrame(e)}}W(!1)},[z]),n(r,e({open:Boolean(z)&&R,anchorEl:z,popperRef:B,placement:x,className:f,popperOptions:{strategy:"fixed"},modifiers:[{name:"offset",options:{offset:[null!==(d=h.left)&&void 0!==d?d:0,null!==(u=h.top)&&void 0!==u?u:0]}},{name:"flip",enabled:!1},{name:"preventOverflow",options:{mainAxis:!1,altAxis:!0,tether:!1}}],sx:{zIndex:function(e){return e.zIndex.tooltip},width:w,maxWidth:null==O?b:"min(".concat("number"==typeof b?"".concat(b,"px"):null!=b?b:"100vw",", ").concat(O,"px)"),minWidth:0,height:"fit-content",maxHeight:null==H?"calc(95vh - 10px)":"".concat(H,"px"),alignSelf:"flex-start",flex:"0 0 auto",overflowX:"hidden",overflowY:"hidden",borderRadius:2,boxShadow:function(e){return e.shadows[4]},boxSizing:"border-box"}},{children:n(l,e({sx:{width:"100%",maxWidth:"100%",minWidth:0,height:"fit-content",minHeight:0,maxHeight:null==H?"calc(85vh - 10px)":"".concat(H-100,"px"),overflowX:"hidden",overflowY:"auto",pointerEvents:"auto",boxSizing:"border-box"}},{children:m}))}))}export{a as default};
|
|
2
2
|
//# sourceMappingURL=CardWrapper.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__assign as i,__spreadArray as e}from"tslib";import{jsx as t,jsxs as
|
|
1
|
+
import{__assign as i,__spreadArray as e}from"tslib";import{jsx as t,jsxs as o}from"react/jsx-runtime";import n from"@mui/icons-material/ChevronLeft";import r from"@mui/icons-material/Close";import l from"@mui/material/Box";import a from"@mui/material/Divider";import m from"@mui/material/IconButton";import c from"@mui/material/Paper";import s from"@mui/material/Stack";import h from"@mui/material/Typography";import d from"../CitationRenderer/MarkdownRenderer.js";import g from"./CognitiveIcon.js";import p from"./CognitiveScoreBadge.js";var u=function(i,t){return e([i],Array.isArray(t)?t:null==t?[]:[t],!0)};function f(e){var f=e.reasons,x=e.reason,v=e.gap,b=e.score,y=e.headerName,C=void 0===y?"Cognitive Integrity":y,H=e.onBack,S=e.onClose,z=e.showCloseButton,w=void 0===z||z,k=e.width,B=void 0===k?260:k,A=e.maxWidth,W=void 0===A?260:A,R=e.className,I=e.styles,j=(null!=f?f:[]).filter(function(i){return"evidence"===i.type.trim().toLowerCase()}).map(function(i){return i.text.trim()}).filter(Boolean),F=(null!=f?f:[]).filter(function(i){return"gap"===i.type.trim().toLowerCase()}).map(function(i){return i.text.trim()}).filter(Boolean),D=null==x?void 0:x.trim(),E=null==v?void 0:v.trim();if(0===j.length&&D&&j.push(D),0===F.length&&E&&F.push(E),0===j.length&&0===F.length)return null;var L,M=(L=null==I?void 0:I.markdown,i(i({},L),{containerWrapper:i(i({},null==L?void 0:L.containerWrapper),{display:"block",height:"auto",minHeight:0,maxHeight:"fit-content",flex:"0 0 auto"}),mainCard:i(i({},null==L?void 0:L.mainCard),{height:"auto",minHeight:0,maxHeight:"none",flex:"0 0 auto",padding:0,border:"none",borderRadius:0,boxShadow:"none",backgroundColor:"transparent"}),scrollArea:i({height:"auto",minHeight:0,maxHeight:"none",overflowY:"visible",paddingRight:0,color:"#475467",fontSize:11.5,lineHeight:1.3},null==L?void 0:L.scrollArea),list:i({margin:"0",padding:"0 0 0 18px",fontSize:"11.5px",lineHeight:"1.3"},null==L?void 0:L.list)})),N=i(i({},M),{scrollArea:i(i({},M.scrollArea),{fontSize:"inherit",lineHeight:"inherit"}),summary:i(i({},M.summary),{display:"inline-flex",padding:0,fontSize:"inherit",lineHeight:"inherit"})});return t(c,i({className:R,elevation:4,sx:u({width:B,maxWidth:W,height:"fit-content",minHeight:0,alignSelf:"flex-start",flex:"0 0 auto",borderRadius:2,bgcolor:"background.paper",overflow:"hidden",boxSizing:"border-box","@media (max-width: 372px)":{width:"calc(100vw - 32px)"}},null==I?void 0:I.root)},{children:o(s,i({spacing:.75,sx:{p:1,height:"auto",minHeight:0}},{children:[o(s,i({direction:"row",alignItems:"center",spacing:.75,sx:null==I?void 0:I.header},{children:[H&&t(m,i({size:"small",onClick:H,"aria-label":"Return to review check",sx:{p:0,color:"#6941C6"}},{children:t(n,{sx:{fontSize:17}})})),t(g,{sx:{color:"#6941C6"}}),t(h,i({sx:{flex:1,fontSize:12,fontWeight:500,alignItems:"center",display:"flex",lineHeight:1.25,textTransform:"capitalise"}},{children:C})),t(p,{score:b}),w&&t(m,i({size:"small",onClick:S,disabled:!S,"aria-label":"Close cognitive integrity",sx:{p:0,"&.Mui-disabled":{color:"text.secondary"}}},{children:t(r,{sx:{fontSize:17}})}))]})),t(a,{sx:{m:0}}),t(l,i({sx:u({bgcolor:"#F9FAFB",px:1.5,py:1.25,height:"auto",minHeight:0,flex:"0 0 auto"},null==I?void 0:I.content)},{children:o(s,i({spacing:1.5},{children:[j.length>0&&o(l,{children:[t(h,i({sx:{mb:1,color:"#344054",fontSize:12,fontWeight:600,lineHeight:1.4}},{children:"Decision Making Factors"})),t(l,i({component:"ol",sx:{m:0,pl:2.25,"& li":{pl:.25,mb:.75,color:"#667085",fontSize:11.5,lineHeight:1.65},"& li:last-child":{mb:0},"& li::marker":{color:"#475467",fontSize:11.5},"& p":{margin:0,color:"#667085",fontSize:11.5,lineHeight:1.65}},style:M.list},{children:j.map(function(e,o){return t(l,i({component:"li"},{children:t(d,{value:"<summary>".concat(e,"</summary>"),styles:N})}),"evidence-".concat(o))})}))]}),j.length>0&&F.length>0&&t(a,{sx:{my:"2px !important",borderColor:"#E4E7EC"}}),F.length>0&&o(l,{children:[t(h,i({sx:{mb:1,color:"#344054",fontSize:12,fontWeight:600,lineHeight:1.4}},{children:"Gaps in Decision"})),t(l,i({component:"ol",sx:{m:0,pl:2.25,"& li":{pl:.25,mb:.75,color:"#667085",fontSize:11.5,lineHeight:1.65},"& li:last-child":{mb:0},"& li::marker":{color:"#475467",fontSize:11.5},"& p":{margin:0,color:"#667085",fontSize:11.5,lineHeight:1.65}},style:M.list},{children:F.map(function(e,o){return t(l,i({component:"li"},{children:t(d,{value:"<summary>".concat(e,"</summary>"),styles:N})}),"gap-".concat(o))})}))]})]}))}))]}))}))}export{f as default};
|
|
2
2
|
//# sourceMappingURL=CognitiveIntegrity.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CognitiveIntegrity.d.ts","sourceRoot":"","sources":["../../../../../src/features/SegmentReviewComponents/CognitiveIntegrity.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AASvC,OAAO,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAE3D,OAAyB,EACvB,KAAK,sBAAsB,EAC5B,MAAM,sCAAsC,CAAC;AAY9C,MAAM,WAAW,wBAAwB;IACvC,IAAI,CAAC,EAAE,OAAO,CAAC,KAAK,C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