@corva/ui 3.39.0-2 → 3.39.0-4

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.
Files changed (151) hide show
  1. package/cjs-bundle/components/OffsetWellPickerV5/OffsetWellPickerV5.js +1 -1
  2. package/cjs-bundle/components/OffsetWellPickerV5/OffsetWellPickerV5.js.map +1 -1
  3. package/cjs-bundle/components/OffsetWellPickerV5/OffsetWellPickerV5.module.css.js +1 -1
  4. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/OffsetWellMap.js +1 -1
  5. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/OffsetWellMap.module.css.js +1 -1
  6. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/BoxSelectionOverlay/BoxSelectionOverlay.js +2 -0
  7. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/BoxSelectionOverlay/BoxSelectionOverlay.js.map +1 -0
  8. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/BoxSelectionOverlay/BoxSelectionOverlay.module.css.js +2 -0
  9. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/DrawControl/DrawControl.js +1 -1
  10. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapControls/MapControls.js +1 -1
  11. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHints.js +2 -0
  12. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHints.js.map +1 -0
  13. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHints.module.css.js +2 -0
  14. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHints.module.css.js.map +1 -0
  15. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/components/CursorIcon.js +2 -0
  16. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/components/CursorIcon.js.map +1 -0
  17. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/components/HintItem.js +2 -0
  18. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/components/HintItem.js.map +1 -0
  19. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/components/HintItem.module.css.js +2 -0
  20. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/components/HintItem.module.css.js.map +1 -0
  21. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/components/KeyboardKey.js +2 -0
  22. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/components/KeyboardKey.js.map +1 -0
  23. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/components/KeyboardKey.module.css.js +2 -0
  24. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/components/KeyboardKey.module.css.js.map +1 -0
  25. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/RadiusInput/RadiusInput.js +1 -1
  26. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/RadiusInput/RadiusInput.module.css.js +1 -1
  27. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SubjectWellMarker/SubjectWellMarker.js +1 -1
  28. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SubjectWellMarker/SubjectWellMarker.module.css.js +2 -0
  29. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SubjectWellMarker/SubjectWellMarker.module.css.js.map +1 -0
  30. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/WellTooltip/WellTooltip.module.css.js +1 -1
  31. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/constants.js +1 -1
  32. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useBoxSelection.js +2 -0
  33. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useBoxSelection.js.map +1 -0
  34. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useElementSize.js +2 -0
  35. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useElementSize.js.map +1 -0
  36. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useLassoKeyboardHandlers.js +2 -0
  37. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useLassoKeyboardHandlers.js.map +1 -0
  38. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useLassoSelection.js +1 -1
  39. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useTooltipAnchor.js +2 -0
  40. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useTooltipAnchor.js.map +1 -0
  41. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useWellMarkers.js +1 -1
  42. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/WellsMap.js +1 -1
  43. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/OffsetWellsTable.module.css.js +1 -1
  44. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/OffsetWellsTableHead.module.css.js +1 -1
  45. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/OffsetWellsTableRow.module.css.js +1 -1
  46. package/cjs-bundle/components/OffsetWellPickerV5/stores/view-store/createViewStore.js +1 -1
  47. package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/hooks/usePads.js +1 -1
  48. package/components/OffsetWellPickerV5/OffsetWellPickerV5.d.ts.map +1 -1
  49. package/components/OffsetWellPickerV5/OffsetWellPickerV5.js +1 -1
  50. package/components/OffsetWellPickerV5/OffsetWellPickerV5.js.map +1 -1
  51. package/components/OffsetWellPickerV5/OffsetWellPickerV5.module.css.js +1 -1
  52. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/OffsetWellMap.d.ts +3 -0
  53. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/OffsetWellMap.d.ts.map +1 -1
  54. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/OffsetWellMap.js +1 -1
  55. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/OffsetWellMap.module.css.js +1 -1
  56. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/BoxSelectionOverlay/BoxSelectionOverlay.d.ts +14 -0
  57. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/BoxSelectionOverlay/BoxSelectionOverlay.d.ts.map +1 -0
  58. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/BoxSelectionOverlay/BoxSelectionOverlay.js +2 -0
  59. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/BoxSelectionOverlay/BoxSelectionOverlay.js.map +1 -0
  60. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/BoxSelectionOverlay/BoxSelectionOverlay.module.css.js +2 -0
  61. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/BoxSelectionOverlay/index.d.ts +2 -0
  62. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/BoxSelectionOverlay/index.d.ts.map +1 -0
  63. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/DrawControl/DrawControl.d.ts +3 -1
  64. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/DrawControl/DrawControl.d.ts.map +1 -1
  65. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/DrawControl/DrawControl.js +1 -1
  66. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapControls/MapControls.d.ts.map +1 -1
  67. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapControls/MapControls.js +1 -1
  68. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHints.d.ts +15 -0
  69. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHints.d.ts.map +1 -0
  70. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHints.js +2 -0
  71. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHints.js.map +1 -0
  72. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHints.module.css.js +2 -0
  73. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHints.module.css.js.map +1 -0
  74. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/components/CursorIcon.d.ts +8 -0
  75. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/components/CursorIcon.d.ts.map +1 -0
  76. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/components/CursorIcon.js +2 -0
  77. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/components/CursorIcon.js.map +1 -0
  78. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/components/HintItem.d.ts +12 -0
  79. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/components/HintItem.d.ts.map +1 -0
  80. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/components/HintItem.js +2 -0
  81. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/components/HintItem.js.map +1 -0
  82. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/components/HintItem.module.css.js +2 -0
  83. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/components/HintItem.module.css.js.map +1 -0
  84. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/components/KeyboardKey.d.ts +7 -0
  85. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/components/KeyboardKey.d.ts.map +1 -0
  86. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/components/KeyboardKey.js +2 -0
  87. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/components/KeyboardKey.js.map +1 -0
  88. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/components/KeyboardKey.module.css.js +2 -0
  89. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/components/KeyboardKey.module.css.js.map +1 -0
  90. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/components/index.d.ts +4 -0
  91. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/components/index.d.ts.map +1 -0
  92. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/index.d.ts +2 -0
  93. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/{LassoTip → MapHints}/index.d.ts.map +1 -1
  94. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/RadiusInput/RadiusInput.d.ts.map +1 -1
  95. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/RadiusInput/RadiusInput.js +1 -1
  96. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/RadiusInput/RadiusInput.module.css.js +1 -1
  97. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SubjectWellMarker/SubjectWellMarker.d.ts +0 -1
  98. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SubjectWellMarker/SubjectWellMarker.d.ts.map +1 -1
  99. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SubjectWellMarker/SubjectWellMarker.js +1 -1
  100. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SubjectWellMarker/SubjectWellMarker.module.css.js +2 -0
  101. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SubjectWellMarker/SubjectWellMarker.module.css.js.map +1 -0
  102. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/WellTooltip/WellTooltip.module.css.js +1 -1
  103. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/constants.d.ts +12 -0
  104. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/constants.d.ts.map +1 -1
  105. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/constants.js +1 -1
  106. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/index.d.ts +4 -0
  107. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/index.d.ts.map +1 -1
  108. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useBoxSelection.d.ts +28 -0
  109. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useBoxSelection.d.ts.map +1 -0
  110. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useBoxSelection.js +2 -0
  111. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useBoxSelection.js.map +1 -0
  112. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useElementSize.d.ts +8 -0
  113. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useElementSize.d.ts.map +1 -0
  114. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useElementSize.js +2 -0
  115. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useElementSize.js.map +1 -0
  116. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useLassoKeyboardHandlers.d.ts +12 -0
  117. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useLassoKeyboardHandlers.d.ts.map +1 -0
  118. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useLassoKeyboardHandlers.js +2 -0
  119. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useLassoKeyboardHandlers.js.map +1 -0
  120. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useLassoSelection.d.ts +5 -1
  121. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useLassoSelection.d.ts.map +1 -1
  122. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useLassoSelection.js +1 -1
  123. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useTooltipAnchor.d.ts +36 -0
  124. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useTooltipAnchor.d.ts.map +1 -0
  125. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useTooltipAnchor.js +2 -0
  126. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useTooltipAnchor.js.map +1 -0
  127. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useWellMarkers.d.ts.map +1 -1
  128. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useWellMarkers.js +1 -1
  129. package/components/OffsetWellPickerV5/components/Map/WellsMap.d.ts +3 -0
  130. package/components/OffsetWellPickerV5/components/Map/WellsMap.d.ts.map +1 -1
  131. package/components/OffsetWellPickerV5/components/Map/WellsMap.js +1 -1
  132. package/components/OffsetWellPickerV5/components/OffsetWellsTable/OffsetWellsTable.module.css.js +1 -1
  133. package/components/OffsetWellPickerV5/components/OffsetWellsTable/OffsetWellsTableHead.module.css.js +1 -1
  134. package/components/OffsetWellPickerV5/components/OffsetWellsTable/OffsetWellsTableRow.module.css.js +1 -1
  135. package/components/OffsetWellPickerV5/stores/view-store/createViewStore.d.ts +2 -0
  136. package/components/OffsetWellPickerV5/stores/view-store/createViewStore.d.ts.map +1 -1
  137. package/components/OffsetWellPickerV5/stores/view-store/createViewStore.js +1 -1
  138. package/componentsV2/CompletionsOffsetWellPicker/hooks/usePads.d.ts.map +1 -1
  139. package/componentsV2/CompletionsOffsetWellPicker/hooks/usePads.js +1 -1
  140. package/package.json +1 -1
  141. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/LassoTip/LassoTip.js +0 -2
  142. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/LassoTip/LassoTip.js.map +0 -1
  143. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/LassoTip/LassoTip.module.css.js +0 -2
  144. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/LassoTip/LassoTip.d.ts +0 -13
  145. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/LassoTip/LassoTip.d.ts.map +0 -1
  146. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/LassoTip/LassoTip.js +0 -2
  147. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/LassoTip/LassoTip.js.map +0 -1
  148. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/LassoTip/LassoTip.module.css.js +0 -2
  149. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/LassoTip/index.d.ts +0 -2
  150. /package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/{LassoTip/LassoTip.module.css.js.map → BoxSelectionOverlay/BoxSelectionOverlay.module.css.js.map} +0 -0
  151. /package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/{LassoTip/LassoTip.module.css.js.map → BoxSelectionOverlay/BoxSelectionOverlay.module.css.js.map} +0 -0
