@corva/ui 3.65.0-rc.0 → 3.65.0

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 (324) hide show
  1. package/cjs-bundle/components/OffsetWellPickerV5/OffsetWellPickerV5.js +1 -1
  2. package/cjs-bundle/components/OffsetWellPickerV5/OffsetWellPickerV5.module.css.js +1 -1
  3. package/cjs-bundle/components/OffsetWellPickerV5/components/AppHeader/components/HeaderActions/HeaderActions.js +1 -1
  4. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/Filter.module.css.js +1 -1
  5. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/VirtualizedListBox/hooks/useContainerMaxHeight.js +1 -1
  6. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/hooks/useGridEdgeDetection.js +1 -1
  7. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/OffsetWellMap.js +1 -1
  8. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHintsStash.js +2 -0
  9. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHintsStash.js.map +1 -0
  10. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHintsStash.module.css.js +2 -0
  11. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHintsStash.module.css.js.map +1 -0
  12. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapOverlayControls/MapOverlayControls.js +1 -1
  13. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapResizeVeil/MapResizeVeil.js +2 -0
  14. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapResizeVeil/MapResizeVeil.js.map +1 -0
  15. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapResizeVeil/MapResizeVeil.module.css.js +2 -0
  16. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapResizeVeil/MapResizeVeil.module.css.js.map +1 -0
  17. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SubjectWellMarker/SubjectWellMarker.js +1 -1
  18. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SubjectWellMarker/SubjectWellMarker.module.css.js +1 -1
  19. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useIsMapCompact.js +2 -0
  20. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useIsMapCompact.js.map +1 -0
  21. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useMapResizeOnContainer.js +2 -0
  22. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useMapResizeOnContainer.js.map +1 -0
  23. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useMapTooltipState.js +1 -1
  24. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useOffsetWellMapState.js +1 -1
  25. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useSelectionToolOrchestration.js +1 -1
  26. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/WellsMap/WellsMap.js +1 -1
  27. package/cjs-bundle/components/OffsetWellPickerV5/components/MapColumn/MapColumn.js +1 -1
  28. package/cjs-bundle/components/OffsetWellPickerV5/components/MapResizeHandle/MapResizeHandle.js +2 -0
  29. package/cjs-bundle/components/OffsetWellPickerV5/components/MapResizeHandle/MapResizeHandle.js.map +1 -0
  30. package/cjs-bundle/components/OffsetWellPickerV5/components/MapResizeHandle/MapResizeHandle.module.css.js +2 -0
  31. package/cjs-bundle/components/OffsetWellPickerV5/components/MapResizeHandle/MapResizeHandle.module.css.js.map +1 -0
  32. package/cjs-bundle/components/OffsetWellPickerV5/components/MapResizeHandle/getEffectiveMapWidthBounds.js +2 -0
  33. package/cjs-bundle/components/OffsetWellPickerV5/components/MapResizeHandle/getEffectiveMapWidthBounds.js.map +1 -0
  34. package/cjs-bundle/components/OffsetWellPickerV5/components/MapResizeHandle/useMapResize.js +2 -0
  35. package/cjs-bundle/components/OffsetWellPickerV5/components/MapResizeHandle/useMapResize.js.map +1 -0
  36. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.js +1 -1
  37. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/components/UserSettingsWrapper/UserSettingsWrapper.js +1 -1
  38. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AdvancedSearch.js +1 -1
  39. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AdvancedSearch.module.css.js +1 -1
  40. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AssetResultSection/AssetResultSection.js +1 -1
  41. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AssetTypesSection/AssetTypesSection.js +1 -1
  42. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AutoCompleteAssetSearch/AutoCompleteAssetSearch.js +1 -1
  43. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/OffsetWellsTable.js +1 -1
  44. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/OffsetWellsTable.module.css.js +1 -1
  45. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/CompanyCell/CompanyCell.js +1 -1
  46. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/FormationCell/FormationCell.js +1 -1
  47. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/InterventionAssetCell/InterventionAssetCell.js +1 -1
  48. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/PadNameCell/PadNameCell.js +1 -1
  49. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/RigCell/RigCell.js +1 -1
  50. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/WellNameCell/WellNameCell.js +1 -1
  51. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/WellSectionCell/WellSectionCell.js +1 -1
  52. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/MetricCell/MetricCell.module.css.js +1 -1
  53. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/OffsetWellsTableHead/OffsetWellsTableHead.js +1 -1
  54. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/OffsetWellsTableHead/OffsetWellsTableHead.module.css.js +1 -1
  55. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/OffsetWellsTableRow/OffsetWellsTableRow.js +1 -1
  56. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/OffsetWellsTableRow/OffsetWellsTableRow.module.css.js +1 -1
  57. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/SettingsMenu.js +2 -0
  58. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/SettingsMenu.js.map +1 -0
  59. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/SettingsMenu.module.scss.js +2 -0
  60. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/MetricsSettingsSection/MetricsSettingsSection.js +2 -0
  61. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/MetricsSettingsSection/MetricsSettingsSection.js.map +1 -0
  62. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/MetricsSettingsSection/MetricsSettingsSection.module.scss.js +2 -0
  63. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/MetricsSettingsSection/MetricsSettingsSection.module.scss.js.map +1 -0
  64. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/SettingsAccordion/SettingsAccordion.js +2 -0
  65. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/SettingsAccordion/SettingsAccordion.js.map +1 -0
  66. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/SettingsAccordion/SettingsAccordion.module.scss.js +2 -0
  67. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/SettingsAccordion/SettingsAccordion.module.scss.js.map +1 -0
  68. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/TableSettingsSection/TableSettingsSection.js +2 -0
  69. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/TableSettingsSection/TableSettingsSection.js.map +1 -0
  70. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/TableSettingsSection/TableSettingsSection.module.scss.js +2 -0
  71. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/TableSettingsSection/TableSettingsSection.module.scss.js.map +1 -0
  72. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SkeletonTableRow/SkeletonTableRow.js +1 -1
  73. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SkeletonTableRow/SkeletonTableRow.module.css.js +1 -1
  74. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/WellNameHeaderCell/WellNameHeaderCell.js +1 -1
  75. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/hooks/useHScrollShadowReconcile.js +2 -0
  76. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/hooks/useHScrollShadowReconcile.js.map +1 -0
  77. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/hooks/useTablePagination.js +1 -1
  78. package/cjs-bundle/components/OffsetWellPickerV5/components/TableSection/TableSection.js +1 -1
  79. package/cjs-bundle/components/OffsetWellPickerV5/constants.js +1 -1
  80. package/cjs-bundle/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useCompanyMetricKey.js +1 -1
  81. package/cjs-bundle/components/OffsetWellPickerV5/hooks/useElementSize.js +2 -0
  82. package/cjs-bundle/components/OffsetWellPickerV5/hooks/useResizeObserverEffect.js +2 -0
  83. package/cjs-bundle/components/OffsetWellPickerV5/hooks/useResizeObserverEffect.js.map +1 -0
  84. package/cjs-bundle/components/OffsetWellPickerV5/stores/user-settings-store/utils/subscribeToSettingsSave.js +1 -1
  85. package/cjs-bundle/components/OffsetWellPickerV5/stores/view-store/ViewStoreProvider.js +1 -1
  86. package/cjs-bundle/components/OffsetWellPickerV5/stores/view-store/createViewStore.js +1 -1
  87. package/cjs-bundle/components/OffsetWellPickerV5/stores/view-store/utils/useViewStoreSettingsSync.js +1 -1
  88. package/components/OffsetWellPickerV5/OffsetWellPickerV5.d.ts.map +1 -1
  89. package/components/OffsetWellPickerV5/OffsetWellPickerV5.js +1 -1
  90. package/components/OffsetWellPickerV5/OffsetWellPickerV5.module.css.js +1 -1
  91. package/components/OffsetWellPickerV5/components/AppHeader/components/HeaderActions/HeaderActions.d.ts.map +1 -1
  92. package/components/OffsetWellPickerV5/components/AppHeader/components/HeaderActions/HeaderActions.js +1 -1
  93. package/components/OffsetWellPickerV5/components/Filter/Filter.module.css.js +1 -1
  94. package/components/OffsetWellPickerV5/components/Filter/components/VirtualizedListBox/hooks/useContainerMaxHeight.d.ts.map +1 -1
  95. package/components/OffsetWellPickerV5/components/Filter/components/VirtualizedListBox/hooks/useContainerMaxHeight.js +1 -1
  96. package/components/OffsetWellPickerV5/components/Filter/hooks/useGridEdgeDetection.d.ts.map +1 -1
  97. package/components/OffsetWellPickerV5/components/Filter/hooks/useGridEdgeDetection.js +1 -1
  98. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/OffsetWellMap.d.ts +2 -0
  99. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/OffsetWellMap.d.ts.map +1 -1
  100. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/OffsetWellMap.js +1 -1
  101. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHints.d.ts +1 -1
  102. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHints.d.ts.map +1 -1
  103. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHintsStash.d.ts +17 -0
  104. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHintsStash.d.ts.map +1 -0
  105. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHintsStash.js +2 -0
  106. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHintsStash.js.map +1 -0
  107. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHintsStash.module.css.js +2 -0
  108. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHintsStash.module.css.js.map +1 -0
  109. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/index.d.ts +2 -1
  110. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/index.d.ts.map +1 -1
  111. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapOverlayControls/MapOverlayControls.d.ts +4 -2
  112. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapOverlayControls/MapOverlayControls.d.ts.map +1 -1
  113. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapOverlayControls/MapOverlayControls.js +1 -1
  114. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapResizeVeil/MapResizeVeil.d.ts +12 -0
  115. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapResizeVeil/MapResizeVeil.d.ts.map +1 -0
  116. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapResizeVeil/MapResizeVeil.js +2 -0
  117. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapResizeVeil/MapResizeVeil.js.map +1 -0
  118. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapResizeVeil/MapResizeVeil.module.css.js +2 -0
  119. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapResizeVeil/MapResizeVeil.module.css.js.map +1 -0
  120. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapResizeVeil/__tests__/MapResizeVeil.test.d.ts +2 -0
  121. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapResizeVeil/__tests__/MapResizeVeil.test.d.ts.map +1 -0
  122. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapResizeVeil/index.d.ts +2 -0
  123. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapResizeVeil/index.d.ts.map +1 -0
  124. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SubjectWellMarker/SubjectWellMarker.d.ts.map +1 -1
  125. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SubjectWellMarker/SubjectWellMarker.js +1 -1
  126. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SubjectWellMarker/SubjectWellMarker.module.css.js +1 -1
  127. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/__tests__/useIsMapCompact.test.d.ts +2 -0
  128. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/__tests__/useIsMapCompact.test.d.ts.map +1 -0
  129. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/__tests__/useMapResizeOnContainer.test.d.ts +2 -0
  130. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/__tests__/useMapResizeOnContainer.test.d.ts.map +1 -0
  131. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/index.d.ts +2 -1
  132. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/index.d.ts.map +1 -1
  133. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useIsMapCompact.d.ts +14 -0
  134. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useIsMapCompact.d.ts.map +1 -0
  135. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useIsMapCompact.js +2 -0
  136. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useIsMapCompact.js.map +1 -0
  137. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useMapResizeOnContainer.d.ts +20 -0
  138. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useMapResizeOnContainer.d.ts.map +1 -0
  139. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useMapResizeOnContainer.js +2 -0
  140. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useMapResizeOnContainer.js.map +1 -0
  141. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useMapTooltipState.d.ts.map +1 -1
  142. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useMapTooltipState.js +1 -1
  143. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useOffsetWellMapState.js +1 -1
  144. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useSelectionToolOrchestration.js +1 -1
  145. package/components/OffsetWellPickerV5/components/Map/WellsMap/WellsMap.d.ts +2 -0
  146. package/components/OffsetWellPickerV5/components/Map/WellsMap/WellsMap.d.ts.map +1 -1
  147. package/components/OffsetWellPickerV5/components/Map/WellsMap/WellsMap.js +1 -1
  148. package/components/OffsetWellPickerV5/components/MapColumn/MapColumn.d.ts +3 -1
  149. package/components/OffsetWellPickerV5/components/MapColumn/MapColumn.d.ts.map +1 -1
  150. package/components/OffsetWellPickerV5/components/MapColumn/MapColumn.js +1 -1
  151. package/components/OffsetWellPickerV5/components/MapResizeHandle/MapResizeHandle.d.ts +14 -0
  152. package/components/OffsetWellPickerV5/components/MapResizeHandle/MapResizeHandle.d.ts.map +1 -0
  153. package/components/OffsetWellPickerV5/components/MapResizeHandle/MapResizeHandle.js +2 -0
  154. package/components/OffsetWellPickerV5/components/MapResizeHandle/MapResizeHandle.js.map +1 -0
  155. package/components/OffsetWellPickerV5/components/MapResizeHandle/MapResizeHandle.module.css.js +2 -0
  156. package/components/OffsetWellPickerV5/components/MapResizeHandle/MapResizeHandle.module.css.js.map +1 -0
  157. package/components/OffsetWellPickerV5/components/MapResizeHandle/__tests__/getEffectiveMapWidthBounds.test.d.ts +2 -0
  158. package/components/OffsetWellPickerV5/components/MapResizeHandle/__tests__/getEffectiveMapWidthBounds.test.d.ts.map +1 -0
  159. package/components/OffsetWellPickerV5/components/MapResizeHandle/getEffectiveMapWidthBounds.d.ts +16 -0
  160. package/components/OffsetWellPickerV5/components/MapResizeHandle/getEffectiveMapWidthBounds.d.ts.map +1 -0
  161. package/components/OffsetWellPickerV5/components/MapResizeHandle/getEffectiveMapWidthBounds.js +2 -0
  162. package/components/OffsetWellPickerV5/components/MapResizeHandle/getEffectiveMapWidthBounds.js.map +1 -0
  163. package/components/OffsetWellPickerV5/components/MapResizeHandle/index.d.ts +4 -0
  164. package/components/OffsetWellPickerV5/components/MapResizeHandle/index.d.ts.map +1 -0
  165. package/components/OffsetWellPickerV5/components/MapResizeHandle/useMapResize.d.ts +29 -0
  166. package/components/OffsetWellPickerV5/components/MapResizeHandle/useMapResize.d.ts.map +1 -0
  167. package/components/OffsetWellPickerV5/components/MapResizeHandle/useMapResize.js +2 -0
  168. package/components/OffsetWellPickerV5/components/MapResizeHandle/useMapResize.js.map +1 -0
  169. package/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.d.ts +1 -1
  170. package/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.d.ts.map +1 -1
  171. package/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.js +1 -1
  172. package/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.types.d.ts +3 -1
  173. package/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.types.d.ts.map +1 -1
  174. package/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/components/UserSettingsWrapper/UserSettingsWrapper.d.ts.map +1 -1
  175. package/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/components/UserSettingsWrapper/UserSettingsWrapper.js +1 -1
  176. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AdvancedSearch.d.ts.map +1 -1
  177. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AdvancedSearch.js +1 -1
  178. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AdvancedSearch.module.css.js +1 -1
  179. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AssetResultSection/AssetResultSection.js +1 -1
  180. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AssetTypesSection/AssetTypesSection.d.ts.map +1 -1
  181. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AssetTypesSection/AssetTypesSection.js +1 -1
  182. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AutoCompleteAssetSearch/AutoCompleteAssetSearch.d.ts.map +1 -1
  183. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AutoCompleteAssetSearch/AutoCompleteAssetSearch.js +1 -1
  184. package/components/OffsetWellPickerV5/components/OffsetWellsTable/OffsetWellsTable.d.ts.map +1 -1
  185. package/components/OffsetWellPickerV5/components/OffsetWellsTable/OffsetWellsTable.js +1 -1
  186. package/components/OffsetWellPickerV5/components/OffsetWellsTable/OffsetWellsTable.module.css.js +1 -1
  187. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/CompanyCell/CompanyCell.d.ts +2 -1
  188. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/CompanyCell/CompanyCell.d.ts.map +1 -1
  189. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/CompanyCell/CompanyCell.js +1 -1
  190. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/FormationCell/FormationCell.d.ts +2 -1
  191. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/FormationCell/FormationCell.d.ts.map +1 -1
  192. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/FormationCell/FormationCell.js +1 -1
  193. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/InterventionAssetCell/InterventionAssetCell.d.ts +2 -1
  194. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/InterventionAssetCell/InterventionAssetCell.d.ts.map +1 -1
  195. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/InterventionAssetCell/InterventionAssetCell.js +1 -1
  196. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/PadNameCell/PadNameCell.d.ts +2 -1
  197. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/PadNameCell/PadNameCell.d.ts.map +1 -1
  198. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/PadNameCell/PadNameCell.js +1 -1
  199. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/RigCell/RigCell.d.ts +2 -1
  200. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/RigCell/RigCell.d.ts.map +1 -1
  201. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/RigCell/RigCell.js +1 -1
  202. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/WellNameCell/WellNameCell.d.ts +2 -3
  203. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/WellNameCell/WellNameCell.d.ts.map +1 -1
  204. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/WellNameCell/WellNameCell.js +1 -1
  205. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/WellSectionCell/WellSectionCell.d.ts.map +1 -1
  206. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/WellSectionCell/WellSectionCell.js +1 -1
  207. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/MetricCell/MetricCell.module.css.js +1 -1
  208. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/OffsetWellsTableHead/OffsetWellsTableHead.d.ts.map +1 -1
  209. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/OffsetWellsTableHead/OffsetWellsTableHead.js +1 -1
  210. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/OffsetWellsTableHead/OffsetWellsTableHead.module.css.js +1 -1
  211. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/OffsetWellsTableRow/OffsetWellsTableRow.d.ts +1 -2
  212. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/OffsetWellsTableRow/OffsetWellsTableRow.d.ts.map +1 -1
  213. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/OffsetWellsTableRow/OffsetWellsTableRow.js +1 -1
  214. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/OffsetWellsTableRow/OffsetWellsTableRow.module.css.js +1 -1
  215. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/SettingsMenu.d.ts +7 -0
  216. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/SettingsMenu.d.ts.map +1 -0
  217. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/SettingsMenu.js +2 -0
  218. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/SettingsMenu.js.map +1 -0
  219. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/SettingsMenu.module.scss.js +2 -0
  220. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/MetricsSettingsSection/MetricsSettingsSection.d.ts +15 -0
  221. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/MetricsSettingsSection/MetricsSettingsSection.d.ts.map +1 -0
  222. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/MetricsSettingsSection/MetricsSettingsSection.js +2 -0
  223. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/MetricsSettingsSection/MetricsSettingsSection.js.map +1 -0
  224. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/MetricsSettingsSection/MetricsSettingsSection.module.scss.js +2 -0
  225. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/MetricsSettingsSection/MetricsSettingsSection.module.scss.js.map +1 -0
  226. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/MetricsSettingsSection/index.d.ts +2 -0
  227. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/MetricsSettingsSection/index.d.ts.map +1 -0
  228. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/SettingsAccordion/SettingsAccordion.d.ts +16 -0
  229. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/SettingsAccordion/SettingsAccordion.d.ts.map +1 -0
  230. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/SettingsAccordion/SettingsAccordion.js +2 -0
  231. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/SettingsAccordion/SettingsAccordion.js.map +1 -0
  232. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/SettingsAccordion/SettingsAccordion.module.scss.js +2 -0
  233. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/SettingsAccordion/SettingsAccordion.module.scss.js.map +1 -0
  234. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/SettingsAccordion/index.d.ts +2 -0
  235. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/SettingsAccordion/index.d.ts.map +1 -0
  236. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/TableSettingsSection/TableSettingsSection.d.ts +7 -0
  237. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/TableSettingsSection/TableSettingsSection.d.ts.map +1 -0
  238. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/TableSettingsSection/TableSettingsSection.js +2 -0
  239. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/TableSettingsSection/TableSettingsSection.js.map +1 -0
  240. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/TableSettingsSection/TableSettingsSection.module.scss.js +2 -0
  241. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/TableSettingsSection/TableSettingsSection.module.scss.js.map +1 -0
  242. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/TableSettingsSection/index.d.ts +2 -0
  243. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/TableSettingsSection/index.d.ts.map +1 -0
  244. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/index.d.ts +2 -0
  245. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/{SubjectWellMark → SettingsMenu}/index.d.ts.map +1 -1
  246. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SkeletonTableRow/SkeletonTableRow.d.ts.map +1 -1
  247. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SkeletonTableRow/SkeletonTableRow.js +1 -1
  248. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SkeletonTableRow/SkeletonTableRow.module.css.js +1 -1
  249. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/WellNameHeaderCell/WellNameHeaderCell.d.ts.map +1 -1
  250. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/WellNameHeaderCell/WellNameHeaderCell.js +1 -1
  251. package/components/OffsetWellPickerV5/components/OffsetWellsTable/hooks/__tests__/useHScrollShadowReconcile.test.d.ts +2 -0
  252. package/components/OffsetWellPickerV5/components/OffsetWellsTable/hooks/__tests__/useHScrollShadowReconcile.test.d.ts.map +1 -0
  253. package/components/OffsetWellPickerV5/components/OffsetWellsTable/hooks/useHScrollShadowReconcile.d.ts +34 -0
  254. package/components/OffsetWellPickerV5/components/OffsetWellsTable/hooks/useHScrollShadowReconcile.d.ts.map +1 -0
  255. package/components/OffsetWellPickerV5/components/OffsetWellsTable/hooks/useHScrollShadowReconcile.js +2 -0
  256. package/components/OffsetWellPickerV5/components/OffsetWellsTable/hooks/useHScrollShadowReconcile.js.map +1 -0
  257. package/components/OffsetWellPickerV5/components/OffsetWellsTable/hooks/useTablePagination.d.ts +1 -2
  258. package/components/OffsetWellPickerV5/components/OffsetWellsTable/hooks/useTablePagination.d.ts.map +1 -1
  259. package/components/OffsetWellPickerV5/components/OffsetWellsTable/hooks/useTablePagination.js +1 -1
  260. package/components/OffsetWellPickerV5/components/TableSection/TableSection.d.ts +4 -2
  261. package/components/OffsetWellPickerV5/components/TableSection/TableSection.d.ts.map +1 -1
  262. package/components/OffsetWellPickerV5/components/TableSection/TableSection.js +1 -1
  263. package/components/OffsetWellPickerV5/constants.d.ts +17 -1
  264. package/components/OffsetWellPickerV5/constants.d.ts.map +1 -1
  265. package/components/OffsetWellPickerV5/constants.js +1 -1
  266. package/components/OffsetWellPickerV5/hooks/__tests__/resize-observer-test-utils.d.ts +19 -0
  267. package/components/OffsetWellPickerV5/hooks/__tests__/resize-observer-test-utils.d.ts.map +1 -0
  268. package/components/OffsetWellPickerV5/hooks/__tests__/useResizeObserverEffect.test.d.ts +2 -0
  269. package/components/OffsetWellPickerV5/hooks/__tests__/useResizeObserverEffect.test.d.ts.map +1 -0
  270. package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useCompanyMetricKey.d.ts.map +1 -1
  271. package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useCompanyMetricKey.js +1 -1
  272. package/components/OffsetWellPickerV5/hooks/useElementSize.d.ts.map +1 -0
  273. package/components/OffsetWellPickerV5/hooks/useElementSize.js +2 -0
  274. package/components/OffsetWellPickerV5/hooks/useResizeObserverEffect.d.ts +14 -0
  275. package/components/OffsetWellPickerV5/hooks/useResizeObserverEffect.d.ts.map +1 -0
  276. package/components/OffsetWellPickerV5/hooks/useResizeObserverEffect.js +2 -0
  277. package/components/OffsetWellPickerV5/hooks/useResizeObserverEffect.js.map +1 -0
  278. package/components/OffsetWellPickerV5/stores/user-settings-store/createUserSettingsStore.d.ts +3 -1
  279. package/components/OffsetWellPickerV5/stores/user-settings-store/createUserSettingsStore.d.ts.map +1 -1
  280. package/components/OffsetWellPickerV5/stores/user-settings-store/utils/subscribeToSettingsSave.d.ts.map +1 -1
  281. package/components/OffsetWellPickerV5/stores/user-settings-store/utils/subscribeToSettingsSave.js +1 -1
  282. package/components/OffsetWellPickerV5/stores/view-store/ViewStoreProvider.d.ts.map +1 -1
  283. package/components/OffsetWellPickerV5/stores/view-store/ViewStoreProvider.js +1 -1
  284. package/components/OffsetWellPickerV5/stores/view-store/__tests__/createViewStore.test.d.ts +2 -0
  285. package/components/OffsetWellPickerV5/stores/view-store/__tests__/createViewStore.test.d.ts.map +1 -0
  286. package/components/OffsetWellPickerV5/stores/view-store/createViewStore.d.ts +6 -0
  287. package/components/OffsetWellPickerV5/stores/view-store/createViewStore.d.ts.map +1 -1
  288. package/components/OffsetWellPickerV5/stores/view-store/createViewStore.js +1 -1
  289. package/components/OffsetWellPickerV5/stores/view-store/utils/useViewStoreSettingsSync.d.ts.map +1 -1
  290. package/components/OffsetWellPickerV5/stores/view-store/utils/useViewStoreSettingsSync.js +1 -1
  291. package/mcp-server/server.mjs +1 -1
  292. package/package.json +1 -1
  293. package/tsconfig.tsbuildinfo +1 -1
  294. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useElementSize.js +0 -2
  295. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/MetricsSettingMenu/MetricsSettingMenu.js +0 -2
  296. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/MetricsSettingMenu/MetricsSettingMenu.js.map +0 -1
  297. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/MetricsSettingMenu/MetricsSettingMenu.module.scss.js +0 -2
  298. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SubjectWellMark/SubjectWellMark.js +0 -2
  299. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SubjectWellMark/SubjectWellMark.js.map +0 -1
  300. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/useColumnShadow.js +0 -2
  301. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/useColumnShadow.js.map +0 -1
  302. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useElementSize.d.ts.map +0 -1
  303. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useElementSize.js +0 -2
  304. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/MetricsSettingMenu/MetricsSettingMenu.d.ts +0 -7
  305. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/MetricsSettingMenu/MetricsSettingMenu.d.ts.map +0 -1
  306. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/MetricsSettingMenu/MetricsSettingMenu.js +0 -2
  307. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/MetricsSettingMenu/MetricsSettingMenu.js.map +0 -1
  308. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/MetricsSettingMenu/MetricsSettingMenu.module.scss.js +0 -2
  309. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/MetricsSettingMenu/index.d.ts +0 -2
  310. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/MetricsSettingMenu/index.d.ts.map +0 -1
  311. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SubjectWellMark/SubjectWellMark.d.ts +0 -6
  312. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SubjectWellMark/SubjectWellMark.d.ts.map +0 -1
  313. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SubjectWellMark/SubjectWellMark.js +0 -2
  314. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SubjectWellMark/SubjectWellMark.js.map +0 -1
  315. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SubjectWellMark/index.d.ts +0 -2
  316. package/components/OffsetWellPickerV5/components/OffsetWellsTable/useColumnShadow.d.ts +0 -8
  317. package/components/OffsetWellPickerV5/components/OffsetWellsTable/useColumnShadow.d.ts.map +0 -1
  318. package/components/OffsetWellPickerV5/components/OffsetWellsTable/useColumnShadow.js +0 -2
  319. package/components/OffsetWellPickerV5/components/OffsetWellsTable/useColumnShadow.js.map +0 -1
  320. /package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/{MetricsSettingMenu/MetricsSettingMenu.module.scss.js.map → SettingsMenu/SettingsMenu.module.scss.js.map} +0 -0
  321. /package/cjs-bundle/components/OffsetWellPickerV5/{components/Map/OffsetWellMap/hooks → hooks}/useElementSize.js.map +0 -0
  322. /package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/{MetricsSettingMenu/MetricsSettingMenu.module.scss.js.map → SettingsMenu/SettingsMenu.module.scss.js.map} +0 -0
  323. /package/components/OffsetWellPickerV5/{components/Map/OffsetWellMap/hooks → hooks}/useElementSize.d.ts +0 -0
  324. /package/components/OffsetWellPickerV5/{components/Map/OffsetWellMap/hooks → hooks}/useElementSize.js.map +0 -0
