@corva/ui 0.55.0-5 → 0.55.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/assets/27337c7c90a52271ad290030959e6601.svg +11 -0
- package/assets/3db6b665f981a7aa81d8883122c9380c.svg +3 -0
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js +1 -1
- package/cjs-bundle/components/Icons/SkullIcon.js +1 -0
- package/cjs-bundle/components/OffsetWellChips/Chip.js +1 -1
- package/cjs-bundle/components/OffsetWellChips/ChipsContainer.js +1 -1
- package/cjs-bundle/components/Select/index.js +1 -1
- package/cjs-bundle/components/StatusBadge/components/DQAlertsTooltip.js +1 -0
- package/cjs-bundle/components/StatusBadge/components/DQStatusIcon.js +1 -0
- package/cjs-bundle/components/StatusBadge/components/DQSuccessContent.js +1 -0
- package/cjs-bundle/components/StatusBadge/components/DQUnvalidatedContent.js +1 -0
- package/cjs-bundle/components/StatusBadge/components/ReportIssueModal.js +1 -0
- package/cjs-bundle/components/StatusBadge/constants.js +1 -1
- package/cjs-bundle/components/StatusBadge/index.js +1 -1
- package/cjs-bundle/components/SwitchControl/index.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.d.ts.map +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/index.d.ts +2 -2
- package/components/IconMenu/index.d.ts +3 -3
- package/components/Icons/SkullIcon.d.ts +2 -0
- package/components/Icons/SkullIcon.d.ts.map +1 -0
- package/components/Icons/SkullIcon.js +1 -0
- package/components/OffsetWellChips/Chip.d.ts +1 -13
- package/components/OffsetWellChips/Chip.d.ts.map +1 -1
- package/components/OffsetWellChips/Chip.js +1 -1
- package/components/OffsetWellChips/ChipsContainer.d.ts +1 -13
- package/components/OffsetWellChips/ChipsContainer.d.ts.map +1 -1
- package/components/OffsetWellChips/ChipsContainer.js +1 -1
- package/components/OffsetWellChips/types.d.ts +15 -17
- package/components/OffsetWellChips/types.d.ts.map +1 -1
- package/components/Select/index.d.ts +2 -45
- package/components/Select/index.d.ts.map +1 -1
- package/components/Select/index.js +1 -1
- package/components/Select/types.d.ts +15 -0
- package/components/Select/types.d.ts.map +1 -0
- package/components/StatusBadge/components/DQAlertsTooltip.d.ts +9 -0
- package/components/StatusBadge/components/DQAlertsTooltip.d.ts.map +1 -0
- package/components/StatusBadge/components/DQAlertsTooltip.js +1 -0
- package/components/StatusBadge/components/DQStatusIcon.d.ts +10 -0
- package/components/StatusBadge/components/DQStatusIcon.d.ts.map +1 -0
- package/components/StatusBadge/components/DQStatusIcon.js +1 -0
- package/components/StatusBadge/components/DQSuccessContent.d.ts +5 -0
- package/components/StatusBadge/components/DQSuccessContent.d.ts.map +1 -0
- package/components/StatusBadge/components/DQSuccessContent.js +1 -0
- package/components/StatusBadge/components/DQUnvalidatedContent.d.ts.map +1 -0
- package/components/StatusBadge/components/DQUnvalidatedContent.js +1 -0
- package/components/StatusBadge/components/ReportIssueModal.d.ts +8 -0
- package/components/StatusBadge/components/ReportIssueModal.d.ts.map +1 -0
- package/components/StatusBadge/components/ReportIssueModal.js +1 -0
- package/components/StatusBadge/constants.d.ts +16 -13
- package/components/StatusBadge/constants.d.ts.map +1 -1
- package/components/StatusBadge/constants.js +1 -1
- package/components/StatusBadge/index.d.ts +1 -1
- package/components/StatusBadge/index.d.ts.map +1 -1
- package/components/StatusBadge/index.js +1 -1
- package/components/SwitchControl/index.d.ts +32 -36
- package/components/SwitchControl/index.d.ts.map +1 -1
- package/components/SwitchControl/index.js +1 -1
- package/components/SwitchControl/types.d.ts +17 -0
- package/components/SwitchControl/types.d.ts.map +1 -0
- package/package.json +1 -1
- package/assets/1aa187dca9a802ede389885e43aff155.svg +0 -9
- package/assets/5124c957601b1a0ef1f0b93bce1ae0de.svg +0 -13
- package/assets/66745cf3868fdb983d0a2180a43b0720.svg +0 -11
- package/cjs-bundle/components/Icons/GppBadIcon.js +0 -1
- package/cjs-bundle/components/Icons/GppGoodIcon.js +0 -1
- package/cjs-bundle/components/OffsetWellChips/types.js +0 -1
- package/cjs-bundle/components/StatusBadge/DQChip.js +0 -1
- package/cjs-bundle/components/StatusBadge/DQStatusIcon.js +0 -1
- package/cjs-bundle/components/StatusBadge/DQUnvalidatedContent.js +0 -1
- package/components/Icons/GppBadIcon.d.ts +0 -2
- package/components/Icons/GppBadIcon.d.ts.map +0 -1
- package/components/Icons/GppBadIcon.js +0 -1
- package/components/Icons/GppGoodIcon.js +0 -1
- package/components/OffsetWellChips/types.js +0 -1
- package/components/StatusBadge/DQChip.d.ts +0 -9
- package/components/StatusBadge/DQChip.d.ts.map +0 -1
- package/components/StatusBadge/DQChip.js +0 -1
- package/components/StatusBadge/DQStatusIcon.d.ts +0 -13
- package/components/StatusBadge/DQStatusIcon.d.ts.map +0 -1
- package/components/StatusBadge/DQStatusIcon.js +0 -1
- package/components/StatusBadge/DQUnvalidatedContent.d.ts.map +0 -1
- package/components/StatusBadge/DQUnvalidatedContent.js +0 -1
- /package/components/StatusBadge/{DQUnvalidatedContent.d.ts → components/DQUnvalidatedContent.d.ts} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GppBadIcon.d.ts","sourceRoot":"","sources":["../../../src/components/Icons/GppBadIcon.js"],"names":[],"mappings":"AAEA,sJAUE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{createSvgIcon as r}from"@material-ui/core";import{jsxs as e,jsx as i}from"react/jsx-runtime";var t=r(e("svg",{xmlns:"http://www.w3.org/2000/svg",enableBackground:"new 0 0 24 24",height:"24",viewBox:"0 0 24 24",width:"24",children:[i("g",{children:i("path",{d:"M0,0h24v24H0V0z",fill:"none"})}),i("g",{children:i("path",{d:"M12,2L4,5v6.09c0,5.05,3.41,9.76,8,10.91c4.59-1.15,8-5.86,8-10.91V5L12,2z M15.5,14.09l-1.41,1.41L12,13.42L9.91,15.5 L8.5,14.09L10.59,12L8.5,9.91L9.91,8.5L12,10.59l2.09-2.09l1.41,1.41L13.42,12L15.5,14.09z"})})]}),"GppBadIcon");export{t as GppBadIcon};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{createSvgIcon as r}from"@material-ui/core";import{jsxs as e,jsx as o}from"react/jsx-runtime";var i=r(e("svg",{xmlns:"http://www.w3.org/2000/svg",enableBackground:"new 0 0 24 24",height:"24",viewBox:"0 0 24 24",width:"24",children:[o("g",{children:o("path",{d:"M0,0h24v24H0V0z",fill:"none"})}),o("g",{children:o("path",{d:"M12,2L4,5v6.09c0,5.05,3.41,9.76,8,10.91c4.59-1.15,8-5.86,8-10.91V5L12,2z M10.94,15.54L7.4,12l1.41-1.41l2.12,2.12 l4.24-4.24l1.41,1.41L10.94,15.54z"})})]}),"GppGoodIcon");export{i as GppGoodIcon};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import i from"prop-types";var e={title:i.string.isRequired,isSubject:i.bool.isRequired,maxWidth:i.number,onClick:i.func,markColor:i.string,rigName:i.string,id:i.string.isRequired,wellId:i.string.isRequired,onRemoveOffsetWell:i.func,isShowMark:i.bool};export{e as offsetWellChipPropTypes};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { BadgeIconStatus } from './constants';
|
|
3
|
-
declare type DQChipProps = {
|
|
4
|
-
className?: string;
|
|
5
|
-
type: BadgeIconStatus;
|
|
6
|
-
};
|
|
7
|
-
export declare const DQChip: ({ type, className }: DQChipProps) => JSX.Element;
|
|
8
|
-
export {};
|
|
9
|
-
//# sourceMappingURL=DQChip.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DQChip.d.ts","sourceRoot":"","sources":["../../../src/components/StatusBadge/DQChip.tsx"],"names":[],"mappings":";AASA,OAAO,EAAa,eAAe,EAAuB,MAAM,aAAa,CAAC;AAyC9E,aAAK,WAAW,GAAG;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,eAAe,CAAC;CACvB,CAAC;AAEF,eAAO,MAAM,MAAM,wBAAuD,WAAW,KAAG,WAoBvF,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{__assign as a}from'./../../ext-esm/tslib/tslib.es6.js';import{jsx as r}from"react/jsx-runtime";import t from"classnames";import{makeStyles as o}from"@material-ui/core";import i from"../Chip/index.js";import{Tooltip as n}from"../Tooltip/Tooltip.js";import"../Tooltip/ScrollableTooltip.js";import{DQStatusIcon as e}from"./DQStatusIcon.js";import{BADGE_ICON_STATUSES as c,ICON_SIZE as s}from"./constants.js";var m,p,l=((m={})[c.error]="/static/media/5124c957601b1a0ef1f0b93bce1ae0de.svg",m[c.warning]="/static/media/1aa187dca9a802ede389885e43aff155.svg",m[c.success]="/static/media/66745cf3868fdb983d0a2180a43b0720.svg",m),u=((p={})[c.error]="Data has not been checked",p[c.warning]="Unknown Quality Control status",p[c.success]="Automated and Manual Quality Control process in Corva",p),d=o((function(a){return{chipWrapper:{maxWidth:129},chip:{height:20},warning:{background:"rgba(255, 193, 7, 0.16) !important","& .MuiChip-icon":{color:"".concat(a.palette.warning.main," !important")}},error:{background:"rgba(244, 67, 54, 0.16) !important","& .MuiChip-icon":{color:"".concat(a.palette.error.main," !important")}},success:{background:"rgba(156, 255, 56, 0.16) !important","& .MuiChip-icon":{color:"".concat(a.palette.success.bright," !important")}}}})),g=function(o){var m=o.type,p=void 0===m?c.warning:m,g=o.className,b=d();return r(n,a({title:u[p],placement:"bottom-start"},{children:r("div",a({className:t(b.chipWrapper,g)},{children:r(i,{className:t(b.chip,b[p]),icon:r(e,{color:p,iconType:p===c.warning?"DQWarning":p,size:s.small}),label:r("img",{src:l[p],alt:p})})}))}))};export{g as DQChip};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { BadgeIconStatus } from './constants';
|
|
3
|
-
declare type IconTypes = BadgeIconStatus | 'DQWarning';
|
|
4
|
-
declare type SizeTypes = 'small' | 'large';
|
|
5
|
-
declare type iconProps = {
|
|
6
|
-
color: IconTypes;
|
|
7
|
-
className?: string;
|
|
8
|
-
iconType: IconTypes;
|
|
9
|
-
size: SizeTypes;
|
|
10
|
-
};
|
|
11
|
-
export declare const DQStatusIcon: ({ color, className, iconType, size }: iconProps) => JSX.Element;
|
|
12
|
-
export {};
|
|
13
|
-
//# sourceMappingURL=DQStatusIcon.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DQStatusIcon.d.ts","sourceRoot":"","sources":["../../../src/components/StatusBadge/DQStatusIcon.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAe,eAAe,EAAE,MAAM,aAAa,CAAC;AAU3D,aAAK,SAAS,GAAG,eAAe,GAAG,WAAW,CAAC;AAC/C,aAAK,SAAS,GAAG,OAAO,GAAG,OAAO,CAAC;AAEnC,aAAK,SAAS,GAAG;IACf,KAAK,EAAE,SAAS,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,SAAS,CAAC;IACpB,IAAI,EAAE,SAAS,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,YAAY,yCAA0C,SAAS,KAAG,WAO9E,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{jsx as r}from"react/jsx-runtime";import{makeStyles as o}from"@material-ui/core";import e from"classnames";import{BADGE_ICONS as t}from"./constants.js";var a=o((function(r){return{small:{fontSize:"16px"},large:{fontSize:"26px"},warning:{color:r.palette.warning.main},error:{color:r.palette.error.main},success:{color:r.palette.success.bright}}})),n=function(o){var n=o.color,s=o.className,i=o.iconType,c=o.size,m=t[i],l=a();return r(m,{className:e(l[c],l[n],s)})};export{n as DQStatusIcon};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DQUnvalidatedContent.d.ts","sourceRoot":"","sources":["../../../src/components/StatusBadge/DQUnvalidatedContent.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAkC,SAAS,EAAE,MAAM,oCAAoC,CAAC;AAkE/F,aAAK,yBAAyB,GAAG;IAC/B,UAAU,CAAC,EAAE,SAAS,EAAE,CAAC;CAC1B,CAAA;AAED,eAAO,MAAM,oBAAoB,mBAAoB,yBAAyB,KAAG,WAoChF,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{__assign as e}from'./../../ext-esm/tslib/tslib.es6.js';import{jsxs as t,jsx as i}from"react/jsx-runtime";import a from"classnames";import r from"moment";import{makeStyles as n,Typography as o}from"@material-ui/core";import s from"@material-ui/icons/InfoOutlined";import{BADGE_ICON_STATUSES as l,ICON_SIZE as m}from"./constants.js";import{DQStatusIcon as c}from"./DQStatusIcon.js";import{DQChip as p}from"./DQChip.js";var d=n((function(e){return{assetsContainer:{maxHeight:140,marginTop:4,marginBottom:16,overflowX:"auto"},assetWrapper:{display:"flex",whiteSpace:"nowrap",alignItems:"center",marginTop:8},assetName:{maxWidth:160,textOverflow:"ellipsis",overflow:"hidden",flex:1},container:{padding:"8px 4px 16px 4px"},chip:{marginLeft:6,flex:1},datetime:{color:e.palette.primary.text6,marginLeft:12},infoBlock:{alignItems:"center",display:"flex"},infoText:{marginLeft:9,fontSize:12,letterSpacing:"0.4px",lineHeight:"17px"},infoIcon:{color:e.palette.primary.text6},headerContainer:{alignItems:"center",display:"flex"},headerText:{marginLeft:8,lineHeight:"16px",fontSize:"14px",fontWeight:500},text:{lineHeight:"14px",fontSize:"12px",fontWeight:500,letterSpacing:"0.4px"}}})),f=function(n){var f=n.assetsData,x=d();return t("div",e({className:x.container},{children:[t("div",e({className:x.headerContainer},{children:[i(c,{color:l.error,iconType:l.error,size:m.large}),i(o,e({className:a(x.headerText)},{children:"Data Quality: Unvalidated"}))]})),i("div",e({className:x.assetsContainer},{children:null==f?void 0:f.map((function(n){var o=n.status,s=n.id,l=n.name,m=n.datetime;return t("div",e({className:x.assetWrapper},{children:[i("div",e({className:a(x.assetName,x.text)},{children:l})),i(p,{className:x.chip,type:o}),i("div",e({className:a(x.text,x.datetime)},{children:r.unix(m).format("M/D/YYYY h:mm")}))]}),s)}))})),t("div",e({className:x.infoBlock},{children:[i(s,{className:x.infoIcon}),i(o,e({className:x.infoText},{children:"Click on badge to see more details and report problem"}))]}))]}))};export{f as DQUnvalidatedContent};
|
/package/components/StatusBadge/{DQUnvalidatedContent.d.ts → components/DQUnvalidatedContent.d.ts}
RENAMED
|
File without changes
|