@corva/ui 3.78.0-1 → 3.78.0-11

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 (584) hide show
  1. package/cjs-bundle/clients/index.js +1 -1
  2. package/cjs-bundle/clients/index.js.map +1 -1
  3. package/cjs-bundle/clients/subscriptions/constants.js +1 -1
  4. package/cjs-bundle/clients/subscriptions/constants.js.map +1 -1
  5. package/cjs-bundle/clients/subscriptions.js +1 -1
  6. package/cjs-bundle/clients/subscriptions.js.map +1 -1
  7. package/cjs-bundle/components/AddComment/Popover.js +1 -1
  8. package/cjs-bundle/components/AddComment/Popover.js.map +1 -1
  9. package/cjs-bundle/components/AddComment/components/Content.js +1 -1
  10. package/cjs-bundle/components/AddComment/components/Content.js.map +1 -1
  11. package/cjs-bundle/components/AssetEditor/effects/index.js +1 -1
  12. package/cjs-bundle/components/AssetEditor/effects/index.js.map +1 -1
  13. package/cjs-bundle/components/AssetEditorV2/effects/index.js +1 -1
  14. package/cjs-bundle/components/AssetEditorV2/effects/index.js.map +1 -1
  15. package/cjs-bundle/components/AssetEditorV2/effects/usePrimaryAssetSelectData.js +1 -1
  16. package/cjs-bundle/components/AssetEditorV2/effects/usePrimaryAssetSelectData.js.map +1 -1
  17. package/cjs-bundle/components/Attachment/index.js +1 -1
  18. package/cjs-bundle/components/Attachment/index.js.map +1 -1
  19. package/cjs-bundle/components/BICOffsetPickerDialog/index.js +1 -1
  20. package/cjs-bundle/components/BICOffsetPickerDialog/index.js.map +1 -1
  21. package/cjs-bundle/components/Casing/CasingTableV2/components/CasingJoints/Editor.js +1 -1
  22. package/cjs-bundle/components/Casing/CasingTableV2/components/CasingJoints/Editor.js.map +1 -1
  23. package/cjs-bundle/components/Casing/CasingTableV2/components/Component.js +1 -1
  24. package/cjs-bundle/components/Casing/CasingTableV2/components/Component.js.map +1 -1
  25. package/cjs-bundle/components/Casing/CasingTableV2/components/DrillPipe/Editor.js +1 -1
  26. package/cjs-bundle/components/Casing/CasingTableV2/components/DrillPipe/Editor.js.map +1 -1
  27. package/cjs-bundle/components/CollapsableSidebar.js +1 -1
  28. package/cjs-bundle/components/CollapsableSidebar.js.map +1 -1
  29. package/cjs-bundle/components/CommentComposer/CommentComposer.js +1 -1
  30. package/cjs-bundle/components/CommentComposer/CommentComposer.js.map +1 -1
  31. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js +1 -1
  32. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js.map +1 -1
  33. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.js +1 -1
  34. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.js.map +1 -1
  35. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/LegacyAppActions.js +1 -1
  36. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/LegacyAppActions.js.map +1 -1
  37. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus.js +1 -1
  38. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus.js.map +1 -1
  39. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/PriorityMenus.js +1 -1
  40. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/PriorityMenus.js.map +1 -1
  41. package/cjs-bundle/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js +1 -1
  42. package/cjs-bundle/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js.map +1 -1
  43. package/cjs-bundle/components/DocumentViewer/DocumentViewer.js +1 -1
  44. package/cjs-bundle/components/DocumentViewer/DocumentViewer.js.map +1 -1
  45. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js +1 -1
  46. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js.map +1 -1
  47. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js +1 -1
  48. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js.map +1 -1
  49. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Component.js +1 -1
  50. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Component.js.map +1 -1
  51. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js +1 -1
  52. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js.map +1 -1
  53. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js +1 -1
  54. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js.map +1 -1
  55. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js +1 -1
  56. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js.map +1 -1
  57. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js +1 -1
  58. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js.map +1 -1
  59. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js +1 -1
  60. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js.map +1 -1
  61. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js +1 -1
  62. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js.map +1 -1
  63. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js +1 -1
  64. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js.map +1 -1
  65. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js +1 -1
  66. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js.map +1 -1
  67. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js +1 -1
  68. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js.map +1 -1
  69. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js +1 -1
  70. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js.map +1 -1
  71. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js +1 -1
  72. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js.map +1 -1
  73. package/cjs-bundle/components/FeedItem/FeedItem.js +1 -1
  74. package/cjs-bundle/components/FeedItem/FeedItem.js.map +1 -1
  75. package/cjs-bundle/components/GradientManager/GradientManager.js +1 -1
  76. package/cjs-bundle/components/GradientManager/GradientManager.js.map +1 -1
  77. package/cjs-bundle/components/GradientManager/GradientSelect.js +1 -1
  78. package/cjs-bundle/components/GradientManager/GradientSelect.js.map +1 -1
  79. package/cjs-bundle/components/OffsetWellPickerV2/OffsetWellPickerDialog.js +1 -1
  80. package/cjs-bundle/components/OffsetWellPickerV2/OffsetWellPickerDialog.js.map +1 -1
  81. package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js +1 -1
  82. package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js.map +1 -1
  83. package/cjs-bundle/components/OffsetWellPickerV2/components/Map/Map.js +1 -1
  84. package/cjs-bundle/components/OffsetWellPickerV2/components/Map/Map.js.map +1 -1
  85. package/cjs-bundle/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js +1 -1
  86. package/cjs-bundle/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js.map +1 -1
  87. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js +1 -1
  88. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js.map +1 -1
  89. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/index.js +1 -1
  90. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/index.js.map +1 -1
  91. package/cjs-bundle/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js +1 -1
  92. package/cjs-bundle/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js.map +1 -1
  93. package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js +1 -1
  94. package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js.map +1 -1
  95. package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/index.js +1 -1
  96. package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/index.js.map +1 -1
  97. package/cjs-bundle/components/OffsetWellPickerV3/components/WellHubView/index.js +1 -1
  98. package/cjs-bundle/components/OffsetWellPickerV3/components/WellHubView/index.js.map +1 -1
  99. package/cjs-bundle/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js +1 -1
  100. package/cjs-bundle/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js.map +1 -1
  101. package/cjs-bundle/components/OffsetWellPickerV5/OffsetWellPickerV5.js +1 -1
  102. package/cjs-bundle/components/OffsetWellPickerV5/OffsetWellPickerV5.js.map +1 -1
  103. package/cjs-bundle/components/OffsetWellPickerV5/components/AppHeader/components/HeaderActions/HeaderActions.js +1 -1
  104. package/cjs-bundle/components/OffsetWellPickerV5/components/AppHeader/components/HeaderActions/HeaderActions.js.map +1 -1
  105. package/cjs-bundle/components/OffsetWellPickerV5/components/AppHeader/components/LoadAllWellsToggle/LoadAllWellsToggle.js +1 -1
  106. package/cjs-bundle/components/OffsetWellPickerV5/components/AppHeader/components/LoadAllWellsToggle/LoadAllWellsToggle.js.map +1 -1
  107. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/Filter.js +1 -1
  108. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/Filter.js.map +1 -1
  109. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/CustomDateFields/CustomDateFields.js +1 -1
  110. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/CustomDateFields/CustomDateFields.js.map +1 -1
  111. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/PeriodFilterSelect/PeriodFilterSelect.js +1 -1
  112. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/PeriodFilterSelect/PeriodFilterSelect.js.map +1 -1
  113. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/SingleFilterSelect/SingleFilterSelect.js +1 -1
  114. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/SingleFilterSelect/SingleFilterSelect.js.map +1 -1
  115. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/ClusterTooltip/ClusterTooltip.js +1 -1
  116. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/ClusterTooltip/ClusterTooltip.js.map +1 -1
  117. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/LayerSwitcher/LayerSwitcher.js +1 -1
  118. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/LayerSwitcher/LayerSwitcher.js.map +1 -1
  119. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapControls/MapControls.js +1 -1
  120. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapControls/MapControls.js.map +1 -1
  121. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHintsStash.js +1 -1
  122. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHintsStash.js.map +1 -1
  123. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SubjectWellMarker/SubjectWellMarker.js +1 -1
  124. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SubjectWellMarker/SubjectWellMarker.js.map +1 -1
  125. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.js +1 -1
  126. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.js.map +1 -1
  127. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/OffsetWellPickerV5WithStore.js +1 -1
  128. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/OffsetWellPickerV5WithStore.js.map +1 -1
  129. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/components/CompanySafeguardWrapper/CompanySafeguardWrapper.js +1 -1
  130. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/components/CompanySafeguardWrapper/CompanySafeguardWrapper.js.map +1 -1
  131. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/components/UserSettingsWrapper/UserSettingsWrapper.js +1 -1
  132. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/components/UserSettingsWrapper/UserSettingsWrapper.js.map +1 -1
  133. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AssetResultSection/AssetResultSection.js +1 -1
  134. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AssetResultSection/AssetResultSection.js.map +1 -1
  135. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AutoCompleteAssetSearch/AutoCompleteAssetSearch.js +1 -1
  136. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AutoCompleteAssetSearch/AutoCompleteAssetSearch.js.map +1 -1
  137. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/hooks/useAssetsData.utils.js +1 -1
  138. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/hooks/useAssetsData.utils.js.map +1 -1
  139. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/hooks/useAssetsFetch.js +1 -1
  140. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/hooks/useAssetsFetch.js.map +1 -1
  141. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/CompanyCell/CompanyCell.js +1 -1
  142. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/CompanyCell/CompanyCell.js.map +1 -1
  143. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/FormationCell/FormationCell.js +1 -1
  144. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/FormationCell/FormationCell.js.map +1 -1
  145. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/InterventionAssetCell/InterventionAssetCell.js +1 -1
  146. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/InterventionAssetCell/InterventionAssetCell.js.map +1 -1
  147. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/PadNameCell/PadNameCell.js +1 -1
  148. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/PadNameCell/PadNameCell.js.map +1 -1
  149. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/RigCell/RigCell.js +1 -1
  150. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/RigCell/RigCell.js.map +1 -1
  151. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/WellNameCell/WellNameCell.js +1 -1
  152. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/WellNameCell/WellNameCell.js.map +1 -1
  153. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/MetricCell/MetricCell.js +1 -1
  154. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/MetricCell/MetricCell.js.map +1 -1
  155. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/SettingsMenu.js +1 -1
  156. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/SettingsMenu.js.map +1 -1
  157. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/MetricsSettingsSection/MetricsSettingsSection.js +1 -1
  158. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/MetricsSettingsSection/MetricsSettingsSection.js.map +1 -1
  159. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/TableSettingsSection/TableSettingsSection.js +1 -1
  160. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/TableSettingsSection/TableSettingsSection.js.map +1 -1
  161. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/WellNameHeaderCell/WellNameHeaderCell.js +1 -1
  162. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/WellNameHeaderCell/WellNameHeaderCell.js.map +1 -1
  163. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/hooks/useAdvancedSearchHandler.js +1 -1
  164. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/hooks/useAdvancedSearchHandler.js.map +1 -1
  165. package/cjs-bundle/components/OffsetWellPickerV5/components/PickerModalActions/PickerModalActions.js +1 -1
  166. package/cjs-bundle/components/OffsetWellPickerV5/components/PickerModalActions/PickerModalActions.js.map +1 -1
  167. package/cjs-bundle/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useAdvancedWells.js +1 -1
  168. package/cjs-bundle/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useAdvancedWells.js.map +1 -1
  169. package/cjs-bundle/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useCompanyMetricKey.js +1 -1
  170. package/cjs-bundle/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useCompanyMetricKey.js.map +1 -1
  171. package/cjs-bundle/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useCompanyProvider.js +1 -1
  172. package/cjs-bundle/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useCompanyProvider.js.map +1 -1
  173. package/cjs-bundle/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useFetchSubjectWell.js +1 -1
  174. package/cjs-bundle/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useFetchSubjectWell.js.map +1 -1
  175. package/cjs-bundle/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useSearchedWells.js +1 -1
  176. package/cjs-bundle/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useSearchedWells.js.map +1 -1
  177. package/cjs-bundle/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useWellDataPipeline.js +1 -1
  178. package/cjs-bundle/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useWellDataPipeline.js.map +1 -1
  179. package/cjs-bundle/components/OffsetWellPickerV5/hooks/useAllWells/useLoadAllWellsCallback.js +1 -1
  180. package/cjs-bundle/components/OffsetWellPickerV5/hooks/useAllWells/useLoadAllWellsCallback.js.map +1 -1
  181. package/cjs-bundle/components/OffsetWellPickerV5/hooks/useCompanies.js +1 -1
  182. package/cjs-bundle/components/OffsetWellPickerV5/hooks/useCompanies.js.map +1 -1
  183. package/cjs-bundle/components/OffsetWellPickerV5/hooks/useExternalOffsets.js +1 -1
  184. package/cjs-bundle/components/OffsetWellPickerV5/hooks/useExternalOffsets.js.map +1 -1
  185. package/cjs-bundle/components/OffsetWellPickerV5/hooks/useIsAdmin.js +1 -1
  186. package/cjs-bundle/components/OffsetWellPickerV5/hooks/useIsAdmin.js.map +1 -1
  187. package/cjs-bundle/components/OffsetWellPickerV5/hooks/usePinnedWells.js +1 -1
  188. package/cjs-bundle/components/OffsetWellPickerV5/hooks/usePinnedWells.js.map +1 -1
  189. package/cjs-bundle/components/OffsetWellPickerV5/stores/idas-resync-store/createIdasResyncController.js +1 -1
  190. package/cjs-bundle/components/OffsetWellPickerV5/stores/idas-resync-store/createIdasResyncController.js.map +1 -1
  191. package/cjs-bundle/components/PadModeSelect/effects/useWellStreamActivityTypeSubscription.js +1 -1
  192. package/cjs-bundle/components/PadModeSelect/effects/useWellStreamActivityTypeSubscription.js.map +1 -1
  193. package/cjs-bundle/components/PadOffsetsPicker/StagesSelector.js +1 -1
  194. package/cjs-bundle/components/PadOffsetsPicker/StagesSelector.js.map +1 -1
  195. package/cjs-bundle/components/PadOffsetsPickerV2/PadOffsetsPickerV2.js +1 -1
  196. package/cjs-bundle/components/PadOffsetsPickerV2/PadOffsetsPickerV2.js.map +1 -1
  197. package/cjs-bundle/components/PinnableFilters/effects/index.js +1 -1
  198. package/cjs-bundle/components/PinnableFilters/effects/index.js.map +1 -1
  199. package/cjs-bundle/components/RealTimeValuesSidebar/SidebarFooter.js +1 -1
  200. package/cjs-bundle/components/RealTimeValuesSidebar/SidebarFooter.js.map +1 -1
  201. package/cjs-bundle/components/StatusBadge/components/DQAlertsTooltip.js +1 -1
  202. package/cjs-bundle/components/StatusBadge/components/DQAlertsTooltip.js.map +1 -1
  203. package/cjs-bundle/components/index.js +1 -1
  204. package/cjs-bundle/componentsV2/AppDqPopover/DqAlertTooltip/DqAlertTooltip.js +1 -1
  205. package/cjs-bundle/componentsV2/AppDqPopover/DqAlertTooltip/DqAlertTooltip.js.map +1 -1
  206. package/cjs-bundle/componentsV2/AppFooter/DqPopover/DqPopover.js +1 -1
  207. package/cjs-bundle/componentsV2/AppFooter/DqPopover/DqPopover.js.map +1 -1
  208. package/cjs-bundle/componentsV2/AppHeader/AppAssets/utils.js +1 -1
  209. package/cjs-bundle/componentsV2/AppHeader/AppAssets/utils.js.map +1 -1
  210. package/cjs-bundle/componentsV2/AppHeader/V3/Actions/Actions.js +1 -1
  211. package/cjs-bundle/componentsV2/AppHeader/V3/Actions/Actions.js.map +1 -1
  212. package/cjs-bundle/componentsV2/AppHeader/V3/AppTitle/AppTitle.js +1 -1
  213. package/cjs-bundle/componentsV2/AppHeader/V3/AppTitle/AppTitle.js.map +1 -1
  214. package/cjs-bundle/componentsV2/AppHeader/V3/AssetSelector/AssetSelector.js +1 -1
  215. package/cjs-bundle/componentsV2/AppHeader/V3/AssetSelector/AssetSelector.js.map +1 -1
  216. package/cjs-bundle/componentsV2/AppHeader/V3/VersionSelect/VersionSelect.js +1 -1
  217. package/cjs-bundle/componentsV2/AppHeader/V3/VersionSelect/VersionSelect.js.map +1 -1
  218. package/cjs-bundle/componentsV2/AppPanel/AppPanelDisplay.js +1 -1
  219. package/cjs-bundle/componentsV2/AppPanel/AppPanelDisplay.js.map +1 -1
  220. package/cjs-bundle/componentsV2/Autocomplete/Autocomplete.js +1 -1
  221. package/cjs-bundle/componentsV2/Autocomplete/Autocomplete.js.map +1 -1
  222. package/cjs-bundle/componentsV2/Autocomplete/AutocompleteInput/AutocompleteInput.js +1 -1
  223. package/cjs-bundle/componentsV2/Autocomplete/AutocompleteInput/AutocompleteInput.js.map +1 -1
  224. package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/Map/Map.js +1 -1
  225. package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/Map/Map.js.map +1 -1
  226. package/cjs-bundle/componentsV2/InterventionEventSelector/useInterventionUnitEvents.js +1 -1
  227. package/cjs-bundle/componentsV2/InterventionEventSelector/useInterventionUnitEvents.js.map +1 -1
  228. package/cjs-bundle/componentsV2/PadModeSelect/PadModeSelect.js +1 -1
  229. package/cjs-bundle/componentsV2/PadModeSelect/PadModeSelect.js.map +1 -1
  230. package/cjs-bundle/componentsV2/TemplatesControl/PublishModal/PublishModal.js +1 -1
  231. package/cjs-bundle/componentsV2/TemplatesControl/PublishModal/PublishModal.js.map +1 -1
  232. package/cjs-bundle/componentsV2/TemplatesControl/ShareModal/ShareModal.js +1 -1
  233. package/cjs-bundle/componentsV2/TemplatesControl/ShareModal/ShareModal.js.map +1 -1
  234. package/cjs-bundle/componentsV2/TemplatesControl/Store/hooks/usePublishTemplate.js +1 -1
  235. package/cjs-bundle/componentsV2/TemplatesControl/Store/hooks/usePublishTemplate.js.map +1 -1
  236. package/cjs-bundle/componentsV2/TemplatesControl/Store/utils.js +1 -1
  237. package/cjs-bundle/componentsV2/TemplatesControl/Store/utils.js.map +1 -1
  238. package/cjs-bundle/componentsV2/TemplatesControl/Toggle/Toggle.js +1 -1
  239. package/cjs-bundle/componentsV2/TemplatesControl/Toggle/Toggle.js.map +1 -1
  240. package/cjs-bundle/componentsV2/TextInputBase/TextInputBase.js +1 -1
  241. package/cjs-bundle/componentsV2/TextInputBase/TextInputBase.js.map +1 -1
  242. package/cjs-bundle/componentsV2/TextInputNext/TextInputNext.js +1 -1
  243. package/cjs-bundle/componentsV2/TextInputNext/TextInputNext.js.map +1 -1
  244. package/cjs-bundle/config/theme/palette.mjs.js +1 -1
  245. package/cjs-bundle/config/theme/palette.mjs.js.map +1 -1
  246. package/cjs-bundle/effects/index.js +1 -1
  247. package/cjs-bundle/effects/subscriptions/fetchInitialSubscriptionsData.js +2 -0
  248. package/cjs-bundle/effects/subscriptions/fetchInitialSubscriptionsData.js.map +1 -0
  249. package/cjs-bundle/effects/subscriptions/useSubscriptions.v2.js +1 -1
  250. package/cjs-bundle/effects/subscriptions/useSubscriptions.v2.js.map +1 -1
  251. package/cjs-bundle/effects/useGlobalOffsetWellsSync.js +1 -1
  252. package/cjs-bundle/effects/useGlobalOffsetWellsSync.js.map +1 -1
  253. package/cjs-bundle/effects/useSubscriptions.js +1 -1
  254. package/cjs-bundle/effects/useSubscriptions.js.map +1 -1
  255. package/cjs-bundle/effects/useWellnessAlerts.js +1 -1
  256. package/cjs-bundle/effects/useWellnessAlerts.js.map +1 -1
  257. package/cjs-bundle/icons/customIcons/icons/Search.js.map +1 -1
  258. package/cjs-bundle/permissions/constants/index.js +1 -1
  259. package/cjs-bundle/permissions/constants/index.js.map +1 -1
  260. package/cjs-bundle/styles/generatedThemesVariables.global.css.js +1 -1
  261. package/cjs-bundle/testing/AppTestWrapper/AppTestWrapper.js +1 -1
  262. package/cjs-bundle/testing/AppTestWrapper/AppTestWrapper.js.map +1 -1
  263. package/cjs-bundle/utils/index.js +1 -1
  264. package/cjs-bundle/utils/index.js.map +1 -1
  265. package/cjs-bundle/utils/safeTemplate.js +2 -0
  266. package/cjs-bundle/utils/safeTemplate.js.map +1 -0
  267. package/clients/index.d.ts +1 -9
  268. package/clients/index.d.ts.map +1 -1
  269. package/clients/index.js +1 -1
  270. package/clients/index.js.map +1 -1
  271. package/clients/subscriptions/constants.d.ts +0 -1
  272. package/clients/subscriptions/constants.d.ts.map +1 -1
  273. package/clients/subscriptions/constants.js +1 -1
  274. package/clients/subscriptions/constants.js.map +1 -1
  275. package/clients/subscriptions.d.ts.map +1 -1
  276. package/clients/subscriptions.js +1 -1
  277. package/clients/subscriptions.js.map +1 -1
  278. package/components/AddComment/Popover.js +1 -1
  279. package/components/AddComment/Popover.js.map +1 -1
  280. package/components/AddComment/components/Content.js +1 -1
  281. package/components/AddComment/components/Content.js.map +1 -1
  282. package/components/AssetEditor/effects/index.js +1 -1
  283. package/components/AssetEditor/effects/index.js.map +1 -1
  284. package/components/AssetEditorV2/effects/index.js +1 -1
  285. package/components/AssetEditorV2/effects/index.js.map +1 -1
  286. package/components/AssetEditorV2/effects/usePrimaryAssetSelectData.js +1 -1
  287. package/components/AssetEditorV2/effects/usePrimaryAssetSelectData.js.map +1 -1
  288. package/components/Attachment/index.js +1 -1
  289. package/components/Attachment/index.js.map +1 -1
  290. package/components/BICOffsetPickerDialog/index.js +1 -1
  291. package/components/BICOffsetPickerDialog/index.js.map +1 -1
  292. package/components/Casing/CasingTableV2/components/CasingJoints/Editor.js +1 -1
  293. package/components/Casing/CasingTableV2/components/CasingJoints/Editor.js.map +1 -1
  294. package/components/Casing/CasingTableV2/components/Component.js +1 -1
  295. package/components/Casing/CasingTableV2/components/Component.js.map +1 -1
  296. package/components/Casing/CasingTableV2/components/DrillPipe/Editor.js +1 -1
  297. package/components/Casing/CasingTableV2/components/DrillPipe/Editor.js.map +1 -1
  298. package/components/CollapsableSidebar.js +1 -1
  299. package/components/CollapsableSidebar.js.map +1 -1
  300. package/components/CommentComposer/CommentComposer.js +1 -1
  301. package/components/CommentComposer/CommentComposer.js.map +1 -1
  302. package/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js +1 -1
  303. package/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js.map +1 -1
  304. package/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.js +1 -1
  305. package/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.js.map +1 -1
  306. package/components/DevCenter/DevCenterAppContainer/components/LegacyAppActions.js +1 -1
  307. package/components/DevCenter/DevCenterAppContainer/components/LegacyAppActions.js.map +1 -1
  308. package/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus.js +1 -1
  309. package/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus.js.map +1 -1
  310. package/components/DevCenter/DevCenterAppContainer/components/PriorityMenus.js +1 -1
  311. package/components/DevCenter/DevCenterAppContainer/components/PriorityMenus.js.map +1 -1
  312. package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js +1 -1
  313. package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js.map +1 -1
  314. package/components/DocumentViewer/DocumentViewer.js +1 -1
  315. package/components/DocumentViewer/DocumentViewer.js.map +1 -1
  316. package/components/Drillstring/BHAComponentDetail/constants.d.ts +2 -2
  317. package/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js +1 -1
  318. package/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js.map +1 -1
  319. package/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js +1 -1
  320. package/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js.map +1 -1
  321. package/components/Drillstring/BHAComponentsTable/components/Component.js +1 -1
  322. package/components/Drillstring/BHAComponentsTable/components/Component.js.map +1 -1
  323. package/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js +1 -1
  324. package/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js.map +1 -1
  325. package/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js +1 -1
  326. package/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js.map +1 -1
  327. package/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js +1 -1
  328. package/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js.map +1 -1
  329. package/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js +1 -1
  330. package/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js.map +1 -1
  331. package/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js +1 -1
  332. package/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js.map +1 -1
  333. package/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js +1 -1
  334. package/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js.map +1 -1
  335. package/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js +1 -1
  336. package/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js.map +1 -1
  337. package/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js +1 -1
  338. package/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js.map +1 -1
  339. package/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js +1 -1
  340. package/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js.map +1 -1
  341. package/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js +1 -1
  342. package/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js.map +1 -1
  343. package/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js +1 -1
  344. package/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js.map +1 -1
  345. package/components/FeedItem/FeedItem.js +1 -1
  346. package/components/FeedItem/FeedItem.js.map +1 -1
  347. package/components/GradientManager/GradientManager.js +1 -1
  348. package/components/GradientManager/GradientManager.js.map +1 -1
  349. package/components/GradientManager/GradientSelect.js +1 -1
  350. package/components/GradientManager/GradientSelect.js.map +1 -1
  351. package/components/OffsetWellPickerV2/OffsetWellPickerDialog.js +1 -1
  352. package/components/OffsetWellPickerV2/OffsetWellPickerDialog.js.map +1 -1
  353. package/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js +1 -1
  354. package/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js.map +1 -1
  355. package/components/OffsetWellPickerV2/components/Map/Map.js +1 -1
  356. package/components/OffsetWellPickerV2/components/Map/Map.js.map +1 -1
  357. package/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js +1 -1
  358. package/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js.map +1 -1
  359. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js +1 -1
  360. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js.map +1 -1
  361. package/components/OffsetWellPickerV3/components/CustomSelectionView/index.js +1 -1
  362. package/components/OffsetWellPickerV3/components/CustomSelectionView/index.js.map +1 -1
  363. package/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js +1 -1
  364. package/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js.map +1 -1
  365. package/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js +1 -1
  366. package/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js.map +1 -1
  367. package/components/OffsetWellPickerV3/components/TabSelection/index.js +1 -1
  368. package/components/OffsetWellPickerV3/components/TabSelection/index.js.map +1 -1
  369. package/components/OffsetWellPickerV3/components/WellHubView/index.js +1 -1
  370. package/components/OffsetWellPickerV3/components/WellHubView/index.js.map +1 -1
  371. package/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js +1 -1
  372. package/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js.map +1 -1
  373. package/components/OffsetWellPickerV5/OffsetWellPickerV5.js +1 -1
  374. package/components/OffsetWellPickerV5/OffsetWellPickerV5.js.map +1 -1
  375. package/components/OffsetWellPickerV5/components/AppHeader/components/HeaderActions/HeaderActions.js +1 -1
  376. package/components/OffsetWellPickerV5/components/AppHeader/components/HeaderActions/HeaderActions.js.map +1 -1
  377. package/components/OffsetWellPickerV5/components/AppHeader/components/LoadAllWellsToggle/LoadAllWellsToggle.js +1 -1
  378. package/components/OffsetWellPickerV5/components/AppHeader/components/LoadAllWellsToggle/LoadAllWellsToggle.js.map +1 -1
  379. package/components/OffsetWellPickerV5/components/Filter/Filter.js +1 -1
  380. package/components/OffsetWellPickerV5/components/Filter/Filter.js.map +1 -1
  381. package/components/OffsetWellPickerV5/components/Filter/components/CustomDateFields/CustomDateFields.js +1 -1
  382. package/components/OffsetWellPickerV5/components/Filter/components/CustomDateFields/CustomDateFields.js.map +1 -1
  383. package/components/OffsetWellPickerV5/components/Filter/components/PeriodFilterSelect/PeriodFilterSelect.js +1 -1
  384. package/components/OffsetWellPickerV5/components/Filter/components/PeriodFilterSelect/PeriodFilterSelect.js.map +1 -1
  385. package/components/OffsetWellPickerV5/components/Filter/components/SingleFilterSelect/SingleFilterSelect.js +1 -1
  386. package/components/OffsetWellPickerV5/components/Filter/components/SingleFilterSelect/SingleFilterSelect.js.map +1 -1
  387. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/ClusterTooltip/ClusterTooltip.js +1 -1
  388. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/ClusterTooltip/ClusterTooltip.js.map +1 -1
  389. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/LayerSwitcher/LayerSwitcher.js +1 -1
  390. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/LayerSwitcher/LayerSwitcher.js.map +1 -1
  391. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapControls/MapControls.js +1 -1
  392. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapControls/MapControls.js.map +1 -1
  393. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHintsStash.js +1 -1
  394. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHintsStash.js.map +1 -1
  395. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SubjectWellMarker/SubjectWellMarker.js +1 -1
  396. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SubjectWellMarker/SubjectWellMarker.js.map +1 -1
  397. package/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.js +1 -1
  398. package/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.js.map +1 -1
  399. package/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/OffsetWellPickerV5WithStore.js +1 -1
  400. package/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/OffsetWellPickerV5WithStore.js.map +1 -1
  401. package/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/components/CompanySafeguardWrapper/CompanySafeguardWrapper.js +1 -1
  402. package/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/components/CompanySafeguardWrapper/CompanySafeguardWrapper.js.map +1 -1
  403. package/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/components/UserSettingsWrapper/UserSettingsWrapper.js +1 -1
  404. package/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/components/UserSettingsWrapper/UserSettingsWrapper.js.map +1 -1
  405. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AssetResultSection/AssetResultSection.js +1 -1
  406. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AssetResultSection/AssetResultSection.js.map +1 -1
  407. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AutoCompleteAssetSearch/AutoCompleteAssetSearch.js +1 -1
  408. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AutoCompleteAssetSearch/AutoCompleteAssetSearch.js.map +1 -1
  409. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/hooks/useAssetsData.utils.js +1 -1
  410. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/hooks/useAssetsData.utils.js.map +1 -1
  411. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/hooks/useAssetsFetch.js +1 -1
  412. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/hooks/useAssetsFetch.js.map +1 -1
  413. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/CompanyCell/CompanyCell.js +1 -1
  414. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/CompanyCell/CompanyCell.js.map +1 -1
  415. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/FormationCell/FormationCell.js +1 -1
  416. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/FormationCell/FormationCell.js.map +1 -1
  417. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/InterventionAssetCell/InterventionAssetCell.js +1 -1
  418. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/InterventionAssetCell/InterventionAssetCell.js.map +1 -1
  419. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/PadNameCell/PadNameCell.js +1 -1
  420. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/PadNameCell/PadNameCell.js.map +1 -1
  421. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/RigCell/RigCell.js +1 -1
  422. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/RigCell/RigCell.js.map +1 -1
  423. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/WellNameCell/WellNameCell.js +1 -1
  424. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/WellNameCell/WellNameCell.js.map +1 -1
  425. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/MetricCell/MetricCell.js +1 -1
  426. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/MetricCell/MetricCell.js.map +1 -1
  427. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/SettingsMenu.js +1 -1
  428. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/SettingsMenu.js.map +1 -1
  429. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/MetricsSettingsSection/MetricsSettingsSection.js +1 -1
  430. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/MetricsSettingsSection/MetricsSettingsSection.js.map +1 -1
  431. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/TableSettingsSection/TableSettingsSection.js +1 -1
  432. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/TableSettingsSection/TableSettingsSection.js.map +1 -1
  433. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/WellNameHeaderCell/WellNameHeaderCell.js +1 -1
  434. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/WellNameHeaderCell/WellNameHeaderCell.js.map +1 -1
  435. package/components/OffsetWellPickerV5/components/OffsetWellsTable/hooks/useAdvancedSearchHandler.js +1 -1
  436. package/components/OffsetWellPickerV5/components/OffsetWellsTable/hooks/useAdvancedSearchHandler.js.map +1 -1
  437. package/components/OffsetWellPickerV5/components/PickerModalActions/PickerModalActions.js +1 -1
  438. package/components/OffsetWellPickerV5/components/PickerModalActions/PickerModalActions.js.map +1 -1
  439. package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useAdvancedWells.js +1 -1
  440. package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useAdvancedWells.js.map +1 -1
  441. package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useCompanyMetricKey.js +1 -1
  442. package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useCompanyMetricKey.js.map +1 -1
  443. package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useCompanyProvider.js +1 -1
  444. package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useCompanyProvider.js.map +1 -1
  445. package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useFetchSubjectWell.js +1 -1
  446. package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useFetchSubjectWell.js.map +1 -1
  447. package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useSearchedWells.js +1 -1
  448. package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useSearchedWells.js.map +1 -1
  449. package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useWellDataPipeline.js +1 -1
  450. package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useWellDataPipeline.js.map +1 -1
  451. package/components/OffsetWellPickerV5/hooks/useAllWells/useLoadAllWellsCallback.js +1 -1
  452. package/components/OffsetWellPickerV5/hooks/useAllWells/useLoadAllWellsCallback.js.map +1 -1
  453. package/components/OffsetWellPickerV5/hooks/useCompanies.js +1 -1
  454. package/components/OffsetWellPickerV5/hooks/useCompanies.js.map +1 -1
  455. package/components/OffsetWellPickerV5/hooks/useExternalOffsets.js +1 -1
  456. package/components/OffsetWellPickerV5/hooks/useExternalOffsets.js.map +1 -1
  457. package/components/OffsetWellPickerV5/hooks/useIsAdmin.js +1 -1
  458. package/components/OffsetWellPickerV5/hooks/useIsAdmin.js.map +1 -1
  459. package/components/OffsetWellPickerV5/hooks/usePinnedWells.js +1 -1
  460. package/components/OffsetWellPickerV5/hooks/usePinnedWells.js.map +1 -1
  461. package/components/OffsetWellPickerV5/stores/idas-resync-store/createIdasResyncController.js +1 -1
  462. package/components/OffsetWellPickerV5/stores/idas-resync-store/createIdasResyncController.js.map +1 -1
  463. package/components/PadModeSelect/effects/useWellStreamActivityTypeSubscription.js +1 -1
  464. package/components/PadModeSelect/effects/useWellStreamActivityTypeSubscription.js.map +1 -1
  465. package/components/PadOffsetsPicker/StagesSelector.js +1 -1
  466. package/components/PadOffsetsPicker/StagesSelector.js.map +1 -1
  467. package/components/PadOffsetsPickerV2/PadOffsetsPickerV2.js +1 -1
  468. package/components/PadOffsetsPickerV2/PadOffsetsPickerV2.js.map +1 -1
  469. package/components/PinnableFilters/effects/index.js +1 -1
  470. package/components/PinnableFilters/effects/index.js.map +1 -1
  471. package/components/RealTimeValuesSidebar/SidebarFooter.js +1 -1
  472. package/components/RealTimeValuesSidebar/SidebarFooter.js.map +1 -1
  473. package/components/StatusBadge/components/DQAlertsTooltip.d.ts.map +1 -1
  474. package/components/StatusBadge/components/DQAlertsTooltip.js +1 -1
  475. package/components/StatusBadge/components/DQAlertsTooltip.js.map +1 -1
  476. package/components/index.js +1 -1
  477. package/componentsV2/AppDqPopover/DqAlertTooltip/DqAlertTooltip.d.ts.map +1 -1
  478. package/componentsV2/AppDqPopover/DqAlertTooltip/DqAlertTooltip.js +1 -1
  479. package/componentsV2/AppDqPopover/DqAlertTooltip/DqAlertTooltip.js.map +1 -1
  480. package/componentsV2/AppFooter/DqPopover/DqPopover.js +1 -1
  481. package/componentsV2/AppFooter/DqPopover/DqPopover.js.map +1 -1
  482. package/componentsV2/AppHeader/AppAssets/utils.js +1 -1
  483. package/componentsV2/AppHeader/AppAssets/utils.js.map +1 -1
  484. package/componentsV2/AppHeader/V3/Actions/Actions.js +1 -1
  485. package/componentsV2/AppHeader/V3/Actions/Actions.js.map +1 -1
  486. package/componentsV2/AppHeader/V3/AppTitle/AppTitle.js +1 -1
  487. package/componentsV2/AppHeader/V3/AppTitle/AppTitle.js.map +1 -1
  488. package/componentsV2/AppHeader/V3/AssetSelector/AssetSelector.js +1 -1
  489. package/componentsV2/AppHeader/V3/AssetSelector/AssetSelector.js.map +1 -1
  490. package/componentsV2/AppHeader/V3/VersionSelect/VersionSelect.js +1 -1
  491. package/componentsV2/AppHeader/V3/VersionSelect/VersionSelect.js.map +1 -1
  492. package/componentsV2/AppPanel/AppPanelDisplay.js +1 -1
  493. package/componentsV2/AppPanel/AppPanelDisplay.js.map +1 -1
  494. package/componentsV2/Autocomplete/Autocomplete.d.ts.map +1 -1
  495. package/componentsV2/Autocomplete/Autocomplete.js +1 -1
  496. package/componentsV2/Autocomplete/Autocomplete.js.map +1 -1
  497. package/componentsV2/Autocomplete/AutocompleteInput/AutocompleteInput.d.ts.map +1 -1
  498. package/componentsV2/Autocomplete/AutocompleteInput/AutocompleteInput.js +1 -1
  499. package/componentsV2/Autocomplete/AutocompleteInput/AutocompleteInput.js.map +1 -1
  500. package/componentsV2/Autocomplete/AutocompleteNext.stories.d.ts +1 -0
  501. package/componentsV2/Autocomplete/AutocompleteNext.stories.d.ts.map +1 -1
  502. package/componentsV2/CompletionsOffsetWellPicker/Map/Map.js +1 -1
  503. package/componentsV2/CompletionsOffsetWellPicker/Map/Map.js.map +1 -1
  504. package/componentsV2/InterventionEventSelector/useInterventionUnitEvents.js +1 -1
  505. package/componentsV2/InterventionEventSelector/useInterventionUnitEvents.js.map +1 -1
  506. package/componentsV2/PadModeSelect/PadModeSelect.js +1 -1
  507. package/componentsV2/PadModeSelect/PadModeSelect.js.map +1 -1
  508. package/componentsV2/TemplatesControl/PublishModal/PublishModal.js +1 -1
  509. package/componentsV2/TemplatesControl/PublishModal/PublishModal.js.map +1 -1
  510. package/componentsV2/TemplatesControl/ShareModal/ShareModal.js +1 -1
  511. package/componentsV2/TemplatesControl/ShareModal/ShareModal.js.map +1 -1
  512. package/componentsV2/TemplatesControl/Store/hooks/usePublishTemplate.d.ts.map +1 -1
  513. package/componentsV2/TemplatesControl/Store/hooks/usePublishTemplate.js +1 -1
  514. package/componentsV2/TemplatesControl/Store/hooks/usePublishTemplate.js.map +1 -1
  515. package/componentsV2/TemplatesControl/Store/utils.d.ts +7 -0
  516. package/componentsV2/TemplatesControl/Store/utils.d.ts.map +1 -1
  517. package/componentsV2/TemplatesControl/Store/utils.js +1 -1
  518. package/componentsV2/TemplatesControl/Store/utils.js.map +1 -1
  519. package/componentsV2/TemplatesControl/Toggle/Toggle.js +1 -1
  520. package/componentsV2/TemplatesControl/Toggle/Toggle.js.map +1 -1
  521. package/componentsV2/TextInputBase/TextInputBase.js +1 -1
  522. package/componentsV2/TextInputBase/TextInputBase.js.map +1 -1
  523. package/componentsV2/TextInputNext/TextInputNext.js +1 -1
  524. package/componentsV2/TextInputNext/TextInputNext.js.map +1 -1
  525. package/config/theme/lightThemePalette.d.mts +4 -0
  526. package/config/theme/lightThemePalette.d.mts.map +1 -1
  527. package/config/theme/palette.d.mts +4 -0
  528. package/config/theme/palette.d.mts.map +1 -1
  529. package/config/theme/palette.mjs.js +1 -1
  530. package/config/theme/palette.mjs.js.map +1 -1
  531. package/config/theme/themeVariables.d.mts +12 -0
  532. package/config/theme/themeVariables.d.mts.map +1 -1
  533. package/effects/index.js +1 -1
  534. package/effects/subscriptions/fetchInitialSubscriptionsData.d.ts +23 -0
  535. package/effects/subscriptions/fetchInitialSubscriptionsData.d.ts.map +1 -0
  536. package/effects/subscriptions/fetchInitialSubscriptionsData.js +2 -0
  537. package/effects/subscriptions/fetchInitialSubscriptionsData.js.map +1 -0
  538. package/effects/subscriptions/useSubscriptions.v2.d.ts.map +1 -1
  539. package/effects/subscriptions/useSubscriptions.v2.js +1 -1
  540. package/effects/subscriptions/useSubscriptions.v2.js.map +1 -1
  541. package/effects/useGlobalOffsetWellsSync.js +1 -1
  542. package/effects/useGlobalOffsetWellsSync.js.map +1 -1
  543. package/effects/useSubscriptions.d.ts +1 -2
  544. package/effects/useSubscriptions.d.ts.map +1 -1
  545. package/effects/useSubscriptions.js +1 -1
  546. package/effects/useSubscriptions.js.map +1 -1
  547. package/effects/useWellnessAlerts.js +1 -1
  548. package/effects/useWellnessAlerts.js.map +1 -1
  549. package/icons/customIcons/icons/Search.d.ts +1 -1
  550. package/icons/customIcons/icons/Search.js.map +1 -1
  551. package/mcp-server/server.mjs +14079 -29649
  552. package/package.json +1 -1
  553. package/permissions/constants/index.d.ts +1 -0
  554. package/permissions/constants/index.d.ts.map +1 -1
  555. package/permissions/constants/index.js +1 -1
  556. package/permissions/constants/index.js.map +1 -1
  557. package/styles/common.scss +2 -0
  558. package/styles/generatedThemesVariables.global.css +1 -1
  559. package/styles/generatedThemesVariables.global.css.js +1 -1
  560. package/testing/AppTestWrapper/AppTestWrapper.js +1 -1
  561. package/testing/AppTestWrapper/AppTestWrapper.js.map +1 -1
  562. package/tsconfig.tsbuildinfo +1 -1
  563. package/utils/__tests__/safeTemplate.test.d.ts +2 -0
  564. package/utils/__tests__/safeTemplate.test.d.ts.map +1 -0
  565. package/utils/index.d.ts +1 -0
  566. package/utils/index.d.ts.map +1 -1
  567. package/utils/index.js +1 -1
  568. package/utils/index.js.map +1 -1
  569. package/utils/safeTemplate.d.ts +24 -0
  570. package/utils/safeTemplate.d.ts.map +1 -0
  571. package/utils/safeTemplate.js +2 -0
  572. package/utils/safeTemplate.js.map +1 -0
  573. package/cjs-bundle/clients/subscriptions.v1.js +0 -2
  574. package/cjs-bundle/clients/subscriptions.v1.js.map +0 -1
  575. package/cjs-bundle/effects/subscriptions/useSubscriptions.v1.js +0 -2
  576. package/cjs-bundle/effects/subscriptions/useSubscriptions.v1.js.map +0 -1
  577. package/clients/subscriptions.v1.d.ts +0 -9
  578. package/clients/subscriptions.v1.d.ts.map +0 -1
  579. package/clients/subscriptions.v1.js +0 -2
  580. package/clients/subscriptions.v1.js.map +0 -1
  581. package/effects/subscriptions/useSubscriptions.v1.d.ts +0 -24
  582. package/effects/subscriptions/useSubscriptions.v1.d.ts.map +0 -1
  583. package/effects/subscriptions/useSubscriptions.v1.js +0 -2
  584. package/effects/subscriptions/useSubscriptions.v1.js.map +0 -1