@@ -1,2 +1,2 @@
1
- import o from"@babel/runtime/helpers/defineProperty";import{jsx as e,jsxs as t,Fragment as s}from"react/jsx-runtime";import{useMemo as i,useCallback as n}from"react";import r from"classnames";import{uniqBy as p}from"lodash";import{AppHeader as m}from"../AppHeader/AppHeader.js";import{PickerModalActions as c}from"../PickerModalActions/PickerModalActions.js";import{MapColumn as l}from"../MapColumn/MapColumn.js";import{TableSection as a}from"../TableSection/TableSection.js";import d from"../../OffsetWellPickerV5.module.css.js";import"@material-ui/core/Snackbar";import"../../../Notifications/Toast.js";import"../../../Notifications/Notifications.scss.js";import{NotificationsContainer as j}from"../../../Notifications/NotificationsContainer.js";import u from"../../../../styles/typography/index.js";import"../../../../styles/counter/counter.module.scss.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"@material-ui/core";import"../../../Modal/CorvaModal.scss.js";import"@icon-park/react/es/all";import"../../../../icons/IconParkProvider.js";import"../../../../icons/customIcons/icons/AddMessage.js";import"../../../../icons/customIcons/icons/Attention.js";import"../../../../icons/customIcons/icons/Collapse.js";import"../../../../icons/customIcons/icons/Dashboard.js";import"../../../../icons/customIcons/icons/Expand.js";import"../../../../icons/customIcons/icons/FolderClosed.js";import"../../../../icons/customIcons/icons/FolderClosedFilled.js";import"../../../../icons/customIcons/icons/FolderOpened.js";import"../../../../icons/customIcons/icons/GreaterOrEqual.js";import"../../../../icons/customIcons/icons/LessOrEqual.js";import"../../../../icons/customIcons/icons/Search.js";import"../../../../icons/customIcons/icons/SearchOne.js";import"../../../../icons/customIcons/icons/Wellhub.js";import"../../../../icons/customIcons/icons/MultiRuler.js";import"../../../../icons/customIcons/icons/Checkbox.js";import"../../../../icons/customIcons/icons/CheckboxChecked.js";import"../../../../icons/customIcons/icons/CheckboxIndeterminate.js";import"../../../../icons/customIcons/icons/Radio.js";import"../../../../icons/customIcons/icons/RadioChecked.js";import"../../../../icons/customIcons/icons/SimulFrac.js";import"../../../../icons/customIcons/icons/ZipperFrac.js";import"../../../../icons/customIcons/icons/CautionFilled.js";import"../../../../icons/customIcons/icons/MoreApp.js";import"../../../../icons/customIcons/icons/Pad.js";import"../../../../icons/customIcons/icons/DrilloutUnit.js";import"../../../../icons/customIcons/icons/FracFleet.js";import"../../../../icons/customIcons/icons/Global.js";import"../../../../icons/customIcons/icons/Program.js";import"../../../../icons/customIcons/icons/Rig.js";import"../../../../icons/customIcons/icons/Well.js";import"../../../../icons/customIcons/icons/Gap.js";import"../../../../icons/customIcons/icons/Pin.js";import"../../../../icons/customIcons/icons/CloseOneFilled.js";import"../../../../icons/customIcons/icons/AttentionFilled.js";import"../../../../icons/customIcons/icons/CheckOneFilled.js";import"../../../../icons/customIcons/icons/Archive.js";import"../../../../icons/customIcons/icons/ArchiveCancel.js";import"../../../../icons/customIcons/icons/Unarchive.js";import"../../../../icons/customIcons/icons/Archived.js";import"../../../../icons/customIcons/icons/InterventionUnit.js";import"../../../../icons/customIcons/icons/CloudDelete.js";import"../../../../icons/customIcons/icons/Lasso.js";import"../../../../icons/customIcons/icons/Radius.js";import"../../../../icons/customIcons/icons/ErrorOps.js";import"../../../../icons/customIcons/icons/DataTypeOps.js";import"../../../../icons/customIcons/icons/FalsePositiveOps.js";import"../../../../icons/customIcons/icons/CalibrationOps.js";import"../../../../icons/customIcons/icons/CriticalOps.js";import"../../../../icons/customIcons/icons/Company.js";import"../../../../icons/customIcons/icons/ArchiveOne.js";import"../../../../icons/customIcons/icons/ParseBotFusion.js";import"../../../../icons/customIcons/icons/Connect.js";import"../../../../icons/customIcons/icons/PuzzleOne.js";import"../../../../icons/customIcons/icons/Feed.js";import"../../../../icons/customIcons/icons/Prompt.js";import"../../../../icons/customIcons/icons/Companies.js";import"../../../../icons/customIcons/icons/ClipboardAi.js";import"../../../../icons/customIcons/icons/Key.js";import"../../../../icons/customIcons/icons/AtSignCrossed.js";import"../../../../icons/customIcons/icons/MappingManual.js";import"../../../../icons/customIcons/icons/Mapping.js";import"../../../../icons/customIcons/icons/Metrics.js";import"../../../../icons/customIcons/icons/Drops.js";import"../../../../icons/customIcons/icons/ClipboardSearch.js";import"../../../../icons/customIcons/icons/Template.js";import"../../../../icons/customIcons/icons/ClipboardMetrics.js";import"../../../../icons/customIcons/icons/ClipboardBuilder.js";import"../../../../icons/customIcons/icons/UnitConversion.js";import"../../../../icons/customIcons/icons/NPT.js";import"../../../../icons/customIcons/icons/GuidedFrac.js";import"../../../../utils/mobileDetect.js";import"../../../IconButton/index.js";import"../../../../constants/goals.js";import"../../../../constants/segment.js";import"../../../../constants/alerts.js";import"../../../../constants/apps.js";import"../../../../constants/drillstring.js";import"../../../../constants/completion.js";import"../../../../constants/appPackages.js";import"../../../../constants/notifications.js";import"../../../../constants/feed.js";import"../../../../constants/bha.js";import"../../../../constants/corvaCompanyId.js";import"../../../GradientManager/configuration/constants.js";import"@babel/runtime/helpers/slicedToArray";import"uuid";import"../../../IconMenu/index.js";import"../../../StyledMenuItem/index.js";import"../../../AppIcon/AppIcon.js";import"../../../DevCenter/AppHeader/AppHeader.js";import"../../../DevCenter/AppSideBar/AppSideBar.js";import"../../../DevCenter/AppsDataProvider/AppsDataProvider.js";import"@material-ui/icons";import"../../../DevCenter/AppContext.js";import"../../../DevCenter/DevCenterRouterContext/DevCenterRouterContext.js";import"../../../DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js";import"react-router-dom";import"query-string";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"../../../../utils/index.js";import"../../../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/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/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{Modal as C}from"../../../../componentsV2/Modal/Modal.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"../../../../clients/jsonApi/index.js";import"../../../../permissions/PermissionsContext.js";import"../../../../permissions/constants/index.js";import"../../../../permissions/withPermissionsHOC.js";import"../../../../permissions/ProvidePermissions.js";import"../../../../componentsV2/BadgeDot/BadgeDot.scss.js";import"../../../../componentsV2/LoaderLinear/LoaderLinear.scss.js";import"../../../../componentsV2/LoaderLogo/LoaderLogo.constants.js";import"../../../../componentsV2/LoaderLogo/LoaderLogo.scss.js";import"../../../../componentsV2/Switch/Switch.js";import"../../../../componentsV2/Tabs/Tabs.js";import"../../../../componentsV2/EmptyState/EmptyState.scss.js";import"../../../../componentsV2/FileIcon/FileIcon.js";import"../../../../componentsV2/Tag/Tag.js";import"react-dropzone";import"../../../../componentsV2/FilesDropzone/FilesDropzone.scss.js";import"../../../../componentsV2/FilesLoader/FilesLoader.scss.js";import"../../../../componentsV2/FilesProcessor/FilesProcessor.scss.js";import"../../../../componentsV2/Skeleton/Skeleton.scss.js";import"../../../../utils/main.js";import"../../../../componentsV2/CopyToClipboard/CopyToClipboard.scss.js";import"../../../../componentsV2/Stepper/Step/Step.scss.js";import"../../../../componentsV2/Stepper/Stepper.scss.js";import"../../../../componentsV2/ButtonLive/ButtonLive.js";import"../../../../componentsV2/ButtonText/ButtonText.js";import"../../../../componentsV2/IndicatorLive/IndicatorLive.js";import"../../../../componentsV2/Accordion/Accordion.scss.js";import"../../../../componentsV2/Breadcrumbs/Breadcrumbs.scss.js";import"../../../../componentsV2/BadgeComment/BadgeComment.js";import"../../../../componentsV2/AppContainer/AppContainer.js";import"../../../../componentsV2/AppContainer/AppContainer.constants.js";import"../../../../componentsV2/AppFooter/AppFooter.js";import"immutable";import"../../../../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/Autocomplete/Autocomplete.js";import"../../../../componentsV2/Select/Select.js";import"../../../../componentsV2/AppSettingsDivider/AppSettingsDivider.scss.js";import"../../../../componentsV2/WellArchivedMessage/WellArchivedMessage.js";import"../../../../componentsV2/DatePicker/DatePicker.js";import"../../../../componentsV2/DragHandle/DragHandle.js";import"../../../../componentsV2/CompletionsOffsetWellPicker/CompletionsOffsetWellPicker.js";import"../../../../componentsV2/Slider/constants.js";import"../../../../componentsV2/Slider/components/SliderThumb.js";import"../../../../componentsV2/Slider/Slider.scss.js";import"react-color";import"../../../../componentsV2/ColorPicker/Swatches/Swatches.scss.js";import"../../../../componentsV2/ColorPicker/OpacityDragtracker/OpacityDragTracker.scss.js";import"../../../../componentsV2/ColorPicker/ColorPicker.scss.js";import"../../../DevCenter/DevCenterAppContainer/components/FullscreenButton/FullscreenButton.js";import"../../../DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.js";import"../../../DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.js";import"../../../DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/index.js";import"../../../DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.scss.js";import"../../../DevCenter/DevCenterAppContainer/DevCenterAppContainer.scss.js";import"../../../Icons/AnnotationIcon.js";import"../../../Annotations/components/AnnotationsList/index.js";import"../../../Annotations/components/LastAnnotation/index.js";import"../../../Annotations/AnnotationsContext.js";import"../../../Toaster/Toaster.js";import"../../../HelpCenter/HelpCenterIcon.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 A from"../../../LoadingIndicator/LoadingIndicator.js";import"../../../Typography.js";import"../../../RealTimeValuesSidebar/RealTimeSidebar.js";import"../../../CollapsableSidebar.js";import"../../../DateTimePicker/index.js";import"../../../DatePicker/index.js";import"../../../ErrorBoundary/ErrorBoundary.js";import"../../../ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.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/components/buttons/DragToZoomButton.js";import"../../../Chart/components/buttons/ZoomInButton.js";import"../../../Chart/components/buttons/ZoomOutButton.js";import"../../../Chart/components/buttons/PanButton.js";import"../../../Chart/components/buttons/ResetZoomButton.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"@material-ui/icons/AddCircle";import"../../../GradientManager/GradientPreview/GradientPreview.js";import"../../../GradientManager/GradientSelect.styles.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"../../../OffsetWellChips/Chip.js";import"../../../OffsetWellChips/ChipsContainer.js";import"../OffsetWellPickerV5WithStore/OffsetWellPickerV5WithStore.js";import"../../../OffsetWellMap/OffsetWellMap.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/PadOffsetsPicker.js";import"../../../PadOffsetsPicker/OffsetAssetChip.js";import"../../../PadOffsetsPicker/OffsetAssetsListExpander.js";import"../../../PadOffsetsPicker/StagesSelector.js";import"../../../PadOffsetsPickerV2/PadOffsetsPickerV2.js";import"../../../Table/TableToolbar/TableToolbar.js";import"../../../Table/TableContainer/TableContainer.js";import"../../../Table/TableCell/TableCell.js";import"../../../Table/TablePagination/TablePagination.js";import"../../../Table/TablePaginationActions/TablePaginationActions.js";import"../../../Tooltip/ScrollableTooltip.js";import"../../../PriceInput/PriceInput.js";import"../../../LabelsCounter/LabelsCounter.js";import"../../../Stepper/Stepper.js";import"../../../Stepper/Step/Step.js";import"../../../Stepper/StepsWrapper.js";import"../../../Comment/CommentIcon/index.js";import"../../../FilesLoader/FilesLoader.js";import"../../../../componentsV2/FileIcon/icons/ArchiveFileIcon.js";import"../../../../componentsV2/FileIcon/icons/CSVFileIcon.js";import"../../../../componentsV2/FileIcon/icons/DocFileIcon.js";import"../../../../componentsV2/FileIcon/icons/EDMFileIcon.js";import"../../../../componentsV2/FileIcon/icons/ExcelFileIcon.js";import"../../../../componentsV2/FileIcon/icons/ImageFileIcon.js";import"../../../../componentsV2/FileIcon/icons/JsonFileIcon.js";import"../../../../componentsV2/FileIcon/icons/LasFileIcon.js";import"../../../../componentsV2/FileIcon/icons/OtherFileIcon.js";import"../../../../componentsV2/FileIcon/icons/PdfFileIcon.js";import"../../../../componentsV2/FileIcon/icons/PowerPointFileIcon.js";import"../../../../componentsV2/FileIcon/icons/TxtFileIcon.js";import"../../../../componentsV2/FileIcon/icons/UnknownFileIcon.js";import"../../../../componentsV2/FileIcon/icons/VideoFileIcon.js";import"../../../../componentsV2/FileIcon/icons/XmlFileIcon.js";import"../../../SearchInput/index.js";import"../../../FeedItem/FeedItem.js";import"../../../FeedItem/FeedItemEditProvider/FeedItemEditProvider.js";import"../../../PostInput/PostInput.js";import"../../../KeyboardDateTimePicker.js";import"../../../AddComment/Popover.js";import"../../../AddComment/Popup.js";import"../../../StageDesignVActual/ComparisonBar/ComparisonBar.js";import"../../../StageDesignVActual/ElementsComparison/ElementsComparison.js";import"../../../StageDesignVActual/ComparisonHeader.js";import"../../../StageDesignVActual/ComparisonRow.js";import"../../../EmbeddedApp/DevCenterEmbeddedApp.js";import"../../../EmbeddedApp/EmbeddedApp.js";import"../../../Autocomplete/Autocomplete.js";import"../../../DocumentViewer/DocumentViewer.js";import"../../../ColorPickerPalette/ColorPickerPalette.js";import"../../../Search/Search.js";import"../../../Search/components/Listbox.js";import"../../../Search/components/Paper.js";import"../../../Search/components/RecentSearches.js";import"../../../Search/components/Groups.js";import"../../../Search/components/SelectAllListItem.js";import"../../../StatusBadge/index.js";import"../../../Attachment/index.js";import"../../../EmojiIconButton.js";import"../../../FileUploadIconButton.js";import"../../../FilePreview/index.js";import"../../../FailedFileUploading.js";import"../../../UserMention/index.js";import"../../../CommentsInfo/index.js";import"../../../CommentInput/index.js";import"../../../Comment/index.js";import"../../../CommentLoader.js";import"../../../AssetNameLabel/AssetStatusBadge.js";import"../../../AssetEditorV2/components/PrimaryAssetSelect.js";import"../../../AssetEditorV2/components/SecondaryAssetSelect.js";import"../../../AssetEditorV2/components/SelectItem.js";import"../../../AssetEditorV2/components/MultipleAssetsToggle.js";import"../../../AssetEditorV2/components/PrimaryAssetSelectV2.js";import"../../../EChartsWrapper/EChartsWrapper.js";import"../../../AssetsMultipleSelector/AssetsMultipleSelector.js";import"@material-ui/icons/Close";import"@material-ui/icons/GetApp";import"../../../GoogleDocsViewer/index.js";import"../../../NewDocumentViewer/effects/useFileContent.js";import"../../../NewDocumentViewer/styles.js";import"../../../FilesLoaderV2/styles.js";import"../../../FilesDropzone/styles.js";import"../../../FilesProcessor/styles.js";import"../../../Hint/styles.js";import"@babel/runtime/helpers/taggedTemplateLiteral";import"fparser";import"../../../Formula/useFormulaStyles.js";import"../../../Formula/RootXIcon.js";import"../../../Formula/FormulaTextEditor.js";import"../../../Formula/CloseSuggestion.js";import"../../../Formula/SuggestionsMenu.js";var S=u,I=function(u){var I,V=u.open,h=u.isMobile,g=u.isViewOnly,v=u.isMapHidden,b=u.isFilterExpanded,f=u.isVScrollMoved,D=u.isLoading,P=u.isTableFullLoading,T=u.isResetVisible,x=u.isOffsetSourceKnown,F=u.hasOffsetSource,B=u.hasSavedHandpicked,y=u.isSynced,W=u.isLimitedOffsetWells,M=u.isWellSectionColumnVisible,L=u.isAllWellsSelected,k=u.indeterminate,O=u.isXtoProvider,E=u.hasValidAssetId,H=u.syncedOffsetLabel,w=u.savedOffsetLabel,R=u.resetTooltipLabel,N=u.maxOffsetWellNumber,G=u.subjectWell,q=u.subjectWellId,z=u.selectedWells,U=u.selectedWellIds,K=u.selectedWellsCount,Z=u.selectedWellSection,X=u.filteredWells,J=u.wellsToDisplay,Q=u.sortedWells,Y=u.tableWells,$=u.tableRowsCount,_=u.wellSections,oo=u.metricsKeys,eo=u.setMetricsKeys,to=u.columnsWithDict,so=u.taScores,io=u.filterOptions,no=u.loadingWellIds,ro=u.loadingAssetIds,po=u.filters,mo=u.currentSelectionZone,co=u.activeWellId,lo=u.sortBy,ao=u.setSortBy,jo=u.sortDirection,uo=u.setSortDirection,Co=u.shouldRecenter,Ao=u.wells,So=u.handleCancel,Io=u.handleSave,Vo=u.handleReset,ho=u.handleChangeOffsetWell,go=u.handleBatchSelectWells,vo=u.handleChangeAllOffsetWells,bo=u.handleSelectionZoneConfirm,fo=u.handleChangeWellSection,Do=u.handleAddRemoveAssets,Po=u.handleScroll,To=u.setActiveWellId,xo=u.setShouldRecenter,Fo=u.setIsAdvancedSearchHidden,Bo=u.wellsMapRef,yo=u.headTableRef,Wo=u.rightColumnRef,Mo=u.isAnimatingRef,Lo=i((function(){return Ao?p(Ao,"id").length:0}),[Ao]),ko=n((function(o){eo(o)}),[eo]);return e(C,{open:!!V,onClose:So,size:"fullscreen",className:d.modalDialog,title:e(m,{totalCount:Lo,filteredCount:null!==(I=null==X?void 0:X.length)&&void 0!==I?I:0,selectedCount:K,maxOffsetWellNumber:N,isXtoProvider:O,metricsKeys:oo,onChangeMetricsKeys:ko}),actions:!g&&e(c,{isLoading:D,isResetVisible:T,isOffsetSourceKnown:x,hasOffsetSource:F,isSynced:y,isMobile:h,hasValidAssetId:E,syncedOffsetLabel:H,resetTooltipLabel:R,selectedWellsCount:K,handleCancel:So,handleSave:Io,handleReset:Vo}),children:t("div",{className:r(d.offsetWellDialog),children:[e(j,{}),D?e(A,{}):t("div",{className:r(d.contentWrapper,o({},d.contentBlocked,P)),children:[t("div",{className:d.columnsContainer,children:[e(l,{isMapHidden:v,open:V,subjectWell:G,selectedWells:z,wellsToDisplay:J,handleChangeOffsetWell:ho,handleBatchSelectWells:go,activeWellId:co,currentSelectionZone:mo,handleSelectionZoneConfirm:bo,shouldRecenter:Co,setShouldRecenter:xo,wellsMapRef:Bo}),e(a,{isMobile:h,isViewOnly:g,isFilterExpanded:b,isVScrollMoved:f,isTableFullLoading:P,isLimitedOffsetWells:W,isWellSectionColumnVisible:M,isAllWellsSelected:L,indeterminate:k,subjectWellId:q,selectedWellIds:U,selectedWellSection:Z,sortedWells:Q,tableWells:Y,tableRowsCount:$,wellSections:_,metricsKeys:oo,setMetricsKeys:eo,columnsWithDict:to,taScores:so,filterOptions:io,loadingWellIds:no,loadingAssetIds:ro,filters:po,sortBy:lo,setSortBy:ao,sortDirection:jo,setSortDirection:uo,maxOffsetWellNumber:N,handleChangeOffsetWell:ho,handleChangeAllOffsetWells:vo,handleChangeWellSection:fo,handleAddRemoveAssets:Do,handleScroll:Po,setActiveWellId:To,setIsAdvancedSearchHidden:Fo,wellsMapRef:Bo,headTableRef:yo,rightColumnRef:Wo,isAnimatingRef:Mo})]}),g&&E&&F&&x&&e("div",{className:d.viewOnlyInfoContainer,children:t(s,B?{children:[e("span",{className:r(S.regular12,S.colors.t6),children:"Last saved offsets from "}),e("span",{className:r(S.medium12,S.colors.t6),children:w.endsWith(".")?w.slice(0,-1):w}),e("span",{className:r(S.regular12,S.colors.t6),children:" with manual picks."})]}:{children:[e("span",{className:r(S.regular12,S.colors.t6),children:"The offset list is being automatically populated by "}),e("span",{className:r(S.medium12,S.colors.t6),children:w})]})})]})]})})};export{I as OffsetWellPickerContent};
1
+ import o from"@babel/runtime/helpers/defineProperty";import{jsx as e,jsxs as t,Fragment as s}from"react/jsx-runtime";import{useMemo as i,useCallback as n}from"react";import r from"classnames";import{uniqBy as p}from"lodash";import{AppHeader as m}from"../AppHeader/AppHeader.js";import{PickerModalActions as c}from"../PickerModalActions/PickerModalActions.js";import{MapColumn as l}from"../MapColumn/MapColumn.js";import{TableSection as a}from"../TableSection/TableSection.js";import{useElementSize as d}from"../../hooks/useElementSize.js";import j from"../../OffsetWellPickerV5.module.css.js";import"@material-ui/core/Snackbar";import"../../../Notifications/Toast.js";import"../../../Notifications/Notifications.scss.js";import{NotificationsContainer as u}from"../../../Notifications/NotificationsContainer.js";import C from"../../../../styles/typography/index.js";import"../../../../styles/counter/counter.module.scss.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"@material-ui/core";import"../../../Modal/CorvaModal.scss.js";import"@icon-park/react/es/all";import"../../../../icons/IconParkProvider.js";import"../../../../icons/customIcons/icons/AddMessage.js";import"../../../../icons/customIcons/icons/Attention.js";import"../../../../icons/customIcons/icons/Collapse.js";import"../../../../icons/customIcons/icons/Dashboard.js";import"../../../../icons/customIcons/icons/Expand.js";import"../../../../icons/customIcons/icons/FolderClosed.js";import"../../../../icons/customIcons/icons/FolderClosedFilled.js";import"../../../../icons/customIcons/icons/FolderOpened.js";import"../../../../icons/customIcons/icons/GreaterOrEqual.js";import"../../../../icons/customIcons/icons/LessOrEqual.js";import"../../../../icons/customIcons/icons/Search.js";import"../../../../icons/customIcons/icons/SearchOne.js";import"../../../../icons/customIcons/icons/Wellhub.js";import"../../../../icons/customIcons/icons/MultiRuler.js";import"../../../../icons/customIcons/icons/Checkbox.js";import"../../../../icons/customIcons/icons/CheckboxChecked.js";import"../../../../icons/customIcons/icons/CheckboxIndeterminate.js";import"../../../../icons/customIcons/icons/Radio.js";import"../../../../icons/customIcons/icons/RadioChecked.js";import"../../../../icons/customIcons/icons/SimulFrac.js";import"../../../../icons/customIcons/icons/ZipperFrac.js";import"../../../../icons/customIcons/icons/CautionFilled.js";import"../../../../icons/customIcons/icons/MoreApp.js";import"../../../../icons/customIcons/icons/Pad.js";import"../../../../icons/customIcons/icons/DrilloutUnit.js";import"../../../../icons/customIcons/icons/FracFleet.js";import"../../../../icons/customIcons/icons/Global.js";import"../../../../icons/customIcons/icons/Program.js";import"../../../../icons/customIcons/icons/Rig.js";import"../../../../icons/customIcons/icons/Well.js";import"../../../../icons/customIcons/icons/Gap.js";import"../../../../icons/customIcons/icons/Pin.js";import"../../../../icons/customIcons/icons/CloseOneFilled.js";import"../../../../icons/customIcons/icons/AttentionFilled.js";import"../../../../icons/customIcons/icons/CheckOneFilled.js";import"../../../../icons/customIcons/icons/Archive.js";import"../../../../icons/customIcons/icons/ArchiveCancel.js";import"../../../../icons/customIcons/icons/Unarchive.js";import"../../../../icons/customIcons/icons/Archived.js";import"../../../../icons/customIcons/icons/InterventionUnit.js";import"../../../../icons/customIcons/icons/CloudDelete.js";import"../../../../icons/customIcons/icons/Lasso.js";import"../../../../icons/customIcons/icons/Radius.js";import"../../../../icons/customIcons/icons/ErrorOps.js";import"../../../../icons/customIcons/icons/DataTypeOps.js";import"../../../../icons/customIcons/icons/FalsePositiveOps.js";import"../../../../icons/customIcons/icons/CalibrationOps.js";import"../../../../icons/customIcons/icons/CriticalOps.js";import"../../../../icons/customIcons/icons/Company.js";import"../../../../icons/customIcons/icons/ArchiveOne.js";import"../../../../icons/customIcons/icons/ParseBotFusion.js";import"../../../../icons/customIcons/icons/Connect.js";import"../../../../icons/customIcons/icons/PuzzleOne.js";import"../../../../icons/customIcons/icons/Feed.js";import"../../../../icons/customIcons/icons/Prompt.js";import"../../../../icons/customIcons/icons/Companies.js";import"../../../../icons/customIcons/icons/ClipboardAi.js";import"../../../../icons/customIcons/icons/Key.js";import"../../../../icons/customIcons/icons/AtSignCrossed.js";import"../../../../icons/customIcons/icons/MappingManual.js";import"../../../../icons/customIcons/icons/Mapping.js";import"../../../../icons/customIcons/icons/Metrics.js";import"../../../../icons/customIcons/icons/Drops.js";import"../../../../icons/customIcons/icons/ClipboardSearch.js";import"../../../../icons/customIcons/icons/Template.js";import"../../../../icons/customIcons/icons/ClipboardMetrics.js";import"../../../../icons/customIcons/icons/ClipboardBuilder.js";import"../../../../icons/customIcons/icons/UnitConversion.js";import"../../../../icons/customIcons/icons/NPT.js";import"../../../../icons/customIcons/icons/GuidedFrac.js";import"../../../../utils/mobileDetect.js";import"../../../IconButton/index.js";import"../../../../constants/goals.js";import"../../../../constants/segment.js";import"../../../../constants/alerts.js";import"../../../../constants/apps.js";import"../../../../constants/drillstring.js";import"../../../../constants/completion.js";import"../../../../constants/appPackages.js";import"../../../../constants/notifications.js";import"../../../../constants/feed.js";import"../../../../constants/bha.js";import"../../../../constants/corvaCompanyId.js";import"../../../GradientManager/configuration/constants.js";import"@babel/runtime/helpers/slicedToArray";import"uuid";import"../../../IconMenu/index.js";import"../../../StyledMenuItem/index.js";import"../../../AppIcon/AppIcon.js";import"../../../DevCenter/AppHeader/AppHeader.js";import"../../../DevCenter/AppSideBar/AppSideBar.js";import"../../../DevCenter/AppsDataProvider/AppsDataProvider.js";import"@material-ui/icons";import"../../../DevCenter/AppContext.js";import"../../../DevCenter/DevCenterRouterContext/DevCenterRouterContext.js";import"../../../DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js";import"react-router-dom";import"query-string";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"../../../../utils/index.js";import"../../../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/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/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{Modal as A}from"../../../../componentsV2/Modal/Modal.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"../../../../clients/jsonApi/index.js";import"../../../../permissions/PermissionsContext.js";import"../../../../permissions/constants/index.js";import"../../../../permissions/withPermissionsHOC.js";import"../../../../permissions/ProvidePermissions.js";import"../../../../componentsV2/BadgeDot/BadgeDot.scss.js";import"../../../../componentsV2/LoaderLinear/LoaderLinear.scss.js";import"../../../../componentsV2/LoaderLogo/LoaderLogo.constants.js";import"../../../../componentsV2/LoaderLogo/LoaderLogo.scss.js";import"../../../../componentsV2/Switch/Switch.js";import"../../../../componentsV2/Tabs/Tabs.js";import"../../../../componentsV2/EmptyState/EmptyState.scss.js";import"../../../../componentsV2/FileIcon/FileIcon.js";import"../../../../componentsV2/Tag/Tag.js";import"react-dropzone";import"../../../../componentsV2/FilesDropzone/FilesDropzone.scss.js";import"../../../../componentsV2/FilesLoader/FilesLoader.scss.js";import"../../../../componentsV2/FilesProcessor/FilesProcessor.scss.js";import"../../../../componentsV2/Skeleton/Skeleton.scss.js";import"../../../../utils/main.js";import"../../../../componentsV2/CopyToClipboard/CopyToClipboard.scss.js";import"../../../../componentsV2/Stepper/Step/Step.scss.js";import"../../../../componentsV2/Stepper/Stepper.scss.js";import"../../../../componentsV2/ButtonLive/ButtonLive.js";import"../../../../componentsV2/ButtonText/ButtonText.js";import"../../../../componentsV2/IndicatorLive/IndicatorLive.js";import"../../../../componentsV2/Accordion/Accordion.scss.js";import"../../../../componentsV2/Breadcrumbs/Breadcrumbs.scss.js";import"../../../../componentsV2/BadgeComment/BadgeComment.js";import"../../../../componentsV2/AppContainer/AppContainer.js";import"../../../../componentsV2/AppContainer/AppContainer.constants.js";import"../../../../componentsV2/AppFooter/AppFooter.js";import"immutable";import"../../../../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/Autocomplete/Autocomplete.js";import"../../../../componentsV2/Select/Select.js";import"../../../../componentsV2/AppSettingsDivider/AppSettingsDivider.scss.js";import"../../../../componentsV2/WellArchivedMessage/WellArchivedMessage.js";import"../../../../componentsV2/DatePicker/DatePicker.js";import"../../../../componentsV2/DragHandle/DragHandle.js";import"../../../../componentsV2/CompletionsOffsetWellPicker/CompletionsOffsetWellPicker.js";import"../../../../componentsV2/Slider/constants.js";import"../../../../componentsV2/Slider/components/SliderThumb.js";import"../../../../componentsV2/Slider/Slider.scss.js";import"react-color";import"../../../../componentsV2/ColorPicker/Swatches/Swatches.scss.js";import"../../../../componentsV2/ColorPicker/OpacityDragtracker/OpacityDragTracker.scss.js";import"../../../../componentsV2/ColorPicker/ColorPicker.scss.js";import"../../../DevCenter/DevCenterAppContainer/components/FullscreenButton/FullscreenButton.js";import"../../../DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.js";import"../../../DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.js";import"../../../DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/index.js";import"../../../DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.scss.js";import"../../../DevCenter/DevCenterAppContainer/DevCenterAppContainer.scss.js";import"../../../Icons/AnnotationIcon.js";import"../../../Annotations/components/AnnotationsList/index.js";import"../../../Annotations/components/LastAnnotation/index.js";import"../../../Annotations/AnnotationsContext.js";import"../../../Toaster/Toaster.js";import"../../../HelpCenter/HelpCenterIcon.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 S from"../../../LoadingIndicator/LoadingIndicator.js";import"../../../Typography.js";import"../../../RealTimeValuesSidebar/RealTimeSidebar.js";import"../../../CollapsableSidebar.js";import"../../../DateTimePicker/index.js";import"../../../DatePicker/index.js";import"../../../ErrorBoundary/ErrorBoundary.js";import"../../../ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.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/components/buttons/DragToZoomButton.js";import"../../../Chart/components/buttons/ZoomInButton.js";import"../../../Chart/components/buttons/ZoomOutButton.js";import"../../../Chart/components/buttons/PanButton.js";import"../../../Chart/components/buttons/ResetZoomButton.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"@material-ui/icons/AddCircle";import"../../../GradientManager/GradientPreview/GradientPreview.js";import"../../../GradientManager/GradientSelect.styles.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"../../../OffsetWellChips/Chip.js";import"../../../OffsetWellChips/ChipsContainer.js";import"../OffsetWellPickerV5WithStore/OffsetWellPickerV5WithStore.js";import"../../../OffsetWellMap/OffsetWellMap.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/PadOffsetsPicker.js";import"../../../PadOffsetsPicker/OffsetAssetChip.js";import"../../../PadOffsetsPicker/OffsetAssetsListExpander.js";import"../../../PadOffsetsPicker/StagesSelector.js";import"../../../PadOffsetsPickerV2/PadOffsetsPickerV2.js";import"../../../Table/TableToolbar/TableToolbar.js";import"../../../Table/TableContainer/TableContainer.js";import"../../../Table/TableCell/TableCell.js";import"../../../Table/TablePagination/TablePagination.js";import"../../../Table/TablePaginationActions/TablePaginationActions.js";import"../../../Tooltip/ScrollableTooltip.js";import"../../../PriceInput/PriceInput.js";import"../../../LabelsCounter/LabelsCounter.js";import"../../../Stepper/Stepper.js";import"../../../Stepper/Step/Step.js";import"../../../Stepper/StepsWrapper.js";import"../../../Comment/CommentIcon/index.js";import"../../../FilesLoader/FilesLoader.js";import"../../../../componentsV2/FileIcon/icons/ArchiveFileIcon.js";import"../../../../componentsV2/FileIcon/icons/CSVFileIcon.js";import"../../../../componentsV2/FileIcon/icons/DocFileIcon.js";import"../../../../componentsV2/FileIcon/icons/EDMFileIcon.js";import"../../../../componentsV2/FileIcon/icons/ExcelFileIcon.js";import"../../../../componentsV2/FileIcon/icons/ImageFileIcon.js";import"../../../../componentsV2/FileIcon/icons/JsonFileIcon.js";import"../../../../componentsV2/FileIcon/icons/LasFileIcon.js";import"../../../../componentsV2/FileIcon/icons/OtherFileIcon.js";import"../../../../componentsV2/FileIcon/icons/PdfFileIcon.js";import"../../../../componentsV2/FileIcon/icons/PowerPointFileIcon.js";import"../../../../componentsV2/FileIcon/icons/TxtFileIcon.js";import"../../../../componentsV2/FileIcon/icons/UnknownFileIcon.js";import"../../../../componentsV2/FileIcon/icons/VideoFileIcon.js";import"../../../../componentsV2/FileIcon/icons/XmlFileIcon.js";import"../../../SearchInput/index.js";import"../../../FeedItem/FeedItem.js";import"../../../FeedItem/FeedItemEditProvider/FeedItemEditProvider.js";import"../../../PostInput/PostInput.js";import"../../../KeyboardDateTimePicker.js";import"../../../AddComment/Popover.js";import"../../../AddComment/Popup.js";import"../../../StageDesignVActual/ComparisonBar/ComparisonBar.js";import"../../../StageDesignVActual/ElementsComparison/ElementsComparison.js";import"../../../StageDesignVActual/ComparisonHeader.js";import"../../../StageDesignVActual/ComparisonRow.js";import"../../../EmbeddedApp/DevCenterEmbeddedApp.js";import"../../../EmbeddedApp/EmbeddedApp.js";import"../../../Autocomplete/Autocomplete.js";import"../../../DocumentViewer/DocumentViewer.js";import"../../../ColorPickerPalette/ColorPickerPalette.js";import"../../../Search/Search.js";import"../../../Search/components/Listbox.js";import"../../../Search/components/Paper.js";import"../../../Search/components/RecentSearches.js";import"../../../Search/components/Groups.js";import"../../../Search/components/SelectAllListItem.js";import"../../../StatusBadge/index.js";import"../../../Attachment/index.js";import"../../../EmojiIconButton.js";import"../../../FileUploadIconButton.js";import"../../../FilePreview/index.js";import"../../../FailedFileUploading.js";import"../../../UserMention/index.js";import"../../../CommentsInfo/index.js";import"../../../CommentInput/index.js";import"../../../Comment/index.js";import"../../../CommentLoader.js";import"../../../AssetNameLabel/AssetStatusBadge.js";import"../../../AssetEditorV2/components/PrimaryAssetSelect.js";import"../../../AssetEditorV2/components/SecondaryAssetSelect.js";import"../../../AssetEditorV2/components/SelectItem.js";import"../../../AssetEditorV2/components/MultipleAssetsToggle.js";import"../../../AssetEditorV2/components/PrimaryAssetSelectV2.js";import"../../../EChartsWrapper/EChartsWrapper.js";import"../../../AssetsMultipleSelector/AssetsMultipleSelector.js";import"@material-ui/icons/Close";import"@material-ui/icons/GetApp";import"../../../GoogleDocsViewer/index.js";import"../../../NewDocumentViewer/effects/useFileContent.js";import"../../../NewDocumentViewer/styles.js";import"../../../FilesLoaderV2/styles.js";import"../../../FilesDropzone/styles.js";import"../../../FilesProcessor/styles.js";import"../../../Hint/styles.js";import"@babel/runtime/helpers/taggedTemplateLiteral";import"fparser";import"../../../Formula/useFormulaStyles.js";import"../../../Formula/RootXIcon.js";import"../../../Formula/FormulaTextEditor.js";import"../../../Formula/CloseSuggestion.js";import"../../../Formula/SuggestionsMenu.js";var I=C,V=function(C){var V,h=C.open,g=C.isMobile,v=C.isViewOnly,f=C.isMapHidden,b=C.isFilterExpanded,D=C.isVScrollMoved,P=C.isHScrollMoved,T=C.isLoading,x=C.isTableFullLoading,F=C.isResetVisible,B=C.isOffsetSourceKnown,y=C.hasOffsetSource,W=C.hasSavedHandpicked,M=C.isSynced,L=C.isLimitedOffsetWells,k=C.isWellSectionColumnVisible,O=C.isAllWellsSelected,E=C.indeterminate,H=C.isXtoProvider,w=C.hasValidAssetId,R=C.syncedOffsetLabel,N=C.savedOffsetLabel,G=C.resetTooltipLabel,q=C.maxOffsetWellNumber,z=C.subjectWell,U=C.subjectWellId,K=C.selectedWells,Z=C.selectedWellIds,X=C.selectedWellsCount,J=C.selectedWellSection,Q=C.filteredWells,Y=C.wellsToDisplay,$=C.sortedWells,_=C.tableWells,oo=C.tableRowsCount,eo=C.wellSections,to=C.metricsKeys,so=C.setMetricsKeys,io=C.columnsWithDict,no=C.taScores,ro=C.filterOptions,po=C.loadingWellIds,mo=C.loadingAssetIds,co=C.filters,lo=C.currentSelectionZone,ao=C.activeWellId,jo=C.sortBy,uo=C.setSortBy,Co=C.sortDirection,Ao=C.setSortDirection,So=C.shouldRecenter,Io=C.wells,Vo=C.handleCancel,ho=C.handleSave,go=C.handleReset,vo=C.handleChangeOffsetWell,fo=C.handleBatchSelectWells,bo=C.handleChangeAllOffsetWells,Do=C.handleSelectionZoneConfirm,Po=C.handleChangeWellSection,To=C.handleAddRemoveAssets,xo=C.handleScroll,Fo=C.setActiveWellId,Bo=C.setShouldRecenter,yo=C.setIsAdvancedSearchHidden,Wo=C.wellsMapRef,Mo=C.contentRef,Lo=C.rightColumnRef,ko=C.containerRef,Oo=C.isAnimatingRef,Eo=d(),Ho=Eo.ref,wo=Eo.width,Ro=i((function(){return Io?p(Io,"id").length:0}),[Io]),No=n((function(o){so(o)}),[so]);return e(A,{open:!!h,onClose:Vo,size:"fullscreen",className:j.modalDialog,title:e(m,{totalCount:Ro,filteredCount:null!==(V=null==Q?void 0:Q.length)&&void 0!==V?V:0,selectedCount:X,maxOffsetWellNumber:q,isXtoProvider:H,metricsKeys:to,onChangeMetricsKeys:No}),actions:!v&&e(c,{isLoading:T,isResetVisible:F,isOffsetSourceKnown:B,hasOffsetSource:y,isSynced:M,isMobile:g,hasValidAssetId:w,syncedOffsetLabel:R,resetTooltipLabel:G,selectedWellsCount:X,handleCancel:Vo,handleSave:ho,handleReset:go}),children:t("div",{className:r(j.offsetWellDialog),children:[e(u,{}),T?e(S,{}):t("div",{className:r(j.contentWrapper,o({},j.contentBlocked,x)),children:[t("div",{className:j.columnsContainer,ref:Ho,children:[e(l,{isMapHidden:f,open:h,subjectWell:z,selectedWells:K,wellsToDisplay:Y,handleChangeOffsetWell:vo,handleBatchSelectWells:fo,activeWellId:ao,currentSelectionZone:lo,handleSelectionZoneConfirm:Do,shouldRecenter:So,setShouldRecenter:Bo,wellsMapRef:Wo,containerWidth:wo}),e(a,{isMobile:g,isViewOnly:v,isFilterExpanded:b,isVScrollMoved:D,isHScrollMoved:P,isTableFullLoading:x,isLimitedOffsetWells:L,isWellSectionColumnVisible:k,isAllWellsSelected:O,indeterminate:E,subjectWellId:U,selectedWellIds:Z,selectedWellSection:J,sortedWells:$,tableWells:_,tableRowsCount:oo,wellSections:eo,metricsKeys:to,setMetricsKeys:so,columnsWithDict:io,taScores:no,filterOptions:ro,loadingWellIds:po,loadingAssetIds:mo,filters:co,sortBy:jo,setSortBy:uo,sortDirection:Co,setSortDirection:Ao,maxOffsetWellNumber:q,handleChangeOffsetWell:vo,handleChangeAllOffsetWells:bo,handleChangeWellSection:Po,handleAddRemoveAssets:To,handleScroll:xo,setActiveWellId:Fo,setIsAdvancedSearchHidden:yo,wellsMapRef:Wo,contentRef:Mo,rightColumnRef:Lo,containerRef:ko,isAnimatingRef:Oo})]}),v&&w&&y&&B&&e("div",{className:j.viewOnlyInfoContainer,children:t(s,W?{children:[e("span",{className:r(I.regular12,I.colors.t6),children:"Last saved offsets from "}),e("span",{className:r(I.medium12,I.colors.t6),children:N.endsWith(".")?N.slice(0,-1):N}),e("span",{className:r(I.regular12,I.colors.t6),children:" with manual picks."})]}:{children:[e("span",{className:r(I.regular12,I.colors.t6),children:"The offset list is being automatically populated by "}),e("span",{className:r(I.medium12,I.colors.t6),children:N})]})})]})]})})};export{V as OffsetWellPickerContent};
2
2
  //# sourceMappingURL=OffsetWellPickerContent.js.map