@@ -1,2 +1,2 @@
1
- import{jsxs as o,jsx as s}from"react/jsx-runtime";import t from"classnames";import e from"./MapControls.module.css.js";import{PlusIcon as n,MinusIcon as p}from"../../../../../../../icons/iconParkIcons.js";import"../../../../../../../icons/customIcons/icons/AddMessage.js";import"../../../../../../../icons/customIcons/icons/Attention.js";import"../../../../../../../icons/customIcons/icons/Collapse.js";import"../../../../../../../icons/customIcons/icons/Dashboard.js";import"../../../../../../../icons/customIcons/icons/Expand.js";import"../../../../../../../icons/customIcons/icons/FolderClosed.js";import"../../../../../../../icons/customIcons/icons/FolderClosedFilled.js";import"../../../../../../../icons/customIcons/icons/FolderOpened.js";import"../../../../../../../icons/customIcons/icons/GreaterOrEqual.js";import"../../../../../../../icons/customIcons/icons/LessOrEqual.js";import"../../../../../../../icons/customIcons/icons/Search.js";import"../../../../../../../icons/customIcons/icons/SearchOne.js";import"../../../../../../../icons/customIcons/icons/Wellhub.js";import"../../../../../../../icons/customIcons/icons/MultiRuler.js";import"../../../../../../../icons/customIcons/icons/Checkbox.js";import"../../../../../../../icons/customIcons/icons/CheckboxChecked.js";import"../../../../../../../icons/customIcons/icons/CheckboxIndeterminate.js";import"../../../../../../../icons/customIcons/icons/Radio.js";import"../../../../../../../icons/customIcons/icons/RadioChecked.js";import"../../../../../../../icons/customIcons/icons/SimulFrac.js";import"../../../../../../../icons/customIcons/icons/ZipperFrac.js";import"../../../../../../../icons/customIcons/icons/CautionFilled.js";import"../../../../../../../icons/customIcons/icons/MoreApp.js";import"../../../../../../../icons/customIcons/icons/Pad.js";import"../../../../../../../icons/customIcons/icons/DrilloutUnit.js";import"../../../../../../../icons/customIcons/icons/FracFleet.js";import"../../../../../../../icons/customIcons/icons/Global.js";import"../../../../../../../icons/customIcons/icons/Program.js";import"../../../../../../../icons/customIcons/icons/Rig.js";import"../../../../../../../icons/customIcons/icons/Well.js";import"../../../../../../../icons/customIcons/icons/Gap.js";import"../../../../../../../icons/customIcons/icons/Pin.js";import"../../../../../../../icons/customIcons/icons/CloseOneFilled.js";import"../../../../../../../icons/customIcons/icons/AttentionFilled.js";import"../../../../../../../icons/customIcons/icons/CheckOneFilled.js";import"../../../../../../../icons/customIcons/icons/Archive.js";import"../../../../../../../icons/customIcons/icons/ArchiveCancel.js";import"../../../../../../../icons/customIcons/icons/Unarchive.js";import"../../../../../../../icons/customIcons/icons/Archived.js";import"../../../../../../../icons/customIcons/icons/InterventionUnit.js";import{LassoIcon as i}from"../../../../../../../icons/customIcons/icons/Lasso.js";import"../../../../../../../componentsV2/Text/Text.js";import"../../../../../../../componentsV2/Grid/Grid.js";import"../../../../../../../componentsV2/Grid/Cell.js";import"../../../../../../../componentsV2/Header/Header.scss.js";import"../../../../../../../componentsV2/Button/Button.js";import{ButtonIcon as c}from"../../../../../../../componentsV2/ButtonIcon/ButtonIcon.js";import{Tooltip as r}from"../../../../../../../componentsV2/Tooltip/Tooltip.js";import"../../../../../../../componentsV2/Popover/Popover.js";import"../../../../../../../componentsV2/Radio/Radio.js";import"react";import"@material-ui/core";import"../../../../../../../componentsV2/RadioAndCheckboxGroup/RadioAndCheckboxGroup.scss.js";import"../../../../../../../componentsV2/Checkbox/Checkbox.js";import"../../../../../../../componentsV2/TextInput/TextInput.js";import"../../../../../../../componentsV2/Label/Label.js";import"lodash";import"../../../../../../../componentsV2/TextEndTruncated/TextEndTruncated.scss.js";import"../../../../../../../componentsV2/TextMiddleTruncated/TextMiddleTruncated.constants.js";import"../../../../../../../componentsV2/TextMiddleTruncated/TextMiddleTruncated.scss.js";import"../../../../../../../componentsV2/TextLink/TextLink.js";import"../../../../../../../componentsV2/Chip/Chip.js";import"../../../../../../../componentsV2/ChipAlert/ChipAlert.js";import"../../../../../../../componentsV2/ChipIndicator/ChipIndicator.js";import"../../../../../../../componentsV2/Avatar/Avatar.js";import"../../../../../../../componentsV2/AvatarGroup/AvatarGroup.js";import"@material-ui/lab";import"../../../../../../../componentsV2/ToggleButtons/ToggleButtons.scss.js";import"../../../../../../../componentsV2/Paper/Paper.js";import"../../../../../../../componentsV2/ModalWindow/ModalWindow.scss.js";import"uuid";import"../../../../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js";import"../../../../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js";import"../../../../../../DevCenter/DevCenterAppContainer/components/IsInsideIsolatedDcAppProvider/IsInsideIsolatedDcAppProvider.js";import"../../../../../../../componentsV2/Modal/Modal.scss.js";import"../../../../../../../componentsV2/Menu/Menu.js";import"../../../../../../../componentsV2/utils.js";import"../../../../../../../componentsV2/Hint/Hint.scss.js";import"../../../../../../../componentsV2/Counter/Counter.js";import"../../../../../../../componentsV2/BadgeBase/BadgeBase.scss.js";import"../../../../../../../componentsV2/BadgeDot/BadgeDot.scss.js";import"../../../../../../../componentsV2/LoaderLinear/LoaderLinear.scss.js";import"../../../../../../../componentsV2/LoaderLogo/LoaderLogo.constants.js";import"../../../../../../../componentsV2/LoaderLogo/LoaderLogo.scss.js";import"../../../../../../../componentsV2/Switch/Switch.js";import"../../../../../../../componentsV2/Tabs/Tabs.js";import"../../../../../../../componentsV2/EmptyState/EmptyState.scss.js";import"../../../../../../../componentsV2/FileIcon/FileIcon.js";import"../../../../../../../componentsV2/Tag/Tag.js";import"react-dropzone";import"../../../../../../../utils/index.js";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"../../../../../../../constants/goals.js";import"../../../../../../../constants/segment.js";import"../../../../../../../constants/alerts.js";import"../../../../../../../constants/apps.js";import"../../../../../../../constants/drillstring.js";import"../../../../../../../constants/completion.js";import"../../../../../../../constants/appPackages.js";import"../../../../../../../constants/notifications.js";import"../../../../../../../constants/feed.js";import"../../../../../../../constants/bha.js";import"../../../../../../../constants/corvaCompanyId.js";import"../../../../../../GradientManager/configuration/constants.js";import"../../../../../../../componentsV2/AppCommonsProvider/AppCommonsContext.js";import"../../../../../../../componentsV2/AppHeader/AppHeader.constants.js";import"../../../../../../../componentsV2/AppHeader/AppBadge/AppBadge.scss.js";import"../../../../../../DevCenter/DevCenterRouterContext/DevCenterRouterContext.js";import"../../../../../../DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/helpers/objectWithoutProperties";import"react-router";import"../../../../../../../componentsV2/AppHeader/AppAssets/utils.js";import"../../../../../../../componentsV2/AppHeader/AppAssets/AppAssets.scss.js";import"../../../../../../PadModeSelect/PadModeSelect.js";import"../../../../../../../componentsV2/AppHeader/PadMode/PadMode.scss.js";import"../../../../../../../constants/streamSourceType.js";import"../../../../../../../types/shared/Completions.js";import"../../../../../../PadModeSelect/types.js";import"lodash/flatten";import"lodash/partition";import"../../../../../../../componentsV2/PadModeSelect/FracModeLabel/FracModeLabel.js";import"../../../../../../../componentsV2/PadModeSelect/FracModeLabel/FracModeLabel.constants.js";import"../../../../../../../clients/jsonApi/index.js";import"@babel/runtime/helpers/toConsumableArray";import"lodash/set";import"lodash/get";import"lodash/unset";import"moment";import"../../../../../../../clients/subscriptions/constants.js";import"../../../../../../../clients/subscriptions.v1.js";import"../../../../../../../clients/subscriptions/subscriptions-client.factory.js";import"../../../../../../../clients/api/apiCore.js";import"../../../../../../../clients/constants.js";import"../../../../../../../clients/sso/auth0.js";import"../../../../../../../clients/sso/oauth2.js";import"../../../../../../../componentsV2/PadModeSelect/WellStreamActivityStatus/WellStreamActivityStatus.scss.js";import"../../../../../../../componentsV2/PadModeSelect/PadModeSelect.constants.js";import"../../../../../../../componentsV2/PadModeSelect/PadModeSelect.scss.js";import"@babel/runtime/helpers/slicedToArray";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"querystring";import"uuid/v1";import"jsona";import"../../../../../../../utils/env.js";import"../../../../../../StatusBadge/constants.js";import"lodash/isEmpty";import"lodash/sortBy";import"../../../../../../DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchContext.js";import"../../../../../../../componentsV2/AppHeader/V3/VersionSelect/VersionSelect.js";import"../../../../../../../componentsV2/UniversalLink/UniversalLink.scss.js";import"../../../../../../../componentsV2/AppHeader/V3/AssetChips/AssetChips.scss.js";import"../../../../../../../componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.js";import"../../../../../../../componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.constants.js";import"../../../../../../../componentsV2/AppFooter/DqPopover/DqStatusIcon/DqStatusIcon.js";import"../../../../../../../componentsV2/AppDqPopover/DqAlertTooltip/DqAlertTooltip.scss.js";import"../../../../../../../componentsV2/AppDqPopover/DqAlert/DqAlert.scss.js";import"../../../../../../../componentsV2/AppDqPopover/DqAsset/DqAsset.scss.js";import"../../../../../../../componentsV2/AppDqPopover/AppDqPopover.scss.js";import"../../../../../../AppIcon/AppIcon.js";import"../../../../../../../utils/getSingleAsset.js";import"../../../../../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorChip/AssetSelectorChip.js";import"../../../../../../../componentsV2/AppHeader/V3/AssetSelector/constants.js";import"../../../../../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/AssetSelectorSelect.scss.js";import"../../../../../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/loadAssets.js";import"../../../../../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelector.scss.js";import"../../../../../../../componentsV2/AppHeader/V3/AppTitle/AppTitle.constants.js";import"../../../../../../../componentsV2/AppContainer/headerCommon.scss.js";import"../../../../../../../componentsV2/AppHeader/V3/AppTitle/AppTitle.scss.js";import"../../../../../../../componentsV2/AppHeader/V3/constants.scss.js";import"@babel/runtime/helpers/typeof";import"../../../../../../../componentsV2/AppHeader/V3/SettingsButton/SettingsButton.js";import"../../../../../../../componentsV2/AppHeader/V3/SettingsButton/SettingsButton.constants.js";import"../../../../../../../componentsV2/AppSettings/AppSettings.js";import"../../../../../../../componentsV2/AppSettings/AppSettings.constants.js";import"../../../../../../../componentsV2/AppSettings/AppSettingsPinningContext.js";import"../../../../../../../componentsV2/AppSizeProvider/AppSizeProvider.js";import"../../../../../../../componentsV2/AppHeader/V3/Actions/Actions.constants.js";import"../../../../../../../componentsV2/AppHeader/V3/Actions/Actions.scss.js";import"../../../../../../../componentsV2/AppHeader/V3/AppHeaderV3.scss.js";import"../../../../../../../componentsV2/AppHeader/AppHeader.scss.js";import"../../../../../../../componentsV2/OffsetWellsButton/OffsetWellsButton.js";import"../../../../../../../componentsV2/Autocomplete/Autocomplete.scss.js";import"../../../../../../../componentsV2/Menu/MenuItem/MenuItem.js";import"../../../../../../../componentsV2/Autocomplete/AutocompleteListBox.js";import"../../../../../../../componentsV2/AppSettingsDivider/AppSettingsDivider.scss.js";import"../../../../../../../componentsV2/WellArchivedMessage/WellArchivedMessage.js";import"../../../../../../../componentsV2/DatePicker/DatePicker.js";import"../../../../../../../componentsV2/DragHandle/DragHandle.js";import"../../../../../../../componentsV2/CompletionsOffsetWellPicker/CompletionsOffsetWellPicker.js";var m=function(m){var a=m.onZoomIn,l=m.onZoomOut,d=m.canZoomIn,j=m.canZoomOut,u=m.isLassoActive,A=m.onLassoToggle,V=m.isSatellite,C=void 0!==V&&V,I=m.className;return o("div",{className:t(e.mapControls,C&&e.satellite,I),children:[s(r,{title:"Lasso",placement:"left",children:s(c,{size:"small",type:u?"secondaryBg":"tertiaryBg",onClick:A,children:s(i,{})})}),s(r,{title:"Zoom in",placement:"left",children:s(c,{size:"small",type:"tertiaryBg",onClick:a,disabled:!d,children:s(n,{})})}),s(r,{title:"Zoom out",placement:"left",children:s(c,{size:"small",type:"tertiaryBg",onClick:l,disabled:!j,children:s(p,{})})})]})};export{m as MapControls};
1
+ import{jsxs as o,jsx as s}from"react/jsx-runtime";import t from"classnames";import e from"./MapControls.module.css.js";import{PlusIcon as n,MinusIcon as p}from"../../../../../../../icons/iconParkIcons.js";import"../../../../../../../icons/customIcons/icons/AddMessage.js";import"../../../../../../../icons/customIcons/icons/Attention.js";import"../../../../../../../icons/customIcons/icons/Collapse.js";import"../../../../../../../icons/customIcons/icons/Dashboard.js";import"../../../../../../../icons/customIcons/icons/Expand.js";import"../../../../../../../icons/customIcons/icons/FolderClosed.js";import"../../../../../../../icons/customIcons/icons/FolderClosedFilled.js";import"../../../../../../../icons/customIcons/icons/FolderOpened.js";import"../../../../../../../icons/customIcons/icons/GreaterOrEqual.js";import"../../../../../../../icons/customIcons/icons/LessOrEqual.js";import"../../../../../../../icons/customIcons/icons/Search.js";import"../../../../../../../icons/customIcons/icons/SearchOne.js";import"../../../../../../../icons/customIcons/icons/Wellhub.js";import"../../../../../../../icons/customIcons/icons/MultiRuler.js";import"../../../../../../../icons/customIcons/icons/Checkbox.js";import"../../../../../../../icons/customIcons/icons/CheckboxChecked.js";import"../../../../../../../icons/customIcons/icons/CheckboxIndeterminate.js";import"../../../../../../../icons/customIcons/icons/Radio.js";import"../../../../../../../icons/customIcons/icons/RadioChecked.js";import"../../../../../../../icons/customIcons/icons/SimulFrac.js";import"../../../../../../../icons/customIcons/icons/ZipperFrac.js";import"../../../../../../../icons/customIcons/icons/CautionFilled.js";import"../../../../../../../icons/customIcons/icons/MoreApp.js";import"../../../../../../../icons/customIcons/icons/Pad.js";import"../../../../../../../icons/customIcons/icons/DrilloutUnit.js";import"../../../../../../../icons/customIcons/icons/FracFleet.js";import"../../../../../../../icons/customIcons/icons/Global.js";import"../../../../../../../icons/customIcons/icons/Program.js";import"../../../../../../../icons/customIcons/icons/Rig.js";import"../../../../../../../icons/customIcons/icons/Well.js";import"../../../../../../../icons/customIcons/icons/Gap.js";import"../../../../../../../icons/customIcons/icons/Pin.js";import"../../../../../../../icons/customIcons/icons/CloseOneFilled.js";import"../../../../../../../icons/customIcons/icons/AttentionFilled.js";import"../../../../../../../icons/customIcons/icons/CheckOneFilled.js";import"../../../../../../../icons/customIcons/icons/Archive.js";import"../../../../../../../icons/customIcons/icons/ArchiveCancel.js";import"../../../../../../../icons/customIcons/icons/Unarchive.js";import"../../../../../../../icons/customIcons/icons/Archived.js";import"../../../../../../../icons/customIcons/icons/InterventionUnit.js";import{LassoIcon as i}from"../../../../../../../icons/customIcons/icons/Lasso.js";import"../../../../../../../componentsV2/Text/Text.js";import"../../../../../../../componentsV2/Grid/Grid.js";import"../../../../../../../componentsV2/Grid/Cell.js";import"../../../../../../../componentsV2/Header/Header.scss.js";import"../../../../../../../componentsV2/Button/Button.js";import{ButtonIcon as c}from"../../../../../../../componentsV2/ButtonIcon/ButtonIcon.js";import{Tooltip as r}from"../../../../../../../componentsV2/Tooltip/Tooltip.js";import"../../../../../../../componentsV2/Popover/Popover.js";import"../../../../../../../componentsV2/Radio/Radio.js";import"react";import"@material-ui/core";import"../../../../../../../componentsV2/RadioAndCheckboxGroup/RadioAndCheckboxGroup.scss.js";import"../../../../../../../componentsV2/Checkbox/Checkbox.js";import"../../../../../../../componentsV2/TextInput/TextInput.js";import"../../../../../../../componentsV2/Label/Label.js";import"lodash";import"../../../../../../../componentsV2/TextEndTruncated/TextEndTruncated.scss.js";import"../../../../../../../componentsV2/TextMiddleTruncated/TextMiddleTruncated.constants.js";import"../../../../../../../componentsV2/TextMiddleTruncated/TextMiddleTruncated.scss.js";import"../../../../../../../componentsV2/TextLink/TextLink.js";import"../../../../../../../componentsV2/Chip/Chip.js";import"../../../../../../../componentsV2/ChipAlert/ChipAlert.js";import"../../../../../../../componentsV2/ChipIndicator/ChipIndicator.js";import"../../../../../../../componentsV2/Avatar/Avatar.js";import"../../../../../../../componentsV2/AvatarGroup/AvatarGroup.js";import"@material-ui/lab";import"../../../../../../../componentsV2/ToggleButtons/ToggleButtons.scss.js";import"../../../../../../../componentsV2/Paper/Paper.js";import"../../../../../../../componentsV2/ModalWindow/ModalWindow.scss.js";import"uuid";import"../../../../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js";import"../../../../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js";import"../../../../../../DevCenter/DevCenterAppContainer/components/IsInsideIsolatedDcAppProvider/IsInsideIsolatedDcAppProvider.js";import"../../../../../../../componentsV2/Modal/Modal.scss.js";import"../../../../../../../componentsV2/Menu/Menu.js";import"../../../../../../../componentsV2/utils.js";import"../../../../../../../componentsV2/Hint/Hint.scss.js";import"../../../../../../../componentsV2/Counter/Counter.js";import"../../../../../../../componentsV2/BadgeBase/BadgeBase.scss.js";import"../../../../../../../componentsV2/BadgeDot/BadgeDot.scss.js";import"../../../../../../../componentsV2/LoaderLinear/LoaderLinear.scss.js";import"../../../../../../../componentsV2/LoaderLogo/LoaderLogo.constants.js";import"../../../../../../../componentsV2/LoaderLogo/LoaderLogo.scss.js";import"../../../../../../../componentsV2/Switch/Switch.js";import"../../../../../../../componentsV2/Tabs/Tabs.js";import"../../../../../../../componentsV2/EmptyState/EmptyState.scss.js";import"../../../../../../../componentsV2/FileIcon/FileIcon.js";import"../../../../../../../componentsV2/Tag/Tag.js";import"react-dropzone";import"../../../../../../../utils/index.js";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"../../../../../../../constants/goals.js";import"../../../../../../../constants/segment.js";import"../../../../../../../constants/alerts.js";import"../../../../../../../constants/apps.js";import"../../../../../../../constants/drillstring.js";import"../../../../../../../constants/completion.js";import"../../../../../../../constants/appPackages.js";import"../../../../../../../constants/notifications.js";import"../../../../../../../constants/feed.js";import"../../../../../../../constants/bha.js";import"../../../../../../../constants/corvaCompanyId.js";import"../../../../../../GradientManager/configuration/constants.js";import"../../../../../../../componentsV2/AppCommonsProvider/AppCommonsContext.js";import"../../../../../../../componentsV2/AppHeader/AppHeader.constants.js";import"../../../../../../../componentsV2/AppHeader/AppBadge/AppBadge.scss.js";import"../../../../../../DevCenter/DevCenterRouterContext/DevCenterRouterContext.js";import"../../../../../../DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/helpers/objectWithoutProperties";import"react-router";import"../../../../../../../componentsV2/AppHeader/AppAssets/utils.js";import"../../../../../../../componentsV2/AppHeader/AppAssets/AppAssets.scss.js";import"../../../../../../PadModeSelect/PadModeSelect.js";import"../../../../../../../componentsV2/AppHeader/PadMode/PadMode.scss.js";import"../../../../../../../constants/streamSourceType.js";import"../../../../../../../types/shared/Completions.js";import"../../../../../../PadModeSelect/types.js";import"lodash/flatten";import"lodash/partition";import"../../../../../../../componentsV2/PadModeSelect/FracModeLabel/FracModeLabel.js";import"../../../../../../../componentsV2/PadModeSelect/FracModeLabel/FracModeLabel.constants.js";import"../../../../../../../clients/jsonApi/index.js";import"@babel/runtime/helpers/toConsumableArray";import"lodash/set";import"lodash/get";import"lodash/unset";import"moment";import"../../../../../../../clients/subscriptions/constants.js";import"../../../../../../../clients/subscriptions.v1.js";import"../../../../../../../clients/subscriptions/subscriptions-client.factory.js";import"../../../../../../../clients/api/apiCore.js";import"../../../../../../../clients/constants.js";import"../../../../../../../clients/sso/auth0.js";import"../../../../../../../clients/sso/oauth2.js";import"../../../../../../../componentsV2/PadModeSelect/WellStreamActivityStatus/WellStreamActivityStatus.scss.js";import"../../../../../../../componentsV2/PadModeSelect/PadModeSelect.constants.js";import"../../../../../../../componentsV2/PadModeSelect/PadModeSelect.scss.js";import"@babel/runtime/helpers/slicedToArray";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"querystring";import"uuid/v1";import"jsona";import"../../../../../../../utils/env.js";import"../../../../../../StatusBadge/constants.js";import"lodash/isEmpty";import"lodash/sortBy";import"../../../../../../DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchContext.js";import"../../../../../../../componentsV2/AppHeader/V3/VersionSelect/VersionSelect.js";import"../../../../../../../componentsV2/UniversalLink/UniversalLink.scss.js";import"../../../../../../../componentsV2/AppHeader/V3/AssetChips/AssetChips.scss.js";import"../../../../../../../componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.js";import"../../../../../../../componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.constants.js";import"../../../../../../../componentsV2/AppFooter/DqPopover/DqStatusIcon/DqStatusIcon.js";import"../../../../../../../componentsV2/AppDqPopover/DqAlertTooltip/DqAlertTooltip.scss.js";import"../../../../../../../componentsV2/AppDqPopover/DqAlert/DqAlert.scss.js";import"../../../../../../../componentsV2/AppDqPopover/DqAsset/DqAsset.scss.js";import"../../../../../../../componentsV2/AppDqPopover/AppDqPopover.scss.js";import"../../../../../../AppIcon/AppIcon.js";import"../../../../../../../utils/getSingleAsset.js";import"../../../../../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorChip/AssetSelectorChip.js";import"../../../../../../../componentsV2/AppHeader/V3/AssetSelector/constants.js";import"../../../../../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/AssetSelectorSelect.scss.js";import"../../../../../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/loadAssets.js";import"../../../../../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelector.scss.js";import"../../../../../../../componentsV2/AppHeader/V3/AppTitle/AppTitle.constants.js";import"../../../../../../../componentsV2/AppContainer/headerCommon.scss.js";import"../../../../../../../componentsV2/AppHeader/V3/AppTitle/AppTitle.scss.js";import"../../../../../../../componentsV2/AppHeader/V3/constants.scss.js";import"@babel/runtime/helpers/typeof";import"../../../../../../../componentsV2/AppHeader/V3/SettingsButton/SettingsButton.js";import"../../../../../../../componentsV2/AppHeader/V3/SettingsButton/SettingsButton.constants.js";import"../../../../../../../componentsV2/AppSettings/AppSettings.js";import"../../../../../../../componentsV2/AppSettings/AppSettings.constants.js";import"../../../../../../../componentsV2/AppSettings/AppSettingsPinningContext.js";import"../../../../../../../componentsV2/AppSizeProvider/AppSizeProvider.js";import"../../../../../../../componentsV2/AppHeader/V3/Actions/Actions.constants.js";import"../../../../../../../componentsV2/AppHeader/V3/Actions/Actions.scss.js";import"../../../../../../../componentsV2/AppHeader/V3/AppHeaderV3.scss.js";import"../../../../../../../componentsV2/AppHeader/AppHeader.scss.js";import"../../../../../../../componentsV2/OffsetWellsButton/OffsetWellsButton.js";import"../../../../../../../componentsV2/Autocomplete/Autocomplete.scss.js";import"../../../../../../../componentsV2/Menu/MenuItem/MenuItem.js";import"../../../../../../../componentsV2/Autocomplete/AutocompleteListBox.js";import"../../../../../../../componentsV2/AppSettingsDivider/AppSettingsDivider.scss.js";import"../../../../../../../componentsV2/WellArchivedMessage/WellArchivedMessage.js";import"../../../../../../../componentsV2/DatePicker/DatePicker.js";import"../../../../../../../componentsV2/DragHandle/DragHandle.js";import"../../../../../../../componentsV2/CompletionsOffsetWellPicker/CompletionsOffsetWellPicker.js";var m=function(m){var a=m.onZoomIn,l=m.onZoomOut,d=m.canZoomIn,j=m.canZoomOut,u=m.isLassoActive,A=m.onLassoToggle,V=m.isSatellite,C=void 0!==V&&V,I=m.className;return o("div",{className:t(e.mapControls,C&&e.satellite,I),children:[s(r,{title:"Lasso",placement:"left",children:s(c,{size:"small",type:u?"secondaryBg":"tertiaryBg",onClick:A,children:s(i,{})})}),s(r,{title:"Zoom in",placement:"left",children:s("span",{children:s(c,{size:"small",type:"tertiaryBg",onClick:a,disabled:!d,children:s(n,{})})})}),s(r,{title:"Zoom out",placement:"left",children:s("span",{children:s(c,{size:"small",type:"tertiaryBg",onClick:l,disabled:!j,children:s(p,{})})})})]})};export{m as MapControls};
2
2
  //# sourceMappingURL=MapControls.js.map
