@corva/ui 0.89.0-1 → 0.89.0-3
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/utils/constants/units.js +1 -1
- package/cjs-bundle/utils/convert.js +1 -1
- package/cjs-bundle/utils/metrics/metricsConfig.js +1 -1
- package/components/OffsetWellPickerV2/constants.d.ts +1 -0
- package/components/OffsetWellPickerV2/constants.d.ts.map +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/constants.d.ts +1 -0
- package/components/OffsetWellPickerV3/components/CustomSelectionView/constants.d.ts.map +1 -1
- package/components/OffsetWellPickerV4/constants.d.ts +1 -0
- package/components/OffsetWellPickerV4/constants.d.ts.map +1 -1
- package/constants/goals.d.ts +1 -0
- package/constants/goals.d.ts.map +1 -1
- package/package.json +2 -2
- package/utils/__tests__/fixtures/convert.fixture.d.ts +0 -7
- package/utils/__tests__/fixtures/convert.fixture.d.ts.map +1 -1
- package/utils/constants/units.d.ts +12 -0
- package/utils/constants/units.d.ts.map +1 -1
- package/utils/constants/units.js +1 -1
- package/utils/convert.d.ts.map +1 -1
- package/utils/convert.js +1 -1
- package/utils/metrics/metricsConfig.d.ts +3 -0
- package/utils/metrics/metricsConfig.d.ts.map +1 -1
- package/utils/metrics/metricsConfig.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=[{display:"Angle",imperial:"deg",metric:"deg",origin:"angle",type:"angle"},{display:"Angle Per Length",imperial:"dp100f",metric:"dp30m",origin:"anglePerLength",type:"anglePerLength"},{display:"Angular Velocity",imperial:"rpm",metric:"rpm",origin:"angularVelocity",type:"angularVelocity"},{display:"Area",imperial:"ft2",metric:"m2",origin:"area",type:"area"},{display:"Current",imperial:"mA",metric:"mA",origin:"current",type:"current"},{display:"Density",imperial:"ppg",metric:"kg/m3",origin:"density",type:"density"},{display:"Fluid Velocity",imperial:"ft/min",metric:"m/min",origin:"speed",type:"fluidVelocity"},{display:"Force",imperial:"klbf",metric:"kdaN",origin:"force",type:"force"},{display:"Length",imperial:"ft",metric:"m",origin:"length",type:"length"},{display:"Length Per Angle",imperial:"in/rev",metric:"mm/rev",origin:"lengthPerAngle",type:"lengthPerAngle"},{display:"Mass",imperial:"lb",metric:"kg",origin:"mass",type:"mass"},{display:"Mass Concentration",imperial:"lb/gal",metric:"kg/m3",origin:"density",type:"massConcentration"},{display:"Mass Concentration (Chemical)",imperial:"lb/Mgal",metric:"kg/m3",origin:"density",type:"chemMassConcentration"},{display:"Mass Flow Rate",imperial:"lb/min",metric:"kg/min",origin:"massFlowRate",type:"massFlowRate"},{display:"Mass Per Length",imperial:"lb-ft",metric:"kg-m",origin:"mpl",type:"massPerLength"},{display:"Mse Pressure",imperial:"ksi",metric:"kPa",origin:"pressure",type:"msePressure"},{display:"Oil",imperial:"bbl",metric:"m3",origin:"volume",type:"oil"},{display:"Oil Flow Rate",imperial:"bbl/min",metric:"m3/min",origin:"volumeFlowRate",type:"oilFlowRate"},{display:"Power",imperial:"hp",metric:"watt",origin:"power",type:"power"},{display:"Pressure",imperial:"psi",metric:"kPa",origin:"pressure",type:"pressure"},{display:"Inverse Pressure",imperial:"i-psi",metric:"i-pa",origin:"inversePressure",type:"inversePressure"},{display:"Pressure Gradient",imperial:"psi/ft",metric:"kPa/m",origin:"pressureGradient",type:"pressureGradient"},{display:"Revolution Per Volume",imperial:"rpg",metric:"rpl",origin:"revolutionPerVolume",type:"revolutionPerVolume"},{display:"Short Length",imperial:"in",metric:"mm",origin:"length",type:"shortLength"},{display:"Speed",imperial:"ft/h",metric:"m/h",origin:"speed",type:"speed"},{display:"Temperature",imperial:"F",metric:"C",origin:"temperature",type:"temperature"},{display:"Time",imperial:"min",metric:"min",origin:"time",type:"time"},{display:"Torque",imperial:"ft-klbf",metric:"Nm",origin:"energy",type:"torque"},{display:"Velocity",imperial:"ft/h",metric:"m/h",origin:"speed",type:"velocity"},{display:"Voltage",imperial:"mV",metric:"mV",origin:"voltage",type:"voltage"},{display:"Volume",imperial:"gal",metric:"m3",origin:"volume",type:"volume"},{display:"Volume Concentration",imperial:"gal/Mgal",metric:"l/m3",origin:"volumeConcentration",type:"chemVolumeConcentration"},{display:"Volume Flow Rate",imperial:"gal/min",metric:"m3/min",origin:"volumeFlowRate",type:"volumeFlowRate"},{display:"YP",imperial:"hsf",metric:"Pa",origin:"pressure",type:"yp"},{display:"Resistivity",imperial:"ohmm",metric:"ohmm",origin:"resistivity",type:"resistivity"},{display:"Formation Density",imperial:"lb/gal",metric:"g/m3",origin:"formationDensity",type:"formationDensity"},{display:"Porosity",imperial:"pu",metric:"pu",origin:"porosity",type:"porosity"},{display:"Permeability",imperial:"md",metric:"md",origin:"permiability",type:"permiability"},{display:"Acoustic Slowness",imperial:"us/ft",metric:"us/m",origin:"acousticSlowness",type:"acousticSlowness"},{display:"SP (Spontaneous Potential)",imperial:"mV",metric:"mV",origin:"spontaneousPotential",type:"spontaneousPotential"},{display:"Concentration",imperial:"ppm",metric:"ppm",origin:"concentration",type:"concentration"},{display:"Gas Concentration",imperial:"Units (0-5000u)",metric:"Units (0-5000u)",origin:"gasConcentration",type:"gasConcentration"},{display:"Gas Volume",imperial:"Mscf",metric:"m3",origin:"gasVolume",type:"gasVolume"},{display:"Gas Flow Rate",imperial:"Mscf/day",metric:"m3/day",origin:"gasFlowRate",type:"gasFlowRate"},{display:"Gravity",imperial:"g",metric:"g",origin:"gravity",type:"gravity"},{display:"Gravity RMS",imperial:"gRMS",metric:"gRMS",origin:"gravityRMS",type:"gravityRMS"},{display:"Proportion",imperial:"%",metric:"%",origin:"proportion",type:"proportion"},{display:"Strokes Rate",imperial:"strokes/min",metric:"strokes/min",origin:"strokesRate",type:"strokesRate"},{display:"Gamma Radiation",imperial:"API",metric:"API",origin:"gammaRadiation",type:"gammaRadiation"}],i=e.reduce((function(e,i){return e[i.type]=i,e}),{});exports.IMPERIAL_UNITS={acousticSlowness:"us/ft",angle:"deg",anglePerLength:"dp100f",angularVelocity:"rpm",area:"ft2",chemMassConcentration:"lb/Mgal",chemVolumeConcentration:"gal/Mgal",concentration:"ppm",current:"mA",density:"ppg",fluidVelocity:"ft/min",force:"klbf",formationDensity:"lb/gal",gasConcentration:"Units (0-5000u)",gasVolume:"Mscf",gasFlowRate:"Mscf/day",gravity:"g",gravityRMS:"gRMS",inversePressure:"i-psi",length:"ft",lengthPerAngle:"in/rev",mass:"lb",massConcentration:"lb/gal",massFlowRate:"lb/min",massPerLength:"lb-ft",msePressure:"ksi",oil:"bbl",oilFlowRate:"bbl/min",permiability:"md",porosity:"pu",power:"hp",pressure:"psi",pressureGradient:"psi/ft",resistivity:"ohmm",revolutionPerVolume:"rpg",shortLength:"in",speed:"ft/h",spontaneousPotential:"mV",temperature:"F",time:"min",torque:"ft-klbf",velocity:"ft/h",voltage:"mV",volume:"gal",volumeFlowRate:"gal/min",yp:"hsf",proportion:"%",strokesRate:"strokes/min"},exports.METRIC_UNITS={acousticSlowness:"us/m",angle:"deg",anglePerLength:"dp30m",angularVelocity:"rpm",area:"m2",chemMassConcentration:"kg/m3",chemVolumeConcentration:"l/m3",concentration:"ppm",current:"mA",density:"kg/m3",fluidVelocity:"m/min",force:"kdaN",formationDensity:"g/m3",gasConcentration:"Units (0-5000u)",gasVolume:"m3",gasFlowRate:"m3/day",gravity:"g",gravityRMS:"gRMS",inversePressure:"i-pa",length:"m",lengthPerAngle:"mm/rev",mass:"kg",massConcentration:"kg/m3",massFlowRate:"kg/min",massPerLength:"kg-m",msePressure:"kPa",oil:"m3",oilFlowRate:"m3/min",permiability:"md",porosity:"pu",power:"watt",pressure:"kPa",pressureGradient:"kPa/m",resistivity:"ohmm",revolutionPerVolume:"rpl",shortLength:"mm",speed:"m/h",spontaneousPotential:"mV",temperature:"C",time:"min",torque:"Nm",velocity:"m/h",voltage:"mV",volume:"m3",volumeFlowRate:"m3/min",yp:"Pa",proportion:"%",strokesRate:"strokes/min"},exports.UNIT_DEFINITIONS=e,exports.UNIT_TYPES_DEFINITIONS_MAP=i;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("@babel/runtime/helpers/defineProperty"),e=require("corva-convert-units"),r=require("lodash"),n=require("./constants/units.js");function
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("@babel/runtime/helpers/defineProperty"),e=require("corva-convert-units"),r=require("lodash"),n=require("./constants/units.js");function i(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var o=i(t),u=i(e);function s(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function a(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?s(Object(r),!0).forEach((function(e){o.default(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var l={imperial:n.IMPERIAL_UNITS,metric:n.METRIC_UNITS,custom:a({},n.IMPERIAL_UNITS)},c=[],p={};var f=function(t){return l.custom[t]},v=function(t){var e,i=n.UNIT_TYPES_DEFINITIONS_MAP[t];return i?r.sortBy(u.default().list(i.origin),"abbr"):(null===(e=p[t])||void 0===e?void 0:e.measures)||[]},d=function(t){var e,r,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,o=null===(e=n.UNIT_TYPES_DEFINITIONS_MAP[t])||void 0===e?void 0:e.origin,s=u.default(void 0,o),a=s.getUnit,c=s.describe;if(null===i&&(i=l.custom[t]),a(i))return c(i).display;var p=null===(r=v(t).find((function(t){return t.measure===i})))||void 0===r?void 0:r.display;return p||i},m=function(t,e,r){var i,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:2;if(!t||!r||r===o||p[e])return t;if(null===o&&(!(o=f(e))||r===o))return t;var a=null===(i=n.UNIT_TYPES_DEFINITIONS_MAP[e])||void 0===i?void 0:i.origin,l=u.default(t,a).from(r).to(o);return Number.isFinite(l)?Math.round(l*Math.pow(10,s))/Math.pow(10,s):l};exports.convertArray=function(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0,n=arguments.length>3?arguments[3]:void 0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:2,u=0;u<t.length;u+=1)t[u][e]=m(t[u][e],r,n,i,o);return t},exports.convertImmutables=function(t,e,r,n){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:2;return t.map((function(t){var u=m(t.get(e),r,n,i,o);return t.set(e,u)}))},exports.convertImmutablesByBatch=function(t,e){return t.map((function(t){return e.reduce((function(t,e){var r=e.key,n=e.unitType,i=e.from,o=e.to,u=e.precision,s=t.get(r),a=m(s,n,i,o,u);return t.set(r,a)}),t)}))},exports.convertValue=m,exports.getAllUnitTypes=function(){return n.UNIT_DEFINITIONS},exports.getDefaultImperialUnit=function(t){return l.imperial[t]},exports.getDefaultUnits=function(){return l.custom},exports.getUniqueUnitsByType=function(t){var e=v(t);return r.uniqBy(e,"abbr")},exports.getUnitDescription=function(t){var e,r=null===(e=n.UNIT_TYPES_DEFINITIONS_MAP[t])||void 0===e?void 0:e.origin;return u.default(void 0,r).describe(t)},exports.getUnitDisplay=d,exports.getUnitPlural=function(t){var e,r=null===(e=n.UNIT_TYPES_DEFINITIONS_MAP[t])||void 0===e?void 0:e.origin;return p[t]?d(t):u.default(void 0,r).describe(f(t)).plural},exports.getUnitPreference=f,exports.getUnitSingular=function(t){var e,r=null===(e=n.UNIT_TYPES_DEFINITIONS_MAP[t])||void 0===e?void 0:e.origin;return p[t]?d(t):u.default(void 0,r).describe(f(t)).singular},exports.getUnitSystem=function(){return"custom"},exports.getUnitsByType=v,exports.getUserUnits=function(){return l.custom},exports.subscribeForUserUnitsUpdates=function(t){return c.push(t),function(){c=c.filter((function(e){return e!==t}))}},exports.updateUserUnits=function(t){var e,i,o=t.userUnits,u=void 0===o?{}:o,s=t.companyUnits,f=void 0===s?{}:s,v=t.companyCustomUnitSystem,d=void 0===v?{}:v,m=t.userCustomUnitSystem,g=void 0===m?{}:m,I=t.companyCustomUnits;l.custom=a(a(a(a(a({},n.IMPERIAL_UNITS),f),d),u),g),I&&(e=I,p=r.mapValues(e||{},(function(t,e){var r=t.measures;return{display:t.name,imperial:e,measures:r.map((function(t){return{abbr:t.abbr,display:t.name,measure:t.abbr,plural:t.name,singular:t.name,system:"custom"}})),metric:e,origin:e,type:e}}))),i=l.custom,c.forEach((function(t){return t(i)}))};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../convert.js"),t=require("./utils.js"),i={label:"Hole Depth",key:"hole_depth",isBiggestBest:!0,unitType:"length",from:"ft",convertForMultiRigs:t.getMax},o={label:"Total Distance Drilled",key:"hole_depth_change",unitType:"length",from:"ft",isBiggestBest:!0,convertForMultiRigs:t.getSum},r={label:"Rotary Distance Drilled",key:"drilled_feet_rotary",unitType:"length",from:"ft",isBiggestBest:!0,convertForMultiRigs:t.getSum},n={label:"Slide Distance Drilled",key:"drilled_feet_slide",unitType:"length",from:"ft",convertForMultiRigs:t.getSum},l={label:"Rotary %",key:"drilled_feet_rotary_percentage",to:"%",customConvert:t.convertPercentageMetrics,isBiggestBest:!0,convertForMultiRigs:t.getAverage},_={label:"Slide %",key:"drilled_feet_slide_percentage",to:"%",customConvert:t.convertPercentageMetrics,convertForMultiRigs:t.getAverage},p={label:"Drilling %",key:"drilling_percentage",to:"%",customConvert:t.convertPercentageMetrics,isBiggestBest:!0},s={label:"On-Bottom ROP",key:"rop",unitType:"velocity",from:"ft/h",isBiggestBest:!0,convertForMultiRigs:t.getAverage},g={label:"Rotary ROP",key:"rop_rotary",unitType:"velocity",from:"ft/h",isBiggestBest:!0,convertForMultiRigs:t.getAverage},a={label:"Slide ROP",key:"rop_slide",unitType:"velocity",from:"ft/h",isBiggestBest:!0,convertForMultiRigs:t.getAverage},u={label:"Gross ROP",key:"rop_gross",unitType:"velocity",from:"ft/h",isBiggestBest:!0,convertForMultiRigs:t.getAverage},m={label:"Drilled Distance/Day",key:"feet_per_day",unitType:"length",from:"ft",formatUnitDisplay:function(e){return"".concat(e,"/day")},isBiggestBest:!0,convertForMultiRigs:t.getAverage},c={label:"On Bottom Time",key:"on_bottom_time",to:"h",convertForMultiRigs:t.getSum},y={label:"On Bottom %",key:"on_bottom_percentage",to:"%",customConvert:t.convertPercentageMetrics,isBiggestBest:!0,convertForMultiRigs:t.getAverage},d={label:"Slips to Slips",key:"drilling_connection_average",to:"min",unitType:"time",from:"s",convertForMultiRigs:t.getAverage},h={label:"Weight to Weight",key:"weight_to_weight_average",to:"min",from:"s",unitType:"time",convertForMultiRigs:t.getAverage},v={label:"Bottom to Slips",key:"bottom_to_slips_average",to:"min",from:"s",unitType:"time",convertForMultiRigs:t.getAverage},f={label:"Slips to Bottom",key:"slips_to_bottom_average",to:"min",from:"s",unitType:"time",convertForMultiRigs:t.getAverage},T={label:"Pumps on to Bottom",key:"pumps_on_to_bottom_average",to:"min",from:"s",unitType:"time",convertForMultiRigs:t.getAverage},b={label:"Hole Tripping In Speed",key:"tripping_in_speed",unitType:"velocity",from:"ft/h",isBiggestBest:!0,convertForMultiRigs:t.getAverage},x={label:"Hole Tripping Out Speed",key:"tripping_out_speed",unitType:"velocity",from:"ft/h",isBiggestBest:!0,convertForMultiRigs:t.getAverage},k={label:"Cased Hole Tripping In Speed",key:"tripping_in_speed_cased",unitType:"velocity",from:"ft/h",isBiggestBest:!0,convertForMultiRigs:t.getAverage},R={label:"Cased Hole Tripping Out Speed",key:"tripping_out_speed_cased",unitType:"velocity",from:"ft/h",isBiggestBest:!0,convertForMultiRigs:t.getAverage},M={label:"Open Hole Tripping In Speed",key:"tripping_in_speed_open",unitType:"velocity",from:"ft/h",isBiggestBest:!0,convertForMultiRigs:t.getAverage},B={label:"Open Hole Tripping Out Speed",key:"tripping_out_speed_open",unitType:"velocity",from:"ft/h",isBiggestBest:!0,convertForMultiRigs:t.getAverage},F={label:"Casing Slips to Slips",key:"slips_to_slips_average",to:"min",from:"s",unitType:"time",convertForMultiRigs:t.getAverage},S={label:"Cased Hole Tripping In Speed (with connection)",key:"gross_tripping_in_speed_cased",unitType:"velocity",from:"ft/h",convertForMultiRigs:t.getAverage},C={label:"Open Hole Tripping In Speed (with connection)",key:"gross_tripping_in_speed_open",unitType:"velocity",from:"ft/h",convertForMultiRigs:t.getAverage},D={label:"Entire Hole Tripping In Speed (with connection)",key:"gross_tripping_in_speed",unitType:"velocity",from:"ft/h",convertForMultiRigs:t.getAverage},A={label:"Gross Tripping In Speed",key:"gross_tripping_in_speed_total",unitType:"velocity",from:"ft/h",convertForMultiRigs:t.getAverage},w={label:"Gross Tripping Out Speed",key:"gross_tripping_out_speed_total",unitType:"velocity",from:"ft/h",convertForMultiRigs:t.getAverage},H={label:"Cost/".concat(e.getUnitDescription(e.getUnitPreference("length")).singular),key:"cost_per_ft",customConvert:function(t){return t/e.convertValue(1,"length","ft")},convertForMultiRigs:t.getAverage},P={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")},convertForMultiRigs:t.getAverage},O={label:"NPT",key:"npt",unitType:"time",from:"h",to:"h",convertForMultiRigs:t.getSum},I={label:"Circulating Time",key:"circulating_time",unitType:"time",from:"h",to:"h",convertForMultiRigs:t.getSum},U={label:"Spud to Rig Release",key:"spud_to_rig_release_time",unitType:"time",from:"h",to:"d",convertForMultiRigs:t.getMax},L={label:"Spud to Target",key:"spud_to_target",unitType:"time",from:"h",to:"d",convertForMultiRigs:t.getMax},N={label:"Spud to Total Depth",key:"spud_to_total_depth_time",unitType:"time",from:"h",to:"d",convertForMultiRigs:t.getMax},j={label:"Spud to Landing Point",key:"spud_to_landing_point",unitType:"time",from:"h",to:"d",convertForMultiRigs:t.getMax},q={label:"Cumulative Tortuosity",key:"cumulative_tortuosity",convertForMultiRigs:t.getAverage},E={label:"Drilling Stand Count",key:"weight_to_weight_count",convertForMultiRigs:t.getSum},G={label:"Tripping Connection Count",key:"tripping_connection_count",convertForMultiRigs:t.getSum},W={label:"Casing Stand Count",key:"slips_to_slips_count",convertForMultiRigs:t.getSum};exports.achieve_frac_design_injection_rate_timelog_hal={label:"Achieve Frac Design Injection Rate",key:"achieve_frac_design_injection_rate_timelog_hal",unitType:"time",from:"h",to:"h"},exports.bha_count={label:"Total BHA's",key:"bha_count"},exports.bop_pressure_function_test_timelog_hal={label:"BOP Pressure & Function Test",key:"bop_pressure_function_test_timelog_hal",unitType:"time",from:"h",to:"h"},exports.bop_wellhead_xmt_nu_nd_timelog_hal={label:"BOP/Wellhead/XMT NU/ND",key:"bop_wellhead_xmt_nu_nd_timelog_hal",unitType:"time",from:"h",to:"h"},exports.bottom_to_slips_average=v,exports.build_rate={label:"Build Rate",key:"build_rate",unitType:"anglePerLength",from:"dp100f",allowNegativeValue:!0},exports.circulating_time=I,exports.cost_per_ft=H,exports.cost_per_lat_ft=P,exports.cumulative_tortuosity=q,exports.drill_fit_lot_timelog_hal={label:"Drill & FIT/LOT",key:"drill_fit_lot_timelog_hal",unitType:"time",from:"h",to:"h"},exports.drilled_feet_rotary=r,exports.drilled_feet_rotary_percentage=l,exports.drilled_feet_slide=n,exports.drilled_feet_slide_percentage=_,exports.drilling_connection_average=d,exports.drilling_percentage=p,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.drillout_casing_shoe_track_timelog_hal={label:"Drillout Casing Shoe Track",key:"drillout_casing_shoe_track_timelog_hal",unitType:"time",from:"h",to:"h"},exports.feet_per_day=m,exports.gross_time={label:"Gross Time",key:"gross_time",unitType:"time",from:"s",to:"h"},exports.gross_tripping_in_speed=D,exports.gross_tripping_in_speed_cased=S,exports.gross_tripping_in_speed_open=C,exports.gross_tripping_in_speed_total=A,exports.gross_tripping_in_time_cased={label:"Cased Hole Tripping In Time (with connection)",key:"gross_tripping_in_time_cased",unitType:"time",from:"min"},exports.gross_tripping_in_time_open={label:"Open Hole Tripping In Time (with connection)",key:"gross_tripping_in_time_open",unitType:"time",from:"min"},exports.gross_tripping_out_speed_total=w,exports.hole_depth=i,exports.hole_depth_change=o,exports.install_retrieve_wear_bushing_timelog_hal={label:"Install / Retrieve Wear Bushing",key:"install_retrieve_wear_bushing_timelog_hal",unitType:"time",from:"h",to:"h"},exports.npt=O,exports.nu_nd_diverter_timelog_hal={label:"NU/ND Diverter",key:"nu_nd_diverter_timelog_hal",unitType:"time",from:"h",to:"h"},exports.on_bottom_percentage=y,exports.on_bottom_time=c,exports.p_u_l_d_bha_timelog_hal={label:"P/U & L/D BHA",key:"p_u_l_d_bha_timelog_hal",unitType:"time",from:"h",to:"h"},exports.pressure_test_timelog_hal={label:"Pressure Test",key:"pressure_test_timelog_hal",unitType:"time",from:"h",to:"h"},exports.pumps_on_to_bottom_average=T,exports.rop=s,exports.rop_gross=u,exports.rop_rotary=g,exports.rop_slide=a,exports.ru_rd_casing_handling_equip_timelog_hal={label:"RU/RD Casing Handling Equip",key:"ru_rd_casing_handling_equip_timelog_hal",unitType:"time",from:"h",to:"h"},exports.ru_rd_frac_head_timelog_hal={label:"RU/RD Frac Head",key:"ru_rd_frac_head_timelog_hal",unitType:"time",from:"h",to:"h"},exports.ru_rd_lubricator_perf_guns_timelog_hal={label:"RU/RD Lubricator & Perf Guns",key:"ru_rd_lubricator_perf_guns_timelog_hal",unitType:"time",from:"h",to:"h"},exports.ru_rd_mpd_system_or_rcd_timelog_hal={label:"RU/RD MPD System or RCD",key:"ru_rd_mpd_system_or_rcd_timelog_hal",unitType:"time",from:"h",to:"h"},exports.ru_rd_wireline_timelog_hal={label:"RU/RD Wireline",key:"ru_rd_wireline_timelog_hal",unitType:"time",from:"h",to:"h"},exports.slip_cut_timelog_hal={label:"Slip & Cut",key:"slip_cut_timelog_hal",unitType:"time",from:"h",to:"h"},exports.slips_to_bottom_average=f,exports.slips_to_slips=F,exports.slips_to_slips_count=W,exports.spud_to_landing_point=j,exports.spud_to_rig_release_time=U,exports.spud_to_target=L,exports.spud_to_total_depth_time=N,exports.survey_time_timelog_hal={label:"Survey Time",key:"survey_time_timelog_hal",unitType:"time",from:"h",to:"h"},exports.tripping_connection_count=G,exports.tripping_in_connection_time={label:"Tripping in (Connection)",key:"tripping_in_connection_time",unitType:"time",from:"min"},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=b,exports.tripping_in_speed_cased=k,exports.tripping_in_speed_open=M,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_connection_time={label:"Tripping out (Connection)",key:"tripping_out_connection_time",unitType:"time",from:"min"},exports.tripping_out_speed=x,exports.tripping_out_speed_cased=R,exports.tripping_out_speed_open=B,exports.turn_rate={label:"Turn Rate",key:"turn_rate",unitType:"anglePerLength",from:"dp100f",allowNegativeValue:!0},exports.weight_to_weight_average=h,exports.weight_to_weight_count=E;
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../convert.js"),t=require("./utils.js"),i={label:"Hole Depth",key:"hole_depth",isBiggestBest:!0,unitType:"length",from:"ft",convertForMultiRigs:t.getMax},o={label:"Total Distance Drilled",key:"hole_depth_change",unitType:"length",from:"ft",isBiggestBest:!0,convertForMultiRigs:t.getSum},r={label:"Rotary Distance Drilled",key:"drilled_feet_rotary",unitType:"length",from:"ft",isBiggestBest:!0,convertForMultiRigs:t.getSum},n={label:"Slide Distance Drilled",key:"drilled_feet_slide",unitType:"length",from:"ft",convertForMultiRigs:t.getSum},l={label:"Rotary %",key:"drilled_feet_rotary_percentage",to:"%",customConvert:t.convertPercentageMetrics,isBiggestBest:!0,convertForMultiRigs:t.getAverage},_={label:"Slide %",key:"drilled_feet_slide_percentage",to:"%",customConvert:t.convertPercentageMetrics,convertForMultiRigs:t.getAverage},p={label:"Drilling %",key:"drilling_percentage",to:"%",customConvert:t.convertPercentageMetrics,isBiggestBest:!0},s={label:"On-Bottom ROP",key:"rop",unitType:"velocity",from:"ft/h",isBiggestBest:!0,convertForMultiRigs:t.getAverage},g={label:"Rotary ROP",key:"rop_rotary",unitType:"velocity",from:"ft/h",isBiggestBest:!0,convertForMultiRigs:t.getAverage},a={label:"Slide ROP",key:"rop_slide",unitType:"velocity",from:"ft/h",isBiggestBest:!0,convertForMultiRigs:t.getAverage},u={label:"Gross ROP",key:"rop_gross",unitType:"velocity",from:"ft/h",isBiggestBest:!0,convertForMultiRigs:t.getAverage},m={label:"Drilled Distance/Day",key:"feet_per_day",unitType:"length",from:"ft",formatUnitDisplay:function(e){return"".concat(e,"/day")},isBiggestBest:!0,convertForMultiRigs:t.getAverage},c={label:"On Bottom Time",key:"on_bottom_time",to:"h",convertForMultiRigs:t.getSum},y={label:"On Bottom %",key:"on_bottom_percentage",to:"%",customConvert:t.convertPercentageMetrics,isBiggestBest:!0,convertForMultiRigs:t.getAverage},d={label:"Slips to Slips",key:"drilling_connection_average",to:"min",unitType:"time",from:"s",convertForMultiRigs:t.getAverage},h={label:"Weight to Weight",key:"weight_to_weight_average",to:"min",from:"s",unitType:"time",convertForMultiRigs:t.getAverage},v={label:"Bottom to Slips",key:"bottom_to_slips_average",to:"min",from:"s",unitType:"time",convertForMultiRigs:t.getAverage},f={label:"Slips to Bottom",key:"slips_to_bottom_average",to:"min",from:"s",unitType:"time",convertForMultiRigs:t.getAverage},T={label:"Pumps on to Bottom",key:"pumps_on_to_bottom_average",to:"min",from:"s",unitType:"time",convertForMultiRigs:t.getAverage},b={label:"Hole Tripping In Speed",key:"tripping_in_speed",unitType:"velocity",from:"ft/h",isBiggestBest:!0,convertForMultiRigs:t.getAverage},x={label:"Hole Tripping Out Speed",key:"tripping_out_speed",unitType:"velocity",from:"ft/h",isBiggestBest:!0,convertForMultiRigs:t.getAverage},k={label:"Cased Hole Tripping In Speed",key:"tripping_in_speed_cased",unitType:"velocity",from:"ft/h",isBiggestBest:!0,convertForMultiRigs:t.getAverage},R={label:"Cased Hole Tripping Out Speed",key:"tripping_out_speed_cased",unitType:"velocity",from:"ft/h",isBiggestBest:!0,convertForMultiRigs:t.getAverage},M={label:"Open Hole Tripping In Speed",key:"tripping_in_speed_open",unitType:"velocity",from:"ft/h",isBiggestBest:!0,convertForMultiRigs:t.getAverage},B={label:"Open Hole Tripping Out Speed",key:"tripping_out_speed_open",unitType:"velocity",from:"ft/h",isBiggestBest:!0,convertForMultiRigs:t.getAverage},F={label:"Casing Slips to Slips",key:"slips_to_slips_average",to:"min",from:"s",unitType:"time",convertForMultiRigs:t.getAverage},S={label:"Cased Hole Tripping In Speed (with connection)",key:"gross_tripping_in_speed_cased",unitType:"velocity",from:"ft/h",convertForMultiRigs:t.getAverage},C={label:"Open Hole Tripping In Speed (with connection)",key:"gross_tripping_in_speed_open",unitType:"velocity",from:"ft/h",convertForMultiRigs:t.getAverage},D={label:"Entire Hole Tripping In Speed (with connection)",key:"gross_tripping_in_speed",unitType:"velocity",from:"ft/h",convertForMultiRigs:t.getAverage},A={label:"Gross Tripping In Speed",key:"gross_tripping_in_speed_total",unitType:"velocity",from:"ft/h",convertForMultiRigs:t.getAverage},w={label:"Gross Tripping Out Speed",key:"gross_tripping_out_speed_total",unitType:"velocity",from:"ft/h",convertForMultiRigs:t.getAverage},P={label:"Cost/".concat(e.getUnitDescription(e.getUnitPreference("length")).singular),labelFunc:function(){return"Cost/".concat(e.getUnitDescription(e.getUnitPreference("length")).singular)},key:"cost_per_ft",customConvert:function(t){return t/e.convertValue(1,"length","ft")},convertForMultiRigs:t.getAverage},H={label:"Lateral Cost/".concat(e.getUnitDescription(e.getUnitPreference("length")).singular),labelFunc:function(){return"Lateral Cost/".concat(e.getUnitDescription(e.getUnitPreference("length")).singular)},key:"cost_per_lat_ft",customConvert:function(t){return t/e.convertValue(1,"length","ft")},convertForMultiRigs:t.getAverage},O={label:"NPT",key:"npt",unitType:"time",from:"h",to:"h",convertForMultiRigs:t.getSum},I={label:"Circulating Time",key:"circulating_time",unitType:"time",from:"h",to:"h",convertForMultiRigs:t.getSum},U={label:"Spud to Rig Release",key:"spud_to_rig_release_time",unitType:"time",from:"h",to:"d",convertForMultiRigs:t.getMax},L={label:"Spud to Target",key:"spud_to_target",unitType:"time",from:"h",to:"d",convertForMultiRigs:t.getMax},N={label:"Spud to Total Depth",key:"spud_to_total_depth_time",unitType:"time",from:"h",to:"d",convertForMultiRigs:t.getMax},j={label:"Spud to Landing Point",key:"spud_to_landing_point",unitType:"time",from:"h",to:"d",convertForMultiRigs:t.getMax},q={label:"Cumulative Tortuosity",key:"cumulative_tortuosity",convertForMultiRigs:t.getAverage},E={label:"Drilling Stand Count",key:"weight_to_weight_count",convertForMultiRigs:t.getSum},G={label:"Tripping Connection Count",key:"tripping_connection_count",convertForMultiRigs:t.getSum},W={label:"Casing Stand Count",key:"slips_to_slips_count",convertForMultiRigs:t.getSum};exports.achieve_frac_design_injection_rate_timelog_hal={label:"Achieve Frac Design Injection Rate",key:"achieve_frac_design_injection_rate_timelog_hal",unitType:"time",from:"h",to:"h"},exports.bha_count={label:"Total BHA's",key:"bha_count"},exports.bop_pressure_function_test_timelog_hal={label:"BOP Pressure & Function Test",key:"bop_pressure_function_test_timelog_hal",unitType:"time",from:"h",to:"h"},exports.bop_wellhead_xmt_nu_nd_timelog_hal={label:"BOP/Wellhead/XMT NU/ND",key:"bop_wellhead_xmt_nu_nd_timelog_hal",unitType:"time",from:"h",to:"h"},exports.bottom_to_slips_average=v,exports.build_rate={label:"Build Rate",key:"build_rate",unitType:"anglePerLength",from:"dp100f",allowNegativeValue:!0},exports.circulating_time=I,exports.cost_per_ft=P,exports.cost_per_lat_ft=H,exports.cumulative_tortuosity=q,exports.drill_fit_lot_timelog_hal={label:"Drill & FIT/LOT",key:"drill_fit_lot_timelog_hal",unitType:"time",from:"h",to:"h"},exports.drilled_feet_rotary=r,exports.drilled_feet_rotary_percentage=l,exports.drilled_feet_slide=n,exports.drilled_feet_slide_percentage=_,exports.drilling_connection_average=d,exports.drilling_percentage=p,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.drillout_casing_shoe_track_timelog_hal={label:"Drillout Casing Shoe Track",key:"drillout_casing_shoe_track_timelog_hal",unitType:"time",from:"h",to:"h"},exports.feet_per_day=m,exports.gross_time={label:"Gross Time",key:"gross_time",unitType:"time",from:"s",to:"h"},exports.gross_tripping_in_speed=D,exports.gross_tripping_in_speed_cased=S,exports.gross_tripping_in_speed_open=C,exports.gross_tripping_in_speed_total=A,exports.gross_tripping_in_time_cased={label:"Cased Hole Tripping In Time (with connection)",key:"gross_tripping_in_time_cased",unitType:"time",from:"min"},exports.gross_tripping_in_time_open={label:"Open Hole Tripping In Time (with connection)",key:"gross_tripping_in_time_open",unitType:"time",from:"min"},exports.gross_tripping_out_speed_total=w,exports.hole_depth=i,exports.hole_depth_change=o,exports.install_retrieve_wear_bushing_timelog_hal={label:"Install / Retrieve Wear Bushing",key:"install_retrieve_wear_bushing_timelog_hal",unitType:"time",from:"h",to:"h"},exports.npt=O,exports.nu_nd_diverter_timelog_hal={label:"NU/ND Diverter",key:"nu_nd_diverter_timelog_hal",unitType:"time",from:"h",to:"h"},exports.on_bottom_percentage=y,exports.on_bottom_time=c,exports.p_u_l_d_bha_timelog_hal={label:"P/U & L/D BHA",key:"p_u_l_d_bha_timelog_hal",unitType:"time",from:"h",to:"h"},exports.pressure_test_timelog_hal={label:"Pressure Test",key:"pressure_test_timelog_hal",unitType:"time",from:"h",to:"h"},exports.pumps_on_to_bottom_average=T,exports.rop=s,exports.rop_gross=u,exports.rop_rotary=g,exports.rop_slide=a,exports.ru_rd_casing_handling_equip_timelog_hal={label:"RU/RD Casing Handling Equip",key:"ru_rd_casing_handling_equip_timelog_hal",unitType:"time",from:"h",to:"h"},exports.ru_rd_frac_head_timelog_hal={label:"RU/RD Frac Head",key:"ru_rd_frac_head_timelog_hal",unitType:"time",from:"h",to:"h"},exports.ru_rd_lubricator_perf_guns_timelog_hal={label:"RU/RD Lubricator & Perf Guns",key:"ru_rd_lubricator_perf_guns_timelog_hal",unitType:"time",from:"h",to:"h"},exports.ru_rd_mpd_system_or_rcd_timelog_hal={label:"RU/RD MPD System or RCD",key:"ru_rd_mpd_system_or_rcd_timelog_hal",unitType:"time",from:"h",to:"h"},exports.ru_rd_wireline_timelog_hal={label:"RU/RD Wireline",key:"ru_rd_wireline_timelog_hal",unitType:"time",from:"h",to:"h"},exports.slip_cut_timelog_hal={label:"Slip & Cut",key:"slip_cut_timelog_hal",unitType:"time",from:"h",to:"h"},exports.slips_to_bottom_average=f,exports.slips_to_slips=F,exports.slips_to_slips_count=W,exports.spud_to_landing_point=j,exports.spud_to_rig_release_time=U,exports.spud_to_target=L,exports.spud_to_total_depth_time=N,exports.survey_time_timelog_hal={label:"Survey Time",key:"survey_time_timelog_hal",unitType:"time",from:"h",to:"h"},exports.tripping_connection_count=G,exports.tripping_in_connection_time={label:"Tripping in (Connection)",key:"tripping_in_connection_time",unitType:"time",from:"min"},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=b,exports.tripping_in_speed_cased=k,exports.tripping_in_speed_open=M,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_connection_time={label:"Tripping out (Connection)",key:"tripping_out_connection_time",unitType:"time",from:"min"},exports.tripping_out_speed=x,exports.tripping_out_speed_cased=R,exports.tripping_out_speed_open=B,exports.turn_rate={label:"Turn Rate",key:"turn_rate",unitType:"anglePerLength",from:"dp100f",allowNegativeValue:!0},exports.weight_to_weight_average=h,exports.weight_to_weight_count=E;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/components/OffsetWellPickerV2/constants.js"],"names":[],"mappings":";;;;;;;;AAeA;;;;;IAqCE;AAEF
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/components/OffsetWellPickerV2/constants.js"],"names":[],"mappings":";;;;;;;;AAeA;;;;;IAqCE;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAqCE;AAEF,oCAA+D;AAE/D;;;;;;;;;;KAqBE;;;;;;AAIF,kCAAmC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/components/OffsetWellPickerV3/components/CustomSelectionView/constants.js"],"names":[],"mappings":";;;;;;;;;AAgBA;;;;;IA2CE;AAEF
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/components/OffsetWellPickerV3/components/CustomSelectionView/constants.js"],"names":[],"mappings":";;;;;;;;;AAgBA;;;;;IA2CE;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAqCE;AAEF,oCAA+D;AAE/D;;;;;;;;;;KAqBE;;;;;;AAIF,kCAAmC;AAEnC,wCAYE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/components/OffsetWellPickerV4/constants.js"],"names":[],"mappings":"AAGA,sCAAuC;AACvC,qCAAsC;;;;;;;;AAQtC,mCAAoC;AACpC,yCAA0C;AAC1C,2CAA4C;AAE5C,uCAAwC;AACxC,+BAAgC;AAChC,2CAA4C;AAC5C,mCAAoC;AAEpC,oCAAqC;AACrC,sCAAuC;AACvC,2CAA4C;AAC5C,+BAAgC;AAChC,4BAA6B;AAC7B,sCAAuC;;;;;;;;;;;;;;;;AAmBvC;;;IA6BE;;;;;;;;AAUF;;;IAME;;;;;;;;;;;;AAYF;;;;;IA2CE;AAEF;;;IAOE;AAEF,kCAAmC;AAEnC
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/components/OffsetWellPickerV4/constants.js"],"names":[],"mappings":"AAGA,sCAAuC;AACvC,qCAAsC;;;;;;;;AAQtC,mCAAoC;AACpC,yCAA0C;AAC1C,2CAA4C;AAE5C,uCAAwC;AACxC,+BAAgC;AAChC,2CAA4C;AAC5C,mCAAoC;AAEpC,oCAAqC;AACrC,sCAAuC;AACvC,2CAA4C;AAC5C,+BAAgC;AAChC,4BAA6B;AAC7B,sCAAuC;;;;;;;;;;;;;;;;AAmBvC;;;IA6BE;;;;;;;;AAUF;;;IAME;;;;;;;;;;;;AAYF;;;;;IA2CE;AAEF;;;IAOE;AAEF,kCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAqCE;;;;;;;;;;AAWF,yCAYE;AAEF;;EAME;AAEF,sDAAuD"}
|
package/constants/goals.d.ts
CHANGED
package/constants/goals.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"goals.d.ts","sourceRoot":"","sources":["../../src/constants/goals.js"],"names":[],"mappings":"AAEA,uDAAwD;AAGxD,2DAA4D;AAC5D,6DAA8D;AAC9D,+DAAgE;AAChE,6DAA8D;AAG9D,sEAAuE;AAGvE,mDAAoD;AACpD,iEAAkE;AAClE,+CAAgD;AAChD,+DAAgE;AAChE,mDAAoD;AACpD,2DAA4D;AAC5D,6EAA8E;AAC9E,6EAA8E;AAG9E;;;;;;;;;;;;;;;;;;;KAUE;AAGF;;;;;;;;;;IAKE;AAGF
|
|
1
|
+
{"version":3,"file":"goals.d.ts","sourceRoot":"","sources":["../../src/constants/goals.js"],"names":[],"mappings":"AAEA,uDAAwD;AAGxD,2DAA4D;AAC5D,6DAA8D;AAC9D,+DAAgE;AAChE,6DAA8D;AAG9D,sEAAuE;AAGvE,mDAAoD;AACpD,iEAAkE;AAClE,+CAAgD;AAChD,+DAAgE;AAChE,mDAAoD;AACpD,2DAA4D;AAC5D,6EAA8E;AAC9E,6EAA8E;AAG9E;;;;;;;;;;;;;;;;;;;KAUE;AAGF;;;;;;;;;;IAKE;AAGF;;;;;;;;;;;;KAOE;AAGF;;;;;;;IAAiE;AAGjE;;;IAiCE"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@corva/ui",
|
|
3
|
-
"version": "0.89.0-
|
|
3
|
+
"version": "0.89.0-3",
|
|
4
4
|
"description": "Shared components/utils for Corva ui projects",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"corva-ui"
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
"chalk": "4.1.1",
|
|
100
100
|
"chroma-js": "1.4.1",
|
|
101
101
|
"classnames": "2.2.6",
|
|
102
|
-
"corva-convert-units": "1.
|
|
102
|
+
"corva-convert-units": "1.17.0",
|
|
103
103
|
"dompurify": "3.0.6",
|
|
104
104
|
"dotenv": "^10.0.0",
|
|
105
105
|
"echarts": "^5.4.3",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"convert.fixture.d.ts","sourceRoot":"","sources":["../../../../src/utils/__tests__/fixtures/convert.fixture.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"convert.fixture.d.ts","sourceRoot":"","sources":["../../../../src/utils/__tests__/fixtures/convert.fixture.js"],"names":[],"mappings":"AAEA;;;;;;;IAyCE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqDF,8BAME"}
|
|
@@ -153,4 +153,16 @@ export namespace METRIC_UNITS {
|
|
|
153
153
|
const strokesRate_1: string;
|
|
154
154
|
export { strokesRate_1 as strokesRate };
|
|
155
155
|
}
|
|
156
|
+
/**
|
|
157
|
+
* Map of all unit types matching its definition
|
|
158
|
+
*
|
|
159
|
+
* @return {[type]:{
|
|
160
|
+
* display: string,
|
|
161
|
+
* imperial: string,
|
|
162
|
+
* metric: string,
|
|
163
|
+
* origin: string,
|
|
164
|
+
* type: string,
|
|
165
|
+
* }}
|
|
166
|
+
*/
|
|
167
|
+
export const UNIT_TYPES_DEFINITIONS_MAP: {};
|
|
156
168
|
//# sourceMappingURL=units.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"units.d.ts","sourceRoot":"","sources":["../../../src/utils/constants/units.js"],"names":[],"mappings":"AAAA;;;;;;
|
|
1
|
+
{"version":3,"file":"units.d.ts","sourceRoot":"","sources":["../../../src/utils/constants/units.js"],"names":[],"mappings":"AAAA;;;;;;IAwVE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwGF;;;;;;;;;;GAUG;AACH,4CAKO"}
|
package/utils/constants/units.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var e=[{display:"Angle",imperial:"deg",metric:"deg",origin:"angle",type:"angle"},{display:"Angle Per Length",imperial:"dp100f",metric:"dp30m",origin:"anglePerLength",type:"anglePerLength"},{display:"Angular Velocity",imperial:"rpm",metric:"rpm",origin:"angularVelocity",type:"angularVelocity"},{display:"Area",imperial:"ft2",metric:"m2",origin:"area",type:"area"},{display:"Current",imperial:"mA",metric:"mA",origin:"current",type:"current"},{display:"Density",imperial:"ppg",metric:"kg/m3",origin:"density",type:"density"},{display:"Fluid Velocity",imperial:"ft/min",metric:"m/min",origin:"speed",type:"fluidVelocity"},{display:"Force",imperial:"klbf",metric:"kdaN",origin:"force",type:"force"},{display:"Length",imperial:"ft",metric:"m",origin:"length",type:"length"},{display:"Length Per Angle",imperial:"in/rev",metric:"mm/rev",origin:"lengthPerAngle",type:"lengthPerAngle"},{display:"Mass",imperial:"lb",metric:"kg",origin:"mass",type:"mass"},{display:"Mass Concentration",imperial:"lb/gal",metric:"kg/m3",origin:"density",type:"massConcentration"},{display:"Mass Concentration (Chemical)",imperial:"lb/Mgal",metric:"kg/m3",origin:"density",type:"chemMassConcentration"},{display:"Mass Flow Rate",imperial:"lb/min",metric:"kg/min",origin:"massFlowRate",type:"massFlowRate"},{display:"Mass Per Length",imperial:"lb-ft",metric:"kg-m",origin:"mpl",type:"massPerLength"},{display:"Mse Pressure",imperial:"ksi",metric:"kPa",origin:"pressure",type:"msePressure"},{display:"Oil",imperial:"bbl",metric:"m3",origin:"volume",type:"oil"},{display:"Oil Flow Rate",imperial:"bbl/min",metric:"m3/min",origin:"volumeFlowRate",type:"oilFlowRate"},{display:"Power",imperial:"hp",metric:"watt",origin:"power",type:"power"},{display:"Pressure",imperial:"psi",metric:"kPa",origin:"pressure",type:"pressure"},{display:"Inverse Pressure",imperial:"i-psi",metric:"i-pa",origin:"inversePressure",type:"inversePressure"},{display:"Pressure Gradient",imperial:"psi/ft",metric:"kPa/m",origin:"pressureGradient",type:"pressureGradient"},{display:"Revolution Per Volume",imperial:"rpg",metric:"rpl",origin:"revolutionPerVolume",type:"revolutionPerVolume"},{display:"Short Length",imperial:"in",metric:"mm",origin:"length",type:"shortLength"},{display:"Speed",imperial:"ft/h",metric:"m/h",origin:"speed",type:"speed"},{display:"Temperature",imperial:"F",metric:"C",origin:"temperature",type:"temperature"},{display:"Time",imperial:"min",metric:"min",origin:"time",type:"time"},{display:"Torque",imperial:"ft-klbf",metric:"Nm",origin:"energy",type:"torque"},{display:"Velocity",imperial:"ft/h",metric:"m/h",origin:"speed",type:"velocity"},{display:"Voltage",imperial:"mV",metric:"mV",origin:"voltage",type:"voltage"},{display:"Volume",imperial:"gal",metric:"m3",origin:"volume",type:"volume"},{display:"Volume Concentration",imperial:"gal/Mgal",metric:"l/m3",origin:"volumeConcentration",type:"chemVolumeConcentration"},{display:"Volume Flow Rate",imperial:"gal/min",metric:"m3/min",origin:"volumeFlowRate",type:"volumeFlowRate"},{display:"YP",imperial:"hsf",metric:"Pa",origin:"pressure",type:"yp"},{display:"Resistivity",imperial:"ohmm",metric:"ohmm",origin:"resistivity",type:"resistivity"},{display:"Formation Density",imperial:"lb/gal",metric:"g/m3",origin:"formationDensity",type:"formationDensity"},{display:"Porosity",imperial:"pu",metric:"pu",origin:"porosity",type:"porosity"},{display:"Permeability",imperial:"md",metric:"md",origin:"permiability",type:"permiability"},{display:"Acoustic Slowness",imperial:"us/ft",metric:"us/m",origin:"acousticSlowness",type:"acousticSlowness"},{display:"SP (Spontaneous Potential)",imperial:"mV",metric:"mV",origin:"spontaneousPotential",type:"spontaneousPotential"},{display:"Concentration",imperial:"ppm",metric:"ppm",origin:"concentration",type:"concentration"},{display:"Gas Concentration",imperial:"Units (0-5000u)",metric:"Units (0-5000u)",origin:"gasConcentration",type:"gasConcentration"},{display:"Gas Volume",imperial:"Mscf",metric:"m3",origin:"gasVolume",type:"gasVolume"},{display:"Gas Flow Rate",imperial:"Mscf/day",metric:"m3/day",origin:"gasFlowRate",type:"gasFlowRate"},{display:"Gravity",imperial:"g",metric:"g",origin:"gravity",type:"gravity"},{display:"Gravity RMS",imperial:"gRMS",metric:"gRMS",origin:"gravityRMS",type:"gravityRMS"},{display:"Proportion",imperial:"%",metric:"%",origin:"proportion",type:"proportion"},{display:"Strokes Rate",imperial:"strokes/min",metric:"strokes/min",origin:"strokesRate",type:"strokesRate"}],i={acousticSlowness:"us/ft",angle:"deg",anglePerLength:"dp100f",angularVelocity:"rpm",area:"ft2",chemMassConcentration:"lb/Mgal",chemVolumeConcentration:"gal/Mgal",concentration:"ppm",current:"mA",density:"ppg",fluidVelocity:"ft/min",force:"klbf",formationDensity:"lb/gal",gasConcentration:"Units (0-5000u)",gasVolume:"Mscf",gasFlowRate:"Mscf/day",gravity:"g",gravityRMS:"gRMS",inversePressure:"i-psi",length:"ft",lengthPerAngle:"in/rev",mass:"lb",massConcentration:"lb/gal",massFlowRate:"lb/min",massPerLength:"lb-ft",msePressure:"ksi",oil:"bbl",oilFlowRate:"bbl/min",permiability:"md",porosity:"pu",power:"hp",pressure:"psi",pressureGradient:"psi/ft",resistivity:"ohmm",revolutionPerVolume:"rpg",shortLength:"in",speed:"ft/h",spontaneousPotential:"mV",temperature:"F",time:"min",torque:"ft-klbf",velocity:"ft/h",voltage:"mV",volume:"gal",volumeFlowRate:"gal/min",yp:"hsf",proportion:"%",strokesRate:"strokes/min"},
|
|
1
|
+
var e=[{display:"Angle",imperial:"deg",metric:"deg",origin:"angle",type:"angle"},{display:"Angle Per Length",imperial:"dp100f",metric:"dp30m",origin:"anglePerLength",type:"anglePerLength"},{display:"Angular Velocity",imperial:"rpm",metric:"rpm",origin:"angularVelocity",type:"angularVelocity"},{display:"Area",imperial:"ft2",metric:"m2",origin:"area",type:"area"},{display:"Current",imperial:"mA",metric:"mA",origin:"current",type:"current"},{display:"Density",imperial:"ppg",metric:"kg/m3",origin:"density",type:"density"},{display:"Fluid Velocity",imperial:"ft/min",metric:"m/min",origin:"speed",type:"fluidVelocity"},{display:"Force",imperial:"klbf",metric:"kdaN",origin:"force",type:"force"},{display:"Length",imperial:"ft",metric:"m",origin:"length",type:"length"},{display:"Length Per Angle",imperial:"in/rev",metric:"mm/rev",origin:"lengthPerAngle",type:"lengthPerAngle"},{display:"Mass",imperial:"lb",metric:"kg",origin:"mass",type:"mass"},{display:"Mass Concentration",imperial:"lb/gal",metric:"kg/m3",origin:"density",type:"massConcentration"},{display:"Mass Concentration (Chemical)",imperial:"lb/Mgal",metric:"kg/m3",origin:"density",type:"chemMassConcentration"},{display:"Mass Flow Rate",imperial:"lb/min",metric:"kg/min",origin:"massFlowRate",type:"massFlowRate"},{display:"Mass Per Length",imperial:"lb-ft",metric:"kg-m",origin:"mpl",type:"massPerLength"},{display:"Mse Pressure",imperial:"ksi",metric:"kPa",origin:"pressure",type:"msePressure"},{display:"Oil",imperial:"bbl",metric:"m3",origin:"volume",type:"oil"},{display:"Oil Flow Rate",imperial:"bbl/min",metric:"m3/min",origin:"volumeFlowRate",type:"oilFlowRate"},{display:"Power",imperial:"hp",metric:"watt",origin:"power",type:"power"},{display:"Pressure",imperial:"psi",metric:"kPa",origin:"pressure",type:"pressure"},{display:"Inverse Pressure",imperial:"i-psi",metric:"i-pa",origin:"inversePressure",type:"inversePressure"},{display:"Pressure Gradient",imperial:"psi/ft",metric:"kPa/m",origin:"pressureGradient",type:"pressureGradient"},{display:"Revolution Per Volume",imperial:"rpg",metric:"rpl",origin:"revolutionPerVolume",type:"revolutionPerVolume"},{display:"Short Length",imperial:"in",metric:"mm",origin:"length",type:"shortLength"},{display:"Speed",imperial:"ft/h",metric:"m/h",origin:"speed",type:"speed"},{display:"Temperature",imperial:"F",metric:"C",origin:"temperature",type:"temperature"},{display:"Time",imperial:"min",metric:"min",origin:"time",type:"time"},{display:"Torque",imperial:"ft-klbf",metric:"Nm",origin:"energy",type:"torque"},{display:"Velocity",imperial:"ft/h",metric:"m/h",origin:"speed",type:"velocity"},{display:"Voltage",imperial:"mV",metric:"mV",origin:"voltage",type:"voltage"},{display:"Volume",imperial:"gal",metric:"m3",origin:"volume",type:"volume"},{display:"Volume Concentration",imperial:"gal/Mgal",metric:"l/m3",origin:"volumeConcentration",type:"chemVolumeConcentration"},{display:"Volume Flow Rate",imperial:"gal/min",metric:"m3/min",origin:"volumeFlowRate",type:"volumeFlowRate"},{display:"YP",imperial:"hsf",metric:"Pa",origin:"pressure",type:"yp"},{display:"Resistivity",imperial:"ohmm",metric:"ohmm",origin:"resistivity",type:"resistivity"},{display:"Formation Density",imperial:"lb/gal",metric:"g/m3",origin:"formationDensity",type:"formationDensity"},{display:"Porosity",imperial:"pu",metric:"pu",origin:"porosity",type:"porosity"},{display:"Permeability",imperial:"md",metric:"md",origin:"permiability",type:"permiability"},{display:"Acoustic Slowness",imperial:"us/ft",metric:"us/m",origin:"acousticSlowness",type:"acousticSlowness"},{display:"SP (Spontaneous Potential)",imperial:"mV",metric:"mV",origin:"spontaneousPotential",type:"spontaneousPotential"},{display:"Concentration",imperial:"ppm",metric:"ppm",origin:"concentration",type:"concentration"},{display:"Gas Concentration",imperial:"Units (0-5000u)",metric:"Units (0-5000u)",origin:"gasConcentration",type:"gasConcentration"},{display:"Gas Volume",imperial:"Mscf",metric:"m3",origin:"gasVolume",type:"gasVolume"},{display:"Gas Flow Rate",imperial:"Mscf/day",metric:"m3/day",origin:"gasFlowRate",type:"gasFlowRate"},{display:"Gravity",imperial:"g",metric:"g",origin:"gravity",type:"gravity"},{display:"Gravity RMS",imperial:"gRMS",metric:"gRMS",origin:"gravityRMS",type:"gravityRMS"},{display:"Proportion",imperial:"%",metric:"%",origin:"proportion",type:"proportion"},{display:"Strokes Rate",imperial:"strokes/min",metric:"strokes/min",origin:"strokesRate",type:"strokesRate"},{display:"Gamma Radiation",imperial:"API",metric:"API",origin:"gammaRadiation",type:"gammaRadiation"}],i={acousticSlowness:"us/ft",angle:"deg",anglePerLength:"dp100f",angularVelocity:"rpm",area:"ft2",chemMassConcentration:"lb/Mgal",chemVolumeConcentration:"gal/Mgal",concentration:"ppm",current:"mA",density:"ppg",fluidVelocity:"ft/min",force:"klbf",formationDensity:"lb/gal",gasConcentration:"Units (0-5000u)",gasVolume:"Mscf",gasFlowRate:"Mscf/day",gravity:"g",gravityRMS:"gRMS",inversePressure:"i-psi",length:"ft",lengthPerAngle:"in/rev",mass:"lb",massConcentration:"lb/gal",massFlowRate:"lb/min",massPerLength:"lb-ft",msePressure:"ksi",oil:"bbl",oilFlowRate:"bbl/min",permiability:"md",porosity:"pu",power:"hp",pressure:"psi",pressureGradient:"psi/ft",resistivity:"ohmm",revolutionPerVolume:"rpg",shortLength:"in",speed:"ft/h",spontaneousPotential:"mV",temperature:"F",time:"min",torque:"ft-klbf",velocity:"ft/h",voltage:"mV",volume:"gal",volumeFlowRate:"gal/min",yp:"hsf",proportion:"%",strokesRate:"strokes/min"},t={acousticSlowness:"us/m",angle:"deg",anglePerLength:"dp30m",angularVelocity:"rpm",area:"m2",chemMassConcentration:"kg/m3",chemVolumeConcentration:"l/m3",concentration:"ppm",current:"mA",density:"kg/m3",fluidVelocity:"m/min",force:"kdaN",formationDensity:"g/m3",gasConcentration:"Units (0-5000u)",gasVolume:"m3",gasFlowRate:"m3/day",gravity:"g",gravityRMS:"gRMS",inversePressure:"i-pa",length:"m",lengthPerAngle:"mm/rev",mass:"kg",massConcentration:"kg/m3",massFlowRate:"kg/min",massPerLength:"kg-m",msePressure:"kPa",oil:"m3",oilFlowRate:"m3/min",permiability:"md",porosity:"pu",power:"watt",pressure:"kPa",pressureGradient:"kPa/m",resistivity:"ohmm",revolutionPerVolume:"rpl",shortLength:"mm",speed:"m/h",spontaneousPotential:"mV",temperature:"C",time:"min",torque:"Nm",velocity:"m/h",voltage:"mV",volume:"m3",volumeFlowRate:"m3/min",yp:"Pa",proportion:"%",strokesRate:"strokes/min"},r=e.reduce((function(e,i){return e[i.type]=i,e}),{});export{i as IMPERIAL_UNITS,t as METRIC_UNITS,e as UNIT_DEFINITIONS,r as UNIT_TYPES_DEFINITIONS_MAP};
|
package/utils/convert.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"convert.d.ts","sourceRoot":"","sources":["../../src/utils/convert.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"convert.d.ts","sourceRoot":"","sources":["../../src/utils/convert.js"],"names":[],"mappings":"AAoFA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEC;AAED;;;GAGG;AACH,gFAQC;AAzEM;;;;;;IAA8C;AAE9C,uCAA+C;AAiC/C;IAHqC,SAAS,EAA1C,OAAO,MAAM,EAAE,MAAM,CAAC;IACW,YAAY,EAA7C,OAAO,MAAM,EAAE,MAAM,CAAC;SAsBhC;AAyBM,4CAHI,MAAM,GACJ,MAAM,CAEqD;AAOjE,qCAHI,MAAM,GACJ,KAAQ,CAUpB;AAOM,2CAHI,MAAM,GACJ,KAAQ,CAMpB;AAKM,wCAAsC;AAQtC,yCAJI,MAAM,WACN,MAAM,GACJ,MAAM,CAiBlB;AAQM,2DAAmE;AAYnE,oCARI,MAAM,YACN,MAAM,QACN,MAAM,OACN,MAAM,cACN,MAAM,GAEL,MAAM,CAoBjB;AAYM,kDAPI,MAAM,YACN,MAAM,QACN,MAAM,OACN,MAAM,cACN,MAAM,OAcb;AASG,+EAQJ;AAWI,uCAPI,MAAM,EAAE,EAAE,OACV,MAAM,YACN,MAAM,QACN,MAAM,OACN,MAAM,uBACJ,MAAM,EAAE,EAAE,CAetB;AAOM,0CAHI,MAAM,GACJ,MAAM,CASlB;AAOM,wCAHI,MAAM,GACJ,MAAM,CASlB;AAeM,6CAVI,MAAM;UAEL,MAAM;aACH,MAAM;YACP,MAAM;cACJ,MAAM;YACR,MAAM;aACL,MAAM;EAOpB"}
|
package/utils/convert.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import r from"@babel/runtime/helpers/defineProperty";import n from"corva-convert-units";import{sortBy as t,uniqBy as e,mapValues as i}from"lodash";import{IMPERIAL_UNITS as o,METRIC_UNITS as u,UNIT_DEFINITIONS as c}from"./constants/units.js";function
|
|
1
|
+
import r from"@babel/runtime/helpers/defineProperty";import n from"corva-convert-units";import{sortBy as t,uniqBy as e,mapValues as i}from"lodash";import{IMPERIAL_UNITS as o,METRIC_UNITS as u,UNIT_DEFINITIONS as c,UNIT_TYPES_DEFINITIONS_MAP as a}from"./constants/units.js";function l(r,n){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(r);n&&(e=e.filter((function(n){return Object.getOwnPropertyDescriptor(r,n).enumerable}))),t.push.apply(t,e)}return t}function s(n){for(var t=1;t<arguments.length;t++){var e=null!=arguments[t]?arguments[t]:{};t%2?l(Object(e),!0).forEach((function(t){r(n,t,e[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(e)):l(Object(e)).forEach((function(r){Object.defineProperty(n,r,Object.getOwnPropertyDescriptor(e,r))}))}return n}var v={imperial:o,metric:u,custom:s({},o)},f=[],m={},d=function(){return c},p=function(){return v.custom};var b=function(r){var n,t=r.userUnits,e=void 0===t?{}:t,u=r.companyUnits,c=void 0===u?{}:u,a=r.companyCustomUnitSystem,l=void 0===a?{}:a,d=r.userCustomUnitSystem,p=void 0===d?{}:d,b=r.companyCustomUnits;v.custom=s(s(s(s(s({},o),c),l),e),p),b&&(m=i(b||{},(function(r,n){var t=r.measures;return{display:r.name,imperial:n,measures:t.map((function(r){return{abbr:r.abbr,display:r.name,measure:r.abbr,plural:r.name,singular:r.name,system:"custom"}})),metric:n,origin:n,type:n}}))),n=v.custom,f.forEach((function(r){return r(n)}))};function g(){return v.custom}function y(r){return f.push(r),function(){f=f.filter((function(n){return n!==r}))}}var h=function(r){return v.custom[r]},O=function(r){var e,i=a[r];return i?t(n().list(i.origin),"abbr"):(null===(e=m[r])||void 0===e?void 0:e.measures)||[]},j=function(r){var n=O(r);return e(n,"abbr")},P=function(){return"custom"},w=function(r){var t,e,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,o=null===(t=a[r])||void 0===t?void 0:t.origin,u=n(void 0,o),c=u.getUnit,l=u.describe;if(null===i&&(i=v.custom[r]),c(i))return l(i).display;var s=null===(e=O(r).find((function(r){return r.measure===i})))||void 0===e?void 0:e.display;return s||i},U=function(r){return v.imperial[r]},D=function(r,t,e){var i,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,u=arguments.length>4&&void 0!==arguments[4]?arguments[4]:2;if(!r||!e||e===o||m[t])return r;if(null===o&&(!(o=h(t))||e===o))return r;var c=null===(i=a[t])||void 0===i?void 0:i.origin,l=n(r,c).from(e).to(o);return Number.isFinite(l)?Math.round(l*Math.pow(10,u))/Math.pow(10,u):l},S=function(r,n,t,e){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:2;return r.map((function(r){var u=D(r.get(n),t,e,i,o);return r.set(n,u)}))},C=function(r,n){return r.map((function(r){return n.reduce((function(r,n){var t=n.key,e=n.unitType,i=n.from,o=n.to,u=n.precision,c=r.get(t),a=D(c,e,i,o,u);return r.set(t,a)}),r)}))},E=function(){for(var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1?arguments[1]:void 0,t=arguments.length>2?arguments[2]:void 0,e=arguments.length>3?arguments[3]:void 0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:2,u=0;u<r.length;u+=1)r[u][n]=D(r[u][n],t,e,i,o);return r},M=function(r){var t,e=null===(t=a[r])||void 0===t?void 0:t.origin;return m[r]?w(r):n(void 0,e).describe(h(r)).singular},k=function(r){var t,e=null===(t=a[r])||void 0===t?void 0:t.origin;return m[r]?w(r):n(void 0,e).describe(h(r)).plural},x=function(r){var t,e=null===(t=a[r])||void 0===t?void 0:t.origin;return n(void 0,e).describe(r)};export{E as convertArray,S as convertImmutables,C as convertImmutablesByBatch,D as convertValue,d as getAllUnitTypes,U as getDefaultImperialUnit,p as getDefaultUnits,j as getUniqueUnitsByType,x as getUnitDescription,w as getUnitDisplay,k as getUnitPlural,h as getUnitPreference,M as getUnitSingular,P as getUnitSystem,O as getUnitsByType,g as getUserUnits,y as subscribeForUserUnitsUpdates,b as updateUserUnits};
|
|
@@ -466,6 +466,7 @@ export namespace gross_tripping_out_speed_total {
|
|
|
466
466
|
export namespace cost_per_ft {
|
|
467
467
|
const label_39: string;
|
|
468
468
|
export { label_39 as label };
|
|
469
|
+
export function labelFunc(): string;
|
|
469
470
|
const key_39: string;
|
|
470
471
|
export { key_39 as key };
|
|
471
472
|
export function customConvert(value: any): number;
|
|
@@ -474,6 +475,8 @@ export namespace cost_per_ft {
|
|
|
474
475
|
export namespace cost_per_lat_ft {
|
|
475
476
|
const label_40: string;
|
|
476
477
|
export { label_40 as label };
|
|
478
|
+
export function labelFunc_1(): string;
|
|
479
|
+
export { labelFunc_1 as labelFunc };
|
|
477
480
|
const key_40: string;
|
|
478
481
|
export { key_40 as key };
|
|
479
482
|
export function customConvert_1(value: any): number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"metricsConfig.d.ts","sourceRoot":"","sources":["../../../src/utils/metrics/metricsConfig.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAwHqB,4DAAmC
|
|
1
|
+
{"version":3,"file":"metricsConfig.d.ts","sourceRoot":"","sources":["../../../src/utils/metrics/metricsConfig.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAwHqB,4DAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAkN3C,oCAAwE;;;IAEpE,kDAAgD;;;;;;IAMpD,sCAAgF;;;;IAE5E,oDAAgD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{getUnitDescription as e,getUnitPreference as t,convertValue as i}from"../convert.js";import{getAverage as o,getMax as n,getSum as l,convertPercentageMetrics as r}from"./utils.js";var s={label:"Hole Depth",key:"hole_depth",isBiggestBest:!0,unitType:"length",from:"ft",convertForMultiRigs:n},p={label:"Total Distance Drilled",key:"hole_depth_change",unitType:"length",from:"ft",isBiggestBest:!0,convertForMultiRigs:l},_={label:"Rotary Distance Drilled",key:"drilled_feet_rotary",unitType:"length",from:"ft",isBiggestBest:!0,convertForMultiRigs:l},g={label:"Slide Distance Drilled",key:"drilled_feet_slide",unitType:"length",from:"ft",convertForMultiRigs:l},a={label:"Rotary %",key:"drilled_feet_rotary_percentage",to:"%",customConvert:r,isBiggestBest:!0,convertForMultiRigs:o},m={label:"Slide %",key:"drilled_feet_slide_percentage",to:"%",customConvert:r,convertForMultiRigs:o},u={label:"Drilling %",key:"drilling_percentage",to:"%",customConvert:r,isBiggestBest:!0},y={label:"On-Bottom ROP",key:"rop",unitType:"velocity",from:"ft/h",isBiggestBest:!0,convertForMultiRigs:o},c={label:"Rotary ROP",key:"rop_rotary",unitType:"velocity",from:"ft/h",isBiggestBest:!0,convertForMultiRigs:o},h={label:"Slide ROP",key:"rop_slide",unitType:"velocity",from:"ft/h",isBiggestBest:!0,convertForMultiRigs:o},T={label:"Gross ROP",key:"rop_gross",unitType:"velocity",from:"ft/h",isBiggestBest:!0,convertForMultiRigs:o},f={label:"Drilled Distance/Day",key:"feet_per_day",unitType:"length",from:"ft",formatUnitDisplay:function(e){return"".concat(e,"/day")},isBiggestBest:!0,convertForMultiRigs:o},d={label:"Rotary Drilling Time",key:"drilling_time_rotary",to:"h",isBiggestBest:!0},b={label:"Slide Drilling Time",key:"drilling_time_slide",to:"h"},v={label:"On Bottom Time",key:"on_bottom_time",to:"h",convertForMultiRigs:l},k={label:"On Bottom %",key:"on_bottom_percentage",to:"%",customConvert:r,isBiggestBest:!0,convertForMultiRigs:o},R={label:"Slips to Slips",key:"drilling_connection_average",to:"min",unitType:"time",from:"s",convertForMultiRigs:o},B={label:"Weight to Weight",key:"weight_to_weight_average",to:"min",from:"s",unitType:"time",convertForMultiRigs:o},F={label:"Bottom to Slips",key:"bottom_to_slips_average",to:"min",from:"s",unitType:"time",convertForMultiRigs:o},M={label:"Slips to Bottom",key:"slips_to_bottom_average",to:"min",from:"s",unitType:"time",convertForMultiRigs:o},C={label:"Pumps on to Bottom",key:"pumps_on_to_bottom_average",to:"min",from:"s",unitType:"time",convertForMultiRigs:o},S={label:"Hole Tripping In Speed",key:"tripping_in_speed",unitType:"velocity",from:"ft/h",isBiggestBest:!0,convertForMultiRigs:o},D={label:"Hole Tripping Out Speed",key:"tripping_out_speed",unitType:"velocity",from:"ft/h",isBiggestBest:!0,convertForMultiRigs:o},H={label:"Cased Hole Tripping In Speed",key:"tripping_in_speed_cased",unitType:"velocity",from:"ft/h",isBiggestBest:!0,convertForMultiRigs:o},O={label:"Cased Hole Tripping Out Speed",key:"tripping_out_speed_cased",unitType:"velocity",from:"ft/h",isBiggestBest:!0,convertForMultiRigs:o},I={label:"Open Hole Tripping In Speed",key:"tripping_in_speed_open",unitType:"velocity",from:"ft/h",isBiggestBest:!0,convertForMultiRigs:o},w={label:"Open Hole Tripping Out Speed",key:"tripping_out_speed_open",unitType:"velocity",from:"ft/h",isBiggestBest:!0,convertForMultiRigs:o},P={label:"Casing Tripping In Cased Hole",key:"tripping_in_time_cased",to:"min",from:"s",unitType:"time"},U={label:"Casing Tripping In Open Hole",key:"tripping_in_time_open",to:"min",from:"s",unitType:"time"},L={label:"Casing Tripping In Entire Hole",key:"tripping_in_time",to:"min",from:"s",unitType:"time"},N={label:"Connection Time in Cased Hole",key:"tripping_in_connection_time_cased",to:"min",from:"s",unitType:"time"},E={label:"Casing Tripping In Open Hole + Connection Time in Open Hole",key:"tripping_in_time_with_connection_open",to:"min",from:"h",unitType:"time"},G={label:"Casing Tripping In Entire Hole + Connection Time in Entire Hole",key:"tripping_in_time_with_connection",to:"min",from:"h",unitType:"time"},W={label:"Casing Slips to Slips",key:"slips_to_slips_average",to:"min",from:"s",unitType:"time",convertForMultiRigs:o},j={label:"Cased Hole Tripping In Speed (with connection)",key:"gross_tripping_in_speed_cased",unitType:"velocity",from:"ft/h",convertForMultiRigs:o},A={label:"Open Hole Tripping In Speed (with connection)",key:"gross_tripping_in_speed_open",unitType:"velocity",from:"ft/h",convertForMultiRigs:o},q={label:"Entire Hole Tripping In Speed (with connection)",key:"gross_tripping_in_speed",unitType:"velocity",from:"ft/h",convertForMultiRigs:o},x={label:"Gross Tripping In Speed",key:"gross_tripping_in_speed_total",unitType:"velocity",from:"ft/h",convertForMultiRigs:o},V={label:"Gross Tripping Out Speed",key:"gross_tripping_out_speed_total",unitType:"velocity",from:"ft/h",convertForMultiRigs:o},X={label:"Cost/".concat(e(t("length")).singular),key:"cost_per_ft",customConvert:function(e){return e/i(1,"length","ft")},convertForMultiRigs:o},z={label:"Lateral Cost/".concat(e(t("length")).singular),key:"cost_per_lat_ft",customConvert:function(e){return e/i(1,"length","ft")},convertForMultiRigs:o},J={label:"NPT",key:"npt",unitType:"time",from:"h",to:"h",convertForMultiRigs:l},K={label:"Circulating Time",key:"circulating_time",unitType:"time",from:"h",to:"h",convertForMultiRigs:l},Q={label:"Spud to Rig Release",key:"spud_to_rig_release_time",unitType:"time",from:"h",to:"d",convertForMultiRigs:n},Y={label:"Spud to Target",key:"spud_to_target",unitType:"time",from:"h",to:"d",convertForMultiRigs:n},Z={label:"Spud to Total Depth",key:"spud_to_total_depth_time",unitType:"time",from:"h",to:"d",convertForMultiRigs:n},$={label:"Spud to Landing Point",key:"spud_to_landing_point",unitType:"time",from:"h",to:"d",convertForMultiRigs:n},ee={label:"Gross Time",key:"gross_time",unitType:"time",from:"s",to:"h"},te={label:"Turn Rate",key:"turn_rate",unitType:"anglePerLength",from:"dp100f",allowNegativeValue:!0},ie={label:"Build Rate",key:"build_rate",unitType:"anglePerLength",from:"dp100f",allowNegativeValue:!0},oe={label:"Cumulative Tortuosity",key:"cumulative_tortuosity",convertForMultiRigs:o},ne={label:"Drilling Stand Count",key:"weight_to_weight_count",convertForMultiRigs:l},le={label:"Tripping Connection Count",key:"tripping_connection_count",convertForMultiRigs:l},re={label:"Casing Stand Count",key:"slips_to_slips_count",convertForMultiRigs:l},se={label:"Total BHA's",key:"bha_count"},pe={label:"Cased Hole Tripping In Time (with connection)",key:"gross_tripping_in_time_cased",unitType:"time",from:"min"},_e={label:"Open Hole Tripping In Time (with connection)",key:"gross_tripping_in_time_open",unitType:"time",from:"min"},ge={label:"Tripping in (Connection)",key:"tripping_in_connection_time",unitType:"time",from:"min"},ae={label:"Tripping out (Connection)",key:"tripping_out_connection_time",unitType:"time",from:"min"},me={label:"NU/ND Diverter",key:"nu_nd_diverter_timelog_hal",unitType:"time",from:"h",to:"h"},ue={label:"RU/RD Casing Handling Equip",key:"ru_rd_casing_handling_equip_timelog_hal",unitType:"time",from:"h",to:"h"},ye={label:"BOP/Wellhead/XMT NU/ND",key:"bop_wellhead_xmt_nu_nd_timelog_hal",unitType:"time",from:"h",to:"h"},ce={label:"BOP Pressure & Function Test",key:"bop_pressure_function_test_timelog_hal",unitType:"time",from:"h",to:"h"},he={label:"Install / Retrieve Wear Bushing",key:"install_retrieve_wear_bushing_timelog_hal",unitType:"time",from:"h",to:"h"},Te={label:"P/U & L/D BHA",key:"p_u_l_d_bha_timelog_hal",unitType:"time",from:"h",to:"h"},fe={label:"Drillout Casing Shoe Track",key:"drillout_casing_shoe_track_timelog_hal",unitType:"time",from:"h",to:"h"},de={label:"Slip & Cut",key:"slip_cut_timelog_hal",unitType:"time",from:"h",to:"h"},be={label:"Survey Time",key:"survey_time_timelog_hal",unitType:"time",from:"h",to:"h"},ve={label:"Drill & FIT/LOT",key:"drill_fit_lot_timelog_hal",unitType:"time",from:"h",to:"h"},ke={label:"Pressure Test",key:"pressure_test_timelog_hal",unitType:"time",from:"h",to:"h"},Re={label:"RU/RD MPD System or RCD",key:"ru_rd_mpd_system_or_rcd_timelog_hal",unitType:"time",from:"h",to:"h"},Be={label:"Achieve Frac Design Injection Rate",key:"achieve_frac_design_injection_rate_timelog_hal",unitType:"time",from:"h",to:"h"},Fe={label:"RU/RD Frac Head",key:"ru_rd_frac_head_timelog_hal",unitType:"time",from:"h",to:"h"},Me={label:"RU/RD Wireline",key:"ru_rd_wireline_timelog_hal",unitType:"time",from:"h",to:"h"},Ce={label:"RU/RD Lubricator & Perf Guns",key:"ru_rd_lubricator_perf_guns_timelog_hal",unitType:"time",from:"h",to:"h"};export{Be as achieve_frac_design_injection_rate_timelog_hal,se as bha_count,ce as bop_pressure_function_test_timelog_hal,ye as bop_wellhead_xmt_nu_nd_timelog_hal,F as bottom_to_slips_average,ie as build_rate,K as circulating_time,X as cost_per_ft,z as cost_per_lat_ft,oe as cumulative_tortuosity,ve as drill_fit_lot_timelog_hal,_ as drilled_feet_rotary,a as drilled_feet_rotary_percentage,g as drilled_feet_slide,m as drilled_feet_slide_percentage,R as drilling_connection_average,u as drilling_percentage,d as drilling_time_rotary,b as drilling_time_slide,fe as drillout_casing_shoe_track_timelog_hal,f as feet_per_day,ee as gross_time,q as gross_tripping_in_speed,j as gross_tripping_in_speed_cased,A as gross_tripping_in_speed_open,x as gross_tripping_in_speed_total,pe as gross_tripping_in_time_cased,_e as gross_tripping_in_time_open,V as gross_tripping_out_speed_total,s as hole_depth,p as hole_depth_change,he as install_retrieve_wear_bushing_timelog_hal,J as npt,me as nu_nd_diverter_timelog_hal,k as on_bottom_percentage,v as on_bottom_time,Te as p_u_l_d_bha_timelog_hal,ke as pressure_test_timelog_hal,C as pumps_on_to_bottom_average,y as rop,T as rop_gross,c as rop_rotary,h as rop_slide,ue as ru_rd_casing_handling_equip_timelog_hal,Fe as ru_rd_frac_head_timelog_hal,Ce as ru_rd_lubricator_perf_guns_timelog_hal,Re as ru_rd_mpd_system_or_rcd_timelog_hal,Me as ru_rd_wireline_timelog_hal,de as slip_cut_timelog_hal,M as slips_to_bottom_average,W as slips_to_slips,re as slips_to_slips_count,$ as spud_to_landing_point,Q as spud_to_rig_release_time,Y as spud_to_target,Z as spud_to_total_depth_time,be as survey_time_timelog_hal,le as tripping_connection_count,ge as tripping_in_connection_time,N as tripping_in_connection_time_cased,S as tripping_in_speed,H as tripping_in_speed_cased,I as tripping_in_speed_open,L as tripping_in_time,P as tripping_in_time_cased,U as tripping_in_time_open,G as tripping_in_time_with_connection,E as tripping_in_time_with_connection_open,ae as tripping_out_connection_time,D as tripping_out_speed,O as tripping_out_speed_cased,w as tripping_out_speed_open,te as turn_rate,B as weight_to_weight_average,ne as weight_to_weight_count};
|
|
1
|
+
import{getUnitDescription as e,getUnitPreference as t,convertValue as i}from"../convert.js";import{getAverage as o,getMax as n,getSum as l,convertPercentageMetrics as r}from"./utils.js";var s={label:"Hole Depth",key:"hole_depth",isBiggestBest:!0,unitType:"length",from:"ft",convertForMultiRigs:n},p={label:"Total Distance Drilled",key:"hole_depth_change",unitType:"length",from:"ft",isBiggestBest:!0,convertForMultiRigs:l},_={label:"Rotary Distance Drilled",key:"drilled_feet_rotary",unitType:"length",from:"ft",isBiggestBest:!0,convertForMultiRigs:l},a={label:"Slide Distance Drilled",key:"drilled_feet_slide",unitType:"length",from:"ft",convertForMultiRigs:l},g={label:"Rotary %",key:"drilled_feet_rotary_percentage",to:"%",customConvert:r,isBiggestBest:!0,convertForMultiRigs:o},u={label:"Slide %",key:"drilled_feet_slide_percentage",to:"%",customConvert:r,convertForMultiRigs:o},m={label:"Drilling %",key:"drilling_percentage",to:"%",customConvert:r,isBiggestBest:!0},y={label:"On-Bottom ROP",key:"rop",unitType:"velocity",from:"ft/h",isBiggestBest:!0,convertForMultiRigs:o},c={label:"Rotary ROP",key:"rop_rotary",unitType:"velocity",from:"ft/h",isBiggestBest:!0,convertForMultiRigs:o},h={label:"Slide ROP",key:"rop_slide",unitType:"velocity",from:"ft/h",isBiggestBest:!0,convertForMultiRigs:o},f={label:"Gross ROP",key:"rop_gross",unitType:"velocity",from:"ft/h",isBiggestBest:!0,convertForMultiRigs:o},T={label:"Drilled Distance/Day",key:"feet_per_day",unitType:"length",from:"ft",formatUnitDisplay:function(e){return"".concat(e,"/day")},isBiggestBest:!0,convertForMultiRigs:o},d={label:"Rotary Drilling Time",key:"drilling_time_rotary",to:"h",isBiggestBest:!0},b={label:"Slide Drilling Time",key:"drilling_time_slide",to:"h"},v={label:"On Bottom Time",key:"on_bottom_time",to:"h",convertForMultiRigs:l},k={label:"On Bottom %",key:"on_bottom_percentage",to:"%",customConvert:r,isBiggestBest:!0,convertForMultiRigs:o},R={label:"Slips to Slips",key:"drilling_connection_average",to:"min",unitType:"time",from:"s",convertForMultiRigs:o},B={label:"Weight to Weight",key:"weight_to_weight_average",to:"min",from:"s",unitType:"time",convertForMultiRigs:o},F={label:"Bottom to Slips",key:"bottom_to_slips_average",to:"min",from:"s",unitType:"time",convertForMultiRigs:o},M={label:"Slips to Bottom",key:"slips_to_bottom_average",to:"min",from:"s",unitType:"time",convertForMultiRigs:o},C={label:"Pumps on to Bottom",key:"pumps_on_to_bottom_average",to:"min",from:"s",unitType:"time",convertForMultiRigs:o},S={label:"Hole Tripping In Speed",key:"tripping_in_speed",unitType:"velocity",from:"ft/h",isBiggestBest:!0,convertForMultiRigs:o},D={label:"Hole Tripping Out Speed",key:"tripping_out_speed",unitType:"velocity",from:"ft/h",isBiggestBest:!0,convertForMultiRigs:o},H={label:"Cased Hole Tripping In Speed",key:"tripping_in_speed_cased",unitType:"velocity",from:"ft/h",isBiggestBest:!0,convertForMultiRigs:o},O={label:"Cased Hole Tripping Out Speed",key:"tripping_out_speed_cased",unitType:"velocity",from:"ft/h",isBiggestBest:!0,convertForMultiRigs:o},I={label:"Open Hole Tripping In Speed",key:"tripping_in_speed_open",unitType:"velocity",from:"ft/h",isBiggestBest:!0,convertForMultiRigs:o},w={label:"Open Hole Tripping Out Speed",key:"tripping_out_speed_open",unitType:"velocity",from:"ft/h",isBiggestBest:!0,convertForMultiRigs:o},P={label:"Casing Tripping In Cased Hole",key:"tripping_in_time_cased",to:"min",from:"s",unitType:"time"},U={label:"Casing Tripping In Open Hole",key:"tripping_in_time_open",to:"min",from:"s",unitType:"time"},L={label:"Casing Tripping In Entire Hole",key:"tripping_in_time",to:"min",from:"s",unitType:"time"},N={label:"Connection Time in Cased Hole",key:"tripping_in_connection_time_cased",to:"min",from:"s",unitType:"time"},E={label:"Casing Tripping In Open Hole + Connection Time in Open Hole",key:"tripping_in_time_with_connection_open",to:"min",from:"h",unitType:"time"},G={label:"Casing Tripping In Entire Hole + Connection Time in Entire Hole",key:"tripping_in_time_with_connection",to:"min",from:"h",unitType:"time"},W={label:"Casing Slips to Slips",key:"slips_to_slips_average",to:"min",from:"s",unitType:"time",convertForMultiRigs:o},j={label:"Cased Hole Tripping In Speed (with connection)",key:"gross_tripping_in_speed_cased",unitType:"velocity",from:"ft/h",convertForMultiRigs:o},A={label:"Open Hole Tripping In Speed (with connection)",key:"gross_tripping_in_speed_open",unitType:"velocity",from:"ft/h",convertForMultiRigs:o},q={label:"Entire Hole Tripping In Speed (with connection)",key:"gross_tripping_in_speed",unitType:"velocity",from:"ft/h",convertForMultiRigs:o},x={label:"Gross Tripping In Speed",key:"gross_tripping_in_speed_total",unitType:"velocity",from:"ft/h",convertForMultiRigs:o},V={label:"Gross Tripping Out Speed",key:"gross_tripping_out_speed_total",unitType:"velocity",from:"ft/h",convertForMultiRigs:o},X={label:"Cost/".concat(e(t("length")).singular),labelFunc:function(){return"Cost/".concat(e(t("length")).singular)},key:"cost_per_ft",customConvert:function(e){return e/i(1,"length","ft")},convertForMultiRigs:o},z={label:"Lateral Cost/".concat(e(t("length")).singular),labelFunc:function(){return"Lateral Cost/".concat(e(t("length")).singular)},key:"cost_per_lat_ft",customConvert:function(e){return e/i(1,"length","ft")},convertForMultiRigs:o},J={label:"NPT",key:"npt",unitType:"time",from:"h",to:"h",convertForMultiRigs:l},K={label:"Circulating Time",key:"circulating_time",unitType:"time",from:"h",to:"h",convertForMultiRigs:l},Q={label:"Spud to Rig Release",key:"spud_to_rig_release_time",unitType:"time",from:"h",to:"d",convertForMultiRigs:n},Y={label:"Spud to Target",key:"spud_to_target",unitType:"time",from:"h",to:"d",convertForMultiRigs:n},Z={label:"Spud to Total Depth",key:"spud_to_total_depth_time",unitType:"time",from:"h",to:"d",convertForMultiRigs:n},$={label:"Spud to Landing Point",key:"spud_to_landing_point",unitType:"time",from:"h",to:"d",convertForMultiRigs:n},ee={label:"Gross Time",key:"gross_time",unitType:"time",from:"s",to:"h"},te={label:"Turn Rate",key:"turn_rate",unitType:"anglePerLength",from:"dp100f",allowNegativeValue:!0},ie={label:"Build Rate",key:"build_rate",unitType:"anglePerLength",from:"dp100f",allowNegativeValue:!0},oe={label:"Cumulative Tortuosity",key:"cumulative_tortuosity",convertForMultiRigs:o},ne={label:"Drilling Stand Count",key:"weight_to_weight_count",convertForMultiRigs:l},le={label:"Tripping Connection Count",key:"tripping_connection_count",convertForMultiRigs:l},re={label:"Casing Stand Count",key:"slips_to_slips_count",convertForMultiRigs:l},se={label:"Total BHA's",key:"bha_count"},pe={label:"Cased Hole Tripping In Time (with connection)",key:"gross_tripping_in_time_cased",unitType:"time",from:"min"},_e={label:"Open Hole Tripping In Time (with connection)",key:"gross_tripping_in_time_open",unitType:"time",from:"min"},ae={label:"Tripping in (Connection)",key:"tripping_in_connection_time",unitType:"time",from:"min"},ge={label:"Tripping out (Connection)",key:"tripping_out_connection_time",unitType:"time",from:"min"},ue={label:"NU/ND Diverter",key:"nu_nd_diverter_timelog_hal",unitType:"time",from:"h",to:"h"},me={label:"RU/RD Casing Handling Equip",key:"ru_rd_casing_handling_equip_timelog_hal",unitType:"time",from:"h",to:"h"},ye={label:"BOP/Wellhead/XMT NU/ND",key:"bop_wellhead_xmt_nu_nd_timelog_hal",unitType:"time",from:"h",to:"h"},ce={label:"BOP Pressure & Function Test",key:"bop_pressure_function_test_timelog_hal",unitType:"time",from:"h",to:"h"},he={label:"Install / Retrieve Wear Bushing",key:"install_retrieve_wear_bushing_timelog_hal",unitType:"time",from:"h",to:"h"},fe={label:"P/U & L/D BHA",key:"p_u_l_d_bha_timelog_hal",unitType:"time",from:"h",to:"h"},Te={label:"Drillout Casing Shoe Track",key:"drillout_casing_shoe_track_timelog_hal",unitType:"time",from:"h",to:"h"},de={label:"Slip & Cut",key:"slip_cut_timelog_hal",unitType:"time",from:"h",to:"h"},be={label:"Survey Time",key:"survey_time_timelog_hal",unitType:"time",from:"h",to:"h"},ve={label:"Drill & FIT/LOT",key:"drill_fit_lot_timelog_hal",unitType:"time",from:"h",to:"h"},ke={label:"Pressure Test",key:"pressure_test_timelog_hal",unitType:"time",from:"h",to:"h"},Re={label:"RU/RD MPD System or RCD",key:"ru_rd_mpd_system_or_rcd_timelog_hal",unitType:"time",from:"h",to:"h"},Be={label:"Achieve Frac Design Injection Rate",key:"achieve_frac_design_injection_rate_timelog_hal",unitType:"time",from:"h",to:"h"},Fe={label:"RU/RD Frac Head",key:"ru_rd_frac_head_timelog_hal",unitType:"time",from:"h",to:"h"},Me={label:"RU/RD Wireline",key:"ru_rd_wireline_timelog_hal",unitType:"time",from:"h",to:"h"},Ce={label:"RU/RD Lubricator & Perf Guns",key:"ru_rd_lubricator_perf_guns_timelog_hal",unitType:"time",from:"h",to:"h"};export{Be as achieve_frac_design_injection_rate_timelog_hal,se as bha_count,ce as bop_pressure_function_test_timelog_hal,ye as bop_wellhead_xmt_nu_nd_timelog_hal,F as bottom_to_slips_average,ie as build_rate,K as circulating_time,X as cost_per_ft,z as cost_per_lat_ft,oe as cumulative_tortuosity,ve as drill_fit_lot_timelog_hal,_ as drilled_feet_rotary,g as drilled_feet_rotary_percentage,a as drilled_feet_slide,u as drilled_feet_slide_percentage,R as drilling_connection_average,m as drilling_percentage,d as drilling_time_rotary,b as drilling_time_slide,Te as drillout_casing_shoe_track_timelog_hal,T as feet_per_day,ee as gross_time,q as gross_tripping_in_speed,j as gross_tripping_in_speed_cased,A as gross_tripping_in_speed_open,x as gross_tripping_in_speed_total,pe as gross_tripping_in_time_cased,_e as gross_tripping_in_time_open,V as gross_tripping_out_speed_total,s as hole_depth,p as hole_depth_change,he as install_retrieve_wear_bushing_timelog_hal,J as npt,ue as nu_nd_diverter_timelog_hal,k as on_bottom_percentage,v as on_bottom_time,fe as p_u_l_d_bha_timelog_hal,ke as pressure_test_timelog_hal,C as pumps_on_to_bottom_average,y as rop,f as rop_gross,c as rop_rotary,h as rop_slide,me as ru_rd_casing_handling_equip_timelog_hal,Fe as ru_rd_frac_head_timelog_hal,Ce as ru_rd_lubricator_perf_guns_timelog_hal,Re as ru_rd_mpd_system_or_rcd_timelog_hal,Me as ru_rd_wireline_timelog_hal,de as slip_cut_timelog_hal,M as slips_to_bottom_average,W as slips_to_slips,re as slips_to_slips_count,$ as spud_to_landing_point,Q as spud_to_rig_release_time,Y as spud_to_target,Z as spud_to_total_depth_time,be as survey_time_timelog_hal,le as tripping_connection_count,ae as tripping_in_connection_time,N as tripping_in_connection_time_cased,S as tripping_in_speed,H as tripping_in_speed_cased,I as tripping_in_speed_open,L as tripping_in_time,P as tripping_in_time_cased,U as tripping_in_time_open,G as tripping_in_time_with_connection,E as tripping_in_time_with_connection_open,ge as tripping_out_connection_time,D as tripping_out_speed,O as tripping_out_speed_cased,w as tripping_out_speed_open,te as turn_rate,B as weight_to_weight_average,ne as weight_to_weight_count};
|