@@ -40,6 +40,7 @@ export type OffsetWellPickerContentProps = {
40
40
  isMapHidden: boolean;
41
41
  isFilterExpanded: boolean;
42
42
  isVScrollMoved: boolean;
43
+ isHScrollMoved: boolean;
43
44
  isLoading: boolean;
44
45
  isTableFullLoading: boolean;
45
46
  isResetVisible: boolean;
@@ -103,8 +104,9 @@ export type OffsetWellPickerContentProps = {
103
104
  setShouldRecenter: (value: boolean) => void;
104
105
  setIsAdvancedSearchHidden: (value: boolean) => void;
105
106
  wellsMapRef: RefObject<OffsetWellMapHandle | null>;
106
- headTableRef: RefObject<HTMLDivElement | null>;
107
+ contentRef: (node: HTMLElement | null) => void;
107
108
  rightColumnRef: RefObject<HTMLDivElement | null>;
109
+ containerRef: (node: HTMLDivElement | null) => void;
108
110
  isAnimatingRef: MutableRefObject<boolean>;
109
111
  };
110
112
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"OffsetWellPickerContent.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.types.ts"],"names":[],"mappings":"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"}
1
+ {"version":3,"file":"OffsetWellPickerContent.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.types.ts"],"names":[],"mappings":"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"}
@@ -1 +1 @@
1
- {"version":3,"file":"UserSettingsWrapper.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/components/UserSettingsWrapper/UserSettingsWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKtC,eAAO,MAAM,mBAAmB,EAAE,EAAE,CAAC;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,CAK3D,CAAC"}
1
+ {"version":3,"file":"UserSettingsWrapper.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/components/UserSettingsWrapper/UserSettingsWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAOtC,eAAO,MAAM,mBAAmB,EAAE,EAAE,CAAC;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,CAU3D,CAAC"}
@@ -1,2 +1,2 @@
1
- import{jsx as r}from"react/jsx-runtime";import{usePickerPropsStore as e}from"../../../../stores/picker-props-store/usePickerPropsStore.js";import{UserSettingsStoreProvider as t}from"../../../../stores/user-settings-store/UserSettingsStoreProvider.js";import"zustand";import"../../../../stores/user-settings-store/UserSettingsStoreContext.js";import"react";var s=function(s){var o=s.children,i=e((function(r){return r.currentUser})),n=null==i?void 0:i.id;return r(t,{userId:n,children:o})};s.displayName="UserSettingsWrapper";export{s as UserSettingsWrapper};
1
+ import{jsx as t}from"react/jsx-runtime";import{usePickerPropsStore as s}from"../../../../stores/picker-props-store/usePickerPropsStore.js";import{UserSettingsStoreProvider as o}from"../../../../stores/user-settings-store/UserSettingsStoreProvider.js";import"zustand";import"../../../../stores/user-settings-store/UserSettingsStoreContext.js";import"react";import"../../../../../../clients/subscriptions/constants.js";import"@babel/runtime/helpers/slicedToArray";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/regenerator";import"querystring";import"uuid/v1";import"lodash";import"../../../../../../clients/subscriptions.v1.js";import"../../../../../../clients/jsonApi/index.js";import"../../../../../../clients/subscriptions/subscriptions-client.factory.js";import"immutable";import"query-string";import"../../../../../../constants/goals.js";import"../../../../../../constants/segment.js";import"../../../../../../constants/alerts.js";import"../../../../../../constants/apps.js";import"../../../../../../constants/drillstring.js";import"../../../../../../constants/completion.js";import"../../../../../../constants/appPackages.js";import"../../../../../../constants/notifications.js";import"../../../../../../constants/feed.js";import"../../../../../../constants/bha.js";import"../../../../../../constants/corvaCompanyId.js";import"../../../../../GradientManager/configuration/constants.js";import"../../../../../../utils/index.js";import"uuid";import"jsona";import"../../../../../../utils/env.js";import"../../../../../StatusBadge/constants.js";import"@babel/runtime/helpers/toConsumableArray";import"lodash/set";import"lodash/get";import"lodash/unset";import"moment";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"../../../../../../constants/streamSourceType.js";import"../../../../../DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchContext.js";import"../../../../../../componentsV2/AppCommonsProvider/AppCommonsProvider.js";import{useAppCommons as r}from"../../../../../../componentsV2/AppCommonsProvider/AppCommonsContext.js";import"../../../../../../componentsV2/AppSettings/AppSettingsPinningContext.js";var i=function(i){var e,n,p=i.children,m=null===(e=r())||void 0===e?void 0:e.currentUser,a=s((function(t){return t.currentUser})),c=null===(n=null!=m?m:a)||void 0===n?void 0:n.id;return t(o,{userId:c,children:p})};i.displayName="UserSettingsWrapper";export{i as UserSettingsWrapper};
2
2
  //# sourceMappingURL=UserSettingsWrapper.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"AdvancedSearch.d.ts","sourceRoot":"","sources":["../../../../../../src/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AdvancedSearch.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oCAAoC,CAAC;AAStE,KAAK,mBAAmB,GAAG;IACzB,UAAU,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;IAC5B,aAAa,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,QAAQ,EAAE,CACR,QAAQ,EAAE,OAAO,EACjB,OAAO,EAAE,MAAM,EAAE,EACjB,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,MAAM,EAAE,GAAG,IAAI,KACpB,IAAI,CAAC;IACV,eAAe,EAAE,MAAM,EAAE,CAAC;IAC1B,oBAAoB,EAAE,MAAM,IAAI,CAAC;IACjC,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;IAC3B,OAAO,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;IAC7B,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,iIAS5B,mBAAmB,gBAoErB,CAAC"}
