@corva/ui 3.75.0-13 → 3.75.0-15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs-bundle/components/AddComment/Popover.js +1 -1
- package/cjs-bundle/components/AddComment/Popover.js.map +1 -1
- package/cjs-bundle/components/AddComment/components/Content.js +1 -1
- package/cjs-bundle/components/AddComment/components/Content.js.map +1 -1
- package/cjs-bundle/components/AttachmentPreview/useStoredAttachments.js +1 -1
- package/cjs-bundle/components/AttachmentPreview/useStoredAttachments.js.map +1 -1
- package/cjs-bundle/components/BICOffsetPickerDialog/components/Map/Map.js +1 -1
- package/cjs-bundle/components/BICOffsetPickerDialog/components/Map/Map.js.map +1 -1
- package/cjs-bundle/components/BICOffsetPickerDialog/index.js +1 -1
- package/cjs-bundle/components/BICOffsetPickerDialog/index.js.map +1 -1
- package/cjs-bundle/components/Casing/CasingTableV2/components/CasingJoints/Editor.js +1 -1
- package/cjs-bundle/components/Casing/CasingTableV2/components/CasingJoints/Editor.js.map +1 -1
- package/cjs-bundle/components/Casing/CasingTableV2/components/Component.js +1 -1
- package/cjs-bundle/components/Casing/CasingTableV2/components/Component.js.map +1 -1
- package/cjs-bundle/components/Casing/CasingTableV2/components/DrillPipe/Editor.js +1 -1
- package/cjs-bundle/components/Casing/CasingTableV2/components/DrillPipe/Editor.js.map +1 -1
- package/cjs-bundle/components/CommentComposer/useAttachmentUpload.js +1 -1
- package/cjs-bundle/components/CommentComposer/useAttachmentUpload.js.map +1 -1
- package/cjs-bundle/components/DocumentViewer/DocumentViewer.js +1 -1
- package/cjs-bundle/components/DocumentViewer/DocumentViewer.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Component.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Component.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js.map +1 -1
- package/cjs-bundle/components/OffsetWellMap/OffsetWellMap.js +1 -1
- package/cjs-bundle/components/OffsetWellMap/OffsetWellMap.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/components/Map/Map.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/components/Map/Map.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/effects/index.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/effects/index.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Map/Map.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Map/Map.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/effects/index.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/effects/index.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/index.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/index.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/index.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/index.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/WellHubView/index.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/WellHubView/index.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/CustomDateFields/CustomDateFields.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/CustomDateFields/CustomDateFields.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useMapTooltipState.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useMapTooltipState.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useSelectionToolOrchestration.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useSelectionToolOrchestration.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/utils/well-markers-utils.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/utils/well-markers-utils.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/components/CompanySafeguardWrapper/CompanySafeguardWrapper.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/components/CompanySafeguardWrapper/CompanySafeguardWrapper.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/wellTransformations.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/wellTransformations.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/utils/getCoordinatedWells.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/utils/getCoordinatedWells.js.map +1 -1
- package/cjs-bundle/components/PadOffsetsPicker/StagesSelector.js +1 -1
- package/cjs-bundle/components/PadOffsetsPicker/StagesSelector.js.map +1 -1
- package/cjs-bundle/components/PadOffsetsPickerV2/PadOffsetsPickerV2.js +1 -1
- package/cjs-bundle/components/PadOffsetsPickerV2/PadOffsetsPickerV2.js.map +1 -1
- package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/hooks/usePadsByRadius.js +1 -1
- package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/hooks/usePadsByRadius.js.map +1 -1
- package/cjs-bundle/effects/useSignedURL.js +1 -1
- package/cjs-bundle/effects/useSignedURL.js.map +1 -1
- package/cjs-bundle/utils/signedLinkCache.js +2 -0
- package/cjs-bundle/utils/signedLinkCache.js.map +1 -0
- package/components/AddComment/Popover.js +1 -1
- package/components/AddComment/Popover.js.map +1 -1
- package/components/AddComment/components/Content.js +1 -1
- package/components/AddComment/components/Content.js.map +1 -1
- package/components/AttachmentPreview/useStoredAttachments.d.ts.map +1 -1
- package/components/AttachmentPreview/useStoredAttachments.js +1 -1
- package/components/AttachmentPreview/useStoredAttachments.js.map +1 -1
- package/components/BICOffsetPickerDialog/components/Map/Map.d.ts.map +1 -1
- package/components/BICOffsetPickerDialog/components/Map/Map.js +1 -1
- package/components/BICOffsetPickerDialog/components/Map/Map.js.map +1 -1
- package/components/BICOffsetPickerDialog/index.js +1 -1
- package/components/BICOffsetPickerDialog/index.js.map +1 -1
- package/components/Casing/CasingTableV2/components/CasingJoints/Editor.js +1 -1
- package/components/Casing/CasingTableV2/components/CasingJoints/Editor.js.map +1 -1
- package/components/Casing/CasingTableV2/components/Component.js +1 -1
- package/components/Casing/CasingTableV2/components/Component.js.map +1 -1
- package/components/Casing/CasingTableV2/components/DrillPipe/Editor.js +1 -1
- package/components/Casing/CasingTableV2/components/DrillPipe/Editor.js.map +1 -1
- package/components/CommentComposer/useAttachmentUpload.d.ts.map +1 -1
- package/components/CommentComposer/useAttachmentUpload.js +1 -1
- package/components/CommentComposer/useAttachmentUpload.js.map +1 -1
- package/components/DocumentViewer/DocumentViewer.js +1 -1
- package/components/DocumentViewer/DocumentViewer.js.map +1 -1
- package/components/Drillstring/BHAComponentDetail/constants.d.ts +2 -2
- package/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Component.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Component.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js.map +1 -1
- package/components/OffsetWellMap/OffsetWellMap.d.ts.map +1 -1
- package/components/OffsetWellMap/OffsetWellMap.js +1 -1
- package/components/OffsetWellMap/OffsetWellMap.js.map +1 -1
- package/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js +1 -1
- package/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js.map +1 -1
- package/components/OffsetWellPickerV2/components/Map/Map.d.ts.map +1 -1
- package/components/OffsetWellPickerV2/components/Map/Map.js +1 -1
- package/components/OffsetWellPickerV2/components/Map/Map.js.map +1 -1
- package/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js +1 -1
- package/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js.map +1 -1
- package/components/OffsetWellPickerV2/effects/index.d.ts.map +1 -1
- package/components/OffsetWellPickerV2/effects/index.js +1 -1
- package/components/OffsetWellPickerV2/effects/index.js.map +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Map/Map.d.ts.map +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Map/Map.js +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Map/Map.js.map +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js.map +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/effects/index.d.ts.map +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/effects/index.js +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/effects/index.js.map +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/index.js +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/index.js.map +1 -1
- package/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js +1 -1
- package/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js.map +1 -1
- package/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js +1 -1
- package/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js.map +1 -1
- package/components/OffsetWellPickerV3/components/TabSelection/index.js +1 -1
- package/components/OffsetWellPickerV3/components/TabSelection/index.js.map +1 -1
- package/components/OffsetWellPickerV3/components/WellHubView/index.js +1 -1
- package/components/OffsetWellPickerV3/components/WellHubView/index.js.map +1 -1
- package/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js +1 -1
- package/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js.map +1 -1
- package/components/OffsetWellPickerV4/effects/useAdvancedWells.d.ts.map +1 -1
- package/components/OffsetWellPickerV4/utils/index.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/Filter/components/CustomDateFields/CustomDateFields.js +1 -1
- package/components/OffsetWellPickerV5/components/Filter/components/CustomDateFields/CustomDateFields.js.map +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useMapTooltipState.js +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useMapTooltipState.js.map +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useSelectionToolOrchestration.js +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useSelectionToolOrchestration.js.map +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/utils/well-markers-utils.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/utils/well-markers-utils.js +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/utils/well-markers-utils.js.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.js.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/components/CompanySafeguardWrapper/CompanySafeguardWrapper.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/components/CompanySafeguardWrapper/CompanySafeguardWrapper.js.map +1 -1
- package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/wellTransformations.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/wellTransformations.js +1 -1
- package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/wellTransformations.js.map +1 -1
- package/components/OffsetWellPickerV5/utils/getCoordinatedWells.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/utils/getCoordinatedWells.js +1 -1
- package/components/OffsetWellPickerV5/utils/getCoordinatedWells.js.map +1 -1
- package/components/PadOffsetsPicker/StagesSelector.js +1 -1
- package/components/PadOffsetsPicker/StagesSelector.js.map +1 -1
- package/components/PadOffsetsPickerV2/PadOffsetsPickerV2.js +1 -1
- package/components/PadOffsetsPickerV2/PadOffsetsPickerV2.js.map +1 -1
- package/componentsV2/CompletionsOffsetWellPicker/hooks/usePadsByRadius.d.ts.map +1 -1
- package/componentsV2/CompletionsOffsetWellPicker/hooks/usePadsByRadius.js +1 -1
- package/componentsV2/CompletionsOffsetWellPicker/hooks/usePadsByRadius.js.map +1 -1
- package/effects/useSignedURL.d.ts +1 -1
- package/effects/useSignedURL.d.ts.map +1 -1
- package/effects/useSignedURL.js +1 -1
- package/effects/useSignedURL.js.map +1 -1
- package/mcp-server/server.mjs +4 -4
- package/package.json +1 -1
- package/tsconfig.tsbuildinfo +1 -1
- package/utils/__tests__/signedLinkCache.test.d.ts +2 -0
- package/utils/__tests__/signedLinkCache.test.d.ts.map +1 -0
- package/utils/signedLinkCache.d.ts +9 -0
- package/utils/signedLinkCache.d.ts.map +1 -0
- package/utils/signedLinkCache.js +2 -0
- package/utils/signedLinkCache.js.map +1 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import e from"moment";import{useFilterStore as o}from"../../../../stores/filter-store/useFilterStore.js";import t from"../../Filter.module.css.js";import"@babel/runtime/helpers/defineProperty";import"../../../../../DevCenter/DevCenterAppContainer/components/IsInsideIsolatedDcAppProvider.js";import"../../../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js";import"../../../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js";import"@babel/runtime/helpers/objectWithoutProperties";import"classnames";import"lodash";import"@material-ui/core";import"../../../../../Modal/CorvaModal.scss.js";import"react";import"@icon-park/react/es/all";import{jsxs as s,Fragment as i,jsx as n}from"react/jsx-runtime";import"../../../../../../icons/IconParkProvider.js";import"../../../../../../icons/customIcons/icons/AddMessage.js";import"../../../../../../icons/customIcons/icons/DragOne.js";import"../../../../../../icons/customIcons/icons/Attention.js";import"../../../../../../icons/customIcons/icons/Collapse.js";import"../../../../../../icons/customIcons/icons/Dashboard.js";import"../../../../../../icons/customIcons/icons/Expand.js";import"../../../../../../icons/customIcons/icons/FolderClosed.js";import"../../../../../../icons/customIcons/icons/FolderClosedFilled.js";import"../../../../../../icons/customIcons/icons/FolderOpened.js";import"../../../../../../icons/customIcons/icons/GreaterOrEqual.js";import"../../../../../../icons/customIcons/icons/LessOrEqual.js";import"../../../../../../icons/customIcons/icons/Search.js";import"../../../../../../icons/customIcons/icons/SearchOne.js";import"../../../../../../icons/customIcons/icons/Wellhub.js";import"../../../../../../icons/customIcons/icons/MultiRuler.js";import"../../../../../../icons/customIcons/icons/Checkbox.js";import"../../../../../../icons/customIcons/icons/CheckboxChecked.js";import"../../../../../../icons/customIcons/icons/CheckboxIndeterminate.js";import"../../../../../../icons/customIcons/icons/Radio.js";import"../../../../../../icons/customIcons/icons/RadioChecked.js";import"../../../../../../icons/customIcons/icons/SimulFrac.js";import"../../../../../../icons/customIcons/icons/ZipperFrac.js";import"../../../../../../icons/customIcons/icons/CautionFilled.js";import"../../../../../../icons/customIcons/icons/InfoRounded.js";import"../../../../../../icons/customIcons/icons/FlameFilled.js";import"../../../../../../icons/customIcons/icons/MoreApp.js";import"../../../../../../icons/customIcons/icons/Pad.js";import"../../../../../../icons/customIcons/icons/DrilloutUnit.js";import"../../../../../../icons/customIcons/icons/FracFleet.js";import"../../../../../../icons/customIcons/icons/Global.js";import"../../../../../../icons/customIcons/icons/Program.js";import"../../../../../../icons/customIcons/icons/Rig.js";import"../../../../../../icons/customIcons/icons/Well.js";import"../../../../../../icons/customIcons/icons/Gap.js";import"../../../../../../icons/customIcons/icons/Pin.js";import"../../../../../../icons/customIcons/icons/CloseOneFilled.js";import"../../../../../../icons/customIcons/icons/AttentionFilled.js";import"../../../../../../icons/customIcons/icons/CheckOneFilled.js";import"../../../../../../icons/customIcons/icons/Archive.js";import"../../../../../../icons/customIcons/icons/ArchiveCancel.js";import"../../../../../../icons/customIcons/icons/Unarchive.js";import"../../../../../../icons/customIcons/icons/Archived.js";import"../../../../../../icons/customIcons/icons/InterventionUnit.js";import"../../../../../../icons/customIcons/icons/CloudDelete.js";import"../../../../../../icons/customIcons/icons/Lasso.js";import"../../../../../../icons/customIcons/icons/Radius.js";import"../../../../../../icons/customIcons/icons/ErrorOps.js";import"../../../../../../icons/customIcons/icons/DataTypeOps.js";import"../../../../../../icons/customIcons/icons/FalsePositiveOps.js";import"../../../../../../icons/customIcons/icons/CalibrationOps.js";import"../../../../../../icons/customIcons/icons/CriticalOps.js";import"../../../../../../icons/customIcons/icons/Company.js";import"../../../../../../icons/customIcons/icons/ArchiveOne.js";import"../../../../../../icons/customIcons/icons/ParseBotFusion.js";import"../../../../../../icons/customIcons/icons/Connect.js";import"../../../../../../icons/customIcons/icons/PuzzleOne.js";import"../../../../../../icons/customIcons/icons/Feed.js";import"../../../../../../icons/customIcons/icons/Prompt.js";import"../../../../../../icons/customIcons/icons/Companies.js";import"../../../../../../icons/customIcons/icons/ClipboardAi.js";import"../../../../../../icons/customIcons/icons/Key.js";import"../../../../../../icons/customIcons/icons/AtSignCrossed.js";import"../../../../../../icons/customIcons/icons/MappingManual.js";import"../../../../../../icons/customIcons/icons/Mapping.js";import"../../../../../../icons/customIcons/icons/Metrics.js";import"../../../../../../icons/customIcons/icons/Drops.js";import"../../../../../../icons/customIcons/icons/ClipboardSearch.js";import"../../../../../../icons/customIcons/icons/Template.js";import"../../../../../../icons/customIcons/icons/ClipboardMetrics.js";import"../../../../../../icons/customIcons/icons/ClipboardBuilder.js";import"../../../../../../icons/customIcons/icons/UnitConversion.js";import"../../../../../../icons/customIcons/icons/NPT.js";import"../../../../../../icons/customIcons/icons/GuidedFrac.js";import"../../../../../../utils/mobileDetect.js";import"../../../../../IconButton/index.js";import"../../../../../../constants/goals.js";import"../../../../../../constants/segment.js";import"../../../../../../constants/alerts.js";import"../../../../../../constants/apps.js";import"../../../../../../constants/drillstring.js";import"../../../../../../constants/completion.js";import"../../../../../../constants/appPackages.js";import"../../../../../../constants/notifications.js";import"../../../../../../constants/feed.js";import"../../../../../../constants/bha.js";import"../../../../../../constants/corvaCompanyId.js";import"../../../../../GradientManager/configuration/constants.js";import"@babel/runtime/helpers/slicedToArray";import"uuid";import"../../../../../IconMenu/index.js";import"../../../../../StyledMenuItem/index.js";import"../../../../../AppIcon/AppIcon.js";import"../../../../../DevCenter/AppHeader/AppHeader.js";import"../../../../../DevCenter/AppSideBar/AppSideBar.js";import"../../../../../DevCenter/AppsDataProvider/AppsDataProvider.js";import"../../../../../DevCenter/AppContext.js";import"../../../../../DevCenter/DevCenterRouterContext/DevCenterRouterContext.js";import"../../../../../DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js";import"react-router-dom";import"query-string";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"../../../../../../utils/index.js";import"@material-ui/icons";import"../../../../../EmptyState/EmptyState.js";import"../../../../../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/RemoveAppButton.js";import"../../../../../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/SettingsAccordion.js";import"../../../../../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/styles.js";import"@material-ui/pickers";import"@date-io/moment";import"../../../../../../config/theme/index.js";import"../../../../../../hocs/withAssetEditorLockHOC.js";import"../../../../../ErrorBoundary/ErrorBoundary.js";import"../../../../../ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js";import"../../../../../Button/components/Button/index.js";import"moment-timezone";import"../../../../../Button/components/LiveButton/components/LiveButtonStateIndicator/index.js";import"../../../../../Button/components/LiveButton/styles.js";import"../../../../../AssetEditorV2/index.js";import"../../../../../AppVersionsSelect/AppVersionsSelect.js";import"../../../../../DisabledSettingsMessage/DisabledSettingsMessage.js";import"../../../../../ConfirmationDialog.js";import"immutable";import"../../../../../../permissions/PermissionsContext.js";import"../../../../../../permissions/constants/index.js";import"../../../../../../permissions/withPermissionsHOC.js";import"../../../../../../clients/jsonApi/index.js";import"../../../../../../permissions/ProvidePermissions.js";import"../../../../../../componentsV2/AppHeader/V3/VersionSelect/VersionSelect.constants.js";import"../../../../../Annotations/components/AnnotationsList/index.js";import"../../../../../Annotations/components/LastAnnotation/index.js";import"../../../../../Annotations/AnnotationsContext.js";import"../../../../../../componentsV2/AppContainer/AppContainer.js";import"../../../../../../componentsV2/AppContainer/AppContainer.constants.js";import"../../../../../../componentsV2/Text/Text.js";import"../../../../../../componentsV2/Header/Header.scss.js";import"../../../../../../componentsV2/Tooltip/Tooltip.scss.js";import"../../../../../../componentsV2/TextEndTruncated/TextEndTruncated.scss.js";import"../../../../../../componentsV2/AppCommonsProvider/AppCommonsContext.js";import"../../../../../../componentsV2/AppHeader/AppHeader.constants.js";import"../../../../../../componentsV2/AppHeader/AppBadge/AppBadge.scss.js";import"../../../../../../componentsV2/Chip/Chip.js";import"../../../../../../componentsV2/TextMiddleTruncated/TextMiddleTruncated.constants.js";import"../../../../../../componentsV2/TextMiddleTruncated/TextMiddleTruncated.scss.js";import"../../../../../../componentsV2/AppHeader/AppAssets/utils.js";import"../../../../../../componentsV2/AppHeader/AppAssets/AppAssets.scss.js";import"../../../../../PadModeSelect/PadModeSelect.js";import"../../../../../../componentsV2/AppHeader/PadMode/PadMode.scss.js";import"../../../../../../constants/streamSourceType.js";import"../../../../../../componentsV2/PadModeSelect/PadModeSelect.js";import"../../../../../../componentsV2/PadModeSelect/PadModeSelect.constants.js";import"../../../../../../componentsV2/AppCommonsProvider/AppCommonsProvider.js";import"../../../../../../componentsV2/utils.js";import"../../../../../../componentsV2/AppHeader/V3/VersionSelect/VersionSelect.js";import"../../../../../../componentsV2/UniversalLink/UniversalLink.scss.js";import"../../../../../../componentsV2/AppHeader/V3/AssetChips/AssetChips.scss.js";import"../../../../../../componentsV2/Button/Button.js";import"../../../../../../componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.js";import"../../../../../../componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.constants.js";import"../../../../../../componentsV2/Popover/Popover.js";import"@babel/runtime/helpers/toConsumableArray";import"../../../../../../componentsV2/Accordion/Accordion.scss.js";import"../../../../../../componentsV2/ButtonIcon/ButtonIcon.js";import"../../../../../../componentsV2/AppFooter/DqPopover/DqStatusIcon/DqStatusIcon.js";import"../../../../../../componentsV2/AppDqPopover/DqAlertTooltip/DqAlertTooltip.scss.js";import"../../../../../../componentsV2/AppDqPopover/DqAlert/DqAlert.scss.js";import"../../../../../../componentsV2/AppDqPopover/DqAsset/DqAsset.scss.js";import"../../../../../../componentsV2/AppDqPopover/AppDqPopover.scss.js";import"../../../../../../componentsV2/Menu/Menu.js";import"../../../../../../componentsV2/ModalWindow/ModalWindow.js";import"../../../../../../componentsV2/Modal/Modal.scss.js";import"../../../../../../componentsV2/LoaderLogo/LoaderLogo.constants.js";import"../../../../../../componentsV2/LoaderLogo/LoaderLogo.scss.js";import"../../../../../../utils/getSingleAsset.js";import"../../../../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorChip/AssetSelectorChip.js";import"../../../../../../componentsV2/TextInput/TextInput.js";import"../../../../../../componentsV2/AppHeader/V3/AssetSelector/constants.js";import"../../../../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/AssetSelectorSelect.scss.js";import"../../../../../../componentsV2/ChipIndicator/ChipIndicator.js";import"../../../../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/loadAssets.js";import"../../../../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelector.scss.js";import"../../../../../../clients/subscriptions/constants.js";import"querystring";import"uuid/v1";import"../../../../../../clients/subscriptions.v1.js";import"../../../../../../clients/subscriptions/subscriptions-client.factory.js";import"jsona";import"../../../../../../utils/env.js";import"../../../../../StatusBadge/constants.js";import"lodash/set";import"lodash/get";import"lodash/unset";import"../../../../../../clients/api/apiCore.js";import"../../../../../../clients/constants.js";import"../../../../../../clients/sso/auth0.js";import"../../../../../../clients/sso/oauth2.js";import"../../../../../../clients/api/rateLimiter.js";import"lodash/isEmpty";import"lodash/sortBy";import"../../../../../DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchContext.js";import"../../../../../../componentsV2/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/EmptyState/EmptyState.scss.js";import"../../../../../DevCenter/DevCenterAppContainer/components/DevCenterAppView/components/ChooseAssetButton.js";import"../../../../../DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.scss.js";import"../../../../../DevCenter/DevCenterAppContainer/components/AppActions/AppActions.css.js";import"../../../../../DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.scss.js";import"../../../../../../componentsV2/Grid/Grid.js";import"../../../../../../componentsV2/Grid/Cell.js";import"../../../../../../componentsV2/PopoverPanel/PopoverPanel.js";import"../../../../../../componentsV2/Radio/Radio.js";import"../../../../../../componentsV2/RadioAndCheckboxGroup/RadioAndCheckboxGroup.scss.js";import"../../../../../../componentsV2/Checkbox/Checkbox.js";import"../../../../../../componentsV2/TextInputNext/TextInputNext.js";import"../../../../../../componentsV2/TextArea/TextArea.js";import"../../../../../../componentsV2/Label/Label.js";import"../../../../../../componentsV2/TextLink/TextLink.js";import"../../../../../../componentsV2/ChipAlert/ChipAlert.js";import"../../../../../../componentsV2/Avatar/Avatar.js";import"../../../../../../componentsV2/AvatarGroup/AvatarGroup.js";import"@material-ui/lab";import"../../../../../../componentsV2/ToggleButtons/ToggleButtons.scss.js";import"../../../../../../componentsV2/Paper/Paper.js";import"../../../../../../componentsV2/Hint/Hint.scss.js";import"../../../../../../componentsV2/Counter/Counter.js";import"../../../../../../componentsV2/BadgeBase/BadgeBase.scss.js";import"../../../../../../componentsV2/TemplatesControl/TemplatesControl.js";import"zustand";import"../../../../../../componentsV2/TemplatesControl/utils.js";import"../../../../../../componentsV2/TemplatesControl/icons/folder/index.js";import"../../../../../../componentsV2/TemplatesControl/Store/utils.js";import"../../../../../../componentsV2/TemplatesControl/types.js";import"../../../../../../componentsV2/BadgeDot/BadgeDot.scss.js";import"../../../../../../componentsV2/LoaderLinear/LoaderLinear.scss.js";import"../../../../../../componentsV2/Switch/Switch.js";import"../../../../../../componentsV2/Tabs/Tabs.js";import"../../../../../../componentsV2/FileIcon/FileIcon.js";import"../../../../../../componentsV2/Tag/Tag.js";import"react-dropzone";import"../../../../../../componentsV2/FilesDropzone/FilesDropzone.scss.js";import"../../../../../../componentsV2/FilesLoader/FilesLoader.scss.js";import"file-extension";import"image-extensions";import"video-extensions";import"../../../../../../componentsV2/FilesProcessor/FilesProcessor.scss.js";import"../../../../../../componentsV2/Skeleton/Skeleton.scss.js";import"../../../../../../utils/main.js";import"../../../../../../componentsV2/CopyToClipboard/CopyToClipboard.scss.js";import"../../../../../../componentsV2/Stepper/Step/Step.scss.js";import"../../../../../../componentsV2/Stepper/Stepper.scss.js";import"../../../../../../componentsV2/ButtonLive/ButtonLive.js";import"../../../../../../componentsV2/ButtonText/ButtonText.js";import"../../../../../../componentsV2/IndicatorLive/IndicatorLive.js";import"../../../../../../componentsV2/Breadcrumbs/Breadcrumbs.scss.js";import"../../../../../../componentsV2/BadgeComment/BadgeComment.js";import"../../../../../../componentsV2/AppFooter/AppFooter.js";import"../../../../../../componentsV2/OffsetWellsButton/OffsetWellsButton.js";import"../../../../../../componentsV2/ChartAxisExtreme/ChartAxisExtreme.scss.js";import"highcharts";import"../../../../../../componentsV2/ChartAxisExtreme/ChartAxisExtremeDragTracker.js";import"../../../../../../componentsV2/Autocomplete/Autocomplete.js";import"../../../../../../componentsV2/Select/Select.js";import"../../../../../../componentsV2/AppSettingsDivider/AppSettingsDivider.scss.js";import"../../../../../../componentsV2/WellArchivedMessage/WellArchivedMessage.js";import"../../../../../../componentsV2/DatePicker/DatePicker.js";import"../../../../../../componentsV2/DragHandle/DragHandle.js";import"../../../../../../componentsV2/CompletionsOffsetWellPicker/CompletionsOffsetWellPicker.js";import"../../../../../../componentsV2/Slider/constants.js";import"../../../../../../componentsV2/Slider/components/SliderThumb.js";import"../../../../../../componentsV2/Slider/Slider.scss.js";import"../../../../../../componentsV2/SliderAdvanced/SliderAdvanced.js";import"react-color";import"../../../../../../componentsV2/ColorPicker/Swatches/Swatches.scss.js";import"../../../../../../componentsV2/ColorPicker/OpacityDragtracker/OpacityDragTracker.scss.js";import"../../../../../../componentsV2/ColorPicker/ColorPicker.scss.js";import"../../../../../../componentsV2/ChartHelper/ChartHelper.scss.js";import"../../../../../../componentsV2/Hotkey/Hotkey.js";import"@tanstack/react-query";import"../../../../../../componentsV2/InterventionEventSelector/useInterventionUnitEvents.js";import"../../../../../../componentsV2/InterventionEventSelector/InterventionEventSelector.scss.js";import"../../../../../DevCenter/DevCenterAppContainer/components/FullscreenButton/FullscreenButton.css.js";import"../../../../../Icons/AnnotationIcon.js";import"../../../../../HelpCenter/HelpCenterIcon.js";import"../../../../../DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/RestoreAppSizeButton.css.js";import"../../../../../DevCenter/DevCenterAppContainer/DevCenterAppContainer.scss.js";import"../../../../../Toaster/Toaster.js";import"../../../../../DevCenter/NavigationBar/NavigationBar.js";import"../../../../../DevCenter/SideBar/SideBar.js";import"../../../../../DevCenter/AppSettingsPopover/AppSettingsPopover.js";import"../../../../../DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.js";import"../../../../../DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js";import"../../../../../DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.js";import"../../../../../AssetEditor/index.js";import"../../../../../LoadingIndicator/LoadingIndicator.js";import"../../../../../Typography.js";import"../../../../../RealTimeValuesSidebar/RealTimeSidebar.js";import"../../../../../CollapsableSidebar.js";import r from"../../../../../DateTimePicker/index.js";import"../../../../../DatePicker/index.js";import"../../../../../SlateFormattedText/SlateFormattedText.js";import"../../../../../SlateFormattedText/RenderElements.js";import"slate";import"../../../../../ParameterCharts/ParameterCharts.js";import"../../../../../ParameterCharts/AddEditTrack.js";import"../../../../../ChartActionsList/ChartActionsList.js";import"../../../../../CopyToClipboard/CopyToClipboard.js";import"../../../../../AssetEditor/AssetEditorAutocomplete.js";import"../../../../../AssetEditor/SingleAssetEditor.js";import"../../../../../SettingEditors/ColorEditor/style.css.js";import"../../../../../SettingEditors/DropdownEditor/index.js";import"../../../../../SwitchControl/index.js";import"../../../../../ColorPicker/ColorPicker.js";import"../../../../../Chart/components/ChartButton.js";import"../../../../../Chart/components/ChartButtons.js";import"../../../../../Chart/components/ChartWrapper.js";import"../../../../../Chart/components/AxisDropdown.js";import"../../../../../Chart/components/ChartSelect.js";import"../../../../../Chart/ChartWrapperContext.js";import"../../../../../Chart/effects/useChartModifier.js";import"../../../../../Chart/components/buttons/HideAxesButton.js";import"../../../../../Chart/components/buttons/ChartTypeButton.js";import"../../../../../ColorPicker/PaletteChromePicker/PaletteChromePicker.js";import"../../../../../TruncatedText/index.js";import"../../../../../MiddleTruncatedText/MiddleTruncatedText.js";import"../../../../../RangeSlider/constants.js";import"../../../../../RangeSlider/Input.css.js";import"../../../../../RangeSlider/RangeSlider.css.js";import"../../../../../AdvancedSlider/AdvancedSlider.js";import"../../../../../Breadcrumbs/index.js";import"../../../../../VirtualizedTable/index.js";import"../../../../../EmptyView/EmptyView.js";import"../../../../../EmptyView/EmptyAppView/EmptyAppView.js";import"../../../../../ContextMenuItem/index.js";import"../../../../../FolderMenuItem/index.js";import"../../../../../EditableItem/EditableItem/index.js";import"../../../../../EditableItem/EditableItemWithBadge/index.js";import"../../../../../Checkbox/index.js";import"../../../../../FolderMenuItemWithLinks/index.js";import"../../../../../TextField/index.js";import"../../../../../Chip/index.js";import"../../../../../Counter/index.js";import"../../../../../AnchorsList/AnchorsList.js";import"../../../../../Select/index.js";import"../../../../../Select/SelectFilterBy.js";import"../../../../../CustomSelect/index.js";import"../../../../../Tabs/Tabs.js";import"../../../../../Tabs/Tab.js";import"../../../../../ResizableTable/ResizableTable.js";import"../../../../../GradientPicker/GradientPicker.js";import"@babel/runtime/helpers/classCallCheck";import"@babel/runtime/helpers/createClass";import"../../../../../GradientManager/GradientPreview/GradientPreview.js";import"../../../../../GradientManager/GradientSelect.scss.js";import"../../../../../GradientManager/GradientManager.styles.js";import"../../../../../Drillstring/BHASchematic.js";import"../../../../../Drillstring/BHATable/index.js";import"../../../../../Drillstring/BHAComponentIcon.js";import"../../../../../Drillstring/BHAComponentDetail/index.js";import"../../../../../Drillstring/BHATileIcon.js";import"../../../../../Drillstring/BHATile/BHATile.js";import"../../../../../Drillstring/BHAList/BHAList.js";import"../../../../../Drillstring/BHAComponentsTable/BHAComponentsTable.js";import"../../../../../Casing/CasingTable/index.js";import"../../../../../Casing/CasingComponentIcon.js";import"../../../../../Casing/CasingTileIcon.js";import"../../../../../Casing/CasingTableV2/CasingTableV2.js";import"../../../../../Casing/CasingTile/CasingTile.js";import"../../../../../WellSummary/WellSummaryItemLabel.js";import"../../../../../WellSummary/WellSummaryItemTitle.js";import"../../../../../WellSummary/WellSummaryItemValue.js";import"../../../../../WellSummary/ActivitySummaryChart.js";import"../../../../../WellSummary/FracWirelineTimeChart.js";import"../../../../../BICOffsetPickerDialog/index.js";import"../../../../../OffsetWellButton/OffsetWellButton.js";import"../../../../../OffsetWellPickerV2/OffsetWellPickerDialog.js";import"../../../../../OffsetWellPickerV3/index.js";import"../../../../../OffsetWellChips/Chip.js";import"../../../../../OffsetWellChips/ChipsContainer.js";import"../../../OffsetWellPickerV5WithStore/OffsetWellPickerV5WithStore.js";import"../../../../../OffsetWellMap/OffsetWellMap.js";import"@material-ui/core/Snackbar";import"../../../../../Notifications/Toast.js";import"../../../../../Notifications/Notifications.scss.js";import"../../../../../TextLink/index.js";import"../../../../../Avatar/index.js";import"../../../../../Template/TemplatePopover/index.js";import"../../../../../Template/TemplateSharingDialog/index.js";import"../../../../../MenuItem/index.js";import"../../../../../MiddleTruncate/MiddleTruncate.js";import"../../../../../PinnableFilters/PinnableFilters.js";import"../../../../../HeaderLayout/HeaderLayout.js";import"../../../../../PadOffsetsPicker/PadOffsetsPicker.js";import"../../../../../PadOffsetsPicker/OffsetAssetChip.js";import"../../../../../PadOffsetsPicker/OffsetAssetsListExpander.js";import"../../../../../PadOffsetsPicker/StagesSelector.js";import"../../../../../PadOffsetsPickerV2/PadOffsetsPickerV2.js";import"../../../../../Table/TableToolbar/TableToolbar.js";import"../../../../../Table/TableContainer/TableContainer.js";import"../../../../../Table/TableCell/TableCell.js";import"../../../../../Table/TablePagination/TablePagination.js";import"../../../../../Table/TablePaginationActions/TablePaginationActions.js";import"../../../../../Tooltip/ScrollableTooltip.js";import"../../../../../PriceInput/PriceInput.js";import"../../../../../LabelsCounter/LabelsCounter.js";import"../../../../../Stepper/Stepper.js";import"../../../../../Stepper/Step/Step.js";import"../../../../../Stepper/StepsWrapper.js";import"../../../../../Comment/CommentIcon/index.js";import"../../../../../FilesLoader/FilesLoader.js";import"../../../../../../componentsV2/FileIcon/icons/ArchiveFileIcon.js";import"../../../../../../componentsV2/FileIcon/icons/CSVFileIcon.js";import"../../../../../../componentsV2/FileIcon/icons/DocFileIcon.js";import"../../../../../../componentsV2/FileIcon/icons/EDMFileIcon.js";import"../../../../../../componentsV2/FileIcon/icons/ExcelFileIcon.js";import"../../../../../../componentsV2/FileIcon/icons/ImageFileIcon.js";import"../../../../../../componentsV2/FileIcon/icons/JsonFileIcon.js";import"../../../../../../componentsV2/FileIcon/icons/LasFileIcon.js";import"../../../../../../componentsV2/FileIcon/icons/OtherFileIcon.js";import"../../../../../../componentsV2/FileIcon/icons/PdfFileIcon.js";import"../../../../../../componentsV2/FileIcon/icons/PowerPointFileIcon.js";import"../../../../../../componentsV2/FileIcon/icons/TxtFileIcon.js";import"../../../../../../componentsV2/FileIcon/icons/UnknownFileIcon.js";import"../../../../../../componentsV2/FileIcon/icons/VideoFileIcon.js";import"../../../../../../componentsV2/FileIcon/icons/XmlFileIcon.js";import"../../../../../SearchInput/index.js";import"../../../../../FeedItem/FeedItem.js";import"../../../../../FeedItem/FeedItemEditProvider/FeedItemEditProvider.js";import"../../../../../PostInput/PostInput.js";import"../../../../../KeyboardDateTimePicker.js";import"../../../../../AddComment/Popover.js";import"../../../../../AddComment/Popup.js";import"../../../../../StageDesignVActual/ComparisonBar/ComparisonBar.js";import"../../../../../StageDesignVActual/ElementsComparison/ElementsComparison.js";import"../../../../../StageDesignVActual/ComparisonHeader.js";import"../../../../../StageDesignVActual/ComparisonRow.js";import"../../../../../EmbeddedApp/DevCenterEmbeddedApp.js";import"../../../../../EmbeddedApp/EmbeddedApp.js";import"../../../../../Autocomplete/Autocomplete.js";import"../../../../../DocumentViewer/DocumentViewer.js";import"../../../../../ColorPickerPalette/ColorPickerPalette.js";import"../../../../../Search/Search.js";import"../../../../../Search/components/Listbox.js";import"../../../../../Search/components/Paper.js";import"../../../../../Search/components/RecentSearches.js";import"../../../../../Search/components/Groups.js";import"../../../../../Search/components/SelectAllListItem.js";import"../../../../../StatusBadge/index.js";import"../../../../../Attachment/index.js";import"../../../../../EmojiIconButton.js";import"../../../../../FileUploadIconButton.js";import"../../../../../FilePreview/index.js";import"../../../../../FailedFileUploading.js";import"../../../../../UserMention/index.js";import"../../../../../CommentsInfo/index.js";import"../../../../../CommentInput/index.js";import"../../../../../Comment/index.js";import"../../../../../CommentLoader.js";import"../../../../../AssetNameLabel/AssetStatusBadge.js";import"../../../../../AssetEditorV2/components/PrimaryAssetSelect.js";import"../../../../../AssetEditorV2/components/SecondaryAssetSelect.js";import"../../../../../AssetEditorV2/components/SelectItem.js";import"../../../../../AssetEditorV2/components/MultipleAssetsToggle.js";import"../../../../../AssetEditorV2/components/PrimaryAssetSelectV2.js";import"../../../../../EChartsWrapper/EChartsWrapper.js";import"../../../../../AssetsMultipleSelector/AssetsMultipleSelector.js";import"@material-ui/icons/Close";import"@material-ui/icons/GetApp";import"../../../../../GoogleDocsViewer/index.js";import"../../../../../NewDocumentViewer/effects/useFileContent.js";import"../../../../../NewDocumentViewer/styles.js";import"../../../../../FilesLoaderV2/styles.js";import"../../../../../FilesDropzone/styles.js";import"../../../../../FilesProcessor/styles.js";import"../../../../../Hint/styles.js";import"@babel/runtime/helpers/taggedTemplateLiteral";import"fparser";import"../../../../../Formula/useFormulaStyles.js";import"../../../../../Formula/RootXIcon.js";import"../../../../../Formula/FormulaTextEditor.js";import"../../../../../Formula/CloseSuggestion.js";import"../../../../../Formula/SuggestionsMenu.js";import"../../../../../CommentCard/CommentCard.js";import"@material-ui/icons/AlternateEmail";import"../../../../../AttachFileButton/AttachFileButton.scss.js";import"../../../../../CommentInputNext/CommentInputNext.js";import"../../../../../UserMention/utils/index.js";import"react-s3-uploader/s3upload";import"../../../../../CommentComposer/CommentMetaLine.scss.js";import"../../../../../CommentComposer/ChatChannelSelector.scss.js";import"../../../../../CommentComposer/ShareToChatRow.scss.js";import"../../../../../CommentComposer/CommentComposer.scss.js";import"../../../../../AttachmentPreview/AttachmentPreview.js";import"../../../../../AttachmentPreview/AttachmentImage.js";import"../../../../../AttachmentPreview/AttachmentPreview.scss.js";import"../../../../../CommentPin/CommentPin.js";import"../../../../../FeedCard/FeedCard.js";import"../../../../../FeedItemCard/FeedItemCard.js";import"../../../../../NewCommentCursor/NewCommentCursor.js";import"../../../../../LinkedText/LinkedText.js";import"../../../../../FeedItem/feedItemTypes/AlertFeedItem.js";import"../../../../../FeedItem/feedItemTypes/PostFeedItem.js";import"../../../../../FeedItem/feedItemTypes/GeosteeringFeedItem.js";import"../../../../../FeedItem/feedItemTypes/DrillingOperationalNoteFeedItem.js";import"../../../../../FeedItem/feedItemTypes/DrillingOperationSummaryFeedItem.js";import"../../../../../FeedItem/feedItemTypes/DrillingDailyCostFeedItem.js";import"../../../../../FeedItem/feedItemTypes/DocumentFeedItem.js";import"../../../../../FeedItem/feedItemTypes/DrillerMemoFeedItem.js";import"../../../../../FeedItem/feedItemTypes/NptFeedItem.js";import"../../../../../FeedItem/feedItemTypes/SurveyStationFeedItem/index.js";import"../../../../../FeedItem/feedItemTypes/LessonsLearnedFeedItem/index.js";import"../../../../../FeedItem/feedItemTypes/TracesMemoFeedItem.js";import"../../../../../FeedItem/feedItemTypes/DepthCommentFeedItem.js";import"../../../../../FeedItem/feedItemTypes/CompletionOperationalNoteFeedItem.js";import"../../../../../FeedItem/feedItemTypes/CompletionOperationSummaryFeedItem.js";import"../../../../../FeedItem/feedItemTypes/CompletionDailyCostFeedItem.js";import"../../../../../FeedItem/feedItemTypes/CompletionDocumentFeedItem.js";import"../../../../../FeedItem/feedItemTypes/CompletionNptFeedItem.js";import"../../../../../FeedItem/feedItemTypes/StageOverviewFeedItem/index.js";import"../../../../../FeedItem/feedItemTypes/AppAnnotationFeedItem/index.js";import"../../../../../FeedItem/feedItemTypes/WellPlanFeedItem/index.js";import"../../../../../FeedItem/feedItemTypes/FluidReportFeedItem.js";import"../../../../../FeedItem/feedItemTypes/BhaFeedItem/BhaFeedItem.js";import"../../../../../FeedItem/feedItemTypes/DvDCommentFeedItem.js";import"../../../../../FeedItem/feedItemTypes/PCCommentFeedItem.js";import"../../../../../FeedItem/feedItemTypes/HookloadCommentFeedItem.js";import"../../../../../FeedItem/feedItemTypes/NptLessonsCommentFeedItem.js";import"../../../../../FeedItem/feedItemTypes/GenericDataCommentFeedItem.js";var p=function(p){var m=p.errors,c=p.onDateChange,a=o((function(e){return e.filters.timeRangeFrom})),l=o((function(e){return e.filters.timeRangeTo}));return s(i,{children:[n("div",{className:t.filterItem,children:n(r,{variant:"inline",label:"Date From",format:"MM/DD/YY HH:mm",value:a?e.unix(a):null,onChange:c("timeRangeFrom"),error:m.timeRangeFrom})}),n("div",{className:t.filterItem,children:n(r,{variant:"inline",label:"Date To",format:"MM/DD/YY HH:mm",value:l?e.unix(l):null,onChange:c("timeRangeTo"),error:m.timeRangeTo})})]})};p.displayName="CustomDateFields";export{p as CustomDateFields};
|
|
1
|
+
import e from"moment";import{useFilterStore as o}from"../../../../stores/filter-store/useFilterStore.js";import t from"../../Filter.module.css.js";import"@babel/runtime/helpers/defineProperty";import"../../../../../DevCenter/DevCenterAppContainer/components/IsInsideIsolatedDcAppProvider.js";import"../../../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js";import"../../../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js";import"@babel/runtime/helpers/objectWithoutProperties";import"classnames";import"lodash";import"@material-ui/core";import"../../../../../Modal/CorvaModal.scss.js";import"react";import"@icon-park/react/es/all";import{jsxs as s,Fragment as i,jsx as n}from"react/jsx-runtime";import"../../../../../../icons/IconParkProvider.js";import"../../../../../../icons/customIcons/icons/AddMessage.js";import"../../../../../../icons/customIcons/icons/DragOne.js";import"../../../../../../icons/customIcons/icons/Attention.js";import"../../../../../../icons/customIcons/icons/Collapse.js";import"../../../../../../icons/customIcons/icons/Dashboard.js";import"../../../../../../icons/customIcons/icons/Expand.js";import"../../../../../../icons/customIcons/icons/FolderClosed.js";import"../../../../../../icons/customIcons/icons/FolderClosedFilled.js";import"../../../../../../icons/customIcons/icons/FolderOpened.js";import"../../../../../../icons/customIcons/icons/GreaterOrEqual.js";import"../../../../../../icons/customIcons/icons/LessOrEqual.js";import"../../../../../../icons/customIcons/icons/Search.js";import"../../../../../../icons/customIcons/icons/SearchOne.js";import"../../../../../../icons/customIcons/icons/Wellhub.js";import"../../../../../../icons/customIcons/icons/MultiRuler.js";import"../../../../../../icons/customIcons/icons/Checkbox.js";import"../../../../../../icons/customIcons/icons/CheckboxChecked.js";import"../../../../../../icons/customIcons/icons/CheckboxIndeterminate.js";import"../../../../../../icons/customIcons/icons/Radio.js";import"../../../../../../icons/customIcons/icons/RadioChecked.js";import"../../../../../../icons/customIcons/icons/SimulFrac.js";import"../../../../../../icons/customIcons/icons/ZipperFrac.js";import"../../../../../../icons/customIcons/icons/CautionFilled.js";import"../../../../../../icons/customIcons/icons/InfoRounded.js";import"../../../../../../icons/customIcons/icons/FlameFilled.js";import"../../../../../../icons/customIcons/icons/MoreApp.js";import"../../../../../../icons/customIcons/icons/Pad.js";import"../../../../../../icons/customIcons/icons/DrilloutUnit.js";import"../../../../../../icons/customIcons/icons/FracFleet.js";import"../../../../../../icons/customIcons/icons/Global.js";import"../../../../../../icons/customIcons/icons/Program.js";import"../../../../../../icons/customIcons/icons/Rig.js";import"../../../../../../icons/customIcons/icons/Well.js";import"../../../../../../icons/customIcons/icons/Gap.js";import"../../../../../../icons/customIcons/icons/Pin.js";import"../../../../../../icons/customIcons/icons/CloseOneFilled.js";import"../../../../../../icons/customIcons/icons/AttentionFilled.js";import"../../../../../../icons/customIcons/icons/CheckOneFilled.js";import"../../../../../../icons/customIcons/icons/Archive.js";import"../../../../../../icons/customIcons/icons/ArchiveCancel.js";import"../../../../../../icons/customIcons/icons/Unarchive.js";import"../../../../../../icons/customIcons/icons/Archived.js";import"../../../../../../icons/customIcons/icons/InterventionUnit.js";import"../../../../../../icons/customIcons/icons/CloudDelete.js";import"../../../../../../icons/customIcons/icons/Lasso.js";import"../../../../../../icons/customIcons/icons/Radius.js";import"../../../../../../icons/customIcons/icons/ErrorOps.js";import"../../../../../../icons/customIcons/icons/DataTypeOps.js";import"../../../../../../icons/customIcons/icons/FalsePositiveOps.js";import"../../../../../../icons/customIcons/icons/CalibrationOps.js";import"../../../../../../icons/customIcons/icons/CriticalOps.js";import"../../../../../../icons/customIcons/icons/Company.js";import"../../../../../../icons/customIcons/icons/ArchiveOne.js";import"../../../../../../icons/customIcons/icons/ParseBotFusion.js";import"../../../../../../icons/customIcons/icons/Connect.js";import"../../../../../../icons/customIcons/icons/PuzzleOne.js";import"../../../../../../icons/customIcons/icons/Feed.js";import"../../../../../../icons/customIcons/icons/Prompt.js";import"../../../../../../icons/customIcons/icons/Companies.js";import"../../../../../../icons/customIcons/icons/ClipboardAi.js";import"../../../../../../icons/customIcons/icons/Key.js";import"../../../../../../icons/customIcons/icons/AtSignCrossed.js";import"../../../../../../icons/customIcons/icons/MappingManual.js";import"../../../../../../icons/customIcons/icons/Mapping.js";import"../../../../../../icons/customIcons/icons/Metrics.js";import"../../../../../../icons/customIcons/icons/Drops.js";import"../../../../../../icons/customIcons/icons/ClipboardSearch.js";import"../../../../../../icons/customIcons/icons/Template.js";import"../../../../../../icons/customIcons/icons/ClipboardMetrics.js";import"../../../../../../icons/customIcons/icons/ClipboardBuilder.js";import"../../../../../../icons/customIcons/icons/UnitConversion.js";import"../../../../../../icons/customIcons/icons/NPT.js";import"../../../../../../icons/customIcons/icons/GuidedFrac.js";import"../../../../../../utils/mobileDetect.js";import"../../../../../IconButton/index.js";import"../../../../../../constants/goals.js";import"../../../../../../constants/segment.js";import"../../../../../../constants/alerts.js";import"../../../../../../constants/apps.js";import"../../../../../../constants/drillstring.js";import"../../../../../../constants/completion.js";import"../../../../../../constants/appPackages.js";import"../../../../../../constants/notifications.js";import"../../../../../../constants/feed.js";import"../../../../../../constants/bha.js";import"../../../../../../constants/corvaCompanyId.js";import"../../../../../GradientManager/configuration/constants.js";import"@babel/runtime/helpers/slicedToArray";import"uuid";import"../../../../../IconMenu/index.js";import"../../../../../StyledMenuItem/index.js";import"../../../../../AppIcon/AppIcon.js";import"../../../../../DevCenter/AppHeader/AppHeader.js";import"../../../../../DevCenter/AppSideBar/AppSideBar.js";import"../../../../../DevCenter/AppsDataProvider/AppsDataProvider.js";import"../../../../../DevCenter/AppContext.js";import"../../../../../DevCenter/DevCenterRouterContext/DevCenterRouterContext.js";import"../../../../../DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js";import"react-router-dom";import"query-string";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"../../../../../../utils/index.js";import"@material-ui/icons";import"../../../../../EmptyState/EmptyState.js";import"../../../../../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/RemoveAppButton.js";import"../../../../../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/SettingsAccordion.js";import"../../../../../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/styles.js";import"@material-ui/pickers";import"@date-io/moment";import"../../../../../../config/theme/index.js";import"../../../../../../hocs/withAssetEditorLockHOC.js";import"../../../../../ErrorBoundary/ErrorBoundary.js";import"../../../../../ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js";import"../../../../../Button/components/Button/index.js";import"moment-timezone";import"../../../../../Button/components/LiveButton/components/LiveButtonStateIndicator/index.js";import"../../../../../Button/components/LiveButton/styles.js";import"../../../../../AssetEditorV2/index.js";import"../../../../../AppVersionsSelect/AppVersionsSelect.js";import"../../../../../DisabledSettingsMessage/DisabledSettingsMessage.js";import"../../../../../ConfirmationDialog.js";import"immutable";import"../../../../../../permissions/PermissionsContext.js";import"../../../../../../permissions/constants/index.js";import"../../../../../../permissions/withPermissionsHOC.js";import"../../../../../../clients/jsonApi/index.js";import"../../../../../../permissions/ProvidePermissions.js";import"../../../../../../componentsV2/AppHeader/V3/VersionSelect/VersionSelect.constants.js";import"../../../../../Annotations/components/AnnotationsList/index.js";import"../../../../../Annotations/components/LastAnnotation/index.js";import"../../../../../Annotations/AnnotationsContext.js";import"../../../../../../componentsV2/AppContainer/AppContainer.js";import"../../../../../../componentsV2/AppContainer/AppContainer.constants.js";import"../../../../../../componentsV2/Text/Text.js";import"../../../../../../componentsV2/Header/Header.scss.js";import"../../../../../../componentsV2/Tooltip/Tooltip.scss.js";import"../../../../../../componentsV2/TextEndTruncated/TextEndTruncated.scss.js";import"../../../../../../componentsV2/AppCommonsProvider/AppCommonsContext.js";import"../../../../../../componentsV2/AppHeader/AppHeader.constants.js";import"../../../../../../componentsV2/AppHeader/AppBadge/AppBadge.scss.js";import"../../../../../../componentsV2/Chip/Chip.js";import"../../../../../../componentsV2/TextMiddleTruncated/TextMiddleTruncated.constants.js";import"../../../../../../componentsV2/TextMiddleTruncated/TextMiddleTruncated.scss.js";import"../../../../../../componentsV2/AppHeader/AppAssets/utils.js";import"../../../../../../componentsV2/AppHeader/AppAssets/AppAssets.scss.js";import"../../../../../PadModeSelect/PadModeSelect.js";import"../../../../../../componentsV2/AppHeader/PadMode/PadMode.scss.js";import"../../../../../../constants/streamSourceType.js";import"../../../../../../componentsV2/PadModeSelect/PadModeSelect.js";import"../../../../../../componentsV2/PadModeSelect/PadModeSelect.constants.js";import"../../../../../../componentsV2/AppCommonsProvider/AppCommonsProvider.js";import"../../../../../../componentsV2/utils.js";import"../../../../../../componentsV2/AppHeader/V3/VersionSelect/VersionSelect.js";import"../../../../../../componentsV2/UniversalLink/UniversalLink.scss.js";import"../../../../../../componentsV2/AppHeader/V3/AssetChips/AssetChips.scss.js";import"../../../../../../componentsV2/Button/Button.js";import"../../../../../../componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.js";import"../../../../../../componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.constants.js";import"../../../../../../componentsV2/Popover/Popover.js";import"@babel/runtime/helpers/toConsumableArray";import"../../../../../../componentsV2/Accordion/Accordion.scss.js";import"../../../../../../componentsV2/ButtonIcon/ButtonIcon.js";import"../../../../../../componentsV2/AppFooter/DqPopover/DqStatusIcon/DqStatusIcon.js";import"../../../../../../componentsV2/AppDqPopover/DqAlertTooltip/DqAlertTooltip.scss.js";import"../../../../../../componentsV2/AppDqPopover/DqAlert/DqAlert.scss.js";import"../../../../../../componentsV2/AppDqPopover/DqAsset/DqAsset.scss.js";import"../../../../../../componentsV2/AppDqPopover/AppDqPopover.scss.js";import"../../../../../../componentsV2/Menu/Menu.js";import"../../../../../../componentsV2/ModalWindow/ModalWindow.js";import"../../../../../../componentsV2/Modal/Modal.scss.js";import"../../../../../../componentsV2/LoaderLogo/LoaderLogo.constants.js";import"../../../../../../componentsV2/LoaderLogo/LoaderLogo.scss.js";import"../../../../../../utils/getSingleAsset.js";import"../../../../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorChip/AssetSelectorChip.js";import"../../../../../../componentsV2/TextInput/TextInput.js";import"../../../../../../componentsV2/AppHeader/V3/AssetSelector/constants.js";import"../../../../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/AssetSelectorSelect.scss.js";import"../../../../../../componentsV2/ChipIndicator/ChipIndicator.js";import"../../../../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/loadAssets.js";import"../../../../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelector.scss.js";import"../../../../../../clients/subscriptions/constants.js";import"querystring";import"uuid/v1";import"../../../../../../clients/subscriptions.v1.js";import"../../../../../../clients/subscriptions/subscriptions-client.factory.js";import"jsona";import"../../../../../../utils/env.js";import"../../../../../StatusBadge/constants.js";import"lodash/set";import"lodash/get";import"lodash/unset";import"../../../../../../clients/api/apiCore.js";import"../../../../../../clients/constants.js";import"../../../../../../clients/sso/auth0.js";import"../../../../../../clients/sso/oauth2.js";import"../../../../../../clients/api/rateLimiter.js";import"lodash/isEmpty";import"lodash/sortBy";import"../../../../../DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchContext.js";import"../../../../../../componentsV2/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/EmptyState/EmptyState.scss.js";import"../../../../../DevCenter/DevCenterAppContainer/components/DevCenterAppView/components/ChooseAssetButton.js";import"../../../../../DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.scss.js";import"../../../../../DevCenter/DevCenterAppContainer/components/AppActions/AppActions.css.js";import"../../../../../DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.scss.js";import"../../../../../../componentsV2/Grid/Grid.js";import"../../../../../../componentsV2/Grid/Cell.js";import"../../../../../../componentsV2/PopoverPanel/PopoverPanel.js";import"../../../../../../componentsV2/Radio/Radio.js";import"../../../../../../componentsV2/RadioAndCheckboxGroup/RadioAndCheckboxGroup.scss.js";import"../../../../../../componentsV2/Checkbox/Checkbox.js";import"../../../../../../componentsV2/TextInputNext/TextInputNext.js";import"../../../../../../componentsV2/TextArea/TextArea.js";import"../../../../../../componentsV2/Label/Label.js";import"../../../../../../componentsV2/TextLink/TextLink.js";import"../../../../../../componentsV2/ChipAlert/ChipAlert.js";import"../../../../../../componentsV2/Avatar/Avatar.js";import"../../../../../../componentsV2/AvatarGroup/AvatarGroup.js";import"@material-ui/lab";import"../../../../../../componentsV2/ToggleButtons/ToggleButtons.scss.js";import"../../../../../../componentsV2/Paper/Paper.js";import"../../../../../../componentsV2/Hint/Hint.scss.js";import"../../../../../../componentsV2/Counter/Counter.js";import"../../../../../../componentsV2/BadgeBase/BadgeBase.scss.js";import"../../../../../../componentsV2/TemplatesControl/TemplatesControl.js";import"zustand";import"../../../../../../componentsV2/TemplatesControl/utils.js";import"../../../../../../componentsV2/TemplatesControl/icons/folder/index.js";import"../../../../../../componentsV2/TemplatesControl/Store/utils.js";import"../../../../../../componentsV2/TemplatesControl/types.js";import"../../../../../../componentsV2/BadgeDot/BadgeDot.scss.js";import"../../../../../../componentsV2/LoaderLinear/LoaderLinear.scss.js";import"../../../../../../componentsV2/Switch/Switch.js";import"../../../../../../componentsV2/Tabs/Tabs.js";import"../../../../../../componentsV2/FileIcon/FileIcon.js";import"../../../../../../componentsV2/Tag/Tag.js";import"react-dropzone";import"../../../../../../componentsV2/FilesDropzone/FilesDropzone.scss.js";import"../../../../../../componentsV2/FilesLoader/FilesLoader.scss.js";import"file-extension";import"image-extensions";import"video-extensions";import"../../../../../../componentsV2/FilesProcessor/FilesProcessor.scss.js";import"../../../../../../componentsV2/Skeleton/Skeleton.scss.js";import"../../../../../../utils/main.js";import"../../../../../../componentsV2/CopyToClipboard/CopyToClipboard.scss.js";import"../../../../../../componentsV2/Stepper/Step/Step.scss.js";import"../../../../../../componentsV2/Stepper/Stepper.scss.js";import"../../../../../../componentsV2/ButtonLive/ButtonLive.js";import"../../../../../../componentsV2/ButtonText/ButtonText.js";import"../../../../../../componentsV2/IndicatorLive/IndicatorLive.js";import"../../../../../../componentsV2/Breadcrumbs/Breadcrumbs.scss.js";import"../../../../../../componentsV2/BadgeComment/BadgeComment.js";import"../../../../../../componentsV2/AppFooter/AppFooter.js";import"../../../../../../componentsV2/OffsetWellsButton/OffsetWellsButton.js";import"../../../../../../componentsV2/ChartAxisExtreme/ChartAxisExtreme.scss.js";import"highcharts";import"../../../../../../componentsV2/ChartAxisExtreme/ChartAxisExtremeDragTracker.js";import"../../../../../../componentsV2/Autocomplete/Autocomplete.js";import"../../../../../../componentsV2/Select/Select.js";import"../../../../../../componentsV2/AppSettingsDivider/AppSettingsDivider.scss.js";import"../../../../../../componentsV2/WellArchivedMessage/WellArchivedMessage.js";import"../../../../../../componentsV2/DatePicker/DatePicker.js";import"../../../../../../componentsV2/DragHandle/DragHandle.js";import"../../../../../../componentsV2/CompletionsOffsetWellPicker/CompletionsOffsetWellPicker.js";import"../../../../../../componentsV2/Slider/constants.js";import"../../../../../../componentsV2/Slider/components/SliderThumb.js";import"../../../../../../componentsV2/Slider/Slider.scss.js";import"../../../../../../componentsV2/SliderAdvanced/SliderAdvanced.js";import"react-color";import"../../../../../../componentsV2/ColorPicker/Swatches/Swatches.scss.js";import"../../../../../../componentsV2/ColorPicker/OpacityDragtracker/OpacityDragTracker.scss.js";import"../../../../../../componentsV2/ColorPicker/ColorPicker.scss.js";import"../../../../../../componentsV2/ChartHelper/ChartHelper.scss.js";import"../../../../../../componentsV2/Hotkey/Hotkey.js";import"@tanstack/react-query";import"../../../../../../componentsV2/InterventionEventSelector/useInterventionUnitEvents.js";import"../../../../../../componentsV2/InterventionEventSelector/InterventionEventSelector.scss.js";import"../../../../../DevCenter/DevCenterAppContainer/components/FullscreenButton/FullscreenButton.css.js";import"../../../../../Icons/AnnotationIcon.js";import"../../../../../HelpCenter/HelpCenterIcon.js";import"../../../../../DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/RestoreAppSizeButton.css.js";import"../../../../../DevCenter/DevCenterAppContainer/DevCenterAppContainer.scss.js";import"../../../../../Toaster/Toaster.js";import"../../../../../DevCenter/NavigationBar/NavigationBar.js";import"../../../../../DevCenter/SideBar/SideBar.js";import"../../../../../DevCenter/AppSettingsPopover/AppSettingsPopover.js";import"../../../../../DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.js";import"../../../../../DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js";import"../../../../../DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.js";import"../../../../../AssetEditor/index.js";import"../../../../../LoadingIndicator/LoadingIndicator.js";import"../../../../../Typography.js";import"../../../../../RealTimeValuesSidebar/RealTimeSidebar.js";import"../../../../../CollapsableSidebar.js";import r from"../../../../../DateTimePicker/index.js";import"../../../../../DatePicker/index.js";import"../../../../../SlateFormattedText/SlateFormattedText.js";import"../../../../../SlateFormattedText/RenderElements.js";import"slate";import"../../../../../ParameterCharts/ParameterCharts.js";import"../../../../../ParameterCharts/AddEditTrack.js";import"../../../../../ChartActionsList/ChartActionsList.js";import"../../../../../CopyToClipboard/CopyToClipboard.js";import"../../../../../AssetEditor/AssetEditorAutocomplete.js";import"../../../../../AssetEditor/SingleAssetEditor.js";import"../../../../../SettingEditors/ColorEditor/style.css.js";import"../../../../../SettingEditors/DropdownEditor/index.js";import"../../../../../SwitchControl/index.js";import"../../../../../ColorPicker/ColorPicker.js";import"../../../../../Chart/components/ChartButton.js";import"../../../../../Chart/components/ChartButtons.js";import"../../../../../Chart/components/ChartWrapper.js";import"../../../../../Chart/components/AxisDropdown.js";import"../../../../../Chart/components/ChartSelect.js";import"../../../../../Chart/ChartWrapperContext.js";import"../../../../../Chart/effects/useChartModifier.js";import"../../../../../Chart/components/buttons/HideAxesButton.js";import"../../../../../Chart/components/buttons/ChartTypeButton.js";import"../../../../../ColorPicker/PaletteChromePicker/PaletteChromePicker.js";import"../../../../../TruncatedText/index.js";import"../../../../../MiddleTruncatedText/MiddleTruncatedText.js";import"../../../../../RangeSlider/constants.js";import"../../../../../RangeSlider/Input.css.js";import"../../../../../RangeSlider/RangeSlider.css.js";import"../../../../../AdvancedSlider/AdvancedSlider.js";import"../../../../../Breadcrumbs/index.js";import"../../../../../VirtualizedTable/index.js";import"../../../../../EmptyView/EmptyView.js";import"../../../../../EmptyView/EmptyAppView/EmptyAppView.js";import"../../../../../ContextMenuItem/index.js";import"../../../../../FolderMenuItem/index.js";import"../../../../../EditableItem/EditableItem/index.js";import"../../../../../EditableItem/EditableItemWithBadge/index.js";import"../../../../../Checkbox/index.js";import"../../../../../FolderMenuItemWithLinks/index.js";import"../../../../../TextField/index.js";import"../../../../../Chip/index.js";import"../../../../../Counter/index.js";import"../../../../../AnchorsList/AnchorsList.js";import"../../../../../Select/index.js";import"../../../../../Select/SelectFilterBy.js";import"../../../../../CustomSelect/index.js";import"../../../../../Tabs/Tabs.js";import"../../../../../Tabs/Tab.js";import"../../../../../ResizableTable/ResizableTable.js";import"../../../../../GradientPicker/GradientPicker.js";import"@babel/runtime/helpers/classCallCheck";import"@babel/runtime/helpers/createClass";import"../../../../../GradientManager/GradientPreview/GradientPreview.js";import"../../../../../GradientManager/GradientSelect.scss.js";import"../../../../../GradientManager/GradientManager.styles.js";import"../../../../../Drillstring/BHASchematic.js";import"../../../../../Drillstring/BHATable/index.js";import"../../../../../Drillstring/BHAComponentIcon.js";import"../../../../../Drillstring/BHAComponentDetail/index.js";import"../../../../../Drillstring/BHATileIcon.js";import"../../../../../Drillstring/BHATile/BHATile.js";import"../../../../../Drillstring/BHAList/BHAList.js";import"../../../../../Drillstring/BHAComponentsTable/BHAComponentsTable.js";import"../../../../../Casing/CasingTable/index.js";import"../../../../../Casing/CasingComponentIcon.js";import"../../../../../Casing/CasingTileIcon.js";import"../../../../../Casing/CasingTableV2/CasingTableV2.js";import"../../../../../Casing/CasingTile/CasingTile.js";import"../../../../../WellSummary/WellSummaryItemLabel.js";import"../../../../../WellSummary/WellSummaryItemTitle.js";import"../../../../../WellSummary/WellSummaryItemValue.js";import"../../../../../WellSummary/ActivitySummaryChart.js";import"../../../../../WellSummary/FracWirelineTimeChart.js";import"../../../../../BICOffsetPickerDialog/index.js";import"../../../../../OffsetWellButton/OffsetWellButton.js";import"../../../../../OffsetWellPickerV2/OffsetWellPickerDialog.js";import"../../../../../OffsetWellPickerV3/index.js";import"../../../../../OffsetWellChips/Chip.js";import"../../../../../OffsetWellChips/ChipsContainer.js";import"../../../OffsetWellPickerV5WithStore/OffsetWellPickerV5WithStore.js";import"mapbox-gl/dist/mapbox-gl.css";import"@material-ui/icons/Info";import"@material-ui/icons/Block";import"../../../../../OffsetWellMap/WellTooltip.module.css.js";import"../../../../../OffsetWellMap/OffsetWellMap.module.css.js";import"../../../../../../config/mapboxGl/index.js";import"../../../../../../config/mapbox/index.js";import"react-dom";import"@material-ui/core/Snackbar";import"../../../../../Notifications/Toast.js";import"../../../../../Notifications/Notifications.scss.js";import"../../../../../TextLink/index.js";import"../../../../../Avatar/index.js";import"../../../../../Template/TemplatePopover/index.js";import"../../../../../Template/TemplateSharingDialog/index.js";import"../../../../../MenuItem/index.js";import"../../../../../MiddleTruncate/MiddleTruncate.js";import"../../../../../PinnableFilters/PinnableFilters.js";import"../../../../../HeaderLayout/HeaderLayout.js";import"../../../../../PadOffsetsPicker/PadOffsetsPicker.js";import"../../../../../PadOffsetsPicker/OffsetAssetChip.js";import"../../../../../PadOffsetsPicker/OffsetAssetsListExpander.js";import"../../../../../PadOffsetsPicker/StagesSelector.js";import"../../../../../PadOffsetsPickerV2/PadOffsetsPickerV2.js";import"../../../../../Table/TableToolbar/TableToolbar.js";import"../../../../../Table/TableContainer/TableContainer.js";import"../../../../../Table/TableCell/TableCell.js";import"../../../../../Table/TablePagination/TablePagination.js";import"../../../../../Table/TablePaginationActions/TablePaginationActions.js";import"../../../../../Tooltip/ScrollableTooltip.js";import"../../../../../PriceInput/PriceInput.js";import"../../../../../LabelsCounter/LabelsCounter.js";import"../../../../../Stepper/Stepper.js";import"../../../../../Stepper/Step/Step.js";import"../../../../../Stepper/StepsWrapper.js";import"../../../../../Comment/CommentIcon/index.js";import"../../../../../FilesLoader/FilesLoader.js";import"../../../../../../componentsV2/FileIcon/icons/ArchiveFileIcon.js";import"../../../../../../componentsV2/FileIcon/icons/CSVFileIcon.js";import"../../../../../../componentsV2/FileIcon/icons/DocFileIcon.js";import"../../../../../../componentsV2/FileIcon/icons/EDMFileIcon.js";import"../../../../../../componentsV2/FileIcon/icons/ExcelFileIcon.js";import"../../../../../../componentsV2/FileIcon/icons/ImageFileIcon.js";import"../../../../../../componentsV2/FileIcon/icons/JsonFileIcon.js";import"../../../../../../componentsV2/FileIcon/icons/LasFileIcon.js";import"../../../../../../componentsV2/FileIcon/icons/OtherFileIcon.js";import"../../../../../../componentsV2/FileIcon/icons/PdfFileIcon.js";import"../../../../../../componentsV2/FileIcon/icons/PowerPointFileIcon.js";import"../../../../../../componentsV2/FileIcon/icons/TxtFileIcon.js";import"../../../../../../componentsV2/FileIcon/icons/UnknownFileIcon.js";import"../../../../../../componentsV2/FileIcon/icons/VideoFileIcon.js";import"../../../../../../componentsV2/FileIcon/icons/XmlFileIcon.js";import"../../../../../SearchInput/index.js";import"../../../../../FeedItem/FeedItem.js";import"../../../../../FeedItem/FeedItemEditProvider/FeedItemEditProvider.js";import"../../../../../PostInput/PostInput.js";import"../../../../../KeyboardDateTimePicker.js";import"../../../../../AddComment/Popover.js";import"../../../../../AddComment/Popup.js";import"../../../../../StageDesignVActual/ComparisonBar/ComparisonBar.js";import"../../../../../StageDesignVActual/ElementsComparison/ElementsComparison.js";import"../../../../../StageDesignVActual/ComparisonHeader.js";import"../../../../../StageDesignVActual/ComparisonRow.js";import"../../../../../EmbeddedApp/DevCenterEmbeddedApp.js";import"../../../../../EmbeddedApp/EmbeddedApp.js";import"../../../../../Autocomplete/Autocomplete.js";import"../../../../../DocumentViewer/DocumentViewer.js";import"../../../../../ColorPickerPalette/ColorPickerPalette.js";import"../../../../../Search/Search.js";import"../../../../../Search/components/Listbox.js";import"../../../../../Search/components/Paper.js";import"../../../../../Search/components/RecentSearches.js";import"../../../../../Search/components/Groups.js";import"../../../../../Search/components/SelectAllListItem.js";import"../../../../../StatusBadge/index.js";import"../../../../../Attachment/index.js";import"../../../../../EmojiIconButton.js";import"../../../../../FileUploadIconButton.js";import"../../../../../FilePreview/index.js";import"../../../../../FailedFileUploading.js";import"../../../../../UserMention/index.js";import"../../../../../CommentsInfo/index.js";import"../../../../../CommentInput/index.js";import"../../../../../Comment/index.js";import"../../../../../CommentLoader.js";import"../../../../../AssetNameLabel/AssetStatusBadge.js";import"../../../../../AssetEditorV2/components/PrimaryAssetSelect.js";import"../../../../../AssetEditorV2/components/SecondaryAssetSelect.js";import"../../../../../AssetEditorV2/components/SelectItem.js";import"../../../../../AssetEditorV2/components/MultipleAssetsToggle.js";import"../../../../../AssetEditorV2/components/PrimaryAssetSelectV2.js";import"../../../../../EChartsWrapper/EChartsWrapper.js";import"../../../../../AssetsMultipleSelector/AssetsMultipleSelector.js";import"@material-ui/icons/Close";import"@material-ui/icons/GetApp";import"../../../../../GoogleDocsViewer/index.js";import"../../../../../NewDocumentViewer/effects/useFileContent.js";import"../../../../../NewDocumentViewer/styles.js";import"../../../../../FilesLoaderV2/styles.js";import"../../../../../FilesDropzone/styles.js";import"../../../../../FilesProcessor/styles.js";import"../../../../../Hint/styles.js";import"@babel/runtime/helpers/taggedTemplateLiteral";import"fparser";import"../../../../../Formula/useFormulaStyles.js";import"../../../../../Formula/RootXIcon.js";import"../../../../../Formula/FormulaTextEditor.js";import"../../../../../Formula/CloseSuggestion.js";import"../../../../../Formula/SuggestionsMenu.js";import"../../../../../CommentCard/CommentCard.js";import"@material-ui/icons/AlternateEmail";import"../../../../../AttachFileButton/AttachFileButton.scss.js";import"../../../../../CommentInputNext/CommentInputNext.js";import"../../../../../UserMention/utils/index.js";import"react-s3-uploader/s3upload";import"../../../../../CommentComposer/CommentMetaLine.scss.js";import"../../../../../CommentComposer/ChatChannelSelector.scss.js";import"../../../../../CommentComposer/ShareToChatRow.scss.js";import"../../../../../CommentComposer/CommentComposer.scss.js";import"../../../../../AttachmentPreview/AttachmentPreview.js";import"../../../../../AttachmentPreview/AttachmentImage.js";import"../../../../../AttachmentPreview/AttachmentPreview.scss.js";import"../../../../../CommentPin/CommentPin.js";import"../../../../../FeedCard/FeedCard.js";import"../../../../../FeedItemCard/FeedItemCard.js";import"../../../../../NewCommentCursor/NewCommentCursor.js";import"../../../../../LinkedText/LinkedText.js";import"../../../../../FeedItem/feedItemTypes/AlertFeedItem.js";import"../../../../../FeedItem/feedItemTypes/PostFeedItem.js";import"../../../../../FeedItem/feedItemTypes/GeosteeringFeedItem.js";import"../../../../../FeedItem/feedItemTypes/DrillingOperationalNoteFeedItem.js";import"../../../../../FeedItem/feedItemTypes/DrillingOperationSummaryFeedItem.js";import"../../../../../FeedItem/feedItemTypes/DrillingDailyCostFeedItem.js";import"../../../../../FeedItem/feedItemTypes/DocumentFeedItem.js";import"../../../../../FeedItem/feedItemTypes/DrillerMemoFeedItem.js";import"../../../../../FeedItem/feedItemTypes/NptFeedItem.js";import"../../../../../FeedItem/feedItemTypes/SurveyStationFeedItem/index.js";import"../../../../../FeedItem/feedItemTypes/LessonsLearnedFeedItem/index.js";import"../../../../../FeedItem/feedItemTypes/TracesMemoFeedItem.js";import"../../../../../FeedItem/feedItemTypes/DepthCommentFeedItem.js";import"../../../../../FeedItem/feedItemTypes/CompletionOperationalNoteFeedItem.js";import"../../../../../FeedItem/feedItemTypes/CompletionOperationSummaryFeedItem.js";import"../../../../../FeedItem/feedItemTypes/CompletionDailyCostFeedItem.js";import"../../../../../FeedItem/feedItemTypes/CompletionDocumentFeedItem.js";import"../../../../../FeedItem/feedItemTypes/CompletionNptFeedItem.js";import"../../../../../FeedItem/feedItemTypes/StageOverviewFeedItem/index.js";import"../../../../../FeedItem/feedItemTypes/AppAnnotationFeedItem/index.js";import"../../../../../FeedItem/feedItemTypes/WellPlanFeedItem/index.js";import"../../../../../FeedItem/feedItemTypes/FluidReportFeedItem.js";import"../../../../../FeedItem/feedItemTypes/BhaFeedItem/BhaFeedItem.js";import"../../../../../FeedItem/feedItemTypes/DvDCommentFeedItem.js";import"../../../../../FeedItem/feedItemTypes/PCCommentFeedItem.js";import"../../../../../FeedItem/feedItemTypes/HookloadCommentFeedItem.js";import"../../../../../FeedItem/feedItemTypes/NptLessonsCommentFeedItem.js";import"../../../../../FeedItem/feedItemTypes/GenericDataCommentFeedItem.js";var p=function(p){var m=p.errors,c=p.onDateChange,a=o((function(e){return e.filters.timeRangeFrom})),l=o((function(e){return e.filters.timeRangeTo}));return s(i,{children:[n("div",{className:t.filterItem,children:n(r,{variant:"inline",label:"Date From",format:"MM/DD/YY HH:mm",value:a?e.unix(a):null,onChange:c("timeRangeFrom"),error:m.timeRangeFrom})}),n("div",{className:t.filterItem,children:n(r,{variant:"inline",label:"Date To",format:"MM/DD/YY HH:mm",value:l?e.unix(l):null,onChange:c("timeRangeTo"),error:m.timeRangeTo})})]})};p.displayName="CustomDateFields";export{p as CustomDateFields};
|
|
2
2
|
//# sourceMappingURL=CustomDateFields.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CustomDateFields.js","sources":["../../../../../../../src/components/OffsetWellPickerV5/components/Filter/components/CustomDateFields/CustomDateFields.tsx"],"sourcesContent":["import moment from 'moment';\n\nimport { useFilterStore } from '../../../../stores/filter-store/useFilterStore';\nimport type { DateErrors } from '../../useFilterHandlers';\n\nimport styles from '../../Filter.module.css';\n\nimport { DateTimePicker } from '~/components';\n\ntype CustomDateFieldsProps = {\n errors: DateErrors;\n onDateChange: (key: 'timeRangeFrom' | 'timeRangeTo') => (date: moment.Moment | null) => void;\n};\n\nexport const CustomDateFields = ({ errors, onDateChange }: CustomDateFieldsProps) => {\n const timeRangeFrom = useFilterStore(state => state.filters.timeRangeFrom);\n const timeRangeTo = useFilterStore(state => state.filters.timeRangeTo);\n\n return (\n <>\n <div className={styles.filterItem}>\n <DateTimePicker\n variant=\"inline\"\n label=\"Date From\"\n format=\"MM/DD/YY HH:mm\"\n value={timeRangeFrom ? moment.unix(timeRangeFrom) : null}\n onChange={onDateChange('timeRangeFrom')}\n error={errors.timeRangeFrom}\n />\n </div>\n <div className={styles.filterItem}>\n <DateTimePicker\n variant=\"inline\"\n label=\"Date To\"\n format=\"MM/DD/YY HH:mm\"\n value={timeRangeTo ? moment.unix(timeRangeTo) : null}\n onChange={onDateChange('timeRangeTo')}\n error={errors.timeRangeTo}\n />\n </div>\n </>\n );\n};\n\nCustomDateFields.displayName = 'CustomDateFields';\n"],"names":["CustomDateFields","_ref","errors","onDateChange","timeRangeFrom","useFilterStore","state","filters","timeRangeTo","_jsxs","_Fragment","children","_jsx","className","styles","filterItem","DateTimePicker","variant","label","format","value","moment","unix","onChange","error","displayName"],"mappings":"
|
|
1
|
+
{"version":3,"file":"CustomDateFields.js","sources":["../../../../../../../src/components/OffsetWellPickerV5/components/Filter/components/CustomDateFields/CustomDateFields.tsx"],"sourcesContent":["import moment from 'moment';\n\nimport { useFilterStore } from '../../../../stores/filter-store/useFilterStore';\nimport type { DateErrors } from '../../useFilterHandlers';\n\nimport styles from '../../Filter.module.css';\n\nimport { DateTimePicker } from '~/components';\n\ntype CustomDateFieldsProps = {\n errors: DateErrors;\n onDateChange: (key: 'timeRangeFrom' | 'timeRangeTo') => (date: moment.Moment | null) => void;\n};\n\nexport const CustomDateFields = ({ errors, onDateChange }: CustomDateFieldsProps) => {\n const timeRangeFrom = useFilterStore(state => state.filters.timeRangeFrom);\n const timeRangeTo = useFilterStore(state => state.filters.timeRangeTo);\n\n return (\n <>\n <div className={styles.filterItem}>\n <DateTimePicker\n variant=\"inline\"\n label=\"Date From\"\n format=\"MM/DD/YY HH:mm\"\n value={timeRangeFrom ? moment.unix(timeRangeFrom) : null}\n onChange={onDateChange('timeRangeFrom')}\n error={errors.timeRangeFrom}\n />\n </div>\n <div className={styles.filterItem}>\n <DateTimePicker\n variant=\"inline\"\n label=\"Date To\"\n format=\"MM/DD/YY HH:mm\"\n value={timeRangeTo ? moment.unix(timeRangeTo) : null}\n onChange={onDateChange('timeRangeTo')}\n error={errors.timeRangeTo}\n />\n </div>\n </>\n );\n};\n\nCustomDateFields.displayName = 'CustomDateFields';\n"],"names":["CustomDateFields","_ref","errors","onDateChange","timeRangeFrom","useFilterStore","state","filters","timeRangeTo","_jsxs","_Fragment","children","_jsx","className","styles","filterItem","DateTimePicker","variant","label","format","value","moment","unix","onChange","error","displayName"],"mappings":"u9hCAcaA,IAAAA,EAAmB,SAAqDC,GAAA,IAAlDC,IAAAA,OAAQC,IAAAA,aACnCC,EAAgBC,GAAe,SAAAC,GAAK,OAAIA,EAAMC,QAAQH,iBACtDI,EAAcH,GAAe,SAAAC,GAAK,OAAIA,EAAMC,QAAQC,eAE1D,OACEC,EAAAC,EAAA,CAAAC,SACE,CAAAC,EAAA,MAAA,CAAKC,UAAWC,EAAOC,WAAWJ,SAChCC,EAACI,EAAc,CACbC,QAAQ,SACRC,MAAM,YACNC,OAAO,iBACPC,MAAOhB,EAAgBiB,EAAOC,KAAKlB,GAAiB,KACpDmB,SAAUpB,EAAa,iBACvBqB,MAAOtB,EAAOE,kBAGlBQ,EAAA,MAAA,CAAKC,UAAWC,EAAOC,WAAWJ,SAChCC,EAACI,EAAc,CACbC,QAAQ,SACRC,MAAM,UACNC,OAAO,iBACPC,MAAOZ,EAAca,EAAOC,KAAKd,GAAe,KAChDe,SAAUpB,EAAa,eACvBqB,MAAOtB,EAAOM,kBAKxB,EAEAR,EAAiByB,YAAc"}
|
package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useMapTooltipState.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{useElementSize as o}from"../../../../hooks/useElementSize.js";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/helpers/slicedToArray";import"react";import"geolib";import"lodash/isEqual";import"lodash/throttle";import"../../../../../../utils/index.js";import"../constants.js";import"../../../../../../utils/convert.js";import"@turf/circle";import"@turf/bbox";import"@mapbox/tilebelt";import"@babel/runtime/helpers/toConsumableArray";import"mapbox-gl";import"
|
|
1
|
+
import{useElementSize as o}from"../../../../hooks/useElementSize.js";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/helpers/slicedToArray";import"react";import"geolib";import"lodash/isEqual";import"lodash/throttle";import"../../../../../../utils/index.js";import"../constants.js";import"../../../../../../utils/convert.js";import"@turf/circle";import"@turf/bbox";import"@mapbox/tilebelt";import"@babel/runtime/helpers/toConsumableArray";import"mapbox-gl";import"../utils/getStatusColor.js";import{useTooltip as t}from"./useTooltip.js";import{useTooltipAnchor as e}from"./useTooltipAnchor.js";import"../../../../stores/selection-tool-store/SelectionToolStoreContext.js";import"../../../../stores/selection-tool-store/SelectionToolStoreProvider.js";import"zustand";import"../../../../stores/viewport-store/ViewportStoreContext.js";import"../../../../constants.js";import"../../../../stores/filter-store/FilterStoreContext.js";import"../../../../stores/picker-props-store/PickerPropsStoreContext.js";import"../../../../stores/viewport-store/ViewportStoreProvider.js";import"../../../../stores/view-store/ViewStoreContext.js";var r=function(r){var i,s,l=r.mapRef,p=r.isViewOnly,m=r.isClickable,n=t(),h=n.hoveredWell,u=n.hoveredCluster,a=n.showTooltip,c=n.showClusterTooltip,d=n.hideTooltip,b=o(),j=b.ref,f=b.width,v=b.height,w=e({mapRef:l,coords:null!==(i=null==h?void 0:h.coords)&&void 0!==i?i:null,isSubjectWell:null!==(s=null==h?void 0:h.isSubjectWell)&&void 0!==s&&s,isViewOnly:p,isClickable:m,hintsWidth:f,hintsHeight:v});return{hoveredWell:h,hoveredCluster:u,showTooltip:a,showClusterTooltip:c,hideTooltip:d,hintsRef:j,tooltipAnchor:w.anchor,tooltipOffset:w.offset}};export{r as useMapTooltipState};
|
|
2
2
|
//# sourceMappingURL=useMapTooltipState.js.map
|
package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useMapTooltipState.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useMapTooltipState.js","sources":["../../../../../../../src/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useMapTooltipState.ts"],"sourcesContent":["import { RefObject } from 'react';\nimport type { MapRef } from '@vis.gl/react-mapbox';\n\nimport { useElementSize } from '../../../../hooks/useElementSize';\n\nimport { useTooltip, useTooltipAnchor } from './index';\n\ntype UseMapTooltipStateParams = {\n mapRef: RefObject<MapRef | null>;\n isViewOnly: boolean;\n isClickable: boolean;\n};\n\n// eslint-disable-next-line @typescript-eslint/explicit-function-return-type\nexport const useMapTooltipState = ({\n mapRef,\n isViewOnly,\n isClickable,\n}: UseMapTooltipStateParams) => {\n const { hoveredWell, hoveredCluster, showTooltip, showClusterTooltip, hideTooltip } =\n useTooltip();\n const { ref: hintsRef, width: hintsWidth, height: hintsHeight } = useElementSize();\n const { anchor: tooltipAnchor, offset: tooltipOffset } = useTooltipAnchor({\n mapRef,\n coords: hoveredWell?.coords ?? null,\n isSubjectWell: hoveredWell?.isSubjectWell ?? false,\n isViewOnly,\n isClickable,\n hintsWidth,\n hintsHeight,\n });\n\n return {\n hoveredWell,\n hoveredCluster,\n showTooltip,\n showClusterTooltip,\n hideTooltip,\n hintsRef,\n tooltipAnchor,\n tooltipOffset,\n };\n};\n"],"names":["useMapTooltipState","_ref","_hoveredWell$coords","_hoveredWell$isSubjec","mapRef","isViewOnly","isClickable","_useTooltip","useTooltip","hoveredWell","hoveredCluster","showTooltip","showClusterTooltip","hideTooltip","_useElementSize","useElementSize","hintsRef","ref","hintsWidth","width","hintsHeight","height","_useTooltipAnchor","useTooltipAnchor","coords","isSubjectWell","tooltipAnchor","anchor","tooltipOffset","offset"],"mappings":"
|
|
1
|
+
{"version":3,"file":"useMapTooltipState.js","sources":["../../../../../../../src/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useMapTooltipState.ts"],"sourcesContent":["import { RefObject } from 'react';\nimport type { MapRef } from '@vis.gl/react-mapbox';\n\nimport { useElementSize } from '../../../../hooks/useElementSize';\n\nimport { useTooltip, useTooltipAnchor } from './index';\n\ntype UseMapTooltipStateParams = {\n mapRef: RefObject<MapRef | null>;\n isViewOnly: boolean;\n isClickable: boolean;\n};\n\n// eslint-disable-next-line @typescript-eslint/explicit-function-return-type\nexport const useMapTooltipState = ({\n mapRef,\n isViewOnly,\n isClickable,\n}: UseMapTooltipStateParams) => {\n const { hoveredWell, hoveredCluster, showTooltip, showClusterTooltip, hideTooltip } =\n useTooltip();\n const { ref: hintsRef, width: hintsWidth, height: hintsHeight } = useElementSize();\n const { anchor: tooltipAnchor, offset: tooltipOffset } = useTooltipAnchor({\n mapRef,\n coords: hoveredWell?.coords ?? null,\n isSubjectWell: hoveredWell?.isSubjectWell ?? false,\n isViewOnly,\n isClickable,\n hintsWidth,\n hintsHeight,\n });\n\n return {\n hoveredWell,\n hoveredCluster,\n showTooltip,\n showClusterTooltip,\n hideTooltip,\n hintsRef,\n tooltipAnchor,\n tooltipOffset,\n };\n};\n"],"names":["useMapTooltipState","_ref","_hoveredWell$coords","_hoveredWell$isSubjec","mapRef","isViewOnly","isClickable","_useTooltip","useTooltip","hoveredWell","hoveredCluster","showTooltip","showClusterTooltip","hideTooltip","_useElementSize","useElementSize","hintsRef","ref","hintsWidth","width","hintsHeight","height","_useTooltipAnchor","useTooltipAnchor","coords","isSubjectWell","tooltipAnchor","anchor","tooltipOffset","offset"],"mappings":"unCAcaA,IAAAA,EAAqB,SAIFC,GAAA,IAAAC,EAAAC,EAH9BC,IAAAA,OACAC,IAAAA,WACAC,IAAAA,YAEAC,EACEC,IADMC,IAAAA,YAAaC,IAAAA,eAAgBC,IAAAA,YAAaC,IAAAA,mBAAoBC,IAAAA,YAEtEC,EAAkEC,IAArDC,IAALC,IAAsBC,IAAPC,MAA2BC,IAARC,OAC1CC,EAAyDC,EAAiB,CACxEnB,OAAAA,EACAoB,OAA2B,QAArBtB,EAAEO,eAAAA,EAAae,cAAM,IAAAtB,EAAAA,EAAI,KAC/BuB,cAAyC,QAA5BtB,EAAEM,eAAAA,EAAagB,qBAAa,IAAAtB,GAAAA,EACzCE,WAAAA,EACAC,YAAAA,EACAY,WAAAA,EACAE,YAAAA,IAGF,MAAO,CACLX,YAAAA,EACAC,eAAAA,EACAC,YAAAA,EACAC,mBAAAA,EACAC,YAAAA,EACAG,SAAAA,EACAU,gBAjBMC,OAkBNC,gBAlB6BC,OAoBjC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{useRef as e,useMemo as o,useCallback as i,useEffect as t}from"react";import{useFilterStore as r}from"../../../../stores/filter-store/useFilterStore.js";import"../../../../stores/selection-tool-store/SelectionToolStoreContext.js";import"../../../../stores/selection-tool-store/SelectionToolStoreProvider.js";import"zustand";import{useSelectionToolStore as s}from"../../../../stores/selection-tool-store/useSelectionToolStore.js";import{calculatePolygonCentroid as n}from"../utils/calculatePolygonCentroid.js";import{MapConfig as l}from"../constants.js";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/helpers/slicedToArray";import"geolib";import"lodash/isEqual";import"lodash/throttle";import"../../../../../../utils/index.js";import"../../../../../../utils/convert.js";import"@turf/circle";import"@turf/bbox";import"@mapbox/tilebelt";import"@babel/runtime/helpers/toConsumableArray";import"mapbox-gl";import"
|
|
1
|
+
import{useRef as e,useMemo as o,useCallback as i,useEffect as t}from"react";import{useFilterStore as r}from"../../../../stores/filter-store/useFilterStore.js";import"../../../../stores/selection-tool-store/SelectionToolStoreContext.js";import"../../../../stores/selection-tool-store/SelectionToolStoreProvider.js";import"zustand";import{useSelectionToolStore as s}from"../../../../stores/selection-tool-store/useSelectionToolStore.js";import{calculatePolygonCentroid as n}from"../utils/calculatePolygonCentroid.js";import{MapConfig as l}from"../constants.js";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/helpers/slicedToArray";import"geolib";import"lodash/isEqual";import"lodash/throttle";import"../../../../../../utils/index.js";import"../../../../../../utils/convert.js";import"@turf/circle";import"@turf/bbox";import"@mapbox/tilebelt";import"@babel/runtime/helpers/toConsumableArray";import"mapbox-gl";import"../utils/getStatusColor.js";import{useLassoSelection as a}from"./useLassoSelection.js";import{useLassoKeyboardHandlers as d}from"./useLassoKeyboardHandlers.js";import{useBoxSelection as u}from"./useBoxSelection.js";import{useRadiusDrawing as c}from"./useRadiusDrawing.js";import{useRadiusKeyboardHandlers as p}from"./useRadiusKeyboardHandlers.js";import"../../../../stores/viewport-store/ViewportStoreContext.js";import"../../../../constants.js";import"../../../../stores/picker-props-store/PickerPropsStoreContext.js";import"../../../../stores/viewport-store/ViewportStoreProvider.js";import"../../../../stores/view-store/ViewStoreContext.js";var g=function(e,o,i,t,r,s){return function(n){e(n.map((function(e){return{id:e}})),(function(e){o(e,r),e.added>0&&t.current&&(null==i||i(t.current)),t.current=null}),s)}},m=function(m){var f,h=m.mapRef,w=m.isMapReady,v=m.wells,S=m.offsetWellIds,C=m.subjectWellId,y=m.isViewOnly,R=m.onBatchSelectWells,D=m.onSelectionZoneConfirm,j=m.showSelectionResult,b=null!==(f=r((function(e){var o;return null===(o=e.filters)||void 0===o?void 0:o.selectionMode})))&&void 0!==f?f:"radius",P=r((function(e){var o;return null===(o=e.filters)||void 0===o?void 0:o.polygonCoords})),x=r((function(e){return e.setSelectionMode})),I=r((function(e){return e.setPolygonCoords})),M=s((function(e){return e.mode})),T=s((function(e){return e.setMode})),W="radius"===M,E="lasso"===b,H=e(null),L=o((function(){return g(R,j,D,H,"selected",{override:!0})}),[R,j,D]),A=c({mapRef:h,isActive:W,wells:v,onWellsSelected:L,subjectWellId:C}),V=A.radiusState,B=A.radiusMiles,k=A.setRadiusMiles,U=A.previewCircle,K=A.isHoveringEdge,q=A.isHoveringInside,z=A.isDragging,F=A.handlers,O=A.confirm,Z=A.cancel,G=function(e,o,t,r,s,n){return{handleLassoToggle:i((function(){e?((!t||t.length<3)&&s(void 0),r("radius")):(o&&n("none"),r("lasso"))}),[e,o,t,r,s,n]),handleRadiusToggle:i((function(){o?n("none"):(e&&r("radius"),n("radius"))}),[o,e,n,r])}}(E,W,P,x,I,T),J=G.handleLassoToggle,N=G.handleRadiusToggle,Q=o((function(){return g(R,j,D,H,"selected",{override:!0})}),[R,j,D]),X=a({mapRef:h,isActive:E,isMapReady:w,hasInitialPolygon:!!(P&&P.length>=3),onPolygonChange:I,wellsLayerId:l.LayerIds.Wells,wells:v,onWellsSelected:Q,onDeactivate:function(){return x("radius")},subjectWellId:C}),Y=X.lassoState,$=X.isDrawing,_=X.drawingPointCount,ee=X.isEditingPolygon,oe=X.isEditingVertices,ie=X.drawRef,te=X.handleDrawCreate,re=X.handleDrawUpdate,se=X.handleDrawDelete,ne=X.handleModeChange,le=X.handleSelectionChange,ae=X.discardDrawing,de=X.completeDrawing,ue=X.deletePolygon,ce=X.confirm;d({isLassoActive:E,isDrawing:$,drawingPointCount:_,isEditingPolygon:ee,discardDrawing:ae,completeDrawing:de,deletePolygon:ue});var pe=u({mapRef:h,isEnabled:!y&&w&&!$&&!ee&&!oe,wells:v,offsetWellIds:S,subjectWellId:C,onBatchSelectWells:R,onSelectionComplete:j}),ge=pe.boxState,me=pe.wellsInBoxCount,fe=pe.isShiftHeld,he=pe.shouldSuppressClickRef,we=o((function(){return W&&"idle"!==V.phase||E&&($||"idle"!==Y.phase)}),[W,V.phase,E,$,Y.phase]);return function(e,o,r,s,l,a,d){var u=i((function(){"confirming"===e.phase&&(d.current={type:"radius",radius:e.radiusMiles,center:e.center}),r()}),[r,e,d]),c=i((function(){if("confirming"===o.phase){var e=o.polygon;if(e.length>=3){var i=n(e);i&&(d.current={type:"polygon",polygonCoords:e,center:i})}}s()}),[s,o,d]);p({isRadiusActive:a,radiusPhase:e.phase,cancel:l}),t((function(){"confirming"===e.phase&&u()}),[e.phase,u]),t((function(){"confirming"===o.phase&&c()}),[o.phase,c])}(V,Y,O,ce,Z,W,H),{isRadiusToolActive:W,isLassoActive:E,isUserDrawing:we,hasValidPolygon:!!(P&&P.length>=3),radiusState:V,drawingRadiusMiles:B,setDrawingRadiusMiles:k,radiusDrawingPreviewCircle:U,isRadiusHoveringEdge:K,isRadiusHoveringInside:q,isRadiusDrawingDragging:z,radiusDrawingHandlers:F,cancelRadius:Z,showRadiusInput:W&&("drawing"===V.phase||"confirming"===V.phase),lassoState:Y,isDrawing:$,drawingPointCount:_,isEditingPolygon:ee,isEditingVertices:oe,drawRef:ie,handleDrawCreate:te,handleDrawUpdate:re,handleDrawDelete:se,handleModeChange:ne,handleSelectionChange:le,polygonCoords:P,boxState:ge,wellsInBoxCount:me,isShiftHeld:fe,shouldSuppressClickRef:he,handleLassoToggle:J,handleRadiusToggle:N}};export{m as useSelectionToolOrchestration};
|
|
2
2
|
//# sourceMappingURL=useSelectionToolOrchestration.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useSelectionToolOrchestration.js","sources":["../../../../../../../src/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useSelectionToolOrchestration.ts"],"sourcesContent":["import { useCallback, useEffect, useMemo, useRef, RefObject, MutableRefObject } from 'react';\nimport type { MapRef } from '@vis.gl/react-mapbox';\n\nimport type { OffsetWell } from '../../../../OffsetWellPickerV5.types';\nimport type { SelectionZone } from '../../../../types/SelectionZone';\nimport type { RadiusState, LassoState } from '../../../../stores/selection-tool-store/types';\nimport { useFilterStore } from '../../../../stores/filter-store/useFilterStore';\nimport { useSelectionToolStore } from '../../../../stores/selection-tool-store';\nimport { calculatePolygonCentroid } from '../utils/calculatePolygonCentroid';\nimport { MapConfig } from '../constants';\n\nimport {\n useLassoSelection,\n useLassoKeyboardHandlers,\n useRadiusDrawing,\n useRadiusKeyboardHandlers,\n useBoxSelection,\n} from './index';\n\ntype BatchSelectResult = { attempted: number; added: number };\n\ntype UseSelectionToolOrchestrationParams = {\n mapRef: RefObject<MapRef | null>;\n isMapReady: boolean;\n wells: OffsetWell[];\n offsetWellIds: number[];\n subjectWellId: number | null;\n isViewOnly: boolean;\n onBatchSelectWells: (\n wells: { id: number }[],\n onComplete?: (result: BatchSelectResult) => void,\n options?: { override?: boolean }\n ) => void;\n onSelectionZoneConfirm?: (zone: SelectionZone) => void;\n showSelectionResult: (result: BatchSelectResult, action?: 'added' | 'selected') => void;\n};\n\nconst createBatchSelectHandler =\n (\n onBatchSelectWells: UseSelectionToolOrchestrationParams['onBatchSelectWells'],\n showSelectionResult: UseSelectionToolOrchestrationParams['showSelectionResult'],\n onSelectionZoneConfirm: ((zone: SelectionZone) => void) | undefined,\n pendingSelectionZoneRef: MutableRefObject<SelectionZone | null>,\n action?: 'added' | 'selected',\n options?: { override?: boolean }\n ) =>\n (wellIds: number[]) => {\n onBatchSelectWells(\n wellIds.map(id => ({ id })),\n result => {\n showSelectionResult(result, action);\n if (result.added > 0 && pendingSelectionZoneRef.current) {\n onSelectionZoneConfirm?.(pendingSelectionZoneRef.current);\n }\n // eslint-disable-next-line no-param-reassign\n pendingSelectionZoneRef.current = null;\n },\n options\n );\n };\n\nconst useSelectionToggleHandlers = (\n isLassoActive: boolean,\n isRadiusToolActive: boolean,\n polygonCoords: { latitude: number; longitude: number }[] | undefined,\n setSelectionMode: (mode: 'radius' | 'lasso') => void,\n setPolygonCoords: (coords: { latitude: number; longitude: number }[] | undefined) => void,\n setToolMode: (mode: 'none' | 'radius' | 'lasso') => void\n) => {\n const handleLassoToggle = useCallback(() => {\n if (isLassoActive) {\n if (!polygonCoords || polygonCoords.length < 3) setPolygonCoords(undefined);\n setSelectionMode('radius');\n } else {\n if (isRadiusToolActive) setToolMode('none');\n setSelectionMode('lasso');\n }\n }, [\n isLassoActive,\n isRadiusToolActive,\n polygonCoords,\n setSelectionMode,\n setPolygonCoords,\n setToolMode,\n ]);\n\n const handleRadiusToggle = useCallback(() => {\n if (isRadiusToolActive) {\n setToolMode('none');\n } else {\n if (isLassoActive) setSelectionMode('radius');\n setToolMode('radius');\n }\n }, [isRadiusToolActive, isLassoActive, setToolMode, setSelectionMode]);\n\n return { handleLassoToggle, handleRadiusToggle };\n};\n\nconst useAutoConfirmSelection = (\n radiusState: RadiusState,\n lassoState: LassoState,\n confirmRadius: () => void,\n confirmLasso: () => void,\n cancelRadius: () => void,\n isRadiusToolActive: boolean,\n pendingSelectionZoneRef: MutableRefObject<SelectionZone | null>\n): void => {\n const handleConfirmRadius = useCallback(() => {\n if (radiusState.phase === 'confirming') {\n // eslint-disable-next-line no-param-reassign\n pendingSelectionZoneRef.current = {\n type: 'radius',\n radius: radiusState.radiusMiles,\n center: radiusState.center,\n };\n }\n confirmRadius();\n }, [confirmRadius, radiusState, pendingSelectionZoneRef]);\n\n const handleConfirmLasso = useCallback(() => {\n if (lassoState.phase === 'confirming') {\n const { polygon } = lassoState;\n if (polygon.length >= 3) {\n const centroid = calculatePolygonCentroid(polygon);\n if (centroid) {\n // eslint-disable-next-line no-param-reassign\n pendingSelectionZoneRef.current = {\n type: 'polygon',\n polygonCoords: polygon,\n center: centroid,\n };\n }\n }\n }\n confirmLasso();\n }, [confirmLasso, lassoState, pendingSelectionZoneRef]);\n\n useRadiusKeyboardHandlers({\n isRadiusActive: isRadiusToolActive,\n radiusPhase: radiusState.phase,\n cancel: cancelRadius,\n });\n\n useEffect(() => {\n if (radiusState.phase === 'confirming') handleConfirmRadius();\n }, [radiusState.phase, handleConfirmRadius]);\n\n useEffect(() => {\n if (lassoState.phase === 'confirming') handleConfirmLasso();\n }, [lassoState.phase, handleConfirmLasso]);\n};\n\nexport const useSelectionToolOrchestration = ({\n mapRef,\n isMapReady,\n wells,\n offsetWellIds,\n subjectWellId,\n isViewOnly,\n onBatchSelectWells,\n onSelectionZoneConfirm,\n showSelectionResult,\n}: UseSelectionToolOrchestrationParams) => {\n const selectionMode = useFilterStore(state => state.filters?.selectionMode) ?? 'radius';\n const polygonCoords = useFilterStore(state => state.filters?.polygonCoords);\n const setSelectionMode = useFilterStore(state => state.setSelectionMode);\n const setPolygonCoords = useFilterStore(state => state.setPolygonCoords);\n\n const toolMode = useSelectionToolStore(state => state.mode);\n const setToolMode = useSelectionToolStore(state => state.setMode);\n const isRadiusToolActive = toolMode === 'radius';\n const isLassoActive = selectionMode === 'lasso';\n const pendingSelectionZoneRef = useRef<SelectionZone | null>(null);\n\n const handleRadiusWellsSelected = useMemo(\n () =>\n createBatchSelectHandler(\n onBatchSelectWells,\n showSelectionResult,\n onSelectionZoneConfirm,\n pendingSelectionZoneRef,\n 'selected',\n { override: true }\n ),\n [onBatchSelectWells, showSelectionResult, onSelectionZoneConfirm]\n );\n\n const {\n radiusState,\n radiusMiles: drawingRadiusMiles,\n setRadiusMiles: setDrawingRadiusMiles,\n previewCircle: radiusDrawingPreviewCircle,\n isHoveringEdge: isRadiusHoveringEdge,\n isHoveringInside: isRadiusHoveringInside,\n isDragging: isRadiusDrawingDragging,\n handlers: radiusDrawingHandlers,\n confirm: confirmRadius,\n cancel: cancelRadius,\n } = useRadiusDrawing({\n mapRef,\n isActive: isRadiusToolActive,\n wells,\n onWellsSelected: handleRadiusWellsSelected,\n subjectWellId,\n });\n\n const { handleLassoToggle, handleRadiusToggle } = useSelectionToggleHandlers(\n isLassoActive,\n isRadiusToolActive,\n polygonCoords,\n setSelectionMode,\n setPolygonCoords,\n setToolMode\n );\n\n const handleLassoWellsSelected = useMemo(\n () =>\n createBatchSelectHandler(\n onBatchSelectWells,\n showSelectionResult,\n onSelectionZoneConfirm,\n pendingSelectionZoneRef,\n 'selected',\n { override: true }\n ),\n [onBatchSelectWells, showSelectionResult, onSelectionZoneConfirm]\n );\n\n const {\n lassoState,\n isDrawing,\n drawingPointCount,\n isEditingPolygon,\n isEditingVertices,\n drawRef,\n handleDrawCreate,\n handleDrawUpdate,\n handleDrawDelete,\n handleModeChange,\n handleSelectionChange,\n discardDrawing,\n completeDrawing,\n deletePolygon,\n confirm: confirmLasso,\n } = useLassoSelection({\n mapRef,\n isActive: isLassoActive,\n isMapReady,\n hasInitialPolygon: !!(polygonCoords && polygonCoords.length >= 3),\n onPolygonChange: setPolygonCoords,\n wellsLayerId: MapConfig.LayerIds.Wells,\n wells,\n onWellsSelected: handleLassoWellsSelected,\n onDeactivate: () => setSelectionMode('radius'),\n subjectWellId,\n });\n\n useLassoKeyboardHandlers({\n isLassoActive,\n isDrawing,\n drawingPointCount,\n isEditingPolygon,\n discardDrawing,\n completeDrawing,\n deletePolygon,\n });\n\n const { boxState, wellsInBoxCount, isShiftHeld, shouldSuppressClickRef } = useBoxSelection({\n mapRef,\n isEnabled: !isViewOnly && isMapReady && !isDrawing && !isEditingPolygon && !isEditingVertices,\n wells,\n offsetWellIds,\n subjectWellId,\n onBatchSelectWells,\n onSelectionComplete: showSelectionResult,\n });\n\n const isUserDrawing = useMemo(\n () =>\n (isRadiusToolActive && radiusState.phase !== 'idle') ||\n (isLassoActive && (isDrawing || lassoState.phase !== 'idle')),\n [isRadiusToolActive, radiusState.phase, isLassoActive, isDrawing, lassoState.phase]\n );\n\n useAutoConfirmSelection(\n radiusState,\n lassoState,\n confirmRadius,\n confirmLasso,\n cancelRadius,\n isRadiusToolActive,\n pendingSelectionZoneRef\n );\n\n return {\n isRadiusToolActive,\n isLassoActive,\n isUserDrawing,\n hasValidPolygon: !!(polygonCoords && polygonCoords.length >= 3),\n radiusState,\n drawingRadiusMiles,\n setDrawingRadiusMiles,\n radiusDrawingPreviewCircle,\n isRadiusHoveringEdge,\n isRadiusHoveringInside,\n isRadiusDrawingDragging,\n radiusDrawingHandlers,\n cancelRadius,\n showRadiusInput:\n isRadiusToolActive && (radiusState.phase === 'drawing' || radiusState.phase === 'confirming'),\n lassoState,\n isDrawing,\n drawingPointCount,\n isEditingPolygon,\n isEditingVertices,\n drawRef,\n handleDrawCreate,\n handleDrawUpdate,\n handleDrawDelete,\n handleModeChange,\n handleSelectionChange,\n polygonCoords,\n boxState,\n wellsInBoxCount,\n isShiftHeld,\n shouldSuppressClickRef,\n handleLassoToggle,\n handleRadiusToggle,\n };\n};\n"],"names":["createBatchSelectHandler","onBatchSelectWells","showSelectionResult","onSelectionZoneConfirm","pendingSelectionZoneRef","action","options","wellIds","map","id","result","added","current","useSelectionToolOrchestration","_ref","_useFilterStore","mapRef","isMapReady","wells","offsetWellIds","subjectWellId","isViewOnly","selectionMode","useFilterStore","state","_state$filters","filters","polygonCoords","_state$filters2","setSelectionMode","setPolygonCoords","toolMode","useSelectionToolStore","mode","setToolMode","setMode","isRadiusToolActive","isLassoActive","useRef","handleRadiusWellsSelected","useMemo","override","_useRadiusDrawing","useRadiusDrawing","isActive","onWellsSelected","radiusState","drawingRadiusMiles","radiusMiles","setDrawingRadiusMiles","setRadiusMiles","radiusDrawingPreviewCircle","previewCircle","isRadiusHoveringEdge","isHoveringEdge","isRadiusHoveringInside","isHoveringInside","isRadiusDrawingDragging","isDragging","radiusDrawingHandlers","handlers","confirmRadius","confirm","cancelRadius","cancel","_useSelectionToggleHa","handleLassoToggle","useCallback","length","undefined","handleRadiusToggle","useSelectionToggleHandlers","handleLassoWellsSelected","_useLassoSelection","useLassoSelection","hasInitialPolygon","onPolygonChange","wellsLayerId","MapConfig","LayerIds","Wells","onDeactivate","lassoState","isDrawing","drawingPointCount","isEditingPolygon","isEditingVertices","drawRef","handleDrawCreate","handleDrawUpdate","handleDrawDelete","handleModeChange","handleSelectionChange","discardDrawing","completeDrawing","deletePolygon","confirmLasso","useLassoKeyboardHandlers","_useBoxSelection","useBoxSelection","isEnabled","onSelectionComplete","boxState","wellsInBoxCount","isShiftHeld","shouldSuppressClickRef","isUserDrawing","phase","handleConfirmRadius","type","radius","center","handleConfirmLasso","polygon","centroid","calculatePolygonCentroid","useRadiusKeyboardHandlers","isRadiusActive","radiusPhase","useEffect","useAutoConfirmSelection","hasValidPolygon","showRadiusInput"],"mappings":"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"}
|
|
1
|
+
{"version":3,"file":"useSelectionToolOrchestration.js","sources":["../../../../../../../src/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useSelectionToolOrchestration.ts"],"sourcesContent":["import { useCallback, useEffect, useMemo, useRef, RefObject, MutableRefObject } from 'react';\nimport type { MapRef } from '@vis.gl/react-mapbox';\n\nimport type { OffsetWell } from '../../../../OffsetWellPickerV5.types';\nimport type { SelectionZone } from '../../../../types/SelectionZone';\nimport type { RadiusState, LassoState } from '../../../../stores/selection-tool-store/types';\nimport { useFilterStore } from '../../../../stores/filter-store/useFilterStore';\nimport { useSelectionToolStore } from '../../../../stores/selection-tool-store';\nimport { calculatePolygonCentroid } from '../utils/calculatePolygonCentroid';\nimport { MapConfig } from '../constants';\n\nimport {\n useLassoSelection,\n useLassoKeyboardHandlers,\n useRadiusDrawing,\n useRadiusKeyboardHandlers,\n useBoxSelection,\n} from './index';\n\ntype BatchSelectResult = { attempted: number; added: number };\n\ntype UseSelectionToolOrchestrationParams = {\n mapRef: RefObject<MapRef | null>;\n isMapReady: boolean;\n wells: OffsetWell[];\n offsetWellIds: number[];\n subjectWellId: number | null;\n isViewOnly: boolean;\n onBatchSelectWells: (\n wells: { id: number }[],\n onComplete?: (result: BatchSelectResult) => void,\n options?: { override?: boolean }\n ) => void;\n onSelectionZoneConfirm?: (zone: SelectionZone) => void;\n showSelectionResult: (result: BatchSelectResult, action?: 'added' | 'selected') => void;\n};\n\nconst createBatchSelectHandler =\n (\n onBatchSelectWells: UseSelectionToolOrchestrationParams['onBatchSelectWells'],\n showSelectionResult: UseSelectionToolOrchestrationParams['showSelectionResult'],\n onSelectionZoneConfirm: ((zone: SelectionZone) => void) | undefined,\n pendingSelectionZoneRef: MutableRefObject<SelectionZone | null>,\n action?: 'added' | 'selected',\n options?: { override?: boolean }\n ) =>\n (wellIds: number[]) => {\n onBatchSelectWells(\n wellIds.map(id => ({ id })),\n result => {\n showSelectionResult(result, action);\n if (result.added > 0 && pendingSelectionZoneRef.current) {\n onSelectionZoneConfirm?.(pendingSelectionZoneRef.current);\n }\n // eslint-disable-next-line no-param-reassign\n pendingSelectionZoneRef.current = null;\n },\n options\n );\n };\n\nconst useSelectionToggleHandlers = (\n isLassoActive: boolean,\n isRadiusToolActive: boolean,\n polygonCoords: { latitude: number; longitude: number }[] | undefined,\n setSelectionMode: (mode: 'radius' | 'lasso') => void,\n setPolygonCoords: (coords: { latitude: number; longitude: number }[] | undefined) => void,\n setToolMode: (mode: 'none' | 'radius' | 'lasso') => void\n) => {\n const handleLassoToggle = useCallback(() => {\n if (isLassoActive) {\n if (!polygonCoords || polygonCoords.length < 3) setPolygonCoords(undefined);\n setSelectionMode('radius');\n } else {\n if (isRadiusToolActive) setToolMode('none');\n setSelectionMode('lasso');\n }\n }, [\n isLassoActive,\n isRadiusToolActive,\n polygonCoords,\n setSelectionMode,\n setPolygonCoords,\n setToolMode,\n ]);\n\n const handleRadiusToggle = useCallback(() => {\n if (isRadiusToolActive) {\n setToolMode('none');\n } else {\n if (isLassoActive) setSelectionMode('radius');\n setToolMode('radius');\n }\n }, [isRadiusToolActive, isLassoActive, setToolMode, setSelectionMode]);\n\n return { handleLassoToggle, handleRadiusToggle };\n};\n\nconst useAutoConfirmSelection = (\n radiusState: RadiusState,\n lassoState: LassoState,\n confirmRadius: () => void,\n confirmLasso: () => void,\n cancelRadius: () => void,\n isRadiusToolActive: boolean,\n pendingSelectionZoneRef: MutableRefObject<SelectionZone | null>\n): void => {\n const handleConfirmRadius = useCallback(() => {\n if (radiusState.phase === 'confirming') {\n // eslint-disable-next-line no-param-reassign\n pendingSelectionZoneRef.current = {\n type: 'radius',\n radius: radiusState.radiusMiles,\n center: radiusState.center,\n };\n }\n confirmRadius();\n }, [confirmRadius, radiusState, pendingSelectionZoneRef]);\n\n const handleConfirmLasso = useCallback(() => {\n if (lassoState.phase === 'confirming') {\n const { polygon } = lassoState;\n if (polygon.length >= 3) {\n const centroid = calculatePolygonCentroid(polygon);\n if (centroid) {\n // eslint-disable-next-line no-param-reassign\n pendingSelectionZoneRef.current = {\n type: 'polygon',\n polygonCoords: polygon,\n center: centroid,\n };\n }\n }\n }\n confirmLasso();\n }, [confirmLasso, lassoState, pendingSelectionZoneRef]);\n\n useRadiusKeyboardHandlers({\n isRadiusActive: isRadiusToolActive,\n radiusPhase: radiusState.phase,\n cancel: cancelRadius,\n });\n\n useEffect(() => {\n if (radiusState.phase === 'confirming') handleConfirmRadius();\n }, [radiusState.phase, handleConfirmRadius]);\n\n useEffect(() => {\n if (lassoState.phase === 'confirming') handleConfirmLasso();\n }, [lassoState.phase, handleConfirmLasso]);\n};\n\nexport const useSelectionToolOrchestration = ({\n mapRef,\n isMapReady,\n wells,\n offsetWellIds,\n subjectWellId,\n isViewOnly,\n onBatchSelectWells,\n onSelectionZoneConfirm,\n showSelectionResult,\n}: UseSelectionToolOrchestrationParams) => {\n const selectionMode = useFilterStore(state => state.filters?.selectionMode) ?? 'radius';\n const polygonCoords = useFilterStore(state => state.filters?.polygonCoords);\n const setSelectionMode = useFilterStore(state => state.setSelectionMode);\n const setPolygonCoords = useFilterStore(state => state.setPolygonCoords);\n\n const toolMode = useSelectionToolStore(state => state.mode);\n const setToolMode = useSelectionToolStore(state => state.setMode);\n const isRadiusToolActive = toolMode === 'radius';\n const isLassoActive = selectionMode === 'lasso';\n const pendingSelectionZoneRef = useRef<SelectionZone | null>(null);\n\n const handleRadiusWellsSelected = useMemo(\n () =>\n createBatchSelectHandler(\n onBatchSelectWells,\n showSelectionResult,\n onSelectionZoneConfirm,\n pendingSelectionZoneRef,\n 'selected',\n { override: true }\n ),\n [onBatchSelectWells, showSelectionResult, onSelectionZoneConfirm]\n );\n\n const {\n radiusState,\n radiusMiles: drawingRadiusMiles,\n setRadiusMiles: setDrawingRadiusMiles,\n previewCircle: radiusDrawingPreviewCircle,\n isHoveringEdge: isRadiusHoveringEdge,\n isHoveringInside: isRadiusHoveringInside,\n isDragging: isRadiusDrawingDragging,\n handlers: radiusDrawingHandlers,\n confirm: confirmRadius,\n cancel: cancelRadius,\n } = useRadiusDrawing({\n mapRef,\n isActive: isRadiusToolActive,\n wells,\n onWellsSelected: handleRadiusWellsSelected,\n subjectWellId,\n });\n\n const { handleLassoToggle, handleRadiusToggle } = useSelectionToggleHandlers(\n isLassoActive,\n isRadiusToolActive,\n polygonCoords,\n setSelectionMode,\n setPolygonCoords,\n setToolMode\n );\n\n const handleLassoWellsSelected = useMemo(\n () =>\n createBatchSelectHandler(\n onBatchSelectWells,\n showSelectionResult,\n onSelectionZoneConfirm,\n pendingSelectionZoneRef,\n 'selected',\n { override: true }\n ),\n [onBatchSelectWells, showSelectionResult, onSelectionZoneConfirm]\n );\n\n const {\n lassoState,\n isDrawing,\n drawingPointCount,\n isEditingPolygon,\n isEditingVertices,\n drawRef,\n handleDrawCreate,\n handleDrawUpdate,\n handleDrawDelete,\n handleModeChange,\n handleSelectionChange,\n discardDrawing,\n completeDrawing,\n deletePolygon,\n confirm: confirmLasso,\n } = useLassoSelection({\n mapRef,\n isActive: isLassoActive,\n isMapReady,\n hasInitialPolygon: !!(polygonCoords && polygonCoords.length >= 3),\n onPolygonChange: setPolygonCoords,\n wellsLayerId: MapConfig.LayerIds.Wells,\n wells,\n onWellsSelected: handleLassoWellsSelected,\n onDeactivate: () => setSelectionMode('radius'),\n subjectWellId,\n });\n\n useLassoKeyboardHandlers({\n isLassoActive,\n isDrawing,\n drawingPointCount,\n isEditingPolygon,\n discardDrawing,\n completeDrawing,\n deletePolygon,\n });\n\n const { boxState, wellsInBoxCount, isShiftHeld, shouldSuppressClickRef } = useBoxSelection({\n mapRef,\n isEnabled: !isViewOnly && isMapReady && !isDrawing && !isEditingPolygon && !isEditingVertices,\n wells,\n offsetWellIds,\n subjectWellId,\n onBatchSelectWells,\n onSelectionComplete: showSelectionResult,\n });\n\n const isUserDrawing = useMemo(\n () =>\n (isRadiusToolActive && radiusState.phase !== 'idle') ||\n (isLassoActive && (isDrawing || lassoState.phase !== 'idle')),\n [isRadiusToolActive, radiusState.phase, isLassoActive, isDrawing, lassoState.phase]\n );\n\n useAutoConfirmSelection(\n radiusState,\n lassoState,\n confirmRadius,\n confirmLasso,\n cancelRadius,\n isRadiusToolActive,\n pendingSelectionZoneRef\n );\n\n return {\n isRadiusToolActive,\n isLassoActive,\n isUserDrawing,\n hasValidPolygon: !!(polygonCoords && polygonCoords.length >= 3),\n radiusState,\n drawingRadiusMiles,\n setDrawingRadiusMiles,\n radiusDrawingPreviewCircle,\n isRadiusHoveringEdge,\n isRadiusHoveringInside,\n isRadiusDrawingDragging,\n radiusDrawingHandlers,\n cancelRadius,\n showRadiusInput:\n isRadiusToolActive && (radiusState.phase === 'drawing' || radiusState.phase === 'confirming'),\n lassoState,\n isDrawing,\n drawingPointCount,\n isEditingPolygon,\n isEditingVertices,\n drawRef,\n handleDrawCreate,\n handleDrawUpdate,\n handleDrawDelete,\n handleModeChange,\n handleSelectionChange,\n polygonCoords,\n boxState,\n wellsInBoxCount,\n isShiftHeld,\n shouldSuppressClickRef,\n handleLassoToggle,\n handleRadiusToggle,\n };\n};\n"],"names":["createBatchSelectHandler","onBatchSelectWells","showSelectionResult","onSelectionZoneConfirm","pendingSelectionZoneRef","action","options","wellIds","map","id","result","added","current","useSelectionToolOrchestration","_ref","_useFilterStore","mapRef","isMapReady","wells","offsetWellIds","subjectWellId","isViewOnly","selectionMode","useFilterStore","state","_state$filters","filters","polygonCoords","_state$filters2","setSelectionMode","setPolygonCoords","toolMode","useSelectionToolStore","mode","setToolMode","setMode","isRadiusToolActive","isLassoActive","useRef","handleRadiusWellsSelected","useMemo","override","_useRadiusDrawing","useRadiusDrawing","isActive","onWellsSelected","radiusState","drawingRadiusMiles","radiusMiles","setDrawingRadiusMiles","setRadiusMiles","radiusDrawingPreviewCircle","previewCircle","isRadiusHoveringEdge","isHoveringEdge","isRadiusHoveringInside","isHoveringInside","isRadiusDrawingDragging","isDragging","radiusDrawingHandlers","handlers","confirmRadius","confirm","cancelRadius","cancel","_useSelectionToggleHa","handleLassoToggle","useCallback","length","undefined","handleRadiusToggle","useSelectionToggleHandlers","handleLassoWellsSelected","_useLassoSelection","useLassoSelection","hasInitialPolygon","onPolygonChange","wellsLayerId","MapConfig","LayerIds","Wells","onDeactivate","lassoState","isDrawing","drawingPointCount","isEditingPolygon","isEditingVertices","drawRef","handleDrawCreate","handleDrawUpdate","handleDrawDelete","handleModeChange","handleSelectionChange","discardDrawing","completeDrawing","deletePolygon","confirmLasso","useLassoKeyboardHandlers","_useBoxSelection","useBoxSelection","isEnabled","onSelectionComplete","boxState","wellsInBoxCount","isShiftHeld","shouldSuppressClickRef","isUserDrawing","phase","handleConfirmRadius","type","radius","center","handleConfirmLasso","polygon","centroid","calculatePolygonCentroid","useRadiusKeyboardHandlers","isRadiusActive","radiusPhase","useEffect","useAutoConfirmSelection","hasValidPolygon","showRadiusInput"],"mappings":"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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"well-markers-utils.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/utils/well-markers-utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"well-markers-utils.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/utils/well-markers-utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAOhD,KAAK,gBAAgB,GAAG;IACtB,WAAW,EAAE,IAAI,EAAE,CAAC;IACpB,eAAe,EAAE,IAAI,EAAE,CAAC;CACzB,CAAC;AAEF,eAAO,MAAM,cAAc,UAClB,IAAI,EAAE,iBACE,MAAM,GAAG,SAAS,oBACf,GAAG,CAAC,MAAM,CAAC,KAC5B,gBAiBF,CAAC;AAEF,eAAO,MAAM,iBAAiB,SACtB,IAAI,eACG,WAAW,GAAG,IAAI,oBACb,GAAG,CAAC,MAAM,CAAC,YACnB,aAAa,eACV,OAAO,KACnB,WAAW,GAAG,IAuChB,CAAC"}
|
package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/utils/well-markers-utils.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{toCoordinates as t}from"../../utils/toCoordinates.js";import{toMapboxCoords as e}from"../../utils/toMapboxCoords.js";import{getStatusColor as o}from"../../utils/getStatusColor.js";import{mapbox as s}from"../../../../../../../utils/index.js";var i=
|
|
1
|
+
import{toCoordinates as t}from"../../utils/toCoordinates.js";import{toMapboxCoords as e}from"../../utils/toMapboxCoords.js";import{getStatusColor as o}from"../../utils/getStatusColor.js";import{mapbox as s}from"../../../../../../../utils/index.js";var i=function(t,e,o){var s=[],i=[];return t.forEach((function(t){t.id!==e&&(t.id&&o.has(t.id)?s.push(t):i.push(t))})),{offsetWells:s,unSelectedWells:i}},l=function(i,l,r,a,u){var n,d=null==i||null===(n=i.topHole)||void 0===n?void 0:n.coordinates;if(!d||!s.isValidCoordinates(d))return null;var p=t(d),f=(null==l?void 0:l.id)===i.id,c=!!i.id&&(r.has(i.id)&&!f),m=c?"selected":"default",h=o({status:i.status,mapStyle:a,state:m,isSubjectWell:f});return{type:"Feature",geometry:{type:"Point",coordinates:e(p)},properties:{id:i.id||0,name:i.name||"",status:i.status||"unknown",totalDepth:i.totalDepth,rigReleaseDate:i.rigReleaseDate,isOffsetWell:c,isSubjectWell:f,isSelected:c?1:0,color:h.fill,strokeColor:u&&h.stroke?h.stroke:null,strokeWidth:u?1:0}}};export{l as createWellFeature,i as partitionWells};
|
|
2
2
|
//# sourceMappingURL=well-markers-utils.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"well-markers-utils.js","sources":["../../../../../../../../src/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/utils/well-markers-utils.ts"],"sourcesContent":["import type { Well, SubjectWell } from '../../OffsetWellMap.types';\nimport type { WellFeature } from '../useWellMarkers';\nimport { MapStyleValue } from '../../constants';\nimport { toCoordinates } from '../../utils/toCoordinates';\nimport { toMapboxCoords } from '../../utils/toMapboxCoords';\nimport { getStatusColor } from '../../utils/getStatusColor';\n\nimport { mapbox } from '~/utils';\n\
|
|
1
|
+
{"version":3,"file":"well-markers-utils.js","sources":["../../../../../../../../src/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/utils/well-markers-utils.ts"],"sourcesContent":["import type { Well, SubjectWell } from '../../OffsetWellMap.types';\nimport type { WellFeature } from '../useWellMarkers';\nimport { MapStyleValue } from '../../constants';\nimport { toCoordinates } from '../../utils/toCoordinates';\nimport { toMapboxCoords } from '../../utils/toMapboxCoords';\nimport { getStatusColor } from '../../utils/getStatusColor';\n\nimport { mapbox } from '~/utils';\n\ntype PartitionedWells = {\n offsetWells: Well[];\n unSelectedWells: Well[];\n};\n\nexport const partitionWells = (\n wells: Well[],\n subjectWellId: number | undefined,\n offsetWellIdsSet: Set<number>\n): PartitionedWells => {\n const offsetWells: Well[] = [];\n const unSelectedWells: Well[] = [];\n\n wells.forEach(well => {\n if (well.id === subjectWellId) {\n return;\n }\n\n if (well.id && offsetWellIdsSet.has(well.id)) {\n offsetWells.push(well);\n } else {\n unSelectedWells.push(well);\n }\n });\n\n return { offsetWells, unSelectedWells };\n};\n\nexport const createWellFeature = (\n well: Well,\n subjectWell: SubjectWell | null,\n offsetWellIdsSet: Set<number>,\n mapStyle: MapStyleValue,\n isSatellite: boolean\n): WellFeature | null => {\n const coordsArray = well?.topHole?.coordinates;\n\n if (!coordsArray || !mapbox.isValidCoordinates(coordsArray)) {\n return null;\n }\n\n const coords = toCoordinates(coordsArray);\n const isWellSubject = subjectWell?.id === well.id;\n const isOffsetWell = well.id ? offsetWellIdsSet.has(well.id) && !isWellSubject : false;\n\n const state = isOffsetWell ? 'selected' : 'default';\n const colorConfig = getStatusColor({\n status: well.status,\n mapStyle,\n state,\n isSubjectWell: isWellSubject,\n });\n\n return {\n type: 'Feature',\n geometry: {\n type: 'Point',\n coordinates: toMapboxCoords(coords),\n },\n properties: {\n id: well.id || 0,\n name: well.name || '',\n status: well.status || 'unknown',\n totalDepth: well.totalDepth,\n rigReleaseDate: well.rigReleaseDate,\n isOffsetWell,\n isSubjectWell: isWellSubject,\n isSelected: isOffsetWell ? 1 : 0,\n color: colorConfig.fill,\n strokeColor: isSatellite && colorConfig.stroke ? colorConfig.stroke : null,\n strokeWidth: isSatellite ? 1 : 0,\n },\n };\n};\n"],"names":["partitionWells","wells","subjectWellId","offsetWellIdsSet","offsetWells","unSelectedWells","forEach","well","id","has","push","createWellFeature","subjectWell","mapStyle","isSatellite","_well$topHole","coordsArray","topHole","coordinates","mapbox","isValidCoordinates","coords","toCoordinates","isWellSubject","isOffsetWell","state","colorConfig","getStatusColor","status","isSubjectWell","type","geometry","toMapboxCoords","properties","name","totalDepth","rigReleaseDate","isSelected","color","fill","strokeColor","stroke","strokeWidth"],"mappings":"wPAcO,IAAMA,EAAiB,SAC5BC,EACAC,EACAC,GAEA,IAAMC,EAAsB,GACtBC,EAA0B,GAchC,OAZAJ,EAAMK,SAAQ,SAAAC,GACRA,EAAKC,KAAON,IAIZK,EAAKC,IAAML,EAAiBM,IAAIF,EAAKC,IACvCJ,EAAYM,KAAKH,GAEjBF,EAAgBK,KAAKH,GAEzB,IAEO,CAAEH,YAAAA,EAAaC,gBAAAA,EACxB,EAEaM,EAAoB,SAC/BJ,EACAK,EACAT,EACAU,EACAC,GACuB,IAAAC,EACjBC,EAAcT,SAAA,QAAAA,EAAAA,EAAMU,eAAN,IAAAF,OAAAR,EAAAQ,EAAeG,YAEnC,IAAKF,IAAgBG,EAAOC,mBAAmBJ,GAC7C,OAAO,KAGT,IAAMK,EAASC,EAAcN,GACvBO,GAAgBX,aAAAA,EAAAA,EAAaJ,MAAOD,EAAKC,GACzCgB,IAAejB,EAAKC,KAAKL,EAAiBM,IAAIF,EAAKC,MAAQe,GAE3DE,EAAQD,EAAe,WAAa,UACpCE,EAAcC,EAAe,CACjCC,OAAQrB,EAAKqB,OACbf,SAAAA,EACAY,MAAAA,EACAI,cAAeN,IAGjB,MAAO,CACLO,KAAM,UACNC,SAAU,CACRD,KAAM,QACNZ,YAAac,EAAeX,IAE9BY,WAAY,CACVzB,GAAID,EAAKC,IAAM,EACf0B,KAAM3B,EAAK2B,MAAQ,GACnBN,OAAQrB,EAAKqB,QAAU,UACvBO,WAAY5B,EAAK4B,WACjBC,eAAgB7B,EAAK6B,eACrBZ,aAAAA,EACAK,cAAeN,EACfc,WAAYb,EAAe,EAAI,EAC/Bc,MAAOZ,EAAYa,KACnBC,YAAa1B,GAAeY,EAAYe,OAASf,EAAYe,OAAS,KACtEC,YAAa5B,EAAc,EAAI,GAGrC"}
|