@corva/ui 3.75.0-6 → 3.75.0-8

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 (565) hide show
  1. package/cjs-bundle/components/AddComment/Popover.js +1 -1
  2. package/cjs-bundle/components/AddComment/Popover.js.map +1 -1
  3. package/cjs-bundle/components/AddComment/components/Content.js +1 -1
  4. package/cjs-bundle/components/AddComment/components/Content.js.map +1 -1
  5. package/cjs-bundle/components/BICOffsetPickerDialog/index.js +1 -1
  6. package/cjs-bundle/components/BICOffsetPickerDialog/index.js.map +1 -1
  7. package/cjs-bundle/components/Casing/CasingTableV2/components/CasingJoints/Editor.js +1 -1
  8. package/cjs-bundle/components/Casing/CasingTableV2/components/CasingJoints/Editor.js.map +1 -1
  9. package/cjs-bundle/components/Casing/CasingTableV2/components/Component.js +1 -1
  10. package/cjs-bundle/components/Casing/CasingTableV2/components/Component.js.map +1 -1
  11. package/cjs-bundle/components/Casing/CasingTableV2/components/DrillPipe/Editor.js +1 -1
  12. package/cjs-bundle/components/Casing/CasingTableV2/components/DrillPipe/Editor.js.map +1 -1
  13. package/cjs-bundle/components/CollapsableSidebar.js +1 -1
  14. package/cjs-bundle/components/CollapsableSidebar.js.map +1 -1
  15. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js +1 -1
  16. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js.map +1 -1
  17. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/AppActions/AppActions.js.map +1 -1
  18. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js +1 -1
  19. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js.map +1 -1
  20. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/RemoveAppButton.js +1 -1
  21. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/RemoveAppButton.js.map +1 -1
  22. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/SettingsAccordion.js.map +1 -1
  23. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/styles.js.map +1 -1
  24. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.js +1 -1
  25. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.js.map +1 -1
  26. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchContext.js +1 -1
  27. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchContext.js.map +1 -1
  28. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchProvider.js +1 -1
  29. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchProvider.js.map +1 -1
  30. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js.map +1 -1
  31. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js.map +1 -1
  32. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/DevCenterAppDialogs.js +1 -1
  33. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/DevCenterAppDialogs.js.map +1 -1
  34. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.js +1 -1
  35. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.js.map +1 -1
  36. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/DevCenterAppView/components/ChooseAssetButton.js.map +1 -1
  37. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/FullscreenButton/FullscreenButton.js +1 -1
  38. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/FullscreenButton/FullscreenButton.js.map +1 -1
  39. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/IsInsideIsolatedDcAppProvider.js.map +1 -0
  40. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/LegacyAppActions.js +1 -1
  41. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/LegacyAppActions.js.map +1 -1
  42. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus.js +2 -0
  43. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus.js.map +1 -0
  44. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/PriorityMenus.js +1 -1
  45. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/PriorityMenus.js.map +1 -1
  46. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/index.js +1 -1
  47. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/index.js.map +1 -1
  48. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/effects/useAnnotationsData.js +1 -1
  49. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/effects/useAnnotationsData.js.map +1 -1
  50. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/effects/useAnnotationsList.js.map +1 -1
  51. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/effects/useAppMaximized.js.map +1 -1
  52. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/effects/useDevCenterAppProps.js.map +1 -1
  53. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/utils.js +1 -1
  54. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/utils.js.map +1 -1
  55. package/cjs-bundle/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js +1 -1
  56. package/cjs-bundle/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js.map +1 -1
  57. package/cjs-bundle/components/DocumentViewer/DocumentViewer.js +1 -1
  58. package/cjs-bundle/components/DocumentViewer/DocumentViewer.js.map +1 -1
  59. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js +1 -1
  60. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js.map +1 -1
  61. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js +1 -1
  62. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js.map +1 -1
  63. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Component.js +1 -1
  64. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Component.js.map +1 -1
  65. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js +1 -1
  66. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js.map +1 -1
  67. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js +1 -1
  68. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js.map +1 -1
  69. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js +1 -1
  70. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js.map +1 -1
  71. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js +1 -1
  72. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js.map +1 -1
  73. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js +1 -1
  74. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js.map +1 -1
  75. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js +1 -1
  76. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js.map +1 -1
  77. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js +1 -1
  78. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js.map +1 -1
  79. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js +1 -1
  80. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js.map +1 -1
  81. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js +1 -1
  82. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js.map +1 -1
  83. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js +1 -1
  84. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js.map +1 -1
  85. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js +1 -1
  86. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js.map +1 -1
  87. package/cjs-bundle/components/FeedItem/FeedItem.js +1 -1
  88. package/cjs-bundle/components/FeedItem/FeedItem.js.map +1 -1
  89. package/cjs-bundle/components/FeedItem/components/FeedComments.js +1 -1
  90. package/cjs-bundle/components/FeedItem/components/FeedComments.js.map +1 -1
  91. package/cjs-bundle/components/GradientManager/GradientManager.js +1 -1
  92. package/cjs-bundle/components/GradientManager/GradientManager.js.map +1 -1
  93. package/cjs-bundle/components/GradientManager/GradientSelect.js +1 -1
  94. package/cjs-bundle/components/GradientManager/GradientSelect.js.map +1 -1
  95. package/cjs-bundle/components/Modal/Modal.js +1 -1
  96. package/cjs-bundle/components/Modal/Modal.js.map +1 -1
  97. package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js +1 -1
  98. package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js.map +1 -1
  99. package/cjs-bundle/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js +1 -1
  100. package/cjs-bundle/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js.map +1 -1
  101. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js +1 -1
  102. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js.map +1 -1
  103. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/index.js +1 -1
  104. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/index.js.map +1 -1
  105. package/cjs-bundle/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js +1 -1
  106. package/cjs-bundle/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js.map +1 -1
  107. package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js +1 -1
  108. package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js.map +1 -1
  109. package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/index.js +1 -1
  110. package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/index.js.map +1 -1
  111. package/cjs-bundle/components/OffsetWellPickerV3/components/WellHubView/index.js +1 -1
  112. package/cjs-bundle/components/OffsetWellPickerV3/components/WellHubView/index.js.map +1 -1
  113. package/cjs-bundle/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js +1 -1
  114. package/cjs-bundle/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js.map +1 -1
  115. package/cjs-bundle/components/OffsetWellPickerV5/components/AppHeader/components/HeaderActions/HeaderActions.js +1 -1
  116. package/cjs-bundle/components/OffsetWellPickerV5/components/AppHeader/components/HeaderActions/HeaderActions.js.map +1 -1
  117. package/cjs-bundle/components/OffsetWellPickerV5/components/AppHeader/components/LoadAllWellsToggle/LoadAllWellsToggle.js +1 -1
  118. package/cjs-bundle/components/OffsetWellPickerV5/components/AppHeader/components/LoadAllWellsToggle/LoadAllWellsToggle.js.map +1 -1
  119. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/Filter.js +1 -1
  120. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/Filter.js.map +1 -1
  121. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/CustomDateFields/CustomDateFields.js +1 -1
  122. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/CustomDateFields/CustomDateFields.js.map +1 -1
  123. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/PeriodFilterSelect/PeriodFilterSelect.js +1 -1
  124. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/PeriodFilterSelect/PeriodFilterSelect.js.map +1 -1
  125. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/SingleFilterSelect/SingleFilterSelect.js +1 -1
  126. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/SingleFilterSelect/SingleFilterSelect.js.map +1 -1
  127. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/ClusterTooltip/ClusterTooltip.js +1 -1
  128. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/ClusterTooltip/ClusterTooltip.js.map +1 -1
  129. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/LayerSwitcher/LayerSwitcher.js +1 -1
  130. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/LayerSwitcher/LayerSwitcher.js.map +1 -1
  131. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapControls/MapControls.js +1 -1
  132. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapControls/MapControls.js.map +1 -1
  133. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHintsStash.js +1 -1
  134. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHintsStash.js.map +1 -1
  135. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SubjectWellMarker/SubjectWellMarker.js +1 -1
  136. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SubjectWellMarker/SubjectWellMarker.js.map +1 -1
  137. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.js +1 -1
  138. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.js.map +1 -1
  139. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AssetResultSection/AssetResultSection.js +1 -1
  140. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AssetResultSection/AssetResultSection.js.map +1 -1
  141. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AutoCompleteAssetSearch/AutoCompleteAssetSearch.js +1 -1
  142. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AutoCompleteAssetSearch/AutoCompleteAssetSearch.js.map +1 -1
  143. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/CompanyCell/CompanyCell.js +1 -1
  144. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/CompanyCell/CompanyCell.js.map +1 -1
  145. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/DateCell/DateCell.js +2 -0
  146. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/DateCell/DateCell.js.map +1 -0
  147. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/FormationCell/FormationCell.js +1 -1
  148. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/FormationCell/FormationCell.js.map +1 -1
  149. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/InterventionAssetCell/InterventionAssetCell.js +1 -1
  150. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/InterventionAssetCell/InterventionAssetCell.js.map +1 -1
  151. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/PadNameCell/PadNameCell.js +1 -1
  152. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/PadNameCell/PadNameCell.js.map +1 -1
  153. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/RigCell/RigCell.js +1 -1
  154. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/RigCell/RigCell.js.map +1 -1
  155. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/WellNameCell/WellNameCell.js +1 -1
  156. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/WellNameCell/WellNameCell.js.map +1 -1
  157. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/OffsetWellsTableHead/OffsetWellsTableHead.js +1 -1
  158. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/OffsetWellsTableHead/OffsetWellsTableHead.js.map +1 -1
  159. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/OffsetWellsTableRow/OffsetWellsTableRow.js +1 -1
  160. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/OffsetWellsTableRow/OffsetWellsTableRow.js.map +1 -1
  161. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/SettingsMenu.js +1 -1
  162. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/SettingsMenu.js.map +1 -1
  163. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/MetricsSettingsSection/MetricsSettingsSection.js +1 -1
  164. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/MetricsSettingsSection/MetricsSettingsSection.js.map +1 -1
  165. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/TableSettingsSection/TableSettingsSection.js +1 -1
  166. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/TableSettingsSection/TableSettingsSection.js.map +1 -1
  167. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SkeletonTableRow/SkeletonTableRow.js +1 -1
  168. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SkeletonTableRow/SkeletonTableRow.js.map +1 -1
  169. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/WellNameHeaderCell/WellNameHeaderCell.js +1 -1
  170. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/WellNameHeaderCell/WellNameHeaderCell.js.map +1 -1
  171. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/hooks/useTableColumns.js +1 -1
  172. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/hooks/useTableColumns.js.map +1 -1
  173. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/useRowInteractions.js +1 -1
  174. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/useRowInteractions.js.map +1 -1
  175. package/cjs-bundle/components/OffsetWellPickerV5/components/PickerModalActions/PickerModalActions.js +1 -1
  176. package/cjs-bundle/components/OffsetWellPickerV5/components/PickerModalActions/PickerModalActions.js.map +1 -1
  177. package/cjs-bundle/components/OffsetWellPickerV5/constants.js +1 -1
  178. package/cjs-bundle/components/OffsetWellPickerV5/constants.js.map +1 -1
  179. package/cjs-bundle/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useWellDataPipeline.js +1 -1
  180. package/cjs-bundle/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useWellDataPipeline.js.map +1 -1
  181. package/cjs-bundle/components/OffsetWellPickerV5/hooks/useSortedWells.js +1 -1
  182. package/cjs-bundle/components/OffsetWellPickerV5/hooks/useSortedWells.js.map +1 -1
  183. package/cjs-bundle/components/OffsetWellPickerV5/utils/doesWellPassFilters.js +1 -1
  184. package/cjs-bundle/components/OffsetWellPickerV5/utils/doesWellPassFilters.js.map +1 -1
  185. package/cjs-bundle/components/OffsetWellPickerV5/utils/sortWellsBy.js +2 -0
  186. package/cjs-bundle/components/OffsetWellPickerV5/utils/sortWellsBy.js.map +1 -0
  187. package/cjs-bundle/components/PadOffsetsPicker/StagesSelector.js +1 -1
  188. package/cjs-bundle/components/PadOffsetsPicker/StagesSelector.js.map +1 -1
  189. package/cjs-bundle/components/PadOffsetsPickerV2/PadOffsetsPickerV2.js +1 -1
  190. package/cjs-bundle/components/PadOffsetsPickerV2/PadOffsetsPickerV2.js.map +1 -1
  191. package/cjs-bundle/components/Popover/Popover.js +1 -1
  192. package/cjs-bundle/components/Popover/Popover.js.map +1 -1
  193. package/cjs-bundle/components/Popper/Popper.js +1 -1
  194. package/cjs-bundle/components/Popper/Popper.js.map +1 -1
  195. package/cjs-bundle/components/RealTimeValuesSidebar/SidebarFooter.js +1 -1
  196. package/cjs-bundle/components/RealTimeValuesSidebar/SidebarFooter.js.map +1 -1
  197. package/cjs-bundle/components/Tooltip/Tooltip.js +1 -1
  198. package/cjs-bundle/components/Tooltip/Tooltip.js.map +1 -1
  199. package/cjs-bundle/components/index.js +1 -1
  200. package/cjs-bundle/componentsV2/ChartAxisExtreme/ChartAxisExtremeDragTracker.js +1 -1
  201. package/cjs-bundle/componentsV2/ChartAxisExtreme/ChartAxisExtremeDragTracker.js.map +1 -1
  202. package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/Map/Map.js +1 -1
  203. package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/Map/Map.js.map +1 -1
  204. package/cjs-bundle/componentsV2/ImageViewer/ImageViewer.js +1 -1
  205. package/cjs-bundle/componentsV2/ImageViewer/ImageViewer.js.map +1 -1
  206. package/cjs-bundle/componentsV2/Modal/Modal.js +1 -1
  207. package/cjs-bundle/componentsV2/Modal/Modal.js.map +1 -1
  208. package/cjs-bundle/componentsV2/Popper/Popper.js +1 -1
  209. package/cjs-bundle/componentsV2/Popper/Popper.js.map +1 -1
  210. package/cjs-bundle/componentsV2/Tooltip/Tooltip.js +1 -1
  211. package/cjs-bundle/componentsV2/Tooltip/Tooltip.js.map +1 -1
  212. package/cjs-bundle/testing/AppTestWrapper/AppTestWrapper.js +1 -1
  213. package/cjs-bundle/testing/AppTestWrapper/AppTestWrapper.js.map +1 -1
  214. package/components/AddComment/Popover.js +1 -1
  215. package/components/AddComment/Popover.js.map +1 -1
  216. package/components/AddComment/components/Content.js +1 -1
  217. package/components/AddComment/components/Content.js.map +1 -1
  218. package/components/BICOffsetPickerDialog/index.js +1 -1
  219. package/components/BICOffsetPickerDialog/index.js.map +1 -1
  220. package/components/Casing/CasingTableV2/components/CasingJoints/Editor.js +1 -1
  221. package/components/Casing/CasingTableV2/components/CasingJoints/Editor.js.map +1 -1
  222. package/components/Casing/CasingTableV2/components/Component.js +1 -1
  223. package/components/Casing/CasingTableV2/components/Component.js.map +1 -1
  224. package/components/Casing/CasingTableV2/components/DrillPipe/Editor.js +1 -1
  225. package/components/Casing/CasingTableV2/components/DrillPipe/Editor.js.map +1 -1
  226. package/components/CollapsableSidebar.js +1 -1
  227. package/components/CollapsableSidebar.js.map +1 -1
  228. package/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.d.ts +5 -7
  229. package/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.d.ts.map +1 -1
  230. package/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js +1 -1
  231. package/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js.map +1 -1
  232. package/components/DevCenter/DevCenterAppContainer/__tests__/DevCenterAppContainer.registerAITools.test.d.ts.map +1 -1
  233. package/components/DevCenter/DevCenterAppContainer/__tests__/DevCenterAppContainer.test.d.ts.map +1 -1
  234. package/components/DevCenter/DevCenterAppContainer/components/AppActions/AppActions.d.ts +4 -3
  235. package/components/DevCenter/DevCenterAppContainer/components/AppActions/AppActions.d.ts.map +1 -1
  236. package/components/DevCenter/DevCenterAppContainer/components/AppActions/AppActions.js.map +1 -1
  237. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.d.ts +34 -35
  238. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.d.ts.map +1 -1
  239. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js +1 -1
  240. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js.map +1 -1
  241. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/__tests__/AppSettingsDialog.test.d.ts.map +1 -1
  242. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/__tests__/RemoveAppButton.test.d.ts.map +1 -1
  243. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/RemoveAppButton.d.ts +6 -4
  244. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/RemoveAppButton.d.ts.map +1 -1
  245. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/RemoveAppButton.js +1 -1
  246. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/RemoveAppButton.js.map +1 -1
  247. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/SettingsAccordion.d.ts +10 -7
  248. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/SettingsAccordion.d.ts.map +1 -1
  249. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/SettingsAccordion.js +1 -1
  250. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/SettingsAccordion.js.map +1 -1
  251. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/index.d.ts +1 -0
  252. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/index.d.ts.map +1 -1
  253. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/index.d.ts +1 -1
  254. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/index.d.ts.map +1 -1
  255. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/styles.d.ts +8 -1
  256. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/styles.d.ts.map +1 -1
  257. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/styles.js.map +1 -1
  258. package/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.d.ts +4 -3
  259. package/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.d.ts.map +1 -1
  260. package/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.js +1 -1
  261. package/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.js.map +1 -1
  262. package/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchContext.d.ts +2 -1
  263. package/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchContext.d.ts.map +1 -1
  264. package/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchContext.js +1 -1
  265. package/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchContext.js.map +1 -1
  266. package/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchProvider.d.ts +5 -3
  267. package/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchProvider.d.ts.map +1 -1
  268. package/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchProvider.js +1 -1
  269. package/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchProvider.js.map +1 -1
  270. package/components/DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.d.ts +9 -8
  271. package/components/DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.d.ts.map +1 -1
  272. package/components/DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js.map +1 -1
  273. package/components/DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.d.ts +4 -3
  274. package/components/DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.d.ts.map +1 -1
  275. package/components/DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js.map +1 -1
  276. package/components/DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/index.d.ts.map +1 -1
  277. package/components/DevCenter/DevCenterAppContainer/components/DevCenterAppDialogs.d.ts +8 -5
  278. package/components/DevCenter/DevCenterAppContainer/components/DevCenterAppDialogs.d.ts.map +1 -1
  279. package/components/DevCenter/DevCenterAppContainer/components/DevCenterAppDialogs.js +1 -1
  280. package/components/DevCenter/DevCenterAppContainer/components/DevCenterAppDialogs.js.map +1 -1
  281. package/components/DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.d.ts +15 -15
  282. package/components/DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.d.ts.map +1 -1
  283. package/components/DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.js +1 -1
  284. package/components/DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.js.map +1 -1
  285. package/components/DevCenter/DevCenterAppContainer/components/DevCenterAppView/__tests__/DevCenterAppView.test.d.ts.map +1 -1
  286. package/components/DevCenter/DevCenterAppContainer/components/DevCenterAppView/components/ChooseAssetButton.d.ts +4 -3
  287. package/components/DevCenter/DevCenterAppContainer/components/DevCenterAppView/components/ChooseAssetButton.d.ts.map +1 -1
  288. package/components/DevCenter/DevCenterAppContainer/components/DevCenterAppView/components/ChooseAssetButton.js.map +1 -1
  289. package/components/DevCenter/DevCenterAppContainer/components/FullscreenButton/FullscreenButton.d.ts +5 -9
  290. package/components/DevCenter/DevCenterAppContainer/components/FullscreenButton/FullscreenButton.d.ts.map +1 -1
  291. package/components/DevCenter/DevCenterAppContainer/components/FullscreenButton/FullscreenButton.js +1 -1
  292. package/components/DevCenter/DevCenterAppContainer/components/FullscreenButton/FullscreenButton.js.map +1 -1
  293. package/components/DevCenter/DevCenterAppContainer/components/FullscreenButton/index.d.ts.map +1 -1
  294. package/components/DevCenter/DevCenterAppContainer/components/IsInsideIsolatedDcAppProvider.d.ts.map +1 -0
  295. package/components/DevCenter/DevCenterAppContainer/components/IsInsideIsolatedDcAppProvider.js.map +1 -0
  296. package/components/DevCenter/DevCenterAppContainer/components/LegacyAppActions.d.ts +4 -2
  297. package/components/DevCenter/DevCenterAppContainer/components/LegacyAppActions.d.ts.map +1 -1
  298. package/components/DevCenter/DevCenterAppContainer/components/LegacyAppActions.js +1 -1
  299. package/components/DevCenter/DevCenterAppContainer/components/LegacyAppActions.js.map +1 -1
  300. package/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus.d.ts +15 -0
  301. package/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus.d.ts.map +1 -0
  302. package/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus.js +2 -0
  303. package/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus.js.map +1 -0
  304. package/components/DevCenter/DevCenterAppContainer/components/PriorityMenus.d.ts +4 -2
  305. package/components/DevCenter/DevCenterAppContainer/components/PriorityMenus.d.ts.map +1 -1
  306. package/components/DevCenter/DevCenterAppContainer/components/PriorityMenus.js +1 -1
  307. package/components/DevCenter/DevCenterAppContainer/components/PriorityMenus.js.map +1 -1
  308. package/components/DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/index.d.ts +5 -9
  309. package/components/DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/index.d.ts.map +1 -1
  310. package/components/DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/index.js +1 -1
  311. package/components/DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/index.js.map +1 -1
  312. package/components/DevCenter/DevCenterAppContainer/effects/__tests__/useAnnotationsData.test.d.ts.map +1 -1
  313. package/components/DevCenter/DevCenterAppContainer/effects/__tests__/useAppSettings.test.d.ts.map +1 -1
  314. package/components/DevCenter/DevCenterAppContainer/effects/index.d.ts.map +1 -1
  315. package/components/DevCenter/DevCenterAppContainer/effects/useAnnotationsData.d.ts +12 -9
  316. package/components/DevCenter/DevCenterAppContainer/effects/useAnnotationsData.d.ts.map +1 -1
  317. package/components/DevCenter/DevCenterAppContainer/effects/useAnnotationsData.js +1 -1
  318. package/components/DevCenter/DevCenterAppContainer/effects/useAnnotationsData.js.map +1 -1
  319. package/components/DevCenter/DevCenterAppContainer/effects/useAnnotationsList.d.ts +2 -1
  320. package/components/DevCenter/DevCenterAppContainer/effects/useAnnotationsList.d.ts.map +1 -1
  321. package/components/DevCenter/DevCenterAppContainer/effects/useAnnotationsList.js.map +1 -1
  322. package/components/DevCenter/DevCenterAppContainer/effects/useAppMaximized.d.ts +10 -6
  323. package/components/DevCenter/DevCenterAppContainer/effects/useAppMaximized.d.ts.map +1 -1
  324. package/components/DevCenter/DevCenterAppContainer/effects/useAppMaximized.js.map +1 -1
  325. package/components/DevCenter/DevCenterAppContainer/effects/useDevCenterAppProps.d.ts +17 -15
  326. package/components/DevCenter/DevCenterAppContainer/effects/useDevCenterAppProps.d.ts.map +1 -1
  327. package/components/DevCenter/DevCenterAppContainer/effects/useDevCenterAppProps.js.map +1 -1
  328. package/components/DevCenter/DevCenterAppContainer/index.d.ts +1 -1
  329. package/components/DevCenter/DevCenterAppContainer/index.d.ts.map +1 -1
  330. package/components/DevCenter/DevCenterAppContainer/types.d.ts +45 -24
  331. package/components/DevCenter/DevCenterAppContainer/types.d.ts.map +1 -1
  332. package/components/DevCenter/DevCenterAppContainer/utils.d.ts +12 -7
  333. package/components/DevCenter/DevCenterAppContainer/utils.d.ts.map +1 -1
  334. package/components/DevCenter/DevCenterAppContainer/utils.js +1 -1
  335. package/components/DevCenter/DevCenterAppContainer/utils.js.map +1 -1
  336. package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js +1 -1
  337. package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js.map +1 -1
  338. package/components/DocumentViewer/DocumentViewer.js +1 -1
  339. package/components/DocumentViewer/DocumentViewer.js.map +1 -1
  340. package/components/Drillstring/BHAComponentDetail/constants.d.ts +2 -2
  341. package/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js +1 -1
  342. package/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js.map +1 -1
  343. package/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js +1 -1
  344. package/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js.map +1 -1
  345. package/components/Drillstring/BHAComponentsTable/components/Component.js +1 -1
  346. package/components/Drillstring/BHAComponentsTable/components/Component.js.map +1 -1
  347. package/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js +1 -1
  348. package/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js.map +1 -1
  349. package/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js +1 -1
  350. package/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js.map +1 -1
  351. package/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js +1 -1
  352. package/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js.map +1 -1
  353. package/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js +1 -1
  354. package/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js.map +1 -1
  355. package/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js +1 -1
  356. package/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js.map +1 -1
  357. package/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js +1 -1
  358. package/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js.map +1 -1
  359. package/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js +1 -1
  360. package/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js.map +1 -1
  361. package/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js +1 -1
  362. package/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js.map +1 -1
  363. package/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js +1 -1
  364. package/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js.map +1 -1
  365. package/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js +1 -1
  366. package/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js.map +1 -1
  367. package/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js +1 -1
  368. package/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js.map +1 -1
  369. package/components/FeedItem/FeedItem.js +1 -1
  370. package/components/FeedItem/FeedItem.js.map +1 -1
  371. package/components/FeedItem/components/FeedComments.js +1 -1
  372. package/components/FeedItem/components/FeedComments.js.map +1 -1
  373. package/components/GradientManager/GradientManager.js +1 -1
  374. package/components/GradientManager/GradientManager.js.map +1 -1
  375. package/components/GradientManager/GradientSelect.js +1 -1
  376. package/components/GradientManager/GradientSelect.js.map +1 -1
  377. package/components/Modal/Modal.js +1 -1
  378. package/components/Modal/Modal.js.map +1 -1
  379. package/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js +1 -1
  380. package/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js.map +1 -1
  381. package/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js +1 -1
  382. package/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js.map +1 -1
  383. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js +1 -1
  384. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js.map +1 -1
  385. package/components/OffsetWellPickerV3/components/CustomSelectionView/index.js +1 -1
  386. package/components/OffsetWellPickerV3/components/CustomSelectionView/index.js.map +1 -1
  387. package/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js +1 -1
  388. package/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js.map +1 -1
  389. package/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js +1 -1
  390. package/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js.map +1 -1
  391. package/components/OffsetWellPickerV3/components/TabSelection/index.js +1 -1
  392. package/components/OffsetWellPickerV3/components/TabSelection/index.js.map +1 -1
  393. package/components/OffsetWellPickerV3/components/WellHubView/index.js +1 -1
  394. package/components/OffsetWellPickerV3/components/WellHubView/index.js.map +1 -1
  395. package/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js +1 -1
  396. package/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js.map +1 -1
  397. package/components/OffsetWellPickerV5/components/AppHeader/components/HeaderActions/HeaderActions.js +1 -1
  398. package/components/OffsetWellPickerV5/components/AppHeader/components/HeaderActions/HeaderActions.js.map +1 -1
  399. package/components/OffsetWellPickerV5/components/AppHeader/components/LoadAllWellsToggle/LoadAllWellsToggle.js +1 -1
  400. package/components/OffsetWellPickerV5/components/AppHeader/components/LoadAllWellsToggle/LoadAllWellsToggle.js.map +1 -1
  401. package/components/OffsetWellPickerV5/components/Filter/Filter.js +1 -1
  402. package/components/OffsetWellPickerV5/components/Filter/Filter.js.map +1 -1
  403. package/components/OffsetWellPickerV5/components/Filter/components/CustomDateFields/CustomDateFields.js +1 -1
  404. package/components/OffsetWellPickerV5/components/Filter/components/CustomDateFields/CustomDateFields.js.map +1 -1
  405. package/components/OffsetWellPickerV5/components/Filter/components/PeriodFilterSelect/PeriodFilterSelect.js +1 -1
  406. package/components/OffsetWellPickerV5/components/Filter/components/PeriodFilterSelect/PeriodFilterSelect.js.map +1 -1
  407. package/components/OffsetWellPickerV5/components/Filter/components/SingleFilterSelect/SingleFilterSelect.js +1 -1
  408. package/components/OffsetWellPickerV5/components/Filter/components/SingleFilterSelect/SingleFilterSelect.js.map +1 -1
  409. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/ClusterTooltip/ClusterTooltip.js +1 -1
  410. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/ClusterTooltip/ClusterTooltip.js.map +1 -1
  411. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/LayerSwitcher/LayerSwitcher.js +1 -1
  412. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/LayerSwitcher/LayerSwitcher.js.map +1 -1
  413. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapControls/MapControls.js +1 -1
  414. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapControls/MapControls.js.map +1 -1
  415. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHintsStash.js +1 -1
  416. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHintsStash.js.map +1 -1
  417. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SubjectWellMarker/SubjectWellMarker.js +1 -1
  418. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SubjectWellMarker/SubjectWellMarker.js.map +1 -1
  419. package/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.js +1 -1
  420. package/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.js.map +1 -1
  421. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AssetResultSection/AssetResultSection.js +1 -1
  422. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AssetResultSection/AssetResultSection.js.map +1 -1
  423. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AutoCompleteAssetSearch/AutoCompleteAssetSearch.js +1 -1
  424. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AutoCompleteAssetSearch/AutoCompleteAssetSearch.js.map +1 -1
  425. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/CompanyCell/CompanyCell.js +1 -1
  426. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/CompanyCell/CompanyCell.js.map +1 -1
  427. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/DateCell/DateCell.d.ts +12 -0
  428. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/DateCell/DateCell.d.ts.map +1 -0
  429. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/DateCell/DateCell.js +2 -0
  430. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/DateCell/DateCell.js.map +1 -0
  431. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/DateCell/index.d.ts +2 -0
  432. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/{LastActiveCell → DateCell}/index.d.ts.map +1 -1
  433. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/FormationCell/FormationCell.js +1 -1
  434. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/FormationCell/FormationCell.js.map +1 -1
  435. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/InterventionAssetCell/InterventionAssetCell.js +1 -1
  436. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/InterventionAssetCell/InterventionAssetCell.js.map +1 -1
  437. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/PadNameCell/PadNameCell.js +1 -1
  438. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/PadNameCell/PadNameCell.js.map +1 -1
  439. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/RigCell/RigCell.js +1 -1
  440. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/RigCell/RigCell.js.map +1 -1
  441. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/WellNameCell/WellNameCell.js +1 -1
  442. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/WellNameCell/WellNameCell.js.map +1 -1
  443. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/index.d.ts +1 -1
  444. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/index.d.ts.map +1 -1
  445. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/OffsetWellsTableHead/OffsetWellsTableHead.d.ts.map +1 -1
  446. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/OffsetWellsTableHead/OffsetWellsTableHead.js +1 -1
  447. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/OffsetWellsTableHead/OffsetWellsTableHead.js.map +1 -1
  448. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/OffsetWellsTableRow/OffsetWellsTableRow.d.ts.map +1 -1
  449. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/OffsetWellsTableRow/OffsetWellsTableRow.js +1 -1
  450. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/OffsetWellsTableRow/OffsetWellsTableRow.js.map +1 -1
  451. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/SettingsMenu.js +1 -1
  452. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/SettingsMenu.js.map +1 -1
  453. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/MetricsSettingsSection/MetricsSettingsSection.js +1 -1
  454. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/MetricsSettingsSection/MetricsSettingsSection.js.map +1 -1
  455. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/TableSettingsSection/TableSettingsSection.js +1 -1
  456. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/TableSettingsSection/TableSettingsSection.js.map +1 -1
  457. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SkeletonTableRow/SkeletonTableRow.d.ts.map +1 -1
  458. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SkeletonTableRow/SkeletonTableRow.js +1 -1
  459. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SkeletonTableRow/SkeletonTableRow.js.map +1 -1
  460. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/WellNameHeaderCell/WellNameHeaderCell.js +1 -1
  461. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/WellNameHeaderCell/WellNameHeaderCell.js.map +1 -1
  462. package/components/OffsetWellPickerV5/components/OffsetWellsTable/hooks/useTableColumns.d.ts.map +1 -1
  463. package/components/OffsetWellPickerV5/components/OffsetWellsTable/hooks/useTableColumns.js +1 -1
  464. package/components/OffsetWellPickerV5/components/OffsetWellsTable/hooks/useTableColumns.js.map +1 -1
  465. package/components/OffsetWellPickerV5/components/OffsetWellsTable/useRowInteractions.d.ts +2 -1
  466. package/components/OffsetWellPickerV5/components/OffsetWellsTable/useRowInteractions.d.ts.map +1 -1
  467. package/components/OffsetWellPickerV5/components/OffsetWellsTable/useRowInteractions.js +1 -1
  468. package/components/OffsetWellPickerV5/components/OffsetWellsTable/useRowInteractions.js.map +1 -1
  469. package/components/OffsetWellPickerV5/components/PickerModalActions/PickerModalActions.js +1 -1
  470. package/components/OffsetWellPickerV5/components/PickerModalActions/PickerModalActions.js.map +1 -1
  471. package/components/OffsetWellPickerV5/constants.d.ts +10 -3
  472. package/components/OffsetWellPickerV5/constants.d.ts.map +1 -1
  473. package/components/OffsetWellPickerV5/constants.js +1 -1
  474. package/components/OffsetWellPickerV5/constants.js.map +1 -1
  475. package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useWellDataPipeline.d.ts.map +1 -1
  476. package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useWellDataPipeline.js +1 -1
  477. package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useWellDataPipeline.js.map +1 -1
  478. package/components/OffsetWellPickerV5/hooks/useSortedWells.d.ts +1 -4
  479. package/components/OffsetWellPickerV5/hooks/useSortedWells.d.ts.map +1 -1
  480. package/components/OffsetWellPickerV5/hooks/useSortedWells.js +1 -1
  481. package/components/OffsetWellPickerV5/hooks/useSortedWells.js.map +1 -1
  482. package/components/OffsetWellPickerV5/utils/__tests__/sortWellsBy.test.d.ts +2 -0
  483. package/components/OffsetWellPickerV5/utils/__tests__/sortWellsBy.test.d.ts.map +1 -0
  484. package/components/OffsetWellPickerV5/utils/doesWellPassFilters.d.ts +0 -1
  485. package/components/OffsetWellPickerV5/utils/doesWellPassFilters.d.ts.map +1 -1
  486. package/components/OffsetWellPickerV5/utils/doesWellPassFilters.js +1 -1
  487. package/components/OffsetWellPickerV5/utils/doesWellPassFilters.js.map +1 -1
  488. package/components/OffsetWellPickerV5/utils/sortWellsBy.d.ts +22 -0
  489. package/components/OffsetWellPickerV5/utils/sortWellsBy.d.ts.map +1 -0
  490. package/components/OffsetWellPickerV5/utils/sortWellsBy.js +2 -0
  491. package/components/OffsetWellPickerV5/utils/sortWellsBy.js.map +1 -0
  492. package/components/PadOffsetsPicker/StagesSelector.js +1 -1
  493. package/components/PadOffsetsPicker/StagesSelector.js.map +1 -1
  494. package/components/PadOffsetsPickerV2/PadOffsetsPickerV2.js +1 -1
  495. package/components/PadOffsetsPickerV2/PadOffsetsPickerV2.js.map +1 -1
  496. package/components/Popover/Popover.js +1 -1
  497. package/components/Popover/Popover.js.map +1 -1
  498. package/components/Popper/Popper.js +1 -1
  499. package/components/Popper/Popper.js.map +1 -1
  500. package/components/RealTimeValuesSidebar/SidebarFooter.js +1 -1
  501. package/components/RealTimeValuesSidebar/SidebarFooter.js.map +1 -1
  502. package/components/Tooltip/Tooltip.js +1 -1
  503. package/components/Tooltip/Tooltip.js.map +1 -1
  504. package/components/index.js +1 -1
  505. package/componentsV2/ChartAxisExtreme/ChartAxisExtremeDragTracker.js +1 -1
  506. package/componentsV2/ChartAxisExtreme/ChartAxisExtremeDragTracker.js.map +1 -1
  507. package/componentsV2/CompletionsOffsetWellPicker/Map/Map.js +1 -1
  508. package/componentsV2/CompletionsOffsetWellPicker/Map/Map.js.map +1 -1
  509. package/componentsV2/ImageViewer/ImageViewer.js +1 -1
  510. package/componentsV2/ImageViewer/ImageViewer.js.map +1 -1
  511. package/componentsV2/Modal/Modal.js +1 -1
  512. package/componentsV2/Modal/Modal.js.map +1 -1
  513. package/componentsV2/Popper/Popper.js +1 -1
  514. package/componentsV2/Popper/Popper.js.map +1 -1
  515. package/componentsV2/Tooltip/Tooltip.js +1 -1
  516. package/componentsV2/Tooltip/Tooltip.js.map +1 -1
  517. package/mcp-server/server.mjs +4 -4
  518. package/package.json +1 -1
  519. package/testing/AppTestWrapper/AppTestWrapper.js +1 -1
  520. package/testing/AppTestWrapper/AppTestWrapper.js.map +1 -1
  521. package/tsconfig.tsbuildinfo +1 -1
  522. package/assets/815107279c4c5fba7639d4e9124e83a5.svg +0 -3
  523. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/AnnotationsButton.js +0 -2
  524. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/AnnotationsButton.js.map +0 -1
  525. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.css.js +0 -2
  526. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.css.js.map +0 -1
  527. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.js +0 -2
  528. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.js.map +0 -1
  529. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/IsInsideIsolatedDcAppProvider/IsInsideIsolatedDcAppProvider.js.map +0 -1
  530. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.js +0 -2
  531. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.js.map +0 -1
  532. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/LastActiveCell/LastActiveCell.js +0 -2
  533. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/LastActiveCell/LastActiveCell.js.map +0 -1
  534. package/components/DevCenter/DevCenterAppContainer/components/AnnotationsButton.d.ts +0 -5
  535. package/components/DevCenter/DevCenterAppContainer/components/AnnotationsButton.d.ts.map +0 -1
  536. package/components/DevCenter/DevCenterAppContainer/components/AnnotationsButton.js +0 -2
  537. package/components/DevCenter/DevCenterAppContainer/components/AnnotationsButton.js.map +0 -1
  538. package/components/DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.css.js +0 -2
  539. package/components/DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.css.js.map +0 -1
  540. package/components/DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.d.ts +0 -18
  541. package/components/DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.d.ts.map +0 -1
  542. package/components/DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.js +0 -2
  543. package/components/DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.js.map +0 -1
  544. package/components/DevCenter/DevCenterAppContainer/components/AppInfoMessage/index.d.ts +0 -2
  545. package/components/DevCenter/DevCenterAppContainer/components/AppInfoMessage/index.d.ts.map +0 -1
  546. package/components/DevCenter/DevCenterAppContainer/components/IsInsideIsolatedDcAppProvider/IsInsideIsolatedDcAppProvider.d.ts.map +0 -1
  547. package/components/DevCenter/DevCenterAppContainer/components/IsInsideIsolatedDcAppProvider/IsInsideIsolatedDcAppProvider.js.map +0 -1
  548. package/components/DevCenter/DevCenterAppContainer/components/IsInsideIsolatedDcAppProvider/index.d.ts +0 -2
  549. package/components/DevCenter/DevCenterAppContainer/components/IsInsideIsolatedDcAppProvider/index.d.ts.map +0 -1
  550. package/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.d.ts +0 -20
  551. package/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.d.ts.map +0 -1
  552. package/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.js +0 -2
  553. package/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.js.map +0 -1
  554. package/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus/index.d.ts +0 -2
  555. package/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus/index.d.ts.map +0 -1
  556. package/components/DevCenter/DevCenterAppContainer/components/index.d.ts +0 -12
  557. package/components/DevCenter/DevCenterAppContainer/components/index.d.ts.map +0 -1
  558. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/LastActiveCell/LastActiveCell.d.ts +0 -10
  559. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/LastActiveCell/LastActiveCell.d.ts.map +0 -1
  560. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/LastActiveCell/LastActiveCell.js +0 -2
  561. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/LastActiveCell/LastActiveCell.js.map +0 -1
  562. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/LastActiveCell/index.d.ts +0 -2
  563. /package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/{IsInsideIsolatedDcAppProvider/IsInsideIsolatedDcAppProvider.js → IsInsideIsolatedDcAppProvider.js} +0 -0
  564. /package/components/DevCenter/DevCenterAppContainer/components/{IsInsideIsolatedDcAppProvider/IsInsideIsolatedDcAppProvider.d.ts → IsInsideIsolatedDcAppProvider.d.ts} +0 -0
  565. /package/components/DevCenter/DevCenterAppContainer/components/{IsInsideIsolatedDcAppProvider/IsInsideIsolatedDcAppProvider.js → IsInsideIsolatedDcAppProvider.js} +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sortWellsBy.test.d.ts","sourceRoot":"","sources":["../../../../../src/components/OffsetWellPickerV5/utils/__tests__/sortWellsBy.test.ts"],"names":[],"mappings":""}
