@corva/ui 3.77.0-1 → 3.77.0-11
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/README.md +2 -2
- package/cjs-bundle/clients/jsonApi/index.js +1 -1
- package/cjs-bundle/clients/jsonApi/index.js.map +1 -1
- 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/Annotations/components/AnnotationsList/components/AddAnnotationForm/index.js +1 -1
- package/cjs-bundle/components/Annotations/components/AnnotationsList/components/AddAnnotationForm/index.js.map +1 -1
- package/cjs-bundle/components/Annotations/components/AnnotationsList/index.js +1 -1
- package/cjs-bundle/components/Annotations/components/AnnotationsList/index.js.map +1 -1
- package/cjs-bundle/components/AssetsMultipleSelector/AssetsMultipleSelector.js +1 -1
- package/cjs-bundle/components/AssetsMultipleSelector/AssetsMultipleSelector.js.map +1 -1
- package/cjs-bundle/components/AttachFileButton/AttachFileButton.js +1 -1
- package/cjs-bundle/components/AttachFileButton/AttachFileButton.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/components/Map/Map.js +1 -1
- package/cjs-bundle/components/BICOffsetPickerDialog/components/Map/Map.js.map +1 -1
- package/cjs-bundle/components/BICOffsetPickerDialog/components/WellSection/index.js +1 -1
- package/cjs-bundle/components/BICOffsetPickerDialog/components/WellSection/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/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/CollapsableSidebar.js +1 -1
- package/cjs-bundle/components/CollapsableSidebar.js.map +1 -1
- package/cjs-bundle/components/CommentCard/CommentCard.js +1 -1
- package/cjs-bundle/components/CommentCard/CommentCard.js.map +1 -1
- package/cjs-bundle/components/CommentCard/CommentCard.scss.js +1 -1
- package/cjs-bundle/components/CommentComposer/CommentComposer.js +1 -1
- package/cjs-bundle/components/CommentComposer/CommentComposer.js.map +1 -1
- package/cjs-bundle/components/CommentComposer/useAttachmentUpload.js +1 -1
- package/cjs-bundle/components/CommentComposer/useAttachmentUpload.js.map +1 -1
- package/cjs-bundle/components/DevCenter/AppsDataProvider/effects/utils.js +1 -1
- package/cjs-bundle/components/DevCenter/AppsDataProvider/effects/utils.js.map +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/CommentsSwitch/CommentsSwitchButton.js +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.js.map +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/LegacyAppActions.js +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/LegacyAppActions.js.map +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus.js +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus.js.map +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/PriorityMenus.js +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/PriorityMenus.js.map +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/effects/useAppMaximized.js +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/effects/useAppMaximized.js.map +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js.map +1 -1
- package/cjs-bundle/components/DevCenter/IsolatedDevCenterAppContainer/IsolatedPage.js +1 -1
- package/cjs-bundle/components/DevCenter/IsolatedDevCenterAppContainer/IsolatedPage.js.map +1 -1
- package/cjs-bundle/components/DevCenter/IsolatedDevCenterAppContainer/effects/useXProps.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/EmbeddedApp/EmbeddedApp.js +1 -1
- package/cjs-bundle/components/EmbeddedApp/EmbeddedApp.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/FeedItemEditProvider/FeedItemEditProvider.js +1 -1
- package/cjs-bundle/components/FeedItem/FeedItemEditProvider/FeedItemEditProvider.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/feedItemTypes/AppAnnotationFeedItem/index.js +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/AppAnnotationFeedItem/index.js.map +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/WellPlanFeedItem/index.js +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/WellPlanFeedItem/index.js.map +1 -1
- package/cjs-bundle/components/FilesLoaderV2/utils.js +1 -1
- package/cjs-bundle/components/FilesLoaderV2/utils.js.map +1 -1
- package/cjs-bundle/components/GradientManager/GradientManager.js +1 -1
- package/cjs-bundle/components/GradientManager/GradientManager.js.map +1 -1
- package/cjs-bundle/components/GradientManager/GradientSelect.js +1 -1
- package/cjs-bundle/components/GradientManager/GradientSelect.js.map +1 -1
- package/cjs-bundle/components/InfiniteList/index.js +1 -1
- package/cjs-bundle/components/InfiniteList/index.js.map +1 -1
- package/cjs-bundle/components/OffsetWellMap/OffsetWellMap.js +1 -1
- package/cjs-bundle/components/OffsetWellMap/OffsetWellMap.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/OffsetWellPickerDialog.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/OffsetWellPickerDialog.js.map +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/Map/Map.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/components/Map/Map.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/OffsetWellPickerV2/constants.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/constants.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/effects/index.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/effects/index.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Map/Map.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Map/Map.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/constants.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/constants.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/effects/index.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/effects/index.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/OffsetWellPickerV3/index.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/index.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/OffsetWellPickerV5.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/OffsetWellPickerV5.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/api/metrics/fetchMetricsAggregate.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/api/metrics/fetchMetricsAggregate.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/api/metrics/fetchMudAggregate.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/api/metrics/fetchMudAggregate.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/api/shared/fetchers/getAllAssets.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/api/shared/fetchers/getAllAssets.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/api/shared/fetchers/getAssetsByBounds.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/api/shared/fetchers/getAssetsByBounds.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/api/shared/fetchers/getAssetsByIds.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/api/shared/fetchers/getAssetsByIds.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/api/wells/fetchWellsByRigIds.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/api/wells/fetchWellsByRigIds.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/AppHeader/components/HeaderActions/HeaderActions.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/AppHeader/components/HeaderActions/HeaderActions.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/AppHeader/components/LoadAllWellsToggle/LoadAllWellsToggle.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/AppHeader/components/LoadAllWellsToggle/LoadAllWellsToggle.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/Filter.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/Filter.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/CustomDateFields/CustomDateFields.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/CustomDateFields/CustomDateFields.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/PeriodFilterSelect/PeriodFilterSelect.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/PeriodFilterSelect/PeriodFilterSelect.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/SingleFilterSelect/SingleFilterSelect.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/SingleFilterSelect/SingleFilterSelect.js.map +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/ClusterTooltip/ClusterTooltip.js.map +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/LayerSwitcher/LayerSwitcher.js.map +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/MapControls/MapControls.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHintsStash.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHintsStash.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SubjectWellMarker/SubjectWellMarker.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SubjectWellMarker/SubjectWellMarker.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useMapTooltipState.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useMapTooltipState.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useOffsetWellMapState.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useOffsetWellMapState.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useSelectionToolOrchestration.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useSelectionToolOrchestration.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/utils/well-markers-utils.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/utils/well-markers-utils.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/OffsetWellPickerV5WithStore.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/OffsetWellPickerV5WithStore.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/components/CompanySafeguardWrapper/CompanySafeguardWrapper.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/components/CompanySafeguardWrapper/CompanySafeguardWrapper.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/components/UserSettingsWrapper/UserSettingsWrapper.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/components/UserSettingsWrapper/UserSettingsWrapper.js.map +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/AssetResultSection/AssetResultSection.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AutoCompleteAssetSearch/AutoCompleteAssetSearch.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AutoCompleteAssetSearch/AutoCompleteAssetSearch.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/CompanyCell/CompanyCell.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/CompanyCell/CompanyCell.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/FormationCell/FormationCell.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/FormationCell/FormationCell.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/InterventionAssetCell/InterventionAssetCell.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/InterventionAssetCell/InterventionAssetCell.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/PadNameCell/PadNameCell.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/PadNameCell/PadNameCell.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/RigCell/RigCell.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/RigCell/RigCell.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/WellNameCell/WellNameCell.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/WellNameCell/WellNameCell.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/SettingsMenu.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/SettingsMenu.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/MetricsSettingsSection/MetricsSettingsSection.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/MetricsSettingsSection/MetricsSettingsSection.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/TableSettingsSection/TableSettingsSection.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/TableSettingsSection/TableSettingsSection.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/WellNameHeaderCell/WellNameHeaderCell.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/WellNameHeaderCell/WellNameHeaderCell.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/hooks/useAdvancedSearchHandler.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/hooks/useAdvancedSearchHandler.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/PickerModalActions/PickerModalActions.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/PickerModalActions/PickerModalActions.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/constants.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/constants.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useCompanyMetricKey.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useCompanyMetricKey.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useWellDataPipeline.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useWellDataPipeline.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/wellTransformations.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/wellTransformations.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/hooks/useAutoSyncOffsetWells.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/hooks/useAutoSyncOffsetWells.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/hooks/useIsAdmin.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/hooks/useIsAdmin.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/hooks/useLimitNotification.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/hooks/useLimitNotification.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/stores/idas-resync-store/createIdasResyncController.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/stores/idas-resync-store/createIdasResyncController.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/utils/getCoordinatedWells.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/utils/getCoordinatedWells.js.map +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/PadOffsetsPickerV2/PadOffsetsPickerV2.js.map +1 -1
- package/cjs-bundle/components/RealTimeValuesSidebar/SidebarFooter.js +1 -1
- package/cjs-bundle/components/RealTimeValuesSidebar/SidebarFooter.js.map +1 -1
- package/cjs-bundle/components/WellhubFilePicker/WellhubFilePicker.js +2 -0
- package/cjs-bundle/components/WellhubFilePicker/WellhubFilePicker.js.map +1 -0
- package/cjs-bundle/components/WellhubFilePicker/api/fetchWellhubRecords.js +2 -0
- package/cjs-bundle/components/WellhubFilePicker/api/fetchWellhubRecords.js.map +1 -0
- package/cjs-bundle/components/WellhubFilePicker/api/postWellhubRecords.js +2 -0
- package/cjs-bundle/components/WellhubFilePicker/api/postWellhubRecords.js.map +1 -0
- package/cjs-bundle/components/WellhubFilePicker/api/registerAttachmentsInWellhub.js +2 -0
- package/cjs-bundle/components/WellhubFilePicker/api/registerAttachmentsInWellhub.js.map +1 -0
- package/cjs-bundle/components/WellhubFilePicker/components/WellhubFileCard/WellhubFileCard.js +2 -0
- package/cjs-bundle/components/WellhubFilePicker/components/WellhubFileCard/WellhubFileCard.js.map +1 -0
- package/cjs-bundle/components/WellhubFilePicker/components/WellhubFileCard/WellhubFileCard.scss.js +2 -0
- package/cjs-bundle/components/WellhubFilePicker/components/WellhubFileCard/WellhubFileCard.scss.js.map +1 -0
- package/cjs-bundle/components/WellhubFilePicker/components/WellhubFilePickerView/WellhubFilePickerView.js +2 -0
- package/cjs-bundle/components/WellhubFilePicker/components/WellhubFilePickerView/WellhubFilePickerView.js.map +1 -0
- package/cjs-bundle/components/WellhubFilePicker/components/WellhubFilePickerView/WellhubFilePickerView.scss.js +2 -0
- package/cjs-bundle/components/WellhubFilePicker/components/WellhubFilePickerView/WellhubFilePickerView.scss.js.map +1 -0
- package/cjs-bundle/components/WellhubFilePicker/constants.js +2 -0
- package/cjs-bundle/components/WellhubFilePicker/constants.js.map +1 -0
- package/cjs-bundle/components/WellhubFilePicker/hooks/useWellhubFiles.js +2 -0
- package/cjs-bundle/components/WellhubFilePicker/hooks/useWellhubFiles.js.map +1 -0
- package/cjs-bundle/components/WellhubFilePicker/utils/wellhubRecords.js +2 -0
- package/cjs-bundle/components/WellhubFilePicker/utils/wellhubRecords.js.map +1 -0
- package/cjs-bundle/components/index.js +1 -1
- package/cjs-bundle/componentsV2/AppFooter/DqPopover/DqPopover.js +1 -1
- package/cjs-bundle/componentsV2/AppFooter/DqPopover/DqPopover.js.map +1 -1
- package/cjs-bundle/componentsV2/AppHeader/AppAssets/utils.js +1 -1
- package/cjs-bundle/componentsV2/AppHeader/AppAssets/utils.js.map +1 -1
- package/cjs-bundle/componentsV2/AppHeader/V3/Actions/Actions.js +1 -1
- package/cjs-bundle/componentsV2/AppHeader/V3/Actions/Actions.js.map +1 -1
- package/cjs-bundle/componentsV2/AppHeader/V3/AppTitle/AppTitle.js +1 -1
- package/cjs-bundle/componentsV2/AppHeader/V3/AppTitle/AppTitle.js.map +1 -1
- package/cjs-bundle/componentsV2/AppHeader/V3/AssetSelector/AssetSelector.js +1 -1
- package/cjs-bundle/componentsV2/AppHeader/V3/AssetSelector/AssetSelector.js.map +1 -1
- package/cjs-bundle/componentsV2/AppHeader/V3/VersionSelect/VersionSelect.js +1 -1
- package/cjs-bundle/componentsV2/AppHeader/V3/VersionSelect/VersionSelect.js.map +1 -1
- package/cjs-bundle/componentsV2/AppPanel/AppPanelDisplay.js +1 -1
- package/cjs-bundle/componentsV2/AppPanel/AppPanelDisplay.js.map +1 -1
- package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/Map/Map.js +1 -1
- package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/Map/Map.js.map +1 -1
- package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/PadsTable/PadsTable.js +1 -1
- package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/PadsTable/PadsTable.js.map +1 -1
- package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/PadsTable/PadsTable.scss.js +1 -1
- package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/PadsTable/helpers/columns.js +1 -1
- package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/PadsTable/helpers/columns.js.map +1 -1
- package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/hooks/useNonActivePads.js +1 -1
- package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/hooks/useNonActivePads.js.map +1 -1
- package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/hooks/usePadsByRadius.js +1 -1
- package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/hooks/usePadsByRadius.js.map +1 -1
- package/cjs-bundle/componentsV2/FilesDropzone/utils.js +1 -1
- package/cjs-bundle/componentsV2/FilesDropzone/utils.js.map +1 -1
- package/cjs-bundle/componentsV2/FilesLoader/utils.js +1 -1
- package/cjs-bundle/componentsV2/FilesLoader/utils.js.map +1 -1
- package/cjs-bundle/componentsV2/IndicatorLive/IndicatorLive.js.map +1 -1
- package/cjs-bundle/componentsV2/PadModeSelect/PadModeSelect.js +1 -1
- package/cjs-bundle/componentsV2/PadModeSelect/PadModeSelect.js.map +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/PublishModal/PublishModal.js +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/PublishModal/PublishModal.js.map +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/ShareModal/ShareModal.js +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/ShareModal/ShareModal.js.map +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/Store/hooks/useCopyTemplate.js +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/Store/hooks/useCopyTemplate.js.map +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/Store/hooks/useCreateTemplate.js +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/Store/hooks/useCreateTemplate.js.map +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/Store/hooks/useDeleteFolder.js +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/Store/hooks/useDeleteFolder.js.map +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/Store/hooks/useDeleteTemplate.js +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/Store/hooks/useDeleteTemplate.js.map +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/Store/hooks/useExportTemplate.js +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/Store/hooks/useExportTemplate.js.map +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/Store/hooks/useImportTemplate.js +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/Store/hooks/useImportTemplate.js.map +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/Store/hooks/useInitialize.js +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/Store/hooks/useInitialize.js.map +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/Store/hooks/useMoveToFolder.js +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/Store/hooks/useMoveToFolder.js.map +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/Store/hooks/usePublishTemplate.js +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/Store/hooks/usePublishTemplate.js.map +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/Store/hooks/useRevertToOriginal.js +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/Store/hooks/useRevertToOriginal.js.map +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/Store/hooks/useShareTemplate.js +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/Store/hooks/useShareTemplate.js.map +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/Store/hooks/useUnfollowTemplate.js +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/Store/hooks/useUnfollowTemplate.js.map +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/Store/hooks/useUpdateFolderName.js +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/Store/hooks/useUpdateFolderName.js.map +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/Store/hooks/useUpdateTemplateName.js +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/Store/hooks/useUpdateTemplateName.js.map +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/Toggle/Toggle.js +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/Toggle/Toggle.js.map +1 -1
- package/cjs-bundle/componentsV2/TextInputBase/TextInputBase.js +1 -1
- package/cjs-bundle/componentsV2/TextInputBase/TextInputBase.js.map +1 -1
- package/cjs-bundle/componentsV2/TextInputNext/TextInputNext.js +1 -1
- package/cjs-bundle/componentsV2/TextInputNext/TextInputNext.js.map +1 -1
- package/cjs-bundle/componentsV2/WellArchivedMessage/WellArchivedMessage.js +1 -1
- package/cjs-bundle/componentsV2/WellArchivedMessage/WellArchivedMessage.js.map +1 -1
- package/cjs-bundle/constants/notifications.js +1 -1
- package/cjs-bundle/constants/notifications.js.map +1 -1
- package/cjs-bundle/effects/useGlobalOffsetWellsSync.js +1 -1
- package/cjs-bundle/effects/useGlobalOffsetWellsSync.js.map +1 -1
- package/cjs-bundle/effects/useSharedDCStore.js +1 -1
- package/cjs-bundle/effects/useSharedDCStore.js.map +1 -1
- package/cjs-bundle/testing/AppTestWrapper/AppTestWrapper.js +1 -1
- package/cjs-bundle/testing/AppTestWrapper/AppTestWrapper.js.map +1 -1
- package/cjs-bundle/utils/DrillstringUtils.js +1 -1
- package/cjs-bundle/utils/DrillstringUtils.js.map +1 -1
- package/cjs-bundle/utils/apps.js +1 -1
- package/cjs-bundle/utils/apps.js.map +1 -1
- package/cjs-bundle/utils/convert.js +1 -1
- package/cjs-bundle/utils/convert.js.map +1 -1
- package/cjs-bundle/utils/devcenter.js +1 -1
- package/cjs-bundle/utils/devcenter.js.map +1 -1
- package/cjs-bundle/utils/fetchDataByChunks.js +2 -0
- package/cjs-bundle/utils/fetchDataByChunks.js.map +1 -0
- package/cjs-bundle/utils/index.js +1 -1
- package/cjs-bundle/utils/index.js.map +1 -1
- package/cjs-bundle/utils/lasParser.js +1 -1
- package/cjs-bundle/utils/lasParser.js.map +1 -1
- package/cjs-bundle/utils/time.js.map +1 -1
- package/clients/jsonApi/index.js +1 -1
- package/clients/jsonApi/index.js.map +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/Annotations/components/AnnotationsList/components/AddAnnotationForm/index.js +1 -1
- package/components/Annotations/components/AnnotationsList/components/AddAnnotationForm/index.js.map +1 -1
- package/components/Annotations/components/AnnotationsList/index.js +1 -1
- package/components/Annotations/components/AnnotationsList/index.js.map +1 -1
- package/components/AssetsMultipleSelector/AssetsMultipleSelector.js +1 -1
- package/components/AssetsMultipleSelector/AssetsMultipleSelector.js.map +1 -1
- package/components/AttachFileButton/AttachFileButton.d.ts +3 -1
- package/components/AttachFileButton/AttachFileButton.d.ts.map +1 -1
- package/components/AttachFileButton/AttachFileButton.js +1 -1
- package/components/AttachFileButton/AttachFileButton.js.map +1 -1
- package/components/AttachFileButton/__tests__/AttachFileButton.test.d.ts +2 -0
- package/components/AttachFileButton/__tests__/AttachFileButton.test.d.ts.map +1 -0
- package/components/Attachment/index.js +1 -1
- package/components/Attachment/index.js.map +1 -1
- package/components/BICOffsetPickerDialog/components/Map/Map.js +1 -1
- package/components/BICOffsetPickerDialog/components/Map/Map.js.map +1 -1
- package/components/BICOffsetPickerDialog/components/WellSection/index.js +1 -1
- package/components/BICOffsetPickerDialog/components/WellSection/index.js.map +1 -1
- package/components/BICOffsetPickerDialog/index.js +1 -1
- package/components/BICOffsetPickerDialog/index.js.map +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/CollapsableSidebar.js +1 -1
- package/components/CollapsableSidebar.js.map +1 -1
- package/components/CommentCard/CommentCard.d.ts.map +1 -1
- package/components/CommentCard/CommentCard.js +1 -1
- package/components/CommentCard/CommentCard.js.map +1 -1
- package/components/CommentCard/CommentCard.scss.js +1 -1
- package/components/CommentCard/CommentCard.types.d.ts +0 -1
- package/components/CommentCard/CommentCard.types.d.ts.map +1 -1
- package/components/CommentComposer/CommentComposer.d.ts +3 -1
- package/components/CommentComposer/CommentComposer.d.ts.map +1 -1
- package/components/CommentComposer/CommentComposer.js +1 -1
- package/components/CommentComposer/CommentComposer.js.map +1 -1
- package/components/CommentComposer/__tests__/useAttachmentUpload.stored.test.d.ts +2 -0
- package/components/CommentComposer/__tests__/useAttachmentUpload.stored.test.d.ts.map +1 -0
- package/components/CommentComposer/useAttachmentUpload.d.ts +4 -0
- package/components/CommentComposer/useAttachmentUpload.d.ts.map +1 -1
- package/components/CommentComposer/useAttachmentUpload.js +1 -1
- package/components/CommentComposer/useAttachmentUpload.js.map +1 -1
- package/components/DevCenter/AppsDataProvider/effects/utils.d.ts.map +1 -1
- package/components/DevCenter/AppsDataProvider/effects/utils.js +1 -1
- package/components/DevCenter/AppsDataProvider/effects/utils.js.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/CommentsSwitch/CommentsSwitchButton.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.js.map +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/LegacyAppActions.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/LegacyAppActions.js.map +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus.js.map +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/PriorityMenus.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/PriorityMenus.js.map +1 -1
- package/components/DevCenter/DevCenterAppContainer/effects/useAppMaximized.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/effects/useAppMaximized.js.map +1 -1
- package/components/DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.d.ts.map +1 -1
- package/components/DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js +1 -1
- package/components/DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js.map +1 -1
- package/components/DevCenter/IsolatedDevCenterAppContainer/IsolatedPage.d.ts.map +1 -1
- package/components/DevCenter/IsolatedDevCenterAppContainer/IsolatedPage.js +1 -1
- package/components/DevCenter/IsolatedDevCenterAppContainer/IsolatedPage.js.map +1 -1
- package/components/DevCenter/IsolatedDevCenterAppContainer/effects/useXProps.d.ts.map +1 -1
- package/components/DevCenter/IsolatedDevCenterAppContainer/effects/useXProps.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/EmbeddedApp/EmbeddedApp.d.ts.map +1 -1
- package/components/EmbeddedApp/EmbeddedApp.js +1 -1
- package/components/EmbeddedApp/EmbeddedApp.js.map +1 -1
- package/components/FeedItem/FeedItem.js +1 -1
- package/components/FeedItem/FeedItem.js.map +1 -1
- package/components/FeedItem/FeedItemEditProvider/FeedItemEditProvider.js +1 -1
- package/components/FeedItem/FeedItemEditProvider/FeedItemEditProvider.js.map +1 -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/feedItemTypes/AppAnnotationFeedItem/index.d.ts.map +1 -1
- package/components/FeedItem/feedItemTypes/AppAnnotationFeedItem/index.js +1 -1
- package/components/FeedItem/feedItemTypes/AppAnnotationFeedItem/index.js.map +1 -1
- package/components/FeedItem/feedItemTypes/WellPlanFeedItem/index.d.ts.map +1 -1
- package/components/FeedItem/feedItemTypes/WellPlanFeedItem/index.js +1 -1
- package/components/FeedItem/feedItemTypes/WellPlanFeedItem/index.js.map +1 -1
- package/components/FilesLoaderV2/utils.js +1 -1
- package/components/FilesLoaderV2/utils.js.map +1 -1
- package/components/GradientManager/GradientManager.js +1 -1
- package/components/GradientManager/GradientManager.js.map +1 -1
- package/components/GradientManager/GradientSelect.js +1 -1
- package/components/GradientManager/GradientSelect.js.map +1 -1
- package/components/InfiniteList/index.d.ts.map +1 -1
- package/components/InfiniteList/index.js +1 -1
- package/components/InfiniteList/index.js.map +1 -1
- package/components/OffsetWellMap/OffsetWellMap.js +1 -1
- package/components/OffsetWellMap/OffsetWellMap.js.map +1 -1
- package/components/OffsetWellPickerV2/OffsetWellPickerDialog.js +1 -1
- package/components/OffsetWellPickerV2/OffsetWellPickerDialog.js.map +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/Map/Map.js +1 -1
- package/components/OffsetWellPickerV2/components/Map/Map.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/OffsetWellPickerV2/constants.js +1 -1
- package/components/OffsetWellPickerV2/constants.js.map +1 -1
- package/components/OffsetWellPickerV2/effects/index.js +1 -1
- package/components/OffsetWellPickerV2/effects/index.js.map +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Map/Map.js +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Map/Map.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/constants.js +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/constants.js.map +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/effects/index.js +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/effects/index.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/OffsetWellPickerV3/index.js +1 -1
- package/components/OffsetWellPickerV3/index.js.map +1 -1
- package/components/OffsetWellPickerV5/OffsetWellPickerV5.js +1 -1
- package/components/OffsetWellPickerV5/OffsetWellPickerV5.js.map +1 -1
- package/components/OffsetWellPickerV5/api/metrics/fetchMetricsAggregate.js +1 -1
- package/components/OffsetWellPickerV5/api/metrics/fetchMetricsAggregate.js.map +1 -1
- package/components/OffsetWellPickerV5/api/metrics/fetchMudAggregate.js +1 -1
- package/components/OffsetWellPickerV5/api/metrics/fetchMudAggregate.js.map +1 -1
- package/components/OffsetWellPickerV5/api/shared/fetchers/getAllAssets.js +1 -1
- package/components/OffsetWellPickerV5/api/shared/fetchers/getAllAssets.js.map +1 -1
- package/components/OffsetWellPickerV5/api/shared/fetchers/getAssetsByBounds.js +1 -1
- package/components/OffsetWellPickerV5/api/shared/fetchers/getAssetsByBounds.js.map +1 -1
- package/components/OffsetWellPickerV5/api/shared/fetchers/getAssetsByIds.js +1 -1
- package/components/OffsetWellPickerV5/api/shared/fetchers/getAssetsByIds.js.map +1 -1
- package/components/OffsetWellPickerV5/api/wells/fetchWellsByRigIds.js +1 -1
- package/components/OffsetWellPickerV5/api/wells/fetchWellsByRigIds.js.map +1 -1
- package/components/OffsetWellPickerV5/components/AppHeader/components/HeaderActions/HeaderActions.js +1 -1
- package/components/OffsetWellPickerV5/components/AppHeader/components/HeaderActions/HeaderActions.js.map +1 -1
- package/components/OffsetWellPickerV5/components/AppHeader/components/LoadAllWellsToggle/LoadAllWellsToggle.js +1 -1
- package/components/OffsetWellPickerV5/components/AppHeader/components/LoadAllWellsToggle/LoadAllWellsToggle.js.map +1 -1
- package/components/OffsetWellPickerV5/components/Filter/Filter.js +1 -1
- package/components/OffsetWellPickerV5/components/Filter/Filter.js.map +1 -1
- package/components/OffsetWellPickerV5/components/Filter/components/CustomDateFields/CustomDateFields.js +1 -1
- package/components/OffsetWellPickerV5/components/Filter/components/CustomDateFields/CustomDateFields.js.map +1 -1
- package/components/OffsetWellPickerV5/components/Filter/components/PeriodFilterSelect/PeriodFilterSelect.js +1 -1
- package/components/OffsetWellPickerV5/components/Filter/components/PeriodFilterSelect/PeriodFilterSelect.js.map +1 -1
- package/components/OffsetWellPickerV5/components/Filter/components/SingleFilterSelect/SingleFilterSelect.js +1 -1
- package/components/OffsetWellPickerV5/components/Filter/components/SingleFilterSelect/SingleFilterSelect.js.map +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/ClusterTooltip/ClusterTooltip.js +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/ClusterTooltip/ClusterTooltip.js.map +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/LayerSwitcher/LayerSwitcher.js +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/LayerSwitcher/LayerSwitcher.js.map +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapControls/MapControls.js +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapControls/MapControls.js.map +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHintsStash.js +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHintsStash.js.map +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SubjectWellMarker/SubjectWellMarker.js +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SubjectWellMarker/SubjectWellMarker.js.map +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useMapTooltipState.js +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useMapTooltipState.js.map +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useOffsetWellMapState.js +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useOffsetWellMapState.js.map +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useSelectionToolOrchestration.js +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useSelectionToolOrchestration.js.map +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/utils/well-markers-utils.js +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/utils/well-markers-utils.js.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.js.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/OffsetWellPickerV5WithStore.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/OffsetWellPickerV5WithStore.js.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/components/CompanySafeguardWrapper/CompanySafeguardWrapper.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/components/CompanySafeguardWrapper/CompanySafeguardWrapper.js.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/components/UserSettingsWrapper/UserSettingsWrapper.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/components/UserSettingsWrapper/UserSettingsWrapper.js.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AssetResultSection/AssetResultSection.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AssetResultSection/AssetResultSection.js.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AutoCompleteAssetSearch/AutoCompleteAssetSearch.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AutoCompleteAssetSearch/AutoCompleteAssetSearch.js.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/CompanyCell/CompanyCell.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/CompanyCell/CompanyCell.js.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/FormationCell/FormationCell.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/FormationCell/FormationCell.js.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/InterventionAssetCell/InterventionAssetCell.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/InterventionAssetCell/InterventionAssetCell.js.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/PadNameCell/PadNameCell.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/PadNameCell/PadNameCell.js.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/RigCell/RigCell.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/RigCell/RigCell.js.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/WellNameCell/WellNameCell.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/WellNameCell/WellNameCell.js.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/SettingsMenu.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/SettingsMenu.js.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/MetricsSettingsSection/MetricsSettingsSection.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/MetricsSettingsSection/MetricsSettingsSection.js.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/TableSettingsSection/TableSettingsSection.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/TableSettingsSection/TableSettingsSection.js.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/WellNameHeaderCell/WellNameHeaderCell.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/WellNameHeaderCell/WellNameHeaderCell.js.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/hooks/useAdvancedSearchHandler.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/hooks/useAdvancedSearchHandler.js.map +1 -1
- package/components/OffsetWellPickerV5/components/PickerModalActions/PickerModalActions.js +1 -1
- package/components/OffsetWellPickerV5/components/PickerModalActions/PickerModalActions.js.map +1 -1
- package/components/OffsetWellPickerV5/constants.js +1 -1
- package/components/OffsetWellPickerV5/constants.js.map +1 -1
- package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useCompanyMetricKey.js +1 -1
- package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useCompanyMetricKey.js.map +1 -1
- package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useWellDataPipeline.js +1 -1
- package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useWellDataPipeline.js.map +1 -1
- package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/wellTransformations.js +1 -1
- package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/wellTransformations.js.map +1 -1
- package/components/OffsetWellPickerV5/hooks/useAutoSyncOffsetWells.js +1 -1
- package/components/OffsetWellPickerV5/hooks/useAutoSyncOffsetWells.js.map +1 -1
- package/components/OffsetWellPickerV5/hooks/useIsAdmin.js +1 -1
- package/components/OffsetWellPickerV5/hooks/useIsAdmin.js.map +1 -1
- package/components/OffsetWellPickerV5/hooks/useLimitNotification.js +1 -1
- package/components/OffsetWellPickerV5/hooks/useLimitNotification.js.map +1 -1
- package/components/OffsetWellPickerV5/stores/idas-resync-store/createIdasResyncController.js +1 -1
- package/components/OffsetWellPickerV5/stores/idas-resync-store/createIdasResyncController.js.map +1 -1
- package/components/OffsetWellPickerV5/utils/getCoordinatedWells.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/utils/getCoordinatedWells.js +1 -1
- package/components/OffsetWellPickerV5/utils/getCoordinatedWells.js.map +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/PadOffsetsPickerV2/PadOffsetsPickerV2.js.map +1 -1
- package/components/RealTimeValuesSidebar/SidebarFooter.js +1 -1
- package/components/RealTimeValuesSidebar/SidebarFooter.js.map +1 -1
- package/components/WellhubFilePicker/WellhubFilePicker.d.ts +10 -0
- package/components/WellhubFilePicker/WellhubFilePicker.d.ts.map +1 -0
- package/components/WellhubFilePicker/WellhubFilePicker.js +2 -0
- package/components/WellhubFilePicker/WellhubFilePicker.js.map +1 -0
- package/components/WellhubFilePicker/WellhubFilePicker.types.d.ts +34 -0
- package/components/WellhubFilePicker/WellhubFilePicker.types.d.ts.map +1 -0
- package/components/WellhubFilePicker/api/__tests__/registerAttachmentsInWellhub.test.d.ts +2 -0
- package/components/WellhubFilePicker/api/__tests__/registerAttachmentsInWellhub.test.d.ts.map +1 -0
- package/components/WellhubFilePicker/api/fetchWellhubRecords.d.ts +4 -0
- package/components/WellhubFilePicker/api/fetchWellhubRecords.d.ts.map +1 -0
- package/components/WellhubFilePicker/api/fetchWellhubRecords.js +2 -0
- package/components/WellhubFilePicker/api/fetchWellhubRecords.js.map +1 -0
- package/components/WellhubFilePicker/api/index.d.ts +4 -0
- package/components/WellhubFilePicker/api/index.d.ts.map +1 -0
- package/components/WellhubFilePicker/api/postWellhubRecords.d.ts +10 -0
- package/components/WellhubFilePicker/api/postWellhubRecords.d.ts.map +1 -0
- package/components/WellhubFilePicker/api/postWellhubRecords.js +2 -0
- package/components/WellhubFilePicker/api/postWellhubRecords.js.map +1 -0
- package/components/WellhubFilePicker/api/registerAttachmentsInWellhub.d.ts +22 -0
- package/components/WellhubFilePicker/api/registerAttachmentsInWellhub.d.ts.map +1 -0
- package/components/WellhubFilePicker/api/registerAttachmentsInWellhub.js +2 -0
- package/components/WellhubFilePicker/api/registerAttachmentsInWellhub.js.map +1 -0
- package/components/WellhubFilePicker/components/WellhubFileCard/WellhubFileCard.d.ts +15 -0
- package/components/WellhubFilePicker/components/WellhubFileCard/WellhubFileCard.d.ts.map +1 -0
- package/components/WellhubFilePicker/components/WellhubFileCard/WellhubFileCard.js +2 -0
- package/components/WellhubFilePicker/components/WellhubFileCard/WellhubFileCard.js.map +1 -0
- package/components/WellhubFilePicker/components/WellhubFileCard/WellhubFileCard.scss.js +2 -0
- package/components/WellhubFilePicker/components/WellhubFileCard/WellhubFileCard.scss.js.map +1 -0
- package/components/WellhubFilePicker/components/WellhubFileCard/index.d.ts +3 -0
- package/components/WellhubFilePicker/components/WellhubFileCard/index.d.ts.map +1 -0
- package/components/WellhubFilePicker/components/WellhubFilePickerView/WellhubFilePickerView.d.ts +17 -0
- package/components/WellhubFilePicker/components/WellhubFilePickerView/WellhubFilePickerView.d.ts.map +1 -0
- package/components/WellhubFilePicker/components/WellhubFilePickerView/WellhubFilePickerView.js +2 -0
- package/components/WellhubFilePicker/components/WellhubFilePickerView/WellhubFilePickerView.js.map +1 -0
- package/components/WellhubFilePicker/components/WellhubFilePickerView/WellhubFilePickerView.scss.js +2 -0
- package/components/WellhubFilePicker/components/WellhubFilePickerView/WellhubFilePickerView.scss.js.map +1 -0
- package/components/WellhubFilePicker/components/WellhubFilePickerView/__tests__/WellhubFilePickerView.test.d.ts +2 -0
- package/components/WellhubFilePicker/components/WellhubFilePickerView/__tests__/WellhubFilePickerView.test.d.ts.map +1 -0
- package/components/WellhubFilePicker/components/WellhubFilePickerView/index.d.ts +3 -0
- package/components/WellhubFilePicker/components/WellhubFilePickerView/index.d.ts.map +1 -0
- package/components/WellhubFilePicker/constants.d.ts +5 -0
- package/components/WellhubFilePicker/constants.d.ts.map +1 -0
- package/components/WellhubFilePicker/constants.js +2 -0
- package/components/WellhubFilePicker/constants.js.map +1 -0
- package/components/WellhubFilePicker/hooks/index.d.ts +2 -0
- package/components/WellhubFilePicker/hooks/index.d.ts.map +1 -0
- package/components/WellhubFilePicker/hooks/useWellhubFiles.d.ts +8 -0
- package/components/WellhubFilePicker/hooks/useWellhubFiles.d.ts.map +1 -0
- package/components/WellhubFilePicker/hooks/useWellhubFiles.js +2 -0
- package/components/WellhubFilePicker/hooks/useWellhubFiles.js.map +1 -0
- package/components/WellhubFilePicker/index.d.ts +6 -0
- package/components/WellhubFilePicker/index.d.ts.map +1 -0
- package/components/WellhubFilePicker/utils/index.d.ts +2 -0
- package/components/WellhubFilePicker/utils/index.d.ts.map +1 -0
- package/components/WellhubFilePicker/utils/wellhubRecords.d.ts +10 -0
- package/components/WellhubFilePicker/utils/wellhubRecords.d.ts.map +1 -0
- package/components/WellhubFilePicker/utils/wellhubRecords.js +2 -0
- package/components/WellhubFilePicker/utils/wellhubRecords.js.map +1 -0
- package/components/index.d.ts +3 -0
- package/components/index.d.ts.map +1 -1
- package/components/index.js +1 -1
- package/componentsV2/AppFooter/DqPopover/DqPopover.js +1 -1
- package/componentsV2/AppFooter/DqPopover/DqPopover.js.map +1 -1
- package/componentsV2/AppHeader/AppAssets/utils.js +1 -1
- package/componentsV2/AppHeader/AppAssets/utils.js.map +1 -1
- package/componentsV2/AppHeader/V3/Actions/Actions.js +1 -1
- package/componentsV2/AppHeader/V3/Actions/Actions.js.map +1 -1
- package/componentsV2/AppHeader/V3/AppTitle/AppTitle.js +1 -1
- package/componentsV2/AppHeader/V3/AppTitle/AppTitle.js.map +1 -1
- package/componentsV2/AppHeader/V3/AssetSelector/AssetSelector.js +1 -1
- package/componentsV2/AppHeader/V3/AssetSelector/AssetSelector.js.map +1 -1
- package/componentsV2/AppHeader/V3/VersionSelect/VersionSelect.js +1 -1
- package/componentsV2/AppHeader/V3/VersionSelect/VersionSelect.js.map +1 -1
- package/componentsV2/AppPanel/AppPanelDisplay.js +1 -1
- package/componentsV2/AppPanel/AppPanelDisplay.js.map +1 -1
- package/componentsV2/CompletionsOffsetWellPicker/Map/Map.js +1 -1
- package/componentsV2/CompletionsOffsetWellPicker/Map/Map.js.map +1 -1
- package/componentsV2/CompletionsOffsetWellPicker/PadsTable/PadsTable.js +1 -1
- package/componentsV2/CompletionsOffsetWellPicker/PadsTable/PadsTable.js.map +1 -1
- package/componentsV2/CompletionsOffsetWellPicker/PadsTable/PadsTable.scss.js +1 -1
- package/componentsV2/CompletionsOffsetWellPicker/PadsTable/helpers/columns.d.ts.map +1 -1
- package/componentsV2/CompletionsOffsetWellPicker/PadsTable/helpers/columns.js +1 -1
- package/componentsV2/CompletionsOffsetWellPicker/PadsTable/helpers/columns.js.map +1 -1
- package/componentsV2/CompletionsOffsetWellPicker/hooks/useNonActivePads.js +1 -1
- package/componentsV2/CompletionsOffsetWellPicker/hooks/useNonActivePads.js.map +1 -1
- package/componentsV2/CompletionsOffsetWellPicker/hooks/usePadsByRadius.js +1 -1
- package/componentsV2/CompletionsOffsetWellPicker/hooks/usePadsByRadius.js.map +1 -1
- package/componentsV2/FilesDropzone/utils.js +1 -1
- package/componentsV2/FilesDropzone/utils.js.map +1 -1
- package/componentsV2/FilesLoader/utils.js +1 -1
- package/componentsV2/FilesLoader/utils.js.map +1 -1
- package/componentsV2/IndicatorLive/IndicatorLive.d.ts.map +1 -1
- package/componentsV2/IndicatorLive/IndicatorLive.js.map +1 -1
- package/componentsV2/PadModeSelect/PadModeSelect.js +1 -1
- package/componentsV2/PadModeSelect/PadModeSelect.js.map +1 -1
- package/componentsV2/TemplatesControl/PublishModal/PublishModal.js +1 -1
- package/componentsV2/TemplatesControl/PublishModal/PublishModal.js.map +1 -1
- package/componentsV2/TemplatesControl/ShareModal/ShareModal.js +1 -1
- package/componentsV2/TemplatesControl/ShareModal/ShareModal.js.map +1 -1
- package/componentsV2/TemplatesControl/Store/hooks/useCopyTemplate.js +1 -1
- package/componentsV2/TemplatesControl/Store/hooks/useCopyTemplate.js.map +1 -1
- package/componentsV2/TemplatesControl/Store/hooks/useCreateTemplate.js +1 -1
- package/componentsV2/TemplatesControl/Store/hooks/useCreateTemplate.js.map +1 -1
- package/componentsV2/TemplatesControl/Store/hooks/useDeleteFolder.js +1 -1
- package/componentsV2/TemplatesControl/Store/hooks/useDeleteFolder.js.map +1 -1
- package/componentsV2/TemplatesControl/Store/hooks/useDeleteTemplate.js +1 -1
- package/componentsV2/TemplatesControl/Store/hooks/useDeleteTemplate.js.map +1 -1
- package/componentsV2/TemplatesControl/Store/hooks/useExportTemplate.js +1 -1
- package/componentsV2/TemplatesControl/Store/hooks/useExportTemplate.js.map +1 -1
- package/componentsV2/TemplatesControl/Store/hooks/useImportTemplate.js +1 -1
- package/componentsV2/TemplatesControl/Store/hooks/useImportTemplate.js.map +1 -1
- package/componentsV2/TemplatesControl/Store/hooks/useInitialize.js +1 -1
- package/componentsV2/TemplatesControl/Store/hooks/useInitialize.js.map +1 -1
- package/componentsV2/TemplatesControl/Store/hooks/useMoveToFolder.js +1 -1
- package/componentsV2/TemplatesControl/Store/hooks/useMoveToFolder.js.map +1 -1
- package/componentsV2/TemplatesControl/Store/hooks/usePublishTemplate.js +1 -1
- package/componentsV2/TemplatesControl/Store/hooks/usePublishTemplate.js.map +1 -1
- package/componentsV2/TemplatesControl/Store/hooks/useRevertToOriginal.js +1 -1
- package/componentsV2/TemplatesControl/Store/hooks/useRevertToOriginal.js.map +1 -1
- package/componentsV2/TemplatesControl/Store/hooks/useShareTemplate.js +1 -1
- package/componentsV2/TemplatesControl/Store/hooks/useShareTemplate.js.map +1 -1
- package/componentsV2/TemplatesControl/Store/hooks/useUnfollowTemplate.js +1 -1
- package/componentsV2/TemplatesControl/Store/hooks/useUnfollowTemplate.js.map +1 -1
- package/componentsV2/TemplatesControl/Store/hooks/useUpdateFolderName.js +1 -1
- package/componentsV2/TemplatesControl/Store/hooks/useUpdateFolderName.js.map +1 -1
- package/componentsV2/TemplatesControl/Store/hooks/useUpdateTemplateName.js +1 -1
- package/componentsV2/TemplatesControl/Store/hooks/useUpdateTemplateName.js.map +1 -1
- package/componentsV2/TemplatesControl/Toggle/Toggle.js +1 -1
- package/componentsV2/TemplatesControl/Toggle/Toggle.js.map +1 -1
- package/componentsV2/TextInputBase/TextInputBase.js +1 -1
- package/componentsV2/TextInputBase/TextInputBase.js.map +1 -1
- package/componentsV2/TextInputNext/TextInputNext.js +1 -1
- package/componentsV2/TextInputNext/TextInputNext.js.map +1 -1
- package/componentsV2/WellArchivedMessage/WellArchivedMessage.js +1 -1
- package/componentsV2/WellArchivedMessage/WellArchivedMessage.js.map +1 -1
- package/constants/assets.d.ts +40 -1
- package/constants/assets.d.ts.map +1 -1
- package/constants/bha.d.ts +4 -4
- package/constants/notifications.d.ts +5 -2
- package/constants/notifications.d.ts.map +1 -1
- package/constants/notifications.js +1 -1
- package/constants/notifications.js.map +1 -1
- package/effects/useGlobalOffsetWellsSync.js +1 -1
- package/effects/useGlobalOffsetWellsSync.js.map +1 -1
- package/effects/useSharedDCStore.js +1 -1
- package/effects/useSharedDCStore.js.map +1 -1
- package/mcp-server/server.mjs +168 -107
- package/package.json +1 -2
- package/testing/AppTestWrapper/AppTestWrapper.js +1 -1
- package/testing/AppTestWrapper/AppTestWrapper.js.map +1 -1
- package/tsconfig.tsbuildinfo +1 -1
- package/utils/DrillstringUtils.d.ts.map +1 -1
- package/utils/DrillstringUtils.js +1 -1
- package/utils/DrillstringUtils.js.map +1 -1
- package/utils/apps.js +1 -1
- package/utils/apps.js.map +1 -1
- package/utils/convert.d.ts +0 -19
- package/utils/convert.d.ts.map +1 -1
- package/utils/convert.js +1 -1
- package/utils/convert.js.map +1 -1
- package/utils/devcenter.d.ts.map +1 -1
- package/utils/devcenter.js +1 -1
- package/utils/devcenter.js.map +1 -1
- package/utils/fetchDataByChunks.d.ts.map +1 -0
- package/utils/fetchDataByChunks.js +2 -0
- package/utils/fetchDataByChunks.js.map +1 -0
- package/utils/index.d.ts +4 -4
- package/utils/index.d.ts.map +1 -1
- package/utils/index.js +1 -1
- package/utils/index.js.map +1 -1
- package/utils/lasParser.d.ts.map +1 -1
- package/utils/lasParser.js +1 -1
- package/utils/lasParser.js.map +1 -1
- package/utils/time.d.ts.map +1 -1
- package/utils/time.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/api/shared/fetchers/fetchDataByChunks.js +0 -2
- package/cjs-bundle/components/OffsetWellPickerV5/api/shared/fetchers/fetchDataByChunks.js.map +0 -1
- package/components/OffsetWellPickerV5/api/shared/fetchers/fetchDataByChunks.d.ts.map +0 -1
- package/components/OffsetWellPickerV5/api/shared/fetchers/fetchDataByChunks.js +0 -2
- package/components/OffsetWellPickerV5/api/shared/fetchers/fetchDataByChunks.js.map +0 -1
- package/utils/HeatmapUtils.d.ts +0 -1
- package/utils/HeatmapUtils.d.ts.map +0 -1
- /package/{components/OffsetWellPickerV5/api/shared/fetchers → utils}/fetchDataByChunks.d.ts +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import e from"@babel/runtime/helpers/defineProperty";import t from"@babel/runtime/helpers/asyncToGenerator";import
|
|
1
|
+
import e from"@babel/runtime/helpers/defineProperty";import t from"@babel/runtime/helpers/asyncToGenerator";import s from"@babel/runtime/helpers/slicedToArray";import r from"@babel/runtime/regenerator";import{useState as o,useEffect as i}from"react";import{ALL_SECTION_KEY as n}from"../constants.js";import{getCoordinatedWells as l}from"../utils/getCoordinatedWells.js";import"geolib";import"../../../utils/convert.js";import"moment";import"../../UserMention/utils/index.js";import"../../../constants/completion.js";import"../../../constants/alerts.js";import"../../../utils/casing/validation.js";import"lodash/mean";import"lodash";import"../../../constants/streamSourceType.js";import"lodash/get";import"file-saver";import"query-string";import"../../../constants/goals.js";import"../../../constants/segment.js";import"../../../constants/apps.js";import"../../../constants/drillstring.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"../../../utils/drillstring/conversion.js";import"lodash/set";import"lodash/cloneDeep";import"@babel/runtime/helpers/toConsumableArray";import"lodash/isNumber";import"lodash/has";import"../../../utils/ga.js";import"../../../utils/goalsConfig/goalsConfig.js";import"../../../utils/lasParser.js";import"../../../utils/main.js";import"../../../utils/metrics/metricsConfig.js";import"../../../utils/mobileDetect.js";import"../../../utils/feed.js";import"../../../utils/reports.js";import"moment-timezone";import"@babel/runtime/helpers/typeof";import"../../../utils/dashboardReports.js";import"../../../utils/env.js";import"file-extension";import"image-extensions";import"video-extensions";import"../../../utils/jsonaDataFormatter.js";import"../../../utils/bha.js";import"jsona";import"../../../clients/jsonApi/index.js";import"@babel/runtime/helpers/objectWithoutProperties";import"classnames";import"../../../utils/charts/Styles.scss.js";import"../../../utils/getSingleAsset.js";import{partitionSelectedWellIds as a,applyPartitionToOffsetSettings as p}from"./use-save-reset/partitionSelectedWellIds.js";function m(e,t){var s=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),s.push.apply(s,r)}return s}function c(t){for(var s=1;s<arguments.length;s++){var r=null!=arguments[s]?arguments[s]:{};s%2?m(Object(r),!0).forEach((function(s){e(t,s,r[s])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):m(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var u=function(e){var m=e.isAllWellsLoaded,u=e.syncAutoEnabled,d=e.isXtoIdas,f=e.offsetSettings,j=e.externalOffsets,b=e.subjectWellId,g=e.maxOffsetWellNumber,h=e.localMaxOffsetSize,v=e.idasWellIds,W=e.owsWellIds,y=e.wellhubWellIds,I=e.onSave,O=o(!0),x=s(O,2),w=x[0],S=x[1];i((function(){S(!0)}),[b]),i((function(){if(!d&&m){var e=function(){var e=t(r.mark((function e(){var t,s,o,i,m,u,d,O,x,w,S,P,k,D,A;return r.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(j&&null!==b){e.next=2;break}return e.abrupt("return");case 2:if(t=void 0===(null==f?void 0:f.isSynced)||(null==f?void 0:f.isSynced),s=!0,!t){e.next=23;break}if(i=j[n]||[],m=new Set(i),u=((null==f?void 0:f.selectedWellIds)||[]).every((function(e){return m.has(e)})),i.length===(null==f||null===(o=f.selectedWellIds)||void 0===o?void 0:o.length)&&u){e.next=20;break}return e.next=11,l(i,b);case 11:d=e.sent,O=d.slice(0,h+1).map((function(e){return e.id})),x=a({selectedWellIds:O,subjectWellId:null!=b?b:void 0,idasWellIds:v,owsWellIds:W,wellhubWellIds:y}),w=p(c(c({},f),{},{subjectWellId:b,selectedWellIds:O,offsetWellsLimited:g<=O.length}),x),S=new Set(O),P=d.filter((function(e){return S.has(e.id)})),I(w,P),e.next=21;break;case 20:s=!1;case 21:e.next=24;break;case 23:s=!1;case 24:if(s){e.next=31;break}return e.next=27,l((null==f?void 0:f.selectedWellIds)||[],b);case 27:k=e.sent,D=a({selectedWellIds:(null==f?void 0:f.selectedWellIds)||[],subjectWellId:null!=b?b:void 0,idasWellIds:v,owsWellIds:W,wellhubWellIds:y}),A=p(c({},f),D),I(A,k);case 31:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();u&&w&&f&&j&&(e(),S(!1))}}),[f,j,b,g,u,d,m,w,h,v,W,y,I])};export{u as useAutoSyncOffsetWells};
|
|
2
2
|
//# sourceMappingURL=useAutoSyncOffsetWells.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useAutoSyncOffsetWells.js","sources":["../../../../src/components/OffsetWellPickerV5/hooks/useAutoSyncOffsetWells.ts"],"sourcesContent":["import { useState, useEffect } from 'react';\n\nimport { ALL_SECTION_KEY } from '../constants';\nimport { getCoordinatedWells } from '../utils';\nimport type {\n OffsetSettingsInput,\n OffsetSettingsOutput,\n OffsetWell,\n} from '../OffsetWellPickerV5.types';\n\nimport type { OffsetWellsBySection } from './useExternalOffsets';\nimport {\n partitionSelectedWellIds,\n applyPartitionToOffsetSettings,\n} from './use-save-reset/partitionSelectedWellIds';\n\ntype UseAutoSyncOffsetWellsParams = {\n isAllWellsLoaded: boolean;\n syncAutoEnabled: boolean;\n isXtoIdas: boolean;\n offsetSettings: OffsetSettingsInput | undefined;\n externalOffsets: OffsetWellsBySection | null;\n subjectWellId: number | null;\n maxOffsetWellNumber: number;\n localMaxOffsetSize: number;\n idasWellIds: number[];\n owsWellIds: number[];\n wellhubWellIds: number[];\n onSave: (offsetSettings: OffsetSettingsOutput, selectedWells?: OffsetWell[]) => void;\n};\n\n/**\n * Auto-syncs offset wells from BIC well recommendations when syncAutoEnabled is true.\n * Runs once when the app first loads with valid offset settings and BIC data.\n *\n * Skipped for XTO IDAS users: their authoritative path is the explicit \"Sync with\n * IDAS\" header action, which triggers a backend recompute. Auto-saving the initial\n * BIC snapshot on mount would silently pin pre-resync state and make Cancel a no-op.\n */\nexport const useAutoSyncOffsetWells = ({\n isAllWellsLoaded,\n syncAutoEnabled,\n isXtoIdas,\n offsetSettings,\n externalOffsets,\n subjectWellId,\n maxOffsetWellNumber,\n localMaxOffsetSize,\n idasWellIds,\n owsWellIds,\n wellhubWellIds,\n onSave,\n}: UseAutoSyncOffsetWellsParams): void => {\n const [appLoading, setAppLoading] = useState(true);\n\n // Reset appLoading when subject well changes so sync can re-trigger\n useEffect(() => {\n setAppLoading(true);\n }, [subjectWellId]);\n\n useEffect(() => {\n if (isXtoIdas) {\n return;\n }\n if (!isAllWellsLoaded) {\n return;\n }\n\n const syncOffsetWells = async () => {\n if (!externalOffsets || subjectWellId === null) return;\n\n const isSynced = typeof offsetSettings?.isSynced === 'undefined' || offsetSettings?.isSynced;\n\n let offsetWellsChanged = true;\n\n if (isSynced) {\n const externalOffsetsIds = externalOffsets[ALL_SECTION_KEY] || [];\n const externalOffsetsIdsSet = new Set(externalOffsetsIds);\n const isMatched = (offsetSettings?.selectedWellIds || []).every(wellId =>\n externalOffsetsIdsSet.has(wellId)\n );\n\n if (externalOffsetsIds.length !== offsetSettings?.selectedWellIds?.length || !isMatched) {\n const wellsByDistance = await getCoordinatedWells(externalOffsetsIds, subjectWellId);\n const selectedWellIds = wellsByDistance\n .slice(0, localMaxOffsetSize + 1)\n .map((well: { id: number }) => well.id);\n const partition = partitionSelectedWellIds({\n selectedWellIds,\n subjectWellId: subjectWellId ?? undefined,\n idasWellIds,\n owsWellIds,\n wellhubWellIds,\n });\n const newOffsetSetting = applyPartitionToOffsetSettings(\n {\n ...offsetSettings,\n subjectWellId,\n selectedWellIds,\n offsetWellsLimited: maxOffsetWellNumber <= selectedWellIds.length,\n },\n partition\n );\n const selectedWellIdsSet = new Set(selectedWellIds);\n const offsetWells = wellsByDistance.filter((well: { id: number }) =>\n selectedWellIdsSet.has(well.id)\n );\n\n onSave(newOffsetSetting as OffsetSettingsOutput, offsetWells as OffsetWell[]);\n } else {\n offsetWellsChanged = false;\n }\n } else {\n offsetWellsChanged = false;\n }\n\n if (!offsetWellsChanged) {\n const offsetWells = await getCoordinatedWells(\n offsetSettings?.selectedWellIds || [],\n subjectWellId\n );\n const partition = partitionSelectedWellIds({\n selectedWellIds: offsetSettings?.selectedWellIds || [],\n subjectWellId: subjectWellId ?? undefined,\n idasWellIds,\n owsWellIds,\n wellhubWellIds,\n });\n const newOffsetSetting = applyPartitionToOffsetSettings({ ...offsetSettings }, partition);\n onSave(newOffsetSetting as OffsetSettingsOutput, offsetWells as OffsetWell[]);\n }\n };\n\n if (syncAutoEnabled && appLoading && offsetSettings && externalOffsets) {\n syncOffsetWells();\n setAppLoading(false);\n }\n }, [\n offsetSettings,\n externalOffsets,\n subjectWellId,\n maxOffsetWellNumber,\n syncAutoEnabled,\n isXtoIdas,\n isAllWellsLoaded,\n appLoading,\n localMaxOffsetSize,\n idasWellIds,\n owsWellIds,\n wellhubWellIds,\n onSave,\n ]);\n};\n"],"names":["useAutoSyncOffsetWells","_ref","isAllWellsLoaded","syncAutoEnabled","isXtoIdas","offsetSettings","externalOffsets","subjectWellId","maxOffsetWellNumber","localMaxOffsetSize","idasWellIds","owsWellIds","wellhubWellIds","onSave","useState","_useState2","_slicedToArray","_useState","appLoading","setAppLoading","useEffect","syncOffsetWells","_ref2","_asyncToGenerator","_regeneratorRuntime","mark","_callee","isSynced","offsetWellsChanged","_offsetSettings$selec","externalOffsetsIds","externalOffsetsIdsSet","isMatched","wellsByDistance","selectedWellIds","partition","newOffsetSetting","selectedWellIdsSet","offsetWells","_offsetWells","_partition","_newOffsetSetting","wrap","_context","prev","next","abrupt","ALL_SECTION_KEY","Set","every","wellId","has","length","getCoordinatedWells","sent","slice","map","well","id","partitionSelectedWellIds","undefined","applyPartitionToOffsetSettings","_objectSpread","offsetWellsLimited","filter","stop","apply","this","arguments"],"mappings":"
|
|
1
|
+
{"version":3,"file":"useAutoSyncOffsetWells.js","sources":["../../../../src/components/OffsetWellPickerV5/hooks/useAutoSyncOffsetWells.ts"],"sourcesContent":["import { useState, useEffect } from 'react';\n\nimport { ALL_SECTION_KEY } from '../constants';\nimport { getCoordinatedWells } from '../utils';\nimport type {\n OffsetSettingsInput,\n OffsetSettingsOutput,\n OffsetWell,\n} from '../OffsetWellPickerV5.types';\n\nimport type { OffsetWellsBySection } from './useExternalOffsets';\nimport {\n partitionSelectedWellIds,\n applyPartitionToOffsetSettings,\n} from './use-save-reset/partitionSelectedWellIds';\n\ntype UseAutoSyncOffsetWellsParams = {\n isAllWellsLoaded: boolean;\n syncAutoEnabled: boolean;\n isXtoIdas: boolean;\n offsetSettings: OffsetSettingsInput | undefined;\n externalOffsets: OffsetWellsBySection | null;\n subjectWellId: number | null;\n maxOffsetWellNumber: number;\n localMaxOffsetSize: number;\n idasWellIds: number[];\n owsWellIds: number[];\n wellhubWellIds: number[];\n onSave: (offsetSettings: OffsetSettingsOutput, selectedWells?: OffsetWell[]) => void;\n};\n\n/**\n * Auto-syncs offset wells from BIC well recommendations when syncAutoEnabled is true.\n * Runs once when the app first loads with valid offset settings and BIC data.\n *\n * Skipped for XTO IDAS users: their authoritative path is the explicit \"Sync with\n * IDAS\" header action, which triggers a backend recompute. Auto-saving the initial\n * BIC snapshot on mount would silently pin pre-resync state and make Cancel a no-op.\n */\nexport const useAutoSyncOffsetWells = ({\n isAllWellsLoaded,\n syncAutoEnabled,\n isXtoIdas,\n offsetSettings,\n externalOffsets,\n subjectWellId,\n maxOffsetWellNumber,\n localMaxOffsetSize,\n idasWellIds,\n owsWellIds,\n wellhubWellIds,\n onSave,\n}: UseAutoSyncOffsetWellsParams): void => {\n const [appLoading, setAppLoading] = useState(true);\n\n // Reset appLoading when subject well changes so sync can re-trigger\n useEffect(() => {\n setAppLoading(true);\n }, [subjectWellId]);\n\n useEffect(() => {\n if (isXtoIdas) {\n return;\n }\n if (!isAllWellsLoaded) {\n return;\n }\n\n const syncOffsetWells = async () => {\n if (!externalOffsets || subjectWellId === null) return;\n\n const isSynced = typeof offsetSettings?.isSynced === 'undefined' || offsetSettings?.isSynced;\n\n let offsetWellsChanged = true;\n\n if (isSynced) {\n const externalOffsetsIds = externalOffsets[ALL_SECTION_KEY] || [];\n const externalOffsetsIdsSet = new Set(externalOffsetsIds);\n const isMatched = (offsetSettings?.selectedWellIds || []).every(wellId =>\n externalOffsetsIdsSet.has(wellId)\n );\n\n if (externalOffsetsIds.length !== offsetSettings?.selectedWellIds?.length || !isMatched) {\n const wellsByDistance = await getCoordinatedWells(externalOffsetsIds, subjectWellId);\n const selectedWellIds = wellsByDistance\n .slice(0, localMaxOffsetSize + 1)\n .map((well: { id: number }) => well.id);\n const partition = partitionSelectedWellIds({\n selectedWellIds,\n subjectWellId: subjectWellId ?? undefined,\n idasWellIds,\n owsWellIds,\n wellhubWellIds,\n });\n const newOffsetSetting = applyPartitionToOffsetSettings(\n {\n ...offsetSettings,\n subjectWellId,\n selectedWellIds,\n offsetWellsLimited: maxOffsetWellNumber <= selectedWellIds.length,\n },\n partition\n );\n const selectedWellIdsSet = new Set(selectedWellIds);\n const offsetWells = wellsByDistance.filter((well: { id: number }) =>\n selectedWellIdsSet.has(well.id)\n );\n\n onSave(newOffsetSetting as OffsetSettingsOutput, offsetWells as OffsetWell[]);\n } else {\n offsetWellsChanged = false;\n }\n } else {\n offsetWellsChanged = false;\n }\n\n if (!offsetWellsChanged) {\n const offsetWells = await getCoordinatedWells(\n offsetSettings?.selectedWellIds || [],\n subjectWellId\n );\n const partition = partitionSelectedWellIds({\n selectedWellIds: offsetSettings?.selectedWellIds || [],\n subjectWellId: subjectWellId ?? undefined,\n idasWellIds,\n owsWellIds,\n wellhubWellIds,\n });\n const newOffsetSetting = applyPartitionToOffsetSettings({ ...offsetSettings }, partition);\n onSave(newOffsetSetting as OffsetSettingsOutput, offsetWells as OffsetWell[]);\n }\n };\n\n if (syncAutoEnabled && appLoading && offsetSettings && externalOffsets) {\n syncOffsetWells();\n setAppLoading(false);\n }\n }, [\n offsetSettings,\n externalOffsets,\n subjectWellId,\n maxOffsetWellNumber,\n syncAutoEnabled,\n isXtoIdas,\n isAllWellsLoaded,\n appLoading,\n localMaxOffsetSize,\n idasWellIds,\n owsWellIds,\n wellhubWellIds,\n onSave,\n ]);\n};\n"],"names":["useAutoSyncOffsetWells","_ref","isAllWellsLoaded","syncAutoEnabled","isXtoIdas","offsetSettings","externalOffsets","subjectWellId","maxOffsetWellNumber","localMaxOffsetSize","idasWellIds","owsWellIds","wellhubWellIds","onSave","useState","_useState2","_slicedToArray","_useState","appLoading","setAppLoading","useEffect","syncOffsetWells","_ref2","_asyncToGenerator","_regeneratorRuntime","mark","_callee","isSynced","offsetWellsChanged","_offsetSettings$selec","externalOffsetsIds","externalOffsetsIdsSet","isMatched","wellsByDistance","selectedWellIds","partition","newOffsetSetting","selectedWellIdsSet","offsetWells","_offsetWells","_partition","_newOffsetSetting","wrap","_context","prev","next","abrupt","ALL_SECTION_KEY","Set","every","wellId","has","length","getCoordinatedWells","sent","slice","map","well","id","partitionSelectedWellIds","undefined","applyPartitionToOffsetSettings","_objectSpread","offsetWellsLimited","filter","stop","apply","this","arguments"],"mappings":"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"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{checkIsUserAdmin as t}from"../utils/checkIsUserAdmin.js";import{usePickerPropsStore as s}from"../stores/picker-props-store/usePickerPropsStore.js";import"../../../clients/subscriptions/constants.js";import"@babel/runtime/helpers/slicedToArray";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/regenerator";import"querystring";import"react";import"uuid/v1";import"lodash";import"../../../clients/subscriptions.v1.js";import"../../../clients/jsonApi/index.js";import"../../../clients/subscriptions/subscriptions-client.factory.js";import"
|
|
1
|
+
import{checkIsUserAdmin as t}from"../utils/checkIsUserAdmin.js";import{usePickerPropsStore as s}from"../stores/picker-props-store/usePickerPropsStore.js";import"../../../clients/subscriptions/constants.js";import"@babel/runtime/helpers/slicedToArray";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/regenerator";import"querystring";import"react";import"uuid/v1";import"lodash";import"../../../clients/subscriptions.v1.js";import"../../../clients/jsonApi/index.js";import"../../../clients/subscriptions/subscriptions-client.factory.js";import"query-string";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"../../UserMention/utils/index.js";import"../../../utils/convert.js";import"moment";import"../../../utils/casing/validation.js";import"lodash/mean";import"../../../constants/streamSourceType.js";import"lodash/get";import"file-saver";import"../../../utils/drillstring/conversion.js";import"lodash/set";import"lodash/cloneDeep";import"@babel/runtime/helpers/toConsumableArray";import"lodash/isNumber";import"lodash/has";import"../../../utils/ga.js";import"../../../utils/goalsConfig/goalsConfig.js";import"../../../utils/lasParser.js";import"../../../utils/main.js";import"../../../utils/metrics/metricsConfig.js";import"../../../utils/mobileDetect.js";import"../../../utils/feed.js";import"../../../utils/reports.js";import"moment-timezone";import"@babel/runtime/helpers/typeof";import"../../../utils/dashboardReports.js";import"../../../utils/env.js";import"file-extension";import"image-extensions";import"video-extensions";import"../../../utils/jsonaDataFormatter.js";import"../../../utils/bha.js";import"jsona";import"@babel/runtime/helpers/objectWithoutProperties";import"classnames";import"../../../utils/charts/Styles.scss.js";import"../../../utils/getSingleAsset.js";import"uuid";import"../../StatusBadge/constants.js";import"lodash/unset";import"../../../clients/api/apiCore.js";import"../../../clients/constants.js";import"../../../clients/sso/auth0.js";import"../../../clients/sso/oauth2.js";import"../../../clients/api/rateLimiter.js";import"lodash/isEmpty";import"lodash/sortBy";import"../../DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchContext.js";import"../../../componentsV2/AppCommonsProvider/AppCommonsProvider.js";import{useAppCommons as o}from"../../../componentsV2/AppCommonsProvider/AppCommonsContext.js";import"../../../componentsV2/AppPanel/AppPanelsContext.js";var i=function(){var i,r=null===(i=o())||void 0===i?void 0:i.currentUser,e=s((function(t){return t.currentUser}));return t(null!=r?r:e)};export{i as useIsAdmin};
|
|
2
2
|
//# sourceMappingURL=useIsAdmin.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useIsAdmin.js","sources":["../../../../src/components/OffsetWellPickerV5/hooks/useIsAdmin.ts"],"sourcesContent":["import { checkIsUserAdmin } from '../utils/checkIsUserAdmin';\nimport { usePickerPropsStore } from '../stores/picker-props-store/usePickerPropsStore';\n\nimport { useAppCommons } from '~/effects';\n\nexport const useIsAdmin = (): boolean => {\n const appCommonsUser = useAppCommons()?.currentUser;\n const pickerPropsUser = usePickerPropsStore(state => state.currentUser);\n\n return checkIsUserAdmin(appCommonsUser ?? pickerPropsUser);\n};\n"],"names":["useIsAdmin","_useAppCommons","appCommonsUser","useAppCommons","currentUser","pickerPropsUser","usePickerPropsStore","state","checkIsUserAdmin"],"mappings":"
|
|
1
|
+
{"version":3,"file":"useIsAdmin.js","sources":["../../../../src/components/OffsetWellPickerV5/hooks/useIsAdmin.ts"],"sourcesContent":["import { checkIsUserAdmin } from '../utils/checkIsUserAdmin';\nimport { usePickerPropsStore } from '../stores/picker-props-store/usePickerPropsStore';\n\nimport { useAppCommons } from '~/effects';\n\nexport const useIsAdmin = (): boolean => {\n const appCommonsUser = useAppCommons()?.currentUser;\n const pickerPropsUser = usePickerPropsStore(state => state.currentUser);\n\n return checkIsUserAdmin(appCommonsUser ?? pickerPropsUser);\n};\n"],"names":["useIsAdmin","_useAppCommons","appCommonsUser","useAppCommons","currentUser","pickerPropsUser","usePickerPropsStore","state","checkIsUserAdmin"],"mappings":"+2FAKaA,IAAAA,EAAa,WAAe,IAAAC,EACjCC,EAAgC,QAAfC,EAAAA,WAAe,IAAAF,OAAA,EAAfA,EAAiBG,YAClCC,EAAkBC,GAAoB,SAAAC,GAAK,OAAIA,EAAMH,eAE3D,OAAOI,EAAiBN,QAAAA,EAAkBG,EAC5C"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{useEffect as t}from"react";import"
|
|
1
|
+
import{useEffect as t}from"react";import"../../UserMention/utils/index.js";import"@babel/runtime/helpers/defineProperty";import"../../../utils/convert.js";import"../../../constants/completion.js";import"moment";import"../../../constants/alerts.js";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"../../../utils/casing/validation.js";import"@babel/runtime/helpers/slicedToArray";import"lodash/mean";import"lodash";import"../../../constants/streamSourceType.js";import"lodash/get";import"file-saver";import"query-string";import"../../../constants/goals.js";import"../../../constants/segment.js";import"../../../constants/apps.js";import"../../../constants/drillstring.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"../../../utils/drillstring/conversion.js";import"lodash/set";import"lodash/cloneDeep";import"@babel/runtime/helpers/toConsumableArray";import"lodash/isNumber";import"lodash/has";import"../../../utils/ga.js";import"../../../utils/goalsConfig/goalsConfig.js";import"../../../utils/lasParser.js";import"../../../utils/main.js";import"../../../utils/metrics/metricsConfig.js";import"../../../utils/mobileDetect.js";import"../../../utils/feed.js";import"../../../utils/reports.js";import"moment-timezone";import{showInfoNotification as s}from"../../../utils/notificationToasts.js";import"@babel/runtime/helpers/typeof";import"../../../utils/dashboardReports.js";import"../../../utils/env.js";import"file-extension";import"image-extensions";import"video-extensions";import"../../../utils/jsonaDataFormatter.js";import"../../../utils/bha.js";import"jsona";import"../../../clients/jsonApi/index.js";import"@babel/runtime/helpers/objectWithoutProperties";import"classnames";import"../../../utils/charts/Styles.scss.js";import"../../../utils/getSingleAsset.js";var o=function(o,i,r){t((function(){o&&i&&s("App can't process more than (".concat(r-1,") Offset Wells."))}),[i,o,r])};export{o as useLimitNotification};
|
|
2
2
|
//# sourceMappingURL=useLimitNotification.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useLimitNotification.js","sources":["../../../../src/components/OffsetWellPickerV5/hooks/useLimitNotification.ts"],"sourcesContent":["import { useEffect } from 'react';\n\nimport { showInfoNotification } from '~/utils';\n\nexport const useLimitNotification = (\n open: boolean | undefined,\n isLimitedOffsetWells: boolean,\n maxOffsetWellNumber: number\n): void => {\n useEffect(() => {\n if (open && isLimitedOffsetWells) {\n showInfoNotification(\n `App can't process more than (${maxOffsetWellNumber - 1}) Offset Wells.`\n );\n }\n }, [isLimitedOffsetWells, open, maxOffsetWellNumber]);\n};\n"],"names":["useLimitNotification","open","isLimitedOffsetWells","maxOffsetWellNumber","useEffect","showInfoNotification"],"mappings":"
|
|
1
|
+
{"version":3,"file":"useLimitNotification.js","sources":["../../../../src/components/OffsetWellPickerV5/hooks/useLimitNotification.ts"],"sourcesContent":["import { useEffect } from 'react';\n\nimport { showInfoNotification } from '~/utils';\n\nexport const useLimitNotification = (\n open: boolean | undefined,\n isLimitedOffsetWells: boolean,\n maxOffsetWellNumber: number\n): void => {\n useEffect(() => {\n if (open && isLimitedOffsetWells) {\n showInfoNotification(\n `App can't process more than (${maxOffsetWellNumber - 1}) Offset Wells.`\n );\n }\n }, [isLimitedOffsetWells, open, maxOffsetWellNumber]);\n};\n"],"names":["useLimitNotification","open","isLimitedOffsetWells","maxOffsetWellNumber","useEffect","showInfoNotification"],"mappings":"2+DAIO,IAAMA,EAAuB,SAClCC,EACAC,EACAC,GAEAC,GAAU,WACJH,GAAQC,GACVG,EACkCF,gCAAAA,OAAAA,EAAsB,EACvD,mBAEJ,GAAE,CAACD,EAAsBD,EAAME,GAClC"}
|
package/components/OffsetWellPickerV5/stores/idas-resync-store/createIdasResyncController.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import t from"@babel/runtime/helpers/asyncToGenerator";import
|
|
1
|
+
import t from"@babel/runtime/helpers/asyncToGenerator";import s from"@babel/runtime/regenerator";import"lodash";import"@babel/runtime/helpers/toConsumableArray";import"@babel/runtime/helpers/defineProperty";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"../../../../clients/api/rateLimiter.js";import"../../constants.js";import"../../api/shared/dataFormatter.js";import"@babel/runtime/helpers/slicedToArray";import{resyncIdasWells as r}from"../../api/external-offsets/resyncIdasWells.js";import{IdasResyncStatus as i}from"./idas-resync.types.js";import{getIdasResyncChannel as e}from"./idasResyncChannel.js";import{subscribeToIdasResync as n}from"./subscribeToIdasResync.js";import"../../../UserMention/utils/index.js";import"../../../../utils/convert.js";import"../../../../constants/completion.js";import"../../../../constants/alerts.js";import"../../../../utils/casing/validation.js";import"lodash/mean";import"../../../../constants/streamSourceType.js";import"file-saver";import"query-string";import"../../../../constants/goals.js";import"../../../../constants/segment.js";import"../../../../constants/apps.js";import"../../../../constants/drillstring.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"../../../../utils/drillstring/conversion.js";import"lodash/cloneDeep";import"lodash/isNumber";import"lodash/has";import"../../../../utils/ga.js";import"../../../../utils/goalsConfig/goalsConfig.js";import"../../../../utils/lasParser.js";import"../../../../utils/main.js";import"../../../../utils/metrics/metricsConfig.js";import"../../../../utils/mobileDetect.js";import"../../../../utils/feed.js";import"../../../../utils/reports.js";import"moment-timezone";import{showErrorNotification as o,showSuccessNotification as a}from"../../../../utils/notificationToasts.js";import"@babel/runtime/helpers/typeof";import"../../../../utils/dashboardReports.js";import"../../../../utils/env.js";import"file-extension";import"image-extensions";import"video-extensions";import"../../../../utils/jsonaDataFormatter.js";import"../../../../utils/bha.js";import"jsona";import"@babel/runtime/helpers/objectWithoutProperties";import"classnames";import"../../../../utils/charts/Styles.scss.js";import"../../../../utils/getSingleAsset.js";var p={multiline:!0,autoHideDuration:1e4},l=function(){},m=function(m){var u,c=null,f=null,d=!1,j={assetId:null,currentUser:void 0,loadExternalOffsets:(u=t(s.mark((function t(){return s.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",void 0);case 1:case"end":return t.stop()}}),t)}))),function(){return u.apply(this,arguments)})},v=function(t){var s;m.setState({status:t,isResyncInFlight:(s=t,s===i.TRIGGERED||s===i.RUNNING)})},h=function(){var t;null===(t=f)||void 0===t||t(),f=null},b=function(){c=null},g=function(){h(),b()},y=function(t){d&&(o(t,p),v(i.FAILED))},I=function(t,s){d&&t===c&&(b(),a(s,p),v(i.SUCCEEDED))},x=function(){var r=t(s.mark((function t(r,i){return s.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,j.loadExternalOffsets();case 3:return t.prev=3,I(r,i),t.finish(3);case 6:case"end":return t.stop()}}),t,null,[[0,,3,6]])})));return function(t,s){return r.apply(this,arguments)}}(),R=function(t,s){t===c&&(g(),y(s||"Re-sync wells from IDAS failed"))},D=function(){var i=t(s.mark((function t(i){var e,n;return s.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(null!=(e=j.currentUser)&&e.id){t.next=4;break}return R(i,void 0),t.abrupt("return");case 4:return t.prev=4,t.next=7,r(e,i);case 7:"failed"===(null==(n=t.sent)?void 0:n.state)&&R(i,n.fail_reason),t.next=14;break;case 11:t.prev=11,t.t0=t.catch(4),R(i,t.t0 instanceof Error?t.t0.message:void 0);case 14:case"end":return t.stop()}}),t,null,[[4,11]])})));return function(t){return i.apply(this,arguments)}}(),S=function(){var t=j,s=t.assetId,r=t.currentUser;if(s&&null!=r&&r.id&&null===c){var o=s;c=o;var a=e(o);f=n(a,(function(t){return function(t,s){d&&t===c&&(h(),"success"===(null==s?void 0:s.status)?x(t,s.message):(b(),y((null==s?void 0:s.message)||"Re-sync wells from IDAS failed")))}(o,t)})),v(i.RUNNING),D(o)}};return{activate:function(){d=!0,m.setState({triggerResync:S})},deactivate:function(){d=!1,g(),m.setState({triggerResync:l})},update:function(t){null!==c&&t.assetId!==c&&m.getState().isResyncInFlight&&(g(),v(i.INITIAL)),j=t}}};export{m as createIdasResyncController};
|
|
2
2
|
//# sourceMappingURL=createIdasResyncController.js.map
|
package/components/OffsetWellPickerV5/stores/idas-resync-store/createIdasResyncController.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createIdasResyncController.js","sources":["../../../../../src/components/OffsetWellPickerV5/stores/idas-resync-store/createIdasResyncController.ts"],"sourcesContent":["import { resyncIdasWells } from '../../api';\nimport type { PickerPropsStore } from '../picker-props-store';\n\nimport type { IdasResyncStoreApi } from './createIdasResyncStore';\nimport {\n IdasResyncStatus,\n type IdasResyncStatusValue,\n type IdasSubscriptionPayload,\n} from './idas-resync.types';\nimport { getIdasResyncChannel } from './idasResyncChannel';\nimport { subscribeToIdasResync } from './subscribeToIdasResync';\n\nimport { showErrorNotification, showSuccessNotification } from '~/utils';\n\ntype ControllerUser = PickerPropsStore['currentUser'];\n\nexport type IdasResyncControllerInputs = {\n assetId: number | null;\n currentUser: ControllerUser;\n loadExternalOffsets: () => Promise<void>;\n};\n\nexport type IdasResyncController = {\n activate: () => void;\n deactivate: () => void;\n update: (inputs: IdasResyncControllerInputs) => void;\n};\n\nconst RESYNC_FAILED_FALLBACK = 'Re-sync wells from IDAS failed';\n\nconst TOAST_OPTIONS = { multiline: true, autoHideDuration: 10_000 };\n\nconst noop = (): void => undefined;\n\nconst isInFlightStatus = (status: IdasResyncStatusValue): boolean =>\n status === IdasResyncStatus.TRIGGERED || status === IdasResyncStatus.RUNNING;\n\n/**\n * Drives the IDAS re-sync state machine for a subject asset and writes its\n * state into `IdasResyncStore`. Consumers (e.g. `HeaderActions`,\n * `PickerModalActions`, `OffsetWellPickerV5`) subscribe via\n * `useIdasResyncStore` instead of having props drilled through the tree.\n *\n * Flow: subscribe → POST task → resolve via subscription event\n * ({ status, message }). The task-app response is used only for dual-track\n * failure detection (state === 'failed'); the underlying app's outcome is\n * carried by the subscription message.\n *\n * The socket is wired manually via `subscribeToIdasResync` rather than\n * `useSubscriptionsV2` because we want no historical fetch and explicit\n * single-shot teardown. See `subscribeToIdasResync.ts` for the rationale.\n *\n * We do NOT gate the POST on a socket ack: the upstream `_emit`\n * mis-routes the ack callback so it would never fire. The theoretical\n * race window (local listener attached but channel not yet registered\n * server-side) is dwarfed by worker latency.\n *\n * KNOWN LIMITATION: the subscription payload has no correlation/request id,\n * so a delayed event from a previous same-asset run — or another user's\n * same-asset run — could resolve the current run with the wrong outcome.\n * Tracked separately; backend needs to attach a request_id to the payload.\n *\n * Construction is side-effect-free. `activate()` installs `triggerResync`\n * into the store and arms the controller; `deactivate()` aborts any in-flight\n * resync and resets the store's `triggerResync` back to a noop. The pair is\n * idempotent so it survives React 18 StrictMode setup→cleanup→setup replay.\n */\nexport const createIdasResyncController = (storeApi: IdasResyncStoreApi): IdasResyncController => {\n let triggeredAssetId: number | null = null;\n let unsubscribe: (() => void) | null = null;\n let mounted = false;\n let inputs: IdasResyncControllerInputs = {\n assetId: null,\n currentUser: undefined,\n loadExternalOffsets: async () => undefined,\n };\n\n const setStatus = (next: IdasResyncStatusValue): void => {\n storeApi.setState({ status: next, isResyncInFlight: isInFlightStatus(next) });\n };\n\n const stopSubscription = (): void => {\n unsubscribe?.();\n unsubscribe = null;\n };\n\n const clearActive = (): void => {\n triggeredAssetId = null;\n };\n\n const abort = (): void => {\n stopSubscription();\n clearActive();\n };\n\n const showError = (message: string): void => {\n if (!mounted) {\n return;\n }\n\n showErrorNotification(message, TOAST_OPTIONS);\n setStatus(IdasResyncStatus.FAILED);\n };\n\n const finalizeSuccessIfCurrent = (capturedAssetId: number, message: string): void => {\n if (!mounted) {\n return;\n }\n\n if (capturedAssetId !== triggeredAssetId) {\n return;\n }\n\n clearActive();\n showSuccessNotification(message, TOAST_OPTIONS);\n setStatus(IdasResyncStatus.SUCCEEDED);\n };\n\n const finishSuccess = async (capturedAssetId: number, message: string): Promise<void> => {\n try {\n await inputs.loadExternalOffsets();\n } finally {\n finalizeSuccessIfCurrent(capturedAssetId, message);\n }\n };\n\n const handleSubscriptionMessage = (\n capturedAssetId: number,\n payload: IdasSubscriptionPayload\n ): void => {\n if (!mounted) {\n return;\n }\n\n if (capturedAssetId !== triggeredAssetId) {\n return;\n }\n\n stopSubscription();\n\n if (payload?.status === 'success') {\n finishSuccess(capturedAssetId, payload.message);\n } else {\n clearActive();\n showError(payload?.message || RESYNC_FAILED_FALLBACK);\n }\n };\n\n const handleTaskAppFailure = (capturedAssetId: number, reason: string | undefined): void => {\n if (capturedAssetId !== triggeredAssetId) {\n return;\n }\n\n abort();\n showError(reason || RESYNC_FAILED_FALLBACK);\n };\n\n const postResyncTask = async (capturedAssetId: number): Promise<void> => {\n const user = inputs.currentUser;\n\n if (!user?.id) {\n handleTaskAppFailure(capturedAssetId, undefined);\n return;\n }\n\n try {\n const response = await resyncIdasWells(user, capturedAssetId);\n\n if (response?.state === 'failed') {\n handleTaskAppFailure(capturedAssetId, response.fail_reason);\n }\n } catch (err) {\n handleTaskAppFailure(capturedAssetId, err instanceof Error ? err.message : undefined);\n }\n };\n\n const triggerResync = (): void => {\n const { assetId, currentUser } = inputs;\n\n if (!assetId || !currentUser?.id) {\n return;\n }\n\n // Ref-based in-flight guard so two synchronous calls (e.g. double-click\n // before React commits state) collapse to one subscribe.\n if (triggeredAssetId !== null) {\n return;\n }\n\n const capturedAssetId = assetId;\n triggeredAssetId = capturedAssetId;\n\n const channel = getIdasResyncChannel(capturedAssetId);\n\n unsubscribe = subscribeToIdasResync(channel, payload =>\n handleSubscriptionMessage(capturedAssetId, payload)\n );\n\n // We deliberately skip socket-ack gating and fire the POST immediately:\n // the upstream `SubscriptionsClientV2._emit` mis-uses `emitWithAck`, so\n // any ack we register never fires. Worker latency dwarfs the\n // listener-vs-channel-registration window, so the race is harmless in\n // practice.\n setStatus(IdasResyncStatus.RUNNING);\n postResyncTask(capturedAssetId);\n };\n\n return {\n activate: () => {\n mounted = true;\n storeApi.setState({ triggerResync });\n },\n deactivate: () => {\n mounted = false;\n abort();\n storeApi.setState({ triggerResync: noop });\n },\n update: next => {\n if (\n triggeredAssetId !== null &&\n next.assetId !== triggeredAssetId &&\n storeApi.getState().isResyncInFlight\n ) {\n abort();\n setStatus(IdasResyncStatus.INITIAL);\n }\n inputs = next;\n },\n };\n};\n"],"names":["TOAST_OPTIONS","multiline","autoHideDuration","noop","createIdasResyncController","storeApi","_loadExternalOffsets","triggeredAssetId","unsubscribe","mounted","inputs","assetId","currentUser","undefined","loadExternalOffsets","_asyncToGenerator","_regeneratorRuntime","mark","_callee","wrap","_context","prev","next","abrupt","stop","apply","this","arguments","setStatus","status","setState","isResyncInFlight","IdasResyncStatus","TRIGGERED","RUNNING","stopSubscription","_unsubscribe","clearActive","abort","showError","message","showErrorNotification","FAILED","finalizeSuccessIfCurrent","capturedAssetId","showSuccessNotification","SUCCEEDED","finishSuccess","_ref","_callee2","_context2","finish","_x","_x2","handleTaskAppFailure","reason","postResyncTask","_ref2","user","response","_context3","id","resyncIdasWells","sent","state","fail_reason","t0","Error","_callee3","_x3","triggerResync","_inputs","channel","getIdasResyncChannel","subscribeToIdasResync","payload","handleSubscriptionMessage","activate","deactivate","update","getState","INITIAL"],"mappings":"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"}
|
|
1
|
+
{"version":3,"file":"createIdasResyncController.js","sources":["../../../../../src/components/OffsetWellPickerV5/stores/idas-resync-store/createIdasResyncController.ts"],"sourcesContent":["import { resyncIdasWells } from '../../api';\nimport type { PickerPropsStore } from '../picker-props-store';\n\nimport type { IdasResyncStoreApi } from './createIdasResyncStore';\nimport {\n IdasResyncStatus,\n type IdasResyncStatusValue,\n type IdasSubscriptionPayload,\n} from './idas-resync.types';\nimport { getIdasResyncChannel } from './idasResyncChannel';\nimport { subscribeToIdasResync } from './subscribeToIdasResync';\n\nimport { showErrorNotification, showSuccessNotification } from '~/utils';\n\ntype ControllerUser = PickerPropsStore['currentUser'];\n\nexport type IdasResyncControllerInputs = {\n assetId: number | null;\n currentUser: ControllerUser;\n loadExternalOffsets: () => Promise<void>;\n};\n\nexport type IdasResyncController = {\n activate: () => void;\n deactivate: () => void;\n update: (inputs: IdasResyncControllerInputs) => void;\n};\n\nconst RESYNC_FAILED_FALLBACK = 'Re-sync wells from IDAS failed';\n\nconst TOAST_OPTIONS = { multiline: true, autoHideDuration: 10_000 };\n\nconst noop = (): void => undefined;\n\nconst isInFlightStatus = (status: IdasResyncStatusValue): boolean =>\n status === IdasResyncStatus.TRIGGERED || status === IdasResyncStatus.RUNNING;\n\n/**\n * Drives the IDAS re-sync state machine for a subject asset and writes its\n * state into `IdasResyncStore`. Consumers (e.g. `HeaderActions`,\n * `PickerModalActions`, `OffsetWellPickerV5`) subscribe via\n * `useIdasResyncStore` instead of having props drilled through the tree.\n *\n * Flow: subscribe → POST task → resolve via subscription event\n * ({ status, message }). The task-app response is used only for dual-track\n * failure detection (state === 'failed'); the underlying app's outcome is\n * carried by the subscription message.\n *\n * The socket is wired manually via `subscribeToIdasResync` rather than\n * `useSubscriptionsV2` because we want no historical fetch and explicit\n * single-shot teardown. See `subscribeToIdasResync.ts` for the rationale.\n *\n * We do NOT gate the POST on a socket ack: the upstream `_emit`\n * mis-routes the ack callback so it would never fire. The theoretical\n * race window (local listener attached but channel not yet registered\n * server-side) is dwarfed by worker latency.\n *\n * KNOWN LIMITATION: the subscription payload has no correlation/request id,\n * so a delayed event from a previous same-asset run — or another user's\n * same-asset run — could resolve the current run with the wrong outcome.\n * Tracked separately; backend needs to attach a request_id to the payload.\n *\n * Construction is side-effect-free. `activate()` installs `triggerResync`\n * into the store and arms the controller; `deactivate()` aborts any in-flight\n * resync and resets the store's `triggerResync` back to a noop. The pair is\n * idempotent so it survives React 18 StrictMode setup→cleanup→setup replay.\n */\nexport const createIdasResyncController = (storeApi: IdasResyncStoreApi): IdasResyncController => {\n let triggeredAssetId: number | null = null;\n let unsubscribe: (() => void) | null = null;\n let mounted = false;\n let inputs: IdasResyncControllerInputs = {\n assetId: null,\n currentUser: undefined,\n loadExternalOffsets: async () => undefined,\n };\n\n const setStatus = (next: IdasResyncStatusValue): void => {\n storeApi.setState({ status: next, isResyncInFlight: isInFlightStatus(next) });\n };\n\n const stopSubscription = (): void => {\n unsubscribe?.();\n unsubscribe = null;\n };\n\n const clearActive = (): void => {\n triggeredAssetId = null;\n };\n\n const abort = (): void => {\n stopSubscription();\n clearActive();\n };\n\n const showError = (message: string): void => {\n if (!mounted) {\n return;\n }\n\n showErrorNotification(message, TOAST_OPTIONS);\n setStatus(IdasResyncStatus.FAILED);\n };\n\n const finalizeSuccessIfCurrent = (capturedAssetId: number, message: string): void => {\n if (!mounted) {\n return;\n }\n\n if (capturedAssetId !== triggeredAssetId) {\n return;\n }\n\n clearActive();\n showSuccessNotification(message, TOAST_OPTIONS);\n setStatus(IdasResyncStatus.SUCCEEDED);\n };\n\n const finishSuccess = async (capturedAssetId: number, message: string): Promise<void> => {\n try {\n await inputs.loadExternalOffsets();\n } finally {\n finalizeSuccessIfCurrent(capturedAssetId, message);\n }\n };\n\n const handleSubscriptionMessage = (\n capturedAssetId: number,\n payload: IdasSubscriptionPayload\n ): void => {\n if (!mounted) {\n return;\n }\n\n if (capturedAssetId !== triggeredAssetId) {\n return;\n }\n\n stopSubscription();\n\n if (payload?.status === 'success') {\n finishSuccess(capturedAssetId, payload.message);\n } else {\n clearActive();\n showError(payload?.message || RESYNC_FAILED_FALLBACK);\n }\n };\n\n const handleTaskAppFailure = (capturedAssetId: number, reason: string | undefined): void => {\n if (capturedAssetId !== triggeredAssetId) {\n return;\n }\n\n abort();\n showError(reason || RESYNC_FAILED_FALLBACK);\n };\n\n const postResyncTask = async (capturedAssetId: number): Promise<void> => {\n const user = inputs.currentUser;\n\n if (!user?.id) {\n handleTaskAppFailure(capturedAssetId, undefined);\n return;\n }\n\n try {\n const response = await resyncIdasWells(user, capturedAssetId);\n\n if (response?.state === 'failed') {\n handleTaskAppFailure(capturedAssetId, response.fail_reason);\n }\n } catch (err) {\n handleTaskAppFailure(capturedAssetId, err instanceof Error ? err.message : undefined);\n }\n };\n\n const triggerResync = (): void => {\n const { assetId, currentUser } = inputs;\n\n if (!assetId || !currentUser?.id) {\n return;\n }\n\n // Ref-based in-flight guard so two synchronous calls (e.g. double-click\n // before React commits state) collapse to one subscribe.\n if (triggeredAssetId !== null) {\n return;\n }\n\n const capturedAssetId = assetId;\n triggeredAssetId = capturedAssetId;\n\n const channel = getIdasResyncChannel(capturedAssetId);\n\n unsubscribe = subscribeToIdasResync(channel, payload =>\n handleSubscriptionMessage(capturedAssetId, payload)\n );\n\n // We deliberately skip socket-ack gating and fire the POST immediately:\n // the upstream `SubscriptionsClientV2._emit` mis-uses `emitWithAck`, so\n // any ack we register never fires. Worker latency dwarfs the\n // listener-vs-channel-registration window, so the race is harmless in\n // practice.\n setStatus(IdasResyncStatus.RUNNING);\n postResyncTask(capturedAssetId);\n };\n\n return {\n activate: () => {\n mounted = true;\n storeApi.setState({ triggerResync });\n },\n deactivate: () => {\n mounted = false;\n abort();\n storeApi.setState({ triggerResync: noop });\n },\n update: next => {\n if (\n triggeredAssetId !== null &&\n next.assetId !== triggeredAssetId &&\n storeApi.getState().isResyncInFlight\n ) {\n abort();\n setStatus(IdasResyncStatus.INITIAL);\n }\n inputs = next;\n },\n };\n};\n"],"names":["TOAST_OPTIONS","multiline","autoHideDuration","noop","createIdasResyncController","storeApi","_loadExternalOffsets","triggeredAssetId","unsubscribe","mounted","inputs","assetId","currentUser","undefined","loadExternalOffsets","_asyncToGenerator","_regeneratorRuntime","mark","_callee","wrap","_context","prev","next","abrupt","stop","apply","this","arguments","setStatus","status","setState","isResyncInFlight","IdasResyncStatus","TRIGGERED","RUNNING","stopSubscription","_unsubscribe","clearActive","abort","showError","message","showErrorNotification","FAILED","finalizeSuccessIfCurrent","capturedAssetId","showSuccessNotification","SUCCEEDED","finishSuccess","_ref","_callee2","_context2","finish","_x","_x2","handleTaskAppFailure","reason","postResyncTask","_ref2","user","response","_context3","id","resyncIdasWells","sent","state","fail_reason","t0","Error","_callee3","_x3","triggerResync","_inputs","channel","getIdasResyncChannel","subscribeToIdasResync","payload","handleSubscriptionMessage","activate","deactivate","update","getState","INITIAL"],"mappings":"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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getCoordinatedWells.d.ts","sourceRoot":"","sources":["../../../../src/components/OffsetWellPickerV5/utils/getCoordinatedWells.ts"],"names":[],"mappings":"AAKA,KAAK,eAAe,GAAG;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AA8BF,eAAO,MAAM,mBAAmB,YACrB,MAAM,EAAE,iBACF,MAAM,KACpB,OAAO,CAAC,eAAe,EAAE,
|
|
1
|
+
{"version":3,"file":"getCoordinatedWells.d.ts","sourceRoot":"","sources":["../../../../src/components/OffsetWellPickerV5/utils/getCoordinatedWells.ts"],"names":[],"mappings":"AAKA,KAAK,eAAe,GAAG;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AA8BF,eAAO,MAAM,mBAAmB,YACrB,MAAM,EAAE,iBACF,MAAM,KACpB,OAAO,CAAC,eAAe,EAAE,CAwB3B,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import t from"@babel/runtime/helpers/defineProperty";import r from"@babel/runtime/helpers/asyncToGenerator";import e from"@babel/runtime/regenerator";import{sortBy as s,get as n}from"lodash";import{getAssets as o}from"../../../clients/jsonApi/index.js";import"../../UserMention/utils/index.js";import"../../../utils/convert.js";import"../../../constants/completion.js";import"moment";import"../../../constants/alerts.js";import"../../../utils/casing/validation.js";import"@babel/runtime/helpers/slicedToArray";import"lodash/mean";import"../../../constants/streamSourceType.js";import"lodash/get";import"file-saver";import"query-string";import"../../../constants/goals.js";import"../../../constants/segment.js";import"../../../constants/apps.js";import"../../../constants/drillstring.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"../../../utils/drillstring/conversion.js";import"lodash/set";import"lodash/cloneDeep";import"@babel/runtime/helpers/toConsumableArray";import"lodash/isNumber";import"lodash/has";import"../../../utils/ga.js";import"../../../utils/goalsConfig/goalsConfig.js";import"../../../utils/lasParser.js";import"../../../utils/main.js";import{getDistanceByCoordinates as i,getAssetV2Coordinates as a}from"../../../utils/mapbox.js";import"../../../utils/metrics/metricsConfig.js";import"../../../utils/mobileDetect.js";import"../../../utils/feed.js";import"../../../utils/reports.js";import"moment-timezone";import"@babel/runtime/helpers/typeof";import"../../../utils/dashboardReports.js";import"../../../utils/env.js";import"file-extension";import"image-extensions";import"video-extensions";import"../../../utils/jsonaDataFormatter.js";import"../../../utils/bha.js";import"jsona";import"@babel/runtime/helpers/objectWithoutProperties";import"classnames";import"../../../utils/charts/Styles.scss.js";import"../../../utils/getSingleAsset.js";function p(t,r){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);r&&(s=s.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),e.push.apply(e,s)}return e}function m(r){for(var e=1;e<arguments.length;e++){var s=null!=arguments[e]?arguments[e]:{};e%2?p(Object(s),!0).forEach((function(e){t(r,e,s[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(s)):p(Object(s)).forEach((function(t){Object.defineProperty(r,t,Object.getOwnPropertyDescriptor(s,t))}))}return r}var u=function(){var t=r(e.mark((function t(r){var s;return e.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(s=null,null==r||!r.length){t.next=11;break}return t.prev=2,t.next=5,o({ids:r,fields:["asset.name","asset.top_hole","asset.settings"]});case 5:s=t.sent,t.next=11;break;case 8:t.prev=8,t.t0=t.catch(2),console.error(t.t0);case 11:return t.abrupt("return",s?s.data.map((function(t){var r;return{id:Number(t.id),name:n(t,"attributes.name"),topHole:null!==(r=n(t,"attributes.top_hole"))&&void 0!==r?r:n(t,"attributes.settings.top_hole")}})):[]);case 12:case"end":return t.stop()}}),t,null,[[2,8]])})));return function(r){return t.apply(this,arguments)}}(),c=function(){var t=r(e.mark((function t(n,o){var p,c,l,b;return e.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,u(n);case 2:if(p=t.sent,c=p.find((function(t){return t.id===o})),l=c&&a(c,"topHole")){t.next=7;break}return t.abrupt("return",p);case 7:return t.next=9,Promise.all(p.map(function(){var t=r(e.mark((function t(r){var s,n;return e.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,a(r,"topHole");case 3:if(!(s=t.sent)){t.next=9;break}return n=i(l,s),t.abrupt("return",m(m({},r),{},{distance:parseFloat(n.toFixed(2))}));case 9:return t.abrupt("return",r);case 10:t.next=15;break;case 12:return t.prev=12,t.t0=t.catch(0),t.abrupt("return",r);case 15:case"end":return t.stop()}}),t,null,[[0,12]])})));return function(r){return t.apply(this,arguments)}}()));case 9:return b=t.sent,t.abrupt("return",s(b,"distance"));case 11:case"end":return t.stop()}}),t)})));return function(r,e){return t.apply(this,arguments)}}();export{c as getCoordinatedWells};
|
|
2
2
|
//# sourceMappingURL=getCoordinatedWells.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getCoordinatedWells.js","sources":["../../../../src/components/OffsetWellPickerV5/utils/getCoordinatedWells.ts"],"sourcesContent":["import { get, sortBy } from 'lodash';\n\nimport { getAssets } from '~/clients/jsonApi';\nimport { mapbox } from '~/utils';\n\ntype CoordinatedWell = {\n id: number;\n name: string;\n topHole: unknown;\n distance?: number;\n};\n\ntype AssetResponseItem = {\n id: string | number;\n attributes?: Record<string, unknown>;\n};\n\nconst getWells = async (wellIds: number[]): Promise<CoordinatedWell[]> => {\n let response: { data: AssetResponseItem[] } | null = null;\n\n if (wellIds?.length) {\n try {\n response = await getAssets({\n ids: wellIds,\n fields: ['asset.name', 'asset.top_hole', 'asset.settings'],\n });\n } catch (e) {\n console.error(e);\n }\n }\n\n return response\n ? response.data.map((item: AssetResponseItem) => ({\n id: Number(item.id),\n name: get(item, 'attributes.name') as string,\n topHole: get(item, 'attributes.top_hole') ?? get(item, 'attributes.settings.top_hole'),\n }))\n : [];\n};\n\nexport const getCoordinatedWells = async (\n wellIds: number[],\n subjectWellId: number\n): Promise<CoordinatedWell[]> => {\n const wells = await getWells(wellIds);\n const subjectWell = wells.find(well => well.id === subjectWellId);\n const subjectWellCoord = subjectWell && mapbox.getAssetV2Coordinates(subjectWell, 'topHole');\n if (!subjectWellCoord) {\n return wells;\n }\n\n const coordinatedWells = await Promise.all(\n wells.map(async well => {\n try {\n const coord = await mapbox.getAssetV2Coordinates(well, 'topHole');\n if (coord) {\n const distance =
|
|
1
|
+
{"version":3,"file":"getCoordinatedWells.js","sources":["../../../../src/components/OffsetWellPickerV5/utils/getCoordinatedWells.ts"],"sourcesContent":["import { get, sortBy } from 'lodash';\n\nimport { getAssets } from '~/clients/jsonApi';\nimport { mapbox } from '~/utils';\n\ntype CoordinatedWell = {\n id: number;\n name: string;\n topHole: unknown;\n distance?: number;\n};\n\ntype AssetResponseItem = {\n id: string | number;\n attributes?: Record<string, unknown>;\n};\n\nconst getWells = async (wellIds: number[]): Promise<CoordinatedWell[]> => {\n let response: { data: AssetResponseItem[] } | null = null;\n\n if (wellIds?.length) {\n try {\n response = await getAssets({\n ids: wellIds,\n fields: ['asset.name', 'asset.top_hole', 'asset.settings'],\n });\n } catch (e) {\n console.error(e);\n }\n }\n\n return response\n ? response.data.map((item: AssetResponseItem) => ({\n id: Number(item.id),\n name: get(item, 'attributes.name') as string,\n topHole: get(item, 'attributes.top_hole') ?? get(item, 'attributes.settings.top_hole'),\n }))\n : [];\n};\n\nexport const getCoordinatedWells = async (\n wellIds: number[],\n subjectWellId: number\n): Promise<CoordinatedWell[]> => {\n const wells = await getWells(wellIds);\n const subjectWell = wells.find(well => well.id === subjectWellId);\n const subjectWellCoord = subjectWell && mapbox.getAssetV2Coordinates(subjectWell, 'topHole');\n if (!subjectWellCoord) {\n return wells;\n }\n\n const coordinatedWells = await Promise.all(\n wells.map(async well => {\n try {\n const coord = await mapbox.getAssetV2Coordinates(well, 'topHole');\n if (coord) {\n const distance = mapbox.getDistanceByCoordinates(subjectWellCoord, coord);\n return { ...well, distance: parseFloat(distance.toFixed(2)) };\n } else {\n return well;\n }\n } catch {\n return well;\n }\n })\n );\n return sortBy(coordinatedWells, 'distance');\n};\n"],"names":["getWells","_ref","_asyncToGenerator","_regeneratorRuntime","mark","wellIds","response","wrap","_context","prev","next","length","getAssets","ids","fields","sent","t0","console","error","data","map","item","_get","id","Number","name","get","topHole","stop","_callee","_x","apply","this","arguments","getCoordinatedWells","_ref2","_callee3","subjectWellId","wells","subjectWell","subjectWellCoord","coordinatedWells","_context3","find","well","mapbox","abrupt","Promise","all","_ref3","coord","distance","_context2","_objectSpread","parseFloat","toFixed","_callee2","_x4","sortBy","_x2","_x3"],"mappings":"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"}
|
|
@@ -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 i,useEffect as n}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 I}from"lodash";import{makeStyles as A,Dialog as S,DialogTitle as g,DialogContent as V,Grid as h,FormControl as T,InputLabel as v,Select as D,MenuItem as F,Checkbox as f,ListItemText as b,Typography as P,FormLabel as x,RadioGroup as y,FormControlLabel as E,Radio as L,DialogActions as B,Button as k}from"@material-ui/core";import{getAppStorage as O}from"../../clients/jsonApi/index.js";import"../DevCenter/DevCenterAppContainer/components/IsInsideIsolatedDcAppProvider.js";import"../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js";import"../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js";import"@babel/runtime/helpers/objectWithoutProperties";import"classnames";import"../Modal/CorvaModal.scss.js";import"@icon-park/react/es/all";import{jsxs as w,Fragment as H,jsx as M}from"react/jsx-runtime";import"../../icons/IconParkProvider.js";import"../../icons/customIcons/icons/AddMessage.js";import"../../icons/customIcons/icons/DragOne.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/InfoRounded.js";import"../../icons/customIcons/icons/FlameFilled.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/PinOne.js";import"../../icons/customIcons/icons/PinOneCrossed.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"../../icons/customIcons/icons/GuidedFrac.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"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"../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"@material-ui/icons";import"../EmptyState/EmptyState.js";import"../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/RemoveAppButton.js";import"../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/SettingsAccordion.js";import"../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/styles.js";import"@material-ui/pickers";import"@date-io/moment";import"moment";import"../../config/theme/index.js";import"../../hocs/withAssetEditorLockHOC.js";import"../ErrorBoundary/ErrorBoundary.js";import"../ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.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"../AssetEditorV2/index.js";import"../AppVersionsSelect/AppVersionsSelect.js";import"../DisabledSettingsMessage/DisabledSettingsMessage.js";import"../ConfirmationDialog.js";import"immutable";import"../../permissions/PermissionsContext.js";import"../../permissions/constants/index.js";import"../../permissions/withPermissionsHOC.js";import"../../permissions/ProvidePermissions.js";import"../../componentsV2/AppHeader/V3/VersionSelect/VersionSelect.constants.js";import"../Annotations/components/AnnotationsList/index.js";import"../Annotations/components/LastAnnotation/index.js";import"../Annotations/AnnotationsContext.js";import"../../componentsV2/AppContainer/AppContainer.js";import"../../componentsV2/AppContainer/AppContainer.constants.js";import"../../componentsV2/Text/Text.js";import"../../componentsV2/Header/Header.scss.js";import"../../componentsV2/Tooltip/Tooltip.scss.js";import"../../componentsV2/TextEndTruncated/TextEndTruncated.scss.js";import"../../componentsV2/AppCommonsProvider/AppCommonsContext.js";import"../../componentsV2/AppHeader/AppHeader.constants.js";import"../../componentsV2/AppHeader/AppBadge/AppBadge.scss.js";import"../../componentsV2/Chip/Chip.js";import"../../componentsV2/TextMiddleTruncated/TextMiddleTruncated.constants.js";import"../../componentsV2/TextMiddleTruncated/TextMiddleTruncated.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/utils.js";import"../../componentsV2/AppHeader/V3/VersionSelect/VersionSelect.js";import"../../componentsV2/UniversalLink/UniversalLink.scss.js";import"../../componentsV2/AppHeader/V3/AssetChips/AssetChips.scss.js";import"../../componentsV2/Button/Button.js";import"../../componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.js";import"../../componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.constants.js";import"../../componentsV2/Popover/Popover.js";import"@babel/runtime/helpers/toConsumableArray";import"../../componentsV2/Accordion/Accordion.scss.js";import"../../componentsV2/ButtonIcon/ButtonIcon.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"../../componentsV2/Menu/Menu.js";import"../../componentsV2/ModalWindow/ModalWindow.js";import"../../componentsV2/Modal/Modal.scss.js";import"../../componentsV2/LoaderLogo/LoaderLogo.constants.js";import"../../componentsV2/LoaderLogo/LoaderLogo.scss.js";import"../../utils/getSingleAsset.js";import"../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorChip/AssetSelectorChip.js";import"../../componentsV2/TextInput/TextInput.js";import"../../componentsV2/AppHeader/V3/AssetSelector/constants.js";import"../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/AssetSelectorSelect.scss.js";import"../../componentsV2/ChipIndicator/ChipIndicator.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"../../clients/api/rateLimiter.js";import"lodash/isEmpty";import"lodash/sortBy";import"../DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchContext.js";import"../../componentsV2/AppPanel/AppPanelsContext.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.constants.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/EmptyState/EmptyState.scss.js";import"../DevCenter/DevCenterAppContainer/components/DevCenterAppView/components/ChooseAssetButton.js";import"../DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.scss.js";import"../DevCenter/DevCenterAppContainer/components/AppActions/AppActions.css.js";import"../DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.scss.js";import"../../componentsV2/Grid/Grid.js";import"../../componentsV2/Grid/Cell.js";import"../../componentsV2/PopoverPanel/PopoverPanel.js";import"../../componentsV2/Radio/Radio.js";import"../../componentsV2/RadioAndCheckboxGroup/RadioAndCheckboxGroup.scss.js";import"../../componentsV2/Checkbox/Checkbox.js";import"../../componentsV2/TextInputNext/TextInputNext.js";import"../../componentsV2/TextArea/TextArea.js";import"../../componentsV2/Label/Label.js";import"../../componentsV2/TextLink/TextLink.js";import"../../componentsV2/ChipAlert/ChipAlert.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/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"../../componentsV2/BadgeDot/BadgeDot.scss.js";import"../../componentsV2/LoaderLinear/LoaderLinear.scss.js";import"../../componentsV2/Switch/Switch.js";import"../../componentsV2/Tabs/Tabs.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"file-extension";import"image-extensions";import"video-extensions";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/Breadcrumbs/Breadcrumbs.scss.js";import"../../componentsV2/BadgeComment/BadgeComment.js";import"../../componentsV2/AppFooter/AppFooter.js";import"../../componentsV2/OffsetWellsButton/OffsetWellsButton.js";import"../../componentsV2/ChartAxisExtreme/ChartAxisExtreme.scss.js";import"highcharts";import"../../componentsV2/ChartAxisExtreme/ChartAxisExtremeDragTracker.js";import"../../componentsV2/Autocomplete/Autocomplete.js";import"../../componentsV2/Select/Select.js";import"../../componentsV2/AppPanel/AppPanel.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"../../componentsV2/SliderAdvanced/SliderAdvanced.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"../../componentsV2/ChartHelper/ChartHelper.scss.js";import"../../componentsV2/Hotkey/Hotkey.js";import"@tanstack/react-query";import"../../componentsV2/InterventionEventSelector/useInterventionUnitEvents.js";import"../../componentsV2/InterventionEventSelector/InterventionEventSelector.scss.js";import"../DevCenter/DevCenterAppContainer/components/FullscreenButton/FullscreenButton.css.js";import"../Icons/AnnotationIcon.js";import"../HelpCenter/HelpCenterIcon.js";import"../DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/RestoreAppSizeButton.css.js";import"../DevCenter/DevCenterAppContainer/DevCenterAppContainer.scss.js";import"../Toaster/Toaster.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"../LoadingIndicator/LoadingIndicator.js";import"../Typography.js";import"../RealTimeValuesSidebar/RealTimeSidebar.js";import"../CollapsableSidebar.js";import"../DateTimePicker/index.js";import"../DatePicker/index.js";import"../SlateFormattedText/SlateFormattedText.js";import"../SlateFormattedText/RenderElements.js";import"slate";import"../ParameterCharts/ParameterCharts.js";import"../ParameterCharts/AddEditTrack.js";import"../ChartActionsList/ChartActionsList.js";import"../CopyToClipboard/CopyToClipboard.js";import"../AssetEditor/AssetEditorAutocomplete.js";import"../AssetEditor/SingleAssetEditor.js";import"../SettingEditors/ColorEditor/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/ChartWrapperContext.js";import"../Chart/effects/useChartModifier.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"../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"../GradientManager/GradientPreview/GradientPreview.js";import"../GradientManager/GradientSelect.scss.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"../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"mapbox-gl/dist/mapbox-gl.css";import"@material-ui/icons/Info";import"@material-ui/icons/Block";import"../OffsetWellMap/WellTooltip.module.css.js";import"../OffsetWellMap/OffsetWellMap.module.css.js";import"../../config/mapboxGl/index.js";import"../../config/mapbox/index.js";import"react-dom";import"@material-ui/core/Snackbar";import"../Notifications/Toast.js";import"../Notifications/Notifications.scss.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";import"../CommentCard/CommentCard.js";import"@material-ui/icons/AlternateEmail";import"../AttachFileButton/AttachFileButton.scss.js";import"../CommentInputNext/CommentInputNext.js";import"../UserMention/utils/index.js";import"react-s3-uploader/s3upload";import"../CommentComposer/CommentMetaLine.scss.js";import"../CommentComposer/ChatChannelSelector.scss.js";import"../CommentComposer/ShareToChatRow.scss.js";import"../CommentComposer/CommentComposer.scss.js";import"../AttachmentPreview/AttachmentPreview.js";import"../AttachmentPreview/AttachmentImage.js";import"../AttachmentPreview/AttachmentPreview.scss.js";import"../CommentPin/CommentPin.js";import"../FeedCard/FeedCard.js";import"../FeedItemCard/FeedItemCard.js";import"../NewCommentCursor/NewCommentCursor.js";import"../LinkedText/LinkedText.js";import"../FeedItem/feedItemTypes/AlertFeedItem.js";import"../FeedItem/feedItemTypes/PostFeedItem.js";import"../FeedItem/feedItemTypes/GeosteeringFeedItem.js";import"../FeedItem/feedItemTypes/DrillingOperationalNoteFeedItem.js";import"../FeedItem/feedItemTypes/DrillingOperationSummaryFeedItem.js";import"../FeedItem/feedItemTypes/DrillingDailyCostFeedItem.js";import"../FeedItem/feedItemTypes/DocumentFeedItem.js";import"../FeedItem/feedItemTypes/DrillerMemoFeedItem.js";import"../FeedItem/feedItemTypes/NptFeedItem.js";import"../FeedItem/feedItemTypes/SurveyStationFeedItem/index.js";import"../FeedItem/feedItemTypes/LessonsLearnedFeedItem/index.js";import"../FeedItem/feedItemTypes/TracesMemoFeedItem.js";import"../FeedItem/feedItemTypes/DepthCommentFeedItem.js";import"../FeedItem/feedItemTypes/CompletionOperationalNoteFeedItem.js";import"../FeedItem/feedItemTypes/CompletionOperationSummaryFeedItem.js";import"../FeedItem/feedItemTypes/CompletionDailyCostFeedItem.js";import"../FeedItem/feedItemTypes/CompletionDocumentFeedItem.js";import"../FeedItem/feedItemTypes/CompletionNptFeedItem.js";import"../FeedItem/feedItemTypes/StageOverviewFeedItem/index.js";import"../FeedItem/feedItemTypes/AppAnnotationFeedItem/index.js";import"../FeedItem/feedItemTypes/WellPlanFeedItem/index.js";import"../FeedItem/feedItemTypes/FluidReportFeedItem.js";import"../FeedItem/feedItemTypes/BhaFeedItem/BhaFeedItem.js";import"../FeedItem/feedItemTypes/DvDCommentFeedItem.js";import"../FeedItem/feedItemTypes/PCCommentFeedItem.js";import"../FeedItem/feedItemTypes/HookloadCommentFeedItem.js";import"../FeedItem/feedItemTypes/NptLessonsCommentFeedItem.js";import"../FeedItem/feedItemTypes/GenericDataCommentFeedItem.js";function N(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 G(e){for(var o=1;o<arguments.length;o++){var s=null!=arguments[o]?arguments[o]:{};o%2?N(Object(s),!0).forEach((function(o){t(e,o,s[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(s)):N(Object(s)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(s,t))}))}return e}var R,q=A({dialogPaper:{width:"75%",maxWidth:420}}),_=(R=o(s.mark((function e(t,o){var i,n;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:i=e.sent,n=l(i)?null:d(j(i),"stage_number",null),o({type:"SUCCESS",lastStageNumber:n}),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 R.apply(this,arguments)}),U=function(e,t){switch(t.type){case"FETCH_STAGES":return G(G({},e),{},{requestState:"pending"});case"SUCCESS":return G(G({},e),{},{requestState:"success",lastStageNumber:t.lastStageNumber});case"FAILURE":return G(G({},e),{},{requestState:"failure",error:t.error});default:return e}},z=function(e,o){switch(o.type){case"OPEN_DIALOG":return G(G({},e),{},{dialogState:"open"});case"CLOSE_DIALOG":return G(G({},e),{},{dialogState:"closed"});case"SET_SELECTED_STAGES":return G(G({},e),{},{selectedStages:o.selectedStages,stagesData:o.selectedStages.reduce((function(e,o){return G(G({},e),{},t({},o,{lineStyle:"dotted",lineWidth:2}))}),{})});case"SET_SELECTED_LINE_STYLE":return G(G({},e),{},{stagesData:G(G({},e.stagesData),{},t({},o.stage,G(G({},e.stagesData[o.stage]),{},{lineStyle:o.selectedLineStyle})))});case"SET_SELECTED_LINE_WIDTH":return G(G({},e),{},{stagesData:G(G({},e.stagesData),{},t({},o.stage,G(G({},e.stagesData[o.stage]),{},{lineWidth:Number(o.selectedLineWidth)})))});default:return e}},K=function(t){var o=t.onSave,s=t.onDelete,r=t.offset,p=q(),m=i(U,{requestState:"idle",lastStageNumber:null,error:null}),c=e(m,2),a=c[0],l=c[1],j=i(z,{dialogState:"closed",selectedStages:r.selectedStages||[],stagesData:r.stages||{}}),A=e(j,2),O=A[0],N=A[1],R=function(e){return function(t){N({type:"SET_SELECTED_LINE_STYLE",stage:e,selectedLineStyle:t.target.value})}},K=function(e){return function(t){N({type:"SET_SELECTED_LINE_WIDTH",stage:e,selectedLineWidth:t.target.value})}},X=function(){N({type:"CLOSE_DIALOG"})},Y=r.selectedWellId;n((function(){l({type:"FETCH_STAGES"}),_(Y,l)}),[Y]);var J=u(a.lastStageNumber);return w(H,{children:[M(W,{title:r.selectedWellName,onClick:J?C:function(){N({type:"OPEN_DIALOG"})},onRemoveOffsetWell:s,wellId:Y,rigName:""}),"success"===a.requestState&&w(S,{open:"open"===O.dialogState,onBackdropClick:X,classes:{paper:p.dialogPaper},children:[M(g,{children:"Offset Well Stages"}),M(V,{children:w(h,{container:!0,direction:"column",spacing:2,children:[M(h,{item:!0,children:w(T,{margin:"normal",fullWidth:!0,required:!0,children:[M(v,{htmlFor:"stages-multi-select",children:"Stages"}),M(D,{inputProps:{name:"stages",id:"stages-multi-select"},value:O.selectedStages,renderValue:function(e){return"".concat(e.length," stages selected")},onChange:function(e){N({type:"SET_SELECTED_STAGES",selectedStages:e.target.value})},multiple:!0,children:I(1,a.lastStageNumber+1).map((function(e){return w(F,{value:e,children:[M(f,{checked:O.selectedStages.includes(e)}),M(b,{primary:e})]},e)}))})]})}),O.selectedStages.sort((function(e,t){return e-t})).map((function(e){return w(h,{item:!0,children:[w(P,{variant:"subtitle1",children:["Stage ",e]}),w(T,{component:"fieldset",children:[M(x,{component:"legend",required:!0,children:"Line Style"}),w(y,{name:"line-style",value:d(O.stagesData,[e,"lineStyle"],"dotted"),onChange:R(e),row:!0,children:[M(E,{value:"dotted",control:M(L,{}),label:"Dotted"}),M(E,{value:"dashed",control:M(L,{}),label:"Dashed"}),M(E,{value:"solid",control:M(L,{}),label:"Solid"})]})]}),w(T,{component:"fieldset",children:[M(x,{component:"legend",required:!0,children:"Line Width"}),w(y,{name:"line-width",value:String(d(O.stagesData,[e,"lineWidth"],"2")),onChange:K(e),row:!0,children:[M(E,{value:String(1),control:M(L,{}),label:"Thin"}),M(E,{value:String(2),control:M(L,{}),label:"Normal"}),M(E,{value:String(4),control:M(L,{}),label:"Thick"})]})]})]},e)}))]})}),w(B,{children:[M(k,{onClick:X,children:"Cancel"}),M(k,{variant:"contained",color:"primary",onClick:function(){var e=G(G({},r),{},{stages:O.stagesData,selectedStages:O.selectedStages});X(),o(e)},children:"Save"})]})]})]})};K.propTypes={onSave:r.isRequired,onDelete:r.isRequired,offset:p({selectedWellId:m,selectedWellName:c,selectedWellStatus:a(["active","idle","complete","paused","unknown"])}).isRequired};export{K as default};
|
|
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 i,useEffect as n}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 I}from"lodash";import{makeStyles as A,Dialog as S,DialogTitle as g,DialogContent as h,Grid as V,FormControl as T,InputLabel as v,Select as D,MenuItem as F,Checkbox as f,ListItemText as b,Typography as P,FormLabel as x,RadioGroup as y,FormControlLabel as E,Radio as L,DialogActions as B,Button as k}from"@material-ui/core";import{getAppStorage as O}from"../../clients/jsonApi/index.js";import"../DevCenter/DevCenterAppContainer/components/IsInsideIsolatedDcAppProvider.js";import"../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js";import"../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js";import"@babel/runtime/helpers/objectWithoutProperties";import"classnames";import"../Modal/CorvaModal.scss.js";import"@icon-park/react/es/all";import{jsxs as W,Fragment as w,jsx as H}from"react/jsx-runtime";import"../../icons/IconParkProvider.js";import"../../icons/customIcons/icons/AddMessage.js";import"../../icons/customIcons/icons/DragOne.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/InfoRounded.js";import"../../icons/customIcons/icons/FlameFilled.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/PinOne.js";import"../../icons/customIcons/icons/PinOneCrossed.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"../../icons/customIcons/icons/GuidedFrac.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"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"../DevCenter/AppContext.js";import"../DevCenter/DevCenterRouterContext/DevCenterRouterContext.js";import"../DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js";import"react-router-dom";import"query-string";import"../UserMention/utils/index.js";import"../../utils/convert.js";import"moment";import"../../utils/casing/validation.js";import"lodash/mean";import"../../constants/streamSourceType.js";import"lodash/get";import"file-saver";import"../../utils/drillstring/conversion.js";import"lodash/set";import"lodash/cloneDeep";import"@babel/runtime/helpers/toConsumableArray";import"lodash/isNumber";import"lodash/has";import"../../utils/ga.js";import"../../utils/goalsConfig/goalsConfig.js";import"../../utils/lasParser.js";import"../../utils/main.js";import"../../utils/metrics/metricsConfig.js";import"../../utils/feed.js";import"../../utils/reports.js";import"moment-timezone";import"@babel/runtime/helpers/typeof";import"../../utils/dashboardReports.js";import"../../utils/env.js";import"file-extension";import"image-extensions";import"video-extensions";import"../../utils/jsonaDataFormatter.js";import"../../utils/bha.js";import"jsona";import"../../utils/charts/Styles.scss.js";import"../../utils/getSingleAsset.js";import"@material-ui/icons";import"../EmptyState/EmptyState.js";import"../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/RemoveAppButton.js";import"../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/SettingsAccordion.js";import"../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/styles.js";import"@material-ui/pickers";import"@date-io/moment";import"../../config/theme/index.js";import"../../hocs/withAssetEditorLockHOC.js";import"../ErrorBoundary/ErrorBoundary.js";import"../ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js";import"../Button/components/Button/index.js";import"../Button/components/LiveButton/components/LiveButtonStateIndicator/index.js";import"../Button/components/LiveButton/styles.js";import"../AssetEditorV2/index.js";import"../AppVersionsSelect/AppVersionsSelect.js";import"../DisabledSettingsMessage/DisabledSettingsMessage.js";import"../ConfirmationDialog.js";import"../../permissions/PermissionsContext.js";import"../../permissions/constants/index.js";import"../../permissions/withPermissionsHOC.js";import"../../permissions/ProvidePermissions.js";import"../../componentsV2/AppHeader/V3/VersionSelect/VersionSelect.constants.js";import"../Annotations/components/AnnotationsList/index.js";import"../Annotations/components/LastAnnotation/index.js";import"../Annotations/AnnotationsContext.js";import"../../componentsV2/AppContainer/AppContainer.js";import"../../componentsV2/AppContainer/AppContainer.constants.js";import"../../componentsV2/Text/Text.js";import"../../componentsV2/Header/Header.scss.js";import"../../componentsV2/Tooltip/Tooltip.scss.js";import"../../componentsV2/TextEndTruncated/TextEndTruncated.scss.js";import"../../componentsV2/AppCommonsProvider/AppCommonsContext.js";import"../../componentsV2/AppHeader/AppHeader.constants.js";import"../../componentsV2/AppHeader/AppBadge/AppBadge.scss.js";import"../../componentsV2/Chip/Chip.js";import"../../componentsV2/TextMiddleTruncated/TextMiddleTruncated.constants.js";import"../../componentsV2/TextMiddleTruncated/TextMiddleTruncated.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"../../componentsV2/PadModeSelect/PadModeSelect.js";import"../../componentsV2/PadModeSelect/PadModeSelect.constants.js";import"../../componentsV2/AppCommonsProvider/AppCommonsProvider.js";import"../../componentsV2/utils.js";import"../../componentsV2/AppHeader/V3/VersionSelect/VersionSelect.js";import"../../componentsV2/UniversalLink/UniversalLink.scss.js";import"../../componentsV2/AppHeader/V3/AssetChips/AssetChips.scss.js";import"../../componentsV2/Button/Button.js";import"../../componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.js";import"../../componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.constants.js";import"../../componentsV2/Popover/Popover.js";import"../../componentsV2/Accordion/Accordion.scss.js";import"../../componentsV2/ButtonIcon/ButtonIcon.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"../../componentsV2/Menu/Menu.js";import"../../componentsV2/ModalWindow/ModalWindow.js";import"../../componentsV2/Modal/Modal.scss.js";import"../../componentsV2/LoaderLogo/LoaderLogo.constants.js";import"../../componentsV2/LoaderLogo/LoaderLogo.scss.js";import"../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorChip/AssetSelectorChip.js";import"../../componentsV2/TextInput/TextInput.js";import"../../componentsV2/AppHeader/V3/AssetSelector/constants.js";import"../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/AssetSelectorSelect.scss.js";import"../../componentsV2/ChipIndicator/ChipIndicator.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"../StatusBadge/constants.js";import"lodash/unset";import"../../clients/api/apiCore.js";import"../../clients/constants.js";import"../../clients/sso/auth0.js";import"../../clients/sso/oauth2.js";import"../../clients/api/rateLimiter.js";import"lodash/isEmpty";import"lodash/sortBy";import"../DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchContext.js";import"../../componentsV2/AppPanel/AppPanelsContext.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"../../componentsV2/AppHeader/V3/SettingsButton/SettingsButton.constants.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/EmptyState/EmptyState.scss.js";import"../DevCenter/DevCenterAppContainer/components/DevCenterAppView/components/ChooseAssetButton.js";import"../DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.scss.js";import"../DevCenter/DevCenterAppContainer/components/AppActions/AppActions.css.js";import"../DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.scss.js";import"../../componentsV2/Grid/Grid.js";import"../../componentsV2/Grid/Cell.js";import"../../componentsV2/PopoverPanel/PopoverPanel.js";import"../../componentsV2/Radio/Radio.js";import"../../componentsV2/RadioAndCheckboxGroup/RadioAndCheckboxGroup.scss.js";import"../../componentsV2/Checkbox/Checkbox.js";import"../../componentsV2/TextInputNext/TextInputNext.js";import"../../componentsV2/TextArea/TextArea.js";import"../../componentsV2/Label/Label.js";import"../../componentsV2/TextLink/TextLink.js";import"../../componentsV2/ChipAlert/ChipAlert.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/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"../../componentsV2/BadgeDot/BadgeDot.scss.js";import"../../componentsV2/LoaderLinear/LoaderLinear.scss.js";import"../../componentsV2/Switch/Switch.js";import"../../componentsV2/Tabs/Tabs.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"../../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/Breadcrumbs/Breadcrumbs.scss.js";import"../../componentsV2/BadgeComment/BadgeComment.js";import"../../componentsV2/AppFooter/AppFooter.js";import"../../componentsV2/OffsetWellsButton/OffsetWellsButton.js";import"../../componentsV2/ChartAxisExtreme/ChartAxisExtreme.scss.js";import"highcharts";import"../../componentsV2/ChartAxisExtreme/ChartAxisExtremeDragTracker.js";import"../../componentsV2/Autocomplete/Autocomplete.js";import"../../componentsV2/Select/Select.js";import"../../componentsV2/AppPanel/AppPanel.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"../../componentsV2/SliderAdvanced/SliderAdvanced.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"../../componentsV2/ChartHelper/ChartHelper.scss.js";import"../../componentsV2/Hotkey/Hotkey.js";import"@tanstack/react-query";import"../../componentsV2/InterventionEventSelector/useInterventionUnitEvents.js";import"../../componentsV2/InterventionEventSelector/InterventionEventSelector.scss.js";import"../DevCenter/DevCenterAppContainer/components/FullscreenButton/FullscreenButton.css.js";import"../Icons/AnnotationIcon.js";import"../HelpCenter/HelpCenterIcon.js";import"../DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/RestoreAppSizeButton.css.js";import"../DevCenter/DevCenterAppContainer/DevCenterAppContainer.scss.js";import"../Toaster/Toaster.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"../LoadingIndicator/LoadingIndicator.js";import"../Typography.js";import"../RealTimeValuesSidebar/RealTimeSidebar.js";import"../CollapsableSidebar.js";import"../DateTimePicker/index.js";import"../DatePicker/index.js";import"../SlateFormattedText/SlateFormattedText.js";import"../SlateFormattedText/RenderElements.js";import"slate";import"../ParameterCharts/ParameterCharts.js";import"../ParameterCharts/AddEditTrack.js";import"../ChartActionsList/ChartActionsList.js";import"../CopyToClipboard/CopyToClipboard.js";import"../AssetEditor/AssetEditorAutocomplete.js";import"../AssetEditor/SingleAssetEditor.js";import"../SettingEditors/ColorEditor/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/ChartWrapperContext.js";import"../Chart/effects/useChartModifier.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"../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"../GradientManager/GradientPreview/GradientPreview.js";import"../GradientManager/GradientSelect.scss.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"../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"mapbox-gl/dist/mapbox-gl.css";import"@material-ui/icons/Info";import"@material-ui/icons/Block";import"../OffsetWellMap/WellTooltip.module.css.js";import"../OffsetWellMap/OffsetWellMap.module.css.js";import"../../config/mapboxGl/index.js";import"../../config/mapbox/index.js";import"react-dom";import"@material-ui/core/Snackbar";import"../Notifications/Toast.js";import"../Notifications/Notifications.scss.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";import"../CommentCard/CommentCard.js";import"@material-ui/icons/AlternateEmail";import"../AttachFileButton/AttachFileButton.scss.js";import"../CommentInputNext/CommentInputNext.js";import"../WellhubFilePicker/components/WellhubFileCard/WellhubFileCard.scss.js";import"../WellhubFilePicker/components/WellhubFilePickerView/WellhubFilePickerView.scss.js";import"react-s3-uploader/s3upload";import"../CommentComposer/CommentMetaLine.scss.js";import"../CommentComposer/ChatChannelSelector.scss.js";import"../CommentComposer/ShareToChatRow.scss.js";import"../CommentComposer/CommentComposer.scss.js";import"../AttachmentPreview/AttachmentPreview.js";import"../AttachmentPreview/AttachmentImage.js";import"../AttachmentPreview/AttachmentPreview.scss.js";import"../CommentPin/CommentPin.js";import"../FeedCard/FeedCard.js";import"../FeedItemCard/FeedItemCard.js";import"../NewCommentCursor/NewCommentCursor.js";import"../LinkedText/LinkedText.js";import"../FeedItem/feedItemTypes/AlertFeedItem.js";import"../FeedItem/feedItemTypes/PostFeedItem.js";import"../FeedItem/feedItemTypes/GeosteeringFeedItem.js";import"../FeedItem/feedItemTypes/DrillingOperationalNoteFeedItem.js";import"../FeedItem/feedItemTypes/DrillingOperationSummaryFeedItem.js";import"../FeedItem/feedItemTypes/DrillingDailyCostFeedItem.js";import"../FeedItem/feedItemTypes/DocumentFeedItem.js";import"../FeedItem/feedItemTypes/DrillerMemoFeedItem.js";import"../FeedItem/feedItemTypes/NptFeedItem.js";import"../FeedItem/feedItemTypes/SurveyStationFeedItem/index.js";import"../FeedItem/feedItemTypes/LessonsLearnedFeedItem/index.js";import"../FeedItem/feedItemTypes/TracesMemoFeedItem.js";import"../FeedItem/feedItemTypes/DepthCommentFeedItem.js";import"../FeedItem/feedItemTypes/CompletionOperationalNoteFeedItem.js";import"../FeedItem/feedItemTypes/CompletionOperationSummaryFeedItem.js";import"../FeedItem/feedItemTypes/CompletionDailyCostFeedItem.js";import"../FeedItem/feedItemTypes/CompletionDocumentFeedItem.js";import"../FeedItem/feedItemTypes/CompletionNptFeedItem.js";import"../FeedItem/feedItemTypes/StageOverviewFeedItem/index.js";import"../FeedItem/feedItemTypes/AppAnnotationFeedItem/index.js";import"../FeedItem/feedItemTypes/WellPlanFeedItem/index.js";import"../FeedItem/feedItemTypes/FluidReportFeedItem.js";import"../FeedItem/feedItemTypes/BhaFeedItem/BhaFeedItem.js";import"../FeedItem/feedItemTypes/DvDCommentFeedItem.js";import"../FeedItem/feedItemTypes/PCCommentFeedItem.js";import"../FeedItem/feedItemTypes/HookloadCommentFeedItem.js";import"../FeedItem/feedItemTypes/NptLessonsCommentFeedItem.js";import"../FeedItem/feedItemTypes/GenericDataCommentFeedItem.js";function N(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?N(Object(s),!0).forEach((function(o){t(e,o,s[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(s)):N(Object(s)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(s,t))}))}return e}var G,q=A({dialogPaper:{width:"75%",maxWidth:420}}),_=(G=o(s.mark((function e(t,o){var i,n;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:i=e.sent,n=l(i)?null:d(j(i),"stage_number",null),o({type:"SUCCESS",lastStageNumber:n}),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}},K=function(t){var o=t.onSave,s=t.onDelete,r=t.offset,p=q(),m=i(U,{requestState:"idle",lastStageNumber:null,error:null}),c=e(m,2),a=c[0],l=c[1],j=i(z,{dialogState:"closed",selectedStages:r.selectedStages||[],stagesData:r.stages||{}}),A=e(j,2),O=A[0],N=A[1],G=function(e){return function(t){N({type:"SET_SELECTED_LINE_STYLE",stage:e,selectedLineStyle:t.target.value})}},K=function(e){return function(t){N({type:"SET_SELECTED_LINE_WIDTH",stage:e,selectedLineWidth:t.target.value})}},X=function(){N({type:"CLOSE_DIALOG"})},Y=r.selectedWellId;n((function(){l({type:"FETCH_STAGES"}),_(Y,l)}),[Y]);var J=u(a.lastStageNumber);return W(w,{children:[H(M,{title:r.selectedWellName,onClick:J?C:function(){N({type:"OPEN_DIALOG"})},onRemoveOffsetWell:s,wellId:Y,rigName:""}),"success"===a.requestState&&W(S,{open:"open"===O.dialogState,onBackdropClick:X,classes:{paper:p.dialogPaper},children:[H(g,{children:"Offset Well Stages"}),H(h,{children:W(V,{container:!0,direction:"column",spacing:2,children:[H(V,{item:!0,children:W(T,{margin:"normal",fullWidth:!0,required:!0,children:[H(v,{htmlFor:"stages-multi-select",children:"Stages"}),H(D,{inputProps:{name:"stages",id:"stages-multi-select"},value:O.selectedStages,renderValue:function(e){return"".concat(e.length," stages selected")},onChange:function(e){N({type:"SET_SELECTED_STAGES",selectedStages:e.target.value})},multiple:!0,children:I(1,a.lastStageNumber+1).map((function(e){return W(F,{value:e,children:[H(f,{checked:O.selectedStages.includes(e)}),H(b,{primary:e})]},e)}))})]})}),O.selectedStages.sort((function(e,t){return e-t})).map((function(e){return W(V,{item:!0,children:[W(P,{variant:"subtitle1",children:["Stage ",e]}),W(T,{component:"fieldset",children:[H(x,{component:"legend",required:!0,children:"Line Style"}),W(y,{name:"line-style",value:d(O.stagesData,[e,"lineStyle"],"dotted"),onChange:G(e),row:!0,children:[H(E,{value:"dotted",control:H(L,{}),label:"Dotted"}),H(E,{value:"dashed",control:H(L,{}),label:"Dashed"}),H(E,{value:"solid",control:H(L,{}),label:"Solid"})]})]}),W(T,{component:"fieldset",children:[H(x,{component:"legend",required:!0,children:"Line Width"}),W(y,{name:"line-width",value:String(d(O.stagesData,[e,"lineWidth"],"2")),onChange:K(e),row:!0,children:[H(E,{value:String(1),control:H(L,{}),label:"Thin"}),H(E,{value:String(2),control:H(L,{}),label:"Normal"}),H(E,{value:String(4),control:H(L,{}),label:"Thick"})]})]})]},e)}))]})}),W(B,{children:[H(k,{onClick:X,children:"Cancel"}),H(k,{variant:"contained",color:"primary",onClick:function(){var e=R(R({},r),{},{stages:O.stagesData,selectedStages:O.selectedStages});X(),o(e)},children:"Save"})]})]})]})};K.propTypes={onSave:r.isRequired,onDelete:r.isRequired,offset:p({selectedWellId:m,selectedWellName:c,selectedWellStatus:a(["active","idle","complete","paused","unknown"])}).isRequired};export{K as default};
|
|
2
2
|
//# sourceMappingURL=StagesSelector.js.map
|