@corva/ui 3.59.0-rc.0 → 3.59.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs-bundle/components/OffsetWellPickerV5/OffsetWellPickerV5.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/api/{bic/fetchOffsetWellSelections.js → external-offsets/fetchOffsetWellSelectionAppOffsets.js} +2 -2
- package/cjs-bundle/components/OffsetWellPickerV5/api/external-offsets/fetchOffsetWellSelectionAppOffsets.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV5/api/external-offsets/fetchWellhubSettingsOffsets.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV5/api/external-offsets/fetchWellhubSettingsOffsets.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV5/api/external-offsets/resyncIdasWells.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV5/components/AppHeader/AppHeader.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/AppHeader/components/HeaderActions/HeaderActions.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/Filter.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/OffsetWellPickerV5WithStore.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/components/CompanySafeguardWrapper/CompanySafeguardWrapper.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/AdvancedSearch/hooks/useAssetsFilter.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/hooks/useAdvancedSearchHandler.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/useRowInteractions.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/PickerModalActions/PickerModalActions.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/TableSection/TableSection.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/constants.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/hooks/use-save-reset/buildOffsetSourceLabel.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV5/hooks/use-save-reset/buildOffsetSourceLabel.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV5/hooks/use-save-reset/partitionSelectedWellIds.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV5/hooks/use-save-reset/partitionSelectedWellIds.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV5/hooks/use-save-reset/useCancelHandler.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/hooks/use-save-reset/usePerformSave.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/hooks/use-save-reset/useSaveReset.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/hooks/use-save-reset/useSaveResetDerivedState.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useWellDataPipeline.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/hooks/use-well-selection/useSelectionHandlers.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/hooks/use-well-selection/useWellReconciliation.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/hooks/use-well-selection/useWellSelection.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/hooks/useAutoSyncOffsetWells.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/hooks/useExternalOffsets.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV5/hooks/useExternalOffsets.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV5/hooks/usePickerStoreSelectors.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/stores/filter-store/types.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/stores/idas-resync-store/IdasResyncStoreContext.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV5/stores/idas-resync-store/IdasResyncStoreContext.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV5/stores/idas-resync-store/IdasResyncStoreProvider.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV5/stores/idas-resync-store/IdasResyncStoreProvider.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV5/stores/idas-resync-store/createIdasResyncController.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV5/stores/idas-resync-store/createIdasResyncController.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV5/stores/idas-resync-store/createIdasResyncStore.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV5/stores/idas-resync-store/createIdasResyncStore.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV5/stores/idas-resync-store/idas-resync.types.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV5/stores/idas-resync-store/idas-resync.types.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV5/stores/idas-resync-store/idasResyncChannel.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV5/stores/idas-resync-store/idasResyncChannel.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV5/stores/idas-resync-store/subscribeToIdasResync.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV5/stores/idas-resync-store/subscribeToIdasResync.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV5/stores/idas-resync-store/useIdasResyncStore.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV5/stores/idas-resync-store/useIdasResyncStore.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV5/stores/idas-resync-store/useIdasResyncStoreApi.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV5/stores/idas-resync-store/useIdasResyncStoreApi.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV5/stores/idas-resync-store/useIdasResyncSync.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV5/stores/idas-resync-store/useIdasResyncSync.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV5/utils/classifyBicSourceBuckets.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV5/utils/classifyBicSourceBuckets.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV5/utils/isXtoIdasPicker.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV5/utils/isXtoIdasPicker.js.map +1 -0
- package/components/OffsetWellPickerV5/OffsetWellPickerV5.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/OffsetWellPickerV5.js +1 -1
- package/components/OffsetWellPickerV5/OffsetWellPickerV5.types.d.ts +65 -27
- package/components/OffsetWellPickerV5/OffsetWellPickerV5.types.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/api/external-offsets/fetchOffsetWellSelectionAppOffsets.d.ts +2 -0
- package/components/OffsetWellPickerV5/api/external-offsets/fetchOffsetWellSelectionAppOffsets.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/api/{bic/fetchOffsetWellSelections.js → external-offsets/fetchOffsetWellSelectionAppOffsets.js} +2 -2
- package/components/OffsetWellPickerV5/api/external-offsets/fetchOffsetWellSelectionAppOffsets.js.map +1 -0
- package/components/OffsetWellPickerV5/api/external-offsets/fetchWellhubSettingsOffsets.d.ts +2 -0
- package/components/OffsetWellPickerV5/api/external-offsets/fetchWellhubSettingsOffsets.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/api/{bic/fetchWellhubWells.js → external-offsets/fetchWellhubSettingsOffsets.js} +2 -2
- package/components/OffsetWellPickerV5/api/external-offsets/fetchWellhubSettingsOffsets.js.map +1 -0
- package/components/OffsetWellPickerV5/api/external-offsets/resyncIdasWells.d.ts +7 -0
- package/components/OffsetWellPickerV5/api/external-offsets/resyncIdasWells.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/api/external-offsets/resyncIdasWells.js +2 -0
- package/components/OffsetWellPickerV5/api/index.d.ts +3 -3
- package/components/OffsetWellPickerV5/api/index.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/AppHeader/AppHeader.d.ts +1 -5
- package/components/OffsetWellPickerV5/components/AppHeader/AppHeader.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/AppHeader/AppHeader.js +1 -1
- package/components/OffsetWellPickerV5/components/AppHeader/components/HeaderActions/HeaderActions.d.ts +1 -5
- 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/Filter/Filter.d.ts +2 -2
- package/components/OffsetWellPickerV5/components/Filter/Filter.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/Filter/Filter.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.d.ts +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.types.d.ts +8 -5
- package/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.types.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/OffsetWellPickerV5WithStore.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/OffsetWellPickerV5WithStore.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/components/CompanySafeguardWrapper/CompanySafeguardWrapper.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/AdvancedSearch/hooks/useAssetsFilter.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/OffsetWellsTable.d.ts +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/OffsetWellsTable.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/OffsetWellsTableRow/OffsetWellsTableRow.d.ts +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/OffsetWellsTableRow/OffsetWellsTableRow.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/hooks/useAdvancedSearchHandler.d.ts +3 -2
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/hooks/useAdvancedSearchHandler.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/hooks/useAdvancedSearchHandler.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/useRowInteractions.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/useRowMemoizedMaps.d.ts +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/useRowMemoizedMaps.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/PickerModalActions/PickerModalActions.d.ts +6 -3
- package/components/OffsetWellPickerV5/components/PickerModalActions/PickerModalActions.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/PickerModalActions/PickerModalActions.js +1 -1
- package/components/OffsetWellPickerV5/components/TableSection/TableSection.d.ts +1 -1
- package/components/OffsetWellPickerV5/components/TableSection/TableSection.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/TableSection/TableSection.js +1 -1
- package/components/OffsetWellPickerV5/constants.d.ts +0 -11
- package/components/OffsetWellPickerV5/constants.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/constants.js +1 -1
- package/components/OffsetWellPickerV5/hooks/__tests__/useExternalOffsets.test.d.ts +2 -0
- package/components/OffsetWellPickerV5/hooks/__tests__/useExternalOffsets.test.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/hooks/index.d.ts +1 -1
- package/components/OffsetWellPickerV5/hooks/index.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/hooks/use-save-reset/__tests__/buildOffsetSourceLabel.test.d.ts +2 -0
- package/components/OffsetWellPickerV5/hooks/use-save-reset/__tests__/buildOffsetSourceLabel.test.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/hooks/use-save-reset/__tests__/partitionSelectedWellIds.test.d.ts +2 -0
- package/components/OffsetWellPickerV5/hooks/use-save-reset/__tests__/partitionSelectedWellIds.test.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/hooks/use-save-reset/__tests__/useSaveReset.test.d.ts +2 -0
- package/components/OffsetWellPickerV5/hooks/use-save-reset/__tests__/useSaveReset.test.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/hooks/use-save-reset/__tests__/useSaveResetDerivedState.test.d.ts +2 -0
- package/components/OffsetWellPickerV5/hooks/use-save-reset/__tests__/useSaveResetDerivedState.test.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/hooks/use-save-reset/buildOffsetSourceLabel.d.ts +18 -0
- package/components/OffsetWellPickerV5/hooks/use-save-reset/buildOffsetSourceLabel.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/hooks/use-save-reset/buildOffsetSourceLabel.js +2 -0
- package/components/OffsetWellPickerV5/hooks/use-save-reset/buildOffsetSourceLabel.js.map +1 -0
- package/components/OffsetWellPickerV5/hooks/use-save-reset/partitionSelectedWellIds.d.ts +29 -0
- package/components/OffsetWellPickerV5/hooks/use-save-reset/partitionSelectedWellIds.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/hooks/use-save-reset/partitionSelectedWellIds.js +2 -0
- package/components/OffsetWellPickerV5/hooks/use-save-reset/partitionSelectedWellIds.js.map +1 -0
- package/components/OffsetWellPickerV5/hooks/use-save-reset/useCancelHandler.d.ts +2 -1
- package/components/OffsetWellPickerV5/hooks/use-save-reset/useCancelHandler.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/hooks/use-save-reset/useCancelHandler.js +1 -1
- package/components/OffsetWellPickerV5/hooks/use-save-reset/usePerformSave.d.ts +4 -1
- package/components/OffsetWellPickerV5/hooks/use-save-reset/usePerformSave.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/hooks/use-save-reset/usePerformSave.js +1 -1
- package/components/OffsetWellPickerV5/hooks/use-save-reset/useSaveReset.d.ts +1 -1
- package/components/OffsetWellPickerV5/hooks/use-save-reset/useSaveReset.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/hooks/use-save-reset/useSaveReset.js +1 -1
- package/components/OffsetWellPickerV5/hooks/use-save-reset/useSaveReset.types.d.ts +17 -4
- package/components/OffsetWellPickerV5/hooks/use-save-reset/useSaveReset.types.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/hooks/use-save-reset/useSaveResetDerivedState.d.ts +23 -6
- package/components/OffsetWellPickerV5/hooks/use-save-reset/useSaveResetDerivedState.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/hooks/use-save-reset/useSaveResetDerivedState.js +1 -1
- package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useAdvancedWells.d.ts +1 -1
- package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useAdvancedWells.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useWellDataPipeline.d.ts +6 -5
- 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/use-well-selection/__tests__/useSelectionHandlers.test.d.ts +2 -0
- package/components/OffsetWellPickerV5/hooks/use-well-selection/__tests__/useSelectionHandlers.test.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/hooks/use-well-selection/index.d.ts +1 -1
- package/components/OffsetWellPickerV5/hooks/use-well-selection/index.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/hooks/use-well-selection/useSelectionHandlers.d.ts +3 -3
- package/components/OffsetWellPickerV5/hooks/use-well-selection/useSelectionHandlers.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/hooks/use-well-selection/useSelectionHandlers.js +1 -1
- package/components/OffsetWellPickerV5/hooks/use-well-selection/useWellReconciliation.d.ts +3 -1
- package/components/OffsetWellPickerV5/hooks/use-well-selection/useWellReconciliation.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/hooks/use-well-selection/useWellReconciliation.js +1 -1
- package/components/OffsetWellPickerV5/hooks/use-well-selection/useWellSelection.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/hooks/use-well-selection/useWellSelection.js +1 -1
- package/components/OffsetWellPickerV5/hooks/use-well-selection/useWellSelection.types.d.ts +5 -2
- package/components/OffsetWellPickerV5/hooks/use-well-selection/useWellSelection.types.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/hooks/useAutoSyncOffsetWells.d.ts +11 -3
- package/components/OffsetWellPickerV5/hooks/useAutoSyncOffsetWells.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/hooks/useAutoSyncOffsetWells.js +1 -1
- package/components/OffsetWellPickerV5/hooks/useExternalOffsets.d.ts +33 -0
- package/components/OffsetWellPickerV5/hooks/useExternalOffsets.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/hooks/useExternalOffsets.js +2 -0
- package/components/OffsetWellPickerV5/hooks/useExternalOffsets.js.map +1 -0
- package/components/OffsetWellPickerV5/hooks/usePickerStoreSelectors.d.ts +1 -0
- package/components/OffsetWellPickerV5/hooks/usePickerStoreSelectors.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/hooks/usePickerStoreSelectors.js +1 -1
- package/components/OffsetWellPickerV5/hooks/useWellsToDisplay.d.ts +2 -2
- package/components/OffsetWellPickerV5/hooks/useWellsToDisplay.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/stores/filter-store/types.js +1 -1
- package/components/OffsetWellPickerV5/stores/idas-resync-store/IdasResyncStoreContext.d.ts +3 -0
- package/components/OffsetWellPickerV5/stores/idas-resync-store/IdasResyncStoreContext.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/stores/idas-resync-store/IdasResyncStoreContext.js +2 -0
- package/components/OffsetWellPickerV5/stores/idas-resync-store/IdasResyncStoreContext.js.map +1 -0
- package/components/OffsetWellPickerV5/stores/idas-resync-store/IdasResyncStoreProvider.d.ts +7 -0
- package/components/OffsetWellPickerV5/stores/idas-resync-store/IdasResyncStoreProvider.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/stores/idas-resync-store/IdasResyncStoreProvider.js +2 -0
- package/components/OffsetWellPickerV5/stores/idas-resync-store/IdasResyncStoreProvider.js.map +1 -0
- package/components/OffsetWellPickerV5/stores/idas-resync-store/__tests__/useIdasResyncSync.test.d.ts +2 -0
- package/components/OffsetWellPickerV5/stores/idas-resync-store/__tests__/useIdasResyncSync.test.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/stores/idas-resync-store/createIdasResyncController.d.ts +46 -0
- package/components/OffsetWellPickerV5/stores/idas-resync-store/createIdasResyncController.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/stores/idas-resync-store/createIdasResyncController.js +2 -0
- package/components/OffsetWellPickerV5/stores/idas-resync-store/createIdasResyncController.js.map +1 -0
- package/components/OffsetWellPickerV5/stores/idas-resync-store/createIdasResyncStore.d.ts +5 -0
- package/components/OffsetWellPickerV5/stores/idas-resync-store/createIdasResyncStore.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/stores/idas-resync-store/createIdasResyncStore.js +2 -0
- package/components/OffsetWellPickerV5/stores/idas-resync-store/createIdasResyncStore.js.map +1 -0
- package/components/OffsetWellPickerV5/stores/idas-resync-store/idas-resync.types.d.ts +18 -0
- package/components/OffsetWellPickerV5/stores/idas-resync-store/idas-resync.types.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/stores/idas-resync-store/idas-resync.types.js +2 -0
- package/components/OffsetWellPickerV5/stores/idas-resync-store/idas-resync.types.js.map +1 -0
- package/components/OffsetWellPickerV5/stores/idas-resync-store/idasResyncChannel.d.ts +5 -0
- package/components/OffsetWellPickerV5/stores/idas-resync-store/idasResyncChannel.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/stores/idas-resync-store/idasResyncChannel.js +2 -0
- package/components/OffsetWellPickerV5/stores/idas-resync-store/idasResyncChannel.js.map +1 -0
- package/components/OffsetWellPickerV5/stores/idas-resync-store/index.d.ts +11 -0
- package/components/OffsetWellPickerV5/stores/idas-resync-store/index.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/stores/idas-resync-store/subscribeToIdasResync.d.ts +19 -0
- package/components/OffsetWellPickerV5/stores/idas-resync-store/subscribeToIdasResync.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/stores/idas-resync-store/subscribeToIdasResync.js +2 -0
- package/components/OffsetWellPickerV5/stores/idas-resync-store/subscribeToIdasResync.js.map +1 -0
- package/components/OffsetWellPickerV5/stores/idas-resync-store/useIdasResyncStore.d.ts +3 -0
- package/components/OffsetWellPickerV5/stores/idas-resync-store/useIdasResyncStore.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/stores/idas-resync-store/useIdasResyncStore.js +2 -0
- package/components/OffsetWellPickerV5/stores/idas-resync-store/useIdasResyncStore.js.map +1 -0
- package/components/OffsetWellPickerV5/stores/idas-resync-store/useIdasResyncStoreApi.d.ts +3 -0
- package/components/OffsetWellPickerV5/stores/idas-resync-store/useIdasResyncStoreApi.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/stores/idas-resync-store/useIdasResyncStoreApi.js +2 -0
- package/components/OffsetWellPickerV5/stores/idas-resync-store/useIdasResyncStoreApi.js.map +1 -0
- package/components/OffsetWellPickerV5/stores/idas-resync-store/useIdasResyncSync.d.ts +7 -0
- package/components/OffsetWellPickerV5/stores/idas-resync-store/useIdasResyncSync.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/stores/idas-resync-store/useIdasResyncSync.js +2 -0
- package/components/OffsetWellPickerV5/stores/idas-resync-store/useIdasResyncSync.js.map +1 -0
- package/components/OffsetWellPickerV5/utils/__tests__/classifyBicSourceBuckets.test.d.ts +2 -0
- package/components/OffsetWellPickerV5/utils/__tests__/classifyBicSourceBuckets.test.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/utils/classifyBicSourceBuckets.d.ts +24 -0
- package/components/OffsetWellPickerV5/utils/classifyBicSourceBuckets.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/utils/classifyBicSourceBuckets.js +2 -0
- package/components/OffsetWellPickerV5/utils/classifyBicSourceBuckets.js.map +1 -0
- package/components/OffsetWellPickerV5/utils/index.d.ts +2 -0
- package/components/OffsetWellPickerV5/utils/index.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/utils/isXtoIdasPicker.d.ts +8 -0
- package/components/OffsetWellPickerV5/utils/isXtoIdasPicker.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/utils/isXtoIdasPicker.js +2 -0
- package/components/OffsetWellPickerV5/utils/isXtoIdasPicker.js.map +1 -0
- package/mcp-server/server.mjs +1 -1
- package/package.json +1 -1
- package/tsconfig.tsbuildinfo +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/api/bic/fetchOffsetWellSelections.js.map +0 -1
- package/cjs-bundle/components/OffsetWellPickerV5/api/bic/fetchWellhubWells.js +0 -2
- package/cjs-bundle/components/OffsetWellPickerV5/api/bic/fetchWellhubWells.js.map +0 -1
- package/cjs-bundle/components/OffsetWellPickerV5/api/bic/resyncIdasWells.js +0 -2
- package/cjs-bundle/components/OffsetWellPickerV5/hooks/useBicWells.js +0 -2
- package/cjs-bundle/components/OffsetWellPickerV5/hooks/useBicWells.js.map +0 -1
- package/components/OffsetWellPickerV5/api/bic/fetchOffsetWellSelections.d.ts +0 -2
- package/components/OffsetWellPickerV5/api/bic/fetchOffsetWellSelections.d.ts.map +0 -1
- package/components/OffsetWellPickerV5/api/bic/fetchOffsetWellSelections.js.map +0 -1
- package/components/OffsetWellPickerV5/api/bic/fetchWellhubWells.d.ts +0 -2
- package/components/OffsetWellPickerV5/api/bic/fetchWellhubWells.d.ts.map +0 -1
- package/components/OffsetWellPickerV5/api/bic/fetchWellhubWells.js.map +0 -1
- package/components/OffsetWellPickerV5/api/bic/resyncIdasWells.d.ts +0 -2
- package/components/OffsetWellPickerV5/api/bic/resyncIdasWells.d.ts.map +0 -1
- package/components/OffsetWellPickerV5/api/bic/resyncIdasWells.js +0 -2
- package/components/OffsetWellPickerV5/hooks/useBicWells.d.ts +0 -26
- package/components/OffsetWellPickerV5/hooks/useBicWells.d.ts.map +0 -1
- package/components/OffsetWellPickerV5/hooks/useBicWells.js +0 -2
- package/components/OffsetWellPickerV5/hooks/useBicWells.js.map +0 -1
- /package/cjs-bundle/components/OffsetWellPickerV5/api/{bic → external-offsets}/resyncIdasWells.js.map +0 -0
- /package/components/OffsetWellPickerV5/api/{bic → external-offsets}/resyncIdasWells.js.map +0 -0
package/components/OffsetWellPickerV5/components/OffsetWellsTable/useRowMemoizedMaps.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useRowMemoizedMaps.d.ts","sourceRoot":"","sources":["../../../../../src/components/OffsetWellPickerV5/components/OffsetWellsTable/useRowMemoizedMaps.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"useRowMemoizedMaps.d.ts","sourceRoot":"","sources":["../../../../../src/components/OffsetWellPickerV5/components/OffsetWellsTable/useRowMemoizedMaps.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,gCAAgC,CAAC;AAE3E,KAAK,YAAY,GAAG;IAClB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,KAAK,YAAY,GAAG;IAClB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,KAAK,wBAAwB,GAAG;IAC9B,eAAe,EAAE,YAAY,EAAE,CAAC;IAChC,cAAc,EAAE,YAAY,EAAE,CAAC;IAC/B,QAAQ,EAAE,OAAO,EAAE,CAAC;IACpB,YAAY,EAAE,WAAW,EAAE,GAAG,IAAI,CAAC;CACpC,CAAC;AAEF,KAAK,eAAe,GAAG;IACrB,UAAU,EAAE,GAAG,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;IACtC,UAAU,EAAE,GAAG,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;IACtC,WAAW,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC;IAC1C,eAAe,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC,CAAC;IACjD,gBAAgB,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACvC,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAAI,8DAKhC,wBAAwB,KAAG,eA2B7B,CAAC"}
|
|
@@ -1,15 +1,18 @@
|
|
|
1
1
|
export type PickerModalActionsProps = {
|
|
2
2
|
isLoading: boolean;
|
|
3
3
|
isResetVisible: boolean;
|
|
4
|
+
isOffsetSourceKnown: boolean;
|
|
5
|
+
hasOffsetSource: boolean;
|
|
6
|
+
isSynced: boolean;
|
|
4
7
|
isMobile: boolean;
|
|
5
8
|
isSavePending: boolean;
|
|
6
|
-
isWDUser: boolean;
|
|
7
9
|
hasValidAssetId: boolean;
|
|
8
|
-
|
|
10
|
+
syncedOffsetLabel: string;
|
|
11
|
+
resetTooltipLabel: string;
|
|
9
12
|
selectedWellsCount: number;
|
|
10
13
|
handleCancel: () => void;
|
|
11
14
|
handleSave: () => void;
|
|
12
15
|
handleReset: () => Promise<void>;
|
|
13
16
|
};
|
|
14
|
-
export declare const PickerModalActions: ({ isLoading, isResetVisible, isMobile, isSavePending,
|
|
17
|
+
export declare const PickerModalActions: ({ isLoading, isResetVisible, isOffsetSourceKnown, hasOffsetSource, isSynced, isMobile, isSavePending, hasValidAssetId, syncedOffsetLabel, resetTooltipLabel, selectedWellsCount, handleCancel, handleSave, handleReset, }: PickerModalActionsProps) => JSX.Element;
|
|
15
18
|
//# sourceMappingURL=PickerModalActions.d.ts.map
|
package/components/OffsetWellPickerV5/components/PickerModalActions/PickerModalActions.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PickerModalActions.d.ts","sourceRoot":"","sources":["../../../../../src/components/OffsetWellPickerV5/components/PickerModalActions/PickerModalActions.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PickerModalActions.d.ts","sourceRoot":"","sources":["../../../../../src/components/OffsetWellPickerV5/components/PickerModalActions/PickerModalActions.tsx"],"names":[],"mappings":"AAcA,MAAM,MAAM,uBAAuB,GAAG;IACpC,SAAS,EAAE,OAAO,CAAC;IACnB,cAAc,EAAE,OAAO,CAAC;IACxB,mBAAmB,EAAE,OAAO,CAAC;IAC7B,eAAe,EAAE,OAAO,CAAC;IACzB,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,OAAO,CAAC;IAClB,aAAa,EAAE,OAAO,CAAC;IACvB,eAAe,EAAE,OAAO,CAAC;IACzB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,kBAAkB,EAAE,MAAM,CAAC;IAC3B,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,WAAW,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;CAClC,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAAI,2NAehC,uBAAuB,gBA4DzB,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{jsxs as o,jsx as s}from"react/jsx-runtime";import t from"classnames";import e from"../../OffsetWellPickerV5.module.css.js";import{UndoIcon as n}from"../../../../icons/iconParkIcons.js";import"../../../../icons/customIcons/icons/AddMessage.js";import"../../../../icons/customIcons/icons/Attention.js";import"../../../../icons/customIcons/icons/Collapse.js";import"../../../../icons/customIcons/icons/Dashboard.js";import"../../../../icons/customIcons/icons/Expand.js";import"../../../../icons/customIcons/icons/FolderClosed.js";import"../../../../icons/customIcons/icons/FolderClosedFilled.js";import"../../../../icons/customIcons/icons/FolderOpened.js";import"../../../../icons/customIcons/icons/GreaterOrEqual.js";import"../../../../icons/customIcons/icons/LessOrEqual.js";import"../../../../icons/customIcons/icons/Search.js";import"../../../../icons/customIcons/icons/SearchOne.js";import"../../../../icons/customIcons/icons/Wellhub.js";import"../../../../icons/customIcons/icons/MultiRuler.js";import"../../../../icons/customIcons/icons/Checkbox.js";import"../../../../icons/customIcons/icons/CheckboxChecked.js";import"../../../../icons/customIcons/icons/CheckboxIndeterminate.js";import"../../../../icons/customIcons/icons/Radio.js";import"../../../../icons/customIcons/icons/RadioChecked.js";import"../../../../icons/customIcons/icons/SimulFrac.js";import"../../../../icons/customIcons/icons/ZipperFrac.js";import"../../../../icons/customIcons/icons/CautionFilled.js";import"../../../../icons/customIcons/icons/MoreApp.js";import"../../../../icons/customIcons/icons/Pad.js";import"../../../../icons/customIcons/icons/DrilloutUnit.js";import"../../../../icons/customIcons/icons/FracFleet.js";import"../../../../icons/customIcons/icons/Global.js";import"../../../../icons/customIcons/icons/Program.js";import"../../../../icons/customIcons/icons/Rig.js";import"../../../../icons/customIcons/icons/Well.js";import"../../../../icons/customIcons/icons/Gap.js";import"../../../../icons/customIcons/icons/Pin.js";import"../../../../icons/customIcons/icons/CloseOneFilled.js";import"../../../../icons/customIcons/icons/AttentionFilled.js";import"../../../../icons/customIcons/icons/CheckOneFilled.js";import"../../../../icons/customIcons/icons/Archive.js";import"../../../../icons/customIcons/icons/ArchiveCancel.js";import"../../../../icons/customIcons/icons/Unarchive.js";import"../../../../icons/customIcons/icons/Archived.js";import"../../../../icons/customIcons/icons/InterventionUnit.js";import"../../../../icons/customIcons/icons/CloudDelete.js";import"../../../../icons/customIcons/icons/Lasso.js";import"../../../../icons/customIcons/icons/Radius.js";import"../../../../icons/customIcons/icons/ErrorOps.js";import"../../../../icons/customIcons/icons/DataTypeOps.js";import"../../../../icons/customIcons/icons/FalsePositiveOps.js";import"../../../../icons/customIcons/icons/CalibrationOps.js";import"../../../../icons/customIcons/icons/CriticalOps.js";import"../../../../icons/customIcons/icons/Company.js";import"../../../../icons/customIcons/icons/ArchiveOne.js";import"../../../../icons/customIcons/icons/ParseBotFusion.js";import"../../../../icons/customIcons/icons/Connect.js";import"../../../../icons/customIcons/icons/PuzzleOne.js";import"../../../../icons/customIcons/icons/Feed.js";import"../../../../icons/customIcons/icons/Prompt.js";import"../../../../icons/customIcons/icons/Companies.js";import"../../../../icons/customIcons/icons/ClipboardAi.js";import"../../../../icons/customIcons/icons/Key.js";import"../../../../icons/customIcons/icons/AtSignCrossed.js";import"../../../../icons/customIcons/icons/MappingManual.js";import"../../../../icons/customIcons/icons/Mapping.js";import"../../../../icons/customIcons/icons/Metrics.js";import"../../../../icons/customIcons/icons/Drops.js";import"../../../../icons/customIcons/icons/ClipboardSearch.js";import"../../../../icons/customIcons/icons/Template.js";import"../../../../icons/customIcons/icons/ClipboardMetrics.js";import"../../../../icons/customIcons/icons/ClipboardBuilder.js";import"../../../../icons/customIcons/icons/UnitConversion.js";import"../../../../icons/customIcons/icons/NPT.js";import"../../../../componentsV2/Text/Text.js";import"../../../../componentsV2/Grid/Grid.js";import"../../../../componentsV2/Grid/Cell.js";import"@babel/runtime/helpers/defineProperty";import"../../../../componentsV2/Header/Header.scss.js";import{Button as i}from"../../../../componentsV2/Button/Button.js";import"../../../../componentsV2/ButtonIcon/ButtonIcon.js";import{Tooltip as c}from"../../../../componentsV2/Tooltip/Tooltip.js";import"../../../../componentsV2/Popover/Popover.js";import"../../../../componentsV2/Radio/Radio.js";import"@babel/runtime/helpers/objectWithoutProperties";import"react";import"@material-ui/core";import"../../../../componentsV2/RadioAndCheckboxGroup/RadioAndCheckboxGroup.scss.js";import"../../../../componentsV2/Checkbox/Checkbox.js";import"@babel/runtime/helpers/toConsumableArray";import"../../../../componentsV2/TextInput/TextInput.js";import"../../../../componentsV2/TextInputNext/TextInputNext.js";import"../../../../componentsV2/Label/Label.js";import"@babel/runtime/helpers/slicedToArray";import"lodash";import"../../../../componentsV2/TextEndTruncated/TextEndTruncated.scss.js";import"../../../../componentsV2/TextMiddleTruncated/TextMiddleTruncated.constants.js";import"../../../../componentsV2/TextMiddleTruncated/TextMiddleTruncated.scss.js";import"../../../../componentsV2/TextLink/TextLink.js";import{LoaderCircular as p}from"../../../../componentsV2/LoaderCircular/LoaderCircular.js";import"../../../../componentsV2/Chip/Chip.js";import"../../../../componentsV2/ChipAlert/ChipAlert.js";import"../../../../componentsV2/ChipIndicator/ChipIndicator.js";import"../../../../componentsV2/Avatar/Avatar.js";import"../../../../componentsV2/AvatarGroup/AvatarGroup.js";import"@material-ui/lab";import"../../../../componentsV2/ToggleButtons/ToggleButtons.scss.js";import"../../../../componentsV2/Paper/Paper.js";import"../../../../componentsV2/ModalWindow/ModalWindow.js";import"uuid";import"../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js";import"../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js";import"../../../DevCenter/DevCenterAppContainer/components/IsInsideIsolatedDcAppProvider/IsInsideIsolatedDcAppProvider.js";import"../../../../componentsV2/Modal/Modal.scss.js";import"../../../../componentsV2/Menu/Menu.js";import"../../../../componentsV2/utils.js";import"../../../../componentsV2/Hint/Hint.scss.js";import"../../../../componentsV2/Counter/Counter.js";import"../../../../componentsV2/BadgeBase/BadgeBase.scss.js";import"../../../../componentsV2/TemplatesControl/TemplatesControl.js";import"zustand";import"../../../../componentsV2/TemplatesControl/utils.js";import"../../../../componentsV2/TemplatesControl/icons/folder/index.js";import"../../../../componentsV2/TemplatesControl/Store/utils.js";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"../../../../componentsV2/TemplatesControl/types.js";import"../../../../utils/index.js";import"../../../../clients/jsonApi/index.js";import"../../../../permissions/PermissionsContext.js";import"../../../../permissions/constants/index.js";import"../../../../permissions/withPermissionsHOC.js";import"../../../../permissions/ProvidePermissions.js";import"../../../../componentsV2/BadgeDot/BadgeDot.scss.js";import"../../../../componentsV2/LoaderLinear/LoaderLinear.scss.js";import"../../../../componentsV2/LoaderLogo/LoaderLogo.constants.js";import"../../../../componentsV2/LoaderLogo/LoaderLogo.scss.js";import"../../../../componentsV2/Switch/Switch.js";import"../../../../componentsV2/Tabs/Tabs.js";import"../../../../componentsV2/EmptyState/EmptyState.scss.js";import"../../../../componentsV2/FileIcon/FileIcon.js";import"../../../../componentsV2/Tag/Tag.js";import"react-dropzone";import"../../../../componentsV2/FilesDropzone/FilesDropzone.scss.js";import"../../../../componentsV2/FilesLoader/FilesLoader.scss.js";import"../../../../componentsV2/FilesProcessor/FilesProcessor.scss.js";import"../../../../componentsV2/Skeleton/Skeleton.scss.js";import"../../../../utils/main.js";import"../../../../componentsV2/CopyToClipboard/CopyToClipboard.scss.js";import"../../../../componentsV2/Stepper/Step/Step.scss.js";import"../../../../componentsV2/Stepper/Stepper.scss.js";import"../../../../componentsV2/ButtonLive/ButtonLive.js";import"../../../../componentsV2/ButtonText/ButtonText.js";import"../../../../componentsV2/IndicatorLive/IndicatorLive.js";import"../../../../componentsV2/Accordion/Accordion.scss.js";import"../../../../componentsV2/Breadcrumbs/Breadcrumbs.scss.js";import"../../../../componentsV2/BadgeComment/BadgeComment.js";import"../../../../componentsV2/AppContainer/AppContainer.js";import"../../../../componentsV2/AppContainer/AppContainer.constants.js";import"../../../../componentsV2/AppFooter/AppFooter.js";import"immutable";import"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"../../../../componentsV2/AppCommonsProvider/AppCommonsContext.js";import"../../../../componentsV2/AppHeader/AppHeader.constants.js";import"../../../../componentsV2/AppHeader/AppBadge/AppBadge.scss.js";import"../../../DevCenter/DevCenterRouterContext/DevCenterRouterContext.js";import"../../../DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js";import"react-router-dom";import"../../../../componentsV2/AppHeader/AppAssets/utils.js";import"../../../../componentsV2/AppHeader/AppAssets/AppAssets.scss.js";import"../../../PadModeSelect/PadModeSelect.js";import"../../../../componentsV2/AppHeader/PadMode/PadMode.scss.js";import"../../../../constants/streamSourceType.js";import"../../../../componentsV2/PadModeSelect/PadModeSelect.js";import"../../../../componentsV2/PadModeSelect/PadModeSelect.constants.js";import"../../../../componentsV2/AppCommonsProvider/AppCommonsProvider.js";import"../../../../componentsV2/AppHeader/V3/VersionSelect/VersionSelect.js";import"../../../../componentsV2/UniversalLink/UniversalLink.scss.js";import"../../../../componentsV2/AppHeader/V3/AssetChips/AssetChips.scss.js";import"moment";import"../../../../componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.js";import"../../../../componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.constants.js";import"../../../../componentsV2/AppFooter/DqPopover/DqStatusIcon/DqStatusIcon.js";import"../../../../componentsV2/AppDqPopover/DqAlertTooltip/DqAlertTooltip.scss.js";import"../../../../componentsV2/AppDqPopover/DqAlert/DqAlert.scss.js";import"../../../../componentsV2/AppDqPopover/DqAsset/DqAsset.scss.js";import"../../../../componentsV2/AppDqPopover/AppDqPopover.scss.js";import"../../../AppIcon/AppIcon.js";import"../../../../utils/getSingleAsset.js";import"../../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorChip/AssetSelectorChip.js";import"../../../../componentsV2/AppHeader/V3/AssetSelector/constants.js";import"../../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/AssetSelectorSelect.scss.js";import"../../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/loadAssets.js";import"../../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelector.scss.js";import"../../../../clients/subscriptions/constants.js";import"querystring";import"uuid/v1";import"../../../../clients/subscriptions.v1.js";import"../../../../clients/subscriptions/subscriptions-client.factory.js";import"jsona";import"../../../../utils/env.js";import"../../../StatusBadge/constants.js";import"lodash/set";import"lodash/get";import"lodash/unset";import"../../../../clients/api/apiCore.js";import"../../../../clients/constants.js";import"../../../../clients/sso/auth0.js";import"../../../../clients/sso/oauth2.js";import"../../../../clients/api/rateLimiter.js";import"lodash/isEmpty";import"lodash/sortBy";import"../../../DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchContext.js";import"../../../../componentsV2/AppSettings/AppSettingsPinningContext.js";import"../../../../componentsV2/AppHeader/V3/AppTitle/AppTitle.constants.js";import"../../../../componentsV2/AppHeader/V3/AppTitle/AppTitle.scss.js";import"../../../../componentsV2/AppHeader/V3/constants.scss.js";import"@babel/runtime/helpers/typeof";import"../../../../componentsV2/AppHeader/V3/SettingsButton/SettingsButton.js";import"../../../../componentsV2/AppHeader/V3/SettingsButton/SettingsButton.constants.js";import"../../../../componentsV2/AppSettings/AppSettings.js";import"../../../../componentsV2/AppSettings/AppSettings.constants.js";import"../../../../componentsV2/AppSizeProvider/AppSizeProvider.js";import"../../../../componentsV2/AppHeader/V3/Actions/Actions.constants.js";import"../../../../componentsV2/AppHeader/V3/Actions/Actions.scss.js";import"../../../../componentsV2/AppHeader/V3/AppHeaderV3.scss.js";import"../../../../componentsV2/AppHeader/AppHeader.scss.js";import"../../../../componentsV2/OffsetWellsButton/OffsetWellsButton.js";import"../../../../componentsV2/Autocomplete/Autocomplete.js";import"../../../../componentsV2/Select/Select.js";import"../../../../componentsV2/AppSettingsDivider/AppSettingsDivider.scss.js";import"../../../../componentsV2/WellArchivedMessage/WellArchivedMessage.js";import"../../../../componentsV2/DatePicker/DatePicker.js";import"../../../../componentsV2/DragHandle/DragHandle.js";import"../../../../componentsV2/CompletionsOffsetWellPicker/CompletionsOffsetWellPicker.js";import"../../../../componentsV2/Slider/constants.js";import"../../../../componentsV2/Slider/components/SliderThumb.js";import"../../../../componentsV2/Slider/Slider.scss.js";import"react-color";import"../../../../componentsV2/ColorPicker/Swatches/Swatches.scss.js";import"../../../../componentsV2/ColorPicker/OpacityDragtracker/OpacityDragTracker.scss.js";import"../../../../componentsV2/ColorPicker/ColorPicker.scss.js";import r from"../../../../styles/typography/index.js";import"../../../../styles/counter/counter.module.scss.js";var m=r,a="OffsetWellPickerV5",l=function(r){var l=r.isLoading,j=r.isResetVisible,d=r.isMobile,u=r.isSavePending,V=r.isWDUser,A=r.hasValidAssetId,C=r.offsetLabel,I=r.selectedWellsCount,S=r.handleCancel,h=r.handleSave,v=r.handleReset;return o("div",{className:e.actionsWrapper,children:[!l&&j?s(c,{placement:"bottom-start",title:"Reset to Synced Offsets in ".concat(V?"Offset App":"Wellhub"),children:s("div",{children:s(i,d?{testId:"".concat(a,"_reset"),onClick:v,className:e.resetButtonMobile,children:s(n,{})}:{testId:"".concat(a,"_reset"),onClick:v,prefix:s(n,{}),children:"Reset to Defaults"})})}):A&&o("div",{children:[s("span",{className:t(m.regular12,m.colors.t6),children:"The offset list is being automatically populated by "}),s("span",{className:t(m.medium12,m.colors.t6),children:C})]}),o("div",{className:e.buttonGap,children:[s(i,{testId:"".concat(a,"_cancel"),onClick:S,children:"Cancel"}),o(i,{testId:"".concat(a,"_selectedWells"),type:"primary",onClick:h,disabled:u,prefix:u?s(p,{size:"small"}):void 0,children:["Select (",I,")"]})]})]})};export{l as PickerModalActions};
|
|
1
|
+
import{jsxs as o,jsx as s}from"react/jsx-runtime";import t from"classnames";import"../../stores/idas-resync-store/IdasResyncStoreContext.js";import"../../stores/idas-resync-store/IdasResyncStoreProvider.js";import"zustand";import{useIdasResyncStore as e}from"../../stores/idas-resync-store/useIdasResyncStore.js";import"react";import"lodash";import"../../stores/picker-props-store/PickerPropsStoreContext.js";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/helpers/objectWithoutProperties";import"../../viewport/ViewportProvider.js";import"../../viewport/ViewportContext.js";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";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"../../constants.js";import"../../api/shared/dataFormatter.js";import"@babel/runtime/helpers/slicedToArray";import"../../../../utils/index.js";import n from"../../OffsetWellPickerV5.module.css.js";import{UndoIcon as i}from"../../../../icons/iconParkIcons.js";import"../../../../icons/customIcons/icons/AddMessage.js";import"../../../../icons/customIcons/icons/Attention.js";import"../../../../icons/customIcons/icons/Collapse.js";import"../../../../icons/customIcons/icons/Dashboard.js";import"../../../../icons/customIcons/icons/Expand.js";import"../../../../icons/customIcons/icons/FolderClosed.js";import"../../../../icons/customIcons/icons/FolderClosedFilled.js";import"../../../../icons/customIcons/icons/FolderOpened.js";import"../../../../icons/customIcons/icons/GreaterOrEqual.js";import"../../../../icons/customIcons/icons/LessOrEqual.js";import"../../../../icons/customIcons/icons/Search.js";import"../../../../icons/customIcons/icons/SearchOne.js";import"../../../../icons/customIcons/icons/Wellhub.js";import"../../../../icons/customIcons/icons/MultiRuler.js";import"../../../../icons/customIcons/icons/Checkbox.js";import"../../../../icons/customIcons/icons/CheckboxChecked.js";import"../../../../icons/customIcons/icons/CheckboxIndeterminate.js";import"../../../../icons/customIcons/icons/Radio.js";import"../../../../icons/customIcons/icons/RadioChecked.js";import"../../../../icons/customIcons/icons/SimulFrac.js";import"../../../../icons/customIcons/icons/ZipperFrac.js";import"../../../../icons/customIcons/icons/CautionFilled.js";import"../../../../icons/customIcons/icons/MoreApp.js";import"../../../../icons/customIcons/icons/Pad.js";import"../../../../icons/customIcons/icons/DrilloutUnit.js";import"../../../../icons/customIcons/icons/FracFleet.js";import"../../../../icons/customIcons/icons/Global.js";import"../../../../icons/customIcons/icons/Program.js";import"../../../../icons/customIcons/icons/Rig.js";import"../../../../icons/customIcons/icons/Well.js";import"../../../../icons/customIcons/icons/Gap.js";import"../../../../icons/customIcons/icons/Pin.js";import"../../../../icons/customIcons/icons/CloseOneFilled.js";import"../../../../icons/customIcons/icons/AttentionFilled.js";import"../../../../icons/customIcons/icons/CheckOneFilled.js";import"../../../../icons/customIcons/icons/Archive.js";import"../../../../icons/customIcons/icons/ArchiveCancel.js";import"../../../../icons/customIcons/icons/Unarchive.js";import"../../../../icons/customIcons/icons/Archived.js";import"../../../../icons/customIcons/icons/InterventionUnit.js";import"../../../../icons/customIcons/icons/CloudDelete.js";import"../../../../icons/customIcons/icons/Lasso.js";import"../../../../icons/customIcons/icons/Radius.js";import"../../../../icons/customIcons/icons/ErrorOps.js";import"../../../../icons/customIcons/icons/DataTypeOps.js";import"../../../../icons/customIcons/icons/FalsePositiveOps.js";import"../../../../icons/customIcons/icons/CalibrationOps.js";import"../../../../icons/customIcons/icons/CriticalOps.js";import"../../../../icons/customIcons/icons/Company.js";import"../../../../icons/customIcons/icons/ArchiveOne.js";import"../../../../icons/customIcons/icons/ParseBotFusion.js";import"../../../../icons/customIcons/icons/Connect.js";import"../../../../icons/customIcons/icons/PuzzleOne.js";import"../../../../icons/customIcons/icons/Feed.js";import"../../../../icons/customIcons/icons/Prompt.js";import"../../../../icons/customIcons/icons/Companies.js";import"../../../../icons/customIcons/icons/ClipboardAi.js";import"../../../../icons/customIcons/icons/Key.js";import"../../../../icons/customIcons/icons/AtSignCrossed.js";import"../../../../icons/customIcons/icons/MappingManual.js";import"../../../../icons/customIcons/icons/Mapping.js";import"../../../../icons/customIcons/icons/Metrics.js";import"../../../../icons/customIcons/icons/Drops.js";import"../../../../icons/customIcons/icons/ClipboardSearch.js";import"../../../../icons/customIcons/icons/Template.js";import"../../../../icons/customIcons/icons/ClipboardMetrics.js";import"../../../../icons/customIcons/icons/ClipboardBuilder.js";import"../../../../icons/customIcons/icons/UnitConversion.js";import"../../../../icons/customIcons/icons/NPT.js";import"../../../../componentsV2/Text/Text.js";import"../../../../componentsV2/Grid/Grid.js";import"../../../../componentsV2/Grid/Cell.js";import"../../../../componentsV2/Header/Header.scss.js";import{Button as c}from"../../../../componentsV2/Button/Button.js";import"../../../../componentsV2/ButtonIcon/ButtonIcon.js";import{Tooltip as r}from"../../../../componentsV2/Tooltip/Tooltip.js";import"../../../../componentsV2/Popover/Popover.js";import"../../../../componentsV2/Radio/Radio.js";import"@material-ui/core";import"../../../../componentsV2/RadioAndCheckboxGroup/RadioAndCheckboxGroup.scss.js";import"../../../../componentsV2/Checkbox/Checkbox.js";import"../../../../componentsV2/TextInput/TextInput.js";import"../../../../componentsV2/TextInputNext/TextInputNext.js";import"../../../../componentsV2/Label/Label.js";import"../../../../componentsV2/TextEndTruncated/TextEndTruncated.scss.js";import"../../../../componentsV2/TextMiddleTruncated/TextMiddleTruncated.constants.js";import"../../../../componentsV2/TextMiddleTruncated/TextMiddleTruncated.scss.js";import"../../../../componentsV2/TextLink/TextLink.js";import{LoaderCircular as p}from"../../../../componentsV2/LoaderCircular/LoaderCircular.js";import"../../../../componentsV2/Chip/Chip.js";import"../../../../componentsV2/ChipAlert/ChipAlert.js";import"../../../../componentsV2/ChipIndicator/ChipIndicator.js";import"../../../../componentsV2/Avatar/Avatar.js";import"../../../../componentsV2/AvatarGroup/AvatarGroup.js";import"@material-ui/lab";import"../../../../componentsV2/ToggleButtons/ToggleButtons.scss.js";import"../../../../componentsV2/Paper/Paper.js";import"../../../../componentsV2/ModalWindow/ModalWindow.js";import"../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js";import"../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js";import"../../../DevCenter/DevCenterAppContainer/components/IsInsideIsolatedDcAppProvider/IsInsideIsolatedDcAppProvider.js";import"../../../../componentsV2/Modal/Modal.scss.js";import"../../../../componentsV2/Menu/Menu.js";import"../../../../componentsV2/utils.js";import"../../../../componentsV2/Hint/Hint.scss.js";import"../../../../componentsV2/Counter/Counter.js";import"../../../../componentsV2/BadgeBase/BadgeBase.scss.js";import"../../../../componentsV2/TemplatesControl/TemplatesControl.js";import"../../../../componentsV2/TemplatesControl/utils.js";import"../../../../componentsV2/TemplatesControl/icons/folder/index.js";import"../../../../componentsV2/TemplatesControl/Store/utils.js";import"../../../../componentsV2/TemplatesControl/types.js";import"../../../../permissions/PermissionsContext.js";import"../../../../permissions/constants/index.js";import"../../../../permissions/withPermissionsHOC.js";import"../../../../permissions/ProvidePermissions.js";import"../../../../componentsV2/BadgeDot/BadgeDot.scss.js";import"../../../../componentsV2/LoaderLinear/LoaderLinear.scss.js";import"../../../../componentsV2/LoaderLogo/LoaderLogo.constants.js";import"../../../../componentsV2/LoaderLogo/LoaderLogo.scss.js";import"../../../../componentsV2/Switch/Switch.js";import"../../../../componentsV2/Tabs/Tabs.js";import"../../../../componentsV2/EmptyState/EmptyState.scss.js";import"../../../../componentsV2/FileIcon/FileIcon.js";import"../../../../componentsV2/Tag/Tag.js";import"react-dropzone";import"../../../../componentsV2/FilesDropzone/FilesDropzone.scss.js";import"../../../../componentsV2/FilesLoader/FilesLoader.scss.js";import"../../../../componentsV2/FilesProcessor/FilesProcessor.scss.js";import"../../../../componentsV2/Skeleton/Skeleton.scss.js";import"../../../../utils/main.js";import"../../../../componentsV2/CopyToClipboard/CopyToClipboard.scss.js";import"../../../../componentsV2/Stepper/Step/Step.scss.js";import"../../../../componentsV2/Stepper/Stepper.scss.js";import"../../../../componentsV2/ButtonLive/ButtonLive.js";import"../../../../componentsV2/ButtonText/ButtonText.js";import"../../../../componentsV2/IndicatorLive/IndicatorLive.js";import"../../../../componentsV2/Accordion/Accordion.scss.js";import"../../../../componentsV2/Breadcrumbs/Breadcrumbs.scss.js";import"../../../../componentsV2/BadgeComment/BadgeComment.js";import"../../../../componentsV2/AppContainer/AppContainer.js";import"../../../../componentsV2/AppContainer/AppContainer.constants.js";import"../../../../componentsV2/AppFooter/AppFooter.js";import"immutable";import"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"../../../../componentsV2/AppCommonsProvider/AppCommonsContext.js";import"../../../../componentsV2/AppHeader/AppHeader.constants.js";import"../../../../componentsV2/AppHeader/AppBadge/AppBadge.scss.js";import"../../../DevCenter/DevCenterRouterContext/DevCenterRouterContext.js";import"../../../DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js";import"react-router-dom";import"../../../../componentsV2/AppHeader/AppAssets/utils.js";import"../../../../componentsV2/AppHeader/AppAssets/AppAssets.scss.js";import"../../../PadModeSelect/PadModeSelect.js";import"../../../../componentsV2/AppHeader/PadMode/PadMode.scss.js";import"../../../../constants/streamSourceType.js";import"../../../../componentsV2/PadModeSelect/PadModeSelect.js";import"../../../../componentsV2/PadModeSelect/PadModeSelect.constants.js";import"../../../../componentsV2/AppCommonsProvider/AppCommonsProvider.js";import"../../../../componentsV2/AppHeader/V3/VersionSelect/VersionSelect.js";import"../../../../componentsV2/UniversalLink/UniversalLink.scss.js";import"../../../../componentsV2/AppHeader/V3/AssetChips/AssetChips.scss.js";import"../../../../componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.js";import"../../../../componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.constants.js";import"../../../../componentsV2/AppFooter/DqPopover/DqStatusIcon/DqStatusIcon.js";import"../../../../componentsV2/AppDqPopover/DqAlertTooltip/DqAlertTooltip.scss.js";import"../../../../componentsV2/AppDqPopover/DqAlert/DqAlert.scss.js";import"../../../../componentsV2/AppDqPopover/DqAsset/DqAsset.scss.js";import"../../../../componentsV2/AppDqPopover/AppDqPopover.scss.js";import"../../../AppIcon/AppIcon.js";import"../../../../utils/getSingleAsset.js";import"../../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorChip/AssetSelectorChip.js";import"../../../../componentsV2/AppHeader/V3/AssetSelector/constants.js";import"../../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/AssetSelectorSelect.scss.js";import"../../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/loadAssets.js";import"../../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelector.scss.js";import"querystring";import"uuid/v1";import"jsona";import"../../../../utils/env.js";import"../../../StatusBadge/constants.js";import"lodash/isEmpty";import"lodash/sortBy";import"../../../DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchContext.js";import"../../../../componentsV2/AppSettings/AppSettingsPinningContext.js";import"../../../../componentsV2/AppHeader/V3/AppTitle/AppTitle.constants.js";import"../../../../componentsV2/AppHeader/V3/AppTitle/AppTitle.scss.js";import"../../../../componentsV2/AppHeader/V3/constants.scss.js";import"@babel/runtime/helpers/typeof";import"../../../../componentsV2/AppHeader/V3/SettingsButton/SettingsButton.js";import"../../../../componentsV2/AppHeader/V3/SettingsButton/SettingsButton.constants.js";import"../../../../componentsV2/AppSettings/AppSettings.js";import"../../../../componentsV2/AppSettings/AppSettings.constants.js";import"../../../../componentsV2/AppSizeProvider/AppSizeProvider.js";import"../../../../componentsV2/AppHeader/V3/Actions/Actions.constants.js";import"../../../../componentsV2/AppHeader/V3/Actions/Actions.scss.js";import"../../../../componentsV2/AppHeader/V3/AppHeaderV3.scss.js";import"../../../../componentsV2/AppHeader/AppHeader.scss.js";import"../../../../componentsV2/OffsetWellsButton/OffsetWellsButton.js";import"../../../../componentsV2/Autocomplete/Autocomplete.js";import"../../../../componentsV2/Select/Select.js";import"../../../../componentsV2/AppSettingsDivider/AppSettingsDivider.scss.js";import"../../../../componentsV2/WellArchivedMessage/WellArchivedMessage.js";import"../../../../componentsV2/DatePicker/DatePicker.js";import"../../../../componentsV2/DragHandle/DragHandle.js";import"../../../../componentsV2/CompletionsOffsetWellPicker/CompletionsOffsetWellPicker.js";import"../../../../componentsV2/Slider/constants.js";import"../../../../componentsV2/Slider/components/SliderThumb.js";import"../../../../componentsV2/Slider/Slider.scss.js";import"react-color";import"../../../../componentsV2/ColorPicker/Swatches/Swatches.scss.js";import"../../../../componentsV2/ColorPicker/OpacityDragtracker/OpacityDragTracker.scss.js";import"../../../../componentsV2/ColorPicker/ColorPicker.scss.js";import m from"../../../../styles/typography/index.js";import"../../../../styles/counter/counter.module.scss.js";var a=m,l="OffsetWellPickerV5",d=function(m){var d=m.isLoading,j=m.isResetVisible,u=m.isOffsetSourceKnown,V=m.hasOffsetSource,A=m.isSynced,C=m.isMobile,I=m.isSavePending,S=m.hasValidAssetId,h=m.syncedOffsetLabel,v=m.resetTooltipLabel,P=m.selectedWellsCount,g=m.handleCancel,b=m.handleSave,D=m.handleReset,T=e((function(o){return o.isResyncInFlight})),x=!d&&S&&u,f=x&&j,y=x&&!j&&A&&V,k=I||T;return o("div",{className:n.actionsWrapper,children:[f&&s(r,{placement:"bottom-start",title:v,children:s("div",{children:s(c,C?{testId:"".concat(l,"_reset"),onClick:D,disabled:T,className:n.resetButtonMobile,children:s(i,{})}:{testId:"".concat(l,"_reset"),onClick:D,disabled:T,prefix:s(i,{}),children:"Reset to Defaults"})})}),y&&o("div",{children:[s("span",{className:t(a.regular12,a.colors.t6),children:"The offset list is being automatically populated by "}),s("span",{className:t(a.medium12,a.colors.t6),children:h})]}),o("div",{className:n.buttonGap,children:[s(c,{testId:"".concat(l,"_cancel"),onClick:g,children:"Cancel"}),o(c,{testId:"".concat(l,"_selectedWells"),type:"primary",onClick:b,disabled:k,prefix:I?s(p,{size:"small"}):void 0,children:["Select (",P,")"]})]})]})};export{d as PickerModalActions};
|
|
2
2
|
//# sourceMappingURL=PickerModalActions.js.map
|
|
@@ -2,7 +2,7 @@ import { type Dispatch, type MutableRefObject, type RefObject, type SetStateActi
|
|
|
2
2
|
import type { SortDirectionType } from 'react-virtualized';
|
|
3
3
|
import type { FilterState } from '../../stores/filter-store/types';
|
|
4
4
|
import type { SortedWell } from '../../hooks/useSortedWells';
|
|
5
|
-
import type { WellSection, TaScore } from '../../hooks/
|
|
5
|
+
import type { WellSection, TaScore } from '../../hooks/useExternalOffsets';
|
|
6
6
|
import type { OffsetWellMapHandle } from '../Map/OffsetWellMap/OffsetWellMap';
|
|
7
7
|
type ResolvedColumn = {
|
|
8
8
|
type: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableSection.d.ts","sourceRoot":"","sources":["../../../../../src/components/OffsetWellPickerV5/components/TableSection/TableSection.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,QAAQ,EACb,KAAK,gBAAgB,EACrB,KAAK,SAAS,EACd,KAAK,cAAc,EACpB,MAAM,OAAO,CAAC;AAGf,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAG3D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,KAAK,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"TableSection.d.ts","sourceRoot":"","sources":["../../../../../src/components/OffsetWellPickerV5/components/TableSection/TableSection.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,QAAQ,EACb,KAAK,gBAAgB,EACrB,KAAK,SAAS,EACd,KAAK,cAAc,EACpB,MAAM,OAAO,CAAC;AAGf,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAG3D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,KAAK,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,gCAAgC,CAAC;AAK3E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AAK9E,KAAK,cAAc,GAAG;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,KAAK,kBAAkB,GAAG;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,EAAE,GAAG;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;CACpD,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,QAAQ,EAAE,OAAO,CAAC;IAClB,UAAU,EAAE,OAAO,CAAC;IACpB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,cAAc,EAAE,OAAO,CAAC;IACxB,kBAAkB,EAAE,OAAO,CAAC;IAC5B,oBAAoB,EAAE,OAAO,CAAC;IAC9B,0BAA0B,EAAE,OAAO,CAAC;IACpC,kBAAkB,EAAE,OAAO,CAAC;IAC5B,aAAa,EAAE,OAAO,CAAC;IACvB,aAAa,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,eAAe,EAAE,MAAM,EAAE,CAAC;IAC1B,mBAAmB,EAAE,MAAM,CAAC;IAC5B,WAAW,EAAE,UAAU,EAAE,GAAG,IAAI,CAAC;IACjC,UAAU,EAAE,UAAU,EAAE,CAAC;IACzB,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,EAAE,WAAW,EAAE,GAAG,IAAI,CAAC;IACnC,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,cAAc,EAAE,QAAQ,CAAC,cAAc,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;IACnD,eAAe,EAAE,cAAc,EAAE,GAAG,IAAI,CAAC;IACzC,QAAQ,EAAE,OAAO,EAAE,CAAC;IACpB,aAAa,EAAE,kBAAkB,EAAE,CAAC;IACpC,cAAc,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC5B,eAAe,EAAE,MAAM,EAAE,CAAC;IAC1B,OAAO,EAAE,WAAW,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,QAAQ,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC;IAC5C,aAAa,EAAE,iBAAiB,CAAC;IACjC,gBAAgB,EAAE,QAAQ,CAAC,cAAc,CAAC,iBAAiB,CAAC,CAAC,CAAC;IAC9D,mBAAmB,EAAE,MAAM,CAAC;IAC5B,sBAAsB,EAAE,CAAC,IAAI,EAAE;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,EAAE,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IACzE,0BAA0B,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IACvD,uBAAuB,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC5D,qBAAqB,EAAE,CACrB,QAAQ,EAAE,OAAO,EACjB,SAAS,EAAE,MAAM,EAAE,EACnB,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,MAAM,EAAE,GAAG,IAAI,KACpB,OAAO,CAAC,IAAI,CAAC,CAAC;IACnB,YAAY,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,OAAO,CAAC,cAAc,CAAC,KAAK,IAAI,CAAC;IACzD,eAAe,EAAE,QAAQ,CAAC,cAAc,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC,CAAC;IACzD,yBAAyB,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACpD,WAAW,EAAE,SAAS,CAAC,mBAAmB,GAAG,IAAI,CAAC,CAAC;IACnD,YAAY,EAAE,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;IAC/C,cAAc,EAAE,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;IACjD,cAAc,EAAE,gBAAgB,CAAC,OAAO,CAAC,CAAC;CAC3C,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,qqBAyC1B,iBAAiB,gBAiHnB,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import e from"@babel/runtime/helpers/defineProperty";import{jsxs as l,jsx as t}from"react/jsx-runtime";import{useMemo as i,useCallback as s}from"react";import r from"classnames";import{Table as n,TableHead as o}from"@material-ui/core";import{getIsImperial as a}from"../../utils/getIsImperial.js";import{Filter as c}from"../Filter/Filter.js";import"../Filter/components/MultiFilterSelect/MultiFilterSelect.js";import"../Filter/components/SingleFilterSelect/SingleFilterSelect.js";import"../Filter/components/StatusFilterSelect/StatusFilterSelect.js";import"../Filter/components/PeriodFilterSelect/PeriodFilterSelect.js";import"../Filter/components/WellSectionSelect/WellSectionSelect.js";import{OffsetWellsTable as d}from"../OffsetWellsTable/OffsetWellsTable.js";import{OffsetWellsTableHead as m}from"../OffsetWellsTable/components/OffsetWellsTableHead/OffsetWellsTableHead.js";import{AdvancedSearch as f}from"../OffsetWellsTable/AdvancedSearch/AdvancedSearch.js";import W from"../OffsetWellsTable/OffsetWellsTable.module.css.js";import u from"../../OffsetWellPickerV5.module.css.js";var p=function(p){var S=p.isMobile,h=p.isViewOnly,b=p.isFilterExpanded,g=p.isVScrollMoved,O=p.isTableFullLoading,v=p.isLimitedOffsetWells,C=p.isWellSectionColumnVisible,F=p.isAllWellsSelected,j=p.indeterminate,A=p.subjectWellId,I=p.selectedWellIds,y=p.selectedWellSection,T=p.sortedWells,w=p.tableWells,N=p.tableRowsCount,R=p.wellSections,
|
|
1
|
+
import e from"@babel/runtime/helpers/defineProperty";import{jsxs as l,jsx as t}from"react/jsx-runtime";import{useMemo as i,useCallback as s}from"react";import r from"classnames";import{Table as n,TableHead as o}from"@material-ui/core";import{getIsImperial as a}from"../../utils/getIsImperial.js";import{Filter as c}from"../Filter/Filter.js";import"../Filter/components/MultiFilterSelect/MultiFilterSelect.js";import"../Filter/components/SingleFilterSelect/SingleFilterSelect.js";import"../Filter/components/StatusFilterSelect/StatusFilterSelect.js";import"../Filter/components/PeriodFilterSelect/PeriodFilterSelect.js";import"../Filter/components/WellSectionSelect/WellSectionSelect.js";import{OffsetWellsTable as d}from"../OffsetWellsTable/OffsetWellsTable.js";import{OffsetWellsTableHead as m}from"../OffsetWellsTable/components/OffsetWellsTableHead/OffsetWellsTableHead.js";import{AdvancedSearch as f}from"../OffsetWellsTable/AdvancedSearch/AdvancedSearch.js";import W from"../OffsetWellsTable/OffsetWellsTable.module.css.js";import u from"../../OffsetWellPickerV5.module.css.js";var p=function(p){var S=p.isMobile,h=p.isViewOnly,b=p.isFilterExpanded,g=p.isVScrollMoved,O=p.isTableFullLoading,v=p.isLimitedOffsetWells,C=p.isWellSectionColumnVisible,F=p.isAllWellsSelected,j=p.indeterminate,A=p.subjectWellId,I=p.selectedWellIds,y=p.selectedWellSection,T=p.sortedWells,w=p.tableWells,N=p.tableRowsCount,R=p.wellSections,x=p.metricsKeys,M=p.setMetricsKeys,V=p.columnsWithDict,D=p.taScores,L=p.filterOptions,H=p.loadingWellIds,K=p.loadingAssetIds,k=p.filters,G=p.sortBy,P=p.setSortBy,B=p.sortDirection,E=p.setSortDirection,U=p.maxOffsetWellNumber,q=p.handleChangeOffsetWell,z=p.handleChangeAllOffsetWells,J=p.handleChangeWellSection,Q=p.handleAddRemoveAssets,X=p.handleScroll,Y=p.setActiveWellId,Z=p.setIsAdvancedSearchHidden,$=p.wellsMapRef,_=p.headTableRef,ee=p.rightColumnRef,le=p.isAnimatingRef,te=i((function(){return a()}),[]),ie=s((function(){Z(!0)}),[Z]),se=s((function(e,l){M((function(t){return t.map((function(t){return t===e?l:t}))}))}),[M]),re=s((function(e,l){P(e),E(l)}),[P,E]);return l("div",{className:u.rightColumn,ref:ee,onScroll:X,children:[!S&&t(c,{isHidden:!b,filterOptions:L,wellSections:null!=R?R:[],selectedWellSection:y,onChangeExternalOffsets:J}),t("div",{className:W.stickyTableWrapper,children:l(n,{"aria-label":"ows table head",innerRef:_,className:W.stickyTable,children:[t(o,{children:t(m,{columnsWithDict:V,metricsKeys:x,sortBy:G,sortDirection:B,indeterminate:j,isAllWellsSelected:F,onChangeSort:re,onUpdateMetricsKey:se,handleChangeAllOffsetWells:z,wellNameStyle:W.wellNameFixed,isImperial:te,isTaColumnVisible:!!D.length,isWellSectionColumnVisible:C})}),h&&t("div",{className:r(u.topGradient,e({},u.topGradientScrolled,g))})]})}),!h&&l("div",{className:r(W.searchCellWrapper),children:[t("div",{className:W.searchCell,children:t(f,{companyIds:null,subjectWellId:A,onChange:Q,selectedWellIds:I,onHideAdvancedSearch:ie,loadingAssetIds:K,filters:k,isLimitedOffsetWells:v})}),t("div",{className:r(u.topGradient,e({},u.topGradientScrolled,g))})]}),t(d,{isTableLoading:O,subjectWellId:A,columnsWithDict:V,wells:w,metricsKeys:x,handleChangeOffsetWell:q,isLastWell:null!=T&&T.length<=N,isLimitedOffsetWells:v,maxOffsetWellNumber:U,wellSections:R,setActiveWellId:Y,onRowClick:function(e){var l;return null===(l=$.current)||void 0===l?void 0:l.flyToWell(e)},taScores:D,isWellSectionColumnVisible:C,loadingWellIds:H,scrollContainerRef:ee,isAnimatingRef:le})]})};export{p as TableSection};
|
|
2
2
|
//# sourceMappingURL=TableSection.js.map
|
|
@@ -167,15 +167,4 @@ export declare const METRICS_LIST: {
|
|
|
167
167
|
}[];
|
|
168
168
|
export declare const WellSectionColors: readonly ["#6EACFF", "#69B919", "#E95DAF", "#A77DFF", "#77FFC1", "#018EFE", "#FF5D7E", "#B9E310", "#FFD111", "#24BB8E", "#C426F3"];
|
|
169
169
|
export declare const DEFAULT_METRICS_KEY = "hole_depth_change";
|
|
170
|
-
export declare const RESYNC_TASK_RESPONSE: {
|
|
171
|
-
readonly SUCCESS: "succeeded";
|
|
172
|
-
readonly FAILURE: "failed";
|
|
173
|
-
};
|
|
174
|
-
export declare const RESYNC_STATUS: {
|
|
175
|
-
readonly INITIAL: 0;
|
|
176
|
-
readonly TRIGGERED: 1;
|
|
177
|
-
readonly RUNNING: 2;
|
|
178
|
-
readonly SUCCEEDED: 3;
|
|
179
|
-
readonly FAILED: -1;
|
|
180
|
-
};
|
|
181
170
|
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/components/OffsetWellPickerV5/constants.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,oBAAoB,KAAK,CAAC;AACvC,eAAO,MAAM,iBAAiB,KAAK,CAAC;AAEpC,eAAO,MAAM,eAAe,QAAQ,CAAC;AACrC,eAAO,MAAM,iBAAiB,QAAQ,CAAC;AACvC,eAAO,MAAM,wBAAwB,MAAM,CAAC;AAC5C,eAAO,MAAM,aAAa,KAAK,CAAC;AAChC,eAAO,MAAM,iBAAiB,QAAQ,CAAC;AACvC,eAAO,MAAM,0BAA0B,kBAAmB,CAAC;AAG3D,eAAO,MAAM,qBAAqB,mBAAkC,CAAC;AAErE,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;CAgBb,CAAC;AAEX,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqChB,CAAC;AAEX,eAAO,MAAM,UAAU;;;;;;CAMb,CAAC;AAEX,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;EAMhB,CAAC;AAEX,eAAO,MAAM,UAAU;;;;;;;;;;CAUb,CAAC;AAEX,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAgExB,CAAC;AAEF,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;EAOxB,CAAC;AAEX,eAAO,MAAM,iBAAiB,IAAI,CAAC;AAEnC,eAAO,MAAM,YAAY;;;GA8BxB,CAAC;AAEF,eAAO,MAAM,iBAAiB,oIAYpB,CAAC;AAEX,eAAO,MAAM,mBAAmB,sBAAsB,CAAC
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/components/OffsetWellPickerV5/constants.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,oBAAoB,KAAK,CAAC;AACvC,eAAO,MAAM,iBAAiB,KAAK,CAAC;AAEpC,eAAO,MAAM,eAAe,QAAQ,CAAC;AACrC,eAAO,MAAM,iBAAiB,QAAQ,CAAC;AACvC,eAAO,MAAM,wBAAwB,MAAM,CAAC;AAC5C,eAAO,MAAM,aAAa,KAAK,CAAC;AAChC,eAAO,MAAM,iBAAiB,QAAQ,CAAC;AACvC,eAAO,MAAM,0BAA0B,kBAAmB,CAAC;AAG3D,eAAO,MAAM,qBAAqB,mBAAkC,CAAC;AAErE,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;CAgBb,CAAC;AAEX,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqChB,CAAC;AAEX,eAAO,MAAM,UAAU;;;;;;CAMb,CAAC;AAEX,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;EAMhB,CAAC;AAEX,eAAO,MAAM,UAAU;;;;;;;;;;CAUb,CAAC;AAEX,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAgExB,CAAC;AAEF,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;EAOxB,CAAC;AAEX,eAAO,MAAM,iBAAiB,IAAI,CAAC;AAEnC,eAAO,MAAM,YAAY;;;GA8BxB,CAAC;AAEF,eAAO,MAAM,iBAAiB,oIAYpB,CAAC;AAEX,eAAO,MAAM,mBAAmB,sBAAsB,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import e from"@babel/runtime/helpers/toConsumableArray";import{sortBy as a}from"lodash";import"../../utils/index.js";import*as l from"../../utils/metrics/metricsConfig.js";var t=25,i=40,o="all",r="All",n=450,s=50,m=1e4,c=["xto"],
|
|
1
|
+
import e from"@babel/runtime/helpers/toConsumableArray";import{sortBy as a}from"lodash";import"../../utils/index.js";import*as l from"../../utils/metrics/metricsConfig.js";var t=25,i=40,o="all",r="All",n=450,s=50,m=1e4,c=["xto"],p=l,d=[p.mud_type.key],u={status:"status",company:"companyId",rig:"rigName",program:"programName",basin:"basin",county:"county",area:"area",formation:"formation",stringDesign:"stringDesign",radius:"radius",period:"period",sideTracks:"sideTracks",drillingWells:"drillingWells",timeRangeFrom:"timeRangeFrom",timeRangeTo:"timeRangeTo"},_=[{value:u.company,label:"Company"},{value:u.program,label:"Program/BU"},{value:u.rig,label:"Rig"},{value:u.basin,label:"Basin"},{value:u.county,label:"County"},{value:u.area,label:"Area"},{value:u.formation,label:"Target Formation"},{value:u.stringDesign,label:"String Design"},{value:u.status,label:"Status"}],y={unknown:"unknown",idle:"idle",active:"active",paused:"paused",complete:"complete"},g=[{value:y.unknown,color:"#FFFFFF"},{value:y.idle,color:"#ADADFF"},{value:y.active,color:"#A8FF3D"},{value:y.paused,color:"#FFF66C"},{value:y.complete,color:"#76C2FF"}],b={name:"name",status:"status",company:"companyName",rig:"rigName",distance:"distance",taScore:"TA",lastActive:"lastActive",metrics:"metrics",wellSection:"wellSection"},F=[{type:b.name,label:"Well Name",key:b.name,minWidth:[280,197,197,186],flex:3},{type:b.status,label:"",key:b.status,minWidth:[40,40,40,30],flex:0},{type:b.company,label:"Company",key:b.company,minWidth:[180,140,140,93],flex:2},{type:b.rig,label:"Rig",key:b.rig,minWidth:[220,140,140,93],flex:2},{type:b.distance,label:"Distance",key:b.distance,minWidth:[160,160,122,93],flex:1},{type:b.taScore,label:"TA",key:b.taScore,minWidth:[90,90,75,70],flex:1},{type:b.lastActive,label:"Last Active",key:b.lastActive,minWidth:[140,140,108,98],flex:1.5},{type:b.metrics,label:"",key:"",minWidth:[0,212,141,141],flex:2},{type:b.wellSection,label:"Well Section",key:b.wellSection,minWidth:[180,131,131,97],flex:1.5}],v=[{value:"all",label:"All"},{value:"last12h",label:"Last 12 hrs"},{value:"last24h",label:"Last 24 hrs"},{value:"last7d",label:"Last 7 days"},{value:"lastMonth",label:"Last Month"},{value:"custom",label:"Custom"}],h=3,f=a([p.hole_depth,p.hole_depth_change,p.hole_depth_change_lateral,p.drilled_feet_rotary,p.drilled_feet_slide,p.rop_gross,p.rop,p.rop_rotary,p.rop_slide,p.drilled_feet_rotary_percentage,p.drilled_feet_slide_percentage,p.on_bottom_percentage,p.cost_per_ft,p.cost_per_lat_ft,p.feet_per_day,p.target_formation,p.mud_type,p.total_time].concat(e("production"!==process.env.REACT_APP_ENVIRONMENT?[p.npt,p.circulating_time,p.spud_to_rig_release_time,p.spud_to_total_depth_time]:[])),"label"),A=["#6EACFF","#69B919","#E95DAF","#A77DFF","#77FFC1","#018EFE","#FF5D7E","#B9E310","#FFD111","#24BB8E","#C426F3"],k="hole_depth_change";export{o as ALL_SECTION_KEY,r as ALL_SECTION_LABEL,c as COMPANY_PROVIDERS_FOR_IDAS,b as ColumnType,k as DEFAULT_METRICS_KEY,i as DEFAULT_RADIUS_KM,t as DEFAULT_RADIUS_MILES,n as EXPANDED_WELL_NAME_WIDTH,_ as FilterOptions,u as FilterType,m as LEAVE_TOUCH_DELAY,h as MAX_METRICS_COUNT,f as METRICS_LIST,d as NonConvertableMetrics,v as OBJECTIVE_PERIOD_LIST,s as ROWS_PER_PAGE,g as StatusOptions,F as TableColumns,A as WellSectionColors,y as WellStatus};
|
|
2
2
|
//# sourceMappingURL=constants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useExternalOffsets.test.d.ts","sourceRoot":"","sources":["../../../../../src/components/OffsetWellPickerV5/hooks/__tests__/useExternalOffsets.test.ts"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/OffsetWellPickerV5/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/OffsetWellPickerV5/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mCAAmC,CAAC;AAClD,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"buildOffsetSourceLabel.test.d.ts","sourceRoot":"","sources":["../../../../../../src/components/OffsetWellPickerV5/hooks/use-save-reset/__tests__/buildOffsetSourceLabel.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"partitionSelectedWellIds.test.d.ts","sourceRoot":"","sources":["../../../../../../src/components/OffsetWellPickerV5/hooks/use-save-reset/__tests__/partitionSelectedWellIds.test.ts"],"names":[],"mappings":""}
|
package/components/OffsetWellPickerV5/hooks/use-save-reset/__tests__/useSaveReset.test.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useSaveReset.test.d.ts","sourceRoot":"","sources":["../../../../../../src/components/OffsetWellPickerV5/hooks/use-save-reset/__tests__/useSaveReset.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useSaveResetDerivedState.test.d.ts","sourceRoot":"","sources":["../../../../../../src/components/OffsetWellPickerV5/hooks/use-save-reset/__tests__/useSaveResetDerivedState.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
type BuildOffsetSourceLabelParams = {
|
|
2
|
+
isWDUser: boolean;
|
|
3
|
+
hasIdas: boolean;
|
|
4
|
+
hasOws: boolean;
|
|
5
|
+
hasWellhub: boolean;
|
|
6
|
+
};
|
|
7
|
+
type BuildOffsetSourceLabelReturn = {
|
|
8
|
+
label: string;
|
|
9
|
+
isMixed: boolean;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* Describes the source mix of the saved selection — what Reset will restore TO.
|
|
13
|
+
* Returns an empty label when no source is represented; callers fall back to a
|
|
14
|
+
* generic "Reset Selection" tooltip in that case.
|
|
15
|
+
*/
|
|
16
|
+
export declare const buildOffsetSourceLabel: ({ isWDUser, hasIdas, hasOws, hasWellhub, }: BuildOffsetSourceLabelParams) => BuildOffsetSourceLabelReturn;
|
|
17
|
+
export {};
|
|
18
|
+
//# sourceMappingURL=buildOffsetSourceLabel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"buildOffsetSourceLabel.d.ts","sourceRoot":"","sources":["../../../../../src/components/OffsetWellPickerV5/hooks/use-save-reset/buildOffsetSourceLabel.ts"],"names":[],"mappings":"AAAA,KAAK,4BAA4B,GAAG;IAClC,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,OAAO,CAAC;IAChB,UAAU,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,KAAK,4BAA4B,GAAG;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAMF;;;;GAIG;AACH,eAAO,MAAM,sBAAsB,GAAI,4CAKpC,4BAA4B,KAAG,4BAejC,CAAC"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var e=function(e){var l=e.isWDUser,s=e.hasIdas,a=e.hasOws,h=e.hasWellhub,i=[];return!l&&h&&i.push("Wellhub"),l&&s&&i.push("IDAS"),l&&a&&i.push("Offset Well Selection app"),0===i.length?{label:"",isMixed:!1}:1===i.length?{label:i[0],isMixed:!1}:{label:i.join(" + "),isMixed:!0}};export{e as buildOffsetSourceLabel};
|
|
2
|
+
//# sourceMappingURL=buildOffsetSourceLabel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"buildOffsetSourceLabel.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
type PartitionSelectedWellIdsParams = {
|
|
2
|
+
selectedWellIds: number[];
|
|
3
|
+
subjectWellId: number | undefined;
|
|
4
|
+
idasWellIds: number[];
|
|
5
|
+
owsWellIds: number[];
|
|
6
|
+
wellhubWellIds: number[];
|
|
7
|
+
};
|
|
8
|
+
export type SelectedWellIdsPartition = {
|
|
9
|
+
idasWellIds: number[];
|
|
10
|
+
owsWellIds: number[];
|
|
11
|
+
wellhubWellIds: number[];
|
|
12
|
+
handpickedWellIds: number[];
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* Splits `selectedWellIds` into a disjoint partition by source bucket.
|
|
16
|
+
* Precedence on overlap: IDAS > OWS > Wellhub > hand-picked.
|
|
17
|
+
* The subject well is excluded from all buckets.
|
|
18
|
+
*/
|
|
19
|
+
export declare const partitionSelectedWellIds: ({ selectedWellIds, subjectWellId, idasWellIds, owsWellIds, wellhubWellIds, }: PartitionSelectedWellIdsParams) => SelectedWellIdsPartition;
|
|
20
|
+
/**
|
|
21
|
+
* Merges a partition into a base offset-settings object, also populating the
|
|
22
|
+
* deprecated `manualWellIds` alias. Co-located here because every emission
|
|
23
|
+
* site uses the same shape.
|
|
24
|
+
*/
|
|
25
|
+
export declare const applyPartitionToOffsetSettings: <T extends object>(base: T, partition: SelectedWellIdsPartition) => T & SelectedWellIdsPartition & {
|
|
26
|
+
manualWellIds: number[];
|
|
27
|
+
};
|
|
28
|
+
export {};
|
|
29
|
+
//# sourceMappingURL=partitionSelectedWellIds.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"partitionSelectedWellIds.d.ts","sourceRoot":"","sources":["../../../../../src/components/OffsetWellPickerV5/hooks/use-save-reset/partitionSelectedWellIds.ts"],"names":[],"mappings":"AAAA,KAAK,8BAA8B,GAAG;IACpC,eAAe,EAAE,MAAM,EAAE,CAAC;IAC1B,aAAa,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,cAAc,EAAE,MAAM,EAAE,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG;IACrC,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,cAAc,EAAE,MAAM,EAAE,CAAC;IACzB,iBAAiB,EAAE,MAAM,EAAE,CAAC;CAC7B,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,wBAAwB,GAAI,8EAMtC,8BAA8B,KAAG,wBA2BnC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,8BAA8B,GAAI,CAAC,SAAS,MAAM,EAC7D,MAAM,CAAC,EACP,WAAW,wBAAwB,KAClC,CAAC,GAAG,wBAAwB,GAAG;IAAE,aAAa,EAAE,MAAM,EAAE,CAAA;CAOzD,CAAC"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import e from"@babel/runtime/helpers/defineProperty";function l(e,l){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);l&&(t=t.filter((function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable}))),r.push.apply(r,t)}return r}function r(r){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(l){e(r,l,n[l])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(n,e))}))}return r}var t=function(e){var l=e.selectedWellIds,r=e.subjectWellId,t=e.idasWellIds,n=e.owsWellIds,s=e.wellhubWellIds,d=new Set(l),o=new Set,c=function(e){var l=[];return e.forEach((function(e){e!==r&&d.has(e)&&!o.has(e)&&(o.add(e),l.push(e))})),l};return{idasWellIds:c(t),owsWellIds:c(n),wellhubWellIds:c(s),handpickedWellIds:l.filter((function(e){return e!==r&&!o.has(e)}))}},n=function(e,l){return r(r({},e),{},{idasWellIds:l.idasWellIds,owsWellIds:l.owsWellIds,wellhubWellIds:l.wellhubWellIds,handpickedWellIds:l.handpickedWellIds,manualWellIds:l.handpickedWellIds})};export{n as applyPartitionToOffsetSettings,t as partitionSelectedWellIds};
|
|
2
|
+
//# sourceMappingURL=partitionSelectedWellIds.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"partitionSelectedWellIds.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -18,7 +18,8 @@ type UseCancelHandlerParams = {
|
|
|
18
18
|
setFilters: (filters: FilterState, source?: FilterMutationSource) => void;
|
|
19
19
|
resetIsLoadAllWells: () => void;
|
|
20
20
|
resetSafeguard: () => void;
|
|
21
|
+
abandonPendingSearch: () => void;
|
|
21
22
|
};
|
|
22
|
-
export declare const useCancelHandler: ({ setSelectedWells, setSelectedWellSection, setCurrentSelectionZone, offsetSettings, subjectWell, isMapHidden, isFilterExpanded, wells, pinnedWells, onClose, onSave, setFilters, resetIsLoadAllWells, resetSafeguard, }: UseCancelHandlerParams) => (() => void);
|
|
23
|
+
export declare const useCancelHandler: ({ setSelectedWells, setSelectedWellSection, setCurrentSelectionZone, offsetSettings, subjectWell, isMapHidden, isFilterExpanded, wells, pinnedWells, onClose, onSave, setFilters, resetIsLoadAllWells, resetSafeguard, abandonPendingSearch, }: UseCancelHandlerParams) => (() => void);
|
|
23
24
|
export {};
|
|
24
25
|
//# sourceMappingURL=useCancelHandler.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCancelHandler.d.ts","sourceRoot":"","sources":["../../../../../src/components/OffsetWellPickerV5/hooks/use-save-reset/useCancelHandler.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAItD,OAAO,KAAK,EACV,UAAU,EACV,mBAAmB,EACnB,oBAAoB,EACrB,MAAM,gCAAgC,CAAC;AACxC,OAAO,KAAK,EAAE,WAAW,EAAE,oBAAoB,EAAE,MAAM,iCAAiC,CAAC;AACzF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAE/D,KAAK,sBAAsB,GAAG;IAC5B,aAAa,EAAE,UAAU,EAAE,CAAC;IAC5B,gBAAgB,EAAE,QAAQ,CAAC,cAAc,CAAC,UAAU,EAAE,CAAC,CAAC,CAAC;IACzD,sBAAsB,EAAE,QAAQ,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC;IACzD,uBAAuB,EAAE,QAAQ,CAAC,cAAc,CAAC,aAAa,GAAG,IAAI,CAAC,CAAC,CAAC;IACxE,cAAc,EAAE,mBAAmB,GAAG,SAAS,CAAC;IAChD,WAAW,EAAE,UAAU,GAAG,IAAI,CAAC;IAC/B,WAAW,EAAE,OAAO,CAAC;IACrB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,KAAK,EAAE,UAAU,EAAE,GAAG,IAAI,CAAC;IAC3B,WAAW,EAAE,UAAU,EAAE,GAAG,IAAI,CAAC;IACjC,OAAO,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,SAAS,CAAC;IAClC,MAAM,EACF,CAAC,CAAC,cAAc,EAAE,oBAAoB,EAAE,aAAa,CAAC,EAAE,UAAU,EAAE,KAAK,IAAI,CAAC,GAC9E,SAAS,CAAC;IACd,UAAU,EAAE,CAAC,OAAO,EAAE,WAAW,EAAE,MAAM,CAAC,EAAE,oBAAoB,KAAK,IAAI,CAAC;IAC1E,mBAAmB,EAAE,MAAM,IAAI,CAAC;IAChC,cAAc,EAAE,MAAM,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"useCancelHandler.d.ts","sourceRoot":"","sources":["../../../../../src/components/OffsetWellPickerV5/hooks/use-save-reset/useCancelHandler.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAItD,OAAO,KAAK,EACV,UAAU,EACV,mBAAmB,EACnB,oBAAoB,EACrB,MAAM,gCAAgC,CAAC;AACxC,OAAO,KAAK,EAAE,WAAW,EAAE,oBAAoB,EAAE,MAAM,iCAAiC,CAAC;AACzF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAE/D,KAAK,sBAAsB,GAAG;IAC5B,aAAa,EAAE,UAAU,EAAE,CAAC;IAC5B,gBAAgB,EAAE,QAAQ,CAAC,cAAc,CAAC,UAAU,EAAE,CAAC,CAAC,CAAC;IACzD,sBAAsB,EAAE,QAAQ,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC;IACzD,uBAAuB,EAAE,QAAQ,CAAC,cAAc,CAAC,aAAa,GAAG,IAAI,CAAC,CAAC,CAAC;IACxE,cAAc,EAAE,mBAAmB,GAAG,SAAS,CAAC;IAChD,WAAW,EAAE,UAAU,GAAG,IAAI,CAAC;IAC/B,WAAW,EAAE,OAAO,CAAC;IACrB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,KAAK,EAAE,UAAU,EAAE,GAAG,IAAI,CAAC;IAC3B,WAAW,EAAE,UAAU,EAAE,GAAG,IAAI,CAAC;IACjC,OAAO,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,SAAS,CAAC;IAClC,MAAM,EACF,CAAC,CAAC,cAAc,EAAE,oBAAoB,EAAE,aAAa,CAAC,EAAE,UAAU,EAAE,KAAK,IAAI,CAAC,GAC9E,SAAS,CAAC;IACd,UAAU,EAAE,CAAC,OAAO,EAAE,WAAW,EAAE,MAAM,CAAC,EAAE,oBAAoB,KAAK,IAAI,CAAC;IAC1E,mBAAmB,EAAE,MAAM,IAAI,CAAC;IAChC,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,oBAAoB,EAAE,MAAM,IAAI,CAAC;CAClC,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,gPAgB9B,sBAAsB,KAAG,CAAC,MAAM,IAAI,CA4DtC,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import e from"@babel/runtime/helpers/defineProperty";import{useCallback as t}from"react";import{uniqBy as r}from"lodash";import{DEFAULT_RADIUS_MILES as
|
|
1
|
+
import e from"@babel/runtime/helpers/defineProperty";import{useCallback as t}from"react";import{uniqBy as r}from"lodash";import{DEFAULT_RADIUS_MILES as n,ALL_SECTION_KEY as l}from"../../constants.js";import{normalizeFilters as o}from"../../stores/filter-store/utils/normalizeFilters.js";function i(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 s(t){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?i(Object(n),!0).forEach((function(r){e(t,r,n[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var c=function(e){var i=e.setSelectedWells,c=e.setSelectedWellSection,a=e.setCurrentSelectionZone,d=e.offsetSettings,u=e.subjectWell,f=e.isMapHidden,p=e.isFilterExpanded,v=e.wells,b=e.pinnedWells,m=e.onClose,O=e.onSave,j=e.setFilters,S=e.resetIsLoadAllWells,y=e.resetSafeguard,g=e.abandonPendingSearch;return t((function(){var e,t,h;g();var w=new Set((null==d?void 0:d.selectedWellIds)||[]),P=(v||[]).filter((function(e){return w.has(e.id)}));if(null!=b&&b.length){var W=new Set(P.map((function(e){return e.id}))),x=b.filter((function(e){return w.has(e.id)&&!W.has(e.id)}));P=P.concat(x)}u&&(P=P.concat(u)),i(r(P,"id")),a(null!==(e=null==d?void 0:d.lastSelectionZone)&&void 0!==e?e:null);var D=s(s({},d),{},{selectedWellIds:null!==(t=null==d?void 0:d.selectedWellIds)&&void 0!==t?t:[],mapHidden:f,filterExpanded:p});null==O||O(D);var E=o(null==d?void 0:d.filters);j(s(s({},E),{},{radius:null!==(h=null==E?void 0:E.radius)&&void 0!==h?h:n}),"external_sync"),c((null==d?void 0:d.wellSection)||l),S(),y(),null==m||m()}),[i,c,a,d,u,f,p,v,b,m,O,j,S,y,g])};export{c as useCancelHandler};
|
|
2
2
|
//# sourceMappingURL=useCancelHandler.js.map
|
|
@@ -17,6 +17,9 @@ type UsePerformSaveParams = {
|
|
|
17
17
|
isLimitedOffsetWells: boolean;
|
|
18
18
|
isLoadAllWells: boolean;
|
|
19
19
|
isSynced: boolean;
|
|
20
|
+
idasWellIds: number[];
|
|
21
|
+
owsWellIds: number[];
|
|
22
|
+
wellhubWellIds: number[];
|
|
20
23
|
onClose: (() => void) | undefined;
|
|
21
24
|
onSave: ((offsetSettings: OffsetSettingsOutput, selectedWells?: OffsetWell[]) => void) | undefined;
|
|
22
25
|
resetSafeguard: () => void;
|
|
@@ -26,6 +29,6 @@ type UsePerformSaveReturn = {
|
|
|
26
29
|
handleSave: () => void;
|
|
27
30
|
performSave: () => void;
|
|
28
31
|
};
|
|
29
|
-
export declare const usePerformSave: ({ selectedWells, selectedWellSection, currentSelectionZone, pendingSearchSelectionRef, offsetSettings, assetCompanyId, subjectWellId, filters, metricsKeys, isMapHidden, isFilterExpanded, isLimitedOffsetWells, isLoadAllWells, isSynced, onClose, onSave, resetSafeguard, }: UsePerformSaveParams) => UsePerformSaveReturn;
|
|
32
|
+
export declare const usePerformSave: ({ selectedWells, selectedWellSection, currentSelectionZone, pendingSearchSelectionRef, offsetSettings, assetCompanyId, subjectWellId, filters, metricsKeys, isMapHidden, isFilterExpanded, isLimitedOffsetWells, isLoadAllWells, isSynced, idasWellIds, owsWellIds, wellhubWellIds, onClose, onSave, resetSafeguard, }: UsePerformSaveParams) => UsePerformSaveReturn;
|
|
30
33
|
export {};
|
|
31
34
|
//# sourceMappingURL=usePerformSave.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"usePerformSave.d.ts","sourceRoot":"","sources":["../../../../../src/components/OffsetWellPickerV5/hooks/use-save-reset/usePerformSave.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,OAAO,CAAC;AAG9C,OAAO,KAAK,EACV,UAAU,EACV,mBAAmB,EACnB,oBAAoB,EACrB,MAAM,gCAAgC,CAAC;AACxC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"usePerformSave.d.ts","sourceRoot":"","sources":["../../../../../src/components/OffsetWellPickerV5/hooks/use-save-reset/usePerformSave.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,OAAO,CAAC;AAG9C,OAAO,KAAK,EACV,UAAU,EACV,mBAAmB,EACnB,oBAAoB,EACrB,MAAM,gCAAgC,CAAC;AACxC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAO/D,KAAK,oBAAoB,GAAG;IAC1B,aAAa,EAAE,UAAU,EAAE,CAAC;IAC5B,mBAAmB,EAAE,MAAM,CAAC;IAC5B,oBAAoB,EAAE,aAAa,GAAG,IAAI,CAAC;IAC3C,yBAAyB,EAAE,gBAAgB,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC;IACzD,cAAc,EAAE,mBAAmB,GAAG,SAAS,CAAC;IAChD,cAAc,EAAE,MAAM,GAAG,SAAS,CAAC;IACnC,aAAa,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,OAAO,EAAE,WAAW,GAAG,IAAI,CAAC;IAC5B,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,WAAW,EAAE,OAAO,CAAC;IACrB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,oBAAoB,EAAE,OAAO,CAAC;IAC9B,cAAc,EAAE,OAAO,CAAC;IACxB,QAAQ,EAAE,OAAO,CAAC;IAClB,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,cAAc,EAAE,MAAM,EAAE,CAAC;IACzB,OAAO,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,SAAS,CAAC;IAClC,MAAM,EACF,CAAC,CAAC,cAAc,EAAE,oBAAoB,EAAE,aAAa,CAAC,EAAE,UAAU,EAAE,KAAK,IAAI,CAAC,GAC9E,SAAS,CAAC;IACd,cAAc,EAAE,MAAM,IAAI,CAAC;CAC5B,CAAC;AAEF,KAAK,oBAAoB,GAAG;IAC1B,aAAa,EAAE,OAAO,CAAC;IACvB,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,WAAW,EAAE,MAAM,IAAI,CAAC;CACzB,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,wTAqB5B,oBAAoB,KAAG,oBAmFzB,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import e from"@babel/runtime/helpers/defineProperty";import t from"@babel/runtime/helpers/slicedToArray";import{useState as r,useCallback as
|
|
1
|
+
import e from"@babel/runtime/helpers/defineProperty";import t from"@babel/runtime/helpers/slicedToArray";import{useState as r,useCallback as l,useEffect as s}from"react";import{normalizeFilters as n}from"../../stores/filter-store/utils/normalizeFilters.js";import{partitionSelectedWellIds as i,applyPartitionToOffsetSettings as o}from"./partitionSelectedWellIds.js";function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,l)}return r}function d(t){for(var r=1;r<arguments.length;r++){var l=null!=arguments[r]?arguments[r]:{};r%2?c(Object(l),!0).forEach((function(r){e(t,r,l[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(l)):c(Object(l)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(l,e))}))}return t}var a=function(e){var c=e.selectedWells,a=e.selectedWellSection,f=e.currentSelectionZone,p=e.pendingSearchSelectionRef,u=e.offsetSettings,m=e.assetCompanyId,b=e.subjectWellId,y=e.filters,O=e.metricsKeys,W=e.isMapHidden,S=e.isFilterExpanded,j=e.isLimitedOffsetWells,I=e.isLoadAllWells,v=e.isSynced,g=e.idasWellIds,w=e.owsWellIds,h=e.wellhubWellIds,P=e.onClose,D=e.onSave,E=e.resetSafeguard,L=r(!1),x=t(L,2),z=x[0],A=x[1],C=l((function(){E(),null==P||P();var e=c.map((function(e){return e.id})),t=i({selectedWellIds:e,subjectWellId:b,idasWellIds:g,owsWellIds:w,wellhubWellIds:h}),r=o(d(d({},u),{},{companyId:m,subjectWellId:b,selectedWellIds:e,filters:n(y),metricsKeys:O,wellSection:a,isSynced:v,mapHidden:W,filterExpanded:S,offsetWellsLimited:j,lastSelectionZone:null!=f?f:void 0,isLoadAllWells:I}),t);null==D||D(r,c)}),[E,P,c,u,m,b,y,O,a,v,W,S,j,f,I,g,w,h,D]);s((function(){z&&0===p.current.size&&(A(!1),C())}),[z,c,C,p]);var F=l((function(){p.current.size>0?A(!0):C()}),[p,C]);return{isSavePending:z,handleSave:F,performSave:C}};export{a as usePerformSave};
|
|
2
2
|
//# sourceMappingURL=usePerformSave.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { UseSaveResetParams, UseSaveResetReturn } from './useSaveReset.types';
|
|
2
2
|
/**
|
|
3
3
|
* Manages save/cancel/reset actions and related derived state
|
|
4
|
-
* (isSynced, isXtoProvider,
|
|
4
|
+
* (isSynced, isXtoProvider, syncedOffsetLabel, savedOffsetLabel, isResetVisible).
|
|
5
5
|
*/
|
|
6
6
|
export declare const useSaveReset: (params: UseSaveResetParams) => UseSaveResetReturn;
|
|
7
7
|
//# sourceMappingURL=useSaveReset.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useSaveReset.d.ts","sourceRoot":"","sources":["../../../../../src/components/OffsetWellPickerV5/hooks/use-save-reset/useSaveReset.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAKnF;;;GAGG;AACH,eAAO,MAAM,YAAY,GAAI,QAAQ,kBAAkB,KAAG,
|
|
1
|
+
{"version":3,"file":"useSaveReset.d.ts","sourceRoot":"","sources":["../../../../../src/components/OffsetWellPickerV5/hooks/use-save-reset/useSaveReset.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAKnF;;;GAGG;AACH,eAAO,MAAM,YAAY,GAAI,QAAQ,kBAAkB,KAAG,kBA+HzD,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import e from"@babel/runtime/helpers/asyncToGenerator";import
|
|
1
|
+
import e from"@babel/runtime/helpers/asyncToGenerator";import l from"@babel/runtime/regenerator";import{useCallback as s}from"react";import{ALL_SECTION_KEY as t}from"../../constants.js";import{useSaveResetDerivedState as d}from"./useSaveResetDerivedState.js";import{usePerformSave as n}from"./usePerformSave.js";import{useCancelHandler as i}from"./useCancelHandler.js";var a=function(a){var o,r,c,f,S,W,u,v,p,I,m=d({externalOffsets:a.externalOffsets,selectedWells:a.selectedWells,selectedWellsCount:a.selectedWellsCount,selectedWellSection:a.selectedWellSection,subjectWellId:a.subjectWellId,rawWellsWithSubject:a.rawWellsWithSubject,maxOffsetSize:a.maxOffsetSize,companyProvider:a.companyProvider,isWDUser:a.isWDUser,isManualWellsEnabled:a.isManualWellsEnabled,hasValidAssetId:a.hasValidAssetId,isAllWellsLoaded:a.isAllWellsLoaded,filters:a.filters,idasWellIds:a.idasWellIds,owsWellIds:a.owsWellIds,wellhubWellIds:a.wellhubWellIds,savedIdasWellIds:null!==(o=null===(r=a.offsetSettings)||void 0===r?void 0:r.idasWellIds)&&void 0!==o?o:[],savedOwsWellIds:null!==(c=null===(f=a.offsetSettings)||void 0===f?void 0:f.owsWellIds)&&void 0!==c?c:[],savedWellhubWellIds:null!==(S=null===(W=a.offsetSettings)||void 0===W?void 0:W.wellhubWellIds)&&void 0!==S?S:[],savedHandpickedWellIds:null!==(u=null!==(v=null===(p=a.offsetSettings)||void 0===p?void 0:p.handpickedWellIds)&&void 0!==v?v:null===(I=a.offsetSettings)||void 0===I?void 0:I.manualWellIds)&&void 0!==u?u:[]}),b=m.isSynced,h=m.isXtoProvider,g=m.isXtoIdas,w=m.syncedOffsetLabel,x=m.savedOffsetLabel,y=m.resetTooltipLabel,L=m.isResetVisible,O=m.hasOffsetSource,C=m.hasSavedHandpicked,j=n({selectedWells:a.selectedWells,selectedWellSection:a.selectedWellSection,currentSelectionZone:a.currentSelectionZone,pendingSearchSelectionRef:a.pendingSearchSelectionRef,offsetSettings:a.offsetSettings,assetCompanyId:a.assetCompanyId,subjectWellId:a.subjectWellId,filters:a.filters,metricsKeys:a.metricsKeys,isMapHidden:a.isMapHidden,isFilterExpanded:a.isFilterExpanded,isLimitedOffsetWells:a.isLimitedOffsetWells,isLoadAllWells:a.isLoadAllWells,isSynced:b,idasWellIds:a.idasWellIds,owsWellIds:a.owsWellIds,wellhubWellIds:a.wellhubWellIds,onClose:a.onClose,onSave:a.onSave,resetSafeguard:a.resetSafeguard}),P=j.isSavePending,A=j.handleSave,F=j.performSave,H=i({selectedWells:a.selectedWells,setSelectedWells:a.setSelectedWells,setSelectedWellSection:a.setSelectedWellSection,setCurrentSelectionZone:a.setCurrentSelectionZone,offsetSettings:a.offsetSettings,subjectWell:a.subjectWell,isMapHidden:a.isMapHidden,isFilterExpanded:a.isFilterExpanded,wells:a.wells,pinnedWells:a.pinnedWells,onClose:a.onClose,onSave:a.onSave,setFilters:a.setFilters,resetIsLoadAllWells:a.resetIsLoadAllWells,resetSafeguard:a.resetSafeguard,abandonPendingSearch:a.abandonPendingSearch}),E=a.resetFilters,R=a.resetSelectionTool,k=a.setCurrentSelectionZone,M=a.setSelectedWellSection,Z=a.updateSelectedWellsBySection,T=a.abandonPendingSearch,V=s(e(l.mark((function e(){return l.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return T(),E(),R(),k(null),M(t),e.next=7,Z(t);case 7:case"end":return e.stop()}}),e)}))),[T,E,R,k,M,Z]);return{isSynced:b,isXtoProvider:h,isXtoIdas:g,syncedOffsetLabel:w,savedOffsetLabel:x,resetTooltipLabel:y,isSavePending:P,isResetVisible:L,hasOffsetSource:O,hasSavedHandpicked:C,handleSave:A,handleCancel:H,handleReset:s(e(l.mark((function e(){return l.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,V();case 2:case"end":return e.stop()}}),e)}))),[V]),applyResetFromExternalOffsets:V,performSave:F}};export{a as useSaveReset};
|
|
2
2
|
//# sourceMappingURL=useSaveReset.js.map
|
|
@@ -2,16 +2,18 @@ import type { Dispatch, MutableRefObject, SetStateAction } from 'react';
|
|
|
2
2
|
import type { OffsetWell, OffsetSettingsInput, OffsetSettingsOutput } from '../../OffsetWellPickerV5.types';
|
|
3
3
|
import type { FilterState, FilterMutationSource } from '../../stores/filter-store/types';
|
|
4
4
|
import type { SelectionZone } from '../../types/SelectionZone';
|
|
5
|
-
export type
|
|
5
|
+
export type ExternalOffsetsWells = Record<string, number[]>;
|
|
6
6
|
export type UseSaveResetParams = {
|
|
7
7
|
selectedWells: OffsetWell[];
|
|
8
|
+
selectedWellsCount: number;
|
|
8
9
|
setSelectedWells: Dispatch<SetStateAction<OffsetWell[]>>;
|
|
9
10
|
selectedWellSection: string;
|
|
10
11
|
setSelectedWellSection: Dispatch<SetStateAction<string>>;
|
|
11
12
|
currentSelectionZone: SelectionZone | null;
|
|
12
13
|
setCurrentSelectionZone: Dispatch<SetStateAction<SelectionZone | null>>;
|
|
13
14
|
pendingSearchSelectionRef: MutableRefObject<Set<number>>;
|
|
14
|
-
|
|
15
|
+
abandonPendingSearch: () => void;
|
|
16
|
+
externalOffsets: ExternalOffsetsWells | null;
|
|
15
17
|
maxOffsetSize: number;
|
|
16
18
|
offsetSettings: OffsetSettingsInput | undefined;
|
|
17
19
|
assetCompanyId: number | undefined;
|
|
@@ -25,9 +27,14 @@ export type UseSaveResetParams = {
|
|
|
25
27
|
isLoadAllWells: boolean;
|
|
26
28
|
companyProvider: string | null;
|
|
27
29
|
isWDUser: boolean;
|
|
30
|
+
isManualWellsEnabled: boolean;
|
|
28
31
|
hasValidAssetId: boolean;
|
|
29
|
-
|
|
32
|
+
isAllWellsLoaded: boolean;
|
|
33
|
+
idasWellIds: number[];
|
|
34
|
+
owsWellIds: number[];
|
|
35
|
+
wellhubWellIds: number[];
|
|
30
36
|
wells: OffsetWell[] | null;
|
|
37
|
+
rawWellsWithSubject: OffsetWell[] | null;
|
|
31
38
|
pinnedWells: OffsetWell[] | null;
|
|
32
39
|
onClose: (() => void) | undefined;
|
|
33
40
|
onSave: ((offsetSettings: OffsetSettingsOutput, selectedWells?: OffsetWell[]) => void) | undefined;
|
|
@@ -41,12 +48,18 @@ export type UseSaveResetParams = {
|
|
|
41
48
|
export type UseSaveResetReturn = {
|
|
42
49
|
isSynced: boolean;
|
|
43
50
|
isXtoProvider: boolean;
|
|
44
|
-
|
|
51
|
+
isXtoIdas: boolean;
|
|
52
|
+
syncedOffsetLabel: string;
|
|
53
|
+
savedOffsetLabel: string;
|
|
54
|
+
resetTooltipLabel: string;
|
|
45
55
|
isSavePending: boolean;
|
|
46
56
|
isResetVisible: boolean;
|
|
57
|
+
hasOffsetSource: boolean;
|
|
58
|
+
hasSavedHandpicked: boolean;
|
|
47
59
|
handleSave: () => void;
|
|
48
60
|
handleCancel: () => void;
|
|
49
61
|
handleReset: () => Promise<void>;
|
|
62
|
+
applyResetFromExternalOffsets: () => Promise<void>;
|
|
50
63
|
performSave: () => void;
|
|
51
64
|
};
|
|
52
65
|
//# sourceMappingURL=useSaveReset.types.d.ts.map
|