@corva/ui 3.54.1 → 3.55.0-10
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/Popover.js.map +1 -1
- package/cjs-bundle/components/AddComment/components/Content.js +1 -1
- package/cjs-bundle/components/AddComment/components/Content.js.map +1 -1
- package/cjs-bundle/components/AdvancedSlider/Handle.js +1 -1
- package/cjs-bundle/components/AdvancedSlider/Handle.js.map +1 -1
- package/cjs-bundle/components/Attachment/index.js +1 -1
- package/cjs-bundle/components/Attachment/index.js.map +1 -1
- package/cjs-bundle/components/BICOffsetPickerDialog/index.js +1 -1
- package/cjs-bundle/components/BICOffsetPickerDialog/index.js.map +1 -1
- package/cjs-bundle/components/Breadcrumbs/index.js +1 -1
- package/cjs-bundle/components/Button/components/LiveButton/index.js +1 -1
- package/cjs-bundle/components/Button/index.js +1 -1
- package/cjs-bundle/components/Casing/CasingTableV2/components/CasingJoints/Editor.js +1 -1
- package/cjs-bundle/components/Casing/CasingTableV2/components/CasingJoints/Editor.js.map +1 -1
- package/cjs-bundle/components/Casing/CasingTableV2/components/Component.js +1 -1
- package/cjs-bundle/components/Casing/CasingTableV2/components/Component.js.map +1 -1
- package/cjs-bundle/components/Casing/CasingTableV2/components/DrillPipe/Editor.js +1 -1
- package/cjs-bundle/components/Casing/CasingTableV2/components/DrillPipe/Editor.js.map +1 -1
- package/cjs-bundle/components/Chart/components/AxisDropdown.js +1 -1
- package/cjs-bundle/components/Chart/components/AxisDropdown.js.map +1 -1
- package/cjs-bundle/components/Chart/components/ChartSelect.js +1 -1
- package/cjs-bundle/components/Chart/components/ChartSelect.js.map +1 -1
- package/cjs-bundle/components/Chart/components/buttons/ChartTypeButton.js +1 -1
- package/cjs-bundle/components/Chart/components/buttons/ChartTypeButton.js.map +1 -1
- package/cjs-bundle/components/Chart/components/buttons/DragToZoomButton.js +1 -1
- package/cjs-bundle/components/Chart/components/buttons/DragToZoomButton.js.map +1 -1
- package/cjs-bundle/components/Chart/components/buttons/HideAxesButton.js +1 -1
- package/cjs-bundle/components/Chart/components/buttons/HideAxesButton.js.map +1 -1
- package/cjs-bundle/components/Chart/components/buttons/PanButton.js +1 -1
- package/cjs-bundle/components/Chart/components/buttons/PanButton.js.map +1 -1
- package/cjs-bundle/components/Chart/components/buttons/ResetZoomButton.js +1 -1
- package/cjs-bundle/components/Chart/components/buttons/ResetZoomButton.js.map +1 -1
- package/cjs-bundle/components/Chart/components/buttons/ZoomInButton.js +1 -1
- package/cjs-bundle/components/Chart/components/buttons/ZoomInButton.js.map +1 -1
- package/cjs-bundle/components/Chart/components/buttons/ZoomOutButton.js +1 -1
- package/cjs-bundle/components/Chart/components/buttons/ZoomOutButton.js.map +1 -1
- package/cjs-bundle/components/Chip/index.js +1 -1
- package/cjs-bundle/components/CollapsableSidebar.js +1 -1
- package/cjs-bundle/components/CollapsableSidebar.js.map +1 -1
- package/cjs-bundle/components/ColorPicker/ColorPicker.js +1 -1
- package/cjs-bundle/components/ColorPicker/PaletteChromePicker/PaletteChromePicker.js +1 -1
- package/cjs-bundle/components/CopyToClipboard/CopyToClipboard.js +1 -1
- package/cjs-bundle/components/Counter/index.js +1 -1
- package/cjs-bundle/components/DatePicker/index.js +1 -1
- package/cjs-bundle/components/DateTimePicker/index.js +1 -1
- package/cjs-bundle/components/DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.js +1 -1
- package/cjs-bundle/components/DevCenter/AppSettingsPopover/AppSettingsPopover.js +1 -1
- package/cjs-bundle/components/DevCenter/AppSideBar/AppSideBar.js +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js.map +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js.map +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/RemoveAppButton.js +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/RemoveAppButton.js.map +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.js +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.js +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.js +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.js.map +1 -1
- package/cjs-bundle/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js +1 -1
- package/cjs-bundle/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js.map +1 -1
- package/cjs-bundle/components/DocumentViewer/DocumentViewer.js +1 -1
- package/cjs-bundle/components/DocumentViewer/DocumentViewer.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Component.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Component.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js.map +1 -1
- package/cjs-bundle/components/EChartsWrapper/components/Toolbox/Toolbox.js +1 -1
- package/cjs-bundle/components/ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js +1 -1
- package/cjs-bundle/components/ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js.map +1 -1
- package/cjs-bundle/components/FeedItem/FeedItem.js +1 -1
- package/cjs-bundle/components/FeedItem/FeedItem.js.map +1 -1
- package/cjs-bundle/components/FeedItem/components/Content.js +1 -1
- package/cjs-bundle/components/FeedItem/components/Content.js.map +1 -1
- package/cjs-bundle/components/FeedItem/components/FeedComments.js +1 -1
- package/cjs-bundle/components/FeedItem/components/FeedComments.js.map +1 -1
- package/cjs-bundle/components/FeedItem/components/Reactions.js +1 -1
- package/cjs-bundle/components/FeedItem/components/Reactions.js.map +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/AlertFeedItem.js +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/AlertFeedItem.js.map +1 -1
- package/cjs-bundle/components/FilesDropzone/FilesDropzone.js +1 -1
- package/cjs-bundle/components/FilesLoader/FilesLoader.js +1 -1
- package/cjs-bundle/components/FilesLoaderV2/FilesLoaderV2.js +1 -1
- package/cjs-bundle/components/Formula/CloseSuggestion.js +1 -1
- package/cjs-bundle/components/Formula/CloseSuggestion.js.map +1 -1
- package/cjs-bundle/components/Formula/Formula.js +1 -1
- package/cjs-bundle/components/GradientManager/GradientManager.js +1 -1
- package/cjs-bundle/components/GradientManager/GradientSelect.js +1 -1
- package/cjs-bundle/components/GradientPicker/GradientPicker.js +1 -1
- package/cjs-bundle/components/HelpCenter/HelpCenterIcon.js +1 -1
- package/cjs-bundle/components/HelpCenter/HelpCenterIcon.js.map +1 -1
- package/cjs-bundle/components/Hint/Hint.js +1 -1
- package/cjs-bundle/components/ImageViewer/index.js +1 -1
- package/cjs-bundle/components/ImageViewer/index.js.map +1 -1
- package/cjs-bundle/components/Modal/CorvaModal.js +1 -1
- package/cjs-bundle/components/Notifications/Toast.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/index.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/index.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/index.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/index.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/WellHubView/index.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/WellHubView/index.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/api/shared/fetchers/getAllAssets.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/api/shared/fetchers/getAssetsByBounds.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/AppHeader/components/HeaderActions/HeaderActions.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/AppHeader/components/LoadAllWellsToggle/LoadAllWellsToggle.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/CustomInfoIcon/CustomInfoIcon.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/Filter.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/CustomDateFields/CustomDateFields.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/PeriodFilterSelect/PeriodFilterSelect.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/SingleFilterSelect/SingleFilterSelect.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/ClusterTooltip/ClusterTooltip.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/LayerSwitcher/LayerSwitcher.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapControls/MapControls.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SelectionToast/SelectionToast.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/WellTooltip/WellTooltip.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AdvancedSearch.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AssetResultSection/AssetResultSection.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AutoCompleteAssetSearch/AutoCompleteAssetSearch.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/MetricsSettingMenu/MetricsSettingMenu.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/WellNameHeaderCell/WellNameHeaderCell.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/PickerModalActions/PickerModalActions.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useWellDataPipeline.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/hooks/useAllWells/useAllWells.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/hooks/useAllWells/useCompanyIdChangeEffect.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/hooks/useAllWells/useDrillingFilterChangeEffect.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV5/hooks/useAllWells/useDrillingFilterChangeEffect.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV5/hooks/useAllWells/useLoadAllWellsCallback.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/hooks/useViewportWells/fetchTile.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/hooks/useViewportWells/useCompanyIdResetEffect.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/hooks/useViewportWells/useDrillingFilterResetEffect.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV5/hooks/useViewportWells/useDrillingFilterResetEffect.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV5/hooks/useViewportWells/useHandleBoundsChange.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/hooks/useViewportWells/useViewportWells.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/utils/doesWellPassFilters.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/utils/isDrillingOnlyWell.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV5/utils/isDrillingOnlyWell.js.map +1 -0
- package/cjs-bundle/components/PadModeSelect/FracModeLabel.js +1 -1
- package/cjs-bundle/components/PadModeSelect/PadModeSelect.js +1 -1
- package/cjs-bundle/components/PadOffsetsPicker/StagesSelector.js +1 -1
- package/cjs-bundle/components/PadOffsetsPicker/StagesSelector.js.map +1 -1
- package/cjs-bundle/components/PadOffsetsPickerV2/PadOffsetsPickerV2.js +1 -1
- package/cjs-bundle/components/ParameterCharts/components/TraceHeader.js +1 -1
- package/cjs-bundle/components/ParameterCharts/components/TraceHeader.js.map +1 -1
- package/cjs-bundle/components/PinnableFilters/components/FiltersToggler.js +1 -1
- package/cjs-bundle/components/PinnableFilters/components/FiltersToggler.js.map +1 -1
- package/cjs-bundle/components/Popover/Popover.js +1 -1
- package/cjs-bundle/components/Popper/Popper.js +1 -1
- package/cjs-bundle/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBoxEditDialog.js +1 -1
- package/cjs-bundle/components/RealTimeValuesSidebar/SidebarFooter.js +1 -1
- package/cjs-bundle/components/Search/Search.js +1 -1
- package/cjs-bundle/components/Select/SelectFilterBy.js +1 -1
- package/cjs-bundle/components/SettingEditors/ColorEditor/index.js +1 -1
- package/cjs-bundle/components/StatusBadge/constants.js +1 -1
- package/cjs-bundle/components/Stepper/Step/Step.js +1 -1
- package/cjs-bundle/components/Table/TableCell/TableCell.js +1 -1
- package/cjs-bundle/components/Table/TablePaginationActions/TablePaginationActions.js +1 -1
- package/cjs-bundle/components/Table/TableSortLabel/TableSortLabel.js +1 -1
- package/cjs-bundle/components/Toaster/Toaster.js +1 -1
- package/cjs-bundle/componentsV2/Accordion/Accordion.js +1 -1
- package/cjs-bundle/componentsV2/AppDqPopover/DqAlertTooltip/DqAlertTooltip.js +1 -1
- package/cjs-bundle/componentsV2/AppDqPopover/DqAsset/DqAsset.js +1 -1
- package/cjs-bundle/componentsV2/AppFooter/DqPopover/DqStatusIcon/DqStatusIcon.js +1 -1
- package/cjs-bundle/componentsV2/AppFooter/Warning.js +1 -1
- package/cjs-bundle/componentsV2/AppHeader/AppAssets/utils.js +1 -1
- package/cjs-bundle/componentsV2/AppHeader/V3/Actions/Actions.js +1 -1
- package/cjs-bundle/componentsV2/AppHeader/V3/AppTitle/AppTitle.js +1 -1
- package/cjs-bundle/componentsV2/AppHeader/V3/AssetSelector/AssetSelectorChip/AssetSelectorChip.js +1 -1
- package/cjs-bundle/componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/AssetSelectorContent.js +1 -1
- package/cjs-bundle/componentsV2/AppHeader/V3/AssetSelector/constants.js +1 -1
- package/cjs-bundle/componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.js +1 -1
- package/cjs-bundle/componentsV2/AppHeader/V3/SettingsButton/SettingsButton.js +1 -1
- package/cjs-bundle/componentsV2/AppHeader/V3/VersionSelect/VersionSelect.js +1 -1
- package/cjs-bundle/componentsV2/AppSettings/AppSettings.js +1 -1
- package/cjs-bundle/componentsV2/Autocomplete/Autocomplete.js +1 -1
- package/cjs-bundle/componentsV2/Breadcrumbs/Breadcrumbs.js +1 -1
- package/cjs-bundle/componentsV2/ButtonLive/ButtonLive.js +1 -1
- package/cjs-bundle/componentsV2/Chip/Chip.js +1 -1
- package/cjs-bundle/componentsV2/ColorPicker/ColorPicker.js +1 -1
- package/cjs-bundle/componentsV2/ColorPicker/Swatches/Swatches.js +1 -1
- package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/AssetSearchInput/AssetSearchInput.js +1 -1
- package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/CompletionsOffsetWellPicker.js +1 -1
- package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/Map/Map.js +1 -1
- package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/ModalTitle/ModalTitle.js +1 -1
- package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/PadsTable/PadsTable.js +1 -1
- package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/PadsTable/helpers/columns.js +1 -1
- package/cjs-bundle/componentsV2/CopyToClipboard/CopyToClipboard.js +1 -1
- package/cjs-bundle/componentsV2/Counter/Counter.js +1 -1
- package/cjs-bundle/componentsV2/DatePicker/CalendarControls/CalendarControls.js +1 -1
- package/cjs-bundle/componentsV2/DatePicker/Input/Input.js +1 -1
- package/cjs-bundle/componentsV2/DragHandle/DragHandle.js +1 -1
- package/cjs-bundle/componentsV2/FilesDropzone/FilesDropzone.js +1 -1
- package/cjs-bundle/componentsV2/FilesLoader/FilesLoader.js +1 -1
- package/cjs-bundle/componentsV2/Hint/Hint.js +1 -1
- package/cjs-bundle/componentsV2/ModalWindow/ModalWindow.js +1 -1
- package/cjs-bundle/componentsV2/OffsetWellsButton/OffsetWellsButton.js +1 -1
- package/cjs-bundle/componentsV2/OffsetWellsButton/useOffsetWellsIcon.js +1 -1
- package/cjs-bundle/componentsV2/PadModeSelect/FracModeLabel/FracModeLabel.js +1 -1
- package/cjs-bundle/componentsV2/PadModeSelect/PadModeSelect.js +1 -1
- package/cjs-bundle/componentsV2/Stepper/Step/Step.js +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/FolderMenu/FolderMenu.js +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/MoveToFolderMenu/MoveToFolderMenu.js +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/Popover/Popover.js +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/PopoverSearch/PopoverSearch.js +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/ShareModal/ShareModal.js +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/TemplateMenu/IconMenu/IconMenu.js +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/TemplatesControl.js +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/TemplatesTreeMenuHeader/TemplatesTreeMenuHeader.js +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/TemplatesTreeNodeItem/TemplatesTreeNodeItem.js +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/TemplatesTreeTemplate/TemplatesTreeTemplate.js +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/Toggle/Toggle.js +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/Toggle/Toggle.scss.js +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/ToggleDisplayDefault/ToggleDisplayDefault.js +2 -0
- package/cjs-bundle/componentsV2/TemplatesControl/ToggleDisplayDefault/ToggleDisplayDefault.js.map +1 -0
- package/cjs-bundle/componentsV2/TemplatesControl/ToggleDisplayDefault/ToggleDisplayDefault.scss.js +2 -0
- package/cjs-bundle/componentsV2/TemplatesControl/ToggleDisplayDefault/ToggleDisplayDefault.scss.js.map +1 -0
- package/cjs-bundle/componentsV2/TemplatesControl/UnsavedChangesBadge/UnsavedChangesBadge.js +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/CopyTemplate.js +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/ExportTemplate.js +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/MoveTemplateOutOfFolder.js +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/MoveTemplateToFolder.js +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/RemoveTemplate.js +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/RevertTemplate.js +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/ShareTemplate.js +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/UnfollowTemplate.js +1 -1
- package/cjs-bundle/componentsV2/TextInput/TextInput.js +1 -1
- package/cjs-bundle/componentsV2/TextInputNext/TextInputNext.js +1 -1
- package/cjs-bundle/componentsV2/TextInputNext/components/InfoIcon.js +1 -1
- package/cjs-bundle/componentsV2/WellArchivedMessage/WellArchivedMessage.js +1 -1
- package/cjs-bundle/config/theme/index.js +1 -1
- package/cjs-bundle/config/theme/index.js.map +1 -1
- package/cjs-bundle/icons/customIcons/icons/ArchiveOne.js +2 -0
- package/cjs-bundle/icons/customIcons/icons/ArchiveOne.js.map +1 -0
- package/cjs-bundle/icons/customIcons/icons/AtSignCrossed.js +2 -0
- package/cjs-bundle/icons/customIcons/icons/AtSignCrossed.js.map +1 -0
- package/cjs-bundle/icons/customIcons/icons/CalibrationOps.js +2 -0
- package/cjs-bundle/icons/customIcons/icons/CalibrationOps.js.map +1 -0
- package/cjs-bundle/icons/customIcons/icons/ClipboardAi.js +2 -0
- package/cjs-bundle/icons/customIcons/icons/ClipboardAi.js.map +1 -0
- package/cjs-bundle/icons/customIcons/icons/ClipboardBuilder.js +2 -0
- package/cjs-bundle/icons/customIcons/icons/ClipboardBuilder.js.map +1 -0
- package/cjs-bundle/icons/customIcons/icons/ClipboardMetrics.js +2 -0
- package/cjs-bundle/icons/customIcons/icons/ClipboardMetrics.js.map +1 -0
- package/cjs-bundle/icons/customIcons/icons/ClipboardSearch.js +2 -0
- package/cjs-bundle/icons/customIcons/icons/ClipboardSearch.js.map +1 -0
- package/cjs-bundle/icons/customIcons/icons/Companies.js +2 -0
- package/cjs-bundle/icons/customIcons/icons/Companies.js.map +1 -0
- package/cjs-bundle/icons/customIcons/icons/Company.js +2 -0
- package/cjs-bundle/icons/customIcons/icons/Company.js.map +1 -0
- package/cjs-bundle/icons/customIcons/icons/Connect.js +2 -0
- package/cjs-bundle/icons/customIcons/icons/Connect.js.map +1 -0
- package/cjs-bundle/icons/customIcons/icons/CriticalOps.js +2 -0
- package/cjs-bundle/icons/customIcons/icons/CriticalOps.js.map +1 -0
- package/cjs-bundle/icons/customIcons/icons/DataTypeOps.js +2 -0
- package/cjs-bundle/icons/customIcons/icons/DataTypeOps.js.map +1 -0
- package/cjs-bundle/icons/customIcons/icons/Drops.js +2 -0
- package/cjs-bundle/icons/customIcons/icons/Drops.js.map +1 -0
- package/cjs-bundle/icons/customIcons/icons/ErrorOps.js +2 -0
- package/cjs-bundle/icons/customIcons/icons/ErrorOps.js.map +1 -0
- package/cjs-bundle/icons/customIcons/icons/FalsePositiveOps.js +2 -0
- package/cjs-bundle/icons/customIcons/icons/FalsePositiveOps.js.map +1 -0
- package/cjs-bundle/icons/customIcons/icons/Feed.js +2 -0
- package/cjs-bundle/icons/customIcons/icons/Feed.js.map +1 -0
- package/cjs-bundle/icons/customIcons/icons/Key.js +2 -0
- package/cjs-bundle/icons/customIcons/icons/Key.js.map +1 -0
- package/cjs-bundle/icons/customIcons/icons/Mapping.js +2 -0
- package/cjs-bundle/icons/customIcons/icons/Mapping.js.map +1 -0
- package/cjs-bundle/icons/customIcons/icons/MappingManual.js +2 -0
- package/cjs-bundle/icons/customIcons/icons/MappingManual.js.map +1 -0
- package/cjs-bundle/icons/customIcons/icons/Metrics.js +2 -0
- package/cjs-bundle/icons/customIcons/icons/Metrics.js.map +1 -0
- package/cjs-bundle/icons/customIcons/icons/NPT.js +2 -0
- package/cjs-bundle/icons/customIcons/icons/NPT.js.map +1 -0
- package/cjs-bundle/icons/customIcons/icons/ParseBotFusion.js +2 -0
- package/cjs-bundle/icons/customIcons/icons/ParseBotFusion.js.map +1 -0
- package/cjs-bundle/icons/customIcons/icons/Prompt.js +2 -0
- package/cjs-bundle/icons/customIcons/icons/Prompt.js.map +1 -0
- package/cjs-bundle/icons/customIcons/icons/PuzzleOne.js +2 -0
- package/cjs-bundle/icons/customIcons/icons/PuzzleOne.js.map +1 -0
- package/cjs-bundle/icons/customIcons/icons/Template.js +2 -0
- package/cjs-bundle/icons/customIcons/icons/Template.js.map +1 -0
- package/cjs-bundle/icons/customIcons/icons/UnitConversion.js +2 -0
- package/cjs-bundle/icons/customIcons/icons/UnitConversion.js.map +1 -0
- package/cjs-bundle/icons/index.js +1 -1
- package/cjs-bundle/testing/AppTestWrapper/AppTestWrapper.js +1 -1
- package/components/AddComment/Popover.js +1 -1
- package/components/AddComment/Popover.js.map +1 -1
- package/components/AddComment/components/Content.js +1 -1
- package/components/AddComment/components/Content.js.map +1 -1
- package/components/AdvancedSlider/Handle.js +1 -1
- package/components/AdvancedSlider/Handle.js.map +1 -1
- package/components/Attachment/index.js +1 -1
- package/components/Attachment/index.js.map +1 -1
- package/components/BICOffsetPickerDialog/index.js +1 -1
- package/components/BICOffsetPickerDialog/index.js.map +1 -1
- package/components/Breadcrumbs/index.js +1 -1
- package/components/Button/components/LiveButton/index.js +1 -1
- package/components/Button/index.js +1 -1
- package/components/Casing/CasingTableV2/components/CasingJoints/Editor.js +1 -1
- package/components/Casing/CasingTableV2/components/CasingJoints/Editor.js.map +1 -1
- package/components/Casing/CasingTableV2/components/Component.js +1 -1
- package/components/Casing/CasingTableV2/components/Component.js.map +1 -1
- package/components/Casing/CasingTableV2/components/DrillPipe/Editor.js +1 -1
- package/components/Casing/CasingTableV2/components/DrillPipe/Editor.js.map +1 -1
- package/components/Chart/components/AxisDropdown.js +1 -1
- package/components/Chart/components/AxisDropdown.js.map +1 -1
- package/components/Chart/components/ChartSelect.js +1 -1
- package/components/Chart/components/ChartSelect.js.map +1 -1
- package/components/Chart/components/buttons/ChartTypeButton.js +1 -1
- package/components/Chart/components/buttons/ChartTypeButton.js.map +1 -1
- package/components/Chart/components/buttons/DragToZoomButton.js +1 -1
- package/components/Chart/components/buttons/DragToZoomButton.js.map +1 -1
- package/components/Chart/components/buttons/HideAxesButton.js +1 -1
- package/components/Chart/components/buttons/HideAxesButton.js.map +1 -1
- package/components/Chart/components/buttons/PanButton.js +1 -1
- package/components/Chart/components/buttons/PanButton.js.map +1 -1
- package/components/Chart/components/buttons/ResetZoomButton.js +1 -1
- package/components/Chart/components/buttons/ResetZoomButton.js.map +1 -1
- package/components/Chart/components/buttons/ZoomInButton.js +1 -1
- package/components/Chart/components/buttons/ZoomInButton.js.map +1 -1
- package/components/Chart/components/buttons/ZoomOutButton.js +1 -1
- package/components/Chart/components/buttons/ZoomOutButton.js.map +1 -1
- package/components/Chip/index.js +1 -1
- package/components/CollapsableSidebar.js +1 -1
- package/components/CollapsableSidebar.js.map +1 -1
- package/components/ColorPicker/ColorPicker.js +1 -1
- package/components/ColorPicker/PaletteChromePicker/PaletteChromePicker.js +1 -1
- package/components/CopyToClipboard/CopyToClipboard.js +1 -1
- package/components/Counter/index.js +1 -1
- package/components/DatePicker/index.js +1 -1
- package/components/DateTimePicker/index.js +1 -1
- package/components/DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.js +1 -1
- package/components/DevCenter/AppSettingsPopover/AppSettingsPopover.js +1 -1
- package/components/DevCenter/AppSideBar/AppSideBar.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.d.ts +2 -1
- package/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.d.ts.map +1 -1
- package/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js.map +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js.map +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/RemoveAppButton.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/RemoveAppButton.js.map +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.js.map +1 -1
- package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js +1 -1
- package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js.map +1 -1
- package/components/DocumentViewer/DocumentViewer.js +1 -1
- package/components/DocumentViewer/DocumentViewer.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Component.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Component.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js.map +1 -1
- package/components/EChartsWrapper/components/Toolbox/Toolbox.js +1 -1
- package/components/ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js +1 -1
- package/components/ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js.map +1 -1
- package/components/FeedItem/FeedItem.d.ts +6 -1
- package/components/FeedItem/FeedItem.d.ts.map +1 -1
- package/components/FeedItem/FeedItem.js +1 -1
- package/components/FeedItem/FeedItem.js.map +1 -1
- package/components/FeedItem/components/Content.d.ts +2 -1
- package/components/FeedItem/components/Content.d.ts.map +1 -1
- package/components/FeedItem/components/Content.js +1 -1
- package/components/FeedItem/components/Content.js.map +1 -1
- package/components/FeedItem/components/FeedComments.js +1 -1
- package/components/FeedItem/components/FeedComments.js.map +1 -1
- package/components/FeedItem/components/Reactions.d.ts +2 -1
- package/components/FeedItem/components/Reactions.d.ts.map +1 -1
- package/components/FeedItem/components/Reactions.js +1 -1
- package/components/FeedItem/components/Reactions.js.map +1 -1
- package/components/FeedItem/feedItemTypes/AlertFeedItem.d.ts +11 -11
- package/components/FeedItem/feedItemTypes/AlertFeedItem.d.ts.map +1 -1
- package/components/FeedItem/feedItemTypes/AlertFeedItem.js +1 -1
- package/components/FeedItem/feedItemTypes/AlertFeedItem.js.map +1 -1
- package/components/FilesDropzone/FilesDropzone.js +1 -1
- package/components/FilesLoader/FilesLoader.js +1 -1
- package/components/FilesLoaderV2/FilesLoaderV2.js +1 -1
- package/components/Formula/CloseSuggestion.js +1 -1
- package/components/Formula/CloseSuggestion.js.map +1 -1
- package/components/Formula/Formula.js +1 -1
- package/components/GradientManager/GradientManager.js +1 -1
- package/components/GradientManager/GradientSelect.js +1 -1
- package/components/GradientPicker/GradientPicker.js +1 -1
- package/components/HelpCenter/HelpCenterIcon.js +1 -1
- package/components/HelpCenter/HelpCenterIcon.js.map +1 -1
- package/components/Hint/Hint.js +1 -1
- package/components/ImageViewer/index.js +1 -1
- package/components/ImageViewer/index.js.map +1 -1
- package/components/Modal/CorvaModal.js +1 -1
- package/components/Notifications/Toast.js +1 -1
- package/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js +1 -1
- package/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js.map +1 -1
- package/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js +1 -1
- package/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js.map +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js.map +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/index.js +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/index.js.map +1 -1
- package/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js +1 -1
- package/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js.map +1 -1
- package/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js +1 -1
- package/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js.map +1 -1
- package/components/OffsetWellPickerV3/components/TabSelection/index.js +1 -1
- package/components/OffsetWellPickerV3/components/TabSelection/index.js.map +1 -1
- package/components/OffsetWellPickerV3/components/WellHubView/index.js +1 -1
- package/components/OffsetWellPickerV3/components/WellHubView/index.js.map +1 -1
- package/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js +1 -1
- package/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js.map +1 -1
- package/components/OffsetWellPickerV5/api/shared/fetchers/getAllAssets.d.ts +1 -0
- package/components/OffsetWellPickerV5/api/shared/fetchers/getAllAssets.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/api/shared/fetchers/getAllAssets.js +1 -1
- package/components/OffsetWellPickerV5/api/shared/fetchers/getAssetsByBounds.d.ts +5 -1
- package/components/OffsetWellPickerV5/api/shared/fetchers/getAssetsByBounds.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/api/shared/fetchers/getAssetsByBounds.js +1 -1
- package/components/OffsetWellPickerV5/components/AppHeader/components/HeaderActions/HeaderActions.js +1 -1
- package/components/OffsetWellPickerV5/components/AppHeader/components/LoadAllWellsToggle/LoadAllWellsToggle.js +1 -1
- package/components/OffsetWellPickerV5/components/CustomInfoIcon/CustomInfoIcon.js +1 -1
- package/components/OffsetWellPickerV5/components/Filter/Filter.js +1 -1
- package/components/OffsetWellPickerV5/components/Filter/components/CustomDateFields/CustomDateFields.js +1 -1
- package/components/OffsetWellPickerV5/components/Filter/components/PeriodFilterSelect/PeriodFilterSelect.js +1 -1
- package/components/OffsetWellPickerV5/components/Filter/components/SingleFilterSelect/SingleFilterSelect.js +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/ClusterTooltip/ClusterTooltip.js +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/LayerSwitcher/LayerSwitcher.js +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapControls/MapControls.js +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SelectionToast/SelectionToast.js +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/WellTooltip/WellTooltip.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AdvancedSearch.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AssetResultSection/AssetResultSection.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AutoCompleteAssetSearch/AutoCompleteAssetSearch.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/MetricsSettingMenu/MetricsSettingMenu.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/WellNameHeaderCell/WellNameHeaderCell.js +1 -1
- package/components/OffsetWellPickerV5/components/PickerModalActions/PickerModalActions.js +1 -1
- package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useWellDataPipeline.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useWellDataPipeline.js +1 -1
- package/components/OffsetWellPickerV5/hooks/useAllWells/useAllWells.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/hooks/useAllWells/useAllWells.js +1 -1
- package/components/OffsetWellPickerV5/hooks/useAllWells/useCompanyIdChangeEffect.d.ts +1 -1
- package/components/OffsetWellPickerV5/hooks/useAllWells/useCompanyIdChangeEffect.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/hooks/useAllWells/useCompanyIdChangeEffect.js +1 -1
- package/components/OffsetWellPickerV5/hooks/useAllWells/useDrillingFilterChangeEffect.d.ts +8 -0
- package/components/OffsetWellPickerV5/hooks/useAllWells/useDrillingFilterChangeEffect.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/hooks/useAllWells/useDrillingFilterChangeEffect.js +2 -0
- package/components/OffsetWellPickerV5/hooks/useAllWells/useDrillingFilterChangeEffect.js.map +1 -0
- package/components/OffsetWellPickerV5/hooks/useAllWells/useLoadAllWellsCallback.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/hooks/useAllWells/useLoadAllWellsCallback.js +1 -1
- package/components/OffsetWellPickerV5/hooks/useViewportWells/fetchTile.d.ts +1 -1
- package/components/OffsetWellPickerV5/hooks/useViewportWells/fetchTile.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/hooks/useViewportWells/fetchTile.js +1 -1
- package/components/OffsetWellPickerV5/hooks/useViewportWells/types.d.ts +1 -0
- package/components/OffsetWellPickerV5/hooks/useViewportWells/types.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/hooks/useViewportWells/useCompanyIdResetEffect.d.ts +1 -1
- package/components/OffsetWellPickerV5/hooks/useViewportWells/useCompanyIdResetEffect.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/hooks/useViewportWells/useCompanyIdResetEffect.js +1 -1
- package/components/OffsetWellPickerV5/hooks/useViewportWells/useDrillingFilterResetEffect.d.ts +14 -0
- package/components/OffsetWellPickerV5/hooks/useViewportWells/useDrillingFilterResetEffect.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/hooks/useViewportWells/useDrillingFilterResetEffect.js +2 -0
- package/components/OffsetWellPickerV5/hooks/useViewportWells/useDrillingFilterResetEffect.js.map +1 -0
- package/components/OffsetWellPickerV5/hooks/useViewportWells/useHandleBoundsChange.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/hooks/useViewportWells/useHandleBoundsChange.js +1 -1
- package/components/OffsetWellPickerV5/hooks/useViewportWells/useViewportWells.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/hooks/useViewportWells/useViewportWells.js +1 -1
- package/components/OffsetWellPickerV5/utils/doesWellPassFilters.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/utils/doesWellPassFilters.js +1 -1
- package/components/OffsetWellPickerV5/utils/isDrillingOnlyWell.d.ts +3 -0
- package/components/OffsetWellPickerV5/utils/isDrillingOnlyWell.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/utils/isDrillingOnlyWell.js +2 -0
- package/components/OffsetWellPickerV5/utils/isDrillingOnlyWell.js.map +1 -0
- package/components/PadModeSelect/FracModeLabel.js +1 -1
- package/components/PadModeSelect/PadModeSelect.js +1 -1
- package/components/PadOffsetsPicker/StagesSelector.js +1 -1
- package/components/PadOffsetsPicker/StagesSelector.js.map +1 -1
- package/components/PadOffsetsPickerV2/PadOffsetsPickerV2.js +1 -1
- package/components/ParameterCharts/components/TraceHeader.js +1 -1
- package/components/ParameterCharts/components/TraceHeader.js.map +1 -1
- package/components/PinnableFilters/components/FiltersToggler.js +1 -1
- package/components/PinnableFilters/components/FiltersToggler.js.map +1 -1
- package/components/Popover/Popover.js +1 -1
- package/components/Popper/Popper.js +1 -1
- package/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBoxEditDialog.js +1 -1
- package/components/RealTimeValuesSidebar/SidebarFooter.js +1 -1
- package/components/Search/Search.js +1 -1
- package/components/Select/SelectFilterBy.js +1 -1
- package/components/SettingEditors/ColorEditor/index.js +1 -1
- package/components/StatusBadge/constants.d.ts.map +1 -1
- package/components/StatusBadge/constants.js +1 -1
- package/components/Stepper/Step/Step.js +1 -1
- package/components/Table/TableCell/TableCell.js +1 -1
- package/components/Table/TablePaginationActions/TablePaginationActions.js +1 -1
- package/components/Table/TableSortLabel/TableSortLabel.js +1 -1
- package/components/Toaster/Toaster.js +1 -1
- package/componentsV2/Accordion/Accordion.js +1 -1
- package/componentsV2/AppDqPopover/DqAlertTooltip/DqAlertTooltip.js +1 -1
- package/componentsV2/AppDqPopover/DqAsset/DqAsset.js +1 -1
- package/componentsV2/AppFooter/DqPopover/DqStatusIcon/DqStatusIcon.js +1 -1
- package/componentsV2/AppFooter/Warning.js +1 -1
- package/componentsV2/AppHeader/AppAssets/utils.js +1 -1
- package/componentsV2/AppHeader/V3/Actions/Actions.js +1 -1
- package/componentsV2/AppHeader/V3/AppTitle/AppTitle.js +1 -1
- package/componentsV2/AppHeader/V3/AssetSelector/AssetSelectorChip/AssetSelectorChip.js +1 -1
- package/componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/AssetSelectorContent.js +1 -1
- package/componentsV2/AppHeader/V3/AssetSelector/constants.js +1 -1
- package/componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.js +1 -1
- package/componentsV2/AppHeader/V3/SettingsButton/SettingsButton.js +1 -1
- package/componentsV2/AppHeader/V3/VersionSelect/VersionSelect.js +1 -1
- package/componentsV2/AppSettings/AppSettings.js +1 -1
- package/componentsV2/Autocomplete/Autocomplete.js +1 -1
- package/componentsV2/Breadcrumbs/Breadcrumbs.js +1 -1
- package/componentsV2/ButtonLive/ButtonLive.js +1 -1
- package/componentsV2/Chip/Chip.js +1 -1
- package/componentsV2/ColorPicker/ColorPicker.js +1 -1
- package/componentsV2/ColorPicker/Swatches/Swatches.js +1 -1
- package/componentsV2/CompletionsOffsetWellPicker/AssetSearchInput/AssetSearchInput.js +1 -1
- package/componentsV2/CompletionsOffsetWellPicker/CompletionsOffsetWellPicker.js +1 -1
- package/componentsV2/CompletionsOffsetWellPicker/Map/Map.js +1 -1
- package/componentsV2/CompletionsOffsetWellPicker/ModalTitle/ModalTitle.js +1 -1
- package/componentsV2/CompletionsOffsetWellPicker/PadsTable/PadsTable.js +1 -1
- package/componentsV2/CompletionsOffsetWellPicker/PadsTable/helpers/columns.js +1 -1
- package/componentsV2/CopyToClipboard/CopyToClipboard.js +1 -1
- package/componentsV2/Counter/Counter.js +1 -1
- package/componentsV2/DatePicker/CalendarControls/CalendarControls.js +1 -1
- package/componentsV2/DatePicker/Input/Input.js +1 -1
- package/componentsV2/DragHandle/DragHandle.js +1 -1
- package/componentsV2/FilesDropzone/FilesDropzone.js +1 -1
- package/componentsV2/FilesLoader/FilesLoader.js +1 -1
- package/componentsV2/Hint/Hint.js +1 -1
- package/componentsV2/ModalWindow/ModalWindow.js +1 -1
- package/componentsV2/OffsetWellsButton/OffsetWellsButton.js +1 -1
- package/componentsV2/OffsetWellsButton/useOffsetWellsIcon.js +1 -1
- package/componentsV2/PadModeSelect/FracModeLabel/FracModeLabel.js +1 -1
- package/componentsV2/PadModeSelect/PadModeSelect.js +1 -1
- package/componentsV2/Stepper/Step/Step.js +1 -1
- package/componentsV2/TemplatesControl/FolderMenu/FolderMenu.js +1 -1
- package/componentsV2/TemplatesControl/MoveToFolderMenu/MoveToFolderMenu.js +1 -1
- package/componentsV2/TemplatesControl/Popover/Popover.js +1 -1
- package/componentsV2/TemplatesControl/PopoverSearch/PopoverSearch.js +1 -1
- package/componentsV2/TemplatesControl/ShareModal/ShareModal.js +1 -1
- package/componentsV2/TemplatesControl/TemplateMenu/IconMenu/IconMenu.js +1 -1
- package/componentsV2/TemplatesControl/TemplatesControl.d.ts +9 -2
- package/componentsV2/TemplatesControl/TemplatesControl.d.ts.map +1 -1
- package/componentsV2/TemplatesControl/TemplatesControl.js +1 -1
- package/componentsV2/TemplatesControl/TemplatesControl.stories.d.ts +1 -0
- package/componentsV2/TemplatesControl/TemplatesControl.stories.d.ts.map +1 -1
- package/componentsV2/TemplatesControl/TemplatesTreeMenuHeader/TemplatesTreeMenuHeader.js +1 -1
- package/componentsV2/TemplatesControl/TemplatesTreeNodeItem/TemplatesTreeNodeItem.js +1 -1
- package/componentsV2/TemplatesControl/TemplatesTreeTemplate/TemplatesTreeTemplate.js +1 -1
- package/componentsV2/TemplatesControl/Toggle/Toggle.d.ts +2 -0
- package/componentsV2/TemplatesControl/Toggle/Toggle.d.ts.map +1 -1
- package/componentsV2/TemplatesControl/Toggle/Toggle.js +1 -1
- package/componentsV2/TemplatesControl/Toggle/Toggle.scss.js +1 -1
- package/componentsV2/TemplatesControl/ToggleDisplayDefault/ToggleDisplayDefault.d.ts +5 -0
- package/componentsV2/TemplatesControl/ToggleDisplayDefault/ToggleDisplayDefault.d.ts.map +1 -0
- package/componentsV2/TemplatesControl/ToggleDisplayDefault/ToggleDisplayDefault.js +2 -0
- package/componentsV2/TemplatesControl/ToggleDisplayDefault/ToggleDisplayDefault.js.map +1 -0
- package/componentsV2/TemplatesControl/ToggleDisplayDefault/ToggleDisplayDefault.scss.js +2 -0
- package/componentsV2/TemplatesControl/ToggleDisplayDefault/ToggleDisplayDefault.scss.js.map +1 -0
- package/componentsV2/TemplatesControl/ToggleDisplayDefault/index.d.ts +2 -0
- package/componentsV2/TemplatesControl/ToggleDisplayDefault/index.d.ts.map +1 -0
- package/componentsV2/TemplatesControl/UnsavedChangesBadge/UnsavedChangesBadge.js +1 -1
- package/componentsV2/TemplatesControl/templateMenuItems/CopyTemplate.js +1 -1
- package/componentsV2/TemplatesControl/templateMenuItems/ExportTemplate.js +1 -1
- package/componentsV2/TemplatesControl/templateMenuItems/MoveTemplateOutOfFolder.js +1 -1
- package/componentsV2/TemplatesControl/templateMenuItems/MoveTemplateToFolder.js +1 -1
- package/componentsV2/TemplatesControl/templateMenuItems/RemoveTemplate.js +1 -1
- package/componentsV2/TemplatesControl/templateMenuItems/RevertTemplate.js +1 -1
- package/componentsV2/TemplatesControl/templateMenuItems/ShareTemplate.js +1 -1
- package/componentsV2/TemplatesControl/templateMenuItems/UnfollowTemplate.js +1 -1
- package/componentsV2/TextInput/TextInput.js +1 -1
- package/componentsV2/TextInputNext/TextInputNext.js +1 -1
- package/componentsV2/TextInputNext/components/InfoIcon.js +1 -1
- package/componentsV2/WellArchivedMessage/WellArchivedMessage.js +1 -1
- package/config/theme/index.js +1 -1
- package/config/theme/index.js.map +1 -1
- package/icons/IconPark.stories.d.ts.map +1 -1
- package/icons/customIcons/icons/ArchiveOne.d.ts +2 -0
- package/icons/customIcons/icons/ArchiveOne.d.ts.map +1 -0
- package/icons/customIcons/icons/ArchiveOne.js +2 -0
- package/icons/customIcons/icons/ArchiveOne.js.map +1 -0
- package/icons/customIcons/icons/AtSignCrossed.d.ts +2 -0
- package/icons/customIcons/icons/AtSignCrossed.d.ts.map +1 -0
- package/icons/customIcons/icons/AtSignCrossed.js +2 -0
- package/icons/customIcons/icons/AtSignCrossed.js.map +1 -0
- package/icons/customIcons/icons/CalibrationOps.d.ts +2 -0
- package/icons/customIcons/icons/CalibrationOps.d.ts.map +1 -0
- package/icons/customIcons/icons/CalibrationOps.js +2 -0
- package/icons/customIcons/icons/CalibrationOps.js.map +1 -0
- package/icons/customIcons/icons/ClipboardAi.d.ts +2 -0
- package/icons/customIcons/icons/ClipboardAi.d.ts.map +1 -0
- package/icons/customIcons/icons/ClipboardAi.js +2 -0
- package/icons/customIcons/icons/ClipboardAi.js.map +1 -0
- package/icons/customIcons/icons/ClipboardBuilder.d.ts +2 -0
- package/icons/customIcons/icons/ClipboardBuilder.d.ts.map +1 -0
- package/icons/customIcons/icons/ClipboardBuilder.js +2 -0
- package/icons/customIcons/icons/ClipboardBuilder.js.map +1 -0
- package/icons/customIcons/icons/ClipboardMetrics.d.ts +2 -0
- package/icons/customIcons/icons/ClipboardMetrics.d.ts.map +1 -0
- package/icons/customIcons/icons/ClipboardMetrics.js +2 -0
- package/icons/customIcons/icons/ClipboardMetrics.js.map +1 -0
- package/icons/customIcons/icons/ClipboardSearch.d.ts +2 -0
- package/icons/customIcons/icons/ClipboardSearch.d.ts.map +1 -0
- package/icons/customIcons/icons/ClipboardSearch.js +2 -0
- package/icons/customIcons/icons/ClipboardSearch.js.map +1 -0
- package/icons/customIcons/icons/Companies.d.ts +2 -0
- package/icons/customIcons/icons/Companies.d.ts.map +1 -0
- package/icons/customIcons/icons/Companies.js +2 -0
- package/icons/customIcons/icons/Companies.js.map +1 -0
- package/icons/customIcons/icons/Company.d.ts +2 -0
- package/icons/customIcons/icons/Company.d.ts.map +1 -0
- package/icons/customIcons/icons/Company.js +2 -0
- package/icons/customIcons/icons/Company.js.map +1 -0
- package/icons/customIcons/icons/Connect.d.ts +2 -0
- package/icons/customIcons/icons/Connect.d.ts.map +1 -0
- package/icons/customIcons/icons/Connect.js +2 -0
- package/icons/customIcons/icons/Connect.js.map +1 -0
- package/icons/customIcons/icons/CriticalOps.d.ts +2 -0
- package/icons/customIcons/icons/CriticalOps.d.ts.map +1 -0
- package/icons/customIcons/icons/CriticalOps.js +2 -0
- package/icons/customIcons/icons/CriticalOps.js.map +1 -0
- package/icons/customIcons/icons/DataTypeOps.d.ts +2 -0
- package/icons/customIcons/icons/DataTypeOps.d.ts.map +1 -0
- package/icons/customIcons/icons/DataTypeOps.js +2 -0
- package/icons/customIcons/icons/DataTypeOps.js.map +1 -0
- package/icons/customIcons/icons/Drops.d.ts +2 -0
- package/icons/customIcons/icons/Drops.d.ts.map +1 -0
- package/icons/customIcons/icons/Drops.js +2 -0
- package/icons/customIcons/icons/Drops.js.map +1 -0
- package/icons/customIcons/icons/ErrorOps.d.ts +2 -0
- package/icons/customIcons/icons/ErrorOps.d.ts.map +1 -0
- package/icons/customIcons/icons/ErrorOps.js +2 -0
- package/icons/customIcons/icons/ErrorOps.js.map +1 -0
- package/icons/customIcons/icons/FalsePositiveOps.d.ts +2 -0
- package/icons/customIcons/icons/FalsePositiveOps.d.ts.map +1 -0
- package/icons/customIcons/icons/FalsePositiveOps.js +2 -0
- package/icons/customIcons/icons/FalsePositiveOps.js.map +1 -0
- package/icons/customIcons/icons/Feed.d.ts +2 -0
- package/icons/customIcons/icons/Feed.d.ts.map +1 -0
- package/icons/customIcons/icons/Feed.js +2 -0
- package/icons/customIcons/icons/Feed.js.map +1 -0
- package/icons/customIcons/icons/Key.d.ts +2 -0
- package/icons/customIcons/icons/Key.d.ts.map +1 -0
- package/icons/customIcons/icons/Key.js +2 -0
- package/icons/customIcons/icons/Key.js.map +1 -0
- package/icons/customIcons/icons/Mapping.d.ts +2 -0
- package/icons/customIcons/icons/Mapping.d.ts.map +1 -0
- package/icons/customIcons/icons/Mapping.js +2 -0
- package/icons/customIcons/icons/Mapping.js.map +1 -0
- package/icons/customIcons/icons/MappingManual.d.ts +2 -0
- package/icons/customIcons/icons/MappingManual.d.ts.map +1 -0
- package/icons/customIcons/icons/MappingManual.js +2 -0
- package/icons/customIcons/icons/MappingManual.js.map +1 -0
- package/icons/customIcons/icons/Metrics.d.ts +2 -0
- package/icons/customIcons/icons/Metrics.d.ts.map +1 -0
- package/icons/customIcons/icons/Metrics.js +2 -0
- package/icons/customIcons/icons/Metrics.js.map +1 -0
- package/icons/customIcons/icons/NPT.d.ts +2 -0
- package/icons/customIcons/icons/NPT.d.ts.map +1 -0
- package/icons/customIcons/icons/NPT.js +2 -0
- package/icons/customIcons/icons/NPT.js.map +1 -0
- package/icons/customIcons/icons/ParseBotFusion.d.ts +2 -0
- package/icons/customIcons/icons/ParseBotFusion.d.ts.map +1 -0
- package/icons/customIcons/icons/ParseBotFusion.js +2 -0
- package/icons/customIcons/icons/ParseBotFusion.js.map +1 -0
- package/icons/customIcons/icons/Prompt.d.ts +2 -0
- package/icons/customIcons/icons/Prompt.d.ts.map +1 -0
- package/icons/customIcons/icons/Prompt.js +2 -0
- package/icons/customIcons/icons/Prompt.js.map +1 -0
- package/icons/customIcons/icons/PuzzleOne.d.ts +2 -0
- package/icons/customIcons/icons/PuzzleOne.d.ts.map +1 -0
- package/icons/customIcons/icons/PuzzleOne.js +2 -0
- package/icons/customIcons/icons/PuzzleOne.js.map +1 -0
- package/icons/customIcons/icons/Template.d.ts +2 -0
- package/icons/customIcons/icons/Template.d.ts.map +1 -0
- package/icons/customIcons/icons/Template.js +2 -0
- package/icons/customIcons/icons/Template.js.map +1 -0
- package/icons/customIcons/icons/UnitConversion.d.ts +2 -0
- package/icons/customIcons/icons/UnitConversion.d.ts.map +1 -0
- package/icons/customIcons/icons/UnitConversion.js +2 -0
- package/icons/customIcons/icons/UnitConversion.js.map +1 -0
- package/icons/customIcons/icons/index.d.ts +26 -0
- package/icons/customIcons/icons/index.d.ts.map +1 -1
- package/icons/index.js +1 -1
- package/mcp-server/server.mjs +668 -3
- package/package.json +1 -1
- package/testing/AppTestWrapper/AppTestWrapper.js +1 -1
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import r from"@babel/runtime/helpers/asyncToGenerator";import e from"@babel/runtime/regenerator";import{useCallback as t}from"react";import{useStore as o}from"zustand";import{ViewportStoreContext as s}from"../../stores/viewport-store/ViewportStoreContext.js";import"lodash";import"../../stores/picker-props-store/PickerPropsStoreContext.js";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/helpers/objectWithoutProperties";import"react/jsx-runtime";import"../../viewport/ViewportProvider.js";import{useContextOrThrow as
|
|
1
|
+
import r from"@babel/runtime/helpers/asyncToGenerator";import e from"@babel/runtime/regenerator";import{useCallback as t}from"react";import{useStore as o}from"zustand";import{ViewportStoreContext as s}from"../../stores/viewport-store/ViewportStoreContext.js";import"lodash";import"../../stores/picker-props-store/PickerPropsStoreContext.js";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/helpers/objectWithoutProperties";import"react/jsx-runtime";import"../../viewport/ViewportProvider.js";import{useContextOrThrow as i}from"../../stores/utils/useContextOrThrow.js";import"../../viewport/ViewportContext.js";import{usePickerPropsStore as n}from"../../stores/picker-props-store/usePickerPropsStore.js";import{useFilterStore as l}from"../../stores/filter-store/useFilterStore.js";import"@babel/runtime/helpers/toConsumableArray";import"uuid";import"lodash/set";import"lodash/get";import"lodash/unset";import"moment";import"../../../../clients/jsonApi/index.js";import"../../../../clients/subscriptions/constants.js";import"../../../../clients/subscriptions.v1.js";import"../../../../clients/subscriptions/subscriptions-client.factory.js";import"../../../../clients/api/apiCore.js";import"../../../../clients/constants.js";import"../../../../clients/sso/auth0.js";import"../../../../clients/sso/oauth2.js";import{getAllAssets as a}from"../../api/shared/fetchers/getAllAssets.js";import"../../constants.js";import"../../api/shared/dataFormatter.js";import"@babel/runtime/helpers/slicedToArray";import{useAllWellsCache as p}from"../useAllWellsCache/useAllWellsCache.js";var u=function(u,c){var m=i(s),d=o(m,(function(r){return r.addWellsToTile})),f=n((function(r){return r.addWellsUsabilityInfo})),b=n((function(r){return r.setAllWellsLoadProgress})),h=l((function(r){var e;return null!==(e=r.filters.companyId)&&void 0!==e?e:null})),j=l((function(r){var e;return null===(e=r.filters.drillingWells)||void 0===e||e})),v=p(),g=v.getCachedWellIds,x=v.setCachedWellIds,C=v.clearCache;return{loadAllWells:t(r(e.mark((function r(){var t,o,s,i,n,l,p;return e.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(null===(t=u.current)||void 0===t||t.abort(),u.current=new AbortController,o=u.current.signal,r.prev=3,null===(s=g())){r.next=12;break}if(i=m.getState(),(n=s.map((function(r){return i.wells.get(r)})).filter((function(r){return void 0!==r}))).length!==s.length){r.next=12;break}return b({loaded:n.length,isComplete:!0}),c.current=!0,r.abrupt("return");case 12:return b({loaded:0,isComplete:!1}),r.next=15,a(h,{signal:o,onProgress:b,drillingWells:j});case 15:if(l=r.sent,!o.aborted){r.next=18;break}return r.abrupt("return");case 18:return r.next=20,f(l);case 20:if(p=r.sent,!o.aborted){r.next=23;break}return r.abrupt("return");case 23:d("all-wells",p),x(p.map((function(r){return r.id}))),b({loaded:p.length,isComplete:!0}),c.current=!0,r.next=35;break;case 29:if(r.prev=29,r.t0=r.catch(3),"AbortError"!==(null===r.t0||void 0===r.t0?void 0:r.t0.name)){r.next=33;break}return r.abrupt("return");case 33:console.error("Failed to load all wells:",r.t0),b(null);case 35:case"end":return r.stop()}}),r,null,[[3,29]])}))),[m,u,c,d,f,h,j,g,x,b]),store:m,clearCache:C}};export{u as useLoadAllWellsCallback};
|
|
2
2
|
//# sourceMappingURL=useLoadAllWellsCallback.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { FetchTileParams } from './types';
|
|
2
|
-
export declare const fetchTile: ({ tileKey, companyIds, addWellsUsabilityInfo, setCachedTile, addWellsToTile, setTileStatus, }: FetchTileParams) => Promise<void>;
|
|
2
|
+
export declare const fetchTile: ({ tileKey, companyIds, drillingWells, addWellsUsabilityInfo, setCachedTile, addWellsToTile, setTileStatus, }: FetchTileParams) => Promise<void>;
|
|
3
3
|
//# sourceMappingURL=fetchTile.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetchTile.d.ts","sourceRoot":"","sources":["../../../../../src/components/OffsetWellPickerV5/hooks/useViewportWells/fetchTile.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE/C,eAAO,MAAM,SAAS,GAAU
|
|
1
|
+
{"version":3,"file":"fetchTile.d.ts","sourceRoot":"","sources":["../../../../../src/components/OffsetWellPickerV5/hooks/useViewportWells/fetchTile.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE/C,eAAO,MAAM,SAAS,GAAU,8GAQ7B,eAAe,KAAG,OAAO,CAAC,IAAI,CAkBhC,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import e from"@babel/runtime/helpers/asyncToGenerator";import r from"@babel/runtime/regenerator";import{keyToTile as t,tileToBounds as n}from"../../utils/tile-math.js";import{getAssetsByBounds as a}from"../../api/shared/fetchers/getAssetsByBounds.js";var s=function(){var s=e(r.mark((function e(s){var o,
|
|
1
|
+
import e from"@babel/runtime/helpers/asyncToGenerator";import r from"@babel/runtime/regenerator";import{keyToTile as t,tileToBounds as n}from"../../utils/tile-math.js";import{getAssetsByBounds as a}from"../../api/shared/fetchers/getAssetsByBounds.js";var s=function(){var s=e(r.mark((function e(s){var i,o,l,c,u,p,m,f,d,h,b,g;return r.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=s.tileKey,o=s.companyIds,l=s.drillingWells,c=s.addWellsUsabilityInfo,u=s.setCachedTile,p=s.addWellsToTile,m=s.setTileStatus,e.prev=1,m(i,"loading"),f=t(i),d=n(f),e.next=7,a(d,o,{drillingWells:l});case 7:if(!((h=e.sent).length>0)){e.next=14;break}return e.next=11,c(h);case 11:e.t0=e.sent,e.next=15;break;case 14:e.t0=[];case 15:b=e.t0,u(i,b.map((function(e){return e.id}))),p(i,b),e.next=24;break;case 20:e.prev=20,e.t1=e.catch(1),g=e.t1 instanceof Error?e.t1.message:"Unknown error",m(i,"error",g);case 24:case"end":return e.stop()}}),e,null,[[1,20]])})));return function(e){return s.apply(this,arguments)}}();export{s as fetchTile};
|
|
2
2
|
//# sourceMappingURL=fetchTile.js.map
|
|
@@ -6,6 +6,7 @@ export type FetchQueue = {
|
|
|
6
6
|
};
|
|
7
7
|
export type FetchCallbacks = {
|
|
8
8
|
companyIds: number[] | null;
|
|
9
|
+
drillingWells: boolean;
|
|
9
10
|
addWellsUsabilityInfo: (wells: OffsetWell[]) => PromiseLike<OffsetWell[]> | OffsetWell[];
|
|
10
11
|
setCachedTile: (key: TileKey, wellIds: number[]) => void;
|
|
11
12
|
addWellsToTile: (key: TileKey, wells: OffsetWell[]) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/OffsetWellPickerV5/hooks/useViewportWells/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mCAAmC,CAAC;AACjE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AAEjE,MAAM,MAAM,UAAU,GAAG;IACvB,OAAO,EAAE,OAAO,EAAE,CAAC;IACnB,UAAU,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,UAAU,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;IAC5B,qBAAqB,EAAE,CAAC,KAAK,EAAE,UAAU,EAAE,KAAK,WAAW,CAAC,UAAU,EAAE,CAAC,GAAG,UAAU,EAAE,CAAC;IACzF,aAAa,EAAE,CAAC,GAAG,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IACzD,cAAc,EAAE,CAAC,GAAG,EAAE,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,IAAI,CAAC;IAC5D,aAAa,EAAE,CAAC,GAAG,EAAE,OAAO,EAAE,MAAM,EAAE,SAAS,GAAG,QAAQ,GAAG,OAAO,EAAE,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;CAC/F,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG,cAAc,GAAG;IAC7C,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,cAAc,GAAG;IAChD,KAAK,EAAE,UAAU,CAAC;CACnB,CAAC"}
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/OffsetWellPickerV5/hooks/useViewportWells/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mCAAmC,CAAC;AACjE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AAEjE,MAAM,MAAM,UAAU,GAAG;IACvB,OAAO,EAAE,OAAO,EAAE,CAAC;IACnB,UAAU,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,UAAU,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;IAC5B,aAAa,EAAE,OAAO,CAAC;IACvB,qBAAqB,EAAE,CAAC,KAAK,EAAE,UAAU,EAAE,KAAK,WAAW,CAAC,UAAU,EAAE,CAAC,GAAG,UAAU,EAAE,CAAC;IACzF,aAAa,EAAE,CAAC,GAAG,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IACzD,cAAc,EAAE,CAAC,GAAG,EAAE,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,IAAI,CAAC;IAC5D,aAAa,EAAE,CAAC,GAAG,EAAE,OAAO,EAAE,MAAM,EAAE,SAAS,GAAG,QAAQ,GAAG,OAAO,EAAE,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;CAC/F,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG,cAAc,GAAG;IAC7C,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,cAAc,GAAG;IAChD,KAAK,EAAE,UAAU,CAAC;CACnB,CAAC"}
|
|
@@ -3,7 +3,7 @@ import type { StoreApi } from 'zustand';
|
|
|
3
3
|
import type { ViewportBounds } from '../../stores/viewport-store/types';
|
|
4
4
|
import type { ViewportStore } from '../../stores/viewport-store/createViewportStore';
|
|
5
5
|
import type { FetchQueue } from './types';
|
|
6
|
-
export declare const useCompanyIdResetEffect: (
|
|
6
|
+
export declare const useCompanyIdResetEffect: (params: {
|
|
7
7
|
enabled: boolean;
|
|
8
8
|
store: StoreApi<ViewportStore>;
|
|
9
9
|
queueRef: MutableRefObject<FetchQueue>;
|
package/components/OffsetWellPickerV5/hooks/useViewportWells/useCompanyIdResetEffect.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCompanyIdResetEffect.d.ts","sourceRoot":"","sources":["../../../../../src/components/OffsetWellPickerV5/hooks/useViewportWells/useCompanyIdResetEffect.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"useCompanyIdResetEffect.d.ts","sourceRoot":"","sources":["../../../../../src/components/OffsetWellPickerV5/hooks/useViewportWells/useCompanyIdResetEffect.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqB,KAAK,gBAAgB,EAAE,MAAM,OAAO,CAAC;AAEjE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAIxC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AACxE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iDAAiD,CAAC;AAErF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAE1C,eAAO,MAAM,uBAAuB,GAAI,QAAQ;IAC9C,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,QAAQ,CAAC,aAAa,CAAC,CAAC;IAC/B,QAAQ,EAAE,gBAAgB,CAAC,UAAU,CAAC,CAAC;IACvC,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,qBAAqB,EAAE,gBAAgB,CAAC,CAAC,OAAO,EAAE,cAAc,GAAG,IAAI,KAAK,IAAI,CAAC,CAAC;CACnF,KAAG,IA4CH,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{useEffect as
|
|
1
|
+
import{useRef as r,useEffect as e}from"react";import o from"lodash/isEqual";import{useFilterStore as t}from"../../stores/filter-store/useFilterStore.js";import"../../stores/company-safeguard/CompanySafeguardContext.js";import{useCompanySafeguard as a}from"../../stores/company-safeguard/useCompanySafeguard.js";var n=function(n){var u=t((function(r){var e;return null!==(e=r.filters.companyId)&&void 0!==e?e:null})),s=a().isSafeguardReady,i=n.enabled,f=n.store,c=n.queueRef,d=n.clearCache,l=n.clearTiles,m=n.handleBoundsChangeRef,p=r(void 0);e((function(){if(s)if(void 0!==p.current&&i){if(!o(p.current,u)&&(d(),l(),c.current.pending=[],p.current=u,i)){var r=f.getState().bounds;r&&m.current(r)}}else p.current=u}),[s,u,i,f,d,l,c,m])};export{n as useCompanyIdResetEffect};
|
|
2
2
|
//# sourceMappingURL=useCompanyIdResetEffect.js.map
|
package/components/OffsetWellPickerV5/hooks/useViewportWells/useDrillingFilterResetEffect.d.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type MutableRefObject } from 'react';
|
|
2
|
+
import type { StoreApi } from 'zustand';
|
|
3
|
+
import type { ViewportBounds } from '../../stores/viewport-store/types';
|
|
4
|
+
import type { ViewportStore } from '../../stores/viewport-store/createViewportStore';
|
|
5
|
+
import type { FetchQueue } from './types';
|
|
6
|
+
export declare const useDrillingFilterResetEffect: (params: {
|
|
7
|
+
enabled: boolean;
|
|
8
|
+
store: StoreApi<ViewportStore>;
|
|
9
|
+
queueRef: MutableRefObject<FetchQueue>;
|
|
10
|
+
clearCache: () => void;
|
|
11
|
+
clearTiles: () => void;
|
|
12
|
+
handleBoundsChangeRef: MutableRefObject<(_bounds: ViewportBounds | null) => void>;
|
|
13
|
+
}) => void;
|
|
14
|
+
//# sourceMappingURL=useDrillingFilterResetEffect.d.ts.map
|
package/components/OffsetWellPickerV5/hooks/useViewportWells/useDrillingFilterResetEffect.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useDrillingFilterResetEffect.d.ts","sourceRoot":"","sources":["../../../../../src/components/OffsetWellPickerV5/hooks/useViewportWells/useDrillingFilterResetEffect.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqB,KAAK,gBAAgB,EAAE,MAAM,OAAO,CAAC;AACjE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAGxC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AACxE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iDAAiD,CAAC;AAErF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAE1C,eAAO,MAAM,4BAA4B,GAAI,QAAQ;IACnD,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,QAAQ,CAAC,aAAa,CAAC,CAAC;IAC/B,QAAQ,EAAE,gBAAgB,CAAC,UAAU,CAAC,CAAC;IACvC,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,qBAAqB,EAAE,gBAAgB,CAAC,CAAC,OAAO,EAAE,cAAc,GAAG,IAAI,KAAK,IAAI,CAAC,CAAC;CACnF,KAAG,IA2BH,CAAC"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{useRef as e,useEffect as r}from"react";import{useFilterStore as t}from"../../stores/filter-store/useFilterStore.js";var n=function(n){var i=t((function(e){var r;return null===(r=e.filters.drillingWells)||void 0===r||r})),o=n.enabled,u=n.store,l=n.queueRef,c=n.clearCache,a=n.clearTiles,s=n.handleBoundsChangeRef,f=e(void 0);r((function(){if(void 0!==f.current&&o){if(f.current!==i){c(),a(),l.current.pending=[],f.current=i;var e=u.getState().bounds;e&&s.current(e)}}else f.current=i}),[i,o,u,c,a,l,s])};export{n as useDrillingFilterResetEffect};
|
|
2
|
+
//# sourceMappingURL=useDrillingFilterResetEffect.js.map
|
package/components/OffsetWellPickerV5/hooks/useViewportWells/useDrillingFilterResetEffect.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useDrillingFilterResetEffect.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useHandleBoundsChange.d.ts","sourceRoot":"","sources":["../../../../../src/components/OffsetWellPickerV5/hooks/useViewportWells/useHandleBoundsChange.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,gBAAgB,EAAE,MAAM,OAAO,CAAC;AAC3D,OAAO,EAAY,KAAK,QAAQ,EAAE,MAAM,SAAS,CAAC;AAKlD,OAAO,KAAK,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AACjF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iDAAiD,CAAC;AAIrF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAE1C,KAAK,2BAA2B,GAAG;IACjC,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,QAAQ,CAAC,aAAa,CAAC,CAAC;IAC/B,QAAQ,EAAE,gBAAgB,CAAC,UAAU,CAAC,CAAC;IACvC,aAAa,EAAE,CAAC,GAAG,EAAE,OAAO,KAAK,MAAM,EAAE,GAAG,IAAI,CAAC;IACjD,aAAa,EAAE,CAAC,GAAG,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;CAC1D,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAAI,6DAMnC,2BAA2B,KAAG,CAAC,CAAC,SAAS,EAAE,cAAc,GAAG,IAAI,KAAK,IAAI,
|
|
1
|
+
{"version":3,"file":"useHandleBoundsChange.d.ts","sourceRoot":"","sources":["../../../../../src/components/OffsetWellPickerV5/hooks/useViewportWells/useHandleBoundsChange.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,gBAAgB,EAAE,MAAM,OAAO,CAAC;AAC3D,OAAO,EAAY,KAAK,QAAQ,EAAE,MAAM,SAAS,CAAC;AAKlD,OAAO,KAAK,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AACjF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iDAAiD,CAAC;AAIrF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAE1C,KAAK,2BAA2B,GAAG;IACjC,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,QAAQ,CAAC,aAAa,CAAC,CAAC;IAC/B,QAAQ,EAAE,gBAAgB,CAAC,UAAU,CAAC,CAAC;IACvC,aAAa,EAAE,CAAC,GAAG,EAAE,OAAO,KAAK,MAAM,EAAE,GAAG,IAAI,CAAC;IACjD,aAAa,EAAE,CAAC,GAAG,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;CAC1D,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAAI,6DAMnC,2BAA2B,KAAG,CAAC,CAAC,SAAS,EAAE,cAAc,GAAG,IAAI,KAAK,IAAI,CAmE3E,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{useCallback as e}from"react";import{useStore as
|
|
1
|
+
import{useCallback as e}from"react";import{useStore as r}from"zustand";import{getTilesForViewport as t,MAX_TILES_FOR_FETCH as i}from"../../utils/tile-math.js";import"lodash";import"../../stores/picker-props-store/PickerPropsStoreContext.js";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/helpers/objectWithoutProperties";import"react/jsx-runtime";import"../../viewport/ViewportProvider.js";import"../../viewport/ViewportContext.js";import{usePickerPropsStore as o}from"../../stores/picker-props-store/usePickerPropsStore.js";import{useFilterStore as s}from"../../stores/filter-store/useFilterStore.js";import{processQueue as l}from"./processQueue.js";import{filterTilesToFetch as n}from"./filterTilesToFetch.js";var u=function(u){var p=u.enabled,a=u.store,d=u.queueRef,c=u.getCachedTile,f=u.setCachedTile,m=r(a,(function(e){return e.getTileStatus})),T=r(a,(function(e){return e.setTileStatus})),h=r(a,(function(e){return e.addWellsToTile})),v=o((function(e){return e.addWellsUsabilityInfo})),g=s((function(e){var r;return null!==(r=e.filters.companyId)&&void 0!==r?r:null})),j=s((function(e){var r;return null===(r=e.filters.drillingWells)||void 0===r||r}));return e((function(e){if(p&&e){var r=t(e);if(r.length>i)d.current.pending=[];else{var o=n({visibleTiles:r,getTileStatus:m,getCachedTile:c,store:a,addWellsToTile:h});if(0!==o.length){var s=d.current;o.forEach((function(e){s.pending.includes(e)||s.inProgress.has(e)||s.pending.push(e)})),l({queue:s,companyIds:g,drillingWells:j,addWellsUsabilityInfo:v,setCachedTile:f,addWellsToTile:h,setTileStatus:T})}}}}),[p,h,v,g,j,c,m,f,T,a,d])};export{u as useHandleBoundsChange};
|
|
2
2
|
//# sourceMappingURL=useHandleBoundsChange.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useViewportWells.d.ts","sourceRoot":"","sources":["../../../../../src/components/OffsetWellPickerV5/hooks/useViewportWells/useViewportWells.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useViewportWells.d.ts","sourceRoot":"","sources":["../../../../../src/components/OffsetWellPickerV5/hooks/useViewportWells/useViewportWells.ts"],"names":[],"mappings":"AAeA,eAAO,MAAM,gBAAgB,GAAI,iBAAc,KAAG,IA0DjD,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{useRef as e,useEffect as r}from"react";import t from"lodash/debounce";import{useStore as n}from"zustand";import{ViewportStoreContext as o}from"../../stores/viewport-store/ViewportStoreContext.js";import{useContextOrThrow as
|
|
1
|
+
import{useRef as e,useEffect as r}from"react";import t from"lodash/debounce";import{useStore as n}from"zustand";import{ViewportStoreContext as o}from"../../stores/viewport-store/ViewportStoreContext.js";import{useContextOrThrow as s}from"../../stores/utils/useContextOrThrow.js";import{useTileCache as i}from"../useTileCache/useTileCache.js";import{DEBOUNCE_DELAY as c}from"./constants.js";import{useHandleBoundsChange as u}from"./useHandleBoundsChange.js";import{useCompanyIdResetEffect as a}from"./useCompanyIdResetEffect.js";import{useDrillingFilterResetEffect as l}from"./useDrillingFilterResetEffect.js";var f=function(){var f=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],d=s(o),m=n(d,(function(e){return e.bounds})),h=n(d,(function(e){return e.clearTiles})),p=i(),C=p.getCachedTile,g=p.setCachedTile,T=p.clearCache,j=e({pending:[],inProgress:new Set}),R=e((function(){})),v=u({enabled:f,store:d,queueRef:j,getCachedTile:C,setCachedTile:g});R.current=v;var b=e(t((function(e){R.current(e)}),c));r((function(){b.current(m)}),[m]),a({enabled:f,store:d,queueRef:j,clearCache:T,clearTiles:h,handleBoundsChangeRef:R}),l({enabled:f,store:d,queueRef:j,clearCache:T,clearTiles:h,handleBoundsChangeRef:R}),r((function(){var e=b.current,r=j.current;return function(){e.cancel(),r.pending=[]}}),[])};export{f as useViewportWells};
|
|
2
2
|
//# sourceMappingURL=useViewportWells.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"doesWellPassFilters.d.ts","sourceRoot":"","sources":["../../../../src/components/OffsetWellPickerV5/utils/doesWellPassFilters.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"doesWellPassFilters.d.ts","sourceRoot":"","sources":["../../../../src/components/OffsetWellPickerV5/utils/doesWellPassFilters.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAMhE,eAAO,MAAM,yBAAyB,EAAE,CAAC,MAAM,WAAW,CAAC,EAU1D,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC5B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG;IACvC,WAAW,CAAC,EAAE,CAAC,MAAM,WAAW,CAAC,EAAE,CAAC;CACrC,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,0BAErC,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAC9B,MAAM,cAAc,EACpB,SAAS,WAAW,GAAG,IAAI,EAC3B,UAAU,0BAA0B,KACnC,OA0CF,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import r from"@babel/runtime/helpers/slicedToArray";import{getTimestampByPeriod as e}from"./getTimestampByPeriod.js";var i=/\sST0/,n
|
|
1
|
+
import r from"@babel/runtime/helpers/slicedToArray";import{getTimestampByPeriod as e}from"./getTimestampByPeriod.js";var i=/\sST0/,n=["status","companyId","rigName","programName","basin","county","area","formation","stringDesign"],t={excludeKeys:["rigName"]},a=function(t,a,u){var s;if(!a)return!0;var o=null==u?void 0:u.excludeKeys;if(!n.every((function(r){if(null!=o&&o.includes(r))return!0;var e=a[r];return!(Array.isArray(e)&&e.length>0)||e.includes(t[r])})))return!1;if(a.sideTracks&&i.test(null!==(s=t.name)&&void 0!==s?s:""))return!1;var l=a.period,m=a.timeRangeFrom,d=a.timeRangeTo,c=e(l,m,d),f=r(c,2),v=f[0],g=f[1];if(null!==v&&null!==g&&Number.isFinite(v)&&Number.isFinite(g)){var y=t.lastActive;if(void 0===y||!(y>=v&&y<=g))return!1}return!0};export{t as EXCLUDE_RIG_NAME_FILTER,n as WELL_PROPERTY_FILTER_KEYS,a as doesWellPassFilters};
|
|
2
2
|
//# sourceMappingURL=doesWellPassFilters.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"isDrillingOnlyWell.d.ts","sourceRoot":"","sources":["../../../../src/components/OffsetWellPickerV5/utils/isDrillingOnlyWell.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAI5D,eAAO,MAAM,kBAAkB,GAAI,MAAM,cAAc,KAAG,OACkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"isDrillingOnlyWell.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{jsx as o,jsxs as s}from"react/jsx-runtime";import{makeStyles as i,useTheme as c,Tooltip as n}from"@material-ui/core";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/helpers/objectWithoutProperties";import"react";import"@icon-park/react/es/all";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/SearchOne.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{SimulFracCustomIcon as t}from"../../icons/customIcons/icons/SimulFrac.js";import{ZipperFracCustomIcon as
|
|
1
|
+
import{jsx as o,jsxs as s}from"react/jsx-runtime";import{makeStyles as i,useTheme as c,Tooltip as n}from"@material-ui/core";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/helpers/objectWithoutProperties";import"react";import"@icon-park/react/es/all";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/SearchOne.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{SimulFracCustomIcon as t}from"../../icons/customIcons/icons/SimulFrac.js";import{ZipperFracCustomIcon as r}from"../../icons/customIcons/icons/ZipperFrac.js";import"../../icons/customIcons/icons/CautionFilled.js";import"../../icons/customIcons/icons/MoreApp.js";import"../../icons/customIcons/icons/Pad.js";import"../../icons/customIcons/icons/DrilloutUnit.js";import"../../icons/customIcons/icons/FracFleet.js";import"../../icons/customIcons/icons/Global.js";import"../../icons/customIcons/icons/Program.js";import"../../icons/customIcons/icons/Rig.js";import"../../icons/customIcons/icons/Well.js";import"../../icons/customIcons/icons/Gap.js";import"../../icons/customIcons/icons/Pin.js";import"../../icons/customIcons/icons/CloseOneFilled.js";import"../../icons/customIcons/icons/AttentionFilled.js";import"../../icons/customIcons/icons/CheckOneFilled.js";import"../../icons/customIcons/icons/Archive.js";import"../../icons/customIcons/icons/ArchiveCancel.js";import"../../icons/customIcons/icons/Unarchive.js";import"../../icons/customIcons/icons/Archived.js";import"../../icons/customIcons/icons/InterventionUnit.js";import"../../icons/customIcons/icons/CloudDelete.js";import"../../icons/customIcons/icons/Lasso.js";import"../../icons/customIcons/icons/Radius.js";import"../../icons/customIcons/icons/ErrorOps.js";import"../../icons/customIcons/icons/DataTypeOps.js";import"../../icons/customIcons/icons/FalsePositiveOps.js";import"../../icons/customIcons/icons/CalibrationOps.js";import"../../icons/customIcons/icons/CriticalOps.js";import"../../icons/customIcons/icons/Company.js";import"../../icons/customIcons/icons/ArchiveOne.js";import"../../icons/customIcons/icons/ParseBotFusion.js";import"../../icons/customIcons/icons/Connect.js";import"../../icons/customIcons/icons/PuzzleOne.js";import"../../icons/customIcons/icons/Feed.js";import"../../icons/customIcons/icons/Prompt.js";import"../../icons/customIcons/icons/Companies.js";import"../../icons/customIcons/icons/ClipboardAi.js";import"../../icons/customIcons/icons/Key.js";import"../../icons/customIcons/icons/AtSignCrossed.js";import"../../icons/customIcons/icons/MappingManual.js";import"../../icons/customIcons/icons/Mapping.js";import"../../icons/customIcons/icons/Metrics.js";import"../../icons/customIcons/icons/Drops.js";import"../../icons/customIcons/icons/ClipboardSearch.js";import"../../icons/customIcons/icons/Template.js";import"../../icons/customIcons/icons/ClipboardMetrics.js";import"../../icons/customIcons/icons/ClipboardBuilder.js";import"../../icons/customIcons/icons/UnitConversion.js";import"../../icons/customIcons/icons/NPT.js";var e=i((function(o){return{tooltipContent:{width:230,padding:4,fontSize:"12px",color:o.palette.primary.text6},tooltipTitle:{marginBottom:8,color:o.palette.primary.text1},labelContainer:{position:"absolute",top:0,left:0,height:14,padding:"1px 16px 0",color:o.palette.background.b2,fontSize:"12px",fontWeight:500,letterSpacing:.5,lineHeight:1,cursor:"default","&:before":{content:'""',position:"absolute",top:0,left:"-1%",width:"100%",height:"100%",transform:"skew(-40deg)",borderBottomRightRadius:2,backgroundColor:o.palette.primary.main}},labelContent:{position:"relative",display:"flex",alignItems:"center",gap:4}}})),m={simul:"SimulFrac",zipper:"ZipperFrac"},p={simul:"Fracturing multiple wells on a pad simultaneously",zipper:"Fracturing one well on a pad at a time"},l=function(i){var l=i.fracFleetLines,a=e(),u=c(),I=l.length?"simul":"zipper";return o(n,{title:s("div",{className:a.tooltipContent,children:[o("div",{className:a.tooltipTitle,children:m[I]}),o("div",{children:p[I]})]}),placement:"bottom",children:o("div",{"data-testid":"FracModeLabel",className:a.labelContainer,children:s("div",{className:a.labelContent,children:[o("simul"===I?t:r,{size:12,fill:u.palette.background.b2}),o("span",{children:m[I]})]})})})};export{l as default};
|
|
2
2
|
//# sourceMappingURL=FracModeLabel.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import o from"@babel/runtime/helpers/slicedToArray";import{jsxs as s,Fragment as
|
|
1
|
+
import o from"@babel/runtime/helpers/slicedToArray";import{jsxs as s,Fragment as i,jsx as c}from"react/jsx-runtime";import{useState as n,useRef as t,useEffect as e}from"react";import{isEmpty as r,first as m}from"lodash";import{makeStyles as a,useTheme as p,FormControl as l,Select as u,MenuItem as d,Tooltip as I}from"@material-ui/core";import j from"classnames";import f from"./WellStreamActivityStatus.js";import h from"./FracModeLabel.js";import{AssetStatus as v}from"./types.js";import{useWellStreamActivityTypeSubscription as S}from"./effects/useWellStreamActivityTypeSubscription.js";import{useMenuItems as C}from"./effects/useMenuItems.js";import{parseMenuItemKey as g}from"./utils/selectMenuKey.js";import{getSelectValue as b,getActiveAsset as F}from"./utils/resolveCurrentConfig.js";import{COMPLETION_MODES as M}from"../../constants/completion.js";import x from"../MiddleTruncate/MiddleTruncate.js";import{PadMode as A}from"../../types/shared/Completions.js";import{InfoIcon as y}from"../../icons/iconParkIcons.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/SearchOne.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"../../icons/customIcons/icons/Pad.js";import"../../icons/customIcons/icons/DrilloutUnit.js";import"../../icons/customIcons/icons/FracFleet.js";import"../../icons/customIcons/icons/Global.js";import"../../icons/customIcons/icons/Program.js";import"../../icons/customIcons/icons/Rig.js";import"../../icons/customIcons/icons/Well.js";import"../../icons/customIcons/icons/Gap.js";import"../../icons/customIcons/icons/Pin.js";import"../../icons/customIcons/icons/CloseOneFilled.js";import"../../icons/customIcons/icons/AttentionFilled.js";import"../../icons/customIcons/icons/CheckOneFilled.js";import"../../icons/customIcons/icons/Archive.js";import"../../icons/customIcons/icons/ArchiveCancel.js";import"../../icons/customIcons/icons/Unarchive.js";import"../../icons/customIcons/icons/Archived.js";import"../../icons/customIcons/icons/InterventionUnit.js";import"../../icons/customIcons/icons/CloudDelete.js";import"../../icons/customIcons/icons/Lasso.js";import"../../icons/customIcons/icons/Radius.js";import"../../icons/customIcons/icons/ErrorOps.js";import"../../icons/customIcons/icons/DataTypeOps.js";import"../../icons/customIcons/icons/FalsePositiveOps.js";import"../../icons/customIcons/icons/CalibrationOps.js";import"../../icons/customIcons/icons/CriticalOps.js";import"../../icons/customIcons/icons/Company.js";import"../../icons/customIcons/icons/ArchiveOne.js";import"../../icons/customIcons/icons/ParseBotFusion.js";import"../../icons/customIcons/icons/Connect.js";import"../../icons/customIcons/icons/PuzzleOne.js";import"../../icons/customIcons/icons/Feed.js";import"../../icons/customIcons/icons/Prompt.js";import"../../icons/customIcons/icons/Companies.js";import"../../icons/customIcons/icons/ClipboardAi.js";import"../../icons/customIcons/icons/Key.js";import"../../icons/customIcons/icons/AtSignCrossed.js";import"../../icons/customIcons/icons/MappingManual.js";import"../../icons/customIcons/icons/Mapping.js";import"../../icons/customIcons/icons/Metrics.js";import"../../icons/customIcons/icons/Drops.js";import"../../icons/customIcons/icons/ClipboardSearch.js";import"../../icons/customIcons/icons/Template.js";import"../../icons/customIcons/icons/ClipboardMetrics.js";import"../../icons/customIcons/icons/ClipboardBuilder.js";import"../../icons/customIcons/icons/UnitConversion.js";import"../../icons/customIcons/icons/NPT.js";var P=a((function(o){return{selectFormControl:{maxWidth:"320px",padding:"5px 8px",marginLeft:"auto"},padSelect:{fontSize:"14px","&:before":{borderBottom:0},"&:after":{borderBottom:0},"& .MuiSelect-root":{alignItems:"center",display:"flex"}},simulFracPadMenu:{"&.MuiList-padding":{paddingTop:16}},menuItem:{display:"flex",justifyContent:"space-between","&.subGroupItem":{paddingLeft:24}},menuItemName:{textOverflow:"ellipsis",overflow:"hidden",width:"100%",fontSize:12,lineHeight:"16px"},activeAsset:{fontSize:12,lineHeight:"16px",minWidth:78,display:"flex",alignItems:"center"},simulFracMessage:{maxWidth:230,display:"flex",alignItems:"center",gap:8,padding:"0 16px",fontSize:12,lineHeight:1.35,color:o.palette.primary.text6,pointerEvents:"none"}}})),O=function(i){var t=i.name,e=i.statusBadge,r=P(),m=n(),a=o(m,2),p=a[0],l=a[1];return c(I,{title:p&&p!==t?t:"",children:s("div",{className:r.activeAsset,children:[c(x,{onTruncate:function(o){l(o)},truncatedText:p,maxWidth:130,children:t}),e]})})},L=function(a){var I=a.completionAppType,x=a.padModeSetting,L=void 0===x?{mode:A.custom}:x,T=a.assets,W=void 0===T?[]:T,w=a.fracFleetLines,k=void 0===w?[]:w,z=a.disableActiveWellsInPadSelect,N=a.enableSimulFracInPadSelect,D=a.onChange,B=a.formControlClassName,E=a.activeAssetComponent,G=void 0===E?O:E,R=n(!1),U=o(R,2),H=U[0],q=U[1],K=t(),Z=P(),_=p(),J=b({fracFleetLines:k,padModeSetting:L,enableSimulFracInPadSelect:N}),Q=C({completionAppType:I,assets:W,fracFleetLines:k,enableSimulFracInPadSelect:N}),V=function(o){var s=m(L.selectedAssets);return L.mode===A.custom&&void 0!==s&&void 0!==o&&+s==+o||H},X=Q.find((function(o){return o.key===J})),Y=S({currentWellId:K.current,isStatusShown:!0,withSubscription:!0}),$=F({assets:W,padModeSetting:L,completionAppType:I});e((function(){null!=X&&X.assetId?K.current=null==X?void 0:X.assetId:K.current=void 0}),[null==X?void 0:X.assetId]);var oo=$&&$.status===v.active;return $||L.mode===A.padLine?s(i,{children:[L.mode===A.pad&&c(G,{name:$.name,statusBadge:oo&&c(f,{isStatusShown:!0,currentWellId:$.asset_id,subData:r(Y)?void 0:Y})}),c(l,{classes:{root:j(Z.selectFormControl,B)},children:J&&s(u,{value:J,onChange:function(o){var s=g(String(o.target.value)),i=s.mode,c=s.assetId,n={mode:i};i===A.custom?(n.mode=A.custom,n.selectedAssets=[parseInt(c,10)]):i===A.padLine&&(n.selectedLine=c),D(n)},inputProps:{name:"padModeSelect",id:"pad-mode-select"},className:Z.padSelect,onClose:function(){return q(!1)},onOpen:function(){return q(!0)},MenuProps:{classes:{list:Z.simulFracPadMenu},anchorOrigin:{vertical:"top",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}},children:[c(h,{fracFleetLines:k}),Q.map((function(o){var i=o.key,n=o.label,t=o.assetId,e=o.wellId,r=o.status,m=o.isSubItem,a=o.isDisabled,p=V(e)&&r===v.active;return s(d,{value:i,className:j(Z.menuItem,m&&"subGroupItem"),disabled:z&&r!==v.active&&i!==M.pad&&(m||a),children:[c("span",{className:Z.menuItemName,children:n}),p&&c(f,{isStatusShown:V(e),currentWellId:t,subData:K.current===t?Y:void 0})]},i)})),!N&&k.length>0&&s("div",{className:Z.simulFracMessage,children:[c(y,{size:16,fill:_.palette.info.main}),"Analytics apps show all wells in Pad Mode for Simulfracs"]})]})})]}):null};export{L as default};
|
|
2
2
|
//# sourceMappingURL=PadModeSelect.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import e from"@babel/runtime/helpers/slicedToArray";import t from"@babel/runtime/helpers/defineProperty";import o from"@babel/runtime/helpers/asyncToGenerator";import s from"@babel/runtime/regenerator";import{useReducer as n,useEffect as i}from"react";import{func as r,shape as p,number as m,string as c,oneOf as a}from"prop-types";import{isEmpty as l,get as d,last as j,isNull as u,noop as C,range as A}from"lodash";import{makeStyles as S,Dialog as g,DialogTitle as V,DialogContent as I,Grid as h,FormControl as D,InputLabel as v,Select as b,MenuItem as T,Checkbox as P,ListItemText as f,Typography as x,FormLabel as E,RadioGroup as F,FormControlLabel as y,Radio as B,DialogActions as L,Button as k}from"@material-ui/core";import{getAppStorage as O}from"../../clients/jsonApi/index.js";import{jsxs as H,Fragment as W,jsx as w}from"react/jsx-runtime";import"../DevCenter/DevCenterAppContainer/components/IsInsideIsolatedDcAppProvider/IsInsideIsolatedDcAppProvider.js";import"../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js";import"../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js";import"@babel/runtime/helpers/objectWithoutProperties";import"classnames";import"@icon-park/react/es/all";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/SearchOne.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"../../icons/customIcons/icons/Pad.js";import"../../icons/customIcons/icons/DrilloutUnit.js";import"../../icons/customIcons/icons/FracFleet.js";import"../../icons/customIcons/icons/Global.js";import"../../icons/customIcons/icons/Program.js";import"../../icons/customIcons/icons/Rig.js";import"../../icons/customIcons/icons/Well.js";import"../../icons/customIcons/icons/Gap.js";import"../../icons/customIcons/icons/Pin.js";import"../../icons/customIcons/icons/CloseOneFilled.js";import"../../icons/customIcons/icons/AttentionFilled.js";import"../../icons/customIcons/icons/CheckOneFilled.js";import"../../icons/customIcons/icons/Archive.js";import"../../icons/customIcons/icons/ArchiveCancel.js";import"../../icons/customIcons/icons/Unarchive.js";import"../../icons/customIcons/icons/Archived.js";import"../../icons/customIcons/icons/InterventionUnit.js";import"../../icons/customIcons/icons/CloudDelete.js";import"../../icons/customIcons/icons/Lasso.js";import"../../icons/customIcons/icons/Radius.js";import"../../utils/mobileDetect.js";import"../IconButton/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/appPackages.js";import"../../constants/notifications.js";import"../../constants/feed.js";import"../../constants/bha.js";import"../../constants/corvaCompanyId.js";import"../GradientManager/configuration/constants.js";import"../Modal/CorvaModal.css.js";import"uuid";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"@material-ui/icons";import"../DevCenter/AppContext.js";import"../DevCenter/DevCenterRouterContext/DevCenterRouterContext.js";import"../DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js";import"react-router-dom";import"query-string";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"../../componentsV2/Text/Text.js";import"../../componentsV2/Grid/Grid.js";import"../../componentsV2/Grid/Cell.js";import"../../componentsV2/Header/Header.scss.js";import"../../componentsV2/Button/Button.js";import"../../componentsV2/ButtonIcon/ButtonIcon.js";import"../../componentsV2/Tooltip/Tooltip.scss.js";import"../../componentsV2/Popover/Popover.js";import"../../componentsV2/Radio/Radio.js";import"../../componentsV2/RadioAndCheckboxGroup/RadioAndCheckboxGroup.scss.js";import"../../componentsV2/Checkbox/Checkbox.js";import"@babel/runtime/helpers/toConsumableArray";import"../../componentsV2/TextInput/TextInput.js";import"../../componentsV2/TextInputNext/TextInputNext.js";import"../../componentsV2/Label/Label.js";import"../../componentsV2/TextEndTruncated/TextEndTruncated.scss.js";import"../../componentsV2/TextMiddleTruncated/TextMiddleTruncated.constants.js";import"../../componentsV2/TextMiddleTruncated/TextMiddleTruncated.scss.js";import"../../componentsV2/TextLink/TextLink.js";import"../../componentsV2/Chip/Chip.js";import"../../componentsV2/ChipAlert/ChipAlert.js";import"../../componentsV2/ChipIndicator/ChipIndicator.js";import"../../componentsV2/Avatar/Avatar.js";import"../../componentsV2/AvatarGroup/AvatarGroup.js";import"@material-ui/lab";import"../../componentsV2/ToggleButtons/ToggleButtons.scss.js";import"../../componentsV2/Paper/Paper.js";import"../../componentsV2/ModalWindow/ModalWindow.js";import"../../componentsV2/Modal/Modal.scss.js";import"../../componentsV2/Menu/Menu.js";import"../../componentsV2/utils.js";import"../../componentsV2/Hint/Hint.scss.js";import"../../componentsV2/Counter/Counter.js";import"../../componentsV2/BadgeBase/BadgeBase.scss.js";import"../../componentsV2/TemplatesControl/TemplatesControl.js";import"zustand";import"../../componentsV2/TemplatesControl/utils.js";import"../../componentsV2/TemplatesControl/icons/folder/index.js";import"../../componentsV2/TemplatesControl/Store/utils.js";import"../../componentsV2/TemplatesControl/types.js";import"../../permissions/PermissionsContext.js";import"../../permissions/constants/index.js";import"../../permissions/withPermissionsHOC.js";import"../../permissions/ProvidePermissions.js";import"../../componentsV2/BadgeDot/BadgeDot.scss.js";import"../../componentsV2/LoaderLinear/LoaderLinear.scss.js";import"../../componentsV2/LoaderLogo/LoaderLogo.constants.js";import"../../componentsV2/LoaderLogo/LoaderLogo.scss.js";import"../../componentsV2/Switch/Switch.js";import"../../componentsV2/Tabs/Tabs.js";import"../../componentsV2/EmptyState/EmptyState.scss.js";import"../../componentsV2/FileIcon/FileIcon.js";import"../../componentsV2/Tag/Tag.js";import"react-dropzone";import"../../componentsV2/FilesDropzone/FilesDropzone.scss.js";import"../../componentsV2/FilesLoader/FilesLoader.scss.js";import"../../componentsV2/FilesProcessor/FilesProcessor.scss.js";import"../../componentsV2/Skeleton/Skeleton.scss.js";import"../../utils/main.js";import"../../componentsV2/CopyToClipboard/CopyToClipboard.scss.js";import"../../componentsV2/Stepper/Step/Step.scss.js";import"../../componentsV2/Stepper/Stepper.scss.js";import"../../componentsV2/ButtonLive/ButtonLive.js";import"../../componentsV2/ButtonText/ButtonText.js";import"../../componentsV2/IndicatorLive/IndicatorLive.js";import"../../componentsV2/Accordion/Accordion.scss.js";import"../../componentsV2/Breadcrumbs/Breadcrumbs.scss.js";import"../../componentsV2/BadgeComment/BadgeComment.js";import"../../componentsV2/AppContainer/AppContainer.js";import"../../componentsV2/AppContainer/AppContainer.constants.js";import"../../componentsV2/AppFooter/AppFooter.js";import"immutable";import"../../componentsV2/AppCommonsProvider/AppCommonsContext.js";import"../../componentsV2/AppHeader/AppHeader.constants.js";import"../../componentsV2/AppHeader/AppBadge/AppBadge.scss.js";import"../../componentsV2/AppHeader/AppAssets/utils.js";import"../../componentsV2/AppHeader/AppAssets/AppAssets.scss.js";import"../PadModeSelect/PadModeSelect.js";import"../../componentsV2/AppHeader/PadMode/PadMode.scss.js";import"../../constants/streamSourceType.js";import"../../componentsV2/PadModeSelect/PadModeSelect.js";import"../../componentsV2/PadModeSelect/PadModeSelect.constants.js";import"../../componentsV2/AppCommonsProvider/AppCommonsProvider.js";import"../../componentsV2/AppHeader/V3/VersionSelect/VersionSelect.js";import"../../componentsV2/UniversalLink/UniversalLink.scss.js";import"../../componentsV2/AppHeader/V3/AssetChips/AssetChips.scss.js";import"moment";import"../../componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.js";import"../../componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.constants.js";import"../../componentsV2/AppFooter/DqPopover/DqStatusIcon/DqStatusIcon.js";import"../../componentsV2/AppDqPopover/DqAlertTooltip/DqAlertTooltip.scss.js";import"../../componentsV2/AppDqPopover/DqAlert/DqAlert.scss.js";import"../../componentsV2/AppDqPopover/DqAsset/DqAsset.scss.js";import"../../componentsV2/AppDqPopover/AppDqPopover.scss.js";import"../../utils/getSingleAsset.js";import"../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorChip/AssetSelectorChip.js";import"../../componentsV2/AppHeader/V3/AssetSelector/constants.js";import"../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/AssetSelectorSelect.scss.js";import"../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/loadAssets.js";import"../../componentsV2/AppHeader/V3/AssetSelector/AssetSelector.scss.js";import"../../clients/subscriptions/constants.js";import"querystring";import"uuid/v1";import"../../clients/subscriptions.v1.js";import"../../clients/subscriptions/subscriptions-client.factory.js";import"jsona";import"../../utils/env.js";import"../StatusBadge/constants.js";import"lodash/set";import"lodash/get";import"lodash/unset";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"../DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchContext.js";import"../../componentsV2/AppSettings/AppSettingsPinningContext.js";import"../../componentsV2/AppHeader/V3/AppTitle/AppTitle.constants.js";import"../../componentsV2/AppHeader/V3/AppTitle/AppTitle.scss.js";import"../../componentsV2/AppHeader/V3/constants.scss.js";import"@babel/runtime/helpers/typeof";import"../../componentsV2/AppHeader/V3/SettingsButton/SettingsButton.js";import"../../componentsV2/AppHeader/V3/SettingsButton/SettingsButton.constants.js";import"../../componentsV2/AppSettings/AppSettings.js";import"../../componentsV2/AppSettings/AppSettings.constants.js";import"../../componentsV2/AppSizeProvider/AppSizeProvider.js";import"../../componentsV2/AppHeader/V3/Actions/Actions.constants.js";import"../../componentsV2/AppHeader/V3/Actions/Actions.scss.js";import"../../componentsV2/AppHeader/V3/AppHeaderV3.scss.js";import"../../componentsV2/AppHeader/AppHeader.scss.js";import"../../componentsV2/OffsetWellsButton/OffsetWellsButton.js";import"../../componentsV2/Autocomplete/Autocomplete.js";import"../../componentsV2/Select/Select.js";import"../../componentsV2/AppSettingsDivider/AppSettingsDivider.scss.js";import"../../componentsV2/WellArchivedMessage/WellArchivedMessage.js";import"../../componentsV2/DatePicker/DatePicker.js";import"../../componentsV2/DragHandle/DragHandle.js";import"../../componentsV2/CompletionsOffsetWellPicker/CompletionsOffsetWellPicker.js";import"../../componentsV2/Slider/constants.js";import"../../componentsV2/Slider/components/SliderThumb.js";import"../../componentsV2/Slider/Slider.scss.js";import"react-color";import"../../componentsV2/ColorPicker/Swatches/Swatches.scss.js";import"../../componentsV2/ColorPicker/OpacityDragtracker/OpacityDragTracker.scss.js";import"../../componentsV2/ColorPicker/ColorPicker.scss.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/RestoreAppSizeButton/index.js";import"rollbar";import"@rollbar/react";import"../DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.scss.js";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"../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"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"../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"@babel/runtime/helpers/classCallCheck";import"@babel/runtime/helpers/createClass";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 M from"../OffsetWellChips/Chip.js";import"../OffsetWellChips/ChipsContainer.js";import"../OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/OffsetWellPickerV5WithStore.js";import"../OffsetWellMap/OffsetWellMap.js";import"@material-ui/core/Snackbar";import"../Notifications/Toast.js";import"../Notifications/Notifications.scss.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"../PinnableFilters/PinnableFilters.js";import"../HeaderLayout/HeaderLayout.js";import"./PadOffsetsPicker.js";import"./OffsetAssetChip.js";import"./OffsetAssetsListExpander.js";import"../PadOffsetsPickerV2/PadOffsetsPickerV2.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"../../componentsV2/FileIcon/icons/ArchiveFileIcon.js";import"../../componentsV2/FileIcon/icons/CSVFileIcon.js";import"../../componentsV2/FileIcon/icons/DocFileIcon.js";import"../../componentsV2/FileIcon/icons/EDMFileIcon.js";import"../../componentsV2/FileIcon/icons/ExcelFileIcon.js";import"../../componentsV2/FileIcon/icons/ImageFileIcon.js";import"../../componentsV2/FileIcon/icons/JsonFileIcon.js";import"../../componentsV2/FileIcon/icons/LasFileIcon.js";import"../../componentsV2/FileIcon/icons/OtherFileIcon.js";import"../../componentsV2/FileIcon/icons/PdfFileIcon.js";import"../../componentsV2/FileIcon/icons/PowerPointFileIcon.js";import"../../componentsV2/FileIcon/icons/TxtFileIcon.js";import"../../componentsV2/FileIcon/icons/UnknownFileIcon.js";import"../../componentsV2/FileIcon/icons/VideoFileIcon.js";import"../../componentsV2/FileIcon/icons/XmlFileIcon.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"../FilesDropzone/styles.js";import"../FilesProcessor/styles.js";import"../Hint/styles.js";import"@babel/runtime/helpers/taggedTemplateLiteral";import"fparser";import"../Formula/useFormulaStyles.js";import"../Formula/RootXIcon.js";import"../Formula/FormulaTextEditor.js";import"../Formula/CloseSuggestion.js";import"../Formula/SuggestionsMenu.js";function q(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 R(e){for(var o=1;o<arguments.length;o++){var s=null!=arguments[o]?arguments[o]:{};o%2?q(Object(s),!0).forEach((function(o){t(e,o,s[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(s)):q(Object(s)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(s,t))}))}return e}var G,N=S({dialogPaper:{width:"75%",maxWidth:420}}),_=(G=o(s.mark((function e(t,o){var n,i;return s.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,O("corva","completion.wits",t,{limit:1,sort:"{timestamp:-1}"});case 3:n=e.sent,i=l(n)?null:d(j(n),"stage_number",null),o({type:"SUCCESS",lastStageNumber:i}),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(0),o({type:"FAILURE",error:e.t0.message});case 11:case"end":return e.stop()}}),e,null,[[0,8]])}))),function(e,t){return G.apply(this,arguments)}),U=function(e,t){switch(t.type){case"FETCH_STAGES":return R(R({},e),{},{requestState:"pending"});case"SUCCESS":return R(R({},e),{},{requestState:"success",lastStageNumber:t.lastStageNumber});case"FAILURE":return R(R({},e),{},{requestState:"failure",error:t.error});default:return e}},z=function(e,o){switch(o.type){case"OPEN_DIALOG":return R(R({},e),{},{dialogState:"open"});case"CLOSE_DIALOG":return R(R({},e),{},{dialogState:"closed"});case"SET_SELECTED_STAGES":return R(R({},e),{},{selectedStages:o.selectedStages,stagesData:o.selectedStages.reduce((function(e,o){return R(R({},e),{},t({},o,{lineStyle:"dotted",lineWidth:2}))}),{})});case"SET_SELECTED_LINE_STYLE":return R(R({},e),{},{stagesData:R(R({},e.stagesData),{},t({},o.stage,R(R({},e.stagesData[o.stage]),{},{lineStyle:o.selectedLineStyle})))});case"SET_SELECTED_LINE_WIDTH":return R(R({},e),{},{stagesData:R(R({},e.stagesData),{},t({},o.stage,R(R({},e.stagesData[o.stage]),{},{lineWidth:Number(o.selectedLineWidth)})))});default:return e}},Z=function(t){var o=t.onSave,s=t.onDelete,r=t.offset,p=N(),m=n(U,{requestState:"idle",lastStageNumber:null,error:null}),c=e(m,2),a=c[0],l=c[1],j=n(z,{dialogState:"closed",selectedStages:r.selectedStages||[],stagesData:r.stages||{}}),S=e(j,2),O=S[0],q=S[1],G=function(e){return function(t){q({type:"SET_SELECTED_LINE_STYLE",stage:e,selectedLineStyle:t.target.value})}},Z=function(e){return function(t){q({type:"SET_SELECTED_LINE_WIDTH",stage:e,selectedLineWidth:t.target.value})}},X=function(){q({type:"CLOSE_DIALOG"})},Y=r.selectedWellId;i((function(){l({type:"FETCH_STAGES"}),_(Y,l)}),[Y]);var J=u(a.lastStageNumber);return H(W,{children:[w(M,{title:r.selectedWellName,onClick:J?C:function(){q({type:"OPEN_DIALOG"})},onRemoveOffsetWell:s,wellId:Y,rigName:""}),"success"===a.requestState&&H(g,{open:"open"===O.dialogState,onBackdropClick:X,classes:{paper:p.dialogPaper},children:[w(V,{children:"Offset Well Stages"}),w(I,{children:H(h,{container:!0,direction:"column",spacing:2,children:[w(h,{item:!0,children:H(D,{margin:"normal",fullWidth:!0,required:!0,children:[w(v,{htmlFor:"stages-multi-select",children:"Stages"}),w(b,{inputProps:{name:"stages",id:"stages-multi-select"},value:O.selectedStages,renderValue:function(e){return"".concat(e.length," stages selected")},onChange:function(e){q({type:"SET_SELECTED_STAGES",selectedStages:e.target.value})},multiple:!0,children:A(1,a.lastStageNumber+1).map((function(e){return H(T,{value:e,children:[w(P,{checked:O.selectedStages.includes(e)}),w(f,{primary:e})]},e)}))})]})}),O.selectedStages.sort((function(e,t){return e-t})).map((function(e){return H(h,{item:!0,children:[H(x,{variant:"subtitle1",children:["Stage ",e]}),H(D,{component:"fieldset",children:[w(E,{component:"legend",required:!0,children:"Line Style"}),H(F,{name:"line-style",value:d(O.stagesData,[e,"lineStyle"],"dotted"),onChange:G(e),row:!0,children:[w(y,{value:"dotted",control:w(B,{}),label:"Dotted"}),w(y,{value:"dashed",control:w(B,{}),label:"Dashed"}),w(y,{value:"solid",control:w(B,{}),label:"Solid"})]})]}),H(D,{component:"fieldset",children:[w(E,{component:"legend",required:!0,children:"Line Width"}),H(F,{name:"line-width",value:String(d(O.stagesData,[e,"lineWidth"],"2")),onChange:Z(e),row:!0,children:[w(y,{value:String(1),control:w(B,{}),label:"Thin"}),w(y,{value:String(2),control:w(B,{}),label:"Normal"}),w(y,{value:String(4),control:w(B,{}),label:"Thick"})]})]})]},e)}))]})}),H(L,{children:[w(k,{onClick:X,children:"Cancel"}),w(k,{variant:"contained",color:"primary",onClick:function(){var e=R(R({},r),{},{stages:O.stagesData,selectedStages:O.selectedStages});X(),o(e)},children:"Save"})]})]})]})};Z.propTypes={onSave:r.isRequired,onDelete:r.isRequired,offset:p({selectedWellId:m,selectedWellName:c,selectedWellStatus:a(["active","idle","complete","paused","unknown"])}).isRequired};export{Z as default};
|
|
1
|
+
import t from"@babel/runtime/helpers/slicedToArray";import o from"@babel/runtime/helpers/defineProperty";import e from"@babel/runtime/helpers/asyncToGenerator";import s from"@babel/runtime/regenerator";import{useReducer as n,useEffect as i}from"react";import{func as r,shape as p,number as c,string as m,oneOf as a}from"prop-types";import{isEmpty as l,get as d,last as j,isNull as u,noop as C,range as A}from"lodash";import{makeStyles as S,Dialog as g,DialogTitle as I,DialogContent as V,Grid as h,FormControl as D,InputLabel as v,Select as b,MenuItem as T,Checkbox as P,ListItemText as f,Typography as x,FormLabel as E,RadioGroup as F,FormControlLabel as y,Radio as B,DialogActions as L,Button as k}from"@material-ui/core";import{getAppStorage as O}from"../../clients/jsonApi/index.js";import{jsxs as H,Fragment as M,jsx as W}from"react/jsx-runtime";import"../DevCenter/DevCenterAppContainer/components/IsInsideIsolatedDcAppProvider/IsInsideIsolatedDcAppProvider.js";import"../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js";import"../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js";import"@babel/runtime/helpers/objectWithoutProperties";import"classnames";import"@icon-park/react/es/all";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/SearchOne.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"../../icons/customIcons/icons/Pad.js";import"../../icons/customIcons/icons/DrilloutUnit.js";import"../../icons/customIcons/icons/FracFleet.js";import"../../icons/customIcons/icons/Global.js";import"../../icons/customIcons/icons/Program.js";import"../../icons/customIcons/icons/Rig.js";import"../../icons/customIcons/icons/Well.js";import"../../icons/customIcons/icons/Gap.js";import"../../icons/customIcons/icons/Pin.js";import"../../icons/customIcons/icons/CloseOneFilled.js";import"../../icons/customIcons/icons/AttentionFilled.js";import"../../icons/customIcons/icons/CheckOneFilled.js";import"../../icons/customIcons/icons/Archive.js";import"../../icons/customIcons/icons/ArchiveCancel.js";import"../../icons/customIcons/icons/Unarchive.js";import"../../icons/customIcons/icons/Archived.js";import"../../icons/customIcons/icons/InterventionUnit.js";import"../../icons/customIcons/icons/CloudDelete.js";import"../../icons/customIcons/icons/Lasso.js";import"../../icons/customIcons/icons/Radius.js";import"../../icons/customIcons/icons/ErrorOps.js";import"../../icons/customIcons/icons/DataTypeOps.js";import"../../icons/customIcons/icons/FalsePositiveOps.js";import"../../icons/customIcons/icons/CalibrationOps.js";import"../../icons/customIcons/icons/CriticalOps.js";import"../../icons/customIcons/icons/Company.js";import"../../icons/customIcons/icons/ArchiveOne.js";import"../../icons/customIcons/icons/ParseBotFusion.js";import"../../icons/customIcons/icons/Connect.js";import"../../icons/customIcons/icons/PuzzleOne.js";import"../../icons/customIcons/icons/Feed.js";import"../../icons/customIcons/icons/Prompt.js";import"../../icons/customIcons/icons/Companies.js";import"../../icons/customIcons/icons/ClipboardAi.js";import"../../icons/customIcons/icons/Key.js";import"../../icons/customIcons/icons/AtSignCrossed.js";import"../../icons/customIcons/icons/MappingManual.js";import"../../icons/customIcons/icons/Mapping.js";import"../../icons/customIcons/icons/Metrics.js";import"../../icons/customIcons/icons/Drops.js";import"../../icons/customIcons/icons/ClipboardSearch.js";import"../../icons/customIcons/icons/Template.js";import"../../icons/customIcons/icons/ClipboardMetrics.js";import"../../icons/customIcons/icons/ClipboardBuilder.js";import"../../icons/customIcons/icons/UnitConversion.js";import"../../icons/customIcons/icons/NPT.js";import"../../utils/mobileDetect.js";import"../IconButton/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/appPackages.js";import"../../constants/notifications.js";import"../../constants/feed.js";import"../../constants/bha.js";import"../../constants/corvaCompanyId.js";import"../GradientManager/configuration/constants.js";import"../Modal/CorvaModal.css.js";import"uuid";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"@material-ui/icons";import"../DevCenter/AppContext.js";import"../DevCenter/DevCenterRouterContext/DevCenterRouterContext.js";import"../DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js";import"react-router-dom";import"query-string";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"../../componentsV2/Text/Text.js";import"../../componentsV2/Grid/Grid.js";import"../../componentsV2/Grid/Cell.js";import"../../componentsV2/Header/Header.scss.js";import"../../componentsV2/Button/Button.js";import"../../componentsV2/ButtonIcon/ButtonIcon.js";import"../../componentsV2/Tooltip/Tooltip.scss.js";import"../../componentsV2/Popover/Popover.js";import"../../componentsV2/Radio/Radio.js";import"../../componentsV2/RadioAndCheckboxGroup/RadioAndCheckboxGroup.scss.js";import"../../componentsV2/Checkbox/Checkbox.js";import"@babel/runtime/helpers/toConsumableArray";import"../../componentsV2/TextInput/TextInput.js";import"../../componentsV2/TextInputNext/TextInputNext.js";import"../../componentsV2/Label/Label.js";import"../../componentsV2/TextEndTruncated/TextEndTruncated.scss.js";import"../../componentsV2/TextMiddleTruncated/TextMiddleTruncated.constants.js";import"../../componentsV2/TextMiddleTruncated/TextMiddleTruncated.scss.js";import"../../componentsV2/TextLink/TextLink.js";import"../../componentsV2/Chip/Chip.js";import"../../componentsV2/ChipAlert/ChipAlert.js";import"../../componentsV2/ChipIndicator/ChipIndicator.js";import"../../componentsV2/Avatar/Avatar.js";import"../../componentsV2/AvatarGroup/AvatarGroup.js";import"@material-ui/lab";import"../../componentsV2/ToggleButtons/ToggleButtons.scss.js";import"../../componentsV2/Paper/Paper.js";import"../../componentsV2/ModalWindow/ModalWindow.js";import"../../componentsV2/Modal/Modal.scss.js";import"../../componentsV2/Menu/Menu.js";import"../../componentsV2/utils.js";import"../../componentsV2/Hint/Hint.scss.js";import"../../componentsV2/Counter/Counter.js";import"../../componentsV2/BadgeBase/BadgeBase.scss.js";import"../../componentsV2/TemplatesControl/TemplatesControl.js";import"zustand";import"../../componentsV2/TemplatesControl/utils.js";import"../../componentsV2/TemplatesControl/icons/folder/index.js";import"../../componentsV2/TemplatesControl/Store/utils.js";import"../../componentsV2/TemplatesControl/types.js";import"../../permissions/PermissionsContext.js";import"../../permissions/constants/index.js";import"../../permissions/withPermissionsHOC.js";import"../../permissions/ProvidePermissions.js";import"../../componentsV2/BadgeDot/BadgeDot.scss.js";import"../../componentsV2/LoaderLinear/LoaderLinear.scss.js";import"../../componentsV2/LoaderLogo/LoaderLogo.constants.js";import"../../componentsV2/LoaderLogo/LoaderLogo.scss.js";import"../../componentsV2/Switch/Switch.js";import"../../componentsV2/Tabs/Tabs.js";import"../../componentsV2/EmptyState/EmptyState.scss.js";import"../../componentsV2/FileIcon/FileIcon.js";import"../../componentsV2/Tag/Tag.js";import"react-dropzone";import"../../componentsV2/FilesDropzone/FilesDropzone.scss.js";import"../../componentsV2/FilesLoader/FilesLoader.scss.js";import"../../componentsV2/FilesProcessor/FilesProcessor.scss.js";import"../../componentsV2/Skeleton/Skeleton.scss.js";import"../../utils/main.js";import"../../componentsV2/CopyToClipboard/CopyToClipboard.scss.js";import"../../componentsV2/Stepper/Step/Step.scss.js";import"../../componentsV2/Stepper/Stepper.scss.js";import"../../componentsV2/ButtonLive/ButtonLive.js";import"../../componentsV2/ButtonText/ButtonText.js";import"../../componentsV2/IndicatorLive/IndicatorLive.js";import"../../componentsV2/Accordion/Accordion.scss.js";import"../../componentsV2/Breadcrumbs/Breadcrumbs.scss.js";import"../../componentsV2/BadgeComment/BadgeComment.js";import"../../componentsV2/AppContainer/AppContainer.js";import"../../componentsV2/AppContainer/AppContainer.constants.js";import"../../componentsV2/AppFooter/AppFooter.js";import"immutable";import"../../componentsV2/AppCommonsProvider/AppCommonsContext.js";import"../../componentsV2/AppHeader/AppHeader.constants.js";import"../../componentsV2/AppHeader/AppBadge/AppBadge.scss.js";import"../../componentsV2/AppHeader/AppAssets/utils.js";import"../../componentsV2/AppHeader/AppAssets/AppAssets.scss.js";import"../PadModeSelect/PadModeSelect.js";import"../../componentsV2/AppHeader/PadMode/PadMode.scss.js";import"../../constants/streamSourceType.js";import"../../componentsV2/PadModeSelect/PadModeSelect.js";import"../../componentsV2/PadModeSelect/PadModeSelect.constants.js";import"../../componentsV2/AppCommonsProvider/AppCommonsProvider.js";import"../../componentsV2/AppHeader/V3/VersionSelect/VersionSelect.js";import"../../componentsV2/UniversalLink/UniversalLink.scss.js";import"../../componentsV2/AppHeader/V3/AssetChips/AssetChips.scss.js";import"moment";import"../../componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.js";import"../../componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.constants.js";import"../../componentsV2/AppFooter/DqPopover/DqStatusIcon/DqStatusIcon.js";import"../../componentsV2/AppDqPopover/DqAlertTooltip/DqAlertTooltip.scss.js";import"../../componentsV2/AppDqPopover/DqAlert/DqAlert.scss.js";import"../../componentsV2/AppDqPopover/DqAsset/DqAsset.scss.js";import"../../componentsV2/AppDqPopover/AppDqPopover.scss.js";import"../../utils/getSingleAsset.js";import"../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorChip/AssetSelectorChip.js";import"../../componentsV2/AppHeader/V3/AssetSelector/constants.js";import"../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/AssetSelectorSelect.scss.js";import"../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/loadAssets.js";import"../../componentsV2/AppHeader/V3/AssetSelector/AssetSelector.scss.js";import"../../clients/subscriptions/constants.js";import"querystring";import"uuid/v1";import"../../clients/subscriptions.v1.js";import"../../clients/subscriptions/subscriptions-client.factory.js";import"jsona";import"../../utils/env.js";import"../StatusBadge/constants.js";import"lodash/set";import"lodash/get";import"lodash/unset";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"../DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchContext.js";import"../../componentsV2/AppSettings/AppSettingsPinningContext.js";import"../../componentsV2/AppHeader/V3/AppTitle/AppTitle.constants.js";import"../../componentsV2/AppHeader/V3/AppTitle/AppTitle.scss.js";import"../../componentsV2/AppHeader/V3/constants.scss.js";import"@babel/runtime/helpers/typeof";import"../../componentsV2/AppHeader/V3/SettingsButton/SettingsButton.js";import"../../componentsV2/AppHeader/V3/SettingsButton/SettingsButton.constants.js";import"../../componentsV2/AppSettings/AppSettings.js";import"../../componentsV2/AppSettings/AppSettings.constants.js";import"../../componentsV2/AppSizeProvider/AppSizeProvider.js";import"../../componentsV2/AppHeader/V3/Actions/Actions.constants.js";import"../../componentsV2/AppHeader/V3/Actions/Actions.scss.js";import"../../componentsV2/AppHeader/V3/AppHeaderV3.scss.js";import"../../componentsV2/AppHeader/AppHeader.scss.js";import"../../componentsV2/OffsetWellsButton/OffsetWellsButton.js";import"../../componentsV2/Autocomplete/Autocomplete.js";import"../../componentsV2/Select/Select.js";import"../../componentsV2/AppSettingsDivider/AppSettingsDivider.scss.js";import"../../componentsV2/WellArchivedMessage/WellArchivedMessage.js";import"../../componentsV2/DatePicker/DatePicker.js";import"../../componentsV2/DragHandle/DragHandle.js";import"../../componentsV2/CompletionsOffsetWellPicker/CompletionsOffsetWellPicker.js";import"../../componentsV2/Slider/constants.js";import"../../componentsV2/Slider/components/SliderThumb.js";import"../../componentsV2/Slider/Slider.scss.js";import"react-color";import"../../componentsV2/ColorPicker/Swatches/Swatches.scss.js";import"../../componentsV2/ColorPicker/OpacityDragtracker/OpacityDragTracker.scss.js";import"../../componentsV2/ColorPicker/ColorPicker.scss.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/RestoreAppSizeButton/index.js";import"rollbar";import"@rollbar/react";import"../DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.scss.js";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"../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"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"../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"@babel/runtime/helpers/classCallCheck";import"@babel/runtime/helpers/createClass";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 w from"../OffsetWellChips/Chip.js";import"../OffsetWellChips/ChipsContainer.js";import"../OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/OffsetWellPickerV5WithStore.js";import"../OffsetWellMap/OffsetWellMap.js";import"@material-ui/core/Snackbar";import"../Notifications/Toast.js";import"../Notifications/Notifications.scss.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"../PinnableFilters/PinnableFilters.js";import"../HeaderLayout/HeaderLayout.js";import"./PadOffsetsPicker.js";import"./OffsetAssetChip.js";import"./OffsetAssetsListExpander.js";import"../PadOffsetsPickerV2/PadOffsetsPickerV2.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"../../componentsV2/FileIcon/icons/ArchiveFileIcon.js";import"../../componentsV2/FileIcon/icons/CSVFileIcon.js";import"../../componentsV2/FileIcon/icons/DocFileIcon.js";import"../../componentsV2/FileIcon/icons/EDMFileIcon.js";import"../../componentsV2/FileIcon/icons/ExcelFileIcon.js";import"../../componentsV2/FileIcon/icons/ImageFileIcon.js";import"../../componentsV2/FileIcon/icons/JsonFileIcon.js";import"../../componentsV2/FileIcon/icons/LasFileIcon.js";import"../../componentsV2/FileIcon/icons/OtherFileIcon.js";import"../../componentsV2/FileIcon/icons/PdfFileIcon.js";import"../../componentsV2/FileIcon/icons/PowerPointFileIcon.js";import"../../componentsV2/FileIcon/icons/TxtFileIcon.js";import"../../componentsV2/FileIcon/icons/UnknownFileIcon.js";import"../../componentsV2/FileIcon/icons/VideoFileIcon.js";import"../../componentsV2/FileIcon/icons/XmlFileIcon.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"../FilesDropzone/styles.js";import"../FilesProcessor/styles.js";import"../Hint/styles.js";import"@babel/runtime/helpers/taggedTemplateLiteral";import"fparser";import"../Formula/useFormulaStyles.js";import"../Formula/RootXIcon.js";import"../Formula/FormulaTextEditor.js";import"../Formula/CloseSuggestion.js";import"../Formula/SuggestionsMenu.js";function q(t,o){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);o&&(s=s.filter((function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable}))),e.push.apply(e,s)}return e}function R(t){for(var e=1;e<arguments.length;e++){var s=null!=arguments[e]?arguments[e]:{};e%2?q(Object(s),!0).forEach((function(e){o(t,e,s[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(s)):q(Object(s)).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(s,o))}))}return t}var G,N=S({dialogPaper:{width:"75%",maxWidth:420}}),_=(G=e(s.mark((function t(o,e){var n,i;return s.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,O("corva","completion.wits",o,{limit:1,sort:"{timestamp:-1}"});case 3:n=t.sent,i=l(n)?null:d(j(n),"stage_number",null),e({type:"SUCCESS",lastStageNumber:i}),t.next=11;break;case 8:t.prev=8,t.t0=t.catch(0),e({type:"FAILURE",error:t.t0.message});case 11:case"end":return t.stop()}}),t,null,[[0,8]])}))),function(t,o){return G.apply(this,arguments)}),U=function(t,o){switch(o.type){case"FETCH_STAGES":return R(R({},t),{},{requestState:"pending"});case"SUCCESS":return R(R({},t),{},{requestState:"success",lastStageNumber:o.lastStageNumber});case"FAILURE":return R(R({},t),{},{requestState:"failure",error:o.error});default:return t}},z=function(t,e){switch(e.type){case"OPEN_DIALOG":return R(R({},t),{},{dialogState:"open"});case"CLOSE_DIALOG":return R(R({},t),{},{dialogState:"closed"});case"SET_SELECTED_STAGES":return R(R({},t),{},{selectedStages:e.selectedStages,stagesData:e.selectedStages.reduce((function(t,e){return R(R({},t),{},o({},e,{lineStyle:"dotted",lineWidth:2}))}),{})});case"SET_SELECTED_LINE_STYLE":return R(R({},t),{},{stagesData:R(R({},t.stagesData),{},o({},e.stage,R(R({},t.stagesData[e.stage]),{},{lineStyle:e.selectedLineStyle})))});case"SET_SELECTED_LINE_WIDTH":return R(R({},t),{},{stagesData:R(R({},t.stagesData),{},o({},e.stage,R(R({},t.stagesData[e.stage]),{},{lineWidth:Number(e.selectedLineWidth)})))});default:return t}},Z=function(o){var e=o.onSave,s=o.onDelete,r=o.offset,p=N(),c=n(U,{requestState:"idle",lastStageNumber:null,error:null}),m=t(c,2),a=m[0],l=m[1],j=n(z,{dialogState:"closed",selectedStages:r.selectedStages||[],stagesData:r.stages||{}}),S=t(j,2),O=S[0],q=S[1],G=function(t){return function(o){q({type:"SET_SELECTED_LINE_STYLE",stage:t,selectedLineStyle:o.target.value})}},Z=function(t){return function(o){q({type:"SET_SELECTED_LINE_WIDTH",stage:t,selectedLineWidth:o.target.value})}},K=function(){q({type:"CLOSE_DIALOG"})},X=r.selectedWellId;i((function(){l({type:"FETCH_STAGES"}),_(X,l)}),[X]);var Y=u(a.lastStageNumber);return H(M,{children:[W(w,{title:r.selectedWellName,onClick:Y?C:function(){q({type:"OPEN_DIALOG"})},onRemoveOffsetWell:s,wellId:X,rigName:""}),"success"===a.requestState&&H(g,{open:"open"===O.dialogState,onBackdropClick:K,classes:{paper:p.dialogPaper},children:[W(I,{children:"Offset Well Stages"}),W(V,{children:H(h,{container:!0,direction:"column",spacing:2,children:[W(h,{item:!0,children:H(D,{margin:"normal",fullWidth:!0,required:!0,children:[W(v,{htmlFor:"stages-multi-select",children:"Stages"}),W(b,{inputProps:{name:"stages",id:"stages-multi-select"},value:O.selectedStages,renderValue:function(t){return"".concat(t.length," stages selected")},onChange:function(t){q({type:"SET_SELECTED_STAGES",selectedStages:t.target.value})},multiple:!0,children:A(1,a.lastStageNumber+1).map((function(t){return H(T,{value:t,children:[W(P,{checked:O.selectedStages.includes(t)}),W(f,{primary:t})]},t)}))})]})}),O.selectedStages.sort((function(t,o){return t-o})).map((function(t){return H(h,{item:!0,children:[H(x,{variant:"subtitle1",children:["Stage ",t]}),H(D,{component:"fieldset",children:[W(E,{component:"legend",required:!0,children:"Line Style"}),H(F,{name:"line-style",value:d(O.stagesData,[t,"lineStyle"],"dotted"),onChange:G(t),row:!0,children:[W(y,{value:"dotted",control:W(B,{}),label:"Dotted"}),W(y,{value:"dashed",control:W(B,{}),label:"Dashed"}),W(y,{value:"solid",control:W(B,{}),label:"Solid"})]})]}),H(D,{component:"fieldset",children:[W(E,{component:"legend",required:!0,children:"Line Width"}),H(F,{name:"line-width",value:String(d(O.stagesData,[t,"lineWidth"],"2")),onChange:Z(t),row:!0,children:[W(y,{value:String(1),control:W(B,{}),label:"Thin"}),W(y,{value:String(2),control:W(B,{}),label:"Normal"}),W(y,{value:String(4),control:W(B,{}),label:"Thick"})]})]})]},t)}))]})}),H(L,{children:[W(k,{onClick:K,children:"Cancel"}),W(k,{variant:"contained",color:"primary",onClick:function(){var t=R(R({},r),{},{stages:O.stagesData,selectedStages:O.selectedStages});K(),e(t)},children:"Save"})]})]})]})};Z.propTypes={onSave:r.isRequired,onDelete:r.isRequired,offset:p({selectedWellId:c,selectedWellName:m,selectedWellStatus:a(["active","idle","complete","paused","unknown"])}).isRequired};export{Z as default};
|
|
2
2
|
//# sourceMappingURL=StagesSelector.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StagesSelector.js","sources":["../../../src/components/PadOffsetsPicker/StagesSelector.js"],"sourcesContent":["import { useEffect, useReducer } from 'react';\nimport { func, number, oneOf, string, shape } from 'prop-types';\nimport { isNull, get, noop, range, isEmpty, last } from 'lodash';\nimport {\n Button,\n Checkbox,\n Dialog,\n DialogActions,\n DialogContent,\n DialogTitle,\n FormControl,\n FormControlLabel,\n FormLabel,\n Grid,\n InputLabel,\n ListItemText,\n MenuItem,\n Radio,\n RadioGroup,\n Select,\n Typography,\n makeStyles,\n} from '@material-ui/core';\n\nimport { getAppStorage } from '~/clients/jsonApi';\nimport { OffsetWellChip } from '~/components';\n\nconst useStyles = makeStyles({\n dialogPaper: {\n width: '75%',\n maxWidth: 420,\n },\n});\n\nconst fetchStageAction = async (offsetWellId, dispatch) => {\n try {\n const response = await getAppStorage('corva', 'completion.wits', offsetWellId, {\n limit: 1,\n sort: '{timestamp:-1}',\n });\n const lastStageNumber = isEmpty(response) ? null : get(last(response), 'stage_number', null);\n dispatch({ type: 'SUCCESS', lastStageNumber });\n } catch (error) {\n dispatch({ type: 'FAILURE', error: error.message });\n }\n};\n\nconst stagesStateReducer = (state, action) => {\n switch (action.type) {\n case 'FETCH_STAGES':\n return { ...state, requestState: 'pending' };\n case 'SUCCESS':\n return { ...state, requestState: 'success', lastStageNumber: action.lastStageNumber };\n case 'FAILURE':\n return { ...state, requestState: 'failure', error: action.error };\n default:\n return state;\n }\n};\n\nconst dialogStateReducer = (state, action) => {\n switch (action.type) {\n case 'OPEN_DIALOG':\n return { ...state, dialogState: 'open' };\n case 'CLOSE_DIALOG':\n return { ...state, dialogState: 'closed' };\n case 'SET_SELECTED_STAGES':\n return {\n ...state,\n selectedStages: action.selectedStages,\n stagesData: action.selectedStages.reduce(\n (stages, stage) => ({\n ...stages,\n [stage]: {\n lineStyle: 'dotted',\n lineWidth: 2,\n },\n }),\n {}\n ),\n };\n case 'SET_SELECTED_LINE_STYLE':\n return {\n ...state,\n stagesData: {\n ...state.stagesData,\n [action.stage]: {\n ...state.stagesData[action.stage],\n lineStyle: action.selectedLineStyle,\n },\n },\n };\n case 'SET_SELECTED_LINE_WIDTH':\n return {\n ...state,\n stagesData: {\n ...state.stagesData,\n [action.stage]: {\n ...state.stagesData[action.stage],\n lineWidth: Number(action.selectedLineWidth),\n },\n },\n };\n default:\n return state;\n }\n};\n\nconst StagesSelector = ({ onSave, onDelete, offset }) => {\n const classes = useStyles();\n\n const [requestState, dispatchRequest] = useReducer(stagesStateReducer, {\n requestState: 'idle',\n lastStageNumber: null,\n error: null,\n });\n\n const [dialogState, dispatchDialog] = useReducer(dialogStateReducer, {\n dialogState: 'closed',\n selectedStages: offset.selectedStages || [],\n stagesData: offset.stages || {},\n });\n\n const handleStagesSelect = event => {\n dispatchDialog({ type: 'SET_SELECTED_STAGES', selectedStages: event.target.value });\n };\n\n const handleLineStyleChange = stage => event => {\n dispatchDialog({\n type: 'SET_SELECTED_LINE_STYLE',\n stage,\n selectedLineStyle: event.target.value,\n });\n };\n\n const handleLineWidthChange = stage => event => {\n dispatchDialog({\n type: 'SET_SELECTED_LINE_WIDTH',\n stage,\n selectedLineWidth: event.target.value,\n });\n };\n\n const openDialog = () => {\n dispatchDialog({ type: 'OPEN_DIALOG' });\n };\n\n const closeDialog = () => {\n dispatchDialog({ type: 'CLOSE_DIALOG' });\n };\n\n const offsetWellId = offset.selectedWellId;\n\n const handleSave = () => {\n const updatedOffset = {\n ...offset,\n stages: dialogState.stagesData,\n selectedStages: dialogState.selectedStages,\n };\n\n closeDialog();\n onSave(updatedOffset);\n };\n\n useEffect(() => {\n dispatchRequest({ type: 'FETCH_STAGES' });\n fetchStageAction(offsetWellId, dispatchRequest);\n }, [offsetWellId]);\n\n const isStageDataEmpty = isNull(requestState.lastStageNumber);\n\n return (\n <>\n <OffsetWellChip\n title={offset.selectedWellName}\n onClick={isStageDataEmpty ? noop : openDialog}\n onRemoveOffsetWell={onDelete}\n wellId={offsetWellId}\n rigName=\"\"\n />\n\n {requestState.requestState === 'success' && (\n <Dialog\n open={dialogState.dialogState === 'open'}\n onBackdropClick={closeDialog}\n classes={{ paper: classes.dialogPaper }}\n >\n <DialogTitle>Offset Well Stages</DialogTitle>\n <DialogContent>\n <Grid container direction=\"column\" spacing={2}>\n <Grid item>\n <FormControl margin=\"normal\" fullWidth required>\n <InputLabel htmlFor=\"stages-multi-select\">Stages</InputLabel>\n <Select\n inputProps={{ name: 'stages', id: 'stages-multi-select' }}\n value={dialogState.selectedStages}\n renderValue={selected => `${selected.length} stages selected`}\n onChange={handleStagesSelect}\n multiple\n >\n {range(1, requestState.lastStageNumber + 1).map(stage => (\n <MenuItem key={stage} value={stage}>\n <Checkbox checked={dialogState.selectedStages.includes(stage)} />\n <ListItemText primary={stage} />\n </MenuItem>\n ))}\n </Select>\n </FormControl>\n </Grid>\n {dialogState.selectedStages\n .sort((a, b) => a - b)\n .map(stage => (\n <Grid item key={stage}>\n <Typography variant=\"subtitle1\">Stage {stage}</Typography>\n <FormControl component=\"fieldset\">\n <FormLabel component=\"legend\" required>\n Line Style\n </FormLabel>\n <RadioGroup\n name=\"line-style\"\n value={get(dialogState.stagesData, [stage, 'lineStyle'], 'dotted')}\n onChange={handleLineStyleChange(stage)}\n row\n >\n <FormControlLabel value=\"dotted\" control={<Radio />} label=\"Dotted\" />\n <FormControlLabel value=\"dashed\" control={<Radio />} label=\"Dashed\" />\n <FormControlLabel value=\"solid\" control={<Radio />} label=\"Solid\" />\n </RadioGroup>\n </FormControl>\n <FormControl component=\"fieldset\">\n <FormLabel component=\"legend\" required>\n Line Width\n </FormLabel>\n <RadioGroup\n name=\"line-width\"\n value={String(get(dialogState.stagesData, [stage, 'lineWidth'], '2'))}\n onChange={handleLineWidthChange(stage)}\n row\n >\n <FormControlLabel value={String(1)} control={<Radio />} label=\"Thin\" />\n <FormControlLabel value={String(2)} control={<Radio />} label=\"Normal\" />\n <FormControlLabel value={String(4)} control={<Radio />} label=\"Thick\" />\n </RadioGroup>\n </FormControl>\n </Grid>\n ))}\n </Grid>\n </DialogContent>\n <DialogActions>\n <Button onClick={closeDialog}>Cancel</Button>\n <Button variant=\"contained\" color=\"primary\" onClick={handleSave}>\n Save\n </Button>\n </DialogActions>\n </Dialog>\n )}\n </>\n );\n};\n\nStagesSelector.propTypes = {\n onSave: func.isRequired,\n onDelete: func.isRequired,\n offset: shape({\n selectedWellId: number,\n selectedWellName: string,\n selectedWellStatus: oneOf(['active', 'idle', 'complete', 'paused', 'unknown']),\n }).isRequired,\n};\n\nexport default StagesSelector;\n"],"names":["_ref","useStyles","makeStyles","dialogPaper","width","maxWidth","fetchStageAction","_asyncToGenerator","_regeneratorRuntime","mark","_callee","offsetWellId","dispatch","response","lastStageNumber","wrap","_context","prev","next","getAppStorage","limit","sort","sent","isEmpty","get","last","type","t0","error","message","stop","_x","_x2","apply","this","arguments","stagesStateReducer","state","action","_objectSpread","requestState","dialogStateReducer","dialogState","selectedStages","stagesData","reduce","stages","stage","lineStyle","lineWidth","_defineProperty","selectedLineStyle","Number","selectedLineWidth","StagesSelector","_ref2","onSave","onDelete","offset","classes","useReducer","_useReducer2","_slicedToArray","_useReducer","dispatchRequest","_useReducer4","_useReducer3","dispatchDialog","handleLineStyleChange","event","target","value","handleLineWidthChange","closeDialog","selectedWellId","useEffect","isStageDataEmpty","isNull","_jsxs","_Fragment","children","_jsx","OffsetWellChip","title","selectedWellName","onClick","noop","onRemoveOffsetWell","wellId","rigName","Dialog","open","onBackdropClick","paper","DialogTitle","DialogContent","Grid","container","direction","spacing","item","FormControl","margin","fullWidth","required","InputLabel","htmlFor","Select","inputProps","name","id","renderValue","selected","length","onChange","multiple","range","map","MenuItem","Checkbox","checked","includes","ListItemText","primary","a","b","Typography","variant","component","FormLabel","RadioGroup","row","FormControlLabel","control","Radio","label","String","DialogActions","Button","color","updatedOffset","propTypes","func","isRequired","shape","number","string","selectedWellStatus","oneOf"],"mappings":"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"}
|
|
1
|
+
{"version":3,"file":"StagesSelector.js","sources":["../../../src/components/PadOffsetsPicker/StagesSelector.js"],"sourcesContent":["import { useEffect, useReducer } from 'react';\nimport { func, number, oneOf, string, shape } from 'prop-types';\nimport { isNull, get, noop, range, isEmpty, last } from 'lodash';\nimport {\n Button,\n Checkbox,\n Dialog,\n DialogActions,\n DialogContent,\n DialogTitle,\n FormControl,\n FormControlLabel,\n FormLabel,\n Grid,\n InputLabel,\n ListItemText,\n MenuItem,\n Radio,\n RadioGroup,\n Select,\n Typography,\n makeStyles,\n} from '@material-ui/core';\n\nimport { getAppStorage } from '~/clients/jsonApi';\nimport { OffsetWellChip } from '~/components';\n\nconst useStyles = makeStyles({\n dialogPaper: {\n width: '75%',\n maxWidth: 420,\n },\n});\n\nconst fetchStageAction = async (offsetWellId, dispatch) => {\n try {\n const response = await getAppStorage('corva', 'completion.wits', offsetWellId, {\n limit: 1,\n sort: '{timestamp:-1}',\n });\n const lastStageNumber = isEmpty(response) ? null : get(last(response), 'stage_number', null);\n dispatch({ type: 'SUCCESS', lastStageNumber });\n } catch (error) {\n dispatch({ type: 'FAILURE', error: error.message });\n }\n};\n\nconst stagesStateReducer = (state, action) => {\n switch (action.type) {\n case 'FETCH_STAGES':\n return { ...state, requestState: 'pending' };\n case 'SUCCESS':\n return { ...state, requestState: 'success', lastStageNumber: action.lastStageNumber };\n case 'FAILURE':\n return { ...state, requestState: 'failure', error: action.error };\n default:\n return state;\n }\n};\n\nconst dialogStateReducer = (state, action) => {\n switch (action.type) {\n case 'OPEN_DIALOG':\n return { ...state, dialogState: 'open' };\n case 'CLOSE_DIALOG':\n return { ...state, dialogState: 'closed' };\n case 'SET_SELECTED_STAGES':\n return {\n ...state,\n selectedStages: action.selectedStages,\n stagesData: action.selectedStages.reduce(\n (stages, stage) => ({\n ...stages,\n [stage]: {\n lineStyle: 'dotted',\n lineWidth: 2,\n },\n }),\n {}\n ),\n };\n case 'SET_SELECTED_LINE_STYLE':\n return {\n ...state,\n stagesData: {\n ...state.stagesData,\n [action.stage]: {\n ...state.stagesData[action.stage],\n lineStyle: action.selectedLineStyle,\n },\n },\n };\n case 'SET_SELECTED_LINE_WIDTH':\n return {\n ...state,\n stagesData: {\n ...state.stagesData,\n [action.stage]: {\n ...state.stagesData[action.stage],\n lineWidth: Number(action.selectedLineWidth),\n },\n },\n };\n default:\n return state;\n }\n};\n\nconst StagesSelector = ({ onSave, onDelete, offset }) => {\n const classes = useStyles();\n\n const [requestState, dispatchRequest] = useReducer(stagesStateReducer, {\n requestState: 'idle',\n lastStageNumber: null,\n error: null,\n });\n\n const [dialogState, dispatchDialog] = useReducer(dialogStateReducer, {\n dialogState: 'closed',\n selectedStages: offset.selectedStages || [],\n stagesData: offset.stages || {},\n });\n\n const handleStagesSelect = event => {\n dispatchDialog({ type: 'SET_SELECTED_STAGES', selectedStages: event.target.value });\n };\n\n const handleLineStyleChange = stage => event => {\n dispatchDialog({\n type: 'SET_SELECTED_LINE_STYLE',\n stage,\n selectedLineStyle: event.target.value,\n });\n };\n\n const handleLineWidthChange = stage => event => {\n dispatchDialog({\n type: 'SET_SELECTED_LINE_WIDTH',\n stage,\n selectedLineWidth: event.target.value,\n });\n };\n\n const openDialog = () => {\n dispatchDialog({ type: 'OPEN_DIALOG' });\n };\n\n const closeDialog = () => {\n dispatchDialog({ type: 'CLOSE_DIALOG' });\n };\n\n const offsetWellId = offset.selectedWellId;\n\n const handleSave = () => {\n const updatedOffset = {\n ...offset,\n stages: dialogState.stagesData,\n selectedStages: dialogState.selectedStages,\n };\n\n closeDialog();\n onSave(updatedOffset);\n };\n\n useEffect(() => {\n dispatchRequest({ type: 'FETCH_STAGES' });\n fetchStageAction(offsetWellId, dispatchRequest);\n }, [offsetWellId]);\n\n const isStageDataEmpty = isNull(requestState.lastStageNumber);\n\n return (\n <>\n <OffsetWellChip\n title={offset.selectedWellName}\n onClick={isStageDataEmpty ? noop : openDialog}\n onRemoveOffsetWell={onDelete}\n wellId={offsetWellId}\n rigName=\"\"\n />\n\n {requestState.requestState === 'success' && (\n <Dialog\n open={dialogState.dialogState === 'open'}\n onBackdropClick={closeDialog}\n classes={{ paper: classes.dialogPaper }}\n >\n <DialogTitle>Offset Well Stages</DialogTitle>\n <DialogContent>\n <Grid container direction=\"column\" spacing={2}>\n <Grid item>\n <FormControl margin=\"normal\" fullWidth required>\n <InputLabel htmlFor=\"stages-multi-select\">Stages</InputLabel>\n <Select\n inputProps={{ name: 'stages', id: 'stages-multi-select' }}\n value={dialogState.selectedStages}\n renderValue={selected => `${selected.length} stages selected`}\n onChange={handleStagesSelect}\n multiple\n >\n {range(1, requestState.lastStageNumber + 1).map(stage => (\n <MenuItem key={stage} value={stage}>\n <Checkbox checked={dialogState.selectedStages.includes(stage)} />\n <ListItemText primary={stage} />\n </MenuItem>\n ))}\n </Select>\n </FormControl>\n </Grid>\n {dialogState.selectedStages\n .sort((a, b) => a - b)\n .map(stage => (\n <Grid item key={stage}>\n <Typography variant=\"subtitle1\">Stage {stage}</Typography>\n <FormControl component=\"fieldset\">\n <FormLabel component=\"legend\" required>\n Line Style\n </FormLabel>\n <RadioGroup\n name=\"line-style\"\n value={get(dialogState.stagesData, [stage, 'lineStyle'], 'dotted')}\n onChange={handleLineStyleChange(stage)}\n row\n >\n <FormControlLabel value=\"dotted\" control={<Radio />} label=\"Dotted\" />\n <FormControlLabel value=\"dashed\" control={<Radio />} label=\"Dashed\" />\n <FormControlLabel value=\"solid\" control={<Radio />} label=\"Solid\" />\n </RadioGroup>\n </FormControl>\n <FormControl component=\"fieldset\">\n <FormLabel component=\"legend\" required>\n Line Width\n </FormLabel>\n <RadioGroup\n name=\"line-width\"\n value={String(get(dialogState.stagesData, [stage, 'lineWidth'], '2'))}\n onChange={handleLineWidthChange(stage)}\n row\n >\n <FormControlLabel value={String(1)} control={<Radio />} label=\"Thin\" />\n <FormControlLabel value={String(2)} control={<Radio />} label=\"Normal\" />\n <FormControlLabel value={String(4)} control={<Radio />} label=\"Thick\" />\n </RadioGroup>\n </FormControl>\n </Grid>\n ))}\n </Grid>\n </DialogContent>\n <DialogActions>\n <Button onClick={closeDialog}>Cancel</Button>\n <Button variant=\"contained\" color=\"primary\" onClick={handleSave}>\n Save\n </Button>\n </DialogActions>\n </Dialog>\n )}\n </>\n );\n};\n\nStagesSelector.propTypes = {\n onSave: func.isRequired,\n onDelete: func.isRequired,\n offset: shape({\n selectedWellId: number,\n selectedWellName: string,\n selectedWellStatus: oneOf(['active', 'idle', 'complete', 'paused', 'unknown']),\n }).isRequired,\n};\n\nexport default StagesSelector;\n"],"names":["_ref","useStyles","makeStyles","dialogPaper","width","maxWidth","fetchStageAction","_asyncToGenerator","_regeneratorRuntime","mark","_callee","offsetWellId","dispatch","response","lastStageNumber","wrap","_context","prev","next","getAppStorage","limit","sort","sent","isEmpty","get","last","type","t0","error","message","stop","_x","_x2","apply","this","arguments","stagesStateReducer","state","action","_objectSpread","requestState","dialogStateReducer","dialogState","selectedStages","stagesData","reduce","stages","stage","lineStyle","lineWidth","_defineProperty","selectedLineStyle","Number","selectedLineWidth","StagesSelector","_ref2","onSave","onDelete","offset","classes","useReducer","_useReducer2","_slicedToArray","_useReducer","dispatchRequest","_useReducer4","_useReducer3","dispatchDialog","handleLineStyleChange","event","target","value","handleLineWidthChange","closeDialog","selectedWellId","useEffect","isStageDataEmpty","isNull","_jsxs","_Fragment","children","_jsx","OffsetWellChip","title","selectedWellName","onClick","noop","onRemoveOffsetWell","wellId","rigName","Dialog","open","onBackdropClick","paper","DialogTitle","DialogContent","Grid","container","direction","spacing","item","FormControl","margin","fullWidth","required","InputLabel","htmlFor","Select","inputProps","name","id","renderValue","selected","length","onChange","multiple","range","map","MenuItem","Checkbox","checked","includes","ListItemText","primary","a","b","Typography","variant","component","FormLabel","RadioGroup","row","FormControlLabel","control","Radio","label","String","DialogActions","Button","color","updatedOffset","propTypes","func","isRequired","shape","number","string","selectedWellStatus","oneOf"],"mappings":"m5wBA2BA,IAOyBA,EAPnBC,EAAYC,EAAW,CAC3BC,YAAa,CACXC,MAAO,MACPC,SAAU,OAIRC,GAAmBN,EAAAO,EAAAC,EAAAC,MAAA,SAAAC,EAAOC,EAAcC,GAAQ,IAAAC,EAAAC,EAAA,OAAAN,EAAAO,MAAA,SAAAC,GAAA,OAAA,OAAAA,EAAAC,KAAAD,EAAAE,MAAA,KAAA,EAAA,OAAAF,EAAAC,KAAA,EAAAD,EAAAE,KAAA,EAE3BC,EAAc,QAAS,kBAAmBR,EAAc,CAC7ES,MAAO,EACPC,KAAM,mBACN,KAAA,EAHIR,EAAQG,EAAAM,KAIRR,EAAkBS,EAAQV,GAAY,KAAOW,EAAIC,EAAKZ,GAAW,eAAgB,MACvFD,EAAS,CAAEc,KAAM,UAAWZ,gBAAAA,IAAmBE,EAAAE,KAAA,GAAA,MAAA,KAAA,EAAAF,EAAAC,KAAA,EAAAD,EAAAW,GAAAX,EAAA,MAAA,GAE/CJ,EAAS,CAAEc,KAAM,UAAWE,MAAOZ,EAAMa,GAAAA,UAAW,KAAA,GAAA,IAAA,MAAA,OAAAb,EAAAc,OAAA,GAAApB,EAAA,KAAA,CAAA,CAAA,EAAA,IAEvD,KAAA,SAXqBqB,EAAAC,GAAA,OAAAhC,EAAAiC,MAAAC,KAAAC,UAAA,GAahBC,EAAqB,SAACC,EAAOC,GACjC,OAAQA,EAAOZ,MACb,IAAK,eACH,OAAAa,EAAAA,EAAA,CAAA,EAAYF,GAAK,CAAA,EAAA,CAAEG,aAAc,YACnC,IAAK,UACH,OAAAD,EAAAA,EAAA,CAAA,EAAYF,GAAK,CAAA,EAAA,CAAEG,aAAc,UAAW1B,gBAAiBwB,EAAOxB,kBACtE,IAAK,UACH,OAAAyB,EAAAA,EAAA,CAAA,EAAYF,GAAK,CAAA,EAAA,CAAEG,aAAc,UAAWZ,MAAOU,EAAOV,QAC5D,QACE,OAAOS,EAEb,EAEMI,EAAqB,SAACJ,EAAOC,GACjC,OAAQA,EAAOZ,MACb,IAAK,cACH,OAAAa,EAAAA,EAAA,CAAA,EAAYF,GAAK,CAAA,EAAA,CAAEK,YAAa,SAClC,IAAK,eACH,OAAAH,EAAAA,EAAA,CAAA,EAAYF,GAAK,CAAA,EAAA,CAAEK,YAAa,WAClC,IAAK,sBACH,OAAAH,EAAAA,EAAA,CAAA,EACKF,GAAK,CAAA,EAAA,CACRM,eAAgBL,EAAOK,eACvBC,WAAYN,EAAOK,eAAeE,QAChC,SAACC,EAAQC,GAAK,OACTD,EAAAA,EAAAA,GAAAA,GACFC,GAAAA,EAAAA,CAAAA,EAAAA,EAAQ,CACPC,UAAW,SACXC,UAAW,IAEb,GACF,MAGN,IAAK,0BACH,OAAAV,EAAAA,EAAA,CAAA,EACKF,GAAK,CAAA,EAAA,CACRO,kBACKP,EAAMO,YAAU,CAAA,EAAAM,EAAA,GAClBZ,EAAOS,MACHV,EAAAA,EAAAA,CAAAA,EAAAA,EAAMO,WAAWN,EAAOS,QAAM,GAAA,CACjCC,UAAWV,EAAOa,wBAI1B,IAAK,0BACH,OAAAZ,EAAAA,EAAA,CAAA,EACKF,GAAK,CAAA,EAAA,CACRO,kBACKP,EAAMO,YAAU,CAAA,EAAAM,EAAA,GAClBZ,EAAOS,MACHV,EAAAA,EAAAA,CAAAA,EAAAA,EAAMO,WAAWN,EAAOS,QAAM,GAAA,CACjCE,UAAWG,OAAOd,EAAOe,yBAIjC,QACE,OAAOhB,EAEb,EAEMiB,EAAiB,SAAkCC,GAAA,IAA/BC,IAAAA,OAAQC,IAAAA,SAAUC,IAAAA,OACpCC,EAAU1D,IAEwB2D,EAAAA,EAAWxB,EAAoB,CACrEI,aAAc,OACd1B,gBAAiB,KACjBc,MAAO,OACPiC,EAAAC,EAAAC,EAAA,GAJKvB,EAAYqB,EAAA,GAAEG,EAAeH,EAAA,GAMED,EAAAA,EAAWnB,EAAoB,CACnEC,YAAa,SACbC,eAAgBe,EAAOf,gBAAkB,GACzCC,WAAYc,EAAOZ,QAAU,CAAC,IAC9BmB,EAAAH,EAAAI,EAAA,GAJKxB,EAAWuB,EAAA,GAAEE,EAAcF,EAAA,GAU5BG,EAAwB,SAAArB,GAAK,OAAI,SAAAsB,GACrCF,EAAe,CACbzC,KAAM,0BACNqB,MAAAA,EACAI,kBAAmBkB,EAAMC,OAAOC,QAEnC,EAEKC,EAAwB,SAAAzB,GAAK,OAAI,SAAAsB,GACrCF,EAAe,CACbzC,KAAM,0BACNqB,MAAAA,EACAM,kBAAmBgB,EAAMC,OAAOC,QAEnC,EAMKE,EAAc,WAClBN,EAAe,CAAEzC,KAAM,kBAGnBf,EAAe+C,EAAOgB,eAa5BC,GAAU,WACRX,EAAgB,CAAEtC,KAAM,iBACxBpB,EAAiBK,EAAcqD,EACjC,GAAG,CAACrD,IAEJ,IAAMiE,EAAmBC,EAAOrC,EAAa1B,iBAE7C,OACEgE,EAAAC,EAAA,CAAAC,SAAA,CACEC,EAACC,EAAc,CACbC,MAAOzB,EAAO0B,iBACdC,QAAST,EAAmBU,EAhCf,WACjBnB,EAAe,CAAEzC,KAAM,iBAgCnB6D,mBAAoB9B,EACpB+B,OAAQ7E,EACR8E,QAAQ,KAGqB,YAA9BjD,EAAaA,cACZsC,EAACY,EAAM,CACLC,KAAkC,SAA5BjD,EAAYA,YAClBkD,gBAAiBnB,EACjBd,QAAS,CAAEkC,MAAOlC,EAAQxD,aAAc6E,SAAA,CAExCC,EAACa,EAAW,CAAAd,SAAA,uBACZC,EAACc,EAAa,CAAAf,SACZF,EAACkB,EAAI,CAACC,WAAS,EAACC,UAAU,SAASC,QAAS,EAAEnB,SAAA,CAC5CC,EAACe,EAAI,CAACI,MAAI,EAAApB,SACRF,EAACuB,EAAW,CAACC,OAAO,SAASC,WAAS,EAACC,UAAQ,EAAAxB,SAAA,CAC7CC,EAACwB,EAAU,CAACC,QAAQ,sBAAqB1B,SAAA,WACzCC,EAAC0B,EAAM,CACLC,WAAY,CAAEC,KAAM,SAAUC,GAAI,uBAClCvC,MAAO7B,EAAYC,eACnBoE,YAAa,SAAAC,GAAQ,MAAOA,GAAAA,OAAAA,EAASC,OAAM,mBAAmB,EAC9DC,SA1ES,SAAA7C,GACzBF,EAAe,CAAEzC,KAAM,sBAAuBiB,eAAgB0B,EAAMC,OAAOC,SA0E3D4C,UAAQ,EAAAnC,SAEPoC,EAAM,EAAG5E,EAAa1B,gBAAkB,GAAGuG,KAAI,SAAAtE,GAAK,OACnD+B,EAACwC,EAAQ,CAAa/C,MAAOxB,EAAMiC,SAAA,CACjCC,EAACsC,EAAQ,CAACC,QAAS9E,EAAYC,eAAe8E,SAAS1E,KACvDkC,EAACyC,EAAY,CAACC,QAAS5E,MAFVA,aAQtBL,EAAYC,eACVtB,MAAK,SAACuG,EAAGC,GAAC,OAAKD,EAAIC,CAAC,IACpBR,KAAI,SAAAtE,GAAK,OACR+B,EAACkB,EAAI,CAACI,MAAI,EAAApB,SAAA,CACRF,EAACgD,EAAU,CAACC,QAAQ,YAAW/C,SAAA,CAAA,SAAQjC,KACvC+B,EAACuB,EAAW,CAAC2B,UAAU,WAAUhD,SAAA,CAC/BC,EAACgD,EAAS,CAACD,UAAU,SAASxB,UAAQ,EAAAxB,SAAA,eAGtCF,EAACoD,EAAU,CACTrB,KAAK,aACLtC,MAAO/C,EAAIkB,EAAYE,WAAY,CAACG,EAAO,aAAc,UACzDmE,SAAU9C,EAAsBrB,GAChCoF,KAAG,EAAAnD,SAAA,CAEHC,EAACmD,EAAgB,CAAC7D,MAAM,SAAS8D,QAASpD,EAACqD,EAAS,IAACC,MAAM,WAC3DtD,EAACmD,EAAgB,CAAC7D,MAAM,SAAS8D,QAASpD,EAACqD,EAAS,IAACC,MAAM,WAC3DtD,EAACmD,EAAgB,CAAC7D,MAAM,QAAQ8D,QAASpD,EAACqD,EAAS,IAACC,MAAM,gBAG9DzD,EAACuB,EAAW,CAAC2B,UAAU,WAAUhD,SAAA,CAC/BC,EAACgD,EAAS,CAACD,UAAU,SAASxB,UAAQ,EAAAxB,SAAA,eAGtCF,EAACoD,EAAU,CACTrB,KAAK,aACLtC,MAAOiE,OAAOhH,EAAIkB,EAAYE,WAAY,CAACG,EAAO,aAAc,MAChEmE,SAAU1C,EAAsBzB,GAChCoF,KAAG,EAAAnD,SAAA,CAEHC,EAACmD,EAAgB,CAAC7D,MAAOiE,OAAO,GAAIH,QAASpD,EAACqD,EAAS,IAACC,MAAM,SAC9DtD,EAACmD,EAAgB,CAAC7D,MAAOiE,OAAO,GAAIH,QAASpD,EAACqD,EAAS,IAACC,MAAM,WAC9DtD,EAACmD,EAAgB,CAAC7D,MAAOiE,OAAO,GAAIH,QAASpD,EAACqD,EAAS,IAACC,MAAM,kBA7BpDxF,EAgCT,SAIf+B,EAAC2D,EAAa,CAAAzD,SAAA,CACZC,EAACyD,EAAM,CAACrD,QAASZ,EAAYO,SAAA,WAC7BC,EAACyD,EAAM,CAACX,QAAQ,YAAYY,MAAM,UAAUtD,QAjGnC,WACjB,IAAMuD,SACDlF,GAAM,GAAA,CACTZ,OAAQJ,EAAYE,WACpBD,eAAgBD,EAAYC,iBAG9B8B,IACAjB,EAAOoF,IAyFiE5D,SAAA,iBAQ5E,EAEA1B,EAAeuF,UAAY,CACzBrF,OAAQsF,EAAKC,WACbtF,SAAUqF,EAAKC,WACfrF,OAAQsF,EAAM,CACZtE,eAAgBuE,EAChB7D,iBAAkB8D,EAClBC,mBAAoBC,EAAM,CAAC,SAAU,OAAQ,WAAY,SAAU,cAClEL"}
|