@corva/ui 0.55.0-10 → 0.55.0-11

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 (28) hide show
  1. package/cjs-bundle/components/Icons/DangerousIcon.js +1 -0
  2. package/cjs-bundle/components/StatusBadge/components/DQAlertsTooltip.js +1 -1
  3. package/cjs-bundle/components/StatusBadge/components/DQSuccessContent.js +1 -1
  4. package/cjs-bundle/components/StatusBadge/components/DQUnvalidatedContent.js +1 -1
  5. package/cjs-bundle/components/StatusBadge/constants.js +1 -1
  6. package/cjs-bundle/components/StatusBadge/index.js +1 -1
  7. package/components/Icons/DangerousIcon.d.ts +2 -0
  8. package/components/Icons/DangerousIcon.d.ts.map +1 -0
  9. package/components/Icons/DangerousIcon.js +1 -0
  10. package/components/StatusBadge/components/DQAlertsTooltip.d.ts +3 -2
  11. package/components/StatusBadge/components/DQAlertsTooltip.d.ts.map +1 -1
  12. package/components/StatusBadge/components/DQAlertsTooltip.js +1 -1
  13. package/components/StatusBadge/components/DQSuccessContent.js +1 -1
  14. package/components/StatusBadge/components/DQUnvalidatedContent.d.ts.map +1 -1
  15. package/components/StatusBadge/components/DQUnvalidatedContent.js +1 -1
  16. package/components/StatusBadge/constants.d.ts +3 -4
  17. package/components/StatusBadge/constants.d.ts.map +1 -1
  18. package/components/StatusBadge/constants.js +1 -1
  19. package/components/StatusBadge/index.d.ts +4 -4
  20. package/components/StatusBadge/index.d.ts.map +1 -1
  21. package/components/StatusBadge/index.js +1 -1
  22. package/package.json +1 -1
  23. package/assets/27337c7c90a52271ad290030959e6601.svg +0 -11
  24. package/assets/3db6b665f981a7aa81d8883122c9380c.svg +0 -3
  25. package/cjs-bundle/components/Icons/SkullIcon.js +0 -1
  26. package/components/Icons/SkullIcon.d.ts +0 -2
  27. package/components/Icons/SkullIcon.d.ts.map +0 -1
  28. package/components/Icons/SkullIcon.js +0 -1
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@material-ui/core"),r=require("react/jsx-runtime"),t=e.createSvgIcon(r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24",viewBox:"0 0 24 24",width:"24",children:[r.jsx("path",{d:"M0 0h24v24H0z",fill:"none"}),r.jsx("path",{d:"M15.73 3H8.27L3 8.27v7.46L8.27 21h7.46L21 15.73V8.27L15.73 3zM17 15.74L15.74 17 12 13.26 8.26 17 7 15.74 10.74 12 7 8.26 8.26 7 12 10.74 15.74 7 17 8.26 13.26 12 17 15.74z"})]}),"DangerousIcon");exports.DangerousIcon=t;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require('./../../../ext-esm/tslib/tslib.es6.js'),t=require("react/jsx-runtime"),a=require("moment"),r=require("lodash"),i=require("@material-ui/core"),n=require("../../Tooltip/Tooltip.js");require("../../Tooltip/ScrollableTooltip.js");var s=require("../constants.js");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=l(a),p=i.makeStyles((function(e){return{errorIcon:{width:20,height:24,marginLeft:"-6px",backgroundPosition:"center",backgroundRepeat:"no-repeat"},title:{maxWidth:198,padding:"0 0 8px",fontSize:16,lineHeight:"22px",color:e.palette.primary.text1},alertTime:{fontSize:14,color:e.palette.primary.text6,"& span":{color:e.palette.primary.text1}},alertMessage:{width:"100%",height:40,margin:0,overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box","-webkit-line-clamp":2,"-webkit-box-orient":"vertical",whiteSpace:"pre-wrap",fontSize:14,lineHeight:"20px",color:e.palette.primary.text1},alertMessageFull:{marginBottom:8,fontSize:14,lineHeight:"20px",color:e.palette.primary.text1,whiteSpace:"pre-wrap"},alertInfo:{display:"flex",alignItems:"center",flexWrap:"wrap",marginBottom:8,fontSize:14,textTransform:"capitalize","& span":{color:e.palette.primary.text6,marginRight:8},"& .error":{color:e.palette.error.main},"& .warning":{color:"#ffa500"}},resolvedInfo:{display:"flex",alignItems:"center",marginBottom:8,color:e.palette.primary.text6,fontSize:14},infoIcon:{color:e.palette.info.main,marginRight:8,fontSize:16},popover:{marginLeft:6,width:270,minHeight:122,padding:12,display:"flex",flexDirection:"column",justifyContent:"space-between",backgroundColor:e.palette.background.b9,border:"1px solid ".concat(e.palette.primary.text9),boxShadow:"0px 3px 10px rgba(0, 0, 0, 0.4)",borderRadius:4,"& .MuiTooltip-tooltip":{backgroundColor:e.palette.background.b9,margin:0,padding:0}},highlight:{fontWeight:500},message:{whiteSpace:"pre-wrap"},note:{marginBottom:4}}})),c=function(e){return o.default.unix(e).format("DD MMM HH:mm (Z)")},d=function(a){var i=a.children,n=p(),s=r.template(i)({timestampFormatter:c}).split("**").map((function(e,a){return a%2==1?t.jsx("b",{children:e}):e}));return t.jsx("span",e.__assign({className:n.message},{children:s}))};exports.DQAlertsTooltip=function(a){var r,i,l,c=a.alert,m=a.anchorEl,g=a.children,x=a.isTooltipVisible,h=p(),u=Math.max(c.statusUpdatedAt,c.lastCheckedAt),f=(void 0===l&&(l="MM/DD/YYYY HH:mm a"),(i=u)?o.default.unix(i).format(l):null);return t.jsx(n.Tooltip,{interactive:!0,children:g,PopperProps:{anchorEl:m,className:h.popover},placement:"right",title:x?t.jsxs(t.Fragment,{children:[t.jsx("div",e.__assign({className:h.title},{children:c.name})),t.jsxs("span",e.__assign({className:h.alertInfo},{children:[t.jsx("span",{children:"Category:"})," ",c.category]})),t.jsxs("span",e.__assign({className:h.alertInfo},{children:[t.jsx("span",{children:"Status:"})," ",c.status]})),t.jsxs("span",e.__assign({className:h.alertInfo},{children:[t.jsx("span",{children:"Error Type:"}),t.jsx("div",{className:h.errorIcon,style:{backgroundImage:'url("'.concat(s.ALERT_ICONS[c.state],'")')}}),t.jsx("span",e.__assign({className:c.state===s.ALERT_STATES.issue?s.BADGE_ICON_STATUSES.warning:s.BADGE_ICON_STATUSES.error},{children:c.state}))]})),t.jsxs("span",e.__assign({className:h.alertInfo},{children:[t.jsx("span",{children:"Score Deduction:"}),t.jsx("span",e.__assign({className:s.BADGE_ICON_STATUSES.warning},{children:"6%"}))]})),t.jsxs("div",e.__assign({className:h.alertMessageFull},{children:[c.isThrottled&&t.jsx("b",{children:"[Throttled]: "}),t.jsx(d,{children:c.message})]})),t.jsxs("span",e.__assign({className:h.alertInfo},{children:[t.jsx("span",e.__assign({className:h.note},{children:"Note:"}))," ",(null===(r=c.note)||void 0===r?void 0:r.length)?c.note:"—"]})),t.jsxs("span",e.__assign({className:h.alertTime},{children:["Updated at: ",t.jsx("span",{children:f})]}))]}):""})};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require('./../../../ext-esm/tslib/tslib.es6.js'),t=require("react/jsx-runtime"),a=require("moment"),r=require("lodash"),i=require("@material-ui/core"),s=require("../../Tooltip/Tooltip.js");require("../../Tooltip/ScrollableTooltip.js");var n=require("../constants.js");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=l(a),p=i.makeStyles((function(e){return{errorIcon:{width:20,height:18},title:{maxWidth:198,padding:"0 0 8px",fontSize:16,lineHeight:"22px",color:e.palette.primary.text1},alertTime:{fontSize:14,color:e.palette.primary.text6,"& span":{color:e.palette.primary.text1}},alertMessage:{width:"100%",height:40,margin:0,overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box","-webkit-line-clamp":2,"-webkit-box-orient":"vertical",whiteSpace:"pre-wrap",fontSize:14,lineHeight:"20px",color:e.palette.primary.text1},alertMessageFull:{marginBottom:8,fontSize:14,lineHeight:"20px",color:e.palette.primary.text1,whiteSpace:"pre-wrap"},alertInfo:{display:"flex",alignItems:"center",flexWrap:"wrap",marginBottom:8,fontSize:14,textTransform:"capitalize","& span":{color:e.palette.primary.text6,marginRight:8},"& .error":{color:e.palette.error.main},"& .warning":{color:"#ffa500"}},resolvedInfo:{display:"flex",alignItems:"center",marginBottom:8,color:e.palette.primary.text6,fontSize:14},infoIcon:{color:e.palette.info.main,marginRight:8,fontSize:16},popover:{marginLeft:6,width:270,minHeight:122,padding:12,display:"flex",flexDirection:"column",justifyContent:"space-between",backgroundColor:e.palette.background.b9,border:"1px solid ".concat(e.palette.primary.text9),boxShadow:"0px 3px 10px rgba(0, 0, 0, 0.4)",borderRadius:4,"& .MuiTooltip-tooltip":{backgroundColor:e.palette.background.b9,margin:0,padding:0}},highlight:{fontWeight:500},message:{whiteSpace:"pre-wrap"},note:{marginBottom:4}}})),c=function(e){return o.default.unix(e).format("DD MMM HH:mm (Z)")},d=function(a){var i=a.children,s=p(),n=r.template(i)({timestampFormatter:c}).split("**").map((function(e,a){return a%2==1?t.jsx("b",{children:e}):e}));return t.jsx("span",e.__assign({className:s.message},{children:n}))};exports.DQAlertsTooltip=function(a){var r,i,l,c=a.alert,m=a.anchorEl,g=a.alertIcon,h=a.children,x=a.isTooltipVisible,u=p(),f=Math.max(c.statusUpdatedAt,c.lastCheckedAt),_=(void 0===l&&(l="MM/DD/YYYY HH:mm a"),(i=f)?o.default.unix(i).format(l):null);return t.jsx(s.Tooltip,{interactive:!0,children:h,PopperProps:{anchorEl:m,className:u.popover},placement:"right",title:x?t.jsxs(t.Fragment,{children:[t.jsx("div",e.__assign({className:u.title},{children:c.name})),t.jsxs("span",e.__assign({className:u.alertInfo},{children:[t.jsx("span",{children:"Category:"})," ",c.category]})),t.jsxs("span",e.__assign({className:u.alertInfo},{children:[t.jsx("span",{children:"Status:"})," ",c.status]})),t.jsxs("span",e.__assign({className:u.alertInfo},{children:[t.jsx("span",{children:"Error Type:"}),t.jsx("div",e.__assign({className:u.errorIcon},{children:g})),t.jsx("span",e.__assign({className:c.state===n.ALERT_STATES.issue?n.BADGE_ICON_STATUSES.warning:n.BADGE_ICON_STATUSES.error},{children:c.state}))]})),t.jsxs("span",e.__assign({className:u.alertInfo},{children:[t.jsx("span",{children:"Score Deduction:"}),t.jsx("span",e.__assign({className:n.BADGE_ICON_STATUSES.warning},{children:"6%"}))]})),t.jsxs("div",e.__assign({className:u.alertMessageFull},{children:[c.isThrottled&&t.jsx("b",{children:"[Throttled]: "}),t.jsx(d,{children:c.message})]})),t.jsxs("span",e.__assign({className:u.alertInfo},{children:[t.jsx("span",e.__assign({className:u.note},{children:"Note:"}))," ",(null===(r=c.note)||void 0===r?void 0:r.length)?c.note:"—"]})),t.jsxs("span",e.__assign({className:u.alertTime},{children:["Updated at: ",t.jsx("span",{children:_})]}))]}):""})};
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require('./../../../ext-esm/tslib/tslib.es6.js'),i=require("react/jsx-runtime"),t=require("@material-ui/core"),n=require("../../Button/index.js"),s=t.makeStyles((function(e){return{container:{display:"flex",flexDirection:"column",padding:12},title:{fontWeight:500,fontSize:"16px",lineHeight:"19px",marginBottom:4},subtitle:{color:e.palette.primary.text7,fontSize:"12px",lineHeight:"14px",marginBottom:4},button:{alignSelf:"end"}}}));exports.DQSuccessContent=function(r){var a=r.onClick,o=s();return i.jsxs("div",e.__assign({className:o.container},{children:[i.jsx(t.Typography,e.__assign({className:o.title},{children:"Data Quality is confirmed"})),i.jsx(t.Typography,e.__assign({className:o.subtitle},{children:"If you have found any issues, inform us."})),i.jsx(n,e.__assign({color:"primary",className:o.button,onClick:a,variation:"secondary"},{children:"report issue"}))]}))};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require('./../../../ext-esm/tslib/tslib.es6.js'),i=require("react/jsx-runtime"),t=require("@material-ui/core"),s=require("../../Button/index.js"),n=t.makeStyles((function(e){return{container:{display:"flex",flexDirection:"column",padding:12},title:{fontWeight:500,fontSize:"16px",lineHeight:"19px",marginBottom:4},subtitle:{color:e.palette.primary.text7,fontSize:"12px",lineHeight:"14px",marginBottom:4},button:{alignSelf:"end"}}}));exports.DQSuccessContent=function(r){var a=r.onClick,o=n();return i.jsxs("div",e.__assign({className:o.container},{children:[i.jsx(t.Typography,e.__assign({className:o.title},{children:"No Data Quality Issues"})),i.jsx(t.Typography,e.__assign({className:o.subtitle},{children:"If you have found any issues, inform us."})),i.jsx(s,e.__assign({color:"primary",className:o.button,onClick:a,variation:"secondary"},{children:"report issue"}))]}))};
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require('./../../../ext-esm/tslib/tslib.es6.js'),s=require("react/jsx-runtime"),r=require("react"),i=require("classnames"),t=require("@material-ui/core"),a=require("../constants.js"),n=require("./DQAlertsTooltip.js");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=l(i),u=t.makeStyles((function(e){return{assetWrapper:{display:"grid",whiteSpace:"nowrap",alignItems:"center",marginTop:8,gridTemplateColumns:"127px 76px 76px",gridGap:20},assetName:{overflow:"hidden",fontSize:"12px",fontWeight:500,lineHeight:"14px",letterSpacing:"0.4px",textOverflow:"ellipsis"},container:{padding:12},headerText:{lineHeight:"19px",fontSize:"16px",fontWeight:500},subheaderText:{lineHeight:"14px",fontSize:"12px",fontWeight:400,color:e.palette.primary.text7,marginTop:4},Issue:{color:"#ffa500"},Missing:{color:e.palette.error.main},errorContainer:{display:"flex",alignItems:"center"},errorText:{marginLeft:4,fontSize:"14px",lineHeight:"20px"},errorNum:{fontSize:"16px",lineHeight:"22px",marginLeft:4}}}));exports.DQUnvalidatedContent=function(i){var l=i.assetsData,c=r.useRef(null),p=u(),d=function(r){var i=r.alert,t=r.alertsNum,l=r.alertState;return s.jsx(n.DQAlertsTooltip,e.__assign({alert:i,anchorEl:c.current,isTooltipVisible:t>0},{children:s.jsxs("div",e.__assign({className:p.errorContainer},{children:[s.jsx("img",{src:a.ALERT_ICONS[l],alt:l}),s.jsxs("div",{children:[s.jsxs("span",e.__assign({className:o.default(p[l],p.errorText)},{children:[l,": "]})),s.jsx("span",e.__assign({className:p.errorNum},{children:t}))]})]}))}))};return s.jsxs("div",e.__assign({className:p.container,ref:c},{children:[s.jsxs("div",{children:[s.jsx(t.Typography,e.__assign({className:p.headerText},{children:"Data Quality Issues"})),s.jsxs(t.Typography,e.__assign({className:p.subheaderText},{children:["Here you can see different issue types.",s.jsx("br",{}),"Hover over an icon to get more info."]}))]}),s.jsx("div",{children:null==l?void 0:l.map((function(r){var i=r.id,t=r.name,n=r.issuesNum,l=r.missingNum,o=r.alert,u=function(e){return{alert:o,alertsNum:e===a.ALERT_STATES.issue?n:l,alertState:e===a.ALERT_STATES.issue?a.ALERT_STATES.issue:a.ALERT_STATES.missing}},c=u(a.ALERT_STATES.issue),x=u(a.ALERT_STATES.missing);return s.jsxs("div",e.__assign({className:p.assetWrapper},{children:[s.jsx("div",e.__assign({className:p.assetName},{children:t})),d(c),d(x)]}),i)}))})]}))};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require('./../../../ext-esm/tslib/tslib.es6.js'),s=require("react/jsx-runtime"),i=require("react"),r=require("classnames"),a=require("@material-ui/core"),t=require("../constants.js"),n=require("./DQAlertsTooltip.js");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=l(r),u=a.makeStyles((function(e){return{alertIcon:{width:16,height:16},assetWrapper:{display:"grid",whiteSpace:"nowrap",alignItems:"center",marginTop:8,gridTemplateColumns:"127px 76px 76px",gridGap:20},assetName:{overflow:"hidden",fontSize:"12px",fontWeight:500,lineHeight:"14px",letterSpacing:"0.4px",textOverflow:"ellipsis"},container:{padding:12},headerText:{lineHeight:"19px",fontSize:"16px",fontWeight:500},subheaderText:{lineHeight:"14px",fontSize:"12px",fontWeight:400,color:e.palette.primary.text7,marginTop:4},Issue:{color:"#ffa500"},Missing:{color:e.palette.error.main},errorContainer:{display:"flex",alignItems:"center"},errorText:{marginLeft:4,fontSize:"14px",lineHeight:"20px"},errorNum:{fontSize:"16px",lineHeight:"22px",marginLeft:4}}}));exports.DQUnvalidatedContent=function(r){var l=r.assetsData,c=i.useRef(null),d=u(),p=function(i){var r=i.alert,a=i.alertsNum,l=i.alertState,u=i.isMissingData,p=t.ALERT_ICONS[l];return s.jsx(n.DQAlertsTooltip,e.__assign({alert:u?e.__assign(e.__assign({},r),{state:t.ALERT_STATES.missing}):r,anchorEl:c.current,alertIcon:s.jsx(p,{className:o.default(d[u?t.ALERT_STATES.missing:l],d.alertIcon)}),isTooltipVisible:a>0},{children:s.jsxs("div",e.__assign({className:d.errorContainer},{children:[s.jsx(p,{className:o.default(d[l],d.alertIcon)}),s.jsxs("div",{children:[s.jsxs("span",e.__assign({className:o.default(d[l],d.errorText)},{children:[l,": "]})),s.jsx("span",e.__assign({className:d.errorNum},{children:a}))]})]}))}))};return s.jsxs("div",e.__assign({className:d.container,ref:c},{children:[s.jsxs("div",{children:[s.jsx(a.Typography,e.__assign({className:d.headerText},{children:"Data Quality"})),s.jsx(a.Typography,e.__assign({className:d.subheaderText},{children:"Fusion real-time data quality rules for app data"}))]}),s.jsx("div",{children:null==l?void 0:l.map((function(i){var r=i.id,a=i.name,n=i.issuesNum,l=i.missingNum,o=i.alert,u=function(e){return{alert:o,alertsNum:e===t.ALERT_STATES.issue?n:l,alertState:e===t.ALERT_STATES.issue?t.ALERT_STATES.issue:t.ALERT_STATES.missing,isMissingData:l>0}},c=u(t.ALERT_STATES.issue),g=u(t.ALERT_STATES.missing);return s.jsxs("div",e.__assign({className:d.assetWrapper},{children:[s.jsx("div",e.__assign({className:d.assetName},{children:a})),p(c),p(g)]}),r)}))})]}))};
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@material-ui/icons/Warning"),s=require("@material-ui/icons/Done"),r=require("../Icons/SkullIcon.js");function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a,t=i(e),n={Missing:"/static/media/3db6b665f981a7aa81d8883122c9380c.svg",Issue:"/static/media/27337c7c90a52271ad290030959e6601.svg"},o={success:"success",warning:"warning",error:"error"},c=((a={})[o.success]=i(s).default,a[o.warning]=t.default,a[o.error]=r.SkullIcon,a);exports.ALERT_ICONS=n,exports.ALERT_STATES={missing:"Missing",issue:"Issue"},exports.BADGE_ICONS=c,exports.BADGE_ICON_STATUSES=o,exports.MAX_MOBILE_WIDTH=959,exports.WARNING="Recommendations may be incorrect based on data quality errors";
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@material-ui/icons/Warning"),r=require("@material-ui/icons/Done"),s=require("@material-ui/icons/Error"),o=require("../Icons/DangerousIcon.js");function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n,a=i(e),t=i(r),u=i(s),c={Missing:o.DangerousIcon,Issue:u.default},I={success:"success",warning:"warning",error:"error"},l=((n={})[I.success]=t.default,n[I.warning]=a.default,n[I.error]=o.DangerousIcon,n);exports.ALERT_ICONS=c,exports.ALERT_STATES={missing:"Missing",issue:"Issue"},exports.BADGE_ICONS=l,exports.BADGE_ICON_STATUSES=I,exports.MAX_MOBILE_WIDTH=959,exports.WARNING="Recommendations may be incorrect based on data quality errors";
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require('./../../ext-esm/tslib/tslib.es6.js'),t=require("react/jsx-runtime"),n=require("react"),r=require("moment"),a=require("classnames"),s=require("@material-ui/core"),i=require("../Tooltip/Tooltip.js");require("../Tooltip/ScrollableTooltip.js");var o=require("./constants.js"),c=require("./components/DQStatusIcon.js"),p=require("./components/DQUnvalidatedContent.js"),l=require("./components/DQSuccessContent.js"),u=require("./components/ReportIssueModal.js");function d(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var g=d(r),x=d(a),f=s.makeStyles((function(e){return{statusBadgeWrapper:{backgroundColor:e.palette.background.b4,display:"flex",height:30},statusBadgeContent:{display:"flex",flexDirection:function(e){return e.isWarningTypeIcon?"row-reverse":"initial"},justifyContent:function(e){return e.isWarningTypeIcon&&"flex-end"},padding:function(e){var t=e.isSuccessTypeIcon,n=e.isErrorTypeIcon;return"12px 0 2px ".concat(t||n?6:2,"px")},whiteSpace:"nowrap",width:"calc(100% - 140px)"},text:{fontSize:"10px",lineHeight:"12px",alignSelf:"center"},timestamp:{color:e.palette.primary.text6,marginLeft:function(e){var t=e.isWarningTypeIcon,n=e.isIconType;return!t&&n&&4}},warningMessage:{color:e.palette.primary.text1,marginLeft:4,textOverflow:"ellipsis",overflow:"hidden",fontSize:"12px"},badgeIconWarning:{marginLeft:8},popper:{"& .MuiTooltip-tooltip":{maxWidth:455,width:376,padding:4,fontSize:12,boxShadow:"0px 0px 4px 2px rgb(0 0 0 / 12%)",fontWeight:400,lineHeight:"16px",letterSpacing:"0.4px",backgroundColor:e.palette.background.b9}},DQIconWrapper:{display:"flex",alignItems:"center",alignSelf:"center",justifyContent:"center",height:24,width:24,borderRadius:12,"&:hover":{backgroundColor:function(e){var t=e.isErrorTypeIcon,n=e.isSuccessTypeIcon;return t?"rgba(244, 67, 54, 0.1)":n?"rgba(117, 219, 41, 0.2)":"transparent"}}}}}));exports.StatusBadge=function(r){var a,d,m=r.assetsData,y=void 0===m?[]:m,I=r.appWidth,T=r.iconType,S=r.className,h=r.lastTimestamp,j=r.warningMessage,_=n.useState(!1),b=_[0],v=_[1],N=T==o.BADGE_ICON_STATUSES.warning,W=T==o.BADGE_ICON_STATUSES.error,C=T==o.BADGE_ICON_STATUSES.success,D=I<o.MAX_MOBILE_WIDTH,q=f({isWarningTypeIcon:N,isIconType:!!T,isSuccessTypeIcon:C,isErrorTypeIcon:W}),w=o.WARNING;return N&&j&&(w="".concat(o.WARNING,". ").concat(j)),W&&(w=t.jsx(p.DQUnvalidatedContent,{assetsData:y})),C&&(w=t.jsx(l.DQSuccessContent,{onClick:function(){return v(!0)}})),t.jsxs("div",e.__assign({className:x.default(q.statusBadgeWrapper,S)},{children:[t.jsxs("div",e.__assign({className:q.statusBadgeContent},{children:[N&&!D&&t.jsx(s.Typography,e.__assign({className:x.default(q.text,q.warningMessage),variant:"body1"},{children:j?"".concat(o.WARNING,". ").concat(j):o.WARNING})),T&&t.jsx(i.Tooltip,e.__assign({interactive:W||C,PopperProps:W&&{className:q.popper},placement:"top",title:w},{children:t.jsx("div",e.__assign({className:x.default((a={},a[q.DQIconWrapper]=!N,a))},{children:t.jsx(c.DQStatusIcon,{className:x.default((d={},d[q.badgeIconWarning]=N,d)),color:T,iconType:T})}))})),t.jsxs(s.Typography,e.__assign({className:x.default(q.text,q.timestamp),variant:"body1"},{children:["Last Update: ",g.default.unix(h).format("M/D/YYYY h:mm a")]}))]})),C&&t.jsx(u.ReportIssueModal,{open:b,onClose:function(){return v(!1)}})]}))};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require('./../../ext-esm/tslib/tslib.es6.js'),t=require("react/jsx-runtime"),n=require("react"),a=require("moment"),s=require("classnames"),r=require("@material-ui/core"),o=require("../Tooltip/Tooltip.js");require("../Tooltip/ScrollableTooltip.js");var i=require("./constants.js"),c=require("./components/DQStatusIcon.js"),p=require("./components/DQUnvalidatedContent.js"),l=require("./components/DQSuccessContent.js"),u=require("./components/ReportIssueModal.js");function d(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var g=d(a),x=d(s),m=r.makeStyles((function(e){return{statusBadgeWrapper:{backgroundColor:e.palette.background.b4,display:"flex",height:30},statusBadgeContent:{display:"flex",padding:function(e){var t=e.isSuccessTypeIcon,n=e.isErrorTypeIcon;return"12px 0 2px ".concat(t||n?6:2,"px")},whiteSpace:"nowrap",width:"calc(100% - 140px)"},text:{fontSize:"10px",lineHeight:"12px",alignSelf:"center"},timestamp:{color:e.palette.primary.text6,marginLeft:function(e){return e.isIconExist&&4}},warningMessage:{color:e.palette.primary.text1,marginLeft:4,textOverflow:"ellipsis",overflow:"hidden",fontSize:"12px"},badgeIconWarning:{marginLeft:8},popper:{"& .MuiTooltip-tooltip":{maxWidth:455,width:376,padding:4,fontSize:12,boxShadow:"0px 0px 4px 2px rgb(0 0 0 / 12%)",fontWeight:400,lineHeight:"16px",letterSpacing:"0.4px",backgroundColor:e.palette.background.b9}},DQIconWrapper:{display:"flex",alignItems:"center",alignSelf:"center",justifyContent:"center",height:24,width:24,borderRadius:12,"&:hover":{backgroundColor:function(e){var t=e.isErrorTypeIcon,n=e.isSuccessTypeIcon;return t?"rgba(244, 67, 54, 0.1)":n?"rgba(117, 219, 41, 0.2)":"transparent"}}}}}));exports.StatusBadge=function(a){var s,d=a.assetsData,f=void 0===d?[]:d,S=a.appWidth,h=a.iconType,I=a.className,T=a.lastTimestamp,_=a.warningData,j=n.useState(!1),y=j[0],b=j[1],v=null==_?void 0:_.message,N=h==i.BADGE_ICON_STATUSES.error,D=h==i.BADGE_ICON_STATUSES.success,C=S<i.MAX_MOBILE_WIDTH,E=m({isIconExist:!!h,isSuccessTypeIcon:D,isErrorTypeIcon:N});return N&&(s=t.jsx(p.DQUnvalidatedContent,{assetsData:f})),D&&(s=t.jsx(l.DQSuccessContent,{onClick:function(){return b(!0)}})),t.jsxs("div",e.__assign({className:x.default(E.statusBadgeWrapper,I)},{children:[t.jsxs("div",e.__assign({className:E.statusBadgeContent},{children:[h&&t.jsx(o.Tooltip,e.__assign({interactive:N||D,PopperProps:N&&{className:E.popper},placement:"top",title:s},{children:t.jsx("div",e.__assign({className:E.DQIconWrapper},{children:t.jsx(c.DQStatusIcon,{color:h,iconType:h})}))})),t.jsxs(r.Typography,e.__assign({className:x.default(E.text,E.timestamp),variant:"body1"},{children:["Last Update: ",g.default.unix(T).format("M/D/YYYY h:mm a")]})),_&&t.jsxs(t.Fragment,{children:[t.jsx(o.Tooltip,e.__assign({placement:"top",title:v?"".concat(i.WARNING,". ").concat(v):i.WARNING},{children:t.jsx("div",{children:t.jsx(c.DQStatusIcon,{className:E.badgeIconWarning,color:i.BADGE_ICON_STATUSES.warning,iconType:i.BADGE_ICON_STATUSES.warning})})})),!C&&t.jsx(r.Typography,e.__assign({className:x.default(E.text,E.warningMessage),variant:"body1"},{children:v?"".concat(i.WARNING,". ").concat(v):i.WARNING}))]})]})),D&&t.jsx(u.ReportIssueModal,{open:y,onClose:function(){return b(!1)}})]}))};
@@ -0,0 +1,2 @@
1
+ export const DangerousIcon: import("@material-ui/core/OverridableComponent").OverridableComponent<import("@material-ui/core").SvgIconTypeMap<{}, "svg">>;
2
+ //# sourceMappingURL=DangerousIcon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DangerousIcon.d.ts","sourceRoot":"","sources":["../../../src/components/Icons/DangerousIcon.js"],"names":[],"mappings":"AAEA,yJAME"}
@@ -0,0 +1 @@
1
+ import{createSvgIcon as r}from"@material-ui/core";import{jsxs as t,jsx as o}from"react/jsx-runtime";var e=r(t("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24",viewBox:"0 0 24 24",width:"24",children:[o("path",{d:"M0 0h24v24H0z",fill:"none"}),o("path",{d:"M15.73 3H8.27L3 8.27v7.46L8.27 21h7.46L21 15.73V8.27L15.73 3zM17 15.74L15.74 17 12 13.26 8.26 17 7 15.74 10.74 12 7 8.26 8.26 7 12 10.74 15.74 7 17 8.26 13.26 12 17 15.74z"})]}),"DangerousIcon");export{e as DangerousIcon};
@@ -2,10 +2,11 @@ import { ReactElement } from 'react';
2
2
  import { Alert } from '../constants';
3
3
  declare type DQCountryCheckTooltipProps = {
4
4
  alert: Alert;
5
- children: ReactElement<any, any>;
6
5
  anchorEl: ReactElement<any, any>;
6
+ alertIcon: ReactElement;
7
+ children: ReactElement<any, any>;
7
8
  isTooltipVisible: boolean;
8
9
  };
9
- export declare const DQAlertsTooltip: ({ alert, anchorEl, children, isTooltipVisible }: DQCountryCheckTooltipProps) => JSX.Element;
10
+ export declare const DQAlertsTooltip: ({ alert, anchorEl, alertIcon, children, isTooltipVisible }: DQCountryCheckTooltipProps) => JSX.Element;
10
11
  export {};
11
12
  //# sourceMappingURL=DQAlertsTooltip.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DQAlertsTooltip.d.ts","sourceRoot":"","sources":["../../../../src/components/StatusBadge/components/DQAlertsTooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAMrC,OAAO,EAAE,KAAK,EAAkD,MAAM,cAAc,CAAC;AAiIrF,aAAK,0BAA0B,GAAG;IAChC,KAAK,EAAE,KAAK,CAAC;IACb,QAAQ,EAAE,YAAY,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC;IACjC,QAAQ,EAAE,YAAY,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC;IACjC,gBAAgB,EAAE,OAAO,CAAC;CAC3B,CAAC;AAEF,eAAO,MAAM,eAAe,oDAAqD,0BAA0B,KAAG,WA8C7G,CAAC"}
1
+ {"version":3,"file":"DQAlertsTooltip.d.ts","sourceRoot":"","sources":["../../../../src/components/StatusBadge/components/DQAlertsTooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAMrC,OAAO,EAAE,KAAK,EAAqC,MAAM,cAAc,CAAC;AA8HxE,aAAK,0BAA0B,GAAG;IAChC,KAAK,EAAE,KAAK,CAAC;IACb,QAAQ,EAAE,YAAY,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC;IACjC,SAAS,EAAE,YAAY,CAAC;IACxB,QAAQ,EAAE,YAAY,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC;IACjC,gBAAgB,EAAE,OAAO,CAAC;CAC3B,CAAC;AAEF,eAAO,MAAM,eAAe,+DAAgE,0BAA0B,KAAG,WA6CxH,CAAC"}
@@ -1 +1 @@
1
- import{__assign as e}from'./../../../ext-esm/tslib/tslib.es6.js';import{jsx as t,jsxs as r,Fragment as a}from"react/jsx-runtime";import i from"moment";import{template as o}from"lodash";import{makeStyles as n}from"@material-ui/core";import{Tooltip as l}from"../../Tooltip/Tooltip.js";import"../../Tooltip/ScrollableTooltip.js";import{ALERT_ICONS as s,ALERT_STATES as p,BADGE_ICON_STATUSES as c}from"../constants.js";var m=n((function(e){return{errorIcon:{width:20,height:24,marginLeft:"-6px",backgroundPosition:"center",backgroundRepeat:"no-repeat"},title:{maxWidth:198,padding:"0 0 8px",fontSize:16,lineHeight:"22px",color:e.palette.primary.text1},alertTime:{fontSize:14,color:e.palette.primary.text6,"& span":{color:e.palette.primary.text1}},alertMessage:{width:"100%",height:40,margin:0,overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box","-webkit-line-clamp":2,"-webkit-box-orient":"vertical",whiteSpace:"pre-wrap",fontSize:14,lineHeight:"20px",color:e.palette.primary.text1},alertMessageFull:{marginBottom:8,fontSize:14,lineHeight:"20px",color:e.palette.primary.text1,whiteSpace:"pre-wrap"},alertInfo:{display:"flex",alignItems:"center",flexWrap:"wrap",marginBottom:8,fontSize:14,textTransform:"capitalize","& span":{color:e.palette.primary.text6,marginRight:8},"& .error":{color:e.palette.error.main},"& .warning":{color:"#ffa500"}},resolvedInfo:{display:"flex",alignItems:"center",marginBottom:8,color:e.palette.primary.text6,fontSize:14},infoIcon:{color:e.palette.info.main,marginRight:8,fontSize:16},popover:{marginLeft:6,width:270,minHeight:122,padding:12,display:"flex",flexDirection:"column",justifyContent:"space-between",backgroundColor:e.palette.background.b9,border:"1px solid ".concat(e.palette.primary.text9),boxShadow:"0px 3px 10px rgba(0, 0, 0, 0.4)",borderRadius:4,"& .MuiTooltip-tooltip":{backgroundColor:e.palette.background.b9,margin:0,padding:0}},highlight:{fontWeight:500},message:{whiteSpace:"pre-wrap"},note:{marginBottom:4}}})),d=function(e){return i.unix(e).format("DD MMM HH:mm (Z)")},h=function(r){var a=r.children,i=m(),n=o(a)({timestampFormatter:d}).split("**").map((function(e,r){return r%2==1?t("b",{children:e}):e}));return t("span",e({className:i.message},{children:n}))},g=function(o){var n,d,g,f=o.alert,u=o.anchorEl,x=o.children,b=o.isTooltipVisible,w=m(),y=Math.max(f.statusUpdatedAt,f.lastCheckedAt),v=(void 0===g&&(g="MM/DD/YYYY HH:mm a"),(d=y)?i.unix(d).format(g):null);return t(l,{interactive:!0,children:x,PopperProps:{anchorEl:u,className:w.popover},placement:"right",title:b?r(a,{children:[t("div",e({className:w.title},{children:f.name})),r("span",e({className:w.alertInfo},{children:[t("span",{children:"Category:"})," ",f.category]})),r("span",e({className:w.alertInfo},{children:[t("span",{children:"Status:"})," ",f.status]})),r("span",e({className:w.alertInfo},{children:[t("span",{children:"Error Type:"}),t("div",{className:w.errorIcon,style:{backgroundImage:'url("'.concat(s[f.state],'")')}}),t("span",e({className:f.state===p.issue?c.warning:c.error},{children:f.state}))]})),r("span",e({className:w.alertInfo},{children:[t("span",{children:"Score Deduction:"}),t("span",e({className:c.warning},{children:"6%"}))]})),r("div",e({className:w.alertMessageFull},{children:[f.isThrottled&&t("b",{children:"[Throttled]: "}),t(h,{children:f.message})]})),r("span",e({className:w.alertInfo},{children:[t("span",e({className:w.note},{children:"Note:"}))," ",(null===(n=f.note)||void 0===n?void 0:n.length)?f.note:"—"]})),r("span",e({className:w.alertTime},{children:["Updated at: ",t("span",{children:v})]}))]}):""})};export{g as DQAlertsTooltip};
1
+ import{__assign as e}from'./../../../ext-esm/tslib/tslib.es6.js';import{jsx as t,jsxs as r,Fragment as a}from"react/jsx-runtime";import i from"moment";import{template as o}from"lodash";import{makeStyles as n}from"@material-ui/core";import{Tooltip as l}from"../../Tooltip/Tooltip.js";import"../../Tooltip/ScrollableTooltip.js";import{ALERT_STATES as s,BADGE_ICON_STATUSES as p}from"../constants.js";var c=n((function(e){return{errorIcon:{width:20,height:18},title:{maxWidth:198,padding:"0 0 8px",fontSize:16,lineHeight:"22px",color:e.palette.primary.text1},alertTime:{fontSize:14,color:e.palette.primary.text6,"& span":{color:e.palette.primary.text1}},alertMessage:{width:"100%",height:40,margin:0,overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box","-webkit-line-clamp":2,"-webkit-box-orient":"vertical",whiteSpace:"pre-wrap",fontSize:14,lineHeight:"20px",color:e.palette.primary.text1},alertMessageFull:{marginBottom:8,fontSize:14,lineHeight:"20px",color:e.palette.primary.text1,whiteSpace:"pre-wrap"},alertInfo:{display:"flex",alignItems:"center",flexWrap:"wrap",marginBottom:8,fontSize:14,textTransform:"capitalize","& span":{color:e.palette.primary.text6,marginRight:8},"& .error":{color:e.palette.error.main},"& .warning":{color:"#ffa500"}},resolvedInfo:{display:"flex",alignItems:"center",marginBottom:8,color:e.palette.primary.text6,fontSize:14},infoIcon:{color:e.palette.info.main,marginRight:8,fontSize:16},popover:{marginLeft:6,width:270,minHeight:122,padding:12,display:"flex",flexDirection:"column",justifyContent:"space-between",backgroundColor:e.palette.background.b9,border:"1px solid ".concat(e.palette.primary.text9),boxShadow:"0px 3px 10px rgba(0, 0, 0, 0.4)",borderRadius:4,"& .MuiTooltip-tooltip":{backgroundColor:e.palette.background.b9,margin:0,padding:0}},highlight:{fontWeight:500},message:{whiteSpace:"pre-wrap"},note:{marginBottom:4}}})),m=function(e){return i.unix(e).format("DD MMM HH:mm (Z)")},d=function(r){var a=r.children,i=c(),n=o(a)({timestampFormatter:m}).split("**").map((function(e,r){return r%2==1?t("b",{children:e}):e}));return t("span",e({className:i.message},{children:n}))},h=function(o){var n,m,h,f=o.alert,g=o.anchorEl,u=o.alertIcon,x=o.children,b=o.isTooltipVisible,w=c(),v=Math.max(f.statusUpdatedAt,f.lastCheckedAt),y=(void 0===h&&(h="MM/DD/YYYY HH:mm a"),(m=v)?i.unix(m).format(h):null);return t(l,{interactive:!0,children:x,PopperProps:{anchorEl:g,className:w.popover},placement:"right",title:b?r(a,{children:[t("div",e({className:w.title},{children:f.name})),r("span",e({className:w.alertInfo},{children:[t("span",{children:"Category:"})," ",f.category]})),r("span",e({className:w.alertInfo},{children:[t("span",{children:"Status:"})," ",f.status]})),r("span",e({className:w.alertInfo},{children:[t("span",{children:"Error Type:"}),t("div",e({className:w.errorIcon},{children:u})),t("span",e({className:f.state===s.issue?p.warning:p.error},{children:f.state}))]})),r("span",e({className:w.alertInfo},{children:[t("span",{children:"Score Deduction:"}),t("span",e({className:p.warning},{children:"6%"}))]})),r("div",e({className:w.alertMessageFull},{children:[f.isThrottled&&t("b",{children:"[Throttled]: "}),t(d,{children:f.message})]})),r("span",e({className:w.alertInfo},{children:[t("span",e({className:w.note},{children:"Note:"}))," ",(null===(n=f.note)||void 0===n?void 0:n.length)?f.note:"—"]})),r("span",e({className:w.alertTime},{children:["Updated at: ",t("span",{children:y})]}))]}):""})};export{h as DQAlertsTooltip};
@@ -1 +1 @@
1
- import{__assign as i}from'./../../../ext-esm/tslib/tslib.es6.js';import{jsxs as t,jsx as e}from"react/jsx-runtime";import{makeStyles as o,Typography as n}from"@material-ui/core";import r from"../../Button/index.js";var a=o((function(i){return{container:{display:"flex",flexDirection:"column",padding:12},title:{fontWeight:500,fontSize:"16px",lineHeight:"19px",marginBottom:4},subtitle:{color:i.palette.primary.text7,fontSize:"12px",lineHeight:"14px",marginBottom:4},button:{alignSelf:"end"}}})),l=function(o){var l=o.onClick,s=a();return t("div",i({className:s.container},{children:[e(n,i({className:s.title},{children:"Data Quality is confirmed"})),e(n,i({className:s.subtitle},{children:"If you have found any issues, inform us."})),e(r,i({color:"primary",className:s.button,onClick:l,variation:"secondary"},{children:"report issue"}))]}))};export{l as DQSuccessContent};
1
+ import{__assign as t}from'./../../../ext-esm/tslib/tslib.es6.js';import{jsxs as i,jsx as e}from"react/jsx-runtime";import{makeStyles as o,Typography as n}from"@material-ui/core";import r from"../../Button/index.js";var a=o((function(t){return{container:{display:"flex",flexDirection:"column",padding:12},title:{fontWeight:500,fontSize:"16px",lineHeight:"19px",marginBottom:4},subtitle:{color:t.palette.primary.text7,fontSize:"12px",lineHeight:"14px",marginBottom:4},button:{alignSelf:"end"}}})),l=function(o){var l=o.onClick,s=a();return i("div",t({className:s.container},{children:[e(n,t({className:s.title},{children:"No Data Quality Issues"})),e(n,t({className:s.subtitle},{children:"If you have found any issues, inform us."})),e(r,t({color:"primary",className:s.button,onClick:l,variation:"secondary"},{children:"report issue"}))]}))};export{l as DQSuccessContent};
@@ -1 +1 @@
1
- {"version":3,"file":"DQUnvalidatedContent.d.ts","sourceRoot":"","sources":["../../../../src/components/StatusBadge/components/DQUnvalidatedContent.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,SAAS,EAA6B,MAAM,oCAAoC,CAAC;AAoD1F,aAAK,yBAAyB,GAAG;IAC/B,UAAU,CAAC,EAAE,SAAS,EAAE,CAAC;CAC1B,CAAA;AAED,eAAO,MAAM,oBAAoB,mBAAoB,yBAAyB,KAAG,WAqDhF,CAAC"}
1
+ {"version":3,"file":"DQUnvalidatedContent.d.ts","sourceRoot":"","sources":["../../../../src/components/StatusBadge/components/DQUnvalidatedContent.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,SAAS,EAA6B,MAAM,oCAAoC,CAAC;AAwD1F,aAAK,yBAAyB,GAAG;IAC/B,UAAU,CAAC,EAAE,SAAS,EAAE,CAAC;CAC1B,CAAA;AAED,eAAO,MAAM,oBAAoB,mBAAoB,yBAAyB,KAAG,WAyDhF,CAAC"}
@@ -1 +1 @@
1
- import{__assign as e}from'./../../../ext-esm/tslib/tslib.es6.js';import{jsxs as r,jsx as i}from"react/jsx-runtime";import{useRef as t}from"react";import a from"classnames";import{makeStyles as s,Typography as n}from"@material-ui/core";import{ALERT_ICONS as o,ALERT_STATES as l}from"../constants.js";import{DQAlertsTooltip as m}from"./DQAlertsTooltip.js";var p=s((function(e){return{assetWrapper:{display:"grid",whiteSpace:"nowrap",alignItems:"center",marginTop:8,gridTemplateColumns:"127px 76px 76px",gridGap:20},assetName:{overflow:"hidden",fontSize:"12px",fontWeight:500,lineHeight:"14px",letterSpacing:"0.4px",textOverflow:"ellipsis"},container:{padding:12},headerText:{lineHeight:"19px",fontSize:"16px",fontWeight:500},subheaderText:{lineHeight:"14px",fontSize:"12px",fontWeight:400,color:e.palette.primary.text7,marginTop:4},Issue:{color:"#ffa500"},Missing:{color:e.palette.error.main},errorContainer:{display:"flex",alignItems:"center"},errorText:{marginLeft:4,fontSize:"14px",lineHeight:"20px"},errorNum:{fontSize:"16px",lineHeight:"22px",marginLeft:4}}})),c=function(s){var c=s.assetsData,d=t(null),u=p(),f=function(t){var s=t.alert,n=t.alertsNum,l=t.alertState;return i(m,e({alert:s,anchorEl:d.current,isTooltipVisible:n>0},{children:r("div",e({className:u.errorContainer},{children:[i("img",{src:o[l],alt:l}),r("div",{children:[r("span",e({className:a(u[l],u.errorText)},{children:[l,": "]})),i("span",e({className:u.errorNum},{children:n}))]})]}))}))};return r("div",e({className:u.container,ref:d},{children:[r("div",{children:[i(n,e({className:u.headerText},{children:"Data Quality Issues"})),r(n,e({className:u.subheaderText},{children:["Here you can see different issue types.",i("br",{}),"Hover over an icon to get more info."]}))]}),i("div",{children:null==c?void 0:c.map((function(t){var a=t.id,s=t.name,n=t.issuesNum,o=t.missingNum,m=t.alert,p=function(e){return{alert:m,alertsNum:e===l.issue?n:o,alertState:e===l.issue?l.issue:l.missing}},c=p(l.issue),d=p(l.missing);return r("div",e({className:u.assetWrapper},{children:[i("div",e({className:u.assetName},{children:s})),f(c),f(d)]}),a)}))})]}))};export{c as DQUnvalidatedContent};
1
+ import{__assign as e}from'./../../../ext-esm/tslib/tslib.es6.js';import{jsxs as r,jsx as i}from"react/jsx-runtime";import{useRef as t}from"react";import a from"classnames";import{makeStyles as s,Typography as n}from"@material-ui/core";import{ALERT_STATES as l,ALERT_ICONS as o}from"../constants.js";import{DQAlertsTooltip as m}from"./DQAlertsTooltip.js";var c=s((function(e){return{alertIcon:{width:16,height:16},assetWrapper:{display:"grid",whiteSpace:"nowrap",alignItems:"center",marginTop:8,gridTemplateColumns:"127px 76px 76px",gridGap:20},assetName:{overflow:"hidden",fontSize:"12px",fontWeight:500,lineHeight:"14px",letterSpacing:"0.4px",textOverflow:"ellipsis"},container:{padding:12},headerText:{lineHeight:"19px",fontSize:"16px",fontWeight:500},subheaderText:{lineHeight:"14px",fontSize:"12px",fontWeight:400,color:e.palette.primary.text7,marginTop:4},Issue:{color:"#ffa500"},Missing:{color:e.palette.error.main},errorContainer:{display:"flex",alignItems:"center"},errorText:{marginLeft:4,fontSize:"14px",lineHeight:"20px"},errorNum:{fontSize:"16px",lineHeight:"22px",marginLeft:4}}})),p=function(s){var p=s.assetsData,d=t(null),u=c(),h=function(t){var s=t.alert,n=t.alertsNum,c=t.alertState,p=t.isMissingData,h=o[c];return i(m,e({alert:p?e(e({},s),{state:l.missing}):s,anchorEl:d.current,alertIcon:i(h,{className:a(u[p?l.missing:c],u.alertIcon)}),isTooltipVisible:n>0},{children:r("div",e({className:u.errorContainer},{children:[i(h,{className:a(u[c],u.alertIcon)}),r("div",{children:[r("span",e({className:a(u[c],u.errorText)},{children:[c,": "]})),i("span",e({className:u.errorNum},{children:n}))]})]}))}))};return r("div",e({className:u.container,ref:d},{children:[r("div",{children:[i(n,e({className:u.headerText},{children:"Data Quality"})),i(n,e({className:u.subheaderText},{children:"Fusion real-time data quality rules for app data"}))]}),i("div",{children:null==p?void 0:p.map((function(t){var a=t.id,s=t.name,n=t.issuesNum,o=t.missingNum,m=t.alert,c=function(e){return{alert:m,alertsNum:e===l.issue?n:o,alertState:e===l.issue?l.issue:l.missing,isMissingData:o>0}},p=c(l.issue),d=c(l.missing);return r("div",e({className:u.assetWrapper},{children:[i("div",e({className:u.assetName},{children:s})),h(p),h(d)]}),a)}))})]}))};export{p as DQUnvalidatedContent};
@@ -1,9 +1,8 @@
1
- /// <reference types="react" />
2
1
  export declare const MAX_MOBILE_WIDTH = 959;
3
2
  export declare type BadgeIconStatus = 'warning' | 'error' | 'success';
4
3
  export declare const ALERT_ICONS: {
5
- Missing: any;
6
- Issue: any;
4
+ Missing: import("@material-ui/core/OverridableComponent").OverridableComponent<import("@material-ui/core").SvgIconTypeMap<{}, "svg">>;
5
+ Issue: import("@material-ui/core/OverridableComponent").OverridableComponent<import("@material-ui/core").SvgIconTypeMap<{}, "svg">>;
7
6
  };
8
7
  export declare const ALERT_STATES: {
9
8
  missing: string;
@@ -36,7 +35,7 @@ export declare const BADGE_ICON_STATUSES: BadgeIconStatuses;
36
35
  export declare const BADGE_ICONS: {
37
36
  success: import("@material-ui/core/OverridableComponent").OverridableComponent<import("@material-ui/core").SvgIconTypeMap<{}, "svg">>;
38
37
  warning: import("@material-ui/core/OverridableComponent").OverridableComponent<import("@material-ui/core").SvgIconTypeMap<{}, "svg">>;
39
- error: () => JSX.Element;
38
+ error: import("@material-ui/core/OverridableComponent").OverridableComponent<import("@material-ui/core").SvgIconTypeMap<{}, "svg">>;
40
39
  };
41
40
  export declare const WARNING = "Recommendations may be incorrect based on data quality errors";
42
41
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/components/StatusBadge/constants.ts"],"names":[],"mappings":";AAMA,eAAO,MAAM,gBAAgB,MAAM,CAAC;AAEpC,oBAAY,eAAe,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,CAAC;AAE9D,eAAO,MAAM,WAAW;;;CAGvB,CAAC;AAEF,eAAO,MAAM,YAAY;;;CAGxB,CAAC;AAEF,oBAAY,KAAK,GAAG;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,OAAO,CAAC;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,eAAe,EAAE,MAAM,CAAC;IACxB,aAAa,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,oBAAY,SAAS,GAAG;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,KAAK,CAAC;CACd,CAAC;AAEF,aAAK,iBAAiB,GAAG;IACvB,OAAO,EAAE,SAAS,CAAC;IACnB,OAAO,EAAE,SAAS,CAAC;IACnB,KAAK,EAAE,OAAO,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,iBAIjC,CAAC;AAEF,eAAO,MAAM,WAAW;;;;CAIvB,CAAC;AAEF,eAAO,MAAM,OAAO,kEAAkE,CAAC"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/components/StatusBadge/constants.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,gBAAgB,MAAM,CAAC;AAEpC,oBAAY,eAAe,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,CAAC;AAE9D,eAAO,MAAM,WAAW;;;CAGvB,CAAC;AAEF,eAAO,MAAM,YAAY;;;CAGxB,CAAC;AAEF,oBAAY,KAAK,GAAG;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,OAAO,CAAC;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,eAAe,EAAE,MAAM,CAAC;IACxB,aAAa,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,oBAAY,SAAS,GAAG;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,KAAK,CAAC;CACd,CAAC;AAEF,aAAK,iBAAiB,GAAG;IACvB,OAAO,EAAE,SAAS,CAAC;IACnB,OAAO,EAAE,SAAS,CAAC;IACnB,KAAK,EAAE,OAAO,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,iBAIjC,CAAC;AAEF,eAAO,MAAM,WAAW;;;;CAIvB,CAAC;AAEF,eAAO,MAAM,OAAO,kEAAkE,CAAC"}
@@ -1 +1 @@
1
- import s from"@material-ui/icons/Warning";import r from"@material-ui/icons/Done";import{SkullIcon as i}from"../Icons/SkullIcon.js";var a,e=959,n={Missing:"/static/media/3db6b665f981a7aa81d8883122c9380c.svg",Issue:"/static/media/27337c7c90a52271ad290030959e6601.svg"},o={missing:"Missing",issue:"Issue"},c={success:"success",warning:"warning",error:"error"},m=((a={})[c.success]=r,a[c.warning]=s,a[c.error]=i,a),t="Recommendations may be incorrect based on data quality errors";export{n as ALERT_ICONS,o as ALERT_STATES,m as BADGE_ICONS,c as BADGE_ICON_STATUSES,e as MAX_MOBILE_WIDTH,t as WARNING};
1
+ import r from"@material-ui/icons/Warning";import s from"@material-ui/icons/Done";import i from"@material-ui/icons/Error";import{DangerousIcon as o}from"../Icons/DangerousIcon.js";var n,e=959,a={Missing:o,Issue:i},m={missing:"Missing",issue:"Issue"},c={success:"success",warning:"warning",error:"error"},t=((n={})[c.success]=s,n[c.warning]=r,n[c.error]=o,n),u="Recommendations may be incorrect based on data quality errors";export{a as ALERT_ICONS,m as ALERT_STATES,t as BADGE_ICONS,c as BADGE_ICON_STATUSES,e as MAX_MOBILE_WIDTH,u as WARNING};
@@ -1,13 +1,13 @@
1
1
  /// <reference types="react" />
2
- import { BadgeIconStatus, AssetData } from './constants';
2
+ import { AssetData } from './constants';
3
3
  declare type StatusBadgeProps = {
4
4
  assetsData?: AssetData[];
5
5
  appWidth: number;
6
6
  className?: string;
7
- iconType?: BadgeIconStatus;
7
+ iconType?: 'error' | 'success';
8
8
  lastTimestamp: number;
9
- warningMessage?: string;
9
+ warningData?: Record<string, any>;
10
10
  };
11
- export declare const StatusBadge: ({ assetsData, appWidth, iconType, className, lastTimestamp, warningMessage, }: StatusBadgeProps) => JSX.Element;
11
+ export declare const StatusBadge: ({ assetsData, appWidth, iconType, className, lastTimestamp, warningData, }: StatusBadgeProps) => JSX.Element;
12
12
  export {};
13
13
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/StatusBadge/index.tsx"],"names":[],"mappings":";AAMA,OAAO,EAIL,eAAe,EACf,SAAS,EACV,MAAM,aAAa,CAAC;AA6ErB,aAAK,gBAAgB,GAAG;IACtB,UAAU,CAAC,EAAE,SAAS,EAAE,CAAC;IACzB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,eAAe,CAAC;IAC3B,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB,CAAC;AAEF,eAAO,MAAM,WAAW,kFAOrB,gBAAgB,KAAG,WAoDrB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/StatusBadge/index.tsx"],"names":[],"mappings":";AAMA,OAAO,EAIL,SAAS,EACV,MAAM,aAAa,CAAC;AA0ErB,aAAK,gBAAgB,GAAG;IACtB,UAAU,CAAC,EAAE,SAAS,EAAE,CAAC;IACzB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC/B,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CACnC,CAAC;AAEF,eAAO,MAAM,WAAW,+EAOrB,gBAAgB,KAAG,WAgErB,CAAC"}
@@ -1 +1 @@
1
- import{__assign as e}from'./../../ext-esm/tslib/tslib.es6.js';import{jsx as t,jsxs as n}from"react/jsx-runtime";import{useState as o}from"react";import r from"moment";import a from"classnames";import{makeStyles as i,Typography as s}from"@material-ui/core";import{Tooltip as p}from"../Tooltip/Tooltip.js";import"../Tooltip/ScrollableTooltip.js";import{WARNING as c,BADGE_ICON_STATUSES as l,MAX_MOBILE_WIDTH as m}from"./constants.js";import{DQStatusIcon as d}from"./components/DQStatusIcon.js";import{DQUnvalidatedContent as u}from"./components/DQUnvalidatedContent.js";import{DQSuccessContent as g}from"./components/DQSuccessContent.js";import{ReportIssueModal as f}from"./components/ReportIssueModal.js";var x=i((function(e){return{statusBadgeWrapper:{backgroundColor:e.palette.background.b4,display:"flex",height:30},statusBadgeContent:{display:"flex",flexDirection:function(e){return e.isWarningTypeIcon?"row-reverse":"initial"},justifyContent:function(e){return e.isWarningTypeIcon&&"flex-end"},padding:function(e){var t=e.isSuccessTypeIcon,n=e.isErrorTypeIcon;return"12px 0 2px ".concat(t||n?6:2,"px")},whiteSpace:"nowrap",width:"calc(100% - 140px)"},text:{fontSize:"10px",lineHeight:"12px",alignSelf:"center"},timestamp:{color:e.palette.primary.text6,marginLeft:function(e){var t=e.isWarningTypeIcon,n=e.isIconType;return!t&&n&&4}},warningMessage:{color:e.palette.primary.text1,marginLeft:4,textOverflow:"ellipsis",overflow:"hidden",fontSize:"12px"},badgeIconWarning:{marginLeft:8},popper:{"& .MuiTooltip-tooltip":{maxWidth:455,width:376,padding:4,fontSize:12,boxShadow:"0px 0px 4px 2px rgb(0 0 0 / 12%)",fontWeight:400,lineHeight:"16px",letterSpacing:"0.4px",backgroundColor:e.palette.background.b9}},DQIconWrapper:{display:"flex",alignItems:"center",alignSelf:"center",justifyContent:"center",height:24,width:24,borderRadius:12,"&:hover":{backgroundColor:function(e){var t=e.isErrorTypeIcon,n=e.isSuccessTypeIcon;return t?"rgba(244, 67, 54, 0.1)":n?"rgba(117, 219, 41, 0.2)":"transparent"}}}}})),h=function(i){var h,y,T=i.assetsData,b=void 0===T?[]:T,I=i.appWidth,v=i.iconType,S=i.className,w=i.lastTimestamp,W=i.warningMessage,j=o(!1),C=j[0],D=j[1],N=v==l.warning,k=v==l.error,M=v==l.success,Q=I<m,B=x({isWarningTypeIcon:N,isIconType:!!v,isSuccessTypeIcon:M,isErrorTypeIcon:k}),L=c;return N&&W&&(L="".concat(c,". ").concat(W)),k&&(L=t(u,{assetsData:b})),M&&(L=t(g,{onClick:function(){return D(!0)}})),n("div",e({className:a(B.statusBadgeWrapper,S)},{children:[n("div",e({className:B.statusBadgeContent},{children:[N&&!Q&&t(s,e({className:a(B.text,B.warningMessage),variant:"body1"},{children:W?"".concat(c,". ").concat(W):c})),v&&t(p,e({interactive:k||M,PopperProps:k&&{className:B.popper},placement:"top",title:L},{children:t("div",e({className:a((h={},h[B.DQIconWrapper]=!N,h))},{children:t(d,{className:a((y={},y[B.badgeIconWarning]=N,y)),color:v,iconType:v})}))})),n(s,e({className:a(B.text,B.timestamp),variant:"body1"},{children:["Last Update: ",r.unix(w).format("M/D/YYYY h:mm a")]}))]})),M&&t(f,{open:C,onClose:function(){return D(!1)}})]}))};export{h as StatusBadge};
1
+ import{__assign as t}from'./../../ext-esm/tslib/tslib.es6.js';import{jsx as e,jsxs as o,Fragment as r}from"react/jsx-runtime";import{useState as n}from"react";import a from"moment";import i from"classnames";import{makeStyles as s,Typography as c}from"@material-ui/core";import{Tooltip as p}from"../Tooltip/Tooltip.js";import"../Tooltip/ScrollableTooltip.js";import{WARNING as l,BADGE_ICON_STATUSES as m,MAX_MOBILE_WIDTH as d}from"./constants.js";import{DQStatusIcon as g}from"./components/DQStatusIcon.js";import{DQUnvalidatedContent as u}from"./components/DQUnvalidatedContent.js";import{DQSuccessContent as f}from"./components/DQSuccessContent.js";import{ReportIssueModal as x}from"./components/ReportIssueModal.js";var h=s((function(t){return{statusBadgeWrapper:{backgroundColor:t.palette.background.b4,display:"flex",height:30},statusBadgeContent:{display:"flex",padding:function(t){var e=t.isSuccessTypeIcon,o=t.isErrorTypeIcon;return"12px 0 2px ".concat(e||o?6:2,"px")},whiteSpace:"nowrap",width:"calc(100% - 140px)"},text:{fontSize:"10px",lineHeight:"12px",alignSelf:"center"},timestamp:{color:t.palette.primary.text6,marginLeft:function(t){return t.isIconExist&&4}},warningMessage:{color:t.palette.primary.text1,marginLeft:4,textOverflow:"ellipsis",overflow:"hidden",fontSize:"12px"},badgeIconWarning:{marginLeft:8},popper:{"& .MuiTooltip-tooltip":{maxWidth:455,width:376,padding:4,fontSize:12,boxShadow:"0px 0px 4px 2px rgb(0 0 0 / 12%)",fontWeight:400,lineHeight:"16px",letterSpacing:"0.4px",backgroundColor:t.palette.background.b9}},DQIconWrapper:{display:"flex",alignItems:"center",alignSelf:"center",justifyContent:"center",height:24,width:24,borderRadius:12,"&:hover":{backgroundColor:function(t){var e=t.isErrorTypeIcon,o=t.isSuccessTypeIcon;return e?"rgba(244, 67, 54, 0.1)":o?"rgba(117, 219, 41, 0.2)":"transparent"}}}}})),b=function(s){var b,v=s.assetsData,y=void 0===v?[]:v,I=s.appWidth,T=s.iconType,S=s.className,w=s.lastTimestamp,j=s.warningData,C=n(!1),D=C[0],W=C[1],N=null==j?void 0:j.message,k=T==m.error,E=T==m.success,M=I<d,Q=h({isIconExist:!!T,isSuccessTypeIcon:E,isErrorTypeIcon:k});return k&&(b=e(u,{assetsData:y})),E&&(b=e(f,{onClick:function(){return W(!0)}})),o("div",t({className:i(Q.statusBadgeWrapper,S)},{children:[o("div",t({className:Q.statusBadgeContent},{children:[T&&e(p,t({interactive:k||E,PopperProps:k&&{className:Q.popper},placement:"top",title:b},{children:e("div",t({className:Q.DQIconWrapper},{children:e(g,{color:T,iconType:T})}))})),o(c,t({className:i(Q.text,Q.timestamp),variant:"body1"},{children:["Last Update: ",a.unix(w).format("M/D/YYYY h:mm a")]})),j&&o(r,{children:[e(p,t({placement:"top",title:N?"".concat(l,". ").concat(N):l},{children:e("div",{children:e(g,{className:Q.badgeIconWarning,color:m.warning,iconType:m.warning})})})),!M&&e(c,t({className:i(Q.text,Q.warningMessage),variant:"body1"},{children:N?"".concat(l,". ").concat(N):l}))]})]})),E&&e(x,{open:D,onClose:function(){return W(!1)}})]}))};export{b as StatusBadge};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@corva/ui",
3
- "version": "0.55.0-10",
3
+ "version": "0.55.0-11",
4
4
  "description": "Shared components/utils for Corva ui projects",
5
5
  "keywords": [
6
6
  "corva-ui"
@@ -1,11 +0,0 @@
1
- <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <g clip-path="url(#clip0_325_12849)">
3
- <rect x="7" y="1.5" width="2" height="10" rx="1" fill="#FFA500"/>
4
- <rect x="7" y="12.5" width="2" height="2" rx="1" fill="#FFA500"/>
5
- </g>
6
- <defs>
7
- <clipPath id="clip0_325_12849">
8
- <rect width="16" height="16" fill="white"/>
9
- </clipPath>
10
- </defs>
11
- </svg>
@@ -1,3 +0,0 @@
1
- <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path fill-rule="evenodd" clip-rule="evenodd" d="M13.5004 2.71683C13.5004 3.48076 11.0392 4.10016 8.00309 4.10016C4.96702 4.10016 2.50582 3.4809 2.50582 2.7169C2.50582 1.9529 4.96702 1.3335 8.00309 1.3335C11.0392 1.3335 13.5004 1.9529 13.5004 2.71683ZM7.77483 5.50158C7.84643 5.50258 8.1631 5.50258 8.23483 5.50158C12.0499 5.46692 13.3541 4.58332 13.4948 4.47858L13.4978 4.47698C13.4978 4.47698 13.4958 6.31972 13.4945 6.32418C13.3722 6.45765 12.1431 7.67538 8.0047 7.67538C3.6265 7.67538 2.50377 6.31165 2.50377 6.31165V6.31265C2.50337 6.27552 2.49963 4.46598 2.49963 4.46598L2.50157 4.46692L2.50103 4.46865C2.50103 4.46865 3.72003 5.46478 7.77483 5.50158ZM8.23483 8.99703C8.1631 8.99803 7.84643 8.99803 7.77483 8.99703C3.72003 8.96009 2.50103 7.96409 2.50103 7.96409L2.50157 7.96236L2.49963 7.96143C2.49963 7.96143 2.50337 9.77096 2.50377 9.80843V9.80743C2.50377 9.80743 3.6265 11.1712 8.0047 11.1712C12.1431 11.1712 13.3722 9.95343 13.4945 9.81996C13.4958 9.81549 13.4978 7.97276 13.4978 7.97276L13.4948 7.97436C13.3541 8.07876 12.0499 8.96236 8.23483 8.99703ZM7.7747 12.4928C7.8463 12.4938 8.16297 12.4938 8.2347 12.4928C12.0498 12.4581 13.354 11.5745 13.4948 11.4701L13.4979 11.4685C13.4979 11.4685 13.4958 13.3113 13.4946 13.3157C13.3723 13.4492 12.1432 14.6669 8.00477 14.6669C3.62657 14.6669 2.50377 13.3029 2.50377 13.3029V13.3039C2.50337 13.2667 2.49963 11.4572 2.49963 11.4572L2.50157 11.4581L2.50103 11.4599C2.50103 11.4599 3.7199 12.456 7.7747 12.4928Z" fill="#F44336"/>
3
- </svg>
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var C=require("react/jsx-runtime");exports.SkullIcon=function(){return C.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:C.jsx("path",{d:"M7.8778 1.33501C6.23648 1.36702 4.67318 2.04152 3.52375 3.2136C2.37432 4.38568 1.73045 5.96184 1.73047 7.60347C1.73047 7.60347 1.73047 10.4661 1.73047 11.4351C1.73114 11.5187 1.76293 11.599 1.81962 11.6604C1.87632 11.7218 1.95387 11.7599 2.03714 11.7673C2.70061 11.8384 3.31973 12.1346 3.79154 12.6064C4.26335 13.0783 4.5594 13.6975 4.63047 14.3609C4.6381 14.4443 4.67645 14.5218 4.73806 14.5784C4.79967 14.635 4.88014 14.6666 4.9638 14.6672H11.0371C11.1208 14.6666 11.2013 14.635 11.2629 14.5784C11.3245 14.5218 11.3628 14.4443 11.3705 14.3609C11.4415 13.6975 11.7376 13.0783 12.2094 12.6064C12.6812 12.1346 13.3003 11.8384 13.9638 11.7673C14.047 11.7599 14.1245 11.7217 14.1811 11.6603C14.2377 11.5989 14.2695 11.5186 14.2701 11.4351V7.72721C14.2733 6.88688 14.1101 6.05424 13.7899 5.27728C13.4698 4.50032 12.9991 3.79439 12.4049 3.20019C11.8106 2.606 11.1047 2.13527 10.3277 1.81515C9.55077 1.49504 8.71813 1.33185 7.8778 1.33501ZM8.98894 7.85321C9.04951 7.5016 9.20556 7.1734 9.44003 6.90446C9.6745 6.63553 9.97836 6.43621 10.3184 6.32827C10.6585 6.22034 11.0217 6.20794 11.3683 6.29243C11.715 6.37693 12.0317 6.55507 12.284 6.80739C12.5363 7.05971 12.7143 7.3765 12.7987 7.72316C12.8832 8.06982 12.8707 8.43302 12.7627 8.77307C12.6546 9.11311 12.4552 9.41694 12.1863 9.65134C11.9173 9.88574 11.589 10.0417 11.2374 10.1022C10.9303 10.1549 10.6151 10.1331 10.3182 10.0387C10.0212 9.94432 9.7513 9.78005 9.53102 9.55972C9.31074 9.33938 9.14654 9.0694 9.05221 8.77246C8.95788 8.47552 8.93618 8.16027 8.98894 7.85321V7.85321ZM7.01127 8.51381C6.9507 8.86543 6.79467 9.19364 6.5602 9.46258C6.32574 9.73153 6.02187 9.93086 5.68179 10.0388C5.34171 10.1468 4.97851 10.1592 4.63186 10.0747C4.28521 9.99017 3.96845 9.81203 3.71619 9.55971C3.46392 9.30738 3.28586 8.99058 3.20145 8.64391C3.11704 8.29724 3.12953 7.93404 3.23755 7.59399C3.34558 7.25394 3.54498 6.95011 3.81398 6.71571C4.08299 6.48131 4.41123 6.32535 4.76287 6.26487C5.06995 6.21219 5.38518 6.23396 5.6821 6.32836C5.97902 6.42275 6.24896 6.58702 6.46924 6.80736C6.68952 7.0277 6.85371 7.29768 6.94803 7.59462C7.04235 7.89157 7.06403 8.20681 7.01127 8.51387V8.51381ZM8.96154 11.0556V12.3756C8.96152 12.4555 8.92975 12.5322 8.87321 12.5887C8.81668 12.6453 8.74001 12.677 8.66007 12.677H7.34007C7.26013 12.677 7.18346 12.6453 7.12692 12.5887C7.07039 12.5322 7.03862 12.4555 7.0386 12.3756V11.0556C7.03862 10.9757 7.07039 10.899 7.12692 10.8425C7.18346 10.786 7.26013 10.7542 7.34007 10.7542H8.66007C8.74001 10.7542 8.81668 10.786 8.87321 10.8425C8.92975 10.899 8.96152 10.9757 8.96154 11.0556V11.0556Z",fill:"#F44336"})})};
@@ -1,2 +0,0 @@
1
- export function SkullIcon(): JSX.Element;
2
- //# sourceMappingURL=SkullIcon.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SkullIcon.d.ts","sourceRoot":"","sources":["../../../src/components/Icons/SkullIcon.js"],"names":[],"mappings":"AAAO,yCAIN"}
@@ -1 +0,0 @@
1
- import{jsx as C}from"react/jsx-runtime";var t=function(){return C("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:C("path",{d:"M7.8778 1.33501C6.23648 1.36702 4.67318 2.04152 3.52375 3.2136C2.37432 4.38568 1.73045 5.96184 1.73047 7.60347C1.73047 7.60347 1.73047 10.4661 1.73047 11.4351C1.73114 11.5187 1.76293 11.599 1.81962 11.6604C1.87632 11.7218 1.95387 11.7599 2.03714 11.7673C2.70061 11.8384 3.31973 12.1346 3.79154 12.6064C4.26335 13.0783 4.5594 13.6975 4.63047 14.3609C4.6381 14.4443 4.67645 14.5218 4.73806 14.5784C4.79967 14.635 4.88014 14.6666 4.9638 14.6672H11.0371C11.1208 14.6666 11.2013 14.635 11.2629 14.5784C11.3245 14.5218 11.3628 14.4443 11.3705 14.3609C11.4415 13.6975 11.7376 13.0783 12.2094 12.6064C12.6812 12.1346 13.3003 11.8384 13.9638 11.7673C14.047 11.7599 14.1245 11.7217 14.1811 11.6603C14.2377 11.5989 14.2695 11.5186 14.2701 11.4351V7.72721C14.2733 6.88688 14.1101 6.05424 13.7899 5.27728C13.4698 4.50032 12.9991 3.79439 12.4049 3.20019C11.8106 2.606 11.1047 2.13527 10.3277 1.81515C9.55077 1.49504 8.71813 1.33185 7.8778 1.33501ZM8.98894 7.85321C9.04951 7.5016 9.20556 7.1734 9.44003 6.90446C9.6745 6.63553 9.97836 6.43621 10.3184 6.32827C10.6585 6.22034 11.0217 6.20794 11.3683 6.29243C11.715 6.37693 12.0317 6.55507 12.284 6.80739C12.5363 7.05971 12.7143 7.3765 12.7987 7.72316C12.8832 8.06982 12.8707 8.43302 12.7627 8.77307C12.6546 9.11311 12.4552 9.41694 12.1863 9.65134C11.9173 9.88574 11.589 10.0417 11.2374 10.1022C10.9303 10.1549 10.6151 10.1331 10.3182 10.0387C10.0212 9.94432 9.7513 9.78005 9.53102 9.55972C9.31074 9.33938 9.14654 9.0694 9.05221 8.77246C8.95788 8.47552 8.93618 8.16027 8.98894 7.85321V7.85321ZM7.01127 8.51381C6.9507 8.86543 6.79467 9.19364 6.5602 9.46258C6.32574 9.73153 6.02187 9.93086 5.68179 10.0388C5.34171 10.1468 4.97851 10.1592 4.63186 10.0747C4.28521 9.99017 3.96845 9.81203 3.71619 9.55971C3.46392 9.30738 3.28586 8.99058 3.20145 8.64391C3.11704 8.29724 3.12953 7.93404 3.23755 7.59399C3.34558 7.25394 3.54498 6.95011 3.81398 6.71571C4.08299 6.48131 4.41123 6.32535 4.76287 6.26487C5.06995 6.21219 5.38518 6.23396 5.6821 6.32836C5.97902 6.42275 6.24896 6.58702 6.46924 6.80736C6.68952 7.0277 6.85371 7.29768 6.94803 7.59462C7.04235 7.89157 7.06403 8.20681 7.01127 8.51387V8.51381ZM8.96154 11.0556V12.3756C8.96152 12.4555 8.92975 12.5322 8.87321 12.5887C8.81668 12.6453 8.74001 12.677 8.66007 12.677H7.34007C7.26013 12.677 7.18346 12.6453 7.12692 12.5887C7.07039 12.5322 7.03862 12.4555 7.0386 12.3756V11.0556C7.03862 10.9757 7.07039 10.899 7.12692 10.8425C7.18346 10.786 7.26013 10.7542 7.34007 10.7542H8.66007C8.74001 10.7542 8.81668 10.786 8.87321 10.8425C8.92975 10.899 8.96152 10.9757 8.96154 11.0556V11.0556Z",fill:"#F44336"})})};export{t as SkullIcon};