@corva/ui 0.45.0-8 → 0.45.0-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- import r from"@babel/runtime/helpers/slicedToArray";import{useRef as e,useState as t,useEffect as n,createElement as o}from"react";import i from"react-dom";import{get as c}from"lodash";import u from"prop-types";import s from"mapbox.js";import{mapbox as l}from"../../../../utils/index.js";import a from"./MapView.module.css.js";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"../../utils/apiCalls.js";import"../../effects/useAdvancedWells.js";import"@babel/runtime/helpers/toConsumableArray";import"@babel/runtime/helpers/defineProperty";import"../../constants.js";import"../../../../constants/goals.js";import"../../../../constants/segment.js";import"../../../../constants/alerts.js";import"../../../../constants/apps.js";import"../../../../constants/drillstring.js";import"../../../../constants/completion.js";import"../../../../constants/notifications.js";import"../../../../constants/feed.js";import"../../../../constants/bha.js";import"@babel/runtime/helpers/typeof";import"moment";import"react-virtualized";import"../../effects/useAssetsData.js";import{usePreviousWells as m}from"../../effects/usePreviousWells.js";import{jsx as d,Fragment as f}from"react/jsx-runtime";var p=l.isValidCoordinates,v=[29.749907,-95.358421],b=function(u){var l,b=u.isViewOnly,h=u.subjectWell,y=u.wells,j=u.offsetWellIds,C=u.radius,g=u.popUpFormatter,B=u.formationColors,T=u.handleChanageOffsetWell,W=u.activeWellId,F=null==h||null===(l=h.topHole)||void 0===l?void 0:l.coordinates,O=e(),k=e(null),D=e(),E=e(),L=e(),w=e(null),q=t(!1),x=r(q,2),R=x[0],N=x[1],V=e(),P=e(),A=h.id===W,G=m(y);n((function(){O.current||(O.current=s.mapbox.map(k.current,null,{attributionControl:!1,scrollWheelZoom:!1,zoomControl:!1}).setView(v,1),s.control.zoom({position:"bottomright"}).addTo(O.current),s.mapbox.styleLayer("mapbox://styles/mapbox/dark-v9").addTo(O.current))}),[]),n((function(){if(O.current){if(D.current&&(O.current.removeLayer(D.current),D.current=null),E.current&&O.current.removeLayer(E.current),!F)return D.current=null,void(E.current=null);C&&(D.current=s.circle(F,1609.34*C,{stroke:!1,fill:!0,fillOpacity:.2,fillColor:"#03BCD4",className:"circle_500"}),D.current.addTo(O.current))}}),[C,F]);var M=function(r,e,t,n,o,i){o&&r.setStyle({fillColor:"#63EFFF"}),i&&N(!0),w.current=s.circleMarker(e,{radius:i?5:12,stroke:!1,fill:!0,fillOpacity:.24,fillColor:o?"#63EFFF":t,className:"circle_highlight"}),w.current.addEventListener("mouseout",(function(){L.current.removeFrom(O.current),L.current=s.featureGroup(V.current),L.current.addTo(O.current),O.current.closePopup(),o&&r.setStyle({fillColor:"#03BCD4"}),i&&N(!1)})),w.current.addEventListener("click",(function(){b||T(n,!(o&&!i))}));var c=V.current.concat(w.current);L.current.removeFrom(O.current),L.current=s.featureGroup(c),L.current.addTo(O.current)},S=function(r,e,t,n){var u=document.createElement("div"),l=o(g,{isViewOnly:b,well:r,color:c(B,r.formation,"#BDBDBD"),isOffsetWell:e,isSubjectWell:t});i.render(d(f,{children:l}),u),s.popup({offset:[0,t?-15:0]}).setLatLng(n).setContent(u).openOn(O.current)};return n((function(){if(O.current&&y&&j){O.current.closePopup(),L.current&&L.current.removeFrom(O.current);var r=[],e=[],t=[];y.forEach((function(r){r.id!==(null==h?void 0:h.id)&&(j.includes(r.id)?e.push(r):t.push(r))})),[].concat(t,e,[h]).forEach((function(e){var t,n=null==e||null===(t=e.topHole)||void 0===t?void 0:t.coordinates;if(n&&p(n)){var o=(null==h?void 0:h.id)===e.id,i=j.includes(e.id)||o,u=i?"#03BCD4":c(B,e.formation,"#BDBDBD"),l=i?1:.3,a=s.circleMarker(n,{radius:5,stroke:!1,fill:!0,fillOpacity:l,fillColor:u,className:"circle_500"});if(a.addEventListener("mouseover",(function(){S(e,i,o,n),M(a,n,u,e,i,o)})),o&&(P.current=a),r.push(a),e.id===W&&!A){var m=s.circleMarker(n,{radius:12,stroke:!1,fill:!0,fillOpacity:.24,fillColor:u,className:"circle_1200"});r.push(m)}}})),r.length&&(L.current=s.featureGroup(r),L.current.addTo(O.current)),V.current=r,setTimeout((function(){D.current&&D.current.bringToBack(),O.current&&D.current&&y!==G&&O.current.fitBounds(D.current.getBounds(),{padding:[5,5]})}),500)}}),[h,y,j]),n((function(){if(O.current&&F){E.current&&E.current.removeFrom(O.current);var r=s.icon({iconUrl:R||A?"/static/media/5e9c4959259cb12c11b2c5eaf27eb3ad.svg":"/static/media/9efe5882f31d2f22bd57af92069d0a3e.svg",iconSize:R||A?[70,20]:[62,12],iconAnchor:R||A?[35,29]:[31,25],className:"dot"});E.current=s.marker(F,{icon:r}),E.current.addTo(O.current),P.current&&(E.current.addEventListener("mouseover",(function(){S(h,!0,!0,F),M(P.current,F,"#03BCD4",h,!0,!0)})),E.current.addEventListener("mouseout",(function(){L.current.removeFrom(O.current),L.current=s.featureGroup(V.current),L.current.addTo(O.current),O.current.closePopup(),P.current.setStyle({fillColor:"#03BCD4"}),N(!1)})))}}),[R,F,C,h,A]),n((function(){setTimeout((function(){D.current&&D.current.bringToBack(),h?O.current&&D.current&&C&&O.current.fitBounds(D.current.getBounds(),{padding:[5,5]}):O.current&&L.current&&O.current.fitBounds(L.current.getBounds())}),500)}),[C,h]),d("div",{className:a.mapView,children:d("div",{className:a.mapMain,ref:k})})};b.propTypes={isViewOnly:u.bool.isRequired,subjectWell:u.shape({id:u.number,formation:u.string}),wells:u.arrayOf(u.shape({})).isRequired,offsetWellIds:u.arrayOf(u.number).isRequired,radius:u.number.isRequired,formationColors:u.shape({}).isRequired,popUpFormatter:u.func.isRequired,handleChanageOffsetWell:u.func.isRequired,activeWellId:u.number.isRequired},b.defaultProps={subjectWell:null};export{b as MapView};
1
+ import r from"@babel/runtime/helpers/slicedToArray";import{useRef as e,useState as t,useEffect as n,createElement as o}from"react";import i from"react-dom";import{get as c}from"lodash";import u from"prop-types";import l from"mapbox.js";import{mapbox as s}from"../../../../utils/index.js";import a from"./MapView.module.css.js";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"../../utils/apiCalls.js";import"../../effects/useAdvancedWells.js";import"@babel/runtime/helpers/toConsumableArray";import"@babel/runtime/helpers/defineProperty";import"../../constants.js";import"../../../../constants/goals.js";import"../../../../constants/segment.js";import"../../../../constants/alerts.js";import"../../../../constants/apps.js";import"../../../../constants/drillstring.js";import"../../../../constants/completion.js";import"../../../../constants/notifications.js";import"../../../../constants/feed.js";import"../../../../constants/bha.js";import"@babel/runtime/helpers/typeof";import"moment";import"react-virtualized";import"../../effects/useAssetsData.js";import{usePreviousWells as m}from"../../effects/usePreviousWells.js";import{jsx as d,Fragment as f}from"react/jsx-runtime";var p=s.isValidCoordinates,v=[29.749907,-95.358421],b=function(u){var s,b=u.isViewOnly,h=u.subjectWell,y=u.wells,j=u.offsetWellIds,C=u.radius,g=u.popUpFormatter,B=u.formationColors,T=u.handleChanageOffsetWell,W=u.activeWellId,F=null==h||null===(s=h.topHole)||void 0===s?void 0:s.coordinates,O=e(),k=e(null),D=e(),E=e(),L=e(),w=e(null),q=t(!1),x=r(q,2),R=x[0],N=x[1],V=e(),P=e(),A=(null==h?void 0:h.id)===W,G=m(y);n((function(){O.current||(O.current=l.mapbox.map(k.current,null,{attributionControl:!1,scrollWheelZoom:!1,zoomControl:!1}).setView(v,1),l.control.zoom({position:"bottomright"}).addTo(O.current),l.mapbox.styleLayer("mapbox://styles/mapbox/dark-v9").addTo(O.current))}),[]),n((function(){if(O.current){if(D.current&&(O.current.removeLayer(D.current),D.current=null),E.current&&O.current.removeLayer(E.current),!F)return D.current=null,void(E.current=null);C&&(D.current=l.circle(F,1609.34*C,{stroke:!1,fill:!0,fillOpacity:.2,fillColor:"#03BCD4",className:"circle_500"}),D.current.addTo(O.current))}}),[C,F]);var M=function(r,e,t,n,o,i){o&&r.setStyle({fillColor:"#63EFFF"}),i&&N(!0),w.current=l.circleMarker(e,{radius:i?5:12,stroke:!1,fill:!0,fillOpacity:.24,fillColor:o?"#63EFFF":t,className:"circle_highlight"}),w.current.addEventListener("mouseout",(function(){L.current.removeFrom(O.current),L.current=l.featureGroup(V.current),L.current.addTo(O.current),O.current.closePopup(),o&&r.setStyle({fillColor:"#03BCD4"}),i&&N(!1)})),w.current.addEventListener("click",(function(){b||T(n,!(o&&!i))}));var c=V.current.concat(w.current);L.current.removeFrom(O.current),L.current=l.featureGroup(c),L.current.addTo(O.current)},S=function(r,e,t,n){var u=document.createElement("div"),s=o(g,{isViewOnly:b,well:r,color:c(B,r.formation,"#BDBDBD"),isOffsetWell:e,isSubjectWell:t});i.render(d(f,{children:s}),u),l.popup({offset:[0,t?-15:0]}).setLatLng(n).setContent(u).openOn(O.current)};return n((function(){if(O.current&&y&&j){O.current.closePopup(),L.current&&L.current.removeFrom(O.current);var r=[],e=[],t=[];y.forEach((function(r){r.id!==(null==h?void 0:h.id)&&(j.includes(r.id)?e.push(r):t.push(r))})),[].concat(t,e,[h]).forEach((function(e){var t,n=null==e||null===(t=e.topHole)||void 0===t?void 0:t.coordinates;if(n&&p(n)){var o=(null==h?void 0:h.id)===e.id,i=j.includes(e.id)||o,u=i?"#03BCD4":c(B,e.formation,"#BDBDBD"),s=i?1:.3,a=l.circleMarker(n,{radius:5,stroke:!1,fill:!0,fillOpacity:s,fillColor:u,className:"circle_500"});if(a.addEventListener("mouseover",(function(){S(e,i,o,n),M(a,n,u,e,i,o)})),o&&(P.current=a),r.push(a),e.id===W&&!A){var m=l.circleMarker(n,{radius:12,stroke:!1,fill:!0,fillOpacity:.24,fillColor:u,className:"circle_1200"});r.push(m)}}})),r.length&&(L.current=l.featureGroup(r),L.current.addTo(O.current)),V.current=r,setTimeout((function(){D.current&&D.current.bringToBack(),O.current&&D.current&&y!==G&&O.current.fitBounds(D.current.getBounds(),{padding:[5,5]})}),500)}}),[h,y,j]),n((function(){if(O.current&&F){E.current&&E.current.removeFrom(O.current);var r=l.icon({iconUrl:R||A?"/static/media/5e9c4959259cb12c11b2c5eaf27eb3ad.svg":"/static/media/9efe5882f31d2f22bd57af92069d0a3e.svg",iconSize:R||A?[70,20]:[62,12],iconAnchor:R||A?[35,29]:[31,25],className:"dot"});E.current=l.marker(F,{icon:r}),E.current.addTo(O.current),P.current&&(E.current.addEventListener("mouseover",(function(){S(h,!0,!0,F),M(P.current,F,"#03BCD4",h,!0,!0)})),E.current.addEventListener("mouseout",(function(){L.current.removeFrom(O.current),L.current=l.featureGroup(V.current),L.current.addTo(O.current),O.current.closePopup(),P.current.setStyle({fillColor:"#03BCD4"}),N(!1)})))}}),[R,F,C,h,A]),n((function(){setTimeout((function(){D.current&&D.current.bringToBack(),h?O.current&&D.current&&C&&O.current.fitBounds(D.current.getBounds(),{padding:[5,5]}):O.current&&L.current&&O.current.fitBounds(L.current.getBounds())}),500)}),[C,h]),d("div",{className:a.mapView,children:d("div",{className:a.mapMain,ref:k})})};b.propTypes={isViewOnly:u.bool.isRequired,subjectWell:u.shape({id:u.number,formation:u.string}),wells:u.arrayOf(u.shape({})).isRequired,offsetWellIds:u.arrayOf(u.number).isRequired,radius:u.number.isRequired,formationColors:u.shape({}).isRequired,popUpFormatter:u.func.isRequired,handleChanageOffsetWell:u.func.isRequired,activeWellId:u.number.isRequired},b.defaultProps={subjectWell:null};export{b as MapView};
@@ -1 +1 @@
1
- import e from'./../../../../ext-esm/style-inject/dist/style-inject.es.js';var l={tableRow:"OffsetWellsTableHead-module_tableRow__Gvgyt",headCell:"OffsetWellsTableHead-module_headCell__hMcRS",wellNameCell:"OffsetWellsTableHead-module_wellNameCell__yllCT",cellDataViewOnly:"OffsetWellsTableHead-module_cellDataViewOnly__dIoPu",nameWrapper:"OffsetWellsTableHead-module_nameWrapper__04GFY",headerLabel:"OffsetWellsTableHead-module_headerLabel__mOgMy",wellNameExpandIcon:"OffsetWellsTableHead-module_wellNameExpandIcon__-7Ioi",hiddenExpandIcon:"OffsetWellsTableHead-module_hiddenExpandIcon__W8MtT",wellNameCollapsed:"OffsetWellsTableHead-module_wellNameCollapsed__rVOqN",settingsHeader:"OffsetWellsTableHead-module_settingsHeader__2bsE7",popperContent:"OffsetWellsTableHead-module_popperContent__Y5aQg",popperButtonWrapper:"OffsetWellsTableHead-module_popperButtonWrapper__LO3RD",popperButton:"OffsetWellsTableHead-module_popperButton__pdIMG"};e(".OffsetWellsTableHead-module_tableRow__Gvgyt{display:flex!important;flex-direction:row!important}.OffsetWellsTableHead-module_headCell__hMcRS{align-items:center!important;background:var(--palette-background-b-9)!important;display:flex!important;height:48px!important;padding:0 12px 0 0!important}.OffsetWellsTableHead-module_wellNameCell__yllCT{align-items:center;display:flex!important;justify-content:space-between;left:0;position:sticky;z-index:9}.OffsetWellsTableHead-module_cellDataViewOnly__dIoPu{padding-left:12px!important}.OffsetWellsTableHead-module_nameWrapper__04GFY{align-items:center;display:flex}.OffsetWellsTableHead-module_headerLabel__mOgMy{color:var(--palette-primary-text-7)!important;display:flex!important;font-size:12px;font-weight:500;justify-content:flex-start!important;letter-spacing:.4px;line-height:14px;user-select:none;width:100%}.OffsetWellsTableHead-module_headerLabel__mOgMy:hover{color:var(--palette-primary-text-1)!important}.OffsetWellsTableHead-module_wellNameExpandIcon__-7Ioi{color:var(--palette-primary-text-6)!important;cursor:pointer;font-size:10px!important;transform:rotate(180deg)}.OffsetWellsTableHead-module_wellNameExpandIcon__-7Ioi:hover{color:var(--palette-primary-text-1)!important}.OffsetWellsTableHead-module_hiddenExpandIcon__W8MtT{display:none!important}.OffsetWellsTableHead-module_wellNameCollapsed__rVOqN{transform:rotate(0deg)}.OffsetWellsTableHead-module_settingsHeader__2bsE7{align-items:center;display:flex;flex:1;justify-content:space-between}.OffsetWellsTableHead-module_popperContent__Y5aQg{display:flex;flex-direction:column;font-size:18px!important;gap:8px;line-height:24px!important}.OffsetWellsTableHead-module_popperButtonWrapper__LO3RD{display:flex;justify-content:flex-end}.OffsetWellsTableHead-module_popperButton__pdIMG{background:hsla(0,0%,100%,.24)!important;color:#fff!important;padding:4px!important;width:71px!important}.OffsetWellsTableHead-module_popperButton__pdIMG:hover{background:hsla(0,0%,100%,.08)!important}");export{l as default};
1
+ import e from'./../../../../ext-esm/style-inject/dist/style-inject.es.js';var l={tableRow:"OffsetWellsTableHead-module_tableRow__Gvgyt",headCell:"OffsetWellsTableHead-module_headCell__hMcRS",wellNameCell:"OffsetWellsTableHead-module_wellNameCell__yllCT",cellDataViewOnly:"OffsetWellsTableHead-module_cellDataViewOnly__dIoPu",nameWrapper:"OffsetWellsTableHead-module_nameWrapper__04GFY",headerLabel:"OffsetWellsTableHead-module_headerLabel__mOgMy",wellNameExpandIcon:"OffsetWellsTableHead-module_wellNameExpandIcon__-7Ioi",hiddenExpandIcon:"OffsetWellsTableHead-module_hiddenExpandIcon__W8MtT",wellNameCollapsed:"OffsetWellsTableHead-module_wellNameCollapsed__rVOqN",settingsHeader:"OffsetWellsTableHead-module_settingsHeader__2bsE7",popperContent:"OffsetWellsTableHead-module_popperContent__Y5aQg",popperButtonWrapper:"OffsetWellsTableHead-module_popperButtonWrapper__LO3RD",popperButton:"OffsetWellsTableHead-module_popperButton__pdIMG"};e(".OffsetWellsTableHead-module_tableRow__Gvgyt{display:flex!important;flex-direction:row!important}.OffsetWellsTableHead-module_headCell__hMcRS{align-items:center!important;background:var(--palette-background-b-9)!important;display:flex!important;height:48px!important;padding:0 12px 0 0!important}.OffsetWellsTableHead-module_wellNameCell__yllCT{align-items:center;display:flex!important;justify-content:space-between;left:0;position:sticky;z-index:9}.OffsetWellsTableHead-module_cellDataViewOnly__dIoPu{padding-left:12px!important}.OffsetWellsTableHead-module_nameWrapper__04GFY{align-items:center;display:flex}.OffsetWellsTableHead-module_headerLabel__mOgMy{color:var(--palette-primary-text-7)!important;display:flex!important;font-size:12px;font-weight:500;justify-content:flex-start!important;letter-spacing:.4px;line-height:14px;user-select:none;white-space:normal;width:100%}.OffsetWellsTableHead-module_headerLabel__mOgMy:hover{color:var(--palette-primary-text-1)!important}.OffsetWellsTableHead-module_wellNameExpandIcon__-7Ioi{color:var(--palette-primary-text-6)!important;cursor:pointer;font-size:10px!important;transform:rotate(180deg)}.OffsetWellsTableHead-module_wellNameExpandIcon__-7Ioi:hover{color:var(--palette-primary-text-1)!important}.OffsetWellsTableHead-module_hiddenExpandIcon__W8MtT{display:none!important}.OffsetWellsTableHead-module_wellNameCollapsed__rVOqN{transform:rotate(0deg)}.OffsetWellsTableHead-module_settingsHeader__2bsE7{align-items:center;display:flex;flex:1;justify-content:space-between}.OffsetWellsTableHead-module_popperContent__Y5aQg{display:flex;flex-direction:column;font-size:18px!important;gap:8px;line-height:24px!important}.OffsetWellsTableHead-module_popperButtonWrapper__LO3RD{display:flex;justify-content:flex-end}.OffsetWellsTableHead-module_popperButton__pdIMG{background:hsla(0,0%,100%,.24)!important;color:#fff!important;padding:4px!important;width:71px!important}.OffsetWellsTableHead-module_popperButton__pdIMG:hover{background:hsla(0,0%,100%,.08)!important}");export{l as default};
@@ -1 +1 @@
1
- import e from'./../../../../ext-esm/style-inject/dist/style-inject.es.js';var l={bodyRow:"OffsetWellsTableRow-module_bodyRow__UqDEw",subjectWellRow:"OffsetWellsTableRow-module_subjectWellRow__x60wK",subjectWellMark:"OffsetWellsTableRow-module_subjectWellMark__S-nvA",bodyCell:"OffsetWellsTableRow-module_bodyCell__B-yWv",cellData:"OffsetWellsTableRow-module_cellData__SNLYB",cellDataViewOnly:"OffsetWellsTableRow-module_cellDataViewOnly__2Fd-1",hoverCell:"OffsetWellsTableRow-module_hoverCell__4wFuk",wellNameCell:"OffsetWellsTableRow-module_wellNameCell__BBEf-",lastCell:"OffsetWellsTableRow-module_lastCell__VEQCi",subjectWellImage:"OffsetWellsTableRow-module_subjectWellImage__IkmRP",status:"OffsetWellsTableRow-module_status__qWj9c",customTooltip:"OffsetWellsTableRow-module_customTooltip__aeWUJ",wellNameCursor:"OffsetWellsTableRow-module_wellNameCursor__BlXVa",wellNamePreWrap:"OffsetWellsTableRow-module_wellNamePreWrap__oXXEB",sectionLength:"OffsetWellsTableRow-module_sectionLength__vxefy"};e(".OffsetWellsTableRow-module_bodyRow__UqDEw{background:var(--palette-background-b-8);display:flex!important;flex-direction:row!important;margin-bottom:4px!important}.OffsetWellsTableRow-module_bodyRow__UqDEw:hover{background:rgba(51,51,51,.6)}.OffsetWellsTableRow-module_subjectWellRow__x60wK{border-color:var(--palette-primary-main)!important}.OffsetWellsTableRow-module_subjectWellMark__S-nvA{left:-1px;position:absolute;top:-1px;z-index:98}.OffsetWellsTableRow-module_bodyCell__B-yWv{align-items:center!important;border-top:1px solid var(--palette-primary-text-9);display:flex!important;height:56px!important;padding:0 12px 0 0!important}.OffsetWellsTableRow-module_cellData__SNLYB{-webkit-line-clamp:2;-webkit-box-orient:vertical;color:var(--palette-primary-text-1);display:-webkit-box;font-size:14px;font-weight:400;line-height:20px;overflow:hidden;overflow-wrap:break-word;white-space:normal}.OffsetWellsTableRow-module_cellDataViewOnly__2Fd-1{padding-left:12px}.OffsetWellsTableRow-module_hoverCell__4wFuk{background:var(--palette-background-b-7)!important}.OffsetWellsTableRow-module_wellNameCell__BBEf-{border-bottom-left-radius:4px;border-left:1px solid var(--palette-primary-text-9);border-top-left-radius:4px;left:0;position:sticky;z-index:2}.OffsetWellsTableRow-module_lastCell__VEQCi{border-bottom-right-radius:4px;border-right:1px solid var(--palette-primary-text-9);border-top-right-radius:4px}.OffsetWellsTableRow-module_subjectWellImage__IkmRP{height:16px;width:16px}.OffsetWellsTableRow-module_status__qWj9c{border-radius:50%;cursor:default;height:8px;width:8px}.OffsetWellsTableRow-module_customTooltip__aeWUJ{opacity:.9!important}.OffsetWellsTableRow-module_wellNameCursor__BlXVa{color:var(--palette-primary-text-1);cursor:default;word-break:break-all}.OffsetWellsTableRow-module_wellNamePreWrap__oXXEB{white-space:pre}.OffsetWellsTableRow-module_sectionLength__vxefy{background:var(--palette-primary-text-9);border-radius:20px;cursor:default;padding:2px 8px}");export{l as default};
1
+ import e from'./../../../../ext-esm/style-inject/dist/style-inject.es.js';var l={bodyRow:"OffsetWellsTableRow-module_bodyRow__UqDEw",bodyCell:"OffsetWellsTableRow-module_bodyCell__B-yWv",subjectWellRow:"OffsetWellsTableRow-module_subjectWellRow__x60wK",subjectWellMark:"OffsetWellsTableRow-module_subjectWellMark__S-nvA",cellData:"OffsetWellsTableRow-module_cellData__SNLYB",cellDataViewOnly:"OffsetWellsTableRow-module_cellDataViewOnly__2Fd-1",hoverCell:"OffsetWellsTableRow-module_hoverCell__4wFuk",wellNameCell:"OffsetWellsTableRow-module_wellNameCell__BBEf-",lastCell:"OffsetWellsTableRow-module_lastCell__VEQCi",subjectWellImage:"OffsetWellsTableRow-module_subjectWellImage__IkmRP",status:"OffsetWellsTableRow-module_status__qWj9c",customTooltip:"OffsetWellsTableRow-module_customTooltip__aeWUJ",wellNameCursor:"OffsetWellsTableRow-module_wellNameCursor__BlXVa",wellNamePreWrap:"OffsetWellsTableRow-module_wellNamePreWrap__oXXEB",sectionLength:"OffsetWellsTableRow-module_sectionLength__vxefy"};e(".OffsetWellsTableRow-module_bodyRow__UqDEw{display:flex!important;flex-direction:row!important;margin-bottom:4px!important}.OffsetWellsTableRow-module_bodyRow__UqDEw:hover .OffsetWellsTableRow-module_bodyCell__B-yWv{background:#393939}.OffsetWellsTableRow-module_subjectWellRow__x60wK{border-color:var(--palette-primary-main)!important}.OffsetWellsTableRow-module_subjectWellMark__S-nvA{left:-1px;position:absolute;top:-1px;z-index:98}.OffsetWellsTableRow-module_bodyCell__B-yWv{align-items:center!important;background:var(--palette-background-b-8);border-top:1px solid var(--palette-primary-text-9);display:flex!important;height:56px!important;padding:0 12px 0 0!important}.OffsetWellsTableRow-module_cellData__SNLYB{-webkit-line-clamp:2;-webkit-box-orient:vertical;color:var(--palette-primary-text-1);display:-webkit-box;font-size:14px;font-weight:400;line-height:20px;overflow:hidden;overflow-wrap:break-word;white-space:normal}.OffsetWellsTableRow-module_cellDataViewOnly__2Fd-1{padding-left:12px}.OffsetWellsTableRow-module_hoverCell__4wFuk{background:var(--palette-background-b-7)!important}.OffsetWellsTableRow-module_wellNameCell__BBEf-{border-bottom-left-radius:4px;border-left:1px solid var(--palette-primary-text-9);border-top-left-radius:4px;left:0;position:sticky;z-index:2}.OffsetWellsTableRow-module_lastCell__VEQCi{border-bottom-right-radius:4px;border-right:1px solid var(--palette-primary-text-9);border-top-right-radius:4px}.OffsetWellsTableRow-module_subjectWellImage__IkmRP{height:16px;width:16px}.OffsetWellsTableRow-module_status__qWj9c{border-radius:50%;cursor:default;height:8px;width:8px}.OffsetWellsTableRow-module_customTooltip__aeWUJ{opacity:.9!important}.OffsetWellsTableRow-module_wellNameCursor__BlXVa{color:var(--palette-primary-text-1);cursor:default;white-space:normal;word-break:break-all}.OffsetWellsTableRow-module_wellNamePreWrap__oXXEB{white-space:pre}.OffsetWellsTableRow-module_sectionLength__vxefy{background:var(--palette-primary-text-9);border-radius:20px;cursor:default;padding:2px 8px}");export{l as default};
@@ -1 +1 @@
1
- import o from"./palette.mjs.js";var e=o.primary,t=o.background,i={MuiTable:{root:{width:"100%"},stickyHeader:{"&:before":{content:"no-open-quote",position:"absolute",width:"inherit",height:"16px",background:"linear-gradient(360deg, rgba(44, 44, 44, 0) 0%, ".concat(o.background.b6," 100%)")}}},MuiTableCell:{root:{borderBottomColor:e.text9,height:56,letterSpacing:"0.4px",lineHeight:"20px",whiteSpace:"nowrap",paddingLeft:8,paddingRight:8,"&.dense":{fontSize:14,lineHeight:"14px",height:28}},stickyHeader:{backgroundColor:t.b6},head:{color:e.text7,fontSize:14,lineHeight:"14px","&.MuiTableCell-sizeSmall":{fontSize:12,height:48,lineHeight:"14px"},"&.dense":{fontSize:12,lineHeight:"12px",height:28}},body:{fontSize:16},sizeSmall:{fontSize:14,height:48,lineHeight:"20px",paddingRight:16}},MuiTableRow:{root:{"&.MuiTableRow-hover:hover":{backgroundColor:"rgba(255, 255, 255, 0.1)"},"&.Mui-selected, .MuiTableRow-root.Mui-selected:hover":{backgroundColor:"rgba(3, 188, 212, 0.2)"}},head:{borderTop:"1px solid ".concat(e.text9)}},MuiTableSortLabel:{root:{flexDirection:"row",justifyContent:"flex-end","&:hover":{color:o.primary.contrastText,"& .MuiTableSortLabel-icon":{opacity:1,color:o.primary.contrastText},"&.MuiTableSortLabel-active":{color:o.primary.contrastText,"&.MuiTableSortLabel-root.MuiTableSortLabel-active .MuiSvgIcon-root.MuiTableSortLabel-icon":{color:o.primary.contrastText}}},"&.MuiTableSortLabel-active":{color:o.primary.text7,"&.MuiTableSortLabel-root.MuiTableSortLabel-active .MuiSvgIcon-root.MuiTableSortLabel-icon":{color:o.primary.text7}}},icon:{marginRight:0,color:o.primary.text7,fontSize:16}},MuiTablePagination:{toolbar:{paddingTop:10},caption:{fontSize:12},selectRoot:{marginRight:31,marginLeft:3,"& .MuiTablePagination-select":{paddingRight:31,paddingLeft:2}},input:{fontSize:12,position:"relative",top:1},selectIcon:{"&.MuiSvgIcon-root.MuiSelect-icon":{fontSize:16,top:5}},actions:{marginLeft:23,"& .MuiIconButton-root":{color:e.text6,fontSize:16,padding:7,"&:hover":{color:e.contrastText},"&.Mui-disabled":{color:e.text8}}},root:{"& .MuiSvgIcon-root":{color:"inherit",fontSize:"inherit"}}}};export{i as default};
1
+ import o from"./palette.mjs.js";var e=o.primary,t=o.background,i={MuiTable:{root:{width:"100%"},stickyHeader:{"&:before":{content:"no-open-quote",position:"absolute",width:"inherit",height:"16px",background:"linear-gradient(360deg, rgba(44, 44, 44, 0) 0%, ".concat(o.background.b6," 100%)")}}},MuiTableCell:{root:{borderBottomColor:e.text9,height:56,letterSpacing:"0.4px",lineHeight:"20px",paddingLeft:8,paddingRight:8,"&.dense":{fontSize:14,lineHeight:"14px",height:28}},stickyHeader:{backgroundColor:t.b6},head:{color:e.text7,fontSize:14,lineHeight:"14px","&.MuiTableCell-sizeSmall":{fontSize:12,height:48,lineHeight:"14px"},"&.dense":{fontSize:12,lineHeight:"12px",height:28}},body:{fontSize:16},sizeSmall:{fontSize:14,height:48,lineHeight:"20px",paddingRight:16}},MuiTableRow:{root:{"&.MuiTableRow-hover:hover":{backgroundColor:"rgba(255, 255, 255, 0.1)"},"&.Mui-selected, .MuiTableRow-root.Mui-selected:hover":{backgroundColor:"rgba(3, 188, 212, 0.2)"}},head:{borderTop:"1px solid ".concat(e.text9)}},MuiTableSortLabel:{root:{flexDirection:"row",justifyContent:"flex-end","&:hover":{color:o.primary.contrastText,"& .MuiTableSortLabel-icon":{opacity:1,color:o.primary.contrastText},"&.MuiTableSortLabel-active":{color:o.primary.contrastText,"&.MuiTableSortLabel-root.MuiTableSortLabel-active .MuiSvgIcon-root.MuiTableSortLabel-icon":{color:o.primary.contrastText}}},"&.MuiTableSortLabel-active":{color:o.primary.text7,"&.MuiTableSortLabel-root.MuiTableSortLabel-active .MuiSvgIcon-root.MuiTableSortLabel-icon":{color:o.primary.text7}}},icon:{marginRight:0,color:o.primary.text7,fontSize:16}},MuiTablePagination:{toolbar:{paddingTop:10},caption:{fontSize:12},selectRoot:{marginRight:31,marginLeft:3,"& .MuiTablePagination-select":{paddingRight:31,paddingLeft:2}},input:{fontSize:12,position:"relative",top:1},selectIcon:{"&.MuiSvgIcon-root.MuiSelect-icon":{fontSize:16,top:5}},actions:{marginLeft:23,"& .MuiIconButton-root":{color:e.text6,fontSize:16,padding:7,"&:hover":{color:e.contrastText},"&.Mui-disabled":{color:e.text8}}},root:{"& .MuiSvgIcon-root":{color:"inherit",fontSize:"inherit"}}}};export{i as default};
@@ -1 +1 @@
1
- import e from"@babel/runtime/helpers/defineProperty";import o from"@babel/runtime/helpers/toConsumableArray";var r;function l(e,o){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);o&&(l=l.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),r.push.apply(r,l)}return r}function n(o){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?l(Object(n),!0).forEach((function(r){e(o,r,n[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(e){Object.defineProperty(o,e,Object.getOwnPropertyDescriptor(n,e))}))}return o}var i=[{name:"Pressure Testing",key:"pressure testing",isFlatTime:!0,color:"#FFF350"},{name:"Pump Off",key:"pump off",isFlatTime:!0,color:"#939E98"},{name:"Fracturing",key:"fracturing",isFlatTime:!1,color:"#429FF8"},{name:"Pad",key:"pad",isFlatTime:!1,color:"#FF8260"},{name:"Flush",key:"flush",isFlatTime:!1,color:"#10EAF0"}],a=[{name:"Pull out of Hole",key:"pull out of hole",isFlatTime:!1,color:"#800080"},{name:"Plug and Perf",key:"plug and perf",isFlatTime:!1,color:"#FFA500"},{name:"Run in Hole",key:"run in hole",isFlatTime:!1,color:"#00008B"},{name:"Static",key:"static",isFlatTime:!1,color:"#D3D3D3"},{name:"Out of Hole",key:"out of hole",isFlatTime:!1,color:"#FFC0CB"}],t=[{name:"Pull out of Hole (VT)",key:"pull out of hole vertical",isFlatTime:!1,color:"#EB3447"},{name:"Pull out of Hole (HZ)",key:"pull out of hole horizontal",isFlatTime:!1,color:"#ED602A"},{name:"Run in Hole (VT)",key:"run in hole vertical",isFlatTime:!1,color:"#390099"},{name:"Run in Hole (HZ)",key:"run in hole horizontal",isFlatTime:!1,color:"#6150C1"},{name:"Static",key:"static",isFlatTime:!1,color:"#FFBD00"}],c=[{name:"HVFR Low",key:"hvfr_low",unitType:"oil",color:"#1fff71"},{name:"15# Linear Gel",key:"15#_linear_gel",unitType:"oil",color:"#00E7E9"},{name:"15% HCL Acid",key:"15%_hcl_acid",unitType:"oil",color:"#6ec732"},{name:"Slickwater",key:"slickwater",unitType:"oil",color:"#7AB8ED"},{name:"15# XL Borate",key:"15#_xl_borate",unitType:"oil",color:"#ff9a4c"},{name:"Fresh Water",key:"fresh_water",unitType:"oil",color:"#4c7fff"}],s={name:"Total Chemicals",key:"total_chemical_rate_in",color:"#00FF00"},p=[{name:"Liquid Gel",color:"#84F4F7",key:"gel"},{name:"Acid",color:"#6ec732",key:"acid"},{name:"Liquid FR",color:"#FFA891",key:"friction_reducer"},{name:"Liquid FR Extra",color:"#91FFA8",key:"friction_reducer_extra"},{name:"Total Liquid FR",color:"#FF91A8",key:"total_friction_reducer"},{name:"Fluid Loss",color:"#c7bd32",key:"fluid_loss"},{name:"Cross Linker",color:"#B0CA87",key:"cross_linker"},{name:"Liquid EB",color:"#32b8c7",key:"enzyme_breaker"},{name:"Polymer Plug",color:"#9fc732",key:"ploymer_plug"},{name:"Acid Inhibitor",color:"#AB9081",key:"acid_inhibitor"},{name:"Acid Retarder",color:"#7CC6FE",key:"acid_retarder"},{name:"Emulsifier",color:"#5DFDCB",key:"emulsifier"},{name:"Clay Stabilizer",color:"#9C6B20",key:"clay_stabilizer"},{name:"Surfactant",color:"#FFF689",key:"surfactant"},{name:"Non-Emulsifier",color:"#C0DF85",key:"non_emulsifier"},{name:"Fines Suspender",color:"#7B8E55",key:"fines_suspender"},{name:"Anti-Sludge",color:"#07393C",key:"anti_sludge"},{name:"Scale Inhibitor",color:"#C0E5CA",key:"scale_inhibitor"},{name:"Iron Stabilizer",color:"#CD5334",key:"iron_stabilizer"},{name:"Oxygen Scavenger",color:"#DFF283",key:"oxygen_scavenger"},{name:"Mutual Solvent",color:"#ad5ec7",key:"mutual_solvent"},{name:"Corrosion Inhibitor",color:"#7C2209",key:"corrosion_inhibitor"},{name:"Paraffin Control",color:"#F5A65B",key:"paraffin_control"},{name:"Biocide",color:"#E9B76A",key:"biocide"},{name:"PH Adjusting Agent",color:"#519872",key:"ph_adjusting_agent"},{name:"Accelerator",color:"#5E3023",key:"accelerator"},{name:"Instant Crosslinker",color:"#6E6E23",key:"instant_crosslinker"},{name:"Delayed Crosslinker",color:"#7E306E",key:"delayed_crosslinker"},{name:"Liquid Breaker",color:"#233023",key:"liquid_breaker"}],u=[{name:"Diverter",color:"#BB9394",key:"divertor"},{name:"Powder Breaker",color:"#c732b8",key:"powder_breaker"},{name:"Powder Gel",color:"#308E23",key:"powder_gel"},{name:"Powder FR",color:"#30239E",key:"powder_friction_reducer"},{name:"Powder EB",color:"#A32A78",key:"powder_enzyme_breaker"}],m=[].concat(o(p.map((function(e){return n(n({},e),{},{unitType:"volume"})}))),o(u.map((function(e){return n(n({},e),{},{unitType:"mass"})})))),y=[{name:"100 Mesh",key:"100_mesh",unitType:"mass",color:"#ff0000"},{name:"40/70 Brown",key:"40_70_brown",unitType:"mass",color:"#603000"},{name:"40/70 Mesh",key:"40_70_mesh",unitType:"mass",color:"#5454cc"},{name:"40/70 NWS",key:"40_70_nws",unitType:"mass",color:"#ff4242"},{name:"40/70 RBS",key:"40_70_rbs",unitType:"mass",color:"#ff42bc"},{name:"30/50 Brown",key:"30_50_brown",unitType:"mass",color:"#964B00"},{name:"30/50 Mesh",key:"30_50_mesh",unitType:"mass",color:"#9898cc"},{name:"25/50 Brown",key:"25_50_brown",unitType:"mass",color:"#B27C45"},{name:"25/50 Mesh",key:"25_50_mesh",unitType:"mass",color:"#32aa32"},{name:"20/40 Mesh",key:"20_40_mesh",unitType:"mass",color:"#ff7979"}],_=[{name:"Total Proppant Conc",key:"total_proppant_concentration",unitType:"massConcentration",unit:"lb/gal",color:"#FF8F0B"},{name:"Proppant 1 Conc",key:"proppant_1_concentration",unitType:"massConcentration",unit:"lb/gal",color:"#7EB93A"},{name:"Proppant 2 Conc",key:"proppant_2_concentration",unitType:"massConcentration",unit:"lb/gal",color:"#6785E8"}],k=[{name:"Total Proppant Volume",key:"total_proppant_mass",unitType:"mass",color:"#EE964B",unit:"lb"},{name:"Proppant 1 Volume",key:"proppant_1_mass",unitType:"mass",color:"#C6C013",unit:"lb"},{name:"Proppant 2 Volume",key:"proppant_2_mass",unitType:"mass",color:"#7ff577",unit:"lb"}],f={top_perforation:"#0085e3",bottom_perforation:"#8BC7F2",perforated_length:"#519872",total_shots:"#9500b7",flush_volume:"#FF6161"},F={well_head_pressure:"#F50057",pipe_frictional_pressure_loss:"#D8496B",nwb_frictional_pressure_loss:"#807DFF",bottomhole_pressure:"#4DCFB3",net_pressure:"#EE752F",max_treating_pressure:"#F50258",ave_treating_pressure:"#FF6161",breakdown_pressure:"#03db5a",isip_pressure:"#7169AE",delta_pressure:"#efd34b",hydrostatic_pressure:"#E458C8",backside_pressure:"#32aa32"},d={clean_flow_rate_in:"#7CC900",slurry_flow_rate_in:"#64B5FF",max_flow_rate:"#0085e3",ave_flow_rate:"#8BC7F2"},b={total_slurry_volume_in:"#7169AE",total_clean_volume_in:"#257CFF"},w=[{name:"Fracturing",key:"fracturing",color:"#429FF8"},{name:"Wireline",key:"wireline",color:"#FF9C00"},{name:"Swap Over - Fracturing",key:"swap_over_fracturing",color:"#347EC5"},{name:"Swap Over - Wireline",key:"swap_over_wireline",color:"#BF7500"},{name:"Waiting on Offset Wells",key:"waiting_on_offset_wells",color:"#BDBDBD"}],g=[{key:"line_speed",label:"Line Speed",unitType:"velocity",unit:"ft/min",isDefaultView:!0},{key:"line_tension",label:"Line Tension",unitType:"mass",unit:"lb",isDefaultView:!0},{key:"casing_collar_locator",label:"CCL",isDefaultView:!0},{key:"elapsed_time",label:"Elapsed Time",unitType:"time",unit:"s"},{key:"voltage",label:"Voltage",unitType:"voltage",unit:"mV"},{key:"current",label:"Current",unitType:"current",unit:"mA"},{key:"measured_depth",label:"Measured Depth",unitType:"length",unit:"ft"}],A=[{key:"pad",label:"Pad Mode"},{key:"active_frac",label:"Active Frac"},{key:"active_wireline",label:"Active Wireline"},{key:"active_pumpdown",label:"Active Pumpdown"}],T={pad:"pad",activeFrac:"active_frac",activeWireline:"active_wireline",activePumpdown:"active_pumpdown",custom:"custom"},h={padApp:"Pad Apps",fracWirelineMultiWellApp:"Frac & Wireline Multi-Well Apps",fracMultiWellApp:"Frac Multi-Well Apps",wirelineMultiWellApp:"Wireline Multi-Well Apps",pumpdownMultiWellApp:"Pumpdown Multi-Well Apps",fracSingleWellApp:"Frac Single Well Apps",wirelineSingleWellApp:"Wireline Single Well Apps",pumpdownSingleWellApp:"Pumpdown Single Well Apps"},v=(e(r={},h.padApp,[T.pad,T.custom]),e(r,h.fracWirelineMultiWellApp,[T.pad,T.activeFrac,T.activeWireline,T.custom]),e(r,h.fracMultiWellApp,[T.pad,T.activeFrac,T.custom]),e(r,h.fracSingleWellApp,[T.activeFrac,T.custom]),e(r,h.wirelineMultiWellApp,[T.pad,T.activeWireline,T.custom]),e(r,h.wirelineSingleWellApp,[T.activeWireline,T.custom]),e(r,h.pumpdownMultiWellApp,[T.pad,T.activePumpdown,T.custom]),e(r,h.wirelineSingleWellApp,[T.activePumpdown,T.custom]),r);export{i as ACTIVITIES,u as CHEMICALS_MASS_TYPES,m as CHEMICALS_TYPES,p as CHEMICALS_VOL_TYPES,v as COMPLETION_APPTYPE_MODES_DICT,h as COMPLETION_APP_TYPES,T as COMPLETION_MODES,w as COMPLETION_OPERATION_TYPE,A as DEFAULT_SUPPORTED_PAD_MODES,d as FLOW_RATE_COLORS,c as FLUIDS_TYPES,F as PRESSURE_COLORS,_ as PROPPANTS_CON_TYPES,k as PROPPANTS_MASS_TYPES,y as PROPPANTS_TYPES,f as STAGE_ACTUAL_PARAM_COLORS,s as TOTAL_CHEMICAL_TYPE,b as TOTAL_VOLUME_COLORS,a as WIRELINE_ACTIVITIES,t as WIRELINE_BREAKDOWN_ACTIVITIES,g as WIRELINE_PARAMETERS};
1
+ import e from"@babel/runtime/helpers/defineProperty";import o from"@babel/runtime/helpers/toConsumableArray";var r;function l(e,o){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);o&&(l=l.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),r.push.apply(r,l)}return r}function n(o){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?l(Object(n),!0).forEach((function(r){e(o,r,n[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(e){Object.defineProperty(o,e,Object.getOwnPropertyDescriptor(n,e))}))}return o}var i=[{name:"Pressure Testing",key:"pressure testing",isFlatTime:!0,color:"#FFF350"},{name:"Pump Off",key:"pump off",isFlatTime:!0,color:"#939E98"},{name:"Fracturing",key:"fracturing",isFlatTime:!1,color:"#429FF8"},{name:"Pad",key:"pad",isFlatTime:!1,color:"#FF8260"},{name:"Flush",key:"flush",isFlatTime:!1,color:"#10EAF0"}],a=[{name:"Pull out of Hole",key:"pull out of hole",isFlatTime:!1,color:"#800080"},{name:"Plug and Perf",key:"plug and perf",isFlatTime:!1,color:"#FFA500"},{name:"Run in Hole",key:"run in hole",isFlatTime:!1,color:"#00008B"},{name:"Static",key:"static",isFlatTime:!1,color:"#D3D3D3"},{name:"Out of Hole",key:"out of hole",isFlatTime:!1,color:"#FFC0CB"}],t=[{name:"Pull out of Hole (VT)",key:"pull out of hole vertical",isFlatTime:!1,color:"#EB3447"},{name:"Pull out of Hole (HZ)",key:"pull out of hole horizontal",isFlatTime:!1,color:"#ED602A"},{name:"Run in Hole (VT)",key:"run in hole vertical",isFlatTime:!1,color:"#390099"},{name:"Run in Hole (HZ)",key:"run in hole horizontal",isFlatTime:!1,color:"#6150C1"},{name:"Static",key:"static",isFlatTime:!1,color:"#FFBD00"}],c=[{name:"HVFR Low",key:"hvfr_low",unitType:"oil",color:"#1fff71"},{name:"15# Linear Gel",key:"15#_linear_gel",unitType:"oil",color:"#00E7E9"},{name:"15% HCL Acid",key:"15%_hcl_acid",unitType:"oil",color:"#6ec732"},{name:"Slickwater",key:"slickwater",unitType:"oil",color:"#7AB8ED"},{name:"15# XL Borate",key:"15#_xl_borate",unitType:"oil",color:"#ff9a4c"},{name:"Fresh Water",key:"fresh_water",unitType:"oil",color:"#4c7fff"}],p={name:"Total Chemicals",key:"total_chemical_rate_in",color:"#00FF00"},s=[{name:"Liquid Gel",color:"#84F4F7",key:"gel"},{name:"Acid",color:"#6ec732",key:"acid"},{name:"Liquid FR",color:"#FFA891",key:"friction_reducer"},{name:"Liquid FR Extra",color:"#91FFA8",key:"friction_reducer_extra"},{name:"Total Liquid FR",color:"#FF91A8",key:"total_friction_reducer"},{name:"Fluid Loss",color:"#c7bd32",key:"fluid_loss"},{name:"Cross Linker",color:"#B0CA87",key:"cross_linker"},{name:"Liquid EB",color:"#32b8c7",key:"enzyme_breaker"},{name:"Polymer Plug",color:"#9fc732",key:"ploymer_plug"},{name:"Acid Inhibitor",color:"#AB9081",key:"acid_inhibitor"},{name:"Acid Retarder",color:"#7CC6FE",key:"acid_retarder"},{name:"Emulsifier",color:"#5DFDCB",key:"emulsifier"},{name:"Clay Stabilizer",color:"#9C6B20",key:"clay_stabilizer"},{name:"Surfactant",color:"#FFF689",key:"surfactant"},{name:"Non-Emulsifier",color:"#C0DF85",key:"non_emulsifier"},{name:"Fines Suspender",color:"#7B8E55",key:"fines_suspender"},{name:"Anti-Sludge",color:"#07393C",key:"anti_sludge"},{name:"Scale Inhibitor",color:"#C0E5CA",key:"scale_inhibitor"},{name:"Iron Control",color:"#CD5334",key:"iron_control"},{name:"Oxygen Scavenger",color:"#DFF283",key:"oxygen_scavenger"},{name:"Mutual Solvent",color:"#ad5ec7",key:"mutual_solvent"},{name:"Corrosion Inhibitor",color:"#7C2209",key:"corrosion_inhibitor"},{name:"Paraffin Control",color:"#F5A65B",key:"paraffin_control"},{name:"Biocide",color:"#E9B76A",key:"biocide"},{name:"PH Adjusting Agent",color:"#519872",key:"ph_adjusting_agent"},{name:"Accelerator",color:"#5E3023",key:"accelerator"},{name:"Instant Crosslinker",color:"#6E6E23",key:"instant_crosslinker"},{name:"Delayed Crosslinker",color:"#7E306E",key:"delayed_crosslinker"},{name:"Liquid Breaker",color:"#233023",key:"liquid_breaker"}],u=[{name:"Diverter",color:"#BB9394",key:"divertor"},{name:"Powder Breaker",color:"#c732b8",key:"powder_breaker"},{name:"Powder Gel",color:"#308E23",key:"powder_gel"},{name:"Powder FR",color:"#30239E",key:"powder_friction_reducer"},{name:"Powder EB",color:"#A32A78",key:"powder_enzyme_breaker"}],m=[].concat(o(s.map((function(e){return n(n({},e),{},{unitType:"volume"})}))),o(u.map((function(e){return n(n({},e),{},{unitType:"mass"})})))),y=[{name:"100 Mesh",key:"100_mesh",unitType:"mass",color:"#ff0000"},{name:"40/70 Brown",key:"40_70_brown",unitType:"mass",color:"#603000"},{name:"40/70 Mesh",key:"40_70_mesh",unitType:"mass",color:"#5454cc"},{name:"40/70 NWS",key:"40_70_nws",unitType:"mass",color:"#ff4242"},{name:"40/70 RBS",key:"40_70_rbs",unitType:"mass",color:"#ff42bc"},{name:"30/50 Brown",key:"30_50_brown",unitType:"mass",color:"#964B00"},{name:"30/50 Mesh",key:"30_50_mesh",unitType:"mass",color:"#9898cc"},{name:"25/50 Brown",key:"25_50_brown",unitType:"mass",color:"#B27C45"},{name:"25/50 Mesh",key:"25_50_mesh",unitType:"mass",color:"#32aa32"},{name:"20/40 Mesh",key:"20_40_mesh",unitType:"mass",color:"#ff7979"}],_=[{name:"Total Proppant Conc",key:"total_proppant_concentration",unitType:"massConcentration",unit:"lb/gal",color:"#FF8F0B"},{name:"Proppant 1 Conc",key:"proppant_1_concentration",unitType:"massConcentration",unit:"lb/gal",color:"#7EB93A"},{name:"Proppant 2 Conc",key:"proppant_2_concentration",unitType:"massConcentration",unit:"lb/gal",color:"#6785E8"}],k=[{name:"Total Proppant Volume",key:"total_proppant_mass",unitType:"mass",color:"#EE964B",unit:"lb"},{name:"Proppant 1 Volume",key:"proppant_1_mass",unitType:"mass",color:"#C6C013",unit:"lb"},{name:"Proppant 2 Volume",key:"proppant_2_mass",unitType:"mass",color:"#7ff577",unit:"lb"}],f={top_perforation:"#0085e3",bottom_perforation:"#8BC7F2",perforated_length:"#519872",total_shots:"#9500b7",flush_volume:"#FF6161"},F={well_head_pressure:"#F50057",pipe_frictional_pressure_loss:"#D8496B",nwb_frictional_pressure_loss:"#807DFF",bottomhole_pressure:"#4DCFB3",net_pressure:"#EE752F",max_treating_pressure:"#F50258",ave_treating_pressure:"#FF6161",breakdown_pressure:"#03db5a",isip_pressure:"#7169AE",delta_pressure:"#efd34b",hydrostatic_pressure:"#E458C8",backside_pressure:"#32aa32"},d={clean_flow_rate_in:"#7CC900",slurry_flow_rate_in:"#64B5FF",max_flow_rate:"#0085e3",ave_flow_rate:"#8BC7F2"},b={total_slurry_volume_in:"#7169AE",total_clean_volume_in:"#257CFF"},w=[{name:"Fracturing",key:"fracturing",color:"#429FF8"},{name:"Wireline",key:"wireline",color:"#FF9C00"},{name:"Swap Over - Fracturing",key:"swap_over_fracturing",color:"#347EC5"},{name:"Swap Over - Wireline",key:"swap_over_wireline",color:"#BF7500"},{name:"Waiting on Offset Wells",key:"waiting_on_offset_wells",color:"#BDBDBD"}],g=[{key:"line_speed",label:"Line Speed",unitType:"velocity",unit:"ft/min",isDefaultView:!0},{key:"line_tension",label:"Line Tension",unitType:"mass",unit:"lb",isDefaultView:!0},{key:"casing_collar_locator",label:"CCL",isDefaultView:!0},{key:"elapsed_time",label:"Elapsed Time",unitType:"time",unit:"s"},{key:"voltage",label:"Voltage",unitType:"voltage",unit:"mV"},{key:"current",label:"Current",unitType:"current",unit:"mA"},{key:"measured_depth",label:"Measured Depth",unitType:"length",unit:"ft"}],A=[{key:"pad",label:"Pad Mode"},{key:"active_frac",label:"Active Frac"},{key:"active_wireline",label:"Active Wireline"},{key:"active_pumpdown",label:"Active Pumpdown"}],T={pad:"pad",activeFrac:"active_frac",activeWireline:"active_wireline",activePumpdown:"active_pumpdown",custom:"custom"},h={padApp:"Pad Apps",fracWirelineMultiWellApp:"Frac & Wireline Multi-Well Apps",fracMultiWellApp:"Frac Multi-Well Apps",wirelineMultiWellApp:"Wireline Multi-Well Apps",pumpdownMultiWellApp:"Pumpdown Multi-Well Apps",fracSingleWellApp:"Frac Single Well Apps",wirelineSingleWellApp:"Wireline Single Well Apps",pumpdownSingleWellApp:"Pumpdown Single Well Apps"},v=(e(r={},h.padApp,[T.pad,T.custom]),e(r,h.fracWirelineMultiWellApp,[T.pad,T.activeFrac,T.activeWireline,T.custom]),e(r,h.fracMultiWellApp,[T.pad,T.activeFrac,T.custom]),e(r,h.fracSingleWellApp,[T.activeFrac,T.custom]),e(r,h.wirelineMultiWellApp,[T.pad,T.activeWireline,T.custom]),e(r,h.wirelineSingleWellApp,[T.activeWireline,T.custom]),e(r,h.pumpdownMultiWellApp,[T.pad,T.activePumpdown,T.custom]),e(r,h.wirelineSingleWellApp,[T.activePumpdown,T.custom]),r);export{i as ACTIVITIES,u as CHEMICALS_MASS_TYPES,m as CHEMICALS_TYPES,s as CHEMICALS_VOL_TYPES,v as COMPLETION_APPTYPE_MODES_DICT,h as COMPLETION_APP_TYPES,T as COMPLETION_MODES,w as COMPLETION_OPERATION_TYPE,A as DEFAULT_SUPPORTED_PAD_MODES,d as FLOW_RATE_COLORS,c as FLUIDS_TYPES,F as PRESSURE_COLORS,_ as PROPPANTS_CON_TYPES,k as PROPPANTS_MASS_TYPES,y as PROPPANTS_TYPES,f as STAGE_ACTUAL_PARAM_COLORS,p as TOTAL_CHEMICAL_TYPE,b as TOTAL_VOLUME_COLORS,a as WIRELINE_ACTIVITIES,t as WIRELINE_BREAKDOWN_ACTIVITIES,g as WIRELINE_PARAMETERS};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@corva/ui",
3
- "version": "0.45.0-8",
3
+ "version": "0.45.0-rc.0",
4
4
  "description": "Shared components/utils for Corva ui projects",
5
5
  "keywords": [
6
6
  "corva-ui"