@@ -2,7 +2,6 @@ import type { FilterState, PickerSegmentId } from '../stores/filter-store/types'
2
2
  export declare const WELL_PROPERTY_FILTER_KEYS: (keyof FilterState)[];
3
3
  export type FilterableWell = {
4
4
  name?: string;
5
- lastActive?: number;
6
5
  lastDrillingAt?: number;
7
6
  status?: string;
8
7
  companyId?: number | string;
@@ -1 +1 @@
1
- {"version":3,"file":"doesWellPassFilters.d.ts","sourceRoot":"","sources":["../../../../src/components/OffsetWellPickerV5/utils/doesWellPassFilters.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAQjF,eAAO,MAAM,yBAAyB,EAAE,CAAC,MAAM,WAAW,CAAC,EAY1D,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC5B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC7B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG,cAAc,GAAG;IAAE,UAAU,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAE7E,MAAM,MAAM,0BAA0B,GAAG;IACvC,WAAW,CAAC,EAAE,CAAC,MAAM,WAAW,CAAC,EAAE,CAAC;IACpC,OAAO,CAAC,EAAE,eAAe,CAAC;CAC3B,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,0BAErC,CAAC;AAEF,eAAO,MAAM,mBAAmB,SACxB,cAAc,WACX,WAAW,GAAG,IAAI,YACjB,0BAA0B,KACnC,OA2EF,CAAC;AAEF,eAAO,MAAM,gCAAgC,SACrC,qBAAqB,WAClB,WAAW,GAAG,IAAI,iBACZ,OAAO,YACZ,0BAA0B,KACnC,OACuF,CAAC"}
1
+ {"version":3,"file":"doesWellPassFilters.d.ts","sourceRoot":"","sources":["../../../../src/components/OffsetWellPickerV5/utils/doesWellPassFilters.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAQjF,eAAO,MAAM,yBAAyB,EAAE,CAAC,MAAM,WAAW,CAAC,EAY1D,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC5B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC7B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG,cAAc,GAAG;IAAE,UAAU,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAE7E,MAAM,MAAM,0BAA0B,GAAG;IACvC,WAAW,CAAC,EAAE,CAAC,MAAM,WAAW,CAAC,EAAE,CAAC;IACpC,OAAO,CAAC,EAAE,eAAe,CAAC;CAC3B,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,0BAErC,CAAC;AAEF,eAAO,MAAM,mBAAmB,SACxB,cAAc,WACX,WAAW,GAAG,IAAI,YACjB,0BAA0B,KACnC,OA8EF,CAAC;AAEF,eAAO,MAAM,gCAAgC,SACrC,qBAAqB,WAClB,WAAW,GAAG,IAAI,iBACZ,OAAO,YACZ,0BAA0B,KACnC,OACuF,CAAC"}
@@ -1,2 +1,2 @@
1
- import e from"@babel/runtime/helpers/slicedToArray";import{getTimestampByPeriod as r}from"./getTimestampByPeriod.js";import{isAssetVisibleToUser as i}from"./isAssetVisibleToUser.js";import{isDrillingOnlyWell as n}from"./isDrillingOnlyWell.js";var t=/\sST0/,l=["status","companyId","rigName","programName","basin","county","area","formation","stringDesign","interventionAsset","padName"],s={excludeKeys:["rigName"]},a=function(i,s,a){var u,o;if(!s)return!0;var m=null==a?void 0:a.excludeKeys;if(!l.every((function(e){if(null!=m&&m.includes(e))return!0;var r=s[e];if(Array.isArray(r)&&r.length>0){var n=i[e],t=r.map(String);return null==n||"Null"===n?t.includes("Null"):Array.isArray(n)?n.some((function(e){return t.includes(String(e))})):t.includes(String(n))}return!0})))return!1;if("intervention"===(null==a?void 0:a.segment)){var v=s.status;if(Array.isArray(v)&&v.map(String).includes("active")&&"active"===i.status&&"intervention"!==i.wellState)return!1}if(s.sideTracks&&t.test(null!==(u=i.name)&&void 0!==u?u:""))return!1;if("intervention"!==(null==a?void 0:a.segment)&&s.drillingWells&&!n(i))return!1;if(s.activeInterventionWells&&(null===(o=i.interventionAsset)||void 0===o||!o.length))return!1;var d=s.period,f=s.timeRangeFrom,c=s.timeRangeTo,g=r(d,f,c),y=e(g,2),p=y[0],A=y[1];if(null!==p&&null!==A&&Number.isFinite(p)&&Number.isFinite(A)){var N=i.lastActive;if(void 0===N||!(N>=p&&N<=A))return!1}return!0},u=function(e,r,n,t){return i(e,n)&&a(e,r,t)};export{s as EXCLUDE_RIG_NAME_FILTER,l as WELL_PROPERTY_FILTER_KEYS,a as doesWellPassFilters,u as doesWellPassVisibilityAndFilters};
1
+ import r from"@babel/runtime/helpers/slicedToArray";import{getTimestampByPeriod as e}from"./getTimestampByPeriod.js";import{isAssetVisibleToUser as i}from"./isAssetVisibleToUser.js";import{isDrillingOnlyWell as n}from"./isDrillingOnlyWell.js";var t=/\sST0/,l=["status","companyId","rigName","programName","basin","county","area","formation","stringDesign","interventionAsset","padName"],s={excludeKeys:["rigName"]},a=function(i,s,a){var u,o;if(!s)return!0;var m=null==a?void 0:a.excludeKeys;if(!l.every((function(r){if(null!=m&&m.includes(r))return!0;var e=s[r];if(Array.isArray(e)&&e.length>0){var n=i[r],t=e.map(String);return null==n||"Null"===n?t.includes("Null"):Array.isArray(n)?n.some((function(r){return t.includes(String(r))})):t.includes(String(n))}return!0})))return!1;if("intervention"===(null==a?void 0:a.segment)){var v=s.status;if(Array.isArray(v)&&v.map(String).includes("active")&&"active"===i.status&&"intervention"!==i.wellState)return!1}if(s.sideTracks&&t.test(null!==(u=i.name)&&void 0!==u?u:""))return!1;if("intervention"!==(null==a?void 0:a.segment)&&s.drillingWells&&!n(i))return!1;if(s.activeInterventionWells&&(null===(o=i.interventionAsset)||void 0===o||!o.length))return!1;var d=s.period,f=s.timeRangeFrom,g=s.timeRangeTo,c=e(d,f,g),y=r(c,2),p=y[0],A=y[1];if(null!==p&&null!==A&&Number.isFinite(p)&&Number.isFinite(A)){var N=i.lastDrillingAt;if(void 0===N||!(N>=p&&N<=A))return!1}return!0},u=function(r,e,n,t){return i(r,n)&&a(r,e,t)};export{s as EXCLUDE_RIG_NAME_FILTER,l as WELL_PROPERTY_FILTER_KEYS,a as doesWellPassFilters,u as doesWellPassVisibilityAndFilters};
2
2
  //# sourceMappingURL=doesWellPassFilters.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"doesWellPassFilters.js","sources":["../../../../src/components/OffsetWellPickerV5/utils/doesWellPassFilters.ts"],"sourcesContent":["import type { FilterState, PickerSegmentId } from '../stores/filter-store/types';\n\nimport { getTimestampByPeriod } from './getTimestampByPeriod';\nimport { isAssetVisibleToUser } from './isAssetVisibleToUser';\nimport { isDrillingOnlyWell } from './isDrillingOnlyWell';\n\nconst SIDE_TRACK_REGEX = /\\sST0/;\n\nexport const WELL_PROPERTY_FILTER_KEYS: (keyof FilterState)[] = [\n 'status',\n 'companyId',\n 'rigName',\n 'programName',\n 'basin',\n 'county',\n 'area',\n 'formation',\n 'stringDesign',\n 'interventionAsset',\n 'padName',\n];\n\nexport type FilterableWell = {\n name?: string;\n lastActive?: number;\n lastDrillingAt?: number;\n status?: string;\n companyId?: number | string;\n rigName?: string;\n programName?: string;\n basin?: string;\n county?: string;\n area?: string;\n formation?: string;\n stringDesign?: unknown;\n interventionAsset?: string[];\n padName?: string;\n wellState?: string;\n lastInterventionAt?: number;\n};\n\nexport type FilterableVisibleWell = FilterableWell & { visibility?: string };\n\nexport type DoesWellPassFiltersOptions = {\n excludeKeys?: (keyof FilterState)[];\n segment?: PickerSegmentId;\n};\n\nexport const EXCLUDE_RIG_NAME_FILTER: DoesWellPassFiltersOptions = {\n excludeKeys: ['rigName'],\n};\n\nexport const doesWellPassFilters = (\n well: FilterableWell,\n filters: FilterState | null,\n options?: DoesWellPassFiltersOptions\n): boolean => {\n if (!filters) return true;\n\n const excludeKeys = options?.excludeKeys;\n\n // Check array property filters\n const passesPropertyFilters = WELL_PROPERTY_FILTER_KEYS.every(filterKey => {\n if (excludeKeys?.includes(filterKey)) return true;\n\n const filterValue = filters[filterKey];\n if (Array.isArray(filterValue) && filterValue.length > 0) {\n const wellValue = well[filterKey as keyof FilterableWell];\n const normalized = (filterValue as (string | number)[]).map(String);\n\n if (wellValue == null || wellValue === 'Null') {\n return normalized.includes('Null');\n }\n\n if (Array.isArray(wellValue)) {\n return (wellValue as string[]).some(v => normalized.includes(String(v)));\n }\n\n return normalized.includes(String(wellValue));\n }\n return true;\n });\n\n if (!passesPropertyFilters) {\n return false;\n }\n\n // Intervention segment: \"active\" status additionally requires wellState === 'intervention'\n if (options?.segment === 'intervention') {\n const statusFilter = filters.status;\n if (\n Array.isArray(statusFilter) &&\n statusFilter.map(String).includes('active') &&\n well.status === 'active' &&\n well.wellState !== 'intervention'\n ) {\n return false;\n }\n }\n\n // Check sideTracks filter\n if (filters.sideTracks && SIDE_TRACK_REGEX.test(well.name ?? '')) {\n return false;\n }\n\n if (options?.segment !== 'intervention' && filters.drillingWells && !isDrillingOnlyWell(well)) {\n return false;\n }\n\n // Check activeInterventionWells toggle: only show wells active on an intervention unit\n if (filters.activeInterventionWells && !well.interventionAsset?.length) {\n return false;\n }\n\n // Check time range filter\n const { period, timeRangeFrom, timeRangeTo } = filters;\n const [startTimestamp, endTimestamp] = getTimestampByPeriod(period, timeRangeFrom, timeRangeTo);\n\n if (\n startTimestamp !== null &&\n endTimestamp !== null &&\n Number.isFinite(startTimestamp) &&\n Number.isFinite(endTimestamp)\n ) {\n const { lastActive } = well;\n if (lastActive === undefined || !(lastActive >= startTimestamp && lastActive <= endTimestamp)) {\n return false;\n }\n }\n\n return true;\n};\n\nexport const doesWellPassVisibilityAndFilters = (\n well: FilterableVisibleWell,\n filters: FilterState | null,\n includeHidden: boolean,\n options?: DoesWellPassFiltersOptions\n): boolean =>\n isAssetVisibleToUser(well, includeHidden) && doesWellPassFilters(well, filters, options);\n"],"names":["SIDE_TRACK_REGEX","WELL_PROPERTY_FILTER_KEYS","EXCLUDE_RIG_NAME_FILTER","excludeKeys","doesWellPassFilters","well","filters","options","_well$name","_well$interventionAss","every","filterKey","includes","filterValue","Array","isArray","length","wellValue","normalized","map","String","some","v","segment","statusFilter","status","wellState","sideTracks","test","name","drillingWells","isDrillingOnlyWell","activeInterventionWells","interventionAsset","period","timeRangeFrom","timeRangeTo","_getTimestampByPeriod","getTimestampByPeriod","_getTimestampByPeriod2","_slicedToArray","startTimestamp","endTimestamp","Number","isFinite","lastActive","undefined","doesWellPassVisibilityAndFilters","includeHidden","isAssetVisibleToUser"],"mappings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C,EAA+B7B,EAA/B6B,cAAeC,EAAgB9B,EAAhB8B,YAC/BC,EAAuCC,EAAqBJ,EAAQC,EAAeC,GAAYG,EAAAC,EAAAH,EAAA,GAAxFI,EAAcF,EAAA,GAAEG,EAAYH,EAAA,GAEnC,GACqB,OAAnBE,GACiB,OAAjBC,GACAC,OAAOC,SAASH,IAChBE,OAAOC,SAASF,GAChB,CACA,IAAQG,EAAexC,EAAfwC,WACR,QAAmBC,IAAfD,KAA8BA,GAAcJ,GAAkBI,GAAcH,GAC9E,OAAO,CAEX,CAEA,OAAO,CACT,EAEaK,EAAmC,SAC9C1C,EACAC,EACA0C,EACAzC,GAAoC,OAEpC0C,EAAqB5C,EAAM2C,IAAkB5C,EAAoBC,EAAMC,EAASC,EAAQ"}
1
+ {"version":3,"file":"doesWellPassFilters.js","sources":["../../../../src/components/OffsetWellPickerV5/utils/doesWellPassFilters.ts"],"sourcesContent":["import type { FilterState, PickerSegmentId } from '../stores/filter-store/types';\n\nimport { getTimestampByPeriod } from './getTimestampByPeriod';\nimport { isAssetVisibleToUser } from './isAssetVisibleToUser';\nimport { isDrillingOnlyWell } from './isDrillingOnlyWell';\n\nconst SIDE_TRACK_REGEX = /\\sST0/;\n\nexport const WELL_PROPERTY_FILTER_KEYS: (keyof FilterState)[] = [\n 'status',\n 'companyId',\n 'rigName',\n 'programName',\n 'basin',\n 'county',\n 'area',\n 'formation',\n 'stringDesign',\n 'interventionAsset',\n 'padName',\n];\n\nexport type FilterableWell = {\n name?: string;\n lastDrillingAt?: number;\n status?: string;\n companyId?: number | string;\n rigName?: string;\n programName?: string;\n basin?: string;\n county?: string;\n area?: string;\n formation?: string;\n stringDesign?: unknown;\n interventionAsset?: string[];\n padName?: string;\n wellState?: string;\n lastInterventionAt?: number;\n};\n\nexport type FilterableVisibleWell = FilterableWell & { visibility?: string };\n\nexport type DoesWellPassFiltersOptions = {\n excludeKeys?: (keyof FilterState)[];\n segment?: PickerSegmentId;\n};\n\nexport const EXCLUDE_RIG_NAME_FILTER: DoesWellPassFiltersOptions = {\n excludeKeys: ['rigName'],\n};\n\nexport const doesWellPassFilters = (\n well: FilterableWell,\n filters: FilterState | null,\n options?: DoesWellPassFiltersOptions\n): boolean => {\n if (!filters) return true;\n\n const excludeKeys = options?.excludeKeys;\n\n // Check array property filters\n const passesPropertyFilters = WELL_PROPERTY_FILTER_KEYS.every(filterKey => {\n if (excludeKeys?.includes(filterKey)) return true;\n\n const filterValue = filters[filterKey];\n if (Array.isArray(filterValue) && filterValue.length > 0) {\n const wellValue = well[filterKey as keyof FilterableWell];\n const normalized = (filterValue as (string | number)[]).map(String);\n\n if (wellValue == null || wellValue === 'Null') {\n return normalized.includes('Null');\n }\n\n if (Array.isArray(wellValue)) {\n return (wellValue as string[]).some(v => normalized.includes(String(v)));\n }\n\n return normalized.includes(String(wellValue));\n }\n return true;\n });\n\n if (!passesPropertyFilters) {\n return false;\n }\n\n // Intervention segment: \"active\" status additionally requires wellState === 'intervention'\n if (options?.segment === 'intervention') {\n const statusFilter = filters.status;\n if (\n Array.isArray(statusFilter) &&\n statusFilter.map(String).includes('active') &&\n well.status === 'active' &&\n well.wellState !== 'intervention'\n ) {\n return false;\n }\n }\n\n // Check sideTracks filter\n if (filters.sideTracks && SIDE_TRACK_REGEX.test(well.name ?? '')) {\n return false;\n }\n\n if (options?.segment !== 'intervention' && filters.drillingWells && !isDrillingOnlyWell(well)) {\n return false;\n }\n\n // Check activeInterventionWells toggle: only show wells active on an intervention unit\n if (filters.activeInterventionWells && !well.interventionAsset?.length) {\n return false;\n }\n\n // Check time range filter\n const { period, timeRangeFrom, timeRangeTo } = filters;\n const [startTimestamp, endTimestamp] = getTimestampByPeriod(period, timeRangeFrom, timeRangeTo);\n\n if (\n startTimestamp !== null &&\n endTimestamp !== null &&\n Number.isFinite(startTimestamp) &&\n Number.isFinite(endTimestamp)\n ) {\n const { lastDrillingAt } = well;\n if (\n lastDrillingAt === undefined ||\n !(lastDrillingAt >= startTimestamp && lastDrillingAt <= endTimestamp)\n ) {\n return false;\n }\n }\n\n return true;\n};\n\nexport const doesWellPassVisibilityAndFilters = (\n well: FilterableVisibleWell,\n filters: FilterState | null,\n includeHidden: boolean,\n options?: DoesWellPassFiltersOptions\n): boolean =>\n isAssetVisibleToUser(well, includeHidden) && doesWellPassFilters(well, filters, options);\n"],"names":["SIDE_TRACK_REGEX","WELL_PROPERTY_FILTER_KEYS","EXCLUDE_RIG_NAME_FILTER","excludeKeys","doesWellPassFilters","well","filters","options","_well$name","_well$interventionAss","every","filterKey","includes","filterValue","Array","isArray","length","wellValue","normalized","map","String","some","v","segment","statusFilter","status","wellState","sideTracks","test","name","drillingWells","isDrillingOnlyWell","activeInterventionWells","interventionAsset","period","timeRangeFrom","timeRangeTo","_getTimestampByPeriod","getTimestampByPeriod","_getTimestampByPeriod2","_slicedToArray","startTimestamp","endTimestamp","Number","isFinite","lastDrillingAt","undefined","doesWellPassVisibilityAndFilters","includeHidden","isAssetVisibleToUser"],"mappings":"mPAMA,IAAMA,EAAmB,QAEZC,EAAmD,CAC9D,SACA,YACA,UACA,cACA,QACA,SACA,OACA,YACA,eACA,oBACA,WA4BWC,EAAsD,CACjEC,YAAa,CAAC,YAGHC,EAAsB,SACjCC,EACAC,EACAC,GACY,IAAAC,EAAAC,EACZ,IAAKH,EAAS,OAAO,EAErB,IAAMH,EAAcI,aAAAA,EAAAA,EAASJ,YAwB7B,IArB8BF,EAA0BS,OAAM,SAAAC,GAC5D,GAAIR,SAAAA,EAAaS,SAASD,GAAY,OAAO,EAE7C,IAAME,EAAcP,EAAQK,GAC5B,GAAIG,MAAMC,QAAQF,IAAgBA,EAAYG,OAAS,EAAG,CACxD,IAAMC,EAAYZ,EAAKM,GACjBO,EAAcL,EAAoCM,IAAIC,QAE5D,OAAiB,MAAbH,GAAmC,SAAdA,EAChBC,EAAWN,SAAS,QAGzBE,MAAMC,QAAQE,GACRA,EAAuBI,MAAK,SAAAC,GAAC,OAAIJ,EAAWN,SAASQ,OAAOE,OAG/DJ,EAAWN,SAASQ,OAAOH,GACpC,CACA,OAAO,CACT,IAGE,OAAO,EAIT,GAAyB,kBAArBV,aAAO,EAAPA,EAASgB,SAA4B,CACvC,IAAMC,EAAelB,EAAQmB,OAC7B,GACEX,MAAMC,QAAQS,IACdA,EAAaL,IAAIC,QAAQR,SAAS,WAClB,WAAhBP,EAAKoB,QACc,iBAAnBpB,EAAKqB,UAEL,OAAO,CAEX,CAGA,GAAIpB,EAAQqB,YAAc3B,EAAiB4B,KAAkB,QAAbvB,EAAAA,EAAKwB,YAAQ,IAAArB,EAAAA,EAAA,IAC3D,OAAO,EAGT,GAAyB,kBAArBD,eAAAA,EAASgB,UAA8BjB,EAAQwB,gBAAkBC,EAAmB1B,GACtF,OAAO,EAIT,GAAIC,EAAQ0B,0BAAkD,QAAvBvB,EAACJ,EAAK4B,yBAAiB,IAAAxB,IAAtBA,EAAwBO,QAC9D,OAAO,EAIT,IAAQkB,EAAuC5B,EAAvC4B,OAAQC,EAA+B7B,EAA/B6B,cAAeC,EAAgB9B,EAAhB8B,YAC/BC,EAAuCC,EAAqBJ,EAAQC,EAAeC,GAAYG,EAAAC,EAAAH,EAAA,GAAxFI,EAAcF,EAAA,GAAEG,EAAYH,EAAA,GAEnC,GACqB,OAAnBE,GACiB,OAAjBC,GACAC,OAAOC,SAASH,IAChBE,OAAOC,SAASF,GAChB,CACA,IAAQG,EAAmBxC,EAAnBwC,eACR,QACqBC,IAAnBD,KACEA,GAAkBJ,GAAkBI,GAAkBH,GAExD,OAAO,CAEX,CAEA,OAAO,CACT,EAEaK,EAAmC,SAC9C1C,EACAC,EACA0C,EACAzC,GAAoC,OAEpC0C,EAAqB5C,EAAM2C,IAAkB5C,EAAoBC,EAAMC,EAASC,EAAQ"}
@@ -0,0 +1,22 @@
1
+ import { SortDirectionType } from '../constants';
2
+ export type SortableWell = Record<string, unknown> & {
3
+ id: number;
4
+ };
5
+ /**
6
+ * Sorts wells by a column, leaving the input array untouched.
7
+ *
8
+ * Two rules, both of which the table relies on:
9
+ * - wells with no value sink to the bottom in *both* directions, so sorting never
10
+ * surfaces gaps ahead of data;
11
+ * - anything that is not strictly greater or smaller — equal values, arrays with the
12
+ * same contents, coercively equal values of mismatched types (`5` and `"5"`) — is a
13
+ * tie and returns 0, so the stable sort keeps the incoming order instead of
14
+ * shuffling those rows on every re-sort.
15
+ *
16
+ * Values within a column are assumed to share one type (numbers, strings, or string
17
+ * arrays). Mixing numbers with strings in the same column is not supported: the
18
+ * numeric and textual branches of `compareValues` use different orderings, so a mixed
19
+ * column has no consistent order to sort by.
20
+ */
21
+ export declare const sortWellsBy: (wells: SortableWell[], sortByKey: string, sortDir: SortDirectionType) => SortableWell[];
22
+ //# sourceMappingURL=sortWellsBy.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sortWellsBy.d.ts","sourceRoot":"","sources":["../../../../src/components/OffsetWellPickerV5/utils/sortWellsBy.ts"],"names":[],"mappings":"AAAA,OAAO,EAA6B,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAE5E,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,CAAC;AAyCpE;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,WAAW,UACf,YAAY,EAAE,aACV,MAAM,WACR,iBAAiB,KACzB,YAAY,EAuBd,CAAC"}
@@ -0,0 +1,2 @@
1
+ import r from"@babel/runtime/helpers/toConsumableArray";import{ColumnType as t,SortDirection as n}from"../constants.js";var e=new Set([t.lastDrillingAt,t.lastInterventionAt]),o=function(r){return Array.isArray(r)?r.join(", "):String(r)},i=function(r,t){return"string"==typeof r?!r||"null"===r.toLowerCase():0===r?t:!r},u=function(t,u,a){var f=e.has(u),s=a===n.ASC;return r(t).sort((function(r,t){var n=r[u],e=t[u],a=i(n,f),l=i(e,f);if(a&&l)return 0;if(a)return 1;if(l)return-1;if("string"==typeof n&&"string"==typeof e)return s?n.localeCompare(e):e.localeCompare(n);var p=function(r,t){if("number"==typeof r&&"number"==typeof t)return r===t?0:r>t?1:-1;var n=o(r),e=o(t);return n===e?0:n>e?1:-1}(n,e);return s?p:-p}))};export{u as sortWellsBy};
2
+ //# sourceMappingURL=sortWellsBy.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sortWellsBy.js","sources":["../../../../src/components/OffsetWellPickerV5/utils/sortWellsBy.ts"],"sourcesContent":["import { ColumnType, SortDirection, SortDirectionType } from '../constants';\n\nexport type SortableWell = Record<string, unknown> & { id: number };\n\n/**\n * Columns holding a unix timestamp, where `0` means \"no date\" rather than a real\n * value — the cell renders it as an em dash, so sorting treats it as missing too.\n */\nconst DATE_COLUMNS: Set<string> = new Set([\n ColumnType.lastDrillingAt,\n ColumnType.lastInterventionAt,\n]);\n\n/** Renders a value the way the table does, so ordering follows what the user reads. */\nconst toText = (value: unknown): string =>\n Array.isArray(value) ? value.join(', ') : String(value);\n\n/** Three-way comparison: 0 means \"tie\", which the caller turns into a stable order. */\nconst compareValues = (a: unknown, b: unknown): number => {\n if (typeof a === 'number' && typeof b === 'number') {\n if (a === b) return 0;\n return a > b ? 1 : -1;\n }\n\n const aText = toText(a);\n const bText = toText(b);\n\n if (aText === bText) return 0;\n return aText > bText ? 1 : -1;\n};\n\nconst isMissing = (value: unknown, treatZeroAsMissing: boolean): boolean => {\n if (typeof value === 'string') {\n return !value || value.toLowerCase() === 'null';\n }\n\n if (value === 0) {\n return treatZeroAsMissing;\n }\n\n return !value;\n};\n\n/**\n * Sorts wells by a column, leaving the input array untouched.\n *\n * Two rules, both of which the table relies on:\n * - wells with no value sink to the bottom in *both* directions, so sorting never\n * surfaces gaps ahead of data;\n * - anything that is not strictly greater or smaller — equal values, arrays with the\n * same contents, coercively equal values of mismatched types (`5` and `\"5\"`) — is a\n * tie and returns 0, so the stable sort keeps the incoming order instead of\n * shuffling those rows on every re-sort.\n *\n * Values within a column are assumed to share one type (numbers, strings, or string\n * arrays). Mixing numbers with strings in the same column is not supported: the\n * numeric and textual branches of `compareValues` use different orderings, so a mixed\n * column has no consistent order to sort by.\n */\nexport const sortWellsBy = (\n wells: SortableWell[],\n sortByKey: string,\n sortDir: SortDirectionType\n): SortableWell[] => {\n const treatZeroAsMissing = DATE_COLUMNS.has(sortByKey);\n const isAscending = sortDir === SortDirection.ASC;\n\n return [...wells].sort((a, b) => {\n const aVal = a[sortByKey];\n const bVal = b[sortByKey];\n\n const aMissing = isMissing(aVal, treatZeroAsMissing);\n const bMissing = isMissing(bVal, treatZeroAsMissing);\n\n if (aMissing && bMissing) return 0;\n if (aMissing) return 1;\n if (bMissing) return -1;\n\n if (typeof aVal === 'string' && typeof bVal === 'string') {\n return isAscending ? aVal.localeCompare(bVal) : bVal.localeCompare(aVal);\n }\n\n const order = compareValues(aVal, bVal);\n\n return isAscending ? order : -order;\n });\n};\n"],"names":["DATE_COLUMNS","Set","ColumnType","lastDrillingAt","lastInterventionAt","toText","value","Array","isArray","join","String","isMissing","treatZeroAsMissing","toLowerCase","sortWellsBy","wells","sortByKey","sortDir","has","isAscending","SortDirection","ASC","_toConsumableArray","sort","a","b","aVal","bVal","aMissing","bMissing","localeCompare","order","aText","bText","compareValues"],"mappings":"wHAQA,IAAMA,EAA4B,IAAIC,IAAI,CACxCC,EAAWC,eACXD,EAAWE,qBAIPC,EAAS,SAACC,GAAc,OAC5BC,MAAMC,QAAQF,GAASA,EAAMG,KAAK,MAAQC,OAAOJ,EAAM,EAgBnDK,EAAY,SAACL,EAAgBM,GACjC,MAAqB,iBAAVN,GACDA,GAAiC,SAAxBA,EAAMO,cAGX,IAAVP,EACKM,GAGDN,CACV,EAkBaQ,EAAc,SACzBC,EACAC,EACAC,GAEA,IAAML,EAAqBZ,EAAakB,IAAIF,GACtCG,EAAcF,IAAYG,EAAcC,IAE9C,OAAOC,EAAIP,GAAOQ,MAAK,SAACC,EAAGC,GACzB,IAAMC,EAAOF,EAAER,GACTW,EAAOF,EAAET,GAETY,EAAWjB,EAAUe,EAAMd,GAC3BiB,EAAWlB,EAAUgB,EAAMf,GAEjC,GAAIgB,GAAYC,EAAU,OAAO,EACjC,GAAID,EAAU,OAAO,EACrB,GAAIC,EAAU,OAAQ,EAEtB,GAAoB,iBAATH,GAAqC,iBAATC,EACrC,OAAOR,EAAcO,EAAKI,cAAcH,GAAQA,EAAKG,cAAcJ,GAGrE,IAAMK,EAhEY,SAACP,EAAYC,GACjC,GAAiB,iBAAND,GAA+B,iBAANC,EAClC,OAAID,IAAMC,EAAU,EACbD,EAAIC,EAAI,GAAK,EAGtB,IAAMO,EAAQ3B,EAAOmB,GACfS,EAAQ5B,EAAOoB,GAErB,OAAIO,IAAUC,EAAc,EACrBD,EAAQC,EAAQ,GAAK,CAC9B,CAqDkBC,CAAcR,EAAMC,GAElC,OAAOR,EAAcY,GAASA,CAChC,GACF"}
@@ -1,2 +1,2 @@
1
- import e from"@babel/runtime/helpers/slicedToArray";import t from"@babel/runtime/helpers/defineProperty";import o from"@babel/runtime/helpers/asyncToGenerator";import s from"@babel/runtime/regenerator";import{useReducer as n,useEffect as i}from"react";import{func as r,shape as p,number as m,string as c,oneOf as a}from"prop-types";import{isEmpty as l,get as d,last as j,isNull as u,noop as C,range as I}from"lodash";import{makeStyles as A,Dialog as S,DialogTitle as g,DialogContent as V,Grid as h,FormControl as v,InputLabel as T,Select as D,MenuItem as F,Checkbox as f,ListItemText as P,Typography as b,FormLabel as y,RadioGroup as x,FormControlLabel as E,Radio as L,DialogActions as B,Button as k}from"@material-ui/core";import{getAppStorage as O}from"../../clients/jsonApi/index.js";import"../DevCenter/DevCenterAppContainer/components/IsInsideIsolatedDcAppProvider/IsInsideIsolatedDcAppProvider.js";import"../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js";import"../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js";import"@babel/runtime/helpers/objectWithoutProperties";import"classnames";import"../Modal/CorvaModal.scss.js";import"@icon-park/react/es/all";import{jsxs as w,Fragment as H,jsx as M}from"react/jsx-runtime";import"../../icons/IconParkProvider.js";import"../../icons/customIcons/icons/AddMessage.js";import"../../icons/customIcons/icons/DragOne.js";import"../../icons/customIcons/icons/Attention.js";import"../../icons/customIcons/icons/Collapse.js";import"../../icons/customIcons/icons/Dashboard.js";import"../../icons/customIcons/icons/Expand.js";import"../../icons/customIcons/icons/FolderClosed.js";import"../../icons/customIcons/icons/FolderClosedFilled.js";import"../../icons/customIcons/icons/FolderOpened.js";import"../../icons/customIcons/icons/GreaterOrEqual.js";import"../../icons/customIcons/icons/LessOrEqual.js";import"../../icons/customIcons/icons/Search.js";import"../../icons/customIcons/icons/SearchOne.js";import"../../icons/customIcons/icons/Wellhub.js";import"../../icons/customIcons/icons/MultiRuler.js";import"../../icons/customIcons/icons/Checkbox.js";import"../../icons/customIcons/icons/CheckboxChecked.js";import"../../icons/customIcons/icons/CheckboxIndeterminate.js";import"../../icons/customIcons/icons/Radio.js";import"../../icons/customIcons/icons/RadioChecked.js";import"../../icons/customIcons/icons/SimulFrac.js";import"../../icons/customIcons/icons/ZipperFrac.js";import"../../icons/customIcons/icons/CautionFilled.js";import"../../icons/customIcons/icons/MoreApp.js";import"../../icons/customIcons/icons/Pad.js";import"../../icons/customIcons/icons/DrilloutUnit.js";import"../../icons/customIcons/icons/FracFleet.js";import"../../icons/customIcons/icons/Global.js";import"../../icons/customIcons/icons/Program.js";import"../../icons/customIcons/icons/Rig.js";import"../../icons/customIcons/icons/Well.js";import"../../icons/customIcons/icons/Gap.js";import"../../icons/customIcons/icons/Pin.js";import"../../icons/customIcons/icons/CloseOneFilled.js";import"../../icons/customIcons/icons/AttentionFilled.js";import"../../icons/customIcons/icons/CheckOneFilled.js";import"../../icons/customIcons/icons/Archive.js";import"../../icons/customIcons/icons/ArchiveCancel.js";import"../../icons/customIcons/icons/Unarchive.js";import"../../icons/customIcons/icons/Archived.js";import"../../icons/customIcons/icons/InterventionUnit.js";import"../../icons/customIcons/icons/CloudDelete.js";import"../../icons/customIcons/icons/Lasso.js";import"../../icons/customIcons/icons/Radius.js";import"../../icons/customIcons/icons/ErrorOps.js";import"../../icons/customIcons/icons/DataTypeOps.js";import"../../icons/customIcons/icons/FalsePositiveOps.js";import"../../icons/customIcons/icons/CalibrationOps.js";import"../../icons/customIcons/icons/CriticalOps.js";import"../../icons/customIcons/icons/Company.js";import"../../icons/customIcons/icons/ArchiveOne.js";import"../../icons/customIcons/icons/ParseBotFusion.js";import"../../icons/customIcons/icons/Connect.js";import"../../icons/customIcons/icons/PuzzleOne.js";import"../../icons/customIcons/icons/Feed.js";import"../../icons/customIcons/icons/Prompt.js";import"../../icons/customIcons/icons/Companies.js";import"../../icons/customIcons/icons/ClipboardAi.js";import"../../icons/customIcons/icons/Key.js";import"../../icons/customIcons/icons/AtSignCrossed.js";import"../../icons/customIcons/icons/MappingManual.js";import"../../icons/customIcons/icons/Mapping.js";import"../../icons/customIcons/icons/Metrics.js";import"../../icons/customIcons/icons/Drops.js";import"../../icons/customIcons/icons/ClipboardSearch.js";import"../../icons/customIcons/icons/Template.js";import"../../icons/customIcons/icons/ClipboardMetrics.js";import"../../icons/customIcons/icons/ClipboardBuilder.js";import"../../icons/customIcons/icons/UnitConversion.js";import"../../icons/customIcons/icons/NPT.js";import"../../icons/customIcons/icons/GuidedFrac.js";import"../../utils/mobileDetect.js";import"../IconButton/index.js";import"../../constants/goals.js";import"../../constants/segment.js";import"../../constants/alerts.js";import"../../constants/apps.js";import"../../constants/drillstring.js";import"../../constants/completion.js";import"../../constants/appPackages.js";import"../../constants/notifications.js";import"../../constants/feed.js";import"../../constants/bha.js";import"../../constants/corvaCompanyId.js";import"../GradientManager/configuration/constants.js";import"uuid";import"../IconMenu/index.js";import"../StyledMenuItem/index.js";import"../AppIcon/AppIcon.js";import"../DevCenter/AppHeader/AppHeader.js";import"../DevCenter/AppSideBar/AppSideBar.js";import"../DevCenter/AppsDataProvider/AppsDataProvider.js";import"../DevCenter/AppContext.js";import"../DevCenter/DevCenterRouterContext/DevCenterRouterContext.js";import"../DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js";import"react-router-dom";import"query-string";import"../../utils/index.js";import"../DevCenter/DevCenterAppContainer/components/AppActions/AppActions.css.js";import"../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js";import"../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/RemoveAppButton.js";import"../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/SettingsAccordion.js";import"../DevCenter/DevCenterAppContainer/components/AnnotationsButton.js";import"../../componentsV2/Text/Text.js";import"../../componentsV2/Grid/Grid.js";import"../../componentsV2/Grid/Cell.js";import"../../componentsV2/Header/Header.scss.js";import"../../componentsV2/Button/Button.js";import"../../componentsV2/ButtonIcon/ButtonIcon.js";import"../../componentsV2/Tooltip/Tooltip.scss.js";import"../../componentsV2/Popover/Popover.js";import"../../componentsV2/PopoverPanel/PopoverPanel.js";import"../../componentsV2/Radio/Radio.js";import"../../componentsV2/RadioAndCheckboxGroup/RadioAndCheckboxGroup.scss.js";import"../../componentsV2/Checkbox/Checkbox.js";import"@babel/runtime/helpers/toConsumableArray";import"../../componentsV2/TextInput/TextInput.js";import"../../componentsV2/TextInputNext/TextInputNext.js";import"../../componentsV2/TextArea/TextArea.js";import"../../componentsV2/Label/Label.js";import"../../componentsV2/TextEndTruncated/TextEndTruncated.scss.js";import"../../componentsV2/TextMiddleTruncated/TextMiddleTruncated.constants.js";import"../../componentsV2/TextMiddleTruncated/TextMiddleTruncated.scss.js";import"../../componentsV2/TextLink/TextLink.js";import"../../componentsV2/Chip/Chip.js";import"../../componentsV2/ChipAlert/ChipAlert.js";import"../../componentsV2/ChipIndicator/ChipIndicator.js";import"../../componentsV2/Avatar/Avatar.js";import"../../componentsV2/AvatarGroup/AvatarGroup.js";import"@material-ui/lab";import"../../componentsV2/ToggleButtons/ToggleButtons.scss.js";import"../../componentsV2/Paper/Paper.js";import"../../componentsV2/ModalWindow/ModalWindow.js";import"../../componentsV2/Modal/Modal.scss.js";import"../../componentsV2/Menu/Menu.js";import"../../componentsV2/utils.js";import"../../componentsV2/Hint/Hint.scss.js";import"../../componentsV2/Counter/Counter.js";import"../../componentsV2/BadgeBase/BadgeBase.scss.js";import"../../componentsV2/TemplatesControl/TemplatesControl.js";import"zustand";import"../../componentsV2/TemplatesControl/utils.js";import"../../componentsV2/TemplatesControl/icons/folder/index.js";import"../../componentsV2/TemplatesControl/Store/utils.js";import"../../componentsV2/TemplatesControl/types.js";import"../../permissions/PermissionsContext.js";import"../../permissions/constants/index.js";import"../../permissions/withPermissionsHOC.js";import"../../permissions/ProvidePermissions.js";import"../../componentsV2/BadgeDot/BadgeDot.scss.js";import"../../componentsV2/LoaderLinear/LoaderLinear.scss.js";import"../../componentsV2/LoaderLogo/LoaderLogo.constants.js";import"../../componentsV2/LoaderLogo/LoaderLogo.scss.js";import"../../componentsV2/Switch/Switch.js";import"../../componentsV2/Tabs/Tabs.js";import"../../componentsV2/EmptyState/EmptyState.scss.js";import"../../componentsV2/FileIcon/FileIcon.js";import"../../componentsV2/Tag/Tag.js";import"react-dropzone";import"../../componentsV2/FilesDropzone/FilesDropzone.scss.js";import"../../componentsV2/FilesLoader/FilesLoader.scss.js";import"file-extension";import"image-extensions";import"video-extensions";import"../../componentsV2/FilesProcessor/FilesProcessor.scss.js";import"../../componentsV2/Skeleton/Skeleton.scss.js";import"../../utils/main.js";import"../../componentsV2/CopyToClipboard/CopyToClipboard.scss.js";import"../../componentsV2/Stepper/Step/Step.scss.js";import"../../componentsV2/Stepper/Stepper.scss.js";import"../../componentsV2/ButtonLive/ButtonLive.js";import"../../componentsV2/ButtonText/ButtonText.js";import"../../componentsV2/IndicatorLive/IndicatorLive.js";import"../../componentsV2/Accordion/Accordion.scss.js";import"../../componentsV2/Breadcrumbs/Breadcrumbs.scss.js";import"../../componentsV2/BadgeComment/BadgeComment.js";import"../../componentsV2/AppContainer/AppContainer.js";import"../../componentsV2/AppContainer/AppContainer.constants.js";import"../../componentsV2/AppFooter/AppFooter.js";import"immutable";import"../../componentsV2/AppCommonsProvider/AppCommonsContext.js";import"../../componentsV2/AppHeader/AppHeader.constants.js";import"../../componentsV2/AppHeader/AppBadge/AppBadge.scss.js";import"../../componentsV2/AppHeader/AppAssets/utils.js";import"../../componentsV2/AppHeader/AppAssets/AppAssets.scss.js";import"../PadModeSelect/PadModeSelect.js";import"../../componentsV2/AppHeader/PadMode/PadMode.scss.js";import"../../constants/streamSourceType.js";import"../../componentsV2/PadModeSelect/PadModeSelect.js";import"../../componentsV2/PadModeSelect/PadModeSelect.constants.js";import"../../componentsV2/AppCommonsProvider/AppCommonsProvider.js";import"../../componentsV2/AppHeader/V3/VersionSelect/VersionSelect.js";import"../../componentsV2/UniversalLink/UniversalLink.scss.js";import"../../componentsV2/AppHeader/V3/AssetChips/AssetChips.scss.js";import"moment";import"../../componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.js";import"../../componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.constants.js";import"../../componentsV2/AppFooter/DqPopover/DqStatusIcon/DqStatusIcon.js";import"../../componentsV2/AppDqPopover/DqAlertTooltip/DqAlertTooltip.scss.js";import"../../componentsV2/AppDqPopover/DqAlert/DqAlert.scss.js";import"../../componentsV2/AppDqPopover/DqAsset/DqAsset.scss.js";import"../../componentsV2/AppDqPopover/AppDqPopover.scss.js";import"../../utils/getSingleAsset.js";import"../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorChip/AssetSelectorChip.js";import"../../componentsV2/AppHeader/V3/AssetSelector/constants.js";import"../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/AssetSelectorSelect.scss.js";import"../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/loadAssets.js";import"../../componentsV2/AppHeader/V3/AssetSelector/AssetSelector.scss.js";import"../../clients/subscriptions/constants.js";import"querystring";import"uuid/v1";import"../../clients/subscriptions.v1.js";import"../../clients/subscriptions/subscriptions-client.factory.js";import"jsona";import"../../utils/env.js";import"../StatusBadge/constants.js";import"lodash/set";import"lodash/get";import"lodash/unset";import"../../clients/api/apiCore.js";import"../../clients/constants.js";import"../../clients/sso/auth0.js";import"../../clients/sso/oauth2.js";import"../../clients/api/rateLimiter.js";import"lodash/isEmpty";import"lodash/sortBy";import"../DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchContext.js";import"../../componentsV2/AppSettings/AppSettingsPinningContext.js";import"../../componentsV2/AppHeader/V3/AppTitle/AppTitle.constants.js";import"../../componentsV2/AppHeader/V3/AppTitle/AppTitle.scss.js";import"../../componentsV2/AppHeader/V3/constants.scss.js";import"@babel/runtime/helpers/typeof";import"../../componentsV2/AppHeader/V3/SettingsButton/SettingsButton.js";import"../../componentsV2/AppHeader/V3/SettingsButton/SettingsButton.constants.js";import"../../componentsV2/AppSettings/AppSettings.js";import"../../componentsV2/AppSettings/AppSettings.constants.js";import"../../componentsV2/AppSizeProvider/AppSizeProvider.js";import"../../componentsV2/AppHeader/V3/Actions/Actions.constants.js";import"../../componentsV2/AppHeader/V3/Actions/Actions.scss.js";import"../../componentsV2/AppHeader/V3/AppHeaderV3.scss.js";import"../../componentsV2/AppHeader/AppHeader.scss.js";import"../../componentsV2/OffsetWellsButton/OffsetWellsButton.js";import"../../componentsV2/ChartAxisExtreme/ChartAxisExtreme.scss.js";import"highcharts";import"../../componentsV2/ChartAxisExtreme/ChartAxisExtremeDragTracker.js";import"../../componentsV2/Autocomplete/Autocomplete.js";import"../../componentsV2/Select/Select.js";import"../../componentsV2/AppSettingsDivider/AppSettingsDivider.scss.js";import"../../componentsV2/WellArchivedMessage/WellArchivedMessage.js";import"../../componentsV2/DatePicker/DatePicker.js";import"../../componentsV2/DragHandle/DragHandle.js";import"../../componentsV2/CompletionsOffsetWellPicker/CompletionsOffsetWellPicker.js";import"../../componentsV2/Slider/constants.js";import"../../componentsV2/Slider/components/SliderThumb.js";import"../../componentsV2/Slider/Slider.scss.js";import"../../componentsV2/SliderAdvanced/SliderAdvanced.js";import"react-color";import"../../componentsV2/ColorPicker/Swatches/Swatches.scss.js";import"../../componentsV2/ColorPicker/OpacityDragtracker/OpacityDragTracker.scss.js";import"../../componentsV2/ColorPicker/ColorPicker.scss.js";import"../../componentsV2/ChartHelper/ChartHelper.scss.js";import"../../componentsV2/Hotkey/Hotkey.js";import"@tanstack/react-query";import"../../componentsV2/InterventionEventSelector/useInterventionUnitEvents.js";import"../../componentsV2/InterventionEventSelector/InterventionEventSelector.scss.js";import"@material-ui/icons";import"../DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.scss.js";import"../DevCenter/DevCenterAppContainer/components/FullscreenButton/FullscreenButton.js";import"../Icons/AnnotationIcon.js";import"../HelpCenter/HelpCenterIcon.js";import"../DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.js";import"../DevCenter/DevCenterAppContainer/components/DevCenterAppView/components/ChooseAssetButton.js";import"../DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.scss.js";import"../ErrorBoundary/ErrorBoundary.js";import"../ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js";import"../Annotations/components/AnnotationsList/index.js";import"../Annotations/components/LastAnnotation/index.js";import"../Annotations/AnnotationsContext.js";import"../DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/index.js";import"../DevCenter/DevCenterAppContainer/DevCenterAppContainer.scss.js";import"../Toaster/Toaster.js";import"../DevCenter/NavigationBar/NavigationBar.js";import"../DevCenter/SideBar/SideBar.js";import"../DevCenter/AppSettingsPopover/AppSettingsPopover.js";import"../DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.js";import"../DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js";import"../DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.js";import"../AssetEditor/index.js";import"../AssetEditorV2/index.js";import"../AppVersionsSelect/AppVersionsSelect.js";import"../LoadingIndicator/LoadingIndicator.js";import"../Typography.js";import"../RealTimeValuesSidebar/RealTimeSidebar.js";import"../CollapsableSidebar.js";import"../DateTimePicker/index.js";import"../DatePicker/index.js";import"../SlateFormattedText/SlateFormattedText.js";import"../SlateFormattedText/RenderElements.js";import"slate";import"../EmptyState/EmptyState.js";import"../ParameterCharts/ParameterCharts.js";import"../ParameterCharts/AddEditTrack.js";import"../ChartActionsList/ChartActionsList.js";import"../CopyToClipboard/CopyToClipboard.js";import"../AssetEditor/AssetEditorAutocomplete.js";import"../AssetEditor/SingleAssetEditor.js";import"../SettingEditors/ColorEditor/style.css.js";import"../SettingEditors/DropdownEditor/index.js";import"../SwitchControl/index.js";import"../ColorPicker/ColorPicker.js";import"../Chart/components/ChartButton.js";import"../Chart/components/ChartButtons.js";import"../Chart/components/ChartWrapper.js";import"../Chart/components/AxisDropdown.js";import"../Chart/components/ChartSelect.js";import"../Chart/ChartWrapperContext.js";import"../Chart/effects/useChartModifier.js";import"../Chart/components/buttons/HideAxesButton.js";import"../Chart/components/buttons/ChartTypeButton.js";import"../ColorPicker/PaletteChromePicker/PaletteChromePicker.js";import"../TruncatedText/index.js";import"../MiddleTruncatedText/MiddleTruncatedText.js";import"../RangeSlider/constants.js";import"../RangeSlider/Input.css.js";import"../RangeSlider/RangeSlider.css.js";import"../AdvancedSlider/AdvancedSlider.js";import"../Breadcrumbs/index.js";import"../VirtualizedTable/index.js";import"../EmptyView/EmptyView.js";import"../EmptyView/EmptyAppView/EmptyAppView.js";import"../Button/components/Button/index.js";import"moment-timezone";import"../Button/components/LiveButton/components/LiveButtonStateIndicator/index.js";import"../Button/components/LiveButton/styles.js";import"../ContextMenuItem/index.js";import"../FolderMenuItem/index.js";import"../EditableItem/EditableItem/index.js";import"../EditableItem/EditableItemWithBadge/index.js";import"../Checkbox/index.js";import"../FolderMenuItemWithLinks/index.js";import"../TextField/index.js";import"../Chip/index.js";import"../Counter/index.js";import"../AnchorsList/AnchorsList.js";import"../Select/index.js";import"../Select/SelectFilterBy.js";import"../CustomSelect/index.js";import"../Tabs/Tabs.js";import"../Tabs/Tab.js";import"../ResizableTable/ResizableTable.js";import"../GradientPicker/GradientPicker.js";import"@babel/runtime/helpers/classCallCheck";import"@babel/runtime/helpers/createClass";import"../GradientManager/GradientPreview/GradientPreview.js";import"../GradientManager/GradientSelect.scss.js";import"../GradientManager/GradientManager.styles.js";import"../Drillstring/BHASchematic.js";import"../Drillstring/BHATable/index.js";import"../Drillstring/BHAComponentIcon.js";import"../Drillstring/BHAComponentDetail/index.js";import"../Drillstring/BHATileIcon.js";import"../Drillstring/BHATile/BHATile.js";import"../Drillstring/BHAList/BHAList.js";import"../Drillstring/BHAComponentsTable/BHAComponentsTable.js";import"../Casing/CasingTable/index.js";import"../Casing/CasingComponentIcon.js";import"../Casing/CasingTileIcon.js";import"../Casing/CasingTableV2/CasingTableV2.js";import"../Casing/CasingTile/CasingTile.js";import"../DisabledSettingsMessage/DisabledSettingsMessage.js";import"../WellSummary/WellSummaryItemLabel.js";import"../WellSummary/WellSummaryItemTitle.js";import"../WellSummary/WellSummaryItemValue.js";import"../WellSummary/ActivitySummaryChart.js";import"../WellSummary/FracWirelineTimeChart.js";import"../BICOffsetPickerDialog/index.js";import"../OffsetWellButton/OffsetWellButton.js";import"../OffsetWellPickerV2/OffsetWellPickerDialog.js";import"../OffsetWellPickerV3/index.js";import W from"../OffsetWellChips/Chip.js";import"../OffsetWellChips/ChipsContainer.js";import"../OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/OffsetWellPickerV5WithStore.js";import"../OffsetWellMap/OffsetWellMap.js";import"@material-ui/core/Snackbar";import"../Notifications/Toast.js";import"../Notifications/Notifications.scss.js";import"../ConfirmationDialog.js";import"../TextLink/index.js";import"../Avatar/index.js";import"../Template/TemplatePopover/index.js";import"../Template/TemplateSharingDialog/index.js";import"../MenuItem/index.js";import"../MiddleTruncate/MiddleTruncate.js";import"../PinnableFilters/PinnableFilters.js";import"../HeaderLayout/HeaderLayout.js";import"./PadOffsetsPicker.js";import"./OffsetAssetChip.js";import"./OffsetAssetsListExpander.js";import"../PadOffsetsPickerV2/PadOffsetsPickerV2.js";import"../Table/TableToolbar/TableToolbar.js";import"../Table/TableContainer/TableContainer.js";import"../Table/TableCell/TableCell.js";import"../Table/TablePagination/TablePagination.js";import"../Table/TablePaginationActions/TablePaginationActions.js";import"../Tooltip/ScrollableTooltip.js";import"../PriceInput/PriceInput.js";import"../LabelsCounter/LabelsCounter.js";import"../Stepper/Stepper.js";import"../Stepper/Step/Step.js";import"../Stepper/StepsWrapper.js";import"../Comment/CommentIcon/index.js";import"../FilesLoader/FilesLoader.js";import"../../componentsV2/FileIcon/icons/ArchiveFileIcon.js";import"../../componentsV2/FileIcon/icons/CSVFileIcon.js";import"../../componentsV2/FileIcon/icons/DocFileIcon.js";import"../../componentsV2/FileIcon/icons/EDMFileIcon.js";import"../../componentsV2/FileIcon/icons/ExcelFileIcon.js";import"../../componentsV2/FileIcon/icons/ImageFileIcon.js";import"../../componentsV2/FileIcon/icons/JsonFileIcon.js";import"../../componentsV2/FileIcon/icons/LasFileIcon.js";import"../../componentsV2/FileIcon/icons/OtherFileIcon.js";import"../../componentsV2/FileIcon/icons/PdfFileIcon.js";import"../../componentsV2/FileIcon/icons/PowerPointFileIcon.js";import"../../componentsV2/FileIcon/icons/TxtFileIcon.js";import"../../componentsV2/FileIcon/icons/UnknownFileIcon.js";import"../../componentsV2/FileIcon/icons/VideoFileIcon.js";import"../../componentsV2/FileIcon/icons/XmlFileIcon.js";import"../SearchInput/index.js";import"../FeedItem/FeedItem.js";import"../FeedItem/FeedItemEditProvider/FeedItemEditProvider.js";import"../PostInput/PostInput.js";import"../KeyboardDateTimePicker.js";import"../AddComment/Popover.js";import"../AddComment/Popup.js";import"../StageDesignVActual/ComparisonBar/ComparisonBar.js";import"../StageDesignVActual/ElementsComparison/ElementsComparison.js";import"../StageDesignVActual/ComparisonHeader.js";import"../StageDesignVActual/ComparisonRow.js";import"../EmbeddedApp/DevCenterEmbeddedApp.js";import"../EmbeddedApp/EmbeddedApp.js";import"../Autocomplete/Autocomplete.js";import"../DocumentViewer/DocumentViewer.js";import"../ColorPickerPalette/ColorPickerPalette.js";import"../Search/Search.js";import"../Search/components/Listbox.js";import"../Search/components/Paper.js";import"../Search/components/RecentSearches.js";import"../Search/components/Groups.js";import"../Search/components/SelectAllListItem.js";import"../StatusBadge/index.js";import"../Attachment/index.js";import"../EmojiIconButton.js";import"../FileUploadIconButton.js";import"../FilePreview/index.js";import"../FailedFileUploading.js";import"../UserMention/index.js";import"../CommentsInfo/index.js";import"../CommentInput/index.js";import"../Comment/index.js";import"../CommentLoader.js";import"../AssetNameLabel/AssetStatusBadge.js";import"../AssetEditorV2/components/PrimaryAssetSelect.js";import"../AssetEditorV2/components/SecondaryAssetSelect.js";import"../AssetEditorV2/components/SelectItem.js";import"../AssetEditorV2/components/MultipleAssetsToggle.js";import"../AssetEditorV2/components/PrimaryAssetSelectV2.js";import"../EChartsWrapper/EChartsWrapper.js";import"../AssetsMultipleSelector/AssetsMultipleSelector.js";import"@material-ui/icons/Close";import"@material-ui/icons/GetApp";import"../GoogleDocsViewer/index.js";import"../NewDocumentViewer/effects/useFileContent.js";import"../NewDocumentViewer/styles.js";import"../FilesLoaderV2/styles.js";import"../FilesDropzone/styles.js";import"../FilesProcessor/styles.js";import"../Hint/styles.js";import"@babel/runtime/helpers/taggedTemplateLiteral";import"fparser";import"../Formula/useFormulaStyles.js";import"../Formula/RootXIcon.js";import"../Formula/FormulaTextEditor.js";import"../Formula/CloseSuggestion.js";import"../Formula/SuggestionsMenu.js";import"../CommentCard/CommentCard.js";import"@material-ui/icons/AlternateEmail";import"../AttachFileButton/AttachFileButton.scss.js";import"../CommentInputNext/CommentInputNext.js";import"../UserMention/utils/index.js";import"react-s3-uploader/s3upload";import"../CommentComposer/CommentMetaLine.scss.js";import"../CommentComposer/ChatChannelSelector.scss.js";import"../CommentComposer/ShareToChatRow.scss.js";import"../CommentComposer/CommentComposer.scss.js";import"../AttachmentPreview/AttachmentPreview.js";import"../AttachmentPreview/AttachmentImage.js";import"../AttachmentPreview/AttachmentPreview.scss.js";import"../CommentPin/CommentPin.js";import"../FeedCard/FeedCard.js";import"../FeedItemCard/FeedItemCard.js";import"../NewCommentCursor/NewCommentCursor.js";import"../LinkedText/LinkedText.js";import"../FeedItem/feedItemTypes/AlertFeedItem.js";import"../FeedItem/feedItemTypes/PostFeedItem.js";import"../FeedItem/feedItemTypes/GeosteeringFeedItem.js";import"../FeedItem/feedItemTypes/DrillingOperationalNoteFeedItem.js";import"../FeedItem/feedItemTypes/DrillingOperationSummaryFeedItem.js";import"../FeedItem/feedItemTypes/DrillingDailyCostFeedItem.js";import"../FeedItem/feedItemTypes/DocumentFeedItem.js";import"../FeedItem/feedItemTypes/DrillerMemoFeedItem.js";import"../FeedItem/feedItemTypes/NptFeedItem.js";import"../FeedItem/feedItemTypes/SurveyStationFeedItem/index.js";import"../FeedItem/feedItemTypes/LessonsLearnedFeedItem/index.js";import"../FeedItem/feedItemTypes/TracesMemoFeedItem.js";import"../FeedItem/feedItemTypes/DepthCommentFeedItem.js";import"../FeedItem/feedItemTypes/CompletionOperationalNoteFeedItem.js";import"../FeedItem/feedItemTypes/CompletionOperationSummaryFeedItem.js";import"../FeedItem/feedItemTypes/CompletionDailyCostFeedItem.js";import"../FeedItem/feedItemTypes/CompletionDocumentFeedItem.js";import"../FeedItem/feedItemTypes/CompletionNptFeedItem.js";import"../FeedItem/feedItemTypes/StageOverviewFeedItem/index.js";import"../FeedItem/feedItemTypes/AppAnnotationFeedItem/index.js";import"../FeedItem/feedItemTypes/WellPlanFeedItem/index.js";import"../FeedItem/feedItemTypes/FluidReportFeedItem.js";import"../FeedItem/feedItemTypes/BhaFeedItem/BhaFeedItem.js";import"../FeedItem/feedItemTypes/DvDCommentFeedItem.js";import"../FeedItem/feedItemTypes/PCCommentFeedItem.js";import"../FeedItem/feedItemTypes/HookloadCommentFeedItem.js";import"../FeedItem/feedItemTypes/NptLessonsCommentFeedItem.js";import"../FeedItem/feedItemTypes/GenericDataCommentFeedItem.js";function N(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,s)}return o}function G(e){for(var o=1;o<arguments.length;o++){var s=null!=arguments[o]?arguments[o]:{};o%2?N(Object(s),!0).forEach((function(o){t(e,o,s[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(s)):N(Object(s)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(s,t))}))}return e}var q,R=A({dialogPaper:{width:"75%",maxWidth:420}}),_=(q=o(s.mark((function e(t,o){var n,i;return s.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,O("corva","completion.wits",t,{limit:1,sort:"{timestamp:-1}"});case 3:n=e.sent,i=l(n)?null:d(j(n),"stage_number",null),o({type:"SUCCESS",lastStageNumber:i}),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(0),o({type:"FAILURE",error:e.t0.message});case 11:case"end":return e.stop()}}),e,null,[[0,8]])}))),function(e,t){return q.apply(this,arguments)}),U=function(e,t){switch(t.type){case"FETCH_STAGES":return G(G({},e),{},{requestState:"pending"});case"SUCCESS":return G(G({},e),{},{requestState:"success",lastStageNumber:t.lastStageNumber});case"FAILURE":return G(G({},e),{},{requestState:"failure",error:t.error});default:return e}},z=function(e,o){switch(o.type){case"OPEN_DIALOG":return G(G({},e),{},{dialogState:"open"});case"CLOSE_DIALOG":return G(G({},e),{},{dialogState:"closed"});case"SET_SELECTED_STAGES":return G(G({},e),{},{selectedStages:o.selectedStages,stagesData:o.selectedStages.reduce((function(e,o){return G(G({},e),{},t({},o,{lineStyle:"dotted",lineWidth:2}))}),{})});case"SET_SELECTED_LINE_STYLE":return G(G({},e),{},{stagesData:G(G({},e.stagesData),{},t({},o.stage,G(G({},e.stagesData[o.stage]),{},{lineStyle:o.selectedLineStyle})))});case"SET_SELECTED_LINE_WIDTH":return G(G({},e),{},{stagesData:G(G({},e.stagesData),{},t({},o.stage,G(G({},e.stagesData[o.stage]),{},{lineWidth:Number(o.selectedLineWidth)})))});default:return e}},K=function(t){var o=t.onSave,s=t.onDelete,r=t.offset,p=R(),m=n(U,{requestState:"idle",lastStageNumber:null,error:null}),c=e(m,2),a=c[0],l=c[1],j=n(z,{dialogState:"closed",selectedStages:r.selectedStages||[],stagesData:r.stages||{}}),A=e(j,2),O=A[0],N=A[1],q=function(e){return function(t){N({type:"SET_SELECTED_LINE_STYLE",stage:e,selectedLineStyle:t.target.value})}},K=function(e){return function(t){N({type:"SET_SELECTED_LINE_WIDTH",stage:e,selectedLineWidth:t.target.value})}},X=function(){N({type:"CLOSE_DIALOG"})},Y=r.selectedWellId;i((function(){l({type:"FETCH_STAGES"}),_(Y,l)}),[Y]);var J=u(a.lastStageNumber);return w(H,{children:[M(W,{title:r.selectedWellName,onClick:J?C:function(){N({type:"OPEN_DIALOG"})},onRemoveOffsetWell:s,wellId:Y,rigName:""}),"success"===a.requestState&&w(S,{open:"open"===O.dialogState,onBackdropClick:X,classes:{paper:p.dialogPaper},children:[M(g,{children:"Offset Well Stages"}),M(V,{children:w(h,{container:!0,direction:"column",spacing:2,children:[M(h,{item:!0,children:w(v,{margin:"normal",fullWidth:!0,required:!0,children:[M(T,{htmlFor:"stages-multi-select",children:"Stages"}),M(D,{inputProps:{name:"stages",id:"stages-multi-select"},value:O.selectedStages,renderValue:function(e){return"".concat(e.length," stages selected")},onChange:function(e){N({type:"SET_SELECTED_STAGES",selectedStages:e.target.value})},multiple:!0,children:I(1,a.lastStageNumber+1).map((function(e){return w(F,{value:e,children:[M(f,{checked:O.selectedStages.includes(e)}),M(P,{primary:e})]},e)}))})]})}),O.selectedStages.sort((function(e,t){return e-t})).map((function(e){return w(h,{item:!0,children:[w(b,{variant:"subtitle1",children:["Stage ",e]}),w(v,{component:"fieldset",children:[M(y,{component:"legend",required:!0,children:"Line Style"}),w(x,{name:"line-style",value:d(O.stagesData,[e,"lineStyle"],"dotted"),onChange:q(e),row:!0,children:[M(E,{value:"dotted",control:M(L,{}),label:"Dotted"}),M(E,{value:"dashed",control:M(L,{}),label:"Dashed"}),M(E,{value:"solid",control:M(L,{}),label:"Solid"})]})]}),w(v,{component:"fieldset",children:[M(y,{component:"legend",required:!0,children:"Line Width"}),w(x,{name:"line-width",value:String(d(O.stagesData,[e,"lineWidth"],"2")),onChange:K(e),row:!0,children:[M(E,{value:String(1),control:M(L,{}),label:"Thin"}),M(E,{value:String(2),control:M(L,{}),label:"Normal"}),M(E,{value:String(4),control:M(L,{}),label:"Thick"})]})]})]},e)}))]})}),w(B,{children:[M(k,{onClick:X,children:"Cancel"}),M(k,{variant:"contained",color:"primary",onClick:function(){var e=G(G({},r),{},{stages:O.stagesData,selectedStages:O.selectedStages});X(),o(e)},children:"Save"})]})]})]})};K.propTypes={onSave:r.isRequired,onDelete:r.isRequired,offset:p({selectedWellId:m,selectedWellName:c,selectedWellStatus:a(["active","idle","complete","paused","unknown"])}).isRequired};export{K as default};
1
+ import e from"@babel/runtime/helpers/slicedToArray";import t from"@babel/runtime/helpers/defineProperty";import o from"@babel/runtime/helpers/asyncToGenerator";import s from"@babel/runtime/regenerator";import{useReducer as n,useEffect as i}from"react";import{func as r,shape as p,number as m,string as c,oneOf as a}from"prop-types";import{isEmpty as l,get as d,last as j,isNull as u,noop as C,range as I}from"lodash";import{makeStyles as A,Dialog as S,DialogTitle as g,DialogContent as V,Grid as h,FormControl as T,InputLabel as v,Select as D,MenuItem as F,Checkbox as f,ListItemText as P,Typography as b,FormLabel as y,RadioGroup as x,FormControlLabel as E,Radio as L,DialogActions as B,Button as k}from"@material-ui/core";import{getAppStorage as O}from"../../clients/jsonApi/index.js";import"../DevCenter/DevCenterAppContainer/components/IsInsideIsolatedDcAppProvider.js";import"../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js";import"../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js";import"@babel/runtime/helpers/objectWithoutProperties";import"classnames";import"../Modal/CorvaModal.scss.js";import"@icon-park/react/es/all";import{jsxs as w,Fragment as H,jsx as M}from"react/jsx-runtime";import"../../icons/IconParkProvider.js";import"../../icons/customIcons/icons/AddMessage.js";import"../../icons/customIcons/icons/DragOne.js";import"../../icons/customIcons/icons/Attention.js";import"../../icons/customIcons/icons/Collapse.js";import"../../icons/customIcons/icons/Dashboard.js";import"../../icons/customIcons/icons/Expand.js";import"../../icons/customIcons/icons/FolderClosed.js";import"../../icons/customIcons/icons/FolderClosedFilled.js";import"../../icons/customIcons/icons/FolderOpened.js";import"../../icons/customIcons/icons/GreaterOrEqual.js";import"../../icons/customIcons/icons/LessOrEqual.js";import"../../icons/customIcons/icons/Search.js";import"../../icons/customIcons/icons/SearchOne.js";import"../../icons/customIcons/icons/Wellhub.js";import"../../icons/customIcons/icons/MultiRuler.js";import"../../icons/customIcons/icons/Checkbox.js";import"../../icons/customIcons/icons/CheckboxChecked.js";import"../../icons/customIcons/icons/CheckboxIndeterminate.js";import"../../icons/customIcons/icons/Radio.js";import"../../icons/customIcons/icons/RadioChecked.js";import"../../icons/customIcons/icons/SimulFrac.js";import"../../icons/customIcons/icons/ZipperFrac.js";import"../../icons/customIcons/icons/CautionFilled.js";import"../../icons/customIcons/icons/MoreApp.js";import"../../icons/customIcons/icons/Pad.js";import"../../icons/customIcons/icons/DrilloutUnit.js";import"../../icons/customIcons/icons/FracFleet.js";import"../../icons/customIcons/icons/Global.js";import"../../icons/customIcons/icons/Program.js";import"../../icons/customIcons/icons/Rig.js";import"../../icons/customIcons/icons/Well.js";import"../../icons/customIcons/icons/Gap.js";import"../../icons/customIcons/icons/Pin.js";import"../../icons/customIcons/icons/CloseOneFilled.js";import"../../icons/customIcons/icons/AttentionFilled.js";import"../../icons/customIcons/icons/CheckOneFilled.js";import"../../icons/customIcons/icons/Archive.js";import"../../icons/customIcons/icons/ArchiveCancel.js";import"../../icons/customIcons/icons/Unarchive.js";import"../../icons/customIcons/icons/Archived.js";import"../../icons/customIcons/icons/InterventionUnit.js";import"../../icons/customIcons/icons/CloudDelete.js";import"../../icons/customIcons/icons/Lasso.js";import"../../icons/customIcons/icons/Radius.js";import"../../icons/customIcons/icons/ErrorOps.js";import"../../icons/customIcons/icons/DataTypeOps.js";import"../../icons/customIcons/icons/FalsePositiveOps.js";import"../../icons/customIcons/icons/CalibrationOps.js";import"../../icons/customIcons/icons/CriticalOps.js";import"../../icons/customIcons/icons/Company.js";import"../../icons/customIcons/icons/ArchiveOne.js";import"../../icons/customIcons/icons/ParseBotFusion.js";import"../../icons/customIcons/icons/Connect.js";import"../../icons/customIcons/icons/PuzzleOne.js";import"../../icons/customIcons/icons/Feed.js";import"../../icons/customIcons/icons/Prompt.js";import"../../icons/customIcons/icons/Companies.js";import"../../icons/customIcons/icons/ClipboardAi.js";import"../../icons/customIcons/icons/Key.js";import"../../icons/customIcons/icons/AtSignCrossed.js";import"../../icons/customIcons/icons/MappingManual.js";import"../../icons/customIcons/icons/Mapping.js";import"../../icons/customIcons/icons/Metrics.js";import"../../icons/customIcons/icons/Drops.js";import"../../icons/customIcons/icons/ClipboardSearch.js";import"../../icons/customIcons/icons/Template.js";import"../../icons/customIcons/icons/ClipboardMetrics.js";import"../../icons/customIcons/icons/ClipboardBuilder.js";import"../../icons/customIcons/icons/UnitConversion.js";import"../../icons/customIcons/icons/NPT.js";import"../../icons/customIcons/icons/GuidedFrac.js";import"../../utils/mobileDetect.js";import"../IconButton/index.js";import"../../constants/goals.js";import"../../constants/segment.js";import"../../constants/alerts.js";import"../../constants/apps.js";import"../../constants/drillstring.js";import"../../constants/completion.js";import"../../constants/appPackages.js";import"../../constants/notifications.js";import"../../constants/feed.js";import"../../constants/bha.js";import"../../constants/corvaCompanyId.js";import"../GradientManager/configuration/constants.js";import"uuid";import"../IconMenu/index.js";import"../StyledMenuItem/index.js";import"../AppIcon/AppIcon.js";import"../DevCenter/AppHeader/AppHeader.js";import"../DevCenter/AppSideBar/AppSideBar.js";import"../DevCenter/AppsDataProvider/AppsDataProvider.js";import"../DevCenter/AppContext.js";import"../DevCenter/DevCenterRouterContext/DevCenterRouterContext.js";import"../DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js";import"react-router-dom";import"query-string";import"../../utils/index.js";import"@material-ui/icons";import"../EmptyState/EmptyState.js";import"../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/RemoveAppButton.js";import"../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/SettingsAccordion.js";import"../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/styles.js";import"@material-ui/pickers";import"@date-io/moment";import"moment";import"../../config/theme/index.js";import"../../hocs/withAssetEditorLockHOC.js";import"../ErrorBoundary/ErrorBoundary.js";import"../ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js";import"../Button/components/Button/index.js";import"moment-timezone";import"../Button/components/LiveButton/components/LiveButtonStateIndicator/index.js";import"../Button/components/LiveButton/styles.js";import"../AssetEditorV2/index.js";import"../AppVersionsSelect/AppVersionsSelect.js";import"../DisabledSettingsMessage/DisabledSettingsMessage.js";import"../ConfirmationDialog.js";import"immutable";import"../../permissions/PermissionsContext.js";import"../../permissions/constants/index.js";import"../../permissions/withPermissionsHOC.js";import"../../permissions/ProvidePermissions.js";import"../../componentsV2/AppHeader/V3/VersionSelect/VersionSelect.constants.js";import"../Annotations/components/AnnotationsList/index.js";import"../Annotations/components/LastAnnotation/index.js";import"../Annotations/AnnotationsContext.js";import"../../componentsV2/AppContainer/AppContainer.js";import"../../componentsV2/AppContainer/AppContainer.constants.js";import"../../componentsV2/Text/Text.js";import"../../componentsV2/Header/Header.scss.js";import"../../componentsV2/Tooltip/Tooltip.scss.js";import"../../componentsV2/TextEndTruncated/TextEndTruncated.scss.js";import"../../componentsV2/AppCommonsProvider/AppCommonsContext.js";import"../../componentsV2/AppHeader/AppHeader.constants.js";import"../../componentsV2/AppHeader/AppBadge/AppBadge.scss.js";import"../../componentsV2/Chip/Chip.js";import"../../componentsV2/TextMiddleTruncated/TextMiddleTruncated.constants.js";import"../../componentsV2/TextMiddleTruncated/TextMiddleTruncated.scss.js";import"../../componentsV2/AppHeader/AppAssets/utils.js";import"../../componentsV2/AppHeader/AppAssets/AppAssets.scss.js";import"../PadModeSelect/PadModeSelect.js";import"../../componentsV2/AppHeader/PadMode/PadMode.scss.js";import"../../constants/streamSourceType.js";import"../../componentsV2/PadModeSelect/PadModeSelect.js";import"../../componentsV2/PadModeSelect/PadModeSelect.constants.js";import"../../componentsV2/AppCommonsProvider/AppCommonsProvider.js";import"../../componentsV2/utils.js";import"../../componentsV2/AppHeader/V3/VersionSelect/VersionSelect.js";import"../../componentsV2/UniversalLink/UniversalLink.scss.js";import"../../componentsV2/AppHeader/V3/AssetChips/AssetChips.scss.js";import"../../componentsV2/Button/Button.js";import"../../componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.js";import"../../componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.constants.js";import"../../componentsV2/Popover/Popover.js";import"@babel/runtime/helpers/toConsumableArray";import"../../componentsV2/Accordion/Accordion.scss.js";import"../../componentsV2/ButtonIcon/ButtonIcon.js";import"../../componentsV2/AppFooter/DqPopover/DqStatusIcon/DqStatusIcon.js";import"../../componentsV2/AppDqPopover/DqAlertTooltip/DqAlertTooltip.scss.js";import"../../componentsV2/AppDqPopover/DqAlert/DqAlert.scss.js";import"../../componentsV2/AppDqPopover/DqAsset/DqAsset.scss.js";import"../../componentsV2/AppDqPopover/AppDqPopover.scss.js";import"../../componentsV2/Menu/Menu.js";import"../../componentsV2/ModalWindow/ModalWindow.js";import"../../componentsV2/Modal/Modal.scss.js";import"../../componentsV2/LoaderLogo/LoaderLogo.constants.js";import"../../componentsV2/LoaderLogo/LoaderLogo.scss.js";import"../../utils/getSingleAsset.js";import"../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorChip/AssetSelectorChip.js";import"../../componentsV2/TextInput/TextInput.js";import"../../componentsV2/AppHeader/V3/AssetSelector/constants.js";import"../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/AssetSelectorSelect.scss.js";import"../../componentsV2/ChipIndicator/ChipIndicator.js";import"../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/loadAssets.js";import"../../componentsV2/AppHeader/V3/AssetSelector/AssetSelector.scss.js";import"../../clients/subscriptions/constants.js";import"querystring";import"uuid/v1";import"../../clients/subscriptions.v1.js";import"../../clients/subscriptions/subscriptions-client.factory.js";import"jsona";import"../../utils/env.js";import"../StatusBadge/constants.js";import"lodash/set";import"lodash/get";import"lodash/unset";import"../../clients/api/apiCore.js";import"../../clients/constants.js";import"../../clients/sso/auth0.js";import"../../clients/sso/oauth2.js";import"../../clients/api/rateLimiter.js";import"lodash/isEmpty";import"lodash/sortBy";import"../DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchContext.js";import"../../componentsV2/AppSettings/AppSettingsPinningContext.js";import"../../componentsV2/AppHeader/V3/AppTitle/AppTitle.constants.js";import"../../componentsV2/AppHeader/V3/AppTitle/AppTitle.scss.js";import"../../componentsV2/AppHeader/V3/constants.scss.js";import"@babel/runtime/helpers/typeof";import"../../componentsV2/AppHeader/V3/SettingsButton/SettingsButton.js";import"../../componentsV2/AppHeader/V3/SettingsButton/SettingsButton.constants.js";import"../../componentsV2/AppSettings/AppSettings.js";import"../../componentsV2/AppSettings/AppSettings.constants.js";import"../../componentsV2/AppSizeProvider/AppSizeProvider.js";import"../../componentsV2/AppHeader/V3/Actions/Actions.constants.js";import"../../componentsV2/AppHeader/V3/Actions/Actions.scss.js";import"../../componentsV2/AppHeader/V3/AppHeaderV3.scss.js";import"../../componentsV2/AppHeader/AppHeader.scss.js";import"../../componentsV2/EmptyState/EmptyState.scss.js";import"../DevCenter/DevCenterAppContainer/components/DevCenterAppView/components/ChooseAssetButton.js";import"../DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.scss.js";import"../DevCenter/DevCenterAppContainer/components/AppActions/AppActions.css.js";import"../DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.scss.js";import"../../componentsV2/Grid/Grid.js";import"../../componentsV2/Grid/Cell.js";import"../../componentsV2/PopoverPanel/PopoverPanel.js";import"../../componentsV2/Radio/Radio.js";import"../../componentsV2/RadioAndCheckboxGroup/RadioAndCheckboxGroup.scss.js";import"../../componentsV2/Checkbox/Checkbox.js";import"../../componentsV2/TextInputNext/TextInputNext.js";import"../../componentsV2/TextArea/TextArea.js";import"../../componentsV2/Label/Label.js";import"../../componentsV2/TextLink/TextLink.js";import"../../componentsV2/ChipAlert/ChipAlert.js";import"../../componentsV2/Avatar/Avatar.js";import"../../componentsV2/AvatarGroup/AvatarGroup.js";import"@material-ui/lab";import"../../componentsV2/ToggleButtons/ToggleButtons.scss.js";import"../../componentsV2/Paper/Paper.js";import"../../componentsV2/Hint/Hint.scss.js";import"../../componentsV2/Counter/Counter.js";import"../../componentsV2/BadgeBase/BadgeBase.scss.js";import"../../componentsV2/TemplatesControl/TemplatesControl.js";import"zustand";import"../../componentsV2/TemplatesControl/utils.js";import"../../componentsV2/TemplatesControl/icons/folder/index.js";import"../../componentsV2/TemplatesControl/Store/utils.js";import"../../componentsV2/TemplatesControl/types.js";import"../../componentsV2/BadgeDot/BadgeDot.scss.js";import"../../componentsV2/LoaderLinear/LoaderLinear.scss.js";import"../../componentsV2/Switch/Switch.js";import"../../componentsV2/Tabs/Tabs.js";import"../../componentsV2/FileIcon/FileIcon.js";import"../../componentsV2/Tag/Tag.js";import"react-dropzone";import"../../componentsV2/FilesDropzone/FilesDropzone.scss.js";import"../../componentsV2/FilesLoader/FilesLoader.scss.js";import"file-extension";import"image-extensions";import"video-extensions";import"../../componentsV2/FilesProcessor/FilesProcessor.scss.js";import"../../componentsV2/Skeleton/Skeleton.scss.js";import"../../utils/main.js";import"../../componentsV2/CopyToClipboard/CopyToClipboard.scss.js";import"../../componentsV2/Stepper/Step/Step.scss.js";import"../../componentsV2/Stepper/Stepper.scss.js";import"../../componentsV2/ButtonLive/ButtonLive.js";import"../../componentsV2/ButtonText/ButtonText.js";import"../../componentsV2/IndicatorLive/IndicatorLive.js";import"../../componentsV2/Breadcrumbs/Breadcrumbs.scss.js";import"../../componentsV2/BadgeComment/BadgeComment.js";import"../../componentsV2/AppFooter/AppFooter.js";import"../../componentsV2/OffsetWellsButton/OffsetWellsButton.js";import"../../componentsV2/ChartAxisExtreme/ChartAxisExtreme.scss.js";import"highcharts";import"../../componentsV2/ChartAxisExtreme/ChartAxisExtremeDragTracker.js";import"../../componentsV2/Autocomplete/Autocomplete.js";import"../../componentsV2/Select/Select.js";import"../../componentsV2/AppSettingsDivider/AppSettingsDivider.scss.js";import"../../componentsV2/WellArchivedMessage/WellArchivedMessage.js";import"../../componentsV2/DatePicker/DatePicker.js";import"../../componentsV2/DragHandle/DragHandle.js";import"../../componentsV2/CompletionsOffsetWellPicker/CompletionsOffsetWellPicker.js";import"../../componentsV2/Slider/constants.js";import"../../componentsV2/Slider/components/SliderThumb.js";import"../../componentsV2/Slider/Slider.scss.js";import"../../componentsV2/SliderAdvanced/SliderAdvanced.js";import"react-color";import"../../componentsV2/ColorPicker/Swatches/Swatches.scss.js";import"../../componentsV2/ColorPicker/OpacityDragtracker/OpacityDragTracker.scss.js";import"../../componentsV2/ColorPicker/ColorPicker.scss.js";import"../../componentsV2/ChartHelper/ChartHelper.scss.js";import"../../componentsV2/Hotkey/Hotkey.js";import"@tanstack/react-query";import"../../componentsV2/InterventionEventSelector/useInterventionUnitEvents.js";import"../../componentsV2/InterventionEventSelector/InterventionEventSelector.scss.js";import"../DevCenter/DevCenterAppContainer/components/FullscreenButton/FullscreenButton.css.js";import"../Icons/AnnotationIcon.js";import"../HelpCenter/HelpCenterIcon.js";import"../DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/RestoreAppSizeButton.css.js";import"../DevCenter/DevCenterAppContainer/DevCenterAppContainer.scss.js";import"../Toaster/Toaster.js";import"../DevCenter/NavigationBar/NavigationBar.js";import"../DevCenter/SideBar/SideBar.js";import"../DevCenter/AppSettingsPopover/AppSettingsPopover.js";import"../DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.js";import"../DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js";import"../DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.js";import"../AssetEditor/index.js";import"../LoadingIndicator/LoadingIndicator.js";import"../Typography.js";import"../RealTimeValuesSidebar/RealTimeSidebar.js";import"../CollapsableSidebar.js";import"../DateTimePicker/index.js";import"../DatePicker/index.js";import"../SlateFormattedText/SlateFormattedText.js";import"../SlateFormattedText/RenderElements.js";import"slate";import"../ParameterCharts/ParameterCharts.js";import"../ParameterCharts/AddEditTrack.js";import"../ChartActionsList/ChartActionsList.js";import"../CopyToClipboard/CopyToClipboard.js";import"../AssetEditor/AssetEditorAutocomplete.js";import"../AssetEditor/SingleAssetEditor.js";import"../SettingEditors/ColorEditor/style.css.js";import"../SettingEditors/DropdownEditor/index.js";import"../SwitchControl/index.js";import"../ColorPicker/ColorPicker.js";import"../Chart/components/ChartButton.js";import"../Chart/components/ChartButtons.js";import"../Chart/components/ChartWrapper.js";import"../Chart/components/AxisDropdown.js";import"../Chart/components/ChartSelect.js";import"../Chart/ChartWrapperContext.js";import"../Chart/effects/useChartModifier.js";import"../Chart/components/buttons/HideAxesButton.js";import"../Chart/components/buttons/ChartTypeButton.js";import"../ColorPicker/PaletteChromePicker/PaletteChromePicker.js";import"../TruncatedText/index.js";import"../MiddleTruncatedText/MiddleTruncatedText.js";import"../RangeSlider/constants.js";import"../RangeSlider/Input.css.js";import"../RangeSlider/RangeSlider.css.js";import"../AdvancedSlider/AdvancedSlider.js";import"../Breadcrumbs/index.js";import"../VirtualizedTable/index.js";import"../EmptyView/EmptyView.js";import"../EmptyView/EmptyAppView/EmptyAppView.js";import"../ContextMenuItem/index.js";import"../FolderMenuItem/index.js";import"../EditableItem/EditableItem/index.js";import"../EditableItem/EditableItemWithBadge/index.js";import"../Checkbox/index.js";import"../FolderMenuItemWithLinks/index.js";import"../TextField/index.js";import"../Chip/index.js";import"../Counter/index.js";import"../AnchorsList/AnchorsList.js";import"../Select/index.js";import"../Select/SelectFilterBy.js";import"../CustomSelect/index.js";import"../Tabs/Tabs.js";import"../Tabs/Tab.js";import"../ResizableTable/ResizableTable.js";import"../GradientPicker/GradientPicker.js";import"@babel/runtime/helpers/classCallCheck";import"@babel/runtime/helpers/createClass";import"../GradientManager/GradientPreview/GradientPreview.js";import"../GradientManager/GradientSelect.scss.js";import"../GradientManager/GradientManager.styles.js";import"../Drillstring/BHASchematic.js";import"../Drillstring/BHATable/index.js";import"../Drillstring/BHAComponentIcon.js";import"../Drillstring/BHAComponentDetail/index.js";import"../Drillstring/BHATileIcon.js";import"../Drillstring/BHATile/BHATile.js";import"../Drillstring/BHAList/BHAList.js";import"../Drillstring/BHAComponentsTable/BHAComponentsTable.js";import"../Casing/CasingTable/index.js";import"../Casing/CasingComponentIcon.js";import"../Casing/CasingTileIcon.js";import"../Casing/CasingTableV2/CasingTableV2.js";import"../Casing/CasingTile/CasingTile.js";import"../WellSummary/WellSummaryItemLabel.js";import"../WellSummary/WellSummaryItemTitle.js";import"../WellSummary/WellSummaryItemValue.js";import"../WellSummary/ActivitySummaryChart.js";import"../WellSummary/FracWirelineTimeChart.js";import"../BICOffsetPickerDialog/index.js";import"../OffsetWellButton/OffsetWellButton.js";import"../OffsetWellPickerV2/OffsetWellPickerDialog.js";import"../OffsetWellPickerV3/index.js";import W from"../OffsetWellChips/Chip.js";import"../OffsetWellChips/ChipsContainer.js";import"../OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/OffsetWellPickerV5WithStore.js";import"../OffsetWellMap/OffsetWellMap.js";import"@material-ui/core/Snackbar";import"../Notifications/Toast.js";import"../Notifications/Notifications.scss.js";import"../TextLink/index.js";import"../Avatar/index.js";import"../Template/TemplatePopover/index.js";import"../Template/TemplateSharingDialog/index.js";import"../MenuItem/index.js";import"../MiddleTruncate/MiddleTruncate.js";import"../PinnableFilters/PinnableFilters.js";import"../HeaderLayout/HeaderLayout.js";import"./PadOffsetsPicker.js";import"./OffsetAssetChip.js";import"./OffsetAssetsListExpander.js";import"../PadOffsetsPickerV2/PadOffsetsPickerV2.js";import"../Table/TableToolbar/TableToolbar.js";import"../Table/TableContainer/TableContainer.js";import"../Table/TableCell/TableCell.js";import"../Table/TablePagination/TablePagination.js";import"../Table/TablePaginationActions/TablePaginationActions.js";import"../Tooltip/ScrollableTooltip.js";import"../PriceInput/PriceInput.js";import"../LabelsCounter/LabelsCounter.js";import"../Stepper/Stepper.js";import"../Stepper/Step/Step.js";import"../Stepper/StepsWrapper.js";import"../Comment/CommentIcon/index.js";import"../FilesLoader/FilesLoader.js";import"../../componentsV2/FileIcon/icons/ArchiveFileIcon.js";import"../../componentsV2/FileIcon/icons/CSVFileIcon.js";import"../../componentsV2/FileIcon/icons/DocFileIcon.js";import"../../componentsV2/FileIcon/icons/EDMFileIcon.js";import"../../componentsV2/FileIcon/icons/ExcelFileIcon.js";import"../../componentsV2/FileIcon/icons/ImageFileIcon.js";import"../../componentsV2/FileIcon/icons/JsonFileIcon.js";import"../../componentsV2/FileIcon/icons/LasFileIcon.js";import"../../componentsV2/FileIcon/icons/OtherFileIcon.js";import"../../componentsV2/FileIcon/icons/PdfFileIcon.js";import"../../componentsV2/FileIcon/icons/PowerPointFileIcon.js";import"../../componentsV2/FileIcon/icons/TxtFileIcon.js";import"../../componentsV2/FileIcon/icons/UnknownFileIcon.js";import"../../componentsV2/FileIcon/icons/VideoFileIcon.js";import"../../componentsV2/FileIcon/icons/XmlFileIcon.js";import"../SearchInput/index.js";import"../FeedItem/FeedItem.js";import"../FeedItem/FeedItemEditProvider/FeedItemEditProvider.js";import"../PostInput/PostInput.js";import"../KeyboardDateTimePicker.js";import"../AddComment/Popover.js";import"../AddComment/Popup.js";import"../StageDesignVActual/ComparisonBar/ComparisonBar.js";import"../StageDesignVActual/ElementsComparison/ElementsComparison.js";import"../StageDesignVActual/ComparisonHeader.js";import"../StageDesignVActual/ComparisonRow.js";import"../EmbeddedApp/DevCenterEmbeddedApp.js";import"../EmbeddedApp/EmbeddedApp.js";import"../Autocomplete/Autocomplete.js";import"../DocumentViewer/DocumentViewer.js";import"../ColorPickerPalette/ColorPickerPalette.js";import"../Search/Search.js";import"../Search/components/Listbox.js";import"../Search/components/Paper.js";import"../Search/components/RecentSearches.js";import"../Search/components/Groups.js";import"../Search/components/SelectAllListItem.js";import"../StatusBadge/index.js";import"../Attachment/index.js";import"../EmojiIconButton.js";import"../FileUploadIconButton.js";import"../FilePreview/index.js";import"../FailedFileUploading.js";import"../UserMention/index.js";import"../CommentsInfo/index.js";import"../CommentInput/index.js";import"../Comment/index.js";import"../CommentLoader.js";import"../AssetNameLabel/AssetStatusBadge.js";import"../AssetEditorV2/components/PrimaryAssetSelect.js";import"../AssetEditorV2/components/SecondaryAssetSelect.js";import"../AssetEditorV2/components/SelectItem.js";import"../AssetEditorV2/components/MultipleAssetsToggle.js";import"../AssetEditorV2/components/PrimaryAssetSelectV2.js";import"../EChartsWrapper/EChartsWrapper.js";import"../AssetsMultipleSelector/AssetsMultipleSelector.js";import"@material-ui/icons/Close";import"@material-ui/icons/GetApp";import"../GoogleDocsViewer/index.js";import"../NewDocumentViewer/effects/useFileContent.js";import"../NewDocumentViewer/styles.js";import"../FilesLoaderV2/styles.js";import"../FilesDropzone/styles.js";import"../FilesProcessor/styles.js";import"../Hint/styles.js";import"@babel/runtime/helpers/taggedTemplateLiteral";import"fparser";import"../Formula/useFormulaStyles.js";import"../Formula/RootXIcon.js";import"../Formula/FormulaTextEditor.js";import"../Formula/CloseSuggestion.js";import"../Formula/SuggestionsMenu.js";import"../CommentCard/CommentCard.js";import"@material-ui/icons/AlternateEmail";import"../AttachFileButton/AttachFileButton.scss.js";import"../CommentInputNext/CommentInputNext.js";import"../UserMention/utils/index.js";import"react-s3-uploader/s3upload";import"../CommentComposer/CommentMetaLine.scss.js";import"../CommentComposer/ChatChannelSelector.scss.js";import"../CommentComposer/ShareToChatRow.scss.js";import"../CommentComposer/CommentComposer.scss.js";import"../AttachmentPreview/AttachmentPreview.js";import"../AttachmentPreview/AttachmentImage.js";import"../AttachmentPreview/AttachmentPreview.scss.js";import"../CommentPin/CommentPin.js";import"../FeedCard/FeedCard.js";import"../FeedItemCard/FeedItemCard.js";import"../NewCommentCursor/NewCommentCursor.js";import"../LinkedText/LinkedText.js";import"../FeedItem/feedItemTypes/AlertFeedItem.js";import"../FeedItem/feedItemTypes/PostFeedItem.js";import"../FeedItem/feedItemTypes/GeosteeringFeedItem.js";import"../FeedItem/feedItemTypes/DrillingOperationalNoteFeedItem.js";import"../FeedItem/feedItemTypes/DrillingOperationSummaryFeedItem.js";import"../FeedItem/feedItemTypes/DrillingDailyCostFeedItem.js";import"../FeedItem/feedItemTypes/DocumentFeedItem.js";import"../FeedItem/feedItemTypes/DrillerMemoFeedItem.js";import"../FeedItem/feedItemTypes/NptFeedItem.js";import"../FeedItem/feedItemTypes/SurveyStationFeedItem/index.js";import"../FeedItem/feedItemTypes/LessonsLearnedFeedItem/index.js";import"../FeedItem/feedItemTypes/TracesMemoFeedItem.js";import"../FeedItem/feedItemTypes/DepthCommentFeedItem.js";import"../FeedItem/feedItemTypes/CompletionOperationalNoteFeedItem.js";import"../FeedItem/feedItemTypes/CompletionOperationSummaryFeedItem.js";import"../FeedItem/feedItemTypes/CompletionDailyCostFeedItem.js";import"../FeedItem/feedItemTypes/CompletionDocumentFeedItem.js";import"../FeedItem/feedItemTypes/CompletionNptFeedItem.js";import"../FeedItem/feedItemTypes/StageOverviewFeedItem/index.js";import"../FeedItem/feedItemTypes/AppAnnotationFeedItem/index.js";import"../FeedItem/feedItemTypes/WellPlanFeedItem/index.js";import"../FeedItem/feedItemTypes/FluidReportFeedItem.js";import"../FeedItem/feedItemTypes/BhaFeedItem/BhaFeedItem.js";import"../FeedItem/feedItemTypes/DvDCommentFeedItem.js";import"../FeedItem/feedItemTypes/PCCommentFeedItem.js";import"../FeedItem/feedItemTypes/HookloadCommentFeedItem.js";import"../FeedItem/feedItemTypes/NptLessonsCommentFeedItem.js";import"../FeedItem/feedItemTypes/GenericDataCommentFeedItem.js";function N(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,s)}return o}function G(e){for(var o=1;o<arguments.length;o++){var s=null!=arguments[o]?arguments[o]:{};o%2?N(Object(s),!0).forEach((function(o){t(e,o,s[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(s)):N(Object(s)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(s,t))}))}return e}var R,q=A({dialogPaper:{width:"75%",maxWidth:420}}),_=(R=o(s.mark((function e(t,o){var n,i;return s.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,O("corva","completion.wits",t,{limit:1,sort:"{timestamp:-1}"});case 3:n=e.sent,i=l(n)?null:d(j(n),"stage_number",null),o({type:"SUCCESS",lastStageNumber:i}),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(0),o({type:"FAILURE",error:e.t0.message});case 11:case"end":return e.stop()}}),e,null,[[0,8]])}))),function(e,t){return R.apply(this,arguments)}),U=function(e,t){switch(t.type){case"FETCH_STAGES":return G(G({},e),{},{requestState:"pending"});case"SUCCESS":return G(G({},e),{},{requestState:"success",lastStageNumber:t.lastStageNumber});case"FAILURE":return G(G({},e),{},{requestState:"failure",error:t.error});default:return e}},z=function(e,o){switch(o.type){case"OPEN_DIALOG":return G(G({},e),{},{dialogState:"open"});case"CLOSE_DIALOG":return G(G({},e),{},{dialogState:"closed"});case"SET_SELECTED_STAGES":return G(G({},e),{},{selectedStages:o.selectedStages,stagesData:o.selectedStages.reduce((function(e,o){return G(G({},e),{},t({},o,{lineStyle:"dotted",lineWidth:2}))}),{})});case"SET_SELECTED_LINE_STYLE":return G(G({},e),{},{stagesData:G(G({},e.stagesData),{},t({},o.stage,G(G({},e.stagesData[o.stage]),{},{lineStyle:o.selectedLineStyle})))});case"SET_SELECTED_LINE_WIDTH":return G(G({},e),{},{stagesData:G(G({},e.stagesData),{},t({},o.stage,G(G({},e.stagesData[o.stage]),{},{lineWidth:Number(o.selectedLineWidth)})))});default:return e}},K=function(t){var o=t.onSave,s=t.onDelete,r=t.offset,p=q(),m=n(U,{requestState:"idle",lastStageNumber:null,error:null}),c=e(m,2),a=c[0],l=c[1],j=n(z,{dialogState:"closed",selectedStages:r.selectedStages||[],stagesData:r.stages||{}}),A=e(j,2),O=A[0],N=A[1],R=function(e){return function(t){N({type:"SET_SELECTED_LINE_STYLE",stage:e,selectedLineStyle:t.target.value})}},K=function(e){return function(t){N({type:"SET_SELECTED_LINE_WIDTH",stage:e,selectedLineWidth:t.target.value})}},X=function(){N({type:"CLOSE_DIALOG"})},Y=r.selectedWellId;i((function(){l({type:"FETCH_STAGES"}),_(Y,l)}),[Y]);var J=u(a.lastStageNumber);return w(H,{children:[M(W,{title:r.selectedWellName,onClick:J?C:function(){N({type:"OPEN_DIALOG"})},onRemoveOffsetWell:s,wellId:Y,rigName:""}),"success"===a.requestState&&w(S,{open:"open"===O.dialogState,onBackdropClick:X,classes:{paper:p.dialogPaper},children:[M(g,{children:"Offset Well Stages"}),M(V,{children:w(h,{container:!0,direction:"column",spacing:2,children:[M(h,{item:!0,children:w(T,{margin:"normal",fullWidth:!0,required:!0,children:[M(v,{htmlFor:"stages-multi-select",children:"Stages"}),M(D,{inputProps:{name:"stages",id:"stages-multi-select"},value:O.selectedStages,renderValue:function(e){return"".concat(e.length," stages selected")},onChange:function(e){N({type:"SET_SELECTED_STAGES",selectedStages:e.target.value})},multiple:!0,children:I(1,a.lastStageNumber+1).map((function(e){return w(F,{value:e,children:[M(f,{checked:O.selectedStages.includes(e)}),M(P,{primary:e})]},e)}))})]})}),O.selectedStages.sort((function(e,t){return e-t})).map((function(e){return w(h,{item:!0,children:[w(b,{variant:"subtitle1",children:["Stage ",e]}),w(T,{component:"fieldset",children:[M(y,{component:"legend",required:!0,children:"Line Style"}),w(x,{name:"line-style",value:d(O.stagesData,[e,"lineStyle"],"dotted"),onChange:R(e),row:!0,children:[M(E,{value:"dotted",control:M(L,{}),label:"Dotted"}),M(E,{value:"dashed",control:M(L,{}),label:"Dashed"}),M(E,{value:"solid",control:M(L,{}),label:"Solid"})]})]}),w(T,{component:"fieldset",children:[M(y,{component:"legend",required:!0,children:"Line Width"}),w(x,{name:"line-width",value:String(d(O.stagesData,[e,"lineWidth"],"2")),onChange:K(e),row:!0,children:[M(E,{value:String(1),control:M(L,{}),label:"Thin"}),M(E,{value:String(2),control:M(L,{}),label:"Normal"}),M(E,{value:String(4),control:M(L,{}),label:"Thick"})]})]})]},e)}))]})}),w(B,{children:[M(k,{onClick:X,children:"Cancel"}),M(k,{variant:"contained",color:"primary",onClick:function(){var e=G(G({},r),{},{stages:O.stagesData,selectedStages:O.selectedStages});X(),o(e)},children:"Save"})]})]})]})};K.propTypes={onSave:r.isRequired,onDelete:r.isRequired,offset:p({selectedWellId:m,selectedWellName:c,selectedWellStatus:a(["active","idle","complete","paused","unknown"])}).isRequired};export{K as default};
2
2
  //# sourceMappingURL=StagesSelector.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"StagesSelector.js","sources":["../../../src/components/PadOffsetsPicker/StagesSelector.js"],"sourcesContent":["import { useEffect, useReducer } from 'react';\nimport { func, number, oneOf, string, shape } from 'prop-types';\nimport { isNull, get, noop, range, isEmpty, last } from 'lodash';\nimport {\n Button,\n Checkbox,\n Dialog,\n DialogActions,\n DialogContent,\n DialogTitle,\n FormControl,\n FormControlLabel,\n FormLabel,\n Grid,\n InputLabel,\n ListItemText,\n MenuItem,\n Radio,\n RadioGroup,\n Select,\n Typography,\n makeStyles,\n} from '@material-ui/core';\n\nimport { getAppStorage } from '~/clients/jsonApi';\nimport { OffsetWellChip } from '~/components';\n\nconst useStyles = makeStyles({\n dialogPaper: {\n width: '75%',\n maxWidth: 420,\n },\n});\n\nconst fetchStageAction = async (offsetWellId, dispatch) => {\n try {\n const response = await getAppStorage('corva', 'completion.wits', offsetWellId, {\n limit: 1,\n sort: '{timestamp:-1}',\n });\n const lastStageNumber = isEmpty(response) ? null : get(last(response), 'stage_number', null);\n dispatch({ type: 'SUCCESS', lastStageNumber });\n } catch (error) {\n dispatch({ type: 'FAILURE', error: error.message });\n }\n};\n\nconst stagesStateReducer = (state, action) => {\n switch (action.type) {\n case 'FETCH_STAGES':\n return { ...state, requestState: 'pending' };\n case 'SUCCESS':\n return { ...state, requestState: 'success', lastStageNumber: action.lastStageNumber };\n case 'FAILURE':\n return { ...state, requestState: 'failure', error: action.error };\n default:\n return state;\n }\n};\n\nconst dialogStateReducer = (state, action) => {\n switch (action.type) {\n case 'OPEN_DIALOG':\n return { ...state, dialogState: 'open' };\n case 'CLOSE_DIALOG':\n return { ...state, dialogState: 'closed' };\n case 'SET_SELECTED_STAGES':\n return {\n ...state,\n selectedStages: action.selectedStages,\n stagesData: action.selectedStages.reduce(\n (stages, stage) => ({\n ...stages,\n [stage]: {\n lineStyle: 'dotted',\n lineWidth: 2,\n },\n }),\n {}\n ),\n };\n case 'SET_SELECTED_LINE_STYLE':\n return {\n ...state,\n stagesData: {\n ...state.stagesData,\n [action.stage]: {\n ...state.stagesData[action.stage],\n lineStyle: action.selectedLineStyle,\n },\n },\n };\n case 'SET_SELECTED_LINE_WIDTH':\n return {\n ...state,\n stagesData: {\n ...state.stagesData,\n [action.stage]: {\n ...state.stagesData[action.stage],\n lineWidth: Number(action.selectedLineWidth),\n },\n },\n };\n default:\n return state;\n }\n};\n\nconst StagesSelector = ({ onSave, onDelete, offset }) => {\n const classes = useStyles();\n\n const [requestState, dispatchRequest] = useReducer(stagesStateReducer, {\n requestState: 'idle',\n lastStageNumber: null,\n error: null,\n });\n\n const [dialogState, dispatchDialog] = useReducer(dialogStateReducer, {\n dialogState: 'closed',\n selectedStages: offset.selectedStages || [],\n stagesData: offset.stages || {},\n });\n\n const handleStagesSelect = event => {\n dispatchDialog({ type: 'SET_SELECTED_STAGES', selectedStages: event.target.value });\n };\n\n const handleLineStyleChange = stage => event => {\n dispatchDialog({\n type: 'SET_SELECTED_LINE_STYLE',\n stage,\n selectedLineStyle: event.target.value,\n });\n };\n\n const handleLineWidthChange = stage => event => {\n dispatchDialog({\n type: 'SET_SELECTED_LINE_WIDTH',\n stage,\n selectedLineWidth: event.target.value,\n });\n };\n\n const openDialog = () => {\n dispatchDialog({ type: 'OPEN_DIALOG' });\n };\n\n const closeDialog = () => {\n dispatchDialog({ type: 'CLOSE_DIALOG' });\n };\n\n const offsetWellId = offset.selectedWellId;\n\n const handleSave = () => {\n const updatedOffset = {\n ...offset,\n stages: dialogState.stagesData,\n selectedStages: dialogState.selectedStages,\n };\n\n closeDialog();\n onSave(updatedOffset);\n };\n\n useEffect(() => {\n dispatchRequest({ type: 'FETCH_STAGES' });\n fetchStageAction(offsetWellId, dispatchRequest);\n }, [offsetWellId]);\n\n const isStageDataEmpty = isNull(requestState.lastStageNumber);\n\n return (\n <>\n <OffsetWellChip\n title={offset.selectedWellName}\n onClick={isStageDataEmpty ? noop : openDialog}\n onRemoveOffsetWell={onDelete}\n wellId={offsetWellId}\n rigName=\"\"\n />\n\n {requestState.requestState === 'success' && (\n <Dialog\n open={dialogState.dialogState === 'open'}\n onBackdropClick={closeDialog}\n classes={{ paper: classes.dialogPaper }}\n >\n <DialogTitle>Offset Well Stages</DialogTitle>\n <DialogContent>\n <Grid container direction=\"column\" spacing={2}>\n <Grid item>\n <FormControl margin=\"normal\" fullWidth required>\n <InputLabel htmlFor=\"stages-multi-select\">Stages</InputLabel>\n <Select\n inputProps={{ name: 'stages', id: 'stages-multi-select' }}\n value={dialogState.selectedStages}\n renderValue={selected => `${selected.length} stages selected`}\n onChange={handleStagesSelect}\n multiple\n >\n {range(1, requestState.lastStageNumber + 1).map(stage => (\n <MenuItem key={stage} value={stage}>\n <Checkbox checked={dialogState.selectedStages.includes(stage)} />\n <ListItemText primary={stage} />\n </MenuItem>\n ))}\n </Select>\n </FormControl>\n </Grid>\n {dialogState.selectedStages\n .sort((a, b) => a - b)\n .map(stage => (\n <Grid item key={stage}>\n <Typography variant=\"subtitle1\">Stage {stage}</Typography>\n <FormControl component=\"fieldset\">\n <FormLabel component=\"legend\" required>\n Line Style\n </FormLabel>\n <RadioGroup\n name=\"line-style\"\n value={get(dialogState.stagesData, [stage, 'lineStyle'], 'dotted')}\n onChange={handleLineStyleChange(stage)}\n row\n >\n <FormControlLabel value=\"dotted\" control={<Radio />} label=\"Dotted\" />\n <FormControlLabel value=\"dashed\" control={<Radio />} label=\"Dashed\" />\n <FormControlLabel value=\"solid\" control={<Radio />} label=\"Solid\" />\n </RadioGroup>\n </FormControl>\n <FormControl component=\"fieldset\">\n <FormLabel component=\"legend\" required>\n Line Width\n </FormLabel>\n <RadioGroup\n name=\"line-width\"\n value={String(get(dialogState.stagesData, [stage, 'lineWidth'], '2'))}\n onChange={handleLineWidthChange(stage)}\n row\n >\n <FormControlLabel value={String(1)} control={<Radio />} label=\"Thin\" />\n <FormControlLabel value={String(2)} control={<Radio />} label=\"Normal\" />\n <FormControlLabel value={String(4)} control={<Radio />} label=\"Thick\" />\n </RadioGroup>\n </FormControl>\n </Grid>\n ))}\n </Grid>\n </DialogContent>\n <DialogActions>\n <Button onClick={closeDialog}>Cancel</Button>\n <Button variant=\"contained\" color=\"primary\" onClick={handleSave}>\n Save\n </Button>\n </DialogActions>\n </Dialog>\n )}\n </>\n );\n};\n\nStagesSelector.propTypes = {\n onSave: func.isRequired,\n onDelete: func.isRequired,\n offset: shape({\n selectedWellId: number,\n selectedWellName: string,\n selectedWellStatus: oneOf(['active', 'idle', 'complete', 'paused', 'unknown']),\n }).isRequired,\n};\n\nexport default StagesSelector;\n"],"names":["_ref","useStyles","makeStyles","dialogPaper","width","maxWidth","fetchStageAction","_asyncToGenerator","_regeneratorRuntime","mark","_callee","offsetWellId","dispatch","response","lastStageNumber","wrap","_context","prev","next","getAppStorage","limit","sort","sent","isEmpty","get","last","type","t0","error","message","stop","_x","_x2","apply","this","arguments","stagesStateReducer","state","action","_objectSpread","requestState","dialogStateReducer","dialogState","selectedStages","stagesData","reduce","stages","stage","lineStyle","lineWidth","_defineProperty","selectedLineStyle","Number","selectedLineWidth","StagesSelector","_ref2","onSave","onDelete","offset","classes","useReducer","_useReducer2","_slicedToArray","_useReducer","dispatchRequest","_useReducer4","_useReducer3","dispatchDialog","handleLineStyleChange","event","target","value","handleLineWidthChange","closeDialog","selectedWellId","useEffect","isStageDataEmpty","isNull","_jsxs","_Fragment","children","_jsx","OffsetWellChip","title","selectedWellName","onClick","noop","onRemoveOffsetWell","wellId","rigName","Dialog","open","onBackdropClick","paper","DialogTitle","DialogContent","Grid","container","direction","spacing","item","FormControl","margin","fullWidth","required","InputLabel","htmlFor","Select","inputProps","name","id","renderValue","selected","length","onChange","multiple","range","map","MenuItem","Checkbox","checked","includes","ListItemText","primary","a","b","Typography","variant","component","FormLabel","RadioGroup","row","FormControlLabel","control","Radio","label","String","DialogActions","Button","color","updatedOffset","propTypes","func","isRequired","shape","number","string","selectedWellStatus","oneOf"],"mappings":"sg3BA2BA,IAOyBA,EAPnBC,EAAYC,EAAW,CAC3BC,YAAa,CACXC,MAAO,MACPC,SAAU,OAIRC,GAAmBN,EAAAO,EAAAC,EAAAC,MAAA,SAAAC,EAAOC,EAAcC,GAAQ,IAAAC,EAAAC,EAAA,OAAAN,EAAAO,MAAA,SAAAC,GAAA,OAAA,OAAAA,EAAAC,KAAAD,EAAAE,MAAA,KAAA,EAAA,O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D,EAAgB,CAAC7D,MAAOiE,OAAO,GAAIH,QAASpD,EAACqD,EAAS,IAACC,MAAM,WAC9DtD,EAACmD,EAAgB,CAAC7D,MAAOiE,OAAO,GAAIH,QAASpD,EAACqD,EAAS,IAACC,MAAM,kBA7BpDxF,EAgCT,SAIf+B,EAAC2D,EAAa,CAAAzD,SAAA,CACZC,EAACyD,EAAM,CAACrD,QAASZ,EAAYO,SAAA,WAC7BC,EAACyD,EAAM,CAACX,QAAQ,YAAYY,MAAM,UAAUtD,QAjGnC,WACjB,IAAMuD,SACDlF,GAAM,GAAA,CACTZ,OAAQJ,EAAYE,WACpBD,eAAgBD,EAAYC,iBAG9B8B,IACAjB,EAAOoF,IAyFiE5D,SAAA,iBAQ5E,EAEA1B,EAAeuF,UAAY,CACzBrF,OAAQsF,EAAKC,WACbtF,SAAUqF,EAAKC,WACfrF,OAAQsF,EAAM,CACZtE,eAAgBuE,EAChB7D,iBAAkB8D,EAClBC,mBAAoBC,EAAM,CAAC,SAAU,OAAQ,WAAY,SAAU,cAClEL"}
