@corva/ui 0.57.0-1 → 0.57.0-2
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/Annotations/components/AnnotationsList/style.css.js +1 -1
- package/cjs-bundle/components/DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.js +1 -1
- package/cjs-bundle/components/DevCenter/AppSettingsPopover/AppSettingsPopover.js +1 -1
- package/cjs-bundle/components/OffsetWellMap/OffsetWellMap.js +1 -1
- package/cjs-bundle/permissions/constants/index.js +1 -1
- package/cjs-bundle/utils/metrics/metricsConfig.js +1 -1
- package/components/Annotations/components/AnnotationsList/style.css.js +1 -1
- package/components/DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.d.ts.map +1 -1
- package/components/DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.js +1 -1
- package/components/DevCenter/AppSettingsPopover/AppSettingsPopover.d.ts +4 -1
- package/components/DevCenter/AppSettingsPopover/AppSettingsPopover.d.ts.map +1 -1
- package/components/DevCenter/AppSettingsPopover/AppSettingsPopover.js +1 -1
- package/components/OffsetWellMap/OffsetWellMap.d.ts.map +1 -1
- package/components/OffsetWellMap/OffsetWellMap.js +1 -1
- package/package.json +1 -1
- package/permissions/constants/index.d.ts +1 -0
- package/permissions/constants/index.d.ts.map +1 -1
- package/permissions/constants/index.js +1 -1
- package/utils/metrics/metricsConfig.d.ts +12 -0
- package/utils/metrics/metricsConfig.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";require('./../../../../ext-esm/style-inject/dist/style-inject.es.js')('.style_cAnnotationsList__D1C25{background-color:transparent!important;border-radius:0;display:flex;flex-direction:column;height:100%;left:0;min-width:0;position:absolute;top:0;transition:min-width .3s ease-in-out,width .3s ease-in-out!important;width:0;z-index:
|
|
1
|
+
"use strict";require('./../../../../ext-esm/style-inject/dist/style-inject.es.js')('.style_cAnnotationsList__D1C25{background-color:transparent!important;border-radius:0;display:flex;flex-direction:column;height:100%;left:0;min-width:0;position:absolute;top:0;transition:min-width .3s ease-in-out,width .3s ease-in-out!important;width:0;z-index:1201}.style_cAnnotationsList__D1C25:after{animation:style_blur__xaWYq .5s linear 1;backdrop-filter:blur(4px);background:#161616b0;content:"";height:100%;left:0;position:absolute;top:0;width:100%;z-index:-1}.style_cAnnotationsListOpen__M5Q27{max-width:420px;min-width:340px;width:80%}.style_cAnnotationsListOpenNative__DcsYt{width:100%}.style_cAnnotationsListContentContainer__rjA2-{padding:16px 16px 0}.style_cAnnotationsListActions__tV8tG{margin-top:auto;padding:16px;text-align:right}.style_cAnnotationsListContentTopIcon__9YAzy{height:24px;margin-right:5px;width:24px}@keyframes style_blur__xaWYq{0%{backdrop-filter:blur(0)}to{backdrop-filter:blur(4px)}}'),module.exports={cAnnotationsList:"style_cAnnotationsList__D1C25",blur:"style_blur__xaWYq",cAnnotationsListOpen:"style_cAnnotationsListOpen__M5Q27",cAnnotationsListOpenNative:"style_cAnnotationsListOpenNative__DcsYt",cAnnotationsListContentContainer:"style_cAnnotationsListContentContainer__rjA2-",cAnnotationsListActions:"style_cAnnotationsListActions__tV8tG",cAnnotationsListContentTopIcon:"style_cAnnotationsListContentTopIcon__9YAzy"};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@babel/runtime/helpers/defineProperty"),t=require("@material-ui/core"),r=require("classnames"),i=require("@material-ui/icons/Sort"),n=require("../AppSideBar/AppSideBar.js"),a=require("../AppSettingsPopover/AppSettingsPopover.js"),o=require("../../Button/index.js"),s=require("../../../effects/useMatchAppContainerSize.js"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@babel/runtime/helpers/defineProperty"),t=require("@material-ui/core"),r=require("classnames"),i=require("@material-ui/icons/Sort"),n=require("../AppSideBar/AppSideBar.js"),a=require("../AppSettingsPopover/AppSettingsPopover.js"),o=require("../../Button/index.js"),s=require("../../../effects/useMatchAppContainerSize.js"),p=require("../../../utils/mobileDetect.js"),c=require("react/jsx-runtime");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var d=l(e),u=l(r),f=l(i);function h(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,i)}return r}function j(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?h(Object(r),!0).forEach((function(t){d.default(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var g=p.isNativeDetected||p.isMobileDetected,x=t.makeStyles({appLayout:{display:"flex",flexDirection:"column",width:"100%",height:"100%"},header:{paddingLeft:12,paddingRight:12,display:"flex",height:36},contentWrapper:{display:"flex",position:"relative",flexGrow:1,height:"calc(100% - 36px)","@media (max-width: 960px)":{height:"100%"}},content:{display:"flex",flexDirection:"column",textAlign:"center",alignItems:"center",justifyContent:"center",height:"100%",width:"100%"},popoverContent:{padding:"0 16px"}});exports.AppFilterPanelLayout=function(e){var r=e.classes,i=void 0===r?{}:r,p=e.sideBarProps,l=e.sideBarContent,d=e.appSettingsPopoverProps,h=e.header,y=e.children,m=x(),v=t.useTheme(),b=s.useMatchAppContainerSize({width:{max:v.breakpoints.width("md")}}),O=g||b;return c.jsxs("div",{className:u.default(m.appLayout,i.appLayout),children:[O&&c.jsxs("div",{className:u.default(m.header,i.header),children:[c.jsx(a,j(j({Trigger:function(e){return c.jsx(o,j(j({startIcon:c.jsx(f.default,{})},e),{},{children:"Filters"}))},classes:{popoverContent:m.popoverContent},header:"Filters",anchorOrigin:{vertical:"top",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"},modalType:"filters"},d),{},{children:l})),h]}),c.jsxs("div",{className:u.default(m.contentWrapper,i.contentWrapper),children:[!O&&c.jsx(n,j(j({},p),{},{anchor:"left",children:l})),c.jsx("div",{className:u.default(m.content,i.content),children:y})]})]})};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require('./../../../ext-esm/tslib/tslib.es6.js'),t=require("react/jsx-runtime"),o=require("react"),a=require("prop-types"),
|
|
1
|
+
"use strict";var e=require('./../../../ext-esm/tslib/tslib.es6.js'),t=require("react/jsx-runtime"),o=require("react"),a=require("prop-types"),n=require("classnames"),i=require("@material-ui/core"),l=require("@material-ui/icons"),r=require("../../../utils/mobileDetect.js"),s=require("../../IconButton/index.js"),d=require("../../Modal/Modal.js"),c=require("../../Button/index.js"),p=require("../../../config/theme/palette.mjs.js");function u(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var g=u(a),m=u(n),h=r.isNativeDetected||r.isMobileDetected,x=function(e){return"filters"===e.modalType?p.background.b5:p.background.b9},f=i.makeStyles((function(e){return{popoverPaper:{marginTop:function(e){return e.isScrollable?0:8},minWidth:286,width:286,overflowY:"hidden",backgroundColor:e.palette.background.b9,maxHeight:function(e){var t=e.maxHeight;return t?t-24:"calc(100% - 24px)"},"&.scrollable":{height:function(e){return e.maxHeight||"100%"}}},popoverHeader:{display:"flex",justifyContent:"space-between",alignItems:"center",height:76,padding:"24px 16px 16px 16px",position:"absolute",left:0,right:0,zIndex:1,"&.scrollable":{background:"linear-gradient(to bottom, ".concat(e.palette.background.b9,", ").concat(e.palette.background.b9," 79%, rgba(65, 65, 65, 0) 100%)")}},headerTitle:{fontSize:20},popoverContentContainer:{marginTop:60,paddingTop:16,overflowX:"hidden",overflowY:"auto","&.scrollable":{height:"calc(100% - 60px)"}},popoverContent:{width:"100%"},shadow:{position:"absolute",bottom:0,width:"100%",height:16,background:"linear-gradient(180deg, rgba(65, 65, 65, 0) 0%, ".concat(e.palette.background.b9," 100%)")},modalRoot:{"& > div:first-child":{backgroundColor:"transparent !important"}},modalContentContainer:{height:r.isNativeDetected?"calc(100% - 16px)":"calc(100% - 126px)",maxHeight:r.isNativeDetected?"calc(100% - 16px)":"calc(100% - 126px)",maxWidth:"calc(100% - 16px)",width:"calc(100% - 16px)",marginTop:r.isNativeDetected?0:118,backgroundColor:x},modalTitle:{padding:"12px 16px",backgroundColor:x,boxShadow:function(e){var t=e.modalType;return"0px 8px 10px ".concat(x({modalType:t})," !important")}},modalContent:{padding:16,flexGrow:1},modalActions:{display:"flex",justifyContent:"flex-end",padding:"8px 16px",zIndex:1,backgroundColor:x,boxShadow:function(e){var t=e.modalType;return"0px -8px 10px ".concat(x({modalType:t}))}}}}));function b(a){var n=a.Trigger,p=a.children,u=a.defaultScrollable,g=a.header,x=a.iconSettingsProps,b=a.maxHeight,v=a.modalActions,C=a.modalProps,_=a.modalType,j=a.onClose,T=a.classes,y=e.__rest(a,["Trigger","children","defaultScrollable","header","iconSettingsProps","maxHeight","modalActions","modalProps","modalType","onClose","classes"]),S=o.useState(null),k=S[0],N=S[1],P=o.useState(!0),w=P[0],H=P[1],q=f({maxHeight:b,isScrollable:w,isNativeDetected:r.isNativeDetected,modalType:_}),D=T||{},z=D.popoverContent,A=e.__rest(D,["popoverContent"]),I=function(){N(null),j()},M=Boolean(k),B=function(e){return N(e.currentTarget)},O=v||t.jsx(c,e.__assign({variation:"secondary",onClick:I},{children:"CLOSE"}));return t.jsxs(t.Fragment,{children:[n?t.jsx(n,{onClick:B}):t.jsx(s,e.__assign({isActive:M,onClick:B,size:"small",tooltipProps:{title:"Settings"},variant:"contained"},x,{children:t.jsx(l.Settings,{})})),!h&&t.jsxs(i.Popover,e.__assign({open:M,anchorEl:k,onClose:I,anchorOrigin:{vertical:w?"top":"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},marginThreshold:12},y,{classes:e.__assign(e.__assign({},A),{paper:m.default(q.popoverPaper,w&&"scrollable",null==A?void 0:A.paper)})},{children:[t.jsxs("div",e.__assign({className:m.default(q.popoverHeader,w&&"scrollable")},{children:[t.jsx("div",e.__assign({className:q.headerTitle},{children:g})),t.jsx(s,e.__assign({tooltipProps:{title:"Close"},onClick:I},{children:t.jsx(l.Close,{})}))]})),t.jsx("div",e.__assign({className:m.default(q.popoverContentContainer,w&&"scrollable"),ref:function(e){e&&e.scrollHeight<=e.clientHeight&&!u&&H(!1)}},{children:t.jsx("div",e.__assign({className:m.default(q.popoverContent,z)},{children:p}))})),t.jsx("div",{className:q.shadow})]})),h&&t.jsx(d,e.__assign({actions:O,actionsClassName:q.modalActions,contentClassName:q.modalContent,contentContainerClassName:q.modalContentContainer,isMobile:!1,isNative:!1,modalTitleClassName:q.modalTitle,onClose:I,open:M,rootClassName:q.modalRoot,stickyFooter:!0,title:g},C,{children:p}))]})}var v={Trigger:g.default.element,iconSettingsProps:g.default.shape({iconSize:g.default.string,tooltipProps:g.default.shape({title:g.default.string})}),defaultScrollable:g.default.bool,maxHeight:g.default.number,header:g.default.string,modalActions:g.default.node,modalProps:g.default.any,modalType:g.default.string,onClose:g.default.func};b.propTypes=v,b.defaultProps={defaultScrollable:!1,header:"Settings",iconSettingsProps:{},maxHeight:null,modalActions:null,modalProps:{},modalType:"",onClose:function(){}},module.exports=b;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("@babel/runtime/helpers/defineProperty"),r=require("@babel/runtime/helpers/slicedToArray"),t=require("react"),u=require("react-dom"),n=require("lodash"),l=require("prop-types"),c=require("classnames"),o=require("@material-ui/core"),i=require("@material-ui/icons"),a=require("mapbox.js"),s=require("../../utils/index.js"),d=require("./OffsetWellMap.module.css.js"),f=require("./effects/usePreviousWells.js"),m=require("./WellTooltip.js"),p=require("./utils.js"),v=require("react/jsx-runtime");function b(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var g=b(e),h=b(r),y=b(u),C=b(l),x=b(c),j=b(a),
|
|
1
|
+
"use strict";var e=require("@babel/runtime/helpers/defineProperty"),r=require("@babel/runtime/helpers/slicedToArray"),t=require("react"),u=require("react-dom"),n=require("lodash"),l=require("prop-types"),c=require("classnames"),o=require("@material-ui/core"),i=require("@material-ui/icons"),a=require("mapbox.js"),s=require("../../utils/index.js"),d=require("./OffsetWellMap.module.css.js"),f=require("./effects/usePreviousWells.js"),m=require("./WellTooltip.js"),p=require("./utils.js"),v=require("react/jsx-runtime");function b(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var g=b(e),h=b(r),y=b(u),C=b(l),x=b(c),j=b(a),k=s.mapbox.isValidCoordinates,q=[29.749907,-95.358421],B=["_renderer","_bounds","min"],T=function(e){var r=e.isViewOnly,u=e.subjectWell,l=e.wells,c=e.offsetWellIds,a=e.radius,s=e.handleChanageOffsetWell,b=e.activeWellId,C=e.isClickable,T=t.useMemo((function(){return u&&n.get(u,"topHole.coordinates")}),[u]),E=t.useMemo((function(){return p.getAllFormations(l)}),[l]),O=t.useRef(),W=t.useRef(),R=t.useRef(),D=t.useRef(),F=t.useRef(null),N=t.useState(!1),L=h.default(N,2),z=L[0],w=L[1],I=t.useRef(),M=t.useRef(),S=(null==u?void 0:u.id)===b,Z=f.usePreviousWells(l),P=t.useState(null),_=h.default(P,2),V=_[0],G=_[1],A=t.useState(3),H=h.default(A,2),U=H[0],J=H[1],K=t.useRef(!0);t.useEffect((function(){O.current=j.default.mapbox.map(O.current,null,{attributionControl:!1,scrollWheelZoom:!1,zoomControl:!1}).setView(q,3).on("zoomend",(function(){return J(O.current.getZoom())})),O.current.doubleClickZoom.disable(),j.default.mapbox.styleLayer("mapbox://styles/mapbox/dark-v9").addTo(O.current)}),[]),t.useEffect((function(){if(O.current){if(W.current&&(O.current.removeLayer(W.current),W.current=null),R.current&&O.current.removeLayer(R.current),!T)return W.current=null,void(R.current=null);a&&(W.current=j.default.circle(T,1609.34*a,{stroke:!1,fill:!0,fillOpacity:.2,fillColor:"#03BCD4",className:"circle_500"}),W.current.addTo(O.current))}}),[a,T]);var Q=function(e,t,u,n,l,c){c&&(e.setStyle({fillColor:"#63EFFF"}),w(!0)),F.current=j.default.circleMarker(t,{radius:c?5:12,stroke:!1,fill:!0,fillOpacity:.24,fillColor:c?"#63EFFF":u,className:"circle_highlight"}),F.current.addEventListener("mouseout",(function(){D.current.removeFrom(O.current),D.current=j.default.featureGroup(I.current),D.current.addTo(O.current),O.current.closePopup(),c&&(e.setStyle({fillColor:"#03BCD4"}),w(!1))})),F.current.addEventListener("click",(function(){r||s(n,!l)}));var o=I.current.concat(F.current);D.current.removeFrom(O.current),D.current=j.default.featureGroup(o),D.current.addTo(O.current)},X=function(e,u,l,c,o){var i=document.createElement("div"),a=t.createElement(m.WellTooltip(),{isViewOnly:r,well:e,color:n.get(E,e.formation,"#BDBDBD"),isOffsetWell:u,isSubjectWell:l,offset:o,isClickable:C});y.default.render(v.jsx(v.Fragment,{children:a}),i),j.default.popup().setLatLng(c).setContent(i).openOn(O.current)};t.useEffect((function(){if(O.current&&l&&c){O.current.closePopup(),D.current&&D.current.removeFrom(O.current);var e=[],r=[],t=[];l.forEach((function(e){e.id!==(null==u?void 0:u.id)&&(c.includes(e.id)?r.push(e):t.push(e))})),[].concat(t,r,[u]).forEach((function(r){var t,l=null==r||null===(t=r.topHole)||void 0===t?void 0:t.coordinates;if(l&&k(l)){var o=(null==u?void 0:u.id)===r.id,i=c.includes(r.id)&&!o,a=o?"#03BCD4":n.get(E,r.formation,"#BDBDBD"),s=i?.7:.3;if(i){var d=j.default.circleMarker(l,{radius:12,stroke:!1,fill:!0,fillColor:a,calssname:"circle_500",fillOpacity:.08});e.push(d)}var f=j.default.circleMarker(l,{radius:5,stroke:!1,fill:!0,fillOpacity:o?1:s,fillColor:a,className:"circle_500"});if(f.addEventListener("mouseover",(function(e){var t=[0,0];V&&n.get(e.target,B)&&(t=[n.get(e.target,B).x-V.x,n.get(e.target,B).y-V.y]),X(r,i,o,l,t),Q(f,l,a,r,i,o)})),o&&(M.current=f),e.push(f),r.id===b&&!S){var m=j.default.circleMarker(l,{radius:12,stroke:!1,fill:!0,fillOpacity:.24,fillColor:a,className:"circle_1200"});e.push(m)}}})),e.length&&(D.current=j.default.featureGroup(e),D.current.addTo(O.current)),I.current=e,setTimeout((function(){W.current&&W.current.bringToBack(),a<3e3&&O.current&&W.current&&l!==Z&&O.current.fitBounds(W.current.getBounds(),{padding:[5,5]})}),500)}}),[u,l,c,V]),t.useEffect((function(){if(z&&n.get(O.current,B)){var e=[n.get(O.current,B).x-V.x,n.get(O.current,B).y-V.y];X(u,!1,!0,T,e)}}),[z,V,u,T]),t.useEffect((function(){if(O.current&&T){R.current&&R.current.removeFrom(O.current);var e=j.default.icon({iconUrl:z||S?"/static/media/5e9c4959259cb12c11b2c5eaf27eb3ad.svg":"/static/media/9efe5882f31d2f22bd57af92069d0a3e.svg",iconSize:z||S?[70,20]:[62,12],iconAnchor:z||S?[35,29]:[31,25],className:"dot"});R.current=j.default.marker(T,{icon:e}),R.current.addTo(O.current),M.current&&(R.current.addEventListener("mouseover",(function(){w(!0),Q(M.current,T,"#03BCD4",u,!0,!0)})),R.current.addEventListener("mouseout",(function(){D.current.removeFrom(O.current),D.current=j.default.featureGroup(I.current),D.current.addTo(O.current),O.current.closePopup(),M.current.setStyle({fillColor:"#03BCD4"}),w(!1)})))}}),[z,T,a,u,S,V]),t.useEffect((function(){a>3e3?O.current.setZoom(1):setTimeout((function(){W.current&&W.current.bringToBack(),u?O.current&&W.current&&a?O.current.fitBounds(W.current.getBounds(),{padding:[5,5]}):T&&K.current&&(K.current=!1,O.current.panTo(T,{duration:1,easeLinearity:.25})):O.current&&D.current&&O.current.fitBounds(D.current.getBounds()),n.get(O.current,B)&&G(n.get(O.current,B))}),500)}),[a,u,T]);var Y=function(){O.current.setZoom(U+1)};return v.jsx("div",{className:d.mapView,children:v.jsx("div",{className:d.mapMain,ref:O,onDoubleClick:Y,children:v.jsxs("div",{className:d.zoomGroup,children:[v.jsx(o.Tooltip,{title:U<18?"Zoom in":"",placement:"left",children:v.jsx("div",{className:x.default(d.zoomButton,g.default({},d.zoomDisabled,18===U)),onClick:Y,children:v.jsx(i.Add,{className:d.zoomInOutIcon})})}),v.jsx(o.Tooltip,{title:U>1?"Zoom out":"",placement:"left",children:v.jsx("div",{className:x.default(d.zoomButton,g.default({},d.zoomDisabled,1===U)),onClick:function(){U>1&&O.current.setZoom(U-1)},children:v.jsx(i.Remove,{className:d.zoomInOutIcon})})})]})})})};T.propTypes={isViewOnly:C.default.bool.isRequired,subjectWell:C.default.shape({id:C.default.number,formation:C.default.string}),wells:C.default.arrayOf(C.default.shape({})).isRequired,offsetWellIds:C.default.arrayOf(C.default.number).isRequired,radius:C.default.number.isRequired,handleChanageOffsetWell:C.default.func.isRequired,activeWellId:C.default.number.isRequired,isClickable:C.default.bool},T.defaultProps={subjectWell:null,isClickable:!0},module.exports=T;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@babel/runtime/helpers/defineProperty"),i=require("../utils.js"),s=require("./abilities.js"),r=require("./settingsApps.js"),t=require("./appsPermissions.js");function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=a(e);function c(e,i){var s=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);i&&(r=r.filter((function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable}))),s.push.apply(s,r)}return s}function o(e){for(var i=1;i<arguments.length;i++){var s=null!=arguments[i]?arguments[i]:{};i%2?c(Object(s),!0).forEach((function(i){n.default(e,i,s[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(s)):c(Object(s)).forEach((function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(s,i))}))}return e}var l=o(o({companySelectorView:i.stringifyPermission({resource_class:"company_selector",ability:s.ABILITIES.view}),userCreate:i.stringifyPermission({resource_class:"User",ability:s.ABILITIES.create}),getUserUpdate:function(e){return i.stringifyPermission({resource_class:"User",ability:s.ABILITIES.update,resource_id:e})},canViewCorvaAppVersion:i.stringifyPermission({resource_class:"corva_app_version",ability:s.ABILITIES.view}),documentationEdit:i.stringifyPermission({resource_class:"Document",ability:s.ABILITIES.edit}),documentationCreate:i.stringifyPermission({resource_class:"Document",ability:s.ABILITIES.create}),documentationDestroy:i.stringifyPermission({resource_class:"Document",ability:s.ABILITIES.destroy}),canUpdateWellQC:i.stringifyPermission({resource_class:"well_qc",ability:s.ABILITIES.update}),getFeedItemDestroy:function(e){return i.stringifyPermission({resource_class:"Activity",ability:s.ABILITIES.destroy,resource_id:e})},getCommentDestroy:function(e){return i.stringifyPermission({resource_class:"Comment",ability:s.ABILITIES.destroy,resource_id:e})},getAlertUpdate:function(e){return i.stringifyPermission({resource_class:"Alert",ability:s.ABILITIES.update,resource_id:e})},getAlertDestroy:function(e){return i.stringifyPermission({resource_class:"Alert",ability:s.ABILITIES.destroy,resource_id:e})},streamVisibilityEdit:i.stringifyPermission({resource_class:"stream",ability:s.ABILITIES.edit}),userImpersonate:i.stringifyPermission({resource_class:"user",ability:s.ABILITIES.impersonate}),getDashboardUpdate:function(e){return i.stringifyPermission({resource_class:"Dashboard",ability:s.ABILITIES.update,resource_id:e})},canCreateDashboard:i.stringifyPermission({resource_class:"Dashboard",ability:s.ABILITIES.create}),canCopyUsers:i.stringifyPermission({resource_class:"Group",ability:s.ABILITIES.copy_users}),canViewDocumentsInfo:i.stringifyPermission({resource_class:"documents_info",ability:s.ABILITIES.view}),canViewCostsInfo:i.stringifyPermission({resource_class:"costs_info",ability:s.ABILITIES.view}),canViewBillingCost:i.stringifyPermission({resource_class:"billing_visualization_cost",ability:s.ABILITIES.view}),canReadBillingInfo:i.stringifyPermission({resource_class:"Usage",ability:s.ABILITIES.read}),canUpdateTiers:i.stringifyPermission({resource_class:"Tier",ability:s.ABILITIES.update}),canReadTiers:i.stringifyPermission({resource_class:"Tier",ability:s.ABILITIES.read}),canCreateTiers:i.stringifyPermission({resource_class:"Tier",ability:s.ABILITIES.create}),canDestroyTiers:i.stringifyPermission({resource_class:"Tier",ability:s.ABILITIES.destroy}),canUpdateProductSubscriptions:i.stringifyPermission({resource_class:"ProductSubscription",ability:s.ABILITIES.update}),canReadProductSubscriptions:i.stringifyPermission({resource_class:"ProductSubscription",ability:s.ABILITIES.read}),canCreateProductSubscriptions:i.stringifyPermission({resource_class:"ProductSubscription",ability:s.ABILITIES.create}),canDestroyProductSubscriptions:i.stringifyPermission({resource_class:"ProductSubscription",ability:s.ABILITIES.destroy}),canViewPurchasesPage:i.stringifyPermission({resource_class:"company_purchase",ability:s.ABILITIES.access}),canReadPermissions:i.stringifyPermission({resource_class:"Permission",ability:s.ABILITIES.read}),canViewUserPermissions:i.stringifyPermission({resource_class:"mng_permissions_user_btn",ability:s.ABILITIES.view}),canViewGroupPermissions:i.stringifyPermission({resource_class:"mng_permissions_group_btn",ability:s.ABILITIES.view}),canShareGroup:i.stringifyPermission({resource_class:"Group",ability:s.ABILITIES.share}),getAppStreamUpdate:function(e){return i.stringifyPermission({resource_class:"AppStream",ability:s.ABILITIES.update,resource_id:e})},canViewAlertValidationFilters:i.stringifyPermission({resource_class:"alert_validation_filters",ability:s.ABILITIES.view}),canViewAlertSubscriptionFilters:i.stringifyPermission({resource_class:"alert_subscription_filters",ability:s.ABILITIES.view}),getCanDestroyAlertDefinition:function(e){return i.stringifyPermission({resource_class:"AlertDefinition",ability:s.ABILITIES.destroy,resource_id:e})},getCanUpdateAlertDefinition:function(e){return i.stringifyPermission({resource_class:"AlertDefinition",ability:s.ABILITIES.update,resource_id:e})},canCreateAlertDashboard:i.stringifyPermission({resource_class:"alert_dashboard",ability:s.ABILITIES.create}),canUpdateAlertDashboard:i.stringifyPermission({resource_class:"alert_dashboard",ability:s.ABILITIES.edit}),canViewAlertCompanyField:i.stringifyPermission({resource_class:"alert_company_field",ability:s.ABILITIES.view}),canViewDashboardSharingCompany:i.stringifyPermission({resource_class:"dashboard_sharing_company",ability:s.ABILITIES.view}),canViewDashboardSharingSharedWith:i.stringifyPermission({resource_class:"dashboard_sharing_shared_with",ability:s.ABILITIES.view}),canViewConfigPage:i.stringifyPermission({resource_class:"config_page",ability:s.ABILITIES.access}),canAccessRequestApp:i.stringifyPermission({resource_class:"request_app",ability:s.ABILITIES.access}),canAccessUserSettingsWidgets:i.stringifyPermission({resource_class:"user_settings_widgets",ability:s.ABILITIES.access}),canViewDevCenter:i.stringifyPermission({resource_class:"dev_center",ability:s.ABILITIES.access}),getCanReadAppPackages:function(e){return i.stringifyPermission({resource_class:"App",ability:"read_packages",resource_id:e})},canViewAppPackageSelector:i.stringifyPermission({resource_class:"app_package_selector",ability:s.ABILITIES.view}),canAccessProvisioning:i.stringifyPermission({resource_class:"provisioning",ability:s.ABILITIES.access}),getCanUpdateAsset:function(e){return i.stringifyPermission({resource_class:"Asset",ability:s.ABILITIES.update,resource_id:e})},getCanUpdateParentAssetAsset:function(e){return i.stringifyPermission({resource_class:"Asset",ability:"update_parent_asset",resource_id:e})},getCanCopyActivities:function(e){return i.stringifyPermission({resource_class:"Asset",ability:s.ABILITIES.copy_activities,resource_id:e})},rigCreate:i.stringifyPermission({ability:s.ABILITIES.create,resource_class:"Rig"}),wellCreate:i.stringifyPermission({ability:s.ABILITIES.create,resource_class:"Well"}),programCreate:i.stringifyPermission({ability:s.ABILITIES.create,resource_class:"Program"}),padCreate:i.stringifyPermission({ability:s.ABILITIES.create,resource_class:"Pad"}),padUpdate:i.stringifyPermission({ability:s.ABILITIES.update,resource_class:"Pad"}),fracFleetCreate:i.stringifyPermission({ability:s.ABILITIES.create,resource_class:"FracFleet"}),drilloutUnitCreate:i.stringifyPermission({ability:s.ABILITIES.create,resource_class:"DrilloutUnit"}),canQCDrillstring:i.stringifyPermission({ability:s.ABILITIES.update,resource_class:"drillstring_qc"}),canCalibrateDrillstring:i.stringifyPermission({ability:s.ABILITIES.update,resource_class:"drillstring_calibration"}),canViewAppOwnersFilter:i.stringifyPermission({ability:s.ABILITIES.view,resource_class:"app_owners_filter"}),canViewSaveOffsetWells:i.stringifyPermission({ability:s.ABILITIES.view,resource_class:"save_offset_wells"}),canViewGenerateDRM:i.stringifyPermission({ability:s.ABILITIES.view,resource_class:"corva.driller_roadmap-generate_drm"})},r),t);exports.ABILITIES=s.ABILITIES,exports.PERMISSIONS=l;
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@babel/runtime/helpers/defineProperty"),i=require("../utils.js"),s=require("./abilities.js"),r=require("./settingsApps.js"),t=require("./appsPermissions.js");function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=a(e);function c(e,i){var s=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);i&&(r=r.filter((function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable}))),s.push.apply(s,r)}return s}function o(e){for(var i=1;i<arguments.length;i++){var s=null!=arguments[i]?arguments[i]:{};i%2?c(Object(s),!0).forEach((function(i){n.default(e,i,s[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(s)):c(Object(s)).forEach((function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(s,i))}))}return e}var l=o(o({companySelectorView:i.stringifyPermission({resource_class:"company_selector",ability:s.ABILITIES.view}),userCreate:i.stringifyPermission({resource_class:"User",ability:s.ABILITIES.create}),getUserUpdate:function(e){return i.stringifyPermission({resource_class:"User",ability:s.ABILITIES.update,resource_id:e})},canViewCorvaAppVersion:i.stringifyPermission({resource_class:"corva_app_version",ability:s.ABILITIES.view}),documentationEdit:i.stringifyPermission({resource_class:"Document",ability:s.ABILITIES.edit}),documentationCreate:i.stringifyPermission({resource_class:"Document",ability:s.ABILITIES.create}),documentationDestroy:i.stringifyPermission({resource_class:"Document",ability:s.ABILITIES.destroy}),canUpdateWellQC:i.stringifyPermission({resource_class:"well_qc",ability:s.ABILITIES.update}),getFeedItemDestroy:function(e){return i.stringifyPermission({resource_class:"Activity",ability:s.ABILITIES.destroy,resource_id:e})},getCommentDestroy:function(e){return i.stringifyPermission({resource_class:"Comment",ability:s.ABILITIES.destroy,resource_id:e})},getAlertUpdate:function(e){return i.stringifyPermission({resource_class:"Alert",ability:s.ABILITIES.update,resource_id:e})},getAlertDestroy:function(e){return i.stringifyPermission({resource_class:"Alert",ability:s.ABILITIES.destroy,resource_id:e})},streamVisibilityEdit:i.stringifyPermission({resource_class:"stream",ability:s.ABILITIES.edit}),userImpersonate:i.stringifyPermission({resource_class:"user",ability:s.ABILITIES.impersonate}),getDashboardUpdate:function(e){return i.stringifyPermission({resource_class:"Dashboard",ability:s.ABILITIES.update,resource_id:e})},canCreateDashboard:i.stringifyPermission({resource_class:"Dashboard",ability:s.ABILITIES.create}),canCopyUsers:i.stringifyPermission({resource_class:"Group",ability:s.ABILITIES.copy_users}),canViewDocumentsInfo:i.stringifyPermission({resource_class:"documents_info",ability:s.ABILITIES.view}),canViewCostsInfo:i.stringifyPermission({resource_class:"costs_info",ability:s.ABILITIES.view}),canViewBillingCost:i.stringifyPermission({resource_class:"billing_visualization_cost",ability:s.ABILITIES.view}),canReadBillingInfo:i.stringifyPermission({resource_class:"Usage",ability:s.ABILITIES.read}),canUpdateTiers:i.stringifyPermission({resource_class:"Tier",ability:s.ABILITIES.update}),canReadTiers:i.stringifyPermission({resource_class:"Tier",ability:s.ABILITIES.read}),canCreateTiers:i.stringifyPermission({resource_class:"Tier",ability:s.ABILITIES.create}),canDestroyTiers:i.stringifyPermission({resource_class:"Tier",ability:s.ABILITIES.destroy}),canUpdateProductSubscriptions:i.stringifyPermission({resource_class:"ProductSubscription",ability:s.ABILITIES.update}),canReadProductSubscriptions:i.stringifyPermission({resource_class:"ProductSubscription",ability:s.ABILITIES.read}),canCreateProductSubscriptions:i.stringifyPermission({resource_class:"ProductSubscription",ability:s.ABILITIES.create}),canDestroyProductSubscriptions:i.stringifyPermission({resource_class:"ProductSubscription",ability:s.ABILITIES.destroy}),canViewPurchasesPage:i.stringifyPermission({resource_class:"company_purchase",ability:s.ABILITIES.access}),canReadPermissions:i.stringifyPermission({resource_class:"Permission",ability:s.ABILITIES.read}),canViewUserPermissions:i.stringifyPermission({resource_class:"mng_permissions_user_btn",ability:s.ABILITIES.view}),canViewGroupPermissions:i.stringifyPermission({resource_class:"mng_permissions_group_btn",ability:s.ABILITIES.view}),canShareGroup:i.stringifyPermission({resource_class:"Group",ability:s.ABILITIES.share}),getAppStreamUpdate:function(e){return i.stringifyPermission({resource_class:"AppStream",ability:s.ABILITIES.update,resource_id:e})},canViewAlertValidationFilters:i.stringifyPermission({resource_class:"alert_validation_filters",ability:s.ABILITIES.view}),canViewAlertSubscriptionFilters:i.stringifyPermission({resource_class:"alert_subscription_filters",ability:s.ABILITIES.view}),getCanDestroyAlertDefinition:function(e){return i.stringifyPermission({resource_class:"AlertDefinition",ability:s.ABILITIES.destroy,resource_id:e})},getCanUpdateAlertDefinition:function(e){return i.stringifyPermission({resource_class:"AlertDefinition",ability:s.ABILITIES.update,resource_id:e})},canCreateAlertDashboard:i.stringifyPermission({resource_class:"alert_dashboard",ability:s.ABILITIES.create}),canUpdateAlertDashboard:i.stringifyPermission({resource_class:"alert_dashboard",ability:s.ABILITIES.edit}),canViewAlertCompanyField:i.stringifyPermission({resource_class:"alert_company_field",ability:s.ABILITIES.view}),canViewDashboardSharingCompany:i.stringifyPermission({resource_class:"dashboard_sharing_company",ability:s.ABILITIES.view}),canViewDashboardSharingSharedWith:i.stringifyPermission({resource_class:"dashboard_sharing_shared_with",ability:s.ABILITIES.view}),canViewConfigPage:i.stringifyPermission({resource_class:"config_page",ability:s.ABILITIES.access}),canAccessRequestApp:i.stringifyPermission({resource_class:"request_app",ability:s.ABILITIES.access}),canAccessUserSettingsWidgets:i.stringifyPermission({resource_class:"user_settings_widgets",ability:s.ABILITIES.access}),canViewDevCenter:i.stringifyPermission({resource_class:"dev_center",ability:s.ABILITIES.access}),getCanReadAppPackages:function(e){return i.stringifyPermission({resource_class:"App",ability:"read_packages",resource_id:e})},canViewAppPackageSelector:i.stringifyPermission({resource_class:"app_package_selector",ability:s.ABILITIES.view}),canAccessProvisioning:i.stringifyPermission({resource_class:"provisioning",ability:s.ABILITIES.access}),getCanUpdateAsset:function(e){return i.stringifyPermission({resource_class:"Asset",ability:s.ABILITIES.update,resource_id:e})},getCanUpdateParentAssetAsset:function(e){return i.stringifyPermission({resource_class:"Asset",ability:"update_parent_asset",resource_id:e})},getCanCopyActivities:function(e){return i.stringifyPermission({resource_class:"Asset",ability:s.ABILITIES.copy_activities,resource_id:e})},rigCreate:i.stringifyPermission({ability:s.ABILITIES.create,resource_class:"Rig"}),wellCreate:i.stringifyPermission({ability:s.ABILITIES.create,resource_class:"Well"}),programCreate:i.stringifyPermission({ability:s.ABILITIES.create,resource_class:"Program"}),padCreate:i.stringifyPermission({ability:s.ABILITIES.create,resource_class:"Pad"}),padUpdate:i.stringifyPermission({ability:s.ABILITIES.update,resource_class:"Pad"}),canManagePadFracFleets:i.stringifyPermission({ability:"manage_frac_fleets",resource_class:"Pad"}),fracFleetCreate:i.stringifyPermission({ability:s.ABILITIES.create,resource_class:"FracFleet"}),drilloutUnitCreate:i.stringifyPermission({ability:s.ABILITIES.create,resource_class:"DrilloutUnit"}),canQCDrillstring:i.stringifyPermission({ability:s.ABILITIES.update,resource_class:"drillstring_qc"}),canCalibrateDrillstring:i.stringifyPermission({ability:s.ABILITIES.update,resource_class:"drillstring_calibration"}),canViewAppOwnersFilter:i.stringifyPermission({ability:s.ABILITIES.view,resource_class:"app_owners_filter"}),canViewSaveOffsetWells:i.stringifyPermission({ability:s.ABILITIES.view,resource_class:"save_offset_wells"}),canViewGenerateDRM:i.stringifyPermission({ability:s.ABILITIES.view,resource_class:"corva.driller_roadmap-generate_drm"})},r),t);exports.ABILITIES=s.ABILITIES,exports.PERMISSIONS=l;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../convert.js"),t=require("./utils.js"),i={label:"Rotary %",key:"drilled_feet_rotary_percentage",to:"%",customConvert:t.convertPercentageMetrics,isBiggestBest:!0},o={label:"Slide %",key:"drilled_feet_slide_percentage",to:"%",customConvert:t.convertPercentageMetrics},n={label:"Drilling %",key:"drilling_percentage",to:"%",customConvert:t.convertPercentageMetrics,isBiggestBest:!0},p={label:"On Bottom %",key:"on_bottom_percentage",to:"%",customConvert:t.convertPercentageMetrics,isBiggestBest:!0},r={label:"Cost/".concat(e.getUnitDescription(e.getUnitPreference("length")).singular),key:"cost_per_ft",customConvert:function(t){return t/e.convertValue(1,"length","ft")}},s={label:"Lateral Cost/".concat(e.getUnitDescription(e.getUnitPreference("length")).singular),key:"cost_per_lat_ft",customConvert:function(t){return t/e.convertValue(1,"length","ft")}};exports.bottom_to_slips_average={label:"Bottom to Slips",key:"bottom_to_slips_average",to:"min",from:"s",unitType:"time"},exports.build_rate={label:"Build Rate",key:"build_rate",unitType:"anglePerLength",from:"dp100f",allowNegativeValue:!0},exports.circulating_time={label:"Circulating Time",key:"circulating_time",unitType:"time",from:"h",to:"h"},exports.cost_per_ft=r,exports.cost_per_lat_ft=s,exports.cumulative_tortuosity={label:"Cumulative Tortuosity",key:"cumulative_tortuosity"},exports.drilled_feet_rotary={label:"Rotary Distance Drilled",key:"drilled_feet_rotary",unitType:"length",from:"ft",isBiggestBest:!0},exports.drilled_feet_rotary_percentage=i,exports.drilled_feet_slide={label:"Slide Distance Drilled",key:"drilled_feet_slide",unitType:"length",from:"ft"},exports.drilled_feet_slide_percentage=o,exports.drilling_connection_average={label:"Slips to Slips",key:"drilling_connection_average",to:"min",unitType:"time",from:"s"},exports.drilling_percentage=n,exports.drilling_time_rotary={label:"Rotary Drilling Time",key:"drilling_time_rotary",to:"h",isBiggestBest:!0},exports.drilling_time_slide={label:"Slide Drilling Time",key:"drilling_time_slide",to:"h"},exports.feet_per_day={label:"Drilled Distance/Day",key:"feet_per_day",unitType:"length",from:"ft",formatUnitDisplay:function(e){return"".concat(e,"/day")},isBiggestBest:!0},exports.gross_time={label:"Gross Time",key:"gross_time",unitType:"time",from:"s",to:"h"},exports.gross_tripping_in_speed={label:"Entire Hole Tripping In Speed (with connection)",key:"gross_tripping_in_speed",unitType:"velocity",from:"ft/h"},exports.gross_tripping_in_speed_cased={label:"Cased Hole Tripping In Speed (with connection)",key:"gross_tripping_in_speed_cased",unitType:"velocity",from:"ft/h"},exports.gross_tripping_in_speed_open={label:"Open Hole Tripping In Speed (with connection)",key:"gross_tripping_in_speed_open",unitType:"velocity",from:"ft/h"},exports.gross_tripping_in_speed_total={label:"Gross Tripping In Speed",key:"gross_tripping_in_speed_total",unitType:"velocity",from:"ft/h"},exports.gross_tripping_out_speed_total={label:"Gross Tripping Out Speed",key:"gross_tripping_out_speed_total",unitType:"velocity",from:"ft/h"},exports.hole_depth={label:"Hole Depth",key:"hole_depth",isBiggestBest:!0,unitType:"length",from:"ft"},exports.hole_depth_change={label:"Total Distance Drilled",key:"hole_depth_change",unitType:"length",from:"ft",isBiggestBest:!0},exports.npt={label:"NPT",key:"npt",unitType:"time",from:"h",to:"h"},exports.on_bottom_percentage=p,exports.on_bottom_time={label:"On Bottom Time",key:"on_bottom_time",to:"h"},exports.pumps_on_to_bottom_average={label:"Pumps on to Bottom",key:"pumps_on_to_bottom_average",to:"min",from:"s",unitType:"time"},exports.rop={label:"On-Bottom ROP",key:"rop",unitType:"velocity",from:"ft/h",isBiggestBest:!0},exports.rop_gross={label:"Gross ROP",key:"rop_gross",unitType:"velocity",from:"ft/h",isBiggestBest:!0},exports.rop_rotary={label:"Rotary ROP",key:"rop_rotary",unitType:"velocity",from:"ft/h",isBiggestBest:!0},exports.rop_slide={label:"Slide ROP",key:"rop_slide",unitType:"velocity",from:"ft/h",isBiggestBest:!0},exports.slips_to_bottom_average={label:"Slips to Bottom",key:"slips_to_bottom_average",to:"min",from:"s",unitType:"time"},exports.slips_to_slips={label:"Casing Slips to Slips",key:"slips_to_slips_average",to:"min",from:"s",unitType:"time"},exports.spud_to_landing_point={label:"Spud to Landing Point",key:"spud_to_landing_point",unitType:"time",from:"h",to:"d"},exports.spud_to_rig_release_time={label:"Spud to Rig Release",key:"spud_to_rig_release_time",unitType:"time",from:"h",to:"d"},exports.spud_to_target={label:"Spud to Target",key:"spud_to_target",unitType:"time",from:"h",to:"d"},exports.spud_to_total_depth_time={label:"Spud to Total Depth",key:"spud_to_total_depth_time",unitType:"time",from:"h",to:"d"},exports.tripping_in_connection_time_cased={label:"Connection Time in Cased Hole",key:"tripping_in_connection_time_cased",to:"min",from:"s",unitType:"time"},exports.tripping_in_speed={label:"Hole Tripping In Speed",key:"tripping_in_speed",unitType:"velocity",from:"ft/h",isBiggestBest:!0},exports.tripping_in_speed_cased={label:"Cased Hole Tripping In Speed",key:"tripping_in_speed_cased",unitType:"velocity",from:"ft/h",isBiggestBest:!0},exports.tripping_in_speed_open={label:"Open Hole Tripping In Speed",key:"tripping_in_speed_open",unitType:"velocity",from:"ft/h",isBiggestBest:!0},exports.tripping_in_time={label:"Casing Tripping In Entire Hole",key:"tripping_in_time",to:"min",from:"s",unitType:"time"},exports.tripping_in_time_cased={label:"Casing Tripping In Cased Hole",key:"tripping_in_time_cased",to:"min",from:"s",unitType:"time"},exports.tripping_in_time_open={label:"Casing Tripping In Open Hole",key:"tripping_in_time_open",to:"min",from:"s",unitType:"time"},exports.tripping_in_time_with_connection={label:"Casing Tripping In Entire Hole + Connection Time in Entire Hole",key:"tripping_in_time_with_connection",to:"min",from:"h",unitType:"time"},exports.tripping_in_time_with_connection_open={label:"Casing Tripping In Open Hole + Connection Time in Open Hole",key:"tripping_in_time_with_connection_open",to:"min",from:"h",unitType:"time"},exports.tripping_out_speed={label:"Hole Tripping Out Speed",key:"tripping_out_speed",unitType:"velocity",from:"ft/h",isBiggestBest:!0},exports.tripping_out_speed_cased={label:"Cased Hole Tripping Out Speed",key:"tripping_out_speed_cased",unitType:"velocity",from:"ft/h",isBiggestBest:!0},exports.tripping_out_speed_open={label:"Open Hole Tripping Out Speed",key:"tripping_out_speed_open",unitType:"velocity",from:"ft/h",isBiggestBest:!0},exports.turn_rate={label:"Turn Rate",key:"turn_rate",unitType:"anglePerLength",from:"dp100f",allowNegativeValue:!0},exports.weight_to_weight_average={label:"Weight to Weight",key:"weight_to_weight_average",to:"min",from:"s",unitType:"time"};
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../convert.js"),t=require("./utils.js"),i={label:"Rotary %",key:"drilled_feet_rotary_percentage",to:"%",customConvert:t.convertPercentageMetrics,isBiggestBest:!0},o={label:"Slide %",key:"drilled_feet_slide_percentage",to:"%",customConvert:t.convertPercentageMetrics},n={label:"Drilling %",key:"drilling_percentage",to:"%",customConvert:t.convertPercentageMetrics,isBiggestBest:!0},p={label:"On Bottom %",key:"on_bottom_percentage",to:"%",customConvert:t.convertPercentageMetrics,isBiggestBest:!0},r={label:"Cost/".concat(e.getUnitDescription(e.getUnitPreference("length")).singular),key:"cost_per_ft",customConvert:function(t){return t/e.convertValue(1,"length","ft")}},s={label:"Lateral Cost/".concat(e.getUnitDescription(e.getUnitPreference("length")).singular),key:"cost_per_lat_ft",customConvert:function(t){return t/e.convertValue(1,"length","ft")}};exports.bottom_to_slips_average={label:"Bottom to Slips",key:"bottom_to_slips_average",to:"min",from:"s",unitType:"time"},exports.build_rate={label:"Build Rate",key:"build_rate",unitType:"anglePerLength",from:"dp100f",allowNegativeValue:!0},exports.circulating_time={label:"Circulating Time",key:"circulating_time",unitType:"time",from:"h",to:"h"},exports.cost_per_ft=r,exports.cost_per_lat_ft=s,exports.cumulative_tortuosity={label:"Cumulative Tortuosity",key:"cumulative_tortuosity"},exports.drilled_feet_rotary={label:"Rotary Distance Drilled",key:"drilled_feet_rotary",unitType:"length",from:"ft",isBiggestBest:!0},exports.drilled_feet_rotary_percentage=i,exports.drilled_feet_slide={label:"Slide Distance Drilled",key:"drilled_feet_slide",unitType:"length",from:"ft"},exports.drilled_feet_slide_percentage=o,exports.drilling_connection_average={label:"Slips to Slips",key:"drilling_connection_average",to:"min",unitType:"time",from:"s"},exports.drilling_percentage=n,exports.drilling_time_rotary={label:"Rotary Drilling Time",key:"drilling_time_rotary",to:"h",isBiggestBest:!0},exports.drilling_time_slide={label:"Slide Drilling Time",key:"drilling_time_slide",to:"h"},exports.feet_per_day={label:"Drilled Distance/Day",key:"feet_per_day",unitType:"length",from:"ft",formatUnitDisplay:function(e){return"".concat(e,"/day")},isBiggestBest:!0},exports.gross_time={label:"Gross Time",key:"gross_time",unitType:"time",from:"s",to:"h"},exports.gross_tripping_in_speed={label:"Entire Hole Tripping In Speed (with connection)",key:"gross_tripping_in_speed",unitType:"velocity",from:"ft/h"},exports.gross_tripping_in_speed_cased={label:"Cased Hole Tripping In Speed (with connection)",key:"gross_tripping_in_speed_cased",unitType:"velocity",from:"ft/h"},exports.gross_tripping_in_speed_open={label:"Open Hole Tripping In Speed (with connection)",key:"gross_tripping_in_speed_open",unitType:"velocity",from:"ft/h"},exports.gross_tripping_in_speed_total={label:"Gross Tripping In Speed",key:"gross_tripping_in_speed_total",unitType:"velocity",from:"ft/h"},exports.gross_tripping_out_speed_total={label:"Gross Tripping Out Speed",key:"gross_tripping_out_speed_total",unitType:"velocity",from:"ft/h"},exports.hole_depth={label:"Hole Depth",key:"hole_depth",isBiggestBest:!0,unitType:"length",from:"ft"},exports.hole_depth_change={label:"Total Distance Drilled",key:"hole_depth_change",unitType:"length",from:"ft",isBiggestBest:!0},exports.npt={label:"NPT",key:"npt",unitType:"time",from:"h",to:"h"},exports.on_bottom_percentage=p,exports.on_bottom_time={label:"On Bottom Time",key:"on_bottom_time",to:"h"},exports.pumps_on_to_bottom_average={label:"Pumps on to Bottom",key:"pumps_on_to_bottom_average",to:"min",from:"s",unitType:"time"},exports.rop={label:"On-Bottom ROP",key:"rop",unitType:"velocity",from:"ft/h",isBiggestBest:!0},exports.rop_gross={label:"Gross ROP",key:"rop_gross",unitType:"velocity",from:"ft/h",isBiggestBest:!0},exports.rop_rotary={label:"Rotary ROP",key:"rop_rotary",unitType:"velocity",from:"ft/h",isBiggestBest:!0},exports.rop_slide={label:"Slide ROP",key:"rop_slide",unitType:"velocity",from:"ft/h",isBiggestBest:!0},exports.slips_to_bottom_average={label:"Slips to Bottom",key:"slips_to_bottom_average",to:"min",from:"s",unitType:"time"},exports.slips_to_slips={label:"Casing Slips to Slips",key:"slips_to_slips_average",to:"min",from:"s",unitType:"time"},exports.spud_to_landing_point={label:"Spud to Landing Point",key:"spud_to_landing_point",unitType:"time",from:"h",to:"d"},exports.spud_to_rig_release_time={label:"Spud to Rig Release",key:"spud_to_rig_release_time",unitType:"time",from:"h",to:"d"},exports.spud_to_target={label:"Spud to Target",key:"spud_to_target",unitType:"time",from:"h",to:"d"},exports.spud_to_total_depth_time={label:"Spud to Total Depth",key:"spud_to_total_depth_time",unitType:"time",from:"h",to:"d"},exports.tripping_connection_count={label:"Tripping Connection Count",key:"tripping_connection_count"},exports.tripping_in_connection_time_cased={label:"Connection Time in Cased Hole",key:"tripping_in_connection_time_cased",to:"min",from:"s",unitType:"time"},exports.tripping_in_speed={label:"Hole Tripping In Speed",key:"tripping_in_speed",unitType:"velocity",from:"ft/h",isBiggestBest:!0},exports.tripping_in_speed_cased={label:"Cased Hole Tripping In Speed",key:"tripping_in_speed_cased",unitType:"velocity",from:"ft/h",isBiggestBest:!0},exports.tripping_in_speed_open={label:"Open Hole Tripping In Speed",key:"tripping_in_speed_open",unitType:"velocity",from:"ft/h",isBiggestBest:!0},exports.tripping_in_time={label:"Casing Tripping In Entire Hole",key:"tripping_in_time",to:"min",from:"s",unitType:"time"},exports.tripping_in_time_cased={label:"Casing Tripping In Cased Hole",key:"tripping_in_time_cased",to:"min",from:"s",unitType:"time"},exports.tripping_in_time_open={label:"Casing Tripping In Open Hole",key:"tripping_in_time_open",to:"min",from:"s",unitType:"time"},exports.tripping_in_time_with_connection={label:"Casing Tripping In Entire Hole + Connection Time in Entire Hole",key:"tripping_in_time_with_connection",to:"min",from:"h",unitType:"time"},exports.tripping_in_time_with_connection_open={label:"Casing Tripping In Open Hole + Connection Time in Open Hole",key:"tripping_in_time_with_connection_open",to:"min",from:"h",unitType:"time"},exports.tripping_out_speed={label:"Hole Tripping Out Speed",key:"tripping_out_speed",unitType:"velocity",from:"ft/h",isBiggestBest:!0},exports.tripping_out_speed_cased={label:"Cased Hole Tripping Out Speed",key:"tripping_out_speed_cased",unitType:"velocity",from:"ft/h",isBiggestBest:!0},exports.tripping_out_speed_open={label:"Open Hole Tripping Out Speed",key:"tripping_out_speed_open",unitType:"velocity",from:"ft/h",isBiggestBest:!0},exports.turn_rate={label:"Turn Rate",key:"turn_rate",unitType:"anglePerLength",from:"dp100f",allowNegativeValue:!0},exports.weight_to_weight_average={label:"Weight to Weight",key:"weight_to_weight_average",to:"min",from:"s",unitType:"time"},exports.weight_to_weight_count={label:"Drilling Stand Count",key:"weight_to_weight_count"};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import t from'./../../../../ext-esm/style-inject/dist/style-inject.es.js';var n={cAnnotationsList:"style_cAnnotationsList__D1C25",cAnnotationsListOpen:"style_cAnnotationsListOpen__M5Q27",cAnnotationsListOpenNative:"style_cAnnotationsListOpenNative__DcsYt",cAnnotationsListContentContainer:"style_cAnnotationsListContentContainer__rjA2-",cAnnotationsListActions:"style_cAnnotationsListActions__tV8tG",cAnnotationsListContentTopIcon:"style_cAnnotationsListContentTopIcon__9YAzy"};t('.style_cAnnotationsList__D1C25{background-color:transparent!important;border-radius:0;display:flex;flex-direction:column;height:100%;left:0;min-width:0;position:absolute;top:0;transition:min-width .3s ease-in-out,width .3s ease-in-out!important;width:0;z-index:
|
|
1
|
+
import t from'./../../../../ext-esm/style-inject/dist/style-inject.es.js';var n={cAnnotationsList:"style_cAnnotationsList__D1C25",blur:"style_blur__xaWYq",cAnnotationsListOpen:"style_cAnnotationsListOpen__M5Q27",cAnnotationsListOpenNative:"style_cAnnotationsListOpenNative__DcsYt",cAnnotationsListContentContainer:"style_cAnnotationsListContentContainer__rjA2-",cAnnotationsListActions:"style_cAnnotationsListActions__tV8tG",cAnnotationsListContentTopIcon:"style_cAnnotationsListContentTopIcon__9YAzy"};t('.style_cAnnotationsList__D1C25{background-color:transparent!important;border-radius:0;display:flex;flex-direction:column;height:100%;left:0;min-width:0;position:absolute;top:0;transition:min-width .3s ease-in-out,width .3s ease-in-out!important;width:0;z-index:1201}.style_cAnnotationsList__D1C25:after{animation:style_blur__xaWYq .5s linear 1;backdrop-filter:blur(4px);background:#161616b0;content:"";height:100%;left:0;position:absolute;top:0;width:100%;z-index:-1}.style_cAnnotationsListOpen__M5Q27{max-width:420px;min-width:340px;width:80%}.style_cAnnotationsListOpenNative__DcsYt{width:100%}.style_cAnnotationsListContentContainer__rjA2-{padding:16px 16px 0}.style_cAnnotationsListActions__tV8tG{margin-top:auto;padding:16px;text-align:right}.style_cAnnotationsListContentTopIcon__9YAzy{height:24px;margin-right:5px;width:24px}@keyframes style_blur__xaWYq{0%{backdrop-filter:blur(0)}to{backdrop-filter:blur(4px)}}');export{n as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppFilterPanelLayout.d.ts","sourceRoot":"","sources":["../../../../src/components/DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AppFilterPanelLayout.d.ts","sourceRoot":"","sources":["../../../../src/components/DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.js"],"names":[],"mappings":"AA+CO;;;;;;;gBAsDN"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"@babel/runtime/helpers/defineProperty";import{makeStyles as t,useTheme as r}from"@material-ui/core";import i from"classnames";import o from"@material-ui/icons/Sort";import n from"../AppSideBar/AppSideBar.js";import
|
|
1
|
+
import e from"@babel/runtime/helpers/defineProperty";import{makeStyles as t,useTheme as r}from"@material-ui/core";import i from"classnames";import o from"@material-ui/icons/Sort";import n from"../AppSideBar/AppSideBar.js";import p from"../AppSettingsPopover/AppSettingsPopover.js";import a from"../../Button/index.js";import{useMatchAppContainerSize as c}from"../../../effects/useMatchAppContainerSize.js";import{isNativeDetected as s,isMobileDetected as l}from"../../../utils/mobileDetect.js";import{jsxs as d,jsx as m}from"react/jsx-runtime";function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,i)}return r}function h(t){for(var r=1;r<arguments.length;r++){var i=null!=arguments[r]?arguments[r]:{};r%2?f(Object(i),!0).forEach((function(r){e(t,r,i[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):f(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var u=s||l,g=t({appLayout:{display:"flex",flexDirection:"column",width:"100%",height:"100%"},header:{paddingLeft:12,paddingRight:12,display:"flex",height:36},contentWrapper:{display:"flex",position:"relative",flexGrow:1,height:"calc(100% - 36px)","@media (max-width: 960px)":{height:"100%"}},content:{display:"flex",flexDirection:"column",textAlign:"center",alignItems:"center",justifyContent:"center",height:"100%",width:"100%"},popoverContent:{padding:"0 16px"}}),y=function(e){var t=e.classes,s=void 0===t?{}:t,l=e.sideBarProps,f=e.sideBarContent,y=e.appSettingsPopoverProps,v=e.header,O=e.children,b=g(),j=r(),x=c({width:{max:j.breakpoints.width("md")}}),P=u||x;return d("div",{className:i(b.appLayout,s.appLayout),children:[P&&d("div",{className:i(b.header,s.header),children:[m(p,h(h({Trigger:function(e){return m(a,h(h({startIcon:m(o,{})},e),{},{children:"Filters"}))},classes:{popoverContent:b.popoverContent},header:"Filters",anchorOrigin:{vertical:"top",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"},modalType:"filters"},y),{},{children:f})),v]}),d("div",{className:i(b.contentWrapper,s.contentWrapper),children:[!P&&m(n,h(h({},l),{},{anchor:"left",children:f})),m("div",{className:i(b.content,s.content),children:O})]})]})};export{y as AppFilterPanelLayout};
|
|
@@ -2,8 +2,11 @@
|
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import { PopoverProps } from '@material-ui/core';
|
|
4
4
|
interface AppSettingsPopoverProps extends Omit<PopoverProps, 'onClose'>, PropTypes.InferProps<typeof appSettingsPopoverPropTypes> {
|
|
5
|
+
classes: PopoverProps['classes'] & {
|
|
6
|
+
popoverContent?: string;
|
|
7
|
+
};
|
|
5
8
|
}
|
|
6
|
-
declare function AppSettingsPopover({ Trigger, children, defaultScrollable, header, iconSettingsProps, maxHeight, modalActions, modalProps, modalType, onClose, ...popoverProps }: AppSettingsPopoverProps): JSX.Element;
|
|
9
|
+
declare function AppSettingsPopover({ Trigger, children, defaultScrollable, header, iconSettingsProps, maxHeight, modalActions, modalProps, modalType, onClose, classes, ...popoverProps }: AppSettingsPopoverProps): JSX.Element;
|
|
7
10
|
declare namespace AppSettingsPopover {
|
|
8
11
|
var propTypes: {
|
|
9
12
|
Trigger: PropTypes.Requireable<PropTypes.ReactElementLike>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppSettingsPopover.d.ts","sourceRoot":"","sources":["../../../../src/components/DevCenter/AppSettingsPopover/AppSettingsPopover.tsx"],"names":[],"mappings":";AACA,OAAO,SAAS,MAAM,YAAY,CAAC;AAGnC,OAAO,EAAc,YAAY,EAAW,MAAM,mBAAmB,CAAC;AAqGtE,UAAU,uBACR,SAAQ,IAAI,CAAC,YAAY,EAAE,SAAS,CAAC,EACnC,SAAS,CAAC,UAAU,CAAC,OAAO,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"AppSettingsPopover.d.ts","sourceRoot":"","sources":["../../../../src/components/DevCenter/AppSettingsPopover/AppSettingsPopover.tsx"],"names":[],"mappings":";AACA,OAAO,SAAS,MAAM,YAAY,CAAC;AAGnC,OAAO,EAAc,YAAY,EAAW,MAAM,mBAAmB,CAAC;AAqGtE,UAAU,uBACR,SAAQ,IAAI,CAAC,YAAY,EAAE,SAAS,CAAC,EACnC,SAAS,CAAC,UAAU,CAAC,OAAO,2BAA2B,CAAC;IAC1D,OAAO,EAAE,YAAY,CAAC,SAAS,CAAC,GAAG;QACjC,cAAc,CAAC,EAAE,MAAM,CAAC;KACzB,CAAC;CACH;AAED,iBAAS,kBAAkB,CAAC,EAC1B,OAAO,EACP,QAAQ,EACR,iBAAiB,EACjB,MAAM,EACN,iBAAiB,EACjB,SAAS,EACT,YAAY,EACZ,UAAU,EACV,SAAS,EACT,OAAO,EACP,OAAO,EACP,GAAG,YAAY,EAChB,EAAE,uBAAuB,GAAG,GAAG,CAAC,OAAO,CA2GvC;kBAxHQ,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0H3B,QAAA,MAAM,2BAA2B;;;;;;;;;;;;;;;CAahC,CAAC;AAeF,eAAe,kBAAkB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__rest as o,__assign as e}from'./../../../ext-esm/tslib/tslib.es6.js';import{jsx as t,jsxs as
|
|
1
|
+
import{__rest as o,__assign as e}from'./../../../ext-esm/tslib/tslib.es6.js';import{jsx as t,jsxs as n,Fragment as a}from"react/jsx-runtime";import{useState as r}from"react";import l from"prop-types";import i from"classnames";import{makeStyles as c,Popover as s}from"@material-ui/core";import{Settings as p,Close as d}from"@material-ui/icons";import{isNativeDetected as m,isMobileDetected as g}from"../../../utils/mobileDetect.js";import h from"../../IconButton/index.js";import u from"../../Modal/Modal.js";import b from"../../Button/index.js";import f from"../../../config/theme/palette.mjs.js";var x=m||g,C=function(o){return"filters"===o.modalType?f.background.b5:f.background.b9},v=c((function(o){return{popoverPaper:{marginTop:function(o){return o.isScrollable?0:8},minWidth:286,width:286,overflowY:"hidden",backgroundColor:o.palette.background.b9,maxHeight:function(o){var e=o.maxHeight;return e?e-24:"calc(100% - 24px)"},"&.scrollable":{height:function(o){return o.maxHeight||"100%"}}},popoverHeader:{display:"flex",justifyContent:"space-between",alignItems:"center",height:76,padding:"24px 16px 16px 16px",position:"absolute",left:0,right:0,zIndex:1,"&.scrollable":{background:"linear-gradient(to bottom, ".concat(o.palette.background.b9,", ").concat(o.palette.background.b9," 79%, rgba(65, 65, 65, 0) 100%)")}},headerTitle:{fontSize:20},popoverContentContainer:{marginTop:60,paddingTop:16,overflowX:"hidden",overflowY:"auto","&.scrollable":{height:"calc(100% - 60px)"}},popoverContent:{width:"100%"},shadow:{position:"absolute",bottom:0,width:"100%",height:16,background:"linear-gradient(180deg, rgba(65, 65, 65, 0) 0%, ".concat(o.palette.background.b9," 100%)")},modalRoot:{"& > div:first-child":{backgroundColor:"transparent !important"}},modalContentContainer:{height:m?"calc(100% - 16px)":"calc(100% - 126px)",maxHeight:m?"calc(100% - 16px)":"calc(100% - 126px)",maxWidth:"calc(100% - 16px)",width:"calc(100% - 16px)",marginTop:m?0:118,backgroundColor:C},modalTitle:{padding:"12px 16px",backgroundColor:C,boxShadow:function(o){var e=o.modalType;return"0px 8px 10px ".concat(C({modalType:e})," !important")}},modalContent:{padding:16,flexGrow:1},modalActions:{display:"flex",justifyContent:"flex-end",padding:"8px 16px",zIndex:1,backgroundColor:C,boxShadow:function(o){var e=o.modalType;return"0px -8px 10px ".concat(C({modalType:e}))}}}}));function T(l){var c=l.Trigger,g=l.children,f=l.defaultScrollable,C=l.header,T=l.iconSettingsProps,y=l.maxHeight,k=l.modalActions,S=l.modalProps,P=l.modalType,w=l.onClose,H=l.classes,N=o(l,["Trigger","children","defaultScrollable","header","iconSettingsProps","maxHeight","modalActions","modalProps","modalType","onClose","classes"]),j=r(null),z=j[0],A=j[1],I=r(!0),B=I[0],M=I[1],O=v({maxHeight:y,isScrollable:B,isNativeDetected:m,modalType:P}),D=H||{},E=D.popoverContent,R=o(D,["popoverContent"]),W=function(){A(null),w()},Y=Boolean(z),F=function(o){return A(o.currentTarget)},G=k||t(b,e({variation:"secondary",onClick:W},{children:"CLOSE"}));return n(a,{children:[c?t(c,{onClick:F}):t(h,e({isActive:Y,onClick:F,size:"small",tooltipProps:{title:"Settings"},variant:"contained"},T,{children:t(p,{})})),!x&&n(s,e({open:Y,anchorEl:z,onClose:W,anchorOrigin:{vertical:B?"top":"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},marginThreshold:12},N,{classes:e(e({},R),{paper:i(O.popoverPaper,B&&"scrollable",null==R?void 0:R.paper)})},{children:[n("div",e({className:i(O.popoverHeader,B&&"scrollable")},{children:[t("div",e({className:O.headerTitle},{children:C})),t(h,e({tooltipProps:{title:"Close"},onClick:W},{children:t(d,{})}))]})),t("div",e({className:i(O.popoverContentContainer,B&&"scrollable"),ref:function(o){o&&o.scrollHeight<=o.clientHeight&&!f&&M(!1)}},{children:t("div",e({className:i(O.popoverContent,E)},{children:g}))})),t("div",{className:O.shadow})]})),x&&t(u,e({actions:G,actionsClassName:O.modalActions,contentClassName:O.modalContent,contentContainerClassName:O.modalContentContainer,isMobile:!1,isNative:!1,modalTitleClassName:O.modalTitle,onClose:W,open:Y,rootClassName:O.modalRoot,stickyFooter:!0,title:C},S,{children:g}))]})}var y={Trigger:l.element,iconSettingsProps:l.shape({iconSize:l.string,tooltipProps:l.shape({title:l.string})}),defaultScrollable:l.bool,maxHeight:l.number,header:l.string,modalActions:l.node,modalProps:l.any,modalType:l.string,onClose:l.func};T.propTypes=y,T.defaultProps={defaultScrollable:!1,header:"Settings",iconSettingsProps:{},maxHeight:null,modalActions:null,modalProps:{},modalType:"",onClose:function(){}};export{T as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OffsetWellMap.d.ts","sourceRoot":"","sources":["../../../src/components/OffsetWellMap/OffsetWellMap.js"],"names":[],"mappings":";AAgCA;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"OffsetWellMap.d.ts","sourceRoot":"","sources":["../../../src/components/OffsetWellMap/OffsetWellMap.js"],"names":[],"mappings":";AAgCA;;;;;;;;;gBAgYC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import r from"@babel/runtime/helpers/defineProperty";import e from"@babel/runtime/helpers/slicedToArray";import{useMemo as t,useRef as n,useState as o,useEffect as c,createElement as i}from"react";import u from"react-dom";import{get as l}from"lodash";import a from"prop-types";import s from"classnames";import{Tooltip as d}from"@material-ui/core";import{Add as m,Remove as f}from"@material-ui/icons";import p from"mapbox.js";import{mapbox as v}from"../../utils/index.js";import b from"./OffsetWellMap.module.css.js";import{usePreviousWells as h}from"./effects/usePreviousWells.js";import{WellTooltip as y}from"./WellTooltip.js";import{getAllFormations as C}from"./utils.js";import{jsx as k,jsxs as B,Fragment as g}from"react/jsx-runtime";var O=v.isValidCoordinates,
|
|
1
|
+
import r from"@babel/runtime/helpers/defineProperty";import e from"@babel/runtime/helpers/slicedToArray";import{useMemo as t,useRef as n,useState as o,useEffect as c,createElement as i}from"react";import u from"react-dom";import{get as l}from"lodash";import a from"prop-types";import s from"classnames";import{Tooltip as d}from"@material-ui/core";import{Add as m,Remove as f}from"@material-ui/icons";import p from"mapbox.js";import{mapbox as v}from"../../utils/index.js";import b from"./OffsetWellMap.module.css.js";import{usePreviousWells as h}from"./effects/usePreviousWells.js";import{WellTooltip as y}from"./WellTooltip.js";import{getAllFormations as C}from"./utils.js";import{jsx as k,jsxs as B,Fragment as g}from"react/jsx-runtime";var O=v.isValidCoordinates,T=[29.749907,-95.358421],W=["_renderer","_bounds","min"],D=function(a){var v=a.isViewOnly,D=a.subjectWell,x=a.wells,N=a.offsetWellIds,j=a.radius,F=a.handleChanageOffsetWell,L=a.activeWellId,z=a.isClickable,E=t((function(){return D&&l(D,"topHole.coordinates")}),[D]),w=t((function(){return C(x)}),[x]),I=n(),Z=n(),_=n(),q=n(),M=n(null),P=o(!1),R=e(P,2),V=R[0],G=R[1],S=n(),A=n(),H=(null==D?void 0:D.id)===L,U=h(x),J=o(null),K=e(J,2),Q=K[0],X=K[1],Y=o(3),$=e(Y,2),rr=$[0],er=$[1],tr=n(!0);c((function(){I.current=p.mapbox.map(I.current,null,{attributionControl:!1,scrollWheelZoom:!1,zoomControl:!1}).setView(T,3).on("zoomend",(function(){return er(I.current.getZoom())})),I.current.doubleClickZoom.disable(),p.mapbox.styleLayer("mapbox://styles/mapbox/dark-v9").addTo(I.current)}),[]),c((function(){if(I.current){if(Z.current&&(I.current.removeLayer(Z.current),Z.current=null),_.current&&I.current.removeLayer(_.current),!E)return Z.current=null,void(_.current=null);j&&(Z.current=p.circle(E,1609.34*j,{stroke:!1,fill:!0,fillOpacity:.2,fillColor:"#03BCD4",className:"circle_500"}),Z.current.addTo(I.current))}}),[j,E]);var nr=function(r,e,t,n,o,c){c&&(r.setStyle({fillColor:"#63EFFF"}),G(!0)),M.current=p.circleMarker(e,{radius:c?5:12,stroke:!1,fill:!0,fillOpacity:.24,fillColor:c?"#63EFFF":t,className:"circle_highlight"}),M.current.addEventListener("mouseout",(function(){q.current.removeFrom(I.current),q.current=p.featureGroup(S.current),q.current.addTo(I.current),I.current.closePopup(),c&&(r.setStyle({fillColor:"#03BCD4"}),G(!1))})),M.current.addEventListener("click",(function(){v||F(n,!o)}));var i=S.current.concat(M.current);q.current.removeFrom(I.current),q.current=p.featureGroup(i),q.current.addTo(I.current)},or=function(r,e,t,n,o){var c=document.createElement("div"),a=i(y(),{isViewOnly:v,well:r,color:l(w,r.formation,"#BDBDBD"),isOffsetWell:e,isSubjectWell:t,offset:o,isClickable:z});u.render(k(g,{children:a}),c),p.popup().setLatLng(n).setContent(c).openOn(I.current)};c((function(){if(I.current&&x&&N){I.current.closePopup(),q.current&&q.current.removeFrom(I.current);var r=[],e=[],t=[];x.forEach((function(r){r.id!==(null==D?void 0:D.id)&&(N.includes(r.id)?e.push(r):t.push(r))})),[].concat(t,e,[D]).forEach((function(e){var t,n=null==e||null===(t=e.topHole)||void 0===t?void 0:t.coordinates;if(n&&O(n)){var o=(null==D?void 0:D.id)===e.id,c=N.includes(e.id)&&!o,i=o?"#03BCD4":l(w,e.formation,"#BDBDBD"),u=c?.7:.3;if(c){var a=p.circleMarker(n,{radius:12,stroke:!1,fill:!0,fillColor:i,calssname:"circle_500",fillOpacity:.08});r.push(a)}var s=p.circleMarker(n,{radius:5,stroke:!1,fill:!0,fillOpacity:o?1:u,fillColor:i,className:"circle_500"});if(s.addEventListener("mouseover",(function(r){var t=[0,0];Q&&l(r.target,W)&&(t=[l(r.target,W).x-Q.x,l(r.target,W).y-Q.y]),or(e,c,o,n,t),nr(s,n,i,e,c,o)})),o&&(A.current=s),r.push(s),e.id===L&&!H){var d=p.circleMarker(n,{radius:12,stroke:!1,fill:!0,fillOpacity:.24,fillColor:i,className:"circle_1200"});r.push(d)}}})),r.length&&(q.current=p.featureGroup(r),q.current.addTo(I.current)),S.current=r,setTimeout((function(){Z.current&&Z.current.bringToBack(),j<3e3&&I.current&&Z.current&&x!==U&&I.current.fitBounds(Z.current.getBounds(),{padding:[5,5]})}),500)}}),[D,x,N,Q]),c((function(){if(V&&l(I.current,W)){var r=[l(I.current,W).x-Q.x,l(I.current,W).y-Q.y];or(D,!1,!0,E,r)}}),[V,Q,D,E]),c((function(){if(I.current&&E){_.current&&_.current.removeFrom(I.current);var r=p.icon({iconUrl:V||H?"/static/media/5e9c4959259cb12c11b2c5eaf27eb3ad.svg":"/static/media/9efe5882f31d2f22bd57af92069d0a3e.svg",iconSize:V||H?[70,20]:[62,12],iconAnchor:V||H?[35,29]:[31,25],className:"dot"});_.current=p.marker(E,{icon:r}),_.current.addTo(I.current),A.current&&(_.current.addEventListener("mouseover",(function(){G(!0),nr(A.current,E,"#03BCD4",D,!0,!0)})),_.current.addEventListener("mouseout",(function(){q.current.removeFrom(I.current),q.current=p.featureGroup(S.current),q.current.addTo(I.current),I.current.closePopup(),A.current.setStyle({fillColor:"#03BCD4"}),G(!1)})))}}),[V,E,j,D,H,Q]),c((function(){j>3e3?I.current.setZoom(1):setTimeout((function(){Z.current&&Z.current.bringToBack(),D?I.current&&Z.current&&j?I.current.fitBounds(Z.current.getBounds(),{padding:[5,5]}):E&&tr.current&&(tr.current=!1,I.current.panTo(E,{duration:1,easeLinearity:.25})):I.current&&q.current&&I.current.fitBounds(q.current.getBounds()),l(I.current,W)&&X(l(I.current,W))}),500)}),[j,D,E]);var cr=function(){I.current.setZoom(rr+1)};return k("div",{className:b.mapView,children:k("div",{className:b.mapMain,ref:I,onDoubleClick:cr,children:B("div",{className:b.zoomGroup,children:[k(d,{title:rr<18?"Zoom in":"",placement:"left",children:k("div",{className:s(b.zoomButton,r({},b.zoomDisabled,18===rr)),onClick:cr,children:k(m,{className:b.zoomInOutIcon})})}),k(d,{title:rr>1?"Zoom out":"",placement:"left",children:k("div",{className:s(b.zoomButton,r({},b.zoomDisabled,1===rr)),onClick:function(){rr>1&&I.current.setZoom(rr-1)},children:k(f,{className:b.zoomInOutIcon})})})]})})})};D.propTypes={isViewOnly:a.bool.isRequired,subjectWell:a.shape({id:a.number,formation:a.string}),wells:a.arrayOf(a.shape({})).isRequired,offsetWellIds:a.arrayOf(a.number).isRequired,radius:a.number.isRequired,handleChanageOffsetWell:a.func.isRequired,activeWellId:a.number.isRequired,isClickable:a.bool},D.defaultProps={subjectWell:null,isClickable:!0};export{D as default};
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/permissions/constants/index.js"],"names":[],"mappings":";AAOA
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/permissions/constants/index.js"],"names":[],"mappings":";AAOA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4SE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"@babel/runtime/helpers/defineProperty";import{stringifyPermission as r}from"../utils.js";import{ABILITIES as s}from"./abilities.js";export{ABILITIES}from"./abilities.js";import
|
|
1
|
+
import e from"@babel/runtime/helpers/defineProperty";import{stringifyPermission as r}from"../utils.js";import{ABILITIES as s}from"./abilities.js";export{ABILITIES}from"./abilities.js";import a from"./settingsApps.js";import i from"./appsPermissions.js";function t(e,r){var s=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);r&&(a=a.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),s.push.apply(s,a)}return s}function c(r){for(var s=1;s<arguments.length;s++){var a=null!=arguments[s]?arguments[s]:{};s%2?t(Object(a),!0).forEach((function(s){e(r,s,a[s])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(a)):t(Object(a)).forEach((function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(a,e))}))}return r}var o=c(c({companySelectorView:r({resource_class:"company_selector",ability:s.view}),userCreate:r({resource_class:"User",ability:s.create}),getUserUpdate:function(e){return r({resource_class:"User",ability:s.update,resource_id:e})},canViewCorvaAppVersion:r({resource_class:"corva_app_version",ability:s.view}),documentationEdit:r({resource_class:"Document",ability:s.edit}),documentationCreate:r({resource_class:"Document",ability:s.create}),documentationDestroy:r({resource_class:"Document",ability:s.destroy}),canUpdateWellQC:r({resource_class:"well_qc",ability:s.update}),getFeedItemDestroy:function(e){return r({resource_class:"Activity",ability:s.destroy,resource_id:e})},getCommentDestroy:function(e){return r({resource_class:"Comment",ability:s.destroy,resource_id:e})},getAlertUpdate:function(e){return r({resource_class:"Alert",ability:s.update,resource_id:e})},getAlertDestroy:function(e){return r({resource_class:"Alert",ability:s.destroy,resource_id:e})},streamVisibilityEdit:r({resource_class:"stream",ability:s.edit}),userImpersonate:r({resource_class:"user",ability:s.impersonate}),getDashboardUpdate:function(e){return r({resource_class:"Dashboard",ability:s.update,resource_id:e})},canCreateDashboard:r({resource_class:"Dashboard",ability:s.create}),canCopyUsers:r({resource_class:"Group",ability:s.copy_users}),canViewDocumentsInfo:r({resource_class:"documents_info",ability:s.view}),canViewCostsInfo:r({resource_class:"costs_info",ability:s.view}),canViewBillingCost:r({resource_class:"billing_visualization_cost",ability:s.view}),canReadBillingInfo:r({resource_class:"Usage",ability:s.read}),canUpdateTiers:r({resource_class:"Tier",ability:s.update}),canReadTiers:r({resource_class:"Tier",ability:s.read}),canCreateTiers:r({resource_class:"Tier",ability:s.create}),canDestroyTiers:r({resource_class:"Tier",ability:s.destroy}),canUpdateProductSubscriptions:r({resource_class:"ProductSubscription",ability:s.update}),canReadProductSubscriptions:r({resource_class:"ProductSubscription",ability:s.read}),canCreateProductSubscriptions:r({resource_class:"ProductSubscription",ability:s.create}),canDestroyProductSubscriptions:r({resource_class:"ProductSubscription",ability:s.destroy}),canViewPurchasesPage:r({resource_class:"company_purchase",ability:s.access}),canReadPermissions:r({resource_class:"Permission",ability:s.read}),canViewUserPermissions:r({resource_class:"mng_permissions_user_btn",ability:s.view}),canViewGroupPermissions:r({resource_class:"mng_permissions_group_btn",ability:s.view}),canShareGroup:r({resource_class:"Group",ability:s.share}),getAppStreamUpdate:function(e){return r({resource_class:"AppStream",ability:s.update,resource_id:e})},canViewAlertValidationFilters:r({resource_class:"alert_validation_filters",ability:s.view}),canViewAlertSubscriptionFilters:r({resource_class:"alert_subscription_filters",ability:s.view}),getCanDestroyAlertDefinition:function(e){return r({resource_class:"AlertDefinition",ability:s.destroy,resource_id:e})},getCanUpdateAlertDefinition:function(e){return r({resource_class:"AlertDefinition",ability:s.update,resource_id:e})},canCreateAlertDashboard:r({resource_class:"alert_dashboard",ability:s.create}),canUpdateAlertDashboard:r({resource_class:"alert_dashboard",ability:s.edit}),canViewAlertCompanyField:r({resource_class:"alert_company_field",ability:s.view}),canViewDashboardSharingCompany:r({resource_class:"dashboard_sharing_company",ability:s.view}),canViewDashboardSharingSharedWith:r({resource_class:"dashboard_sharing_shared_with",ability:s.view}),canViewConfigPage:r({resource_class:"config_page",ability:s.access}),canAccessRequestApp:r({resource_class:"request_app",ability:s.access}),canAccessUserSettingsWidgets:r({resource_class:"user_settings_widgets",ability:s.access}),canViewDevCenter:r({resource_class:"dev_center",ability:s.access}),getCanReadAppPackages:function(e){return r({resource_class:"App",ability:"read_packages",resource_id:e})},canViewAppPackageSelector:r({resource_class:"app_package_selector",ability:s.view}),canAccessProvisioning:r({resource_class:"provisioning",ability:s.access}),getCanUpdateAsset:function(e){return r({resource_class:"Asset",ability:s.update,resource_id:e})},getCanUpdateParentAssetAsset:function(e){return r({resource_class:"Asset",ability:"update_parent_asset",resource_id:e})},getCanCopyActivities:function(e){return r({resource_class:"Asset",ability:s.copy_activities,resource_id:e})},rigCreate:r({ability:s.create,resource_class:"Rig"}),wellCreate:r({ability:s.create,resource_class:"Well"}),programCreate:r({ability:s.create,resource_class:"Program"}),padCreate:r({ability:s.create,resource_class:"Pad"}),padUpdate:r({ability:s.update,resource_class:"Pad"}),canManagePadFracFleets:r({ability:"manage_frac_fleets",resource_class:"Pad"}),fracFleetCreate:r({ability:s.create,resource_class:"FracFleet"}),drilloutUnitCreate:r({ability:s.create,resource_class:"DrilloutUnit"}),canQCDrillstring:r({ability:s.update,resource_class:"drillstring_qc"}),canCalibrateDrillstring:r({ability:s.update,resource_class:"drillstring_calibration"}),canViewAppOwnersFilter:r({ability:s.view,resource_class:"app_owners_filter"}),canViewSaveOffsetWells:r({ability:s.view,resource_class:"save_offset_wells"}),canViewGenerateDRM:r({ability:s.view,resource_class:"corva.driller_roadmap-generate_drm"})},a),i);export{o as PERMISSIONS};
|
|
@@ -561,5 +561,17 @@ export namespace cumulative_tortuosity {
|
|
|
561
561
|
const key_50: string;
|
|
562
562
|
export { key_50 as key };
|
|
563
563
|
}
|
|
564
|
+
export namespace weight_to_weight_count {
|
|
565
|
+
const label_51: string;
|
|
566
|
+
export { label_51 as label };
|
|
567
|
+
const key_51: string;
|
|
568
|
+
export { key_51 as key };
|
|
569
|
+
}
|
|
570
|
+
export namespace tripping_connection_count {
|
|
571
|
+
const label_52: string;
|
|
572
|
+
export { label_52 as label };
|
|
573
|
+
const key_52: string;
|
|
574
|
+
export { key_52 as key };
|
|
575
|
+
}
|
|
564
576
|
import { convertPercentageMetrics } from "./utils";
|
|
565
577
|
//# sourceMappingURL=metricsConfig.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{getUnitDescription as e,convertValue as t,getUnitPreference as i}from"../convert.js";import{convertPercentageMetrics as o}from"./utils.js";var n={label:"Hole Depth",key:"hole_depth",isBiggestBest:!0,unitType:"length",from:"ft"},l={label:"Total Distance Drilled",key:"hole_depth_change",unitType:"length",from:"ft",isBiggestBest:!0},p={label:"Rotary Distance Drilled",key:"drilled_feet_rotary",unitType:"length",from:"ft",isBiggestBest:!0},r={label:"Slide Distance Drilled",key:"drilled_feet_slide",unitType:"length",from:"ft"},s={label:"Rotary %",key:"drilled_feet_rotary_percentage",to:"%",customConvert:o,isBiggestBest:!0},a={label:"Slide %",key:"drilled_feet_slide_percentage",to:"%",customConvert:o},g={label:"Drilling %",key:"drilling_percentage",to:"%",customConvert:o,isBiggestBest:!0},_={label:"On-Bottom ROP",key:"rop",unitType:"velocity",from:"ft/h",isBiggestBest:!0},y={label:"Rotary ROP",key:"rop_rotary",unitType:"velocity",from:"ft/h",isBiggestBest:!0},m={label:"Slide ROP",key:"rop_slide",unitType:"velocity",from:"ft/h",isBiggestBest:!0},u={label:"Gross ROP",key:"rop_gross",unitType:"velocity",from:"ft/h",isBiggestBest:!0},d={label:"Drilled Distance/Day",key:"feet_per_day",unitType:"length",from:"ft",formatUnitDisplay:function(e){return"".concat(e,"/day")},isBiggestBest:!0},f={label:"Rotary Drilling Time",key:"drilling_time_rotary",to:"h",isBiggestBest:!0},
|
|
1
|
+
import{getUnitDescription as e,convertValue as t,getUnitPreference as i}from"../convert.js";import{convertPercentageMetrics as o}from"./utils.js";var n={label:"Hole Depth",key:"hole_depth",isBiggestBest:!0,unitType:"length",from:"ft"},l={label:"Total Distance Drilled",key:"hole_depth_change",unitType:"length",from:"ft",isBiggestBest:!0},p={label:"Rotary Distance Drilled",key:"drilled_feet_rotary",unitType:"length",from:"ft",isBiggestBest:!0},r={label:"Slide Distance Drilled",key:"drilled_feet_slide",unitType:"length",from:"ft"},s={label:"Rotary %",key:"drilled_feet_rotary_percentage",to:"%",customConvert:o,isBiggestBest:!0},a={label:"Slide %",key:"drilled_feet_slide_percentage",to:"%",customConvert:o},g={label:"Drilling %",key:"drilling_percentage",to:"%",customConvert:o,isBiggestBest:!0},_={label:"On-Bottom ROP",key:"rop",unitType:"velocity",from:"ft/h",isBiggestBest:!0},y={label:"Rotary ROP",key:"rop_rotary",unitType:"velocity",from:"ft/h",isBiggestBest:!0},m={label:"Slide ROP",key:"rop_slide",unitType:"velocity",from:"ft/h",isBiggestBest:!0},u={label:"Gross ROP",key:"rop_gross",unitType:"velocity",from:"ft/h",isBiggestBest:!0},d={label:"Drilled Distance/Day",key:"feet_per_day",unitType:"length",from:"ft",formatUnitDisplay:function(e){return"".concat(e,"/day")},isBiggestBest:!0},f={label:"Rotary Drilling Time",key:"drilling_time_rotary",to:"h",isBiggestBest:!0},c={label:"Slide Drilling Time",key:"drilling_time_slide",to:"h"},T={label:"On Bottom Time",key:"on_bottom_time",to:"h"},b={label:"On Bottom %",key:"on_bottom_percentage",to:"%",customConvert:o,isBiggestBest:!0},h={label:"Slips to Slips",key:"drilling_connection_average",to:"min",unitType:"time",from:"s"},k={label:"Weight to Weight",key:"weight_to_weight_average",to:"min",from:"s",unitType:"time"},B={label:"Bottom to Slips",key:"bottom_to_slips_average",to:"min",from:"s",unitType:"time"},v={label:"Slips to Bottom",key:"slips_to_bottom_average",to:"min",from:"s",unitType:"time"},C={label:"Pumps on to Bottom",key:"pumps_on_to_bottom_average",to:"min",from:"s",unitType:"time"},S={label:"Hole Tripping In Speed",key:"tripping_in_speed",unitType:"velocity",from:"ft/h",isBiggestBest:!0},H={label:"Hole Tripping Out Speed",key:"tripping_out_speed",unitType:"velocity",from:"ft/h",isBiggestBest:!0},O={label:"Cased Hole Tripping In Speed",key:"tripping_in_speed_cased",unitType:"velocity",from:"ft/h",isBiggestBest:!0},D={label:"Cased Hole Tripping Out Speed",key:"tripping_out_speed_cased",unitType:"velocity",from:"ft/h",isBiggestBest:!0},I={label:"Open Hole Tripping In Speed",key:"tripping_in_speed_open",unitType:"velocity",from:"ft/h",isBiggestBest:!0},R={label:"Open Hole Tripping Out Speed",key:"tripping_out_speed_open",unitType:"velocity",from:"ft/h",isBiggestBest:!0},w={label:"Casing Tripping In Cased Hole",key:"tripping_in_time_cased",to:"min",from:"s",unitType:"time"},P={label:"Casing Tripping In Open Hole",key:"tripping_in_time_open",to:"min",from:"s",unitType:"time"},E={label:"Casing Tripping In Entire Hole",key:"tripping_in_time",to:"min",from:"s",unitType:"time"},G={label:"Connection Time in Cased Hole",key:"tripping_in_connection_time_cased",to:"min",from:"s",unitType:"time"},L={label:"Casing Tripping In Open Hole + Connection Time in Open Hole",key:"tripping_in_time_with_connection_open",to:"min",from:"h",unitType:"time"},N={label:"Casing Tripping In Entire Hole + Connection Time in Entire Hole",key:"tripping_in_time_with_connection",to:"min",from:"h",unitType:"time"},j={label:"Casing Slips to Slips",key:"slips_to_slips_average",to:"min",from:"s",unitType:"time"},V={label:"Cased Hole Tripping In Speed (with connection)",key:"gross_tripping_in_speed_cased",unitType:"velocity",from:"ft/h"},W={label:"Open Hole Tripping In Speed (with connection)",key:"gross_tripping_in_speed_open",unitType:"velocity",from:"ft/h"},x={label:"Entire Hole Tripping In Speed (with connection)",key:"gross_tripping_in_speed",unitType:"velocity",from:"ft/h"},U={label:"Gross Tripping In Speed",key:"gross_tripping_in_speed_total",unitType:"velocity",from:"ft/h"},q={label:"Gross Tripping Out Speed",key:"gross_tripping_out_speed_total",unitType:"velocity",from:"ft/h"},z={label:"Cost/".concat(e(i("length")).singular),key:"cost_per_ft",customConvert:function(e){return e/t(1,"length","ft")}},A={label:"Lateral Cost/".concat(e(i("length")).singular),key:"cost_per_lat_ft",customConvert:function(e){return e/t(1,"length","ft")}},F={label:"NPT",key:"npt",unitType:"time",from:"h",to:"h"},J={label:"Circulating Time",key:"circulating_time",unitType:"time",from:"h",to:"h"},K={label:"Spud to Rig Release",key:"spud_to_rig_release_time",unitType:"time",from:"h",to:"d"},M={label:"Spud to Target",key:"spud_to_target",unitType:"time",from:"h",to:"d"},Q={label:"Spud to Total Depth",key:"spud_to_total_depth_time",unitType:"time",from:"h",to:"d"},X={label:"Spud to Landing Point",key:"spud_to_landing_point",unitType:"time",from:"h",to:"d"},Y={label:"Gross Time",key:"gross_time",unitType:"time",from:"s",to:"h"},Z={label:"Turn Rate",key:"turn_rate",unitType:"anglePerLength",from:"dp100f",allowNegativeValue:!0},$={label:"Build Rate",key:"build_rate",unitType:"anglePerLength",from:"dp100f",allowNegativeValue:!0},ee={label:"Cumulative Tortuosity",key:"cumulative_tortuosity"},te={label:"Drilling Stand Count",key:"weight_to_weight_count"},ie={label:"Tripping Connection Count",key:"tripping_connection_count"};export{B as bottom_to_slips_average,$ as build_rate,J as circulating_time,z as cost_per_ft,A as cost_per_lat_ft,ee as cumulative_tortuosity,p as drilled_feet_rotary,s as drilled_feet_rotary_percentage,r as drilled_feet_slide,a as drilled_feet_slide_percentage,h as drilling_connection_average,g as drilling_percentage,f as drilling_time_rotary,c as drilling_time_slide,d as feet_per_day,Y as gross_time,x as gross_tripping_in_speed,V as gross_tripping_in_speed_cased,W as gross_tripping_in_speed_open,U as gross_tripping_in_speed_total,q as gross_tripping_out_speed_total,n as hole_depth,l as hole_depth_change,F as npt,b as on_bottom_percentage,T as on_bottom_time,C as pumps_on_to_bottom_average,_ as rop,u as rop_gross,y as rop_rotary,m as rop_slide,v as slips_to_bottom_average,j as slips_to_slips,X as spud_to_landing_point,K as spud_to_rig_release_time,M as spud_to_target,Q as spud_to_total_depth_time,ie as tripping_connection_count,G as tripping_in_connection_time_cased,S as tripping_in_speed,O as tripping_in_speed_cased,I as tripping_in_speed_open,E as tripping_in_time,w as tripping_in_time_cased,P as tripping_in_time_open,N as tripping_in_time_with_connection,L as tripping_in_time_with_connection_open,H as tripping_out_speed,D as tripping_out_speed_cased,R as tripping_out_speed_open,Z as turn_rate,k as weight_to_weight_average,te as weight_to_weight_count};
|