@corva/ui 0.50.0-1 → 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/components/DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.d.ts.map +1 -1
- package/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.d.ts.map +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.d.ts +1 -5
- package/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.d.ts.map +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.d.ts.map +1 -1
- package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.d.ts.map +1 -1
- package/components/IconMenu/index.d.ts +3 -3
- package/components/Modal/CorvaModal.d.ts +28 -48
- package/components/Modal/CorvaModal.d.ts.map +1 -1
- package/components/Modal/DcCorvaModal.d.ts +2 -4
- package/components/Modal/DcCorvaModal.d.ts.map +1 -1
- package/components/Modal/Modal.d.ts +1 -1
- package/components/Modal/Modal.d.ts.map +1 -1
- package/components/Modal/types.d.ts +24 -0
- package/components/Modal/types.d.ts.map +1 -0
- package/components/{OffsetWellPickerV4/components/Map/MapView.d.ts → OffsetWellMap/OffsetWellMap.d.ts} +4 -7
- package/components/OffsetWellMap/OffsetWellMap.d.ts.map +1 -0
- package/components/{OffsetWellPickerV4/components/Map → OffsetWellMap}/WellTooltip.d.ts +0 -0
- package/components/OffsetWellMap/WellTooltip.d.ts.map +1 -0
- package/components/OffsetWellMap/effects/index.d.ts +2 -0
- package/components/OffsetWellMap/effects/index.d.ts.map +1 -0
- package/components/{OffsetWellPickerV4 → OffsetWellMap}/effects/usePreviousWells.d.ts +0 -0
- package/components/OffsetWellMap/effects/usePreviousWells.d.ts.map +1 -0
- package/components/OffsetWellMap/index.d.ts +2 -0
- package/components/OffsetWellMap/index.d.ts.map +1 -0
- package/components/{OffsetWellPickerV4/components/Map → OffsetWellMap}/utils.d.ts +0 -0
- package/components/OffsetWellMap/utils.d.ts.map +1 -0
- package/components/OffsetWellPickerV4/OffsetWellPickerV4.d.ts.map +1 -1
- package/components/OffsetWellPickerV4/components/Filter/Filter.d.ts +1 -3
- package/components/OffsetWellPickerV4/components/Filter/Filter.d.ts.map +1 -1
- package/components/OffsetWellPickerV4/components/Map/WellsMap.d.ts.map +1 -1
- package/components/OffsetWellPickerV4/effects/index.d.ts +0 -1
- package/components/OffsetWellPickerV4/utils/index.d.ts +2 -0
- package/components/OffsetWellPickerV4/utils/index.d.ts.map +1 -0
- package/components/SwitchControl/index.d.ts +1 -1
- package/components/Table/TableCell/TableCell.d.ts.map +1 -1
- package/components/Toaster/ToastContainer.d.ts +3 -0
- package/components/Toaster/ToastContainer.d.ts.map +1 -0
- package/components/Toaster/Toaster.d.ts +7 -0
- package/components/Toaster/Toaster.d.ts.map +1 -0
- package/components/Toaster/index.d.ts +3 -0
- package/components/Toaster/index.d.ts.map +1 -0
- package/components/TruncatedText/index.d.ts +15 -1
- package/components/TruncatedText/index.d.ts.map +1 -1
- package/components/index.d.ts +3 -1
- package/constants/completion.d.ts +1 -0
- package/constants/completion.d.ts.map +1 -1
- package/package.json +6 -5
- package/utils/devcenterToasts.d.ts +2 -0
- package/utils/devcenterToasts.d.ts.map +1 -0
- package/utils/index.d.ts +2 -1
- package/utils/index.d.ts.map +1 -1
- 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/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/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/MapView.d.ts.map +0 -1
- package/components/OffsetWellPickerV4/components/Map/MapView.js +0 -1
- package/components/OffsetWellPickerV4/components/Map/MapView.module.css.js +0 -1
- package/components/OffsetWellPickerV4/components/Map/WellTooltip.d.ts.map +0 -1
- package/components/OffsetWellPickerV4/components/Map/WellTooltip.js +0 -1
- package/components/OffsetWellPickerV4/components/Map/WellTooltip.module.css.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/Map/utils.d.ts.map +0 -1
- package/components/OffsetWellPickerV4/components/Map/utils.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/usePreviousWells.d.ts.map +0 -1
- package/components/OffsetWellPickerV4/effects/usePreviousWells.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/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/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
package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Map/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e from"@babel/runtime/helpers/slicedToArray";import{memo as o,useMemo as r}from"react";import l from"prop-types";import{makeStyles as s}from"@material-ui/core";import i from"./FormationsLegend.js";import t from"./popupGenerator.js";import{getAllFormations as a}from"./utils.js";import n from"./Map.js";import{jsxs as p,jsx as f}from"react/jsx-runtime";var d=s({mapContainerHidden:{marginTop:"20px",display:"none"}});function m(o){var l=o.open,s=o.subjectWell,m=o.wells,u=o.offsetWells,c=o.radius,W=o.mapHidden,b=o.isMobile,j=o.onAddOffsetWell,O=o.onDeleteOffsetWell,q=d(),R=r((function(){return a(m)}),[m]),h=e(R,2),y=h[0],H=h[1];return p("div",{className:W&&q.mapContainerHidden,children:[f(n,{open:l,subjectWell:s,wells:m,offsetWells:u,radius:c,formationColors:H,popUpFormatter:t(),coordsDataPath:"topHole.coordinates",onAddOffsetWell:j,onDeleteOffsetWell:O}),!b&&f(i,{formations:y,formationColors:H})]})}m.propTypes={open:l.bool.isRequired,subjectWell:l.shape({}),wells:l.arrayOf(l.shape({})).isRequired,offsetWells:l.arrayOf(l.shape({})).isRequired,radius:l.number,mapHidden:l.bool.isRequired,isMobile:l.bool.isRequired,onAddOffsetWell:l.func.isRequired,onDeleteOffsetWell:l.func.isRequired},m.defaultProps={subjectWell:null,radius:null};var u=o(m);export{u as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e from"moment";import{makeStyles as o}from"@material-ui/core";import{jsxs as l,jsx as t}from"react/jsx-runtime";var a=o({popup:{color:"#fff",fontFamily:"Roboto"},wellColor:{width:"9px",height:"9px",borderRadius:"50%",display:"inline-block",marginRight:"8px"},wellNameWrapper:{marginBottom:"8px"},wellName:{fontFamily:"Roboto",fontStyle:"normal",fontWeight:"normal",fontSize:"11px",lineHeight:"16px",letterSpacing:"0.4px",color:"#FFFFFF"},popupInfo:{fontFamily:"Roboto",fontStyle:"normal",fontWeight:"normal",fontSize:"11px",lineHeight:"16px",letterSpacing:"0.4px",color:"#BDBDBD"},popupFormation:{fontFamily:"Roboto",fontStyle:"normal",fontWeight:"normal",fontSize:"12px",lineHeight:"17px",letterSpacing:"0.4px",color:"#BDBDBD"}}),i=function(){return function(o){var i=o.well,r=o.color,n=a();return l("div",{className:n.popup,children:[t("div",{className:n.wellNameWrapper,children:t("span",{className:n.wellName,children:i.name})}),l("div",{className:n.popupInfo,children:["Well Depth:",Number.isFinite(i.rigReleaseDate)?"".concat(Math.floor(i.totalDepth)," ft"):"N/A"]}),l("div",{className:n.popupInfo,children:["Release Date:",Number.isFinite(i.rigReleaseDate)?e.unix(i.rigReleaseDate).format("MM/DD/YYYY"):"N/A"]}),l("div",{className:n.popupFormation,children:[t("div",{className:n.wellColor,style:{backgroundColor:r}}),i.formation]})]})}};export{i as default};
|
package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Map/utils.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import r from"@babel/runtime/helpers/defineProperty";import{get as e,sortBy as t}from"lodash";import{FORMATION_COLORS as n}from"../../constants.js";function o(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 c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))}))}return e}function i(o){var i=[],u=!1;o.forEach((function(r){"Null"===r.formation?u=!0:i.includes(e(r,"formation"))||i.push(e(r,"formation"))}));var f=t(i);u&&!f.includes("Null")&&f.push("Null");var p=f.reduce((function(e,t,o){return c(c({},e),{},r({},t,n[o%n.length]))}),{});return[f,p]}export{i as getAllFormations};
|
package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/AssetSearch.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e from"@babel/runtime/helpers/slicedToArray";import{memo as t,useState as o}from"react";import r from"prop-types";import{makeStyles as i,TextField as l,InputAdornment as a,Popover as n,Dialog as s,DialogTitle as c,Typography as p,DialogContent as m}from"@material-ui/core";import{Search as d,Close as h}from"@material-ui/icons";import f from"./AutoCompleteAssetSearch/AutoCompleteAssetSearch.js";import{jsxs as u,Fragment as b,jsx as x}from"react/jsx-runtime";var g=i((function(e){return{searchInput:{fontSize:"16px",width:"270px","&:hover":{"&::before":{borderBottom:"2px solid ".concat(e.palette.primary.text1," !important")}},"&:hover $searchIcon":{fill:"".concat(e.palette.primary.text1," !important")}},searchIcon:{fill:"".concat(e.palette.primary.text6," !important"),fontSize:"24px !important"},paper:{background:e.palette.background.b9,overflow:"hidden"},dialogTitle:{padding:"16px",height:"60px"},titleWrapper:{display:"flex",alignItems:"center",justifyContent:"space-between",fontSize:"20px"},title:{fontSize:"20px"},dialogContent:{display:"flex",width:"100%",height:"100%",flexFlow:"row wrap",alignContent:"flex-start",padding:0,justifyContent:"space-between",overflow:"hidden"},closeIcon:{color:e.palette.primary.text6}}}));function y(t){var r=t.company,i=t.onClickAsset,y=t.isTablet,C=t.isMobile,A=g(),v=o(null),w=e(v,2),I=w[0],S=w[1],T=function(){S(null)},k=function(e){var t=e.redirectAssetId;t&&(i(t),T())};return u(b,{children:[x(l,{type:"text",id:"well-section-search-textfield",placeholder:!y&&C?"Well/Rig Search":"Add to List by Well/Rig Search",InputProps:{startAdornment:x(a,{position:"start",children:x(d,{className:A.searchIcon})}),className:A.searchInput},onClick:function(e){S(e.currentTarget)}}),(y||!C)&&x(n,{open:Boolean(I),anchorEl:I,onClose:T,anchorOrigin:{vertical:"top",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"},children:x(f,{company:r,onClickAsset:k,onClose:T,isTablet:y,isMobile:C})}),!y&&C&&u(s,{fullScreen:!0,open:Boolean(I),classes:{paper:A.paper},children:[x(c,{className:A.dialogTitle,children:u("div",{className:A.titleWrapper,children:[x(p,{className:A.title,children:"Search"}),x(h,{className:A.closeIcon,onClick:T})]})}),x(m,{className:A.dialogContent,children:x(f,{company:r,onClickAsset:k,onClose:T,isTablet:y,isMobile:C})})]})]})}y.propTypes={company:r.number.isRequired,onClickAsset:r.func.isRequired,isTablet:r.bool.isRequired,isMobile:r.bool.isRequired};var C=t(y);export{C as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e from"@babel/runtime/helpers/slicedToArray";import{useRef as t,useState as o,useEffect as r}from"react";import i from"prop-types";import{get as a,isEmpty as s}from"lodash";import{makeStyles as n,List as l,ListItem as c,ListItemText as d,Typography as p}from"@material-ui/core";import{jsxs as u,jsx as m}from"react/jsx-runtime";var g=n((function(e){return{assetListWrapper:{height:"calc(100% - 110px)",margin:"8px 0 4px",flex:1},assetListContainer:{maxHeight:function(e){var t=e.isTablet,o=e.isMobile;return t||!o?"350px":"100% "},backgroundColor:e.palette.background.paper,position:"relative",overflowY:"auto",overFlowX:"hidden"},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"},topShadow:{top:function(e){return e.isMobile?"170px":"111px"},width:"100%",height:"16px",backgroundImage:"linear-gradient(0deg, rgba(65, 65, 65, 0) 0%, ".concat(e.palette.background.b9," 100%)"),position:"absolute",zIndex:2},bottomShadow:{width:"100%",height:"15px",backgroundImage:"linear-gradient(180deg, rgba(65, 65, 65, 0) 0%, ".concat(e.palette.background.b9," 100%)"),position:"absolute",bottom:"16px",zIndex:2}}})),h=function(i){var n=i.page,h=i.loading,b=i.groupedAssets,f=i.onClickAsset,x=i.onScrollReached,y=i.isTablet,S=i.isMobile,v=g({isTablet:y,isMobile:S}),T=t(null),R=o("top"),w=e(R,2),I=w[0],k=w[1];r((function(){h||("top"===I&&T.current.scrollTo(0,5),"bottom"===I&&T.current.scrollTo(0,T.current.scrollHeight-T.current.offsetHeight-5))}),[h]);return u("div",{className:v.assetListWrapper,children:[m("div",{className:v.topShadow,children:" "}),u(l,{className:v.assetListContainer,subheader:m("li",{}),onScroll:function(t){if(t.target.scrollHeight!==t.target.offsetHeight){var o=t.target.scrollTop+t.target.offsetHeight;Math.abs(t.target.scrollHeight-o)<1&&b.find((function(t){var o=e(t,2);return o[0],40===o[1].length}))&&(k("top"),x("bottom")),0===Math.round(t.target.scrollTop)&&n>1&&(k("bottom"),x("top"))}},ref:T,children:[b.map((function(t){var o=e(t,2),r=o[0],i=o[1];return m("li",{className:v.listSection,children:m("ul",{className:v.ul,children:i.map((function(e){return m(c,{"data-testid":"".concat("AssetResultSection","_item_").concat(e.name,"MenuItem"),button:!0,classes:{gutters:v.listGutters},disabled:!e.redirectAssetId,onClick:function(){return f(e)},children:m(d,{primary:e.name,classes:{root:v.assetItemTextRoot,primary:v.assetItemTextPrimary}})},"item-".concat(r,"-").concat(a(e,"asset_id")?a(e,"asset_id"):a(e,"id")))}))})},"section-".concat(r))})),!h&&s(b)&&m("div",{className:v.empty,children:"Your search did not match any Asset Name"})]}),h&&m(p,{"data-testid":"".concat("AssetResultSection","_loading"),className:v.loadingInfo,children:"Loading..."}),m("div",{className:v.bottomShadow,children:" "})]})};h.propTypes={page:i.number.isRequired,loading:i.bool.isRequired,groupedAssets:i.arrayOf([]).isRequired,onClickAsset:i.func.isRequired,onScrollReached:i.func.isRequired,isTablet:i.bool.isRequired,isMobile:i.bool.isRequired};export{h 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 l}from"react/jsx-runtime";var s=t({assetSelectorWrapper:{display:"flex",flexWrap:"wrap",gap:"8px"},description:{color:"#BDBDBD",fontSize:"12px",lineHeight:"17px",marginBottom:"8px"},assetTypeChip:{color:"#BDBDBD","&:last-child":{marginRight:"0px"}}}),n=function(r){var t=r.onClickAssetType,n=s();return p("div",{children:[l(i,{className:n.description,children:"I'm looking for..."}),l("div",{className:n.assetSelectorWrapper,children:o.map((function(r){var i=e(r,2),o=i[0],p=i[1];return l(a,{"data-testid":"".concat("AssetTypesSection","_chip_").concat(p.labelPlural),className:n.assetTypeChip,variant:"outlined",label:p.labelPlural,onClick:function(){return t(o)}},o)}))})]})};n.propTypes={onClickAssetType:r.func.isRequired};export{n as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e from"@babel/runtime/helpers/slicedToArray";import{useState as t,useRef as o}from"react";import r from"prop-types";import{withRouter as i}from"react-router";import n from"lodash/get";import{withStyles as l,Tooltip as a,makeStyles as s,Input as c,Chip as p}from"@material-ui/core";import u from"@material-ui/icons/Close";import d from"./AssetTypesSection.js";import m from"./AssetResultSection.js";import{useAssetsData as f}from"./effects/useAssetsData.js";import{SEARCH_CATEGORIES as h,CATEGORY_KEY_VALUES as x}from"./constants.js";import{jsxs as b,jsx as g}from"react/jsx-runtime";var y=l((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"}}}))(a),C=s((function(e){return{wrapper:{width:function(e){var t=e.isTablet,o=e.isMobile;return!t&&o?"100%":"472px"},height:function(e){var t=e.isTablet,o=e.isMobile;return!t&&o&&"100%"},display:"flex",flexDirection:"column",padding:"12px 16px"},inputWrapper:{display:"flex",width:"auto",marginBottom:"16px",alignItems:"center",flexWrap:"nowrap",justifyContent:"space-between"},selectedChip:{width:"fit-content",marginBottom:"10px",fontSize:"14px"},selectedChipDeleteIcon:{width:"16px",height:"16px",color:e.palette.primary.text6,"&:hover":{color:e.palette.primary.text1}},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"},deleteIcon:{color:e.palette.primary.text1,height:"16px"}}})),v=function(r){var i=r.onClickAsset,l=r.company,a=r.isTablet,s=r.isMobile,v=t(null),I=e(v,2),w=I[0],A=I[1],T=t(null),S=e(T,2),R=S[0],j=S[1],k=t(1),D=e(k,2),M=D[0],B=D[1],q=C({isTablet:a,isMobile:s}),z=o(),N=f(R,w,M,l),W=e(N,2),K=W[0],P=W[1];return b("div",{className:q.wrapper,children:[g("div",{className:q.inputWrapper,children:b("div",{className:q.searchInput,children:[g(c,{"data-testid":"".concat("AutoCompleteAssetSearch","_searchInput"),inputRef:z,autoFocus:!0,disableUnderline:!0,fullWidth:!0,value:R||"",placeholder:"Search ".concat(n(h,[w,"labelPlural"],"assets"),"..."),onChange:function(e){var t=e.target.value;j(t),B(1)},onKeyUp:function(t){var o=t.target.value,r=t.keyCode,i=x.find((function(t){var r=e(t,2);return r[0],r[1].autoCategorizedKey===o.trim().toLowerCase()}));if(i&&(13===r||32===r))return j(""),A(i[0]),void B(1);""===o&&8===r&&(A(null),B(1))}}),g(y,{title:"Clear",children:g(u,{className:w||R?q.selectedChipDeleteIcon:q.disabledIcon,onClick:function(){z.current.focus(),j(""),A(null),B(1)}})})]})}),w&&g(p,{"data-not-migrated-muichip":!0,classes:{root:q.selectedChip,deleteIcon:q.deleteIcon},color:"primary",label:n(h,[w,"labelPlural"],"Assets"),deleteIcon:g(u,{}),onDelete:function(){A(null),B(1)}}),!w&&!R&&g(d,{onClickAssetType:function(e){z.current.focus(),A(e),B(1)}}),(w||R)&&g(m,{loading:K,page:M,groupedAssets:P,onClickAsset:i,onScrollReached:function(e){"top"===e&&M>1&&B((function(e){return e-1})),"bottom"===e&&B((function(e){return e+1}))},isTablet:a,isMobile:s})]})};v.propTypes={company:r.number.isRequired,onClickAsset:r.func.isRequired,isTablet:r.bool.isRequired,isMobile:r.bool.isRequired};var I=i(v);export{I as default};
|
|
@@ -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},frac_fleet:{name:"frac_fleet",labelSingular:"Frac Fleet",labelPlural:"Frac Fleets",autoCategorizedKey:"frac fleet",isAssetType:!0},drillout_unit:{name:"drillout_unit",labelSingular:"Drillout unit",labelPlural:"Drillout Units",autoCategorizedKey:"drillout unit",isAssetType:!0},api_number:{name:"api_number",labelSingular:"API#",labelPlural:"API#",isAssetType:!1}};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 r from"@babel/runtime/helpers/asyncToGenerator";import e from"@babel/runtime/helpers/slicedToArray";import t from"@babel/runtime/regenerator";import{useState as o,useEffect as n,useMemo as a}from"react";import i from"lodash/debounce";import u from"lodash/groupBy";import s from"lodash/every";import{fetchAllAssets as c}from"../../../../../../utils/apiCalls.js";var p=i((function(r){r()}),500);function l(i,l,m,f){var v=o([]),b=e(v,2),d=b[0],h=b[1],y=o(!1),w=e(y,2),C=w[0],x=w[1];n((function(){function e(){return(e=r(t.mark((function r(){var e;return t.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,c(l,m,f);case 3:e=r.sent,h(e),x(!1),r.next=12;break;case 8:r.prev=8,r.t0=r.catch(0),console.error(r.t0),x(!1);case 12:case"end":return r.stop()}}),r,null,[[0,8]])})))).apply(this,arguments)}x(!0),p((function(){return e.apply(this,arguments)}))}),[l,m,f]);var L=a((function(){var r=d.filter((function(r){var e;return(!l||r.type===l)&&(function(r,e){var t=e.split(" ");return s(t,(function(e){return r.toLowerCase().includes(e||"")}))}(r.name,(i||"").toLowerCase())||(null===(e=r.apiNumber)||void 0===e?void 0:e.toLowerCase().includes((i||"").toLowerCase())))}));return Object.entries(u(r,"type"))}),[i,d,l]);return[C,L]}export{l as useAssetsData};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e from"@babel/runtime/helpers/slicedToArray";import{useState as t,useEffect as r}from"react";import o from"prop-types";import{withStyles as i,Menu as n,MenuItem as s,Checkbox as p,ListItemText as m}from"@material-ui/core";import a from"@material-ui/icons/Settings";import{isEqual as l}from"lodash";import{jsxs as d,Fragment as c,jsx as j}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/defineProperty";import"@babel/runtime/helpers/objectWithoutProperties";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"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 C 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"../../../../index.js";import"../../../../../OffsetWellChips/Chip.js";import"../../../../../OffsetWellChips/ChipsContainer.js";import"../../../../../OffsetWellPickerV4/OffsetWellPickerV4.js";import"../../../../../Notifications/Notifications.js";import"@babel/runtime/helpers/toConsumableArray";import"uuid";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 u,MAX_METRICS_COUNT as A}from"../../constants.js";function D(o){var i=o.metricsKeys,D=o.onChange,g=o.classes,b=t([]),v=e(b,2),h=v[0],f=v[1],P=t(null),x=e(P,2),S=x[0],T=x[1];r((function(){f(i)}),[i]);return d(c,{children:[j(C,{tooltipProps:{title:"Add Metric"},size:"small",onClick:function(e){T(e.currentTarget)},children:j(a,{size:"small"})}),j(n,{id:"simple-menu",anchorEl:S,getContentAnchorEl:null,anchorOrigin:{vertical:"top",horizontal:"right"},transformOrigin:{vertical:"bottom",horizontal:"right"},PaperProps:{style:{maxHeight:"300px",backgroundColor:"#414141"}},keepMounted:!0,open:Boolean(S),onClose:function(){T(null),l(h,i)||D(h)},children:u.map((function(e){return d(s,{disabled:h.length===A&&!h.includes(e.key),onClick:function(){return t=e.key,void(h.includes(t)?f((function(e){return e.filter((function(e){return e!==t}))})):f((function(e){return e.concat(t)})));var t},children:[j(p,{checked:h.includes(e.key),className:g.checkBox}),j(m,{primary:e.label,classes:{primary:g.listItemPrimaryText}})]},e.key)}))})]})}D.propTypes={metricsKeys:o.arrayOf(o.string).isRequired,onChange:o.func.isRequired,classes:o.shape({}).isRequired};var g=i({listItemPrimaryText:{color:"#fff",fontSize:"14px"},checkBox:{color:"grey",padding:"5px"}})(D);export{g as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e from"prop-types";import{withStyles as r,FormControl as t,Select as o,MenuItem as a,ListItemText as i}from"@material-ui/core";import{jsx as s}from"react/jsx-runtime";function l(e){var r=e.items,l=e.currentValue,n=e.onChange,m=e.classes;return s(t,{className:m.formControl,children:s(o,{className:m.select,MenuProps:{classes:{paper:m.paper}},autoWidth:!0,value:l,onChange:function(e){return n(e.target.value)},children:r.map((function(e){return s(a,{value:e.key,children:s(i,{primary:e.label,classes:{root:m.listItem,primary:m.listItemPrimaryText}})},e.key)}))})})}l.propTypes={items:e.array.isRequired,currentValue:e.string.isRequired,onChange:e.func.isRequired,classes:e.shape({}).isRequired};var n=r({select:{"&:before":{borderBottom:0},"&:after":{borderBottom:0}},formControl:{width:"150px"},listItem:{padding:0},listItemPrimaryText:{color:"#fff",fontSize:"14px",overflow:"hidden",textOverflow:"ellipsis"},paper:{backgroundColor:"#414141",maxHeight:"300px"}})(l);export{n as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{makeStyles as r}from"@material-ui/core";import{jsx as e}from"react/jsx-runtime";var t=r({subjectIndicator:{background:"#388e3c",borderRadius:"10px",padding:"4px",fontSize:"12px",marginLeft:"4px"}});function a(){var r=t();return e("div",{className:r.subjectIndicator,children:"Subject"})}export{a as default};
|
package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e from"@babel/runtime/helpers/defineProperty";import r from"@babel/runtime/helpers/toConsumableArray";import{AutoSizer as t,Table as i,Column as n}from"react-virtualized";import{SizeMe as l}from"react-sizeme";import{memo as o,useRef as s,useMemo as a}from"react";import{bool as c,shape as u,number as d,arrayOf as f,string as m,func as h}from"prop-types";import{isEqual as p,get as b,clone as y}from"lodash";import g from"moment";import v from"classnames";import{Typography as N,Checkbox as W,IconButton as k}from"@material-ui/core";import O from"@material-ui/icons/Sort";import j from"@material-ui/icons/NotInterested";import{getUnitDisplay as w,convertValue as C}from"../../../../../../utils/index.js";import R from"./SubjectIndicator.js";import q from"./MetricsAddMenu.js";import A from"./MetricsSelect.js";import{METRICS_LIST as M,TABLE_COLUMNS as D,SETTINGS_COLUMN as I,METRICS_KEYS as T}from"../../constants.js";import{useStyles as x}from"./styles.js";import P from"./AssetSearch.js";import{jsx as S,Fragment as K,jsxs as F}from"react/jsx-runtime";function L(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);r&&(i=i.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,i)}return t}function z(r){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?L(Object(i),!0).forEach((function(t){e(r,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(i)):L(Object(i)).forEach((function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(i,e))}))}return r}function _(e,r){var t,i=b(e,r);switch(r){case"distance":t=Number.isFinite(i)?parseFloat(i).toFixed(2):"N/A";break;case"rigReleaseDate":t=Number.isFinite(i)?g.unix(i).format("MM/DD/YYYY"):"N/A";break;default:t=i||""}return t}function B(l){var o=l.open,c=l.subjectWell,u=l.wells,d=l.offsetWells,f=l.metricsKeys,m=l.isMetricsLoading,h=l.sortInfo,g=l.unusableWellAlarm,L=l.dialogWidth,B=l.onChangeMetricsKeys,E=l.onAddOffsetWell,Y=l.onDeleteOffsetWell,H=l.onAddAllOffsetWells,G=l.onDeleteAllOffsetWells,V=l.onSorting,J=l.isTablet,Q=l.isMobile,U=l.companyId,X=x({isTablet:J,isMobile:Q}),Z=s(),$=a((function(){return u.filter((function(e){return e.is_usable}))}),[u]),ee=a((function(){var e=$.map((function(e){return e.id})).sort(),r=d.map((function(e){return e.id})).sort();return e.length&&p(e,r)}),[$,d]),re=a((function(){return f.reduce((function(e,r){return e.concat(M.filter((function(e){return e.key===r})))}),[])}),[f]),te=a((function(){return[].concat(r(D),r(re.map((function(e){return z(z({},e),{},{width:240})}))),[I])}),[re]),ie=a((function(){if(!L||L<=0)return{};var e={},r=[];return te.filter((function(e){return Number.isFinite(e.width)})).forEach((function(t){e[t.key]=t.width-1,r.push(t.width-1)})),te.filter((function(e){return!Number.isFinite(e.width)})).forEach((function(t){var i=r.reduce((function(e,r){return e+r}),0),n=Math.floor((L-i)/(te.length-r.length)),l=t.minWidth||200,o=n<l?l:n;e[t.key]=o-1,r.push(o-1)})),e}),[L,te]),ne=a((function(){var e;return(null===(e=Z.current)||void 0===e?void 0:e.clientWidth)>1004&&o?Z.current.clientWidth:1004}),[ie,Z.current,o]),le=function(e){B(e)},oe=function(e){e.target.checked?H():G()},se=function(r){return S(k,{"data-not-migrated-muiiconbutton":!0,className:X.sortIconButton,onClick:function(){return function(e){V(e)}(r)},children:r!==h.key?S(j,{className:X.sortIcon}):S(O,{className:v(X.sortIcon,e({},X.ascendingSortIcon,1===h.direction))})})},ae=function(e){var r,t=e.label,i=e.dataKey;if("name"===i)return F("div",{className:X.nameWrapper,children:[S(W,{classes:{checked:X.nameCheckBox,indeterminate:X.nameCheckBox},onClick:oe,checked:ee,indeterminate:d.length>0&&!ee,size:"small"}),S(N,{className:v(X.cell,X.nameCell),children:t}),se(i)]});if(f.includes(i)){var n=re.find((function(e){return e.key===i})),l=re.findIndex((function(e){return e.key===i}));return F("div",{className:X.metricsColumn,children:[S(A,{items:M,currentValue:i,onChange:(r=l,function(e){var t=y(f);t[r]=e,B(t)})}),S(N,{className:v(X.cell,X.unitCell),children:n.unitType?"(".concat(w(n.unitType,n.to),")"):""}),se(i)]})}return i===I.key?S("div",{className:X.settingsCell,children:S(q,{metricsKeys:f,onChange:le})}):F("div",{className:X.nameWrapper,children:[S(N,{className:X.cell,children:t}),se(i)]})},ce=function(r){var t=r.rowData,i=r.dataKey;if("name"===i)return F("div",{className:X.nameWrapper,children:[S(W,{color:"primary",checked:d.findIndex((function(e){return e.id===t.id}))>-1,onChange:function(e){return r=t.id,void(e.target.checked?E(r):Y(r));var r},size:"small",disabled:!t.is_usable}),S(N,{className:v(X.tableCellLabel,e({},X.tableCellLabelDisabled,!t.is_usable)),children:_(t,i)}),c&&t.id===c.id&&S(R,{})]});if(i===I.key)return S("div",{className:X.settingsCell,children:!t.is_usable&&S(N,{className:X.errorMsg,children:g})});var n=null;if(f.includes(i)){var l=re.find((function(e){return e.key===i}));n=function(e,r,t){var i=b(e,r.key);if(T.includes(r.key)){if(Number.isFinite(i)||i)return r.unitType?C(i,r.unitType,r.from,r.to):i;if(t)return"loading..."}return""}(t,l,m)}else n=_(t,i);return S(N,{className:v(X.cell,X.tableCellLabel,e({},X.tableCellLabelDisabled,!t.is_usable)),children:n})},ue=a((function(){return Math.min(48*u.length+44+52,2e3)}),[u]);return S(K,{children:F("div",{className:X.tableContainer,style:{height:ue},children:[F("div",{className:X.titleWrapper,children:[F(N,{variant:"body2",className:X.tableTitle,children:["Well Names (",d.length,")"]}),S("div",{className:X.addWellInput,children:S(P,{company:U,onClickAsset:function(e){E(e)},isTablet:J,isMobile:Q})})]}),S("div",{className:X.tableTopBorder,ref:Z,style:{width:!J&&Q&&ne}}),S(t,{children:function(){return S(i,{width:ne,height:ue,headerHeight:44,rowHeight:48,rowCount:u.length,rowGetter:function(e){var r=e.index;return u[r]},className:X.table,children:te.map((function(e){return S(n,{width:ie[e.key]||200,dataKey:e.key,label:e.label,headerRenderer:ae,cellRenderer:ce},e.key)}))})}})]})})}B.propTypes={open:c.isRequired,subjectWell:u({id:d}),wells:f(u({})).isRequired,offsetWells:f(u({})).isRequired,metricsKeys:f(m).isRequired,isMetricsLoading:c.isRequired,sortInfo:u({key:m.isRequired,direction:d.isRequired}).isRequired,onChangeMetricsKeys:h.isRequired,onAddOffsetWell:h.isRequired,onDeleteOffsetWell:h.isRequired,onAddAllOffsetWells:h.isRequired,onDeleteAllOffsetWells:h.isRequired,onSorting:h.isRequired,unusableWellAlarm:m.isRequired,dialogWidth:d,isMobile:c.isRequired,isTablet:c.isRequired,companyId:d.isRequired},B.defaultProps={subjectWell:null,dialogWidth:0};var E=o((function(e){return S(l,{monitorWidth:!0,children:function(r){var t=r.size;return S(B,z({dialogWidth:t.width},e))}})}));export{E as default};
|
package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/styles.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{makeStyles as e}from"@material-ui/core";var t=e((function(e){return{tableContainer:{marginTop:"22px",overflowX:"auto",overflowY:"hidden",position:"relative",minHeight:"150px"},titleWrapper:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:"15px",position:"sticky",left:0},tableTitle:{fontSize:"18px",fontWeight:400,lineHeight:"24px",color:e.palette.primary.text1},addWellInput:{width:function(e){var t=e.isTablet;return e.isMobile&&!t?"153px":"260px"}},tableTopBorder:{borderTop:"1px solid rgba(81, 81, 81, 1)"},table:{"& .ReactVirtualized__Table__headerRow":{textTransform:"none",borderBottom:e.isLightTheme?"1px solid rgba(224, 224, 224, 1)":"1px solid rgba(81, 81, 81, 1)"},"& .ReactVirtualized__Table__row":{borderBottom:e.isLightTheme?"1px solid rgba(224, 224, 224, 1)":"1px solid rgba(81, 81, 81, 1)","&:hover":{backgroundColor:"rgba(255, 255, 255, 0.03)"}},"& .ReactVirtualized__Table__Grid":{outline:"none"},"& .ReactVirtualized__Table__headerColumn":{outline:"none"}},cell:{color:"rgba(255, 255, 255, 0.54)",padding:"5px 10px",fontSize:"12px",whiteSpace:"nowrap"},nameWrapper:{display:"flex",alignItems:"center"},nameCell:{padding:0},unitCell:{padding:0},settingsCell:{textAlign:"right"},sortIconButton:{padding:"8px","&:hover $sortIcon":{color:"#fff"}},ascendingSortIcon:{transform:"scaleY(-1)"},sortIcon:{fontSize:"14px",color:"#BDBDBD"},metricsColumn:{display:"flex",alignItems:"center"},tableCellLabel:{fontSize:"0.90rem",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",color:"#fff"},tableCellLabelDisabled:{color:"#C4C4C4"},errorMsg:{color:"#C4C4C4",fontStyle:"italic",fontSize:"14px",padding:"0 16px",whiteSpace:"nowrap"}}}));export{t as useStyles};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e from"@babel/runtime/helpers/toConsumableArray";import{sortBy as t}from"lodash";import"../../../../utils/index.js";import*as r from"../../../../utils/metrics/metricsConfig.js";var i=r,n={formation:"formation",stringDesign:"stringDesign",program:"programName",basin:"basin",county:"county",area:"area",status:"status"},a=[{key:n.status,title:"Status",size:150,renderValue:function(e){return 0===e?"All":"".concat(e," Status")}},{key:n.program,title:"Program",size:150,renderValue:function(e){return 0===e?"All":"".concat(e," Programs")}},{key:n.basin,title:"Basin",size:150,renderValue:function(e){return 0===e?"All":"".concat(e," Basins")}},{key:n.county,title:"County",size:150,renderValue:function(e){return 0===e?"All":"".concat(e," Counties")}},{key:n.area,title:"Area",size:150,renderValue:function(e){return 0===e?"All":"".concat(e," Areas")}},{key:n.formation,title:"Target Formation",size:150,renderValue:function(e){return 0===e?"All":"".concat(e," Formations")}},{key:n.stringDesign,title:"String Design",size:150,renderValue:function(e){return 0===e?"All":"".concat(e," Designs")}}],o=t([i.weight_to_weight_average,i.bottom_to_slips_average,i.drilling_connection_average,i.slips_to_bottom_average,i.hole_depth,i.hole_depth_change,i.drilled_feet_rotary,i.drilled_feet_slide,i.rop_gross,i.rop,i.rop_rotary,i.rop_slide,i.drilled_feet_rotary_percentage,i.drilled_feet_slide_percentage,i.on_bottom_percentage,i.on_bottom_time,i.cost_per_ft,i.cost_per_lat_ft,i.feet_per_day,i.tripping_in_speed_cased,i.tripping_in_speed_open,i.tripping_in_speed,i.tripping_out_speed_cased,i.tripping_out_speed_open,i.tripping_out_speed].concat(e("production"!==process.env.REACT_APP_ENVIRONMENT?[i.npt,i.circulating_time,i.spud_to_rig_release_time,i.spud_to_total_depth_time]:[])),"label"),s=o.map((function(e){return e.key})),l=[{label:"Well Name",key:"name",minWidth:250},{label:"Rig",key:"rigName",width:200},{label:"Distance",key:"distance",width:120},{label:"Rig Release Date",key:"rigReleaseDate",width:150}],_={key:"settings",label:"settings",width:100},p=2,c=["#FF00FF","#F5BD80","#FF0000","#0080FF","#FF8000","#58ACFA","#FA58F4","#40FF00","#4B8A08","#40FF00","#D8F781"],u={radius:5,filters:{},sortInfo:{key:"name",direction:1}};export{u as DEFAULT_SETTINGS,n as FILTERS,a as FILTERS_LIST,c as FORMATION_COLORS,p as MAX_METRICS_COUNT,s as METRICS_KEYS,o as METRICS_LIST,_ as SETTINGS_COLUMN,l as TABLE_COLUMNS};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import r from"@babel/runtime/helpers/defineProperty";import e from"@babel/runtime/helpers/slicedToArray";import{useState as t,useEffect as n}from"react";import{sortBy as o,uniqBy as c}from"lodash";import{FILTERS as u}from"../constants.js";function i(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 f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))}))}return e}var l=Object.values(u);function p(u,i){var p=t({}),a=e(p,2),s=a[0],b=a[1];return n((function(){i&&b(l.reduce((function(e,t){return f(f({},e),{},r({},t,function(r,e,t,n){var u=e.reduce((function(r,e){return r.filter((function(r){return!t[e]||0===t[e].length||t[e].includes(r[e])}))}),n),i=o(c(u.map((function(e){return e[r]}))));return i.includes("Null")?i.filter((function(r){return"Null"!==r})).concat("Null"):i}(t,l.filter((function(r){return r!==t})),u,i)))}),{}))}),[u,i]),s}export{p as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import t from"@babel/runtime/helpers/defineProperty";import n from"@babel/runtime/helpers/asyncToGenerator";import r from"@babel/runtime/helpers/slicedToArray";import e from"@babel/runtime/regenerator";import{useRef as o,useEffect as i,useState as s}from"react";import{get as c}from"lodash";import{mapbox as u}from"../../../../../utils/index.js";import{BENCHMARK_METRIC_GOAL as a}from"../../../../../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{fetchCompanyGoals as f,fetchWells as l,fetchMetricsData as p}from"../../../utils/apiCalls.js";import{FILTERS as m,METRICS_KEYS as h}from"../constants.js";export{default as useBidirectionalFiltering}from"./biDirectionalFiltering.js";import{getCompanyGoalSetting as v}from"../../../../../utils/goals.js";function d(t,n){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(t);n&&(e=e.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),r.push.apply(r,e)}return r}function b(n){for(var r=1;r<arguments.length;r++){var e=null!=arguments[r]?arguments[r]:{};r%2?d(Object(e),!0).forEach((function(r){t(n,r,e[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(e)):d(Object(e)).forEach((function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(e,t))}))}return n}var j=u.getAssetV2Coordinates,y=u.getDistanceByCoordinates;function g(t){var n=o();return i((function(){n.current=t})),n.current}function O(t){var o=s(null),c=r(o,2),u=c[0],l=c[1];return i((function(){function r(){return(r=n(e.mark((function n(){var r,o;return e.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,f(t);case 2:r=n.sent,o=v(r,a),l(o);case 5:case"end":return n.stop()}}),n)})))).apply(this,arguments)}l(null),function(){r.apply(this,arguments)}()}),[t]),u}function w(t,o){var c=s(null),u=r(c,2),a=u[0],f=u[1];return i((function(){function r(){return(r=n(e.mark((function n(){var r;return e.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!t){n.next=6;break}return n.next=3,l(t,o);case 3:n.t0=n.sent,n.next=7;break;case 6:n.t0=null;case 7:r=n.t0,f(r);case 9:case"end":return n.stop()}}),n)})))).apply(this,arguments)}f(null),function(){r.apply(this,arguments)}()}),[t]),a}function x(t,n,e){var o=s(null),c=r(o,2),u=c[0],a=c[1],f=/\sST0/g;return i((function(){if(e){var r=Object.values(m).reduce((function(n,r){return n.filter((function(n){return e=n[r],!(o=t[r])||0===o.length||o.includes(e);var e,o}))}),e).filter((function(t){return n&&!t.name.match(f)||!n}));a(r)}else a(null)}),[e,t,n]),u}function E(t,n){var e=s(null),o=r(e,2),c=o[0],u=o[1];return i((function(){if(t){var r=n&&j(n,"topHole");if(r){var e=[];t.forEach((function(t){var n=j(t,"topHole");if(n){var o=parseFloat(y(r,n));e.push(b(b({},t),{},{distance:o}))}else e.push(t)})),u(e)}else u(t)}else u(t)}),[t,n]),c}function P(t,n,e){var o=s(null),c=r(o,2),u=c[0],a=c[1];return i((function(){if(n){var t=[];n.forEach((function(n){e.includes(n.id)&&n.is_usable&&t.push(n)})),a(t)}else a(null)}),[t,n,e]),u}function k(t,u){var a=o({}),f=s(!0),l=r(f,2),m=l[0],v=l[1],d=s(null),j=r(d,2),y=j[0],g=j[1];return i((function(){function r(){return(r=n(e.mark((function n(r){var o,i,s;return e.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,p(t,r);case 2:o=n.sent,i={},r.forEach((function(t){var n={},r=o.filter((function(n){return c(n,"asset_id")===t}));h.forEach((function(t){var e=r.find((function(n){return c(n,"data.key")===t})),o=c(e,"data.value");n[t]=Number.isFinite(o)?parseFloat(o).toFixed(2):null})),i[t]=n})),a.current=b(b({},a.current),i),s=[],u.forEach((function(t){s.push(b(b({},t),a.current[t.id]))})),v(!1),g(s);case 10:case"end":return n.stop()}}),n)})))).apply(this,arguments)}if(u)if(0!==u.length){var o=[];u.forEach((function(t){a.current[t.id]||o.push(t.id)})),v(!0),function(t){r.apply(this,arguments)}(o)}else g([]);else g(null)}),[u]),[m,y]}function D(t,n,r){var e=o(!1);i((function(){if(n){if(e.current){var o=[];n.forEach((function(n){n.distance<=t&&o.push(n.id)})),r(o)}e.current=!0}}),[t,n])}export{O as useCompanyMetricKey,x as useFilteredWells,k as useMetricsData,P as useOffsetWells,g as usePrevious,D as useRadiusWells,w as useWells,E as useWellsWithCoords};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e from"@babel/runtime/helpers/defineProperty";import t from"@babel/runtime/helpers/slicedToArray";import{memo as r,useMemo as o,useState as i,useRef as n,useEffect as s,useCallback as p}from"react";import{bool as a,number as l,shape as m,func as d,string as c}from"prop-types";import u from"classnames";import{get as j,orderBy as C,uniq as f}from"lodash";import{makeStyles as b}from"@material-ui/core";import{jsx as A,jsxs as g,Fragment 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"@babel/runtime/helpers/objectWithoutProperties";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"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 v 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"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"../../index.js";import"../../../OffsetWellChips/Chip.js";import"../../../OffsetWellChips/ChipsContainer.js";import"../../../OffsetWellPickerV4/OffsetWellPickerV4.js";import"../../../Notifications/Notifications.js";import"@babel/runtime/helpers/toConsumableArray";import"uuid";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 S from"./components/Filter/index.js";import P from"./components/Map/index.js";import h from"./components/Table/index.js";import{useWells as I,useCompanyMetricKey as x,useFilteredWells as T,useWellsWithCoords as y,useRadiusWells as W,useOffsetWells as E,useMetricsData as O}from"./effects/index.js";import{DEFAULT_SETTINGS as B}from"./constants.js";import F from"./effects/biDirectionalFiltering.js";function k(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 L(t){for(var r=1;r<arguments.length;r++){var o=null!=arguments[r]?arguments[r]:{};r%2?k(Object(o),!0).forEach((function(r){e(t,r,o[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):k(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}var H=b({customSelectionContainer:{overflow:"auto","&::-webkit-scrollbar-corner":{background:"rgba(0, 0, 0, 0)"}},containerHidden:{display:"none"},loadingWrapper:{display:"flex",alignItems:"center",height:"550px"}});function R(r){var a=r.open,l=r.defaultSubjectWellId,m=r.companyId,d=r.userSettings,c=r.currentUser,b=r.addWellsUsabilityInfo,k=r.unusableWellAlarm,R=r.mapHidden,w=r.filtersHidden,M=r.setSelectedOffsetWells,V=r.setFilterChanged,q=r.onSave,N=r.isMobile,U=r.isTablet,Z=r.onToggleFilters,z=r.isClearFilters,K=r.setIsClearFilters,_=H(),G=o((function(){return m||j(d,"companyId")||+j(c,"company_id")}),[d]),J=o((function(){return j(d,"subjectWellId")||l}),[d]),Q=i(j(d,"filters")||B.filters),X=t(Q,2),Y=X[0],$=X[1],ee=i(j(d,"radius")||B.radius),te=t(ee,2),re=te[0],oe=te[1],ie=i(j(d,"excludeSideTrack")),ne=t(ie,2),se=ne[0],pe=ne[1],ae=i([]),le=t(ae,2),me=le[0],de=le[1],ce=i(B.sortInfo),ue=t(ce,2),je=ue[0],Ce=ue[1],fe=i([]),be=t(fe,2),Ae=be[0],ge=be[1],De=n();s((function(){a&&De.current&&De.current.scrollTo({top:0})}),[a]),s((function(){ge(j(d,"customWellIds")||[])}),[d]);var ve=o((function(){return!!J}),[J]),Se=I(G,b),Pe=x(G);s((function(){de((function(e){return Pe?[Pe]:e}))}),[Pe]);var he=F(Y,Se),Ie=T(Y,se,Se),xe=o((function(){return Se&&J?Se.find((function(e){return e.id===J})):null}),[Se,J]),Te=y(Ie,xe);W(re,Te,ge);var ye=E(re,Se,Ae);s((function(){ye&&a&&M(ye)}),[ye,a]);var We=O(G,Te),Ee=t(We,2),Oe=Ee[0],Be=Ee[1];s((function(){V(!0)}),[Y,re,se,Ae,J,je]);var Fe=o((function(){return Be?C(Be,je.key,1===je.direction?"asc":"desc"):Be}),[je,Be]),ke=p((function(e){var t=Ie.find((function(t){return t.id===e}));t&&t.is_usable&&ge(f(Ae.concat(e)))}),[Ae,Ie]),Le=p((function(e){ge(f(Ae.filter((function(t){return t!==e}))))}),[Ae]),He=p((function(){ge(Ie.filter((function(e){return e.is_usable})).map((function(e){return e.id})))}),[Ie]),Re=p((function(){ge([])}),[Ie]),we=p((function(e){oe(e)}),[]),Me=p((function(e){pe(e)}),[]),Ve=p((function(t,r){$((function(o){return L(L({},o),{},e({},t,r))})),ge([])}),[]),qe=p((function(){$(L({},B.filters)),oe(B.radius),pe(!1),ge([])}),[]);s((function(){z&&(qe(),K(!1))}),[z]);var Ne=p((function(e){de(e)}),[]),Ue=p((function(e){Ce((function(t){return t.key===e?L(L({},t),{},{direction:-1*t.direction}):{key:e,direction:1}}))}),[]);s((function(){q({subjectWellId:J,radius:re,excludeSideTrack:se,filters:Y})}),[J,re,se,Y]);var Ze=!(Se&&Ie&&Te&&Be&&ye&&Fe);return A("div",{className:u(_.customSelectionContainer,e({},_.containerHidden,!a)),ref:De,children:Ze?A("div",{className:_.loadingWrapper,children:A(v,{fullscreen:!1})}):g(D,{children:[A(S,{radius:re,excludeSideTrack:se||!1,filters:Y,filtersOptions:he,isRadiusEditable:ve,filtersHidden:w,onChangeRadius:we,onChangeSidetrack:Me,onChangeFilters:Ve,onClearFilters:qe,isTablet:U,isMobile:N,onToggleFilters:Z}),A(P,{open:a,subjectWell:xe,wells:Ie,offsetWells:ye,radius:re,mapHidden:R,isMobile:N,onAddOffsetWell:ke,onDeleteOffsetWell:Le}),A(h,{open:a,subjectWell:xe,wells:Fe,offsetWells:ye,metricsKeys:me,sortInfo:je,isMetricsLoading:Oe,unusableWellAlarm:k,onChangeMetricsKeys:Ne,onSorting:Ue,onAddOffsetWell:ke,onDeleteOffsetWell:Le,onAddAllOffsetWells:He,onDeleteAllOffsetWells:Re,isMobile:N,isTablet:U,companyId:m})]})})}R.propTypes={open:a.isRequired,defaultSubjectWellId:l,companyId:l,userSettings:m({}).isRequired,currentUser:m({}).isRequired,addWellsUsabilityInfo:d,unusableWellAlarm:c,mapHidden:a.isRequired,filtersHidden:a.isRequired,setSelectedOffsetWells:d.isRequired,setFilterChanged:d.isRequired,onSave:d.isRequired,isMobile:a.isRequired,isTablet:a.isRequired,onToggleFilters:d.isRequired,isClearFilters:a.isRequired,setIsClearFilters:d.isRequired},R.defaultProps={defaultSubjectWellId:null,companyId:null,addWellsUsabilityInfo:null,unusableWellAlarm:"Unable to add"};var w=r(R);export{w as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e from"@babel/runtime/helpers/defineProperty";import t from"@babel/runtime/helpers/toConsumableArray";import r from"@babel/runtime/helpers/typeof";import o from"@babel/runtime/helpers/slicedToArray";import{memo as i,useState as n,useCallback as s,useEffect as p,useMemo as a}from"react";import m from"prop-types";import l from"classnames";import{union as d,get as c}from"lodash";import{makeStyles as j,Table as u}from"@material-ui/core";import{jsx as C,jsxs 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"@babel/runtime/helpers/objectWithoutProperties";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"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 b 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"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"../../index.js";import"../../../OffsetWellChips/Chip.js";import"../../../OffsetWellChips/ChipsContainer.js";import"../../../OffsetWellPickerV4/OffsetWellPickerV4.js";import"../../../Notifications/Notifications.js";import"uuid";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{useWells as v,useFetchBicWellsData as A}from"../../effects/index.js";import{ALL_KEY as D,FILTER_BASEDON_TYPE as g,WELL_NAME_KEY as h,DEFAULT_WELL_SECTIONS as P}from"../../constants.js";import S from"../shared/OffsetWellTableHead.js";import x from"../shared/OffsetWellTableRows.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 y(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=j({offsetwellContainer:{position:"relative",flex:1,overflow:"auto","&::-webkit-scrollbar-corner":{background:"rgba(0, 0, 0, 0)"},display:"inline-block"},containerHidden:{display:"none"},loadingWrapper:{display:"flex",alignItems:"center",height:"550px"}});function E(i){var m=i.open,j=i.companyId,T=i.subjectWellId,E=i.filterBasedOn,B=i.setSectionOptions,O=i.selectedSection,W=i.setSelectedOffsetWells,w=i.isTablet,k=i.isMobile,L=I({isTablet:w,isMobile:k}),F=v(j),M=A(T),V=n([]),R=o(V,2),H=R[0],q=R[1],N=s((function(e){return"well"===e.name?"Entire Well":"section"===e.filterMode?"".concat(e.name):"".concat(e.name," in")}),[]);p((function(){if(F){var e,t=function(e,t){var r=e.find((function(e){return e.id===t}));return c(r,h)||"-"};if(M&&M.filters&&M.result){var o,i,n=(null==M||null===(o=M.filters)||void 0===o?void 0:o.filterTabs)||[],s=null==M||null===(i=M.filters)||void 0===i?void 0:i.filterMode;e=n.map((function(e){var o;return{id:e.value,name:e.value,filterMode:s,wells:(null===(o=M.result[e.value])||void 0===o?void 0:o.filter((function(e){return F.find((function(t){return t.id===e}))})).map((function(e){var o="object"===r(e)?e.id:e;return{id:o,name:t(F,o)}})))||[]}}))}else e=P;q(e);var p=[{id:D,name:"All"}];e.forEach((function(e){p.push({id:e.id,name:N(e)})})),B(p)}}),[F,M]);var z=a((function(){var r=H.reduce((function(e,t){return d(e,t.wells)}),[]).reduce((function(e,r){return e.find((function(e){return e.id===r.id}))?e:[].concat(t(e),[{id:r.id,name:r.name}])}),[]),o=[],i=H.filter((function(e){return O===D||O===e.id}));E===g.entireWell?o.push({id:"All Wells",numeric:!0,label:"All Wells (".concat(r.length,")")}):i.forEach((function(e){o.push({id:e.name,numeric:!0,label:"".concat(N(e)," (").concat(e.wells.length,")")})}));var n=[];return r.forEach((function(t){var r=o.reduce((function(r,o){return E===g.entireWell||i.find((function(e){return e.name===o.id})).wells.find((function(e){return t.name===e.name}))?y(y({},r),{},e({},o.id,1)):O===D?y(y({},r),{},e({},o.id,0)):null}),{id:t.id,name:t.name});r&&n.push(r)})),o.unshift({id:h,numeric:!1,label:"Well Names (".concat(n.length,")")}),[o,n]}),[H,O]),Z=o(z,2),G=Z[0],U=Z[1];p((function(){if(m){var e=U.map((function(e){return{id:e.id}}));W(e)}}),[m,U]);var K=n("asc"),J=o(K,2),Q=J[0],X=J[1],Y=n(h),$=o(Y,2),_=$[0],ee=$[1],te=!F;return C("div",{className:l(L.offsetwellContainer,e({},L.containerHidden,!m)),children:te?C("div",{className:L.loadingWrapper,children:C(b,{fullscreen:!1})}):f(u,{size:"small",style:{borderCollapse:"separate"},children:[C(S,{headCells:G,order:Q,orderBy:_,onRequestSort:function(e,t){X(_===t&&"asc"===Q?"desc":"asc"),ee(t)},isTablet:w,isMobile:k,rowNum:U.length}),C(x,{rows:U,headCells:G.slice(1),order:Q,orderBy:_,isTablet:w,isMobile:k})]})})}E.propTypes={open:m.bool.isRequired,companyId:m.number.isRequired,subjectWellId:m.number.isRequired,filterBasedOn:m.string.isRequired,setSectionOptions:m.func.isRequired,selectedSection:m.any.isRequired,setSelectedOffsetWells:m.func.isRequired,isTablet:m.bool.isRequired,isMobile:m.bool.isRequired};var B=i(E);export{B as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{memo as e}from"react";import t from"prop-types";import{makeStyles as o}from"@material-ui/core";import{jsx as r,jsxs as i}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/defineProperty";import"@babel/runtime/helpers/objectWithoutProperties";import"@babel/runtime/helpers/slicedToArray";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"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"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 n 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"../../index.js";import"../../../OffsetWellChips/Chip.js";import"../../../OffsetWellChips/ChipsContainer.js";import"../../../OffsetWellPickerV4/OffsetWellPickerV4.js";import"../../../Notifications/Notifications.js";import"@babel/runtime/helpers/toConsumableArray";import"uuid";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 s from'./../../../../ext-esm/@material-ui/icons/esm/Map.js';import p from'./../../../../ext-esm/@material-ui/icons/esm/UnfoldMore.js';import m from'./../../../../ext-esm/@material-ui/icons/esm/UnfoldLess.js';var a=o({iconButtonWrapper:{marginTop:5,width:"40px"},mapExpandIconGroup:{display:"flex",flexDirection:"column",height:"26px",width:"26px",alignItems:"center",justifyContent:"center"}}),l=function(e){var t=e.mapHidden,o=e.onToggleMap,l=e.isMobile,d=a();return r("div",{className:d.iconButtonWrapper,children:r(n,{size:"small",variant:"contained",tooltipProps:l?{title:""}:{title:t?"Expand Map":"Collapse Map"},onClick:function(){o()},children:i("div",{className:d.mapExpandIconGroup,children:[r(s,{fontSize:"inherit"}),r(t?p:m,{fontSize:"inherit"})]})})})};l.propTypes={mapHidden:t.bool.isRequired,onToggleMap:t.func.isRequired,isMobile:t.bool.isRequired};var d=e(l);export{d as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{useMemo as e}from"react";import t from"prop-types";import{isEmpty as r,get as i}from"lodash";import o from"classnames";import{makeStyles as n,Typography as s,MenuItem as p,Tooltip as a,Chip as l}from"@material-ui/core";import{ToggleButtonGroup as m,ToggleButton as c}from"@material-ui/lab";import d from"@material-ui/icons/FilterList";import u from"@material-ui/icons/Sort";import j from"@material-ui/icons/Close";import{jsxs as C,jsx as b}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/defineProperty";import"@babel/runtime/helpers/objectWithoutProperties";import"@babel/runtime/helpers/slicedToArray";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"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"../../../IconButton/index.js";import"../../../TextField/index.js";import"../../../Chip/index.js";import"../../../Counter/index.js";import"../../../AnchorsList/AnchorsList.js";import f from"../../../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"../../index.js";import"../../../OffsetWellChips/Chip.js";import"../../../OffsetWellChips/ChipsContainer.js";import"../../../OffsetWellPickerV4/OffsetWellPickerV4.js";import"../../../Notifications/Notifications.js";import"@babel/runtime/helpers/toConsumableArray";import"uuid";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{DATA_SOURCE_TYPE as g,SELECTION_TAB_TYPE as A,SELECTION_TABS_LABEL as x,FILTER_BASEDON_TYPE as v}from"../../constants.js";import D from"./ToggleMapButton.js";import{DEFAULT_SETTINGS as S}from"../CustomSelectionView/constants.js";var h=n((function(e){return{tabSelectionWrapper:{display:"flex",justifyContent:"space-between",paddingTop:"12px",flexDirection:function(e){var t=e.isTablet,r=e.isMobile;return!t&&r&&"column"},gap:function(e){var t=e.isTablet,r=e.isMobile;return!t&&r&&"12px"},marginBottom:function(e){var t=e.isMobile,r=e.isTablet;return t&&!r?"16px":"24px"}},toggleButton:{width:function(e){var t=e.isTablet,r=e.isMobile;return t?"160px":r?"100%":"215px"},padding:function(e){return e.isMobile&&"0px !important"}},toggleLabel:{marginTop:"2px"},wellSections:{fontSize:"12px",color:e.palette.primary.text6,marginRight:"16px"},actionWrapper:{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-evenly"},customAction:{justifyContent:"space-between"},filterWrapper:{display:"flex",flexDirection:"row",alignItems:"center",marginRight:function(e){var t=e.isMobile,r=e.isTablet;return t&&!r?"0px":"16px"},padding:"5px 8px",cursor:"pointer",color:e.palette.primary.text6,"&:hover":{background:e.palette.background.b7,boxShadow:"0px 2px 4px rgba(0, 0, 0, 0.16)",borderRadius:"4px",color:e.palette.primary.text1}},filters:{fontSize:"13px",fontWeight:500,letterSpacing:"1px"},selectComponent:{maxWidth:240,minWidth:60},filterContainer:{display:"flex",alignItems:"center"},selectedChip:{background:"".concat(e.palette.background.b7," !important")},chipLabel:{color:"".concat(e.palette.primary.text6," !important")}}}));function T(t){var n=t.dataSource,T=t.filterBasedOn,P=t.selectedTab,y=t.setSelectedTab,I=t.sectionOptions,B=t.selectedSection,E=t.setSelectedSection,k=t.mapHidden,F=t.onToggleMap,W=t.filtersHidden,L=t.onToggleFilters,M=t.isTablet,R=t.isMobile,w=t.customFilters,V=t.setIsClearFilters,H=h({isTablet:M,isMobile:R}),O=e((function(){return n===g.offsetWellSelectionApp?[{key:A.bic,label:x.offsetWell},{key:A.custom,label:x.custom}]:[{key:A.bic,label:x.wellhub},{key:A.custom,label:x.custom}]}),[n]),q=e((function(){return r(w)?0:Object.keys(i(w,"filters")).length+(i(w,"excludeSideTrack")?1:0)+(i(w,"radius")!==S.radius?1:0)}),[w]);return C("div",{className:H.tabSelectionWrapper,children:[b(m,{value:P,onChange:function(e,t){t&&y(t)},size:"medium",exclusive:!0,children:O.map((function(e){var t=e.key,r=e.label;return b(c,{value:t,className:H.toggleButton,classes:{label:H.toggleLabel},children:r},"tab-selection-".concat(t))}))}),P===A.bic&&n===g.offsetWellSelectionApp&&T===v.wellSections&&C("div",{className:H.actionWrapper,children:[b(s,{className:H.wellSections,children:"Well Section:"}),b(f,{disableUnderline:!0,value:B,className:H.selectComponent,onChange:function(e){E(e.target.value)},FormControlProps:{variant:"standard"},children:I.map((function(e){return b(p,{value:e.id,children:e.name},e.id)}))})]}),P===A.custom&&C("div",{className:o(H.actionWrapper,H.customAction),children:[C("div",{className:H.filterContainer,children:[b(a,{title:W?"Expand Filters":"Collapse Filters",children:C("div",{className:H.filterWrapper,onClick:function(){L((function(e){return!e}))},children:[b(W||!M&&R?d:u,{}),b(s,{className:H.filters,children:"FILTERS"})]})}),!M&&R&&b(l,{classes:{root:H.selectedChip,labelSmall:H.chipLabel,deleteIcon:H.chipLabel},size:"small",label:q,deleteIcon:b(j,{}),onDelete:function(){return V(!0)}})]}),b(D,{mapHidden:k,onToggleMap:function(){F((function(e){return!e}))},isMobile:R})]})]})}T.propTypes={dataSource:t.string.isRequired,filterBasedOn:t.string.isRequired,selectedTab:t.string.isRequired,setSelectedTab:t.func.isRequired,sectionOptions:t.arrayOf(t.shape({})).isRequired,selectedSection:t.any.isRequired,setSelectedSection:t.func.isRequired,mapHidden:t.bool.isRequired,onToggleMap:t.func.isRequired,filtersHidden:t.bool.isRequired,onToggleFilters:t.func.isRequired,isTablet:t.bool.isRequired,isMobile:t.bool.isRequired,customFilters:t.shape({}).isRequired,setIsClearFilters:t.func.isRequired};export{T as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e from"@babel/runtime/helpers/defineProperty";import t from"@babel/runtime/helpers/slicedToArray";import{memo as r,useMemo as o,useEffect as i,useState as n}from"react";import s from"prop-types";import p from"classnames";import{makeStyles as a,Table as m}from"@material-ui/core";import{jsx as l,jsxs 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"@babel/runtime/helpers/objectWithoutProperties";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"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 c 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"../../index.js";import"../../../OffsetWellChips/Chip.js";import"../../../OffsetWellChips/ChipsContainer.js";import"../../../OffsetWellPickerV4/OffsetWellPickerV4.js";import"../../../Notifications/Notifications.js";import"@babel/runtime/helpers/toConsumableArray";import"uuid";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{useFetchWellhubWells as j}from"../../effects/index.js";import C from"../shared/OffsetWellTableHead.js";import u from"../shared/OffsetWellTableRows.js";import{WELL_NAME_KEY as b}from"../../constants.js";function A(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 f(t){for(var r=1;r<arguments.length;r++){var o=null!=arguments[r]?arguments[r]:{};r%2?A(Object(o),!0).forEach((function(r){e(t,r,o[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):A(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}var D=a({wellhubContainer:{flex:1,marginTop:function(e){var t=e.isTablet,r=e.isMobile;return!t&&r?"12px":"24px"},overflow:"auto","&::-webkit-scrollbar-corner":{background:"rgba(0, 0, 0, 0)"}},containerHidden:{display:"none"},loadingWrapper:{display:"flex",alignItems:"center",height:"550px"}});function v(r){var s=r.open,a=r.subjectWellId,A=r.setSelectedOffsetWells,v=r.isTablet,g=r.isMobile,h=D({isTablet:v,isMobile:g}),P=j(a),S=o((function(){if(!P)return[null,null];var t=[];t.push({id:"All Wells",numeric:!0,label:"Entire Well (".concat(P.length,")")});var r=[];return P.forEach((function(o){var i=t.reduce((function(t,r){return f(f({},t),{},e({},r.id,1))}),{id:o.id,name:o.name});i&&r.push(i)})),t.unshift({id:b,numeric:!1,label:"Well Names (".concat(r.length,")")}),[t,r]}),[P]),x=t(S,2),T=x[0],y=x[1];i((function(){if(s){var e=y.map((function(e){return{id:e.id}}));A(e)}}),[s,y]);var I=n("asc"),E=t(I,2),B=E[0],O=E[1],W=n(b),k=t(W,2),w=k[0],L=k[1],F=!P;return l("div",{className:p(h.wellhubContainer,e({},h.containerHidden,!s)),children:F?l("div",{className:h.loadingWrapper,children:l(c,{fullscreen:!1})}):d(m,{size:"small",style:{borderCollapse:"separate"},children:[l(C,{headCells:T,order:B,orderBy:w,lastSortDisable:!0,onRequestSort:function(e,t){O(w===t&&"asc"===B?"desc":"asc"),L(t)},isTablet:v,isMobile:g,rowNum:y.length}),l(u,{rows:y,headCells:T.slice(1),order:B,orderBy:w,isTablet:v,isMobile:g})]})})}v.propTypes={open:s.bool.isRequired,subjectWellId:s.number.isRequired,setSelectedOffsetWells:s.func.isRequired,isTablet:s.bool.isRequired,isMobile:s.bool.isRequired};var g=r(v);export{g as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e from"@babel/runtime/helpers/defineProperty";import{memo as t}from"react";import{arrayOf as r,shape as o,string as i,func as n,bool as s,number as p}from"prop-types";import{makeStyles as a,withStyles as m,TableCell as l,TableHead as d,TableRow as c,Typography as j}from"@material-ui/core";import C from"classnames";import{jsx as u,jsxs as A}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/objectWithoutProperties";import"@babel/runtime/helpers/slicedToArray";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"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"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"../../index.js";import"../../../OffsetWellChips/Chip.js";import"../../../OffsetWellChips/ChipsContainer.js";import"../../../OffsetWellPickerV4/OffsetWellPickerV4.js";import"../../../Notifications/Notifications.js";import"@babel/runtime/helpers/toConsumableArray";import"uuid";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 b from"../../../Table/TableSortLabel/TableSortLabel.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";var g=a((function(e){return{headerCell:{position:"sticky",top:0,zIndex:2,background:e.palette.background.b9,borderTop:"1px solid ".concat(e.palette.primary.text9),padding:"6px 8px",maxWidth:function(e){return!e.isTablet&&"150px"},minWidth:function(e){return e.isMobile&&"90px"}},firstCell:{position:"sticky",left:0,background:e.palette.background.b9,zIndex:3},centerAlign:{textAlign:"center !important"},rightAlign:{textAlign:"right !important"},lastCell:{fontSize:"12px",fontWeight:500,color:e.palette.primary.text7,width:function(e){return e.rowNum?"max-content":"auto"}},sortIcon:{opacity:"1.0 !important"},rightShadow:{position:"sticky",zIndex:10,right:0,border:0,padding:"0 !important",margin:0,"&::after":{content:"' '",pointerEvents:"none",position:"absolute",width:"16px",top:0,bottom:0,right:0,background:"linear-gradient(90deg, rgba(65, 65, 65, 0) 0%, ".concat(e.palette.background.b9," 100%)")}},middleCell:{fontSize:"12px",width:"max-content"}}})),D=m({root:{boxSizing:"border-box",padding:"6px 8px !important"}})(l);function h(t){var r=t.headCells,o=t.order,i=t.orderBy,n=t.onRequestSort,s=t.isTablet,p=t.isMobile,a=t.rowNum,m=g({isTablet:s,isMobile:p,rowNum:a});return u(d,{children:A(c,{children:[r.map((function(t,s){var p,a;return u(D,{sortDirection:i===t.id&&o,className:C(m.headerCell,(p={},e(p,m.firstCell,0===s),e(p,m.centerAlign,s>0),e(p,m.rightAlign,s===r.length-1),p)),children:0===s||1===s&&s!==r.length-1?u(b,{active:i===t.id,direction:i===t.id?o:"asc",classes:{iconDirectionDesc:m.sortIcon,iconDirectionAsc:m.sortIcon},onClick:(a=t.id,function(e){n(e,a)}),children:u(j,{className:m.middleCell,children:t.label})}):u(j,{className:m.lastCell,children:t.label})},t.id)})),u(l,{className:m.rightShadow})]})})}h.propTypes={headCells:r(o({})).isRequired,order:i.isRequired,orderBy:i.isRequired,onRequestSort:n.isRequired,isTablet:s.isRequired,isMobile:s.isRequired,rowNum:p.isRequired};var x=t(h);export{x as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{arrayOf as e,shape as t,string as r,bool as i}from"prop-types";import{makeStyles as o,withStyles as n,TableCell as a,TableBody as l,TableRow as d,Typography as c}from"@material-ui/core";import{Done as s}from"@material-ui/icons";import p from"classnames";import{jsxs as h,jsx as u}from"react/jsx-runtime";var b=o((function(e){return{wellCell:{minWidth:function(e){var t=e.isTablet,r=e.isMobile;return t||!r?"330px":"180px"},maxWidth:function(e){var t=e.isTablet,r=e.isMobile;return!t&&r&&"200px"},position:"sticky",left:0,zIndex:1,background:e.palette.background.b9},wellName:{display:"-webkit-box",alignItems:"center",overflow:"hidden",WebkitLineClamp:2,WebkitBoxOrient:"vertical",overflowWrap:"break-word"},iconCell:{textAlign:"center",width:"60px"},rightAlign:{textAlign:"center"},doneIcon:{height:"16px",color:e.palette.primary.light},shadow:{position:"sticky",zIndex:10,border:0,padding:0,margin:0,"&::after":{content:"' '",pointerEvents:"none",position:"absolute"}},topShadow:{height:0,top:"48px","&::after":{left:0,right:0,height:"16px",background:"linear-gradient(0deg, rgba(65, 65, 65, 0) 0%, ".concat(e.palette.background.b9," 100%)")}},bottomShadow:{height:0,bottom:"16px","&::after":{left:0,right:0,height:"16px",background:"linear-gradient(180deg, rgba(65, 65, 65, 0) 0%, ".concat(e.palette.background.b9," 100%)")}},rightShadow:{right:0,padding:"0 !important","&::after":{width:"16px",top:0,bottom:0,right:0,background:"linear-gradient(90deg, rgba(65, 65, 65, 0) 0%, ".concat(e.palette.background.b9," 100%)")}}}}));function g(e,t,r){return t[r]<e[r]?-1:t[r]>e[r]?1:0}function m(e,t){return"desc"===e?function(e,r){return g(e,r,t)}:function(e,r){return-g(e,r,t)}}var f=n({root:{boxSizing:"border-box",padding:"6px 8px !important"}})(a);function w(e){var t,r,i,o=e.rows,n=e.headCells,g=e.order,w=e.orderBy,x=e.isTablet,k=e.isMobile,v=b({isTablet:x,isMobile:k});return h(l,{children:[o.length>0&&u(d,{children:u(a,{colSpan:"100%",className:p(v.shadow,v.topShadow)})}),(t=o,r=m(g,w),i=t.map((function(e,t){return[e,t]})),i.sort((function(e,t){var i=r(e[0],t[0]);return 0!==i?i:e[1]-t[1]})),i.map((function(e){return e[0]}))).map((function(e,t){return h(d,{children:[u(f,{id:"enhanced-table-checkbox-".concat(t),scope:"row",className:v.wellCell,children:u(c,{variant:"body2",className:v.wellName,children:e.name})}),n.map((function(t){return u(f,{className:v.iconCell,children:e[t.id]?u(s,{className:v.doneIcon}):""},"offset-well-table-row-".concat(t.id))})),u(a,{colSpan:"100%",className:p(v.shadow,v.rightShadow)})]},e.id)})),o.length>0&&u(d,{children:u(a,{colSpan:"100%",className:p(v.shadow,v.bottomShadow)})})]})}w.propTypes={rows:e(t({})).isRequired,headCells:e(t({})).isRequired,order:r.isRequired,orderBy:r.isRequired,isTablet:i.isRequired,isMobile:i.isRequired};export{w as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var e={offsetWellSelectionApp:"offsetWellSelectionApp",wellHub:"Wellhub",customSelection:"CustomSelection"},l={entireWell:"entireWell",wellSections:"wellSections"},t={bic:"bic",custom:"custom"},n={wellhub:"Well Hub Selection",offsetWell:"Offset Wells from App",custom:"Custom Selection"},o="all",a="name",c=[{name:"Entire Well",wells:[],expanded:!1},{name:"Surface",wells:[],expanded:!1},{name:"Intermediate",wells:[],expanded:!1},{name:"Production Lateral",wells:[],expanded:!1},{name:"Production Vertical",wells:[],expanded:!1},{name:"Production Curve",wells:[],expanded:!1}];export{o as ALL_KEY,e as DATA_SOURCE_TYPE,c as DEFAULT_WELL_SECTIONS,l as FILTER_BASEDON_TYPE,n as SELECTION_TABS_LABEL,t as SELECTION_TAB_TYPE,a as WELL_NAME_KEY};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import r from"@babel/runtime/helpers/asyncToGenerator";import e from"@babel/runtime/helpers/slicedToArray";import t from"@babel/runtime/regenerator";import{useRef as n,useState as a,useEffect as s}from"react";import{isEmpty as u,get as c}from"lodash";import{fetchBicWellSections as o,fetchWellhubWells as i,fetchWells as p}from"../utils/apiCalls.js";function l(u){var c=n(!0),o=a(null),i=e(o,2),l=i[0],f=i[1];return s((function(){function e(){return(e=r(t.mark((function r(){var e;return t.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,p(u);case 2:e=r.sent,f(e);case 4:case"end":return r.stop()}}),r)})))).apply(this,arguments)}c.current&&(f(null),function(){e.apply(this,arguments)}(),c.current=!1)}),[u]),l}var f=function(n){var c=a([]),i=e(c,2),p=i[0],l=i[1];return s((function(){var e,a=(e=r(t.mark((function r(){var e,a,s;return t.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(r.prev=0,!n){r.next=7;break}return r.next=4,o(n);case 4:r.t0=r.sent,r.next=8;break;case 7:r.t0=[];case 8:e=r.t0,a=!u(e)&&JSON.parse(e[0].data.filters)||void 0,s=!u(e)&&e[0].data.result&&JSON.parse(e[0].data.result)||void 0,l({filters:a,result:s}),r.next=17;break;case 14:r.prev=14,r.t1=r.catch(0),l(null);case 17:case"end":return r.stop()}}),r,null,[[0,14]])}))),function(){return e.apply(this,arguments)});a()}),[n]),p},m=function(n){var u=a([]),o=e(u,2),p=o[0],l=o[1];return s((function(){var e,a=(e=r(t.mark((function r(){var e,a;return t.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,i(n);case 3:e=r.sent,a=c(e[0],"data.offset_wells")||[],l(a),r.next=11;break;case 8:r.prev=8,r.t0=r.catch(0),l([]);case 11:case"end":return r.stop()}}),r,null,[[0,8]])}))),function(){return e.apply(this,arguments)});a()}),[n]),p};export{f as useFetchBicWellsData,m as useFetchWellhubWells,l as useWells};
|
|
@@ -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};
|