@corva/ui 0.97.0-9 → 0.98.0-0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs-bundle/components/AddComment/Popover.js +1 -1
- package/cjs-bundle/components/AddComment/components/Content.js +1 -1
- package/cjs-bundle/components/Attachment/index.js +1 -1
- package/cjs-bundle/components/BICOffsetPickerDialog/index.js +1 -1
- package/cjs-bundle/components/Casing/CasingTableV2/components/CasingJoints/Editor.js +1 -1
- package/cjs-bundle/components/Casing/CasingTableV2/components/Component.js +1 -1
- package/cjs-bundle/components/Casing/CasingTableV2/components/DrillPipe/Editor.js +1 -1
- package/cjs-bundle/components/CollapsableSidebar.js +1 -1
- package/cjs-bundle/components/ColorPicker/ColorPicker.js +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js +1 -1
- package/cjs-bundle/components/DocumentViewer/DocumentViewer.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Component.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js +1 -1
- package/cjs-bundle/components/FeedItem/FeedItem.js +1 -1
- package/cjs-bundle/components/FeedItem/components/CompletionDateTimestamp.js +1 -0
- package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/NonEngineeredWellsSwitch.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/SidetrackSwitch.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Filter/SidetrackSwitch.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/index.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/index.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/WellHubView/index.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV4/OffsetWellPickerV4.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV4/components/Filter/Filter.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/MetricsSettingMenu.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTable.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV4/components/Toolbar/Toolbar.js +1 -1
- package/cjs-bundle/components/PadOffsetsPicker/StagesSelector.js +1 -1
- package/cjs-bundle/components/PadOffsetsPickerV2/PadOffsetsPickerV2.js +1 -1
- package/cjs-bundle/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBoxEditDialog.js +1 -1
- package/cjs-bundle/effects/index.js +1 -1
- package/cjs-bundle/effects/useLoadedData.js +1 -1
- package/cjs-bundle/effects/usePadSelectorSelectedWells.js +1 -0
- package/cjs-bundle/utils/goalsConfig/goalsConfig.js +1 -1
- package/components/AddComment/Popover.js +1 -1
- package/components/AddComment/components/Content.js +1 -1
- package/components/Attachment/index.js +1 -1
- package/components/BICOffsetPickerDialog/index.js +1 -1
- package/components/Casing/CasingTableV2/components/CasingJoints/Editor.js +1 -1
- package/components/Casing/CasingTableV2/components/Component.js +1 -1
- package/components/Casing/CasingTableV2/components/DrillPipe/Editor.js +1 -1
- package/components/CollapsableSidebar.js +1 -1
- package/components/ColorPicker/ColorPicker.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js +1 -1
- package/components/DocumentViewer/DocumentViewer.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Component.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js +1 -1
- package/components/FeedItem/FeedItem.d.ts.map +1 -1
- package/components/FeedItem/FeedItem.js +1 -1
- package/components/FeedItem/components/CompletionDateTimestamp.d.ts +6 -0
- package/components/FeedItem/components/CompletionDateTimestamp.d.ts.map +1 -0
- package/components/FeedItem/components/CompletionDateTimestamp.js +1 -0
- package/components/OffsetWellPickerV2/components/Filter/NonEngineeredWellsSwitch.js +1 -1
- package/components/OffsetWellPickerV2/components/Filter/SidetrackSwitch.js +1 -1
- package/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js +1 -1
- package/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Filter/SidetrackSwitch.js +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/index.js +1 -1
- package/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js +1 -1
- package/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js +1 -1
- package/components/OffsetWellPickerV3/components/TabSelection/index.js +1 -1
- package/components/OffsetWellPickerV3/components/WellHubView/index.js +1 -1
- package/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js +1 -1
- package/components/OffsetWellPickerV4/OffsetWellPickerV4.js +1 -1
- package/components/OffsetWellPickerV4/components/Filter/Filter.js +1 -1
- package/components/OffsetWellPickerV4/components/OffsetWellsTable/MetricsSettingMenu.js +1 -1
- package/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTable.js +1 -1
- package/components/OffsetWellPickerV4/components/Toolbar/Toolbar.js +1 -1
- package/components/PadOffsetsPicker/StagesSelector.js +1 -1
- package/components/PadOffsetsPickerV2/PadOffsetsPickerV2.js +1 -1
- package/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBoxEditDialog.d.ts.map +1 -1
- package/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBoxEditDialog.js +1 -1
- package/effects/index.d.ts +2 -1
- package/effects/index.js +1 -1
- package/effects/useLoadedData.js +1 -1
- package/effects/usePadSelectorSelectedWells.d.ts +11 -0
- package/effects/usePadSelectorSelectedWells.d.ts.map +1 -0
- package/effects/usePadSelectorSelectedWells.js +1 -0
- package/package.json +1 -1
- package/utils/goalsConfig/goalsConfig.d.ts.map +1 -1
- package/utils/goalsConfig/goalsConfig.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"@babel/runtime/helpers/defineProperty";import t from"prop-types";import{isEmpty as o}from"lodash";import{makeStyles as s,Button as r,FormControl as i,InputLabel as n,Select as p,MenuItem as a,Checkbox as m,ListItemText as l}from"@material-ui/core";import{useDialogState as c}from"./useDialogState.js";import d from"../Modal/Modal.js";import"../IconMenu/index.js";import"../StyledMenuItem/index.js";import"../AppIcon/AppIcon.js";import"../DevCenter/AppHeader/AppHeader.js";import"../DevCenter/AppSideBar/AppSideBar.js";import"../DevCenter/AppsDataProvider/AppsDataProvider.js";import"@babel/runtime/helpers/slicedToArray";import"react";import"classnames";import"@material-ui/icons";import"../DevCenter/AppContext.js";import"../DevCenter/DevCenterRouterContext/DevCenterRouterContext.js";import"../DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js";import"@babel/runtime/helpers/objectWithoutProperties";import"react-router";import{jsx as j,Fragment as u,jsxs as C}from"react/jsx-runtime";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";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/appPackages.js";import"../../constants/notifications.js";import"../../constants/feed.js";import"../../constants/bha.js";import"../../utils/env.js";import"../GradientManager/configuration/constants.js";import"../../utils/index.js";import"../DevCenter/DevCenterAppContainer/components/AppActions/AppActions.css.js";import"../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js";import"../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/RemoveAppButton.js";import"../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/SettingsAccordion.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"../DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/index.js";import"../DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.css.js";import"../IconButton/index.js";import"rollbar";import"@rollbar/react";import"../DevCenter/DevCenterAppContainer/DevCenterAppContainer.css.js";import"../Icons/AnnotationIcon.js";import"../Annotations/components/AnnotationsList/index.js";import"../Annotations/components/LastAnnotation/index.js";import"../Annotations/AnnotationsContext.js";import"../Toaster/Toaster.js";import"../../utils/mobileDetect.js";import"querystring";import"uuid/v1";import"../../clients/subscriptions.js";import"../../clients/jsonApi/index.js";import"uuid";import"jsona";import"../StatusBadge/constants.js";import"@babel/runtime/helpers/toConsumableArray";import"lodash/set";import"lodash/get";import"lodash/unset";import"moment";import"../../clients/api/apiCore.js";import"../../clients/constants.js";import"../../clients/sso/auth0.js";import"../../clients/sso/oauth2.js";import"../HelpCenter/HelpCenterIcon.js";import"../DevCenter/NavigationBar/NavigationBar.js";import"../DevCenter/SideBar/SideBar.js";import"../DevCenter/AppSettingsPopover/AppSettingsPopover.js";import"../DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.js";import"../DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js";import"../DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.js";import"../AssetEditor/index.js";import"../AssetEditorV2/index.js";import"../AppVersionsSelect/AppVersionsSelect.js";import"../LoadingIndicator/LoadingIndicator.js";import"../Typography.js";import"../RealTimeValuesSidebar/RealTimeSidebar.js";import"../CollapsableSidebar.js";import"../DateTimePicker/index.js";import"../DatePicker/index.js";import"../ErrorBoundary/ErrorBoundary.js";import"../ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js";import"../SlateFormattedText/SlateFormattedText.js";import"../SlateFormattedText/RenderElements.js";import"@babel/runtime/helpers/typeof";import"slate";import"../EmptyState/EmptyState.js";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"react-color";import"../../icons/WithCustomSize.js";import"../../icons/IconParkProvider.js";import"../../icons/customIcons/icons/AddMessage.js";import"../../icons/customIcons/icons/Attention.js";import"../../icons/customIcons/icons/Collapse.js";import"../../icons/customIcons/icons/Dashboard.js";import"../../icons/customIcons/icons/Expand.js";import"../../icons/customIcons/icons/FolderClosed.js";import"../../icons/customIcons/icons/FolderClosedFilled.js";import"../../icons/customIcons/icons/FolderOpened.js";import"../../icons/customIcons/icons/GreaterOrEqual.js";import"../../icons/customIcons/icons/LessOrEqual.js";import"../../icons/customIcons/icons/Search.js";import"../../icons/customIcons/icons/Wellhub.js";import"../../icons/customIcons/icons/MultiRuler.js";import"../../icons/customIcons/icons/Checkbox.js";import"../../icons/customIcons/icons/CheckboxChecked.js";import"../../icons/customIcons/icons/CheckboxIndeterminate.js";import"../../icons/customIcons/icons/Radio.js";import"../../icons/customIcons/icons/RadioChecked.js";import"../../icons/customIcons/icons/SimulFrac.js";import"../../icons/customIcons/icons/ZipperFrac.js";import"../../icons/customIcons/icons/CautionFilled.js";import"../../icons/customIcons/icons/MoreApp.js";import"../SettingEditors/ColorEditor/style.css.js";import"../SettingEditors/DropdownEditor/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/ChartSelect.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"../Chart/components/buttons/ChartTypeButton.js";import"../ColorPicker/PaletteChromePicker/PaletteChromePicker.js";import"../TruncatedText/index.js";import"../MiddleTruncatedText/MiddleTruncatedText.js";import"../RangeSlider/constants.js";import"../RangeSlider/Input.css.js";import"../RangeSlider/RangeSlider.css.js";import"../AdvancedSlider/AdvancedSlider.js";import"../Breadcrumbs/index.js";import"../VirtualizedTable/index.js";import"../EmptyView/EmptyView.js";import"../EmptyView/EmptyAppView/EmptyAppView.js";import"../Button/components/Button/index.js";import"moment-timezone";import"../Button/components/LiveButton/components/LiveButtonStateIndicator/index.js";import"../Button/components/LiveButton/styles.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"../TextField/index.js";import"../Chip/index.js";import"../Counter/index.js";import"../AnchorsList/AnchorsList.js";import"../Select/index.js";import"../Select/SelectFilterBy.js";import"../CustomSelect/index.js";import"../Tabs/Tabs.js";import"../Tabs/Tab.js";import"../ResizableTable/ResizableTable.js";import"../GradientPicker/GradientPicker.js";import"../GradientManager/GradientList.js";import"@material-ui/icons/AddCircle";import"../GradientManager/GradientPreview/GradientPreview.js";import"../GradientManager/GradientSelect.styles.js";import"../GradientManager/GradientManager.styles.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"../BICOffsetPickerDialog/index.js";import"../OffsetWellButton/OffsetWellButton.js";import"../OffsetWellPickerV2/OffsetWellPickerDialog.js";import"../OffsetWellPickerV3/index.js";import"../OffsetWellChips/Chip.js";import"../OffsetWellChips/ChipsContainer.js";import"../OffsetWellPickerV4/utils/apiCalls.js";import"../OffsetWellPickerV4/effects/useAdvancedWells.js";import"../OffsetWellPickerV4/constants.js";import"react-virtualized";import"../OffsetWellPickerV4/effects/useAssetsData.js";import"../OffsetWellPickerV4/components/AppHeader/AppHeader.js";import"../OffsetWellPickerV4/components/Toolbar/Toolbar.js";import"../OffsetWellPickerV4/components/Filter/Filter.js";import"../OffsetWellPickerV4/components/Map/WellsMap.js";import"../OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTable.js";import"../OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/constants.js";import"../OffsetWellPickerV4/utils/index.js";import"../OffsetWellPickerV4/OffsetWellPickerV4.module.css.js";import"../../styles/typography/index.js";import"../../styles/counter/counter.module.scss.js";import"../OffsetWellMap/OffsetWellMap.js";import"@material-ui/core/Snackbar";import"../Notifications/Toast.js";import"../ConfirmationDialog.js";import"../TextLink/index.js";import"../Avatar/index.js";import"../Template/TemplatePopover/index.js";import"../Template/TemplateSharingDialog/index.js";import"../MenuItem/index.js";import"../MiddleTruncate/MiddleTruncate.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"../Table/TablePagination/TablePagination.js";import"../Table/TablePaginationActions/TablePaginationActions.js";import"../Tooltip/ScrollableTooltip.js";import"../PriceInput/PriceInput.js";import"../LabelsCounter/LabelsCounter.js";import"../Stepper/Stepper.js";import"../Stepper/Step/Step.js";import"../Stepper/StepsWrapper.js";import"../Comment/CommentIcon/index.js";import"../FilesLoader/FilesLoader.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"../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/Groups.js";import"../Search/components/SelectAllListItem.js";import"../StatusBadge/index.js";import"../Attachment/index.js";import"../EmojiIconButton.js";import"../FileUploadIconButton.js";import"../FilePreview/index.js";import"../FailedFileUploading.js";import"../UserMention/index.js";import"../CommentsInfo/index.js";import"../CommentInput/index.js";import"../Comment/index.js";import"../CommentLoader.js";import"../AssetNameLabel/AssetStatusBadge.js";import"../AssetEditorV2/components/PrimaryAssetSelect.js";import"../AssetEditorV2/components/SecondaryAssetSelect.js";import"../AssetEditorV2/components/SelectItem.js";import"../AssetEditorV2/components/MultipleAssetsToggle.js";import"../AssetEditorV2/components/PrimaryAssetSelectV2.js";import"../EChartsWrapper/EChartsWrapper.js";import"../AssetsMultipleSelector/AssetsMultipleSelector.js";import"@material-ui/icons/Close";import"@material-ui/icons/GetApp";import"../GoogleDocsViewer/index.js";import"../NewDocumentViewer/effects/useFileContent.js";import"../NewDocumentViewer/styles.js";import"../FilesLoaderV2/styles.js";import"react-dropzone";import"../FilesDropzone/styles.js";import"../FilesProcessor/styles.js";import"../Hint/styles.js";function f(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,s)}return o}function A(t){for(var o=1;o<arguments.length;o++){var s=null!=arguments[o]?arguments[o]:{};o%2?f(Object(s),!0).forEach((function(o){e(t,o,s[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(s)):f(Object(s)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(s,e))}))}return t}var g=s({cancelButton:{marginLeft:"auto",marginRight:16}}),b=function(e){var t=e.onSave,s=e.opened,f=e.currentOffsetSetting,b=e.assets,D=e.companyId,P=e.onClose,h=g(),v=new Set(b.map((function(e){return Number(e.asset_id)}))),S=c({opened:s,companyId:D,currentOffsetSetting:f,assetIds:v}),I=S.requestState,y=S.dialogState,T=S.setDialogState,x=function(){T((function(e){return A(A({},e),{},{status:"closed"})})),P()};return j(u,{children:"success"===I.status&&C(d,{open:"open"===y.status,onClose:x,title:"Offset Wells",size:"small",actions:C(u,{children:[j(r,{onClick:x,className:h.cancelButton,"data-testid":"closeButton",children:"Cancel"}),j(r,{variant:"contained",color:"primary",onClick:function(){var e=I.wellsData.filter((function(e){return y.selectedWellIds.includes(e.asset_id)})).map((function(e){var t=f.find((function(t){return t.selectedWellId===Number(e.asset_id)}));return t||{selectedWellId:Number(e.asset_id),selectedWellName:e.name,selectedWellStatus:e.status,selectedStages:[],stages:{}}}));x(),t(e)},"data-testid":"saveButton",children:"Save"})]}),children:[C(i,{margin:"normal",fullWidth:!0,required:!0,"data-testid":"offsetPadDropdown",children:[j(n,{htmlFor:"pad-select",shrink:!o(y.selectedPadIds),children:"Pad"}),j(p,{multiple:!0,inputProps:{name:"pads",id:"pad-select"},value:y.selectedPadIds,onChange:function(e){T((function(t){return A(A({},t),{},{selectedPadIds:e.target.value})}))},renderValue:function(e){return"".concat(e.length," selected")},children:I.padsData.map((function(e){return C(a,{value:e.id,"data-testid":"".concat(e.name,"_offsetPad_menuItem"),children:[j(m,{checked:y.selectedPadIds.includes(e.id)}),j(l,{primary:e.name})]},e.id)}))})]}),C(i,{"data-testid":"offsetWellDropdown",margin:"normal",disabled:o(y.selectedPadIds),fullWidth:!0,required:!0,children:[j(n,{htmlFor:"wells",shrink:!o(y.selectedWellIds),children:"Well"}),j(p,{multiple:!0,inputProps:{name:"wells",id:"well-select"},value:y.selectedWellIds,onChange:function(e){T((function(t){return A(A({},t),{},{selectedWellIds:e.target.value})}))},renderValue:function(e){return"".concat(e.length," selected")},children:I.wellsData.map((function(e){return C(a,{value:e.asset_id,"data-testid":"".concat(e.name,"_offsetWell_menuItem"),children:[j(m,{checked:y.selectedWellIds.includes(e.asset_id)}),j(l,{primary:e.name})]},e.id)}))})]})]})})};b.propTypes={opened:t.bool.isRequired,currentOffsetSetting:t.arrayOf(t.shape({})).isRequired,onSave:t.func.isRequired,onClose:t.func.isRequired,companyId:t.string.isRequired,assets:t.arrayOf(t.shape({})).isRequired};export{b as default};
|
|
1
|
+
import e from"@babel/runtime/helpers/defineProperty";import t from"prop-types";import{isEmpty as o}from"lodash";import{makeStyles as s,Button as r,FormControl as i,InputLabel as n,Select as p,MenuItem as a,Checkbox as m,ListItemText as l}from"@material-ui/core";import{useDialogState as c}from"./useDialogState.js";import d from"../Modal/Modal.js";import"../IconMenu/index.js";import"../StyledMenuItem/index.js";import"../AppIcon/AppIcon.js";import"../DevCenter/AppHeader/AppHeader.js";import"../DevCenter/AppSideBar/AppSideBar.js";import"../DevCenter/AppsDataProvider/AppsDataProvider.js";import"@babel/runtime/helpers/slicedToArray";import"react";import"classnames";import"@material-ui/icons";import"../DevCenter/AppContext.js";import"../DevCenter/DevCenterRouterContext/DevCenterRouterContext.js";import"../DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js";import"@babel/runtime/helpers/objectWithoutProperties";import"react-router";import{jsx as j,Fragment as u,jsxs as C}from"react/jsx-runtime";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";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/appPackages.js";import"../../constants/notifications.js";import"../../constants/feed.js";import"../../constants/bha.js";import"../../utils/env.js";import"../GradientManager/configuration/constants.js";import"../../utils/index.js";import"../DevCenter/DevCenterAppContainer/components/AppActions/AppActions.css.js";import"../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js";import"../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/RemoveAppButton.js";import"../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/SettingsAccordion.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"../DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/index.js";import"../DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.css.js";import"../IconButton/index.js";import"rollbar";import"@rollbar/react";import"../DevCenter/DevCenterAppContainer/DevCenterAppContainer.css.js";import"../Icons/AnnotationIcon.js";import"../Annotations/components/AnnotationsList/index.js";import"../Annotations/components/LastAnnotation/index.js";import"../Annotations/AnnotationsContext.js";import"../Toaster/Toaster.js";import"../../utils/mobileDetect.js";import"querystring";import"uuid/v1";import"../../clients/subscriptions.js";import"../../clients/jsonApi/index.js";import"uuid";import"jsona";import"../StatusBadge/constants.js";import"@babel/runtime/helpers/toConsumableArray";import"lodash/set";import"lodash/get";import"lodash/unset";import"moment";import"../../clients/api/apiCore.js";import"../../clients/constants.js";import"../../clients/sso/auth0.js";import"../../clients/sso/oauth2.js";import"lodash/isEmpty";import"lodash/sortBy";import"../../constants/streamSourceType.js";import"../HelpCenter/HelpCenterIcon.js";import"../DevCenter/NavigationBar/NavigationBar.js";import"../DevCenter/SideBar/SideBar.js";import"../DevCenter/AppSettingsPopover/AppSettingsPopover.js";import"../DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.js";import"../DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js";import"../DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.js";import"../AssetEditor/index.js";import"../AssetEditorV2/index.js";import"../AppVersionsSelect/AppVersionsSelect.js";import"../LoadingIndicator/LoadingIndicator.js";import"../Typography.js";import"../RealTimeValuesSidebar/RealTimeSidebar.js";import"../CollapsableSidebar.js";import"../DateTimePicker/index.js";import"../DatePicker/index.js";import"../ErrorBoundary/ErrorBoundary.js";import"../ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js";import"../SlateFormattedText/SlateFormattedText.js";import"../SlateFormattedText/RenderElements.js";import"@babel/runtime/helpers/typeof";import"slate";import"../EmptyState/EmptyState.js";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"react-color";import"../../icons/WithCustomSize.js";import"../../icons/IconParkProvider.js";import"../../icons/customIcons/icons/AddMessage.js";import"../../icons/customIcons/icons/Attention.js";import"../../icons/customIcons/icons/Collapse.js";import"../../icons/customIcons/icons/Dashboard.js";import"../../icons/customIcons/icons/Expand.js";import"../../icons/customIcons/icons/FolderClosed.js";import"../../icons/customIcons/icons/FolderClosedFilled.js";import"../../icons/customIcons/icons/FolderOpened.js";import"../../icons/customIcons/icons/GreaterOrEqual.js";import"../../icons/customIcons/icons/LessOrEqual.js";import"../../icons/customIcons/icons/Search.js";import"../../icons/customIcons/icons/Wellhub.js";import"../../icons/customIcons/icons/MultiRuler.js";import"../../icons/customIcons/icons/Checkbox.js";import"../../icons/customIcons/icons/CheckboxChecked.js";import"../../icons/customIcons/icons/CheckboxIndeterminate.js";import"../../icons/customIcons/icons/Radio.js";import"../../icons/customIcons/icons/RadioChecked.js";import"../../icons/customIcons/icons/SimulFrac.js";import"../../icons/customIcons/icons/ZipperFrac.js";import"../../icons/customIcons/icons/CautionFilled.js";import"../../icons/customIcons/icons/MoreApp.js";import"../SettingEditors/ColorEditor/style.css.js";import"../SettingEditors/DropdownEditor/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/ChartSelect.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"../Chart/components/buttons/ChartTypeButton.js";import"../ColorPicker/PaletteChromePicker/PaletteChromePicker.js";import"../TruncatedText/index.js";import"../MiddleTruncatedText/MiddleTruncatedText.js";import"../RangeSlider/constants.js";import"../RangeSlider/Input.css.js";import"../RangeSlider/RangeSlider.css.js";import"../AdvancedSlider/AdvancedSlider.js";import"../Breadcrumbs/index.js";import"../VirtualizedTable/index.js";import"../EmptyView/EmptyView.js";import"../EmptyView/EmptyAppView/EmptyAppView.js";import"../Button/components/Button/index.js";import"moment-timezone";import"../Button/components/LiveButton/components/LiveButtonStateIndicator/index.js";import"../Button/components/LiveButton/styles.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"../TextField/index.js";import"../Chip/index.js";import"../Counter/index.js";import"../AnchorsList/AnchorsList.js";import"../Select/index.js";import"../Select/SelectFilterBy.js";import"../CustomSelect/index.js";import"../Tabs/Tabs.js";import"../Tabs/Tab.js";import"../ResizableTable/ResizableTable.js";import"../GradientPicker/GradientPicker.js";import"../GradientManager/GradientList.js";import"@material-ui/icons/AddCircle";import"../GradientManager/GradientPreview/GradientPreview.js";import"../GradientManager/GradientSelect.styles.js";import"../GradientManager/GradientManager.styles.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"../BICOffsetPickerDialog/index.js";import"../OffsetWellButton/OffsetWellButton.js";import"../OffsetWellPickerV2/OffsetWellPickerDialog.js";import"../OffsetWellPickerV3/index.js";import"../OffsetWellChips/Chip.js";import"../OffsetWellChips/ChipsContainer.js";import"../OffsetWellPickerV4/utils/apiCalls.js";import"../OffsetWellPickerV4/effects/useAdvancedWells.js";import"../OffsetWellPickerV4/constants.js";import"react-virtualized";import"../OffsetWellPickerV4/effects/useAssetsData.js";import"../OffsetWellPickerV4/components/AppHeader/AppHeader.js";import"../OffsetWellPickerV4/components/Toolbar/Toolbar.js";import"../OffsetWellPickerV4/components/Filter/Filter.js";import"../OffsetWellPickerV4/components/Map/WellsMap.js";import"../OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTable.js";import"../OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/constants.js";import"../OffsetWellPickerV4/utils/index.js";import"../OffsetWellPickerV4/OffsetWellPickerV4.module.css.js";import"../../styles/typography/index.js";import"../../styles/counter/counter.module.scss.js";import"../OffsetWellMap/OffsetWellMap.js";import"@material-ui/core/Snackbar";import"../Notifications/Toast.js";import"../ConfirmationDialog.js";import"../TextLink/index.js";import"../Avatar/index.js";import"../Template/TemplatePopover/index.js";import"../Template/TemplateSharingDialog/index.js";import"../MenuItem/index.js";import"../MiddleTruncate/MiddleTruncate.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"../Table/TablePagination/TablePagination.js";import"../Table/TablePaginationActions/TablePaginationActions.js";import"../Tooltip/ScrollableTooltip.js";import"../PriceInput/PriceInput.js";import"../LabelsCounter/LabelsCounter.js";import"../Stepper/Stepper.js";import"../Stepper/Step/Step.js";import"../Stepper/StepsWrapper.js";import"../Comment/CommentIcon/index.js";import"../FilesLoader/FilesLoader.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"../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/Groups.js";import"../Search/components/SelectAllListItem.js";import"../StatusBadge/index.js";import"../Attachment/index.js";import"../EmojiIconButton.js";import"../FileUploadIconButton.js";import"../FilePreview/index.js";import"../FailedFileUploading.js";import"../UserMention/index.js";import"../CommentsInfo/index.js";import"../CommentInput/index.js";import"../Comment/index.js";import"../CommentLoader.js";import"../AssetNameLabel/AssetStatusBadge.js";import"../AssetEditorV2/components/PrimaryAssetSelect.js";import"../AssetEditorV2/components/SecondaryAssetSelect.js";import"../AssetEditorV2/components/SelectItem.js";import"../AssetEditorV2/components/MultipleAssetsToggle.js";import"../AssetEditorV2/components/PrimaryAssetSelectV2.js";import"../EChartsWrapper/EChartsWrapper.js";import"../AssetsMultipleSelector/AssetsMultipleSelector.js";import"@material-ui/icons/Close";import"@material-ui/icons/GetApp";import"../GoogleDocsViewer/index.js";import"../NewDocumentViewer/effects/useFileContent.js";import"../NewDocumentViewer/styles.js";import"../FilesLoaderV2/styles.js";import"react-dropzone";import"../FilesDropzone/styles.js";import"../FilesProcessor/styles.js";import"../Hint/styles.js";function f(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,s)}return o}function A(t){for(var o=1;o<arguments.length;o++){var s=null!=arguments[o]?arguments[o]:{};o%2?f(Object(s),!0).forEach((function(o){e(t,o,s[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(s)):f(Object(s)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(s,e))}))}return t}var g=s({cancelButton:{marginLeft:"auto",marginRight:16}}),b=function(e){var t=e.onSave,s=e.opened,f=e.currentOffsetSetting,b=e.assets,h=e.companyId,D=e.onClose,P=g(),S=new Set(b.map((function(e){return Number(e.asset_id)}))),v=c({opened:s,companyId:h,currentOffsetSetting:f,assetIds:S}),I=v.requestState,y=v.dialogState,T=v.setDialogState,x=function(){T((function(e){return A(A({},e),{},{status:"closed"})})),D()};return j(u,{children:"success"===I.status&&C(d,{open:"open"===y.status,onClose:x,title:"Offset Wells",size:"small",actions:C(u,{children:[j(r,{onClick:x,className:P.cancelButton,"data-testid":"closeButton",children:"Cancel"}),j(r,{variant:"contained",color:"primary",onClick:function(){var e=I.wellsData.filter((function(e){return y.selectedWellIds.includes(e.asset_id)})).map((function(e){var t=f.find((function(t){return t.selectedWellId===Number(e.asset_id)}));return t||{selectedWellId:Number(e.asset_id),selectedWellName:e.name,selectedWellStatus:e.status,selectedStages:[],stages:{}}}));x(),t(e)},"data-testid":"saveButton",children:"Save"})]}),children:[C(i,{margin:"normal",fullWidth:!0,required:!0,"data-testid":"offsetPadDropdown",children:[j(n,{htmlFor:"pad-select",shrink:!o(y.selectedPadIds),children:"Pad"}),j(p,{multiple:!0,inputProps:{name:"pads",id:"pad-select"},value:y.selectedPadIds,onChange:function(e){T((function(t){return A(A({},t),{},{selectedPadIds:e.target.value})}))},renderValue:function(e){return"".concat(e.length," selected")},children:I.padsData.map((function(e){return C(a,{value:e.id,"data-testid":"".concat(e.name,"_offsetPad_menuItem"),children:[j(m,{checked:y.selectedPadIds.includes(e.id)}),j(l,{primary:e.name})]},e.id)}))})]}),C(i,{"data-testid":"offsetWellDropdown",margin:"normal",disabled:o(y.selectedPadIds),fullWidth:!0,required:!0,children:[j(n,{htmlFor:"wells",shrink:!o(y.selectedWellIds),children:"Well"}),j(p,{multiple:!0,inputProps:{name:"wells",id:"well-select"},value:y.selectedWellIds,onChange:function(e){T((function(t){return A(A({},t),{},{selectedWellIds:e.target.value})}))},renderValue:function(e){return"".concat(e.length," selected")},children:I.wellsData.map((function(e){return C(a,{value:e.asset_id,"data-testid":"".concat(e.name,"_offsetWell_menuItem"),children:[j(m,{checked:y.selectedWellIds.includes(e.asset_id)}),j(l,{primary:e.name})]},e.id)}))})]})]})})};b.propTypes={opened:t.bool.isRequired,currentOffsetSetting:t.arrayOf(t.shape({})).isRequired,onSave:t.func.isRequired,onClose:t.func.isRequired,companyId:t.string.isRequired,assets:t.arrayOf(t.shape({})).isRequired};export{b as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RealTimeBoxEditDialog.d.ts","sourceRoot":"","sources":["../../../../src/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBoxEditDialog.tsx"],"names":[],"mappings":";AAKA,OAAO,EAAE,0BAA0B,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"RealTimeBoxEditDialog.d.ts","sourceRoot":"","sources":["../../../../src/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBoxEditDialog.tsx"],"names":[],"mappings":";AAKA,OAAO,EAAE,0BAA0B,EAAE,MAAM,UAAU,CAAC;AAetD,iBAAS,qBAAqB,CAAC,KAAK,EAAE,0BAA0B,eAkH/D;;AAED,wBAA2C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__assign as o,__spreadArray as t}from'./../../../ext-esm/tslib/tslib.es6.js';import{jsx as
|
|
1
|
+
import{__assign as o,__spreadArray as t}from'./../../../ext-esm/tslib/tslib.es6.js';import{jsx as s,jsxs as i,Fragment as n}from"react/jsx-runtime";import{memo as e,useContext as c,useState as r,useEffect as m}from"react";import{uniq as a}from"lodash";import{makeStyles as l,FormControl as u,InputLabel as p,Select as d,MenuItem as j}from"@material-ui/core";import{isMobileDetected as h}from"../../../utils/mobileDetect.js";import I from"../../Modal/Modal.js";import f from"../../Button/components/Button/index.js";import"moment-timezone";import"classnames";import"../../../icons/WithCustomSize.js";import"../../../icons/IconParkProvider.js";import"../../../icons/customIcons/icons/AddMessage.js";import"../../../icons/customIcons/icons/Attention.js";import"../../../icons/customIcons/icons/Collapse.js";import"../../../icons/customIcons/icons/Dashboard.js";import"../../../icons/customIcons/icons/Expand.js";import"../../../icons/customIcons/icons/FolderClosed.js";import"../../../icons/customIcons/icons/FolderClosedFilled.js";import"../../../icons/customIcons/icons/FolderOpened.js";import"../../../icons/customIcons/icons/GreaterOrEqual.js";import"../../../icons/customIcons/icons/LessOrEqual.js";import"../../../icons/customIcons/icons/Search.js";import"../../../icons/customIcons/icons/Wellhub.js";import"../../../icons/customIcons/icons/MultiRuler.js";import"../../../icons/customIcons/icons/Checkbox.js";import"../../../icons/customIcons/icons/CheckboxChecked.js";import"../../../icons/customIcons/icons/CheckboxIndeterminate.js";import"../../../icons/customIcons/icons/Radio.js";import"../../../icons/customIcons/icons/RadioChecked.js";import"../../../icons/customIcons/icons/SimulFrac.js";import"../../../icons/customIcons/icons/ZipperFrac.js";import"../../../icons/customIcons/icons/CautionFilled.js";import"../../../icons/customIcons/icons/MoreApp.js";import"../../Button/components/LiveButton/components/LiveButtonStateIndicator/index.js";import"../../Button/components/LiveButton/styles.js";import C from"../RealTimeSidebarContext.js";var g=l({selectFormControl:{width:"80%",marginRight:"1rem"},cancelButton:{margin:"0 16px 0 auto"},saveButton:{marginLeft:16}});var v=e((function(e){var l=e.isDialogOpen,v=e.paramToEdit,k=e.handleCloseRealTimeDialog,b=c(C),x=b.onAppSettingChange,B=b.appSettings,S=b.assetKey,y=b.realTimeTypes,F=b.setting,R=b.handleChangeParamToEdit,T=g(),E=function(t){var s;x("rtValuesSetting",o(o({},B.rtValuesSetting),((s={})[S]=t,s)))},P=r(v),D=P[0],L=P[1];return m((function(){L(v)}),[v]),s(I,o({open:l,onClose:k,title:"Add/Edit Real-Time Parameter",size:h?"extraLarge":"medium",actions:i(n,{children:[s(f,o({color:"primary",classes:{root:T.cancelButton},onClick:k},{children:"Cancel"})),v&&s(f,o({color:"primary",onClick:function(){var o=F.filter((function(o){return o!==v}));E(o),R(""),k()}},{children:"Delete"})),s(f,o({classes:{root:T.saveButton},variation:"primary",onClick:function(){var o;if(v)o=F.map((function(o){return o===v?D:o}));else{if(F.find((function(o){return o===D})))return void k();o=t([D],F,!0)}o=a(o),E(o),R(""),k()},disabled:!D},{children:"Save"}))]})},{children:i(u,o({classes:{root:T.selectFormControl},"data-testid":"addEditRealTimeParameterDropdown"},{children:[s(p,o({htmlFor:"parameter"},{children:"Parameter"})),s(d,o({value:D||"",inputProps:{name:"parameter",id:"parameter"},onChange:function(o){L(String(o.target.value))}},{children:y.map((function(t){return s(j,o({"data-testid":"".concat(t.key,"_menuItem"),value:t.key,disabled:F.includes(t.key)},{children:t.name}),t.key)}))}))]}))}))}));export{v as default};
|
package/effects/index.d.ts
CHANGED
|
@@ -8,5 +8,6 @@ import useSignedURL from "./useSignedURL";
|
|
|
8
8
|
import useSubscriptions from "./useSubscriptions";
|
|
9
9
|
import { useWellnessAlerts } from "./useWellnessAlerts";
|
|
10
10
|
import useLoadedData from "./useLoadedData";
|
|
11
|
-
|
|
11
|
+
import usePadSelectorSelectedWells from "./usePadSelectorSelectedWells";
|
|
12
|
+
export { useDevCenterApp, useEscPress, useIsAssetViewer, useOutsideClick, useResizeObserver, useSharedDCStore, useSignedURL, useSubscriptions, useWellnessAlerts, useLoadedData, usePadSelectorSelectedWells };
|
|
12
13
|
//# sourceMappingURL=index.d.ts.map
|
package/effects/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{default as useSubscriptions}from"./useSubscriptions.js";export{default as useOutsideClick}from"./useOutsideClick.js";export{default as useEscPress}from"./useEscPress.js";export{default as useDevCenterApp}from"./useDevCenterApp.js";export{default as useSignedURL}from"./useSignedURL.js";export{default as useSharedDCStore}from"./useSharedDCStore.js";export{default as useResizeObserver}from"./useResizeObserver.js";export{default as useIsAssetViewer}from"./useIsAssetViewer.js";export{useWellnessAlerts}from"./useWellnessAlerts.js";export{default as useLoadedData}from"./useLoadedData.js";
|
|
1
|
+
export{default as useSubscriptions}from"./useSubscriptions.js";export{default as useOutsideClick}from"./useOutsideClick.js";export{default as useEscPress}from"./useEscPress.js";export{default as useDevCenterApp}from"./useDevCenterApp.js";export{default as useSignedURL}from"./useSignedURL.js";export{default as useSharedDCStore}from"./useSharedDCStore.js";export{default as useResizeObserver}from"./useResizeObserver.js";export{default as useIsAssetViewer}from"./useIsAssetViewer.js";export{useWellnessAlerts}from"./useWellnessAlerts.js";export{default as useLoadedData}from"./useLoadedData.js";export{default as usePadSelectorSelectedWells}from"./usePadSelectorSelectedWells.js";
|
package/effects/useLoadedData.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import r from"@babel/runtime/helpers/asyncToGenerator";import e from"@babel/runtime/helpers/slicedToArray";import t from"@babel/runtime/regenerator";import{identity as n,debounce as a}from"lodash";import{useState as
|
|
1
|
+
import r from"@babel/runtime/helpers/asyncToGenerator";import e from"@babel/runtime/helpers/slicedToArray";import t from"@babel/runtime/regenerator";import{identity as n,debounce as a,clone as o}from"lodash";import{useState as i,useRef as s,useCallback as u}from"react";function c(c){var l=c.loadFn,p=c.getDataFromResponseFn,d=void 0===p?n((function(r){return r})):p,f=c.initialLoading,m=void 0===f||f,v=c.initialData,b=void 0===v?null:v,h=c.isCacheEnabled,g=void 0!==h&&h,x=i(m),y=e(x,2),D=y[0],k=y[1],w=i(b),F=e(w,2),L=F[0],A=F[1],T=i(null),C=e(T,2),E=C[0],G=C[1],I=s({}),J=u(a(r(t.mark((function r(){var e,n,a,i,s,u,c=arguments;return t.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:for(k(!0),r.prev=1,e=c.length,n=new Array(e),a=0;a<e;a++)n[a]=c[a];if(i=JSON.stringify(n),!I.current[i]||!g){r.next=7;break}return A(o(I.current[i])),r.abrupt("return");case 7:return r.next=9,l.apply(void 0,n);case 9:s=r.sent,u=d(s),A(u),g&&(I.current[i]=u),r.next=19;break;case 15:r.prev=15,r.t0=r.catch(1),G(r.t0),console.error(r.t0);case 19:return r.prev=19,k(!1),r.finish(19);case 22:case"end":return r.stop()}}),r,null,[[1,15,19,22]])}))),500),[d,l,g]);return{isLoading:D,data:L,error:E,loadData:J,setData:A,setIsLoading:k}}export{c as default};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { FracFleet, Well } from "~/types";
|
|
2
|
+
declare type AppWellsParams = {
|
|
3
|
+
padId: number;
|
|
4
|
+
well?: Well;
|
|
5
|
+
wells?: Well[];
|
|
6
|
+
fracFleet: FracFleet | null;
|
|
7
|
+
settingsByAsset: Record<string, any>;
|
|
8
|
+
};
|
|
9
|
+
declare function usePadSelectorSelectedWells({ padId, well, wells, fracFleet, settingsByAsset, }: AppWellsParams): Well[];
|
|
10
|
+
export default usePadSelectorSelectedWells;
|
|
11
|
+
//# sourceMappingURL=usePadSelectorSelectedWells.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usePadSelectorSelectedWells.d.ts","sourceRoot":"","sources":["../../src/effects/usePadSelectorSelectedWells.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAkB,IAAI,EAAE,MAAM,SAAS,CAAC;AAI1D,aAAK,cAAc,GAAG;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,KAAK,CAAC,EAAE,IAAI,EAAE,CAAC;IACf,SAAS,EAAE,SAAS,GAAG,IAAI,CAAC;IAC5B,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CACtC,CAAC;AAoBF,iBAAS,2BAA2B,CAAC,EACnC,KAAK,EACL,IAAI,EACJ,KAAK,EACL,SAAS,EACT,eAAe,GAChB,EAAE,cAAc,GAAG,IAAI,EAAE,CAmDzB;AAED,eAAe,2BAA2B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{useMemo as e}from"react";import t from"lodash/get";import l from"lodash/isEmpty";import r from"lodash/sortBy";import{getAssetKey as n,getDefaultPadModeSetting as i}from"../utils/completion.js";import{COMPLETION_APP_TYPES as o}from"../constants/completion.js";function d(d){var f=d.padId,s=d.well,u=d.wells,a=d.fracFleet,c=d.settingsByAsset,v=function(e,r,d,f){var s=n(d,r,e);return l(t(f,[s]))?i(d,r,o.fracMultiWellApp,!0):t(f,[s])}(f,s,a,c),m=e((function(){var e,t;if(s)return[s];var l=(null===(e=null==a?void 0:a.pad_frac_fleets)||void 0===e?void 0:e.find((function(e){return e.pad.id===f||e.current})))||(null===(t=r(null==a?void 0:a.pad_frac_fleets,"last_current_at"))||void 0===t?void 0:t[0]),n=(null==l?void 0:l.frac_fleet_lines)||[];if(!n.length)return(null==u?void 0:u.length)?u:[];var i=v.selectedLine;if("custom"===v.mode){var o=v.selectedAssets[0],d=n.find((function(e){var t=e.frac_fleet_line_wells;return(void 0===t?[]:t).find((function(e){return+e.id===o}))}));i=null==d?void 0:d.id}var c=n.find((function(e){return e.id===i}))||n[0];return(null==c?void 0:c.frac_fleet_line_wells)||[]}),[v.mode,v.selectedLine,v.selectedAssets,null==a?void 0:a.pad_frac_fleets,f,s,u]);return m}export{d as default};
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"goalsConfig.d.ts","sourceRoot":"","sources":["../../../src/utils/goalsConfig/goalsConfig.ts"],"names":[],"mappings":"AA2BA,oBAAY,UAAU,GAAG;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,iBAAiB,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC;IAC7C,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,KAAK,MAAM,CAAC;IACnD,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,KAAK,MAAM,CAAC;IACnD,YAAY,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,UAAU,
|
|
1
|
+
{"version":3,"file":"goalsConfig.d.ts","sourceRoot":"","sources":["../../../src/utils/goalsConfig/goalsConfig.ts"],"names":[],"mappings":"AA2BA,oBAAY,UAAU,GAAG;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,iBAAiB,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC;IAC7C,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,KAAK,MAAM,CAAC;IACnD,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,KAAK,MAAM,CAAC;IACnD,YAAY,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,UAAU,CAohBlD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{getUnitDescription as e,getUnitPreference as i}from"../convert.js";import{convertPercentageMetrics as t,convertPercentageToSave as n,convertCostToShow as _,convertCostToSave as p}from"../metrics/utils.js";var o={cumulative_tortuosity:{label:"Cumulative Tortuosity",key:"cumulative_tortuosity",isMetricGoal:!0},drilling_percentage:{label:"Drilling %",key:"drilling_percentage",convertToShow:t,convertToSave:n,unitType:"percent",unit:"%",isMetricGoal:!0},drilled_feet_rotary_percentage:{label:"Rotary %",key:"drilled_feet_rotary_percentage",convertToShow:t,convertToSave:n,unitType:"percent",unit:"%",isMetricGoal:!0},drilled_feet_slide_percentage:{label:"Slide %",key:"drilled_feet_slide_percentage",convertToShow:t,convertToSave:n,unitType:"percent",unit:"%",isMetricGoal:!0},feet_per_day:{label:"Drilled Distance/Day",key:"feet_per_day",unitType:"length",unit:"ft",formatUnitDisplay:function(e){return"".concat(e,"/day")},isMetricGoal:!0},on_bottom_percentage:{label:"On Bottom %",key:"on_bottom_percentage",convertToShow:t,convertToSave:n,unitType:"percent",unit:"%",isMetricGoal:!0},npt:{label:"NPT",key:"npt",unitType:"time",unit:"h",isMetricGoal:!0},pumps_on_to_bottom_average:{label:"Pumps on to Bottom",key:"pumps_on_to_bottom_average",unitType:"time",unit:"s",isMetricGoal:!0},spud_to_landing_point:{label:"Spud to Landing Point",key:"spud_to_landing_point",unitType:"time",unit:"h",isMetricGoal:!0},spud_to_rig_release_time:{label:"Spud to Rig Release",key:"spud_to_rig_release_time",unitType:"time",unit:"h",isMetricGoal:!0},spud_to_target:{label:"Spud to Target",key:"spud_to_target",unitType:"time",unit:"h",isMetricGoal:!0},spud_to_total_depth_time:{label:"Spud to Total Depth",key:"spud_to_total_depth_time",unitType:"time",unit:"h",isMetricGoal:!0},cost_per_ft:{label:"Cost/".concat(e(i("length")).singular),key:"cost_per_ft",convertToShow:_,convertToSave:p,isMetricGoal:!0},cost_per_lat_ft:{label:"Lateral Cost/".concat(e(i("length")).singular),key:"cost_per_lat_ft",convertToShow:_,convertToSave:p,isMetricGoal:!0},gross_tripping_in_speed_total:{label:"Gross Tripping In Speed",key:"gross_tripping_in_speed_total",unitType:"velocity",unit:"ft/h",isMetricGoal:!0},gross_tripping_out_speed_total:{label:"Gross Tripping Out Speed",key:"gross_tripping_out_speed_total",unitType:"velocity",unit:"ft/h",isMetricGoal:!0},tripping_in_connection_time:{label:"Tripping in (Connection)",key:"tripping_in_connection_time",unitType:"time",unit:"min",isMetricGoal:!0},tripping_in_running_time:{label:"Tripping in (Running)",key:"tripping_in_running_time",unitType:"time",unit:"min",isMetricGoal:!1},trip_gross_tripping_in_speed_cased:{label:"Cased Hole Tripping In Speed (With Connections)",key:"trip_gross_tripping_in_speed_cased",unitType:"velocity",unit:"ft/h",isMetricGoal:!1},trip_gross_tripping_in_speed_open:{label:"Open Hole Tripping In Speed (With Connections)",key:"trip_gross_tripping_in_speed_open",unitType:"velocity",unit:"ft/h",isMetricGoal:!1},trip_tripping_in_time_cased:{label:"Cased Hole Tripping In Time",key:"trip_tripping_in_time_cased",unitType:"time",unit:"min",isMetricGoal:!1},trip_tripping_in_time_open:{label:"Open Hole Tripping In Time",key:"trip_tripping_in_time_open",unitType:"time",unit:"min",isMetricGoal:!1},trip_gross_tripping_in_time_cased:{label:"Cased Hole Tripping In Time (With Connections)",key:"trip_gross_tripping_in_time_cased",unitType:"time",unit:"min",isMetricGoal:!1},trip_gross_tripping_in_time_open:{label:"Open Hole Tripping In Time (With Connections)",key:"trip_gross_tripping_in_time_open",unitType:"time",unit:"min",isMetricGoal:!1},gross_tripping_out_speed_cased:{label:"Cased Hole Tripping Out Speed (With Connections)",key:"gross_tripping_out_speed_cased",unitType:"velocity",unit:"ft/h",isMetricGoal:!1},gross_tripping_out_speed_open:{label:"Open Hole Tripping Out Speed (With Connections)",key:"gross_tripping_out_speed_open",unitType:"velocity",unit:"ft/h",isMetricGoal:!1},gross_tripping_out_time_cased:{label:"Cased Hole Tripping Out Time (With Connections)",key:"gross_tripping_out_time_cased",unitType:"time",unit:"min",isMetricGoal:!1},gross_tripping_out_time_open:{label:"Open Hole Tripping Out Time (With Connections)",key:"gross_tripping_out_time_open",unitType:"time",unit:"min",isMetricGoal:!1},tripping_out_time_cased:{label:"Cased Hole Tripping Out Time",key:"tripping_out_time_cased",unitType:"time",unit:"min",isMetricGoal:!1},tripping_out_time_open:{label:"Open Hole Tripping Out Time",key:"tripping_out_time_open",unitType:"time",unit:"min",isMetricGoal:!1},tripping_in_speed:{label:"Hole Tripping In Speed",key:"tripping_in_speed",unitType:"velocity",unit:"ft/h",isMetricGoal:!0},tripping_in_speed_cased:{label:"Cased Hole Tripping In Speed",key:"tripping_in_speed_cased",unitType:"velocity",unit:"ft/h",isMetricGoal:!0},tripping_in_speed_open:{label:"Open Hole Tripping In Speed",key:"tripping_in_speed_open",unitType:"velocity",unit:"ft/h",isMetricGoal:!0},tripping_out_connection_time:{label:"Tripping out (Connection)",key:"tripping_out_connection_time",unitType:"time",unit:"min",isMetricGoal:!0},tripping_out_running_time:{label:"Tripping out (Running)",key:"tripping_out_running_time",unitType:"time",unit:"min",isMetricGoal:!1},tripping_out_speed:{label:"Hole Tripping Out Speed",key:"tripping_out_speed",unitType:"velocity",unit:"ft/h",isMetricGoal:!0},tripping_out_speed_cased:{label:"Cased Hole Tripping Out Speed",key:"tripping_out_speed_cased",unitType:"velocity",unit:"ft/h",isMetricGoal:!0},tripping_out_speed_open:{label:"Open Hole Tripping Out Speed",key:"tripping_out_speed_open",unitType:"velocity",unit:"ft/h",isMetricGoal:!0},gross_tripping_in_speed_cased:{label:"Cased Hole Tripping In Speed (With Connections)",key:"gross_tripping_in_speed_cased",unitType:"velocity",unit:"ft/h",isMetricGoal:!0},gross_tripping_in_speed_open:{label:"Open Hole Tripping In Speed (With Connections)",key:"gross_tripping_in_speed_open",unitType:"velocity",unit:"ft/h",isMetricGoal:!0},gross_tripping_in_time_cased:{label:"Cased Hole Tripping In Time (With Connections)",key:"gross_tripping_in_time_cased",unitType:"time",unit:"min",isMetricGoal:!0},gross_tripping_in_time_open:{label:"Open Hole Tripping In Time (With Connections)",key:"gross_tripping_in_time_open",unitType:"time",unit:"min",isMetricGoal:!0},slips_to_slips_average:{label:"Casing Slips to Slips",key:"slips_to_slips_average",unitType:"time",unit:"s",isMetricGoal:!0},tripping_in_time_cased:{label:"Cased Hole Tripping In Time",key:"tripping_in_time_cased",unitType:"time",unit:"min",isMetricGoal:!1},tripping_in_time_open:{label:"Open Hole Tripping In Time",key:"tripping_in_time_open",unitType:"time",unit:"min",isMetricGoal:!1},casing_tripping_in_speed_cased:{label:"Cased Hole Tripping In Speed",key:"casing_tripping_in_speed_cased",unitType:"velocity",unit:"ft/h",isMetricGoal:!1},casing_tripping_in_speed_open:{label:"Open Hole Tripping In Speed",key:"casing_tripping_in_speed_open",unitType:"velocity",unit:"ft/h",isMetricGoal:!1},bottom_to_slips_average:{label:"Bottom to Slips Time",key:"bottom_to_slips_average",unitType:"time",unit:"s",isMetricGoal:!0},drilling_connection_average:{label:"Slips to Slips Time",key:"drilling_connection_average",unitType:"time",unit:"s",isMetricGoal:!0},slips_to_bottom_average:{label:"Slips to Bottom Time",key:"slips_to_bottom_average",unitType:"time",unit:"s",isMetricGoal:!0},weight_to_weight_average:{label:"Weight to Weight Time",key:"weight_to_weight_average",unitType:"time",unit:"s",isMetricGoal:!0},rop:{label:"On-Bottom ROP",key:"rop",unitType:"velocity",unit:"ft/h",isMetricGoal:!0},rop_gross:{label:"Gross ROP",key:"rop_gross",unitType:"velocity",unit:"ft/h",isMetricGoal:!0},rop_rotary:{label:"Rotary ROP",key:"rop_rotary",unitType:"velocity",unit:"ft/h",isMetricGoal:!0},rop_slide:{label:"Slide ROP",key:"rop_slide",unitType:"velocity",unit:"ft/h",isMetricGoal:!0},nu_nd_diverter_timelog_hal:{label:"NU/ND Diverter",key:"nu_nd_diverter_timelog_hal",unitType:"time",unit:"h",isMetricGoal:!0},ru_rd_casing_handling_equip_timelog_hal:{label:"RU/RD Casing Handling Equip",key:"ru_rd_casing_handling_equip_timelog_hal",unitType:"time",unit:"h",isMetricGoal:!0},bop_wellhead_xmt_nu_nd_timelog_hal:{label:"BOP/Wellhead/XMT NU/ND",key:"bop_wellhead_xmt_nu_nd_timelog_hal",unitType:"time",unit:"h",isMetricGoal:!0},bop_pressure_function_test_timelog_hal:{label:"BOP Pressure & Function Test",key:"bop_pressure_function_test_timelog_hal",unitType:"time",unit:"h",isMetricGoal:!0},install_retrieve_wear_bushing_timelog_hal:{label:"Install / Retrieve Wear Bushing",key:"install_retrieve_wear_bushing_timelog_hal",unitType:"time",unit:"h",isMetricGoal:!0},p_u_l_d_bha_timelog_hal:{label:"P/U & L/D BHA",key:"p_u_l_d_bha_timelog_hal",unitType:"time",unit:"h",isMetricGoal:!0},drillout_casing_shoe_track_timelog_hal:{label:"Drillout Casing Shoe Track",key:"drillout_casing_shoe_track_timelog_hal",unitType:"time",unit:"h",isMetricGoal:!0},slip_cut_timelog_hal:{label:"Slip & Cut",key:"slip_cut_timelog_hal",unitType:"time",unit:"h",isMetricGoal:!0},survey_time_timelog_hal:{label:"Survey Time",key:"survey_time_timelog_hal",unitType:"time",unit:"h",isMetricGoal:!0},drill_fit_lot_timelog_hal:{label:"Drill & FIT/LOT",key:"drill_fit_lot_timelog_hal",unitType:"time",unit:"h",isMetricGoal:!0},pressure_test_timelog_hal:{label:"Pressure Test",key:"pressure_test_timelog_hal",unitType:"time",unit:"h",isMetricGoal:!0},ru_rd_mpd_system_or_rcd_timelog_hal:{label:"RU/RD MPD System or RCD",key:"ru_rd_mpd_system_or_rcd_timelog_hal",unitType:"time",unit:"h",isMetricGoal:!0},achieve_frac_design_injection_rate_timelog_hal:{label:"Achieve Frac Design Injection Rate",key:"achieve_frac_design_injection_rate_timelog_hal",unitType:"time",unit:"h",isMetricGoal:!0},ru_rd_frac_head_timelog_hal:{label:"RU/RD Frac Head",key:"ru_rd_frac_head_timelog_hal",unitType:"time",unit:"h",isMetricGoal:!0},ru_rd_wireline_timelog_hal:{label:"RU/RD Wireline",key:"ru_rd_wireline_timelog_hal",unitType:"time",unit:"h",isMetricGoal:!0},ru_rd_lubricator_perf_guns_timelog_hal:{label:"RU/RD Lubricator & Perf Guns",key:"ru_rd_lubricator_perf_guns_timelog_hal",unitType:"time",unit:"h",isMetricGoal:!0}};export{o as GoalsConfig};
|
|
1
|
+
import{getUnitDescription as e,getUnitPreference as i}from"../convert.js";import{convertPercentageMetrics as t,convertPercentageToSave as n,convertCostToShow as _,convertCostToSave as p}from"../metrics/utils.js";var o={cumulative_tortuosity:{label:"Cumulative Tortuosity",key:"cumulative_tortuosity",isMetricGoal:!0},drilling_percentage:{label:"Drilling %",key:"drilling_percentage",convertToShow:t,convertToSave:n,unitType:"percent",unit:"%",isMetricGoal:!0},drilled_feet_rotary_percentage:{label:"Rotary %",key:"drilled_feet_rotary_percentage",convertToShow:t,convertToSave:n,unitType:"percent",unit:"%",isMetricGoal:!0},drilled_feet_slide_percentage:{label:"Slide %",key:"drilled_feet_slide_percentage",convertToShow:t,convertToSave:n,unitType:"percent",unit:"%",isMetricGoal:!0},feet_per_day:{label:"Drilled Distance/Day",key:"feet_per_day",unitType:"length",unit:"ft",formatUnitDisplay:function(e){return"".concat(e,"/day")},isMetricGoal:!0},on_bottom_percentage:{label:"On Bottom %",key:"on_bottom_percentage",convertToShow:t,convertToSave:n,unitType:"percent",unit:"%",isMetricGoal:!0},npt:{label:"NPT",key:"npt",unitType:"time",unit:"h",isMetricGoal:!0},pumps_on_to_bottom_average:{label:"Pumps on to Bottom",key:"pumps_on_to_bottom_average",unitType:"time",unit:"s",isMetricGoal:!0},spud_to_landing_point:{label:"Spud to Landing Point",key:"spud_to_landing_point",unitType:"time",unit:"h",isMetricGoal:!0},spud_to_rig_release_time:{label:"Spud to Rig Release",key:"spud_to_rig_release_time",unitType:"time",unit:"h",isMetricGoal:!0},spud_to_target:{label:"Spud to Target",key:"spud_to_target",unitType:"time",unit:"h",isMetricGoal:!0},spud_to_total_depth_time:{label:"Spud to Total Depth",key:"spud_to_total_depth_time",unitType:"time",unit:"h",isMetricGoal:!0},cost_per_ft:{label:"Cost/".concat(e(i("length")).singular),key:"cost_per_ft",convertToShow:_,convertToSave:p,isMetricGoal:!0},cost_per_lat_ft:{label:"Lateral Cost/".concat(e(i("length")).singular),key:"cost_per_lat_ft",convertToShow:_,convertToSave:p,isMetricGoal:!0},gross_tripping_in_speed_total:{label:"Gross Tripping In Speed",key:"gross_tripping_in_speed_total",unitType:"velocity",unit:"ft/h",isMetricGoal:!0},gross_tripping_out_speed_total:{label:"Gross Tripping Out Speed",key:"gross_tripping_out_speed_total",unitType:"velocity",unit:"ft/h",isMetricGoal:!0},tripping_in_connection_time:{label:"Tripping in (Connection)",key:"tripping_in_connection_time",unitType:"time",unit:"min",isMetricGoal:!0},tripping_in_running_time:{label:"Tripping in (Running)",key:"tripping_in_running_time",unitType:"time",unit:"min",isMetricGoal:!1},trip_gross_tripping_in_speed_cased:{label:"Cased Hole Tripping In Speed (With Connections)",key:"trip_gross_tripping_in_speed_cased",unitType:"velocity",unit:"ft/h",isMetricGoal:!1},trip_gross_tripping_in_speed_open:{label:"Open Hole Tripping In Speed (With Connections)",key:"trip_gross_tripping_in_speed_open",unitType:"velocity",unit:"ft/h",isMetricGoal:!1},trip_tripping_in_time_cased:{label:"Cased Hole Tripping In Time",key:"trip_tripping_in_time_cased",unitType:"time",unit:"min",isMetricGoal:!1},trip_tripping_in_time_open:{label:"Open Hole Tripping In Time",key:"trip_tripping_in_time_open",unitType:"time",unit:"min",isMetricGoal:!1},trip_gross_tripping_in_time_cased:{label:"Cased Hole Tripping In Time (With Connections)",key:"trip_gross_tripping_in_time_cased",unitType:"time",unit:"min",isMetricGoal:!1},trip_gross_tripping_in_time_open:{label:"Open Hole Tripping In Time (With Connections)",key:"trip_gross_tripping_in_time_open",unitType:"time",unit:"min",isMetricGoal:!1},gross_tripping_out_speed_cased:{label:"Cased Hole Tripping Out Speed (With Connections)",key:"gross_tripping_out_speed_cased",unitType:"velocity",unit:"ft/h",isMetricGoal:!1},gross_tripping_out_speed_open:{label:"Open Hole Tripping Out Speed (With Connections)",key:"gross_tripping_out_speed_open",unitType:"velocity",unit:"ft/h",isMetricGoal:!1},gross_tripping_out_time_cased:{label:"Cased Hole Tripping Out Time (With Connections)",key:"gross_tripping_out_time_cased",unitType:"time",unit:"min",isMetricGoal:!1},gross_tripping_out_time_open:{label:"Open Hole Tripping Out Time (With Connections)",key:"gross_tripping_out_time_open",unitType:"time",unit:"min",isMetricGoal:!1},tripping_out_time_cased:{label:"Cased Hole Tripping Out Time",key:"tripping_out_time_cased",unitType:"time",unit:"min",isMetricGoal:!1},tripping_out_time_open:{label:"Open Hole Tripping Out Time",key:"tripping_out_time_open",unitType:"time",unit:"min",isMetricGoal:!1},tripping_in_speed:{label:"Hole Tripping In Speed",key:"tripping_in_speed",unitType:"velocity",unit:"ft/h",isMetricGoal:!0},tripping_in_speed_cased:{label:"Cased Hole Tripping In Speed",key:"tripping_in_speed_cased",unitType:"velocity",unit:"ft/h",isMetricGoal:!0},tripping_in_speed_open:{label:"Open Hole Tripping In Speed",key:"tripping_in_speed_open",unitType:"velocity",unit:"ft/h",isMetricGoal:!0},tripping_out_connection_time:{label:"Tripping out (Connection)",key:"tripping_out_connection_time",unitType:"time",unit:"min",isMetricGoal:!0},tripping_out_running_time:{label:"Tripping out (Running)",key:"tripping_out_running_time",unitType:"time",unit:"min",isMetricGoal:!1},tripping_out_speed:{label:"Hole Tripping Out Speed",key:"tripping_out_speed",unitType:"velocity",unit:"ft/h",isMetricGoal:!0},tripping_out_speed_cased:{label:"Cased Hole Tripping Out Speed",key:"tripping_out_speed_cased",unitType:"velocity",unit:"ft/h",isMetricGoal:!0},tripping_out_speed_open:{label:"Open Hole Tripping Out Speed",key:"tripping_out_speed_open",unitType:"velocity",unit:"ft/h",isMetricGoal:!0},gross_tripping_in_speed_bha:{label:"Hole Tripping In Speed (With Connections)",key:"gross_tripping_in_speed_bha",unitType:"velocity",unit:"ft/h",isMetricGoal:!1},gross_tripping_out_speed_bha:{label:"Hole Tripping Out Speed (With Connections)",key:"gross_tripping_out_speed_bha",unitType:"velocity",unit:"ft/h",isMetricGoal:!1},gross_tripping_in_speed_cased:{label:"Cased Hole Tripping In Speed (With Connections)",key:"gross_tripping_in_speed_cased",unitType:"velocity",unit:"ft/h",isMetricGoal:!0},gross_tripping_in_speed_open:{label:"Open Hole Tripping In Speed (With Connections)",key:"gross_tripping_in_speed_open",unitType:"velocity",unit:"ft/h",isMetricGoal:!0},gross_tripping_in_time_cased:{label:"Cased Hole Tripping In Time (With Connections)",key:"gross_tripping_in_time_cased",unitType:"time",unit:"min",isMetricGoal:!0},gross_tripping_in_time_open:{label:"Open Hole Tripping In Time (With Connections)",key:"gross_tripping_in_time_open",unitType:"time",unit:"min",isMetricGoal:!0},slips_to_slips_average:{label:"Casing Slips to Slips",key:"slips_to_slips_average",unitType:"time",unit:"s",isMetricGoal:!0},tripping_in_time_cased:{label:"Cased Hole Tripping In Time",key:"tripping_in_time_cased",unitType:"time",unit:"min",isMetricGoal:!1},tripping_in_time_open:{label:"Open Hole Tripping In Time",key:"tripping_in_time_open",unitType:"time",unit:"min",isMetricGoal:!1},casing_tripping_in_speed_cased:{label:"Cased Hole Tripping In Speed",key:"casing_tripping_in_speed_cased",unitType:"velocity",unit:"ft/h",isMetricGoal:!1},casing_tripping_in_speed_open:{label:"Open Hole Tripping In Speed",key:"casing_tripping_in_speed_open",unitType:"velocity",unit:"ft/h",isMetricGoal:!1},bottom_to_slips_average:{label:"Bottom to Slips Time",key:"bottom_to_slips_average",unitType:"time",unit:"s",isMetricGoal:!0},drilling_connection_average:{label:"Slips to Slips Time",key:"drilling_connection_average",unitType:"time",unit:"s",isMetricGoal:!0},slips_to_bottom_average:{label:"Slips to Bottom Time",key:"slips_to_bottom_average",unitType:"time",unit:"s",isMetricGoal:!0},weight_to_weight_average:{label:"Weight to Weight Time",key:"weight_to_weight_average",unitType:"time",unit:"s",isMetricGoal:!0},rop:{label:"On-Bottom ROP",key:"rop",unitType:"velocity",unit:"ft/h",isMetricGoal:!0},rop_gross:{label:"Gross ROP",key:"rop_gross",unitType:"velocity",unit:"ft/h",isMetricGoal:!0},rop_rotary:{label:"Rotary ROP",key:"rop_rotary",unitType:"velocity",unit:"ft/h",isMetricGoal:!0},rop_slide:{label:"Slide ROP",key:"rop_slide",unitType:"velocity",unit:"ft/h",isMetricGoal:!0},nu_nd_diverter_timelog_hal:{label:"NU/ND Diverter",key:"nu_nd_diverter_timelog_hal",unitType:"time",unit:"h",isMetricGoal:!0},ru_rd_casing_handling_equip_timelog_hal:{label:"RU/RD Casing Handling Equip",key:"ru_rd_casing_handling_equip_timelog_hal",unitType:"time",unit:"h",isMetricGoal:!0},bop_wellhead_xmt_nu_nd_timelog_hal:{label:"BOP/Wellhead/XMT NU/ND",key:"bop_wellhead_xmt_nu_nd_timelog_hal",unitType:"time",unit:"h",isMetricGoal:!0},bop_pressure_function_test_timelog_hal:{label:"BOP Pressure & Function Test",key:"bop_pressure_function_test_timelog_hal",unitType:"time",unit:"h",isMetricGoal:!0},install_retrieve_wear_bushing_timelog_hal:{label:"Install / Retrieve Wear Bushing",key:"install_retrieve_wear_bushing_timelog_hal",unitType:"time",unit:"h",isMetricGoal:!0},p_u_l_d_bha_timelog_hal:{label:"P/U & L/D BHA",key:"p_u_l_d_bha_timelog_hal",unitType:"time",unit:"h",isMetricGoal:!0},drillout_casing_shoe_track_timelog_hal:{label:"Drillout Casing Shoe Track",key:"drillout_casing_shoe_track_timelog_hal",unitType:"time",unit:"h",isMetricGoal:!0},slip_cut_timelog_hal:{label:"Slip & Cut",key:"slip_cut_timelog_hal",unitType:"time",unit:"h",isMetricGoal:!0},survey_time_timelog_hal:{label:"Survey Time",key:"survey_time_timelog_hal",unitType:"time",unit:"h",isMetricGoal:!0},drill_fit_lot_timelog_hal:{label:"Drill & FIT/LOT",key:"drill_fit_lot_timelog_hal",unitType:"time",unit:"h",isMetricGoal:!0},pressure_test_timelog_hal:{label:"Pressure Test",key:"pressure_test_timelog_hal",unitType:"time",unit:"h",isMetricGoal:!0},ru_rd_mpd_system_or_rcd_timelog_hal:{label:"RU/RD MPD System or RCD",key:"ru_rd_mpd_system_or_rcd_timelog_hal",unitType:"time",unit:"h",isMetricGoal:!0},achieve_frac_design_injection_rate_timelog_hal:{label:"Achieve Frac Design Injection Rate",key:"achieve_frac_design_injection_rate_timelog_hal",unitType:"time",unit:"h",isMetricGoal:!0},ru_rd_frac_head_timelog_hal:{label:"RU/RD Frac Head",key:"ru_rd_frac_head_timelog_hal",unitType:"time",unit:"h",isMetricGoal:!0},ru_rd_wireline_timelog_hal:{label:"RU/RD Wireline",key:"ru_rd_wireline_timelog_hal",unitType:"time",unit:"h",isMetricGoal:!0},ru_rd_lubricator_perf_guns_timelog_hal:{label:"RU/RD Lubricator & Perf Guns",key:"ru_rd_lubricator_perf_guns_timelog_hal",unitType:"time",unit:"h",isMetricGoal:!0}};export{o as GoalsConfig};
|