1
+ {"version":3,"file":"AdvancedSearch.d.ts","sourceRoot":"","sources":["../../../../../../src/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AdvancedSearch.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oCAAoC,CAAC;AAStE,KAAK,mBAAmB,GAAG;IACzB,UAAU,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;IAC5B,aAAa,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,QAAQ,EAAE,CACR,QAAQ,EAAE,OAAO,EACjB,OAAO,EAAE,MAAM,EAAE,EACjB,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,MAAM,EAAE,GAAG,IAAI,KACpB,IAAI,CAAC;IACV,eAAe,EAAE,MAAM,EAAE,CAAC;IAC1B,oBAAoB,EAAE,MAAM,IAAI,CAAC;IACjC,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;IAC3B,OAAO,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;IAC7B,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,iIAS5B,mBAAmB,gBAqErB,CAAC"}
@@ -1,2 +1,2 @@
1
- import o from"@babel/runtime/helpers/slicedToArray";import{jsxs as s,Fragment as c,jsx as i}from"react/jsx-runtime";import{useState as n,useRef as t}from"react";import{Popover as r}from"@material-ui/core";import{AutoCompleteAssetSearch as e}from"./components/AutoCompleteAssetSearch/AutoCompleteAssetSearch.js";import m from"./AdvancedSearch.module.css.js";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/helpers/objectWithoutProperties";import"@icon-park/react/es/all";import"../../../../../icons/IconParkProvider.js";import"../../../../../icons/customIcons/icons/AddMessage.js";import"../../../../../icons/customIcons/icons/Attention.js";import"../../../../../icons/customIcons/icons/Collapse.js";import"../../../../../icons/customIcons/icons/Dashboard.js";import"../../../../../icons/customIcons/icons/Expand.js";import"../../../../../icons/customIcons/icons/FolderClosed.js";import"../../../../../icons/customIcons/icons/FolderClosedFilled.js";import"../../../../../icons/customIcons/icons/FolderOpened.js";import"../../../../../icons/customIcons/icons/GreaterOrEqual.js";import"../../../../../icons/customIcons/icons/LessOrEqual.js";import{SearchIcon as p}from"../../../../../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{TextInputNext as u}from"../../../../../componentsV2/TextInputNext/TextInputNext.js";var l=function(l){var a=l.companyIds,I=void 0===a?null:a,j=l.subjectWellId,d=l.onChange,h=l.selectedWellIds,C=l.onHideAdvancedSearch,f=l.loadingAssetIds,v=void 0===f?[]:f,b=l.filters,A=void 0===b?null:b,O=l.isLimitedOffsetWells,F=void 0!==O&&O,g=n(null),P=o(g,2),W=P[0],x=P[1],S=n(""),k=o(S,2),M=k[0],y=k[1],R=n(null),N=o(R,2),T=N[0],z=N[1],D=t(null),E=function(){x(D.current),D.current&&z(D.current.offsetWidth)},G=function(){y(""),x(null),C()};return s(c,{children:[i(u,{testId:"ows_advanced_search",placeholder:"Search for Wells ...",prefix:i(p,{size:"small",fill:"currentColor",className:m.searchIcon}),inputContainerRef:D,value:M,onChange:function(o){y(o),o&&E()},htmlAttributes:{onClick:E},className:m.searchRoot,elementsClassNames:{input:m.searchInput}}),i(r,{open:Boolean(W),anchorEl:W,onClose:G,anchorOrigin:{vertical:"top",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"},children:i(e,{subjectWellId:j,value:M,companyIds:I,selectedWellIds:h,onChange:d,onClose:G,searchWidth:T,loadingAssetIds:v,filters:A,isLimitedOffsetWells:F})})]})};export{l as AdvancedSearch};
1
+ import o from"@babel/runtime/helpers/slicedToArray";import{jsxs as s,Fragment as c,jsx as i}from"react/jsx-runtime";import{useState as n,useRef as t}from"react";import{Popover as r}from"@material-ui/core";import{AutoCompleteAssetSearch as e}from"./components/AutoCompleteAssetSearch/AutoCompleteAssetSearch.js";import m from"./AdvancedSearch.module.css.js";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/helpers/objectWithoutProperties";import"@icon-park/react/es/all";import"../../../../../icons/IconParkProvider.js";import"../../../../../icons/customIcons/icons/AddMessage.js";import"../../../../../icons/customIcons/icons/Attention.js";import"../../../../../icons/customIcons/icons/Collapse.js";import"../../../../../icons/customIcons/icons/Dashboard.js";import"../../../../../icons/customIcons/icons/Expand.js";import"../../../../../icons/customIcons/icons/FolderClosed.js";import"../../../../../icons/customIcons/icons/FolderClosedFilled.js";import"../../../../../icons/customIcons/icons/FolderOpened.js";import"../../../../../icons/customIcons/icons/GreaterOrEqual.js";import"../../../../../icons/customIcons/icons/LessOrEqual.js";import"../../../../../icons/customIcons/icons/Search.js";import{SearchOne as p}from"../../../../../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{TextInputNext as l}from"../../../../../componentsV2/TextInputNext/TextInputNext.js";var u=function(u){var a=u.companyIds,I=void 0===a?null:a,j=u.subjectWellId,d=u.onChange,h=u.selectedWellIds,C=u.onHideAdvancedSearch,f=u.loadingAssetIds,v=void 0===f?[]:f,b=u.filters,A=void 0===b?null:b,O=u.isLimitedOffsetWells,F=void 0!==O&&O,g=n(null),P=o(g,2),W=P[0],x=P[1],S=n(""),k=o(S,2),M=k[0],y=k[1],R=n(null),z=o(R,2),N=z[0],T=z[1],D=t(null),E=function(){x(D.current),D.current&&T(D.current.offsetWidth)},G=function(){y(""),x(null),C()};return s(c,{children:[i(l,{testId:"ows_advanced_search",placeholder:"Search for Wells ...",size:"small",prefix:i(p,{size:"small",fill:"currentColor",className:m.searchIcon}),inputContainerRef:D,value:M,onChange:function(o){y(o),o&&E()},htmlAttributes:{onClick:E},className:m.searchRoot,elementsClassNames:{input:m.searchInput}}),i(r,{open:Boolean(W),anchorEl:W,onClose:G,anchorOrigin:{vertical:"top",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"},children:i(e,{subjectWellId:j,value:M,companyIds:I,selectedWellIds:h,onChange:d,onClose:G,searchWidth:N,loadingAssetIds:v,filters:A,isLimitedOffsetWells:F})})]})};export{u as AdvancedSearch};
2
2
  //# sourceMappingURL=AdvancedSearch.js.map
@@ -1,2 +1,2 @@
1
- import e from'./../../../../../ext-esm/style-inject/dist/style-inject.es.js';var c={searchRoot:"AdvancedSearch-module_searchRoot__uXjZS",searchInput:"AdvancedSearch-module_searchInput__3PPFw",searchIcon:"AdvancedSearch-module_searchIcon__Xq5uJ"};e(".AdvancedSearch-module_searchRoot__uXjZS{left:0;margin-left:0;margin-top:12px;position:sticky;width:100%;z-index:999}.AdvancedSearch-module_searchInput__3PPFw{font-size:16px}.AdvancedSearch-module_searchIcon__Xq5uJ{color:#bdbdbd}");export{c as default};
1
+ import e from'./../../../../../ext-esm/style-inject/dist/style-inject.es.js';var o={searchRoot:"AdvancedSearch-module_searchRoot__uXjZS",searchIcon:"AdvancedSearch-module_searchIcon__Xq5uJ"};e(".AdvancedSearch-module_searchRoot__uXjZS{left:0;margin-left:0;position:sticky;width:100%;z-index:999}.AdvancedSearch-module_searchIcon__Xq5uJ{color:#bdbdbd}");export{o as default};
2
2
  //# sourceMappingURL=AdvancedSearch.module.css.js.map
@@ -1,2 +1,2 @@
1
- import o from"@babel/runtime/helpers/slicedToArray";import{jsxs as s,jsx as t}from"react/jsx-runtime";import{useRef as e,useMemo as n}from"react";import i from"classnames";import{startCase as r,isEmpty as c}from"lodash";import{makeStyles as p,List as m,ListSubheader as a,ListItem as l,Typography as d}from"@material-ui/core";import{StatusOptions as u}from"../../../../../constants.js";import{SEARCH_CATEGORIES as j}from"../../constants.js";import{isAssetVisibleToUser as A}from"../../../../../utils/isAssetVisibleToUser.js";import{useIsAdmin as V}from"../../../../../hooks/useIsAdmin.js";import{useFilterStore as I}from"../../../../../stores/filter-store/useFilterStore.js";import{Checkbox as h}from"../../../../../../../componentsV2/Checkbox/Checkbox.js";import{Chip as C}from"../../../../../../../componentsV2/Chip/Chip.js";import"../../../../../../../componentsV2/Text/Text.js";import"../../../../../../../componentsV2/Grid/Grid.js";import"../../../../../../../componentsV2/Grid/Cell.js";import"@babel/runtime/helpers/defineProperty";import"../../../../../../../componentsV2/Header/Header.scss.js";import"../../../../../../../componentsV2/Button/Button.js";import"../../../../../../../componentsV2/ButtonIcon/ButtonIcon.js";import{Tooltip as g}from"../../../../../../../componentsV2/Tooltip/Tooltip.js";import"../../../../../../../componentsV2/Popover/Popover.js";import"../../../../../../../componentsV2/PopoverPanel/PopoverPanel.js";import"../../../../../../../componentsV2/Radio/Radio.js";import"@babel/runtime/helpers/objectWithoutProperties";import"../../../../../../../componentsV2/RadioAndCheckboxGroup/RadioAndCheckboxGroup.scss.js";import"@babel/runtime/helpers/toConsumableArray";import"../../../../../../../componentsV2/TextInput/TextInput.js";import"../../../../../../../componentsV2/TextInputNext/TextInputNext.js";import"../../../../../../../componentsV2/Label/Label.js";import"../../../../../../../componentsV2/TextEndTruncated/TextEndTruncated.scss.js";import{TextMiddleTruncated as v}from"../../../../../../../componentsV2/TextMiddleTruncated/TextMiddleTruncated.js";import"../../../../../../../componentsV2/TextMiddleTruncated/TextMiddleTruncated.constants.js";import"../../../../../../../componentsV2/TextLink/TextLink.js";import{LoaderCircular as S}from"../../../../../../../componentsV2/LoaderCircular/LoaderCircular.js";import"../../../../../../../componentsV2/ChipAlert/ChipAlert.js";import"../../../../../../../componentsV2/ChipIndicator/ChipIndicator.js";import"../../../../../../../componentsV2/Avatar/Avatar.js";import"../../../../../../../componentsV2/AvatarGroup/AvatarGroup.js";import"@material-ui/lab";import"../../../../../../../componentsV2/ToggleButtons/ToggleButtons.scss.js";import"../../../../../../../componentsV2/Paper/Paper.js";import"../../../../../../../componentsV2/ModalWindow/ModalWindow.js";import"uuid";import"../../../../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js";import"../../../../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js";import"../../../../../../DevCenter/DevCenterAppContainer/components/IsInsideIsolatedDcAppProvider/IsInsideIsolatedDcAppProvider.js";import"../../../../../../../componentsV2/Modal/Modal.scss.js";import"../../../../../../../componentsV2/Menu/Menu.js";import"@icon-park/react/es/all";import"../../../../../../../icons/IconParkProvider.js";import"../../../../../../../icons/customIcons/icons/AddMessage.js";import"../../../../../../../icons/customIcons/icons/Attention.js";import"../../../../../../../icons/customIcons/icons/Collapse.js";import"../../../../../../../icons/customIcons/icons/Dashboard.js";import"../../../../../../../icons/customIcons/icons/Expand.js";import"../../../../../../../icons/customIcons/icons/FolderClosed.js";import"../../../../../../../icons/customIcons/icons/FolderClosedFilled.js";import"../../../../../../../icons/customIcons/icons/FolderOpened.js";import"../../../../../../../icons/customIcons/icons/GreaterOrEqual.js";import"../../../../../../../icons/customIcons/icons/LessOrEqual.js";import"../../../../../../../icons/customIcons/icons/Search.js";import"../../../../../../../icons/customIcons/icons/SearchOne.js";import"../../../../../../../icons/customIcons/icons/Wellhub.js";import"../../../../../../../icons/customIcons/icons/MultiRuler.js";import"../../../../../../../icons/customIcons/icons/Checkbox.js";import"../../../../../../../icons/customIcons/icons/CheckboxChecked.js";import"../../../../../../../icons/customIcons/icons/CheckboxIndeterminate.js";import"../../../../../../../icons/customIcons/icons/Radio.js";import"../../../../../../../icons/customIcons/icons/RadioChecked.js";import"../../../../../../../icons/customIcons/icons/SimulFrac.js";import"../../../../../../../icons/customIcons/icons/ZipperFrac.js";import"../../../../../../../icons/customIcons/icons/CautionFilled.js";import"../../../../../../../icons/customIcons/icons/MoreApp.js";import"../../../../../../../icons/customIcons/icons/Pad.js";import"../../../../../../../icons/customIcons/icons/DrilloutUnit.js";import"../../../../../../../icons/customIcons/icons/FracFleet.js";import"../../../../../../../icons/customIcons/icons/Global.js";import"../../../../../../../icons/customIcons/icons/Program.js";import"../../../../../../../icons/customIcons/icons/Rig.js";import"../../../../../../../icons/customIcons/icons/Well.js";import"../../../../../../../icons/customIcons/icons/Gap.js";import"../../../../../../../icons/customIcons/icons/Pin.js";import"../../../../../../../icons/customIcons/icons/CloseOneFilled.js";import"../../../../../../../icons/customIcons/icons/AttentionFilled.js";import"../../../../../../../icons/customIcons/icons/CheckOneFilled.js";import"../../../../../../../icons/customIcons/icons/Archive.js";import"../../../../../../../icons/customIcons/icons/ArchiveCancel.js";import"../../../../../../../icons/customIcons/icons/Unarchive.js";import"../../../../../../../icons/customIcons/icons/Archived.js";import"../../../../../../../icons/customIcons/icons/InterventionUnit.js";import"../../../../../../../icons/customIcons/icons/CloudDelete.js";import"../../../../../../../icons/customIcons/icons/Lasso.js";import"../../../../../../../icons/customIcons/icons/Radius.js";import"../../../../../../../icons/customIcons/icons/ErrorOps.js";import"../../../../../../../icons/customIcons/icons/DataTypeOps.js";import"../../../../../../../icons/customIcons/icons/FalsePositiveOps.js";import"../../../../../../../icons/customIcons/icons/CalibrationOps.js";import"../../../../../../../icons/customIcons/icons/CriticalOps.js";import"../../../../../../../icons/customIcons/icons/Company.js";import"../../../../../../../icons/customIcons/icons/ArchiveOne.js";import"../../../../../../../icons/customIcons/icons/ParseBotFusion.js";import"../../../../../../../icons/customIcons/icons/Connect.js";import"../../../../../../../icons/customIcons/icons/PuzzleOne.js";import"../../../../../../../icons/customIcons/icons/Feed.js";import"../../../../../../../icons/customIcons/icons/Prompt.js";import"../../../../../../../icons/customIcons/icons/Companies.js";import"../../../../../../../icons/customIcons/icons/ClipboardAi.js";import"../../../../../../../icons/customIcons/icons/Key.js";import"../../../../../../../icons/customIcons/icons/AtSignCrossed.js";import"../../../../../../../icons/customIcons/icons/MappingManual.js";import"../../../../../../../icons/customIcons/icons/Mapping.js";import"../../../../../../../icons/customIcons/icons/Metrics.js";import"../../../../../../../icons/customIcons/icons/Drops.js";import"../../../../../../../icons/customIcons/icons/ClipboardSearch.js";import"../../../../../../../icons/customIcons/icons/Template.js";import"../../../../../../../icons/customIcons/icons/ClipboardMetrics.js";import"../../../../../../../icons/customIcons/icons/ClipboardBuilder.js";import"../../../../../../../icons/customIcons/icons/UnitConversion.js";import"../../../../../../../icons/customIcons/icons/NPT.js";import"../../../../../../../icons/customIcons/icons/GuidedFrac.js";import"../../../../../../../componentsV2/utils.js";import"../../../../../../../componentsV2/Hint/Hint.scss.js";import"../../../../../../../componentsV2/Counter/Counter.js";import"../../../../../../../componentsV2/BadgeBase/BadgeBase.scss.js";import"../../../../../../../componentsV2/TemplatesControl/TemplatesControl.js";import"zustand";import"../../../../../../../componentsV2/TemplatesControl/utils.js";import"../../../../../../../componentsV2/TemplatesControl/icons/folder/index.js";import"../../../../../../../componentsV2/TemplatesControl/Store/utils.js";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"../../../../../../../componentsV2/TemplatesControl/types.js";import"../../../../../../../utils/index.js";import"../../../../../../../clients/jsonApi/index.js";import"../../../../../../../permissions/PermissionsContext.js";import"../../../../../../../permissions/constants/index.js";import"../../../../../../../permissions/withPermissionsHOC.js";import"../../../../../../../permissions/ProvidePermissions.js";import"../../../../../../../componentsV2/BadgeDot/BadgeDot.scss.js";import"../../../../../../../componentsV2/LoaderLinear/LoaderLinear.scss.js";import"../../../../../../../componentsV2/LoaderLogo/LoaderLogo.constants.js";import"../../../../../../../componentsV2/LoaderLogo/LoaderLogo.scss.js";import"../../../../../../../componentsV2/Switch/Switch.js";import"../../../../../../../componentsV2/Tabs/Tabs.js";import"../../../../../../../componentsV2/EmptyState/EmptyState.scss.js";import"../../../../../../../componentsV2/FileIcon/FileIcon.js";import"../../../../../../../componentsV2/Tag/Tag.js";import"react-dropzone";import"../../../../../../../componentsV2/FilesDropzone/FilesDropzone.scss.js";import"../../../../../../../componentsV2/FilesLoader/FilesLoader.scss.js";import"../../../../../../../componentsV2/FilesProcessor/FilesProcessor.scss.js";import"../../../../../../../componentsV2/Skeleton/Skeleton.scss.js";import"../../../../../../../utils/main.js";import"../../../../../../../componentsV2/CopyToClipboard/CopyToClipboard.scss.js";import"../../../../../../../componentsV2/Stepper/Step/Step.scss.js";import"../../../../../../../componentsV2/Stepper/Stepper.scss.js";import"../../../../../../../componentsV2/ButtonLive/ButtonLive.js";import"../../../../../../../componentsV2/ButtonText/ButtonText.js";import"../../../../../../../componentsV2/IndicatorLive/IndicatorLive.js";import"../../../../../../../componentsV2/Accordion/Accordion.scss.js";import"../../../../../../../componentsV2/Breadcrumbs/Breadcrumbs.scss.js";import"../../../../../../../componentsV2/BadgeComment/BadgeComment.js";import"../../../../../../../componentsV2/AppContainer/AppContainer.js";import"../../../../../../../componentsV2/AppContainer/AppContainer.constants.js";import"../../../../../../../componentsV2/AppFooter/AppFooter.js";import"immutable";import"query-string";import"../../../../../../../constants/goals.js";import"../../../../../../../constants/segment.js";import"../../../../../../../constants/alerts.js";import"../../../../../../../constants/apps.js";import"../../../../../../../constants/drillstring.js";import"../../../../../../../constants/completion.js";import"../../../../../../../constants/appPackages.js";import"../../../../../../../constants/notifications.js";import"../../../../../../../constants/feed.js";import"../../../../../../../constants/bha.js";import"../../../../../../../constants/corvaCompanyId.js";import"../../../../../../GradientManager/configuration/constants.js";import"../../../../../../../componentsV2/AppCommonsProvider/AppCommonsContext.js";import"../../../../../../../componentsV2/AppHeader/AppHeader.constants.js";import"../../../../../../../componentsV2/AppHeader/AppBadge/AppBadge.scss.js";import"../../../../../../DevCenter/DevCenterRouterContext/DevCenterRouterContext.js";import"../../../../../../DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js";import"react-router-dom";import"../../../../../../../componentsV2/AppHeader/AppAssets/utils.js";import"../../../../../../../componentsV2/AppHeader/AppAssets/AppAssets.scss.js";import"../../../../../../PadModeSelect/PadModeSelect.js";import"../../../../../../../componentsV2/AppHeader/PadMode/PadMode.scss.js";import"../../../../../../../constants/streamSourceType.js";import"../../../../../../../componentsV2/PadModeSelect/PadModeSelect.js";import"../../../../../../../componentsV2/PadModeSelect/PadModeSelect.constants.js";import"../../../../../../../componentsV2/AppCommonsProvider/AppCommonsProvider.js";import"../../../../../../../utils/mobileDetect.js";import"../../../../../../../componentsV2/AppHeader/V3/VersionSelect/VersionSelect.js";import"../../../../../../../componentsV2/UniversalLink/UniversalLink.scss.js";import"../../../../../../../componentsV2/AppHeader/V3/AssetChips/AssetChips.scss.js";import"moment";import"../../../../../../../componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.js";import"../../../../../../../componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.constants.js";import"../../../../../../../componentsV2/AppFooter/DqPopover/DqStatusIcon/DqStatusIcon.js";import"../../../../../../../componentsV2/AppDqPopover/DqAlertTooltip/DqAlertTooltip.scss.js";import"../../../../../../../componentsV2/AppDqPopover/DqAlert/DqAlert.scss.js";import"../../../../../../../componentsV2/AppDqPopover/DqAsset/DqAsset.scss.js";import"../../../../../../../componentsV2/AppDqPopover/AppDqPopover.scss.js";import"../../../../../../AppIcon/AppIcon.js";import"../../../../../../../utils/getSingleAsset.js";import"../../../../../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorChip/AssetSelectorChip.js";import"../../../../../../../componentsV2/AppHeader/V3/AssetSelector/constants.js";import"../../../../../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/AssetSelectorSelect.scss.js";import"../../../../../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/loadAssets.js";import"../../../../../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelector.scss.js";import"../../../../../../../clients/subscriptions/constants.js";import"querystring";import"uuid/v1";import"../../../../../../../clients/subscriptions.v1.js";import"../../../../../../../clients/subscriptions/subscriptions-client.factory.js";import"jsona";import"../../../../../../../utils/env.js";import"../../../../../../StatusBadge/constants.js";import"lodash/set";import"lodash/get";import"lodash/unset";import"../../../../../../../clients/api/apiCore.js";import"../../../../../../../clients/constants.js";import"../../../../../../../clients/sso/auth0.js";import"../../../../../../../clients/sso/oauth2.js";import"../../../../../../../clients/api/rateLimiter.js";import"lodash/isEmpty";import"lodash/sortBy";import"../../../../../../DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchContext.js";import"../../../../../../../componentsV2/AppSettings/AppSettingsPinningContext.js";import"../../../../../../../componentsV2/AppHeader/V3/AppTitle/AppTitle.constants.js";import"../../../../../../../componentsV2/AppHeader/V3/AppTitle/AppTitle.scss.js";import"../../../../../../../componentsV2/AppHeader/V3/constants.scss.js";import"@babel/runtime/helpers/typeof";import"../../../../../../../componentsV2/AppHeader/V3/SettingsButton/SettingsButton.js";import"../../../../../../../componentsV2/AppHeader/V3/SettingsButton/SettingsButton.constants.js";import"../../../../../../../componentsV2/AppSettings/AppSettings.js";import"../../../../../../../componentsV2/AppSettings/AppSettings.constants.js";import"../../../../../../../componentsV2/AppSizeProvider/AppSizeProvider.js";import"../../../../../../../componentsV2/AppHeader/V3/Actions/Actions.constants.js";import"../../../../../../../componentsV2/AppHeader/V3/Actions/Actions.scss.js";import"../../../../../../../componentsV2/AppHeader/V3/AppHeaderV3.scss.js";import"../../../../../../../componentsV2/AppHeader/AppHeader.scss.js";import"../../../../../../../componentsV2/OffsetWellsButton/OffsetWellsButton.js";import"../../../../../../../componentsV2/Autocomplete/Autocomplete.js";import"../../../../../../../componentsV2/Select/Select.js";import"../../../../../../../componentsV2/AppSettingsDivider/AppSettingsDivider.scss.js";import"../../../../../../../componentsV2/WellArchivedMessage/WellArchivedMessage.js";import"../../../../../../../componentsV2/DatePicker/DatePicker.js";import"../../../../../../../componentsV2/DragHandle/DragHandle.js";import"../../../../../../../componentsV2/CompletionsOffsetWellPicker/CompletionsOffsetWellPicker.js";import"../../../../../../../componentsV2/Slider/constants.js";import"../../../../../../../componentsV2/Slider/components/SliderThumb.js";import"../../../../../../../componentsV2/Slider/Slider.scss.js";import"react-color";import"../../../../../../../componentsV2/ColorPicker/Swatches/Swatches.scss.js";import"../../../../../../../componentsV2/ColorPicker/OpacityDragtracker/OpacityDragTracker.scss.js";import"../../../../../../../componentsV2/ColorPicker/ColorPicker.scss.js";var f=p((function(o){return{assetListWrapper:{margin:"8px 0",flex:1},assetListContainer:{maxHeight:"350px",backgroundColor:o.palette.background.b9,position:"relative",overflow:"auto"},listSection:{backgroundColor:"inherit"},ul:{backgroundColor:"inherit",padding:0},listGutters:{padding:"2px 8px"},assetItemTextRoot:{minWidth:"300px"},assetItemTextPrimary:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},loadingInfo:{textAlign:"center",fontSize:"12px",lineHeight:"17px",color:o.palette.primary.text8},empty:{color:o.palette.primary.text6,fontSize:"12px",fontStyle:"italic",marginLeft:"8px"},menuItem:{display:"flex",alignItems:"center",justifyContent:"flex-start",width:"100%",gap:"8px"},allMenuItem:{boxShadow:"inset 0px -1px 0px rgba(255, 255, 255, 0.25)"},statusWrapper:{display:"flex",alignItems:"center",width:"102px",flexShrink:0},status:{width:"8px",height:"8px",marginRight:"8px",borderRadius:"50%",cursor:"default"},controlWrapper:{width:40,height:40,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0},assetNameWrapper:{flexGrow:1,overflow:"hidden"}}})),x=function(p){var x=p.subjectWellId,b=p.assetType,P=p.loading,T=p.groupedAssets,D=p.hasMore,k=p.onClickAsset,L=p.onClickAllAsset,y=p.onLoadMore,H=p.loadingAssetIds,M=void 0===H?[]:H,B=p.isLimitedOffsetWells,F=void 0!==B&&B,W=f(),w=e(null),q=V(),O=I((function(o){return o.filters.showHiddenWells})),N=q&&null!=O&&O,R=n((function(){if(1===T.length){var o=T[0][1].filter((function(o){return!o.disabledReason})),s=o.filter((function(o){return o.checked})).length,t=o.length>0&&s===o.length,e=F&&s>0;return[s>0&&s<o.length&&!e,t||e]}return[!1,!1]}),[T,F]),G=o(R,2),E=G[0],z=G[1];return s("div",{className:W.assetListWrapper,children:[s(m,{className:W.assetListContainer,subheader:t("li",{}),onScroll:function(o){var s=o.target,t=s.scrollHeight,e=s.scrollTop,n=s.offsetHeight;t!==n&&(Math.abs(t-(e+n))<1&&D&&!P&&y())},ref:w,children:[T.map((function(e){var n=o(e,2),c=n[0],p=n[1];return t("li",{className:W.listSection,children:s("ul",{className:W.ul,children:[!b&&t(a,{classes:{gutters:W.listGutters},children:t(C,{type:"outlined",size:"small",children:j[c].labelPlural},c)}),b&&t(l,{button:!0,classes:{gutters:W.listGutters},onClick:function(){return L(!z,c)},children:s("div",{className:i(W.menuItem,W.allMenuItem),children:[t("div",{className:W.controlWrapper,children:t(h,{checked:z,indeterminate:E})}),t("div",{className:W.assetNameWrapper,children:"All"})]})}),p.map((function(o){var e,n=o.type===j.well.name?!A(o,N)||!o.redirectAssetId||o.redirectAssetId===x:!!o.disabledReason,i="item-".concat(c,"-").concat(o.asset_id||o.id),p=t(l,{"data-testid":"".concat("AssetResultSection","_item_").concat(o.name,"MenuItem"),button:!0,classes:{gutters:W.listGutters},disabled:n,onClick:function(){return k(o,c)},children:s("div",{className:W.menuItem,children:[t("div",{className:W.controlWrapper,children:null!=M&&M.includes(o.redirectAssetId)?t(S,{size:"small"}):t(h,{checked:o.checked,indeterminate:o.indeterminate})}),t("div",{className:W.assetNameWrapper,children:t(v,{children:o.name})}),s("div",{className:W.statusWrapper,children:[t("div",{className:W.status,style:{background:null===(e=u.find((function(s){return s.value===o.status})))||void 0===e?void 0:e.color}}),r(o.status)]})]})},i);return o.disabledReason?t(g,{title:o.disabledReason,children:t("span",{children:p})},i):p}))]})},"section-".concat(c))})),!P&&c(T)&&t("div",{className:W.empty,children:"Your search did not match any Asset Name"})]}),P&&t(d,{"data-testid":"".concat("AssetResultSection","_loading"),className:W.loadingInfo,children:"Loading..."})]})};export{x as AssetResultSection};
1
+ import o from"@babel/runtime/helpers/slicedToArray";import{jsxs as s,jsx as t}from"react/jsx-runtime";import{useRef as e,useMemo as n}from"react";import i from"classnames";import{startCase as r,isEmpty as c}from"lodash";import{makeStyles as p,List as m,ListSubheader as a,ListItem as l,Typography as d}from"@material-ui/core";import{StatusOptions as u}from"../../../../../constants.js";import{SEARCH_CATEGORIES as j}from"../../constants.js";import{isAssetVisibleToUser as A}from"../../../../../utils/isAssetVisibleToUser.js";import{useIsAdmin as V}from"../../../../../hooks/useIsAdmin.js";import{useFilterStore as I}from"../../../../../stores/filter-store/useFilterStore.js";import{Checkbox as h}from"../../../../../../../componentsV2/Checkbox/Checkbox.js";import{Chip as C}from"../../../../../../../componentsV2/Chip/Chip.js";import"../../../../../../../componentsV2/Text/Text.js";import"../../../../../../../componentsV2/Grid/Grid.js";import"../../../../../../../componentsV2/Grid/Cell.js";import"@babel/runtime/helpers/defineProperty";import"../../../../../../../componentsV2/Header/Header.scss.js";import"../../../../../../../componentsV2/Button/Button.js";import"../../../../../../../componentsV2/ButtonIcon/ButtonIcon.js";import{Tooltip as g}from"../../../../../../../componentsV2/Tooltip/Tooltip.js";import"../../../../../../../componentsV2/Popover/Popover.js";import"../../../../../../../componentsV2/PopoverPanel/PopoverPanel.js";import"../../../../../../../componentsV2/Radio/Radio.js";import"@babel/runtime/helpers/objectWithoutProperties";import"../../../../../../../componentsV2/RadioAndCheckboxGroup/RadioAndCheckboxGroup.scss.js";import"@babel/runtime/helpers/toConsumableArray";import"../../../../../../../componentsV2/TextInput/TextInput.js";import"../../../../../../../componentsV2/TextInputNext/TextInputNext.js";import"../../../../../../../componentsV2/Label/Label.js";import"../../../../../../../componentsV2/TextEndTruncated/TextEndTruncated.scss.js";import{TextMiddleTruncated as v}from"../../../../../../../componentsV2/TextMiddleTruncated/TextMiddleTruncated.js";import"../../../../../../../componentsV2/TextMiddleTruncated/TextMiddleTruncated.constants.js";import"../../../../../../../componentsV2/TextLink/TextLink.js";import{LoaderCircular as S}from"../../../../../../../componentsV2/LoaderCircular/LoaderCircular.js";import"../../../../../../../componentsV2/ChipAlert/ChipAlert.js";import"../../../../../../../componentsV2/ChipIndicator/ChipIndicator.js";import"../../../../../../../componentsV2/Avatar/Avatar.js";import"../../../../../../../componentsV2/AvatarGroup/AvatarGroup.js";import"@material-ui/lab";import"../../../../../../../componentsV2/ToggleButtons/ToggleButtons.scss.js";import"../../../../../../../componentsV2/Paper/Paper.js";import"../../../../../../../componentsV2/ModalWindow/ModalWindow.js";import"uuid";import"../../../../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js";import"../../../../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js";import"../../../../../../DevCenter/DevCenterAppContainer/components/IsInsideIsolatedDcAppProvider/IsInsideIsolatedDcAppProvider.js";import"../../../../../../../componentsV2/Modal/Modal.scss.js";import"../../../../../../../componentsV2/Menu/Menu.js";import"@icon-park/react/es/all";import"../../../../../../../icons/IconParkProvider.js";import"../../../../../../../icons/customIcons/icons/AddMessage.js";import"../../../../../../../icons/customIcons/icons/Attention.js";import"../../../../../../../icons/customIcons/icons/Collapse.js";import"../../../../../../../icons/customIcons/icons/Dashboard.js";import"../../../../../../../icons/customIcons/icons/Expand.js";import"../../../../../../../icons/customIcons/icons/FolderClosed.js";import"../../../../../../../icons/customIcons/icons/FolderClosedFilled.js";import"../../../../../../../icons/customIcons/icons/FolderOpened.js";import"../../../../../../../icons/customIcons/icons/GreaterOrEqual.js";import"../../../../../../../icons/customIcons/icons/LessOrEqual.js";import"../../../../../../../icons/customIcons/icons/Search.js";import"../../../../../../../icons/customIcons/icons/SearchOne.js";import"../../../../../../../icons/customIcons/icons/Wellhub.js";import"../../../../../../../icons/customIcons/icons/MultiRuler.js";import"../../../../../../../icons/customIcons/icons/Checkbox.js";import"../../../../../../../icons/customIcons/icons/CheckboxChecked.js";import"../../../../../../../icons/customIcons/icons/CheckboxIndeterminate.js";import"../../../../../../../icons/customIcons/icons/Radio.js";import"../../../../../../../icons/customIcons/icons/RadioChecked.js";import"../../../../../../../icons/customIcons/icons/SimulFrac.js";import"../../../../../../../icons/customIcons/icons/ZipperFrac.js";import"../../../../../../../icons/customIcons/icons/CautionFilled.js";import"../../../../../../../icons/customIcons/icons/MoreApp.js";import"../../../../../../../icons/customIcons/icons/Pad.js";import"../../../../../../../icons/customIcons/icons/DrilloutUnit.js";import"../../../../../../../icons/customIcons/icons/FracFleet.js";import"../../../../../../../icons/customIcons/icons/Global.js";import"../../../../../../../icons/customIcons/icons/Program.js";import"../../../../../../../icons/customIcons/icons/Rig.js";import"../../../../../../../icons/customIcons/icons/Well.js";import"../../../../../../../icons/customIcons/icons/Gap.js";import"../../../../../../../icons/customIcons/icons/Pin.js";import"../../../../../../../icons/customIcons/icons/CloseOneFilled.js";import"../../../../../../../icons/customIcons/icons/AttentionFilled.js";import"../../../../../../../icons/customIcons/icons/CheckOneFilled.js";import"../../../../../../../icons/customIcons/icons/Archive.js";import"../../../../../../../icons/customIcons/icons/ArchiveCancel.js";import"../../../../../../../icons/customIcons/icons/Unarchive.js";import"../../../../../../../icons/customIcons/icons/Archived.js";import"../../../../../../../icons/customIcons/icons/InterventionUnit.js";import"../../../../../../../icons/customIcons/icons/CloudDelete.js";import"../../../../../../../icons/customIcons/icons/Lasso.js";import"../../../../../../../icons/customIcons/icons/Radius.js";import"../../../../../../../icons/customIcons/icons/ErrorOps.js";import"../../../../../../../icons/customIcons/icons/DataTypeOps.js";import"../../../../../../../icons/customIcons/icons/FalsePositiveOps.js";import"../../../../../../../icons/customIcons/icons/CalibrationOps.js";import"../../../../../../../icons/customIcons/icons/CriticalOps.js";import"../../../../../../../icons/customIcons/icons/Company.js";import"../../../../../../../icons/customIcons/icons/ArchiveOne.js";import"../../../../../../../icons/customIcons/icons/ParseBotFusion.js";import"../../../../../../../icons/customIcons/icons/Connect.js";import"../../../../../../../icons/customIcons/icons/PuzzleOne.js";import"../../../../../../../icons/customIcons/icons/Feed.js";import"../../../../../../../icons/customIcons/icons/Prompt.js";import"../../../../../../../icons/customIcons/icons/Companies.js";import"../../../../../../../icons/customIcons/icons/ClipboardAi.js";import"../../../../../../../icons/customIcons/icons/Key.js";import"../../../../../../../icons/customIcons/icons/AtSignCrossed.js";import"../../../../../../../icons/customIcons/icons/MappingManual.js";import"../../../../../../../icons/customIcons/icons/Mapping.js";import"../../../../../../../icons/customIcons/icons/Metrics.js";import"../../../../../../../icons/customIcons/icons/Drops.js";import"../../../../../../../icons/customIcons/icons/ClipboardSearch.js";import"../../../../../../../icons/customIcons/icons/Template.js";import"../../../../../../../icons/customIcons/icons/ClipboardMetrics.js";import"../../../../../../../icons/customIcons/icons/ClipboardBuilder.js";import"../../../../../../../icons/customIcons/icons/UnitConversion.js";import"../../../../../../../icons/customIcons/icons/NPT.js";import"../../../../../../../icons/customIcons/icons/GuidedFrac.js";import"../../../../../../../componentsV2/utils.js";import"../../../../../../../componentsV2/Hint/Hint.scss.js";import"../../../../../../../componentsV2/Counter/Counter.js";import"../../../../../../../componentsV2/BadgeBase/BadgeBase.scss.js";import"../../../../../../../componentsV2/TemplatesControl/TemplatesControl.js";import"zustand";import"../../../../../../../componentsV2/TemplatesControl/utils.js";import"../../../../../../../componentsV2/TemplatesControl/icons/folder/index.js";import"../../../../../../../componentsV2/TemplatesControl/Store/utils.js";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"../../../../../../../componentsV2/TemplatesControl/types.js";import"../../../../../../../utils/index.js";import"../../../../../../../clients/jsonApi/index.js";import"../../../../../../../permissions/PermissionsContext.js";import"../../../../../../../permissions/constants/index.js";import"../../../../../../../permissions/withPermissionsHOC.js";import"../../../../../../../permissions/ProvidePermissions.js";import"../../../../../../../componentsV2/BadgeDot/BadgeDot.scss.js";import"../../../../../../../componentsV2/LoaderLinear/LoaderLinear.scss.js";import"../../../../../../../componentsV2/LoaderLogo/LoaderLogo.constants.js";import"../../../../../../../componentsV2/LoaderLogo/LoaderLogo.scss.js";import"../../../../../../../componentsV2/Switch/Switch.js";import"../../../../../../../componentsV2/Tabs/Tabs.js";import"../../../../../../../componentsV2/EmptyState/EmptyState.scss.js";import"../../../../../../../componentsV2/FileIcon/FileIcon.js";import"../../../../../../../componentsV2/Tag/Tag.js";import"react-dropzone";import"../../../../../../../componentsV2/FilesDropzone/FilesDropzone.scss.js";import"../../../../../../../componentsV2/FilesLoader/FilesLoader.scss.js";import"../../../../../../../componentsV2/FilesProcessor/FilesProcessor.scss.js";import"../../../../../../../componentsV2/Skeleton/Skeleton.scss.js";import"../../../../../../../utils/main.js";import"../../../../../../../componentsV2/CopyToClipboard/CopyToClipboard.scss.js";import"../../../../../../../componentsV2/Stepper/Step/Step.scss.js";import"../../../../../../../componentsV2/Stepper/Stepper.scss.js";import"../../../../../../../componentsV2/ButtonLive/ButtonLive.js";import"../../../../../../../componentsV2/ButtonText/ButtonText.js";import"../../../../../../../componentsV2/IndicatorLive/IndicatorLive.js";import"../../../../../../../componentsV2/Accordion/Accordion.scss.js";import"../../../../../../../componentsV2/Breadcrumbs/Breadcrumbs.scss.js";import"../../../../../../../componentsV2/BadgeComment/BadgeComment.js";import"../../../../../../../componentsV2/AppContainer/AppContainer.js";import"../../../../../../../componentsV2/AppContainer/AppContainer.constants.js";import"../../../../../../../componentsV2/AppFooter/AppFooter.js";import"immutable";import"query-string";import"../../../../../../../constants/goals.js";import"../../../../../../../constants/segment.js";import"../../../../../../../constants/alerts.js";import"../../../../../../../constants/apps.js";import"../../../../../../../constants/drillstring.js";import"../../../../../../../constants/completion.js";import"../../../../../../../constants/appPackages.js";import"../../../../../../../constants/notifications.js";import"../../../../../../../constants/feed.js";import"../../../../../../../constants/bha.js";import"../../../../../../../constants/corvaCompanyId.js";import"../../../../../../GradientManager/configuration/constants.js";import"../../../../../../../componentsV2/AppCommonsProvider/AppCommonsContext.js";import"../../../../../../../componentsV2/AppHeader/AppHeader.constants.js";import"../../../../../../../componentsV2/AppHeader/AppBadge/AppBadge.scss.js";import"../../../../../../DevCenter/DevCenterRouterContext/DevCenterRouterContext.js";import"../../../../../../DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js";import"react-router-dom";import"../../../../../../../componentsV2/AppHeader/AppAssets/utils.js";import"../../../../../../../componentsV2/AppHeader/AppAssets/AppAssets.scss.js";import"../../../../../../PadModeSelect/PadModeSelect.js";import"../../../../../../../componentsV2/AppHeader/PadMode/PadMode.scss.js";import"../../../../../../../constants/streamSourceType.js";import"../../../../../../../componentsV2/PadModeSelect/PadModeSelect.js";import"../../../../../../../componentsV2/PadModeSelect/PadModeSelect.constants.js";import"../../../../../../../componentsV2/AppCommonsProvider/AppCommonsProvider.js";import"../../../../../../../utils/mobileDetect.js";import"../../../../../../../componentsV2/AppHeader/V3/VersionSelect/VersionSelect.js";import"../../../../../../../componentsV2/UniversalLink/UniversalLink.scss.js";import"../../../../../../../componentsV2/AppHeader/V3/AssetChips/AssetChips.scss.js";import"moment";import"../../../../../../../componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.js";import"../../../../../../../componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.constants.js";import"../../../../../../../componentsV2/AppFooter/DqPopover/DqStatusIcon/DqStatusIcon.js";import"../../../../../../../componentsV2/AppDqPopover/DqAlertTooltip/DqAlertTooltip.scss.js";import"../../../../../../../componentsV2/AppDqPopover/DqAlert/DqAlert.scss.js";import"../../../../../../../componentsV2/AppDqPopover/DqAsset/DqAsset.scss.js";import"../../../../../../../componentsV2/AppDqPopover/AppDqPopover.scss.js";import"../../../../../../AppIcon/AppIcon.js";import"../../../../../../../utils/getSingleAsset.js";import"../../../../../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorChip/AssetSelectorChip.js";import"../../../../../../../componentsV2/AppHeader/V3/AssetSelector/constants.js";import"../../../../../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/AssetSelectorSelect.scss.js";import"../../../../../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/loadAssets.js";import"../../../../../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelector.scss.js";import"../../../../../../../clients/subscriptions/constants.js";import"querystring";import"uuid/v1";import"../../../../../../../clients/subscriptions.v1.js";import"../../../../../../../clients/subscriptions/subscriptions-client.factory.js";import"jsona";import"../../../../../../../utils/env.js";import"../../../../../../StatusBadge/constants.js";import"lodash/set";import"lodash/get";import"lodash/unset";import"../../../../../../../clients/api/apiCore.js";import"../../../../../../../clients/constants.js";import"../../../../../../../clients/sso/auth0.js";import"../../../../../../../clients/sso/oauth2.js";import"../../../../../../../clients/api/rateLimiter.js";import"lodash/isEmpty";import"lodash/sortBy";import"../../../../../../DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchContext.js";import"../../../../../../../componentsV2/AppSettings/AppSettingsPinningContext.js";import"../../../../../../../componentsV2/AppHeader/V3/AppTitle/AppTitle.constants.js";import"../../../../../../../componentsV2/AppHeader/V3/AppTitle/AppTitle.scss.js";import"../../../../../../../componentsV2/AppHeader/V3/constants.scss.js";import"@babel/runtime/helpers/typeof";import"../../../../../../../componentsV2/AppHeader/V3/SettingsButton/SettingsButton.js";import"../../../../../../../componentsV2/AppHeader/V3/SettingsButton/SettingsButton.constants.js";import"../../../../../../../componentsV2/AppSettings/AppSettings.js";import"../../../../../../../componentsV2/AppSettings/AppSettings.constants.js";import"../../../../../../../componentsV2/AppSizeProvider/AppSizeProvider.js";import"../../../../../../../componentsV2/AppHeader/V3/Actions/Actions.constants.js";import"../../../../../../../componentsV2/AppHeader/V3/Actions/Actions.scss.js";import"../../../../../../../componentsV2/AppHeader/V3/AppHeaderV3.scss.js";import"../../../../../../../componentsV2/AppHeader/AppHeader.scss.js";import"../../../../../../../componentsV2/OffsetWellsButton/OffsetWellsButton.js";import"../../../../../../../componentsV2/Autocomplete/Autocomplete.js";import"../../../../../../../componentsV2/Select/Select.js";import"../../../../../../../componentsV2/AppSettingsDivider/AppSettingsDivider.scss.js";import"../../../../../../../componentsV2/WellArchivedMessage/WellArchivedMessage.js";import"../../../../../../../componentsV2/DatePicker/DatePicker.js";import"../../../../../../../componentsV2/DragHandle/DragHandle.js";import"../../../../../../../componentsV2/CompletionsOffsetWellPicker/CompletionsOffsetWellPicker.js";import"../../../../../../../componentsV2/Slider/constants.js";import"../../../../../../../componentsV2/Slider/components/SliderThumb.js";import"../../../../../../../componentsV2/Slider/Slider.scss.js";import"react-color";import"../../../../../../../componentsV2/ColorPicker/Swatches/Swatches.scss.js";import"../../../../../../../componentsV2/ColorPicker/OpacityDragtracker/OpacityDragTracker.scss.js";import"../../../../../../../componentsV2/ColorPicker/ColorPicker.scss.js";var f=p((function(o){return{assetListWrapper:{margin:"8px 0",flex:1},assetListContainer:{maxHeight:"350px",backgroundColor:o.palette.background.b9,position:"relative",overflow:"auto"},listSection:{backgroundColor:"inherit"},ul:{backgroundColor:"inherit",padding:0},listGutters:{padding:"2px 8px"},assetItemTextRoot:{minWidth:"300px"},assetItemTextPrimary:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},loadingInfo:{textAlign:"center",fontSize:"12px",lineHeight:"17px",color:o.palette.primary.text8},empty:{color:o.palette.primary.text6,fontSize:"12px",fontStyle:"italic",marginLeft:"8px"},menuItem:{display:"flex",alignItems:"center",justifyContent:"flex-start",width:"100%",gap:"8px"},allMenuItem:{boxShadow:"inset 0px -1px 0px rgba(255, 255, 255, 0.25)"},statusWrapper:{display:"flex",alignItems:"center",width:"102px",flexShrink:0},status:{width:"8px",height:"8px",marginRight:"8px",borderRadius:"50%",cursor:"default"},controlWrapper:{width:40,height:40,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0},assetNameWrapper:{flexGrow:1,overflow:"hidden"}}})),x=function(p){var x=p.subjectWellId,b=p.assetType,P=p.loading,T=p.groupedAssets,D=p.hasMore,k=p.onClickAsset,L=p.onClickAllAsset,y=p.onLoadMore,H=p.loadingAssetIds,M=void 0===H?[]:H,B=p.isLimitedOffsetWells,F=void 0!==B&&B,W=f(),q=e(null),w=V(),O=I((function(o){return o.filters.showHiddenWells})),N=w&&null!=O&&O,R=n((function(){if(1===T.length){var o=T[0][1].filter((function(o){return!o.disabledReason})),s=o.filter((function(o){return o.checked})).length,t=o.length>0&&s===o.length,e=F&&s>0;return[s>0&&s<o.length&&!e,t||e]}return[!1,!1]}),[T,F]),G=o(R,2),E=G[0],z=G[1];return s("div",{className:W.assetListWrapper,children:[s(m,{className:W.assetListContainer,subheader:t("li",{}),onScroll:function(o){var s=o.target,t=s.scrollHeight,e=s.scrollTop,n=s.offsetHeight;t!==n&&(Math.abs(t-(e+n))<1&&D&&!P&&y())},ref:q,children:[T.map((function(e){var n=o(e,2),c=n[0],p=n[1];return t("li",{className:W.listSection,children:s("ul",{className:W.ul,children:[!b&&t(a,{classes:{gutters:W.listGutters},children:t(C,{type:"outlined",size:"small",shape:"square",children:j[c].labelPlural},c)}),b&&t(l,{button:!0,classes:{gutters:W.listGutters},onClick:function(){return L(!z,c)},children:s("div",{className:i(W.menuItem,W.allMenuItem),children:[t("div",{className:W.controlWrapper,children:t(h,{checked:z,indeterminate:E})}),t("div",{className:W.assetNameWrapper,children:"All"})]})}),p.map((function(o){var e,n=o.type===j.well.name?!A(o,N)||!o.redirectAssetId||o.redirectAssetId===x:!!o.disabledReason,i="item-".concat(c,"-").concat(o.asset_id||o.id),p=t(l,{"data-testid":"".concat("AssetResultSection","_item_").concat(o.name,"MenuItem"),button:!0,classes:{gutters:W.listGutters},disabled:n,onClick:function(){return k(o,c)},children:s("div",{className:W.menuItem,children:[t("div",{className:W.controlWrapper,children:null!=M&&M.includes(o.redirectAssetId)?t(S,{size:"small"}):t(h,{checked:o.checked,indeterminate:o.indeterminate})}),t("div",{className:W.assetNameWrapper,children:t(v,{children:o.name})}),s("div",{className:W.statusWrapper,children:[t("div",{className:W.status,style:{background:null===(e=u.find((function(s){return s.value===o.status})))||void 0===e?void 0:e.color}}),r(o.status)]})]})},i);return o.disabledReason?t(g,{title:o.disabledReason,children:t("span",{children:p})},i):p}))]})},"section-".concat(c))})),!P&&c(T)&&t("div",{className:W.empty,children:"Your search did not match any Asset Name"})]}),P&&t(d,{"data-testid":"".concat("AssetResultSection","_loading"),className:W.loadingInfo,children:"Loading..."})]})};export{x as AssetResultSection};
2
2
  //# sourceMappingURL=AssetResultSection.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"AssetTypesSection.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AssetTypesSection/AssetTypesSection.tsx"],"names":[],"mappings":"AA0BA,KAAK,sBAAsB,GAAG;IAC5B,gBAAgB,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;CACzC,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,sBAAsB,sBAAsB,gBAqB7E,CAAC"}
1
+ {"version":3,"file":"AssetTypesSection.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AssetTypesSection/AssetTypesSection.tsx"],"names":[],"mappings":"AA0BA,KAAK,sBAAsB,GAAG;IAC5B,gBAAgB,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;CACzC,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,sBAAsB,sBAAsB,gBAuB7E,CAAC"}
@@ -1,2 +1,2 @@
1
- import e from"@babel/runtime/helpers/slicedToArray";import{jsxs as r,jsx as t}from"react/jsx-runtime";import{makeStyles as i,Typography as o}from"@material-ui/core";import{CATEGORY_KEY_VALUES as n}from"../../constants.js";import{Chip as a}from"../../../../../../../componentsV2/Chip/Chip.js";var p=i((function(e){return{assetSelectorWrapper:{margin:8},description:{color:e.palette.primary.text6,fontSize:"12px",lineHeight:"17px",paddingBottom:"8px"},assetTypeChip:{marginRight:"8px","&:last-child":{marginRight:"0px"}}}})),s=function(i){var s=i.onClickAssetType,c=p();return r("div",{className:c.assetSelectorWrapper,children:[t(o,{className:c.description,children:"I'm looking for..."}),t("div",{children:n.map((function(r){var i=e(r,2),o=i[0],n=i[1];return t(a,{testId:"".concat("AssetTypesSection","_chip_").concat(n.labelPlural),className:c.assetTypeChip,type:"outlined",onClick:function(){return s(o)},children:n.labelPlural},o)}))})]})};export{s as AssetTypesSection};
1
+ import e from"@babel/runtime/helpers/slicedToArray";import{jsxs as r,jsx as t}from"react/jsx-runtime";import{makeStyles as i,Typography as a}from"@material-ui/core";import{CATEGORY_KEY_VALUES as o}from"../../constants.js";import{Chip as n}from"../../../../../../../componentsV2/Chip/Chip.js";var s=i((function(e){return{assetSelectorWrapper:{margin:8},description:{color:e.palette.primary.text6,fontSize:"12px",lineHeight:"17px",paddingBottom:"8px"},assetTypeChip:{marginRight:"8px","&:last-child":{marginRight:"0px"}}}})),p=function(i){var p=i.onClickAssetType,l=s();return r("div",{className:l.assetSelectorWrapper,children:[t(a,{className:l.description,children:"I'm looking for..."}),t("div",{children:o.map((function(r){var i=e(r,2),a=i[0],o=i[1];return t(n,{testId:"".concat("AssetTypesSection","_chip_").concat(o.labelPlural),className:l.assetTypeChip,type:"outlined",size:"small",shape:"square",onClick:function(){return p(a)},children:o.labelPlural},a)}))})]})};export{p as AssetTypesSection};
2
2
  //# sourceMappingURL=AssetTypesSection.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"AutoCompleteAssetSearch.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AutoCompleteAssetSearch/AutoCompleteAssetSearch.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0CAA0C,CAAC;AAkE5E,KAAK,4BAA4B,GAAG;IAClC,UAAU,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;IAC5B,aAAa,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,eAAe,EAAE,MAAM,EAAE,CAAC;IAC1B,QAAQ,EAAE,CACR,QAAQ,EAAE,OAAO,EACjB,OAAO,EAAE,MAAM,EAAE,EACjB,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,MAAM,EAAE,GAAG,IAAI,KACpB,IAAI,CAAC;IACV,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;IAC3B,OAAO,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;IAC7B,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC,CAAC;AAEF,eAAO,MAAM,uBAAuB,GAAI,wIAWrC,4BAA4B,gBAyJ9B,CAAC"}
1
+ {"version":3,"file":"AutoCompleteAssetSearch.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AutoCompleteAssetSearch/AutoCompleteAssetSearch.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0CAA0C,CAAC;AAkE5E,KAAK,4BAA4B,GAAG;IAClC,UAAU,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;IAC5B,aAAa,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,eAAe,EAAE,MAAM,EAAE,CAAC;IAC1B,QAAQ,EAAE,CACR,QAAQ,EAAE,OAAO,EACjB,OAAO,EAAE,MAAM,EAAE,EACjB,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,MAAM,EAAE,GAAG,IAAI,KACpB,IAAI,CAAC;IACV,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;IAC3B,OAAO,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;IAC7B,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC,CAAC;AAEF,eAAO,MAAM,uBAAuB,GAAI,wIAWrC,4BAA4B,gBA2J9B,CAAC"}