@corva/ui 3.47.0-1 → 3.47.0-3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs-bundle/components/AddComment/Popover.js +1 -1
- package/cjs-bundle/components/AddComment/Popover.js.map +1 -1
- package/cjs-bundle/components/AddComment/components/Content.js +1 -1
- package/cjs-bundle/components/AddComment/components/Content.js.map +1 -1
- package/cjs-bundle/components/BICOffsetPickerDialog/index.js +1 -1
- package/cjs-bundle/components/BICOffsetPickerDialog/index.js.map +1 -1
- package/cjs-bundle/components/Casing/CasingTableV2/components/CasingJoints/Editor.js +1 -1
- package/cjs-bundle/components/Casing/CasingTableV2/components/CasingJoints/Editor.js.map +1 -1
- package/cjs-bundle/components/Casing/CasingTableV2/components/Component.js +1 -1
- package/cjs-bundle/components/Casing/CasingTableV2/components/Component.js.map +1 -1
- package/cjs-bundle/components/Casing/CasingTableV2/components/DrillPipe/Editor.js +1 -1
- package/cjs-bundle/components/Casing/CasingTableV2/components/DrillPipe/Editor.js.map +1 -1
- package/cjs-bundle/components/CollapsableSidebar.js +1 -1
- package/cjs-bundle/components/CollapsableSidebar.js.map +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js.map +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.js +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.js +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.js +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.js.map +1 -1
- package/cjs-bundle/components/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/FeedItem/FeedItem.js +1 -1
- package/cjs-bundle/components/FeedItem/FeedItem.js.map +1 -1
- package/cjs-bundle/components/FeedItem/components/FeedComments.js +1 -1
- package/cjs-bundle/components/FeedItem/components/FeedComments.js.map +1 -1
- package/cjs-bundle/components/ImageViewer/index.js +1 -1
- package/cjs-bundle/components/ImageViewer/index.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js.map +1 -1
- package/cjs-bundle/components/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/Table/MetricsAddMenu.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/index.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/index.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/index.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/index.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/WellHubView/index.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/WellHubView/index.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/OffsetWellPickerV5.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/OffsetWellPickerV5.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/OffsetWellPickerV5WithStore.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/AppHeader/AppHeader.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/AppHeader/AppHeader.module.css.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/AppHeader/LoadAllWellsToggle.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/CustomInfoIcon/CustomInfoIcon.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/CustomInfoIcon/CustomInfoIcon.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/Filter.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/MultiFilterSelect/MultiFilterSelect.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/PeriodFilterSelect/PeriodFilterSelect.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/SingleFilterSelect/SingleFilterSelect.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/StatusFilterSelect/StatusFilterSelect.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/OffsetWellMap.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/ClusterTooltip/ClusterTooltip.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/ClusterTooltip/ClusterTooltip.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/ClusterTooltip/ClusterTooltip.module.css.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/GhostSelectionZone/GhostSelectionZone.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/GhostSelectionZone/constants.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/LayerSwitcher/LayerSwitcher.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapControls/MapControls.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHints.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/constants.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/constants.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useLassoSelection.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useRadiusKeyboardHandlers.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useTooltip.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useWellMarkers.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AssetResultSection.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AssetResultSection.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AutoCompleteAssetSearch.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AutoCompleteAssetSearch.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/MetricsSettingMenu.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/MetricsSettingMenu.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/OffsetWellsTableRow.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/OffsetWellsTableRow.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/constants.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/constants.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/effects/cache-utils/formatBytes.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV5/effects/cache-utils/formatBytes.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV5/effects/useAllWells/useAllWells.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/effects/useAllWellsCache/constants.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/effects/useAllWellsCache/useAllWellsCache.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/effects/useBicWells.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/effects/useBicWells.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/effects/useTileCache/constants.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/effects/useTileCache/idle-callback.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/effects/useTileCache/useTileCache.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/effects/useTileCache/useTileCache.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/effects/useViewportWells/useViewportWells.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/stores/company-safeguard/CompanySafeguardContext.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV5/stores/company-safeguard/CompanySafeguardContext.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV5/stores/company-safeguard/useCompanySafeguard.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV5/stores/company-safeguard/useCompanySafeguard.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV5/stores/picker-props-store/PickerPropsStoreProvider.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/stores/view-store/ViewStoreProvider.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/stores/viewport-store/createViewportStore.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/stores/viewport-store/utils/areWellMapsEqual.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV5/stores/viewport-store/utils/areWellMapsEqual.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV5/viewport/ViewType.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV5/viewport/ViewType.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV5/viewport/ViewportContext.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV5/viewport/ViewportContext.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV5/viewport/ViewportProvider.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV5/viewport/ViewportProvider.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV5/viewport/computeViewType.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV5/viewport/computeViewType.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV5/viewport/useViewType.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV5/viewport/useViewType.js.map +1 -0
- 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/Popover/Popover.js +1 -1
- package/cjs-bundle/components/Popper/Popper.js +1 -1
- package/cjs-bundle/components/RealTimeValuesSidebar/SidebarFooter.js +1 -1
- package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/Map/Map.js +1 -1
- package/cjs-bundle/componentsV2/Slider/Slider.js +2 -0
- package/cjs-bundle/componentsV2/Slider/Slider.js.map +1 -0
- package/cjs-bundle/componentsV2/Slider/Slider.scss.js +2 -0
- package/cjs-bundle/componentsV2/Slider/Slider.scss.js.map +1 -0
- package/cjs-bundle/componentsV2/Slider/components/SliderInput.js +2 -0
- package/cjs-bundle/componentsV2/Slider/components/SliderInput.js.map +1 -0
- package/cjs-bundle/componentsV2/Slider/components/SliderThumb.js +2 -0
- package/cjs-bundle/componentsV2/Slider/components/SliderThumb.js.map +1 -0
- package/cjs-bundle/componentsV2/Slider/constants.js +2 -0
- package/cjs-bundle/componentsV2/Slider/constants.js.map +1 -0
- package/cjs-bundle/componentsV2/Slider/strategies/horizontal.js +2 -0
- package/cjs-bundle/componentsV2/Slider/strategies/horizontal.js.map +1 -0
- package/cjs-bundle/componentsV2/Slider/strategies/vertical.js +2 -0
- package/cjs-bundle/componentsV2/Slider/strategies/vertical.js.map +1 -0
- package/cjs-bundle/componentsV2/Slider/utils.js +2 -0
- package/cjs-bundle/componentsV2/Slider/utils.js.map +1 -0
- package/cjs-bundle/componentsV2/Tooltip/Tooltip.js +1 -1
- package/cjs-bundle/componentsV2/WellArchivedMessage/WellArchivedMessage.js +1 -1
- package/cjs-bundle/componentsV2/index.js +1 -1
- package/cjs-bundle/testing/AppTestWrapper/AppTestWrapper.js +1 -1
- package/components/AddComment/Popover.js +1 -1
- package/components/AddComment/Popover.js.map +1 -1
- package/components/AddComment/components/Content.js +1 -1
- package/components/AddComment/components/Content.js.map +1 -1
- package/components/BICOffsetPickerDialog/index.js +1 -1
- package/components/BICOffsetPickerDialog/index.js.map +1 -1
- package/components/Casing/CasingTableV2/components/CasingJoints/Editor.js +1 -1
- package/components/Casing/CasingTableV2/components/CasingJoints/Editor.js.map +1 -1
- package/components/Casing/CasingTableV2/components/Component.js +1 -1
- package/components/Casing/CasingTableV2/components/Component.js.map +1 -1
- package/components/Casing/CasingTableV2/components/DrillPipe/Editor.js +1 -1
- package/components/Casing/CasingTableV2/components/DrillPipe/Editor.js.map +1 -1
- package/components/CollapsableSidebar.js +1 -1
- package/components/CollapsableSidebar.js.map +1 -1
- package/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js.map +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.js.map +1 -1
- package/components/DocumentViewer/DocumentViewer.js +1 -1
- package/components/DocumentViewer/DocumentViewer.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Component.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Component.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js.map +1 -1
- package/components/FeedItem/FeedItem.js +1 -1
- package/components/FeedItem/FeedItem.js.map +1 -1
- package/components/FeedItem/components/FeedComments.js +1 -1
- package/components/FeedItem/components/FeedComments.js.map +1 -1
- package/components/ImageViewer/index.js +1 -1
- package/components/ImageViewer/index.js.map +1 -1
- package/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js +1 -1
- package/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js.map +1 -1
- package/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js +1 -1
- package/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js.map +1 -1
- package/components/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/Table/MetricsAddMenu.js +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js.map +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/index.js +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/index.js.map +1 -1
- package/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js +1 -1
- package/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js.map +1 -1
- package/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js +1 -1
- package/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js.map +1 -1
- package/components/OffsetWellPickerV3/components/TabSelection/index.js +1 -1
- package/components/OffsetWellPickerV3/components/TabSelection/index.js.map +1 -1
- package/components/OffsetWellPickerV3/components/WellHubView/index.js +1 -1
- package/components/OffsetWellPickerV3/components/WellHubView/index.js.map +1 -1
- package/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js +1 -1
- package/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js.map +1 -1
- package/components/OffsetWellPickerV5/OffsetWellPickerV5.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/OffsetWellPickerV5.js +1 -1
- package/components/OffsetWellPickerV5/OffsetWellPickerV5.js.map +1 -1
- package/components/OffsetWellPickerV5/OffsetWellPickerV5WithStore.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/OffsetWellPickerV5WithStore.js +1 -1
- package/components/OffsetWellPickerV5/components/AppHeader/AppHeader.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/AppHeader/AppHeader.js +1 -1
- package/components/OffsetWellPickerV5/components/AppHeader/AppHeader.module.css.js +1 -1
- package/components/OffsetWellPickerV5/components/AppHeader/LoadAllWellsToggle.js +1 -1
- package/components/OffsetWellPickerV5/components/CustomInfoIcon/CustomInfoIcon.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/CustomInfoIcon/CustomInfoIcon.js +1 -1
- package/components/OffsetWellPickerV5/components/CustomInfoIcon/CustomInfoIcon.js.map +1 -1
- package/components/OffsetWellPickerV5/components/Filter/Filter.d.ts +1 -2
- package/components/OffsetWellPickerV5/components/Filter/Filter.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/Filter/Filter.js +1 -1
- package/components/OffsetWellPickerV5/components/Filter/components/MultiFilterSelect/MultiFilterSelect.js +1 -1
- package/components/OffsetWellPickerV5/components/Filter/components/PeriodFilterSelect/PeriodFilterSelect.js +1 -1
- package/components/OffsetWellPickerV5/components/Filter/components/SingleFilterSelect/SingleFilterSelect.js +1 -1
- package/components/OffsetWellPickerV5/components/Filter/components/StatusFilterSelect/StatusFilterSelect.js +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/OffsetWellMap.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/OffsetWellMap.js +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/ClusterTooltip/ClusterTooltip.d.ts +8 -0
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/ClusterTooltip/ClusterTooltip.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/ClusterTooltip/ClusterTooltip.js +2 -0
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/ClusterTooltip/ClusterTooltip.js.map +1 -0
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/ClusterTooltip/ClusterTooltip.module.css.js +2 -0
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/ClusterTooltip/index.d.ts +2 -0
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/ClusterTooltip/index.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/GhostSelectionZone/GhostSelectionZone.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/GhostSelectionZone/GhostSelectionZone.js +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/GhostSelectionZone/constants.d.ts +1 -7
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/GhostSelectionZone/constants.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/GhostSelectionZone/constants.js +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/LayerSwitcher/LayerSwitcher.js +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapControls/MapControls.js +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHints.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHints.js +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/constants.d.ts +6 -2
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/constants.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/constants.js +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/constants.js.map +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useLassoSelection.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useLassoSelection.js +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useRadiusKeyboardHandlers.d.ts +1 -2
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useRadiusKeyboardHandlers.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useRadiusKeyboardHandlers.js +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useTooltip.d.ts +8 -0
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useTooltip.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useTooltip.js +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useWellMarkers.d.ts +1 -5
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useWellMarkers.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useWellMarkers.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AssetResultSection.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AssetResultSection.js.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AutoCompleteAssetSearch.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AutoCompleteAssetSearch.js.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/MetricsSettingMenu.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/MetricsSettingMenu.js.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/OffsetWellsTableRow.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/OffsetWellsTableRow.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/OffsetWellsTableRow.js.map +1 -1
- package/components/OffsetWellPickerV5/constants.d.ts +0 -1
- package/components/OffsetWellPickerV5/constants.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/constants.js +1 -1
- package/components/OffsetWellPickerV5/constants.js.map +1 -1
- package/components/OffsetWellPickerV5/effects/cache-utils/formatBytes.d.ts +2 -0
- package/components/OffsetWellPickerV5/effects/cache-utils/formatBytes.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/effects/cache-utils/formatBytes.js +2 -0
- package/components/OffsetWellPickerV5/effects/cache-utils/formatBytes.js.map +1 -0
- package/components/OffsetWellPickerV5/effects/cache-utils/index.d.ts +3 -0
- package/components/OffsetWellPickerV5/effects/cache-utils/index.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/effects/cache-utils/types.d.ts +21 -0
- package/components/OffsetWellPickerV5/effects/cache-utils/types.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/effects/useAllWells/useAllWells.d.ts +9 -1
- package/components/OffsetWellPickerV5/effects/useAllWells/useAllWells.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/effects/useAllWells/useAllWells.js +1 -1
- package/components/OffsetWellPickerV5/effects/useAllWellsCache/constants.d.ts +5 -1
- package/components/OffsetWellPickerV5/effects/useAllWellsCache/constants.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/effects/useAllWellsCache/constants.js +1 -1
- package/components/OffsetWellPickerV5/effects/useAllWellsCache/types.d.ts +3 -8
- package/components/OffsetWellPickerV5/effects/useAllWellsCache/types.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/effects/useAllWellsCache/useAllWellsCache.d.ts +5 -26
- package/components/OffsetWellPickerV5/effects/useAllWellsCache/useAllWellsCache.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/effects/useAllWellsCache/useAllWellsCache.js +1 -1
- package/components/OffsetWellPickerV5/effects/useBicWells.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/effects/useBicWells.js +1 -1
- package/components/OffsetWellPickerV5/effects/useBicWells.js.map +1 -1
- package/components/OffsetWellPickerV5/effects/useTileCache/constants.d.ts +5 -1
- package/components/OffsetWellPickerV5/effects/useTileCache/constants.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/effects/useTileCache/constants.js +1 -1
- package/components/OffsetWellPickerV5/effects/useTileCache/idle-callback.d.ts +3 -17
- package/components/OffsetWellPickerV5/effects/useTileCache/idle-callback.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/effects/useTileCache/idle-callback.js +1 -1
- package/components/OffsetWellPickerV5/effects/useTileCache/index.d.ts +1 -1
- package/components/OffsetWellPickerV5/effects/useTileCache/index.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/effects/useTileCache/types.d.ts +4 -11
- package/components/OffsetWellPickerV5/effects/useTileCache/types.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/effects/useTileCache/useTileCache.d.ts +6 -76
- package/components/OffsetWellPickerV5/effects/useTileCache/useTileCache.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/effects/useTileCache/useTileCache.js +1 -1
- package/components/OffsetWellPickerV5/effects/useTileCache/useTileCache.js.map +1 -1
- package/components/OffsetWellPickerV5/effects/useViewportWells/useViewportWells.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/effects/useViewportWells/useViewportWells.js +1 -1
- package/components/OffsetWellPickerV5/stores/company-safeguard/CompanySafeguardContext.d.ts +13 -0
- package/components/OffsetWellPickerV5/stores/company-safeguard/CompanySafeguardContext.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/stores/company-safeguard/CompanySafeguardContext.js +2 -0
- package/components/OffsetWellPickerV5/stores/company-safeguard/CompanySafeguardContext.js.map +1 -0
- package/components/OffsetWellPickerV5/stores/company-safeguard/index.d.ts +4 -0
- package/components/OffsetWellPickerV5/stores/company-safeguard/index.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/stores/company-safeguard/useCompanySafeguard.d.ts +3 -0
- package/components/OffsetWellPickerV5/stores/company-safeguard/useCompanySafeguard.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/stores/company-safeguard/useCompanySafeguard.js +2 -0
- package/components/OffsetWellPickerV5/stores/company-safeguard/useCompanySafeguard.js.map +1 -0
- package/components/OffsetWellPickerV5/stores/picker-props-store/PickerPropsStoreProvider.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/stores/picker-props-store/PickerPropsStoreProvider.js +1 -1
- package/components/OffsetWellPickerV5/stores/view-store/ViewStoreProvider.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/stores/view-store/ViewStoreProvider.js +1 -1
- package/components/OffsetWellPickerV5/stores/viewport-store/createViewportStore.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/stores/viewport-store/createViewportStore.js +1 -1
- package/components/OffsetWellPickerV5/stores/viewport-store/utils/areWellMapsEqual.d.ts +2 -0
- package/components/OffsetWellPickerV5/stores/viewport-store/utils/areWellMapsEqual.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/stores/viewport-store/utils/areWellMapsEqual.js +2 -0
- package/components/OffsetWellPickerV5/stores/viewport-store/utils/areWellMapsEqual.js.map +1 -0
- package/components/OffsetWellPickerV5/viewport/ViewType.d.ts +7 -0
- package/components/OffsetWellPickerV5/viewport/ViewType.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/viewport/ViewType.js +2 -0
- package/components/OffsetWellPickerV5/viewport/ViewType.js.map +1 -0
- package/components/OffsetWellPickerV5/viewport/ViewportContext.d.ts +3 -0
- package/components/OffsetWellPickerV5/viewport/ViewportContext.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/viewport/ViewportContext.js +2 -0
- package/components/OffsetWellPickerV5/viewport/ViewportContext.js.map +1 -0
- package/components/OffsetWellPickerV5/viewport/ViewportProvider.d.ts +7 -0
- package/components/OffsetWellPickerV5/viewport/ViewportProvider.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/viewport/ViewportProvider.js +2 -0
- package/components/OffsetWellPickerV5/viewport/ViewportProvider.js.map +1 -0
- package/components/OffsetWellPickerV5/viewport/computeViewType.d.ts +3 -0
- package/components/OffsetWellPickerV5/viewport/computeViewType.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/viewport/computeViewType.js +2 -0
- package/components/OffsetWellPickerV5/viewport/computeViewType.js.map +1 -0
- package/components/OffsetWellPickerV5/viewport/index.d.ts +5 -0
- package/components/OffsetWellPickerV5/viewport/index.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/viewport/useViewType.d.ts +7 -0
- package/components/OffsetWellPickerV5/viewport/useViewType.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/viewport/useViewType.js +2 -0
- package/components/OffsetWellPickerV5/viewport/useViewType.js.map +1 -0
- package/components/PadOffsetsPicker/StagesSelector.js +1 -1
- package/components/PadOffsetsPicker/StagesSelector.js.map +1 -1
- package/components/PadOffsetsPickerV2/PadOffsetsPickerV2.js +1 -1
- package/components/Popover/Popover.js +1 -1
- package/components/Popper/Popper.js +1 -1
- package/components/RealTimeValuesSidebar/SidebarFooter.js +1 -1
- package/componentsV2/CompletionsOffsetWellPicker/Map/Map.js +1 -1
- package/componentsV2/Popper/Popper.d.ts +7 -1
- package/componentsV2/Popper/Popper.d.ts.map +1 -1
- package/componentsV2/Slider/Slider.d.ts +60 -0
- package/componentsV2/Slider/Slider.d.ts.map +1 -0
- package/componentsV2/Slider/Slider.js +2 -0
- package/componentsV2/Slider/Slider.js.map +1 -0
- package/componentsV2/Slider/Slider.scss.js +2 -0
- package/componentsV2/Slider/Slider.scss.js.map +1 -0
- package/componentsV2/Slider/Slider.stories.d.ts +13 -0
- package/componentsV2/Slider/Slider.stories.d.ts.map +1 -0
- package/componentsV2/Slider/components/SliderInput.d.ts +9 -0
- package/componentsV2/Slider/components/SliderInput.d.ts.map +1 -0
- package/componentsV2/Slider/components/SliderInput.js +2 -0
- package/componentsV2/Slider/components/SliderInput.js.map +1 -0
- package/componentsV2/Slider/components/SliderThumb.d.ts +9 -0
- package/componentsV2/Slider/components/SliderThumb.d.ts.map +1 -0
- package/componentsV2/Slider/components/SliderThumb.js +2 -0
- package/componentsV2/Slider/components/SliderThumb.js.map +1 -0
- package/componentsV2/Slider/constants.d.ts +19 -0
- package/componentsV2/Slider/constants.d.ts.map +1 -0
- package/componentsV2/Slider/constants.js +2 -0
- package/componentsV2/Slider/constants.js.map +1 -0
- package/componentsV2/Slider/index.d.ts +2 -0
- package/componentsV2/Slider/index.d.ts.map +1 -0
- package/componentsV2/Slider/strategies/horizontal.d.ts +22 -0
- package/componentsV2/Slider/strategies/horizontal.d.ts.map +1 -0
- package/componentsV2/Slider/strategies/horizontal.js +2 -0
- package/componentsV2/Slider/strategies/horizontal.js.map +1 -0
- package/componentsV2/Slider/strategies/vertical.d.ts +22 -0
- package/componentsV2/Slider/strategies/vertical.d.ts.map +1 -0
- package/componentsV2/Slider/strategies/vertical.js +2 -0
- package/componentsV2/Slider/strategies/vertical.js.map +1 -0
- package/componentsV2/Slider/utils.d.ts +48 -0
- package/componentsV2/Slider/utils.d.ts.map +1 -0
- package/componentsV2/Slider/utils.js +2 -0
- package/componentsV2/Slider/utils.js.map +1 -0
- package/componentsV2/Tooltip/Tooltip.d.ts +3 -1
- package/componentsV2/Tooltip/Tooltip.d.ts.map +1 -1
- package/componentsV2/Tooltip/Tooltip.js +1 -1
- package/componentsV2/Tooltip/Tooltip.stories.d.ts.map +1 -1
- package/componentsV2/WellArchivedMessage/WellArchivedMessage.js +1 -1
- package/componentsV2/index.d.ts +1 -0
- package/componentsV2/index.d.ts.map +1 -1
- package/componentsV2/index.js +1 -1
- package/mcp-server/server.mjs +341 -2
- package/mcp-server/server.mjs.map +1 -1
- package/mcp-server/setup.mjs +1108 -16
- package/package.json +3 -2
- package/storyBookHelpers/components.d.ts +4 -2
- package/storyBookHelpers/components.d.ts.map +1 -1
- package/testing/AppTestWrapper/AppTestWrapper.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/ConfirmationPopup/ConfirmationPopup.js +0 -2
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/ConfirmationPopup/ConfirmationPopup.js.map +0 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/ConfirmationPopup/ConfirmationPopup.module.css.js +0 -2
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useConfirmationPopupPosition.js +0 -2
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useConfirmationPopupPosition.js.map +0 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/ConfirmationPopup/ConfirmationPopup.js +0 -2
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/ConfirmationPopup/ConfirmationPopup.js.map +0 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/ConfirmationPopup/ConfirmationPopup.module.css.js +0 -2
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useConfirmationPopupPosition.js +0 -2
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useConfirmationPopupPosition.js.map +0 -1
- /package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/{ConfirmationPopup/ConfirmationPopup.module.css.js.map → ClusterTooltip/ClusterTooltip.module.css.js.map} +0 -0
- /package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/{ConfirmationPopup/ConfirmationPopup.module.css.js.map → ClusterTooltip/ClusterTooltip.module.css.js.map} +0 -0
|
@@ -1,15 +1,9 @@
|
|
|
1
1
|
export declare const GhostStyles: {
|
|
2
2
|
readonly dark: {
|
|
3
3
|
readonly fill: "rgba(3, 188, 212, 0.08)";
|
|
4
|
-
readonly border: "#03BCD4";
|
|
5
|
-
readonly borderWidth: 1;
|
|
6
|
-
readonly borderDasharray: [number, number];
|
|
7
4
|
};
|
|
8
5
|
readonly satellite: {
|
|
9
|
-
readonly fill: "rgba(255, 193, 7, 0.
|
|
10
|
-
readonly border: "#FFE679";
|
|
11
|
-
readonly borderWidth: 2;
|
|
12
|
-
readonly borderDasharray: [number, number];
|
|
6
|
+
readonly fill: "rgba(255, 193, 7, 0.16)";
|
|
13
7
|
};
|
|
14
8
|
};
|
|
15
9
|
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/GhostSelectionZone/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/GhostSelectionZone/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW;;;;;;;CAOd,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var
|
|
1
|
+
var l={dark:{fill:"rgba(3, 188, 212, 0.08)"},satellite:{fill:"rgba(255, 193, 7, 0.16)"}};export{l as GhostStyles};
|
|
2
2
|
//# sourceMappingURL=constants.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{jsxs as o,jsx as s}from"react/jsx-runtime";import{useState as t,useCallback as e}from"react";import n from"classnames";import i from"./LayerSwitcher.module.css.js";import"../../../../../../../componentsV2/Text/Text.js";import"../../../../../../../componentsV2/Grid/Grid.js";import"../../../../../../../componentsV2/Grid/Cell.js";import"../../../../../../../componentsV2/Header/Header.scss.js";import"../../../../../../../componentsV2/Button/Button.js";import"../../../../../../../componentsV2/ButtonIcon/ButtonIcon.js";import"@material-ui/core";import"../../../../../../DevCenter/DevCenterAppContainer/components/IsInsideIsolatedDcAppProvider/IsInsideIsolatedDcAppProvider.js";import"../../../../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js";import"../../../../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js";import"uuid";import"../../../../../../../componentsV2/Tooltip/Tooltip.scss.js";import{Popover as p}from"../../../../../../../componentsV2/Popover/Popover.js";import"../../../../../../../componentsV2/Radio/Radio.js";import"../../../../../../../componentsV2/RadioAndCheckboxGroup/RadioAndCheckboxGroup.scss.js";import"../../../../../../../componentsV2/Checkbox/Checkbox.js";import"../../../../../../../componentsV2/TextInput/TextInput.js";import"../../../../../../../componentsV2/Label/Label.js";import"lodash";import"../../../../../../../componentsV2/TextEndTruncated/TextEndTruncated.scss.js";import"../../../../../../../componentsV2/TextMiddleTruncated/TextMiddleTruncated.constants.js";import"../../../../../../../componentsV2/TextMiddleTruncated/TextMiddleTruncated.scss.js";import"../../../../../../../componentsV2/TextLink/TextLink.js";import"../../../../../../../componentsV2/Chip/Chip.js";import"../../../../../../../componentsV2/ChipAlert/ChipAlert.js";import"../../../../../../../componentsV2/ChipIndicator/ChipIndicator.js";import"../../../../../../../componentsV2/Avatar/Avatar.js";import"../../../../../../../componentsV2/AvatarGroup/AvatarGroup.js";import"@material-ui/lab";import"../../../../../../../componentsV2/ToggleButtons/ToggleButtons.scss.js";import"../../../../../../../componentsV2/Paper/Paper.js";import"../../../../../../../componentsV2/ModalWindow/ModalWindow.js";import"../../../../../../../componentsV2/Modal/Modal.scss.js";import"../../../../../../../componentsV2/Menu/Menu.js";import{LayersIcon as r}from"../../../../../../../icons/iconParkIcons.js";import"../../../../../../../icons/customIcons/icons/AddMessage.js";import"../../../../../../../icons/customIcons/icons/Attention.js";import"../../../../../../../icons/customIcons/icons/Collapse.js";import"../../../../../../../icons/customIcons/icons/Dashboard.js";import"../../../../../../../icons/customIcons/icons/Expand.js";import"../../../../../../../icons/customIcons/icons/FolderClosed.js";import"../../../../../../../icons/customIcons/icons/FolderClosedFilled.js";import"../../../../../../../icons/customIcons/icons/FolderOpened.js";import"../../../../../../../icons/customIcons/icons/GreaterOrEqual.js";import"../../../../../../../icons/customIcons/icons/LessOrEqual.js";import"../../../../../../../icons/customIcons/icons/Search.js";import"../../../../../../../icons/customIcons/icons/SearchOne.js";import"../../../../../../../icons/customIcons/icons/Wellhub.js";import"../../../../../../../icons/customIcons/icons/MultiRuler.js";import"../../../../../../../icons/customIcons/icons/Checkbox.js";import"../../../../../../../icons/customIcons/icons/CheckboxChecked.js";import"../../../../../../../icons/customIcons/icons/CheckboxIndeterminate.js";import"../../../../../../../icons/customIcons/icons/Radio.js";import"../../../../../../../icons/customIcons/icons/RadioChecked.js";import"../../../../../../../icons/customIcons/icons/SimulFrac.js";import"../../../../../../../icons/customIcons/icons/ZipperFrac.js";import"../../../../../../../icons/customIcons/icons/CautionFilled.js";import"../../../../../../../icons/customIcons/icons/MoreApp.js";import"../../../../../../../icons/customIcons/icons/Pad.js";import"../../../../../../../icons/customIcons/icons/DrilloutUnit.js";import"../../../../../../../icons/customIcons/icons/FracFleet.js";import"../../../../../../../icons/customIcons/icons/Global.js";import"../../../../../../../icons/customIcons/icons/Program.js";import"../../../../../../../icons/customIcons/icons/Rig.js";import"../../../../../../../icons/customIcons/icons/Well.js";import"../../../../../../../icons/customIcons/icons/Gap.js";import"../../../../../../../icons/customIcons/icons/Pin.js";import"../../../../../../../icons/customIcons/icons/CloseOneFilled.js";import"../../../../../../../icons/customIcons/icons/AttentionFilled.js";import"../../../../../../../icons/customIcons/icons/CheckOneFilled.js";import"../../../../../../../icons/customIcons/icons/Archive.js";import"../../../../../../../icons/customIcons/icons/ArchiveCancel.js";import"../../../../../../../icons/customIcons/icons/Unarchive.js";import"../../../../../../../icons/customIcons/icons/Archived.js";import"../../../../../../../icons/customIcons/icons/InterventionUnit.js";import"../../../../../../../icons/customIcons/icons/CloudDelete.js";import"../../../../../../../icons/customIcons/icons/Lasso.js";import"../../../../../../../icons/customIcons/icons/Radius.js";import"../../../../../../../componentsV2/utils.js";import"../../../../../../../componentsV2/Hint/Hint.scss.js";import"../../../../../../../componentsV2/Counter/Counter.js";import"../../../../../../../componentsV2/BadgeBase/BadgeBase.scss.js";import"../../../../../../../componentsV2/TemplatesControl/TemplatesControl.js";import"zustand";import"../../../../../../../componentsV2/TemplatesControl/utils.js";import"../../../../../../../componentsV2/TemplatesControl/icons/folder/index.js";import"../../../../../../../componentsV2/TemplatesControl/Store/utils.js";import"../../../../../../../componentsV2/TemplatesControl/types.js";import"../../../../../../../utils/index.js";import"../../../../../../../clients/jsonApi/index.js";import"../../../../../../../permissions/PermissionsContext.js";import"../../../../../../../permissions/constants/index.js";import"../../../../../../../permissions/withPermissionsHOC.js";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/helpers/slicedToArray";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"../../../../../../../permissions/ProvidePermissions.js";import"../../../../../../../componentsV2/BadgeDot/BadgeDot.scss.js";import"../../../../../../../componentsV2/LoaderLinear/LoaderLinear.scss.js";import"../../../../../../../componentsV2/LoaderLogo/LoaderLogo.constants.js";import"../../../../../../../componentsV2/LoaderLogo/LoaderLogo.scss.js";import"../../../../../../../componentsV2/Switch/Switch.js";import"../../../../../../../componentsV2/Tabs/Tabs.js";import"../../../../../../../componentsV2/EmptyState/EmptyState.scss.js";import"../../../../../../../componentsV2/FileIcon/FileIcon.js";import"../../../../../../../componentsV2/Tag/Tag.js";import"react-dropzone";import"../../../../../../../componentsV2/FilesDropzone/FilesDropzone.scss.js";import"../../../../../../../componentsV2/FilesLoader/FilesLoader.scss.js";import"../../../../../../../componentsV2/FilesProcessor/FilesProcessor.scss.js";import"../../../../../../../componentsV2/Skeleton/Skeleton.scss.js";import"../../../../../../../utils/main.js";import"../../../../../../../componentsV2/CopyToClipboard/CopyToClipboard.scss.js";import"../../../../../../../componentsV2/Stepper/Step/Step.scss.js";import"../../../../../../../componentsV2/Stepper/Stepper.scss.js";import"../../../../../../../componentsV2/ButtonLive/ButtonLive.js";import"../../../../../../../componentsV2/ButtonText/ButtonText.js";import"../../../../../../../componentsV2/IndicatorLive/IndicatorLive.js";import"../../../../../../../componentsV2/Accordion/Accordion.scss.js";import"../../../../../../../componentsV2/Breadcrumbs/Breadcrumbs.scss.js";import"../../../../../../../componentsV2/BadgeComment/BadgeComment.js";import"../../../../../../../componentsV2/AppContainer/AppContainer.js";import"../../../../../../../componentsV2/AppContainer/AppContainer.constants.js";import"../../../../../../../componentsV2/AppFooter/AppFooter.js";import"immutable";import"../../../../../../../constants/goals.js";import"../../../../../../../constants/segment.js";import"../../../../../../../constants/alerts.js";import"../../../../../../../constants/apps.js";import"../../../../../../../constants/drillstring.js";import"../../../../../../../constants/completion.js";import"../../../../../../../constants/appPackages.js";import"../../../../../../../constants/notifications.js";import"../../../../../../../constants/feed.js";import"../../../../../../../constants/bha.js";import"../../../../../../../constants/corvaCompanyId.js";import"../../../../../../GradientManager/configuration/constants.js";import"../../../../../../../componentsV2/AppCommonsProvider/AppCommonsContext.js";import"../../../../../../../componentsV2/AppHeader/AppHeader.constants.js";import"../../../../../../../componentsV2/AppHeader/AppBadge/AppBadge.scss.js";import"../../../../../../DevCenter/DevCenterRouterContext/DevCenterRouterContext.js";import"../../../../../../DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js";import"@babel/runtime/helpers/objectWithoutProperties";import"react-router";import"../../../../../../../componentsV2/AppHeader/AppAssets/utils.js";import"../../../../../../../componentsV2/AppHeader/AppAssets/AppAssets.scss.js";import"../../../../../../PadModeSelect/PadModeSelect.js";import"../../../../../../../componentsV2/AppHeader/PadMode/PadMode.scss.js";import"../../../../../../../constants/streamSourceType.js";import"../../../../../../../types/shared/Completions.js";import"../../../../../../PadModeSelect/types.js";import"lodash/flatten";import"lodash/partition";import"../../../../../../../componentsV2/PadModeSelect/FracModeLabel/FracModeLabel.js";import"../../../../../../../componentsV2/PadModeSelect/FracModeLabel/FracModeLabel.constants.js";import"@babel/runtime/helpers/toConsumableArray";import"lodash/set";import"lodash/get";import"lodash/unset";import"moment";import"../../../../../../../clients/subscriptions/constants.js";import"../../../../../../../clients/subscriptions.v1.js";import"../../../../../../../clients/subscriptions/subscriptions-client.factory.js";import"../../../../../../../clients/api/apiCore.js";import"../../../../../../../clients/constants.js";import"../../../../../../../clients/sso/auth0.js";import"../../../../../../../clients/sso/oauth2.js";import"../../../../../../../componentsV2/PadModeSelect/WellStreamActivityStatus/WellStreamActivityStatus.scss.js";import"../../../../../../../componentsV2/PadModeSelect/PadModeSelect.constants.js";import"../../../../../../../componentsV2/PadModeSelect/PadModeSelect.scss.js";import"querystring";import"uuid/v1";import"jsona";import"../../../../../../../utils/env.js";import"../../../../../../StatusBadge/constants.js";import"lodash/isEmpty";import"lodash/sortBy";import"../../../../../../DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchContext.js";import"../../../../../../../componentsV2/AppHeader/V3/VersionSelect/VersionSelect.js";import"../../../../../../../componentsV2/UniversalLink/UniversalLink.scss.js";import"../../../../../../../componentsV2/AppHeader/V3/AssetChips/AssetChips.scss.js";import"../../../../../../../componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.js";import"../../../../../../../componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.constants.js";import"../../../../../../../componentsV2/AppFooter/DqPopover/DqStatusIcon/DqStatusIcon.js";import"../../../../../../../componentsV2/AppDqPopover/DqAlertTooltip/DqAlertTooltip.scss.js";import"../../../../../../../componentsV2/AppDqPopover/DqAlert/DqAlert.scss.js";import"../../../../../../../componentsV2/AppDqPopover/DqAsset/DqAsset.scss.js";import"../../../../../../../componentsV2/AppDqPopover/AppDqPopover.scss.js";import"../../../../../../AppIcon/AppIcon.js";import"../../../../../../../utils/getSingleAsset.js";import"../../../../../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorChip/AssetSelectorChip.js";import"../../../../../../../componentsV2/AppHeader/V3/AssetSelector/constants.js";import"../../../../../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/AssetSelectorSelect.scss.js";import"../../../../../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/loadAssets.js";import"../../../../../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelector.scss.js";import"../../../../../../../componentsV2/AppHeader/V3/AppTitle/AppTitle.constants.js";import"../../../../../../../componentsV2/AppContainer/headerCommon.scss.js";import"../../../../../../../componentsV2/AppHeader/V3/AppTitle/AppTitle.scss.js";import"../../../../../../../componentsV2/AppHeader/V3/constants.scss.js";import"@babel/runtime/helpers/typeof";import"../../../../../../../componentsV2/AppHeader/V3/SettingsButton/SettingsButton.js";import"../../../../../../../componentsV2/AppHeader/V3/SettingsButton/SettingsButton.constants.js";import"../../../../../../../componentsV2/AppSettings/AppSettings.js";import"../../../../../../../componentsV2/AppSettings/AppSettings.constants.js";import"../../../../../../../componentsV2/AppSettings/AppSettingsPinningContext.js";import"../../../../../../../componentsV2/AppSizeProvider/AppSizeProvider.js";import"../../../../../../../componentsV2/AppHeader/V3/Actions/Actions.constants.js";import"../../../../../../../componentsV2/AppHeader/V3/Actions/Actions.scss.js";import"../../../../../../../componentsV2/AppHeader/V3/AppHeaderV3.scss.js";import"../../../../../../../componentsV2/AppHeader/AppHeader.scss.js";import"../../../../../../../componentsV2/OffsetWellsButton/OffsetWellsButton.js";import"../../../../../../../componentsV2/Autocomplete/Autocomplete.scss.js";import"../../../../../../../componentsV2/Menu/MenuItem/MenuItem.js";import"../../../../../../../componentsV2/Autocomplete/AutocompleteListBox.js";import"../../../../../../../componentsV2/AppSettingsDivider/AppSettingsDivider.scss.js";import"../../../../../../../componentsV2/WellArchivedMessage/WellArchivedMessage.js";import"../../../../../../../componentsV2/DatePicker/DatePicker.js";import"../../../../../../../componentsV2/DragHandle/DragHandle.js";import"../../../../../../../componentsV2/CompletionsOffsetWellPicker/CompletionsOffsetWellPicker.js";var c=[{value:"dark",label:"Map",image:"/static/media/1d224e5eb4d88d63868ae26d4822b032.png"},{value:"satellite",label:"Satellite",image:"/static/media/48ef40571dcb127243619e183ab8c911.png"}],m={dark:"/static/media/231c7c3e48ddf9e901462a5382f4bc25.png",satellite:"/static/media/c37998d4ec23703b69878dec7d05cb79.png"},a=function(a){var l,d=a.mapStyle,j=a.onChange,u=a.className,V=t(null),A=V[0],C=V[1],g=e((function(o){C(o.currentTarget)}),[]),I=e((function(){C(null)}),[]),S=e((function(o){j(o),C(null)}),[j]);return o("div",{className:n(i.layerSwitcher,u),children:[o("button",{type:"button",className:n(i.trigger,(l={},l[i.triggerOpen]=Boolean(A),l)),onClick:g,"aria-label":"Change map layer",children:[s("img",{src:m[d],alt:"Current map style",className:i.triggerPreview}),s("div",{className:i.triggerOverlay,children:o("div",{className:i.triggerContent,children:[s(r,{size:16}),s("span",{className:i.triggerLabel,children:"Layers"})]})})]}),s(p,{open:Boolean(A),anchorEl:A,onClose:I,placement:"right-start",className:i.popover,children:s("div",{className:i.optionsPanel,children:c.map((function(t){var e;return o("button",{type:"button",className:n(i.option,(e={},e[i.optionSelected]=d===t.value,e)),onClick:function(){return S(t.value)},children:[s("img",{src:t.image,alt:t.label,className:i.optionThumbnail}),s("span",{className:i.optionLabel,children:t.label})]},t.value)}))})})]})};export{a as LayerSwitcher};
|
|
1
|
+
import{jsxs as o,jsx as s}from"react/jsx-runtime";import{useState as t,useCallback as e}from"react";import n from"classnames";import i from"./LayerSwitcher.module.css.js";import"../../../../../../../componentsV2/Text/Text.js";import"../../../../../../../componentsV2/Grid/Grid.js";import"../../../../../../../componentsV2/Grid/Cell.js";import"../../../../../../../componentsV2/Header/Header.scss.js";import"../../../../../../../componentsV2/Button/Button.js";import"../../../../../../../componentsV2/ButtonIcon/ButtonIcon.js";import"@material-ui/core";import"../../../../../../DevCenter/DevCenterAppContainer/components/IsInsideIsolatedDcAppProvider/IsInsideIsolatedDcAppProvider.js";import"../../../../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js";import"../../../../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js";import"uuid";import"../../../../../../../componentsV2/Tooltip/Tooltip.scss.js";import{Popover as p}from"../../../../../../../componentsV2/Popover/Popover.js";import"../../../../../../../componentsV2/Radio/Radio.js";import"../../../../../../../componentsV2/RadioAndCheckboxGroup/RadioAndCheckboxGroup.scss.js";import"../../../../../../../componentsV2/Checkbox/Checkbox.js";import"../../../../../../../componentsV2/TextInput/TextInput.js";import"../../../../../../../componentsV2/Label/Label.js";import"lodash";import"../../../../../../../componentsV2/TextEndTruncated/TextEndTruncated.scss.js";import"../../../../../../../componentsV2/TextMiddleTruncated/TextMiddleTruncated.constants.js";import"../../../../../../../componentsV2/TextMiddleTruncated/TextMiddleTruncated.scss.js";import"../../../../../../../componentsV2/TextLink/TextLink.js";import"../../../../../../../componentsV2/Chip/Chip.js";import"../../../../../../../componentsV2/ChipAlert/ChipAlert.js";import"../../../../../../../componentsV2/ChipIndicator/ChipIndicator.js";import"../../../../../../../componentsV2/Avatar/Avatar.js";import"../../../../../../../componentsV2/AvatarGroup/AvatarGroup.js";import"@material-ui/lab";import"../../../../../../../componentsV2/ToggleButtons/ToggleButtons.scss.js";import"../../../../../../../componentsV2/Paper/Paper.js";import"../../../../../../../componentsV2/ModalWindow/ModalWindow.js";import"../../../../../../../componentsV2/Modal/Modal.scss.js";import"../../../../../../../componentsV2/Menu/Menu.js";import{LayersIcon as r}from"../../../../../../../icons/iconParkIcons.js";import"../../../../../../../icons/customIcons/icons/AddMessage.js";import"../../../../../../../icons/customIcons/icons/Attention.js";import"../../../../../../../icons/customIcons/icons/Collapse.js";import"../../../../../../../icons/customIcons/icons/Dashboard.js";import"../../../../../../../icons/customIcons/icons/Expand.js";import"../../../../../../../icons/customIcons/icons/FolderClosed.js";import"../../../../../../../icons/customIcons/icons/FolderClosedFilled.js";import"../../../../../../../icons/customIcons/icons/FolderOpened.js";import"../../../../../../../icons/customIcons/icons/GreaterOrEqual.js";import"../../../../../../../icons/customIcons/icons/LessOrEqual.js";import"../../../../../../../icons/customIcons/icons/Search.js";import"../../../../../../../icons/customIcons/icons/SearchOne.js";import"../../../../../../../icons/customIcons/icons/Wellhub.js";import"../../../../../../../icons/customIcons/icons/MultiRuler.js";import"../../../../../../../icons/customIcons/icons/Checkbox.js";import"../../../../../../../icons/customIcons/icons/CheckboxChecked.js";import"../../../../../../../icons/customIcons/icons/CheckboxIndeterminate.js";import"../../../../../../../icons/customIcons/icons/Radio.js";import"../../../../../../../icons/customIcons/icons/RadioChecked.js";import"../../../../../../../icons/customIcons/icons/SimulFrac.js";import"../../../../../../../icons/customIcons/icons/ZipperFrac.js";import"../../../../../../../icons/customIcons/icons/CautionFilled.js";import"../../../../../../../icons/customIcons/icons/MoreApp.js";import"../../../../../../../icons/customIcons/icons/Pad.js";import"../../../../../../../icons/customIcons/icons/DrilloutUnit.js";import"../../../../../../../icons/customIcons/icons/FracFleet.js";import"../../../../../../../icons/customIcons/icons/Global.js";import"../../../../../../../icons/customIcons/icons/Program.js";import"../../../../../../../icons/customIcons/icons/Rig.js";import"../../../../../../../icons/customIcons/icons/Well.js";import"../../../../../../../icons/customIcons/icons/Gap.js";import"../../../../../../../icons/customIcons/icons/Pin.js";import"../../../../../../../icons/customIcons/icons/CloseOneFilled.js";import"../../../../../../../icons/customIcons/icons/AttentionFilled.js";import"../../../../../../../icons/customIcons/icons/CheckOneFilled.js";import"../../../../../../../icons/customIcons/icons/Archive.js";import"../../../../../../../icons/customIcons/icons/ArchiveCancel.js";import"../../../../../../../icons/customIcons/icons/Unarchive.js";import"../../../../../../../icons/customIcons/icons/Archived.js";import"../../../../../../../icons/customIcons/icons/InterventionUnit.js";import"../../../../../../../icons/customIcons/icons/CloudDelete.js";import"../../../../../../../icons/customIcons/icons/Lasso.js";import"../../../../../../../icons/customIcons/icons/Radius.js";import"../../../../../../../componentsV2/utils.js";import"../../../../../../../componentsV2/Hint/Hint.scss.js";import"../../../../../../../componentsV2/Counter/Counter.js";import"../../../../../../../componentsV2/BadgeBase/BadgeBase.scss.js";import"../../../../../../../componentsV2/TemplatesControl/TemplatesControl.js";import"zustand";import"../../../../../../../componentsV2/TemplatesControl/utils.js";import"../../../../../../../componentsV2/TemplatesControl/icons/folder/index.js";import"../../../../../../../componentsV2/TemplatesControl/Store/utils.js";import"../../../../../../../componentsV2/TemplatesControl/types.js";import"../../../../../../../utils/index.js";import"../../../../../../../clients/jsonApi/index.js";import"../../../../../../../permissions/PermissionsContext.js";import"../../../../../../../permissions/constants/index.js";import"../../../../../../../permissions/withPermissionsHOC.js";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/helpers/slicedToArray";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"../../../../../../../permissions/ProvidePermissions.js";import"../../../../../../../componentsV2/BadgeDot/BadgeDot.scss.js";import"../../../../../../../componentsV2/LoaderLinear/LoaderLinear.scss.js";import"../../../../../../../componentsV2/LoaderLogo/LoaderLogo.constants.js";import"../../../../../../../componentsV2/LoaderLogo/LoaderLogo.scss.js";import"../../../../../../../componentsV2/Switch/Switch.js";import"../../../../../../../componentsV2/Tabs/Tabs.js";import"../../../../../../../componentsV2/EmptyState/EmptyState.scss.js";import"../../../../../../../componentsV2/FileIcon/FileIcon.js";import"../../../../../../../componentsV2/Tag/Tag.js";import"react-dropzone";import"../../../../../../../componentsV2/FilesDropzone/FilesDropzone.scss.js";import"../../../../../../../componentsV2/FilesLoader/FilesLoader.scss.js";import"../../../../../../../componentsV2/FilesProcessor/FilesProcessor.scss.js";import"../../../../../../../componentsV2/Skeleton/Skeleton.scss.js";import"../../../../../../../utils/main.js";import"../../../../../../../componentsV2/CopyToClipboard/CopyToClipboard.scss.js";import"../../../../../../../componentsV2/Stepper/Step/Step.scss.js";import"../../../../../../../componentsV2/Stepper/Stepper.scss.js";import"../../../../../../../componentsV2/ButtonLive/ButtonLive.js";import"../../../../../../../componentsV2/ButtonText/ButtonText.js";import"../../../../../../../componentsV2/IndicatorLive/IndicatorLive.js";import"../../../../../../../componentsV2/Accordion/Accordion.scss.js";import"../../../../../../../componentsV2/Breadcrumbs/Breadcrumbs.scss.js";import"../../../../../../../componentsV2/BadgeComment/BadgeComment.js";import"../../../../../../../componentsV2/AppContainer/AppContainer.js";import"../../../../../../../componentsV2/AppContainer/AppContainer.constants.js";import"../../../../../../../componentsV2/AppFooter/AppFooter.js";import"immutable";import"../../../../../../../constants/goals.js";import"../../../../../../../constants/segment.js";import"../../../../../../../constants/alerts.js";import"../../../../../../../constants/apps.js";import"../../../../../../../constants/drillstring.js";import"../../../../../../../constants/completion.js";import"../../../../../../../constants/appPackages.js";import"../../../../../../../constants/notifications.js";import"../../../../../../../constants/feed.js";import"../../../../../../../constants/bha.js";import"../../../../../../../constants/corvaCompanyId.js";import"../../../../../../GradientManager/configuration/constants.js";import"../../../../../../../componentsV2/AppCommonsProvider/AppCommonsContext.js";import"../../../../../../../componentsV2/AppHeader/AppHeader.constants.js";import"../../../../../../../componentsV2/AppHeader/AppBadge/AppBadge.scss.js";import"../../../../../../DevCenter/DevCenterRouterContext/DevCenterRouterContext.js";import"../../../../../../DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js";import"@babel/runtime/helpers/objectWithoutProperties";import"react-router";import"../../../../../../../componentsV2/AppHeader/AppAssets/utils.js";import"../../../../../../../componentsV2/AppHeader/AppAssets/AppAssets.scss.js";import"../../../../../../PadModeSelect/PadModeSelect.js";import"../../../../../../../componentsV2/AppHeader/PadMode/PadMode.scss.js";import"../../../../../../../constants/streamSourceType.js";import"../../../../../../../types/shared/Completions.js";import"../../../../../../PadModeSelect/types.js";import"lodash/flatten";import"lodash/partition";import"../../../../../../../componentsV2/PadModeSelect/FracModeLabel/FracModeLabel.js";import"../../../../../../../componentsV2/PadModeSelect/FracModeLabel/FracModeLabel.constants.js";import"@babel/runtime/helpers/toConsumableArray";import"lodash/set";import"lodash/get";import"lodash/unset";import"moment";import"../../../../../../../clients/subscriptions/constants.js";import"../../../../../../../clients/subscriptions.v1.js";import"../../../../../../../clients/subscriptions/subscriptions-client.factory.js";import"../../../../../../../clients/api/apiCore.js";import"../../../../../../../clients/constants.js";import"../../../../../../../clients/sso/auth0.js";import"../../../../../../../clients/sso/oauth2.js";import"../../../../../../../componentsV2/PadModeSelect/WellStreamActivityStatus/WellStreamActivityStatus.scss.js";import"../../../../../../../componentsV2/PadModeSelect/PadModeSelect.constants.js";import"../../../../../../../componentsV2/PadModeSelect/PadModeSelect.scss.js";import"querystring";import"uuid/v1";import"jsona";import"../../../../../../../utils/env.js";import"../../../../../../StatusBadge/constants.js";import"lodash/isEmpty";import"lodash/sortBy";import"../../../../../../DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchContext.js";import"../../../../../../../componentsV2/AppHeader/V3/VersionSelect/VersionSelect.js";import"../../../../../../../componentsV2/UniversalLink/UniversalLink.scss.js";import"../../../../../../../componentsV2/AppHeader/V3/AssetChips/AssetChips.scss.js";import"../../../../../../../componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.js";import"../../../../../../../componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.constants.js";import"../../../../../../../componentsV2/AppFooter/DqPopover/DqStatusIcon/DqStatusIcon.js";import"../../../../../../../componentsV2/AppDqPopover/DqAlertTooltip/DqAlertTooltip.scss.js";import"../../../../../../../componentsV2/AppDqPopover/DqAlert/DqAlert.scss.js";import"../../../../../../../componentsV2/AppDqPopover/DqAsset/DqAsset.scss.js";import"../../../../../../../componentsV2/AppDqPopover/AppDqPopover.scss.js";import"../../../../../../AppIcon/AppIcon.js";import"../../../../../../../utils/getSingleAsset.js";import"../../../../../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorChip/AssetSelectorChip.js";import"../../../../../../../componentsV2/AppHeader/V3/AssetSelector/constants.js";import"../../../../../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/AssetSelectorSelect.scss.js";import"../../../../../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/loadAssets.js";import"../../../../../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelector.scss.js";import"../../../../../../../componentsV2/AppHeader/V3/AppTitle/AppTitle.constants.js";import"../../../../../../../componentsV2/AppContainer/headerCommon.scss.js";import"../../../../../../../componentsV2/AppHeader/V3/AppTitle/AppTitle.scss.js";import"../../../../../../../componentsV2/AppHeader/V3/constants.scss.js";import"@babel/runtime/helpers/typeof";import"../../../../../../../componentsV2/AppHeader/V3/SettingsButton/SettingsButton.js";import"../../../../../../../componentsV2/AppHeader/V3/SettingsButton/SettingsButton.constants.js";import"../../../../../../../componentsV2/AppSettings/AppSettings.js";import"../../../../../../../componentsV2/AppSettings/AppSettings.constants.js";import"../../../../../../../componentsV2/AppSettings/AppSettingsPinningContext.js";import"../../../../../../../componentsV2/AppSizeProvider/AppSizeProvider.js";import"../../../../../../../componentsV2/AppHeader/V3/Actions/Actions.constants.js";import"../../../../../../../componentsV2/AppHeader/V3/Actions/Actions.scss.js";import"../../../../../../../componentsV2/AppHeader/V3/AppHeaderV3.scss.js";import"../../../../../../../componentsV2/AppHeader/AppHeader.scss.js";import"../../../../../../../componentsV2/OffsetWellsButton/OffsetWellsButton.js";import"../../../../../../../componentsV2/Autocomplete/Autocomplete.scss.js";import"../../../../../../../componentsV2/Menu/MenuItem/MenuItem.js";import"../../../../../../../componentsV2/Autocomplete/AutocompleteListBox.js";import"../../../../../../../componentsV2/AppSettingsDivider/AppSettingsDivider.scss.js";import"../../../../../../../componentsV2/WellArchivedMessage/WellArchivedMessage.js";import"../../../../../../../componentsV2/DatePicker/DatePicker.js";import"../../../../../../../componentsV2/DragHandle/DragHandle.js";import"../../../../../../../componentsV2/CompletionsOffsetWellPicker/CompletionsOffsetWellPicker.js";import"../../../../../../../componentsV2/Slider/constants.js";import"../../../../../../../componentsV2/Slider/components/SliderThumb.js";import"../../../../../../../componentsV2/Slider/Slider.scss.js";var c=[{value:"dark",label:"Map",image:"/static/media/1d224e5eb4d88d63868ae26d4822b032.png"},{value:"satellite",label:"Satellite",image:"/static/media/48ef40571dcb127243619e183ab8c911.png"}],m={dark:"/static/media/231c7c3e48ddf9e901462a5382f4bc25.png",satellite:"/static/media/c37998d4ec23703b69878dec7d05cb79.png"},a=function(a){var l,d=a.mapStyle,j=a.onChange,u=a.className,V=t(null),A=V[0],C=V[1],S=e((function(o){C(o.currentTarget)}),[]),g=e((function(){C(null)}),[]),I=e((function(o){j(o),C(null)}),[j]);return o("div",{className:n(i.layerSwitcher,u),children:[o("button",{type:"button",className:n(i.trigger,(l={},l[i.triggerOpen]=Boolean(A),l)),onClick:S,"aria-label":"Change map layer",children:[s("img",{src:m[d],alt:"Current map style",className:i.triggerPreview}),s("div",{className:i.triggerOverlay,children:o("div",{className:i.triggerContent,children:[s(r,{size:16}),s("span",{className:i.triggerLabel,children:"Layers"})]})})]}),s(p,{open:Boolean(A),anchorEl:A,onClose:g,placement:"right-start",className:i.popover,children:s("div",{className:i.optionsPanel,children:c.map((function(t){var e;return o("button",{type:"button",className:n(i.option,(e={},e[i.optionSelected]=d===t.value,e)),onClick:function(){return I(t.value)},children:[s("img",{src:t.image,alt:t.label,className:i.optionThumbnail}),s("span",{className:i.optionLabel,children:t.label})]},t.value)}))})})]})};export{a as LayerSwitcher};
|
|
2
2
|
//# sourceMappingURL=LayerSwitcher.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{jsxs as o,jsx as s}from"react/jsx-runtime";import t from"classnames";import e from"./MapControls.module.css.js";import{UndoIcon as n,PlusIcon as i,MinusIcon as p}from"../../../../../../../icons/iconParkIcons.js";import"../../../../../../../icons/customIcons/icons/AddMessage.js";import"../../../../../../../icons/customIcons/icons/Attention.js";import"../../../../../../../icons/customIcons/icons/Collapse.js";import"../../../../../../../icons/customIcons/icons/Dashboard.js";import"../../../../../../../icons/customIcons/icons/Expand.js";import"../../../../../../../icons/customIcons/icons/FolderClosed.js";import"../../../../../../../icons/customIcons/icons/FolderClosedFilled.js";import"../../../../../../../icons/customIcons/icons/FolderOpened.js";import"../../../../../../../icons/customIcons/icons/GreaterOrEqual.js";import"../../../../../../../icons/customIcons/icons/LessOrEqual.js";import"../../../../../../../icons/customIcons/icons/Search.js";import"../../../../../../../icons/customIcons/icons/SearchOne.js";import"../../../../../../../icons/customIcons/icons/Wellhub.js";import"../../../../../../../icons/customIcons/icons/MultiRuler.js";import"../../../../../../../icons/customIcons/icons/Checkbox.js";import"../../../../../../../icons/customIcons/icons/CheckboxChecked.js";import"../../../../../../../icons/customIcons/icons/CheckboxIndeterminate.js";import"../../../../../../../icons/customIcons/icons/Radio.js";import"../../../../../../../icons/customIcons/icons/RadioChecked.js";import"../../../../../../../icons/customIcons/icons/SimulFrac.js";import"../../../../../../../icons/customIcons/icons/ZipperFrac.js";import"../../../../../../../icons/customIcons/icons/CautionFilled.js";import"../../../../../../../icons/customIcons/icons/MoreApp.js";import"../../../../../../../icons/customIcons/icons/Pad.js";import"../../../../../../../icons/customIcons/icons/DrilloutUnit.js";import"../../../../../../../icons/customIcons/icons/FracFleet.js";import"../../../../../../../icons/customIcons/icons/Global.js";import"../../../../../../../icons/customIcons/icons/Program.js";import"../../../../../../../icons/customIcons/icons/Rig.js";import"../../../../../../../icons/customIcons/icons/Well.js";import"../../../../../../../icons/customIcons/icons/Gap.js";import"../../../../../../../icons/customIcons/icons/Pin.js";import"../../../../../../../icons/customIcons/icons/CloseOneFilled.js";import"../../../../../../../icons/customIcons/icons/AttentionFilled.js";import"../../../../../../../icons/customIcons/icons/CheckOneFilled.js";import"../../../../../../../icons/customIcons/icons/Archive.js";import"../../../../../../../icons/customIcons/icons/ArchiveCancel.js";import"../../../../../../../icons/customIcons/icons/Unarchive.js";import"../../../../../../../icons/customIcons/icons/Archived.js";import"../../../../../../../icons/customIcons/icons/InterventionUnit.js";import"../../../../../../../icons/customIcons/icons/CloudDelete.js";import{LassoIcon as r}from"../../../../../../../icons/customIcons/icons/Lasso.js";import{RadiusIcon as c}from"../../../../../../../icons/customIcons/icons/Radius.js";import"../../../../../../../componentsV2/Text/Text.js";import"../../../../../../../componentsV2/Grid/Grid.js";import"../../../../../../../componentsV2/Grid/Cell.js";import"../../../../../../../componentsV2/Header/Header.scss.js";import"../../../../../../../componentsV2/Button/Button.js";import{ButtonIcon as m}from"../../../../../../../componentsV2/ButtonIcon/ButtonIcon.js";import{Tooltip as a}from"../../../../../../../componentsV2/Tooltip/Tooltip.js";import"../../../../../../../componentsV2/Popover/Popover.js";import"../../../../../../../componentsV2/Radio/Radio.js";import"react";import"@material-ui/core";import"../../../../../../../componentsV2/RadioAndCheckboxGroup/RadioAndCheckboxGroup.scss.js";import"../../../../../../../componentsV2/Checkbox/Checkbox.js";import"../../../../../../../componentsV2/TextInput/TextInput.js";import"../../../../../../../componentsV2/Label/Label.js";import"lodash";import"../../../../../../../componentsV2/TextEndTruncated/TextEndTruncated.scss.js";import"../../../../../../../componentsV2/TextMiddleTruncated/TextMiddleTruncated.constants.js";import"../../../../../../../componentsV2/TextMiddleTruncated/TextMiddleTruncated.scss.js";import"../../../../../../../componentsV2/TextLink/TextLink.js";import"../../../../../../../componentsV2/Chip/Chip.js";import"../../../../../../../componentsV2/ChipAlert/ChipAlert.js";import"../../../../../../../componentsV2/ChipIndicator/ChipIndicator.js";import"../../../../../../../componentsV2/Avatar/Avatar.js";import"../../../../../../../componentsV2/AvatarGroup/AvatarGroup.js";import"@material-ui/lab";import"../../../../../../../componentsV2/ToggleButtons/ToggleButtons.scss.js";import"../../../../../../../componentsV2/Paper/Paper.js";import"../../../../../../../componentsV2/ModalWindow/ModalWindow.js";import"uuid";import"../../../../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js";import"../../../../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js";import"../../../../../../DevCenter/DevCenterAppContainer/components/IsInsideIsolatedDcAppProvider/IsInsideIsolatedDcAppProvider.js";import"../../../../../../../componentsV2/Modal/Modal.scss.js";import"../../../../../../../componentsV2/Menu/Menu.js";import"../../../../../../../componentsV2/utils.js";import"../../../../../../../componentsV2/Hint/Hint.scss.js";import"../../../../../../../componentsV2/Counter/Counter.js";import"../../../../../../../componentsV2/BadgeBase/BadgeBase.scss.js";import"../../../../../../../componentsV2/TemplatesControl/TemplatesControl.js";import"zustand";import"../../../../../../../componentsV2/TemplatesControl/utils.js";import"../../../../../../../componentsV2/TemplatesControl/icons/folder/index.js";import"../../../../../../../componentsV2/TemplatesControl/Store/utils.js";import"../../../../../../../componentsV2/TemplatesControl/types.js";import"../../../../../../../utils/index.js";import"../../../../../../../clients/jsonApi/index.js";import"../../../../../../../permissions/PermissionsContext.js";import"../../../../../../../permissions/constants/index.js";import"../../../../../../../permissions/withPermissionsHOC.js";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/helpers/slicedToArray";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"../../../../../../../permissions/ProvidePermissions.js";import"../../../../../../../componentsV2/BadgeDot/BadgeDot.scss.js";import"../../../../../../../componentsV2/LoaderLinear/LoaderLinear.scss.js";import"../../../../../../../componentsV2/LoaderLogo/LoaderLogo.constants.js";import"../../../../../../../componentsV2/LoaderLogo/LoaderLogo.scss.js";import"../../../../../../../componentsV2/Switch/Switch.js";import"../../../../../../../componentsV2/Tabs/Tabs.js";import"../../../../../../../componentsV2/EmptyState/EmptyState.scss.js";import"../../../../../../../componentsV2/FileIcon/FileIcon.js";import"../../../../../../../componentsV2/Tag/Tag.js";import"react-dropzone";import"../../../../../../../componentsV2/FilesDropzone/FilesDropzone.scss.js";import"../../../../../../../componentsV2/FilesLoader/FilesLoader.scss.js";import"../../../../../../../componentsV2/FilesProcessor/FilesProcessor.scss.js";import"../../../../../../../componentsV2/Skeleton/Skeleton.scss.js";import"../../../../../../../utils/main.js";import"../../../../../../../componentsV2/CopyToClipboard/CopyToClipboard.scss.js";import"../../../../../../../componentsV2/Stepper/Step/Step.scss.js";import"../../../../../../../componentsV2/Stepper/Stepper.scss.js";import"../../../../../../../componentsV2/ButtonLive/ButtonLive.js";import"../../../../../../../componentsV2/ButtonText/ButtonText.js";import"../../../../../../../componentsV2/IndicatorLive/IndicatorLive.js";import"../../../../../../../componentsV2/Accordion/Accordion.scss.js";import"../../../../../../../componentsV2/Breadcrumbs/Breadcrumbs.scss.js";import"../../../../../../../componentsV2/BadgeComment/BadgeComment.js";import"../../../../../../../componentsV2/AppContainer/AppContainer.js";import"../../../../../../../componentsV2/AppContainer/AppContainer.constants.js";import"../../../../../../../componentsV2/AppFooter/AppFooter.js";import"immutable";import"../../../../../../../constants/goals.js";import"../../../../../../../constants/segment.js";import"../../../../../../../constants/alerts.js";import"../../../../../../../constants/apps.js";import"../../../../../../../constants/drillstring.js";import"../../../../../../../constants/completion.js";import"../../../../../../../constants/appPackages.js";import"../../../../../../../constants/notifications.js";import"../../../../../../../constants/feed.js";import"../../../../../../../constants/bha.js";import"../../../../../../../constants/corvaCompanyId.js";import"../../../../../../GradientManager/configuration/constants.js";import"../../../../../../../componentsV2/AppCommonsProvider/AppCommonsContext.js";import"../../../../../../../componentsV2/AppHeader/AppHeader.constants.js";import"../../../../../../../componentsV2/AppHeader/AppBadge/AppBadge.scss.js";import"../../../../../../DevCenter/DevCenterRouterContext/DevCenterRouterContext.js";import"../../../../../../DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js";import"@babel/runtime/helpers/objectWithoutProperties";import"react-router";import"../../../../../../../componentsV2/AppHeader/AppAssets/utils.js";import"../../../../../../../componentsV2/AppHeader/AppAssets/AppAssets.scss.js";import"../../../../../../PadModeSelect/PadModeSelect.js";import"../../../../../../../componentsV2/AppHeader/PadMode/PadMode.scss.js";import"../../../../../../../constants/streamSourceType.js";import"../../../../../../../types/shared/Completions.js";import"../../../../../../PadModeSelect/types.js";import"lodash/flatten";import"lodash/partition";import"../../../../../../../componentsV2/PadModeSelect/FracModeLabel/FracModeLabel.js";import"../../../../../../../componentsV2/PadModeSelect/FracModeLabel/FracModeLabel.constants.js";import"@babel/runtime/helpers/toConsumableArray";import"lodash/set";import"lodash/get";import"lodash/unset";import"moment";import"../../../../../../../clients/subscriptions/constants.js";import"../../../../../../../clients/subscriptions.v1.js";import"../../../../../../../clients/subscriptions/subscriptions-client.factory.js";import"../../../../../../../clients/api/apiCore.js";import"../../../../../../../clients/constants.js";import"../../../../../../../clients/sso/auth0.js";import"../../../../../../../clients/sso/oauth2.js";import"../../../../../../../componentsV2/PadModeSelect/WellStreamActivityStatus/WellStreamActivityStatus.scss.js";import"../../../../../../../componentsV2/PadModeSelect/PadModeSelect.constants.js";import"../../../../../../../componentsV2/PadModeSelect/PadModeSelect.scss.js";import"querystring";import"uuid/v1";import"jsona";import"../../../../../../../utils/env.js";import"../../../../../../StatusBadge/constants.js";import"lodash/isEmpty";import"lodash/sortBy";import"../../../../../../DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchContext.js";import"../../../../../../../componentsV2/AppHeader/V3/VersionSelect/VersionSelect.js";import"../../../../../../../componentsV2/UniversalLink/UniversalLink.scss.js";import"../../../../../../../componentsV2/AppHeader/V3/AssetChips/AssetChips.scss.js";import"../../../../../../../componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.js";import"../../../../../../../componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.constants.js";import"../../../../../../../componentsV2/AppFooter/DqPopover/DqStatusIcon/DqStatusIcon.js";import"../../../../../../../componentsV2/AppDqPopover/DqAlertTooltip/DqAlertTooltip.scss.js";import"../../../../../../../componentsV2/AppDqPopover/DqAlert/DqAlert.scss.js";import"../../../../../../../componentsV2/AppDqPopover/DqAsset/DqAsset.scss.js";import"../../../../../../../componentsV2/AppDqPopover/AppDqPopover.scss.js";import"../../../../../../AppIcon/AppIcon.js";import"../../../../../../../utils/getSingleAsset.js";import"../../../../../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorChip/AssetSelectorChip.js";import"../../../../../../../componentsV2/AppHeader/V3/AssetSelector/constants.js";import"../../../../../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/AssetSelectorSelect.scss.js";import"../../../../../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/loadAssets.js";import"../../../../../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelector.scss.js";import"../../../../../../../componentsV2/AppHeader/V3/AppTitle/AppTitle.constants.js";import"../../../../../../../componentsV2/AppContainer/headerCommon.scss.js";import"../../../../../../../componentsV2/AppHeader/V3/AppTitle/AppTitle.scss.js";import"../../../../../../../componentsV2/AppHeader/V3/constants.scss.js";import"@babel/runtime/helpers/typeof";import"../../../../../../../componentsV2/AppHeader/V3/SettingsButton/SettingsButton.js";import"../../../../../../../componentsV2/AppHeader/V3/SettingsButton/SettingsButton.constants.js";import"../../../../../../../componentsV2/AppSettings/AppSettings.js";import"../../../../../../../componentsV2/AppSettings/AppSettings.constants.js";import"../../../../../../../componentsV2/AppSettings/AppSettingsPinningContext.js";import"../../../../../../../componentsV2/AppSizeProvider/AppSizeProvider.js";import"../../../../../../../componentsV2/AppHeader/V3/Actions/Actions.constants.js";import"../../../../../../../componentsV2/AppHeader/V3/Actions/Actions.scss.js";import"../../../../../../../componentsV2/AppHeader/V3/AppHeaderV3.scss.js";import"../../../../../../../componentsV2/AppHeader/AppHeader.scss.js";import"../../../../../../../componentsV2/OffsetWellsButton/OffsetWellsButton.js";import"../../../../../../../componentsV2/Autocomplete/Autocomplete.scss.js";import"../../../../../../../componentsV2/Menu/MenuItem/MenuItem.js";import"../../../../../../../componentsV2/Autocomplete/AutocompleteListBox.js";import"../../../../../../../componentsV2/AppSettingsDivider/AppSettingsDivider.scss.js";import"../../../../../../../componentsV2/WellArchivedMessage/WellArchivedMessage.js";import"../../../../../../../componentsV2/DatePicker/DatePicker.js";import"../../../../../../../componentsV2/DragHandle/DragHandle.js";import"../../../../../../../componentsV2/CompletionsOffsetWellPicker/CompletionsOffsetWellPicker.js";var l=function(l){var d=l.onZoomIn,j=l.onZoomOut,u=l.onResetZoom,V=l.canZoomIn,A=l.canZoomOut,C=l.isRadiusActive,I=l.onRadiusToggle,S=l.isLassoActive,h=l.onLassoToggle,v=l.isSatellite,g=void 0!==v&&v,D=l.className;return o("div",{className:t(e.mapControls,g&&e.satellite,D),children:[s(a,{title:"Reset zoom",placement:"left",children:s(m,{size:"small",type:"tertiaryBg",onClick:u,children:s(n,{})})}),s(a,{title:"Radius",placement:"left",children:s(m,{size:"small",type:C?"secondaryBg":"tertiaryBg",onClick:I,children:s(c,{})})}),s(a,{title:"Lasso",placement:"left",children:s(m,{size:"small",type:S?"secondaryBg":"tertiaryBg",onClick:h,children:s(r,{})})}),s(a,{title:"Zoom in",placement:"left",children:s("span",{children:s(m,{size:"small",type:"tertiaryBg",onClick:d,disabled:!V,className:e.disabledButtonWrapper,children:s(i,{})})})}),s(a,{title:"Zoom out",placement:"left",children:s("span",{children:s(m,{size:"small",type:"tertiaryBg",onClick:j,disabled:!A,className:e.disabledButtonWrapper,children:s(p,{})})})})]})};export{l as MapControls};
|
|
1
|
+
import{jsxs as o,jsx as s}from"react/jsx-runtime";import t from"classnames";import e from"./MapControls.module.css.js";import{UndoIcon as n,PlusIcon as i,MinusIcon as p}from"../../../../../../../icons/iconParkIcons.js";import"../../../../../../../icons/customIcons/icons/AddMessage.js";import"../../../../../../../icons/customIcons/icons/Attention.js";import"../../../../../../../icons/customIcons/icons/Collapse.js";import"../../../../../../../icons/customIcons/icons/Dashboard.js";import"../../../../../../../icons/customIcons/icons/Expand.js";import"../../../../../../../icons/customIcons/icons/FolderClosed.js";import"../../../../../../../icons/customIcons/icons/FolderClosedFilled.js";import"../../../../../../../icons/customIcons/icons/FolderOpened.js";import"../../../../../../../icons/customIcons/icons/GreaterOrEqual.js";import"../../../../../../../icons/customIcons/icons/LessOrEqual.js";import"../../../../../../../icons/customIcons/icons/Search.js";import"../../../../../../../icons/customIcons/icons/SearchOne.js";import"../../../../../../../icons/customIcons/icons/Wellhub.js";import"../../../../../../../icons/customIcons/icons/MultiRuler.js";import"../../../../../../../icons/customIcons/icons/Checkbox.js";import"../../../../../../../icons/customIcons/icons/CheckboxChecked.js";import"../../../../../../../icons/customIcons/icons/CheckboxIndeterminate.js";import"../../../../../../../icons/customIcons/icons/Radio.js";import"../../../../../../../icons/customIcons/icons/RadioChecked.js";import"../../../../../../../icons/customIcons/icons/SimulFrac.js";import"../../../../../../../icons/customIcons/icons/ZipperFrac.js";import"../../../../../../../icons/customIcons/icons/CautionFilled.js";import"../../../../../../../icons/customIcons/icons/MoreApp.js";import"../../../../../../../icons/customIcons/icons/Pad.js";import"../../../../../../../icons/customIcons/icons/DrilloutUnit.js";import"../../../../../../../icons/customIcons/icons/FracFleet.js";import"../../../../../../../icons/customIcons/icons/Global.js";import"../../../../../../../icons/customIcons/icons/Program.js";import"../../../../../../../icons/customIcons/icons/Rig.js";import"../../../../../../../icons/customIcons/icons/Well.js";import"../../../../../../../icons/customIcons/icons/Gap.js";import"../../../../../../../icons/customIcons/icons/Pin.js";import"../../../../../../../icons/customIcons/icons/CloseOneFilled.js";import"../../../../../../../icons/customIcons/icons/AttentionFilled.js";import"../../../../../../../icons/customIcons/icons/CheckOneFilled.js";import"../../../../../../../icons/customIcons/icons/Archive.js";import"../../../../../../../icons/customIcons/icons/ArchiveCancel.js";import"../../../../../../../icons/customIcons/icons/Unarchive.js";import"../../../../../../../icons/customIcons/icons/Archived.js";import"../../../../../../../icons/customIcons/icons/InterventionUnit.js";import"../../../../../../../icons/customIcons/icons/CloudDelete.js";import{LassoIcon as r}from"../../../../../../../icons/customIcons/icons/Lasso.js";import{RadiusIcon as c}from"../../../../../../../icons/customIcons/icons/Radius.js";import"../../../../../../../componentsV2/Text/Text.js";import"../../../../../../../componentsV2/Grid/Grid.js";import"../../../../../../../componentsV2/Grid/Cell.js";import"../../../../../../../componentsV2/Header/Header.scss.js";import"../../../../../../../componentsV2/Button/Button.js";import{ButtonIcon as m}from"../../../../../../../componentsV2/ButtonIcon/ButtonIcon.js";import{Tooltip as a}from"../../../../../../../componentsV2/Tooltip/Tooltip.js";import"../../../../../../../componentsV2/Popover/Popover.js";import"../../../../../../../componentsV2/Radio/Radio.js";import"react";import"@material-ui/core";import"../../../../../../../componentsV2/RadioAndCheckboxGroup/RadioAndCheckboxGroup.scss.js";import"../../../../../../../componentsV2/Checkbox/Checkbox.js";import"../../../../../../../componentsV2/TextInput/TextInput.js";import"../../../../../../../componentsV2/Label/Label.js";import"lodash";import"../../../../../../../componentsV2/TextEndTruncated/TextEndTruncated.scss.js";import"../../../../../../../componentsV2/TextMiddleTruncated/TextMiddleTruncated.constants.js";import"../../../../../../../componentsV2/TextMiddleTruncated/TextMiddleTruncated.scss.js";import"../../../../../../../componentsV2/TextLink/TextLink.js";import"../../../../../../../componentsV2/Chip/Chip.js";import"../../../../../../../componentsV2/ChipAlert/ChipAlert.js";import"../../../../../../../componentsV2/ChipIndicator/ChipIndicator.js";import"../../../../../../../componentsV2/Avatar/Avatar.js";import"../../../../../../../componentsV2/AvatarGroup/AvatarGroup.js";import"@material-ui/lab";import"../../../../../../../componentsV2/ToggleButtons/ToggleButtons.scss.js";import"../../../../../../../componentsV2/Paper/Paper.js";import"../../../../../../../componentsV2/ModalWindow/ModalWindow.js";import"uuid";import"../../../../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js";import"../../../../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js";import"../../../../../../DevCenter/DevCenterAppContainer/components/IsInsideIsolatedDcAppProvider/IsInsideIsolatedDcAppProvider.js";import"../../../../../../../componentsV2/Modal/Modal.scss.js";import"../../../../../../../componentsV2/Menu/Menu.js";import"../../../../../../../componentsV2/utils.js";import"../../../../../../../componentsV2/Hint/Hint.scss.js";import"../../../../../../../componentsV2/Counter/Counter.js";import"../../../../../../../componentsV2/BadgeBase/BadgeBase.scss.js";import"../../../../../../../componentsV2/TemplatesControl/TemplatesControl.js";import"zustand";import"../../../../../../../componentsV2/TemplatesControl/utils.js";import"../../../../../../../componentsV2/TemplatesControl/icons/folder/index.js";import"../../../../../../../componentsV2/TemplatesControl/Store/utils.js";import"../../../../../../../componentsV2/TemplatesControl/types.js";import"../../../../../../../utils/index.js";import"../../../../../../../clients/jsonApi/index.js";import"../../../../../../../permissions/PermissionsContext.js";import"../../../../../../../permissions/constants/index.js";import"../../../../../../../permissions/withPermissionsHOC.js";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/helpers/slicedToArray";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"../../../../../../../permissions/ProvidePermissions.js";import"../../../../../../../componentsV2/BadgeDot/BadgeDot.scss.js";import"../../../../../../../componentsV2/LoaderLinear/LoaderLinear.scss.js";import"../../../../../../../componentsV2/LoaderLogo/LoaderLogo.constants.js";import"../../../../../../../componentsV2/LoaderLogo/LoaderLogo.scss.js";import"../../../../../../../componentsV2/Switch/Switch.js";import"../../../../../../../componentsV2/Tabs/Tabs.js";import"../../../../../../../componentsV2/EmptyState/EmptyState.scss.js";import"../../../../../../../componentsV2/FileIcon/FileIcon.js";import"../../../../../../../componentsV2/Tag/Tag.js";import"react-dropzone";import"../../../../../../../componentsV2/FilesDropzone/FilesDropzone.scss.js";import"../../../../../../../componentsV2/FilesLoader/FilesLoader.scss.js";import"../../../../../../../componentsV2/FilesProcessor/FilesProcessor.scss.js";import"../../../../../../../componentsV2/Skeleton/Skeleton.scss.js";import"../../../../../../../utils/main.js";import"../../../../../../../componentsV2/CopyToClipboard/CopyToClipboard.scss.js";import"../../../../../../../componentsV2/Stepper/Step/Step.scss.js";import"../../../../../../../componentsV2/Stepper/Stepper.scss.js";import"../../../../../../../componentsV2/ButtonLive/ButtonLive.js";import"../../../../../../../componentsV2/ButtonText/ButtonText.js";import"../../../../../../../componentsV2/IndicatorLive/IndicatorLive.js";import"../../../../../../../componentsV2/Accordion/Accordion.scss.js";import"../../../../../../../componentsV2/Breadcrumbs/Breadcrumbs.scss.js";import"../../../../../../../componentsV2/BadgeComment/BadgeComment.js";import"../../../../../../../componentsV2/AppContainer/AppContainer.js";import"../../../../../../../componentsV2/AppContainer/AppContainer.constants.js";import"../../../../../../../componentsV2/AppFooter/AppFooter.js";import"immutable";import"../../../../../../../constants/goals.js";import"../../../../../../../constants/segment.js";import"../../../../../../../constants/alerts.js";import"../../../../../../../constants/apps.js";import"../../../../../../../constants/drillstring.js";import"../../../../../../../constants/completion.js";import"../../../../../../../constants/appPackages.js";import"../../../../../../../constants/notifications.js";import"../../../../../../../constants/feed.js";import"../../../../../../../constants/bha.js";import"../../../../../../../constants/corvaCompanyId.js";import"../../../../../../GradientManager/configuration/constants.js";import"../../../../../../../componentsV2/AppCommonsProvider/AppCommonsContext.js";import"../../../../../../../componentsV2/AppHeader/AppHeader.constants.js";import"../../../../../../../componentsV2/AppHeader/AppBadge/AppBadge.scss.js";import"../../../../../../DevCenter/DevCenterRouterContext/DevCenterRouterContext.js";import"../../../../../../DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js";import"@babel/runtime/helpers/objectWithoutProperties";import"react-router";import"../../../../../../../componentsV2/AppHeader/AppAssets/utils.js";import"../../../../../../../componentsV2/AppHeader/AppAssets/AppAssets.scss.js";import"../../../../../../PadModeSelect/PadModeSelect.js";import"../../../../../../../componentsV2/AppHeader/PadMode/PadMode.scss.js";import"../../../../../../../constants/streamSourceType.js";import"../../../../../../../types/shared/Completions.js";import"../../../../../../PadModeSelect/types.js";import"lodash/flatten";import"lodash/partition";import"../../../../../../../componentsV2/PadModeSelect/FracModeLabel/FracModeLabel.js";import"../../../../../../../componentsV2/PadModeSelect/FracModeLabel/FracModeLabel.constants.js";import"@babel/runtime/helpers/toConsumableArray";import"lodash/set";import"lodash/get";import"lodash/unset";import"moment";import"../../../../../../../clients/subscriptions/constants.js";import"../../../../../../../clients/subscriptions.v1.js";import"../../../../../../../clients/subscriptions/subscriptions-client.factory.js";import"../../../../../../../clients/api/apiCore.js";import"../../../../../../../clients/constants.js";import"../../../../../../../clients/sso/auth0.js";import"../../../../../../../clients/sso/oauth2.js";import"../../../../../../../componentsV2/PadModeSelect/WellStreamActivityStatus/WellStreamActivityStatus.scss.js";import"../../../../../../../componentsV2/PadModeSelect/PadModeSelect.constants.js";import"../../../../../../../componentsV2/PadModeSelect/PadModeSelect.scss.js";import"querystring";import"uuid/v1";import"jsona";import"../../../../../../../utils/env.js";import"../../../../../../StatusBadge/constants.js";import"lodash/isEmpty";import"lodash/sortBy";import"../../../../../../DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchContext.js";import"../../../../../../../componentsV2/AppHeader/V3/VersionSelect/VersionSelect.js";import"../../../../../../../componentsV2/UniversalLink/UniversalLink.scss.js";import"../../../../../../../componentsV2/AppHeader/V3/AssetChips/AssetChips.scss.js";import"../../../../../../../componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.js";import"../../../../../../../componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.constants.js";import"../../../../../../../componentsV2/AppFooter/DqPopover/DqStatusIcon/DqStatusIcon.js";import"../../../../../../../componentsV2/AppDqPopover/DqAlertTooltip/DqAlertTooltip.scss.js";import"../../../../../../../componentsV2/AppDqPopover/DqAlert/DqAlert.scss.js";import"../../../../../../../componentsV2/AppDqPopover/DqAsset/DqAsset.scss.js";import"../../../../../../../componentsV2/AppDqPopover/AppDqPopover.scss.js";import"../../../../../../AppIcon/AppIcon.js";import"../../../../../../../utils/getSingleAsset.js";import"../../../../../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorChip/AssetSelectorChip.js";import"../../../../../../../componentsV2/AppHeader/V3/AssetSelector/constants.js";import"../../../../../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/AssetSelectorSelect.scss.js";import"../../../../../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/loadAssets.js";import"../../../../../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelector.scss.js";import"../../../../../../../componentsV2/AppHeader/V3/AppTitle/AppTitle.constants.js";import"../../../../../../../componentsV2/AppContainer/headerCommon.scss.js";import"../../../../../../../componentsV2/AppHeader/V3/AppTitle/AppTitle.scss.js";import"../../../../../../../componentsV2/AppHeader/V3/constants.scss.js";import"@babel/runtime/helpers/typeof";import"../../../../../../../componentsV2/AppHeader/V3/SettingsButton/SettingsButton.js";import"../../../../../../../componentsV2/AppHeader/V3/SettingsButton/SettingsButton.constants.js";import"../../../../../../../componentsV2/AppSettings/AppSettings.js";import"../../../../../../../componentsV2/AppSettings/AppSettings.constants.js";import"../../../../../../../componentsV2/AppSettings/AppSettingsPinningContext.js";import"../../../../../../../componentsV2/AppSizeProvider/AppSizeProvider.js";import"../../../../../../../componentsV2/AppHeader/V3/Actions/Actions.constants.js";import"../../../../../../../componentsV2/AppHeader/V3/Actions/Actions.scss.js";import"../../../../../../../componentsV2/AppHeader/V3/AppHeaderV3.scss.js";import"../../../../../../../componentsV2/AppHeader/AppHeader.scss.js";import"../../../../../../../componentsV2/OffsetWellsButton/OffsetWellsButton.js";import"../../../../../../../componentsV2/Autocomplete/Autocomplete.scss.js";import"../../../../../../../componentsV2/Menu/MenuItem/MenuItem.js";import"../../../../../../../componentsV2/Autocomplete/AutocompleteListBox.js";import"../../../../../../../componentsV2/AppSettingsDivider/AppSettingsDivider.scss.js";import"../../../../../../../componentsV2/WellArchivedMessage/WellArchivedMessage.js";import"../../../../../../../componentsV2/DatePicker/DatePicker.js";import"../../../../../../../componentsV2/DragHandle/DragHandle.js";import"../../../../../../../componentsV2/CompletionsOffsetWellPicker/CompletionsOffsetWellPicker.js";import"../../../../../../../componentsV2/Slider/constants.js";import"../../../../../../../componentsV2/Slider/components/SliderThumb.js";import"../../../../../../../componentsV2/Slider/Slider.scss.js";var l=function(l){var d=l.onZoomIn,j=l.onZoomOut,u=l.onResetZoom,V=l.canZoomIn,A=l.canZoomOut,C=l.isRadiusActive,I=l.onRadiusToggle,S=l.isLassoActive,h=l.onLassoToggle,v=l.isSatellite,g=void 0!==v&&v,b=l.className;return o("div",{className:t(e.mapControls,g&&e.satellite,b),children:[s(a,{title:"Reset zoom",placement:"left",children:s(m,{size:"small",type:"tertiaryBg",onClick:u,children:s(n,{})})}),s(a,{title:"Radius",placement:"left",children:s(m,{size:"small",type:C?"secondaryBg":"tertiaryBg",onClick:I,children:s(c,{})})}),s(a,{title:"Lasso",placement:"left",children:s(m,{size:"small",type:S?"secondaryBg":"tertiaryBg",onClick:h,children:s(r,{})})}),s(a,{title:"Zoom in",placement:"left",children:s("span",{children:s(m,{size:"small",type:"tertiaryBg",onClick:d,disabled:!V,className:e.disabledButtonWrapper,children:s(i,{})})})}),s(a,{title:"Zoom out",placement:"left",children:s("span",{children:s(m,{size:"small",type:"tertiaryBg",onClick:j,disabled:!A,className:e.disabledButtonWrapper,children:s(p,{})})})})]})};export{l as MapControls};
|
|
2
2
|
//# sourceMappingURL=MapControls.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MapHints.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHints.tsx"],"names":[],"mappings":"AASA,KAAK,WAAW,GAAG,MAAM,GAAG,gBAAgB,GAAG,SAAS,GAAG,YAAY,CAAC;AACxE,KAAK,UAAU,GAAG,MAAM,GAAG,SAAS,GAAG,YAAY,CAAC;AAEpD,KAAK,aAAa,GAAG;IACnB,IAAI,EAAE,KAAK,GAAG,OAAO,GAAG,QAAQ,CAAC;IAEjC,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB,WAAW,CAAC,EAAE,WAAW,CAAC;IAE1B,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAE/B,cAAc,CAAC,EAAE,OAAO,CAAC;IAEzB,cAAc,CAAC,EAAE,OAAO,CAAC;IAEzB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;
|
|
1
|
+
{"version":3,"file":"MapHints.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHints.tsx"],"names":[],"mappings":"AASA,KAAK,WAAW,GAAG,MAAM,GAAG,gBAAgB,GAAG,SAAS,GAAG,YAAY,CAAC;AACxE,KAAK,UAAU,GAAG,MAAM,GAAG,SAAS,GAAG,YAAY,CAAC;AAEpD,KAAK,aAAa,GAAG;IACnB,IAAI,EAAE,KAAK,GAAG,OAAO,GAAG,QAAQ,CAAC;IAEjC,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB,WAAW,CAAC,EAAE,WAAW,CAAC;IAE1B,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAE/B,cAAc,CAAC,EAAE,OAAO,CAAC;IAEzB,cAAc,CAAC,EAAE,OAAO,CAAC;IAEzB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAkOF,eAAO,MAAM,QAAQ,0GAqEpB,CAAC"}
|
package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHints.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{jsxs as e,jsx as i,Fragment as t}from"react/jsx-runtime";import{forwardRef as o,useMemo as s}from"react";import l from"classnames";import{CursorIcon as n}from"./components/CursorIcon.js";import{KeyboardKey as r}from"./components/KeyboardKey.js";import{HintItem as a}from"./components/HintItem.js";import c from"./MapHints.module.css.js";import{AttentionIcon as d}from"../../../../../../../icons/iconParkIcons.js";var p=function(o){var s=o.isActive,l=o.hasCircle,c=o.isSatellite;return s?i(a,{icon:i(n,{type:"default"}),text:"Release click to finalize selection",isSatellite:c}):e(t,{children:[l&&i(a,{icon:i(n,{type:"grabbing"}),text:"Drag circle edge to resize radius",isSatellite:c}),i(a,{prefix:"Hold",keyboardKey:i(r,{children:"Shift"}),suffix:"+ drag to select wells",isSatellite:c})]})},
|
|
1
|
+
import{jsxs as e,jsx as i,Fragment as t}from"react/jsx-runtime";import{forwardRef as o,useMemo as s}from"react";import l from"classnames";import{CursorIcon as n}from"./components/CursorIcon.js";import{KeyboardKey as r}from"./components/KeyboardKey.js";import{HintItem as a}from"./components/HintItem.js";import c from"./MapHints.module.css.js";import{AttentionIcon as d}from"../../../../../../../icons/iconParkIcons.js";var p=function(o){var s=o.isActive,l=o.hasCircle,c=o.isSatellite;return s?i(a,{icon:i(n,{type:"default"}),text:"Release click to finalize selection",isSatellite:c}):e(t,{children:[l&&i(a,{icon:i(n,{type:"grabbing"}),text:"Drag circle edge to resize radius",isSatellite:c}),i(a,{prefix:"Hold",keyboardKey:i(r,{children:"Shift"}),suffix:"+ drag to select wells",isSatellite:c})]})},u=function(e){e.phase;var o=e.isDrawing,l=e.pointCount,c=e.isEditingPolygon,d=e.isEditingVertices,p=e.hasPolygon,u=e.showBoxSelectionHint,f=e.isSatellite,h=s((function(){var e=[];return o?0===l?e.push(i(a,{icon:i(n,{type:"cross"}),text:"Click on map to start drawing",isSatellite:f},"start-drawing")):l<3?e.push(i(a,{icon:i(n,{type:"cross"}),text:"Add at least 3 points to create selection",isSatellite:f},"add-points")):e.push(i(a,{prefix:"Press",keyboardKey:i(r,{children:"Enter"}),suffix:"to apply selection",isSatellite:f},"apply-selection")):d?(e.push(i(a,{icon:i(n,{type:"grabbing"}),text:"Drag points to reshape",isSatellite:f},"drag-points")),e.push(i(a,{prefix:"Press",keyboardKey:i(r,{children:"Delete"}),suffix:"to remove",isSatellite:f},"delete-polygon"))):c?(e.push(i(a,{icon:i(n,{type:"grabbing"}),text:"Drag to move",isSatellite:f},"drag-to-move")),e.push(i(a,{prefix:"Press",keyboardKey:i(r,{children:"Delete"}),suffix:"to remove",isSatellite:f},"delete-polygon")),e.push(i(a,{icon:i(n,{type:"default"}),text:"Click again to reshape",isSatellite:f},"reshape"))):p&&e.push(i(a,{icon:i(n,{type:"default"}),text:"Click on selection to modify",isSatellite:f},"modify-selection")),u&&p&&!c&&!d&&e.push(i(a,{prefix:"Hold",keyboardKey:i(r,{children:"Shift"}),suffix:"+ drag to select wells",isSatellite:f},"box-selection")),e}),[o,l,c,d,p,u,f]);return 0===h.length?null:i(t,{children:h})},f=function(o){var s=o.phase,l=o.isSatellite;return"idle"===s?null:"placing-center"===s?e(t,{children:[i(a,{icon:i(n,{type:"cross"}),text:"Click on map to place center point",isSatellite:l}),i(a,{prefix:"Press",keyboardKey:i(r,{children:"Esc"}),suffix:"to cancel",isSatellite:l})]}):"drawing"===s?e(t,{children:[i(a,{icon:i(n,{type:"grabbing"}),text:"Drag to set radius",isSatellite:l}),i(a,{prefix:"Press",keyboardKey:i(r,{children:"Esc"}),suffix:"to cancel",isSatellite:l})]}):null},h=o((function(t,o){var s=t.mode,n=t.isBoxActive,r=void 0!==n&&n,h=t.hasCircle,g=void 0!==h&&h,y=t.radiusPhase,m=void 0===y?"idle":y,x=t.lassoPhase,S=void 0===x?"idle":x,v=t.isDrawing,b=void 0!==v&&v,P=t.pointCount,k=void 0===P?0:P,w=t.isEditingPolygon,C=void 0!==w&&w,D=t.isEditingVertices,E=void 0!==D&&D,H=t.hasPolygon,K=void 0!==H&&H,j=t.showBoxSelectionHint,A=void 0!==j&&j,B=t.isTooZoomedOut,z=void 0!==B&&B,I=t.isLoadAllWells,N=void 0!==I&&I,V=t.isSatellite,M=void 0!==V&&V,Z=t.className,L="box"===s?i(p,{isActive:r,hasCircle:g,isSatellite:M}):"radius"===s?i(f,{phase:m,isSatellite:M}):i(u,{phase:S,isDrawing:b,pointCount:k,isEditingPolygon:C,isEditingVertices:E,hasPolygon:K,showBoxSelectionHint:A,isSatellite:M});return"lasso"!==s&&"radius"!==s||L?e("div",{ref:o,className:l(c.mapHints,Z),children:[z&&!N&&i(a,{icon:i(d,{size:16}),text:"Zoom in to load wells",isSatellite:M}),L]}):null}));h.displayName="MapHints";export{h as MapHints};
|
|
2
2
|
//# sourceMappingURL=MapHints.js.map
|
|
@@ -44,8 +44,12 @@ export declare const HighlightMarkerSize: ExpressionSpecification;
|
|
|
44
44
|
* Selected/offset wells are never clustered - they use a separate non-clustered source.
|
|
45
45
|
*/
|
|
46
46
|
export declare const ClusterConfig: {
|
|
47
|
-
/** Stop clustering at this zoom level (wells become individual at zoom
|
|
47
|
+
/** Stop clustering at this zoom level (wells become individual at zoom > clusterMaxZoom) */
|
|
48
48
|
readonly clusterMaxZoom: 9;
|
|
49
|
+
/** Minimum zoom where individual wells are visible (clusterMaxZoom + 1) */
|
|
50
|
+
readonly unclusteredMinZoom: 10;
|
|
51
|
+
/** Target zoom level when flying to a selected well (comfortable visibility) */
|
|
52
|
+
readonly flyToZoom: 12;
|
|
49
53
|
/** Cluster points within this pixel radius */
|
|
50
54
|
readonly clusterRadius: 75;
|
|
51
55
|
/** Dynamic circle radius based on cluster point count */
|
|
@@ -106,6 +110,7 @@ export declare const MapConfig: {
|
|
|
106
110
|
readonly WellsClusterCount: "wells-cluster-count-layer";
|
|
107
111
|
readonly WellsUnclustered: "wells-unclustered-layer";
|
|
108
112
|
readonly SelectedWells: "selected-wells-layer";
|
|
113
|
+
readonly ClusterHighlights: "cluster-highlights-layer";
|
|
109
114
|
readonly RadiusCircleFill: "radius-circle-fill";
|
|
110
115
|
readonly RadiusCircleStroke: "radius-circle-stroke";
|
|
111
116
|
readonly RadiusCirclePreviewFill: "radius-circle-preview-fill";
|
|
@@ -121,7 +126,6 @@ export declare const MapConfig: {
|
|
|
121
126
|
readonly DrawMidpoint: "gl-draw-midpoint";
|
|
122
127
|
readonly LoadingTilesFill: "loading-tiles-fill";
|
|
123
128
|
readonly GhostZoneFill: "ghost-zone-fill";
|
|
124
|
-
readonly GhostZoneStroke: "ghost-zone-stroke";
|
|
125
129
|
};
|
|
126
130
|
readonly SourceIds: {
|
|
127
131
|
readonly Wells: "wells";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../src/components/OffsetWellPickerV5/components/Map/OffsetWellMap/constants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,WAAW,CAAC;AAEzD,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEzD,MAAM,MAAM,eAAe,GAAG,OAAO,UAAU,CAAC,MAAM,OAAO,UAAU,CAAC,CAAC;AAEzE,MAAM,MAAM,eAAe,GAAG,SAAS,GAAG,SAAS,GAAG,UAAU,CAAC;AAEjE,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,WAAW,CAAC;AAEjD,MAAM,MAAM,iBAAiB,GAAG;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG,MAAM,CAAC,eAAe,EAAE,iBAAiB,CAAC,CAAC;AAE9E,MAAM,MAAM,uBAAuB,GAAG,MAAM,CAAC,eAAe,EAAE,oBAAoB,CAAC,CAAC;AAEpF,MAAM,MAAM,sBAAsB,GAAG,MAAM,CAAC,aAAa,EAAE,uBAAuB,CAAC,CAAC;AAEpF,eAAO,MAAM,YAAY,EAAE,sBAuD1B,CAAC;AAEF;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,cAAc,EAAE,uBAY5B,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,uBAYjC,CAAC;AAEF;;;;;;;;;GASG;AACH,eAAO,MAAM,aAAa;IACxB,
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../src/components/OffsetWellPickerV5/components/Map/OffsetWellMap/constants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,WAAW,CAAC;AAEzD,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEzD,MAAM,MAAM,eAAe,GAAG,OAAO,UAAU,CAAC,MAAM,OAAO,UAAU,CAAC,CAAC;AAEzE,MAAM,MAAM,eAAe,GAAG,SAAS,GAAG,SAAS,GAAG,UAAU,CAAC;AAEjE,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,WAAW,CAAC;AAEjD,MAAM,MAAM,iBAAiB,GAAG;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG,MAAM,CAAC,eAAe,EAAE,iBAAiB,CAAC,CAAC;AAE9E,MAAM,MAAM,uBAAuB,GAAG,MAAM,CAAC,eAAe,EAAE,oBAAoB,CAAC,CAAC;AAEpF,MAAM,MAAM,sBAAsB,GAAG,MAAM,CAAC,aAAa,EAAE,uBAAuB,CAAC,CAAC;AAEpF,eAAO,MAAM,YAAY,EAAE,sBAuD1B,CAAC;AAEF;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,cAAc,EAAE,uBAY5B,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,uBAYjC,CAAC;AAEF;;;;;;;;;GASG;AACH,eAAO,MAAM,aAAa;IACxB,4FAA4F;;IAE5F,2EAA2E;;IAE3E,gFAAgF;;IAEhF,8CAA8C;;IAG9C,yDAAyD;2BASpD,uBAAuB;IAE5B,mEAAmE;0BAS9D,uBAAuB;IAE5B,4BAA4B;;uBAE0B,MAAM,EAAE;;;yBAGvC,CAAC,MAAM,EAAE,MAAM,CAAC;;;CAG/B,CAAC;AAOX;;;;;GAKG;AACH,eAAO,MAAM,uBAAuB,EAAE,MAAM,CAAC,MAAM,EAAE,uBAAuB,CAQ3E,CAAC;AAEF,eAAO,MAAM,SAAS;4BAC6C,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4EpE,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var
|
|
1
|
+
import{__assign as e}from'./../../../../../ext-esm/tslib/tslib.es6.js';var l={satellite:{active:{default:{fill:"rgba(168, 255, 61, 0.8)",stroke:"rgba(56, 102, 0, 0.64)"},hovered:{fill:"#A8FF3D",stroke:"rgba(56, 102, 0, 0.64)"},selected:{fill:"#A8FF3D",stroke:"rgba(56, 102, 0, 0.64)"}},paused:{default:{fill:"rgba(255, 246, 108, 0.8)",stroke:"rgba(102, 96, 10, 0.64)"},hovered:{fill:"#FFF66C",stroke:"rgba(102, 96, 10, 0.64)"},selected:{fill:"#FFF66C",stroke:"rgba(102, 96, 10, 0.64)"}},complete:{default:{fill:"rgba(111, 200, 255, 0.8)",stroke:"rgba(8, 85, 132, 0.64)"},hovered:{fill:"#6FC8FF",stroke:"rgba(8, 85, 132, 0.64)"},selected:{fill:"#6FC8FF",stroke:"rgba(8, 85, 132, 0.64)"}},idle:{default:{fill:"rgba(173, 173, 255, 0.8)",stroke:"rgba(64, 64, 131, 0.64)"},hovered:{fill:"#ADADFF",stroke:"rgba(64, 64, 131, 0.64)"},selected:{fill:"#ADADFF",stroke:"rgba(64, 64, 131, 0.64)"}},unknown:{default:{fill:"rgba(255, 255, 255, 0.8)",stroke:"rgba(82, 82, 82, 0.64)"},hovered:{fill:"#FFFFFF",stroke:"rgba(82, 82, 82, 0.64)"},selected:{fill:"#FFFFFF",stroke:"rgba(82, 82, 82, 0.64)"}}},dark:{active:{default:{fill:"rgba(168, 255, 61, 0.5)"},hovered:{fill:"rgba(150, 241, 38, 0.8)"},selected:{fill:"#A8FF3D"}},paused:{default:{fill:"rgba(255, 246, 108, 0.5)"},hovered:{fill:"rgba(255, 246, 108, 0.8)"},selected:{fill:"#FFF66C"}},complete:{default:{fill:"rgba(118, 194, 255, 0.8)"},hovered:{fill:"rgba(118, 194, 255, 0.8)"},selected:{fill:"#76C2FF"}},idle:{default:{fill:"rgba(173, 173, 255, 0.5)"},hovered:{fill:"rgba(173, 173, 255, 0.8)"},selected:{fill:"#ADADFF"}},unknown:{default:{fill:"rgba(255, 255, 255, 0.5)"},hovered:{fill:"rgba(255, 255, 255, 0.8)"},selected:{fill:"#FFFFFF"}}}},i=["interpolate",["linear"],["zoom"],1,1,8,3,12,5,18,8],r=["interpolate",["linear"],["zoom"],1,2,8,8,12,16,18,20],t={clusterMaxZoom:9,unclusteredMinZoom:10,flyToZoom:12,clusterRadius:75,CircleRadius:["step",["get","point_count"],15,100,20,1e3,25],CircleColor:["step",["get","point_count"],"#51bbd6",100,"#f1f075",1e3,"#f28cb1"],Label:{font:["Roboto Medium","Arial Unicode MS Bold"],size:14,letterSpacing:-.014,offset:[0,.15],color:"#141414"}},s=e(e({},Object.fromEntries(["active","paused","complete","idle","unknown"].map((function(e){return["count_".concat(e),["+",["case",["==",["get","status"],e],1,0]]]})))),{count_selected:["+",["get","isSelected"]]}),a={DefaultCoords:{latitude:29.749907,longitude:-95.358421},Zoom:{Initial:8.5,Max:18,Min:1},Radius:{Max:3e3,Min:.01},Markers:{WellSize:i,HighlightSize:r},Colors:{OffsetWell:"#03BCD4",RadiusCircle:"#03BCD4",DefaultWell:"#BDBDBD"},SelectionColors:{dark:{border:"#03BCD4",fill:"rgba(3, 188, 212, 0.08)",borderWidth:1},satellite:{border:"#FFE679",fill:"rgba(255, 193, 7, 0.08)",borderWidth:2}},LayerIds:{Wells:"wells-layer",WellsClusters:"wells-clusters-layer",WellsClusterCount:"wells-cluster-count-layer",WellsUnclustered:"wells-unclustered-layer",SelectedWells:"selected-wells-layer",ClusterHighlights:"cluster-highlights-layer",RadiusCircleFill:"radius-circle-fill",RadiusCircleStroke:"radius-circle-stroke",RadiusCirclePreviewFill:"radius-circle-preview-fill",RadiusCirclePreviewStroke:"radius-circle-preview-stroke",RadiusDrawingPreviewFill:"radius-drawing-preview-fill",RadiusDrawingPreviewStroke:"radius-drawing-preview-stroke",WellHighlights:"well-highlights-layer",ActiveHighlight:"active-highlight-layer",HoverHighlight:"hover-highlight-layer",DrawPolygonFill:"gl-draw-polygon-fill",DrawLines:"gl-draw-lines",DrawVertexOuter:"gl-draw-vertex-outer",DrawMidpoint:"gl-draw-midpoint",LoadingTilesFill:"loading-tiles-fill",GhostZoneFill:"ghost-zone-fill"},SourceIds:{Wells:"wells",WellsClustered:"wells-clustered",SelectedWells:"selected-wells",RadiusCircle:"radius-circle",RadiusCirclePreview:"radius-circle-preview",RadiusDrawingPreview:"radius-drawing-preview",WellHighlights:"well-highlights",ActiveHighlight:"active-highlight",HoverHighlight:"hover-highlight",LoadingTiles:"loading-tiles",GhostZone:"ghost-zone"},Styles:{dark:"mapbox://styles/mapbox/dark-v9",satellite:"mapbox://styles/mapbox/satellite-v9"}};export{t as ClusterConfig,s as ClusterStatusProperties,r as HighlightMarkerSize,a as MapConfig,l as StatusColors,i as WellMarkerSize};
|
|
2
2
|
//# sourceMappingURL=constants.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":
|
|
1
|
+
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA,yBAAyB,6CAAgD;"}
|
package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useLassoSelection.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useLassoSelection.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useLassoSelection.ts"],"names":[],"mappings":"AAAA,OAAO,EAKL,SAAS,EACT,gBAAgB,EAEjB,MAAM,OAAO,CAAC;AACf,OAAO,UAAU,MAAM,wBAAwB,CAAC;AAChD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAGnD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AAC1E,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sCAAsC,CAAC;AACvE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,+CAA+C,CAAC;AAKhF,KAAK,uBAAuB,GAAG;IAC7B,MAAM,EAAE,SAAS,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IACjC,QAAQ,EAAE,OAAO,CAAC;IAClB,UAAU,EAAE,OAAO,CAAC;IACpB,iBAAiB,EAAE,OAAO,CAAC;IAC3B,eAAe,EAAE,CAAC,MAAM,EAAE,YAAY,EAAE,GAAG,SAAS,KAAK,IAAI,CAAC;IAC9D,YAAY,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,UAAU,EAAE,CAAC;IACrB,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IAC9C,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC/B,CAAC;AAEF,KAAK,uBAAuB,GAAG;IAC7B,UAAU,EAAE,UAAU,CAAC;IACvB,SAAS,EAAE,OAAO,CAAC;IACnB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,gBAAgB,EAAE,OAAO,CAAC;IAC1B,iBAAiB,EAAE,OAAO,CAAC;IAC3B,iBAAiB,EAAE,OAAO,CAAC;IAC3B,mBAAmB,EAAE,MAAM,CAAC;IAC5B,OAAO,EAAE,gBAAgB,CAAC,UAAU,GAAG,IAAI,CAAC,CAAC;IAC7C,gBAAgB,EAAE,CAAC,CAAC,EAAE;QAAE,QAAQ,EAAE,OAAO,CAAC,OAAO,EAAE,CAAA;KAAE,KAAK,IAAI,CAAC;IAC/D,gBAAgB,EAAE,CAAC,CAAC,EAAE;QAAE,QAAQ,EAAE,OAAO,CAAC,OAAO,EAAE,CAAA;KAAE,KAAK,IAAI,CAAC;IAC/D,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAC7B,gBAAgB,EAAE,CAAC,CAAC,EAAE;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;IAChD,qBAAqB,EAAE,CAAC,CAAC,EAAE;QAAE,QAAQ,EAAE,OAAO,CAAC,OAAO,EAAE,CAAA;KAAE,KAAK,IAAI,CAAC;IACpE,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,eAAe,EAAE,MAAM,IAAI,CAAC;IAC5B,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,MAAM,EAAE,MAAM,IAAI,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,0IAW/B,uBAAuB,KAAG,
|
|
1
|
+
{"version":3,"file":"useLassoSelection.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useLassoSelection.ts"],"names":[],"mappings":"AAAA,OAAO,EAKL,SAAS,EACT,gBAAgB,EAEjB,MAAM,OAAO,CAAC;AACf,OAAO,UAAU,MAAM,wBAAwB,CAAC;AAChD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAGnD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AAC1E,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sCAAsC,CAAC;AACvE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,+CAA+C,CAAC;AAKhF,KAAK,uBAAuB,GAAG;IAC7B,MAAM,EAAE,SAAS,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IACjC,QAAQ,EAAE,OAAO,CAAC;IAClB,UAAU,EAAE,OAAO,CAAC;IACpB,iBAAiB,EAAE,OAAO,CAAC;IAC3B,eAAe,EAAE,CAAC,MAAM,EAAE,YAAY,EAAE,GAAG,SAAS,KAAK,IAAI,CAAC;IAC9D,YAAY,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,UAAU,EAAE,CAAC;IACrB,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IAC9C,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC/B,CAAC;AAEF,KAAK,uBAAuB,GAAG;IAC7B,UAAU,EAAE,UAAU,CAAC;IACvB,SAAS,EAAE,OAAO,CAAC;IACnB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,gBAAgB,EAAE,OAAO,CAAC;IAC1B,iBAAiB,EAAE,OAAO,CAAC;IAC3B,iBAAiB,EAAE,OAAO,CAAC;IAC3B,mBAAmB,EAAE,MAAM,CAAC;IAC5B,OAAO,EAAE,gBAAgB,CAAC,UAAU,GAAG,IAAI,CAAC,CAAC;IAC7C,gBAAgB,EAAE,CAAC,CAAC,EAAE;QAAE,QAAQ,EAAE,OAAO,CAAC,OAAO,EAAE,CAAA;KAAE,KAAK,IAAI,CAAC;IAC/D,gBAAgB,EAAE,CAAC,CAAC,EAAE;QAAE,QAAQ,EAAE,OAAO,CAAC,OAAO,EAAE,CAAA;KAAE,KAAK,IAAI,CAAC;IAC/D,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAC7B,gBAAgB,EAAE,CAAC,CAAC,EAAE;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;IAChD,qBAAqB,EAAE,CAAC,CAAC,EAAE;QAAE,QAAQ,EAAE,OAAO,CAAC,OAAO,EAAE,CAAA;KAAE,KAAK,IAAI,CAAC;IACpE,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,eAAe,EAAE,MAAM,IAAI,CAAC;IAC5B,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,MAAM,EAAE,MAAM,IAAI,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,0IAW/B,uBAAuB,KAAG,uBAmW5B,CAAC"}
|
package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useLassoSelection.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{useRef as e,useState as n,useMemo as t,useCallback as o,useEffect as r}from"react";import"../../../../stores/selection-tool-store/SelectionToolStoreContext.js";import"../../../../stores/selection-tool-store/SelectionToolStoreProvider.js";import"zustand";import{useSelectionToolStore as i}from"../../../../stores/selection-tool-store/useSelectionToolStore.js";import{getWellsInPolygon as l}from"../../../../utils/selection-geometry.js";import{convertDrawCoordsToApi as u}from"../utils/polygonCoords.js";var a=function(a){var c=a.mapRef,d=a.isActive,s=a.isMapReady,g=a.hasInitialPolygon,f=a.onPolygonChange,p=a.wellsLayerId,
|
|
1
|
+
import{useRef as e,useState as n,useMemo as t,useCallback as o,useEffect as r}from"react";import"../../../../stores/selection-tool-store/SelectionToolStoreContext.js";import"../../../../stores/selection-tool-store/SelectionToolStoreProvider.js";import"zustand";import{useSelectionToolStore as i}from"../../../../stores/selection-tool-store/useSelectionToolStore.js";import{getWellsInPolygon as l}from"../../../../utils/selection-geometry.js";import{convertDrawCoordsToApi as u}from"../utils/polygonCoords.js";var a=function(a){var c=a.mapRef,d=a.isActive,s=a.isMapReady,g=a.hasInitialPolygon,f=a.onPolygonChange,p=a.wellsLayerId,v=a.wells,h=a.onWellsSelected,y=a.onDeactivate,m=a.subjectWellId,w=i((function(e){return e.setLassoState})),A=i((function(e){return e.lassoState})),M=i((function(e){return e.setMode})),P=e(null),C=e(d),S=e(!1),_=n(d&&!g),D=_[0],j=_[1],I=n(0),R=I[0],x=I[1],E=n(!1),T=E[0],k=E[1],L=n(!1),W=L[0],b=L[1],q=n(null),z=q[0],F=q[1],U=t((function(){return!v||!z||z.length<3?[]:l(v,z,null!=m?m:void 0)}),[v,z,m]),V=o((function(e){var n=u(e);F(n),j(!1),x(0),w({phase:"confirming",polygon:n.map((function(e){return{latitude:e.latitude,longitude:e.longitude}}))})}),[w]),B=o((function(e){var n=e.features[0];if("Polygon"===(null==n?void 0:n.geometry.type)){var t=n.geometry.coordinates[0];V(t)}}),[V]),G=o((function(e){var n=e.features[0];if("Polygon"===(null==n?void 0:n.geometry.type)){var t=n.geometry.coordinates[0],o=u(t);"confirming"===A.phase?(F(o),w({phase:"confirming",polygon:o.map((function(e){return{latitude:e.latitude,longitude:e.longitude}}))})):f(o)}}),[A.phase,f,w]),H=o((function(){"confirming"===A.phase?(F(null),w({phase:"idle"})):f(void 0),P.current&&(P.current.changeMode("draw_polygon"),j(!0),w({phase:"drawing",pointCount:0}))}),[A.phase,f,w]),J=o((function(){P.current&&(P.current.deleteAll(),P.current.changeMode("draw_polygon"),x(0))}),[]),K=o((function(){if(P.current&&!(R<3)){var e=P.current.getAll().features[0];if(e&&"Polygon"===e.geometry.type){var n=e.geometry.coordinates[0];!n||n.length<3||(V(n),P.current.changeMode("simple_select",{featureIds:[]}),k(!1),b(!1))}}}),[R,V]),N=o((function(){P.current&&(P.current.deleteAll(),"confirming"!==A.phase&&f(void 0),F(null),P.current.changeMode("draw_polygon"),j(!0),k(!1),b(!1),w({phase:"drawing",pointCount:0}))}),[A.phase,f,w]),O=o((function(){if("confirming"===A.phase&&z){var e=U.map((function(e){return e.id}));null==h||h(e),P.current&&(P.current.deleteAll(),P.current.changeMode("draw_polygon")),F(null),j(!0),k(!1),b(!1),w({phase:"idle"}),M("none"),null==y||y()}}),[A.phase,z,U,h,w,M,y]),Q=o((function(){P.current&&(P.current.deleteAll(),P.current.changeMode("draw_polygon")),F(null),j(!0),k(!1),b(!1),w({phase:"idle"}),M("none"),null==y||y()}),[w,M,y]),X=o((function(e){j("draw_polygon"===e.mode),b("direct_select"===e.mode)}),[]),Y=o((function(e){if(S.current&&e.features.length>0&&P.current)return S.current=!1,void P.current.changeMode("simple_select",{featureIds:[]});S.current=!1,k(e.features.length>0)}),[]),Z=o((function(){if(P.current){var e=P.current.getAll().features[0];if("Polygon"===(null==e?void 0:e.geometry.type)){var n=e.geometry.coordinates[0];x(Math.max(0,n.length-2))}}}),[]);return r((function(){var e,n=null===(e=c.current)||void 0===e?void 0:e.getMap();if(n&&d&&D&&s)return n.on("click",Z),function(){n.off("click",Z)}}),[c,d,D,s,Z]),r((function(){var e=C.current;if(C.current=d,d!==e){if(x(0),k(!1),b(!1),F(null),!d)return j(!1),void w({phase:"idle"});f(void 0),j(!0),w({phase:"drawing",pointCount:0}),P.current&&(P.current.deleteAll(),P.current.changeMode("draw_polygon"))}}),[d,f,w]),r((function(){var e,n=null===(e=c.current)||void 0===e?void 0:e.getMap();if(n&&d&&s){var t=function(e){var t=n.queryRenderedFeatures(e.point,{layers:[p]});S.current=t.length>0};return n.on("mousedown",t),function(){n.off("mousedown",t)}}}),[c,d,s,p]),r((function(){var e,n,t;if("confirming"===A.phase&&!T&&!W){var o=null===(e=P.current)||void 0===e?void 0:e.getAll(),r=null==o?void 0:o.features[0];if("Polygon"===(null===(n=null==r?void 0:r.geometry)||void 0===n?void 0:n.type)){var i=r.geometry,l=null===(t=null==i?void 0:i.coordinates)||void 0===t?void 0:t[0];if(!Array.isArray(l)||0===l.length||!Array.isArray(l[0]))return;var a=u(l);F(a),w({phase:"confirming",polygon:a.map((function(e){return{latitude:e.latitude,longitude:e.longitude}}))})}}}),[T,W,A.phase,w]),{lassoState:A,isDrawing:D,drawingPointCount:R,isEditingPolygon:T,isEditingVertices:W,isActivelyEditing:T||W,wellsInPolygonCount:U.length,drawRef:P,handleDrawCreate:B,handleDrawUpdate:G,handleDrawDelete:H,handleModeChange:X,handleSelectionChange:Y,discardDrawing:J,completeDrawing:K,deletePolygon:N,confirm:O,cancel:Q}};export{a as useLassoSelection};
|
|
2
2
|
//# sourceMappingURL=useLassoSelection.js.map
|
|
@@ -2,9 +2,8 @@ type RadiusPhase = 'idle' | 'placing-center' | 'drawing' | 'confirming';
|
|
|
2
2
|
type UseRadiusKeyboardHandlersParams = {
|
|
3
3
|
isRadiusActive: boolean;
|
|
4
4
|
radiusPhase: RadiusPhase;
|
|
5
|
-
confirm: () => void;
|
|
6
5
|
cancel: () => void;
|
|
7
6
|
};
|
|
8
|
-
export declare const useRadiusKeyboardHandlers: ({ isRadiusActive, radiusPhase,
|
|
7
|
+
export declare const useRadiusKeyboardHandlers: ({ isRadiusActive, radiusPhase, cancel, }: UseRadiusKeyboardHandlersParams) => void;
|
|
9
8
|
export {};
|
|
10
9
|
//# sourceMappingURL=useRadiusKeyboardHandlers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useRadiusKeyboardHandlers.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useRadiusKeyboardHandlers.ts"],"names":[],"mappings":"AAEA,KAAK,WAAW,GAAG,MAAM,GAAG,gBAAgB,GAAG,SAAS,GAAG,YAAY,CAAC;AAExE,KAAK,+BAA+B,GAAG;IACrC,cAAc,EAAE,OAAO,CAAC;IACxB,WAAW,EAAE,WAAW,CAAC;IACzB,
|
|
1
|
+
{"version":3,"file":"useRadiusKeyboardHandlers.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useRadiusKeyboardHandlers.ts"],"names":[],"mappings":"AAEA,KAAK,WAAW,GAAG,MAAM,GAAG,gBAAgB,GAAG,SAAS,GAAG,YAAY,CAAC;AAExE,KAAK,+BAA+B,GAAG;IACrC,cAAc,EAAE,OAAO,CAAC;IACxB,WAAW,EAAE,WAAW,CAAC;IACzB,MAAM,EAAE,MAAM,IAAI,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,yBAAyB,GAAI,0CAIvC,+BAA+B,KAAG,IAwBpC,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{useEffect as e}from"react";var n=function(n){var t=n.isRadiusActive,o=n.radiusPhase,r=n.
|
|
1
|
+
import{useEffect as e}from"react";var n=function(n){var t=n.isRadiusActive,o=n.radiusPhase,r=n.cancel,i="idle"!==o;e((function(){if(t){var e=function(e){"Escape"===e.key&&i&&(e.preventDefault(),e.stopPropagation(),r())};return document.addEventListener("keydown",e,!0),function(){document.removeEventListener("keydown",e,!0)}}}),[t,i,r])};export{n as useRadiusKeyboardHandlers};
|
|
2
2
|
//# sourceMappingURL=useRadiusKeyboardHandlers.js.map
|
|
@@ -5,9 +5,17 @@ export type HoveredWellState = {
|
|
|
5
5
|
isSubjectWell: boolean;
|
|
6
6
|
coords: Coordinates;
|
|
7
7
|
};
|
|
8
|
+
export type HoveredClusterState = {
|
|
9
|
+
clusterId: number;
|
|
10
|
+
coords: Coordinates;
|
|
11
|
+
totalCount: number;
|
|
12
|
+
selectedCount: number;
|
|
13
|
+
};
|
|
8
14
|
type UseTooltipReturn = {
|
|
9
15
|
hoveredWell: HoveredWellState | null;
|
|
16
|
+
hoveredCluster: HoveredClusterState | null;
|
|
10
17
|
showTooltip: (params: HoveredWellState) => void;
|
|
18
|
+
showClusterTooltip: (params: HoveredClusterState) => void;
|
|
11
19
|
hideTooltip: () => void;
|
|
12
20
|
};
|
|
13
21
|
export declare const useTooltip: () => UseTooltipReturn;
|
package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useTooltip.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useTooltip.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useTooltip.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAE3D,MAAM,MAAM,gBAAgB,GAAG;IAC7B,IAAI,EAAE,IAAI,CAAC;IACX,YAAY,EAAE,OAAO,CAAC;IACtB,aAAa,EAAE,OAAO,CAAC;IACvB,MAAM,EAAE,WAAW,CAAC;CACrB,CAAC;AAEF,KAAK,gBAAgB,GAAG;IACtB,WAAW,EAAE,gBAAgB,GAAG,IAAI,CAAC;IACrC,WAAW,EAAE,CAAC,MAAM,EAAE,gBAAgB,KAAK,IAAI,CAAC;IAChD,WAAW,EAAE,MAAM,IAAI,CAAC;CACzB,CAAC;AAEF,eAAO,MAAM,UAAU,QAAO,
|
|
1
|
+
{"version":3,"file":"useTooltip.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useTooltip.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAE3D,MAAM,MAAM,gBAAgB,GAAG;IAC7B,IAAI,EAAE,IAAI,CAAC;IACX,YAAY,EAAE,OAAO,CAAC;IACtB,aAAa,EAAE,OAAO,CAAC;IACvB,MAAM,EAAE,WAAW,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,WAAW,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,KAAK,gBAAgB,GAAG;IACtB,WAAW,EAAE,gBAAgB,GAAG,IAAI,CAAC;IACrC,cAAc,EAAE,mBAAmB,GAAG,IAAI,CAAC;IAC3C,WAAW,EAAE,CAAC,MAAM,EAAE,gBAAgB,KAAK,IAAI,CAAC;IAChD,kBAAkB,EAAE,CAAC,MAAM,EAAE,mBAAmB,KAAK,IAAI,CAAC;IAC1D,WAAW,EAAE,MAAM,IAAI,CAAC;CACzB,CAAC;AAEF,eAAO,MAAM,UAAU,QAAO,gBA0B7B,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{useState as
|
|
1
|
+
import{useState as l,useCallback as o}from"react";var n=function(){var n=l(null),t=n[0],u=n[1],r=l(null),e=r[0],i=r[1];return{hoveredWell:t,hoveredCluster:e,showTooltip:o((function(l){i(null),u(l)}),[]),showClusterTooltip:o((function(l){u(null),i(l)}),[]),hideTooltip:o((function(){u(null),i(null)}),[])}};export{n as useTooltip};
|
|
2
2
|
//# sourceMappingURL=useTooltip.js.map
|
package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useWellMarkers.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ export type WellFeatureProperties = {
|
|
|
9
9
|
rigReleaseDate: number | undefined;
|
|
10
10
|
isOffsetWell: boolean;
|
|
11
11
|
isSubjectWell: boolean;
|
|
12
|
+
isSelected: number;
|
|
12
13
|
color: string;
|
|
13
14
|
strokeColor: string | null;
|
|
14
15
|
strokeWidth: number;
|
|
@@ -23,12 +24,7 @@ type UseWellMarkersParams = {
|
|
|
23
24
|
mapStyle: MapStyleValue;
|
|
24
25
|
};
|
|
25
26
|
type UseWellMarkersReturn = {
|
|
26
|
-
/** All wells GeoJSON (for backward compatibility with existing features) */
|
|
27
27
|
wellsGeoJSON: WellFeatureCollection;
|
|
28
|
-
/** Non-selected wells that can be clustered */
|
|
29
|
-
clusterableWellsGeoJSON: WellFeatureCollection;
|
|
30
|
-
/** Selected/offset wells that should never be clustered */
|
|
31
|
-
selectedWellsGeoJSON: WellFeatureCollection;
|
|
32
28
|
highlightGeoJSON: WellFeatureCollection;
|
|
33
29
|
activeHighlightGeoJSON: WellFeatureCollection | null;
|
|
34
30
|
};
|
package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useWellMarkers.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useWellMarkers.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useWellMarkers.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,iBAAiB,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEjE,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAS3D,MAAM,MAAM,qBAAqB,GAAG;IAClC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,cAAc,EAAE,MAAM,GAAG,SAAS,CAAC;IACnC,YAAY,EAAE,OAAO,CAAC;IACtB,aAAa,EAAE,OAAO,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG,OAAO,CAAC,KAAK,EAAE,qBAAqB,CAAC,CAAC;AAChE,MAAM,MAAM,qBAAqB,GAAG,iBAAiB,CAAC,KAAK,EAAE,qBAAqB,CAAC,CAAC;AAEpF,KAAK,oBAAoB,GAAG;IAC1B,KAAK,EAAE,IAAI,EAAE,CAAC;IACd,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,WAAW,EAAE,WAAW,GAAG,IAAI,CAAC;IAChC,QAAQ,EAAE,aAAa,CAAC;CACzB,CAAC;AAEF,KAAK,oBAAoB,GAAG;IAC1B,
|
|
1
|
+
{"version":3,"file":"useWellMarkers.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useWellMarkers.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,iBAAiB,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEjE,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAS3D,MAAM,MAAM,qBAAqB,GAAG;IAClC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,cAAc,EAAE,MAAM,GAAG,SAAS,CAAC;IACnC,YAAY,EAAE,OAAO,CAAC;IACtB,aAAa,EAAE,OAAO,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG,OAAO,CAAC,KAAK,EAAE,qBAAqB,CAAC,CAAC;AAChE,MAAM,MAAM,qBAAqB,GAAG,iBAAiB,CAAC,KAAK,EAAE,qBAAqB,CAAC,CAAC;AAEpF,KAAK,oBAAoB,GAAG;IAC1B,KAAK,EAAE,IAAI,EAAE,CAAC;IACd,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,WAAW,EAAE,WAAW,GAAG,IAAI,CAAC;IAChC,QAAQ,EAAE,aAAa,CAAC;CACzB,CAAC;AAEF,KAAK,oBAAoB,GAAG;IAC1B,YAAY,EAAE,qBAAqB,CAAC;IACpC,gBAAgB,EAAE,qBAAqB,CAAC;IACxC,sBAAsB,EAAE,qBAAqB,GAAG,IAAI,CAAC;CACtD,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,gEAM5B,oBAAoB,KAAG,oBAqGzB,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__spreadArray as e}from'./../../../../../../ext-esm/tslib/tslib.es6.js';import{useMemo as t}from"react";import{toCoordinates as
|
|
1
|
+
import{__spreadArray as e}from'./../../../../../../ext-esm/tslib/tslib.es6.js';import{useMemo as t}from"react";import{toCoordinates as o}from"../utils/toCoordinates.js";import{toMapboxCoords as i}from"../utils/toMapboxCoords.js";import{getStatusColor as l}from"../utils/getStatusColor.js";import{mapbox as r}from"../../../../../../utils/index.js";var s=r.isValidCoordinates,u=function(r){var u=r.wells,n=r.offsetWellIds,a=r.activeWellId,d=r.subjectWell,f=r.mapStyle,p="satellite"===f,c=t((function(){return new Set(n)}),[n]),m=t((function(){var t=[],r=[],n=[];return u.forEach((function(e){e.id!==(null==d?void 0:d.id)&&(e.id&&c.has(e.id)?r.push(e):n.push(e))})),e(e([],n,!0),r,!0).forEach((function(e){var r,u=null===(r=null==e?void 0:e.topHole)||void 0===r?void 0:r.coordinates;if(u&&s(u)){var n=o(u),a=(null==d?void 0:d.id)===e.id,m=!!e.id&&(c.has(e.id)&&!a),h=m?"selected":"default",v=l({status:e.status,mapStyle:f,state:h,isSubjectWell:a});t.push({type:"Feature",geometry:{type:"Point",coordinates:i(n)},properties:{id:e.id||0,name:e.name||"",status:e.status||"unknown",totalDepth:e.totalDepth,rigReleaseDate:e.rigReleaseDate,isOffsetWell:m,isSubjectWell:a,isSelected:m?1:0,color:v.fill,strokeColor:p&&v.stroke?v.stroke:null,strokeWidth:p?1:0}})}})),{type:"FeatureCollection",features:t}}),[u,c,d,f,p]),h=t((function(){return{type:"FeatureCollection",features:m.features.filter((function(e){return e.properties.isOffsetWell}))}}),[m]),v=t((function(){if(!a||a===(null==d?void 0:d.id))return null;var e=m.features.find((function(e){return e.properties.id===a}));return e?{type:"FeatureCollection",features:[e]}:null}),[m,a,null==d?void 0:d.id]);return{wellsGeoJSON:m,highlightGeoJSON:h,activeHighlightGeoJSON:v}};export{u as useWellMarkers};
|
|
2
2
|
//# sourceMappingURL=useWellMarkers.js.map
|