@corva/ui 3.41.0-2 → 3.41.0-3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs-bundle/components/AddComment/Popover.js +1 -1
- package/cjs-bundle/components/AddComment/Popover.js.map +1 -1
- package/cjs-bundle/components/AddComment/components/Content.js +1 -1
- package/cjs-bundle/components/AddComment/components/Content.js.map +1 -1
- package/cjs-bundle/components/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/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/OffsetWellPickerV2/components/Filter/ToggleMapButton.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/index.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/index.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/index.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/index.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/WellHubView/index.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/WellHubView/index.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV4/OffsetWellPickerV4.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV4/OffsetWellPickerV4.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV4/OffsetWellPickerV4.module.css.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV4/OffsetWellPickerV4.module.css.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV4/components/AppHeader/AppHeader.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV4/components/AppHeader/AppHeader.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV4/components/AppHeader/AppHeader.module.css.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV4/components/AppHeader/AppHeader.module.css.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV4/components/CustomInfoIcon/CustomInfoIcon.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV4/components/CustomInfoIcon/CustomInfoIcon.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV4/components/CustomInfoIcon/CustomInfoIcon.module.css.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV4/components/CustomInfoIcon/CustomInfoIcon.module.css.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV4/components/Filter/Filter.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV4/components/Filter/Filter.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV4/components/Filter/Filter.module.css.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV4/components/Filter/Filter.module.css.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV4/components/Filter/MultiSelect.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV4/components/Filter/MultiSelect.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV4/components/Filter/PeriodSelect.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV4/components/Filter/PeriodSelect.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV4/components/Filter/RadiusInput.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV4/components/Filter/RadiusInput.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV4/components/Filter/SingleSelect.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV4/components/Filter/SingleSelect.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV4/components/Filter/WellSection.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV4/components/Filter/WellSection.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV4/components/Map/WellsMap.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV4/components/Map/WellsMap.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV4/components/Map/WellsMap.module.css.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV4/components/Map/WellsMap.module.css.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/AdvancedSearch.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/AdvancedSearch.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/AdvancedSearch.module.css.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/AdvancedSearch.module.css.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/AssetResultSection.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/AssetResultSection.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/AssetTypesSection.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/AssetTypesSection.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/AutoCompleteAssetSearch.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/AutoCompleteAssetSearch.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/constants.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/constants.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/MetricsSelect.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/MetricsSelect.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/MetricsSettingMenu.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/MetricsSettingMenu.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTable.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTable.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTable.module.css.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTable.module.css.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTableHead.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTableHead.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTableHead.module.css.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTableHead.module.css.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTableRow.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTableRow.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTableRow.module.css.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTableRow.module.css.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/SubjectWellMark.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/SubjectWellMark.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/ViewWellSectionsName.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/ViewWellSectionsName.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV4/components/Toolbar/Toolbar.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV4/components/Toolbar/Toolbar.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV4/components/Toolbar/Toolbar.module.css.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV4/components/Toolbar/Toolbar.module.css.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV4/constants.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV4/constants.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV4/effects/useAdvancedWells.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV4/effects/useAdvancedWells.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV4/effects/useAssetsData.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV4/effects/useAssetsData.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV4/effects/useBicWells.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV4/effects/useBicWells.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV4/effects/useCompanies.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV4/effects/useCompanies.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV4/effects/useCompanyMetricKey.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV4/effects/useCompanyMetricKey.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV4/effects/useCompanyProvider.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV4/effects/useCompanyProvider.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV4/effects/useFetchWells.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV4/effects/useFetchWells.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV4/effects/useFilterOptions.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV4/effects/useFilterOptions.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV4/effects/useFilteredWells.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV4/effects/useFilteredWells.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV4/effects/useSortedWells.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV4/effects/useSortedWells.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV4/effects/useTableColumns.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV4/effects/useTableColumns.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV4/index.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV4/index.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV4/utils/apiCalls.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV4/utils/apiCalls.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV4/utils/index.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV4/utils/index.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV4/utils/timePeriod.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV4/utils/timePeriod.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV4/utils/unitSystem.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV4/utils/unitSystem.js.map +1 -0
- 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/assets/fetchAssetWells.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/api/assets/fetchRigs.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/api/shared/constants.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/api/shared/fetchers/getAllWellAssetIds.js +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/Map/OffsetWellMap/OffsetWellMap.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/DrawControl/DrawControl.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHints.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SubjectWellMarker/SubjectWellMarker.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/constants.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useLassoSelection.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/WellsMap.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AdvancedSearch.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AdvancedSearch.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AutoCompleteAssetSearch.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AutoCompleteAssetSearch.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/OffsetWellsTable.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/OffsetWellsTable.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/OffsetWellsTableRow.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/OffsetWellsTableRow.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/effects/useAssetsData.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/effects/useBicWells.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/effects/useBicWells.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/utils/index.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/utils/index.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/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/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/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/OffsetWellPickerV2/components/Filter/ToggleMapButton.js +1 -1
- package/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js.map +1 -1
- package/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js +1 -1
- package/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js.map +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js.map +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/index.js +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/index.js.map +1 -1
- package/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js +1 -1
- package/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js.map +1 -1
- package/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js +1 -1
- package/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js.map +1 -1
- package/components/OffsetWellPickerV3/components/TabSelection/index.js +1 -1
- package/components/OffsetWellPickerV3/components/TabSelection/index.js.map +1 -1
- package/components/OffsetWellPickerV3/components/WellHubView/index.js +1 -1
- package/components/OffsetWellPickerV3/components/WellHubView/index.js.map +1 -1
- package/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js +1 -1
- package/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js.map +1 -1
- package/components/OffsetWellPickerV4/OffsetWellPickerV4.js +2 -0
- package/components/OffsetWellPickerV4/OffsetWellPickerV4.js.map +1 -0
- package/components/OffsetWellPickerV4/OffsetWellPickerV4.module.css.js +2 -0
- package/components/OffsetWellPickerV4/OffsetWellPickerV4.module.css.js.map +1 -0
- package/components/OffsetWellPickerV4/components/AppHeader/AppHeader.js +2 -0
- package/components/OffsetWellPickerV4/components/AppHeader/AppHeader.js.map +1 -0
- package/components/OffsetWellPickerV4/components/AppHeader/AppHeader.module.css.js +2 -0
- package/components/OffsetWellPickerV4/components/AppHeader/AppHeader.module.css.js.map +1 -0
- package/components/OffsetWellPickerV4/components/CustomInfoIcon/CustomInfoIcon.js +2 -0
- package/components/OffsetWellPickerV4/components/CustomInfoIcon/CustomInfoIcon.js.map +1 -0
- package/components/OffsetWellPickerV4/components/CustomInfoIcon/CustomInfoIcon.module.css.js +2 -0
- package/components/OffsetWellPickerV4/components/CustomInfoIcon/CustomInfoIcon.module.css.js.map +1 -0
- package/components/OffsetWellPickerV4/components/Filter/Filter.js +2 -0
- package/components/OffsetWellPickerV4/components/Filter/Filter.js.map +1 -0
- package/components/OffsetWellPickerV4/components/Filter/Filter.module.css.js +2 -0
- package/components/OffsetWellPickerV4/components/Filter/Filter.module.css.js.map +1 -0
- package/components/OffsetWellPickerV4/components/Filter/MultiSelect.js +2 -0
- package/components/OffsetWellPickerV4/components/Filter/MultiSelect.js.map +1 -0
- package/components/OffsetWellPickerV4/components/Filter/PeriodSelect.js +2 -0
- package/components/OffsetWellPickerV4/components/Filter/PeriodSelect.js.map +1 -0
- package/components/OffsetWellPickerV4/components/Filter/RadiusInput.js +2 -0
- package/components/OffsetWellPickerV4/components/Filter/RadiusInput.js.map +1 -0
- package/components/OffsetWellPickerV4/components/Filter/SingleSelect.js +2 -0
- package/components/OffsetWellPickerV4/components/Filter/SingleSelect.js.map +1 -0
- package/components/OffsetWellPickerV4/components/Filter/WellSection.js +2 -0
- package/components/OffsetWellPickerV4/components/Filter/WellSection.js.map +1 -0
- package/components/OffsetWellPickerV4/components/Map/WellsMap.js +2 -0
- package/components/OffsetWellPickerV4/components/Map/WellsMap.js.map +1 -0
- package/components/OffsetWellPickerV4/components/Map/WellsMap.module.css.js +2 -0
- package/components/OffsetWellPickerV4/components/Map/WellsMap.module.css.js.map +1 -0
- package/components/OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/AdvancedSearch.js +2 -0
- package/components/OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/AdvancedSearch.js.map +1 -0
- package/components/OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/AdvancedSearch.module.css.js +2 -0
- package/components/OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/AdvancedSearch.module.css.js.map +1 -0
- package/components/OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/AssetResultSection.js +2 -0
- package/components/OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/AssetResultSection.js.map +1 -0
- package/components/OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/AssetTypesSection.js +2 -0
- package/components/OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/AssetTypesSection.js.map +1 -0
- package/components/OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/AutoCompleteAssetSearch.js +2 -0
- package/components/OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/AutoCompleteAssetSearch.js.map +1 -0
- package/components/OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/constants.js +2 -0
- package/components/OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/constants.js.map +1 -0
- package/components/OffsetWellPickerV4/components/OffsetWellsTable/MetricsSelect.js +2 -0
- package/components/OffsetWellPickerV4/components/OffsetWellsTable/MetricsSelect.js.map +1 -0
- package/components/OffsetWellPickerV4/components/OffsetWellsTable/MetricsSettingMenu.js +2 -0
- package/components/OffsetWellPickerV4/components/OffsetWellsTable/MetricsSettingMenu.js.map +1 -0
- package/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTable.js +2 -0
- package/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTable.js.map +1 -0
- package/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTable.module.css.js +2 -0
- package/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTable.module.css.js.map +1 -0
- package/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTableHead.js +2 -0
- package/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTableHead.js.map +1 -0
- package/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTableHead.module.css.js +2 -0
- package/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTableHead.module.css.js.map +1 -0
- package/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTableRow.js +2 -0
- package/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTableRow.js.map +1 -0
- package/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTableRow.module.css.js +2 -0
- package/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTableRow.module.css.js.map +1 -0
- package/components/OffsetWellPickerV4/components/OffsetWellsTable/SubjectWellMark.js +2 -0
- package/components/OffsetWellPickerV4/components/OffsetWellsTable/SubjectWellMark.js.map +1 -0
- package/components/OffsetWellPickerV4/components/OffsetWellsTable/ViewWellSectionsName.js +2 -0
- package/components/OffsetWellPickerV4/components/OffsetWellsTable/ViewWellSectionsName.js.map +1 -0
- package/components/OffsetWellPickerV4/components/Toolbar/Toolbar.js +2 -0
- package/components/OffsetWellPickerV4/components/Toolbar/Toolbar.js.map +1 -0
- package/components/OffsetWellPickerV4/components/Toolbar/Toolbar.module.css.js +2 -0
- package/components/OffsetWellPickerV4/components/Toolbar/Toolbar.module.css.js.map +1 -0
- package/components/OffsetWellPickerV4/constants.js +2 -0
- package/components/OffsetWellPickerV4/constants.js.map +1 -0
- package/components/OffsetWellPickerV4/effects/useAdvancedWells.js +2 -0
- package/components/OffsetWellPickerV4/effects/useAdvancedWells.js.map +1 -0
- package/components/OffsetWellPickerV4/effects/useAssetsData.js +2 -0
- package/components/OffsetWellPickerV4/effects/useAssetsData.js.map +1 -0
- package/components/OffsetWellPickerV4/effects/useBicWells.js +2 -0
- package/components/OffsetWellPickerV4/effects/useBicWells.js.map +1 -0
- package/components/OffsetWellPickerV4/effects/useCompanies.js +2 -0
- package/components/OffsetWellPickerV4/effects/useCompanies.js.map +1 -0
- package/components/OffsetWellPickerV4/effects/useCompanyMetricKey.js +2 -0
- package/components/OffsetWellPickerV4/effects/useCompanyMetricKey.js.map +1 -0
- package/components/OffsetWellPickerV4/effects/useCompanyProvider.js +2 -0
- package/components/OffsetWellPickerV4/effects/useCompanyProvider.js.map +1 -0
- package/components/OffsetWellPickerV4/effects/useFetchWells.js +2 -0
- package/components/OffsetWellPickerV4/effects/useFetchWells.js.map +1 -0
- package/components/OffsetWellPickerV4/effects/useFilterOptions.js +2 -0
- package/components/OffsetWellPickerV4/effects/useFilterOptions.js.map +1 -0
- package/components/OffsetWellPickerV4/effects/useFilteredWells.js +2 -0
- package/components/OffsetWellPickerV4/effects/useFilteredWells.js.map +1 -0
- package/components/OffsetWellPickerV4/effects/useSortedWells.js +2 -0
- package/components/OffsetWellPickerV4/effects/useSortedWells.js.map +1 -0
- package/components/OffsetWellPickerV4/effects/useTableColumns.js +2 -0
- package/components/OffsetWellPickerV4/effects/useTableColumns.js.map +1 -0
- package/components/OffsetWellPickerV4/index.d.ts +1 -1
- package/components/OffsetWellPickerV4/index.d.ts.map +1 -1
- package/components/OffsetWellPickerV4/index.js +1 -1
- package/components/OffsetWellPickerV4/index.js.map +1 -1
- package/components/OffsetWellPickerV4/utils/apiCalls.js +2 -0
- package/components/OffsetWellPickerV4/utils/apiCalls.js.map +1 -0
- package/components/OffsetWellPickerV4/utils/index.js +2 -0
- package/components/OffsetWellPickerV4/utils/index.js.map +1 -0
- package/components/OffsetWellPickerV4/utils/timePeriod.js +2 -0
- package/components/OffsetWellPickerV4/utils/timePeriod.js.map +1 -0
- package/components/OffsetWellPickerV4/utils/unitSystem.js +2 -0
- package/components/OffsetWellPickerV4/utils/unitSystem.js.map +1 -0
- package/components/OffsetWellPickerV5/OffsetWellPickerV5.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/OffsetWellPickerV5.js +1 -1
- package/components/OffsetWellPickerV5/OffsetWellPickerV5.js.map +1 -1
- package/components/OffsetWellPickerV5/api/assets/fetchAllAssets.d.ts +1 -1
- package/components/OffsetWellPickerV5/api/assets/fetchAllAssets.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/api/assets/fetchAssetWells.d.ts +1 -1
- package/components/OffsetWellPickerV5/api/assets/fetchAssetWells.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/api/assets/fetchAssetWells.js +1 -1
- package/components/OffsetWellPickerV5/api/assets/fetchRigs.d.ts +1 -1
- package/components/OffsetWellPickerV5/api/assets/fetchRigs.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/api/assets/fetchRigs.js +1 -1
- package/components/OffsetWellPickerV5/api/shared/constants.d.ts +0 -1
- package/components/OffsetWellPickerV5/api/shared/constants.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/api/shared/constants.js +1 -1
- package/components/OffsetWellPickerV5/api/shared/fetchers/getAllWellAssetIds.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/api/shared/fetchers/getAllWellAssetIds.js +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/Map/OffsetWellMap/OffsetWellMap.d.ts +4 -2
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/OffsetWellMap.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/OffsetWellMap.js +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/DrawControl/DrawControl.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/DrawControl/DrawControl.js +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHints.js +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SubjectWellMarker/SubjectWellMarker.js +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/constants.d.ts +19 -0
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/constants.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/constants.js +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useBoxSelection.d.ts +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useBoxSelection.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useLassoSelection.d.ts +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useLassoSelection.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useLassoSelection.js +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useMapBounds.d.ts +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useMapBounds.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useMapViewState.d.ts +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useMapViewState.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useRadiusResize.d.ts +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useRadiusResize.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useTooltipAnchor.d.ts +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useTooltipAnchor.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/index.d.ts +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/index.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/Map/WellsMap.d.ts +2 -3
- package/components/OffsetWellPickerV5/components/Map/WellsMap.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/Map/WellsMap.js +1 -1
- package/components/OffsetWellPickerV5/components/Map/index.d.ts +1 -0
- package/components/OffsetWellPickerV5/components/Map/index.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AdvancedSearch.d.ts +5 -3
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AdvancedSearch.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AdvancedSearch.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AdvancedSearch.js.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AutoCompleteAssetSearch.d.ts +5 -3
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AutoCompleteAssetSearch.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AutoCompleteAssetSearch.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AutoCompleteAssetSearch.js.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/OffsetWellsTable.d.ts +3 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/OffsetWellsTable.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/OffsetWellsTable.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/OffsetWellsTable.js.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/OffsetWellsTableRow.d.ts +3 -3
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/OffsetWellsTableRow.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/OffsetWellsTableRow.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/OffsetWellsTableRow.js.map +1 -1
- package/components/OffsetWellPickerV5/effects/useAssetsData.d.ts +1 -1
- package/components/OffsetWellPickerV5/effects/useAssetsData.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/effects/useAssetsData.js.map +1 -1
- package/components/OffsetWellPickerV5/effects/useBicWells.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/effects/useBicWells.js +1 -1
- package/components/OffsetWellPickerV5/effects/useBicWells.js.map +1 -1
- package/components/OffsetWellPickerV5/utils/index.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/utils/index.js +1 -1
- package/components/OffsetWellPickerV5/utils/index.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/Template/TemplateSharingDialog/ChipSelector.d.ts +2 -2
- package/package.json +2 -2
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import e from"@babel/runtime/helpers/defineProperty";import t from"@babel/runtime/helpers/toConsumableArray";import o from"@babel/runtime/helpers/asyncToGenerator";import n from"@babel/runtime/helpers/slicedToArray";import s from"@babel/runtime/regenerator";import{useState as r,useRef as i,useMemo as p,useEffect as c,useCallback as m}from"react";import l from"classnames";import{uniqBy as a,uniq as d,sortBy as u,isEmpty as j}from"lodash";import{Replay as f}from"@material-ui/icons";import{Table as C,TableHead as A}from"@material-ui/core";import{useFetchWells as v}from"./effects/useFetchWells.js";import{useAdvancedWells as h}from"./effects/useAdvancedWells.js";import{useBicWells as S}from"./effects/useBicWells.js";import{useCompanyMetricKey as g}from"./effects/useCompanyMetricKey.js";import{useFilterOptions as I}from"./effects/useFilterOptions.js";import{useFilteredWells as V}from"./effects/useFilteredWells.js";import{useSortedWells as b}from"./effects/useSortedWells.js";import"./effects/useAssetsData.js";import{useTableColumns as D}from"./effects/useTableColumns.js";import{useCompanyProvider as T}from"./effects/useCompanyProvider.js";import{useCompanies as P}from"./effects/useCompanies.js";import{usePinnedWells as y}from"./effects/usePinnedWells.js";import{useSearchedWells as x}from"./effects/useSearchedWells.js";import{useFetchSubjectWell as F}from"./effects/useFetchSubjectWell.js";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"./api/shared/dataFormatter.js";import{fetchCompanyIdsByWellIds as W}from"./api/wells/fetchCompanyIdsByWellIds.js";import{DEFAULT_RADIUS_MILES as B,FilterType as M,ALL_SECTION_KEY as w,COMPANY_PROVIDERS_FOR_IDAS as L,ROWS_PER_PAGE as k,RESYNC_STATUS as O,MAX_OFFSET_SIZE as E}from"./constants.js";import{AppHeader as H}from"./components/AppHeader/AppHeader.js";import{Filter as N}from"./components/Filter/Filter.js";import{WellsMap as G}from"./components/Map/WellsMap.js";import{OffsetWellsTable as R}from"./components/OffsetWellsTable/OffsetWellsTable.js";import{OffsetWellsTableHead as q}from"./components/OffsetWellsTable/OffsetWellsTableHead.js";import{AdvancedSearch as z}from"./components/OffsetWellsTable/AdvancedSearch/AdvancedSearch.js";import{SEARCH_CATEGORIES as U}from"./components/OffsetWellsTable/AdvancedSearch/constants.js";import{getCoordinatedWells as K}from"./utils/index.js";import{getIsImperial as Z}from"./utils/getIsImperial.js";import{usePickerPropsStore as _}from"./stores/picker-props-store/usePickerPropsStore.js";import{useFilterStore as X}from"./stores/filter-store/useFilterStore.js";import{useViewStore as J}from"./stores/view-store/useViewStore.js";import{normalizeFilters as Q}from"./stores/filter-store/utils/normalizeFilters.js";import Y from"./OffsetWellPickerV5.module.css.js";import $ from"./components/OffsetWellsTable/OffsetWellsTable.module.css.js";import"../../utils/index.js";import{jsx as ee,jsxs as te}from"react/jsx-runtime";import"@material-ui/core/Snackbar";import"../Notifications/Toast.js";import"../Notifications/Notifications.scss.js";import{NotificationsContainer as oe}from"../Notifications/NotificationsContainer.js";import ne from"../../styles/typography/index.js";import"../../styles/counter/counter.module.scss.js";import"../DevCenter/DevCenterAppContainer/components/IsInsideIsolatedDcAppProvider/IsInsideIsolatedDcAppProvider.js";import"../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js";import"../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js";import"@icon-park/react/es/all";import"../../icons/IconParkProvider.js";import"../../icons/customIcons/icons/AddMessage.js";import"../../icons/customIcons/icons/Attention.js";import"../../icons/customIcons/icons/Collapse.js";import"../../icons/customIcons/icons/Dashboard.js";import"../../icons/customIcons/icons/Expand.js";import"../../icons/customIcons/icons/FolderClosed.js";import"../../icons/customIcons/icons/FolderClosedFilled.js";import"../../icons/customIcons/icons/FolderOpened.js";import"../../icons/customIcons/icons/GreaterOrEqual.js";import"../../icons/customIcons/icons/LessOrEqual.js";import"../../icons/customIcons/icons/Search.js";import"../../icons/customIcons/icons/SearchOne.js";import"../../icons/customIcons/icons/Wellhub.js";import"../../icons/customIcons/icons/MultiRuler.js";import"../../icons/customIcons/icons/Checkbox.js";import"../../icons/customIcons/icons/CheckboxChecked.js";import"../../icons/customIcons/icons/CheckboxIndeterminate.js";import"../../icons/customIcons/icons/Radio.js";import"../../icons/customIcons/icons/RadioChecked.js";import"../../icons/customIcons/icons/SimulFrac.js";import"../../icons/customIcons/icons/ZipperFrac.js";import"../../icons/customIcons/icons/CautionFilled.js";import"../../icons/customIcons/icons/MoreApp.js";import"../../icons/customIcons/icons/Pad.js";import"../../icons/customIcons/icons/DrilloutUnit.js";import"../../icons/customIcons/icons/FracFleet.js";import"../../icons/customIcons/icons/Global.js";import"../../icons/customIcons/icons/Program.js";import"../../icons/customIcons/icons/Rig.js";import"../../icons/customIcons/icons/Well.js";import"../../icons/customIcons/icons/Gap.js";import"../../icons/customIcons/icons/Pin.js";import"../../icons/customIcons/icons/CloseOneFilled.js";import"../../icons/customIcons/icons/AttentionFilled.js";import"../../icons/customIcons/icons/CheckOneFilled.js";import"../../icons/customIcons/icons/Archive.js";import"../../icons/customIcons/icons/ArchiveCancel.js";import"../../icons/customIcons/icons/Unarchive.js";import"../../icons/customIcons/icons/Archived.js";import"../../icons/customIcons/icons/InterventionUnit.js";import"../../icons/customIcons/icons/Lasso.js";import"../../utils/mobileDetect.js";import"../IconButton/index.js";import"../../constants/goals.js";import"../../constants/segment.js";import"../../constants/alerts.js";import"../../constants/apps.js";import"../../constants/drillstring.js";import"../../constants/completion.js";import"../../constants/appPackages.js";import"../../constants/notifications.js";import"../../constants/feed.js";import"../../constants/bha.js";import"../../constants/corvaCompanyId.js";import"../GradientManager/configuration/constants.js";import"../Modal/CorvaModal.css.js";import"../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"@babel/runtime/helpers/objectWithoutProperties";import"react-router";import"../DevCenter/DevCenterAppContainer/components/AppActions/AppActions.css.js";import"../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js";import"../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/RemoveAppButton.js";import"../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/SettingsAccordion.js";import"../DevCenter/DevCenterAppContainer/components/AnnotationsButton/AnnotationsButton.js";import"../../componentsV2/Text/Text.js";import"../../componentsV2/Grid/Grid.js";import"../../componentsV2/Grid/Cell.js";import"../../componentsV2/Header/Header.scss.js";import{Button as se}from"../../componentsV2/Button/Button.js";import"../../componentsV2/ButtonIcon/ButtonIcon.js";import{Tooltip as re}from"../../componentsV2/Tooltip/Tooltip.js";import"../../componentsV2/Popover/Popover.js";import"../../componentsV2/Radio/Radio.js";import"../../componentsV2/RadioAndCheckboxGroup/RadioAndCheckboxGroup.scss.js";import"../../componentsV2/Checkbox/Checkbox.js";import"../../componentsV2/TextInput/TextInput.js";import"../../componentsV2/Label/Label.js";import"../../componentsV2/TextEndTruncated/TextEndTruncated.scss.js";import"../../componentsV2/TextMiddleTruncated/TextMiddleTruncated.constants.js";import"../../componentsV2/TextMiddleTruncated/TextMiddleTruncated.scss.js";import"../../componentsV2/TextLink/TextLink.js";import{LoaderCircular as ie}from"../../componentsV2/LoaderCircular/LoaderCircular.js";import"../../componentsV2/Chip/Chip.js";import"../../componentsV2/ChipAlert/ChipAlert.js";import"../../componentsV2/ChipIndicator/ChipIndicator.js";import"../../componentsV2/Avatar/Avatar.js";import"../../componentsV2/AvatarGroup/AvatarGroup.js";import"@material-ui/lab";import"../../componentsV2/ToggleButtons/ToggleButtons.scss.js";import"../../componentsV2/Paper/Paper.js";import"../../componentsV2/ModalWindow/ModalWindow.scss.js";import{Modal as pe}from"../../componentsV2/Modal/Modal.js";import"../../componentsV2/Menu/Menu.js";import"../../componentsV2/utils.js";import"../../componentsV2/Hint/Hint.scss.js";import"../../componentsV2/Counter/Counter.js";import"../../componentsV2/BadgeBase/BadgeBase.scss.js";import"../../componentsV2/BadgeDot/BadgeDot.scss.js";import"../../componentsV2/LoaderLinear/LoaderLinear.scss.js";import"../../componentsV2/LoaderLogo/LoaderLogo.constants.js";import"../../componentsV2/LoaderLogo/LoaderLogo.scss.js";import"../../componentsV2/Switch/Switch.js";import"../../componentsV2/Tabs/Tabs.js";import"../../componentsV2/EmptyState/EmptyState.scss.js";import"../../componentsV2/FileIcon/FileIcon.js";import"../../componentsV2/Tag/Tag.js";import"react-dropzone";import"../../componentsV2/FilesDropzone/FilesDropzone.scss.js";import"../../componentsV2/FilesLoader/FilesLoader.scss.js";import"../../componentsV2/FilesProcessor/FilesProcessor.scss.js";import"../../componentsV2/Skeleton/Skeleton.scss.js";import"../../utils/main.js";import"../../componentsV2/CopyToClipboard/CopyToClipboard.scss.js";import"../../componentsV2/Stepper/Step/Step.scss.js";import"../../componentsV2/Stepper/Stepper.scss.js";import"../../componentsV2/ButtonLive/ButtonLive.js";import"../../componentsV2/ButtonText/ButtonText.js";import"../../componentsV2/IndicatorLive/IndicatorLive.js";import"../../componentsV2/Accordion/Accordion.scss.js";import"../../componentsV2/Breadcrumbs/Breadcrumbs.scss.js";import"../../componentsV2/BadgeComment/BadgeComment.js";import"../../componentsV2/AppContainer/AppContainer.js";import"../../componentsV2/AppContainer/AppContainer.constants.js";import"../../componentsV2/AppFooter/AppFooter.js";import"../../componentsV2/AppCommonsProvider/AppCommonsContext.js";import"../../componentsV2/AppHeader/AppHeader.constants.js";import"../../componentsV2/AppHeader/AppBadge/AppBadge.scss.js";import"../../componentsV2/AppHeader/AppAssets/utils.js";import"../../componentsV2/AppHeader/AppAssets/AppAssets.scss.js";import"../PadModeSelect/PadModeSelect.js";import"../../componentsV2/AppHeader/PadMode/PadMode.scss.js";import"../../constants/streamSourceType.js";import"../../types/shared/Completions.js";import"../PadModeSelect/types.js";import"lodash/flatten";import"lodash/partition";import"../../componentsV2/PadModeSelect/FracModeLabel/FracModeLabel.js";import"../../componentsV2/PadModeSelect/FracModeLabel/FracModeLabel.constants.js";import"../../componentsV2/PadModeSelect/WellStreamActivityStatus/WellStreamActivityStatus.scss.js";import"../../componentsV2/PadModeSelect/PadModeSelect.constants.js";import"../../componentsV2/PadModeSelect/PadModeSelect.scss.js";import"querystring";import"uuid/v1";import"jsona";import"../../utils/env.js";import"../StatusBadge/constants.js";import"lodash/isEmpty";import"lodash/sortBy";import"../DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchContext.js";import{useGlobalOffsetWellsSync as ce}from"../../effects/useGlobalOffsetWellsSync.js";import"../../componentsV2/AppHeader/V3/VersionSelect/VersionSelect.js";import"../../componentsV2/UniversalLink/UniversalLink.scss.js";import"../../componentsV2/AppHeader/V3/AssetChips/AssetChips.scss.js";import"../../componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.js";import"../../componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.constants.js";import"../../componentsV2/AppFooter/DqPopover/DqStatusIcon/DqStatusIcon.js";import"../../componentsV2/AppDqPopover/DqAlertTooltip/DqAlertTooltip.scss.js";import"../../componentsV2/AppDqPopover/DqAlert/DqAlert.scss.js";import"../../componentsV2/AppDqPopover/DqAsset/DqAsset.scss.js";import"../../componentsV2/AppDqPopover/AppDqPopover.scss.js";import"../../utils/getSingleAsset.js";import"../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorChip/AssetSelectorChip.js";import"../../componentsV2/AppHeader/V3/AssetSelector/constants.js";import"../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/AssetSelectorSelect.scss.js";import"../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/loadAssets.js";import"../../componentsV2/AppHeader/V3/AssetSelector/AssetSelector.scss.js";import"../../componentsV2/AppHeader/V3/AppTitle/AppTitle.constants.js";import"../../componentsV2/AppContainer/headerCommon.scss.js";import"../../componentsV2/AppHeader/V3/AppTitle/AppTitle.scss.js";import"../../componentsV2/AppHeader/V3/constants.scss.js";import"@babel/runtime/helpers/typeof";import"../../componentsV2/AppHeader/V3/SettingsButton/SettingsButton.js";import"../../componentsV2/AppHeader/V3/SettingsButton/SettingsButton.constants.js";import"../../componentsV2/AppSettings/AppSettings.js";import"../../componentsV2/AppSettings/AppSettings.constants.js";import"../../componentsV2/AppSettings/AppSettingsPinningContext.js";import"../../componentsV2/AppSizeProvider/AppSizeProvider.js";import"../../componentsV2/AppHeader/V3/Actions/Actions.constants.js";import"../../componentsV2/AppHeader/V3/Actions/Actions.scss.js";import"../../componentsV2/AppHeader/V3/AppHeaderV3.scss.js";import"../../componentsV2/AppHeader/AppHeader.scss.js";import"../../componentsV2/OffsetWellsButton/OffsetWellsButton.js";import"../../componentsV2/Autocomplete/Autocomplete.scss.js";import"../../componentsV2/Menu/MenuItem/MenuItem.js";import"../../componentsV2/Autocomplete/AutocompleteListBox.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"../DevCenter/DevCenterAppContainer/components/FullscreenButton/FullscreenButton.js";import"../DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.js";import"../DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.js";import"../DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/index.js";import"rollbar";import"@rollbar/react";import"../DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.scss.js";import"../DevCenter/DevCenterAppContainer/DevCenterAppContainer.css.js";import"../Icons/AnnotationIcon.js";import"../Annotations/components/AnnotationsList/index.js";import"../Annotations/components/LastAnnotation/index.js";import"../Annotations/AnnotationsContext.js";import"../Toaster/Toaster.js";import"../HelpCenter/HelpCenterIcon.js";import"../DevCenter/NavigationBar/NavigationBar.js";import"../DevCenter/SideBar/SideBar.js";import"../DevCenter/AppSettingsPopover/AppSettingsPopover.js";import"../DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.js";import"../DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js";import"../DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.js";import"../AssetEditor/index.js";import"../AssetEditorV2/index.js";import"../AppVersionsSelect/AppVersionsSelect.js";import me from"../LoadingIndicator/LoadingIndicator.js";import"../Typography.js";import"../RealTimeValuesSidebar/RealTimeSidebar.js";import"../CollapsableSidebar.js";import"../DateTimePicker/index.js";import"../DatePicker/index.js";import"../ErrorBoundary/ErrorBoundary.js";import"../ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js";import"../SlateFormattedText/SlateFormattedText.js";import"../SlateFormattedText/RenderElements.js";import"slate";import"../EmptyState/EmptyState.js";import"../ParameterCharts/ParameterCharts.js";import"../ParameterCharts/AddEditTrack.js";import"../ChartActionsList/ChartActionsList.js";import"../CopyToClipboard/CopyToClipboard.js";import"../AssetEditor/AssetEditorAutocomplete.js";import"../AssetEditor/SingleAssetEditor.js";import"react-color";import"../SettingEditors/ColorEditor/style.css.js";import"../SettingEditors/DropdownEditor/index.js";import"../SwitchControl/index.js";import"../ColorPicker/ColorPicker.js";import"../Chart/components/ChartButton.js";import"../Chart/components/ChartButtons.js";import"../Chart/components/ChartWrapper.js";import"../Chart/components/AxisDropdown.js";import"../Chart/components/ChartSelect.js";import"../Chart/components/buttons/DragToZoomButton.js";import"../Chart/components/buttons/ZoomInButton.js";import"../Chart/components/buttons/ZoomOutButton.js";import"../Chart/components/buttons/PanButton.js";import"../Chart/components/buttons/ResetZoomButton.js";import"../Chart/components/buttons/HideAxesButton.js";import"../Chart/components/buttons/ChartTypeButton.js";import"../ColorPicker/PaletteChromePicker/PaletteChromePicker.js";import"../TruncatedText/index.js";import"../MiddleTruncatedText/MiddleTruncatedText.js";import"../RangeSlider/constants.js";import"../RangeSlider/Input.css.js";import"../RangeSlider/RangeSlider.css.js";import"../AdvancedSlider/AdvancedSlider.js";import"../Breadcrumbs/index.js";import"../VirtualizedTable/index.js";import"../EmptyView/EmptyView.js";import"../EmptyView/EmptyAppView/EmptyAppView.js";import"../Button/components/Button/index.js";import"moment-timezone";import"../Button/components/LiveButton/components/LiveButtonStateIndicator/index.js";import"../Button/components/LiveButton/styles.js";import"../ContextMenuItem/index.js";import"../FolderMenuItem/index.js";import"../EditableItem/EditableItem/index.js";import"../EditableItem/EditableItemWithBadge/index.js";import"../Checkbox/index.js";import"../FolderMenuItemWithLinks/index.js";import"../TextField/index.js";import"../Chip/index.js";import"../Counter/index.js";import"../AnchorsList/AnchorsList.js";import"../Select/index.js";import"../Select/SelectFilterBy.js";import"../CustomSelect/index.js";import"../Tabs/Tabs.js";import"../Tabs/Tab.js";import"../ResizableTable/ResizableTable.js";import"../GradientPicker/GradientPicker.js";import"../GradientManager/GradientList.js";import"@material-ui/icons/AddCircle";import"../GradientManager/GradientPreview/GradientPreview.js";import"../GradientManager/GradientSelect.styles.js";import"../GradientManager/GradientManager.styles.js";import"../Drillstring/BHASchematic.js";import"../Drillstring/BHATable/index.js";import"../Drillstring/BHAComponentIcon.js";import"../Drillstring/BHAComponentDetail/index.js";import"../Drillstring/BHATileIcon.js";import"../Drillstring/BHATile/BHATile.js";import"../Drillstring/BHAList/BHAList.js";import"../Drillstring/BHAComponentsTable/BHAComponentsTable.js";import"../Casing/CasingTable/index.js";import"../Casing/CasingComponentIcon.js";import"../Casing/CasingTileIcon.js";import"../Casing/CasingTableV2/CasingTableV2.js";import"../Casing/CasingTile/CasingTile.js";import"../DisabledSettingsMessage/DisabledSettingsMessage.js";import"../WellSummary/WellSummaryItemLabel.js";import"../WellSummary/WellSummaryItemTitle.js";import"../WellSummary/WellSummaryItemValue.js";import"../WellSummary/ActivitySummaryChart.js";import"../WellSummary/FracWirelineTimeChart.js";import"../BICOffsetPickerDialog/index.js";import"../OffsetWellButton/OffsetWellButton.js";import"../OffsetWellPickerV2/OffsetWellPickerDialog.js";import"../OffsetWellPickerV3/index.js";import"../OffsetWellChips/Chip.js";import"../OffsetWellChips/ChipsContainer.js";import"./OffsetWellPickerV5WithStore.js";import"../OffsetWellMap/OffsetWellMap.js";import"../ConfirmationDialog.js";import"../TextLink/index.js";import"../Avatar/index.js";import"../Template/TemplatePopover/index.js";import"../Template/TemplateSharingDialog/index.js";import"../MenuItem/index.js";import"../MiddleTruncate/MiddleTruncate.js";import"../PinnableFilters/PinnableFilters.js";import"../HeaderLayout/HeaderLayout.js";import"../PadOffsetsPicker/PadOffsetsPicker.js";import"../PadOffsetsPicker/OffsetAssetChip.js";import"../PadOffsetsPicker/OffsetAssetsListExpander.js";import"../PadOffsetsPicker/StagesSelector.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{showInfoNotification as le}from"../../utils/notificationToasts.js";function ae(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function de(t){for(var o=1;o<arguments.length;o++){var n=null!=arguments[o]?arguments[o]:{};o%2?ae(Object(n),!0).forEach((function(o){e(t,o,n[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ae(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var ue="OffsetWellPickerV5",je=function(){var ae,je,fe,Ce=_((function(e){return e.open})),Ae=_((function(e){return e.isWDUser})),ve=_((function(e){return e.defaultSubjectWell})),he=_((function(e){return e.currentUser})),Se=_((function(e){return e.offsetSettings})),ge=_((function(e){return e.isViewOnly})),Ie=_((function(e){return e.onClose})),Ve=_((function(e){return e.onSave})),be=_((function(e){return e.maxOffsetSize})),De=_((function(e){return e.localMaxOffsetSize})),Te=_((function(e){return e.syncAutoEnabled})),Pe=r(null),ye=n(Pe,2),xe=ye[0],Fe=ye[1],We=Math.min(be+1,De+1,E+1),Be=Math.min(Math.max(We,De+1),E+1),Me=null==ve?void 0:ve.asset_id,we=F(Me),Le=n(we,1)[0];ce(Se,Ve,Be);var ke=J((function(e){return e.isFilterExpanded})),Oe=J((function(e){return e.isMapHidden})),Ee=J((function(e){return e.isHScrollMoved})),He=J((function(e){return e.setIsHScrollMoved})),Ne=J((function(e){return e.isVScrollMoved})),Ge=J((function(e){return e.setIsVScrollMoved})),Re=J((function(e){return e.isAdvancedSearchHidden})),qe=J((function(e){return e.setIsAdvancedSearchHidden})),ze=+(null==ve?void 0:ve.companyId)||+(null==he?void 0:he.company_id),Ue=Me>0,Ke=X((function(e){return e.filters})),Ze=X((function(e){return e.setFilters})),_e=X((function(e){return e.resetFilters})),Xe=null!==(ae=X((function(e){var t;return null===(t=e.filters)||void 0===t?void 0:t.radius})))&&void 0!==ae?ae:B,Je=null!==(je=X((function(e){var t;return null===(t=e.filters)||void 0===t?void 0:t.selectionMode})))&&void 0!==je?je:"radius",Qe=X((function(e){var t;return null===(t=e.filters)||void 0===t?void 0:t.polygonCoords})),Ye=P({open:Ce}),$e=Ye.canViewCompanies,et=Ye.companies,tt=r([]),ot=n(tt,2),nt=ot[0],st=ot[1],rt=r([]),it=n(rt,2),pt=it[0],ct=it[1],mt=i(new Set),lt=r([]),at=n(lt,2),dt=at[0],ut=at[1],jt=r(!1),ft=n(jt,2),Ct=ft[0],At=ft[1],vt=p((function(){return null==Ke?void 0:Ke[M.company]}),[Ke]);c((function(){var e=(null==Se?void 0:Se.selectedWellIds)||[];!Ce||pt.length>0||0===e.length||o(s.mark((function t(){var o;return s.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,W(e);case 2:o=t.sent,ct(o);case 4:case"end":return t.stop()}}),t)})))()}),[Ce,null==Se?void 0:Se.selectedWellIds,pt.length]);var ht=p((function(){var e=nt.map((function(e){return e.companyId})).filter((function(e){return null!=e})),o=pt||[];if(!$e)return t(new Set((ze?[ze]:[]).concat(e,o)));if(void 0===vt||Array.isArray(vt)&&0===vt.length)return null;var n=new Set(vt);return ze&&n.add(ze),e.forEach((function(e){return n.add(e)})),o.forEach((function(e){return n.add(e)})),Array.from(n)}),[vt,ze,$e,nt,pt]),St=r((null==Se?void 0:Se.wellSection)||w),gt=n(St,2),It=gt[0],Vt=gt[1],bt=i(!0),Dt=r(!0),Tt=n(Dt,2),Pt=Tt[0],yt=Tt[1],xt=Be<=(null==nt?void 0:nt.length),Ft=i(),Wt=r(!0),Bt=n(Wt,2),Mt=Bt[0],wt=Bt[1];c((function(){if(Ce&&xt&&le("App can’t process more than (".concat(Be-1,") Offset Wells.")),!Ce){var e,t,o=new Set(Ft.current||[]);(null==Se||null===(e=Se.selectedWellIds)||void 0===e?void 0:e.length)===(null===(t=Ft.current)||void 0===t?void 0:t.length)&&((null==Se?void 0:Se.selectedWellIds)||[]).every((function(e){return o.has(e)}))||(bt.current=!0),Ft.current=null==Se?void 0:Se.selectedWellIds}}),[xt,Ce,Se,Be]);var Lt=v(ht,Le,Xe,Je,Qe),kt=n(Lt,2),Ot=kt[0],Et=kt[1],Ht=y(null==Se?void 0:Se.selectedWellIds),Nt=n(Ht,2),Gt=Nt[0],Rt=Nt[1],qt=x(),zt=n(qt,3),Ut=zt[0],Kt=zt[1],Zt=zt[2],_t=p((function(){if(!Ot)return null;var e=Ot;if(null!=Gt&&Gt.length){var t=new Set(e.map((function(e){return e.id}))),o=Gt.filter((function(e){return!t.has(e.id)}));o.length>0&&(e=e.concat(o))}if(null!=Ut&&Ut.length){var n=new Set(e.map((function(e){return e.id}))),s=Ut.filter((function(e){return!n.has(e.id)}));s.length>0&&(e=e.concat(s))}return Le&&!e.some((function(e){return e.id===Le.id}))&&(e=[Le].concat(e)),e}),[Ot,Le,Gt,Ut]),Xt=T(ze),Jt=n(Xt,1)[0],Qt=S(Me,_t),Yt=n(Qt,7),$t=Yt[0],eo=Yt[1],to=Yt[2],oo=Yt[3],no=Yt[4],so=Yt[5],ro=Yt[6],io=p((function(){return!!$t&&$t.some((function(e){return e.value!==w}))}),[$t]);c((function(){wt(!0),eo(null),oo(null)}),[oo,eo,Me]);var po=g(ze,null==Se?void 0:Se.metricsKeys),co=n(po,2),mo=co[0],lo=co[1],ao=h(_t,$t,to,Me,mo,Ce),uo=n(ao,2),jo=uo[0],fo=uo[1],Co=p((function(){if(!jo||null==et||!et.length)return jo;var e={};return et.forEach((function(t){e[t.id]=t.name})),jo.map((function(t){return de(de({},t),{},{companyName:e[t.companyId]||"Null"})}))}),[jo,et]),Ao=p((function(){return Le?Co&&Co.find((function(e){return e.id===Le.id}))||Le:null}),[Le,Co]),vo=!(Et||fo||Rt||Kt);c((function(){if(vo){var e,t=(e=o(s.mark((function e(){var t,o,n,r,i,p,c,m,l,a,d,u;return s.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=void 0===(null==Se?void 0:Se.isSynced)||(null==Se?void 0:Se.isSynced),o=!0,!t){e.next=20;break}if(r=to[w]||[],i=new Set(r),p=((null==Se?void 0:Se.selectedWellIds)||[]).every((function(e){return i.has(e)})),r.length===(null==Se||null===(n=Se.selectedWellIds)||void 0===n?void 0:n.length)&&p){e.next=17;break}return e.next=9,K(r,Me);case 9:c=e.sent,m=c.slice(0,De+1).map((function(e){return e.id})),l=de(de({},Se),{},{subjectWellId:Me,selectedWellIds:m,offsetWellsLimited:Be<=m.length}),a=new Set(m),d=c.filter((function(e){return a.has(e.id)})),Ve(l,d),e.next=18;break;case 17:o=!1;case 18:e.next=21;break;case 20:o=!1;case 21:if(o){e.next=26;break}return e.next=24,K((null==Se?void 0:Se.selectedWellIds)||[],Me);case 24:u=e.sent,Ve(Se,u);case 26:case"end":return e.stop()}}),e)}))),function(){return e.apply(this,arguments)});Te&&Mt&&Se&&to&&(t(),wt(!1))}}),[Se,to,Me,Be,Te,vo,Mt,We,De,Ve]);var ho=I(Co,et,$e),So=D(mo,$e,io),go=V(Co,Ke,Qe,Xe),Io=p((function(){if(!go)return go;var e=new Map((null==Co?void 0:Co.map((function(e){return[e.id,e]})))||[]),t=nt.map((function(t){return e.get(t.id)||t}));return a(t.concat(go),"id")}),[Co,go,nt]);c((function(){if(go&&vo&&bt.current){var e=new Set((null==Se?void 0:Se.selectedWellIds)||[]),t=Co.filter((function(t){return e.has(t.id)})),o=new Set(t.map((function(e){return e.id}))),n=nt.filter((function(t){return e.has(t.id)&&!o.has(t.id)}));t=t.concat(n),Ao&&(t=t.concat(Ao)),st(a(t,"id")),bt.current=!1}}),[Co,go,null==Se?void 0:Se.selectedWellIds,vo,Ao,nt]),c((function(){if(null!=Co&&Co.length&&0!==mt.current.size){var e=mt.current,t=Co.filter((function(t){return e.has(t.id)}));if(t.length>0){var o=t.map((function(e){return e.id}));ut((function(e){return e.filter((function(e){return!o.includes(e)}))})),st((function(e){var o=t.slice(0,Math.max(0,Be-e.length));return a(e.concat(o),"id")})),t.forEach((function(t){return e.delete(t.id)}))}}}),[Co,Be]);var Vo,bo=b(Ao,Io,nt,yt),Do=n(bo,5),To=Do[0],Po=Do[1],yo=Do[2],xo=Do[3],Fo=Do[4],Wo=m((Vo=o(s.mark((function e(t,o,n){var r,i,p,c,m,l,u,j;return s.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n===U.well.name?r=o:(i=new Map,p=new Map,Co.forEach((function(e){i.set(e.id,e.rigName),p.has(e.rigName)||p.set(e.rigName,[]),p.get(e.rigName).push(e.id)})),r=o.flatMap((function(e){var t=i.get(e);return p.get(t)||[]}))),c=new Set(r),m=Co.filter((function(e){var t=e.id;return c.has(t)})),!(t&&m.length<r.length)){e.next=11;break}if(l=new Set(m.map((function(e){return e.id}))),!((u=r.filter((function(e){return!l.has(e)}))).length>0)){e.next=11;break}return ut((function(e){return e.concat(u)})),e.next=10,Zt(u);case 10:u.forEach((function(e){return mt.current.add(e)}));case 11:t?(j=m.slice(0,Math.min(m.length,Be-nt.length))).length>0&&st((function(e){return a(e.concat(j),"id")})):st((function(e){return d(e.filter((function(e){var t=e.id;return!m.find((function(e){return e.id===t}))})))}));case 12:case"end":return e.stop()}}),e)}))),function(e,t,o){return Vo.apply(this,arguments)}),[Co,Be,nt.length,Zt]),Bo=m((function(){qe(!0)}),[qe]),Mo=m((function(e){lo(e)}),[lo]),wo=m((function(e,t){lo((function(o){return o.map((function(o){return o===e?t:o}))}))}),[lo]),Lo=m((function(e,t){Po(e),xo(t)}),[Po,xo]),ko=m((function(e,t){if(t){var o=(null==Co?void 0:Co.find((function(t){return t.id===e.id})))||e;st((function(e){return e.concat(o)}))}else st((function(t){return t.filter((function(t){return t.id!==e.id}))}))}),[Co]),Oo=m((function(e){if(e){var t=Ao?go.concat(Ao):go,o=u(a(t,"id"),"distance");st(o.slice(0,Be))}else st(Ao?[Ao]:[])}),[go,Ao,Be]),Eo=m((function(e){st((function(t){var o=new Set(t.map((function(e){return e.id}))),n=e.filter((function(e){return!o.has(e.id)}));if(0===n.length)return t;var s=Be-t.length,r=n.slice(0,s).map((function(e){return(null==Co?void 0:Co.find((function(t){return t.id===e.id})))||e}));return a(t.concat(r),"id")}))}),[Co,Be]),Ho=m((function(e){if(to){var t=new Set(to[e]||[]),o=(null==Co?void 0:Co.filter((function(e){return t.has(e.id)})))||[],n=u(o,"distance");st(n.slice(0,We))}else st(Ao?[Ao]:[])}),[to,We,Ao,Co]),No=m((function(e){Vt(e),Ho(e)}),[Ho]),Go=p((function(){return nt.find((function(e){return e.id===Me}))?nt.length-1:nt.length}),[nt,Me]),Ro=p((function(){if(!to)return!1;var e=nt.map((function(e){return e.id})),t=to[It]||[];if(Math.min(t.length,We)!==e.length)return!1;var o=new Set(t);return e.every((function(e){return o.has(e)}))}),[to,nt,It,We]),qo=p((function(){return!!Jt&&L.includes(Jt)}),[Jt]),zo=p((function(){return qo?"IDAS generated offsets.":Ae?"Offset Selection App.":"WellHub."}),[qo,Ae]),Uo=m((function(){Ie();var e=nt.map((function(e){return e.id})),t=de(de({},Se),{},{companyId:ze,subjectWellId:Me,selectedWellIds:e,filters:Ke,metricsKeys:mo,wellSection:It,isSynced:Ro,mapHidden:Oe,filterExpanded:ke,offsetWellsLimited:xt});Ve(t,nt)}),[Ie,nt,Se,ze,Me,Ke,mo,It,Ro,Oe,ke,xt,Ve]);c((function(){Ct&&0===mt.current.size&&(At(!1),Uo())}),[Ct,nt,Uo]);var Ko=function(){var e,t=new Set((null==Se?void 0:Se.selectedWellIds)||[]),o=(Co||[]).filter((function(e){return t.has(e.id)}));if(null!=Gt&&Gt.length){var n=new Set(o.map((function(e){return e.id}))),s=Gt.filter((function(e){return t.has(e.id)&&!n.has(e.id)}));o=o.concat(s)}Ao&&(o=o.concat(Ao)),st(a(o,"id"));var r=de(de({},Se),{},{mapHidden:Oe,filterExpanded:ke});Ve(r);var i=Q(null==Se?void 0:Se.filters);Ze(de(de({},i),{},{radius:null!==(e=null==i?void 0:i.radius)&&void 0!==e?e:B})),Vt((null==Se?void 0:Se.wellSection)||w),Ie()},Zo=Pt||Et,_o=p((function(){return!!Ue&&(!Zo&&(!Ro||(!(j(Ke)||!Ke[M.sideTracks])||It!==w)))}),[Ue,Ro,Ke,It,Zo]),Xo=m((function(){_e(),Vt(w),Ho(w)}),[_e,Ho]),Jo=!Co||!$t||!Fo,Qo=r(k),Yo=n(Qo,2),$o=Yo[0],en=Yo[1],tn=r([]),on=n(tn,2),nn=on[0],sn=on[1],rn=i();c((function(){if(Fo){var e=Fo.slice(0,$o);sn(e)}}),[Fo,$o,Ao]),c((function(){if(rn.current){var e=rn.current.querySelector(".".concat($.wellNameFixed));e&&(Ee?e.classList.remove($.noShadow):e.classList.add($.noShadow))}}),[Ee,nn]);var pn=p((function(){return a(nn,"id")}),[nn]),cn=p((function(){var e=pn.filter((function(e){return e.checked}));return[e,pn.length!==e.length&&Boolean(e.length)&&!xt,e.length===pn.length||xt]}),[pn,xt]),mn=n(cn,3),ln=mn[0],an=mn[1],dn=mn[2],un=p((function(){return Z()}),[]);c((function(){no===O.SUCCEEDED&&Xo()}),[to,Xo,no]);return ee(pe,{open:Ce,onClose:Ko,size:"fullscreen",className:Y.modalDialog,title:ee(H,{totalCount:null!==(fe=null==Co?void 0:Co.length)&&void 0!==fe?fe:0,selectedCount:Go,maxOffsetWellNumber:Be,isXtoProvider:qo,resyncStatus:no,setResyncStatus:so,metricsKeys:mo,onChangeMetricsKeys:Mo}),actions:!ge&&te("div",{className:Y.actionsWrapper,children:[!Jo&&_o?ee(re,{placement:"bottom-start",title:"Reset to Synced Offsets in ".concat(Ae?"Offset App":"Wellhub"),children:ee("div",{children:ee(se,{"data-testid":"".concat(ue,"_reset"),onClick:Xo,color:"primary",startIcon:ee(f,{}),children:"Reset to Defaults"})})}):Ue&&te("div",{children:[ee("span",{className:l(ne.regular12,ne.colors.t6),children:"The offset list is being automatically populated by "}),ee("span",{className:l(ne.medium12,ne.colors.t6),children:zo})]}),te("div",{className:Y.buttonGap,children:[ee(se,{"data-testid":"".concat(ue,"_cancel"),onClick:Ko,color:"primary",children:"Cancel"}),te(se,{"data-testid":"".concat(ue,"_selectedWells"),variant:"contained",color:"primary",onClick:function(){mt.current.size>0?At(!0):Uo()},disabled:Ct,prefix:Ct?ee(ie,{size:16}):void 0,children:["Select (",Go,")"]})]})]}),children:te("div",{className:l(Y.offsetWellDialog),children:[ee(oe,{}),Jo?ee(me,{}):te("div",{className:l(Y.contentWrapper,e({},Y.contentBlocked,Zo)),children:[te("div",{className:Y.columnsContainer,children:[!Oe&&Ce&&ee("div",{className:Y.leftColumn,children:ee(G,{mapHidden:Oe,subjectWell:Ao,offsetWellIds:nt.map((function(e){return e.id})),wells:Io,handleChangeOffsetWell:ko,onBatchSelectWells:Eo,activeWellId:xe,isLoading:Et})}),te("div",{className:Y.rightColumn,onScroll:function(e){e.target&&(Re&&(e.target.scrollLeft=0,qe(!1)),e.target.scrollLeft<=5&&Ee&&He(!1),e.target.scrollLeft>5&&!Ee&&He(!0),e.target.scrollTop<=0&&Ne&&Ge(!1),e.target.scrollTop>0&&!Ne&&Ge(!0),e.target.scrollHeight!==e.target.offsetHeight&&Math.round(e.target.scrollTop+e.target.offsetHeight+2)>=e.target.scrollHeight&&$o<Fo.length&&en((function(e){return e+k})))},children:[ee(N,{isHidden:!ke,filterOptions:ho,wellSections:$t,selectedWellSection:It,onChangeBicWells:No}),ee("div",{className:$.stickyTableWrapper,children:te(C,{"aria-label":"ows table head",innerRef:rn,className:$.stickyTable,children:[ee(A,{children:ee(q,{columnsWithDict:So,metricsKeys:mo,sortBy:To,sortDirection:yo,indeterminate:an,isAllWellsSelected:dn,onChangeSort:Lo,onUpdateMetricsKey:wo,handleChangeAllOffsetWells:Oo,wellNameStyle:$.wellNameFixed,isImperial:un,isTaColumnVisible:!!ro.length,isWellSectionColumnVisible:io})}),ge&&ee("div",{className:l(Y.topGradient,e({},Y.topGradientScrolled,Ne))})]})}),!ge&&te("div",{className:l($.searchCellWrapper),children:[ee("div",{className:$.searchCell,children:ee(z,{companyId:ze,subjectWellId:Me,onChange:Wo,selectedWellIds:ln.map((function(e){return e.id})),onHideAdvancedSearch:Bo,loadingAssetIds:dt})}),ee("div",{className:l(Y.topGradient,e({},Y.topGradientScrolled,Ne))})]}),ee(R,{isTableLoading:Zo,subjectWellId:Me,columnsWithDict:So,wells:nn,metricsKeys:mo,handleChangeOffsetWell:ko,isLastWell:Fo.length<=$o,isLimitedOffsetWells:xt,maxOffsetWellNumber:Be,wellSections:$t,setActiveWellId:Fe,taScores:ro,isWellSectionColumnVisible:io})]})]}),ge&&Ue&&te("div",{className:Y.viewOnlyInfoContainer,children:[ee("span",{className:l(ne.regular12,ne.colors.t6),children:"The offset list is being automatically populated by "}),ee("span",{className:l(ne.medium12,ne.colors.t6),children:zo})]})]})]})})};export{je as OffsetWellPickerV5};
|
|
1
|
+
import e from"@babel/runtime/helpers/defineProperty";import t from"@babel/runtime/helpers/toConsumableArray";import o from"@babel/runtime/helpers/asyncToGenerator";import n from"@babel/runtime/helpers/slicedToArray";import s from"@babel/runtime/regenerator";import{useState as r,useRef as i,useMemo as c,useEffect as p,useCallback as l,useLayoutEffect as m}from"react";import a from"classnames";import{uniqBy as d,uniq as u,sortBy as f,isEmpty as j}from"lodash";import{Replay as v}from"@material-ui/icons";import{Table as C,TableHead as A}from"@material-ui/core";import{useFetchWells as h}from"./effects/useFetchWells.js";import{useAdvancedWells as g}from"./effects/useAdvancedWells.js";import{useBicWells as S}from"./effects/useBicWells.js";import{useCompanyMetricKey as V}from"./effects/useCompanyMetricKey.js";import{useFilterOptions as I}from"./effects/useFilterOptions.js";import{useFilteredWells as b}from"./effects/useFilteredWells.js";import{useSortedWells as P}from"./effects/useSortedWells.js";import"./effects/useAssetsData.js";import{useTableColumns as D}from"./effects/useTableColumns.js";import{useCompanyProvider as T}from"./effects/useCompanyProvider.js";import{useCompanies as x}from"./effects/useCompanies.js";import{usePinnedWells as y}from"./effects/usePinnedWells.js";import{useSearchedWells as W}from"./effects/useSearchedWells.js";import{useFetchSubjectWell as F}from"./effects/useFetchSubjectWell.js";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"./api/shared/dataFormatter.js";import{fetchCompanyIdsByWellIds as k}from"./api/wells/fetchCompanyIdsByWellIds.js";import{DEFAULT_RADIUS_MILES as B,FilterType as w,ALL_SECTION_KEY as O,COMPANY_PROVIDERS_FOR_IDAS as M,ROWS_PER_PAGE as L,RESYNC_STATUS as E,MAX_OFFSET_SIZE as H}from"./constants.js";import{AppHeader as N}from"./components/AppHeader/AppHeader.js";import{Filter as G}from"./components/Filter/Filter.js";import{WellsMap as R}from"./components/Map/WellsMap.js";import{OffsetWellsTable as q}from"./components/OffsetWellsTable/OffsetWellsTable.js";import{OffsetWellsTableHead as z}from"./components/OffsetWellsTable/OffsetWellsTableHead.js";import{AdvancedSearch as U}from"./components/OffsetWellsTable/AdvancedSearch/AdvancedSearch.js";import{SEARCH_CATEGORIES as K}from"./components/OffsetWellsTable/AdvancedSearch/constants.js";import{getCoordinatedWells as Z}from"./utils/index.js";import{getIsImperial as _}from"./utils/getIsImperial.js";import{usePickerPropsStore as X}from"./stores/picker-props-store/usePickerPropsStore.js";import{useFilterStore as J}from"./stores/filter-store/useFilterStore.js";import{useViewStore as Q}from"./stores/view-store/useViewStore.js";import{normalizeFilters as Y}from"./stores/filter-store/utils/normalizeFilters.js";import $ from"./OffsetWellPickerV5.module.css.js";import ee from"./components/OffsetWellsTable/OffsetWellsTable.module.css.js";import"../../utils/index.js";import{jsx as te,jsxs as oe}from"react/jsx-runtime";import"@material-ui/core/Snackbar";import"../Notifications/Toast.js";import"../Notifications/Notifications.scss.js";import{NotificationsContainer as ne}from"../Notifications/NotificationsContainer.js";import se from"../../styles/typography/index.js";import"../../styles/counter/counter.module.scss.js";import"../DevCenter/DevCenterAppContainer/components/IsInsideIsolatedDcAppProvider/IsInsideIsolatedDcAppProvider.js";import"../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js";import"../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js";import"@icon-park/react/es/all";import"../../icons/IconParkProvider.js";import"../../icons/customIcons/icons/AddMessage.js";import"../../icons/customIcons/icons/Attention.js";import"../../icons/customIcons/icons/Collapse.js";import"../../icons/customIcons/icons/Dashboard.js";import"../../icons/customIcons/icons/Expand.js";import"../../icons/customIcons/icons/FolderClosed.js";import"../../icons/customIcons/icons/FolderClosedFilled.js";import"../../icons/customIcons/icons/FolderOpened.js";import"../../icons/customIcons/icons/GreaterOrEqual.js";import"../../icons/customIcons/icons/LessOrEqual.js";import"../../icons/customIcons/icons/Search.js";import"../../icons/customIcons/icons/SearchOne.js";import"../../icons/customIcons/icons/Wellhub.js";import"../../icons/customIcons/icons/MultiRuler.js";import"../../icons/customIcons/icons/Checkbox.js";import"../../icons/customIcons/icons/CheckboxChecked.js";import"../../icons/customIcons/icons/CheckboxIndeterminate.js";import"../../icons/customIcons/icons/Radio.js";import"../../icons/customIcons/icons/RadioChecked.js";import"../../icons/customIcons/icons/SimulFrac.js";import"../../icons/customIcons/icons/ZipperFrac.js";import"../../icons/customIcons/icons/CautionFilled.js";import"../../icons/customIcons/icons/MoreApp.js";import"../../icons/customIcons/icons/Pad.js";import"../../icons/customIcons/icons/DrilloutUnit.js";import"../../icons/customIcons/icons/FracFleet.js";import"../../icons/customIcons/icons/Global.js";import"../../icons/customIcons/icons/Program.js";import"../../icons/customIcons/icons/Rig.js";import"../../icons/customIcons/icons/Well.js";import"../../icons/customIcons/icons/Gap.js";import"../../icons/customIcons/icons/Pin.js";import"../../icons/customIcons/icons/CloseOneFilled.js";import"../../icons/customIcons/icons/AttentionFilled.js";import"../../icons/customIcons/icons/CheckOneFilled.js";import"../../icons/customIcons/icons/Archive.js";import"../../icons/customIcons/icons/ArchiveCancel.js";import"../../icons/customIcons/icons/Unarchive.js";import"../../icons/customIcons/icons/Archived.js";import"../../icons/customIcons/icons/InterventionUnit.js";import"../../icons/customIcons/icons/Lasso.js";import"../../utils/mobileDetect.js";import"../IconButton/index.js";import"../../constants/goals.js";import"../../constants/segment.js";import"../../constants/alerts.js";import"../../constants/apps.js";import"../../constants/drillstring.js";import"../../constants/completion.js";import"../../constants/appPackages.js";import"../../constants/notifications.js";import"../../constants/feed.js";import"../../constants/bha.js";import"../../constants/corvaCompanyId.js";import"../GradientManager/configuration/constants.js";import"../Modal/CorvaModal.css.js";import"../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"@babel/runtime/helpers/objectWithoutProperties";import"react-router";import"../DevCenter/DevCenterAppContainer/components/AppActions/AppActions.css.js";import"../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js";import"../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/RemoveAppButton.js";import"../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/SettingsAccordion.js";import"../DevCenter/DevCenterAppContainer/components/AnnotationsButton/AnnotationsButton.js";import"../../componentsV2/Text/Text.js";import"../../componentsV2/Grid/Grid.js";import"../../componentsV2/Grid/Cell.js";import"../../componentsV2/Header/Header.scss.js";import{Button as re}from"../../componentsV2/Button/Button.js";import"../../componentsV2/ButtonIcon/ButtonIcon.js";import{Tooltip as ie}from"../../componentsV2/Tooltip/Tooltip.js";import"../../componentsV2/Popover/Popover.js";import"../../componentsV2/Radio/Radio.js";import"../../componentsV2/RadioAndCheckboxGroup/RadioAndCheckboxGroup.scss.js";import"../../componentsV2/Checkbox/Checkbox.js";import"../../componentsV2/TextInput/TextInput.js";import"../../componentsV2/Label/Label.js";import"../../componentsV2/TextEndTruncated/TextEndTruncated.scss.js";import"../../componentsV2/TextMiddleTruncated/TextMiddleTruncated.constants.js";import"../../componentsV2/TextMiddleTruncated/TextMiddleTruncated.scss.js";import"../../componentsV2/TextLink/TextLink.js";import{LoaderCircular as ce}from"../../componentsV2/LoaderCircular/LoaderCircular.js";import"../../componentsV2/Chip/Chip.js";import"../../componentsV2/ChipAlert/ChipAlert.js";import"../../componentsV2/ChipIndicator/ChipIndicator.js";import"../../componentsV2/Avatar/Avatar.js";import"../../componentsV2/AvatarGroup/AvatarGroup.js";import"@material-ui/lab";import"../../componentsV2/ToggleButtons/ToggleButtons.scss.js";import"../../componentsV2/Paper/Paper.js";import"../../componentsV2/ModalWindow/ModalWindow.scss.js";import{Modal as pe}from"../../componentsV2/Modal/Modal.js";import"../../componentsV2/Menu/Menu.js";import"../../componentsV2/utils.js";import"../../componentsV2/Hint/Hint.scss.js";import"../../componentsV2/Counter/Counter.js";import"../../componentsV2/BadgeBase/BadgeBase.scss.js";import"../../componentsV2/BadgeDot/BadgeDot.scss.js";import"../../componentsV2/LoaderLinear/LoaderLinear.scss.js";import"../../componentsV2/LoaderLogo/LoaderLogo.constants.js";import"../../componentsV2/LoaderLogo/LoaderLogo.scss.js";import"../../componentsV2/Switch/Switch.js";import"../../componentsV2/Tabs/Tabs.js";import"../../componentsV2/EmptyState/EmptyState.scss.js";import"../../componentsV2/FileIcon/FileIcon.js";import"../../componentsV2/Tag/Tag.js";import"react-dropzone";import"../../componentsV2/FilesDropzone/FilesDropzone.scss.js";import"../../componentsV2/FilesLoader/FilesLoader.scss.js";import"../../componentsV2/FilesProcessor/FilesProcessor.scss.js";import"../../componentsV2/Skeleton/Skeleton.scss.js";import"../../utils/main.js";import"../../componentsV2/CopyToClipboard/CopyToClipboard.scss.js";import"../../componentsV2/Stepper/Step/Step.scss.js";import"../../componentsV2/Stepper/Stepper.scss.js";import"../../componentsV2/ButtonLive/ButtonLive.js";import"../../componentsV2/ButtonText/ButtonText.js";import"../../componentsV2/IndicatorLive/IndicatorLive.js";import"../../componentsV2/Accordion/Accordion.scss.js";import"../../componentsV2/Breadcrumbs/Breadcrumbs.scss.js";import"../../componentsV2/BadgeComment/BadgeComment.js";import"../../componentsV2/AppContainer/AppContainer.js";import"../../componentsV2/AppContainer/AppContainer.constants.js";import"../../componentsV2/AppFooter/AppFooter.js";import"../../componentsV2/AppCommonsProvider/AppCommonsContext.js";import"../../componentsV2/AppHeader/AppHeader.constants.js";import"../../componentsV2/AppHeader/AppBadge/AppBadge.scss.js";import"../../componentsV2/AppHeader/AppAssets/utils.js";import"../../componentsV2/AppHeader/AppAssets/AppAssets.scss.js";import"../PadModeSelect/PadModeSelect.js";import"../../componentsV2/AppHeader/PadMode/PadMode.scss.js";import"../../constants/streamSourceType.js";import"../../types/shared/Completions.js";import"../PadModeSelect/types.js";import"lodash/flatten";import"lodash/partition";import"../../componentsV2/PadModeSelect/FracModeLabel/FracModeLabel.js";import"../../componentsV2/PadModeSelect/FracModeLabel/FracModeLabel.constants.js";import"../../componentsV2/PadModeSelect/WellStreamActivityStatus/WellStreamActivityStatus.scss.js";import"../../componentsV2/PadModeSelect/PadModeSelect.constants.js";import"../../componentsV2/PadModeSelect/PadModeSelect.scss.js";import"querystring";import"uuid/v1";import"jsona";import"../../utils/env.js";import"../StatusBadge/constants.js";import"lodash/isEmpty";import"lodash/sortBy";import"../DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchContext.js";import{useGlobalOffsetWellsSync as le}from"../../effects/useGlobalOffsetWellsSync.js";import"../../componentsV2/AppHeader/V3/VersionSelect/VersionSelect.js";import"../../componentsV2/UniversalLink/UniversalLink.scss.js";import"../../componentsV2/AppHeader/V3/AssetChips/AssetChips.scss.js";import"../../componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.js";import"../../componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.constants.js";import"../../componentsV2/AppFooter/DqPopover/DqStatusIcon/DqStatusIcon.js";import"../../componentsV2/AppDqPopover/DqAlertTooltip/DqAlertTooltip.scss.js";import"../../componentsV2/AppDqPopover/DqAlert/DqAlert.scss.js";import"../../componentsV2/AppDqPopover/DqAsset/DqAsset.scss.js";import"../../componentsV2/AppDqPopover/AppDqPopover.scss.js";import"../../utils/getSingleAsset.js";import"../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorChip/AssetSelectorChip.js";import"../../componentsV2/AppHeader/V3/AssetSelector/constants.js";import"../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/AssetSelectorSelect.scss.js";import"../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/loadAssets.js";import"../../componentsV2/AppHeader/V3/AssetSelector/AssetSelector.scss.js";import"../../componentsV2/AppHeader/V3/AppTitle/AppTitle.constants.js";import"../../componentsV2/AppContainer/headerCommon.scss.js";import"../../componentsV2/AppHeader/V3/AppTitle/AppTitle.scss.js";import"../../componentsV2/AppHeader/V3/constants.scss.js";import"@babel/runtime/helpers/typeof";import"../../componentsV2/AppHeader/V3/SettingsButton/SettingsButton.js";import"../../componentsV2/AppHeader/V3/SettingsButton/SettingsButton.constants.js";import"../../componentsV2/AppSettings/AppSettings.js";import"../../componentsV2/AppSettings/AppSettings.constants.js";import"../../componentsV2/AppSettings/AppSettingsPinningContext.js";import"../../componentsV2/AppSizeProvider/AppSizeProvider.js";import"../../componentsV2/AppHeader/V3/Actions/Actions.constants.js";import"../../componentsV2/AppHeader/V3/Actions/Actions.scss.js";import"../../componentsV2/AppHeader/V3/AppHeaderV3.scss.js";import"../../componentsV2/AppHeader/AppHeader.scss.js";import"../../componentsV2/OffsetWellsButton/OffsetWellsButton.js";import"../../componentsV2/Autocomplete/Autocomplete.scss.js";import"../../componentsV2/Menu/MenuItem/MenuItem.js";import"../../componentsV2/Autocomplete/AutocompleteListBox.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"../DevCenter/DevCenterAppContainer/components/FullscreenButton/FullscreenButton.js";import"../DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.js";import"../DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.js";import"../DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/index.js";import"rollbar";import"@rollbar/react";import"../DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.scss.js";import"../DevCenter/DevCenterAppContainer/DevCenterAppContainer.css.js";import"../Icons/AnnotationIcon.js";import"../Annotations/components/AnnotationsList/index.js";import"../Annotations/components/LastAnnotation/index.js";import"../Annotations/AnnotationsContext.js";import"../Toaster/Toaster.js";import"../HelpCenter/HelpCenterIcon.js";import"../DevCenter/NavigationBar/NavigationBar.js";import"../DevCenter/SideBar/SideBar.js";import"../DevCenter/AppSettingsPopover/AppSettingsPopover.js";import"../DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.js";import"../DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js";import"../DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.js";import"../AssetEditor/index.js";import"../AssetEditorV2/index.js";import"../AppVersionsSelect/AppVersionsSelect.js";import me from"../LoadingIndicator/LoadingIndicator.js";import"../Typography.js";import"../RealTimeValuesSidebar/RealTimeSidebar.js";import"../CollapsableSidebar.js";import"../DateTimePicker/index.js";import"../DatePicker/index.js";import"../ErrorBoundary/ErrorBoundary.js";import"../ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js";import"../SlateFormattedText/SlateFormattedText.js";import"../SlateFormattedText/RenderElements.js";import"slate";import"../EmptyState/EmptyState.js";import"../ParameterCharts/ParameterCharts.js";import"../ParameterCharts/AddEditTrack.js";import"../ChartActionsList/ChartActionsList.js";import"../CopyToClipboard/CopyToClipboard.js";import"../AssetEditor/AssetEditorAutocomplete.js";import"../AssetEditor/SingleAssetEditor.js";import"react-color";import"../SettingEditors/ColorEditor/style.css.js";import"../SettingEditors/DropdownEditor/index.js";import"../SwitchControl/index.js";import"../ColorPicker/ColorPicker.js";import"../Chart/components/ChartButton.js";import"../Chart/components/ChartButtons.js";import"../Chart/components/ChartWrapper.js";import"../Chart/components/AxisDropdown.js";import"../Chart/components/ChartSelect.js";import"../Chart/components/buttons/DragToZoomButton.js";import"../Chart/components/buttons/ZoomInButton.js";import"../Chart/components/buttons/ZoomOutButton.js";import"../Chart/components/buttons/PanButton.js";import"../Chart/components/buttons/ResetZoomButton.js";import"../Chart/components/buttons/HideAxesButton.js";import"../Chart/components/buttons/ChartTypeButton.js";import"../ColorPicker/PaletteChromePicker/PaletteChromePicker.js";import"../TruncatedText/index.js";import"../MiddleTruncatedText/MiddleTruncatedText.js";import"../RangeSlider/constants.js";import"../RangeSlider/Input.css.js";import"../RangeSlider/RangeSlider.css.js";import"../AdvancedSlider/AdvancedSlider.js";import"../Breadcrumbs/index.js";import"../VirtualizedTable/index.js";import"../EmptyView/EmptyView.js";import"../EmptyView/EmptyAppView/EmptyAppView.js";import"../Button/components/Button/index.js";import"moment-timezone";import"../Button/components/LiveButton/components/LiveButtonStateIndicator/index.js";import"../Button/components/LiveButton/styles.js";import"../ContextMenuItem/index.js";import"../FolderMenuItem/index.js";import"../EditableItem/EditableItem/index.js";import"../EditableItem/EditableItemWithBadge/index.js";import"../Checkbox/index.js";import"../FolderMenuItemWithLinks/index.js";import"../TextField/index.js";import"../Chip/index.js";import"../Counter/index.js";import"../AnchorsList/AnchorsList.js";import"../Select/index.js";import"../Select/SelectFilterBy.js";import"../CustomSelect/index.js";import"../Tabs/Tabs.js";import"../Tabs/Tab.js";import"../ResizableTable/ResizableTable.js";import"../GradientPicker/GradientPicker.js";import"../GradientManager/GradientList.js";import"@material-ui/icons/AddCircle";import"../GradientManager/GradientPreview/GradientPreview.js";import"../GradientManager/GradientSelect.styles.js";import"../GradientManager/GradientManager.styles.js";import"../Drillstring/BHASchematic.js";import"../Drillstring/BHATable/index.js";import"../Drillstring/BHAComponentIcon.js";import"../Drillstring/BHAComponentDetail/index.js";import"../Drillstring/BHATileIcon.js";import"../Drillstring/BHATile/BHATile.js";import"../Drillstring/BHAList/BHAList.js";import"../Drillstring/BHAComponentsTable/BHAComponentsTable.js";import"../Casing/CasingTable/index.js";import"../Casing/CasingComponentIcon.js";import"../Casing/CasingTileIcon.js";import"../Casing/CasingTableV2/CasingTableV2.js";import"../Casing/CasingTile/CasingTile.js";import"../DisabledSettingsMessage/DisabledSettingsMessage.js";import"../WellSummary/WellSummaryItemLabel.js";import"../WellSummary/WellSummaryItemTitle.js";import"../WellSummary/WellSummaryItemValue.js";import"../WellSummary/ActivitySummaryChart.js";import"../WellSummary/FracWirelineTimeChart.js";import"../BICOffsetPickerDialog/index.js";import"../OffsetWellButton/OffsetWellButton.js";import"../OffsetWellPickerV2/OffsetWellPickerDialog.js";import"../OffsetWellPickerV3/index.js";import"../OffsetWellChips/Chip.js";import"../OffsetWellChips/ChipsContainer.js";import"./OffsetWellPickerV5WithStore.js";import"../OffsetWellPickerV4/utils/apiCalls.js";import"../OffsetWellPickerV4/effects/useAdvancedWells.js";import"../OffsetWellPickerV4/constants.js";import"react-virtualized";import"../OffsetWellPickerV4/effects/useAssetsData.js";import"../../permissions/PermissionsContext.js";import"../../permissions/constants/index.js";import"../../permissions/withPermissionsHOC.js";import"../../permissions/ProvidePermissions.js";import"../OffsetWellPickerV4/components/AppHeader/AppHeader.js";import"../OffsetWellPickerV4/components/Toolbar/Toolbar.js";import"../OffsetWellPickerV4/components/Filter/Filter.js";import"../OffsetWellPickerV4/components/Map/WellsMap.js";import"../OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTable.js";import"../OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/constants.js";import"../OffsetWellPickerV4/utils/index.js";import"../OffsetWellPickerV4/OffsetWellPickerV4.module.css.js";import"../OffsetWellMap/OffsetWellMap.js";import"../ConfirmationDialog.js";import"../TextLink/index.js";import"../Avatar/index.js";import"../Template/TemplatePopover/index.js";import"../Template/TemplateSharingDialog/index.js";import"../MenuItem/index.js";import"../MiddleTruncate/MiddleTruncate.js";import"../PinnableFilters/PinnableFilters.js";import"../HeaderLayout/HeaderLayout.js";import"../PadOffsetsPicker/PadOffsetsPicker.js";import"../PadOffsetsPicker/OffsetAssetChip.js";import"../PadOffsetsPicker/OffsetAssetsListExpander.js";import"../PadOffsetsPicker/StagesSelector.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{showInfoNotification as ae}from"../../utils/notificationToasts.js";function de(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function ue(t){for(var o=1;o<arguments.length;o++){var n=null!=arguments[o]?arguments[o]:{};o%2?de(Object(n),!0).forEach((function(o){e(t,o,n[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):de(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var fe="OffsetWellPickerV5",je=function(){var de,je,ve,Ce=X((function(e){return e.open})),Ae=X((function(e){return e.isWDUser})),he=X((function(e){return e.defaultSubjectWell})),ge=X((function(e){return e.currentUser})),Se=X((function(e){return e.offsetSettings})),Ve=X((function(e){return e.isViewOnly})),Ie=X((function(e){return e.onClose})),be=X((function(e){return e.onSave})),Pe=X((function(e){return e.maxOffsetSize})),De=X((function(e){return e.localMaxOffsetSize})),Te=X((function(e){return e.syncAutoEnabled})),xe=r(null),ye=n(xe,2),We=ye[0],Fe=ye[1],ke=i(null),Be=Math.min(Pe+1,De+1,H+1),we=Math.min(Math.max(Be,De+1),H+1),Oe=null==he?void 0:he.asset_id,Me=F(Oe),Le=n(Me,1)[0];le(Se,be,we);var Ee=Q((function(e){return e.isFilterExpanded})),He=Q((function(e){return e.isMapHidden})),Ne=Q((function(e){return e.isHScrollMoved})),Ge=Q((function(e){return e.setIsHScrollMoved})),Re=Q((function(e){return e.isVScrollMoved})),qe=Q((function(e){return e.setIsVScrollMoved})),ze=Q((function(e){return e.isAdvancedSearchHidden})),Ue=Q((function(e){return e.setIsAdvancedSearchHidden})),Ke=+(null==he?void 0:he.companyId)||+(null==ge?void 0:ge.company_id),Ze=Oe>0,_e=J((function(e){return e.filters})),Xe=J((function(e){return e.setFilters})),Je=J((function(e){return e.resetFilters})),Qe=null!==(de=J((function(e){var t;return null===(t=e.filters)||void 0===t?void 0:t.radius})))&&void 0!==de?de:B,Ye=null!==(je=J((function(e){var t;return null===(t=e.filters)||void 0===t?void 0:t.selectionMode})))&&void 0!==je?je:"radius",$e=J((function(e){var t;return null===(t=e.filters)||void 0===t?void 0:t.polygonCoords})),et=x({open:Ce}),tt=et.canViewCompanies,ot=et.companies,nt=r([]),st=n(nt,2),rt=st[0],it=st[1],ct=r([]),pt=n(ct,2),lt=pt[0],mt=pt[1],at=i(new Set),dt=r([]),ut=n(dt,2),ft=ut[0],jt=ut[1],vt=r(!1),Ct=n(vt,2),At=Ct[0],ht=Ct[1],gt=c((function(){return null==_e?void 0:_e[w.company]}),[_e]);p((function(){var e=(null==Se?void 0:Se.selectedWellIds)||[];!Ce||lt.length>0||0===e.length||o(s.mark((function t(){var o;return s.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,k(e);case 2:o=t.sent,mt(o);case 4:case"end":return t.stop()}}),t)})))()}),[Ce,null==Se?void 0:Se.selectedWellIds,lt.length]);var St=c((function(){var e=rt.map((function(e){return e.companyId})).filter((function(e){return null!=e})),o=lt||[];if(!tt)return t(new Set((Ke?[Ke]:[]).concat(e,o)));if(void 0===gt||Array.isArray(gt)&&0===gt.length)return null;var n=new Set(gt);return Ke&&n.add(Ke),e.forEach((function(e){return n.add(e)})),o.forEach((function(e){return n.add(e)})),Array.from(n)}),[gt,Ke,tt,rt,lt]),Vt=r((null==Se?void 0:Se.wellSection)||O),It=n(Vt,2),bt=It[0],Pt=It[1],Dt=i(!0),Tt=r(!0),xt=n(Tt,2),yt=xt[0],Wt=xt[1],Ft=we<=(null==rt?void 0:rt.length),kt=i(),Bt=r(!0),wt=n(Bt,2),Ot=wt[0],Mt=wt[1];p((function(){if(Ce&&Ft&&ae("App can’t process more than (".concat(we-1,") Offset Wells.")),!Ce){var e,t,o=new Set(kt.current||[]);(null==Se||null===(e=Se.selectedWellIds)||void 0===e?void 0:e.length)===(null===(t=kt.current)||void 0===t?void 0:t.length)&&((null==Se?void 0:Se.selectedWellIds)||[]).every((function(e){return o.has(e)}))||(Dt.current=!0),kt.current=null==Se?void 0:Se.selectedWellIds}}),[Ft,Ce,Se,we]);var Lt=h(St,Le,Qe,Ye,$e),Et=n(Lt,2),Ht=Et[0],Nt=Et[1],Gt=y(null==Se?void 0:Se.selectedWellIds),Rt=n(Gt,2),qt=Rt[0],zt=Rt[1],Ut=W(),Kt=n(Ut,3),Zt=Kt[0],_t=Kt[1],Xt=Kt[2],Jt=c((function(){if(!Ht)return null;var e=Ht;if(null!=qt&&qt.length){var t=new Set(e.map((function(e){return e.id}))),o=qt.filter((function(e){return!t.has(e.id)}));o.length>0&&(e=e.concat(o))}if(null!=Zt&&Zt.length){var n=new Set(e.map((function(e){return e.id}))),s=Zt.filter((function(e){return!n.has(e.id)}));s.length>0&&(e=e.concat(s))}return Le&&!e.some((function(e){return e.id===Le.id}))&&(e=[Le].concat(e)),e}),[Ht,Le,qt,Zt]),Qt=T(Ke),Yt=n(Qt,1)[0],$t=S(Oe,Jt),eo=n($t,8),to=eo[0],oo=eo[1],no=eo[2],so=eo[3],ro=eo[4],io=eo[5],co=eo[6],po=eo[7],lo=c((function(){return!!to&&to.some((function(e){return e.value!==O}))}),[to]);p((function(){Mt(!0),oo(null),so(null)}),[so,oo,Oe]);var mo=V(Ke,null==Se?void 0:Se.metricsKeys),ao=n(mo,2),uo=ao[0],fo=ao[1],jo=g(Jt,to,no,Oe,uo,Ce),vo=n(jo,2),Co=vo[0],Ao=vo[1],ho=c((function(){if(!Co||null==ot||!ot.length)return Co;var e={};return ot.forEach((function(t){e[t.id]=t.name})),Co.map((function(t){return ue(ue({},t),{},{companyName:e[t.companyId]||"Null"})}))}),[Co,ot]),go=c((function(){return Le?ho&&ho.find((function(e){return e.id===Le.id}))||Le:null}),[Le,ho]),So=!(Nt||Ao||zt||_t);p((function(){if(So){var e,t=(e=o(s.mark((function e(){var t,o,n,r,i,c,p,l,m,a,d,u;return s.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=void 0===(null==Se?void 0:Se.isSynced)||(null==Se?void 0:Se.isSynced),o=!0,!t){e.next=20;break}if(r=no[O]||[],i=new Set(r),c=((null==Se?void 0:Se.selectedWellIds)||[]).every((function(e){return i.has(e)})),r.length===(null==Se||null===(n=Se.selectedWellIds)||void 0===n?void 0:n.length)&&c){e.next=17;break}return e.next=9,Z(r,Oe);case 9:p=e.sent,l=p.slice(0,De+1).map((function(e){return e.id})),m=ue(ue({},Se),{},{subjectWellId:Oe,selectedWellIds:l,offsetWellsLimited:we<=l.length}),a=new Set(l),d=p.filter((function(e){return a.has(e.id)})),be(m,d),e.next=18;break;case 17:o=!1;case 18:e.next=21;break;case 20:o=!1;case 21:if(o){e.next=26;break}return e.next=24,Z((null==Se?void 0:Se.selectedWellIds)||[],Oe);case 24:u=e.sent,be(Se,u);case 26:case"end":return e.stop()}}),e)}))),function(){return e.apply(this,arguments)});Te&&Ot&&Se&&no&&(t(),Mt(!1))}}),[Se,no,Oe,we,Te,So,Ot,Be,De,be]);var Vo=I(ho,ot,tt),Io=D(uo,tt,lo),bo=b(ho,_e,$e,Qe),Po=c((function(){if(!bo)return bo;var e=new Map((null==ho?void 0:ho.map((function(e){return[e.id,e]})))||[]),t=rt.map((function(t){return e.get(t.id)||t})),o=((null==po?void 0:po[bt])||[]).map((function(t){return e.get(t)})).filter((function(e){return void 0!==e}));return d(t.concat(o).concat(bo),"id")}),[ho,bo,rt,po,bt]);p((function(){if(bo&&So&&Dt.current){var e=new Set((null==Se?void 0:Se.selectedWellIds)||[]),t=ho.filter((function(t){return e.has(t.id)})),o=new Set(t.map((function(e){return e.id}))),n=rt.filter((function(t){return e.has(t.id)&&!o.has(t.id)}));t=t.concat(n),go&&(t=t.concat(go)),it(d(t,"id")),Dt.current=!1}}),[ho,bo,null==Se?void 0:Se.selectedWellIds,So,go,rt]),p((function(){if(null!=ho&&ho.length&&0!==at.current.size){var e=at.current,t=ho.filter((function(t){return e.has(t.id)}));if(t.length>0){var o=t.map((function(e){return e.id}));jt((function(e){return e.filter((function(e){return!o.includes(e)}))})),it((function(e){var o=t.slice(0,Math.max(0,we-e.length));return d(e.concat(o),"id")})),t.forEach((function(t){return e.delete(t.id)}))}}}),[ho,we]);var Do,To,xo,yo=P(go,Po,rt,Wt),Wo=n(yo,5),Fo=Wo[0],ko=Wo[1],Bo=Wo[2],wo=Wo[3],Oo=Wo[4],Mo=l((Do=o(s.mark((function e(t,o,n){var r,i,c,p,l,m,a,f;return s.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n===K.well.name?r=o:(i=new Map,c=new Map,ho.forEach((function(e){i.set(e.id,e.rigName),c.has(e.rigName)||c.set(e.rigName,[]),c.get(e.rigName).push(e.id)})),r=o.flatMap((function(e){var t=i.get(e);return c.get(t)||[]}))),p=new Set(r),l=ho.filter((function(e){var t=e.id;return p.has(t)})),!(t&&l.length<r.length)){e.next=11;break}if(m=new Set(l.map((function(e){return e.id}))),!((a=r.filter((function(e){return!m.has(e)}))).length>0)){e.next=11;break}return jt((function(e){return e.concat(a)})),e.next=10,Xt(a);case 10:a.forEach((function(e){return at.current.add(e)}));case 11:t?(f=l.slice(0,Math.min(l.length,we-rt.length))).length>0&&it((function(e){return d(e.concat(f),"id")})):it((function(e){return u(e.filter((function(e){var t=e.id;return!l.find((function(e){return e.id===t}))})))}));case 12:case"end":return e.stop()}}),e)}))),function(e,t,o){return Do.apply(this,arguments)}),[ho,we,rt.length,Xt]),Lo=l((function(){Ue(!0)}),[Ue]),Eo=l((function(e){fo(e)}),[fo]),Ho=l((function(e,t){fo((function(o){return o.map((function(o){return o===e?t:o}))}))}),[fo]),No=l((function(e,t){ko(e),wo(t)}),[ko,wo]),Go=l((function(e,t){it(t?function(t){if(t.length>=we)return t;var o=(null==ho?void 0:ho.find((function(t){return t.id===e.id})))||e;return t.concat(o)}:function(t){return t.filter((function(t){return t.id!==e.id}))})}),[ho,we]),Ro=l((function(e){if(e){var t=go?bo.concat(go):bo,o=f(d(t,"id"),"distance");it(o.slice(0,we))}else it(go?[go]:[])}),[bo,go,we]),qo=l((function(e){it((function(t){var o=new Set(t.map((function(e){return e.id}))),n=e.filter((function(e){return!o.has(e.id)}));if(0===n.length)return t;var s=we-t.length,r=n.slice(0,s).map((function(e){return(null==ho?void 0:ho.find((function(t){return t.id===e.id})))||e}));return d(t.concat(r),"id")}))}),[ho,we]),zo=l((To=o(s.mark((function e(t){var o,n,r,i,c,p;return s.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!po){e.next=15;break}if(o=po[t]||[],n=new Map((null==Jt?void 0:Jt.map((function(e){return[e.id,e]})))||[]),r=o.filter((function(e){return!n.has(e)})),i=[],!(r.length>0)){e.next=9;break}return e.next=8,Xt(r);case 8:i=e.sent;case 9:i.forEach((function(e){return n.set(e.id,e)})),c=o.map((function(e){return n.get(e)})).filter((function(e){return void 0!==e})),p=f(c,"distance"),it(p.slice(0,Be)),e.next=16;break;case 15:it(go?[go]:[]);case 16:case"end":return e.stop()}}),e)}))),function(e){return To.apply(this,arguments)}),[po,Jt,Xt,Be,go]),Uo=l((xo=o(s.mark((function e(t){return s.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Pt(t),e.next=3,zo(t);case 3:case"end":return e.stop()}}),e)}))),function(e){return xo.apply(this,arguments)}),[zo]),Ko=c((function(){return rt.find((function(e){return e.id===Oe}))?rt.length-1:rt.length}),[rt,Oe]),Zo=c((function(){if(!no)return!1;var e=rt.map((function(e){return e.id})),t=no[bt]||[];if(Math.min(t.length,Be)!==e.length)return!1;var o=new Set(t);return e.every((function(e){return o.has(e)}))}),[no,rt,bt,Be]),_o=c((function(){return!!Yt&&M.includes(Yt)}),[Yt]),Xo=c((function(){return _o?"IDAS generated offsets.":Ae?"Offset Selection App.":"WellHub."}),[_o,Ae]),Jo=l((function(){Ie();var e=rt.map((function(e){return e.id})),t=ue(ue({},Se),{},{companyId:Ke,subjectWellId:Oe,selectedWellIds:e,filters:Y(_e),metricsKeys:uo,wellSection:bt,isSynced:Zo,mapHidden:He,filterExpanded:Ee,offsetWellsLimited:Ft});be(t,rt)}),[Ie,rt,Se,Ke,Oe,_e,uo,bt,Zo,He,Ee,Ft,be]);p((function(){At&&0===at.current.size&&(ht(!1),Jo())}),[At,rt,Jo]);var Qo=function(){var e,t=new Set((null==Se?void 0:Se.selectedWellIds)||[]),o=(ho||[]).filter((function(e){return t.has(e.id)}));if(null!=qt&&qt.length){var n=new Set(o.map((function(e){return e.id}))),s=qt.filter((function(e){return t.has(e.id)&&!n.has(e.id)}));o=o.concat(s)}go&&(o=o.concat(go)),it(d(o,"id"));var r=ue(ue({},Se),{},{mapHidden:He,filterExpanded:Ee});be(r);var i=Y(null==Se?void 0:Se.filters);Xe(ue(ue({},i),{},{radius:null!==(e=null==i?void 0:i.radius)&&void 0!==e?e:B})),Pt((null==Se?void 0:Se.wellSection)||O),Ie()},Yo=yt||Nt,$o=c((function(){return!!Ze&&(!Yo&&(!Zo||(!(j(_e)||!_e[w.sideTracks])||bt!==O)))}),[Ze,Zo,_e,bt,Yo]),en=l(o(s.mark((function e(){return s.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Je(),Pt(O),e.next=4,zo(O);case 4:case"end":return e.stop()}}),e)}))),[Je,zo]),tn=!ho||!to||!Oo,on=r(L),nn=n(on,2),sn=nn[0],rn=nn[1],cn=r([]),pn=n(cn,2),ln=pn[0],mn=pn[1],an=i(),dn=i(),un=i(0);p((function(){if(Oo){var e=Oo.slice(0,sn);mn(e)}}),[Oo,sn,go]),m((function(){dn.current&&un.current>0&&(dn.current.scrollTop=un.current)}),[ln]),p((function(){if(an.current){var e=an.current.querySelector(".".concat(ee.wellNameFixed));e&&(Ne?e.classList.remove(ee.noShadow):e.classList.add(ee.noShadow))}}),[Ne,ln]);var fn=c((function(){return d(ln,"id")}),[ln]),jn=c((function(){var e=fn.filter((function(e){return e.checked}));return[e,fn.length!==e.length&&Boolean(e.length)&&!Ft,e.length===fn.length||Ft]}),[fn,Ft]),vn=n(jn,3),Cn=vn[0],An=vn[1],hn=vn[2],gn=c((function(){return _()}),[]);p((function(){ro===E.SUCCEEDED&&en()}),[no,en,ro]);return te(pe,{open:Ce,onClose:Qo,size:"fullscreen",className:$.modalDialog,title:te(N,{totalCount:null!==(ve=null==ho?void 0:ho.length)&&void 0!==ve?ve:0,selectedCount:Ko,maxOffsetWellNumber:we,isXtoProvider:_o,resyncStatus:ro,setResyncStatus:io,metricsKeys:uo,onChangeMetricsKeys:Eo}),actions:!Ve&&oe("div",{className:$.actionsWrapper,children:[!tn&&$o?te(ie,{placement:"bottom-start",title:"Reset to Synced Offsets in ".concat(Ae?"Offset App":"Wellhub"),children:te("div",{children:te(re,{"data-testid":"".concat(fe,"_reset"),onClick:en,color:"primary",startIcon:te(v,{}),children:"Reset to Defaults"})})}):Ze&&oe("div",{children:[te("span",{className:a(se.regular12,se.colors.t6),children:"The offset list is being automatically populated by "}),te("span",{className:a(se.medium12,se.colors.t6),children:Xo})]}),oe("div",{className:$.buttonGap,children:[te(re,{"data-testid":"".concat(fe,"_cancel"),onClick:Qo,color:"primary",children:"Cancel"}),oe(re,{"data-testid":"".concat(fe,"_selectedWells"),variant:"contained",color:"primary",onClick:function(){at.current.size>0?ht(!0):Jo()},disabled:At,prefix:At?te(ce,{size:16}):void 0,children:["Select (",Ko,")"]})]})]}),children:oe("div",{className:a($.offsetWellDialog),children:[te(ne,{}),tn?te(me,{}):oe("div",{className:a($.contentWrapper,e({},$.contentBlocked,Yo)),children:[oe("div",{className:$.columnsContainer,children:[!He&&Ce&&te("div",{className:$.leftColumn,children:te(R,{ref:ke,mapHidden:He,subjectWell:go,offsetWellIds:rt.map((function(e){return e.id})),wells:Po,handleChangeOffsetWell:Go,onBatchSelectWells:qo,activeWellId:We,isLoading:Nt})}),oe("div",{className:$.rightColumn,ref:dn,onScroll:function(e){e.target&&(un.current=e.target.scrollTop,ze&&(e.target.scrollLeft=0,Ue(!1)),e.target.scrollLeft<=5&&Ne&&Ge(!1),e.target.scrollLeft>5&&!Ne&&Ge(!0),e.target.scrollTop<=0&&Re&&qe(!1),e.target.scrollTop>0&&!Re&&qe(!0),e.target.scrollHeight!==e.target.offsetHeight&&Math.round(e.target.scrollTop+e.target.offsetHeight+2)>=e.target.scrollHeight&&sn<Oo.length&&rn((function(e){return e+L})))},children:[te(G,{isHidden:!Ee,filterOptions:Vo,wellSections:to,selectedWellSection:bt,onChangeBicWells:Uo}),te("div",{className:ee.stickyTableWrapper,children:oe(C,{"aria-label":"ows table head",innerRef:an,className:ee.stickyTable,children:[te(A,{children:te(z,{columnsWithDict:Io,metricsKeys:uo,sortBy:Fo,sortDirection:Bo,indeterminate:An,isAllWellsSelected:hn,onChangeSort:No,onUpdateMetricsKey:Ho,handleChangeAllOffsetWells:Ro,wellNameStyle:ee.wellNameFixed,isImperial:gn,isTaColumnVisible:!!co.length,isWellSectionColumnVisible:lo})}),Ve&&te("div",{className:a($.topGradient,e({},$.topGradientScrolled,Re))})]})}),!Ve&&oe("div",{className:a(ee.searchCellWrapper),children:[te("div",{className:ee.searchCell,children:te(U,{companyIds:St,subjectWellId:Oe,onChange:Mo,selectedWellIds:Cn.map((function(e){return e.id})),onHideAdvancedSearch:Lo,loadingAssetIds:ft})}),te("div",{className:a($.topGradient,e({},$.topGradientScrolled,Re))})]}),te(q,{isTableLoading:Yo,subjectWellId:Oe,columnsWithDict:Io,wells:ln,metricsKeys:uo,handleChangeOffsetWell:Go,isLastWell:Oo.length<=sn,isLimitedOffsetWells:Ft,maxOffsetWellNumber:we,wellSections:to,setActiveWellId:Fe,onRowClick:function(e){var t;return null===(t=ke.current)||void 0===t?void 0:t.flyToWell(e)},taScores:co,isWellSectionColumnVisible:lo})]})]}),Ve&&Ze&&oe("div",{className:$.viewOnlyInfoContainer,children:[te("span",{className:a(se.regular12,se.colors.t6),children:"The offset list is being automatically populated by "}),te("span",{className:a(se.medium12,se.colors.t6),children:Xo})]})]})]})})};export{je as OffsetWellPickerV5};
|
|
2
2
|
//# sourceMappingURL=OffsetWellPickerV5.js.map
|