@corva/ui 3.66.0-0 → 3.66.0-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs-bundle/components/OffsetWellPickerV5/OffsetWellPickerV5.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/OffsetWellPickerV5.module.css.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/AppHeader/components/HeaderActions/HeaderActions.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/Filter.module.css.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/VirtualizedListBox/hooks/useContainerMaxHeight.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/hooks/useGridEdgeDetection.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/OffsetWellMap.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHintsStash.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHintsStash.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHintsStash.module.css.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHintsStash.module.css.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapOverlayControls/MapOverlayControls.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapResizeVeil/MapResizeVeil.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapResizeVeil/MapResizeVeil.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapResizeVeil/MapResizeVeil.module.css.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapResizeVeil/MapResizeVeil.module.css.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SubjectWellMarker/SubjectWellMarker.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SubjectWellMarker/SubjectWellMarker.module.css.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useIsMapCompact.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useIsMapCompact.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useMapResizeOnContainer.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useMapResizeOnContainer.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useMapTooltipState.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useOffsetWellMapState.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useSelectionToolOrchestration.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/WellsMap/WellsMap.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/MapColumn/MapColumn.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/MapResizeHandle/MapResizeHandle.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV5/components/MapResizeHandle/MapResizeHandle.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV5/components/MapResizeHandle/MapResizeHandle.module.css.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV5/components/MapResizeHandle/MapResizeHandle.module.css.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV5/components/MapResizeHandle/getEffectiveMapWidthBounds.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV5/components/MapResizeHandle/getEffectiveMapWidthBounds.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV5/components/MapResizeHandle/useMapResize.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV5/components/MapResizeHandle/useMapResize.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/components/UserSettingsWrapper/UserSettingsWrapper.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AdvancedSearch.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AdvancedSearch.module.css.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AssetResultSection/AssetResultSection.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AssetTypesSection/AssetTypesSection.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AutoCompleteAssetSearch/AutoCompleteAssetSearch.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/OffsetWellsTable.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/OffsetWellsTable.module.css.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/CompanyCell/CompanyCell.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/FormationCell/FormationCell.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/InterventionAssetCell/InterventionAssetCell.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/PadNameCell/PadNameCell.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/RigCell/RigCell.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/WellNameCell/WellNameCell.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/WellSectionCell/WellSectionCell.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/MetricCell/MetricCell.module.css.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/OffsetWellsTableHead/OffsetWellsTableHead.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/OffsetWellsTableHead/OffsetWellsTableHead.module.css.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/OffsetWellsTableRow/OffsetWellsTableRow.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/OffsetWellsTableRow/OffsetWellsTableRow.module.css.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/SettingsMenu.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/SettingsMenu.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/SettingsMenu.module.scss.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/MetricsSettingsSection/MetricsSettingsSection.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/MetricsSettingsSection/MetricsSettingsSection.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/MetricsSettingsSection/MetricsSettingsSection.module.scss.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/MetricsSettingsSection/MetricsSettingsSection.module.scss.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/SettingsAccordion/SettingsAccordion.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/SettingsAccordion/SettingsAccordion.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/SettingsAccordion/SettingsAccordion.module.scss.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/SettingsAccordion/SettingsAccordion.module.scss.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/TableSettingsSection/TableSettingsSection.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/TableSettingsSection/TableSettingsSection.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/TableSettingsSection/TableSettingsSection.module.scss.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/TableSettingsSection/TableSettingsSection.module.scss.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SkeletonTableRow/SkeletonTableRow.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SkeletonTableRow/SkeletonTableRow.module.css.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/WellNameHeaderCell/WellNameHeaderCell.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/hooks/useHScrollShadowReconcile.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/hooks/useHScrollShadowReconcile.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/hooks/useTablePagination.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/TableSection/TableSection.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/constants.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useCompanyMetricKey.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/hooks/useElementSize.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV5/hooks/useResizeObserverEffect.js +2 -0
- package/cjs-bundle/components/OffsetWellPickerV5/hooks/useResizeObserverEffect.js.map +1 -0
- package/cjs-bundle/components/OffsetWellPickerV5/stores/user-settings-store/utils/subscribeToSettingsSave.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/stores/view-store/ViewStoreProvider.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/stores/view-store/createViewStore.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/stores/view-store/utils/useViewStoreSettingsSync.js +1 -1
- package/components/OffsetWellPickerV5/OffsetWellPickerV5.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/OffsetWellPickerV5.js +1 -1
- package/components/OffsetWellPickerV5/OffsetWellPickerV5.module.css.js +1 -1
- package/components/OffsetWellPickerV5/components/AppHeader/components/HeaderActions/HeaderActions.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/AppHeader/components/HeaderActions/HeaderActions.js +1 -1
- package/components/OffsetWellPickerV5/components/Filter/Filter.module.css.js +1 -1
- package/components/OffsetWellPickerV5/components/Filter/components/VirtualizedListBox/hooks/useContainerMaxHeight.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/Filter/components/VirtualizedListBox/hooks/useContainerMaxHeight.js +1 -1
- package/components/OffsetWellPickerV5/components/Filter/hooks/useGridEdgeDetection.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/Filter/hooks/useGridEdgeDetection.js +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/OffsetWellMap.d.ts +2 -0
- 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/MapHints/MapHints.d.ts +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHints.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHintsStash.d.ts +17 -0
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHintsStash.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHintsStash.js +2 -0
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHintsStash.js.map +1 -0
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHintsStash.module.css.js +2 -0
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHintsStash.module.css.js.map +1 -0
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/index.d.ts +2 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/index.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapOverlayControls/MapOverlayControls.d.ts +4 -2
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapOverlayControls/MapOverlayControls.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapOverlayControls/MapOverlayControls.js +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapResizeVeil/MapResizeVeil.d.ts +12 -0
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapResizeVeil/MapResizeVeil.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapResizeVeil/MapResizeVeil.js +2 -0
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapResizeVeil/MapResizeVeil.js.map +1 -0
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapResizeVeil/MapResizeVeil.module.css.js +2 -0
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapResizeVeil/MapResizeVeil.module.css.js.map +1 -0
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapResizeVeil/__tests__/MapResizeVeil.test.d.ts +2 -0
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapResizeVeil/__tests__/MapResizeVeil.test.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapResizeVeil/index.d.ts +2 -0
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapResizeVeil/index.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SubjectWellMarker/SubjectWellMarker.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SubjectWellMarker/SubjectWellMarker.js +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SubjectWellMarker/SubjectWellMarker.module.css.js +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/__tests__/useIsMapCompact.test.d.ts +2 -0
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/__tests__/useIsMapCompact.test.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/__tests__/useMapResizeOnContainer.test.d.ts +2 -0
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/__tests__/useMapResizeOnContainer.test.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/index.d.ts +2 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/index.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useIsMapCompact.d.ts +14 -0
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useIsMapCompact.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useIsMapCompact.js +2 -0
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useIsMapCompact.js.map +1 -0
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useMapResizeOnContainer.d.ts +20 -0
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useMapResizeOnContainer.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useMapResizeOnContainer.js +2 -0
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useMapResizeOnContainer.js.map +1 -0
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useMapTooltipState.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useMapTooltipState.js +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useOffsetWellMapState.js +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useSelectionToolOrchestration.js +1 -1
- package/components/OffsetWellPickerV5/components/Map/WellsMap/WellsMap.d.ts +2 -0
- package/components/OffsetWellPickerV5/components/Map/WellsMap/WellsMap.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/Map/WellsMap/WellsMap.js +1 -1
- package/components/OffsetWellPickerV5/components/MapColumn/MapColumn.d.ts +3 -1
- package/components/OffsetWellPickerV5/components/MapColumn/MapColumn.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/MapColumn/MapColumn.js +1 -1
- package/components/OffsetWellPickerV5/components/MapResizeHandle/MapResizeHandle.d.ts +14 -0
- package/components/OffsetWellPickerV5/components/MapResizeHandle/MapResizeHandle.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/components/MapResizeHandle/MapResizeHandle.js +2 -0
- package/components/OffsetWellPickerV5/components/MapResizeHandle/MapResizeHandle.js.map +1 -0
- package/components/OffsetWellPickerV5/components/MapResizeHandle/MapResizeHandle.module.css.js +2 -0
- package/components/OffsetWellPickerV5/components/MapResizeHandle/MapResizeHandle.module.css.js.map +1 -0
- package/components/OffsetWellPickerV5/components/MapResizeHandle/__tests__/getEffectiveMapWidthBounds.test.d.ts +2 -0
- package/components/OffsetWellPickerV5/components/MapResizeHandle/__tests__/getEffectiveMapWidthBounds.test.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/components/MapResizeHandle/getEffectiveMapWidthBounds.d.ts +16 -0
- package/components/OffsetWellPickerV5/components/MapResizeHandle/getEffectiveMapWidthBounds.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/components/MapResizeHandle/getEffectiveMapWidthBounds.js +2 -0
- package/components/OffsetWellPickerV5/components/MapResizeHandle/getEffectiveMapWidthBounds.js.map +1 -0
- package/components/OffsetWellPickerV5/components/MapResizeHandle/index.d.ts +4 -0
- package/components/OffsetWellPickerV5/components/MapResizeHandle/index.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/components/MapResizeHandle/useMapResize.d.ts +29 -0
- package/components/OffsetWellPickerV5/components/MapResizeHandle/useMapResize.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/components/MapResizeHandle/useMapResize.js +2 -0
- package/components/OffsetWellPickerV5/components/MapResizeHandle/useMapResize.js.map +1 -0
- package/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.d.ts +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.types.d.ts +3 -1
- package/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.types.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/components/UserSettingsWrapper/UserSettingsWrapper.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/components/UserSettingsWrapper/UserSettingsWrapper.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AdvancedSearch.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AdvancedSearch.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AdvancedSearch.module.css.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AssetResultSection/AssetResultSection.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AssetTypesSection/AssetTypesSection.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AssetTypesSection/AssetTypesSection.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AutoCompleteAssetSearch/AutoCompleteAssetSearch.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AutoCompleteAssetSearch/AutoCompleteAssetSearch.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/OffsetWellsTable.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/OffsetWellsTable.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/OffsetWellsTable.module.css.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/CompanyCell/CompanyCell.d.ts +2 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/CompanyCell/CompanyCell.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/CompanyCell/CompanyCell.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/FormationCell/FormationCell.d.ts +2 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/FormationCell/FormationCell.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/FormationCell/FormationCell.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/InterventionAssetCell/InterventionAssetCell.d.ts +2 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/InterventionAssetCell/InterventionAssetCell.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/InterventionAssetCell/InterventionAssetCell.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/PadNameCell/PadNameCell.d.ts +2 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/PadNameCell/PadNameCell.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/PadNameCell/PadNameCell.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/RigCell/RigCell.d.ts +2 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/RigCell/RigCell.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/RigCell/RigCell.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/WellNameCell/WellNameCell.d.ts +2 -3
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/WellNameCell/WellNameCell.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/WellNameCell/WellNameCell.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/WellSectionCell/WellSectionCell.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/WellSectionCell/WellSectionCell.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/MetricCell/MetricCell.module.css.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/OffsetWellsTableHead/OffsetWellsTableHead.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/OffsetWellsTableHead/OffsetWellsTableHead.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/OffsetWellsTableHead/OffsetWellsTableHead.module.css.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/OffsetWellsTableRow/OffsetWellsTableRow.d.ts +1 -2
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/OffsetWellsTableRow/OffsetWellsTableRow.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/OffsetWellsTableRow/OffsetWellsTableRow.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/OffsetWellsTableRow/OffsetWellsTableRow.module.css.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/SettingsMenu.d.ts +7 -0
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/SettingsMenu.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/SettingsMenu.js +2 -0
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/SettingsMenu.js.map +1 -0
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/SettingsMenu.module.scss.js +2 -0
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/MetricsSettingsSection/MetricsSettingsSection.d.ts +15 -0
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/MetricsSettingsSection/MetricsSettingsSection.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/MetricsSettingsSection/MetricsSettingsSection.js +2 -0
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/MetricsSettingsSection/MetricsSettingsSection.js.map +1 -0
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/MetricsSettingsSection/MetricsSettingsSection.module.scss.js +2 -0
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/MetricsSettingsSection/MetricsSettingsSection.module.scss.js.map +1 -0
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/MetricsSettingsSection/index.d.ts +2 -0
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/MetricsSettingsSection/index.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/SettingsAccordion/SettingsAccordion.d.ts +16 -0
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/SettingsAccordion/SettingsAccordion.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/SettingsAccordion/SettingsAccordion.js +2 -0
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/SettingsAccordion/SettingsAccordion.js.map +1 -0
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/SettingsAccordion/SettingsAccordion.module.scss.js +2 -0
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/SettingsAccordion/SettingsAccordion.module.scss.js.map +1 -0
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/SettingsAccordion/index.d.ts +2 -0
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/SettingsAccordion/index.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/TableSettingsSection/TableSettingsSection.d.ts +7 -0
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/TableSettingsSection/TableSettingsSection.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/TableSettingsSection/TableSettingsSection.js +2 -0
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/TableSettingsSection/TableSettingsSection.js.map +1 -0
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/TableSettingsSection/TableSettingsSection.module.scss.js +2 -0
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/TableSettingsSection/TableSettingsSection.module.scss.js.map +1 -0
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/TableSettingsSection/index.d.ts +2 -0
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/TableSettingsSection/index.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/index.d.ts +2 -0
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/{SubjectWellMark → SettingsMenu}/index.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SkeletonTableRow/SkeletonTableRow.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SkeletonTableRow/SkeletonTableRow.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SkeletonTableRow/SkeletonTableRow.module.css.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/WellNameHeaderCell/WellNameHeaderCell.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/WellNameHeaderCell/WellNameHeaderCell.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/hooks/__tests__/useHScrollShadowReconcile.test.d.ts +2 -0
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/hooks/__tests__/useHScrollShadowReconcile.test.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/hooks/useHScrollShadowReconcile.d.ts +34 -0
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/hooks/useHScrollShadowReconcile.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/hooks/useHScrollShadowReconcile.js +2 -0
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/hooks/useHScrollShadowReconcile.js.map +1 -0
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/hooks/useTablePagination.d.ts +1 -2
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/hooks/useTablePagination.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/hooks/useTablePagination.js +1 -1
- package/components/OffsetWellPickerV5/components/TableSection/TableSection.d.ts +4 -2
- package/components/OffsetWellPickerV5/components/TableSection/TableSection.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/TableSection/TableSection.js +1 -1
- package/components/OffsetWellPickerV5/constants.d.ts +17 -1
- package/components/OffsetWellPickerV5/constants.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/constants.js +1 -1
- package/components/OffsetWellPickerV5/hooks/__tests__/resize-observer-test-utils.d.ts +19 -0
- package/components/OffsetWellPickerV5/hooks/__tests__/resize-observer-test-utils.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/hooks/__tests__/useResizeObserverEffect.test.d.ts +2 -0
- package/components/OffsetWellPickerV5/hooks/__tests__/useResizeObserverEffect.test.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useCompanyMetricKey.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useCompanyMetricKey.js +1 -1
- package/components/OffsetWellPickerV5/hooks/useElementSize.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/hooks/useElementSize.js +2 -0
- package/components/OffsetWellPickerV5/hooks/useResizeObserverEffect.d.ts +14 -0
- package/components/OffsetWellPickerV5/hooks/useResizeObserverEffect.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/hooks/useResizeObserverEffect.js +2 -0
- package/components/OffsetWellPickerV5/hooks/useResizeObserverEffect.js.map +1 -0
- package/components/OffsetWellPickerV5/stores/user-settings-store/createUserSettingsStore.d.ts +3 -1
- package/components/OffsetWellPickerV5/stores/user-settings-store/createUserSettingsStore.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/stores/user-settings-store/utils/subscribeToSettingsSave.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/stores/user-settings-store/utils/subscribeToSettingsSave.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/view-store/__tests__/createViewStore.test.d.ts +2 -0
- package/components/OffsetWellPickerV5/stores/view-store/__tests__/createViewStore.test.d.ts.map +1 -0
- package/components/OffsetWellPickerV5/stores/view-store/createViewStore.d.ts +6 -0
- package/components/OffsetWellPickerV5/stores/view-store/createViewStore.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/stores/view-store/createViewStore.js +1 -1
- package/components/OffsetWellPickerV5/stores/view-store/utils/useViewStoreSettingsSync.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/stores/view-store/utils/useViewStoreSettingsSync.js +1 -1
- package/mcp-server/server.mjs +1 -1
- package/package.json +1 -1
- package/tsconfig.tsbuildinfo +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useElementSize.js +0 -2
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/MetricsSettingMenu/MetricsSettingMenu.js +0 -2
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/MetricsSettingMenu/MetricsSettingMenu.js.map +0 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/MetricsSettingMenu/MetricsSettingMenu.module.scss.js +0 -2
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SubjectWellMark/SubjectWellMark.js +0 -2
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SubjectWellMark/SubjectWellMark.js.map +0 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/useColumnShadow.js +0 -2
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/useColumnShadow.js.map +0 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useElementSize.d.ts.map +0 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useElementSize.js +0 -2
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/MetricsSettingMenu/MetricsSettingMenu.d.ts +0 -7
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/MetricsSettingMenu/MetricsSettingMenu.d.ts.map +0 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/MetricsSettingMenu/MetricsSettingMenu.js +0 -2
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/MetricsSettingMenu/MetricsSettingMenu.js.map +0 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/MetricsSettingMenu/MetricsSettingMenu.module.scss.js +0 -2
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/MetricsSettingMenu/index.d.ts +0 -2
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/MetricsSettingMenu/index.d.ts.map +0 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SubjectWellMark/SubjectWellMark.d.ts +0 -6
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SubjectWellMark/SubjectWellMark.d.ts.map +0 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SubjectWellMark/SubjectWellMark.js +0 -2
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SubjectWellMark/SubjectWellMark.js.map +0 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SubjectWellMark/index.d.ts +0 -2
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/useColumnShadow.d.ts +0 -8
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/useColumnShadow.d.ts.map +0 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/useColumnShadow.js +0 -2
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/useColumnShadow.js.map +0 -1
- /package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/{MetricsSettingMenu/MetricsSettingMenu.module.scss.js.map → SettingsMenu/SettingsMenu.module.scss.js.map} +0 -0
- /package/cjs-bundle/components/OffsetWellPickerV5/{components/Map/OffsetWellMap/hooks → hooks}/useElementSize.js.map +0 -0
- /package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/{MetricsSettingMenu/MetricsSettingMenu.module.scss.js.map → SettingsMenu/SettingsMenu.module.scss.js.map} +0 -0
- /package/components/OffsetWellPickerV5/{components/Map/OffsetWellMap/hooks → hooks}/useElementSize.d.ts +0 -0
- /package/components/OffsetWellPickerV5/{components/Map/OffsetWellMap/hooks → hooks}/useElementSize.js.map +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MapResizeVeil.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapResizeVeil/__tests__/MapResizeVeil.test.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapResizeVeil/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,KAAK,kBAAkB,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SubjectWellMarker.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SubjectWellMarker/SubjectWellMarker.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAG3B,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"SubjectWellMarker.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SubjectWellMarker/SubjectWellMarker.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAG3B,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAMxD,KAAK,sBAAsB,GAAG;IAC5B,WAAW,EAAE,WAAW,CAAC;IACzB,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,YAAY,EAAE,MAAM,IAAI,CAAC;CAC1B,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,sBAAsB,CAexD,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{jsx as e,jsxs as o}from"react/jsx-runtime";import{Marker as r}from"@vis.gl/react-mapbox";import t from"./SubjectWellMarker.module.css.js";var a=function(a){var i=a.coordinates,n=a.onMouseEnter,l=a.onMouseLeave;return e(r,{longitude:i.longitude,latitude:i.latitude,anchor:"bottom",children:o("div",{className:t.container,onMouseEnter:n,onMouseLeave:l,children:[e("div",{className:t.label,children:"SUBJECT WELL"}),e("div",{className:t.circle})]})})};export{a as SubjectWellMarker};
|
|
1
|
+
import{jsx as o,jsxs as s}from"react/jsx-runtime";import{Marker as t}from"@vis.gl/react-mapbox";import n from"./SubjectWellMarker.module.css.js";import"../../../../../../../componentsV2/Text/Text.js";import"../../../../../../../componentsV2/Grid/Grid.js";import"../../../../../../../componentsV2/Grid/Cell.js";import"@babel/runtime/helpers/defineProperty";import"classnames";import"../../../../../../../componentsV2/Header/Header.scss.js";import"../../../../../../../componentsV2/Button/Button.js";import"../../../../../../../componentsV2/ButtonIcon/ButtonIcon.js";import"@babel/runtime/helpers/objectWithoutProperties";import"@material-ui/core";import"react";import"../../../../../../DevCenter/DevCenterAppContainer/components/IsInsideIsolatedDcAppProvider/IsInsideIsolatedDcAppProvider.js";import"../../../../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js";import"../../../../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js";import"@babel/runtime/helpers/slicedToArray";import"uuid";import"../../../../../../../componentsV2/Tooltip/Tooltip.scss.js";import"../../../../../../../componentsV2/Popover/Popover.js";import"../../../../../../../componentsV2/PopoverPanel/PopoverPanel.js";import"../../../../../../../componentsV2/Radio/Radio.js";import"../../../../../../../componentsV2/RadioAndCheckboxGroup/RadioAndCheckboxGroup.scss.js";import"../../../../../../../componentsV2/Checkbox/Checkbox.js";import"@babel/runtime/helpers/toConsumableArray";import"../../../../../../../componentsV2/TextInput/TextInput.js";import"../../../../../../../componentsV2/TextInputNext/TextInputNext.js";import"../../../../../../../componentsV2/Label/Label.js";import"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"@icon-park/react/es/all";import"../../../../../../../icons/IconParkProvider.js";import"../../../../../../../icons/customIcons/icons/AddMessage.js";import"../../../../../../../icons/customIcons/icons/Attention.js";import"../../../../../../../icons/customIcons/icons/Collapse.js";import"../../../../../../../icons/customIcons/icons/Dashboard.js";import"../../../../../../../icons/customIcons/icons/Expand.js";import"../../../../../../../icons/customIcons/icons/FolderClosed.js";import"../../../../../../../icons/customIcons/icons/FolderClosedFilled.js";import"../../../../../../../icons/customIcons/icons/FolderOpened.js";import"../../../../../../../icons/customIcons/icons/GreaterOrEqual.js";import"../../../../../../../icons/customIcons/icons/LessOrEqual.js";import"../../../../../../../icons/customIcons/icons/Search.js";import"../../../../../../../icons/customIcons/icons/SearchOne.js";import"../../../../../../../icons/customIcons/icons/Wellhub.js";import"../../../../../../../icons/customIcons/icons/MultiRuler.js";import"../../../../../../../icons/customIcons/icons/Checkbox.js";import"../../../../../../../icons/customIcons/icons/CheckboxChecked.js";import"../../../../../../../icons/customIcons/icons/CheckboxIndeterminate.js";import"../../../../../../../icons/customIcons/icons/Radio.js";import"../../../../../../../icons/customIcons/icons/RadioChecked.js";import"../../../../../../../icons/customIcons/icons/SimulFrac.js";import"../../../../../../../icons/customIcons/icons/ZipperFrac.js";import"../../../../../../../icons/customIcons/icons/CautionFilled.js";import"../../../../../../../icons/customIcons/icons/MoreApp.js";import"../../../../../../../icons/customIcons/icons/Pad.js";import"../../../../../../../icons/customIcons/icons/DrilloutUnit.js";import"../../../../../../../icons/customIcons/icons/FracFleet.js";import"../../../../../../../icons/customIcons/icons/Global.js";import"../../../../../../../icons/customIcons/icons/Program.js";import"../../../../../../../icons/customIcons/icons/Rig.js";import"../../../../../../../icons/customIcons/icons/Well.js";import"../../../../../../../icons/customIcons/icons/Gap.js";import"../../../../../../../icons/customIcons/icons/Pin.js";import"../../../../../../../icons/customIcons/icons/CloseOneFilled.js";import"../../../../../../../icons/customIcons/icons/AttentionFilled.js";import"../../../../../../../icons/customIcons/icons/CheckOneFilled.js";import"../../../../../../../icons/customIcons/icons/Archive.js";import"../../../../../../../icons/customIcons/icons/ArchiveCancel.js";import"../../../../../../../icons/customIcons/icons/Unarchive.js";import"../../../../../../../icons/customIcons/icons/Archived.js";import"../../../../../../../icons/customIcons/icons/InterventionUnit.js";import"../../../../../../../icons/customIcons/icons/CloudDelete.js";import"../../../../../../../icons/customIcons/icons/Lasso.js";import"../../../../../../../icons/customIcons/icons/Radius.js";import"../../../../../../../icons/customIcons/icons/ErrorOps.js";import"../../../../../../../icons/customIcons/icons/DataTypeOps.js";import"../../../../../../../icons/customIcons/icons/FalsePositiveOps.js";import"../../../../../../../icons/customIcons/icons/CalibrationOps.js";import"../../../../../../../icons/customIcons/icons/CriticalOps.js";import"../../../../../../../icons/customIcons/icons/Company.js";import"../../../../../../../icons/customIcons/icons/ArchiveOne.js";import"../../../../../../../icons/customIcons/icons/ParseBotFusion.js";import"../../../../../../../icons/customIcons/icons/Connect.js";import"../../../../../../../icons/customIcons/icons/PuzzleOne.js";import"../../../../../../../icons/customIcons/icons/Feed.js";import"../../../../../../../icons/customIcons/icons/Prompt.js";import"../../../../../../../icons/customIcons/icons/Companies.js";import"../../../../../../../icons/customIcons/icons/ClipboardAi.js";import"../../../../../../../icons/customIcons/icons/Key.js";import"../../../../../../../icons/customIcons/icons/AtSignCrossed.js";import"../../../../../../../icons/customIcons/icons/MappingManual.js";import"../../../../../../../icons/customIcons/icons/Mapping.js";import"../../../../../../../icons/customIcons/icons/Metrics.js";import"../../../../../../../icons/customIcons/icons/Drops.js";import"../../../../../../../icons/customIcons/icons/ClipboardSearch.js";import"../../../../../../../icons/customIcons/icons/Template.js";import"../../../../../../../icons/customIcons/icons/ClipboardMetrics.js";import"../../../../../../../icons/customIcons/icons/ClipboardBuilder.js";import"../../../../../../../icons/customIcons/icons/UnitConversion.js";import"../../../../../../../icons/customIcons/icons/NPT.js";import"../../../../../../../icons/customIcons/icons/GuidedFrac.js";import"../../../../../../../componentsV2/utils.js";import"../../../../../../../componentsV2/Hint/Hint.scss.js";import"../../../../../../../componentsV2/Counter/Counter.js";import"../../../../../../../componentsV2/BadgeBase/BadgeBase.scss.js";import"../../../../../../../componentsV2/TemplatesControl/TemplatesControl.js";import"zustand";import"../../../../../../../componentsV2/TemplatesControl/utils.js";import"../../../../../../../componentsV2/TemplatesControl/icons/folder/index.js";import"../../../../../../../componentsV2/TemplatesControl/Store/utils.js";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"../../../../../../../componentsV2/TemplatesControl/types.js";import"../../../../../../../utils/index.js";import"../../../../../../../clients/jsonApi/index.js";import"../../../../../../../permissions/PermissionsContext.js";import"../../../../../../../permissions/constants/index.js";import"../../../../../../../permissions/withPermissionsHOC.js";import"../../../../../../../permissions/ProvidePermissions.js";import"../../../../../../../componentsV2/BadgeDot/BadgeDot.scss.js";import"../../../../../../../componentsV2/LoaderLinear/LoaderLinear.scss.js";import"../../../../../../../componentsV2/LoaderLogo/LoaderLogo.constants.js";import"../../../../../../../componentsV2/LoaderLogo/LoaderLogo.scss.js";import"../../../../../../../componentsV2/Switch/Switch.js";import"../../../../../../../componentsV2/Tabs/Tabs.js";import"../../../../../../../componentsV2/EmptyState/EmptyState.scss.js";import"../../../../../../../componentsV2/FileIcon/FileIcon.js";import{Tag as e}from"../../../../../../../componentsV2/Tag/Tag.js";import"react-dropzone";import"../../../../../../../componentsV2/FilesDropzone/FilesDropzone.scss.js";import"../../../../../../../componentsV2/FilesLoader/FilesLoader.scss.js";import"../../../../../../../componentsV2/FilesProcessor/FilesProcessor.scss.js";import"../../../../../../../componentsV2/Skeleton/Skeleton.scss.js";import"../../../../../../../utils/main.js";import"../../../../../../../componentsV2/CopyToClipboard/CopyToClipboard.scss.js";import"../../../../../../../componentsV2/Stepper/Step/Step.scss.js";import"../../../../../../../componentsV2/Stepper/Stepper.scss.js";import"../../../../../../../componentsV2/ButtonLive/ButtonLive.js";import"../../../../../../../componentsV2/ButtonText/ButtonText.js";import"../../../../../../../componentsV2/IndicatorLive/IndicatorLive.js";import"../../../../../../../componentsV2/Accordion/Accordion.scss.js";import"../../../../../../../componentsV2/Breadcrumbs/Breadcrumbs.scss.js";import"../../../../../../../componentsV2/BadgeComment/BadgeComment.js";import"../../../../../../../componentsV2/AppContainer/AppContainer.js";import"../../../../../../../componentsV2/AppContainer/AppContainer.constants.js";import"../../../../../../../componentsV2/AppFooter/AppFooter.js";import"immutable";import"query-string";import"../../../../../../../constants/goals.js";import"../../../../../../../constants/segment.js";import"../../../../../../../constants/alerts.js";import"../../../../../../../constants/apps.js";import"../../../../../../../constants/drillstring.js";import"../../../../../../../constants/completion.js";import"../../../../../../../constants/appPackages.js";import"../../../../../../../constants/notifications.js";import"../../../../../../../constants/feed.js";import"../../../../../../../constants/bha.js";import"../../../../../../../constants/corvaCompanyId.js";import"../../../../../../GradientManager/configuration/constants.js";import"../../../../../../../componentsV2/AppCommonsProvider/AppCommonsContext.js";import"../../../../../../../componentsV2/AppHeader/AppHeader.constants.js";import"../../../../../../../componentsV2/AppHeader/AppBadge/AppBadge.scss.js";import"../../../../../../DevCenter/DevCenterRouterContext/DevCenterRouterContext.js";import"../../../../../../DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js";import"react-router-dom";import"../../../../../../../componentsV2/AppHeader/AppAssets/utils.js";import"../../../../../../../componentsV2/AppHeader/AppAssets/AppAssets.scss.js";import"../../../../../../PadModeSelect/PadModeSelect.js";import"../../../../../../../componentsV2/AppHeader/PadMode/PadMode.scss.js";import"../../../../../../../constants/streamSourceType.js";import"../../../../../../../componentsV2/PadModeSelect/PadModeSelect.js";import"../../../../../../../componentsV2/PadModeSelect/PadModeSelect.constants.js";import"../../../../../../../componentsV2/AppCommonsProvider/AppCommonsProvider.js";import"../../../../../../../utils/mobileDetect.js";import"../../../../../../../componentsV2/AppHeader/V3/VersionSelect/VersionSelect.js";import"../../../../../../../componentsV2/UniversalLink/UniversalLink.scss.js";import"../../../../../../../componentsV2/AppHeader/V3/AssetChips/AssetChips.scss.js";import"moment";import"../../../../../../../componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.js";import"../../../../../../../componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.constants.js";import"../../../../../../../componentsV2/AppFooter/DqPopover/DqStatusIcon/DqStatusIcon.js";import"../../../../../../../componentsV2/AppDqPopover/DqAlertTooltip/DqAlertTooltip.scss.js";import"../../../../../../../componentsV2/AppDqPopover/DqAlert/DqAlert.scss.js";import"../../../../../../../componentsV2/AppDqPopover/DqAsset/DqAsset.scss.js";import"../../../../../../../componentsV2/AppDqPopover/AppDqPopover.scss.js";import"../../../../../../AppIcon/AppIcon.js";import"../../../../../../../utils/getSingleAsset.js";import"../../../../../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorChip/AssetSelectorChip.js";import"../../../../../../../componentsV2/AppHeader/V3/AssetSelector/constants.js";import"../../../../../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/AssetSelectorSelect.scss.js";import"../../../../../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/loadAssets.js";import"../../../../../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelector.scss.js";import"../../../../../../../clients/subscriptions/constants.js";import"querystring";import"uuid/v1";import"../../../../../../../clients/subscriptions.v1.js";import"../../../../../../../clients/subscriptions/subscriptions-client.factory.js";import"jsona";import"../../../../../../../utils/env.js";import"../../../../../../StatusBadge/constants.js";import"lodash/set";import"lodash/get";import"lodash/unset";import"../../../../../../../clients/api/apiCore.js";import"../../../../../../../clients/constants.js";import"../../../../../../../clients/sso/auth0.js";import"../../../../../../../clients/sso/oauth2.js";import"../../../../../../../clients/api/rateLimiter.js";import"lodash/isEmpty";import"lodash/sortBy";import"../../../../../../DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchContext.js";import"../../../../../../../componentsV2/AppSettings/AppSettingsPinningContext.js";import"../../../../../../../componentsV2/AppHeader/V3/AppTitle/AppTitle.constants.js";import"../../../../../../../componentsV2/AppHeader/V3/AppTitle/AppTitle.scss.js";import"../../../../../../../componentsV2/AppHeader/V3/constants.scss.js";import"@babel/runtime/helpers/typeof";import"../../../../../../../componentsV2/AppHeader/V3/SettingsButton/SettingsButton.js";import"../../../../../../../componentsV2/AppHeader/V3/SettingsButton/SettingsButton.constants.js";import"../../../../../../../componentsV2/AppSettings/AppSettings.js";import"../../../../../../../componentsV2/AppSettings/AppSettings.constants.js";import"../../../../../../../componentsV2/AppSizeProvider/AppSizeProvider.js";import"../../../../../../../componentsV2/AppHeader/V3/Actions/Actions.constants.js";import"../../../../../../../componentsV2/AppHeader/V3/Actions/Actions.scss.js";import"../../../../../../../componentsV2/AppHeader/V3/AppHeaderV3.scss.js";import"../../../../../../../componentsV2/AppHeader/AppHeader.scss.js";import"../../../../../../../componentsV2/OffsetWellsButton/OffsetWellsButton.js";import"../../../../../../../componentsV2/Autocomplete/Autocomplete.js";import"../../../../../../../componentsV2/Select/Select.js";import"../../../../../../../componentsV2/AppSettingsDivider/AppSettingsDivider.scss.js";import"../../../../../../../componentsV2/WellArchivedMessage/WellArchivedMessage.js";import"../../../../../../../componentsV2/DatePicker/DatePicker.js";import"../../../../../../../componentsV2/DragHandle/DragHandle.js";import"../../../../../../../componentsV2/CompletionsOffsetWellPicker/CompletionsOffsetWellPicker.js";import"../../../../../../../componentsV2/Slider/constants.js";import"../../../../../../../componentsV2/Slider/components/SliderThumb.js";import"../../../../../../../componentsV2/Slider/Slider.scss.js";import"react-color";import"../../../../../../../componentsV2/ColorPicker/Swatches/Swatches.scss.js";import"../../../../../../../componentsV2/ColorPicker/OpacityDragtracker/OpacityDragTracker.scss.js";import"../../../../../../../componentsV2/ColorPicker/ColorPicker.scss.js";var i=function(i){var c=i.coordinates,p=i.onMouseEnter,r=i.onMouseLeave;return o(t,{longitude:c.longitude,latitude:c.latitude,anchor:"bottom",children:s("div",{className:n.container,onMouseEnter:p,onMouseLeave:r,children:[o(e,{state:"light",size:"small",className:n.label,children:"SUBJECT WELL"}),o("div",{className:n.circle})]})})};export{i as SubjectWellMarker};
|
|
2
2
|
//# sourceMappingURL=SubjectWellMarker.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import e from'./../../../../../../../ext-esm/style-inject/dist/style-inject.es.js';var r={container:"SubjectWellMarker-module_container__fIT6h",label:"SubjectWellMarker-module_label__r4NH6",circle:"SubjectWellMarker-module_circle__DrDww"};e(".SubjectWellMarker-module_container__fIT6h{align-items:center;cursor:pointer;display:flex;flex-direction:column}.SubjectWellMarker-module_label__r4NH6{background
|
|
1
|
+
import e from'./../../../../../../../ext-esm/style-inject/dist/style-inject.es.js';var r={container:"SubjectWellMarker-module_container__fIT6h",label:"SubjectWellMarker-module_label__r4NH6",circle:"SubjectWellMarker-module_circle__DrDww"};e(".SubjectWellMarker-module_container__fIT6h{align-items:center;cursor:pointer;display:flex;flex-direction:column}.SubjectWellMarker-module_label__r4NH6{background:var(--palette-primary-main)!important;margin-bottom:4px}.SubjectWellMarker-module_circle__DrDww{background-color:#03bcd4;border-radius:50%;height:10px;width:10px}");export{r as default};
|
|
2
2
|
//# sourceMappingURL=SubjectWellMarker.module.css.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useIsMapCompact.test.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/__tests__/useIsMapCompact.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useMapResizeOnContainer.test.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/__tests__/useMapResizeOnContainer.test.ts"],"names":[],"mappings":""}
|
|
@@ -8,13 +8,14 @@ export { usePrevious } from './usePrevious';
|
|
|
8
8
|
export { useLassoSelection } from './useLassoSelection';
|
|
9
9
|
export { useLassoKeyboardHandlers } from './useLassoKeyboardHandlers';
|
|
10
10
|
export { useBoxSelection } from './useBoxSelection';
|
|
11
|
-
export { useElementSize } from './useElementSize';
|
|
12
11
|
export { useRadiusDrawing } from './useRadiusDrawing';
|
|
13
12
|
export { useRadiusKeyboardHandlers } from './useRadiusKeyboardHandlers';
|
|
14
13
|
export { useSyncViewportBounds } from './useSyncViewportBounds';
|
|
15
14
|
export { useLoadingTilesGeoJSON } from './useLoadingTilesGeoJSON';
|
|
16
15
|
export { useConfirmationPopupPosition } from './useConfirmationPopupPosition';
|
|
17
16
|
export { useZoomLimitState } from './useZoomLimitState';
|
|
17
|
+
export { useIsMapCompact } from './useIsMapCompact';
|
|
18
|
+
export { useMapResizeOnContainer } from './useMapResizeOnContainer';
|
|
18
19
|
export { useIsMapMoving } from './useIsMapMoving';
|
|
19
20
|
export { useTileSafeEnforcement } from './useTileSafeEnforcement';
|
|
20
21
|
export { useSelectionToast } from './useSelectionToast';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAC1E,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AACtE,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAC1E,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AACtE,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AACxE,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAC9E,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAChF,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AACxE,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
type UseIsMapCompactResult = {
|
|
2
|
+
ref: (element: HTMLElement | null) => void;
|
|
3
|
+
isCompact: boolean;
|
|
4
|
+
};
|
|
5
|
+
/**
|
|
6
|
+
* Observes an element's width and reports whether it is below `breakpoint`.
|
|
7
|
+
*
|
|
8
|
+
* Unlike `useElementSize`, this commits only a boolean to state and skips same-value commits.
|
|
9
|
+
* So while a width changes every frame during a map resize, the consumer re-renders at most
|
|
10
|
+
* once per breakpoint crossing, not per frame.
|
|
11
|
+
*/
|
|
12
|
+
export declare const useIsMapCompact: (breakpoint?: number) => UseIsMapCompactResult;
|
|
13
|
+
export {};
|
|
14
|
+
//# sourceMappingURL=useIsMapCompact.d.ts.map
|
package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useIsMapCompact.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useIsMapCompact.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useIsMapCompact.ts"],"names":[],"mappings":"AAMA,KAAK,qBAAqB,GAAG;IAC3B,GAAG,EAAE,CAAC,OAAO,EAAE,WAAW,GAAG,IAAI,KAAK,IAAI,CAAC;IAC3C,SAAS,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,eAAe,GAC1B,aAAY,MAAuC,KAClD,qBA8BF,CAAC"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import r from"@babel/runtime/helpers/slicedToArray";import{useState as t,useRef as e,useCallback as o,useEffect as n}from"react";import{MapLayout as i}from"../../../../constants.js";import{useResizeObserverEffect as c}from"../../../../hooks/useResizeObserverEffect.js";var s=function(){var s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i.hintsStashBreakpoint,f=t(!1),a=r(f,2),u=a[0],m=a[1],p=e(!1),h=e(0),v=o((function(r){p.current!==r&&(p.current=r,m(r))}),[]),l=o((function(r){var t=r.width;h.current=t,v(t>0&&t<s)}),[s,v]),b=c(l),d=b.ref;return n((function(){var r=h.current;v(r>0&&r<s)}),[s,v]),{ref:d,isCompact:u}};export{s as useIsMapCompact};
|
|
2
|
+
//# sourceMappingURL=useIsMapCompact.js.map
|
package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useIsMapCompact.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useIsMapCompact.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { RefObject } from 'react';
|
|
2
|
+
import type { MapRef } from '@vis.gl/react-mapbox';
|
|
3
|
+
type RefCallback = (node: HTMLElement | null) => void;
|
|
4
|
+
/**
|
|
5
|
+
* Keeps the mapbox canvas in sync with its container width.
|
|
6
|
+
*
|
|
7
|
+
* The map/content split is resized by writing the `--offset-map-width` CSS var straight to
|
|
8
|
+
* the DOM (no React re-render), and mapbox's built-in `trackResize` does not re-fit the
|
|
9
|
+
* canvas here. So we observe the container ourselves and call `map.resize()` (throttled to a
|
|
10
|
+
* frame) on every size change — which also fires the map's `onResize` (tile-safe) handler.
|
|
11
|
+
*
|
|
12
|
+
* While the user is actively dragging the resize handle (`isResizing`), we *suspend* the
|
|
13
|
+
* per-frame `map.resize()`: reallocating the WebGL drawing buffer every frame causes a
|
|
14
|
+
* black-frame / tile-reload flicker. During the drag the canvas simply CSS-stretches; on
|
|
15
|
+
* drag-end we run exactly one reconciling `resize()` to snap the canvas crisp to the final
|
|
16
|
+
* size (which fires `move`/`moveend`, so viewport bounds + tile fetch reconcile too).
|
|
17
|
+
*/
|
|
18
|
+
export declare const useMapResizeOnContainer: (mapRef: RefObject<MapRef | null>, isResizing?: boolean) => RefCallback;
|
|
19
|
+
export {};
|
|
20
|
+
//# sourceMappingURL=useMapResizeOnContainer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useMapResizeOnContainer.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useMapResizeOnContainer.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAInD,KAAK,WAAW,GAAG,CAAC,IAAI,EAAE,WAAW,GAAG,IAAI,KAAK,IAAI,CAAC;AAEtD;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,uBAAuB,GAClC,QAAQ,SAAS,CAAC,MAAM,GAAG,IAAI,CAAC,EAChC,oBAAkB,KACjB,WAiEF,CAAC"}
|
package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useMapResizeOnContainer.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{useRef as r,useCallback as n,useEffect as e}from"react";import{useResizeObserverEffect as u}from"../../../../hooks/useResizeObserverEffect.js";var t=function(t){var c=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=r(null),i=r(null),l=r(c);l.current=c;var a=r(c),f=n((function(){null!==o.current&&(cancelAnimationFrame(o.current),o.current=null)}),[]),m=n((function(){l.current||null===o.current&&(o.current=requestAnimationFrame((function(){var r,n;o.current=null,l.current||null===(r=t.current)||void 0===r||null===(n=r.getMap())||void 0===n||n.resize()})))}),[t]),v=u(m,{measureOnMount:!1}),s=v.ref;e((function(){a.current&&!c&&m(),a.current=c}),[c,m]);var p=n((function(r){r!==i.current&&(f(),i.current=r),s(r)}),[f,s]);return e((function(){return f}),[f]),p};export{t as useMapResizeOnContainer};
|
|
2
|
+
//# sourceMappingURL=useMapResizeOnContainer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useMapResizeOnContainer.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useMapTooltipState.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useMapTooltipState.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useMapTooltipState.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"useMapTooltipState.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useMapTooltipState.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAMnD,KAAK,wBAAwB,GAAG;IAC9B,MAAM,EAAE,SAAS,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IACjC,UAAU,EAAE,OAAO,CAAC;IACpB,WAAW,EAAE,OAAO,CAAC;CACtB,CAAC;AAGF,eAAO,MAAM,kBAAkB,GAAI,sCAIhC,wBAAwB;;;;;;;;;CAwB1B,CAAC"}
|
package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useMapTooltipState.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/helpers/slicedToArray";import"react";import"geolib";import"lodash/isEqual";import"lodash/throttle";import"../../../../../../utils/index.js";import"../constants.js";import"../../../../../../utils/convert.js";import"@turf/circle";import"@turf/bbox";import"@mapbox/tilebelt";import"@babel/runtime/helpers/toConsumableArray";import"mapbox-gl";import"./utils/well-markers-utils.js";import{useTooltip as
|
|
1
|
+
import{useElementSize as o}from"../../../../hooks/useElementSize.js";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/helpers/slicedToArray";import"react";import"geolib";import"lodash/isEqual";import"lodash/throttle";import"../../../../../../utils/index.js";import"../constants.js";import"../../../../../../utils/convert.js";import"@turf/circle";import"@turf/bbox";import"@mapbox/tilebelt";import"@babel/runtime/helpers/toConsumableArray";import"mapbox-gl";import"./utils/well-markers-utils.js";import{useTooltip as t}from"./useTooltip.js";import{useTooltipAnchor as e}from"./useTooltipAnchor.js";import"../../../../stores/selection-tool-store/SelectionToolStoreContext.js";import"../../../../stores/selection-tool-store/SelectionToolStoreProvider.js";import"zustand";import"../../../../stores/viewport-store/ViewportStoreContext.js";import"../../../../constants.js";import"../../../../stores/filter-store/FilterStoreContext.js";import"../../../../stores/picker-props-store/PickerPropsStoreContext.js";import"../../../../stores/viewport-store/ViewportStoreProvider.js";import"../../../../stores/view-store/ViewStoreContext.js";var r=function(r){var i,s,l=r.mapRef,p=r.isViewOnly,m=r.isClickable,n=t(),h=n.hoveredWell,u=n.hoveredCluster,a=n.showTooltip,c=n.showClusterTooltip,d=n.hideTooltip,b=o(),j=b.ref,f=b.width,v=b.height,w=e({mapRef:l,coords:null!==(i=null==h?void 0:h.coords)&&void 0!==i?i:null,isSubjectWell:null!==(s=null==h?void 0:h.isSubjectWell)&&void 0!==s&&s,isViewOnly:p,isClickable:m,hintsWidth:f,hintsHeight:v});return{hoveredWell:h,hoveredCluster:u,showTooltip:a,showClusterTooltip:c,hideTooltip:d,hintsRef:j,tooltipAnchor:w.anchor,tooltipOffset:w.offset}};export{r as useMapTooltipState};
|
|
2
2
|
//# sourceMappingURL=useMapTooltipState.js.map
|
package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useOffsetWellMapState.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import e from"@babel/runtime/helpers/defineProperty";import{getClusterColorExpression as o}from"../utils/getClusterColorExpression.js";import{useMapStoreSelectors as t}from"./useMapStoreSelectors.js";import{useMapTooltipState as i}from"./useMapTooltipState.js";import"@babel/runtime/helpers/slicedToArray";import"react";import"geolib";import"lodash/isEqual";import"lodash/throttle";import"../../../../../../utils/index.js";import"../constants.js";import"../../../../../../utils/convert.js";import"@turf/circle";import"@turf/bbox";import"@mapbox/tilebelt";import"@babel/runtime/helpers/toConsumableArray";import"mapbox-gl";import{useWellMarkers as s}from"./useWellMarkers.js";import"../../../../stores/selection-tool-store/SelectionToolStoreContext.js";import"../../../../stores/selection-tool-store/SelectionToolStoreProvider.js";import"zustand";import"../../../../stores/viewport-store/ViewportStoreContext.js";import{useLoadingTilesGeoJSON as l}from"./useLoadingTilesGeoJSON.js";import{useSelectionToolOrchestration as r}from"./useSelectionToolOrchestration.js";import{useMapInteractionHandlers as n}from"./useMapInteractionHandlers.js";import{useMapCameraControl as a}from"./useMapCameraControl.js";function c(e,o){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);o&&(i=i.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),t.push.apply(t,i)}return t}function p(o){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?c(Object(i),!0).forEach((function(t){e(o,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(i)):c(Object(i)).forEach((function(e){Object.defineProperty(o,e,Object.getOwnPropertyDescriptor(i,e))}))}return o}var d=function(e){var c,d=e.subjectWell,u=e.wells,m=e.offsetWellIds,f=e.activeWellId,b=e.isClickable,g=t(d),
|
|
1
|
+
import e from"@babel/runtime/helpers/defineProperty";import{getClusterColorExpression as o}from"../utils/getClusterColorExpression.js";import{useMapStoreSelectors as t}from"./useMapStoreSelectors.js";import{useMapTooltipState as i}from"./useMapTooltipState.js";import"@babel/runtime/helpers/slicedToArray";import"react";import"geolib";import"lodash/isEqual";import"lodash/throttle";import"../../../../../../utils/index.js";import"../constants.js";import"../../../../../../utils/convert.js";import"@turf/circle";import"@turf/bbox";import"@mapbox/tilebelt";import"@babel/runtime/helpers/toConsumableArray";import"mapbox-gl";import{useWellMarkers as s}from"./useWellMarkers.js";import"../../../../stores/selection-tool-store/SelectionToolStoreContext.js";import"../../../../stores/selection-tool-store/SelectionToolStoreProvider.js";import"zustand";import"../../../../stores/viewport-store/ViewportStoreContext.js";import{useLoadingTilesGeoJSON as l}from"./useLoadingTilesGeoJSON.js";import"../../../../constants.js";import{useSelectionToolOrchestration as r}from"./useSelectionToolOrchestration.js";import{useMapInteractionHandlers as n}from"./useMapInteractionHandlers.js";import{useMapCameraControl as a}from"./useMapCameraControl.js";function c(e,o){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);o&&(i=i.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),t.push.apply(t,i)}return t}function p(o){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?c(Object(i),!0).forEach((function(t){e(o,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(i)):c(Object(i)).forEach((function(e){Object.defineProperty(o,e,Object.getOwnPropertyDescriptor(i,e))}))}return o}var d=function(e){var c,d=e.subjectWell,u=e.wells,m=e.offsetWellIds,f=e.activeWellId,b=e.isClickable,g=t(d),j=a({mapRef:g.mapRef,subjectWellCoords:g.subjectWellCoords,subjectWell:d,isLoadAllWells:g.isLoadAllWells,isMapReady:g.isMapReady,selectionZone:e.selectionZone,shouldRecenter:e.shouldRecenter,onRecenterComplete:e.onRecenterComplete,radius:g.radius,selectionMode:g.selectionMode,circleGeoJSON:g.circleGeoJSON}),h=r({mapRef:g.mapRef,isMapReady:g.isMapReady,wells:u,offsetWellIds:m,subjectWellId:null!==(c=null==d?void 0:d.id)&&void 0!==c?c:null,isViewOnly:g.isViewOnly,onBatchSelectWells:e.onBatchSelectWells,onSelectionZoneConfirm:e.onSelectionZoneConfirm,showSelectionResult:g.showSelectionResult}),S=i({mapRef:g.mapRef,isViewOnly:g.isViewOnly,isClickable:b}),w=n({mapRef:g.mapRef,isViewOnly:g.isViewOnly,isRadiusToolActive:h.isRadiusToolActive,radiusDrawingHandlers:h.radiusDrawingHandlers,shouldSuppressClickRef:h.shouldSuppressClickRef,handleChangeOffsetWell:e.handleChangeOffsetWell,showTooltip:S.showTooltip,showClusterTooltip:S.showClusterTooltip,hideTooltip:S.hideTooltip,hoveredWell:S.hoveredWell,subjectWell:d,subjectWellCoords:g.subjectWellCoords,radiusState:h.radiusState,isRadiusDrawingDragging:h.isRadiusDrawingDragging,isRadiusHoveringEdge:h.isRadiusHoveringEdge,isRadiusHoveringInside:h.isRadiusHoveringInside,lassoState:h.lassoState,isLassoActive:h.isLassoActive,isDrawing:h.isDrawing,isEditingPolygon:h.isEditingPolygon,isEditingVertices:h.isEditingVertices,isShiftHeld:h.isShiftHeld,boxStateIsActive:h.boxState.isActive}),O=l(),y=s({wells:u,offsetWellIds:m,activeWellId:f,subjectWell:d,mapStyle:g.mapStyle});return p(p(p(p(p(p(p({},g),j),h),w),S),y),{},{showGhostZone:!!e.selectionZone&&!h.isUserDrawing,isActiveWellIsSubjectWell:(null==d?void 0:d.id)===f,loadingTilesGeoJSON:O,clusterColorExpression:o(g.mapStyle)})};export{d as useOffsetWellMapState};
|
|
2
2
|
//# sourceMappingURL=useOffsetWellMapState.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{useRef as e,useMemo as o,useCallback as i,useEffect as t}from"react";import{useFilterStore as r}from"../../../../stores/filter-store/useFilterStore.js";import"../../../../stores/selection-tool-store/SelectionToolStoreContext.js";import"../../../../stores/selection-tool-store/SelectionToolStoreProvider.js";import"zustand";import{useSelectionToolStore as s}from"../../../../stores/selection-tool-store/useSelectionToolStore.js";import{calculatePolygonCentroid as n}from"../utils/calculatePolygonCentroid.js";import{MapConfig as l}from"../constants.js";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/helpers/slicedToArray";import"geolib";import"lodash/isEqual";import"lodash/throttle";import"../../../../../../utils/index.js";import"../../../../../../utils/convert.js";import"@turf/circle";import"@turf/bbox";import"@mapbox/tilebelt";import"@babel/runtime/helpers/toConsumableArray";import"mapbox-gl";import"./utils/well-markers-utils.js";import{useLassoSelection as a}from"./useLassoSelection.js";import{useLassoKeyboardHandlers as d}from"./useLassoKeyboardHandlers.js";import{useBoxSelection as u}from"./useBoxSelection.js";import{useRadiusDrawing as c}from"./useRadiusDrawing.js";import{useRadiusKeyboardHandlers as p}from"./useRadiusKeyboardHandlers.js";import"../../../../stores/viewport-store/ViewportStoreContext.js";import"../../../../stores/picker-props-store/PickerPropsStoreContext.js";import"../../../../stores/viewport-store/ViewportStoreProvider.js";import"../../../../stores/view-store/ViewStoreContext.js";
|
|
1
|
+
import{useRef as e,useMemo as o,useCallback as i,useEffect as t}from"react";import{useFilterStore as r}from"../../../../stores/filter-store/useFilterStore.js";import"../../../../stores/selection-tool-store/SelectionToolStoreContext.js";import"../../../../stores/selection-tool-store/SelectionToolStoreProvider.js";import"zustand";import{useSelectionToolStore as s}from"../../../../stores/selection-tool-store/useSelectionToolStore.js";import{calculatePolygonCentroid as n}from"../utils/calculatePolygonCentroid.js";import{MapConfig as l}from"../constants.js";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/helpers/slicedToArray";import"geolib";import"lodash/isEqual";import"lodash/throttle";import"../../../../../../utils/index.js";import"../../../../../../utils/convert.js";import"@turf/circle";import"@turf/bbox";import"@mapbox/tilebelt";import"@babel/runtime/helpers/toConsumableArray";import"mapbox-gl";import"./utils/well-markers-utils.js";import{useLassoSelection as a}from"./useLassoSelection.js";import{useLassoKeyboardHandlers as d}from"./useLassoKeyboardHandlers.js";import{useBoxSelection as u}from"./useBoxSelection.js";import{useRadiusDrawing as c}from"./useRadiusDrawing.js";import{useRadiusKeyboardHandlers as p}from"./useRadiusKeyboardHandlers.js";import"../../../../stores/viewport-store/ViewportStoreContext.js";import"../../../../constants.js";import"../../../../stores/picker-props-store/PickerPropsStoreContext.js";import"../../../../stores/viewport-store/ViewportStoreProvider.js";import"../../../../stores/view-store/ViewStoreContext.js";var g=function(e,o,i,t,r,s){return function(n){e(n.map((function(e){return{id:e}})),(function(e){o(e,r),e.added>0&&t.current&&(null==i||i(t.current)),t.current=null}),s)}},m=function(m){var f,h=m.mapRef,w=m.isMapReady,v=m.wells,S=m.offsetWellIds,C=m.subjectWellId,y=m.isViewOnly,R=m.onBatchSelectWells,D=m.onSelectionZoneConfirm,j=m.showSelectionResult,b=null!==(f=r((function(e){var o;return null===(o=e.filters)||void 0===o?void 0:o.selectionMode})))&&void 0!==f?f:"radius",P=r((function(e){var o;return null===(o=e.filters)||void 0===o?void 0:o.polygonCoords})),x=r((function(e){return e.setSelectionMode})),I=r((function(e){return e.setPolygonCoords})),M=s((function(e){return e.mode})),T=s((function(e){return e.setMode})),W="radius"===M,E="lasso"===b,H=e(null),L=o((function(){return g(R,j,D,H,"selected",{override:!0})}),[R,j,D]),A=c({mapRef:h,isActive:W,wells:v,onWellsSelected:L,subjectWellId:C}),V=A.radiusState,k=A.radiusMiles,B=A.setRadiusMiles,U=A.previewCircle,K=A.isHoveringEdge,q=A.isHoveringInside,z=A.isDragging,F=A.handlers,O=A.confirm,Z=A.cancel,G=function(e,o,t,r,s,n){return{handleLassoToggle:i((function(){e?((!t||t.length<3)&&s(void 0),r("radius")):(o&&n("none"),r("lasso"))}),[e,o,t,r,s,n]),handleRadiusToggle:i((function(){o?n("none"):(e&&r("radius"),n("radius"))}),[o,e,n,r])}}(E,W,P,x,I,T),J=G.handleLassoToggle,N=G.handleRadiusToggle,Q=o((function(){return g(R,j,D,H,"selected",{override:!0})}),[R,j,D]),X=a({mapRef:h,isActive:E,isMapReady:w,hasInitialPolygon:!!(P&&P.length>=3),onPolygonChange:I,wellsLayerId:l.LayerIds.Wells,wells:v,onWellsSelected:Q,onDeactivate:function(){return x("radius")},subjectWellId:C}),Y=X.lassoState,$=X.isDrawing,_=X.drawingPointCount,ee=X.isEditingPolygon,oe=X.isEditingVertices,ie=X.drawRef,te=X.handleDrawCreate,re=X.handleDrawUpdate,se=X.handleDrawDelete,ne=X.handleModeChange,le=X.handleSelectionChange,ae=X.discardDrawing,de=X.completeDrawing,ue=X.deletePolygon,ce=X.confirm;d({isLassoActive:E,isDrawing:$,drawingPointCount:_,isEditingPolygon:ee,discardDrawing:ae,completeDrawing:de,deletePolygon:ue});var pe=u({mapRef:h,isEnabled:!y&&w&&!$&&!ee&&!oe,wells:v,offsetWellIds:S,subjectWellId:C,onBatchSelectWells:R,onSelectionComplete:j}),ge=pe.boxState,me=pe.wellsInBoxCount,fe=pe.isShiftHeld,he=pe.shouldSuppressClickRef,we=o((function(){return W&&"idle"!==V.phase||E&&($||"idle"!==Y.phase)}),[W,V.phase,E,$,Y.phase]);return function(e,o,r,s,l,a,d){var u=i((function(){"confirming"===e.phase&&(d.current={type:"radius",radius:e.radiusMiles,center:e.center}),r()}),[r,e,d]),c=i((function(){if("confirming"===o.phase){var e=o.polygon;if(e.length>=3){var i=n(e);i&&(d.current={type:"polygon",polygonCoords:e,center:i})}}s()}),[s,o,d]);p({isRadiusActive:a,radiusPhase:e.phase,cancel:l}),t((function(){"confirming"===e.phase&&u()}),[e.phase,u]),t((function(){"confirming"===o.phase&&c()}),[o.phase,c])}(V,Y,O,ce,Z,W,H),{isRadiusToolActive:W,isLassoActive:E,isUserDrawing:we,hasValidPolygon:!!(P&&P.length>=3),radiusState:V,drawingRadiusMiles:k,setDrawingRadiusMiles:B,radiusDrawingPreviewCircle:U,isRadiusHoveringEdge:K,isRadiusHoveringInside:q,isRadiusDrawingDragging:z,radiusDrawingHandlers:F,cancelRadius:Z,showRadiusInput:W&&("drawing"===V.phase||"confirming"===V.phase),lassoState:Y,isDrawing:$,drawingPointCount:_,isEditingPolygon:ee,isEditingVertices:oe,drawRef:ie,handleDrawCreate:te,handleDrawUpdate:re,handleDrawDelete:se,handleModeChange:ne,handleSelectionChange:le,polygonCoords:P,boxState:ge,wellsInBoxCount:me,isShiftHeld:fe,shouldSuppressClickRef:he,handleLassoToggle:J,handleRadiusToggle:N}};export{m as useSelectionToolOrchestration};
|
|
2
2
|
//# sourceMappingURL=useSelectionToolOrchestration.js.map
|
|
@@ -9,6 +9,8 @@ type WellsMapProps = {
|
|
|
9
9
|
wells: Well[];
|
|
10
10
|
offsetWellIds: number[];
|
|
11
11
|
mapHidden: boolean;
|
|
12
|
+
/** True while the user is dragging the map/table split handle. */
|
|
13
|
+
isResizing?: boolean;
|
|
12
14
|
handleChangeOffsetWell: (well?: {
|
|
13
15
|
id: number;
|
|
14
16
|
}, isSelected?: boolean) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WellsMap.d.ts","sourceRoot":"","sources":["../../../../../../src/components/OffsetWellPickerV5/components/Map/WellsMap/WellsMap.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAClE,OAAO,EAAiB,mBAAmB,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAIzF,KAAK,iBAAiB,GAAG;IAAE,SAAS,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AAE9D,KAAK,aAAa,GAAG;IACnB,WAAW,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;IACjC,KAAK,EAAE,IAAI,EAAE,CAAC;IACd,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,SAAS,EAAE,OAAO,CAAC;IACnB,sBAAsB,EAAE,CAAC,IAAI,CAAC,EAAE;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,EAAE,UAAU,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;IAC9E,kBAAkB,EAAE,CAClB,KAAK,EAAE;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,EAAE,EACvB,UAAU,CAAC,EAAE,CAAC,MAAM,EAAE,iBAAiB,KAAK,IAAI,KAC7C,IAAI,CAAC;IACV,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,aAAa,CAAC,EAAE,aAAa,GAAG,IAAI,CAAC;IACrC,sBAAsB,CAAC,EAAE,CAAC,IAAI,EAAE,aAAa,KAAK,IAAI,CAAC;IACvD,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAC;CACjC,CAAC;AAEF,eAAO,MAAM,QAAQ,+
|
|
1
|
+
{"version":3,"file":"WellsMap.d.ts","sourceRoot":"","sources":["../../../../../../src/components/OffsetWellPickerV5/components/Map/WellsMap/WellsMap.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAClE,OAAO,EAAiB,mBAAmB,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAIzF,KAAK,iBAAiB,GAAG;IAAE,SAAS,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AAE9D,KAAK,aAAa,GAAG;IACnB,WAAW,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;IACjC,KAAK,EAAE,IAAI,EAAE,CAAC;IACd,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,SAAS,EAAE,OAAO,CAAC;IACnB,kEAAkE;IAClE,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,sBAAsB,EAAE,CAAC,IAAI,CAAC,EAAE;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,EAAE,UAAU,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;IAC9E,kBAAkB,EAAE,CAClB,KAAK,EAAE;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,EAAE,EACvB,UAAU,CAAC,EAAE,CAAC,MAAM,EAAE,iBAAiB,KAAK,IAAI,KAC7C,IAAI,CAAC;IACV,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,aAAa,CAAC,EAAE,aAAa,GAAG,IAAI,CAAC;IACrC,sBAAsB,CAAC,EAAE,CAAC,IAAI,EAAE,aAAa,KAAK,IAAI,CAAC;IACvD,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAC;CACjC,CAAC;AAEF,eAAO,MAAM,QAAQ,+GAsCpB,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{jsx as e}from"react/jsx-runtime";import{forwardRef as l}from"react";import{OffsetWellMap as o}from"../OffsetWellMap/OffsetWellMap.js";import n from"./WellsMap.module.css.js";var t=l((function(l,t){var s=l.subjectWell,a=void 0===s?null:s,
|
|
1
|
+
import{jsx as e}from"react/jsx-runtime";import{forwardRef as l}from"react";import{OffsetWellMap as o}from"../OffsetWellMap/OffsetWellMap.js";import n from"./WellsMap.module.css.js";var t=l((function(l,t){var s=l.subjectWell,a=void 0===s?null:s,i=l.wells,r=l.offsetWellIds,c=l.mapHidden,m=l.isResizing,f=l.handleChangeOffsetWell,d=l.onBatchSelectWells,p=l.activeWellId,W=void 0===p?null:p,u=l.selectionZone,h=l.onSelectionZoneConfirm,C=l.shouldRecenter,v=l.onRecenterComplete;return e("div",{className:c?n.mapContainerHidden:n.mapContainer,children:e(o,{ref:t,isResizing:m,subjectWell:a,wells:i,offsetWellIds:r,handleChangeOffsetWell:f,onBatchSelectWells:d,activeWellId:W,selectionZone:u,onSelectionZoneConfirm:h,shouldRecenter:C,onRecenterComplete:v,classes:{root:n.mapRoot,map:n.mapMain}})})}));t.displayName="WellsMap";export{t as WellsMap};
|
|
2
2
|
//# sourceMappingURL=WellsMap.js.map
|
|
@@ -26,7 +26,9 @@ export type MapColumnProps = {
|
|
|
26
26
|
shouldRecenter: boolean;
|
|
27
27
|
setShouldRecenter: (value: boolean) => void;
|
|
28
28
|
wellsMapRef: RefObject<OffsetWellMapHandle | null>;
|
|
29
|
+
/** Width of `.columnsContainer`, used to bound the resize handle. */
|
|
30
|
+
containerWidth: number;
|
|
29
31
|
};
|
|
30
|
-
export declare const MapColumn: ({ isMapHidden, open, subjectWell, selectedWells, wellsToDisplay, handleChangeOffsetWell, handleBatchSelectWells, activeWellId, currentSelectionZone, handleSelectionZoneConfirm, shouldRecenter, setShouldRecenter, wellsMapRef, }: MapColumnProps) => JSX.Element | null;
|
|
32
|
+
export declare const MapColumn: ({ isMapHidden, open, subjectWell, selectedWells, wellsToDisplay, handleChangeOffsetWell, handleBatchSelectWells, activeWellId, currentSelectionZone, handleSelectionZoneConfirm, shouldRecenter, setShouldRecenter, wellsMapRef, containerWidth, }: MapColumnProps) => JSX.Element | null;
|
|
31
33
|
export {};
|
|
32
34
|
//# sourceMappingURL=MapColumn.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MapColumn.d.ts","sourceRoot":"","sources":["../../../../../src/components/OffsetWellPickerV5/components/MapColumn/MapColumn.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAO,MAAM,OAAO,CAAC;AAE5C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AACjE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,KAAK,EAAE,mBAAmB,EAAsB,MAAM,oCAAoC,CAAC;
|
|
1
|
+
{"version":3,"file":"MapColumn.d.ts","sourceRoot":"","sources":["../../../../../src/components/OffsetWellPickerV5/components/MapColumn/MapColumn.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAO,MAAM,OAAO,CAAC;AAE5C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AACjE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,KAAK,EAAE,mBAAmB,EAAsB,MAAM,oCAAoC,CAAC;AAMlG,KAAK,oBAAoB,GAAG,cAAc,GAAG;IAAE,EAAE,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE,CAAC;AAErE,KAAK,iBAAiB,GAAG;IAAE,SAAS,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AAE9D,MAAM,MAAM,cAAc,GAAG;IAC3B,WAAW,EAAE,OAAO,CAAC;IACrB,IAAI,EAAE,OAAO,GAAG,SAAS,CAAC;IAC1B,WAAW,EAAE,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,CAAC,GAAG,IAAI,CAAC;IAC/D,aAAa,EAAE,UAAU,EAAE,CAAC;IAC5B,cAAc,EAAE,oBAAoB,EAAE,GAAG,IAAI,CAAC;IAC9C,sBAAsB,EAAE,CAAC,IAAI,EAAE,UAAU,EAAE,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IACrE,sBAAsB,EAAE,CACtB,aAAa,EAAE,UAAU,EAAE,EAC3B,UAAU,CAAC,EAAE,CAAC,MAAM,EAAE,iBAAiB,KAAK,IAAI,KAC7C,IAAI,CAAC;IACV,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,oBAAoB,EAAE,aAAa,GAAG,IAAI,CAAC;IAC3C,0BAA0B,EAAE,CAAC,IAAI,EAAE,aAAa,GAAG,IAAI,KAAK,IAAI,CAAC;IACjE,cAAc,EAAE,OAAO,CAAC;IACxB,iBAAiB,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IAC5C,WAAW,EAAE,SAAS,CAAC,mBAAmB,GAAG,IAAI,CAAC,CAAC;IACnD,qEAAqE;IACrE,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,eAAO,MAAM,SAAS,GAAI,oPAevB,cAAc,uBA8BhB,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{jsx as
|
|
1
|
+
import e from"@babel/runtime/helpers/defineProperty";import{jsxs as t,jsx as r}from"react/jsx-runtime";import{WellsMap as n}from"../Map/WellsMap/WellsMap.js";import{MapResizeHandle as l}from"../MapResizeHandle/MapResizeHandle.js";import{useMapResize as o}from"../MapResizeHandle/useMapResize.js";import"lodash";import"../../constants.js";import i from"../../OffsetWellPickerV5.module.css.js";function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(t){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?s(Object(n),!0).forEach((function(r){e(t,r,n[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var a=function(e){var s=e.isMapHidden,a=e.open,p=e.subjectWell,f=e.selectedWells,u=e.wellsToDisplay,d=e.handleChangeOffsetWell,m=e.handleBatchSelectWells,h=e.activeWellId,O=e.currentSelectionZone,j=e.handleSelectionZoneConfirm,b=e.shouldRecenter,W=e.setShouldRecenter,y=e.wellsMapRef,R=e.containerWidth,g=o({containerWidth:R}),P=g.leftColumnRef,v=g.handleProps,w=g.isResizing;return s||!a?null:t("div",{ref:P,className:i.leftColumn,children:[r(n,{ref:y,isResizing:w,mapHidden:s,subjectWell:p,offsetWellIds:f.map((function(e){return e.id})),wells:null!=u?u:[],handleChangeOffsetWell:d,onBatchSelectWells:m,activeWellId:h,selectionZone:O,onSelectionZoneConfirm:j,shouldRecenter:b,onRecenterComplete:function(){return W(!1)}}),r(l,c(c({},v),{},{isResizing:w}))]})};export{a as MapColumn};
|
|
2
2
|
//# sourceMappingURL=MapColumn.js.map
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type DraggableEventHandler } from 'react-draggable';
|
|
2
|
+
export type MapResizeHandleProps = {
|
|
3
|
+
onStart: DraggableEventHandler;
|
|
4
|
+
onDrag: DraggableEventHandler;
|
|
5
|
+
onStop: DraggableEventHandler;
|
|
6
|
+
isResizing: boolean;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Full-height drag bar on the map's right edge. Uses `DraggableCore` (a pure gesture emitter,
|
|
10
|
+
* no transform) so the handle stays pinned to the map edge and follows the live
|
|
11
|
+
* `--offset-map-width` rather than being moved by react-draggable itself.
|
|
12
|
+
*/
|
|
13
|
+
export declare const MapResizeHandle: ({ onStart, onDrag, onStop, isResizing }: MapResizeHandleProps) => JSX.Element;
|
|
14
|
+
//# sourceMappingURL=MapResizeHandle.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MapResizeHandle.d.ts","sourceRoot":"","sources":["../../../../../src/components/OffsetWellPickerV5/components/MapResizeHandle/MapResizeHandle.tsx"],"names":[],"mappings":"AAEA,OAAO,EAGL,KAAK,qBAAqB,EAC3B,MAAM,iBAAiB,CAAC;AAUzB,MAAM,MAAM,oBAAoB,GAAG;IACjC,OAAO,EAAE,qBAAqB,CAAC;IAC/B,MAAM,EAAE,qBAAqB,CAAC;IAC9B,MAAM,EAAE,qBAAqB,CAAC;IAC9B,UAAU,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,eAAe,GAAI,yCAAyC,oBAAoB,gBAQ5F,CAAC"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import r from"@babel/runtime/helpers/defineProperty";import{jsx as e}from"react/jsx-runtime";import o from"classnames";import{DraggableCore as a}from"react-draggable";import t from"./MapResizeHandle.module.css.js";var i=a,n=function(a){var n=a.onStart,m=a.onDrag,s=a.onStop,p=a.isResizing;return e(i,{onStart:n,onDrag:m,onStop:s,children:e("div",{className:o(t.handle,r({},t.resizing,p)),role:"separator","aria-orientation":"vertical"})})};export{n as MapResizeHandle};
|
|
2
|
+
//# sourceMappingURL=MapResizeHandle.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MapResizeHandle.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/components/OffsetWellPickerV5/components/MapResizeHandle/MapResizeHandle.module.css.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import e from'./../../../../ext-esm/style-inject/dist/style-inject.es.js';var o={handle:"MapResizeHandle-module_handle__hg--2",resizing:"MapResizeHandle-module_resizing__WBMd2"};e('.MapResizeHandle-module_handle__hg--2{bottom:0;cursor:col-resize;margin-right:-6px;position:absolute;right:0;top:0;width:8px;z-index:5}.MapResizeHandle-module_handle__hg--2:before{background-color:transparent;border-radius:10px;bottom:0;content:"";left:2px;position:absolute;top:0;transition:background-color .15s ease;width:2px}.MapResizeHandle-module_handle__hg--2:hover:before,.MapResizeHandle-module_resizing__WBMd2:before{background-color:var(--palette-primary-main)}');export{o as default};
|
|
2
|
+
//# sourceMappingURL=MapResizeHandle.module.css.js.map
|
package/components/OffsetWellPickerV5/components/MapResizeHandle/MapResizeHandle.module.css.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA,aAAa,4DAA+D;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getEffectiveMapWidthBounds.test.d.ts","sourceRoot":"","sources":["../../../../../../src/components/OffsetWellPickerV5/components/MapResizeHandle/__tests__/getEffectiveMapWidthBounds.test.ts"],"names":[],"mappings":""}
|
package/components/OffsetWellPickerV5/components/MapResizeHandle/getEffectiveMapWidthBounds.d.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export type MapWidthBounds = {
|
|
2
|
+
min: number;
|
|
3
|
+
max: number;
|
|
4
|
+
};
|
|
5
|
+
/**
|
|
6
|
+
* Resolve the effective `[min, max]` the map width may take inside the current container.
|
|
7
|
+
*
|
|
8
|
+
* The max is the smaller of the configured `MapLayout.width.max` and the width left after
|
|
9
|
+
* the content column keeps its floor (`MapLayout.minContentWidth`) and the inter-column gap
|
|
10
|
+
* — so a wide map can never starve the table or force horizontal overflow.
|
|
11
|
+
*
|
|
12
|
+
* Before the container is measured (`containerWidth <= 0`) we fall back to the configured
|
|
13
|
+
* max, so the seeded width is not transiently clamped down to the minimum on first paint.
|
|
14
|
+
*/
|
|
15
|
+
export declare const getEffectiveMapWidthBounds: (containerWidth: number) => MapWidthBounds;
|
|
16
|
+
//# sourceMappingURL=getEffectiveMapWidthBounds.d.ts.map
|
package/components/OffsetWellPickerV5/components/MapResizeHandle/getEffectiveMapWidthBounds.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getEffectiveMapWidthBounds.d.ts","sourceRoot":"","sources":["../../../../../src/components/OffsetWellPickerV5/components/MapResizeHandle/getEffectiveMapWidthBounds.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,cAAc,GAAG;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,CAAC;AAE1D;;;;;;;;;GASG;AACH,eAAO,MAAM,0BAA0B,GAAI,gBAAgB,MAAM,KAAG,cASnE,CAAC"}
|
package/components/OffsetWellPickerV5/components/MapResizeHandle/getEffectiveMapWidthBounds.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{clamp as i}from"lodash";import{MapLayout as t}from"../../constants.js";var m=function(m){if(m<=0)return{min:t.width.min,max:t.width.max};var n=m-t.minContentWidth-t.columnsGap,r=i(n,t.width.min,t.width.max);return{min:t.width.min,max:r}};export{m as getEffectiveMapWidthBounds};
|
|
2
|
+
//# sourceMappingURL=getEffectiveMapWidthBounds.js.map
|
package/components/OffsetWellPickerV5/components/MapResizeHandle/getEffectiveMapWidthBounds.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getEffectiveMapWidthBounds.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/OffsetWellPickerV5/components/MapResizeHandle/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,KAAK,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAC/E,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,0BAA0B,EAAE,KAAK,cAAc,EAAE,MAAM,8BAA8B,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { DraggableEventHandler } from 'react-draggable';
|
|
2
|
+
type UseMapResizeParams = {
|
|
3
|
+
/** Width of `.columnsContainer` (the full map+content row), measured by the parent. */
|
|
4
|
+
containerWidth: number;
|
|
5
|
+
};
|
|
6
|
+
type DragHandlers = {
|
|
7
|
+
onStart: DraggableEventHandler;
|
|
8
|
+
onDrag: DraggableEventHandler;
|
|
9
|
+
onStop: DraggableEventHandler;
|
|
10
|
+
};
|
|
11
|
+
type UseMapResizeResult = {
|
|
12
|
+
/** Callback ref for `.leftColumn` — applies the committed width to the var on (re)mount. */
|
|
13
|
+
leftColumnRef: (node: HTMLDivElement | null) => void;
|
|
14
|
+
handleProps: DragHandlers;
|
|
15
|
+
isResizing: boolean;
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Drives the map/content split width through the `--offset-map-width` CSS custom property.
|
|
19
|
+
*
|
|
20
|
+
* During a drag we write the clamped width straight to the DOM (no store write, no React
|
|
21
|
+
* re-render per frame); on resize-stop we persist once via `setMapWidth`, after which
|
|
22
|
+
* `subscribeToSettingsSave` debounces the backend write. The committed width is applied to
|
|
23
|
+
* the var imperatively — on element (re)mount via the callback ref, and whenever the store
|
|
24
|
+
* value or container size changes via a layout effect — so it survives hide/show of the map
|
|
25
|
+
* and never snaps back on an unrelated re-render mid-drag.
|
|
26
|
+
*/
|
|
27
|
+
export declare const useMapResize: ({ containerWidth }: UseMapResizeParams) => UseMapResizeResult;
|
|
28
|
+
export {};
|
|
29
|
+
//# sourceMappingURL=useMapResize.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useMapResize.d.ts","sourceRoot":"","sources":["../../../../../src/components/OffsetWellPickerV5/components/MapResizeHandle/useMapResize.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAiB,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AAQ5E,KAAK,kBAAkB,GAAG;IACxB,uFAAuF;IACvF,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,KAAK,YAAY,GAAG;IAClB,OAAO,EAAE,qBAAqB,CAAC;IAC/B,MAAM,EAAE,qBAAqB,CAAC;IAC9B,MAAM,EAAE,qBAAqB,CAAC;CAC/B,CAAC;AAEF,KAAK,kBAAkB,GAAG;IACxB,4FAA4F;IAC5F,aAAa,EAAE,CAAC,IAAI,EAAE,cAAc,GAAG,IAAI,KAAK,IAAI,CAAC;IACrD,WAAW,EAAE,YAAY,CAAC;IAC1B,UAAU,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF;;;;;;;;;GASG;AACH,eAAO,MAAM,YAAY,GAAI,oBAAoB,kBAAkB,KAAG,kBA6DrE,CAAC"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import r from"@babel/runtime/helpers/slicedToArray";import{useRef as t,useState as n,useCallback as e,useLayoutEffect as o}from"react";import{clamp as i}from"lodash";import{useViewStore as u}from"../../stores/view-store/useViewStore.js";import{getEffectiveMapWidthBounds as c}from"./getEffectiveMapWidthBounds.js";var f=function(f){var a=f.containerWidth,s=u((function(r){return r.mapWidth})),m=u((function(r){return r.setMapWidth})),p=t(null),l=t(s),d=t(0),h=t(s),v=n(!1),W=r(v,2),g=W[0],w=W[1],x=c(a),y=x.min,S=x.max,b=e((function(r){var t;h.current=r,null===(t=p.current)||void 0===t||t.style.setProperty("--offset-map-width","".concat(r,"px"))}),[]),j=e((function(){b(i(s,y,S))}),[s,y,S,b]),M=e((function(r){p.current=r,j()}),[j]);return o((function(){j()}),[j]),{leftColumnRef:M,handleProps:{onStart:e((function(){l.current=h.current,d.current=0,w(!0)}),[]),onDrag:e((function(r,t){d.current+=t.deltaX,b(i(l.current+d.current,y,S))}),[y,S,b]),onStop:e((function(){w(!1),h.current!==s&&m(h.current)}),[s,m])},isResizing:g}};export{f as useMapResize};
|
|
2
|
+
//# sourceMappingURL=useMapResize.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useMapResize.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { OffsetWellPickerContentProps } from './OffsetWellPickerContent.types';
|
|
2
|
-
export declare const OffsetWellPickerContent: ({ open, isMobile, isViewOnly, isMapHidden, isFilterExpanded, isVScrollMoved, isLoading, isTableFullLoading, isResetVisible, isOffsetSourceKnown, hasOffsetSource, hasSavedHandpicked, isSynced, isLimitedOffsetWells, isWellSectionColumnVisible, isAllWellsSelected, indeterminate, isXtoProvider, hasValidAssetId, syncedOffsetLabel, savedOffsetLabel, resetTooltipLabel, maxOffsetWellNumber, subjectWell, subjectWellId, selectedWells, selectedWellIds, selectedWellsCount, selectedWellSection, filteredWells, wellsToDisplay, sortedWells, tableWells, tableRowsCount, wellSections, metricsKeys, setMetricsKeys, columnsWithDict, taScores, filterOptions, loadingWellIds, loadingAssetIds, filters, currentSelectionZone, activeWellId, sortBy, setSortBy, sortDirection, setSortDirection, shouldRecenter, wells, handleCancel, handleSave, handleReset, handleChangeOffsetWell, handleBatchSelectWells, handleChangeAllOffsetWells, handleSelectionZoneConfirm, handleChangeWellSection, handleAddRemoveAssets, handleScroll, setActiveWellId, setShouldRecenter, setIsAdvancedSearchHidden, wellsMapRef,
|
|
2
|
+
export declare const OffsetWellPickerContent: ({ open, isMobile, isViewOnly, isMapHidden, isFilterExpanded, isVScrollMoved, isHScrollMoved, isLoading, isTableFullLoading, isResetVisible, isOffsetSourceKnown, hasOffsetSource, hasSavedHandpicked, isSynced, isLimitedOffsetWells, isWellSectionColumnVisible, isAllWellsSelected, indeterminate, isXtoProvider, hasValidAssetId, syncedOffsetLabel, savedOffsetLabel, resetTooltipLabel, maxOffsetWellNumber, subjectWell, subjectWellId, selectedWells, selectedWellIds, selectedWellsCount, selectedWellSection, filteredWells, wellsToDisplay, sortedWells, tableWells, tableRowsCount, wellSections, metricsKeys, setMetricsKeys, columnsWithDict, taScores, filterOptions, loadingWellIds, loadingAssetIds, filters, currentSelectionZone, activeWellId, sortBy, setSortBy, sortDirection, setSortDirection, shouldRecenter, wells, handleCancel, handleSave, handleReset, handleChangeOffsetWell, handleBatchSelectWells, handleChangeAllOffsetWells, handleSelectionZoneConfirm, handleChangeWellSection, handleAddRemoveAssets, handleScroll, setActiveWellId, setShouldRecenter, setIsAdvancedSearchHidden, wellsMapRef, contentRef, rightColumnRef, containerRef, isAnimatingRef, }: OffsetWellPickerContentProps) => JSX.Element;
|
|
3
3
|
//# sourceMappingURL=OffsetWellPickerContent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OffsetWellPickerContent.d.ts","sourceRoot":"","sources":["../../../../../src/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"OffsetWellPickerContent.d.ts","sourceRoot":"","sources":["../../../../../src/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,iCAAiC,CAAC;AAWpF,eAAO,MAAM,uBAAuB,GAAI,moCAuErC,4BAA4B,gBA+J9B,CAAC"}
|