@corva/ui 0.50.0-10 → 0.50.0-10-test-95b93fd2
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/package.json +5 -4
- package/CLI/hocs/constants.js +0 -1
- package/CLI/hocs/utils.js +0 -1
- package/_virtual/_tslib.js +0 -1
- package/assets/00540440635d868542f0b1e6c01b459b.svg +0 -5
- package/assets/006c9aec83e4e1d5623a520c6debe5ec.png +0 -0
- package/assets/044d93ff5f668cd2feb34f84562d48ce.png +0 -0
- package/assets/083546083cd132bbaffd6620db709516.png +0 -0
- package/assets/0b4ecb23396b0fcf913c8673f51adcea.png +0 -0
- package/assets/0ba421f68bdeed555d761342b1a1b045.svg +0 -3
- package/assets/0ff9c8e376fcc263533d812e18cfdff7.svg +0 -30
- package/assets/17b94ca82a36d5d09ab8825006835a59.png +0 -0
- package/assets/1be6a0ee1d46b5f5c15203014864e086.svg +0 -4
- package/assets/1bfc6e5d9cbb531a554ab8d025fa23e9.svg +0 -84
- package/assets/1f460d664d596ce949f316a08308473d.svg +0 -12
- package/assets/22934f6ba4ec55f4e6a77470287b7e10.svg +0 -26
- package/assets/27836bcdc3e809b0c0f1852a4b5a7e9e.svg +0 -15
- package/assets/27afcb4e5f3f2b6d8fc1166fe4dc5580.svg +0 -19
- package/assets/2f3ed40f34ad7a7f2e6a5e1eda45c5f4.svg +0 -20
- package/assets/39f55985e0da1489ad22264208b0493d.svg +0 -4
- package/assets/3a4fe838a1a92a4da9ae255d81bc171b.png +0 -0
- package/assets/3f3100ae49e552599e0bbd9b60eb783d.svg +0 -15
- package/assets/48c0221a3d0faf6ab12f78c420df8e3a.svg +0 -18
- package/assets/49092309a3fda5ecf77311bd794ac103.svg +0 -40
- package/assets/493f8add7c4f51e48777410e8adcd94b.svg +0 -19
- package/assets/4add3bb28f8de18274b07ced2d5dc33a.png +0 -0
- package/assets/4e12a801cf281b17a26a017c395a778e.png +0 -0
- package/assets/5010eaf4520add4dcd713ce1fdbda5ea.png +0 -0
- package/assets/50e73f59728296f6d5a248384d53193a.svg +0 -40
- package/assets/5324a810000956e377669ef1d862660f.svg +0 -5
- package/assets/53cecdbd86f03352bda956fca25b537d.svg +0 -3
- package/assets/5e9c4959259cb12c11b2c5eaf27eb3ad.svg +0 -7
- package/assets/6684df900ff63f28b07f9c505fb7a66e.svg +0 -3
- package/assets/66973b6752d85d049d02440a64c83816.svg +0 -3
- package/assets/66ac95b0480ac2a8f3220f469b68ca5b.png +0 -0
- package/assets/6f675f9e082b3824a6670a60d3f4c21f.png +0 -0
- package/assets/6fb9ebec6308b35528b84a41acf93ed7.png +0 -0
- package/assets/72e175107512ebef943c463d4539f556.png +0 -0
- package/assets/76e3ee12638391cba164716321509ad7.svg +0 -207
- package/assets/76fbfad258179f332d17f2f8c5234bff.png +0 -0
- package/assets/771d537f0b0f13e9da457cd7a6902e94.png +0 -0
- package/assets/79993ae531d2a8a81347b11de94542cb.png +0 -0
- package/assets/7dcfb5193fd2f60e28374f31ee0a26bf.svg +0 -26
- package/assets/7f0a9a40a7f11250ce780c274026ff30.png +0 -0
- package/assets/81eb00627fd05e4ca52b335a7ac52e25.png +0 -0
- package/assets/84163cc2d0e66edf16cf6ea1145d3cc2.png +0 -0
- package/assets/8a08caefcbafbcdaa3f0af1afe23f54b.svg +0 -3
- package/assets/8c46f4027d283b5424dea0e75f546378.svg +0 -6
- package/assets/905e8af2a0d8a649a153959a561b87b7.svg +0 -4
- package/assets/9b185a425ea91b6c2beedfef39c06663.svg +0 -306
- package/assets/9bda514bfc837939d0b6f7d8dbe94d03.svg +0 -9
- package/assets/9efe5882f31d2f22bd57af92069d0a3e.svg +0 -4
- package/assets/ad2f90b277877ab4b461a002a885d501.svg +0 -4
- package/assets/aea63cc2b0a27fcbb6939967600d57de.png +0 -0
- package/assets/b0b1d748a61692cd1bc2a6b41bb4d862.svg +0 -6
- package/assets/b0c8b3ba66c35ef3128cc93c5c538060.svg +0 -7
- package/assets/b976051fc561f69a449fa6b1575a9f38.svg +0 -26
- package/assets/bb8a5a297df74bbdabbe557e02e969eb.png +0 -0
- package/assets/bd25d0918ae32b712f5d53481b5e3b4a.png +0 -0
- package/assets/bd46ae1cd29ed1553fd36d3fb9b6ca9e.png +0 -0
- package/assets/bdd9614af7b1365a1e0435f0169c2033.png +0 -0
- package/assets/beaa057dc063325a09a5097865a5a878.svg +0 -26
- package/assets/bf34c472868f0f04afd2523062f9f363.svg +0 -27
- package/assets/c0a8ba7272d80b8721250551f86252f0.svg +0 -5
- package/assets/c114aecc412f5d59429823554dd71245.svg +0 -5
- package/assets/c36bd155405be845b8331c1a878a117e.svg +0 -6
- package/assets/c7e056a4353978b8b0393473f0d750ae.svg +0 -3
- package/assets/c90b07a56f57b35270d42804a6610c78.svg +0 -18
- package/assets/ca6fe854cf3b94ac7018b5447e9b8c6b.svg +0 -4
- package/assets/d04f17a82ffacb85a1dc5e60c19928b4.png +0 -0
- package/assets/d32edb0ff9a69145d2c7917855263251.svg +0 -3
- package/assets/d8f7c4b371a4666ca44cae9ec3058c26.svg +0 -20
- package/assets/dcc33d9122e80a382aee3a723063ff23.png +0 -0
- package/assets/de87fc2dd3cd91d1433e2ead8e03c691.svg +0 -3
- package/assets/e0ba9254af3c235797de1b8660630ac0.png +0 -0
- package/assets/e5c1ddb75e4cd7410ae9ad034dfc61dd.svg +0 -6
- package/assets/e607e3aa0a4603bb7ae7f83a2148511e.svg +0 -14
- package/assets/e7839144655f1f6f30b756b0619dbe6a.svg +0 -12
- package/assets/e8baca5bdb92a559a66ca0e4f444c8ac.svg +0 -4
- package/assets/e95c91e8bfcef450855fe71a337705a3.svg +0 -50
- package/assets/eb59357d9fdc0d3aa2556c4accf76a1e.svg +0 -29
- package/assets/f0b094a2c6fdece0c98396833603c906.svg +0 -15
- package/assets/f5e653a472efce6a197a32e0946db802.png +0 -0
- package/assets/f5f3e0873169aaa6969748f50b892980.svg +0 -12
- package/assets/f8311dcb5efee59526c9665598ff8916.svg +0 -22
- package/assets/f9b4b8773b3c9b9be163fd19551c059d.svg +0 -12
- package/assets/fa2667bad3591deb178e99b521571578.svg +0 -4
- package/assets/fb966921510836f858c35bc9a14644ba.png +0 -0
- package/cjs/index.js +0 -5
- package/clients/api/apiCore.js +0 -1
- package/clients/api/httpMessages.js +0 -1
- package/clients/clientStorage/core.js +0 -1
- package/clients/clientStorage/index.js +0 -1
- package/clients/constants.js +0 -1
- package/clients/index.js +0 -1
- package/clients/jsonApi/index.js +0 -1
- package/clients/subscriptions.js +0 -1
- package/clients/utils.js +0 -1
- package/components/AddComment/Popover.js +0 -1
- package/components/AddComment/Popup.js +0 -1
- package/components/AddComment/components/Content.js +0 -1
- package/components/AdvancedSlider/AdvancedSlider.js +0 -1
- package/components/AdvancedSlider/Handle.js +0 -1
- package/components/AnchorsList/AnchorsList.js +0 -1
- package/components/Annotations/AnnotationsContext.js +0 -1
- package/components/Annotations/components/AnnotationsList/components/AddAnnotationForm/index.js +0 -1
- package/components/Annotations/components/AnnotationsList/components/AddAnnotationForm/style.css.js +0 -1
- package/components/Annotations/components/AnnotationsList/components/Annotation/index.js +0 -1
- package/components/Annotations/components/AnnotationsList/components/Annotation/style.css.js +0 -1
- package/components/Annotations/components/AnnotationsList/components/AnnotationComments/index.js +0 -1
- package/components/Annotations/components/AnnotationsList/components/AnnotationComments/style.css.js +0 -1
- package/components/Annotations/components/AnnotationsList/components/AnnotationInput/StyledSelect.js +0 -1
- package/components/Annotations/components/AnnotationsList/components/AnnotationInput/index.js +0 -1
- package/components/Annotations/components/AnnotationsList/components/AnnotationInput/style.css.js +0 -1
- package/components/Annotations/components/AnnotationsList/index.js +0 -1
- package/components/Annotations/components/AnnotationsList/style.css.js +0 -1
- package/components/Annotations/components/LastAnnotation/index.js +0 -1
- package/components/Annotations/components/LastAnnotation/style.css.js +0 -1
- package/components/Annotations/constants.js +0 -1
- package/components/AppVersionsSelect/AppVersionsSelect.js +0 -1
- package/components/AppVersionsSelect/effects/index.js +0 -1
- package/components/AssetEditor/AssetEditorAutocomplete.js +0 -1
- package/components/AssetEditor/AssetEditors.css.js +0 -1
- package/components/AssetEditor/SingleAssetEditor.js +0 -1
- package/components/AssetEditor/constants.js +0 -1
- package/components/AssetEditor/effects/index.js +0 -1
- package/components/AssetEditor/index.js +0 -1
- package/components/AssetNameLabel/PrimaryAssetNameLabel.js +0 -1
- package/components/AssetNameLabel/SecondaryAssetNameLabel.js +0 -1
- package/components/AssetNameLabel/styles.css.js +0 -1
- package/components/Attachment/index.js +0 -1
- package/components/Attachment/styles.css.js +0 -1
- package/components/Autocomplete/Autocomplete.js +0 -1
- package/components/Avatar/index.js +0 -1
- package/components/BICOffsetPickerDialog/components/Map/Map.css.js +0 -1
- package/components/BICOffsetPickerDialog/components/Map/Map.js +0 -1
- package/components/BICOffsetPickerDialog/components/Map/index.css.js +0 -1
- package/components/BICOffsetPickerDialog/components/Map/index.js +0 -1
- package/components/BICOffsetPickerDialog/components/WellSection/AssetSearch.js +0 -1
- package/components/BICOffsetPickerDialog/components/WellSection/AutoCompleteAssetSearch/AssetResultSection.js +0 -1
- package/components/BICOffsetPickerDialog/components/WellSection/AutoCompleteAssetSearch/AssetTypesSection.js +0 -1
- package/components/BICOffsetPickerDialog/components/WellSection/AutoCompleteAssetSearch/AutoCompleteAssetSearch.js +0 -1
- package/components/BICOffsetPickerDialog/components/WellSection/AutoCompleteAssetSearch/constants.js +0 -1
- package/components/BICOffsetPickerDialog/components/WellSection/AutoCompleteAssetSearch/effects/useAssetsData.js +0 -1
- package/components/BICOffsetPickerDialog/components/WellSection/AutoCompleteAssetSearch/utils/apiCalls.js +0 -1
- package/components/BICOffsetPickerDialog/components/WellSection/NumberCircle.js +0 -1
- package/components/BICOffsetPickerDialog/components/WellSection/SectionItem.js +0 -1
- package/components/BICOffsetPickerDialog/components/WellSection/WellListItem.js +0 -1
- package/components/BICOffsetPickerDialog/components/WellSection/index.js +0 -1
- package/components/BICOffsetPickerDialog/constants.js +0 -1
- package/components/BICOffsetPickerDialog/effects/index.js +0 -1
- package/components/BICOffsetPickerDialog/index.js +0 -1
- package/components/BICOffsetPickerDialog/utils/apiCalls.js +0 -1
- package/components/Breadcrumbs/index.js +0 -1
- package/components/Button/index.js +0 -1
- package/components/Casing/CasingComponentIcon.js +0 -1
- package/components/Casing/CasingTable/CasingComponent.js +0 -1
- package/components/Casing/CasingTable/index.js +0 -1
- package/components/Casing/CasingTableV2/CasingTableV2.css.js +0 -1
- package/components/Casing/CasingTableV2/CasingTableV2.js +0 -1
- package/components/Casing/CasingTableV2/components/CasingJoints/Browser.js +0 -1
- package/components/Casing/CasingTableV2/components/CasingJoints/Editor.js +0 -1
- package/components/Casing/CasingTableV2/components/Component.js +0 -1
- package/components/Casing/CasingTableV2/components/DrillPipe/Browser.js +0 -1
- package/components/Casing/CasingTableV2/components/DrillPipe/Editor.js +0 -1
- package/components/Casing/CasingTableV2/components/EditComponentDialog.js +0 -1
- package/components/Casing/CasingTableV2/components/Header.js +0 -1
- package/components/Casing/CasingTableV2/components/SortableComponent.js +0 -1
- package/components/Casing/CasingTableV2/components/SortableComponents.js +0 -1
- package/components/Casing/CasingTableV2/components/constants.js +0 -1
- package/components/Casing/CasingTile/CasingTile.js +0 -1
- package/components/Casing/CasingTile/style.js +0 -1
- package/components/Casing/CasingTileIcon.js +0 -1
- package/components/Chart/ChartWrapperContext.js +0 -1
- package/components/Chart/components/AxisDropdown.js +0 -1
- package/components/Chart/components/AxisOverlay.js +0 -1
- package/components/Chart/components/ChartButton.js +0 -1
- package/components/Chart/components/ChartButtons.js +0 -1
- package/components/Chart/components/ChartWrapper.js +0 -1
- package/components/Chart/components/buttons/DragToZoomButton.js +0 -1
- package/components/Chart/components/buttons/HideAxesButton.js +0 -1
- package/components/Chart/components/buttons/PanButton.js +0 -1
- package/components/Chart/components/buttons/ResetZoomButton.js +0 -1
- package/components/Chart/components/buttons/ZoomInButton.js +0 -1
- package/components/Chart/components/buttons/ZoomOutButton.js +0 -1
- package/components/Chart/constants.js +0 -1
- package/components/Chart/effects/useChartModifier.js +0 -1
- package/components/Chart/effects/useHideAxes.js +0 -1
- package/components/Chart/effects/useKeyboardControl.js +0 -1
- package/components/Chart/effects/useZoom.js +0 -1
- package/components/Chart/utils.js +0 -1
- package/components/ChartActionsList/ChartActionsList.css.js +0 -1
- package/components/ChartActionsList/ChartActionsList.js +0 -1
- package/components/ChartActionsList/icons/GoLive.js +0 -1
- package/components/ChartActionsList/icons/LeftArrow.js +0 -1
- package/components/ChartActionsList/icons/RightArrow.js +0 -1
- package/components/ChartActionsList/icons/TimeRange.js +0 -1
- package/components/ChartActionsList/icons/ZoomIn.js +0 -1
- package/components/ChartActionsList/icons/ZoomOut.js +0 -1
- package/components/Checkbox/index.js +0 -1
- package/components/Chip/index.js +0 -1
- package/components/CollapsableSidebar.js +0 -1
- package/components/CollapsibleContent.js +0 -1
- package/components/ColorPicker/ColorPicker.js +0 -1
- package/components/ColorPicker/PaletteChromePicker/ColorSquare/ColorSquare.js +0 -1
- package/components/ColorPicker/PaletteChromePicker/Palette/Palette.css.js +0 -1
- package/components/ColorPicker/PaletteChromePicker/Palette/Palette.js +0 -1
- package/components/ColorPicker/PaletteChromePicker/Palette/PaletteConstants.js +0 -1
- package/components/ColorPicker/PaletteChromePicker/PaletteChromePicker.js +0 -1
- package/components/ColorPickerPalette/ColorPickerPalette.js +0 -1
- package/components/Comment/CommentIcon/BadgeIcon.js +0 -1
- package/components/Comment/CommentIcon/index.js +0 -1
- package/components/Comment/index.js +0 -1
- package/components/Comment/styles.css.js +0 -1
- package/components/CommentInput/index.js +0 -1
- package/components/CommentInput/styles.css.js +0 -1
- package/components/CommentLoader.js +0 -1
- package/components/CommentWrapper.js +0 -1
- package/components/CommentsInfo/index.js +0 -1
- package/components/CommentsInfo/styles.css.js +0 -1
- package/components/ConfirmationDialog.js +0 -1
- package/components/ContextMenuItem/index.js +0 -1
- package/components/CopyToClipboard/CopyToClipboard.js +0 -1
- package/components/Counter/index.js +0 -1
- package/components/CustomSelect/index.js +0 -1
- package/components/DatePicker/index.js +0 -1
- package/components/DateTimePicker/index.js +0 -1
- package/components/DevCenter/AppContext.js +0 -1
- package/components/DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.js +0 -1
- package/components/DevCenter/AppHeader/AppHeader.css.js +0 -1
- package/components/DevCenter/AppHeader/AppHeader.js +0 -1
- package/components/DevCenter/AppHeader/AppHeaderStyles.js +0 -1
- package/components/DevCenter/AppHeader/PadMode.js +0 -1
- package/components/DevCenter/AppHeader/VersionBadge.js +0 -1
- package/components/DevCenter/AppHeader/utils.js +0 -1
- package/components/DevCenter/AppSettingsPopover/AppSettingsPopover.js +0 -1
- package/components/DevCenter/AppSideBar/AppSideBar.js +0 -1
- package/components/DevCenter/AppsDataProvider/AppsDataProvider.js +0 -1
- package/components/DevCenter/AppsDataProvider/effects/constants.js +0 -1
- package/components/DevCenter/AppsDataProvider/effects/dataResolvers.js +0 -1
- package/components/DevCenter/AppsDataProvider/effects/useAppsData.js +0 -1
- package/components/DevCenter/AppsDataProvider/effects/utils.js +0 -1
- package/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.css.js +0 -1
- package/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js +0 -1
- package/components/DevCenter/DevCenterAppContainer/components/AnnotationsButton/AnnotationsButton.js +0 -1
- package/components/DevCenter/DevCenterAppContainer/components/AppActions/AppActions.css.js +0 -1
- package/components/DevCenter/DevCenterAppContainer/components/AppActions/AppActions.js +0 -1
- package/components/DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.css.js +0 -1
- package/components/DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.js +0 -1
- package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppDetails.js +0 -1
- package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js +0 -1
- package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.module.css.js +0 -1
- package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/RemoveAppButton.js +0 -1
- package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/style.css.js +0 -1
- package/components/DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js +0 -1
- package/components/DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js +0 -1
- package/components/DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.js +0 -1
- package/components/DevCenter/DevCenterAppContainer/components/DevCenterAppView/components/ChooseAssetButton/index.js +0 -1
- package/components/DevCenter/DevCenterAppContainer/components/FullscreenButton/FullscreenButton.css.js +0 -1
- package/components/DevCenter/DevCenterAppContainer/components/FullscreenButton/FullscreenButton.js +0 -1
- package/components/DevCenter/DevCenterAppContainer/components/IsInsideDcAppProvider/IsInsideDcAppProvider.js +0 -1
- package/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.css.js +0 -1
- package/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.js +0 -1
- package/components/DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.css.js +0 -1
- package/components/DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.js +0 -1
- package/components/DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/RestoreAppSizeButton.css.js +0 -1
- package/components/DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/index.js +0 -1
- package/components/DevCenter/DevCenterAppContainer/effects/useAnnotationsData.js +0 -1
- package/components/DevCenter/DevCenterAppContainer/effects/useAnnotationsList.js +0 -1
- package/components/DevCenter/DevCenterAppContainer/effects/useAppMaximized.js +0 -1
- package/components/DevCenter/DevCenterAppContainer/effects/useAppSettings.js +0 -1
- package/components/DevCenter/DevCenterAppContainer/utils.js +0 -1
- package/components/DevCenter/DevCenterRouterContext/DevCenterRouterContext.js +0 -1
- package/components/DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.css.js +0 -1
- package/components/DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js +0 -1
- package/components/DevCenter/DevCenterRouterContext/effects/useDevCenterRouter.js +0 -1
- package/components/DevCenter/DevCenterRouterContext/hocs/withUniversalLocationHOC.js +0 -1
- package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterAppZoidComponent.js +0 -1
- package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.js +0 -1
- package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.module.css.js +0 -1
- package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js +0 -1
- package/components/DevCenter/IsolatedDevCenterAppContainer/constants.js +0 -1
- package/components/DevCenter/IsolatedDevCenterAppContainer/effects/useXProps.js +0 -1
- package/components/DevCenter/IsolatedDevCenterAppContainer/utils/replaceUndefinedValuesWithNull.js +0 -1
- package/components/DevCenter/NavigationBar/NavigationBar.js +0 -1
- package/components/DevCenter/SideBar/SideBar.js +0 -1
- package/components/DisabledSettingsMessage/DisabledSettingsMessage.js +0 -1
- package/components/DocumentViewer/DocumentViewer.js +0 -1
- package/components/DocumentViewer/styles.js +0 -1
- package/components/Drillstring/BHACasingEmptyView/BHACasingEmptyView.js +0 -1
- package/components/Drillstring/BHAComponentDetail/constants.js +0 -1
- package/components/Drillstring/BHAComponentDetail/index.js +0 -1
- package/components/Drillstring/BHAComponentIcon.js +0 -1
- package/components/Drillstring/BHAComponentsTable/BHAComponentsTable.js +0 -1
- package/components/Drillstring/BHAComponentsTable/BhaComponentsTable.css.js +0 -1
- package/components/Drillstring/BHAComponentsTable/components/Agitator/Browser.js +0 -1
- package/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js +0 -1
- package/components/Drillstring/BHAComponentsTable/components/Bit/Browser.js +0 -1
- package/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js +0 -1
- package/components/Drillstring/BHAComponentsTable/components/Component.js +0 -1
- package/components/Drillstring/BHAComponentsTable/components/DrillCollar/Browser.js +0 -1
- package/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js +0 -1
- package/components/Drillstring/BHAComponentsTable/components/DrillPipe/Browser.js +0 -1
- package/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js +0 -1
- package/components/Drillstring/BHAComponentsTable/components/EditComponentDialog.js +0 -1
- package/components/Drillstring/BHAComponentsTable/components/Header.js +0 -1
- package/components/Drillstring/BHAComponentsTable/components/Jar/Browser.js +0 -1
- package/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js +0 -1
- package/components/Drillstring/BHAComponentsTable/components/Lwd/Browser.js +0 -1
- package/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js +0 -1
- package/components/Drillstring/BHAComponentsTable/components/Lwd/Measurement.js +0 -1
- package/components/Drillstring/BHAComponentsTable/components/Mwd/Browser.js +0 -1
- package/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js +0 -1
- package/components/Drillstring/BHAComponentsTable/components/NozzleSize/index.js +0 -1
- package/components/Drillstring/BHAComponentsTable/components/Pdm/Browser.js +0 -1
- package/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js +0 -1
- package/components/Drillstring/BHAComponentsTable/components/PressureLoss/index.js +0 -1
- package/components/Drillstring/BHAComponentsTable/components/Rss/Browser.js +0 -1
- package/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js +0 -1
- package/components/Drillstring/BHAComponentsTable/components/SortableComponent.js +0 -1
- package/components/Drillstring/BHAComponentsTable/components/SortableComponents.js +0 -1
- package/components/Drillstring/BHAComponentsTable/components/Stabilizer/Browser.js +0 -1
- package/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js +0 -1
- package/components/Drillstring/BHAComponentsTable/components/Sub/Browser.js +0 -1
- package/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js +0 -1
- package/components/Drillstring/BHAComponentsTable/components/Suggestions/AutoCompleteDialog.js +0 -1
- package/components/Drillstring/BHAComponentsTable/components/Suggestions/Suggestions.js +0 -1
- package/components/Drillstring/BHAComponentsTable/components/Ur/Browser.js +0 -1
- package/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js +0 -1
- package/components/Drillstring/BHAComponentsTable/components/constants.js +0 -1
- package/components/Drillstring/BHAComponentsTable/components/shared/CancelButton.js +0 -1
- package/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js +0 -1
- package/components/Drillstring/BHAComponentsTable/components/shared/ExpandCollapseButton.js +0 -1
- package/components/Drillstring/BHAComponentsTable/components/shared/FormatedNumber.js +0 -1
- package/components/Drillstring/BHAComponentsTable/components/shared/InputText.js +0 -1
- package/components/Drillstring/BHAComponentsTable/components/shared/MoreButton.js +0 -1
- package/components/Drillstring/BHAComponentsTable/components/shared/SaveButton.js +0 -1
- package/components/Drillstring/BHAComponentsTable/components/shared/SelectField.js +0 -1
- package/components/Drillstring/BHAComponentsTable/components/shared/SharedEditorElements.js +0 -1
- package/components/Drillstring/BHAComponentsTable/components/shared/StaticField.js +0 -1
- package/components/Drillstring/BHAComponentsTable/components/sharedStyles.js +0 -1
- package/components/Drillstring/BHAComponentsTable/components/utils/calculation.js +0 -1
- package/components/Drillstring/BHAList/BHAList.js +0 -1
- package/components/Drillstring/BHAList/styles.css.js +0 -1
- package/components/Drillstring/BHASchematic.js +0 -1
- package/components/Drillstring/BHATable/BHAComponent.js +0 -1
- package/components/Drillstring/BHATable/index.js +0 -1
- package/components/Drillstring/BHATile/BHATile.js +0 -1
- package/components/Drillstring/BHATile/styles.css.js +0 -1
- package/components/Drillstring/BHATileIcon.js +0 -1
- package/components/Drillstring/BhaIndicator/BhaIndicator.js +0 -1
- package/components/Drillstring/BhaIndicator/styles.css.js +0 -1
- package/components/Drillstring/DrillstringDetail/DrillstringDetail.js +0 -1
- package/components/Drillstring/DrillstringDetail/styles.css.js +0 -1
- package/components/EditableItem/EditableItem/index.js +0 -1
- package/components/EditableItem/EditableItemWithBadge/index.js +0 -1
- package/components/EmbeddedApp/DevCenterEmbeddedApp.js +0 -1
- package/components/EmbeddedApp/EmbeddedApp.js +0 -1
- package/components/EmbeddedApp/components/AppInfo.js +0 -1
- package/components/EmbeddedApp/styles.css.js +0 -1
- package/components/EmojiIconButton.js +0 -1
- package/components/EmptyView/EmptyAppView/EmptyAppView.js +0 -1
- package/components/EmptyView/EmptyAppView/components/ErrorSubtitleWithIntercomLink.js +0 -1
- package/components/EmptyView/EmptyView.js +0 -1
- package/components/ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.css.js +0 -1
- package/components/ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js +0 -1
- package/components/ErrorBoundary/ErrorBoundary.js +0 -1
- package/components/FailedFileUploading.js +0 -1
- package/components/FeedItem/FeedItem.css.js +0 -1
- package/components/FeedItem/FeedItem.js +0 -1
- package/components/FeedItem/FeedItemEditProvider/FeedItemEditModal.js +0 -1
- package/components/FeedItem/FeedItemEditProvider/FeedItemEditProvider.js +0 -1
- package/components/FeedItem/components/Actions.js +0 -1
- package/components/FeedItem/components/AvatarIcon.js +0 -1
- package/components/FeedItem/components/Content.js +0 -1
- package/components/FeedItem/components/CreatedAt.js +0 -1
- package/components/FeedItem/components/FeedComments.js +0 -1
- package/components/FeedItem/components/Icon.js +0 -1
- package/components/FeedItem/components/Reactions.js +0 -1
- package/components/FeedItem/components/RigAndWell.js +0 -1
- package/components/FeedItem/components/TypeAndAssetTitle.js +0 -1
- package/components/FeedItem/editModals/DvdCommentEdit/DvdCommentEdit.js +0 -1
- package/components/FeedItem/editModals/PCCommentEdit/PCCommentEdit.js +0 -1
- package/components/FeedItem/feedItemTypes/AlertFeedItem.js +0 -1
- package/components/FeedItem/feedItemTypes/AppAnnotationFeedItem/helpers.js +0 -1
- package/components/FeedItem/feedItemTypes/AppAnnotationFeedItem/index.js +0 -1
- package/components/FeedItem/feedItemTypes/AppAnnotationFeedItem/styles.css.js +0 -1
- package/components/FeedItem/feedItemTypes/BhaFeedItem/BhaFeedItem.js +0 -1
- package/components/FeedItem/feedItemTypes/BhaFeedItem/components/BhaNumber.js +0 -1
- package/components/FeedItem/feedItemTypes/BhaFeedItem/components/BhaSchematic.js +0 -1
- package/components/FeedItem/feedItemTypes/BhaFeedItem/components/Info.js +0 -1
- package/components/FeedItem/feedItemTypes/BhaFeedItem/components/NoData.js +0 -1
- package/components/FeedItem/feedItemTypes/BhaFeedItem/styles.css.js +0 -1
- package/components/FeedItem/feedItemTypes/CompletionDailyCostFeedItem.js +0 -1
- package/components/FeedItem/feedItemTypes/CompletionDocumentFeedItem.js +0 -1
- package/components/FeedItem/feedItemTypes/CompletionNptFeedItem.js +0 -1
- package/components/FeedItem/feedItemTypes/CompletionOperationSummaryFeedItem.js +0 -1
- package/components/FeedItem/feedItemTypes/CompletionOperationalNoteFeedItem.js +0 -1
- package/components/FeedItem/feedItemTypes/DepthCommentFeedItem.js +0 -1
- package/components/FeedItem/feedItemTypes/DocumentFeedItem.js +0 -1
- package/components/FeedItem/feedItemTypes/DrillerMemoFeedItem.js +0 -1
- package/components/FeedItem/feedItemTypes/DrillingDailyCostFeedItem.js +0 -1
- package/components/FeedItem/feedItemTypes/DrillingOperationSummaryFeedItem.js +0 -1
- package/components/FeedItem/feedItemTypes/DrillingOperationalNoteFeedItem.js +0 -1
- package/components/FeedItem/feedItemTypes/DvDCommentFeedItem.js +0 -1
- package/components/FeedItem/feedItemTypes/FluidReportFeedItem.js +0 -1
- package/components/FeedItem/feedItemTypes/GeosteeringFeedItem.js +0 -1
- package/components/FeedItem/feedItemTypes/LessonsLearnedFeedItem/icons/Critical.js +0 -1
- package/components/FeedItem/feedItemTypes/LessonsLearnedFeedItem/icons/Major.js +0 -1
- package/components/FeedItem/feedItemTypes/LessonsLearnedFeedItem/icons/Minor.js +0 -1
- package/components/FeedItem/feedItemTypes/LessonsLearnedFeedItem/index.js +0 -1
- package/components/FeedItem/feedItemTypes/NptFeedItem.js +0 -1
- package/components/FeedItem/feedItemTypes/PCCommentFeedItem.js +0 -1
- package/components/FeedItem/feedItemTypes/PostFeedItem.js +0 -1
- package/components/FeedItem/feedItemTypes/StageOverviewFeedItem/api.js +0 -1
- package/components/FeedItem/feedItemTypes/StageOverviewFeedItem/components/NoData.js +0 -1
- package/components/FeedItem/feedItemTypes/StageOverviewFeedItem/components/Predictions.js +0 -1
- package/components/FeedItem/feedItemTypes/StageOverviewFeedItem/components/PredictionsItem.js +0 -1
- package/components/FeedItem/feedItemTypes/StageOverviewFeedItem/components/Stages/Stages.js +0 -1
- package/components/FeedItem/feedItemTypes/StageOverviewFeedItem/components/Stages/utils.js +0 -1
- package/components/FeedItem/feedItemTypes/StageOverviewFeedItem/index.js +0 -1
- package/components/FeedItem/feedItemTypes/SurveyStationFeedItem/api.js +0 -1
- package/components/FeedItem/feedItemTypes/SurveyStationFeedItem/components/AccuracyPlan.js +0 -1
- package/components/FeedItem/feedItemTypes/SurveyStationFeedItem/components/ActualPointInfo.js +0 -1
- package/components/FeedItem/feedItemTypes/SurveyStationFeedItem/components/Warning.js +0 -1
- package/components/FeedItem/feedItemTypes/SurveyStationFeedItem/index.js +0 -1
- package/components/FeedItem/feedItemTypes/TracesMemoFeedItem.js +0 -1
- package/components/FeedItem/feedItemTypes/WellPlanFeedItem/components/TargetChanges.js +0 -1
- package/components/FeedItem/feedItemTypes/WellPlanFeedItem/components/VerticalSectionAzimuth.js +0 -1
- package/components/FeedItem/feedItemTypes/WellPlanFeedItem/constants.js +0 -1
- package/components/FeedItem/feedItemTypes/WellPlanFeedItem/index.js +0 -1
- package/components/FeedItem/feedItemTypes/WellPlanFeedItem/styles.css.js +0 -1
- package/components/FilePreview/index.js +0 -1
- package/components/FilePreview/styles.css.js +0 -1
- package/components/FileTypeIcon.js +0 -1
- package/components/FileUploadIconButton.js +0 -1
- package/components/FilesLoader/FilesLoader.js +0 -1
- package/components/FilesLoader/Icons/CSVFileIcon.js +0 -1
- package/components/FilesLoader/Icons/DocFileIcon.js +0 -1
- package/components/FilesLoader/Icons/EDMFileIcon.js +0 -1
- package/components/FilesLoader/Icons/ExelFileIcon.js +0 -1
- package/components/FilesLoader/Icons/FileIcon.js +0 -1
- package/components/FilesLoader/Icons/IconRefresh.js +0 -1
- package/components/FilesLoader/Icons/IconSuccess.js +0 -1
- package/components/FilesLoader/Icons/IconWarning.js +0 -1
- package/components/FilesLoader/Icons/ImageFileIcon.js +0 -1
- package/components/FilesLoader/Icons/PdfFileIcon.js +0 -1
- package/components/FilesLoader/Icons/UnknownFileIcon.js +0 -1
- package/components/FilesLoader/Icons/UploadIcon.js +0 -1
- package/components/FilesLoader/useStyles.js +0 -1
- package/components/FolderMenuItem/components/ClosedFolderIcon.js +0 -1
- package/components/FolderMenuItem/components/FolderIcon.js +0 -1
- package/components/FolderMenuItem/components/OpenFolderIcon.js +0 -1
- package/components/FolderMenuItem/index.js +0 -1
- package/components/FolderMenuItemWithLinks/index.js +0 -1
- package/components/GoogleDocsViewer/index.js +0 -1
- package/components/GoogleDocsViewer/styles.css.js +0 -1
- package/components/HeaderLayout/HeaderLayout.css.js +0 -1
- package/components/HeaderLayout/HeaderLayout.js +0 -1
- package/components/HeaderLayout/constants.js +0 -1
- package/components/HeaderLayout/effects/index.js +0 -1
- package/components/HeaderLayout/utils.js +0 -1
- package/components/HelpCenter/HelpCenterIcon.js +0 -1
- package/components/HelpCenter/index.js +0 -1
- package/components/IconButton/index.js +0 -1
- package/components/IconMenu/index.js +0 -1
- package/components/Icons/AnnotationIcon.js +0 -1
- package/components/Icons/AttachIcon.js +0 -1
- package/components/Icons/EmojiIcon.js +0 -1
- package/components/Icons/RecommendationIcon.js +0 -1
- package/components/Icons/SendIcon.js +0 -1
- package/components/ImageViewer/index.js +0 -1
- package/components/ImageViewer/styles.css.js +0 -1
- package/components/InfiniteList/index.js +0 -1
- package/components/InfiniteList/styles.css.js +0 -1
- package/components/KeyboardDateTimePicker.js +0 -1
- package/components/LabelsCounter/LabelsCounter.js +0 -1
- package/components/LoadingIndicator/FullScreenLoadingIndicator.js +0 -1
- package/components/LoadingIndicator/InlineLoadingIndicator.js +0 -1
- package/components/LoadingIndicator/Loader.js +0 -1
- package/components/LoadingIndicator/LoadingIndicator.css.js +0 -1
- package/components/LoadingIndicator/LoadingIndicator.js +0 -1
- package/components/LoadingIndicator/types.js +0 -1
- package/components/MenuItem/index.js +0 -1
- package/components/Modal/CorvaModal.css.js +0 -1
- package/components/Modal/CorvaModal.js +0 -1
- package/components/Modal/DcCorvaModal.js +0 -1
- package/components/Modal/Modal.js +0 -1
- package/components/Modal/types.js +0 -1
- package/components/Notifications/Notifications.js +0 -1
- package/components/Notifications/NotificationsContainer.js +0 -1
- package/components/Notifications/components/Toast.js +0 -1
- package/components/Notifications/components/styles.js +0 -1
- package/components/OffsetWellButton/OffsetWellButton.js +0 -1
- package/components/OffsetWellChips/Chip.js +0 -1
- package/components/OffsetWellChips/ChipsContainer.js +0 -1
- package/components/OffsetWellChips/components/OffsetWellTruncatedText.js +0 -1
- package/components/OffsetWellChips/icons/SubjectIcon.js +0 -1
- package/components/OffsetWellChips/types.js +0 -1
- package/components/OffsetWellChips/utils.js +0 -1
- package/components/OffsetWellMap/OffsetWellMap.js +0 -1
- package/components/OffsetWellMap/OffsetWellMap.module.css.js +0 -1
- package/components/OffsetWellMap/WellTooltip.js +0 -1
- package/components/OffsetWellMap/WellTooltip.module.css.js +0 -1
- package/components/OffsetWellMap/effects/usePreviousWells.js +0 -1
- package/components/OffsetWellMap/utils.js +0 -1
- package/components/OffsetWellPickerV2/OffsetWellPickerDialog.js +0 -1
- package/components/OffsetWellPickerV2/components/Filter/ClearFiltersButton.js +0 -1
- package/components/OffsetWellPickerV2/components/Filter/MultiSelect.js +0 -1
- package/components/OffsetWellPickerV2/components/Filter/RadiusInput.js +0 -1
- package/components/OffsetWellPickerV2/components/Filter/SidetrackSwitch.js +0 -1
- package/components/OffsetWellPickerV2/components/Filter/SingleSelect.js +0 -1
- package/components/OffsetWellPickerV2/components/Filter/SubjectWellSearch.js +0 -1
- package/components/OffsetWellPickerV2/components/Filter/ToggleFiltersButton.js +0 -1
- package/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js +0 -1
- package/components/OffsetWellPickerV2/components/Filter/index.js +0 -1
- package/components/OffsetWellPickerV2/components/Map/Map.css.js +0 -1
- package/components/OffsetWellPickerV2/components/Map/Map.js +0 -1
- package/components/OffsetWellPickerV2/components/Map/index.css.js +0 -1
- package/components/OffsetWellPickerV2/components/Map/index.js +0 -1
- package/components/OffsetWellPickerV2/components/Map/popup.css.js +0 -1
- package/components/OffsetWellPickerV2/components/Map/popupGenerator.js +0 -1
- package/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js +0 -1
- package/components/OffsetWellPickerV2/components/Table/MetricsSelect.js +0 -1
- package/components/OffsetWellPickerV2/components/Table/SubjectIndicator.css.js +0 -1
- package/components/OffsetWellPickerV2/components/Table/SubjectIndicator.js +0 -1
- package/components/OffsetWellPickerV2/components/Table/index.js +0 -1
- package/components/OffsetWellPickerV2/constants.js +0 -1
- package/components/OffsetWellPickerV2/effects/biDirectionalFiltering.js +0 -1
- package/components/OffsetWellPickerV2/effects/index.js +0 -1
- package/components/OffsetWellPickerV2/utils/apiCalls.js +0 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Filter/ClearFiltersButton.js +0 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Filter/MultiSelect.js +0 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Filter/RadiusInput.js +0 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Filter/SidetrackSwitch.js +0 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Filter/index.js +0 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Map/FormationsLegend.js +0 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Map/Map.css.js +0 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Map/Map.js +0 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Map/index.js +0 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Map/popupGenerator.js +0 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Map/utils.js +0 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/AssetSearch.js +0 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/AutoCompleteAssetSearch/AssetResultSection.js +0 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/AutoCompleteAssetSearch/AssetTypesSection.js +0 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/AutoCompleteAssetSearch/AutoCompleteAssetSearch.js +0 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/AutoCompleteAssetSearch/constants.js +0 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/AutoCompleteAssetSearch/effects/useAssetsData.js +0 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js +0 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsSelect.js +0 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/SubjectIndicator.js +0 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/index.js +0 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/styles.js +0 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/constants.js +0 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/effects/biDirectionalFiltering.js +0 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/effects/index.js +0 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/index.js +0 -1
- package/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js +0 -1
- package/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js +0 -1
- package/components/OffsetWellPickerV3/components/TabSelection/index.js +0 -1
- package/components/OffsetWellPickerV3/components/WellHubView/index.js +0 -1
- package/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js +0 -1
- package/components/OffsetWellPickerV3/components/shared/OffsetWellTableRows.js +0 -1
- package/components/OffsetWellPickerV3/constants.js +0 -1
- package/components/OffsetWellPickerV3/effects/index.js +0 -1
- package/components/OffsetWellPickerV3/index.js +0 -1
- package/components/OffsetWellPickerV3/utils/apiCalls.js +0 -1
- package/components/OffsetWellPickerV4/OffsetWellPickerV4.js +0 -1
- package/components/OffsetWellPickerV4/OffsetWellPickerV4.module.css.js +0 -1
- package/components/OffsetWellPickerV4/components/AppHeader/AppHeader.js +0 -1
- package/components/OffsetWellPickerV4/components/AppHeader/AppHeader.module.css.js +0 -1
- package/components/OffsetWellPickerV4/components/CustomInfoIcon/CustomInfoIcon.js +0 -1
- package/components/OffsetWellPickerV4/components/CustomInfoIcon/CustomInfoIcon.module.css.js +0 -1
- package/components/OffsetWellPickerV4/components/Filter/Filter.js +0 -1
- package/components/OffsetWellPickerV4/components/Filter/Filter.module.css.js +0 -1
- package/components/OffsetWellPickerV4/components/Filter/MultiSelect.js +0 -1
- package/components/OffsetWellPickerV4/components/Filter/PeriodSelect.js +0 -1
- package/components/OffsetWellPickerV4/components/Filter/RadiusInput.js +0 -1
- package/components/OffsetWellPickerV4/components/Filter/SingleSelect.js +0 -1
- package/components/OffsetWellPickerV4/components/Filter/WellSection.js +0 -1
- package/components/OffsetWellPickerV4/components/Map/WellsMap.js +0 -1
- package/components/OffsetWellPickerV4/components/Map/WellsMap.module.css.js +0 -1
- package/components/OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/AdvancedSearch.js +0 -1
- package/components/OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/AdvancedSearch.module.css.js +0 -1
- package/components/OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/AssetResultSection.js +0 -1
- package/components/OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/AssetTypesSection.js +0 -1
- package/components/OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/AutoCompleteAssetSearch.js +0 -1
- package/components/OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/constants.js +0 -1
- package/components/OffsetWellPickerV4/components/OffsetWellsTable/MetricsSelect.js +0 -1
- package/components/OffsetWellPickerV4/components/OffsetWellsTable/MetricsSettingMenu.js +0 -1
- package/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTable.js +0 -1
- package/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTable.module.css.js +0 -1
- package/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTableHead.js +0 -1
- package/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTableHead.module.css.js +0 -1
- package/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTableRow.js +0 -1
- package/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTableRow.module.css.js +0 -1
- package/components/OffsetWellPickerV4/components/OffsetWellsTable/SubjectWellMark.js +0 -1
- package/components/OffsetWellPickerV4/components/OffsetWellsTable/ViewWellSectionsName.js +0 -1
- package/components/OffsetWellPickerV4/components/Toolbar/Toolbar.js +0 -1
- package/components/OffsetWellPickerV4/components/Toolbar/Toolbar.module.css.js +0 -1
- package/components/OffsetWellPickerV4/constants.js +0 -1
- package/components/OffsetWellPickerV4/effects/useAdvancedWells.js +0 -1
- package/components/OffsetWellPickerV4/effects/useAssetsData.js +0 -1
- package/components/OffsetWellPickerV4/effects/useBicWells.js +0 -1
- package/components/OffsetWellPickerV4/effects/useCompanyMetricKey.js +0 -1
- package/components/OffsetWellPickerV4/effects/useFetchWells.js +0 -1
- package/components/OffsetWellPickerV4/effects/useFilterOptions.js +0 -1
- package/components/OffsetWellPickerV4/effects/useFilteredWells.js +0 -1
- package/components/OffsetWellPickerV4/effects/useRadiusWells.js +0 -1
- package/components/OffsetWellPickerV4/effects/useSortedWells.js +0 -1
- package/components/OffsetWellPickerV4/effects/useTableColumns.js +0 -1
- package/components/OffsetWellPickerV4/utils/apiCalls.js +0 -1
- package/components/OffsetWellPickerV4/utils/timePeriod.js +0 -1
- package/components/OffsetWellPickerV4/utils/unitSystem.js +0 -1
- package/components/PadModeSelect/PadModeSelect.js +0 -1
- package/components/PadModeSelect/utils.js +0 -1
- package/components/PadOffsetsPicker/OffsetAssetChip.js +0 -1
- package/components/PadOffsetsPicker/OffsetAssetsListExpander.js +0 -1
- package/components/PadOffsetsPicker/PadOffsetsPicker.js +0 -1
- package/components/PadOffsetsPicker/StagesSelector.js +0 -1
- package/components/PadOffsetsPicker/index.js +0 -1
- package/components/ParameterCharts/AddEditTrack.css.js +0 -1
- package/components/ParameterCharts/AddEditTrack.js +0 -1
- package/components/ParameterCharts/ChartsContext.js +0 -1
- package/components/ParameterCharts/DataContext.js +0 -1
- package/components/ParameterCharts/ParameterCharts.css.js +0 -1
- package/components/ParameterCharts/ParameterCharts.js +0 -1
- package/components/ParameterCharts/SettingsContext.js +0 -1
- package/components/ParameterCharts/components/ChartContainer.css.js +0 -1
- package/components/ParameterCharts/components/ChartContainer.js +0 -1
- package/components/ParameterCharts/components/Charts/EmptyChart.css.js +0 -1
- package/components/ParameterCharts/components/Charts/EmptyChart.js +0 -1
- package/components/ParameterCharts/components/Charts/LineChart.css.js +0 -1
- package/components/ParameterCharts/components/Charts/LineChart.js +0 -1
- package/components/ParameterCharts/components/Charts/options.js +0 -1
- package/components/ParameterCharts/components/DataLoadingIndicator.js +0 -1
- package/components/ParameterCharts/components/SingleChannelTrackSettings.js +0 -1
- package/components/ParameterCharts/components/Tooltip/CursorPositioner.css.js +0 -1
- package/components/ParameterCharts/components/Tooltip/CursorPositioner.js +0 -1
- package/components/ParameterCharts/components/Tooltip/Tooltip.css.js +0 -1
- package/components/ParameterCharts/components/Tooltip/Tooltip.js +0 -1
- package/components/ParameterCharts/components/TraceHeader.css.js +0 -1
- package/components/ParameterCharts/components/TraceHeader.js +0 -1
- package/components/ParameterCharts/components/TraceSelect.js +0 -1
- package/components/ParameterCharts/components/TraceSettings.css.js +0 -1
- package/components/ParameterCharts/components/TraceSettings.js +0 -1
- package/components/ParameterCharts/components/Track.css.js +0 -1
- package/components/ParameterCharts/components/Track.js +0 -1
- package/components/ParameterCharts/components/TrackSettings.css.js +0 -1
- package/components/ParameterCharts/components/TrackSettings.js +0 -1
- package/components/ParameterCharts/constants.js +0 -1
- package/components/ParameterCharts/utils/dataParser.js +0 -1
- package/components/PinnableFilters/PinnableFilters.css.js +0 -1
- package/components/PinnableFilters/PinnableFilters.js +0 -1
- package/components/PinnableFilters/components/FiltersToggler.js +0 -1
- package/components/PinnableFilters/components/PinAppSwitch.js +0 -1
- package/components/PinnableFilters/constants.js +0 -1
- package/components/PinnableFilters/effects/index.js +0 -1
- package/components/PinnableFilters/utils.js +0 -1
- package/components/Popover/Popover.js +0 -1
- package/components/Popper/Popper.js +0 -1
- package/components/PostInput/PostInput.css.js +0 -1
- package/components/PostInput/PostInput.js +0 -1
- package/components/PostPreviewDialog/index.js +0 -1
- package/components/PostPreviewDialog/styles.css.js +0 -1
- package/components/PriceInput/FormattedNumber.js +0 -1
- package/components/PriceInput/PriceInput.js +0 -1
- package/components/RangeSlider/Input.css.js +0 -1
- package/components/RangeSlider/RangeSlider.css.js +0 -1
- package/components/RangeSlider/RangeSlider.js +0 -1
- package/components/RangeSlider/constants.js +0 -1
- package/components/RangeSlider/inputs/FromInput.js +0 -1
- package/components/RangeSlider/inputs/ToInput.js +0 -1
- package/components/RangeSlider/strategies/horizontal.js +0 -1
- package/components/RangeSlider/strategies/vertical.js +0 -1
- package/components/RangeSlider/utils.js +0 -1
- package/components/ResizableTable/ResizableTable.js +0 -1
- package/components/ResizableTable/ResizableTableCell.js +0 -1
- package/components/ResizableTable/ResizableTableHeaderCell.js +0 -1
- package/components/Search/Search.js +0 -1
- package/components/Search/components/Groups.js +0 -1
- package/components/Search/components/InputAdornmentLeft.js +0 -1
- package/components/Search/components/Listbox.js +0 -1
- package/components/Search/components/Paper.js +0 -1
- package/components/Search/components/RecentSearches.js +0 -1
- package/components/Search/styles.js +0 -1
- package/components/SearchInput/index.js +0 -1
- package/components/Select/index.js +0 -1
- package/components/SettingEditors/ColorEditor/index.js +0 -1
- package/components/SettingEditors/ColorEditor/style.css.js +0 -1
- package/components/SettingEditors/DropdownEditor/index.js +0 -1
- package/components/SettingEditors/RadioEditor/index.js +0 -1
- package/components/SlateFormattedText/Constants.js +0 -1
- package/components/SlateFormattedText/Elements/ImageElement/ImageElement.css.js +0 -1
- package/components/SlateFormattedText/Elements/ImageElement/ImageElement.js +0 -1
- package/components/SlateFormattedText/Elements/VideoElement/VideoElement.js +0 -1
- package/components/SlateFormattedText/Elements/VideoElement/style.css.js +0 -1
- package/components/SlateFormattedText/RenderElements.js +0 -1
- package/components/SlateFormattedText/SlateFormattedText.js +0 -1
- package/components/SlateFormattedText/style.css.js +0 -1
- package/components/SlateFormattedText/utils.js +0 -1
- package/components/StageDesignVActual/ComparisonBar/ComparisonBar.js +0 -1
- package/components/StageDesignVActual/ComparisonBar/utils.js +0 -1
- package/components/StageDesignVActual/ComparisonHeader.js +0 -1
- package/components/StageDesignVActual/ComparisonRow.js +0 -1
- package/components/StageDesignVActual/ComparisonTable.css.js +0 -1
- package/components/StageDesignVActual/ElementsComparison/ElementsComparison.js +0 -1
- package/components/StageDesignVActual/ElementsComparison/utils.js +0 -1
- package/components/Stepper/Step.css.js +0 -1
- package/components/Stepper/Step.js +0 -1
- package/components/Stepper/Stepper.js +0 -1
- package/components/Stepper/StepsWrapper.css.js +0 -1
- package/components/Stepper/StepsWrapper.js +0 -1
- package/components/Stepper/constants.js +0 -1
- package/components/StyledMenuItem/index.js +0 -1
- package/components/SwitchControl/index.js +0 -1
- package/components/SwitchControl/style.css.js +0 -1
- package/components/Table/TableCell/TableCell.js +0 -1
- package/components/Table/TableContainer/TableContainer.js +0 -1
- package/components/Table/TableSortLabel/TableSortLabel.js +0 -1
- package/components/Table/TableToolbar/TableToolbar.js +0 -1
- package/components/Tabs/Tab.js +0 -1
- package/components/Tabs/Tabs.js +0 -1
- package/components/Template/TemplatePopover/Styles.js +0 -1
- package/components/Template/TemplatePopover/index.js +0 -1
- package/components/Template/TemplateSharingDialog/ChipSelector.css.js +0 -1
- package/components/Template/TemplateSharingDialog/ChipSelector.js +0 -1
- package/components/Template/TemplateSharingDialog/UsersChipSelector.js +0 -1
- package/components/Template/TemplateSharingDialog/index.js +0 -1
- package/components/TextField/effects/index.js +0 -1
- package/components/TextField/index.js +0 -1
- package/components/TextLink/index.js +0 -1
- package/components/Toaster/ToastContainer.js +0 -1
- package/components/Toaster/Toaster.js +0 -1
- package/components/Tooltip/MuiTooltipDcWrapper.js +0 -1
- package/components/Tooltip/Tooltip.js +0 -1
- package/components/TracesEditModal/TracesEditModal.css.js +0 -1
- package/components/TracesEditModal/TracesEditModal.js +0 -1
- package/components/TracesEditModal/TracesEditModalContainer.js +0 -1
- package/components/TruncatedText/index.js +0 -1
- package/components/Typography.js +0 -1
- package/components/UserCard/index.js +0 -1
- package/components/UserCard/style.css.js +0 -1
- package/components/UserCardPopover.js +0 -1
- package/components/UserMention/constants.js +0 -1
- package/components/UserMention/index.js +0 -1
- package/components/UserMention/style.css.js +0 -1
- package/components/UserMention/utils/index.js +0 -1
- package/components/VirtualizedTable/CustomizeColumnsDialog.js +0 -1
- package/components/VirtualizedTable/DraggableList.js +0 -1
- package/components/VirtualizedTable/VirtualizedTable.js +0 -1
- package/components/VirtualizedTable/index.js +0 -1
- package/components/WellSummary/ActivitySummaryChart.js +0 -1
- package/components/WellSummary/FracWirelineTimeChart.js +0 -1
- package/components/WellSummary/WellSummaryItemLabel.js +0 -1
- package/components/WellSummary/WellSummaryItemTitle.js +0 -1
- package/components/WellSummary/WellSummaryItemValue.js +0 -1
- package/components/WellSummary/effects/useWellSummaryData.js +0 -1
- package/components/WellSummary/index.js +0 -1
- package/components/WellSummary/utils.js +0 -1
- package/components/index.js +0 -1
- package/config/highcharts/highcharts-contour.js +0 -1
- package/config/highcharts/highcharts.js +0 -1
- package/config/index.js +0 -1
- package/config/initGlobalDependencies.js +0 -1
- package/config/mapbox/index.js +0 -1
- package/config/theme/accordionOverrides.js +0 -1
- package/config/theme/buttonOverrides.js +0 -1
- package/config/theme/checkboxOverrides.js +0 -1
- package/config/theme/chipOverrides.js +0 -1
- package/config/theme/dateTimePickerThemeOverrides.js +0 -1
- package/config/theme/fabOverrides.js +0 -1
- package/config/theme/formControlLabelOverrides.js +0 -1
- package/config/theme/formGroupOverrides.js +0 -1
- package/config/theme/index.js +0 -1
- package/config/theme/lightThemePalette.mjs.js +0 -1
- package/config/theme/palette.mjs.js +0 -1
- package/config/theme/radioOverrides.js +0 -1
- package/config/theme/tableOverrides.js +0 -1
- package/config/theme/textFieldOverrides.js +0 -1
- package/config/theme/themeVariables.mjs.js +0 -1
- package/config/theme/toggleButtonsGroupOverrides.js +0 -1
- package/config/theme/tooltipOverrides.js +0 -1
- package/constants/accuracy.js +0 -1
- package/constants/alerts.js +0 -1
- package/constants/appPackages.js +0 -1
- package/constants/apps.js +0 -1
- package/constants/assetTypes.js +0 -1
- package/constants/bha.js +0 -1
- package/constants/casing.js +0 -1
- package/constants/completion.js +0 -1
- package/constants/dateTimeFormat.js +0 -1
- package/constants/devcenter.js +0 -1
- package/constants/drillstring.js +0 -1
- package/constants/feed.js +0 -1
- package/constants/goals.js +0 -1
- package/constants/index.js +0 -1
- package/constants/notifications.js +0 -1
- package/constants/rigActivity.js +0 -1
- package/constants/segment.js +0 -1
- package/constants/sizes.js +0 -1
- package/constants/subscriptions.js +0 -1
- package/constants/theme.js +0 -1
- package/constants/wellSummary.js +0 -1
- package/effects/index.js +0 -1
- package/effects/useDelayedDcFullscreenElemOpen.js +0 -1
- package/effects/useDevCenterApp.js +0 -1
- package/effects/useEscPress.js +0 -1
- package/effects/useOutsideClick.js +0 -1
- package/effects/useSharedDCStore.js +0 -1
- package/effects/useSignedURL.js +0 -1
- package/effects/useSubscriptions.js +0 -1
- package/ext-esm/@material-ui/icons/esm/ExpandLess.js +0 -1
- package/ext-esm/@material-ui/icons/esm/ExpandMore.js +0 -1
- package/ext-esm/@material-ui/icons/esm/Map.js +0 -1
- package/ext-esm/@material-ui/icons/esm/UnfoldLess.js +0 -1
- package/ext-esm/@material-ui/icons/esm/UnfoldMore.js +0 -1
- package/ext-esm/@material-ui/icons/esm/utils/createSvgIcon.js +0 -1
- package/ext-esm/style-inject/dist/style-inject.es.js +0 -1
- package/hocs/index.js +0 -1
- package/hocs/withMUIProvidersHOC.js +0 -1
- package/index.js +0 -1
- package/permissions/PermissionsContext.js +0 -1
- package/permissions/ProvidePermissions.js +0 -1
- package/permissions/constants/abilities.js +0 -1
- package/permissions/constants/appsPermissions.js +0 -1
- package/permissions/constants/index.js +0 -1
- package/permissions/constants/settingsApps.js +0 -1
- package/permissions/index.js +0 -1
- package/permissions/usePermissions.js +0 -1
- package/permissions/useProvidePermissions.js +0 -1
- package/permissions/utils.js +0 -1
- package/permissions/withPermissionsHOC.js +0 -1
- package/styles/counter/counter.module.scss +0 -71
- package/styles/counter/counter.module.scss.js +0 -1
- package/styles/counter/index.js +0 -1
- package/styles/customScrollbars.global.css +0 -37
- package/styles/customScrollbars.global.css.js +0 -1
- package/styles/emojiMart.global.css +0 -1
- package/styles/emojiMart.global.css.js +0 -1
- package/styles/generatedThemesVariables.global.css +0 -2
- package/styles/generatedThemesVariables.global.css.js +0 -1
- package/styles/globalStyles.js +0 -1
- package/styles/index.global.css +0 -56
- package/styles/index.global.css.js +0 -1
- package/styles/index.js +0 -1
- package/styles/lightbox.global.css +0 -1
- package/styles/lightbox.global.css.js +0 -1
- package/styles/mapbox.global.css +0 -1
- package/styles/mapbox.global.css.js +0 -1
- package/styles/reactVirtualized.global.css +0 -98
- package/styles/reactVirtualized.global.css.js +0 -1
- package/styles/typography/colors.module.scss +0 -13
- package/styles/typography/colors.module.scss.js +0 -1
- package/styles/typography/index.js +0 -1
- package/styles/typography/typography.module.scss +0 -36
- package/styles/typography/typography.module.scss.js +0 -1
- package/types.d.ts +0 -142
- package/utils/DrillstringUtils.js +0 -1
- package/utils/FluidCheckUtils.js +0 -1
- package/utils/StageDesignVActualUtils.js +0 -1
- package/utils/accuracy.js +0 -1
- package/utils/alerts.js +0 -1
- package/utils/apps.js +0 -1
- package/utils/audio.js +0 -1
- package/utils/bha.js +0 -1
- package/utils/casing/conversion.js +0 -1
- package/utils/casing/index.js +0 -1
- package/utils/casing/validation.js +0 -1
- package/utils/chartSeries.js +0 -1
- package/utils/completion.js +0 -1
- package/utils/components.js +0 -1
- package/utils/constants/units.js +0 -1
- package/utils/convert.js +0 -1
- package/utils/convertKeys.js +0 -1
- package/utils/csvExport.js +0 -1
- package/utils/dashboardReports.js +0 -1
- package/utils/devcenter.js +0 -1
- package/utils/devcenterToasts.js +0 -1
- package/utils/drillstring/conversion.js +0 -1
- package/utils/drillstring/index.js +0 -1
- package/utils/drillstring/schematic.js +0 -1
- package/utils/drillstring/validation.js +0 -1
- package/utils/env.js +0 -1
- package/utils/feed.js +0 -1
- package/utils/fileExtension.js +0 -1
- package/utils/formatting.js +0 -1
- package/utils/ga.js +0 -1
- package/utils/goals.js +0 -1
- package/utils/index.js +0 -1
- package/utils/jsonaDataFormatter.js +0 -1
- package/utils/lasParser.js +0 -1
- package/utils/loadable.js +0 -1
- package/utils/localStorage.js +0 -1
- package/utils/main.js +0 -1
- package/utils/mapUnits.js +0 -1
- package/utils/mapbox.js +0 -1
- package/utils/metrics/index.js +0 -1
- package/utils/metrics/metricsConfig.js +0 -1
- package/utils/metrics/utils.js +0 -1
- package/utils/mobileDetect.js +0 -1
- package/utils/nativeMessages.js +0 -1
- package/utils/notificationToasts.js +0 -1
- package/utils/notifications.js +0 -1
- package/utils/permissions.js +0 -1
- package/utils/recaptcha.js +0 -1
- package/utils/reports.js +0 -1
- package/utils/rollbar.js +0 -1
- package/utils/sharedDCStore.js +0 -1
- package/utils/sqlParser.js +0 -1
- package/utils/themeVariables.js +0 -1
- package/utils/time.js +0 -1
- package/utils/torqueAndHookloadUtils.js +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e from"@babel/runtime/helpers/defineProperty";import t from"@babel/runtime/helpers/slicedToArray";import{useState as i,useEffect as l,useMemo as o}from"react";import{bool as n,string as r,shape as s,func as c}from"prop-types";import{get as a}from"lodash";import{makeStyles as d,Dialog as p,DialogTitle as u,Typography as f,Tooltip as m,IconButton as b,DialogContent as S,DialogActions as y,Button as x}from"@material-ui/core";import{Close as g}from"@material-ui/icons";import"../../utils/index.js";import W from"./components/TabSelection/index.js";import v from"./components/WellHubView/index.js";import h from"./components/OffsetWellSelectionView/index.js";import O from"./components/CustomSelectionView/index.js";import{DATA_SOURCE_TYPE as j,SELECTION_TAB_TYPE as I,ALL_KEY as w,FILTER_BASEDON_TYPE as T}from"./constants.js";import{jsx as C,Fragment as A,jsxs as M}from"react/jsx-runtime";import{isTabletDetected as U,isMobileDetected as H}from"../../utils/mobileDetect.js";function B(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,l)}return i}function P(t){for(var i=1;i<arguments.length;i++){var l=null!=arguments[i]?arguments[i]:{};i%2?B(Object(l),!0).forEach((function(i){e(t,i,l[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(l)):B(Object(l)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(l,e))}))}return t}var k=d((function(e){return{paper:{width:function(e){var t=e.isTablet,i=e.isMobile;return t?"calc(100% - 24px)":i?"calc(100% - 16px)":"1100px"},maxWidth:"1100px",height:function(e){var t=e.isTablet,i=e.isMobile;return!t&&i&&"100%"},minHeight:function(e){var t=e.isTablet,i=e.isMobile;return t||!i&&"550px"},maxHeight:function(e){var t=e.isTablet,i=e.isMobile;return t?"702px":i?"calc(100% - 16px)":"calc(100% - 64px)"},margin:function(e){return e.isMobile?"0px":"32px"},background:e.palette.background.b9},rootHidden:{transition:"visibility 0.3s, opacity 0.3s",opacity:0,visibility:"hidden"},rootVisible:{transition:"visibility 0.3s, opacity 0.3s",opacity:1,visibility:"visible"},titleWrapper:{display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center"},title:{fontSize:"20px",color:e.palette.primary.text1},closeIconButton:{fontSize:"20px",background:"transparent !important",padding:4},closeIcon:{color:e.palette.primary.text6,"&:hover":{color:e.palette.primary.text1}},dialogContent:{display:"flex",flexDirection:"column",overflow:"hidden",padding:function(e){return e.isTablet&&"0 40px"}},dialogActions:{padding:function(e){var t=e.isMobile;return e.isTablet?"8px 40px 40px 40px":t?"8px 16px":"24px 40px 40px 40px"}},actionButtons:{display:"flex",gap:"16px"}}}));function D(n){var r=n.open,s=n.dataSource,c=n.filterBasedOn,d=n.defaultSubjectWell,T=n.currentUser,B=n.offsetSettings,D=n.unusableWellAlarm,F=n.addWellsUsabilityInfo,N=n.onClose,V=n.onSave,_=U,q=H,E=k({isTablet:_,isMobile:q}),R=s===j.offsetWellSelectionApp?null==B?void 0:B.wdUser:null==B?void 0:B.notWdUser,z=i((null==R?void 0:R.selectedSelection)||I.bic),K=t(z,2),G=K[0],J=K[1],L=i((null==R?void 0:R.selectedSection)||w),Q=t(L,2),X=Q[0],Y=Q[1],Z=i([]),$=t(Z,2),ee=$[0],te=$[1],ie=i([]),le=t(ie,2),oe=le[0],ne=le[1],re=i(!1),se=t(re,2),ce=se[0],ae=se[1],de=i(!1),pe=t(de,2),ue=pe[0],fe=pe[1],me=i({}),be=t(me,2),Se=be[0],ye=be[1],xe=i(!1),ge=t(xe,2),We=ge[0],ve=ge[1],he=i("custom"),Oe=t(he,2),je=Oe[0],Ie=Oe[1],we=i(!1),Te=t(we,2),Ce=Te[0],Ae=Te[1];l((function(){r&&(J((null==R?void 0:R.selectedSelection)||I.bic),Y((null==R?void 0:R.selectedSection)||w),ve(!1),ae(!1),fe(!1))}),[r]);var Me=i(+a(d,"companyId")||+a(R,"companyId")||+a(T,"company_id")),Ue=t(Me,2),He=Ue[0],Be=Ue[1],Pe=i(a(d,"asset_id")||a(R,"subjectWellId")||null),ke=t(Pe,2),De=ke[0],Fe=ke[1];l((function(){Be(+a(d,"companyId")||+a(R,"companyId")||+a(T,"company_id")),Fe(a(d,"asset_id")||a(R,"subjectWellId")||null)}),[R]);var Ne=o((function(){return r?G===I.bic?s===j.offsetWellSelectionApp?j.offsetWellSelectionApp:j.wellHub:j.customSelection:"hidden"}),[G,s,r]),Ve=function(){We&&(ve(!1),Ie("custom-".concat(Math.random()))),N()};return C(A,{children:M(p,{open:!0,onBackdropClick:Ve,onEscapeKeyDown:Ve,classes:{paper:E.paper,root:r?E.rootVisible:E.rootHidden},children:[C(u,{children:M("div",{className:E.titleWrapper,children:[C(f,{className:E.title,children:"Offset Wells"}),C(m,{title:"Close",children:C(b,{"data-not-migrated-muiiconbutton":!0,"aria-label":"close",className:E.closeIconButton,onClick:Ve,children:C(g,{className:E.closeIcon})})})]})}),M(S,{className:E.dialogContent,children:[C(W,{dataSource:s,filterBasedOn:c,selectedTab:G,setSelectedTab:J,sectionOptions:ee,selectedSection:X,setSelectedSection:Y,mapHidden:ce,onToggleMap:ae,filtersHidden:ue,onToggleFilters:fe,isTablet:_,isMobile:q,customFilters:Se,setIsClearFilters:Ae}),C(h,{open:Ne===j.offsetWellSelectionApp,companyId:He,subjectWellId:De,filterBasedOn:c,setSectionOptions:te,selectedSection:X,setSelectedOffsetWells:ne,isTablet:_,isMobile:q}),C(v,{open:Ne===j.wellHub,subjectWellId:De,setSelectedOffsetWells:ne,isTablet:_,isMobile:q}),C(O,{open:Ne===j.customSelection,defaultSubjectWellId:a(d,"asset_id"),companyId:He,userSettings:R,currentUser:T,addWellsUsabilityInfo:F,unusableWellAlarm:D,mapHidden:ce,filtersHidden:ue,setSelectedOffsetWells:ne,setFilterChanged:ve,onSave:function(e){ye(e)},isTablet:_,isMobile:q,onToggleFilters:fe,isClearFilters:Ce,setIsClearFilters:Ae},je)]}),C(y,{className:E.dialogActions,children:M("div",{className:E.actionButtons,children:[C(x,{onClick:Ve,color:"primary",children:"Cancel"}),M(x,{variant:"contained",color:"primary",onClick:function(){var t=s===j.offsetWellSelectionApp?"wdUser":"notWdUser",i=P(P({},B),{},e({},t,P(P({companyId:He},Se),{},{selectedSelection:G,selectedSection:X,customWellIds:G===I.custom?oe.map((function(e){return e.id})):a(B,[t,"customWellIds"],[])})));V(i,oe)},children:["Select (",oe.length,")"]})]})})]})})}D.propTypes={open:n.isRequired,dataSource:r,filterBasedOn:r,defaultSubjectWell:s({}),currentUser:s({}),offsetSettings:s(),unusableWellAlarm:r,addWellsUsabilityInfo:c,onClose:c.isRequired,onSave:c.isRequired},D.defaultProps={dataSource:j.offsetWellSelectionApp,filterBasedOn:T.wellSections,defaultSubjectWell:null,currentUser:{},offsetSettings:{},unusableWellAlarm:"Unable to add",addWellsUsabilityInfo:null};export{D as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e from"@babel/runtime/helpers/toConsumableArray";import t from"@babel/runtime/helpers/defineProperty";import r from"@babel/runtime/helpers/asyncToGenerator";import n from"@babel/runtime/regenerator";import a from"jsona";import{concat as s,range as i,get as u}from"lodash";import{getAppStorage as c,getAssets as o,getCompanyGoals as p,getRigs as l,getFracFleets as f,getDrilloutUnits as m}from"../../../clients/jsonApi/index.js";import{METRICS_KEYS as b}from"../components/CustomSelectionView/constants.js";function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function h(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?d(Object(n),!0).forEach((function(r){t(e,r,n[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var _=new a;function v(e,t){return y.apply(this,arguments)}function y(){return(y=r(n.mark((function e(t,r){var a,s,i;return n.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=null,e.prev=1,e.next=4,o({types:["well"],company_id:t?+t:void 0,fields:["asset.name","asset.parent_asset_id","asset.parent_asset_name","asset.status","asset.stats","asset.target_formation","asset.string_design","asset.root_asset_name","asset.basin","asset.county","asset.area","asset.visibility","asset.top_hole","asset.settings","well.settings"],per_page:1e4,sort:"name"});case 4:a=e.sent,e.next=10;break;case 7:e.prev=7,e.t0=e.catch(1),console.error(e.t0);case 10:if(s=a?a.data.map((function(e){return{id:Number(e.id),name:u(e,"attributes.name"),status:u(e,"attributes.status"),rigId:u(e,"attributes.parent_asset_id")||"Null",rigName:u(e,"attributes.parent_asset_name")||"Null",formation:u(e,"attributes.target_formation")||"Null",stringDesign:u(e,"attributes.string_design")||"Null",programName:u(e,"attributes.root_asset_name")||"Null",basin:u(e,"attributes.basin")||"Null",county:u(e,"attributes.county")||"Null",area:u(e,"attributes.area")||"Null",visibility:u(e,"attributes.visibility"),topHole:u(e,"attributes.top_hole"),rigReleaseDate:u(e,"attributes.stats.well_end"),totalDepth:u(e,"attributes.stats.total_depth"),is_usable:!0,apiNumber:u(e,"attributes.settings.api_number","-")}})).filter((function(e){return"visible"===e.visibility})):[],!r){e.next=16;break}return e.next=14,r(s);case 14:return i=e.sent,e.abrupt("return",i);case 16:return e.abrupt("return",s);case 17:case"end":return e.stop()}}),e,null,[[1,7]])})))).apply(this,arguments)}function g(e){return w.apply(this,arguments)}function w(){return(w=r(n.mark((function e(t){return n.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",c("corva","data.offset-wells.bic",t,{limit:1,sort:"{timestamp: -1}"}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function x(e){return k.apply(this,arguments)}function k(){return(k=r(n.mark((function e(t){var r;return n.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=null,e.prev=1,e.next=4,c("corva","data.offset_wells",t,{limit:1});case 4:r=e.sent,e.next=10;break;case 7:e.prev=7,e.t0=e.catch(1),console.error(e.t0);case 10:return e.abrupt("return",r||[]);case 11:case"end":return e.stop()}}),e,null,[[1,7]])})))).apply(this,arguments)}function O(e,t){return j.apply(this,arguments)}function j(){return(j=r(n.mark((function e(t,r){var a,s,i;return n.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a={per_page:1e3,page:t,fields:["rig.name","rig.active_well","rig.asset_id"],sort:"name",company:r},e.prev=2,e.next=5,l(a);case 5:s=e.sent,e.next=12;break;case 8:e.prev=8,e.t0=e.catch(2),console.error(e.t0),s=[];case 12:return i=_.deserialize(s),e.abrupt("return",i.map((function(e){return h({redirectAssetId:u(e,["active_well","asset_id"])||null},e)})));case 14:case"end":return e.stop()}}),e,null,[[2,8]])})))).apply(this,arguments)}function N(e,t){return P.apply(this,arguments)}function P(){return(P=r(n.mark((function e(t,r){var a,s,i;return n.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a={per_page:1e3,page:t,fields:["frac_fleet.name","frac_fleet.current_pad_id","frac_fleet.pad_frac_fleets"],sort:"name",company:r},e.prev=2,e.next=5,f(a);case 5:s=e.sent,e.next=12;break;case 8:e.prev=8,e.t0=e.catch(2),console.error(e.t0),s=[];case 12:return i=_.deserialize(s),e.abrupt("return",i.map((function(e){return h({redirectAssetId:u(e,["current_pad_id"])||null},e)})));case 14:case"end":return e.stop()}}),e,null,[[2,8]])})))).apply(this,arguments)}function D(e,t){return A.apply(this,arguments)}function A(){return(A=r(n.mark((function e(t,r){var a,s,i;return n.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a={per_page:1e3,page:t,fields:["drillout_unit.name","drillout_unit.well"],sort:"name",company:r},e.prev=2,e.next=5,m(a);case 5:s=e.sent,e.next=12;break;case 8:e.prev=8,e.t0=e.catch(2),console.error(e.t0),s=[];case 12:return i=_.deserialize(s),e.abrupt("return",i.map((function(e){return h({redirectAssetId:u(e,["well","asset_id"])||null},e)})));case 14:case"end":return e.stop()}}),e,null,[[2,8]])})))).apply(this,arguments)}function I(e){return $.apply(this,arguments)}function $(){return $=r(n.mark((function t(r){var a,i,u,c,o,p,l,f=arguments;return n.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(a=f.length>1&&void 0!==f[1]?f[1]:1,i=f.length>2?f[2]:void 0,"well"!==r&&"api_number"!==r){t.next=7;break}return t.next=5,v(i,null);case 5:return u=t.sent,t.abrupt("return",u.map((function(e){return{redirectAssetId:e.id,apiNumber:e.api_number,name:e.name,asset_id:e.id,type:r}})));case 7:if("rig"!==r){t.next=12;break}return t.next=10,O(a,i);case 10:return c=t.sent,t.abrupt("return",c);case 12:if("frac_fleet"!==r){t.next=17;break}return t.next=15,N(a,i);case 15:return o=t.sent,t.abrupt("return",o);case 17:if("drillout_unit"!==r){t.next=22;break}return t.next=20,D(a,i);case 20:return p=t.sent,t.abrupt("return",p);case 22:return t.next=24,Promise.all([v("well",i),O(a,i),N(a,i),D(a,i)]);case 24:return l=t.sent,t.abrupt("return",s.apply(void 0,e(l)));case 26:case"end":return t.stop()}}),t)}))),$.apply(this,arguments)}function S(e){return z.apply(this,arguments)}function z(){return(z=r(n.mark((function e(t){var r;return n.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,p(t);case 3:r=e.sent,e.next=9;break;case 6:e.prev=6,e.t0=e.catch(0),console.error(e.t0);case 9:return e.abrupt("return",r&&u(r,"company_goals")||{});case 10:case"end":return e.stop()}}),e,null,[[0,6]])})))).apply(this,arguments)}function E(e,t){return C.apply(this,arguments)}function C(){return C=r(n.mark((function t(a,s){var u,o,p;return n.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(0!==s.length){t.next=2;break}return t.abrupt("return",[]);case 2:return u=Math.floor(s.length/200)+1,t.next=5,Promise.all(i(u).map(function(){var e=r(n.mark((function e(t,r){var i,u,o,p;return n.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i={company_id:a,"data.asset_id":{$in:s.slice(200*r,200*(r+1))},"data.key":{$in:b},"data.type":"asset"},u={_id:0,"data.key":1,"data.value":1,asset_id:"$data.asset_id"},o={aggregate:JSON.stringify([{$match:i},{$project:u}])},p=null,e.prev=4,e.next=7,c("corva","metrics",null,o);case 7:p=e.sent,e.next=13;break;case 10:e.prev=10,e.t0=e.catch(4),console.error(e.t0);case 13:return e.abrupt("return",p||[]);case 14:case"end":return e.stop()}}),e,null,[[4,10]])})));return function(t,r){return e.apply(this,arguments)}}()));case 5:return o=t.sent,p=[],o.forEach((function(t){return p.push.apply(p,e(t))})),t.abrupt("return",p);case 9:case"end":return t.stop()}}),t)}))),C.apply(this,arguments)}export{I as fetchAllAssets,g as fetchBicWellSections,S as fetchCompanyGoals,E as fetchMetricsData,x as fetchWellhubWells,v as fetchWells};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e from"@babel/runtime/helpers/toConsumableArray";import t from"@babel/runtime/helpers/defineProperty";import o from"@babel/runtime/helpers/slicedToArray";import{useState as i,useMemo as r,useRef as n,useEffect as s,useCallback as l}from"react";import a from"prop-types";import p from"classnames";import{uniqBy as m,isEmpty as c,sortBy as d,isEqual as u}from"lodash";import{Typography as f}from"@material-ui/core";import{Replay as j,InfoOutlined as C}from"@material-ui/icons";import b from"../Modal/Modal.js";import"../IconMenu/index.js";import"../StyledMenuItem/index.js";import"../DevCenter/AppHeader/AppHeader.js";import"../DevCenter/AppSideBar/AppSideBar.js";import"../DevCenter/AppsDataProvider/AppsDataProvider.js";import"../DevCenter/DevCenterAppContainer/DevCenterAppContainer.js";import"../DevCenter/NavigationBar/NavigationBar.js";import"../DevCenter/SideBar/SideBar.js";import"../DevCenter/AppSettingsPopover/AppSettingsPopover.js";import"../DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.js";import"../DevCenter/DevCenterRouterContext/DevCenterRouterContext.js";import"../DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js";import"@babel/runtime/helpers/objectWithoutProperties";import"react-router";import{jsx as v,jsxs as h,Fragment as g}from"react/jsx-runtime";import"../DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js";import"../DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.js";import"../DevCenter/AppContext.js";import"../AssetEditor/index.js";import"../AppVersionsSelect/AppVersionsSelect.js";import A from"../LoadingIndicator/LoadingIndicator.js";import{Regular12 as y}from"../Typography.js";import"../CollapsableSidebar.js";import"../DateTimePicker/index.js";import"../DatePicker/index.js";import"../ErrorBoundary/ErrorBoundary.js";import"../ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js";import"../Annotations/components/AnnotationsList/index.js";import"../Annotations/components/LastAnnotation/index.js";import"../Annotations/AnnotationsContext.js";import"../SlateFormattedText/SlateFormattedText.js";import"../SlateFormattedText/RenderElements.js";import"@babel/runtime/helpers/typeof";import"slate";import"../ParameterCharts/ParameterCharts.js";import"../ParameterCharts/AddEditTrack.js";import"../ChartActionsList/ChartActionsList.js";import"../CopyToClipboard/CopyToClipboard.js";import"../AssetEditor/AssetEditorAutocomplete.js";import"../AssetEditor/SingleAssetEditor.js";import"../SettingEditors/ColorEditor/index.js";import"../SettingEditors/DropdownEditor/index.js";import"../SettingEditors/RadioEditor/index.js";import"../SwitchControl/index.js";import"../ColorPicker/ColorPicker.js";import"../Chart/components/ChartButton.js";import"../Chart/components/ChartButtons.js";import"../Chart/components/ChartWrapper.js";import"../Chart/components/AxisDropdown.js";import"../Chart/components/buttons/DragToZoomButton.js";import"../Chart/components/buttons/ZoomInButton.js";import"../Chart/components/buttons/ZoomOutButton.js";import"../Chart/components/buttons/PanButton.js";import"../Chart/components/buttons/ResetZoomButton.js";import"../Chart/components/buttons/HideAxesButton.js";import"../ColorPicker/PaletteChromePicker/PaletteChromePicker.js";import"../TruncatedText/index.js";import"../RangeSlider/RangeSlider.js";import"../AdvancedSlider/AdvancedSlider.js";import"../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js";import"../Breadcrumbs/index.js";import"../VirtualizedTable/index.js";import"../EmptyView/EmptyView.js";import"../EmptyView/EmptyAppView/EmptyAppView.js";import D from"../Button/index.js";import"../ContextMenuItem/index.js";import"../FolderMenuItem/index.js";import"../EditableItem/EditableItem/index.js";import"../EditableItem/EditableItemWithBadge/index.js";import"../Checkbox/index.js";import"../FolderMenuItemWithLinks/index.js";import"../IconButton/index.js";import"../TextField/index.js";import"../Chip/index.js";import"../Counter/index.js";import"../AnchorsList/AnchorsList.js";import"../Select/index.js";import"../CustomSelect/index.js";import"../Tabs/Tabs.js";import"../Tabs/Tab.js";import"../ResizableTable/ResizableTable.js";import"../Drillstring/BHASchematic.js";import"../Drillstring/BHATable/index.js";import"../Drillstring/BHAComponentIcon.js";import"../Drillstring/BHAComponentDetail/index.js";import"../Drillstring/BHATileIcon.js";import"../Drillstring/BHATile/BHATile.js";import"../Drillstring/BHAList/BHAList.js";import"../Drillstring/BHAComponentsTable/BHAComponentsTable.js";import"../Casing/CasingTable/index.js";import"../Casing/CasingComponentIcon.js";import"../Casing/CasingTileIcon.js";import"../Casing/CasingTableV2/CasingTableV2.js";import"../Casing/CasingTile/CasingTile.js";import"../DisabledSettingsMessage/DisabledSettingsMessage.js";import"../WellSummary/WellSummaryItemLabel.js";import"../WellSummary/WellSummaryItemTitle.js";import"../WellSummary/WellSummaryItemValue.js";import"../WellSummary/ActivitySummaryChart.js";import"../WellSummary/FracWirelineTimeChart.js";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"../../clients/jsonApi/index.js";import"../../constants/goals.js";import"../../constants/segment.js";import"../../constants/alerts.js";import"../../constants/apps.js";import"../../constants/drillstring.js";import"../../constants/completion.js";import"../../constants/notifications.js";import"../../constants/feed.js";import"../../constants/bha.js";import"../BICOffsetPickerDialog/index.js";import"../OffsetWellButton/OffsetWellButton.js";import"../OffsetWellPickerV2/OffsetWellPickerDialog.js";import"../OffsetWellPickerV3/index.js";import"../OffsetWellChips/Chip.js";import"../OffsetWellChips/ChipsContainer.js";import"../OffsetWellMap/OffsetWellMap.js";import"../Notifications/Notifications.js";import"uuid";import"../Toaster/Toaster.js";import"../ConfirmationDialog.js";import"../TextLink/index.js";import"../Avatar/index.js";import"../Template/TemplatePopover/index.js";import"../MenuItem/index.js";import"../PadModeSelect/PadModeSelect.js";import"../PinnableFilters/PinnableFilters.js";import"../HeaderLayout/HeaderLayout.js";import"../PadOffsetsPicker/PadOffsetsPicker.js";import"../PadOffsetsPicker/OffsetAssetChip.js";import"../PadOffsetsPicker/OffsetAssetsListExpander.js";import"../PadOffsetsPicker/StagesSelector.js";import"../Table/TableToolbar/TableToolbar.js";import"../Table/TableContainer/TableContainer.js";import"../Table/TableCell/TableCell.js";import{Tooltip as S}from"../Tooltip/Tooltip.js";import"../PriceInput/PriceInput.js";import"../LabelsCounter/LabelsCounter.js";import"../Stepper/Step.js";import"../Stepper/StepsWrapper.js";import"../Stepper/Stepper.js";import"../Comment/CommentIcon/index.js";import"../FilesLoader/FilesLoader.js";import"../FilesLoader/Icons/FileIcon.js";import"../SearchInput/index.js";import"../FeedItem/FeedItem.js";import"../FeedItem/FeedItemEditProvider/FeedItemEditProvider.js";import"../PostInput/PostInput.js";import"../KeyboardDateTimePicker.js";import"../AddComment/Popover.js";import"../AddComment/Popup.js";import"../StageDesignVActual/ComparisonBar/ComparisonBar.js";import"../StageDesignVActual/ElementsComparison/ElementsComparison.js";import"../StageDesignVActual/ComparisonHeader.js";import"../StageDesignVActual/ComparisonRow.js";import"../EmbeddedApp/DevCenterEmbeddedApp.js";import"../EmbeddedApp/EmbeddedApp.js";import"../HelpCenter/HelpCenterIcon.js";import"../Autocomplete/Autocomplete.js";import"../DocumentViewer/DocumentViewer.js";import"../DevCenter/DevCenterAppContainer/components/AppActions/AppActions.css.js";import"../DevCenter/DevCenterAppContainer/components/AnnotationsButton/AnnotationsButton.js";import"../DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.js";import"../DevCenter/DevCenterAppContainer/components/FullscreenButton/FullscreenButton.js";import"../DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.js";import"../DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.js";import"../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js";import"../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js";import"../DevCenter/DevCenterAppContainer/components/IsInsideDcAppProvider/IsInsideDcAppProvider.js";import"../ColorPickerPalette/ColorPickerPalette.js";import"../Search/Search.js";import"../Search/components/Listbox.js";import"../Search/components/Paper.js";import"../Search/components/RecentSearches.js";import"../Search/components/InputAdornmentLeft.js";import"../Search/components/Groups.js";import I from"../../styles/typography/index.js";import"../../styles/counter/counter.module.scss.js";import{isMobileDetected as T,isNativeDetected as W}from"../../utils/mobileDetect.js";import{useFetchWells as x}from"./effects/useFetchWells.js";import{useAdvancedWells as P}from"./effects/useAdvancedWells.js";import{useBicWells as O}from"./effects/useBicWells.js";import{useCompanyMetricKey as w}from"./effects/useCompanyMetricKey.js";import{useFilterOptions as E}from"./effects/useFilterOptions.js";import{useFilteredWells as B}from"./effects/useFilteredWells.js";import{useSortedWells as H}from"./effects/useSortedWells.js";import{useRadiusWells as L}from"./effects/useRadiusWells.js";import"./effects/useAssetsData.js";import{useTableColumns as F}from"./effects/useTableColumns.js";import{AppHeader as V}from"./components/AppHeader/AppHeader.js";import{Toolbar as M}from"./components/Toolbar/Toolbar.js";import{Filter as N}from"./components/Filter/Filter.js";import{WellsMap as k}from"./components/Map/WellsMap.js";import R from"./components/OffsetWellsTable/OffsetWellsTable.js";import U from"./OffsetWellPickerV4.module.css.js";import{ALL_SECTION_KEY as _,ViewType as z,ColumnType as K,FilterType as q,ROWS_PER_PAGE as G,LEAVE_TOUCH_DELAY as Z,MAX_OFFSET_SIZE as J,SMALL_SCREEN_WIDTH as Q,SMALL_SCREEN_HEIGHT as X}from"./constants.js";import{SEARCH_CATEGORIES as Y}from"./components/OffsetWellsTable/AdvancedSearch/constants.js";import{CustomInfoIcon as $}from"./components/CustomInfoIcon/CustomInfoIcon.js";function ee(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,i)}return o}function te(e){for(var o=1;o<arguments.length;o++){var i=null!=arguments[o]?arguments[o]:{};o%2?ee(Object(i),!0).forEach((function(o){t(e,o,i[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):ee(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}var oe="OffsetWellPickerV4",ie=function(a){var J,ee,ie=a.open,re=a.isWDUser,ne=a.defaultSubjectWell,se=a.currentUser,le=a.offsetSettings,ae=a.addWellsUsabilityInfo,pe=a.isViewOnly,me=a.onClose,ce=a.onSave,de=a.maxOffsetSize,ue=i(null),fe=o(ue,2),je=fe[0],Ce=fe[1],be=r((function(){return de+1}),[de]),ve=i(null==le?void 0:le.filterExpanded),he=o(ve,2),ge=he[0],Ae=he[1],ye=i(null==le?void 0:le.mapHidden),De=o(ye,2),Se=De[0],Ie=De[1],Te=+(null==ne?void 0:ne.companyId)||+(null==se?void 0:se.company_id),We=null==ne?void 0:ne.asset_id,xe=i((null==le?void 0:le.filters)||{}),Pe=o(xe,2),Oe=Pe[0],we=Pe[1],Ee=i((null==le?void 0:le.wellSection)||_),Be=o(Ee,2),He=Be[0],Le=Be[1],Fe=n(!0),Ve=i([]),Me=o(Ve,2),Ne=Me[0],ke=Me[1],Re=i(null),Ue=o(Re,2),_e=Ue[0],ze=Ue[1],Ke=i(!0),qe=o(Ke,2),Ge=qe[0],Ze=qe[1],Je=i(!1),Qe=o(Je,2),Xe=Qe[0],Ye=Qe[1],$e=i(!1),et=o($e,2),tt=et[0],ot=et[1],it=i(!1),rt=o(it,2),nt=rt[0],st=rt[1],lt=n(),at=i(z.none),pt=o(at,2),mt=pt[0],ct=pt[1],dt=i(!1),ut=o(dt,2),ft=ut[0],jt=ut[1],Ct=r((function(){return be&&be<=Ne.length}),[Ne]),bt=r((function(){return mt===z.small?0:mt===z.mobile?52:48}),[Ct,mt]);s((function(){function e(){window.innerWidth<=Q||T||W?ct(z.mobile):window.innerHeight<=X?ct(z.small):ct(z.normal)}return e(),window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}}),[ie]);var vt=r((function(){return!Se&&ge?448:Se?ge?232:0:216}),[Se,ge]);s((function(){Fe.current=!0}),[We,null==le?void 0:le.selectedWellIds]),s((function(){mt===z.small||mt===z.mobile?(Ie(!0),Ae(!1)):(Ae(!pe&&(null==le?void 0:le.filterExpanded)),Ie(!pe&&(null==le?void 0:le.mapHidden))),we((null==le?void 0:le.filters)||{}),Le((null==le?void 0:le.wellSection)||_)}),[le,pe,mt]);var ht=x(Te,ae),gt=O(re,We),At=o(gt,2),yt=At[0],Dt=At[1],St=w(Te,null==le?void 0:le.metricsKeys),It=o(St,2),Tt=It[0],Wt=It[1],xt=P(Te,ht,yt,Dt,We,Tt),Pt=E(xt);s((function(){if(xt&&yt){var e=xt.find((function(e){return e.id===We}));if(e){var o=yt.filter((function(e){return e.value!==_})).map((function(e){return e.label})),i=te(te({},e),o.length>0&&t({},K.wellSection,o));ze(i)}else ze(null)}}),[yt,xt]);var Ot=F(Tt),wt=B(xt,Oe);s((function(){if(wt)if(Fe.current){var e=xt.filter((function(e){return((null==le?void 0:le.selectedWellIds)||[]).includes(e.id)}));_e&&(e=e.concat(_e)),ke(m(e,"id")),Fe.current=!1}else ke((function(e){var t=(wt||[]).filter((function(t){return!!e.find((function(e){var o=e.id;return t.id===o}))}));return _e&&(t=t.concat(_e)),m(t,"id")}))}),[xt,wt,null==le?void 0:le.selectedWellIds]);var Et=H(_e,wt,Ne,Ze,Fe.current),Bt=o(Et,5),Ht=Bt[0],Lt=Bt[1],Ft=Bt[2],Vt=Bt[3],Mt=Bt[4];L(Oe[q.radius],wt,ke,be);var Nt=l((function(e,t,o){var i;i=o===Y.well.name?t:t.reduce((function(e,t){var o,i=null===(o=xt.find((function(e){return e.id===t})))||void 0===o?void 0:o.rigName,r=xt.filter((function(e){return e.rigName===i})).map((function(e){return e.id}));return e.concat(r)}),[]);var r=xt.filter((function(e){var t=e.id;return i.includes(t)}));ke(e?function(e){return m(e.concat(r),"id")}:function(e){return m(e.filter((function(e){var t=e.id;return!r.find((function(e){return e.id===t}))})))})}),[xt]),kt=l((function(){ot(!0)}),[]),Rt=l((function(e){Wt(e)}),[]),Ut=l((function(t,o){ke(o?function(o){return[].concat(e(o),[t])}:function(e){return e.filter((function(e){return e.id!==t.id}))})}),[]),_t=l((function(e){if(e){var t=_e?wt.concat(_e):wt,o=m(t,"id");ke(o)}else ke(_e?[_e]:[])}),[wt,_e]),zt=function(e){if(c(Dt))ke(_e?[_e]:[]);else{var t=xt.filter((function(t){return Dt[e].includes(t.id)}));ke(t)}},Kt=l((function(e){Le(e),zt(e)}),[zt]),qt=r((function(){return Ne.find((function(e){return e.id===We}))?Ne.length-1:Ne.length}),[Ne,We]),Gt=r((function(){if(!Dt)return!1;var e=Ne.map((function(e){return e.id})),t=Dt[He]||[];return(be&&t.length>be?be:t.length)===e.length&&e.every((function(e){return t.includes(e)}))}),[Dt,ne,Ne,He]),Zt=function(){var e=(xt||[]).filter((function(e){return((null==le?void 0:le.selectedWellIds)||[]).includes(e.id)}));_e&&(e=e.concat(_e)),ke(m(e,"id")),u(Oe,le.filters)||(Fe.current=!0);var t=te(te({},le),{},{mapHidden:Se,filterExpanded:ge});ce(t),we((null==le?void 0:le.filters)||{}),Le((null==le?void 0:le.wellSection)||_),me()},Jt=r((function(){return!Gt||(!(c(Oe)||!Oe[q.sideTracks])||He!==_)}),[Gt,Oe,He]);s((function(){if(!be||be>Ne.length)st(!1);else if(be<Ne.length){var e=d(Ne,"distance");ke(e.slice(0,be))}else be===Ne.length&&st(!0)}),[Ne,be]);var Qt=!xt||!yt||!Mt||mt===z.none,Xt=i(!1),Yt=o(Xt,2),$t=Yt[0],eo=Yt[1],to=i(G),oo=o(to,2),io=oo[0],ro=oo[1],no=i([]),so=o(no,2),lo=so[0],ao=so[1];s((function(){if(Mt){var e=Mt.slice(0,io);ao(e)}}),[Mt,io,_e]);return v(b,{open:ie,onClose:Zt,title:v(V,{isWDUser:re,viewType:mt,totalCount:null!==(J=null==xt?void 0:xt.length)&&void 0!==J?J:0,selectedCount:qt,isViewOnly:pe,maxOffsetwellNumber:be,maxOffsetSize:de}),isMobile:mt===z.mobile,contentContainerClassName:p(U.offsetWellDialog,t({},U.offsetWellDialogMobile,mt===z.mobile)),contentClassName:p(U.contentContainer,(ee={},t(ee,U.smallContainer,mt===z.small),t(ee,U.contentContainerMobile,mt===z.mobile),ee)),actionsClassName:p(U.modalActions,t({},U.modalActionsMobile,mt===z.mobile)),actions:!pe&&h("div",{className:U.actionsWrapper,children:[!Qt&&Jt?v(S,{placement:"bottom-start",title:"Reset to Synced Offsets in ".concat(re?"Offset App":"Wellhub"),children:v("div",{children:v(D,{"data-testid":"".concat(oe,"_reset"),onClick:function(){we({}),Le(_),zt(_)},color:"primary",startIcon:mt!==z.mobile&&v(j,{}),classes:mt===z.mobile&&{root:U.resetButtonMobile},children:mt!==z.mobile?"Reset":v(j,{})})})}):v("div",{className:mt===z.mobile&&U.infoIconContainer,children:mt!==z.mobile?h(g,{children:[v("span",{className:p(I.regular12,I.colors.t6),children:"The offset list is being automatically populated by "}),v("span",{className:p(I.medium12,I.colors.t6),children:re?"Offset Selection App.":"WellHub."})]}):v(S,{title:h("div",{children:[v("span",{className:p(I.regular12,I.colors.t1),children:"The offset list is being automatically populated by "}),v("span",{className:p(I.medium12,I.colors.t1),children:re?"Offset Selection App.":"WellHub."})]}),enterTouchDelay:0,leaveTouchDelay:Z,children:v(C,{className:U.infoIcon})})}),h("div",{className:U.buttonGap,children:[v(D,{"data-testid":"".concat(oe,"_cancel"),onClick:Zt,color:"primary",children:"Cancel"}),h(D,{"data-testid":"".concat(oe,"_selectedWells"),variant:"contained",color:"primary",onClick:function(){me();var e=te(te({},le),{},{companyId:Te,subjectWellId:We,selectedWellIds:Ne.map((function(e){return e.id})),filters:Oe,metricsKeys:Tt,wellSection:He,isSynced:Gt,mapHidden:Se,filterExpanded:ge});ce(e,Ne)},children:["Select (",qt,")"]})]})]}),children:Qt?v(A,{fullscreen:!1}):h("div",{className:p(U.contentWrapper),ref:lt,children:[mt===z.mobile&&h(g,{children:[h("div",{className:p(U.countContainer,t({},U.countContainerMobile,mt===z.mobile)),children:[v(y,{className:U.totalLabel,children:"Total:"}),v(y,{"data-testid":"".concat(oe,"_totalWells"),className:U.countValue,children:xt.length}),v(y,{className:U.selectedLabel,children:"Selected:"}),v(y,{"data-testid":"".concat(oe,"_selected"),className:U.countValue,children:qt}),mt===z.mobile&&(pe||Ct)&&v($,{isWDUser:re,isViewOnly:pe,maxOffsetwellNumber:be-1,selectedCount:qt,viewType:mt,maxOffsetSize:de})]}),mt!==z.mobile&&h(g,{children:[Ct&&v(f,{"data-testid":"".concat(oe,"_no more"),className:U.viewOnlyTitleLabel,children:"This app supports no more than (".concat(de,") offset wells at a time.")}),pe&&mt!==z.mobile&&v(f,{"data-testid":"".concat(oe,"_viewOnly"),className:U.viewOnlyTitleLabel,children:"This is the view only mode. To edit offset wells, use the ".concat(re?"Offset Well Selection app.":"Wellhub.")})]})]}),mt===z.normal&&v(M,{isViewOnly:pe,viewType:mt,filters:Oe,setFilters:we,isFilterExpanded:ge,setIsFilterExpanded:Ae,isMapHidden:Se,setIsMapHidden:Ie}),ft&&v("div",{className:U.topGradient,style:{top:bt}}),h("div",{className:p(U.content,t({},U.contentMobile,mt===z.mobile)),onScroll:function(e){return function(e){e.target&&(tt&&(e.target.scrollLeft=0,ot(!1)),e.target.scrollLeft<=5&&$t&&eo(!1),e.target.scrollLeft>5&&!$t&&eo(!0),e.target.scrollTop<=5&&ft&&jt(!1),e.target.scrollTop>5&&!ft&&jt(!0),e.target.scrollHeight!==e.target.offsetHeight&&Math.round(e.target.scrollTop+e.target.offsetHeight)>=e.target.scrollHeight&&io<Mt.length&&ro((function(e){return e+G})))}(e)},children:[mt!==z.normal&&v(M,{isViewOnly:pe,viewType:mt,filters:Oe,setFilters:we,isFilterExpanded:ge,setIsFilterExpanded:Ae,isMapHidden:Se,setIsMapHidden:Ie}),!Se&&ie&&v(k,{isViewOnly:pe,mapHidden:Se,companyId:Te,subjectWell:_e,offsetWellIds:Ne.map((function(e){return e.id})),wells:xt,radius:Oe[q.radius],handleChanageOffsetWell:Ut,activeWellId:je,viewType:mt}),v(N,{isHidden:!ge,isWDUser:re,filterOptions:Pt,filters:Oe,wellSections:yt,selectedWellSection:He,subjectWell:_e,onChangeFilters:we,onChangeBicWells:Kt}),v(R,{open:ie,isTableLoading:Ge,companyId:Te,subjectWellId:We,sortBy:Ht,setSortBy:Lt,sortDirection:Ft,setSortDirection:Vt,columnsWithDict:Ot,wells:lo,metricsKeys:Tt,setMetricsKeys:Rt,handleChanageOffsetWell:Ut,handleChangeAllOffsetWells:_t,handleAddRemoveAssets:Nt,isWellNameExpand:Xe,setIsWellNameExpand:Ye,isHscrollMoved:$t,onHideAdvancedSearch:kt,isViewOnly:pe,isLastWell:Mt.length<=io,contentRef:lt,isLimitedOffsetwells:nt,tableTop:vt,wellSections:yt,setActiveWellId:Ce,viewType:mt})]})]})})};ie.propTypes={isWDUser:a.bool,defaultSubjectWell:a.shape({asset_id:a.number,companyId:a.number}),offsetSettings:a.shape({selectedWellIds:a.arrayOf(a.number),manualWellIds:a.arrayOf(a.number),filters:a.shape({}),metricsKeys:a.arrayOf(a.string),wellSection:a.string,companyId:a.number,subjectWellId:a.number,mapHidden:a.bool,filterExpanded:a.bool,hintPopupClosed:a.bool}),currentUser:a.shape({company_id:a.number}).isRequired,open:a.bool.isRequired,addWellsUsabilityInfo:a.func,isViewOnly:a.bool,onSave:a.func.isRequired,onClose:a.func.isRequired,maxOffsetSize:a.number},ie.defaultProps={isWDUser:!1,defaultSubjectWell:null,offsetSettings:{},addWellsUsabilityInfo:void 0,isViewOnly:!1,maxOffsetSize:J};export{ie as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e from'./../../ext-esm/style-inject/dist/style-inject.es.js';var l={offsetWellDialog:"OffsetWellPickerV4-module_offsetWellDialog__EkSjl",offsetWellDialogMobile:"OffsetWellPickerV4-module_offsetWellDialogMobile__ng66x",viewOnlyTitleLabel:"OffsetWellPickerV4-module_viewOnlyTitleLabel__pod4c",contentWrapper:"OffsetWellPickerV4-module_contentWrapper__gVGQ-",contentContainer:"OffsetWellPickerV4-module_contentContainer__Eb9sk",smallContainer:"OffsetWellPickerV4-module_smallContainer__ngDTM",contentContainerMobile:"OffsetWellPickerV4-module_contentContainerMobile__0VZNE",content:"OffsetWellPickerV4-module_content__mEQWD",contentMobile:"OffsetWellPickerV4-module_contentMobile__jM5ou",modalActions:"OffsetWellPickerV4-module_modalActions__cShAH",modalActionsMobile:"OffsetWellPickerV4-module_modalActionsMobile__ttUJ0",actionsWrapper:"OffsetWellPickerV4-module_actionsWrapper__C0Ciz",buttonGap:"OffsetWellPickerV4-module_buttonGap__fjFT6",viewOnlyLabel:"OffsetWellPickerV4-module_viewOnlyLabel__GP44N",countContainer:"OffsetWellPickerV4-module_countContainer__p8V5A",countContainerMobile:"OffsetWellPickerV4-module_countContainerMobile__HPiI2",totalLabel:"OffsetWellPickerV4-module_totalLabel__3n5bD",selectedLabel:"OffsetWellPickerV4-module_selectedLabel__BzClE",countValue:"OffsetWellPickerV4-module_countValue__dLG-K",resetButtonMobile:"OffsetWellPickerV4-module_resetButtonMobile__dCDdg",infoIconContainer:"OffsetWellPickerV4-module_infoIconContainer__olAOe",infoIcon:"OffsetWellPickerV4-module_infoIcon__8tuGL",topGradient:"OffsetWellPickerV4-module_topGradient__fAc7W"};e(".OffsetWellPickerV4-module_offsetWellDialog__EkSjl{max-height:calc(100% - 32px);padding-bottom:40px;width:1100px}.OffsetWellPickerV4-module_offsetWellDialogMobile__ng66x{margin-top:50px;overflow-y:hidden;padding-bottom:0}.OffsetWellPickerV4-module_viewOnlyTitleLabel__pod4c{color:var(--palette-primary-text-6);font-size:16px!important;line-height:140.6%!important;margin-bottom:16px!important;margin-left:40px!important}.OffsetWellPickerV4-module_contentWrapper__gVGQ-{display:flex;flex-direction:column;overflow:hidden auto;position:relative}.OffsetWellPickerV4-module_contentContainer__Eb9sk{display:flex;flex-direction:column;overflow-y:hidden;padding:0;position:relative}.OffsetWellPickerV4-module_smallContainer__ngDTM{margin-top:4px}.OffsetWellPickerV4-module_contentContainerMobile__0VZNE{height:calc(100% - 104px)}.OffsetWellPickerV4-module_content__mEQWD{flex:1;margin:0 24px 0 40px;overflow:auto;position:relative}.OffsetWellPickerV4-module_contentMobile__jM5ou{margin:0 0 0 16px}.OffsetWellPickerV4-module_content__mEQWD::-webkit-scrollbar-corner{background-color:transparent}.OffsetWellPickerV4-module_content__mEQWD::-webkit-scrollbar{width:16px}.OffsetWellPickerV4-module_content__mEQWD::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:hsla(240,2%,65%,.722);border:5px solid rgba(0,0,0,.01);border-radius:10px}.OffsetWellPickerV4-module_modalActions__cShAH{justify-content:flex-end;padding:8px 40px}.OffsetWellPickerV4-module_modalActionsMobile__ttUJ0{padding:10px 16px}.OffsetWellPickerV4-module_actionsWrapper__C0Ciz{align-items:center;display:flex;flex:1;justify-content:space-between}.OffsetWellPickerV4-module_buttonGap__fjFT6{display:flex;gap:16px}.OffsetWellPickerV4-module_viewOnlyLabel__GP44N{color:var(--palette-primary-text-6);padding-bottom:16px;padding-left:40px}.OffsetWellPickerV4-module_countContainer__p8V5A{align-items:center;display:flex;height:24px;margin:0 0 16px 40px;z-index:9}.OffsetWellPickerV4-module_countContainerMobile__HPiI2{margin-left:16px;margin-top:14px}.OffsetWellPickerV4-module_totalLabel__3n5bD{color:var(--palette-primary-text-6)}.OffsetWellPickerV4-module_selectedLabel__BzClE{color:var(--palette-primary-text-6);padding-left:16px}.OffsetWellPickerV4-module_countValue__dLG-K{color:var(--palette-primary-text-1);padding-left:8px}.OffsetWellPickerV4-module_resetButtonMobile__dCDdg{max-height:40px;max-width:40px;min-height:40px;min-width:40px!important}.OffsetWellPickerV4-module_infoIconContainer__olAOe{height:40px}.OffsetWellPickerV4-module_infoIcon__8tuGL{color:#dadada;height:40px!important;padding:10px;width:40px!important}.OffsetWellPickerV4-module_topGradient__fAc7W{background-image:linear-gradient(0deg,rgba(65,65,65,0),#414141);border-bottom:none!important;height:16px!important;padding:0!important;position:absolute;top:120px;width:100%;z-index:3}");export{l as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e from"prop-types";import{Divider as s}from"@material-ui/core";import{Regular20 as t,Regular12 as i}from"../../../Typography.js";import{ViewType as r}from"../../constants.js";import{CustomInfoIcon as l}from"../CustomInfoIcon/CustomInfoIcon.js";import a from"./AppHeader.module.css.js";import{jsx as o,jsxs as m}from"react/jsx-runtime";var n=function(e){var n=e.isWDUser,c=e.viewType,d=e.totalCount,u=e.selectedCount,f=e.isViewOnly,p=e.maxOffsetwellNumber,b=e.maxOffsetSize;return c===r.mobile?o("div",{className:a.headerContainer,children:o(t,{children:"Select Offset Wells"})}):m("div",{className:a.headerContainer,children:[o(t,{children:"Select Offset Wells"}),o(s,{className:a.divideLine}),o(i,{className:a.totalLabel,children:"Total:"}),o(i,{"data-testid":"".concat("AppHeader","_totalWells"),className:a.countValue,children:d}),o(i,{className:a.selectedLabel,children:"Selected:"}),o(i,{"data-testid":"".concat("AppHeader","_selected"),className:a.countValue,children:u}),(f||p-1<=u)&&o(l,{isWDUser:n,isViewOnly:f,maxOffsetwellNumber:p-1,selectedCount:u,viewType:c,maxOffsetSize:b})]})};n.propTypes={isWDUser:e.bool.isRequired,viewType:e.string.isRequired,totalCount:e.number.isRequired,selectedCount:e.number.isRequired,isViewOnly:e.bool.isRequired,maxOffsetwellNumber:e.number.isRequired,maxOffsetSize:e.number.isRequired};export{n as AppHeader};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e from'./../../../../ext-esm/style-inject/dist/style-inject.es.js';var t={headerContainer:"AppHeader-module_headerContainer__U12-A",divideLine:"AppHeader-module_divideLine__Ug9rR",totalLabel:"AppHeader-module_totalLabel__ML9sB",selectedLabel:"AppHeader-module_selectedLabel__m24nY",countValue:"AppHeader-module_countValue__m4GWf"};e(".AppHeader-module_headerContainer__U12-A{align-items:center;display:flex;flex-direction:row}.AppHeader-module_divideLine__Ug9rR{height:12px!important;margin-left:16px!important;margin-right:16px!important;width:1px}.AppHeader-module_totalLabel__ML9sB{color:var(--palette-primary-text-6)}.AppHeader-module_selectedLabel__m24nY{color:var(--palette-primary-text-6);padding-left:16px}.AppHeader-module_countValue__m4GWf{color:var(--palette-primary-text-1);padding-left:4px}");export{t as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e from"prop-types";import{Tooltip as i,Badge as s,Typography as l}from"@material-ui/core";import o from"@material-ui/icons/Info";import t from"./CustomInfoIcon.module.css.js";import{ViewType as r,LEAVE_TOUCH_DELAY as a}from"../../constants.js";import{jsx as n,jsxs as m}from"react/jsx-runtime";var p=function(e){var i=e.sourceApp,s=e.isViewOnly,o=e.maxOffsetwellNumber,r=e.selectedCount,a=e.maxOffsetSize;return s&&o<=r?m("div",{className:t.tooltipContainer,children:[m("div",{className:t.tooltipWrapper,children:[n(l,{className:t.tooltipLabel,children:"1."}),m(l,{className:t.tooltipLabel,children:["This application can work with no more than (",a,") Offset Wells at a time."]})]}),m("div",{className:t.tooltipWrapper,children:[n(l,{className:t.tooltipLabel,children:"2."}),m(l,{className:t.tooltipLabel,children:["The window is in the view only mode. To edit offset wells, use the ",i,"."]})]})]}):s?n("div",{className:t.tooltipContainer,children:m("span",{className:t.tooltipLabel,children:["The window is in the view only mode. To edit offset wells, use the ",i,"."]})}):o<=r?n("div",{className:t.tooltipContainer,children:m("span",{className:t.tooltipLabel,children:["This application can work with no more than (",o,") Offset Wells at a time."]})}):null};function c(e){var l=e.isWDUser,c=e.isViewOnly,d=e.maxOffsetwellNumber,u=e.selectedCount,f=e.viewType,h=e.maxOffsetSize;return n(i,{title:n(p,{sourceApp:l?"Offset Well Selection app":"Wellhub",isViewOnly:c,maxOffsetwellNumber:d,selectedCount:u,maxOffsetSize:h}),enterTouchDelay:f===r.mobile&&0,leaveTouchDelay:f===r.mobile&&a,placement:f===r.mobile?"":"right",classes:{popper:c&&d<=u&&t.tooltipPopper},children:m("div",{className:t.infoWrapper,children:[n(o,{className:t.infoIcon}),c&&d<=u&&n(s,{badgeContent:2,classes:{badge:t.infoBadge}})]})})}p.propTypes={sourceApp:e.string.isRequired,isViewOnly:e.bool.isRequired,maxOffsetwellNumber:e.number.isRequired,selectedCount:e.number.isRequired,maxOffsetSize:e.number.isRequired},c.propTypes={isWDUser:e.bool.isRequired,selectedCount:e.number.isRequired,isViewOnly:e.bool.isRequired,maxOffsetwellNumber:e.number.isRequired,viewType:e.string.isRequired,maxOffsetSize:e.number.isRequired};export{c as CustomInfoIcon};
|
package/components/OffsetWellPickerV4/components/CustomInfoIcon/CustomInfoIcon.module.css.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import o from'./../../../../ext-esm/style-inject/dist/style-inject.es.js';var t={infoWrapper:"CustomInfoIcon-module_infoWrapper__uxAjc",infoIcon:"CustomInfoIcon-module_infoIcon__VAE52",infoBadge:"CustomInfoIcon-module_infoBadge__4YnF4",tooltipContainer:"CustomInfoIcon-module_tooltipContainer__XzJTY",tooltipPopper:"CustomInfoIcon-module_tooltipPopper__2JYQc",tooltipWrapper:"CustomInfoIcon-module_tooltipWrapper__pjtex",tooltipLabel:"CustomInfoIcon-module_tooltipLabel__hGMtU"};o(".CustomInfoIcon-module_infoWrapper__uxAjc{align-items:center;display:flex;margin-left:18px;position:relative}.CustomInfoIcon-module_infoIcon__VAE52{color:var(--palette-info-light);font-size:20px!important}.CustomInfoIcon-module_infoBadge__4YnF4{background-color:var(--palette-primary-text-9);border:2px solid var(--palette-background-b-9);border-radius:16px!important;box-sizing:content-box!important;color:var(--palette-primary-text-6);font-size:11px!important;font-weight:400!important;height:16px!important;line-height:14px!important;min-width:16px!important;padding:0!important;right:-2px!important;top:-10px!important}.CustomInfoIcon-module_tooltipContainer__XzJTY{display:flex;flex-direction:column;gap:12px;padding:4px}.CustomInfoIcon-module_tooltipPopper__2JYQc{margin-left:12px!important}.CustomInfoIcon-module_tooltipWrapper__pjtex{display:flex;gap:4px}.CustomInfoIcon-module_tooltipLabel__hGMtU{color:#fff!important;font-size:12px!important;font-weight:400!important;letter-spacing:.4px!important;line-height:16px!important}");export{t as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e from"@babel/runtime/helpers/defineProperty";import t from"@babel/runtime/helpers/slicedToArray";import{useState as r}from"react";import o from"prop-types";import{startCase as i,isEmpty as n,omit as s}from"lodash";import p from"moment";import a from"classnames";import{Divider as m,ListItemText as l,FormControlLabel as c,Switch as d}from"@material-ui/core";import{jsxs as u,jsx as j,Fragment as C}from"react/jsx-runtime";import"../../../DevCenter/DevCenterAppContainer/components/AppActions/AppActions.css.js";import"../../../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js";import"../../../DevCenter/DevCenterAppContainer/components/AnnotationsButton/AnnotationsButton.js";import"../../../DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.js";import"../../../DevCenter/DevCenterAppContainer/components/FullscreenButton/FullscreenButton.js";import"../../../DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.js";import"../../../DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.js";import"../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js";import"../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js";import"../../../DevCenter/DevCenterAppContainer/components/IsInsideDcAppProvider/IsInsideDcAppProvider.js";import"../../../Modal/CorvaModal.js";import"../../../IconMenu/index.js";import"../../../StyledMenuItem/index.js";import"../../../DevCenter/AppHeader/AppHeader.js";import"../../../DevCenter/AppSideBar/AppSideBar.js";import"../../../DevCenter/AppsDataProvider/AppsDataProvider.js";import"../../../DevCenter/DevCenterAppContainer/DevCenterAppContainer.js";import"../../../DevCenter/NavigationBar/NavigationBar.js";import"../../../DevCenter/SideBar/SideBar.js";import"../../../DevCenter/AppSettingsPopover/AppSettingsPopover.js";import"../../../DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.js";import"../../../DevCenter/DevCenterRouterContext/DevCenterRouterContext.js";import"../../../DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js";import"@babel/runtime/helpers/objectWithoutProperties";import"react-router";import"../../../DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js";import"../../../DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.js";import"../../../DevCenter/AppContext.js";import"../../../AssetEditor/index.js";import"../../../AppVersionsSelect/AppVersionsSelect.js";import"../../../LoadingIndicator/LoadingIndicator.js";import"../../../Typography.js";import"../../../CollapsableSidebar.js";import f from"../../../DateTimePicker/index.js";import"../../../DatePicker/index.js";import"../../../ErrorBoundary/ErrorBoundary.js";import"../../../ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js";import"../../../Annotations/components/AnnotationsList/index.js";import"../../../Annotations/components/LastAnnotation/index.js";import"../../../Annotations/AnnotationsContext.js";import"../../../SlateFormattedText/SlateFormattedText.js";import"../../../SlateFormattedText/RenderElements.js";import"@babel/runtime/helpers/typeof";import"slate";import"../../../ParameterCharts/ParameterCharts.js";import"../../../ParameterCharts/AddEditTrack.js";import"../../../ChartActionsList/ChartActionsList.js";import"../../../CopyToClipboard/CopyToClipboard.js";import"../../../AssetEditor/AssetEditorAutocomplete.js";import"../../../AssetEditor/SingleAssetEditor.js";import"../../../SettingEditors/ColorEditor/index.js";import"../../../SettingEditors/DropdownEditor/index.js";import"../../../SettingEditors/RadioEditor/index.js";import"../../../SwitchControl/index.js";import"../../../ColorPicker/ColorPicker.js";import"../../../Chart/components/ChartButton.js";import"../../../Chart/components/ChartButtons.js";import"../../../Chart/components/ChartWrapper.js";import"../../../Chart/components/AxisDropdown.js";import"../../../Chart/components/buttons/DragToZoomButton.js";import"../../../Chart/components/buttons/ZoomInButton.js";import"../../../Chart/components/buttons/ZoomOutButton.js";import"../../../Chart/components/buttons/PanButton.js";import"../../../Chart/components/buttons/ResetZoomButton.js";import"../../../Chart/components/buttons/HideAxesButton.js";import"../../../ColorPicker/PaletteChromePicker/PaletteChromePicker.js";import"../../../TruncatedText/index.js";import"../../../RangeSlider/RangeSlider.js";import"../../../AdvancedSlider/AdvancedSlider.js";import"../../../Breadcrumbs/index.js";import"../../../VirtualizedTable/index.js";import"../../../EmptyView/EmptyView.js";import"../../../EmptyView/EmptyAppView/EmptyAppView.js";import"../../../Button/index.js";import"../../../ContextMenuItem/index.js";import"../../../FolderMenuItem/index.js";import"../../../EditableItem/EditableItem/index.js";import"../../../EditableItem/EditableItemWithBadge/index.js";import"../../../Checkbox/index.js";import"../../../FolderMenuItemWithLinks/index.js";import"../../../IconButton/index.js";import"../../../TextField/index.js";import"../../../Chip/index.js";import"../../../Counter/index.js";import"../../../AnchorsList/AnchorsList.js";import"../../../Select/index.js";import"../../../CustomSelect/index.js";import"../../../Tabs/Tabs.js";import"../../../Tabs/Tab.js";import"../../../ResizableTable/ResizableTable.js";import"../../../Drillstring/BHASchematic.js";import"../../../Drillstring/BHATable/index.js";import"../../../Drillstring/BHAComponentIcon.js";import"../../../Drillstring/BHAComponentDetail/index.js";import"../../../Drillstring/BHATileIcon.js";import"../../../Drillstring/BHATile/BHATile.js";import"../../../Drillstring/BHAList/BHAList.js";import"../../../Drillstring/BHAComponentsTable/BHAComponentsTable.js";import"../../../Casing/CasingTable/index.js";import"../../../Casing/CasingComponentIcon.js";import"../../../Casing/CasingTileIcon.js";import"../../../Casing/CasingTableV2/CasingTableV2.js";import"../../../Casing/CasingTile/CasingTile.js";import"../../../DisabledSettingsMessage/DisabledSettingsMessage.js";import"../../../WellSummary/WellSummaryItemLabel.js";import"../../../WellSummary/WellSummaryItemTitle.js";import"../../../WellSummary/WellSummaryItemValue.js";import"../../../WellSummary/ActivitySummaryChart.js";import"../../../WellSummary/FracWirelineTimeChart.js";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"../../../../clients/jsonApi/index.js";import"../../../../constants/goals.js";import"../../../../constants/segment.js";import"../../../../constants/alerts.js";import"../../../../constants/apps.js";import"../../../../constants/drillstring.js";import"../../../../constants/completion.js";import"../../../../constants/notifications.js";import"../../../../constants/feed.js";import"../../../../constants/bha.js";import"../../../BICOffsetPickerDialog/index.js";import"../../../OffsetWellButton/OffsetWellButton.js";import"../../../OffsetWellPickerV2/OffsetWellPickerDialog.js";import"../../../OffsetWellPickerV3/index.js";import"../../../OffsetWellChips/Chip.js";import"../../../OffsetWellChips/ChipsContainer.js";import"../../OffsetWellPickerV4.js";import"../../../OffsetWellMap/OffsetWellMap.js";import"../../../Notifications/Notifications.js";import"@babel/runtime/helpers/toConsumableArray";import"uuid";import"../../../Toaster/Toaster.js";import"../../../ConfirmationDialog.js";import"../../../TextLink/index.js";import"../../../Avatar/index.js";import"../../../Template/TemplatePopover/index.js";import"../../../MenuItem/index.js";import"../../../PadModeSelect/PadModeSelect.js";import"../../../PinnableFilters/PinnableFilters.js";import"../../../HeaderLayout/HeaderLayout.js";import"../../../PadOffsetsPicker/PadOffsetsPicker.js";import"../../../PadOffsetsPicker/OffsetAssetChip.js";import"../../../PadOffsetsPicker/OffsetAssetsListExpander.js";import"../../../PadOffsetsPicker/StagesSelector.js";import"../../../Table/TableToolbar/TableToolbar.js";import"../../../Table/TableContainer/TableContainer.js";import"../../../Table/TableCell/TableCell.js";import"../../../Tooltip/MuiTooltipDcWrapper.js";import"../../../PriceInput/PriceInput.js";import"../../../LabelsCounter/LabelsCounter.js";import"../../../Stepper/Step.js";import"../../../Stepper/StepsWrapper.js";import"../../../Stepper/Stepper.js";import"../../../Comment/CommentIcon/index.js";import"../../../FilesLoader/FilesLoader.js";import"../../../FilesLoader/Icons/FileIcon.js";import"../../../SearchInput/index.js";import"../../../FeedItem/FeedItem.js";import"../../../FeedItem/FeedItemEditProvider/FeedItemEditProvider.js";import"../../../PostInput/PostInput.js";import"../../../KeyboardDateTimePicker.js";import"../../../AddComment/Popover.js";import"../../../AddComment/Popup.js";import"../../../StageDesignVActual/ComparisonBar/ComparisonBar.js";import"../../../StageDesignVActual/ElementsComparison/ElementsComparison.js";import"../../../StageDesignVActual/ComparisonHeader.js";import"../../../StageDesignVActual/ComparisonRow.js";import"../../../EmbeddedApp/DevCenterEmbeddedApp.js";import"../../../EmbeddedApp/EmbeddedApp.js";import"../../../HelpCenter/HelpCenterIcon.js";import"../../../Autocomplete/Autocomplete.js";import"../../../DocumentViewer/DocumentViewer.js";import"../../../ColorPickerPalette/ColorPickerPalette.js";import"../../../Search/Search.js";import"../../../Search/components/Listbox.js";import"../../../Search/components/Paper.js";import"../../../Search/components/RecentSearches.js";import"../../../Search/components/InputAdornmentLeft.js";import"../../../Search/components/Groups.js";import{RadiusInput as v}from"./RadiusInput.js";import{MultiSelect as b}from"./MultiSelect.js";import{WellSection as A}from"./WellSection.js";import{PeriodSelect as D}from"./PeriodSelect.js";import{StatusOptions as g,FilterType as h,OBJECTIVE_PERIOD_LIST as S}from"../../constants.js";import P from"./Filter.module.css.js";function T(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function x(t){for(var r=1;r<arguments.length;r++){var o=null!=arguments[r]?arguments[r]:{};r%2?T(Object(o),!0).forEach((function(r){e(t,r,o[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):T(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}var I=function(o){var T=o.isHidden,I=o.isWDUser,y=o.filterOptions,E=o.wellSections,B=o.filters,O=o.selectedWellSection,k=o.subjectWell,F=o.onChangeFilters,W=o.onChangeBicWells,R=r({}),L=t(R,2),V=L[0],M=L[1],H=function(t,r){t===h.sideTracks?F(x(x({},B),{},e({},h.sideTracks,r))):F(r?x(x({},B),{},e({},t,r)):s(x({},B),[t]))},w=function(t){return function(r){var o=p(r);if(o.isValid()){var i=o.unix(),n=!1;"timeRangeFrom"===t?n=i>=B[h.timeRangeTo]:"timeRangeTo"===t&&(n=i<=B[h.timeRangeFrom]),M(n?e({},t,!0):{}),F(x(x({},B),{},e({},t,i)))}}};return u("div",{className:a(P.filterContainer,e({},P.hidden,T)),children:[j(m,{className:P.divideLine}),u("div",{className:P.filterGroup,children:[j(b,{label:"Status",options:g.map((function(e){return e.value})),currentValues:B[h.status],ValueComponent:function(e){var t,r=e.value;return u("div",{className:P.statusItem,children:[j("div",{className:P.statusIcon,style:{background:null===(t=g.find((function(e){return e.value===r})))||void 0===t?void 0:t.color}}),i(r)]})},ListMenuItem:function(e){var t,r=e.value;return u("div",{className:P.statusItem,children:[j("div",{className:P.statusIcon,style:{background:null===(t=g.find((function(e){return e.value===r})))||void 0===t?void 0:t.color}}),j(l,{primary:i(r)})]})},onChange:function(e){return H(h.status,e)}}),y.map((function(e){var t=e.value,r=e.label,o=e.options;return j(b,{label:r,options:o,currentValues:B[t],ListMenuItem:function(e){var t=e.value;return j(l,{primary:t})},onChange:function(e){return H(t,e)}})})),j(v,{"data-testid":"".concat("Filter","_radiusInput"),radius:B[h.radius],editable:!!k,onChange:function(e){return H(h.radius,e)}}),j(D,{label:"Last Active",currentValue:B[h.period]||"all",options:S,className:P.companySelect,onChange:function(e){return H(h.period,e)}}),"custom"===B[h.period]&&u(C,{children:[j("div",{className:P.filterItem,children:j(f,{variant:"inline",label:"Date From",format:"MM/DD/YY HH:mm",value:1e3*B[h.timeRangeFrom]||null,onChange:w("timeRangeFrom"),error:V.timeRangeFrom})}),j("div",{className:P.filterItem,children:j(f,{variant:"inline",label:"Date To",format:"MM/DD/YY HH:mm",value:1e3*B[h.timeRangeTo]||null,onChange:w("timeRangeTo"),error:V.timeRangeTo})})]}),j(c,{control:j(d,{"data-testid":"".concat("Filter","_ExcludeSidetracks"),size:"small",color:"primary",checked:B[h.sideTracks]||!1,onChange:function(e){return H(h.sideTracks,e.target.checked)}}),label:"Exclude Sidetracks",classes:{label:P.sidetrack}}),I&&!n(E)&&j(A,{selectedValue:O,wellSections:E,onChange:W})]})]})};I.propTypes={isHidden:o.bool.isRequired,isWDUser:o.bool.isRequired,filterOptions:o.arrayOf(o.shape({})).isRequired,wellSections:o.arrayOf(o.shape({})).isRequired,filters:o.shape({}).isRequired,selectedWellSection:o.string.isRequired,subjectWell:o.shape({}).isRequired,onChangeFilters:o.func.isRequired,onChangeBicWells:o.func.isRequired};export{I as Filter};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e from'./../../../../ext-esm/style-inject/dist/style-inject.es.js';var t={filterContainer:"Filter-module_filterContainer__Wsp9Q",hidden:"Filter-module_hidden__cL-6J",filterGroup:"Filter-module_filterGroup__H8dwq",divideLine:"Filter-module_divideLine__RhFvx",sidetrack:"Filter-module_sidetrack__yBssl",statusItem:"Filter-module_statusItem__eq7NY",statusIcon:"Filter-module_statusIcon__X-ohH",companySelect:"Filter-module_companySelect__0H6kX",filterItem:"Filter-module_filterItem__k1Cdi"};e('.Filter-module_filterContainer__Wsp9Q{display:flex;flex-direction:column;left:0;margin-bottom:16px;padding:8px;position:sticky;z-index:2}.Filter-module_filterContainer__Wsp9Q.Filter-module_hidden__cL-6J{display:none}.Filter-module_filterGroup__H8dwq{grid-column-gap:24px;grid-row-gap:16px;display:grid;grid-template-columns:repeat(auto-fill,minmax(147px,1fr))}.Filter-module_divideLine__RhFvx{margin-bottom:30px!important;margin-left:-8px!important;width:calc(100% + 16px)}.Filter-module_sidetrack__yBssl{color:var(--palette-primary-text-6)!important;font-size:14px!important;font-weight:400!important;line-height:140.6%!important;padding-left:8px;user-select:none!important}.Filter-module_statusItem__eq7NY{align-items:center;display:flex;gap:8px;padding-left:5px}.Filter-module_statusIcon__X-ohH{border-radius:50%;height:8px;width:8px}.Filter-module_companySelect__0H6kX{width:100%}.Filter-module_filterItem__k1Cdi{padding:"12px"}');export{t as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e from"prop-types";import{makeStyles as t,FormControl as n,InputLabel as a,Select as l,MenuItem as i,Checkbox as r,ListItemText as u,Divider as c}from"@material-ui/core";import{jsxs as o,jsx as d}from"react/jsx-runtime";var s=t({multiMenuItem:{paddingLeft:"9px !important",paddingRight:"18px !important"}}),p=function(e){var t=e.label,p=e.currentValues,m=e.options,h=e.ListMenuItem,g=e.ValueComponent,f=e.onChange,v=e["data-testid"],y=s(),x=p||[];return o(n,{style:{width:"100%"},children:[d(a,{shrink:!0,children:t}),o(l,{"data-testid":"".concat(v,"_select_").concat(t),multiple:!0,displayEmpty:!0,fullWidth:!0,value:x,renderValue:function(e){return function(e){return g&&1===e.length?d(g,{value:e[0]}):0===e.length?"All":1===e.length?e[0]:"".concat(e.length," Selected")}(e)},onChange:function(e){f(e.target.value.includes("all")?null:e.target.value)},children:[o(i,{value:"all",classes:{gutters:y.multiMenuItem},children:[d(r,{"data-testid":"".concat(v,"_checkbox_all"),checked:!0,indeterminate:x.length>0}),d(u,{primary:"All"})]},"all"),d(c,{}),m.map((function(e){return o(i,{value:e,classes:{gutters:y.multiMenuItem},children:[d(r,{"data-testid":"".concat(v,"_checkbox_").concat(e),checked:-1!==x.indexOf(e)}),d(h,{value:e})]},e)}))]})]})};p.propTypes={options:e.arrayOf(e.string).isRequired,currentValues:e.arrayOf(e.string).isRequired,label:e.string.isRequired,ListMenuItem:e.node.isRequired,onChange:e.func.isRequired,ValueComponent:e.node,"data-testid":e.string},p.defaultProps={ValueComponent:null,"data-testid":"MultiSelect"};export{p as MultiSelect};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e from"prop-types";import{FormControl as r,InputLabel as t,Select as a,MenuItem as n}from"@material-ui/core";import{jsxs as i,jsx as l}from"react/jsx-runtime";var o=function(e){var o=e.label,u=e.currentValue,c=e.options,s=e.onChange;return i(r,{style:{width:"100%"},children:[o&&l(t,{shrink:!0,children:o}),l(a,{"data-testid":"".concat("PeriodSelect","_select"),value:u,onChange:function(e){s(e.target.value.includes("all")?null:e.target.value)},children:c.map((function(e){var r=e.value,t=e.label;return l(n,{"data-testid":"".concat("PeriodSelect","_option_").concat(r,"MenuItem"),value:r,children:t},r)}))})]})};o.propTypes={label:e.string,currentValue:e.string.isRequired,options:e.arrayOf(e.shape({})).isRequired,onChange:e.func.isRequired},o.defaultProps={label:""};export{o as PeriodSelect};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e from"@babel/runtime/helpers/slicedToArray";import{useState as t,useMemo as r,useEffect as i}from"react";import a from"prop-types";import{Tooltip as o,TextField as n}from"@material-ui/core";import{debounce as u}from"lodash";import{convertValue as s}from"../../../../utils/index.js";import{getIsImperial as l}from"../../utils/unitSystem.js";import{jsx as m}from"react/jsx-runtime";var d=u((function(e){e()}),1500),p=function(a){var u=a.radius,p=a.editable,c=a.onChange,f=a["data-testid"],b=t(u),h=e(b,2),v=h[0],g=h[1],x=t(null),y=e(x,2),R=y[0],j=y[1],k=r((function(){return l()}),[]);i((function(){var e=k?u:s(u,"length","mi","km",3);g(Number.parseFloat(e).toFixed(2))}),[u]);return m(o,{title:p?"":"To make radius active select Subject Well.",children:m(n,{"data-testid":"".concat(f,"_input"),type:"number",label:"Radius (".concat(k?"miles":"km",")"),value:v||"",disabled:!p,onChange:function(e){var t=e.target.value;if(!Number.isFinite(+t)||+t<0)j("Incorrect radius");else{j(null);var r=k?+t:s(t,"length","km","mi",3);d((function(){c(+r)}))}g(t)},error:!!R,helperText:R},"ows4-radius-input")})};p.propTypes={radius:a.number.isRequired,editable:a.bool.isRequired,onChange:a.func.isRequired,"data-testid":a.string},p.defaultProps={"data-testid":"RadiusInput"};export{p as RadiusInput};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e from"prop-types";import{FormControl as r,InputLabel as a,Select as n,MenuItem as t}from"@material-ui/core";import{jsxs as l,jsx as i}from"react/jsx-runtime";var c=function(e){var c=e.label,o=e.currentValue,u=e.options,s=e.className,d=e.renderValue,p=e.onChange;return l(r,{className:s,children:[c&&i(a,{shrink:!0,children:c}),i(n,{"data-testid":"".concat("SingleSelect","_select_").concat(c),value:o,renderValue:d,onChange:p,children:u.map((function(e){var r=e.value,a=e.label;return i(t,{"data-testid":"".concat("SingleSelect","_option_").concat(r,"MenuItem"),value:r,children:a},r)}))})]})};c.propTypes={label:e.string,currentValue:e.string.isRequired,options:e.arrayOf(e.shape({})).isRequired,className:e.string.isRequired,renderValue:e.func,onChange:e.func.isRequired},c.defaultProps={label:"",renderValue:null};export{c as SingleSelect};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e from"prop-types";import{makeStyles as r}from"@material-ui/core";import{SingleSelect as t}from"./SingleSelect.js";import{jsx as i}from"react/jsx-runtime";var o=r({wellSection:{width:"100%"}}),n=function(e){var r=e.selectedValue,n=e.wellSections,l=e.onChange,a=o();return i(t,{label:"Well Section",currentValue:r,options:n,className:a.wellSection,onChange:function(e){return l(e.target.value)}})};n.propTypes={selectedValue:e.string.isRequired,wellSections:e.arrayOf(e.shape({})).isRequired,onChange:e.func.isRequired};export{n as WellSection};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e from"@babel/runtime/helpers/defineProperty";import l from"prop-types";import s from"classnames";import i from"../../../OffsetWellMap/OffsetWellMap.js";import r from"./WellsMap.module.css.js";import{ViewType as a}from"../../constants.js";import{jsx as t}from"react/jsx-runtime";var n=function(l){var n=l.isViewOnly,o=l.subjectWell,d=l.wells,f=l.offsetWellIds,p=l.radius,m=l.mapHidden,u=l.handleChanageOffsetWell,W=l.activeWellId,c=l.viewType;return t("div",{className:m?r.mapContainerHidden:s(r.mapContainer,e({},r.mapContainerMobile,c===a.mobile)),children:t(i,{isViewOnly:n,subjectWell:o,wells:d,offsetWellIds:f,radius:p,handleChanageOffsetWell:u,activeWellId:W})})};n.propTypes={isViewOnly:l.bool.isRequired,subjectWell:l.shape({}),wells:l.arrayOf(l.shape({})).isRequired,offsetWellIds:l.arrayOf(l.number).isRequired,radius:l.number,mapHidden:l.bool.isRequired,handleChanageOffsetWell:l.func.isRequired,activeWellId:l.number.isRequired,viewType:l.string.isRequired},n.defaultProps={subjectWell:null,radius:null};export{n as WellsMap};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e from'./../../../../ext-esm/style-inject/dist/style-inject.es.js';var a={mapContainerHidden:"WellsMap-module_mapContainerHidden__c8shs",mapContainer:"WellsMap-module_mapContainer__mEKOD",mapContainerMobile:"WellsMap-module_mapContainerMobile__4Js5W"};e(".WellsMap-module_mapContainerHidden__c8shs{display:none}.WellsMap-module_mapContainer__mEKOD{left:0;margin-bottom:16px;position:sticky;z-index:2}.WellsMap-module_mapContainerMobile__4Js5W{padding-right:16px}");export{a as default};
|
package/components/OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/AdvancedSearch.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e from"@babel/runtime/helpers/slicedToArray";import{useState as r,useRef as o}from"react";import t from"prop-types";import{TextField as n,InputAdornment as a,Popover as l}from"@material-ui/core";import{Search as c}from"@material-ui/icons";import i from"./AutoCompleteAssetSearch.js";import s from"./AdvancedSearch.module.css.js";import{jsxs as d,Fragment as u,jsx as m}from"react/jsx-runtime";var p=function(t){var p=t.companyId,f=t.subjectWellId,h=t.onChange,v=t.selectedWellIds,I=t.onHideAdvancedSearch,g=r(null),b=e(g,2),A=b[0],C=b[1],y=r(""),j=e(y,2),R=j[0],W=j[1],q=o(),O=function(){W(""),C(null),I()};return d(u,{children:[m(n,{"data-testid":"ows_advanced_search",id:"well-section-search-textfield",placeholder:"Add Offset ...",InputProps:{startAdornment:m(a,{position:"start",children:m(c,{className:s.searchIcon})}),className:s.searchInput},classes:{root:s.searchRoot},ref:q,value:R,onChange:function(e){W(e.target.value),e.target.value&&C(q.current)},onClick:function(e){C(e.currentTarget)}}),m(l,{open:Boolean(A),anchorEl:A,onClose:O,anchorOrigin:{vertical:"top",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"},children:m(i,{subjectWellId:f,value:R,company:p,selectedWellIds:v,onChange:h,onClose:O})})]})};p.propTypes={companyId:t.number.isRequired,subjectWellId:t.number.isRequired,onChange:t.func.isRequired,selectedWellIds:t.arrayOf(t.number).isRequired,onHideAdvancedSearch:t.func.isRequired};export{p as AdvancedSearch};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e from'./../../../../../ext-esm/style-inject/dist/style-inject.es.js';var t={searchRoot:"AdvancedSearch-module_searchRoot__USptK",searchInput:"AdvancedSearch-module_searchInput__ZIsPt",searchIcon:"AdvancedSearch-module_searchIcon__pD5bZ"};e(".AdvancedSearch-module_searchRoot__USptK{background-color:var(--palette-background-b-9)!important;left:12px;margin-left:12px!important;margin-top:12px!important;position:sticky!important;width:calc(100% - 24px);z-index:999}.AdvancedSearch-module_searchInput__ZIsPt{font-size:16px!important}.AdvancedSearch-module_searchInput__ZIsPt:hover:before{border-bottom:2px solid var(--palette-primary-text-1)!important}.AdvancedSearch-module_searchInput__ZIsPt:hover .AdvancedSearch-module_searchIcon__pD5bZ{fill:var(--palette-primary-text-1)!important}.AdvancedSearch-module_searchInput__ZIsPt:focus-within .AdvancedSearch-module_searchIcon__pD5bZ{fill:var(--palette-primary-main)!important}.AdvancedSearch-module_searchIcon__pD5bZ{fill:var(--palette-primary-text-6)!important;font-size:24px!important}");export{t as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e from"@babel/runtime/helpers/slicedToArray";import{useRef as t,useState as r,useMemo as i,useEffect as s}from"react";import n from"classnames";import a from"prop-types";import{sum as l,startCase as o,get as c,isEmpty as u}from"lodash";import{makeStyles as d,List as p,ListSubheader as m,Chip as h,ListItem as f,Checkbox as g,Typography as x}from"@material-ui/core";import{SEARCH_CATEGORIES as b}from"./constants.js";import{StatusOptions as v,ROWS_PER_PAGE as y}from"../../../constants.js";import{jsxs as R,jsx as A}from"react/jsx-runtime";var I=d((function(e){return{assetListWrapper:{margin:"8px 0",flex:1},assetListContainer:{maxHeight:"350px",backgroundColor:e.palette.background.paper,position:"relative",overflow:"auto"},listSection:{backgroundColor:"inherit"},ul:{backgroundColor:"inherit",padding:0},listGutters:{padding:"2px 8px"},assetTypeSubheaderChip:{height:"24px",color:e.palette.primary.text6},assetItemTextRoot:{minWidth:"300px"},assetItemTextPrimary:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},loadingInfo:{textAlign:"center",fontSize:"12px",lineHeight:"17px",color:e.palette.primary.text8},empty:{color:e.palette.primary.text6,fontSize:"12px",fontStyle:"italic",marginLeft:"8px"},menuItem:{display:"flex",alignItems:"center",justifyContent:"space-between",width:"100%"},allMenuItem:{boxShadow:"inset 0px -1px 0px rgba(255, 255, 255, 0.25)"},statusWrapper:{display:"flex",alignItems:"center",width:"102px"},status:{width:"8px",height:"8px",marginRight:"8px",borderRadius:"50%",cursor:"default"}}})),k=function(a){var d=a.subjectWellId,k=a.page,C=a.assetType,S=a.loading,N=a.groupedAssets,T=a.onClickAsset,w=a.onClickAllAsset,H=a.onScrollReached,q=I(),W=t(null),j=r("top"),L=e(j,2),_=L[0],G=L[1],M=r(0),z=e(M,2),O=z[0],P=z[1],Y=l(null==N?void 0:N.map((function(t){var r=e(t,2);r[0];var i=r[1];return(null==i?void 0:i.length)||0}))),B=i((function(){if(1===N.length){var e=N[0][1],t=e.filter((function(e){return e.checked})).length;return[t>0&&e.length!==t,t===e.length]}return[!1,!1]}),[N]),D=e(B,2),E=D[0],F=D[1];s((function(){S?P(Y):("top"===_&&W.current.scrollTo(0,5),"bottom"===_&&W.current.scrollTo(0,W.current.scrollHeight-W.current.offsetHeight-5),"auto"===_&&W.current.scrollTo(0,(W.current.scrollHeight-W.current.offsetHeight)*O/Y))}),[S]);return R("div",{className:q.assetListWrapper,children:[R(p,{className:q.assetListContainer,subheader:A("li",{}),onScroll:function(t){if(t.target.scrollHeight!==t.target.offsetHeight){var r=t.target.scrollTop+t.target.offsetHeight;Math.abs(t.target.scrollHeight-r)<1&&!function(t,r){return!t.find((function(t){var i=e(t,2);return i[0],i[1].length===y*r}))}(N,k)&&(G("auto"),H("bottom"))}},ref:W,children:[N.map((function(t){var r=e(t,2),i=r[0],s=r[1];return A("li",{className:q.listSection,children:R("ul",{className:q.ul,children:[!C&&A(m,{classes:{gutters:q.listGutters},children:A(h,{className:q.assetTypeSubheaderChip,variant:"outlined",label:b[i].labelPlural},i)}),C&&A(f,{button:!0,classes:{gutters:q.listGutters},onClick:function(){return w(!F,i)},children:A("div",{className:n(q.menuItem,q.allMenuItem),children:R("div",{children:[A(g,{checked:F,indeterminate:E,style:{marginRight:8}}),"All"]})})}),s.map((function(e){var t;return A(f,{"data-testid":"".concat("AssetResultSection","_item_").concat(e.name,"MenuItem"),button:!0,classes:{gutters:q.listGutters},disabled:e.type===b.well.name&&!e.visibility.includes("visible")||!e.redirectAssetId||e.redirectAssetId===d,onClick:function(){return T(e,i)},children:R("div",{className:q.menuItem,children:[R("div",{children:[A(g,{checked:e.checked,style:{marginRight:8}}),e.name]}),R("div",{className:q.statusWrapper,children:[A("div",{className:q.status,style:{background:null===(t=v.find((function(t){return t.value===e.status})))||void 0===t?void 0:t.color}}),o(e.status)]})]})},"item-".concat(i,"-").concat(c(e,"asset_id")?c(e,"asset_id"):c(e,"id")))}))]})},"section-".concat(i))})),u(N)&&A("div",{className:q.empty,children:"Your search did not match any Asset Name"})]}),S&&A(x,{"data-testid":"".concat("AssetResultSection","_loading"),className:q.loadingInfo,children:"Loading..."})]})};k.propTypes={subjectWellId:a.number.isRequired,page:a.number.isRequired,assetType:a.string.isRequired,loading:a.bool.isRequired,groupedAssets:a.arrayOf(a.shape({})).isRequired,onClickAsset:a.func.isRequired,onClickAllAsset:a.func.isRequired,onScrollReached:a.func.isRequired};export{k as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e from"@babel/runtime/helpers/slicedToArray";import r from"prop-types";import{makeStyles as t,Typography as i,Chip as a}from"@material-ui/core";import{CATEGORY_KEY_VALUES as o}from"./constants.js";import{jsxs as p,jsx as n}from"react/jsx-runtime";var l=t((function(e){return{assetSelectorWrapper:{margin:8},description:{color:e.palette.primary.text6,fontSize:"12px",lineHeight:"17px",paddingBottom:"8px"},assetTypeChip:{marginRight:"8px",color:e.palette.primary.text6,"&:last-child":{marginRight:"0px"}}}})),s=function(r){var t=r.onClickAssetType,s=l();return p("div",{className:s.assetSelectorWrapper,children:[n(i,{className:s.description,children:"I'm looking for..."}),n("div",{children:o.map((function(r){var i=e(r,2),o=i[0],p=i[1];return n(a,{"data-testid":"".concat("AssetTypesSection","_chip_").concat(p.labelPlural),className:s.assetTypeChip,variant:"outlined",label:p.labelPlural,onClick:function(){return t(o)}},o)}))})]})};s.propTypes={onClickAssetType:r.func.isRequired};export{s as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e from"@babel/runtime/helpers/slicedToArray";import{useState as t,useMemo as r,useRef as n,useEffect as o}from"react";import i from"prop-types";import{get as s}from"lodash";import{withStyles as a,Tooltip as l,makeStyles as c,Chip as p,Input as u}from"@material-ui/core";import d from"@material-ui/icons/Close";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"../../../utils/apiCalls.js";import"../../../effects/useAdvancedWells.js";import"@babel/runtime/helpers/toConsumableArray";import"@babel/runtime/helpers/defineProperty";import"../../../constants.js";import"../../../../../utils/index.js";import"../../../../../constants/goals.js";import"../../../../../constants/segment.js";import"../../../../../constants/alerts.js";import"../../../../../constants/apps.js";import"../../../../../constants/drillstring.js";import"../../../../../constants/completion.js";import"../../../../../constants/notifications.js";import"../../../../../constants/feed.js";import"../../../../../constants/bha.js";import"@babel/runtime/helpers/typeof";import"moment";import"react-virtualized";import{useAssetsData as m}from"../../../effects/useAssetsData.js";import f from"./AssetTypesSection.js";import h from"./AssetResultSection.js";import{SEARCH_CATEGORIES as x,CATEGORY_KEY_VALUES as b}from"./constants.js";import{jsxs as g,jsx as y,Fragment as C}from"react/jsx-runtime";var j=a((function(){return{tooltip:{backgroundColor:"#414141",color:"#ffffff",fontSize:"11px",lineHeight:"16px",borderRadius:"4px",boxShadow:"0px 4px 4px rgba(0, 0, 0, 0.12)",padding:"4px"}}}))(l),I=c((function(e){return{wrapper:{width:function(e){return e.searchWidth},maxWidth:"996px",display:"flex",flexDirection:"column",padding:16},inputWrapper:{display:"flex",width:"auto",margin:"0 8px 8px",alignItems:"center",flexWrap:"nowrap",justifyContent:"space-between"},selectedChip:{height:"24px",margin:"4px"},selectedChipDeleteIcon:{width:"16px",height:"16px",color:e.palette.primary.text6,"&:hover":{color:e.palette.primary.text1}},selectedLabel:{fontWeight:400,fontSize:"16px",lineHeight:"22px",color:e.palette.primary.text1,whiteSpace:"nowrap",paddingLeft:"4px",paddingRight:"8px"},disabledIcon:{width:"16px",height:"16px",color:e.palette.primary.text6,opacity:.4},closeIconButton:{padding:0,"&:hover $closeIcon":{color:e.palette.primary.text1}},searchInput:{width:"100%",display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center",borderBottom:"2px solid #03BCD4"},closeIcon:{color:e.palette.primary.text6,fontSize:"18px"}}})),v=function(i){var a=i.company,l=i.subjectWellId,c=i.value,v=i.selectedWellIds,w=i.onChange,A=t(null),W=e(A,2),R=W[0],S=W[1],k=t(null),D=e(k,2),T=D[0],q=D[1],z=t(1),N=e(z,2),L=N[0],B=N[1],H=r((function(){return window.innerWidth-32}),[]),K=I({searchWidth:H}),O=n();o((function(){q(c)}),[c]);var P=m(T,R,L,a,v),U=e(P,2),F=U[0],G=U[1],$=r((function(){return R&&G&&0!==G.length?G[0][1].filter((function(e){return e.checked})).length:0}),[R,G]);return g("div",{className:K.wrapper,children:[y("div",{className:K.inputWrapper,children:g("div",{className:K.searchInput,children:[R&&g(C,{children:[y(p,{"data-not-migrated-muichip":!0,classes:{root:K.selectedChip,deleteIcon:K.selectedChipDeleteIcon},label:s(x,[R,"labelPlural"],"Assets"),deleteIcon:y(d,{}),onDelete:function(){S(null)}}),$>0&&g("span",{className:K.selectedLabel,children:[$," Selected"]})]}),y(u,{"data-testid":"".concat("AutoCompleteAssetSearch","_searchInput"),inputRef:O,autoFocus:!0,disableUnderline:!0,fullWidth:!0,value:T||"",placeholder:"Add Offset ...",onChange:function(e){var t=e.target.value;O.current.focus(),q(t),B(1)},onKeyUp:function(t){var r=t.target.value,n=t.keyCode,o=b.find((function(t){var n=e(t,2);return n[0],n[1].autoCategorizedKey===r.trim().toLowerCase()}));if(o&&(13===n||32===n))return q(""),S(o[0]),void B(1);""===r&&8===n&&(S(null),B(1))}}),y(j,{title:"Clear",children:y(d,{className:R||T?K.selectedChipDeleteIcon:K.disabledIcon,onClick:function(){O.current.focus(),q(""),S(null),B(1)}})})]})}),!R&&!T&&y(f,{onClickAssetType:function(e){O.current.focus(),S(e),B(1)}}),(R||T)&&y(h,{subjectWellId:l,page:L,assetType:R,loading:F,groupedAssets:G,onClickAsset:function(e,t){w(!e.checked,[e.redirectAssetId],t)},onClickAllAsset:function(e,t){var r=G[0][1];w(e,r.map((function(e){return e.redirectAssetId})),t)},onScrollReached:function(e){"top"===e&&L>1&&B((function(e){return e-1})),"bottom"===e&&B((function(e){return e+1}))}})]})};v.propTypes={subjectWellId:i.number.isRequired,company:i.number.isRequired,value:i.string.isRequired,selectedWellIds:i.arrayOf(i.number).isRequired,onChange:i.func.isRequired};export{v as default};
|
package/components/OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/constants.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var e={well:{name:"well",labelSingular:"Well",labelPlural:"Wells",autoCategorizedKey:"well",isAssetType:!0},rig:{name:"rig",labelSingular:"Rig",labelPlural:"Rigs",autoCategorizedKey:"rig",isAssetType:!0}};Object.values(e).filter((function(e){return e.autoCategorizedKey})).map((function(e){return e.autoCategorizedKey}));var l=Object.entries(e);export{l as CATEGORY_KEY_VALUES,e as SEARCH_CATEGORIES};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e from"prop-types";import{makeStyles as r,FormControl as t,Tooltip as i,Typography as n,MenuItem as o}from"@material-ui/core";import{getUnitDisplay as a}from"../../../../utils/index.js";import c from"../../../Select/index.js";import{METRICS_LIST as l}from"../../constants.js";import{jsx as p}from"react/jsx-runtime";var s=r((function(e){return{metricsForm:{width:"calc(100% - 32px)","& .MuiInputBase-root":{"&:hover $primaryText":{color:e.palette.primary.text1},"&:hover $primaryIcon":{color:e.palette.primary.text1},"&:focused $primaryIcon":{color:e.palette.primary.main}}},metricsSelect:{"&:before":{borderBottom:"none !important"},"&:after":{borderBottom:"none !important"}},primaryText:{fontWeight:500,fontSize:"12px",lineHeight:"14px",letterSpacing:"0.4px",color:e.palette.primary.text7,overflow:"hidden",textOverflow:"ellipsis"},primaryIcon:{color:e.palette.primary.text6},metricsMenuPaper:{backgroundColor:e.palette.background.b9,maxHeight:"calc(100% - 300px)",top:"150px !important"},valueLabel:{display:"-webkit-box",alignItems:"center",WebkitLineClamp:3,WebkitBoxOrient:"vertical",overflowWrap:"break-word",fontWeight:500,fontSize:"12px",lineHeight:"14px",letterSpacing:"0.4px",overflow:"hidden",whiteSpace:"normal"}}}));function u(e){var r=l.find((function(r){return r.key===e}));if(!r)return"";var t=r.unitType?" (".concat(a(r.unitType),")"):"";return r.label+t}var m=function(e){var r=e.isTooltipVisible,a=e.currentValue,m=e.metricsKeys,f=e.onChange,d=e.setIsMenuOpen,y=s(),x=l.filter((function(e){return!m.includes(e.key)}));return p(t,{className:y.metricsForm,children:p(c,{"data-testid":"".concat("MetricsSelect","_select_").concat(a),className:y.metricsSelect,classes:{select:y.primaryText,icon:y.primaryIcon},MenuProps:{paper:y.metricsMenuPaper},value:a,renderValue:function(e){return p(i,{title:r?u(e):"",children:p(n,{className:y.valueLabel,children:u(e)})})},onOpen:function(){return d(!0)},onClose:function(){return d(!1)},onChange:function(e){return f(e.target.value)},children:x.map((function(e){return p(o,{"data-testid":"".concat("MetricsSelect","_option_").concat(e.key,"MenuItem"),value:e.key,children:e.label},e.key)}))})})};m.propTypes={isTooltipVisible:e.bool.isRequired,currentValue:e.string.isRequired,metricsKeys:e.arrayOf(e.string).isRequired,onChange:e.func.isRequired,setIsMenuOpen:e.func.isRequired};export{m as MetricsSelect};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e from"@babel/runtime/helpers/slicedToArray";import{useState as t,useEffect as r}from"react";import{isEqual as o}from"lodash";import i from"prop-types";import{makeStyles as n,Menu as s,MenuItem as p,Checkbox as m}from"@material-ui/core";import a from"@material-ui/icons/Settings";import{jsxs as l,Fragment as c,jsx as d}from"react/jsx-runtime";import"../../../DevCenter/DevCenterAppContainer/components/AppActions/AppActions.css.js";import"../../../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js";import"../../../DevCenter/DevCenterAppContainer/components/AnnotationsButton/AnnotationsButton.js";import"../../../DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.js";import"../../../DevCenter/DevCenterAppContainer/components/FullscreenButton/FullscreenButton.js";import"../../../DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.js";import"../../../DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.js";import"../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js";import"../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js";import"../../../DevCenter/DevCenterAppContainer/components/IsInsideDcAppProvider/IsInsideDcAppProvider.js";import"../../../Modal/CorvaModal.js";import"../../../IconMenu/index.js";import"../../../StyledMenuItem/index.js";import"../../../DevCenter/AppHeader/AppHeader.js";import"../../../DevCenter/AppSideBar/AppSideBar.js";import"../../../DevCenter/AppsDataProvider/AppsDataProvider.js";import"../../../DevCenter/DevCenterAppContainer/DevCenterAppContainer.js";import"../../../DevCenter/NavigationBar/NavigationBar.js";import"../../../DevCenter/SideBar/SideBar.js";import"../../../DevCenter/AppSettingsPopover/AppSettingsPopover.js";import"../../../DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.js";import"../../../DevCenter/DevCenterRouterContext/DevCenterRouterContext.js";import"../../../DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/helpers/objectWithoutProperties";import"react-router";import"../../../DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js";import"../../../DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.js";import"../../../DevCenter/AppContext.js";import"../../../AssetEditor/index.js";import"../../../AppVersionsSelect/AppVersionsSelect.js";import"../../../LoadingIndicator/LoadingIndicator.js";import"../../../Typography.js";import"../../../CollapsableSidebar.js";import"../../../DateTimePicker/index.js";import"../../../DatePicker/index.js";import"../../../ErrorBoundary/ErrorBoundary.js";import"../../../ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js";import"../../../Annotations/components/AnnotationsList/index.js";import"../../../Annotations/components/LastAnnotation/index.js";import"../../../Annotations/AnnotationsContext.js";import"../../../SlateFormattedText/SlateFormattedText.js";import"../../../SlateFormattedText/RenderElements.js";import"@babel/runtime/helpers/typeof";import"slate";import"../../../ParameterCharts/ParameterCharts.js";import"../../../ParameterCharts/AddEditTrack.js";import"../../../ChartActionsList/ChartActionsList.js";import"../../../CopyToClipboard/CopyToClipboard.js";import"../../../AssetEditor/AssetEditorAutocomplete.js";import"../../../AssetEditor/SingleAssetEditor.js";import"../../../SettingEditors/ColorEditor/index.js";import"../../../SettingEditors/DropdownEditor/index.js";import"../../../SettingEditors/RadioEditor/index.js";import"../../../SwitchControl/index.js";import"../../../ColorPicker/ColorPicker.js";import"../../../Chart/components/ChartButton.js";import"../../../Chart/components/ChartButtons.js";import"../../../Chart/components/ChartWrapper.js";import"../../../Chart/components/AxisDropdown.js";import"../../../Chart/components/buttons/DragToZoomButton.js";import"../../../Chart/components/buttons/ZoomInButton.js";import"../../../Chart/components/buttons/ZoomOutButton.js";import"../../../Chart/components/buttons/PanButton.js";import"../../../Chart/components/buttons/ResetZoomButton.js";import"../../../Chart/components/buttons/HideAxesButton.js";import"../../../ColorPicker/PaletteChromePicker/PaletteChromePicker.js";import"../../../TruncatedText/index.js";import"../../../RangeSlider/RangeSlider.js";import"../../../AdvancedSlider/AdvancedSlider.js";import"../../../Breadcrumbs/index.js";import"../../../VirtualizedTable/index.js";import"../../../EmptyView/EmptyView.js";import"../../../EmptyView/EmptyAppView/EmptyAppView.js";import"../../../Button/index.js";import"../../../ContextMenuItem/index.js";import"../../../FolderMenuItem/index.js";import"../../../EditableItem/EditableItem/index.js";import"../../../EditableItem/EditableItemWithBadge/index.js";import"../../../Checkbox/index.js";import"../../../FolderMenuItemWithLinks/index.js";import j from"../../../IconButton/index.js";import"../../../TextField/index.js";import"../../../Chip/index.js";import"../../../Counter/index.js";import"../../../AnchorsList/AnchorsList.js";import"../../../Select/index.js";import"../../../CustomSelect/index.js";import"../../../Tabs/Tabs.js";import"../../../Tabs/Tab.js";import"../../../ResizableTable/ResizableTable.js";import"../../../Drillstring/BHASchematic.js";import"../../../Drillstring/BHATable/index.js";import"../../../Drillstring/BHAComponentIcon.js";import"../../../Drillstring/BHAComponentDetail/index.js";import"../../../Drillstring/BHATileIcon.js";import"../../../Drillstring/BHATile/BHATile.js";import"../../../Drillstring/BHAList/BHAList.js";import"../../../Drillstring/BHAComponentsTable/BHAComponentsTable.js";import"../../../Casing/CasingTable/index.js";import"../../../Casing/CasingComponentIcon.js";import"../../../Casing/CasingTileIcon.js";import"../../../Casing/CasingTableV2/CasingTableV2.js";import"../../../Casing/CasingTile/CasingTile.js";import"../../../DisabledSettingsMessage/DisabledSettingsMessage.js";import"../../../WellSummary/WellSummaryItemLabel.js";import"../../../WellSummary/WellSummaryItemTitle.js";import"../../../WellSummary/WellSummaryItemValue.js";import"../../../WellSummary/ActivitySummaryChart.js";import"../../../WellSummary/FracWirelineTimeChart.js";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"../../../../clients/jsonApi/index.js";import"../../../../constants/goals.js";import"../../../../constants/segment.js";import"../../../../constants/alerts.js";import"../../../../constants/apps.js";import"../../../../constants/drillstring.js";import"../../../../constants/completion.js";import"../../../../constants/notifications.js";import"../../../../constants/feed.js";import"../../../../constants/bha.js";import"../../../BICOffsetPickerDialog/index.js";import"../../../OffsetWellButton/OffsetWellButton.js";import"../../../OffsetWellPickerV2/OffsetWellPickerDialog.js";import"../../../OffsetWellPickerV3/index.js";import"../../../OffsetWellChips/Chip.js";import"../../../OffsetWellChips/ChipsContainer.js";import"../../OffsetWellPickerV4.js";import"../../../OffsetWellMap/OffsetWellMap.js";import"../../../Notifications/Notifications.js";import"@babel/runtime/helpers/toConsumableArray";import"uuid";import"../../../Toaster/Toaster.js";import"../../../ConfirmationDialog.js";import"../../../TextLink/index.js";import"../../../Avatar/index.js";import"../../../Template/TemplatePopover/index.js";import"../../../MenuItem/index.js";import"../../../PadModeSelect/PadModeSelect.js";import"../../../PinnableFilters/PinnableFilters.js";import"../../../HeaderLayout/HeaderLayout.js";import"../../../PadOffsetsPicker/PadOffsetsPicker.js";import"../../../PadOffsetsPicker/OffsetAssetChip.js";import"../../../PadOffsetsPicker/OffsetAssetsListExpander.js";import"../../../PadOffsetsPicker/StagesSelector.js";import"../../../Table/TableToolbar/TableToolbar.js";import"../../../Table/TableContainer/TableContainer.js";import"../../../Table/TableCell/TableCell.js";import"../../../Tooltip/MuiTooltipDcWrapper.js";import"../../../PriceInput/PriceInput.js";import"../../../LabelsCounter/LabelsCounter.js";import"../../../Stepper/Step.js";import"../../../Stepper/StepsWrapper.js";import"../../../Stepper/Stepper.js";import"../../../Comment/CommentIcon/index.js";import"../../../FilesLoader/FilesLoader.js";import"../../../FilesLoader/Icons/FileIcon.js";import"../../../SearchInput/index.js";import"../../../FeedItem/FeedItem.js";import"../../../FeedItem/FeedItemEditProvider/FeedItemEditProvider.js";import"../../../PostInput/PostInput.js";import"../../../KeyboardDateTimePicker.js";import"../../../AddComment/Popover.js";import"../../../AddComment/Popup.js";import"../../../StageDesignVActual/ComparisonBar/ComparisonBar.js";import"../../../StageDesignVActual/ElementsComparison/ElementsComparison.js";import"../../../StageDesignVActual/ComparisonHeader.js";import"../../../StageDesignVActual/ComparisonRow.js";import"../../../EmbeddedApp/DevCenterEmbeddedApp.js";import"../../../EmbeddedApp/EmbeddedApp.js";import"../../../HelpCenter/HelpCenterIcon.js";import"../../../Autocomplete/Autocomplete.js";import"../../../DocumentViewer/DocumentViewer.js";import"../../../ColorPickerPalette/ColorPickerPalette.js";import"../../../Search/Search.js";import"../../../Search/components/Listbox.js";import"../../../Search/components/Paper.js";import"../../../Search/components/RecentSearches.js";import"../../../Search/components/InputAdornmentLeft.js";import"../../../Search/components/Groups.js";import{METRICS_LIST as C,MAX_METRICS_COUNT as u}from"../../constants.js";var A=n((function(e){return{checkBox:{color:"grey",padding:"0px",marginRight:"10px"},paper:{transform:"translate(-40px, 4px) scale(1, 1) !important",maxHeight:"calc(80% - 80px)",backgroundColor:e.palette.background.b9},titleItem:{position:"sticky",top:"0px",zIndex:9,marginBottom:"-8px",display:"flex",alignItems:"center",height:"40px",paddingLeft:"16px",background:e.palette.background.b9},titleLabel:{fontStyle:"italic",fontWeight:400,fontSize:"12px",lineHeight:"14px",letterSpacing:"0.4px",color:"#999999"},menuList:{paddingTop:"0px !important"},menuItem:{height:"54px !important"}}})),g=function(i){var n=i.metricsKeys,g=i.onChange,D=i.contentRef,b=A(),h=t([]),v=e(h,2),x=v[0],f=v[1],S=t(null),P=e(S,2),T=P[0],I=P[1];r((function(){f(n||[])}),[n]);return l(c,{children:[d(j,{"data-testid":"".concat("MetricsSettingMenu","_gear"),size:"small",tooltipProps:{title:"Select Metrics"},onClick:function(e){I(e.currentTarget)},children:d(a,{})}),l(s,{id:"simple-menu",anchorEl:D.current,getContentAnchorEl:null,anchorOrigin:{vertical:"center",horizontal:"right"},transformOrigin:{vertical:"center",horizontal:"right"},classes:{paper:b.paper,list:b.menuList},keepMounted:!0,open:Boolean(T),onClose:function(){I(null),o(x,n)||g(x)},children:[d("div",{className:b.titleItem,children:d("span",{className:b.titleLabel,children:"Up to 3 Metrics"})}),C.map((function(e){return l(p,{"data-testid":"".concat("MetricsSettingMenu","_option_").concat(e.key,"MenuItem"),className:b.menuItem,disabled:x.length===u&&!x.includes(e.key),onClick:function(){return t=e.key,void(x.includes(t)?f(x.filter((function(e){return e!==t}))):f(x.concat(t)));var t},children:[d(m,{checked:x.includes(e.key),className:b.checkBox}),e.label]},e.key)}))]})]})};g.propTypes={metricsKeys:i.arrayOf(i.string).isRequired,onChange:i.func.isRequired,contentRef:i.shape({current:i.instanceOf(Element)}).isRequired};export{g as MetricsSettingMenu};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e from"@babel/runtime/helpers/defineProperty";import t from"@babel/runtime/helpers/slicedToArray";import{memo as r,useRef as i,useMemo as o,useEffect as s,useCallback as n}from"react";import p from"classnames";import a from"prop-types";import{Table as l,TableHead as m,TableBody as d,TableRow as c,TableCell as u}from"@material-ui/core";import{jsx as j,jsxs as C,Fragment as f}from"react/jsx-runtime";import"../../../DevCenter/DevCenterAppContainer/components/AppActions/AppActions.css.js";import"../../../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js";import"../../../DevCenter/DevCenterAppContainer/components/AnnotationsButton/AnnotationsButton.js";import"../../../DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.js";import"../../../DevCenter/DevCenterAppContainer/components/FullscreenButton/FullscreenButton.js";import"../../../DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.js";import"../../../DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.js";import"../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js";import"../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js";import"../../../DevCenter/DevCenterAppContainer/components/IsInsideDcAppProvider/IsInsideDcAppProvider.js";import"../../../Modal/CorvaModal.js";import"../../../IconMenu/index.js";import"../../../StyledMenuItem/index.js";import"../../../DevCenter/AppHeader/AppHeader.js";import"../../../DevCenter/AppSideBar/AppSideBar.js";import"../../../DevCenter/AppsDataProvider/AppsDataProvider.js";import"../../../DevCenter/DevCenterAppContainer/DevCenterAppContainer.js";import"../../../DevCenter/NavigationBar/NavigationBar.js";import"../../../DevCenter/SideBar/SideBar.js";import"../../../DevCenter/AppSettingsPopover/AppSettingsPopover.js";import"../../../DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.js";import"../../../DevCenter/DevCenterRouterContext/DevCenterRouterContext.js";import"../../../DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js";import"@babel/runtime/helpers/objectWithoutProperties";import"react-router";import"../../../DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js";import"../../../DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.js";import"../../../DevCenter/AppContext.js";import"../../../AssetEditor/index.js";import"../../../AppVersionsSelect/AppVersionsSelect.js";import h from"../../../LoadingIndicator/LoadingIndicator.js";import"../../../Typography.js";import"../../../CollapsableSidebar.js";import"../../../DateTimePicker/index.js";import"../../../DatePicker/index.js";import"../../../ErrorBoundary/ErrorBoundary.js";import"../../../ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js";import"../../../Annotations/components/AnnotationsList/index.js";import"../../../Annotations/components/LastAnnotation/index.js";import"../../../Annotations/AnnotationsContext.js";import"../../../SlateFormattedText/SlateFormattedText.js";import"../../../SlateFormattedText/RenderElements.js";import"@babel/runtime/helpers/typeof";import"lodash";import"slate";import"../../../ParameterCharts/ParameterCharts.js";import"../../../ParameterCharts/AddEditTrack.js";import"../../../ChartActionsList/ChartActionsList.js";import"../../../CopyToClipboard/CopyToClipboard.js";import"../../../AssetEditor/AssetEditorAutocomplete.js";import"../../../AssetEditor/SingleAssetEditor.js";import"../../../SettingEditors/ColorEditor/index.js";import"../../../SettingEditors/DropdownEditor/index.js";import"../../../SettingEditors/RadioEditor/index.js";import"../../../SwitchControl/index.js";import"../../../ColorPicker/ColorPicker.js";import"../../../Chart/components/ChartButton.js";import"../../../Chart/components/ChartButtons.js";import"../../../Chart/components/ChartWrapper.js";import"../../../Chart/components/AxisDropdown.js";import"../../../Chart/components/buttons/DragToZoomButton.js";import"../../../Chart/components/buttons/ZoomInButton.js";import"../../../Chart/components/buttons/ZoomOutButton.js";import"../../../Chart/components/buttons/PanButton.js";import"../../../Chart/components/buttons/ResetZoomButton.js";import"../../../Chart/components/buttons/HideAxesButton.js";import"../../../ColorPicker/PaletteChromePicker/PaletteChromePicker.js";import"../../../TruncatedText/index.js";import"../../../RangeSlider/RangeSlider.js";import"../../../AdvancedSlider/AdvancedSlider.js";import"../../../Breadcrumbs/index.js";import"../../../VirtualizedTable/index.js";import"../../../EmptyView/EmptyView.js";import"../../../EmptyView/EmptyAppView/EmptyAppView.js";import"../../../Button/index.js";import"../../../ContextMenuItem/index.js";import"../../../FolderMenuItem/index.js";import"../../../EditableItem/EditableItem/index.js";import"../../../EditableItem/EditableItemWithBadge/index.js";import"../../../Checkbox/index.js";import"../../../FolderMenuItemWithLinks/index.js";import"../../../IconButton/index.js";import"../../../TextField/index.js";import"../../../Chip/index.js";import"../../../Counter/index.js";import"../../../AnchorsList/AnchorsList.js";import"../../../Select/index.js";import"../../../CustomSelect/index.js";import"../../../Tabs/Tabs.js";import"../../../Tabs/Tab.js";import"../../../ResizableTable/ResizableTable.js";import"../../../Drillstring/BHASchematic.js";import"../../../Drillstring/BHATable/index.js";import"../../../Drillstring/BHAComponentIcon.js";import"../../../Drillstring/BHAComponentDetail/index.js";import"../../../Drillstring/BHATileIcon.js";import"../../../Drillstring/BHATile/BHATile.js";import"../../../Drillstring/BHAList/BHAList.js";import"../../../Drillstring/BHAComponentsTable/BHAComponentsTable.js";import"../../../Casing/CasingTable/index.js";import"../../../Casing/CasingComponentIcon.js";import"../../../Casing/CasingTileIcon.js";import"../../../Casing/CasingTableV2/CasingTableV2.js";import"../../../Casing/CasingTile/CasingTile.js";import"../../../DisabledSettingsMessage/DisabledSettingsMessage.js";import"../../../WellSummary/WellSummaryItemLabel.js";import"../../../WellSummary/WellSummaryItemTitle.js";import"../../../WellSummary/WellSummaryItemValue.js";import"../../../WellSummary/ActivitySummaryChart.js";import"../../../WellSummary/FracWirelineTimeChart.js";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"../../../../clients/jsonApi/index.js";import"../../../../constants/goals.js";import"../../../../constants/segment.js";import"../../../../constants/alerts.js";import"../../../../constants/apps.js";import"../../../../constants/drillstring.js";import"../../../../constants/completion.js";import"../../../../constants/notifications.js";import"../../../../constants/feed.js";import"../../../../constants/bha.js";import"../../../BICOffsetPickerDialog/index.js";import"../../../OffsetWellButton/OffsetWellButton.js";import"../../../OffsetWellPickerV2/OffsetWellPickerDialog.js";import"../../../OffsetWellPickerV3/index.js";import"../../../OffsetWellChips/Chip.js";import"../../../OffsetWellChips/ChipsContainer.js";import"../../OffsetWellPickerV4.js";import"../../../OffsetWellMap/OffsetWellMap.js";import"../../../Notifications/Notifications.js";import"@babel/runtime/helpers/toConsumableArray";import"uuid";import"../../../Toaster/Toaster.js";import"../../../ConfirmationDialog.js";import"../../../TextLink/index.js";import"../../../Avatar/index.js";import"../../../Template/TemplatePopover/index.js";import"../../../MenuItem/index.js";import"../../../PadModeSelect/PadModeSelect.js";import"../../../PinnableFilters/PinnableFilters.js";import"../../../HeaderLayout/HeaderLayout.js";import"../../../PadOffsetsPicker/PadOffsetsPicker.js";import"../../../PadOffsetsPicker/OffsetAssetChip.js";import"../../../PadOffsetsPicker/OffsetAssetsListExpander.js";import"../../../PadOffsetsPicker/StagesSelector.js";import"../../../Table/TableToolbar/TableToolbar.js";import"../../../Table/TableContainer/TableContainer.js";import"../../../Table/TableCell/TableCell.js";import"../../../Tooltip/MuiTooltipDcWrapper.js";import"../../../PriceInput/PriceInput.js";import"../../../LabelsCounter/LabelsCounter.js";import"../../../Stepper/Step.js";import"../../../Stepper/StepsWrapper.js";import"../../../Stepper/Stepper.js";import"../../../Comment/CommentIcon/index.js";import"../../../FilesLoader/FilesLoader.js";import"../../../FilesLoader/Icons/FileIcon.js";import"../../../SearchInput/index.js";import"../../../FeedItem/FeedItem.js";import"../../../FeedItem/FeedItemEditProvider/FeedItemEditProvider.js";import"../../../PostInput/PostInput.js";import"../../../KeyboardDateTimePicker.js";import"../../../AddComment/Popover.js";import"../../../AddComment/Popup.js";import"../../../StageDesignVActual/ComparisonBar/ComparisonBar.js";import"../../../StageDesignVActual/ElementsComparison/ElementsComparison.js";import"../../../StageDesignVActual/ComparisonHeader.js";import"../../../StageDesignVActual/ComparisonRow.js";import"../../../EmbeddedApp/DevCenterEmbeddedApp.js";import"../../../EmbeddedApp/EmbeddedApp.js";import"../../../HelpCenter/HelpCenterIcon.js";import"../../../Autocomplete/Autocomplete.js";import"../../../DocumentViewer/DocumentViewer.js";import"../../../ColorPickerPalette/ColorPickerPalette.js";import"../../../Search/Search.js";import"../../../Search/components/Listbox.js";import"../../../Search/components/Paper.js";import"../../../Search/components/RecentSearches.js";import"../../../Search/components/InputAdornmentLeft.js";import"../../../Search/components/Groups.js";import{AdvancedSearch as A}from"./AdvancedSearch/AdvancedSearch.js";import b from"./OffsetWellsTableHead.js";import v from"./OffsetWellsTableRow.js";import{METRICS_LIST as D,EXPANED_WELLNAME_WIDTH as g,TableColumns as S,ROW_HEIGHT as y,ViewType as T}from"../../constants.js";import x from"./OffsetWellsTable.module.css.js";import{getIsImperial as I}from"../../utils/unitSystem.js";var P=function(r){var a,P=r.open,W=r.isTableLoading,w=r.companyId,E=r.subjectWellId,R=r.sortBy,B=r.setSortBy,O=r.sortDirection,L=r.setSortDirection,F=r.columnsWithDict,k=r.wells,q=r.metricsKeys,V=r.setMetricsKeys,N=r.handleChanageOffsetWell,H=r.handleChangeAllOffsetWells,M=r.handleAddRemoveAssets,K=r.isWellNameExpand,Z=r.setIsWellNameExpand,z=r.isHscrollMoved,U=r.onHideAdvancedSearch,G=r.isViewOnly,J=r.isLastWell,Q=r.contentRef,X=r.isLimitedOffsetwells,Y=r.tableTop,$=r.wellSections,_=r.setActiveWellId,ee=r.viewType,te=i(),re=i(),ie=o((function(){var e=k.filter((function(e){return e.checked}));return[e,k.length!==e.length&&e.length&&!X,e.length===k.length||X]}),[k,X]),oe=t(ie,3),se=oe[0],ne=oe[1],pe=oe[2],ae=o((function(){return I()}),[]),le=o((function(){return(q||[]).reduce((function(e,t){return e.concat(D.filter((function(e){return e.key===t})))}),[])}),[q]),me=o((function(){return K?g-58:S[0].width[q.length]-58}),[K,null==q?void 0:q.length]),de=o((function(){return se.length*y}),[se]);s((function(){if(ee!==T.mobile){var e=te.current.querySelector(".".concat(x.wellNameFixed));z?e.classList.remove(x.noShadow):e.classList.add(x.noShadow);var t=re.current.querySelectorAll(".".concat(x.wellNameFixed));z?t.forEach((function(e){return e.classList.remove(x.noShadow)})):t.forEach((function(e){return e.classList.add(x.noShadow)}))}}),[z,re.current,te.current,k]);var ce=n((function(e,t){B(e),L(t)}),[]),ue=n((function(e){V(e)}),[]),je=n((function(e,t){V((function(r){return r.map((function(r){return r===e?t:r}))}))}),[]);return W?j(h,{fullscreen:!1}):F&&k?C(f,{children:[j("div",{className:x.stickyTable,children:j(l,{"aria-label":"ows table head",innerRef:te,children:j(m,{children:j(b,{open:P,columnsWithDict:F,metricsKeys:q,sortBy:R,sortDirection:O,indeterminate:ne,isAllWellsSelected:pe,onChangeSort:ce,onChangeMetricsKeys:ue,onUpdateMetricsKey:je,isWellNameExpand:K,setIsWellNameExpand:Z,handleChangeAllOffsetWells:H,wellNameStyle:x.wellNameFixed,isViewOnly:G,isImperial:ae,contentRef:Q,viewType:ee})})})}),!G&&j("div",{className:x.searchCell,children:j(A,{companyId:w,subjectWellId:E,wells:k,onChange:M,selectedWellIds:se.map((function(e){return e.id})),onHideAdvancedSearch:U,width:null===(a=Q.current)||void 0===a?void 0:a.getBoundingClientRect().width})}),j(l,{"aria-label":"ows table body",innerRef:re,className:x.bodyTable,children:C(d,{children:[j(c,{children:j(u,{className:p(x.topShadow,e({},x.viewOnlyShadow,G))})}),k.map((function(e){return j(v,{columnsWithDict:F,subjectWellId:E,data:e,metricsKeys:q,metricsColumns:le,handleChanageOffsetWell:N,isWellNameExpand:K,wellNameStyle:x.wellNameFixed,wellNameWidth:me,isViewOnly:G,isImperial:ae,isLimitedOffsetwells:X,flyTo:de,tableTop:Y,wellSections:$,setActiveWellId:_,viewType:ee},e.id)})),!J&&j(c,{children:j(u,{className:x.loadingCell,children:j("span",{children:"Loading..."})})}),j(c,{children:j(u,{className:x.bottomShadow})})]})})]}):null};P.propTypes={open:a.bool.isRequired,isTableLoading:a.bool.isRequired,companyId:a.number.isRequired,subjectWellId:a.number.isRequired,sortBy:a.string.isRequired,setSortBy:a.func.isRequired,sortDirection:a.string.isRequired,setSortDirection:a.func.isRequired,columnsWithDict:a.arrayOf(a.shape({})).isRequired,wells:a.arrayOf(a.shape({})).isRequired,metricsKeys:a.arrayOf(a.string).isRequired,setMetricsKeys:a.func.isRequired,handleChanageOffsetWell:a.func.isRequired,handleChangeAllOffsetWells:a.func.isRequired,handleAddRemoveAssets:a.func.isRequired,setIsWellNameExpand:a.func.isRequired,isWellNameExpand:a.bool.isRequired,isHscrollMoved:a.bool.isRequired,onHideAdvancedSearch:a.func.isRequired,isViewOnly:a.bool.isRequired,isLastWell:a.bool.isRequired,isLimitedOffsetwells:a.bool.isRequired,contentRef:a.shape().isRequired,tableTop:a.number.isRequired,wellSections:a.arrayOf(a.shape({})).isRequired,setActiveWellId:a.func.isRequired,viewType:a.string.isRequired};var W=r(P);export{W as default};
|
package/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTable.module.css.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e from'./../../../../ext-esm/style-inject/dist/style-inject.es.js';var o={stickyTable:"OffsetWellsTable-module_stickyTable__LZCzy",searchCell:"OffsetWellsTable-module_searchCell__3IW23",bodyTable:"OffsetWellsTable-module_bodyTable__djKsG",bodyGrid:"OffsetWellsTable-module_bodyGrid__Ss17M",loadingCell:"OffsetWellsTable-module_loadingCell__rBu7-",topShadow:"OffsetWellsTable-module_topShadow__MPc8N",viewOnlyShadow:"OffsetWellsTable-module_viewOnlyShadow__DOW-4",bottomShadow:"OffsetWellsTable-module_bottomShadow__jxM6E",wellNameFixed:"OffsetWellsTable-module_wellNameFixed__tKtuD",noShadow:"OffsetWellsTable-module_noShadow__Ssp7E"};e('.OffsetWellsTable-module_stickyTable__LZCzy{background-color:var(--palette-background-b-9);position:sticky;top:0;z-index:9}.OffsetWellsTable-module_searchCell__3IW23{background-color:var(--palette-background-b-9);left:0;position:sticky;top:49px;z-index:9}.OffsetWellsTable-module_bodyTable__djKsG{position:relative}.OffsetWellsTable-module_bodyGrid__Ss17M{margin-top:12px!important;overflow:hidden!important}.OffsetWellsTable-module_bodyGrid__Ss17M::-webkit-scrollbar-corner{background:transparent}.OffsetWellsTable-module_loadingCell__rBu7-{border-bottom:none!important;color:var(--palette-primary-text-8)!important;font-size:12px!important;height:16px!important;padding:0!important;position:absolute;text-align:center!important;width:100%;z-index:1000}.OffsetWellsTable-module_topShadow__MPc8N{background-image:linear-gradient(0deg,rgba(65,65,65,0),#414141);border-bottom:none!important;height:16px!important;padding:0!important;position:sticky;top:93px;width:100%;z-index:999}.OffsetWellsTable-module_viewOnlyShadow__DOW-4{top:49px}.OffsetWellsTable-module_bottomShadow__jxM6E{border-bottom:none!important;bottom:0;height:16px!important;padding:0!important;position:sticky;width:100%;z-index:999}.OffsetWellsTable-module_bottomShadow__jxM6E:after{background-image:linear-gradient(180deg,rgba(65,65,65,0),#414141);bottom:-1px;content:" ";height:16px!important;position:absolute;width:100%}.OffsetWellsTable-module_wellNameFixed__tKtuD{box-shadow:4px 0 6px -3px #191919!important}.OffsetWellsTable-module_noShadow__Ssp7E{box-shadow:none!important}');export{o as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e from"@babel/runtime/helpers/slicedToArray";import t from"@babel/runtime/helpers/defineProperty";import i from"@babel/runtime/helpers/objectWithoutProperties";import{memo as r,useState as a}from"react";import n from"classnames";import l from"prop-types";import{SortDirection as s}from"react-virtualized";import{TableRow as c,TableCell as o,Checkbox as d,Tooltip as m,TableSortLabel as u}from"@material-ui/core";import{ArrowForwardIos as p}from"@material-ui/icons";import{MetricsSettingMenu as h}from"./MetricsSettingMenu.js";import{MetricsSelect as f}from"./MetricsSelect.js";import{ViewType as y,EXPANED_WELLNAME_WIDTH as b,ColumnType as g}from"../../constants.js";import C from"./OffsetWellsTableHead.module.css.js";import{jsxs as v,jsx as w}from"react/jsx-runtime";var O=["title"];function S(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,r)}return i}function N(e){for(var i=1;i<arguments.length;i++){var r=null!=arguments[i]?arguments[i]:{};i%2?S(Object(r),!0).forEach((function(i){t(e,i,r[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):S(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var R="OffsetWellsTableHead",W=function(e){var t=e.title,r=i(e,O);return w(m,{placement:"top-end",title:t,children:w(u,N({},r))})};function q(e,t){var i=e.find((function(e){return e.key===t}));return(null==i?void 0:i.width)||0}var j=function(i){var r,l=i.open,u=i.columnsWithDict,O=i.metricsKeys,S=i.sortBy,N=i.sortDirection,j=i.indeterminate,D=i.isAllWellsSelected,E=i.onChangeSort,A=i.onChangeMetricsKeys,k=i.onUpdateMetricsKey,P=i.isWellNameExpand,x=i.setIsWellNameExpand,L=i.handleChangeAllOffsetWells,M=i.wellNameStyle,_=i.isViewOnly,K=i.isImperial,T=i.contentRef,I=i.viewType,V=a(!1),H=e(V,2),z=H[0],B=H[1],U=function(e){E(e,e===S&&N===s.ASC?s.DESC:s.ASC)};return v(c,{className:C.tableRow,children:[v(o,{"data-testid":"".concat(R,"_wellName"),className:n(C.headCell,C.wellNameCell,(r={},t(r,M,I!==y.mobile),t(r,C.wellNameCellMobile,I===y.mobile),r)),style:{width:P?b:q(u,g.name)},children:[v("div",{className:C.nameWrapper,children:[!_&&l&&w(d,{"data-testid":"".concat(R,"_allWellsSelector"),size:"medium",onChange:function(e){return L(e.target.checked)},checked:D,indeterminate:j}),w(W,{title:"Sort",active:S===g.name,direction:S===g.name&&N===s.DESC?"desc":"asc",classes:{root:n(C.headerLabel,t({},C.cellDataViewOnly,_))},onClick:function(){return U(g.name)},children:"Well Name"})]}),w(m,{title:P?"Collapse":"Expand",children:w(p,{className:n(C.wellNameExpandIcon,t({},C.wellNameCollapsed,!P)),onClick:function(){return x(!P)}})})]}),w(o,{"data-testid":"".concat(R,"_nameExpander_").concat(P),className:C.headCell,style:{width:q(u,g.status)}}),w(o,{"data-testid":"".concat(R,"_rig"),className:C.headCell,style:{width:q(u,g.rig)},children:w("div",{className:C.nameWrapper,children:w(W,{title:"Sort",active:S===g.rig,direction:S===g.rig&&N===s.DESC?"desc":"asc",classes:{root:C.headerLabel},onClick:function(){return U(g.rig)},children:"Rig"})})}),w(o,{"data-testid":"".concat(R,"_distance"),className:C.headCell,style:{width:q(u,g.distance)},children:w("div",{className:C.nameWrapper,children:w(W,{title:"Sort",active:S===g.distance,direction:S===g.distance&&N===s.DESC?"desc":"asc",classes:{root:C.headerLabel},onClick:function(){return U(g.distance)},children:"Distance (".concat(K?"miles":"km",")")})})}),w(o,{"data-testid":"".concat(R,"_LastActive"),className:C.headCell,style:{width:q(u,g.lastActive)},children:w("div",{className:C.nameWrapper,children:w(W,{title:"Sort",active:S===g.lastActive,direction:S===g.lastActive&&N===s.DESC?"desc":"asc",classes:{root:C.headerLabel},onClick:function(){return U(g.lastActive)},children:"Last Active"})})}),O.map((function(e){return w(o,{"data-testid":"".concat(R,"_").concat(e),className:C.headCell,style:{width:q(u,e)},children:w(W,{title:z?"":"Sort",active:S===e,direction:S===e&&N===s.DESC?"desc":"asc",classes:{root:C.headerLabel},onClick:function(){return U(e)},children:w(f,{isTooltipVisible:O.length>1,currentValue:e,metricsKeys:O,onChange:function(t){return k(e,t)},setIsMenuOpen:B})})},e)})),w(o,{"data-testid":"".concat(R,"_WellSection"),className:C.headCell,style:{width:q(u,g.wellSection)},children:v("div",{className:C.settingsHeader,children:[w("span",{className:C.headerLabel,children:"Well Section"}),w(h,{metricsKeys:O,onChange:A,contentRef:T})]})})]})};j.propTypes={open:l.bool.isRequired,columnsWithDict:l.arrayOf(l.shape({key:l.string,label:l.string,type:l.string,width:l.number})).isRequired,metricsKeys:l.arrayOf(l.string).isRequired,sortBy:l.string.isRequired,sortDirection:l.string.isRequired,indeterminate:l.bool.isRequired,isAllWellsSelected:l.bool.isRequired,style:l.shape({}).isRequired,onChangeSort:l.func.isRequired,onChangeMetricsKeys:l.func.isRequired,onUpdateMetricsKey:l.func.isRequired,isWellNameExpand:l.bool.isRequired,setIsWellNameExpand:l.func.isRequired,handleChangeAllOffsetWells:l.func.isRequired,wellNameStyle:l.string.isRequired,isViewOnly:l.bool.isRequired,isImperial:l.bool.isRequired,contentRef:l.shape({current:l.instanceOf(Element)}).isRequired,viewType:l.string.isRequired};var D=r(j);export{D as default};
|
package/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTableHead.module.css.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e from'./../../../../ext-esm/style-inject/dist/style-inject.es.js';var l={tableRow:"OffsetWellsTableHead-module_tableRow__Gvgyt",headCell:"OffsetWellsTableHead-module_headCell__hMcRS",wellNameCell:"OffsetWellsTableHead-module_wellNameCell__yllCT",wellNameCellMobile:"OffsetWellsTableHead-module_wellNameCellMobile__YJOV0",cellDataViewOnly:"OffsetWellsTableHead-module_cellDataViewOnly__dIoPu",nameWrapper:"OffsetWellsTableHead-module_nameWrapper__04GFY",headerLabel:"OffsetWellsTableHead-module_headerLabel__mOgMy",wellNameExpandIcon:"OffsetWellsTableHead-module_wellNameExpandIcon__-7Ioi",hiddenExpandIcon:"OffsetWellsTableHead-module_hiddenExpandIcon__W8MtT",wellNameCollapsed:"OffsetWellsTableHead-module_wellNameCollapsed__rVOqN",settingsHeader:"OffsetWellsTableHead-module_settingsHeader__2bsE7",popperContent:"OffsetWellsTableHead-module_popperContent__Y5aQg",popperButtonWrapper:"OffsetWellsTableHead-module_popperButtonWrapper__LO3RD",popperButton:"OffsetWellsTableHead-module_popperButton__pdIMG"};e(".OffsetWellsTableHead-module_tableRow__Gvgyt{display:flex!important;flex-direction:row!important}.OffsetWellsTableHead-module_headCell__hMcRS{align-items:center!important;background:var(--palette-background-b-9)!important;display:flex!important;height:48px!important;padding:0 12px 0 0!important}.OffsetWellsTableHead-module_wellNameCell__yllCT{align-items:center;display:flex!important;justify-content:space-between;left:0;padding-right:2px!important;position:sticky;z-index:9}.OffsetWellsTableHead-module_wellNameCellMobile__YJOV0{position:static}.OffsetWellsTableHead-module_cellDataViewOnly__dIoPu{padding-left:12px!important}.OffsetWellsTableHead-module_nameWrapper__04GFY{align-items:center;display:flex}.OffsetWellsTableHead-module_headerLabel__mOgMy{color:var(--palette-primary-text-7)!important;display:flex!important;font-size:12px;font-weight:500;justify-content:flex-start!important;letter-spacing:.4px;line-height:14px;user-select:none;white-space:normal;width:100%}.OffsetWellsTableHead-module_headerLabel__mOgMy:hover{color:var(--palette-primary-text-1)!important}.OffsetWellsTableHead-module_wellNameExpandIcon__-7Ioi{color:var(--palette-primary-text-6)!important;cursor:pointer;font-size:10px!important;height:32px!important;padding:11px;transform:rotate(180deg);width:32px!important}.OffsetWellsTableHead-module_wellNameExpandIcon__-7Ioi:hover{color:var(--palette-primary-text-1)!important}.OffsetWellsTableHead-module_hiddenExpandIcon__W8MtT{display:none!important}.OffsetWellsTableHead-module_wellNameCollapsed__rVOqN{transform:rotate(0deg)}.OffsetWellsTableHead-module_settingsHeader__2bsE7{align-items:center;display:flex;flex:1;justify-content:space-between}.OffsetWellsTableHead-module_popperContent__Y5aQg{display:flex;flex-direction:column;font-size:18px!important;gap:8px;line-height:24px!important}.OffsetWellsTableHead-module_popperButtonWrapper__LO3RD{display:flex;justify-content:flex-end}.OffsetWellsTableHead-module_popperButton__pdIMG{background:hsla(0,0%,100%,.24)!important;color:#fff!important;padding:4px!important;width:71px!important}.OffsetWellsTableHead-module_popperButton__pdIMG:hover{background:hsla(0,0%,100%,.08)!important}");export{l as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e from"@babel/runtime/helpers/slicedToArray";import t from"@babel/runtime/helpers/defineProperty";import{memo as l,useRef as i,useState as r,useCallback as n,useEffect as a,useMemo as s}from"react";import o from"prop-types";import{startCase as c,get as d}from"lodash";import u from"classnames";import m from"moment";import{TableRow as f,TableCell as h,Checkbox as y,Tooltip as b,Typography as p}from"@material-ui/core";import{convertValue as v}from"../../../../utils/index.js";import{ColumnType as w,ViewType as N,EXPANED_WELLNAME_WIDTH as g,LEAVE_TOUCH_DELAY as R,StatusOptions as W,ROW_HEIGHT as C}from"../../constants.js";import{SubjectWellMark as T}from"./SubjectWellMark.js";import q from"./OffsetWellsTableRow.module.css.js";import k from"./ViewWellSectionsName.js";import{jsxs as O,jsx as S}from"react/jsx-runtime";var j="OffsetWellsTableRow";function x(e,t,l){var i=t.find((function(e){return e.key===l})),r=d(e,i.key);return"undefined"===r?"loading...":Number.isFinite(r)||r?i.unitType?v(r,i.unitType,i.from,i.to):r:"—"}function D(e,t){var l=d(e,w.distance);return Number.isFinite(l)?t?l:v(l,"length","mi","km"):"—"}function M(e,t){var l=e.find((function(e){return e.key===t}));return(null==l?void 0:l.width)||0}var _=function(l){var o,d,v,_=l.columnsWithDict,A=l.data,I=l.subjectWellId,L=l.metricsKeys,Y=l.metricsColumns,z=l.handleChanageOffsetWell,E=l.isWellNameExpand,V=l.wellNameStyle,F=l.wellNameWidth,K=l.isViewOnly,P=l.isImperial,H=l.isLimitedOffsetwells,B=l.flyTo,G=l.tableTop,J=l.wellSections,Q=l.setActiveWellId,U=l.viewType,X=I===A.id,Z=t({},q.subjectWellRow,X),$=i(),ee=i(),te=r(!1),le=e(te,2),ie=le[0],re=le[1],ne=i(),ae=!1,se=A[w.name]||"—",oe=se;if(!E&&2*F<8*se.length){var ce=function(e){var t=document.createElement("span");document.body.appendChild(t),t.style.font="Roboto",t.style.fontSize="14px",t.style.letterSpacing="0.01071em",t.style.height="auto",t.style.width="auto",t.style.position="absolute",t.style.whiteSpace="nowrap",t.innerHTML=e;var l=Math.ceil(t.clientWidth);return document.body.removeChild(t),l}(se);if(ce>2*F){var de=2*F/(ce/se.length);oe="".concat(se.substring(0,de/2-2),"\n... ").concat(se.substring(se.length-de/2+6)),ae=!0}}var ue=n((function(e,t){var l=t-e+16;$.current.style.position="absolute",$.current.style.top="".concat(e,"px"),$.current.style.zIndex=3,$.current.style.transition="transform ".concat(800,"ms ease"),$.current.style.transform="translateY(".concat(l,"px)")}),[]),me=n((function(){$.current.style.position="unset",$.current.style.zIndex=1,$.current.style.transition="none",$.current.style.transform="none"}),[]);a((function(){me(),re(!1),ee.current&&(clearTimeout(ee.current),ee.current=null),ne.current=B}),[B]);var fe,he,ye=n((function(e){if(!ee.current){var t=$.current.offsetTop,l=B;e?Math.abs(l-t)>=7*C&&(l=t-7*C):l=t+7*C,re(!0),ue(t,l),ee.current=setTimeout((function(){return z(A,e)}),800)}}),[A,B,G]),be=s((function(){return A[w.wellSection]}),[A]);return O(f,{"data-testid":"".concat(j,"_row_").concat(se),className:q.bodyRow,innerRef:$,onMouseEnter:function(){Q(A.id)},onMouseLeave:function(){Q(null)},children:[O(h,{"data-testid":"".concat(j,"_well"),className:u(q.bodyCell,q.wellNameCell,Z,(o={},t(o,V,U!==N.mobile),t(o,q.wellNameCellMobile,U===N.mobile),o)),style:{width:E?g:M(_,w.name)},children:[X&&S(T,{className:u(q.subjectWellMark,t({},q.subjectWellMarkMobile,U===N.mobile))}),!X&&S(y,{"data-testid":"".concat(j,"_checkbox"),size:"medium",checked:ie&&ne.current===B?!A.checked:A.checked,disabled:K||H&&!A.checked,onChange:function(e){return ye(e.target.checked)}}),S(b,{title:ae?se:"",children:S(p,{variant:"body2",className:u(q.wellNameCursor,(d={},t(d,q.cellDataViewOnly,X),t(d,q.wellNamePreWrap,ae),d)),children:ae?oe:se})})]}),S(h,{"data-testid":"".concat(j,"_dot"),className:u(q.bodyCell,Z),style:{width:M(_,w.status)},children:!X&&S(b,{title:c(A[w.status]),enterTouchDelay:U===N.mobile&&0,leaveTouchDelay:U===N.mobile&&R,children:S("div",{className:q.statusContainer,children:S("div",{"data-testid":"".concat(j,"_color"),className:q.status,style:{background:null===(v=W.find((function(e){return e.value===A[w.status]})))||void 0===v?void 0:v.color}})})})}),S(h,{"data-testid":"".concat(j,"_rig"),className:u(q.bodyCell,Z),style:{width:M(_,w.rig)},children:S(p,{variant:"body2",className:q.cellData,children:A[w.rig]&&"Null"!==A[w.rig]?A[w.rig]:"—"})}),S(h,{"data-testid":"".concat(j,"_distance"),className:u(q.bodyCell,Z),style:{width:M(_,w.distance)},children:S(p,{variant:"body2",className:q.cellData,children:D(A,P)})}),S(h,{"data-testid":"".concat(j,"_lastActive"),className:u(q.bodyCell,Z),style:{width:M(_,w.lastActive)},children:S(p,{variant:"body2",className:q.cellData,children:A[w.lastActive]&&Number.isFinite(A[w.lastActive])?m.unix(A[w.lastActive]).format("MM/DD/YYYY"):"—"})}),L.map((function(e){return S(h,{"data-testid":"".concat(j,"_").concat(e),className:u(q.bodyCell,Z),style:{width:M(_,e)},children:S(p,{variant:"body2",className:q.cellData,children:x(A,Y,e)})},e)})),S(h,{"data-testid":"".concat(j,"_wellSection"),className:u(q.bodyCell,q.lastCell,Z),style:{width:M(_,w.wellSection)},children:be&&be.length>1?S(b,{classes:{tooltip:q.customTooltip},title:S(k,{wellSectionNames:be}),children:S("div",{className:q.sectionLength,children:be.length})}):S(b,{title:be||"",children:S(p,{variant:"body2",className:q.cellData,style:{color:be&&1===be.length&&(fe=be,he=e(fe,1)[0],J.find((function(e){return e.label===he})).color)},children:be})})})]})};_.propTypes={columnsWithDict:o.arrayOf(o.shape({})).isRequired,data:o.shape({id:o.number,checked:o.bool,name:o.string,status:o.string}).isRequired,subjectWellId:o.number.isRequired,metricsKeys:o.arrayOf(o.string).isRequired,metricsColumns:o.arrayOf(o.shape({})).isRequired,handleChanageOffsetWell:o.func.isRequired,isWellNameExpand:o.bool.isRequired,wellNameStyle:o.string.isRequired,wellNameWidth:o.number.isRequired,isViewOnly:o.bool.isRequired,isImperial:o.bool.isRequired,isLimitedOffsetwells:o.bool.isRequired,flyTo:o.number.isRequired,tableTop:o.number.isRequired,wellSections:o.arrayOf(o.shape({})).isRequired,setActiveWellId:o.func.isRequired,viewType:o.string.isRequired};var A=l(_);export{A as default};
|
package/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTableRow.module.css.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e from'./../../../../ext-esm/style-inject/dist/style-inject.es.js';var l={bodyRow:"OffsetWellsTableRow-module_bodyRow__UqDEw",bodyCell:"OffsetWellsTableRow-module_bodyCell__B-yWv",subjectWellRow:"OffsetWellsTableRow-module_subjectWellRow__x60wK",subjectWellMark:"OffsetWellsTableRow-module_subjectWellMark__S-nvA",subjectWellMarkMobile:"OffsetWellsTableRow-module_subjectWellMarkMobile__ghfJp",cellData:"OffsetWellsTableRow-module_cellData__SNLYB",cellDataViewOnly:"OffsetWellsTableRow-module_cellDataViewOnly__2Fd-1",hoverCell:"OffsetWellsTableRow-module_hoverCell__4wFuk",wellNameCell:"OffsetWellsTableRow-module_wellNameCell__BBEf-",wellNameCellMobile:"OffsetWellsTableRow-module_wellNameCellMobile__AJ0Rm",lastCell:"OffsetWellsTableRow-module_lastCell__VEQCi",subjectWellImage:"OffsetWellsTableRow-module_subjectWellImage__IkmRP",statusContainer:"OffsetWellsTableRow-module_statusContainer__IUVWC",status:"OffsetWellsTableRow-module_status__qWj9c",customTooltip:"OffsetWellsTableRow-module_customTooltip__aeWUJ",wellNameCursor:"OffsetWellsTableRow-module_wellNameCursor__BlXVa",wellNamePreWrap:"OffsetWellsTableRow-module_wellNamePreWrap__oXXEB",sectionLength:"OffsetWellsTableRow-module_sectionLength__vxefy"};e(".OffsetWellsTableRow-module_bodyRow__UqDEw{display:flex!important;flex-direction:row!important;margin-bottom:4px!important}.OffsetWellsTableRow-module_bodyRow__UqDEw:hover .OffsetWellsTableRow-module_bodyCell__B-yWv{background:#393939}.OffsetWellsTableRow-module_subjectWellRow__x60wK{border-color:var(--palette-primary-main)!important}.OffsetWellsTableRow-module_subjectWellMark__S-nvA{left:-1px;position:absolute;top:-1px;z-index:98}.OffsetWellsTableRow-module_subjectWellMarkMobile__ghfJp{top:16px}.OffsetWellsTableRow-module_bodyCell__B-yWv{align-items:center!important;background:var(--palette-background-b-8);border-top:1px solid var(--palette-primary-text-9);display:flex!important;height:56px!important;padding:0 12px 0 0!important}.OffsetWellsTableRow-module_cellData__SNLYB{-webkit-line-clamp:2;-webkit-box-orient:vertical;color:var(--palette-primary-text-1);display:-webkit-box;font-size:14px;font-weight:400;line-height:20px;overflow:hidden;overflow-wrap:break-word;white-space:normal}.OffsetWellsTableRow-module_cellDataViewOnly__2Fd-1{padding-left:12px}.OffsetWellsTableRow-module_hoverCell__4wFuk{background:var(--palette-background-b-7)!important}.OffsetWellsTableRow-module_wellNameCell__BBEf-{border-bottom-left-radius:4px;border-left:1px solid var(--palette-primary-text-9);border-top-left-radius:4px;left:0;position:sticky;z-index:2}.OffsetWellsTableRow-module_wellNameCellMobile__AJ0Rm{position:static}.OffsetWellsTableRow-module_lastCell__VEQCi{border-bottom-right-radius:4px;border-right:1px solid var(--palette-primary-text-9);border-top-right-radius:4px}.OffsetWellsTableRow-module_subjectWellImage__IkmRP{height:16px;width:16px}.OffsetWellsTableRow-module_statusContainer__IUVWC{align-items:center;display:flex;height:32px;justify-content:center;width:32px}.OffsetWellsTableRow-module_status__qWj9c{border-radius:50%;cursor:default;height:8px;width:8px}.OffsetWellsTableRow-module_customTooltip__aeWUJ{opacity:.9!important}.OffsetWellsTableRow-module_wellNameCursor__BlXVa{color:var(--palette-primary-text-1);cursor:default;white-space:normal;word-break:break-all}.OffsetWellsTableRow-module_wellNamePreWrap__oXXEB{white-space:pre}.OffsetWellsTableRow-module_sectionLength__vxefy{background:var(--palette-primary-text-9);border-radius:20px;cursor:default;padding:2px 8px}");export{l as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import H from"prop-types";import{jsxs as l,jsx as C}from"react/jsx-runtime";var V=function(H){var V=H.className;return l("svg",{width:"105",height:"11",viewBox:"0 0 105 11",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:V,children:[C("path",{d:"M0 4C0 1.79086 1.79086 0 4 0H105L95.7526 9.75229C94.9973 10.5489 93.9478 11 92.8501 11H0V4Z",fill:"#03BCD4"}),C("path",{d:"M13.228 2.1086C13.228 2.1086 11.8177 2.00015 10.196 2.00015C8.5641 1.9903 8 2.45366 8 3.686V4.26767C8 5.32255 8.53388 5.42114 9.61171 5.60845C9.94413 5.66761 11.4551 5.93379 11.9386 6.03238C12.2912 6.09153 12.3617 6.27885 12.3617 6.53518V7.04783C12.3617 7.67879 12.13 7.80695 11.3242 7.80695H8.01007L8 8.88156C8 8.88156 9.85347 8.99 11.4752 8.99C13.1172 8.99986 13.6511 8.48721 13.6511 7.25486V6.35772C13.6511 5.48029 13.3589 5.10566 12.3617 4.91834C11.8883 4.82961 9.82325 4.45498 9.82325 4.45498C9.43039 4.37611 9.31959 4.3071 9.31959 4.01134V3.8043C9.31959 3.22264 9.47069 3.1832 10.1557 3.1832H13.2179L13.228 2.1086Z",fill:"black"}),C("path",{d:"M16.9419 6.90981V2.04945H15.6526V7.13656C15.6526 8.23088 16.3375 8.97029 17.6068 8.97029H19.5811C20.8503 8.97029 21.5353 8.23088 21.5353 7.13656V2.04945H20.2459V6.90981C20.2459 7.56049 19.9538 7.85625 19.2588 7.85625H17.9291C17.234 7.85625 16.9419 7.56049 16.9419 6.90981Z",fill:"black"}),C("path",{d:"M23.8824 8.95057H27.6699C28.9392 8.95057 29.6241 8.30975 29.6241 7.21543V6.51546C29.6141 5.89436 29.191 5.50001 28.5866 5.30283C29.1205 5.10566 29.463 4.74089 29.473 4.15922V3.77473C29.473 2.68041 28.7881 2.04945 27.5188 2.04945H23.8824V8.95057ZM25.1718 5.90422H27.3476C28.0427 5.90422 28.3851 6.10139 28.3851 6.60419V6.90981C28.3851 7.56049 28.093 7.85625 27.398 7.85625H25.1718V5.90422ZM28.234 4.19865C28.234 4.69159 27.9016 4.83947 27.2267 4.84933H25.1718V3.13391H27.2469C27.9419 3.13391 28.234 3.33108 28.234 3.98176V4.19865Z",fill:"black"}),C("path",{d:"M31.3788 8.89142C31.3788 8.89142 32.3559 8.99986 33.6252 8.99986C34.8843 9.00972 35.7708 8.48721 35.7708 7.26472V2.04945H34.4814V6.91967C34.4814 7.57035 34.1893 7.86611 33.4942 7.86611H31.3788V8.89142Z",fill:"black"}),C("path",{d:"M38.1147 8.95057H43.101V7.78724H39.4041V6.01266H42.6577V4.87891H39.4041V3.15363H43.111V2.04945H38.1147V8.95057Z",fill:"black"}),C("path",{d:"M50.4169 2.07902C50.4169 2.07902 48.9563 2.00015 47.0827 2.00015C45.8236 1.9903 45.1889 2.78885 45.1889 3.88317V7.01826C45.1889 8.11258 45.8236 9.00972 47.0827 8.99986C48.7549 8.99986 50.4169 8.90128 50.4169 8.90128L50.4069 7.86611H47.6065C46.9115 7.86611 46.569 7.52105 46.569 6.87037V4.03106C46.569 3.38038 46.9115 3.13391 47.6065 3.13391H50.4069L50.4169 2.07902Z",fill:"black"}),C("path",{d:"M57.9531 2.04945H52.1207V3.13391H54.3973V8.95057H55.6866V3.13391H57.9531V2.04945Z",fill:"black"}),C("path",{d:"M69.6727 7.72808H69.3906L68.4236 2.04945H66.4593L65.4923 7.72808H65.2103L64.1425 2.04945H62.702C62.702 2.04945 64.0519 8.42806 64.1224 8.78297C64.1526 8.91113 64.2231 8.97029 64.3339 8.97029H66.4593C66.55 8.97029 66.6507 8.92099 66.6709 8.80269C66.7112 8.56608 67.3962 3.8043 67.3962 3.8043H67.4868C67.4868 3.8043 68.1718 8.56608 68.2121 8.80269C68.2322 8.92099 68.333 8.97029 68.4236 8.97029H70.5491C70.6599 8.97029 70.7304 8.91113 70.7606 8.78297C70.8311 8.42806 72.1809 2.04945 72.1809 2.04945H70.7405L69.6727 7.72808Z",fill:"black"}),C("path",{d:"M74.1382 8.95057H79.1244V7.78724H75.4276V6.01266H78.6812V4.87891H75.4276V3.15363H79.1345V2.04945H74.1382V8.95057Z",fill:"black"}),C("path",{d:"M81.4216 8.95057H86.297V7.81681H82.7109V2.04945H81.4216V8.95057Z",fill:"black"}),C("path",{d:"M88.1246 8.95057H93V7.81681H89.4139V2.04945H88.1246V8.95057Z",fill:"black"})]})};V.propTypes={className:H.shape({})},V.defaultProps={className:null};export{V as SubjectWellMark};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e from"prop-types";import{isEmpty as i}from"lodash";import{makeStyles as n,Typography as a}from"@material-ui/core";import{jsxs as t,jsx as r}from"react/jsx-runtime";var o=n({mainContainer:{padding:"8px"},title:{fontSize:"12px",lineHeight:"16px",marginBottom:"8px"},sectionNameContainer:{display:"flex",flexDirection:"column",gap:"4px"},sectionName:{display:"flex",gap:"8px",alignItems:"center"}}),l=function(e){var n=e.wellSectionNames,l=o();return i(n)?null:t("div",{className:l.mainContainer,children:[r("div",{className:l.title,children:"Best in Well Sections: "}),r("div",{className:l.sectionNameContainer,children:n.map((function(e){return r("div",{className:l.sectionName,children:r(a,{variant:"body2",children:e})})}))})]})};l.propTypes={wellSectionNames:e.arrayOf(e.string).isRequired};export{l as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e from"@babel/runtime/helpers/defineProperty";import t from"classnames";import r from"prop-types";import{isEmpty as o}from"lodash";import{Sort as i,FilterList as s,Close as n}from"@material-ui/icons";import{jsxs as p,jsx as m}from"react/jsx-runtime";import"../../../DevCenter/DevCenterAppContainer/components/AppActions/AppActions.css.js";import"../../../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js";import"../../../DevCenter/DevCenterAppContainer/components/AnnotationsButton/AnnotationsButton.js";import"../../../DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.js";import"../../../DevCenter/DevCenterAppContainer/components/FullscreenButton/FullscreenButton.js";import"../../../DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.js";import"../../../DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.js";import"../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js";import"../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js";import"../../../DevCenter/DevCenterAppContainer/components/IsInsideDcAppProvider/IsInsideDcAppProvider.js";import"../../../Modal/CorvaModal.js";import"@babel/runtime/helpers/slicedToArray";import"react";import"../../../IconMenu/index.js";import"../../../StyledMenuItem/index.js";import"../../../DevCenter/AppHeader/AppHeader.js";import"../../../DevCenter/AppSideBar/AppSideBar.js";import"../../../DevCenter/AppsDataProvider/AppsDataProvider.js";import"../../../DevCenter/DevCenterAppContainer/DevCenterAppContainer.js";import"../../../DevCenter/NavigationBar/NavigationBar.js";import"../../../DevCenter/SideBar/SideBar.js";import"../../../DevCenter/AppSettingsPopover/AppSettingsPopover.js";import"../../../DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.js";import"../../../DevCenter/DevCenterRouterContext/DevCenterRouterContext.js";import"../../../DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js";import"@babel/runtime/helpers/objectWithoutProperties";import"react-router";import"../../../DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js";import"../../../DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.js";import"../../../DevCenter/AppContext.js";import"../../../AssetEditor/index.js";import"../../../AppVersionsSelect/AppVersionsSelect.js";import"../../../LoadingIndicator/LoadingIndicator.js";import"../../../Typography.js";import"../../../CollapsableSidebar.js";import"../../../DateTimePicker/index.js";import"../../../DatePicker/index.js";import"../../../ErrorBoundary/ErrorBoundary.js";import"../../../ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js";import"../../../Annotations/components/AnnotationsList/index.js";import"../../../Annotations/components/LastAnnotation/index.js";import"../../../Annotations/AnnotationsContext.js";import"../../../SlateFormattedText/SlateFormattedText.js";import"../../../SlateFormattedText/RenderElements.js";import"@babel/runtime/helpers/typeof";import"slate";import"../../../ParameterCharts/ParameterCharts.js";import"../../../ParameterCharts/AddEditTrack.js";import"../../../ChartActionsList/ChartActionsList.js";import"../../../CopyToClipboard/CopyToClipboard.js";import"../../../AssetEditor/AssetEditorAutocomplete.js";import"../../../AssetEditor/SingleAssetEditor.js";import"../../../SettingEditors/ColorEditor/index.js";import"../../../SettingEditors/DropdownEditor/index.js";import"../../../SettingEditors/RadioEditor/index.js";import a from"../../../SwitchControl/index.js";import"../../../ColorPicker/ColorPicker.js";import"../../../Chart/components/ChartButton.js";import"../../../Chart/components/ChartButtons.js";import"../../../Chart/components/ChartWrapper.js";import"../../../Chart/components/AxisDropdown.js";import"../../../Chart/components/buttons/DragToZoomButton.js";import"../../../Chart/components/buttons/ZoomInButton.js";import"../../../Chart/components/buttons/ZoomOutButton.js";import"../../../Chart/components/buttons/PanButton.js";import"../../../Chart/components/buttons/ResetZoomButton.js";import"../../../Chart/components/buttons/HideAxesButton.js";import"../../../ColorPicker/PaletteChromePicker/PaletteChromePicker.js";import"../../../TruncatedText/index.js";import"../../../RangeSlider/RangeSlider.js";import"../../../AdvancedSlider/AdvancedSlider.js";import"../../../Breadcrumbs/index.js";import"../../../VirtualizedTable/index.js";import"../../../EmptyView/EmptyView.js";import"../../../EmptyView/EmptyAppView/EmptyAppView.js";import l from"../../../Button/index.js";import"../../../ContextMenuItem/index.js";import"../../../FolderMenuItem/index.js";import"../../../EditableItem/EditableItem/index.js";import"../../../EditableItem/EditableItemWithBadge/index.js";import"../../../Checkbox/index.js";import"../../../FolderMenuItemWithLinks/index.js";import"../../../IconButton/index.js";import"../../../TextField/index.js";import"../../../Chip/index.js";import"../../../Counter/index.js";import"../../../AnchorsList/AnchorsList.js";import"../../../Select/index.js";import"../../../CustomSelect/index.js";import"../../../Tabs/Tabs.js";import"../../../Tabs/Tab.js";import"../../../ResizableTable/ResizableTable.js";import"../../../Drillstring/BHASchematic.js";import"../../../Drillstring/BHATable/index.js";import"../../../Drillstring/BHAComponentIcon.js";import"../../../Drillstring/BHAComponentDetail/index.js";import"../../../Drillstring/BHATileIcon.js";import"../../../Drillstring/BHATile/BHATile.js";import"../../../Drillstring/BHAList/BHAList.js";import"../../../Drillstring/BHAComponentsTable/BHAComponentsTable.js";import"../../../Casing/CasingTable/index.js";import"../../../Casing/CasingComponentIcon.js";import"../../../Casing/CasingTileIcon.js";import"../../../Casing/CasingTableV2/CasingTableV2.js";import"../../../Casing/CasingTile/CasingTile.js";import"../../../DisabledSettingsMessage/DisabledSettingsMessage.js";import"../../../WellSummary/WellSummaryItemLabel.js";import"../../../WellSummary/WellSummaryItemTitle.js";import"../../../WellSummary/WellSummaryItemValue.js";import"../../../WellSummary/ActivitySummaryChart.js";import"../../../WellSummary/FracWirelineTimeChart.js";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"../../../../clients/jsonApi/index.js";import"../../../../constants/goals.js";import"../../../../constants/segment.js";import"../../../../constants/alerts.js";import"../../../../constants/apps.js";import"../../../../constants/drillstring.js";import"../../../../constants/completion.js";import"../../../../constants/notifications.js";import"../../../../constants/feed.js";import"../../../../constants/bha.js";import"../../../BICOffsetPickerDialog/index.js";import"../../../OffsetWellButton/OffsetWellButton.js";import"../../../OffsetWellPickerV2/OffsetWellPickerDialog.js";import"../../../OffsetWellPickerV3/index.js";import"../../../OffsetWellChips/Chip.js";import"../../../OffsetWellChips/ChipsContainer.js";import"../../OffsetWellPickerV4.js";import"../../../OffsetWellMap/OffsetWellMap.js";import"../../../Notifications/Notifications.js";import"@babel/runtime/helpers/toConsumableArray";import"uuid";import"../../../Toaster/Toaster.js";import"../../../ConfirmationDialog.js";import"../../../TextLink/index.js";import"../../../Avatar/index.js";import"../../../Template/TemplatePopover/index.js";import"../../../MenuItem/index.js";import"../../../PadModeSelect/PadModeSelect.js";import"../../../PinnableFilters/PinnableFilters.js";import"../../../HeaderLayout/HeaderLayout.js";import"../../../PadOffsetsPicker/PadOffsetsPicker.js";import"../../../PadOffsetsPicker/OffsetAssetChip.js";import"../../../PadOffsetsPicker/OffsetAssetsListExpander.js";import"../../../PadOffsetsPicker/StagesSelector.js";import"@material-ui/core";import"../../../Table/TableToolbar/TableToolbar.js";import"../../../Table/TableContainer/TableContainer.js";import"../../../Table/TableCell/TableCell.js";import"../../../Tooltip/MuiTooltipDcWrapper.js";import"../../../PriceInput/PriceInput.js";import"../../../LabelsCounter/LabelsCounter.js";import"../../../Stepper/Step.js";import"../../../Stepper/StepsWrapper.js";import"../../../Stepper/Stepper.js";import"../../../Comment/CommentIcon/index.js";import"../../../FilesLoader/FilesLoader.js";import"../../../FilesLoader/Icons/FileIcon.js";import"../../../SearchInput/index.js";import"../../../FeedItem/FeedItem.js";import"../../../FeedItem/FeedItemEditProvider/FeedItemEditProvider.js";import"../../../PostInput/PostInput.js";import"../../../KeyboardDateTimePicker.js";import"../../../AddComment/Popover.js";import"../../../AddComment/Popup.js";import"../../../StageDesignVActual/ComparisonBar/ComparisonBar.js";import"../../../StageDesignVActual/ElementsComparison/ElementsComparison.js";import"../../../StageDesignVActual/ComparisonHeader.js";import"../../../StageDesignVActual/ComparisonRow.js";import"../../../EmbeddedApp/DevCenterEmbeddedApp.js";import"../../../EmbeddedApp/EmbeddedApp.js";import"../../../HelpCenter/HelpCenterIcon.js";import"../../../Autocomplete/Autocomplete.js";import"../../../DocumentViewer/DocumentViewer.js";import"../../../ColorPickerPalette/ColorPickerPalette.js";import"../../../Search/Search.js";import"../../../Search/components/Listbox.js";import"../../../Search/components/Paper.js";import"../../../Search/components/RecentSearches.js";import"../../../Search/components/InputAdornmentLeft.js";import"../../../Search/components/Groups.js";import{ViewType as d}from"../../constants.js";import c from"./Toolbar.module.css.js";var j=function(r){var j,C=r.isViewOnly,u=r.viewType,A=r.filters,D=r.setFilters,b=r.isFilterExpanded,v=r.setIsFilterExpanded,f=r.isMapHidden,g=r.setIsMapHidden;return p("div",{className:t(c.controlGroup,(j={},e(j,c.controlGroupSmall,u===d.small),e(j,c.controlGroupMobile,u===d.mobile),j)),children:[p(l,{"data-testid":"".concat("Toolbar","_filters"),startIcon:m(b?i:s,{}),classes:{root:c.filterButton},onClick:function(){return v((function(e){return!e}))},disabled:C,children:["Filters",!o(A)&&p("div",{className:c.clearWrapper,onClick:function(e){e.stopPropagation(),D({})},children:[m(n,{className:c.clearIcon}),m("span",{className:c.clearLabel,children:"Clear"})]})]}),m(a,{"data-testid":"".concat("Toolbar","_map"),rightLabel:"Map",color:"primary",checked:!f,onChange:function(e){return g(!e.target.checked)}})]})};j.propTypes={isViewOnly:r.bool.isRequired,viewType:r.string.isRequired,filters:r.shape({}).isRequired,setFilters:r.func.isRequired,isFilterExpanded:r.bool.isRequired,setIsFilterExpanded:r.func.isRequired,isMapHidden:r.bool.isRequired,setIsMapHidden:r.func.isRequired};export{j as Toolbar};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import o from'./../../../../ext-esm/style-inject/dist/style-inject.es.js';var r={controlGroup:"Toolbar-module_controlGroup__Lqxmj",controlGroupSmall:"Toolbar-module_controlGroupSmall__nTBqG",controlGroupMobile:"Toolbar-module_controlGroupMobile__q0eD-",filterButton:"Toolbar-module_filterButton__4MZU9",clearWrapper:"Toolbar-module_clearWrapper__3DEcS",clearIcon:"Toolbar-module_clearIcon__UDHCn",clearLabel:"Toolbar-module_clearLabel__k36NL"};o(".Toolbar-module_controlGroup__Lqxmj{align-items:center;display:flex;height:32px;justify-content:space-between;margin-bottom:16px;margin-top:4px;padding:0 40px;width:100%}.Toolbar-module_controlGroupSmall__nTBqG{height:auto;left:0;margin-top:0;padding:0;position:sticky}.Toolbar-module_controlGroupMobile__q0eD-{left:0;margin-top:0;padding:0 16px 0 0;position:sticky}.Toolbar-module_filterButton__4MZU9{background-color:var(--palette-background-b-8)!important;height:32px!important}.Toolbar-module_filterButton__4MZU9:hover{background-color:var(--palette-background-b-7)!important}.Toolbar-module_clearWrapper__3DEcS{align-items:center;color:var(--palette-primary-main);display:flex;gap:4px;margin-left:8px}.Toolbar-module_clearWrapper__3DEcS:hover{color:var(--palette-primary-light)}.Toolbar-module_clearIcon__UDHCn{font-size:16px!important}.Toolbar-module_clearLabel__k36NL{font-size:12px;font-weight:400;line-height:16px;text-transform:none}");export{r as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e from"@babel/runtime/helpers/toConsumableArray";import{sortBy as t}from"lodash";import"../../utils/index.js";import*as a from"../../utils/metrics/metricsConfig.js";var l=800,i=650,o={none:"none",normal:"normal",small:"small screen",tablet:"tablet",mobile:"mobile"},r=50,s="all",n="All",p=450,_=50,m=60,c=1e4,d=a,u={status:"status",rig:"rigName",program:"programName",basin:"basin",county:"county",area:"area",formation:"formation",stringDesign:"stringDesign",radius:"radius",period:"period",sideTracks:"sideTracks",timeRangeFrom:"timeRangeFrom",timeRangeTo:"timeRangeTo"},g=[{value:u.rig,label:"Rig"},{value:u.program,label:"Program"},{value:u.basin,label:"Basin"},{value:u.county,label:"County"},{value:u.area,label:"Area"},{value:u.formation,label:"Target Formation"},{value:u.stringDesign,label:"String Design"}],b={unknown:"unknown",idle:"idle",active:"active",paused:"paused",complete:"complete"},v=[{value:b.unknown,color:"#9E9E9E"},{value:b.idle,color:"#BDBDBD"},{value:b.active,color:"#95F126"},{value:b.paused,color:"#FFF350"},{value:b.complete,color:"#2196F3"}],y={name:"name",status:"status",rig:"rigName",distance:"distance",lastActive:"lastActive",metrics:"metrics",wellSection:"wellSection"},h=[{type:y.name,label:"Well Name",key:y.name,width:[280,197,197,186]},{type:y.status,label:"",key:y.status,width:[40,40,40,30]},{type:y.rig,label:"Rig",key:y.rig,width:[220,140,140,93]},{type:y.distance,label:"Distance",key:y.distance,width:[160,160,122,93]},{type:y.lastActive,label:"Last Active",key:y.lastActive,width:[140,140,108,98]},{type:y.metrics,label:"",key:"",width:[0,212,141,141]},{type:y.wellSection,label:"Well Section",key:y.wellSection,width:[180,131,131,97]}],F=[{value:"all",label:"All"},{value:"last12h",label:"Last 12 hrs"},{value:"last24h",label:"Last 24 hrs"},{value:"last7d",label:"Last 7 days"},{value:"lastMonth",label:"Last Month"},{value:"custom",label:"Сustom"}],w=3,f=t([d.weight_to_weight_average,d.bottom_to_slips_average,d.drilling_connection_average,d.slips_to_bottom_average,d.hole_depth,d.hole_depth_change,d.drilled_feet_rotary,d.drilled_feet_slide,d.rop_gross,d.rop,d.rop_rotary,d.rop_slide,d.drilled_feet_rotary_percentage,d.drilled_feet_slide_percentage,d.on_bottom_percentage,d.on_bottom_time,d.cost_per_ft,d.cost_per_lat_ft,d.feet_per_day,d.tripping_in_speed_cased,d.tripping_in_speed_open,d.tripping_in_speed,d.tripping_out_speed_cased,d.tripping_out_speed_open,d.tripping_out_speed].concat(e("production"!==process.env.REACT_APP_ENVIRONMENT?[d.npt,d.circulating_time,d.spud_to_rig_release_time,d.spud_to_total_depth_time]:[])),"label"),A=f.map((function(e){return e.key})),k=["#6EACFF","#69B919","#E95DAF","#A77DFF","#77FFC1","#018EFE","#FF5D7E","#B9E310","#FFD111","#24BB8E","#C426F3"];export{s as ALL_SECTION_KEY,n as ALL_SECTION_LABEL,y as ColumnType,p as EXPANED_WELLNAME_WIDTH,g as FilterOptions,u as FilterType,c as LEAVE_TOUCH_DELAY,w as MAX_METRICS_COUNT,r as MAX_OFFSET_SIZE,A as METRICS_KEYS,f as METRICS_LIST,F as OBJECTIVE_PERIOD_LIST,_ as ROWS_PER_PAGE,m as ROW_HEIGHT,l as SMALL_SCREEN_HEIGHT,i as SMALL_SCREEN_WIDTH,v as StatusOptions,h as TableColumns,o as ViewType,k as WellSectionColors,b as WellStatus};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import r from"@babel/runtime/helpers/defineProperty";import t from"@babel/runtime/helpers/asyncToGenerator";import e from"@babel/runtime/helpers/slicedToArray";import n from"@babel/runtime/regenerator";import{useState as o,useRef as i,useEffect as a}from"react";import{get as u}from"lodash";import{mapbox as c}from"../../../utils/index.js";import{fetchMetricsData as s}from"../utils/apiCalls.js";import{ALL_SECTION_KEY as p,ColumnType as f,METRICS_KEYS as l}from"../constants.js";function m(r,t){var e=Object.keys(r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable}))),e.push.apply(e,n)}return e}function b(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?m(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))}))}return t}var d=c.getAssetV2Coordinates,h=c.getDistanceByCoordinates;function v(c,m,v,y,O,j){var w=o(null),x=e(w,2),g=x[0],P=x[1],k=o(null),E=e(k,2),F=E[0],D=E[1],C=o(null),S=e(C,2),A=S[0],H=S[1],T=i({});function B(){return B=t(n.mark((function r(){var e,o,i;return n.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return e=m.find((function(r){return r.id===O})),(o=e&&d(e,"topHole"))||D(m),r.next=5,Promise.all(m.map(function(){var r=t(n.mark((function r(t){var e,i;return n.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,d(t,"topHole");case 3:if(!(e=r.sent)){r.next=13;break}return r.t0=parseFloat,r.next=8,h(o,e);case 8:return r.t1=r.sent,i=(0,r.t0)(r.t1),r.abrupt("return",b(b({},t),{},{distance:parseFloat(i.toFixed(2))}));case 13:return r.abrupt("return",t);case 14:r.next=19;break;case 16:return r.prev=16,r.t2=r.catch(0),r.abrupt("return",t);case 19:case"end":return r.stop()}}),r,null,[[0,16]])})));return function(t){return r.apply(this,arguments)}}()));case 5:i=r.sent,D(i);case 7:case"end":return r.stop()}}),r)}))),B.apply(this,arguments)}function G(){return(G=t(n.mark((function r(t){var e,o,i;return n.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,s(c,t);case 2:e=r.sent,o={},t.forEach((function(r){var t={},n=e.filter((function(t){return u(t,"asset_id")===r}));l.forEach((function(r){var e=n.find((function(t){return u(t,"data.key")===r})),o=u(e,"data.value");t[r]=Number.isFinite(o)?parseFloat(o.toFixed(2)):null})),o[r]=t})),T.current=b(b({},T.current),o),i=[],A.forEach((function(r){i.push(b(b({},r),T.current[r.id]))})),P(i);case 9:case"end":return r.stop()}}),r)})))).apply(this,arguments)}return a((function(){m&&function(){B.apply(this,arguments)}()}),[m,O]),a((function(){var t,e;F&&v&&y&&(t=v.filter((function(r){return r.value!==p})),e=F.map((function(e){var n=t.filter((function(r){return(y[r.value]||[]).includes(e.id)})).map((function(r){return r.label}));return n.length>0?b(b({},e),{},r({},f.wellSection,n)):e})),H(e))}),[F,v,y]),a((function(){if(A&&j){var r=[];A.forEach((function(t){T.current[t.id]||r.push(t.id)})),function(r){G.apply(this,arguments)}(r)}}),[j,A]),g}export{v as useAdvancedWells};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import r from"@babel/runtime/helpers/defineProperty";import e from"@babel/runtime/helpers/asyncToGenerator";import t from"@babel/runtime/helpers/slicedToArray";import n from"@babel/runtime/regenerator";import{useState as o,useEffect as c,useMemo as i}from"react";import{debounce as u,groupBy as a,every as p,flatten as s,toPairs as f}from"lodash";import{fetchAllAssets as l}from"../utils/apiCalls.js";function m(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),t.push.apply(t,n)}return t}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))}))}return e}var y=u((function(r){r()}),500);function O(u,m,O,h,j){var v=o([]),d=t(v,2),w=d[0],P=d[1],g=o(!1),k=t(g,2),x=k[0],D=k[1],C=o({}),T=t(C,2),A=T[0],E=T[1];return c((function(){function t(){return(t=e(n.mark((function e(){var t,o;return n.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,l(u,m,O,h);case 3:t=e.sent,o=s(f(A).filter((function(r){return+r[0]<+O})).map((function(r){return r[1]}))).concat(t),P(o),E((function(e){return b(b({},e),{},r({searchKey:u,assetType:m},O,t))})),D(!1),e.next=14;break;case 10:e.prev=10,e.t0=e.catch(0),console.error(e.t0),D(!1);case 14:case"end":return e.stop()}}),e,null,[[0,10]])})))).apply(this,arguments)}D(!0),y((function(){return t.apply(this,arguments)}))}),[u,m,O,h]),[x,i((function(){var r=w.map((function(r){return b(b({},r),{},{checked:j.includes(r.redirectAssetId)})})).filter((function(r){return(!m||r.type===m)&&function(r,e){var t=(e||"").split(" ");return p(t,(function(e){return r.toLowerCase().includes(e||"")}))}(r.name,(u||"").toLowerCase())}));return Object.entries(a(r,"type"))}),[u,w,m,j])]}export{O as useAssetsData};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e from"@babel/runtime/helpers/toConsumableArray";import r from"@babel/runtime/helpers/defineProperty";import t from"@babel/runtime/helpers/asyncToGenerator";import n from"@babel/runtime/helpers/slicedToArray";import a from"@babel/runtime/regenerator";import{useState as o,useEffect as c}from"react";import{isEmpty as l,uniq as s,get as u}from"lodash";import{fetchOffsetWellSelections as i,fetchWellhubWells as p}from"../utils/apiCalls.js";import{WellSectionColors as f,ALL_SECTION_KEY as b,ALL_SECTION_LABEL as m}from"../constants.js";function v(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function O(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))}))}return e}var h=function(v,h){var y=o(null),d=n(y,2),j=d[0],w=d[1],x=o(null),P=n(x,2),g=P[0],k=P[1];return c((function(){var n,o,c=(n=t(a.mark((function t(){var n,o,c,u,p,v;return a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(t.prev=0,!h){t.next=7;break}return t.next=4,i(h);case 4:t.t0=t.sent,t.next=8;break;case 7:t.t0=[];case 8:n=t.t0,o=!l(n)&&JSON.parse(n[0].data.filters),c=!l(n)&&n[0].data.result&&JSON.parse(n[0].data.result),o&&c?(u=o.filterTabs.map((function(e,r){return{value:e.value,label:e.name,color:f[r]}})),p=[],v=u.reduce((function(e,t){var n=t.value,a=s(c[n].concat(h));return p=p.concat(a),O(O({},e),{},r({},n,a))}),{}),v=O(O({},v),{},r({},b,s(p))),w([{value:b,label:m}].concat(e(u))),k(v)):(w([{value:b,label:m}]),k(r({},b,[h]))),t.next=19;break;case 14:t.prev=14,t.t1=t.catch(0),console.error("offetwell selection fetch error: ",t.t1),w([]),k([]);case 19:case"end":return t.stop()}}),t,null,[[0,14]])}))),function(){return n.apply(this,arguments)}),y=(o=t(a.mark((function e(){var t,n,o;return a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,p(h);case 3:t=e.sent,n=u(t[0],"data.offset_wells")||[],o=r({},b,s(n.map((function(e){return e.id})).concat(h))),w([{value:b,label:m}]),k(o),e.next=15;break;case 10:e.prev=10,e.t0=e.catch(0),console.error("wellhub fetch error: ",e.t0),w([]),k([]);case 15:case"end":return e.stop()}}),e,null,[[0,10]])}))),function(){return o.apply(this,arguments)});h?v?c():y():(w([]),k([]))}),[v,h]),[j,g]};export{h as useBicWells};
|