@corva/ui 0.62.0-6 → 0.62.0-7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs-bundle/components/AssetEditorV2/components/PrimaryAssetSelect.js +1 -1
- package/cjs-bundle/components/AssetEditorV2/utils/index.js +1 -1
- package/cjs-bundle/components/StatusBadge/components/DQAccordionDetailsContent.js +1 -1
- package/cjs-bundle/components/StatusBadge/components/DQAlertTooltip.js +1 -1
- package/cjs-bundle/components/StatusBadge/components/DQAlertsTooltip.js +1 -1
- package/cjs-bundle/components/StatusBadge/styles.js +1 -1
- package/components/AssetEditorV2/components/PrimaryAssetSelect.d.ts +2 -0
- package/components/AssetEditorV2/components/PrimaryAssetSelect.js +1 -1
- package/components/AssetEditorV2/utils/index.d.ts +0 -1
- package/components/AssetEditorV2/utils/index.d.ts.map +1 -1
- package/components/AssetEditorV2/utils/index.js +1 -1
- package/components/StatusBadge/components/DQAccordionDetailsContent.d.ts.map +1 -1
- package/components/StatusBadge/components/DQAccordionDetailsContent.js +1 -1
- package/components/StatusBadge/components/DQAlertTooltip.d.ts +2 -1
- package/components/StatusBadge/components/DQAlertTooltip.d.ts.map +1 -1
- package/components/StatusBadge/components/DQAlertTooltip.js +1 -1
- package/components/StatusBadge/components/DQAlertsTooltip.d.ts +2 -1
- package/components/StatusBadge/components/DQAlertsTooltip.d.ts.map +1 -1
- package/components/StatusBadge/components/DQAlertsTooltip.js +1 -1
- package/components/StatusBadge/styles.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("@babel/runtime/helpers/slicedToArray"),t=require("prop-types"),
|
|
1
|
+
"use strict";var e=require("@babel/runtime/helpers/slicedToArray"),t=require("prop-types"),s=require("react"),r=require("lodash"),a=require("@material-ui/core"),n=require("../../Search/Search.js");require("../../Search/components/Listbox.js"),require("../../Search/components/Paper.js"),require("../../Search/components/RecentSearches.js");var o=require("../../Search/components/InputAdornmentLeft.js"),i=require("../../Search/components/Groups.js"),u=require("../effects/index.js"),l=require("../constants.js"),p=require("./SelectItem.js");require("../../../constants/goals.js"),require("../../../constants/segment.js"),require("../../../constants/alerts.js"),require("../../../constants/apps.js"),require("../../../constants/drillstring.js"),require("../../../constants/completion.js"),require("../../../constants/notifications.js"),require("../../../constants/feed.js"),require("../../../constants/bha.js");var c=require("../../../constants/assetTypes.js");require("../../../utils/env.js"),require("../../GradientManager/configuration/constants.js");var d=require("react/jsx-runtime");function h(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var g=h(e),f=h(t),m=a.makeStyles({paper:{boxShadow:"0px 3px 10px 0px #00000066"},listbox:{maxHeight:210,"& .MuiAutocomplete-option":{padding:"0px 0px 0px 16px"}},option:{padding:"6px 0","&:hover":{backgroundColor:"initial"}},groupChip:{height:32,padding:0},activeChip:{fontWeight:500,backgroundColor:"#75DB29",color:"#212121",fontSize:10,cursor:"pointer",height:12,textTransform:"uppercase",marginRight:12,letterSpacing:1}}),j=function(e){var t=e.placeholder,h=e.label,f=e["data-testid"],j=e.appKey,q=e.assetType,C=e.defaultValue,S=e.currentValue,x=e.disableClearable,b=e.isNullable,A=e.onChange,v=e.groups,I=e.selectedGroup,T=e.onGroupChange,y=e.assetFields,P=e.onInputReset,F=e.onActiveAssetIdChange,G=s.useState(null),R=g.default(G,2),V=R[0],E=R[1],N=s.useState(""),_=g.default(N,2),k=_[0],L=_[1],M=q===c.ASSET_TYPES.rig.type?"Search Rig...":"Search Pad / Frac Fleet ...",O=m(),D=u.usePrimaryAssetSelectData({appKey:j,assetType:q,groups:v,assetFields:y,selectedGroup:I,currentValue:S,setCurrentOption:E,onActiveAssetIdChange:F}),K=D.assets,U=D.loading,w=s.useCallback(r.debounce((function(e){L(e)}),200),[]);return d.jsx(n,{classes:{paper:O.paper,listbox:O.listbox,groupChip:O.groupChip},loading:U,placeholder:t||M,defaultValue:C,disableClearable:x,isNullable:b,onGroupChange:T,onChange:function(e,t){E(t),A(t)},"data-testid":f,onInputChange:w,onInputReset:function(){P(),E(null)},TextFieldProps:{label:h,value:k,endAdornment:(null==V?void 0:V.status)===l.ACTIVE_STATUS&&d.jsx(a.Chip,{"data-not-migrated-muichip":!0,className:O.activeChip,label:"Active"})},value:V,options:K,renderCustomOption:function(e){var t=e.status,s=e.name,r=e.id;return d.jsx(p,{className:O.option,assetName:s,value:r,status:t&&l.ACTIVE_STATUS,"data-testid":"".concat(f,"_option_").concat(s,"MenuItem")},r)},getOptionLabel:function(e){return e.name||""},GroupsComponent:i,groups:v,InputProps:{startAdornment:d.jsx(o,{})}})};j.propTypes={assetFields:f.default.array,"data-testid":f.default.string,onInputReset:f.default.func,onActiveAssetIdChange:f.default.func,placeholder:f.default.string},j.defaultProps={assetFields:[],"data-testid":"PrimaryAssetEditorAutocomplete",onInputReset:function(){},onActiveAssetIdChange:function(){},placeholder:null},module.exports=j;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@babel/runtime/helpers/toConsumableArray"),t=require("lodash");require("../../../constants/goals.js"),require("../../../constants/segment.js"),require("../../../constants/alerts.js"),require("../../../constants/apps.js"),require("../../../constants/drillstring.js"),require("../../../constants/completion.js"),require("../../../constants/notifications.js"),require("../../../constants/feed.js"),require("../../../constants/bha.js");var
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@babel/runtime/helpers/toConsumableArray"),t=require("lodash");require("../../../constants/goals.js"),require("../../../constants/segment.js"),require("../../../constants/alerts.js"),require("../../../constants/apps.js"),require("../../../constants/drillstring.js"),require("../../../constants/completion.js"),require("../../../constants/notifications.js"),require("../../../constants/feed.js"),require("../../../constants/bha.js");var r=require("../../../constants/assetTypes.js");require("../../../utils/env.js"),require("../../GradientManager/configuration/constants.js");var s=require("../constants.js");function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=n(e),i=function(){var e,r,s,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],a=null===(e=n.find((function(e){return e===e.current})))||void 0===e?void 0:e.id,i=n.reduce((function(e,t){return new Date(e.lastCurrentAt)>new Date(t.lastCurrentAt)?e:t}),{});return t.isEmpty(a)?null===(r=i.fracFleet)||void 0===r?void 0:r.id:null===(s=a.fracFleet)||void 0===s?void 0:s.id};exports.formatAsset=function(e){var t,n=e.asset,a=e.group,u=e.activeWellId,o=e.isPrimaryAsset,l={id:+n.assetId||+n.id,type:n.type,name:n.name};(a&&(l.group=a),n.type===r.ASSET_TYPES.rig.type)&&(l.activeWellId=(null===(t=n.activeWell)||void 0===t?void 0:t.status)===s.ACTIVE_STATUS?Number(n.activeWell.id):null);if(n.type===r.ASSET_TYPES.well.type&&(l.status=Number(n.id)===u?s.ACTIVE_STATUS:null),n.type===r.ASSET_TYPES.pad.type){var c=i(n.padFracFleets);l.parentFracFleetId=c;var d=n.wells.some((function(e){return e.status===s.ACTIVE_STATUS}));l.status=d?s.ACTIVE_STATUS:null,o&&!c&&(l.status=null)}return l},exports.getPadFracFleetId=i,exports.getRequestOptions=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return{sort:"name",order:"asc",fields:["".concat(e,".name"),"".concat(e,".status")].concat(a.default(t))}},exports.sortAsset=function(e){return e.status===s.ACTIVE_STATUS?-1:1};
|
|
@@ -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"),a=require("classnames"),r=require("@material-ui/core"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require('./../../../ext-esm/tslib/tslib.es6.js'),s=require("react/jsx-runtime"),a=require("classnames"),r=require("@material-ui/core"),i=require("@material-ui/icons"),t=require("../styles.js"),n=require("../constants.js"),l=require("./DQAlertTooltip.js");function c(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=c(a);exports.DQAccordionDetailsContent=function(a){var c=a.assets,u=t.useDQUnvalidatedContentStyles({}),d=c.reduce((function(s,a){return s[a.alert.category]||(s[a.alert.category]=[]),s[a.alert.category]=e.__spreadArray(e.__spreadArray([],s[a.alert.category],!0),[a],!1),s}),{});return s.jsx("div",{children:Object.keys(d).map((function(a){return s.jsxs(r.Accordion,e.__assign({defaultExpanded:!0},{children:[s.jsx(r.AccordionSummary,e.__assign({className:o.default("left",u.categoryName),expandIcon:s.jsx(i.ExpandMore,{})},{children:"".concat(a," (").concat(d[a].length,")")})),s.jsx(r.AccordionDetails,{children:s.jsx("div",e.__assign({className:u.assetTable},{children:d[a].map((function(a){var r=a.id,i=a.name,t=a.issuesNum,c=a.missingNum,d=a.isResolved,_=a.alert,m=a.linkToDQPage,T=function(e){return{alert:_,alertsNum:e===n.ALERT_STATES.issue?t:c,alertState:e===n.ALERT_STATES.issue?n.ALERT_STATES.issue:n.ALERT_STATES.missing,isIssueData:t>0,linkToDQPage:m}},g=T(n.ALERT_STATES.issue),j=T(n.ALERT_STATES.missing);return s.jsxs("div",e.__assign({className:u.assetWrapper},{children:[s.jsx("div",e.__assign({className:o.default(u.assetName,u.assetCell)},{children:i})),d?s.jsx("div",e.__assign({className:u.assetCell},{children:s.jsx(l.DQAlertTooltip,e.__assign({},g))})):s.jsxs(s.Fragment,{children:[t>0&&s.jsx("div",e.__assign({className:u.assetCell},{children:s.jsx(l.DQAlertTooltip,e.__assign({},g))})),c>0&&s.jsx("div",e.__assign({className:u.assetCell},{children:s.jsx(l.DQAlertTooltip,e.__assign({},j))}))]})]}),r)}))}))})]}),a)}))})};
|
|
@@ -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("classnames"),t=require("../constants.js"),a=require("./DQAlertsTooltip.js"),l=require("../styles.js"),i=require("../utils.js");function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=n(r);exports.DQAlertTooltip=function(r){var n,u,d=r.alert,c=r.alertsNum,j=r.alertState,_=r.isIssueData,m=l.useDQUnvalidatedContentStyles({}),
|
|
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("classnames"),t=require("../constants.js"),a=require("./DQAlertsTooltip.js"),l=require("../styles.js"),i=require("../utils.js");function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=n(r);exports.DQAlertTooltip=function(r){var n,u,d=r.alert,c=r.alertsNum,j=r.alertState,_=r.isIssueData,m=r.linkToDQPage,x=l.useDQUnvalidatedContentStyles({}),T=i.isResolved(d.status),f=T?t.ALERT_ICONS.Resolved:t.ALERT_ICONS[j];return s.jsx(a.DQAlertsTooltip,e.__assign({alert:d,alertIcon:s.jsx(f,{className:o.default(x[j],x.alertIcon)}),linkToDQPage:m},{children:s.jsxs("div",e.__assign({className:o.default(x.errorContainer,(n={},n[x.missingContainer]=_&&j===t.ALERT_STATES.missing,n))},{children:[s.jsx(f,{className:o.default((u={},u[x[j]]=!T,u[x.Resolved]=T,u),x.alertIcon)}),s.jsx("div",{children:!T&&s.jsxs(s.Fragment,{children:[s.jsxs("span",e.__assign({className:o.default(x[j],x.errorText)},{children:[j,": "]})),s.jsx("span",e.__assign({className:x.errorNum},{children:c}))]})})]}))}))};
|
|
@@ -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"),s=require("@material-ui/core"),i=require("../../Tooltip/Tooltip.js");require("../../Tooltip/ScrollableTooltip.js");var
|
|
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"),s=require("@material-ui/core"),i=require("@material-ui/icons/Link"),n=require("../../Tooltip/Tooltip.js");require("../../Tooltip/ScrollableTooltip.js");var l=require("../utils.js"),o=require("../constants.js"),c=require("../../DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js"),p=require("../styles.js");function d(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var m=d(a),g=d(i),u=s.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,display:"flex",alignItems:"center"},emptyMessage:{padding:"0",fontSize:16,lineHeight:"22px",color:e.palette.primary.contrastText},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:77,width:270,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,zIndex:1,"& .MuiTooltip-tooltip":{backgroundColor:e.palette.background.b9,fontWeight:400,lineHeight:"20px",margin:0,padding:0}},message:{whiteSpace:"pre-wrap"},note:{marginBottom:4},ok:{color:"#F99500 !important"},good:{color:"".concat(e.palette.warning.light," !important")}}})),x=function(e){return m.default.unix(e).format("DD MMM HH:mm (Z)")},h=function(a){var s=a.children,i=u(),n=r.template(s)({timestampFormatter:x}).split("**").map((function(e,a){return a%2==1?t.jsx("b",{children:e}):e}));return t.jsx("span",e.__assign({className:i.message},{children:n}))};exports.DQAlertsTooltip=function(a){var r,s,i,d=a.alert,x=a.alertIcon,f=a.children,_=a.linkToDQPage,j=u(),S=p.useDQUnvalidatedContentStyles({}),v=Math.max(d.statusUpdatedAt,d.lastCheckedAt),y=(void 0===i&&(i="MM/DD/YY hh:mm a"),(s=v)?m.default.unix(s).format(i):null);return t.jsx(n.Tooltip,{interactive:!0,children:f,PopperProps:{className:j.popover},placement:"right",title:d.emptyMessage?t.jsx("div",e.__assign({className:j.emptyMessage},{children:d.emptyMessage})):t.jsxs(t.Fragment,{children:[t.jsxs("div",e.__assign({className:j.title},{children:[d.name,t.jsx(c.UniversalLink,e.__assign({className:S.link,href:_},{children:t.jsx(g.default,{className:S.linkIcon})}))]})),t.jsxs("span",e.__assign({className:j.alertInfo},{children:[t.jsx("span",{children:"Category:"})," ",d.category]})),t.jsxs("span",e.__assign({className:j.alertInfo},{children:[t.jsx("span",{children:"Status:"})," ",d.status]})),t.jsxs("span",e.__assign({className:j.alertInfo},{children:[t.jsx("span",{children:"Error Type:"}),t.jsx("div",e.__assign({className:j.errorIcon},{children:x})),t.jsx("span",e.__assign({className:d.state===o.ALERT_STATES.issue?o.BADGE_ICON_STATUSES.warning:o.BADGE_ICON_STATUSES.error},{children:d.state}))]})),t.jsxs("span",e.__assign({className:j.alertInfo},{children:[t.jsx("span",{children:"Score Deduction:"}),t.jsx("span",e.__assign({className:l.getDeductsFromScoreClass(j,d.deductsFromScore,l.isResolved(d.status))},{children:l.getDeductsFromScoreValue(d.deductsFromScore,l.isResolved(d.status))}))]})),t.jsxs("div",e.__assign({className:j.alertMessageFull},{children:[d.isThrottled&&t.jsx("b",{children:"[Throttled]: "}),t.jsx(h,{children:d.message})]})),t.jsxs("span",e.__assign({className:j.alertInfo},{children:[t.jsx("span",e.__assign({className:j.note},{children:"Note:"}))," ",(null===(r=d.note)||void 0===r?void 0:r.length)?d.note:"—"]})),t.jsxs("span",e.__assign({className:j.alertTime},{children:["Updated at: ",t.jsx("span",{children:y})]}))]})})};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@material-ui/core").makeStyles((function(e){return{alertIcon:{width:16,height:16},assetWrapper:{display:"table-row"},assetTable:{display:"table",color:e.palette.primary.contrastText,marginLeft:8},assetCell:{display:"table-cell",padding:"5px 0",verticalAlign:"middle",width:111},assetName:{fontSize:"12px",width:89},container:{padding:"12px 0 4px 12px"},headerText:{lineHeight:"19px",fontSize:"16px",fontWeight:500},subheaderText:{lineHeight:"14px",fontSize:"12px",fontWeight:400,marginRight:16,color:e.palette.primary.text7,marginTop:4},Issue:{color:"#ffa500"},Missing:{color:e.palette.error.main},Resolved:{color:e.palette.success.bright},errorContainer:{display:"flex",alignItems:"center",marginLeft:8,height:22},missingContainer:{marginLeft:0},errorText:{marginLeft:4,fontSize:"14px"},errorNum:{fontSize:"16px",marginLeft:4},accordion:{"&:not(:first-child)":{marginTop:"16px !important"},marginTop:"8px !important",color:e.palette.primary.contrastText,"& .MuiAccordionSummary-content":{fontWeight:"400 !important"}},accordionDetails:{marginTop:8},categoryName:{marginTop:4},accordionsWrapper:{maxHeight:function(e){var t=e.maxHeight;return t},overflowY:"auto",paddingRight:16,"&::before, &::after":{content:'""',width:"100%",height:16,position:"absolute",zIndex:1},"&::before":{background:"linear-gradient(180deg, ".concat(e.palette.background.b9," 18.23%, rgba(59, 59, 59, 0) 100%)"),opacity:.8,top:0},"&::after":{background:"linear-gradient(0deg, ".concat(e.palette.background.b9," 18.23%, rgba(59, 59, 59, 0) 100%)"),opacity:.8,bottom:0}},relative:{position:"relative",padding:"8px 0"},reportDQIssueButtonWrapper:{display:"flex",justifyContent:"end"},reportDQIssueButton:{marginRight:12,marginBottom:8},headerWrapper:{display:"flex",alignItems:"center"},linkIcon:{width:16,height:16,marginLeft:
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@material-ui/core").makeStyles((function(e){return{alertIcon:{width:16,height:16},assetWrapper:{display:"table-row"},assetTable:{display:"table",color:e.palette.primary.contrastText,marginLeft:8},assetCell:{display:"table-cell",padding:"5px 0",verticalAlign:"middle",width:111},assetName:{fontSize:"12px",width:89},container:{padding:"12px 0 4px 12px"},headerText:{lineHeight:"19px",fontSize:"16px",fontWeight:500},subheaderText:{lineHeight:"14px",fontSize:"12px",fontWeight:400,marginRight:16,color:e.palette.primary.text7,marginTop:4},Issue:{color:"#ffa500"},Missing:{color:e.palette.error.main},Resolved:{color:e.palette.success.bright},errorContainer:{display:"flex",alignItems:"center",marginLeft:8,height:22},missingContainer:{marginLeft:0},errorText:{marginLeft:4,fontSize:"14px"},errorNum:{fontSize:"16px",marginLeft:4},accordion:{"&:not(:first-child)":{marginTop:"16px !important"},marginTop:"8px !important",color:e.palette.primary.contrastText,"& .MuiAccordionSummary-content":{fontWeight:"400 !important"}},accordionDetails:{marginTop:8},categoryName:{marginTop:4},accordionsWrapper:{maxHeight:function(e){var t=e.maxHeight;return t},overflowY:"auto",paddingRight:16,"&::before, &::after":{content:'""',width:"100%",height:16,position:"absolute",zIndex:1},"&::before":{background:"linear-gradient(180deg, ".concat(e.palette.background.b9," 18.23%, rgba(59, 59, 59, 0) 100%)"),opacity:.8,top:0},"&::after":{background:"linear-gradient(0deg, ".concat(e.palette.background.b9," 18.23%, rgba(59, 59, 59, 0) 100%)"),opacity:.8,bottom:0}},relative:{position:"relative",padding:"8px 0"},reportDQIssueButtonWrapper:{display:"flex",justifyContent:"end"},reportDQIssueButton:{marginRight:12,marginBottom:8},headerWrapper:{display:"flex",alignItems:"center"},linkIcon:{width:16,height:16,marginLeft:8,color:e.palette.primary.main},link:{lineHeight:0,zIndex:1,position:"relative",display:"flex"}}}));exports.useDQUnvalidatedContentStyles=e;
|
|
@@ -22,12 +22,14 @@ declare namespace PrimaryAssetSelect {
|
|
|
22
22
|
assetFields: PropTypes.Requireable<any[]>;
|
|
23
23
|
'data-testid': PropTypes.Requireable<string>;
|
|
24
24
|
onInputReset: PropTypes.Requireable<(...args: any[]) => any>;
|
|
25
|
+
onActiveAssetIdChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
25
26
|
placeholder: PropTypes.Requireable<string>;
|
|
26
27
|
};
|
|
27
28
|
const defaultProps: {
|
|
28
29
|
assetFields: any[];
|
|
29
30
|
'data-testid': string;
|
|
30
31
|
onInputReset: () => void;
|
|
32
|
+
onActiveAssetIdChange: () => void;
|
|
31
33
|
placeholder: any;
|
|
32
34
|
};
|
|
33
35
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import t from"@babel/runtime/helpers/slicedToArray";import e from"prop-types";import{useState as o,useCallback as s}from"react";import{debounce as
|
|
1
|
+
import t from"@babel/runtime/helpers/slicedToArray";import e from"prop-types";import{useState as o,useCallback as s}from"react";import{debounce as n}from"lodash";import{makeStyles as a,Chip as r}from"@material-ui/core";import i from"../../Search/Search.js";import"../../Search/components/Listbox.js";import"../../Search/components/Paper.js";import"../../Search/components/RecentSearches.js";import p from"../../Search/components/InputAdornmentLeft.js";import l from"../../Search/components/Groups.js";import{usePrimaryAssetSelectData as c}from"../effects/index.js";import{ACTIVE_STATUS as m}from"../constants.js";import u from"./SelectItem.js";import"../../../constants/goals.js";import"../../../constants/segment.js";import"../../../constants/alerts.js";import"../../../constants/apps.js";import"../../../constants/drillstring.js";import"../../../constants/completion.js";import"../../../constants/notifications.js";import"../../../constants/feed.js";import"../../../constants/bha.js";import{ASSET_TYPES as d}from"../../../constants/assetTypes.js";import"../../../utils/env.js";import"../../GradientManager/configuration/constants.js";import{jsx as h}from"react/jsx-runtime";var g=a({paper:{boxShadow:"0px 3px 10px 0px #00000066"},listbox:{maxHeight:210,"& .MuiAutocomplete-option":{padding:"0px 0px 0px 16px"}},option:{padding:"6px 0","&:hover":{backgroundColor:"initial"}},groupChip:{height:32,padding:0},activeChip:{fontWeight:500,backgroundColor:"#75DB29",color:"#212121",fontSize:10,cursor:"pointer",height:12,textTransform:"uppercase",marginRight:12,letterSpacing:1}}),f=function(e){var a=e.placeholder,f=e.label,j=e["data-testid"],C=e.appKey,b=e.assetType,x=e.defaultValue,v=e.currentValue,A=e.disableClearable,S=e.isNullable,I=e.onChange,y=e.groups,F=e.selectedGroup,G=e.onGroupChange,R=e.assetFields,T=e.onInputReset,P=e.onActiveAssetIdChange,N=o(null),V=t(N,2),L=V[0],M=V[1],O=o(""),k=t(O,2),K=k[0],_=k[1],w=b===d.rig.type?"Search Rig...":"Search Pad / Frac Fleet ...",z=g(),B=c({appKey:C,assetType:b,groups:y,assetFields:R,selectedGroup:F,currentValue:v,setCurrentOption:M,onActiveAssetIdChange:P}),D=B.assets,E=B.loading,H=s(n((function(t){_(t)}),200),[]);return h(i,{classes:{paper:z.paper,listbox:z.listbox,groupChip:z.groupChip},loading:E,placeholder:a||w,defaultValue:x,disableClearable:A,isNullable:S,onGroupChange:G,onChange:function(t,e){M(e),I(e)},"data-testid":j,onInputChange:H,onInputReset:function(){T(),M(null)},TextFieldProps:{label:f,value:K,endAdornment:(null==L?void 0:L.status)===m&&h(r,{"data-not-migrated-muichip":!0,className:z.activeChip,label:"Active"})},value:L,options:D,renderCustomOption:function(t){var e=t.status,o=t.name,s=t.id;return h(u,{className:z.option,assetName:o,value:s,status:e&&m,"data-testid":"".concat(j,"_option_").concat(o,"MenuItem")},s)},getOptionLabel:function(t){return t.name||""},GroupsComponent:l,groups:y,InputProps:{startAdornment:h(p,{})}})};f.propTypes={assetFields:e.array,"data-testid":e.string,onInputReset:e.func,onActiveAssetIdChange:e.func,placeholder:e.string},f.defaultProps={assetFields:[],"data-testid":"PrimaryAssetEditorAutocomplete",onInputReset:function(){},onActiveAssetIdChange:function(){},placeholder:null};export{f as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/AssetEditorV2/utils/index.js"],"names":[],"mappings":"AAIO,yDAUN;AAEM,2DAUN;AAEM;;;;EAIL;AAEK
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/AssetEditorV2/utils/index.js"],"names":[],"mappings":"AAIO,yDAUN;AAEM,2DAUN;AAEM;;;;EAIL;AAEK;;;;;;;;;EA4BN;AAEM,6CAAkE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import t from"@babel/runtime/helpers/toConsumableArray";import{isEmpty as
|
|
1
|
+
import t from"@babel/runtime/helpers/toConsumableArray";import{isEmpty as n}from"lodash";import"../../../constants/goals.js";import"../../../constants/segment.js";import"../../../constants/alerts.js";import"../../../constants/apps.js";import"../../../constants/drillstring.js";import"../../../constants/completion.js";import"../../../constants/notifications.js";import"../../../constants/feed.js";import"../../../constants/bha.js";import{ASSET_TYPES as s}from"../../../constants/assetTypes.js";import"../../../utils/env.js";import"../../GradientManager/configuration/constants.js";import{ACTIVE_STATUS as e}from"../constants.js";var r=function(){var t,s,e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],o=null===(t=r.find((function(t){return t===t.current})))||void 0===t?void 0:t.id,a=r.reduce((function(t,n){return new Date(t.lastCurrentAt)>new Date(n.lastCurrentAt)?t:n}),{});return n(o)?null===(s=a.fracFleet)||void 0===s?void 0:s.id:null===(e=o.fracFleet)||void 0===e?void 0:e.id},o=function(n){var s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return{sort:"name",order:"asc",fields:["".concat(n,".name"),"".concat(n,".status")].concat(t(s))}},a=function(t){var n,o=t.asset,a=t.group,i=t.activeWellId,l=t.isPrimaryAsset,u={id:+o.assetId||+o.id,type:o.type,name:o.name};(a&&(u.group=a),o.type===s.rig.type)&&(u.activeWellId=(null===(n=o.activeWell)||void 0===n?void 0:n.status)===e?Number(o.activeWell.id):null);if(o.type===s.well.type&&(u.status=Number(o.id)===i?e:null),o.type===s.pad.type){var c=r(o.padFracFleets);u.parentFracFleetId=c;var p=o.wells.some((function(t){return t.status===e}));u.status=p?e:null,l&&!c&&(u.status=null)}return u},i=function(t){return t.status===e?-1:1};export{a as formatAsset,r as getPadFracFleetId,o as getRequestOptions,i as sortAsset};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DQAccordionDetailsContent.d.ts","sourceRoot":"","sources":["../../../../src/components/StatusBadge/components/DQAccordionDetailsContent.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAmC,SAAS,EAAE,MAAM,oCAAoC,CAAC;AAGhG,aAAK,8BAA8B,GAAG;IAAE,MAAM,EAAE,SAAS,EAAE,CAAA;CAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"DQAccordionDetailsContent.d.ts","sourceRoot":"","sources":["../../../../src/components/StatusBadge/components/DQAccordionDetailsContent.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAmC,SAAS,EAAE,MAAM,oCAAoC,CAAC;AAGhG,aAAK,8BAA8B,GAAG;IAAE,MAAM,EAAE,SAAS,EAAE,CAAA;CAAE,CAAC;AAU9D,eAAO,MAAM,yBAAyB,eAAgB,8BAA8B,KAAG,WAgEtF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__spreadArray as e,__assign as s}from'./../../../ext-esm/tslib/tslib.es6.js';import{jsx as
|
|
1
|
+
import{__spreadArray as e,__assign as s}from'./../../../ext-esm/tslib/tslib.es6.js';import{jsx as a,jsxs as r,Fragment as t}from"react/jsx-runtime";import i from"classnames";import{Accordion as l,AccordionSummary as n,AccordionDetails as c}from"@material-ui/core";import{ExpandMore as o}from"@material-ui/icons";import{useDQUnvalidatedContentStyles as m}from"../styles.js";import{ALERT_STATES as d}from"../constants.js";import{DQAlertTooltip as u}from"./DQAlertTooltip.js";var p=function(p){var f=p.assets,h=m({}),N=f.reduce((function(s,a){return s[a.alert.category]||(s[a.alert.category]=[]),s[a.alert.category]=e(e([],s[a.alert.category],!0),[a],!1),s}),{});return a("div",{children:Object.keys(N).map((function(e){return r(l,s({defaultExpanded:!0},{children:[a(n,s({className:i("left",h.categoryName),expandIcon:a(o,{})},{children:"".concat(e," (").concat(N[e].length,")")})),a(c,{children:a("div",s({className:h.assetTable},{children:N[e].map((function(e){var l=e.id,n=e.name,c=e.issuesNum,o=e.missingNum,m=e.isResolved,p=e.alert,f=e.linkToDQPage,N=function(e){return{alert:p,alertsNum:e===d.issue?c:o,alertState:e===d.issue?d.issue:d.missing,isIssueData:c>0,linkToDQPage:f}},g=N(d.issue),v=N(d.missing);return r("div",s({className:h.assetWrapper},{children:[a("div",s({className:i(h.assetName,h.assetCell)},{children:n})),m?a("div",s({className:h.assetCell},{children:a(u,s({},g))})):r(t,{children:[c>0&&a("div",s({className:h.assetCell},{children:a(u,s({},g))})),o>0&&a("div",s({className:h.assetCell},{children:a(u,s({},v))}))]})]}),l)}))}))})]}),e)}))})};export{p as DQAccordionDetailsContent};
|
|
@@ -5,7 +5,8 @@ declare type DQAlertTooltipProps = {
|
|
|
5
5
|
alertState: AlertState;
|
|
6
6
|
isIssueData: boolean;
|
|
7
7
|
alert: Alert;
|
|
8
|
+
linkToDQPage: string;
|
|
8
9
|
};
|
|
9
|
-
export declare const DQAlertTooltip: ({ alert, alertsNum, alertState, isIssueData }: DQAlertTooltipProps) => JSX.Element;
|
|
10
|
+
export declare const DQAlertTooltip: ({ alert, alertsNum, alertState, isIssueData, linkToDQPage }: DQAlertTooltipProps) => JSX.Element;
|
|
10
11
|
export {};
|
|
11
12
|
//# sourceMappingURL=DQAlertTooltip.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DQAlertTooltip.d.ts","sourceRoot":"","sources":["../../../../src/components/StatusBadge/components/DQAlertTooltip.tsx"],"names":[],"mappings":";AACA,OAAO,EAAC,KAAK,EAAE,UAAU,EAA6B,MAAM,oCAAoC,CAAC;AAKjG,aAAK,mBAAmB,GAAG;IACzB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,UAAU,CAAC;IACvB,WAAW,EAAE,OAAO,CAAC;IACrB,KAAK,EAAE,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"DQAlertTooltip.d.ts","sourceRoot":"","sources":["../../../../src/components/StatusBadge/components/DQAlertTooltip.tsx"],"names":[],"mappings":";AACA,OAAO,EAAC,KAAK,EAAE,UAAU,EAA6B,MAAM,oCAAoC,CAAC;AAKjG,aAAK,mBAAmB,GAAG;IACzB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,UAAU,CAAC;IACvB,WAAW,EAAE,OAAO,CAAC;IACrB,KAAK,EAAE,KAAK,CAAC;IACb,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,cAAc,gEAAiE,mBAAmB,KAAG,WAiCjH,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__assign as r}from'./../../../ext-esm/tslib/tslib.es6.js';import{jsx as s,jsxs as e,Fragment as t}from"react/jsx-runtime";import a from"classnames";import{ALERT_STATES as o,ALERT_ICONS as i}from"../constants.js";import{DQAlertsTooltip as l}from"./DQAlertsTooltip.js";import{useDQUnvalidatedContentStyles as
|
|
1
|
+
import{__assign as r}from'./../../../ext-esm/tslib/tslib.es6.js';import{jsx as s,jsxs as e,Fragment as t}from"react/jsx-runtime";import a from"classnames";import{ALERT_STATES as o,ALERT_ICONS as i}from"../constants.js";import{DQAlertsTooltip as l}from"./DQAlertsTooltip.js";import{useDQUnvalidatedContentStyles as n}from"../styles.js";import{isResolved as m}from"../utils.js";var c=function(c){var d,p,u=c.alert,f=c.alertsNum,N=c.alertState,h=c.isIssueData,j=c.linkToDQPage,v=n({}),g=m(u.status),D=g?i.Resolved:i[N];return s(l,r({alert:u,alertIcon:s(D,{className:a(v[N],v.alertIcon)}),linkToDQPage:j},{children:e("div",r({className:a(v.errorContainer,(d={},d[v.missingContainer]=h&&N===o.missing,d))},{children:[s(D,{className:a((p={},p[v[N]]=!g,p[v.Resolved]=g,p),v.alertIcon)}),s("div",{children:!g&&e(t,{children:[e("span",r({className:a(v[N],v.errorText)},{children:[N,": "]})),s("span",r({className:v.errorNum},{children:f}))]})})]}))}))};export{c as DQAlertTooltip};
|
|
@@ -4,7 +4,8 @@ declare type DQCountryCheckTooltipProps = {
|
|
|
4
4
|
alert: Alert;
|
|
5
5
|
alertIcon: ReactElement;
|
|
6
6
|
children: ReactElement<any, any>;
|
|
7
|
+
linkToDQPage: string;
|
|
7
8
|
};
|
|
8
|
-
export declare const DQAlertsTooltip: ({ alert, alertIcon, children }: DQCountryCheckTooltipProps) => JSX.Element;
|
|
9
|
+
export declare const DQAlertsTooltip: ({ alert, alertIcon, children, linkToDQPage }: DQCountryCheckTooltipProps) => JSX.Element;
|
|
9
10
|
export {};
|
|
10
11
|
//# 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;
|
|
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;AAOrC,OAAO,EAAE,KAAK,EAAqC,MAAM,oCAAoC,CAAC;AAqI9F,aAAK,0BAA0B,GAAG;IAChC,KAAK,EAAE,KAAK,CAAC;IACb,SAAS,EAAE,YAAY,CAAC;IACxB,QAAQ,EAAE,YAAY,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC;IACjC,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,eAAe,iDAAkD,0BAA0B,KAAG,WA8D1G,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
|
|
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 l from"@material-ui/icons/Link";import{Tooltip as s}from"../../Tooltip/Tooltip.js";import"../../Tooltip/ScrollableTooltip.js";import{getDeductsFromScoreClass as p,isResolved as c,getDeductsFromScoreValue as m}from"../utils.js";import{ALERT_STATES as d,BADGE_ICON_STATUSES as h}from"../constants.js";import{UniversalLink as g}from"../../DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js";import{useDQUnvalidatedContentStyles as f}from"../styles.js";var u=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,display:"flex",alignItems:"center"},emptyMessage:{padding:"0",fontSize:16,lineHeight:"22px",color:e.palette.primary.contrastText},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:77,width:270,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,zIndex:1,"& .MuiTooltip-tooltip":{backgroundColor:e.palette.background.b9,fontWeight:400,lineHeight:"20px",margin:0,padding:0}},message:{whiteSpace:"pre-wrap"},note:{marginBottom:4},ok:{color:"#F99500 !important"},good:{color:"".concat(e.palette.warning.light," !important")}}})),x=function(e){return i.unix(e).format("DD MMM HH:mm (Z)")},y=function(r){var a=r.children,i=u(),n=o(a)({timestampFormatter:x}).split("**").map((function(e,r){return r%2==1?t("b",{children:e}):e}));return t("span",e({className:i.message},{children:n}))},b=function(o){var n,x,b,v=o.alert,w=o.alertIcon,N=o.children,S=o.linkToDQPage,I=u(),k=f({}),M=Math.max(v.statusUpdatedAt,v.lastCheckedAt),T=(void 0===b&&(b="MM/DD/YY hh:mm a"),(x=M)?i.unix(x).format(b):null);return t(s,{interactive:!0,children:N,PopperProps:{className:I.popover},placement:"right",title:v.emptyMessage?t("div",e({className:I.emptyMessage},{children:v.emptyMessage})):r(a,{children:[r("div",e({className:I.title},{children:[v.name,t(g,e({className:k.link,href:S},{children:t(l,{className:k.linkIcon})}))]})),r("span",e({className:I.alertInfo},{children:[t("span",{children:"Category:"})," ",v.category]})),r("span",e({className:I.alertInfo},{children:[t("span",{children:"Status:"})," ",v.status]})),r("span",e({className:I.alertInfo},{children:[t("span",{children:"Error Type:"}),t("div",e({className:I.errorIcon},{children:w})),t("span",e({className:v.state===d.issue?h.warning:h.error},{children:v.state}))]})),r("span",e({className:I.alertInfo},{children:[t("span",{children:"Score Deduction:"}),t("span",e({className:p(I,v.deductsFromScore,c(v.status))},{children:m(v.deductsFromScore,c(v.status))}))]})),r("div",e({className:I.alertMessageFull},{children:[v.isThrottled&&t("b",{children:"[Throttled]: "}),t(y,{children:v.message})]})),r("span",e({className:I.alertInfo},{children:[t("span",e({className:I.note},{children:"Note:"}))," ",(null===(n=v.note)||void 0===n?void 0:n.length)?v.note:"—"]})),r("span",e({className:I.alertTime},{children:["Updated at: ",t("span",{children:T})]}))]})})};export{b as DQAlertsTooltip};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{makeStyles as e}from"@material-ui/core";var t=e((function(e){return{alertIcon:{width:16,height:16},assetWrapper:{display:"table-row"},assetTable:{display:"table",color:e.palette.primary.contrastText,marginLeft:8},assetCell:{display:"table-cell",padding:"5px 0",verticalAlign:"middle",width:111},assetName:{fontSize:"12px",width:89},container:{padding:"12px 0 4px 12px"},headerText:{lineHeight:"19px",fontSize:"16px",fontWeight:500},subheaderText:{lineHeight:"14px",fontSize:"12px",fontWeight:400,marginRight:16,color:e.palette.primary.text7,marginTop:4},Issue:{color:"#ffa500"},Missing:{color:e.palette.error.main},Resolved:{color:e.palette.success.bright},errorContainer:{display:"flex",alignItems:"center",marginLeft:8,height:22},missingContainer:{marginLeft:0},errorText:{marginLeft:4,fontSize:"14px"},errorNum:{fontSize:"16px",marginLeft:4},accordion:{"&:not(:first-child)":{marginTop:"16px !important"},marginTop:"8px !important",color:e.palette.primary.contrastText,"& .MuiAccordionSummary-content":{fontWeight:"400 !important"}},accordionDetails:{marginTop:8},categoryName:{marginTop:4},accordionsWrapper:{maxHeight:function(e){var t=e.maxHeight;return t},overflowY:"auto",paddingRight:16,"&::before, &::after":{content:'""',width:"100%",height:16,position:"absolute",zIndex:1},"&::before":{background:"linear-gradient(180deg, ".concat(e.palette.background.b9," 18.23%, rgba(59, 59, 59, 0) 100%)"),opacity:.8,top:0},"&::after":{background:"linear-gradient(0deg, ".concat(e.palette.background.b9," 18.23%, rgba(59, 59, 59, 0) 100%)"),opacity:.8,bottom:0}},relative:{position:"relative",padding:"8px 0"},reportDQIssueButtonWrapper:{display:"flex",justifyContent:"end"},reportDQIssueButton:{marginRight:12,marginBottom:8},headerWrapper:{display:"flex",alignItems:"center"},linkIcon:{width:16,height:16,marginLeft:
|
|
1
|
+
import{makeStyles as e}from"@material-ui/core";var t=e((function(e){return{alertIcon:{width:16,height:16},assetWrapper:{display:"table-row"},assetTable:{display:"table",color:e.palette.primary.contrastText,marginLeft:8},assetCell:{display:"table-cell",padding:"5px 0",verticalAlign:"middle",width:111},assetName:{fontSize:"12px",width:89},container:{padding:"12px 0 4px 12px"},headerText:{lineHeight:"19px",fontSize:"16px",fontWeight:500},subheaderText:{lineHeight:"14px",fontSize:"12px",fontWeight:400,marginRight:16,color:e.palette.primary.text7,marginTop:4},Issue:{color:"#ffa500"},Missing:{color:e.palette.error.main},Resolved:{color:e.palette.success.bright},errorContainer:{display:"flex",alignItems:"center",marginLeft:8,height:22},missingContainer:{marginLeft:0},errorText:{marginLeft:4,fontSize:"14px"},errorNum:{fontSize:"16px",marginLeft:4},accordion:{"&:not(:first-child)":{marginTop:"16px !important"},marginTop:"8px !important",color:e.palette.primary.contrastText,"& .MuiAccordionSummary-content":{fontWeight:"400 !important"}},accordionDetails:{marginTop:8},categoryName:{marginTop:4},accordionsWrapper:{maxHeight:function(e){var t=e.maxHeight;return t},overflowY:"auto",paddingRight:16,"&::before, &::after":{content:'""',width:"100%",height:16,position:"absolute",zIndex:1},"&::before":{background:"linear-gradient(180deg, ".concat(e.palette.background.b9," 18.23%, rgba(59, 59, 59, 0) 100%)"),opacity:.8,top:0},"&::after":{background:"linear-gradient(0deg, ".concat(e.palette.background.b9," 18.23%, rgba(59, 59, 59, 0) 100%)"),opacity:.8,bottom:0}},relative:{position:"relative",padding:"8px 0"},reportDQIssueButtonWrapper:{display:"flex",justifyContent:"end"},reportDQIssueButton:{marginRight:12,marginBottom:8},headerWrapper:{display:"flex",alignItems:"center"},linkIcon:{width:16,height:16,marginLeft:8,color:e.palette.primary.main},link:{lineHeight:0,zIndex:1,position:"relative",display:"flex"}}}));export{t as useDQUnvalidatedContentStyles};
|