@corva/ui 0.56.0-6 → 0.56.0-8
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/CLI/hocs/constants.d.ts.map +1 -1
- package/CLI/hocs/utils.d.ts +0 -3
- package/CLI/hocs/utils.d.ts.map +1 -1
- package/CLI/hocs/utils.js +1 -1
- package/cjs-bundle/CLI/hocs/utils.js +1 -1
- package/cjs-bundle/components/Chart/components/ChartWrapper.js +1 -1
- package/cjs-bundle/components/Chart/effects/useChartModifier.js +1 -1
- package/cjs-bundle/components/DevCenter/AppHeader/AppHeader.js +1 -1
- package/cjs-bundle/components/StatusBadge/components/ReportIssueModal.js +1 -1
- package/cjs-bundle/constants/index.js +1 -1
- package/cjs-bundle/constants/localStorageKeys.js +1 -0
- package/cjs-bundle/utils/reports.js +1 -1
- package/clients/api/httpMessages.d.ts.map +1 -1
- package/clients/jsonApi/methods.d.ts.map +1 -1
- package/components/AssetEditor/utils/index.d.ts.map +1 -1
- package/components/Chart/components/ChartWrapper.d.ts +2 -1
- package/components/Chart/components/ChartWrapper.d.ts.map +1 -1
- package/components/Chart/components/ChartWrapper.js +1 -1
- package/components/Chart/effects/useChartModifier.d.ts +2 -1
- package/components/Chart/effects/useChartModifier.d.ts.map +1 -1
- package/components/Chart/effects/useChartModifier.js +1 -1
- package/components/ChartActionsList/ChartActionsList.d.ts +1 -1
- package/components/DevCenter/AppHeader/AppHeader.js +1 -1
- package/components/StatusBadge/components/ReportIssueModal.d.ts.map +1 -1
- package/components/StatusBadge/components/ReportIssueModal.js +1 -1
- package/components/UserCardPopover.d.ts +2 -2
- package/constants/featureFlags.d.ts.map +1 -1
- package/constants/index.d.ts +2 -1
- package/constants/index.js +1 -1
- package/constants/localStorageKeys.d.ts +3 -0
- package/constants/localStorageKeys.d.ts.map +1 -0
- package/constants/localStorageKeys.js +1 -0
- package/constants/timezone.d.ts.map +1 -1
- package/effects/__tests__/useDevCenterApp.test.d.ts +2 -0
- package/effects/__tests__/useDevCenterApp.test.d.ts.map +1 -0
- package/effects/useDevCenterApp.d.ts +2 -2
- package/package.json +1 -1
- package/utils/audio.d.ts.map +1 -1
- package/utils/chartSeries.d.ts.map +1 -1
- package/utils/devcenter.d.ts +1 -1
- package/utils/devcenter.d.ts.map +1 -1
- package/utils/reports.d.ts +1 -0
- package/utils/reports.d.ts.map +1 -1
- package/utils/reports.js +1 -1
- package/utils/rollbar.d.ts.map +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/CLI/hocs/constants.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/CLI/hocs/constants.js"],"names":[],"mappings":"AAGA,sDAAuD;AACvD,kEAAmE"}
|
package/CLI/hocs/utils.d.ts
CHANGED
package/CLI/hocs/utils.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/CLI/hocs/utils.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/CLI/hocs/utils.js"],"names":[],"mappings":"AAKA,kCAEE"}
|
package/CLI/hocs/utils.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import{LOCAL_STORAGE_PDF_REPORT_VIEW_KEY as t}from"./constants.js";var a=JSON.parse(localStorage.getItem(t)||"false");export{a as isPDFReportView};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0})
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./constants.js"),t=JSON.parse(localStorage.getItem(e.LOCAL_STORAGE_PDF_REPORT_VIEW_KEY)||"false");exports.isPDFReportView=t;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("@babel/runtime/helpers/defineProperty"),r=require("@babel/runtime/helpers/slicedToArray"),t=require("@material-ui/core"),o=require("lodash"),n=require("react"),i=require("../ChartWrapperContext.js"),a=require("../constants.js"),l=require("../effects/useZoom.js"),c=require("../effects/useChartModifier.js"),u=require("./AxisOverlay.js"),s=require("react/jsx-runtime");function h(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var d=h(e),
|
|
1
|
+
"use strict";var e=require("@babel/runtime/helpers/defineProperty"),r=require("@babel/runtime/helpers/slicedToArray"),t=require("@material-ui/core"),o=require("lodash"),n=require("react"),i=require("../ChartWrapperContext.js"),a=require("../constants.js"),l=require("../effects/useZoom.js"),c=require("../effects/useChartModifier.js"),u=require("./AxisOverlay.js"),s=require("react/jsx-runtime");function h(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var d=h(e),m=h(r);function f(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}function v(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?f(Object(t),!0).forEach((function(r){d.default(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):f(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}var p=t.makeStyles({container:{width:"100%",height:"100%",position:"relative"}}),b={zoomType:"xy",panning:{enabled:!0,type:"xy"}},C=function(e){var r,t,h,d,f,C,y,g=e.children,j=e.chartRef,O=e.isAxesCoordinatesShown,S=e.onCustomizeScaleClick,Z=e.onZoomChangeCallback,x=e.chartOptions,E=p(),q=n.useState({}),P=m.default(q,2),w=P[0],k=P[1],z=l.useZoom({chart:null===(r=j.current)||void 0===r?void 0:r.chart}),A=z.zoomStatus,H=z.zoomConfig,M=z.handleZoomEvent,D=z.handleResetZoom,I=z.isZoomEnabled,R=z.handleIsZoomEnabledChange,T=z.debouncedChartSelection;n.useEffect((function(){var e,r,t;o.isEmpty(null===(e=j.current)||void 0===e?void 0:e.chart)||k({marginBottom:null===(r=j.current)||void 0===r||null===(t=r.chart)||void 0===t?void 0:t.marginBottom})}),[]);var B=(null===(t=j.current)||void 0===t||null===(h=t.chart)||void 0===h||null===(d=h.plotBox)||void 0===d?void 0:d.height)<=a.MIN_CHART_HEIGHT;c.useChartModifier({chart:null===(f=j.current)||void 0===f?void 0:f.chart,chartOptions:o.merge({},b,x),isZoomEnabled:I,isMinHeightChart:B,onZoomChangeCallback:Z,handleChartSelection:T,isAxesCoordinatesShown:O});var N={chart:null===(C=j.current)||void 0===C?void 0:C.chart,zoomConfig:H,chartStyles:w,zoomStatus:A,isZoomEnabled:I,setChartStyles:k,handleResetZoom:D,handleZoomEvent:M,isMinHeightChart:B,handleChartSelection:T,handleChangeChartStyles:function(e){k((function(r){return v(v({},r),e)}))},handleIsZoomEnabledChange:R};return s.jsx("div",{className:E.container,children:s.jsxs(i.Provider,{value:N,children:[g,S&&(null===(y=j.current)||void 0===y?void 0:y.chart.axes.map((function(e){return s.jsx(u,v({onCustomizeScaleClick:S},e),e.coll)})))]})})};C.defaultProps={onZoomChangeCallback:function(){}},module.exports=C;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var r=require("@material-ui/core"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var r=require("@babel/runtime/helpers/defineProperty"),e=require("@material-ui/core"),t=require("lodash"),o=require("react"),s=require("../formations.js");function a(r){return r&&"object"==typeof r&&"default"in r?r:{default:r}}var i=a(r);function n(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(r);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),t.push.apply(t,o)}return t}function c(r){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?n(Object(t),!0).forEach((function(e){i.default(r,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(t)):n(Object(t)).forEach((function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(t,e))}))}return r}var u=e.makeStyles({axisGrab:{cursor:"grab"},axisCrosshair:{cursor:"crosshair"}});exports.useChartModifier=function(r){var e=r.chart,a=r.chartOptions,i=r.isZoomEnabled,n=r.isMinHeightChart,l=r.handleChartSelection,f=r.onZoomChangeCallback,p=r.isAxesCoordinatesShown,h=u();o.useEffect((function(){if(!t.isEmpty(e)){var r={zIndex:1,color:"#ffffff",dashStyle:"dash"};e.plotBackground.element.style.cursor=i?"crosshair":"grab",e.update({chart:c(c({},a),{},{plotBackgroundColor:"transparent",zoomType:n||!i?"none":a.zoomType}),xAxis:{crosshair:p?r:null,className:i?h.axisCrosshair:h.axisGrab,events:{afterSetExtremes:function(r){var t;"zoom"!==r.trigger&&"navigator"!==r.trigger||l(),null!==(t=e.xAxis[0].userOptions.plotLines)&&void 0!==t&&t.length&&s.updateAxisStyles({chart:e}),f(r)}}},yAxis:{crosshair:p?r:null,className:i?h.axisCrosshair:h.axisGrab,events:{afterSetExtremes:function(r){"zoom"!==r.trigger&&"navigator"!==r.trigger||l(),f(r)}}},plotOptions:{series:{cursor:n||!i?"grab":"crosshair"}}})}}),[i,l,p])};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@babel/runtime/helpers/defineProperty"),t=require("@babel/runtime/helpers/slicedToArray"),a=require("react"),s=require("lodash"),n=require("prop-types"),r=require("classnames"),i=require("@material-ui/core");require("../../Annotations/components/AnnotationsList/index.js");var l=require("../../Annotations/components/LastAnnotation/index.js");require("../../Annotations/AnnotationsContext.js");var d=require("../../../constants/segment.js"),o=require("../../../constants/devcenter.js");require("../../../constants/goals.js"),require("../../../constants/alerts.js"),require("../../../constants/apps.js"),require("../../../constants/drillstring.js"),require("../../../constants/completion.js"),require("../../../constants/notifications.js"),require("../../../constants/feed.js"),require("../../../constants/bha.js"),require("../../GradientManager/configuration/constants.js");var u=require("../../../utils/devcenter.js"),p=require("./VersionBadge.js"),c=require("./PadMode.js"),f=require("./utils.js"),m=require("../../AssetNameLabel/SecondaryAssetNameLabel.js"),g=require("../../AssetNameLabel/AssetNameLabel.js"),j=require("./PadIcon.js"),A=require("./AppHeader.css.js"),h=require("./AppHeaderStyles.js"),b=require("react/jsx-runtime");function v(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var y=v(e),S=v(t),x=v(n),L=v(r);function q(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,s)}return a}function N(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?q(Object(a),!0).forEach((function(t){y.default(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):q(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var _="DevCenter_AppHeader",P=function(e){return"/assets/".concat(null==e?void 0:e.asset_id)};function O(e){var t,n,r,v,y=e.app,x=e.appLastAnnotation,q=e.appSettings,O=e.badge,I=e.children,w=e.classes,E=e.coordinates,M=e.currentUser,C=e.fracFleet,T=e.isMaximized,D=e.logoSrc,W=e.onSettingChange,k=e.openAnnotationsList,F=e.primaryAssetStatusBadge,H=e.rig,R=e.showLastAnnotation,B=e.updateCurrentDashboardAppLastAnnotation,U=e.well,V=e.wells,G=a.useState(!1),z=S.default(G,2),Y=z[0],Z=z[1],J=a.useRef(null),K=null==E?void 0:E.pixelWidth;a.useEffect((function(){var e,t;Z((null===(e=J.current)||void 0===e?void 0:e.scrollWidth)>(null===(t=J.current)||void 0===t?void 0:t.offsetWidth))}),[null===(t=J.current)||void 0===t?void 0:t.offsetWidth,K]);var Q=f.getAppDimension(K),X=u.getAppName(y),$=null==y||null===(n=y.package)||void 0===n||null===(r=n.manifest)||void 0===r||null===(v=r.application)||void 0===v?void 0:v.subtitle,ee=u.getAppSegment(y),te=ee===d.SEGMENTS.COMPLETION,ae=function(e){var t,a=e.appSettings,s=void 0===a?{}:a,n=e.well,r=e.rig,i=e.fracFleet,l=e.segment,o=l===d.SEGMENTS.DRILLING,u=l===d.SEGMENTS.COMPLETION,p=s.wellId,c=s.rigId,f=s.fracFleetId,m=s.padId,g=null==i||null===(t=i.pad_frac_fleets.find((function(e){return e.pad.id===(m||i.current_pad_id)})))||void 0===t?void 0:t.pad,j=o?p&&(null==n?void 0:n.name):null==g?void 0:g.name,A=null!=i&&i.current_pad_id?"/assets/types/pad/".concat(null==i?void 0:i.current_pad_id):null,h=o?null==r?void 0:r.name:null==i?void 0:i.name,b=!!(p||c||f),v=!1,y=o?h&&P(n):A;return u&&!b&&null!=n&&n.id&&null!=n&&n.name&&(v=!0,b=!0,y=P(n),h=n.name),{isPrimaryAssetStatusVisible:v,isPrimaryNameVisible:b,primaryAssetLink:y,primaryAssetName:h,secondaryAssetLink:o?P(n):"/assets/types/pad/".concat(m||(null==i?void 0:i.current_pad_id)),secondaryAssetName:j}}({appSettings:null==y?void 0:y.settings,well:U,rig:H,fracFleet:C,segment:ee}),se=ae.isPrimaryAssetStatusVisible,ne=ae.isPrimaryNameVisible,re=ae.primaryAssetLink,ie=ae.primaryAssetName,le=ae.secondaryAssetLink,de=ae.secondaryAssetName,oe=[f.APP_LAYOUT_SIZES.MEDIUM,f.APP_LAYOUT_SIZES.SMALL].includes(Q),ue=y&&y.id===o.DEV_CENTER_CLI_APP_ID,pe={fracFleet:C,wells:V,well:U,onSettingChange:W,appSettings:q},ce=h.useStyles({isMobileSize:oe});return b.jsxs(b.Fragment,{children:[b.jsxs("div",{className:ce.appHeaderWrapper,children:[b.jsxs("div",{className:L.default(ce.appHeaderContainer,w.appHeader),children:[b.jsxs("div",{className:ce.titleBlock,children:[b.jsxs("div",{className:w.appHeaderTitleWrapper,ref:J,children:[b.jsxs("div",{className:ce.titleWrapper,children:[D&&b.jsxs(b.Fragment,{children:[b.jsx("img",{className:ce.logo,src:D,alt:"company logo"}),b.jsx("div",{className:ce.separateLine})]}),b.jsx(i.Tooltip,{title:Y?X:"",placement:"bottom",children:b.jsx("h6",{"data-testid":"".concat(_,"_name"),className:ce.title,children:X})}),b.jsx(p.VersionBadge,{appPackage:null==y?void 0:y.package})]}),O]}),(!oe||D)&&$&&b.jsx("h6",{"data-testid":"".concat(_,"_subtitle"),className:ce.subtitle,children:$})]}),y&&E&&b.jsxs("div",{className:L.default(A.controlsContainer,T&&A.appMaximized),children:[te&&!oe&&b.jsx(c,N({},pe)),I,b.jsxs("div",{className:A.assetLabels,children:[de&&b.jsx(m.SecondaryAssetNameLabel,{assetName:de,coordinatesPixelWidth:K,dataTestId:"".concat(_,"_secondaryAsset"),href:!ue&&le,icon:b.jsx(j.PadIcon,{}),isColored:!te||y.settings.padId&&y.settings.padId!==C.current_pad_id}),ne&&b.jsx(g.AssetNameLabel,{assetName:ie,coordinatesPixelWidth:K,dataTestId:"".concat(_,"_primaryAsset"),href:!ue&&(re||"/feed"),statusBadge:se&&F})]})]}),R&&x&&b.jsx(l,{annotation:x,appId:s.get(y,["app","id"]),currentUser:M,dashboardAppId:y.id,openAnnotationsList:k,updateCurrentDashboardAppLastAnnotation:B})]}),oe&&$&&!D&&b.jsx("h6",{"data-testid":"".concat(_,"_subtitle"),className:ce.subtitle,children:$})]}),te&&oe&&b.jsx("div",{className:A.padModeSelect,children:b.jsx(c,N({},pe))})]})}O.propTypes={app:x.default.object.isRequired,badge:x.default.node,classes:x.default.shape({appHeader:x.default.string,appHeaderTitleWrapper:x.default.string}),showLastAnnotation:x.default.bool,currentUser:x.default.shape({}),appLastAnnotation:x.default.shape({}),updateCurrentDashboardAppLastAnnotation:x.default.func,openAnnotationsList:x.default.func,rig:x.default.shape({name:x.default.string,asset_id:x.default.number}),well:x.default.shape({name:x.default.string,asset_id:x.default.number}),fracFleet:x.default.shape({name:x.default.string,current_pad_id:x.default.number,pad_frac_fleets:x.default.arrayOf(x.default.shape({pad:x.default.shape({id:x.default.number.isRequired}).isRequired})).isRequired}),wells:x.default.arrayOf(x.default.shape({})),coordinates:x.default.shape({pixelWidth:x.default.number.isRequired}),isMaximized:x.default.bool,appSettings:x.default.shape({}),onSettingChange:x.default.func,children:x.default.arrayOf(x.default.node),logoSrc:x.default.string,primaryAssetStatusBadge:x.default.node},O.defaultProps={appLastAnnotation:null,appSettings:null,badge:null,children:null,classes:{},coordinates:void 0,currentUser:void 0,fracFleet:null,isMaximized:!1,logoSrc:null,onSettingChange:void 0,openAnnotationsList:void 0,rig:null,showLastAnnotation:!0,updateCurrentDashboardAppLastAnnotation:function(){},well:null,wells:null,primaryAssetStatusBadge:null},exports.PAGE_NAME=_,exports.default=O;
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@babel/runtime/helpers/defineProperty"),t=require("@babel/runtime/helpers/slicedToArray"),a=require("react"),s=require("lodash"),n=require("prop-types"),r=require("classnames"),i=require("@material-ui/core");require("../../Annotations/components/AnnotationsList/index.js");var l=require("../../Annotations/components/LastAnnotation/index.js");require("../../Annotations/AnnotationsContext.js");var d=require("../../../constants/segment.js"),o=require("../../../constants/devcenter.js");require("../../../constants/goals.js"),require("../../../constants/alerts.js"),require("../../../constants/apps.js"),require("../../../constants/drillstring.js"),require("../../../constants/completion.js"),require("../../../constants/notifications.js"),require("../../../constants/feed.js"),require("../../../constants/bha.js"),require("../../GradientManager/configuration/constants.js");var u=require("../../../utils/devcenter.js"),p=require("./VersionBadge.js"),c=require("./PadMode.js"),f=require("./utils.js"),m=require("../../AssetNameLabel/SecondaryAssetNameLabel.js"),g=require("../../AssetNameLabel/AssetNameLabel.js"),j=require("./PadIcon.js"),A=require("./AppHeader.css.js"),h=require("./AppHeaderStyles.js"),b=require("react/jsx-runtime");function v(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var y=v(e),S=v(t),x=v(n),L=v(r);function q(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,s)}return a}function N(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?q(Object(a),!0).forEach((function(t){y.default(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):q(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var _="DevCenter_AppHeader",P=function(e){return"/assets/".concat(null==e?void 0:e.asset_id)};function O(e){var t,n,r,v,y=e.app,x=e.appLastAnnotation,q=e.appSettings,O=e.badge,I=e.children,w=e.classes,E=e.coordinates,M=e.currentUser,C=e.fracFleet,T=e.isMaximized,D=e.logoSrc,W=e.onSettingChange,k=e.openAnnotationsList,F=e.primaryAssetStatusBadge,H=e.rig,R=e.showLastAnnotation,B=e.updateCurrentDashboardAppLastAnnotation,U=e.well,V=e.wells,G=a.useState(!1),z=S.default(G,2),Y=z[0],Z=z[1],J=a.useRef(null),K=null==E?void 0:E.pixelWidth;a.useEffect((function(){var e,t;Z((null===(e=J.current)||void 0===e?void 0:e.scrollWidth)>(null===(t=J.current)||void 0===t?void 0:t.offsetWidth))}),[null===(t=J.current)||void 0===t?void 0:t.offsetWidth,K]);var Q=f.getAppDimension(K),X=u.getAppName(y),$=null==y||null===(n=y.package)||void 0===n||null===(r=n.manifest)||void 0===r||null===(v=r.application)||void 0===v?void 0:v.subtitle,ee=u.getAppSegment(y),te=ee===d.SEGMENTS.COMPLETION,ae=function(e){var t,a=e.appSettings,s=void 0===a?{}:a,n=e.well,r=e.rig,i=e.fracFleet,l=e.segment,o=l===d.SEGMENTS.DRILLING,u=l===d.SEGMENTS.COMPLETION,p=s.wellId,c=s.rigId,f=s.fracFleetId,m=s.padId,g=null==i||null===(t=i.pad_frac_fleets.find((function(e){return e.pad.id===(m||i.current_pad_id)})))||void 0===t?void 0:t.pad,j=o?p&&(null==n?void 0:n.name):null==g?void 0:g.name,A=null!=i&&i.current_pad_id?"/assets/types/pad/".concat(null==i?void 0:i.current_pad_id):null,h=o?null==r?void 0:r.name:null==i?void 0:i.name,b=!!(p||c||f),v=!1,y=o?h&&P(n):A;return u&&!b&&null!=n&&n.id&&null!=n&&n.name&&(v=!0,b=!0,y=P(n),h=n.name),{isPrimaryAssetStatusVisible:v,isPrimaryNameVisible:b,primaryAssetLink:y,primaryAssetName:h,secondaryAssetLink:o?P(n):"/assets/types/pad/".concat(m||(null==i?void 0:i.current_pad_id)),secondaryAssetName:j}}({appSettings:null==y?void 0:y.settings,well:U,rig:H,fracFleet:C,segment:ee}),se=ae.isPrimaryAssetStatusVisible,ne=ae.isPrimaryNameVisible,re=ae.primaryAssetLink,ie=ae.primaryAssetName,le=ae.secondaryAssetLink,de=ae.secondaryAssetName,oe=[f.APP_LAYOUT_SIZES.MEDIUM,f.APP_LAYOUT_SIZES.SMALL].includes(Q),ue=y&&y.id===o.DEV_CENTER_CLI_APP_ID,pe={fracFleet:C,wells:V,well:U,onSettingChange:W,appSettings:q},ce=h.useStyles({isMobileSize:oe});return b.jsxs(b.Fragment,{children:[b.jsxs("div",{className:ce.appHeaderWrapper,children:[b.jsxs("div",{className:L.default(ce.appHeaderContainer,w.appHeader),children:[b.jsxs("div",{className:ce.titleBlock,children:[b.jsxs("div",{className:w.appHeaderTitleWrapper,ref:J,children:[b.jsxs("div",{className:ce.titleWrapper,children:[D&&b.jsxs(b.Fragment,{children:[b.jsx("img",{className:ce.logo,src:D,alt:"company logo"}),b.jsx("div",{className:ce.separateLine})]}),b.jsx(i.Tooltip,{title:Y?X:"",placement:"bottom",children:b.jsx("h6",{"data-testid":"".concat(_,"_name"),className:ce.title,children:X})}),b.jsx(p.VersionBadge,{appPackage:null==y?void 0:y.package})]}),O]}),(!oe||D)&&$&&b.jsx("h6",{"data-testid":"".concat(_,"_subtitle"),className:ce.subtitle,children:$})]}),y&&E&&b.jsxs("div",{className:L.default(A.controlsContainer,T&&A.appMaximized),children:[te&&!oe&&b.jsx(c,N({},pe)),I,b.jsxs("div",{className:A.assetLabels,children:[de&&b.jsx(m.SecondaryAssetNameLabel,{assetName:de,coordinatesPixelWidth:K,dataTestId:"".concat(_,"_secondaryAsset"),href:!ue&&le,icon:te&&b.jsx(j.PadIcon,{}),isColored:!te||y.settings.padId&&y.settings.padId!==C.current_pad_id}),ne&&b.jsx(g.AssetNameLabel,{assetName:ie,coordinatesPixelWidth:K,dataTestId:"".concat(_,"_primaryAsset"),href:!ue&&(re||"/feed"),statusBadge:se&&F})]})]}),R&&x&&b.jsx(l,{annotation:x,appId:s.get(y,["app","id"]),currentUser:M,dashboardAppId:y.id,openAnnotationsList:k,updateCurrentDashboardAppLastAnnotation:B})]}),oe&&$&&!D&&b.jsx("h6",{"data-testid":"".concat(_,"_subtitle"),className:ce.subtitle,children:$})]}),te&&oe&&b.jsx("div",{className:A.padModeSelect,children:b.jsx(c,N({},pe))})]})}O.propTypes={app:x.default.object.isRequired,badge:x.default.node,classes:x.default.shape({appHeader:x.default.string,appHeaderTitleWrapper:x.default.string}),showLastAnnotation:x.default.bool,currentUser:x.default.shape({}),appLastAnnotation:x.default.shape({}),updateCurrentDashboardAppLastAnnotation:x.default.func,openAnnotationsList:x.default.func,rig:x.default.shape({name:x.default.string,asset_id:x.default.number}),well:x.default.shape({name:x.default.string,asset_id:x.default.number}),fracFleet:x.default.shape({name:x.default.string,current_pad_id:x.default.number,pad_frac_fleets:x.default.arrayOf(x.default.shape({pad:x.default.shape({id:x.default.number.isRequired}).isRequired})).isRequired}),wells:x.default.arrayOf(x.default.shape({})),coordinates:x.default.shape({pixelWidth:x.default.number.isRequired}),isMaximized:x.default.bool,appSettings:x.default.shape({}),onSettingChange:x.default.func,children:x.default.arrayOf(x.default.node),logoSrc:x.default.string,primaryAssetStatusBadge:x.default.node},O.defaultProps={appLastAnnotation:null,appSettings:null,badge:null,children:null,classes:{},coordinates:void 0,currentUser:void 0,fracFleet:null,isMaximized:!1,logoSrc:null,onSettingChange:void 0,openAnnotationsList:void 0,rig:null,showLastAnnotation:!0,updateCurrentDashboardAppLastAnnotation:function(){},well:null,wells:null,primaryAssetStatusBadge:null},exports.PAGE_NAME=_,exports.default=O;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require('./../../../ext-esm/tslib/tslib.es6.js'),r=require("react/jsx-runtime"),i=require("react"),t=require("@material-ui/core"),a=require("../../Modal/Modal.js"),n=require("../../Button/index.js"),s=t.makeStyles((function(e){return{container:{width:472,color:e.palette.primary.text6,display:"flex",flexDirection:"column",gap:8},helpText:{fontSize:16,lineHeight:"22px"},clearAllButton:{margin:"0 16px 0 auto"}}}));exports.ReportIssueModal=function(
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require('./../../../ext-esm/tslib/tslib.es6.js'),r=require("react/jsx-runtime"),i=require("react"),t=require("@material-ui/core"),a=require("../../Modal/Modal.js"),n=require("../../Button/index.js"),s=t.makeStyles((function(e){return{container:{width:472,color:e.palette.primary.text6,display:"flex",flexDirection:"column",gap:8},helpText:{fontSize:16,lineHeight:"22px"},clearAllButton:{margin:"0 16px 0 auto"}}}));exports.ReportIssueModal=function(l){var o=l.open,u=l.onSave,c=l.onClose,d=s(),x=i.useState(""),m=x[0],p=x[1];return r.jsx(a,e.__assign({open:o,onClose:c,title:"Report Data Quality Issue",actions:r.jsxs(r.Fragment,{children:[r.jsx(n,e.__assign({color:"primary",className:d.clearAllButton,onClick:c},{children:"Cancel"})),r.jsx(n,e.__assign({onClick:function(){return u(m)},variation:"primary"},{children:"Save"}))]})},{children:r.jsxs("div",e.__assign({className:d.container},{children:[r.jsx("div",e.__assign({className:d.helpText},{children:"All issues are submitted to the Corva’s 24/7 Fusion data quality team for immediate review and remediation."})),r.jsx(t.TextField,{multiline:!0,rows:1,rowsMax:4,label:"Error Description",onChange:function(e){return p(e.target.value)}})]}))}))};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./devcenter.js"),r=require("./goals.js"),s=require("./segment.js"),t=require("./alerts.js"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./devcenter.js"),r=require("./goals.js"),s=require("./segment.js"),t=require("./alerts.js"),o=require("./apps.js"),i=require("./casing.js"),p=require("./drillstring.js"),_=require("./completion.js"),a=require("./appPackages.js"),L=require("./notifications.js"),n=require("./feed.js"),u=require("./bha.js"),x=require("./assetTypes.js"),S=require("./wellSummary.js"),j=require("./rigActivity.js"),l=require("./componentsSettings.js"),E=require("./localStorageKeys.js");exports.DEV_CENTER_CLI_APP_ID=e.DEV_CENTER_CLI_APP_ID,exports.goals=r,exports.segment=s,exports.alerts=t,exports.apps=o,exports.casing=i,exports.drillstring=p,exports.completion=_,exports.appPackages=a,exports.notifications=L,exports.feed=n,exports.bha=u,exports.ASSET_TYPES=x.ASSET_TYPES,exports.COMPLETION_WELL_SUMMARY=S.COMPLETION_WELL_SUMMARY,exports.DRILLING_WELL_SUMMARY=S.DRILLING_WELL_SUMMARY,exports.DRILLOUT_WELL_SUMMARY=S.DRILLOUT_WELL_SUMMARY,exports.RIG_ACTIVITY_COLORS=j.RIG_ACTIVITY_COLORS,exports.componentsSettings=l.componentsSettings,exports.localStorageKeys=E;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.LOCAL_STORAGE_APP_THEME_KEY="APP_THEME",exports.LOCAL_STORAGE_PDF_REPORT_VIEW_KEY="PDF_REPORT_VIEW";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=window.location.pathname.startsWith("/reports/");exports.isReportsPage=
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../constants/localStorageKeys.js"),t=window.location.pathname.startsWith("/reports/"),s=JSON.parse(localStorage.getItem(e.LOCAL_STORAGE_PDF_REPORT_VIEW_KEY)||"false");exports.isPDFReportView=s,exports.isReportsPage=t;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"httpMessages.d.ts","sourceRoot":"","sources":["../../../src/clients/api/httpMessages.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"httpMessages.d.ts","sourceRoot":"","sources":["../../../src/clients/api/httpMessages.js"],"names":[],"mappings":"AAKA;;;;;EAQE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"methods.d.ts","sourceRoot":"","sources":["../../../src/clients/jsonApi/methods.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"methods.d.ts","sourceRoot":"","sources":["../../../src/clients/jsonApi/methods.js"],"names":[],"mappings":"AASO,8CALI,MAAM,QACN,MAAM,GAAC,MAAM,WACb,MAAM,EAAE,GACN,YAAU,CAgCtB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/AssetEditor/utils/index.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/AssetEditor/utils/index.js"],"names":[],"mappings":"AAAO,yDAUN"}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
export default ChartWrapper;
|
|
2
|
-
declare function ChartWrapper({ children, chartRef, isAxesCoordinatesShown, onCustomizeScaleClick, onZoomChangeCallback, }: {
|
|
2
|
+
declare function ChartWrapper({ children, chartRef, isAxesCoordinatesShown, onCustomizeScaleClick, onZoomChangeCallback, chartOptions, }: {
|
|
3
3
|
children: any;
|
|
4
4
|
chartRef: any;
|
|
5
5
|
isAxesCoordinatesShown: any;
|
|
6
6
|
onCustomizeScaleClick: any;
|
|
7
7
|
onZoomChangeCallback: any;
|
|
8
|
+
chartOptions: any;
|
|
8
9
|
}): JSX.Element;
|
|
9
10
|
declare namespace ChartWrapper {
|
|
10
11
|
namespace defaultProps {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChartWrapper.d.ts","sourceRoot":"","sources":["../../../../src/components/Chart/components/ChartWrapper.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"ChartWrapper.d.ts","sourceRoot":"","sources":["../../../../src/components/Chart/components/ChartWrapper.js"],"names":[],"mappings":";AAwBA;;;;;;;gBAuEC;;;QAGuB,sCAAQ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"@babel/runtime/helpers/defineProperty";import o from"@babel/runtime/helpers/slicedToArray";import{makeStyles as
|
|
1
|
+
import e from"@babel/runtime/helpers/defineProperty";import o from"@babel/runtime/helpers/slicedToArray";import{makeStyles as t}from"@material-ui/core";import{isEmpty as r,merge as n}from"lodash";import{useState as i,useEffect as a}from"react";import l from"../ChartWrapperContext.js";import{MIN_CHART_HEIGHT as c}from"../constants.js";import{useZoom as s}from"../effects/useZoom.js";import{useChartModifier as h}from"../effects/useChartModifier.js";import m from"./AxisOverlay.js";import{jsx as u,jsxs as d}from"react/jsx-runtime";function p(e,o){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);o&&(r=r.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),t.push.apply(t,r)}return t}function f(o){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach((function(t){e(o,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(e){Object.defineProperty(o,e,Object.getOwnPropertyDescriptor(r,e))}))}return o}var v=t({container:{width:"100%",height:"100%",position:"relative"}}),b={zoomType:"xy",panning:{enabled:!0,type:"xy"}},C=function(e){var t,p,C,g,y,O,j,S=e.children,Z=e.chartRef,P=e.isAxesCoordinatesShown,x=e.onCustomizeScaleClick,w=e.onZoomChangeCallback,E=e.chartOptions,z=v(),k=i({}),A=o(k,2),D=A[0],B=A[1],M=s({chart:null===(t=Z.current)||void 0===t?void 0:t.chart}),R=M.zoomStatus,H=M.zoomConfig,I=M.handleZoomEvent,T=M.handleResetZoom,N=M.isZoomEnabled,W=M.handleIsZoomEnabledChange,q=M.debouncedChartSelection;a((function(){var e,o,t;r(null===(e=Z.current)||void 0===e?void 0:e.chart)||B({marginBottom:null===(o=Z.current)||void 0===o||null===(t=o.chart)||void 0===t?void 0:t.marginBottom})}),[]);var F=(null===(p=Z.current)||void 0===p||null===(C=p.chart)||void 0===C||null===(g=C.plotBox)||void 0===g?void 0:g.height)<=c;h({chart:null===(y=Z.current)||void 0===y?void 0:y.chart,chartOptions:n({},b,E),isZoomEnabled:N,isMinHeightChart:F,onZoomChangeCallback:w,handleChartSelection:q,isAxesCoordinatesShown:P});var G={chart:null===(O=Z.current)||void 0===O?void 0:O.chart,zoomConfig:H,chartStyles:D,zoomStatus:R,isZoomEnabled:N,setChartStyles:B,handleResetZoom:T,handleZoomEvent:I,isMinHeightChart:F,handleChartSelection:q,handleChangeChartStyles:function(e){B((function(o){return f(f({},o),e)}))},handleIsZoomEnabledChange:W};return u("div",{className:z.container,children:d(l.Provider,{value:G,children:[S,x&&(null===(j=Z.current)||void 0===j?void 0:j.chart.axes.map((function(e){return u(m,f({onCustomizeScaleClick:x},e),e.coll)})))]})})};C.defaultProps={onZoomChangeCallback:function(){}};export{C as default};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
export function useChartModifier({ chart, isZoomEnabled, isMinHeightChart, handleChartSelection, onZoomChangeCallback, isAxesCoordinatesShown, }: {
|
|
1
|
+
export function useChartModifier({ chart, chartOptions, isZoomEnabled, isMinHeightChart, handleChartSelection, onZoomChangeCallback, isAxesCoordinatesShown, }: {
|
|
2
2
|
chart: any;
|
|
3
|
+
chartOptions: any;
|
|
3
4
|
isZoomEnabled: any;
|
|
4
5
|
isMinHeightChart: any;
|
|
5
6
|
handleChartSelection: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useChartModifier.d.ts","sourceRoot":"","sources":["../../../../src/components/Chart/effects/useChartModifier.js"],"names":[],"mappings":"AAcO
|
|
1
|
+
{"version":3,"file":"useChartModifier.d.ts","sourceRoot":"","sources":["../../../../src/components/Chart/effects/useChartModifier.js"],"names":[],"mappings":"AAcO;;;;;;;;SAgEN"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{makeStyles as
|
|
1
|
+
import r from"@babel/runtime/helpers/defineProperty";import{makeStyles as e}from"@material-ui/core";import{isEmpty as t}from"lodash";import{useEffect as o}from"react";import{updateAxisStyles as s}from"../formations.js";function a(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(r);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),t.push.apply(t,o)}return t}function i(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?a(Object(o),!0).forEach((function(t){r(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):a(Object(o)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(o,r))}))}return e}var n=e({axisGrab:{cursor:"grab"},axisCrosshair:{cursor:"crosshair"}}),c=function(r){var e=r.chart,a=r.chartOptions,c=r.isZoomEnabled,l=r.isMinHeightChart,p=r.handleChartSelection,f=r.onZoomChangeCallback,u=r.isAxesCoordinatesShown,h=n();o((function(){if(!t(e)){var r={zIndex:1,color:"#ffffff",dashStyle:"dash"};e.plotBackground.element.style.cursor=c?"crosshair":"grab",e.update({chart:i(i({},a),{},{plotBackgroundColor:"transparent",zoomType:l||!c?"none":a.zoomType}),xAxis:{crosshair:u?r:null,className:c?h.axisCrosshair:h.axisGrab,events:{afterSetExtremes:function(r){var t;"zoom"!==r.trigger&&"navigator"!==r.trigger||p(),null!==(t=e.xAxis[0].userOptions.plotLines)&&void 0!==t&&t.length&&s({chart:e}),f(r)}}},yAxis:{crosshair:u?r:null,className:c?h.axisCrosshair:h.axisGrab,events:{afterSetExtremes:function(r){"zoom"!==r.trigger&&"navigator"!==r.trigger||p(),f(r)}}},plotOptions:{series:{cursor:l||!c?"grab":"crosshair"}}})}}),[c,p,u])};export{c as useChartModifier};
|
|
@@ -12,7 +12,7 @@ declare const _default: import("react").ComponentType<Pick<Pick<{
|
|
|
12
12
|
left: PropTypes.Validator<number>;
|
|
13
13
|
right: PropTypes.Validator<number>;
|
|
14
14
|
classes: PropTypes.Validator<NonNullable<PropTypes.InferProps<{}>>>;
|
|
15
|
-
}>, "min" | "
|
|
15
|
+
}>, "min" | "right" | "max" | "left" | "classes" | "onChange">, "min" | "right" | "max" | "left" | "onChange"> & import("@material-ui/core").StyledComponentProps<"input">>;
|
|
16
16
|
export default _default;
|
|
17
17
|
import PropTypes from "prop-types";
|
|
18
18
|
//# sourceMappingURL=ChartActionsList.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"@babel/runtime/helpers/defineProperty";import t from"@babel/runtime/helpers/slicedToArray";import{useState as a,useRef as n,useEffect as s}from"react";import{get as r}from"lodash";import i from"prop-types";import o from"classnames";import{Tooltip as l}from"@material-ui/core";import"../../Annotations/components/AnnotationsList/index.js";import p from"../../Annotations/components/LastAnnotation/index.js";import"../../Annotations/AnnotationsContext.js";import{SEGMENTS as d}from"../../../constants/segment.js";import{DEV_CENTER_CLI_APP_ID as c}from"../../../constants/devcenter.js";import"../../../constants/goals.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"../../GradientManager/configuration/constants.js";import{getAppName as m,getAppSegment as u}from"../../../utils/devcenter.js";import{VersionBadge as f}from"./VersionBadge.js";import g from"./PadMode.js";import{APP_LAYOUT_SIZES as h,getAppDimension as b}from"./utils.js";import{SecondaryAssetNameLabel as A}from"../../AssetNameLabel/SecondaryAssetNameLabel.js";import{AssetNameLabel as v}from"../../AssetNameLabel/AssetNameLabel.js";import{PadIcon as y}from"./PadIcon.js";import j from"./AppHeader.css.js";import{useStyles as L}from"./AppHeaderStyles.js";import{jsxs as N,Fragment as S,jsx as _}from"react/jsx-runtime";function O(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function P(t){for(var a=1;a<arguments.length;a++){var n=null!=arguments[a]?arguments[a]:{};a%2?O(Object(n),!0).forEach((function(a){e(t,a,n[a])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):O(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var w="DevCenter_AppHeader",I=function(e){return"/assets/".concat(null==e?void 0:e.asset_id)};function C(e){var i,O,C,x,M=e.app,D=e.appLastAnnotation,W=e.appSettings,k=e.badge,H=e.children,T=e.classes,F=e.coordinates,B=e.currentUser,R=e.fracFleet,q=e.isMaximized,z=e.logoSrc,E=e.onSettingChange,U=e.openAnnotationsList,V=e.primaryAssetStatusBadge,G=e.rig,J=e.showLastAnnotation,K=e.updateCurrentDashboardAppLastAnnotation,Q=e.well,X=e.wells,Y=a(!1),Z=t(Y,2),$=Z[0],ee=Z[1],te=n(null),ae=null==F?void 0:F.pixelWidth;s((function(){var e,t;ee((null===(e=te.current)||void 0===e?void 0:e.scrollWidth)>(null===(t=te.current)||void 0===t?void 0:t.offsetWidth))}),[null===(i=te.current)||void 0===i?void 0:i.offsetWidth,ae]);var ne=b(ae),se=m(M),re=null==M||null===(O=M.package)||void 0===O||null===(C=O.manifest)||void 0===C||null===(x=C.application)||void 0===x?void 0:x.subtitle,ie=u(M),oe=ie===d.COMPLETION,le=function(e){var t,a=e.appSettings,n=void 0===a?{}:a,s=e.well,r=e.rig,i=e.fracFleet,o=e.segment,l=o===d.DRILLING,p=o===d.COMPLETION,c=n.wellId,m=n.rigId,u=n.fracFleetId,f=n.padId,g=null==i||null===(t=i.pad_frac_fleets.find((function(e){return e.pad.id===(f||i.current_pad_id)})))||void 0===t?void 0:t.pad,h=l?c&&(null==s?void 0:s.name):null==g?void 0:g.name,b=null!=i&&i.current_pad_id?"/assets/types/pad/".concat(null==i?void 0:i.current_pad_id):null,A=l?null==r?void 0:r.name:null==i?void 0:i.name,v=!!(c||m||u),y=!1,j=l?A&&I(s):b;return p&&!v&&null!=s&&s.id&&null!=s&&s.name&&(y=!0,v=!0,j=I(s),A=s.name),{isPrimaryAssetStatusVisible:y,isPrimaryNameVisible:v,primaryAssetLink:j,primaryAssetName:A,secondaryAssetLink:l?I(s):"/assets/types/pad/".concat(f||(null==i?void 0:i.current_pad_id)),secondaryAssetName:h}}({appSettings:null==M?void 0:M.settings,well:Q,rig:G,fracFleet:R,segment:ie}),pe=le.isPrimaryAssetStatusVisible,de=le.isPrimaryNameVisible,ce=le.primaryAssetLink,me=le.primaryAssetName,ue=le.secondaryAssetLink,fe=le.secondaryAssetName,ge=[h.MEDIUM,h.SMALL].includes(ne),he=M&&M.id===c,be={fracFleet:R,wells:X,well:Q,onSettingChange:E,appSettings:W},Ae=L({isMobileSize:ge});return N(S,{children:[N("div",{className:Ae.appHeaderWrapper,children:[N("div",{className:o(Ae.appHeaderContainer,T.appHeader),children:[N("div",{className:Ae.titleBlock,children:[N("div",{className:T.appHeaderTitleWrapper,ref:te,children:[N("div",{className:Ae.titleWrapper,children:[z&&N(S,{children:[_("img",{className:Ae.logo,src:z,alt:"company logo"}),_("div",{className:Ae.separateLine})]}),_(l,{title:$?se:"",placement:"bottom",children:_("h6",{"data-testid":"".concat(w,"_name"),className:Ae.title,children:se})}),_(f,{appPackage:null==M?void 0:M.package})]}),k]}),(!ge||z)&&re&&_("h6",{"data-testid":"".concat(w,"_subtitle"),className:Ae.subtitle,children:re})]}),M&&F&&N("div",{className:o(j.controlsContainer,q&&j.appMaximized),children:[oe&&!ge&&_(g,P({},be)),H,N("div",{className:j.assetLabels,children:[fe&&_(A,{assetName:fe,coordinatesPixelWidth:ae,dataTestId:"".concat(w,"_secondaryAsset"),href:!he&&ue,icon:_(y,{}),isColored:!oe||M.settings.padId&&M.settings.padId!==R.current_pad_id}),de&&_(v,{assetName:me,coordinatesPixelWidth:ae,dataTestId:"".concat(w,"_primaryAsset"),href:!he&&(ce||"/feed"),statusBadge:pe&&V})]})]}),J&&D&&_(p,{annotation:D,appId:r(M,["app","id"]),currentUser:B,dashboardAppId:M.id,openAnnotationsList:U,updateCurrentDashboardAppLastAnnotation:K})]}),ge&&re&&!z&&_("h6",{"data-testid":"".concat(w,"_subtitle"),className:Ae.subtitle,children:re})]}),oe&&ge&&_("div",{className:j.padModeSelect,children:_(g,P({},be))})]})}C.propTypes={app:i.object.isRequired,badge:i.node,classes:i.shape({appHeader:i.string,appHeaderTitleWrapper:i.string}),showLastAnnotation:i.bool,currentUser:i.shape({}),appLastAnnotation:i.shape({}),updateCurrentDashboardAppLastAnnotation:i.func,openAnnotationsList:i.func,rig:i.shape({name:i.string,asset_id:i.number}),well:i.shape({name:i.string,asset_id:i.number}),fracFleet:i.shape({name:i.string,current_pad_id:i.number,pad_frac_fleets:i.arrayOf(i.shape({pad:i.shape({id:i.number.isRequired}).isRequired})).isRequired}),wells:i.arrayOf(i.shape({})),coordinates:i.shape({pixelWidth:i.number.isRequired}),isMaximized:i.bool,appSettings:i.shape({}),onSettingChange:i.func,children:i.arrayOf(i.node),logoSrc:i.string,primaryAssetStatusBadge:i.node},C.defaultProps={appLastAnnotation:null,appSettings:null,badge:null,children:null,classes:{},coordinates:void 0,currentUser:void 0,fracFleet:null,isMaximized:!1,logoSrc:null,onSettingChange:void 0,openAnnotationsList:void 0,rig:null,showLastAnnotation:!0,updateCurrentDashboardAppLastAnnotation:function(){},well:null,wells:null,primaryAssetStatusBadge:null};export{w as PAGE_NAME,C as default};
|
|
1
|
+
import e from"@babel/runtime/helpers/defineProperty";import t from"@babel/runtime/helpers/slicedToArray";import{useState as a,useRef as n,useEffect as s}from"react";import{get as r}from"lodash";import i from"prop-types";import o from"classnames";import{Tooltip as l}from"@material-ui/core";import"../../Annotations/components/AnnotationsList/index.js";import p from"../../Annotations/components/LastAnnotation/index.js";import"../../Annotations/AnnotationsContext.js";import{SEGMENTS as d}from"../../../constants/segment.js";import{DEV_CENTER_CLI_APP_ID as c}from"../../../constants/devcenter.js";import"../../../constants/goals.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"../../GradientManager/configuration/constants.js";import{getAppName as m,getAppSegment as u}from"../../../utils/devcenter.js";import{VersionBadge as f}from"./VersionBadge.js";import g from"./PadMode.js";import{APP_LAYOUT_SIZES as h,getAppDimension as b}from"./utils.js";import{SecondaryAssetNameLabel as A}from"../../AssetNameLabel/SecondaryAssetNameLabel.js";import{AssetNameLabel as v}from"../../AssetNameLabel/AssetNameLabel.js";import{PadIcon as y}from"./PadIcon.js";import j from"./AppHeader.css.js";import{useStyles as L}from"./AppHeaderStyles.js";import{jsxs as N,Fragment as S,jsx as _}from"react/jsx-runtime";function O(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function P(t){for(var a=1;a<arguments.length;a++){var n=null!=arguments[a]?arguments[a]:{};a%2?O(Object(n),!0).forEach((function(a){e(t,a,n[a])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):O(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var w="DevCenter_AppHeader",I=function(e){return"/assets/".concat(null==e?void 0:e.asset_id)};function C(e){var i,O,C,x,M=e.app,D=e.appLastAnnotation,W=e.appSettings,k=e.badge,H=e.children,T=e.classes,F=e.coordinates,B=e.currentUser,R=e.fracFleet,q=e.isMaximized,z=e.logoSrc,E=e.onSettingChange,U=e.openAnnotationsList,V=e.primaryAssetStatusBadge,G=e.rig,J=e.showLastAnnotation,K=e.updateCurrentDashboardAppLastAnnotation,Q=e.well,X=e.wells,Y=a(!1),Z=t(Y,2),$=Z[0],ee=Z[1],te=n(null),ae=null==F?void 0:F.pixelWidth;s((function(){var e,t;ee((null===(e=te.current)||void 0===e?void 0:e.scrollWidth)>(null===(t=te.current)||void 0===t?void 0:t.offsetWidth))}),[null===(i=te.current)||void 0===i?void 0:i.offsetWidth,ae]);var ne=b(ae),se=m(M),re=null==M||null===(O=M.package)||void 0===O||null===(C=O.manifest)||void 0===C||null===(x=C.application)||void 0===x?void 0:x.subtitle,ie=u(M),oe=ie===d.COMPLETION,le=function(e){var t,a=e.appSettings,n=void 0===a?{}:a,s=e.well,r=e.rig,i=e.fracFleet,o=e.segment,l=o===d.DRILLING,p=o===d.COMPLETION,c=n.wellId,m=n.rigId,u=n.fracFleetId,f=n.padId,g=null==i||null===(t=i.pad_frac_fleets.find((function(e){return e.pad.id===(f||i.current_pad_id)})))||void 0===t?void 0:t.pad,h=l?c&&(null==s?void 0:s.name):null==g?void 0:g.name,b=null!=i&&i.current_pad_id?"/assets/types/pad/".concat(null==i?void 0:i.current_pad_id):null,A=l?null==r?void 0:r.name:null==i?void 0:i.name,v=!!(c||m||u),y=!1,j=l?A&&I(s):b;return p&&!v&&null!=s&&s.id&&null!=s&&s.name&&(y=!0,v=!0,j=I(s),A=s.name),{isPrimaryAssetStatusVisible:y,isPrimaryNameVisible:v,primaryAssetLink:j,primaryAssetName:A,secondaryAssetLink:l?I(s):"/assets/types/pad/".concat(f||(null==i?void 0:i.current_pad_id)),secondaryAssetName:h}}({appSettings:null==M?void 0:M.settings,well:Q,rig:G,fracFleet:R,segment:ie}),pe=le.isPrimaryAssetStatusVisible,de=le.isPrimaryNameVisible,ce=le.primaryAssetLink,me=le.primaryAssetName,ue=le.secondaryAssetLink,fe=le.secondaryAssetName,ge=[h.MEDIUM,h.SMALL].includes(ne),he=M&&M.id===c,be={fracFleet:R,wells:X,well:Q,onSettingChange:E,appSettings:W},Ae=L({isMobileSize:ge});return N(S,{children:[N("div",{className:Ae.appHeaderWrapper,children:[N("div",{className:o(Ae.appHeaderContainer,T.appHeader),children:[N("div",{className:Ae.titleBlock,children:[N("div",{className:T.appHeaderTitleWrapper,ref:te,children:[N("div",{className:Ae.titleWrapper,children:[z&&N(S,{children:[_("img",{className:Ae.logo,src:z,alt:"company logo"}),_("div",{className:Ae.separateLine})]}),_(l,{title:$?se:"",placement:"bottom",children:_("h6",{"data-testid":"".concat(w,"_name"),className:Ae.title,children:se})}),_(f,{appPackage:null==M?void 0:M.package})]}),k]}),(!ge||z)&&re&&_("h6",{"data-testid":"".concat(w,"_subtitle"),className:Ae.subtitle,children:re})]}),M&&F&&N("div",{className:o(j.controlsContainer,q&&j.appMaximized),children:[oe&&!ge&&_(g,P({},be)),H,N("div",{className:j.assetLabels,children:[fe&&_(A,{assetName:fe,coordinatesPixelWidth:ae,dataTestId:"".concat(w,"_secondaryAsset"),href:!he&&ue,icon:oe&&_(y,{}),isColored:!oe||M.settings.padId&&M.settings.padId!==R.current_pad_id}),de&&_(v,{assetName:me,coordinatesPixelWidth:ae,dataTestId:"".concat(w,"_primaryAsset"),href:!he&&(ce||"/feed"),statusBadge:pe&&V})]})]}),J&&D&&_(p,{annotation:D,appId:r(M,["app","id"]),currentUser:B,dashboardAppId:M.id,openAnnotationsList:U,updateCurrentDashboardAppLastAnnotation:K})]}),ge&&re&&!z&&_("h6",{"data-testid":"".concat(w,"_subtitle"),className:Ae.subtitle,children:re})]}),oe&&ge&&_("div",{className:j.padModeSelect,children:_(g,P({},be))})]})}C.propTypes={app:i.object.isRequired,badge:i.node,classes:i.shape({appHeader:i.string,appHeaderTitleWrapper:i.string}),showLastAnnotation:i.bool,currentUser:i.shape({}),appLastAnnotation:i.shape({}),updateCurrentDashboardAppLastAnnotation:i.func,openAnnotationsList:i.func,rig:i.shape({name:i.string,asset_id:i.number}),well:i.shape({name:i.string,asset_id:i.number}),fracFleet:i.shape({name:i.string,current_pad_id:i.number,pad_frac_fleets:i.arrayOf(i.shape({pad:i.shape({id:i.number.isRequired}).isRequired})).isRequired}),wells:i.arrayOf(i.shape({})),coordinates:i.shape({pixelWidth:i.number.isRequired}),isMaximized:i.bool,appSettings:i.shape({}),onSettingChange:i.func,children:i.arrayOf(i.node),logoSrc:i.string,primaryAssetStatusBadge:i.node},C.defaultProps={appLastAnnotation:null,appSettings:null,badge:null,children:null,classes:{},coordinates:void 0,currentUser:void 0,fracFleet:null,isMaximized:!1,logoSrc:null,onSettingChange:void 0,openAnnotationsList:void 0,rig:null,showLastAnnotation:!0,updateCurrentDashboardAppLastAnnotation:function(){},well:null,wells:null,primaryAssetStatusBadge:null};export{w as PAGE_NAME,C as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReportIssueModal.d.ts","sourceRoot":"","sources":["../../../../src/components/StatusBadge/components/ReportIssueModal.tsx"],"names":[],"mappings":";AAoBA,aAAK,qBAAqB,GAAG;IAC3B,IAAI,EAAE,OAAO,CAAC;IACd,MAAM,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,CAAA;AAED,eAAO,MAAM,gBAAgB,8BAA+B,qBAAqB,KAAG,
|
|
1
|
+
{"version":3,"file":"ReportIssueModal.d.ts","sourceRoot":"","sources":["../../../../src/components/StatusBadge/components/ReportIssueModal.tsx"],"names":[],"mappings":";AAoBA,aAAK,qBAAqB,GAAG;IAC3B,IAAI,EAAE,OAAO,CAAC;IACd,MAAM,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,CAAA;AAED,eAAO,MAAM,gBAAgB,8BAA+B,qBAAqB,KAAG,WAsCnF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__assign as e}from'./../../../ext-esm/tslib/tslib.es6.js';import{jsx as r,jsxs as t,Fragment as i}from"react/jsx-runtime";import{useState as o}from"react";import{makeStyles as n,TextField as a}from"@material-ui/core";import l from"../../Modal/Modal.js";import
|
|
1
|
+
import{__assign as e}from'./../../../ext-esm/tslib/tslib.es6.js';import{jsx as r,jsxs as t,Fragment as i}from"react/jsx-runtime";import{useState as o}from"react";import{makeStyles as n,TextField as a}from"@material-ui/core";import l from"../../Modal/Modal.js";import c from"../../Button/index.js";var m=n((function(e){return{container:{width:472,color:e.palette.primary.text6,display:"flex",flexDirection:"column",gap:8},helpText:{fontSize:16,lineHeight:"22px"},clearAllButton:{margin:"0 16px 0 auto"}}})),s=function(n){var s=n.open,u=n.onSave,p=n.onClose,d=m(),f=o(""),h=f[0],x=f[1];return r(l,e({open:s,onClose:p,title:"Report Data Quality Issue",actions:t(i,{children:[r(c,e({color:"primary",className:d.clearAllButton,onClick:p},{children:"Cancel"})),r(c,e({onClick:function(){return u(h)},variation:"primary"},{children:"Save"}))]})},{children:t("div",e({className:d.container},{children:[r("div",e({className:d.helpText},{children:"All issues are submitted to the Corva’s 24/7 Fusion data quality team for immediate review and remediation."})),r(a,{multiline:!0,rows:1,rowsMax:4,label:"Error Description",onChange:function(e){return x(e.target.value)}})]}))}))};export{s as ReportIssueModal};
|
|
@@ -7,10 +7,10 @@ declare const _default: import("react").ComponentType<Pick<Pick<PropTypes.InferP
|
|
|
7
7
|
popoverPaper: PropTypes.Validator<string>;
|
|
8
8
|
childrenWrapper: PropTypes.Validator<string>;
|
|
9
9
|
}>>>;
|
|
10
|
-
}>, "
|
|
10
|
+
}>, "user" | "children" | "classes"> & {
|
|
11
11
|
wrapperStyle?: PropTypes.InferProps<{}>;
|
|
12
12
|
currentUser?: PropTypes.InferProps<{}>;
|
|
13
|
-
} & {}, "
|
|
13
|
+
} & {}, "user" | "children" | "wrapperStyle" | "currentUser"> & import("@material-ui/core").StyledComponentProps<"popoverPaper" | "childrenWrapper">>;
|
|
14
14
|
export default _default;
|
|
15
15
|
import PropTypes from "prop-types";
|
|
16
16
|
//# sourceMappingURL=UserCardPopover.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"featureFlags.d.ts","sourceRoot":"","sources":["../../src/constants/featureFlags.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"featureFlags.d.ts","sourceRoot":"","sources":["../../src/constants/featureFlags.js"],"names":[],"mappings":"AAAA,kCAAmC"}
|
package/constants/index.d.ts
CHANGED
|
@@ -16,5 +16,6 @@ import * as appPackages from "./appPackages";
|
|
|
16
16
|
import * as notifications from "./notifications";
|
|
17
17
|
import * as bha from "./bha";
|
|
18
18
|
import { componentsSettings } from "./componentsSettings";
|
|
19
|
-
|
|
19
|
+
import * as localStorageKeys from "./localStorageKeys";
|
|
20
|
+
export { DEV_CENTER_CLI_APP_ID, drillstring, casing, goals, segment, alerts, feed, ASSET_TYPES, apps, DRILLING_WELL_SUMMARY, COMPLETION_WELL_SUMMARY, DRILLOUT_WELL_SUMMARY, RIG_ACTIVITY_COLORS, completion, appPackages, notifications, bha, componentsSettings, localStorageKeys };
|
|
20
21
|
//# sourceMappingURL=index.d.ts.map
|
package/constants/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{DEV_CENTER_CLI_APP_ID}from"./devcenter.js";import*as o from"./goals.js";export{o as goals};import*as r from"./segment.js";export{r as segment};import*as t from"./alerts.js";export{t as alerts};import*as s from"./apps.js";export{s as apps};import*as p from"./casing.js";export{p as casing};import*as e from"./drillstring.js";export{e as drillstring};import*as m from"./completion.js";export{m as completion};import*as
|
|
1
|
+
export{DEV_CENTER_CLI_APP_ID}from"./devcenter.js";import*as o from"./goals.js";export{o as goals};import*as r from"./segment.js";export{r as segment};import*as t from"./alerts.js";export{t as alerts};import*as s from"./apps.js";export{s as apps};import*as p from"./casing.js";export{p as casing};import*as e from"./drillstring.js";export{e as drillstring};import*as m from"./completion.js";export{m as completion};import*as a from"./appPackages.js";export{a as appPackages};import*as i from"./notifications.js";export{i as notifications};import*as f from"./feed.js";export{f as feed};import*as j from"./bha.js";export{j as bha};export{ASSET_TYPES}from"./assetTypes.js";export{COMPLETION_WELL_SUMMARY,DRILLING_WELL_SUMMARY,DRILLOUT_WELL_SUMMARY}from"./wellSummary.js";export{RIG_ACTIVITY_COLORS}from"./rigActivity.js";export{componentsSettings}from"./componentsSettings.js";import*as x from"./localStorageKeys.js";export{x as localStorageKeys};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"localStorageKeys.d.ts","sourceRoot":"","sources":["../../src/constants/localStorageKeys.js"],"names":[],"mappings":"AAAA,sDAAuD;AACvD,kEAAmE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var E="APP_THEME",P="PDF_REPORT_VIEW";export{E as LOCAL_STORAGE_APP_THEME_KEY,P as LOCAL_STORAGE_PDF_REPORT_VIEW_KEY};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"timezone.d.ts","sourceRoot":"","sources":["../../src/constants/timezone.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"timezone.d.ts","sourceRoot":"","sources":["../../src/constants/timezone.js"],"names":[],"mappings":"AAAA,8DAA+D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useDevCenterApp.test.d.ts","sourceRoot":"","sources":["../../../src/effects/__tests__/useDevCenterApp.test.js"],"names":[],"mappings":""}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export default
|
|
2
|
-
declare function
|
|
1
|
+
export default useDevCenterApp;
|
|
2
|
+
declare function useDevCenterApp({ CLIAppComponent, CLIAppSettings, app, version }: {
|
|
3
3
|
CLIAppComponent: any;
|
|
4
4
|
CLIAppSettings: any;
|
|
5
5
|
app: any;
|
package/package.json
CHANGED
package/utils/audio.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"audio.d.ts","sourceRoot":"","sources":["../../src/utils/audio.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"audio.d.ts","sourceRoot":"","sources":["../../src/utils/audio.js"],"names":[],"mappings":"AAGA,kFAEC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chartSeries.d.ts","sourceRoot":"","sources":["../../src/utils/chartSeries.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"chartSeries.d.ts","sourceRoot":"","sources":["../../src/utils/chartSeries.js"],"names":[],"mappings":"AAmBA,yDA2BC"}
|
package/utils/devcenter.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ export function getAppIdentifier({ appKey, version, isLocalDebugMode }: {
|
|
|
10
10
|
version: any;
|
|
11
11
|
isLocalDebugMode: any;
|
|
12
12
|
}): any;
|
|
13
|
-
export function isAppMaximized(query: any, appId?:
|
|
13
|
+
export function isAppMaximized(query: any, appId?: number): boolean;
|
|
14
14
|
export function getTimestampFromQuery(query: any): number;
|
|
15
15
|
export function getAppName(app: any): any;
|
|
16
16
|
export function isDevCenterApp(app: any): boolean;
|
package/utils/devcenter.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"devcenter.d.ts","sourceRoot":"","sources":["../../src/utils/devcenter.js"],"names":[],"mappings":"AAWA;;;;;;EAiBC;AAzBM;;;;QAIN;AACM,
|
|
1
|
+
{"version":3,"file":"devcenter.d.ts","sourceRoot":"","sources":["../../src/utils/devcenter.js"],"names":[],"mappings":"AAWA;;;;;;EAiBC;AAzBM;;;;QAIN;AACM,oEACuB;AAqBvB,0DAC4D;AAE5D,0CAA6E;AAE7E,kDAAoF;AAEpF,6CACkE"}
|
package/utils/reports.d.ts
CHANGED
package/utils/reports.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reports.d.ts","sourceRoot":"","sources":["../../src/utils/reports.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"reports.d.ts","sourceRoot":"","sources":["../../src/utils/reports.js"],"names":[],"mappings":"AAKA,oCAA8E;AAE9E,kCAEE"}
|
package/utils/reports.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
import{LOCAL_STORAGE_PDF_REPORT_VIEW_KEY as t}from"../constants/localStorageKeys.js";var a=window.location.pathname.startsWith("/reports/"),o=JSON.parse(localStorage.getItem(t)||"false");export{o as isPDFReportView,a as isReportsPage};
|
package/utils/rollbar.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rollbar.d.ts","sourceRoot":"","sources":["../../src/utils/rollbar.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"rollbar.d.ts","sourceRoot":"","sources":["../../src/utils/rollbar.js"],"names":[],"mappings":"AAAA,iDAYC"}
|