@@ -0,0 +1,15 @@
1
+ type MapHintsProps = {
2
+ mode: 'box' | 'lasso';
3
+ isBoxActive?: boolean;
4
+ isDrawing?: boolean;
5
+ pointCount?: number;
6
+ isEditingPolygon?: boolean;
7
+ isEditingVertices?: boolean;
8
+ hasPolygon?: boolean;
9
+ showBoxSelectionHint?: boolean;
10
+ isSatellite?: boolean;
11
+ className?: string;
12
+ };
13
+ export declare const MapHints: import("react").ForwardRefExoticComponent<MapHintsProps & import("react").RefAttributes<HTMLDivElement>>;
14
+ export {};
15
+ //# sourceMappingURL=MapHints.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MapHints.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHints.tsx"],"names":[],"mappings":"AAOA,KAAK,aAAa,GAAG;IACnB,IAAI,EAAE,KAAK,GAAG,OAAO,CAAC;IAEtB,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAE/B,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAmKF,eAAO,MAAM,QAAQ,0GAyCpB,CAAC"}
@@ -0,0 +1,2 @@
1
+ import{jsx as e,Fragment as i}from"react/jsx-runtime";import{forwardRef as t,useMemo as o}from"react";import s from"classnames";import{CursorIcon as l}from"./components/CursorIcon.js";import{KeyboardKey as n}from"./components/KeyboardKey.js";import{HintItem as r}from"./components/HintItem.js";import a from"./MapHints.module.css.js";var c=function(i){var t=i.isActive,o=i.isSatellite;return e(r,t?{icon:e(l,{type:"default"}),text:"Release click to finalize selection",isSatellite:o}:{prefix:"Hold",keyboardKey:e(n,{children:"Shift"}),suffix:"+ drag to select wells",isSatellite:o})},p=function(t){var s=t.isDrawing,a=t.pointCount,c=t.isEditingPolygon,p=t.isEditingVertices,d=t.hasPolygon,f=t.showBoxSelectionHint,u=t.isSatellite,m=o((function(){var i=[];return s?0===a?i.push(e(r,{icon:e(l,{type:"cross"}),text:"Click on map to start drawing",isSatellite:u},"start-drawing")):a<3?i.push(e(r,{icon:e(l,{type:"cross"}),text:"Add at least 3 points to create selection",isSatellite:u},"add-points")):i.push(e(r,{prefix:"Press",keyboardKey:e(n,{children:"Enter"}),suffix:"to apply selection",isSatellite:u},"apply-selection")):p?(i.push(e(r,{icon:e(l,{type:"grabbing"}),text:"Drag points to reshape",isSatellite:u},"drag-points")),i.push(e(r,{prefix:"Press",keyboardKey:e(n,{children:"Delete"}),suffix:"to remove",isSatellite:u},"delete-polygon"))):c?(i.push(e(r,{icon:e(l,{type:"grabbing"}),text:"Drag to move",isSatellite:u},"drag-to-move")),i.push(e(r,{prefix:"Press",keyboardKey:e(n,{children:"Delete"}),suffix:"to remove",isSatellite:u},"delete-polygon")),i.push(e(r,{icon:e(l,{type:"default"}),text:"Click again to reshape",isSatellite:u},"reshape"))):d&&i.push(e(r,{icon:e(l,{type:"default"}),text:"Click on selection to modify",isSatellite:u},"modify-selection")),f&&i.length>0&&i.push(e(r,{prefix:"Hold",keyboardKey:e(n,{children:"Shift"}),suffix:"+ drag to select wells",isSatellite:u},"box-selection")),i}),[s,a,c,p,d,f,u]);return 0===m.length?null:e(i,{children:m})},d=t((function(i,t){var o=i.mode,l=i.isBoxActive,n=void 0!==l&&l,r=i.isDrawing,d=void 0!==r&&r,f=i.pointCount,u=void 0===f?0:f,m=i.isEditingPolygon,g=void 0!==m&&m,y=i.isEditingVertices,h=void 0!==y&&y,x=i.hasPolygon,S=void 0!==x&&x,v=i.showBoxSelectionHint,b=void 0!==v&&v,w=i.isSatellite,k=void 0!==w&&w,H=i.className,P="box"===o?e(c,{isActive:n,isSatellite:k}):e(p,{isDrawing:d,pointCount:u,isEditingPolygon:g,isEditingVertices:h,hasPolygon:S,showBoxSelectionHint:b,isSatellite:k});return"lasso"!==o||P?e("div",{ref:t,className:s(a.mapHints,H),children:P}):null}));d.displayName="MapHints";export{d as MapHints};
2
+ //# sourceMappingURL=MapHints.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MapHints.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import e from'./../../../../../../../ext-esm/style-inject/dist/style-inject.es.js';var t={mapHints:"MapHints-module_mapHints__ew-a-"};e(".MapHints-module_mapHints__ew-a-{display:flex;flex-direction:column;gap:4px}");export{t as default};
2
+ //# sourceMappingURL=MapHints.module.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA,aAAa,qEAAwE;"}
@@ -0,0 +1,8 @@
1
+ type CursorIconType = 'cross' | 'default' | 'grabbing';
2
+ type CursorIconProps = {
3
+ type: CursorIconType;
4
+ className?: string;
5
+ };
6
+ export declare const CursorIcon: import("react").NamedExoticComponent<CursorIconProps>;
7
+ export {};
8
+ //# sourceMappingURL=CursorIcon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CursorIcon.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/components/CursorIcon.tsx"],"names":[],"mappings":"AAEA,KAAK,cAAc,GAAG,OAAO,GAAG,SAAS,GAAG,UAAU,CAAC;AAEvD,KAAK,eAAe,GAAG;IACrB,IAAI,EAAE,cAAc,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAwOF,eAAO,MAAM,UAAU,uDAA4B,CAAC"}
@@ -0,0 +1,2 @@
1
+ import{jsx as e,jsxs as l}from"react/jsx-runtime";import{memo as i}from"react";var r={cross:function(i){var r=i.className;return l("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:r,children:[l("g",{clipPath:"url(#clip0_cross)",children:[l("g",{filter:"url(#filter0_cross)",children:[e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.6004 6.8799H9.11287V2.3999H6.88786V6.8799H2.40039V9.1199H6.88786V13.5999H9.11287V9.1199H13.6004V6.8799Z",fill:"white"}),e("path",{d:"M13.8002 6.87995V6.67995H13.6002H9.31268V2.39995V2.19995H9.11268H6.88767H6.68767V2.39995V6.67995H2.4002H2.2002V6.87995V9.11995V9.31995H2.4002H6.68767V13.6V13.8H6.88767H9.11268H9.31268V13.6V9.31995H13.6002H13.8002V9.11995V6.87995Z",stroke:"white",strokeWidth:"0.6"})]}),e("path",{d:"M13 7.63213V7.51213H12.88H8.48848V3.12V3H8.36848H7.63156H7.51156V3.12V7.51213H3.12H3V7.63213V8.36792V8.48792H3.12H7.51156V12.88V13H7.63156H8.36848H8.48848V12.88V8.48792H12.88H13V8.36792V7.63213Z",fill:"black",stroke:"black",strokeWidth:"0.36"})]}),l("defs",{children:[l("filter",{id:"filter0_cross",x:"-0.259609",y:"0.939902",width:"15.7997",height:"15.8",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[e("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),e("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),e("feOffset",{dx:"-0.36",dy:"0.84"}),e("feGaussianBlur",{stdDeviation:"0.9"}),e("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.3 0"}),e("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow"}),e("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow",result:"shape"})]}),e("clipPath",{id:"clip0_cross",children:e("rect",{width:"16",height:"16",fill:"white"})})]})]})},default:function(i){var r=i.className;return l("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:r,children:[l("g",{clipPath:"url(#clip0_default)",children:[e("g",{filter:"url(#filter0_default)",children:e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.22711 8.34437L12.3244 7.24362L4 2.66699L6.42683 11.8513L8.24419 9.11232L10.42 11.8973L11.4029 11.1293L9.22711 8.34437Z",fill:"black",fillOpacity:"0.8"})}),e("g",{filter:"url(#filter1_default)",children:e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.6549 7.37502L10.0304 8.66318L12.0472 11.2446L10.0136 12.8334L7.99675 10.252L5.86999 13.4573L2.6665 1.33374L13.6549 7.37502ZM7.95263 9.11269L10.1285 11.8976L11.1114 11.1297L8.93555 8.34475L12.0328 7.24399L3.70845 2.66736L6.13528 11.8516L7.95263 9.11269Z",fill:"white"})})]}),l("defs",{children:[l("filter",{id:"filter0_default",x:"1",y:"0.666992",width:"14.3242",height:"15.2302",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[e("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),e("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),e("feOffset",{dy:"1"}),e("feGaussianBlur",{stdDeviation:"1.5"}),e("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),e("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow"}),e("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow",result:"shape"})]}),l("filter",{id:"filter1_default",x:"-0.333496",y:"-0.66626",width:"16.9883",height:"18.1235",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[e("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),e("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),e("feOffset",{dy:"1"}),e("feGaussianBlur",{stdDeviation:"1.5"}),e("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),e("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow"}),e("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow",result:"shape"})]}),e("clipPath",{id:"clip0_default",children:e("rect",{width:"16",height:"16",fill:"white"})})]})]})},grabbing:function(i){var r=i.className;return l("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:r,children:[l("g",{clipPath:"url(#clip0_grabbing)",children:[e("g",{filter:"url(#filter0_grabbing)",children:e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.6667 12.6668L10 11.3335L9.33333 12.6668H6.66667V11.9758C6.66667 11.43 4.53323 9.90913 4.53323 9.90913C4.23874 9.69027 4 9.21866 4 8.84709V6.44461C4 5.681 4.597 5.06189 5.33333 5.06189V7.13597H6V3.90974C6 3.59137 6.24867 3.3335 6.55567 3.3335C7.16933 3.3335 7.66667 3.84925 7.66667 4.48564V4.25542C7.66667 3.93705 7.91533 3.67918 8.22233 3.67918C8.836 3.67918 9.33333 4.19493 9.33333 4.83132V4.6011C9.33333 4.28273 9.582 4.02485 9.889 4.00016C10.5027 4.02485 11 4.54061 11 5.177V4.94678C11 4.62841 11.2487 4.37053 11.5557 4.37053C12.1693 4.37053 12.6667 4.88629 12.6667 5.52268V8.6697C12.6667 9.03631 12.5085 9.58764 12.3163 9.90502C12.3163 9.90502 11.3333 11.43 11.3333 11.9758V12.6668H10.6667ZM8 7.3335H8.66667V10.0002H8V7.3335ZM9.33333 7.3335H10V10.0002H9.33333V7.3335ZM10.6667 7.3335H11.3333V10.0002H10.6667V7.3335Z",fill:"white"})}),e("g",{filter:"url(#filter1_grabbing)",children:e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.2548 13.3334L10.0002 12.8241L9.74552 13.3334H6.00016V12.0685C5.97009 12.0229 5.91874 11.9571 5.84087 11.8717C5.67013 11.6845 5.4294 11.4652 5.17108 11.248C4.91617 11.0336 4.65927 10.834 4.46487 10.6871C4.36803 10.614 4.28752 10.5545 4.23159 10.5136C4.20364 10.4932 4.18187 10.4774 4.16732 10.4669L4.15105 10.4552L4.14723 10.4525L4.14644 10.4519L4.14104 10.4481L4.13574 10.4441C3.8841 10.2571 3.69066 9.9929 3.56086 9.73503C3.43097 9.47699 3.3335 9.16311 3.3335 8.84701V6.44453C3.3335 5.33579 4.20633 4.39514 5.3335 4.39514V3.90966C5.3335 3.24616 5.858 2.66675 6.55583 2.66675C7.01069 2.66675 7.41812 2.83844 7.72781 3.11746C7.87751 3.05019 8.04436 3.01243 8.2225 3.01243C8.67407 3.01243 9.0789 3.18164 9.38774 3.4571C9.52578 3.39058 9.67712 3.34832 9.83572 3.33556L9.87579 3.33234L9.91597 3.33395C10.358 3.35174 10.7581 3.52825 11.0639 3.80756C11.2129 3.74107 11.3788 3.70379 11.5558 3.70379C12.5603 3.70379 13.3335 4.54107 13.3335 5.5226V8.66962C13.3335 8.93484 13.2788 9.22875 13.2049 9.48823C13.1308 9.74856 13.0229 10.0254 12.8868 10.2502L12.8819 10.2582L12.8769 10.266L12.875 10.2691L12.8677 10.2804L12.8387 10.3263C12.8133 10.3667 12.7767 10.4256 12.7325 10.4982C12.6438 10.644 12.5264 10.8424 12.4099 11.0555C12.2923 11.2706 12.1815 11.49 12.1019 11.6798C12.0278 11.8565 12.007 11.9477 12.0018 11.9707C12.0005 11.9761 12.0002 11.9777 12.0002 11.9757V13.3334H10.2548ZM12.3165 9.90494C12.5086 9.58756 12.6668 9.03622 12.6668 8.66962V5.5226C12.6668 4.8862 12.1695 4.37045 11.5558 4.37045C11.5319 4.37045 11.5084 4.37202 11.4853 4.37505C11.2116 4.41097 11.0002 4.65312 11.0002 4.9467V5.17692C11.0002 5.09809 10.9925 5.02112 10.978 4.9467C10.9224 4.66184 10.7655 4.41441 10.5481 4.24389C10.3638 4.0993 10.1359 4.01001 9.88916 4.00008C9.86202 4.00226 9.83534 4.00627 9.80924 4.01198C9.54014 4.07084 9.3335 4.3108 9.3335 4.60102V4.83124C9.3335 4.7524 9.32586 4.67541 9.31132 4.60102C9.25537 4.3148 9.09713 4.06712 8.87788 3.90077C8.69417 3.76138 8.46761 3.67909 8.2225 3.67909C8.1983 3.67909 8.17447 3.6807 8.1511 3.6838C7.87785 3.72011 7.66683 3.96206 7.66683 4.25534V4.48556C7.66683 4.40672 7.6592 4.32973 7.64465 4.25534C7.5888 3.96966 7.43106 3.72236 7.21244 3.55602C7.02851 3.41607 6.80149 3.33341 6.55583 3.33341C6.24883 3.33341 6.00016 3.59129 6.00016 3.90966V7.13588H5.3335V5.06181C5.09064 5.06181 4.86295 5.12915 4.66683 5.24682C4.26831 5.48591 4.00016 5.93277 4.00016 6.44453V8.84701C4.00016 9.21858 4.2389 9.69019 4.53339 9.90904C4.53339 9.90904 6.66683 11.4299 6.66683 11.9757V12.6667H9.3335L10.0002 11.3334L10.6668 12.6667H11.3335V11.9757C11.3335 11.6888 11.6052 11.1311 11.863 10.6667C11.9097 10.5825 11.956 10.5013 12.0002 10.4254C12.1754 10.1238 12.3165 9.90494 12.3165 9.90494ZM10.0002 7.33342H9.3335V10.0001H10.0002V7.33342ZM8.00016 7.33342V10.0001H8.66683V7.33342H8.00016ZM10.6668 7.33342V10.0001H11.3335V7.33342H10.6668ZM6.02483 12.111C6.02463 12.111 6.02316 12.1082 6.02103 12.1029C6.02397 12.1084 6.02504 12.1111 6.02483 12.111Z",fill:"#191919"})})]}),l("defs",{children:[l("filter",{id:"filter0_grabbing",x:"1",y:"1.3335",width:"14.6665",height:"15.3333",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[e("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),e("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),e("feOffset",{dy:"1"}),e("feGaussianBlur",{stdDeviation:"1.5"}),e("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"}),e("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow"}),e("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow",result:"shape"})]}),l("filter",{id:"filter1_grabbing",x:"0.333496",y:"0.666748",width:"16",height:"16.6667",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[e("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),e("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),e("feOffset",{dy:"1"}),e("feGaussianBlur",{stdDeviation:"1.5"}),e("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"}),e("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow"}),e("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow",result:"shape"})]}),e("clipPath",{id:"clip0_grabbing",children:e("rect",{width:"16",height:"16",fill:"white"})})]})]})}},t=i((function(l){var i=l.type,t=l.className;return e(r[i],{className:t})}));t.displayName="CursorIcon";export{t as CursorIcon};
2
+ //# sourceMappingURL=CursorIcon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CursorIcon.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,12 @@
1
+ import { ReactNode } from 'react';
2
+ type HintItemProps = {
3
+ icon?: ReactNode;
4
+ keyboardKey?: ReactNode;
5
+ prefix?: string;
6
+ text?: string;
7
+ suffix?: string;
8
+ isSatellite?: boolean;
9
+ };
10
+ export declare const HintItem: import("react").NamedExoticComponent<HintItemProps>;
11
+ export {};
12
+ //# sourceMappingURL=HintItem.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HintItem.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/components/HintItem.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,SAAS,EAAE,MAAM,OAAO,CAAC;AAK5C,KAAK,aAAa,GAAG;IACnB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AAqBF,eAAO,MAAM,QAAQ,qDAA0B,CAAC"}
@@ -0,0 +1,2 @@
1
+ import{jsxs as e,jsx as t}from"react/jsx-runtime";import{memo as a}from"react";import i from"classnames";import r from"./HintItem.module.css.js";var s=a((function(a){var s=a.icon,m=a.keyboardKey,n=a.prefix,l=a.text,c=a.suffix,o=a.isSatellite,p=void 0!==o&&o;return e("div",{className:i(r.hintItem,p&&r.satellite),children:[s,n&&t("span",{className:r.text,children:n}),m,l&&t("span",{className:r.text,children:l}),c&&t("span",{className:r.text,children:c})]})}));s.displayName="HintItem";export{s as HintItem};
2
+ //# sourceMappingURL=HintItem.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HintItem.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import t from'./../../../../../../../../ext-esm/style-inject/dist/style-inject.es.js';var e={hintItem:"HintItem-module_hintItem__rfUM1",satellite:"HintItem-module_satellite__UHIFr",text:"HintItem-module_text__FdL5M"};t(".HintItem-module_hintItem__rfUM1{align-items:center;backdrop-filter:blur(2px);background:hsla(0,0%,100%,.04);border-radius:8px;display:flex;flex-direction:row;gap:4px;height:32px;padding:0 8px}.HintItem-module_hintItem__rfUM1.HintItem-module_satellite__UHIFr{background:rgba(56,56,56,.4)}.HintItem-module_text__FdL5M{color:#bdbdbd;font-family:Roboto,sans-serif;font-size:14px;font-weight:400;line-height:16px}");export{e as default};
2
+ //# sourceMappingURL=HintItem.module.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA,aAAa,wEAA2E;"}
@@ -0,0 +1,7 @@
1
+ import { ReactNode } from 'react';
2
+ type KeyboardKeyProps = {
3
+ children: ReactNode;
4
+ };
5
+ export declare const KeyboardKey: import("react").NamedExoticComponent<KeyboardKeyProps>;
6
+ export {};
7
+ //# sourceMappingURL=KeyboardKey.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"KeyboardKey.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/components/KeyboardKey.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,SAAS,EAAE,MAAM,OAAO,CAAC;AAI5C,KAAK,gBAAgB,GAAG;IACtB,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAMF,eAAO,MAAM,WAAW,wDAA6B,CAAC"}
@@ -0,0 +1,2 @@
1
+ import{jsx as r}from"react/jsx-runtime";import{memo as e}from"react";import a from"./KeyboardKey.module.css.js";var o=e((function(e){var o=e.children;return r("span",{className:a.keyboardKey,children:o})}));o.displayName="KeyboardKey";export{o as KeyboardKey};
2
+ //# sourceMappingURL=KeyboardKey.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"KeyboardKey.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import e from'./../../../../../../../../ext-esm/style-inject/dist/style-inject.es.js';var o={keyboardKey:"KeyboardKey-module_keyboardKey__jH2Gw"};e(".KeyboardKey-module_keyboardKey__jH2Gw{align-items:center;background:hsla(0,0%,100%,.08);border-radius:6px;color:#fff;display:inline-flex;font-family:Roboto,sans-serif;font-size:12px;font-weight:500;justify-content:center;line-height:16px;padding:2px 4px}");export{o as default};
2
+ //# sourceMappingURL=KeyboardKey.module.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA,aAAa,wEAA2E;"}
@@ -0,0 +1,4 @@
1
+ export { CursorIcon } from './CursorIcon';
2
+ export { KeyboardKey } from './KeyboardKey';
3
+ export { HintItem } from './HintItem';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { MapHints } from './MapHints';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/LassoTip/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"RadiusInput.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/RadiusInput/RadiusInput.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAqD,EAAE,EAAE,MAAM,OAAO,CAAC;AAW9E,KAAK,gBAAgB,GAAG;IACtB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,OAAO,CAAC;IAClB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAkBF,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CA6E5C,CAAC"}
1
+ {"version":3,"file":"RadiusInput.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/RadiusInput/RadiusInput.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAqD,EAAE,EAAE,MAAM,OAAO,CAAC;AAW9E,KAAK,gBAAgB,GAAG;IACtB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,OAAO,CAAC;IAClB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAkBF,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CAqF5C,CAAC"}
@@ -1,2 +1,2 @@
1
- import{jsxs as r,jsx as i}from"react/jsx-runtime";import{useState as t,useMemo as n,useRef as e,useEffect as a}from"react";import{InputLabel as u,TextField as o}from"@material-ui/core";import{debounce as s}from"lodash";import m from"classnames";import{getIsImperial as l}from"../../../../../utils/getIsImperial.js";import c from"./RadiusInput.module.css.js";import{convertValue as d}from"../../../../../../../utils/index.js";var f=function(f){var v=f.radius,p=f.editable,b=f.isLassoActive,h=void 0!==b&&b,N=f.isSatellite,g=void 0!==N&&N,I=f.onChange,j=f["data-testid"],k=void 0===j?"RadiusInput":j,x=f.className,F=t(""),R=F[0],C=F[1],E=t(!1),S=E[0],y=E[1],A=t(!1),B=A[0],L=A[1],_=n((function(){return l()}),[]),q=n((function(){return s((function(r){return I(r)}),1500)}),[I]),w=e(q);w.current=q,a((function(){return function(){return w.current.cancel()}}),[]),a((function(){if(!B){var r=_?v:d(v,"length","mi","km",3);C(function(r){return Number.isInteger(r)?String(r):r.toFixed(2)}(Number(r)))}}),[_,v,B]);var z=_?"mi":"km";return r("div",{className:m(c.radiusInput,g&&c.satellite,x),children:[r(u,{htmlFor:"radius-input",className:c.label,children:["Radius (",z,"):"]}),i(o,{id:"radius-input","data-testid":"".concat(k,"_input"),type:"number",value:R,disabled:!p||h,onChange:function(r){if(!function(r){var i,t=null===(i=r.nativeEvent)||void 0===i?void 0:i.data;return!!t&&["e","E","+","-"].includes(t)}(r)){var i=r.target.value;C(i);var t=function(r){if(""===r)return!0;var i=Number(r);return Number.isFinite(i)&&i>=0}(i);if(y(!t),t&&""!==i){var n=_?+i:d(+i,"length","km","mi",3);q(Number(n))}}},onFocus:function(){return L(!0)},onBlur:function(){w.current.flush(),L(!1)},error:S,className:c.field,"aria-label":"Radius in ".concat(_?"miles":"kilometers"),"aria-invalid":S})]})};export{f as RadiusInput};
1
+ import{jsxs as r,jsx as i}from"react/jsx-runtime";import{useState as t,useMemo as e,useRef as n,useEffect as a}from"react";import{InputLabel as u,TextField as o}from"@material-ui/core";import{debounce as s}from"lodash";import m from"classnames";import{getIsImperial as l}from"../../../../../utils/getIsImperial.js";import c from"./RadiusInput.module.css.js";import{convertValue as d}from"../../../../../../../utils/index.js";var f=function(f){var v=f.radius,p=f.editable,b=f.isLassoActive,h=void 0!==b&&b,N=f.isSatellite,g=void 0!==N&&N,I=f.onChange,j=f["data-testid"],k=void 0===j?"RadiusInput":j,x=f.className,F=t(""),R=F[0],C=F[1],E=t(!1),S=E[0],y=E[1],A=t(!1),B=A[0],L=A[1],_=e((function(){return l()}),[]),q=e((function(){return s((function(r){return I(r)}),1500)}),[I]),w=n(q);w.current=q,a((function(){return function(){return w.current.cancel()}}),[]),a((function(){if(!B){var r=_?v:d(v,"length","mi","km",3);C(function(r){return Number.isInteger(r)?String(r):r.toFixed(2)}(Number(r)))}}),[_,v,B]);var z=_?"mi":"km",D=!p||h;return r("div",{className:m(c.radiusInput,g&&c.satellite,D&&c.disabled,x),children:[r(u,{htmlFor:"radius-input",className:c.label,children:["Radius (",z,"):"]}),i(o,{id:"radius-input","data-testid":"".concat(k,"_input"),type:"number",value:R,disabled:D,onChange:function(r){if(!function(r){var i,t=null===(i=r.nativeEvent)||void 0===i?void 0:i.data;return!!t&&["e","E","+","-"].includes(t)}(r)){var i=r.target.value;C(i);var t=function(r){if(""===r)return!0;var i=Number(r);return Number.isFinite(i)&&i>=0}(i);if(y(!t),t&&""!==i){var e=_?+i:d(+i,"length","km","mi",3);q(Number(e))}}},onFocus:function(){return L(!0)},onBlur:function(){w.current.flush(),L(!1)},error:S,className:c.field,"aria-label":"Radius in ".concat(_?"miles":"kilometers"),"aria-invalid":S})]})};export{f as RadiusInput};
2
2
  //# sourceMappingURL=RadiusInput.js.map
@@ -1,2 +1,2 @@
1
- import u from'./../../../../../../../ext-esm/style-inject/dist/style-inject.es.js';var d={radiusInput:"RadiusInput-module_radiusInput__hIWff",label:"RadiusInput-module_label__I264H",field:"RadiusInput-module_field__-kx8O",satellite:"RadiusInput-module_satellite__cUSlL"};u(".RadiusInput-module_radiusInput__hIWff{align-items:center;backdrop-filter:blur(2px);background:#ffffff14;border-radius:8px;display:flex;gap:8px;padding:4px 8px}.RadiusInput-module_label__I264H{white-space:nowrap}.RadiusInput-module_field__-kx8O{max-width:60px}.RadiusInput-module_radiusInput__hIWff.RadiusInput-module_satellite__cUSlL{background:#414141a3}");export{d as default};
1
+ import u from'./../../../../../../../ext-esm/style-inject/dist/style-inject.es.js';var d={radiusInput:"RadiusInput-module_radiusInput__hIWff",disabled:"RadiusInput-module_disabled__SfpyI",satellite:"RadiusInput-module_satellite__cUSlL",label:"RadiusInput-module_label__I264H",field:"RadiusInput-module_field__-kx8O"};u(".RadiusInput-module_radiusInput__hIWff{align-items:center;backdrop-filter:blur(2px);background:hsla(0,0%,100%,.08);border-radius:8px;display:flex;gap:8px;padding:4px 8px}.RadiusInput-module_radiusInput__hIWff.RadiusInput-module_disabled__SfpyI{opacity:.4}.RadiusInput-module_radiusInput__hIWff.RadiusInput-module_satellite__cUSlL{background:rgba(65,65,65,.64)}.RadiusInput-module_radiusInput__hIWff.RadiusInput-module_satellite__cUSlL.RadiusInput-module_disabled__SfpyI{opacity:.6}.RadiusInput-module_label__I264H{white-space:nowrap}.RadiusInput-module_field__-kx8O{max-width:60px}");export{d as default};
2
2
  //# sourceMappingURL=RadiusInput.module.css.js.map
@@ -2,7 +2,6 @@ import { FC } from 'react';
2
2
  import { Coordinates } from '../../OffsetWellMap.types';
3
3
  type SubjectWellMarkerProps = {
4
4
  coordinates: Coordinates;
5
- isHighlighted: boolean;
6
5
  onMouseEnter: () => void;
7
6
  onMouseLeave: () => void;
8
7
  };
@@ -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;AAIxD,KAAK,sBAAsB,GAAG;IAC5B,WAAW,EAAE,WAAW,CAAC;IACzB,aAAa,EAAE,OAAO,CAAC;IACvB,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,YAAY,EAAE,MAAM,IAAI,CAAC;CAC1B,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,sBAAsB,CAuBxD,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;AAIxD,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,CAaxD,CAAC"}
@@ -1,2 +1,2 @@
1
- import{jsx as e}from"react/jsx-runtime";import{Marker as t}from"react-map-gl/mapbox";var i=function(i){var a=i.coordinates,o=i.isHighlighted,r=i.onMouseEnter,d=i.onMouseLeave,h=o?{width:70,height:20}:{width:62,height:12},n=o?[0,-10]:[0,-6];return e(t,{longitude:a.longitude,latitude:a.latitude,offset:n,children:e("img",{src:o?"/static/media/5e9c4959259cb12c11b2c5eaf27eb3ad.svg":"/static/media/9efe5882f31d2f22bd57af92069d0a3e.svg",width:h.width,height:h.height,onMouseEnter:r,onMouseLeave:d,style:{cursor:"pointer"},alt:"Subject Well",draggable:!1})})};export{i as SubjectWellMarker};
1
+ import{jsx as e,jsxs as o}from"react/jsx-runtime";import{Marker as r}from"react-map-gl/mapbox";import t from"./SubjectWellMarker.module.css.js";var a=function(a){var n=a.coordinates,i=a.onMouseEnter,l=a.onMouseLeave;return e(r,{longitude:n.longitude,latitude:n.latitude,anchor:"bottom",children:o("div",{className:t.container,onMouseEnter:i,onMouseLeave:l,children:[e("div",{className:t.label,children:"SUBJECT WELL"}),e("div",{className:t.circle})]})})};export{a as SubjectWellMarker};
2
2
  //# sourceMappingURL=SubjectWellMarker.js.map
@@ -0,0 +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-color:#03bcd4;border-radius:40px;color:#000;font-size:10px;font-weight:500;line-height:12px;margin-bottom:4px;padding:0 4px;white-space:nowrap}.SubjectWellMarker-module_circle__DrDww{background-color:#03bcd4;border-radius:50%;height:10px;width:10px}");export{r as default};
2
+ //# sourceMappingURL=SubjectWellMarker.module.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA,aAAa,qEAAwE;"}
@@ -1,2 +1,2 @@
1
- import o from'./../../../../../../../ext-esm/style-inject/dist/style-inject.es.js';var l={wellTooltip:"WellTooltip-module_wellTooltip__7v60O",commonItem:"WellTooltip-module_commonItem__DruMe",wellName:"WellTooltip-module_wellName__SMAHn",tooltipItem:"WellTooltip-module_tooltipItem__XOptj",unit:"WellTooltip-module_unit__RUzpY",info:"WellTooltip-module_info__h2dwp",infoIcon:"WellTooltip-module_infoIcon__wXKR4",blockIcon:"WellTooltip-module_blockIcon__SsJvI",infoLabel:"WellTooltip-module_infoLabel__BB2qX"};o(".WellTooltip-module_wellTooltip__7v60O{background-color:var(--palette-background-b-8);border-radius:4px;color:var(--palette-primary-text-1);display:flex;flex-direction:column;font-family:Roboto;font-style:normal;gap:4px;min-width:180px;padding:8px;position:relative;width:fit-content}.WellTooltip-module_commonItem__DruMe{max-width:300px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.WellTooltip-module_wellName__SMAHn{font-size:12px;font-weight:400;line-height:16px;padding-bottom:4px}.WellTooltip-module_tooltipItem__XOptj{font-size:14px;font-weight:400;line-height:20px}.WellTooltip-module_unit__RUzpY{color:var(--palette-primary-text-6);font-size:12px;font-weight:400;line-height:14px}.WellTooltip-module_info__h2dwp{align-items:center;display:flex;flex-direction:row;gap:4px;padding-top:8px}.WellTooltip-module_infoIcon__wXKR4{color:#64b5f6!important;font-size:16px!important;position:relative!important}.WellTooltip-module_blockIcon__SsJvI{color:#dadada!important;font-size:16px!important;position:relative!important}.WellTooltip-module_infoLabel__BB2qX{color:var(--palette-primary-text-6);font-size:12px;font-weight:400;line-height:16px}");export{l as default};
1
+ import o from'./../../../../../../../ext-esm/style-inject/dist/style-inject.es.js';var l={wellTooltip:"WellTooltip-module_wellTooltip__7v60O",commonItem:"WellTooltip-module_commonItem__DruMe",wellName:"WellTooltip-module_wellName__SMAHn",tooltipItem:"WellTooltip-module_tooltipItem__XOptj",unit:"WellTooltip-module_unit__RUzpY",info:"WellTooltip-module_info__h2dwp",infoIcon:"WellTooltip-module_infoIcon__wXKR4",blockIcon:"WellTooltip-module_blockIcon__SsJvI",infoLabel:"WellTooltip-module_infoLabel__BB2qX"};o(".WellTooltip-module_wellTooltip__7v60O{background-color:var(--palette-background-b-6);border-radius:4px;color:var(--palette-primary-text-1);display:flex;flex-direction:column;font-family:Roboto;font-style:normal;gap:4px;padding:8px}.WellTooltip-module_commonItem__DruMe{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.WellTooltip-module_wellName__SMAHn{font-size:12px;font-weight:400;line-height:16px;padding-bottom:4px}.WellTooltip-module_tooltipItem__XOptj{font-size:14px;font-weight:400;line-height:20px}.WellTooltip-module_unit__RUzpY{color:var(--palette-primary-text-6);font-size:12px;font-weight:400;line-height:14px}.WellTooltip-module_info__h2dwp{align-items:center;display:flex;flex-direction:row;gap:4px;padding-top:8px}.WellTooltip-module_infoIcon__wXKR4{color:#64b5f6!important;font-size:16px!important;position:relative!important}.WellTooltip-module_blockIcon__SsJvI{color:#dadada!important;font-size:16px!important;position:relative!important}.WellTooltip-module_infoLabel__BB2qX{color:var(--palette-primary-text-6);font-size:12px;font-weight:400;line-height:16px}");export{l as default};
2
2
  //# sourceMappingURL=WellTooltip.module.css.js.map
@@ -30,6 +30,18 @@ export declare const MapConfig: {
30
30
  readonly RadiusCircle: "#03BCD4";
31
31
  readonly DefaultWell: "#BDBDBD";
32
32
  };
33
+ readonly SelectionColors: {
34
+ readonly dark: {
35
+ readonly border: "#03BCD4";
36
+ readonly fill: "rgba(3, 188, 212, 0.08)";
37
+ readonly borderWidth: 1;
38
+ };
39
+ readonly satellite: {
40
+ readonly border: "#FFE679";
41
+ readonly fill: "rgba(255, 193, 7, 0.08)";
42
+ readonly borderWidth: 2;
43
+ };
44
+ };
33
45
  readonly LayerIds: {
34
46
  readonly Wells: "wells-layer";
35
47
  };
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../src/components/OffsetWellPickerV5/components/Map/OffsetWellMap/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEpD,MAAM,MAAM,eAAe,GAAG,OAAO,UAAU,CAAC,MAAM,OAAO,UAAU,CAAC,CAAC;AAEzE,MAAM,MAAM,eAAe,GAAG,SAAS,GAAG,SAAS,GAAG,UAAU,CAAC;AAEjE,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,WAAW,CAAC;AAEjD,MAAM,MAAM,iBAAiB,GAAG;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG,MAAM,CAAC,eAAe,EAAE,iBAAiB,CAAC,CAAC;AAE9E,MAAM,MAAM,uBAAuB,GAAG,MAAM,CAAC,eAAe,EAAE,oBAAoB,CAAC,CAAC;AAEpF,MAAM,MAAM,sBAAsB,GAAG,MAAM,CAAC,aAAa,EAAE,uBAAuB,CAAC,CAAC;AAEpF,eAAO,MAAM,YAAY,EAAE,sBAuD1B,CAAC;AAEF,eAAO,MAAM,SAAS;4BAC6C,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;CAyBpE,CAAC"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../src/components/OffsetWellPickerV5/components/Map/OffsetWellMap/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEpD,MAAM,MAAM,eAAe,GAAG,OAAO,UAAU,CAAC,MAAM,OAAO,UAAU,CAAC,CAAC;AAEzE,MAAM,MAAM,eAAe,GAAG,SAAS,GAAG,SAAS,GAAG,UAAU,CAAC;AAEjE,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,WAAW,CAAC;AAEjD,MAAM,MAAM,iBAAiB,GAAG;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG,MAAM,CAAC,eAAe,EAAE,iBAAiB,CAAC,CAAC;AAE9E,MAAM,MAAM,uBAAuB,GAAG,MAAM,CAAC,eAAe,EAAE,oBAAoB,CAAC,CAAC;AAEpF,MAAM,MAAM,sBAAsB,GAAG,MAAM,CAAC,aAAa,EAAE,uBAAuB,CAAC,CAAC;AAEpF,eAAO,MAAM,YAAY,EAAE,sBAuD1B,CAAC;AAEF,eAAO,MAAM,SAAS;4BAC6C,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqCpE,CAAC"}
@@ -1,2 +1,2 @@
1
- var e={satellite:{active:{default:{fill:"rgba(168, 255, 61, 0.8)",stroke:"rgba(56, 102, 0, 0.64)"},hovered:{fill:"#A8FF3D",stroke:"rgba(56, 102, 0, 0.64)"},selected:{fill:"#A8FF3D",stroke:"rgba(56, 102, 0, 0.64)"}},paused:{default:{fill:"rgba(255, 246, 108, 0.8)",stroke:"rgba(102, 96, 10, 0.64)"},hovered:{fill:"#FFF66C",stroke:"rgba(102, 96, 10, 0.64)"},selected:{fill:"#FFF66C",stroke:"rgba(102, 96, 10, 0.64)"}},complete:{default:{fill:"rgba(111, 200, 255, 0.8)",stroke:"rgba(8, 85, 132, 0.64)"},hovered:{fill:"#6FC8FF",stroke:"rgba(8, 85, 132, 0.64)"},selected:{fill:"#6FC8FF",stroke:"rgba(8, 85, 132, 0.64)"}},idle:{default:{fill:"rgba(173, 173, 255, 0.8)",stroke:"rgba(64, 64, 131, 0.64)"},hovered:{fill:"#ADADFF",stroke:"rgba(64, 64, 131, 0.64)"},selected:{fill:"#ADADFF",stroke:"rgba(64, 64, 131, 0.64)"}},unknown:{default:{fill:"rgba(255, 255, 255, 0.8)",stroke:"rgba(82, 82, 82, 0.64)"},hovered:{fill:"#FFFFFF",stroke:"rgba(82, 82, 82, 0.64)"},selected:{fill:"#FFFFFF",stroke:"rgba(82, 82, 82, 0.64)"}}},dark:{active:{default:{fill:"rgba(168, 255, 61, 0.5)"},hovered:{fill:"rgba(150, 241, 38, 0.8)"},selected:{fill:"#A8FF3D"}},paused:{default:{fill:"rgba(255, 246, 108, 0.5)"},hovered:{fill:"rgba(255, 246, 108, 0.8)"},selected:{fill:"#FFF66C"}},complete:{default:{fill:"rgba(118, 194, 255, 0.8)"},hovered:{fill:"rgba(118, 194, 255, 0.8)"},selected:{fill:"#76C2FF"}},idle:{default:{fill:"rgba(173, 173, 255, 0.5)"},hovered:{fill:"rgba(173, 173, 255, 0.8)"},selected:{fill:"#ADADFF"}},unknown:{default:{fill:"rgba(255, 255, 255, 0.5)"},hovered:{fill:"rgba(255, 255, 255, 0.8)"},selected:{fill:"#FFFFFF"}}}},l={DefaultCoords:{latitude:29.749907,longitude:-95.358421},Zoom:{Initial:8.5,Max:18,Min:1},Radius:{Max:3e3},Markers:{WellSize:5,HighlightSize:16},Colors:{OffsetWell:"#03BCD4",RadiusCircle:"#03BCD4",DefaultWell:"#BDBDBD"},LayerIds:{Wells:"wells-layer"},Styles:{dark:"mapbox://styles/mapbox/dark-v9",satellite:"mapbox://styles/mapbox/satellite-v9"}};export{l as MapConfig,e as StatusColors};
1
+ var e={satellite:{active:{default:{fill:"rgba(168, 255, 61, 0.8)",stroke:"rgba(56, 102, 0, 0.64)"},hovered:{fill:"#A8FF3D",stroke:"rgba(56, 102, 0, 0.64)"},selected:{fill:"#A8FF3D",stroke:"rgba(56, 102, 0, 0.64)"}},paused:{default:{fill:"rgba(255, 246, 108, 0.8)",stroke:"rgba(102, 96, 10, 0.64)"},hovered:{fill:"#FFF66C",stroke:"rgba(102, 96, 10, 0.64)"},selected:{fill:"#FFF66C",stroke:"rgba(102, 96, 10, 0.64)"}},complete:{default:{fill:"rgba(111, 200, 255, 0.8)",stroke:"rgba(8, 85, 132, 0.64)"},hovered:{fill:"#6FC8FF",stroke:"rgba(8, 85, 132, 0.64)"},selected:{fill:"#6FC8FF",stroke:"rgba(8, 85, 132, 0.64)"}},idle:{default:{fill:"rgba(173, 173, 255, 0.8)",stroke:"rgba(64, 64, 131, 0.64)"},hovered:{fill:"#ADADFF",stroke:"rgba(64, 64, 131, 0.64)"},selected:{fill:"#ADADFF",stroke:"rgba(64, 64, 131, 0.64)"}},unknown:{default:{fill:"rgba(255, 255, 255, 0.8)",stroke:"rgba(82, 82, 82, 0.64)"},hovered:{fill:"#FFFFFF",stroke:"rgba(82, 82, 82, 0.64)"},selected:{fill:"#FFFFFF",stroke:"rgba(82, 82, 82, 0.64)"}}},dark:{active:{default:{fill:"rgba(168, 255, 61, 0.5)"},hovered:{fill:"rgba(150, 241, 38, 0.8)"},selected:{fill:"#A8FF3D"}},paused:{default:{fill:"rgba(255, 246, 108, 0.5)"},hovered:{fill:"rgba(255, 246, 108, 0.8)"},selected:{fill:"#FFF66C"}},complete:{default:{fill:"rgba(118, 194, 255, 0.8)"},hovered:{fill:"rgba(118, 194, 255, 0.8)"},selected:{fill:"#76C2FF"}},idle:{default:{fill:"rgba(173, 173, 255, 0.5)"},hovered:{fill:"rgba(173, 173, 255, 0.8)"},selected:{fill:"#ADADFF"}},unknown:{default:{fill:"rgba(255, 255, 255, 0.5)"},hovered:{fill:"rgba(255, 255, 255, 0.8)"},selected:{fill:"#FFFFFF"}}}},l={DefaultCoords:{latitude:29.749907,longitude:-95.358421},Zoom:{Initial:8.5,Max:18,Min:1},Radius:{Max:3e3},Markers:{WellSize:5,HighlightSize:16},Colors:{OffsetWell:"#03BCD4",RadiusCircle:"#03BCD4",DefaultWell:"#BDBDBD"},SelectionColors:{dark:{border:"#03BCD4",fill:"rgba(3, 188, 212, 0.08)",borderWidth:1},satellite:{border:"#FFE679",fill:"rgba(255, 193, 7, 0.08)",borderWidth:2}},LayerIds:{Wells:"wells-layer"},Styles:{dark:"mapbox://styles/mapbox/dark-v9",satellite:"mapbox://styles/mapbox/satellite-v9"}};export{l as MapConfig,e as StatusColors};
2
2
  //# sourceMappingURL=constants.js.map
@@ -3,6 +3,10 @@ export { useRadiusCircle } from './useRadiusCircle';
3
3
  export { useMapBounds } from './useMapBounds';
4
4
  export { useWellMarkers } from './useWellMarkers';
5
5
  export { useTooltip } from './useTooltip';
6
+ export { useTooltipAnchor, TOOLTIP_DIMENSIONS } from './useTooltipAnchor';
6
7
  export { usePrevious } from './usePrevious';
7
8
  export { useLassoSelection } from './useLassoSelection';
9
+ export { useLassoKeyboardHandlers } from './useLassoKeyboardHandlers';
10
+ export { useBoxSelection } from './useBoxSelection';
11
+ export { useElementSize } from './useElementSize';
8
12
  //# sourceMappingURL=index.d.ts.map
@@ -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,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC"}
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,cAAc,EAAE,MAAM,kBAAkB,CAAC"}
@@ -0,0 +1,28 @@
1
+ import { RefObject } from 'react';
2
+ import type { MapRef } from 'react-map-gl/mapbox';
3
+ type Point = {
4
+ x: number;
5
+ y: number;
6
+ };
7
+ type BoxSelectionState = {
8
+ isActive: boolean;
9
+ startPoint: Point | null;
10
+ endPoint: Point | null;
11
+ };
12
+ type UseBoxSelectionParams = {
13
+ mapRef: RefObject<MapRef | null>;
14
+ isEnabled: boolean;
15
+ offsetWellIds: number[];
16
+ subjectWellId: number | null;
17
+ onBatchSelectWells: (wells: {
18
+ id: number;
19
+ }[]) => void;
20
+ };
21
+ type UseBoxSelectionReturn = {
22
+ boxState: BoxSelectionState;
23
+ wellsInBoxCount: number;
24
+ isShiftHeld: boolean;
25
+ };
26
+ export declare const useBoxSelection: ({ mapRef, isEnabled, offsetWellIds, subjectWellId, onBatchSelectWells, }: UseBoxSelectionParams) => UseBoxSelectionReturn;
27
+ export {};
28
+ //# sourceMappingURL=useBoxSelection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useBoxSelection.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useBoxSelection.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4C,SAAS,EAAE,MAAM,OAAO,CAAC;AAC5E,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAIlD,KAAK,KAAK,GAAG;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAEtC,KAAK,iBAAiB,GAAG;IACvB,QAAQ,EAAE,OAAO,CAAC;IAClB,UAAU,EAAE,KAAK,GAAG,IAAI,CAAC;IACzB,QAAQ,EAAE,KAAK,GAAG,IAAI,CAAC;CACxB,CAAC;AAEF,KAAK,qBAAqB,GAAG;IAC3B,MAAM,EAAE,SAAS,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IACjC,SAAS,EAAE,OAAO,CAAC;IACnB,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,kBAAkB,EAAE,CAAC,KAAK,EAAE;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,EAAE,KAAK,IAAI,CAAC;CACvD,CAAC;AAEF,KAAK,qBAAqB,GAAG;IAC3B,QAAQ,EAAE,iBAAiB,CAAC;IAC5B,eAAe,EAAE,MAAM,CAAC;IACxB,WAAW,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,0EAM7B,qBAAqB,KAAG,qBAuL1B,CAAC"}
@@ -0,0 +1,2 @@
1
+ import{__assign as t}from'./../../../../../../ext-esm/tslib/tslib.es6.js';import{useState as e,useRef as n,useEffect as r,useCallback as i}from"react";import{MapConfig as o}from"../constants.js";var u=function(u){var a=u.mapRef,l=u.isEnabled,c=u.offsetWellIds,s=u.subjectWellId,d=u.onBatchSelectWells,v=e(!1),m=v[0],f=v[1],p=e({isActive:!1,startPoint:null,endPoint:null}),h=p[0],P=p[1],y=e([]),x=y[0],g=y[1],E=n(null),L=n(c);L.current=c;var M=n(s);M.current=s;var w=n(d);w.current=d,r((function(){var t=function(t){"Shift"!==t.key||t.repeat||f(!0)},e=function(t){"Shift"===t.key&&(f(!1),P({isActive:!1,startPoint:null,endPoint:null}),g([]))};return document.addEventListener("keydown",t),document.addEventListener("keyup",e),function(){document.removeEventListener("keydown",t),document.removeEventListener("keyup",e)}}),[]);var A=i((function(t,e){var n,r=null===(n=a.current)||void 0===n?void 0:n.getMap();if(!r)return[];var i=[[Math.min(t.x,e.x),Math.min(t.y,e.y)],[Math.max(t.x,e.x),Math.max(t.y,e.y)]],u=r.queryRenderedFeatures(i,{layers:[o.LayerIds.Wells]}),l=new Set(L.current),c=M.current,s=u.map((function(t){var e;return null===(e=t.properties)||void 0===e?void 0:e.id})).filter((function(t){return null!=t&&(!l.has(t)&&t!==c)}));return Array.from(new Set(s))}),[a]),S=i((function(t){if(t.shiftKey&&E.current){t.preventDefault(),t.stopPropagation();var e=E.current.getBoundingClientRect(),n={x:t.clientX-e.left,y:t.clientY-e.top};P({isActive:!0,startPoint:n,endPoint:n})}}),[]),k=i((function(e){P((function(n){if(!n.isActive||!n.startPoint||!E.current)return n;var r=E.current.getBoundingClientRect(),i={x:Math.max(0,Math.min(e.clientX-r.left,r.width)),y:Math.max(0,Math.min(e.clientY-r.top,r.height))},o=A(n.startPoint,i);return g(o),t(t({},n),{endPoint:i})}))}),[A]),b=i((function(){P((function(t){if(!t.isActive||!t.startPoint||!t.endPoint)return{isActive:!1,startPoint:null,endPoint:null};var e=A(t.startPoint,t.endPoint);if(e.length>0){var n=e.map((function(t){return{id:t}}));w.current(n)}return g([]),{isActive:!1,startPoint:null,endPoint:null}}))}),[A]);return r((function(){var t,e=null===(t=a.current)||void 0===t?void 0:t.getMap();if(e&&l){var n=e.getCanvas();return E.current=n,n.addEventListener("mousedown",S),document.addEventListener("mousemove",k),document.addEventListener("mouseup",b),function(){n.removeEventListener("mousedown",S),document.removeEventListener("mousemove",k),document.removeEventListener("mouseup",b),E.current=null}}}),[a,l,S,k,b]),{boxState:h,wellsInBoxCount:x.length,isShiftHeld:m}};export{u as useBoxSelection};
2
+ //# sourceMappingURL=useBoxSelection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA,yBAAyB,gDAAmD;"}
@@ -0,0 +1,8 @@
1
+ import { RefObject } from 'react';
2
+ type ElementSize = {
3
+ width: number;
4
+ height: number;
5
+ };
6
+ export declare const useElementSize: (ref: RefObject<HTMLElement | null>) => ElementSize;
7
+ export {};
8
+ //# sourceMappingURL=useElementSize.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useElementSize.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useElementSize.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAuB,MAAM,OAAO,CAAC;AAEvD,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,KAAK,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC,KAAG,WA6BnE,CAAC"}
@@ -0,0 +1,2 @@
1
+ import{useState as t,useEffect as e}from"react";var r=function(r){var n=t({width:0,height:0}),i=n[0],c=n[1];return e((function(){var t=r.current;if(t){var e=new ResizeObserver((function(t){var e=t[0];e&&c({width:e.contentRect.width,height:e.contentRect.height})}));return e.observe(t),function(){return e.disconnect()}}c({width:0,height:0})}),[r]),i};export{r as useElementSize};
2
+ //# sourceMappingURL=useElementSize.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useElementSize.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,12 @@
1
+ type UseLassoKeyboardHandlersParams = {
2
+ isLassoActive: boolean;
3
+ isDrawing: boolean;
4
+ drawingPointCount: number;
5
+ isEditingPolygon: boolean;
6
+ discardDrawing: () => void;
7
+ completeDrawing: () => void;
8
+ deletePolygon: () => void;
9
+ };
10
+ export declare const useLassoKeyboardHandlers: ({ isLassoActive, isDrawing, drawingPointCount, isEditingPolygon, discardDrawing, completeDrawing, deletePolygon, }: UseLassoKeyboardHandlersParams) => void;
11
+ export {};
12
+ //# sourceMappingURL=useLassoKeyboardHandlers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useLassoKeyboardHandlers.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useLassoKeyboardHandlers.ts"],"names":[],"mappings":"AAEA,KAAK,8BAA8B,GAAG;IACpC,aAAa,EAAE,OAAO,CAAC;IACvB,SAAS,EAAE,OAAO,CAAC;IACnB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,gBAAgB,EAAE,OAAO,CAAC;IAC1B,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,eAAe,EAAE,MAAM,IAAI,CAAC;IAC5B,aAAa,EAAE,MAAM,IAAI,CAAC;CAC3B,CAAC;AAEF,eAAO,MAAM,wBAAwB,GAAI,oHAQtC,8BAA8B,KAAG,IAsCnC,CAAC"}
@@ -0,0 +1,2 @@
1
+ import{useEffect as e}from"react";var n=function(n){var t=n.isLassoActive,o=n.isDrawing,r=n.drawingPointCount,i=n.isEditingPolygon,a=n.discardDrawing,c=n.completeDrawing,d=n.deletePolygon,s=o&&r>0;e((function(){if(t){var e=function(e){"Escape"===e.key&&s?(e.preventDefault(),e.stopPropagation(),a()):"Enter"===e.key&&s&&r>=3?(e.preventDefault(),c()):"Delete"!==e.key&&"Backspace"!==e.key||!i||(e.preventDefault(),d())};return document.addEventListener("keydown",e,!0),function(){document.removeEventListener("keydown",e,!0)}}}),[t,s,r,i,a,c,d])};export{n as useLassoKeyboardHandlers};
2
+ //# sourceMappingURL=useLassoKeyboardHandlers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useLassoKeyboardHandlers.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -5,6 +5,7 @@ import type { PolygonCoord } from '../../../../stores/filter-store/types';
5
5
  type UseLassoSelectionParams = {
6
6
  mapRef: RefObject<MapRef | null>;
7
7
  isActive: boolean;
8
+ hasInitialPolygon: boolean;
8
9
  onPolygonChange: (coords: PolygonCoord[] | undefined) => void;
9
10
  };
10
11
  type UseLassoSelectionReturn = {
@@ -26,7 +27,10 @@ type UseLassoSelectionReturn = {
26
27
  handleSelectionChange: (e: {
27
28
  features: GeoJSON.Feature[];
28
29
  }) => void;
30
+ discardDrawing: () => void;
31
+ completeDrawing: () => void;
32
+ deletePolygon: () => void;
29
33
  };
30
- export declare const useLassoSelection: ({ mapRef, isActive, onPolygonChange, }: UseLassoSelectionParams) => UseLassoSelectionReturn;
34
+ export declare const useLassoSelection: ({ mapRef, isActive, hasInitialPolygon, onPolygonChange, }: UseLassoSelectionParams) => UseLassoSelectionReturn;
31
35
  export {};
32
36
  //# sourceMappingURL=useLassoSelection.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useLassoSelection.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useLassoSelection.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4C,SAAS,EAAE,gBAAgB,EAAE,MAAM,OAAO,CAAC;AAC9F,OAAO,UAAU,MAAM,wBAAwB,CAAC;AAChD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAElD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AAG1E,KAAK,uBAAuB,GAAG;IAC7B,MAAM,EAAE,SAAS,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IACjC,QAAQ,EAAE,OAAO,CAAC;IAClB,eAAe,EAAE,CAAC,MAAM,EAAE,YAAY,EAAE,GAAG,SAAS,KAAK,IAAI,CAAC;CAC/D,CAAC;AAEF,KAAK,uBAAuB,GAAG;IAC7B,SAAS,EAAE,OAAO,CAAC;IACnB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,gBAAgB,EAAE,OAAO,CAAC;IAC1B,iBAAiB,EAAE,OAAO,CAAC;IAC3B,OAAO,EAAE,gBAAgB,CAAC,UAAU,GAAG,IAAI,CAAC,CAAC;IAC7C,gBAAgB,EAAE,CAAC,CAAC,EAAE;QAAE,QAAQ,EAAE,OAAO,CAAC,OAAO,EAAE,CAAA;KAAE,KAAK,IAAI,CAAC;IAC/D,gBAAgB,EAAE,CAAC,CAAC,EAAE;QAAE,QAAQ,EAAE,OAAO,CAAC,OAAO,EAAE,CAAA;KAAE,KAAK,IAAI,CAAC;IAC/D,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAC7B,gBAAgB,EAAE,CAAC,CAAC,EAAE;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;IAChD,qBAAqB,EAAE,CAAC,CAAC,EAAE;QAAE,QAAQ,EAAE,OAAO,CAAC,OAAO,EAAE,CAAA;KAAE,KAAK,IAAI,CAAC;CACrE,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,wCAI/B,uBAAuB,KAAG,uBAgH5B,CAAC"}
1
+ {"version":3,"file":"useLassoSelection.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useLassoSelection.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4C,SAAS,EAAE,gBAAgB,EAAE,MAAM,OAAO,CAAC;AAC9F,OAAO,UAAU,MAAM,wBAAwB,CAAC;AAChD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAElD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AAG1E,KAAK,uBAAuB,GAAG;IAC7B,MAAM,EAAE,SAAS,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IACjC,QAAQ,EAAE,OAAO,CAAC;IAClB,iBAAiB,EAAE,OAAO,CAAC;IAC3B,eAAe,EAAE,CAAC,MAAM,EAAE,YAAY,EAAE,GAAG,SAAS,KAAK,IAAI,CAAC;CAC/D,CAAC;AAEF,KAAK,uBAAuB,GAAG;IAC7B,SAAS,EAAE,OAAO,CAAC;IACnB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,gBAAgB,EAAE,OAAO,CAAC;IAC1B,iBAAiB,EAAE,OAAO,CAAC;IAC3B,OAAO,EAAE,gBAAgB,CAAC,UAAU,GAAG,IAAI,CAAC,CAAC;IAC7C,gBAAgB,EAAE,CAAC,CAAC,EAAE;QAAE,QAAQ,EAAE,OAAO,CAAC,OAAO,EAAE,CAAA;KAAE,KAAK,IAAI,CAAC;IAC/D,gBAAgB,EAAE,CAAC,CAAC,EAAE;QAAE,QAAQ,EAAE,OAAO,CAAC,OAAO,EAAE,CAAA;KAAE,KAAK,IAAI,CAAC;IAC/D,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAC7B,gBAAgB,EAAE,CAAC,CAAC,EAAE;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;IAChD,qBAAqB,EAAE,CAAC,CAAC,EAAE;QAAE,QAAQ,EAAE,OAAO,CAAC,OAAO,EAAE,CAAA;KAAE,KAAK,IAAI,CAAC;IACpE,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,eAAe,EAAE,MAAM,IAAI,CAAC;IAC5B,aAAa,EAAE,MAAM,IAAI,CAAC;CAC3B,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,2DAK/B,uBAAuB,KAAG,uBAqL5B,CAAC"}