@@ -1,2 +1,2 @@
1
- import{SettingsAccordion as o}from"../SettingsAccordion/SettingsAccordion.js";import{useViewStore as s}from"../../../../../../stores/view-store/useViewStore.js";import t from"./TableSettingsSection.module.scss.js";import{Text as n}from"../../../../../../../../componentsV2/Text/Text.js";import"../../../../../../../../componentsV2/Grid/Grid.js";import"../../../../../../../../componentsV2/Grid/Cell.js";import"@babel/runtime/helpers/defineProperty";import"classnames";import"../../../../../../../../componentsV2/Header/Header.scss.js";import{jsxs as e,jsx as i}from"react/jsx-runtime";import"../../../../../../../../componentsV2/Button/Button.js";import"../../../../../../../../componentsV2/ButtonIcon/ButtonIcon.js";import"@babel/runtime/helpers/objectWithoutProperties";import"@material-ui/core";import"react";import"../../../../../../../DevCenter/DevCenterAppContainer/components/IsInsideIsolatedDcAppProvider.js";import"../../../../../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js";import"../../../../../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js";import"@babel/runtime/helpers/slicedToArray";import"uuid";import"../../../../../../../../componentsV2/Tooltip/Tooltip.scss.js";import"../../../../../../../../componentsV2/Popover/Popover.js";import"../../../../../../../../componentsV2/PopoverPanel/PopoverPanel.js";import"../../../../../../../../componentsV2/Radio/Radio.js";import"../../../../../../../../componentsV2/RadioAndCheckboxGroup/RadioAndCheckboxGroup.scss.js";import"../../../../../../../../componentsV2/Checkbox/Checkbox.js";import"@babel/runtime/helpers/toConsumableArray";import"../../../../../../../../componentsV2/TextInput/TextInput.js";import"../../../../../../../../componentsV2/TextInputNext/TextInputNext.js";import"../../../../../../../../componentsV2/TextArea/TextArea.js";import"../../../../../../../../componentsV2/Label/Label.js";import"lodash";import"../../../../../../../../componentsV2/TextEndTruncated/TextEndTruncated.scss.js";import"../../../../../../../../componentsV2/TextMiddleTruncated/TextMiddleTruncated.constants.js";import"../../../../../../../../componentsV2/TextMiddleTruncated/TextMiddleTruncated.scss.js";import"../../../../../../../../componentsV2/TextLink/TextLink.js";import"../../../../../../../../componentsV2/Chip/Chip.js";import"../../../../../../../../componentsV2/ChipAlert/ChipAlert.js";import"../../../../../../../../componentsV2/ChipIndicator/ChipIndicator.js";import"../../../../../../../../componentsV2/Avatar/Avatar.js";import"../../../../../../../../componentsV2/AvatarGroup/AvatarGroup.js";import"@material-ui/lab";import"../../../../../../../../componentsV2/ToggleButtons/ToggleButtons.scss.js";import"../../../../../../../../componentsV2/Paper/Paper.js";import"../../../../../../../../componentsV2/ModalWindow/ModalWindow.js";import"../../../../../../../../componentsV2/Modal/Modal.scss.js";import"../../../../../../../../componentsV2/Menu/Menu.js";import"../../../../../../../../componentsV2/utils.js";import"@icon-park/react/es/all";import"../../../../../../../../icons/IconParkProvider.js";import"../../../../../../../../icons/customIcons/icons/AddMessage.js";import"../../../../../../../../icons/customIcons/icons/DragOne.js";import"../../../../../../../../icons/customIcons/icons/Attention.js";import"../../../../../../../../icons/customIcons/icons/Collapse.js";import"../../../../../../../../icons/customIcons/icons/Dashboard.js";import"../../../../../../../../icons/customIcons/icons/Expand.js";import"../../../../../../../../icons/customIcons/icons/FolderClosed.js";import"../../../../../../../../icons/customIcons/icons/FolderClosedFilled.js";import"../../../../../../../../icons/customIcons/icons/FolderOpened.js";import"../../../../../../../../icons/customIcons/icons/GreaterOrEqual.js";import"../../../../../../../../icons/customIcons/icons/LessOrEqual.js";import"../../../../../../../../icons/customIcons/icons/Search.js";import"../../../../../../../../icons/customIcons/icons/SearchOne.js";import"../../../../../../../../icons/customIcons/icons/Wellhub.js";import"../../../../../../../../icons/customIcons/icons/MultiRuler.js";import"../../../../../../../../icons/customIcons/icons/Checkbox.js";import"../../../../../../../../icons/customIcons/icons/CheckboxChecked.js";import"../../../../../../../../icons/customIcons/icons/CheckboxIndeterminate.js";import"../../../../../../../../icons/customIcons/icons/Radio.js";import"../../../../../../../../icons/customIcons/icons/RadioChecked.js";import"../../../../../../../../icons/customIcons/icons/SimulFrac.js";import"../../../../../../../../icons/customIcons/icons/ZipperFrac.js";import"../../../../../../../../icons/customIcons/icons/CautionFilled.js";import"../../../../../../../../icons/customIcons/icons/InfoRounded.js";import"../../../../../../../../icons/customIcons/icons/FlameFilled.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/PinOne.js";import"../../../../../../../../icons/customIcons/icons/PinOneCrossed.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/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"../../../../../../../UserMention/utils/index.js";import"../../../../../../../../utils/convert.js";import"../../../../../../../../constants/completion.js";import"moment";import"../../../../../../../../constants/alerts.js";import"../../../../../../../../utils/casing/validation.js";import"lodash/mean";import"../../../../../../../../constants/streamSourceType.js";import"lodash/get";import"file-saver";import"query-string";import"../../../../../../../../constants/goals.js";import"../../../../../../../../constants/segment.js";import"../../../../../../../../constants/apps.js";import"../../../../../../../../constants/drillstring.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/drillstring/conversion.js";import"lodash/set";import"lodash/cloneDeep";import"lodash/isNumber";import"lodash/has";import"../../../../../../../../utils/ga.js";import"../../../../../../../../utils/goalsConfig/goalsConfig.js";import"../../../../../../../../utils/lasParser.js";import"../../../../../../../../utils/main.js";import"../../../../../../../../utils/metrics/metricsConfig.js";import"../../../../../../../../utils/mobileDetect.js";import"../../../../../../../../utils/feed.js";import"../../../../../../../../utils/reports.js";import"moment-timezone";import"@babel/runtime/helpers/typeof";import"../../../../../../../../utils/dashboardReports.js";import"../../../../../../../../utils/env.js";import"file-extension";import"image-extensions";import"video-extensions";import"../../../../../../../../utils/jsonaDataFormatter.js";import"../../../../../../../../utils/bha.js";import"jsona";import"../../../../../../../../clients/jsonApi/index.js";import"../../../../../../../../utils/charts/Styles.scss.js";import"../../../../../../../../utils/getSingleAsset.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{Switch as c}from"../../../../../../../../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"../../../../../../../../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"../../../../../../../../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"../../../../../../../../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"../../../../../../../../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"../../../../../../../../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"../../../../../../../StatusBadge/constants.js";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/AppPanel/AppPanelsContext.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"../../../../../../../../componentsV2/AppHeader/V3/SettingsButton/SettingsButton.constants.js";import"../../../../../../../../componentsV2/AppHeader/V3/Actions/Actions.constants.js";import"../../../../../../../../componentsV2/AppHeader/V3/Actions/Actions.scss.js";import"../../../../../../../../componentsV2/AppHeader/V3/AppHeaderV3.scss.js";import"../../../../../../../../componentsV2/AppHeader/AppHeader.scss.js";import"../../../../../../../../componentsV2/OffsetWellsButton/OffsetWellsButton.js";import"../../../../../../../../componentsV2/ChartAxisExtreme/ChartAxisExtreme.scss.js";import"highcharts";import"../../../../../../../../componentsV2/ChartAxisExtreme/ChartAxisExtremeDragTracker.js";import"../../../../../../../../componentsV2/Autocomplete/Autocomplete.js";import"../../../../../../../../componentsV2/Select/Select.js";import"../../../../../../../../componentsV2/AppPanel/AppPanel.js";import"../../../../../../../../componentsV2/AppSettingsDivider/AppSettingsDivider.scss.js";import"../../../../../../../../componentsV2/WellArchivedMessage/WellArchivedMessage.js";import"../../../../../../../../componentsV2/DatePicker/DatePicker.js";import"../../../../../../../../componentsV2/DragHandle/DragHandle.js";import"../../../../../../../../componentsV2/CompletionsOffsetWellPicker/CompletionsOffsetWellPicker.js";import"../../../../../../../../componentsV2/Slider/constants.js";import"../../../../../../../../componentsV2/Slider/components/SliderThumb.js";import"../../../../../../../../componentsV2/Slider/Slider.scss.js";import"../../../../../../../../componentsV2/SliderAdvanced/SliderAdvanced.js";import"react-color";import"../../../../../../../../componentsV2/ColorPicker/Swatches/Swatches.scss.js";import"../../../../../../../../componentsV2/ColorPicker/OpacityDragtracker/OpacityDragTracker.scss.js";import"../../../../../../../../componentsV2/ColorPicker/ColorPicker.scss.js";import"../../../../../../../../componentsV2/ChartHelper/ChartHelper.scss.js";import"../../../../../../../../componentsV2/Hotkey/Hotkey.js";import"@tanstack/react-query";import"../../../../../../../../componentsV2/InterventionEventSelector/useInterventionUnitEvents.js";import"../../../../../../../../componentsV2/InterventionEventSelector/InterventionEventSelector.scss.js";var r=function(r){var p=r.children,m=s((function(o){return o.dense})),a=s((function(o){return o.setDense}));return e(o,{testId:"".concat("SettingsMenu","_tableSection"),title:i(n,{size:16,color:"T1",children:"Table"}),className:t.root,children:[i(c,{testId:"".concat("SettingsMenu","_denseSwitch"),checked:m,size:"medium",onChange:function(o){return a(o)},onLabel:"Dense Table"}),p]})};export{r as TableSettingsSection};
1
+ import{SettingsAccordion as o}from"../SettingsAccordion/SettingsAccordion.js";import{useViewStore as s}from"../../../../../../stores/view-store/useViewStore.js";import t from"./TableSettingsSection.module.scss.js";import{Text as n}from"../../../../../../../../componentsV2/Text/Text.js";import"../../../../../../../../componentsV2/Grid/Grid.js";import"../../../../../../../../componentsV2/Grid/Cell.js";import"@babel/runtime/helpers/defineProperty";import"classnames";import"../../../../../../../../componentsV2/Header/Header.scss.js";import{jsxs as e,jsx as i}from"react/jsx-runtime";import"../../../../../../../../componentsV2/Button/Button.js";import"../../../../../../../../componentsV2/ButtonIcon/ButtonIcon.js";import"@babel/runtime/helpers/objectWithoutProperties";import"@material-ui/core";import"react";import"../../../../../../../DevCenter/DevCenterAppContainer/components/IsInsideIsolatedDcAppProvider.js";import"../../../../../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js";import"../../../../../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js";import"@babel/runtime/helpers/slicedToArray";import"uuid";import"../../../../../../../../componentsV2/Tooltip/Tooltip.scss.js";import"../../../../../../../../componentsV2/Popover/Popover.js";import"../../../../../../../../componentsV2/PopoverPanel/PopoverPanel.js";import"../../../../../../../../componentsV2/Radio/Radio.js";import"../../../../../../../../componentsV2/RadioAndCheckboxGroup/RadioAndCheckboxGroup.scss.js";import"../../../../../../../../componentsV2/Checkbox/Checkbox.js";import"@babel/runtime/helpers/toConsumableArray";import"../../../../../../../../componentsV2/TextInput/TextInput.js";import"../../../../../../../../componentsV2/TextInputNext/TextInputNext.js";import"../../../../../../../../componentsV2/TextArea/TextArea.js";import"../../../../../../../../componentsV2/Label/Label.js";import"lodash";import"../../../../../../../../componentsV2/TextEndTruncated/TextEndTruncated.scss.js";import"../../../../../../../../componentsV2/TextMiddleTruncated/TextMiddleTruncated.constants.js";import"../../../../../../../../componentsV2/TextMiddleTruncated/TextMiddleTruncated.scss.js";import"../../../../../../../../componentsV2/TextLink/TextLink.js";import"../../../../../../../../componentsV2/Chip/Chip.js";import"../../../../../../../../componentsV2/ChipAlert/ChipAlert.js";import"../../../../../../../../componentsV2/ChipIndicator/ChipIndicator.js";import"../../../../../../../../componentsV2/Avatar/Avatar.js";import"../../../../../../../../componentsV2/AvatarGroup/AvatarGroup.js";import"@material-ui/lab";import"../../../../../../../../componentsV2/ToggleButtons/ToggleButtons.scss.js";import"../../../../../../../../componentsV2/Paper/Paper.js";import"../../../../../../../../componentsV2/ModalWindow/ModalWindow.js";import"../../../../../../../../componentsV2/Modal/Modal.scss.js";import"../../../../../../../../componentsV2/Menu/Menu.js";import"../../../../../../../../componentsV2/utils.js";import"@icon-park/react/es/all";import"../../../../../../../../icons/IconParkProvider.js";import"../../../../../../../../icons/customIcons/icons/AddMessage.js";import"../../../../../../../../icons/customIcons/icons/DragOne.js";import"../../../../../../../../icons/customIcons/icons/Attention.js";import"../../../../../../../../icons/customIcons/icons/Collapse.js";import"../../../../../../../../icons/customIcons/icons/Dashboard.js";import"../../../../../../../../icons/customIcons/icons/Expand.js";import"../../../../../../../../icons/customIcons/icons/FolderClosed.js";import"../../../../../../../../icons/customIcons/icons/FolderClosedFilled.js";import"../../../../../../../../icons/customIcons/icons/FolderOpened.js";import"../../../../../../../../icons/customIcons/icons/GreaterOrEqual.js";import"../../../../../../../../icons/customIcons/icons/LessOrEqual.js";import"../../../../../../../../icons/customIcons/icons/Search.js";import"../../../../../../../../icons/customIcons/icons/SearchOne.js";import"../../../../../../../../icons/customIcons/icons/Wellhub.js";import"../../../../../../../../icons/customIcons/icons/MultiRuler.js";import"../../../../../../../../icons/customIcons/icons/Checkbox.js";import"../../../../../../../../icons/customIcons/icons/CheckboxChecked.js";import"../../../../../../../../icons/customIcons/icons/CheckboxIndeterminate.js";import"../../../../../../../../icons/customIcons/icons/Radio.js";import"../../../../../../../../icons/customIcons/icons/RadioChecked.js";import"../../../../../../../../icons/customIcons/icons/SimulFrac.js";import"../../../../../../../../icons/customIcons/icons/ZipperFrac.js";import"../../../../../../../../icons/customIcons/icons/CautionFilled.js";import"../../../../../../../../icons/customIcons/icons/InfoRounded.js";import"../../../../../../../../icons/customIcons/icons/FlameFilled.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/PinOne.js";import"../../../../../../../../icons/customIcons/icons/PinOneCrossed.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/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"../../../../../../../UserMention/utils/index.js";import"../../../../../../../../utils/convert.js";import"../../../../../../../../constants/completion.js";import"moment";import"../../../../../../../../constants/alerts.js";import"../../../../../../../../utils/casing/validation.js";import"lodash/mean";import"../../../../../../../../constants/streamSourceType.js";import"lodash/get";import"file-saver";import"query-string";import"../../../../../../../../constants/goals.js";import"../../../../../../../../constants/segment.js";import"../../../../../../../../constants/apps.js";import"../../../../../../../../constants/drillstring.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/drillstring/conversion.js";import"lodash/set";import"lodash/cloneDeep";import"lodash/isNumber";import"lodash/has";import"../../../../../../../../utils/ga.js";import"../../../../../../../../utils/goalsConfig/goalsConfig.js";import"../../../../../../../../utils/lasParser.js";import"../../../../../../../../utils/main.js";import"../../../../../../../../utils/metrics/metricsConfig.js";import"../../../../../../../../utils/mobileDetect.js";import"../../../../../../../../utils/feed.js";import"../../../../../../../../utils/reports.js";import"moment-timezone";import"@babel/runtime/helpers/typeof";import"../../../../../../../../utils/dashboardReports.js";import"../../../../../../../../utils/env.js";import"file-extension";import"image-extensions";import"video-extensions";import"../../../../../../../../utils/jsonaDataFormatter.js";import"../../../../../../../../utils/bha.js";import"jsona";import"../../../../../../../../clients/jsonApi/index.js";import"../../../../../../../../utils/charts/Styles.scss.js";import"../../../../../../../../utils/getSingleAsset.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{Switch as c}from"../../../../../../../../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"../../../../../../../../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"../../../../../../../../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"../../../../../../../../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"../../../../../../../../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"../../../../../../../../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"querystring";import"../../../../../../../../clients/subscriptions/subscriptions-client.factory.js";import"../../../../../../../StatusBadge/constants.js";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/AppPanel/AppPanelsContext.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"../../../../../../../../componentsV2/AppHeader/V3/SettingsButton/SettingsButton.constants.js";import"../../../../../../../../componentsV2/AppHeader/V3/Actions/Actions.constants.js";import"../../../../../../../../componentsV2/AppHeader/V3/Actions/Actions.scss.js";import"../../../../../../../../componentsV2/AppHeader/V3/AppHeaderV3.scss.js";import"../../../../../../../../componentsV2/AppHeader/AppHeader.scss.js";import"../../../../../../../../componentsV2/OffsetWellsButton/OffsetWellsButton.js";import"../../../../../../../../componentsV2/ChartAxisExtreme/ChartAxisExtreme.scss.js";import"highcharts";import"../../../../../../../../componentsV2/ChartAxisExtreme/ChartAxisExtremeDragTracker.js";import"../../../../../../../../componentsV2/Autocomplete/Autocomplete.js";import"../../../../../../../../componentsV2/Select/Select.js";import"../../../../../../../../componentsV2/AppPanel/AppPanel.js";import"../../../../../../../../componentsV2/AppSettingsDivider/AppSettingsDivider.scss.js";import"../../../../../../../../componentsV2/WellArchivedMessage/WellArchivedMessage.js";import"../../../../../../../../componentsV2/DatePicker/DatePicker.js";import"../../../../../../../../componentsV2/DragHandle/DragHandle.js";import"../../../../../../../../componentsV2/CompletionsOffsetWellPicker/CompletionsOffsetWellPicker.js";import"../../../../../../../../componentsV2/Slider/constants.js";import"../../../../../../../../componentsV2/Slider/components/SliderThumb.js";import"../../../../../../../../componentsV2/Slider/Slider.scss.js";import"../../../../../../../../componentsV2/SliderAdvanced/SliderAdvanced.js";import"react-color";import"../../../../../../../../componentsV2/ColorPicker/Swatches/Swatches.scss.js";import"../../../../../../../../componentsV2/ColorPicker/OpacityDragtracker/OpacityDragTracker.scss.js";import"../../../../../../../../componentsV2/ColorPicker/ColorPicker.scss.js";import"../../../../../../../../componentsV2/ChartHelper/ChartHelper.scss.js";import"../../../../../../../../componentsV2/Hotkey/Hotkey.js";import"@tanstack/react-query";import"../../../../../../../../componentsV2/InterventionEventSelector/useInterventionUnitEvents.js";import"../../../../../../../../componentsV2/InterventionEventSelector/InterventionEventSelector.scss.js";var r=function(r){var p=r.children,m=s((function(o){return o.dense})),a=s((function(o){return o.setDense}));return e(o,{testId:"".concat("SettingsMenu","_tableSection"),title:i(n,{size:16,color:"T1",children:"Table"}),className:t.root,children:[i(c,{testId:"".concat("SettingsMenu","_denseSwitch"),checked:m,size:"medium",onChange:function(o){return a(o)},onLabel:"Dense Table"}),p]})};export{r as TableSettingsSection};
2
2
  //# sourceMappingURL=TableSettingsSection.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TableSettingsSection.js","sources":["../../../../../../../../../src/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/TableSettingsSection/TableSettingsSection.tsx"],"sourcesContent":["import type { ReactNode } from 'react';\n\nimport { SettingsAccordion } from '../SettingsAccordion';\nimport { useViewStore } from '../../../../../../stores/view-store/useViewStore';\n\nimport styles from './TableSettingsSection.module.scss';\n\nimport { Switch, Text } from '~/componentsV2';\n\nconst PAGE_NAME = 'SettingsMenu';\n\ntype TableSettingsSectionProps = {\n children?: ReactNode;\n};\n\nexport const TableSettingsSection = ({ children }: TableSettingsSectionProps) => {\n const dense = useViewStore(state => state.dense);\n const setDense = useViewStore(state => state.setDense);\n\n return (\n <SettingsAccordion\n testId={`${PAGE_NAME}_tableSection`}\n title={\n <Text size={16} color=\"T1\">\n Table\n </Text>\n }\n className={styles.root}\n >\n <Switch\n testId={`${PAGE_NAME}_denseSwitch`}\n checked={dense}\n size=\"medium\"\n onChange={value => setDense(value)}\n onLabel=\"Dense Table\"\n />\n\n {children}\n </SettingsAccordion>\n );\n};\n"],"names":["TableSettingsSection","_ref","children","dense","useViewStore","state","setDense","_jsxs","SettingsAccordion","testId","concat","title","_jsx","Text","size","color","className","styles","root","Switch","checked","onChange","value","onLabel"],"mappings":"krlBASA,IAMaA,EAAuB,SAA6CC,GAAA,IAA1CC,IAAAA,SAC/BC,EAAQC,GAAa,SAAAC,GAAK,OAAIA,EAAMF,SACpCG,EAAWF,GAAa,SAAAC,GAAK,OAAIA,EAAMC,YAE7C,OACEC,EAACC,EAAiB,CAChBC,OAAM,GAAAC,OAZM,eAYwB,iBACpCC,MACEC,EAACC,EAAI,CAACC,KAAM,GAAIC,MAAM,KAAIb,SAAA,UAI5Bc,UAAWC,EAAOC,KAAKhB,SAAA,CAEvBU,EAACO,EAAM,CACLV,OAAM,GAAAC,OArBI,eAqByB,gBACnCU,QAASjB,EACTW,KAAK,SACLO,SAAU,SAAAC,GAAK,OAAIhB,EAASgB,EAAO,EACnCC,QAAQ,gBAGTrB,IAGP"}
