@corva/ui 3.61.0-0 → 3.61.0-10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs-bundle/components/CollapsableSidebar.js +1 -1
- package/cjs-bundle/components/DevCenter/AppHeader/AppHeader.js +1 -1
- package/cjs-bundle/components/DevCenter/AppHeader/AppHeader.js.map +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js.map +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.js +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.js +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.js +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.js.map +1 -1
- package/cjs-bundle/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js +1 -1
- package/cjs-bundle/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js.map +1 -1
- package/cjs-bundle/components/DevCenter/IsolatedDevCenterAppContainer/effects/useXProps.js.map +1 -1
- package/cjs-bundle/components/FeedItem/FeedItem.js +1 -1
- package/cjs-bundle/components/FeedItem/components/FeedComments.js +1 -1
- package/cjs-bundle/components/ImageViewer/index.js +1 -1
- package/cjs-bundle/components/ImageViewer/index.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/OffsetWellPickerV5.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/api/intervention-units/fetchInterventionUnits.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV5/api/intervention-units/fetchInterventionUnits.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV5/api/metrics/fetchMetricsAggregate.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/api/metrics/fetchMetricsData.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/api/pads/fetchPadsForWellEnrichment.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV5/api/pads/fetchPadsForWellEnrichment.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV5/api/shared/constants.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/api/shared/transformers/transformAssetToOffsetWell.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/AppHeader/components/HeaderActions/HeaderActions.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/AppHeader/components/LoadAllWellsToggle/LoadAllWellsToggle.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/Filter.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/PeriodFilterSelect/PeriodFilterSelect.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/SingleFilterSelect/SingleFilterSelect.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/ClusterTooltip/ClusterTooltip.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/LayerSwitcher/LayerSwitcher.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapControls/MapControls.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AssetResultSection/AssetResultSection.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AutoCompleteAssetSearch/AutoCompleteAssetSearch.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/FormationCell/FormationCell.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/FormationCell/FormationCell.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/InterventionAssetCell/InterventionAssetCell.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/InterventionAssetCell/InterventionAssetCell.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/PadNameCell/PadNameCell.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/PadNameCell/PadNameCell.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/MetricsSelect/MetricsSelect.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/MetricsSettingMenu/MetricsSettingMenu.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/OffsetWellsTableHead/OffsetWellsTableHead.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/OffsetWellsTableRow/OffsetWellsTableRow.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SkeletonTableRow/SkeletonTableRow.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/hooks/useTableColumns.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/PickerModalActions/PickerModalActions.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/constants.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useAdvancedWells.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useCompanyMetricKey.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useInterventionEnrichment.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useInterventionEnrichment.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/usePadEnrichment.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/usePadEnrichment.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useWellDataPipeline.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/hooks/useAllWells/useLoadAllWellsCallback.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/hooks/useFilterOptions.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/hooks/useFilterValidation.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/hooks/useFilteredWells.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/hooks/useViewportWells/useHandleBoundsChange.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/segment-config/drilling.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV5/segment-config/drilling.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV5/segment-config/index.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV5/segment-config/index.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV5/segment-config/intervention.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV5/segment-config/intervention.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV5/segment-config/useSegmentConfig.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV5/segment-config/useSegmentConfig.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV5/stores/filter-store/FilterStoreProvider.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/stores/filter-store/createFilterStore.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/stores/filter-store/utils/buildUpstreamFilters.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/stores/filter-store/utils/cascade-hierarchies.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/stores/filter-store/utils/computeCascadedOptions.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/stores/filter-store/utils/createFilterCrudActions.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/stores/filter-store/utils/extractUniqueWellValues.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/stores/filter-store/utils/pruneDownstreamFilters.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/stores/filter-store/utils/selectCascadedFilterOptions.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/stores/filter-store/utils/useSyncFilterDataSources.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/stores/picker-props-store/PickerPropsStoreProvider.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/stores/picker-props-store/createPickerPropsStore.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/utils/doesWellPassFilters.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/utils/isInterventionOnlyWell.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV5/utils/isInterventionOnlyWell.js.map +1 -0
- package/cjs-bundle/components/PadOffsetsPickerV2/PadOffsetsPickerV2.js +1 -1
- package/cjs-bundle/components/Popover/Popover.js +1 -1
- package/cjs-bundle/components/Popper/Popper.js +1 -1
- package/cjs-bundle/components/RealTimeValuesSidebar/SidebarFooter.js +1 -1
- package/cjs-bundle/componentsV2/AppHeader/AppAssets/utils.js +1 -1
- package/cjs-bundle/componentsV2/AppHeader/V3/Actions/Actions.js +1 -1
- package/cjs-bundle/componentsV2/AppHeader/V3/AppHeaderV3.js +1 -1
- package/cjs-bundle/componentsV2/Autocomplete/Autocomplete.scss.js +1 -1
- package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/Map/Map.js +1 -1
- package/cjs-bundle/componentsV2/HideInNativeApp/index.js +2 -0
- package/cjs-bundle/componentsV2/HideInNativeApp/index.js.map +1 -0
- package/cjs-bundle/componentsV2/PadModeSelect/ColorAccent/ColorAccent.js +2 -0
- package/cjs-bundle/componentsV2/PadModeSelect/ColorAccent/ColorAccent.js.map +1 -0
- package/cjs-bundle/componentsV2/PadModeSelect/ColorAccent/ColorAccent.scss.js +2 -0
- package/cjs-bundle/componentsV2/PadModeSelect/ColorAccent/ColorAccent.scss.js.map +1 -0
- package/cjs-bundle/componentsV2/PadModeSelect/PadModeSelect.js +1 -1
- package/cjs-bundle/componentsV2/PadModeSelect/PadModeSelect.scss.js +1 -1
- package/cjs-bundle/componentsV2/PadModeSelect/utils/menuItemsUtils.js +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/FolderMenu/FolderMenu.js +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/FolderMenu/FolderMenu.scss.js +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/Popover/Popover.js +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/PopoverFooter/PopoverFooter.js +2 -0
- package/cjs-bundle/componentsV2/TemplatesControl/PopoverFooter/PopoverFooter.js.map +1 -0
- package/cjs-bundle/componentsV2/TemplatesControl/PopoverFooter/PopoverFooter.scss.js +2 -0
- package/cjs-bundle/componentsV2/TemplatesControl/PopoverFooter/PopoverFooter.scss.js.map +1 -0
- package/cjs-bundle/componentsV2/TemplatesControl/PopoverSearch/PopoverSearch.js +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/PopoverSearch/PopoverSearch.scss.js +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/TemplateMenu/TemplateMenu.js +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/TemplateMenu/TemplateMenu.scss.js +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/TemplatesTreeMenuHeader/TemplatesTreeMenuHeader.scss.js +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/Toggle/Toggle.js +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/Toggle/Toggle.scss.js +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/ExportTemplate.js +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/MoveTemplateOutOfFolder.js +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/MoveTemplateToFolder.js +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/PublishTemplate.js +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/RemoveTemplate.js +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/RevertTemplate.js +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/ShareTemplate.js +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/TemplateControls.js +2 -0
- package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/TemplateControls.js.map +1 -0
- package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/TemplateMenuItems.scss.js +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/UnfollowTemplate.js +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/index.js +2 -0
- package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/index.js.map +1 -0
- package/cjs-bundle/componentsV2/WellArchivedMessage/WellArchivedMessage.js +1 -1
- package/cjs-bundle/componentsV2/index.js +1 -1
- package/cjs-bundle/testing/AppTestWrapper/AppTestWrapper.js +1 -1
- package/components/CollapsableSidebar.js +1 -1
- package/components/DevCenter/AppHeader/AppHeader.d.ts.map +1 -1
- package/components/DevCenter/AppHeader/AppHeader.js +1 -1
- package/components/DevCenter/AppHeader/AppHeader.js.map +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.d.ts.map +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js.map +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.js.map +1 -1
- package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.d.ts.map +1 -1
- package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js +1 -1
- package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js.map +1 -1
- package/components/DevCenter/IsolatedDevCenterAppContainer/__tests__/DevCenterIsolatedAppPage.test.d.ts +2 -0
- package/components/DevCenter/IsolatedDevCenterAppContainer/__tests__/DevCenterIsolatedAppPage.test.d.ts.map +1 -0
- package/components/DevCenter/IsolatedDevCenterAppContainer/effects/useXProps.d.ts +1 -1
- package/components/DevCenter/IsolatedDevCenterAppContainer/effects/useXProps.d.ts.map +1 -1
- package/components/DevCenter/IsolatedDevCenterAppContainer/effects/useXProps.js.map +1 -1
- package/components/FeedItem/FeedItem.js +1 -1
- package/components/FeedItem/components/FeedComments.js +1 -1
- package/components/GradientManager/GradientSelect.styles.d.ts +1 -1
- package/components/ImageViewer/index.js +1 -1
- package/components/ImageViewer/index.js.map +1 -1
- package/components/OffsetWellPickerV5/OffsetWellPickerV5.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/OffsetWellPickerV5.js +1 -1
- package/components/OffsetWellPickerV5/OffsetWellPickerV5.types.d.ts +7 -0
- package/components/OffsetWellPickerV5/OffsetWellPickerV5.types.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/api/intervention-units/fetchInterventionUnits.d.ts +8 -0
- package/components/OffsetWellPickerV5/api/intervention-units/fetchInterventionUnits.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/api/intervention-units/fetchInterventionUnits.js +2 -0
- package/components/OffsetWellPickerV5/api/intervention-units/fetchInterventionUnits.js.map +1 -0
- package/components/OffsetWellPickerV5/api/intervention-units/index.d.ts +3 -0
- package/components/OffsetWellPickerV5/api/intervention-units/index.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/api/metrics/fetchMetricsAggregate.d.ts +1 -1
- package/components/OffsetWellPickerV5/api/metrics/fetchMetricsAggregate.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/api/metrics/fetchMetricsAggregate.js +1 -1
- package/components/OffsetWellPickerV5/api/metrics/fetchMetricsData.d.ts +1 -1
- package/components/OffsetWellPickerV5/api/metrics/fetchMetricsData.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/api/metrics/fetchMetricsData.js +1 -1
- package/components/OffsetWellPickerV5/api/pads/fetchPadsForWellEnrichment.d.ts +14 -0
- package/components/OffsetWellPickerV5/api/pads/fetchPadsForWellEnrichment.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/api/pads/fetchPadsForWellEnrichment.js +2 -0
- package/components/OffsetWellPickerV5/api/pads/fetchPadsForWellEnrichment.js.map +1 -0
- package/components/OffsetWellPickerV5/api/pads/index.d.ts +3 -0
- package/components/OffsetWellPickerV5/api/pads/index.d.ts.map +1 -0
- 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/transformers/transformAssetToOffsetWell.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/api/shared/transformers/transformAssetToOffsetWell.js +1 -1
- package/components/OffsetWellPickerV5/api/shared/types.d.ts +4 -0
- package/components/OffsetWellPickerV5/api/shared/types.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/AppHeader/components/HeaderActions/HeaderActions.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/AppHeader/components/HeaderActions/HeaderActions.js +1 -1
- package/components/OffsetWellPickerV5/components/AppHeader/components/LoadAllWellsToggle/LoadAllWellsToggle.js +1 -1
- package/components/OffsetWellPickerV5/components/Filter/Filter.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/Filter/Filter.js +1 -1
- package/components/OffsetWellPickerV5/components/Filter/components/PeriodFilterSelect/PeriodFilterSelect.js +1 -1
- package/components/OffsetWellPickerV5/components/Filter/components/SingleFilterSelect/SingleFilterSelect.js +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/ClusterTooltip/ClusterTooltip.js +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/LayerSwitcher/LayerSwitcher.js +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapControls/MapControls.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AssetResultSection/AssetResultSection.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AutoCompleteAssetSearch/AutoCompleteAssetSearch.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/FormationCell/FormationCell.d.ts +9 -0
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/FormationCell/FormationCell.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/FormationCell/FormationCell.js +2 -0
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/FormationCell/FormationCell.js.map +1 -0
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/FormationCell/index.d.ts +2 -0
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/FormationCell/index.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/InterventionAssetCell/InterventionAssetCell.d.ts +9 -0
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/InterventionAssetCell/InterventionAssetCell.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/InterventionAssetCell/InterventionAssetCell.js +2 -0
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/InterventionAssetCell/InterventionAssetCell.js.map +1 -0
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/InterventionAssetCell/index.d.ts +2 -0
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/InterventionAssetCell/index.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/PadNameCell/PadNameCell.d.ts +9 -0
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/PadNameCell/PadNameCell.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/PadNameCell/PadNameCell.js +2 -0
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/PadNameCell/PadNameCell.js.map +1 -0
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/PadNameCell/index.d.ts +2 -0
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/PadNameCell/index.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/index.d.ts +3 -0
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/index.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/MetricsSelect/MetricsSelect.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/MetricsSelect/MetricsSelect.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/MetricsSettingMenu/MetricsSettingMenu.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/MetricsSettingMenu/MetricsSettingMenu.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/OffsetWellsTableHead/OffsetWellsTableHead.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/OffsetWellsTableHead/OffsetWellsTableHead.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/OffsetWellsTableRow/OffsetWellsTableRow.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/OffsetWellsTableRow/OffsetWellsTableRow.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SkeletonTableRow/SkeletonTableRow.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SkeletonTableRow/SkeletonTableRow.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/hooks/useTableColumns.d.ts +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/hooks/useTableColumns.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/hooks/useTableColumns.js +1 -1
- package/components/OffsetWellPickerV5/components/PickerModalActions/PickerModalActions.js +1 -1
- package/components/OffsetWellPickerV5/constants.d.ts +30 -0
- package/components/OffsetWellPickerV5/constants.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/constants.js +1 -1
- package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useAdvancedWells.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useAdvancedWells.js +1 -1
- package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useCompanyMetricKey.d.ts +1 -1
- package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useCompanyMetricKey.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useCompanyMetricKey.js +1 -1
- package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useInterventionEnrichment.d.ts +22 -0
- package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useInterventionEnrichment.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useInterventionEnrichment.js +2 -0
- package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useInterventionEnrichment.js.map +1 -0
- package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/usePadEnrichment.d.ts +14 -0
- package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/usePadEnrichment.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/usePadEnrichment.js +2 -0
- package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/usePadEnrichment.js.map +1 -0
- package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useWellDataPipeline.d.ts +1 -0
- package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useWellDataPipeline.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useWellDataPipeline.js +1 -1
- package/components/OffsetWellPickerV5/hooks/useAllWells/useLoadAllWellsCallback.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/hooks/useAllWells/useLoadAllWellsCallback.js +1 -1
- package/components/OffsetWellPickerV5/hooks/useFilterOptions.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/hooks/useFilterOptions.js +1 -1
- package/components/OffsetWellPickerV5/hooks/useFilterValidation.d.ts +0 -4
- package/components/OffsetWellPickerV5/hooks/useFilterValidation.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/hooks/useFilterValidation.js +1 -1
- package/components/OffsetWellPickerV5/hooks/useFilteredWells.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/hooks/useFilteredWells.js +1 -1
- package/components/OffsetWellPickerV5/hooks/useViewportWells/useHandleBoundsChange.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/hooks/useViewportWells/useHandleBoundsChange.js +1 -1
- package/components/OffsetWellPickerV5/segment-config/drilling.d.ts +3 -0
- package/components/OffsetWellPickerV5/segment-config/drilling.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/segment-config/drilling.js +2 -0
- package/components/OffsetWellPickerV5/segment-config/drilling.js.map +1 -0
- package/components/OffsetWellPickerV5/segment-config/index.d.ts +5 -0
- package/components/OffsetWellPickerV5/segment-config/index.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/segment-config/index.js +2 -0
- package/components/OffsetWellPickerV5/segment-config/index.js.map +1 -0
- package/components/OffsetWellPickerV5/segment-config/intervention.d.ts +3 -0
- package/components/OffsetWellPickerV5/segment-config/intervention.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/segment-config/intervention.js +2 -0
- package/components/OffsetWellPickerV5/segment-config/intervention.js.map +1 -0
- package/components/OffsetWellPickerV5/segment-config/types.d.ts +22 -0
- package/components/OffsetWellPickerV5/segment-config/types.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/segment-config/useSegmentConfig.d.ts +3 -0
- package/components/OffsetWellPickerV5/segment-config/useSegmentConfig.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/segment-config/useSegmentConfig.js +2 -0
- package/components/OffsetWellPickerV5/segment-config/useSegmentConfig.js.map +1 -0
- package/components/OffsetWellPickerV5/stores/filter-store/FilterStoreProvider.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/stores/filter-store/FilterStoreProvider.js +1 -1
- package/components/OffsetWellPickerV5/stores/filter-store/createFilterStore.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/stores/filter-store/createFilterStore.js +1 -1
- package/components/OffsetWellPickerV5/stores/filter-store/types.d.ts +7 -0
- package/components/OffsetWellPickerV5/stores/filter-store/types.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/stores/filter-store/utils/buildUpstreamFilters.d.ts +2 -2
- package/components/OffsetWellPickerV5/stores/filter-store/utils/buildUpstreamFilters.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/stores/filter-store/utils/buildUpstreamFilters.js +1 -1
- package/components/OffsetWellPickerV5/stores/filter-store/utils/cascade-hierarchies.d.ts +9 -0
- package/components/OffsetWellPickerV5/stores/filter-store/utils/cascade-hierarchies.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/stores/filter-store/utils/cascade-hierarchies.js +1 -1
- package/components/OffsetWellPickerV5/stores/filter-store/utils/computeCascadedOptions.d.ts +2 -2
- package/components/OffsetWellPickerV5/stores/filter-store/utils/computeCascadedOptions.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/stores/filter-store/utils/computeCascadedOptions.js +1 -1
- package/components/OffsetWellPickerV5/stores/filter-store/utils/createFilterCrudActions.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/stores/filter-store/utils/createFilterCrudActions.js +1 -1
- package/components/OffsetWellPickerV5/stores/filter-store/utils/extractUniqueWellValues.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/stores/filter-store/utils/extractUniqueWellValues.js +1 -1
- package/components/OffsetWellPickerV5/stores/filter-store/utils/pruneDownstreamFilters.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/stores/filter-store/utils/pruneDownstreamFilters.js +1 -1
- package/components/OffsetWellPickerV5/stores/filter-store/utils/selectCascadedFilterOptions.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/stores/filter-store/utils/selectCascadedFilterOptions.js +1 -1
- package/components/OffsetWellPickerV5/stores/filter-store/utils/useSyncFilterDataSources.d.ts +2 -1
- package/components/OffsetWellPickerV5/stores/filter-store/utils/useSyncFilterDataSources.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/stores/filter-store/utils/useSyncFilterDataSources.js +1 -1
- package/components/OffsetWellPickerV5/stores/picker-props-store/PickerPropsStoreProvider.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/stores/picker-props-store/PickerPropsStoreProvider.js +1 -1
- package/components/OffsetWellPickerV5/stores/picker-props-store/createPickerPropsStore.d.ts +3 -1
- package/components/OffsetWellPickerV5/stores/picker-props-store/createPickerPropsStore.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/stores/picker-props-store/createPickerPropsStore.js +1 -1
- package/components/OffsetWellPickerV5/utils/doesWellPassFilters.d.ts +6 -1
- package/components/OffsetWellPickerV5/utils/doesWellPassFilters.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/utils/doesWellPassFilters.js +1 -1
- package/components/OffsetWellPickerV5/utils/isInterventionOnlyWell.d.ts +3 -0
- package/components/OffsetWellPickerV5/utils/isInterventionOnlyWell.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/utils/isInterventionOnlyWell.js +2 -0
- package/components/OffsetWellPickerV5/utils/isInterventionOnlyWell.js.map +1 -0
- package/components/PadOffsetsPickerV2/PadOffsetsPickerV2.js +1 -1
- package/components/Popover/Popover.js +1 -1
- package/components/Popper/Popper.js +1 -1
- package/components/RealTimeValuesSidebar/SidebarFooter.js +1 -1
- package/componentsV2/AppCommonsProvider/AppCommonsContext.d.ts +1 -0
- package/componentsV2/AppCommonsProvider/AppCommonsContext.d.ts.map +1 -1
- package/componentsV2/AppCommonsProvider/utils.d.ts +1 -0
- package/componentsV2/AppCommonsProvider/utils.d.ts.map +1 -1
- package/componentsV2/AppHeader/AppAssets/utils.d.ts.map +1 -1
- package/componentsV2/AppHeader/AppAssets/utils.js +1 -1
- package/componentsV2/AppHeader/V3/Actions/Actions.d.ts.map +1 -1
- package/componentsV2/AppHeader/V3/Actions/Actions.js +1 -1
- package/componentsV2/AppHeader/V3/AppHeaderV3.d.ts.map +1 -1
- package/componentsV2/AppHeader/V3/AppHeaderV3.js +1 -1
- package/componentsV2/AppHeader/V3/AppHeaderV3.stories.d.ts.map +1 -1
- package/componentsV2/Autocomplete/Autocomplete.scss.js +1 -1
- package/componentsV2/Autocomplete/AutocompleteNext.stories.d.ts.map +1 -1
- package/componentsV2/CompletionsOffsetWellPicker/Map/Map.js +1 -1
- package/componentsV2/HideInNativeApp/index.d.ts +7 -0
- package/componentsV2/HideInNativeApp/index.d.ts.map +1 -0
- package/componentsV2/HideInNativeApp/index.js +2 -0
- package/componentsV2/HideInNativeApp/index.js.map +1 -0
- package/componentsV2/PadModeSelect/ColorAccent/ColorAccent.d.ts +4 -0
- package/componentsV2/PadModeSelect/ColorAccent/ColorAccent.d.ts.map +1 -0
- package/componentsV2/PadModeSelect/ColorAccent/ColorAccent.js +2 -0
- package/componentsV2/PadModeSelect/ColorAccent/ColorAccent.js.map +1 -0
- package/componentsV2/PadModeSelect/ColorAccent/ColorAccent.scss.js +2 -0
- package/componentsV2/PadModeSelect/ColorAccent/ColorAccent.scss.js.map +1 -0
- package/componentsV2/PadModeSelect/ColorAccent/index.d.ts +2 -0
- package/componentsV2/PadModeSelect/ColorAccent/index.d.ts.map +1 -0
- package/componentsV2/PadModeSelect/PadModeSelect.d.ts.map +1 -1
- package/componentsV2/PadModeSelect/PadModeSelect.js +1 -1
- package/componentsV2/PadModeSelect/PadModeSelect.scss.js +1 -1
- package/componentsV2/PadModeSelect/PadModeSelect.stories.d.ts.map +1 -1
- package/componentsV2/PadModeSelect/utils/menuItemsUtils.d.ts.map +1 -1
- package/componentsV2/PadModeSelect/utils/menuItemsUtils.js +1 -1
- package/componentsV2/PadModeSelect/utils/types.d.ts +1 -0
- package/componentsV2/PadModeSelect/utils/types.d.ts.map +1 -1
- package/componentsV2/Select/Select.stories.d.ts.map +1 -1
- package/componentsV2/TemplatesControl/FolderMenu/FolderMenu.d.ts.map +1 -1
- package/componentsV2/TemplatesControl/FolderMenu/FolderMenu.js +1 -1
- package/componentsV2/TemplatesControl/FolderMenu/FolderMenu.scss.js +1 -1
- package/componentsV2/TemplatesControl/Popover/Popover.d.ts.map +1 -1
- package/componentsV2/TemplatesControl/Popover/Popover.js +1 -1
- package/componentsV2/TemplatesControl/{PopoverSearch → PopoverFooter}/AddModal.d.ts.map +1 -1
- package/componentsV2/TemplatesControl/PopoverFooter/PopoverFooter.d.ts +2 -0
- package/componentsV2/TemplatesControl/PopoverFooter/PopoverFooter.d.ts.map +1 -0
- package/componentsV2/TemplatesControl/PopoverFooter/PopoverFooter.js +2 -0
- package/componentsV2/TemplatesControl/PopoverFooter/PopoverFooter.js.map +1 -0
- package/componentsV2/TemplatesControl/PopoverFooter/PopoverFooter.scss.js +2 -0
- package/componentsV2/TemplatesControl/PopoverFooter/PopoverFooter.scss.js.map +1 -0
- package/componentsV2/TemplatesControl/PopoverFooter/index.d.ts +2 -0
- package/componentsV2/TemplatesControl/PopoverFooter/index.d.ts.map +1 -0
- package/componentsV2/TemplatesControl/PopoverSearch/PopoverSearch.d.ts.map +1 -1
- package/componentsV2/TemplatesControl/PopoverSearch/PopoverSearch.js +1 -1
- package/componentsV2/TemplatesControl/PopoverSearch/PopoverSearch.scss.js +1 -1
- package/componentsV2/TemplatesControl/TemplateMenu/TemplateMenu.d.ts.map +1 -1
- package/componentsV2/TemplatesControl/TemplateMenu/TemplateMenu.js +1 -1
- package/componentsV2/TemplatesControl/TemplateMenu/TemplateMenu.scss.js +1 -1
- package/componentsV2/TemplatesControl/TemplatesTreeMenuHeader/TemplatesTreeMenuHeader.scss.js +1 -1
- package/componentsV2/TemplatesControl/Toggle/Toggle.d.ts.map +1 -1
- package/componentsV2/TemplatesControl/Toggle/Toggle.js +1 -1
- package/componentsV2/TemplatesControl/Toggle/Toggle.scss.js +1 -1
- package/componentsV2/TemplatesControl/templateMenuItems/ExportTemplate.d.ts.map +1 -1
- package/componentsV2/TemplatesControl/templateMenuItems/ExportTemplate.js +1 -1
- package/componentsV2/TemplatesControl/templateMenuItems/MoveTemplateOutOfFolder.d.ts +1 -1
- package/componentsV2/TemplatesControl/templateMenuItems/MoveTemplateOutOfFolder.d.ts.map +1 -1
- package/componentsV2/TemplatesControl/templateMenuItems/MoveTemplateOutOfFolder.js +1 -1
- package/componentsV2/TemplatesControl/templateMenuItems/MoveTemplateToFolder.d.ts +1 -1
- package/componentsV2/TemplatesControl/templateMenuItems/MoveTemplateToFolder.d.ts.map +1 -1
- package/componentsV2/TemplatesControl/templateMenuItems/MoveTemplateToFolder.js +1 -1
- package/componentsV2/TemplatesControl/templateMenuItems/PublishTemplate.d.ts +1 -1
- package/componentsV2/TemplatesControl/templateMenuItems/PublishTemplate.d.ts.map +1 -1
- package/componentsV2/TemplatesControl/templateMenuItems/PublishTemplate.js +1 -1
- package/componentsV2/TemplatesControl/templateMenuItems/RemoveTemplate.d.ts +2 -3
- package/componentsV2/TemplatesControl/templateMenuItems/RemoveTemplate.d.ts.map +1 -1
- package/componentsV2/TemplatesControl/templateMenuItems/RemoveTemplate.js +1 -1
- package/componentsV2/TemplatesControl/templateMenuItems/RevertTemplate.d.ts +2 -3
- package/componentsV2/TemplatesControl/templateMenuItems/RevertTemplate.d.ts.map +1 -1
- package/componentsV2/TemplatesControl/templateMenuItems/RevertTemplate.js +1 -1
- package/componentsV2/TemplatesControl/templateMenuItems/ShareTemplate.d.ts +1 -1
- package/componentsV2/TemplatesControl/templateMenuItems/ShareTemplate.d.ts.map +1 -1
- package/componentsV2/TemplatesControl/templateMenuItems/ShareTemplate.js +1 -1
- package/componentsV2/TemplatesControl/templateMenuItems/TemplateControls.d.ts +5 -0
- package/componentsV2/TemplatesControl/templateMenuItems/TemplateControls.d.ts.map +1 -0
- package/componentsV2/TemplatesControl/templateMenuItems/TemplateControls.js +2 -0
- package/componentsV2/TemplatesControl/templateMenuItems/TemplateControls.js.map +1 -0
- package/componentsV2/TemplatesControl/templateMenuItems/TemplateMenuItems.scss.js +1 -1
- package/componentsV2/TemplatesControl/templateMenuItems/UnfollowTemplate.d.ts +2 -3
- package/componentsV2/TemplatesControl/templateMenuItems/UnfollowTemplate.d.ts.map +1 -1
- package/componentsV2/TemplatesControl/templateMenuItems/UnfollowTemplate.js +1 -1
- package/componentsV2/TemplatesControl/templateMenuItems/index.d.ts +9 -9
- package/componentsV2/TemplatesControl/templateMenuItems/index.d.ts.map +1 -1
- package/componentsV2/TemplatesControl/templateMenuItems/index.js +2 -0
- package/componentsV2/TemplatesControl/templateMenuItems/index.js.map +1 -0
- package/componentsV2/WellArchivedMessage/WellArchivedMessage.js +1 -1
- package/componentsV2/index.d.ts +1 -0
- package/componentsV2/index.d.ts.map +1 -1
- package/componentsV2/index.js +1 -1
- package/mcp-server/server.mjs +43 -2
- package/package.json +1 -1
- package/testing/AppTestWrapper/AppTestWrapper.js +1 -1
- package/tsconfig.tsbuildinfo +1 -1
- package/types/shared/Completions.d.ts +3 -0
- package/types/shared/Completions.d.ts.map +1 -1
- /package/cjs-bundle/componentsV2/TemplatesControl/{PopoverSearch → PopoverFooter}/AddModal.js +0 -0
- /package/cjs-bundle/componentsV2/TemplatesControl/{PopoverSearch → PopoverFooter}/AddModal.js.map +0 -0
- /package/componentsV2/TemplatesControl/{PopoverSearch → PopoverFooter}/AddModal.d.ts +0 -0
- /package/componentsV2/TemplatesControl/{PopoverSearch → PopoverFooter}/AddModal.js +0 -0
- /package/componentsV2/TemplatesControl/{PopoverSearch → PopoverFooter}/AddModal.js.map +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import t from"@babel/runtime/helpers/toConsumableArray";import s from"@babel/runtime/helpers/asyncToGenerator";import
|
|
1
|
+
import t from"@babel/runtime/helpers/toConsumableArray";import s from"@babel/runtime/helpers/asyncToGenerator";import o from"@babel/runtime/helpers/slicedToArray";import r from"@babel/runtime/regenerator";import{useState as n,useEffect as i}from"react";import"lodash";import"@babel/runtime/helpers/defineProperty";import"uuid";import"lodash/set";import"lodash/get";import"lodash/unset";import"moment";import"../../../../clients/jsonApi/index.js";import"../../../../clients/subscriptions/constants.js";import"../../../../clients/subscriptions.v1.js";import"../../../../clients/subscriptions/subscriptions-client.factory.js";import"../../../../clients/api/apiCore.js";import"../../../../clients/constants.js";import"../../../../clients/sso/auth0.js";import"../../../../clients/sso/oauth2.js";import"../../../../clients/api/rateLimiter.js";import{fetchCompanyGoals as e}from"../../api/companies/fetchCompanyGoals.js";import{METRICS_LIST as a}from"../../constants.js";import"../../api/shared/dataFormatter.js";import"../../../../utils/index.js";import{BENCHMARK_METRIC_GOAL as p}from"../../../../constants/goals.js";import"../../../../constants/segment.js";import"../../../../constants/alerts.js";import"../../../../constants/apps.js";import"../../../../constants/drillstring.js";import"../../../../constants/completion.js";import"../../../../constants/appPackages.js";import"../../../../constants/notifications.js";import"../../../../constants/feed.js";import"../../../../constants/bha.js";import"../../../../constants/corvaCompanyId.js";import"../../../GradientManager/configuration/constants.js";import{getCompanyGoalSetting as m}from"../../../../utils/goals.js";var c=new Set(a.map((function(t){return t.key}))),l=function(t){return t.filter((function(t){return c.has(t)}))},u=function(a,c){var u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"hole_depth_change",f=n([]),j=o(f,2),h=j[0],d=j[1];return i((function(){function t(){return(t=s(r.mark((function t(){var s,o;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e(a);case 2:s=t.sent,o=m(s,p),d(o?l([o]):[]);case 5:case"end":return t.stop()}}),t)})))).apply(this,arguments)}null!==u?c?d(l(c)):a&&function(){t.apply(this,arguments)}():d([])}),[a,c,u]),u&&!h.includes(u)&&d((function(s){return[u].concat(t(s)).slice(0,3)})),[h,d]};export{u as useCompanyMetricKey};
|
|
2
2
|
//# sourceMappingURL=useCompanyMetricKey.js.map
|
package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useInterventionEnrichment.d.ts
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { FetchedOffsetWell } from '../../api/shared/types';
|
|
2
|
+
type InterventionEnrichment = {
|
|
3
|
+
wellIdToInterventionNames: Map<number, string[]>;
|
|
4
|
+
activeInterventionWellIds: Set<number>;
|
|
5
|
+
isLoading: boolean;
|
|
6
|
+
};
|
|
7
|
+
/**
|
|
8
|
+
* Fetches intervention units with embedded wells via `intervention_unit.wells`
|
|
9
|
+
* and `intervention_unit.active_well` fields, then builds an asset_id → unit name map.
|
|
10
|
+
*
|
|
11
|
+
* Map keys are asset IDs, matching `well.id` on offset wells from `/v2/assets`.
|
|
12
|
+
*/
|
|
13
|
+
export declare const useInterventionEnrichment: (enabled: boolean) => InterventionEnrichment;
|
|
14
|
+
/**
|
|
15
|
+
* Adds `interventionAsset` (string[]) to each well based on intervention unit data.
|
|
16
|
+
* The map is keyed by asset ID (well.id from /v2/assets).
|
|
17
|
+
*/
|
|
18
|
+
export declare const enrichWellsWithInterventionData: <T extends FetchedOffsetWell>(wells: T[], assetIdToInterventionNames: Map<number, string[]>) => (T & {
|
|
19
|
+
interventionAsset?: string[];
|
|
20
|
+
})[];
|
|
21
|
+
export {};
|
|
22
|
+
//# sourceMappingURL=useInterventionEnrichment.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useInterventionEnrichment.d.ts","sourceRoot":"","sources":["../../../../../src/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useInterventionEnrichment.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAEhE,KAAK,sBAAsB,GAAG;IAC5B,yBAAyB,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;IACjD,yBAAyB,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IACvC,SAAS,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,yBAAyB,GAAI,SAAS,OAAO,KAAG,sBA4E5D,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,+BAA+B,GAAI,CAAC,SAAS,iBAAiB,EACzE,OAAO,CAAC,EAAE,EACV,4BAA4B,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,KAChD,CAAC,CAAC,GAAG;IAAE,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAA;CAAE,CAAC,EAUxC,CAAC"}
|
package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useInterventionEnrichment.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import e from"@babel/runtime/helpers/defineProperty";import t from"@babel/runtime/helpers/slicedToArray";import{useState as r,useRef as n,useEffect as o,useMemo as i}from"react";import{fetchInterventionUnits as c}from"../../api/intervention-units/fetchInterventionUnits.js";function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(t){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?a(Object(n),!0).forEach((function(r){e(t,r,n[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var l=function(e){var a=r([]),u=t(a,2),l=u[0],s=u[1],f=r(!1),p=t(f,2),b=p[0],v=p[1],d=n(null),m=n(!1);return o((function(){var t,r;if(!e)return null===(r=d.current)||void 0===r||r.abort(),s([]),v(!1),void(m.current=!1);if(!(m.current&&l.length>0)){null===(t=d.current)||void 0===t||t.abort();var n=new AbortController;return d.current=n,v(!0),c(n.signal).then((function(e){n.signal.aborted||(s(e),m.current=!0,v(!1))})).catch((function(e){n.signal.aborted||(console.error("Failed to fetch intervention units:",e),s([]),v(!1))})),function(){n.abort()}}}),[e]),{wellIdToInterventionNames:i((function(){var e=new Map;return l.forEach((function(t){t.assetIds.forEach((function(r){var n=e.get(r);n?n.push(t.name):e.set(r,[t.name])}))})),e}),[l]),activeInterventionWellIds:i((function(){var e=new Set;return l.forEach((function(t){null!=t.activeWellAssetId&&e.add(t.activeWellAssetId)})),e}),[l]),isLoading:b}},s=function(e,t){return 0===t.size?e:e.map((function(e){var r=t.get(e.id);return r?u(u({},e),{},{interventionAsset:r}):e}))};export{s as enrichWellsWithInterventionData,l as useInterventionEnrichment};
|
|
2
|
+
//# sourceMappingURL=useInterventionEnrichment.js.map
|
package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useInterventionEnrichment.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useInterventionEnrichment.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { FetchedOffsetWell } from '../../api/shared/types';
|
|
2
|
+
type PadEnrichment = {
|
|
3
|
+
assetIdToPadName: Map<number, string>;
|
|
4
|
+
isLoading: boolean;
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* Fetches pads with well memberships and builds asset_id → pad name for filters/table.
|
|
8
|
+
*/
|
|
9
|
+
export declare const usePadEnrichment: (enabled: boolean) => PadEnrichment;
|
|
10
|
+
export declare const enrichWellsWithPadData: <T extends FetchedOffsetWell>(wells: T[], assetIdToPadName: Map<number, string>) => (T & {
|
|
11
|
+
padName?: string;
|
|
12
|
+
})[];
|
|
13
|
+
export {};
|
|
14
|
+
//# sourceMappingURL=usePadEnrichment.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usePadEnrichment.d.ts","sourceRoot":"","sources":["../../../../../src/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/usePadEnrichment.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAEhE,KAAK,aAAa,GAAG;IACnB,gBAAgB,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACtC,SAAS,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,gBAAgB,GAAI,SAAS,OAAO,KAAG,aA4DnD,CAAC;AAEF,eAAO,MAAM,sBAAsB,GAAI,CAAC,SAAS,iBAAiB,EAChE,OAAO,CAAC,EAAE,EACV,kBAAkB,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,KACpC,CAAC,CAAC,GAAG;IAAE,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,EAU5B,CAAC"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import r from"@babel/runtime/helpers/defineProperty";import e from"@babel/runtime/helpers/slicedToArray";import{useState as t,useRef as n,useEffect as o,useMemo as c}from"react";import{fetchPadsForWellEnrichment as i}from"../../api/pads/fetchPadsForWellEnrichment.js";function a(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),t.push.apply(t,n)}return t}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))}))}return e}var f=function(r){var a=t([]),u=e(a,2),f=u[0],l=u[1],s=t(!1),p=e(s,2),b=p[0],d=p[1],m=n(null),v=n(!1);return o((function(){var e,t;if(!r)return null===(t=m.current)||void 0===t||t.abort(),l([]),d(!1),void(v.current=!1);if(!(v.current&&f.length>0)){null===(e=m.current)||void 0===e||e.abort();var n=new AbortController;return m.current=n,d(!0),i(n.signal).then((function(r){n.signal.aborted||(l(r),v.current=!0,d(!1))})).catch((function(r){n.signal.aborted||(console.error("Failed to fetch pads for enrichment:",r),l([]),d(!1))})),function(){n.abort()}}}),[r]),{assetIdToPadName:c((function(){var r=new Map;return f.forEach((function(e){var t;(null!==(t=e.wells)&&void 0!==t?t:[]).forEach((function(t){var n=t.asset_id;if(n){var o=r.get(n);r.set(n,o?"".concat(o,", ").concat(e.name):e.name)}}))})),r}),[f]),isLoading:b}},l=function(r,e){return 0===e.size?r:r.map((function(r){var t=e.get(r.id);return t?u(u({},r),{},{padName:t}):r}))};export{l as enrichWellsWithPadData,f as usePadEnrichment};
|
|
2
|
+
//# sourceMappingURL=usePadEnrichment.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usePadEnrichment.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -40,6 +40,7 @@ type UseWellDataPipelineReturn = {
|
|
|
40
40
|
pinnedWells: OffsetWell[] | null;
|
|
41
41
|
fetchSearchedWells: (wellIds: number[]) => Promise<OffsetWell[]>;
|
|
42
42
|
resetSafeguard: () => void;
|
|
43
|
+
activeInterventionWellIds: Set<number>;
|
|
43
44
|
};
|
|
44
45
|
export declare const useWellDataPipeline: ({ subjectWellId, assetCompanyId, offsetSettings, maxOffsetWellNumber, isLoadAllWells, open, onSave, }: UseWellDataPipelineParams) => UseWellDataPipelineReturn;
|
|
45
46
|
export {};
|
package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useWellDataPipeline.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useWellDataPipeline.d.ts","sourceRoot":"","sources":["../../../../../src/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useWellDataPipeline.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsB,KAAK,QAAQ,EAAE,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAK/E,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,wDAAwD,CAAC;
|
|
1
|
+
{"version":3,"file":"useWellDataPipeline.d.ts","sourceRoot":"","sources":["../../../../../src/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useWellDataPipeline.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsB,KAAK,QAAQ,EAAE,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAK/E,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,wDAAwD,CAAC;AAOtF,OAAO,KAAK,EACV,UAAU,EACV,mBAAmB,EACnB,oBAAoB,EACrB,MAAM,gCAAgC,CAAC;AACxC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAIhE,OAAO,EAEL,KAAK,WAAW,EAChB,KAAK,oBAAoB,EACzB,KAAK,OAAO,EACb,MAAM,uBAAuB,CAAC;AAQ/B,OAAO,EAAoB,KAAK,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAU5E,KAAK,yBAAyB,GAAG;IAC/B,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,cAAc,EAAE,MAAM,GAAG,SAAS,CAAC;IACnC,cAAc,EAAE,mBAAmB,GAAG,SAAS,CAAC;IAChD,mBAAmB,EAAE,MAAM,CAAC;IAC5B,cAAc,EAAE,OAAO,CAAC;IACxB,IAAI,EAAE,OAAO,GAAG,SAAS,CAAC;IAC1B,MAAM,EACF,CAAC,CAAC,cAAc,EAAE,oBAAoB,EAAE,aAAa,CAAC,EAAE,UAAU,EAAE,KAAK,IAAI,CAAC,GAC9E,SAAS,CAAC;CACf,CAAC;AAEF,KAAK,yBAAyB,GAAG;IAC/B,KAAK,EAAE,eAAe,EAAE,GAAG,IAAI,CAAC;IAChC,WAAW,EAAE,eAAe,GAAG,iBAAiB,GAAG,IAAI,CAAC;IACxD,iBAAiB,EAAE;QAAE,QAAQ,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC;IAClE,mBAAmB,EAAE,iBAAiB,EAAE,GAAG,IAAI,CAAC;IAChD,YAAY,EAAE,WAAW,EAAE,GAAG,IAAI,CAAC;IACnC,eAAe,EAAE,oBAAoB,GAAG,IAAI,CAAC;IAC7C,QAAQ,EAAE,OAAO,EAAE,CAAC;IACpB,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,cAAc,EAAE,MAAM,EAAE,CAAC;IACzB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,0BAA0B,EAAE,OAAO,CAAC;IACpC,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,cAAc,EAAE,QAAQ,CAAC,cAAc,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;IACnD,cAAc,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC5B,gBAAgB,EAAE,OAAO,CAAC;IAC1B,kBAAkB,EAAE,OAAO,CAAC;IAC5B,SAAS,EAAE,OAAO,EAAE,CAAC;IACrB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,WAAW,EAAE,UAAU,EAAE,GAAG,IAAI,CAAC;IACjC,kBAAkB,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,OAAO,CAAC,UAAU,EAAE,CAAC,CAAC;IACjE,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,yBAAyB,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;CACxC,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAAI,uGAQjC,yBAAyB,KAAG,yBAqO9B,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import e from"@babel/runtime/helpers/defineProperty";import t from"@babel/runtime/helpers/slicedToArray";import{useMemo as r,useEffect as o}from"react";import"../../stores/viewport-store/ViewportStoreContext.js";import"../../stores/viewport-store/ViewportStoreProvider.js";import"zustand";import"lodash/isEqual";import{useViewportStore as s}from"../../stores/viewport-store/useViewportStore.js";import{areWellMapsEqual as n}from"../../stores/viewport-store/utils/areWellMapsEqual.js";import"../../stores/company-safeguard/CompanySafeguardContext.js";import{useCompanySafeguard as i}from"../../stores/company-safeguard/useCompanySafeguard.js";import{useFilterStore as l}from"../../stores/filter-store/useFilterStore.js";import"lodash";import"../../stores/picker-props-store/PickerPropsStoreContext.js";import"@babel/runtime/helpers/objectWithoutProperties";import"react/jsx-runtime";import"../../viewport/ViewportProvider.js";import"../../viewport/ViewportContext.js";import{usePickerPropsStore as a}from"../../stores/picker-props-store/usePickerPropsStore.js";import{ALL_SECTION_KEY as p}from"../../constants.js";import{isDrillingOnlyWell as m}from"../../utils/isDrillingOnlyWell.js";import{
|
|
1
|
+
import e from"@babel/runtime/helpers/defineProperty";import t from"@babel/runtime/helpers/slicedToArray";import{useMemo as r,useEffect as o}from"react";import"../../stores/viewport-store/ViewportStoreContext.js";import"../../stores/viewport-store/ViewportStoreProvider.js";import"zustand";import"lodash/isEqual";import{useViewportStore as s}from"../../stores/viewport-store/useViewportStore.js";import{areWellMapsEqual as n}from"../../stores/viewport-store/utils/areWellMapsEqual.js";import"../../stores/company-safeguard/CompanySafeguardContext.js";import{useCompanySafeguard as i}from"../../stores/company-safeguard/useCompanySafeguard.js";import{useFilterStore as l}from"../../stores/filter-store/useFilterStore.js";import"lodash";import"../../stores/picker-props-store/PickerPropsStoreContext.js";import"@babel/runtime/helpers/objectWithoutProperties";import"react/jsx-runtime";import"../../viewport/ViewportProvider.js";import"../../viewport/ViewportContext.js";import{usePickerPropsStore as a}from"../../stores/picker-props-store/usePickerPropsStore.js";import{ALL_SECTION_KEY as p}from"../../constants.js";import{isDrillingOnlyWell as m}from"../../utils/isDrillingOnlyWell.js";import{isInterventionOnlyWell as u}from"../../utils/isInterventionOnlyWell.js";import{useViewportWells as c}from"../useViewportWells/useViewportWells.js";import{useTileLoading as d}from"../useTileLoading.js";import{usePinnedWells as f}from"../usePinnedWells.js";import{useExternalOffsets as j}from"../useExternalOffsets.js";import"../../stores/idas-resync-store/IdasResyncStoreContext.js";import"../../stores/idas-resync-store/IdasResyncStoreProvider.js";import{useIdasResyncSync as v}from"../../stores/idas-resync-store/useIdasResyncSync.js";import{getSegmentConfig as g}from"../../segment-config/index.js";import{useSearchedWells as y}from"./useSearchedWells.js";import{useCompanyProvider as b}from"./useCompanyProvider.js";import{useFetchSubjectWell as W}from"./useFetchSubjectWell.js";import{useCompanyMetricKey as h}from"./useCompanyMetricKey.js";import{useAdvancedWells as w}from"./useAdvancedWells.js";import{computeIsAllWellsLoaded as S}from"./utils/computeIsAllWellsLoaded.js";import{useInterventionEnrichment as P,enrichWellsWithInterventionData as C}from"./useInterventionEnrichment.js";import{usePadEnrichment as I,enrichWellsWithPadData as O}from"./usePadEnrichment.js";import"../../../../clients/subscriptions/constants.js";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"querystring";import"uuid/v1";import"../../../../clients/subscriptions.v1.js";import"../../../../clients/jsonApi/index.js";import"../../../../clients/subscriptions/subscriptions-client.factory.js";import"immutable";import"query-string";import"../../../../constants/goals.js";import"../../../../constants/segment.js";import"../../../../constants/alerts.js";import"../../../../constants/apps.js";import"../../../../constants/drillstring.js";import"../../../../constants/completion.js";import"../../../../constants/appPackages.js";import"../../../../constants/notifications.js";import"../../../../constants/feed.js";import"../../../../constants/bha.js";import"../../../../constants/corvaCompanyId.js";import"../../../GradientManager/configuration/constants.js";import"../../../../utils/index.js";import"uuid";import"jsona";import"../../../../utils/env.js";import"../../../StatusBadge/constants.js";import"@babel/runtime/helpers/toConsumableArray";import"lodash/set";import"lodash/get";import"lodash/unset";import"moment";import"../../../../clients/api/apiCore.js";import"../../../../clients/constants.js";import"../../../../clients/sso/auth0.js";import"../../../../clients/sso/oauth2.js";import"../../../../clients/api/rateLimiter.js";import"lodash/isEmpty";import"lodash/sortBy";import"../../../../constants/streamSourceType.js";import"../../../DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchContext.js";import"../../../../componentsV2/AppCommonsProvider/AppCommonsProvider.js";import"../../../../componentsV2/AppCommonsProvider/AppCommonsContext.js";import"../../../../componentsV2/AppSettings/AppSettingsPinningContext.js";import{useGlobalOffsetWellsSync as A}from"../../../../effects/useGlobalOffsetWellsSync.js";function x(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function L(t){for(var r=1;r<arguments.length;r++){var o=null!=arguments[r]?arguments[r]:{};r%2?x(Object(o),!0).forEach((function(r){e(t,r,o[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):x(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}var E=function(e){var x,E=e.subjectWellId,V=e.assetCompanyId,D=e.offsetSettings,k=e.maxOffsetWellNumber,N=e.isLoadAllWells,T=e.open,K=e.onSave,M=a((function(e){return e.segment})),R="intervention"===M,q=s((function(e){return e.wells}),n),B=s((function(e){return e.bounds})),G=l((function(e){var t;return null===(t=e.filters.drillingWells)||void 0===t||t})),z=l((function(e){var t;return null===(t=e.filters.interventionWells)||void 0===t||t})),F=W(E),H=t(F,1)[0],J=r((function(){var e,r=null==H||null===(e=H.topHole)||void 0===e?void 0:e.coordinates;if(!r)return null;var o=t(r,2);return{latitude:o[0],longitude:o[1]}}),[H]);A(D,K,k);var Q=i(),U=Q.companies,X=Q.canViewCompanies,Y=Q.resetSafeguard;c(!N);var Z=d(),$=r((function(){return Array.from(q.values())}),[q]),_=Z||0===$.length&&null===B,ee=f(null==D?void 0:D.selectedWellIds),te=t(ee,2),re=te[0],oe=te[1],se=y(),ne=t(se,3),ie=ne[0],le=ne[1],ae=ne[2],pe=r((function(){if(!$)return null;var e=function(e,t){if(null==t||!t.length)return e;var r=new Set(e.map((function(e){return e.id}))),o=t.filter((function(e){return!r.has(e.id)}));return o.length>0?e.concat(o):e},t=$;return t=e(t,re),t=e(t,ie),"drilling"===M&&G&&(t=t.filter((function(e){return m(e)}))),"intervention"===M&&z&&(t=t.filter((function(e){return u(e)}))),H&&!t.some((function(e){return e.id===H.id}))&&(t=[H].concat(t)),t}),[$,H,re,ie,G,z,M]),me=b(V),ue=t(me,1)[0],ce=j(E,pe),de=ce.offsets,fe=ce.setOffsets,je=ce.loadExternalOffsets;v({assetId:E,loadExternalOffsets:je});var ve=de.wellSections,ge=de.offsetWellsBySection,ye=de.taScores,be=de.idasWellIds,We=de.owsWellIds,he=de.wellhubWellIds,we=de.loadedAssetId,Se=r((function(){return!!ve&&ve.some((function(e){return e.value!==p}))}),[ve]);o((function(){fe((function(e){return L(L({},e),{},{wellSections:null,offsetWellsBySection:null})}))}),[fe,E]),o((function(){var e;if(ge){var t=new Set(null!==(e=null==pe?void 0:pe.map((function(e){return e.id})))&&void 0!==e?e:[]),r=new Set;Object.values(ge).forEach((function(e){(null!=e?e:[]).forEach((function(e){null==e||e===E||t.has(e)||r.add(e)}))})),r.size>0&&ae(Array.from(r))}}),[ge,pe,E,ae]);var Pe=g(M).defaultMetricKey,Ce=h(V,null==D?void 0:D.metricsKeys,Pe),Ie=t(Ce,2),Oe=Ie[0],Ae=Ie[1],xe=w(pe,ve,ge,E,Oe,T),Le=t(xe,4),Ee=Le[0],Ve=Le[1],De=Le[2],ke=Le[3],Ne=P(R),Te=Ne.wellIdToInterventionNames,Ke=Ne.activeInterventionWellIds,Me=Ne.isLoading,Re=I(R),qe=Re.assetIdToPadName,Be=Re.isLoading,Ge=Ee||De,ze=r((function(){if(!Ge||null==U||!U.length)return Ge;var e={};U.forEach((function(t){e[t.id]=t.name}));var t=Ge.map((function(t){return L(L({},t),{},{companyName:e[Number(t.companyId)]||"Null"})}));return R&&(t=C(t,Te),t=(t=O(t,qe)).map((function(e){var t;return L(L({},e),{},{lastActive:null!==(t=e.lastInterventionAt)&&void 0!==t?t:e.lastActive})}))),t}),[Ge,U,R,Te,qe]),Fe=r((function(){return H?ze&&ze.find((function(e){return e.id===H.id}))||H:null}),[H,ze]),He=a((function(e){return e.allWellsLoadProgress})),Je=S({isLoadAllWells:N,allWellsLoadProgress:He,wellsLength:null!==(x=null==ze?void 0:ze.length)&&void 0!==x?x:0,areRawWellsLoading:_,areAdvancedWellsLoading:Ve||Me||Be,arePinnedWellsLoading:oe,areSearchedWellsLoading:le});return{wells:ze,subjectWell:Fe,subjectWellCoords:J,rawWellsWithSubject:pe,wellSections:ve,externalOffsets:ge,taScores:ye,idasWellIds:be,owsWellIds:We,wellhubWellIds:he,loadedAssetId:we,isWellSectionColumnVisible:Se,metricsKeys:Oe,setMetricsKeys:Ae,loadingWellIds:ke,isAllWellsLoaded:Je,areRawWellsLoading:_,companies:U,canViewCompanies:X,companyProvider:ue,pinnedWells:re,fetchSearchedWells:ae,resetSafeguard:Y,activeInterventionWellIds:Ke}};export{E as useWellDataPipeline};
|
|
2
2
|
//# sourceMappingURL=useWellDataPipeline.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useLoadAllWellsCallback.d.ts","sourceRoot":"","sources":["../../../../../src/components/OffsetWellPickerV5/hooks/useAllWells/useLoadAllWellsCallback.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,gBAAgB,EAAE,MAAM,OAAO,CAAC;AAC3D,OAAO,EAAY,KAAK,QAAQ,EAAE,MAAM,SAAS,CAAC;AASlD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iDAAiD,CAAC;AAIrF,KAAK,6BAA6B,GAAG;IACnC,YAAY,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAClC,KAAK,EAAE,QAAQ,CAAC,aAAa,CAAC,CAAC;IAC/B,UAAU,EAAE,MAAM,IAAI,CAAC;CACxB,CAAC;AAEF,eAAO,MAAM,uBAAuB,GAClC,oBAAoB,gBAAgB,CAAC,eAAe,GAAG,IAAI,CAAC,EAC5D,cAAc,gBAAgB,CAAC,OAAO,CAAC,KACtC,
|
|
1
|
+
{"version":3,"file":"useLoadAllWellsCallback.d.ts","sourceRoot":"","sources":["../../../../../src/components/OffsetWellPickerV5/hooks/useAllWells/useLoadAllWellsCallback.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,gBAAgB,EAAE,MAAM,OAAO,CAAC;AAC3D,OAAO,EAAY,KAAK,QAAQ,EAAE,MAAM,SAAS,CAAC;AASlD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iDAAiD,CAAC;AAIrF,KAAK,6BAA6B,GAAG;IACnC,YAAY,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAClC,KAAK,EAAE,QAAQ,CAAC,aAAa,CAAC,CAAC;IAC/B,UAAU,EAAE,MAAM,IAAI,CAAC;CACxB,CAAC;AAEF,eAAO,MAAM,uBAAuB,GAClC,oBAAoB,gBAAgB,CAAC,eAAe,GAAG,IAAI,CAAC,EAC5D,cAAc,gBAAgB,CAAC,OAAO,CAAC,KACtC,6BAoFF,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import r from"@babel/runtime/helpers/asyncToGenerator";import e from"@babel/runtime/regenerator";import{useCallback as t}from"react";import{useStore as o}from"zustand";import{ViewportStoreContext as s}from"../../stores/viewport-store/ViewportStoreContext.js";import"lodash";import"../../stores/picker-props-store/PickerPropsStoreContext.js";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/helpers/objectWithoutProperties";import"react/jsx-runtime";import"../../viewport/ViewportProvider.js";import{useContextOrThrow as i}from"../../stores/utils/useContextOrThrow.js";import"../../viewport/ViewportContext.js";import{usePickerPropsStore as n}from"../../stores/picker-props-store/usePickerPropsStore.js";import{useFilterStore as l}from"../../stores/filter-store/useFilterStore.js";import"@babel/runtime/helpers/toConsumableArray";import"uuid";import"lodash/set";import"lodash/get";import"lodash/unset";import"moment";import"../../../../clients/jsonApi/index.js";import"../../../../clients/subscriptions/constants.js";import"../../../../clients/subscriptions.v1.js";import"../../../../clients/subscriptions/subscriptions-client.factory.js";import"../../../../clients/api/apiCore.js";import"../../../../clients/constants.js";import"../../../../clients/sso/auth0.js";import"../../../../clients/sso/oauth2.js";import"../../../../clients/api/rateLimiter.js";import{getAllAssets as a}from"../../api/shared/fetchers/getAllAssets.js";import"../../constants.js";import"../../api/shared/dataFormatter.js";import"@babel/runtime/helpers/slicedToArray";import{useAllWellsCache as p}from"../useAllWellsCache/useAllWellsCache.js";var u=function(u,c){var m=i(s),d=o(m,(function(r){return r.addWellsToTile})),f=n((function(r){return r.addWellsUsabilityInfo})),b=n((function(r){return r.setAllWellsLoadProgress})),h=l((function(r){var e;return null!==(e=r.filters.companyId)&&void 0!==e?e:null})),
|
|
1
|
+
import r from"@babel/runtime/helpers/asyncToGenerator";import e from"@babel/runtime/regenerator";import{useCallback as t}from"react";import{useStore as o}from"zustand";import{ViewportStoreContext as s}from"../../stores/viewport-store/ViewportStoreContext.js";import"lodash";import"../../stores/picker-props-store/PickerPropsStoreContext.js";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/helpers/objectWithoutProperties";import"react/jsx-runtime";import"../../viewport/ViewportProvider.js";import{useContextOrThrow as i}from"../../stores/utils/useContextOrThrow.js";import"../../viewport/ViewportContext.js";import{usePickerPropsStore as n}from"../../stores/picker-props-store/usePickerPropsStore.js";import{useFilterStore as l}from"../../stores/filter-store/useFilterStore.js";import"@babel/runtime/helpers/toConsumableArray";import"uuid";import"lodash/set";import"lodash/get";import"lodash/unset";import"moment";import"../../../../clients/jsonApi/index.js";import"../../../../clients/subscriptions/constants.js";import"../../../../clients/subscriptions.v1.js";import"../../../../clients/subscriptions/subscriptions-client.factory.js";import"../../../../clients/api/apiCore.js";import"../../../../clients/constants.js";import"../../../../clients/sso/auth0.js";import"../../../../clients/sso/oauth2.js";import"../../../../clients/api/rateLimiter.js";import{getAllAssets as a}from"../../api/shared/fetchers/getAllAssets.js";import"../../constants.js";import"../../api/shared/dataFormatter.js";import"@babel/runtime/helpers/slicedToArray";import{useAllWellsCache as p}from"../useAllWellsCache/useAllWellsCache.js";var u=function(u,c){var m=i(s),d=o(m,(function(r){return r.addWellsToTile})),f=n((function(r){return r.addWellsUsabilityInfo})),b=n((function(r){return r.setAllWellsLoadProgress})),h=n((function(r){return r.segment})),j=l((function(r){var e;return null!==(e=r.filters.companyId)&&void 0!==e?e:null})),v=l((function(r){var e;return null===(e=r.filters.drillingWells)||void 0===e||e})),g="drilling"===h&&v,x=p(),C=x.getCachedWellIds,w=x.setCachedWellIds,k=x.clearCache;return{loadAllWells:t(r(e.mark((function r(){var t,o,s,i,n,l,p;return e.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(null===(t=u.current)||void 0===t||t.abort(),u.current=new AbortController,o=u.current.signal,r.prev=3,null===(s=C())){r.next=12;break}if(i=m.getState(),(n=s.map((function(r){return i.wells.get(r)})).filter((function(r){return void 0!==r}))).length!==s.length){r.next=12;break}return b({loaded:n.length,isComplete:!0}),c.current=!0,r.abrupt("return");case 12:return b({loaded:0,isComplete:!1}),r.next=15,a(j,{signal:o,onProgress:b,drillingWells:g});case 15:if(l=r.sent,!o.aborted){r.next=18;break}return r.abrupt("return");case 18:return r.next=20,f(l);case 20:if(p=r.sent,!o.aborted){r.next=23;break}return r.abrupt("return");case 23:d("all-wells",p),w(p.map((function(r){return r.id}))),b({loaded:p.length,isComplete:!0}),c.current=!0,r.next=35;break;case 29:if(r.prev=29,r.t0=r.catch(3),"AbortError"!==(null===r.t0||void 0===r.t0?void 0:r.t0.name)){r.next=33;break}return r.abrupt("return");case 33:console.error("Failed to load all wells:",r.t0),b(null);case 35:case"end":return r.stop()}}),r,null,[[3,29]])}))),[m,u,c,d,f,j,g,C,w,b]),store:m,clearCache:k}};export{u as useLoadAllWellsCallback};
|
|
2
2
|
//# sourceMappingURL=useLoadAllWellsCallback.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useFilterOptions.d.ts","sourceRoot":"","sources":["../../../../src/components/OffsetWellPickerV5/hooks/useFilterOptions.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useFilterOptions.d.ts","sourceRoot":"","sources":["../../../../src/components/OffsetWellPickerV5/hooks/useFilterOptions.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qDAAqD,CAAC;AAKnF,KAAK,kBAAkB,GAAG;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,EAAE,GAAG,OAAO,EAAE,CAAC;CAC/B,CAAC;AAEF,eAAO,MAAM,gBAAgB,QAAO,kBAAkB,EAQrD,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{useFilterStore as r}from"../stores/filter-store/useFilterStore.js";import{selectCascadedFilterOptions as
|
|
1
|
+
import{useMemo as t}from"react";import{useFilterStore as r}from"../stores/filter-store/useFilterStore.js";import{selectCascadedFilterOptions as e}from"../stores/filter-store/utils/selectCascadedFilterOptions.js";import{useSegmentConfig as o}from"../segment-config/useSegmentConfig.js";var i=function(){var i=r(e),n=o();return t((function(){var t=new Set(n.filterOptions.map((function(t){return String(t.value)})));return i.filter((function(r){return t.has(r.value)}))}),[i,n.filterOptions])};export{i as useFilterOptions};
|
|
2
2
|
//# sourceMappingURL=useFilterOptions.js.map
|
|
@@ -13,10 +13,6 @@ type UseFilterValidationParams = {
|
|
|
13
13
|
isLoadAllWells: boolean;
|
|
14
14
|
setFilters: (filters: FilterState, source?: FilterMutationSource) => void;
|
|
15
15
|
};
|
|
16
|
-
/**
|
|
17
|
-
* Validates/prunes filter selections against available filter options.
|
|
18
|
-
* Removes filter values that no longer exist in the available options.
|
|
19
|
-
*/
|
|
20
16
|
export declare const useFilterValidation: ({ open, isAllWellsLoaded, filters, filterOptions, isLoadAllWells, setFilters, }: UseFilterValidationParams) => void;
|
|
21
17
|
export {};
|
|
22
18
|
//# sourceMappingURL=useFilterValidation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useFilterValidation.d.ts","sourceRoot":"","sources":["../../../../src/components/OffsetWellPickerV5/hooks/useFilterValidation.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AACtF,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qDAAqD,CAAC;
|
|
1
|
+
{"version":3,"file":"useFilterValidation.d.ts","sourceRoot":"","sources":["../../../../src/components/OffsetWellPickerV5/hooks/useFilterValidation.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AACtF,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qDAAqD,CAAC;AAInF,KAAK,kBAAkB,GAAG;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,EAAE,GAAG,OAAO,EAAE,CAAC;CAC/B,CAAC;AAEF,KAAK,yBAAyB,GAAG;IAC/B,IAAI,EAAE,OAAO,GAAG,SAAS,CAAC;IAC1B,gBAAgB,EAAE,OAAO,CAAC;IAC1B,OAAO,EAAE,WAAW,GAAG,IAAI,CAAC;IAC5B,aAAa,EAAE,kBAAkB,EAAE,CAAC;IACpC,cAAc,EAAE,OAAO,CAAC;IACxB,UAAU,EAAE,CAAC,OAAO,EAAE,WAAW,EAAE,MAAM,CAAC,EAAE,oBAAoB,KAAK,IAAI,CAAC;CAC3E,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAAI,iFAOjC,yBAAyB,KAAG,IAsE9B,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import e from"@babel/runtime/helpers/defineProperty";import r from"@babel/runtime/helpers/typeof";import{useEffect as t}from"react";import{FilterType as n,StatusOptions as o}from"../constants.js";import{
|
|
1
|
+
import e from"@babel/runtime/helpers/defineProperty";import r from"@babel/runtime/helpers/typeof";import{useEffect as t}from"react";import{FilterType as n,StatusOptions as o}from"../constants.js";import{useFilterStore as i}from"../stores/filter-store/useFilterStore.js";import{getCascadeMaps as s}from"../stores/filter-store/utils/cascade-hierarchies.js";function a(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}var c=function(c){var f=c.open,l=c.isAllWellsLoaded,p=c.filters,u=c.filterOptions,m=c.isLoadAllWells,y=c.setFilters,b=i((function(e){return e.segment}));t((function(){if(f&&l&&p){var t=s(b).upstream,i=new Map;u.forEach((function(e){var t=e.value,o=e.options;if(Array.isArray(o)){var s=t===n.company?o.map((function(e){return e&&"object"===r(e)?e.id:e})):o;i.set(t,new Set(s.filter((function(e){return null!=e}))))}else i.set(t,new Set)})),i.set(n.status,new Set(o.map((function(e){return e.value}))));var c=!1,O=function(r){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){e(r,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(n,e))}))}return r}({},p);i.forEach((function(e,r){var o=p[r];if(Array.isArray(o)&&0!==o.length&&(!t.has(r)||r===n.status)&&0!==e.size){var i=o.filter((function(r){return e.has(r)}));i.length!==o.length&&(c=!0,i.length>0?O[r]=i:r===n.company&&m?O[r]=[]:delete O[r])}})),c&&y(O,"system")}}),[f,l,p,u,m,y,b])};export{c as useFilterValidation};
|
|
2
2
|
//# sourceMappingURL=useFilterValidation.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useFilteredWells.d.ts","sourceRoot":"","sources":["../../../../src/components/OffsetWellPickerV5/hooks/useFilteredWells.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"useFilteredWells.d.ts","sourceRoot":"","sources":["../../../../src/components/OffsetWellPickerV5/hooks/useFilteredWells.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAEhE,OAAO,EACL,KAAK,qBAAqB,EAE3B,MAAM,8BAA8B,CAAC;AAEtC,KAAK,oBAAoB,GAAG,qBAAqB,GAAG;IAClD,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,CAAC,SAAS,oBAAoB,EAC7D,OAAO,CAAC,EAAE,GAAG,IAAI,EACjB,SAAS,WAAW,GAAG,IAAI,EAC3B,eAAe,OAAO,KACrB,CAAC,EAAE,GAAG,IAeR,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{useMemo as r}from"react";import{uniqBy as t}from"lodash";import{doesWellPassVisibilityAndFilters as o}from"../utils/doesWellPassFilters.js";var i=function(i,n
|
|
1
|
+
import{useMemo as r}from"react";import{uniqBy as t}from"lodash";import"zustand";import"../stores/picker-props-store/PickerPropsStoreContext.js";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/helpers/objectWithoutProperties";import"react/jsx-runtime";import"../viewport/ViewportProvider.js";import"../viewport/ViewportContext.js";import{usePickerPropsStore as e}from"../stores/picker-props-store/usePickerPropsStore.js";import{doesWellPassVisibilityAndFilters as o}from"../utils/doesWellPassFilters.js";var i=function(i,s,p){var n=e((function(r){return r.segment}));return r((function(){return i&&s?t(i.filter((function(r){return o(r,s,p,{segment:n})})),"id"):null}),[i,s,p,n])};export{i as useFilteredWells};
|
|
2
2
|
//# sourceMappingURL=useFilteredWells.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useHandleBoundsChange.d.ts","sourceRoot":"","sources":["../../../../../src/components/OffsetWellPickerV5/hooks/useViewportWells/useHandleBoundsChange.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,gBAAgB,EAAE,MAAM,OAAO,CAAC;AAC3D,OAAO,EAAY,KAAK,QAAQ,EAAE,MAAM,SAAS,CAAC;AAKlD,OAAO,KAAK,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AACjF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iDAAiD,CAAC;AAIrF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAE1C,KAAK,2BAA2B,GAAG;IACjC,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,QAAQ,CAAC,aAAa,CAAC,CAAC;IAC/B,QAAQ,EAAE,gBAAgB,CAAC,UAAU,CAAC,CAAC;IACvC,aAAa,EAAE,CAAC,GAAG,EAAE,OAAO,KAAK,MAAM,EAAE,GAAG,IAAI,CAAC;IACjD,aAAa,EAAE,CAAC,GAAG,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;CAC1D,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAAI,6DAMnC,2BAA2B,KAAG,CAAC,CAAC,SAAS,EAAE,cAAc,GAAG,IAAI,KAAK,IAAI,
|
|
1
|
+
{"version":3,"file":"useHandleBoundsChange.d.ts","sourceRoot":"","sources":["../../../../../src/components/OffsetWellPickerV5/hooks/useViewportWells/useHandleBoundsChange.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,gBAAgB,EAAE,MAAM,OAAO,CAAC;AAC3D,OAAO,EAAY,KAAK,QAAQ,EAAE,MAAM,SAAS,CAAC;AAKlD,OAAO,KAAK,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AACjF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iDAAiD,CAAC;AAIrF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAE1C,KAAK,2BAA2B,GAAG;IACjC,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,QAAQ,CAAC,aAAa,CAAC,CAAC;IAC/B,QAAQ,EAAE,gBAAgB,CAAC,UAAU,CAAC,CAAC;IACvC,aAAa,EAAE,CAAC,GAAG,EAAE,OAAO,KAAK,MAAM,EAAE,GAAG,IAAI,CAAC;IACjD,aAAa,EAAE,CAAC,GAAG,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;CAC1D,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAAI,6DAMnC,2BAA2B,KAAG,CAAC,CAAC,SAAS,EAAE,cAAc,GAAG,IAAI,KAAK,IAAI,CAqE3E,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{useCallback as e}from"react";import{useStore as r}from"zustand";import{getTilesForViewport as t,MAX_VIEWPORT_TILES_FOR_FETCH as i}from"../../utils/tile-math.js";import"lodash";import"../../stores/picker-props-store/PickerPropsStoreContext.js";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/helpers/objectWithoutProperties";import"react/jsx-runtime";import"../../viewport/ViewportProvider.js";import"../../viewport/ViewportContext.js";import{usePickerPropsStore as o}from"../../stores/picker-props-store/usePickerPropsStore.js";import{useFilterStore as s}from"../../stores/filter-store/useFilterStore.js";import{processQueue as l}from"./processQueue.js";import{filterTilesToFetch as n}from"./filterTilesToFetch.js";var u=function(u){var p=u.enabled,a=u.store,d=u.queueRef,c=u.getCachedTile,f=u.setCachedTile,m=r(a,(function(e){return e.getTileStatus})),T=r(a,(function(e){return e.setTileStatus})),h=r(a,(function(e){return e.addWellsToTile})),
|
|
1
|
+
import{useCallback as e}from"react";import{useStore as r}from"zustand";import{getTilesForViewport as t,MAX_VIEWPORT_TILES_FOR_FETCH as i}from"../../utils/tile-math.js";import"lodash";import"../../stores/picker-props-store/PickerPropsStoreContext.js";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/helpers/objectWithoutProperties";import"react/jsx-runtime";import"../../viewport/ViewportProvider.js";import"../../viewport/ViewportContext.js";import{usePickerPropsStore as o}from"../../stores/picker-props-store/usePickerPropsStore.js";import{useFilterStore as s}from"../../stores/filter-store/useFilterStore.js";import{processQueue as l}from"./processQueue.js";import{filterTilesToFetch as n}from"./filterTilesToFetch.js";var u=function(u){var p=u.enabled,a=u.store,d=u.queueRef,c=u.getCachedTile,f=u.setCachedTile,m=r(a,(function(e){return e.getTileStatus})),T=r(a,(function(e){return e.setTileStatus})),h=r(a,(function(e){return e.addWellsToTile})),g=o((function(e){return e.addWellsUsabilityInfo})),v=o((function(e){return e.segment})),j=s((function(e){var r;return null!==(r=e.filters.companyId)&&void 0!==r?r:null})),b=s((function(e){var r;return null===(r=e.filters.drillingWells)||void 0===r||r})),P="drilling"===v&&b;return e((function(e){if(p&&e){var r=t(e);if(r.length>i)d.current.pending=[];else{var o=n({visibleTiles:r,getTileStatus:m,getCachedTile:c,store:a,addWellsToTile:h});if(0!==o.length){var s=d.current;o.forEach((function(e){s.pending.includes(e)||s.inProgress.has(e)||s.pending.push(e)})),l({queue:s,companyIds:j,drillingWells:P,addWellsUsabilityInfo:g,setCachedTile:f,addWellsToTile:h,setTileStatus:T})}}}}),[p,h,g,j,P,c,m,f,T,a,d])};export{u as useHandleBoundsChange};
|
|
2
2
|
//# sourceMappingURL=useHandleBoundsChange.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"drilling.d.ts","sourceRoot":"","sources":["../../../../src/components/OffsetWellPickerV5/segment-config/drilling.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C,eAAO,MAAM,eAAe,EAAE,aAgC7B,CAAC"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var e={filterOptions:[{value:"companyId",label:"Company"},{value:"programName",label:"Program/BU"},{value:"rigName",label:"Rig"},{value:"basin",label:"Basin"},{value:"county",label:"County"},{value:"area",label:"Area"},{value:"formation",label:"Target Formation"},{value:"stringDesign",label:"String Design"},{value:"status",label:"Status"}],toggleFilters:[{key:"sideTracks",label:"Exclude Sidetracks",testIdSuffix:"ExcludeSidetracks"},{key:"drillingWells",label:"Drilling Only Wells",testIdSuffix:"DrillingWells"}],cascadeChain:["companyId","programName","rigName","basin","county","area","formation","stringDesign","status"],metricsCollection:"corva/metrics",defaultMetricKey:"hole_depth_change",hasBicWellSections:!0,hasDrillingOnlyApiParam:!0,hasPeriodFilter:!0};export{e as DRILLING_CONFIG};
|
|
2
|
+
//# sourceMappingURL=drilling.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"drilling.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { PickerSegment } from '../OffsetWellPickerV5.types';
|
|
2
|
+
import type { SegmentConfig } from './types';
|
|
3
|
+
export type { SegmentConfig, FilterOptionDef, ToggleFilterDef } from './types';
|
|
4
|
+
export declare const getSegmentConfig: (segment: PickerSegment) => SegmentConfig;
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/OffsetWellPickerV5/segment-config/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAIjE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C,YAAY,EAAE,aAAa,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAO/E,eAAO,MAAM,gBAAgB,GAAI,SAAS,aAAa,KAAG,aAEzD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"intervention.d.ts","sourceRoot":"","sources":["../../../../src/components/OffsetWellPickerV5/segment-config/intervention.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C,eAAO,MAAM,mBAAmB,EAAE,aAuCjC,CAAC"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var e={filterOptions:[{value:"companyId",label:"Company"},{value:"programName",label:"Program/BU"},{value:"interventionAsset",label:"Intervention Asset"},{value:"basin",label:"Basin"},{value:"county",label:"County"},{value:"area",label:"Area"},{value:"padName",label:"Pad"},{value:"formation",label:"Target Formation"},{value:"stringDesign",label:"String Design"},{value:"status",label:"Status"}],toggleFilters:[{key:"interventionWells",label:"Intervention Only Wells",testIdSuffix:"InterventionWells"}],cascadeChain:["companyId","programName","interventionAsset","basin","county","area","padName","formation","stringDesign","status"],metricsCollection:"corva/interventions.metrics",defaultMetricKey:null,hasBicWellSections:!0,hasDrillingOnlyApiParam:!1,hasPeriodFilter:!1};export{e as INTERVENTION_CONFIG};
|
|
2
|
+
//# sourceMappingURL=intervention.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"intervention.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { FilterState } from '../stores/filter-store/types';
|
|
2
|
+
export type FilterOptionDef = {
|
|
3
|
+
value: keyof FilterState;
|
|
4
|
+
label: string;
|
|
5
|
+
};
|
|
6
|
+
export type ToggleFilterDef = {
|
|
7
|
+
key: keyof FilterState;
|
|
8
|
+
label: string;
|
|
9
|
+
testIdSuffix: string;
|
|
10
|
+
};
|
|
11
|
+
export type SegmentConfig = {
|
|
12
|
+
filterOptions: FilterOptionDef[];
|
|
13
|
+
toggleFilters: ToggleFilterDef[];
|
|
14
|
+
cascadeChain: (keyof FilterState)[];
|
|
15
|
+
metricsCollection: string;
|
|
16
|
+
/** Metric key force-injected as the first column. `null` means no forced default. */
|
|
17
|
+
defaultMetricKey: string | null;
|
|
18
|
+
hasBicWellSections: boolean;
|
|
19
|
+
hasDrillingOnlyApiParam: boolean;
|
|
20
|
+
hasPeriodFilter: boolean;
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/OffsetWellPickerV5/segment-config/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAEhE,MAAM,MAAM,eAAe,GAAG;IAC5B,KAAK,EAAE,MAAM,WAAW,CAAC;IACzB,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B,GAAG,EAAE,MAAM,WAAW,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B,aAAa,EAAE,eAAe,EAAE,CAAC;IACjC,aAAa,EAAE,eAAe,EAAE,CAAC;IACjC,YAAY,EAAE,CAAC,MAAM,WAAW,CAAC,EAAE,CAAC;IACpC,iBAAiB,EAAE,MAAM,CAAC;IAC1B,qFAAqF;IACrF,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,kBAAkB,EAAE,OAAO,CAAC;IAC5B,uBAAuB,EAAE,OAAO,CAAC;IACjC,eAAe,EAAE,OAAO,CAAC;CAC1B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useSegmentConfig.d.ts","sourceRoot":"","sources":["../../../../src/components/OffsetWellPickerV5/segment-config/useSegmentConfig.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAI7C,eAAO,MAAM,gBAAgB,QAAO,aAGnC,CAAC"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{usePickerPropsStore as r}from"../stores/picker-props-store/usePickerPropsStore.js";import{getSegmentConfig as e}from"./index.js";var o=function(){var o=r((function(r){return r.segment}));return e(o)};export{o as useSegmentConfig};
|
|
2
|
+
//# sourceMappingURL=useSegmentConfig.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useSegmentConfig.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FilterStoreProvider.d.ts","sourceRoot":"","sources":["../../../../../src/components/OffsetWellPickerV5/stores/filter-store/FilterStoreProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,SAAS,EAAqB,MAAM,OAAO,CAAC;AAKzD,OAAO,KAAK,EAAe,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAK7D,KAAK,wBAAwB,GAAG,gBAAgB,GAAG;IACjD,gBAAgB,EAAE,OAAO,CAAC;IAC1B,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,EAAE,CAAC,wBAAwB,
|
|
1
|
+
{"version":3,"file":"FilterStoreProvider.d.ts","sourceRoot":"","sources":["../../../../../src/components/OffsetWellPickerV5/stores/filter-store/FilterStoreProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,SAAS,EAAqB,MAAM,OAAO,CAAC;AAKzD,OAAO,KAAK,EAAe,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAK7D,KAAK,wBAAwB,GAAG,gBAAgB,GAAG;IACjD,gBAAgB,EAAE,OAAO,CAAC;IAC1B,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,EAAE,CAAC,wBAAwB,CA+C5D,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import e from"@babel/runtime/helpers/defineProperty";import{jsx as r}from"react/jsx-runtime";import{useRef as t,useEffect as i}from"react";import{useSyncProps as
|
|
1
|
+
import e from"@babel/runtime/helpers/defineProperty";import{jsx as r}from"react/jsx-runtime";import{useRef as t,useEffect as i}from"react";import{useSyncProps as n}from"../utils/useSyncProps.js";import{getDefaultRadiusMiles as o}from"./utils/getDefaultRadiusMiles.js";import{createFilterStore as l}from"./createFilterStore.js";import{FilterStoreContext as s}from"./FilterStoreContext.js";import{normalizeFilters as c}from"./utils/normalizeFilters.js";function u(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);r&&(i=i.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,i)}return t}function a(r){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?u(Object(i),!0).forEach((function(t){e(r,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(i)):u(Object(i)).forEach((function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(i,e))}))}return r}var p=function(e){var u=e.children,p=e.filters,d=e.canViewCompanies,f=t(null);if(!f.current){var m,v,j,O,b=o(),y=c(p),g=a(a({},y),{},{selectionMode:null!==(m=null==y?void 0:y.selectionMode)&&void 0!==m?m:"radius",radius:null!==(v=null==y?void 0:y.radius)&&void 0!==v?v:b,drillingWells:null===(j=null==y?void 0:y.drillingWells)||void 0===j||j,interventionWells:null===(O=null==y?void 0:y.interventionWells)||void 0===O||O}),P={selectionMode:"radius",radius:b,drillingWells:!0,interventionWells:!0};f.current=l({filters:g,defaultFilters:P,canViewCompanies:d})}var w=f.current;return n(w,{canViewCompanies:d},[{key:"canViewCompanies"}]),i((function(){var e=c(p);void 0!==e&&w.getState().setFilters(e,"external_sync")}),[w,p]),r(s.Provider,{value:w,children:u})};p.displayName="FilterStoreProvider";export{p as FilterStoreProvider};
|
|
2
2
|
//# sourceMappingURL=FilterStoreProvider.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createFilterStore.d.ts","sourceRoot":"","sources":["../../../../../src/components/OffsetWellPickerV5/stores/filter-store/createFilterStore.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,QAAQ,EAAE,MAAM,SAAS,CAAC;AAErD,OAAO,EAEL,KAAK,WAAW,EAChB,KAAK,gBAAgB,EAEtB,MAAM,SAAS,CAAC;AAMjB,MAAM,MAAM,cAAc,GAAG,QAAQ,CAAC,WAAW,CAAC,CAAC;AAEnD,eAAO,MAAM,iBAAiB,GAAI,WAAW,gBAAgB,KAAG,QAAQ,CAAC,WAAW,
|
|
1
|
+
{"version":3,"file":"createFilterStore.d.ts","sourceRoot":"","sources":["../../../../../src/components/OffsetWellPickerV5/stores/filter-store/createFilterStore.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,QAAQ,EAAE,MAAM,SAAS,CAAC;AAErD,OAAO,EAEL,KAAK,WAAW,EAChB,KAAK,gBAAgB,EAEtB,MAAM,SAAS,CAAC;AAMjB,MAAM,MAAM,cAAc,GAAG,QAAQ,CAAC,WAAW,CAAC,CAAC;AAEnD,eAAO,MAAM,iBAAiB,GAAI,WAAW,gBAAgB,KAAG,QAAQ,CAAC,WAAW,CAwDnF,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import t from"@babel/runtime/helpers/defineProperty";import{createStore as e}from"zustand";import{BASE_DEFAULT_FILTERS as r}from"./types.js";import{createFilterCrudActions as i}from"./utils/createFilterCrudActions.js";import{createFilterResetActions as
|
|
1
|
+
import t from"@babel/runtime/helpers/defineProperty";import{createStore as e}from"zustand";import{BASE_DEFAULT_FILTERS as r}from"./types.js";import{createFilterCrudActions as i}from"./utils/createFilterCrudActions.js";import{createFilterResetActions as l}from"./utils/createFilterResetActions.js";import{createTempFilterActions as o}from"./utils/createTempFilterActions.js";import{createSelectionActions as n}from"./utils/createSelectionActions.js";function s(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,i)}return r}function u(e){for(var r=1;r<arguments.length;r++){var i=null!=arguments[r]?arguments[r]:{};r%2?s(Object(i),!0).forEach((function(r){t(e,r,i[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):s(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}var a=function(t){var s,a,c,f=u(u({},r),null!==(s=t.filters)&&void 0!==s?s:{}),p=u(u({},r),null!==(a=null!==(c=t.defaultFilters)&&void 0!==c?c:t.filters)&&void 0!==a?a:{}),d=e()((function(e,r){var s,a=function(t,r){e((function(e){return u(u({},t),{},{lastFilterMutationSource:r,filterMutationSeq:e.filterMutationSeq+1})}))};return u(u(u(u({wells:null,companies:[],canViewCompanies:null!==(s=t.canViewCompanies)&&void 0!==s&&s,isAllWellsLoaded:!1,isLoadAllWells:!1,segment:"drilling",filters:f,defaultFilters:p,tempFilters:{},lastFilterMutationSource:"external_sync",filterMutationSeq:0},i({get:r,setWithMutation:a})),l({get:r,setWithMutation:a,defaultFilters:p})),o({set:e,get:r})),n({get:r,setWithMutation:a}))})),m=d.getState().isAllWellsLoaded;return d.subscribe((function(t){if(!m&&t.isAllWellsLoaded)return m=!0,void t.pruneAllCascades();m=t.isAllWellsLoaded})),d};export{a as createFilterStore};
|
|
2
2
|
//# sourceMappingURL=createFilterStore.js.map
|
|
@@ -3,6 +3,8 @@ import type { Company } from '../company-safeguard/CompanySafeguardContext';
|
|
|
3
3
|
export type PeriodType = 'all' | 'last12h' | 'last24h' | 'last7d' | 'lastMonth' | 'custom';
|
|
4
4
|
export type SelectionMode = 'radius' | 'lasso';
|
|
5
5
|
export type FilterMutationSource = 'manual_ui' | 'system' | 'external_sync';
|
|
6
|
+
/** Mirrors `PickerSegment` in OffsetWellPickerV5.types (kept here to avoid circular imports). */
|
|
7
|
+
export type PickerSegmentId = 'drilling' | 'intervention';
|
|
6
8
|
export type PolygonCoord = {
|
|
7
9
|
latitude: number;
|
|
8
10
|
longitude: number;
|
|
@@ -17,9 +19,13 @@ export type FilterState = {
|
|
|
17
19
|
area?: string[];
|
|
18
20
|
formation?: string[];
|
|
19
21
|
stringDesign?: string[];
|
|
22
|
+
interventionAsset?: string[];
|
|
23
|
+
padName?: string[];
|
|
20
24
|
period?: PeriodType;
|
|
21
25
|
sideTracks?: boolean;
|
|
22
26
|
drillingWells?: boolean;
|
|
27
|
+
interventionWells?: boolean;
|
|
28
|
+
activeInterventionWells?: boolean;
|
|
23
29
|
timeRangeFrom?: number;
|
|
24
30
|
timeRangeTo?: number;
|
|
25
31
|
selectionMode?: SelectionMode;
|
|
@@ -40,6 +46,7 @@ export type FilterStoreDataSources = {
|
|
|
40
46
|
canViewCompanies: boolean;
|
|
41
47
|
isAllWellsLoaded: boolean;
|
|
42
48
|
isLoadAllWells: boolean;
|
|
49
|
+
segment: PickerSegmentId;
|
|
43
50
|
};
|
|
44
51
|
export type FilterStore = FilterStoreDataSources & {
|
|
45
52
|
filters: FilterState;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/OffsetWellPickerV5/stores/filter-store/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,8CAA8C,CAAC;AAE5E,MAAM,MAAM,UAAU,GAAG,KAAK,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,GAAG,WAAW,GAAG,QAAQ,CAAC;AAE3F,MAAM,MAAM,aAAa,GAAG,QAAQ,GAAG,OAAO,CAAC;AAC/C,MAAM,MAAM,oBAAoB,GAAG,WAAW,GAAG,QAAQ,GAAG,eAAe,CAAC;AAE5E,MAAM,MAAM,YAAY,GAAG;IACzB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG;IACxB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,MAAM,CAAC,EAAE,UAAU,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,aAAa,CAAC,EAAE,YAAY,EAAE,CAAC;IAC/B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,mCAAmC,CAAC,EAAE,OAAO,CAAC;IAC9C,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,WAElC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,qBAAqB,uDAAwD,CAAC;AAE3F,MAAM,MAAM,sBAAsB,GAAG;IACnC,KAAK,EAAE,iBAAiB,EAAE,GAAG,IAAI,CAAC;IAClC,SAAS,EAAE,OAAO,EAAE,CAAC;IACrB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,gBAAgB,EAAE,OAAO,CAAC;IAC1B,cAAc,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/OffsetWellPickerV5/stores/filter-store/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,8CAA8C,CAAC;AAE5E,MAAM,MAAM,UAAU,GAAG,KAAK,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,GAAG,WAAW,GAAG,QAAQ,CAAC;AAE3F,MAAM,MAAM,aAAa,GAAG,QAAQ,GAAG,OAAO,CAAC;AAC/C,MAAM,MAAM,oBAAoB,GAAG,WAAW,GAAG,QAAQ,GAAG,eAAe,CAAC;AAE5E,iGAAiG;AACjG,MAAM,MAAM,eAAe,GAAG,UAAU,GAAG,cAAc,CAAC;AAE1D,MAAM,MAAM,YAAY,GAAG;IACzB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG;IACxB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC7B,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,MAAM,CAAC,EAAE,UAAU,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,aAAa,CAAC,EAAE,YAAY,EAAE,CAAC;IAC/B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,mCAAmC,CAAC,EAAE,OAAO,CAAC;IAC9C,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,WAElC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,qBAAqB,uDAAwD,CAAC;AAE3F,MAAM,MAAM,sBAAsB,GAAG;IACnC,KAAK,EAAE,iBAAiB,EAAE,GAAG,IAAI,CAAC;IAClC,SAAS,EAAE,OAAO,EAAE,CAAC;IACrB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,gBAAgB,EAAE,OAAO,CAAC;IAC1B,cAAc,EAAE,OAAO,CAAC;IACxB,OAAO,EAAE,eAAe,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG,sBAAsB,GAAG;IACjD,OAAO,EAAE,WAAW,CAAC;IACrB,cAAc,EAAE,WAAW,CAAC;IAC5B,WAAW,EAAE,OAAO,CAAC,WAAW,CAAC,CAAC;IAClC,wBAAwB,EAAE,oBAAoB,CAAC;IAC/C,iBAAiB,EAAE,MAAM,CAAC;IAC1B,SAAS,EAAE,CACT,GAAG,EAAE,MAAM,WAAW,EACtB,KAAK,EAAE,WAAW,CAAC,MAAM,WAAW,CAAC,EACrC,MAAM,CAAC,EAAE,oBAAoB,KAC1B,IAAI,CAAC;IACV,UAAU,EAAE,CAAC,OAAO,EAAE,WAAW,EAAE,MAAM,CAAC,EAAE,oBAAoB,KAAK,IAAI,CAAC;IAC1E,YAAY,EAAE,CAAC,MAAM,CAAC,EAAE,oBAAoB,KAAK,IAAI,CAAC;IACtD,YAAY,EAAE,CAAC,MAAM,CAAC,EAAE,oBAAoB,KAAK,IAAI,CAAC;IACtD,mBAAmB,EAAE,CAAC,MAAM,CAAC,EAAE,oBAAoB,KAAK,IAAI,CAAC;IAC7D,gBAAgB,EAAE,MAAM,OAAO,CAAC;IAChC,aAAa,EAAE,CAAC,GAAG,EAAE,MAAM,WAAW,EAAE,KAAK,EAAE,WAAW,CAAC,MAAM,WAAW,CAAC,KAAK,IAAI,CAAC;IACvF,eAAe,EAAE,CAAC,GAAG,EAAE,MAAM,WAAW,KAAK,IAAI,CAAC;IAClD,mBAAmB,EAAE,MAAM,IAAI,CAAC;IAChC,gBAAgB,EAAE,CAAC,GAAG,EAAE,MAAM,WAAW,KAAK,IAAI,CAAC;IACnD,gBAAgB,EAAE,CAAC,IAAI,EAAE,aAAa,KAAK,IAAI,CAAC;IAChD,gBAAgB,EAAE,CAAC,MAAM,EAAE,YAAY,EAAE,GAAG,SAAS,KAAK,IAAI,CAAC;IAC/D,SAAS,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,gBAAgB,EAAE,MAAM,IAAI,CAAC;CAC9B,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB,cAAc,CAAC,EAAE,WAAW,CAAC;IAC7B,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG,CAC5B,OAAO,EAAE,OAAO,CAAC,IAAI,CAAC,WAAW,EAAE,SAAS,GAAG,aAAa,CAAC,CAAC,EAC9D,MAAM,EAAE,oBAAoB,KACzB,IAAI,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { FilterState } from '../types';
|
|
2
|
-
export declare const buildUpstreamFilters: (filterKey: keyof FilterState, filters: FilterState) => FilterState | null;
|
|
1
|
+
import type { FilterState, PickerSegmentId } from '../types';
|
|
2
|
+
export declare const buildUpstreamFilters: (filterKey: keyof FilterState, filters: FilterState, segment: PickerSegmentId) => FilterState | null;
|
|
3
3
|
//# sourceMappingURL=buildUpstreamFilters.d.ts.map
|
package/components/OffsetWellPickerV5/stores/filter-store/utils/buildUpstreamFilters.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buildUpstreamFilters.d.ts","sourceRoot":"","sources":["../../../../../../src/components/OffsetWellPickerV5/stores/filter-store/utils/buildUpstreamFilters.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"buildUpstreamFilters.d.ts","sourceRoot":"","sources":["../../../../../../src/components/OffsetWellPickerV5/stores/filter-store/utils/buildUpstreamFilters.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAI7D,eAAO,MAAM,oBAAoB,GAC/B,WAAW,MAAM,WAAW,EAC5B,SAAS,WAAW,EACpB,SAAS,eAAe,KACvB,WAAW,GAAG,IAoBhB,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{getCascadeMaps as r}from"./cascade-hierarchies.js";var a=function(a,e,n){var t=r(n).upstream.get(a);if(!t)return null;var i={},u=!1;return t.forEach((function(r){var a=e[r];Array.isArray(a)&&a.length>0&&(i[r]=a,u=!0)})),u?i:null};export{a as buildUpstreamFilters};
|
|
2
2
|
//# sourceMappingURL=buildUpstreamFilters.js.map
|
|
@@ -1,7 +1,16 @@
|
|
|
1
|
+
import type { PickerSegment } from '../../../OffsetWellPickerV5.types';
|
|
1
2
|
import type { FilterState } from '../types';
|
|
2
3
|
type CascadeHierarchy = {
|
|
3
4
|
chain: (keyof FilterState)[];
|
|
4
5
|
};
|
|
6
|
+
type FilterKey = keyof FilterState;
|
|
7
|
+
export declare const buildUpstreamMap: (hierarchies: CascadeHierarchy[]) => Map<FilterKey, FilterKey[]>;
|
|
8
|
+
export declare const buildDownstreamMap: (hierarchies: CascadeHierarchy[]) => Map<FilterKey, FilterKey[]>;
|
|
9
|
+
export declare const getCascadeMaps: (segment: PickerSegment) => {
|
|
10
|
+
hierarchies: CascadeHierarchy[];
|
|
11
|
+
upstream: Map<FilterKey, FilterKey[]>;
|
|
12
|
+
downstream: Map<FilterKey, FilterKey[]>;
|
|
13
|
+
};
|
|
5
14
|
export declare const CASCADE_HIERARCHIES: CascadeHierarchy[];
|
|
6
15
|
export declare const UPSTREAM_FILTERS_MAP: Map<keyof FilterState, (keyof FilterState)[]>;
|
|
7
16
|
export declare const DOWNSTREAM_FILTERS_MAP: Map<keyof FilterState, (keyof FilterState)[]>;
|
package/components/OffsetWellPickerV5/stores/filter-store/utils/cascade-hierarchies.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cascade-hierarchies.d.ts","sourceRoot":"","sources":["../../../../../../src/components/OffsetWellPickerV5/stores/filter-store/utils/cascade-hierarchies.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAE5C,KAAK,gBAAgB,GAAG;IACtB,KAAK,EAAE,CAAC,MAAM,WAAW,CAAC,EAAE,CAAC;CAC9B,CAAC;AAEF,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"cascade-hierarchies.d.ts","sourceRoot":"","sources":["../../../../../../src/components/OffsetWellPickerV5/stores/filter-store/utils/cascade-hierarchies.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAEvE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAE5C,KAAK,gBAAgB,GAAG;IACtB,KAAK,EAAE,CAAC,MAAM,WAAW,CAAC,EAAE,CAAC;CAC9B,CAAC;AAEF,KAAK,SAAS,GAAG,MAAM,WAAW,CAAC;AAEnC,eAAO,MAAM,gBAAgB,GAAI,aAAa,gBAAgB,EAAE,KAAG,GAAG,CAAC,SAAS,EAAE,SAAS,EAAE,CAY5F,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAC7B,aAAa,gBAAgB,EAAE,KAC9B,GAAG,CAAC,SAAS,EAAE,SAAS,EAAE,CAY5B,CAAC;AA2BF,eAAO,MAAM,cAAc,GAAI,SAAS,aAAa;iBATpC,gBAAgB,EAAE;cACrB,GAAG,CAAC,SAAS,EAAE,SAAS,EAAE,CAAC;gBACzB,GAAG,CAAC,SAAS,EAAE,SAAS,EAAE,CAAC;CAOyC,CAAC;AAGrF,eAAO,MAAM,mBAAmB,oBAA2B,CAAC;AAC5D,eAAO,MAAM,oBAAoB,+CAAwB,CAAC;AAC1D,eAAO,MAAM,sBAAsB,+CAA0B,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import{getSegmentConfig as n}from"../../../segment-config/index.js";var r=function(n){var r=new Map;return n.forEach((function(n){var i=n.chain;i.forEach((function(n,e){e>0&&r.set(n,i.slice(0,e))}))})),r},i=function(n){var r=new Map;return n.forEach((function(n){var i=n.chain;i.forEach((function(n,e){e<i.length-1&&r.set(n,i.slice(e+1))}))})),r},e=function(e){var t=[{chain:n(e).cascadeChain}];return{hierarchies:t,upstream:r(t),downstream:i(t)}},t={drilling:e("drilling"),intervention:e("intervention")},a=function(n){return t[n]};export{i as buildDownstreamMap,r as buildUpstreamMap,a as getCascadeMaps};
|
|
2
2
|
//# sourceMappingURL=cascade-hierarchies.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { FetchedOffsetWell } from '../../../api/shared/types';
|
|
2
2
|
import type { Company } from '../../company-safeguard/CompanySafeguardContext';
|
|
3
|
-
import type { FilterState } from '../types';
|
|
3
|
+
import type { FilterState, PickerSegmentId } from '../types';
|
|
4
4
|
type FilterOptionConfig = {
|
|
5
5
|
value: string;
|
|
6
6
|
label: string;
|
|
7
7
|
options: string[] | Company[];
|
|
8
8
|
};
|
|
9
|
-
export declare const computeCascadedOptions: (wells: FetchedOffsetWell[], companies: Company[], canViewCompanies: boolean, filters: FilterState) => FilterOptionConfig[];
|
|
9
|
+
export declare const computeCascadedOptions: (wells: FetchedOffsetWell[], companies: Company[], canViewCompanies: boolean, filters: FilterState, segment: PickerSegmentId) => FilterOptionConfig[];
|
|
10
10
|
export {};
|
|
11
11
|
//# sourceMappingURL=computeCascadedOptions.d.ts.map
|
package/components/OffsetWellPickerV5/stores/filter-store/utils/computeCascadedOptions.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"computeCascadedOptions.d.ts","sourceRoot":"","sources":["../../../../../../src/components/OffsetWellPickerV5/stores/filter-store/utils/computeCascadedOptions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAGnE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iDAAiD,CAAC;AAC/E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"computeCascadedOptions.d.ts","sourceRoot":"","sources":["../../../../../../src/components/OffsetWellPickerV5/stores/filter-store/utils/computeCascadedOptions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAGnE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iDAAiD,CAAC;AAC/E,OAAO,KAAK,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAK7D,KAAK,kBAAkB,GAAG;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,EAAE,GAAG,OAAO,EAAE,CAAC;CAC/B,CAAC;AAoDF,eAAO,MAAM,sBAAsB,GACjC,OAAO,iBAAiB,EAAE,EAC1B,WAAW,OAAO,EAAE,EACpB,kBAAkB,OAAO,EACzB,SAAS,WAAW,EACpB,SAAS,eAAe,KACvB,kBAAkB,EAyBpB,CAAC"}
|