@viswa-test/test-citation 0.0.368 → 0.0.369

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.
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),i=require("react/jsx-runtime"),t=require("react"),r=require("@mui/icons-material/ChevronRight"),n=require("@mui/icons-material/Close"),o=require("@mui/material/Box"),l=require("@mui/material/Button"),a=require("@mui/material/ButtonBase"),s=require("@mui/material/Divider"),d=require("@mui/material/IconButton"),u=require("@mui/material/Paper"),c=require("@mui/material/Radio"),x=require("@mui/material/Stack"),f=require("@mui/material/TextField"),h=require("@mui/material/Typography"),m=require("./RevertSummaryNotice.js"),p=require("./CognitiveIcon.js"),g=require("./CognitiveScoreBadge.js"),b=require("../../assests/icons/InfoAlert.js");function v(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var _,j=v(r),C=v(n),y=v(o),w=v(l),S=v(a),A=v(s),L=v(d),E=v(u),I=v(c),q=v(x),k=v(f),B=v(h),D=function(i,t){return e.__spreadArray([i],Array.isArray(t)?t:null==t?[]:[t],!0)};exports.LabelReviewActionEnum=void 0,(_=exports.LabelReviewActionEnum||(exports.LabelReviewActionEnum={})).KEEP_LABEL="KEEP_LABEL",_.SET_CUSTOM_LABEL="SET_CUSTOM_LABEL";var z=function(e){return e.user_actions.map(function(i){switch(i){case"KEEP_LABEL":return{id:i,title:"Keep as is",description:e.current_label?'Label stays "'.concat(e.current_label,'"'):"Keep the current document label"};case"SET_CUSTOM_LABEL":return{id:i,title:"Fix a document title",description:"Correct the page title if it's not right",requiresInput:!0,inputPlaceholder:e.current_label?"e.g. ".concat(e.current_label):"Enter a document label"}}})},M=function(e){return Object.values(exports.LabelReviewActionEnum).includes(e)};exports.createLabelCheckOptions=z,exports.default=function(r){var n,o=r.headerName,l=void 0===o?"Title Check":o,a=r.title,s=r.pageNo,d=r.content,u=void 0===d?"We're not fully confident about this label. Confirm it, choose a different type, or add a new one.":d,c=r.revertSummary,x=r.cognitiveScore,f=r.config,h=r.metadata,v=r.selectedIndex,_=r.defaultSelectedIndex,F=void 0===_?null:_,O=r.onSelectionChange,R=r.customLabel,W=r.defaultCustomLabel,T=r.onCustomLabelChange,P=r.onConfirm,K=r.onActionConfirm,H=r.onCognitiveClick;r.onAdjustManually;var N=r.onClose,U=r.confirmLabel,G=void 0===U?"Confirm":U,J=r.customInputAriaLabel,Q=void 0===J?"Custom document label":J;r.manualPrompt,r.manualActionLabel;var V=r.cognitiveLabel,X=void 0===V?"Cognitive Integrity":V;r.showAdjustManually;var Y=r.showCognitiveIntegrity,Z=void 0===Y||Y,$=r.showCloseButton,ee=void 0===$||$,ie=r.confirmDisabled,te=void 0!==ie&&ie,re=r.confirmationBlocked,ne=void 0!==re&&re,oe=r.confirmationWarning,le=r.disableAllActions,ae=void 0!==le&&le,se=r.width,de=void 0===se?260:se,ue=r.maxWidth,ce=void 0===ue?260:ue,xe=r.className,fe=r.styles,he=t.useMemo(function(){return null!=f?f:h?z(h):[]},[f,h]),me=t.useState(F),pe=me[0],ge=me[1],be=t.useState(null!==(n=null!=W?W:null==h?void 0:h.custom_label)&&void 0!==n?n:""),ve=be[0],_e=be[1],je=void 0===v?pe:v,Ce=void 0===R?ve:R,ye=null==je?void 0:he[je],we=Boolean(null==ye?void 0:ye.requiresInput),Se=ne||ae||te||!P&&!K||!ye||!0===ye.disabled||we&&0===Ce.trim().length,Ae=function(){if(!Se&&null!=je&&ye){var e=we?Ce.trim():void 0;null==P||P(je,ye,e),K&&M(ye.id)&&K(ye.id,{selectedIndex:je,option:ye,customLabel:e,metadata:h})}};return i.jsx(E.default,e.__assign({className:xe,elevation:0,sx:D({width:de,maxWidth:ce,borderTop:"4px solid",borderColor:"error.main",borderRadius:2,bgcolor:"background.paper",boxSizing:"border-box",boxShadow:"0 8px 16px rgba(16, 24, 40, 0.2)","@media (max-width: 372px)":{width:"calc(100vw - 32px)"}},null==fe?void 0:fe.root)},{children:i.jsx(y.default,e.__assign({sx:{overflow:"hidden"}},{children:i.jsxs(q.default,e.__assign({spacing:.75,sx:{p:1}},{children:[i.jsxs(q.default,e.__assign({direction:"row",alignItems:"center",spacing:.75,sx:null==fe?void 0:fe.header},{children:[i.jsx(b.default,{color:"error",height:16,width:16}),i.jsx(B.default,e.__assign({sx:{flex:1,color:"error.main",fontSize:12,fontWeight:500,lineHeight:1.25,textTransform:"uppercase"}},{children:l})),ee&&i.jsx(L.default,e.__assign({size:"small",onClick:N,disabled:!N,"aria-label":"Close label check",sx:{p:0,"&.Mui-disabled":{color:"text.secondary"}}},{children:i.jsx(C.default,{sx:{fontSize:17}})}))]})),i.jsxs(y.default,{children:[i.jsx(B.default,e.__assign({sx:{color:"text.primary",fontSize:14,fontWeight:500}},{children:a})),null!=s&&i.jsx(B.default,e.__assign({sx:{mt:.125,color:"text.secondary",fontSize:12}},{children:s})),i.jsx(A.default,{sx:{my:.625}}),null!=c?i.jsx(m.default,{children:c}):null!=u&&i.jsx(B.default,e.__assign({component:"div",sx:{color:"text.secondary",fontSize:11.5,lineHeight:1.3}},{children:u}))]}),i.jsxs(q.default,e.__assign({spacing:.625,role:"radiogroup","aria-label":"Label options"},{children:[he.map(function(t,r){var n=je===r;return i.jsxs(E.default,e.__assign({variant:"outlined",sx:D({borderColor:n?"#1976d2":"divider",borderRadius:2,overflow:"hidden"},null==fe?void 0:fe.option)},{children:[i.jsxs(S.default,e.__assign({role:"radio","aria-checked":n,disabled:te||t.disabled||ne,onClick:function(){return function(e,i){te||i.disabled||(void 0===v&&ge(e),null==O||O(e,i))}(r,t)},sx:{width:"100%",justifyContent:"flex-start",px:.75,py:.5,textAlign:"left",cursor:"pointer","&.Mui-disabled":{cursor:"not-allowed"}}},{children:[i.jsx(I.default,{checked:n,disabled:te||t.disabled||ne,tabIndex:-1,size:"small",sx:{p:.25,mr:.5,cursor:"pointer","&.Mui-disabled":{cursor:"not-allowed"}}}),i.jsxs(y.default,e.__assign({sx:{minWidth:0}},{children:[i.jsx(B.default,e.__assign({sx:{color:"text.primary",fontSize:12.5,fontWeight:500}},{children:t.title})),null!=t.description&&i.jsx(B.default,e.__assign({sx:{mt:.125,color:"text.secondary",fontSize:11}},{children:t.description}))]}))]})),n&&t.requiresInput&&i.jsx(y.default,e.__assign({sx:{px:1.25,pb:1}},{children:i.jsx(k.default,{autoFocus:!0,fullWidth:!0,size:"small",value:Ce,disabled:te,placeholder:t.inputPlaceholder,inputProps:{"aria-label":Q},onChange:function(e){return i=e.target.value,void 0===R&&_e(i),void(null==T||T(i));var i},onKeyDown:function(e){"Enter"===e.key&&Ae()},variant:"outlined",InputProps:{sx:{height:36,borderRadius:2,backgroundColor:"background.paper","& .MuiOutlinedInput-notchedOutline":{borderColor:"#D0D5DD",borderWidth:"1px"},"&:hover .MuiOutlinedInput-notchedOutline":{borderColor:"#D0D5DD"},"&.Mui-focused .MuiOutlinedInput-notchedOutline":{borderColor:"#D0D5DD",borderWidth:"1.5px"},"& .MuiOutlinedInput-input":{height:"100%",boxSizing:"border-box",px:1.25,py:0,fontSize:12,lineHeight:1.25},"& .MuiOutlinedInput-input::placeholder":{color:"#98A2B3",opacity:1}}},sx:null==fe?void 0:fe.customInput})}))]}),t.id)}),null!=oe&&i.jsxs(q.default,e.__assign({direction:"row",alignItems:"flex-start",spacing:.5,role:"alert",sx:D({px:.75,py:.625,borderRadius:1,bgcolor:"#FEFCE8",color:"#CA8A04"},null==fe?void 0:fe.confirmationWarning)},{children:[i.jsx(b.default,{color:"inherit",height:15,width:15}),i.jsx(B.default,e.__assign({sx:{color:"inherit",fontSize:11.5,lineHeight:1.3}},{children:oe}))]})),i.jsx(w.default,e.__assign({variant:"contained",fullWidth:!0,disabled:Se,onClick:Ae,sx:D({minHeight:32,mt:.25,borderRadius:2,fontSize:13,fontWeight:600,textTransform:"none",backgroundColor:"#5925DC","&:hover":{backgroundColor:"#4A1FB8"},"&.Mui-disabled":{backgroundColor:"#D9D6FE",color:"#FFFFFF"}},null==fe?void 0:fe.confirmButton)},{children:G}))]})),i.jsx(q.default,e.__assign({spacing:.625,sx:null==fe?void 0:fe.footer},{children:Z&&i.jsxs(i.Fragment,{children:[i.jsx(A.default,{}),i.jsxs(S.default,e.__assign({onClick:H,disabled:!H,sx:{justifyContent:"space-between",borderRadius:1,textAlign:"left",cursor:H?"pointer":"not-allowed"}},{children:[i.jsxs(q.default,e.__assign({direction:"row",alignItems:"center",spacing:1},{children:[i.jsx(p.default,{sx:{color:"text.secondary"}}),i.jsx(B.default,e.__assign({sx:{color:"text.primary",fontSize:12}},{children:X}))]})),i.jsxs(q.default,e.__assign({direction:"row",alignItems:"center",spacing:.75},{children:[i.jsx(g.default,{score:x}),i.jsx(j.default,{sx:{color:"text.secondary",fontSize:18}})]}))]}))]})}))]}))}))}))},exports.isLabelReviewAction=M;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),i=require("react/jsx-runtime"),t=require("react"),r=require("@mui/icons-material/ChevronRight"),n=require("@mui/icons-material/Close"),o=require("@mui/material/Box"),l=require("@mui/material/Button"),a=require("@mui/material/ButtonBase"),s=require("@mui/material/Divider"),d=require("@mui/material/IconButton"),u=require("@mui/material/Paper"),c=require("@mui/material/Radio"),x=require("@mui/material/Stack"),f=require("@mui/material/TextField"),h=require("@mui/material/Typography"),m=require("./RevertSummaryNotice.js"),p=require("./CognitiveIcon.js"),g=require("./CognitiveScoreBadge.js"),b=require("../../assests/icons/InfoAlert.js");function v(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var _,j=v(r),C=v(n),y=v(o),w=v(l),S=v(a),A=v(s),L=v(d),E=v(u),I=v(c),q=v(x),k=v(f),B=v(h),D=function(i,t){return e.__spreadArray([i],Array.isArray(t)?t:null==t?[]:[t],!0)};exports.LabelReviewActionEnum=void 0,(_=exports.LabelReviewActionEnum||(exports.LabelReviewActionEnum={})).KEEP_LABEL="KEEP_LABEL",_.SET_CUSTOM_LABEL="SET_CUSTOM_LABEL";var z=function(e){return e.user_actions.map(function(i){switch(i){case"KEEP_LABEL":return{id:i,title:"Keep as is",description:e.current_label?'Label stays "'.concat(e.current_label,'"'):"Keep the current document label"};case"SET_CUSTOM_LABEL":return{id:i,title:"Fix a document title",description:"Correct the page title if it's not right",requiresInput:!0,inputPlaceholder:e.current_label?"e.g. ".concat(e.current_label):"Enter a document label"}}})},M=function(e){return Object.values(exports.LabelReviewActionEnum).includes(e)};exports.createLabelCheckOptions=z,exports.default=function(r){var n,o=r.headerName,l=void 0===o?"Title Check":o,a=r.title,s=r.pageNo,d=r.content,u=void 0===d?"We're not fully confident about this label. Confirm it, choose a different type, or add a new one.":d,c=r.revertSummary,x=r.cognitiveScore,f=r.config,h=r.metadata,v=r.selectedIndex,_=r.defaultSelectedIndex,F=void 0===_?null:_,O=r.onSelectionChange,R=r.customLabel,W=r.defaultCustomLabel,T=r.onCustomLabelChange,P=r.onConfirm,K=r.onActionConfirm,H=r.onCognitiveClick;r.onAdjustManually;var N=r.onClose,U=r.confirmLabel,G=void 0===U?"Confirm":U,J=r.customInputAriaLabel,Q=void 0===J?"Custom document label":J;r.manualPrompt,r.manualActionLabel;var V=r.cognitiveLabel,X=void 0===V?"Cognitive Integrity":V;r.showAdjustManually;var Y=r.showCognitiveIntegrity,Z=void 0===Y||Y,$=r.showCloseButton,ee=void 0===$||$,ie=r.confirmDisabled,te=void 0!==ie&&ie,re=r.confirmationBlocked,ne=void 0!==re&&re,oe=r.confirmationWarning,le=r.disableAllActions,ae=void 0!==le&&le,se=r.width,de=void 0===se?260:se,ue=r.maxWidth,ce=void 0===ue?260:ue,xe=r.className,fe=r.styles,he=t.useMemo(function(){return null!=f?f:h?z(h):[]},[f,h]),me=t.useState(F),pe=me[0],ge=me[1],be=t.useState(null!==(n=null!=W?W:null==h?void 0:h.custom_label)&&void 0!==n?n:""),ve=be[0],_e=be[1],je=void 0===v?pe:v,Ce=void 0===R?ve:R,ye=null==je?void 0:he[je],we=Boolean(null==ye?void 0:ye.requiresInput),Se=ne||ae||te||!P&&!K||!ye||!0===ye.disabled||we&&0===Ce.trim().length,Ae=function(){if(!Se&&null!=je&&ye){var e=we?Ce.trim():void 0;null==P||P(je,ye,e),K&&M(ye.id)&&K(ye.id,{selectedIndex:je,option:ye,customLabel:e,metadata:h})}};return i.jsx(E.default,e.__assign({className:xe,elevation:0,sx:D({width:de,maxWidth:ce,borderTop:"4px solid",borderColor:"error.main",borderRadius:2,bgcolor:"background.paper",boxSizing:"border-box",boxShadow:"0 8px 16px rgba(16, 24, 40, 0.2)","@media (max-width: 372px)":{width:"calc(100vw - 32px)"}},null==fe?void 0:fe.root)},{children:i.jsx(y.default,e.__assign({sx:{overflow:"hidden"}},{children:i.jsxs(q.default,e.__assign({spacing:.75,sx:{p:1}},{children:[i.jsxs(q.default,e.__assign({direction:"row",alignItems:"center",spacing:.75,sx:null==fe?void 0:fe.header},{children:[i.jsx(b.default,{color:"error",height:16,width:16}),i.jsx(B.default,e.__assign({sx:{flex:1,color:"error.main",fontSize:12,fontWeight:500,lineHeight:1.25,textTransform:"uppercase"}},{children:l})),ee&&i.jsx(L.default,e.__assign({size:"small",onClick:N,disabled:!N,"aria-label":"Close label check",sx:{p:0,"&.Mui-disabled":{color:"text.secondary"}}},{children:i.jsx(C.default,{sx:{fontSize:17}})}))]})),i.jsxs(y.default,{children:[i.jsx(B.default,e.__assign({sx:{color:"text.primary",fontSize:14,fontWeight:500}},{children:a})),null!=s&&i.jsx(B.default,e.__assign({sx:{mt:.125,color:"text.secondary",fontSize:12}},{children:s})),i.jsx(A.default,{sx:{my:.625}}),null!=c?i.jsx(m.default,{children:c}):null!=u&&i.jsx(B.default,e.__assign({component:"div",sx:{color:"text.secondary",fontSize:11.5,lineHeight:1.3}},{children:u}))]}),i.jsxs(q.default,e.__assign({spacing:.625,role:"radiogroup","aria-label":"Label options"},{children:[null!=oe&&i.jsxs(q.default,e.__assign({direction:"row",alignItems:"flex-start",spacing:.5,role:"alert",sx:D({px:.75,py:.625,borderRadius:1,bgcolor:"#FEFCE8",color:"#CA8A04"},null==fe?void 0:fe.confirmationWarning)},{children:[i.jsx(b.default,{color:"inherit",height:15,width:15}),i.jsx(B.default,e.__assign({sx:{color:"inherit",fontSize:11.5,lineHeight:1.3}},{children:oe}))]})),he.map(function(t,r){var n=je===r;return i.jsxs(E.default,e.__assign({variant:"outlined",sx:D({borderColor:n?"#1976d2":"divider",borderRadius:2,overflow:"hidden"},null==fe?void 0:fe.option)},{children:[i.jsxs(S.default,e.__assign({role:"radio","aria-checked":n,disabled:te||t.disabled||ne,onClick:function(){return function(e,i){te||i.disabled||(void 0===v&&ge(e),null==O||O(e,i))}(r,t)},sx:{width:"100%",justifyContent:"flex-start",px:.75,py:.5,textAlign:"left",cursor:"pointer","&.Mui-disabled":{cursor:"not-allowed"}}},{children:[i.jsx(I.default,{checked:n,disabled:te||t.disabled||ne,tabIndex:-1,size:"small",sx:{p:.25,mr:.5,cursor:"pointer","&.Mui-disabled":{cursor:"not-allowed"}}}),i.jsxs(y.default,e.__assign({sx:{minWidth:0}},{children:[i.jsx(B.default,e.__assign({sx:{color:"text.primary",fontSize:12.5,fontWeight:500}},{children:t.title})),null!=t.description&&i.jsx(B.default,e.__assign({sx:{mt:.125,color:"text.secondary",fontSize:11}},{children:t.description}))]}))]})),n&&t.requiresInput&&i.jsx(y.default,e.__assign({sx:{px:1.25,pb:1}},{children:i.jsx(k.default,{autoFocus:!0,fullWidth:!0,size:"small",value:Ce,disabled:te,placeholder:t.inputPlaceholder,inputProps:{"aria-label":Q},onChange:function(e){return i=e.target.value,void 0===R&&_e(i),void(null==T||T(i));var i},onKeyDown:function(e){"Enter"===e.key&&Ae()},variant:"outlined",InputProps:{sx:{height:36,borderRadius:2,backgroundColor:"background.paper","& .MuiOutlinedInput-notchedOutline":{borderColor:"#D0D5DD",borderWidth:"1px"},"&:hover .MuiOutlinedInput-notchedOutline":{borderColor:"#D0D5DD"},"&.Mui-focused .MuiOutlinedInput-notchedOutline":{borderColor:"#D0D5DD",borderWidth:"1.5px"},"& .MuiOutlinedInput-input":{height:"100%",boxSizing:"border-box",px:1.25,py:0,fontSize:12,lineHeight:1.25},"& .MuiOutlinedInput-input::placeholder":{color:"#98A2B3",opacity:1}}},sx:null==fe?void 0:fe.customInput})}))]}),t.id)}),i.jsx(w.default,e.__assign({variant:"contained",fullWidth:!0,disabled:Se,onClick:Ae,sx:D({minHeight:32,mt:.25,borderRadius:2,fontSize:13,fontWeight:600,textTransform:"none",backgroundColor:"#5925DC","&:hover":{backgroundColor:"#4A1FB8"},"&.Mui-disabled":{backgroundColor:"#D9D6FE",color:"#FFFFFF"}},null==fe?void 0:fe.confirmButton)},{children:G}))]})),i.jsx(q.default,e.__assign({spacing:.625,sx:null==fe?void 0:fe.footer},{children:Z&&i.jsxs(i.Fragment,{children:[i.jsx(A.default,{}),i.jsxs(S.default,e.__assign({onClick:H,disabled:!H,sx:{justifyContent:"space-between",borderRadius:1,textAlign:"left",cursor:H?"pointer":"not-allowed"}},{children:[i.jsxs(q.default,e.__assign({direction:"row",alignItems:"center",spacing:1},{children:[i.jsx(p.default,{sx:{color:"text.secondary"}}),i.jsx(B.default,e.__assign({sx:{color:"text.primary",fontSize:12}},{children:X}))]})),i.jsxs(q.default,e.__assign({direction:"row",alignItems:"center",spacing:.75},{children:[i.jsx(g.default,{score:x}),i.jsx(j.default,{sx:{color:"text.secondary",fontSize:18}})]}))]}))]})}))]}))}))}))},exports.isLabelReviewAction=M;
2
2
  //# sourceMappingURL=LabelCheck.js.map
@@ -1,2 +1,2 @@
1
- import{__assign as e,__spreadArray as i}from"tslib";import{jsx as o,jsxs as r,Fragment as t}from"react/jsx-runtime";import{useMemo as n,useState as l}from"react";import a from"@mui/icons-material/ChevronRight";import d from"@mui/icons-material/Close";import c from"@mui/material/Box";import u from"@mui/material/Button";import s from"@mui/material/ButtonBase";import m from"@mui/material/Divider";import p from"@mui/material/IconButton";import h from"@mui/material/Paper";import f from"@mui/material/Radio";import b from"@mui/material/Stack";import x from"@mui/material/TextField";import v from"@mui/material/Typography";import g from"./RevertSummaryNotice.js";import C from"./CognitiveIcon.js";import y from"./CognitiveScoreBadge.js";import S from"../../assests/icons/InfoAlert.js";var w,I=function(e,o){return i([e],Array.isArray(o)?o:null==o?[]:[o],!0)};!function(e){e.KEEP_LABEL="KEEP_LABEL",e.SET_CUSTOM_LABEL="SET_CUSTOM_LABEL"}(w||(w={}));var A=function(e){return e.user_actions.map(function(i){switch(i){case"KEEP_LABEL":return{id:i,title:"Keep as is",description:e.current_label?'Label stays "'.concat(e.current_label,'"'):"Keep the current document label"};case"SET_CUSTOM_LABEL":return{id:i,title:"Fix a document title",description:"Correct the page title if it's not right",requiresInput:!0,inputPlaceholder:e.current_label?"e.g. ".concat(e.current_label):"Enter a document label"}}})},L=function(e){return Object.values(w).includes(e)};function E(i){var w,E=i.headerName,k=void 0===E?"Title Check":E,B=i.title,D=i.pageNo,z=i.content,M=void 0===z?"We're not fully confident about this label. Confirm it, choose a different type, or add a new one.":z,_=i.revertSummary,W=i.cognitiveScore,F=i.config,O=i.metadata,T=i.selectedIndex,j=i.defaultSelectedIndex,P=void 0===j?null:j,R=i.onSelectionChange,K=i.customLabel,H=i.defaultCustomLabel,N=i.onCustomLabelChange,q=i.onConfirm,U=i.onActionConfirm,G=i.onCognitiveClick;i.onAdjustManually;var J=i.onClose,Q=i.confirmLabel,V=void 0===Q?"Confirm":Q,X=i.customInputAriaLabel,Y=void 0===X?"Custom document label":X;i.manualPrompt,i.manualActionLabel;var Z=i.cognitiveLabel,$=void 0===Z?"Cognitive Integrity":Z;i.showAdjustManually;var ee=i.showCognitiveIntegrity,ie=void 0===ee||ee,oe=i.showCloseButton,re=void 0===oe||oe,te=i.confirmDisabled,ne=void 0!==te&&te,le=i.confirmationBlocked,ae=void 0!==le&&le,de=i.confirmationWarning,ce=i.disableAllActions,ue=void 0!==ce&&ce,se=i.width,me=void 0===se?260:se,pe=i.maxWidth,he=void 0===pe?260:pe,fe=i.className,be=i.styles,xe=n(function(){return null!=F?F:O?A(O):[]},[F,O]),ve=l(P),ge=ve[0],Ce=ve[1],ye=l(null!==(w=null!=H?H:null==O?void 0:O.custom_label)&&void 0!==w?w:""),Se=ye[0],we=ye[1],Ie=void 0===T?ge:T,Ae=void 0===K?Se:K,Le=null==Ie?void 0:xe[Ie],Ee=Boolean(null==Le?void 0:Le.requiresInput),ke=ae||ue||ne||!q&&!U||!Le||!0===Le.disabled||Ee&&0===Ae.trim().length,Be=function(){if(!ke&&null!=Ie&&Le){var e=Ee?Ae.trim():void 0;null==q||q(Ie,Le,e),U&&L(Le.id)&&U(Le.id,{selectedIndex:Ie,option:Le,customLabel:e,metadata:O})}};return o(h,e({className:fe,elevation:0,sx:I({width:me,maxWidth:he,borderTop:"4px solid",borderColor:"error.main",borderRadius:2,bgcolor:"background.paper",boxSizing:"border-box",boxShadow:"0 8px 16px rgba(16, 24, 40, 0.2)","@media (max-width: 372px)":{width:"calc(100vw - 32px)"}},null==be?void 0:be.root)},{children:o(c,e({sx:{overflow:"hidden"}},{children:r(b,e({spacing:.75,sx:{p:1}},{children:[r(b,e({direction:"row",alignItems:"center",spacing:.75,sx:null==be?void 0:be.header},{children:[o(S,{color:"error",height:16,width:16}),o(v,e({sx:{flex:1,color:"error.main",fontSize:12,fontWeight:500,lineHeight:1.25,textTransform:"uppercase"}},{children:k})),re&&o(p,e({size:"small",onClick:J,disabled:!J,"aria-label":"Close label check",sx:{p:0,"&.Mui-disabled":{color:"text.secondary"}}},{children:o(d,{sx:{fontSize:17}})}))]})),r(c,{children:[o(v,e({sx:{color:"text.primary",fontSize:14,fontWeight:500}},{children:B})),null!=D&&o(v,e({sx:{mt:.125,color:"text.secondary",fontSize:12}},{children:D})),o(m,{sx:{my:.625}}),null!=_?o(g,{children:_}):null!=M&&o(v,e({component:"div",sx:{color:"text.secondary",fontSize:11.5,lineHeight:1.3}},{children:M}))]}),r(b,e({spacing:.625,role:"radiogroup","aria-label":"Label options"},{children:[xe.map(function(i,t){var n=Ie===t;return r(h,e({variant:"outlined",sx:I({borderColor:n?"#1976d2":"divider",borderRadius:2,overflow:"hidden"},null==be?void 0:be.option)},{children:[r(s,e({role:"radio","aria-checked":n,disabled:ne||i.disabled||ae,onClick:function(){return function(e,i){ne||i.disabled||(void 0===T&&Ce(e),null==R||R(e,i))}(t,i)},sx:{width:"100%",justifyContent:"flex-start",px:.75,py:.5,textAlign:"left",cursor:"pointer","&.Mui-disabled":{cursor:"not-allowed"}}},{children:[o(f,{checked:n,disabled:ne||i.disabled||ae,tabIndex:-1,size:"small",sx:{p:.25,mr:.5,cursor:"pointer","&.Mui-disabled":{cursor:"not-allowed"}}}),r(c,e({sx:{minWidth:0}},{children:[o(v,e({sx:{color:"text.primary",fontSize:12.5,fontWeight:500}},{children:i.title})),null!=i.description&&o(v,e({sx:{mt:.125,color:"text.secondary",fontSize:11}},{children:i.description}))]}))]})),n&&i.requiresInput&&o(c,e({sx:{px:1.25,pb:1}},{children:o(x,{autoFocus:!0,fullWidth:!0,size:"small",value:Ae,disabled:ne,placeholder:i.inputPlaceholder,inputProps:{"aria-label":Y},onChange:function(e){return i=e.target.value,void 0===K&&we(i),void(null==N||N(i));var i},onKeyDown:function(e){"Enter"===e.key&&Be()},variant:"outlined",InputProps:{sx:{height:36,borderRadius:2,backgroundColor:"background.paper","& .MuiOutlinedInput-notchedOutline":{borderColor:"#D0D5DD",borderWidth:"1px"},"&:hover .MuiOutlinedInput-notchedOutline":{borderColor:"#D0D5DD"},"&.Mui-focused .MuiOutlinedInput-notchedOutline":{borderColor:"#D0D5DD",borderWidth:"1.5px"},"& .MuiOutlinedInput-input":{height:"100%",boxSizing:"border-box",px:1.25,py:0,fontSize:12,lineHeight:1.25},"& .MuiOutlinedInput-input::placeholder":{color:"#98A2B3",opacity:1}}},sx:null==be?void 0:be.customInput})}))]}),i.id)}),null!=de&&r(b,e({direction:"row",alignItems:"flex-start",spacing:.5,role:"alert",sx:I({px:.75,py:.625,borderRadius:1,bgcolor:"#FEFCE8",color:"#CA8A04"},null==be?void 0:be.confirmationWarning)},{children:[o(S,{color:"inherit",height:15,width:15}),o(v,e({sx:{color:"inherit",fontSize:11.5,lineHeight:1.3}},{children:de}))]})),o(u,e({variant:"contained",fullWidth:!0,disabled:ke,onClick:Be,sx:I({minHeight:32,mt:.25,borderRadius:2,fontSize:13,fontWeight:600,textTransform:"none",backgroundColor:"#5925DC","&:hover":{backgroundColor:"#4A1FB8"},"&.Mui-disabled":{backgroundColor:"#D9D6FE",color:"#FFFFFF"}},null==be?void 0:be.confirmButton)},{children:V}))]})),o(b,e({spacing:.625,sx:null==be?void 0:be.footer},{children:ie&&r(t,{children:[o(m,{}),r(s,e({onClick:G,disabled:!G,sx:{justifyContent:"space-between",borderRadius:1,textAlign:"left",cursor:G?"pointer":"not-allowed"}},{children:[r(b,e({direction:"row",alignItems:"center",spacing:1},{children:[o(C,{sx:{color:"text.secondary"}}),o(v,e({sx:{color:"text.primary",fontSize:12}},{children:$}))]})),r(b,e({direction:"row",alignItems:"center",spacing:.75},{children:[o(y,{score:W}),o(a,{sx:{color:"text.secondary",fontSize:18}})]}))]}))]})}))]}))}))}))}export{w as LabelReviewActionEnum,A as createLabelCheckOptions,E as default,L as isLabelReviewAction};
1
+ import{__assign as e,__spreadArray as i}from"tslib";import{jsx as o,jsxs as r,Fragment as t}from"react/jsx-runtime";import{useMemo as n,useState as l}from"react";import a from"@mui/icons-material/ChevronRight";import d from"@mui/icons-material/Close";import c from"@mui/material/Box";import u from"@mui/material/Button";import s from"@mui/material/ButtonBase";import m from"@mui/material/Divider";import p from"@mui/material/IconButton";import h from"@mui/material/Paper";import f from"@mui/material/Radio";import b from"@mui/material/Stack";import x from"@mui/material/TextField";import v from"@mui/material/Typography";import g from"./RevertSummaryNotice.js";import C from"./CognitiveIcon.js";import y from"./CognitiveScoreBadge.js";import S from"../../assests/icons/InfoAlert.js";var w,I=function(e,o){return i([e],Array.isArray(o)?o:null==o?[]:[o],!0)};!function(e){e.KEEP_LABEL="KEEP_LABEL",e.SET_CUSTOM_LABEL="SET_CUSTOM_LABEL"}(w||(w={}));var A=function(e){return e.user_actions.map(function(i){switch(i){case"KEEP_LABEL":return{id:i,title:"Keep as is",description:e.current_label?'Label stays "'.concat(e.current_label,'"'):"Keep the current document label"};case"SET_CUSTOM_LABEL":return{id:i,title:"Fix a document title",description:"Correct the page title if it's not right",requiresInput:!0,inputPlaceholder:e.current_label?"e.g. ".concat(e.current_label):"Enter a document label"}}})},L=function(e){return Object.values(w).includes(e)};function E(i){var w,E=i.headerName,k=void 0===E?"Title Check":E,B=i.title,D=i.pageNo,z=i.content,M=void 0===z?"We're not fully confident about this label. Confirm it, choose a different type, or add a new one.":z,_=i.revertSummary,W=i.cognitiveScore,F=i.config,O=i.metadata,T=i.selectedIndex,j=i.defaultSelectedIndex,P=void 0===j?null:j,R=i.onSelectionChange,K=i.customLabel,H=i.defaultCustomLabel,N=i.onCustomLabelChange,q=i.onConfirm,U=i.onActionConfirm,G=i.onCognitiveClick;i.onAdjustManually;var J=i.onClose,Q=i.confirmLabel,V=void 0===Q?"Confirm":Q,X=i.customInputAriaLabel,Y=void 0===X?"Custom document label":X;i.manualPrompt,i.manualActionLabel;var Z=i.cognitiveLabel,$=void 0===Z?"Cognitive Integrity":Z;i.showAdjustManually;var ee=i.showCognitiveIntegrity,ie=void 0===ee||ee,oe=i.showCloseButton,re=void 0===oe||oe,te=i.confirmDisabled,ne=void 0!==te&&te,le=i.confirmationBlocked,ae=void 0!==le&&le,de=i.confirmationWarning,ce=i.disableAllActions,ue=void 0!==ce&&ce,se=i.width,me=void 0===se?260:se,pe=i.maxWidth,he=void 0===pe?260:pe,fe=i.className,be=i.styles,xe=n(function(){return null!=F?F:O?A(O):[]},[F,O]),ve=l(P),ge=ve[0],Ce=ve[1],ye=l(null!==(w=null!=H?H:null==O?void 0:O.custom_label)&&void 0!==w?w:""),Se=ye[0],we=ye[1],Ie=void 0===T?ge:T,Ae=void 0===K?Se:K,Le=null==Ie?void 0:xe[Ie],Ee=Boolean(null==Le?void 0:Le.requiresInput),ke=ae||ue||ne||!q&&!U||!Le||!0===Le.disabled||Ee&&0===Ae.trim().length,Be=function(){if(!ke&&null!=Ie&&Le){var e=Ee?Ae.trim():void 0;null==q||q(Ie,Le,e),U&&L(Le.id)&&U(Le.id,{selectedIndex:Ie,option:Le,customLabel:e,metadata:O})}};return o(h,e({className:fe,elevation:0,sx:I({width:me,maxWidth:he,borderTop:"4px solid",borderColor:"error.main",borderRadius:2,bgcolor:"background.paper",boxSizing:"border-box",boxShadow:"0 8px 16px rgba(16, 24, 40, 0.2)","@media (max-width: 372px)":{width:"calc(100vw - 32px)"}},null==be?void 0:be.root)},{children:o(c,e({sx:{overflow:"hidden"}},{children:r(b,e({spacing:.75,sx:{p:1}},{children:[r(b,e({direction:"row",alignItems:"center",spacing:.75,sx:null==be?void 0:be.header},{children:[o(S,{color:"error",height:16,width:16}),o(v,e({sx:{flex:1,color:"error.main",fontSize:12,fontWeight:500,lineHeight:1.25,textTransform:"uppercase"}},{children:k})),re&&o(p,e({size:"small",onClick:J,disabled:!J,"aria-label":"Close label check",sx:{p:0,"&.Mui-disabled":{color:"text.secondary"}}},{children:o(d,{sx:{fontSize:17}})}))]})),r(c,{children:[o(v,e({sx:{color:"text.primary",fontSize:14,fontWeight:500}},{children:B})),null!=D&&o(v,e({sx:{mt:.125,color:"text.secondary",fontSize:12}},{children:D})),o(m,{sx:{my:.625}}),null!=_?o(g,{children:_}):null!=M&&o(v,e({component:"div",sx:{color:"text.secondary",fontSize:11.5,lineHeight:1.3}},{children:M}))]}),r(b,e({spacing:.625,role:"radiogroup","aria-label":"Label options"},{children:[null!=de&&r(b,e({direction:"row",alignItems:"flex-start",spacing:.5,role:"alert",sx:I({px:.75,py:.625,borderRadius:1,bgcolor:"#FEFCE8",color:"#CA8A04"},null==be?void 0:be.confirmationWarning)},{children:[o(S,{color:"inherit",height:15,width:15}),o(v,e({sx:{color:"inherit",fontSize:11.5,lineHeight:1.3}},{children:de}))]})),xe.map(function(i,t){var n=Ie===t;return r(h,e({variant:"outlined",sx:I({borderColor:n?"#1976d2":"divider",borderRadius:2,overflow:"hidden"},null==be?void 0:be.option)},{children:[r(s,e({role:"radio","aria-checked":n,disabled:ne||i.disabled||ae,onClick:function(){return function(e,i){ne||i.disabled||(void 0===T&&Ce(e),null==R||R(e,i))}(t,i)},sx:{width:"100%",justifyContent:"flex-start",px:.75,py:.5,textAlign:"left",cursor:"pointer","&.Mui-disabled":{cursor:"not-allowed"}}},{children:[o(f,{checked:n,disabled:ne||i.disabled||ae,tabIndex:-1,size:"small",sx:{p:.25,mr:.5,cursor:"pointer","&.Mui-disabled":{cursor:"not-allowed"}}}),r(c,e({sx:{minWidth:0}},{children:[o(v,e({sx:{color:"text.primary",fontSize:12.5,fontWeight:500}},{children:i.title})),null!=i.description&&o(v,e({sx:{mt:.125,color:"text.secondary",fontSize:11}},{children:i.description}))]}))]})),n&&i.requiresInput&&o(c,e({sx:{px:1.25,pb:1}},{children:o(x,{autoFocus:!0,fullWidth:!0,size:"small",value:Ae,disabled:ne,placeholder:i.inputPlaceholder,inputProps:{"aria-label":Y},onChange:function(e){return i=e.target.value,void 0===K&&we(i),void(null==N||N(i));var i},onKeyDown:function(e){"Enter"===e.key&&Be()},variant:"outlined",InputProps:{sx:{height:36,borderRadius:2,backgroundColor:"background.paper","& .MuiOutlinedInput-notchedOutline":{borderColor:"#D0D5DD",borderWidth:"1px"},"&:hover .MuiOutlinedInput-notchedOutline":{borderColor:"#D0D5DD"},"&.Mui-focused .MuiOutlinedInput-notchedOutline":{borderColor:"#D0D5DD",borderWidth:"1.5px"},"& .MuiOutlinedInput-input":{height:"100%",boxSizing:"border-box",px:1.25,py:0,fontSize:12,lineHeight:1.25},"& .MuiOutlinedInput-input::placeholder":{color:"#98A2B3",opacity:1}}},sx:null==be?void 0:be.customInput})}))]}),i.id)}),o(u,e({variant:"contained",fullWidth:!0,disabled:ke,onClick:Be,sx:I({minHeight:32,mt:.25,borderRadius:2,fontSize:13,fontWeight:600,textTransform:"none",backgroundColor:"#5925DC","&:hover":{backgroundColor:"#4A1FB8"},"&.Mui-disabled":{backgroundColor:"#D9D6FE",color:"#FFFFFF"}},null==be?void 0:be.confirmButton)},{children:V}))]})),o(b,e({spacing:.625,sx:null==be?void 0:be.footer},{children:ie&&r(t,{children:[o(m,{}),r(s,e({onClick:G,disabled:!G,sx:{justifyContent:"space-between",borderRadius:1,textAlign:"left",cursor:G?"pointer":"not-allowed"}},{children:[r(b,e({direction:"row",alignItems:"center",spacing:1},{children:[o(C,{sx:{color:"text.secondary"}}),o(v,e({sx:{color:"text.primary",fontSize:12}},{children:$}))]})),r(b,e({direction:"row",alignItems:"center",spacing:.75},{children:[o(y,{score:W}),o(a,{sx:{color:"text.secondary",fontSize:18}})]}))]}))]})}))]}))}))}))}export{w as LabelReviewActionEnum,A as createLabelCheckOptions,E as default,L as isLabelReviewAction};
2
2
  //# sourceMappingURL=LabelCheck.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"LabelCheck.d.ts","sourceRoot":"","sources":["../../../../../src/features/SegmentReviewComponents/LabelCheck.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAqB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAe1D,OAAO,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAa3D,MAAM,WAAW,gBAAgB;IAC/B,sDAAsD;IACtD,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,SAAS,CAAC;IACjB,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,oEAAoE;IACpE,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,oBAAY,qBAAqB;IAC/B,UAAU,eAAe;IACzB,gBAAgB,qBAAqB;CACtC;AAED,MAAM,MAAM,iBAAiB,GAAG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EAAE,OAAO,CAAC;IAC9B,mBAAmB,CAAC,EAAE,SAAS,CAAC;IAChC,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,gBAAgB,CAAC;CAC3B;AAED,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,EACjC,UAA0B,EAC1B,KAAK,EACL,MAAM,EACN,OAA8G,EAC9G,aAAa,EACb,cAAc,EACd,MAAM,EACN,QAAQ,EACR,aAAa,EACb,oBAA2B,EAC3B,iBAAiB,EACjB,WAAW,EACX,kBAAkB,EAClB,mBAAmB,EACnB,SAAS,EACT,eAAe,EACf,gBAAgB,EAChB,gBAAgB,EAChB,OAAO,EACP,YAAwB,EACxB,oBAA8C,EAC9C,YAA8C,EAC9C,iBAAqC,EACrC,cAAsC,EACtC,kBAAyB,EACzB,sBAA6B,EAC7B,eAAsB,EACtB,eAAuB,EACvB,mBAA2B,EAC3B,mBAAmB,EACnB,iBAAyB,EACzB,KAAW,EACX,QAAc,EACd,SAAS,EACT,MAAM,GACP,EAAE,eAAe,2CAiWjB"}
1
+ {"version":3,"file":"LabelCheck.d.ts","sourceRoot":"","sources":["../../../../../src/features/SegmentReviewComponents/LabelCheck.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAqB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAe1D,OAAO,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAa3D,MAAM,WAAW,gBAAgB;IAC/B,sDAAsD;IACtD,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,SAAS,CAAC;IACjB,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,oEAAoE;IACpE,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,gBAAgB,CAA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AkB,CAAC,EAAE,OAAO,CAAC;IAC7B,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,mBAAmB,CAAC,EAAE,SAAS,CAAC;IAChC,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,gBAAgB,CAAC;CAC3B;AAED,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,EACjC,UAA0B,EAC1B,KAAK,EACL,MAAM,EACN,OAA8G,EAC9G,aAAa,EACb,cAAc,EACd,MAAM,EACN,QAAQ,EACR,aAAa,EACb,oBAA2B,EAC3B,iBAAiB,EACjB,WAAW,EACX,kBAAkB,EAClB,mBAAmB,EACnB,SAAS,EACT,eAAe,EACf,gBAAgB,EAChB,gBAAgB,EAChB,OAAO,EACP,YAAwB,EACxB,oBAA8C,EAC9C,YAA8C,EAC9C,iBAAqC,EACrC,cAAsC,EACtC,kBAAyB,EACzB,sBAA6B,EAC7B,eAAsB,EACtB,eAAuB,EACvB,mBAA2B,EAC3B,mBAAmB,EACnB,iBAAyB,EACzB,KAAW,EACX,QAAc,EACd,SAAS,EACT,MAAM,GACP,EAAE,eAAe,2CAkWjB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@viswa-test/test-citation",
3
- "version": "0.0.368",
3
+ "version": "0.0.369",
4
4
  "author": "Viswa Koduru",
5
5
  "description": "",
6
6
  "license": "MIT",