1
+ {"version":3,"file":"TableSettingsSection.js","sources":["../../../../../../../../../src/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/TableSettingsSection/TableSettingsSection.tsx"],"sourcesContent":["import type { ReactNode } from 'react';\n\nimport { SettingsAccordion } from '../SettingsAccordion';\nimport { useViewStore } from '../../../../../../stores/view-store/useViewStore';\n\nimport styles from './TableSettingsSection.module.scss';\n\nimport { Switch, Text } from '~/componentsV2';\n\nconst PAGE_NAME = 'SettingsMenu';\n\ntype TableSettingsSectionProps = {\n children?: ReactNode;\n};\n\nexport const TableSettingsSection = ({ children }: TableSettingsSectionProps) => {\n const dense = useViewStore(state => state.dense);\n const setDense = useViewStore(state => state.setDense);\n\n return (\n <SettingsAccordion\n testId={`${PAGE_NAME}_tableSection`}\n title={\n <Text size={16} color=\"T1\">\n Table\n </Text>\n }\n className={styles.root}\n >\n <Switch\n testId={`${PAGE_NAME}_denseSwitch`}\n checked={dense}\n size=\"medium\"\n onChange={value => setDense(value)}\n onLabel=\"Dense Table\"\n />\n\n {children}\n </SettingsAccordion>\n );\n};\n"],"names":["TableSettingsSection","_ref","children","dense","useViewStore","state","setDense","_jsxs","SettingsAccordion","testId","concat","title","_jsx","Text","size","color","className","styles","root","Switch","checked","onChange","value","onLabel"],"mappings":"milBASA,IAMaA,EAAuB,SAA6CC,GAAA,IAA1CC,IAAAA,SAC/BC,EAAQC,GAAa,SAAAC,GAAK,OAAIA,EAAMF,SACpCG,EAAWF,GAAa,SAAAC,GAAK,OAAIA,EAAMC,YAE7C,OACEC,EAACC,EAAiB,CAChBC,OAAM,GAAAC,OAZM,eAYwB,iBACpCC,MACEC,EAACC,EAAI,CAACC,KAAM,GAAIC,MAAM,KAAIb,SAAA,UAI5Bc,UAAWC,EAAOC,KAAKhB,SAAA,CAEvBU,EAACO,EAAM,CACLV,OAAM,GAAAC,OArBI,eAqByB,gBACnCU,QAASjB,EACTW,KAAK,SACLO,SAAU,SAAAC,GAAK,OAAIhB,EAASgB,EAAO,EACnCC,QAAQ,gBAGTrB,IAGP"}
@@ -1,2 +1,2 @@
1
- import o from"@babel/runtime/helpers/defineProperty";import s from"@babel/runtime/helpers/objectWithoutProperties";import t from"classnames";import{TableCell as e,TableSortLabel as n}from"@material-ui/core";import{ColumnType as i,EXPANDED_WELL_NAME_WIDTH as r,SortDirection as c}from"../../../../constants.js";import p from"../OffsetWellsTableHead/OffsetWellsTableHead.module.css.js";import"../../../../../../componentsV2/Text/Text.js";import"../../../../../../componentsV2/Grid/Grid.js";import"../../../../../../componentsV2/Grid/Cell.js";import"../../../../../../componentsV2/Header/Header.scss.js";import{jsxs as m,Fragment as a,jsx as l}from"react/jsx-runtime";import"../../../../../../componentsV2/Button/Button.js";import"../../../../../../componentsV2/ButtonIcon/ButtonIcon.js";import{Tooltip as j}from"../../../../../../componentsV2/Tooltip/Tooltip.js";import"../../../../../../componentsV2/Popover/Popover.js";import"../../../../../../componentsV2/PopoverPanel/PopoverPanel.js";import"../../../../../../componentsV2/Radio/Radio.js";import"react";import"../../../../../../componentsV2/RadioAndCheckboxGroup/RadioAndCheckboxGroup.scss.js";import{Checkbox as d}from"../../../../../../componentsV2/Checkbox/Checkbox.js";import"@babel/runtime/helpers/toConsumableArray";import"../../../../../../componentsV2/TextInput/TextInput.js";import"../../../../../../componentsV2/TextInputNext/TextInputNext.js";import"../../../../../../componentsV2/TextArea/TextArea.js";import"../../../../../../componentsV2/Label/Label.js";import"@babel/runtime/helpers/slicedToArray";import"lodash";import"../../../../../../componentsV2/TextEndTruncated/TextEndTruncated.scss.js";import"../../../../../../componentsV2/TextMiddleTruncated/TextMiddleTruncated.constants.js";import"../../../../../../componentsV2/TextMiddleTruncated/TextMiddleTruncated.scss.js";import"../../../../../../componentsV2/TextLink/TextLink.js";import"../../../../../../componentsV2/Chip/Chip.js";import"../../../../../../componentsV2/ChipAlert/ChipAlert.js";import"../../../../../../componentsV2/ChipIndicator/ChipIndicator.js";import"../../../../../../componentsV2/Avatar/Avatar.js";import"../../../../../../componentsV2/AvatarGroup/AvatarGroup.js";import"@material-ui/lab";import"../../../../../../componentsV2/ToggleButtons/ToggleButtons.scss.js";import"../../../../../../componentsV2/Paper/Paper.js";import"../../../../../../componentsV2/ModalWindow/ModalWindow.js";import"uuid";import"../../../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js";import"../../../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js";import"../../../../../DevCenter/DevCenterAppContainer/components/IsInsideIsolatedDcAppProvider.js";import"../../../../../../componentsV2/Modal/Modal.scss.js";import"../../../../../../componentsV2/Menu/Menu.js";import"../../../../../../componentsV2/utils.js";import{RightIcon as u}from"../../../../../../icons/iconParkIcons.js";import"../../../../../../icons/customIcons/icons/AddMessage.js";import"../../../../../../icons/customIcons/icons/DragOne.js";import"../../../../../../icons/customIcons/icons/Attention.js";import"../../../../../../icons/customIcons/icons/Collapse.js";import"../../../../../../icons/customIcons/icons/Dashboard.js";import"../../../../../../icons/customIcons/icons/Expand.js";import"../../../../../../icons/customIcons/icons/FolderClosed.js";import"../../../../../../icons/customIcons/icons/FolderClosedFilled.js";import"../../../../../../icons/customIcons/icons/FolderOpened.js";import"../../../../../../icons/customIcons/icons/GreaterOrEqual.js";import"../../../../../../icons/customIcons/icons/LessOrEqual.js";import"../../../../../../icons/customIcons/icons/Search.js";import"../../../../../../icons/customIcons/icons/SearchOne.js";import"../../../../../../icons/customIcons/icons/Wellhub.js";import"../../../../../../icons/customIcons/icons/MultiRuler.js";import"../../../../../../icons/customIcons/icons/Checkbox.js";import"../../../../../../icons/customIcons/icons/CheckboxChecked.js";import"../../../../../../icons/customIcons/icons/CheckboxIndeterminate.js";import"../../../../../../icons/customIcons/icons/Radio.js";import"../../../../../../icons/customIcons/icons/RadioChecked.js";import"../../../../../../icons/customIcons/icons/SimulFrac.js";import"../../../../../../icons/customIcons/icons/ZipperFrac.js";import"../../../../../../icons/customIcons/icons/CautionFilled.js";import"../../../../../../icons/customIcons/icons/InfoRounded.js";import"../../../../../../icons/customIcons/icons/FlameFilled.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/PinOne.js";import"../../../../../../icons/customIcons/icons/PinOneCrossed.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/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"../../../../../UserMention/utils/index.js";import"../../../../../../utils/convert.js";import"../../../../../../constants/completion.js";import"moment";import"../../../../../../constants/alerts.js";import"../../../../../../utils/casing/validation.js";import"lodash/mean";import"../../../../../../constants/streamSourceType.js";import"lodash/get";import"file-saver";import"query-string";import"../../../../../../constants/goals.js";import"../../../../../../constants/segment.js";import"../../../../../../constants/apps.js";import"../../../../../../constants/drillstring.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/drillstring/conversion.js";import"lodash/set";import"lodash/cloneDeep";import"lodash/isNumber";import"lodash/has";import"../../../../../../utils/ga.js";import"../../../../../../utils/goalsConfig/goalsConfig.js";import"../../../../../../utils/lasParser.js";import"../../../../../../utils/main.js";import"../../../../../../utils/metrics/metricsConfig.js";import"../../../../../../utils/mobileDetect.js";import"../../../../../../utils/feed.js";import"../../../../../../utils/reports.js";import"moment-timezone";import"@babel/runtime/helpers/typeof";import"../../../../../../utils/dashboardReports.js";import"../../../../../../utils/env.js";import"file-extension";import"image-extensions";import"video-extensions";import"../../../../../../utils/jsonaDataFormatter.js";import"../../../../../../utils/bha.js";import"jsona";import"../../../../../../clients/jsonApi/index.js";import"../../../../../../utils/charts/Styles.scss.js";import"../../../../../../utils/getSingleAsset.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"../../../../../../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"../../../../../../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"../../../../../../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"../../../../../../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"../../../../../../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"../../../../../StatusBadge/constants.js";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/AppPanel/AppPanelsContext.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"../../../../../../componentsV2/AppHeader/V3/SettingsButton/SettingsButton.constants.js";import"../../../../../../componentsV2/AppHeader/V3/Actions/Actions.constants.js";import"../../../../../../componentsV2/AppHeader/V3/Actions/Actions.scss.js";import"../../../../../../componentsV2/AppHeader/V3/AppHeaderV3.scss.js";import"../../../../../../componentsV2/AppHeader/AppHeader.scss.js";import"../../../../../../componentsV2/OffsetWellsButton/OffsetWellsButton.js";import"../../../../../../componentsV2/ChartAxisExtreme/ChartAxisExtreme.scss.js";import"highcharts";import"../../../../../../componentsV2/ChartAxisExtreme/ChartAxisExtremeDragTracker.js";import"../../../../../../componentsV2/Autocomplete/Autocomplete.js";import"../../../../../../componentsV2/Select/Select.js";import"../../../../../../componentsV2/AppPanel/AppPanel.js";import"../../../../../../componentsV2/AppSettingsDivider/AppSettingsDivider.scss.js";import"../../../../../../componentsV2/WellArchivedMessage/WellArchivedMessage.js";import"../../../../../../componentsV2/DatePicker/DatePicker.js";import"../../../../../../componentsV2/DragHandle/DragHandle.js";import"../../../../../../componentsV2/CompletionsOffsetWellPicker/CompletionsOffsetWellPicker.js";import"../../../../../../componentsV2/Slider/constants.js";import"../../../../../../componentsV2/Slider/components/SliderThumb.js";import"../../../../../../componentsV2/Slider/Slider.scss.js";import"../../../../../../componentsV2/SliderAdvanced/SliderAdvanced.js";import"react-color";import"../../../../../../componentsV2/ColorPicker/Swatches/Swatches.scss.js";import"../../../../../../componentsV2/ColorPicker/OpacityDragtracker/OpacityDragTracker.scss.js";import"../../../../../../componentsV2/ColorPicker/ColorPicker.scss.js";import"../../../../../../componentsV2/ChartHelper/ChartHelper.scss.js";import"../../../../../../componentsV2/Hotkey/Hotkey.js";import"@tanstack/react-query";import"../../../../../../componentsV2/InterventionEventSelector/useInterventionUnitEvents.js";import"../../../../../../componentsV2/InterventionEventSelector/InterventionEventSelector.scss.js";var V=["title"];function A(o,s){var t=Object.keys(o);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(o);s&&(e=e.filter((function(s){return Object.getOwnPropertyDescriptor(o,s).enumerable}))),t.push.apply(t,e)}return t}function C(s){for(var t=1;t<arguments.length;t++){var e=null!=arguments[t]?arguments[t]:{};t%2?A(Object(e),!0).forEach((function(t){o(s,t,e[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(e)):A(Object(e)).forEach((function(o){Object.defineProperty(s,o,Object.getOwnPropertyDescriptor(e,o))}))}return s}var I="OffsetWellsTableHead",h=function(o){var t=o.title,e=s(o,V);return l(j,{placement:"top-end",title:t,children:l(n,C({},e))})},v=function(s){var n=s.columnsWithDict,V=s.sortBy,A=s.sortDirection,C=s.indeterminate,v=s.isAllWellsSelected,S=s.handleChangeAllOffsetWells,P=s.wellNameStyle,b=s.isViewOnly,g=s.open,D=s.isWellNameExpand,f=s.toggleWellNameExpand,x=s.onSort,T=n.find((function(o){return o.key===i.name})),O=(null==T?void 0:T.minWidth)||0,y=(null==T?void 0:T.flex)||0,k=n.find((function(o){return o.key===i.status})),H=(null==k?void 0:k.minWidth)||0,F=(null==k?void 0:k.flex)||0;return m(a,{children:[m(e,{"data-testid":"".concat(I,"_wellName"),"data-expanded":D||void 0,className:t(p.headCell,p.wellNameCell,P),style:D?{minWidth:r,flex:0}:{minWidth:O,flex:y},children:[m("div",{className:p.nameWrapper,children:[!b&&g&&l(d,{testId:"".concat(I,"_allWellsSelector"),size:"small",onChange:function(o){return S(o)},checked:v,indeterminate:C}),l(h,{title:"Sort",active:V===i.name,direction:V===i.name&&A===c.DESC?"desc":"asc",classes:{root:t(p.headerLabel,o({},p.cellDataViewOnly,b))},onClick:function(){return x(i.name)},children:"Well Name"})]}),l(j,{title:D?"Collapse":"Expand",children:l(u,{size:"small",className:t(p.wellNameExpandIcon,o({},p.wellNameCollapsed,!D)),onClick:f})})]}),l(e,{"data-testid":"".concat(I,"_nameExpander_").concat(D),className:p.headCell,style:{minWidth:H,flex:F},children:l("div",{className:p.statusPlaceholder})})]})};export{v as WellNameHeaderCell};
1
+ import o from"@babel/runtime/helpers/defineProperty";import s from"@babel/runtime/helpers/objectWithoutProperties";import t from"classnames";import{TableCell as e,TableSortLabel as n}from"@material-ui/core";import{ColumnType as i,EXPANDED_WELL_NAME_WIDTH as r,SortDirection as c}from"../../../../constants.js";import p from"../OffsetWellsTableHead/OffsetWellsTableHead.module.css.js";import"../../../../../../componentsV2/Text/Text.js";import"../../../../../../componentsV2/Grid/Grid.js";import"../../../../../../componentsV2/Grid/Cell.js";import"../../../../../../componentsV2/Header/Header.scss.js";import{jsxs as m,Fragment as a,jsx as l}from"react/jsx-runtime";import"../../../../../../componentsV2/Button/Button.js";import"../../../../../../componentsV2/ButtonIcon/ButtonIcon.js";import{Tooltip as j}from"../../../../../../componentsV2/Tooltip/Tooltip.js";import"../../../../../../componentsV2/Popover/Popover.js";import"../../../../../../componentsV2/PopoverPanel/PopoverPanel.js";import"../../../../../../componentsV2/Radio/Radio.js";import"react";import"../../../../../../componentsV2/RadioAndCheckboxGroup/RadioAndCheckboxGroup.scss.js";import{Checkbox as d}from"../../../../../../componentsV2/Checkbox/Checkbox.js";import"@babel/runtime/helpers/toConsumableArray";import"../../../../../../componentsV2/TextInput/TextInput.js";import"../../../../../../componentsV2/TextInputNext/TextInputNext.js";import"../../../../../../componentsV2/TextArea/TextArea.js";import"../../../../../../componentsV2/Label/Label.js";import"@babel/runtime/helpers/slicedToArray";import"lodash";import"../../../../../../componentsV2/TextEndTruncated/TextEndTruncated.scss.js";import"../../../../../../componentsV2/TextMiddleTruncated/TextMiddleTruncated.constants.js";import"../../../../../../componentsV2/TextMiddleTruncated/TextMiddleTruncated.scss.js";import"../../../../../../componentsV2/TextLink/TextLink.js";import"../../../../../../componentsV2/Chip/Chip.js";import"../../../../../../componentsV2/ChipAlert/ChipAlert.js";import"../../../../../../componentsV2/ChipIndicator/ChipIndicator.js";import"../../../../../../componentsV2/Avatar/Avatar.js";import"../../../../../../componentsV2/AvatarGroup/AvatarGroup.js";import"@material-ui/lab";import"../../../../../../componentsV2/ToggleButtons/ToggleButtons.scss.js";import"../../../../../../componentsV2/Paper/Paper.js";import"../../../../../../componentsV2/ModalWindow/ModalWindow.js";import"uuid";import"../../../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js";import"../../../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js";import"../../../../../DevCenter/DevCenterAppContainer/components/IsInsideIsolatedDcAppProvider.js";import"../../../../../../componentsV2/Modal/Modal.scss.js";import"../../../../../../componentsV2/Menu/Menu.js";import"../../../../../../componentsV2/utils.js";import{RightIcon as u}from"../../../../../../icons/iconParkIcons.js";import"../../../../../../icons/customIcons/icons/AddMessage.js";import"../../../../../../icons/customIcons/icons/DragOne.js";import"../../../../../../icons/customIcons/icons/Attention.js";import"../../../../../../icons/customIcons/icons/Collapse.js";import"../../../../../../icons/customIcons/icons/Dashboard.js";import"../../../../../../icons/customIcons/icons/Expand.js";import"../../../../../../icons/customIcons/icons/FolderClosed.js";import"../../../../../../icons/customIcons/icons/FolderClosedFilled.js";import"../../../../../../icons/customIcons/icons/FolderOpened.js";import"../../../../../../icons/customIcons/icons/GreaterOrEqual.js";import"../../../../../../icons/customIcons/icons/LessOrEqual.js";import"../../../../../../icons/customIcons/icons/Search.js";import"../../../../../../icons/customIcons/icons/SearchOne.js";import"../../../../../../icons/customIcons/icons/Wellhub.js";import"../../../../../../icons/customIcons/icons/MultiRuler.js";import"../../../../../../icons/customIcons/icons/Checkbox.js";import"../../../../../../icons/customIcons/icons/CheckboxChecked.js";import"../../../../../../icons/customIcons/icons/CheckboxIndeterminate.js";import"../../../../../../icons/customIcons/icons/Radio.js";import"../../../../../../icons/customIcons/icons/RadioChecked.js";import"../../../../../../icons/customIcons/icons/SimulFrac.js";import"../../../../../../icons/customIcons/icons/ZipperFrac.js";import"../../../../../../icons/customIcons/icons/CautionFilled.js";import"../../../../../../icons/customIcons/icons/InfoRounded.js";import"../../../../../../icons/customIcons/icons/FlameFilled.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/PinOne.js";import"../../../../../../icons/customIcons/icons/PinOneCrossed.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/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"../../../../../UserMention/utils/index.js";import"../../../../../../utils/convert.js";import"../../../../../../constants/completion.js";import"moment";import"../../../../../../constants/alerts.js";import"../../../../../../utils/casing/validation.js";import"lodash/mean";import"../../../../../../constants/streamSourceType.js";import"lodash/get";import"file-saver";import"query-string";import"../../../../../../constants/goals.js";import"../../../../../../constants/segment.js";import"../../../../../../constants/apps.js";import"../../../../../../constants/drillstring.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/drillstring/conversion.js";import"lodash/set";import"lodash/cloneDeep";import"lodash/isNumber";import"lodash/has";import"../../../../../../utils/ga.js";import"../../../../../../utils/goalsConfig/goalsConfig.js";import"../../../../../../utils/lasParser.js";import"../../../../../../utils/main.js";import"../../../../../../utils/metrics/metricsConfig.js";import"../../../../../../utils/mobileDetect.js";import"../../../../../../utils/feed.js";import"../../../../../../utils/reports.js";import"moment-timezone";import"@babel/runtime/helpers/typeof";import"../../../../../../utils/dashboardReports.js";import"../../../../../../utils/env.js";import"file-extension";import"image-extensions";import"video-extensions";import"../../../../../../utils/jsonaDataFormatter.js";import"../../../../../../utils/bha.js";import"jsona";import"../../../../../../clients/jsonApi/index.js";import"../../../../../../utils/charts/Styles.scss.js";import"../../../../../../utils/getSingleAsset.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"../../../../../../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"../../../../../../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"../../../../../../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"../../../../../../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"../../../../../../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"querystring";import"../../../../../../clients/subscriptions/subscriptions-client.factory.js";import"../../../../../StatusBadge/constants.js";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/AppPanel/AppPanelsContext.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"../../../../../../componentsV2/AppHeader/V3/SettingsButton/SettingsButton.constants.js";import"../../../../../../componentsV2/AppHeader/V3/Actions/Actions.constants.js";import"../../../../../../componentsV2/AppHeader/V3/Actions/Actions.scss.js";import"../../../../../../componentsV2/AppHeader/V3/AppHeaderV3.scss.js";import"../../../../../../componentsV2/AppHeader/AppHeader.scss.js";import"../../../../../../componentsV2/OffsetWellsButton/OffsetWellsButton.js";import"../../../../../../componentsV2/ChartAxisExtreme/ChartAxisExtreme.scss.js";import"highcharts";import"../../../../../../componentsV2/ChartAxisExtreme/ChartAxisExtremeDragTracker.js";import"../../../../../../componentsV2/Autocomplete/Autocomplete.js";import"../../../../../../componentsV2/Select/Select.js";import"../../../../../../componentsV2/AppPanel/AppPanel.js";import"../../../../../../componentsV2/AppSettingsDivider/AppSettingsDivider.scss.js";import"../../../../../../componentsV2/WellArchivedMessage/WellArchivedMessage.js";import"../../../../../../componentsV2/DatePicker/DatePicker.js";import"../../../../../../componentsV2/DragHandle/DragHandle.js";import"../../../../../../componentsV2/CompletionsOffsetWellPicker/CompletionsOffsetWellPicker.js";import"../../../../../../componentsV2/Slider/constants.js";import"../../../../../../componentsV2/Slider/components/SliderThumb.js";import"../../../../../../componentsV2/Slider/Slider.scss.js";import"../../../../../../componentsV2/SliderAdvanced/SliderAdvanced.js";import"react-color";import"../../../../../../componentsV2/ColorPicker/Swatches/Swatches.scss.js";import"../../../../../../componentsV2/ColorPicker/OpacityDragtracker/OpacityDragTracker.scss.js";import"../../../../../../componentsV2/ColorPicker/ColorPicker.scss.js";import"../../../../../../componentsV2/ChartHelper/ChartHelper.scss.js";import"../../../../../../componentsV2/Hotkey/Hotkey.js";import"@tanstack/react-query";import"../../../../../../componentsV2/InterventionEventSelector/useInterventionUnitEvents.js";import"../../../../../../componentsV2/InterventionEventSelector/InterventionEventSelector.scss.js";var V=["title"];function A(o,s){var t=Object.keys(o);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(o);s&&(e=e.filter((function(s){return Object.getOwnPropertyDescriptor(o,s).enumerable}))),t.push.apply(t,e)}return t}function C(s){for(var t=1;t<arguments.length;t++){var e=null!=arguments[t]?arguments[t]:{};t%2?A(Object(e),!0).forEach((function(t){o(s,t,e[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(e)):A(Object(e)).forEach((function(o){Object.defineProperty(s,o,Object.getOwnPropertyDescriptor(e,o))}))}return s}var I="OffsetWellsTableHead",h=function(o){var t=o.title,e=s(o,V);return l(j,{placement:"top-end",title:t,children:l(n,C({},e))})},v=function(s){var n=s.columnsWithDict,V=s.sortBy,A=s.sortDirection,C=s.indeterminate,v=s.isAllWellsSelected,S=s.handleChangeAllOffsetWells,P=s.wellNameStyle,g=s.isViewOnly,b=s.open,D=s.isWellNameExpand,f=s.toggleWellNameExpand,x=s.onSort,T=n.find((function(o){return o.key===i.name})),O=(null==T?void 0:T.minWidth)||0,y=(null==T?void 0:T.flex)||0,k=n.find((function(o){return o.key===i.status})),H=(null==k?void 0:k.minWidth)||0,F=(null==k?void 0:k.flex)||0;return m(a,{children:[m(e,{"data-testid":"".concat(I,"_wellName"),"data-expanded":D||void 0,className:t(p.headCell,p.wellNameCell,P),style:D?{minWidth:r,flex:0}:{minWidth:O,flex:y},children:[m("div",{className:p.nameWrapper,children:[!g&&b&&l(d,{testId:"".concat(I,"_allWellsSelector"),size:"small",onChange:function(o){return S(o)},checked:v,indeterminate:C}),l(h,{title:"Sort",active:V===i.name,direction:V===i.name&&A===c.DESC?"desc":"asc",classes:{root:t(p.headerLabel,o({},p.cellDataViewOnly,g))},onClick:function(){return x(i.name)},children:"Well Name"})]}),l(j,{title:D?"Collapse":"Expand",children:l(u,{size:"small",className:t(p.wellNameExpandIcon,o({},p.wellNameCollapsed,!D)),onClick:f})})]}),l(e,{"data-testid":"".concat(I,"_nameExpander_").concat(D),className:p.headCell,style:{minWidth:H,flex:F},children:l("div",{className:p.statusPlaceholder})})]})};export{v as WellNameHeaderCell};
2
2
  //# sourceMappingURL=WellNameHeaderCell.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"WellNameHeaderCell.js","sources":["../../../../../../../src/components/OffsetWellPickerV5/components/OffsetWellsTable/components/WellNameHeaderCell/WellNameHeaderCell.tsx"],"sourcesContent":["import { ComponentProps } from 'react';\nimport classNames from 'classnames';\nimport { TableSortLabel as MuiTableSortLabel, TableCell } from '@material-ui/core';\n\nimport {\n ColumnType,\n EXPANDED_WELL_NAME_WIDTH,\n SortDirection,\n SortDirectionType,\n} from '../../../../constants';\n\nimport styles from '../OffsetWellsTableHead/OffsetWellsTableHead.module.css';\n\nimport { Checkbox, Tooltip } from '~/componentsV2';\nimport { RightIcon } from '~/icons';\n\nconst PAGE_NAME = 'OffsetWellsTableHead';\n\ntype TableSortLabelProps = ComponentProps<typeof MuiTableSortLabel> & {\n title: string;\n};\n\nconst TableSortLabel = ({ title, ...props }: TableSortLabelProps) => (\n <Tooltip placement=\"top-end\" title={title}>\n <MuiTableSortLabel {...props} />\n </Tooltip>\n);\n\ntype ColumnConfig = {\n key: string;\n label?: string;\n type?: string;\n minWidth: number;\n flex: number;\n};\n\ntype WellNameHeaderCellProps = {\n columnsWithDict: ColumnConfig[];\n sortBy: string;\n sortDirection: SortDirectionType;\n indeterminate: boolean;\n isAllWellsSelected: boolean;\n handleChangeAllOffsetWells: (checked: boolean) => void;\n wellNameStyle: string;\n isViewOnly: boolean;\n open: boolean | undefined;\n isWellNameExpand: boolean;\n toggleWellNameExpand: () => void;\n onSort: (key: string) => void;\n};\n\nexport const WellNameHeaderCell = ({\n columnsWithDict,\n sortBy,\n sortDirection,\n indeterminate,\n isAllWellsSelected,\n handleChangeAllOffsetWells,\n wellNameStyle,\n isViewOnly,\n open,\n isWellNameExpand,\n toggleWellNameExpand,\n onSort,\n}: WellNameHeaderCellProps) => {\n const nameCol = columnsWithDict.find(item => item.key === ColumnType.name);\n const nameMinWidth = nameCol?.minWidth || 0;\n const nameFlex = nameCol?.flex || 0;\n\n const statusCol = columnsWithDict.find(item => item.key === ColumnType.status);\n const statusMinWidth = statusCol?.minWidth || 0;\n const statusFlex = statusCol?.flex || 0;\n\n return (\n <>\n <TableCell\n data-testid={`${PAGE_NAME}_wellName`}\n data-expanded={isWellNameExpand || undefined}\n className={classNames(styles.headCell, styles.wellNameCell, wellNameStyle)}\n style={\n isWellNameExpand\n ? { minWidth: EXPANDED_WELL_NAME_WIDTH, flex: 0 }\n : { minWidth: nameMinWidth, flex: nameFlex }\n }\n >\n <div className={styles.nameWrapper}>\n {!isViewOnly && open && (\n <Checkbox\n testId={`${PAGE_NAME}_allWellsSelector`}\n size=\"small\"\n onChange={checked => handleChangeAllOffsetWells(checked)}\n checked={isAllWellsSelected}\n indeterminate={indeterminate}\n />\n )}\n <TableSortLabel\n title=\"Sort\"\n active={sortBy === ColumnType.name}\n direction={\n sortBy === ColumnType.name && sortDirection === SortDirection.DESC ? 'desc' : 'asc'\n }\n classes={{\n root: classNames(styles.headerLabel, {\n [styles.cellDataViewOnly]: isViewOnly,\n }),\n }}\n onClick={() => onSort(ColumnType.name)}\n >\n Well Name\n </TableSortLabel>\n </div>\n <Tooltip title={isWellNameExpand ? 'Collapse' : 'Expand'}>\n <RightIcon\n size=\"small\"\n className={classNames(styles.wellNameExpandIcon, {\n [styles.wellNameCollapsed]: !isWellNameExpand,\n })}\n onClick={toggleWellNameExpand}\n />\n </Tooltip>\n </TableCell>\n\n <TableCell\n data-testid={`${PAGE_NAME}_nameExpander_${isWellNameExpand}`}\n className={styles.headCell}\n style={{ minWidth: statusMinWidth, flex: statusFlex }}\n >\n <div className={styles.statusPlaceholder} />\n </TableCell>\n </>\n );\n};\n"],"names":["PAGE_NAME","TableSortLabel","_ref","title","props","_objectWithoutProperties","_excluded","_jsx","Tooltip","placement","children","MuiTableSortLabel","_objectSpread","WellNameHeaderCell","_ref2","columnsWithDict","sortBy","sortDirection","indeterminate","isAllWellsSelected","handleChangeAllOffsetWells","wellNameStyle","isViewOnly","open","isWellNameExpand","toggleWellNameExpand","onSort","nameCol","find","item","key","ColumnType","name","nameMinWidth","minWidth","nameFlex","flex","statusCol","status","statusMinWidth","statusFlex","_jsxs","_Fragment","TableCell","concat","undefined","className","classNames","styles","headCell","wellNameCell","style","EXPANDED_WELL_NAME_WIDTH","nameWrapper","Checkbox","testId","size","onChange","checked","active","direction","SortDirection","DESC","classes","root","headerLabel","_defineProperty","cellDataViewOnly","onClick","RightIcon","wellNameExpandIcon","wellNameCollapsed","statusPlaceholder"],"mappings":"w0jBAgBA,IAAMA,EAAY,uBAMZC,EAAiB,SAAHC,GAAA,IAAMC,IAAAA,MAAUC,EAAKC,EAAAH,EAAAI,GAAA,OACvCC,EAACC,EAAO,CAACC,UAAU,UAAUN,MAAOA,EAAMO,SACxCH,EAACI,EAAiBC,EAAA,CAAA,EAAKR,KACf,EA0BCS,EAAqB,SAaHC,GAAA,IAZ7BC,IAAAA,gBACAC,IAAAA,OACAC,IAAAA,cACAC,IAAAA,cACAC,IAAAA,mBACAC,IAAAA,2BACAC,IAAAA,cACAC,IAAAA,WACAC,IAAAA,KACAC,IAAAA,iBACAC,IAAAA,qBACAC,IAAAA,OAEMC,EAAUZ,EAAgBa,MAAK,SAAAC,GAAI,OAAIA,EAAKC,MAAQC,EAAWC,QAC/DC,GAAeN,aAAO,EAAPA,EAASO,WAAY,EACpCC,GAAWR,aAAO,EAAPA,EAASS,OAAQ,EAE5BC,EAAYtB,EAAgBa,MAAK,SAAAC,GAAI,OAAIA,EAAKC,MAAQC,EAAWO,UACjEC,GAAiBF,aAAS,EAATA,EAAWH,WAAY,EACxCM,GAAaH,aAAS,EAATA,EAAWD,OAAQ,EAEtC,OACEK,EAAAC,EAAA,CAAAhC,SAAA,CACE+B,EAACE,EAAS,CACR,cAAA,GAAAC,OAAgB5C,EAAqB,aACrC,gBAAewB,QAAoBqB,EACnCC,UAAWC,EAAWC,EAAOC,SAAUD,EAAOE,aAAc7B,GAC5D8B,MACE3B,EACI,CAAEU,SAAUkB,EAA0BhB,KAAM,GAC5C,CAAEF,SAAUD,EAAcG,KAAMD,GACrCzB,SAED,CAAA+B,EAAA,MAAA,CAAKK,UAAWE,EAAOK,YAAY3C,SAAA,EAC/BY,GAAcC,GACdhB,EAAC+C,EAAQ,CACPC,OAAM,GAAAX,OAAK5C,EAA6B,qBACxCwD,KAAK,QACLC,SAAU,SAAAC,GAAO,OAAItC,EAA2BsC,EAAS,EACzDA,QAASvC,EACTD,cAAeA,IAGnBX,EAACN,EAAc,CACbE,MAAM,OACNwD,OAAQ3C,IAAWe,EAAWC,KAC9B4B,UACE5C,IAAWe,EAAWC,MAAQf,IAAkB4C,EAAcC,KAAO,OAAS,MAEhFC,QAAS,CACPC,KAAMjB,EAAWC,EAAOiB,YAAWC,EAAA,CAAA,EAChClB,EAAOmB,iBAAmB7C,KAG/B8C,QAAS,WAAA,OAAM1C,EAAOK,EAAWC,KAAM,EAAAtB,SAAA,iBAK3CH,EAACC,EAAO,CAACL,MAAOqB,EAAmB,WAAa,SAASd,SACvDH,EAAC8D,EAAS,CACRb,KAAK,QACLV,UAAWC,EAAWC,EAAOsB,mBAC1BtB,EAAAA,CAAAA,EAAAA,EAAOuB,mBAAqB/C,IAE/B4C,QAAS3C,SAKflB,EAACoC,EAAS,CACR,cAAgB3C,GAAAA,OAAAA,EAA0BwB,kBAAAA,OAAAA,GAC1CsB,UAAWE,EAAOC,SAClBE,MAAO,CAAEjB,SAAUK,EAAgBH,KAAMI,GAAa9B,SAEtDH,EAAA,MAAA,CAAKuC,UAAWE,EAAOwB,wBAI/B"}