1
+ {"version":3,"file":"StagesSelector.js","sources":["../../../src/components/PadOffsetsPicker/StagesSelector.js"],"sourcesContent":["import { useEffect, useReducer } from 'react';\nimport { func, number, oneOf, string, shape } from 'prop-types';\nimport { isNull, get, noop, range, isEmpty, last } from 'lodash';\nimport {\n Button,\n Checkbox,\n Dialog,\n DialogActions,\n DialogContent,\n DialogTitle,\n FormControl,\n FormControlLabel,\n FormLabel,\n Grid,\n InputLabel,\n ListItemText,\n MenuItem,\n Radio,\n RadioGroup,\n Select,\n Typography,\n makeStyles,\n} from '@material-ui/core';\n\nimport { getAppStorage } from '~/clients/jsonApi';\nimport { OffsetWellChip } from '~/components';\n\nconst useStyles = makeStyles({\n dialogPaper: {\n width: '75%',\n maxWidth: 420,\n },\n});\n\nconst fetchStageAction = async (offsetWellId, dispatch) => {\n try {\n const response = await getAppStorage('corva', 'completion.wits', offsetWellId, {\n limit: 1,\n sort: '{timestamp:-1}',\n });\n const lastStageNumber = isEmpty(response) ? null : get(last(response), 'stage_number', null);\n dispatch({ type: 'SUCCESS', lastStageNumber });\n } catch (error) {\n dispatch({ type: 'FAILURE', error: error.message });\n }\n};\n\nconst stagesStateReducer = (state, action) => {\n switch (action.type) {\n case 'FETCH_STAGES':\n return { ...state, requestState: 'pending' };\n case 'SUCCESS':\n return { ...state, requestState: 'success', lastStageNumber: action.lastStageNumber };\n case 'FAILURE':\n return { ...state, requestState: 'failure', error: action.error };\n default:\n return state;\n }\n};\n\nconst dialogStateReducer = (state, action) => {\n switch (action.type) {\n case 'OPEN_DIALOG':\n return { ...state, dialogState: 'open' };\n case 'CLOSE_DIALOG':\n return { ...state, dialogState: 'closed' };\n case 'SET_SELECTED_STAGES':\n return {\n ...state,\n selectedStages: action.selectedStages,\n stagesData: action.selectedStages.reduce(\n (stages, stage) => ({\n ...stages,\n [stage]: {\n lineStyle: 'dotted',\n lineWidth: 2,\n },\n }),\n {}\n ),\n };\n case 'SET_SELECTED_LINE_STYLE':\n return {\n ...state,\n stagesData: {\n ...state.stagesData,\n [action.stage]: {\n ...state.stagesData[action.stage],\n lineStyle: action.selectedLineStyle,\n },\n },\n };\n case 'SET_SELECTED_LINE_WIDTH':\n return {\n ...state,\n stagesData: {\n ...state.stagesData,\n [action.stage]: {\n ...state.stagesData[action.stage],\n lineWidth: Number(action.selectedLineWidth),\n },\n },\n };\n default:\n return state;\n }\n};\n\nconst StagesSelector = ({ onSave, onDelete, offset }) => {\n const classes = useStyles();\n\n const [requestState, dispatchRequest] = useReducer(stagesStateReducer, {\n requestState: 'idle',\n lastStageNumber: null,\n error: null,\n });\n\n const [dialogState, dispatchDialog] = useReducer(dialogStateReducer, {\n dialogState: 'closed',\n selectedStages: offset.selectedStages || [],\n stagesData: offset.stages || {},\n });\n\n const handleStagesSelect = event => {\n dispatchDialog({ type: 'SET_SELECTED_STAGES', selectedStages: event.target.value });\n };\n\n const handleLineStyleChange = stage => event => {\n dispatchDialog({\n type: 'SET_SELECTED_LINE_STYLE',\n stage,\n selectedLineStyle: event.target.value,\n });\n };\n\n const handleLineWidthChange = stage => event => {\n dispatchDialog({\n type: 'SET_SELECTED_LINE_WIDTH',\n stage,\n selectedLineWidth: event.target.value,\n });\n };\n\n const openDialog = () => {\n dispatchDialog({ type: 'OPEN_DIALOG' });\n };\n\n const closeDialog = () => {\n dispatchDialog({ type: 'CLOSE_DIALOG' });\n };\n\n const offsetWellId = offset.selectedWellId;\n\n const handleSave = () => {\n const updatedOffset = {\n ...offset,\n stages: dialogState.stagesData,\n selectedStages: dialogState.selectedStages,\n };\n\n closeDialog();\n onSave(updatedOffset);\n };\n\n useEffect(() => {\n dispatchRequest({ type: 'FETCH_STAGES' });\n fetchStageAction(offsetWellId, dispatchRequest);\n }, [offsetWellId]);\n\n const isStageDataEmpty = isNull(requestState.lastStageNumber);\n\n return (\n <>\n <OffsetWellChip\n title={offset.selectedWellName}\n onClick={isStageDataEmpty ? noop : openDialog}\n onRemoveOffsetWell={onDelete}\n wellId={offsetWellId}\n rigName=\"\"\n />\n\n {requestState.requestState === 'success' && (\n <Dialog\n open={dialogState.dialogState === 'open'}\n onBackdropClick={closeDialog}\n classes={{ paper: classes.dialogPaper }}\n >\n <DialogTitle>Offset Well Stages</DialogTitle>\n <DialogContent>\n <Grid container direction=\"column\" spacing={2}>\n <Grid item>\n <FormControl margin=\"normal\" fullWidth required>\n <InputLabel htmlFor=\"stages-multi-select\">Stages</InputLabel>\n <Select\n inputProps={{ name: 'stages', id: 'stages-multi-select' }}\n value={dialogState.selectedStages}\n renderValue={selected => `${selected.length} stages selected`}\n onChange={handleStagesSelect}\n multiple\n >\n {range(1, requestState.lastStageNumber + 1).map(stage => (\n <MenuItem key={stage} value={stage}>\n <Checkbox checked={dialogState.selectedStages.includes(stage)} />\n <ListItemText primary={stage} />\n </MenuItem>\n ))}\n </Select>\n </FormControl>\n </Grid>\n {dialogState.selectedStages\n .sort((a, b) => a - b)\n .map(stage => (\n <Grid item key={stage}>\n <Typography variant=\"subtitle1\">Stage {stage}</Typography>\n <FormControl component=\"fieldset\">\n <FormLabel component=\"legend\" required>\n Line Style\n </FormLabel>\n <RadioGroup\n name=\"line-style\"\n value={get(dialogState.stagesData, [stage, 'lineStyle'], 'dotted')}\n onChange={handleLineStyleChange(stage)}\n row\n >\n <FormControlLabel value=\"dotted\" control={<Radio />} label=\"Dotted\" />\n <FormControlLabel value=\"dashed\" control={<Radio />} label=\"Dashed\" />\n <FormControlLabel value=\"solid\" control={<Radio />} label=\"Solid\" />\n </RadioGroup>\n </FormControl>\n <FormControl component=\"fieldset\">\n <FormLabel component=\"legend\" required>\n Line Width\n </FormLabel>\n <RadioGroup\n name=\"line-width\"\n value={String(get(dialogState.stagesData, [stage, 'lineWidth'], '2'))}\n onChange={handleLineWidthChange(stage)}\n row\n >\n <FormControlLabel value={String(1)} control={<Radio />} label=\"Thin\" />\n <FormControlLabel value={String(2)} control={<Radio />} label=\"Normal\" />\n <FormControlLabel value={String(4)} control={<Radio />} label=\"Thick\" />\n </RadioGroup>\n </FormControl>\n </Grid>\n ))}\n </Grid>\n </DialogContent>\n <DialogActions>\n <Button onClick={closeDialog}>Cancel</Button>\n <Button variant=\"contained\" color=\"primary\" onClick={handleSave}>\n Save\n </Button>\n </DialogActions>\n </Dialog>\n )}\n </>\n );\n};\n\nStagesSelector.propTypes = {\n onSave: func.isRequired,\n onDelete: func.isRequired,\n offset: shape({\n selectedWellId: number,\n selectedWellName: string,\n selectedWellStatus: oneOf(['active', 'idle', 'complete', 'paused', 'unknown']),\n }).isRequired,\n};\n\nexport default StagesSelector;\n"],"names":["_ref","useStyles","makeStyles","dialogPaper","width","maxWidth","fetchStageAction","_asyncToGenerator","_regeneratorRuntime","mark","_callee","offsetWellId","dispatch","response","lastStageNumber","wrap","_context","prev","next","getAppStorage","limit","sort","sent","isEmpty","get","last","type","t0","error","message","stop","_x","_x2","apply","this","arguments","stagesStateReducer","state","action","_objectSpread","requestState","dialogStateReducer","dialogState","selectedStages","stagesData","reduce","stages","stage","lineStyle","lineWidth","_defineProperty","selectedLineStyle","Number","selectedLineWidth","StagesSelector","_ref2","onSave","onDelete","offset","classes","useReducer","_useReducer2","_slicedToArray","_useReducer","dispatchRequest","_useReducer4","_useReducer3","dispatchDialog","handleLineStyleChange","event","target","value","handleLineWidthChange","closeDialog","selectedWellId","useEffect","isStageDataEmpty","isNull","_jsxs","_Fragment","children","_jsx","OffsetWellChip","title","selectedWellName","onClick","noop","onRemoveOffsetWell","wellId","rigName","Dialog","open","onBackdropClick","paper","DialogTitle","DialogContent","Grid","container","direction","spacing","item","FormControl","margin","fullWidth","required","InputLabel","htmlFor","Select","inputProps","name","id","renderValue","selected","length","onChange","multiple","range","map","MenuItem","Checkbox","checked","includes","ListItemText","primary","a","b","Typography","variant","component","FormLabel","RadioGroup","row","FormControlLabel","control","Radio","label","String","DialogActions","Button","color","updatedOffset","propTypes","func","isRequired","shape","number","string","selectedWellStatus","oneOf"],"mappings":"yi3BA2BA,IAOyBA,EAPnBC,EAAYC,EAAW,CAC3BC,YAAa,CACXC,MAAO,MACPC,SAAU,OAIRC,GAAmBN,EAAAO,EAAAC,EAAAC,MAAA,SAAAC,EAAOC,EAAcC,GAAQ,IAAAC,EAAAC,EAAA,OAAAN,EAAAO,MAAA,SAAAC,GAAA,OAAA,OAAAA,EAAAC,KAAAD,EAAAE,MAAA,KAAA,EAAA,OAAAF,EAAAC,KAAA,EAAAD,EAAAE,KAAA,EAE3BC,EAAc,QAAS,kBAAmBR,EAAc,CAC7ES,MAAO,EACPC,KAAM,mBACN,KAAA,EAHIR,EAAQG,EAAAM,KAIRR,EAAkBS,EAAQV,GAAY,KAAOW,EAAIC,EAAKZ,GAAW,eAAgB,MACvFD,EAAS,CAAEc,KAAM,UAAWZ,gBAAAA,IAAmBE,EAAAE,KAAA,GAAA,MAAA,KAAA,EAAAF,EAAAC,KAAA,EAAAD,EAAAW,GAAAX,EAAA,MAAA,GAE/CJ,EAAS,CAAEc,KAAM,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