1
+ {"version":3,"file":"WellNameHeaderCell.js","sources":["../../../../../../../src/components/OffsetWellPickerV5/components/OffsetWellsTable/components/WellNameHeaderCell/WellNameHeaderCell.tsx"],"sourcesContent":["import { ComponentProps } from 'react';\nimport classNames from 'classnames';\nimport { TableSortLabel as MuiTableSortLabel, TableCell } from '@material-ui/core';\n\nimport {\n ColumnType,\n EXPANDED_WELL_NAME_WIDTH,\n SortDirection,\n SortDirectionType,\n} from '../../../../constants';\n\nimport styles from '../OffsetWellsTableHead/OffsetWellsTableHead.module.css';\n\nimport { Checkbox, Tooltip } from '~/componentsV2';\nimport { RightIcon } from '~/icons';\n\nconst PAGE_NAME = 'OffsetWellsTableHead';\n\ntype TableSortLabelProps = ComponentProps<typeof MuiTableSortLabel> & {\n title: string;\n};\n\nconst TableSortLabel = ({ title, ...props }: TableSortLabelProps) => (\n <Tooltip placement=\"top-end\" title={title}>\n <MuiTableSortLabel {...props} />\n </Tooltip>\n);\n\ntype ColumnConfig = {\n key: string;\n label?: string;\n type?: string;\n minWidth: number;\n flex: number;\n};\n\ntype WellNameHeaderCellProps = {\n columnsWithDict: ColumnConfig[];\n sortBy: string;\n sortDirection: SortDirectionType;\n indeterminate: boolean;\n isAllWellsSelected: boolean;\n handleChangeAllOffsetWells: (checked: boolean) => void;\n wellNameStyle: string;\n isViewOnly: boolean;\n open: boolean | undefined;\n isWellNameExpand: boolean;\n toggleWellNameExpand: () => void;\n onSort: (key: string) => void;\n};\n\nexport const WellNameHeaderCell = ({\n columnsWithDict,\n sortBy,\n sortDirection,\n indeterminate,\n isAllWellsSelected,\n handleChangeAllOffsetWells,\n wellNameStyle,\n isViewOnly,\n open,\n isWellNameExpand,\n toggleWellNameExpand,\n onSort,\n}: WellNameHeaderCellProps) => {\n const nameCol = columnsWithDict.find(item => item.key === ColumnType.name);\n const nameMinWidth = nameCol?.minWidth || 0;\n const nameFlex = nameCol?.flex || 0;\n\n const statusCol = columnsWithDict.find(item => item.key === ColumnType.status);\n const statusMinWidth = statusCol?.minWidth || 0;\n const statusFlex = statusCol?.flex || 0;\n\n return (\n <>\n <TableCell\n data-testid={`${PAGE_NAME}_wellName`}\n data-expanded={isWellNameExpand || undefined}\n className={classNames(styles.headCell, styles.wellNameCell, wellNameStyle)}\n style={\n isWellNameExpand\n ? { minWidth: EXPANDED_WELL_NAME_WIDTH, flex: 0 }\n : { minWidth: nameMinWidth, flex: nameFlex }\n }\n >\n <div className={styles.nameWrapper}>\n {!isViewOnly && open && (\n <Checkbox\n testId={`${PAGE_NAME}_allWellsSelector`}\n size=\"small\"\n onChange={checked => handleChangeAllOffsetWells(checked)}\n checked={isAllWellsSelected}\n indeterminate={indeterminate}\n />\n )}\n <TableSortLabel\n title=\"Sort\"\n active={sortBy === ColumnType.name}\n direction={\n sortBy === ColumnType.name && sortDirection === SortDirection.DESC ? 'desc' : 'asc'\n }\n classes={{\n root: classNames(styles.headerLabel, {\n [styles.cellDataViewOnly]: isViewOnly,\n }),\n }}\n onClick={() => onSort(ColumnType.name)}\n >\n Well Name\n </TableSortLabel>\n </div>\n <Tooltip title={isWellNameExpand ? 'Collapse' : 'Expand'}>\n <RightIcon\n size=\"small\"\n className={classNames(styles.wellNameExpandIcon, {\n [styles.wellNameCollapsed]: !isWellNameExpand,\n })}\n onClick={toggleWellNameExpand}\n />\n </Tooltip>\n </TableCell>\n\n <TableCell\n data-testid={`${PAGE_NAME}_nameExpander_${isWellNameExpand}`}\n className={styles.headCell}\n style={{ minWidth: statusMinWidth, flex: statusFlex }}\n >\n <div className={styles.statusPlaceholder} />\n </TableCell>\n </>\n );\n};\n"],"names":["PAGE_NAME","TableSortLabel","_ref","title","props","_objectWithoutProperties","_excluded","_jsx","Tooltip","placement","children","MuiTableSortLabel","_objectSpread","WellNameHeaderCell","_ref2","columnsWithDict","sortBy","sortDirection","indeterminate","isAllWellsSelected","handleChangeAllOffsetWells","wellNameStyle","isViewOnly","open","isWellNameExpand","toggleWellNameExpand","onSort","nameCol","find","item","key","ColumnType","name","nameMinWidth","minWidth","nameFlex","flex","statusCol","status","statusMinWidth","statusFlex","_jsxs","_Fragment","TableCell","concat","undefined","className","classNames","styles","headCell","wellNameCell","style","EXPANDED_WELL_NAME_WIDTH","nameWrapper","Checkbox","testId","size","onChange","checked","active","direction","SortDirection","DESC","classes","root","headerLabel","_defineProperty","cellDataViewOnly","onClick","RightIcon","wellNameExpandIcon","wellNameCollapsed","statusPlaceholder"],"mappings":"qsjBAgBA,IAAMA,EAAY,uBAMZC,EAAiB,SAAHC,GAAA,IAAMC,IAAAA,MAAUC,EAAKC,EAAAH,EAAAI,GAAA,OACvCC,EAACC,EAAO,CAACC,UAAU,UAAUN,MAAOA,EAAMO,SACxCH,EAACI,EAAiBC,EAAA,CAAA,EAAKR,KACf,EA0BCS,EAAqB,SAaHC,GAAA,IAZ7BC,IAAAA,gBACAC,IAAAA,OACAC,IAAAA,cACAC,IAAAA,cACAC,IAAAA,mBACAC,IAAAA,2BACAC,IAAAA,cACAC,IAAAA,WACAC,IAAAA,KACAC,IAAAA,iBACAC,IAAAA,qBACAC,IAAAA,OAEMC,EAAUZ,EAAgBa,MAAK,SAAAC,GAAI,OAAIA,EAAKC,MAAQC,EAAWC,QAC/DC,GAAeN,aAAO,EAAPA,EAASO,WAAY,EACpCC,GAAWR,aAAO,EAAPA,EAASS,OAAQ,EAE5BC,EAAYtB,EAAgBa,MAAK,SAAAC,GAAI,OAAIA,EAAKC,MAAQC,EAAWO,UACjEC,GAAiBF,aAAS,EAATA,EAAWH,WAAY,EACxCM,GAAaH,aAAS,EAATA,EAAWD,OAAQ,EAEtC,OACEK,EAAAC,EAAA,CAAAhC,SAAA,CACE+B,EAACE,EAAS,CACR,cAAA,GAAAC,OAAgB5C,EAAqB,aACrC,gBAAewB,QAAoBqB,EACnCC,UAAWC,EAAWC,EAAOC,SAAUD,EAAOE,aAAc7B,GAC5D8B,MACE3B,EACI,CAAEU,SAAUkB,EAA0BhB,KAAM,GAC5C,CAAEF,SAAUD,EAAcG,KAAMD,GACrCzB,SAED,CAAA+B,EAAA,MAAA,CAAKK,UAAWE,EAAOK,YAAY3C,SAAA,EAC/BY,GAAcC,GACdhB,EAAC+C,EAAQ,CACPC,OAAM,GAAAX,OAAK5C,EAA6B,qBACxCwD,KAAK,QACLC,SAAU,SAAAC,GAAO,OAAItC,EAA2BsC,EAAS,EACzDA,QAASvC,EACTD,cAAeA,IAGnBX,EAACN,EAAc,CACbE,MAAM,OACNwD,OAAQ3C,IAAWe,EAAWC,KAC9B4B,UACE5C,IAAWe,EAAWC,MAAQf,IAAkB4C,EAAcC,KAAO,OAAS,MAEhFC,QAAS,CACPC,KAAMjB,EAAWC,EAAOiB,YAAWC,EAAA,CAAA,EAChClB,EAAOmB,iBAAmB7C,KAG/B8C,QAAS,WAAA,OAAM1C,EAAOK,EAAWC,KAAM,EAAAtB,SAAA,iBAK3CH,EAACC,EAAO,CAACL,MAAOqB,EAAmB,WAAa,SAASd,SACvDH,EAAC8D,EAAS,CACRb,KAAK,QACLV,UAAWC,EAAWC,EAAOsB,mBAC1BtB,EAAAA,CAAAA,EAAAA,EAAOuB,mBAAqB/C,IAE/B4C,QAAS3C,SAKflB,EAACoC,EAAS,CACR,cAAgB3C,GAAAA,OAAAA,EAA0BwB,kBAAAA,OAAAA,GAC1CsB,UAAWE,EAAOC,SAClBE,MAAO,CAAEjB,SAAUK,EAAgBH,KAAMI,GAAa9B,SAEtDH,EAAA,MAAA,CAAKuC,UAAWE,EAAOwB,wBAI/B"}
@@ -1,2 +1,2 @@
1
- import t from"@babel/runtime/helpers/asyncToGenerator";import r from"@babel/runtime/regenerator";import{useCallback as e}from"react";import{uniq as s}from"lodash";import{SEARCH_CATEGORIES as n}from"../AdvancedSearch/constants.js";import{EXCLUDE_RIG_NAME_FILTER as i,doesWellPassVisibilityAndFilters as o}from"../../../utils/doesWellPassFilters.js";import"@babel/runtime/helpers/toConsumableArray";import"@babel/runtime/helpers/defineProperty";import"uuid";import"lodash/set";import"lodash/get";import"lodash/unset";import"moment";import"../../../../../clients/jsonApi/index.js";import"../../../../../clients/subscriptions/constants.js";import"../../../../../clients/subscriptions.v1.js";import"../../../../../clients/subscriptions/subscriptions-client.factory.js";import"../../../../../clients/api/apiCore.js";import"../../../../../clients/constants.js";import"../../../../../clients/sso/auth0.js";import"../../../../../clients/sso/oauth2.js";import"../../../../../clients/api/rateLimiter.js";import{fetchWellsByRigIds as a}from"../../../api/wells/fetchWellsByRigIds.js";import"../../../constants.js";import"../../../api/shared/dataFormatter.js";import"@babel/runtime/helpers/slicedToArray";import"../../../../UserMention/utils/index.js";import"../../../../../utils/convert.js";import"../../../../../constants/completion.js";import"../../../../../constants/alerts.js";import"../../../../../utils/casing/validation.js";import"lodash/mean";import"../../../../../constants/streamSourceType.js";import"file-saver";import"query-string";import"../../../../../constants/goals.js";import"../../../../../constants/segment.js";import"../../../../../constants/apps.js";import"../../../../../constants/drillstring.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/drillstring/conversion.js";import"lodash/cloneDeep";import"lodash/isNumber";import"lodash/has";import"../../../../../utils/ga.js";import"../../../../../utils/goalsConfig/goalsConfig.js";import"../../../../../utils/lasParser.js";import"../../../../../utils/main.js";import"../../../../../utils/metrics/metricsConfig.js";import"../../../../../utils/mobileDetect.js";import"../../../../../utils/feed.js";import"../../../../../utils/reports.js";import"moment-timezone";import{showInfoNotification as l}from"../../../../../utils/notificationToasts.js";import"@babel/runtime/helpers/typeof";import"../../../../../utils/dashboardReports.js";import"../../../../../utils/env.js";import"file-extension";import"image-extensions";import"video-extensions";import"../../../../../utils/jsonaDataFormatter.js";import"../../../../../utils/bha.js";import"jsona";import"@babel/runtime/helpers/objectWithoutProperties";import"classnames";import"../../../../../utils/charts/Styles.scss.js";import"../../../../../utils/getSingleAsset.js";var m="No wells match current filters.",p=function(m){var p=m.filters,c=m.wells,u=m.maxOffsetWellNumber,f=m.includeHidden,h=m.fetchSearchedWells,d=m.setIsTableLoading,j=m.setSelectedWells,b=m.setLoadingAssetIds,g=m.setCurrentSelectionZone,x=m.markUserEdit,v=m.searchGenerationRef,k=e(function(){var e=t(r.mark((function t(e,m,k,y){var w,S,A,C,W,I,N,P,T,F,D,G,L,M,R,U,q,z;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(x(),g(null),w=v.current,S=function(){return v.current!==w},A=[],C=null==p?void 0:p.companyId,W=Array.isArray(C)&&C.length>0?C:null,I=k!==n.well.name?i:void 0,N=function(t){return o(t,p,f,I)},k!==n.well.name){t.next=13;break}A=m,t.next=40;break;case 13:if(y&&0!==y.length){t.next=15;break}return t.abrupt("return");case 15:return d(!0),t.prev=16,t.next=19,a(y,W);case 19:if(P=t.sent,!S()){t.next=22;break}return t.abrupt("return");case 22:if(!e){t.next=30;break}if(T=P.filter(N),0!==(A=T.map((function(t){return t.id}))).length){t.next=28;break}return l("No wells match current filters."),t.abrupt("return");case 28:t.next=31;break;case 30:A=P.map((function(t){return t.id}));case 31:t.next=37;break;case 33:return t.prev=33,t.t0=t.catch(16),console.error("Failed to fetch wells for rigs:",t.t0),t.abrupt("return");case 37:return t.prev=37,d(!1),t.finish(37);case 40:if(0!==A.length){t.next=42;break}return t.abrupt("return");case 42:if(F=new Set(A),D=(c||[]).filter((function(t){return F.has(t.id)&&(!e||N(t))})),G=[],!(e&&D.length<A.length)){t.next=63;break}if(L=new Set(D.map((function(t){return t.id}))),!((M=A.filter((function(t){return!L.has(t)}))).length>0)){t.next=63;break}return b((function(t){return t.concat(M)})),t.next=52,h(M);case 52:if(R=t.sent,U=new Set(M),q=function(t){var r=t.filter((function(t){return!U.has(t)}));return r.length===t.length?t:r},!S()){t.next=58;break}return b(q),t.abrupt("return");case 58:if(G=R.filter(N),b(q),0!==D.length||0!==G.length){t.next=63;break}return l("No wells match current filters."),t.abrupt("return");case 63:if(!S()){t.next=65;break}return t.abrupt("return");case 65:e?(z=D.concat(G),j((function(t){var r=new Set(t.map((function(t){return t.id}))),e=z.filter((function(t){return!r.has(t.id)})).slice(0,Math.max(0,u-t.length));return e.length>0?t.concat(e):t}))):j((function(t){return s(t.filter((function(t){var r=t.id;return!F.has(r)})))}));case 66:case"end":return t.stop()}}),t,null,[[16,33,37,40]])})));return function(t,r,s,n){return e.apply(this,arguments)}}(),[p,c,u,f,h,d,j,b,g,x,v]);return k};export{m as NO_WELLS_MATCH_FILTERS_MESSAGE,p as useAdvancedSearchHandler};
1
+ import t from"@babel/runtime/helpers/asyncToGenerator";import r from"@babel/runtime/regenerator";import{useCallback as e}from"react";import{uniq as n}from"lodash";import{SEARCH_CATEGORIES as s}from"../AdvancedSearch/constants.js";import{EXCLUDE_RIG_NAME_FILTER as i,doesWellPassVisibilityAndFilters as o}from"../../../utils/doesWellPassFilters.js";import"@babel/runtime/helpers/toConsumableArray";import"@babel/runtime/helpers/defineProperty";import"lodash/set";import"lodash/get";import"lodash/unset";import"moment";import"../../../../../clients/jsonApi/index.js";import"../../../../../clients/subscriptions/subscriptions-client.factory.js";import"../../../../../clients/api/apiCore.js";import"../../../../../clients/constants.js";import"../../../../../clients/sso/auth0.js";import"../../../../../clients/sso/oauth2.js";import"../../../../../clients/api/rateLimiter.js";import{fetchWellsByRigIds as a}from"../../../api/wells/fetchWellsByRigIds.js";import"../../../constants.js";import"../../../api/shared/dataFormatter.js";import"@babel/runtime/helpers/slicedToArray";import"../../../../UserMention/utils/index.js";import"../../../../../utils/convert.js";import"../../../../../constants/completion.js";import"../../../../../constants/alerts.js";import"../../../../../utils/casing/validation.js";import"lodash/mean";import"../../../../../constants/streamSourceType.js";import"file-saver";import"query-string";import"../../../../../constants/goals.js";import"../../../../../constants/segment.js";import"../../../../../constants/apps.js";import"../../../../../constants/drillstring.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/drillstring/conversion.js";import"lodash/cloneDeep";import"lodash/isNumber";import"lodash/has";import"../../../../../utils/ga.js";import"../../../../../utils/goalsConfig/goalsConfig.js";import"../../../../../utils/lasParser.js";import"../../../../../utils/main.js";import"../../../../../utils/metrics/metricsConfig.js";import"../../../../../utils/mobileDetect.js";import"../../../../../utils/feed.js";import"../../../../../utils/reports.js";import"moment-timezone";import{showInfoNotification as l}from"../../../../../utils/notificationToasts.js";import"@babel/runtime/helpers/typeof";import"../../../../../utils/dashboardReports.js";import"../../../../../utils/env.js";import"file-extension";import"image-extensions";import"video-extensions";import"../../../../../utils/jsonaDataFormatter.js";import"../../../../../utils/bha.js";import"jsona";import"@babel/runtime/helpers/objectWithoutProperties";import"classnames";import"../../../../../utils/charts/Styles.scss.js";import"../../../../../utils/getSingleAsset.js";var m="No wells match current filters.",p=function(m){var p=m.filters,u=m.wells,c=m.maxOffsetWellNumber,f=m.includeHidden,h=m.fetchSearchedWells,d=m.setIsTableLoading,j=m.setSelectedWells,b=m.setLoadingAssetIds,g=m.setCurrentSelectionZone,x=m.markUserEdit,v=m.searchGenerationRef,k=e(function(){var e=t(r.mark((function t(e,m,k,y){var w,S,A,C,W,I,N,P,T,F,D,G,L,M,R,U,q,z;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(x(),g(null),w=v.current,S=function(){return v.current!==w},A=[],C=null==p?void 0:p.companyId,W=Array.isArray(C)&&C.length>0?C:null,I=k!==s.well.name?i:void 0,N=function(t){return o(t,p,f,I)},k!==s.well.name){t.next=13;break}A=m,t.next=40;break;case 13:if(y&&0!==y.length){t.next=15;break}return t.abrupt("return");case 15:return d(!0),t.prev=16,t.next=19,a(y,W);case 19:if(P=t.sent,!S()){t.next=22;break}return t.abrupt("return");case 22:if(!e){t.next=30;break}if(T=P.filter(N),0!==(A=T.map((function(t){return t.id}))).length){t.next=28;break}return l("No wells match current filters."),t.abrupt("return");case 28:t.next=31;break;case 30:A=P.map((function(t){return t.id}));case 31:t.next=37;break;case 33:return t.prev=33,t.t0=t.catch(16),console.error("Failed to fetch wells for rigs:",t.t0),t.abrupt("return");case 37:return t.prev=37,d(!1),t.finish(37);case 40:if(0!==A.length){t.next=42;break}return t.abrupt("return");case 42:if(F=new Set(A),D=(u||[]).filter((function(t){return F.has(t.id)&&(!e||N(t))})),G=[],!(e&&D.length<A.length)){t.next=63;break}if(L=new Set(D.map((function(t){return t.id}))),!((M=A.filter((function(t){return!L.has(t)}))).length>0)){t.next=63;break}return b((function(t){return t.concat(M)})),t.next=52,h(M);case 52:if(R=t.sent,U=new Set(M),q=function(t){var r=t.filter((function(t){return!U.has(t)}));return r.length===t.length?t:r},!S()){t.next=58;break}return b(q),t.abrupt("return");case 58:if(G=R.filter(N),b(q),0!==D.length||0!==G.length){t.next=63;break}return l("No wells match current filters."),t.abrupt("return");case 63:if(!S()){t.next=65;break}return t.abrupt("return");case 65:e?(z=D.concat(G),j((function(t){var r=new Set(t.map((function(t){return t.id}))),e=z.filter((function(t){return!r.has(t.id)})).slice(0,Math.max(0,c-t.length));return e.length>0?t.concat(e):t}))):j((function(t){return n(t.filter((function(t){var r=t.id;return!F.has(r)})))}));case 66:case"end":return t.stop()}}),t,null,[[16,33,37,40]])})));return function(t,r,n,s){return e.apply(this,arguments)}}(),[p,u,c,f,h,d,j,b,g,x,v]);return k};export{m as NO_WELLS_MATCH_FILTERS_MESSAGE,p as useAdvancedSearchHandler};
2
2
  //# sourceMappingURL=useAdvancedSearchHandler.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useAdvancedSearchHandler.js","sources":["../../../../../../src/components/OffsetWellPickerV5/components/OffsetWellsTable/hooks/useAdvancedSearchHandler.ts"],"sourcesContent":["import { useCallback } from 'react';\nimport { uniq } from 'lodash';\nimport type { Dispatch, MutableRefObject, SetStateAction } from 'react';\n\nimport { SEARCH_CATEGORIES } from '../AdvancedSearch/constants';\nimport {\n type FilterableVisibleWell,\n doesWellPassVisibilityAndFilters,\n EXCLUDE_RIG_NAME_FILTER,\n} from '../../../utils/doesWellPassFilters';\nimport { fetchWellsByRigIds } from '../../../api';\nimport type { OffsetWell } from '../../../OffsetWellPickerV5.types';\nimport type { FilterState } from '../../../stores/filter-store/types';\nimport type { SelectionZone } from '../../../types/SelectionZone';\n\nimport { showInfoNotification } from '~/utils';\n\nexport const NO_WELLS_MATCH_FILTERS_MESSAGE = 'No wells match current filters.';\n\ntype UseAdvancedSearchHandlerParams = {\n filters: FilterState | null;\n wells: OffsetWell[] | null;\n maxOffsetWellNumber: number;\n includeHidden: boolean;\n fetchSearchedWells: (wellIds: number[]) => Promise<OffsetWell[]>;\n setIsTableLoading: (value: boolean) => void;\n setSelectedWells: Dispatch<SetStateAction<OffsetWell[]>>;\n setLoadingAssetIds: Dispatch<SetStateAction<number[]>>;\n setCurrentSelectionZone: Dispatch<SetStateAction<SelectionZone | null>>;\n markUserEdit: () => void;\n searchGenerationRef: MutableRefObject<number>;\n};\n\ntype HandleAddRemoveAssets = (\n isAdding: boolean,\n newAssets: number[],\n assetType: string,\n rigIds: number[] | null\n) => Promise<void>;\n\nexport const useAdvancedSearchHandler = ({\n filters,\n wells,\n maxOffsetWellNumber,\n includeHidden,\n fetchSearchedWells,\n setIsTableLoading,\n setSelectedWells,\n setLoadingAssetIds,\n setCurrentSelectionZone,\n markUserEdit,\n searchGenerationRef,\n}: UseAdvancedSearchHandlerParams): HandleAddRemoveAssets => {\n const handleAddRemoveAssets = useCallback(\n async (isAdding: boolean, newAssets: number[], assetType: string, rigIds: number[] | null) => {\n markUserEdit();\n setCurrentSelectionZone(null);\n\n const startGeneration = searchGenerationRef.current;\n const isAbandoned = (): boolean => searchGenerationRef.current !== startGeneration;\n\n let addingWellIds: number[] = [];\n const companyIds = filters?.companyId;\n const companyIdsForRigFetch =\n Array.isArray(companyIds) && companyIds.length > 0 ? companyIds : null;\n const filterOpts =\n assetType !== SEARCH_CATEGORIES.well.name ? EXCLUDE_RIG_NAME_FILTER : undefined;\n\n const passesVisibilityAndFilters = (well: OffsetWell): boolean =>\n doesWellPassVisibilityAndFilters(\n well as FilterableVisibleWell,\n filters,\n includeHidden,\n filterOpts\n );\n\n if (assetType === SEARCH_CATEGORIES.well.name) {\n addingWellIds = newAssets;\n } else {\n if (!rigIds || rigIds.length === 0) {\n return;\n }\n\n setIsTableLoading(true);\n\n try {\n const rigWells = await fetchWellsByRigIds(rigIds, companyIdsForRigFetch);\n if (isAbandoned()) return;\n if (isAdding) {\n const passingRigWells = rigWells.filter(passesVisibilityAndFilters);\n addingWellIds = passingRigWells.map(well => well.id);\n\n if (addingWellIds.length === 0) {\n showInfoNotification(NO_WELLS_MATCH_FILTERS_MESSAGE);\n return;\n }\n } else {\n addingWellIds = rigWells.map(well => well.id);\n }\n } catch (error) {\n console.error('Failed to fetch wells for rigs:', error);\n return;\n } finally {\n setIsTableLoading(false);\n }\n }\n\n if (addingWellIds.length === 0) {\n return;\n }\n\n const addingWellIdsSet = new Set(addingWellIds);\n const addingWells = (wells || []).filter(\n well => addingWellIdsSet.has(well.id) && (!isAdding || passesVisibilityAndFilters(well))\n );\n\n let passingMissingWells: OffsetWell[] = [];\n\n // `wells` is the viewport-bounded snapshot; ids selected via search\n // can reference wells outside that snapshot, so fetch them on demand.\n if (isAdding && addingWells.length < addingWellIds.length) {\n const foundIds = new Set(addingWells.map(w => w.id));\n const missingIds = addingWellIds.filter(id => !foundIds.has(id));\n\n if (missingIds.length > 0) {\n setLoadingAssetIds(prev => prev.concat(missingIds));\n\n const fetchedMissingWells = await fetchSearchedWells(missingIds);\n const missingIdsSet = new Set(missingIds);\n const clearMissingFromLoading = (prev: number[]): number[] => {\n const next = prev.filter(id => !missingIdsSet.has(id));\n return next.length === prev.length ? prev : next;\n };\n\n if (isAbandoned()) {\n setLoadingAssetIds(clearMissingFromLoading);\n return;\n }\n\n passingMissingWells = fetchedMissingWells.filter(passesVisibilityAndFilters);\n\n setLoadingAssetIds(clearMissingFromLoading);\n\n if (addingWells.length === 0 && passingMissingWells.length === 0) {\n showInfoNotification(NO_WELLS_MATCH_FILTERS_MESSAGE);\n return;\n }\n }\n }\n\n if (isAbandoned()) return;\n\n if (isAdding) {\n const wellsToAdd = addingWells.concat(passingMissingWells);\n\n setSelectedWells(prev => {\n const prevIdsSet = new Set(prev.map(w => w.id));\n const newWells = wellsToAdd.filter(w => !prevIdsSet.has(w.id));\n const limited = newWells.slice(0, Math.max(0, maxOffsetWellNumber - prev.length));\n return limited.length > 0 ? prev.concat(limited) : prev;\n });\n } else {\n setSelectedWells(selectedWells =>\n uniq(selectedWells.filter(({ id }) => !addingWellIdsSet.has(id)))\n );\n }\n },\n [\n filters,\n wells,\n maxOffsetWellNumber,\n includeHidden,\n fetchSearchedWells,\n setIsTableLoading,\n setSelectedWells,\n setLoadingAssetIds,\n setCurrentSelectionZone,\n markUserEdit,\n searchGenerationRef,\n ]\n );\n\n return handleAddRemoveAssets;\n};\n"],"names":["NO_WELLS_MATCH_FILTERS_MESSAGE","useAdvancedSearchHandler","_ref","filters","wells","maxOffsetWellNumber","includeHidden","fetchSearchedWells","setIsTableLoading","setSelectedWells","setLoadingAssetIds","setCurrentSelectionZone","markUserEdit","searchGenerationRef","handleAddRemoveAssets","useCallback","_ref2","_asyncToGenerator","_regeneratorRuntime","mark","isAdding","newAssets","assetType","rigIds","startGeneration","isAbandoned","addingWellIds","companyIds","companyIdsForRigFetch","filterOpts","passesVisibilityAndFilters","rigWells","passingRigWells","addingWellIdsSet","addingWells","passingMissingWells","foundIds","missingIds","fetchedMissingWells","missingIdsSet","clearMissingFromLoading","wellsToAdd","wrap","_context","prev","next","current","companyId","Array","isArray","length","SEARCH_CATEGORIES","well","name","EXCLUDE_RIG_NAME_FILTER","undefined","doesWellPassVisibilityAndFilters","abrupt","fetchWellsByRigIds","sent","filter","map","id","showInfoNotification","t0","console","error","finish","Set","has","w","concat","prevIdsSet","limited","slice","Math","max","selectedWells","uniq","_ref3","stop","_callee","_x","_x2","_x3","_x4","apply","this","arguments"],"mappings":"m+FAiBO,IAAMA,EAAiC,kCAuBjCC,EAA2B,SAYqBC,GAAA,IAX3DC,IAAAA,QACAC,IAAAA,MACAC,IAAAA,oBACAC,IAAAA,cACAC,IAAAA,mBACAC,IAAAA,kBACAC,IAAAA,iBACAC,IAAAA,mBACAC,IAAAA,wBACAC,IAAAA,aACAC,IAAAA,oBAEMC,EAAwBC,EAAW,WAAA,IAAAC,EAAAC,EAAAC,EAAAC,MACvC,WAAOC,EAAmBC,EAAqBC,EAAmBC,GAAuB,IAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAA,OAAAvB,EAAAwB,MAAA,SAAAC,GAAA,OAAA,OAAAA,EAAAC,KAAAD,EAAAE,MAAA,KAAA,EAoBpF,GAnBHjC,IACAD,EAAwB,MAElBa,EAAkBX,EAAoBiC,QACtCrB,EAAc,WAAH,OAAkBZ,EAAoBiC,UAAYtB,CAAe,EAE9EE,EAA0B,GACxBC,EAAaxB,aAAAA,EAAAA,EAAS4C,UACtBnB,EACJoB,MAAMC,QAAQtB,IAAeA,EAAWuB,OAAS,EAAIvB,EAAa,KAC9DE,EACJP,IAAc6B,EAAkBC,KAAKC,KAAOC,OAA0BC,EAElEzB,EAA6B,SAACsB,GAAgB,OAClDI,EACEJ,EACAjD,EACAG,EACAuB,EACD,EAECP,IAAc6B,EAAkBC,KAAKC,KAAI,CAAAV,EAAAE,KAAA,GAAA,KAAA,CAC3CnB,EAAgBL,EAAUsB,EAAAE,KAAA,GAAA,MAAA,KAAA,GAAA,GAErBtB,GAA4B,IAAlBA,EAAO2B,OAAY,CAAAP,EAAAE,KAAA,GAAA,KAAA,CAAA,OAAAF,EAAAc,OAAA,UAAA,KAAA,GAIV,OAAxBjD,GAAkB,GAAMmC,EAAAC,KAAA,GAAAD,EAAAE,KAAA,GAGCa,EAAmBnC,EAAQK,GAAsB,KAAA,GAA1D,GAARG,EAAQY,EAAAgB,MACVlC,IAAa,CAAAkB,EAAAE,KAAA,GAAA,KAAA,CAAA,OAAAF,EAAAc,OAAA,UAAA,KAAA,GAAA,IACbrC,EAAQ,CAAAuB,EAAAE,KAAA,GAAA,KAAA,CAE2C,GAD/Cb,EAAkBD,EAAS6B,OAAO9B,GAGX,KAF7BJ,EAAgBM,EAAgB6B,KAAI,SAAAT,GAAI,OAAIA,EAAKU,OAE/BZ,OAAY,CAAAP,EAAAE,KAAA,GAAA,KAAA,CACyB,OAArDkB,EA5EgC,mCA4EqBpB,EAAAc,OAAA,UAAA,KAAA,GAAAd,EAAAE,KAAA,GAAA,MAAA,KAAA,GAIvDnB,EAAgBK,EAAS8B,KAAI,SAAAT,GAAI,OAAIA,EAAKU,MAAI,KAAA,GAAAnB,EAAAE,KAAA,GAAA,MAAA,KAAA,GAGQ,OAHRF,EAAAC,KAAA,GAAAD,EAAAqB,GAAArB,EAAA,MAAA,IAGhDsB,QAAQC,MAAM,kCAAyCvB,EAAAqB,IAACrB,EAAAc,OAAA,UAAA,KAAA,GAG/B,OAH+Bd,EAAAC,KAAA,GAGxDpC,GAAkB,GAAOmC,EAAAwB,OAAA,IAAA,KAAA,GAAA,GAIA,IAAzBzC,EAAcwB,OAAY,CAAAP,EAAAE,KAAA,GAAA,KAAA,CAAA,OAAAF,EAAAc,OAAA,UAAA,KAAA,GAY9B,GARMxB,EAAmB,IAAImC,IAAI1C,GAC3BQ,GAAe9B,GAAS,IAAIwD,QAChC,SAAAR,GAAI,OAAInB,EAAiBoC,IAAIjB,EAAKU,OAAS1C,GAAYU,EAA2BsB,OAGhFjB,EAAoC,KAIpCf,GAAYc,EAAYgB,OAASxB,EAAcwB,QAAM,CAAAP,EAAAE,KAAA,GAAA,KAAA,CAES,GAD1DT,EAAW,IAAIgC,IAAIlC,EAAY2B,KAAI,SAAAS,GAAC,OAAIA,EAAER,EAAE,QAC5CzB,EAAaX,EAAckC,QAAO,SAAAE,GAAE,OAAK1B,EAASiC,IAAIP,OAE7CZ,OAAS,GAAC,CAAAP,EAAAE,KAAA,GAAA,KAAA,CAC6B,OAApDnC,GAAmB,SAAAkC,GAAI,OAAIA,EAAK2B,OAAOlC,MAAaM,EAAAE,KAAA,GAElBtC,EAAmB8B,GAAW,KAAA,GAK/D,GALKC,EAAmBK,EAAAgB,KACnBpB,EAAgB,IAAI6B,IAAI/B,GACxBG,EAA0B,SAACI,GAC/B,IAAMC,EAAOD,EAAKgB,QAAO,SAAAE,GAAE,OAAKvB,EAAc8B,IAAIP,MAClD,OAAOjB,EAAKK,SAAWN,EAAKM,OAASN,EAAOC,IAG1CpB,IAAa,CAAAkB,EAAAE,KAAA,GAAA,KAAA,CAC6B,OAA5CnC,EAAmB8B,GAAyBG,EAAAc,OAAA,UAAA,KAAA,GAMF,GAF5CtB,EAAsBG,EAAoBsB,OAAO9B,GAEjDpB,EAAmB8B,GAEQ,IAAvBN,EAAYgB,QAA+C,IAA/Bf,EAAoBe,OAAY,CAAAP,EAAAE,KAAA,GAAA,KAAA,CACT,OAArDkB,EA/HkC,mCA+HmBpB,EAAAc,OAAA,UAAA,KAAA,GAAA,IAMvDhC,IAAa,CAAAkB,EAAAE,KAAA,GAAA,KAAA,CAAA,OAAAF,EAAAc,OAAA,UAAA,KAAA,GAEbrC,GACIqB,EAAaP,EAAYqC,OAAOpC,GAEtC1B,GAAiB,SAAAmC,GACf,IAAM4B,EAAa,IAAIJ,IAAIxB,EAAKiB,KAAI,SAAAS,GAAC,OAAIA,EAAER,EAAE,KAEvCW,EADWhC,EAAWmB,QAAO,SAAAU,GAAC,OAAKE,EAAWH,IAAIC,EAAER,OACjCY,MAAM,EAAGC,KAAKC,IAAI,EAAGvE,EAAsBuC,EAAKM,SACzE,OAAOuB,EAAQvB,OAAS,EAAIN,EAAK2B,OAAOE,GAAW7B,CACrD,KAEAnC,GAAiB,SAAAoE,GAAa,OAC5BC,EAAKD,EAAcjB,QAAO,SAAAmB,GAAA,IAAGjB,IAAAA,GAAE,OAAQ7B,EAAiBoC,IAAIP,EAAG,QAElE,KAAA,GAAA,IAAA,MAAA,OAAAnB,EAAAqC,OAAA,GAAAC,EAAA,KAAA,CAAA,CAAA,GAAA,GAAA,GAAA,KACF,KAAA,OAAA,SAAAC,EAAAC,EAAAC,EAAAC,GAAA,OAAArE,EAAAsE,MAAAC,KAAAC,UAAA,CACD,CAlHuC,GAkHvC,CACErF,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,IAIJ,OAAOC,CACT"}
1
+ {"version":3,"file":"useAdvancedSearchHandler.js","sources":["../../../../../../src/components/OffsetWellPickerV5/components/OffsetWellsTable/hooks/useAdvancedSearchHandler.ts"],"sourcesContent":["import { useCallback } from 'react';\nimport { uniq } from 'lodash';\nimport type { Dispatch, MutableRefObject, SetStateAction } from 'react';\n\nimport { SEARCH_CATEGORIES } from '../AdvancedSearch/constants';\nimport {\n type FilterableVisibleWell,\n doesWellPassVisibilityAndFilters,\n EXCLUDE_RIG_NAME_FILTER,\n} from '../../../utils/doesWellPassFilters';\nimport { fetchWellsByRigIds } from '../../../api';\nimport type { OffsetWell } from '../../../OffsetWellPickerV5.types';\nimport type { FilterState } from '../../../stores/filter-store/types';\nimport type { SelectionZone } from '../../../types/SelectionZone';\n\nimport { showInfoNotification } from '~/utils';\n\nexport const NO_WELLS_MATCH_FILTERS_MESSAGE = 'No wells match current filters.';\n\ntype UseAdvancedSearchHandlerParams = {\n filters: FilterState | null;\n wells: OffsetWell[] | null;\n maxOffsetWellNumber: number;\n includeHidden: boolean;\n fetchSearchedWells: (wellIds: number[]) => Promise<OffsetWell[]>;\n setIsTableLoading: (value: boolean) => void;\n setSelectedWells: Dispatch<SetStateAction<OffsetWell[]>>;\n setLoadingAssetIds: Dispatch<SetStateAction<number[]>>;\n setCurrentSelectionZone: Dispatch<SetStateAction<SelectionZone | null>>;\n markUserEdit: () => void;\n searchGenerationRef: MutableRefObject<number>;\n};\n\ntype HandleAddRemoveAssets = (\n isAdding: boolean,\n newAssets: number[],\n assetType: string,\n rigIds: number[] | null\n) => Promise<void>;\n\nexport const useAdvancedSearchHandler = ({\n filters,\n wells,\n maxOffsetWellNumber,\n includeHidden,\n fetchSearchedWells,\n setIsTableLoading,\n setSelectedWells,\n setLoadingAssetIds,\n setCurrentSelectionZone,\n markUserEdit,\n searchGenerationRef,\n}: UseAdvancedSearchHandlerParams): HandleAddRemoveAssets => {\n const handleAddRemoveAssets = useCallback(\n async (isAdding: boolean, newAssets: number[], assetType: string, rigIds: number[] | null) => {\n markUserEdit();\n setCurrentSelectionZone(null);\n\n const startGeneration = searchGenerationRef.current;\n const isAbandoned = (): boolean => searchGenerationRef.current !== startGeneration;\n\n let addingWellIds: number[] = [];\n const companyIds = filters?.companyId;\n const companyIdsForRigFetch =\n Array.isArray(companyIds) && companyIds.length > 0 ? companyIds : null;\n const filterOpts =\n assetType !== SEARCH_CATEGORIES.well.name ? EXCLUDE_RIG_NAME_FILTER : undefined;\n\n const passesVisibilityAndFilters = (well: OffsetWell): boolean =>\n doesWellPassVisibilityAndFilters(\n well as FilterableVisibleWell,\n filters,\n includeHidden,\n filterOpts\n );\n\n if (assetType === SEARCH_CATEGORIES.well.name) {\n addingWellIds = newAssets;\n } else {\n if (!rigIds || rigIds.length === 0) {\n return;\n }\n\n setIsTableLoading(true);\n\n try {\n const rigWells = await fetchWellsByRigIds(rigIds, companyIdsForRigFetch);\n if (isAbandoned()) return;\n if (isAdding) {\n const passingRigWells = rigWells.filter(passesVisibilityAndFilters);\n addingWellIds = passingRigWells.map(well => well.id);\n\n if (addingWellIds.length === 0) {\n showInfoNotification(NO_WELLS_MATCH_FILTERS_MESSAGE);\n return;\n }\n } else {\n addingWellIds = rigWells.map(well => well.id);\n }\n } catch (error) {\n console.error('Failed to fetch wells for rigs:', error);\n return;\n } finally {\n setIsTableLoading(false);\n }\n }\n\n if (addingWellIds.length === 0) {\n return;\n }\n\n const addingWellIdsSet = new Set(addingWellIds);\n const addingWells = (wells || []).filter(\n well => addingWellIdsSet.has(well.id) && (!isAdding || passesVisibilityAndFilters(well))\n );\n\n let passingMissingWells: OffsetWell[] = [];\n\n // `wells` is the viewport-bounded snapshot; ids selected via search\n // can reference wells outside that snapshot, so fetch them on demand.\n if (isAdding && addingWells.length < addingWellIds.length) {\n const foundIds = new Set(addingWells.map(w => w.id));\n const missingIds = addingWellIds.filter(id => !foundIds.has(id));\n\n if (missingIds.length > 0) {\n setLoadingAssetIds(prev => prev.concat(missingIds));\n\n const fetchedMissingWells = await fetchSearchedWells(missingIds);\n const missingIdsSet = new Set(missingIds);\n const clearMissingFromLoading = (prev: number[]): number[] => {\n const next = prev.filter(id => !missingIdsSet.has(id));\n return next.length === prev.length ? prev : next;\n };\n\n if (isAbandoned()) {\n setLoadingAssetIds(clearMissingFromLoading);\n return;\n }\n\n passingMissingWells = fetchedMissingWells.filter(passesVisibilityAndFilters);\n\n setLoadingAssetIds(clearMissingFromLoading);\n\n if (addingWells.length === 0 && passingMissingWells.length === 0) {\n showInfoNotification(NO_WELLS_MATCH_FILTERS_MESSAGE);\n return;\n }\n }\n }\n\n if (isAbandoned()) return;\n\n if (isAdding) {\n const wellsToAdd = addingWells.concat(passingMissingWells);\n\n setSelectedWells(prev => {\n const prevIdsSet = new Set(prev.map(w => w.id));\n const newWells = wellsToAdd.filter(w => !prevIdsSet.has(w.id));\n const limited = newWells.slice(0, Math.max(0, maxOffsetWellNumber - prev.length));\n return limited.length > 0 ? prev.concat(limited) : prev;\n });\n } else {\n setSelectedWells(selectedWells =>\n uniq(selectedWells.filter(({ id }) => !addingWellIdsSet.has(id)))\n );\n }\n },\n [\n filters,\n wells,\n maxOffsetWellNumber,\n includeHidden,\n fetchSearchedWells,\n setIsTableLoading,\n setSelectedWells,\n setLoadingAssetIds,\n setCurrentSelectionZone,\n markUserEdit,\n searchGenerationRef,\n ]\n );\n\n return handleAddRemoveAssets;\n};\n"],"names":["NO_WELLS_MATCH_FILTERS_MESSAGE","useAdvancedSearchHandler","_ref","filters","wells","maxOffsetWellNumber","includeHidden","fetchSearchedWells","setIsTableLoading","setSelectedWells","setLoadingAssetIds","setCurrentSelectionZone","markUserEdit","searchGenerationRef","handleAddRemoveAssets","useCallback","_ref2","_asyncToGenerator","_regeneratorRuntime","mark","isAdding","newAssets","assetType","rigIds","startGeneration","isAbandoned","addingWellIds","companyIds","companyIdsForRigFetch","filterOpts","passesVisibilityAndFilters","rigWells","passingRigWells","addingWellIdsSet","addingWells","passingMissingWells","foundIds","missingIds","fetchedMissingWells","missingIdsSet","clearMissingFromLoading","wellsToAdd","wrap","_context","prev","next","current","companyId","Array","isArray","length","SEARCH_CATEGORIES","well","name","EXCLUDE_RIG_NAME_FILTER","undefined","doesWellPassVisibilityAndFilters","abrupt","fetchWellsByRigIds","sent","filter","map","id","showInfoNotification","t0","console","error","finish","Set","has","w","concat","prevIdsSet","limited","slice","Math","max","selectedWells","uniq","_ref3","stop","_callee","_x","_x2","_x3","_x4","apply","this","arguments"],"mappings":"y2FAiBO,IAAMA,EAAiC,kCAuBjCC,EAA2B,SAYqBC,GAAA,IAX3DC,IAAAA,QACAC,IAAAA,MACAC,IAAAA,oBACAC,IAAAA,cACAC,IAAAA,mBACAC,IAAAA,kBACAC,IAAAA,iBACAC,IAAAA,mBACAC,IAAAA,wBACAC,IAAAA,aACAC,IAAAA,oBAEMC,EAAwBC,EAAW,WAAA,IAAAC,EAAAC,EAAAC,EAAAC,MACvC,WAAOC,EAAmBC,EAAqBC,EAAmBC,GAAuB,IAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAA,OAAAvB,EAAAwB,MAAA,SAAAC,GAAA,OAAA,OAAAA,EAAAC,KAAAD,EAAAE,MAAA,KAAA,EAoBpF,GAnBHjC,IACAD,EAAwB,MAElBa,EAAkBX,EAAoBiC,QACtCrB,EAAc,WAAH,OAAkBZ,EAAoBiC,UAAYtB,CAAe,EAE9EE,EAA0B,GACxBC,EAAaxB,aAAAA,EAAAA,EAAS4C,UACtBnB,EACJoB,MAAMC,QAAQtB,IAAeA,EAAWuB,OAAS,EAAIvB,EAAa,KAC9DE,EACJP,IAAc6B,EAAkBC,KAAKC,KAAOC,OAA0BC,EAElEzB,EAA6B,SAACsB,GAAgB,OAClDI,EACEJ,EACAjD,EACAG,EACAuB,EACD,EAECP,IAAc6B,EAAkBC,KAAKC,KAAI,CAAAV,EAAAE,KAAA,GAAA,KAAA,CAC3CnB,EAAgBL,EAAUsB,EAAAE,KAAA,GAAA,MAAA,KAAA,GAAA,GAErBtB,GAA4B,IAAlBA,EAAO2B,OAAY,CAAAP,EAAAE,KAAA,GAAA,KAAA,CAAA,OAAAF,EAAAc,OAAA,UAAA,KAAA,GAIV,OAAxBjD,GAAkB,GAAMmC,EAAAC,KAAA,GAAAD,EAAAE,KAAA,GAGCa,EAAmBnC,EAAQK,GAAsB,KAAA,GAA1D,GAARG,EAAQY,EAAAgB,MACVlC,IAAa,CAAAkB,EAAAE,KAAA,GAAA,KAAA,CAAA,OAAAF,EAAAc,OAAA,UAAA,KAAA,GAAA,IACbrC,EAAQ,CAAAuB,EAAAE,KAAA,GAAA,KAAA,CAE2C,GAD/Cb,EAAkBD,EAAS6B,OAAO9B,GAGX,KAF7BJ,EAAgBM,EAAgB6B,KAAI,SAAAT,GAAI,OAAIA,EAAKU,OAE/BZ,OAAY,CAAAP,EAAAE,KAAA,GAAA,KAAA,CACyB,OAArDkB,EA5EgC,mCA4EqBpB,EAAAc,OAAA,UAAA,KAAA,GAAAd,EAAAE,KAAA,GAAA,MAAA,KAAA,GAIvDnB,EAAgBK,EAAS8B,KAAI,SAAAT,GAAI,OAAIA,EAAKU,MAAI,KAAA,GAAAnB,EAAAE,KAAA,GAAA,MAAA,KAAA,GAGQ,OAHRF,EAAAC,KAAA,GAAAD,EAAAqB,GAAArB,EAAA,MAAA,IAGhDsB,QAAQC,MAAM,kCAAyCvB,EAAAqB,IAACrB,EAAAc,OAAA,UAAA,KAAA,GAG/B,OAH+Bd,EAAAC,KAAA,GAGxDpC,GAAkB,GAAOmC,EAAAwB,OAAA,IAAA,KAAA,GAAA,GAIA,IAAzBzC,EAAcwB,OAAY,CAAAP,EAAAE,KAAA,GAAA,KAAA,CAAA,OAAAF,EAAAc,OAAA,UAAA,KAAA,GAY9B,GARMxB,EAAmB,IAAImC,IAAI1C,GAC3BQ,GAAe9B,GAAS,IAAIwD,QAChC,SAAAR,GAAI,OAAInB,EAAiBoC,IAAIjB,EAAKU,OAAS1C,GAAYU,EAA2BsB,OAGhFjB,EAAoC,KAIpCf,GAAYc,EAAYgB,OAASxB,EAAcwB,QAAM,CAAAP,EAAAE,KAAA,GAAA,KAAA,CAES,GAD1DT,EAAW,IAAIgC,IAAIlC,EAAY2B,KAAI,SAAAS,GAAC,OAAIA,EAAER,EAAE,QAC5CzB,EAAaX,EAAckC,QAAO,SAAAE,GAAE,OAAK1B,EAASiC,IAAIP,OAE7CZ,OAAS,GAAC,CAAAP,EAAAE,KAAA,GAAA,KAAA,CAC6B,OAApDnC,GAAmB,SAAAkC,GAAI,OAAIA,EAAK2B,OAAOlC,MAAaM,EAAAE,KAAA,GAElBtC,EAAmB8B,GAAW,KAAA,GAK/D,GALKC,EAAmBK,EAAAgB,KACnBpB,EAAgB,IAAI6B,IAAI/B,GACxBG,EAA0B,SAACI,GAC/B,IAAMC,EAAOD,EAAKgB,QAAO,SAAAE,GAAE,OAAKvB,EAAc8B,IAAIP,MAClD,OAAOjB,EAAKK,SAAWN,EAAKM,OAASN,EAAOC,IAG1CpB,IAAa,CAAAkB,EAAAE,KAAA,GAAA,KAAA,CAC6B,OAA5CnC,EAAmB8B,GAAyBG,EAAAc,OAAA,UAAA,KAAA,GAMF,GAF5CtB,EAAsBG,EAAoBsB,OAAO9B,GAEjDpB,EAAmB8B,GAEQ,IAAvBN,EAAYgB,QAA+C,IAA/Bf,EAAoBe,OAAY,CAAAP,EAAAE,KAAA,GAAA,KAAA,CACT,OAArDkB,EA/HkC,mCA+HmBpB,EAAAc,OAAA,UAAA,KAAA,GAAA,IAMvDhC,IAAa,CAAAkB,EAAAE,KAAA,GAAA,KAAA,CAAA,OAAAF,EAAAc,OAAA,UAAA,KAAA,GAEbrC,GACIqB,EAAaP,EAAYqC,OAAOpC,GAEtC1B,GAAiB,SAAAmC,GACf,IAAM4B,EAAa,IAAIJ,IAAIxB,EAAKiB,KAAI,SAAAS,GAAC,OAAIA,EAAER,EAAE,KAEvCW,EADWhC,EAAWmB,QAAO,SAAAU,GAAC,OAAKE,EAAWH,IAAIC,EAAER,OACjCY,MAAM,EAAGC,KAAKC,IAAI,EAAGvE,EAAsBuC,EAAKM,SACzE,OAAOuB,EAAQvB,OAAS,EAAIN,EAAK2B,OAAOE,GAAW7B,CACrD,KAEAnC,GAAiB,SAAAoE,GAAa,OAC5BC,EAAKD,EAAcjB,QAAO,SAAAmB,GAAA,IAAGjB,IAAAA,GAAE,OAAQ7B,EAAiBoC,IAAIP,EAAG,QAElE,KAAA,GAAA,IAAA,MAAA,OAAAnB,EAAAqC,OAAA,GAAAC,EAAA,KAAA,CAAA,CAAA,GAAA,GAAA,GAAA,KACF,KAAA,OAAA,SAAAC,EAAAC,EAAAC,EAAAC,GAAA,OAAArE,EAAAsE,MAAAC,KAAAC,UAAA,CACD,CAlHuC,GAkHvC,CACErF,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,IAIJ,OAAOC,CACT"}